From eb7967c5ab883fccd09be38d8a3f54139fec2409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Wed, 7 Jan 2026 23:54:55 +0100 Subject: [PATCH 01/61] Update OC versions to preview. --- .../Lombiq.EInvoiceValidator.Benchmark.csproj | 2 +- .../Lombiq.EInvoiceValidator.Sample.csproj | 2 +- .../Lombiq.EInvoiceValidator.Tests.csproj | 2 +- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj index 3ee525e..533a011 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj +++ b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj @@ -1,7 +1,7 @@  Exe - net8.0 + net10.0 diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index 3f5dccb..3d76273 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -1,7 +1,7 @@  Exe - net8.0 + net10.0 diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index 71d0c0a..f7e4485 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -1,6 +1,6 @@ - net8.0 + net10.0 Exe diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 46b36b3..f4da963 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 $(DefaultItemExcludes);.git* enable From e6784332d289b62e2dc1dbeed60916f58ca8ee23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Fri, 9 Jan 2026 14:31:45 +0100 Subject: [PATCH 02/61] Fix miscileneous warnings. --- .../Lombiq.EInvoiceValidator.Benchmark.csproj | 4 ---- .../Lombiq.EInvoiceValidator.Sample.csproj | 4 ---- .../Lombiq.EInvoiceValidator.Tests.csproj | 1 - 3 files changed, 9 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj index 533a011..b5d36ac 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj +++ b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj @@ -4,10 +4,6 @@ net10.0 - - - - diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index 3d76273..5dc2c3e 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -21,10 +21,6 @@ - - - - diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index f7e4485..1685aae 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -5,7 +5,6 @@ - From c8d913221c9d405193a7e7b32946466cdc11a6a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Tue, 20 Jan 2026 00:17:19 +0100 Subject: [PATCH 03/61] Update branch selector. --- .github/workflows/publish-nuget.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index fac826d..8e61048 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -8,6 +8,6 @@ on: jobs: publish-nuget: name: Publish to NuGet - uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@dev + uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@issue/OSOE-925 secrets: API_KEY: ${{ secrets.DEFAULT_NUGET_PUBLISH_API_KEY }} From c232f03094e32c76bda28184eb8113b0532b7136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Tue, 20 Jan 2026 00:22:16 +0100 Subject: [PATCH 04/61] Update branch selectors. --- .github/workflows/validate-nuget-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-nuget-publish.yml b/.github/workflows/validate-nuget-publish.yml index 9f8979c..f0fd6be 100644 --- a/.github/workflows/validate-nuget-publish.yml +++ b/.github/workflows/validate-nuget-publish.yml @@ -9,4 +9,4 @@ on: jobs: validate-nuget-publish: name: Validate NuGet Publish - uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@dev + uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@issue/OSOE-925 From 4000ca8c2d295268b0e7eeee4ba43a9306edb03a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Tue, 20 Jan 2026 12:38:24 +0100 Subject: [PATCH 05/61] CompatibilitySuppressions.xml --- CompatibilitySuppressions.xml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 CompatibilitySuppressions.xml diff --git a/CompatibilitySuppressions.xml b/CompatibilitySuppressions.xml new file mode 100644 index 0000000..8af156c --- /dev/null +++ b/CompatibilitySuppressions.xml @@ -0,0 +1,8 @@ + + + + + PKV006 + net8.0 + + \ No newline at end of file From ddd9807d53e09d1cee154bd35f441750def88d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Tue, 20 Jan 2026 13:21:25 +0100 Subject: [PATCH 06/61] Nuget. --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index f4da963..bfe40bd 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -51,7 +51,7 @@ - + From ea5160fc8213c387376764ee16482297ad64c230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Tue, 20 Jan 2026 14:30:58 +0100 Subject: [PATCH 07/61] Delete all CompatibilitySuppressions so we may start from scratch. --- CompatibilitySuppressions.xml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 CompatibilitySuppressions.xml diff --git a/CompatibilitySuppressions.xml b/CompatibilitySuppressions.xml deleted file mode 100644 index 8af156c..0000000 --- a/CompatibilitySuppressions.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PKV006 - net8.0 - - \ No newline at end of file From c9ba6465ee5fd7eb811be9f27302243f65957049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Tue, 20 Jan 2026 21:15:06 +0100 Subject: [PATCH 08/61] CompatibilitySuppressions.xml --- .../CompatibilitySuppressions.xml | 8 ++++++++ Lombiq.EInvoiceValidator/CompatibilitySuppressions.xml | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 Lombiq.EInvoiceValidator.Sample/CompatibilitySuppressions.xml create mode 100644 Lombiq.EInvoiceValidator/CompatibilitySuppressions.xml diff --git a/Lombiq.EInvoiceValidator.Sample/CompatibilitySuppressions.xml b/Lombiq.EInvoiceValidator.Sample/CompatibilitySuppressions.xml new file mode 100644 index 0000000..8af156c --- /dev/null +++ b/Lombiq.EInvoiceValidator.Sample/CompatibilitySuppressions.xml @@ -0,0 +1,8 @@ + + + + + PKV006 + net8.0 + + \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/CompatibilitySuppressions.xml b/Lombiq.EInvoiceValidator/CompatibilitySuppressions.xml new file mode 100644 index 0000000..8af156c --- /dev/null +++ b/Lombiq.EInvoiceValidator/CompatibilitySuppressions.xml @@ -0,0 +1,8 @@ + + + + + PKV006 + net8.0 + + \ No newline at end of file From a60cd59a46efee33d5de357f4ff4c56550c604dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Tue, 20 Jan 2026 21:17:19 +0100 Subject: [PATCH 09/61] Nuget.config --- NuGet.config | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 NuGet.config diff --git a/NuGet.config b/NuGet.config new file mode 100644 index 0000000..ba8c556 --- /dev/null +++ b/NuGet.config @@ -0,0 +1,10 @@ + + + + + + + + + + From e64a43233947204bcc42ee6433e839601dff682a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Tue, 20 Jan 2026 21:43:37 +0100 Subject: [PATCH 10/61] Revert --- .../CompatibilitySuppressions.xml | 8 -------- Lombiq.EInvoiceValidator/CompatibilitySuppressions.xml | 8 -------- 2 files changed, 16 deletions(-) delete mode 100644 Lombiq.EInvoiceValidator.Sample/CompatibilitySuppressions.xml delete mode 100644 Lombiq.EInvoiceValidator/CompatibilitySuppressions.xml diff --git a/Lombiq.EInvoiceValidator.Sample/CompatibilitySuppressions.xml b/Lombiq.EInvoiceValidator.Sample/CompatibilitySuppressions.xml deleted file mode 100644 index 8af156c..0000000 --- a/Lombiq.EInvoiceValidator.Sample/CompatibilitySuppressions.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PKV006 - net8.0 - - \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/CompatibilitySuppressions.xml b/Lombiq.EInvoiceValidator/CompatibilitySuppressions.xml deleted file mode 100644 index 8af156c..0000000 --- a/Lombiq.EInvoiceValidator/CompatibilitySuppressions.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PKV006 - net8.0 - - \ No newline at end of file From 7cab211e3318bfd573a84f0df91462fe8e02f840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Thu, 22 Jan 2026 19:40:27 +0100 Subject: [PATCH 11/61] HL nuget --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index bfe40bd..77fc65a 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -51,7 +51,7 @@ - + From a064a5cc0db6d1057e4f73f1ada19841c735ae67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Fri, 23 Jan 2026 17:01:50 +0100 Subject: [PATCH 12/61] Update HL nuget. --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 77fc65a..ab62d46 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -51,7 +51,7 @@ - + From 49f5149d1f2bd832c5eac212f8794f28e8850a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Wed, 28 Jan 2026 23:24:19 +0100 Subject: [PATCH 13/61] Update HL NuGet. --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index ab62d46..af7d181 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -51,7 +51,7 @@ - + From 687cbf830bd739aefd3f0195faafda8e95f0acc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Thu, 5 Feb 2026 21:24:07 +0100 Subject: [PATCH 14/61] Update HL Nuget. --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index af7d181..8e4371a 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -51,7 +51,7 @@ - + From 8b64fd2906050b4f078057f89ff11e1c1d52c83e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sun, 22 Feb 2026 11:34:29 +0100 Subject: [PATCH 15/61] Update HL nuget. --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 8e4371a..0fa6a7a 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -51,7 +51,7 @@ - + From 3690503eda50ba5764bc887ce00a5184c3fc0afc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sun, 22 Feb 2026 12:49:08 +0100 Subject: [PATCH 16/61] Update HL nuget correctly. --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 0fa6a7a..b2bb5fe 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -51,7 +51,7 @@ - + From 8c74c74a8e249680da1d66c1944473dceb36bd30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sat, 7 Mar 2026 13:19:04 +0100 Subject: [PATCH 17/61] Update nugets. --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index b2bb5fe..cbc5eb0 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -51,7 +51,7 @@ - + From b769e1061b7f54c1b75fdb6befe120b4c09078b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Tue, 31 Mar 2026 23:41:26 +0200 Subject: [PATCH 18/61] Use Tests SDK. --- .../Lombiq.EInvoiceValidator.Tests.csproj | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index c9aea2a..6ce7d3a 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -1,20 +1,12 @@ - + net10.0 - Exe - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + + - @@ -24,4 +16,7 @@ PreserveNewest + + + From c4dfa91567c22fc4424c9f2a5efe915a06378b13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Thu, 2 Apr 2026 15:19:54 +0200 Subject: [PATCH 19/61] Create new SLNX files. --- Lombiq.EInvoiceValidator.slnx | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Lombiq.EInvoiceValidator.slnx diff --git a/Lombiq.EInvoiceValidator.slnx b/Lombiq.EInvoiceValidator.slnx new file mode 100644 index 0000000..b1f7b8a --- /dev/null +++ b/Lombiq.EInvoiceValidator.slnx @@ -0,0 +1,4 @@ + + + + From d6068a2859e79246f492c401757abe171916a64a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Thu, 2 Apr 2026 16:04:33 +0200 Subject: [PATCH 20/61] Update validate-nuget-publish.yml issue branch. --- .github/workflows/validate-nuget-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-nuget-publish.yml b/.github/workflows/validate-nuget-publish.yml index f0fd6be..4894308 100644 --- a/.github/workflows/validate-nuget-publish.yml +++ b/.github/workflows/validate-nuget-publish.yml @@ -9,4 +9,4 @@ on: jobs: validate-nuget-publish: name: Validate NuGet Publish - uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@issue/OSOE-925 + uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@issue/OSOE-1199 From 7b7503b967d627c0b3a03b637a492d33ade348f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Fri, 3 Apr 2026 19:09:20 +0200 Subject: [PATCH 21/61] Remove SLN files. --- Lombiq.EInvoiceValidator.sln | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 Lombiq.EInvoiceValidator.sln diff --git a/Lombiq.EInvoiceValidator.sln b/Lombiq.EInvoiceValidator.sln deleted file mode 100644 index e719e86..0000000 --- a/Lombiq.EInvoiceValidator.sln +++ /dev/null @@ -1,22 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lombiq.EInvoiceValidator", "Lombiq.EInvoiceValidator\Lombiq.EInvoiceValidator.csproj", "{4EF9A3DA-7A31-418C-83CA-056E75C85D07}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lombiq.EInvoiceValidator.Sample", "Lombiq.EInvoiceValidator.Sample\Lombiq.EInvoiceValidator.Sample.csproj", "{5CB711FD-C84F-4549-AA15-14324CC7DB4C}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {4EF9A3DA-7A31-418C-83CA-056E75C85D07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4EF9A3DA-7A31-418C-83CA-056E75C85D07}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4EF9A3DA-7A31-418C-83CA-056E75C85D07}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4EF9A3DA-7A31-418C-83CA-056E75C85D07}.Release|Any CPU.Build.0 = Release|Any CPU - {5CB711FD-C84F-4549-AA15-14324CC7DB4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5CB711FD-C84F-4549-AA15-14324CC7DB4C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5CB711FD-C84F-4549-AA15-14324CC7DB4C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5CB711FD-C84F-4549-AA15-14324CC7DB4C}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection -EndGlobal From 936c4e65acb713b7541f65dba9f04f9c37f26802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sat, 11 Apr 2026 17:30:15 +0200 Subject: [PATCH 22/61] Revert "Use Tests SDK." This reverts commit b769e1061b7f54c1b75fdb6befe120b4c09078b1. --- .../Lombiq.EInvoiceValidator.Tests.csproj | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index 6ce7d3a..c9aea2a 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -1,12 +1,20 @@ - + net10.0 + Exe - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + @@ -16,7 +24,4 @@ PreserveNewest - - - From 7f4f0b15d3c70abfe42d8de028f414a65e98d9fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sun, 12 Apr 2026 00:28:42 +0200 Subject: [PATCH 23/61] Update HL Nuget. --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index cbc5eb0..b08b832 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -51,7 +51,7 @@ - + From a7b550cda4aecf6dac8f6356134923081db726ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Fri, 24 Apr 2026 16:47:15 +0200 Subject: [PATCH 24/61] Reapply "Use Tests SDK." This reverts commit 936c4e65acb713b7541f65dba9f04f9c37f26802. --- .../Lombiq.EInvoiceValidator.Tests.csproj | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index c9aea2a..6ce7d3a 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -1,20 +1,12 @@ - + net10.0 - Exe - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + + - @@ -24,4 +16,7 @@ PreserveNewest + + + From 6a2f99084d9405acc7090fba8043f94db843f964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sat, 25 Apr 2026 01:56:27 +0200 Subject: [PATCH 25/61] Update NuGet and apply library SDK where applicable --- .../Lombiq.EInvoiceValidator.Benchmark.csproj | 8 +++++++- .../Lombiq.EInvoiceValidator.Sample.csproj | 20 +++++++++---------- .../Lombiq.EInvoiceValidator.Tests.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.csproj | 20 ++++++++----------- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj index b5d36ac..782e26e 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj +++ b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj @@ -1,9 +1,12 @@ - + Exe net10.0 + + + @@ -14,4 +17,7 @@ PreserveNewest + + + diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index 5dc2c3e..cdf2975 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -1,26 +1,21 @@ - + Exe net10.0 + + + Lombiq eInvoice Validator Sample - Lombiq Technologies - Copyright © 2025, Lombiq Technologies Ltd. - Lombiq eInvoice Validator Sample: Sample console application to showcase the Lombiq eInvoice Validator. See the project website for detailed documentation. - NuGetIcon.png + 2025 + Sample console application to showcase the Lombiq eInvoice Validator. See the project website for detailed documentation. OrchardCore;Lombiq;AspNetCore;EN16931;eInvoice;XML;UBL;CII https://github.com/Lombiq/eInvoice-Validator https://github.com/Lombiq/eInvoice-Validator/Lombiq.EInvoiceValidator.Sample/Readme.md - BSD-3-Clause - - - - - @@ -33,4 +28,7 @@ true + + + diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index 6ce7d3a..18fe9b8 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -4,7 +4,7 @@ - + @@ -18,5 +18,5 @@ - + diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index b08b832..afd9283 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -1,27 +1,21 @@ - - + net10.0 - $(DefaultItemExcludes);.git* enable + + + Lombiq eInvoice Validator - Lombiq Technologies - Copyright © 2025, Lombiq Technologies Ltd. - Lombiq eInvoice Validator: Adds validation for EU eInvoices that follow the EN 16931 standard. See the project website for detailed documentation. - NuGetIcon.png + 2025 + Adds validation for EU eInvoices that follow the EN 16931 standard. See the project website for detailed documentation. OrchardCore;Lombiq;AspNetCore;EN16931;eInvoice;XML;UBL;CII https://github.com/Lombiq/eInvoice-Validator - https://github.com/Lombiq/eInvoice-Validator - BSD-3-Clause - - - @@ -70,4 +64,6 @@ + + From e07d49854156c5a2b012e712df28962423a97579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sat, 25 Apr 2026 02:35:58 +0200 Subject: [PATCH 26/61] Update SDK NuGet. --- .../Lombiq.EInvoiceValidator.Benchmark.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Sample.csproj | 4 ++-- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj index 782e26e..d1958bd 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj +++ b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj @@ -5,7 +5,7 @@ - + @@ -19,5 +19,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index cdf2975..c5b15aa 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator Sample @@ -30,5 +30,5 @@ - + diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index afd9283..eec196a 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator @@ -65,5 +65,5 @@ - + From 6c5fee9eb364b44b02cf8cf63e17b1a06bfaebb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sun, 26 Apr 2026 17:46:48 +0200 Subject: [PATCH 27/61] Fix static code analysis warnings. --- .../Helpers/ValidationBenchmarkHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Helpers/ValidationBenchmarkHelpers.cs b/Lombiq.EInvoiceValidator.Benchmark/Helpers/ValidationBenchmarkHelpers.cs index 9b454bc..9d9732a 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Helpers/ValidationBenchmarkHelpers.cs +++ b/Lombiq.EInvoiceValidator.Benchmark/Helpers/ValidationBenchmarkHelpers.cs @@ -157,5 +157,5 @@ private static AverageDurations AverageDurations(IList resul }; private static string ToAverageString(IEnumerable numbers) => - Math.Round(numbers.Average(), 3).ToTechnicalString()!; + Math.Round(numbers.Average(), 3, MidpointRounding.AwayFromZero).ToTechnicalString()!; } From 63995c61a742f7b7325bd756414e60b06db2f919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Mon, 27 Apr 2026 23:57:03 +0200 Subject: [PATCH 28/61] Update GHA branch selectors. --- .github/workflows/validate-nuget-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-nuget-publish.yml b/.github/workflows/validate-nuget-publish.yml index 4894308..f0fd6be 100644 --- a/.github/workflows/validate-nuget-publish.yml +++ b/.github/workflows/validate-nuget-publish.yml @@ -9,4 +9,4 @@ on: jobs: validate-nuget-publish: name: Validate NuGet Publish - uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@issue/OSOE-1199 + uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@issue/OSOE-925 From 228ca9316ae6a08ba9e82069e14d6cbd11f5805e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sat, 16 May 2026 15:50:37 +0200 Subject: [PATCH 29/61] Update SDKs. --- .../Lombiq.EInvoiceValidator.Benchmark.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Sample.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Tests.csproj | 4 ++-- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj index d1958bd..46966e1 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj +++ b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj @@ -5,7 +5,7 @@ - + @@ -19,5 +19,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index c5b15aa..4bd01b1 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator Sample @@ -30,5 +30,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index 18fe9b8..2bd1909 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -4,7 +4,7 @@ - + @@ -18,5 +18,5 @@ - + diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index eec196a..7aa592b 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator @@ -65,5 +65,5 @@ - + From e02073bb868fcf3e8861bd8acd1a46828ca0496e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sat, 20 Jun 2026 15:50:44 +0200 Subject: [PATCH 30/61] gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 534f772..b767ac2 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ wwwroot/ node_modules/ *.user .pnpm-debug.log +*.orig # Mac .DS_Store From d320249c1a640c9c283611c4abbb67a29cefa9ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Wed, 24 Jun 2026 14:48:35 +0200 Subject: [PATCH 31/61] Try something. --- Lombiq.EInvoiceValidator.Benchmark/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Program.cs b/Lombiq.EInvoiceValidator.Benchmark/Program.cs index f609dbe..ef2eb8e 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Program.cs +++ b/Lombiq.EInvoiceValidator.Benchmark/Program.cs @@ -16,5 +16,5 @@ // Start the benchmark. await ValidationBenchmarkHelpers.RunBenchMarkAsync( async stream => - // Step 2. Validate the eInvoice XML file read into a stream using the helper method. + /* Step 2. Validate the eInvoice XML file read into a stream using the helper method. */ await invoiceValidationService.ValidateInvoiceAsync(stream)); From 1af4cdb4e809742500bff2b15f79d8662bfeefea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Wed, 24 Jun 2026 14:56:56 +0200 Subject: [PATCH 32/61] revert --- Lombiq.EInvoiceValidator.Benchmark/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Program.cs b/Lombiq.EInvoiceValidator.Benchmark/Program.cs index ef2eb8e..f609dbe 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Program.cs +++ b/Lombiq.EInvoiceValidator.Benchmark/Program.cs @@ -16,5 +16,5 @@ // Start the benchmark. await ValidationBenchmarkHelpers.RunBenchMarkAsync( async stream => - /* Step 2. Validate the eInvoice XML file read into a stream using the helper method. */ + // Step 2. Validate the eInvoice XML file read into a stream using the helper method. await invoiceValidationService.ValidateInvoiceAsync(stream)); From 40d8d88f7089c602773436c87f3635fc0d2ef466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Wed, 24 Jun 2026 16:31:18 +0200 Subject: [PATCH 33/61] Try to fix IDE0055 warnings. --- Lombiq.EInvoiceValidator.Benchmark/Program.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Program.cs b/Lombiq.EInvoiceValidator.Benchmark/Program.cs index f609dbe..7f4b346 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Program.cs +++ b/Lombiq.EInvoiceValidator.Benchmark/Program.cs @@ -14,7 +14,6 @@ var invoiceValidationService = serviceProvider.GetRequiredService(); // Start the benchmark. -await ValidationBenchmarkHelpers.RunBenchMarkAsync( - async stream => - // Step 2. Validate the eInvoice XML file read into a stream using the helper method. - await invoiceValidationService.ValidateInvoiceAsync(stream)); +// Step 2. Validate the eInvoice XML file read into a stream using the helper method. +await ValidationBenchmarkHelpers.RunBenchMarkAsync(async stream => + await invoiceValidationService.ValidateInvoiceAsync(stream)); From 9f104d071cd99569ed9050de2fbe84fa39ba3605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Thu, 25 Jun 2026 01:07:59 +0200 Subject: [PATCH 34/61] Update version. --- .../Lombiq.EInvoiceValidator.Benchmark.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Sample.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Tests.csproj | 4 ++-- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj index 46966e1..599802c 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj +++ b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj @@ -5,7 +5,7 @@ - + @@ -19,5 +19,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index 4bd01b1..6b6f16b 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator Sample @@ -30,5 +30,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index 2bd1909..f5541c1 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -4,7 +4,7 @@ - + @@ -18,5 +18,5 @@ - + diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 7aa592b..09f9b7d 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator @@ -65,5 +65,5 @@ - + From 2bd74a3435d9ff69358701acb376b31f28269dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Thu, 25 Jun 2026 01:47:56 +0200 Subject: [PATCH 35/61] nuget --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 09f9b7d..f2c7d24 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -45,7 +45,7 @@ - + From 561a2d67048be38fb757401765ce9d3b23381a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Fri, 26 Jun 2026 23:22:27 +0200 Subject: [PATCH 36/61] Update Lombiq.MSBuild --- .../Lombiq.EInvoiceValidator.Benchmark.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Sample.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Tests.csproj | 4 ++-- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj index 599802c..9c74e48 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj +++ b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj @@ -5,7 +5,7 @@ - + @@ -19,5 +19,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index 6b6f16b..5e229af 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator Sample @@ -30,5 +30,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index f5541c1..c9de0c1 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -4,7 +4,7 @@ - + @@ -18,5 +18,5 @@ - + diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index f2c7d24..ec5a6f6 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator @@ -65,5 +65,5 @@ - + From ec5806d9813feaeeae51d3fde5c12f42868f8527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sat, 27 Jun 2026 01:14:59 +0200 Subject: [PATCH 37/61] Update HL NuGet. --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index ec5a6f6..d133c49 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -45,7 +45,7 @@ - + From e09702d6de5843b5204c27bdc8d327a7f3f43cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sat, 27 Jun 2026 02:26:44 +0200 Subject: [PATCH 38/61] nuget --- .../Lombiq.EInvoiceValidator.Benchmark.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Sample.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Tests.csproj | 4 ++-- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj index 9c74e48..bbbb139 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj +++ b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj @@ -5,7 +5,7 @@ - + @@ -19,5 +19,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index 5e229af..7e8f0c0 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator Sample @@ -30,5 +30,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index c9de0c1..2e5d542 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -4,7 +4,7 @@ - + @@ -18,5 +18,5 @@ - + diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index d133c49..8488d8b 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator @@ -65,5 +65,5 @@ - + From 016d110fabdae86ce90271daf47c61770d81ae44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sun, 12 Jul 2026 17:52:29 +0200 Subject: [PATCH 39/61] Update NuGet versions. --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index e9f6280..620a5fc 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -45,7 +45,7 @@ - + From 6a3e529bb99a1fb85ed352ab3b0bfa925a8d93ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sun, 12 Jul 2026 18:09:13 +0200 Subject: [PATCH 40/61] Update SDK --- .../Lombiq.EInvoiceValidator.Benchmark.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Sample.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Tests.csproj | 4 ++-- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj index bbbb139..eff16fb 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj +++ b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj @@ -5,7 +5,7 @@ - + @@ -19,5 +19,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index 7e8f0c0..0a09022 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator Sample @@ -30,5 +30,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index 2e5d542..21621f2 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -4,7 +4,7 @@ - + @@ -18,5 +18,5 @@ - + diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 620a5fc..e7b95d6 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator @@ -65,5 +65,5 @@ - + From 8f9cd34206dfc2048cb8e4e56c261d7d24e37e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Mon, 13 Jul 2026 13:50:36 +0200 Subject: [PATCH 41/61] Update SDK NuGet. --- .../Lombiq.EInvoiceValidator.Benchmark.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Sample.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Tests.csproj | 4 ++-- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj index eff16fb..01b8225 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj +++ b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj @@ -5,7 +5,7 @@ - + @@ -19,5 +19,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index 0a09022..a1e1be4 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator Sample @@ -30,5 +30,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index 21621f2..65fcdee 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -4,7 +4,7 @@ - + @@ -18,5 +18,5 @@ - + diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index e7b95d6..89ff4f6 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator @@ -65,5 +65,5 @@ - + From 027978c9755149a2f364f2563d2271b7982f6c7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Wed, 15 Jul 2026 14:48:33 +0200 Subject: [PATCH 42/61] skip test temporarily --- Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs b/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs index 63870a0..cc94a2c 100644 --- a/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs +++ b/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs @@ -25,7 +25,9 @@ public static TheoryData InvoiceFilePaths } } - [Theory] +#pragma warning disable xUnit1004 + [Theory(Skip = "temp")] +#pragma warning restore xUnit1004 [MemberData(nameof(InvoiceFilePaths))] public async Task TestInvoiceValidation(string filePath) { From 969838f8a24686877fedaa1d1489020b13f8227b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Wed, 15 Jul 2026 15:21:13 +0200 Subject: [PATCH 43/61] Display node_modules contents. --- .../Tests/ValidatorTests.cs | 34 +++++++++++++++++-- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs b/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs index cc94a2c..156369e 100644 --- a/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs +++ b/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs @@ -2,7 +2,9 @@ using Lombiq.EInvoiceValidator.Services; using Microsoft.Extensions.DependencyInjection; using Shouldly; +using System; using System.IO; +using System.Text; using System.Threading.Tasks; using Xunit; @@ -10,6 +12,8 @@ namespace Lombiq.EInvoiceValidator.Tests.Tests; public class ValidatorTests { + private readonly ITestOutputHelper _testOutputHelper; + public static TheoryData InvoiceFilePaths { get @@ -25,12 +29,17 @@ public static TheoryData InvoiceFilePaths } } -#pragma warning disable xUnit1004 - [Theory(Skip = "temp")] -#pragma warning restore xUnit1004 + public ValidatorTests(ITestOutputHelper testOutputHelper) => + _testOutputHelper = testOutputHelper; + + [Theory] [MemberData(nameof(InvoiceFilePaths))] public async Task TestInvoiceValidation(string filePath) { + var directoryTree = new StringBuilder("node_modules directory contents:"); + WriteTree(directoryTree, new DirectoryInfo("node_modules"), depth: 0); + _testOutputHelper.WriteLine(directoryTree.ToString()); + var services = new ServiceCollection(); services.AddEInvoiceValidationServices(); var serviceProvider = services.BuildServiceProvider(); @@ -51,4 +60,23 @@ public async Task TestInvoiceValidation(string filePath) result.Successful.ShouldBeTrue($"{filePath} should pass validation but did not."); } } + + private static void WriteTree(StringBuilder builder, DirectoryInfo info, int depth) + { + builder.Append(new string(' ', 2 * depth)); + builder.AppendLine(info.Name); + + var nextDepth = depth + 1; + + foreach (var child in info.GetDirectories()) + { + WriteTree(builder, child, nextDepth); + } + + foreach (var child in info.GetFiles()) + { + builder.Append(new string(' ', 2 * nextDepth)); + builder.AppendLine(child.Name); + } + } } From ec7fc0f422e77d5cdc675403ea562612ec44f83a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Wed, 15 Jul 2026 15:42:50 +0200 Subject: [PATCH 44/61] more logs --- Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs b/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs index 156369e..075dd1c 100644 --- a/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs +++ b/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs @@ -5,6 +5,7 @@ using System; using System.IO; using System.Text; +using System.Text.Json; using System.Threading.Tasks; using Xunit; @@ -39,6 +40,8 @@ public async Task TestInvoiceValidation(string filePath) var directoryTree = new StringBuilder("node_modules directory contents:"); WriteTree(directoryTree, new DirectoryInfo("node_modules"), depth: 0); _testOutputHelper.WriteLine(directoryTree.ToString()); + _testOutputHelper.WriteLine($"::warning title=TestInvoiceValidation::{JsonSerializer.Serialize(directoryTree)}"); + Console.WriteLine(directoryTree.ToString()); var services = new ServiceCollection(); services.AddEInvoiceValidationServices(); From 41a1a636e12978cdce60c22751bdffab1867e393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Wed, 15 Jul 2026 15:58:21 +0200 Subject: [PATCH 45/61] Better logging. --- .../Tests/ValidatorTests.cs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs b/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs index 075dd1c..3ec3cb5 100644 --- a/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs +++ b/Lombiq.EInvoiceValidator.Tests/Tests/ValidatorTests.cs @@ -2,10 +2,8 @@ using Lombiq.EInvoiceValidator.Services; using Microsoft.Extensions.DependencyInjection; using Shouldly; -using System; using System.IO; using System.Text; -using System.Text.Json; using System.Threading.Tasks; using Xunit; @@ -37,11 +35,16 @@ public ValidatorTests(ITestOutputHelper testOutputHelper) => [MemberData(nameof(InvoiceFilePaths))] public async Task TestInvoiceValidation(string filePath) { - var directoryTree = new StringBuilder("node_modules directory contents:"); - WriteTree(directoryTree, new DirectoryInfo("node_modules"), depth: 0); + var directoryTree = new StringBuilder("node_modules directory contents:\n"); + var directoryInfo = new DirectoryInfo("node_modules"); + + if (!directoryInfo.Exists) + { + throw new DirectoryNotFoundException($"The directory \"{directoryInfo.FullName}\" does not exist!"); + } + + WriteTree(directoryTree, directoryInfo, depth: 0); _testOutputHelper.WriteLine(directoryTree.ToString()); - _testOutputHelper.WriteLine($"::warning title=TestInvoiceValidation::{JsonSerializer.Serialize(directoryTree)}"); - Console.WriteLine(directoryTree.ToString()); var services = new ServiceCollection(); services.AddEInvoiceValidationServices(); From acbdd01f00b8b6a13d37c65acf562ef89905c21a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Wed, 15 Jul 2026 17:21:49 +0200 Subject: [PATCH 46/61] include node_modules to git. --- .gitignore | 2 +- .../node_modules/agent-base/LICENSE | 22 + .../node_modules/agent-base/README.md | 69 + .../node_modules/agent-base/dist/helpers.d.ts | 10 + .../agent-base/dist/helpers.d.ts.map | 1 + .../node_modules/agent-base/dist/helpers.js | 37 + .../agent-base/dist/helpers.js.map | 1 + .../agent-base/dist/helpers.min.js | 8 + .../node_modules/agent-base/dist/index.d.ts | 37 + .../agent-base/dist/index.d.ts.map | 1 + .../node_modules/agent-base/dist/index.js | 146 + .../node_modules/agent-base/dist/index.js.map | 1 + .../node_modules/agent-base/dist/index.min.js | 8 + .../node_modules/agent-base/package.json | 46 + .../node_modules/asynckit/LICENSE | 21 + .../node_modules/asynckit/README.md | 227 + .../node_modules/asynckit/bench.js | 76 + .../node_modules/asynckit/bench.min.js | 8 + .../node_modules/asynckit/index.js | 6 + .../node_modules/asynckit/index.min.js | 8 + .../node_modules/asynckit/lib/abort.js | 29 + .../node_modules/asynckit/lib/abort.min.js | 8 + .../node_modules/asynckit/lib/async.js | 34 + .../node_modules/asynckit/lib/async.min.js | 8 + .../node_modules/asynckit/lib/defer.js | 26 + .../node_modules/asynckit/lib/defer.min.js | 8 + .../node_modules/asynckit/lib/iterate.js | 75 + .../node_modules/asynckit/lib/iterate.min.js | 8 + .../asynckit/lib/readable_asynckit.js | 91 + .../asynckit/lib/readable_asynckit.min.js | 8 + .../asynckit/lib/readable_parallel.js | 25 + .../asynckit/lib/readable_parallel.min.js | 8 + .../asynckit/lib/readable_serial.js | 25 + .../asynckit/lib/readable_serial.min.js | 8 + .../asynckit/lib/readable_serial_ordered.js | 29 + .../lib/readable_serial_ordered.min.js | 8 + .../node_modules/asynckit/lib/state.js | 37 + .../node_modules/asynckit/lib/state.min.js | 8 + .../node_modules/asynckit/lib/streamify.js | 141 + .../asynckit/lib/streamify.min.js | 8 + .../node_modules/asynckit/lib/terminator.js | 29 + .../asynckit/lib/terminator.min.js | 8 + .../node_modules/asynckit/package.json | 64 + .../node_modules/asynckit/parallel.js | 43 + .../node_modules/asynckit/parallel.min.js | 8 + .../node_modules/asynckit/serial.js | 17 + .../node_modules/asynckit/serial.min.js | 8 + .../node_modules/asynckit/serialOrdered.js | 75 + .../asynckit/serialOrdered.min.js | 8 + .../node_modules/asynckit/stream.js | 21 + .../node_modules/asynckit/stream.min.js | 8 + .../node_modules/axios/CHANGELOG.md | 1872 ++++ .../node_modules/axios/LICENSE | 7 + .../node_modules/axios/MIGRATION_GUIDE.md | 877 ++ .../node_modules/axios/README.md | 2559 +++++ .../node_modules/axios/dist/axios.js | 5249 +++++++++ .../node_modules/axios/dist/axios.min.js | 5 + .../node_modules/axios/dist/axios.min.js.map | 1 + .../node_modules/axios/dist/browser/axios.cjs | 5146 +++++++++ .../node_modules/axios/dist/esm/axios.js | 5167 +++++++++ .../node_modules/axios/dist/esm/axios.min.js | 3 + .../axios/dist/esm/axios.min.js.map | 1 + .../node_modules/axios/dist/node/axios.cjs | 5996 +++++++++++ .../node_modules/axios/index.d.cts | 738 ++ .../node_modules/axios/index.d.ts | 755 ++ .../node_modules/axios/index.js | 45 + .../node_modules/axios/index.min.js | 8 + .../node_modules/axios/lib/adapters/README.md | 36 + .../axios/lib/adapters/adapters.js | 132 + .../axios/lib/adapters/adapters.min.js | 8 + .../node_modules/axios/lib/adapters/fetch.js | 643 ++ .../axios/lib/adapters/fetch.min.js | 8 + .../node_modules/axios/lib/adapters/http.js | 1417 +++ .../axios/lib/adapters/http.min.js | 8 + .../node_modules/axios/lib/adapters/xhr.js | 228 + .../axios/lib/adapters/xhr.min.js | 8 + .../node_modules/axios/lib/axios.js | 89 + .../node_modules/axios/lib/axios.min.js | 8 + .../axios/lib/cancel/CancelToken.js | 135 + .../axios/lib/cancel/CancelToken.min.js | 8 + .../axios/lib/cancel/CanceledError.js | 22 + .../axios/lib/cancel/CanceledError.min.js | 8 + .../node_modules/axios/lib/cancel/isCancel.js | 5 + .../axios/lib/cancel/isCancel.min.js | 8 + .../node_modules/axios/lib/core/Axios.js | 283 + .../node_modules/axios/lib/core/Axios.min.js | 8 + .../node_modules/axios/lib/core/AxiosError.js | 188 + .../axios/lib/core/AxiosError.min.js | 8 + .../axios/lib/core/AxiosHeaders.js | 351 + .../axios/lib/core/AxiosHeaders.min.js | 8 + .../axios/lib/core/InterceptorManager.js | 72 + .../axios/lib/core/InterceptorManager.min.js | 8 + .../node_modules/axios/lib/core/README.md | 8 + .../axios/lib/core/buildFullPath.js | 50 + .../axios/lib/core/buildFullPath.min.js | 8 + .../axios/lib/core/dispatchRequest.js | 89 + .../axios/lib/core/dispatchRequest.min.js | 8 + .../axios/lib/core/mergeConfig.js | 159 + .../axios/lib/core/mergeConfig.min.js | 8 + .../node_modules/axios/lib/core/settle.js | 27 + .../node_modules/axios/lib/core/settle.min.js | 8 + .../axios/lib/core/transformData.js | 28 + .../axios/lib/core/transformData.min.js | 8 + .../node_modules/axios/lib/defaults/index.js | 177 + .../axios/lib/defaults/index.min.js | 8 + .../axios/lib/defaults/transitional.js | 10 + .../axios/lib/defaults/transitional.min.js | 8 + .../node_modules/axios/lib/env/README.md | 3 + .../axios/lib/env/classes/FormData.js | 2 + .../axios/lib/env/classes/FormData.min.js | 8 + .../node_modules/axios/lib/env/data.js | 1 + .../node_modules/axios/lib/env/data.min.js | 7 + .../axios/lib/helpers/AxiosTransformStream.js | 156 + .../lib/helpers/AxiosTransformStream.min.js | 8 + .../axios/lib/helpers/AxiosURLSearchParams.js | 59 + .../lib/helpers/AxiosURLSearchParams.min.js | 8 + .../axios/lib/helpers/Http2Sessions.js | 119 + .../axios/lib/helpers/Http2Sessions.min.js | 8 + .../axios/lib/helpers/HttpStatusCode.js | 77 + .../axios/lib/helpers/HttpStatusCode.min.js | 8 + .../node_modules/axios/lib/helpers/README.md | 7 + .../lib/helpers/ZlibHeaderTransformStream.js | 29 + .../helpers/ZlibHeaderTransformStream.min.js | 8 + .../node_modules/axios/lib/helpers/bind.js | 14 + .../axios/lib/helpers/bind.min.js | 8 + .../axios/lib/helpers/buildURL.js | 69 + .../axios/lib/helpers/buildURL.min.js | 8 + .../axios/lib/helpers/callbackify.js | 18 + .../axios/lib/helpers/callbackify.min.js | 8 + .../axios/lib/helpers/combineURLs.js | 15 + .../axios/lib/helpers/combineURLs.min.js | 8 + .../axios/lib/helpers/composeSignals.js | 57 + .../axios/lib/helpers/composeSignals.min.js | 8 + .../node_modules/axios/lib/helpers/cookies.js | 64 + .../axios/lib/helpers/cookies.min.js | 8 + .../axios/lib/helpers/deprecatedMethod.js | 31 + .../axios/lib/helpers/deprecatedMethod.min.js | 8 + .../helpers/estimateDataURLDecodedBytes.js | 105 + .../estimateDataURLDecodedBytes.min.js | 8 + .../axios/lib/helpers/formDataToJSON.js | 119 + .../axios/lib/helpers/formDataToJSON.min.js | 8 + .../axios/lib/helpers/formDataToStream.js | 119 + .../axios/lib/helpers/formDataToStream.min.js | 8 + .../axios/lib/helpers/fromDataURI.js | 68 + .../axios/lib/helpers/fromDataURI.min.js | 8 + .../axios/lib/helpers/isAbsoluteURL.js | 19 + .../axios/lib/helpers/isAbsoluteURL.min.js | 8 + .../axios/lib/helpers/isAxiosError.js | 14 + .../axios/lib/helpers/isAxiosError.min.js | 8 + .../axios/lib/helpers/isURLSameOrigin.js | 16 + .../axios/lib/helpers/isURLSameOrigin.min.js | 8 + .../node_modules/axios/lib/helpers/null.js | 2 + .../axios/lib/helpers/null.min.js | 8 + .../axios/lib/helpers/parseHeaders.js | 69 + .../axios/lib/helpers/parseHeaders.min.js | 8 + .../axios/lib/helpers/parseProtocol.js | 6 + .../axios/lib/helpers/parseProtocol.min.js | 8 + .../axios/lib/helpers/progressEventReducer.js | 54 + .../lib/helpers/progressEventReducer.min.js | 8 + .../axios/lib/helpers/readBlob.js | 15 + .../axios/lib/helpers/readBlob.min.js | 8 + .../axios/lib/helpers/resolveConfig.js | 119 + .../axios/lib/helpers/resolveConfig.min.js | 8 + .../axios/lib/helpers/sanitizeHeaderValue.js | 60 + .../lib/helpers/sanitizeHeaderValue.min.js | 8 + .../axios/lib/helpers/shouldBypassProxy.js | 210 + .../lib/helpers/shouldBypassProxy.min.js | 8 + .../axios/lib/helpers/speedometer.js | 55 + .../axios/lib/helpers/speedometer.min.js | 8 + .../node_modules/axios/lib/helpers/spread.js | 28 + .../axios/lib/helpers/spread.min.js | 8 + .../axios/lib/helpers/throttle.js | 44 + .../axios/lib/helpers/throttle.min.js | 8 + .../axios/lib/helpers/toFormData.js | 285 + .../axios/lib/helpers/toFormData.min.js | 8 + .../axios/lib/helpers/toURLEncodedForm.js | 19 + .../axios/lib/helpers/toURLEncodedForm.min.js | 8 + .../axios/lib/helpers/trackStream.js | 89 + .../axios/lib/helpers/trackStream.min.js | 8 + .../axios/lib/helpers/validator.js | 112 + .../axios/lib/helpers/validator.min.js | 8 + .../lib/platform/browser/classes/Blob.js | 3 + .../lib/platform/browser/classes/Blob.min.js | 8 + .../lib/platform/browser/classes/FormData.js | 3 + .../platform/browser/classes/FormData.min.js | 8 + .../browser/classes/URLSearchParams.js | 4 + .../browser/classes/URLSearchParams.min.js | 8 + .../axios/lib/platform/browser/index.js | 13 + .../axios/lib/platform/browser/index.min.js | 8 + .../axios/lib/platform/common/utils.js | 52 + .../axios/lib/platform/common/utils.min.js | 8 + .../node_modules/axios/lib/platform/index.js | 7 + .../axios/lib/platform/index.min.js | 8 + .../lib/platform/node/classes/FormData.js | 3 + .../lib/platform/node/classes/FormData.min.js | 8 + .../platform/node/classes/URLSearchParams.js | 4 + .../node/classes/URLSearchParams.min.js | 8 + .../axios/lib/platform/node/index.js | 37 + .../axios/lib/platform/node/index.min.js | 8 + .../node_modules/axios/lib/utils.js | 1017 ++ .../node_modules/axios/lib/utils.min.js | 8 + .../node_modules/axios/package.json | 201 + .../call-bind-apply-helpers/CHANGELOG.md | 30 + .../call-bind-apply-helpers/LICENSE | 21 + .../call-bind-apply-helpers/README.md | 62 + .../call-bind-apply-helpers/actualApply.d.ts | 1 + .../call-bind-apply-helpers/actualApply.js | 10 + .../actualApply.min.js | 8 + .../call-bind-apply-helpers/applyBind.d.ts | 19 + .../call-bind-apply-helpers/applyBind.js | 10 + .../call-bind-apply-helpers/applyBind.min.js | 8 + .../functionApply.d.ts | 1 + .../call-bind-apply-helpers/functionApply.js | 4 + .../functionApply.min.js | 8 + .../call-bind-apply-helpers/functionCall.d.ts | 1 + .../call-bind-apply-helpers/functionCall.js | 4 + .../functionCall.min.js | 8 + .../call-bind-apply-helpers/index.d.ts | 64 + .../call-bind-apply-helpers/index.js | 15 + .../call-bind-apply-helpers/index.min.js | 8 + .../call-bind-apply-helpers/package.json | 85 + .../call-bind-apply-helpers/reflectApply.d.ts | 3 + .../call-bind-apply-helpers/reflectApply.js | 4 + .../reflectApply.min.js | 8 + .../call-bind-apply-helpers/test/index.js | 63 + .../call-bind-apply-helpers/test/index.min.js | 8 + .../call-bind-apply-helpers/tsconfig.json | 9 + .../node_modules/combined-stream/License | 19 + .../node_modules/combined-stream/Readme.md | 138 + .../combined-stream/lib/combined_stream.js | 208 + .../lib/combined_stream.min.js | 8 + .../node_modules/combined-stream/package.json | 25 + .../node_modules/combined-stream/yarn.lock | 17 + .../node_modules/debug/LICENSE | 20 + .../node_modules/debug/README.md | 481 + .../node_modules/debug/package.json | 64 + .../node_modules/debug/src/browser.js | 272 + .../node_modules/debug/src/browser.min.js | 8 + .../node_modules/debug/src/common.js | 292 + .../node_modules/debug/src/common.min.js | 8 + .../node_modules/debug/src/index.js | 10 + .../node_modules/debug/src/index.min.js | 8 + .../node_modules/debug/src/node.js | 263 + .../node_modules/debug/src/node.min.js | 8 + .../node_modules/delayed-stream/License | 19 + .../node_modules/delayed-stream/Makefile | 7 + .../node_modules/delayed-stream/Readme.md | 141 + .../delayed-stream/lib/delayed_stream.js | 107 + .../delayed-stream/lib/delayed_stream.min.js | 8 + .../node_modules/delayed-stream/package.json | 27 + .../node_modules/dunder-proto/CHANGELOG.md | 24 + .../node_modules/dunder-proto/LICENSE | 21 + .../node_modules/dunder-proto/README.md | 54 + .../node_modules/dunder-proto/get.d.ts | 5 + .../node_modules/dunder-proto/get.js | 30 + .../node_modules/dunder-proto/get.min.js | 8 + .../node_modules/dunder-proto/package.json | 76 + .../node_modules/dunder-proto/set.d.ts | 5 + .../node_modules/dunder-proto/set.js | 35 + .../node_modules/dunder-proto/set.min.js | 8 + .../node_modules/dunder-proto/test/get.js | 34 + .../node_modules/dunder-proto/test/get.min.js | 8 + .../node_modules/dunder-proto/test/index.js | 4 + .../dunder-proto/test/index.min.js | 8 + .../node_modules/dunder-proto/test/set.js | 50 + .../node_modules/dunder-proto/test/set.min.js | 8 + .../node_modules/dunder-proto/tsconfig.json | 9 + .../es-define-property/CHANGELOG.md | 29 + .../node_modules/es-define-property/LICENSE | 21 + .../node_modules/es-define-property/README.md | 49 + .../es-define-property/index.d.ts | 3 + .../node_modules/es-define-property/index.js | 14 + .../es-define-property/index.min.js | 8 + .../es-define-property/package.json | 81 + .../es-define-property/test/index.js | 56 + .../es-define-property/test/index.min.js | 8 + .../es-define-property/tsconfig.json | 10 + .../node_modules/es-errors/CHANGELOG.md | 40 + .../node_modules/es-errors/LICENSE | 21 + .../node_modules/es-errors/README.md | 55 + .../node_modules/es-errors/eval.d.ts | 3 + .../node_modules/es-errors/eval.js | 4 + .../node_modules/es-errors/eval.min.js | 8 + .../node_modules/es-errors/index.d.ts | 3 + .../node_modules/es-errors/index.js | 4 + .../node_modules/es-errors/index.min.js | 8 + .../node_modules/es-errors/package.json | 80 + .../node_modules/es-errors/range.d.ts | 3 + .../node_modules/es-errors/range.js | 4 + .../node_modules/es-errors/range.min.js | 8 + .../node_modules/es-errors/ref.d.ts | 3 + .../node_modules/es-errors/ref.js | 4 + .../node_modules/es-errors/ref.min.js | 8 + .../node_modules/es-errors/syntax.d.ts | 3 + .../node_modules/es-errors/syntax.js | 4 + .../node_modules/es-errors/syntax.min.js | 8 + .../node_modules/es-errors/test/index.js | 19 + .../node_modules/es-errors/test/index.min.js | 8 + .../node_modules/es-errors/tsconfig.json | 49 + .../node_modules/es-errors/type.d.ts | 3 + .../node_modules/es-errors/type.js | 4 + .../node_modules/es-errors/type.min.js | 8 + .../node_modules/es-errors/uri.d.ts | 3 + .../node_modules/es-errors/uri.js | 4 + .../node_modules/es-errors/uri.min.js | 8 + .../node_modules/es-object-atoms/CHANGELOG.md | 44 + .../node_modules/es-object-atoms/LICENSE | 21 + .../node_modules/es-object-atoms/README.md | 63 + .../RequireObjectCoercible.d.ts | 3 + .../es-object-atoms/RequireObjectCoercible.js | 11 + .../RequireObjectCoercible.min.js | 8 + .../es-object-atoms/ToObject.d.ts | 7 + .../node_modules/es-object-atoms/ToObject.js | 10 + .../es-object-atoms/ToObject.min.js | 8 + .../node_modules/es-object-atoms/index.d.ts | 3 + .../node_modules/es-object-atoms/index.js | 4 + .../node_modules/es-object-atoms/index.min.js | 8 + .../es-object-atoms/isObject.d.ts | 3 + .../node_modules/es-object-atoms/isObject.js | 6 + .../es-object-atoms/isObject.min.js | 8 + .../node_modules/es-object-atoms/package.json | 79 + .../es-object-atoms/test/index.js | 38 + .../es-object-atoms/test/index.min.js | 8 + .../es-object-atoms/tsconfig.json | 7 + .../es-set-tostringtag/CHANGELOG.md | 67 + .../node_modules/es-set-tostringtag/LICENSE | 21 + .../node_modules/es-set-tostringtag/README.md | 53 + .../es-set-tostringtag/index.d.ts | 10 + .../node_modules/es-set-tostringtag/index.js | 35 + .../es-set-tostringtag/index.min.js | 8 + .../es-set-tostringtag/package.json | 78 + .../es-set-tostringtag/test/index.js | 85 + .../es-set-tostringtag/test/index.min.js | 8 + .../es-set-tostringtag/tsconfig.json | 9 + .../node_modules/follow-redirects/LICENSE | 18 + .../node_modules/follow-redirects/README.md | 157 + .../node_modules/follow-redirects/debug.js | 15 + .../follow-redirects/debug.min.js | 8 + .../node_modules/follow-redirects/http.js | 1 + .../node_modules/follow-redirects/http.min.js | 7 + .../node_modules/follow-redirects/https.js | 1 + .../follow-redirects/https.min.js | 7 + .../node_modules/follow-redirects/index.js | 709 ++ .../follow-redirects/index.min.js | 8 + .../follow-redirects/package.json | 58 + .../node_modules/form-data/CHANGELOG.md | 686 ++ .../node_modules/form-data/License | 19 + .../node_modules/form-data/README.md | 355 + .../node_modules/form-data/index.d.ts | 62 + .../node_modules/form-data/lib/browser.js | 4 + .../node_modules/form-data/lib/browser.min.js | 8 + .../node_modules/form-data/lib/form_data.js | 506 + .../form-data/lib/form_data.min.js | 8 + .../node_modules/form-data/lib/populate.js | 10 + .../form-data/lib/populate.min.js | 8 + .../node_modules/form-data/package.json | 82 + .../node_modules/function-bind/CHANGELOG.md | 136 + .../node_modules/function-bind/LICENSE | 20 + .../node_modules/function-bind/README.md | 46 + .../function-bind/implementation.js | 84 + .../function-bind/implementation.min.js | 8 + .../node_modules/function-bind/index.js | 5 + .../node_modules/function-bind/index.min.js | 8 + .../node_modules/function-bind/package.json | 87 + .../node_modules/function-bind/test/index.js | 252 + .../function-bind/test/index.min.js | 8 + .../node_modules/get-intrinsic/CHANGELOG.md | 186 + .../node_modules/get-intrinsic/LICENSE | 21 + .../node_modules/get-intrinsic/README.md | 71 + .../node_modules/get-intrinsic/index.js | 378 + .../node_modules/get-intrinsic/index.min.js | 8 + .../node_modules/get-intrinsic/package.json | 97 + .../get-intrinsic/test/GetIntrinsic.js | 274 + .../get-intrinsic/test/GetIntrinsic.min.js | 8 + .../node_modules/get-proto/CHANGELOG.md | 21 + .../node_modules/get-proto/LICENSE | 21 + .../get-proto/Object.getPrototypeOf.d.ts | 5 + .../get-proto/Object.getPrototypeOf.js | 6 + .../get-proto/Object.getPrototypeOf.min.js | 8 + .../node_modules/get-proto/README.md | 50 + .../get-proto/Reflect.getPrototypeOf.d.ts | 3 + .../get-proto/Reflect.getPrototypeOf.js | 4 + .../get-proto/Reflect.getPrototypeOf.min.js | 8 + .../node_modules/get-proto/index.d.ts | 5 + .../node_modules/get-proto/index.js | 27 + .../node_modules/get-proto/index.min.js | 8 + .../node_modules/get-proto/package.json | 81 + .../node_modules/get-proto/test/index.js | 68 + .../node_modules/get-proto/test/index.min.js | 8 + .../node_modules/get-proto/tsconfig.json | 9 + .../node_modules/gopd/CHANGELOG.md | 45 + .../node_modules/gopd/LICENSE | 21 + .../node_modules/gopd/README.md | 40 + .../node_modules/gopd/gOPD.d.ts | 1 + .../node_modules/gopd/gOPD.js | 4 + .../node_modules/gopd/gOPD.min.js | 8 + .../node_modules/gopd/index.d.ts | 5 + .../node_modules/gopd/index.js | 15 + .../node_modules/gopd/index.min.js | 8 + .../node_modules/gopd/package.json | 77 + .../node_modules/gopd/test/index.js | 36 + .../node_modules/gopd/test/index.min.js | 8 + .../node_modules/gopd/tsconfig.json | 9 + .../node_modules/has-symbols/CHANGELOG.md | 91 + .../node_modules/has-symbols/LICENSE | 21 + .../node_modules/has-symbols/README.md | 46 + .../node_modules/has-symbols/index.d.ts | 3 + .../node_modules/has-symbols/index.js | 14 + .../node_modules/has-symbols/index.min.js | 8 + .../node_modules/has-symbols/package.json | 111 + .../node_modules/has-symbols/shams.d.ts | 3 + .../node_modules/has-symbols/shams.js | 45 + .../node_modules/has-symbols/shams.min.js | 8 + .../node_modules/has-symbols/test/index.js | 22 + .../has-symbols/test/index.min.js | 8 + .../has-symbols/test/shams/core-js.js | 29 + .../has-symbols/test/shams/core-js.min.js | 35 + .../test/shams/get-own-property-symbols.js | 29 + .../shams/get-own-property-symbols.min.js | 35 + .../node_modules/has-symbols/test/tests.js | 58 + .../has-symbols/test/tests.min.js | 8 + .../node_modules/has-symbols/tsconfig.json | 10 + .../node_modules/has-tostringtag/CHANGELOG.md | 42 + .../node_modules/has-tostringtag/LICENSE | 21 + .../node_modules/has-tostringtag/README.md | 46 + .../node_modules/has-tostringtag/index.d.ts | 3 + .../node_modules/has-tostringtag/index.js | 8 + .../node_modules/has-tostringtag/index.min.js | 8 + .../node_modules/has-tostringtag/package.json | 108 + .../node_modules/has-tostringtag/shams.d.ts | 3 + .../node_modules/has-tostringtag/shams.js | 8 + .../node_modules/has-tostringtag/shams.min.js | 8 + .../has-tostringtag/test/index.js | 21 + .../has-tostringtag/test/index.min.js | 8 + .../has-tostringtag/test/shams/core-js.js | 31 + .../has-tostringtag/test/shams/core-js.min.js | 37 + .../test/shams/get-own-property-symbols.js | 30 + .../shams/get-own-property-symbols.min.js | 36 + .../has-tostringtag/test/tests.js | 15 + .../has-tostringtag/test/tests.min.js | 8 + .../has-tostringtag/tsconfig.json | 49 + .../node_modules/hasown/CHANGELOG.md | 58 + .../node_modules/hasown/LICENSE | 21 + .../node_modules/hasown/README.md | 40 + .../node_modules/hasown/eslint.config.mjs | 6 + .../node_modules/hasown/index.d.ts | 3 + .../node_modules/hasown/index.js | 8 + .../node_modules/hasown/index.min.js | 8 + .../node_modules/hasown/package.json | 91 + .../node_modules/hasown/tsconfig.json | 6 + .../node_modules/https-proxy-agent/LICENSE | 22 + .../node_modules/https-proxy-agent/README.md | 70 + .../https-proxy-agent/dist/index.d.ts | 51 + .../https-proxy-agent/dist/index.d.ts.map | 1 + .../https-proxy-agent/dist/index.js | 234 + .../https-proxy-agent/dist/index.js.map | 1 + .../https-proxy-agent/dist/index.min.js | 8 + .../dist/parse-proxy-response.d.ts | 12 + .../dist/parse-proxy-response.d.ts.map | 1 + .../dist/parse-proxy-response.js | 94 + .../dist/parse-proxy-response.js.map | 1 + .../dist/parse-proxy-response.min.js | 8 + .../https-proxy-agent/package.json | 51 + .../node_modules/math-intrinsics/CHANGELOG.md | 24 + .../node_modules/math-intrinsics/LICENSE | 21 + .../node_modules/math-intrinsics/README.md | 50 + .../node_modules/math-intrinsics/abs.d.ts | 1 + .../node_modules/math-intrinsics/abs.js | 4 + .../node_modules/math-intrinsics/abs.min.js | 8 + .../constants/maxArrayLength.d.ts | 3 + .../constants/maxArrayLength.js | 4 + .../constants/maxArrayLength.min.js | 8 + .../constants/maxSafeInteger.d.ts | 3 + .../constants/maxSafeInteger.js | 5 + .../constants/maxSafeInteger.min.js | 8 + .../math-intrinsics/constants/maxValue.d.ts | 3 + .../math-intrinsics/constants/maxValue.js | 5 + .../math-intrinsics/constants/maxValue.min.js | 8 + .../node_modules/math-intrinsics/floor.d.ts | 1 + .../node_modules/math-intrinsics/floor.js | 4 + .../node_modules/math-intrinsics/floor.min.js | 8 + .../math-intrinsics/isFinite.d.ts | 3 + .../node_modules/math-intrinsics/isFinite.js | 12 + .../math-intrinsics/isFinite.min.js | 8 + .../math-intrinsics/isInteger.d.ts | 3 + .../node_modules/math-intrinsics/isInteger.js | 16 + .../math-intrinsics/isInteger.min.js | 8 + .../node_modules/math-intrinsics/isNaN.d.ts | 1 + .../node_modules/math-intrinsics/isNaN.js | 6 + .../node_modules/math-intrinsics/isNaN.min.js | 8 + .../math-intrinsics/isNegativeZero.d.ts | 3 + .../math-intrinsics/isNegativeZero.js | 6 + .../math-intrinsics/isNegativeZero.min.js | 8 + .../node_modules/math-intrinsics/max.d.ts | 1 + .../node_modules/math-intrinsics/max.js | 4 + .../node_modules/math-intrinsics/max.min.js | 8 + .../node_modules/math-intrinsics/min.d.ts | 1 + .../node_modules/math-intrinsics/min.js | 4 + .../node_modules/math-intrinsics/min.min.js | 8 + .../node_modules/math-intrinsics/mod.d.ts | 3 + .../node_modules/math-intrinsics/mod.js | 9 + .../node_modules/math-intrinsics/mod.min.js | 8 + .../node_modules/math-intrinsics/package.json | 86 + .../node_modules/math-intrinsics/pow.d.ts | 1 + .../node_modules/math-intrinsics/pow.js | 4 + .../node_modules/math-intrinsics/pow.min.js | 8 + .../node_modules/math-intrinsics/round.d.ts | 1 + .../node_modules/math-intrinsics/round.js | 4 + .../node_modules/math-intrinsics/round.min.js | 8 + .../node_modules/math-intrinsics/sign.d.ts | 3 + .../node_modules/math-intrinsics/sign.js | 11 + .../node_modules/math-intrinsics/sign.min.js | 8 + .../math-intrinsics/test/index.js | 192 + .../math-intrinsics/test/index.min.js | 8 + .../math-intrinsics/tsconfig.json | 3 + .../node_modules/mime-db/HISTORY.md | 541 + .../node_modules/mime-db/LICENSE | 23 + .../node_modules/mime-db/README.md | 109 + .../node_modules/mime-db/db.json | 9342 +++++++++++++++++ .../node_modules/mime-db/index.js | 12 + .../node_modules/mime-db/index.min.js | 18 + .../node_modules/mime-db/package.json | 56 + .../node_modules/mime-types/HISTORY.md | 428 + .../node_modules/mime-types/LICENSE | 23 + .../node_modules/mime-types/README.md | 126 + .../node_modules/mime-types/index.js | 211 + .../node_modules/mime-types/index.min.js | 14 + .../node_modules/mime-types/mimeScore.js | 57 + .../node_modules/mime-types/mimeScore.min.js | 8 + .../node_modules/mime-types/package.json | 49 + .../node_modules/ms/index.js | 162 + .../node_modules/ms/index.min.js | 8 + .../node_modules/ms/license.md | 21 + .../node_modules/ms/package.json | 38 + .../node_modules/ms/readme.md | 59 + .../proxy-agent-negotiate/dist/index.d.ts | 14 + .../proxy-agent-negotiate/dist/index.d.ts.map | 1 + .../proxy-agent-negotiate/dist/index.js | 35 + .../proxy-agent-negotiate/dist/index.js.map | 1 + .../proxy-agent-negotiate/dist/index.min.js | 8 + .../proxy-agent-negotiate/package.json | 47 + .../node_modules/proxy-from-env/LICENSE | 20 + .../node_modules/proxy-from-env/README.md | 163 + .../node_modules/proxy-from-env/index.cjs | 105 + .../node_modules/proxy-from-env/index.js | 103 + .../node_modules/proxy-from-env/index.min.js | 8 + .../node_modules/proxy-from-env/package.json | 43 + .../node_modules/saxon-js/LICENSE.txt | 55 + .../node_modules/saxon-js/SaxonJS2N.js | 4609 ++++++++ .../node_modules/saxon-js/SaxonJS2N.min.js | 4615 ++++++++ .../node_modules/saxon-js/package.json | 27 + .../node_modules/saxon-js/readme.md | 144 + .../node_modules/xslt3/LICENSE.txt | 55 + .../node_modules/xslt3/package.json | 32 + .../node_modules/xslt3/readme.md | 144 + .../node_modules/xslt3/xslt3.js | 69 + .../node_modules/xslt3/xslt3.min.js | 75 + 557 files changed, 72003 insertions(+), 1 deletion(-) create mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts.map create mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js.map create mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts.map create mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js.map create mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/bench.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/bench.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/serial.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/serial.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/stream.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/stream.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/MIGRATION_GUIDE.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js.map create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/browser/axios.cjs create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js.map create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/node/axios.cjs create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/index.d.cts create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosError.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosError.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/dispatchRequest.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/dispatchRequest.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/mergeConfig.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/mergeConfig.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/env/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/spread.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/spread.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/throttle.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/throttle.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/utils.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/utils.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/tsconfig.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/combined-stream/License create mode 100644 Lombiq.EInvoiceValidator/node_modules/combined-stream/Readme.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/combined-stream/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/combined-stream/yarn.lock create mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/browser.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/browser.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/common.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/common.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/node.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/node.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/delayed-stream/License create mode 100644 Lombiq.EInvoiceValidator/node_modules/delayed-stream/Makefile create mode 100644 Lombiq.EInvoiceValidator/node_modules/delayed-stream/Readme.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/delayed-stream/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/tsconfig.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/tsconfig.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/eval.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/eval.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/eval.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/range.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/range.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/range.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/ref.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/ref.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/ref.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/tsconfig.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/type.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/type.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/type.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/uri.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/uri.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/uri.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/tsconfig.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/tsconfig.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/License create mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/lib/populate.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/lib/populate.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/tsconfig.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/test/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/test/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/tsconfig.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/tsconfig.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/tsconfig.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/eslint.config.mjs create mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/tsconfig.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts.map create mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js.map create mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map create mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map create mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/CHANGELOG.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/tsconfig.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-db/HISTORY.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-db/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-db/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-db/db.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-db/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-db/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-db/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/HISTORY.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/ms/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/ms/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/ms/license.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/ms/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/ms/readme.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts create mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts.map create mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js.map create mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-from-env/LICENSE create mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-from-env/README.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.cjs create mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-from-env/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/saxon-js/LICENSE.txt create mode 100644 Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.min.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/saxon-js/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/saxon-js/readme.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/xslt3/LICENSE.txt create mode 100644 Lombiq.EInvoiceValidator/node_modules/xslt3/package.json create mode 100644 Lombiq.EInvoiceValidator/node_modules/xslt3/readme.md create mode 100644 Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.js create mode 100644 Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.min.js diff --git a/.gitignore b/.gitignore index b767ac2..ad8542e 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,7 @@ obj/ bin/ artifacts/ wwwroot/ -node_modules/ +!node_modules/ *.user .pnpm-debug.log *.orig diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/LICENSE b/Lombiq.EInvoiceValidator/node_modules/agent-base/LICENSE new file mode 100644 index 0000000..008728c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/agent-base/LICENSE @@ -0,0 +1,22 @@ +(The MIT License) + +Copyright (c) 2013 Nathan Rajlich + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/README.md b/Lombiq.EInvoiceValidator/node_modules/agent-base/README.md new file mode 100644 index 0000000..b8a86b9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/agent-base/README.md @@ -0,0 +1,69 @@ +agent-base +========== +### Turn a function into an [`http.Agent`][http.Agent] instance + +This module is a thin wrapper around the base `http.Agent` class. + +It provides an abstract class that must define a `connect()` function, +which is responsible for creating the underlying socket that the HTTP +client requests will use. + +The `connect()` function may return an arbitrary `Duplex` stream, or +another `http.Agent` instance to delegate the request to, and may be +asynchronous (by defining an `async` function). + +Instances of this agent can be used with the `http` and `https` +modules. To differentiate, the options parameter in the `connect()` +function includes a `secureEndpoint` property, which can be checked +to determine what type of socket should be returned. + +#### Some subclasses: + +Here are some more interesting uses of `agent-base`. +Send a pull request to list yours! + + * [`http-proxy-agent`][http-proxy-agent]: An HTTP(s) proxy `http.Agent` implementation for HTTP endpoints + * [`https-proxy-agent`][https-proxy-agent]: An HTTP(s) proxy `http.Agent` implementation for HTTPS endpoints + * [`pac-proxy-agent`][pac-proxy-agent]: A PAC file proxy `http.Agent` implementation for HTTP and HTTPS + * [`socks-proxy-agent`][socks-proxy-agent]: A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS + +Example +------- + +Here's a minimal example that creates a new `net.Socket` or `tls.Socket` +based on the `secureEndpoint` property. This agent can be used with both +the `http` and `https` modules. + +```ts +import * as net from 'net'; +import * as tls from 'tls'; +import * as http from 'http'; +import { Agent } from 'agent-base'; + +class MyAgent extends Agent { + connect(req, opts) { + // `secureEndpoint` is true when using the "https" module + if (opts.secureEndpoint) { + return tls.connect(opts); + } else { + return net.connect(opts); + } + } +}); + +// Keep alive enabled means that `connect()` will only be +// invoked when a new connection needs to be created +const agent = new MyAgent({ keepAlive: true }); + +// Pass the `agent` option when creating the HTTP request +http.get('http://nodejs.org/api/', { agent }, (res) => { + console.log('"response" event!', res.headers); + res.pipe(process.stdout); +}); +``` + +[http-proxy-agent]: ../http-proxy-agent +[https-proxy-agent]: ../https-proxy-agent +[pac-proxy-agent]: ../pac-proxy-agent +[socks-proxy-agent]: ../socks-proxy-agent +[http.Agent]: https://nodejs.org/api/http.html#http_class_http_agent diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts new file mode 100644 index 0000000..2a0e78b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts @@ -0,0 +1,10 @@ +import * as http from 'http'; +import * as https from 'https'; +import type { Readable } from 'stream'; +export type ThenableRequest = http.ClientRequest & { + then: Promise['then']; +}; +export declare function toBuffer(stream: Readable): Promise; +export declare function json(stream: Readable): Promise; +export declare function req(url: string | URL, opts?: https.RequestOptions): ThenableRequest; +//# sourceMappingURL=helpers.d.ts.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts.map b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts.map new file mode 100644 index 0000000..bf42c8e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,aAAa,GAAG;IAClD,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;CAC5C,CAAC;AAEF,wBAAsB,QAAQ,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,CAQhE;AAGD,wBAAsB,IAAI,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,CAUzD;AAED,wBAAgB,GAAG,CAClB,GAAG,EAAE,MAAM,GAAG,GAAG,EACjB,IAAI,GAAE,KAAK,CAAC,cAAmB,GAC7B,eAAe,CAcjB"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js new file mode 100644 index 0000000..42c6ed2 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js @@ -0,0 +1,37 @@ +import * as http from 'http'; +import * as https from 'https'; +export async function toBuffer(stream) { + let length = 0; + const chunks = []; + for await (const chunk of stream) { + length += chunk.length; + chunks.push(chunk); + } + return Buffer.concat(chunks, length); +} +// eslint-disable-next-line @typescript-eslint/no-explicit-any +export async function json(stream) { + const buf = await toBuffer(stream); + const str = buf.toString('utf8'); + try { + return JSON.parse(str); + } + catch (_err) { + const err = _err; + err.message += ` (input: ${str})`; + throw err; + } +} +export function req(url, opts = {}) { + const href = typeof url === 'string' ? url : url.href; + const req = (href.startsWith('https:') ? https : http).request(url, opts); + const promise = new Promise((resolve, reject) => { + req + .once('response', resolve) + .once('error', reject) + .end(); + }); + req.then = promise.then.bind(promise); + return req; +} +//# sourceMappingURL=helpers.js.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js.map b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js.map new file mode 100644 index 0000000..78d040b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,CAAC,KAAK,UAAU,QAAQ,CAAC,MAAgB;IAC9C,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,IAAI,KAAK,EAAE,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAClC,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC;QACvB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC;IACD,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AACtC,CAAC;AAED,8DAA8D;AAC9D,MAAM,CAAC,KAAK,UAAU,IAAI,CAAC,MAAgB;IAC1C,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,CAAC;IACnC,MAAM,GAAG,GAAG,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IACjC,IAAI,CAAC;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACxB,CAAC;IAAC,OAAO,IAAa,EAAE,CAAC;QACxB,MAAM,GAAG,GAAG,IAAa,CAAC;QAC1B,GAAG,CAAC,OAAO,IAAI,YAAY,GAAG,GAAG,CAAC;QAClC,MAAM,GAAG,CAAC;IACX,CAAC;AACF,CAAC;AAED,MAAM,UAAU,GAAG,CAClB,GAAiB,EACjB,OAA6B,EAAE;IAE/B,MAAM,IAAI,GAAG,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;IACtD,MAAM,GAAG,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAC7D,GAAG,EACH,IAAI,CACe,CAAC;IACrB,MAAM,OAAO,GAAG,IAAI,OAAO,CAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrE,GAAG;aACD,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC;aACzB,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC;aACrB,GAAG,EAAqB,CAAC;IAC5B,CAAC,CAAC,CAAC;IACH,GAAG,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtC,OAAO,GAAG,CAAC;AACZ,CAAC"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.min.js b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.min.js new file mode 100644 index 0000000..9f95502 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/agent-base@9.0.0/dist/helpers.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import*as http from"http";import*as https from"https";export async function toBuffer(t){let r=0;const n=[];for await(const e of t)r+=e.length,n.push(e);return Buffer.concat(n,r)}export async function json(t){const r=(await toBuffer(t)).toString("utf8");try{return JSON.parse(r)}catch(t){const n=t;throw n.message+=` (input: ${r})`,n}}export function req(t,r={}){const n=(("string"==typeof t?t:t.href).startsWith("https:")?https:http).request(t,r),e=new Promise((t,r)=>{n.once("response",t).once("error",r).end()});return n.then=e.then.bind(e),n} +//# sourceMappingURL=/sm/d8b01bc74c7a22bf2e9f2eec8297b16edce9162f2733e3b552e127a3f938f4a0.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts new file mode 100644 index 0000000..0eb48b7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts @@ -0,0 +1,37 @@ +import * as net from 'net'; +import * as tls from 'tls'; +import * as http from 'http'; +import type { Duplex } from 'stream'; +export * from './helpers.js'; +interface HttpConnectOpts extends net.TcpNetConnectOpts { + secureEndpoint: false; + protocol?: string; +} +interface HttpsConnectOpts extends tls.ConnectionOptions { + secureEndpoint: true; + protocol?: string; + port: number; +} +export type AgentConnectOpts = HttpConnectOpts | HttpsConnectOpts; +declare const INTERNAL: unique symbol; +export declare abstract class Agent extends http.Agent { + private [INTERNAL]; + options: Partial; + keepAlive: boolean; + constructor(opts?: http.AgentOptions); + abstract connect(req: http.ClientRequest, options: AgentConnectOpts): Promise | Duplex | http.Agent; + /** + * Determine whether this is an `http` or `https` request. + */ + isSecureEndpoint(options?: AgentConnectOpts): boolean; + private incrementSockets; + private decrementSockets; + getName(options?: AgentConnectOpts): string; + createSocket(req: http.ClientRequest, options: AgentConnectOpts, cb: (err: Error | null, s?: Duplex) => void): void; + createConnection(): Duplex; + get defaultPort(): number; + set defaultPort(v: number); + get protocol(): string; + set protocol(v: string); +} +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts.map b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts.map new file mode 100644 index 0000000..86a33a7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,cAAc,cAAc,CAAC;AAE7B,UAAU,eAAgB,SAAQ,GAAG,CAAC,iBAAiB;IACtD,cAAc,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,gBAAiB,SAAQ,GAAG,CAAC,iBAAiB;IACvD,cAAc,EAAE,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACb;AAED,MAAM,MAAM,gBAAgB,GAAG,eAAe,GAAG,gBAAgB,CAAC;AAElE,QAAA,MAAM,QAAQ,eAAmC,CAAC;AAQlD,8BAAsB,KAAM,SAAQ,IAAI,CAAC,KAAK;IAC7C,OAAO,CAAC,CAAC,QAAQ,CAAC,CAAgB;IAGlC,OAAO,EAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,GAAG,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACjE,SAAS,EAAG,OAAO,CAAC;gBAER,IAAI,CAAC,EAAE,IAAI,CAAC,YAAY;IAKpC,QAAQ,CAAC,OAAO,CACf,GAAG,EAAE,IAAI,CAAC,aAAa,EACvB,OAAO,EAAE,gBAAgB,GACvB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC,KAAK;IAErD;;OAEG;IACH,gBAAgB,CAAC,OAAO,CAAC,EAAE,gBAAgB,GAAG,OAAO;IAqCrD,OAAO,CAAC,gBAAgB;IAqBxB,OAAO,CAAC,gBAAgB;IAmBxB,OAAO,CAAC,OAAO,CAAC,EAAE,gBAAgB,GAAG,MAAM;IAQ3C,YAAY,CACX,GAAG,EAAE,IAAI,CAAC,aAAa,EACvB,OAAO,EAAE,gBAAgB,EACzB,EAAE,EAAE,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;IAuC5C,gBAAgB,IAAI,MAAM;IAW1B,IAAI,WAAW,IAAI,MAAM,CAKxB;IAED,IAAI,WAAW,CAAC,CAAC,EAAE,MAAM,EAIxB;IAED,IAAI,QAAQ,IAAI,MAAM,CAKrB;IAED,IAAI,QAAQ,CAAC,CAAC,EAAE,MAAM,EAIrB;CACD"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js new file mode 100644 index 0000000..15aa6e9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js @@ -0,0 +1,146 @@ +import * as net from 'net'; +import * as http from 'http'; +import { Agent as HttpsAgent } from 'https'; +export * from './helpers.js'; +const INTERNAL = Symbol('AgentBaseInternalState'); +export class Agent extends http.Agent { + constructor(opts) { + super(opts); + this[INTERNAL] = {}; + } + /** + * Determine whether this is an `http` or `https` request. + */ + isSecureEndpoint(options) { + if (options) { + // First check the `secureEndpoint` property explicitly, since this + // means that a parent `Agent` is "passing through" to this instance. + // eslint-disable-next-line @typescript-eslint/no-explicit-any + if (typeof options.secureEndpoint === 'boolean') { + return options.secureEndpoint; + } + // If no explicit `secure` endpoint, check if `protocol` property is + // set. This will usually be the case since using a full string URL + // or `URL` instance should be the most common usage. + if (typeof options.protocol === 'string') { + return options.protocol === 'https:'; + } + } + // Finally, if no `protocol` property was set, then fall back to + // checking the stack trace of the current call stack, and try to + // detect the "https" module. + const { stack } = new Error(); + if (typeof stack !== 'string') + return false; + return stack + .split('\n') + .some((l) => l.indexOf('(https.js:') !== -1 || + l.indexOf('node:https:') !== -1); + } + // In order to support async signatures in `connect()` and Node's native + // connection pooling in `http.Agent`, the array of sockets for each origin + // has to be updated synchronously. This is so the length of the array is + // accurate when `addRequest()` is next called. We achieve this by creating a + // fake socket and adding it to `sockets[origin]` and incrementing + // `totalSocketCount`. + incrementSockets(name) { + // If `maxSockets` and `maxTotalSockets` are both Infinity then there is no + // need to create a fake socket because Node.js native connection pooling + // will never be invoked. + if (this.maxSockets === Infinity && this.maxTotalSockets === Infinity) { + return null; + } + // All instances of `sockets` are expected TypeScript errors. The + // alternative is to add it as a private property of this class but that + // will break TypeScript subclassing. + if (!this.sockets[name]) { + // @ts-expect-error `sockets` is readonly in `@types/node` + this.sockets[name] = []; + } + const fakeSocket = new net.Socket({ writable: false }); + this.sockets[name].push(fakeSocket); + // @ts-expect-error `totalSocketCount` isn't defined in `@types/node` + this.totalSocketCount++; + return fakeSocket; + } + decrementSockets(name, socket) { + if (!this.sockets[name] || socket === null) { + return; + } + const sockets = this.sockets[name]; + const index = sockets.indexOf(socket); + if (index !== -1) { + sockets.splice(index, 1); + // @ts-expect-error `totalSocketCount` isn't defined in `@types/node` + this.totalSocketCount--; + if (sockets.length === 0) { + // @ts-expect-error `sockets` is readonly in `@types/node` + delete this.sockets[name]; + } + } + } + // In order to properly update the socket pool, we need to call `getName()` on + // the core `https.Agent` if it is a secureEndpoint. + getName(options) { + const secureEndpoint = this.isSecureEndpoint(options); + if (secureEndpoint) { + return HttpsAgent.prototype.getName.call(this, options); + } + return super.getName(options); + } + createSocket(req, options, cb) { + const connectOpts = { + ...options, + secureEndpoint: this.isSecureEndpoint(options), + }; + const name = this.getName(connectOpts); + const fakeSocket = this.incrementSockets(name); + Promise.resolve() + .then(() => this.connect(req, connectOpts)) + .then((socket) => { + this.decrementSockets(name, fakeSocket); + if (typeof socket + .addRequest === 'function') { + try { + return socket.addRequest(req, connectOpts); + } + catch (err) { + return cb(err); + } + } + this[INTERNAL].currentSocket = socket; + // @ts-expect-error `createSocket()` isn't defined in `@types/node` + super.createSocket(req, options, cb); + }, (err) => { + this.decrementSockets(name, fakeSocket); + cb(err); + }); + } + createConnection() { + const socket = this[INTERNAL].currentSocket; + this[INTERNAL].currentSocket = undefined; + if (!socket) { + throw new Error('No socket was returned in the `connect()` function'); + } + return socket; + } + get defaultPort() { + return (this[INTERNAL].defaultPort ?? + (this.protocol === 'https:' ? 443 : 80)); + } + set defaultPort(v) { + if (this[INTERNAL]) { + this[INTERNAL].defaultPort = v; + } + } + get protocol() { + return (this[INTERNAL].protocol ?? + (this.isSecureEndpoint() ? 'https:' : 'http:')); + } + set protocol(v) { + if (this[INTERNAL]) { + this[INTERNAL].protocol = v; + } + } +} +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js.map b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js.map new file mode 100644 index 0000000..9716da9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,KAAK,IAAI,UAAU,EAAE,MAAM,OAAO,CAAC;AAG5C,cAAc,cAAc,CAAC;AAe7B,MAAM,QAAQ,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC;AAQlD,MAAM,OAAgB,KAAM,SAAQ,IAAI,CAAC,KAAK;IAO7C,YAAY,IAAwB;QACnC,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC;IACrB,CAAC;IAOD;;OAEG;IACH,gBAAgB,CAAC,OAA0B;QAC1C,IAAI,OAAO,EAAE,CAAC;YACb,mEAAmE;YACnE,qEAAqE;YACrE,8DAA8D;YAC9D,IAAI,OAAQ,OAAe,CAAC,cAAc,KAAK,SAAS,EAAE,CAAC;gBAC1D,OAAO,OAAO,CAAC,cAAc,CAAC;YAC/B,CAAC;YAED,oEAAoE;YACpE,mEAAmE;YACnE,qDAAqD;YACrD,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,QAAQ,EAAE,CAAC;gBAC1C,OAAO,OAAO,CAAC,QAAQ,KAAK,QAAQ,CAAC;YACtC,CAAC;QACF,CAAC;QAED,gEAAgE;QAChE,iEAAiE;QACjE,6BAA6B;QAC7B,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,KAAK,EAAE,CAAC;QAC9B,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,OAAO,KAAK,CAAC;QAC5C,OAAO,KAAK;aACV,KAAK,CAAC,IAAI,CAAC;aACX,IAAI,CACJ,CAAC,CAAC,EAAE,EAAE,CACL,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;YAC9B,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAChC,CAAC;IACJ,CAAC;IAED,wEAAwE;IACxE,2EAA2E;IAC3E,yEAAyE;IACzE,6EAA6E;IAC7E,kEAAkE;IAClE,sBAAsB;IACd,gBAAgB,CAAC,IAAY;QACpC,2EAA2E;QAC3E,yEAAyE;QACzE,yBAAyB;QACzB,IAAI,IAAI,CAAC,UAAU,KAAK,QAAQ,IAAI,IAAI,CAAC,eAAe,KAAK,QAAQ,EAAE,CAAC;YACvE,OAAO,IAAI,CAAC;QACb,CAAC;QACD,iEAAiE;QACjE,wEAAwE;QACxE,qCAAqC;QACrC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YACzB,0DAA0D;YAC1D,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QACzB,CAAC;QACD,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC;QACtD,IAAI,CAAC,OAAO,CAAC,IAAI,CAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACtD,qEAAqE;QACrE,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACxB,OAAO,UAAU,CAAC;IACnB,CAAC;IAEO,gBAAgB,CAAC,IAAY,EAAE,MAAyB;QAC/D,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;YAC5C,OAAO;QACR,CAAC;QACD,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAiB,CAAC;QACnD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACtC,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;YAClB,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;YACzB,sEAAsE;YACtE,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACxB,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC1B,0DAA0D;gBAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAC3B,CAAC;QACF,CAAC;IACF,CAAC;IAED,8EAA8E;IAC9E,oDAAoD;IACpD,OAAO,CAAC,OAA0B;QACjC,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACtD,IAAI,cAAc,EAAE,CAAC;YACpB,OAAO,UAAU,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACzD,CAAC;QACD,OAAO,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/B,CAAC;IAED,YAAY,CACX,GAAuB,EACvB,OAAyB,EACzB,EAA2C;QAE3C,MAAM,WAAW,GAAG;YACnB,GAAG,OAAO;YACV,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC;SAC9C,CAAC;QACF,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QACvC,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;QAC/C,OAAO,CAAC,OAAO,EAAE;aACf,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;aAC1C,IAAI,CACJ,CAAC,MAAM,EAAE,EAAE;YACV,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;YACxC,IACC,OAAQ,MAA6C;iBACnD,UAAU,KAAK,UAAU,EAC1B,CAAC;gBACF,IAAI,CAAC;oBACJ,OACC,MAIA,CAAC,UAAU,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;gBAChC,CAAC;gBAAC,OAAO,GAAY,EAAE,CAAC;oBACvB,OAAO,EAAE,CAAC,GAAY,CAAC,CAAC;gBACzB,CAAC;YACF,CAAC;YACD,IAAI,CAAC,QAAQ,CAAC,CAAC,aAAa,GAAG,MAAgB,CAAC;YAChD,mEAAmE;YACnE,KAAK,CAAC,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC;QACtC,CAAC,EACD,CAAC,GAAG,EAAE,EAAE;YACP,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;YACxC,EAAE,CAAC,GAAG,CAAC,CAAC;QACT,CAAC,CACD,CAAC;IACJ,CAAC;IAED,gBAAgB;QACf,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,aAAa,CAAC;QAC5C,IAAI,CAAC,QAAQ,CAAC,CAAC,aAAa,GAAG,SAAS,CAAC;QACzC,IAAI,CAAC,MAAM,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CACd,oDAAoD,CACpD,CAAC;QACH,CAAC;QACD,OAAO,MAAM,CAAC;IACf,CAAC;IAED,IAAI,WAAW;QACd,OAAO,CACN,IAAI,CAAC,QAAQ,CAAC,CAAC,WAAW;YAC1B,CAAC,IAAI,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CACvC,CAAC;IACH,CAAC;IAED,IAAI,WAAW,CAAC,CAAS;QACxB,IAAI,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YACpB,IAAI,CAAC,QAAQ,CAAC,CAAC,WAAW,GAAG,CAAC,CAAC;QAChC,CAAC;IACF,CAAC;IAED,IAAI,QAAQ;QACX,OAAO,CACN,IAAI,CAAC,QAAQ,CAAC,CAAC,QAAQ;YACvB,CAAC,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAC9C,CAAC;IACH,CAAC;IAED,IAAI,QAAQ,CAAC,CAAS;QACrB,IAAI,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YACpB,IAAI,CAAC,QAAQ,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC;QAC7B,CAAC;IACF,CAAC;CACD"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.min.js b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.min.js new file mode 100644 index 0000000..40f0760 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/agent-base@9.0.0/dist/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import*as net from"net";import*as http from"http";import{Agent as HttpsAgent}from"https";export*from"./helpers.js";const INTERNAL=Symbol("AgentBaseInternalState");export class Agent extends http.Agent{constructor(t){super(t),this[INTERNAL]={}}isSecureEndpoint(t){if(t){if("boolean"==typeof t.secureEndpoint)return t.secureEndpoint;if("string"==typeof t.protocol)return"https:"===t.protocol}const{stack:e}=new Error;return"string"==typeof e&&e.split("\n").some(t=>-1!==t.indexOf("(https.js:")||-1!==t.indexOf("node:https:"))}incrementSockets(t){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[t]||(this.sockets[t]=[]);const e=new net.Socket({writable:!1});return this.sockets[t].push(e),this.totalSocketCount++,e}decrementSockets(t,e){if(!this.sockets[t]||null===e)return;const o=this.sockets[t],s=o.indexOf(e);-1!==s&&(o.splice(s,1),this.totalSocketCount--,0===o.length&&delete this.sockets[t])}getName(t){return this.isSecureEndpoint(t)?HttpsAgent.prototype.getName.call(this,t):super.getName(t)}createSocket(t,e,o){const s={...e,secureEndpoint:this.isSecureEndpoint(e)},r=this.getName(s),n=this.incrementSockets(r);Promise.resolve().then(()=>this.connect(t,s)).then(c=>{if(this.decrementSockets(r,n),"function"==typeof c.addRequest)try{return c.addRequest(t,s)}catch(t){return o(t)}this[INTERNAL].currentSocket=c,super.createSocket(t,e,o)},t=>{this.decrementSockets(r,n),o(t)})}createConnection(){const t=this[INTERNAL].currentSocket;if(this[INTERNAL].currentSocket=void 0,!t)throw new Error("No socket was returned in the `connect()` function");return t}get defaultPort(){return this[INTERNAL].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(t){this[INTERNAL]&&(this[INTERNAL].defaultPort=t)}get protocol(){return this[INTERNAL].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(t){this[INTERNAL]&&(this[INTERNAL].protocol=t)}} +//# sourceMappingURL=/sm/9e84b86dae86a0d45a514eeef0366cf0e06ba38dd23f005d09f082364e7e4fdb.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/package.json b/Lombiq.EInvoiceValidator/node_modules/agent-base/package.json new file mode 100644 index 0000000..8ef80c2 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/agent-base/package.json @@ -0,0 +1,46 @@ +{ + "name": "agent-base", + "version": "9.0.0", + "type": "module", + "description": "Turn a function into an `http.Agent` instance", + "exports": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "files": [ + "dist" + ], + "repository": { + "type": "git", + "url": "https://github.com/TooTallNate/proxy-agents.git", + "directory": "packages/agent-base" + }, + "keywords": [ + "http", + "agent", + "base", + "barebones", + "https" + ], + "author": "Nathan Rajlich (http://n8.io/)", + "license": "MIT", + "devDependencies": { + "@types/debug": "^4.1.7", + "@types/node": "^22.13.0", + "@types/semver": "^7.3.13", + "@types/ws": "^8.5.4", + "async-listen": "^3.0.0", + "typescript": "^5.1.6", + "ws": "^8.13.0", + "tsconfig": "0.0.0" + }, + "engines": { + "node": ">= 20" + }, + "scripts": { + "build": "tsc", + "test": "vitest", + "lint": "eslint . --ext .ts", + "pack": "node ../../scripts/pack.mjs" + } +} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/LICENSE b/Lombiq.EInvoiceValidator/node_modules/asynckit/LICENSE new file mode 100644 index 0000000..c9eca5d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Alex Indigo + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/README.md b/Lombiq.EInvoiceValidator/node_modules/asynckit/README.md new file mode 100644 index 0000000..3eabaca --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/README.md @@ -0,0 +1,227 @@ +# asynckit [![NPM Module](https://img.shields.io/npm/v/asynckit.svg?style=flat)](https://www.npmjs.com/package/asynckit) + +Minimal async jobs utility library, with streams support. + +[![Coverage Status](https://img.shields.io/coveralls/alexindigo/asynckit/master.svg?label=code+coverage&style=flat)](https://coveralls.io/github/alexindigo/asynckit?branch=master) + + + +AsyncKit provides harness for `parallel` and `serial` iterators over list of items represented by arrays or objects. +Optionally it accepts abort function (should be synchronously return by iterator for each item), and terminates left over jobs upon an error event. For specific iteration order built-in (`ascending` and `descending`) and custom sort helpers also supported, via `asynckit.serialOrdered` method. + +It ensures async operations to keep behavior more stable and prevent `Maximum call stack size exceeded` errors, from sync iterators. + +| compression | size | +| :----------------- | -------: | +| asynckit.js | 12.34 kB | +| asynckit.min.js | 4.11 kB | +| asynckit.min.js.gz | 1.47 kB | + + +## Install + +```sh +$ npm install --save asynckit +``` + +## Examples + +### Parallel Jobs + +Runs iterator over provided array in parallel. Stores output in the `result` array, +on the matching positions. In unlikely event of an error from one of the jobs, +will terminate rest of the active jobs (if abort function is provided) +and return error along with salvaged data to the main callback function. + +#### Input Array + +```javascript +var parallel = require('asynckit').parallel + , assert = require('assert') + ; + +var source = [ 1, 1, 4, 16, 64, 32, 8, 2 ] + , expectedResult = [ 2, 2, 8, 32, 128, 64, 16, 4 ] + , expectedTarget = [ 1, 1, 2, 4, 8, 16, 32, 64 ] + , target = [] + ; + +parallel(source, asyncJob, function(err, result) +{ + assert.deepEqual(result, expectedResult); + assert.deepEqual(target, expectedTarget); +}); + +// async job accepts one element from the array +// and a callback function +function asyncJob(item, cb) +{ + // different delays (in ms) per item + var delay = item * 25; + + // pretend different jobs take different time to finish + // and not in consequential order + var timeoutId = setTimeout(function() { + target.push(item); + cb(null, item * 2); + }, delay); + + // allow to cancel "leftover" jobs upon error + // return function, invoking of which will abort this job + return clearTimeout.bind(null, timeoutId); +} +``` + +More examples could be found in [test/test-parallel-array.js](test/test-parallel-array.js). + +#### Input Object + +Also it supports named jobs, listed via object. + +```javascript +var parallel = require('asynckit/parallel') + , assert = require('assert') + ; + +var source = { first: 1, one: 1, four: 4, sixteen: 16, sixtyFour: 64, thirtyTwo: 32, eight: 8, two: 2 } + , expectedResult = { first: 2, one: 2, four: 8, sixteen: 32, sixtyFour: 128, thirtyTwo: 64, eight: 16, two: 4 } + , expectedTarget = [ 1, 1, 2, 4, 8, 16, 32, 64 ] + , expectedKeys = [ 'first', 'one', 'two', 'four', 'eight', 'sixteen', 'thirtyTwo', 'sixtyFour' ] + , target = [] + , keys = [] + ; + +parallel(source, asyncJob, function(err, result) +{ + assert.deepEqual(result, expectedResult); + assert.deepEqual(target, expectedTarget); + assert.deepEqual(keys, expectedKeys); +}); + +// supports full value, key, callback (shortcut) interface +function asyncJob(item, key, cb) +{ + // different delays (in ms) per item + var delay = item * 25; + + // pretend different jobs take different time to finish + // and not in consequential order + var timeoutId = setTimeout(function() { + keys.push(key); + target.push(item); + cb(null, item * 2); + }, delay); + + // allow to cancel "leftover" jobs upon error + // return function, invoking of which will abort this job + return clearTimeout.bind(null, timeoutId); +} +``` + +More examples could be found in [test/test-parallel-object.js](test/test-parallel-object.js). + +### Serial Jobs + +Runs iterator over provided array sequentially. Stores output in the `result` array, +on the matching positions. In unlikely event of an error from one of the jobs, +will not proceed to the rest of the items in the list +and return error along with salvaged data to the main callback function. + +#### Input Array + +```javascript +var serial = require('asynckit/serial') + , assert = require('assert') + ; + +var source = [ 1, 1, 4, 16, 64, 32, 8, 2 ] + , expectedResult = [ 2, 2, 8, 32, 128, 64, 16, 4 ] + , expectedTarget = [ 0, 1, 2, 3, 4, 5, 6, 7 ] + , target = [] + ; + +serial(source, asyncJob, function(err, result) +{ + assert.deepEqual(result, expectedResult); + assert.deepEqual(target, expectedTarget); +}); + +// extended interface (item, key, callback) +// also supported for arrays +function asyncJob(item, key, cb) +{ + target.push(key); + + // it will be automatically made async + // even it iterator "returns" in the same event loop + cb(null, item * 2); +} +``` + +More examples could be found in [test/test-serial-array.js](test/test-serial-array.js). + +#### Input Object + +Also it supports named jobs, listed via object. + +```javascript +var serial = require('asynckit').serial + , assert = require('assert') + ; + +var source = [ 1, 1, 4, 16, 64, 32, 8, 2 ] + , expectedResult = [ 2, 2, 8, 32, 128, 64, 16, 4 ] + , expectedTarget = [ 0, 1, 2, 3, 4, 5, 6, 7 ] + , target = [] + ; + +var source = { first: 1, one: 1, four: 4, sixteen: 16, sixtyFour: 64, thirtyTwo: 32, eight: 8, two: 2 } + , expectedResult = { first: 2, one: 2, four: 8, sixteen: 32, sixtyFour: 128, thirtyTwo: 64, eight: 16, two: 4 } + , expectedTarget = [ 1, 1, 4, 16, 64, 32, 8, 2 ] + , target = [] + ; + + +serial(source, asyncJob, function(err, result) +{ + assert.deepEqual(result, expectedResult); + assert.deepEqual(target, expectedTarget); +}); + +// shortcut interface (item, callback) +// works for object as well as for the arrays +function asyncJob(item, cb) +{ + target.push(item); + + // it will be automatically made async + // even it iterator "returns" in the same event loop + cb(null, item * 2); +} +``` + +More examples could be found in [test/test-serial-object.js](test/test-serial-object.js). + +_Note: Since _object_ is an _unordered_ collection of properties, +it may produce unexpected results with sequential iterations. +Whenever order of the jobs' execution is important please use `serialOrdered` method._ + +### Ordered Serial Iterations + +TBD + +For example [compare-property](compare-property) package. + +### Streaming interface + +TBD + +## Want to Know More? + +More examples can be found in [test folder](test/). + +Or open an [issue](https://github.com/alexindigo/asynckit/issues) with questions and/or suggestions. + +## License + +AsyncKit is licensed under the MIT license. diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/bench.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/bench.js new file mode 100644 index 0000000..c612f1a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/bench.js @@ -0,0 +1,76 @@ +/* eslint no-console: "off" */ + +var asynckit = require('./') + , async = require('async') + , assert = require('assert') + , expected = 0 + ; + +var Benchmark = require('benchmark'); +var suite = new Benchmark.Suite; + +var source = []; +for (var z = 1; z < 100; z++) +{ + source.push(z); + expected += z; +} + +suite +// add tests + +.add('async.map', function(deferred) +{ + var total = 0; + + async.map(source, + function(i, cb) + { + setImmediate(function() + { + total += i; + cb(null, total); + }); + }, + function(err, result) + { + assert.ifError(err); + assert.equal(result[result.length - 1], expected); + deferred.resolve(); + }); +}, {'defer': true}) + + +.add('asynckit.parallel', function(deferred) +{ + var total = 0; + + asynckit.parallel(source, + function(i, cb) + { + setImmediate(function() + { + total += i; + cb(null, total); + }); + }, + function(err, result) + { + assert.ifError(err); + assert.equal(result[result.length - 1], expected); + deferred.resolve(); + }); +}, {'defer': true}) + + +// add listeners +.on('cycle', function(ev) +{ + console.log(String(ev.target)); +}) +.on('complete', function() +{ + console.log('Fastest is ' + this.filter('fastest').map('name')); +}) +// run async +.run({ 'async': true }); diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/bench.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/bench.min.js new file mode 100644 index 0000000..c844788 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/bench.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/bench.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +for(var asynckit=require("./"),async=require("async"),assert=require("assert"),expected=0,Benchmark=require("benchmark"),suite=new Benchmark.Suite,source=[],z=1;z<100;z++)source.push(z),expected+=z;suite.add("async.map",(function(e){var n=0;async.map(source,(function(e,t){setImmediate((function(){t(null,n+=e)}))}),(function(n,t){assert.ifError(n),assert.equal(t[t.length-1],expected),e.resolve()}))}),{defer:!0}).add("asynckit.parallel",(function(e){var n=0;asynckit.parallel(source,(function(e,t){setImmediate((function(){t(null,n+=e)}))}),(function(n,t){assert.ifError(n),assert.equal(t[t.length-1],expected),e.resolve()}))}),{defer:!0}).on("cycle",(function(e){console.log(String(e.target))})).on("complete",(function(){console.log("Fastest is "+this.filter("fastest").map("name"))})).run({async:!0}); +//# sourceMappingURL=/sm/5d8a748bc59d1cf491c36b3a161c58ebbc9aa6e892886bb7b9871e07009f428f.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/index.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/index.js new file mode 100644 index 0000000..455f945 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/index.js @@ -0,0 +1,6 @@ +module.exports = +{ + parallel : require('./parallel.js'), + serial : require('./serial.js'), + serialOrdered : require('./serialOrdered.js') +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/index.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/index.min.js new file mode 100644 index 0000000..a383d75 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +module.exports={parallel:require("./parallel.js"),serial:require("./serial.js"),serialOrdered:require("./serialOrdered.js")}; +//# sourceMappingURL=/sm/f2adeb8dc843957dfbf3eae5900dbb337d10fcef2cf46ffca21ed3922adbdb46.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.js new file mode 100644 index 0000000..114367e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.js @@ -0,0 +1,29 @@ +// API +module.exports = abort; + +/** + * Aborts leftover active jobs + * + * @param {object} state - current state object + */ +function abort(state) +{ + Object.keys(state.jobs).forEach(clean.bind(state)); + + // reset leftover jobs + state.jobs = {}; +} + +/** + * Cleans up leftover job by invoking abort function for the provided job id + * + * @this state + * @param {string|number} key - job id to abort + */ +function clean(key) +{ + if (typeof this.jobs[key] == 'function') + { + this.jobs[key](); + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.min.js new file mode 100644 index 0000000..a80d57c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/lib/abort.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +function abort(o){Object.keys(o.jobs).forEach(clean.bind(o)),o.jobs={}}function clean(o){"function"==typeof this.jobs[o]&&this.jobs[o]()}module.exports=abort; +//# sourceMappingURL=/sm/afafbf357abc9f6cda25b4838d27a11927dab7e758ac49866b761850509441f8.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.js new file mode 100644 index 0000000..7f1288a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.js @@ -0,0 +1,34 @@ +var defer = require('./defer.js'); + +// API +module.exports = async; + +/** + * Runs provided callback asynchronously + * even if callback itself is not + * + * @param {function} callback - callback to invoke + * @returns {function} - augmented callback + */ +function async(callback) +{ + var isAsync = false; + + // check if async happened + defer(function() { isAsync = true; }); + + return function async_callback(err, result) + { + if (isAsync) + { + callback(err, result); + } + else + { + defer(function nextTick_callback() + { + callback(err, result); + }); + } + }; +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.min.js new file mode 100644 index 0000000..6034f99 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/lib/async.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var defer=require("./defer.js");function async(e){var n=!1;return defer((function(){n=!0})),function(r,f){n?e(r,f):defer((function(){e(r,f)}))}}module.exports=async; +//# sourceMappingURL=/sm/848c3cadaceeba12bc83e126d922e92052bfdb357f7b80767c81dd4e498c2ac7.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.js new file mode 100644 index 0000000..b67110c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.js @@ -0,0 +1,26 @@ +module.exports = defer; + +/** + * Runs provided function on next iteration of the event loop + * + * @param {function} fn - function to run + */ +function defer(fn) +{ + var nextTick = typeof setImmediate == 'function' + ? setImmediate + : ( + typeof process == 'object' && typeof process.nextTick == 'function' + ? process.nextTick + : null + ); + + if (nextTick) + { + nextTick(fn); + } + else + { + setTimeout(fn, 0); + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.min.js new file mode 100644 index 0000000..06a31c1 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/lib/defer.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +function defer(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}module.exports=defer; +//# sourceMappingURL=/sm/740c8cd3711c8b508c7cfb043316cf73e5a1c3a1259e7f1c8c18ec539bde89eb.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.js new file mode 100644 index 0000000..5d2839a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.js @@ -0,0 +1,75 @@ +var async = require('./async.js') + , abort = require('./abort.js') + ; + +// API +module.exports = iterate; + +/** + * Iterates over each job object + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {object} state - current job status + * @param {function} callback - invoked when all elements processed + */ +function iterate(list, iterator, state, callback) +{ + // store current index + var key = state['keyedList'] ? state['keyedList'][state.index] : state.index; + + state.jobs[key] = runJob(iterator, key, list[key], function(error, output) + { + // don't repeat yourself + // skip secondary callbacks + if (!(key in state.jobs)) + { + return; + } + + // clean up jobs + delete state.jobs[key]; + + if (error) + { + // don't process rest of the results + // stop still active jobs + // and reset the list + abort(state); + } + else + { + state.results[key] = output; + } + + // return salvaged results + callback(error, state.results); + }); +} + +/** + * Runs iterator over provided job element + * + * @param {function} iterator - iterator to invoke + * @param {string|number} key - key/index of the element in the list of jobs + * @param {mixed} item - job description + * @param {function} callback - invoked after iterator is done with the job + * @returns {function|mixed} - job abort function or something else + */ +function runJob(iterator, key, item, callback) +{ + var aborter; + + // allow shortcut if iterator expects only two arguments + if (iterator.length == 2) + { + aborter = iterator(item, async(callback)); + } + // otherwise go with full three arguments + else + { + aborter = iterator(item, key, async(callback)); + } + + return aborter; +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.min.js new file mode 100644 index 0000000..048449b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/lib/iterate.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var async=require("./async.js"),abort=require("./abort.js");function iterate(e,r,t,n){var s=t.keyedList?t.keyedList[t.index]:t.index;t.jobs[s]=runJob(r,s,e[s],(function(e,r){s in t.jobs&&(delete t.jobs[s],e?abort(t):t.results[s]=r,n(e,t.results))}))}function runJob(e,r,t,n){return 2==e.length?e(t,async(n)):e(t,r,async(n))}module.exports=iterate; +//# sourceMappingURL=/sm/4dd8c5a149cf273224548c14ab38766dda281a2b9b2a095a79f8fc85ae40ac20.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.js new file mode 100644 index 0000000..78ad240 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.js @@ -0,0 +1,91 @@ +var streamify = require('./streamify.js') + , defer = require('./defer.js') + ; + +// API +module.exports = ReadableAsyncKit; + +/** + * Base constructor for all streams + * used to hold properties/methods + */ +function ReadableAsyncKit() +{ + ReadableAsyncKit.super_.apply(this, arguments); + + // list of active jobs + this.jobs = {}; + + // add stream methods + this.destroy = destroy; + this._start = _start; + this._read = _read; +} + +/** + * Destroys readable stream, + * by aborting outstanding jobs + * + * @returns {void} + */ +function destroy() +{ + if (this.destroyed) + { + return; + } + + this.destroyed = true; + + if (typeof this.terminator == 'function') + { + this.terminator(); + } +} + +/** + * Starts provided jobs in async manner + * + * @private + */ +function _start() +{ + // first argument – runner function + var runner = arguments[0] + // take away first argument + , args = Array.prototype.slice.call(arguments, 1) + // second argument - input data + , input = args[0] + // last argument - result callback + , endCb = streamify.callback.call(this, args[args.length - 1]) + ; + + args[args.length - 1] = endCb; + // third argument - iterator + args[1] = streamify.iterator.call(this, args[1]); + + // allow time for proper setup + defer(function() + { + if (!this.destroyed) + { + this.terminator = runner.apply(null, args); + } + else + { + endCb(null, Array.isArray(input) ? [] : {}); + } + }.bind(this)); +} + + +/** + * Implement _read to comply with Readable streams + * Doesn't really make sense for flowing object mode + * + * @private + */ +function _read() +{ + +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.min.js new file mode 100644 index 0000000..e70078a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/lib/readable_asynckit.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var streamify=require("./streamify.js"),defer=require("./defer.js");function ReadableAsyncKit(){ReadableAsyncKit.super_.apply(this,arguments),this.jobs={},this.destroy=destroy,this._start=_start,this._read=_read}function destroy(){this.destroyed||(this.destroyed=!0,"function"==typeof this.terminator&&this.terminator())}function _start(){var t=arguments[0],e=Array.prototype.slice.call(arguments,1),r=e[0],s=streamify.callback.call(this,e[e.length-1]);e[e.length-1]=s,e[1]=streamify.iterator.call(this,e[1]),defer(function(){this.destroyed?s(null,Array.isArray(r)?[]:{}):this.terminator=t.apply(null,e)}.bind(this))}function _read(){}module.exports=ReadableAsyncKit; +//# sourceMappingURL=/sm/dbbe92f66aaa33fb63db3c0bb238d0e0537f9018f352955e7edc4bbfef8a716d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.js new file mode 100644 index 0000000..5d2929f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.js @@ -0,0 +1,25 @@ +var parallel = require('../parallel.js'); + +// API +module.exports = ReadableParallel; + +/** + * Streaming wrapper to `asynckit.parallel` + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {function} callback - invoked when all elements processed + * @returns {stream.Readable#} + */ +function ReadableParallel(list, iterator, callback) +{ + if (!(this instanceof ReadableParallel)) + { + return new ReadableParallel(list, iterator, callback); + } + + // turn on object mode + ReadableParallel.super_.call(this, {objectMode: true}); + + this._start(parallel, list, iterator, callback); +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.min.js new file mode 100644 index 0000000..84b8abd --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/lib/readable_parallel.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var parallel=require("../parallel.js");function ReadableParallel(l,a,e){if(!(this instanceof ReadableParallel))return new ReadableParallel(l,a,e);ReadableParallel.super_.call(this,{objectMode:!0}),this._start(parallel,l,a,e)}module.exports=ReadableParallel; +//# sourceMappingURL=/sm/0ff523a09553938348ef09669e2cc6afd4a929e3b2c2cb47ce0034b2a52906c1.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.js new file mode 100644 index 0000000..7822698 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.js @@ -0,0 +1,25 @@ +var serial = require('../serial.js'); + +// API +module.exports = ReadableSerial; + +/** + * Streaming wrapper to `asynckit.serial` + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {function} callback - invoked when all elements processed + * @returns {stream.Readable#} + */ +function ReadableSerial(list, iterator, callback) +{ + if (!(this instanceof ReadableSerial)) + { + return new ReadableSerial(list, iterator, callback); + } + + // turn on object mode + ReadableSerial.super_.call(this, {objectMode: true}); + + this._start(serial, list, iterator, callback); +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.min.js new file mode 100644 index 0000000..3e3074a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/lib/readable_serial.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var serial=require("../serial.js");function ReadableSerial(e,a,l){if(!(this instanceof ReadableSerial))return new ReadableSerial(e,a,l);ReadableSerial.super_.call(this,{objectMode:!0}),this._start(serial,e,a,l)}module.exports=ReadableSerial; +//# sourceMappingURL=/sm/6968858dcba5c02891e38a24114ff45934b0838ba624c1e30818e61a6392ecc9.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.js new file mode 100644 index 0000000..3de89c4 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.js @@ -0,0 +1,29 @@ +var serialOrdered = require('../serialOrdered.js'); + +// API +module.exports = ReadableSerialOrdered; +// expose sort helpers +module.exports.ascending = serialOrdered.ascending; +module.exports.descending = serialOrdered.descending; + +/** + * Streaming wrapper to `asynckit.serialOrdered` + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {function} sortMethod - custom sort function + * @param {function} callback - invoked when all elements processed + * @returns {stream.Readable#} + */ +function ReadableSerialOrdered(list, iterator, sortMethod, callback) +{ + if (!(this instanceof ReadableSerialOrdered)) + { + return new ReadableSerialOrdered(list, iterator, sortMethod, callback); + } + + // turn on object mode + ReadableSerialOrdered.super_.call(this, {objectMode: true}); + + this._start(serialOrdered, list, iterator, sortMethod, callback); +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.min.js new file mode 100644 index 0000000..688d7bb --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/lib/readable_serial_ordered.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var serialOrdered=require("../serialOrdered.js");function ReadableSerialOrdered(e,r,d,a){if(!(this instanceof ReadableSerialOrdered))return new ReadableSerialOrdered(e,r,d,a);ReadableSerialOrdered.super_.call(this,{objectMode:!0}),this._start(serialOrdered,e,r,d,a)}module.exports=ReadableSerialOrdered,module.exports.ascending=serialOrdered.ascending,module.exports.descending=serialOrdered.descending; +//# sourceMappingURL=/sm/056b623fbd8dfd0d5a6d5ac866b427455ef5d9a3a4443961a551eee056283f5a.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.js new file mode 100644 index 0000000..cbea7ad --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.js @@ -0,0 +1,37 @@ +// API +module.exports = state; + +/** + * Creates initial state object + * for iteration over list + * + * @param {array|object} list - list to iterate over + * @param {function|null} sortMethod - function to use for keys sort, + * or `null` to keep them as is + * @returns {object} - initial state object + */ +function state(list, sortMethod) +{ + var isNamedList = !Array.isArray(list) + , initState = + { + index : 0, + keyedList: isNamedList || sortMethod ? Object.keys(list) : null, + jobs : {}, + results : isNamedList ? {} : [], + size : isNamedList ? Object.keys(list).length : list.length + } + ; + + if (sortMethod) + { + // sort array keys based on it's values + // sort object's keys just on own merit + initState.keyedList.sort(isNamedList ? sortMethod : function(a, b) + { + return sortMethod(list[a], list[b]); + }); + } + + return initState; +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.min.js new file mode 100644 index 0000000..f8ad6ea --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/lib/state.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +function state(e,t){var s=!Array.isArray(e),r={index:0,keyedList:s||t?Object.keys(e):null,jobs:{},results:s?{}:[],size:s?Object.keys(e).length:e.length};return t&&r.keyedList.sort(s?t:function(s,r){return t(e[s],e[r])}),r}module.exports=state; +//# sourceMappingURL=/sm/f449622f48e353d51ecc5586b83ec3b1744bebab68dcfdc1b1cbf9bdee3061cc.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.js new file mode 100644 index 0000000..f56a1c9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.js @@ -0,0 +1,141 @@ +var async = require('./async.js'); + +// API +module.exports = { + iterator: wrapIterator, + callback: wrapCallback +}; + +/** + * Wraps iterators with long signature + * + * @this ReadableAsyncKit# + * @param {function} iterator - function to wrap + * @returns {function} - wrapped function + */ +function wrapIterator(iterator) +{ + var stream = this; + + return function(item, key, cb) + { + var aborter + , wrappedCb = async(wrapIteratorCallback.call(stream, cb, key)) + ; + + stream.jobs[key] = wrappedCb; + + // it's either shortcut (item, cb) + if (iterator.length == 2) + { + aborter = iterator(item, wrappedCb); + } + // or long format (item, key, cb) + else + { + aborter = iterator(item, key, wrappedCb); + } + + return aborter; + }; +} + +/** + * Wraps provided callback function + * allowing to execute snitch function before + * real callback + * + * @this ReadableAsyncKit# + * @param {function} callback - function to wrap + * @returns {function} - wrapped function + */ +function wrapCallback(callback) +{ + var stream = this; + + var wrapped = function(error, result) + { + return finisher.call(stream, error, result, callback); + }; + + return wrapped; +} + +/** + * Wraps provided iterator callback function + * makes sure snitch only called once, + * but passes secondary calls to the original callback + * + * @this ReadableAsyncKit# + * @param {function} callback - callback to wrap + * @param {number|string} key - iteration key + * @returns {function} wrapped callback + */ +function wrapIteratorCallback(callback, key) +{ + var stream = this; + + return function(error, output) + { + // don't repeat yourself + if (!(key in stream.jobs)) + { + callback(error, output); + return; + } + + // clean up jobs + delete stream.jobs[key]; + + return streamer.call(stream, error, {key: key, value: output}, callback); + }; +} + +/** + * Stream wrapper for iterator callback + * + * @this ReadableAsyncKit# + * @param {mixed} error - error response + * @param {mixed} output - iterator output + * @param {function} callback - callback that expects iterator results + */ +function streamer(error, output, callback) +{ + if (error && !this.error) + { + this.error = error; + this.pause(); + this.emit('error', error); + // send back value only, as expected + callback(error, output && output.value); + return; + } + + // stream stuff + this.push(output); + + // back to original track + // send back value only, as expected + callback(error, output && output.value); +} + +/** + * Stream wrapper for finishing callback + * + * @this ReadableAsyncKit# + * @param {mixed} error - error response + * @param {mixed} output - iterator output + * @param {function} callback - callback that expects final results + */ +function finisher(error, output, callback) +{ + // signal end of the stream + // only for successfully finished streams + if (!error) + { + this.push(null); + } + + // back to original track + callback(error, output); +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.min.js new file mode 100644 index 0000000..09287dc --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/lib/streamify.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var async=require("./async.js");function wrapIterator(r){var t=this;return function(a,e,n){var i=async(wrapIteratorCallback.call(t,n,e));return t.jobs[e]=i,2==r.length?r(a,i):r(a,e,i)}}function wrapCallback(r){var t=this;return function(a,e){return finisher.call(t,a,e,r)}}function wrapIteratorCallback(r,t){var a=this;return function(e,n){if(t in a.jobs)return delete a.jobs[t],streamer.call(a,e,{key:t,value:n},r);r(e,n)}}function streamer(r,t,a){if(r&&!this.error)return this.error=r,this.pause(),this.emit("error",r),void a(r,t&&t.value);this.push(t),a(r,t&&t.value)}function finisher(r,t,a){r||this.push(null),a(r,t)}module.exports={iterator:wrapIterator,callback:wrapCallback}; +//# sourceMappingURL=/sm/e6e37fc28e41d1ec65499c6a1c13a58194737b4f8bbc8ae75f3f6aef80fe8cd6.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.js new file mode 100644 index 0000000..d6eb992 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.js @@ -0,0 +1,29 @@ +var abort = require('./abort.js') + , async = require('./async.js') + ; + +// API +module.exports = terminator; + +/** + * Terminates jobs in the attached state context + * + * @this AsyncKitState# + * @param {function} callback - final callback to invoke after termination + */ +function terminator(callback) +{ + if (!Object.keys(this.jobs).length) + { + return; + } + + // fast forward iteration index + this.index = this.size; + + // abort jobs + abort(this); + + // send back results we have so far + async(callback)(null, this.results); +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.min.js new file mode 100644 index 0000000..3975314 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/lib/terminator.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var abort=require("./abort.js"),async=require("./async.js");function terminator(t){Object.keys(this.jobs).length&&(this.index=this.size,abort(this),async(t)(null,this.results))}module.exports=terminator; +//# sourceMappingURL=/sm/26ef7b9c32be794b0078643e2c6c92b180b0bf24d303c6ea2946d526e812e1cb.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/package.json b/Lombiq.EInvoiceValidator/node_modules/asynckit/package.json new file mode 100644 index 0000000..de07c45 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/package.json @@ -0,0 +1,64 @@ +{ + "name": "asynckit", + "version": "0.5.0", + "description": "Minimal async jobs utility library, with streams support", + "main": "index.js", + "scripts": { + "clean": "rimraf coverage", + "lint": "eslint *.js lib/*.js test/*.js", + "test": "istanbul cover --reporter=json tape -- 'test/test-*.js' | tap-spec", + "win-test": "tape test/test-*.js", + "browser": "browserify -t browserify-istanbul test/lib/browserify_adjustment.js test/test-*.js | obake --coverage | tap-spec", + "report": "istanbul report", + "size": "browserify index.js | size-table asynckit", + "debug": "tape test/test-*.js" + }, + "pre-commit": [ + "clean", + "lint", + "test", + "browser", + "report", + "size" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/alexindigo/asynckit.git" + }, + "keywords": [ + "async", + "jobs", + "parallel", + "serial", + "iterator", + "array", + "object", + "stream", + "destroy", + "terminate", + "abort" + ], + "author": "Alex Indigo ", + "license": "MIT", + "bugs": { + "url": "https://github.com/alexindigo/asynckit/issues" + }, + "homepage": "https://github.com/alexindigo/asynckit#readme", + "devDependencies": { + "browserify": "^13.0.0", + "browserify-istanbul": "^2.0.0", + "coveralls": "^2.11.9", + "eslint": "^2.9.0", + "istanbul": "^0.4.3", + "obake": "^0.1.2", + "phantomjs-prebuilt": "^2.1.7", + "pre-commit": "^1.1.3", + "reamde": "^1.1.0", + "rimraf": "^2.5.2", + "size-table": "^0.2.0", + "tap-spec": "^4.1.1", + "tape": "^4.5.1" + }, + "dependencies": {}, + "sideEffects": false +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.js new file mode 100644 index 0000000..3c50344 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.js @@ -0,0 +1,43 @@ +var iterate = require('./lib/iterate.js') + , initState = require('./lib/state.js') + , terminator = require('./lib/terminator.js') + ; + +// Public API +module.exports = parallel; + +/** + * Runs iterator over provided array elements in parallel + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {function} callback - invoked when all elements processed + * @returns {function} - jobs terminator + */ +function parallel(list, iterator, callback) +{ + var state = initState(list); + + while (state.index < (state['keyedList'] || list).length) + { + iterate(list, iterator, state, function(error, result) + { + if (error) + { + callback(error, result); + return; + } + + // looks like it's the last one + if (Object.keys(state.jobs).length === 0) + { + callback(null, state.results); + return; + } + }); + + state.index++; + } + + return terminator.bind(state, callback); +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.min.js new file mode 100644 index 0000000..7d29780 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/parallel.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var iterate=require("./lib/iterate.js"),initState=require("./lib/state.js"),terminator=require("./lib/terminator.js");function parallel(e,t,r){for(var i=initState(e);i.index<(i.keyedList||e).length;)iterate(e,t,i,(function(e,t){e?r(e,t):0!==Object.keys(i.jobs).length||r(null,i.results)})),i.index++;return terminator.bind(i,r)}module.exports=parallel; +//# sourceMappingURL=/sm/27940261061d7b43452ba7bfb5bc6639cec96ad9ba232f5d66b8c15d624df2ce.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/serial.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/serial.js new file mode 100644 index 0000000..6cd949a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/serial.js @@ -0,0 +1,17 @@ +var serialOrdered = require('./serialOrdered.js'); + +// Public API +module.exports = serial; + +/** + * Runs iterator over provided array elements in series + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {function} callback - invoked when all elements processed + * @returns {function} - jobs terminator + */ +function serial(list, iterator, callback) +{ + return serialOrdered(list, iterator, null, callback); +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/serial.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/serial.min.js new file mode 100644 index 0000000..c238066 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/serial.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/serial.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var serialOrdered=require("./serialOrdered.js");function serial(r,e,l){return serialOrdered(r,e,null,l)}module.exports=serial; +//# sourceMappingURL=/sm/cd9ce33240d6d9c5ba45c1f3e46f73f503d8550772edef7cfeda39093088141e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.js new file mode 100644 index 0000000..607eafe --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.js @@ -0,0 +1,75 @@ +var iterate = require('./lib/iterate.js') + , initState = require('./lib/state.js') + , terminator = require('./lib/terminator.js') + ; + +// Public API +module.exports = serialOrdered; +// sorting helpers +module.exports.ascending = ascending; +module.exports.descending = descending; + +/** + * Runs iterator over provided sorted array elements in series + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {function} sortMethod - custom sort function + * @param {function} callback - invoked when all elements processed + * @returns {function} - jobs terminator + */ +function serialOrdered(list, iterator, sortMethod, callback) +{ + var state = initState(list, sortMethod); + + iterate(list, iterator, state, function iteratorHandler(error, result) + { + if (error) + { + callback(error, result); + return; + } + + state.index++; + + // are we there yet? + if (state.index < (state['keyedList'] || list).length) + { + iterate(list, iterator, state, iteratorHandler); + return; + } + + // done here + callback(null, state.results); + }); + + return terminator.bind(state, callback); +} + +/* + * -- Sort methods + */ + +/** + * sort helper to sort array elements in ascending order + * + * @param {mixed} a - an item to compare + * @param {mixed} b - an item to compare + * @returns {number} - comparison result + */ +function ascending(a, b) +{ + return a < b ? -1 : a > b ? 1 : 0; +} + +/** + * sort helper to sort array elements in descending order + * + * @param {mixed} a - an item to compare + * @param {mixed} b - an item to compare + * @returns {number} - comparison result + */ +function descending(a, b) +{ + return -1 * ascending(a, b); +} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.min.js new file mode 100644 index 0000000..6a681c7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/serialOrdered.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var iterate=require("./lib/iterate.js"),initState=require("./lib/state.js"),terminator=require("./lib/terminator.js");function serialOrdered(e,n,t,i){var r=initState(e,t);return iterate(e,n,r,(function t(d,s){d?i(d,s):(r.index++,r.index<(r.keyedList||e).length?iterate(e,n,r,t):i(null,r.results))})),terminator.bind(r,i)}function ascending(e,n){return en?1:0}function descending(e,n){return-1*ascending(e,n)}module.exports=serialOrdered,module.exports.ascending=ascending,module.exports.descending=descending; +//# sourceMappingURL=/sm/d7b25aa8c103105e68d20bb63c93b742de6496fbfd022de2d955c89a1942f114.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/stream.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/stream.js new file mode 100644 index 0000000..d43465f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/stream.js @@ -0,0 +1,21 @@ +var inherits = require('util').inherits + , Readable = require('stream').Readable + , ReadableAsyncKit = require('./lib/readable_asynckit.js') + , ReadableParallel = require('./lib/readable_parallel.js') + , ReadableSerial = require('./lib/readable_serial.js') + , ReadableSerialOrdered = require('./lib/readable_serial_ordered.js') + ; + +// API +module.exports = +{ + parallel : ReadableParallel, + serial : ReadableSerial, + serialOrdered : ReadableSerialOrdered, +}; + +inherits(ReadableAsyncKit, Readable); + +inherits(ReadableParallel, ReadableAsyncKit); +inherits(ReadableSerial, ReadableAsyncKit); +inherits(ReadableSerialOrdered, ReadableAsyncKit); diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/stream.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/stream.min.js new file mode 100644 index 0000000..2ef517f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/asynckit/stream.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/asynckit@0.5.0/stream.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var inherits=require("util").inherits,Readable=require("stream").Readable,ReadableAsyncKit=require("./lib/readable_asynckit.js"),ReadableParallel=require("./lib/readable_parallel.js"),ReadableSerial=require("./lib/readable_serial.js"),ReadableSerialOrdered=require("./lib/readable_serial_ordered.js");module.exports={parallel:ReadableParallel,serial:ReadableSerial,serialOrdered:ReadableSerialOrdered},inherits(ReadableAsyncKit,Readable),inherits(ReadableParallel,ReadableAsyncKit),inherits(ReadableSerial,ReadableAsyncKit),inherits(ReadableSerialOrdered,ReadableAsyncKit); +//# sourceMappingURL=/sm/1a4d9b6b601dd4974224d535dfb53a1e4a87906a769eddb154acb62a0d319161.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/axios/CHANGELOG.md new file mode 100644 index 0000000..b190d0b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/CHANGELOG.md @@ -0,0 +1,1872 @@ +# Changelog + +## v1.18.0 — June 13, 2026 + +This release hardens redirect and URL handling, improves the validateStatus configuration semantics, and includes updates to documentation, dependencies, and release metadata. + +## 🔒 Security Fixes + +* **Redirect Header Safety:** Added Node HTTP adapter support for stripping caller-specified sensitive headers on cross-origin redirects, helping prevent custom auth headers such as API keys from leaking to another origin. (__#10892__) + +* **URL And Request Hardening:** Rejects malformed `http:` and `https:` URLs that omit `//` with `ERR_INVALID_URL`, while tightening prototype-pollution-safe config reads, stream size limits, FormData depth handling, data URL sizing, and local `NO_PROXY` matching. (__#11000__) + +## 🐛 Bug Fixes + +* **Status Validation:** Added `transitional.validateStatusUndefinedResolves` so applications can opt in to treating `validateStatus: undefined` like the option was omitted, while `validateStatus: null` remains the explicit way to accept every status. (__#10899__) + +## 🔧 Maintenance & Chores + +* **Documentation:** Published the v1.17.0 release notes, fixed a changelog typo, clarified the package update PR policy, and marked the `proxy` request config as Node.js-only in the advanced docs. (__#10984__, __#10988__, __#10992__, __#10995__) + +* **Dependencies:** Bumped `@babel/core`, `@babel/preset-env`, `@commitlint/cli`, `@commitlint/config-conventional`, `@rollup/plugin-babel`, `@rollup/plugin-commonjs`, `@vitest/browser`, `@vitest/browser-playwright`, `eslint`, `lint-staged`, `rollup`, `vitest`, and `actions/checkout`. (__#10989__, __#10996__, __#10997__) + +* **Release Metadata:** Prepared the 1.18.0 release by updating package metadata and the runtime `VERSION` value. (__#11003__) + +## 🌟 New Contributors + +We are thrilled to welcome our new contributors. Thank you for helping improve axios: + +* __@drori12__ (__#10984__) +* __@eyupcanakman__ (__#10899__) +* __@Adi-Beker__ (__#10995__) + +[Full Changelog](https://github.com/axios/axios/compare/v1.17.0...v1.18.0) + +## v1.17.0 — June 1, 2026 + +This release adds Node HTTP zstd decompression, hardens config and release workflows, and fixes authentication, header, proxy, and type-handling regressions. + +## 🔒 Security Fixes + +* **Config Hardening:** Guarded `socketPath`, `params`, and `paramsSerializer` reads with own-property checks to prevent inherited prototype values from affecting request behavior, including SSRF-sensitive paths. (__#10901__, __#10922__) +* **Release Publishing:** Switched the publish workflow to npm staged publishing for safer, auditable package releases with provenance. (__#10926__) + +## 🚀 New Features + +* **HTTP Compression:** Added Node HTTP adapter support for zstd response decompression, with `transitional.advertiseZstdAcceptEncoding` controlling whether `zstd` is advertised in `Accept-Encoding`. (__#6792__, __#10920__) + +## 🐛 Bug Fixes + +* **Authentication Handling:** Restored Basic auth on same-origin Node redirects while continuing to strip credentials cross-origin, and aligned the fetch adapter with HTTP adapter behavior for URL-embedded Basic auth. (__#10929__, __#10896__) +* **Proxy TLS:** Preserved user `httpsAgent` TLS options when tunneling HTTPS requests through HTTP CONNECT proxies. (__#10957__) +* **React Native FormData:** Cleared default `Content-Type` for React Native `FormData` so multipart boundaries can be generated correctly. (__#10898__) +* **Headers:** Silently skipped empty or whitespace-only header names instead of throwing, matching parsed-header behavior and avoiding React Native response crashes. (__#10875__) +* **Request Data Merging:** Preserved enumerable symbol keys when cloning plain request data through axios merge logic. (__#10812__) +* **Bundler Compatibility:** Converted `resolveConfig` from an arrow default export to a named function export to avoid webpack and Babel transform interop failures. (__#10891__) +* **Types:** Corrected `AxiosHeaders.toJSON()` return types and updated CommonJS `isCancel` typings to narrow to `CanceledError`. (__#10956__, __#10952__) +* **Build Tooling:** Avoided emitting a null `Authorization` header from the GitHub build helper when `GITHUB_TOKEN` is unset. (__#10931__) + +## 🔧 Maintenance & Chores + +* **HTTP/2 Internals:** Extracted `Http2Sessions` into its own helper module and added direct unit coverage for session pooling, timeout, and cleanup behavior. (__#10861__) +* **Package Publishing:** Reduced published package size by switching to a `files` allowlist and dropping unneeded unminified bundle source maps. (__#10939__) +* **CI and Release Automation:** Added bundle-size reporting, moved reports to the job summary, fixed bundle-size comparison coverage, added Node 26 to the matrix, pinned npm for staged publishing, and prepared the 1.17.0 release. (__#10907__, __#10911__, __#10916__, __#10927__, __#10935__, __#10983__) +* **Developer Workflow:** Added a dev container and iterated on OpenSpec workflow files before removing them from the release branch. (__#10925__, __#10914__, __#10958__) +* **Documentation and Policy:** Updated disclosure, contributor, collaboration, threat-model, advanced docs, README badges, release notes, moderator configuration, and project metadata. (__#10890__, __#10889__, __#10921__, __#10945__, __#10905__, __#10933__, __#10915__, __#10887__, __#10955__) +* **Dependencies:** Bumped Babel tooling, Commitlint, ESLint, Rollup, Globals, Vitest, Playwright, `fs-extra`, `qs`, docs dependencies, and GitHub Actions dependencies including `actions/dependency-review-action` and `zizmorcore/zizmor-action`. (__#10871__, __#10879__, __#10918__, __#10919__, __#10934__, __#10947__, __#10954__, __#10960__) + +## 🌟 New Contributors + +We are thrilled to welcome our new contributors. Thank you for helping improve axios: + +* __@BasixKOR__ (__#6792__) +* __@carladams1299-lab__ (__#10861__) +* __@LaplaceYoung__ (__#10812__) +* __@JamieMagee__ (__#10939__) +* __@RonGamzu__ (__#10905__) +* __@sapirbaruch__ (__#10891__) +* __@nezukoagent__ (__#10901__) +* __@devareddy05__ (__#10929__) +* __@Mohammad-Faiz-Cloud-Engineer__ (__#10922__) +* __@azandabot__ (__#10931__) +* __@niksy__ (__#10896__) + +[Full Changelog](https://github.com/axios/axios/compare/v1.16.1...v1.17.0) + +## v1.16.1 — May 13, 2026 + +This release ships a defence-in-depth fix for prototype pollution in `formDataToJSON`, hardens proxy and CI workflows, restores Webpack 4 compatibility for the fetch adapter, and includes several small bug fixes and maintenance improvements. + +## 🔒 Security Fixes + +* **Prototype Pollution Defence-in-Depth:** Hardened `formDataToJSON` against already-polluted `Object.prototype` by walking own properties only, so attacker-controlled keys inherited from a poisoned prototype cannot propagate through deserialization. (__#7413__) +* **Proxy Cleartext Leak:** Fixed an issue where HTTPS request data could be transmitted in cleartext to an HTTP proxy under certain configurations. (__#10858__) +* **CI Cache Removal:** Removed all GitHub Actions caches as a defence-in-depth measure against cache poisoning vectors in the build pipeline. (__#10882__) + +## 🐛 Bug Fixes + +* **Data URI Parsing:** Updated the `fromDataURI` regex to match RFC 2397 more strictly, fixing edge cases in `data:` URL handling. (__#10829__) +* **Unicode Headers:** Preserved Unicode header values when running through request interceptors, so non-ASCII header content is no longer corrupted before dispatch. (__#10850__) +* **XHR Upload Progress:** Guarded against malformed `ProgressEvent` payloads emitted by some environments during XHR upload, preventing crashes when `loaded` / `total` are missing or invalid. (__#10868__) +* **Webpack 4 Fetch Adapter:** Fixed an "unexpected token" error caused by syntax in the fetch adapter that Webpack 4 could not parse, restoring compatibility for legacy bundler users. (__#10864__) +* **Type Definitions:** Made `parseReviver` `context.source` optional in the type definitions to align with the ES2023 specification. (__#10837__) +* **URL Object Support Reverted:** Reverted the change that allowed passing a `URL` object as `config.url` (originally __#10866__) due to regressions; this support will be reintroduced in a later release once the underlying issues are addressed. (__#10874__) + +## 🔧 Maintenance & Chores + +* **Cycle Detection Refactor:** Replaced the array-based cycle tracker in `toJSONObject` with a `WeakSet`, improving performance and memory behaviour on large nested structures. (__#10832__) +* **composeSignals Cleanup:** Refactored `composeSignals` to use a clearer early-return structure, simplifying the cancellation/abort composition path. (__#10844__) +* **AI Readiness & Repo Docs:** Added `AGENTS.md` and related contributor-guide updates for both human and AI agents, plus post-release documentation improvements. (__#10835__, __#10841__) +* **Docs Improvements:** Clarified the GET request example, fixed the interceptor `eject` example to reference the correct instance, and corrected the Buzzoid sponsor description in the README. (__#10836__, __#10853__, __#10856__) +* **Sponsorship Tooling:** Fixed empty sponsor arrays in the sponsor processing script, added the ability to inject additional sponsors, updated the sponsorship link, and added a Twicsy advertisement entry. (__#10843__, __#10859__, __#10869__) +* **Dependencies:** Bumped `@commitlint/cli` from 20.5.0 to 20.5.2. (__#10846__) + +## 🌟 New Contributors + +We are thrilled to welcome our new contributors. Thank you for helping improve axios: + +* __@hpinmetaverse__ (__#10836__) +* __@tommyhgunz14__ (__#7413__) +* __@abhu85__ (__#10829__) +* __@divyanshuraj1095__ (__#10853__) +* __@sagodi97__ (__#10856__) +* __@rkdfx__ (__#10868__) +* __@Liuwei1125__ (__#10866__) + +[Full Changelog](https://github.com/axios/axios/compare/v1.16.0...v1.16.1) + +## v1.16.0 — May 2, 2026 + +This release adds support for the QUERY HTTP method and a new `ECONNREFUSED` error constant, lands a substantial wave of HTTP, fetch, and XHR adapter bug fixes around redirects, aborts, headers, and timeouts, and welcomes 23 new contributors. + +## ⚠️ Notable Changes + +A handful of fixes in this release are either security-adjacent or change observable behaviour. Please review before upgrading: + +- **Fetch adapter now enforces `maxBodyLength` and `maxContentLength`.** These limits were silently ignored on the fetch adapter prior to 1.16.0 — anyone relying on them as a safety net (DoS protection, accidental large uploads) had no protection. (**#10795**) +- **Proxy requests now preserve user-supplied `Host` headers.** Previously, the proxy path could overwrite a custom `Host`. Virtual-host-style routing through a proxy will now behave correctly. (**#10822**) +- **Basic auth credentials embedded in URLs are now URL-decoded.** If you have percent-encoded credentials in a URL (e.g. `https://user:p%40ss@host`), the decoded value is what now goes on the wire. (**#10825**) +- **`parseProtocol` now strictly requires a colon in the protocol separator.** Strings that loosely parsed as protocols before may no longer match. (**#10729**) +- **Deprecated `unescape()` replaced with modern UTF-8 encoding.** Non-ASCII URL handling is now spec-correct; consumers depending on legacy `unescape()` quirks may see different output bytes. (**#7378**) +- **`transformRequest` input typing change was reverted.** The typing change introduced in #10745 was reverted in #10810 after follow-up review — net behavior is unchanged from 1.15.2. (**#10745**, **#10810**) + +## 🚀 New Features + +- **QUERY HTTP Method:** Added support for the QUERY HTTP method across adapters and type definitions. (**#10802**) +- **ECONNREFUSED Error Constant:** Exposed `ECONNREFUSED` as a constant on `AxiosError` so callers can match connection-refused failures without comparing string literals (closes #6485). (**#10680**) +- **Encode Helper Export:** Exported the internal `encode` helper from `buildURL` so userland param serializers can reuse the same encoding logic that axios uses internally. (**#6897**) + +## 🐛 Bug Fixes + +- **HTTP Adapter — Redirects & Headers:** Cleared stale headers when a redirect targets a no-proxy host, fixed the redirect listener chain so listeners no longer stack across hops, restored the missing `requestDetails` argument on `beforeRedirect`, preserved user-supplied `Host` headers when forwarding through a proxy, and properly URL-decoded basic auth credentials. (**#10794**, **#10800**, **#6241**, **#10822**, **#10825**) +- **HTTP Adapter — Streams & Timeouts:** Preserved the partial response object on `AxiosError` when a stream is aborted after headers arrive, honoured the `timeout` option during the connect phase when redirects are disabled, and resolved an unsettled-promise hang when an aborted request was combined with compression and `maxRedirects: 0`. (**#10708**, **#10819**, **#7149**) +- **Fetch Adapter:** Enforced `maxBodyLength` / `maxContentLength` in the fetch adapter, set the `User-Agent` header to match the HTTP adapter, preserved the original abort reason instead of replacing it with a generic error, and deferred global access so importing the module no longer throws a `TypeError` in restricted environments. (**#10795**, **#10772**, **#10806**, **#7260**) +- **XHR Adapter:** Unsubscribed the `cancelToken` and `AbortSignal` listeners on the error, timeout, and abort code paths to prevent leaked subscriptions. (**#10787**) +- **Error Handling:** Attached the parsed response to `AxiosError` when `JSON.parse` fails inside `dispatchRequest`, prevented `settle` from emitting `undefined` error codes, and tightened the `parseProtocol` regex to require a colon in the protocol separator. (**#10724**, **#7276**, **#10729**) +- **Types & Exports:** Aligned the CommonJS `CancelToken` typings with the ESM build, fixed a compiler error caused by `RawAxiosHeaders`, and re-exported `create` from the package index. (**#7414**, **#6389**, **#6460**) +- **UTF-8 Encoding:** Replaced the deprecated `unescape()` call with a modern UTF-8 encoding implementation. (**#7378**) +- **Misc Cleanup:** Resolved a batch of small inconsistencies and gadget-level issues across the codebase. (**#10833**) + +## 🔧 Maintenance & Chores + +- **Refactor — ES6 Modernisation:** Modernised the `utils` module and XHR adapter to use ES6 features, and tidied the multipart boundary error message. (**#10588**, **#7419**) +- **Tests:** Hardened the HTTP test server lifecycle to fix flaky `FormData` EPIPE failures, fixed Win32 platform support for the pipe tests, and corrected an incorrect test assumption. (**#10820**, **#10791**, **#10796**) +- **Docs:** Documented `paramsSerializer.encode` for strict RFC 3986 query encoding, updated the `parseReviver` TypeScript definitions and configuration docs for ES2023, added timeout guidance to the README's first async example, and expanded notes around the recent type changes. (**#10821**, **#10782**, **#10759**, **#10804**) +- **Reverted:** Reverted the `transformRequest` input typing change from #10745 after follow-up review. (**#10745**, **#10810**) +- **Dependencies:** Bumped `actions/setup-node`, the `github-actions` group, and `postcss` (in `/docs`) to their latest versions. (**#10785**, **#10813**, **#10814**) +- **Release:** Updated changelog and packages, and prepared the 1.16.0 release. (**#10790**, **#10834**) + +## 🌟 New Contributors + +We are thrilled to welcome our new contributors. Thank you for helping improve axios: + +- **@singhankit001** (**#10588**) +- **@cuiweixie** (**#7419**) +- **@iruizsalinas** (**#10787**) +- **@MarcosNocetti** (**#10680**) +- **@deepview-autofix** (**#10729**) +- **@atharvasingh7007** (**#10745**) +- **@OfekDanny** (**#10772**) +- **@mnahkies** (**#7414**) +- **@tboyila** (**#10759**) +- **@Kingo64** (**#6897**) +- **@ramram1048** (**#6389**) +- **@FLNacif** (**#6460**) +- **@zozo123** (**#10806**) +- **@pierluigilenoci** (**#10802**) +- **@afurm** (**#10708**) +- **@karan-lrn** (**#7378**) +- **@ebeigarts** (**#7149**) +- **@Raymondo97** (**#10782**) +- **@mixelburg** (**#10821**) +- **@ashishkr96** (**#10822**) +- **@cyphercodes** (**#10819**) +- **@Jye10032** (**#7260**) +- **@VeerShah41** (**#7276**) + +[Full Changelog](https://github.com/axios/axios/compare/v1.15.2...v1.16.0) + +## v1.15.2 - April 21, 2026 + +This release delivers prototype-pollution hardening for the Node HTTP adapter, adds an opt-in `allowedSocketPaths` allowlist to mitigate SSRF via Unix domain sockets, fixes a keep-alive socket memory leak, and ships supply-chain hardening across CI and security docs. + +## 🔒 Security Fixes + +- **Prototype Pollution Hardening (HTTP Adapter):** Hardened the Node HTTP adapter and `resolveConfig`/`mergeConfig`/validator paths to read only own properties and use null-prototype config objects, preventing polluted `auth`, `baseURL`, `socketPath`, `beforeRedirect`, and `insecureHTTPParser` from influencing requests. (**#10779**) +- **SSRF via `socketPath`:** Rejects non-string `socketPath` values and adds an opt-in `allowedSocketPaths` config option to restrict permitted Unix domain socket paths, returning `AxiosError` `ERR_BAD_OPTION_VALUE` on mismatch. (**#10777**) +- **Supply-chain Hardening:** Added `.npmrc` with `ignore-scripts=true`, lockfile lint CI, non-blocking reproducible build diff, scoped CODEOWNERS, expanded `SECURITY.md`/`THREATMODEL.md` with provenance verification (`npm audit signatures`), 60-day resolution policy, and maintainer incident-response runbook. (**#10776**) + +## 🚀 New Features + +- **`allowedSocketPaths` Config Option:** New request config option (and TypeScript types) to allowlist Unix domain socket paths used by the Node http adapter; backwards compatible when unset. (**#10777**) + +## 🐛 Bug Fixes + +- **Keep-alive Socket Memory Leak:** Installs a single per-socket `error` listener tracking the active request via `kAxiosSocketListener`/`kAxiosCurrentReq`, eliminating per-request listener accumulation, `MaxListenersExceededWarning`, and linear heap growth under concurrent or long-running keep-alive workloads (fixes #10780). (**#10788**) + +## 🔧 Maintenance & Chores + +- **Changelog:** Updated `CHANGELOG.md` with v1.15.1 release notes. (**#10781**) + +[Full Changelog](https://github.com/axios/axios/compare/v1.15.1...v1.15.2) + +--- + +## v1.15.1 - April 19, 2026 + +This release ships a coordinated set of security hardening fixes across headers, body/redirect limits, multipart handling, and XSRF/prototype-pollution vectors, alongside a broad sweep of bug fixes, test migrations, and threat-model documentation updates. + +## 🔒 Security Fixes + +- **Header Injection Hardening:** Tightened validation and sanitisation across request header construction to close the header-injection attack surface. (**#10749**) + +- **CRLF Stripping in Multipart Headers:** Correctly strips CR/LF from multipart header values to prevent injection via field names and filenames. (**#10758**) + +- **Prototype Pollution / Auth Bypass:** Replaced unsafe `in` checks with `hasOwnProperty` to prevent authentication bypass via prototype pollution on config objects, with additional regression tests. (**#10761**, **#10760**) + +- **`withXSRFToken` Truthy Bypass:** Short-circuits on any truthy non-boolean value, so an ambiguous config no longer silently leaks the XSRF token cross-origin. (**#10762**) + +- **`maxBodyLength` With Zero Redirects:** Enforces `maxBodyLength` even when `maxRedirects` is set to `0`, closing a bypass path for oversized request bodies. (**#10753**) + +- **Streamed Response `maxContentLength` Bypass:** Applies `maxContentLength` to streamed responses that previously bypassed the cap. (**#10754**) + +- **Follow-up CVE Completion:** Completes an earlier incomplete CVE fix to fully close the regression window. (**#10755**) + +## 🚀 New Features + +- **AI-Based Docs Translations:** Initial scaffold for AI-assisted translations of the documentation site. (**#10705**) + +- **`Location` Request Header Type:** Adds `Location` to `CommonRequestHeadersList` for accurate typing of redirect-aware requests. (**#7528**) + +## 🐛 Bug Fixes + +- **FormData Handling:** Removes `Content-Type` when no boundary is present on `FormData` fetch requests, supports multi-select fields, cancels `request.body` instead of the source stream on fetch abort, and fixes a recursion bug in form-data serialisation. (**#7314**, **#10676**, **#10702**, **#10726**) + +- **HTTP Adapter:** Handles socket-only request errors without leaking keep-alive listeners. (**#10576**) + +- **Progress Events:** Clamps `loaded` to `total` for computable upload/download progress events. (**#7458**) + +- **Types:** Aligns `runWhen` type with the runtime behaviour in `InterceptorManager` and makes response header keys case-insensitive. (**#7529**, **#10677**) + +- **`buildFullPath`:** Uses strict equality in the base/relative URL check. (**#7252**) + +- **`AxiosURLSearchParams` Regex:** Improves the regex used for param serialisation to avoid edge-case mismatches. (**#10736**) + +- **Resilient Value Parsing:** Parses out header/config values instead of throwing on malformed input. (**#10687**) + +- **Docs Artefact Cleanup:** Removes the docs content that was incorrectly committed. (**#10727**) + +## 🔧 Maintenance & Chores + +- **Threat Model & Security Docs:** Ongoing refinement of `THREATMODEL.md`, including Hopper security update, TLS and tag-replay wording, mitigation descriptions, decompression-bomb guidance, and further cleanup. (**#10672**, **#10715**, **#10718**, **#10722**, **#10763**, **#10765**) + +- **Test Coverage & Migration:** Expanded `shouldBypassProxy` coverage for wildcard/IPv6/edge cases, documented and tested `AxiosError.status`, and migrated `progressEventReducer` tests to Vitest. (**#10723**, **#10725**, **#10741**) + +- **Type Refactor:** Uses TypeScript utility types to deduplicate literal unions. (**#7520**) + +- **Repo & CI:** Adds `CODEOWNERS`, switches v1.x releases to an ephemeral release branch, and removes orphaned Bower support. (**#10739**, **#10738**, **#10746**) + +## 🌟 New Contributors + +We are thrilled to welcome our new contributors. Thank you for helping improve axios: + +- **@curiouscoder-cmd** (**#7252**) +- **@tryonelove** (**#7520**) +- **@darwin808** (**#7314**) +- **@zoontek** (**#10702**) +- **@AKIB473** (**#10725**) + +[Full Changelog](https://github.com/axios/axios/compare/v1.15.0...v1.15.1) + +--- + +## v1.15.0 - April 7, 2026 + +This release delivers two critical security patches targeting header injection and SSRF via proxy bypass, adds official runtime support for Deno and Bun, and includes significant CI security hardening. + +## 🔒 Security Fixes + +- **Header Injection (CRLF):** Rejects any header value containing `\r` or `\n` characters to block CRLF injection chains that could be used to exfiltrate cloud metadata (IMDS). Behavior change: headers with CR/LF now throw `"Invalid character in header content"`. (**#10660**) + +- **SSRF via `no_proxy` Bypass:** Introduces a `shouldBypassProxy` helper that normalises hostnames (strips trailing dots, handles bracketed IPv6) before evaluating `no_proxy`/`NO_PROXY` rules, closing a gap that could cause loopback or internal hosts to be inadvertently proxied. (**#10661**) + +## 🚀 New Features + +- **Deno & Bun Runtime Support:** Added full smoke test suites for Deno and Bun, with CI workflows that run both runtimes before any release is cut. (**#10652**) + +## 🐛 Bug Fixes + +- **Node.js v22 Compatibility:** Replaced deprecated `url.parse()` calls with the WHATWG `URL`/`URLSearchParams` API across examples, sandbox, and tests, eliminating `DEP0169` deprecation warnings on Node.js v22+. (**#10625**) + +## 🔧 Maintenance & Chores + +- **CI Security Hardening:** Added [zizmor](https://github.com/zizmorcore/zizmor) GitHub Actions security scanner; switched npm publish to OIDC Trusted Publishing (removing the long-lived `NODE_AUTH_TOKEN`); pinned all action references to full commit SHAs; narrowed workflow permissions to least privilege; gated the publish step behind a dedicated `npm-publish` environment; and blocked the sponsor-block workflow from running on forks. (**#10618**, **#10619**, **#10627**, **#10637**, **#10641**, **#10666**) + +- **Docs:** Clarified HTTP/2 support and the unsupported `httpVersion` option; added documentation for header case preservation; improved the `beforeRedirect` example to prevent accidental credential leakage. (**#10644**, **#10654**, **#10624**) + +- **Dependencies:** Bumped `picomatch`, `handlebars`, `serialize-javascript`, `vite` (×3), `denoland/setup-deno`, and 4 additional dev dependencies to latest versions. (**#10564**, **#10565**, **#10567**, **#10568**, **#10572**, **#10574**, **#10663**, **#10664**, **#10665**, **#10669**, **#10670**) + +## 🌟 New Contributors + +We are thrilled to welcome our new contributors. Thank you for helping improve axios: + +- **@Kilros0817** (**#10625**) +- **@shaanmajid** (**#10616**, **#10617**, **#10618**, **#10619**, **#10637**, **#10641**, **#10666**) +- **@ashstrc** (**#10624**, **#10644**) +- **@Abhi3975** (**#10589**) +- **@raashish1601** (**#10573**) + +[Full Changelog](https://github.com/axios/axios/compare/v1.14.0...v1.15.0) + +--- + +## v1.14.0 - March 27, 2026 + +This release fixes a security vulnerability in the `formidable` dependency, resolves a CommonJS compatibility regression, hardens proxy and HTTP/2 handling, and modernises the build and test toolchain. + +## 🔒 Security Fixes + +- **Formidable Vulnerability:** Upgraded `formidable` from v2 to v3 to address a reported arbitrary-file vulnerability. Updated test server and assertions to align with the v3 API. (**#7533**) + +## 🐛 Bug Fixes + +- **CommonJS Compatibility:** Restored `require('axios')` in Node.js by correcting the `main` field in `package.json` to point to the built CJS bundle. (**#7532**) + +- **Fetch Adapter:** Cancel the `ReadableStream` body after the request stream capability probe to prevent resource leaks. (**#7515**) + +- **Proxy:** Upgraded `proxy-from-env` to v2 and switched to the named `getProxyForUrl` export, fixing proxy detection from environment variables and resolving CJS bundling errors. (**#7499**) + +- **HTTP/2:** Close detached HTTP/2 sessions on timeout to free resources when no new requests arrive. (**#7457**) + +- **Headers:** Trim trailing CRLF characters from normalised header values. (**#7456**) + +## 🔧 Maintenance & Chores + +- **Toolchain Modernisation:** Migrated test suite to Vitest, updated ESLint to v10, upgraded Rollup and `@rollup/plugin-babel`, migrated to Husky 9, upgraded TypeScript to latest, and modernised the Express test harness. (**#7484**, **#7489**, **#7498**, **#7505**, **#7506**, **#7507**, **#7508**, **#7509**, **#7510**, **#7516**, **#7522**) + +- **Dependencies:** Bumped `multer` to v2, `minimatch`, `tar`, `pacote`, `@babel/preset-env`, and additional dev dependencies. (**#7453**, **#7480**, **#7491**, **#7504**, **#7517**, **#7531**) + +## 🌟 New Contributors + +We are thrilled to welcome our new contributors. Thank you for helping improve axios: + +- **@penkzhou** (**#7515**) +- **@aviu16** (**#7456**) +- **@fedotov** (**#7457**) + +[Full Changelog](https://github.com/axios/axios/compare/v1.13.6...v1.14.0) + +--- + +## v1.13.6 - February 27, 2026 + +This release adds React Native Blob support, fixes several enumeration and export regressions, and patches FormData detection for WeChat Mini Program environments. + +## 🚀 New Features + +- **React Native Blob Support:** Axios now correctly handles native Blob objects in React Native environments. (**#5764**) + +## 🐛 Bug Fixes + +- **AxiosError:** Fixed `AxiosError.from` not copying the `status` field from the source error. (**#7403**) + +- **AxiosError:** Made the `message` property enumerable so it appears in `JSON.stringify` output and `Object.keys`. (**#7392**) + +- **FormData Detection:** Corrected safe FormData detection for WeChat Mini Program environments. (**#7324**) + +- **React Native / Browserify Export:** Fixed broken module export that caused import failures in React Native and Browserify. (**#7386**) + +## 🔧 Maintenance & Chores + +- **Dependencies:** Migrated `@rollup/plugin-babel` from v5 to v6 and bumped the development dependencies group. (**#7424**, **#7432**) + +## 🌟 New Contributors + +We are thrilled to welcome our new contributors. Thank you for helping improve axios: + +- **@moh3n9595** (**#5764**) +- **@skrtheboss** (**#7403**) +- **@ybbus** (**#7392**) +- **@Shiwaangee** (**#7324**) +- **@Gudahtt** (**#7386**) + +[Full Changelog](https://github.com/axios/axios/compare/v1.13.5...v1.13.6) + +--- + +## v1.13.5 - February 8, 2026 + +This release patches a prototype pollution denial-of-service vulnerability, fixes a missing `status` field regression in `AxiosError`, adds interceptor ordering control, and introduces URL validation for `isAbsoluteURL`. + +## 🔒 Security Fixes + +- **Prototype Pollution (DoS):** Hardened `mergeConfig` to ignore `__proto__`, `constructor`, and `prototype` keys, preventing denial-of-service via prototype pollution when merging user-supplied config. (**#7369**) + +## 🚀 New Features + +- **`isAbsoluteURL` Validation:** Added input validation to `isAbsoluteURL` to handle malformed or unexpected input gracefully. (**#7326**) + +## 🐛 Bug Fixes + +- **AxiosError `status`:** Restored the `status` field on `AxiosError` instances, which was missing in v1.13.3 and later. (**#7368**) + +- **Interceptor Ordering:** Added a `useLegacyInterceptorOrder` option to restore pre-v1.13 interceptor execution order for applications relying on the previous behaviour. ([569f028](https://github.com/axios/axios/commit/569f028a5878faaec8d7d138ba686aac407bda4c)) + +## 🔧 Maintenance & Chores + +- **CI:** Fixed run conditions and updated workflow YAMLs. (**#7372**, **#7373**) + +- **Dependencies:** Bumped `karma-sourcemap-loader` and minor package versions. (**#7356**, **#7360**) + +## 🌟 New Contributors + +We are thrilled to welcome our new contributors. Thank you for helping improve axios: + +- **@asmitha-16** (**#7326**) + +[Full Changelog](https://github.com/axios/axios/compare/v1.13.4...v1.13.5) + +--- + +## v1.13.4 - January 27, 2026 + +Patch release fixing regressions introduced in v1.13.3, including TypeScript export compatibility and CI/build stability. + +## 🐛 Bug Fixes + +- **v1.13.3 Regressions:** Fixed multiple issues introduced by the v1.13.3 release, including broken merge configs. (**#7352**) + +- **TypeScript Exports:** Corrected TypeScript export declarations to restore proper type resolution. (**#4884**) + +## 🔧 Maintenance & Chores + +- **CI & Build:** Refactored CI pipeline and build configuration for stability. (**#7340**) + +[Full Changelog](https://github.com/axios/axios/compare/v1.13.3...v1.13.4) + +--- + +## [1.13.3](https://github.com/axios/axios/compare/v1.13.2...v1.13.3) (2026-01-20) + +### Bug Fixes + +- **http2:** Use port 443 for HTTPS connections by default. ([#7256](https://github.com/axios/axios/issues/7256)) ([d7e6065](https://github.com/axios/axios/commit/d7e60653460480ffacecf85383012ca1baa6263e)) +- **interceptor:** handle the error in the same interceptor ([#6269](https://github.com/axios/axios/issues/6269)) ([5945e40](https://github.com/axios/axios/commit/5945e40bb171d4ac4fc195df276cf952244f0f89)) +- main field in package.json should correspond to cjs artifacts ([#5756](https://github.com/axios/axios/issues/5756)) ([7373fbf](https://github.com/axios/axios/commit/7373fbff24cd92ce650d99ff6f7fe08c2e2a0a04)) +- **package.json:** add 'bun' package.json 'exports' condition. Load the Node.js build in Bun instead of the browser build ([#5754](https://github.com/axios/axios/issues/5754)) ([b89217e](https://github.com/axios/axios/commit/b89217e3e91de17a3d55e2b8f39ceb0e9d8aeda8)) +- silentJSONParsing=false should throw on invalid JSON ([#7253](https://github.com/axios/axios/issues/7253)) ([#7257](https://github.com/axios/axios/issues/7257)) ([7d19335](https://github.com/axios/axios/commit/7d19335e43d6754a1a9a66e424f7f7da259895bf)) +- turn AxiosError into a native error ([#5394](https://github.com/axios/axios/issues/5394)) ([#5558](https://github.com/axios/axios/issues/5558)) ([1c6a86d](https://github.com/axios/axios/commit/1c6a86dd2c0623ee1af043a8491dbc96d40e883b)) +- **types:** add handlers to AxiosInterceptorManager interface ([#5551](https://github.com/axios/axios/issues/5551)) ([8d1271b](https://github.com/axios/axios/commit/8d1271b49fc226ed7defd07cd577bd69a55bb13a)) +- **types:** restore AxiosError.cause type from unknown to Error ([#7327](https://github.com/axios/axios/issues/7327)) ([d8233d9](https://github.com/axios/axios/commit/d8233d9e8e9a64bfba9bbe01d475ba417510b82b)) +- unclear error message is thrown when specifying an empty proxy authorization ([#6314](https://github.com/axios/axios/issues/6314)) ([6ef867e](https://github.com/axios/axios/commit/6ef867e684adf7fb2343e3b29a79078a3c76dc29)) + +### Features + +- add `undefined` as a value in AxiosRequestConfig ([#5560](https://github.com/axios/axios/issues/5560)) ([095033c](https://github.com/axios/axios/commit/095033c626895ecdcda2288050b63dcf948db3bd)) +- add automatic minor and patch upgrades to dependabot ([#6053](https://github.com/axios/axios/issues/6053)) ([65a7584](https://github.com/axios/axios/commit/65a7584eda6164980ddb8cf5372f0afa2a04c1ed)) +- add Node.js coverage script using c8 (closes [#7289](https://github.com/axios/axios/issues/7289)) ([#7294](https://github.com/axios/axios/issues/7294)) ([ec9d94e](https://github.com/axios/axios/commit/ec9d94e9f88da13e9219acadf65061fb38ce080a)) +- added copilot instructions ([3f83143](https://github.com/axios/axios/commit/3f83143bfe617eec17f9d7dcf8bafafeeae74c26)) +- compatibility with frozen prototypes ([#6265](https://github.com/axios/axios/issues/6265)) ([860e033](https://github.com/axios/axios/commit/860e03396a536e9b926dacb6570732489c9d7012)) +- enhance pipeFileToResponse with error handling ([#7169](https://github.com/axios/axios/issues/7169)) ([88d7884](https://github.com/axios/axios/commit/88d78842541610692a04282233933d078a8a2552)) +- **types:** Intellisense for string literals in a widened union ([#6134](https://github.com/axios/axios/issues/6134)) ([f73474d](https://github.com/axios/axios/commit/f73474d02c5aa957b2daeecee65508557fd3c6e5)), closes [/github.com/microsoft/TypeScript/issues/33471#issuecomment-1376364329](https://github.com//github.com/microsoft/TypeScript/issues/33471/issues/issuecomment-1376364329) + +### Reverts + +- Revert "fix: silentJSONParsing=false should throw on invalid JSON (#7253) (#7…" (#7298) ([a4230f5](https://github.com/axios/axios/commit/a4230f5581b3f58b6ff531b6dbac377a4fd7942a)), closes [#7253](https://github.com/axios/axios/issues/7253) [#7](https://github.com/axios/axios/issues/7) [#7298](https://github.com/axios/axios/issues/7298) +- **deps:** bump peter-evans/create-pull-request from 7 to 8 in the github-actions group ([#7334](https://github.com/axios/axios/issues/7334)) ([2d6ad5e](https://github.com/axios/axios/commit/2d6ad5e48bd29b0b2b5e7e95fb473df98301543a)) + +### Contributors to this release + +- avatar [Ashvin Tiwari](https://github.com/ashvin2005 '+1752/-4 (#7218 #7218 )') +- avatar [Nikunj Mochi](https://github.com/mochinikunj '+940/-12 (#7294 #7294 )') +- avatar [Anchal Singh](https://github.com/imanchalsingh '+544/-102 (#7169 #7185 )') +- avatar [jasonsaayman](https://github.com/jasonsaayman '+317/-73 (#7334 #7298 )') +- avatar [Julian Dax](https://github.com/brodo '+99/-120 (#5558 )') +- avatar [Akash Dhar Dubey](https://github.com/AKASHDHARDUBEY '+167/-0 (#7287 #7288 )') +- avatar [Madhumita](https://github.com/madhumitaaa '+20/-68 (#7198 )') +- avatar [Tackoil](https://github.com/Tackoil '+80/-2 (#6269 )') +- avatar [Justin Dhillon](https://github.com/justindhillon '+41/-41 (#6324 #6315 )') +- avatar [Rudransh](https://github.com/Rudrxxx '+71/-2 (#7257 )') +- avatar [WuMingDao](https://github.com/WuMingDao '+36/-36 (#7215 )') +- avatar [codenomnom](https://github.com/codenomnom '+70/-0 (#7201 #7201 )') +- avatar [Nandan Acharya](https://github.com/Nandann018-ux '+60/-10 (#7272 )') +- avatar [Eric Dubé](https://github.com/KernelDeimos '+22/-40 (#7042 )') +- avatar [Tibor Pilz](https://github.com/tiborpilz '+40/-4 (#5551 )') +- avatar [Gabriel Quaresma](https://github.com/joaoGabriel55 '+31/-4 (#6314 )') +- avatar [Turadg Aleahmad](https://github.com/turadg '+23/-6 (#6265 )') +- avatar [JohnTitor](https://github.com/kiritosan '+14/-14 (#6155 )') +- avatar [rohit miryala](https://github.com/rohitmiryala '+22/-0 (#7250 )') +- avatar [Wilson Mun](https://github.com/wmundev '+20/-0 (#6053 )') +- avatar [techcodie](https://github.com/techcodie '+7/-7 (#7236 )') +- avatar [Ved Vadnere](https://github.com/Archis009 '+5/-6 (#7283 )') +- avatar [svihpinc](https://github.com/svihpinc '+5/-3 (#6134 )') +- avatar [SANDESH LENDVE](https://github.com/mrsandy1965 '+3/-3 (#7246 )') +- avatar [Lubos](https://github.com/mrlubos '+5/-1 (#7312 )') +- avatar [Jarred Sumner](https://github.com/Jarred-Sumner '+5/-1 (#5754 )') +- avatar [Adam Hines](https://github.com/thebanjomatic '+2/-1 (#5756 )') +- avatar [Subhan Kumar Rai](https://github.com/Subhan030 '+2/-1 (#7256 )') +- avatar [Joseph Frazier](https://github.com/josephfrazier '+1/-1 (#7311 )') +- avatar [KT0803](https://github.com/KT0803 '+0/-2 (#7229 )') +- avatar [Albie](https://github.com/AlbertoSadoc '+1/-1 (#5560 )') +- avatar [Jake Hayes](https://github.com/thejayhaykid '+1/-0 (#5999 )') + +## [1.13.2](https://github.com/axios/axios/compare/v1.13.1...v1.13.2) (2025-11-04) + +### Bug Fixes + +- **http:** fix 'socket hang up' bug for keep-alive requests when using timeouts; ([#7206](https://github.com/axios/axios/issues/7206)) ([8d37233](https://github.com/axios/axios/commit/8d372335f5c50ecd01e8615f2468a9eb19703117)) +- **http:** use default export for http2 module to support stubs; ([#7196](https://github.com/axios/axios/issues/7196)) ([0588880](https://github.com/axios/axios/commit/0588880ac7ddba7594ef179930493884b7e90bf5)) + +### Performance Improvements + +- **http:** fix early loop exit; ([#7202](https://github.com/axios/axios/issues/7202)) ([12c314b](https://github.com/axios/axios/commit/12c314b603e7852a157e93e47edb626a471ba6c5)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+28/-9 (#7206 #7202 )') +- avatar [Kasper Isager Dalsgarð](https://github.com/kasperisager '+9/-9 (#7196 )') + +## [1.13.1](https://github.com/axios/axios/compare/v1.13.0...v1.13.1) (2025-10-28) + +### Bug Fixes + +- **http:** fixed a regression that caused the data stream to be interrupted for responses with non-OK HTTP statuses; ([#7193](https://github.com/axios/axios/issues/7193)) ([bcd5581](https://github.com/axios/axios/commit/bcd5581d208cd372055afdcb2fd10b68ca40613c)) + +### Contributors to this release + +- avatar [Anchal Singh](https://github.com/imanchalsingh '+220/-111 (#7173 )') +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+18/-1 (#7193 )') + +# [1.13.0](https://github.com/axios/axios/compare/v1.12.2...v1.13.0) (2025-10-27) + +### Bug Fixes + +- **fetch:** prevent TypeError when config.env is undefined ([#7155](https://github.com/axios/axios/issues/7155)) ([015faec](https://github.com/axios/axios/commit/015faeca9f26db76f9562760f04bb9f8229f4db1)) +- resolve issue [#7131](https://github.com/axios/axios/issues/7131) (added spacing in mergeConfig.js) ([#7133](https://github.com/axios/axios/issues/7133)) ([9b9ec98](https://github.com/axios/axios/commit/9b9ec98548d93e9f2204deea10a5f1528bf3ce62)) + +### Features + +- **http:** add HTTP2 support; ([#7150](https://github.com/axios/axios/issues/7150)) ([d676df7](https://github.com/axios/axios/commit/d676df772244726533ca320f42e967f5af056bac)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+794/-180 (#7186 #7150 #7039 )') +- avatar [Noritaka Kobayashi](https://github.com/noritaka1166 '+24/-509 (#7032 )') +- avatar [Aviraj2929](https://github.com/Aviraj2929 '+211/-93 (#7136 #7135 #7134 #7112 )') +- avatar [prasoon patel](https://github.com/Prasoon52 '+167/-6 (#7099 )') +- avatar [Samyak Dandge](https://github.com/Samy-in '+134/-0 (#7171 )') +- avatar [Anchal Singh](https://github.com/imanchalsingh '+53/-56 (#7170 )') +- avatar [Rahul Kumar](https://github.com/jaiyankargupta '+28/-28 (#7073 )') +- avatar [Amit Verma](https://github.com/Amitverma0509 '+24/-13 (#7129 )') +- avatar [Abhishek3880](https://github.com/abhishekmaniy '+23/-4 (#7119 #7117 #7116 #7115 )') +- avatar [Dhvani Maktuporia](https://github.com/Dhvani365 '+14/-5 (#7175 )') +- avatar [Usama Ayoub](https://github.com/sam3690 '+4/-4 (#7133 )') +- avatar [ikuy1203](https://github.com/ikuy1203 '+3/-3 (#7166 )') +- avatar [Nikhil Simon Toppo](https://github.com/Kirito-Excalibur '+1/-1 (#7172 )') +- avatar [Jane Wangari](https://github.com/Wangarijane '+1/-1 (#7155 )') +- avatar [Supakorn Ieamgomol](https://github.com/Supakornn '+1/-1 (#7065 )') +- avatar [Kian-Meng Ang](https://github.com/kianmeng '+1/-1 (#7046 )') +- avatar [UTSUMI Keiji](https://github.com/k-utsumi '+1/-1 (#7037 )') + +## [1.12.2](https://github.com/axios/axios/compare/v1.12.1...v1.12.2) (2025-09-14) + +### Bug Fixes + +- **fetch:** use current global fetch instead of cached one when env fetch is not specified to keep MSW support; ([#7030](https://github.com/axios/axios/issues/7030)) ([cf78825](https://github.com/axios/axios/commit/cf78825e1229b60d1629ad0bbc8a752ff43c3f53)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+247/-16 (#7030 #7022 #7024 )') +- avatar [Noritaka Kobayashi](https://github.com/noritaka1166 '+2/-6 (#7028 #7029 )') + +## [1.12.1](https://github.com/axios/axios/compare/v1.12.0...v1.12.1) (2025-09-12) + +### Bug Fixes + +- **types:** fixed env config types; ([#7020](https://github.com/axios/axios/issues/7020)) ([b5f26b7](https://github.com/axios/axios/commit/b5f26b75bdd9afa95016fb67d0cab15fc74cbf05)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+10/-4 (#7020 )') + +# [1.12.0](https://github.com/axios/axios/compare/v1.11.0...v1.12.0) (2025-09-11) + +### Bug Fixes + +- adding build artifacts ([9ec86de](https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd)) +- dont add dist on release ([a2edc36](https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11)) +- **fetch-adapter:** set correct Content-Type for Node FormData ([#6998](https://github.com/axios/axios/issues/6998)) ([a9f47af](https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d)) +- **node:** enforce maxContentLength for data: URLs ([#7011](https://github.com/axios/axios/issues/7011)) ([945435f](https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593)) +- package exports ([#5627](https://github.com/axios/axios/issues/5627)) ([aa78ac2](https://github.com/axios/axios/commit/aa78ac23fc9036163308c0f6bd2bb885e7af3f36)) +- **params:** removing '[' and ']' from URL encode exclude characters ([#3316](https://github.com/axios/axios/issues/3316)) ([#5715](https://github.com/axios/axios/issues/5715)) ([6d84189](https://github.com/axios/axios/commit/6d84189349c43b1dcdd977b522610660cc4c7042)) +- release pr run ([fd7f404](https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2)) +- **types:** change the type guard on isCancel ([#5595](https://github.com/axios/axios/issues/5595)) ([0dbb7fd](https://github.com/axios/axios/commit/0dbb7fd4f61dc568498cd13a681fa7f907d6ec7e)) + +### Features + +- **adapter:** surface low‑level network error details; attach original error via cause ([#6982](https://github.com/axios/axios/issues/6982)) ([78b290c](https://github.com/axios/axios/commit/78b290c57c978ed2ab420b90d97350231c9e5d74)) +- **fetch:** add fetch, Request, Response env config variables for the adapter; ([#7003](https://github.com/axios/axios/issues/7003)) ([c959ff2](https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b)) +- support reviver on JSON.parse ([#5926](https://github.com/axios/axios/issues/5926)) ([2a97634](https://github.com/axios/axios/commit/2a9763426e43d996fd60d01afe63fa6e1f5b4fca)), closes [#5924](https://github.com/axios/axios/issues/5924) +- **types:** extend AxiosResponse interface to include custom headers type ([#6782](https://github.com/axios/axios/issues/6782)) ([7960d34](https://github.com/axios/axios/commit/7960d34eded2de66ffd30b4687f8da0e46c4903e)) + +### Contributors to this release + +- avatar [Willian Agostini](https://github.com/WillianAgostini '+132/-16760 (#7002 #5926 #6782 )') +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+4263/-293 (#7006 #7003 )') +- avatar [khani](https://github.com/mkhani01 '+111/-15 (#6982 )') +- avatar [Ameer Assadi](https://github.com/AmeerAssadi '+123/-0 (#7011 )') +- avatar [Emiedonmokumo Dick-Boro](https://github.com/emiedonmokumo '+55/-35 (#6998 )') +- avatar [Zeroday BYTE](https://github.com/opsysdebug '+8/-8 (#6980 )') +- avatar [Jason Saayman](https://github.com/jasonsaayman '+7/-7 (#6985 #6985 )') +- avatar [최예찬](https://github.com/HealGaren '+5/-7 (#5715 )') +- avatar [Gligor Kotushevski](https://github.com/gligorkot '+3/-1 (#5627 )') +- avatar [Aleksandar Dimitrov](https://github.com/adimit '+2/-1 (#5595 )') + +# [1.11.0](https://github.com/axios/axios/compare/v1.10.0...v1.11.0) (2025-07-22) + +### Bug Fixes + +- form-data npm package ([#6970](https://github.com/axios/axios/issues/6970)) ([e72c193](https://github.com/axios/axios/commit/e72c193722530db538b19e5ddaaa4544d226b253)) +- prevent RangeError when using large Buffers ([#6961](https://github.com/axios/axios/issues/6961)) ([a2214ca](https://github.com/axios/axios/commit/a2214ca1bc60540baf2c80573cea3a0ff91ba9d1)) +- **types:** resolve type discrepancies between ESM and CJS TypeScript declaration files ([#6956](https://github.com/axios/axios/issues/6956)) ([8517aa1](https://github.com/axios/axios/commit/8517aa16f8d082fc1d5309c642220fa736159110)) + +### Contributors to this release + +- avatar [izzy goldman](https://github.com/izzygld '+186/-93 (#6970 )') +- avatar [Manish Sahani](https://github.com/manishsahanidev '+70/-0 (#6961 )') +- avatar [Noritaka Kobayashi](https://github.com/noritaka1166 '+12/-10 (#6938 #6939 )') +- avatar [James Nail](https://github.com/jrnail23 '+13/-2 (#6956 )') +- avatar [Tejaswi1305](https://github.com/Tejaswi1305 '+1/-1 (#6894 )') + +# [1.10.0](https://github.com/axios/axios/compare/v1.9.0...v1.10.0) (2025-06-14) + +### Bug Fixes + +- **adapter:** pass fetchOptions to fetch function ([#6883](https://github.com/axios/axios/issues/6883)) ([0f50af8](https://github.com/axios/axios/commit/0f50af8e076b7fb403844789bd5e812dedcaf4ed)) +- **form-data:** convert boolean values to strings in FormData serialization ([#6917](https://github.com/axios/axios/issues/6917)) ([5064b10](https://github.com/axios/axios/commit/5064b108de336ff34862650709761b8a96d26be0)) +- **package:** add module entry point for React Native; ([#6933](https://github.com/axios/axios/issues/6933)) ([3d343b8](https://github.com/axios/axios/commit/3d343b86dc4fd0eea0987059c5af04327c7ae304)) + +### Features + +- **types:** improved fetchOptions interface ([#6867](https://github.com/axios/axios/issues/6867)) ([63f1fce](https://github.com/axios/axios/commit/63f1fce233009f5db1abf2586c145825ac98c3d7)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+30/-19 (#6933 #6920 #6893 #6892 )') +- avatar [Noritaka Kobayashi](https://github.com/noritaka1166 '+2/-6 (#6922 #6923 )') +- avatar [Dimitrios Lazanas](https://github.com/dimitry-lzs '+4/-0 (#6917 )') +- avatar [Adrian Knapp](https://github.com/AdrianKnapp '+2/-2 (#6867 )') +- avatar [Howie Zhao](https://github.com/howiezhao '+3/-1 (#6872 )') +- avatar [Uhyeon Park](https://github.com/warpdev '+1/-1 (#6883 )') +- avatar [Sampo Silvennoinen](https://github.com/stscoundrel '+1/-1 (#6913 )') + +# [1.9.0](https://github.com/axios/axios/compare/v1.8.4...v1.9.0) (2025-04-24) + +### Bug Fixes + +- **core:** fix the Axios constructor implementation to treat the config argument as optional; ([#6881](https://github.com/axios/axios/issues/6881)) ([6c5d4cd](https://github.com/axios/axios/commit/6c5d4cd69286868059c5e52d45085cb9a894a983)) +- **fetch:** fixed ERR_NETWORK mapping for Safari browsers; ([#6767](https://github.com/axios/axios/issues/6767)) ([dfe8411](https://github.com/axios/axios/commit/dfe8411c9a082c3d068bdd1f8d6e73054f387f45)) +- **headers:** allow iterable objects to be a data source for the set method; ([#6873](https://github.com/axios/axios/issues/6873)) ([1b1f9cc](https://github.com/axios/axios/commit/1b1f9ccdc15f1ea745160ec9a5223de9db4673bc)) +- **headers:** fix `getSetCookie` by using 'get' method for caseless access; ([#6874](https://github.com/axios/axios/issues/6874)) ([d4f7df4](https://github.com/axios/axios/commit/d4f7df4b304af8b373488fdf8e830793ff843eb9)) +- **headers:** fixed support for setting multiple header values from an iterated source; ([#6885](https://github.com/axios/axios/issues/6885)) ([f7a3b5e](https://github.com/axios/axios/commit/f7a3b5e0f7e5e127b97defa92a132fbf1b55cf15)) +- **http:** send minimal end multipart boundary ([#6661](https://github.com/axios/axios/issues/6661)) ([987d2e2](https://github.com/axios/axios/commit/987d2e2dd3b362757550f36eab875e60640b6ddc)) +- **types:** fix autocomplete for adapter config ([#6855](https://github.com/axios/axios/issues/6855)) ([e61a893](https://github.com/axios/axios/commit/e61a8934d8f94dd429a2f309b48c67307c700df0)) + +### Features + +- **AxiosHeaders:** add getSetCookie method to retrieve set-cookie headers values ([#5707](https://github.com/axios/axios/issues/5707)) ([80ea756](https://github.com/axios/axios/commit/80ea756e72bcf53110fa792f5d7ab76e8b11c996)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+200/-34 (#6890 #6889 #6888 #6885 #6881 #6767 #6874 #6873 )') +- avatar [Jay](https://github.com/jasonsaayman '+26/-1 ()') +- avatar [Willian Agostini](https://github.com/WillianAgostini '+21/-0 (#5707 )') +- avatar [George Cheng](https://github.com/Gerhut '+3/-3 (#5096 )') +- avatar [FatahChan](https://github.com/FatahChan '+2/-2 (#6855 )') +- avatar [Ionuț G. Stan](https://github.com/igstan '+1/-1 (#6661 )') + +## [1.8.4](https://github.com/axios/axios/compare/v1.8.3...v1.8.4) (2025-03-19) + +### Bug Fixes + +- **buildFullPath:** handle `allowAbsoluteUrls: false` without `baseURL` ([#6833](https://github.com/axios/axios/issues/6833)) ([f10c2e0](https://github.com/axios/axios/commit/f10c2e0de7fde0051f848609a29c2906d0caa1d9)) + +### Contributors to this release + +- avatar [Marc Hassan](https://github.com/mhassan1 '+5/-1 (#6833 )') + +## [1.8.3](https://github.com/axios/axios/compare/v1.8.2...v1.8.3) (2025-03-10) + +### Bug Fixes + +- add missing type for allowAbsoluteUrls ([#6818](https://github.com/axios/axios/issues/6818)) ([10fa70e](https://github.com/axios/axios/commit/10fa70ef14fe39558b15a179f0e82f5f5e5d11b2)) +- **xhr/fetch:** pass `allowAbsoluteUrls` to `buildFullPath` in `xhr` and `fetch` adapters ([#6814](https://github.com/axios/axios/issues/6814)) ([ec159e5](https://github.com/axios/axios/commit/ec159e507bdf08c04ba1a10fe7710094e9e50ec9)) + +### Contributors to this release + +- avatar [Ashcon Partovi](https://github.com/Electroid '+6/-0 (#6811 )') +- avatar [StefanBRas](https://github.com/StefanBRas '+4/-0 (#6818 )') +- avatar [Marc Hassan](https://github.com/mhassan1 '+2/-2 (#6814 )') + +## [1.8.2](https://github.com/axios/axios/compare/v1.8.1...v1.8.2) (2025-03-07) + +### Bug Fixes + +- **http-adapter:** add allowAbsoluteUrls to path building ([#6810](https://github.com/axios/axios/issues/6810)) ([fb8eec2](https://github.com/axios/axios/commit/fb8eec214ce7744b5ca787f2c3b8339b2f54b00f)) + +### Contributors to this release + +- avatar [Fasoro-Joseph Alexander](https://github.com/lexcorp16 '+1/-1 (#6810 )') + +## [1.8.1](https://github.com/axios/axios/compare/v1.8.0...v1.8.1) (2025-02-26) + +### Bug Fixes + +- **utils:** move `generateString` to platform utils to avoid importing crypto module into client builds; ([#6789](https://github.com/axios/axios/issues/6789)) ([36a5a62](https://github.com/axios/axios/commit/36a5a620bec0b181451927f13ac85b9888b86cec)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+51/-47 (#6789 )') + +# [1.8.0](https://github.com/axios/axios/compare/v1.7.9...v1.8.0) (2025-02-25) + +### Bug Fixes + +- **examples:** application crashed when navigating examples in browser ([#5938](https://github.com/axios/axios/issues/5938)) ([1260ded](https://github.com/axios/axios/commit/1260ded634ec101dd5ed05d3b70f8e8f899dba6c)) +- missing word in SUPPORT_QUESTION.yml ([#6757](https://github.com/axios/axios/issues/6757)) ([1f890b1](https://github.com/axios/axios/commit/1f890b13f2c25a016f3c84ae78efb769f244133e)) +- **utils:** replace getRandomValues with crypto module ([#6788](https://github.com/axios/axios/issues/6788)) ([23a25af](https://github.com/axios/axios/commit/23a25af0688d1db2c396deb09229d2271cc24f6c)) + +### Features + +- Add config for ignoring absolute URLs ([#5902](https://github.com/axios/axios/issues/5902)) ([#6192](https://github.com/axios/axios/issues/6192)) ([32c7bcc](https://github.com/axios/axios/commit/32c7bcc0f233285ba27dec73a4b1e81fb7a219b3)) + +### Reverts + +- Revert "chore: expose fromDataToStream to be consumable (#6731)" (#6732) ([1317261](https://github.com/axios/axios/commit/1317261125e9c419fe9f126867f64d28f9c1efda)), closes [#6731](https://github.com/axios/axios/issues/6731) [#6732](https://github.com/axios/axios/issues/6732) + +### BREAKING CHANGES + +- code relying on the above will now combine the URLs instead of prefer request URL + +- feat: add config option for allowing absolute URLs + +- fix: add default value for allowAbsoluteUrls in buildFullPath + +- fix: typo in flow control when setting allowAbsoluteUrls + +### Contributors to this release + +- avatar [Michael Toscano](https://github.com/GethosTheWalrus '+42/-8 (#6192 )') +- avatar [Willian Agostini](https://github.com/WillianAgostini '+26/-3 (#6788 #6777 )') +- avatar [Naron](https://github.com/naronchen '+27/-0 (#5901 )') +- avatar [shravan || श्रvan](https://github.com/shravan20 '+7/-3 (#6116 )') +- avatar [Justin Dhillon](https://github.com/justindhillon '+0/-7 (#6312 )') +- avatar [yionr](https://github.com/yionr '+5/-1 (#6129 )') +- avatar [Shin'ya Ueoka](https://github.com/ueokande '+3/-3 (#5935 )') +- avatar [Dan Dascalescu](https://github.com/dandv '+3/-3 (#5908 #6757 )') +- avatar [Nitin Ramnani](https://github.com/NitinRamnani '+2/-2 (#5938 )') +- avatar [Shay Molcho](https://github.com/shaymolcho '+2/-2 (#6770 )') +- avatar [Jay](https://github.com/jasonsaayman '+0/-3 (#6732 )') +- fancy45daddy +- avatar [Habip Akyol](https://github.com/habipakyol '+1/-1 (#6030 )') +- avatar [Bailey Lissington](https://github.com/llamington '+1/-1 (#6771 )') +- avatar [Bernardo da Eira Duarte](https://github.com/bernardoduarte '+1/-1 (#6480 )') +- avatar [Shivam Batham](https://github.com/Shivam-Batham '+1/-1 (#5949 )') +- avatar [Lipin Kariappa](https://github.com/lipinnnnn '+1/-1 (#5936 )') + +## [1.7.9](https://github.com/axios/axios/compare/v1.7.8...v1.7.9) (2024-12-04) + +### Reverts + +- Revert "fix(types): export CJS types from ESM (#6218)" (#6729) ([c44d2f2](https://github.com/axios/axios/commit/c44d2f2316ad289b38997657248ba10de11deb6c)), closes [#6218](https://github.com/axios/axios/issues/6218) [#6729](https://github.com/axios/axios/issues/6729) + +### Contributors to this release + +- avatar [Jay](https://github.com/jasonsaayman '+596/-108 (#6729 )') + +## [1.7.8](https://github.com/axios/axios/compare/v1.7.7...v1.7.8) (2024-11-25) + +### Bug Fixes + +- allow passing a callback as paramsSerializer to buildURL ([#6680](https://github.com/axios/axios/issues/6680)) ([eac4619](https://github.com/axios/axios/commit/eac4619fe2e0926e876cd260ee21e3690381dbb5)) +- **core:** fixed config merging bug ([#6668](https://github.com/axios/axios/issues/6668)) ([5d99fe4](https://github.com/axios/axios/commit/5d99fe4491202a6268c71e5dcc09192359d73cea)) +- fixed width form to not shrink after 'Send Request' button is clicked ([#6644](https://github.com/axios/axios/issues/6644)) ([7ccd5fd](https://github.com/axios/axios/commit/7ccd5fd42402102d38712c32707bf055be72ab54)) +- **http:** add support for File objects as payload in http adapter ([#6588](https://github.com/axios/axios/issues/6588)) ([#6605](https://github.com/axios/axios/issues/6605)) ([6841d8d](https://github.com/axios/axios/commit/6841d8d18ddc71cc1bd202ffcfddb3f95622eef3)) +- **http:** fixed proxy-from-env module import ([#5222](https://github.com/axios/axios/issues/5222)) ([12b3295](https://github.com/axios/axios/commit/12b32957f1258aee94ef859809ed39f8f88f9dfa)) +- **http:** use `globalThis.TextEncoder` when available ([#6634](https://github.com/axios/axios/issues/6634)) ([df956d1](https://github.com/axios/axios/commit/df956d18febc9100a563298dfdf0f102c3d15410)) +- ios11 breaks when build ([#6608](https://github.com/axios/axios/issues/6608)) ([7638952](https://github.com/axios/axios/commit/763895270f7b50c7c780c3c9807ae8635de952cd)) +- **types:** add missing types for mergeConfig function ([#6590](https://github.com/axios/axios/issues/6590)) ([00de614](https://github.com/axios/axios/commit/00de614cd07b7149af335e202aef0e076c254f49)) +- **types:** export CJS types from ESM ([#6218](https://github.com/axios/axios/issues/6218)) ([c71811b](https://github.com/axios/axios/commit/c71811b00f2fcff558e4382ba913bdac4ad7200e)) +- updated stream aborted error message to be more clear ([#6615](https://github.com/axios/axios/issues/6615)) ([cc3217a](https://github.com/axios/axios/commit/cc3217a612024d83a663722a56d7a98d8759c6d5)) +- use URL API instead of DOM to fix a potential vulnerability warning; ([#6714](https://github.com/axios/axios/issues/6714)) ([0a8d6e1](https://github.com/axios/axios/commit/0a8d6e19da5b9899a2abafaaa06a75ee548597db)) + +### Contributors to this release + +- avatar [Remco Haszing](https://github.com/remcohaszing '+108/-596 (#6218 )') +- avatar [Jay](https://github.com/jasonsaayman '+281/-19 (#6640 #6619 )') +- avatar [Aayush Yadav](https://github.com/aayushyadav020 '+124/-111 (#6617 )') +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+12/-65 (#6714 )') +- avatar [Ell Bradshaw](https://github.com/cincodenada '+29/-0 (#6489 )') +- avatar [Amit Saini](https://github.com/amitsainii '+13/-3 (#5237 )') +- avatar [Tommaso Paulon](https://github.com/guuido '+14/-1 (#6680 )') +- avatar [Akki](https://github.com/Aakash-Rana '+5/-5 (#6668 )') +- avatar [Sampo Silvennoinen](https://github.com/stscoundrel '+3/-3 (#6633 )') +- avatar [Kasper Isager Dalsgarð](https://github.com/kasperisager '+2/-2 (#6634 )') +- avatar [Christian Clauss](https://github.com/cclauss '+4/-0 (#6683 )') +- avatar [Pavan Welihinda](https://github.com/pavan168 '+2/-2 (#5222 )') +- avatar [Taylor Flatt](https://github.com/taylorflatt '+2/-2 (#6615 )') +- avatar [Kenzo Wada](https://github.com/Kenzo-Wada '+2/-2 (#6608 )') +- avatar [Ngole Lawson](https://github.com/echelonnought '+3/-0 (#6644 )') +- avatar [Haven](https://github.com/Baoyx007 '+3/-0 (#6590 )') +- avatar [Shrivali Dutt](https://github.com/shrivalidutt '+1/-1 (#6637 )') +- avatar [Henco Appel](https://github.com/hencoappel '+1/-1 (#6605 )') + +## [1.7.7](https://github.com/axios/axios/compare/v1.7.6...v1.7.7) (2024-08-31) + +### Bug Fixes + +- **fetch:** fix stream handling in Safari by fallback to using a stream reader instead of an async iterator; ([#6584](https://github.com/axios/axios/issues/6584)) ([d198085](https://github.com/axios/axios/commit/d1980854fee1765cd02fa0787adf5d6e34dd9dcf)) +- **http:** fixed support for IPv6 literal strings in url ([#5731](https://github.com/axios/axios/issues/5731)) ([364993f](https://github.com/axios/axios/commit/364993f0d8bc6e0e06f76b8a35d2d0a35cab054c)) + +### Contributors to this release + +- avatar [Rishi556](https://github.com/Rishi556 '+39/-1 (#5731 )') +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+27/-7 (#6584 )') + +## [1.7.6](https://github.com/axios/axios/compare/v1.7.5...v1.7.6) (2024-08-30) + +### Bug Fixes + +- **fetch:** fix content length calculation for FormData payload; ([#6524](https://github.com/axios/axios/issues/6524)) ([085f568](https://github.com/axios/axios/commit/085f56861a83e9ac02c140ad9d68dac540dfeeaa)) +- **fetch:** optimize signals composing logic; ([#6582](https://github.com/axios/axios/issues/6582)) ([df9889b](https://github.com/axios/axios/commit/df9889b83c2cc37e9e6189675a73ab70c60f031f)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+98/-46 (#6582 )') +- avatar [Jacques Germishuys](https://github.com/jacquesg '+5/-1 (#6524 )') +- avatar [kuroino721](https://github.com/kuroino721 '+3/-1 (#6575 )') + +## [1.7.5](https://github.com/axios/axios/compare/v1.7.4...v1.7.5) (2024-08-23) + +### Bug Fixes + +- **adapter:** fix undefined reference to hasBrowserEnv ([#6572](https://github.com/axios/axios/issues/6572)) ([7004707](https://github.com/axios/axios/commit/7004707c4180b416341863bd86913fe4fc2f1df1)) +- **core:** add the missed implementation of AxiosError#status property; ([#6573](https://github.com/axios/axios/issues/6573)) ([6700a8a](https://github.com/axios/axios/commit/6700a8adac06942205f6a7a21421ecb36c4e0852)) +- **core:** fix `ReferenceError: navigator is not defined` for custom environments; ([#6567](https://github.com/axios/axios/issues/6567)) ([fed1a4b](https://github.com/axios/axios/commit/fed1a4b2d78ed4a588c84e09d32749ed01dc2794)) +- **fetch:** fix credentials handling in Cloudflare workers ([#6533](https://github.com/axios/axios/issues/6533)) ([550d885](https://github.com/axios/axios/commit/550d885eb90fd156add7b93bbdc54d30d2f9a98d)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+187/-83 (#6573 #6567 #6566 #6564 #6563 #6557 #6556 #6555 #6554 #6552 )') +- avatar [Antonin Bas](https://github.com/antoninbas '+6/-6 (#6572 )') +- avatar [Hans Otto Wirtz](https://github.com/hansottowirtz '+4/-1 (#6533 )') + +## [1.7.4](https://github.com/axios/axios/compare/v1.7.3...v1.7.4) (2024-08-13) + +### Bug Fixes + +- **sec:** CVE-2024-39338 ([#6539](https://github.com/axios/axios/issues/6539)) ([#6543](https://github.com/axios/axios/issues/6543)) ([6b6b605](https://github.com/axios/axios/commit/6b6b605eaf73852fb2dae033f1e786155959de3a)) +- **sec:** disregard protocol-relative URL to remediate SSRF ([#6539](https://github.com/axios/axios/issues/6539)) ([07a661a](https://github.com/axios/axios/commit/07a661a2a6b9092c4aa640dcc7f724ec5e65bdda)) + +### Contributors to this release + +- avatar [Lev Pachmanov](https://github.com/levpachmanov '+47/-11 (#6543 )') +- avatar [Đỗ Trọng Hải](https://github.com/hainenber '+49/-4 (#6539 )') + +## [1.7.3](https://github.com/axios/axios/compare/v1.7.2...v1.7.3) (2024-08-01) + +### Bug Fixes + +- **adapter:** fix progress event emitting; ([#6518](https://github.com/axios/axios/issues/6518)) ([e3c76fc](https://github.com/axios/axios/commit/e3c76fc9bdd03aa4d98afaf211df943e2031453f)) +- **fetch:** fix withCredentials request config ([#6505](https://github.com/axios/axios/issues/6505)) ([85d4d0e](https://github.com/axios/axios/commit/85d4d0ea0aae91082f04e303dec46510d1b4e787)) +- **xhr:** return original config on errors from XHR adapter ([#6515](https://github.com/axios/axios/issues/6515)) ([8966ee7](https://github.com/axios/axios/commit/8966ee7ea62ecbd6cfb39a905939bcdab5cf6388)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+211/-159 (#6518 #6519 )') +- avatar [Valerii Sidorenko](https://github.com/ValeraS '+3/-3 (#6515 )') +- avatar [prianYu](https://github.com/prianyu '+2/-2 (#6505 )') + +## [1.7.2](https://github.com/axios/axios/compare/v1.7.1...v1.7.2) (2024-05-21) + +### Bug Fixes + +- **fetch:** enhance fetch API detection; ([#6413](https://github.com/axios/axios/issues/6413)) ([4f79aef](https://github.com/axios/axios/commit/4f79aef81b7c4644328365bfc33acf0a9ef595bc)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+3/-3 (#6413 )') + +## [1.7.1](https://github.com/axios/axios/compare/v1.7.0...v1.7.1) (2024-05-20) + +### Bug Fixes + +- **fetch:** fixed ReferenceError issue when TextEncoder is not available in the environment; ([#6410](https://github.com/axios/axios/issues/6410)) ([733f15f](https://github.com/axios/axios/commit/733f15fe5bd2d67e1fadaee82e7913b70d45dc5e)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+14/-9 (#6410 )') + +# [1.7.0](https://github.com/axios/axios/compare/v1.7.0-beta.2...v1.7.0) (2024-05-19) + +### Features + +- **adapter:** add fetch adapter; ([#6371](https://github.com/axios/axios/issues/6371)) ([a3ff99b](https://github.com/axios/axios/commit/a3ff99b59d8ec2ab5dd049e68c043617a4072e42)) + +### Bug Fixes + +- **core/axios:** handle un-writable error stack ([#6362](https://github.com/axios/axios/issues/6362)) ([81e0455](https://github.com/axios/axios/commit/81e0455b7b57fbaf2be16a73ebe0e6591cc6d8f9)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+1015/-127 (#6371 )') +- avatar [Jay](https://github.com/jasonsaayman '+30/-14 ()') +- avatar [Alexandre ABRIOUX](https://github.com/alexandre-abrioux '+56/-6 (#6362 )') + +# [1.7.0-beta.2](https://github.com/axios/axios/compare/v1.7.0-beta.1...v1.7.0-beta.2) (2024-05-19) + +### Bug Fixes + +- **fetch:** capitalize HTTP method names; ([#6395](https://github.com/axios/axios/issues/6395)) ([ad3174a](https://github.com/axios/axios/commit/ad3174a3515c3c2573f4bcb94818d582826f3914)) +- **fetch:** fix & optimize progress capturing for cases when the request data has a nullish value or zero data length ([#6400](https://github.com/axios/axios/issues/6400)) ([95a3e8e](https://github.com/axios/axios/commit/95a3e8e346cfd6a5548e171f2341df3235d0e26b)) +- **fetch:** fix headers getting from a stream response; ([#6401](https://github.com/axios/axios/issues/6401)) ([870e0a7](https://github.com/axios/axios/commit/870e0a76f60d0094774a6a63fa606eec52a381af)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+99/-46 (#6405 #6404 #6401 #6400 #6395 )') + +# [1.7.0-beta.1](https://github.com/axios/axios/compare/v1.7.0-beta.0...v1.7.0-beta.1) (2024-05-07) + +### Bug Fixes + +- **core/axios:** handle un-writable error stack ([#6362](https://github.com/axios/axios/issues/6362)) ([81e0455](https://github.com/axios/axios/commit/81e0455b7b57fbaf2be16a73ebe0e6591cc6d8f9)) +- **fetch:** fix cases when ReadableStream or Response.body are not available; ([#6377](https://github.com/axios/axios/issues/6377)) ([d1d359d](https://github.com/axios/axios/commit/d1d359da347704e8b28d768e61515a3e96c5b072)) +- **fetch:** treat fetch-related TypeError as an AxiosError.ERR_NETWORK error; ([#6380](https://github.com/axios/axios/issues/6380)) ([bb5f9a5](https://github.com/axios/axios/commit/bb5f9a5ab768452de9e166dc28d0ffc234245ef1)) + +### Contributors to this release + +- avatar [Alexandre ABRIOUX](https://github.com/alexandre-abrioux '+56/-6 (#6362 )') +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+42/-17 (#6380 #6377 )') + +# [1.7.0-beta.0](https://github.com/axios/axios/compare/v1.6.8...v1.7.0-beta.0) (2024-04-28) + +### Features + +- **adapter:** add fetch adapter; ([#6371](https://github.com/axios/axios/issues/6371)) ([a3ff99b](https://github.com/axios/axios/commit/a3ff99b59d8ec2ab5dd049e68c043617a4072e42)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+1015/-127 (#6371 )') +- avatar [Jay](https://github.com/jasonsaayman '+30/-14 ()') + +## [1.6.8](https://github.com/axios/axios/compare/v1.6.7...v1.6.8) (2024-03-15) + +### Bug Fixes + +- **AxiosHeaders:** fix AxiosHeaders conversion to an object during config merging ([#6243](https://github.com/axios/axios/issues/6243)) ([2656612](https://github.com/axios/axios/commit/2656612bc10fe2757e9832b708ed773ab340b5cb)) +- **import:** use named export for EventEmitter; ([7320430](https://github.com/axios/axios/commit/7320430aef2e1ba2b89488a0eaf42681165498b1)) +- **vulnerability:** update follow-redirects to 1.15.6 ([#6300](https://github.com/axios/axios/issues/6300)) ([8786e0f](https://github.com/axios/axios/commit/8786e0ff55a8c68d4ca989801ad26df924042e27)) + +### Contributors to this release + +- avatar [Jay](https://github.com/jasonsaayman '+4572/-3446 (#6238 )') +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+30/-0 (#6231 )') +- avatar [Mitchell](https://github.com/Creaous '+9/-9 (#6300 )') +- avatar [Emmanuel](https://github.com/mannoeu '+2/-2 (#6196 )') +- avatar [Lucas Keller](https://github.com/ljkeller '+3/-0 (#6194 )') +- avatar [Aditya Mogili](https://github.com/ADITYA-176 '+1/-1 ()') +- avatar [Miroslav Petrov](https://github.com/petrovmiroslav '+1/-1 (#6243 )') + +## [1.6.7](https://github.com/axios/axios/compare/v1.6.6...v1.6.7) (2024-01-25) + +### Bug Fixes + +- capture async stack only for rejections with native error objects; ([#6203](https://github.com/axios/axios/issues/6203)) ([1a08f90](https://github.com/axios/axios/commit/1a08f90f402336e4d00e9ee82f211c6adb1640b0)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+30/-26 (#6203 )') +- avatar [zhoulixiang](https://github.com/zh-lx '+0/-3 (#6186 )') + +## [1.6.6](https://github.com/axios/axios/compare/v1.6.5...v1.6.6) (2024-01-24) + +### Bug Fixes + +- fixed missed dispatchBeforeRedirect argument ([#5778](https://github.com/axios/axios/issues/5778)) ([a1938ff](https://github.com/axios/axios/commit/a1938ff073fcb0f89011f001dfbc1fa1dc995e39)) +- wrap errors to improve async stack trace ([#5987](https://github.com/axios/axios/issues/5987)) ([123f354](https://github.com/axios/axios/commit/123f354b920f154a209ea99f76b7b2ef3d9ebbab)) + +### Contributors to this release + +- avatar [Ilya Priven](https://github.com/ikonst '+91/-8 (#5987 )') +- avatar [Zao Soula](https://github.com/zaosoula '+6/-6 (#5778 )') + +## [1.6.5](https://github.com/axios/axios/compare/v1.6.4...v1.6.5) (2024-01-05) + +### Bug Fixes + +- **ci:** refactor notify action as a job of publish action; ([#6176](https://github.com/axios/axios/issues/6176)) ([0736f95](https://github.com/axios/axios/commit/0736f95ce8776366dc9ca569f49ba505feb6373c)) +- **dns:** fixed lookup error handling; ([#6175](https://github.com/axios/axios/issues/6175)) ([f4f2b03](https://github.com/axios/axios/commit/f4f2b039dd38eb4829e8583caede4ed6d2dd59be)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+41/-6 (#6176 #6175 )') +- avatar [Jay](https://github.com/jasonsaayman '+6/-1 ()') + +## [1.6.4](https://github.com/axios/axios/compare/v1.6.3...v1.6.4) (2024-01-03) + +### Bug Fixes + +- **security:** fixed formToJSON prototype pollution vulnerability; ([#6167](https://github.com/axios/axios/issues/6167)) ([3c0c11c](https://github.com/axios/axios/commit/3c0c11cade045c4412c242b5727308cff9897a0e)) +- **security:** fixed security vulnerability in follow-redirects ([#6163](https://github.com/axios/axios/issues/6163)) ([75af1cd](https://github.com/axios/axios/commit/75af1cdff5b3a6ca3766d3d3afbc3115bb0811b8)) + +### Contributors to this release + +- avatar [Jay](https://github.com/jasonsaayman '+34/-6 ()') +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+34/-3 (#6172 #6167 )') +- avatar [Guy Nesher](https://github.com/gnesher '+10/-10 (#6163 )') + +## [1.6.3](https://github.com/axios/axios/compare/v1.6.2...v1.6.3) (2023-12-26) + +### Bug Fixes + +- Regular Expression Denial of Service (ReDoS) ([#6132](https://github.com/axios/axios/issues/6132)) ([5e7ad38](https://github.com/axios/axios/commit/5e7ad38fb0f819fceb19fb2ee5d5d38f56aa837d)) + +### Contributors to this release + +- avatar [Jay](https://github.com/jasonsaayman '+15/-6 (#6145 )') +- avatar [Willian Agostini](https://github.com/WillianAgostini '+17/-2 (#6132 )') +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+3/-0 (#6084 )') + +## [1.6.2](https://github.com/axios/axios/compare/v1.6.1...v1.6.2) (2023-11-14) + +### Features + +- **withXSRFToken:** added withXSRFToken option as a workaround to achieve the old `withCredentials` behavior; ([#6046](https://github.com/axios/axios/issues/6046)) ([cff9967](https://github.com/axios/axios/commit/cff996779b272a5e94c2b52f5503ccf668bc42dc)) + +### PRs + +- feat(withXSRFToken): added withXSRFToken option as a workaround to achieve the old `withCredentials` behavior; ( [#6046](https://api.github.com/repos/axios/axios/pulls/6046) ) + +``` + +📢 This PR added 'withXSRFToken' option as a replacement for old withCredentials behaviour. +You should now use withXSRFToken along with withCredential to get the old behavior. +This functionality is considered as a fix. +``` + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+271/-146 (#6081 #6080 #6079 #6078 #6046 #6064 #6063 )') +- avatar [Ng Choon Khon (CK)](https://github.com/ckng0221 '+4/-4 (#6073 )') +- avatar [Muhammad Noman](https://github.com/mnomanmemon '+2/-2 (#6048 )') + +## [1.6.1](https://github.com/axios/axios/compare/v1.6.0...v1.6.1) (2023-11-08) + +### Bug Fixes + +- **formdata:** fixed content-type header normalization for non-standard browser environments; ([#6056](https://github.com/axios/axios/issues/6056)) ([dd465ab](https://github.com/axios/axios/commit/dd465ab22bbfa262c6567be6574bf46a057d5288)) +- **platform:** fixed emulated browser detection in node.js environment; ([#6055](https://github.com/axios/axios/issues/6055)) ([3dc8369](https://github.com/axios/axios/commit/3dc8369e505e32a4e12c22f154c55fd63ac67fbb)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+432/-65 (#6059 #6056 #6055 )') +- avatar [Fabian Meyer](https://github.com/meyfa '+5/-2 (#5835 )') + +### PRs + +- feat(withXSRFToken): added withXSRFToken option as a workaround to achieve the old `withCredentials` behavior; ( [#6046](https://api.github.com/repos/axios/axios/pulls/6046) ) + +``` + +📢 This PR added 'withXSRFToken' option as a replacement for old withCredentials behaviour. +You should now use withXSRFToken along with withCredential to get the old behavior. +This functionality is considered as a fix. +``` + +# [1.6.0](https://github.com/axios/axios/compare/v1.5.1...v1.6.0) (2023-10-26) + +### Bug Fixes + +- **CSRF:** fixed CSRF vulnerability CVE-2023-45857 ([#6028](https://github.com/axios/axios/issues/6028)) ([96ee232](https://github.com/axios/axios/commit/96ee232bd3ee4de2e657333d4d2191cd389e14d0)) +- **dns:** fixed lookup function decorator to work properly in node v20; ([#6011](https://github.com/axios/axios/issues/6011)) ([5aaff53](https://github.com/axios/axios/commit/5aaff532a6b820bb9ab6a8cd0f77131b47e2adb8)) +- **types:** fix AxiosHeaders types; ([#5931](https://github.com/axios/axios/issues/5931)) ([a1c8ad0](https://github.com/axios/axios/commit/a1c8ad008b3c13d53e135bbd0862587fb9d3fc09)) + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+449/-114 (#6032 #6021 #6011 #5932 #5931 )') +- avatar [Valentin Panov](https://github.com/valentin-panov '+4/-4 (#6028 )') +- avatar [Rinku Chaudhari](https://github.com/therealrinku '+1/-1 (#5889 )') + +## [1.5.1](https://github.com/axios/axios/compare/v1.5.0...v1.5.1) (2023-09-26) + +### Bug Fixes + +- **adapters:** improved adapters loading logic to have clear error messages; ([#5919](https://github.com/axios/axios/issues/5919)) ([e410779](https://github.com/axios/axios/commit/e4107797a7a1376f6209fbecfbbce73d3faa7859)) +- **formdata:** fixed automatic addition of the `Content-Type` header for FormData in non-browser environments; ([#5917](https://github.com/axios/axios/issues/5917)) ([bc9af51](https://github.com/axios/axios/commit/bc9af51b1886d1b3529617702f2a21a6c0ed5d92)) +- **headers:** allow `content-encoding` header to handle case-insensitive values ([#5890](https://github.com/axios/axios/issues/5890)) ([#5892](https://github.com/axios/axios/issues/5892)) ([4c89f25](https://github.com/axios/axios/commit/4c89f25196525e90a6e75eda9cb31ae0a2e18acd)) +- **types:** removed duplicated code ([9e62056](https://github.com/axios/axios/commit/9e6205630e1c9cf863adf141c0edb9e6d8d4b149)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+89/-18 (#5919 #5917 )') +- avatar [David Dallas](https://github.com/DavidJDallas '+11/-5 ()') +- avatar [Sean Sattler](https://github.com/fb-sean '+2/-8 ()') +- avatar [Mustafa Ateş Uzun](https://github.com/0o001 '+4/-4 ()') +- avatar [Przemyslaw Motacki](https://github.com/sfc-gh-pmotacki '+2/-1 (#5892 )') +- avatar [Michael Di Prisco](https://github.com/Cadienvan '+1/-1 ()') + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +# [1.5.0](https://github.com/axios/axios/compare/v1.4.0...v1.5.0) (2023-08-26) + +### Bug Fixes + +- **adapter:** make adapter loading error more clear by using platform-specific adapters explicitly ([#5837](https://github.com/axios/axios/issues/5837)) ([9a414bb](https://github.com/axios/axios/commit/9a414bb6c81796a95c6c7fe668637825458e8b6d)) +- **dns:** fixed `cacheable-lookup` integration; ([#5836](https://github.com/axios/axios/issues/5836)) ([b3e327d](https://github.com/axios/axios/commit/b3e327dcc9277bdce34c7ef57beedf644b00d628)) +- **headers:** added support for setting header names that overlap with class methods; ([#5831](https://github.com/axios/axios/issues/5831)) ([d8b4ca0](https://github.com/axios/axios/commit/d8b4ca0ea5f2f05efa4edfe1e7684593f9f68273)) +- **headers:** fixed common Content-Type header merging; ([#5832](https://github.com/axios/axios/issues/5832)) ([8fda276](https://github.com/axios/axios/commit/8fda2766b1e6bcb72c3fabc146223083ef13ce17)) + +### Features + +- export getAdapter function ([#5324](https://github.com/axios/axios/issues/5324)) ([ca73eb8](https://github.com/axios/axios/commit/ca73eb878df0ae2dace81fe3a7f1fb5986231bf1)) +- **export:** export adapters without `unsafe` prefix ([#5839](https://github.com/axios/axios/issues/5839)) ([1601f4a](https://github.com/axios/axios/commit/1601f4a27a81ab47fea228f1e244b2c4e3ce28bf)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+66/-29 (#5839 #5837 #5836 #5832 #5831 )') +- avatar [夜葬](https://github.com/geekact '+42/-0 (#5324 )') +- avatar [Jonathan Budiman](https://github.com/JBudiman00 '+30/-0 (#5788 )') +- avatar [Michael Di Prisco](https://github.com/Cadienvan '+3/-5 (#5791 )') + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +# [1.4.0](https://github.com/axios/axios/compare/v1.3.6...v1.4.0) (2023-04-27) + +### Bug Fixes + +- **formdata:** add `multipart/form-data` content type for FormData payload on custom client environments; ([#5678](https://github.com/axios/axios/issues/5678)) ([bbb61e7](https://github.com/axios/axios/commit/bbb61e70cb1185adfb1cbbb86eaf6652c48d89d1)) +- **package:** export package internals with unsafe path prefix; ([#5677](https://github.com/axios/axios/issues/5677)) ([df38c94](https://github.com/axios/axios/commit/df38c949f26414d88ba29ec1e353c4d4f97eaf09)) + +### Features + +- **dns:** added support for a custom lookup function; ([#5339](https://github.com/axios/axios/issues/5339)) ([2701911](https://github.com/axios/axios/commit/2701911260a1faa5cc5e1afe437121b330a3b7bb)) +- **types:** export `AxiosHeaderValue` type. ([#5525](https://github.com/axios/axios/issues/5525)) ([726f1c8](https://github.com/axios/axios/commit/726f1c8e00cffa0461a8813a9bdcb8f8b9d762cf)) + +### Performance Improvements + +- **merge-config:** optimize mergeConfig performance by avoiding duplicate key visits; ([#5679](https://github.com/axios/axios/issues/5679)) ([e6f7053](https://github.com/axios/axios/commit/e6f7053bf1a3e87cf1f9da8677e12e3fe829d68e)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+151/-16 (#5684 #5339 #5679 #5678 #5677 )') +- avatar [Arthur Fiorette](https://github.com/arthurfiorette '+19/-19 (#5525 )') +- avatar [PIYUSH NEGI](https://github.com/npiyush97 '+2/-18 (#5670 )') + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.3.6](https://github.com/axios/axios/compare/v1.3.5...v1.3.6) (2023-04-19) + +### Bug Fixes + +- **types:** added transport to RawAxiosRequestConfig ([#5445](https://github.com/axios/axios/issues/5445)) ([6f360a2](https://github.com/axios/axios/commit/6f360a2531d8d70363fd9becef6a45a323f170e2)) +- **utils:** make isFormData detection logic stricter to avoid unnecessary calling of the `toString` method on the target; ([#5661](https://github.com/axios/axios/issues/5661)) ([aa372f7](https://github.com/axios/axios/commit/aa372f7306295dfd1100c1c2c77ce95c95808e76)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+48/-10 (#5665 #5661 #5663 )') +- avatar [Michael Di Prisco](https://github.com/Cadienvan '+2/-0 (#5445 )') + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.3.5](https://github.com/axios/axios/compare/v1.3.4...v1.3.5) (2023-04-05) + +### Bug Fixes + +- **headers:** fixed isValidHeaderName to support full list of allowed characters; ([#5584](https://github.com/axios/axios/issues/5584)) ([e7decef](https://github.com/axios/axios/commit/e7decef6a99f4627e27ed9ea5b00ce8e201c3841)) +- **params:** re-added the ability to set the function as `paramsSerializer` config; ([#5633](https://github.com/axios/axios/issues/5633)) ([a56c866](https://github.com/axios/axios/commit/a56c8661209d5ce5a645a05f294a0e08a6c1f6b3)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+28/-10 (#5633 #5584 )') + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.3.4](https://github.com/axios/axios/compare/v1.3.3...v1.3.4) (2023-02-22) + +### Bug Fixes + +- **blob:** added a check to make sure the Blob class is available in the browser's global scope; ([#5548](https://github.com/axios/axios/issues/5548)) ([3772c8f](https://github.com/axios/axios/commit/3772c8fe74112a56e3e9551f894d899bc3a9443a)) +- **http:** fixed regression bug when handling synchronous errors inside the adapter; ([#5564](https://github.com/axios/axios/issues/5564)) ([a3b246c](https://github.com/axios/axios/commit/a3b246c9de5c3bc4b5a742e15add55b375479451)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+38/-26 (#5564 )') +- avatar [lcysgsg](https://github.com/lcysgsg '+4/-0 (#5548 )') +- avatar [Michael Di Prisco](https://github.com/Cadienvan '+3/-0 (#5444 )') + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.3.3](https://github.com/axios/axios/compare/v1.3.2...v1.3.3) (2023-02-13) + +### Bug Fixes + +- **formdata:** added a check to make sure the FormData class is available in the browser's global scope; ([#5545](https://github.com/axios/axios/issues/5545)) ([a6dfa72](https://github.com/axios/axios/commit/a6dfa72010db5ad52db8bd13c0f98e537e8fd05d)) +- **formdata:** fixed setting NaN as Content-Length for form payload in some cases; ([#5535](https://github.com/axios/axios/issues/5535)) ([c19f7bf](https://github.com/axios/axios/commit/c19f7bf770f90ae8307f4ea3104f227056912da1)) +- **headers:** fixed the filtering logic of the clear method; ([#5542](https://github.com/axios/axios/issues/5542)) ([ea87ebf](https://github.com/axios/axios/commit/ea87ebfe6d1699af072b9e7cd40faf8f14b0ab93)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+11/-7 (#5545 #5535 #5542 )') +- avatar [陈若枫](https://github.com/ruofee '+2/-2 (#5467 )') + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.3.2](https://github.com/axios/axios/compare/v1.3.1...v1.3.2) (2023-02-03) + +### Bug Fixes + +- **http:** treat http://localhost as base URL for relative paths to avoid `ERR_INVALID_URL` error; ([#5528](https://github.com/axios/axios/issues/5528)) ([128d56f](https://github.com/axios/axios/commit/128d56f4a0fb8f5f2ed6e0dd80bc9225fee9538c)) +- **http:** use explicit import instead of TextEncoder global; ([#5530](https://github.com/axios/axios/issues/5530)) ([6b3c305](https://github.com/axios/axios/commit/6b3c305fc40c56428e0afabedc6f4d29c2830f6f)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+2/-1 (#5530 #5528 )') + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.3.1](https://github.com/axios/axios/compare/v1.3.0...v1.3.1) (2023-02-01) + +### Bug Fixes + +- **formdata:** add hotfix to use the asynchronous API to compute the content-length header value; ([#5521](https://github.com/axios/axios/issues/5521)) ([96d336f](https://github.com/axios/axios/commit/96d336f527619f21da012fe1f117eeb53e5a2120)) +- **serializer:** fixed serialization of array-like objects; ([#5518](https://github.com/axios/axios/issues/5518)) ([08104c0](https://github.com/axios/axios/commit/08104c028c0f9353897b1b6691d74c440fd0c32d)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+27/-8 (#5521 #5518 )') + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +# [1.3.0](https://github.com/axios/axios/compare/v1.2.6...v1.3.0) (2023-01-31) + +### Bug Fixes + +- **headers:** fixed & optimized clear method; ([#5507](https://github.com/axios/axios/issues/5507)) ([9915635](https://github.com/axios/axios/commit/9915635c69d0ab70daca5738488421f67ca60959)) +- **http:** add zlib headers if missing ([#5497](https://github.com/axios/axios/issues/5497)) ([65e8d1e](https://github.com/axios/axios/commit/65e8d1e28ce829f47a837e45129730e541950d3c)) + +### Features + +- **fomdata:** added support for spec-compliant FormData & Blob types; ([#5316](https://github.com/axios/axios/issues/5316)) ([6ac574e](https://github.com/axios/axios/commit/6ac574e00a06731288347acea1e8246091196953)) + +### Contributors to this release + +- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+352/-67 (#5514 #5512 #5510 #5509 #5508 #5316 #5507 )') +- avatar [ItsNotGoodName](https://github.com/ItsNotGoodName '+43/-2 (#5497 )') + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.2.6](https://github.com/axios/axios/compare/v1.2.5...v1.2.6) (2023-01-28) + +### Bug Fixes + +- **headers:** added missed Authorization accessor; ([#5502](https://github.com/axios/axios/issues/5502)) ([342c0ba](https://github.com/axios/axios/commit/342c0ba9a16ea50f5ed7d2366c5c1a2c877e3f26)) +- **types:** fixed `CommonRequestHeadersList` & `CommonResponseHeadersList` types to be private in commonJS; ([#5503](https://github.com/axios/axios/issues/5503)) ([5a3d0a3](https://github.com/axios/axios/commit/5a3d0a3234d77361a1bc7cedee2da1e11df08e2c)) + +### Contributors to this release + +- ![avatar](https://avatars.githubusercontent.com/u/12586868?v=4&s=16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+24/-9 (#5503 #5502 )') + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.2.5](https://github.com/axios/axios/compare/v1.2.4...v1.2.5) (2023-01-26) + +### Bug Fixes + +- **types:** fixed AxiosHeaders to handle spread syntax by making all methods non-enumerable; ([#5499](https://github.com/axios/axios/issues/5499)) ([580f1e8](https://github.com/axios/axios/commit/580f1e8033a61baa38149d59fd16019de3932c22)) + +### Contributors to this release + +- ![avatar](https://avatars.githubusercontent.com/u/12586868?v=4&s=16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+82/-54 (#5499 )') +- ![avatar](https://avatars.githubusercontent.com/u/20516159?v=4&s=16) [Elliot Ford](https://github.com/EFord36 '+1/-1 (#5462 )') + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.2.4](https://github.com/axios/axios/compare/v1.2.3...v1.2.4) (2023-01-22) + +### Bug Fixes + +- **types:** renamed `RawAxiosRequestConfig` back to `AxiosRequestConfig`; ([#5486](https://github.com/axios/axios/issues/5486)) ([2a71f49](https://github.com/axios/axios/commit/2a71f49bc6c68495fa419003a3107ed8bd703ad0)) +- **types:** fix `AxiosRequestConfig` generic; ([#5478](https://github.com/axios/axios/issues/5478)) ([9bce81b](https://github.com/axios/axios/commit/186ea062da8b7d578ae78b1a5c220986b9bce81b)) + +### Contributors to this release + +- ![avatar](https://avatars.githubusercontent.com/u/12586868?v=4&s=16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+242/-108 (#5486 #5482 )') +- ![avatar](https://avatars.githubusercontent.com/u/9430821?v=4&s=16) [Daniel Hillmann](https://github.com/hilleer '+1/-1 (#5478 )') + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.2.3](https://github.com/axios/axios/compare/1.2.2...1.2.3) (2023-01-10) + +### Bug Fixes + +- **types:** fixed AxiosRequestConfig header interface by refactoring it to RawAxiosRequestConfig; ([#5420](https://github.com/axios/axios/issues/5420)) ([0811963](https://github.com/axios/axios/commit/08119634a22f1d5b19f5c9ea0adccb6d3eebc3bc)) + +### Contributors to this release + +- ![avatar](https://avatars.githubusercontent.com/u/12586868?v=4&s=16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+938/-442 (#5456 #5455 #5453 #5451 #5449 #5447 #5446 #5443 #5442 #5439 #5420 )') + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.2.2] - 2022-12-29 + +### Fixed + +- fix(ci): fix release script inputs [#5392](https://github.com/axios/axios/pull/5392) +- fix(ci): prerelease scipts [#5377](https://github.com/axios/axios/pull/5377) +- fix(ci): release scripts [#5376](https://github.com/axios/axios/pull/5376) +- fix(ci): typescript tests [#5375](https://github.com/axios/axios/pull/5375) +- fix: Brotli decompression [#5353](https://github.com/axios/axios/pull/5353) +- fix: add missing HttpStatusCode [#5345](https://github.com/axios/axios/pull/5345) + +### Chores + +- chore(ci): set conventional-changelog header config [#5406](https://github.com/axios/axios/pull/5406) +- chore(ci): fix automatic contributors resolving [#5403](https://github.com/axios/axios/pull/5403) +- chore(ci): improved logging for the contributors list generator [#5398](https://github.com/axios/axios/pull/5398) +- chore(ci): fix release action [#5397](https://github.com/axios/axios/pull/5397) +- chore(ci): fix version bump script by adding bump argument for target version [#5393](https://github.com/axios/axios/pull/5393) +- chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 [#5342](https://github.com/axios/axios/pull/5342) +- chore(ci): GitHub Actions Release script [#5384](https://github.com/axios/axios/pull/5384) +- chore(ci): release scripts [#5364](https://github.com/axios/axios/pull/5364) + +### Contributors to this release + +- ![avatar](https://avatars.githubusercontent.com/u/12586868?v=4&s=16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS) +- ![avatar](https://avatars.githubusercontent.com/u/1652293?v=4&s=16) [Winnie](https://github.com/winniehell) + +## [1.2.1] - 2022-12-05 + +### Changed + +- feat(exports): export mergeConfig [#5151](https://github.com/axios/axios/pull/5151) + +### Fixed + +- fix(CancelledError): include config [#4922](https://github.com/axios/axios/pull/4922) +- fix(general): removing multiple/trailing/leading whitespace [#5022](https://github.com/axios/axios/pull/5022) +- fix(headers): decompression for responses without Content-Length header [#5306](https://github.com/axios/axios/pull/5306) +- fix(webWorker): exception to sending form data in web worker [#5139](https://github.com/axios/axios/pull/5139) + +### Refactors + +- refactor(types): AxiosProgressEvent.event type to any [#5308](https://github.com/axios/axios/pull/5308) +- refactor(types): add missing types for static AxiosError.from method [#4956](https://github.com/axios/axios/pull/4956) + +### Chores + +- chore(docs): remove README link to non-existent upgrade guide [#5307](https://github.com/axios/axios/pull/5307) +- chore(docs): typo in issue template name [#5159](https://github.com/axios/axios/pull/5159) + +### Contributors to this release + +- [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS) +- [Zachary Lysobey](https://github.com/zachlysobey) +- [Kevin Ennis](https://github.com/kevincennis) +- [Philipp Loose](https://github.com/phloose) +- [secondl1ght](https://github.com/secondl1ght) +- [wenzheng](https://github.com/0x30) +- [Ivan Barsukov](https://github.com/ovarn) +- [Arthur Fiorette](https://github.com/arthurfiorette) + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.2.0] - 2022-11-10 + +### Changed + +- changed: refactored module exports [#5162](https://github.com/axios/axios/pull/5162) +- change: re-added support for loading Axios with require('axios').default [#5225](https://github.com/axios/axios/pull/5225) + +### Fixed + +- fix: improve AxiosHeaders class [#5224](https://github.com/axios/axios/pull/5224) +- fix: TypeScript type definitions for commonjs [#5196](https://github.com/axios/axios/pull/5196) +- fix: type definition of use method on AxiosInterceptorManager to match the README [#5071](https://github.com/axios/axios/pull/5071) +- fix: \_\_dirname is not defined in the sandbox [#5269](https://github.com/axios/axios/pull/5269) +- fix: AxiosError.toJSON method to avoid circular references [#5247](https://github.com/axios/axios/pull/5247) +- fix: Z_BUF_ERROR when content-encoding is set but the response body is empty [#5250](https://github.com/axios/axios/pull/5250) + +### Refactors + +- refactor: allowing adapters to be loaded by name [#5277](https://github.com/axios/axios/pull/5277) + +### Chores + +- chore: force CI restart [#5243](https://github.com/axios/axios/pull/5243) +- chore: update ECOSYSTEM.md [#5077](https://github.com/axios/axios/pull/5077) +- chore: update get/index.html [#5116](https://github.com/axios/axios/pull/5116) +- chore: update Sandbox UI/UX [#5205](https://github.com/axios/axios/pull/5205) +- chore:(actions): remove git credentials after checkout [#5235](https://github.com/axios/axios/pull/5235) +- chore(actions): bump actions/dependency-review-action from 2 to 3 [#5266](https://github.com/axios/axios/pull/5266) +- chore(packages): bump loader-utils from 1.4.1 to 1.4.2 [#5295](https://github.com/axios/axios/pull/5295) +- chore(packages): bump engine.io from 6.2.0 to 6.2.1 [#5294](https://github.com/axios/axios/pull/5294) +- chore(packages): bump socket.io-parser from 4.0.4 to 4.0.5 [#5241](https://github.com/axios/axios/pull/5241) +- chore(packages): bump loader-utils from 1.4.0 to 1.4.1 [#5245](https://github.com/axios/axios/pull/5245) +- chore(docs): update Resources links in README [#5119](https://github.com/axios/axios/pull/5119) +- chore(docs): update the link for JSON url [#5265](https://github.com/axios/axios/pull/5265) +- chore(docs): fix broken links [#5218](https://github.com/axios/axios/pull/5218) +- chore(docs): update and rename UPGRADE_GUIDE.md to MIGRATION_GUIDE.md [#5170](https://github.com/axios/axios/pull/5170) +- chore(docs): typo fix line #856 and #920 [#5194](https://github.com/axios/axios/pull/5194) +- chore(docs): typo fix #800 [#5193](https://github.com/axios/axios/pull/5193) +- chore(docs): fix typos [#5184](https://github.com/axios/axios/pull/5184) +- chore(docs): fix punctuation in README.md [#5197](https://github.com/axios/axios/pull/5197) +- chore(docs): update readme in the Handling Errors section - issue reference #5260 [#5261](https://github.com/axios/axios/pull/5261) +- chore: remove \b from filename [#5207](https://github.com/axios/axios/pull/5207) +- chore(docs): update CHANGELOG.md [#5137](https://github.com/axios/axios/pull/5137) +- chore: add sideEffects false to package.json [#5025](https://github.com/axios/axios/pull/5025) + +### Contributors to this release + +- [Maddy Miller](https://github.com/me4502) +- [Amit Saini](https://github.com/amitsainii) +- [ecyrbe](https://github.com/ecyrbe) +- [Ikko Ashimine](https://github.com/eltociear) +- [Geeth Gunnampalli](https://github.com/thetechie7) +- [Shreem Asati](https://github.com/shreem-123) +- [Frieder Bluemle](https://github.com/friederbluemle) +- [윤세영](https://github.com/yunseyeong) +- [Claudio Busatto](https://github.com/cjcbusatto) +- [Remco Haszing](https://github.com/remcohaszing) +- [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS) +- [Csaba Maulis](https://github.com/om4csaba) +- [MoPaMo](https://github.com/MoPaMo) +- [Daniel Fjeldstad](https://github.com/w3bdesign) +- [Adrien Brunet](https://github.com/adrien-may) +- [Frazer Smith](https://github.com/Fdawgs) +- [HaiTao](https://github.com/836334258) +- [AZM](https://github.com/aziyatali) +- [relbns](https://github.com/relbns) + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.1.3] - 2022-10-15 + +### Added + +- Added custom params serializer support [#5113](https://github.com/axios/axios/pull/5113) + +### Fixed + +- Fixed top-level export to keep them in-line with static properties [#5109](https://github.com/axios/axios/pull/5109) +- Stopped including null values to query string. [#5108](https://github.com/axios/axios/pull/5108) +- Restored proxy config backwards compatibility with 0.x [#5097](https://github.com/axios/axios/pull/5097) +- Added back AxiosHeaders in AxiosHeaderValue [#5103](https://github.com/axios/axios/pull/5103) +- Pin CDN install instructions to a specific version [#5060](https://github.com/axios/axios/pull/5060) +- Handling of array values fixed for AxiosHeaders [#5085](https://github.com/axios/axios/pull/5085) + +### Chores + +- docs: match badge style, add link to them [#5046](https://github.com/axios/axios/pull/5046) +- chore: fixing comments typo [#5054](https://github.com/axios/axios/pull/5054) +- chore: update issue template [#5061](https://github.com/axios/axios/pull/5061) +- chore: added progress capturing section to the docs; [#5084](https://github.com/axios/axios/pull/5084) + +### Contributors to this release + +- [Jason Saayman](https://github.com/jasonsaayman) +- [scarf](https://github.com/scarf005) +- [Lenz Weber-Tronic](https://github.com/phryneas) +- [Arvindh](https://github.com/itsarvindh) +- [Félix Legrelle](https://github.com/FelixLgr) +- [Patrick Petrovic](https://github.com/ppati000) +- [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS) +- [littledian](https://github.com/littledian) +- [ChronosMasterOfAllTime](https://github.com/ChronosMasterOfAllTime) + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.1.2] - 2022-10-07 + +### Fixed + +- Fixed broken exports for UMD builds. + +### Contributors to this release + +- [Jason Saayman](https://github.com/jasonsaayman) + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.1.1] - 2022-10-07 + +### Fixed + +- Fixed broken exports for common js. This fix breaks a prior fix, I will fix both issues ASAP but the commonJS use is more impactful. + +### Contributors to this release + +- [Jason Saayman](https://github.com/jasonsaayman) + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.1.0] - 2022-10-06 + +### Fixed + +- Fixed missing exports in type definition index.d.ts [#5003](https://github.com/axios/axios/pull/5003) +- Fixed query params composing [#5018](https://github.com/axios/axios/pull/5018) +- Fixed GenericAbortSignal interface by making it more generic [#5021](https://github.com/axios/axios/pull/5021) +- Fixed adding "clear" to AxiosInterceptorManager [#5010](https://github.com/axios/axios/pull/5010) +- Fixed commonjs & umd exports [#5030](https://github.com/axios/axios/pull/5030) +- Fixed inability to access response headers when using axios 1.x with Jest [#5036](https://github.com/axios/axios/pull/5036) + +### Contributors to this release + +- [Trim21](https://github.com/trim21) +- [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS) +- [shingo.sasaki](https://github.com/s-sasaki-0529) +- [Ivan Pepelko](https://github.com/ivanpepelko) +- [Richard Kořínek](https://github.com/risa) + +### PRs + +- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) + +``` + +⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 +``` + +## [1.0.0] - 2022-10-04 + +### Added + +- Added stack trace to AxiosError [#4624](https://github.com/axios/axios/pull/4624) +- Add AxiosError to AxiosStatic [#4654](https://github.com/axios/axios/pull/4654) +- Replaced Rollup as our build runner [#4596](https://github.com/axios/axios/pull/4596) +- Added generic TS types for the exposed toFormData helper [#4668](https://github.com/axios/axios/pull/4668) +- Added listen callback function [#4096](https://github.com/axios/axios/pull/4096) +- Added instructions for installing using PNPM [#4207](https://github.com/axios/axios/pull/4207) +- Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill [#4229](https://github.com/axios/axios/pull/4229) +- Added axios-url-template in ECOSYSTEM.md [#4238](https://github.com/axios/axios/pull/4238) +- Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an axios instance [#4248](https://github.com/axios/axios/pull/4248) +- Added react hook plugin [#4319](https://github.com/axios/axios/pull/4319) +- Adding HTTP status code for transformResponse [#4580](https://github.com/axios/axios/pull/4580) +- Added blob to the list of protocols supported by the browser [#4678](https://github.com/axios/axios/pull/4678) +- Resolving proxy from env on redirect [#4436](https://github.com/axios/axios/pull/4436) +- Added enhanced toFormData implementation with additional options [4704](https://github.com/axios/axios/pull/4704) +- Adding Canceler parameters config and request [#4711](https://github.com/axios/axios/pull/4711) +- Added automatic payload serialization to application/x-www-form-urlencoded [#4714](https://github.com/axios/axios/pull/4714) +- Added the ability for webpack users to overwrite built-ins [#4715](https://github.com/axios/axios/pull/4715) +- Added string[] to AxiosRequestHeaders type [#4322](https://github.com/axios/axios/pull/4322) +- Added the ability for the url-encoded-form serializer to respect the formSerializer config [#4721](https://github.com/axios/axios/pull/4721) +- Added isCancel type assert [#4293](https://github.com/axios/axios/pull/4293) +- Added data URL support for node.js [#4725](https://github.com/axios/axios/pull/4725) +- Adding types for progress event callbacks [#4675](https://github.com/axios/axios/pull/4675) +- URL params serializer [#4734](https://github.com/axios/axios/pull/4734) +- Added axios.formToJSON method [#4735](https://github.com/axios/axios/pull/4735) +- Bower platform add data protocol [#4804](https://github.com/axios/axios/pull/4804) +- Use WHATWG URL API instead of url.parse() [#4852](https://github.com/axios/axios/pull/4852) +- Add ENUM containing Http Status Codes to typings [#4903](https://github.com/axios/axios/pull/4903) +- Improve typing of timeout in index.d.ts [#4934](https://github.com/axios/axios/pull/4934) + +### Changed + +- Updated AxiosError.config to be optional in the type definition [#4665](https://github.com/axios/axios/pull/4665) +- Updated README emphasizing the URLSearchParam built-in interface over other solutions [#4590](https://github.com/axios/axios/pull/4590) +- Include request and config when creating a CanceledError instance [#4659](https://github.com/axios/axios/pull/4659) +- Changed func-names eslint rule to as-needed [#4492](https://github.com/axios/axios/pull/4492) +- Replacing deprecated substr() with slice() as substr() is deprecated [#4468](https://github.com/axios/axios/pull/4468) +- Updating HTTP links in README.md to use HTTPS [#4387](https://github.com/axios/axios/pull/4387) +- Updated to a better trim() polyfill [#4072](https://github.com/axios/axios/pull/4072) +- Updated types to allow specifying partial default headers on instance create [#4185](https://github.com/axios/axios/pull/4185) +- Expanded isAxiosError types [#4344](https://github.com/axios/axios/pull/4344) +- Updated type definition for axios instance methods [#4224](https://github.com/axios/axios/pull/4224) +- Updated eslint config [#4722](https://github.com/axios/axios/pull/4722) +- Updated Docs [#4742](https://github.com/axios/axios/pull/4742) +- Refactored Axios to use ES2017 [#4787](https://github.com/axios/axios/pull/4787) + +### Deprecated + +- There are multiple deprecations, refactors and fixes provided in this release. Please read through the full release notes to see how this may impact your project and use case. + +### Removed + +- Removed incorrect argument for NetworkError constructor [#4656](https://github.com/axios/axios/pull/4656) +- Removed Webpack [#4596](https://github.com/axios/axios/pull/4596) +- Removed function that transform arguments to array [#4544](https://github.com/axios/axios/pull/4544) + +### Fixed + +- Fixed grammar in README [#4649](https://github.com/axios/axios/pull/4649) +- Fixed code error in README [#4599](https://github.com/axios/axios/pull/4599) +- Optimized the code that checks cancellation [#4587](https://github.com/axios/axios/pull/4587) +- Fix url pointing to defaults.js in README [#4532](https://github.com/axios/axios/pull/4532) +- Use type alias instead of interface for AxiosPromise [#4505](https://github.com/axios/axios/pull/4505) +- Fix some word spelling and lint style in code comments [#4500](https://github.com/axios/axios/pull/4500) +- Edited readme with 3 updated browser icons of Chrome, FireFox and Safari [#4414](https://github.com/axios/axios/pull/4414) +- Bump follow-redirects from 1.14.9 to 1.15.0 [#4673](https://github.com/axios/axios/pull/4673) +- Fixing http tests to avoid hanging when assertions fail [#4435](https://github.com/axios/axios/pull/4435) +- Fix TS definition for AxiosRequestTransformer [#4201](https://github.com/axios/axios/pull/4201) +- Fix grammatical issues in README [#4232](https://github.com/axios/axios/pull/4232) +- Fixing instance.defaults.headers type [#4557](https://github.com/axios/axios/pull/4557) +- Fixed race condition on immediate requests cancellation [#4261](https://github.com/axios/axios/pull/4261) +- Fixing Z_BUF_ERROR when no content [#4701](https://github.com/axios/axios/pull/4701) +- Fixing proxy beforeRedirect regression [#4708](https://github.com/axios/axios/pull/4708) +- Fixed AxiosError status code type [#4717](https://github.com/axios/axios/pull/4717) +- Fixed AxiosError stack capturing [#4718](https://github.com/axios/axios/pull/4718) +- Fixing AxiosRequestHeaders typings [#4334](https://github.com/axios/axios/pull/4334) +- Fixed max body length defaults [#4731](https://github.com/axios/axios/pull/4731) +- Fixed toFormData Blob issue on node>v17 [#4728](https://github.com/axios/axios/pull/4728) +- Bump grunt from 1.5.2 to 1.5.3 [#4743](https://github.com/axios/axios/pull/4743) +- Fixing content-type header repeated [#4745](https://github.com/axios/axios/pull/4745) +- Fixed timeout error message for http [4738](https://github.com/axios/axios/pull/4738) +- Request ignores false, 0 and empty string as body values [#4785](https://github.com/axios/axios/pull/4785) +- Added back missing minified builds [#4805](https://github.com/axios/axios/pull/4805) +- Fixed a type error [#4815](https://github.com/axios/axios/pull/4815) +- Fixed a regression bug with unsubscribing from cancel token; [#4819](https://github.com/axios/axios/pull/4819) +- Remove repeated compression algorithm [#4820](https://github.com/axios/axios/pull/4820) +- The error of calling extend to pass parameters [#4857](https://github.com/axios/axios/pull/4857) +- SerializerOptions.indexes allows boolean | null | undefined [#4862](https://github.com/axios/axios/pull/4862) +- Require interceptors to return values [#4874](https://github.com/axios/axios/pull/4874) +- Removed unused imports [#4949](https://github.com/axios/axios/pull/4949) +- Allow null indexes on formSerializer and paramsSerializer [#4960](https://github.com/axios/axios/pull/4960) + +### Chores + +- Set permissions for GitHub actions [#4765](https://github.com/axios/axios/pull/4765) +- Included githubactions in the dependabot config [#4770](https://github.com/axios/axios/pull/4770) +- Included dependency review [#4771](https://github.com/axios/axios/pull/4771) +- Update security.md [#4784](https://github.com/axios/axios/pull/4784) +- Remove unnecessary spaces [#4854](https://github.com/axios/axios/pull/4854) +- Simplify the import path of AxiosError [#4875](https://github.com/axios/axios/pull/4875) +- Fix Gitpod dead link [#4941](https://github.com/axios/axios/pull/4941) +- Enable syntax highlighting for a code block [#4970](https://github.com/axios/axios/pull/4970) +- Using Logo Axios in Readme.md [#4993](https://github.com/axios/axios/pull/4993) +- Fix markup for note in README [#4825](https://github.com/axios/axios/pull/4825) +- Fix typo and formatting, add colons [#4853](https://github.com/axios/axios/pull/4853) +- Fix typo in readme [#4942](https://github.com/axios/axios/pull/4942) + +### Security + +- Update SECURITY.md [#4687](https://github.com/axios/axios/pull/4687) + +### Contributors to this release + +- [Bertrand Marron](https://github.com/tusbar) +- [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS) +- [Dan Mooney](https://github.com/danmooney) +- [Michael Li](https://github.com/xiaoyu-tamu) +- [aong](https://github.com/yxwzaxns) +- [Des Preston](https://github.com/despreston) +- [Ted Robertson](https://github.com/tredondo) +- [zhoulixiang](https://github.com/zh-lx) +- [Arthur Fiorette](https://github.com/arthurfiorette) +- [Kumar Shanu](https://github.com/Kr-Shanu) +- [JALAL](https://github.com/JLL32) +- [Jingyi Lin](https://github.com/MageeLin) +- [Philipp Loose](https://github.com/phloose) +- [Alexander Shchukin](https://github.com/sashsvamir) +- [Dave Cardwell](https://github.com/davecardwell) +- [Cat Scarlet](https://github.com/catscarlet) +- [Luca Pizzini](https://github.com/lpizzinidev) +- [Kai](https://github.com/Schweinepriester) +- [Maxime Bargiel](https://github.com/mbargiel) +- [Brian Helba](https://github.com/brianhelba) +- [reslear](https://github.com/reslear) +- [Jamie Slome](https://github.com/JamieSlome) +- [Landro3](https://github.com/Landro3) +- [rafw87](https://github.com/rafw87) +- [Afzal Sayed](https://github.com/afzalsayed96) +- [Koki Oyatsu](https://github.com/kaishuu0123) +- [Dave](https://github.com/wangcch) +- [暴走老七](https://github.com/baozouai) +- [Spencer](https://github.com/spalger) +- [Adrian Wieprzkowicz](https://github.com/Argeento) +- [Jamie Telin](https://github.com/lejahmie) +- [毛呆](https://github.com/aweikalee) +- [Kirill Shakirov](https://github.com/turisap) +- [Rraji Abdelbari](https://github.com/estarossa0) +- [Jelle Schutter](https://github.com/jelleschutter) +- [Tom Ceuppens](https://github.com/KyorCode) +- [Johann Cooper](https://github.com/JohannCooper) +- [Dimitris Halatsis](https://github.com/mitsos1os) +- [chenjigeng](https://github.com/chenjigeng) +- [João Gabriel Quaresma](https://github.com/joaoGabriel55) +- [Victor Augusto](https://github.com/VictorAugDB) +- [neilnaveen](https://github.com/neilnaveen) +- [Pavlos](https://github.com/psmoros) +- [Kiryl Valkovich](https://github.com/visortelle) +- [Naveen](https://github.com/naveensrinivasan) +- [wenzheng](https://github.com/0x30) +- [hcwhan](https://github.com/hcwhan) +- [Bassel Rachid](https://github.com/basselworkforce) +- [Grégoire Pineau](https://github.com/lyrixx) +- [felipedamin](https://github.com/felipedamin) +- [Karl Horky](https://github.com/karlhorky) +- [Yue JIN](https://github.com/kingyue737) +- [Usman Ali Siddiqui](https://github.com/usman250994) +- [WD](https://github.com/techbirds) +- [Günther Foidl](https://github.com/gfoidl) +- [Stephen Jennings](https://github.com/jennings) +- [C.T.Lin](https://github.com/chentsulin) +- [mia-z](https://github.com/mia-z) +- [Parth Banathia](https://github.com/Parth0105) +- [parth0105pluang](https://github.com/parth0105pluang) +- [Marco Weber](https://github.com/mrcwbr) +- [Luca Pizzini](https://github.com/lpizzinidev) +- [Willian Agostini](https://github.com/WillianAgostini) + +- [Huyen Nguyen](https://github.com/huyenltnguyen) diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/LICENSE b/Lombiq.EInvoiceValidator/node_modules/axios/LICENSE new file mode 100644 index 0000000..05006a5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/LICENSE @@ -0,0 +1,7 @@ +# Copyright (c) 2014-present Matt Zabriskie & Collaborators + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/MIGRATION_GUIDE.md b/Lombiq.EInvoiceValidator/node_modules/axios/MIGRATION_GUIDE.md new file mode 100644 index 0000000..2e59d9d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/MIGRATION_GUIDE.md @@ -0,0 +1,877 @@ +# Axios Migration Guide + +> **Migrating from Axios 0.x to 1.x** +> +> This guide helps developers upgrade from Axios 0.x to 1.x by documenting breaking changes, providing migration strategies, and offering solutions to common upgrade challenges. + +## Table of Contents + +- [Overview](#overview) +- [Breaking Changes](#breaking-changes) +- [Error Handling Migration](#error-handling-migration) +- [API Changes](#api-changes) +- [Configuration Changes](#configuration-changes) +- [Migration Strategies](#migration-strategies) +- [Common Patterns](#common-patterns) +- [Troubleshooting](#troubleshooting) +- [Resources](#resources) + +## Overview + +Axios 1.x introduced several breaking changes to improve consistency, security, and developer experience. While these changes provide better error handling and more predictable behavior, they require code updates when migrating from 0.x versions. + +### Key Changes Summary + +| Area | 0.x Behavior | 1.x Behavior | Impact | +|------|--------------|--------------|--------| +| Error Handling | Selective throwing | Consistent throwing | High | +| JSON Parsing | Lenient | Strict | Medium | +| Browser Support | IE11+ | Modern browsers | Low-Medium | +| TypeScript | Partial | Full support | Low | + +### Migration Complexity + +- **Simple applications**: 1-2 hours +- **Medium applications**: 1-2 days +- **Large applications with complex error handling**: 3-5 days + +## Breaking Changes + +### 1. Error Handling Changes + +**The most significant change in Axios 1.x is how errors are handled.** + +#### 0.x Behavior +```javascript +// Axios 0.x - Some HTTP error codes didn't throw +axios.get('/api/data') + .then(response => { + // Response interceptor could handle all errors + console.log('Success:', response.data); + }); + +// Response interceptor handled everything +axios.interceptors.response.use( + response => response, + error => { + handleError(error); + // Error was "handled" and didn't propagate + } +); +``` + +#### 1.x Behavior +```javascript +// Axios 1.x - All HTTP errors throw consistently +axios.get('/api/data') + .then(response => { + console.log('Success:', response.data); + }) + .catch(error => { + // Must handle errors at call site or they propagate + console.error('Request failed:', error); + }); + +// Response interceptor must re-throw or return rejected promise +axios.interceptors.response.use( + response => response, + error => { + handleError(error); + // Must explicitly handle propagation + return Promise.reject(error); // or throw error; + } +); +``` + +#### Impact +- **Response interceptors** can no longer "swallow" errors silently +- **Every API call** must handle errors explicitly or they become unhandled promise rejections +- **Centralized error handling** requires new patterns + +### 2. JSON Parsing Changes + +#### 0.x Behavior +```javascript +// Axios 0.x - Lenient JSON parsing +// Would attempt to parse even invalid JSON +response.data; // Might contain partial data or fallbacks +``` + +#### 1.x Behavior +```javascript +// Axios 1.x - Strict JSON parsing +// Throws clear errors for invalid JSON +try { + const data = response.data; +} catch (error) { + // Handle JSON parsing errors explicitly +} +``` + +### 3. Request/Response Transform Changes + +#### 0.x Behavior +```javascript +// Implicit transformations with some edge cases +transformRequest: [function (data) { + // Less predictable behavior + return data; +}] +``` + +#### 1.x Behavior +```javascript +// More consistent transformation pipeline +transformRequest: [function (data, headers) { + // Headers parameter always available + // More predictable behavior + return data; +}] +``` + +### 4. Browser Support Changes + +- **0.x**: Supported IE11 and older browsers +- **1.x**: Requires modern browsers with Promise support +- **Polyfills**: May be needed for older browser support + +## Error Handling Migration + +The error handling changes are the most complex part of migrating to Axios 1.x. Here are proven strategies: + +### Strategy 1: Centralized Error Handling with Error Boundary + +```javascript +// Create a centralized error handler +class ApiErrorHandler { + constructor() { + this.setupInterceptors(); + } + + setupInterceptors() { + axios.interceptors.response.use( + response => response, + error => { + // Centralized error processing + this.processError(error); + + // Return a resolved promise with error info for handled errors + if (this.isHandledError(error)) { + return Promise.resolve({ + data: null, + error: this.normalizeError(error), + handled: true + }); + } + + // Re-throw unhandled errors + return Promise.reject(error); + } + ); + } + + processError(error) { + // Log errors + console.error('API Error:', error); + + // Show user notifications + if (error.response?.status === 401) { + this.handleAuthError(); + } else if (error.response?.status >= 500) { + this.showErrorNotification('Server error occurred'); + } + } + + isHandledError(error) { + // Define which errors are "handled" centrally + const handledStatuses = [401, 403, 404, 422, 500, 502, 503]; + return handledStatuses.includes(error.response?.status); + } + + normalizeError(error) { + return { + status: error.response?.status, + message: error.response?.data?.message || error.message, + code: error.response?.data?.code || error.code + }; + } + + handleAuthError() { + // Redirect to login, clear tokens, etc. + localStorage.removeItem('token'); + window.location.href = '/login'; + } + + showErrorNotification(message) { + // Show user-friendly error message + console.error(message); // Replace with your notification system + } +} + +// Initialize globally +const errorHandler = new ApiErrorHandler(); + +// Usage in components/services +async function fetchUserData(userId) { + try { + const response = await axios.get(`/api/users/${userId}`); + + // Check if error was handled centrally + if (response.handled) { + return { data: null, error: response.error }; + } + + return { data: response.data, error: null }; + } catch (error) { + // Unhandled errors still need local handling + return { data: null, error: { message: 'Unexpected error occurred' } }; + } +} +``` + +### Strategy 2: Wrapper Function Pattern + +```javascript +// Create a wrapper that provides 0.x-like behavior +function createApiWrapper() { + const api = axios.create(); + + // Add response interceptor for centralized handling + api.interceptors.response.use( + response => response, + error => { + // Handle common errors centrally + if (error.response?.status === 401) { + // Handle auth errors + handleAuthError(); + } + + if (error.response?.status >= 500) { + // Handle server errors + showServerErrorNotification(); + } + + // Always reject to maintain error propagation + return Promise.reject(error); + } + ); + + // Wrapper function that mimics 0.x behavior + function safeRequest(requestConfig, options = {}) { + return api(requestConfig) + .then(response => response) + .catch(error => { + if (options.suppressErrors) { + // Return error info instead of throwing + return { + data: null, + error: { + status: error.response?.status, + message: error.response?.data?.message || error.message + } + }; + } + throw error; + }); + } + + return { safeRequest, axios: api }; +} + +// Usage +const { safeRequest } = createApiWrapper(); + +// For calls where you want centralized error handling +const result = await safeRequest( + { method: 'get', url: '/api/data' }, + { suppressErrors: true } +); + +if (result.error) { + // Handle error case + console.log('Request failed:', result.error.message); +} else { + // Handle success case + console.log('Data:', result.data); +} +``` + +### Strategy 3: Global Error Handler with Custom Events + +```javascript +// Set up global error handling with events +class GlobalErrorHandler extends EventTarget { + constructor() { + super(); + this.setupInterceptors(); + } + + setupInterceptors() { + axios.interceptors.response.use( + response => response, + error => { + // Emit custom event for global handling + this.dispatchEvent(new CustomEvent('apiError', { + detail: { error, timestamp: new Date() } + })); + + // Always reject to maintain proper error flow + return Promise.reject(error); + } + ); + } +} + +const globalErrorHandler = new GlobalErrorHandler(); + +// Set up global listeners +globalErrorHandler.addEventListener('apiError', (event) => { + const { error } = event.detail; + + // Centralized error logic + if (error.response?.status === 401) { + handleAuthError(); + } + + if (error.response?.status >= 500) { + showErrorNotification('Server error occurred'); + } +}); + +// Usage remains clean +async function apiCall() { + try { + const response = await axios.get('/api/data'); + return response.data; + } catch (error) { + // Error was already handled globally + // Just handle component-specific logic + return null; + } +} +``` + +## API Changes + +### Request Configuration + +#### 0.x to 1.x Changes +```javascript +// 0.x - Some properties had different defaults +const config = { + timeout: 0, // No timeout by default + maxContentLength: -1, // No limit +}; + +// 1.x - More secure defaults +const config = { + timeout: 0, // Still no timeout, but easier to configure + maxContentLength: 2000, // Default limit for security + maxBodyLength: 2000, // New property +}; +``` + +### Response Object + +The response object structure remains largely the same, but error responses are more consistent: + +```javascript +// Both 0.x and 1.x +response = { + data: {}, // Response body + status: 200, // HTTP status + statusText: 'OK', // HTTP status message + headers: {}, // Response headers + config: {}, // Request config + request: {} // Request object +}; + +// Error responses are more consistent in 1.x +error.response = { + data: {}, // Error response body + status: 404, // HTTP error status + statusText: 'Not Found', + headers: {}, + config: {}, + request: {} +}; +``` + +## Configuration Changes + +### Default Configuration Updates + +```javascript +// 0.x defaults +axios.defaults.timeout = 0; // No timeout +axios.defaults.maxContentLength = -1; // No limit + +// 1.x defaults (more secure) +axios.defaults.timeout = 0; // Still no timeout +axios.defaults.maxContentLength = 2000; // 2MB limit +axios.defaults.maxBodyLength = 2000; // 2MB limit +``` + +### Instance Configuration + +```javascript +// 0.x - Instance creation +const api = axios.create({ + baseURL: 'https://api.example.com', + timeout: 1000, +}); + +// 1.x - Same API, but more options available +const api = axios.create({ + baseURL: 'https://api.example.com', + timeout: 1000, + maxBodyLength: Infinity, // Override default if needed + maxContentLength: Infinity, +}); +``` + +## Migration Strategies + +### Step-by-Step Migration Process + +#### Phase 1: Preparation +1. **Audit Current Error Handling** + ```bash + # Find all axios usage + grep -r "axios\." src/ + grep -r "\.catch" src/ + grep -r "interceptors" src/ + ``` + +2. **Identify Patterns** + - Response interceptors that handle errors + - Components that rely on centralized error handling + - Authentication and retry logic + +3. **Create Test Cases** + ```javascript + // Test current error handling behavior + describe('Error Handling Migration', () => { + it('should handle 401 errors consistently', async () => { + // Test authentication error flows + }); + + it('should handle 500 errors with user feedback', async () => { + // Test server error handling + }); + }); + ``` + +#### Phase 2: Implementation +1. **Update Dependencies** + ```bash + npm update axios + ``` + +2. **Implement New Error Handling** + - Choose one of the strategies above + - Update response interceptors + - Add error handling to API calls + +3. **Update Authentication Logic** + ```javascript + // 0.x pattern + axios.interceptors.response.use(null, error => { + if (error.response?.status === 401) { + logout(); + // Error was "handled" + } + }); + + // 1.x pattern + axios.interceptors.response.use( + response => response, + error => { + if (error.response?.status === 401) { + logout(); + } + return Promise.reject(error); // Always propagate + } + ); + ``` + +#### Phase 3: Testing and Validation +1. **Test Error Scenarios** + - Network failures + - HTTP error codes (401, 403, 404, 500, etc.) + - Timeout errors + - JSON parsing errors + +2. **Validate User Experience** + - Error messages are shown appropriately + - Authentication redirects work + - Loading states are handled correctly + +### Gradual Migration Approach + +For large applications, consider gradual migration: + +```javascript +// Create a compatibility layer +const axiosCompat = { + // Use new axios instance for new code + v1: axios.create({ + // 1.x configuration + }), + + // Wrapper for legacy code + legacy: createLegacyWrapper(axios.create({ + // Configuration that mimics 0.x behavior + })) +}; + +function createLegacyWrapper(axiosInstance) { + // Add interceptors that provide 0.x-like behavior + axiosInstance.interceptors.response.use( + response => response, + error => { + // Handle errors in 0.x style for legacy code + handleLegacyError(error); + // Don't propagate certain errors + if (shouldSuppressError(error)) { + return Promise.resolve({ data: null, error: true }); + } + return Promise.reject(error); + } + ); + + return axiosInstance; +} +``` + +## Common Patterns + +### Authentication Interceptors + +#### Updated Authentication Pattern +```javascript +// Token refresh interceptor for 1.x +let isRefreshing = false; +let refreshSubscribers = []; + +function subscribeTokenRefresh(cb) { + refreshSubscribers.push(cb); +} + +function onTokenRefreshed(token) { + refreshSubscribers.forEach(cb => cb(token)); + refreshSubscribers = []; +} + +axios.interceptors.response.use( + response => response, + async error => { + const originalRequest = error.config; + + if (error.response?.status === 401 && !originalRequest._retry) { + if (isRefreshing) { + // Wait for token refresh + return new Promise(resolve => { + subscribeTokenRefresh(token => { + originalRequest.headers.Authorization = `Bearer ${token}`; + resolve(axios(originalRequest)); + }); + }); + } + + originalRequest._retry = true; + isRefreshing = true; + + try { + const newToken = await refreshToken(); + onTokenRefreshed(newToken); + isRefreshing = false; + + originalRequest.headers.Authorization = `Bearer ${newToken}`; + return axios(originalRequest); + } catch (refreshError) { + isRefreshing = false; + logout(); + return Promise.reject(refreshError); + } + } + + return Promise.reject(error); + } +); +``` + +### Retry Logic + +```javascript +// Retry interceptor for 1.x +function createRetryInterceptor(maxRetries = 3, retryDelay = 1000) { + return axios.interceptors.response.use( + response => response, + async error => { + const config = error.config; + + if (!config || !config.retry) { + return Promise.reject(error); + } + + config.__retryCount = config.__retryCount || 0; + + if (config.__retryCount >= maxRetries) { + return Promise.reject(error); + } + + config.__retryCount += 1; + + // Exponential backoff + const delay = retryDelay * Math.pow(2, config.__retryCount - 1); + await new Promise(resolve => setTimeout(resolve, delay)); + + return axios(config); + } + ); +} + +// Usage +const api = axios.create(); +createRetryInterceptor(3, 1000); + +// Make request with retry +api.get('/api/data', { retry: true }); +``` + +### Loading State Management + +```javascript +// Loading interceptor for 1.x +class LoadingManager { + constructor() { + this.requests = new Set(); + this.setupInterceptors(); + } + + setupInterceptors() { + axios.interceptors.request.use(config => { + this.requests.add(config); + this.updateLoadingState(); + return config; + }); + + axios.interceptors.response.use( + response => { + this.requests.delete(response.config); + this.updateLoadingState(); + return response; + }, + error => { + this.requests.delete(error.config); + this.updateLoadingState(); + return Promise.reject(error); + } + ); + } + + updateLoadingState() { + const isLoading = this.requests.size > 0; + // Update your loading UI + document.body.classList.toggle('loading', isLoading); + } +} + +const loadingManager = new LoadingManager(); +``` + +## Troubleshooting + +### Common Migration Issues + +#### Issue 1: Unhandled Promise Rejections + +**Problem:** +```javascript +// This pattern worked in 0.x but causes unhandled rejections in 1.x +axios.get('/api/data'); // No .catch() handler +``` + +**Solution:** +```javascript +// Always handle promises +axios.get('/api/data') + .catch(error => { + // Handle error appropriately + console.error('Request failed:', error.message); + }); + +// Or use async/await with try/catch +async function fetchData() { + try { + const response = await axios.get('/api/data'); + return response.data; + } catch (error) { + console.error('Request failed:', error.message); + return null; + } +} +``` + +#### Issue 2: Response Interceptors Not "Handling" Errors + +**Problem:** +```javascript +// 0.x style - interceptor "handled" errors +axios.interceptors.response.use(null, error => { + showErrorMessage(error.message); + // Error was considered "handled" +}); +``` + +**Solution:** +```javascript +// 1.x style - explicitly control error propagation +axios.interceptors.response.use( + response => response, + error => { + showErrorMessage(error.message); + + // Choose whether to propagate the error + if (shouldPropagateError(error)) { + return Promise.reject(error); + } + + // Return success-like response for "handled" errors + return Promise.resolve({ + data: null, + handled: true, + error: normalizeError(error) + }); + } +); +``` + +#### Issue 3: JSON Parsing Errors + +**Problem:** +```javascript +// 1.x is stricter about JSON parsing +// This might throw where 0.x was lenient +const data = response.data; +``` + +**Solution:** +```javascript +// Add response transformer for better error handling +axios.defaults.transformResponse = [ + function (data) { + if (typeof data === 'string') { + try { + return JSON.parse(data); + } catch (e) { + // Handle JSON parsing errors gracefully + console.warn('Invalid JSON response:', data); + return { error: 'Invalid JSON', rawData: data }; + } + } + return data; + } +]; +``` + +#### Issue 4: TypeScript Errors After Upgrade + +**Problem:** +```typescript +// TypeScript errors after upgrade +const response = await axios.get('/api/data'); +// Property 'someProperty' does not exist on type 'any' +``` + +**Solution:** +```typescript +// Define proper interfaces +interface ApiResponse { + data: any; + message: string; + success: boolean; +} + +const response = await axios.get('/api/data'); +// Now properly typed +console.log(response.data.data); +``` + +### Debug Migration Issues + +#### Enable Debug Logging +```javascript +// Add request/response logging +axios.interceptors.request.use(config => { + console.log('Request:', config); + return config; +}); + +axios.interceptors.response.use( + response => { + console.log('Response:', response); + return response; + }, + error => { + console.log('Error:', error); + return Promise.reject(error); + } +); +``` + +#### Compare Behavior +```javascript +// Create side-by-side comparison during migration +const axios0x = require('axios-0x'); // Keep old version for testing +const axios1x = require('axios'); + +async function compareRequests(config) { + try { + const [result0x, result1x] = await Promise.allSettled([ + axios0x(config), + axios1x(config) + ]); + + console.log('0.x result:', result0x); + console.log('1.x result:', result1x); + } catch (error) { + console.log('Comparison error:', error); + } +} +``` + +## Resources + +### Official Documentation +- [Axios 1.x Documentation](https://axios-http.com/) +- [Axios GitHub Repository](https://github.com/axios/axios) +- [Axios Changelog](https://github.com/axios/axios/blob/main/CHANGELOG.md) + +### Migration Tools +- [Axios Migration Codemod](https://github.com/axios/axios-migration-codemod) *(if available)* +- [ESLint Rules for Axios 1.x](https://github.com/axios/eslint-plugin-axios) *(if available)* + +### Community Resources +- [Stack Overflow - Axios Migration Questions](https://stackoverflow.com/questions/tagged/axios+migration) +- [GitHub Discussions](https://github.com/axios/axios/discussions) +- [Axios Discord Community](https://discord.gg/axios) *(if available)* + +### Related Issues +- [Error Handling Changes Discussion](https://github.com/axios/axios/issues/7208) +- [Migration Guide Request](https://github.com/axios/axios/issues/xxxx) *(link to related issues)* + +--- + +## Need Help? + +If you encounter issues during migration that aren't covered in this guide: + +1. **Search existing issues** in the [Axios GitHub repository](https://github.com/axios/axios/issues) +2. **Ask questions** in [GitHub Discussions](https://github.com/axios/axios/discussions) +3. **Contribute improvements** to this migration guide + +--- + +*This migration guide is maintained by the community. If you find errors or have suggestions, please [open an issue](https://github.com/axios/axios/issues) or submit a pull request.* \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/README.md b/Lombiq.EInvoiceValidator/node_modules/axios/README.md new file mode 100644 index 0000000..7c3fa71 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/README.md @@ -0,0 +1,2559 @@ +

💎 Platinum sponsors

+ + + + + +
+ + Thanks.dev + +

+ We're passionate about making open source sustainable. Scan your dependency tree to better understand which open source projects need funding. +

+

+ thanks.dev +

+
+ 💜 Become a sponsor +
+ + + + + +
+ 💜 Become a sponsor + + 💜 Become a sponsor +
+

🥇 Gold sponsors

+ + + + + + + + + + + + + + + + +
+ + Principal Financial Group + +

+ Free tools to help with your financial planning needs! +

+

+ principal.com +

+
+ + SAP + +

+ BSAP SE, a global software company, is one of the largest vendors of ERP and other enterprise applications. +

+

+ opensource.sap.com +

+
+ + Descope + +

+ Reduce user friction, prevent account takeover, and get a 360° view of your customer and agentic identities with the Descope External IAM platform. +

+

+ descope.com +

+
+ + Stytch + +

+ The identity platform for humans & AI agents +

+

+ stytch.com +

+
+ + RxDB + +

+ RxDB is a NoSQL database for JavaScript that runs directly in your app. +

+

+ rxdb.info +

+
+ + Poprey + +

+ Buy Instagram Likes +

+

+ poprey.com +

+
+ + Buzzoid - Buy Instagram Followers + +

+ At Buzzoid, you can buy Instagram followers through a short checkout flow with safety controls. Rated world's #1 IG service since 2012. +

+

+ buzzoid.com +

+
+ + Buy Instagram Followers Twicsy + +

+ Buy real Instagram followers from Twicsy. Twicsy has been voted the best site to buy followers from the likes of US Magazine. +

+

+ twicsy.com +

+
+ + Fun 88 + +

+ Fun88 is a global online gambling and betting brand founded in 2009, offering a wide range of services including sports betting, live casino games, slots, and virtual gaming. +

+

+ global.fun88.com +

+
+ + + +

+ +
+ Axios
+
+ +

Promise based HTTP client for the browser and node.js

+ +

+ Website • + Documentation +

+ +
+ +[![npm version](https://img.shields.io/npm/v/axios.svg?style=flat-square)](https://www.npmjs.org/package/axios) +[![Build status](https://img.shields.io/github/actions/workflow/status/axios/axios/ci.yml?branch=v1.x&label=CI&logo=github&style=flat-square)](https://github.com/axios/axios/actions/workflows/ci.yml) +[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/axios/axios) +[![install size](https://img.shields.io/badge/dynamic/json?url=https://packagephobia.com/v2/api.json?p=axios&query=$.install.pretty&label=install%20size&style=flat-square)](https://packagephobia.now.sh/result?p=axios) +[![npm bundle size](https://img.shields.io/bundlephobia/minzip/axios?style=flat-square)](https://bundlephobia.com/package/axios@latest) +[![npm downloads](https://img.shields.io/npm/dm/axios.svg?style=flat-square)](https://npm-stat.com/charts.html?package=axios) +[![gitter chat](https://img.shields.io/gitter/room/mzabriskie/axios.svg?style=flat-square)](https://gitter.im/mzabriskie/axios) +[![code helpers](https://www.codetriage.com/axios/axios/badges/users.svg)](https://www.codetriage.com/axios/axios) +[![Contributors](https://img.shields.io/github/contributors/axios/axios.svg?style=flat-square)](CONTRIBUTORS.md) +[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/axios/axios.svg)](https://agentfriendlycode.com/repo/32) + +
+ +## Table of contents + +- [Features](#features) +- [Browser support](#browser-support) +- [Installing](#installing) + - [Package manager](#package-manager) + - [CDN](#cdn) +- [Example](#example) +- [Axios API](#axios-api) +- [Request method aliases](#request-method-aliases) +- [Concurrency](#concurrency-deprecated) +- [Creating an instance](#creating-an-instance) +- [Instance methods](#instance-methods) +- [Request config](#request-config) +- [Response schema](#response-schema) +- [Config defaults](#config-defaults) + - [Global axios defaults](#global-axios-defaults) + - [Custom instance defaults](#custom-instance-defaults) + - [Config order of precedence](#config-order-of-precedence) +- [Interceptors](#interceptors) + - [Multiple interceptors](#multiple-interceptors) +- [Handling errors](#handling-errors) +- [Handling timeouts](#handling-timeouts) +- [Cancellation](#cancellation) + - [AbortController](#abortcontroller) + - [CancelToken](#canceltoken-deprecated) +- [Using application/x-www-form-urlencoded format](#using-applicationx-www-form-urlencoded-format) + - [URLSearchParams](#urlsearchparams) + - [Query string](#query-string-older-browsers) + - [Automatic serialization](#automatic-serialization-to-urlsearchparams) +- [Using multipart/form-data format](#using-multipartform-data-format) + - [FormData](#formdata) + - [Automatic serialization](#automatic-serialization-to-formdata) +- [Posting files](#posting-files) +- [HTML form posting](#html-form-posting-browser) +- [Progress capturing](#progress-capturing) +- [Rate limiting](#rate-limiting) +- [AxiosHeaders](#axiosheaders) +- [Fetch adapter](#fetch-adapter) + - [Custom fetch](#custom-fetch) + - [Using with Tauri](#using-with-tauri) + - [Using with SvelteKit](#using-with-sveltekit) +- [HTTP/2 support](#http2-support) +- [Semver](#semver) +- [Promises](#promises) +- [TypeScript](#typescript) +- [Contributing](#contributing) + - [Local setup](#local-setup) +- [Resources](#resources) +- [Credits](#credits) +- [License](#license) + +## Features + +- Make [XMLHttpRequests](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) from the browser. +- Make [http](https://nodejs.org/api/http.html) requests from Node.js. +- Use the [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) API for asynchronous request handling. +- Intercept requests and responses to add custom logic or transform data. +- Transform request and response data. +- Cancel requests with built-in cancellation APIs. +- Serialize and parse [JSON](https://www.json.org/json-en.html) data. +- Serialize data objects to `multipart/form-data` or `application/x-www-form-urlencoded`. +- Add client-side protection against [Cross-Site Request Forgery](https://en.wikipedia.org/wiki/Cross-site_request_forgery). + +## Browser support + +| Chrome | Firefox | Safari | Opera | Edge | +| :------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------: | +| ![Chrome browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome/chrome_48x48.png) | ![Firefox browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/firefox/firefox_48x48.png) | ![Safari browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/safari/safari_48x48.png) | ![Opera browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/opera/opera_48x48.png) | ![Edge browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge/edge_48x48.png) | +| Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | + +[![Browser Matrix](https://saucelabs.com/open_sauce/build_matrix/axios.svg)](https://saucelabs.com/u/axios) + +## Installing + +### Package manager + +Using npm: + +```bash +$ npm install axios +``` + +Using yarn: + +```bash +$ yarn add axios +``` + +Using pnpm: + +```bash +$ pnpm add axios +``` + +Using bun: + +```bash +$ bun add axios +``` + +Using Deno: + +```bash +$ deno add axios +``` + +Once the package is installed, import it with `import` or `require`: + +```js +import axios, { isCancel, AxiosError } from 'axios'; +``` + +You can also use the default export, since the named export is just a re-export from the Axios factory: + +```js +import axios from 'axios'; + +console.log(axios.isCancel('something')); +``` + +If you use `require` for importing, **only the default export is available**: + +```js +const axios = require('axios'); + +console.log(axios.isCancel('something')); +``` + +Some bundlers and ES6 linters need this form: + +```js +import { default as axios } from 'axios'; +``` + +In custom or legacy environments, you can import the bundle directly: + +```js +const axios = require('axios/dist/browser/axios.cjs'); // browser commonJS bundle (ES2017) +// const axios = require('axios/dist/node/axios.cjs'); // node commonJS bundle (ES2017) +``` + +### CDN + +Using jsDelivr CDN (ES5 UMD browser module): + +```html + +``` + +Using unpkg CDN: + +```html + +``` + +## Example + +```js +import axios from 'axios'; +//const axios = require('axios'); // legacy way + +try { + const response = await axios.get('/user?ID=12345'); + console.log(response); +} catch (error) { + console.error(error); +} + +// Optionally the request above could also be done as +axios + .get('/user', { + params: { + ID: 12345, + }, + timeout: 5000, // 5 seconds. See "Handling Timeouts" below for matching error handling + }) + .then(function (response) { + console.log(response); + }) + .catch(function (error) { + console.log(error); + }) + .finally(function () { + // always executed + }); + +// Want to use async/await? Add the `async` keyword to your outer function/method. +async function getUser() { + try { + // Example: GET request with query parameters + const response = await axios.get('/user', { + params: { + ID: 12345, + }, + }); + + // Using the `params` option improves readability and automatically formats query strings + + console.log(response); + } catch (error) { + console.error(error); + } +} +``` + +> Note: Set a `timeout` in production. Without one, a stalled request can hang +> indefinitely. See [Handling Timeouts](#handling-timeouts) for the matching error handling. + +> Note: `async/await` is part of ECMAScript 2017 and is not supported in Internet +> Explorer and older browsers, so use with caution. + +Performing a `POST` request + +```js +const response = await axios.post('/user', { + firstName: 'Fred', + lastName: 'Flintstone', +}); +console.log(response); +``` + +Performing multiple concurrent requests + +```js +function getUserAccount() { + return axios.get('/user/12345'); +} + +function getUserPermissions() { + return axios.get('/user/12345/permissions'); +} + +Promise.all([getUserAccount(), getUserPermissions()]).then(function (results) { + const acct = results[0]; + const perm = results[1]; +}); +``` + +## axios API + +Requests can be made by passing the relevant config to `axios`. + +##### axios(config) + +```js +// Send a POST request +axios({ + method: 'post', + url: '/user/12345', + data: { + firstName: 'Fred', + lastName: 'Flintstone', + }, +}); +``` + +```js +// GET request for remote image in node.js +const response = await axios({ + method: 'get', + url: 'https://bit.ly/2mTM3nY', + responseType: 'stream', +}); +response.data.pipe(fs.createWriteStream('ada_lovelace.jpg')); +``` + +##### axios(url[, config]) + +```js +// Send a GET request (default method) +axios('/user/12345'); +``` + +### Request method aliases + +For convenience, aliases have been provided for all common request methods. + +##### axios.request(config) + +##### axios.get(url[, config]) + +##### axios.delete(url[, config]) + +##### axios.head(url[, config]) + +##### axios.options(url[, config]) + +##### axios.post(url[, data[, config]]) + +##### axios.put(url[, data[, config]]) + +##### axios.patch(url[, data[, config]]) + +###### Note + +When using the alias methods `url`, `method`, and `data` properties don't need to be specified in config. + +### Concurrency (deprecated) + +Use `Promise.all` instead of these helpers. + +Helper functions for dealing with concurrent requests. + +axios.all(iterable) +axios.spread(callback) + +### Creating an instance + +You can create a new instance of axios with a custom config. + +##### axios.create([config]) + +```js +const instance = axios.create({ + baseURL: 'https://some-domain.com/api/', + timeout: 1000, + headers: { 'X-Custom-Header': 'foobar' }, +}); +``` + +### Instance methods + +The following instance methods are available. Axios merges the specified config with the instance config. + +##### axios#request(config) + +##### axios#get(url[, config]) + +##### axios#delete(url[, config]) + +##### axios#head(url[, config]) + +##### axios#options(url[, config]) + +##### axios#post(url[, data[, config]]) + +##### axios#put(url[, data[, config]]) + +##### axios#patch(url[, data[, config]]) + +##### axios#getUri([config]) + +## Request config + +### Security notice: decompression-bomb protection is opt-in + +By default `maxContentLength` and `maxBodyLength` are `-1` (unlimited). A malicious or compromised server can return a tiny gzip/deflate/brotli/zstd body that expands to gigabytes and exhaust the Node.js process. + +If you call servers you do not fully trust, **set a cap**: + +```js +axios.defaults.maxContentLength = 10 * 1024 * 1024; // 10 MB +axios.defaults.maxBodyLength = 10 * 1024 * 1024; +``` + +See the [security guide](https://axios.rest/pages/misc/security.html) for details. + +These config options are available for requests. Only `url` is required. Requests default to `GET` when `method` is not set. + +```js +{ + // `url` is the server URL for the request + url: '/user', + + // `method` is the request method to be used when making the request + method: 'get', // default + + // Axios prepends `baseURL` to `url` unless `url` is absolute and `allowAbsoluteUrls` is set to true. + // It can be convenient to set `baseURL` for an instance of axios to pass relative URLs + // to the methods of that instance. + baseURL: 'https://some-domain.com/api/', + + // `allowAbsoluteUrls` determines whether or not absolute URLs will override a configured `baseUrl`. + // When set to true (default), absolute values for `url` will override `baseUrl`. + // When set to false, absolute values for `url` will always be prepended by `baseUrl`. + allowAbsoluteUrls: true, + + // `transformRequest` allows changes to the request data before it is sent to the server + // This is only applicable for request methods 'PUT', 'POST', 'PATCH' and 'DELETE' + // The last function in the array must return a string or an instance of Buffer, ArrayBuffer, + // FormData or Stream + // You may modify the headers object. + transformRequest: [function (data, headers) { + // Do whatever you want to transform the data + + return data; + }], + + // `transformResponse` allows changes to the response data to be made before + // it is passed to then/catch + transformResponse: [function (data) { + // Do whatever you want to transform the data + + return data; + }], + + // `parseReviver` is an optional function passed as the + // second argument (reviver) to JSON.parse() + parseReviver: function (key, value, context) { + // In modern environments, context.source provides the raw JSON string + // allowing for precision-safe parsing of BigInt + if (typeof value === 'number' && context?.source) { + const isInteger = Number.isInteger(value); + const isUnsafe = !Number.isSafeInteger(value); + const isValidIntegerString = /^-?\d+$/.test(context.source); + + if (isInteger && isUnsafe && isValidIntegerString) { + try { + return BigInt(context.source); + } catch { + // Fallback: return original value if parsing fails + } + } + } + return value; + }, + + // `headers` are custom headers to be sent + headers: {'X-Requested-With': 'XMLHttpRequest'}, + + // `params` are the URL parameters to be sent with the request + // Must be a plain object or a URLSearchParams object + params: { + ID: 12345 + }, + + // `paramsSerializer` is an optional config that allows you to customize serializing `params`. + paramsSerializer: { + + // Custom encoder function which sends key/value pairs in an iterative fashion. + encode?: (param: string): string => { /* Do custom operations here and return transformed string */ }, + + // Custom serializer function for the entire parameter. Allows the user to mimic pre 1.x behaviour. + serialize?: (params: Record, options?: ParamsSerializerOptions ), + + // Configuration for formatting array indexes in the params. + indexes: false, // Three available options: (1) indexes: null (leads to no brackets), (2) (default) indexes: false (leads to empty brackets), (3) indexes: true (leads to brackets with indexes). + + // Maximum object nesting depth when serializing params. Payloads deeper than this throw an + // AxiosError with code ERR_FORM_DATA_DEPTH_EXCEEDED. Default: 100. Set to Infinity to disable. + maxDepth: 100 + + }, + + // `data` is the data to be sent as the request body + // Only applicable for request methods 'PUT', 'POST', 'DELETE', and 'PATCH' + // `data` is request-specific: axios does not inherit or deep-merge it from defaults. + // To add shared body fields, use a request interceptor or transformRequest. + // When no `transformRequest` is set, it must be of one of the following types: + // - string, plain object, ArrayBuffer, ArrayBufferView, URLSearchParams + // - Browser only: FormData, File, Blob + // - React Native: FormData + // - Node only: Stream, Buffer, FormData (form-data package) + data: { + firstName: 'Fred' + }, + + // `formDataHeaderPolicy` controls how node.js FormData#getHeaders() is copied. + // 'legacy' (default) copies all returned headers for v1 compatibility. + // 'content-only' copies only Content-Type and Content-Length. + formDataHeaderPolicy: 'legacy', + + // syntax alternative to send data into the body + // method post + // only the value is sent, not the key + data: 'Country=Brasil&City=Belo Horizonte', + + // `timeout` specifies the number of milliseconds before the request times out. + // If the request takes longer than `timeout`, Axios aborts it. + timeout: 1000, // default is `0` (no timeout) + + // `withCredentials` indicates whether or not cross-site Access-Control requests + // should be made using credentials + // This only controls whether the browser sends credentials. + // It does not control whether the XSRF header is added. + withCredentials: false, // default + + // `adapter` allows custom handling of requests which makes testing easier. + // Return a promise and supply a valid response (see lib/adapters/README.md) + adapter: function (config) { + /* ... */ + }, + // Also, you can set the name of the built-in adapter, or provide an array with their names + // to choose the first available in the environment + adapter: 'xhr', // 'fetch' | 'http' | ['xhr', 'http', 'fetch'] + + // `auth` indicates that HTTP Basic auth should be used, and supplies credentials. + // This will set an `Authorization` header, overwriting any existing + // `Authorization` custom headers you have set using `headers`. + // If `auth` is omitted, the Node.js HTTP and fetch adapters can read + // HTTP Basic auth credentials from the request URL, for example + // `https://user:pass@example.com`. Axios decodes percent-encoded URL + // credentials, and `auth` takes precedence over URL-embedded credentials. + // The Node.js HTTP adapter preserves Basic auth on same-origin redirects + // and strips it on cross-origin redirects. + // Please note that only HTTP Basic auth is configurable through this parameter. + // For Bearer tokens and such, use `Authorization` custom headers instead. + auth: { + username: 'janedoe', + password: 's00pers3cret' + }, + + // `responseType` indicates the type of data that the server will respond with + // options are: 'arraybuffer', 'document', 'json', 'text', 'stream' + // browser only: 'blob' + responseType: 'json', // default + + // `responseEncoding` indicates encoding to use for decoding responses (Node.js only) + // Note: Ignored for `responseType` of 'stream' or client-side requests + // options are: 'ascii', 'ASCII', 'ansi', 'ANSI', 'binary', 'BINARY', 'base64', 'BASE64', 'base64url', + // 'BASE64URL', 'hex', 'HEX', 'latin1', 'LATIN1', 'ucs-2', 'UCS-2', 'ucs2', 'UCS2', 'utf-8', 'UTF-8', + // 'utf8', 'UTF8', 'utf16le', 'UTF16LE' + responseEncoding: 'utf8', // default + + // `xsrfCookieName` is the name of the cookie to use as a value for the xsrf token + xsrfCookieName: 'XSRF-TOKEN', // default + + // `xsrfHeaderName` is the name of the http header that carries the xsrf token value + xsrfHeaderName: 'X-XSRF-TOKEN', // default + + // `withXSRFToken` defines whether to send the XSRF header in browser requests. + // `undefined` (default) - set XSRF header only for the same origin requests + // `true` - always set XSRF header, including for cross-origin requests + // `false` - never set XSRF header + // function - resolve with custom logic; receives the internal config object + withXSRFToken: boolean | undefined | ((config: InternalAxiosRequestConfig) => boolean | undefined), + + // `withXSRFToken` controls whether Axios reads the XSRF cookie and sets the XSRF header. + // - `undefined` (default): the XSRF header is set only for same-origin requests. + // - `true`: attempt to set the XSRF header for all requests (including cross-origin). + // - `false`: never set the XSRF header. + // - function: a callback that receives the request `config` and returns `true`, + // `false`, or `undefined` to decide per-request behavior. + // + // Note about `withCredentials`: `withCredentials` controls whether cross-site + // requests include credentials (cookies and HTTP auth). In older Axios versions, + // setting `withCredentials: true` implicitly caused Axios to set the XSRF header + // for cross-origin requests. Newer Axios separates these concerns: to allow the + // XSRF header to be sent for cross-origin requests you should set both + // `withCredentials: true` and `withXSRFToken: true`. + // + // Example: + // axios.get('/user', { withCredentials: true, withXSRFToken: true }); + + // `onUploadProgress` allows handling of progress events for uploads + // browser & node.js + onUploadProgress: function ({loaded, total, progress, bytes, estimated, rate, upload = true}) { + // Do whatever you want with the Axios progress event + }, + + // `onDownloadProgress` allows handling of progress events for downloads + // browser & node.js + onDownloadProgress: function ({loaded, total, progress, bytes, estimated, rate, download = true}) { + // Do whatever you want with the Axios progress event + }, + + // `maxContentLength` defines the max size of the response content in bytes. + // It is enforced by the Node.js HTTP adapter and the fetch adapter. + maxContentLength: 2000, + + // `maxBodyLength` defines the max size of the request content in bytes. + // It is enforced by the Node.js HTTP adapter and the fetch adapter when the body length can be determined. + maxBodyLength: 2000, + + // `redact` masks matching config keys when AxiosError#toJSON() is called. + // Matching is case-insensitive and recursive. It does not change the request. + redact: ['authorization', 'password'], + + // `validateStatus` defines whether to resolve or reject the promise for a given + // HTTP response status code. If `validateStatus` returns `true` or is set to + // `null`, Axios resolves the promise; otherwise, Axios rejects it. + // Explicit `validateStatus: undefined` resolves every status by default for + // backward compatibility. Set `transitional.validateStatusUndefinedResolves` + // to `false` to make explicit `undefined` behave as if this option was omitted. + validateStatus: function (status) { + return status >= 200 && status < 300; // default + }, + + // `maxRedirects` defines the maximum number of redirects to follow in node.js. + // If set to 0, Axios follows no redirects. + maxRedirects: 21, // default + + // `sensitiveHeaders` (Node only option) lists custom secret-bearing headers + // (such as `X-API-Key`) to remove from cross-origin redirects. Matching is + // case-insensitive. Same-origin redirects keep these headers. If + // `maxRedirects` is 0, this option is not used. + sensitiveHeaders: ['X-API-Key'], + + // `beforeRedirect` defines a function that Axios calls before redirect. + // Use this to adjust the request options upon redirecting, + // to inspect the latest response headers, + // or to cancel the request by throwing an error + // If maxRedirects is set to 0, `beforeRedirect` is not used. + + beforeRedirect: (options, { headers }) => { + if ( + options.hostname === "example.com" && + options.protocol === "https:" + ) { + options.auth = "user:password"; + } + }, + // Security note: + // The `beforeRedirect` hook runs after sensitive headers are stripped during redirects. + // `follow-redirects` removes credentials on protocol downgrades + // (HTTPS to HTTP). Because `beforeRedirect` runs after that step, + // re-injecting credentials without checking the destination can expose + // sensitive data. Only add credentials for trusted HTTPS destinations. + + // `socketPath` defines a UNIX Socket to be used in node.js. + // e.g. '/var/run/docker.sock' to send requests to the docker daemon. + // Only either `socketPath` or `proxy` can be specified. + // If both are specified, `socketPath` is used. + // + // Security: when `socketPath` is set, hostname/port of the URL are ignored, + // which bypasses hostname-based SSRF protections. Never derive `socketPath` + // from untrusted input. Use `allowedSocketPaths` (below) to restrict accepted + // socket paths for defense-in-depth. + socketPath: null, // default + + // `allowedSocketPaths` restricts which `socketPath` values are accepted. + // Accepts a string or array of strings. Entries and the incoming socketPath + // are compared after path.resolve(). A mismatch throws AxiosError with code + // `ERR_BAD_OPTION_VALUE`. When null/undefined, no restriction is applied. + allowedSocketPaths: null, // default + + // `transport` determines the transport method for the request. + // If defined, Axios uses it. Otherwise, if `maxRedirects` is 0, + // Axios uses the default `http` or `https` library, depending on the protocol specified in `protocol`. + // Otherwise, Axios uses the `httpFollow` or `httpsFollow` library, again depending on the protocol, + // which can handle redirects. + transport: undefined, // default + + // `httpAgent` and `httpsAgent` define a custom agent to be used when performing http + // and https requests, respectively, in node.js. This allows options to be added like + // `keepAlive` that are not enabled by default before Node.js v19.0.0. After Node.js + // v19.0.0, you no longer need to customize the agent to enable `keepAlive` because + // `http.globalAgent` has `keepAlive` enabled by default. + httpAgent: new http.Agent({ keepAlive: true }), + httpsAgent: new https.Agent({ keepAlive: true }), + + // `proxy` defines the hostname, port, and protocol of the proxy server. + // You can also define your proxy using the conventional `http_proxy` and + // `https_proxy` environment variables. If you are using environment variables + // for your proxy configuration, you can also define a `no_proxy` environment + // variable as a comma-separated list of domains that should not be proxied. + // Use `false` to disable proxies, ignoring environment variables. + // On Node.js versions with native environment proxy support, axios defers + // environment proxy handling to Node when the selected agent has `proxyEnv` + // enabled, including processes started with `NODE_USE_ENV_PROXY=1`, + // `--use-env-proxy`, or `NODE_OPTIONS=--use-env-proxy`. Custom agents without + // `proxyEnv` continue to use axios environment proxy resolution. Explicit + // `proxy` config is still handled by axios. + // `auth` indicates that HTTP Basic auth should be used to connect to the proxy, and + // supplies credentials. + // For `http://` targets, axios sends the request to the proxy in + // forward-proxy mode and stamps `Proxy-Authorization` onto the request + // headers (overwriting any user-supplied `Proxy-Authorization` header). + // For `https://` targets, axios establishes a CONNECT tunnel through the + // proxy and performs TLS end-to-end with the origin; `Proxy-Authorization` + // is sent on the CONNECT request only, never on the wrapped TLS request, + // so the proxy never sees the URL, headers, or body. Axios forwards + // `httpsAgent` TLS options such as `ca`, `cert`, `key`, and + // `rejectUnauthorized` to the generated tunneling agent, so they still apply + // to the origin TLS connection. + // If you supply an `HttpsProxyAgent`, axios leaves tunneling to that agent. + // If the proxy server uses HTTPS, then you must set the protocol to `https`. + // A user-supplied `Host` header in `headers` is preserved when forwarding + // through a proxy (case-insensitive match on `host`/`Host`/`HOST`); this + // lets you target a virtual host that differs from the request URL, for + // example, hitting `127.0.0.1:4000` while having the proxy treat the + // request as `example.com`. If no `Host` header is supplied, axios + // defaults it to the request URL's `hostname:port` as before. The Host + // header is only set in forward-proxy mode (HTTP targets); for HTTPS + // tunneling the Host header is sent inside the TLS connection, not seen + // by the proxy. + proxy: { + protocol: 'https', + host: '127.0.0.1', + // hostname: '127.0.0.1' // Takes precedence over 'host' if both are defined + port: 9000, + auth: { + username: 'mikeymike', + password: 'rapunz3l' + } + }, + + // `cancelToken` specifies a cancel token that can be used to cancel the request + // (see Cancellation section below for details) + cancelToken: new CancelToken(function (cancel) { + }), + + // an alternative way to cancel Axios requests using AbortController + signal: new AbortController().signal, + + // `decompress` indicates whether or not the response body should be decompressed + // automatically. If set to `true` will also remove the 'content-encoding' header + // from the responses objects of all decompressed responses + // Axios supports gzip, deflate, brotli, and zstd when the current Node.js + // runtime provides the corresponding zlib decompressor. + // - Node only (XHR cannot turn off decompression) + decompress: true, // default + + // `insecureHTTPParser` boolean. + // Indicates where to use an insecure HTTP parser that accepts invalid HTTP headers. + // This may allow interoperability with non-conformant HTTP implementations. + // Using the insecure parser should be avoided. + // see options https://nodejs.org/dist/latest-v12.x/docs/api/http.html#http_http_request_url_options_callback + // see also https://nodejs.org/en/blog/vulnerability/february-2020-security-releases/#strict-http-header-parsing-none + insecureHTTPParser: undefined, // default + + // transitional options for backward compatibility that may be removed in the newer versions + transitional: { + // silent JSON parsing mode + // `true` - ignore JSON parsing errors and set response.data to null if parsing failed (old behaviour) + // `false` - throw SyntaxError if JSON parsing failed + // Important: this option only takes effect when `responseType` is explicitly set to 'json'. + // When `responseType` is omitted (defaults to no value), axios uses `forcedJSONParsing` + // to attempt JSON parsing, but will silently return the raw string on failure regardless + // of this setting. To have invalid JSON throw errors, use: + // { responseType: 'json', transitional: { silentJSONParsing: false } } + silentJSONParsing: true, // default value for the current Axios version + + // try to parse the response string as JSON even if `responseType` is not 'json' + forcedJSONParsing: true, + + // throw ETIMEDOUT error instead of generic ECONNABORTED on request timeouts + clarifyTimeoutError: false, + + // keep explicit `validateStatus: undefined` resolving every response status + // for backward compatibility. Set to false to make explicit undefined behave + // as if validateStatus was omitted. + validateStatusUndefinedResolves: true, + + // advertise `zstd` in the default Accept-Encoding header when the current + // Node.js runtime supports zstd decompression. Axios still decompresses + // zstd responses when support exists and `decompress` is true. + advertiseZstdAcceptEncoding: false, + + // use the legacy interceptor request/response ordering + legacyInterceptorReqResOrdering: true, // default + }, + + env: { + // The FormData class to be used to automatically serialize the payload into a FormData object + FormData: window?.FormData || global?.FormData + }, + + formSerializer: { + visitor: (value, key, path, helpers) => {}; // custom visitor function to serialize form values + dots: boolean; // use dots instead of brackets format + metaTokens: boolean; // keep special endings like {} in parameter key + indexes: boolean; // array indexes format null - no brackets, false - empty brackets, true - brackets with indexes + maxDepth: 100; // maximum object nesting depth; throws AxiosError (ERR_FORM_DATA_DEPTH_EXCEEDED) if exceeded. Set to Infinity to disable. + }, + + // http adapter only (node.js) + maxRate: [ + 100 * 1024, // 100KB/s upload limit, + 100 * 1024 // 100KB/s download limit + ] +} +``` + +For custom secret-bearing headers in Node.js, list them in `sensitiveHeaders` so Axios removes them when following a redirect to another origin: + +```js +axios.get('https://api.example.com/users', { + headers: { 'X-API-Key': 'secret' }, + sensitiveHeaders: ['X-API-Key'], +}); +``` + +### Strict RFC 3986 percent-encoding for query params + +By default, axios decodes `%3A`, `%24`, `%2C` and `%20` back to `:`, `$`, `,` and `+` for readability (the `+` follows the `application/x-www-form-urlencoded` convention for spaces in query strings). These characters are valid in a query component under [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986#section-3.4), so the default output is correct, but some backends require strict percent-encoding and reject the readable form. + +Override the default encoder via `paramsSerializer.encode`: + +```js +// Per-request: emit strict RFC 3986 percent-encoding for query values +axios.get('/foo', { + params: { filter: JSON.stringify({ startedAt: '2026-01-23' }) }, + paramsSerializer: { encode: encodeURIComponent }, +}); + +// Or set it on the instance defaults +const client = axios.create({ + paramsSerializer: { encode: encodeURIComponent }, +}); +``` + +## HTTP/2 support + +Axios has experimental HTTP/2 support in the Node.js HTTP adapter. + +Support depends on the runtime environment and Node.js version. Redirects and some adapter behavior may differ from HTTP/1.1. + +Options like `httpVersion` and `http2Options` are adapter-specific and may not work the same way in every environment. + +If you need HTTP/2, check runtime support or use a custom adapter. + +## Response schema + +The response to a request contains the following information. + +```js +{ + // `data` is the response that was provided by the server + data: {}, + + // `status` is the HTTP status code from the server response + status: 200, + + // `statusText` is the HTTP status message from the server response + statusText: 'OK', + + // `headers` the HTTP headers that the server responded with + // All header names are lowercase and can be accessed using the bracket notation. + // Example: `response.headers['content-type']` + headers: {}, + + // `config` is the config that was provided to `axios` for the request + config: {}, + + // `request` is the request that generated this response + // It is the last ClientRequest instance in node.js (in redirects) + // and an XMLHttpRequest instance in the browser + request: {} +} +``` + +When using `then`, you receive the response like this: + +```js +const response = await axios.get('/user/12345'); +console.log(response.data); +console.log(response.status); +console.log(response.statusText); +console.log(response.headers); +console.log(response.config); +``` + +When using `catch`, or passing a [rejection callback](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/then) as the second parameter of `then`, read the response from the `error` object. See [Handling errors](#handling-errors). + +## Config defaults + +Config defaults apply to every request. + +### Global axios defaults + +```js +axios.defaults.baseURL = 'https://api.example.com'; + +// Important: If you use axios with multiple domains, Axios sends AUTH_TOKEN to all of them. +// See below for an example using Custom instance defaults instead. +axios.defaults.headers.common['Authorization'] = AUTH_TOKEN; + +axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded'; +``` + +### Custom instance defaults + +```js +// Set config defaults when creating the instance +const instance = axios.create({ + baseURL: 'https://api.example.com', +}); + +// Alter defaults after instance has been created +instance.defaults.headers.common['Authorization'] = AUTH_TOKEN; +``` + +### Config order of precedence + +Axios merges config in this order: library defaults from [lib/defaults/index.js](https://github.com/axios/axios/blob/main/lib/defaults/index.js#L49), the instance `defaults` property, and the request `config` argument. Later values take precedence over earlier ones. + +Some options are request-specific and are only taken from the request `config`. `data` is one of those options: axios does not inherit or deep-merge request bodies from global or instance defaults. If every request needs shared body fields, add them with a request interceptor or `transformRequest`, and scope that logic carefully so sensitive values are not sent to the wrong endpoint. + +```js +// Create an instance using the config defaults provided by the library +// At this point the timeout config value is `0` as is the default for the library +const instance = axios.create(); + +// Override timeout default for the library +// Now all requests using this instance will wait 2.5 seconds before timing out +instance.defaults.timeout = 2500; + +// Override timeout for this request as it's known to take a long time +instance.get('/longRequest', { + timeout: 5000, +}); +``` + +## Interceptors + +You can intercept requests or responses before methods like `.get()` or `.post()` +resolve their promises (before code inside `then` or `catch`, or after `await`) + +```js +const instance = axios.create(); + +// Add a request interceptor +instance.interceptors.request.use( + function (config) { + // Do something before the request is sent + return config; + }, + function (error) { + // Do something with the request error + return Promise.reject(error); + } +); + +// Add a response interceptor +instance.interceptors.response.use( + function (response) { + // Any status code that lies within the range of 2xx causes this function to trigger + // Do something with response data + return response; + }, + function (error) { + // Any status codes that fall outside the range of 2xx cause this function to trigger + // Do something with response error + return Promise.reject(error); + } +); +``` + +If you need to remove an interceptor later you can. + +```js +const instance = axios.create(); +const myInterceptor = instance.interceptors.request.use(function () { + /*...*/ +}); +instance.interceptors.request.eject(myInterceptor); +``` + +You can also clear all interceptors for requests or responses. + +```js +const instance = axios.create(); +instance.interceptors.request.use(function () { + /*...*/ +}); +instance.interceptors.request.clear(); // Removes interceptors from requests +instance.interceptors.response.use(function () { + /*...*/ +}); +instance.interceptors.response.clear(); // Removes interceptors from responses +``` + +You can add interceptors to a custom instance of axios. + +```js +const instance = axios.create(); +instance.interceptors.request.use(function () { + /*...*/ +}); +``` + +When you add request interceptors, they are presumed to be asynchronous by default. This can cause a delay +in the execution of your axios request when the main thread is blocked (a promise is created under the hood for +the interceptor and your request gets put at the bottom of the call stack). If your request interceptors are synchronous you can add a flag +to the options object that will tell axios to run the code synchronously and avoid any delays in request execution. + +```js +axios.interceptors.request.use( + function (config) { + config.headers.test = 'I am only a header!'; + return config; + }, + null, + { synchronous: true } +); +``` + +If you want to execute a particular interceptor based on a runtime check, +you can add a `runWhen` function to the options object. The request interceptor will not run **if and only if** the return +of `runWhen` is `false`. Axios calls the function with the config +object (don't forget that you can bind your own arguments to it as well.) This can be handy when you have an +asynchronous request interceptor that only needs to run at certain times. + +```js +function onGetCall(config) { + return config.method === 'get'; +} +axios.interceptors.request.use( + function (config) { + config.headers.test = 'special get headers'; + return config; + }, + null, + { runWhen: onGetCall } +); +``` + +> Note: The options parameter (with `synchronous` and `runWhen` properties) is only supported for request interceptors at the moment. + +### Interceptor execution order + +Request and response interceptors use different execution orders. + +Request interceptors run in reverse order (LIFO: last in, first out). The last interceptor added runs first. + +Response interceptors run in the order they were added (FIFO: first in, first out). The first interceptor added runs first. + +Example: + +```js +const instance = axios.create(); + +const interceptor = (id) => (base) => { + console.log(id); + return base; +}; + +instance.interceptors.request.use(interceptor('Request Interceptor 1')); +instance.interceptors.request.use(interceptor('Request Interceptor 2')); +instance.interceptors.request.use(interceptor('Request Interceptor 3')); +instance.interceptors.response.use(interceptor('Response Interceptor 1')); +instance.interceptors.response.use(interceptor('Response Interceptor 2')); +instance.interceptors.response.use(interceptor('Response Interceptor 3')); + +// Console output: +// Request Interceptor 3 +// Request Interceptor 2 +// Request Interceptor 1 +// [HTTP request is made] +// Response Interceptor 1 +// Response Interceptor 2 +// Response Interceptor 3 +``` + +### Multiple interceptors + +When a response is fulfilled and multiple response interceptors are registered: + +- Each interceptor runs in registration order. +- Each interceptor receives the result from the previous interceptor. +- The chain returns the result from the last interceptor. +- If a fulfillment interceptor throws, Axios skips the next fulfillment interceptor and calls the next rejection interceptor. +- After the error is caught, later fulfillment interceptors run again, just like in a promise chain. + +Read [the interceptor tests](./test/specs/interceptors.spec.js) to see all this in code. + +## Error types + +Axios error messages include details that can help you debug the request. + +Axios errors use this structure: +| Property | Definition | +| -------- | ---------- | +| message | A quick summary of the error message and the status it failed with. | +| name | This defines where the error originated from. For axios, it will always be an 'AxiosError'. | +| stack | Stack trace for the error. | +| config | An axios config object with specific instance configurations defined by the user from when the request was made | +| code | Axios error code. The table below lists internal Axios error codes. | +| status | HTTP response status code. See [here](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes) for common HTTP response status code meanings. + +These are the internal Axios error codes: + +| Code | Definition | +| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ERR_BAD_OPTION_VALUE | Invalid value provided in axios configuration. | +| ERR_BAD_OPTION | Invalid option provided in axios configuration. | +| ERR_NOT_SUPPORT | Feature or method not supported in the current axios environment. | +| ERR_DEPRECATED | Deprecated feature or method used in axios. | +| ERR_INVALID_URL | Invalid URL provided for axios request. | +| ECONNABORTED | Typically indicates that the request has been timed out (unless `transitional.clarifyTimeoutError` is set) or aborted by the browser or its plugin. | +| ERR_CANCELED | The user explicitly canceled the request with an AbortSignal or CancelToken. | +| ETIMEDOUT | Request timed out after exceeding the configured Axios timeout. Set `transitional.clarifyTimeoutError` to `true`; otherwise Axios throws a generic `ECONNABORTED` error. | +| ERR_NETWORK | Network-related issue. In the browser, this error can also be caused by a [CORS](https://developer.mozilla.org/ru/docs/Web/HTTP/Guides/CORS) or [Mixed Content](https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content) policy violation. The browser does not allow the JS code to clarify the real reason for the error caused by security issues, so please check the console. | +| ERR_FR_TOO_MANY_REDIRECTS | Request exceeded the configured maximum number of redirects. | +| ERR_BAD_RESPONSE | Response cannot be parsed properly or is in an unexpected format. Usually related to a response with `5xx` status code. | +| ERR_BAD_REQUEST | The request has an unexpected format or is missing required parameters. Usually related to a response with `4xx` status code. | + +## Handling errors + +By default, Axios rejects responses with status codes outside the 2xx range. + +```js +axios.get('/user/12345').catch(function (error) { + if (error.response) { + // The request was made and the server responded with a status code + // that falls out of the range of 2xx + console.log(error.response.data); + console.log(error.response.status); + console.log(error.response.headers); + } else if (error.request) { + // The request was made but no response was received + // `error.request` is an instance of XMLHttpRequest in the browser and an instance of + // http.ClientRequest in node.js + console.log(error.request); + } else { + // Something happened in setting up the request that triggered an Error + console.log('Error', error.message); + } + console.log(error.config); +}); +``` + +Use `validateStatus` to override the default condition (`status >= 200 && status < 300`) and choose which HTTP status codes should reject. + +```js +axios.get('/user/12345', { + validateStatus: function (status) { + return status < 500; // Resolve only if the status code is less than 500 + }, +}); +``` + +By default, explicit `validateStatus: undefined` keeps legacy behavior and resolves every response status because `transitional.validateStatusUndefinedResolves` defaults to `true`. Set it to `false` to make explicit `validateStatus: undefined` behave like the option was omitted, so Axios uses the configured/default validator and rejects non-2xx responses by default. + +`validateStatus: null` still accepts every response status. If you disable the transitional behavior and intentionally want all statuses to resolve, use `null` or `() => true`. + +```js +axios.get('/user/12345', { + validateStatus: undefined, + transitional: { + validateStatusUndefinedResolves: false, + }, +}); +``` + +Use `toJSON` to get more information about the HTTP error. + +```js +axios.get('/user/12345').catch(function (error) { + console.log(error.toJSON()); +}); +``` + +To avoid logging secrets from `error.config`, pass a `redact` array in the request config. Matching config keys are masked case-insensitively at any depth when `AxiosError#toJSON()` is called. + +```js +axios + .get('/user/12345', { + headers: { Authorization: 'Bearer token' }, + redact: ['authorization'], + }) + .catch(function (error) { + console.log(error.toJSON().config.headers.Authorization); // [REDACTED ****] + }); +``` + +## Handling timeouts + +```js +async function fetchWithTimeout() { + try { + const response = await axios.get('https://example.com/data', { + timeout: 5000, // 5 seconds + transitional: { + // set to true if you prefer ETIMEDOUT over ECONNABORTED + clarifyTimeoutError: false, + }, + }); + + console.log('Response:', response.data); + } catch (error) { + if (axios.isAxiosError(error)) { + if (error.code === 'ECONNABORTED' || error.code === 'ETIMEDOUT') { + console.error('Request timed out. Please try again.'); + return; + } + + console.error('Axios error:', error.message); + return; + } + + console.error('Unexpected error:', error); + } +} +``` + +## Cancellation + +### AbortController + +Since `v0.22.0`, Axios supports AbortController: + +```js +const controller = new AbortController(); + +axios + .get('/foo/bar', { + signal: controller.signal, + }) + .then(function (response) { + //... + }); +// cancel the request +controller.abort(); +``` + +### CancelToken (deprecated) + +You can also cancel a request using a _CancelToken_. + +> The axios cancel token API is based on the withdrawn [cancellable promises proposal](https://github.com/tc39/proposal-cancelable-promises). + +> This API is deprecated since v0.22.0 and should not be used in new projects. + +Create a cancel token with the `CancelToken.source` factory: + +```js +const CancelToken = axios.CancelToken; +const source = CancelToken.source(); + +axios + .get('/user/12345', { + cancelToken: source.token, + }) + .catch(function (thrown) { + if (axios.isCancel(thrown)) { + console.log('Request canceled', thrown.message); + } else { + // handle error + } + }); + +axios.post( + '/user/12345', + { + name: 'new name', + }, + { + cancelToken: source.token, + } +); + +// cancel the request (the message parameter is optional) +source.cancel('Operation canceled by the user.'); +``` + +You can also pass an executor function to the `CancelToken` constructor: + +```js +const CancelToken = axios.CancelToken; +let cancel; + +axios.get('/user/12345', { + cancelToken: new CancelToken(function executor(c) { + // An executor function receives a cancel function as a parameter + cancel = c; + }), +}); + +// cancel the request +cancel(); +``` + +`CancelToken` also exposes low-level helpers for legacy integrations: + +```js +const source = axios.CancelToken.source(); + +const listener = (cancel) => { + console.log(cancel.message); +}; + +source.token.subscribe(listener); + +const signal = source.token.toAbortSignal(); +// Pass `signal` to APIs that accept AbortSignal. + +source.cancel('Operation canceled by the user.'); +source.token.unsubscribe(listener); +``` + +Canceled requests reject with `axios.CanceledError`. The legacy `axios.Cancel` export is an alias of `axios.CanceledError`, and cancellation errors include `__CANCEL__` for `axios.isCancel` compatibility. + +> Note: You can cancel several requests with the same cancel token or abort controller. +> If a cancellation token is already cancelled when an Axios request starts, Axios cancels the request immediately without making a real request. + +> During the transition period, you can use both cancellation APIs, even for the same request: + +```js +const controller = new AbortController(); +const source = axios.CancelToken.source(); + +axios.get('/user/12345', { + cancelToken: source.token, + signal: controller.signal, +}); + +controller.abort(); +source.cancel('Operation canceled by the user.'); +``` + +## Using `application/x-www-form-urlencoded` format + +### URLSearchParams + +By default, axios serializes JavaScript objects to `JSON`. To send data as [`application/x-www-form-urlencoded`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST), use the [`URLSearchParams`](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams) API. It works in most browsers and in [Node](https://nodejs.org/api/url.html#url_class_urlsearchparams) v10 and later. + +```js +const params = new URLSearchParams({ foo: 'bar' }); +params.append('extraparam', 'value'); +axios.post('/foo', params); +``` + +### Query string (older browsers) + +For very old browsers, use a [polyfill](https://github.com/WebReflection/url-search-params) and make sure it patches the global environment. + +Alternatively, you can encode data using the [`qs`](https://github.com/ljharb/qs) library: + +```js +const qs = require('qs'); +axios.post('/foo', qs.stringify({ bar: 123 })); +``` + +With ES modules: + +```js +import qs from 'qs'; +const data = { bar: 123 }; +const options = { + method: 'POST', + headers: { 'content-type': 'application/x-www-form-urlencoded' }, + data: qs.stringify(data), + url, +}; +axios(options); +``` + +### Older Node.js versions + +For older Node.js engines, use the [`querystring`](https://nodejs.org/api/querystring.html) module: + +```js +const querystring = require('querystring'); +axios.post('https://something.com/', querystring.stringify({ foo: 'bar' })); +``` + +You can also use the [`qs`](https://github.com/ljharb/qs) library. + +> Note: The `qs` library is preferable if you need to stringify nested objects, as the `querystring` method has [known issues](https://github.com/nodejs/node-v0.x-archive/issues/1665) with that use case. + +### Automatic serialization to URLSearchParams + +Axios automatically serializes the data object to urlencoded format if the content-type header is set to "application/x-www-form-urlencoded". + +```js +const data = { + x: 1, + arr: [1, 2, 3], + arr2: [1, [2], 3], + users: [ + { name: 'Peter', surname: 'Griffin' }, + { name: 'Thomas', surname: 'Anderson' }, + ], +}; + +await axios.postForm('https://postman-echo.com/post', data, { + headers: { 'content-type': 'application/x-www-form-urlencoded' }, +}); +``` + +The server receives these fields: + +```js + { + x: '1', + 'arr[]': [ '1', '2', '3' ], + 'arr2[0]': '1', + 'arr2[1][0]': '2', + 'arr2[2]': '3', + 'arr3[]': [ '1', '2', '3' ], + 'users[0][name]': 'Peter', + 'users[0][surname]': 'griffin', + 'users[1][name]': 'Thomas', + 'users[1][surname]': 'Anderson' + } +``` + +If your backend body parser, such as `body-parser` for `express.js`, supports nested object decoding, the server receives the same object structure: + +```js +const app = express(); + +app.use(bodyParser.urlencoded({ extended: true })); // support encoded bodies + +app.post('/', function (req, res, next) { + // echo body as JSON + res.send(JSON.stringify(req.body)); +}); + +server = app.listen(3000); +``` + +## Using `multipart/form-data` format + +### FormData + +To send data as `multipart/form-data`, pass a FormData instance as the payload. +You do not need to set the `Content-Type` header. Axios detects it from the payload type. +For browser, web worker, and React Native `FormData`, leave `Content-Type` unset so the runtime can add the multipart boundary. + +```js +const formData = new FormData(); +formData.append('foo', 'bar'); + +axios.post('https://httpbin.org/post', formData); +``` + +In node.js, use the [`form-data`](https://github.com/form-data/form-data) library: + +```js +const FormData = require('form-data'); + +const form = new FormData(); +form.append('my_field', 'my value'); +form.append('my_buffer', Buffer.alloc(10)); +form.append('my_file', fs.createReadStream('/foo/bar.jpg')); + +axios.post('https://example.com', form); +``` + +In node.js, when a `FormData` object provides `getHeaders()`, axios copies all returned headers by default for v1 compatibility. If the `FormData` object is custom or not fully trusted, set `formDataHeaderPolicy: 'content-only'` to copy only `Content-Type` and `Content-Length`, and set any other request headers explicitly with the request `headers` config. + +### Automatic serialization to FormData + +Since `v0.27.0`, Axios can serialize an object to FormData if the request `Content-Type` +header is set to `multipart/form-data`. + +This request submits data as FormData in browsers and Node.js: + +```js +import axios from 'axios'; + +axios + .post( + 'https://httpbin.org/post', + { x: 1 }, + { + headers: { + 'Content-Type': 'multipart/form-data', + }, + } + ) + .then(({ data }) => console.log(data)); +``` + +The Node.js build uses the [`form-data`](https://github.com/form-data/form-data) polyfill by default. + +You can override the FormData class with the `env.FormData` config option, but most applications do not need this: + +```js +const axios = require('axios'); +var FormData = require('form-data'); + +axios + .post( + 'https://httpbin.org/post', + { x: 1, buf: Buffer.alloc(10) }, + { + headers: { + 'Content-Type': 'multipart/form-data', + }, + } + ) + .then(({ data }) => console.log(data)); +``` + +The Axios FormData serializer supports these special endings: + +- `{}` - serialize the value with JSON.stringify +- `[]` - unwrap the array-like object as separate fields with the same key + +> Note: Arrays and FileList objects are unwrapped by default. + +FormData serializer supports additional options via `config.formSerializer: object` property to handle rare cases: + +- `visitor: Function` - user-defined visitor function that Axios calls recursively to serialize the data object + to a `FormData` object by following custom rules. + +- `dots: boolean = false` - use dot notation instead of brackets to serialize arrays and objects; + +- `metaTokens: boolean = true` - add the special ending (e.g `user{}: '{"name": "John"}'`) in the FormData key. + A backend body parser can use this meta-information to parse the value as JSON. + +- `indexes: null|false|true = false` - controls how Axios adds indexes to unwrapped keys of `flat` array-like objects. + - `null` - don't add brackets (`arr: 1`, `arr: 2`, `arr: 3`) + - `false`(default) - add empty brackets (`arr[]: 1`, `arr[]: 2`, `arr[]: 3`) + - `true` - add brackets with indexes (`arr[0]: 1`, `arr[1]: 2`, `arr[2]: 3`) +- `maxDepth: number = 100` - maximum object nesting depth the serializer will recurse into. If the + input object exceeds this depth, an `AxiosError` with `code: 'ERR_FORM_DATA_DEPTH_EXCEEDED'` is + thrown instead of overflowing the call stack. This protects server applications from DoS + attacks via deeply nested payloads. Set to `Infinity` to disable the limit and restore pre-fix behaviour. +- `Blob: typeof Blob` - Blob constructor used when converting ArrayBuffer-like values for spec-compliant + `FormData`. Override it only for runtimes that provide a compatible `Blob` constructor under a + different binding. + +```js +// Raise the limit for a schema that genuinely nests deeper than 100 levels: +axios.postForm('/api', data, { formSerializer: { maxDepth: 200 } }); + +// Same protection applies to params serialization: +axios.get('/api', { params: data, paramsSerializer: { maxDepth: 200 } }); +``` + +Given this object: + +```js +const obj = { + x: 1, + arr: [1, 2, 3], + arr2: [1, [2], 3], + users: [ + { name: 'Peter', surname: 'Griffin' }, + { name: 'Thomas', surname: 'Anderson' }, + ], + 'obj2{}': [{ x: 1 }], +}; +``` + +The Axios serializer appends these fields: + +```js +const formData = new FormData(); +formData.append('x', '1'); +formData.append('arr[]', '1'); +formData.append('arr[]', '2'); +formData.append('arr[]', '3'); +formData.append('arr2[0]', '1'); +formData.append('arr2[1][0]', '2'); +formData.append('arr2[2]', '3'); +formData.append('users[0][name]', 'Peter'); +formData.append('users[0][surname]', 'Griffin'); +formData.append('users[1][name]', 'Thomas'); +formData.append('users[1][surname]', 'Anderson'); +formData.append('obj2{}', '[{"x":1}]'); +``` + +Axios supports `postForm`, `putForm`, and `patchForm` as shortcuts for the matching HTTP methods with the `Content-Type` header preset to `multipart/form-data`. + +## Posting files + +Submit a single file: + +```js +await axios.postForm('https://httpbin.org/post', { + myVar: 'foo', + file: document.querySelector('#fileInput').files[0], +}); +``` + +or multiple files as `multipart/form-data`: + +```js +await axios.postForm('https://httpbin.org/post', { + 'files[]': document.querySelector('#fileInput').files, +}); +``` + +`FileList` object can be passed directly: + +```js +await axios.postForm('https://httpbin.org/post', document.querySelector('#fileInput').files); +``` + +Axios sends all files with the same field name: `files[]`. + +## HTML form posting (browser) + +Pass an HTML Form element as a payload to submit it as `multipart/form-data` content. + +```js +await axios.postForm('https://httpbin.org/post', document.querySelector('#htmlForm')); +``` + +`FormData` and `HTMLForm` objects can also be posted as `JSON` by explicitly setting the `Content-Type` header to `application/json`: + +```js +await axios.post('https://httpbin.org/post', document.querySelector('#htmlForm'), { + headers: { + 'Content-Type': 'application/json', + }, +}); +``` + +For example, the Form + +```html +
+ + + + + + + + + +
+``` + +submits this JSON object: + +```js +{ + "foo": "1", + "deep": { + "prop": { + "spaced": "3" + } + }, + "baz": [ + "4", + "5" + ], + "user": { + "age": "value2" + } +} +``` + +Sending `Blobs`/`Files` as JSON (`base64`) is not currently supported. + +## Progress capturing + +Axios can capture request upload and download progress in browsers and Node.js. +Progress events are limited to `3` times per second. + +```js +await axios.post(url, data, { + onUploadProgress: function (axiosProgressEvent) { + /*{ + loaded: number; + total?: number; + progress?: number; // in range [0..1] + bytes: number; // how many bytes have been transferred since the last trigger (delta) + estimated?: number; // estimated time in seconds + rate?: number; // upload speed in bytes + upload: true; // upload sign + }*/ + }, + + onDownloadProgress: function (axiosProgressEvent) { + /*{ + loaded: number; + total?: number; + progress?: number; + bytes: number; + estimated?: number; + rate?: number; // download speed in bytes + download: true; // download sign + }*/ + }, +}); +``` + +You can also track stream upload/download progress in node.js: + +```js +const { data } = await axios.post(SERVER_URL, readableStream, { + onUploadProgress: ({ progress }) => { + console.log((progress * 100).toFixed(2)); + }, + + headers: { + 'Content-Length': contentLength, + }, + + maxRedirects: 0, // avoid buffering the entire stream +}); +``` + +> Note: +> Capturing FormData upload progress is not currently supported in node.js environments. + +> Warning: +> Set `maxRedirects: 0` when uploading streams in node.js. +> The follow-redirects package buffers the entire stream in RAM and does not follow the "backpressure" algorithm. + +## Rate limiting + +Download and upload rate limits can only be set for the http adapter (node.js): + +```js +const { data } = await axios.post(LOCAL_SERVER_URL, myBuffer, { + onUploadProgress: ({ progress, rate }) => { + console.log(`Upload [${(progress * 100).toFixed(2)}%]: ${(rate / 1024).toFixed(2)}KB/s`); + }, + + maxRate: [100 * 1024], // 100KB/s limit +}); +``` + +## AxiosHeaders + +Axios includes an `AxiosHeaders` class for working with headers through a Map-like API. +HTTP header names are case-insensitive, but Axios keeps the original header case for style and for servers that incorrectly depend on case. +Directly manipulating the headers object still works, but it is deprecated. + +### Working with headers + +An `AxiosHeaders` instance can contain several internal value types that control setting and merging. +Axios gets the final headers object with string values by calling `toJSON`. + +> Note: By JSON here we mean an object consisting only of string values intended to be sent over the network. + +The header value can be one of the following types: + +- `string` - normal string value sent to the server +- `null` - skip header when rendering to JSON +- `false` - skip header when rendering to JSON. Also indicates that the `set` method must be called with `rewrite` set to `true` + to overwrite this value (Axios uses this internally to allow users to opt out of installing certain headers like `User-Agent` or `Content-Type`) +- `undefined` - value is not set + +> Note: The header value is considered set if it is not equal to undefined. + +The headers object is always initialized inside interceptors and transformers: + +```ts +axios.interceptors.request.use((request: InternalAxiosRequestConfig) => { + request.headers.set('My-header', 'value'); + + request.headers.set({ + 'My-set-header1': 'my-set-value1', + 'My-set-header2': 'my-set-value2', + }); + + request.headers.set('User-Agent', false); // prevent Axios from setting this header later + + request.headers.setContentType('text/plain'); + + request.headers['My-set-header2'] = 'newValue'; // direct access is deprecated + + return request; +}); +``` + +You can iterate over an `AxiosHeaders` instance using a `for...of` statement: + +```js +const headers = new AxiosHeaders({ + foo: '1', + bar: '2', + baz: '3', +}); + +for (const [header, value] of headers) { + console.log(header, value); +} + +// foo 1 +// bar 2 +// baz 3 +``` + +### Preserving a specific header case + +Header names are case-insensitive, but `AxiosHeaders` keeps the case of the first matching key it sees. +If you need a specific case for non-standard case-sensitive servers, define a case preset with `undefined` and then set the value later: + +```js +const api = axios.create(); + +api.defaults.headers.common = { + 'content-type': undefined, + accept: undefined, +}; + +await api.put(url, data, { + headers: { + 'Content-Type': 'application/octet-stream', + Accept: 'application/json', + }, +}); +``` + +You can also compose the same behavior with `AxiosHeaders.concat`: + +```js +const headers = axios.AxiosHeaders.concat( + { 'content-type': undefined }, + { 'Content-Type': 'application/octet-stream' } +); + +await axios.put(url, data, { headers }); +``` + +### new AxiosHeaders(headers?) + +Constructs a new `AxiosHeaders` instance. + +``` +constructor(headers?: RawAxiosHeaders | AxiosHeaders | string); +``` + +If the headers object is a string, Axios parses it as raw HTTP headers. + +```js +const headers = new AxiosHeaders(` +Host: www.bing.com +User-Agent: curl/7.54.0 +Accept: */*`); + +console.log(headers); + +// Object [AxiosHeaders] { +// host: 'www.bing.com', +// 'user-agent': 'curl/7.54.0', +// accept: '*/*' +// } +``` + +### AxiosHeaders#set + +```ts +set(headerName, value: Axios, rewrite?: boolean); +set(headerName, value, rewrite?: (this: AxiosHeaders, value: string, name: string, headers: RawAxiosHeaders) => boolean); +set(headers?: RawAxiosHeaders | AxiosHeaders | string, rewrite?: boolean); +set(headers?: Iterable<[string, AxiosHeaderValue]>, rewrite?: boolean); +``` + +The `rewrite` argument controls the overwriting behavior: + +- `false` - do not overwrite if the header's value is set (is not `undefined`) +- `undefined` (default) - overwrite the header unless its value is set to `false` +- `true` - rewrite anyway + +The option can also accept a user-defined function that determines whether to overwrite the value. + +Empty or whitespace-only header names are ignored. + +Iterable key/value pairs, such as a `Map`, are accepted: + +```js +const headers = new AxiosHeaders(); + +headers.set( + new Map([ + ['X-Trace-Id', 'abc123'], + ['Accept', 'application/json'], + ]) +); +``` + +Returns `this`. + +### AxiosHeaders#get(header) + +``` + get(headerName: string, matcher?: true | AxiosHeaderMatcher): AxiosHeaderValue; + get(headerName: string, parser: RegExp): RegExpExecArray | null; +``` + +Returns the internal value of the header. It can take an extra argument to parse the header's value with `RegExp.exec`, +matcher function or internal key-value parser. + +```ts +const headers = new AxiosHeaders({ + 'Content-Type': 'multipart/form-data; boundary=Asrf456BGe4h', +}); + +console.log(headers.get('Content-Type')); +// multipart/form-data; boundary=Asrf456BGe4h + +console.log(headers.get('Content-Type', true)); // parse key-value pairs from a string separated with \s,;= delimiters: +// [Object: null prototype] { +// 'multipart/form-data': undefined, +// boundary: 'Asrf456BGe4h' +// } + +console.log( + headers.get('Content-Type', (value, name, headers) => { + return String(value).replace(/a/g, 'ZZZ'); + }) +); +// multipZZZrt/form-dZZZtZZZ; boundZZZry=Asrf456BGe4h + +console.log(headers.get('Content-Type', /boundary=(\w+)/)?.[0]); +// boundary=Asrf456BGe4h +``` + +Returns the value of the header. + +### AxiosHeaders#has(header, matcher?) + +``` +has(header: string, matcher?: AxiosHeaderMatcher): boolean; +``` + +Returns `true` if the header is set (has no `undefined` value). + +### AxiosHeaders#delete(header, matcher?) + +``` +delete(header: string | string[], matcher?: AxiosHeaderMatcher): boolean; +``` + +Returns `true` if at least one header has been removed. + +### AxiosHeaders#clear(matcher?) + +``` +clear(matcher?: AxiosHeaderMatcher): boolean; +``` + +Removes all headers. +Unlike the `delete` method matcher, this optional matcher matches the header name rather than the value. + +```ts +const headers = new AxiosHeaders({ + foo: '1', + 'x-foo': '2', + 'x-bar': '3', +}); + +console.log(headers.clear(/^x-/)); // true + +console.log(headers.toJSON()); // [Object: null prototype] { foo: '1' } +``` + +Returns `true` if at least one header has been cleared. + +### AxiosHeaders#normalize(format); + +If the headers object was changed directly, it can have duplicates with the same name but in different cases. +This method normalizes the headers object by combining duplicate keys into one. +Axios uses this method internally after calling each interceptor. +Set `format` to true for converting header names to lowercase and capitalizing the initial letters (`cOntEnt-type` => `Content-Type`) + +```js +const headers = new AxiosHeaders({ + foo: '1', +}); + +headers.Foo = '2'; +headers.FOO = '3'; + +console.log(headers.toJSON()); // [Object: null prototype] { foo: '1', Foo: '2', FOO: '3' } +console.log(headers.normalize().toJSON()); // [Object: null prototype] { foo: '3' } +console.log(headers.normalize(true).toJSON()); // [Object: null prototype] { Foo: '3' } +``` + +Returns `this`. + +### AxiosHeaders#concat(...targets) + +``` +concat(...targets: Array): AxiosHeaders; +``` + +Merges the instance with targets into a new `AxiosHeaders` instance. If the target is a string, Axios parses it as raw HTTP headers. + +Returns a new `AxiosHeaders` instance. + +### AxiosHeaders#toJSON(asStrings?) + +``` +toJSON(asStrings: true): Record; +toJSON(asStrings?: false): Record; +``` + +Resolves all internal header values into a new null prototype object. +Set `asStrings` to true to resolve arrays as a string containing all elements, separated by commas. + +### AxiosHeaders#toString() + +``` +toString(): string; +``` + +Returns the headers as a CRLF-free HTTP header block, one `name: value` pair per line. + +### AxiosHeaders.from(thing?) + +``` +from(thing?: AxiosHeaders | RawAxiosHeaders | string): AxiosHeaders; +``` + +Returns a new `AxiosHeaders` instance created from the raw headers passed in, +or returns the given headers object if it's already an `AxiosHeaders` instance. + +### AxiosHeaders.concat(...targets) + +``` +concat(...targets: Array): AxiosHeaders; +``` + +Returns a new `AxiosHeaders` instance created by merging the target objects. + +### Shortcuts + +The following shortcuts are available: + +- `setContentType`, `getContentType`, `hasContentType` + +- `setContentLength`, `getContentLength`, `hasContentLength` + +- `setAccept`, `getAccept`, `hasAccept` + +- `setUserAgent`, `getUserAgent`, `hasUserAgent` + +- `setContentEncoding`, `getContentEncoding`, `hasContentEncoding` + +## Fetch adapter + +Axios introduced the fetch adapter in `v1.7.0`. By default, Axios uses it when the `xhr` and `http` adapters are not available in the build or not supported by the environment. +To use it by default, select it explicitly: + +```js +const { data } = axios.get(url, { + adapter: 'fetch', // by default ['xhr', 'http', 'fetch'] +}); +``` + +You can create a separate instance for this: + +```js +const fetchAxios = axios.create({ + adapter: 'fetch', +}); + +const { data } = fetchAxios.get(url); +``` + +The adapter supports the same features as the `xhr` adapter, including upload and download progress capturing. +It also supports response types such as `stream` and `formdata` when the environment supports them. + +When `auth` is omitted, the fetch adapter can read HTTP Basic auth credentials from the request URL, for example `https://user:pass@example.com`. Percent-encoded URL credentials are decoded before the `Authorization` header is generated, and `auth` takes precedence over URL-embedded credentials. + +### Custom fetch + +Since `v1.12.0`, you can configure the fetch adapter to use a custom fetch API instead of environment globals. +Pass a custom `fetch` function, `Request`, and `Response` constructors through `env` config. +This helps in custom environments and app frameworks. + +When using a custom fetch, you may also need to set custom `Request` and `Response` constructors. If you do not set them, Axios uses the global objects. +If your custom fetch API does not provide these objects and the globals are incompatible with it, pass `null` to disable them inside the fetch adapter. + +> Note: Setting `Request` and `Response` to `null` prevents the fetch adapter from capturing upload and download progress. + +Basic example: + +```js +import customFetchFunction from 'customFetchModule'; + +const instance = axios.create({ + adapter: 'fetch', + onDownloadProgress(e) { + console.log('downloadProgress', e); + }, + env: { + fetch: customFetchFunction, + Request: null, // undefined -> use the global constructor + Response: null, + }, +}); +``` + +#### Using with Tauri + +A minimal example of setting up Axios for use in a [Tauri](https://tauri.app/plugin/http-client/) app with a platform fetch function that ignores CORS policy for requests. + +```js +import { fetch } from '@tauri-apps/plugin-http'; +import axios from 'axios'; + +const instance = axios.create({ + adapter: 'fetch', + onDownloadProgress(e) { + console.log('downloadProgress', e); + }, + env: { + fetch, + }, +}); + +const { data } = await instance.get('https://google.com'); +``` + +#### Using with SvelteKit + +[SvelteKit](https://svelte.dev/docs/kit/web-standards#Fetch-APIs) uses a custom fetch function for server rendering in `load` functions. It also uses relative paths, which are incompatible with the standard URL API. Configure Axios to use SvelteKit's custom fetch API: + +```js +export async function load({ fetch }) { + const { data: post } = await axios.get('https://jsonplaceholder.typicode.com/posts/1', { + adapter: 'fetch', + env: { + fetch, + Request: null, + Response: null, + }, + }); + + return { post }; +} +``` + +#### HTTP/2 support + +Axios supports HTTP/2 through the Node.js `http` adapter, introduced in v1.13.0. + +Support depends on the runtime environment. Axios relies on Node.js APIs, so HTTP/2 works in supported Node.js versions but may not work in other environments such as Bun or Deno. + +Options like `httpVersion` and `http2Options` are adapter-specific and may not behave the same way in every environment. + +Note: HTTP/2 redirects are currently not supported by the HTTP/2 adapter. + +```js +const form = new FormData(); + +form.append('foo', '123'); + +const { data, headers, status } = await axios.post('https://httpbin.org/post', form, { + onUploadProgress(e) { + console.log('upload progress', e); + }, + onDownloadProgress(e) { + console.log('download progress', e); + }, + responseType: 'arraybuffer', +}); +``` + +## Semver + +Axios follows [semver](https://semver.org/) since `v1.0.0`. + +## Promises + +axios depends on a native ES6 Promise implementation to be [supported](https://caniuse.com/promises). +If your environment doesn't support ES6 Promises, you can [polyfill](https://github.com/jakearchibald/es6-promise). + +## TypeScript + +axios includes [TypeScript](https://typescriptlang.org) definitions and a type guard for axios errors. + +```typescript +let user: User = null; +try { + const { data } = await axios.get('/user?ID=12345'); + user = data.userDetails; +} catch (error) { + if (axios.isAxiosError(error)) { + handleAxiosError(error); + } else { + handleUnexpectedError(error); + } +} +``` + +Use `axios.isCancel()` to narrow cancellation errors to `CanceledError`: + +```typescript +const controller = new AbortController(); + +try { + await axios.get('/user?ID=12345', { signal: controller.signal }); +} catch (error) { + if (axios.isCancel(error)) { + handleCancellation(error); + } +} +``` + +Because axios publishes an ESM default export and a CJS `module.exports`, TypeScript has a few caveats. +The recommended setting is `"moduleResolution": "node16"`, which is implied by `"module": "node16"`. This requires TypeScript 4.7 or greater. +If you use ESM, your settings should be fine. +If you compile TypeScript to CJS and can't use `"moduleResolution": "node 16"`, enable `esModuleInterop`. +If you use TypeScript to type check CJS JavaScript code, your only option is to use `"moduleResolution": "node16"`. + +You can also create a custom instance with typed interceptors: + +```typescript +import axios, { AxiosInstance, InternalAxiosRequestConfig } from 'axios'; + +const apiClient: AxiosInstance = axios.create({ + baseURL: 'https://api.example.com', + timeout: 10000, +}); + +apiClient.interceptors.request.use((config: InternalAxiosRequestConfig) => { + // Add auth token + return config; +}); +``` + +## Online one-click setup + +You can use Gitpod, a free online IDE for open source projects, to contribute or run the examples online. + +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/axios/axios/blob/main/examples/server.js) + +## Contributing + +### Local setup + +As a supply-chain hardening measure, this repository ships a project-level `.npmrc` that sets `ignore-scripts=true`. This blocks npm lifecycle scripts (`preinstall`, `install`, `postinstall`, `prepare`) from any direct or transitive dependency when you run `npm install` or `npm ci` inside the repo. See [THREATMODEL.md](./THREATMODEL.md) (threat T-S2) for the rationale. + +One consequence: the repository's own `prepare` hook (which installs Husky's git hooks) will **not** run automatically. After your first install, enable the git hooks manually: + +```bash +npm ci +npm rebuild husky && npx husky +``` + +Run those two commands once per fresh checkout. You do **not** need to re-run them after every subsequent `npm install`. + +Do not remove `ignore-scripts=true` from `.npmrc` to "fix" this. That reopens the lifecycle-script attack surface for every other package in the tree. All CI workflows already invoke npm with `--ignore-scripts`, so local behaviour matches CI. + +## Resources + +- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) +- [Ecosystem](https://github.com/axios/axios/blob/v1.x/ECOSYSTEM.md) +- [Contributing Guide](https://github.com/axios/axios/blob/v1.x/CONTRIBUTING.md) +- [Code of Conduct](https://github.com/axios/axios/blob/v1.x/CODE_OF_CONDUCT.md) + +## Credits + +axios is heavily inspired by the [$http service](https://docs.angularjs.org/api/ng/service/$http) in [AngularJS](https://angularjs.org/). It provides a standalone `$http`-like service for use outside AngularJS. + +## License + +[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.js b/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.js new file mode 100644 index 0000000..eb223c1 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.js @@ -0,0 +1,5249 @@ +/*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.axios = factory()); +})(this, (function () { 'use strict'; + + function _OverloadYield(e, d) { + this.v = e, this.k = d; + } + function _arrayLikeToArray(r, a) { + (null == a || a > r.length) && (a = r.length); + for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; + return n; + } + function _arrayWithHoles(r) { + if (Array.isArray(r)) return r; + } + function _arrayWithoutHoles(r) { + if (Array.isArray(r)) return _arrayLikeToArray(r); + } + function _assertThisInitialized(e) { + if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e; + } + function _asyncGeneratorDelegate(t) { + var e = {}, + n = false; + function pump(e, r) { + return n = true, r = new Promise(function (n) { + n(t[e](r)); + }), { + done: false, + value: new _OverloadYield(r, 1) + }; + } + return e["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () { + return this; + }, e.next = function (t) { + return n ? (n = false, t) : pump("next", t); + }, "function" == typeof t.throw && (e.throw = function (t) { + if (n) throw n = false, t; + return pump("throw", t); + }), "function" == typeof t.return && (e.return = function (t) { + return n ? (n = false, t) : pump("return", t); + }), e; + } + function _asyncIterator(r) { + var n, + t, + o, + e = 2; + for ("undefined" != typeof Symbol && (t = Symbol.asyncIterator, o = Symbol.iterator); e--;) { + if (t && null != (n = r[t])) return n.call(r); + if (o && null != (n = r[o])) return new AsyncFromSyncIterator(n.call(r)); + t = "@@asyncIterator", o = "@@iterator"; + } + throw new TypeError("Object is not async iterable"); + } + function AsyncFromSyncIterator(r) { + function AsyncFromSyncIteratorContinuation(r) { + if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); + var n = r.done; + return Promise.resolve(r.value).then(function (r) { + return { + value: r, + done: n + }; + }); + } + return AsyncFromSyncIterator = function (r) { + this.s = r, this.n = r.next; + }, AsyncFromSyncIterator.prototype = { + s: null, + n: null, + next: function () { + return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); + }, + return: function (r) { + var n = this.s.return; + return void 0 === n ? Promise.resolve({ + value: r, + done: true + }) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); + }, + throw: function (r) { + var n = this.s.return; + return void 0 === n ? Promise.reject(r) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); + } + }, new AsyncFromSyncIterator(r); + } + function asyncGeneratorStep(n, t, e, r, o, a, c) { + try { + var i = n[a](c), + u = i.value; + } catch (n) { + return void e(n); + } + i.done ? t(u) : Promise.resolve(u).then(r, o); + } + function _asyncToGenerator(n) { + return function () { + var t = this, + e = arguments; + return new Promise(function (r, o) { + var a = n.apply(t, e); + function _next(n) { + asyncGeneratorStep(a, r, o, _next, _throw, "next", n); + } + function _throw(n) { + asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); + } + _next(void 0); + }); + }; + } + function _awaitAsyncGenerator(e) { + return new _OverloadYield(e, 0); + } + function _callSuper(t, o, e) { + return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); + } + function _classCallCheck(a, n) { + if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); + } + function _construct(t, e, r) { + if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); + var o = [null]; + o.push.apply(o, e); + var p = new (t.bind.apply(t, o))(); + return r && _setPrototypeOf(p, r.prototype), p; + } + function _defineProperties(e, r) { + for (var t = 0; t < r.length; t++) { + var o = r[t]; + o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o); + } + } + function _createClass(e, r, t) { + return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { + writable: false + }), e; + } + function _createForOfIteratorHelper(r, e) { + var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; + if (!t) { + if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) { + t && (r = t); + var n = 0, + F = function () {}; + return { + s: F, + n: function () { + return n >= r.length ? { + done: true + } : { + done: false, + value: r[n++] + }; + }, + e: function (r) { + throw r; + }, + f: F + }; + } + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + var o, + a = true, + u = false; + return { + s: function () { + t = t.call(r); + }, + n: function () { + var r = t.next(); + return a = r.done, r; + }, + e: function (r) { + u = true, o = r; + }, + f: function () { + try { + a || null == t.return || t.return(); + } finally { + if (u) throw o; + } + } + }; + } + function _defineProperty(e, r, t) { + return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { + value: t, + enumerable: true, + configurable: true, + writable: true + }) : e[r] = t, e; + } + function _getPrototypeOf(t) { + return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { + return t.__proto__ || Object.getPrototypeOf(t); + }, _getPrototypeOf(t); + } + function _inherits(t, e) { + if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); + t.prototype = Object.create(e && e.prototype, { + constructor: { + value: t, + writable: true, + configurable: true + } + }), Object.defineProperty(t, "prototype", { + writable: false + }), e && _setPrototypeOf(t, e); + } + function _isNativeFunction(t) { + try { + return -1 !== Function.toString.call(t).indexOf("[native code]"); + } catch (n) { + return "function" == typeof t; + } + } + function _isNativeReflectConstruct() { + try { + var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + } catch (t) {} + return (_isNativeReflectConstruct = function () { + return !!t; + })(); + } + function _iterableToArray(r) { + if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); + } + function _iterableToArrayLimit(r, l) { + var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; + if (null != t) { + var e, + n, + i, + u, + a = [], + f = true, + o = false; + try { + if (i = (t = t.call(r)).next, 0 === l) { + if (Object(t) !== t) return; + f = !1; + } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); + } catch (r) { + o = true, n = r; + } finally { + try { + if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; + } finally { + if (o) throw n; + } + } + return a; + } + } + function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + function _nonIterableSpread() { + throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + function ownKeys(e, r) { + var t = Object.keys(e); + if (Object.getOwnPropertySymbols) { + var o = Object.getOwnPropertySymbols(e); + r && (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), t.push.apply(t, o); + } + return t; + } + function _objectSpread2(e) { + for (var r = 1; r < arguments.length; r++) { + var t = null != arguments[r] ? arguments[r] : {}; + r % 2 ? ownKeys(Object(t), true).forEach(function (r) { + _defineProperty(e, r, t[r]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { + Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); + }); + } + return e; + } + function _possibleConstructorReturn(t, e) { + if (e && ("object" == typeof e || "function" == typeof e)) return e; + if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); + return _assertThisInitialized(t); + } + function _regenerator() { + /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ + var e, + t, + r = "function" == typeof Symbol ? Symbol : {}, + n = r.iterator || "@@iterator", + o = r.toStringTag || "@@toStringTag"; + function i(r, n, o, i) { + var c = n && n.prototype instanceof Generator ? n : Generator, + u = Object.create(c.prototype); + return _regeneratorDefine(u, "_invoke", function (r, n, o) { + var i, + c, + u, + f = 0, + p = o || [], + y = false, + G = { + p: 0, + n: 0, + v: e, + a: d, + f: d.bind(e, 4), + d: function (t, r) { + return i = t, c = 0, u = e, G.n = r, a; + } + }; + function d(r, n) { + for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { + var o, + i = p[t], + d = G.p, + l = i[2]; + r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); + } + if (o || r > 1) return a; + throw y = true, n; + } + return function (o, p, l) { + if (f > 1) throw TypeError("Generator is already running"); + for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { + i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); + try { + if (f = 2, i) { + if (c || (o = "next"), t = i[o]) { + if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); + if (!t.done) return t; + u = t.value, c < 2 && (c = 0); + } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); + i = e; + } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; + } catch (t) { + i = e, c = 1, u = t; + } finally { + f = 1; + } + } + return { + value: t, + done: y + }; + }; + }(r, o, i), true), u; + } + var a = {}; + function Generator() {} + function GeneratorFunction() {} + function GeneratorFunctionPrototype() {} + t = Object.getPrototypeOf; + var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () { + return this; + }), t), + u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); + function f(e) { + return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; + } + return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () { + return this; + }), _regeneratorDefine(u, "toString", function () { + return "[object Generator]"; + }), (_regenerator = function () { + return { + w: i, + m: f + }; + })(); + } + function _regeneratorDefine(e, r, n, t) { + var i = Object.defineProperty; + try { + i({}, "", {}); + } catch (e) { + i = 0; + } + _regeneratorDefine = function (e, r, n, t) { + function o(r, n) { + _regeneratorDefine(e, r, function (e) { + return this._invoke(r, n, e); + }); + } + r ? i ? i(e, r, { + value: n, + enumerable: !t, + configurable: !t, + writable: !t + }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); + }, _regeneratorDefine(e, r, n, t); + } + function _regeneratorValues(e) { + if (null != e) { + var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"], + r = 0; + if (t) return t.call(e); + if ("function" == typeof e.next) return e; + if (!isNaN(e.length)) return { + next: function () { + return e && r >= e.length && (e = void 0), { + value: e && e[r++], + done: !e + }; + } + }; + } + throw new TypeError(typeof e + " is not iterable"); + } + function _setPrototypeOf(t, e) { + return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { + return t.__proto__ = e, t; + }, _setPrototypeOf(t, e); + } + function _slicedToArray(r, e) { + return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); + } + function _toConsumableArray(r) { + return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); + } + function _toPrimitive(t, r) { + if ("object" != typeof t || !t) return t; + var e = t[Symbol.toPrimitive]; + if (void 0 !== e) { + var i = e.call(t, r); + if ("object" != typeof i) return i; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return ("string" === r ? String : Number)(t); + } + function _toPropertyKey(t) { + var i = _toPrimitive(t, "string"); + return "symbol" == typeof i ? i : i + ""; + } + function _typeof(o) { + "@babel/helpers - typeof"; + + return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { + return typeof o; + } : function (o) { + return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; + }, _typeof(o); + } + function _unsupportedIterableToArray(r, a) { + if (r) { + if ("string" == typeof r) return _arrayLikeToArray(r, a); + var t = {}.toString.call(r).slice(8, -1); + return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; + } + } + function _wrapAsyncGenerator(e) { + return function () { + return new AsyncGenerator(e.apply(this, arguments)); + }; + } + function AsyncGenerator(e) { + var t, n; + function resume(t, n) { + try { + var r = e[t](n), + o = r.value, + u = o instanceof _OverloadYield; + Promise.resolve(u ? o.v : o).then(function (n) { + if (u) { + var i = "return" === t && o.k ? t : "next"; + if (!o.k || n.done) return resume(i, n); + n = e[i](n).value; + } + settle(!!r.done, n); + }, function (e) { + resume("throw", e); + }); + } catch (e) { + settle(2, e); + } + } + function settle(e, r) { + 2 === e ? t.reject(r) : t.resolve({ + value: r, + done: e + }), (t = t.next) ? resume(t.key, t.arg) : n = null; + } + this._invoke = function (e, r) { + return new Promise(function (o, u) { + var i = { + key: e, + arg: r, + resolve: o, + reject: u, + next: null + }; + n ? n = n.next = i : (t = n = i, resume(e, r)); + }); + }, "function" != typeof e.return && (this.return = void 0); + } + AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { + return this; + }, AsyncGenerator.prototype.next = function (e) { + return this._invoke("next", e); + }, AsyncGenerator.prototype.throw = function (e) { + return this._invoke("throw", e); + }, AsyncGenerator.prototype.return = function (e) { + return this._invoke("return", e); + }; + function _wrapNativeSuper(t) { + var r = "function" == typeof Map ? new Map() : void 0; + return _wrapNativeSuper = function (t) { + if (null === t || !_isNativeFunction(t)) return t; + if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function"); + if (void 0 !== r) { + if (r.has(t)) return r.get(t); + r.set(t, Wrapper); + } + function Wrapper() { + return _construct(t, arguments, _getPrototypeOf(this).constructor); + } + return Wrapper.prototype = Object.create(t.prototype, { + constructor: { + value: Wrapper, + enumerable: false, + writable: true, + configurable: true + } + }), _setPrototypeOf(Wrapper, t); + }, _wrapNativeSuper(t); + } + + /** + * Create a bound version of a function with a specified `this` context + * + * @param {Function} fn - The function to bind + * @param {*} thisArg - The value to be passed as the `this` parameter + * @returns {Function} A new function that will call the original function with the specified `this` context + */ + function bind(fn, thisArg) { + return function wrap() { + return fn.apply(thisArg, arguments); + }; + } + + // utils is a library of generic helper functions non-specific to axios + + var toString = Object.prototype.toString; + var getPrototypeOf = Object.getPrototypeOf; + var iterator = Symbol.iterator, + toStringTag = Symbol.toStringTag; + + /* Creating a function that will check if an object has a property. */ + var hasOwnProperty = function (_ref) { + var hasOwnProperty = _ref.hasOwnProperty; + return function (obj, prop) { + return hasOwnProperty.call(obj, prop); + }; + }(Object.prototype); + + /** + * Walk the prototype chain (excluding the shared Object.prototype) looking for + * an own `prop`. This distinguishes genuine own/inherited members — including + * class accessors and template prototypes — from members injected via + * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which + * live on Object.prototype itself and are therefore never matched. + * + * @param {*} thing The value whose chain to inspect + * @param {string|symbol} prop The property key to look for + * + * @returns {boolean} True when `prop` is owned below Object.prototype + */ + var hasOwnInPrototypeChain = function hasOwnInPrototypeChain(thing, prop) { + var obj = thing; + var seen = []; + while (obj != null && obj !== Object.prototype) { + if (seen.indexOf(obj) !== -1) { + return false; + } + seen.push(obj); + if (hasOwnProperty(obj, prop)) { + return true; + } + obj = getPrototypeOf(obj); + } + return false; + }; + + /** + * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own + * properties and members inherited from a non-Object.prototype source (a class + * instance or template object) are honored; a value reachable only through a + * polluted Object.prototype is ignored and `undefined` is returned. + * + * @param {*} obj The source object + * @param {string|symbol} prop The property key to read + * + * @returns {*} The resolved value, or undefined when unsafe/absent + */ + var getSafeProp = function getSafeProp(obj, prop) { + return obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined; + }; + var kindOf = function (cache) { + return function (thing) { + var str = toString.call(thing); + return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase()); + }; + }(Object.create(null)); + var kindOfTest = function kindOfTest(type) { + type = type.toLowerCase(); + return function (thing) { + return kindOf(thing) === type; + }; + }; + var typeOfTest = function typeOfTest(type) { + return function (thing) { + return _typeof(thing) === type; + }; + }; + + /** + * Determine if a value is a non-null object + * + * @param {Object} val The value to test + * + * @returns {boolean} True if value is an Array, otherwise false + */ + var isArray = Array.isArray; + + /** + * Determine if a value is undefined + * + * @param {*} val The value to test + * + * @returns {boolean} True if the value is undefined, otherwise false + */ + var isUndefined = typeOfTest('undefined'); + + /** + * Determine if a value is a Buffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Buffer, otherwise false + */ + function isBuffer(val) { + return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction$1(val.constructor.isBuffer) && val.constructor.isBuffer(val); + } + + /** + * Determine if a value is an ArrayBuffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is an ArrayBuffer, otherwise false + */ + var isArrayBuffer = kindOfTest('ArrayBuffer'); + + /** + * Determine if a value is a view on an ArrayBuffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false + */ + function isArrayBufferView(val) { + var result; + if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) { + result = ArrayBuffer.isView(val); + } else { + result = val && val.buffer && isArrayBuffer(val.buffer); + } + return result; + } + + /** + * Determine if a value is a String + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a String, otherwise false + */ + var isString = typeOfTest('string'); + + /** + * Determine if a value is a Function + * + * @param {*} val The value to test + * @returns {boolean} True if value is a Function, otherwise false + */ + var isFunction$1 = typeOfTest('function'); + + /** + * Determine if a value is a Number + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Number, otherwise false + */ + var isNumber = typeOfTest('number'); + + /** + * Determine if a value is an Object + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value is an Object, otherwise false + */ + var isObject = function isObject(thing) { + return thing !== null && _typeof(thing) === 'object'; + }; + + /** + * Determine if a value is a Boolean + * + * @param {*} thing The value to test + * @returns {boolean} True if value is a Boolean, otherwise false + */ + var isBoolean = function isBoolean(thing) { + return thing === true || thing === false; + }; + + /** + * Determine if a value is a plain Object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a plain Object, otherwise false + */ + var isPlainObject = function isPlainObject(val) { + if (!isObject(val)) { + return false; + } + var prototype = getPrototypeOf(val); + return (prototype === null || prototype === Object.prototype || getPrototypeOf(prototype) === null) && + // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or + // Symbol.iterator as evidence the value is a tagged/iterable type rather + // than a plain object, while ignoring keys injected onto Object.prototype. + !hasOwnInPrototypeChain(val, toStringTag) && !hasOwnInPrototypeChain(val, iterator); + }; + + /** + * Determine if a value is an empty object (safely handles Buffers) + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is an empty object, otherwise false + */ + var isEmptyObject = function isEmptyObject(val) { + // Early return for non-objects or Buffers to prevent RangeError + if (!isObject(val) || isBuffer(val)) { + return false; + } + try { + return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype; + } catch (e) { + // Fallback for any other objects that might cause RangeError with Object.keys() + return false; + } + }; + + /** + * Determine if a value is a Date + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Date, otherwise false + */ + var isDate = kindOfTest('Date'); + + /** + * Determine if a value is a File + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a File, otherwise false + */ + var isFile = kindOfTest('File'); + + /** + * Determine if a value is a React Native Blob + * React Native "blob": an object with a `uri` attribute. Optionally, it can + * also have a `name` and `type` attribute to specify filename and content type + * + * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71 + * + * @param {*} value The value to test + * + * @returns {boolean} True if value is a React Native Blob, otherwise false + */ + var isReactNativeBlob = function isReactNativeBlob(value) { + return !!(value && typeof value.uri !== 'undefined'); + }; + + /** + * Determine if environment is React Native + * ReactNative `FormData` has a non-standard `getParts()` method + * + * @param {*} formData The formData to test + * + * @returns {boolean} True if environment is React Native, otherwise false + */ + var isReactNative = function isReactNative(formData) { + return formData && typeof formData.getParts !== 'undefined'; + }; + + /** + * Determine if a value is a Blob + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Blob, otherwise false + */ + var isBlob = kindOfTest('Blob'); + + /** + * Determine if a value is a FileList + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a FileList, otherwise false + */ + var isFileList = kindOfTest('FileList'); + + /** + * Determine if a value is a Stream + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Stream, otherwise false + */ + var isStream = function isStream(val) { + return isObject(val) && isFunction$1(val.pipe); + }; + + /** + * Determine if a value is a FormData + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value is an FormData, otherwise false + */ + function getGlobal() { + if (typeof globalThis !== 'undefined') return globalThis; + if (typeof self !== 'undefined') return self; + if (typeof window !== 'undefined') return window; + if (typeof global !== 'undefined') return global; + return {}; + } + var G = getGlobal(); + var FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined; + var isFormData = function isFormData(thing) { + if (!thing) return false; + if (FormDataCtor && thing instanceof FormDataCtor) return true; + // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData. + var proto = getPrototypeOf(thing); + if (!proto || proto === Object.prototype) return false; + if (!isFunction$1(thing.append)) return false; + var kind = kindOf(thing); + return kind === 'formdata' || + // detect form-data instance + kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]'; + }; + + /** + * Determine if a value is a URLSearchParams object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a URLSearchParams object, otherwise false + */ + var isURLSearchParams = kindOfTest('URLSearchParams'); + var _map = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest), + _map2 = _slicedToArray(_map, 4), + isReadableStream = _map2[0], + isRequest = _map2[1], + isResponse = _map2[2], + isHeaders = _map2[3]; + + /** + * Trim excess whitespace off the beginning and end of a string + * + * @param {String} str The String to trim + * + * @returns {String} The String freed of excess whitespace + */ + var trim = function trim(str) { + return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); + }; + /** + * Iterate over an Array or an Object invoking a function for each item. + * + * If `obj` is an Array callback will be called passing + * the value, index, and complete array for each item. + * + * If 'obj' is an Object callback will be called passing + * the value, key, and complete object for each property. + * + * @param {Object|Array} obj The object to iterate + * @param {Function} fn The callback to invoke for each item + * + * @param {Object} [options] + * @param {Boolean} [options.allOwnKeys = false] + * @returns {any} + */ + function forEach(obj, fn) { + var _ref2 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}, + _ref2$allOwnKeys = _ref2.allOwnKeys, + allOwnKeys = _ref2$allOwnKeys === void 0 ? false : _ref2$allOwnKeys; + // Don't bother if no value provided + if (obj === null || typeof obj === 'undefined') { + return; + } + var i; + var l; + + // Force an array if not already something iterable + if (_typeof(obj) !== 'object') { + /*eslint no-param-reassign:0*/ + obj = [obj]; + } + if (isArray(obj)) { + // Iterate over array values + for (i = 0, l = obj.length; i < l; i++) { + fn.call(null, obj[i], i, obj); + } + } else { + // Buffer check + if (isBuffer(obj)) { + return; + } + + // Iterate over object keys + var keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj); + var len = keys.length; + var key; + for (i = 0; i < len; i++) { + key = keys[i]; + fn.call(null, obj[key], key, obj); + } + } + } + + /** + * Finds a key in an object, case-insensitive, returning the actual key name. + * Returns null if the object is a Buffer or if no match is found. + * + * @param {Object} obj - The object to search. + * @param {string} key - The key to find (case-insensitive). + * @returns {?string} The actual key name if found, otherwise null. + */ + function findKey(obj, key) { + if (isBuffer(obj)) { + return null; + } + key = key.toLowerCase(); + var keys = Object.keys(obj); + var i = keys.length; + var _key; + while (i-- > 0) { + _key = keys[i]; + if (key === _key.toLowerCase()) { + return _key; + } + } + return null; + } + var _global = function () { + /*eslint no-undef:0*/ + if (typeof globalThis !== 'undefined') return globalThis; + return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global; + }(); + var isContextDefined = function isContextDefined(context) { + return !isUndefined(context) && context !== _global; + }; + + /** + * Accepts varargs expecting each argument to be an object, then + * immutably merges the properties of each object and returns result. + * + * When multiple objects contain the same key the later object in + * the arguments list will take precedence. + * + * Example: + * + * ```js + * const result = merge({foo: 123}, {foo: 456}); + * console.log(result.foo); // outputs 456 + * ``` + * + * @param {Object} obj1 Object to merge + * + * @returns {Object} Result of all merge properties + */ + function merge() { + var _ref3 = isContextDefined(this) && this || {}, + caseless = _ref3.caseless, + skipUndefined = _ref3.skipUndefined; + var result = {}; + var assignValue = function assignValue(val, key) { + // Skip dangerous property names to prevent prototype pollution + if (key === '__proto__' || key === 'constructor' || key === 'prototype') { + return; + } + + // findKey lowercases the key, so caseless lookup only applies to strings — + // symbol keys are identity-matched. + var targetKey = caseless && typeof key === 'string' && findKey(result, key) || key; + // Read via own-prop only — a bare `result[targetKey]` walks the prototype + // chain, so a polluted Object.prototype value could surface here and get + // copied into the merged result. + var existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined; + if (isPlainObject(existing) && isPlainObject(val)) { + result[targetKey] = merge(existing, val); + } else if (isPlainObject(val)) { + result[targetKey] = merge({}, val); + } else if (isArray(val)) { + result[targetKey] = val.slice(); + } else if (!skipUndefined || !isUndefined(val)) { + result[targetKey] = val; + } + }; + for (var i = 0, l = arguments.length; i < l; i++) { + var source = i < 0 || arguments.length <= i ? undefined : arguments[i]; + if (!source || isBuffer(source)) { + continue; + } + forEach(source, assignValue); + if (_typeof(source) !== 'object' || isArray(source)) { + continue; + } + var symbols = Object.getOwnPropertySymbols(source); + for (var j = 0; j < symbols.length; j++) { + var symbol = symbols[j]; + if (propertyIsEnumerable.call(source, symbol)) { + assignValue(source[symbol], symbol); + } + } + } + return result; + } + + /** + * Extends object a by mutably adding to it the properties of object b. + * + * @param {Object} a The object to be extended + * @param {Object} b The object to copy properties from + * @param {Object} thisArg The object to bind function to + * + * @param {Object} [options] + * @param {Boolean} [options.allOwnKeys] + * @returns {Object} The resulting value of object a + */ + var extend = function extend(a, b, thisArg) { + var _ref4 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}, + allOwnKeys = _ref4.allOwnKeys; + forEach(b, function (val, key) { + if (thisArg && isFunction$1(val)) { + Object.defineProperty(a, key, { + // Null-proto descriptor so a polluted Object.prototype.get cannot + // hijack defineProperty's accessor-vs-data resolution. + __proto__: null, + value: bind(val, thisArg), + writable: true, + enumerable: true, + configurable: true + }); + } else { + Object.defineProperty(a, key, { + __proto__: null, + value: val, + writable: true, + enumerable: true, + configurable: true + }); + } + }, { + allOwnKeys: allOwnKeys + }); + return a; + }; + + /** + * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) + * + * @param {string} content with BOM + * + * @returns {string} content value without BOM + */ + var stripBOM = function stripBOM(content) { + if (content.charCodeAt(0) === 0xfeff) { + content = content.slice(1); + } + return content; + }; + + /** + * Inherit the prototype methods from one constructor into another + * @param {function} constructor + * @param {function} superConstructor + * @param {object} [props] + * @param {object} [descriptors] + * + * @returns {void} + */ + var inherits = function inherits(constructor, superConstructor, props, descriptors) { + constructor.prototype = Object.create(superConstructor.prototype, descriptors); + Object.defineProperty(constructor.prototype, 'constructor', { + __proto__: null, + value: constructor, + writable: true, + enumerable: false, + configurable: true + }); + Object.defineProperty(constructor, 'super', { + __proto__: null, + value: superConstructor.prototype + }); + props && Object.assign(constructor.prototype, props); + }; + + /** + * Resolve object with deep prototype chain to a flat object + * @param {Object} sourceObj source object + * @param {Object} [destObj] + * @param {Function|Boolean} [filter] + * @param {Function} [propFilter] + * + * @returns {Object} + */ + var toFlatObject = function toFlatObject(sourceObj, destObj, filter, propFilter) { + var props; + var i; + var prop; + var merged = {}; + destObj = destObj || {}; + // eslint-disable-next-line no-eq-null,eqeqeq + if (sourceObj == null) return destObj; + do { + props = Object.getOwnPropertyNames(sourceObj); + i = props.length; + while (i-- > 0) { + prop = props[i]; + if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) { + destObj[prop] = sourceObj[prop]; + merged[prop] = true; + } + } + sourceObj = filter !== false && getPrototypeOf(sourceObj); + } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype); + return destObj; + }; + + /** + * Determines whether a string ends with the characters of a specified string + * + * @param {String} str + * @param {String} searchString + * @param {Number} [position= 0] + * + * @returns {boolean} + */ + var endsWith = function endsWith(str, searchString, position) { + str = String(str); + if (position === undefined || position > str.length) { + position = str.length; + } + position -= searchString.length; + var lastIndex = str.indexOf(searchString, position); + return lastIndex !== -1 && lastIndex === position; + }; + + /** + * Returns new array from array like object or null if failed + * + * @param {*} [thing] + * + * @returns {?Array} + */ + var toArray = function toArray(thing) { + if (!thing) return null; + if (isArray(thing)) return thing; + var i = thing.length; + if (!isNumber(i)) return null; + var arr = new Array(i); + while (i-- > 0) { + arr[i] = thing[i]; + } + return arr; + }; + + /** + * Checking if the Uint8Array exists and if it does, it returns a function that checks if the + * thing passed in is an instance of Uint8Array + * + * @param {TypedArray} + * + * @returns {Array} + */ + // eslint-disable-next-line func-names + var isTypedArray = function (TypedArray) { + // eslint-disable-next-line func-names + return function (thing) { + return TypedArray && thing instanceof TypedArray; + }; + }(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array)); + + /** + * For each entry in the object, call the function with the key and value. + * + * @param {Object} obj - The object to iterate over. + * @param {Function} fn - The function to call for each entry. + * + * @returns {void} + */ + var forEachEntry = function forEachEntry(obj, fn) { + var generator = obj && obj[iterator]; + var _iterator = generator.call(obj); + var result; + while ((result = _iterator.next()) && !result.done) { + var pair = result.value; + fn.call(obj, pair[0], pair[1]); + } + }; + + /** + * It takes a regular expression and a string, and returns an array of all the matches + * + * @param {string} regExp - The regular expression to match against. + * @param {string} str - The string to search. + * + * @returns {Array} + */ + var matchAll = function matchAll(regExp, str) { + var matches; + var arr = []; + while ((matches = regExp.exec(str)) !== null) { + arr.push(matches); + } + return arr; + }; + + /* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */ + var isHTMLForm = kindOfTest('HTMLFormElement'); + var toCamelCase = function toCamelCase(str) { + return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) { + return p1.toUpperCase() + p2; + }); + }; + var propertyIsEnumerable = Object.prototype.propertyIsEnumerable; + + /** + * Determine if a value is a RegExp object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a RegExp object, otherwise false + */ + var isRegExp = kindOfTest('RegExp'); + var reduceDescriptors = function reduceDescriptors(obj, reducer) { + var descriptors = Object.getOwnPropertyDescriptors(obj); + var reducedDescriptors = {}; + forEach(descriptors, function (descriptor, name) { + var ret; + if ((ret = reducer(descriptor, name, obj)) !== false) { + reducedDescriptors[name] = ret || descriptor; + } + }); + Object.defineProperties(obj, reducedDescriptors); + }; + + /** + * Makes all methods read-only + * @param {Object} obj + */ + + var freezeMethods = function freezeMethods(obj) { + reduceDescriptors(obj, function (descriptor, name) { + // skip restricted props in strict mode + if (isFunction$1(obj) && ['arguments', 'caller', 'callee'].includes(name)) { + return false; + } + var value = obj[name]; + if (!isFunction$1(value)) return; + descriptor.enumerable = false; + if ('writable' in descriptor) { + descriptor.writable = false; + return; + } + if (!descriptor.set) { + descriptor.set = function () { + throw Error("Can not rewrite read-only method '" + name + "'"); + }; + } + }); + }; + + /** + * Converts an array or a delimited string into an object set with values as keys and true as values. + * Useful for fast membership checks. + * + * @param {Array|string} arrayOrString - The array or string to convert. + * @param {string} delimiter - The delimiter to use if input is a string. + * @returns {Object} An object with keys from the array or string, values set to true. + */ + var toObjectSet = function toObjectSet(arrayOrString, delimiter) { + var obj = {}; + var define = function define(arr) { + arr.forEach(function (value) { + obj[value] = true; + }); + }; + isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter)); + return obj; + }; + var noop = function noop() {}; + var toFiniteNumber = function toFiniteNumber(value, defaultValue) { + return value != null && Number.isFinite(value = +value) ? value : defaultValue; + }; + + /** + * If the thing is a FormData object, return true, otherwise return false. + * + * @param {unknown} thing - The thing to check. + * + * @returns {boolean} + */ + function isSpecCompliantForm(thing) { + return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]); + } + + /** + * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers. + * + * @param {Object} obj - The object to convert. + * @returns {Object} The JSON-compatible object. + */ + var toJSONObject = function toJSONObject(obj) { + var visited = new WeakSet(); + var _visit = function visit(source) { + if (isObject(source)) { + if (visited.has(source)) { + return; + } + + //Buffer check + if (isBuffer(source)) { + return source; + } + if (!('toJSON' in source)) { + // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230). + visited.add(source); + var target = isArray(source) ? [] : {}; + forEach(source, function (value, key) { + var reducedValue = _visit(value); + !isUndefined(reducedValue) && (target[key] = reducedValue); + }); + visited["delete"](source); + return target; + } + } + return source; + }; + return _visit(obj); + }; + + /** + * Determines if a value is an async function. + * + * @param {*} thing - The value to test. + * @returns {boolean} True if value is an async function, otherwise false. + */ + var isAsyncFn = kindOfTest('AsyncFunction'); + + /** + * Determines if a value is thenable (has then and catch methods). + * + * @param {*} thing - The value to test. + * @returns {boolean} True if value is thenable, otherwise false. + */ + var isThenable = function isThenable(thing) { + return thing && (isObject(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing["catch"]); + }; + + // original code + // https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34 + + /** + * Provides a cross-platform setImmediate implementation. + * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout. + * + * @param {boolean} setImmediateSupported - Whether setImmediate is supported. + * @param {boolean} postMessageSupported - Whether postMessage is supported. + * @returns {Function} A function to schedule a callback asynchronously. + */ + var _setImmediate = function (setImmediateSupported, postMessageSupported) { + if (setImmediateSupported) { + return setImmediate; + } + return postMessageSupported ? function (token, callbacks) { + _global.addEventListener('message', function (_ref5) { + var source = _ref5.source, + data = _ref5.data; + if (source === _global && data === token) { + callbacks.length && callbacks.shift()(); + } + }, false); + return function (cb) { + callbacks.push(cb); + _global.postMessage(token, '*'); + }; + }("axios@".concat(Math.random()), []) : function (cb) { + return setTimeout(cb); + }; + }(typeof setImmediate === 'function', isFunction$1(_global.postMessage)); + + /** + * Schedules a microtask or asynchronous callback as soon as possible. + * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate. + * + * @type {Function} + */ + var asap = typeof queueMicrotask !== 'undefined' ? queueMicrotask.bind(_global) : typeof process !== 'undefined' && process.nextTick || _setImmediate; + + // ********************* + + var isIterable = function isIterable(thing) { + return thing != null && isFunction$1(thing[iterator]); + }; + + /** + * Determine if a value is iterable via an iterator that is NOT sourced solely + * from a polluted Object.prototype. Use this instead of `isIterable` whenever + * the iterable comes from untrusted input (e.g. user-supplied header sources), + * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object + * into an attacker-controlled entries iterator. + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value has a non-polluted iterator + */ + var isSafeIterable = function isSafeIterable(thing) { + return thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing); + }; + var utils$1 = { + isArray: isArray, + isArrayBuffer: isArrayBuffer, + isBuffer: isBuffer, + isFormData: isFormData, + isArrayBufferView: isArrayBufferView, + isString: isString, + isNumber: isNumber, + isBoolean: isBoolean, + isObject: isObject, + isPlainObject: isPlainObject, + isEmptyObject: isEmptyObject, + isReadableStream: isReadableStream, + isRequest: isRequest, + isResponse: isResponse, + isHeaders: isHeaders, + isUndefined: isUndefined, + isDate: isDate, + isFile: isFile, + isReactNativeBlob: isReactNativeBlob, + isReactNative: isReactNative, + isBlob: isBlob, + isRegExp: isRegExp, + isFunction: isFunction$1, + isStream: isStream, + isURLSearchParams: isURLSearchParams, + isTypedArray: isTypedArray, + isFileList: isFileList, + forEach: forEach, + merge: merge, + extend: extend, + trim: trim, + stripBOM: stripBOM, + inherits: inherits, + toFlatObject: toFlatObject, + kindOf: kindOf, + kindOfTest: kindOfTest, + endsWith: endsWith, + toArray: toArray, + forEachEntry: forEachEntry, + matchAll: matchAll, + isHTMLForm: isHTMLForm, + hasOwnProperty: hasOwnProperty, + hasOwnProp: hasOwnProperty, + // an alias to avoid ESLint no-prototype-builtins detection + hasOwnInPrototypeChain: hasOwnInPrototypeChain, + getSafeProp: getSafeProp, + reduceDescriptors: reduceDescriptors, + freezeMethods: freezeMethods, + toObjectSet: toObjectSet, + toCamelCase: toCamelCase, + noop: noop, + toFiniteNumber: toFiniteNumber, + findKey: findKey, + global: _global, + isContextDefined: isContextDefined, + isSpecCompliantForm: isSpecCompliantForm, + toJSONObject: toJSONObject, + isAsyncFn: isAsyncFn, + isThenable: isThenable, + setImmediate: _setImmediate, + asap: asap, + isIterable: isIterable, + isSafeIterable: isSafeIterable + }; + + // RawAxiosHeaders whose duplicates are ignored by node + // c.f. https://nodejs.org/api/http.html#http_message_headers + var ignoreDuplicateOf = utils$1.toObjectSet(['age', 'authorization', 'content-length', 'content-type', 'etag', 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 'referer', 'retry-after', 'user-agent']); + + /** + * Parse headers into an object + * + * ``` + * Date: Wed, 27 Aug 2014 08:58:49 GMT + * Content-Type: application/json + * Connection: keep-alive + * Transfer-Encoding: chunked + * ``` + * + * @param {String} rawHeaders Headers needing to be parsed + * + * @returns {Object} Headers parsed into an object + */ + var parseHeaders = (function (rawHeaders) { + var parsed = {}; + var key; + var val; + var i; + rawHeaders && rawHeaders.split('\n').forEach(function parser(line) { + i = line.indexOf(':'); + key = line.substring(0, i).trim().toLowerCase(); + val = line.substring(i + 1).trim(); + if (!key || parsed[key] && ignoreDuplicateOf[key]) { + return; + } + if (key === 'set-cookie') { + if (parsed[key]) { + parsed[key].push(val); + } else { + parsed[key] = [val]; + } + } else { + parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val; + } + }); + return parsed; + }); + + function trimSPorHTAB(str) { + var start = 0; + var end = str.length; + while (start < end) { + var code = str.charCodeAt(start); + if (code !== 0x09 && code !== 0x20) { + break; + } + start += 1; + } + while (end > start) { + var _code = str.charCodeAt(end - 1); + if (_code !== 0x09 && _code !== 0x20) { + break; + } + end -= 1; + } + return start === 0 && end === str.length ? str : str.slice(start, end); + } + + // The control-code ranges are intentional: header sanitization strips C0/DEL bytes. + // eslint-disable-next-line no-control-regex + var INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+", 'g'); + // eslint-disable-next-line no-control-regex + var INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+", 'g'); + function sanitizeValue(value, invalidChars) { + if (utils$1.isArray(value)) { + return value.map(function (item) { + return sanitizeValue(item, invalidChars); + }); + } + return trimSPorHTAB(String(value).replace(invalidChars, '')); + } + var sanitizeHeaderValue = function sanitizeHeaderValue(value) { + return sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS); + }; + var sanitizeByteStringHeaderValue = function sanitizeByteStringHeaderValue(value) { + return sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS); + }; + function toByteStringHeaderObject(headers) { + var byteStringHeaders = Object.create(null); + utils$1.forEach(headers.toJSON(), function (value, header) { + byteStringHeaders[header] = sanitizeByteStringHeaderValue(value); + }); + return byteStringHeaders; + } + + var $internals = Symbol('internals'); + function normalizeHeader(header) { + return header && String(header).trim().toLowerCase(); + } + function normalizeValue(value) { + if (value === false || value == null) { + return value; + } + return utils$1.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value)); + } + function parseTokens(str) { + var tokens = Object.create(null); + var tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; + var match; + while (match = tokensRE.exec(str)) { + tokens[match[1]] = match[2]; + } + return tokens; + } + var isValidHeaderName = function isValidHeaderName(str) { + return /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim()); + }; + function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) { + if (utils$1.isFunction(filter)) { + return filter.call(this, value, header); + } + if (isHeaderNameFilter) { + value = header; + } + if (!utils$1.isString(value)) return; + if (utils$1.isString(filter)) { + return value.indexOf(filter) !== -1; + } + if (utils$1.isRegExp(filter)) { + return filter.test(value); + } + } + function formatHeader(header) { + return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, function (w, _char, str) { + return _char.toUpperCase() + str; + }); + } + function buildAccessors(obj, header) { + var accessorName = utils$1.toCamelCase(' ' + header); + ['get', 'set', 'has'].forEach(function (methodName) { + Object.defineProperty(obj, methodName + accessorName, { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: function value(arg1, arg2, arg3) { + return this[methodName].call(this, header, arg1, arg2, arg3); + }, + configurable: true + }); + }); + } + var AxiosHeaders = /*#__PURE__*/function () { + function AxiosHeaders(headers) { + _classCallCheck(this, AxiosHeaders); + headers && this.set(headers); + } + return _createClass(AxiosHeaders, [{ + key: "set", + value: function set(header, valueOrRewrite, rewrite) { + var self = this; + function setHeader(_value, _header, _rewrite) { + var lHeader = normalizeHeader(_header); + if (!lHeader) { + return; + } + var key = utils$1.findKey(self, lHeader); + if (!key || self[key] === undefined || _rewrite === true || _rewrite === undefined && self[key] !== false) { + self[key || _header] = normalizeValue(_value); + } + } + var setHeaders = function setHeaders(headers, _rewrite) { + return utils$1.forEach(headers, function (_value, _header) { + return setHeader(_value, _header, _rewrite); + }); + }; + if (utils$1.isPlainObject(header) || header instanceof this.constructor) { + setHeaders(header, valueOrRewrite); + } else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) { + setHeaders(parseHeaders(header), valueOrRewrite); + } else if (utils$1.isObject(header) && utils$1.isSafeIterable(header)) { + var obj = Object.create(null), + dest, + key; + var _iterator = _createForOfIteratorHelper(header), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var entry = _step.value; + if (!utils$1.isArray(entry)) { + throw new TypeError('Object iterator must return a key-value pair'); + } + key = entry[0]; + if (utils$1.hasOwnProp(obj, key)) { + dest = obj[key]; + obj[key] = utils$1.isArray(dest) ? [].concat(_toConsumableArray(dest), [entry[1]]) : [dest, entry[1]]; + } else { + obj[key] = entry[1]; + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + setHeaders(obj, valueOrRewrite); + } else { + header != null && setHeader(valueOrRewrite, header, rewrite); + } + return this; + } + }, { + key: "get", + value: function get(header, parser) { + header = normalizeHeader(header); + if (header) { + var key = utils$1.findKey(this, header); + if (key) { + var value = this[key]; + if (!parser) { + return value; + } + if (parser === true) { + return parseTokens(value); + } + if (utils$1.isFunction(parser)) { + return parser.call(this, value, key); + } + if (utils$1.isRegExp(parser)) { + return parser.exec(value); + } + throw new TypeError('parser must be boolean|regexp|function'); + } + } + } + }, { + key: "has", + value: function has(header, matcher) { + header = normalizeHeader(header); + if (header) { + var key = utils$1.findKey(this, header); + return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher))); + } + return false; + } + }, { + key: "delete", + value: function _delete(header, matcher) { + var self = this; + var deleted = false; + function deleteHeader(_header) { + _header = normalizeHeader(_header); + if (_header) { + var key = utils$1.findKey(self, _header); + if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) { + delete self[key]; + deleted = true; + } + } + } + if (utils$1.isArray(header)) { + header.forEach(deleteHeader); + } else { + deleteHeader(header); + } + return deleted; + } + }, { + key: "clear", + value: function clear(matcher) { + var keys = Object.keys(this); + var i = keys.length; + var deleted = false; + while (i--) { + var key = keys[i]; + if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) { + delete this[key]; + deleted = true; + } + } + return deleted; + } + }, { + key: "normalize", + value: function normalize(format) { + var self = this; + var headers = {}; + utils$1.forEach(this, function (value, header) { + var key = utils$1.findKey(headers, header); + if (key) { + self[key] = normalizeValue(value); + delete self[header]; + return; + } + var normalized = format ? formatHeader(header) : String(header).trim(); + if (normalized !== header) { + delete self[header]; + } + self[normalized] = normalizeValue(value); + headers[normalized] = true; + }); + return this; + } + }, { + key: "concat", + value: function concat() { + var _this$constructor; + for (var _len = arguments.length, targets = new Array(_len), _key = 0; _key < _len; _key++) { + targets[_key] = arguments[_key]; + } + return (_this$constructor = this.constructor).concat.apply(_this$constructor, [this].concat(targets)); + } + }, { + key: "toJSON", + value: function toJSON(asStrings) { + var obj = Object.create(null); + utils$1.forEach(this, function (value, header) { + value != null && value !== false && (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value); + }); + return obj; + } + }, { + key: Symbol.iterator, + value: function value() { + return Object.entries(this.toJSON())[Symbol.iterator](); + } + }, { + key: "toString", + value: function toString() { + return Object.entries(this.toJSON()).map(function (_ref) { + var _ref2 = _slicedToArray(_ref, 2), + header = _ref2[0], + value = _ref2[1]; + return header + ': ' + value; + }).join('\n'); + } + }, { + key: "getSetCookie", + value: function getSetCookie() { + return this.get('set-cookie') || []; + } + }, { + key: Symbol.toStringTag, + get: function get() { + return 'AxiosHeaders'; + } + }], [{ + key: "from", + value: function from(thing) { + return thing instanceof this ? thing : new this(thing); + } + }, { + key: "concat", + value: function concat(first) { + var computed = new this(first); + for (var _len2 = arguments.length, targets = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { + targets[_key2 - 1] = arguments[_key2]; + } + targets.forEach(function (target) { + return computed.set(target); + }); + return computed; + } + }, { + key: "accessor", + value: function accessor(header) { + var internals = this[$internals] = this[$internals] = { + accessors: {} + }; + var accessors = internals.accessors; + var prototype = this.prototype; + function defineAccessor(_header) { + var lHeader = normalizeHeader(_header); + if (!accessors[lHeader]) { + buildAccessors(prototype, _header); + accessors[lHeader] = true; + } + } + utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header); + return this; + } + }]); + }(); + AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']); + + // reserved names hotfix + utils$1.reduceDescriptors(AxiosHeaders.prototype, function (_ref3, key) { + var value = _ref3.value; + var mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set` + return { + get: function get() { + return value; + }, + set: function set(headerValue) { + this[mapped] = headerValue; + } + }; + }); + utils$1.freezeMethods(AxiosHeaders); + + var REDACTED = '[REDACTED ****]'; + function hasOwnOrPrototypeToJSON(source) { + if (utils$1.hasOwnProp(source, 'toJSON')) { + return true; + } + var prototype = Object.getPrototypeOf(source); + while (prototype && prototype !== Object.prototype) { + if (utils$1.hasOwnProp(prototype, 'toJSON')) { + return true; + } + prototype = Object.getPrototypeOf(prototype); + } + return false; + } + + // Build a plain-object snapshot of `config` and replace the value of any key + // (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays + // and AxiosHeaders, and short-circuits on circular references. + function redactConfig(config, redactKeys) { + var lowerKeys = new Set(redactKeys.map(function (k) { + return String(k).toLowerCase(); + })); + var seen = []; + var _visit = function visit(source) { + if (source === null || _typeof(source) !== 'object') return source; + if (utils$1.isBuffer(source)) return source; + if (seen.indexOf(source) !== -1) return undefined; + if (source instanceof AxiosHeaders) { + source = source.toJSON(); + } + seen.push(source); + var result; + if (utils$1.isArray(source)) { + result = []; + source.forEach(function (v, i) { + var reducedValue = _visit(v); + if (!utils$1.isUndefined(reducedValue)) { + result[i] = reducedValue; + } + }); + } else { + if (!utils$1.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) { + seen.pop(); + return source; + } + result = Object.create(null); + for (var _i = 0, _Object$entries = Object.entries(source); _i < _Object$entries.length; _i++) { + var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2), + key = _Object$entries$_i[0], + value = _Object$entries$_i[1]; + var reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : _visit(value); + if (!utils$1.isUndefined(reducedValue)) { + result[key] = reducedValue; + } + } + } + seen.pop(); + return result; + }; + return _visit(config); + } + var AxiosError = /*#__PURE__*/function (_Error) { + /** + * Create an Error with the specified message, config, error code, request and response. + * + * @param {string} message The error message. + * @param {string} [code] The error code (for example, 'ECONNABORTED'). + * @param {Object} [config] The config. + * @param {Object} [request] The request. + * @param {Object} [response] The response. + * + * @returns {Error} The created error. + */ + function AxiosError(message, code, config, request, response) { + var _this; + _classCallCheck(this, AxiosError); + _this = _callSuper(this, AxiosError, [message]); + + // Make message enumerable to maintain backward compatibility + // The native Error constructor sets message as non-enumerable, + // but axios < v1.13.3 had it as enumerable + Object.defineProperty(_this, 'message', { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: message, + enumerable: true, + writable: true, + configurable: true + }); + _this.name = 'AxiosError'; + _this.isAxiosError = true; + code && (_this.code = code); + config && (_this.config = config); + request && (_this.request = request); + if (response) { + _this.response = response; + _this.status = response.status; + } + return _this; + } + _inherits(AxiosError, _Error); + return _createClass(AxiosError, [{ + key: "toJSON", + value: function toJSON() { + // Opt-in redaction: when the request config carries a `redact` array, the + // value of any matching key (case-insensitive, at any depth) is replaced + // with REDACTED in the serialized snapshot. Undefined or empty leaves the + // existing serialization behavior unchanged. + var config = this.config; + var redactKeys = config && utils$1.hasOwnProp(config, 'redact') ? config.redact : undefined; + var serializedConfig = utils$1.isArray(redactKeys) && redactKeys.length > 0 ? redactConfig(config, redactKeys) : utils$1.toJSONObject(config); + return { + // Standard + message: this.message, + name: this.name, + // Microsoft + description: this.description, + number: this.number, + // Mozilla + fileName: this.fileName, + lineNumber: this.lineNumber, + columnNumber: this.columnNumber, + stack: this.stack, + // Axios + config: serializedConfig, + code: this.code, + status: this.status + }; + } + }], [{ + key: "from", + value: function from(error, code, config, request, response, customProps) { + var axiosError = new AxiosError(error.message, code || error.code, config, request, response); + // Match native `Error` `cause` semantics: non-enumerable. The wrapped + // error often carries circular internals (sockets, requests, agents), so + // an enumerable `cause` makes structured loggers (pino/winston) and any + // own-property walk throw "Converting circular structure to JSON". + // Regression from #6982; see #7205. `__proto__: null` mirrors the + // `message` descriptor below (prototype-pollution-safe descriptor). + Object.defineProperty(axiosError, 'cause', { + __proto__: null, + value: error, + writable: true, + enumerable: false, + configurable: true + }); + axiosError.name = error.name; + + // Preserve status from the original error if not already set from response + if (error.status != null && axiosError.status == null) { + axiosError.status = error.status; + } + customProps && Object.assign(axiosError, customProps); + return axiosError; + } + }]); + }(/*#__PURE__*/_wrapNativeSuper(Error)); // This can be changed to static properties as soon as the parser options in .eslint.cjs are updated. + AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE'; + AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION'; + AxiosError.ECONNABORTED = 'ECONNABORTED'; + AxiosError.ETIMEDOUT = 'ETIMEDOUT'; + AxiosError.ECONNREFUSED = 'ECONNREFUSED'; + AxiosError.ERR_NETWORK = 'ERR_NETWORK'; + AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS'; + AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED'; + AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE'; + AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST'; + AxiosError.ERR_CANCELED = 'ERR_CANCELED'; + AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT'; + AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL'; + AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED'; + + // eslint-disable-next-line strict + var httpAdapter = null; + + // Default nesting limit shared with the inverse transform (formDataToJSON) so + // the FormData <-> JSON round-trip stays symmetric. + var DEFAULT_FORM_DATA_MAX_DEPTH = 100; + + /** + * Determines if the given thing is a array or js object. + * + * @param {string} thing - The object or array to be visited. + * + * @returns {boolean} + */ + function isVisitable(thing) { + return utils$1.isPlainObject(thing) || utils$1.isArray(thing); + } + + /** + * It removes the brackets from the end of a string + * + * @param {string} key - The key of the parameter. + * + * @returns {string} the key without the brackets. + */ + function removeBrackets(key) { + return utils$1.endsWith(key, '[]') ? key.slice(0, -2) : key; + } + + /** + * It takes a path, a key, and a boolean, and returns a string + * + * @param {string} path - The path to the current key. + * @param {string} key - The key of the current object being iterated over. + * @param {string} dots - If true, the key will be rendered with dots instead of brackets. + * + * @returns {string} The path to the current key. + */ + function renderKey(path, key, dots) { + if (!path) return key; + return path.concat(key).map(function each(token, i) { + // eslint-disable-next-line no-param-reassign + token = removeBrackets(token); + return !dots && i ? '[' + token + ']' : token; + }).join(dots ? '.' : ''); + } + + /** + * If the array is an array and none of its elements are visitable, then it's a flat array. + * + * @param {Array} arr - The array to check + * + * @returns {boolean} + */ + function isFlatArray(arr) { + return utils$1.isArray(arr) && !arr.some(isVisitable); + } + var predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) { + return /^is[A-Z]/.test(prop); + }); + + /** + * Convert a data object to FormData + * + * @param {Object} obj + * @param {?Object} [formData] + * @param {?Object} [options] + * @param {Function} [options.visitor] + * @param {Boolean} [options.metaTokens = true] + * @param {Boolean} [options.dots = false] + * @param {?Boolean} [options.indexes = false] + * + * @returns {Object} + **/ + + /** + * It converts an object into a FormData object + * + * @param {Object} obj - The object to convert to form data. + * @param {string} formData - The FormData object to append to. + * @param {Object} options + * + * @returns + */ + function toFormData(obj, formData, options) { + if (!utils$1.isObject(obj)) { + throw new TypeError('target must be an object'); + } + + // eslint-disable-next-line no-param-reassign + formData = formData || new (FormData)(); + + // eslint-disable-next-line no-param-reassign + options = utils$1.toFlatObject(options, { + metaTokens: true, + dots: false, + indexes: false + }, false, function defined(option, source) { + // eslint-disable-next-line no-eq-null,eqeqeq + return !utils$1.isUndefined(source[option]); + }); + var metaTokens = options.metaTokens; + // eslint-disable-next-line no-use-before-define + var visitor = options.visitor || defaultVisitor; + var dots = options.dots; + var indexes = options.indexes; + var _Blob = options.Blob || typeof Blob !== 'undefined' && Blob; + var maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth; + var useBlob = _Blob && utils$1.isSpecCompliantForm(formData); + var stack = []; + if (!utils$1.isFunction(visitor)) { + throw new TypeError('visitor must be a function'); + } + function convertValue(value) { + if (value === null) return ''; + if (utils$1.isDate(value)) { + return value.toISOString(); + } + if (utils$1.isBoolean(value)) { + return value.toString(); + } + if (!useBlob && utils$1.isBlob(value)) { + throw new AxiosError('Blob is not supported. Use a Buffer instead.'); + } + if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) { + if (useBlob && typeof _Blob === 'function') { + return new _Blob([value]); + } + if (typeof Buffer !== 'undefined') { + return Buffer.from(value); + } + throw new AxiosError('Blob is not supported. Use a Buffer instead.', AxiosError.ERR_NOT_SUPPORT); + } + return value; + } + function throwIfMaxDepthExceeded(depth) { + if (depth > maxDepth) { + throw new AxiosError('Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth, AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED); + } + } + function stringifyWithDepthLimit(value, depth) { + if (maxDepth === Infinity) { + return JSON.stringify(value); + } + var ancestors = []; + return JSON.stringify(value, function limitDepth(_key, currentValue) { + if (!utils$1.isObject(currentValue)) { + return currentValue; + } + while (ancestors.length && ancestors[ancestors.length - 1] !== this) { + ancestors.pop(); + } + ancestors.push(currentValue); + throwIfMaxDepthExceeded(depth + ancestors.length - 1); + return currentValue; + }); + } + + /** + * Default visitor. + * + * @param {*} value + * @param {String|Number} key + * @param {Array} path + * @this {FormData} + * + * @returns {boolean} return true to visit the each prop of the value recursively + */ + function defaultVisitor(value, key, path) { + var arr = value; + if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) { + formData.append(renderKey(path, key, dots), convertValue(value)); + return false; + } + if (value && !path && _typeof(value) === 'object') { + if (utils$1.endsWith(key, '{}')) { + // eslint-disable-next-line no-param-reassign + key = metaTokens ? key : key.slice(0, -2); + // eslint-disable-next-line no-param-reassign + value = stringifyWithDepthLimit(value, 1); + } else if (utils$1.isArray(value) && isFlatArray(value) || (utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))) { + // eslint-disable-next-line no-param-reassign + key = removeBrackets(key); + arr.forEach(function each(el, index) { + !(utils$1.isUndefined(el) || el === null) && formData.append( + // eslint-disable-next-line no-nested-ternary + indexes === true ? renderKey([key], index, dots) : indexes === null ? key : key + '[]', convertValue(el)); + }); + return false; + } + } + if (isVisitable(value)) { + return true; + } + formData.append(renderKey(path, key, dots), convertValue(value)); + return false; + } + var exposedHelpers = Object.assign(predicates, { + defaultVisitor: defaultVisitor, + convertValue: convertValue, + isVisitable: isVisitable + }); + function build(value, path) { + var depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; + if (utils$1.isUndefined(value)) return; + throwIfMaxDepthExceeded(depth); + if (stack.indexOf(value) !== -1) { + throw new Error('Circular reference detected in ' + path.join('.')); + } + stack.push(value); + utils$1.forEach(value, function each(el, key) { + var result = !(utils$1.isUndefined(el) || el === null) && visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers); + if (result === true) { + build(el, path ? path.concat(key) : [key], depth + 1); + } + }); + stack.pop(); + } + if (!utils$1.isObject(obj)) { + throw new TypeError('data must be an object'); + } + build(obj); + return formData; + } + + /** + * It encodes a string by replacing all characters that are not in the unreserved set with + * their percent-encoded equivalents + * + * @param {string} str - The string to encode. + * + * @returns {string} The encoded string. + */ + function encode$1(str) { + var charMap = { + '!': '%21', + "'": '%27', + '(': '%28', + ')': '%29', + '~': '%7E', + '%20': '+' + }; + return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) { + return charMap[match]; + }); + } + + /** + * It takes a params object and converts it to a FormData object + * + * @param {Object} params - The parameters to be converted to a FormData object. + * @param {Object} options - The options object passed to the Axios constructor. + * + * @returns {void} + */ + function AxiosURLSearchParams(params, options) { + this._pairs = []; + params && toFormData(params, this, options); + } + var prototype = AxiosURLSearchParams.prototype; + prototype.append = function append(name, value) { + this._pairs.push([name, value]); + }; + prototype.toString = function toString(encoder) { + var _this = this; + var _encode = encoder ? function (value) { + return encoder.call(_this, value, encode$1); + } : encode$1; + return this._pairs.map(function each(pair) { + return _encode(pair[0]) + '=' + _encode(pair[1]); + }, '').join('&'); + }; + + /** + * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with + * their plain counterparts (`:`, `$`, `,`, `+`). + * + * @param {string} val The value to be encoded. + * + * @returns {string} The encoded value. + */ + function encode(val) { + return encodeURIComponent(val).replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+'); + } + + /** + * Build a URL by appending params to the end + * + * @param {string} url The base of the url (e.g., http://www.google.com) + * @param {object} [params] The params to be appended + * @param {?(object|Function)} options + * + * @returns {string} The formatted url + */ + function buildURL(url, params, options) { + if (!params) { + return url; + } + url = url || ''; + var _options = utils$1.isFunction(options) ? { + serialize: options + } : options; + + // Read serializer options pollution-safely: own properties and methods on a + // class/template prototype are honored, but values injected onto a polluted + // Object.prototype are ignored. + var _encode = utils$1.getSafeProp(_options, 'encode') || encode; + var serializeFn = utils$1.getSafeProp(_options, 'serialize'); + var serializedParams; + if (serializeFn) { + serializedParams = serializeFn(params, _options); + } else { + serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode); + } + if (serializedParams) { + var hashmarkIndex = url.indexOf('#'); + if (hashmarkIndex !== -1) { + url = url.slice(0, hashmarkIndex); + } + url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams; + } + return url; + } + + var InterceptorManager = /*#__PURE__*/function () { + function InterceptorManager() { + _classCallCheck(this, InterceptorManager); + this.handlers = []; + } + + /** + * Add a new interceptor to the stack + * + * @param {Function} fulfilled The function to handle `then` for a `Promise` + * @param {Function} rejected The function to handle `reject` for a `Promise` + * @param {Object} options The options for the interceptor, synchronous and runWhen + * + * @return {Number} An ID used to remove interceptor later + */ + return _createClass(InterceptorManager, [{ + key: "use", + value: function use(fulfilled, rejected, options) { + this.handlers.push({ + fulfilled: fulfilled, + rejected: rejected, + synchronous: options ? options.synchronous : false, + runWhen: options ? options.runWhen : null + }); + return this.handlers.length - 1; + } + + /** + * Remove an interceptor from the stack + * + * @param {Number} id The ID that was returned by `use` + * + * @returns {void} + */ + }, { + key: "eject", + value: function eject(id) { + if (this.handlers[id]) { + this.handlers[id] = null; + } + } + + /** + * Clear all interceptors from the stack + * + * @returns {void} + */ + }, { + key: "clear", + value: function clear() { + if (this.handlers) { + this.handlers = []; + } + } + + /** + * Iterate over all the registered interceptors + * + * This method is particularly useful for skipping over any + * interceptors that may have become `null` calling `eject`. + * + * @param {Function} fn The function to call for each interceptor + * + * @returns {void} + */ + }, { + key: "forEach", + value: function forEach(fn) { + utils$1.forEach(this.handlers, function forEachHandler(h) { + if (h !== null) { + fn(h); + } + }); + } + }]); + }(); + + var transitionalDefaults = { + silentJSONParsing: true, + forcedJSONParsing: true, + clarifyTimeoutError: false, + legacyInterceptorReqResOrdering: true, + advertiseZstdAcceptEncoding: false, + validateStatusUndefinedResolves: true + }; + + var URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams; + + var FormData$1 = typeof FormData !== 'undefined' ? FormData : null; + + var Blob$1 = typeof Blob !== 'undefined' ? Blob : null; + + var platform$1 = { + isBrowser: true, + classes: { + URLSearchParams: URLSearchParams$1, + FormData: FormData$1, + Blob: Blob$1 + }, + protocols: ['http', 'https', 'file', 'blob', 'url', 'data'] + }; + + var hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined'; + var _navigator = (typeof navigator === "undefined" ? "undefined" : _typeof(navigator)) === 'object' && navigator || undefined; + + /** + * Determine if we're running in a standard browser environment + * + * This allows axios to run in a web worker, and react-native. + * Both environments support XMLHttpRequest, but not fully standard globals. + * + * web workers: + * typeof window -> undefined + * typeof document -> undefined + * + * react-native: + * navigator.product -> 'ReactNative' + * nativescript + * navigator.product -> 'NativeScript' or 'NS' + * + * @returns {boolean} + */ + var hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0); + + /** + * Determine if we're running in a standard browser webWorker environment + * + * Although the `isStandardBrowserEnv` method indicates that + * `allows axios to run in a web worker`, the WebWorker will still be + * filtered out due to its judgment standard + * `typeof window !== 'undefined' && typeof document !== 'undefined'`. + * This leads to a problem when axios post `FormData` in webWorker + */ + var hasStandardBrowserWebWorkerEnv = function () { + return typeof WorkerGlobalScope !== 'undefined' && + // eslint-disable-next-line no-undef + self instanceof WorkerGlobalScope && typeof self.importScripts === 'function'; + }(); + var origin = hasBrowserEnv && window.location.href || 'http://localhost'; + + var utils = /*#__PURE__*/Object.freeze({ + __proto__: null, + hasBrowserEnv: hasBrowserEnv, + hasStandardBrowserEnv: hasStandardBrowserEnv, + hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv, + navigator: _navigator, + origin: origin + }); + + var platform = _objectSpread2(_objectSpread2({}, utils), platform$1); + + function toURLEncodedForm(data, options) { + return toFormData(data, new platform.classes.URLSearchParams(), _objectSpread2({ + visitor: function visitor(value, key, path, helpers) { + if (platform.isNode && utils$1.isBuffer(value)) { + this.append(key, value.toString('base64')); + return false; + } + return helpers.defaultVisitor.apply(this, arguments); + } + }, options)); + } + + var MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH; + function throwIfDepthExceeded(index) { + if (index > MAX_DEPTH) { + throw new AxiosError('FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH, AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED); + } + } + + /** + * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z'] + * + * @param {string} name - The name of the property to get. + * + * @returns An array of strings. + */ + function parsePropPath(name) { + // foo[x][y][z] + // foo.x.y.z + // foo-x-y-z + // foo x y z + var path = []; + var pattern = /\w+|\[(\w*)]/g; + var match; + while ((match = pattern.exec(name)) !== null) { + throwIfDepthExceeded(path.length); + path.push(match[0] === '[]' ? '' : match[1] || match[0]); + } + return path; + } + + /** + * Convert an array to an object. + * + * @param {Array} arr - The array to convert to an object. + * + * @returns An object with the same keys and values as the array. + */ + function arrayToObject(arr) { + var obj = {}; + var keys = Object.keys(arr); + var i; + var len = keys.length; + var key; + for (i = 0; i < len; i++) { + key = keys[i]; + obj[key] = arr[key]; + } + return obj; + } + + /** + * It takes a FormData object and returns a JavaScript object + * + * @param {string} formData The FormData object to convert to JSON. + * + * @returns {Object | null} The converted object. + */ + function formDataToJSON(formData) { + function buildPath(path, value, target, index) { + throwIfDepthExceeded(index); + var name = path[index++]; + if (name === '__proto__') return true; + var isNumericKey = Number.isFinite(+name); + var isLast = index >= path.length; + name = !name && utils$1.isArray(target) ? target.length : name; + if (isLast) { + if (utils$1.hasOwnProp(target, name)) { + target[name] = utils$1.isArray(target[name]) ? target[name].concat(value) : [target[name], value]; + } else { + target[name] = value; + } + return !isNumericKey; + } + if (!utils$1.hasOwnProp(target, name) || !utils$1.isObject(target[name])) { + target[name] = []; + } + var result = buildPath(path, value, target[name], index); + if (result && utils$1.isArray(target[name])) { + target[name] = arrayToObject(target[name]); + } + return !isNumericKey; + } + if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) { + var obj = {}; + utils$1.forEachEntry(formData, function (name, value) { + buildPath(parsePropPath(name), value, obj, 0); + }); + return obj; + } + return null; + } + + var own = function own(obj, key) { + return obj != null && utils$1.hasOwnProp(obj, key) ? obj[key] : undefined; + }; + + /** + * It takes a string, tries to parse it, and if it fails, it returns the stringified version + * of the input + * + * @param {any} rawValue - The value to be stringified. + * @param {Function} parser - A function that parses a string into a JavaScript object. + * @param {Function} encoder - A function that takes a value and returns a string. + * + * @returns {string} A stringified version of the rawValue. + */ + function stringifySafely(rawValue, parser, encoder) { + if (utils$1.isString(rawValue)) { + try { + (parser || JSON.parse)(rawValue); + return utils$1.trim(rawValue); + } catch (e) { + if (e.name !== 'SyntaxError') { + throw e; + } + } + } + return (encoder || JSON.stringify)(rawValue); + } + var defaults = { + transitional: transitionalDefaults, + adapter: ['xhr', 'http', 'fetch'], + transformRequest: [function transformRequest(data, headers) { + var contentType = headers.getContentType() || ''; + var hasJSONContentType = contentType.indexOf('application/json') > -1; + var isObjectPayload = utils$1.isObject(data); + if (isObjectPayload && utils$1.isHTMLForm(data)) { + data = new FormData(data); + } + var isFormData = utils$1.isFormData(data); + if (isFormData) { + return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data; + } + if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data) || utils$1.isReadableStream(data)) { + return data; + } + if (utils$1.isArrayBufferView(data)) { + return data.buffer; + } + if (utils$1.isURLSearchParams(data)) { + headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false); + return data.toString(); + } + var isFileList; + if (isObjectPayload) { + var formSerializer = own(this, 'formSerializer'); + if (contentType.indexOf('application/x-www-form-urlencoded') > -1) { + return toURLEncodedForm(data, formSerializer).toString(); + } + if ((isFileList = utils$1.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) { + var env = own(this, 'env'); + var _FormData = env && env.FormData; + return toFormData(isFileList ? { + 'files[]': data + } : data, _FormData && new _FormData(), formSerializer); + } + } + if (isObjectPayload || hasJSONContentType) { + headers.setContentType('application/json', false); + return stringifySafely(data); + } + return data; + }], + transformResponse: [function transformResponse(data) { + var transitional = own(this, 'transitional') || defaults.transitional; + var forcedJSONParsing = transitional && transitional.forcedJSONParsing; + var responseType = own(this, 'responseType'); + var JSONRequested = responseType === 'json'; + if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) { + return data; + } + if (data && utils$1.isString(data) && (forcedJSONParsing && !responseType || JSONRequested)) { + var silentJSONParsing = transitional && transitional.silentJSONParsing; + var strictJSONParsing = !silentJSONParsing && JSONRequested; + try { + return JSON.parse(data, own(this, 'parseReviver')); + } catch (e) { + if (strictJSONParsing) { + if (e.name === 'SyntaxError') { + throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response')); + } + throw e; + } + } + } + return data; + }], + /** + * A timeout in milliseconds to abort a request. If set to 0 (default) a + * timeout is not created. + */ + timeout: 0, + xsrfCookieName: 'XSRF-TOKEN', + xsrfHeaderName: 'X-XSRF-TOKEN', + maxContentLength: -1, + maxBodyLength: -1, + env: { + FormData: platform.classes.FormData, + Blob: platform.classes.Blob + }, + validateStatus: function validateStatus(status) { + return status >= 200 && status < 300; + }, + headers: { + common: { + Accept: 'application/json, text/plain, */*', + 'Content-Type': undefined + } + } + }; + utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], function (method) { + defaults.headers[method] = {}; + }); + + /** + * Transform the data for a request or a response + * + * @param {Array|Function} fns A single function or Array of functions + * @param {?Object} response The response object + * + * @returns {*} The resulting transformed data + */ + function transformData(fns, response) { + var config = this || defaults; + var context = response || config; + var headers = AxiosHeaders.from(context.headers); + var data = context.data; + utils$1.forEach(fns, function transform(fn) { + data = fn.call(config, data, headers.normalize(), response ? response.status : undefined); + }); + headers.normalize(); + return data; + } + + function isCancel(value) { + return !!(value && value.__CANCEL__); + } + + var CanceledError = /*#__PURE__*/function (_AxiosError) { + /** + * A `CanceledError` is an object that is thrown when an operation is canceled. + * + * @param {string=} message The message. + * @param {Object=} config The config. + * @param {Object=} request The request. + * + * @returns {CanceledError} The created error. + */ + function CanceledError(message, config, request) { + var _this; + _classCallCheck(this, CanceledError); + _this = _callSuper(this, CanceledError, [message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request]); + _this.name = 'CanceledError'; + _this.__CANCEL__ = true; + return _this; + } + _inherits(CanceledError, _AxiosError); + return _createClass(CanceledError); + }(AxiosError); + + /** + * Resolve or reject a Promise based on response status. + * + * @param {Function} resolve A function that resolves the promise. + * @param {Function} reject A function that rejects the promise. + * @param {object} response The response. + * + * @returns {object} The response. + */ + function settle(resolve, reject, response) { + var validateStatus = response.config.validateStatus; + if (!response.status || !validateStatus || validateStatus(response.status)) { + resolve(response); + } else { + reject(new AxiosError('Request failed with status code ' + response.status, response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE, response.config, response.request, response)); + } + } + + function parseProtocol(url) { + var match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url); + return match && match[1] || ''; + } + + /** + * Calculate data maxRate + * @param {Number} [samplesCount= 10] + * @param {Number} [min= 1000] + * @returns {Function} + */ + function speedometer(samplesCount, min) { + samplesCount = samplesCount || 10; + var bytes = new Array(samplesCount); + var timestamps = new Array(samplesCount); + var head = 0; + var tail = 0; + var firstSampleTS; + min = min !== undefined ? min : 1000; + return function push(chunkLength) { + var now = Date.now(); + var startedAt = timestamps[tail]; + if (!firstSampleTS) { + firstSampleTS = now; + } + bytes[head] = chunkLength; + timestamps[head] = now; + var i = tail; + var bytesCount = 0; + while (i !== head) { + bytesCount += bytes[i++]; + i = i % samplesCount; + } + head = (head + 1) % samplesCount; + if (head === tail) { + tail = (tail + 1) % samplesCount; + } + if (now - firstSampleTS < min) { + return; + } + var passed = startedAt && now - startedAt; + return passed ? Math.round(bytesCount * 1000 / passed) : undefined; + }; + } + + /** + * Throttle decorator + * @param {Function} fn + * @param {Number} freq + * @return {Function} + */ + function throttle(fn, freq) { + var timestamp = 0; + var threshold = 1000 / freq; + var lastArgs; + var timer; + var invoke = function invoke(args) { + var now = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Date.now(); + timestamp = now; + lastArgs = null; + if (timer) { + clearTimeout(timer); + timer = null; + } + fn.apply(void 0, _toConsumableArray(args)); + }; + var throttled = function throttled() { + var now = Date.now(); + var passed = now - timestamp; + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + if (passed >= threshold) { + invoke(args, now); + } else { + lastArgs = args; + if (!timer) { + timer = setTimeout(function () { + timer = null; + invoke(lastArgs); + }, threshold - passed); + } + } + }; + var flush = function flush() { + return lastArgs && invoke(lastArgs); + }; + return [throttled, flush]; + } + + var progressEventReducer = function progressEventReducer(listener, isDownloadStream) { + var freq = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3; + var bytesNotified = 0; + var _speedometer = speedometer(50, 250); + return throttle(function (e) { + if (!e || typeof e.loaded !== 'number') { + return; + } + var rawLoaded = e.loaded; + var total = e.lengthComputable ? e.total : undefined; + var loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded; + var progressBytes = Math.max(0, loaded - bytesNotified); + var rate = _speedometer(progressBytes); + bytesNotified = Math.max(bytesNotified, loaded); + var data = _defineProperty({ + loaded: loaded, + total: total, + progress: total ? loaded / total : undefined, + bytes: progressBytes, + rate: rate ? rate : undefined, + estimated: rate && total ? (total - loaded) / rate : undefined, + event: e, + lengthComputable: total != null + }, isDownloadStream ? 'download' : 'upload', true); + listener(data); + }, freq); + }; + var progressEventDecorator = function progressEventDecorator(total, throttled) { + var lengthComputable = total != null; + return [function (loaded) { + return throttled[0]({ + lengthComputable: lengthComputable, + total: total, + loaded: loaded + }); + }, throttled[1]]; + }; + var asyncDecorator = function asyncDecorator(fn) { + return function () { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + return utils$1.asap(function () { + return fn.apply(void 0, args); + }); + }; + }; + + var isURLSameOrigin = platform.hasStandardBrowserEnv ? function (origin, isMSIE) { + return function (url) { + url = new URL(url, platform.origin); + return origin.protocol === url.protocol && origin.host === url.host && (isMSIE || origin.port === url.port); + }; + }(new URL(platform.origin), platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)) : function () { + return true; + }; + + var cookies = platform.hasStandardBrowserEnv ? + // Standard browser envs support document.cookie + { + write: function write(name, value, expires, path, domain, secure, sameSite) { + if (typeof document === 'undefined') return; + var cookie = ["".concat(name, "=").concat(encodeURIComponent(value))]; + if (utils$1.isNumber(expires)) { + cookie.push("expires=".concat(new Date(expires).toUTCString())); + } + if (utils$1.isString(path)) { + cookie.push("path=".concat(path)); + } + if (utils$1.isString(domain)) { + cookie.push("domain=".concat(domain)); + } + if (secure === true) { + cookie.push('secure'); + } + if (utils$1.isString(sameSite)) { + cookie.push("SameSite=".concat(sameSite)); + } + document.cookie = cookie.join('; '); + }, + read: function read(name) { + if (typeof document === 'undefined') return null; + // Match name=value by splitting on the semicolon separator instead of building a + // RegExp from `name` — interpolating an unescaped string into a RegExp would let + // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or + // match the wrong cookie. Browsers may serialize cookie pairs as either ";" or + // "; ", so ignore optional whitespace before each cookie name. + var cookies = document.cookie.split(';'); + for (var i = 0; i < cookies.length; i++) { + var cookie = cookies[i].replace(/^\s+/, ''); + var eq = cookie.indexOf('='); + if (eq !== -1 && cookie.slice(0, eq) === name) { + try { + return decodeURIComponent(cookie.slice(eq + 1)); + } catch (e) { + return cookie.slice(eq + 1); + } + } + } + return null; + }, + remove: function remove(name) { + this.write(name, '', Date.now() - 86400000, '/'); + } + } : + // Non-standard browser env (web workers, react-native) lack needed support. + { + write: function write() {}, + read: function read() { + return null; + }, + remove: function remove() {} + }; + + /** + * Determines whether the specified URL is absolute + * + * @param {string} url The URL to test + * + * @returns {boolean} True if the specified URL is absolute, otherwise false + */ + function isAbsoluteURL(url) { + // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). + // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed + // by any combination of letters, digits, plus, period, or hyphen. + if (typeof url !== 'string') { + return false; + } + return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url); + } + + /** + * Creates a new URL by combining the specified URLs + * + * @param {string} baseURL The base URL + * @param {string} relativeURL The relative URL + * + * @returns {string} The combined URL + */ + function combineURLs(baseURL, relativeURL) { + return relativeURL ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') : baseURL; + } + + var malformedHttpProtocol = /^https?:(?!\/\/)/i; + var httpProtocolControlCharacters = /[\t\n\r]/g; + function stripLeadingC0ControlOrSpace(url) { + var i = 0; + while (i < url.length && url.charCodeAt(i) <= 0x20) { + i++; + } + return url.slice(i); + } + function normalizeURLForProtocolCheck(url) { + return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, ''); + } + function assertValidHttpProtocolURL(url, config) { + if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) { + throw new AxiosError('Invalid URL: missing "//" after protocol', AxiosError.ERR_INVALID_URL, config); + } + } + + /** + * Creates a new URL by combining the baseURL with the requestedURL, + * only when the requestedURL is not already an absolute URL. + * If the requestURL is absolute, this function returns the requestedURL untouched. + * + * @param {string} baseURL The base URL + * @param {string} requestedURL Absolute or relative URL to combine + * + * @returns {string} The combined full path + */ + function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) { + assertValidHttpProtocolURL(requestedURL, config); + var isRelativeUrl = !isAbsoluteURL(requestedURL); + if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) { + assertValidHttpProtocolURL(baseURL, config); + return combineURLs(baseURL, requestedURL); + } + return requestedURL; + } + + var headersToObject = function headersToObject(thing) { + return thing instanceof AxiosHeaders ? _objectSpread2({}, thing) : thing; + }; + + /** + * Config-specific merge-function which creates a new config-object + * by merging two configuration objects together. + * + * @param {Object} config1 + * @param {Object} config2 + * + * @returns {Object} New object resulting from merging config2 to config1 + */ + function mergeConfig(config1, config2) { + // eslint-disable-next-line no-param-reassign + config1 = config1 || {}; + config2 = config2 || {}; + + // Use a null-prototype object so that downstream reads such as `config.auth` + // or `config.baseURL` cannot inherit polluted values from Object.prototype. + // `hasOwnProperty` is restored as a non-enumerable own slot to preserve + // ergonomics for user code that relies on it. + var config = Object.create(null); + Object.defineProperty(config, 'hasOwnProperty', { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: Object.prototype.hasOwnProperty, + enumerable: false, + writable: true, + configurable: true + }); + function getMergedValue(target, source, prop, caseless) { + if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) { + return utils$1.merge.call({ + caseless: caseless + }, target, source); + } else if (utils$1.isPlainObject(source)) { + return utils$1.merge({}, source); + } else if (utils$1.isArray(source)) { + return source.slice(); + } + return source; + } + function mergeDeepProperties(a, b, prop, caseless) { + if (!utils$1.isUndefined(b)) { + return getMergedValue(a, b, prop, caseless); + } else if (!utils$1.isUndefined(a)) { + return getMergedValue(undefined, a, prop, caseless); + } + } + + // eslint-disable-next-line consistent-return + function valueFromConfig2(a, b) { + if (!utils$1.isUndefined(b)) { + return getMergedValue(undefined, b); + } + } + + // eslint-disable-next-line consistent-return + function defaultToConfig2(a, b) { + if (!utils$1.isUndefined(b)) { + return getMergedValue(undefined, b); + } else if (!utils$1.isUndefined(a)) { + return getMergedValue(undefined, a); + } + } + function getMergedTransitionalOption(prop) { + var transitional2 = utils$1.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined; + if (!utils$1.isUndefined(transitional2)) { + if (utils$1.isPlainObject(transitional2)) { + if (utils$1.hasOwnProp(transitional2, prop)) { + return transitional2[prop]; + } + } else { + return undefined; + } + } + var transitional1 = utils$1.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined; + if (utils$1.isPlainObject(transitional1) && utils$1.hasOwnProp(transitional1, prop)) { + return transitional1[prop]; + } + return undefined; + } + + // eslint-disable-next-line consistent-return + function mergeDirectKeys(a, b, prop) { + if (utils$1.hasOwnProp(config2, prop)) { + return getMergedValue(a, b); + } else if (utils$1.hasOwnProp(config1, prop)) { + return getMergedValue(undefined, a); + } + } + var mergeMap = { + url: valueFromConfig2, + method: valueFromConfig2, + data: valueFromConfig2, + baseURL: defaultToConfig2, + transformRequest: defaultToConfig2, + transformResponse: defaultToConfig2, + paramsSerializer: defaultToConfig2, + timeout: defaultToConfig2, + timeoutMessage: defaultToConfig2, + withCredentials: defaultToConfig2, + withXSRFToken: defaultToConfig2, + adapter: defaultToConfig2, + responseType: defaultToConfig2, + xsrfCookieName: defaultToConfig2, + xsrfHeaderName: defaultToConfig2, + onUploadProgress: defaultToConfig2, + onDownloadProgress: defaultToConfig2, + decompress: defaultToConfig2, + maxContentLength: defaultToConfig2, + maxBodyLength: defaultToConfig2, + beforeRedirect: defaultToConfig2, + transport: defaultToConfig2, + httpAgent: defaultToConfig2, + httpsAgent: defaultToConfig2, + cancelToken: defaultToConfig2, + socketPath: defaultToConfig2, + allowedSocketPaths: defaultToConfig2, + responseEncoding: defaultToConfig2, + validateStatus: mergeDirectKeys, + headers: function headers(a, b, prop) { + return mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true); + } + }; + utils$1.forEach(Object.keys(_objectSpread2(_objectSpread2({}, config1), config2)), function computeConfigValue(prop) { + if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return; + var merge = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties; + var a = utils$1.hasOwnProp(config1, prop) ? config1[prop] : undefined; + var b = utils$1.hasOwnProp(config2, prop) ? config2[prop] : undefined; + var configValue = merge(a, b, prop); + utils$1.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue); + }); + if (utils$1.hasOwnProp(config2, 'validateStatus') && utils$1.isUndefined(config2.validateStatus) && getMergedTransitionalOption('validateStatusUndefinedResolves') === false) { + if (utils$1.hasOwnProp(config1, 'validateStatus')) { + config.validateStatus = getMergedValue(undefined, config1.validateStatus); + } else { + delete config.validateStatus; + } + } + return config; + } + + var FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length']; + function setFormDataHeaders(headers, formHeaders, policy) { + if (policy !== 'content-only') { + headers.set(formHeaders); + return; + } + Object.entries(formHeaders || {}).forEach(function (_ref) { + var _ref2 = _slicedToArray(_ref, 2), + key = _ref2[0], + val = _ref2[1]; + if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) { + headers.set(key, val); + } + }); + } + + /** + * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). + * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. + * + * @param {string} str The string to encode + * + * @returns {string} UTF-8 bytes as a Latin-1 string + */ + var encodeUTF8$1 = function encodeUTF8(str) { + return encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, function (_, hex) { + return String.fromCharCode(parseInt(hex, 16)); + }); + }; + function resolveConfig(config) { + var newConfig = mergeConfig({}, config); + + // Read only own properties to prevent prototype pollution gadgets + // (e.g. Object.prototype.baseURL = 'https://evil.com'). + var own = function own(key) { + return utils$1.hasOwnProp(newConfig, key) ? newConfig[key] : undefined; + }; + var data = own('data'); + var withXSRFToken = own('withXSRFToken'); + var xsrfHeaderName = own('xsrfHeaderName'); + var xsrfCookieName = own('xsrfCookieName'); + var headers = own('headers'); + var auth = own('auth'); + var baseURL = own('baseURL'); + var allowAbsoluteUrls = own('allowAbsoluteUrls'); + var url = own('url'); + newConfig.headers = headers = AxiosHeaders.from(headers); + newConfig.url = buildURL(buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig), own('params'), own('paramsSerializer')); + + // HTTP basic authentication + if (auth) { + var username = utils$1.getSafeProp(auth, 'username') || ''; + var password = utils$1.getSafeProp(auth, 'password') || ''; + try { + headers.set('Authorization', 'Basic ' + btoa(username + ':' + (password ? encodeUTF8$1(password) : ''))); + } catch (e) { + throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config); + } + } + if (utils$1.isFormData(data)) { + if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv || utils$1.isReactNative(data)) { + headers.setContentType(undefined); // browser/web worker/RN handles it + } else if (utils$1.isFunction(data.getHeaders)) { + // Node.js FormData (like form-data package) + setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy')); + } + } + + // Add xsrf header + // This is only done if running in a standard browser environment. + // Specifically not if we're in a web worker, or react-native. + + if (platform.hasStandardBrowserEnv) { + if (utils$1.isFunction(withXSRFToken)) { + withXSRFToken = withXSRFToken(newConfig); + } + + // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1) + // and misconfigurations (e.g. "false") from short-circuiting the same-origin check and leaking + // the XSRF token cross-origin. + var shouldSendXSRF = withXSRFToken === true || withXSRFToken == null && isURLSameOrigin(newConfig.url); + if (shouldSendXSRF) { + var xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName); + if (xsrfValue) { + headers.set(xsrfHeaderName, xsrfValue); + } + } + } + return newConfig; + } + + var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; + var xhrAdapter = isXHRAdapterSupported && function (config) { + return new Promise(function dispatchXhrRequest(resolve, reject) { + var _config = resolveConfig(config); + var requestData = _config.data; + var requestHeaders = AxiosHeaders.from(_config.headers).normalize(); + var responseType = _config.responseType, + onUploadProgress = _config.onUploadProgress, + onDownloadProgress = _config.onDownloadProgress; + var onCanceled; + var uploadThrottled, downloadThrottled; + var flushUpload, flushDownload; + function done() { + flushUpload && flushUpload(); // flush events + flushDownload && flushDownload(); // flush events + + _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled); + _config.signal && _config.signal.removeEventListener('abort', onCanceled); + } + var request = new XMLHttpRequest(); + request.open(_config.method.toUpperCase(), _config.url, true); + + // Set the request timeout in MS + request.timeout = _config.timeout; + function onloadend() { + if (!request) { + return; + } + // Prepare the response + var responseHeaders = AxiosHeaders.from('getAllResponseHeaders' in request && request.getAllResponseHeaders()); + var responseData = !responseType || responseType === 'text' || responseType === 'json' ? request.responseText : request.response; + var response = { + data: responseData, + status: request.status, + statusText: request.statusText, + headers: responseHeaders, + config: config, + request: request + }; + settle(function _resolve(value) { + resolve(value); + done(); + }, function _reject(err) { + reject(err); + done(); + }, response); + + // Clean up request + request = null; + } + if ('onloadend' in request) { + // Use onloadend if available + request.onloadend = onloadend; + } else { + // Listen for ready state to emulate onloadend + request.onreadystatechange = function handleLoad() { + if (!request || request.readyState !== 4) { + return; + } + + // The request errored out and we didn't get a response, this will be + // handled by onerror instead + // With one exception: request that using file: protocol, most browsers + // will return status as 0 even though it's a successful request + if (request.status === 0 && !(request.responseURL && request.responseURL.startsWith('file:'))) { + return; + } + // readystate handler is calling before onerror or ontimeout handlers, + // so we should call onloadend on the next 'tick' + setTimeout(onloadend); + }; + } + + // Handle browser request cancellation (as opposed to a manual cancellation) + request.onabort = function handleAbort() { + if (!request) { + return; + } + reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request)); + done(); + + // Clean up request + request = null; + }; + + // Handle low level network errors + request.onerror = function handleError(event) { + // Browsers deliver a ProgressEvent in XHR onerror + // (message may be empty; when present, surface it) + // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event + var msg = event && event.message ? event.message : 'Network Error'; + var err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request); + // attach the underlying event for consumers who want details + err.event = event || null; + reject(err); + done(); + request = null; + }; + + // Handle timeout + request.ontimeout = function handleTimeout() { + var timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded'; + var transitional = _config.transitional || transitionalDefaults; + if (_config.timeoutErrorMessage) { + timeoutErrorMessage = _config.timeoutErrorMessage; + } + reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, request)); + done(); + + // Clean up request + request = null; + }; + + // Remove Content-Type if data is undefined + requestData === undefined && requestHeaders.setContentType(null); + + // Add headers to the request + if ('setRequestHeader' in request) { + utils$1.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) { + request.setRequestHeader(key, val); + }); + } + + // Add withCredentials to request if needed + if (!utils$1.isUndefined(_config.withCredentials)) { + request.withCredentials = !!_config.withCredentials; + } + + // Add responseType to request if needed + if (responseType && responseType !== 'json') { + request.responseType = _config.responseType; + } + + // Handle progress if needed + if (onDownloadProgress) { + var _progressEventReducer = progressEventReducer(onDownloadProgress, true); + var _progressEventReducer2 = _slicedToArray(_progressEventReducer, 2); + downloadThrottled = _progressEventReducer2[0]; + flushDownload = _progressEventReducer2[1]; + request.addEventListener('progress', downloadThrottled); + } + + // Not all browsers support upload events + if (onUploadProgress && request.upload) { + var _progressEventReducer3 = progressEventReducer(onUploadProgress); + var _progressEventReducer4 = _slicedToArray(_progressEventReducer3, 2); + uploadThrottled = _progressEventReducer4[0]; + flushUpload = _progressEventReducer4[1]; + request.upload.addEventListener('progress', uploadThrottled); + request.upload.addEventListener('loadend', flushUpload); + } + if (_config.cancelToken || _config.signal) { + // Handle cancellation + // eslint-disable-next-line func-names + onCanceled = function onCanceled(cancel) { + if (!request) { + return; + } + reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel); + request.abort(); + done(); + request = null; + }; + _config.cancelToken && _config.cancelToken.subscribe(onCanceled); + if (_config.signal) { + _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled); + } + } + var protocol = parseProtocol(_config.url); + if (protocol && !platform.protocols.includes(protocol)) { + reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config)); + done(); + return; + } + + // Send the request + request.send(requestData || null); + }); + }; + + var composeSignals = function composeSignals(signals, timeout) { + signals = signals ? signals.filter(Boolean) : []; + if (!timeout && !signals.length) { + return; + } + var controller = new AbortController(); + var aborted = false; + var onabort = function onabort(reason) { + if (!aborted) { + aborted = true; + unsubscribe(); + var err = reason instanceof Error ? reason : this.reason; + controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err)); + } + }; + var timer = timeout && setTimeout(function () { + timer = null; + onabort(new AxiosError("timeout of ".concat(timeout, "ms exceeded"), AxiosError.ETIMEDOUT)); + }, timeout); + var unsubscribe = function unsubscribe() { + if (!signals) { + return; + } + timer && clearTimeout(timer); + timer = null; + signals.forEach(function (signal) { + signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort); + }); + signals = null; + }; + signals.forEach(function (signal) { + return signal.addEventListener('abort', onabort, { + once: true + }); + }); + var signal = controller.signal; + signal.unsubscribe = function () { + return utils$1.asap(unsubscribe); + }; + return signal; + }; + + var streamChunk = /*#__PURE__*/_regenerator().m(function streamChunk(chunk, chunkSize) { + var len, pos, end; + return _regenerator().w(function (_context) { + while (1) switch (_context.n) { + case 0: + len = chunk.byteLength; + if (!(!chunkSize || len < chunkSize)) { + _context.n = 2; + break; + } + _context.n = 1; + return chunk; + case 1: + return _context.a(2); + case 2: + pos = 0; + case 3: + if (!(pos < len)) { + _context.n = 5; + break; + } + end = pos + chunkSize; + _context.n = 4; + return chunk.slice(pos, end); + case 4: + pos = end; + _context.n = 3; + break; + case 5: + return _context.a(2); + } + }, streamChunk); + }); + var readBytes = /*#__PURE__*/function () { + var _ref = _wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee(iterable, chunkSize) { + var _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, chunk, _t; + return _regenerator().w(function (_context2) { + while (1) switch (_context2.p = _context2.n) { + case 0: + _iteratorAbruptCompletion = false; + _didIteratorError = false; + _context2.p = 1; + _iterator = _asyncIterator(readStream(iterable)); + case 2: + _context2.n = 3; + return _awaitAsyncGenerator(_iterator.next()); + case 3: + if (!(_iteratorAbruptCompletion = !(_step = _context2.v).done)) { + _context2.n = 5; + break; + } + chunk = _step.value; + return _context2.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(streamChunk(chunk, chunkSize)))), 4); + case 4: + _iteratorAbruptCompletion = false; + _context2.n = 2; + break; + case 5: + _context2.n = 7; + break; + case 6: + _context2.p = 6; + _t = _context2.v; + _didIteratorError = true; + _iteratorError = _t; + case 7: + _context2.p = 7; + _context2.p = 8; + if (!(_iteratorAbruptCompletion && _iterator["return"] != null)) { + _context2.n = 9; + break; + } + _context2.n = 9; + return _awaitAsyncGenerator(_iterator["return"]()); + case 9: + _context2.p = 9; + if (!_didIteratorError) { + _context2.n = 10; + break; + } + throw _iteratorError; + case 10: + return _context2.f(9); + case 11: + return _context2.f(7); + case 12: + return _context2.a(2); + } + }, _callee, null, [[8,, 9, 11], [1, 6, 7, 12]]); + })); + return function readBytes(_x, _x2) { + return _ref.apply(this, arguments); + }; + }(); + var readStream = /*#__PURE__*/function () { + var _ref2 = _wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee2(stream) { + var reader, _yield$_awaitAsyncGen, done, value; + return _regenerator().w(function (_context3) { + while (1) switch (_context3.p = _context3.n) { + case 0: + if (!stream[Symbol.asyncIterator]) { + _context3.n = 2; + break; + } + return _context3.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(stream))), 1); + case 1: + return _context3.a(2); + case 2: + reader = stream.getReader(); + _context3.p = 3; + case 4: + _context3.n = 5; + return _awaitAsyncGenerator(reader.read()); + case 5: + _yield$_awaitAsyncGen = _context3.v; + done = _yield$_awaitAsyncGen.done; + value = _yield$_awaitAsyncGen.value; + if (!done) { + _context3.n = 6; + break; + } + return _context3.a(3, 8); + case 6: + _context3.n = 7; + return value; + case 7: + _context3.n = 4; + break; + case 8: + _context3.p = 8; + _context3.n = 9; + return _awaitAsyncGenerator(reader.cancel()); + case 9: + return _context3.f(8); + case 10: + return _context3.a(2); + } + }, _callee2, null, [[3,, 8, 10]]); + })); + return function readStream(_x3) { + return _ref2.apply(this, arguments); + }; + }(); + var trackStream = function trackStream(stream, chunkSize, onProgress, onFinish) { + var iterator = readBytes(stream, chunkSize); + var bytes = 0; + var done; + var _onFinish = function _onFinish(e) { + if (!done) { + done = true; + onFinish && onFinish(e); + } + }; + return new ReadableStream({ + pull: function pull(controller) { + return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3() { + var _yield$iterator$next, _done, value, len, loadedBytes, _t2; + return _regenerator().w(function (_context4) { + while (1) switch (_context4.p = _context4.n) { + case 0: + _context4.p = 0; + _context4.n = 1; + return iterator.next(); + case 1: + _yield$iterator$next = _context4.v; + _done = _yield$iterator$next.done; + value = _yield$iterator$next.value; + if (!_done) { + _context4.n = 2; + break; + } + _onFinish(); + controller.close(); + return _context4.a(2); + case 2: + len = value.byteLength; + if (onProgress) { + loadedBytes = bytes += len; + onProgress(loadedBytes); + } + controller.enqueue(new Uint8Array(value)); + _context4.n = 4; + break; + case 3: + _context4.p = 3; + _t2 = _context4.v; + _onFinish(_t2); + throw _t2; + case 4: + return _context4.a(2); + } + }, _callee3, null, [[0, 3]]); + }))(); + }, + cancel: function cancel(reason) { + _onFinish(reason); + return iterator["return"](); + } + }, { + highWaterMark: 2 + }); + }; + + /** + * Estimate decoded byte length of a data:// URL *without* allocating large buffers. + * - For base64: compute exact decoded size using length and padding; + * handle %XX at the character-count level (no string allocation). + * - For non-base64: compute the exact percent-decoded UTF-8 byte length. + * + * @param {string} url + * @returns {number} + */ + var isHexDigit = function isHexDigit(charCode) { + return charCode >= 48 && charCode <= 57 || charCode >= 65 && charCode <= 70 || charCode >= 97 && charCode <= 102; + }; + var isPercentEncodedByte = function isPercentEncodedByte(str, i, len) { + return i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2)); + }; + function estimateDataURLDecodedBytes(url) { + if (!url || typeof url !== 'string') return 0; + if (!url.startsWith('data:')) return 0; + var comma = url.indexOf(','); + if (comma < 0) return 0; + var meta = url.slice(5, comma); + var body = url.slice(comma + 1); + var isBase64 = /;base64/i.test(meta); + if (isBase64) { + var effectiveLen = body.length; + var len = body.length; // cache length + + for (var i = 0; i < len; i++) { + if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) { + var a = body.charCodeAt(i + 1); + var b = body.charCodeAt(i + 2); + var isHex = isHexDigit(a) && isHexDigit(b); + if (isHex) { + effectiveLen -= 2; + i += 2; + } + } + } + var pad = 0; + var idx = len - 1; + var tailIsPct3D = function tailIsPct3D(j) { + return j >= 2 && body.charCodeAt(j - 2) === 37 && + // '%' + body.charCodeAt(j - 1) === 51 && ( + // '3' + body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); + }; // 'D' or 'd' + + if (idx >= 0) { + if (body.charCodeAt(idx) === 61 /* '=' */) { + pad++; + idx--; + } else if (tailIsPct3D(idx)) { + pad++; + idx -= 3; + } + } + if (pad === 1 && idx >= 0) { + if (body.charCodeAt(idx) === 61 /* '=' */) { + pad++; + } else if (tailIsPct3D(idx)) { + pad++; + } + } + var groups = Math.floor(effectiveLen / 4); + var _bytes = groups * 3 - (pad || 0); + return _bytes > 0 ? _bytes : 0; + } + + // Compute UTF-8 byte length directly from UTF-16 code units without allocating + // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies). + // Valid %XX triplets count as one decoded byte; this matches the bytes that + // decodeURIComponent(body) would produce before Buffer re-encodes the string. + var bytes = 0; + for (var _i = 0, _len = body.length; _i < _len; _i++) { + var c = body.charCodeAt(_i); + if (c === 37 /* '%' */ && isPercentEncodedByte(body, _i, _len)) { + bytes += 1; + _i += 2; + } else if (c < 0x80) { + bytes += 1; + } else if (c < 0x800) { + bytes += 2; + } else if (c >= 0xd800 && c <= 0xdbff && _i + 1 < _len) { + var next = body.charCodeAt(_i + 1); + if (next >= 0xdc00 && next <= 0xdfff) { + bytes += 4; + _i++; + } else { + bytes += 3; + } + } else { + bytes += 3; + } + } + return bytes; + } + + var VERSION = "1.18.1"; + + var DEFAULT_CHUNK_SIZE = 64 * 1024; + var isFunction = utils$1.isFunction; + + /** + * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). + * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. + * + * @param {string} str The string to encode + * + * @returns {string} UTF-8 bytes as a Latin-1 string + */ + var encodeUTF8 = function encodeUTF8(str) { + return encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, function (_, hex) { + return String.fromCharCode(parseInt(hex, 16)); + }); + }; + + // Node's WHATWG URL parser returns `username` and `password` percent-encoded. + // Decode before composing the `auth` option so credentials such as + // `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the + // original value for malformed input so a bad encoding never throws. + var decodeURIComponentSafe = function decodeURIComponentSafe(value) { + if (!utils$1.isString(value)) { + return value; + } + try { + return decodeURIComponent(value); + } catch (error) { + return value; + } + }; + var test = function test(fn) { + try { + for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + return !!fn.apply(void 0, args); + } catch (e) { + return false; + } + }; + var maybeWithAuthCredentials = function maybeWithAuthCredentials(url) { + var protocolIndex = url.indexOf('://'); + var urlToCheck = url; + if (protocolIndex !== -1) { + urlToCheck = urlToCheck.slice(protocolIndex + 3); + } + return urlToCheck.includes('@') || urlToCheck.includes(':'); + }; + var factory = function factory(env) { + var globalObject = utils$1.global !== undefined && utils$1.global !== null ? utils$1.global : globalThis; + var ReadableStream = globalObject.ReadableStream, + TextEncoder = globalObject.TextEncoder; + env = utils$1.merge.call({ + skipUndefined: true + }, { + Request: globalObject.Request, + Response: globalObject.Response + }, env); + var _env = env, + envFetch = _env.fetch, + Request = _env.Request, + Response = _env.Response; + var isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function'; + var isRequestSupported = isFunction(Request); + var isResponseSupported = isFunction(Response); + if (!isFetchSupported) { + return false; + } + var isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream); + var encodeText = isFetchSupported && (typeof TextEncoder === 'function' ? function (encoder) { + return function (str) { + return encoder.encode(str); + }; + }(new TextEncoder()) : (/*#__PURE__*/function () { + var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(str) { + var _t, _t2; + return _regenerator().w(function (_context) { + while (1) switch (_context.n) { + case 0: + _t = Uint8Array; + _context.n = 1; + return new Request(str).arrayBuffer(); + case 1: + _t2 = _context.v; + return _context.a(2, new _t(_t2)); + } + }, _callee); + })); + return function (_x) { + return _ref.apply(this, arguments); + }; + }())); + var supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(function () { + var duplexAccessed = false; + var request = new Request(platform.origin, { + body: new ReadableStream(), + method: 'POST', + get duplex() { + duplexAccessed = true; + return 'half'; + } + }); + var hasContentType = request.headers.has('Content-Type'); + if (request.body != null) { + request.body.cancel(); + } + return duplexAccessed && !hasContentType; + }); + var supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(function () { + return utils$1.isReadableStream(new Response('').body); + }); + var resolvers = { + stream: supportsResponseStream && function (res) { + return res.body; + } + }; + isFetchSupported && function () { + ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(function (type) { + !resolvers[type] && (resolvers[type] = function (res, config) { + var method = res && res[type]; + if (method) { + return method.call(res); + } + throw new AxiosError("Response type '".concat(type, "' is not supported"), AxiosError.ERR_NOT_SUPPORT, config); + }); + }); + }(); + var getBodyLength = /*#__PURE__*/function () { + var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(body) { + var _request; + return _regenerator().w(function (_context2) { + while (1) switch (_context2.n) { + case 0: + if (!(body == null)) { + _context2.n = 1; + break; + } + return _context2.a(2, 0); + case 1: + if (!utils$1.isBlob(body)) { + _context2.n = 2; + break; + } + return _context2.a(2, body.size); + case 2: + if (!utils$1.isSpecCompliantForm(body)) { + _context2.n = 4; + break; + } + _request = new Request(platform.origin, { + method: 'POST', + body: body + }); + _context2.n = 3; + return _request.arrayBuffer(); + case 3: + return _context2.a(2, _context2.v.byteLength); + case 4: + if (!(utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body))) { + _context2.n = 5; + break; + } + return _context2.a(2, body.byteLength); + case 5: + if (utils$1.isURLSearchParams(body)) { + body = body + ''; + } + if (!utils$1.isString(body)) { + _context2.n = 7; + break; + } + _context2.n = 6; + return encodeText(body); + case 6: + return _context2.a(2, _context2.v.byteLength); + case 7: + return _context2.a(2); + } + }, _callee2); + })); + return function getBodyLength(_x2) { + return _ref2.apply(this, arguments); + }; + }(); + var resolveBodyLength = /*#__PURE__*/function () { + var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(headers, body) { + var length; + return _regenerator().w(function (_context3) { + while (1) switch (_context3.n) { + case 0: + length = utils$1.toFiniteNumber(headers.getContentLength()); + return _context3.a(2, length == null ? getBodyLength(body) : length); + } + }, _callee3); + })); + return function resolveBodyLength(_x3, _x4) { + return _ref3.apply(this, arguments); + }; + }(); + return /*#__PURE__*/function () { + var _ref4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(config) { + var _resolveConfig, url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, _resolveConfig$withCr, withCredentials, fetchOptions, maxContentLength, maxBodyLength, hasMaxContentLength, hasMaxBodyLength, own, _fetch, composedSignal, request, unsubscribe, requestContentLength, pendingBodyError, maxBodyLengthError, auth, configAuth, username, password, parsedURL, urlUsername, urlPassword, estimated, outboundLength, mustEnforceStreamBody, trackRequestStream, _request, contentTypeHeader, _ref5, _ref6, onProgress, flush, isCredentialsSupported, contentType, resolvedOptions, response, responseHeaders, declaredLength, isStreamResponse, options, responseContentLength, _ref7, _ref8, _onProgress, _flush, bytesRead, onChunkProgress, responseData, materializedSize, canceledError, networkError, _t3, _t4; + return _regenerator().w(function (_context4) { + while (1) switch (_context4.p = _context4.n) { + case 0: + _resolveConfig = resolveConfig(config), url = _resolveConfig.url, method = _resolveConfig.method, data = _resolveConfig.data, signal = _resolveConfig.signal, cancelToken = _resolveConfig.cancelToken, timeout = _resolveConfig.timeout, onDownloadProgress = _resolveConfig.onDownloadProgress, onUploadProgress = _resolveConfig.onUploadProgress, responseType = _resolveConfig.responseType, headers = _resolveConfig.headers, _resolveConfig$withCr = _resolveConfig.withCredentials, withCredentials = _resolveConfig$withCr === void 0 ? 'same-origin' : _resolveConfig$withCr, fetchOptions = _resolveConfig.fetchOptions, maxContentLength = _resolveConfig.maxContentLength, maxBodyLength = _resolveConfig.maxBodyLength; + hasMaxContentLength = utils$1.isNumber(maxContentLength) && maxContentLength > -1; + hasMaxBodyLength = utils$1.isNumber(maxBodyLength) && maxBodyLength > -1; + own = function own(key) { + return utils$1.hasOwnProp(config, key) ? config[key] : undefined; + }; + _fetch = envFetch || fetch; + responseType = responseType ? (responseType + '').toLowerCase() : 'text'; + composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout); + request = null; + unsubscribe = composedSignal && composedSignal.unsubscribe && function () { + composedSignal.unsubscribe(); + }; + // AxiosError we raise while the request body is being streamed. Captured + // by identity so the catch block can surface it directly, regardless of + // how the runtime wraps the resulting fetch rejection (undici exposes it + // as `err.cause`; some browsers drop the original error entirely). + pendingBodyError = null; + maxBodyLengthError = function maxBodyLengthError() { + return new AxiosError('Request body larger than maxBodyLength limit', AxiosError.ERR_BAD_REQUEST, config, request); + }; + _context4.p = 1; + // HTTP basic authentication + auth = undefined; + configAuth = own('auth'); + if (configAuth) { + username = utils$1.getSafeProp(configAuth, 'username') || ''; + password = utils$1.getSafeProp(configAuth, 'password') || ''; + auth = { + username: username, + password: password + }; + } + if (maybeWithAuthCredentials(url)) { + parsedURL = new URL(url, platform.origin); + if (!auth && (parsedURL.username || parsedURL.password)) { + urlUsername = decodeURIComponentSafe(parsedURL.username); + urlPassword = decodeURIComponentSafe(parsedURL.password); + auth = { + username: urlUsername, + password: urlPassword + }; + } + if (parsedURL.username || parsedURL.password) { + parsedURL.username = ''; + parsedURL.password = ''; + url = parsedURL.href; + } + } + if (auth) { + headers["delete"]('authorization'); + headers.set('Authorization', 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || '')))); + } + + // Enforce maxContentLength for data: URLs up-front so we never materialize + // an oversized payload. The HTTP adapter applies the same check (see http.js + // "if (protocol === 'data:')" branch). + if (!(hasMaxContentLength && typeof url === 'string' && url.startsWith('data:'))) { + _context4.n = 2; + break; + } + estimated = estimateDataURLDecodedBytes(url); + if (!(estimated > maxContentLength)) { + _context4.n = 2; + break; + } + throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); + case 2: + if (!(hasMaxBodyLength && method !== 'get' && method !== 'head')) { + _context4.n = 4; + break; + } + _context4.n = 3; + return getBodyLength(data); + case 3: + outboundLength = _context4.v; + if (!(typeof outboundLength === 'number' && isFinite(outboundLength))) { + _context4.n = 4; + break; + } + requestContentLength = outboundLength; + if (!(outboundLength > maxBodyLength)) { + _context4.n = 4; + break; + } + throw maxBodyLengthError(); + case 4: + // A streamed body under maxBodyLength must be counted as fetch consumes + // it; its size is never trusted from a caller-declared Content-Length. + mustEnforceStreamBody = hasMaxBodyLength && (utils$1.isReadableStream(data) || utils$1.isStream(data)); + trackRequestStream = function trackRequestStream(stream, onProgress, flush) { + return trackStream(stream, DEFAULT_CHUNK_SIZE, function (loadedBytes) { + if (hasMaxBodyLength && loadedBytes > maxBodyLength) { + throw pendingBodyError = maxBodyLengthError(); + } + onProgress && onProgress(loadedBytes); + }, flush); + }; + if (!(supportsRequestStream && method !== 'get' && method !== 'head' && (onUploadProgress || mustEnforceStreamBody))) { + _context4.n = 8; + break; + } + if (!(requestContentLength == null)) { + _context4.n = 6; + break; + } + _context4.n = 5; + return resolveBodyLength(headers, data); + case 5: + _t3 = _context4.v; + _context4.n = 7; + break; + case 6: + _t3 = requestContentLength; + case 7: + requestContentLength = _t3; + // A declared length of 0 is only trusted to skip the wrap when we are + // not enforcing a stream limit (which must not rely on that header). + if (requestContentLength !== 0 || mustEnforceStreamBody) { + _request = new Request(url, { + method: 'POST', + body: data, + duplex: 'half' + }); + if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) { + headers.setContentType(contentTypeHeader); + } + if (_request.body) { + _ref5 = onUploadProgress && progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress))) || [], _ref6 = _slicedToArray(_ref5, 2), onProgress = _ref6[0], flush = _ref6[1]; + data = trackRequestStream(_request.body, onProgress, flush); + } + } + _context4.n = 10; + break; + case 8: + if (!(mustEnforceStreamBody && !isRequestSupported && isReadableStreamSupported && method !== 'get' && method !== 'head')) { + _context4.n = 9; + break; + } + data = trackRequestStream(data); + _context4.n = 10; + break; + case 9: + if (!(mustEnforceStreamBody && isRequestSupported && !supportsRequestStream && method !== 'get' && method !== 'head')) { + _context4.n = 10; + break; + } + throw new AxiosError('Stream request bodies are not supported by the current fetch implementation', AxiosError.ERR_NOT_SUPPORT, config, request); + case 10: + if (!utils$1.isString(withCredentials)) { + withCredentials = withCredentials ? 'include' : 'omit'; + } + + // Cloudflare Workers throws when credentials are defined + // see https://github.com/cloudflare/workerd/issues/902 + isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype; // If data is FormData and Content-Type is multipart/form-data without boundary, + // delete it so fetch can set it correctly with the boundary + if (utils$1.isFormData(data)) { + contentType = headers.getContentType(); + if (contentType && /^multipart\/form-data/i.test(contentType) && !/boundary=/i.test(contentType)) { + headers["delete"]('content-type'); + } + } + + // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js) + headers.set('User-Agent', 'axios/' + VERSION, false); + resolvedOptions = _objectSpread2(_objectSpread2({}, fetchOptions), {}, { + signal: composedSignal, + method: method.toUpperCase(), + headers: toByteStringHeaderObject(headers.normalize()), + body: data, + duplex: 'half', + credentials: isCredentialsSupported ? withCredentials : undefined + }); + request = isRequestSupported && new Request(url, resolvedOptions); + _context4.n = 11; + return isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions); + case 11: + response = _context4.v; + responseHeaders = AxiosHeaders.from(response.headers); // Cheap pre-check: if the server honestly declares a content-length that + // already exceeds the cap, reject before we start streaming. + if (!hasMaxContentLength) { + _context4.n = 12; + break; + } + declaredLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); + if (!(declaredLength != null && declaredLength > maxContentLength)) { + _context4.n = 12; + break; + } + throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); + case 12: + isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response'); + if (supportsResponseStream && response.body && (onDownloadProgress || hasMaxContentLength || isStreamResponse && unsubscribe)) { + options = {}; + ['status', 'statusText', 'headers'].forEach(function (prop) { + options[prop] = response[prop]; + }); + responseContentLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); + _ref7 = onDownloadProgress && progressEventDecorator(responseContentLength, progressEventReducer(asyncDecorator(onDownloadProgress), true)) || [], _ref8 = _slicedToArray(_ref7, 2), _onProgress = _ref8[0], _flush = _ref8[1]; + bytesRead = 0; + onChunkProgress = function onChunkProgress(loadedBytes) { + if (hasMaxContentLength) { + bytesRead = loadedBytes; + if (bytesRead > maxContentLength) { + throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); + } + } + _onProgress && _onProgress(loadedBytes); + }; + response = new Response(trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, function () { + _flush && _flush(); + unsubscribe && unsubscribe(); + }), options); + } + responseType = responseType || 'text'; + _context4.n = 13; + return resolvers[utils$1.findKey(resolvers, responseType) || 'text'](response, config); + case 13: + responseData = _context4.v; + if (!(hasMaxContentLength && !supportsResponseStream && !isStreamResponse)) { + _context4.n = 14; + break; + } + if (responseData != null) { + if (typeof responseData.byteLength === 'number') { + materializedSize = responseData.byteLength; + } else if (typeof responseData.size === 'number') { + materializedSize = responseData.size; + } else if (typeof responseData === 'string') { + materializedSize = typeof TextEncoder === 'function' ? new TextEncoder().encode(responseData).byteLength : responseData.length; + } + } + if (!(typeof materializedSize === 'number' && materializedSize > maxContentLength)) { + _context4.n = 14; + break; + } + throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); + case 14: + !isStreamResponse && unsubscribe && unsubscribe(); + _context4.n = 15; + return new Promise(function (resolve, reject) { + settle(resolve, reject, { + data: responseData, + headers: AxiosHeaders.from(response.headers), + status: response.status, + statusText: response.statusText, + config: config, + request: request + }); + }); + case 15: + return _context4.a(2, _context4.v); + case 16: + _context4.p = 16; + _t4 = _context4.v; + unsubscribe && unsubscribe(); + + // Safari can surface fetch aborts as a DOMException-like object whose + // branded getters throw. Prefer our composed signal reason before reading + // the caught error, preserving timeout vs cancellation semantics. + if (!(composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError)) { + _context4.n = 17; + break; + } + canceledError = composedSignal.reason; + canceledError.config = config; + request && (canceledError.request = request); + if (_t4 !== canceledError) { + // Non-enumerable to match native Error `cause` semantics so loggers + // don't recurse into circular fetch internals (see #7205). + Object.defineProperty(canceledError, 'cause', { + __proto__: null, + value: _t4, + writable: true, + enumerable: false, + configurable: true + }); + } + throw canceledError; + case 17: + if (!pendingBodyError) { + _context4.n = 18; + break; + } + request && !pendingBodyError.request && (pendingBodyError.request = request); + throw pendingBodyError; + case 18: + if (!(_t4 instanceof AxiosError)) { + _context4.n = 19; + break; + } + request && !_t4.request && (_t4.request = request); + throw _t4; + case 19: + if (!(_t4 && _t4.name === 'TypeError' && /Load failed|fetch/i.test(_t4.message))) { + _context4.n = 20; + break; + } + networkError = new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request, _t4 && _t4.response); // Non-enumerable to match native Error `cause` semantics so loggers + // don't recurse into circular fetch internals (see #7205). + Object.defineProperty(networkError, 'cause', { + __proto__: null, + value: _t4.cause || _t4, + writable: true, + enumerable: false, + configurable: true + }); + throw networkError; + case 20: + throw AxiosError.from(_t4, _t4 && _t4.code, config, request, _t4 && _t4.response); + case 21: + return _context4.a(2); + } + }, _callee4, null, [[1, 16]]); + })); + return function (_x5) { + return _ref4.apply(this, arguments); + }; + }(); + }; + var seedCache = new Map(); + var getFetch = function getFetch(config) { + var env = config && config.env || {}; + var fetch = env.fetch, + Request = env.Request, + Response = env.Response; + var seeds = [Request, Response, fetch]; + var len = seeds.length, + i = len, + seed, + target, + map = seedCache; + while (i--) { + seed = seeds[i]; + target = map.get(seed); + target === undefined && map.set(seed, target = i ? new Map() : factory(env)); + map = target; + } + return target; + }; + getFetch(); + + /** + * Known adapters mapping. + * Provides environment-specific adapters for Axios: + * - `http` for Node.js + * - `xhr` for browsers + * - `fetch` for fetch API-based requests + * + * @type {Object} + */ + var knownAdapters = { + http: httpAdapter, + xhr: xhrAdapter, + fetch: { + get: getFetch + } + }; + + // Assign adapter names for easier debugging and identification + utils$1.forEach(knownAdapters, function (fn, value) { + if (fn) { + try { + // Null-proto descriptors so a polluted Object.prototype.get cannot turn + // these data descriptors into accessor descriptors on the way in. + Object.defineProperty(fn, 'name', { + __proto__: null, + value: value + }); + } catch (e) { + // eslint-disable-next-line no-empty + } + Object.defineProperty(fn, 'adapterName', { + __proto__: null, + value: value + }); + } + }); + + /** + * Render a rejection reason string for unknown or unsupported adapters + * + * @param {string} reason + * @returns {string} + */ + var renderReason = function renderReason(reason) { + return "- ".concat(reason); + }; + + /** + * Check if the adapter is resolved (function, null, or false) + * + * @param {Function|null|false} adapter + * @returns {boolean} + */ + var isResolvedHandle = function isResolvedHandle(adapter) { + return utils$1.isFunction(adapter) || adapter === null || adapter === false; + }; + + /** + * Get the first suitable adapter from the provided list. + * Tries each adapter in order until a supported one is found. + * Throws an AxiosError if no adapter is suitable. + * + * @param {Array|string|Function} adapters - Adapter(s) by name or function. + * @param {Object} config - Axios request configuration + * @throws {AxiosError} If no suitable adapter is available + * @returns {Function} The resolved adapter function + */ + function getAdapter(adapters, config) { + adapters = utils$1.isArray(adapters) ? adapters : [adapters]; + var _adapters = adapters, + length = _adapters.length; + var nameOrAdapter; + var adapter; + var rejectedReasons = {}; + for (var i = 0; i < length; i++) { + nameOrAdapter = adapters[i]; + var id = void 0; + adapter = nameOrAdapter; + if (!isResolvedHandle(nameOrAdapter)) { + adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()]; + if (adapter === undefined) { + throw new AxiosError("Unknown adapter '".concat(id, "'")); + } + } + if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) { + break; + } + rejectedReasons[id || '#' + i] = adapter; + } + if (!adapter) { + var reasons = Object.entries(rejectedReasons).map(function (_ref) { + var _ref2 = _slicedToArray(_ref, 2), + id = _ref2[0], + state = _ref2[1]; + return "adapter ".concat(id, " ") + (state === false ? 'is not supported by the environment' : 'is not available in the build'); + }); + var s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified'; + throw new AxiosError("There is no suitable adapter to dispatch the request " + s, AxiosError.ERR_NOT_SUPPORT); + } + return adapter; + } + + /** + * Exports Axios adapters and utility to resolve an adapter + */ + var adapters = { + /** + * Resolve an adapter from a list of adapter names or functions. + * @type {Function} + */ + getAdapter: getAdapter, + /** + * Exposes all known adapters + * @type {Object} + */ + adapters: knownAdapters + }; + + /** + * Throws a `CanceledError` if cancellation has been requested. + * + * @param {Object} config The config that is to be used for the request + * + * @returns {void} + */ + function throwIfCancellationRequested(config) { + if (config.cancelToken) { + config.cancelToken.throwIfRequested(); + } + if (config.signal && config.signal.aborted) { + throw new CanceledError(null, config); + } + } + + /** + * Dispatch a request to the server using the configured adapter. + * + * @param {object} config The config that is to be used for the request + * + * @returns {Promise} The Promise to be fulfilled + */ + function dispatchRequest(config) { + throwIfCancellationRequested(config); + config.headers = AxiosHeaders.from(config.headers); + + // Transform request data + config.data = transformData.call(config, config.transformRequest); + if (['post', 'put', 'patch'].indexOf(config.method) !== -1) { + config.headers.setContentType('application/x-www-form-urlencoded', false); + } + var adapter = adapters.getAdapter(config.adapter || defaults.adapter, config); + return adapter(config).then(function onAdapterResolution(response) { + throwIfCancellationRequested(config); + + // Expose the current response on config so that transformResponse can + // attach it to any AxiosError it throws (e.g. on JSON parse failure). + // We clean it up afterwards to avoid polluting the config object. + config.response = response; + try { + response.data = transformData.call(config, config.transformResponse, response); + } finally { + delete config.response; + } + response.headers = AxiosHeaders.from(response.headers); + return response; + }, function onAdapterRejection(reason) { + if (!isCancel(reason)) { + throwIfCancellationRequested(config); + + // Transform response data + if (reason && reason.response) { + config.response = reason.response; + try { + reason.response.data = transformData.call(config, config.transformResponse, reason.response); + } finally { + delete config.response; + } + reason.response.headers = AxiosHeaders.from(reason.response.headers); + } + } + return Promise.reject(reason); + }); + } + + var validators$1 = {}; + + // eslint-disable-next-line func-names + ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function (type, i) { + validators$1[type] = function validator(thing) { + return _typeof(thing) === type || 'a' + (i < 1 ? 'n ' : ' ') + type; + }; + }); + var deprecatedWarnings = {}; + + /** + * Transitional option validator + * + * @param {function|boolean?} validator - set to false if the transitional option has been removed + * @param {string?} version - deprecated version / removed since version + * @param {string?} message - some message with additional info + * + * @returns {function} + */ + validators$1.transitional = function transitional(validator, version, message) { + function formatMessage(opt, desc) { + return '[Axios v' + VERSION + "] Transitional option '" + opt + "'" + desc + (message ? '. ' + message : ''); + } + + // eslint-disable-next-line func-names + return function (value, opt, opts) { + if (validator === false) { + throw new AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), AxiosError.ERR_DEPRECATED); + } + if (version && !deprecatedWarnings[opt]) { + deprecatedWarnings[opt] = true; + // eslint-disable-next-line no-console + console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future')); + } + return validator ? validator(value, opt, opts) : true; + }; + }; + validators$1.spelling = function spelling(correctSpelling) { + return function (value, opt) { + // eslint-disable-next-line no-console + console.warn("".concat(opt, " is likely a misspelling of ").concat(correctSpelling)); + return true; + }; + }; + + /** + * Assert object's properties type + * + * @param {object} options + * @param {object} schema + * @param {boolean?} allowUnknown + * + * @returns {object} + */ + + function assertOptions(options, schema, allowUnknown) { + if (_typeof(options) !== 'object' || options === null) { + throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE); + } + var keys = Object.keys(options); + var i = keys.length; + while (i-- > 0) { + var opt = keys[i]; + // Use hasOwnProperty so a polluted Object.prototype. cannot supply + // a non-function validator and cause a TypeError. + var validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined; + if (validator) { + var value = options[opt]; + var result = value === undefined || validator(value, opt, options); + if (result !== true) { + throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE); + } + continue; + } + if (allowUnknown !== true) { + throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION); + } + } + } + var validator = { + assertOptions: assertOptions, + validators: validators$1 + }; + + var validators = validator.validators; + + /** + * Create a new instance of Axios + * + * @param {Object} instanceConfig The default config for the instance + * + * @return {Axios} A new instance of Axios + */ + var Axios = /*#__PURE__*/function () { + function Axios(instanceConfig) { + _classCallCheck(this, Axios); + this.defaults = instanceConfig || {}; + this.interceptors = { + request: new InterceptorManager(), + response: new InterceptorManager() + }; + } + + /** + * Dispatch a request + * + * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) + * @param {?Object} config + * + * @returns {Promise} The Promise to be fulfilled + */ + return _createClass(Axios, [{ + key: "request", + value: (function () { + var _request2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(configOrUrl, config) { + var dummy, stack, firstNewlineIndex, secondNewlineIndex, stackWithoutTwoTopLines, _t; + return _regenerator().w(function (_context) { + while (1) switch (_context.p = _context.n) { + case 0: + _context.p = 0; + _context.n = 1; + return this._request(configOrUrl, config); + case 1: + return _context.a(2, _context.v); + case 2: + _context.p = 2; + _t = _context.v; + if (_t instanceof Error) { + dummy = {}; + Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error(); + + // slice off the Error: ... line + stack = function () { + if (!dummy.stack) { + return ''; + } + var firstNewlineIndex = dummy.stack.indexOf('\n'); + return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1); + }(); + try { + if (!_t.stack) { + _t.stack = stack; + // match without the 2 top stack lines + } else if (stack) { + firstNewlineIndex = stack.indexOf('\n'); + secondNewlineIndex = firstNewlineIndex === -1 ? -1 : stack.indexOf('\n', firstNewlineIndex + 1); + stackWithoutTwoTopLines = secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1); + if (!String(_t.stack).endsWith(stackWithoutTwoTopLines)) { + _t.stack += '\n' + stack; + } + } + } catch (e) { + // ignore the case where "stack" is an un-writable property + } + } + throw _t; + case 3: + return _context.a(2); + } + }, _callee, this, [[0, 2]]); + })); + function request(_x, _x2) { + return _request2.apply(this, arguments); + } + return request; + }()) + }, { + key: "_request", + value: function _request(configOrUrl, config) { + /*eslint no-param-reassign:0*/ + // Allow for axios('example/url'[, config]) a la fetch API + if (typeof configOrUrl === 'string') { + config = config || {}; + config.url = configOrUrl; + } else { + config = configOrUrl || {}; + } + config = mergeConfig(this.defaults, config); + var _config = config, + transitional = _config.transitional, + paramsSerializer = _config.paramsSerializer, + headers = _config.headers; + if (transitional !== undefined) { + validator.assertOptions(transitional, { + silentJSONParsing: validators.transitional(validators["boolean"]), + forcedJSONParsing: validators.transitional(validators["boolean"]), + clarifyTimeoutError: validators.transitional(validators["boolean"]), + legacyInterceptorReqResOrdering: validators.transitional(validators["boolean"]), + advertiseZstdAcceptEncoding: validators.transitional(validators["boolean"]), + validateStatusUndefinedResolves: validators.transitional(validators["boolean"]) + }, false); + } + if (paramsSerializer != null) { + if (utils$1.isFunction(paramsSerializer)) { + config.paramsSerializer = { + serialize: paramsSerializer + }; + } else { + validator.assertOptions(paramsSerializer, { + encode: validators["function"], + serialize: validators["function"] + }, true); + } + } + + // Set config.allowAbsoluteUrls + if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) { + config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls; + } else { + config.allowAbsoluteUrls = true; + } + validator.assertOptions(config, { + baseUrl: validators.spelling('baseURL'), + withXsrfToken: validators.spelling('withXSRFToken') + }, true); + + // Set config.method + config.method = (config.method || this.defaults.method || 'get').toLowerCase(); + + // Flatten headers + var contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]); + headers && utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], function (method) { + delete headers[method]; + }); + config.headers = AxiosHeaders.concat(contextHeaders, headers); + + // filter out skipped interceptors + var requestInterceptorChain = []; + var synchronousRequestInterceptors = true; + this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) { + if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) { + return; + } + synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous; + var transitional = config.transitional || transitionalDefaults; + var legacyInterceptorReqResOrdering = transitional && transitional.legacyInterceptorReqResOrdering; + if (legacyInterceptorReqResOrdering) { + requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected); + } else { + requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); + } + }); + var responseInterceptorChain = []; + this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) { + responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); + }); + var promise; + var i = 0; + var len; + if (!synchronousRequestInterceptors) { + var chain = [dispatchRequest.bind(this), undefined]; + chain.unshift.apply(chain, requestInterceptorChain); + chain.push.apply(chain, responseInterceptorChain); + len = chain.length; + promise = Promise.resolve(config); + while (i < len) { + promise = promise.then(chain[i++], chain[i++]); + } + return promise; + } + len = requestInterceptorChain.length; + var newConfig = config; + while (i < len) { + var onFulfilled = requestInterceptorChain[i++]; + var onRejected = requestInterceptorChain[i++]; + try { + newConfig = onFulfilled(newConfig); + } catch (error) { + onRejected.call(this, error); + break; + } + } + try { + promise = dispatchRequest.call(this, newConfig); + } catch (error) { + return Promise.reject(error); + } + i = 0; + len = responseInterceptorChain.length; + while (i < len) { + promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); + } + return promise; + } + }, { + key: "getUri", + value: function getUri(config) { + config = mergeConfig(this.defaults, config); + var fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config); + return buildURL(fullPath, config.params, config.paramsSerializer); + } + }]); + }(); // Provide aliases for supported request methods + utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) { + /*eslint func-names:0*/ + Axios.prototype[method] = function (url, config) { + return this.request(mergeConfig(config || {}, { + method: method, + url: url, + data: config && utils$1.hasOwnProp(config, 'data') ? config.data : undefined + })); + }; + }); + utils$1.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) { + function generateHTTPMethod(isForm) { + return function httpMethod(url, data, config) { + return this.request(mergeConfig(config || {}, { + method: method, + headers: isForm ? { + 'Content-Type': 'multipart/form-data' + } : {}, + url: url, + data: data + })); + }; + } + Axios.prototype[method] = generateHTTPMethod(); + + // QUERY is a safe/idempotent read method; multipart form bodies don't fit + // its semantics, so no queryForm shorthand is generated. + if (method !== 'query') { + Axios.prototype[method + 'Form'] = generateHTTPMethod(true); + } + }); + + /** + * A `CancelToken` is an object that can be used to request cancellation of an operation. + * + * @param {Function} executor The executor function. + * + * @returns {CancelToken} + */ + var CancelToken = /*#__PURE__*/function () { + function CancelToken(executor) { + _classCallCheck(this, CancelToken); + if (typeof executor !== 'function') { + throw new TypeError('executor must be a function.'); + } + var resolvePromise; + this.promise = new Promise(function promiseExecutor(resolve) { + resolvePromise = resolve; + }); + var token = this; + + // eslint-disable-next-line func-names + this.promise.then(function (cancel) { + if (!token._listeners) return; + var i = token._listeners.length; + while (i-- > 0) { + token._listeners[i](cancel); + } + token._listeners = null; + }); + + // eslint-disable-next-line func-names + this.promise.then = function (onfulfilled) { + var _resolve; + // eslint-disable-next-line func-names + var promise = new Promise(function (resolve) { + token.subscribe(resolve); + _resolve = resolve; + }).then(onfulfilled); + promise.cancel = function reject() { + token.unsubscribe(_resolve); + }; + return promise; + }; + executor(function cancel(message, config, request) { + if (token.reason) { + // Cancellation has already been requested + return; + } + token.reason = new CanceledError(message, config, request); + resolvePromise(token.reason); + }); + } + + /** + * Throws a `CanceledError` if cancellation has been requested. + */ + return _createClass(CancelToken, [{ + key: "throwIfRequested", + value: function throwIfRequested() { + if (this.reason) { + throw this.reason; + } + } + + /** + * Subscribe to the cancel signal + */ + }, { + key: "subscribe", + value: function subscribe(listener) { + if (this.reason) { + listener(this.reason); + return; + } + if (this._listeners) { + this._listeners.push(listener); + } else { + this._listeners = [listener]; + } + } + + /** + * Unsubscribe from the cancel signal + */ + }, { + key: "unsubscribe", + value: function unsubscribe(listener) { + if (!this._listeners) { + return; + } + var index = this._listeners.indexOf(listener); + if (index !== -1) { + this._listeners.splice(index, 1); + } + } + }, { + key: "toAbortSignal", + value: function toAbortSignal() { + var _this = this; + var controller = new AbortController(); + var abort = function abort(err) { + controller.abort(err); + }; + this.subscribe(abort); + controller.signal.unsubscribe = function () { + return _this.unsubscribe(abort); + }; + return controller.signal; + } + + /** + * Returns an object that contains a new `CancelToken` and a function that, when called, + * cancels the `CancelToken`. + */ + }], [{ + key: "source", + value: function source() { + var cancel; + var token = new CancelToken(function executor(c) { + cancel = c; + }); + return { + token: token, + cancel: cancel + }; + } + }]); + }(); + + /** + * Syntactic sugar for invoking a function and expanding an array for arguments. + * + * Common use case would be to use `Function.prototype.apply`. + * + * ```js + * function f(x, y, z) {} + * const args = [1, 2, 3]; + * f.apply(null, args); + * ``` + * + * With `spread` this example can be re-written. + * + * ```js + * spread(function(x, y, z) {})([1, 2, 3]); + * ``` + * + * @param {Function} callback + * + * @returns {Function} + */ + function spread(callback) { + return function wrap(arr) { + return callback.apply(null, arr); + }; + } + + /** + * Determines whether the payload is an error thrown by Axios + * + * @param {*} payload The value to test + * + * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false + */ + function isAxiosError(payload) { + return utils$1.isObject(payload) && payload.isAxiosError === true; + } + + var HttpStatusCode = { + Continue: 100, + SwitchingProtocols: 101, + Processing: 102, + EarlyHints: 103, + Ok: 200, + Created: 201, + Accepted: 202, + NonAuthoritativeInformation: 203, + NoContent: 204, + ResetContent: 205, + PartialContent: 206, + MultiStatus: 207, + AlreadyReported: 208, + ImUsed: 226, + MultipleChoices: 300, + MovedPermanently: 301, + Found: 302, + SeeOther: 303, + NotModified: 304, + UseProxy: 305, + Unused: 306, + TemporaryRedirect: 307, + PermanentRedirect: 308, + BadRequest: 400, + Unauthorized: 401, + PaymentRequired: 402, + Forbidden: 403, + NotFound: 404, + MethodNotAllowed: 405, + NotAcceptable: 406, + ProxyAuthenticationRequired: 407, + RequestTimeout: 408, + Conflict: 409, + Gone: 410, + LengthRequired: 411, + PreconditionFailed: 412, + PayloadTooLarge: 413, + UriTooLong: 414, + UnsupportedMediaType: 415, + RangeNotSatisfiable: 416, + ExpectationFailed: 417, + ImATeapot: 418, + MisdirectedRequest: 421, + UnprocessableEntity: 422, + Locked: 423, + FailedDependency: 424, + TooEarly: 425, + UpgradeRequired: 426, + PreconditionRequired: 428, + TooManyRequests: 429, + RequestHeaderFieldsTooLarge: 431, + UnavailableForLegalReasons: 451, + InternalServerError: 500, + NotImplemented: 501, + BadGateway: 502, + ServiceUnavailable: 503, + GatewayTimeout: 504, + HttpVersionNotSupported: 505, + VariantAlsoNegotiates: 506, + InsufficientStorage: 507, + LoopDetected: 508, + NotExtended: 510, + NetworkAuthenticationRequired: 511, + WebServerIsDown: 521, + ConnectionTimedOut: 522, + OriginIsUnreachable: 523, + TimeoutOccurred: 524, + SslHandshakeFailed: 525, + InvalidSslCertificate: 526 + }; + Object.entries(HttpStatusCode).forEach(function (_ref) { + var _ref2 = _slicedToArray(_ref, 2), + key = _ref2[0], + value = _ref2[1]; + HttpStatusCode[value] = key; + }); + + /** + * Create an instance of Axios + * + * @param {Object} defaultConfig The default config for the instance + * + * @returns {Axios} A new instance of Axios + */ + function createInstance(defaultConfig) { + var context = new Axios(defaultConfig); + var instance = bind(Axios.prototype.request, context); + + // Copy axios.prototype to instance + utils$1.extend(instance, Axios.prototype, context, { + allOwnKeys: true + }); + + // Copy context to instance + utils$1.extend(instance, context, null, { + allOwnKeys: true + }); + + // Factory for creating new instances + instance.create = function create(instanceConfig) { + return createInstance(mergeConfig(defaultConfig, instanceConfig)); + }; + return instance; + } + + // Create the default instance to be exported + var axios = createInstance(defaults); + + // Expose Axios class to allow class inheritance + axios.Axios = Axios; + + // Expose Cancel & CancelToken + axios.CanceledError = CanceledError; + axios.CancelToken = CancelToken; + axios.isCancel = isCancel; + axios.VERSION = VERSION; + axios.toFormData = toFormData; + + // Expose AxiosError class + axios.AxiosError = AxiosError; + + // alias for CanceledError for backward compatibility + axios.Cancel = axios.CanceledError; + + // Expose all/spread + axios.all = function all(promises) { + return Promise.all(promises); + }; + axios.spread = spread; + + // Expose isAxiosError + axios.isAxiosError = isAxiosError; + + // Expose mergeConfig + axios.mergeConfig = mergeConfig; + axios.AxiosHeaders = AxiosHeaders; + axios.formToJSON = function (thing) { + return formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing); + }; + axios.getAdapter = adapters.getAdapter; + axios.HttpStatusCode = HttpStatusCode; + axios["default"] = axios; + + return axios; + +})); +//# sourceMappingURL=axios.js.map diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js new file mode 100644 index 0000000..71f60f6 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js @@ -0,0 +1,5 @@ +/*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).axios=t()}(this,function(){"use strict";function e(e,t){this.v=e,this.k=t}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(o=h===r)&&(s=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&pr||r>h)&&(i[4]=n,i[5]=r,d.n=h,u=0))}if(o||n>1)return a;throw l=!0,r}return function(o,f,h){if(c>1)throw TypeError("Generator is already running");for(l&&1===f&&p(f,h),u=f,s=h;(t=u<2?e:s)||!l;){i||(u?u<3?(u>1&&(d.n=-1),p(u,s)):d.n=s:d.v=s);try{if(c=2,i){if(u||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(l=d.n<0)?s:n.call(r,d))!==a)break}catch(t){i=e,u=1,s=t}finally{c=1}}return{value:t,done:l}}}(n,o,i),!0),c}var a={};function u(){}function s(){}function c(){}t=Object.getPrototypeOf;var f=[][r]?t(t([][r]())):(g(t={},r,function(){return this}),t),l=c.prototype=u.prototype=Object.create(f);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,g(e,o,"GeneratorFunction")),e.prototype=Object.create(l),e}return s.prototype=c,g(l,"constructor",c),g(c,"constructor",s),s.displayName="GeneratorFunction",g(c,o,"GeneratorFunction"),g(l),g(l,o,"Generator"),g(l,r,function(){return this}),g(l,"toString",function(){return"[object Generator]"}),(m=function(){return{w:i,m:d}})()}function g(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}g=function(e,t,n,r){function i(t,n){g(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},g(e,t,n,r)}function w(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(typeof e+" is not iterable")}function O(e,t){return O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},O(e,t)}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(e,t)||A(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||A(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function A(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}function P(e){return function(){return new T(e.apply(this,arguments))}}function T(t){var n,r;function o(n,r){try{var a=t[n](r),u=a.value,s=u instanceof e;Promise.resolve(s?u.v:u).then(function(e){if(s){var r="return"===n&&u.k?n:"next";if(!u.k||e.done)return o(r,e);e=t[r](e).value}i(!!a.done,e)},function(e){o("throw",e)})}catch(e){i(2,e)}}function i(e,t){2===e?n.reject(t):n.resolve({value:t,done:e}),(n=n.next)?o(n.key,n.arg):r=null}this._invoke=function(e,t){return new Promise(function(i,a){var u={key:e,arg:t,resolve:i,reject:a,next:null};r?r=r.next=u:(n=r=u,o(e,t))})},"function"!=typeof t.return&&(this.return=void 0)}function j(e){var t="function"==typeof Map?new Map:void 0;return j=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(v())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&O(o,n.prototype),o}(e,arguments,p(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),O(n,e)},j(e)}function k(e,t){return function(){return e.apply(t,arguments)}}T.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},T.prototype.next=function(e){return this._invoke("next",e)},T.prototype.throw=function(e){return this._invoke("throw",e)},T.prototype.return=function(e){return this._invoke("return",e)};var C,x=Object.prototype.toString,N=Object.getPrototypeOf,U=Symbol.iterator,D=Symbol.toStringTag,L=function(){var e=Object.prototype.hasOwnProperty;return function(t,n){return e.call(t,n)}}(),F=function(e,t){for(var n=e,r=[];null!=n&&n!==Object.prototype;){if(-1!==r.indexOf(n))return!1;if(r.push(n),L(n,t))return!0;n=N(n)}return!1},B=(C=Object.create(null),function(e){var t=x.call(e);return C[t]||(C[t]=t.slice(8,-1).toLowerCase())}),I=function(e){return e=e.toLowerCase(),function(t){return B(t)===e}},q=function(e){return function(t){return _(t)===e}},M=Array.isArray,z=q("undefined");function H(e){return null!==e&&!z(e)&&null!==e.constructor&&!z(e.constructor)&&V(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var W=I("ArrayBuffer");var J=q("string"),V=q("function"),K=q("number"),X=function(e){return null!==e&&"object"===_(e)},G=function(e){if(!X(e))return!1;var t=N(e);return!(null!==t&&t!==Object.prototype&&null!==N(t)||F(e,D)||F(e,U))},$=I("Date"),Q=I("File"),Z=I("Blob"),Y=I("FileList");var ee="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},te=void 0!==ee.FormData?ee.FormData:void 0,ne=I("URLSearchParams"),re=E(["ReadableStream","Request","Response","Headers"].map(I),4),oe=re[0],ie=re[1],ae=re[2],ue=re[3];function se(e,t){var n,r,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!=e)if("object"!==_(e)&&(e=[e]),M(e))for(n=0,r=e.length;n0;)if(t===(n=r[o]).toLowerCase())return n;return null}var fe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,le=function(e){return!z(e)&&e!==fe};var de,pe=(de="undefined"!=typeof Uint8Array&&N(Uint8Array),function(e){return de&&e instanceof de}),he=I("HTMLFormElement"),ve=Object.prototype.propertyIsEnumerable,ye=I("RegExp"),be=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};se(n,function(n,o){var i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)};var me,ge,we,Oe,Ee=I("AsyncFunction"),Re=(me="function"==typeof setImmediate,ge=V(fe.postMessage),me?setImmediate:ge?(we="axios@".concat(Math.random()),Oe=[],fe.addEventListener("message",function(e){var t=e.source,n=e.data;t===fe&&n===we&&Oe.length&&Oe.shift()()},!1),function(e){Oe.push(e),fe.postMessage(we,"*")}):function(e){return setTimeout(e)}),Se="undefined"!=typeof queueMicrotask?queueMicrotask.bind(fe):"undefined"!=typeof process&&process.nextTick||Re,_e=function(e){return null!=e&&V(e[U])},Ae={isArray:M,isArrayBuffer:W,isBuffer:H,isFormData:function(e){if(!e)return!1;if(te&&e instanceof te)return!0;var t=N(e);if(!t||t===Object.prototype)return!1;if(!V(e.append))return!1;var n=B(e);return"formdata"===n||"object"===n&&V(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&W(e.buffer)},isString:J,isNumber:K,isBoolean:function(e){return!0===e||!1===e},isObject:X,isPlainObject:G,isEmptyObject:function(e){if(!X(e)||H(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:oe,isRequest:ie,isResponse:ae,isHeaders:ue,isUndefined:z,isDate:$,isFile:Q,isReactNativeBlob:function(e){return!(!e||void 0===e.uri)},isReactNative:function(e){return e&&void 0!==e.getParts},isBlob:Z,isRegExp:ye,isFunction:V,isStream:function(e){return X(e)&&V(e.pipe)},isURLSearchParams:ne,isTypedArray:pe,isFileList:Y,forEach:se,merge:function e(){for(var t=le(this)&&this||{},n=t.caseless,r=t.skipUndefined,o={},i=function(t,i){if("__proto__"!==i&&"constructor"!==i&&"prototype"!==i){var a=n&&"string"==typeof i&&ce(o,i)||i,u=L(o,a)?o[a]:void 0;G(u)&&G(t)?o[a]=e(u,t):G(t)?o[a]=e({},t):M(t)?o[a]=t.slice():r&&z(t)||(o[a]=t)}},a=0,u=arguments.length;a3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var o,i,a,u={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],r&&!r(a,e,t)||u[a]||(t[a]=e[a],u[a]=!0);e=!1!==n&&N(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:B,kindOfTest:I,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(M(e))return e;var t=e.length;if(!K(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[U]).call(e);(n=r.next())&&!n.done;){var o=n.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:he,hasOwnProperty:L,hasOwnProp:L,hasOwnInPrototypeChain:F,getSafeProp:function(e,t){return null!=e&&F(e,t)?e[t]:void 0},reduceDescriptors:be,freezeMethods:function(e){be(e,function(t,n){if(V(e)&&["arguments","caller","callee"].includes(n))return!1;var r=e[n];V(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:function(e,t){var n={},r=function(e){e.forEach(function(e){n[e]=!0})};return M(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n})},noop:function(){},toFiniteNumber:function(e,t){return null!=e&&Number.isFinite(e=+e)?e:t},findKey:ce,global:fe,isContextDefined:le,isSpecCompliantForm:function(e){return!!(e&&V(e.append)&&"FormData"===e[D]&&e[U])},toJSONObject:function(e){var t=new WeakSet,n=function(e){if(X(e)){if(t.has(e))return;if(H(e))return e;if(!("toJSON"in e)){t.add(e);var r=M(e)?[]:{};return se(e,function(e,t){var o=n(e);!z(o)&&(r[t]=o)}),t.delete(e),r}}return e};return n(e)},isAsyncFn:Ee,isThenable:function(e){return e&&(X(e)||V(e))&&V(e.then)&&V(e.catch)},setImmediate:Re,asap:Se,isIterable:_e,isSafeIterable:function(e){return null!=e&&F(e,U)&&_e(e)}},Pe=Ae.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var Te=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),je=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ke(e,t){return Ae.isArray(e)?e.map(function(e){return ke(e,t)}):function(e){for(var t=0,n=e.length;tt;){var o=e.charCodeAt(n-1);if(9!==o&&32!==o)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}(String(e).replace(t,""))}function Ce(e){var t=Object.create(null);return Ae.forEach(e.toJSON(),function(e,n){t[n]=function(e){return ke(e,je)}(e)}),t}var xe=Symbol("internals");function Ne(e){return e&&String(e).trim().toLowerCase()}function Ue(e){return!1===e||null==e?e:Ae.isArray(e)?e.map(Ue):function(e){return ke(e,Te)}(String(e))}function De(e,t,n,r,o){return Ae.isFunction(r)?r.call(this,t,n):(o&&(t=n),Ae.isString(t)?Ae.isString(r)?-1!==t.indexOf(r):Ae.isRegExp(r)?r.test(t):void 0:void 0)}var Le=function(){return l(function e(t){c(this,e),t&&this.set(t)},[{key:"set",value:function(e,t,n){var r=this;function o(e,t,n){var o=Ne(t);if(o){var i=Ae.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Ue(e))}}var i=function(e,t){return Ae.forEach(e,function(e,n){return o(e,n,t)})};if(Ae.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Ae.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i(function(e){var t,n,r,o={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||o[t]&&Pe[t]||("set-cookie"===t?o[t]?o[t].push(n):o[t]=[n]:o[t]=o[t]?o[t]+", "+n:n)}),o}(e),t);else if(Ae.isObject(e)&&Ae.isSafeIterable(e)){var a,u,s,c=Object.create(null),f=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=A(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(e);try{for(f.s();!(s=f.n()).done;){var l=s.value;if(!Ae.isArray(l))throw new TypeError("Object iterator must return a key-value pair");u=l[0],Ae.hasOwnProp(c,u)?(a=c[u],c[u]=Ae.isArray(a)?[].concat(R(a),[l[1]]):[a,l[1]]):c[u]=l[1]}}catch(e){f.e(e)}finally{f.f()}i(c,t)}else null!=e&&o(t,e,n);return this}},{key:"get",value:function(e,t){if(e=Ne(e)){var n=Ae.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(Ae.isFunction(t))return t.call(this,r,n);if(Ae.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Ne(e)){var n=Ae.findKey(this,e);return!(!n||void 0===this[n]||t&&!De(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function o(e){if(e=Ne(e)){var o=Ae.findKey(n,e);!o||t&&!De(0,n[o],o,t)||(delete n[o],r=!0)}}return Ae.isArray(e)?e.forEach(o):o(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var o=t[n];e&&!De(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return Ae.forEach(this,function(r,o){var i=Ae.findKey(n,o);if(i)return t[i]=Ue(r),void delete t[o];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n})}(o):String(o).trim();a!==o&&delete t[o],t[a]=Ue(r),n[a]=!0}),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r1?n-1:0),o=1;o0?Fe(e,t):Ae.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}}],[{key:"from",value:function(e,n,r,o,i,a){var u=new t(e.message,n||e.code,r,o,i);return Object.defineProperty(u,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),u.name=e.name,null!=e.status&&null==u.status&&(u.status=e.status),a&&Object.assign(u,a),u}}])}(j(Error));Be.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Be.ERR_BAD_OPTION="ERR_BAD_OPTION",Be.ECONNABORTED="ECONNABORTED",Be.ETIMEDOUT="ETIMEDOUT",Be.ECONNREFUSED="ECONNREFUSED",Be.ERR_NETWORK="ERR_NETWORK",Be.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Be.ERR_DEPRECATED="ERR_DEPRECATED",Be.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Be.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Be.ERR_CANCELED="ERR_CANCELED",Be.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Be.ERR_INVALID_URL="ERR_INVALID_URL",Be.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";function Ie(e){return Ae.isPlainObject(e)||Ae.isArray(e)}function qe(e){return Ae.endsWith(e,"[]")?e.slice(0,-2):e}function Me(e,t,n){return e?e.concat(t).map(function(e,t){return e=qe(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}var ze=Ae.toFlatObject(Ae,{},null,function(e){return/^is[A-Z]/.test(e)});function He(e,t,n){if(!Ae.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var r=(n=Ae.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Ae.isUndefined(t[e])})).metaTokens,o=n.visitor||p,i=n.dots,a=n.indexes,u=n.Blob||"undefined"!=typeof Blob&&Blob,s=void 0===n.maxDepth?100:n.maxDepth,c=u&&Ae.isSpecCompliantForm(t),f=[];if(!Ae.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Ae.isDate(e))return e.toISOString();if(Ae.isBoolean(e))return e.toString();if(!c&&Ae.isBlob(e))throw new Be("Blob is not supported. Use a Buffer instead.");if(Ae.isArrayBuffer(e)||Ae.isTypedArray(e)){if(c&&"function"==typeof u)return new u([e]);if("undefined"!=typeof Buffer)return Buffer.from(e);throw new Be("Blob is not supported. Use a Buffer instead.",Be.ERR_NOT_SUPPORT)}return e}function d(e){if(e>s)throw new Be("Object is too deeply nested ("+e+" levels). Max depth: "+s,Be.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,n,o){var u=e;if(Ae.isReactNative(t)&&Ae.isReactNativeBlob(e))return t.append(Me(o,n,i),l(e)),!1;if(e&&!o&&"object"===_(e))if(Ae.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=function(e,t){if(s===1/0)return JSON.stringify(e);var n=[];return JSON.stringify(e,function(e,r){if(!Ae.isObject(r))return r;for(;n.length&&n[n.length-1]!==this;)n.pop();return n.push(r),d(t+n.length-1),r})}(e,1);else if(Ae.isArray(e)&&function(e){return Ae.isArray(e)&&!e.some(Ie)}(e)||(Ae.isFileList(e)||Ae.endsWith(n,"[]"))&&(u=Ae.toArray(e)))return n=qe(n),u.forEach(function(e,r){!Ae.isUndefined(e)&&null!==e&&t.append(!0===a?Me([n],r,i):null===a?n:n+"[]",l(e))}),!1;return!!Ie(e)||(t.append(Me(o,n,i),l(e)),!1)}var h=Object.assign(ze,{defaultVisitor:p,convertValue:l,isVisitable:Ie});if(!Ae.isObject(e))throw new TypeError("data must be an object");return function e(n,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!Ae.isUndefined(n)){if(d(i),-1!==f.indexOf(n))throw new Error("Circular reference detected in "+r.join("."));f.push(n),Ae.forEach(n,function(n,a){!0===(!(Ae.isUndefined(n)||null===n)&&o.call(t,n,Ae.isString(a)?a.trim():a,r,h))&&e(n,r?r.concat(a):[a],i+1)}),f.pop()}}(e),t}function We(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function Je(e,t){this._pairs=[],e&&He(e,this,t)}var Ve=Je.prototype;function Ke(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Xe(e,t,n){if(!t)return e;e=e||"";var r,o=Ae.isFunction(n)?{serialize:n}:n,i=Ae.getSafeProp(o,"encode")||Ke,a=Ae.getSafeProp(o,"serialize");if(r=a?a(t,o):Ae.isURLSearchParams(t)?t.toString():new Je(t,o).toString(i)){var u=e.indexOf("#");-1!==u&&(e=e.slice(0,u)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}Ve.append=function(e,t){this._pairs.push([e,t])},Ve.toString=function(e){var t=this,n=e?function(n){return e.call(t,n,We)}:We;return this._pairs.map(function(e){return n(e[0])+"="+n(e[1])},"").join("&")};var Ge=function(){return l(function e(){c(this,e),this.handlers=[]},[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){Ae.forEach(this.handlers,function(t){null!==t&&e(t)})}}])}(),$e={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Qe={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Je,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Ze="undefined"!=typeof window&&"undefined"!=typeof document,Ye="object"===("undefined"==typeof navigator?"undefined":_(navigator))&&navigator||void 0,et=Ze&&(!Ye||["ReactNative","NativeScript","NS"].indexOf(Ye.product)<0),tt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,nt=Ze&&window.location.href||"http://localhost",rt=b(b({},Object.freeze({__proto__:null,hasBrowserEnv:Ze,hasStandardBrowserEnv:et,hasStandardBrowserWebWorkerEnv:tt,navigator:Ye,origin:nt})),Qe);function ot(e){if(e>100)throw new Be("FormData field is too deeply nested ("+e+" levels). Max depth: 100",Be.ERR_FORM_DATA_DEPTH_EXCEEDED)}function it(e){function t(e,n,r,o){ot(o);var i=e[o++];if("__proto__"===i)return!0;var a=Number.isFinite(+i),u=o>=e.length;return i=!i&&Ae.isArray(r)?r.length:i,u?(Ae.hasOwnProp(r,i)?r[i]=Ae.isArray(r[i])?r[i].concat(n):[r[i],n]:r[i]=n,!a):(Ae.hasOwnProp(r,i)&&Ae.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&Ae.isArray(r[i])&&(r[i]=function(e){var t,n,r={},o=Object.keys(e),i=o.length;for(t=0;t-1,i=Ae.isObject(e);if(i&&Ae.isHTMLForm(e)&&(e=new FormData(e)),Ae.isFormData(e))return o?JSON.stringify(it(e)):e;if(Ae.isArrayBuffer(e)||Ae.isBuffer(e)||Ae.isStream(e)||Ae.isFile(e)||Ae.isBlob(e)||Ae.isReadableStream(e))return e;if(Ae.isArrayBufferView(e))return e.buffer;if(Ae.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){var a=at(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return He(e,new rt.classes.URLSearchParams,b({visitor:function(e,t,n,r){return rt.isNode&&Ae.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,a).toString();if((n=Ae.isFileList(e))||r.indexOf("multipart/form-data")>-1){var u=at(this,"env"),s=u&&u.FormData;return He(n?{"files[]":e}:e,s&&new s,a)}}return i||o?(t.setContentType("application/json",!1),function(e,t,n){if(Ae.isString(e))try{return(t||JSON.parse)(e),Ae.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=at(this,"transitional")||ut.transitional,n=t&&t.forcedJSONParsing,r=at(this,"responseType"),o="json"===r;if(Ae.isResponse(e)||Ae.isReadableStream(e))return e;if(e&&Ae.isString(e)&&(n&&!r||o)){var i=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,at(this,"parseReviver"))}catch(e){if(i){if("SyntaxError"===e.name)throw Be.from(e,Be.ERR_BAD_RESPONSE,this,null,at(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:rt.classes.FormData,Blob:rt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};function st(e,t){var n=this||ut,r=t||n,o=Le.from(r.headers),i=r.data;return Ae.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function ct(e){return!(!e||!e.__CANCEL__)}Ae.forEach(["delete","get","head","post","put","patch","query"],function(e){ut.headers[e]={}});var ft=function(e){function t(e,n,r){var o;return c(this,t),(o=s(this,t,[null==e?"canceled":e,Be.ERR_CANCELED,n,r])).name="CanceledError",o.__CANCEL__=!0,o}return h(t,e),l(t)}(Be);function lt(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Be("Request failed with status code "+n.status,n.status>=400&&n.status<500?Be.ERR_BAD_REQUEST:Be.ERR_BAD_RESPONSE,n.config,n.request,n)):e(n)}var dt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=0,o=function(e,t){e=e||10;var n,r=new Array(e),o=new Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(u){var s=Date.now(),c=o[a];n||(n=s),r[i]=u,o[i]=s;for(var f=a,l=0;f!==i;)l+=r[f++],f%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),!(s-n1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(void 0,R(t))};return[function(){for(var e=Date.now(),t=e-o,u=arguments.length,s=new Array(u),c=0;c=i?a(s,e):(n=s,r||(r=setTimeout(function(){r=null,a(n)},i-t)))},function(){return n&&a(n)}]}(function(n){if(n&&"number"==typeof n.loaded){var i=n.loaded,a=n.lengthComputable?n.total:void 0,u=null!=a?Math.min(i,a):i,s=Math.max(0,u-r),c=o(s);r=Math.max(r,u);var f=d({loaded:u,total:a,progress:a?u/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a?(a-u)/c:void 0,event:n,lengthComputable:null!=a},t?"download":"upload",!0);e(f)}},n)},pt=function(e,t){var n=null!=e;return[function(r){return t[0]({lengthComputable:n,total:e,loaded:r})},t[1]]},ht=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102},xt=function(e,t,n){return t+2=2&&37===r.charCodeAt(e-2)&&51===r.charCodeAt(e-1)&&(68===r.charCodeAt(e)||100===r.charCodeAt(e))};f>=0&&(61===r.charCodeAt(f)?(c++,f--):l(f)&&(c++,f-=3)),1===c&&f>=0&&(61===r.charCodeAt(f)||l(f))&&c++;var d=3*Math.floor(o/4)-(c||0);return d>0?d:0}for(var p=0,h=0,v=r.length;h=55296&&y<=56319&&h+1=56320&&b<=57343?(p+=4,h++):p+=3}else p+=3}return p}var Ut="1.18.1",Dt=Ae.isFunction,Lt=function(e){return encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,function(e,t){return String.fromCharCode(parseInt(t,16))})},Ft=function(e){if(!Ae.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},Bt=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r-1,N=Ae.isNumber(C)&&C>-1,U=function(e){return Ae.hasOwnProp(t,e)?t[e]:void 0},D=i||fetch,_=_?(_+"").toLowerCase():"text",L=At([l,d&&d.toAbortSignal()],h),F=null,B=L&&L.unsubscribe&&function(){L.unsubscribe()},q=null,M=function(){return new Be("Request body larger than maxBodyLength limit",Be.ERR_BAD_REQUEST,t,F)},e.p=1,z=void 0,(H=U("auth"))&&(W=Ae.getSafeProp(H,"username")||"",J=Ae.getSafeProp(H,"password")||"",z={username:W,password:J}),It(o)&&(V=new URL(o,rt.origin),z||!V.username&&!V.password||(K=Ft(V.username),X=Ft(V.password),z={username:K,password:X}),(V.username||V.password)&&(V.username="",V.password="",o=V.href)),z&&(A.delete("authorization"),A.set("Authorization","Basic "+btoa(Lt((z.username||"")+":"+(z.password||""))))),!x||"string"!=typeof o||!o.startsWith("data:")){e.n=2;break}if(!(Nt(o)>k)){e.n=2;break}throw new Be("maxContentLength size of "+k+" exceeded",Be.ERR_BAD_RESPONSE,t,F);case 2:if(!N||"get"===a||"head"===a){e.n=4;break}return e.n=3,w(c);case 3:if("number"!=typeof(G=e.v)||!isFinite(G)){e.n=4;break}if(I=G,!(G>C)){e.n=4;break}throw M();case 4:if($=N&&(Ae.isReadableStream(c)||Ae.isStream(c)),Q=function(e,t,n){return kt(e,65536,function(e){if(N&&e>C)throw q=M();t&&t(e)},n)},!v||"get"===a||"head"===a||!S&&!$){e.n=8;break}if(null!=I){e.n=6;break}return e.n=5,O(A,c);case 5:Ee=e.v,e.n=7;break;case 6:Ee=I;case 7:(0!==(I=Ee)||$)&&(Z=new u(o,{method:"POST",body:c,duplex:"half"}),Ae.isFormData(c)&&(Y=Z.headers.get("content-type"))&&A.setContentType(Y),Z.body&&(ee=S&&pt(I,dt(ht(S)))||[],te=E(ee,2),ne=te[0],re=te[1],c=Q(Z.body,ne,re))),e.n=10;break;case 8:if(!$||f||!p||"get"===a||"head"===a){e.n=9;break}c=Q(c),e.n=10;break;case 9:if(!$||!f||v||"get"===a||"head"===a){e.n=10;break}throw new Be("Stream request bodies are not supported by the current fetch implementation",Be.ERR_NOT_SUPPORT,t,F);case 10:return Ae.isString(T)||(T=T?"include":"omit"),oe=f&&"credentials"in u.prototype,Ae.isFormData(c)&&(ie=A.getContentType())&&/^multipart\/form-data/i.test(ie)&&!/boundary=/i.test(ie)&&A.delete("content-type"),A.set("User-Agent","axios/"+Ut,!1),ae=b(b({},j),{},{signal:L,method:a.toUpperCase(),headers:Ce(A.normalize()),body:c,duplex:"half",credentials:oe?T:void 0}),F=f&&new u(o,ae),e.n=11,f?D(F,j):D(o,ae);case 11:if(ue=e.v,se=Le.from(ue.headers),!x){e.n=12;break}if(!(null!=(ce=Ae.toFiniteNumber(se.getContentLength()))&&ce>k)){e.n=12;break}throw new Be("maxContentLength size of "+k+" exceeded",Be.ERR_BAD_RESPONSE,t,F);case 12:return fe=y&&("stream"===_||"response"===_),y&&ue.body&&(R||x||fe&&B)&&(le={},["status","statusText","headers"].forEach(function(e){le[e]=ue[e]}),de=Ae.toFiniteNumber(se.getContentLength()),pe=R&&pt(de,dt(ht(R),!0))||[],he=E(pe,2),ve=he[0],ye=he[1],be=function(e){if(x&&e>k)throw new Be("maxContentLength size of "+k+" exceeded",Be.ERR_BAD_RESPONSE,t,F);ve&&ve(e)},ue=new s(kt(ue.body,65536,be,function(){ye&&ye(),B&&B()}),le)),_=_||"text",e.n=13,g[Ae.findKey(g,_)||"text"](ue,t);case 13:if(me=e.v,!x||y||fe){e.n=14;break}if(null!=me&&("number"==typeof me.byteLength?ge=me.byteLength:"number"==typeof me.size?ge=me.size:"string"==typeof me&&(ge="function"==typeof r?(new r).encode(me).byteLength:me.length)),!("number"==typeof ge&&ge>k)){e.n=14;break}throw new Be("maxContentLength size of "+k+" exceeded",Be.ERR_BAD_RESPONSE,t,F);case 14:return!fe&&B&&B(),e.n=15,new Promise(function(e,n){lt(e,n,{data:me,headers:Le.from(ue.headers),status:ue.status,statusText:ue.statusText,config:t,request:F})});case 15:return e.a(2,e.v);case 16:if(e.p=16,Re=e.v,B&&B(),!(L&&L.aborted&&L.reason instanceof Be)){e.n=17;break}throw(we=L.reason).config=t,F&&(we.request=F),Re!==we&&Object.defineProperty(we,"cause",{__proto__:null,value:Re,writable:!0,enumerable:!1,configurable:!0}),we;case 17:if(!q){e.n=18;break}throw F&&!q.request&&(q.request=F),q;case 18:if(!(Re instanceof Be)){e.n=19;break}throw F&&!Re.request&&(Re.request=F),Re;case 19:if(!Re||"TypeError"!==Re.name||!/Load failed|fetch/i.test(Re.message)){e.n=20;break}throw Oe=new Be("Network Error",Be.ERR_NETWORK,t,F,Re&&Re.response),Object.defineProperty(Oe,"cause",{__proto__:null,value:Re.cause||Re,writable:!0,enumerable:!1,configurable:!0}),Oe;case 20:throw Be.from(Re,Re&&Re.code,t,F,Re&&Re.response);case 21:return e.a(2)}},e,null,[[1,16]])}));return function(t){return e.apply(this,arguments)}}()},Mt=new Map,zt=function(e){for(var t,n,r=e&&e.env||{},o=r.fetch,i=[r.Request,r.Response,o],a=i.length,u=Mt;a--;)t=i[a],void 0===(n=u.get(t))&&u.set(t,n=a?new Map:qt(r)),u=n;return n};zt();var Ht={http:null,xhr:_t,fetch:{get:zt}};Ae.forEach(Ht,function(e,t){if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var Wt=function(e){return"- ".concat(e)},Jt=function(e){return Ae.isFunction(e)||null===e||!1===e};var Vt={getAdapter:function(e,t){for(var n,r,o=(e=Ae.isArray(e)?e:[e]).length,i={},a=0;a1?"since :\n"+s.map(Wt).join("\n"):" "+Wt(s[0]):"as no adapter specified";throw new Be("There is no suitable adapter to dispatch the request "+c,Be.ERR_NOT_SUPPORT)}return r},adapters:Ht};function Kt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ft(null,e)}function Xt(e){return Kt(e),e.headers=Le.from(e.headers),e.data=st.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Vt.getAdapter(e.adapter||ut.adapter,e)(e).then(function(t){Kt(e),e.response=t;try{t.data=st.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=Le.from(t.headers),t},function(t){if(!ct(t)&&(Kt(e),t&&t.response)){e.response=t.response;try{t.response.data=st.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=Le.from(t.response.headers)}return Promise.reject(t)})}var Gt={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Gt[e]=function(n){return _(n)===e||"a"+(t<1?"n ":" ")+e}});var $t={};Gt.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Ut+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,i){if(!1===e)throw new Be(r(o," has been removed"+(t?" in "+t:"")),Be.ERR_DEPRECATED);return t&&!$t[o]&&($t[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},Gt.spelling=function(e){return function(t,n){return console.warn("".concat(n," is likely a misspelling of ").concat(e)),!0}};var Qt={assertOptions:function(e,t,n){if("object"!==_(e)||null===e)throw new Be("options must be an object",Be.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(a){var u=e[i],s=void 0===u||a(u,i,e);if(!0!==s)throw new Be("option "+i+" must be "+s,Be.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Be("Unknown option "+i,Be.ERR_BAD_OPTION)}},validators:Gt},Zt=Qt.validators,Yt=function(){return l(function e(t){c(this,e),this.defaults=t||{},this.interceptors={request:new Ge,response:new Ge}},[{key:"request",value:(e=a(m().m(function e(t,n){var r,o,i,a,u,s;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,this._request(t,n);case 1:return e.a(2,e.v);case 2:if(e.p=2,(s=e.v)instanceof Error){r={},Error.captureStackTrace?Error.captureStackTrace(r):r=new Error,o=function(){if(!r.stack)return"";var e=r.stack.indexOf("\n");return-1===e?"":r.stack.slice(e+1)}();try{s.stack?o&&(i=o.indexOf("\n"),a=-1===i?-1:o.indexOf("\n",i+1),u=-1===a?"":o.slice(a+1),String(s.stack).endsWith(u)||(s.stack+="\n"+o)):s.stack=o}catch(e){}}throw s;case 3:return e.a(2)}},e,this,[[0,2]])})),function(t,n){return e.apply(this,arguments)})},{key:"_request",value:function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};var n=t=Et(this.defaults,t),r=n.transitional,o=n.paramsSerializer,i=n.headers;void 0!==r&&Qt.assertOptions(r,{silentJSONParsing:Zt.transitional(Zt.boolean),forcedJSONParsing:Zt.transitional(Zt.boolean),clarifyTimeoutError:Zt.transitional(Zt.boolean),legacyInterceptorReqResOrdering:Zt.transitional(Zt.boolean),advertiseZstdAcceptEncoding:Zt.transitional(Zt.boolean),validateStatusUndefinedResolves:Zt.transitional(Zt.boolean)},!1),null!=o&&(Ae.isFunction(o)?t.paramsSerializer={serialize:o}:Qt.assertOptions(o,{encode:Zt.function,serialize:Zt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Qt.assertOptions(t,{baseUrl:Zt.spelling("baseURL"),withXsrfToken:Zt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();var a=i&&Ae.merge(i.common,i[t.method]);i&&Ae.forEach(["delete","get","head","post","put","patch","query","common"],function(e){delete i[e]}),t.headers=Le.concat(a,i);var u=[],s=!0;this.interceptors.request.forEach(function(e){if("function"!=typeof e.runWhen||!1!==e.runWhen(t)){s=s&&e.synchronous;var n=t.transitional||$e;n&&n.legacyInterceptorReqResOrdering?u.unshift(e.fulfilled,e.rejected):u.push(e.fulfilled,e.rejected)}});var c,f=[];this.interceptors.response.forEach(function(e){f.push(e.fulfilled,e.rejected)});var l,d=0;if(!s){var p=[Xt.bind(this),void 0];for(p.unshift.apply(p,u),p.push.apply(p,f),l=p.length,c=Promise.resolve(t);d0;)r._listeners[t](e);r._listeners=null}}),this.promise.then=function(e){var t,n=new Promise(function(e){r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t(function(e,t,o){r.reason||(r.reason=new ft(e,t,o),n(r.reason))})}return l(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}},{key:"toAbortSignal",value:function(){var e=this,t=new AbortController,n=function(e){t.abort(e)};return this.subscribe(n),t.signal.unsubscribe=function(){return e.unsubscribe(n)},t.signal}}],[{key:"source",value:function(){var t;return{token:new e(function(e){t=e}),cancel:t}}}])}();var tn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(tn).forEach(function(e){var t=E(e,2),n=t[0],r=t[1];tn[r]=n});var nn=function e(t){var n=new Yt(t),r=k(Yt.prototype.request,n);return Ae.extend(r,Yt.prototype,n,{allOwnKeys:!0}),Ae.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Et(t,n))},r}(ut);return nn.Axios=Yt,nn.CanceledError=ft,nn.CancelToken=en,nn.isCancel=ct,nn.VERSION=Ut,nn.toFormData=He,nn.AxiosError=Be,nn.Cancel=nn.CanceledError,nn.all=function(e){return Promise.all(e)},nn.spread=function(e){return function(t){return e.apply(null,t)}},nn.isAxiosError=function(e){return Ae.isObject(e)&&!0===e.isAxiosError},nn.mergeConfig=Et,nn.AxiosHeaders=Le,nn.formToJSON=function(e){return it(Ae.isHTMLForm(e)?new FormData(e):e)},nn.getAdapter=Vt.getAdapter,nn.HttpStatusCode=tn,nn.default=nn,nn}); +//# sourceMappingURL=axios.min.js.map diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js.map b/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js.map new file mode 100644 index 0000000..fc19a78 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js.map @@ -0,0 +1 @@ +{"version":3,"file":"axios.min.js","sources":["../lib/helpers/bind.js","../lib/utils.js","../lib/helpers/parseHeaders.js","../lib/helpers/sanitizeHeaderValue.js","../lib/core/AxiosHeaders.js","../lib/core/AxiosError.js","../lib/helpers/toFormData.js","../lib/helpers/AxiosURLSearchParams.js","../lib/helpers/buildURL.js","../lib/core/InterceptorManager.js","../lib/defaults/transitional.js","../lib/platform/browser/index.js","../lib/platform/browser/classes/URLSearchParams.js","../lib/platform/browser/classes/FormData.js","../lib/platform/browser/classes/Blob.js","../lib/platform/common/utils.js","../lib/platform/index.js","../lib/helpers/formDataToJSON.js","../lib/defaults/index.js","../lib/helpers/toURLEncodedForm.js","../lib/core/transformData.js","../lib/cancel/isCancel.js","../lib/cancel/CanceledError.js","../lib/core/settle.js","../lib/helpers/progressEventReducer.js","../lib/helpers/speedometer.js","../lib/helpers/throttle.js","../lib/helpers/isURLSameOrigin.js","../lib/helpers/cookies.js","../lib/core/buildFullPath.js","../lib/helpers/isAbsoluteURL.js","../lib/helpers/combineURLs.js","../lib/core/mergeConfig.js","../lib/helpers/resolveConfig.js","../lib/adapters/xhr.js","../lib/helpers/parseProtocol.js","../lib/helpers/composeSignals.js","../lib/helpers/trackStream.js","../lib/helpers/estimateDataURLDecodedBytes.js","../lib/env/data.js","../lib/adapters/fetch.js","../lib/adapters/adapters.js","../lib/helpers/null.js","../lib/core/dispatchRequest.js","../lib/helpers/validator.js","../lib/core/Axios.js","../lib/cancel/CancelToken.js","../lib/helpers/HttpStatusCode.js","../lib/axios.js","../lib/helpers/spread.js","../lib/helpers/isAxiosError.js"],"sourcesContent":["'use strict';\n\n/**\n * Create a bound version of a function with a specified `this` context\n *\n * @param {Function} fn - The function to bind\n * @param {*} thisArg - The value to be passed as the `this` parameter\n * @returns {Function} A new function that will call the original function with the specified `this` context\n */\nexport default function bind(fn, thisArg) {\n return function wrap() {\n return fn.apply(thisArg, arguments);\n };\n}\n","'use strict';\n\nimport bind from './helpers/bind.js';\n\n// utils is a library of generic helper functions non-specific to axios\n\nconst { toString } = Object.prototype;\nconst { getPrototypeOf } = Object;\nconst { iterator, toStringTag } = Symbol;\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (\n ({ hasOwnProperty }) =>\n (obj, prop) =>\n hasOwnProperty.call(obj, prop)\n)(Object.prototype);\n\n/**\n * Walk the prototype chain (excluding the shared Object.prototype) looking for\n * an own `prop`. This distinguishes genuine own/inherited members — including\n * class accessors and template prototypes — from members injected via\n * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which\n * live on Object.prototype itself and are therefore never matched.\n *\n * @param {*} thing The value whose chain to inspect\n * @param {string|symbol} prop The property key to look for\n *\n * @returns {boolean} True when `prop` is owned below Object.prototype\n */\nconst hasOwnInPrototypeChain = (thing, prop) => {\n let obj = thing;\n const seen = [];\n\n while (obj != null && obj !== Object.prototype) {\n if (seen.indexOf(obj) !== -1) {\n return false;\n }\n seen.push(obj);\n\n if (hasOwnProperty(obj, prop)) {\n return true;\n }\n obj = getPrototypeOf(obj);\n }\n return false;\n};\n\n/**\n * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own\n * properties and members inherited from a non-Object.prototype source (a class\n * instance or template object) are honored; a value reachable only through a\n * polluted Object.prototype is ignored and `undefined` is returned.\n *\n * @param {*} obj The source object\n * @param {string|symbol} prop The property key to read\n *\n * @returns {*} The resolved value, or undefined when unsafe/absent\n */\nconst getSafeProp = (obj, prop) =>\n obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined;\n\nconst kindOf = ((cache) => (thing) => {\n const str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n})(Object.create(null));\n\nconst kindOfTest = (type) => {\n type = type.toLowerCase();\n return (thing) => kindOf(thing) === type;\n};\n\nconst typeOfTest = (type) => (thing) => typeof thing === type;\n\n/**\n * Determine if a value is a non-null object\n *\n * @param {Object} val The value to test\n *\n * @returns {boolean} True if value is an Array, otherwise false\n */\nconst { isArray } = Array;\n\n/**\n * Determine if a value is undefined\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nconst isUndefined = typeOfTest('undefined');\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return (\n val !== null &&\n !isUndefined(val) &&\n val.constructor !== null &&\n !isUndefined(val.constructor) &&\n isFunction(val.constructor.isBuffer) &&\n val.constructor.isBuffer(val)\n );\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nconst isArrayBuffer = kindOfTest('ArrayBuffer');\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n let result;\n if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {\n result = ArrayBuffer.isView(val);\n } else {\n result = val && val.buffer && isArrayBuffer(val.buffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a String, otherwise false\n */\nconst isString = typeOfTest('string');\n\n/**\n * Determine if a value is a Function\n *\n * @param {*} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nconst isFunction = typeOfTest('function');\n\n/**\n * Determine if a value is a Number\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Number, otherwise false\n */\nconst isNumber = typeOfTest('number');\n\n/**\n * Determine if a value is an Object\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an Object, otherwise false\n */\nconst isObject = (thing) => thing !== null && typeof thing === 'object';\n\n/**\n * Determine if a value is a Boolean\n *\n * @param {*} thing The value to test\n * @returns {boolean} True if value is a Boolean, otherwise false\n */\nconst isBoolean = (thing) => thing === true || thing === false;\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a plain Object, otherwise false\n */\nconst isPlainObject = (val) => {\n if (!isObject(val)) {\n return false;\n }\n\n const prototype = getPrototypeOf(val);\n return (\n (prototype === null ||\n prototype === Object.prototype ||\n getPrototypeOf(prototype) === null) &&\n // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or\n // Symbol.iterator as evidence the value is a tagged/iterable type rather\n // than a plain object, while ignoring keys injected onto Object.prototype.\n !hasOwnInPrototypeChain(val, toStringTag) &&\n !hasOwnInPrototypeChain(val, iterator)\n );\n};\n\n/**\n * Determine if a value is an empty object (safely handles Buffers)\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an empty object, otherwise false\n */\nconst isEmptyObject = (val) => {\n // Early return for non-objects or Buffers to prevent RangeError\n if (!isObject(val) || isBuffer(val)) {\n return false;\n }\n\n try {\n return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;\n } catch (e) {\n // Fallback for any other objects that might cause RangeError with Object.keys()\n return false;\n }\n};\n\n/**\n * Determine if a value is a Date\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Date, otherwise false\n */\nconst isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a React Native Blob\n * React Native \"blob\": an object with a `uri` attribute. Optionally, it can\n * also have a `name` and `type` attribute to specify filename and content type\n *\n * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71\n *\n * @param {*} value The value to test\n *\n * @returns {boolean} True if value is a React Native Blob, otherwise false\n */\nconst isReactNativeBlob = (value) => {\n return !!(value && typeof value.uri !== 'undefined');\n};\n\n/**\n * Determine if environment is React Native\n * ReactNative `FormData` has a non-standard `getParts()` method\n *\n * @param {*} formData The formData to test\n *\n * @returns {boolean} True if environment is React Native, otherwise false\n */\nconst isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';\n\n/**\n * Determine if a value is a Blob\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nconst isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a FileList, otherwise false\n */\nconst isFileList = kindOfTest('FileList');\n\n/**\n * Determine if a value is a Stream\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nconst isStream = (val) => isObject(val) && isFunction(val.pipe);\n\n/**\n * Determine if a value is a FormData\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction getGlobal() {\n if (typeof globalThis !== 'undefined') return globalThis;\n if (typeof self !== 'undefined') return self;\n if (typeof window !== 'undefined') return window;\n if (typeof global !== 'undefined') return global;\n return {};\n}\n\nconst G = getGlobal();\nconst FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;\n\nconst isFormData = (thing) => {\n if (!thing) return false;\n if (FormDataCtor && thing instanceof FormDataCtor) return true;\n // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData.\n const proto = getPrototypeOf(thing);\n if (!proto || proto === Object.prototype) return false;\n if (!isFunction(thing.append)) return false;\n const kind = kindOf(thing);\n return (\n kind === 'formdata' ||\n // detect form-data instance\n (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')\n );\n};\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nconst isURLSearchParams = kindOfTest('URLSearchParams');\n\nconst [isReadableStream, isRequest, isResponse, isHeaders] = [\n 'ReadableStream',\n 'Request',\n 'Response',\n 'Headers',\n].map(kindOfTest);\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n *\n * @returns {String} The String freed of excess whitespace\n */\nconst trim = (str) => {\n return str.trim ? str.trim() : str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n};\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n *\n * @param {Object} [options]\n * @param {Boolean} [options.allOwnKeys = false]\n * @returns {any}\n */\nfunction forEach(obj, fn, { allOwnKeys = false } = {}) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n let i;\n let l;\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Buffer check\n if (isBuffer(obj)) {\n return;\n }\n\n // Iterate over object keys\n const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);\n const len = keys.length;\n let key;\n\n for (i = 0; i < len; i++) {\n key = keys[i];\n fn.call(null, obj[key], key, obj);\n }\n }\n}\n\n/**\n * Finds a key in an object, case-insensitive, returning the actual key name.\n * Returns null if the object is a Buffer or if no match is found.\n *\n * @param {Object} obj - The object to search.\n * @param {string} key - The key to find (case-insensitive).\n * @returns {?string} The actual key name if found, otherwise null.\n */\nfunction findKey(obj, key) {\n if (isBuffer(obj)) {\n return null;\n }\n\n key = key.toLowerCase();\n const keys = Object.keys(obj);\n let i = keys.length;\n let _key;\n while (i-- > 0) {\n _key = keys[i];\n if (key === _key.toLowerCase()) {\n return _key;\n }\n }\n return null;\n}\n\nconst _global = (() => {\n /*eslint no-undef:0*/\n if (typeof globalThis !== 'undefined') return globalThis;\n return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;\n})();\n\nconst isContextDefined = (context) => !isUndefined(context) && context !== _global;\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * const result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n *\n * @returns {Object} Result of all merge properties\n */\nfunction merge(...objs) {\n const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};\n const result = {};\n const assignValue = (val, key) => {\n // Skip dangerous property names to prevent prototype pollution\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return;\n }\n\n // findKey lowercases the key, so caseless lookup only applies to strings —\n // symbol keys are identity-matched.\n const targetKey = (caseless && typeof key === 'string' && findKey(result, key)) || key;\n // Read via own-prop only — a bare `result[targetKey]` walks the prototype\n // chain, so a polluted Object.prototype value could surface here and get\n // copied into the merged result.\n const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined;\n if (isPlainObject(existing) && isPlainObject(val)) {\n result[targetKey] = merge(existing, val);\n } else if (isPlainObject(val)) {\n result[targetKey] = merge({}, val);\n } else if (isArray(val)) {\n result[targetKey] = val.slice();\n } else if (!skipUndefined || !isUndefined(val)) {\n result[targetKey] = val;\n }\n };\n\n for (let i = 0, l = objs.length; i < l; i++) {\n const source = objs[i];\n if (!source || isBuffer(source)) {\n continue;\n }\n\n forEach(source, assignValue);\n\n if (typeof source !== 'object' || isArray(source)) {\n continue;\n }\n\n const symbols = Object.getOwnPropertySymbols(source);\n for (let j = 0; j < symbols.length; j++) {\n const symbol = symbols[j];\n if (propertyIsEnumerable.call(source, symbol)) {\n assignValue(source[symbol], symbol);\n }\n }\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n *\n * @param {Object} [options]\n * @param {Boolean} [options.allOwnKeys]\n * @returns {Object} The resulting value of object a\n */\nconst extend = (a, b, thisArg, { allOwnKeys } = {}) => {\n forEach(\n b,\n (val, key) => {\n if (thisArg && isFunction(val)) {\n Object.defineProperty(a, key, {\n // Null-proto descriptor so a polluted Object.prototype.get cannot\n // hijack defineProperty's accessor-vs-data resolution.\n __proto__: null,\n value: bind(val, thisArg),\n writable: true,\n enumerable: true,\n configurable: true,\n });\n } else {\n Object.defineProperty(a, key, {\n __proto__: null,\n value: val,\n writable: true,\n enumerable: true,\n configurable: true,\n });\n }\n },\n { allOwnKeys }\n );\n return a;\n};\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n *\n * @returns {string} content value without BOM\n */\nconst stripBOM = (content) => {\n if (content.charCodeAt(0) === 0xfeff) {\n content = content.slice(1);\n }\n return content;\n};\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n *\n * @returns {void}\n */\nconst inherits = (constructor, superConstructor, props, descriptors) => {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n Object.defineProperty(constructor.prototype, 'constructor', {\n __proto__: null,\n value: constructor,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n Object.defineProperty(constructor, 'super', {\n __proto__: null,\n value: superConstructor.prototype,\n });\n props && Object.assign(constructor.prototype, props);\n};\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function|Boolean} [filter]\n * @param {Function} [propFilter]\n *\n * @returns {Object}\n */\nconst toFlatObject = (sourceObj, destObj, filter, propFilter) => {\n let props;\n let i;\n let prop;\n const merged = {};\n\n destObj = destObj || {};\n // eslint-disable-next-line no-eq-null,eqeqeq\n if (sourceObj == null) return destObj;\n\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = filter !== false && getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n\n return destObj;\n};\n\n/**\n * Determines whether a string ends with the characters of a specified string\n *\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n *\n * @returns {boolean}\n */\nconst endsWith = (str, searchString, position) => {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n const lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n};\n\n/**\n * Returns new array from array like object or null if failed\n *\n * @param {*} [thing]\n *\n * @returns {?Array}\n */\nconst toArray = (thing) => {\n if (!thing) return null;\n if (isArray(thing)) return thing;\n let i = thing.length;\n if (!isNumber(i)) return null;\n const arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n};\n\n/**\n * Checking if the Uint8Array exists and if it does, it returns a function that checks if the\n * thing passed in is an instance of Uint8Array\n *\n * @param {TypedArray}\n *\n * @returns {Array}\n */\n// eslint-disable-next-line func-names\nconst isTypedArray = ((TypedArray) => {\n // eslint-disable-next-line func-names\n return (thing) => {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));\n\n/**\n * For each entry in the object, call the function with the key and value.\n *\n * @param {Object} obj - The object to iterate over.\n * @param {Function} fn - The function to call for each entry.\n *\n * @returns {void}\n */\nconst forEachEntry = (obj, fn) => {\n const generator = obj && obj[iterator];\n\n const _iterator = generator.call(obj);\n\n let result;\n\n while ((result = _iterator.next()) && !result.done) {\n const pair = result.value;\n fn.call(obj, pair[0], pair[1]);\n }\n};\n\n/**\n * It takes a regular expression and a string, and returns an array of all the matches\n *\n * @param {string} regExp - The regular expression to match against.\n * @param {string} str - The string to search.\n *\n * @returns {Array}\n */\nconst matchAll = (regExp, str) => {\n let matches;\n const arr = [];\n\n while ((matches = regExp.exec(str)) !== null) {\n arr.push(matches);\n }\n\n return arr;\n};\n\n/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */\nconst isHTMLForm = kindOfTest('HTMLFormElement');\n\nconst toCamelCase = (str) => {\n return str.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g, function replacer(m, p1, p2) {\n return p1.toUpperCase() + p2;\n });\n};\n\nconst { propertyIsEnumerable } = Object.prototype;\n\n/**\n * Determine if a value is a RegExp object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a RegExp object, otherwise false\n */\nconst isRegExp = kindOfTest('RegExp');\n\nconst reduceDescriptors = (obj, reducer) => {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n const reducedDescriptors = {};\n\n forEach(descriptors, (descriptor, name) => {\n let ret;\n if ((ret = reducer(descriptor, name, obj)) !== false) {\n reducedDescriptors[name] = ret || descriptor;\n }\n });\n\n Object.defineProperties(obj, reducedDescriptors);\n};\n\n/**\n * Makes all methods read-only\n * @param {Object} obj\n */\n\nconst freezeMethods = (obj) => {\n reduceDescriptors(obj, (descriptor, name) => {\n // skip restricted props in strict mode\n if (isFunction(obj) && ['arguments', 'caller', 'callee'].includes(name)) {\n return false;\n }\n\n const value = obj[name];\n\n if (!isFunction(value)) return;\n\n descriptor.enumerable = false;\n\n if ('writable' in descriptor) {\n descriptor.writable = false;\n return;\n }\n\n if (!descriptor.set) {\n descriptor.set = () => {\n throw Error(\"Can not rewrite read-only method '\" + name + \"'\");\n };\n }\n });\n};\n\n/**\n * Converts an array or a delimited string into an object set with values as keys and true as values.\n * Useful for fast membership checks.\n *\n * @param {Array|string} arrayOrString - The array or string to convert.\n * @param {string} delimiter - The delimiter to use if input is a string.\n * @returns {Object} An object with keys from the array or string, values set to true.\n */\nconst toObjectSet = (arrayOrString, delimiter) => {\n const obj = {};\n\n const define = (arr) => {\n arr.forEach((value) => {\n obj[value] = true;\n });\n };\n\n isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));\n\n return obj;\n};\n\nconst noop = () => {};\n\nconst toFiniteNumber = (value, defaultValue) => {\n return value != null && Number.isFinite((value = +value)) ? value : defaultValue;\n};\n\n/**\n * If the thing is a FormData object, return true, otherwise return false.\n *\n * @param {unknown} thing - The thing to check.\n *\n * @returns {boolean}\n */\nfunction isSpecCompliantForm(thing) {\n return !!(\n thing &&\n isFunction(thing.append) &&\n thing[toStringTag] === 'FormData' &&\n thing[iterator]\n );\n}\n\n/**\n * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.\n *\n * @param {Object} obj - The object to convert.\n * @returns {Object} The JSON-compatible object.\n */\nconst toJSONObject = (obj) => {\n const visited = new WeakSet();\n\n const visit = (source) => {\n if (isObject(source)) {\n if (visited.has(source)) {\n return;\n }\n\n //Buffer check\n if (isBuffer(source)) {\n return source;\n }\n\n if (!('toJSON' in source)) {\n // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230).\n visited.add(source);\n const target = isArray(source) ? [] : {};\n\n forEach(source, (value, key) => {\n const reducedValue = visit(value);\n !isUndefined(reducedValue) && (target[key] = reducedValue);\n });\n\n visited.delete(source);\n\n return target;\n }\n }\n\n return source;\n };\n\n return visit(obj);\n};\n\n/**\n * Determines if a value is an async function.\n *\n * @param {*} thing - The value to test.\n * @returns {boolean} True if value is an async function, otherwise false.\n */\nconst isAsyncFn = kindOfTest('AsyncFunction');\n\n/**\n * Determines if a value is thenable (has then and catch methods).\n *\n * @param {*} thing - The value to test.\n * @returns {boolean} True if value is thenable, otherwise false.\n */\nconst isThenable = (thing) =>\n thing &&\n (isObject(thing) || isFunction(thing)) &&\n isFunction(thing.then) &&\n isFunction(thing.catch);\n\n// original code\n// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34\n\n/**\n * Provides a cross-platform setImmediate implementation.\n * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.\n *\n * @param {boolean} setImmediateSupported - Whether setImmediate is supported.\n * @param {boolean} postMessageSupported - Whether postMessage is supported.\n * @returns {Function} A function to schedule a callback asynchronously.\n */\nconst _setImmediate = ((setImmediateSupported, postMessageSupported) => {\n if (setImmediateSupported) {\n return setImmediate;\n }\n\n return postMessageSupported\n ? ((token, callbacks) => {\n _global.addEventListener(\n 'message',\n ({ source, data }) => {\n if (source === _global && data === token) {\n callbacks.length && callbacks.shift()();\n }\n },\n false\n );\n\n return (cb) => {\n callbacks.push(cb);\n _global.postMessage(token, '*');\n };\n })(`axios@${Math.random()}`, [])\n : (cb) => setTimeout(cb);\n})(typeof setImmediate === 'function', isFunction(_global.postMessage));\n\n/**\n * Schedules a microtask or asynchronous callback as soon as possible.\n * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.\n *\n * @type {Function}\n */\nconst asap =\n typeof queueMicrotask !== 'undefined'\n ? queueMicrotask.bind(_global)\n : (typeof process !== 'undefined' && process.nextTick) || _setImmediate;\n\n// *********************\n\nconst isIterable = (thing) => thing != null && isFunction(thing[iterator]);\n\n/**\n * Determine if a value is iterable via an iterator that is NOT sourced solely\n * from a polluted Object.prototype. Use this instead of `isIterable` whenever\n * the iterable comes from untrusted input (e.g. user-supplied header sources),\n * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object\n * into an attacker-controlled entries iterator.\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value has a non-polluted iterator\n */\nconst isSafeIterable = (thing) =>\n thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing);\n\nexport default {\n isArray,\n isArrayBuffer,\n isBuffer,\n isFormData,\n isArrayBufferView,\n isString,\n isNumber,\n isBoolean,\n isObject,\n isPlainObject,\n isEmptyObject,\n isReadableStream,\n isRequest,\n isResponse,\n isHeaders,\n isUndefined,\n isDate,\n isFile,\n isReactNativeBlob,\n isReactNative,\n isBlob,\n isRegExp,\n isFunction,\n isStream,\n isURLSearchParams,\n isTypedArray,\n isFileList,\n forEach,\n merge,\n extend,\n trim,\n stripBOM,\n inherits,\n toFlatObject,\n kindOf,\n kindOfTest,\n endsWith,\n toArray,\n forEachEntry,\n matchAll,\n isHTMLForm,\n hasOwnProperty,\n hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection\n hasOwnInPrototypeChain,\n getSafeProp,\n reduceDescriptors,\n freezeMethods,\n toObjectSet,\n toCamelCase,\n noop,\n toFiniteNumber,\n findKey,\n global: _global,\n isContextDefined,\n isSpecCompliantForm,\n toJSONObject,\n isAsyncFn,\n isThenable,\n setImmediate: _setImmediate,\n asap,\n isIterable,\n isSafeIterable,\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\n// RawAxiosHeaders whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nconst ignoreDuplicateOf = utils.toObjectSet([\n 'age',\n 'authorization',\n 'content-length',\n 'content-type',\n 'etag',\n 'expires',\n 'from',\n 'host',\n 'if-modified-since',\n 'if-unmodified-since',\n 'last-modified',\n 'location',\n 'max-forwards',\n 'proxy-authorization',\n 'referer',\n 'retry-after',\n 'user-agent',\n]);\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} rawHeaders Headers needing to be parsed\n *\n * @returns {Object} Headers parsed into an object\n */\nexport default (rawHeaders) => {\n const parsed = {};\n let key;\n let val;\n let i;\n\n rawHeaders &&\n rawHeaders.split('\\n').forEach(function parser(line) {\n i = line.indexOf(':');\n key = line.substring(0, i).trim().toLowerCase();\n val = line.substring(i + 1).trim();\n\n if (!key || (parsed[key] && ignoreDuplicateOf[key])) {\n return;\n }\n\n if (key === 'set-cookie') {\n if (parsed[key]) {\n parsed[key].push(val);\n } else {\n parsed[key] = [val];\n }\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\nfunction trimSPorHTAB(str) {\n let start = 0;\n let end = str.length;\n\n while (start < end) {\n const code = str.charCodeAt(start);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n start += 1;\n }\n\n while (end > start) {\n const code = str.charCodeAt(end - 1);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n end -= 1;\n }\n\n return start === 0 && end === str.length ? str : str.slice(start, end);\n}\n\n// The control-code ranges are intentional: header sanitization strips C0/DEL bytes.\n// eslint-disable-next-line no-control-regex\nconst INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\\\u0000-\\\\u0008\\\\u000a-\\\\u001f\\\\u007f]+', 'g');\n// eslint-disable-next-line no-control-regex\nconst INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\\\u0009\\\\u0020-\\\\u007e\\\\u0080-\\\\u00ff]+', 'g');\n\nfunction sanitizeValue(value, invalidChars) {\n if (utils.isArray(value)) {\n return value.map((item) => sanitizeValue(item, invalidChars));\n }\n\n return trimSPorHTAB(String(value).replace(invalidChars, ''));\n}\n\nexport const sanitizeHeaderValue = (value) =>\n sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS);\n\nexport const sanitizeByteStringHeaderValue = (value) =>\n sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS);\n\nexport function toByteStringHeaderObject(headers) {\n const byteStringHeaders = Object.create(null);\n\n utils.forEach(headers.toJSON(), (value, header) => {\n byteStringHeaders[header] = sanitizeByteStringHeaderValue(value);\n });\n\n return byteStringHeaders;\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport parseHeaders from '../helpers/parseHeaders.js';\nimport { sanitizeHeaderValue } from '../helpers/sanitizeHeaderValue.js';\n\nconst $internals = Symbol('internals');\n\nfunction normalizeHeader(header) {\n return header && String(header).trim().toLowerCase();\n}\n\nfunction normalizeValue(value) {\n if (value === false || value == null) {\n return value;\n }\n\n return utils.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value));\n}\n\nfunction parseTokens(str) {\n const tokens = Object.create(null);\n const tokensRE = /([^\\s,;=]+)\\s*(?:=\\s*([^,;]+))?/g;\n let match;\n\n while ((match = tokensRE.exec(str))) {\n tokens[match[1]] = match[2];\n }\n\n return tokens;\n}\n\nconst isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());\n\nfunction matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {\n if (utils.isFunction(filter)) {\n return filter.call(this, value, header);\n }\n\n if (isHeaderNameFilter) {\n value = header;\n }\n\n if (!utils.isString(value)) return;\n\n if (utils.isString(filter)) {\n return value.indexOf(filter) !== -1;\n }\n\n if (utils.isRegExp(filter)) {\n return filter.test(value);\n }\n}\n\nfunction formatHeader(header) {\n return header\n .trim()\n .toLowerCase()\n .replace(/([a-z\\d])(\\w*)/g, (w, char, str) => {\n return char.toUpperCase() + str;\n });\n}\n\nfunction buildAccessors(obj, header) {\n const accessorName = utils.toCamelCase(' ' + header);\n\n ['get', 'set', 'has'].forEach((methodName) => {\n Object.defineProperty(obj, methodName + accessorName, {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: function (arg1, arg2, arg3) {\n return this[methodName].call(this, header, arg1, arg2, arg3);\n },\n configurable: true,\n });\n });\n}\n\nclass AxiosHeaders {\n constructor(headers) {\n headers && this.set(headers);\n }\n\n set(header, valueOrRewrite, rewrite) {\n const self = this;\n\n function setHeader(_value, _header, _rewrite) {\n const lHeader = normalizeHeader(_header);\n\n if (!lHeader) {\n return;\n }\n\n const key = utils.findKey(self, lHeader);\n\n if (\n !key ||\n self[key] === undefined ||\n _rewrite === true ||\n (_rewrite === undefined && self[key] !== false)\n ) {\n self[key || _header] = normalizeValue(_value);\n }\n }\n\n const setHeaders = (headers, _rewrite) =>\n utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));\n\n if (utils.isPlainObject(header) || header instanceof this.constructor) {\n setHeaders(header, valueOrRewrite);\n } else if (utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {\n setHeaders(parseHeaders(header), valueOrRewrite);\n } else if (utils.isObject(header) && utils.isSafeIterable(header)) {\n let obj = Object.create(null),\n dest,\n key;\n for (const entry of header) {\n if (!utils.isArray(entry)) {\n throw new TypeError('Object iterator must return a key-value pair');\n }\n\n key = entry[0];\n\n if (utils.hasOwnProp(obj, key)) {\n dest = obj[key];\n obj[key] = utils.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]];\n } else {\n obj[key] = entry[1];\n }\n }\n\n setHeaders(obj, valueOrRewrite);\n } else {\n header != null && setHeader(valueOrRewrite, header, rewrite);\n }\n\n return this;\n }\n\n get(header, parser) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n if (key) {\n const value = this[key];\n\n if (!parser) {\n return value;\n }\n\n if (parser === true) {\n return parseTokens(value);\n }\n\n if (utils.isFunction(parser)) {\n return parser.call(this, value, key);\n }\n\n if (utils.isRegExp(parser)) {\n return parser.exec(value);\n }\n\n throw new TypeError('parser must be boolean|regexp|function');\n }\n }\n }\n\n has(header, matcher) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n return !!(\n key &&\n this[key] !== undefined &&\n (!matcher || matchHeaderValue(this, this[key], key, matcher))\n );\n }\n\n return false;\n }\n\n delete(header, matcher) {\n const self = this;\n let deleted = false;\n\n function deleteHeader(_header) {\n _header = normalizeHeader(_header);\n\n if (_header) {\n const key = utils.findKey(self, _header);\n\n if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {\n delete self[key];\n\n deleted = true;\n }\n }\n }\n\n if (utils.isArray(header)) {\n header.forEach(deleteHeader);\n } else {\n deleteHeader(header);\n }\n\n return deleted;\n }\n\n clear(matcher) {\n const keys = Object.keys(this);\n let i = keys.length;\n let deleted = false;\n\n while (i--) {\n const key = keys[i];\n if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {\n delete this[key];\n deleted = true;\n }\n }\n\n return deleted;\n }\n\n normalize(format) {\n const self = this;\n const headers = {};\n\n utils.forEach(this, (value, header) => {\n const key = utils.findKey(headers, header);\n\n if (key) {\n self[key] = normalizeValue(value);\n delete self[header];\n return;\n }\n\n const normalized = format ? formatHeader(header) : String(header).trim();\n\n if (normalized !== header) {\n delete self[header];\n }\n\n self[normalized] = normalizeValue(value);\n\n headers[normalized] = true;\n });\n\n return this;\n }\n\n concat(...targets) {\n return this.constructor.concat(this, ...targets);\n }\n\n toJSON(asStrings) {\n const obj = Object.create(null);\n\n utils.forEach(this, (value, header) => {\n value != null &&\n value !== false &&\n (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);\n });\n\n return obj;\n }\n\n [Symbol.iterator]() {\n return Object.entries(this.toJSON())[Symbol.iterator]();\n }\n\n toString() {\n return Object.entries(this.toJSON())\n .map(([header, value]) => header + ': ' + value)\n .join('\\n');\n }\n\n getSetCookie() {\n return this.get('set-cookie') || [];\n }\n\n get [Symbol.toStringTag]() {\n return 'AxiosHeaders';\n }\n\n static from(thing) {\n return thing instanceof this ? thing : new this(thing);\n }\n\n static concat(first, ...targets) {\n const computed = new this(first);\n\n targets.forEach((target) => computed.set(target));\n\n return computed;\n }\n\n static accessor(header) {\n const internals =\n (this[$internals] =\n this[$internals] =\n {\n accessors: {},\n });\n\n const accessors = internals.accessors;\n const prototype = this.prototype;\n\n function defineAccessor(_header) {\n const lHeader = normalizeHeader(_header);\n\n if (!accessors[lHeader]) {\n buildAccessors(prototype, _header);\n accessors[lHeader] = true;\n }\n }\n\n utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);\n\n return this;\n }\n}\n\nAxiosHeaders.accessor([\n 'Content-Type',\n 'Content-Length',\n 'Accept',\n 'Accept-Encoding',\n 'User-Agent',\n 'Authorization',\n]);\n\n// reserved names hotfix\nutils.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {\n let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`\n return {\n get: () => value,\n set(headerValue) {\n this[mapped] = headerValue;\n },\n };\n});\n\nutils.freezeMethods(AxiosHeaders);\n\nexport default AxiosHeaders;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst REDACTED = '[REDACTED ****]';\n\nfunction hasOwnOrPrototypeToJSON(source) {\n if (utils.hasOwnProp(source, 'toJSON')) {\n return true;\n }\n\n let prototype = Object.getPrototypeOf(source);\n\n while (prototype && prototype !== Object.prototype) {\n if (utils.hasOwnProp(prototype, 'toJSON')) {\n return true;\n }\n\n prototype = Object.getPrototypeOf(prototype);\n }\n\n return false;\n}\n\n// Build a plain-object snapshot of `config` and replace the value of any key\n// (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays\n// and AxiosHeaders, and short-circuits on circular references.\nfunction redactConfig(config, redactKeys) {\n const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase()));\n const seen = [];\n\n const visit = (source) => {\n if (source === null || typeof source !== 'object') return source;\n if (utils.isBuffer(source)) return source;\n if (seen.indexOf(source) !== -1) return undefined;\n\n if (source instanceof AxiosHeaders) {\n source = source.toJSON();\n }\n\n seen.push(source);\n\n let result;\n if (utils.isArray(source)) {\n result = [];\n source.forEach((v, i) => {\n const reducedValue = visit(v);\n if (!utils.isUndefined(reducedValue)) {\n result[i] = reducedValue;\n }\n });\n } else {\n if (!utils.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) {\n seen.pop();\n return source;\n }\n\n result = Object.create(null);\n for (const [key, value] of Object.entries(source)) {\n const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value);\n if (!utils.isUndefined(reducedValue)) {\n result[key] = reducedValue;\n }\n }\n }\n\n seen.pop();\n return result;\n };\n\n return visit(config);\n}\n\nclass AxiosError extends Error {\n static from(error, code, config, request, response, customProps) {\n const axiosError = new AxiosError(error.message, code || error.code, config, request, response);\n // Match native `Error` `cause` semantics: non-enumerable. The wrapped\n // error often carries circular internals (sockets, requests, agents), so\n // an enumerable `cause` makes structured loggers (pino/winston) and any\n // own-property walk throw \"Converting circular structure to JSON\".\n // Regression from #6982; see #7205. `__proto__: null` mirrors the\n // `message` descriptor below (prototype-pollution-safe descriptor).\n Object.defineProperty(axiosError, 'cause', {\n __proto__: null,\n value: error,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n axiosError.name = error.name;\n\n // Preserve status from the original error if not already set from response\n if (error.status != null && axiosError.status == null) {\n axiosError.status = error.status;\n }\n\n customProps && Object.assign(axiosError, customProps);\n return axiosError;\n }\n\n /**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n *\n * @returns {Error} The created error.\n */\n constructor(message, code, config, request, response) {\n super(message);\n\n // Make message enumerable to maintain backward compatibility\n // The native Error constructor sets message as non-enumerable,\n // but axios < v1.13.3 had it as enumerable\n Object.defineProperty(this, 'message', {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: message,\n enumerable: true,\n writable: true,\n configurable: true,\n });\n\n this.name = 'AxiosError';\n this.isAxiosError = true;\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n if (response) {\n this.response = response;\n this.status = response.status;\n }\n }\n\n toJSON() {\n // Opt-in redaction: when the request config carries a `redact` array, the\n // value of any matching key (case-insensitive, at any depth) is replaced\n // with REDACTED in the serialized snapshot. Undefined or empty leaves the\n // existing serialization behavior unchanged.\n const config = this.config;\n const redactKeys = config && utils.hasOwnProp(config, 'redact') ? config.redact : undefined;\n const serializedConfig =\n utils.isArray(redactKeys) && redactKeys.length > 0\n ? redactConfig(config, redactKeys)\n : utils.toJSONObject(config);\n\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: serializedConfig,\n code: this.code,\n status: this.status,\n };\n }\n}\n\n// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.\nAxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';\nAxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';\nAxiosError.ECONNABORTED = 'ECONNABORTED';\nAxiosError.ETIMEDOUT = 'ETIMEDOUT';\nAxiosError.ECONNREFUSED = 'ECONNREFUSED';\nAxiosError.ERR_NETWORK = 'ERR_NETWORK';\nAxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';\nAxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';\nAxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';\nAxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';\nAxiosError.ERR_CANCELED = 'ERR_CANCELED';\nAxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';\nAxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';\nAxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED';\n\nexport default AxiosError;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\n// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored\nimport PlatformFormData from '../platform/node/classes/FormData.js';\n\n// Default nesting limit shared with the inverse transform (formDataToJSON) so\n// the FormData <-> JSON round-trip stays symmetric.\nexport const DEFAULT_FORM_DATA_MAX_DEPTH = 100;\n\n/**\n * Determines if the given thing is a array or js object.\n *\n * @param {string} thing - The object or array to be visited.\n *\n * @returns {boolean}\n */\nfunction isVisitable(thing) {\n return utils.isPlainObject(thing) || utils.isArray(thing);\n}\n\n/**\n * It removes the brackets from the end of a string\n *\n * @param {string} key - The key of the parameter.\n *\n * @returns {string} the key without the brackets.\n */\nfunction removeBrackets(key) {\n return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;\n}\n\n/**\n * It takes a path, a key, and a boolean, and returns a string\n *\n * @param {string} path - The path to the current key.\n * @param {string} key - The key of the current object being iterated over.\n * @param {string} dots - If true, the key will be rendered with dots instead of brackets.\n *\n * @returns {string} The path to the current key.\n */\nfunction renderKey(path, key, dots) {\n if (!path) return key;\n return path\n .concat(key)\n .map(function each(token, i) {\n // eslint-disable-next-line no-param-reassign\n token = removeBrackets(token);\n return !dots && i ? '[' + token + ']' : token;\n })\n .join(dots ? '.' : '');\n}\n\n/**\n * If the array is an array and none of its elements are visitable, then it's a flat array.\n *\n * @param {Array} arr - The array to check\n *\n * @returns {boolean}\n */\nfunction isFlatArray(arr) {\n return utils.isArray(arr) && !arr.some(isVisitable);\n}\n\nconst predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {\n return /^is[A-Z]/.test(prop);\n});\n\n/**\n * Convert a data object to FormData\n *\n * @param {Object} obj\n * @param {?Object} [formData]\n * @param {?Object} [options]\n * @param {Function} [options.visitor]\n * @param {Boolean} [options.metaTokens = true]\n * @param {Boolean} [options.dots = false]\n * @param {?Boolean} [options.indexes = false]\n *\n * @returns {Object}\n **/\n\n/**\n * It converts an object into a FormData object\n *\n * @param {Object} obj - The object to convert to form data.\n * @param {string} formData - The FormData object to append to.\n * @param {Object} options\n *\n * @returns\n */\nfunction toFormData(obj, formData, options) {\n if (!utils.isObject(obj)) {\n throw new TypeError('target must be an object');\n }\n\n // eslint-disable-next-line no-param-reassign\n formData = formData || new (PlatformFormData || FormData)();\n\n // eslint-disable-next-line no-param-reassign\n options = utils.toFlatObject(\n options,\n {\n metaTokens: true,\n dots: false,\n indexes: false,\n },\n false,\n function defined(option, source) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n return !utils.isUndefined(source[option]);\n }\n );\n\n const metaTokens = options.metaTokens;\n // eslint-disable-next-line no-use-before-define\n const visitor = options.visitor || defaultVisitor;\n const dots = options.dots;\n const indexes = options.indexes;\n const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);\n const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth;\n const useBlob = _Blob && utils.isSpecCompliantForm(formData);\n const stack = [];\n\n if (!utils.isFunction(visitor)) {\n throw new TypeError('visitor must be a function');\n }\n\n function convertValue(value) {\n if (value === null) return '';\n\n if (utils.isDate(value)) {\n return value.toISOString();\n }\n\n if (utils.isBoolean(value)) {\n return value.toString();\n }\n\n if (!useBlob && utils.isBlob(value)) {\n throw new AxiosError('Blob is not supported. Use a Buffer instead.');\n }\n\n if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {\n if (useBlob && typeof _Blob === 'function') {\n return new _Blob([value]);\n }\n if (typeof Buffer !== 'undefined') {\n return Buffer.from(value);\n }\n throw new AxiosError('Blob is not supported. Use a Buffer instead.', AxiosError.ERR_NOT_SUPPORT);\n }\n\n return value;\n }\n\n function throwIfMaxDepthExceeded(depth) {\n if (depth > maxDepth) {\n throw new AxiosError(\n 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth,\n AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED\n );\n }\n }\n\n function stringifyWithDepthLimit(value, depth) {\n if (maxDepth === Infinity) {\n return JSON.stringify(value);\n }\n\n const ancestors = [];\n\n return JSON.stringify(value, function limitDepth(_key, currentValue) {\n if (!utils.isObject(currentValue)) {\n return currentValue;\n }\n\n while (ancestors.length && ancestors[ancestors.length - 1] !== this) {\n ancestors.pop();\n }\n\n ancestors.push(currentValue);\n throwIfMaxDepthExceeded(depth + ancestors.length - 1);\n\n return currentValue;\n });\n }\n\n /**\n * Default visitor.\n *\n * @param {*} value\n * @param {String|Number} key\n * @param {Array} path\n * @this {FormData}\n *\n * @returns {boolean} return true to visit the each prop of the value recursively\n */\n function defaultVisitor(value, key, path) {\n let arr = value;\n\n if (utils.isReactNative(formData) && utils.isReactNativeBlob(value)) {\n formData.append(renderKey(path, key, dots), convertValue(value));\n return false;\n }\n\n if (value && !path && typeof value === 'object') {\n if (utils.endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n key = metaTokens ? key : key.slice(0, -2);\n // eslint-disable-next-line no-param-reassign\n value = stringifyWithDepthLimit(value, 1);\n } else if (\n (utils.isArray(value) && isFlatArray(value)) ||\n ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value)))\n ) {\n // eslint-disable-next-line no-param-reassign\n key = removeBrackets(key);\n\n arr.forEach(function each(el, index) {\n !(utils.isUndefined(el) || el === null) &&\n formData.append(\n // eslint-disable-next-line no-nested-ternary\n indexes === true\n ? renderKey([key], index, dots)\n : indexes === null\n ? key\n : key + '[]',\n convertValue(el)\n );\n });\n return false;\n }\n }\n\n if (isVisitable(value)) {\n return true;\n }\n\n formData.append(renderKey(path, key, dots), convertValue(value));\n\n return false;\n }\n\n const exposedHelpers = Object.assign(predicates, {\n defaultVisitor,\n convertValue,\n isVisitable,\n });\n\n function build(value, path, depth = 0) {\n if (utils.isUndefined(value)) return;\n\n throwIfMaxDepthExceeded(depth);\n\n if (stack.indexOf(value) !== -1) {\n throw new Error('Circular reference detected in ' + path.join('.'));\n }\n\n stack.push(value);\n\n utils.forEach(value, function each(el, key) {\n const result =\n !(utils.isUndefined(el) || el === null) &&\n visitor.call(formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers);\n\n if (result === true) {\n build(el, path ? path.concat(key) : [key], depth + 1);\n }\n });\n\n stack.pop();\n }\n\n if (!utils.isObject(obj)) {\n throw new TypeError('data must be an object');\n }\n\n build(obj);\n\n return formData;\n}\n\nexport default toFormData;\n","'use strict';\n\nimport toFormData from './toFormData.js';\n\n/**\n * It encodes a string by replacing all characters that are not in the unreserved set with\n * their percent-encoded equivalents\n *\n * @param {string} str - The string to encode.\n *\n * @returns {string} The encoded string.\n */\nfunction encode(str) {\n const charMap = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+',\n };\n return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) {\n return charMap[match];\n });\n}\n\n/**\n * It takes a params object and converts it to a FormData object\n *\n * @param {Object} params - The parameters to be converted to a FormData object.\n * @param {Object} options - The options object passed to the Axios constructor.\n *\n * @returns {void}\n */\nfunction AxiosURLSearchParams(params, options) {\n this._pairs = [];\n\n params && toFormData(params, this, options);\n}\n\nconst prototype = AxiosURLSearchParams.prototype;\n\nprototype.append = function append(name, value) {\n this._pairs.push([name, value]);\n};\n\nprototype.toString = function toString(encoder) {\n const _encode = encoder\n ? (value) => encoder.call(this, value, encode)\n : encode;\n\n return this._pairs\n .map(function each(pair) {\n return _encode(pair[0]) + '=' + _encode(pair[1]);\n }, '')\n .join('&');\n};\n\nexport default AxiosURLSearchParams;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosURLSearchParams from './AxiosURLSearchParams.js';\n\n/**\n * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with\n * their plain counterparts (`:`, `$`, `,`, `+`).\n *\n * @param {string} val The value to be encoded.\n *\n * @returns {string} The encoded value.\n */\nexport function encode(val) {\n return encodeURIComponent(val)\n .replace(/%3A/gi, ':')\n .replace(/%24/g, '$')\n .replace(/%2C/gi, ',')\n .replace(/%20/g, '+');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @param {?(object|Function)} options\n *\n * @returns {string} The formatted url\n */\nexport default function buildURL(url, params, options) {\n if (!params) {\n return url;\n }\n url = url || '';\n\n const _options = utils.isFunction(options)\n ? {\n serialize: options,\n }\n : options;\n\n // Read serializer options pollution-safely: own properties and methods on a\n // class/template prototype are honored, but values injected onto a polluted\n // Object.prototype are ignored.\n const _encode = utils.getSafeProp(_options, 'encode') || encode;\n const serializeFn = utils.getSafeProp(_options, 'serialize');\n\n let serializedParams;\n\n if (serializeFn) {\n serializedParams = serializeFn(params, _options);\n } else {\n serializedParams = utils.isURLSearchParams(params)\n ? params.toString()\n : new AxiosURLSearchParams(params, _options).toString(_encode);\n }\n\n if (serializedParams) {\n const hashmarkIndex = url.indexOf('#');\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n * @param {Object} options The options for the interceptor, synchronous and runWhen\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null,\n });\n return this.handlers.length - 1;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {void}\n */\n eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n }\n}\n\nexport default InterceptorManager;\n","'use strict';\n\nexport default {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false,\n legacyInterceptorReqResOrdering: true,\n advertiseZstdAcceptEncoding: false,\n validateStatusUndefinedResolves: true,\n};\n","import URLSearchParams from './classes/URLSearchParams.js';\nimport FormData from './classes/FormData.js';\nimport Blob from './classes/Blob.js';\n\nexport default {\n isBrowser: true,\n classes: {\n URLSearchParams,\n FormData,\n Blob,\n },\n protocols: ['http', 'https', 'file', 'blob', 'url', 'data'],\n};\n","'use strict';\n\nimport AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';\nexport default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;\n","'use strict';\n\nexport default typeof FormData !== 'undefined' ? FormData : null;\n","'use strict';\n\nexport default typeof Blob !== 'undefined' ? Blob : null;\n","const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nconst _navigator = (typeof navigator === 'object' && navigator) || undefined;\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nconst hasStandardBrowserEnv =\n hasBrowserEnv &&\n (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);\n\n/**\n * Determine if we're running in a standard browser webWorker environment\n *\n * Although the `isStandardBrowserEnv` method indicates that\n * `allows axios to run in a web worker`, the WebWorker will still be\n * filtered out due to its judgment standard\n * `typeof window !== 'undefined' && typeof document !== 'undefined'`.\n * This leads to a problem when axios post `FormData` in webWorker\n */\nconst hasStandardBrowserWebWorkerEnv = (() => {\n return (\n typeof WorkerGlobalScope !== 'undefined' &&\n // eslint-disable-next-line no-undef\n self instanceof WorkerGlobalScope &&\n typeof self.importScripts === 'function'\n );\n})();\n\nconst origin = (hasBrowserEnv && window.location.href) || 'http://localhost';\n\nexport {\n hasBrowserEnv,\n hasStandardBrowserWebWorkerEnv,\n hasStandardBrowserEnv,\n _navigator as navigator,\n origin,\n};\n","import platform from './node/index.js';\nimport * as utils from './common/utils.js';\n\nexport default {\n ...utils,\n ...platform,\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport { DEFAULT_FORM_DATA_MAX_DEPTH } from './toFormData.js';\n\nconst MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH;\n\nfunction throwIfDepthExceeded(index) {\n if (index > MAX_DEPTH) {\n throw new AxiosError(\n 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH,\n AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED\n );\n }\n}\n\n/**\n * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']\n *\n * @param {string} name - The name of the property to get.\n *\n * @returns An array of strings.\n */\nfunction parsePropPath(name) {\n // foo[x][y][z]\n // foo.x.y.z\n // foo-x-y-z\n // foo x y z\n const path = [];\n const pattern = /\\w+|\\[(\\w*)]/g;\n let match;\n\n while ((match = pattern.exec(name)) !== null) {\n throwIfDepthExceeded(path.length);\n path.push(match[0] === '[]' ? '' : match[1] || match[0]);\n }\n\n return path;\n}\n\n/**\n * Convert an array to an object.\n *\n * @param {Array} arr - The array to convert to an object.\n *\n * @returns An object with the same keys and values as the array.\n */\nfunction arrayToObject(arr) {\n const obj = {};\n const keys = Object.keys(arr);\n let i;\n const len = keys.length;\n let key;\n for (i = 0; i < len; i++) {\n key = keys[i];\n obj[key] = arr[key];\n }\n return obj;\n}\n\n/**\n * It takes a FormData object and returns a JavaScript object\n *\n * @param {string} formData The FormData object to convert to JSON.\n *\n * @returns {Object | null} The converted object.\n */\nfunction formDataToJSON(formData) {\n function buildPath(path, value, target, index) {\n throwIfDepthExceeded(index);\n\n let name = path[index++];\n\n if (name === '__proto__') return true;\n\n const isNumericKey = Number.isFinite(+name);\n const isLast = index >= path.length;\n name = !name && utils.isArray(target) ? target.length : name;\n\n if (isLast) {\n if (utils.hasOwnProp(target, name)) {\n target[name] = utils.isArray(target[name])\n ? target[name].concat(value)\n : [target[name], value];\n } else {\n target[name] = value;\n }\n\n return !isNumericKey;\n }\n\n if (!utils.hasOwnProp(target, name) || !utils.isObject(target[name])) {\n target[name] = [];\n }\n\n const result = buildPath(path, value, target[name], index);\n\n if (result && utils.isArray(target[name])) {\n target[name] = arrayToObject(target[name]);\n }\n\n return !isNumericKey;\n }\n\n if (utils.isFormData(formData) && utils.isFunction(formData.entries)) {\n const obj = {};\n\n utils.forEachEntry(formData, (name, value) => {\n buildPath(parsePropPath(name), value, obj, 0);\n });\n\n return obj;\n }\n\n return null;\n}\n\nexport default formDataToJSON;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport transitionalDefaults from './transitional.js';\nimport toFormData from '../helpers/toFormData.js';\nimport toURLEncodedForm from '../helpers/toURLEncodedForm.js';\nimport platform from '../platform/index.js';\nimport formDataToJSON from '../helpers/formDataToJSON.js';\n\nconst own = (obj, key) => (obj != null && utils.hasOwnProp(obj, key) ? obj[key] : undefined);\n\n/**\n * It takes a string, tries to parse it, and if it fails, it returns the stringified version\n * of the input\n *\n * @param {any} rawValue - The value to be stringified.\n * @param {Function} parser - A function that parses a string into a JavaScript object.\n * @param {Function} encoder - A function that takes a value and returns a string.\n *\n * @returns {string} A stringified version of the rawValue.\n */\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nconst defaults = {\n transitional: transitionalDefaults,\n\n adapter: ['xhr', 'http', 'fetch'],\n\n transformRequest: [\n function transformRequest(data, headers) {\n const contentType = headers.getContentType() || '';\n const hasJSONContentType = contentType.indexOf('application/json') > -1;\n const isObjectPayload = utils.isObject(data);\n\n if (isObjectPayload && utils.isHTMLForm(data)) {\n data = new FormData(data);\n }\n\n const isFormData = utils.isFormData(data);\n\n if (isFormData) {\n return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;\n }\n\n if (\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data) ||\n utils.isReadableStream(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);\n return data.toString();\n }\n\n let isFileList;\n\n if (isObjectPayload) {\n const formSerializer = own(this, 'formSerializer');\n if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {\n return toURLEncodedForm(data, formSerializer).toString();\n }\n\n if (\n (isFileList = utils.isFileList(data)) ||\n contentType.indexOf('multipart/form-data') > -1\n ) {\n const env = own(this, 'env');\n const _FormData = env && env.FormData;\n\n return toFormData(\n isFileList ? { 'files[]': data } : data,\n _FormData && new _FormData(),\n formSerializer\n );\n }\n }\n\n if (isObjectPayload || hasJSONContentType) {\n headers.setContentType('application/json', false);\n return stringifySafely(data);\n }\n\n return data;\n },\n ],\n\n transformResponse: [\n function transformResponse(data) {\n const transitional = own(this, 'transitional') || defaults.transitional;\n const forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n const responseType = own(this, 'responseType');\n const JSONRequested = responseType === 'json';\n\n if (utils.isResponse(data) || utils.isReadableStream(data)) {\n return data;\n }\n\n if (\n data &&\n utils.isString(data) &&\n ((forcedJSONParsing && !responseType) || JSONRequested)\n ) {\n const silentJSONParsing = transitional && transitional.silentJSONParsing;\n const strictJSONParsing = !silentJSONParsing && JSONRequested;\n\n try {\n return JSON.parse(data, own(this, 'parseReviver'));\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response'));\n }\n throw e;\n }\n }\n }\n\n return data;\n },\n ],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n env: {\n FormData: platform.classes.FormData,\n Blob: platform.classes.Blob,\n },\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n Accept: 'application/json, text/plain, */*',\n 'Content-Type': undefined,\n },\n },\n};\n\nutils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => {\n defaults.headers[method] = {};\n});\n\nexport default defaults;\n","'use strict';\n\nimport utils from '../utils.js';\nimport toFormData from './toFormData.js';\nimport platform from '../platform/index.js';\n\nexport default function toURLEncodedForm(data, options) {\n return toFormData(data, new platform.classes.URLSearchParams(), {\n visitor: function (value, key, path, helpers) {\n if (platform.isNode && utils.isBuffer(value)) {\n this.append(key, value.toString('base64'));\n return false;\n }\n\n return helpers.defaultVisitor.apply(this, arguments);\n },\n ...options,\n });\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport defaults from '../defaults/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Array|Function} fns A single function or Array of functions\n * @param {?Object} response The response object\n *\n * @returns {*} The resulting transformed data\n */\nexport default function transformData(fns, response) {\n const config = this || defaults;\n const context = response || config;\n const headers = AxiosHeaders.from(context.headers);\n let data = context.data;\n\n utils.forEach(fns, function transform(fn) {\n data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);\n });\n\n headers.normalize();\n\n return data;\n}\n","'use strict';\n\nexport default function isCancel(value) {\n return !!(value && value.__CANCEL__);\n}\n","'use strict';\n\nimport AxiosError from '../core/AxiosError.js';\n\nclass CanceledError extends AxiosError {\n /**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @param {string=} message The message.\n * @param {Object=} config The config.\n * @param {Object=} request The request.\n *\n * @returns {CanceledError} The created error.\n */\n constructor(message, config, request) {\n super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);\n this.name = 'CanceledError';\n this.__CANCEL__ = true;\n }\n}\n\nexport default CanceledError;\n","'use strict';\n\nimport AxiosError from './AxiosError.js';\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n *\n * @returns {object} The response.\n */\nexport default function settle(resolve, reject, response) {\n const validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(new AxiosError(\n 'Request failed with status code ' + response.status,\n response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE,\n response.config,\n response.request,\n response\n ));\n }\n}\n","import speedometer from './speedometer.js';\nimport throttle from './throttle.js';\nimport utils from '../utils.js';\n\nexport const progressEventReducer = (listener, isDownloadStream, freq = 3) => {\n let bytesNotified = 0;\n const _speedometer = speedometer(50, 250);\n\n return throttle((e) => {\n if (!e || typeof e.loaded !== 'number') {\n return;\n }\n const rawLoaded = e.loaded;\n const total = e.lengthComputable ? e.total : undefined;\n const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded;\n const progressBytes = Math.max(0, loaded - bytesNotified);\n const rate = _speedometer(progressBytes);\n\n bytesNotified = Math.max(bytesNotified, loaded);\n\n const data = {\n loaded,\n total,\n progress: total ? loaded / total : undefined,\n bytes: progressBytes,\n rate: rate ? rate : undefined,\n estimated: rate && total ? (total - loaded) / rate : undefined,\n event: e,\n lengthComputable: total != null,\n [isDownloadStream ? 'download' : 'upload']: true,\n };\n\n listener(data);\n }, freq);\n};\n\nexport const progressEventDecorator = (total, throttled) => {\n const lengthComputable = total != null;\n\n return [\n (loaded) =>\n throttled[0]({\n lengthComputable,\n total,\n loaded,\n }),\n throttled[1],\n ];\n};\n\nexport const asyncDecorator =\n (fn) =>\n (...args) =>\n utils.asap(() => fn(...args));\n","'use strict';\n\n/**\n * Calculate data maxRate\n * @param {Number} [samplesCount= 10]\n * @param {Number} [min= 1000]\n * @returns {Function}\n */\nfunction speedometer(samplesCount, min) {\n samplesCount = samplesCount || 10;\n const bytes = new Array(samplesCount);\n const timestamps = new Array(samplesCount);\n let head = 0;\n let tail = 0;\n let firstSampleTS;\n\n min = min !== undefined ? min : 1000;\n\n return function push(chunkLength) {\n const now = Date.now();\n\n const startedAt = timestamps[tail];\n\n if (!firstSampleTS) {\n firstSampleTS = now;\n }\n\n bytes[head] = chunkLength;\n timestamps[head] = now;\n\n let i = tail;\n let bytesCount = 0;\n\n while (i !== head) {\n bytesCount += bytes[i++];\n i = i % samplesCount;\n }\n\n head = (head + 1) % samplesCount;\n\n if (head === tail) {\n tail = (tail + 1) % samplesCount;\n }\n\n if (now - firstSampleTS < min) {\n return;\n }\n\n const passed = startedAt && now - startedAt;\n\n return passed ? Math.round((bytesCount * 1000) / passed) : undefined;\n };\n}\n\nexport default speedometer;\n","/**\n * Throttle decorator\n * @param {Function} fn\n * @param {Number} freq\n * @return {Function}\n */\nfunction throttle(fn, freq) {\n let timestamp = 0;\n let threshold = 1000 / freq;\n let lastArgs;\n let timer;\n\n const invoke = (args, now = Date.now()) => {\n timestamp = now;\n lastArgs = null;\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n fn(...args);\n };\n\n const throttled = (...args) => {\n const now = Date.now();\n const passed = now - timestamp;\n if (passed >= threshold) {\n invoke(args, now);\n } else {\n lastArgs = args;\n if (!timer) {\n timer = setTimeout(() => {\n timer = null;\n invoke(lastArgs);\n }, threshold - passed);\n }\n }\n };\n\n const flush = () => lastArgs && invoke(lastArgs);\n\n return [throttled, flush];\n}\n\nexport default throttle;\n","import platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv\n ? ((origin, isMSIE) => (url) => {\n url = new URL(url, platform.origin);\n\n return (\n origin.protocol === url.protocol &&\n origin.host === url.host &&\n (isMSIE || origin.port === url.port)\n );\n })(\n new URL(platform.origin),\n platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)\n )\n : () => true;\n","import utils from '../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv\n ? // Standard browser envs support document.cookie\n {\n write(name, value, expires, path, domain, secure, sameSite) {\n if (typeof document === 'undefined') return;\n\n const cookie = [`${name}=${encodeURIComponent(value)}`];\n\n if (utils.isNumber(expires)) {\n cookie.push(`expires=${new Date(expires).toUTCString()}`);\n }\n if (utils.isString(path)) {\n cookie.push(`path=${path}`);\n }\n if (utils.isString(domain)) {\n cookie.push(`domain=${domain}`);\n }\n if (secure === true) {\n cookie.push('secure');\n }\n if (utils.isString(sameSite)) {\n cookie.push(`SameSite=${sameSite}`);\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read(name) {\n if (typeof document === 'undefined') return null;\n // Match name=value by splitting on the semicolon separator instead of building a\n // RegExp from `name` — interpolating an unescaped string into a RegExp would let\n // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or\n // match the wrong cookie. Browsers may serialize cookie pairs as either \";\" or\n // \"; \", so ignore optional whitespace before each cookie name.\n const cookies = document.cookie.split(';');\n for (let i = 0; i < cookies.length; i++) {\n const cookie = cookies[i].replace(/^\\s+/, '');\n const eq = cookie.indexOf('=');\n if (eq !== -1 && cookie.slice(0, eq) === name) {\n try {\n return decodeURIComponent(cookie.slice(eq + 1));\n } catch (e) {\n return cookie.slice(eq + 1);\n }\n }\n }\n return null;\n },\n\n remove(name) {\n this.write(name, '', Date.now() - 86400000, '/');\n },\n }\n : // Non-standard browser env (web workers, react-native) lack needed support.\n {\n write() {},\n read() {\n return null;\n },\n remove() {},\n };\n","'use strict';\n\nimport AxiosError from './AxiosError.js';\nimport isAbsoluteURL from '../helpers/isAbsoluteURL.js';\nimport combineURLs from '../helpers/combineURLs.js';\n\nconst malformedHttpProtocol = /^https?:(?!\\/\\/)/i;\nconst httpProtocolControlCharacters = /[\\t\\n\\r]/g;\n\nfunction stripLeadingC0ControlOrSpace(url) {\n let i = 0;\n while (i < url.length && url.charCodeAt(i) <= 0x20) {\n i++;\n }\n return url.slice(i);\n}\n\nfunction normalizeURLForProtocolCheck(url) {\n return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, '');\n}\n\nfunction assertValidHttpProtocolURL(url, config) {\n if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) {\n throw new AxiosError(\n 'Invalid URL: missing \"//\" after protocol',\n AxiosError.ERR_INVALID_URL,\n config\n );\n }\n}\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n *\n * @returns {string} The combined full path\n */\nexport default function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {\n assertValidHttpProtocolURL(requestedURL, config);\n let isRelativeUrl = !isAbsoluteURL(requestedURL);\n if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) {\n assertValidHttpProtocolURL(baseURL, config);\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n}\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n *\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nexport default function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n if (typeof url !== 'string') {\n return false;\n }\n\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n}\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n *\n * @returns {string} The combined URL\n */\nexport default function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/?\\/$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst headersToObject = (thing) => (thing instanceof AxiosHeaders ? { ...thing } : thing);\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n *\n * @returns {Object} New object resulting from merging config2 to config1\n */\nexport default function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config1 = config1 || {};\n config2 = config2 || {};\n\n // Use a null-prototype object so that downstream reads such as `config.auth`\n // or `config.baseURL` cannot inherit polluted values from Object.prototype.\n // `hasOwnProperty` is restored as a non-enumerable own slot to preserve\n // ergonomics for user code that relies on it.\n const config = Object.create(null);\n Object.defineProperty(config, 'hasOwnProperty', {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: Object.prototype.hasOwnProperty,\n enumerable: false,\n writable: true,\n configurable: true,\n });\n\n function getMergedValue(target, source, prop, caseless) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge.call({ caseless }, target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(a, b, prop, caseless) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(a, b, prop, caseless);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a, prop, caseless);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a);\n }\n }\n\n function getMergedTransitionalOption(prop) {\n const transitional2 = utils.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined;\n\n if (!utils.isUndefined(transitional2)) {\n if (utils.isPlainObject(transitional2)) {\n if (utils.hasOwnProp(transitional2, prop)) {\n return transitional2[prop];\n }\n } else {\n return undefined;\n }\n }\n\n const transitional1 = utils.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined;\n\n if (utils.isPlainObject(transitional1) && utils.hasOwnProp(transitional1, prop)) {\n return transitional1[prop];\n }\n\n return undefined;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(a, b, prop) {\n if (utils.hasOwnProp(config2, prop)) {\n return getMergedValue(a, b);\n } else if (utils.hasOwnProp(config1, prop)) {\n return getMergedValue(undefined, a);\n }\n }\n\n const mergeMap = {\n url: valueFromConfig2,\n method: valueFromConfig2,\n data: valueFromConfig2,\n baseURL: defaultToConfig2,\n transformRequest: defaultToConfig2,\n transformResponse: defaultToConfig2,\n paramsSerializer: defaultToConfig2,\n timeout: defaultToConfig2,\n timeoutMessage: defaultToConfig2,\n withCredentials: defaultToConfig2,\n withXSRFToken: defaultToConfig2,\n adapter: defaultToConfig2,\n responseType: defaultToConfig2,\n xsrfCookieName: defaultToConfig2,\n xsrfHeaderName: defaultToConfig2,\n onUploadProgress: defaultToConfig2,\n onDownloadProgress: defaultToConfig2,\n decompress: defaultToConfig2,\n maxContentLength: defaultToConfig2,\n maxBodyLength: defaultToConfig2,\n beforeRedirect: defaultToConfig2,\n transport: defaultToConfig2,\n httpAgent: defaultToConfig2,\n httpsAgent: defaultToConfig2,\n cancelToken: defaultToConfig2,\n socketPath: defaultToConfig2,\n allowedSocketPaths: defaultToConfig2,\n responseEncoding: defaultToConfig2,\n validateStatus: mergeDirectKeys,\n headers: (a, b, prop) =>\n mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),\n };\n\n utils.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {\n if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;\n const merge = utils.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;\n const a = utils.hasOwnProp(config1, prop) ? config1[prop] : undefined;\n const b = utils.hasOwnProp(config2, prop) ? config2[prop] : undefined;\n const configValue = merge(a, b, prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n if (\n utils.hasOwnProp(config2, 'validateStatus') &&\n utils.isUndefined(config2.validateStatus) &&\n getMergedTransitionalOption('validateStatusUndefinedResolves') === false\n ) {\n if (utils.hasOwnProp(config1, 'validateStatus')) {\n config.validateStatus = getMergedValue(undefined, config1.validateStatus);\n } else {\n delete config.validateStatus;\n }\n }\n\n return config;\n}\n","import platform from '../platform/index.js';\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport isURLSameOrigin from './isURLSameOrigin.js';\nimport cookies from './cookies.js';\nimport buildFullPath from '../core/buildFullPath.js';\nimport mergeConfig from '../core/mergeConfig.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport buildURL from './buildURL.js';\n\nconst FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length'];\n\nfunction setFormDataHeaders(headers, formHeaders, policy) {\n if (policy !== 'content-only') {\n headers.set(formHeaders);\n return;\n }\n\n Object.entries(formHeaders || {}).forEach(([key, val]) => {\n if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {\n headers.set(key, val);\n }\n });\n}\n\n/**\n * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().\n * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.\n *\n * @param {string} str The string to encode\n *\n * @returns {string} UTF-8 bytes as a Latin-1 string\n */\nconst encodeUTF8 = (str) =>\n encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>\n String.fromCharCode(parseInt(hex, 16))\n );\n\nfunction resolveConfig(config) {\n const newConfig = mergeConfig({}, config);\n\n // Read only own properties to prevent prototype pollution gadgets\n // (e.g. Object.prototype.baseURL = 'https://evil.com').\n const own = (key) => (utils.hasOwnProp(newConfig, key) ? newConfig[key] : undefined);\n\n const data = own('data');\n let withXSRFToken = own('withXSRFToken');\n const xsrfHeaderName = own('xsrfHeaderName');\n const xsrfCookieName = own('xsrfCookieName');\n let headers = own('headers');\n const auth = own('auth');\n const baseURL = own('baseURL');\n const allowAbsoluteUrls = own('allowAbsoluteUrls');\n const url = own('url');\n\n newConfig.headers = headers = AxiosHeaders.from(headers);\n\n newConfig.url = buildURL(\n buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig),\n own('params'),\n own('paramsSerializer')\n );\n\n // HTTP basic authentication\n if (auth) {\n const username = utils.getSafeProp(auth, 'username') || '';\n const password = utils.getSafeProp(auth, 'password') || '';\n\n try {\n headers.set(\n 'Authorization',\n 'Basic ' + btoa(username + ':' + (password ? encodeUTF8(password) : ''))\n );\n } catch (e) {\n throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config);\n }\n }\n\n if (utils.isFormData(data)) {\n if (\n platform.hasStandardBrowserEnv ||\n platform.hasStandardBrowserWebWorkerEnv ||\n utils.isReactNative(data)\n ) {\n headers.setContentType(undefined); // browser/web worker/RN handles it\n } else if (utils.isFunction(data.getHeaders)) {\n // Node.js FormData (like form-data package)\n setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy'));\n }\n }\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n\n if (platform.hasStandardBrowserEnv) {\n if (utils.isFunction(withXSRFToken)) {\n withXSRFToken = withXSRFToken(newConfig);\n }\n\n // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1)\n // and misconfigurations (e.g. \"false\") from short-circuiting the same-origin check and leaking\n // the XSRF token cross-origin.\n const shouldSendXSRF =\n withXSRFToken === true || (withXSRFToken == null && isURLSameOrigin(newConfig.url));\n\n if (shouldSendXSRF) {\n const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);\n\n if (xsrfValue) {\n headers.set(xsrfHeaderName, xsrfValue);\n }\n }\n }\n\n return newConfig;\n}\n\nexport default resolveConfig;\n","import utils from '../utils.js';\nimport settle from '../core/settle.js';\nimport transitionalDefaults from '../defaults/transitional.js';\nimport AxiosError from '../core/AxiosError.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport parseProtocol from '../helpers/parseProtocol.js';\nimport platform from '../platform/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport { progressEventReducer } from '../helpers/progressEventReducer.js';\nimport resolveConfig from '../helpers/resolveConfig.js';\nimport { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js';\n\nconst isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';\n\nexport default isXHRAdapterSupported &&\n function (config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n const _config = resolveConfig(config);\n let requestData = _config.data;\n const requestHeaders = AxiosHeaders.from(_config.headers).normalize();\n let { responseType, onUploadProgress, onDownloadProgress } = _config;\n let onCanceled;\n let uploadThrottled, downloadThrottled;\n let flushUpload, flushDownload;\n\n function done() {\n flushUpload && flushUpload(); // flush events\n flushDownload && flushDownload(); // flush events\n\n _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);\n\n _config.signal && _config.signal.removeEventListener('abort', onCanceled);\n }\n\n let request = new XMLHttpRequest();\n\n request.open(_config.method.toUpperCase(), _config.url, true);\n\n // Set the request timeout in MS\n request.timeout = _config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n const responseHeaders = AxiosHeaders.from(\n 'getAllResponseHeaders' in request && request.getAllResponseHeaders()\n );\n const responseData =\n !responseType || responseType === 'text' || responseType === 'json'\n ? request.responseText\n : request.response;\n const response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config,\n request,\n };\n\n settle(\n function _resolve(value) {\n resolve(value);\n done();\n },\n function _reject(err) {\n reject(err);\n done();\n },\n response\n );\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (\n request.status === 0 &&\n !(request.responseURL && request.responseURL.startsWith('file:'))\n ) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));\n done();\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError(event) {\n // Browsers deliver a ProgressEvent in XHR onerror\n // (message may be empty; when present, surface it)\n // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event\n const msg = event && event.message ? event.message : 'Network Error';\n const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);\n // attach the underlying event for consumers who want details\n err.event = event || null;\n reject(err);\n done();\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n let timeoutErrorMessage = _config.timeout\n ? 'timeout of ' + _config.timeout + 'ms exceeded'\n : 'timeout exceeded';\n const transitional = _config.transitional || transitionalDefaults;\n if (_config.timeoutErrorMessage) {\n timeoutErrorMessage = _config.timeoutErrorMessage;\n }\n reject(\n new AxiosError(\n timeoutErrorMessage,\n transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,\n config,\n request\n )\n );\n done();\n\n // Clean up request\n request = null;\n };\n\n // Remove Content-Type if data is undefined\n requestData === undefined && requestHeaders.setContentType(null);\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) {\n request.setRequestHeader(key, val);\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(_config.withCredentials)) {\n request.withCredentials = !!_config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = _config.responseType;\n }\n\n // Handle progress if needed\n if (onDownloadProgress) {\n [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);\n request.addEventListener('progress', downloadThrottled);\n }\n\n // Not all browsers support upload events\n if (onUploadProgress && request.upload) {\n [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);\n\n request.upload.addEventListener('progress', uploadThrottled);\n\n request.upload.addEventListener('loadend', flushUpload);\n }\n\n if (_config.cancelToken || _config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = (cancel) => {\n if (!request) {\n return;\n }\n reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);\n request.abort();\n done();\n request = null;\n };\n\n _config.cancelToken && _config.cancelToken.subscribe(onCanceled);\n if (_config.signal) {\n _config.signal.aborted\n ? onCanceled()\n : _config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n const protocol = parseProtocol(_config.url);\n\n if (protocol && !platform.protocols.includes(protocol)) {\n reject(\n new AxiosError(\n 'Unsupported protocol ' + protocol + ':',\n AxiosError.ERR_BAD_REQUEST,\n config\n )\n );\n done();\n return;\n }\n\n // Send the request\n request.send(requestData || null);\n });\n };\n","'use strict';\n\nexport default function parseProtocol(url) {\n const match = /^([-+\\w]{1,25}):(?:\\/\\/)?/.exec(url);\n return (match && match[1]) || '';\n}\n","import CanceledError from '../cancel/CanceledError.js';\nimport AxiosError from '../core/AxiosError.js';\nimport utils from '../utils.js';\n\nconst composeSignals = (signals, timeout) => {\n signals = signals ? signals.filter(Boolean) : [];\n\n if (!timeout && !signals.length) {\n return;\n }\n\n const controller = new AbortController();\n\n let aborted = false;\n\n const onabort = function (reason) {\n if (!aborted) {\n aborted = true;\n unsubscribe();\n const err = reason instanceof Error ? reason : this.reason;\n controller.abort(\n err instanceof AxiosError\n ? err\n : new CanceledError(err instanceof Error ? err.message : err)\n );\n }\n };\n\n let timer =\n timeout &&\n setTimeout(() => {\n timer = null;\n onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT));\n }, timeout);\n\n const unsubscribe = () => {\n if (!signals) { return; }\n timer && clearTimeout(timer);\n timer = null;\n signals.forEach((signal) => {\n signal.unsubscribe\n ? signal.unsubscribe(onabort)\n : signal.removeEventListener('abort', onabort);\n });\n signals = null;\n };\n\n signals.forEach((signal) => signal.addEventListener('abort', onabort, { once: true }));\n\n const { signal } = controller;\n\n signal.unsubscribe = () => utils.asap(unsubscribe);\n\n return signal;\n};\n\nexport default composeSignals;\n","export const streamChunk = function* (chunk, chunkSize) {\n let len = chunk.byteLength;\n\n if (!chunkSize || len < chunkSize) {\n yield chunk;\n return;\n }\n\n let pos = 0;\n let end;\n\n while (pos < len) {\n end = pos + chunkSize;\n yield chunk.slice(pos, end);\n pos = end;\n }\n};\n\nexport const readBytes = async function* (iterable, chunkSize) {\n for await (const chunk of readStream(iterable)) {\n yield* streamChunk(chunk, chunkSize);\n }\n};\n\nconst readStream = async function* (stream) {\n if (stream[Symbol.asyncIterator]) {\n yield* stream;\n return;\n }\n\n const reader = stream.getReader();\n try {\n for (;;) {\n const { done, value } = await reader.read();\n if (done) {\n break;\n }\n yield value;\n }\n } finally {\n await reader.cancel();\n }\n};\n\nexport const trackStream = (stream, chunkSize, onProgress, onFinish) => {\n const iterator = readBytes(stream, chunkSize);\n\n let bytes = 0;\n let done;\n let _onFinish = (e) => {\n if (!done) {\n done = true;\n onFinish && onFinish(e);\n }\n };\n\n return new ReadableStream(\n {\n async pull(controller) {\n try {\n const { done, value } = await iterator.next();\n\n if (done) {\n _onFinish();\n controller.close();\n return;\n }\n\n let len = value.byteLength;\n if (onProgress) {\n let loadedBytes = (bytes += len);\n onProgress(loadedBytes);\n }\n controller.enqueue(new Uint8Array(value));\n } catch (err) {\n _onFinish(err);\n throw err;\n }\n },\n cancel(reason) {\n _onFinish(reason);\n return iterator.return();\n },\n },\n {\n highWaterMark: 2,\n }\n );\n};\n","/**\n * Estimate decoded byte length of a data:// URL *without* allocating large buffers.\n * - For base64: compute exact decoded size using length and padding;\n * handle %XX at the character-count level (no string allocation).\n * - For non-base64: compute the exact percent-decoded UTF-8 byte length.\n *\n * @param {string} url\n * @returns {number}\n */\nconst isHexDigit = (charCode) =>\n (charCode >= 48 && charCode <= 57) ||\n (charCode >= 65 && charCode <= 70) ||\n (charCode >= 97 && charCode <= 102);\n\nconst isPercentEncodedByte = (str, i, len) =>\n i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2));\n\nexport default function estimateDataURLDecodedBytes(url) {\n if (!url || typeof url !== 'string') return 0;\n if (!url.startsWith('data:')) return 0;\n\n const comma = url.indexOf(',');\n if (comma < 0) return 0;\n\n const meta = url.slice(5, comma);\n const body = url.slice(comma + 1);\n const isBase64 = /;base64/i.test(meta);\n\n if (isBase64) {\n let effectiveLen = body.length;\n const len = body.length; // cache length\n\n for (let i = 0; i < len; i++) {\n if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) {\n const a = body.charCodeAt(i + 1);\n const b = body.charCodeAt(i + 2);\n const isHex = isHexDigit(a) && isHexDigit(b);\n\n if (isHex) {\n effectiveLen -= 2;\n i += 2;\n }\n }\n }\n\n let pad = 0;\n let idx = len - 1;\n\n const tailIsPct3D = (j) =>\n j >= 2 &&\n body.charCodeAt(j - 2) === 37 && // '%'\n body.charCodeAt(j - 1) === 51 && // '3'\n (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd'\n\n if (idx >= 0) {\n if (body.charCodeAt(idx) === 61 /* '=' */) {\n pad++;\n idx--;\n } else if (tailIsPct3D(idx)) {\n pad++;\n idx -= 3;\n }\n }\n\n if (pad === 1 && idx >= 0) {\n if (body.charCodeAt(idx) === 61 /* '=' */) {\n pad++;\n } else if (tailIsPct3D(idx)) {\n pad++;\n }\n }\n\n const groups = Math.floor(effectiveLen / 4);\n const bytes = groups * 3 - (pad || 0);\n return bytes > 0 ? bytes : 0;\n }\n\n // Compute UTF-8 byte length directly from UTF-16 code units without allocating\n // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies).\n // Valid %XX triplets count as one decoded byte; this matches the bytes that\n // decodeURIComponent(body) would produce before Buffer re-encodes the string.\n let bytes = 0;\n for (let i = 0, len = body.length; i < len; i++) {\n const c = body.charCodeAt(i);\n if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) {\n bytes += 1;\n i += 2;\n } else if (c < 0x80) {\n bytes += 1;\n } else if (c < 0x800) {\n bytes += 2;\n } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) {\n const next = body.charCodeAt(i + 1);\n if (next >= 0xdc00 && next <= 0xdfff) {\n bytes += 4;\n i++;\n } else {\n bytes += 3;\n }\n } else {\n bytes += 3;\n }\n }\n return bytes;\n}\n","export const VERSION = \"1.18.1\";","import platform from '../platform/index.js';\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport composeSignals from '../helpers/composeSignals.js';\nimport { trackStream } from '../helpers/trackStream.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport {\n progressEventReducer,\n progressEventDecorator,\n asyncDecorator,\n} from '../helpers/progressEventReducer.js';\nimport resolveConfig from '../helpers/resolveConfig.js';\nimport settle from '../core/settle.js';\nimport estimateDataURLDecodedBytes from '../helpers/estimateDataURLDecodedBytes.js';\nimport { VERSION } from '../env/data.js';\nimport { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js';\n\nconst DEFAULT_CHUNK_SIZE = 64 * 1024;\n\nconst { isFunction } = utils;\n\n/**\n * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().\n * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.\n *\n * @param {string} str The string to encode\n *\n * @returns {string} UTF-8 bytes as a Latin-1 string\n */\nconst encodeUTF8 = (str) =>\n encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>\n String.fromCharCode(parseInt(hex, 16))\n );\n\n// Node's WHATWG URL parser returns `username` and `password` percent-encoded.\n// Decode before composing the `auth` option so credentials such as\n// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the\n// original value for malformed input so a bad encoding never throws.\nconst decodeURIComponentSafe = (value) => {\n if (!utils.isString(value)) {\n return value;\n }\n\n try {\n return decodeURIComponent(value);\n } catch (error) {\n return value;\n }\n};\n\nconst test = (fn, ...args) => {\n try {\n return !!fn(...args);\n } catch (e) {\n return false;\n }\n};\n\nconst maybeWithAuthCredentials = (url) => {\n const protocolIndex = url.indexOf('://');\n let urlToCheck = url;\n if (protocolIndex !== -1) {\n urlToCheck = urlToCheck.slice(protocolIndex + 3);\n }\n return urlToCheck.includes('@') || urlToCheck.includes(':');\n};\n\nconst factory = (env) => {\n const globalObject =\n utils.global !== undefined && utils.global !== null\n ? utils.global\n : globalThis;\n const { ReadableStream, TextEncoder } = globalObject;\n\n env = utils.merge.call(\n {\n skipUndefined: true,\n },\n {\n Request: globalObject.Request,\n Response: globalObject.Response,\n },\n env\n );\n\n const { fetch: envFetch, Request, Response } = env;\n const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';\n const isRequestSupported = isFunction(Request);\n const isResponseSupported = isFunction(Response);\n\n if (!isFetchSupported) {\n return false;\n }\n\n const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream);\n\n const encodeText =\n isFetchSupported &&\n (typeof TextEncoder === 'function'\n ? (\n (encoder) => (str) =>\n encoder.encode(str)\n )(new TextEncoder())\n : async (str) => new Uint8Array(await new Request(str).arrayBuffer()));\n\n const supportsRequestStream =\n isRequestSupported &&\n isReadableStreamSupported &&\n test(() => {\n let duplexAccessed = false;\n\n const request = new Request(platform.origin, {\n body: new ReadableStream(),\n method: 'POST',\n get duplex() {\n duplexAccessed = true;\n return 'half';\n },\n });\n\n const hasContentType = request.headers.has('Content-Type');\n\n if (request.body != null) {\n request.body.cancel();\n }\n\n return duplexAccessed && !hasContentType;\n });\n\n const supportsResponseStream =\n isResponseSupported &&\n isReadableStreamSupported &&\n test(() => utils.isReadableStream(new Response('').body));\n\n const resolvers = {\n stream: supportsResponseStream && ((res) => res.body),\n };\n\n isFetchSupported &&\n (() => {\n ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => {\n !resolvers[type] &&\n (resolvers[type] = (res, config) => {\n let method = res && res[type];\n\n if (method) {\n return method.call(res);\n }\n\n throw new AxiosError(\n `Response type '${type}' is not supported`,\n AxiosError.ERR_NOT_SUPPORT,\n config\n );\n });\n });\n })();\n\n const getBodyLength = async (body) => {\n if (body == null) {\n return 0;\n }\n\n if (utils.isBlob(body)) {\n return body.size;\n }\n\n if (utils.isSpecCompliantForm(body)) {\n const _request = new Request(platform.origin, {\n method: 'POST',\n body,\n });\n return (await _request.arrayBuffer()).byteLength;\n }\n\n if (utils.isArrayBufferView(body) || utils.isArrayBuffer(body)) {\n return body.byteLength;\n }\n\n if (utils.isURLSearchParams(body)) {\n body = body + '';\n }\n\n if (utils.isString(body)) {\n return (await encodeText(body)).byteLength;\n }\n };\n\n const resolveBodyLength = async (headers, body) => {\n const length = utils.toFiniteNumber(headers.getContentLength());\n\n return length == null ? getBodyLength(body) : length;\n };\n\n return async (config) => {\n let {\n url,\n method,\n data,\n signal,\n cancelToken,\n timeout,\n onDownloadProgress,\n onUploadProgress,\n responseType,\n headers,\n withCredentials = 'same-origin',\n fetchOptions,\n maxContentLength,\n maxBodyLength,\n } = resolveConfig(config);\n\n const hasMaxContentLength = utils.isNumber(maxContentLength) && maxContentLength > -1;\n const hasMaxBodyLength = utils.isNumber(maxBodyLength) && maxBodyLength > -1;\n const own = (key) => (utils.hasOwnProp(config, key) ? config[key] : undefined);\n\n let _fetch = envFetch || fetch;\n\n responseType = responseType ? (responseType + '').toLowerCase() : 'text';\n\n let composedSignal = composeSignals(\n [signal, cancelToken && cancelToken.toAbortSignal()],\n timeout\n );\n\n let request = null;\n\n const unsubscribe =\n composedSignal &&\n composedSignal.unsubscribe &&\n (() => {\n composedSignal.unsubscribe();\n });\n\n let requestContentLength;\n\n // AxiosError we raise while the request body is being streamed. Captured\n // by identity so the catch block can surface it directly, regardless of\n // how the runtime wraps the resulting fetch rejection (undici exposes it\n // as `err.cause`; some browsers drop the original error entirely).\n let pendingBodyError = null;\n\n const maxBodyLengthError = () =>\n new AxiosError(\n 'Request body larger than maxBodyLength limit',\n AxiosError.ERR_BAD_REQUEST,\n config,\n request\n );\n\n try {\n // HTTP basic authentication\n let auth = undefined;\n const configAuth = own('auth');\n\n if (configAuth) {\n const username = utils.getSafeProp(configAuth, 'username') || '';\n const password = utils.getSafeProp(configAuth, 'password') || '';\n auth = {\n username,\n password\n };\n }\n\n if (maybeWithAuthCredentials(url)) {\n const parsedURL = new URL(url, platform.origin);\n\n if (!auth && (parsedURL.username || parsedURL.password)) {\n const urlUsername = decodeURIComponentSafe(parsedURL.username);\n const urlPassword = decodeURIComponentSafe(parsedURL.password);\n auth = {\n username: urlUsername,\n password: urlPassword\n };\n }\n\n if (parsedURL.username || parsedURL.password) {\n parsedURL.username = '';\n parsedURL.password = '';\n url = parsedURL.href;\n }\n }\n\n if (auth) {\n headers.delete('authorization');\n headers.set(\n 'Authorization',\n 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || '')))\n );\n }\n\n // Enforce maxContentLength for data: URLs up-front so we never materialize\n // an oversized payload. The HTTP adapter applies the same check (see http.js\n // \"if (protocol === 'data:')\" branch).\n if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) {\n const estimated = estimateDataURLDecodedBytes(url);\n if (estimated > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n // Enforce maxBodyLength against known-size bodies before dispatch using\n // the body's *actual* size — never a caller-declared Content-Length,\n // which could under-report to slip an oversized body past the check.\n // Unknown-size streams return undefined here and are counted per-chunk\n // below as fetch consumes them.\n if (hasMaxBodyLength && method !== 'get' && method !== 'head') {\n const outboundLength = await getBodyLength(data);\n if (typeof outboundLength === 'number' && isFinite(outboundLength)) {\n requestContentLength = outboundLength;\n if (outboundLength > maxBodyLength) {\n throw maxBodyLengthError();\n }\n }\n }\n\n // A streamed body under maxBodyLength must be counted as fetch consumes\n // it; its size is never trusted from a caller-declared Content-Length.\n const mustEnforceStreamBody =\n hasMaxBodyLength && (utils.isReadableStream(data) || utils.isStream(data));\n\n const trackRequestStream = (stream, onProgress, flush) =>\n trackStream(\n stream,\n DEFAULT_CHUNK_SIZE,\n (loadedBytes) => {\n if (hasMaxBodyLength && loadedBytes > maxBodyLength) {\n throw (pendingBodyError = maxBodyLengthError());\n }\n onProgress && onProgress(loadedBytes);\n },\n flush\n );\n\n if (\n supportsRequestStream &&\n method !== 'get' &&\n method !== 'head' &&\n (onUploadProgress || mustEnforceStreamBody)\n ) {\n requestContentLength =\n requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength;\n\n // A declared length of 0 is only trusted to skip the wrap when we are\n // not enforcing a stream limit (which must not rely on that header).\n if (requestContentLength !== 0 || mustEnforceStreamBody) {\n let _request = new Request(url, {\n method: 'POST',\n body: data,\n duplex: 'half',\n });\n\n let contentTypeHeader;\n\n if (utils.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {\n headers.setContentType(contentTypeHeader);\n }\n\n if (_request.body) {\n const [onProgress, flush] =\n (onUploadProgress &&\n progressEventDecorator(\n requestContentLength,\n progressEventReducer(asyncDecorator(onUploadProgress))\n )) ||\n [];\n\n data = trackRequestStream(_request.body, onProgress, flush);\n }\n }\n } else if (\n mustEnforceStreamBody &&\n !isRequestSupported &&\n isReadableStreamSupported &&\n method !== 'get' &&\n method !== 'head'\n ) {\n data = trackRequestStream(data);\n } else if (\n mustEnforceStreamBody &&\n isRequestSupported &&\n !supportsRequestStream &&\n method !== 'get' &&\n method !== 'head'\n ) {\n throw new AxiosError(\n 'Stream request bodies are not supported by the current fetch implementation',\n AxiosError.ERR_NOT_SUPPORT,\n config,\n request\n );\n }\n\n if (!utils.isString(withCredentials)) {\n withCredentials = withCredentials ? 'include' : 'omit';\n }\n\n // Cloudflare Workers throws when credentials are defined\n // see https://github.com/cloudflare/workerd/issues/902\n const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;\n\n // If data is FormData and Content-Type is multipart/form-data without boundary,\n // delete it so fetch can set it correctly with the boundary\n if (utils.isFormData(data)) {\n const contentType = headers.getContentType();\n if (\n contentType &&\n /^multipart\\/form-data/i.test(contentType) &&\n !/boundary=/i.test(contentType)\n ) {\n headers.delete('content-type');\n }\n }\n\n // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js)\n headers.set('User-Agent', 'axios/' + VERSION, false);\n\n const resolvedOptions = {\n ...fetchOptions,\n signal: composedSignal,\n method: method.toUpperCase(),\n headers: toByteStringHeaderObject(headers.normalize()),\n body: data,\n duplex: 'half',\n credentials: isCredentialsSupported ? withCredentials : undefined,\n };\n\n request = isRequestSupported && new Request(url, resolvedOptions);\n\n let response = await (isRequestSupported\n ? _fetch(request, fetchOptions)\n : _fetch(url, resolvedOptions));\n\n const responseHeaders = AxiosHeaders.from(response.headers);\n\n // Cheap pre-check: if the server honestly declares a content-length that\n // already exceeds the cap, reject before we start streaming.\n if (hasMaxContentLength) {\n const declaredLength = utils.toFiniteNumber(responseHeaders.getContentLength());\n if (declaredLength != null && declaredLength > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n const isStreamResponse =\n supportsResponseStream && (responseType === 'stream' || responseType === 'response');\n\n if (\n supportsResponseStream &&\n response.body &&\n (onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe))\n ) {\n const options = {};\n\n ['status', 'statusText', 'headers'].forEach((prop) => {\n options[prop] = response[prop];\n });\n\n const responseContentLength = utils.toFiniteNumber(responseHeaders.getContentLength());\n\n const [onProgress, flush] =\n (onDownloadProgress &&\n progressEventDecorator(\n responseContentLength,\n progressEventReducer(asyncDecorator(onDownloadProgress), true)\n )) ||\n [];\n\n let bytesRead = 0;\n const onChunkProgress = (loadedBytes) => {\n if (hasMaxContentLength) {\n bytesRead = loadedBytes;\n if (bytesRead > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n onProgress && onProgress(loadedBytes);\n };\n\n response = new Response(\n trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => {\n flush && flush();\n unsubscribe && unsubscribe();\n }),\n options\n );\n }\n\n responseType = responseType || 'text';\n\n let responseData = await resolvers[utils.findKey(resolvers, responseType) || 'text'](\n response,\n config\n );\n\n // Fallback enforcement for environments without ReadableStream support\n // (legacy runtimes). Detect materialized size from typed output; skip\n // streams/Response passthrough since the user will read those themselves.\n if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) {\n let materializedSize;\n if (responseData != null) {\n if (typeof responseData.byteLength === 'number') {\n materializedSize = responseData.byteLength;\n } else if (typeof responseData.size === 'number') {\n materializedSize = responseData.size;\n } else if (typeof responseData === 'string') {\n materializedSize =\n typeof TextEncoder === 'function'\n ? new TextEncoder().encode(responseData).byteLength\n : responseData.length;\n }\n }\n if (typeof materializedSize === 'number' && materializedSize > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n !isStreamResponse && unsubscribe && unsubscribe();\n\n return await new Promise((resolve, reject) => {\n settle(resolve, reject, {\n data: responseData,\n headers: AxiosHeaders.from(response.headers),\n status: response.status,\n statusText: response.statusText,\n config,\n request,\n });\n });\n } catch (err) {\n unsubscribe && unsubscribe();\n\n // Safari can surface fetch aborts as a DOMException-like object whose\n // branded getters throw. Prefer our composed signal reason before reading\n // the caught error, preserving timeout vs cancellation semantics.\n if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError) {\n const canceledError = composedSignal.reason;\n canceledError.config = config;\n request && (canceledError.request = request);\n if (err !== canceledError) {\n // Non-enumerable to match native Error `cause` semantics so loggers\n // don't recurse into circular fetch internals (see #7205).\n Object.defineProperty(canceledError, 'cause', {\n __proto__: null,\n value: err,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n }\n throw canceledError;\n }\n\n // Surface a maxBodyLength violation we raised while the request body was\n // being streamed. Matching by identity (rather than reading\n // `err.cause.isAxiosError`) keeps the error deterministic across runtimes\n // and avoids both prototype-pollution reads and mis-attributing a foreign\n // AxiosError that merely happened to land in `err.cause`.\n if (pendingBodyError) {\n request && !pendingBodyError.request && (pendingBodyError.request = request);\n throw pendingBodyError;\n }\n\n // Re-throw AxiosErrors we raised synchronously (data: URL / content-length\n // pre-checks, response size enforcement) without re-wrapping them.\n if (err instanceof AxiosError) {\n request && !err.request && (err.request = request);\n throw err;\n }\n\n if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {\n const networkError = new AxiosError(\n 'Network Error',\n AxiosError.ERR_NETWORK,\n config,\n request,\n err && err.response\n );\n // Non-enumerable to match native Error `cause` semantics so loggers\n // don't recurse into circular fetch internals (see #7205).\n Object.defineProperty(networkError, 'cause', {\n __proto__: null,\n value: err.cause || err,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n throw networkError;\n }\n\n throw AxiosError.from(err, err && err.code, config, request, err && err.response);\n }\n };\n};\n\nconst seedCache = new Map();\n\nexport const getFetch = (config) => {\n let env = (config && config.env) || {};\n const { fetch, Request, Response } = env;\n const seeds = [Request, Response, fetch];\n\n let len = seeds.length,\n i = len,\n seed,\n target,\n map = seedCache;\n\n while (i--) {\n seed = seeds[i];\n target = map.get(seed);\n\n target === undefined && map.set(seed, (target = i ? new Map() : factory(env)));\n\n map = target;\n }\n\n return target;\n};\n\nconst adapter = getFetch();\n\nexport default adapter;\n","import utils from '../utils.js';\nimport httpAdapter from './http.js';\nimport xhrAdapter from './xhr.js';\nimport * as fetchAdapter from './fetch.js';\nimport AxiosError from '../core/AxiosError.js';\n\n/**\n * Known adapters mapping.\n * Provides environment-specific adapters for Axios:\n * - `http` for Node.js\n * - `xhr` for browsers\n * - `fetch` for fetch API-based requests\n *\n * @type {Object}\n */\nconst knownAdapters = {\n http: httpAdapter,\n xhr: xhrAdapter,\n fetch: {\n get: fetchAdapter.getFetch,\n },\n};\n\n// Assign adapter names for easier debugging and identification\nutils.forEach(knownAdapters, (fn, value) => {\n if (fn) {\n try {\n // Null-proto descriptors so a polluted Object.prototype.get cannot turn\n // these data descriptors into accessor descriptors on the way in.\n Object.defineProperty(fn, 'name', { __proto__: null, value });\n } catch (e) {\n // eslint-disable-next-line no-empty\n }\n Object.defineProperty(fn, 'adapterName', { __proto__: null, value });\n }\n});\n\n/**\n * Render a rejection reason string for unknown or unsupported adapters\n *\n * @param {string} reason\n * @returns {string}\n */\nconst renderReason = (reason) => `- ${reason}`;\n\n/**\n * Check if the adapter is resolved (function, null, or false)\n *\n * @param {Function|null|false} adapter\n * @returns {boolean}\n */\nconst isResolvedHandle = (adapter) =>\n utils.isFunction(adapter) || adapter === null || adapter === false;\n\n/**\n * Get the first suitable adapter from the provided list.\n * Tries each adapter in order until a supported one is found.\n * Throws an AxiosError if no adapter is suitable.\n *\n * @param {Array|string|Function} adapters - Adapter(s) by name or function.\n * @param {Object} config - Axios request configuration\n * @throws {AxiosError} If no suitable adapter is available\n * @returns {Function} The resolved adapter function\n */\nfunction getAdapter(adapters, config) {\n adapters = utils.isArray(adapters) ? adapters : [adapters];\n\n const { length } = adapters;\n let nameOrAdapter;\n let adapter;\n\n const rejectedReasons = {};\n\n for (let i = 0; i < length; i++) {\n nameOrAdapter = adapters[i];\n let id;\n\n adapter = nameOrAdapter;\n\n if (!isResolvedHandle(nameOrAdapter)) {\n adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];\n\n if (adapter === undefined) {\n throw new AxiosError(`Unknown adapter '${id}'`);\n }\n }\n\n if (adapter && (utils.isFunction(adapter) || (adapter = adapter.get(config)))) {\n break;\n }\n\n rejectedReasons[id || '#' + i] = adapter;\n }\n\n if (!adapter) {\n const reasons = Object.entries(rejectedReasons).map(\n ([id, state]) =>\n `adapter ${id} ` +\n (state === false ? 'is not supported by the environment' : 'is not available in the build')\n );\n\n let s = length\n ? reasons.length > 1\n ? 'since :\\n' + reasons.map(renderReason).join('\\n')\n : ' ' + renderReason(reasons[0])\n : 'as no adapter specified';\n\n throw new AxiosError(\n `There is no suitable adapter to dispatch the request ` + s,\n AxiosError.ERR_NOT_SUPPORT\n );\n }\n\n return adapter;\n}\n\n/**\n * Exports Axios adapters and utility to resolve an adapter\n */\nexport default {\n /**\n * Resolve an adapter from a list of adapter names or functions.\n * @type {Function}\n */\n getAdapter,\n\n /**\n * Exposes all known adapters\n * @type {Object}\n */\n adapters: knownAdapters,\n};\n","// eslint-disable-next-line strict\nexport default null;\n","'use strict';\n\nimport transformData from './transformData.js';\nimport isCancel from '../cancel/isCancel.js';\nimport defaults from '../defaults/index.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport adapters from '../adapters/adapters.js';\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n *\n * @param {Object} config The config that is to be used for the request\n *\n * @returns {void}\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new CanceledError(null, config);\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n *\n * @returns {Promise} The Promise to be fulfilled\n */\nexport default function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n config.headers = AxiosHeaders.from(config.headers);\n\n // Transform request data\n config.data = transformData.call(config, config.transformRequest);\n\n if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {\n config.headers.setContentType('application/x-www-form-urlencoded', false);\n }\n\n const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config);\n\n return adapter(config).then(\n function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Expose the current response on config so that transformResponse can\n // attach it to any AxiosError it throws (e.g. on JSON parse failure).\n // We clean it up afterwards to avoid polluting the config object.\n config.response = response;\n try {\n response.data = transformData.call(config, config.transformResponse, response);\n } finally {\n delete config.response;\n }\n\n response.headers = AxiosHeaders.from(response.headers);\n\n return response;\n },\n function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n config.response = reason.response;\n try {\n reason.response.data = transformData.call(\n config,\n config.transformResponse,\n reason.response\n );\n } finally {\n delete config.response;\n }\n reason.response.headers = AxiosHeaders.from(reason.response.headers);\n }\n }\n\n return Promise.reject(reason);\n }\n );\n}\n","'use strict';\n\nimport { VERSION } from '../env/data.js';\nimport AxiosError from '../core/AxiosError.js';\n\nconst validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nconst deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n *\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n *\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return (\n '[Axios v' +\n VERSION +\n \"] Transitional option '\" +\n opt +\n \"'\" +\n desc +\n (message ? '. ' + message : '')\n );\n }\n\n // eslint-disable-next-line func-names\n return (value, opt, opts) => {\n if (validator === false) {\n throw new AxiosError(\n formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),\n AxiosError.ERR_DEPRECATED\n );\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\nvalidators.spelling = function spelling(correctSpelling) {\n return (value, opt) => {\n // eslint-disable-next-line no-console\n console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);\n return true;\n };\n};\n\n/**\n * Assert object's properties type\n *\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n *\n * @returns {object}\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object' || options === null) {\n throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);\n }\n const keys = Object.keys(options);\n let i = keys.length;\n while (i-- > 0) {\n const opt = keys[i];\n // Use hasOwnProperty so a polluted Object.prototype. cannot supply\n // a non-function validator and cause a TypeError.\n const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined;\n if (validator) {\n const value = options[opt];\n const result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new AxiosError(\n 'option ' + opt + ' must be ' + result,\n AxiosError.ERR_BAD_OPTION_VALUE\n );\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);\n }\n }\n}\n\nexport default {\n assertOptions,\n validators,\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport buildURL from '../helpers/buildURL.js';\nimport InterceptorManager from './InterceptorManager.js';\nimport dispatchRequest from './dispatchRequest.js';\nimport mergeConfig from './mergeConfig.js';\nimport buildFullPath from './buildFullPath.js';\nimport validator from '../helpers/validator.js';\nimport AxiosHeaders from './AxiosHeaders.js';\nimport transitionalDefaults from '../defaults/transitional.js';\n\nconst validators = validator.validators;\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n *\n * @return {Axios} A new instance of Axios\n */\nclass Axios {\n constructor(instanceConfig) {\n this.defaults = instanceConfig || {};\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager(),\n };\n }\n\n /**\n * Dispatch a request\n *\n * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)\n * @param {?Object} config\n *\n * @returns {Promise} The Promise to be fulfilled\n */\n async request(configOrUrl, config) {\n try {\n return await this._request(configOrUrl, config);\n } catch (err) {\n if (err instanceof Error) {\n let dummy = {};\n\n Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());\n\n // slice off the Error: ... line\n const stack = (() => {\n if (!dummy.stack) {\n return '';\n }\n\n const firstNewlineIndex = dummy.stack.indexOf('\\n');\n\n return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1);\n })();\n try {\n if (!err.stack) {\n err.stack = stack;\n // match without the 2 top stack lines\n } else if (stack) {\n const firstNewlineIndex = stack.indexOf('\\n');\n const secondNewlineIndex =\n firstNewlineIndex === -1 ? -1 : stack.indexOf('\\n', firstNewlineIndex + 1);\n const stackWithoutTwoTopLines =\n secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1);\n\n if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) {\n err.stack += '\\n' + stack;\n }\n }\n } catch (e) {\n // ignore the case where \"stack\" is an un-writable property\n }\n }\n\n throw err;\n }\n }\n\n _request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n const { transitional, paramsSerializer, headers } = config;\n\n if (transitional !== undefined) {\n validator.assertOptions(\n transitional,\n {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean),\n legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),\n advertiseZstdAcceptEncoding: validators.transitional(validators.boolean),\n validateStatusUndefinedResolves: validators.transitional(validators.boolean),\n },\n false\n );\n }\n\n if (paramsSerializer != null) {\n if (utils.isFunction(paramsSerializer)) {\n config.paramsSerializer = {\n serialize: paramsSerializer,\n };\n } else {\n validator.assertOptions(\n paramsSerializer,\n {\n encode: validators.function,\n serialize: validators.function,\n },\n true\n );\n }\n }\n\n // Set config.allowAbsoluteUrls\n if (config.allowAbsoluteUrls !== undefined) {\n // do nothing\n } else if (this.defaults.allowAbsoluteUrls !== undefined) {\n config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;\n } else {\n config.allowAbsoluteUrls = true;\n }\n\n validator.assertOptions(\n config,\n {\n baseUrl: validators.spelling('baseURL'),\n withXsrfToken: validators.spelling('withXSRFToken'),\n },\n true\n );\n\n // Set config.method\n config.method = (config.method || this.defaults.method || 'get').toLowerCase();\n\n // Flatten headers\n let contextHeaders = headers && utils.merge(headers.common, headers[config.method]);\n\n headers &&\n utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => {\n delete headers[method];\n });\n\n config.headers = AxiosHeaders.concat(contextHeaders, headers);\n\n // filter out skipped interceptors\n const requestInterceptorChain = [];\n let synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n const transitional = config.transitional || transitionalDefaults;\n const legacyInterceptorReqResOrdering =\n transitional && transitional.legacyInterceptorReqResOrdering;\n\n if (legacyInterceptorReqResOrdering) {\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n } else {\n requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n }\n });\n\n const responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n let promise;\n let i = 0;\n let len;\n\n if (!synchronousRequestInterceptors) {\n const chain = [dispatchRequest.bind(this), undefined];\n chain.unshift(...requestInterceptorChain);\n chain.push(...responseInterceptorChain);\n len = chain.length;\n\n promise = Promise.resolve(config);\n\n while (i < len) {\n promise = promise.then(chain[i++], chain[i++]);\n }\n\n return promise;\n }\n\n len = requestInterceptorChain.length;\n\n let newConfig = config;\n\n while (i < len) {\n const onFulfilled = requestInterceptorChain[i++];\n const onRejected = requestInterceptorChain[i++];\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected.call(this, error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest.call(this, newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n i = 0;\n len = responseInterceptorChain.length;\n\n while (i < len) {\n promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);\n }\n\n return promise;\n }\n\n getUri(config) {\n config = mergeConfig(this.defaults, config);\n const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config);\n return buildURL(fullPath, config.params, config.paramsSerializer);\n }\n}\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function (url, config) {\n return this.request(\n mergeConfig(config || {}, {\n method,\n url,\n data: config && utils.hasOwnProp(config, 'data') ? config.data : undefined,\n })\n );\n };\n});\n\nutils.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) {\n function generateHTTPMethod(isForm) {\n return function httpMethod(url, data, config) {\n return this.request(\n mergeConfig(config || {}, {\n method,\n headers: isForm\n ? {\n 'Content-Type': 'multipart/form-data',\n }\n : {},\n url,\n data,\n })\n );\n };\n }\n\n Axios.prototype[method] = generateHTTPMethod();\n\n // QUERY is a safe/idempotent read method; multipart form bodies don't fit\n // its semantics, so no queryForm shorthand is generated.\n if (method !== 'query') {\n Axios.prototype[method + 'Form'] = generateHTTPMethod(true);\n }\n});\n\nexport default Axios;\n","'use strict';\n\nimport CanceledError from './CanceledError.js';\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @param {Function} executor The executor function.\n *\n * @returns {CancelToken}\n */\nclass CancelToken {\n constructor(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n let resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n const token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then((cancel) => {\n if (!token._listeners) return;\n\n let i = token._listeners.length;\n\n while (i-- > 0) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = (onfulfilled) => {\n let _resolve;\n // eslint-disable-next-line func-names\n const promise = new Promise((resolve) => {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message, config, request) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new CanceledError(message, config, request);\n resolvePromise(token.reason);\n });\n }\n\n /**\n * Throws a `CanceledError` if cancellation has been requested.\n */\n throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n }\n\n /**\n * Subscribe to the cancel signal\n */\n\n subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n }\n\n /**\n * Unsubscribe from the cancel signal\n */\n\n unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n const index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n }\n\n toAbortSignal() {\n const controller = new AbortController();\n\n const abort = (err) => {\n controller.abort(err);\n };\n\n this.subscribe(abort);\n\n controller.signal.unsubscribe = () => this.unsubscribe(abort);\n\n return controller.signal;\n }\n\n /**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\n static source() {\n let cancel;\n const token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token,\n cancel,\n };\n }\n}\n\nexport default CancelToken;\n","const HttpStatusCode = {\n Continue: 100,\n SwitchingProtocols: 101,\n Processing: 102,\n EarlyHints: 103,\n Ok: 200,\n Created: 201,\n Accepted: 202,\n NonAuthoritativeInformation: 203,\n NoContent: 204,\n ResetContent: 205,\n PartialContent: 206,\n MultiStatus: 207,\n AlreadyReported: 208,\n ImUsed: 226,\n MultipleChoices: 300,\n MovedPermanently: 301,\n Found: 302,\n SeeOther: 303,\n NotModified: 304,\n UseProxy: 305,\n Unused: 306,\n TemporaryRedirect: 307,\n PermanentRedirect: 308,\n BadRequest: 400,\n Unauthorized: 401,\n PaymentRequired: 402,\n Forbidden: 403,\n NotFound: 404,\n MethodNotAllowed: 405,\n NotAcceptable: 406,\n ProxyAuthenticationRequired: 407,\n RequestTimeout: 408,\n Conflict: 409,\n Gone: 410,\n LengthRequired: 411,\n PreconditionFailed: 412,\n PayloadTooLarge: 413,\n UriTooLong: 414,\n UnsupportedMediaType: 415,\n RangeNotSatisfiable: 416,\n ExpectationFailed: 417,\n ImATeapot: 418,\n MisdirectedRequest: 421,\n UnprocessableEntity: 422,\n Locked: 423,\n FailedDependency: 424,\n TooEarly: 425,\n UpgradeRequired: 426,\n PreconditionRequired: 428,\n TooManyRequests: 429,\n RequestHeaderFieldsTooLarge: 431,\n UnavailableForLegalReasons: 451,\n InternalServerError: 500,\n NotImplemented: 501,\n BadGateway: 502,\n ServiceUnavailable: 503,\n GatewayTimeout: 504,\n HttpVersionNotSupported: 505,\n VariantAlsoNegotiates: 506,\n InsufficientStorage: 507,\n LoopDetected: 508,\n NotExtended: 510,\n NetworkAuthenticationRequired: 511,\n WebServerIsDown: 521,\n ConnectionTimedOut: 522,\n OriginIsUnreachable: 523,\n TimeoutOccurred: 524,\n SslHandshakeFailed: 525,\n InvalidSslCertificate: 526,\n};\n\nObject.entries(HttpStatusCode).forEach(([key, value]) => {\n HttpStatusCode[value] = key;\n});\n\nexport default HttpStatusCode;\n","'use strict';\n\nimport utils from './utils.js';\nimport bind from './helpers/bind.js';\nimport Axios from './core/Axios.js';\nimport mergeConfig from './core/mergeConfig.js';\nimport defaults from './defaults/index.js';\nimport formDataToJSON from './helpers/formDataToJSON.js';\nimport CanceledError from './cancel/CanceledError.js';\nimport CancelToken from './cancel/CancelToken.js';\nimport isCancel from './cancel/isCancel.js';\nimport { VERSION } from './env/data.js';\nimport toFormData from './helpers/toFormData.js';\nimport AxiosError from './core/AxiosError.js';\nimport spread from './helpers/spread.js';\nimport isAxiosError from './helpers/isAxiosError.js';\nimport AxiosHeaders from './core/AxiosHeaders.js';\nimport adapters from './adapters/adapters.js';\nimport HttpStatusCode from './helpers/HttpStatusCode.js';\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n *\n * @returns {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n const context = new Axios(defaultConfig);\n const instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context, { allOwnKeys: true });\n\n // Copy context to instance\n utils.extend(instance, context, null, { allOwnKeys: true });\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nconst axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.CanceledError = CanceledError;\naxios.CancelToken = CancelToken;\naxios.isCancel = isCancel;\naxios.VERSION = VERSION;\naxios.toFormData = toFormData;\n\n// Expose AxiosError class\naxios.AxiosError = AxiosError;\n\n// alias for CanceledError for backward compatibility\naxios.Cancel = axios.CanceledError;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\n\naxios.spread = spread;\n\n// Expose isAxiosError\naxios.isAxiosError = isAxiosError;\n\n// Expose mergeConfig\naxios.mergeConfig = mergeConfig;\n\naxios.AxiosHeaders = AxiosHeaders;\n\naxios.formToJSON = (thing) => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);\n\naxios.getAdapter = adapters.getAdapter;\n\naxios.HttpStatusCode = HttpStatusCode;\n\naxios.default = axios;\n\n// this module should only have a default export\nexport default axios;\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * const args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n *\n * @returns {Function}\n */\nexport default function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n *\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nexport default function isAxiosError(payload) {\n return utils.isObject(payload) && payload.isAxiosError === true;\n}\n"],"names":["bind","fn","thisArg","apply","arguments","cache","toString","Object","prototype","getPrototypeOf","iterator","Symbol","toStringTag","hasOwnProperty","obj","prop","call","hasOwnInPrototypeChain","thing","seen","indexOf","push","kindOf","create","str","slice","toLowerCase","kindOfTest","type","typeOfTest","_typeof","isArray","Array","isUndefined","isBuffer","val","constructor","isFunction","isArrayBuffer","isString","isNumber","isObject","isPlainObject","isDate","isFile","isBlob","isFileList","G","globalThis","self","window","global","FormDataCtor","FormData","undefined","isURLSearchParams","_map2","_slicedToArray","map","isReadableStream","isRequest","isResponse","isHeaders","forEach","i","l","_ref2$allOwnKeys","length","allOwnKeys","key","keys","getOwnPropertyNames","len","findKey","_key","_global","isContextDefined","context","TypedArray","isTypedArray","Uint8Array","isHTMLForm","propertyIsEnumerable","isRegExp","reduceDescriptors","reducer","descriptors","getOwnPropertyDescriptors","reducedDescriptors","descriptor","name","ret","defineProperties","setImmediateSupported","postMessageSupported","token","callbacks","isAsyncFn","_setImmediate","setImmediate","postMessage","concat","Math","random","addEventListener","_ref5","source","data","shift","cb","setTimeout","asap","queueMicrotask","process","nextTick","isIterable","utils$1","isFormData","proto","append","kind","isArrayBufferView","ArrayBuffer","isView","buffer","isBoolean","isEmptyObject","e","isReactNativeBlob","value","uri","isReactNative","formData","getParts","isStream","pipe","merge","_ref3","this","caseless","skipUndefined","result","assignValue","targetKey","existing","symbols","getOwnPropertySymbols","j","symbol","extend","a","b","defineProperty","__proto__","writable","enumerable","configurable","trim","replace","stripBOM","content","charCodeAt","inherits","superConstructor","props","assign","toFlatObject","sourceObj","destObj","filter","propFilter","merged","endsWith","searchString","position","String","lastIndex","toArray","arr","forEachEntry","_iterator","next","done","pair","matchAll","regExp","matches","exec","hasOwnProp","getSafeProp","freezeMethods","includes","set","Error","toObjectSet","arrayOrString","delimiter","define","split","toCamelCase","m","p1","p2","toUpperCase","noop","toFiniteNumber","defaultValue","Number","isFinite","isSpecCompliantForm","toJSONObject","visited","WeakSet","visit","has","add","target","reducedValue","isThenable","then","isSafeIterable","ignoreDuplicateOf","utils","INVALID_UNICODE_HEADER_VALUE_CHARS","RegExp","INVALID_BYTE_STRING_HEADER_VALUE_CHARS","sanitizeValue","invalidChars","item","start","end","code","trimSPorHTAB","toByteStringHeaderObject","headers","byteStringHeaders","toJSON","header","sanitizeByteStringHeaderValue","$internals","normalizeHeader","normalizeValue","sanitizeHeaderValue","matchHeaderValue","isHeaderNameFilter","test","AxiosHeaders","_createClass","_classCallCheck","valueOrRewrite","rewrite","setHeader","_value","_header","_rewrite","lHeader","setHeaders","rawHeaders","parsed","line","substring","parseHeaders","dest","_step","_createForOfIteratorHelper","s","n","entry","TypeError","_toConsumableArray","err","f","parser","match","tokens","tokensRE","parseTokens","matcher","deleted","deleteHeader","format","normalized","w","char","formatHeader","_this$constructor","_len","targets","asStrings","join","entries","_ref","_ref2","get","first","computed","_len2","_key2","accessors","defineAccessor","accessorName","methodName","arg1","arg2","arg3","buildAccessors","accessor","mapped","headerValue","redactConfig","config","redactKeys","lowerKeys","Set","k","v","hasOwnOrPrototypeToJSON","pop","_i","_Object$entries","_Object$entries$_i","AxiosError","_Error","message","request","response","_this","_callSuper","isAxiosError","status","_inherits","redact","serializedConfig","description","number","fileName","lineNumber","columnNumber","stack","error","customProps","axiosError","_wrapNativeSuper","ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ECONNREFUSED","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL","ERR_FORM_DATA_DEPTH_EXCEEDED","isVisitable","removeBrackets","renderKey","path","dots","predicates","toFormData","options","metaTokens","indexes","option","visitor","defaultVisitor","_Blob","Blob","maxDepth","useBlob","convertValue","toISOString","Buffer","from","throwIfMaxDepthExceeded","depth","Infinity","JSON","stringify","ancestors","currentValue","stringifyWithDepthLimit","some","isFlatArray","el","index","exposedHelpers","build","encode","charMap","encodeURIComponent","AxiosURLSearchParams","params","_pairs","buildURL","url","serializedParams","_options","serialize","_encode","serializeFn","hashmarkIndex","encoder","InterceptorManager","handlers","fulfilled","rejected","synchronous","runWhen","id","h","transitionalDefaults","silentJSONParsing","forcedJSONParsing","clarifyTimeoutError","legacyInterceptorReqResOrdering","advertiseZstdAcceptEncoding","validateStatusUndefinedResolves","platform$1","isBrowser","classes","URLSearchParams","protocols","hasBrowserEnv","document","_navigator","navigator","hasStandardBrowserEnv","product","hasStandardBrowserWebWorkerEnv","WorkerGlobalScope","importScripts","origin","location","href","platform","_objectSpread","throwIfDepthExceeded","formDataToJSON","buildPath","isNumericKey","isLast","arrayToObject","pattern","parsePropPath","own","defaults","transitional","adapter","transformRequest","contentType","getContentType","hasJSONContentType","isObjectPayload","setContentType","formSerializer","helpers","isNode","toURLEncodedForm","env","_FormData","rawValue","parse","stringifySafely","transformResponse","responseType","JSONRequested","strictJSONParsing","timeout","xsrfCookieName","xsrfHeaderName","maxContentLength","maxBodyLength","validateStatus","common","Accept","transformData","fns","normalize","isCancel","__CANCEL__","method","CanceledError","_AxiosError","settle","resolve","reject","progressEventReducer","listener","isDownloadStream","freq","bytesNotified","_speedometer","samplesCount","min","firstSampleTS","bytes","timestamps","head","tail","chunkLength","now","Date","startedAt","bytesCount","passed","round","speedometer","lastArgs","timer","timestamp","threshold","invoke","args","clearTimeout","throttle","loaded","rawLoaded","total","lengthComputable","progressBytes","max","rate","_defineProperty","progress","estimated","event","progressEventDecorator","throttled","asyncDecorator","isURLSameOrigin","isMSIE","URL","protocol","host","port","userAgent","cookies","write","expires","domain","secure","sameSite","cookie","toUTCString","read","eq","decodeURIComponent","remove","malformedHttpProtocol","httpProtocolControlCharacters","assertValidHttpProtocolURL","stripLeadingC0ControlOrSpace","normalizeURLForProtocolCheck","buildFullPath","baseURL","requestedURL","allowAbsoluteUrls","isRelativeUrl","relativeURL","combineURLs","headersToObject","mergeConfig","config1","config2","getMergedValue","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","paramsSerializer","timeoutMessage","withCredentials","withXSRFToken","onUploadProgress","onDownloadProgress","decompress","beforeRedirect","transport","httpAgent","httpsAgent","cancelToken","socketPath","allowedSocketPaths","responseEncoding","configValue","transitional2","transitional1","getMergedTransitionalOption","FORM_DATA_CONTENT_HEADERS","resolveConfig","newConfig","auth","username","password","btoa","_","hex","fromCharCode","parseInt","getHeaders","formHeaders","policy","setFormDataHeaders","xsrfValue","xhrAdapter","XMLHttpRequest","Promise","onCanceled","uploadThrottled","downloadThrottled","flushUpload","flushDownload","_config","requestData","requestHeaders","unsubscribe","signal","removeEventListener","onloadend","responseHeaders","getAllResponseHeaders","responseText","statusText","open","onreadystatechange","readyState","responseURL","startsWith","onabort","onerror","msg","ontimeout","timeoutErrorMessage","setRequestHeader","_progressEventReducer2","upload","_progressEventReducer4","cancel","abort","subscribe","aborted","send","composeSignals","signals","Boolean","controller","AbortController","reason","once","streamChunk","_regenerator","chunk","chunkSize","pos","_context","byteLength","readBytes","_wrapAsyncGenerator","_callee","iterable","_iteratorAbruptCompletion","_didIteratorError","_iteratorError","_t","_context2","p","_asyncIterator","readStream","_awaitAsyncGenerator","d","_regeneratorValues","_asyncGeneratorDelegate","_x","_x2","_callee2","stream","reader","_yield$_awaitAsyncGen","_context3","asyncIterator","getReader","_x3","trackStream","onProgress","onFinish","_onFinish","ReadableStream","pull","_asyncToGenerator","_callee3","_yield$iterator$next","_done","loadedBytes","_t2","_context4","close","enqueue","highWaterMark","isHexDigit","charCode","isPercentEncodedByte","estimateDataURLDecodedBytes","comma","meta","body","effectiveLen","pad","idx","tailIsPct3D","floor","c","VERSION","encodeUTF8","decodeURIComponentSafe","maybeWithAuthCredentials","protocolIndex","urlToCheck","factory","globalObject","TextEncoder","_env","Request","Response","envFetch","fetch","isFetchSupported","isRequestSupported","isResponseSupported","isReadableStreamSupported","encodeText","arrayBuffer","supportsRequestStream","duplexAccessed","duplex","hasContentType","supportsResponseStream","resolvers","res","getBodyLength","_request","size","resolveBodyLength","getContentLength","_x4","_ref4","_callee4","_resolveConfig","_resolveConfig$withCr","fetchOptions","hasMaxContentLength","hasMaxBodyLength","_fetch","composedSignal","requestContentLength","pendingBodyError","maxBodyLengthError","configAuth","parsedURL","urlUsername","urlPassword","outboundLength","mustEnforceStreamBody","trackRequestStream","contentTypeHeader","_ref6","flush","isCredentialsSupported","resolvedOptions","declaredLength","isStreamResponse","responseContentLength","_ref7","_ref8","_onProgress","_flush","onChunkProgress","responseData","materializedSize","canceledError","networkError","_t3","_t4","toAbortSignal","credentials","cause","_x5","seedCache","Map","getFetch","seed","seeds","knownAdapters","http","xhr","fetchAdapter","renderReason","isResolvedHandle","adapters","getAdapter","nameOrAdapter","rejectedReasons","reasons","state","throwIfCancellationRequested","throwIfRequested","dispatchRequest","validators","deprecatedWarnings","validator","version","formatMessage","opt","desc","opts","console","warn","spelling","correctSpelling","assertOptions","schema","allowUnknown","Axios","instanceConfig","interceptors","_request2","configOrUrl","dummy","firstNewlineIndex","secondNewlineIndex","stackWithoutTwoTopLines","captureStackTrace","baseUrl","withXsrfToken","contextHeaders","requestInterceptorChain","synchronousRequestInterceptors","interceptor","unshift","promise","responseInterceptorChain","chain","onFulfilled","onRejected","generateHTTPMethod","isForm","CancelToken","executor","resolvePromise","_listeners","onfulfilled","_resolve","splice","HttpStatusCode","Continue","SwitchingProtocols","Processing","EarlyHints","Ok","Created","Accepted","NonAuthoritativeInformation","NoContent","ResetContent","PartialContent","MultiStatus","AlreadyReported","ImUsed","MultipleChoices","MovedPermanently","Found","SeeOther","NotModified","UseProxy","Unused","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","LengthRequired","PreconditionFailed","PayloadTooLarge","UriTooLong","UnsupportedMediaType","RangeNotSatisfiable","ExpectationFailed","ImATeapot","MisdirectedRequest","UnprocessableEntity","Locked","FailedDependency","TooEarly","UpgradeRequired","PreconditionRequired","TooManyRequests","RequestHeaderFieldsTooLarge","UnavailableForLegalReasons","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpVersionNotSupported","VariantAlsoNegotiates","InsufficientStorage","LoopDetected","NotExtended","NetworkAuthenticationRequired","WebServerIsDown","ConnectionTimedOut","OriginIsUnreachable","TimeoutOccurred","SslHandshakeFailed","InvalidSslCertificate","axios","createInstance","defaultConfig","instance","Cancel","all","promises","spread","callback","payload","formToJSON"],"mappings":";;;kgLASe,SAASA,EAAKC,EAAIC,GAC/B,OAAO,WACL,OAAOD,EAAGE,MAAMD,EAASE,UAC3B,CACF,mSCPA,IAuDiBC,EAvDTC,EAAaC,OAAOC,UAApBF,SACAG,EAAmBF,OAAnBE,eACAC,EAA0BC,OAA1BD,SAAUE,EAAgBD,OAAhBC,YAGZC,EACJ,WAAA,IAAGA,EAGHN,OAAOC,UAHJK,eAAc,OACjB,SAACC,EAAKC,GAAI,OACRF,EAAeG,KAAKF,EAAKC,EAAK,CAAA,CAFhC,GAiBIE,EAAyB,SAACC,EAAOH,GAIrC,IAHA,IAAID,EAAMI,EACJC,EAAO,GAEC,MAAPL,GAAeA,IAAQP,OAAOC,WAAW,CAC9C,IAA0B,IAAtBW,EAAKC,QAAQN,GACf,OAAO,EAIT,GAFAK,EAAKE,KAAKP,GAEND,EAAeC,EAAKC,GACtB,OAAO,EAETD,EAAML,EAAeK,EACvB,CACA,OAAO,CACT,EAgBMQ,GAAWjB,EAGdE,OAAOgB,OAAO,MAHU,SAACL,GAC1B,IAAMM,EAAMlB,EAASU,KAAKE,GAC1B,OAAOb,EAAMmB,KAASnB,EAAMmB,GAAOA,EAAIC,MAAM,MAAOC,cACtD,GAEMC,EAAa,SAACC,GAElB,OADAA,EAAOA,EAAKF,cACL,SAACR,GAAK,OAAKI,EAAOJ,KAAWU,CAAI,CAC1C,EAEMC,EAAa,SAACD,GAAI,OAAK,SAACV,GAAK,OAAKY,EAAOZ,KAAUU,CAAI,CAAA,EASrDG,EAAYC,MAAZD,QASFE,EAAcJ,EAAW,aAS/B,SAASK,EAASC,GAChB,OACU,OAARA,IACCF,EAAYE,IACO,OAApBA,EAAIC,cACHH,EAAYE,EAAIC,cACjBC,EAAWF,EAAIC,YAAYF,WAC3BC,EAAIC,YAAYF,SAASC,EAE7B,CASA,IAAMG,EAAgBX,EAAW,eA0BjC,IAAMY,EAAWV,EAAW,UAQtBQ,EAAaR,EAAW,YASxBW,EAAWX,EAAW,UAStBY,EAAW,SAACvB,GAAK,OAAe,OAAVA,GAAmC,WAAjBY,EAAOZ,EAAkB,EAiBjEwB,EAAgB,SAACP,GACrB,IAAKM,EAASN,GACZ,OAAO,EAGT,IAAM3B,EAAYC,EAAe0B,GACjC,QACiB,OAAd3B,GACCA,IAAcD,OAAOC,WACS,OAA9BC,EAAeD,IAIhBS,EAAuBkB,EAAKvB,IAC5BK,EAAuBkB,EAAKzB,GAEjC,EA8BMiC,EAAShB,EAAW,QASpBiB,EAASjB,EAAW,QAkCpBkB,EAASlB,EAAW,QASpBmB,EAAanB,EAAW,YA0B9B,IAAMoB,GAPsB,oBAAfC,WAAmCA,WAC1B,oBAATC,KAA6BA,KAClB,oBAAXC,OAA+BA,OACpB,oBAAXC,OAA+BA,OACnC,CAAA,EAIHC,QAAqC,IAAfL,GAAEM,SAA2BN,GAAEM,cAAWC,EAwBhEC,GAAoB5B,EAAW,mBAOpB6B,GAAAC,EAL4C,CAC3D,iBACA,UACA,WACA,WACAC,IAAI/B,GAAW,GALVgC,GAAgBH,GAAA,GAAEI,GAASJ,GAAA,GAAEK,GAAUL,GAAA,GAAEM,GAASN,GAAA,GAiCzD,SAASO,GAAQjD,EAAKb,GAAiC,IAMjD+D,EACAC,EAP+CC,GAAE9D,UAAA+D,OAAA,QAAAb,IAAAlD,UAAA,GAAAA,UAAA,GAAJ,CAAA,GAAvBgE,WAAAA,WAAUF,GAAQA,EAE5C,GAAIpD,QAaJ,GALmB,WAAfgB,EAAOhB,KAETA,EAAM,CAACA,IAGLiB,EAAQjB,GAEV,IAAKkD,EAAI,EAAGC,EAAInD,EAAIqD,OAAQH,EAAIC,EAAGD,IACjC/D,EAAGe,KAAK,KAAMF,EAAIkD,GAAIA,EAAGlD,OAEtB,CAEL,GAAIoB,EAASpB,GACX,OAIF,IAEIuD,EAFEC,EAAOF,EAAa7D,OAAOgE,oBAAoBzD,GAAOP,OAAO+D,KAAKxD,GAClE0D,EAAMF,EAAKH,OAGjB,IAAKH,EAAI,EAAGA,EAAIQ,EAAKR,IACnBK,EAAMC,EAAKN,GACX/D,EAAGe,KAAK,KAAMF,EAAIuD,GAAMA,EAAKvD,EAEjC,CACF,CAUA,SAAS2D,GAAQ3D,EAAKuD,GACpB,GAAInC,EAASpB,GACX,OAAO,KAGTuD,EAAMA,EAAI3C,cAIV,IAHA,IAEIgD,EAFEJ,EAAO/D,OAAO+D,KAAKxD,GACrBkD,EAAIM,EAAKH,OAENH,KAAM,GAEX,GAAIK,KADJK,EAAOJ,EAAKN,IACKtC,cACf,OAAOgD,EAGX,OAAO,IACT,CAEA,IAAMC,GAEsB,oBAAf3B,WAAmCA,WACvB,oBAATC,KAAuBA,KAAyB,oBAAXC,OAAyBA,OAASC,OAGjFyB,GAAmB,SAACC,GAAO,OAAM5C,EAAY4C,IAAYA,IAAYF,EAAO,EAiFlF,IAsJuBG,GAAjBC,IAAiBD,GAKE,oBAAfE,YAA8BvE,EAAeuE,YAH9C,SAAC9D,GACN,OAAO4D,IAAc5D,aAAiB4D,EACxC,GA4CIG,GAAatD,EAAW,mBAQtBuD,GAAyB3E,OAAOC,UAAhC0E,qBASFC,GAAWxD,EAAW,UAEtByD,GAAoB,SAACtE,EAAKuE,GAC9B,IAAMC,EAAc/E,OAAOgF,0BAA0BzE,GAC/C0E,EAAqB,CAAA,EAE3BzB,GAAQuB,EAAa,SAACG,EAAYC,GAChC,IAAIC,GAC2C,KAA1CA,EAAMN,EAAQI,EAAYC,EAAM5E,MACnC0E,EAAmBE,GAAQC,GAAOF,EAEtC,GAEAlF,OAAOqF,iBAAiB9E,EAAK0E,EAC/B,EAmFA,IAmEwBK,GAAuBC,GAMvCC,GAAOC,GA/BTC,GAAYtE,EAAW,iBAyBvBuE,IAAkBL,GAuBG,mBAAjBM,aAvBqCL,GAuBRzD,EAAWsC,GAAQyB,aAtBpDP,GACKM,aAGFL,IACDC,GAeD,SAAAM,OAAWC,KAAKC,UAfRP,GAeoB,GAd3BrB,GAAQ6B,iBACN,UACA,SAAAC,GAAsB,IAAnBC,EAAMD,EAANC,OAAQC,EAAIF,EAAJE,KACLD,IAAW/B,IAAWgC,IAASZ,IACjCC,GAAU7B,QAAU6B,GAAUY,OAAVZ,EAExB,GACA,GAGK,SAACa,GACNb,GAAU3E,KAAKwF,GACflC,GAAQyB,YAAYL,GAAO,IAC7B,GAEF,SAACc,GAAE,OAAKC,WAAWD,EAAG,GAStBE,GACsB,oBAAnBC,eACHA,eAAehH,KAAK2E,IACA,oBAAZsC,SAA2BA,QAAQC,UAAahB,GAIxDiB,GAAa,SAACjG,GAAK,OAAc,MAATA,GAAiBmB,EAAWnB,EAAMR,GAAU,EAgB1E0G,GAAe,CACbrF,QAAAA,EACAO,cAAAA,EACAJ,SAAAA,EACAmF,WAroBiB,SAACnG,GAClB,IAAKA,EAAO,OAAO,EACnB,GAAIkC,IAAgBlC,aAAiBkC,GAAc,OAAO,EAE1D,IAAMkE,EAAQ7G,EAAeS,GAC7B,IAAKoG,GAASA,IAAU/G,OAAOC,UAAW,OAAO,EACjD,IAAK6B,EAAWnB,EAAMqG,QAAS,OAAO,EACtC,IAAMC,EAAOlG,EAAOJ,GACpB,MACW,aAATsG,GAEU,WAATA,GAAqBnF,EAAWnB,EAAMZ,WAAkC,sBAArBY,EAAMZ,UAE9D,EAynBEmH,kBAj0BF,SAA2BtF,GAOzB,MAL2B,oBAAhBuF,aAA+BA,YAAYC,OAC3CD,YAAYC,OAAOxF,GAEnBA,GAAOA,EAAIyF,QAAUtF,EAAcH,EAAIyF,OAGpD,EA0zBErF,SAAAA,EACAC,SAAAA,EACAqF,UAjxBgB,SAAC3G,GAAK,OAAe,IAAVA,IAA4B,IAAVA,CAAe,EAkxB5DuB,SAAAA,EACAC,cAAAA,EACAoF,cAlvBoB,SAAC3F,GAErB,IAAKM,EAASN,IAAQD,EAASC,GAC7B,OAAO,EAGT,IACE,OAAmC,IAA5B5B,OAAO+D,KAAKnC,GAAKgC,QAAgB5D,OAAOE,eAAe0B,KAAS5B,OAAOC,SAChF,CAAE,MAAOuH,GAEP,OAAO,CACT,CACF,EAuuBEpE,iBAAAA,GACAC,UAAAA,GACAC,WAAAA,GACAC,UAAAA,GACA7B,YAAAA,EACAU,OAAAA,EACAC,OAAAA,EACAoF,kBA/sBwB,SAACC,GACzB,SAAUA,QAA8B,IAAdA,EAAMC,IAClC,EA8sBEC,cApsBoB,SAACC,GAAQ,OAAKA,QAAyC,IAAtBA,EAASC,QAAwB,EAqsBtFxF,OAAAA,EACAsC,SAAAA,GACA9C,WAAAA,EACAiG,SA7qBe,SAACnG,GAAG,OAAKM,EAASN,IAAQE,EAAWF,EAAIoG,KAAK,EA8qB7DhF,kBAAAA,GACAwB,aAAAA,GACAjC,WAAAA,EACAiB,QAAAA,GACAyE,MA3gBF,SAASA,IA2BP,IA1BA,IAAAC,EAAqC7D,GAAiB8D,OAASA,MAAS,CAAA,EAAhEC,EAAQF,EAARE,SAAUC,EAAaH,EAAbG,cACZC,EAAS,CAAA,EACTC,EAAc,SAAC3G,EAAKkC,GAExB,GAAY,cAARA,GAA+B,gBAARA,GAAiC,cAARA,EAApD,CAMA,IAAM0E,EAAaJ,GAA2B,iBAARtE,GAAoBI,GAAQoE,EAAQxE,IAASA,EAI7E2E,EAAWnI,EAAegI,EAAQE,GAAaF,EAAOE,QAAazF,EACrEZ,EAAcsG,IAAatG,EAAcP,GAC3C0G,EAAOE,GAAaP,EAAMQ,EAAU7G,GAC3BO,EAAcP,GACvB0G,EAAOE,GAAaP,EAAM,CAAA,EAAIrG,GACrBJ,EAAQI,GACjB0G,EAAOE,GAAa5G,EAAIV,QACdmH,GAAkB3G,EAAYE,KACxC0G,EAAOE,GAAa5G,EAhBtB,CAkBF,EAES6B,EAAI,EAAGC,EAAI7D,UAAK+D,OAAQH,EAAIC,EAAGD,IAAK,CAC3C,IAAM0C,EAAc1C,EAAC,GAAA5D,UAAA+D,QAADH,OAACV,EAAAlD,UAAD4D,GACpB,GAAK0C,IAAUxE,EAASwE,KAIxB3C,GAAQ2C,EAAQoC,GAEM,WAAlBhH,EAAO4E,KAAuB3E,EAAQ2E,IAK1C,IADA,IAAMuC,EAAU1I,OAAO2I,sBAAsBxC,GACpCyC,EAAI,EAAGA,EAAIF,EAAQ9E,OAAQgF,IAAK,CACvC,IAAMC,EAASH,EAAQE,GACnBjE,GAAqBlE,KAAK0F,EAAQ0C,IACpCN,EAAYpC,EAAO0C,GAASA,EAEhC,CACF,CACA,OAAOP,CACT,EA4dEQ,OA/ca,SAACC,EAAGC,EAAGrJ,GA0BpB,OAzBA6D,GACEwF,EACA,SAACpH,EAAKkC,GACAnE,GAAWmC,EAAWF,GACxB5B,OAAOiJ,eAAeF,EAAGjF,EAAK,CAG5BoF,UAAW,KACXxB,MAAOjI,EAAKmC,EAAKjC,GACjBwJ,UAAU,EACVC,YAAY,EACZC,cAAc,IAGhBrJ,OAAOiJ,eAAeF,EAAGjF,EAAK,CAC5BoF,UAAW,KACXxB,MAAO9F,EACPuH,UAAU,EACVC,YAAY,EACZC,cAAc,GAGpB,EACA,CAAExF,YAxBiDhE,UAAA+D,OAAA,QAAAb,IAAAlD,UAAA,GAAAA,UAAA,GAAP,CAAA,GAAfgE,aA0BxBkF,CACT,EAqbEO,KA1nBW,SAACrI,GACZ,OAAOA,EAAIqI,KAAOrI,EAAIqI,OAASrI,EAAIsI,QAAQ,qCAAsC,GACnF,EAynBEC,SA7ae,SAACC,GAIhB,OAH8B,QAA1BA,EAAQC,WAAW,KACrBD,EAAUA,EAAQvI,MAAM,IAEnBuI,CACT,EAyaEE,SA9Ze,SAAC9H,EAAa+H,EAAkBC,EAAO9E,GACtDlD,EAAY5B,UAAYD,OAAOgB,OAAO4I,EAAiB3J,UAAW8E,GAClE/E,OAAOiJ,eAAepH,EAAY5B,UAAW,cAAe,CAC1DiJ,UAAW,KACXxB,MAAO7F,EACPsH,UAAU,EACVC,YAAY,EACZC,cAAc,IAEhBrJ,OAAOiJ,eAAepH,EAAa,QAAS,CAC1CqH,UAAW,KACXxB,MAAOkC,EAAiB3J,YAE1B4J,GAAS7J,OAAO8J,OAAOjI,EAAY5B,UAAW4J,EAChD,EAiZEE,aAtYmB,SAACC,EAAWC,EAASC,EAAQC,GAChD,IAAIN,EACApG,EACAjD,EACE4J,EAAS,CAAA,EAIf,GAFAH,EAAUA,GAAW,CAAA,EAEJ,MAAbD,EAAmB,OAAOC,EAE9B,EAAG,CAGD,IADAxG,GADAoG,EAAQ7J,OAAOgE,oBAAoBgG,IACzBpG,OACHH,KAAM,GACXjD,EAAOqJ,EAAMpG,GACP0G,IAAcA,EAAW3J,EAAMwJ,EAAWC,IAAcG,EAAO5J,KACnEyJ,EAAQzJ,GAAQwJ,EAAUxJ,GAC1B4J,EAAO5J,IAAQ,GAGnBwJ,GAAuB,IAAXE,GAAoBhK,EAAe8J,EACjD,OAASA,KAAeE,GAAUA,EAAOF,EAAWC,KAAaD,IAAchK,OAAOC,WAEtF,OAAOgK,CACT,EA+WElJ,OAAAA,EACAK,WAAAA,EACAiJ,SAtWe,SAACpJ,EAAKqJ,EAAcC,GACnCtJ,EAAMuJ,OAAOvJ,SACI8B,IAAbwH,GAA0BA,EAAWtJ,EAAI2C,UAC3C2G,EAAWtJ,EAAI2C,QAEjB2G,GAAYD,EAAa1G,OACzB,IAAM6G,EAAYxJ,EAAIJ,QAAQyJ,EAAcC,GAC5C,WAAOE,GAAoBA,IAAcF,CAC3C,EA+VEG,QAtVc,SAAC/J,GACf,IAAKA,EAAO,OAAO,KACnB,GAAIa,EAAQb,GAAQ,OAAOA,EAC3B,IAAI8C,EAAI9C,EAAMiD,OACd,IAAK3B,EAASwB,GAAI,OAAO,KAEzB,IADA,IAAMkH,EAAM,IAAIlJ,MAAMgC,GACfA,KAAM,GACXkH,EAAIlH,GAAK9C,EAAM8C,GAEjB,OAAOkH,CACT,EA6UEC,aAnTmB,SAACrK,EAAKb,GAOzB,IANA,IAII4I,EAFEuC,GAFYtK,GAAOA,EAAIJ,IAEDM,KAAKF,IAIzB+H,EAASuC,EAAUC,UAAYxC,EAAOyC,MAAM,CAClD,IAAMC,EAAO1C,EAAOZ,MACpBhI,EAAGe,KAAKF,EAAKyK,EAAK,GAAIA,EAAK,GAC7B,CACF,EAySEC,SA/Re,SAACC,EAAQjK,GAIxB,IAHA,IAAIkK,EACER,EAAM,GAE4B,QAAhCQ,EAAUD,EAAOE,KAAKnK,KAC5B0J,EAAI7J,KAAKqK,GAGX,OAAOR,CACT,EAuREjG,WAAAA,GACApE,eAAAA,EACA+K,WAAY/K,EACZI,uBAAAA,EACA4K,YA56BkB,SAAC/K,EAAKC,GAAI,OACrB,MAAPD,GAAeG,EAAuBH,EAAKC,GAAQD,EAAIC,QAAQuC,CAAS,EA46BxE8B,kBAAAA,GACA0G,cApPoB,SAAChL,GACrBsE,GAAkBtE,EAAK,SAAC2E,EAAYC,GAElC,GAAIrD,EAAWvB,IAAQ,CAAC,YAAa,SAAU,UAAUiL,SAASrG,GAChE,OAAO,EAGT,IAAMuC,EAAQnH,EAAI4E,GAEbrD,EAAW4F,KAEhBxC,EAAWkE,YAAa,EAEpB,aAAclE,EAChBA,EAAWiE,UAAW,EAInBjE,EAAWuG,MACdvG,EAAWuG,IAAM,WACf,MAAMC,MAAM,qCAAuCvG,EAAO,IAC5D,GAEJ,EACF,EA6NEwG,YAnNkB,SAACC,EAAeC,GAClC,IAAMtL,EAAM,CAAA,EAENuL,EAAS,SAACnB,GACdA,EAAInH,QAAQ,SAACkE,GACXnH,EAAImH,IAAS,CACf,EACF,EAIA,OAFAlG,EAAQoK,GAAiBE,EAAOF,GAAiBE,EAAOtB,OAAOoB,GAAeG,MAAMF,IAE7EtL,CACT,EAwMEyL,YA1RkB,SAAC/K,GACnB,OAAOA,EAAIE,cAAcoI,QAAQ,wBAAyB,SAAkB0C,EAAGC,EAAIC,GACjF,OAAOD,EAAGE,cAAgBD,CAC5B,EACF,EAuREE,KAvMW,WAAO,EAwMlBC,eAtMqB,SAAC5E,EAAO6E,GAC7B,OAAgB,MAAT7E,GAAiB8E,OAAOC,SAAU/E,GAASA,GAAUA,EAAQ6E,CACtE,EAqMErI,QAAAA,GACAtB,OAAQwB,GACRC,iBAAAA,GACAqI,oBA/LF,SAA6B/L,GAC3B,SACEA,GACAmB,EAAWnB,EAAMqG,SACM,aAAvBrG,EAAMN,IACNM,EAAMR,GAEV,EAyLEwM,aAjLmB,SAACpM,GACpB,IAAMqM,EAAU,IAAIC,QAEdC,EAAQ,SAAC3G,GACb,GAAIjE,EAASiE,GAAS,CACpB,GAAIyG,EAAQG,IAAI5G,GACd,OAIF,GAAIxE,EAASwE,GACX,OAAOA,EAGT,KAAM,WAAYA,GAAS,CAEzByG,EAAQI,IAAI7G,GACZ,IAAM8G,EAASzL,EAAQ2E,GAAU,GAAK,CAAA,EAStC,OAPA3C,GAAQ2C,EAAQ,SAACuB,EAAO5D,GACtB,IAAMoJ,EAAeJ,EAAMpF,IAC1BhG,EAAYwL,KAAkBD,EAAOnJ,GAAOoJ,EAC/C,GAEAN,EAAO,OAAQzG,GAER8G,CACT,CACF,CAEA,OAAO9G,CACT,EAEA,OAAO2G,EAAMvM,EACf,EAgJEmF,UAAAA,GACAyH,WAjIiB,SAACxM,GAAK,OACvBA,IACCuB,EAASvB,IAAUmB,EAAWnB,KAC/BmB,EAAWnB,EAAMyM,OACjBtL,EAAWnB,EAAK,MAAO,EA8HvBiF,aAAcD,GACda,KAAAA,GACAI,WAAAA,GACAyG,eAjEqB,SAAC1M,GAAK,OAClB,MAATA,GAAiBD,EAAuBC,EAAOR,IAAayG,GAAWjG,EAAM,GCj7BzE2M,GAAoBC,GAAM5B,YAAY,CAC1C,MACA,gBACA,iBACA,eACA,OACA,UACA,OACA,OACA,oBACA,sBACA,gBACA,WACA,eACA,sBACA,UACA,cACA,eCUF,IAAM6B,GAAqC,IAAIC,OAAO,2CAA4C,KAE5FC,GAAyC,IAAID,OAAO,4CAA6C,KAEvG,SAASE,GAAcjG,EAAOkG,GAC5B,OAAIL,GAAM/L,QAAQkG,GACTA,EAAMvE,IAAI,SAAC0K,GAAI,OAAKF,GAAcE,EAAMD,EAAa,GAnChE,SAAsB3M,GAIpB,IAHA,IAAI6M,EAAQ,EACRC,EAAM9M,EAAI2C,OAEPkK,EAAQC,GAAK,CAClB,IAAMC,EAAO/M,EAAIyI,WAAWoE,GAE5B,GAAa,IAATE,GAA0B,KAATA,EACnB,MAGFF,GAAS,CACX,CAEA,KAAOC,EAAMD,GAAO,CAClB,IAAME,EAAO/M,EAAIyI,WAAWqE,EAAM,GAElC,GAAa,IAATC,GAA0B,KAATA,EACnB,MAGFD,GAAO,CACT,CAEA,OAAiB,IAAVD,GAAeC,IAAQ9M,EAAI2C,OAAS3C,EAAMA,EAAIC,MAAM4M,EAAOC,EACpE,CAaSE,CAAazD,OAAO9C,GAAO6B,QAAQqE,EAAc,IAC1D,CAQO,SAASM,GAAyBC,GACvC,IAAMC,EAAoBpO,OAAOgB,OAAO,MAMxC,OAJAuM,GAAM/J,QAAQ2K,EAAQE,SAAU,SAAC3G,EAAO4G,GACtCF,EAAkBE,GAPuB,SAAC5G,GAAK,OACjDiG,GAAcjG,EAAOgG,GAAuC,CAM9Ba,CAA8B7G,EAC5D,GAEO0G,CACT,CCrDA,IAAMI,GAAapO,OAAO,aAE1B,SAASqO,GAAgBH,GACvB,OAAOA,GAAU9D,OAAO8D,GAAQhF,OAAOnI,aACzC,CAEA,SAASuN,GAAehH,GACtB,OAAc,IAAVA,GAA4B,MAATA,EACdA,EAGF6F,GAAM/L,QAAQkG,GAASA,EAAMvE,IAAIuL,ID4BP,SAAChH,GAAK,OACvCiG,GAAcjG,EAAO8F,GAAmC,CC7BEmB,CAAoBnE,OAAO9C,GACvF,CAgBA,SAASkH,GAAiBtK,EAASoD,EAAO4G,EAAQpE,EAAQ2E,GACxD,OAAItB,GAAMzL,WAAWoI,GACZA,EAAOzJ,KAAK0H,KAAMT,EAAO4G,IAG9BO,IACFnH,EAAQ4G,GAGLf,GAAMvL,SAAS0F,GAEhB6F,GAAMvL,SAASkI,IACgB,IAA1BxC,EAAM7G,QAAQqJ,GAGnBqD,GAAM3I,SAASsF,GACVA,EAAO4E,KAAKpH,QADrB,OANA,EASF,CAyBC,IAEKqH,GAAY,WAGf,OAAAC,EAFD,SAAAD,EAAYZ,GAASc,OAAAF,GACnBZ,GAAWhG,KAAKsD,IAAI0C,EACtB,EAAC,CAAA,CAAArK,IAAA,MAAA4D,MAED,SAAI4G,EAAQY,EAAgBC,GAC1B,IAAMzM,EAAOyF,KAEb,SAASiH,EAAUC,EAAQC,EAASC,GAClC,IAAMC,EAAUf,GAAgBa,GAEhC,GAAKE,EAAL,CAIA,IAAM1L,EAAMyJ,GAAMrJ,QAAQxB,EAAM8M,KAG7B1L,QACaf,IAAdL,EAAKoB,KACQ,IAAbyL,QACcxM,IAAbwM,IAAwC,IAAd7M,EAAKoB,MAEhCpB,EAAKoB,GAAOwL,GAAWZ,GAAeW,GAVxC,CAYF,CAEA,IAAMI,EAAa,SAACtB,EAASoB,GAAQ,OACnChC,GAAM/J,QAAQ2K,EAAS,SAACkB,EAAQC,GAAO,OAAKF,EAAUC,EAAQC,EAASC,EAAS,EAAC,EAEnF,GAAIhC,GAAMpL,cAAcmM,IAAWA,aAAkBnG,KAAKtG,YACxD4N,EAAWnB,EAAQY,QACd,GAAI3B,GAAMvL,SAASsM,KAAYA,EAASA,EAAOhF,UA/EvB,iCAAiCwF,KA+EoBR,EA/EXhF,QAgFvEmG,EFxEN,SAAgBC,GACd,IACI5L,EACAlC,EACA6B,EAHEkM,EAAS,CAAA,EA0Bf,OArBAD,GACEA,EAAW3D,MAAM,MAAMvI,QAAQ,SAAgBoM,GAC7CnM,EAAImM,EAAK/O,QAAQ,KACjBiD,EAAM8L,EAAKC,UAAU,EAAGpM,GAAG6F,OAAOnI,cAClCS,EAAMgO,EAAKC,UAAUpM,EAAI,GAAG6F,QAEvBxF,GAAQ6L,EAAO7L,IAAQwJ,GAAkBxJ,KAIlC,eAARA,EACE6L,EAAO7L,GACT6L,EAAO7L,GAAKhD,KAAKc,GAEjB+N,EAAO7L,GAAO,CAAClC,GAGjB+N,EAAO7L,GAAO6L,EAAO7L,GAAO6L,EAAO7L,GAAO,KAAOlC,EAAMA,EAE3D,GAEK+N,CACR,CE4CgBG,CAAaxB,GAASY,QAC5B,GAAI3B,GAAMrL,SAASoM,IAAWf,GAAMF,eAAeiB,GAAS,CACjE,IACEyB,EACAjM,EACwBkM,EAHtBzP,EAAMP,OAAOgB,OAAO,MAElB6J,omBAAAoF,CACc3B,GAAM,IAA1B,IAAAzD,EAAAqF,MAAAF,EAAAnF,EAAAsF,KAAApF,MAA4B,CAAA,IAAjBqF,EAAKJ,EAAAtI,MACd,IAAK6F,GAAM/L,QAAQ4O,GACjB,MAAM,IAAIC,UAAU,gDAGtBvM,EAAMsM,EAAM,GAER7C,GAAMlC,WAAW9K,EAAKuD,IACxBiM,EAAOxP,EAAIuD,GACXvD,EAAIuD,GAAOyJ,GAAM/L,QAAQuO,GAAK,GAAAjK,OAAAwK,EAAOP,GAAI,CAAEK,EAAM,KAAM,CAACL,EAAMK,EAAM,KAEpE7P,EAAIuD,GAAOsM,EAAM,EAErB,CAAC,CAAA,MAAAG,GAAA1F,EAAArD,EAAA+I,EAAA,CAAA,QAAA1F,EAAA2F,GAAA,CAEDf,EAAWlP,EAAK2O,EAClB,MACY,MAAVZ,GAAkBc,EAAUF,EAAgBZ,EAAQa,GAGtD,OAAOhH,IACT,GAAC,CAAArE,IAAA,MAAA4D,MAED,SAAI4G,EAAQmC,GAGV,GAFAnC,EAASG,GAAgBH,GAEb,CACV,IAAMxK,EAAMyJ,GAAMrJ,QAAQiE,KAAMmG,GAEhC,GAAIxK,EAAK,CACP,IAAM4D,EAAQS,KAAKrE,GAEnB,IAAK2M,EACH,OAAO/I,EAGT,IAAe,IAAX+I,EACF,OAtIV,SAAqBxP,GAKnB,IAJA,IAEIyP,EAFEC,EAAS3Q,OAAOgB,OAAO,MACvB4P,EAAW,mCAGTF,EAAQE,EAASxF,KAAKnK,IAC5B0P,EAAOD,EAAM,IAAMA,EAAM,GAG3B,OAAOC,CACT,CA4HiBE,CAAYnJ,GAGrB,GAAI6F,GAAMzL,WAAW2O,GACnB,OAAOA,EAAOhQ,KAAK0H,KAAMT,EAAO5D,GAGlC,GAAIyJ,GAAM3I,SAAS6L,GACjB,OAAOA,EAAOrF,KAAK1D,GAGrB,MAAM,IAAI2I,UAAU,yCACtB,CACF,CACF,GAAC,CAAAvM,IAAA,MAAA4D,MAED,SAAI4G,EAAQwC,GAGV,GAFAxC,EAASG,GAAgBH,GAEb,CACV,IAAMxK,EAAMyJ,GAAMrJ,QAAQiE,KAAMmG,GAEhC,SACExK,QACcf,IAAdoF,KAAKrE,IACHgN,IAAWlC,GAAiBzG,EAAMA,KAAKrE,GAAMA,EAAKgN,GAExD,CAEA,OAAO,CACT,GAAC,CAAAhN,IAAA,SAAA4D,MAED,SAAO4G,EAAQwC,GACb,IAAMpO,EAAOyF,KACT4I,GAAU,EAEd,SAASC,EAAa1B,GAGpB,GAFAA,EAAUb,GAAgBa,GAEb,CACX,IAAMxL,EAAMyJ,GAAMrJ,QAAQxB,EAAM4M,IAE5BxL,GAASgN,IAAWlC,GAAiBlM,EAAMA,EAAKoB,GAAMA,EAAKgN,YACtDpO,EAAKoB,GAEZiN,GAAU,EAEd,CACF,CAQA,OANIxD,GAAM/L,QAAQ8M,GAChBA,EAAO9K,QAAQwN,GAEfA,EAAa1C,GAGRyC,CACT,GAAC,CAAAjN,IAAA,QAAA4D,MAED,SAAMoJ,GAKJ,IAJA,IAAM/M,EAAO/D,OAAO+D,KAAKoE,MACrB1E,EAAIM,EAAKH,OACTmN,GAAU,EAEPtN,KAAK,CACV,IAAMK,EAAMC,EAAKN,GACZqN,IAAWlC,GAAiBzG,EAAMA,KAAKrE,GAAMA,EAAKgN,GAAS,YACvD3I,KAAKrE,GACZiN,GAAU,EAEd,CAEA,OAAOA,CACT,GAAC,CAAAjN,IAAA,YAAA4D,MAED,SAAUuJ,GACR,IAAMvO,EAAOyF,KACPgG,EAAU,CAAA,EAsBhB,OApBAZ,GAAM/J,QAAQ2E,KAAM,SAACT,EAAO4G,GAC1B,IAAMxK,EAAMyJ,GAAMrJ,QAAQiK,EAASG,GAEnC,GAAIxK,EAGF,OAFApB,EAAKoB,GAAO4K,GAAehH,eACpBhF,EAAK4L,GAId,IAAM4C,EAAaD,EA5LzB,SAAsB3C,GACpB,OAAOA,EACJhF,OACAnI,cACAoI,QAAQ,kBAAmB,SAAC4H,EAAGC,EAAMnQ,GACpC,OAAOmQ,EAAKhF,cAAgBnL,CAC9B,EACJ,CAqLkCoQ,CAAa/C,GAAU9D,OAAO8D,GAAQhF,OAE9D4H,IAAe5C,UACV5L,EAAK4L,GAGd5L,EAAKwO,GAAcxC,GAAehH,GAElCyG,EAAQ+C,IAAc,CACxB,GAEO/I,IACT,GAAC,CAAArE,IAAA,SAAA4D,MAED,WAAmB,IAAA,IAAA4J,EAAAC,EAAA1R,UAAA+D,OAAT4N,EAAO,IAAA/P,MAAA8P,GAAApN,EAAA,EAAAA,EAAAoN,EAAApN,IAAPqN,EAAOrN,GAAAtE,UAAAsE,GACf,OAAOmN,EAAAnJ,KAAKtG,aAAYiE,OAAMlG,MAAA0R,EAAA,CAACnJ,MAAIrC,OAAK0L,GAC1C,GAAC,CAAA1N,IAAA,SAAA4D,MAED,SAAO+J,GACL,IAAMlR,EAAMP,OAAOgB,OAAO,MAQ1B,OANAuM,GAAM/J,QAAQ2E,KAAM,SAACT,EAAO4G,GACjB,MAAT5G,IACY,IAAVA,IACCnH,EAAI+N,GAAUmD,GAAalE,GAAM/L,QAAQkG,GAASA,EAAMgK,KAAK,MAAQhK,EAC1E,GAEOnH,CACT,GAAC,CAAAuD,IAEA1D,OAAOD,SAAQuH,MAAhB,WACE,OAAO1H,OAAO2R,QAAQxJ,KAAKkG,UAAUjO,OAAOD,WAC9C,GAAC,CAAA2D,IAAA,WAAA4D,MAED,WACE,OAAO1H,OAAO2R,QAAQxJ,KAAKkG,UACxBlL,IAAI,SAAAyO,GAAA,IAAAC,EAAA3O,EAAA0O,EAAA,GAAe,OAAPC,EAAA,GAAsB,KAAfA,EAAA,EAA2B,GAC9CH,KAAK,KACV,GAAC,CAAA5N,IAAA,eAAA4D,MAED,WACE,OAAOS,KAAK2J,IAAI,eAAiB,EACnC,GAAC,CAAAhO,IAEI1D,OAAOC,YAAWyR,IAAvB,WACE,MAAO,cACT,IAAC,CAAA,CAAAhO,IAAA,OAAA4D,MAED,SAAY/G,GACV,OAAOA,aAAiBwH,KAAOxH,EAAQ,IAAIwH,KAAKxH,EAClD,GAAC,CAAAmD,IAAA,SAAA4D,MAED,SAAcqK,GACqB,IAAjC,IAAMC,EAAW,IAAI7J,KAAK4J,GAAOE,EAAApS,UAAA+D,OADX4N,MAAO/P,MAAAwQ,EAAA,EAAAA,OAAAC,EAAA,EAAAA,EAAAD,EAAAC,IAAPV,EAAOU,EAAA,GAAArS,UAAAqS,GAK7B,OAFAV,EAAQhO,QAAQ,SAACyJ,GAAM,OAAK+E,EAASvG,IAAIwB,EAAO,GAEzC+E,CACT,GAAC,CAAAlO,IAAA,WAAA4D,MAED,SAAgB4G,GACd,IAOM6D,GANHhK,KAAKqG,IACNrG,KAAKqG,IACH,CACE2D,UAAW,CAAA,IAGWA,UACtBlS,EAAYkI,KAAKlI,UAEvB,SAASmS,EAAe9C,GACtB,IAAME,EAAUf,GAAgBa,GAE3B6C,EAAU3C,MA7PrB,SAAwBjP,EAAK+N,GAC3B,IAAM+D,EAAe9E,GAAMvB,YAAY,IAAMsC,GAE7C,CAAC,MAAO,MAAO,OAAO9K,QAAQ,SAAC8O,GAC7BtS,OAAOiJ,eAAe1I,EAAK+R,EAAaD,EAAc,CAGpDnJ,UAAW,KACXxB,MAAO,SAAU6K,EAAMC,EAAMC,GAC3B,OAAOtK,KAAKmK,GAAY7R,KAAK0H,KAAMmG,EAAQiE,EAAMC,EAAMC,EACzD,EACApJ,cAAc,GAElB,EACF,CAgPQqJ,CAAezS,EAAWqP,GAC1B6C,EAAU3C,IAAW,EAEzB,CAIA,OAFAjC,GAAM/L,QAAQ8M,GAAUA,EAAO9K,QAAQ4O,GAAkBA,EAAe9D,GAEjEnG,IACT,IAAC,CAtPe,GAyPlB4G,GAAa4D,SAAS,CACpB,eACA,iBACA,SACA,kBACA,aACA,kBAIFpF,GAAM1I,kBAAkBkK,GAAa9O,UAAW,SAAAiI,EAAYpE,GAAQ,IAAjB4D,EAAKQ,EAALR,MAC7CkL,EAAS9O,EAAI,GAAGsI,cAAgBtI,EAAI5C,MAAM,GAC9C,MAAO,CACL4Q,IAAK,WAAF,OAAQpK,CAAK,EAChB+D,IAAG,SAACoH,GACF1K,KAAKyK,GAAUC,CACjB,EAEJ,GAEAtF,GAAMhC,cAAcwD,IChUpB,SAAS+D,GAAaC,EAAQC,GAC5B,IAAMC,EAAY,IAAIC,IAAIF,EAAW7P,IAAI,SAACgQ,GAAC,OAAK3I,OAAO2I,GAAGhS,aAAa,IACjEP,EAAO,GAEPkM,EAAQ,SAAC3G,GACb,GAAe,OAAXA,GAAqC,WAAlB5E,EAAO4E,GAAqB,OAAOA,EAC1D,GAAIoH,GAAM5L,SAASwE,GAAS,OAAOA,EACnC,IAA6B,IAAzBvF,EAAKC,QAAQsF,GAAjB,CAQA,IAAImC,EACJ,GAPInC,aAAkB4I,KACpB5I,EAASA,EAAOkI,UAGlBzN,EAAKE,KAAKqF,GAGNoH,GAAM/L,QAAQ2E,GAChBmC,EAAS,GACTnC,EAAO3C,QAAQ,SAAC4P,EAAG3P,GACjB,IAAMyJ,EAAeJ,EAAMsG,GACtB7F,GAAM7L,YAAYwL,KACrB5E,EAAO7E,GAAKyJ,EAEhB,OACK,CACL,IAAKK,GAAMpL,cAAcgE,IA9C/B,SAAiCA,GAC/B,GAAIoH,GAAMlC,WAAWlF,EAAQ,UAC3B,OAAO,EAKT,IAFA,IAAIlG,EAAYD,OAAOE,eAAeiG,GAE/BlG,GAAaA,IAAcD,OAAOC,WAAW,CAClD,GAAIsN,GAAMlC,WAAWpL,EAAW,UAC9B,OAAO,EAGTA,EAAYD,OAAOE,eAAeD,EACpC,CAEA,OAAO,CACT,CA8B0CoT,CAAwBlN,GAE1D,OADAvF,EAAK0S,MACEnN,EAGTmC,EAAStI,OAAOgB,OAAO,MACvB,IAAA,IAAAuS,EAAA,EAAAC,EAA2BxT,OAAO2R,QAAQxL,GAAOoN,EAAAC,EAAA5P,OAAA2P,IAAE,CAA9C,IAAAE,EAAAvQ,EAAAsQ,EAAAD,GAAA,GAAOzP,EAAG2P,EAAA,GAAE/L,EAAK+L,EAAA,GACdvG,EAAe+F,EAAUlG,IAAIjJ,EAAI3C,eAvD9B,kBAuD0D2L,EAAMpF,GACpE6F,GAAM7L,YAAYwL,KACrB5E,EAAOxE,GAAOoJ,EAElB,CACF,CAGA,OADAtM,EAAK0S,MACEhL,CAjC0C,CAkCnD,EAEA,OAAOwE,EAAMiG,EACf,CAAC,IAEKW,YAAUC,GAsCd,SAAAD,EAAYE,EAAS5F,EAAM+E,EAAQc,EAASC,GAAU,IAAAC,EAwBnD,OAxBmD9E,OAAAyE,GACpDK,EAAAC,EAAA7L,KAAAuL,GAAME,IAKN5T,OAAOiJ,eAAc8K,EAAO,UAAW,CAGrC7K,UAAW,KACXxB,MAAOkM,EACPxK,YAAY,EACZD,UAAU,EACVE,cAAc,IAGhB0K,EAAK5O,KAAO,aACZ4O,EAAKE,cAAe,EACpBjG,IAAS+F,EAAK/F,KAAOA,GACrB+E,IAAWgB,EAAKhB,OAASA,GACzBc,IAAYE,EAAKF,QAAUA,GACvBC,IACFC,EAAKD,SAAWA,EAChBC,EAAKG,OAASJ,EAASI,QACxBH,CACH,CAAC,OAAAI,EAAAT,EAAAC,GAAA3E,EAAA0E,EAAA,CAAA,CAAA5P,IAAA,SAAA4D,MAED,WAKE,IAAMqL,EAAS5K,KAAK4K,OACdC,EAAaD,GAAUxF,GAAMlC,WAAW0H,EAAQ,UAAYA,EAAOqB,YAASrR,EAC5EsR,EACJ9G,GAAM/L,QAAQwR,IAAeA,EAAWpP,OAAS,EAC7CkP,GAAaC,EAAQC,GACrBzF,GAAMZ,aAAaoG,GAEzB,MAAO,CAELa,QAASzL,KAAKyL,QACdzO,KAAMgD,KAAKhD,KAEXmP,YAAanM,KAAKmM,YAClBC,OAAQpM,KAAKoM,OAEbC,SAAUrM,KAAKqM,SACfC,WAAYtM,KAAKsM,WACjBC,aAAcvM,KAAKuM,aACnBC,MAAOxM,KAAKwM,MAEZ5B,OAAQsB,EACRrG,KAAM7F,KAAK6F,KACXkG,OAAQ/L,KAAK+L,OAEjB,IAAC,CAAA,CAAApQ,IAAA,OAAA4D,MA7FD,SAAYkN,EAAO5G,EAAM+E,EAAQc,EAASC,EAAUe,GAClD,IAAMC,EAAa,IAAIpB,EAAWkB,EAAMhB,QAAS5F,GAAQ4G,EAAM5G,KAAM+E,EAAQc,EAASC,GAsBtF,OAfA9T,OAAOiJ,eAAe6L,EAAY,QAAS,CACzC5L,UAAW,KACXxB,MAAOkN,EACPzL,UAAU,EACVC,YAAY,EACZC,cAAc,IAEhByL,EAAW3P,KAAOyP,EAAMzP,KAGJ,MAAhByP,EAAMV,QAAuC,MAArBY,EAAWZ,SACrCY,EAAWZ,OAASU,EAAMV,QAG5BW,GAAe7U,OAAO8J,OAAOgL,EAAYD,GAClCC,CACT,IAAC,EAAAC,EAzBsBrJ,QAkGzBgI,GAAWsB,qBAAuB,uBAClCtB,GAAWuB,eAAiB,iBAC5BvB,GAAWwB,aAAe,eAC1BxB,GAAWyB,UAAY,YACvBzB,GAAW0B,aAAe,eAC1B1B,GAAW2B,YAAc,cACzB3B,GAAW4B,0BAA4B,4BACvC5B,GAAW6B,eAAiB,iBAC5B7B,GAAW8B,iBAAmB,mBAC9B9B,GAAW+B,gBAAkB,kBAC7B/B,GAAWgC,aAAe,eAC1BhC,GAAWiC,gBAAkB,kBAC7BjC,GAAWkC,gBAAkB,kBAC7BlC,GAAWmC,6BAA+B,+BCvK1C,SAASC,GAAYnV,GACnB,OAAO4M,GAAMpL,cAAcxB,IAAU4M,GAAM/L,QAAQb,EACrD,CASA,SAASoV,GAAejS,GACtB,OAAOyJ,GAAMlD,SAASvG,EAAK,MAAQA,EAAI5C,MAAM,GAAG,GAAM4C,CACxD,CAWA,SAASkS,GAAUC,EAAMnS,EAAKoS,GAC5B,OAAKD,EACEA,EACJnQ,OAAOhC,GACPX,IAAI,SAAcqC,EAAO/B,GAGxB,OADA+B,EAAQuQ,GAAevQ,IACf0Q,GAAQzS,EAAI,IAAM+B,EAAQ,IAAMA,CAC1C,GACCkM,KAAKwE,EAAO,IAAM,IARHpS,CASpB,CAaA,IAAMqS,GAAa5I,GAAMxD,aAAawD,GAAO,CAAA,EAAI,KAAM,SAAgB/M,GACrE,MAAO,WAAWsO,KAAKtO,EACzB,GAyBA,SAAS4V,GAAW7V,EAAKsH,EAAUwO,GACjC,IAAK9I,GAAMrL,SAAS3B,GAClB,MAAM,IAAI8P,UAAU,4BAItBxI,EAAWA,GAAY,IAAA,SAiBvB,IAAMyO,GAdND,EAAU9I,GAAMxD,aACdsM,EACA,CACEC,YAAY,EACZJ,MAAM,EACNK,SAAS,IAEX,EACA,SAAiBC,EAAQrQ,GAEvB,OAAQoH,GAAM7L,YAAYyE,EAAOqQ,GACnC,IAGyBF,WAErBG,EAAUJ,EAAQI,SAAWC,EAC7BR,EAAOG,EAAQH,KACfK,EAAUF,EAAQE,QAClBI,EAAQN,EAAQO,MAAyB,oBAATA,MAAwBA,KACxDC,OAAgC9T,IAArBsT,EAAQQ,SAhHgB,IAgHuCR,EAAQQ,SAClFC,EAAUH,GAASpJ,GAAMb,oBAAoB7E,GAC7C8M,EAAQ,GAEd,IAAKpH,GAAMzL,WAAW2U,GACpB,MAAM,IAAIpG,UAAU,8BAGtB,SAAS0G,EAAarP,GACpB,GAAc,OAAVA,EAAgB,MAAO,GAE3B,GAAI6F,GAAMnL,OAAOsF,GACf,OAAOA,EAAMsP,cAGf,GAAIzJ,GAAMjG,UAAUI,GAClB,OAAOA,EAAM3H,WAGf,IAAK+W,GAAWvJ,GAAMjL,OAAOoF,GAC3B,MAAM,IAAIgM,GAAW,gDAGvB,GAAInG,GAAMxL,cAAc2F,IAAU6F,GAAM/I,aAAakD,GAAQ,CAC3D,GAAIoP,GAA4B,mBAAVH,EACpB,OAAO,IAAIA,EAAM,CAACjP,IAEpB,GAAsB,oBAAXuP,OACT,OAAOA,OAAOC,KAAKxP,GAErB,MAAM,IAAIgM,GAAW,+CAAgDA,GAAWiC,gBAClF,CAEA,OAAOjO,CACT,CAEA,SAASyP,EAAwBC,GAC/B,GAAIA,EAAQP,EACV,MAAM,IAAInD,GACR,gCAAkC0D,EAAQ,wBAA0BP,EACpEnD,GAAWmC,6BAGjB,CAmCA,SAASa,EAAehP,EAAO5D,EAAKmS,GAClC,IAAItL,EAAMjD,EAEV,GAAI6F,GAAM3F,cAAcC,IAAa0F,GAAM9F,kBAAkBC,GAE3D,OADAG,EAASb,OAAOgP,GAAUC,EAAMnS,EAAKoS,GAAOa,EAAarP,KAClD,EAGT,GAAIA,IAAUuO,GAAyB,WAAjB1U,EAAOmG,GAC3B,GAAI6F,GAAMlD,SAASvG,EAAK,MAEtBA,EAAMwS,EAAaxS,EAAMA,EAAI5C,MAAM,MAEnCwG,EA9CN,SAAiCA,EAAO0P,GACtC,GAAIP,IAAaQ,IACf,OAAOC,KAAKC,UAAU7P,GAGxB,IAAM8P,EAAY,GAElB,OAAOF,KAAKC,UAAU7P,EAAO,SAAoBvD,EAAMsT,GACrD,IAAKlK,GAAMrL,SAASuV,GAClB,OAAOA,EAGT,KAAOD,EAAU5T,QAAU4T,EAAUA,EAAU5T,OAAS,KAAOuE,MAC7DqP,EAAUlE,MAMZ,OAHAkE,EAAU1W,KAAK2W,GACfN,EAAwBC,EAAQI,EAAU5T,OAAS,GAE5C6T,CACT,EACF,CAyBcC,CAAwBhQ,EAAO,QAClC,GACJ6F,GAAM/L,QAAQkG,IAzJvB,SAAqBiD,GACnB,OAAO4C,GAAM/L,QAAQmJ,KAASA,EAAIgN,KAAK7B,GACzC,CAuJiC8B,CAAYlQ,KACnC6F,GAAMhL,WAAWmF,IAAU6F,GAAMlD,SAASvG,EAAK,SAAW6G,EAAM4C,GAAM7C,QAAQhD,IAiBhF,OAdA5D,EAAMiS,GAAejS,GAErB6G,EAAInH,QAAQ,SAAcqU,EAAIC,IAC1BvK,GAAM7L,YAAYmW,IAAc,OAAPA,GACzBhQ,EAASb,QAEK,IAAZuP,EACIP,GAAU,CAAClS,GAAMgU,EAAO5B,GACZ,OAAZK,EACEzS,EACAA,EAAM,KACZiT,EAAac,GAEnB,IACO,EAIX,QAAI/B,GAAYpO,KAIhBG,EAASb,OAAOgP,GAAUC,EAAMnS,EAAKoS,GAAOa,EAAarP,KAElD,EACT,CAEA,IAAMqQ,EAAiB/X,OAAO8J,OAAOqM,GAAY,CAC/CO,eAAAA,EACAK,aAAAA,EACAjB,YAAAA,KA2BF,IAAKvI,GAAMrL,SAAS3B,GAClB,MAAM,IAAI8P,UAAU,0BAKtB,OA9BA,SAAS2H,EAAMtQ,EAAOuO,GAAiB,IAAXmB,EAAKvX,UAAA+D,OAAA,QAAAb,IAAAlD,UAAA,GAAAA,UAAA,GAAG,EAClC,IAAI0N,GAAM7L,YAAYgG,GAAtB,CAIA,GAFAyP,EAAwBC,IAEK,IAAzBzC,EAAM9T,QAAQ6G,GAChB,MAAM,IAAIgE,MAAM,kCAAoCuK,EAAKvE,KAAK,MAGhEiD,EAAM7T,KAAK4G,GAEX6F,GAAM/J,QAAQkE,EAAO,SAAcmQ,EAAI/T,IAKtB,OAHXyJ,GAAM7L,YAAYmW,IAAc,OAAPA,IAC3BpB,EAAQhW,KAAKoH,EAAUgQ,EAAItK,GAAMvL,SAAS8B,GAAOA,EAAIwF,OAASxF,EAAKmS,EAAM8B,KAGzEC,EAAMH,EAAI5B,EAAOA,EAAKnQ,OAAOhC,GAAO,CAACA,GAAMsT,EAAQ,EAEvD,GAEAzC,EAAMrB,KApBwB,CAqBhC,CAMA0E,CAAMzX,GAECsH,CACT,CC9QA,SAASoQ,GAAOhX,GACd,IAAMiX,EAAU,CACd,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,MACL,MAAO,KAET,OAAOC,mBAAmBlX,GAAKsI,QAAQ,eAAgB,SAAkBmH,GACvE,OAAOwH,EAAQxH,EACjB,EACF,CAUA,SAAS0H,GAAqBC,EAAQhC,GACpClO,KAAKmQ,OAAS,GAEdD,GAAUjC,GAAWiC,EAAQlQ,KAAMkO,EACrC,CAEA,IAAMpW,GAAYmY,GAAqBnY,UC3BhC,SAASgY,GAAOrW,GACrB,OAAOuW,mBAAmBvW,GACvB2H,QAAQ,QAAS,KACjBA,QAAQ,OAAQ,KAChBA,QAAQ,QAAS,KACjBA,QAAQ,OAAQ,IACrB,CAWe,SAASgP,GAASC,EAAKH,EAAQhC,GAC5C,IAAKgC,EACH,OAAOG,EAETA,EAAMA,GAAO,GAEb,IAYIC,EAZEC,EAAWnL,GAAMzL,WAAWuU,GAC9B,CACEsC,UAAWtC,GAEbA,EAKEuC,EAAUrL,GAAMjC,YAAYoN,EAAU,WAAaT,GACnDY,EAActL,GAAMjC,YAAYoN,EAAU,aAYhD,GAPED,EADEI,EACiBA,EAAYR,EAAQK,GAEpBnL,GAAMvK,kBAAkBqV,GACvCA,EAAOtY,WACP,IAAIqY,GAAqBC,EAAQK,GAAU3Y,SAAS6Y,GAGpC,CACpB,IAAME,EAAgBN,EAAI3X,QAAQ,MAEZ,IAAlBiY,IACFN,EAAMA,EAAItX,MAAM,EAAG4X,IAErBN,SAAQA,EAAI3X,QAAQ,KAAc,IAAM,KAAO4X,CACjD,CAEA,OAAOD,CACT,CD1BAvY,GAAU+G,OAAS,SAAgB7B,EAAMuC,GACvCS,KAAKmQ,OAAOxX,KAAK,CAACqE,EAAMuC,GAC1B,EAEAzH,GAAUF,SAAW,SAAkBgZ,GAAS,IAAAhF,EAAA5L,KACxCyQ,EAAUG,EACZ,SAACrR,GAAK,OAAKqR,EAAQtY,KAAKsT,EAAMrM,EAAOuQ,GAAO,EAC5CA,GAEJ,OAAO9P,KAAKmQ,OACTnV,IAAI,SAAc6H,GACjB,OAAO4N,EAAQ5N,EAAK,IAAM,IAAM4N,EAAQ5N,EAAK,GAC/C,EAAG,IACF0G,KAAK,IACV,EEtDgC,IAE1BsH,GAAkB,WAKtB,OAAAhK,EAJA,SAAAgK,IAAc/J,OAAA+J,GACZ7Q,KAAK8Q,SAAW,EAClB,EAEA,CAAA,CAAAnV,IAAA,MAAA4D,MASA,SAAIwR,EAAWC,EAAU9C,GAOvB,OANAlO,KAAK8Q,SAASnY,KAAK,CACjBoY,UAAAA,EACAC,SAAAA,EACAC,cAAa/C,GAAUA,EAAQ+C,YAC/BC,QAAShD,EAAUA,EAAQgD,QAAU,OAEhClR,KAAK8Q,SAASrV,OAAS,CAChC,GAEA,CAAAE,IAAA,QAAA4D,MAOA,SAAM4R,GACAnR,KAAK8Q,SAASK,KAChBnR,KAAK8Q,SAASK,GAAM,KAExB,GAEA,CAAAxV,IAAA,QAAA4D,MAKA,WACMS,KAAK8Q,WACP9Q,KAAK8Q,SAAW,GAEpB,GAEA,CAAAnV,IAAA,UAAA4D,MAUA,SAAQhI,GACN6N,GAAM/J,QAAQ2E,KAAK8Q,SAAU,SAAwBM,GACzC,OAANA,GACF7Z,EAAG6Z,EAEP,EACF,IAAC,CAhEqB,GCFxBC,GAAe,CACbC,mBAAmB,EACnBC,mBAAmB,EACnBC,qBAAqB,EACrBC,iCAAiC,EACjCC,6BAA6B,EAC7BC,iCAAiC,GCJnCC,GAAe,CACbC,WAAW,EACXC,QAAS,CACPC,gBCJsC,oBAApBA,gBAAkCA,gBAAkB9B,GDKtEtV,SEN+B,oBAAbA,SAA2BA,SAAW,KFOxD8T,KGP2B,oBAATA,KAAuBA,KAAO,MHSlDuD,UAAW,CAAC,OAAQ,QAAS,OAAQ,OAAQ,MAAO,SIXhDC,GAAkC,oBAAXzX,QAA8C,oBAAb0X,SAExDC,GAAmC,YAAL,oBAATC,UAAS,YAAAhZ,EAATgZ,aAA0BA,gBAAcxX,EAmB7DyX,GACJJ,MACEE,IAAc,CAAC,cAAe,eAAgB,MAAMzZ,QAAQyZ,GAAWG,SAAW,GAWhFC,GAE2B,oBAAtBC,mBAEPjY,gBAAgBiY,mBACc,mBAAvBjY,KAAKkY,cAIVC,GAAUT,IAAiBzX,OAAOmY,SAASC,MAAS,mBCxC1DC,GAAAC,EAAAA,EAAA,CAAA,sIAEKD,ICGL,SAASE,GAAqBpD,GAC5B,GAAIA,EXAqC,IWCvC,MAAM,IAAIpE,GACR,wCAA0CoE,EAA1C,2BACApE,GAAWmC,6BAGjB,CAqDA,SAASsF,GAAetT,GACtB,SAASuT,EAAUnF,EAAMvO,EAAOuF,EAAQ6K,GACtCoD,GAAqBpD,GAErB,IAAI3S,EAAO8Q,EAAK6B,KAEhB,GAAa,cAAT3S,EAAsB,OAAO,EAEjC,IAAMkW,EAAe7O,OAAOC,UAAUtH,GAChCmW,EAASxD,GAAS7B,EAAKrS,OAG7B,OAFAuB,GAAQA,GAAQoI,GAAM/L,QAAQyL,GAAUA,EAAOrJ,OAASuB,EAEpDmW,GACE/N,GAAMlC,WAAW4B,EAAQ9H,GAC3B8H,EAAO9H,GAAQoI,GAAM/L,QAAQyL,EAAO9H,IAChC8H,EAAO9H,GAAMW,OAAO4B,GACpB,CAACuF,EAAO9H,GAAOuC,GAEnBuF,EAAO9H,GAAQuC,GAGT2T,IAGL9N,GAAMlC,WAAW4B,EAAQ9H,IAAUoI,GAAMrL,SAAS+K,EAAO9H,MAC5D8H,EAAO9H,GAAQ,IAGFiW,EAAUnF,EAAMvO,EAAOuF,EAAO9H,GAAO2S,IAEtCvK,GAAM/L,QAAQyL,EAAO9H,MACjC8H,EAAO9H,GAnDb,SAAuBwF,GACrB,IAEIlH,EAEAK,EAJEvD,EAAM,CAAA,EACNwD,EAAO/D,OAAO+D,KAAK4G,GAEnB1G,EAAMF,EAAKH,OAEjB,IAAKH,EAAI,EAAGA,EAAIQ,EAAKR,IAEnBlD,EADAuD,EAAMC,EAAKN,IACAkH,EAAI7G,GAEjB,OAAOvD,CACT,CAwCqBgb,CAActO,EAAO9H,MAG9BkW,EACV,CAEA,GAAI9N,GAAMzG,WAAWe,IAAa0F,GAAMzL,WAAW+F,EAAS8J,SAAU,CACpE,IAAMpR,EAAM,CAAA,EAMZ,OAJAgN,GAAM3C,aAAa/C,EAAU,SAAC1C,EAAMuC,GAClC0T,EArFN,SAAuBjW,GASrB,IAJA,IAEIuL,EAFEuF,EAAO,GACPuF,EAAU,gBAGwB,QAAhC9K,EAAQ8K,EAAQpQ,KAAKjG,KAC3B+V,GAAqBjF,EAAKrS,QAC1BqS,EAAKnV,KAAkB,OAAb4P,EAAM,GAAc,GAAKA,EAAM,IAAMA,EAAM,IAGvD,OAAOuF,CACT,CAsEgBwF,CAActW,GAAOuC,EAAOnH,EAAK,EAC7C,GAEOA,CACT,CAEA,OAAO,IACT,CC1GA,IAAMmb,GAAM,SAACnb,EAAKuD,GAAG,OAAa,MAAPvD,GAAegN,GAAMlC,WAAW9K,EAAKuD,GAAOvD,EAAIuD,QAAOf,CAAS,EA2B3F,IAAM4Y,GAAW,CACfC,aAAcpC,GAEdqC,QAAS,CAAC,MAAO,OAAQ,SAEzBC,iBAAkB,CAChB,SAA0B1V,EAAM+H,GAC9B,IAgCI5L,EAhCEwZ,EAAc5N,EAAQ6N,kBAAoB,GAC1CC,EAAqBF,EAAYlb,QAAQ,qBAAsB,EAC/Dqb,EAAkB3O,GAAMrL,SAASkE,GAQvC,GANI8V,GAAmB3O,GAAM7I,WAAW0B,KACtCA,EAAO,IAAItD,SAASsD,IAGHmH,GAAMzG,WAAWV,GAGlC,OAAO6V,EAAqB3E,KAAKC,UAAU4D,GAAe/U,IAASA,EAGrE,GACEmH,GAAMxL,cAAcqE,IACpBmH,GAAM5L,SAASyE,IACfmH,GAAMxF,SAAS3B,IACfmH,GAAMlL,OAAO+D,IACbmH,GAAMjL,OAAO8D,IACbmH,GAAMnK,iBAAiBgD,GAEvB,OAAOA,EAET,GAAImH,GAAMrG,kBAAkBd,GAC1B,OAAOA,EAAKiB,OAEd,GAAIkG,GAAMvK,kBAAkBoD,GAE1B,OADA+H,EAAQgO,eAAe,mDAAmD,GACnE/V,EAAKrG,WAKd,GAAImc,EAAiB,CACnB,IAAME,EAAiBV,GAAIvT,KAAM,kBACjC,GAAI4T,EAAYlb,QAAQ,sCAAuC,EAC7D,OC3EK,SAA0BuF,EAAMiQ,GAC7C,OAAOD,GAAWhQ,EAAM,IAAI4U,GAASf,QAAQC,gBAAiBe,EAAA,CAC5DxE,QAAS,SAAU/O,EAAO5D,EAAKmS,EAAMoG,GACnC,OAAIrB,GAASsB,QAAU/O,GAAM5L,SAAS+F,IACpCS,KAAKnB,OAAOlD,EAAK4D,EAAM3H,SAAS,YACzB,GAGFsc,EAAQ3F,eAAe9W,MAAMuI,KAAMtI,UAC5C,GACGwW,GAEP,CD+DiBkG,CAAiBnW,EAAMgW,GAAgBrc,WAGhD,IACGwC,EAAagL,GAAMhL,WAAW6D,KAC/B2V,EAAYlb,QAAQ,0BACpB,CACA,IAAM2b,EAAMd,GAAIvT,KAAM,OAChBsU,EAAYD,GAAOA,EAAI1Z,SAE7B,OAAOsT,GACL7T,EAAa,CAAE,UAAW6D,GAASA,EACnCqW,GAAa,IAAIA,EACjBL,EAEJ,CACF,CAEA,OAAIF,GAAmBD,GACrB9N,EAAQgO,eAAe,oBAAoB,GA9EnD,SAAyBO,EAAUjM,EAAQsI,GACzC,GAAIxL,GAAMvL,SAAS0a,GACjB,IAEE,OADCjM,GAAU6G,KAAKqF,OAAOD,GAChBnP,GAAMjE,KAAKoT,EACpB,CAAE,MAAOlV,GACP,GAAe,gBAAXA,EAAErC,KACJ,MAAMqC,CAEV,CAGF,OAAQuR,GAAWzB,KAAKC,WAAWmF,EACrC,CAkEeE,CAAgBxW,IAGlBA,CACT,GAGFyW,kBAAmB,CACjB,SAA2BzW,GACzB,IAAMwV,EAAeF,GAAIvT,KAAM,iBAAmBwT,GAASC,aACrDlC,EAAoBkC,GAAgBA,EAAalC,kBACjDoD,EAAepB,GAAIvT,KAAM,gBACzB4U,EAAiC,SAAjBD,EAEtB,GAAIvP,GAAMjK,WAAW8C,IAASmH,GAAMnK,iBAAiBgD,GACnD,OAAOA,EAGT,GACEA,GACAmH,GAAMvL,SAASoE,KACbsT,IAAsBoD,GAAiBC,GACzC,CACA,IACMC,IADoBpB,GAAgBA,EAAanC,oBACPsD,EAEhD,IACE,OAAOzF,KAAKqF,MAAMvW,EAAMsV,GAAIvT,KAAM,gBACpC,CAAE,MAAOX,GACP,GAAIwV,EAAmB,CACrB,GAAe,gBAAXxV,EAAErC,KACJ,MAAMuO,GAAWwD,KAAK1P,EAAGkM,GAAW8B,iBAAkBrN,KAAM,KAAMuT,GAAIvT,KAAM,aAE9E,MAAMX,CACR,CACF,CACF,CAEA,OAAOpB,CACT,GAOF6W,QAAS,EAETC,eAAgB,aAChBC,eAAgB,eAEhBC,kBAAkB,EAClBC,eAAe,EAEfb,IAAK,CACH1Z,SAAUkY,GAASf,QAAQnX,SAC3B8T,KAAMoE,GAASf,QAAQrD,MAGzB0G,eAAgB,SAAwBpJ,GACtC,OAAOA,GAAU,KAAOA,EAAS,GACnC,EAEA/F,QAAS,CACPoP,OAAQ,CACNC,OAAQ,oCACR,oBAAgBza,KEzJP,SAAS0a,GAAcC,EAAK5J,GACzC,IAAMf,EAAS5K,MAAQwT,GACjBrX,EAAUwP,GAAYf,EACtB5E,EAAUY,GAAamI,KAAK5S,EAAQ6J,SACtC/H,EAAO9B,EAAQ8B,KAQnB,OANAmH,GAAM/J,QAAQka,EAAK,SAAmBhe,GACpC0G,EAAO1G,EAAGe,KAAKsS,EAAQ3M,EAAM+H,EAAQwP,YAAa7J,EAAWA,EAASI,YAASnR,EACjF,GAEAoL,EAAQwP,YAEDvX,CACT,CCzBe,SAASwX,GAASlW,GAC/B,SAAUA,IAASA,EAAMmW,WAC3B,CHwKAtQ,GAAM/J,QAAQ,CAAC,SAAU,MAAO,OAAQ,OAAQ,MAAO,QAAS,SAAU,SAACsa,GACzEnC,GAASxN,QAAQ2P,GAAU,CAAA,CAC7B,GI5K+C,IAEzCC,YAAaC,GAUjB,SAAAD,EAAYnK,EAASb,EAAQc,GAAS,IAAAE,EAGb,OAHa9E,OAAA8O,IACpChK,EAAAC,EAAA7L,KAAA4V,EAAA,CAAiB,MAAXnK,EAAkB,WAAaA,EAASF,GAAWgC,aAAc3C,EAAQc,KAC1E1O,KAAO,gBACZ4O,EAAK8J,YAAa,EAAK9J,CACzB,CAAC,OAAAI,EAAA4J,EAAAC,GAAAhP,EAAA+O,EAAA,EAdyBrK,ICSb,SAASuK,GAAOC,EAASC,EAAQrK,GAC9C,IAAMwJ,EAAiBxJ,EAASf,OAAOuK,eAClCxJ,EAASI,QAAWoJ,IAAkBA,EAAexJ,EAASI,QAGjEiK,EAAO,IAAIzK,GACT,mCAAqCI,EAASI,OAC9CJ,EAASI,QAAU,KAAOJ,EAASI,OAAS,IAAMR,GAAW+B,gBAAkB/B,GAAW8B,iBAC1F1B,EAASf,OACTe,EAASD,QACTC,IAPFoK,EAAQpK,EAUZ,CCtBO,IAAMsK,GAAuB,SAACC,EAAUC,GAA+B,IAAbC,EAAI1e,UAAA+D,OAAA,QAAAb,IAAAlD,UAAA,GAAAA,UAAA,GAAG,EAClE2e,EAAgB,EACdC,ECER,SAAqBC,EAAcC,GACjCD,EAAeA,GAAgB,GAC/B,IAIIE,EAJEC,EAAQ,IAAIpd,MAAMid,GAClBI,EAAa,IAAIrd,MAAMid,GACzBK,EAAO,EACPC,EAAO,EAKX,OAFAL,OAAc5b,IAAR4b,EAAoBA,EAAM,IAEzB,SAAcM,GACnB,IAAMC,EAAMC,KAAKD,MAEXE,EAAYN,EAAWE,GAExBJ,IACHA,EAAgBM,GAGlBL,EAAME,GAAQE,EACdH,EAAWC,GAAQG,EAKnB,IAHA,IAAIzb,EAAIub,EACJK,EAAa,EAEV5b,IAAMsb,GACXM,GAAcR,EAAMpb,KACpBA,GAAQib,EASV,IANAK,GAAQA,EAAO,GAAKL,KAEPM,IACXA,GAAQA,EAAO,GAAKN,KAGlBQ,EAAMN,EAAgBD,GAA1B,CAIA,IAAMW,EAASF,GAAaF,EAAME,EAElC,OAAOE,EAASvZ,KAAKwZ,MAAoB,IAAbF,EAAqBC,QAAUvc,CAJ3D,CAKF,CACF,CD9CuByc,CAAY,GAAI,KAErC,OEFF,SAAkB9f,EAAI6e,GACpB,IAEIkB,EACAC,EAHAC,EAAY,EACZC,EAAY,IAAOrB,EAIjBsB,EAAS,SAACC,GAA2B,IAArBZ,EAAGrf,UAAA+D,eAAAb,IAAAlD,UAAA,GAAAA,UAAA,GAAGsf,KAAKD,MAC/BS,EAAYT,EACZO,EAAW,KACPC,IACFK,aAAaL,GACbA,EAAQ,MAEVhgB,EAAEE,WAAA,EAAA0Q,EAAIwP,GACR,EAoBA,MAAO,CAlBW,WAEe,IAD/B,IAAMZ,EAAMC,KAAKD,MACXI,EAASJ,EAAMS,EAAUpO,EAAA1R,UAAA+D,OAFXkc,EAAI,IAAAre,MAAA8P,GAAApN,EAAA,EAAAA,EAAAoN,EAAApN,IAAJ2b,EAAI3b,GAAAtE,UAAAsE,GAGpBmb,GAAUM,EACZC,EAAOC,EAAMZ,IAEbO,EAAWK,EACNJ,IACHA,EAAQnZ,WAAW,WACjBmZ,EAAQ,KACRG,EAAOJ,EACT,EAAGG,EAAYN,IAGrB,EAEc,WAAH,OAASG,GAAYI,EAAOJ,EAAS,EAGlD,CFjCSO,CAAS,SAACxY,GACf,GAAKA,GAAyB,iBAAbA,EAAEyY,OAAnB,CAGA,IAAMC,EAAY1Y,EAAEyY,OACdE,EAAQ3Y,EAAE4Y,iBAAmB5Y,EAAE2Y,WAAQpd,EACvCkd,EAAkB,MAATE,EAAgBpa,KAAK4Y,IAAIuB,EAAWC,GAASD,EACtDG,EAAgBta,KAAKua,IAAI,EAAGL,EAASzB,GACrC+B,EAAO9B,EAAa4B,GAE1B7B,EAAgBzY,KAAKua,IAAI9B,EAAeyB,GAExC,IAAM7Z,EAAIoa,EAAA,CACRP,OAAAA,EACAE,MAAAA,EACAM,SAAUN,EAAQF,EAASE,OAAQpd,EACnC8b,MAAOwB,EACPE,KAAMA,QAAcxd,EACpB2d,UAAWH,GAAQJ,GAASA,EAAQF,GAAUM,OAAOxd,EACrD4d,MAAOnZ,EACP4Y,iBAA2B,MAATD,GACjB7B,EAAmB,WAAa,UAAW,GAG9CD,EAASjY,EArBT,CAsBF,EAAGmY,EACL,EAEaqC,GAAyB,SAACT,EAAOU,GAC5C,IAAMT,EAA4B,MAATD,EAEzB,MAAO,CACL,SAACF,GAAM,OACLY,EAAU,GAAG,CACXT,iBAAAA,EACAD,MAAAA,EACAF,OAAAA,GACA,EACJY,EAAU,GAEd,EAEaC,GACX,SAACphB,GAAE,OACH,WAAA,IAAA,IAAA6R,EAAA1R,UAAA+D,OAAIkc,EAAI,IAAAre,MAAA8P,GAAApN,EAAA,EAAAA,EAAAoN,EAAApN,IAAJ2b,EAAI3b,GAAAtE,UAAAsE,GAAA,OACNoJ,GAAM/G,KAAK,WAAA,OAAM9G,EAAEE,WAAA,EAAIkgB,EAAK,EAAC,CAAA,EGnDjCiB,GAAe/F,GAASR,sBACnB,SAACK,EAAQmG,GAAM,OAAK,SAACxI,GAGpB,OAFAA,EAAM,IAAIyI,IAAIzI,EAAKwC,GAASH,QAG1BA,EAAOqG,WAAa1I,EAAI0I,UACxBrG,EAAOsG,OAAS3I,EAAI2I,OACnBH,GAAUnG,EAAOuG,OAAS5I,EAAI4I,KAEnC,CAAC,CARA,CASC,IAAIH,IAAIjG,GAASH,QACjBG,GAAST,WAAa,kBAAkBzL,KAAKkM,GAAST,UAAU8G,YAElE,WAAA,OAAM,CAAI,ECZdC,GAAetG,GAASR,sBAEpB,CACE+G,eAAMpc,EAAMuC,EAAO8Z,EAASvL,EAAMwL,EAAQC,EAAQC,GAChD,GAAwB,oBAAbtH,SAAX,CAEA,IAAMuH,EAAS,CAAA,GAAA9b,OAAIX,EAAI,KAAAW,OAAIqS,mBAAmBzQ,KAE1C6F,GAAMtL,SAASuf,IACjBI,EAAO9gB,KAAI,WAAAgF,OAAY,IAAIqZ,KAAKqC,GAASK,gBAEvCtU,GAAMvL,SAASiU,IACjB2L,EAAO9gB,KAAI,QAAAgF,OAASmQ,IAElB1I,GAAMvL,SAASyf,IACjBG,EAAO9gB,KAAI,UAAAgF,OAAW2b,KAET,IAAXC,GACFE,EAAO9gB,KAAK,UAEVyM,GAAMvL,SAAS2f,IACjBC,EAAO9gB,KAAI,YAAAgF,OAAa6b,IAG1BtH,SAASuH,OAASA,EAAOlQ,KAAK,KApBO,CAqBvC,EAEAoQ,KAAI,SAAC3c,GACH,GAAwB,oBAAbkV,SAA0B,OAAO,KAO5C,IADA,IAAMiH,EAAUjH,SAASuH,OAAO7V,MAAM,KAC7BtI,EAAI,EAAGA,EAAI6d,EAAQ1d,OAAQH,IAAK,CACvC,IAAMme,EAASN,EAAQ7d,GAAG8F,QAAQ,OAAQ,IACpCwY,EAAKH,EAAO/gB,QAAQ,KAC1B,IAAW,IAAPkhB,GAAaH,EAAO1gB,MAAM,EAAG6gB,KAAQ5c,EACvC,IACE,OAAO6c,mBAAmBJ,EAAO1gB,MAAM6gB,EAAK,GAC9C,CAAE,MAAOva,GACP,OAAOoa,EAAO1gB,MAAM6gB,EAAK,EAC3B,CAEJ,CACA,OAAO,IACT,EAEAE,OAAM,SAAC9c,GACLgD,KAAKoZ,MAAMpc,EAAM,GAAIga,KAAKD,MAAQ,MAAU,IAC9C,GAGF,CACEqC,MAAK,WAAI,EACTO,KAAI,WACF,OAAO,IACT,EACAG,OAAM,WAAI,GCxDhB,IAAMC,GAAwB,oBACxBC,GAAgC,YActC,SAASC,GAA2B5J,EAAKzF,GACvC,GAAmB,iBAARyF,GAAoB0J,GAAsBpT,KALvD,SAAsC0J,GACpC,OATF,SAAsCA,GAEpC,IADA,IAAI/U,EAAI,EACDA,EAAI+U,EAAI5U,QAAU4U,EAAI9O,WAAWjG,IAAM,IAC5CA,IAEF,OAAO+U,EAAItX,MAAMuC,EACnB,CAGS4e,CAA6B7J,GAAKjP,QAAQ4Y,GAA+B,GAClF,CAG4DG,CAA6B9J,IACrF,MAAM,IAAI9E,GACR,2CACAA,GAAWkC,gBACX7C,EAGN,CAYe,SAASwP,GAAcC,EAASC,EAAcC,EAAmB3P,GAC9EqP,GAA2BK,EAAc1P,GACzC,IClCoCyF,EDkChCmK,IC9Be,iBAJiBnK,EDkCDiK,IC1B5B,8BAA8B3T,KAAK0J,ID2B1C,OAAIgK,IAAYG,IAAuC,IAAtBD,IAC/BN,GAA2BI,EAASzP,GEnCzB,SAAqByP,EAASI,GAC3C,OAAOA,EACHJ,EAAQjZ,QAAQ,SAAU,IAAM,IAAMqZ,EAAYrZ,QAAQ,OAAQ,IAClEiZ,CACN,CFgCWK,CAAYL,EAASC,IAEvBA,CACT,CG5CA,IAAMK,GAAkB,SAACniB,GAAK,OAAMA,aAAiBoO,GAAYkM,EAAA,CAAA,EAAQta,GAAUA,CAAK,EAWzE,SAASoiB,GAAYC,EAASC,GAE3CD,EAAUA,GAAW,CAAA,EACrBC,EAAUA,GAAW,CAAA,EAMrB,IAAMlQ,EAAS/S,OAAOgB,OAAO,MAW7B,SAASkiB,EAAejW,EAAQ9G,EAAQ3F,EAAM4H,GAC5C,OAAImF,GAAMpL,cAAc8K,IAAWM,GAAMpL,cAAcgE,GAC9CoH,GAAMtF,MAAMxH,KAAK,CAAE2H,SAAAA,GAAY6E,EAAQ9G,GACrCoH,GAAMpL,cAAcgE,GACtBoH,GAAMtF,MAAM,CAAA,EAAI9B,GACdoH,GAAM/L,QAAQ2E,GAChBA,EAAOjF,QAETiF,CACT,CAEA,SAASgd,EAAoBpa,EAAGC,EAAGxI,EAAM4H,GACvC,OAAKmF,GAAM7L,YAAYsH,GAEXuE,GAAM7L,YAAYqH,QAAvB,EACEma,OAAengB,EAAWgG,EAAGvI,EAAM4H,GAFnC8a,EAAena,EAAGC,EAAGxI,EAAM4H,EAItC,CAGA,SAASgb,EAAiBra,EAAGC,GAC3B,IAAKuE,GAAM7L,YAAYsH,GACrB,OAAOka,OAAengB,EAAWiG,EAErC,CAGA,SAASqa,EAAiBta,EAAGC,GAC3B,OAAKuE,GAAM7L,YAAYsH,GAEXuE,GAAM7L,YAAYqH,QAAvB,EACEma,OAAengB,EAAWgG,GAF1Bma,OAAengB,EAAWiG,EAIrC,CAyBA,SAASsa,EAAgBva,EAAGC,EAAGxI,GAC7B,OAAI+M,GAAMlC,WAAW4X,EAASziB,GACrB0iB,EAAena,EAAGC,GAChBuE,GAAMlC,WAAW2X,EAASxiB,GAC5B0iB,OAAengB,EAAWgG,QAD5B,CAGT,CA1EA/I,OAAOiJ,eAAe8J,EAAQ,iBAAkB,CAG9C7J,UAAW,KACXxB,MAAO1H,OAAOC,UAAUK,eACxB8I,YAAY,EACZD,UAAU,EACVE,cAAc,IAqEhB,IAAMka,EAAW,CACf/K,IAAK4K,EACLtF,OAAQsF,EACRhd,KAAMgd,EACNZ,QAASa,EACTvH,iBAAkBuH,EAClBxG,kBAAmBwG,EACnBG,iBAAkBH,EAClBpG,QAASoG,EACTI,eAAgBJ,EAChBK,gBAAiBL,EACjBM,cAAeN,EACfxH,QAASwH,EACTvG,aAAcuG,EACdnG,eAAgBmG,EAChBlG,eAAgBkG,EAChBO,iBAAkBP,EAClBQ,mBAAoBR,EACpBS,WAAYT,EACZjG,iBAAkBiG,EAClBhG,cAAegG,EACfU,eAAgBV,EAChBW,UAAWX,EACXY,UAAWZ,EACXa,WAAYb,EACZc,YAAad,EACbe,WAAYf,EACZgB,mBAAoBhB,EACpBiB,iBAAkBjB,EAClB/F,eAAgBgG,EAChBnV,QAAS,SAACpF,EAAGC,EAAGxI,GAAI,OAClB2iB,EAAoBL,GAAgB/Z,GAAI+Z,GAAgB9Z,GAAIxI,GAAM,EAAK,GAwB3E,OArBA+M,GAAM/J,QAAQxD,OAAO+D,KAAIkX,EAAAA,KAAM+H,GAAYC,IAAY,SAA4BziB,GACjF,GAAa,cAATA,GAAiC,gBAATA,GAAmC,cAATA,EAAtD,CACA,IAAMyH,EAAQsF,GAAMlC,WAAWkY,EAAU/iB,GAAQ+iB,EAAS/iB,GAAQ2iB,EAG5DoB,EAActc,EAFVsF,GAAMlC,WAAW2X,EAASxiB,GAAQwiB,EAAQxiB,QAAQuC,EAClDwK,GAAMlC,WAAW4X,EAASziB,GAAQyiB,EAAQziB,QAAQuC,EAC5BvC,GAC/B+M,GAAM7L,YAAY6iB,IAAgBtc,IAAUqb,IAAqBvQ,EAAOvS,GAAQ+jB,EALL,CAM9E,GAGEhX,GAAMlC,WAAW4X,EAAS,mBAC1B1V,GAAM7L,YAAYuhB,EAAQ3F,kBACyC,IA7ErE,SAAqC9c,GACnC,IAAMgkB,EAAgBjX,GAAMlC,WAAW4X,EAAS,gBAAkBA,EAAQrH,kBAAe7Y,EAEzF,IAAKwK,GAAM7L,YAAY8iB,GAAgB,CACrC,IAAIjX,GAAMpL,cAAcqiB,GAKtB,OAJA,GAAIjX,GAAMlC,WAAWmZ,EAAehkB,GAClC,OAAOgkB,EAAchkB,EAK3B,CAEA,IAAMikB,EAAgBlX,GAAMlC,WAAW2X,EAAS,gBAAkBA,EAAQpH,kBAAe7Y,EAEzF,GAAIwK,GAAMpL,cAAcsiB,IAAkBlX,GAAMlC,WAAWoZ,EAAejkB,GACxE,OAAOikB,EAAcjkB,EAIzB,CAyDEkkB,CAA4B,qCAExBnX,GAAMlC,WAAW2X,EAAS,kBAC5BjQ,EAAOuK,eAAiB4F,OAAengB,EAAWigB,EAAQ1F,uBAEnDvK,EAAOuK,gBAIXvK,CACT,CCpJA,IAAM4R,GAA4B,CAAC,eAAgB,kBA4BnD,SAASC,GAAc7R,GACrB,IAAM8R,EAAY9B,GAAY,CAAA,EAAIhQ,GAI5B2I,EAAM,SAAC5X,GAAG,OAAMyJ,GAAMlC,WAAWwZ,EAAW/gB,GAAO+gB,EAAU/gB,QAAOf,CAAS,EAE7EqD,EAAOsV,EAAI,QACbiI,EAAgBjI,EAAI,iBAClByB,EAAiBzB,EAAI,kBACrBwB,EAAiBxB,EAAI,kBACvBvN,EAAUuN,EAAI,WACZoJ,EAAOpJ,EAAI,QACX8G,EAAU9G,EAAI,WACdgH,EAAoBhH,EAAI,qBACxBlD,EAAMkD,EAAI,OAWhB,GATAmJ,EAAU1W,QAAUA,EAAUY,GAAamI,KAAK/I,GAEhD0W,EAAUrM,IAAMD,GACdgK,GAAcC,EAAShK,EAAKkK,EAAmBmC,GAC/CnJ,EAAI,UACJA,EAAI,qBAIFoJ,EAAM,CACR,IAAMC,EAAWxX,GAAMjC,YAAYwZ,EAAM,aAAe,GAClDE,EAAWzX,GAAMjC,YAAYwZ,EAAM,aAAe,GAExD,IACE3W,EAAQ1C,IACN,gBACA,SAAWwZ,KAAKF,EAAW,KAAOC,EArCxC7M,mBAqC8D6M,GArCtCzb,QAAQ,mBAAoB,SAAC2b,EAAGC,GAAG,OACzD3a,OAAO4a,aAAaC,SAASF,EAAK,IAAI,GAoCkC,KAExE,CAAE,MAAO3d,GACP,MAAMkM,GAAWwD,KAAK1P,EAAGkM,GAAWsB,qBAAsBjC,EAC5D,CACF,CAmBA,IAjBIxF,GAAMzG,WAAWV,KAEjB4U,GAASR,uBACTQ,GAASN,gCACTnN,GAAM3F,cAAcxB,GAEpB+H,EAAQgO,oBAAepZ,GACdwK,GAAMzL,WAAWsE,EAAKkf,aAzErC,SAA4BnX,EAASoX,EAAaC,GACjC,iBAAXA,EAKJxlB,OAAO2R,QAAQ4T,GAAe,CAAA,GAAI/hB,QAAQ,SAAAoO,GAAgB,IAAAC,EAAA3O,EAAA0O,EAAA,GAAd9N,EAAG+N,EAAA,GAAEjQ,EAAGiQ,EAAA,GAC9C8S,GAA0BnZ,SAAS1H,EAAI3C,gBACzCgN,EAAQ1C,IAAI3H,EAAKlC,EAErB,GAREuM,EAAQ1C,IAAI8Z,EAShB,CAgEME,CAAmBtX,EAAS/H,EAAKkf,aAAc5J,EAAI,0BAQnDV,GAASR,yBACPjN,GAAMzL,WAAW6hB,KACnBA,EAAgBA,EAAckB,KAOZ,IAAlBlB,GAA4C,MAAjBA,GAAyB5C,GAAgB8D,EAAUrM,MAE5D,CAClB,IAAMkN,EAAYvI,GAAkBD,GAAkBoE,GAAQQ,KAAK5E,GAE/DwI,GACFvX,EAAQ1C,IAAI0R,EAAgBuI,EAEhC,CAGF,OAAOb,CACT,CCxGA,IAEAc,GAFwD,oBAAnBC,gBAGnC,SAAU7S,GACR,OAAO,IAAI8S,QAAQ,SAA4B3H,EAASC,GACtD,IAII2H,EACAC,EAAiBC,EACjBC,EAAaC,EANXC,EAAUvB,GAAc7R,GAC1BqT,EAAcD,EAAQ/f,KACpBigB,EAAiBtX,GAAamI,KAAKiP,EAAQhY,SAASwP,YACpDb,EAAuDqJ,EAAvDrJ,aAAc8G,EAAyCuC,EAAzCvC,iBAAkBC,EAAuBsC,EAAvBtC,mBAKtC,SAAS9Y,IACPkb,GAAeA,IACfC,GAAiBA,IAEjBC,EAAQhC,aAAegC,EAAQhC,YAAYmC,YAAYR,GAEvDK,EAAQI,QAAUJ,EAAQI,OAAOC,oBAAoB,QAASV,EAChE,CAEA,IAAIjS,EAAU,IAAI+R,eAOlB,SAASa,IACP,GAAK5S,EAAL,CAIA,IAAM6S,EAAkB3X,GAAamI,KACnC,0BAA2BrD,GAAWA,EAAQ8S,yBAehD1I,GACE,SAAkBvW,GAChBwW,EAAQxW,GACRqD,GACF,EACA,SAAiBwF,GACf4N,EAAO5N,GACPxF,GACF,EAjBe,CACf3E,KAJC0W,GAAiC,SAAjBA,GAA4C,SAAjBA,EAExCjJ,EAAQC,SADRD,EAAQ+S,aAIZ1S,OAAQL,EAAQK,OAChB2S,WAAYhT,EAAQgT,WACpB1Y,QAASuY,EACT3T,OAAAA,EACAc,QAAAA,IAgBFA,EAAU,IA/BV,CAgCF,CAmGA,GA3IAA,EAAQiT,KAAKX,EAAQrI,OAAO1R,cAAe+Z,EAAQ3N,KAAK,GAGxD3E,EAAQoJ,QAAUkJ,EAAQlJ,QAuCtB,cAAepJ,EAEjBA,EAAQ4S,UAAYA,EAGpB5S,EAAQkT,mBAAqB,WACtBlT,GAAkC,IAAvBA,EAAQmT,aASH,IAAnBnT,EAAQK,QACNL,EAAQoT,aAAepT,EAAQoT,YAAYC,WAAW,WAM1D3gB,WAAWkgB,EACb,EAIF5S,EAAQsT,QAAU,WACXtT,IAILsK,EAAO,IAAIzK,GAAW,kBAAmBA,GAAWwB,aAAcnC,EAAQc,IAC1E9I,IAGA8I,EAAU,KACZ,EAGAA,EAAQuT,QAAU,SAAqBzG,GAIrC,IAAM0G,EAAM1G,GAASA,EAAM/M,QAAU+M,EAAM/M,QAAU,gBAC/CrD,EAAM,IAAImD,GAAW2T,EAAK3T,GAAW2B,YAAatC,EAAQc,GAEhEtD,EAAIoQ,MAAQA,GAAS,KACrBxC,EAAO5N,GACPxF,IACA8I,EAAU,IACZ,EAGAA,EAAQyT,UAAY,WAClB,IAAIC,EAAsBpB,EAAQlJ,QAC9B,cAAgBkJ,EAAQlJ,QAAU,cAClC,mBACErB,EAAeuK,EAAQvK,cAAgBpC,GACzC2M,EAAQoB,sBACVA,EAAsBpB,EAAQoB,qBAEhCpJ,EACE,IAAIzK,GACF6T,EACA3L,EAAajC,oBAAsBjG,GAAWyB,UAAYzB,GAAWwB,aACrEnC,EACAc,IAGJ9I,IAGA8I,EAAU,IACZ,OAGgB9Q,IAAhBqjB,GAA6BC,EAAelK,eAAe,MAGvD,qBAAsBtI,GACxBtG,GAAM/J,QAAQ0K,GAAyBmY,GAAiB,SAA0BzkB,EAAKkC,GACrF+P,EAAQ2T,iBAAiB1jB,EAAKlC,EAChC,GAIG2L,GAAM7L,YAAYykB,EAAQzC,mBAC7B7P,EAAQ6P,kBAAoByC,EAAQzC,iBAIlC5G,GAAiC,SAAjBA,IAClBjJ,EAAQiJ,aAAeqJ,EAAQrJ,cAI7B+G,EAAoB,CAAA,IAC6D4D,EAAAvkB,EAA9Ckb,GAAqByF,GAAoB,GAAK,GAAlFmC,EAAiByB,EAAA,GAAEvB,EAAauB,EAAA,GACjC5T,EAAQ5N,iBAAiB,WAAY+f,EACvC,CAGA,GAAIpC,GAAoB/P,EAAQ6T,OAAQ,CAAA,IACiCC,EAAAzkB,EAAtCkb,GAAqBwF,GAAiB,GAAtEmC,EAAe4B,EAAA,GAAE1B,EAAW0B,EAAA,GAE7B9T,EAAQ6T,OAAOzhB,iBAAiB,WAAY8f,GAE5ClS,EAAQ6T,OAAOzhB,iBAAiB,UAAWggB,EAC7C,EAEIE,EAAQhC,aAAegC,EAAQI,UAGjCT,EAAa,SAAC8B,GACP/T,IAGLsK,GAAQyJ,GAAUA,EAAOvmB,KAAO,IAAI0c,GAAc,KAAMhL,EAAQc,GAAW+T,GAC3E/T,EAAQgU,QACR9c,IACA8I,EAAU,KACZ,EAEAsS,EAAQhC,aAAegC,EAAQhC,YAAY2D,UAAUhC,GACjDK,EAAQI,SACVJ,EAAQI,OAAOwB,QACXjC,IACAK,EAAQI,OAAOtgB,iBAAiB,QAAS6f,KAIjD,IChNgCtN,EAC9B9H,ED+MIwQ,GChN0B1I,EDgND2N,EAAQ3N,KC/MrC9H,EAAQ,4BAA4BtF,KAAKoN,KAC9B9H,EAAM,IAAO,IDgN1B,GAAIwQ,IAAalG,GAASb,UAAU3O,SAAS0V,GAS3C,OARA/C,EACE,IAAIzK,GACF,wBAA0BwN,EAAW,IACrCxN,GAAW+B,gBACX1C,SAGJhI,IAKF8I,EAAQmU,KAAK5B,GAAe,KAC9B,EACF,EE/NI6B,GAAiB,SAACC,EAASjL,GAG/B,GAFAiL,EAAUA,EAAUA,EAAQhe,OAAOie,SAAW,GAEzClL,GAAYiL,EAAQtkB,OAAzB,CAIA,IAAMwkB,EAAa,IAAIC,gBAEnBN,GAAU,EAERZ,EAAU,SAAUmB,GACxB,IAAKP,EAAS,CACZA,GAAU,EACVzB,IACA,IAAM/V,EAAM+X,aAAkB5c,MAAQ4c,EAASngB,KAAKmgB,OACpDF,EAAWP,MACTtX,aAAemD,GACXnD,EACA,IAAIwN,GAAcxN,aAAe7E,MAAQ6E,EAAIqD,QAAUrD,GAE/D,CACF,EAEImP,EACFzC,GACA1W,WAAW,WACTmZ,EAAQ,KACRyH,EAAQ,IAAIzT,GAAU,cAAA5N,OAAemX,EAAO,eAAevJ,GAAWyB,WACxE,EAAG8H,GAECqJ,EAAc,WACb4B,IACLxI,GAASK,aAAaL,GACtBA,EAAQ,KACRwI,EAAQ1kB,QAAQ,SAAC+iB,GACfA,EAAOD,YACHC,EAAOD,YAAYa,GACnBZ,EAAOC,oBAAoB,QAASW,EAC1C,GACAe,EAAU,KACZ,EAEAA,EAAQ1kB,QAAQ,SAAC+iB,GAAM,OAAKA,EAAOtgB,iBAAiB,QAASkhB,EAAS,CAAEoB,MAAM,GAAO,GAErF,IAAQhC,EAAW6B,EAAX7B,OAIR,OAFAA,EAAOD,YAAc,WAAA,OAAM/Y,GAAM/G,KAAK8f,EAAY,EAE3CC,CA5CP,CA6CF,ECtDaiC,GAAWC,IAAAxc,EAAG,SAAduc,EAAyBE,EAAOC,GAAS,IAAA1kB,EAAA2kB,EAAA7a,EAAA,OAAA0a,IAAAtX,EAAA,SAAA0X,GAAA,cAAAA,EAAA1Y,GAAA,KAAA,EAC1B,GAAtBlM,EAAMykB,EAAMI,WAEXH,KAAa1kB,EAAM0kB,GAAS,CAAAE,EAAA1Y,EAAA,EAAA,KAAA,CAC/B,OAD+B0Y,EAAA1Y,EAAA,EACzBuY,EAAK,KAAA,EAAA,OAAAG,EAAA9f,EAAA,GAAA,KAAA,EAIT6f,EAAM,EAAC,KAAA,EAAA,KAGJA,EAAM3kB,GAAG,CAAA4kB,EAAA1Y,EAAA,EAAA,KAAA,CAEd,OADApC,EAAM6a,EAAMD,EAAUE,EAAA1Y,EAAA,EAChBuY,EAAMxnB,MAAM0nB,EAAK7a,GAAI,KAAA,EAC3B6a,EAAM7a,EAAI8a,EAAA1Y,EAAA,EAAA,MAAA,KAAA,EAAA,OAAA0Y,EAAA9f,EAAA,GAAA,EAdDyf,EAAW,GAkBXO,GAAS,WAAA,IAAAnX,EAAAoX,EAAAP,IAAAxc,EAAG,SAAAgd,EAAiBC,EAAUP,GAAS,IAAAQ,EAAAC,EAAAC,EAAAxe,EAAAmF,EAAA0Y,EAAAY,EAAA,OAAAb,IAAAtX,EAAA,SAAAoY,GAAA,cAAAA,EAAAC,EAAAD,EAAApZ,GAAA,KAAA,EAAAgZ,GAAA,EAAAC,GAAA,EAAAG,EAAAC,EAAA,EAAA3e,EAAA4e,EACjCC,GAAWR,IAAS,KAAA,EAAA,OAAAK,EAAApZ,EAAA,EAAAwZ,EAAA9e,EAAAC,QAAA,KAAA,EAAA,KAAAqe,IAAAnZ,EAAAuZ,EAAAnW,GAAArI,MAAA,CAAAwe,EAAApZ,EAAA,EAAA,KAAA,CAC5C,OADeuY,EAAK1Y,EAAAtI,MACpB6hB,EAAAK,EAAAC,EAAAC,EAAAL,EAAOjB,GAAYE,EAAOC,MAAU,GAAA,KAAA,EAAAQ,GAAA,EAAAI,EAAApZ,EAAA,EAAA,MAAA,KAAA,EAAAoZ,EAAApZ,EAAA,EAAA,MAAA,KAAA,EAAAoZ,EAAAC,EAAA,EAAAF,EAAAC,EAAAnW,EAAAgW,GAAA,EAAAC,EAAAC,EAAA,KAAA,EAAA,GAAAC,EAAAC,EAAA,EAAAD,EAAAC,EAAA,GAAAL,GAAA,MAAAte,EAAA,OAAA,CAAA0e,EAAApZ,EAAA,EAAA,KAAA,CAAA,OAAAoZ,EAAApZ,EAAA,EAAAwZ,EAAA9e,EAAA,UAAA,KAAA,EAAA,GAAA0e,EAAAC,EAAA,GAAAJ,EAAA,CAAAG,EAAApZ,EAAA,GAAA,KAAA,CAAA,MAAAkZ,EAAA,KAAA,GAAA,OAAAE,EAAA/Y,EAAA,GAAA,KAAA,GAAA,OAAA+Y,EAAA/Y,EAAA,GAAA,KAAA,GAAA,OAAA+Y,EAAAxgB,EAAA,GAAA,EAAAkgB,EAAA,KAAA,CAAA,CAAA,EAAA,CAAA,EAAA,IAAA,CAAA,EAAA,EAAA,EAAA,KAAA,IAEvC,OAAA,SAJqBc,EAAAC,GAAA,OAAApY,EAAAhS,MAAAuI,KAAAtI,UAAA,CAAA,CAAA,GAMhB6pB,GAAU,WAAA,IAAA7X,EAAAmX,EAAAP,IAAAxc,EAAG,SAAAge,EAAiBC,GAAM,IAAAC,EAAAC,EAAArf,EAAArD,EAAA,OAAA+gB,IAAAtX,EAAA,SAAAkZ,GAAA,cAAAA,EAAAb,EAAAa,EAAAla,GAAA,KAAA,EAAA,IACpC+Z,EAAO9pB,OAAOkqB,eAAc,CAAAD,EAAAla,EAAA,EAAA,KAAA,CAC9B,OAAAka,EAAAT,EAAAC,EAAAC,EAAAL,EAAOS,KAAM,GAAA,KAAA,EAAA,OAAAG,EAAAthB,EAAA,GAAA,KAAA,EAITohB,EAASD,EAAOK,YAAWF,EAAAb,EAAA,EAAA,KAAA,EAAA,OAAAa,EAAAla,EAAA,EAAAwZ,EAGCQ,EAAOrI,QAAM,KAAA,EAAxB,GAAwBsI,EAAAC,EAAAjX,EAAnCrI,EAAIqf,EAAJrf,KAAMrD,EAAK0iB,EAAL1iB,OACVqD,EAAI,CAAAsf,EAAAla,EAAA,EAAA,KAAA,CAAA,OAAAka,EAAAthB,EAAA,EAAA,GAAA,KAAA,EAGR,OAHQshB,EAAAla,EAAA,EAGFzI,EAAK,KAAA,EAAA2iB,EAAAla,EAAA,EAAA,MAAA,KAAA,EAAA,OAAAka,EAAAb,EAAA,EAAAa,EAAAla,EAAA,EAAAwZ,EAGPQ,EAAOvC,UAAQ,KAAA,EAAA,OAAAyC,EAAA7Z,EAAA,GAAA,KAAA,GAAA,OAAA6Z,EAAAthB,EAAA,GAAA,EAAAkhB,EAAA,KAAA,CAAA,CAAA,GAAA,EAAA,KAAA,IAExB,OAAA,SAlBeO,GAAA,OAAA3Y,EAAAjS,MAAAuI,KAAAtI,UAAA,CAAA,CAAA,GAoBH4qB,GAAc,SAACP,EAAQvB,EAAW+B,EAAYC,GACzD,IAGI5f,EAHE5K,EAAW4oB,GAAUmB,EAAQvB,GAE/B9J,EAAQ,EAER+L,EAAY,SAACpjB,GACVuD,IACHA,GAAO,EACP4f,GAAYA,EAASnjB,GAEzB,EAEA,OAAO,IAAIqjB,eACT,CACQC,KAAI,SAAC1C,GAAY,OAAA2C,EAAAtC,IAAAxc,WAAA+e,IAAA,IAAAC,EAAAC,EAAAxjB,EAAAzD,EAAAknB,EAAAC,EAAA,OAAA3C,IAAAtX,EAAA,SAAAka,GAAA,cAAAA,EAAA7B,EAAA6B,EAAAlb,GAAA,KAAA,EAAA,OAAAkb,EAAA7B,EAAA,EAAA6B,EAAAlb,EAAA,EAEWhQ,EAAS2K,OAAM,KAAA,EAA1B,GAA0BmgB,EAAAI,EAAAjY,EAArCrI,EAAIkgB,EAAJlgB,KAAMrD,EAAKujB,EAALvjB,OAEVqD,EAAI,CAAAsgB,EAAAlb,EAAA,EAAA,KAAA,CAEa,OADnBya,IACAxC,EAAWkD,QAAQD,EAAAtiB,EAAA,GAAA,KAAA,EAIjB9E,EAAMyD,EAAMohB,WACZ4B,IACES,EAAetM,GAAS5a,EAC5BymB,EAAWS,IAEb/C,EAAWmD,QAAQ,IAAI9mB,WAAWiD,IAAQ2jB,EAAAlb,EAAA,EAAA,MAAA,KAAA,EAE3B,MAF2Bkb,EAAA7B,EAAA,EAAA4B,EAAAC,EAAAjY,EAE1CwX,EAASQ,GAAMA,EAAA,KAAA,EAAA,OAAAC,EAAAtiB,EAAA,GAAA,EAAAiiB,EAAA,KAAA,CAAA,CAAA,EAAA,IAAA,GAjBID,EAoBvB,EACAnD,OAAM,SAACU,GAEL,OADAsC,EAAUtC,GACHnoB,EAAQ,QACjB,GAEF,CACEqrB,cAAe,GAGrB,EC/EMC,GAAa,SAACC,GAAQ,OACzBA,GAAY,IAAMA,GAAY,IAC9BA,GAAY,IAAMA,GAAY,IAC9BA,GAAY,IAAMA,GAAY,GAAI,EAE/BC,GAAuB,SAAC1qB,EAAKwC,EAAGQ,GAAG,OACvCR,EAAI,EAAIQ,GAAOwnB,GAAWxqB,EAAIyI,WAAWjG,EAAI,KAAOgoB,GAAWxqB,EAAIyI,WAAWjG,EAAI,GAAG,EAExE,SAASmoB,GAA4BpT,GAClD,IAAKA,GAAsB,iBAARA,EAAkB,OAAO,EAC5C,IAAKA,EAAI0O,WAAW,SAAU,OAAO,EAErC,IAAM2E,EAAQrT,EAAI3X,QAAQ,KAC1B,GAAIgrB,EAAQ,EAAG,OAAO,EAEtB,IAAMC,EAAOtT,EAAItX,MAAM,EAAG2qB,GACpBE,EAAOvT,EAAItX,MAAM2qB,EAAQ,GAG/B,GAFiB,WAAW/c,KAAKgd,GAEnB,CAIZ,IAHA,IAAIE,EAAeD,EAAKnoB,OAClBK,EAAM8nB,EAAKnoB,OAERH,EAAI,EAAGA,EAAIQ,EAAKR,IACvB,GAA2B,KAAvBsoB,EAAKriB,WAAWjG,IAAuBA,EAAI,EAAIQ,EAAK,CACtD,IAAM8E,EAAIgjB,EAAKriB,WAAWjG,EAAI,GACxBuF,EAAI+iB,EAAKriB,WAAWjG,EAAI,GAChBgoB,GAAW1iB,IAAM0iB,GAAWziB,KAGxCgjB,GAAgB,EAChBvoB,GAAK,EAET,CAGF,IAAIwoB,EAAM,EACNC,EAAMjoB,EAAM,EAEVkoB,EAAc,SAACvjB,GAAC,OACpBA,GAAK,GACsB,KAA3BmjB,EAAKriB,WAAWd,EAAI,IACO,KAA3BmjB,EAAKriB,WAAWd,EAAI,KACI,KAAvBmjB,EAAKriB,WAAWd,IAAoC,MAAvBmjB,EAAKriB,WAAWd,GAAW,EAEvDsjB,GAAO,IACoB,KAAzBH,EAAKriB,WAAWwiB,IAClBD,IACAC,KACSC,EAAYD,KACrBD,IACAC,GAAO,IAIC,IAARD,GAAaC,GAAO,IACO,KAAzBH,EAAKriB,WAAWwiB,IAETC,EAAYD,KADrBD,IAMJ,IACMpN,EAAiB,EADR9Y,KAAKqmB,MAAMJ,EAAe,IACbC,GAAO,GACnC,OAAOpN,EAAQ,EAAIA,EAAQ,CAC7B,CAOA,IADA,IAAIA,EAAQ,EACHpb,EAAI,EAAGQ,EAAM8nB,EAAKnoB,OAAQH,EAAIQ,EAAKR,IAAK,CAC/C,IAAM4oB,EAAIN,EAAKriB,WAAWjG,GAC1B,GAAU,KAAN4oB,GAAsBV,GAAqBI,EAAMtoB,EAAGQ,GACtD4a,GAAS,EACTpb,GAAK,OACA,GAAI4oB,EAAI,IACbxN,GAAS,OACJ,GAAIwN,EAAI,KACbxN,GAAS,OACJ,GAAIwN,GAAK,OAAUA,GAAK,OAAU5oB,EAAI,EAAIQ,EAAK,CACpD,IAAM6G,EAAOihB,EAAKriB,WAAWjG,EAAI,GAC7BqH,GAAQ,OAAUA,GAAQ,OAC5B+T,GAAS,EACTpb,KAEAob,GAAS,CAEb,MACEA,GAAS,CAEb,CACA,OAAOA,CACT,CCxGO,IAAMyN,GAAU,SCmBfxqB,GAAeyL,GAAfzL,WAUFyqB,GAAa,SAACtrB,GAAG,OACrBkX,mBAAmBlX,GAAKsI,QAAQ,mBAAoB,SAAC2b,EAAGC,GAAG,OACzD3a,OAAO4a,aAAaC,SAASF,EAAK,IAAI,EACvC,EAMGqH,GAAyB,SAAC9kB,GAC9B,IAAK6F,GAAMvL,SAAS0F,GAClB,OAAOA,EAGT,IACE,OAAOsa,mBAAmBta,EAC5B,CAAE,MAAOkN,GACP,OAAOlN,CACT,CACF,EAEMoH,GAAO,SAACpP,GACZ,IAAI,IAAA,IAAA6R,EAAA1R,UAAA+D,OADekc,MAAIre,MAAA8P,EAAA,EAAAA,OAAApN,EAAA,EAAAA,EAAAoN,EAAApN,IAAJ2b,EAAI3b,EAAA,GAAAtE,UAAAsE,GAErB,QAASzE,EAAEE,WAAA,EAAIkgB,EACjB,CAAE,MAAOtY,GACP,OAAO,CACT,CACF,EAEMilB,GAA2B,SAACjU,GAChC,IAAMkU,EAAgBlU,EAAI3X,QAAQ,OAC9B8rB,EAAanU,EAIjB,OAHsB,IAAlBkU,IACFC,EAAaA,EAAWzrB,MAAMwrB,EAAgB,IAEzCC,EAAWnhB,SAAS,MAAQmhB,EAAWnhB,SAAS,IACzD,EAEMohB,GAAU,SAACpQ,GACf,IAAMqQ,OACa9pB,IAAjBwK,GAAM3K,QAAyC,OAAjB2K,GAAM3K,OAChC2K,GAAM3K,OACNH,WACEooB,EAAgCgC,EAAhChC,eAAgBiC,EAAgBD,EAAhBC,YAaxBC,EAXAvQ,EAAMjP,GAAMtF,MAAMxH,KAChB,CACE4H,eAAe,GAEjB,CACE2kB,QAASH,EAAaG,QACtBC,SAAUJ,EAAaI,UAEzBzQ,GAGa0Q,EAAQH,EAAfI,MAAiBH,EAAOD,EAAPC,QAASC,EAAQF,EAARE,SAC5BG,EAAmBF,EAAWprB,GAAWorB,GAA6B,mBAAVC,MAC5DE,EAAqBvrB,GAAWkrB,GAChCM,EAAsBxrB,GAAWmrB,GAEvC,IAAKG,EACH,OAAO,EAGT,IAMSrU,EANHwU,EAA4BH,GAAoBtrB,GAAW+oB,GAE3D2C,EACJJ,IACwB,mBAAhBN,GAED/T,EAED,IAAI+T,EAFS,SAAC7rB,GAAG,OACf8X,EAAQd,OAAOhX,EAAI,GACH,WAAA,IAAA2Q,EAAAmZ,EAAAtC,IAAAxc,EACpB,SAAAgd,EAAOhoB,GAAG,IAAAqoB,EAAA8B,EAAA,OAAA3C,IAAAtX,EAAA,SAAA0X,GAAA,cAAAA,EAAA1Y,GAAA,KAAA,EAAmB,OAAnBmZ,EAAS7kB,WAAUokB,EAAA1Y,EAAA,EAAO,IAAI6c,EAAQ/rB,GAAKwsB,cAAa,KAAA,EAAA,OAAArC,EAAAvC,EAAAzV,EAAAyV,EAAA9f,EAAA,EAAA,IAAAugB,EAAA8B,IAAA,EAAAnC,EAAA,IAAC,OAAA,SAAAc,GAAA,OAAAnY,EAAAhS,MAAAuI,KAAAtI,UAAA,CAAA,KAEnE6tB,EACJL,GACAE,GACAze,GAAK,WACH,IAAI6e,GAAiB,EAEf9Z,EAAU,IAAImZ,EAAQhS,GAASH,OAAQ,CAC3CkR,KAAM,IAAIlB,EACV/M,OAAQ,OACR,UAAI8P,GAEF,OADAD,GAAiB,EACV,MACT,IAGIE,EAAiBha,EAAQ1F,QAAQpB,IAAI,gBAM3C,OAJoB,MAAhB8G,EAAQkY,MACVlY,EAAQkY,KAAKnE,SAGR+F,IAAmBE,CAC5B,GAEIC,EACJR,GACAC,GACAze,GAAK,WAAA,OAAMvB,GAAMnK,iBAAiB,IAAI6pB,EAAS,IAAIlB,KAAK,GAEpDgC,EAAY,CAChB7D,OAAQ4D,GAA2B,SAACE,GAAG,OAAKA,EAAIjC,IAAI,GAGtDqB,GAEI,CAAC,OAAQ,cAAe,OAAQ,WAAY,UAAU5pB,QAAQ,SAACnC,IAC5D0sB,EAAU1sB,KACR0sB,EAAU1sB,GAAQ,SAAC2sB,EAAKjb,GACvB,IAAI+K,EAASkQ,GAAOA,EAAI3sB,GAExB,GAAIyc,EACF,OAAOA,EAAOrd,KAAKutB,GAGrB,MAAM,IAAIta,GAAU,kBAAA5N,OACAzE,EAAI,sBACtBqS,GAAWiC,gBACX5C,EAEJ,EACJ,GAGJ,IAAMkb,EAAa,WAAA,IAAApc,EAAAkZ,EAAAtC,IAAAxc,EAAG,SAAAge,EAAO8B,GAAI,IAAAmC,EAAA,OAAAzF,IAAAtX,EAAA,SAAAoY,GAAA,cAAAA,EAAApZ,GAAA,KAAA,EAAA,GACnB,MAAR4b,EAAY,CAAAxC,EAAApZ,EAAA,EAAA,KAAA,CAAA,OAAAoZ,EAAAxgB,EAAA,EACP,GAAC,KAAA,EAAA,IAGNwE,GAAMjL,OAAOypB,GAAK,CAAAxC,EAAApZ,EAAA,EAAA,KAAA,CAAA,OAAAoZ,EAAAxgB,EAAA,EACbgjB,EAAKoC,MAAI,KAAA,EAAA,IAGd5gB,GAAMb,oBAAoBqf,GAAK,CAAAxC,EAAApZ,EAAA,EAAA,KAAA,CAI/B,OAHI+d,EAAW,IAAIlB,EAAQhS,GAASH,OAAQ,CAC5CiD,OAAQ,OACRiO,KAAAA,IACAxC,EAAApZ,EAAA,EACY+d,EAAST,cAAa,KAAA,EAYN,KAAA,EAAA,OAAAlE,EAAAxgB,EAAA,EAAAwgB,EAAAnW,EAAE0V,YAZgB,KAAA,EAAA,IAG9Cvb,GAAMrG,kBAAkB6kB,KAASxe,GAAMxL,cAAcgqB,GAAK,CAAAxC,EAAApZ,EAAA,EAAA,KAAA,CAAA,OAAAoZ,EAAAxgB,EAAA,EACrDgjB,EAAKjD,YAAU,KAAA,EAKvB,GAFGvb,GAAMvK,kBAAkB+oB,KAC1BA,GAAc,KAGZxe,GAAMvL,SAAS+pB,GAAK,CAAAxC,EAAApZ,EAAA,EAAA,KAAA,CAAA,OAAAoZ,EAAApZ,EAAA,EACRqd,EAAWzB,GAAiB,KAAA,EAAA,OAAAxC,EAAAxgB,EAAA,GAAA,EAAAkhB,EAAA,IAE7C,OAAA,SA5BkBD,GAAA,OAAAnY,EAAAjS,MAAAuI,KAAAtI,UAAA,CAAA,CAAA,GA8BbuuB,EAAiB,WAAA,IAAAlmB,EAAA6iB,EAAAtC,IAAAxc,EAAG,SAAA+e,EAAO7c,EAAS4d,GAAI,IAAAnoB,EAAA,OAAA6kB,IAAAtX,EAAA,SAAAkZ,GAAA,UAAA,IAAAA,EAAAla,EACmB,OAAzDvM,EAAS2J,GAAMjB,eAAe6B,EAAQkgB,oBAAmBhE,EAAAthB,EAAA,EAE9C,MAAVnF,EAAiBqqB,EAAclC,GAAQnoB,EAAM,EAAAonB,EAAA,IACrD,OAAA,SAJsBR,EAAA8D,GAAA,OAAApmB,EAAAtI,MAAAuI,KAAAtI,UAAA,CAAA,CAAA,GAMvB,OAAA,WAAA,IAAA0uB,EAAAxD,EAAAtC,IAAAxc,EAAO,SAAAuiB,EAAOzb,GAAM,IAAA0b,EAAAjW,EAAAsF,EAAA1X,EAAAmgB,EAAApC,EAAAlH,EAAA4G,EAAAD,EAAA9G,EAAA3O,EAAAugB,EAAAhL,EAAAiL,EAAAvR,EAAAC,EAAAuR,EAAAC,EAAAnT,EAAAoT,EAAAC,EAAAlb,EAAAyS,EAAA0I,EAAAC,EAAAC,EAAApK,EAAAqK,EAAApK,EAAAC,EAAAoK,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAvB,EAAAwB,EAAAxpB,GAAAypB,GAAAjF,GAAAkF,GAAAC,GAAA9T,GAAA+T,GAAAhc,GAAA4S,GAAAqJ,GAAAC,GAAA3Z,GAAA4Z,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAA,OAAAnI,IAAAtX,EAAA,SAAAka,GAAA,cAAAA,EAAA7B,EAAA6B,EAAAlb,GAAA,KAAA,EAmGhB,GAnGgBse,EAgBd7J,GAAc7R,GAdhByF,EAAGiW,EAAHjW,IACAsF,EAAM2Q,EAAN3Q,OACA1X,EAAIqoB,EAAJroB,KACAmgB,EAAMkI,EAANlI,OACApC,EAAWsK,EAAXtK,YACAlH,EAAOwR,EAAPxR,QACA4G,EAAkB4K,EAAlB5K,mBACAD,EAAgB6K,EAAhB7K,iBACA9G,EAAY2R,EAAZ3R,aACA3O,EAAOsgB,EAAPtgB,QAAOugB,EAAAD,EACP/K,gBAAAA,OAAe,IAAAgL,EAAG,cAAaA,EAC/BC,EAAYF,EAAZE,aACAvR,EAAgBqR,EAAhBrR,iBACAC,EAAaoR,EAAbpR,cAGIuR,EAAsBrhB,GAAMtL,SAASmb,IAAqBA,GAAmB,EAC7EyR,EAAmBthB,GAAMtL,SAASob,IAAkBA,GAAgB,EACpE3B,EAAM,SAAC5X,GAAG,OAAMyJ,GAAMlC,WAAW0H,EAAQjP,GAAOiP,EAAOjP,QAAOf,CAAS,EAEzE+rB,EAAS5B,GAAYC,MAEzBrQ,EAAeA,GAAgBA,EAAe,IAAI3b,cAAgB,OAE9D4tB,EAAiB9G,GACnB,CAAC1B,EAAQpC,GAAeA,EAAY0M,iBACpC5T,GAGEpJ,EAAU,KAERyS,EACJyI,GACAA,EAAezI,aACd,WACCyI,EAAezI,aACjB,EAQE2I,EAAmB,KAEjBC,EAAqB,WAAH,OACtB,IAAIxb,GACF,+CACAA,GAAW+B,gBACX1C,EACAc,EACD,EAAAwX,EAAA7B,EAAA,EAIG1E,OAAO/hB,GACLosB,EAAazT,EAAI,WAGfqJ,EAAWxX,GAAMjC,YAAY6jB,EAAY,aAAe,GACxDnK,EAAWzX,GAAMjC,YAAY6jB,EAAY,aAAe,GAC9DrK,EAAO,CACLC,SAAAA,EACAC,SAAAA,IAIAyH,GAAyBjU,KACrB4W,EAAY,IAAInO,IAAIzI,EAAKwC,GAASH,QAEnCiK,IAASsK,EAAUrK,WAAYqK,EAAUpK,WACtCqK,EAAc7C,GAAuB4C,EAAUrK,UAC/CuK,EAAc9C,GAAuB4C,EAAUpK,UACrDF,EAAO,CACLC,SAAUsK,EACVrK,SAAUsK,KAIVF,EAAUrK,UAAYqK,EAAUpK,YAClCoK,EAAUrK,SAAW,GACrBqK,EAAUpK,SAAW,GACrBxM,EAAM4W,EAAUrU,OAIhB+J,IACF3W,EAAO,OAAQ,iBACfA,EAAQ1C,IACN,gBACA,SAAWwZ,KAAKsH,IAAYzH,EAAKC,UAAY,IAAM,KAAOD,EAAKE,UAAY,SAO3E4J,GAAsC,iBAARpW,IAAoBA,EAAI0O,WAAW,SAAQ,CAAAmE,EAAAlb,EAAA,EAAA,KAAA,CACzB,KAAhCyb,GAA4BpT,GAC9B4E,GAAgB,CAAAiO,EAAAlb,EAAA,EAAA,KAAA,CAAA,MACxB,IAAIuD,GACR,4BAA8B0J,EAAmB,YACjD1J,GAAW8B,iBACXzC,EACAc,GACD,KAAA,EAAA,IASDgb,GAA+B,QAAX/Q,GAA+B,SAAXA,EAAiB,CAAAuN,EAAAlb,EAAA,EAAA,KAAA,CAAA,OAAAkb,EAAAlb,EAAA,EAC9B8d,EAAc7nB,GAAK,KAAA,EAA5B,GACU,iBADxBmpB,EAAclE,EAAAjY,KACsB3G,SAAS8iB,GAAe,CAAAlE,EAAAlb,EAAA,EAAA,KAAA,CAC1B,GAAtC6e,EAAuBO,IACnBA,EAAiBlS,GAAa,CAAAgO,EAAAlb,EAAA,EAAA,KAAA,CAAA,MAC1B+e,IAAoB,KAAA,EAqB7B,GAdGM,EACJX,IAAqBthB,GAAMnK,iBAAiBgD,IAASmH,GAAMxF,SAAS3B,IAEhEqpB,EAAqB,SAACvF,EAAQQ,EAAYkF,GAAK,OACnDnF,GACEP,EAvTiB,MAyTjB,SAACiB,GACC,GAAI0D,GAAoB1D,EAAc9N,EACpC,MAAO4R,EAAmBC,IAE5BxE,GAAcA,EAAWS,EAC3B,EACAyE,EACD,GAGDlC,GACW,QAAX5P,GACW,SAAXA,IACC8F,IAAoB4L,EAAsB,CAAAnE,EAAAlb,EAAA,EAAA,KAAA,CAAA,GAGjB,MAAxB6e,EAA4B,CAAA3D,EAAAlb,EAAA,EAAA,KAAA,CAAA,OAAAkb,EAAAlb,EAAA,EAASie,EAAkBjgB,EAAS/H,GAAK,KAAA,EAAAuqB,GAAAtF,EAAAjY,EAAAiY,EAAAlb,EAAA,EAAA,MAAA,KAAA,EAAAwgB,GAAG3B,EAAoB,KAAA,GAIjE,KAL7BA,EAAoB2B,KAKcnB,KAC5BtB,EAAW,IAAIlB,EAAQxU,EAAK,CAC9BsF,OAAQ,OACRiO,KAAM3lB,EACNwnB,OAAQ,SAKNrgB,GAAMzG,WAAWV,KAAUspB,EAAoBxB,EAAS/f,QAAQ2D,IAAI,kBACtE3D,EAAQgO,eAAeuT,GAGrBxB,EAASnC,OAAM7lB,GAEd0d,GACChD,GACEoO,EACA5Q,GAAqB0C,GAAe8C,MAExC,GAAE+L,GAAAzsB,EAAAgD,GAAA,GANGwkB,GAAUiF,GAAA,GAAEC,GAAKD,GAAA,GAQxBvpB,EAAOqpB,EAAmBvB,EAASnC,KAAMrB,GAAYkF,MAExDvE,EAAAlb,EAAA,GAAA,MAAA,KAAA,EAAA,IAEDqf,GACCnC,IACDE,GACW,QAAXzP,GACW,SAAXA,EAAiB,CAAAuN,EAAAlb,EAAA,EAAA,KAAA,CAEjB/J,EAAOqpB,EAAmBrpB,GAAMilB,EAAAlb,EAAA,GAAA,MAAA,KAAA,EAAA,IAEhCqf,IACAnC,GACCK,GACU,QAAX5P,GACW,SAAXA,EAAiB,CAAAuN,EAAAlb,EAAA,GAAA,KAAA,CAAA,MAEX,IAAIuD,GACR,8EACAA,GAAWiC,gBACX5C,EACAc,GACD,KAAA,GAqC+D,OAlC7DtG,GAAMvL,SAAS0hB,KAClBA,EAAkBA,EAAkB,UAAY,QAK5CmM,GAAyBxC,GAAsB,gBAAiBL,EAAQ/sB,UAI1EsN,GAAMzG,WAAWV,KACb2V,GAAc5N,EAAQ6N,mBAG1B,yBAAyBlN,KAAKiN,MAC7B,aAAajN,KAAKiN,KAEnB5N,EAAO,OAAQ,gBAKnBA,EAAQ1C,IAAI,aAAc,SAAW6gB,IAAS,GAExCwD,GAAe7U,EAAAA,KAChB0T,GAAY,CAAA,EAAA,CACfpI,OAAQwI,EACRjR,OAAQA,EAAO1R,cACf+B,QAASD,GAAyBC,EAAQwP,aAC1CoO,KAAM3lB,EACNwnB,OAAQ,OACRkD,YAAajB,GAAyBnM,OAAkB3gB,IAG1D8Q,EAAUwZ,GAAsB,IAAIL,EAAQxU,EAAKsX,IAAiBzE,EAAAlb,EAAA,GAE5Ckd,EAClByB,EAAOjb,EAAS8a,GAChBG,EAAOtW,EAAKsX,IAAgB,KAAA,GAKhC,GAPIhc,GAAQuX,EAAAjY,EAINsT,GAAkB3X,GAAamI,KAAKpD,GAAS3F,UAI/CygB,EAAmB,CAAAvD,EAAAlb,EAAA,GAAA,KAAA,CAC0D,KACzD,OADhB4f,GAAiBxiB,GAAMjB,eAAeoa,GAAgB2H,sBAC9B0B,GAAiB3S,GAAgB,CAAAiO,EAAAlb,EAAA,GAAA,KAAA,CAAA,MACvD,IAAIuD,GACR,4BAA8B0J,EAAmB,YACjD1J,GAAW8B,iBACXzC,EACAc,GACD,KAAA,GAqDiC,OAjDhCmc,GACJlC,IAA4C,WAAjBhR,GAA8C,aAAjBA,GAGxDgR,GACAha,GAASiY,OACRlI,GAAsB+K,GAAwBoB,IAAoB1J,KAE7DjQ,GAAU,CAAA,EAEhB,CAAC,SAAU,aAAc,WAAW7S,QAAQ,SAAChD,GAC3C6V,GAAQ7V,GAAQsT,GAAStT,EAC3B,GAEMyvB,GAAwB1iB,GAAMjB,eAAeoa,GAAgB2H,oBAAmB6B,GAGnFrM,GACCjD,GACEqP,GACA7R,GAAqB0C,GAAe+C,IAAqB,KAE7D,GAAEsM,GAAAjtB,EAAAgtB,GAAA,GANGxF,GAAUyF,GAAA,GAAEP,GAAKO,GAAA,GASlBG,GAAkB,SAACnF,GACvB,GAAIyD,GACUzD,EACI/N,EACd,MAAM,IAAI1J,GACR,4BAA8B0J,EAAmB,YACjD1J,GAAW8B,iBACXzC,EACAc,GAIN6W,IAAcA,GAAWS,EAC3B,EAEArX,GAAW,IAAImZ,EACbxC,GAAY3W,GAASiY,KA9dJ,MA8d8BuE,GAAiB,WAC9DV,IAASA,KACTtJ,GAAeA,GACjB,GACAjQ,KAIJyG,EAAeA,GAAgB,OAAOuO,EAAAlb,EAAA,GAEb4d,EAAUxgB,GAAMrJ,QAAQ6pB,EAAWjR,IAAiB,QAC3EhJ,GACAf,GACD,KAAA,GAHe,GAAZwd,GAAYlF,EAAAjY,GAQZwb,GAAwBd,GAA2BkC,GAAgB,CAAA3E,EAAAlb,EAAA,GAAA,KAAA,CAapE,GAXmB,MAAhBogB,KACqC,iBAA5BA,GAAazH,WACtB0H,GAAmBD,GAAazH,WACM,iBAAtByH,GAAapC,KAC7BqC,GAAmBD,GAAapC,KACC,iBAAjBoC,KAChBC,GACyB,mBAAhB1D,GACH,IAAIA,GAAc7U,OAAOsY,IAAczH,WACvCyH,GAAa3sB,WAGS,iBAArB4sB,IAAiCA,GAAmBpT,GAAgB,CAAAiO,EAAAlb,EAAA,GAAA,KAAA,CAAA,MACvE,IAAIuD,GACR,4BAA8B0J,EAAmB,YACjD1J,GAAW8B,iBACXzC,EACAc,GACD,KAAA,GAI6C,OAAjDmc,IAAoB1J,GAAeA,IAAc+E,EAAAlb,EAAA,GAErC,IAAI0V,QAAQ,SAAC3H,EAASC,GACjCF,GAAOC,EAASC,EAAQ,CACtB/X,KAAMmqB,GACNpiB,QAASY,GAAamI,KAAKpD,GAAS3F,SACpC+F,OAAQJ,GAASI,OACjB2S,WAAY/S,GAAS+S,WACrB9T,OAAAA,EACAc,QAAAA,GAEJ,GAAE,KAAA,GAAA,OAAAwX,EAAAtiB,EAAA,EAAAsiB,EAAAjY,GAAA,KAAA,GAMF,GANEiY,EAAA7B,EAAA,GAAAoH,GAAAvF,EAAAjY,EAEFkT,GAAeA,MAKXyI,GAAkBA,EAAehH,SAAWgH,EAAezG,kBAAkB5U,IAAU,CAAA2X,EAAAlb,EAAA,GAAA,KAAA,CAcxF,MAbKsgB,GAAgB1B,EAAezG,QACvBvV,OAASA,EACvBc,IAAY4c,GAAc5c,QAAUA,GAChC+c,KAAQH,IAGVzwB,OAAOiJ,eAAewnB,GAAe,QAAS,CAC5CvnB,UAAW,KACXxB,MAAKkpB,GACLznB,UAAU,EACVC,YAAY,EACZC,cAAc,IAGZonB,GAAa,KAAA,GAAA,IAQjBxB,EAAgB,CAAA5D,EAAAlb,EAAA,GAAA,KAAA,CAC2D,MAA7E0D,IAAYob,EAAiBpb,UAAYob,EAAiBpb,QAAUA,GAC9Dob,EAAgB,KAAA,GAAA,KAKpB2B,cAAeld,IAAU,CAAA2X,EAAAlb,EAAA,GAAA,KAAA,CACwB,MAAnD0D,IAAY+c,GAAI/c,UAAY+c,GAAI/c,QAAUA,GAAS+c,GAAA,KAAA,GAAA,IAIjDA,IAAoB,cAAbA,GAAIzrB,OAAwB,qBAAqB2J,KAAK8hB,GAAIhd,SAAQ,CAAAyX,EAAAlb,EAAA,GAAA,KAAA,CAgBxE,MAfGugB,GAAe,IAAIhd,GACvB,gBACAA,GAAW2B,YACXtC,EACAc,EACA+c,IAAOA,GAAI9c,UAIb9T,OAAOiJ,eAAeynB,GAAc,QAAS,CAC3CxnB,UAAW,KACXxB,MAAOkpB,GAAIG,OAAKH,GAChBznB,UAAU,EACVC,YAAY,EACZC,cAAc,IAEVqnB,GAAY,KAAA,GAAA,MAGdhd,GAAWwD,KAAI0Z,GAAMA,IAAOA,GAAI5iB,KAAM+E,EAAQc,EAAS+c,IAAOA,GAAI9c,UAAS,KAAA,GAAA,OAAAuX,EAAAtiB,EAAA,GAAA,EAAAylB,EAAA,KAAA,CAAA,CAAA,EAAA,KAAA,IAEpF,OAAA,SAAAwC,GAAA,OAAAzC,EAAA3uB,MAAAuI,KAAAtI,UAAA,CAAA,CAlaD,EAmaF,EAEMoxB,GAAY,IAAIC,IAETC,GAAW,SAACpe,GAWvB,IAVA,IAMEqe,EACAnkB,EAPEuP,EAAOzJ,GAAUA,EAAOyJ,KAAQ,CAAA,EAC5B2Q,EAA6B3Q,EAA7B2Q,MACFkE,EAAQ,CADuB7U,EAAtBwQ,QAAsBxQ,EAAbyQ,SACUE,GAGhC1pB,EADQ4tB,EAAMztB,OAIdT,EAAM8tB,GAEDxtB,KACL2tB,EAAOC,EAAM5tB,QAGFV,KAFXkK,EAAS9J,EAAI2O,IAAIsf,KAEOjuB,EAAIsI,IAAI2lB,EAAOnkB,EAASxJ,EAAI,IAAIytB,IAAQtE,GAAQpQ,IAExErZ,EAAM8J,EAGR,OAAOA,CACT,EAEgBkkB,KCjnBhB,IAAMG,GAAgB,CACpBC,KCfa,KDgBbC,IAAK7L,GACLwH,MAAO,CACLrb,IAAK2f,KAKTlkB,GAAM/J,QAAQ8tB,GAAe,SAAC5xB,EAAIgI,GAChC,GAAIhI,EAAI,CACN,IAGEM,OAAOiJ,eAAevJ,EAAI,OAAQ,CAAEwJ,UAAW,KAAMxB,MAAAA,GACvD,CAAE,MAAOF,GACP,CAEFxH,OAAOiJ,eAAevJ,EAAI,cAAe,CAAEwJ,UAAW,KAAMxB,MAAAA,GAC9D,CACF,GAQA,IAAMgqB,GAAe,SAACpJ,GAAM,MAAA,KAAAxiB,OAAUwiB,EAAM,EAQtCqJ,GAAmB,SAAC9V,GAAO,OAC/BtO,GAAMzL,WAAW+Z,IAAwB,OAAZA,IAAgC,IAAZA,CAAiB,EAmEpE,IAAA+V,GAAe,CAKbC,WA5DF,SAAoBD,EAAU7e,GAS5B,IANA,IACI+e,EACAjW,EAFIjY,GAFRguB,EAAWrkB,GAAM/L,QAAQowB,GAAYA,EAAW,CAACA,IAEzChuB,OAIFmuB,EAAkB,CAAA,EAEftuB,EAAI,EAAGA,EAAIG,EAAQH,IAAK,CAE/B,IAAI6V,OAAE,EAIN,GAFAuC,EAHAiW,EAAgBF,EAASnuB,IAKpBkuB,GAAiBG,SAGJ/uB,KAFhB8Y,EAAUyV,IAAehY,EAAK9O,OAAOsnB,IAAgB3wB,gBAGnD,MAAM,IAAIuS,GAAU,oBAAA5N,OAAqBwT,QAI7C,GAAIuC,IAAYtO,GAAMzL,WAAW+Z,KAAaA,EAAUA,EAAQ/J,IAAIiB,KAClE,MAGFgf,EAAgBzY,GAAM,IAAM7V,GAAKoY,CACnC,CAEA,IAAKA,EAAS,CACZ,IAAMmW,EAAUhyB,OAAO2R,QAAQogB,GAAiB5uB,IAC9C,SAAAyO,GAAA,IAAAC,EAAA3O,EAAA0O,EAAA,GAAE0H,EAAEzH,EAAA,GAAEogB,EAAKpgB,EAAA,GAAA,MACT,WAAA/L,OAAWwT,EAAE,OACF,IAAV2Y,EAAkB,sCAAwC,gCAAgC,GAG3F/hB,EAAItM,EACJouB,EAAQpuB,OAAS,EACf,YAAcouB,EAAQ7uB,IAAIuuB,IAAchgB,KAAK,MAC7C,IAAMggB,GAAaM,EAAQ,IAC7B,0BAEJ,MAAM,IAAIte,GACR,wDAA0DxD,EAC1DwD,GAAWiC,gBAEf,CAEA,OAAOkG,CACT,EAgBE+V,SAAUN,IElHZ,SAASY,GAA6Bnf,GAKpC,GAJIA,EAAOoR,aACTpR,EAAOoR,YAAYgO,mBAGjBpf,EAAOwT,QAAUxT,EAAOwT,OAAOwB,QACjC,MAAM,IAAIhK,GAAc,KAAMhL,EAElC,CASe,SAASqf,GAAgBrf,GActC,OAbAmf,GAA6Bnf,GAE7BA,EAAO5E,QAAUY,GAAamI,KAAKnE,EAAO5E,SAG1C4E,EAAO3M,KAAOqX,GAAchd,KAAKsS,EAAQA,EAAO+I,uBAE5C,CAAC,OAAQ,MAAO,SAASjb,QAAQkS,EAAO+K,SAC1C/K,EAAO5E,QAAQgO,eAAe,qCAAqC,GAGrDyV,GAASC,WAAW9e,EAAO8I,SAAWF,GAASE,QAAS9I,EAEjE8I,CAAQ9I,GAAQ3F,KACrB,SAA6B0G,GAC3Boe,GAA6Bnf,GAK7BA,EAAOe,SAAWA,EAClB,IACEA,EAAS1N,KAAOqX,GAAchd,KAAKsS,EAAQA,EAAO8J,kBAAmB/I,EACvE,CAAC,eACQf,EAAOe,QAChB,CAIA,OAFAA,EAAS3F,QAAUY,GAAamI,KAAKpD,EAAS3F,SAEvC2F,CACT,EACA,SAA4BwU,GAC1B,IAAK1K,GAAS0K,KACZ4J,GAA6Bnf,GAGzBuV,GAAUA,EAAOxU,UAAU,CAC7Bf,EAAOe,SAAWwU,EAAOxU,SACzB,IACEwU,EAAOxU,SAAS1N,KAAOqX,GAAchd,KACnCsS,EACAA,EAAO8J,kBACPyL,EAAOxU,SAEX,CAAC,eACQf,EAAOe,QAChB,CACAwU,EAAOxU,SAAS3F,QAAUY,GAAamI,KAAKoR,EAAOxU,SAAS3F,QAC9D,CAGF,OAAO0X,QAAQ1H,OAAOmK,EACxB,EAEJ,CCnFA,IAAM+J,GAAa,CAAA,EAGnB,CAAC,SAAU,UAAW,SAAU,WAAY,SAAU,UAAU7uB,QAAQ,SAACnC,EAAMoC,GAC7E4uB,GAAWhxB,GAAQ,SAAmBV,GACpC,OAAOY,EAAOZ,KAAUU,GAAQ,KAAOoC,EAAI,EAAI,KAAO,KAAOpC,CAC/D,CACF,GAEA,IAAMixB,GAAqB,CAAA,EAW3BD,GAAWzW,aAAe,SAAsB2W,EAAWC,EAAS5e,GAClE,SAAS6e,EAAcC,EAAKC,GAC1B,MACE,WACArG,GACA,0BACAoG,EACA,IACAC,GACC/e,EAAU,KAAOA,EAAU,GAEhC,CAGA,OAAO,SAAClM,EAAOgrB,EAAKE,GAClB,IAAkB,IAAdL,EACF,MAAM,IAAI7e,GACR+e,EAAcC,EAAK,qBAAuBF,EAAU,OAASA,EAAU,KACvE9e,GAAW6B,gBAef,OAXIid,IAAYF,GAAmBI,KACjCJ,GAAmBI,IAAO,EAE1BG,QAAQC,KACNL,EACEC,EACA,+BAAiCF,EAAU,8CAK1CD,GAAYA,EAAU7qB,EAAOgrB,EAAKE,EAC3C,CACF,EAEAP,GAAWU,SAAW,SAAkBC,GACtC,OAAO,SAACtrB,EAAOgrB,GAGb,OADAG,QAAQC,KAAI,GAAAhtB,OAAI4sB,EAAG,gCAAA5sB,OAA+BktB,KAC3C,CACT,CACF,EAwCA,IAAAT,GAAe,CACbU,cA7BF,SAAuB5c,EAAS6c,EAAQC,GACtC,GAAuB,WAAnB5xB,EAAO8U,IAAoC,OAAZA,EACjC,MAAM,IAAI3C,GAAW,4BAA6BA,GAAWsB,sBAI/D,IAFA,IAAMjR,EAAO/D,OAAO+D,KAAKsS,GACrB5S,EAAIM,EAAKH,OACNH,KAAM,GAAG,CACd,IAAMivB,EAAM3uB,EAAKN,GAGX8uB,EAAYvyB,OAAOC,UAAUK,eAAeG,KAAKyyB,EAAQR,GAAOQ,EAAOR,QAAO3vB,EACpF,GAAIwvB,EAAJ,CACE,IAAM7qB,EAAQ2O,EAAQqc,GAChBpqB,OAAmBvF,IAAV2E,GAAuB6qB,EAAU7qB,EAAOgrB,EAAKrc,GAC5D,IAAe,IAAX/N,EACF,MAAM,IAAIoL,GACR,UAAYgf,EAAM,YAAcpqB,EAChCoL,GAAWsB,qBAIjB,MACA,IAAqB,IAAjBme,EACF,MAAM,IAAIzf,GAAW,kBAAoBgf,EAAKhf,GAAWuB,eAE7D,CACF,EAIEod,WAAAA,IClGIA,GAAaE,GAAUF,WASvBe,GAAK,WAST,OAAApkB,EARA,SAAAokB,EAAYC,GAAgBpkB,OAAAmkB,GAC1BjrB,KAAKwT,SAAW0X,GAAkB,CAAA,EAClClrB,KAAKmrB,aAAe,CAClBzf,QAAS,IAAImF,GACblF,SAAU,IAAIkF,GAElB,EAEA,CAAA,CAAAlV,IAAA,UAAA4D,OAAA6rB,EAAAxI,EAAAtC,IAAAxc,EAQA,SAAAgd,EAAcuK,EAAazgB,GAAM,IAAA0gB,EAAA9e,EAAA+e,EAAAC,EAAAC,EAAAtK,EAAA,OAAAb,IAAAtX,EAAA,SAAA0X,GAAA,cAAAA,EAAAW,EAAAX,EAAA1Y,GAAA,KAAA,EAAA,OAAA0Y,EAAAW,EAAA,EAAAX,EAAA1Y,EAAA,EAEhBhI,KAAK+lB,SAASsF,EAAazgB,GAAO,KAAA,EAAA,OAAA8V,EAAA9f,EAAA,EAAA8f,EAAAzV,GAAA,KAAA,EAE/C,GAF+CyV,EAAAW,EAAA,GAAAF,EAAAT,EAAAzV,aAE5B1H,MAAO,CACpB+nB,EAAQ,CAAA,EAEZ/nB,MAAMmoB,kBAAoBnoB,MAAMmoB,kBAAkBJ,GAAUA,EAAQ,IAAI/nB,MAGlEiJ,EAAS,WACb,IAAK8e,EAAM9e,MACT,MAAO,GAGT,IAAM+e,EAAoBD,EAAM9e,MAAM9T,QAAQ,MAE9C,OAA6B,IAAtB6yB,EAA2B,GAAKD,EAAM9e,MAAMzT,MAAMwyB,EAAoB,EAC/E,CARe,GASf,IACOpK,EAAI3U,MAGEA,IACH+e,EAAoB/e,EAAM9T,QAAQ,MAClC8yB,GACmB,IAAvBD,GAA4B,EAAI/e,EAAM9T,QAAQ,KAAM6yB,EAAoB,GACpEE,GACoB,IAAxBD,EAA4B,GAAKhf,EAAMzT,MAAMyyB,EAAqB,GAE/DnpB,OAAO8e,EAAI3U,OAAOtK,SAASupB,KAC9BtK,EAAI3U,OAAS,KAAOA,IAVtB2U,EAAI3U,MAAQA,CAahB,CAAE,MAAOnN,GACP,CAEJ,CAAC,MAAA8hB,EAAA,KAAA,EAAA,OAAAT,EAAA9f,EAAA,GAAA,EAAAkgB,EAAA9gB,KAAA,CAAA,CAAA,EAAA,IAAA,IAIJ,SAzCY4hB,EAAAC,GAAA,OAAAuJ,EAAA3zB,MAAAuI,KAAAtI,UAAA,IAAA,CAAAiE,IAAA,WAAA4D,MA2Cb,SAAS8rB,EAAazgB,GAGO,iBAAhBygB,GACTzgB,EAASA,GAAU,CAAA,GACZyF,IAAMgb,EAEbzgB,EAASygB,GAAe,CAAA,EAK1B,IAAArN,EAFApT,EAASgQ,GAAY5a,KAAKwT,SAAU5I,GAE5B6I,EAAYuK,EAAZvK,aAAc4H,EAAgB2C,EAAhB3C,iBAAkBrV,EAAOgY,EAAPhY,aAEnBpL,IAAjB6Y,GACF2W,GAAUU,cACRrX,EACA,CACEnC,kBAAmB4Y,GAAWzW,aAAayW,YAC3C3Y,kBAAmB2Y,GAAWzW,aAAayW,YAC3C1Y,oBAAqB0Y,GAAWzW,aAAayW,YAC7CzY,gCAAiCyY,GAAWzW,aAAayW,YACzDxY,4BAA6BwY,GAAWzW,aAAayW,YACrDvY,gCAAiCuY,GAAWzW,aAAayW,GAAU,WAErE,GAIoB,MAApB7O,IACEjW,GAAMzL,WAAW0hB,GACnBzQ,EAAOyQ,iBAAmB,CACxB7K,UAAW6K,GAGb+O,GAAUU,cACRzP,EACA,CACEvL,OAAQoa,GAAU,SAClB1Z,UAAW0Z,GAAU,WAEvB,SAM2BtvB,IAA7BgQ,EAAO2P,yBAEoC3f,IAApCoF,KAAKwT,SAAS+G,kBACvB3P,EAAO2P,kBAAoBva,KAAKwT,SAAS+G,kBAEzC3P,EAAO2P,mBAAoB,GAG7B6P,GAAUU,cACRlgB,EACA,CACE+gB,QAASzB,GAAWU,SAAS,WAC7BgB,cAAe1B,GAAWU,SAAS,mBAErC,GAIFhgB,EAAO+K,QAAU/K,EAAO+K,QAAU3V,KAAKwT,SAASmC,QAAU,OAAO3c,cAGjE,IAAI6yB,EAAiB7lB,GAAWZ,GAAMtF,MAAMkG,EAAQoP,OAAQpP,EAAQ4E,EAAO+K,SAE3E3P,GACEZ,GAAM/J,QAAQ,CAAC,SAAU,MAAO,OAAQ,OAAQ,MAAO,QAAS,QAAS,UAAW,SAACsa,UAC5E3P,EAAQ2P,EACjB,GAEF/K,EAAO5E,QAAUY,GAAajJ,OAAOkuB,EAAgB7lB,GAGrD,IAAM8lB,EAA0B,GAC5BC,GAAiC,EACrC/rB,KAAKmrB,aAAazf,QAAQrQ,QAAQ,SAAoC2wB,GACpE,GAAmC,mBAAxBA,EAAY9a,UAA0D,IAAhC8a,EAAY9a,QAAQtG,GAArE,CAIAmhB,EAAiCA,GAAkCC,EAAY/a,YAE/E,IAAMwC,EAAe7I,EAAO6I,cAAgBpC,GAE1CoC,GAAgBA,EAAahC,gCAG7Bqa,EAAwBG,QAAQD,EAAYjb,UAAWib,EAAYhb,UAEnE8a,EAAwBnzB,KAAKqzB,EAAYjb,UAAWib,EAAYhb,SAXlE,CAaF,GAEA,IAKIkb,EALEC,EAA2B,GACjCnsB,KAAKmrB,aAAaxf,SAAStQ,QAAQ,SAAkC2wB,GACnEG,EAAyBxzB,KAAKqzB,EAAYjb,UAAWib,EAAYhb,SACnE,GAGA,IACIlV,EADAR,EAAI,EAGR,IAAKywB,EAAgC,CACnC,IAAMK,EAAQ,CAACnC,GAAgB3yB,KAAK0I,WAAOpF,GAO3C,IANAwxB,EAAMH,QAAOx0B,MAAb20B,EAAiBN,GACjBM,EAAMzzB,KAAIlB,MAAV20B,EAAcD,GACdrwB,EAAMswB,EAAM3wB,OAEZywB,EAAUxO,QAAQ3H,QAAQnL,GAEnBtP,EAAIQ,GACTowB,EAAUA,EAAQjnB,KAAKmnB,EAAM9wB,KAAM8wB,EAAM9wB,MAG3C,OAAO4wB,CACT,CAEApwB,EAAMgwB,EAAwBrwB,OAI9B,IAFA,IAAIihB,EAAY9R,EAETtP,EAAIQ,GAAK,CACd,IAAMuwB,EAAcP,EAAwBxwB,KACtCgxB,EAAaR,EAAwBxwB,KAC3C,IACEohB,EAAY2P,EAAY3P,EAC1B,CAAE,MAAOjQ,GACP6f,EAAWh0B,KAAK0H,KAAMyM,GACtB,KACF,CACF,CAEA,IACEyf,EAAUjC,GAAgB3xB,KAAK0H,KAAM0c,EACvC,CAAE,MAAOjQ,GACP,OAAOiR,QAAQ1H,OAAOvJ,EACxB,CAKA,IAHAnR,EAAI,EACJQ,EAAMqwB,EAAyB1wB,OAExBH,EAAIQ,GACTowB,EAAUA,EAAQjnB,KAAKknB,EAAyB7wB,KAAM6wB,EAAyB7wB,MAGjF,OAAO4wB,CACT,GAAC,CAAAvwB,IAAA,SAAA4D,MAED,SAAOqL,GAGL,OAAOwF,GADUgK,IADjBxP,EAASgQ,GAAY5a,KAAKwT,SAAU5I,IACEyP,QAASzP,EAAOyF,IAAKzF,EAAO2P,kBAAmB3P,GAC3DA,EAAOsF,OAAQtF,EAAOyQ,iBAClD,KAhNA,IAAA+P,CAgNC,CAzNQ,GA6NXhmB,GAAM/J,QAAQ,CAAC,SAAU,MAAO,OAAQ,WAAY,SAA6Bsa,GAE/EsV,GAAMnzB,UAAU6d,GAAU,SAAUtF,EAAKzF,GACvC,OAAO5K,KAAK0L,QACVkP,GAAYhQ,GAAU,CAAA,EAAI,CACxB+K,OAAAA,EACAtF,IAAAA,EACApS,KAAM2M,GAAUxF,GAAMlC,WAAW0H,EAAQ,QAAUA,EAAO3M,UAAOrD,IAGvE,CACF,GAEAwK,GAAM/J,QAAQ,CAAC,OAAQ,MAAO,QAAS,SAAU,SAA+Bsa,GAC9E,SAAS4W,EAAmBC,GAC1B,OAAO,SAAoBnc,EAAKpS,EAAM2M,GACpC,OAAO5K,KAAK0L,QACVkP,GAAYhQ,GAAU,CAAA,EAAI,CACxB+K,OAAAA,EACA3P,QAASwmB,EACL,CACE,eAAgB,uBAElB,CAAA,EACJnc,IAAAA,EACApS,KAAAA,IAGN,CACF,CAEAgtB,GAAMnzB,UAAU6d,GAAU4W,IAIX,UAAX5W,IACFsV,GAAMnzB,UAAU6d,EAAS,QAAU4W,GAAmB,GAE1D,GCpRA,IAOME,GAAW,WACf,SAAAA,EAAYC,GACV,GADoB5lB,OAAA2lB,GACI,mBAAbC,EACT,MAAM,IAAIxkB,UAAU,gCAGtB,IAAIykB,EAEJ3sB,KAAKksB,QAAU,IAAIxO,QAAQ,SAAyB3H,GAClD4W,EAAiB5W,CACnB,GAEA,IAAM1Y,EAAQ2C,KAGdA,KAAKksB,QAAQjnB,KAAK,SAACwa,GACjB,GAAKpiB,EAAMuvB,WAAX,CAIA,IAFA,IAAItxB,EAAI+B,EAAMuvB,WAAWnxB,OAElBH,KAAM,GACX+B,EAAMuvB,WAAWtxB,GAAGmkB,GAEtBpiB,EAAMuvB,WAAa,IAPI,CAQzB,GAGA5sB,KAAKksB,QAAQjnB,KAAO,SAAC4nB,GACnB,IAAIC,EAEEZ,EAAU,IAAIxO,QAAQ,SAAC3H,GAC3B1Y,EAAMsiB,UAAU5J,GAChB+W,EAAW/W,CACb,GAAG9Q,KAAK4nB,GAMR,OAJAX,EAAQzM,OAAS,WACfpiB,EAAM8gB,YAAY2O,EACpB,EAEOZ,CACT,EAEAQ,EAAS,SAAgBjhB,EAASb,EAAQc,GACpCrO,EAAM8iB,SAKV9iB,EAAM8iB,OAAS,IAAIvK,GAAcnK,EAASb,EAAQc,GAClDihB,EAAetvB,EAAM8iB,QACvB,EACF,CAEA,OAAAtZ,EAAA4lB,EAAA,CAAA,CAAA9wB,IAAA,mBAAA4D,MAGA,WACE,GAAIS,KAAKmgB,OACP,MAAMngB,KAAKmgB,MAEf,GAEA,CAAAxkB,IAAA,YAAA4D,MAIA,SAAU2W,GACJlW,KAAKmgB,OACPjK,EAASlW,KAAKmgB,QAIZngB,KAAK4sB,WACP5sB,KAAK4sB,WAAWj0B,KAAKud,GAErBlW,KAAK4sB,WAAa,CAAC1W,EAEvB,GAEA,CAAAva,IAAA,cAAA4D,MAIA,SAAY2W,GACV,GAAKlW,KAAK4sB,WAAV,CAGA,IAAMjd,EAAQ3P,KAAK4sB,WAAWl0B,QAAQwd,IACxB,IAAVvG,GACF3P,KAAK4sB,WAAWG,OAAOpd,EAAO,EAHhC,CAKF,GAAC,CAAAhU,IAAA,gBAAA4D,MAED,WAAgB,IAAAqM,EAAA5L,KACRigB,EAAa,IAAIC,gBAEjBR,EAAQ,SAACtX,GACb6X,EAAWP,MAAMtX,EACnB,EAMA,OAJApI,KAAK2f,UAAUD,GAEfO,EAAW7B,OAAOD,YAAc,WAAA,OAAMvS,EAAKuS,YAAYuB,EAAM,EAEtDO,EAAW7B,MACpB,IAEA,CAAA,CAAAziB,IAAA,SAAA4D,MAIA,WACE,IAAIkgB,EAIJ,MAAO,CACLpiB,MAJY,IAAIovB,EAAY,SAAkBvI,GAC9CzE,EAASyE,CACX,GAGEzE,OAAAA,EAEJ,IAAC,CAxHc,GCXjB,IAAMuN,GAAiB,CACrBC,SAAU,IACVC,mBAAoB,IACpBC,WAAY,IACZC,WAAY,IACZC,GAAI,IACJC,QAAS,IACTC,SAAU,IACVC,4BAA6B,IAC7BC,UAAW,IACXC,aAAc,IACdC,eAAgB,IAChBC,YAAa,IACbC,gBAAiB,IACjBC,OAAQ,IACRC,gBAAiB,IACjBC,iBAAkB,IAClBC,MAAO,IACPC,SAAU,IACVC,YAAa,IACbC,SAAU,IACVC,OAAQ,IACRC,kBAAmB,IACnBC,kBAAmB,IACnBC,WAAY,IACZC,aAAc,IACdC,gBAAiB,IACjBC,UAAW,IACXC,SAAU,IACVC,iBAAkB,IAClBC,cAAe,IACfC,4BAA6B,IAC7BC,eAAgB,IAChBC,SAAU,IACVC,KAAM,IACNC,eAAgB,IAChBC,mBAAoB,IACpBC,gBAAiB,IACjBC,WAAY,IACZC,qBAAsB,IACtBC,oBAAqB,IACrBC,kBAAmB,IACnBC,UAAW,IACXC,mBAAoB,IACpBC,oBAAqB,IACrBC,OAAQ,IACRC,iBAAkB,IAClBC,SAAU,IACVC,gBAAiB,IACjBC,qBAAsB,IACtBC,gBAAiB,IACjBC,4BAA6B,IAC7BC,2BAA4B,IAC5BC,oBAAqB,IACrBC,eAAgB,IAChBC,WAAY,IACZC,mBAAoB,IACpBC,eAAgB,IAChBC,wBAAyB,IACzBC,sBAAuB,IACvBC,oBAAqB,IACrBC,aAAc,IACdC,YAAa,IACbC,8BAA+B,IAC/BC,gBAAiB,IACjBC,mBAAoB,IACpBC,oBAAqB,IACrBC,gBAAiB,IACjBC,mBAAoB,IACpBC,sBAAuB,KAGzBx5B,OAAO2R,QAAQwjB,IAAgB3xB,QAAQ,SAAAoO,GAAkB,IAAAC,EAAA3O,EAAA0O,EAAA,GAAhB9N,EAAG+N,EAAA,GAAEnK,EAAKmK,EAAA,GACjDsjB,GAAeztB,GAAS5D,CAC1B,GC5BA,IAAM21B,GAnBN,SAASC,EAAeC,GACtB,IAAMr1B,EAAU,IAAI8uB,GAAMuG,GACpBC,EAAWn6B,EAAK2zB,GAAMnzB,UAAU4T,QAASvP,GAa/C,OAVAiJ,GAAMzE,OAAO8wB,EAAUxG,GAAMnzB,UAAWqE,EAAS,CAAET,YAAY,IAG/D0J,GAAMzE,OAAO8wB,EAAUt1B,EAAS,KAAM,CAAET,YAAY,IAGpD+1B,EAAS54B,OAAS,SAAgBqyB,GAChC,OAAOqG,EAAe3W,GAAY4W,EAAetG,GACnD,EAEOuG,CACT,CAGcF,CAAe/d,WAG7B8d,GAAMrG,MAAQA,GAGdqG,GAAM1b,cAAgBA,GACtB0b,GAAM7E,YAAcA,GACpB6E,GAAM7b,SAAWA,GACjB6b,GAAMnN,QAAUA,GAChBmN,GAAMrjB,WAAaA,GAGnBqjB,GAAM/lB,WAAaA,GAGnB+lB,GAAMI,OAASJ,GAAM1b,cAGrB0b,GAAMK,IAAM,SAAaC,GACvB,OAAOlU,QAAQiU,IAAIC,EACrB,EAEAN,GAAMO,OC9CS,SAAgBC,GAC7B,OAAO,SAActvB,GACnB,OAAOsvB,EAASr6B,MAAM,KAAM+K,EAC9B,CACF,ED6CA8uB,GAAMxlB,aE7DS,SAAsBimB,GACnC,OAAO3sB,GAAMrL,SAASg4B,KAAqC,IAAzBA,EAAQjmB,YAC5C,EF8DAwlB,GAAM1W,YAAcA,GAEpB0W,GAAM1qB,aAAeA,GAErB0qB,GAAMU,WAAa,SAACx5B,GAAK,OAAKwa,GAAe5N,GAAM7I,WAAW/D,GAAS,IAAImC,SAASnC,GAASA,EAAM,EAEnG84B,GAAM5H,WAAaD,GAASC,WAE5B4H,GAAMtE,eAAiBA,GAEvBsE,GAAK,QAAWA"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/browser/axios.cjs b/Lombiq.EInvoiceValidator/node_modules/axios/dist/browser/axios.cjs new file mode 100644 index 0000000..b39acfe --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/dist/browser/axios.cjs @@ -0,0 +1,5146 @@ +/*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */ +'use strict'; + +/** + * Create a bound version of a function with a specified `this` context + * + * @param {Function} fn - The function to bind + * @param {*} thisArg - The value to be passed as the `this` parameter + * @returns {Function} A new function that will call the original function with the specified `this` context + */ +function bind(fn, thisArg) { + return function wrap() { + return fn.apply(thisArg, arguments); + }; +} + +// utils is a library of generic helper functions non-specific to axios + +const { toString } = Object.prototype; +const { getPrototypeOf } = Object; +const { iterator, toStringTag } = Symbol; + +/* Creating a function that will check if an object has a property. */ +const hasOwnProperty = ( + ({ hasOwnProperty }) => + (obj, prop) => + hasOwnProperty.call(obj, prop) +)(Object.prototype); + +/** + * Walk the prototype chain (excluding the shared Object.prototype) looking for + * an own `prop`. This distinguishes genuine own/inherited members — including + * class accessors and template prototypes — from members injected via + * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which + * live on Object.prototype itself and are therefore never matched. + * + * @param {*} thing The value whose chain to inspect + * @param {string|symbol} prop The property key to look for + * + * @returns {boolean} True when `prop` is owned below Object.prototype + */ +const hasOwnInPrototypeChain = (thing, prop) => { + let obj = thing; + const seen = []; + + while (obj != null && obj !== Object.prototype) { + if (seen.indexOf(obj) !== -1) { + return false; + } + seen.push(obj); + + if (hasOwnProperty(obj, prop)) { + return true; + } + obj = getPrototypeOf(obj); + } + return false; +}; + +/** + * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own + * properties and members inherited from a non-Object.prototype source (a class + * instance or template object) are honored; a value reachable only through a + * polluted Object.prototype is ignored and `undefined` is returned. + * + * @param {*} obj The source object + * @param {string|symbol} prop The property key to read + * + * @returns {*} The resolved value, or undefined when unsafe/absent + */ +const getSafeProp = (obj, prop) => + obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined; + +const kindOf = ((cache) => (thing) => { + const str = toString.call(thing); + return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase()); +})(Object.create(null)); + +const kindOfTest = (type) => { + type = type.toLowerCase(); + return (thing) => kindOf(thing) === type; +}; + +const typeOfTest = (type) => (thing) => typeof thing === type; + +/** + * Determine if a value is a non-null object + * + * @param {Object} val The value to test + * + * @returns {boolean} True if value is an Array, otherwise false + */ +const { isArray } = Array; + +/** + * Determine if a value is undefined + * + * @param {*} val The value to test + * + * @returns {boolean} True if the value is undefined, otherwise false + */ +const isUndefined = typeOfTest('undefined'); + +/** + * Determine if a value is a Buffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Buffer, otherwise false + */ +function isBuffer(val) { + return ( + val !== null && + !isUndefined(val) && + val.constructor !== null && + !isUndefined(val.constructor) && + isFunction$1(val.constructor.isBuffer) && + val.constructor.isBuffer(val) + ); +} + +/** + * Determine if a value is an ArrayBuffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is an ArrayBuffer, otherwise false + */ +const isArrayBuffer = kindOfTest('ArrayBuffer'); + +/** + * Determine if a value is a view on an ArrayBuffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false + */ +function isArrayBufferView(val) { + let result; + if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) { + result = ArrayBuffer.isView(val); + } else { + result = val && val.buffer && isArrayBuffer(val.buffer); + } + return result; +} + +/** + * Determine if a value is a String + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a String, otherwise false + */ +const isString = typeOfTest('string'); + +/** + * Determine if a value is a Function + * + * @param {*} val The value to test + * @returns {boolean} True if value is a Function, otherwise false + */ +const isFunction$1 = typeOfTest('function'); + +/** + * Determine if a value is a Number + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Number, otherwise false + */ +const isNumber = typeOfTest('number'); + +/** + * Determine if a value is an Object + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value is an Object, otherwise false + */ +const isObject = (thing) => thing !== null && typeof thing === 'object'; + +/** + * Determine if a value is a Boolean + * + * @param {*} thing The value to test + * @returns {boolean} True if value is a Boolean, otherwise false + */ +const isBoolean = (thing) => thing === true || thing === false; + +/** + * Determine if a value is a plain Object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a plain Object, otherwise false + */ +const isPlainObject = (val) => { + if (!isObject(val)) { + return false; + } + + const prototype = getPrototypeOf(val); + return ( + (prototype === null || + prototype === Object.prototype || + getPrototypeOf(prototype) === null) && + // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or + // Symbol.iterator as evidence the value is a tagged/iterable type rather + // than a plain object, while ignoring keys injected onto Object.prototype. + !hasOwnInPrototypeChain(val, toStringTag) && + !hasOwnInPrototypeChain(val, iterator) + ); +}; + +/** + * Determine if a value is an empty object (safely handles Buffers) + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is an empty object, otherwise false + */ +const isEmptyObject = (val) => { + // Early return for non-objects or Buffers to prevent RangeError + if (!isObject(val) || isBuffer(val)) { + return false; + } + + try { + return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype; + } catch (e) { + // Fallback for any other objects that might cause RangeError with Object.keys() + return false; + } +}; + +/** + * Determine if a value is a Date + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Date, otherwise false + */ +const isDate = kindOfTest('Date'); + +/** + * Determine if a value is a File + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a File, otherwise false + */ +const isFile = kindOfTest('File'); + +/** + * Determine if a value is a React Native Blob + * React Native "blob": an object with a `uri` attribute. Optionally, it can + * also have a `name` and `type` attribute to specify filename and content type + * + * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71 + * + * @param {*} value The value to test + * + * @returns {boolean} True if value is a React Native Blob, otherwise false + */ +const isReactNativeBlob = (value) => { + return !!(value && typeof value.uri !== 'undefined'); +}; + +/** + * Determine if environment is React Native + * ReactNative `FormData` has a non-standard `getParts()` method + * + * @param {*} formData The formData to test + * + * @returns {boolean} True if environment is React Native, otherwise false + */ +const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined'; + +/** + * Determine if a value is a Blob + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Blob, otherwise false + */ +const isBlob = kindOfTest('Blob'); + +/** + * Determine if a value is a FileList + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a FileList, otherwise false + */ +const isFileList = kindOfTest('FileList'); + +/** + * Determine if a value is a Stream + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Stream, otherwise false + */ +const isStream = (val) => isObject(val) && isFunction$1(val.pipe); + +/** + * Determine if a value is a FormData + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value is an FormData, otherwise false + */ +function getGlobal() { + if (typeof globalThis !== 'undefined') return globalThis; + if (typeof self !== 'undefined') return self; + if (typeof window !== 'undefined') return window; + if (typeof global !== 'undefined') return global; + return {}; +} + +const G = getGlobal(); +const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined; + +const isFormData = (thing) => { + if (!thing) return false; + if (FormDataCtor && thing instanceof FormDataCtor) return true; + // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData. + const proto = getPrototypeOf(thing); + if (!proto || proto === Object.prototype) return false; + if (!isFunction$1(thing.append)) return false; + const kind = kindOf(thing); + return ( + kind === 'formdata' || + // detect form-data instance + (kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]') + ); +}; + +/** + * Determine if a value is a URLSearchParams object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a URLSearchParams object, otherwise false + */ +const isURLSearchParams = kindOfTest('URLSearchParams'); + +const [isReadableStream, isRequest, isResponse, isHeaders] = [ + 'ReadableStream', + 'Request', + 'Response', + 'Headers', +].map(kindOfTest); + +/** + * Trim excess whitespace off the beginning and end of a string + * + * @param {String} str The String to trim + * + * @returns {String} The String freed of excess whitespace + */ +const trim = (str) => { + return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); +}; +/** + * Iterate over an Array or an Object invoking a function for each item. + * + * If `obj` is an Array callback will be called passing + * the value, index, and complete array for each item. + * + * If 'obj' is an Object callback will be called passing + * the value, key, and complete object for each property. + * + * @param {Object|Array} obj The object to iterate + * @param {Function} fn The callback to invoke for each item + * + * @param {Object} [options] + * @param {Boolean} [options.allOwnKeys = false] + * @returns {any} + */ +function forEach(obj, fn, { allOwnKeys = false } = {}) { + // Don't bother if no value provided + if (obj === null || typeof obj === 'undefined') { + return; + } + + let i; + let l; + + // Force an array if not already something iterable + if (typeof obj !== 'object') { + /*eslint no-param-reassign:0*/ + obj = [obj]; + } + + if (isArray(obj)) { + // Iterate over array values + for (i = 0, l = obj.length; i < l; i++) { + fn.call(null, obj[i], i, obj); + } + } else { + // Buffer check + if (isBuffer(obj)) { + return; + } + + // Iterate over object keys + const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj); + const len = keys.length; + let key; + + for (i = 0; i < len; i++) { + key = keys[i]; + fn.call(null, obj[key], key, obj); + } + } +} + +/** + * Finds a key in an object, case-insensitive, returning the actual key name. + * Returns null if the object is a Buffer or if no match is found. + * + * @param {Object} obj - The object to search. + * @param {string} key - The key to find (case-insensitive). + * @returns {?string} The actual key name if found, otherwise null. + */ +function findKey(obj, key) { + if (isBuffer(obj)) { + return null; + } + + key = key.toLowerCase(); + const keys = Object.keys(obj); + let i = keys.length; + let _key; + while (i-- > 0) { + _key = keys[i]; + if (key === _key.toLowerCase()) { + return _key; + } + } + return null; +} + +const _global = (() => { + /*eslint no-undef:0*/ + if (typeof globalThis !== 'undefined') return globalThis; + return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global; +})(); + +const isContextDefined = (context) => !isUndefined(context) && context !== _global; + +/** + * Accepts varargs expecting each argument to be an object, then + * immutably merges the properties of each object and returns result. + * + * When multiple objects contain the same key the later object in + * the arguments list will take precedence. + * + * Example: + * + * ```js + * const result = merge({foo: 123}, {foo: 456}); + * console.log(result.foo); // outputs 456 + * ``` + * + * @param {Object} obj1 Object to merge + * + * @returns {Object} Result of all merge properties + */ +function merge(...objs) { + const { caseless, skipUndefined } = (isContextDefined(this) && this) || {}; + const result = {}; + const assignValue = (val, key) => { + // Skip dangerous property names to prevent prototype pollution + if (key === '__proto__' || key === 'constructor' || key === 'prototype') { + return; + } + + // findKey lowercases the key, so caseless lookup only applies to strings — + // symbol keys are identity-matched. + const targetKey = (caseless && typeof key === 'string' && findKey(result, key)) || key; + // Read via own-prop only — a bare `result[targetKey]` walks the prototype + // chain, so a polluted Object.prototype value could surface here and get + // copied into the merged result. + const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined; + if (isPlainObject(existing) && isPlainObject(val)) { + result[targetKey] = merge(existing, val); + } else if (isPlainObject(val)) { + result[targetKey] = merge({}, val); + } else if (isArray(val)) { + result[targetKey] = val.slice(); + } else if (!skipUndefined || !isUndefined(val)) { + result[targetKey] = val; + } + }; + + for (let i = 0, l = objs.length; i < l; i++) { + const source = objs[i]; + if (!source || isBuffer(source)) { + continue; + } + + forEach(source, assignValue); + + if (typeof source !== 'object' || isArray(source)) { + continue; + } + + const symbols = Object.getOwnPropertySymbols(source); + for (let j = 0; j < symbols.length; j++) { + const symbol = symbols[j]; + if (propertyIsEnumerable.call(source, symbol)) { + assignValue(source[symbol], symbol); + } + } + } + return result; +} + +/** + * Extends object a by mutably adding to it the properties of object b. + * + * @param {Object} a The object to be extended + * @param {Object} b The object to copy properties from + * @param {Object} thisArg The object to bind function to + * + * @param {Object} [options] + * @param {Boolean} [options.allOwnKeys] + * @returns {Object} The resulting value of object a + */ +const extend = (a, b, thisArg, { allOwnKeys } = {}) => { + forEach( + b, + (val, key) => { + if (thisArg && isFunction$1(val)) { + Object.defineProperty(a, key, { + // Null-proto descriptor so a polluted Object.prototype.get cannot + // hijack defineProperty's accessor-vs-data resolution. + __proto__: null, + value: bind(val, thisArg), + writable: true, + enumerable: true, + configurable: true, + }); + } else { + Object.defineProperty(a, key, { + __proto__: null, + value: val, + writable: true, + enumerable: true, + configurable: true, + }); + } + }, + { allOwnKeys } + ); + return a; +}; + +/** + * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) + * + * @param {string} content with BOM + * + * @returns {string} content value without BOM + */ +const stripBOM = (content) => { + if (content.charCodeAt(0) === 0xfeff) { + content = content.slice(1); + } + return content; +}; + +/** + * Inherit the prototype methods from one constructor into another + * @param {function} constructor + * @param {function} superConstructor + * @param {object} [props] + * @param {object} [descriptors] + * + * @returns {void} + */ +const inherits = (constructor, superConstructor, props, descriptors) => { + constructor.prototype = Object.create(superConstructor.prototype, descriptors); + Object.defineProperty(constructor.prototype, 'constructor', { + __proto__: null, + value: constructor, + writable: true, + enumerable: false, + configurable: true, + }); + Object.defineProperty(constructor, 'super', { + __proto__: null, + value: superConstructor.prototype, + }); + props && Object.assign(constructor.prototype, props); +}; + +/** + * Resolve object with deep prototype chain to a flat object + * @param {Object} sourceObj source object + * @param {Object} [destObj] + * @param {Function|Boolean} [filter] + * @param {Function} [propFilter] + * + * @returns {Object} + */ +const toFlatObject = (sourceObj, destObj, filter, propFilter) => { + let props; + let i; + let prop; + const merged = {}; + + destObj = destObj || {}; + // eslint-disable-next-line no-eq-null,eqeqeq + if (sourceObj == null) return destObj; + + do { + props = Object.getOwnPropertyNames(sourceObj); + i = props.length; + while (i-- > 0) { + prop = props[i]; + if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) { + destObj[prop] = sourceObj[prop]; + merged[prop] = true; + } + } + sourceObj = filter !== false && getPrototypeOf(sourceObj); + } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype); + + return destObj; +}; + +/** + * Determines whether a string ends with the characters of a specified string + * + * @param {String} str + * @param {String} searchString + * @param {Number} [position= 0] + * + * @returns {boolean} + */ +const endsWith = (str, searchString, position) => { + str = String(str); + if (position === undefined || position > str.length) { + position = str.length; + } + position -= searchString.length; + const lastIndex = str.indexOf(searchString, position); + return lastIndex !== -1 && lastIndex === position; +}; + +/** + * Returns new array from array like object or null if failed + * + * @param {*} [thing] + * + * @returns {?Array} + */ +const toArray = (thing) => { + if (!thing) return null; + if (isArray(thing)) return thing; + let i = thing.length; + if (!isNumber(i)) return null; + const arr = new Array(i); + while (i-- > 0) { + arr[i] = thing[i]; + } + return arr; +}; + +/** + * Checking if the Uint8Array exists and if it does, it returns a function that checks if the + * thing passed in is an instance of Uint8Array + * + * @param {TypedArray} + * + * @returns {Array} + */ +// eslint-disable-next-line func-names +const isTypedArray = ((TypedArray) => { + // eslint-disable-next-line func-names + return (thing) => { + return TypedArray && thing instanceof TypedArray; + }; +})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array)); + +/** + * For each entry in the object, call the function with the key and value. + * + * @param {Object} obj - The object to iterate over. + * @param {Function} fn - The function to call for each entry. + * + * @returns {void} + */ +const forEachEntry = (obj, fn) => { + const generator = obj && obj[iterator]; + + const _iterator = generator.call(obj); + + let result; + + while ((result = _iterator.next()) && !result.done) { + const pair = result.value; + fn.call(obj, pair[0], pair[1]); + } +}; + +/** + * It takes a regular expression and a string, and returns an array of all the matches + * + * @param {string} regExp - The regular expression to match against. + * @param {string} str - The string to search. + * + * @returns {Array} + */ +const matchAll = (regExp, str) => { + let matches; + const arr = []; + + while ((matches = regExp.exec(str)) !== null) { + arr.push(matches); + } + + return arr; +}; + +/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */ +const isHTMLForm = kindOfTest('HTMLFormElement'); + +const toCamelCase = (str) => { + return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) { + return p1.toUpperCase() + p2; + }); +}; + +const { propertyIsEnumerable } = Object.prototype; + +/** + * Determine if a value is a RegExp object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a RegExp object, otherwise false + */ +const isRegExp = kindOfTest('RegExp'); + +const reduceDescriptors = (obj, reducer) => { + const descriptors = Object.getOwnPropertyDescriptors(obj); + const reducedDescriptors = {}; + + forEach(descriptors, (descriptor, name) => { + let ret; + if ((ret = reducer(descriptor, name, obj)) !== false) { + reducedDescriptors[name] = ret || descriptor; + } + }); + + Object.defineProperties(obj, reducedDescriptors); +}; + +/** + * Makes all methods read-only + * @param {Object} obj + */ + +const freezeMethods = (obj) => { + reduceDescriptors(obj, (descriptor, name) => { + // skip restricted props in strict mode + if (isFunction$1(obj) && ['arguments', 'caller', 'callee'].includes(name)) { + return false; + } + + const value = obj[name]; + + if (!isFunction$1(value)) return; + + descriptor.enumerable = false; + + if ('writable' in descriptor) { + descriptor.writable = false; + return; + } + + if (!descriptor.set) { + descriptor.set = () => { + throw Error("Can not rewrite read-only method '" + name + "'"); + }; + } + }); +}; + +/** + * Converts an array or a delimited string into an object set with values as keys and true as values. + * Useful for fast membership checks. + * + * @param {Array|string} arrayOrString - The array or string to convert. + * @param {string} delimiter - The delimiter to use if input is a string. + * @returns {Object} An object with keys from the array or string, values set to true. + */ +const toObjectSet = (arrayOrString, delimiter) => { + const obj = {}; + + const define = (arr) => { + arr.forEach((value) => { + obj[value] = true; + }); + }; + + isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter)); + + return obj; +}; + +const noop = () => {}; + +const toFiniteNumber = (value, defaultValue) => { + return value != null && Number.isFinite((value = +value)) ? value : defaultValue; +}; + +/** + * If the thing is a FormData object, return true, otherwise return false. + * + * @param {unknown} thing - The thing to check. + * + * @returns {boolean} + */ +function isSpecCompliantForm(thing) { + return !!( + thing && + isFunction$1(thing.append) && + thing[toStringTag] === 'FormData' && + thing[iterator] + ); +} + +/** + * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers. + * + * @param {Object} obj - The object to convert. + * @returns {Object} The JSON-compatible object. + */ +const toJSONObject = (obj) => { + const visited = new WeakSet(); + + const visit = (source) => { + if (isObject(source)) { + if (visited.has(source)) { + return; + } + + //Buffer check + if (isBuffer(source)) { + return source; + } + + if (!('toJSON' in source)) { + // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230). + visited.add(source); + const target = isArray(source) ? [] : {}; + + forEach(source, (value, key) => { + const reducedValue = visit(value); + !isUndefined(reducedValue) && (target[key] = reducedValue); + }); + + visited.delete(source); + + return target; + } + } + + return source; + }; + + return visit(obj); +}; + +/** + * Determines if a value is an async function. + * + * @param {*} thing - The value to test. + * @returns {boolean} True if value is an async function, otherwise false. + */ +const isAsyncFn = kindOfTest('AsyncFunction'); + +/** + * Determines if a value is thenable (has then and catch methods). + * + * @param {*} thing - The value to test. + * @returns {boolean} True if value is thenable, otherwise false. + */ +const isThenable = (thing) => + thing && + (isObject(thing) || isFunction$1(thing)) && + isFunction$1(thing.then) && + isFunction$1(thing.catch); + +// original code +// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34 + +/** + * Provides a cross-platform setImmediate implementation. + * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout. + * + * @param {boolean} setImmediateSupported - Whether setImmediate is supported. + * @param {boolean} postMessageSupported - Whether postMessage is supported. + * @returns {Function} A function to schedule a callback asynchronously. + */ +const _setImmediate = ((setImmediateSupported, postMessageSupported) => { + if (setImmediateSupported) { + return setImmediate; + } + + return postMessageSupported + ? ((token, callbacks) => { + _global.addEventListener( + 'message', + ({ source, data }) => { + if (source === _global && data === token) { + callbacks.length && callbacks.shift()(); + } + }, + false + ); + + return (cb) => { + callbacks.push(cb); + _global.postMessage(token, '*'); + }; + })(`axios@${Math.random()}`, []) + : (cb) => setTimeout(cb); +})(typeof setImmediate === 'function', isFunction$1(_global.postMessage)); + +/** + * Schedules a microtask or asynchronous callback as soon as possible. + * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate. + * + * @type {Function} + */ +const asap = + typeof queueMicrotask !== 'undefined' + ? queueMicrotask.bind(_global) + : (typeof process !== 'undefined' && process.nextTick) || _setImmediate; + +// ********************* + +const isIterable = (thing) => thing != null && isFunction$1(thing[iterator]); + +/** + * Determine if a value is iterable via an iterator that is NOT sourced solely + * from a polluted Object.prototype. Use this instead of `isIterable` whenever + * the iterable comes from untrusted input (e.g. user-supplied header sources), + * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object + * into an attacker-controlled entries iterator. + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value has a non-polluted iterator + */ +const isSafeIterable = (thing) => + thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing); + +var utils$1 = { + isArray, + isArrayBuffer, + isBuffer, + isFormData, + isArrayBufferView, + isString, + isNumber, + isBoolean, + isObject, + isPlainObject, + isEmptyObject, + isReadableStream, + isRequest, + isResponse, + isHeaders, + isUndefined, + isDate, + isFile, + isReactNativeBlob, + isReactNative, + isBlob, + isRegExp, + isFunction: isFunction$1, + isStream, + isURLSearchParams, + isTypedArray, + isFileList, + forEach, + merge, + extend, + trim, + stripBOM, + inherits, + toFlatObject, + kindOf, + kindOfTest, + endsWith, + toArray, + forEachEntry, + matchAll, + isHTMLForm, + hasOwnProperty, + hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection + hasOwnInPrototypeChain, + getSafeProp, + reduceDescriptors, + freezeMethods, + toObjectSet, + toCamelCase, + noop, + toFiniteNumber, + findKey, + global: _global, + isContextDefined, + isSpecCompliantForm, + toJSONObject, + isAsyncFn, + isThenable, + setImmediate: _setImmediate, + asap, + isIterable, + isSafeIterable, +}; + +// RawAxiosHeaders whose duplicates are ignored by node +// c.f. https://nodejs.org/api/http.html#http_message_headers +const ignoreDuplicateOf = utils$1.toObjectSet([ + 'age', + 'authorization', + 'content-length', + 'content-type', + 'etag', + 'expires', + 'from', + 'host', + 'if-modified-since', + 'if-unmodified-since', + 'last-modified', + 'location', + 'max-forwards', + 'proxy-authorization', + 'referer', + 'retry-after', + 'user-agent', +]); + +/** + * Parse headers into an object + * + * ``` + * Date: Wed, 27 Aug 2014 08:58:49 GMT + * Content-Type: application/json + * Connection: keep-alive + * Transfer-Encoding: chunked + * ``` + * + * @param {String} rawHeaders Headers needing to be parsed + * + * @returns {Object} Headers parsed into an object + */ +var parseHeaders = (rawHeaders) => { + const parsed = {}; + let key; + let val; + let i; + + rawHeaders && + rawHeaders.split('\n').forEach(function parser(line) { + i = line.indexOf(':'); + key = line.substring(0, i).trim().toLowerCase(); + val = line.substring(i + 1).trim(); + + if (!key || (parsed[key] && ignoreDuplicateOf[key])) { + return; + } + + if (key === 'set-cookie') { + if (parsed[key]) { + parsed[key].push(val); + } else { + parsed[key] = [val]; + } + } else { + parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val; + } + }); + + return parsed; +}; + +function trimSPorHTAB(str) { + let start = 0; + let end = str.length; + + while (start < end) { + const code = str.charCodeAt(start); + + if (code !== 0x09 && code !== 0x20) { + break; + } + + start += 1; + } + + while (end > start) { + const code = str.charCodeAt(end - 1); + + if (code !== 0x09 && code !== 0x20) { + break; + } + + end -= 1; + } + + return start === 0 && end === str.length ? str : str.slice(start, end); +} + +// The control-code ranges are intentional: header sanitization strips C0/DEL bytes. +// eslint-disable-next-line no-control-regex +const INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+', 'g'); +// eslint-disable-next-line no-control-regex +const INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+', 'g'); + +function sanitizeValue(value, invalidChars) { + if (utils$1.isArray(value)) { + return value.map((item) => sanitizeValue(item, invalidChars)); + } + + return trimSPorHTAB(String(value).replace(invalidChars, '')); +} + +const sanitizeHeaderValue = (value) => + sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS); + +const sanitizeByteStringHeaderValue = (value) => + sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS); + +function toByteStringHeaderObject(headers) { + const byteStringHeaders = Object.create(null); + + utils$1.forEach(headers.toJSON(), (value, header) => { + byteStringHeaders[header] = sanitizeByteStringHeaderValue(value); + }); + + return byteStringHeaders; +} + +const $internals = Symbol('internals'); + +function normalizeHeader(header) { + return header && String(header).trim().toLowerCase(); +} + +function normalizeValue(value) { + if (value === false || value == null) { + return value; + } + + return utils$1.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value)); +} + +function parseTokens(str) { + const tokens = Object.create(null); + const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; + let match; + + while ((match = tokensRE.exec(str))) { + tokens[match[1]] = match[2]; + } + + return tokens; +} + +const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim()); + +function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) { + if (utils$1.isFunction(filter)) { + return filter.call(this, value, header); + } + + if (isHeaderNameFilter) { + value = header; + } + + if (!utils$1.isString(value)) return; + + if (utils$1.isString(filter)) { + return value.indexOf(filter) !== -1; + } + + if (utils$1.isRegExp(filter)) { + return filter.test(value); + } +} + +function formatHeader(header) { + return header + .trim() + .toLowerCase() + .replace(/([a-z\d])(\w*)/g, (w, char, str) => { + return char.toUpperCase() + str; + }); +} + +function buildAccessors(obj, header) { + const accessorName = utils$1.toCamelCase(' ' + header); + + ['get', 'set', 'has'].forEach((methodName) => { + Object.defineProperty(obj, methodName + accessorName, { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: function (arg1, arg2, arg3) { + return this[methodName].call(this, header, arg1, arg2, arg3); + }, + configurable: true, + }); + }); +} + +class AxiosHeaders { + constructor(headers) { + headers && this.set(headers); + } + + set(header, valueOrRewrite, rewrite) { + const self = this; + + function setHeader(_value, _header, _rewrite) { + const lHeader = normalizeHeader(_header); + + if (!lHeader) { + return; + } + + const key = utils$1.findKey(self, lHeader); + + if ( + !key || + self[key] === undefined || + _rewrite === true || + (_rewrite === undefined && self[key] !== false) + ) { + self[key || _header] = normalizeValue(_value); + } + } + + const setHeaders = (headers, _rewrite) => + utils$1.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite)); + + if (utils$1.isPlainObject(header) || header instanceof this.constructor) { + setHeaders(header, valueOrRewrite); + } else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) { + setHeaders(parseHeaders(header), valueOrRewrite); + } else if (utils$1.isObject(header) && utils$1.isSafeIterable(header)) { + let obj = Object.create(null), + dest, + key; + for (const entry of header) { + if (!utils$1.isArray(entry)) { + throw new TypeError('Object iterator must return a key-value pair'); + } + + key = entry[0]; + + if (utils$1.hasOwnProp(obj, key)) { + dest = obj[key]; + obj[key] = utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]; + } else { + obj[key] = entry[1]; + } + } + + setHeaders(obj, valueOrRewrite); + } else { + header != null && setHeader(valueOrRewrite, header, rewrite); + } + + return this; + } + + get(header, parser) { + header = normalizeHeader(header); + + if (header) { + const key = utils$1.findKey(this, header); + + if (key) { + const value = this[key]; + + if (!parser) { + return value; + } + + if (parser === true) { + return parseTokens(value); + } + + if (utils$1.isFunction(parser)) { + return parser.call(this, value, key); + } + + if (utils$1.isRegExp(parser)) { + return parser.exec(value); + } + + throw new TypeError('parser must be boolean|regexp|function'); + } + } + } + + has(header, matcher) { + header = normalizeHeader(header); + + if (header) { + const key = utils$1.findKey(this, header); + + return !!( + key && + this[key] !== undefined && + (!matcher || matchHeaderValue(this, this[key], key, matcher)) + ); + } + + return false; + } + + delete(header, matcher) { + const self = this; + let deleted = false; + + function deleteHeader(_header) { + _header = normalizeHeader(_header); + + if (_header) { + const key = utils$1.findKey(self, _header); + + if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) { + delete self[key]; + + deleted = true; + } + } + } + + if (utils$1.isArray(header)) { + header.forEach(deleteHeader); + } else { + deleteHeader(header); + } + + return deleted; + } + + clear(matcher) { + const keys = Object.keys(this); + let i = keys.length; + let deleted = false; + + while (i--) { + const key = keys[i]; + if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) { + delete this[key]; + deleted = true; + } + } + + return deleted; + } + + normalize(format) { + const self = this; + const headers = {}; + + utils$1.forEach(this, (value, header) => { + const key = utils$1.findKey(headers, header); + + if (key) { + self[key] = normalizeValue(value); + delete self[header]; + return; + } + + const normalized = format ? formatHeader(header) : String(header).trim(); + + if (normalized !== header) { + delete self[header]; + } + + self[normalized] = normalizeValue(value); + + headers[normalized] = true; + }); + + return this; + } + + concat(...targets) { + return this.constructor.concat(this, ...targets); + } + + toJSON(asStrings) { + const obj = Object.create(null); + + utils$1.forEach(this, (value, header) => { + value != null && + value !== false && + (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value); + }); + + return obj; + } + + [Symbol.iterator]() { + return Object.entries(this.toJSON())[Symbol.iterator](); + } + + toString() { + return Object.entries(this.toJSON()) + .map(([header, value]) => header + ': ' + value) + .join('\n'); + } + + getSetCookie() { + return this.get('set-cookie') || []; + } + + get [Symbol.toStringTag]() { + return 'AxiosHeaders'; + } + + static from(thing) { + return thing instanceof this ? thing : new this(thing); + } + + static concat(first, ...targets) { + const computed = new this(first); + + targets.forEach((target) => computed.set(target)); + + return computed; + } + + static accessor(header) { + const internals = + (this[$internals] = + this[$internals] = + { + accessors: {}, + }); + + const accessors = internals.accessors; + const prototype = this.prototype; + + function defineAccessor(_header) { + const lHeader = normalizeHeader(_header); + + if (!accessors[lHeader]) { + buildAccessors(prototype, _header); + accessors[lHeader] = true; + } + } + + utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header); + + return this; + } +} + +AxiosHeaders.accessor([ + 'Content-Type', + 'Content-Length', + 'Accept', + 'Accept-Encoding', + 'User-Agent', + 'Authorization', +]); + +// reserved names hotfix +utils$1.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => { + let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set` + return { + get: () => value, + set(headerValue) { + this[mapped] = headerValue; + }, + }; +}); + +utils$1.freezeMethods(AxiosHeaders); + +const REDACTED = '[REDACTED ****]'; + +function hasOwnOrPrototypeToJSON(source) { + if (utils$1.hasOwnProp(source, 'toJSON')) { + return true; + } + + let prototype = Object.getPrototypeOf(source); + + while (prototype && prototype !== Object.prototype) { + if (utils$1.hasOwnProp(prototype, 'toJSON')) { + return true; + } + + prototype = Object.getPrototypeOf(prototype); + } + + return false; +} + +// Build a plain-object snapshot of `config` and replace the value of any key +// (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays +// and AxiosHeaders, and short-circuits on circular references. +function redactConfig(config, redactKeys) { + const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase())); + const seen = []; + + const visit = (source) => { + if (source === null || typeof source !== 'object') return source; + if (utils$1.isBuffer(source)) return source; + if (seen.indexOf(source) !== -1) return undefined; + + if (source instanceof AxiosHeaders) { + source = source.toJSON(); + } + + seen.push(source); + + let result; + if (utils$1.isArray(source)) { + result = []; + source.forEach((v, i) => { + const reducedValue = visit(v); + if (!utils$1.isUndefined(reducedValue)) { + result[i] = reducedValue; + } + }); + } else { + if (!utils$1.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) { + seen.pop(); + return source; + } + + result = Object.create(null); + for (const [key, value] of Object.entries(source)) { + const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value); + if (!utils$1.isUndefined(reducedValue)) { + result[key] = reducedValue; + } + } + } + + seen.pop(); + return result; + }; + + return visit(config); +} + +class AxiosError extends Error { + static from(error, code, config, request, response, customProps) { + const axiosError = new AxiosError(error.message, code || error.code, config, request, response); + // Match native `Error` `cause` semantics: non-enumerable. The wrapped + // error often carries circular internals (sockets, requests, agents), so + // an enumerable `cause` makes structured loggers (pino/winston) and any + // own-property walk throw "Converting circular structure to JSON". + // Regression from #6982; see #7205. `__proto__: null` mirrors the + // `message` descriptor below (prototype-pollution-safe descriptor). + Object.defineProperty(axiosError, 'cause', { + __proto__: null, + value: error, + writable: true, + enumerable: false, + configurable: true, + }); + axiosError.name = error.name; + + // Preserve status from the original error if not already set from response + if (error.status != null && axiosError.status == null) { + axiosError.status = error.status; + } + + customProps && Object.assign(axiosError, customProps); + return axiosError; + } + + /** + * Create an Error with the specified message, config, error code, request and response. + * + * @param {string} message The error message. + * @param {string} [code] The error code (for example, 'ECONNABORTED'). + * @param {Object} [config] The config. + * @param {Object} [request] The request. + * @param {Object} [response] The response. + * + * @returns {Error} The created error. + */ + constructor(message, code, config, request, response) { + super(message); + + // Make message enumerable to maintain backward compatibility + // The native Error constructor sets message as non-enumerable, + // but axios < v1.13.3 had it as enumerable + Object.defineProperty(this, 'message', { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: message, + enumerable: true, + writable: true, + configurable: true, + }); + + this.name = 'AxiosError'; + this.isAxiosError = true; + code && (this.code = code); + config && (this.config = config); + request && (this.request = request); + if (response) { + this.response = response; + this.status = response.status; + } + } + + toJSON() { + // Opt-in redaction: when the request config carries a `redact` array, the + // value of any matching key (case-insensitive, at any depth) is replaced + // with REDACTED in the serialized snapshot. Undefined or empty leaves the + // existing serialization behavior unchanged. + const config = this.config; + const redactKeys = config && utils$1.hasOwnProp(config, 'redact') ? config.redact : undefined; + const serializedConfig = + utils$1.isArray(redactKeys) && redactKeys.length > 0 + ? redactConfig(config, redactKeys) + : utils$1.toJSONObject(config); + + return { + // Standard + message: this.message, + name: this.name, + // Microsoft + description: this.description, + number: this.number, + // Mozilla + fileName: this.fileName, + lineNumber: this.lineNumber, + columnNumber: this.columnNumber, + stack: this.stack, + // Axios + config: serializedConfig, + code: this.code, + status: this.status, + }; + } +} + +// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated. +AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE'; +AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION'; +AxiosError.ECONNABORTED = 'ECONNABORTED'; +AxiosError.ETIMEDOUT = 'ETIMEDOUT'; +AxiosError.ECONNREFUSED = 'ECONNREFUSED'; +AxiosError.ERR_NETWORK = 'ERR_NETWORK'; +AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS'; +AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED'; +AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE'; +AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST'; +AxiosError.ERR_CANCELED = 'ERR_CANCELED'; +AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT'; +AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL'; +AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED'; + +// eslint-disable-next-line strict +var httpAdapter = null; + +// Default nesting limit shared with the inverse transform (formDataToJSON) so +// the FormData <-> JSON round-trip stays symmetric. +const DEFAULT_FORM_DATA_MAX_DEPTH = 100; + +/** + * Determines if the given thing is a array or js object. + * + * @param {string} thing - The object or array to be visited. + * + * @returns {boolean} + */ +function isVisitable(thing) { + return utils$1.isPlainObject(thing) || utils$1.isArray(thing); +} + +/** + * It removes the brackets from the end of a string + * + * @param {string} key - The key of the parameter. + * + * @returns {string} the key without the brackets. + */ +function removeBrackets(key) { + return utils$1.endsWith(key, '[]') ? key.slice(0, -2) : key; +} + +/** + * It takes a path, a key, and a boolean, and returns a string + * + * @param {string} path - The path to the current key. + * @param {string} key - The key of the current object being iterated over. + * @param {string} dots - If true, the key will be rendered with dots instead of brackets. + * + * @returns {string} The path to the current key. + */ +function renderKey(path, key, dots) { + if (!path) return key; + return path + .concat(key) + .map(function each(token, i) { + // eslint-disable-next-line no-param-reassign + token = removeBrackets(token); + return !dots && i ? '[' + token + ']' : token; + }) + .join(dots ? '.' : ''); +} + +/** + * If the array is an array and none of its elements are visitable, then it's a flat array. + * + * @param {Array} arr - The array to check + * + * @returns {boolean} + */ +function isFlatArray(arr) { + return utils$1.isArray(arr) && !arr.some(isVisitable); +} + +const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) { + return /^is[A-Z]/.test(prop); +}); + +/** + * Convert a data object to FormData + * + * @param {Object} obj + * @param {?Object} [formData] + * @param {?Object} [options] + * @param {Function} [options.visitor] + * @param {Boolean} [options.metaTokens = true] + * @param {Boolean} [options.dots = false] + * @param {?Boolean} [options.indexes = false] + * + * @returns {Object} + **/ + +/** + * It converts an object into a FormData object + * + * @param {Object} obj - The object to convert to form data. + * @param {string} formData - The FormData object to append to. + * @param {Object} options + * + * @returns + */ +function toFormData(obj, formData, options) { + if (!utils$1.isObject(obj)) { + throw new TypeError('target must be an object'); + } + + // eslint-disable-next-line no-param-reassign + formData = formData || new (FormData)(); + + // eslint-disable-next-line no-param-reassign + options = utils$1.toFlatObject( + options, + { + metaTokens: true, + dots: false, + indexes: false, + }, + false, + function defined(option, source) { + // eslint-disable-next-line no-eq-null,eqeqeq + return !utils$1.isUndefined(source[option]); + } + ); + + const metaTokens = options.metaTokens; + // eslint-disable-next-line no-use-before-define + const visitor = options.visitor || defaultVisitor; + const dots = options.dots; + const indexes = options.indexes; + const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob); + const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth; + const useBlob = _Blob && utils$1.isSpecCompliantForm(formData); + const stack = []; + + if (!utils$1.isFunction(visitor)) { + throw new TypeError('visitor must be a function'); + } + + function convertValue(value) { + if (value === null) return ''; + + if (utils$1.isDate(value)) { + return value.toISOString(); + } + + if (utils$1.isBoolean(value)) { + return value.toString(); + } + + if (!useBlob && utils$1.isBlob(value)) { + throw new AxiosError('Blob is not supported. Use a Buffer instead.'); + } + + if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) { + if (useBlob && typeof _Blob === 'function') { + return new _Blob([value]); + } + if (typeof Buffer !== 'undefined') { + return Buffer.from(value); + } + throw new AxiosError('Blob is not supported. Use a Buffer instead.', AxiosError.ERR_NOT_SUPPORT); + } + + return value; + } + + function throwIfMaxDepthExceeded(depth) { + if (depth > maxDepth) { + throw new AxiosError( + 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth, + AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED + ); + } + } + + function stringifyWithDepthLimit(value, depth) { + if (maxDepth === Infinity) { + return JSON.stringify(value); + } + + const ancestors = []; + + return JSON.stringify(value, function limitDepth(_key, currentValue) { + if (!utils$1.isObject(currentValue)) { + return currentValue; + } + + while (ancestors.length && ancestors[ancestors.length - 1] !== this) { + ancestors.pop(); + } + + ancestors.push(currentValue); + throwIfMaxDepthExceeded(depth + ancestors.length - 1); + + return currentValue; + }); + } + + /** + * Default visitor. + * + * @param {*} value + * @param {String|Number} key + * @param {Array} path + * @this {FormData} + * + * @returns {boolean} return true to visit the each prop of the value recursively + */ + function defaultVisitor(value, key, path) { + let arr = value; + + if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) { + formData.append(renderKey(path, key, dots), convertValue(value)); + return false; + } + + if (value && !path && typeof value === 'object') { + if (utils$1.endsWith(key, '{}')) { + // eslint-disable-next-line no-param-reassign + key = metaTokens ? key : key.slice(0, -2); + // eslint-disable-next-line no-param-reassign + value = stringifyWithDepthLimit(value, 1); + } else if ( + (utils$1.isArray(value) && isFlatArray(value)) || + ((utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))) + ) { + // eslint-disable-next-line no-param-reassign + key = removeBrackets(key); + + arr.forEach(function each(el, index) { + !(utils$1.isUndefined(el) || el === null) && + formData.append( + // eslint-disable-next-line no-nested-ternary + indexes === true + ? renderKey([key], index, dots) + : indexes === null + ? key + : key + '[]', + convertValue(el) + ); + }); + return false; + } + } + + if (isVisitable(value)) { + return true; + } + + formData.append(renderKey(path, key, dots), convertValue(value)); + + return false; + } + + const exposedHelpers = Object.assign(predicates, { + defaultVisitor, + convertValue, + isVisitable, + }); + + function build(value, path, depth = 0) { + if (utils$1.isUndefined(value)) return; + + throwIfMaxDepthExceeded(depth); + + if (stack.indexOf(value) !== -1) { + throw new Error('Circular reference detected in ' + path.join('.')); + } + + stack.push(value); + + utils$1.forEach(value, function each(el, key) { + const result = + !(utils$1.isUndefined(el) || el === null) && + visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers); + + if (result === true) { + build(el, path ? path.concat(key) : [key], depth + 1); + } + }); + + stack.pop(); + } + + if (!utils$1.isObject(obj)) { + throw new TypeError('data must be an object'); + } + + build(obj); + + return formData; +} + +/** + * It encodes a string by replacing all characters that are not in the unreserved set with + * their percent-encoded equivalents + * + * @param {string} str - The string to encode. + * + * @returns {string} The encoded string. + */ +function encode$1(str) { + const charMap = { + '!': '%21', + "'": '%27', + '(': '%28', + ')': '%29', + '~': '%7E', + '%20': '+', + }; + return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) { + return charMap[match]; + }); +} + +/** + * It takes a params object and converts it to a FormData object + * + * @param {Object} params - The parameters to be converted to a FormData object. + * @param {Object} options - The options object passed to the Axios constructor. + * + * @returns {void} + */ +function AxiosURLSearchParams(params, options) { + this._pairs = []; + + params && toFormData(params, this, options); +} + +const prototype = AxiosURLSearchParams.prototype; + +prototype.append = function append(name, value) { + this._pairs.push([name, value]); +}; + +prototype.toString = function toString(encoder) { + const _encode = encoder + ? (value) => encoder.call(this, value, encode$1) + : encode$1; + + return this._pairs + .map(function each(pair) { + return _encode(pair[0]) + '=' + _encode(pair[1]); + }, '') + .join('&'); +}; + +/** + * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with + * their plain counterparts (`:`, `$`, `,`, `+`). + * + * @param {string} val The value to be encoded. + * + * @returns {string} The encoded value. + */ +function encode(val) { + return encodeURIComponent(val) + .replace(/%3A/gi, ':') + .replace(/%24/g, '$') + .replace(/%2C/gi, ',') + .replace(/%20/g, '+'); +} + +/** + * Build a URL by appending params to the end + * + * @param {string} url The base of the url (e.g., http://www.google.com) + * @param {object} [params] The params to be appended + * @param {?(object|Function)} options + * + * @returns {string} The formatted url + */ +function buildURL(url, params, options) { + if (!params) { + return url; + } + url = url || ''; + + const _options = utils$1.isFunction(options) + ? { + serialize: options, + } + : options; + + // Read serializer options pollution-safely: own properties and methods on a + // class/template prototype are honored, but values injected onto a polluted + // Object.prototype are ignored. + const _encode = utils$1.getSafeProp(_options, 'encode') || encode; + const serializeFn = utils$1.getSafeProp(_options, 'serialize'); + + let serializedParams; + + if (serializeFn) { + serializedParams = serializeFn(params, _options); + } else { + serializedParams = utils$1.isURLSearchParams(params) + ? params.toString() + : new AxiosURLSearchParams(params, _options).toString(_encode); + } + + if (serializedParams) { + const hashmarkIndex = url.indexOf('#'); + + if (hashmarkIndex !== -1) { + url = url.slice(0, hashmarkIndex); + } + url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams; + } + + return url; +} + +class InterceptorManager { + constructor() { + this.handlers = []; + } + + /** + * Add a new interceptor to the stack + * + * @param {Function} fulfilled The function to handle `then` for a `Promise` + * @param {Function} rejected The function to handle `reject` for a `Promise` + * @param {Object} options The options for the interceptor, synchronous and runWhen + * + * @return {Number} An ID used to remove interceptor later + */ + use(fulfilled, rejected, options) { + this.handlers.push({ + fulfilled, + rejected, + synchronous: options ? options.synchronous : false, + runWhen: options ? options.runWhen : null, + }); + return this.handlers.length - 1; + } + + /** + * Remove an interceptor from the stack + * + * @param {Number} id The ID that was returned by `use` + * + * @returns {void} + */ + eject(id) { + if (this.handlers[id]) { + this.handlers[id] = null; + } + } + + /** + * Clear all interceptors from the stack + * + * @returns {void} + */ + clear() { + if (this.handlers) { + this.handlers = []; + } + } + + /** + * Iterate over all the registered interceptors + * + * This method is particularly useful for skipping over any + * interceptors that may have become `null` calling `eject`. + * + * @param {Function} fn The function to call for each interceptor + * + * @returns {void} + */ + forEach(fn) { + utils$1.forEach(this.handlers, function forEachHandler(h) { + if (h !== null) { + fn(h); + } + }); + } +} + +var transitionalDefaults = { + silentJSONParsing: true, + forcedJSONParsing: true, + clarifyTimeoutError: false, + legacyInterceptorReqResOrdering: true, + advertiseZstdAcceptEncoding: false, + validateStatusUndefinedResolves: true, +}; + +var URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams; + +var FormData$1 = typeof FormData !== 'undefined' ? FormData : null; + +var Blob$1 = typeof Blob !== 'undefined' ? Blob : null; + +var platform$1 = { + isBrowser: true, + classes: { + URLSearchParams: URLSearchParams$1, + FormData: FormData$1, + Blob: Blob$1, + }, + protocols: ['http', 'https', 'file', 'blob', 'url', 'data'], +}; + +const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined'; + +const _navigator = (typeof navigator === 'object' && navigator) || undefined; + +/** + * Determine if we're running in a standard browser environment + * + * This allows axios to run in a web worker, and react-native. + * Both environments support XMLHttpRequest, but not fully standard globals. + * + * web workers: + * typeof window -> undefined + * typeof document -> undefined + * + * react-native: + * navigator.product -> 'ReactNative' + * nativescript + * navigator.product -> 'NativeScript' or 'NS' + * + * @returns {boolean} + */ +const hasStandardBrowserEnv = + hasBrowserEnv && + (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0); + +/** + * Determine if we're running in a standard browser webWorker environment + * + * Although the `isStandardBrowserEnv` method indicates that + * `allows axios to run in a web worker`, the WebWorker will still be + * filtered out due to its judgment standard + * `typeof window !== 'undefined' && typeof document !== 'undefined'`. + * This leads to a problem when axios post `FormData` in webWorker + */ +const hasStandardBrowserWebWorkerEnv = (() => { + return ( + typeof WorkerGlobalScope !== 'undefined' && + // eslint-disable-next-line no-undef + self instanceof WorkerGlobalScope && + typeof self.importScripts === 'function' + ); +})(); + +const origin = (hasBrowserEnv && window.location.href) || 'http://localhost'; + +var utils = /*#__PURE__*/Object.freeze({ + __proto__: null, + hasBrowserEnv: hasBrowserEnv, + hasStandardBrowserEnv: hasStandardBrowserEnv, + hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv, + navigator: _navigator, + origin: origin +}); + +var platform = { + ...utils, + ...platform$1, +}; + +function toURLEncodedForm(data, options) { + return toFormData(data, new platform.classes.URLSearchParams(), { + visitor: function (value, key, path, helpers) { + if (platform.isNode && utils$1.isBuffer(value)) { + this.append(key, value.toString('base64')); + return false; + } + + return helpers.defaultVisitor.apply(this, arguments); + }, + ...options, + }); +} + +const MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH; + +function throwIfDepthExceeded(index) { + if (index > MAX_DEPTH) { + throw new AxiosError( + 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH, + AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED + ); + } +} + +/** + * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z'] + * + * @param {string} name - The name of the property to get. + * + * @returns An array of strings. + */ +function parsePropPath(name) { + // foo[x][y][z] + // foo.x.y.z + // foo-x-y-z + // foo x y z + const path = []; + const pattern = /\w+|\[(\w*)]/g; + let match; + + while ((match = pattern.exec(name)) !== null) { + throwIfDepthExceeded(path.length); + path.push(match[0] === '[]' ? '' : match[1] || match[0]); + } + + return path; +} + +/** + * Convert an array to an object. + * + * @param {Array} arr - The array to convert to an object. + * + * @returns An object with the same keys and values as the array. + */ +function arrayToObject(arr) { + const obj = {}; + const keys = Object.keys(arr); + let i; + const len = keys.length; + let key; + for (i = 0; i < len; i++) { + key = keys[i]; + obj[key] = arr[key]; + } + return obj; +} + +/** + * It takes a FormData object and returns a JavaScript object + * + * @param {string} formData The FormData object to convert to JSON. + * + * @returns {Object | null} The converted object. + */ +function formDataToJSON(formData) { + function buildPath(path, value, target, index) { + throwIfDepthExceeded(index); + + let name = path[index++]; + + if (name === '__proto__') return true; + + const isNumericKey = Number.isFinite(+name); + const isLast = index >= path.length; + name = !name && utils$1.isArray(target) ? target.length : name; + + if (isLast) { + if (utils$1.hasOwnProp(target, name)) { + target[name] = utils$1.isArray(target[name]) + ? target[name].concat(value) + : [target[name], value]; + } else { + target[name] = value; + } + + return !isNumericKey; + } + + if (!utils$1.hasOwnProp(target, name) || !utils$1.isObject(target[name])) { + target[name] = []; + } + + const result = buildPath(path, value, target[name], index); + + if (result && utils$1.isArray(target[name])) { + target[name] = arrayToObject(target[name]); + } + + return !isNumericKey; + } + + if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) { + const obj = {}; + + utils$1.forEachEntry(formData, (name, value) => { + buildPath(parsePropPath(name), value, obj, 0); + }); + + return obj; + } + + return null; +} + +const own = (obj, key) => (obj != null && utils$1.hasOwnProp(obj, key) ? obj[key] : undefined); + +/** + * It takes a string, tries to parse it, and if it fails, it returns the stringified version + * of the input + * + * @param {any} rawValue - The value to be stringified. + * @param {Function} parser - A function that parses a string into a JavaScript object. + * @param {Function} encoder - A function that takes a value and returns a string. + * + * @returns {string} A stringified version of the rawValue. + */ +function stringifySafely(rawValue, parser, encoder) { + if (utils$1.isString(rawValue)) { + try { + (parser || JSON.parse)(rawValue); + return utils$1.trim(rawValue); + } catch (e) { + if (e.name !== 'SyntaxError') { + throw e; + } + } + } + + return (encoder || JSON.stringify)(rawValue); +} + +const defaults = { + transitional: transitionalDefaults, + + adapter: ['xhr', 'http', 'fetch'], + + transformRequest: [ + function transformRequest(data, headers) { + const contentType = headers.getContentType() || ''; + const hasJSONContentType = contentType.indexOf('application/json') > -1; + const isObjectPayload = utils$1.isObject(data); + + if (isObjectPayload && utils$1.isHTMLForm(data)) { + data = new FormData(data); + } + + const isFormData = utils$1.isFormData(data); + + if (isFormData) { + return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data; + } + + if ( + utils$1.isArrayBuffer(data) || + utils$1.isBuffer(data) || + utils$1.isStream(data) || + utils$1.isFile(data) || + utils$1.isBlob(data) || + utils$1.isReadableStream(data) + ) { + return data; + } + if (utils$1.isArrayBufferView(data)) { + return data.buffer; + } + if (utils$1.isURLSearchParams(data)) { + headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false); + return data.toString(); + } + + let isFileList; + + if (isObjectPayload) { + const formSerializer = own(this, 'formSerializer'); + if (contentType.indexOf('application/x-www-form-urlencoded') > -1) { + return toURLEncodedForm(data, formSerializer).toString(); + } + + if ( + (isFileList = utils$1.isFileList(data)) || + contentType.indexOf('multipart/form-data') > -1 + ) { + const env = own(this, 'env'); + const _FormData = env && env.FormData; + + return toFormData( + isFileList ? { 'files[]': data } : data, + _FormData && new _FormData(), + formSerializer + ); + } + } + + if (isObjectPayload || hasJSONContentType) { + headers.setContentType('application/json', false); + return stringifySafely(data); + } + + return data; + }, + ], + + transformResponse: [ + function transformResponse(data) { + const transitional = own(this, 'transitional') || defaults.transitional; + const forcedJSONParsing = transitional && transitional.forcedJSONParsing; + const responseType = own(this, 'responseType'); + const JSONRequested = responseType === 'json'; + + if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) { + return data; + } + + if ( + data && + utils$1.isString(data) && + ((forcedJSONParsing && !responseType) || JSONRequested) + ) { + const silentJSONParsing = transitional && transitional.silentJSONParsing; + const strictJSONParsing = !silentJSONParsing && JSONRequested; + + try { + return JSON.parse(data, own(this, 'parseReviver')); + } catch (e) { + if (strictJSONParsing) { + if (e.name === 'SyntaxError') { + throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response')); + } + throw e; + } + } + } + + return data; + }, + ], + + /** + * A timeout in milliseconds to abort a request. If set to 0 (default) a + * timeout is not created. + */ + timeout: 0, + + xsrfCookieName: 'XSRF-TOKEN', + xsrfHeaderName: 'X-XSRF-TOKEN', + + maxContentLength: -1, + maxBodyLength: -1, + + env: { + FormData: platform.classes.FormData, + Blob: platform.classes.Blob, + }, + + validateStatus: function validateStatus(status) { + return status >= 200 && status < 300; + }, + + headers: { + common: { + Accept: 'application/json, text/plain, */*', + 'Content-Type': undefined, + }, + }, +}; + +utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => { + defaults.headers[method] = {}; +}); + +/** + * Transform the data for a request or a response + * + * @param {Array|Function} fns A single function or Array of functions + * @param {?Object} response The response object + * + * @returns {*} The resulting transformed data + */ +function transformData(fns, response) { + const config = this || defaults; + const context = response || config; + const headers = AxiosHeaders.from(context.headers); + let data = context.data; + + utils$1.forEach(fns, function transform(fn) { + data = fn.call(config, data, headers.normalize(), response ? response.status : undefined); + }); + + headers.normalize(); + + return data; +} + +function isCancel(value) { + return !!(value && value.__CANCEL__); +} + +class CanceledError extends AxiosError { + /** + * A `CanceledError` is an object that is thrown when an operation is canceled. + * + * @param {string=} message The message. + * @param {Object=} config The config. + * @param {Object=} request The request. + * + * @returns {CanceledError} The created error. + */ + constructor(message, config, request) { + super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request); + this.name = 'CanceledError'; + this.__CANCEL__ = true; + } +} + +/** + * Resolve or reject a Promise based on response status. + * + * @param {Function} resolve A function that resolves the promise. + * @param {Function} reject A function that rejects the promise. + * @param {object} response The response. + * + * @returns {object} The response. + */ +function settle(resolve, reject, response) { + const validateStatus = response.config.validateStatus; + if (!response.status || !validateStatus || validateStatus(response.status)) { + resolve(response); + } else { + reject(new AxiosError( + 'Request failed with status code ' + response.status, + response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE, + response.config, + response.request, + response + )); + } +} + +function parseProtocol(url) { + const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url); + return (match && match[1]) || ''; +} + +/** + * Calculate data maxRate + * @param {Number} [samplesCount= 10] + * @param {Number} [min= 1000] + * @returns {Function} + */ +function speedometer(samplesCount, min) { + samplesCount = samplesCount || 10; + const bytes = new Array(samplesCount); + const timestamps = new Array(samplesCount); + let head = 0; + let tail = 0; + let firstSampleTS; + + min = min !== undefined ? min : 1000; + + return function push(chunkLength) { + const now = Date.now(); + + const startedAt = timestamps[tail]; + + if (!firstSampleTS) { + firstSampleTS = now; + } + + bytes[head] = chunkLength; + timestamps[head] = now; + + let i = tail; + let bytesCount = 0; + + while (i !== head) { + bytesCount += bytes[i++]; + i = i % samplesCount; + } + + head = (head + 1) % samplesCount; + + if (head === tail) { + tail = (tail + 1) % samplesCount; + } + + if (now - firstSampleTS < min) { + return; + } + + const passed = startedAt && now - startedAt; + + return passed ? Math.round((bytesCount * 1000) / passed) : undefined; + }; +} + +/** + * Throttle decorator + * @param {Function} fn + * @param {Number} freq + * @return {Function} + */ +function throttle(fn, freq) { + let timestamp = 0; + let threshold = 1000 / freq; + let lastArgs; + let timer; + + const invoke = (args, now = Date.now()) => { + timestamp = now; + lastArgs = null; + if (timer) { + clearTimeout(timer); + timer = null; + } + fn(...args); + }; + + const throttled = (...args) => { + const now = Date.now(); + const passed = now - timestamp; + if (passed >= threshold) { + invoke(args, now); + } else { + lastArgs = args; + if (!timer) { + timer = setTimeout(() => { + timer = null; + invoke(lastArgs); + }, threshold - passed); + } + } + }; + + const flush = () => lastArgs && invoke(lastArgs); + + return [throttled, flush]; +} + +const progressEventReducer = (listener, isDownloadStream, freq = 3) => { + let bytesNotified = 0; + const _speedometer = speedometer(50, 250); + + return throttle((e) => { + if (!e || typeof e.loaded !== 'number') { + return; + } + const rawLoaded = e.loaded; + const total = e.lengthComputable ? e.total : undefined; + const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded; + const progressBytes = Math.max(0, loaded - bytesNotified); + const rate = _speedometer(progressBytes); + + bytesNotified = Math.max(bytesNotified, loaded); + + const data = { + loaded, + total, + progress: total ? loaded / total : undefined, + bytes: progressBytes, + rate: rate ? rate : undefined, + estimated: rate && total ? (total - loaded) / rate : undefined, + event: e, + lengthComputable: total != null, + [isDownloadStream ? 'download' : 'upload']: true, + }; + + listener(data); + }, freq); +}; + +const progressEventDecorator = (total, throttled) => { + const lengthComputable = total != null; + + return [ + (loaded) => + throttled[0]({ + lengthComputable, + total, + loaded, + }), + throttled[1], + ]; +}; + +const asyncDecorator = + (fn) => + (...args) => + utils$1.asap(() => fn(...args)); + +var isURLSameOrigin = platform.hasStandardBrowserEnv + ? ((origin, isMSIE) => (url) => { + url = new URL(url, platform.origin); + + return ( + origin.protocol === url.protocol && + origin.host === url.host && + (isMSIE || origin.port === url.port) + ); + })( + new URL(platform.origin), + platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent) + ) + : () => true; + +var cookies = platform.hasStandardBrowserEnv + ? // Standard browser envs support document.cookie + { + write(name, value, expires, path, domain, secure, sameSite) { + if (typeof document === 'undefined') return; + + const cookie = [`${name}=${encodeURIComponent(value)}`]; + + if (utils$1.isNumber(expires)) { + cookie.push(`expires=${new Date(expires).toUTCString()}`); + } + if (utils$1.isString(path)) { + cookie.push(`path=${path}`); + } + if (utils$1.isString(domain)) { + cookie.push(`domain=${domain}`); + } + if (secure === true) { + cookie.push('secure'); + } + if (utils$1.isString(sameSite)) { + cookie.push(`SameSite=${sameSite}`); + } + + document.cookie = cookie.join('; '); + }, + + read(name) { + if (typeof document === 'undefined') return null; + // Match name=value by splitting on the semicolon separator instead of building a + // RegExp from `name` — interpolating an unescaped string into a RegExp would let + // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or + // match the wrong cookie. Browsers may serialize cookie pairs as either ";" or + // "; ", so ignore optional whitespace before each cookie name. + const cookies = document.cookie.split(';'); + for (let i = 0; i < cookies.length; i++) { + const cookie = cookies[i].replace(/^\s+/, ''); + const eq = cookie.indexOf('='); + if (eq !== -1 && cookie.slice(0, eq) === name) { + try { + return decodeURIComponent(cookie.slice(eq + 1)); + } catch (e) { + return cookie.slice(eq + 1); + } + } + } + return null; + }, + + remove(name) { + this.write(name, '', Date.now() - 86400000, '/'); + }, + } + : // Non-standard browser env (web workers, react-native) lack needed support. + { + write() {}, + read() { + return null; + }, + remove() {}, + }; + +/** + * Determines whether the specified URL is absolute + * + * @param {string} url The URL to test + * + * @returns {boolean} True if the specified URL is absolute, otherwise false + */ +function isAbsoluteURL(url) { + // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). + // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed + // by any combination of letters, digits, plus, period, or hyphen. + if (typeof url !== 'string') { + return false; + } + + return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url); +} + +/** + * Creates a new URL by combining the specified URLs + * + * @param {string} baseURL The base URL + * @param {string} relativeURL The relative URL + * + * @returns {string} The combined URL + */ +function combineURLs(baseURL, relativeURL) { + return relativeURL + ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') + : baseURL; +} + +const malformedHttpProtocol = /^https?:(?!\/\/)/i; +const httpProtocolControlCharacters = /[\t\n\r]/g; + +function stripLeadingC0ControlOrSpace(url) { + let i = 0; + while (i < url.length && url.charCodeAt(i) <= 0x20) { + i++; + } + return url.slice(i); +} + +function normalizeURLForProtocolCheck(url) { + return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, ''); +} + +function assertValidHttpProtocolURL(url, config) { + if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) { + throw new AxiosError( + 'Invalid URL: missing "//" after protocol', + AxiosError.ERR_INVALID_URL, + config + ); + } +} + +/** + * Creates a new URL by combining the baseURL with the requestedURL, + * only when the requestedURL is not already an absolute URL. + * If the requestURL is absolute, this function returns the requestedURL untouched. + * + * @param {string} baseURL The base URL + * @param {string} requestedURL Absolute or relative URL to combine + * + * @returns {string} The combined full path + */ +function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) { + assertValidHttpProtocolURL(requestedURL, config); + let isRelativeUrl = !isAbsoluteURL(requestedURL); + if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) { + assertValidHttpProtocolURL(baseURL, config); + return combineURLs(baseURL, requestedURL); + } + return requestedURL; +} + +const headersToObject = (thing) => (thing instanceof AxiosHeaders ? { ...thing } : thing); + +/** + * Config-specific merge-function which creates a new config-object + * by merging two configuration objects together. + * + * @param {Object} config1 + * @param {Object} config2 + * + * @returns {Object} New object resulting from merging config2 to config1 + */ +function mergeConfig(config1, config2) { + // eslint-disable-next-line no-param-reassign + config1 = config1 || {}; + config2 = config2 || {}; + + // Use a null-prototype object so that downstream reads such as `config.auth` + // or `config.baseURL` cannot inherit polluted values from Object.prototype. + // `hasOwnProperty` is restored as a non-enumerable own slot to preserve + // ergonomics for user code that relies on it. + const config = Object.create(null); + Object.defineProperty(config, 'hasOwnProperty', { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: Object.prototype.hasOwnProperty, + enumerable: false, + writable: true, + configurable: true, + }); + + function getMergedValue(target, source, prop, caseless) { + if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) { + return utils$1.merge.call({ caseless }, target, source); + } else if (utils$1.isPlainObject(source)) { + return utils$1.merge({}, source); + } else if (utils$1.isArray(source)) { + return source.slice(); + } + return source; + } + + function mergeDeepProperties(a, b, prop, caseless) { + if (!utils$1.isUndefined(b)) { + return getMergedValue(a, b, prop, caseless); + } else if (!utils$1.isUndefined(a)) { + return getMergedValue(undefined, a, prop, caseless); + } + } + + // eslint-disable-next-line consistent-return + function valueFromConfig2(a, b) { + if (!utils$1.isUndefined(b)) { + return getMergedValue(undefined, b); + } + } + + // eslint-disable-next-line consistent-return + function defaultToConfig2(a, b) { + if (!utils$1.isUndefined(b)) { + return getMergedValue(undefined, b); + } else if (!utils$1.isUndefined(a)) { + return getMergedValue(undefined, a); + } + } + + function getMergedTransitionalOption(prop) { + const transitional2 = utils$1.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined; + + if (!utils$1.isUndefined(transitional2)) { + if (utils$1.isPlainObject(transitional2)) { + if (utils$1.hasOwnProp(transitional2, prop)) { + return transitional2[prop]; + } + } else { + return undefined; + } + } + + const transitional1 = utils$1.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined; + + if (utils$1.isPlainObject(transitional1) && utils$1.hasOwnProp(transitional1, prop)) { + return transitional1[prop]; + } + + return undefined; + } + + // eslint-disable-next-line consistent-return + function mergeDirectKeys(a, b, prop) { + if (utils$1.hasOwnProp(config2, prop)) { + return getMergedValue(a, b); + } else if (utils$1.hasOwnProp(config1, prop)) { + return getMergedValue(undefined, a); + } + } + + const mergeMap = { + url: valueFromConfig2, + method: valueFromConfig2, + data: valueFromConfig2, + baseURL: defaultToConfig2, + transformRequest: defaultToConfig2, + transformResponse: defaultToConfig2, + paramsSerializer: defaultToConfig2, + timeout: defaultToConfig2, + timeoutMessage: defaultToConfig2, + withCredentials: defaultToConfig2, + withXSRFToken: defaultToConfig2, + adapter: defaultToConfig2, + responseType: defaultToConfig2, + xsrfCookieName: defaultToConfig2, + xsrfHeaderName: defaultToConfig2, + onUploadProgress: defaultToConfig2, + onDownloadProgress: defaultToConfig2, + decompress: defaultToConfig2, + maxContentLength: defaultToConfig2, + maxBodyLength: defaultToConfig2, + beforeRedirect: defaultToConfig2, + transport: defaultToConfig2, + httpAgent: defaultToConfig2, + httpsAgent: defaultToConfig2, + cancelToken: defaultToConfig2, + socketPath: defaultToConfig2, + allowedSocketPaths: defaultToConfig2, + responseEncoding: defaultToConfig2, + validateStatus: mergeDirectKeys, + headers: (a, b, prop) => + mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true), + }; + + utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) { + if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return; + const merge = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties; + const a = utils$1.hasOwnProp(config1, prop) ? config1[prop] : undefined; + const b = utils$1.hasOwnProp(config2, prop) ? config2[prop] : undefined; + const configValue = merge(a, b, prop); + (utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue); + }); + + if ( + utils$1.hasOwnProp(config2, 'validateStatus') && + utils$1.isUndefined(config2.validateStatus) && + getMergedTransitionalOption('validateStatusUndefinedResolves') === false + ) { + if (utils$1.hasOwnProp(config1, 'validateStatus')) { + config.validateStatus = getMergedValue(undefined, config1.validateStatus); + } else { + delete config.validateStatus; + } + } + + return config; +} + +const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length']; + +function setFormDataHeaders(headers, formHeaders, policy) { + if (policy !== 'content-only') { + headers.set(formHeaders); + return; + } + + Object.entries(formHeaders || {}).forEach(([key, val]) => { + if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) { + headers.set(key, val); + } + }); +} + +/** + * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). + * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. + * + * @param {string} str The string to encode + * + * @returns {string} UTF-8 bytes as a Latin-1 string + */ +const encodeUTF8$1 = (str) => + encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => + String.fromCharCode(parseInt(hex, 16)) + ); + +function resolveConfig(config) { + const newConfig = mergeConfig({}, config); + + // Read only own properties to prevent prototype pollution gadgets + // (e.g. Object.prototype.baseURL = 'https://evil.com'). + const own = (key) => (utils$1.hasOwnProp(newConfig, key) ? newConfig[key] : undefined); + + const data = own('data'); + let withXSRFToken = own('withXSRFToken'); + const xsrfHeaderName = own('xsrfHeaderName'); + const xsrfCookieName = own('xsrfCookieName'); + let headers = own('headers'); + const auth = own('auth'); + const baseURL = own('baseURL'); + const allowAbsoluteUrls = own('allowAbsoluteUrls'); + const url = own('url'); + + newConfig.headers = headers = AxiosHeaders.from(headers); + + newConfig.url = buildURL( + buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig), + own('params'), + own('paramsSerializer') + ); + + // HTTP basic authentication + if (auth) { + const username = utils$1.getSafeProp(auth, 'username') || ''; + const password = utils$1.getSafeProp(auth, 'password') || ''; + + try { + headers.set( + 'Authorization', + 'Basic ' + btoa(username + ':' + (password ? encodeUTF8$1(password) : '')) + ); + } catch (e) { + throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config); + } + } + + if (utils$1.isFormData(data)) { + if ( + platform.hasStandardBrowserEnv || + platform.hasStandardBrowserWebWorkerEnv || + utils$1.isReactNative(data) + ) { + headers.setContentType(undefined); // browser/web worker/RN handles it + } else if (utils$1.isFunction(data.getHeaders)) { + // Node.js FormData (like form-data package) + setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy')); + } + } + + // Add xsrf header + // This is only done if running in a standard browser environment. + // Specifically not if we're in a web worker, or react-native. + + if (platform.hasStandardBrowserEnv) { + if (utils$1.isFunction(withXSRFToken)) { + withXSRFToken = withXSRFToken(newConfig); + } + + // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1) + // and misconfigurations (e.g. "false") from short-circuiting the same-origin check and leaking + // the XSRF token cross-origin. + const shouldSendXSRF = + withXSRFToken === true || (withXSRFToken == null && isURLSameOrigin(newConfig.url)); + + if (shouldSendXSRF) { + const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName); + + if (xsrfValue) { + headers.set(xsrfHeaderName, xsrfValue); + } + } + } + + return newConfig; +} + +const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; + +var xhrAdapter = isXHRAdapterSupported && + function (config) { + return new Promise(function dispatchXhrRequest(resolve, reject) { + const _config = resolveConfig(config); + let requestData = _config.data; + const requestHeaders = AxiosHeaders.from(_config.headers).normalize(); + let { responseType, onUploadProgress, onDownloadProgress } = _config; + let onCanceled; + let uploadThrottled, downloadThrottled; + let flushUpload, flushDownload; + + function done() { + flushUpload && flushUpload(); // flush events + flushDownload && flushDownload(); // flush events + + _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled); + + _config.signal && _config.signal.removeEventListener('abort', onCanceled); + } + + let request = new XMLHttpRequest(); + + request.open(_config.method.toUpperCase(), _config.url, true); + + // Set the request timeout in MS + request.timeout = _config.timeout; + + function onloadend() { + if (!request) { + return; + } + // Prepare the response + const responseHeaders = AxiosHeaders.from( + 'getAllResponseHeaders' in request && request.getAllResponseHeaders() + ); + const responseData = + !responseType || responseType === 'text' || responseType === 'json' + ? request.responseText + : request.response; + const response = { + data: responseData, + status: request.status, + statusText: request.statusText, + headers: responseHeaders, + config, + request, + }; + + settle( + function _resolve(value) { + resolve(value); + done(); + }, + function _reject(err) { + reject(err); + done(); + }, + response + ); + + // Clean up request + request = null; + } + + if ('onloadend' in request) { + // Use onloadend if available + request.onloadend = onloadend; + } else { + // Listen for ready state to emulate onloadend + request.onreadystatechange = function handleLoad() { + if (!request || request.readyState !== 4) { + return; + } + + // The request errored out and we didn't get a response, this will be + // handled by onerror instead + // With one exception: request that using file: protocol, most browsers + // will return status as 0 even though it's a successful request + if ( + request.status === 0 && + !(request.responseURL && request.responseURL.startsWith('file:')) + ) { + return; + } + // readystate handler is calling before onerror or ontimeout handlers, + // so we should call onloadend on the next 'tick' + setTimeout(onloadend); + }; + } + + // Handle browser request cancellation (as opposed to a manual cancellation) + request.onabort = function handleAbort() { + if (!request) { + return; + } + + reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request)); + done(); + + // Clean up request + request = null; + }; + + // Handle low level network errors + request.onerror = function handleError(event) { + // Browsers deliver a ProgressEvent in XHR onerror + // (message may be empty; when present, surface it) + // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event + const msg = event && event.message ? event.message : 'Network Error'; + const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request); + // attach the underlying event for consumers who want details + err.event = event || null; + reject(err); + done(); + request = null; + }; + + // Handle timeout + request.ontimeout = function handleTimeout() { + let timeoutErrorMessage = _config.timeout + ? 'timeout of ' + _config.timeout + 'ms exceeded' + : 'timeout exceeded'; + const transitional = _config.transitional || transitionalDefaults; + if (_config.timeoutErrorMessage) { + timeoutErrorMessage = _config.timeoutErrorMessage; + } + reject( + new AxiosError( + timeoutErrorMessage, + transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, + config, + request + ) + ); + done(); + + // Clean up request + request = null; + }; + + // Remove Content-Type if data is undefined + requestData === undefined && requestHeaders.setContentType(null); + + // Add headers to the request + if ('setRequestHeader' in request) { + utils$1.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) { + request.setRequestHeader(key, val); + }); + } + + // Add withCredentials to request if needed + if (!utils$1.isUndefined(_config.withCredentials)) { + request.withCredentials = !!_config.withCredentials; + } + + // Add responseType to request if needed + if (responseType && responseType !== 'json') { + request.responseType = _config.responseType; + } + + // Handle progress if needed + if (onDownloadProgress) { + [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true); + request.addEventListener('progress', downloadThrottled); + } + + // Not all browsers support upload events + if (onUploadProgress && request.upload) { + [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress); + + request.upload.addEventListener('progress', uploadThrottled); + + request.upload.addEventListener('loadend', flushUpload); + } + + if (_config.cancelToken || _config.signal) { + // Handle cancellation + // eslint-disable-next-line func-names + onCanceled = (cancel) => { + if (!request) { + return; + } + reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel); + request.abort(); + done(); + request = null; + }; + + _config.cancelToken && _config.cancelToken.subscribe(onCanceled); + if (_config.signal) { + _config.signal.aborted + ? onCanceled() + : _config.signal.addEventListener('abort', onCanceled); + } + } + + const protocol = parseProtocol(_config.url); + + if (protocol && !platform.protocols.includes(protocol)) { + reject( + new AxiosError( + 'Unsupported protocol ' + protocol + ':', + AxiosError.ERR_BAD_REQUEST, + config + ) + ); + done(); + return; + } + + // Send the request + request.send(requestData || null); + }); + }; + +const composeSignals = (signals, timeout) => { + signals = signals ? signals.filter(Boolean) : []; + + if (!timeout && !signals.length) { + return; + } + + const controller = new AbortController(); + + let aborted = false; + + const onabort = function (reason) { + if (!aborted) { + aborted = true; + unsubscribe(); + const err = reason instanceof Error ? reason : this.reason; + controller.abort( + err instanceof AxiosError + ? err + : new CanceledError(err instanceof Error ? err.message : err) + ); + } + }; + + let timer = + timeout && + setTimeout(() => { + timer = null; + onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT)); + }, timeout); + + const unsubscribe = () => { + if (!signals) { return; } + timer && clearTimeout(timer); + timer = null; + signals.forEach((signal) => { + signal.unsubscribe + ? signal.unsubscribe(onabort) + : signal.removeEventListener('abort', onabort); + }); + signals = null; + }; + + signals.forEach((signal) => signal.addEventListener('abort', onabort, { once: true })); + + const { signal } = controller; + + signal.unsubscribe = () => utils$1.asap(unsubscribe); + + return signal; +}; + +const streamChunk = function* (chunk, chunkSize) { + let len = chunk.byteLength; + + if (len < chunkSize) { + yield chunk; + return; + } + + let pos = 0; + let end; + + while (pos < len) { + end = pos + chunkSize; + yield chunk.slice(pos, end); + pos = end; + } +}; + +const readBytes = async function* (iterable, chunkSize) { + for await (const chunk of readStream(iterable)) { + yield* streamChunk(chunk, chunkSize); + } +}; + +const readStream = async function* (stream) { + if (stream[Symbol.asyncIterator]) { + yield* stream; + return; + } + + const reader = stream.getReader(); + try { + for (;;) { + const { done, value } = await reader.read(); + if (done) { + break; + } + yield value; + } + } finally { + await reader.cancel(); + } +}; + +const trackStream = (stream, chunkSize, onProgress, onFinish) => { + const iterator = readBytes(stream, chunkSize); + + let bytes = 0; + let done; + let _onFinish = (e) => { + if (!done) { + done = true; + onFinish && onFinish(e); + } + }; + + return new ReadableStream( + { + async pull(controller) { + try { + const { done, value } = await iterator.next(); + + if (done) { + _onFinish(); + controller.close(); + return; + } + + let len = value.byteLength; + if (onProgress) { + let loadedBytes = (bytes += len); + onProgress(loadedBytes); + } + controller.enqueue(new Uint8Array(value)); + } catch (err) { + _onFinish(err); + throw err; + } + }, + cancel(reason) { + _onFinish(reason); + return iterator.return(); + }, + }, + { + highWaterMark: 2, + } + ); +}; + +/** + * Estimate decoded byte length of a data:// URL *without* allocating large buffers. + * - For base64: compute exact decoded size using length and padding; + * handle %XX at the character-count level (no string allocation). + * - For non-base64: compute the exact percent-decoded UTF-8 byte length. + * + * @param {string} url + * @returns {number} + */ +const isHexDigit = (charCode) => + (charCode >= 48 && charCode <= 57) || + (charCode >= 65 && charCode <= 70) || + (charCode >= 97 && charCode <= 102); + +const isPercentEncodedByte = (str, i, len) => + i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2)); + +function estimateDataURLDecodedBytes(url) { + if (!url || typeof url !== 'string') return 0; + if (!url.startsWith('data:')) return 0; + + const comma = url.indexOf(','); + if (comma < 0) return 0; + + const meta = url.slice(5, comma); + const body = url.slice(comma + 1); + const isBase64 = /;base64/i.test(meta); + + if (isBase64) { + let effectiveLen = body.length; + const len = body.length; // cache length + + for (let i = 0; i < len; i++) { + if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) { + const a = body.charCodeAt(i + 1); + const b = body.charCodeAt(i + 2); + const isHex = isHexDigit(a) && isHexDigit(b); + + if (isHex) { + effectiveLen -= 2; + i += 2; + } + } + } + + let pad = 0; + let idx = len - 1; + + const tailIsPct3D = (j) => + j >= 2 && + body.charCodeAt(j - 2) === 37 && // '%' + body.charCodeAt(j - 1) === 51 && // '3' + (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd' + + if (idx >= 0) { + if (body.charCodeAt(idx) === 61 /* '=' */) { + pad++; + idx--; + } else if (tailIsPct3D(idx)) { + pad++; + idx -= 3; + } + } + + if (pad === 1 && idx >= 0) { + if (body.charCodeAt(idx) === 61 /* '=' */) { + pad++; + } else if (tailIsPct3D(idx)) { + pad++; + } + } + + const groups = Math.floor(effectiveLen / 4); + const bytes = groups * 3 - (pad || 0); + return bytes > 0 ? bytes : 0; + } + + // Compute UTF-8 byte length directly from UTF-16 code units without allocating + // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies). + // Valid %XX triplets count as one decoded byte; this matches the bytes that + // decodeURIComponent(body) would produce before Buffer re-encodes the string. + let bytes = 0; + for (let i = 0, len = body.length; i < len; i++) { + const c = body.charCodeAt(i); + if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) { + bytes += 1; + i += 2; + } else if (c < 0x80) { + bytes += 1; + } else if (c < 0x800) { + bytes += 2; + } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) { + const next = body.charCodeAt(i + 1); + if (next >= 0xdc00 && next <= 0xdfff) { + bytes += 4; + i++; + } else { + bytes += 3; + } + } else { + bytes += 3; + } + } + return bytes; +} + +const VERSION = "1.18.1"; + +const DEFAULT_CHUNK_SIZE = 64 * 1024; + +const { isFunction } = utils$1; + +/** + * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). + * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. + * + * @param {string} str The string to encode + * + * @returns {string} UTF-8 bytes as a Latin-1 string + */ +const encodeUTF8 = (str) => + encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => + String.fromCharCode(parseInt(hex, 16)) + ); + +// Node's WHATWG URL parser returns `username` and `password` percent-encoded. +// Decode before composing the `auth` option so credentials such as +// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the +// original value for malformed input so a bad encoding never throws. +const decodeURIComponentSafe = (value) => { + if (!utils$1.isString(value)) { + return value; + } + + try { + return decodeURIComponent(value); + } catch (error) { + return value; + } +}; + +const test = (fn, ...args) => { + try { + return !!fn(...args); + } catch (e) { + return false; + } +}; + +const maybeWithAuthCredentials = (url) => { + const protocolIndex = url.indexOf('://'); + let urlToCheck = url; + if (protocolIndex !== -1) { + urlToCheck = urlToCheck.slice(protocolIndex + 3); + } + return urlToCheck.includes('@') || urlToCheck.includes(':'); +}; + +const factory = (env) => { + const globalObject = + utils$1.global !== undefined && utils$1.global !== null + ? utils$1.global + : globalThis; + const { ReadableStream, TextEncoder } = globalObject; + + env = utils$1.merge.call( + { + skipUndefined: true, + }, + { + Request: globalObject.Request, + Response: globalObject.Response, + }, + env + ); + + const { fetch: envFetch, Request, Response } = env; + const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function'; + const isRequestSupported = isFunction(Request); + const isResponseSupported = isFunction(Response); + + if (!isFetchSupported) { + return false; + } + + const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream); + + const encodeText = + isFetchSupported && + (typeof TextEncoder === 'function' + ? ( + (encoder) => (str) => + encoder.encode(str) + )(new TextEncoder()) + : async (str) => new Uint8Array(await new Request(str).arrayBuffer())); + + const supportsRequestStream = + isRequestSupported && + isReadableStreamSupported && + test(() => { + let duplexAccessed = false; + + const request = new Request(platform.origin, { + body: new ReadableStream(), + method: 'POST', + get duplex() { + duplexAccessed = true; + return 'half'; + }, + }); + + const hasContentType = request.headers.has('Content-Type'); + + if (request.body != null) { + request.body.cancel(); + } + + return duplexAccessed && !hasContentType; + }); + + const supportsResponseStream = + isResponseSupported && + isReadableStreamSupported && + test(() => utils$1.isReadableStream(new Response('').body)); + + const resolvers = { + stream: supportsResponseStream && ((res) => res.body), + }; + + isFetchSupported && + (() => { + ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => { + !resolvers[type] && + (resolvers[type] = (res, config) => { + let method = res && res[type]; + + if (method) { + return method.call(res); + } + + throw new AxiosError( + `Response type '${type}' is not supported`, + AxiosError.ERR_NOT_SUPPORT, + config + ); + }); + }); + })(); + + const getBodyLength = async (body) => { + if (body == null) { + return 0; + } + + if (utils$1.isBlob(body)) { + return body.size; + } + + if (utils$1.isSpecCompliantForm(body)) { + const _request = new Request(platform.origin, { + method: 'POST', + body, + }); + return (await _request.arrayBuffer()).byteLength; + } + + if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) { + return body.byteLength; + } + + if (utils$1.isURLSearchParams(body)) { + body = body + ''; + } + + if (utils$1.isString(body)) { + return (await encodeText(body)).byteLength; + } + }; + + const resolveBodyLength = async (headers, body) => { + const length = utils$1.toFiniteNumber(headers.getContentLength()); + + return length == null ? getBodyLength(body) : length; + }; + + return async (config) => { + let { + url, + method, + data, + signal, + cancelToken, + timeout, + onDownloadProgress, + onUploadProgress, + responseType, + headers, + withCredentials = 'same-origin', + fetchOptions, + maxContentLength, + maxBodyLength, + } = resolveConfig(config); + + const hasMaxContentLength = utils$1.isNumber(maxContentLength) && maxContentLength > -1; + const hasMaxBodyLength = utils$1.isNumber(maxBodyLength) && maxBodyLength > -1; + const own = (key) => (utils$1.hasOwnProp(config, key) ? config[key] : undefined); + + let _fetch = envFetch || fetch; + + responseType = responseType ? (responseType + '').toLowerCase() : 'text'; + + let composedSignal = composeSignals( + [signal, cancelToken && cancelToken.toAbortSignal()], + timeout + ); + + let request = null; + + const unsubscribe = + composedSignal && + composedSignal.unsubscribe && + (() => { + composedSignal.unsubscribe(); + }); + + let requestContentLength; + + // AxiosError we raise while the request body is being streamed. Captured + // by identity so the catch block can surface it directly, regardless of + // how the runtime wraps the resulting fetch rejection (undici exposes it + // as `err.cause`; some browsers drop the original error entirely). + let pendingBodyError = null; + + const maxBodyLengthError = () => + new AxiosError( + 'Request body larger than maxBodyLength limit', + AxiosError.ERR_BAD_REQUEST, + config, + request + ); + + try { + // HTTP basic authentication + let auth = undefined; + const configAuth = own('auth'); + + if (configAuth) { + const username = utils$1.getSafeProp(configAuth, 'username') || ''; + const password = utils$1.getSafeProp(configAuth, 'password') || ''; + auth = { + username, + password + }; + } + + if (maybeWithAuthCredentials(url)) { + const parsedURL = new URL(url, platform.origin); + + if (!auth && (parsedURL.username || parsedURL.password)) { + const urlUsername = decodeURIComponentSafe(parsedURL.username); + const urlPassword = decodeURIComponentSafe(parsedURL.password); + auth = { + username: urlUsername, + password: urlPassword + }; + } + + if (parsedURL.username || parsedURL.password) { + parsedURL.username = ''; + parsedURL.password = ''; + url = parsedURL.href; + } + } + + if (auth) { + headers.delete('authorization'); + headers.set( + 'Authorization', + 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || ''))) + ); + } + + // Enforce maxContentLength for data: URLs up-front so we never materialize + // an oversized payload. The HTTP adapter applies the same check (see http.js + // "if (protocol === 'data:')" branch). + if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) { + const estimated = estimateDataURLDecodedBytes(url); + if (estimated > maxContentLength) { + throw new AxiosError( + 'maxContentLength size of ' + maxContentLength + ' exceeded', + AxiosError.ERR_BAD_RESPONSE, + config, + request + ); + } + } + + // Enforce maxBodyLength against known-size bodies before dispatch using + // the body's *actual* size — never a caller-declared Content-Length, + // which could under-report to slip an oversized body past the check. + // Unknown-size streams return undefined here and are counted per-chunk + // below as fetch consumes them. + if (hasMaxBodyLength && method !== 'get' && method !== 'head') { + const outboundLength = await getBodyLength(data); + if (typeof outboundLength === 'number' && isFinite(outboundLength)) { + requestContentLength = outboundLength; + if (outboundLength > maxBodyLength) { + throw maxBodyLengthError(); + } + } + } + + // A streamed body under maxBodyLength must be counted as fetch consumes + // it; its size is never trusted from a caller-declared Content-Length. + const mustEnforceStreamBody = + hasMaxBodyLength && (utils$1.isReadableStream(data) || utils$1.isStream(data)); + + const trackRequestStream = (stream, onProgress, flush) => + trackStream( + stream, + DEFAULT_CHUNK_SIZE, + (loadedBytes) => { + if (hasMaxBodyLength && loadedBytes > maxBodyLength) { + throw (pendingBodyError = maxBodyLengthError()); + } + onProgress && onProgress(loadedBytes); + }, + flush + ); + + if ( + supportsRequestStream && + method !== 'get' && + method !== 'head' && + (onUploadProgress || mustEnforceStreamBody) + ) { + requestContentLength = + requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength; + + // A declared length of 0 is only trusted to skip the wrap when we are + // not enforcing a stream limit (which must not rely on that header). + if (requestContentLength !== 0 || mustEnforceStreamBody) { + let _request = new Request(url, { + method: 'POST', + body: data, + duplex: 'half', + }); + + let contentTypeHeader; + + if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) { + headers.setContentType(contentTypeHeader); + } + + if (_request.body) { + const [onProgress, flush] = + (onUploadProgress && + progressEventDecorator( + requestContentLength, + progressEventReducer(asyncDecorator(onUploadProgress)) + )) || + []; + + data = trackRequestStream(_request.body, onProgress, flush); + } + } + } else if ( + mustEnforceStreamBody && + !isRequestSupported && + isReadableStreamSupported && + method !== 'get' && + method !== 'head' + ) { + data = trackRequestStream(data); + } else if ( + mustEnforceStreamBody && + isRequestSupported && + !supportsRequestStream && + method !== 'get' && + method !== 'head' + ) { + throw new AxiosError( + 'Stream request bodies are not supported by the current fetch implementation', + AxiosError.ERR_NOT_SUPPORT, + config, + request + ); + } + + if (!utils$1.isString(withCredentials)) { + withCredentials = withCredentials ? 'include' : 'omit'; + } + + // Cloudflare Workers throws when credentials are defined + // see https://github.com/cloudflare/workerd/issues/902 + const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype; + + // If data is FormData and Content-Type is multipart/form-data without boundary, + // delete it so fetch can set it correctly with the boundary + if (utils$1.isFormData(data)) { + const contentType = headers.getContentType(); + if ( + contentType && + /^multipart\/form-data/i.test(contentType) && + !/boundary=/i.test(contentType) + ) { + headers.delete('content-type'); + } + } + + // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js) + headers.set('User-Agent', 'axios/' + VERSION, false); + + const resolvedOptions = { + ...fetchOptions, + signal: composedSignal, + method: method.toUpperCase(), + headers: toByteStringHeaderObject(headers.normalize()), + body: data, + duplex: 'half', + credentials: isCredentialsSupported ? withCredentials : undefined, + }; + + request = isRequestSupported && new Request(url, resolvedOptions); + + let response = await (isRequestSupported + ? _fetch(request, fetchOptions) + : _fetch(url, resolvedOptions)); + + const responseHeaders = AxiosHeaders.from(response.headers); + + // Cheap pre-check: if the server honestly declares a content-length that + // already exceeds the cap, reject before we start streaming. + if (hasMaxContentLength) { + const declaredLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); + if (declaredLength != null && declaredLength > maxContentLength) { + throw new AxiosError( + 'maxContentLength size of ' + maxContentLength + ' exceeded', + AxiosError.ERR_BAD_RESPONSE, + config, + request + ); + } + } + + const isStreamResponse = + supportsResponseStream && (responseType === 'stream' || responseType === 'response'); + + if ( + supportsResponseStream && + response.body && + (onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe)) + ) { + const options = {}; + + ['status', 'statusText', 'headers'].forEach((prop) => { + options[prop] = response[prop]; + }); + + const responseContentLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); + + const [onProgress, flush] = + (onDownloadProgress && + progressEventDecorator( + responseContentLength, + progressEventReducer(asyncDecorator(onDownloadProgress), true) + )) || + []; + + let bytesRead = 0; + const onChunkProgress = (loadedBytes) => { + if (hasMaxContentLength) { + bytesRead = loadedBytes; + if (bytesRead > maxContentLength) { + throw new AxiosError( + 'maxContentLength size of ' + maxContentLength + ' exceeded', + AxiosError.ERR_BAD_RESPONSE, + config, + request + ); + } + } + onProgress && onProgress(loadedBytes); + }; + + response = new Response( + trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => { + flush && flush(); + unsubscribe && unsubscribe(); + }), + options + ); + } + + responseType = responseType || 'text'; + + let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text']( + response, + config + ); + + // Fallback enforcement for environments without ReadableStream support + // (legacy runtimes). Detect materialized size from typed output; skip + // streams/Response passthrough since the user will read those themselves. + if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) { + let materializedSize; + if (responseData != null) { + if (typeof responseData.byteLength === 'number') { + materializedSize = responseData.byteLength; + } else if (typeof responseData.size === 'number') { + materializedSize = responseData.size; + } else if (typeof responseData === 'string') { + materializedSize = + typeof TextEncoder === 'function' + ? new TextEncoder().encode(responseData).byteLength + : responseData.length; + } + } + if (typeof materializedSize === 'number' && materializedSize > maxContentLength) { + throw new AxiosError( + 'maxContentLength size of ' + maxContentLength + ' exceeded', + AxiosError.ERR_BAD_RESPONSE, + config, + request + ); + } + } + + !isStreamResponse && unsubscribe && unsubscribe(); + + return await new Promise((resolve, reject) => { + settle(resolve, reject, { + data: responseData, + headers: AxiosHeaders.from(response.headers), + status: response.status, + statusText: response.statusText, + config, + request, + }); + }); + } catch (err) { + unsubscribe && unsubscribe(); + + // Safari can surface fetch aborts as a DOMException-like object whose + // branded getters throw. Prefer our composed signal reason before reading + // the caught error, preserving timeout vs cancellation semantics. + if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError) { + const canceledError = composedSignal.reason; + canceledError.config = config; + request && (canceledError.request = request); + if (err !== canceledError) { + // Non-enumerable to match native Error `cause` semantics so loggers + // don't recurse into circular fetch internals (see #7205). + Object.defineProperty(canceledError, 'cause', { + __proto__: null, + value: err, + writable: true, + enumerable: false, + configurable: true, + }); + } + throw canceledError; + } + + // Surface a maxBodyLength violation we raised while the request body was + // being streamed. Matching by identity (rather than reading + // `err.cause.isAxiosError`) keeps the error deterministic across runtimes + // and avoids both prototype-pollution reads and mis-attributing a foreign + // AxiosError that merely happened to land in `err.cause`. + if (pendingBodyError) { + request && !pendingBodyError.request && (pendingBodyError.request = request); + throw pendingBodyError; + } + + // Re-throw AxiosErrors we raised synchronously (data: URL / content-length + // pre-checks, response size enforcement) without re-wrapping them. + if (err instanceof AxiosError) { + request && !err.request && (err.request = request); + throw err; + } + + if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) { + const networkError = new AxiosError( + 'Network Error', + AxiosError.ERR_NETWORK, + config, + request, + err && err.response + ); + // Non-enumerable to match native Error `cause` semantics so loggers + // don't recurse into circular fetch internals (see #7205). + Object.defineProperty(networkError, 'cause', { + __proto__: null, + value: err.cause || err, + writable: true, + enumerable: false, + configurable: true, + }); + throw networkError; + } + + throw AxiosError.from(err, err && err.code, config, request, err && err.response); + } + }; +}; + +const seedCache = new Map(); + +const getFetch = (config) => { + let env = (config && config.env) || {}; + const { fetch, Request, Response } = env; + const seeds = [Request, Response, fetch]; + + let len = seeds.length, + i = len, + seed, + target, + map = seedCache; + + while (i--) { + seed = seeds[i]; + target = map.get(seed); + + target === undefined && map.set(seed, (target = i ? new Map() : factory(env))); + + map = target; + } + + return target; +}; + +getFetch(); + +/** + * Known adapters mapping. + * Provides environment-specific adapters for Axios: + * - `http` for Node.js + * - `xhr` for browsers + * - `fetch` for fetch API-based requests + * + * @type {Object} + */ +const knownAdapters = { + http: httpAdapter, + xhr: xhrAdapter, + fetch: { + get: getFetch, + }, +}; + +// Assign adapter names for easier debugging and identification +utils$1.forEach(knownAdapters, (fn, value) => { + if (fn) { + try { + // Null-proto descriptors so a polluted Object.prototype.get cannot turn + // these data descriptors into accessor descriptors on the way in. + Object.defineProperty(fn, 'name', { __proto__: null, value }); + } catch (e) { + // eslint-disable-next-line no-empty + } + Object.defineProperty(fn, 'adapterName', { __proto__: null, value }); + } +}); + +/** + * Render a rejection reason string for unknown or unsupported adapters + * + * @param {string} reason + * @returns {string} + */ +const renderReason = (reason) => `- ${reason}`; + +/** + * Check if the adapter is resolved (function, null, or false) + * + * @param {Function|null|false} adapter + * @returns {boolean} + */ +const isResolvedHandle = (adapter) => + utils$1.isFunction(adapter) || adapter === null || adapter === false; + +/** + * Get the first suitable adapter from the provided list. + * Tries each adapter in order until a supported one is found. + * Throws an AxiosError if no adapter is suitable. + * + * @param {Array|string|Function} adapters - Adapter(s) by name or function. + * @param {Object} config - Axios request configuration + * @throws {AxiosError} If no suitable adapter is available + * @returns {Function} The resolved adapter function + */ +function getAdapter(adapters, config) { + adapters = utils$1.isArray(adapters) ? adapters : [adapters]; + + const { length } = adapters; + let nameOrAdapter; + let adapter; + + const rejectedReasons = {}; + + for (let i = 0; i < length; i++) { + nameOrAdapter = adapters[i]; + let id; + + adapter = nameOrAdapter; + + if (!isResolvedHandle(nameOrAdapter)) { + adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()]; + + if (adapter === undefined) { + throw new AxiosError(`Unknown adapter '${id}'`); + } + } + + if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) { + break; + } + + rejectedReasons[id || '#' + i] = adapter; + } + + if (!adapter) { + const reasons = Object.entries(rejectedReasons).map( + ([id, state]) => + `adapter ${id} ` + + (state === false ? 'is not supported by the environment' : 'is not available in the build') + ); + + let s = length + ? reasons.length > 1 + ? 'since :\n' + reasons.map(renderReason).join('\n') + : ' ' + renderReason(reasons[0]) + : 'as no adapter specified'; + + throw new AxiosError( + `There is no suitable adapter to dispatch the request ` + s, + AxiosError.ERR_NOT_SUPPORT + ); + } + + return adapter; +} + +/** + * Exports Axios adapters and utility to resolve an adapter + */ +var adapters = { + /** + * Resolve an adapter from a list of adapter names or functions. + * @type {Function} + */ + getAdapter, + + /** + * Exposes all known adapters + * @type {Object} + */ + adapters: knownAdapters, +}; + +/** + * Throws a `CanceledError` if cancellation has been requested. + * + * @param {Object} config The config that is to be used for the request + * + * @returns {void} + */ +function throwIfCancellationRequested(config) { + if (config.cancelToken) { + config.cancelToken.throwIfRequested(); + } + + if (config.signal && config.signal.aborted) { + throw new CanceledError(null, config); + } +} + +/** + * Dispatch a request to the server using the configured adapter. + * + * @param {object} config The config that is to be used for the request + * + * @returns {Promise} The Promise to be fulfilled + */ +function dispatchRequest(config) { + throwIfCancellationRequested(config); + + config.headers = AxiosHeaders.from(config.headers); + + // Transform request data + config.data = transformData.call(config, config.transformRequest); + + if (['post', 'put', 'patch'].indexOf(config.method) !== -1) { + config.headers.setContentType('application/x-www-form-urlencoded', false); + } + + const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config); + + return adapter(config).then( + function onAdapterResolution(response) { + throwIfCancellationRequested(config); + + // Expose the current response on config so that transformResponse can + // attach it to any AxiosError it throws (e.g. on JSON parse failure). + // We clean it up afterwards to avoid polluting the config object. + config.response = response; + try { + response.data = transformData.call(config, config.transformResponse, response); + } finally { + delete config.response; + } + + response.headers = AxiosHeaders.from(response.headers); + + return response; + }, + function onAdapterRejection(reason) { + if (!isCancel(reason)) { + throwIfCancellationRequested(config); + + // Transform response data + if (reason && reason.response) { + config.response = reason.response; + try { + reason.response.data = transformData.call( + config, + config.transformResponse, + reason.response + ); + } finally { + delete config.response; + } + reason.response.headers = AxiosHeaders.from(reason.response.headers); + } + } + + return Promise.reject(reason); + } + ); +} + +const validators$1 = {}; + +// eslint-disable-next-line func-names +['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => { + validators$1[type] = function validator(thing) { + return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type; + }; +}); + +const deprecatedWarnings = {}; + +/** + * Transitional option validator + * + * @param {function|boolean?} validator - set to false if the transitional option has been removed + * @param {string?} version - deprecated version / removed since version + * @param {string?} message - some message with additional info + * + * @returns {function} + */ +validators$1.transitional = function transitional(validator, version, message) { + function formatMessage(opt, desc) { + return ( + '[Axios v' + + VERSION + + "] Transitional option '" + + opt + + "'" + + desc + + (message ? '. ' + message : '') + ); + } + + // eslint-disable-next-line func-names + return (value, opt, opts) => { + if (validator === false) { + throw new AxiosError( + formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), + AxiosError.ERR_DEPRECATED + ); + } + + if (version && !deprecatedWarnings[opt]) { + deprecatedWarnings[opt] = true; + // eslint-disable-next-line no-console + console.warn( + formatMessage( + opt, + ' has been deprecated since v' + version + ' and will be removed in the near future' + ) + ); + } + + return validator ? validator(value, opt, opts) : true; + }; +}; + +validators$1.spelling = function spelling(correctSpelling) { + return (value, opt) => { + // eslint-disable-next-line no-console + console.warn(`${opt} is likely a misspelling of ${correctSpelling}`); + return true; + }; +}; + +/** + * Assert object's properties type + * + * @param {object} options + * @param {object} schema + * @param {boolean?} allowUnknown + * + * @returns {object} + */ + +function assertOptions(options, schema, allowUnknown) { + if (typeof options !== 'object' || options === null) { + throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE); + } + const keys = Object.keys(options); + let i = keys.length; + while (i-- > 0) { + const opt = keys[i]; + // Use hasOwnProperty so a polluted Object.prototype. cannot supply + // a non-function validator and cause a TypeError. + const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined; + if (validator) { + const value = options[opt]; + const result = value === undefined || validator(value, opt, options); + if (result !== true) { + throw new AxiosError( + 'option ' + opt + ' must be ' + result, + AxiosError.ERR_BAD_OPTION_VALUE + ); + } + continue; + } + if (allowUnknown !== true) { + throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION); + } + } +} + +var validator = { + assertOptions, + validators: validators$1, +}; + +const validators = validator.validators; + +/** + * Create a new instance of Axios + * + * @param {Object} instanceConfig The default config for the instance + * + * @return {Axios} A new instance of Axios + */ +class Axios { + constructor(instanceConfig) { + this.defaults = instanceConfig || {}; + this.interceptors = { + request: new InterceptorManager(), + response: new InterceptorManager(), + }; + } + + /** + * Dispatch a request + * + * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) + * @param {?Object} config + * + * @returns {Promise} The Promise to be fulfilled + */ + async request(configOrUrl, config) { + try { + return await this._request(configOrUrl, config); + } catch (err) { + if (err instanceof Error) { + let dummy = {}; + + Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error()); + + // slice off the Error: ... line + const stack = (() => { + if (!dummy.stack) { + return ''; + } + + const firstNewlineIndex = dummy.stack.indexOf('\n'); + + return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1); + })(); + try { + if (!err.stack) { + err.stack = stack; + // match without the 2 top stack lines + } else if (stack) { + const firstNewlineIndex = stack.indexOf('\n'); + const secondNewlineIndex = + firstNewlineIndex === -1 ? -1 : stack.indexOf('\n', firstNewlineIndex + 1); + const stackWithoutTwoTopLines = + secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1); + + if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) { + err.stack += '\n' + stack; + } + } + } catch (e) { + // ignore the case where "stack" is an un-writable property + } + } + + throw err; + } + } + + _request(configOrUrl, config) { + /*eslint no-param-reassign:0*/ + // Allow for axios('example/url'[, config]) a la fetch API + if (typeof configOrUrl === 'string') { + config = config || {}; + config.url = configOrUrl; + } else { + config = configOrUrl || {}; + } + + config = mergeConfig(this.defaults, config); + + const { transitional, paramsSerializer, headers } = config; + + if (transitional !== undefined) { + validator.assertOptions( + transitional, + { + silentJSONParsing: validators.transitional(validators.boolean), + forcedJSONParsing: validators.transitional(validators.boolean), + clarifyTimeoutError: validators.transitional(validators.boolean), + legacyInterceptorReqResOrdering: validators.transitional(validators.boolean), + advertiseZstdAcceptEncoding: validators.transitional(validators.boolean), + validateStatusUndefinedResolves: validators.transitional(validators.boolean), + }, + false + ); + } + + if (paramsSerializer != null) { + if (utils$1.isFunction(paramsSerializer)) { + config.paramsSerializer = { + serialize: paramsSerializer, + }; + } else { + validator.assertOptions( + paramsSerializer, + { + encode: validators.function, + serialize: validators.function, + }, + true + ); + } + } + + // Set config.allowAbsoluteUrls + if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) { + config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls; + } else { + config.allowAbsoluteUrls = true; + } + + validator.assertOptions( + config, + { + baseUrl: validators.spelling('baseURL'), + withXsrfToken: validators.spelling('withXSRFToken'), + }, + true + ); + + // Set config.method + config.method = (config.method || this.defaults.method || 'get').toLowerCase(); + + // Flatten headers + let contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]); + + headers && + utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => { + delete headers[method]; + }); + + config.headers = AxiosHeaders.concat(contextHeaders, headers); + + // filter out skipped interceptors + const requestInterceptorChain = []; + let synchronousRequestInterceptors = true; + this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) { + if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) { + return; + } + + synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous; + + const transitional = config.transitional || transitionalDefaults; + const legacyInterceptorReqResOrdering = + transitional && transitional.legacyInterceptorReqResOrdering; + + if (legacyInterceptorReqResOrdering) { + requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected); + } else { + requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); + } + }); + + const responseInterceptorChain = []; + this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) { + responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); + }); + + let promise; + let i = 0; + let len; + + if (!synchronousRequestInterceptors) { + const chain = [dispatchRequest.bind(this), undefined]; + chain.unshift(...requestInterceptorChain); + chain.push(...responseInterceptorChain); + len = chain.length; + + promise = Promise.resolve(config); + + while (i < len) { + promise = promise.then(chain[i++], chain[i++]); + } + + return promise; + } + + len = requestInterceptorChain.length; + + let newConfig = config; + + while (i < len) { + const onFulfilled = requestInterceptorChain[i++]; + const onRejected = requestInterceptorChain[i++]; + try { + newConfig = onFulfilled(newConfig); + } catch (error) { + onRejected.call(this, error); + break; + } + } + + try { + promise = dispatchRequest.call(this, newConfig); + } catch (error) { + return Promise.reject(error); + } + + i = 0; + len = responseInterceptorChain.length; + + while (i < len) { + promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); + } + + return promise; + } + + getUri(config) { + config = mergeConfig(this.defaults, config); + const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config); + return buildURL(fullPath, config.params, config.paramsSerializer); + } +} + +// Provide aliases for supported request methods +utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) { + /*eslint func-names:0*/ + Axios.prototype[method] = function (url, config) { + return this.request( + mergeConfig(config || {}, { + method, + url, + data: config && utils$1.hasOwnProp(config, 'data') ? config.data : undefined, + }) + ); + }; +}); + +utils$1.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) { + function generateHTTPMethod(isForm) { + return function httpMethod(url, data, config) { + return this.request( + mergeConfig(config || {}, { + method, + headers: isForm + ? { + 'Content-Type': 'multipart/form-data', + } + : {}, + url, + data, + }) + ); + }; + } + + Axios.prototype[method] = generateHTTPMethod(); + + // QUERY is a safe/idempotent read method; multipart form bodies don't fit + // its semantics, so no queryForm shorthand is generated. + if (method !== 'query') { + Axios.prototype[method + 'Form'] = generateHTTPMethod(true); + } +}); + +/** + * A `CancelToken` is an object that can be used to request cancellation of an operation. + * + * @param {Function} executor The executor function. + * + * @returns {CancelToken} + */ +class CancelToken { + constructor(executor) { + if (typeof executor !== 'function') { + throw new TypeError('executor must be a function.'); + } + + let resolvePromise; + + this.promise = new Promise(function promiseExecutor(resolve) { + resolvePromise = resolve; + }); + + const token = this; + + // eslint-disable-next-line func-names + this.promise.then((cancel) => { + if (!token._listeners) return; + + let i = token._listeners.length; + + while (i-- > 0) { + token._listeners[i](cancel); + } + token._listeners = null; + }); + + // eslint-disable-next-line func-names + this.promise.then = (onfulfilled) => { + let _resolve; + // eslint-disable-next-line func-names + const promise = new Promise((resolve) => { + token.subscribe(resolve); + _resolve = resolve; + }).then(onfulfilled); + + promise.cancel = function reject() { + token.unsubscribe(_resolve); + }; + + return promise; + }; + + executor(function cancel(message, config, request) { + if (token.reason) { + // Cancellation has already been requested + return; + } + + token.reason = new CanceledError(message, config, request); + resolvePromise(token.reason); + }); + } + + /** + * Throws a `CanceledError` if cancellation has been requested. + */ + throwIfRequested() { + if (this.reason) { + throw this.reason; + } + } + + /** + * Subscribe to the cancel signal + */ + + subscribe(listener) { + if (this.reason) { + listener(this.reason); + return; + } + + if (this._listeners) { + this._listeners.push(listener); + } else { + this._listeners = [listener]; + } + } + + /** + * Unsubscribe from the cancel signal + */ + + unsubscribe(listener) { + if (!this._listeners) { + return; + } + const index = this._listeners.indexOf(listener); + if (index !== -1) { + this._listeners.splice(index, 1); + } + } + + toAbortSignal() { + const controller = new AbortController(); + + const abort = (err) => { + controller.abort(err); + }; + + this.subscribe(abort); + + controller.signal.unsubscribe = () => this.unsubscribe(abort); + + return controller.signal; + } + + /** + * Returns an object that contains a new `CancelToken` and a function that, when called, + * cancels the `CancelToken`. + */ + static source() { + let cancel; + const token = new CancelToken(function executor(c) { + cancel = c; + }); + return { + token, + cancel, + }; + } +} + +/** + * Syntactic sugar for invoking a function and expanding an array for arguments. + * + * Common use case would be to use `Function.prototype.apply`. + * + * ```js + * function f(x, y, z) {} + * const args = [1, 2, 3]; + * f.apply(null, args); + * ``` + * + * With `spread` this example can be re-written. + * + * ```js + * spread(function(x, y, z) {})([1, 2, 3]); + * ``` + * + * @param {Function} callback + * + * @returns {Function} + */ +function spread(callback) { + return function wrap(arr) { + return callback.apply(null, arr); + }; +} + +/** + * Determines whether the payload is an error thrown by Axios + * + * @param {*} payload The value to test + * + * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false + */ +function isAxiosError(payload) { + return utils$1.isObject(payload) && payload.isAxiosError === true; +} + +const HttpStatusCode = { + Continue: 100, + SwitchingProtocols: 101, + Processing: 102, + EarlyHints: 103, + Ok: 200, + Created: 201, + Accepted: 202, + NonAuthoritativeInformation: 203, + NoContent: 204, + ResetContent: 205, + PartialContent: 206, + MultiStatus: 207, + AlreadyReported: 208, + ImUsed: 226, + MultipleChoices: 300, + MovedPermanently: 301, + Found: 302, + SeeOther: 303, + NotModified: 304, + UseProxy: 305, + Unused: 306, + TemporaryRedirect: 307, + PermanentRedirect: 308, + BadRequest: 400, + Unauthorized: 401, + PaymentRequired: 402, + Forbidden: 403, + NotFound: 404, + MethodNotAllowed: 405, + NotAcceptable: 406, + ProxyAuthenticationRequired: 407, + RequestTimeout: 408, + Conflict: 409, + Gone: 410, + LengthRequired: 411, + PreconditionFailed: 412, + PayloadTooLarge: 413, + UriTooLong: 414, + UnsupportedMediaType: 415, + RangeNotSatisfiable: 416, + ExpectationFailed: 417, + ImATeapot: 418, + MisdirectedRequest: 421, + UnprocessableEntity: 422, + Locked: 423, + FailedDependency: 424, + TooEarly: 425, + UpgradeRequired: 426, + PreconditionRequired: 428, + TooManyRequests: 429, + RequestHeaderFieldsTooLarge: 431, + UnavailableForLegalReasons: 451, + InternalServerError: 500, + NotImplemented: 501, + BadGateway: 502, + ServiceUnavailable: 503, + GatewayTimeout: 504, + HttpVersionNotSupported: 505, + VariantAlsoNegotiates: 506, + InsufficientStorage: 507, + LoopDetected: 508, + NotExtended: 510, + NetworkAuthenticationRequired: 511, + WebServerIsDown: 521, + ConnectionTimedOut: 522, + OriginIsUnreachable: 523, + TimeoutOccurred: 524, + SslHandshakeFailed: 525, + InvalidSslCertificate: 526, +}; + +Object.entries(HttpStatusCode).forEach(([key, value]) => { + HttpStatusCode[value] = key; +}); + +/** + * Create an instance of Axios + * + * @param {Object} defaultConfig The default config for the instance + * + * @returns {Axios} A new instance of Axios + */ +function createInstance(defaultConfig) { + const context = new Axios(defaultConfig); + const instance = bind(Axios.prototype.request, context); + + // Copy axios.prototype to instance + utils$1.extend(instance, Axios.prototype, context, { allOwnKeys: true }); + + // Copy context to instance + utils$1.extend(instance, context, null, { allOwnKeys: true }); + + // Factory for creating new instances + instance.create = function create(instanceConfig) { + return createInstance(mergeConfig(defaultConfig, instanceConfig)); + }; + + return instance; +} + +// Create the default instance to be exported +const axios = createInstance(defaults); + +// Expose Axios class to allow class inheritance +axios.Axios = Axios; + +// Expose Cancel & CancelToken +axios.CanceledError = CanceledError; +axios.CancelToken = CancelToken; +axios.isCancel = isCancel; +axios.VERSION = VERSION; +axios.toFormData = toFormData; + +// Expose AxiosError class +axios.AxiosError = AxiosError; + +// alias for CanceledError for backward compatibility +axios.Cancel = axios.CanceledError; + +// Expose all/spread +axios.all = function all(promises) { + return Promise.all(promises); +}; + +axios.spread = spread; + +// Expose isAxiosError +axios.isAxiosError = isAxiosError; + +// Expose mergeConfig +axios.mergeConfig = mergeConfig; + +axios.AxiosHeaders = AxiosHeaders; + +axios.formToJSON = (thing) => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing); + +axios.getAdapter = adapters.getAdapter; + +axios.HttpStatusCode = HttpStatusCode; + +axios.default = axios; + +module.exports = axios; +//# sourceMappingURL=axios.cjs.map diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.js b/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.js new file mode 100644 index 0000000..004fd11 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.js @@ -0,0 +1,5167 @@ +/*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */ +/** + * Create a bound version of a function with a specified `this` context + * + * @param {Function} fn - The function to bind + * @param {*} thisArg - The value to be passed as the `this` parameter + * @returns {Function} A new function that will call the original function with the specified `this` context + */ +function bind(fn, thisArg) { + return function wrap() { + return fn.apply(thisArg, arguments); + }; +} + +// utils is a library of generic helper functions non-specific to axios + +const { toString } = Object.prototype; +const { getPrototypeOf } = Object; +const { iterator, toStringTag } = Symbol; + +/* Creating a function that will check if an object has a property. */ +const hasOwnProperty = ( + ({ hasOwnProperty }) => + (obj, prop) => + hasOwnProperty.call(obj, prop) +)(Object.prototype); + +/** + * Walk the prototype chain (excluding the shared Object.prototype) looking for + * an own `prop`. This distinguishes genuine own/inherited members — including + * class accessors and template prototypes — from members injected via + * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which + * live on Object.prototype itself and are therefore never matched. + * + * @param {*} thing The value whose chain to inspect + * @param {string|symbol} prop The property key to look for + * + * @returns {boolean} True when `prop` is owned below Object.prototype + */ +const hasOwnInPrototypeChain = (thing, prop) => { + let obj = thing; + const seen = []; + + while (obj != null && obj !== Object.prototype) { + if (seen.indexOf(obj) !== -1) { + return false; + } + seen.push(obj); + + if (hasOwnProperty(obj, prop)) { + return true; + } + obj = getPrototypeOf(obj); + } + return false; +}; + +/** + * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own + * properties and members inherited from a non-Object.prototype source (a class + * instance or template object) are honored; a value reachable only through a + * polluted Object.prototype is ignored and `undefined` is returned. + * + * @param {*} obj The source object + * @param {string|symbol} prop The property key to read + * + * @returns {*} The resolved value, or undefined when unsafe/absent + */ +const getSafeProp = (obj, prop) => + obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined; + +const kindOf = ((cache) => (thing) => { + const str = toString.call(thing); + return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase()); +})(Object.create(null)); + +const kindOfTest = (type) => { + type = type.toLowerCase(); + return (thing) => kindOf(thing) === type; +}; + +const typeOfTest = (type) => (thing) => typeof thing === type; + +/** + * Determine if a value is a non-null object + * + * @param {Object} val The value to test + * + * @returns {boolean} True if value is an Array, otherwise false + */ +const { isArray } = Array; + +/** + * Determine if a value is undefined + * + * @param {*} val The value to test + * + * @returns {boolean} True if the value is undefined, otherwise false + */ +const isUndefined = typeOfTest('undefined'); + +/** + * Determine if a value is a Buffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Buffer, otherwise false + */ +function isBuffer(val) { + return ( + val !== null && + !isUndefined(val) && + val.constructor !== null && + !isUndefined(val.constructor) && + isFunction$1(val.constructor.isBuffer) && + val.constructor.isBuffer(val) + ); +} + +/** + * Determine if a value is an ArrayBuffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is an ArrayBuffer, otherwise false + */ +const isArrayBuffer = kindOfTest('ArrayBuffer'); + +/** + * Determine if a value is a view on an ArrayBuffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false + */ +function isArrayBufferView(val) { + let result; + if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) { + result = ArrayBuffer.isView(val); + } else { + result = val && val.buffer && isArrayBuffer(val.buffer); + } + return result; +} + +/** + * Determine if a value is a String + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a String, otherwise false + */ +const isString = typeOfTest('string'); + +/** + * Determine if a value is a Function + * + * @param {*} val The value to test + * @returns {boolean} True if value is a Function, otherwise false + */ +const isFunction$1 = typeOfTest('function'); + +/** + * Determine if a value is a Number + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Number, otherwise false + */ +const isNumber = typeOfTest('number'); + +/** + * Determine if a value is an Object + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value is an Object, otherwise false + */ +const isObject = (thing) => thing !== null && typeof thing === 'object'; + +/** + * Determine if a value is a Boolean + * + * @param {*} thing The value to test + * @returns {boolean} True if value is a Boolean, otherwise false + */ +const isBoolean = (thing) => thing === true || thing === false; + +/** + * Determine if a value is a plain Object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a plain Object, otherwise false + */ +const isPlainObject = (val) => { + if (!isObject(val)) { + return false; + } + + const prototype = getPrototypeOf(val); + return ( + (prototype === null || + prototype === Object.prototype || + getPrototypeOf(prototype) === null) && + // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or + // Symbol.iterator as evidence the value is a tagged/iterable type rather + // than a plain object, while ignoring keys injected onto Object.prototype. + !hasOwnInPrototypeChain(val, toStringTag) && + !hasOwnInPrototypeChain(val, iterator) + ); +}; + +/** + * Determine if a value is an empty object (safely handles Buffers) + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is an empty object, otherwise false + */ +const isEmptyObject = (val) => { + // Early return for non-objects or Buffers to prevent RangeError + if (!isObject(val) || isBuffer(val)) { + return false; + } + + try { + return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype; + } catch (e) { + // Fallback for any other objects that might cause RangeError with Object.keys() + return false; + } +}; + +/** + * Determine if a value is a Date + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Date, otherwise false + */ +const isDate = kindOfTest('Date'); + +/** + * Determine if a value is a File + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a File, otherwise false + */ +const isFile = kindOfTest('File'); + +/** + * Determine if a value is a React Native Blob + * React Native "blob": an object with a `uri` attribute. Optionally, it can + * also have a `name` and `type` attribute to specify filename and content type + * + * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71 + * + * @param {*} value The value to test + * + * @returns {boolean} True if value is a React Native Blob, otherwise false + */ +const isReactNativeBlob = (value) => { + return !!(value && typeof value.uri !== 'undefined'); +}; + +/** + * Determine if environment is React Native + * ReactNative `FormData` has a non-standard `getParts()` method + * + * @param {*} formData The formData to test + * + * @returns {boolean} True if environment is React Native, otherwise false + */ +const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined'; + +/** + * Determine if a value is a Blob + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Blob, otherwise false + */ +const isBlob = kindOfTest('Blob'); + +/** + * Determine if a value is a FileList + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a FileList, otherwise false + */ +const isFileList = kindOfTest('FileList'); + +/** + * Determine if a value is a Stream + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Stream, otherwise false + */ +const isStream = (val) => isObject(val) && isFunction$1(val.pipe); + +/** + * Determine if a value is a FormData + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value is an FormData, otherwise false + */ +function getGlobal() { + if (typeof globalThis !== 'undefined') return globalThis; + if (typeof self !== 'undefined') return self; + if (typeof window !== 'undefined') return window; + if (typeof global !== 'undefined') return global; + return {}; +} + +const G = getGlobal(); +const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined; + +const isFormData = (thing) => { + if (!thing) return false; + if (FormDataCtor && thing instanceof FormDataCtor) return true; + // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData. + const proto = getPrototypeOf(thing); + if (!proto || proto === Object.prototype) return false; + if (!isFunction$1(thing.append)) return false; + const kind = kindOf(thing); + return ( + kind === 'formdata' || + // detect form-data instance + (kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]') + ); +}; + +/** + * Determine if a value is a URLSearchParams object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a URLSearchParams object, otherwise false + */ +const isURLSearchParams = kindOfTest('URLSearchParams'); + +const [isReadableStream, isRequest, isResponse, isHeaders] = [ + 'ReadableStream', + 'Request', + 'Response', + 'Headers', +].map(kindOfTest); + +/** + * Trim excess whitespace off the beginning and end of a string + * + * @param {String} str The String to trim + * + * @returns {String} The String freed of excess whitespace + */ +const trim = (str) => { + return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); +}; +/** + * Iterate over an Array or an Object invoking a function for each item. + * + * If `obj` is an Array callback will be called passing + * the value, index, and complete array for each item. + * + * If 'obj' is an Object callback will be called passing + * the value, key, and complete object for each property. + * + * @param {Object|Array} obj The object to iterate + * @param {Function} fn The callback to invoke for each item + * + * @param {Object} [options] + * @param {Boolean} [options.allOwnKeys = false] + * @returns {any} + */ +function forEach(obj, fn, { allOwnKeys = false } = {}) { + // Don't bother if no value provided + if (obj === null || typeof obj === 'undefined') { + return; + } + + let i; + let l; + + // Force an array if not already something iterable + if (typeof obj !== 'object') { + /*eslint no-param-reassign:0*/ + obj = [obj]; + } + + if (isArray(obj)) { + // Iterate over array values + for (i = 0, l = obj.length; i < l; i++) { + fn.call(null, obj[i], i, obj); + } + } else { + // Buffer check + if (isBuffer(obj)) { + return; + } + + // Iterate over object keys + const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj); + const len = keys.length; + let key; + + for (i = 0; i < len; i++) { + key = keys[i]; + fn.call(null, obj[key], key, obj); + } + } +} + +/** + * Finds a key in an object, case-insensitive, returning the actual key name. + * Returns null if the object is a Buffer or if no match is found. + * + * @param {Object} obj - The object to search. + * @param {string} key - The key to find (case-insensitive). + * @returns {?string} The actual key name if found, otherwise null. + */ +function findKey(obj, key) { + if (isBuffer(obj)) { + return null; + } + + key = key.toLowerCase(); + const keys = Object.keys(obj); + let i = keys.length; + let _key; + while (i-- > 0) { + _key = keys[i]; + if (key === _key.toLowerCase()) { + return _key; + } + } + return null; +} + +const _global = (() => { + /*eslint no-undef:0*/ + if (typeof globalThis !== 'undefined') return globalThis; + return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global; +})(); + +const isContextDefined = (context) => !isUndefined(context) && context !== _global; + +/** + * Accepts varargs expecting each argument to be an object, then + * immutably merges the properties of each object and returns result. + * + * When multiple objects contain the same key the later object in + * the arguments list will take precedence. + * + * Example: + * + * ```js + * const result = merge({foo: 123}, {foo: 456}); + * console.log(result.foo); // outputs 456 + * ``` + * + * @param {Object} obj1 Object to merge + * + * @returns {Object} Result of all merge properties + */ +function merge(...objs) { + const { caseless, skipUndefined } = (isContextDefined(this) && this) || {}; + const result = {}; + const assignValue = (val, key) => { + // Skip dangerous property names to prevent prototype pollution + if (key === '__proto__' || key === 'constructor' || key === 'prototype') { + return; + } + + // findKey lowercases the key, so caseless lookup only applies to strings — + // symbol keys are identity-matched. + const targetKey = (caseless && typeof key === 'string' && findKey(result, key)) || key; + // Read via own-prop only — a bare `result[targetKey]` walks the prototype + // chain, so a polluted Object.prototype value could surface here and get + // copied into the merged result. + const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined; + if (isPlainObject(existing) && isPlainObject(val)) { + result[targetKey] = merge(existing, val); + } else if (isPlainObject(val)) { + result[targetKey] = merge({}, val); + } else if (isArray(val)) { + result[targetKey] = val.slice(); + } else if (!skipUndefined || !isUndefined(val)) { + result[targetKey] = val; + } + }; + + for (let i = 0, l = objs.length; i < l; i++) { + const source = objs[i]; + if (!source || isBuffer(source)) { + continue; + } + + forEach(source, assignValue); + + if (typeof source !== 'object' || isArray(source)) { + continue; + } + + const symbols = Object.getOwnPropertySymbols(source); + for (let j = 0; j < symbols.length; j++) { + const symbol = symbols[j]; + if (propertyIsEnumerable.call(source, symbol)) { + assignValue(source[symbol], symbol); + } + } + } + return result; +} + +/** + * Extends object a by mutably adding to it the properties of object b. + * + * @param {Object} a The object to be extended + * @param {Object} b The object to copy properties from + * @param {Object} thisArg The object to bind function to + * + * @param {Object} [options] + * @param {Boolean} [options.allOwnKeys] + * @returns {Object} The resulting value of object a + */ +const extend = (a, b, thisArg, { allOwnKeys } = {}) => { + forEach( + b, + (val, key) => { + if (thisArg && isFunction$1(val)) { + Object.defineProperty(a, key, { + // Null-proto descriptor so a polluted Object.prototype.get cannot + // hijack defineProperty's accessor-vs-data resolution. + __proto__: null, + value: bind(val, thisArg), + writable: true, + enumerable: true, + configurable: true, + }); + } else { + Object.defineProperty(a, key, { + __proto__: null, + value: val, + writable: true, + enumerable: true, + configurable: true, + }); + } + }, + { allOwnKeys } + ); + return a; +}; + +/** + * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) + * + * @param {string} content with BOM + * + * @returns {string} content value without BOM + */ +const stripBOM = (content) => { + if (content.charCodeAt(0) === 0xfeff) { + content = content.slice(1); + } + return content; +}; + +/** + * Inherit the prototype methods from one constructor into another + * @param {function} constructor + * @param {function} superConstructor + * @param {object} [props] + * @param {object} [descriptors] + * + * @returns {void} + */ +const inherits = (constructor, superConstructor, props, descriptors) => { + constructor.prototype = Object.create(superConstructor.prototype, descriptors); + Object.defineProperty(constructor.prototype, 'constructor', { + __proto__: null, + value: constructor, + writable: true, + enumerable: false, + configurable: true, + }); + Object.defineProperty(constructor, 'super', { + __proto__: null, + value: superConstructor.prototype, + }); + props && Object.assign(constructor.prototype, props); +}; + +/** + * Resolve object with deep prototype chain to a flat object + * @param {Object} sourceObj source object + * @param {Object} [destObj] + * @param {Function|Boolean} [filter] + * @param {Function} [propFilter] + * + * @returns {Object} + */ +const toFlatObject = (sourceObj, destObj, filter, propFilter) => { + let props; + let i; + let prop; + const merged = {}; + + destObj = destObj || {}; + // eslint-disable-next-line no-eq-null,eqeqeq + if (sourceObj == null) return destObj; + + do { + props = Object.getOwnPropertyNames(sourceObj); + i = props.length; + while (i-- > 0) { + prop = props[i]; + if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) { + destObj[prop] = sourceObj[prop]; + merged[prop] = true; + } + } + sourceObj = filter !== false && getPrototypeOf(sourceObj); + } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype); + + return destObj; +}; + +/** + * Determines whether a string ends with the characters of a specified string + * + * @param {String} str + * @param {String} searchString + * @param {Number} [position= 0] + * + * @returns {boolean} + */ +const endsWith = (str, searchString, position) => { + str = String(str); + if (position === undefined || position > str.length) { + position = str.length; + } + position -= searchString.length; + const lastIndex = str.indexOf(searchString, position); + return lastIndex !== -1 && lastIndex === position; +}; + +/** + * Returns new array from array like object or null if failed + * + * @param {*} [thing] + * + * @returns {?Array} + */ +const toArray = (thing) => { + if (!thing) return null; + if (isArray(thing)) return thing; + let i = thing.length; + if (!isNumber(i)) return null; + const arr = new Array(i); + while (i-- > 0) { + arr[i] = thing[i]; + } + return arr; +}; + +/** + * Checking if the Uint8Array exists and if it does, it returns a function that checks if the + * thing passed in is an instance of Uint8Array + * + * @param {TypedArray} + * + * @returns {Array} + */ +// eslint-disable-next-line func-names +const isTypedArray = ((TypedArray) => { + // eslint-disable-next-line func-names + return (thing) => { + return TypedArray && thing instanceof TypedArray; + }; +})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array)); + +/** + * For each entry in the object, call the function with the key and value. + * + * @param {Object} obj - The object to iterate over. + * @param {Function} fn - The function to call for each entry. + * + * @returns {void} + */ +const forEachEntry = (obj, fn) => { + const generator = obj && obj[iterator]; + + const _iterator = generator.call(obj); + + let result; + + while ((result = _iterator.next()) && !result.done) { + const pair = result.value; + fn.call(obj, pair[0], pair[1]); + } +}; + +/** + * It takes a regular expression and a string, and returns an array of all the matches + * + * @param {string} regExp - The regular expression to match against. + * @param {string} str - The string to search. + * + * @returns {Array} + */ +const matchAll = (regExp, str) => { + let matches; + const arr = []; + + while ((matches = regExp.exec(str)) !== null) { + arr.push(matches); + } + + return arr; +}; + +/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */ +const isHTMLForm = kindOfTest('HTMLFormElement'); + +const toCamelCase = (str) => { + return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) { + return p1.toUpperCase() + p2; + }); +}; + +const { propertyIsEnumerable } = Object.prototype; + +/** + * Determine if a value is a RegExp object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a RegExp object, otherwise false + */ +const isRegExp = kindOfTest('RegExp'); + +const reduceDescriptors = (obj, reducer) => { + const descriptors = Object.getOwnPropertyDescriptors(obj); + const reducedDescriptors = {}; + + forEach(descriptors, (descriptor, name) => { + let ret; + if ((ret = reducer(descriptor, name, obj)) !== false) { + reducedDescriptors[name] = ret || descriptor; + } + }); + + Object.defineProperties(obj, reducedDescriptors); +}; + +/** + * Makes all methods read-only + * @param {Object} obj + */ + +const freezeMethods = (obj) => { + reduceDescriptors(obj, (descriptor, name) => { + // skip restricted props in strict mode + if (isFunction$1(obj) && ['arguments', 'caller', 'callee'].includes(name)) { + return false; + } + + const value = obj[name]; + + if (!isFunction$1(value)) return; + + descriptor.enumerable = false; + + if ('writable' in descriptor) { + descriptor.writable = false; + return; + } + + if (!descriptor.set) { + descriptor.set = () => { + throw Error("Can not rewrite read-only method '" + name + "'"); + }; + } + }); +}; + +/** + * Converts an array or a delimited string into an object set with values as keys and true as values. + * Useful for fast membership checks. + * + * @param {Array|string} arrayOrString - The array or string to convert. + * @param {string} delimiter - The delimiter to use if input is a string. + * @returns {Object} An object with keys from the array or string, values set to true. + */ +const toObjectSet = (arrayOrString, delimiter) => { + const obj = {}; + + const define = (arr) => { + arr.forEach((value) => { + obj[value] = true; + }); + }; + + isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter)); + + return obj; +}; + +const noop = () => {}; + +const toFiniteNumber = (value, defaultValue) => { + return value != null && Number.isFinite((value = +value)) ? value : defaultValue; +}; + +/** + * If the thing is a FormData object, return true, otherwise return false. + * + * @param {unknown} thing - The thing to check. + * + * @returns {boolean} + */ +function isSpecCompliantForm(thing) { + return !!( + thing && + isFunction$1(thing.append) && + thing[toStringTag] === 'FormData' && + thing[iterator] + ); +} + +/** + * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers. + * + * @param {Object} obj - The object to convert. + * @returns {Object} The JSON-compatible object. + */ +const toJSONObject = (obj) => { + const visited = new WeakSet(); + + const visit = (source) => { + if (isObject(source)) { + if (visited.has(source)) { + return; + } + + //Buffer check + if (isBuffer(source)) { + return source; + } + + if (!('toJSON' in source)) { + // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230). + visited.add(source); + const target = isArray(source) ? [] : {}; + + forEach(source, (value, key) => { + const reducedValue = visit(value); + !isUndefined(reducedValue) && (target[key] = reducedValue); + }); + + visited.delete(source); + + return target; + } + } + + return source; + }; + + return visit(obj); +}; + +/** + * Determines if a value is an async function. + * + * @param {*} thing - The value to test. + * @returns {boolean} True if value is an async function, otherwise false. + */ +const isAsyncFn = kindOfTest('AsyncFunction'); + +/** + * Determines if a value is thenable (has then and catch methods). + * + * @param {*} thing - The value to test. + * @returns {boolean} True if value is thenable, otherwise false. + */ +const isThenable = (thing) => + thing && + (isObject(thing) || isFunction$1(thing)) && + isFunction$1(thing.then) && + isFunction$1(thing.catch); + +// original code +// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34 + +/** + * Provides a cross-platform setImmediate implementation. + * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout. + * + * @param {boolean} setImmediateSupported - Whether setImmediate is supported. + * @param {boolean} postMessageSupported - Whether postMessage is supported. + * @returns {Function} A function to schedule a callback asynchronously. + */ +const _setImmediate = ((setImmediateSupported, postMessageSupported) => { + if (setImmediateSupported) { + return setImmediate; + } + + return postMessageSupported + ? ((token, callbacks) => { + _global.addEventListener( + 'message', + ({ source, data }) => { + if (source === _global && data === token) { + callbacks.length && callbacks.shift()(); + } + }, + false + ); + + return (cb) => { + callbacks.push(cb); + _global.postMessage(token, '*'); + }; + })(`axios@${Math.random()}`, []) + : (cb) => setTimeout(cb); +})(typeof setImmediate === 'function', isFunction$1(_global.postMessage)); + +/** + * Schedules a microtask or asynchronous callback as soon as possible. + * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate. + * + * @type {Function} + */ +const asap = + typeof queueMicrotask !== 'undefined' + ? queueMicrotask.bind(_global) + : (typeof process !== 'undefined' && process.nextTick) || _setImmediate; + +// ********************* + +const isIterable = (thing) => thing != null && isFunction$1(thing[iterator]); + +/** + * Determine if a value is iterable via an iterator that is NOT sourced solely + * from a polluted Object.prototype. Use this instead of `isIterable` whenever + * the iterable comes from untrusted input (e.g. user-supplied header sources), + * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object + * into an attacker-controlled entries iterator. + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value has a non-polluted iterator + */ +const isSafeIterable = (thing) => + thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing); + +var utils$1 = { + isArray, + isArrayBuffer, + isBuffer, + isFormData, + isArrayBufferView, + isString, + isNumber, + isBoolean, + isObject, + isPlainObject, + isEmptyObject, + isReadableStream, + isRequest, + isResponse, + isHeaders, + isUndefined, + isDate, + isFile, + isReactNativeBlob, + isReactNative, + isBlob, + isRegExp, + isFunction: isFunction$1, + isStream, + isURLSearchParams, + isTypedArray, + isFileList, + forEach, + merge, + extend, + trim, + stripBOM, + inherits, + toFlatObject, + kindOf, + kindOfTest, + endsWith, + toArray, + forEachEntry, + matchAll, + isHTMLForm, + hasOwnProperty, + hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection + hasOwnInPrototypeChain, + getSafeProp, + reduceDescriptors, + freezeMethods, + toObjectSet, + toCamelCase, + noop, + toFiniteNumber, + findKey, + global: _global, + isContextDefined, + isSpecCompliantForm, + toJSONObject, + isAsyncFn, + isThenable, + setImmediate: _setImmediate, + asap, + isIterable, + isSafeIterable, +}; + +// RawAxiosHeaders whose duplicates are ignored by node +// c.f. https://nodejs.org/api/http.html#http_message_headers +const ignoreDuplicateOf = utils$1.toObjectSet([ + 'age', + 'authorization', + 'content-length', + 'content-type', + 'etag', + 'expires', + 'from', + 'host', + 'if-modified-since', + 'if-unmodified-since', + 'last-modified', + 'location', + 'max-forwards', + 'proxy-authorization', + 'referer', + 'retry-after', + 'user-agent', +]); + +/** + * Parse headers into an object + * + * ``` + * Date: Wed, 27 Aug 2014 08:58:49 GMT + * Content-Type: application/json + * Connection: keep-alive + * Transfer-Encoding: chunked + * ``` + * + * @param {String} rawHeaders Headers needing to be parsed + * + * @returns {Object} Headers parsed into an object + */ +var parseHeaders = (rawHeaders) => { + const parsed = {}; + let key; + let val; + let i; + + rawHeaders && + rawHeaders.split('\n').forEach(function parser(line) { + i = line.indexOf(':'); + key = line.substring(0, i).trim().toLowerCase(); + val = line.substring(i + 1).trim(); + + if (!key || (parsed[key] && ignoreDuplicateOf[key])) { + return; + } + + if (key === 'set-cookie') { + if (parsed[key]) { + parsed[key].push(val); + } else { + parsed[key] = [val]; + } + } else { + parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val; + } + }); + + return parsed; +}; + +function trimSPorHTAB(str) { + let start = 0; + let end = str.length; + + while (start < end) { + const code = str.charCodeAt(start); + + if (code !== 0x09 && code !== 0x20) { + break; + } + + start += 1; + } + + while (end > start) { + const code = str.charCodeAt(end - 1); + + if (code !== 0x09 && code !== 0x20) { + break; + } + + end -= 1; + } + + return start === 0 && end === str.length ? str : str.slice(start, end); +} + +// The control-code ranges are intentional: header sanitization strips C0/DEL bytes. +// eslint-disable-next-line no-control-regex +const INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+', 'g'); +// eslint-disable-next-line no-control-regex +const INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+', 'g'); + +function sanitizeValue(value, invalidChars) { + if (utils$1.isArray(value)) { + return value.map((item) => sanitizeValue(item, invalidChars)); + } + + return trimSPorHTAB(String(value).replace(invalidChars, '')); +} + +const sanitizeHeaderValue = (value) => + sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS); + +const sanitizeByteStringHeaderValue = (value) => + sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS); + +function toByteStringHeaderObject(headers) { + const byteStringHeaders = Object.create(null); + + utils$1.forEach(headers.toJSON(), (value, header) => { + byteStringHeaders[header] = sanitizeByteStringHeaderValue(value); + }); + + return byteStringHeaders; +} + +const $internals = Symbol('internals'); + +function normalizeHeader(header) { + return header && String(header).trim().toLowerCase(); +} + +function normalizeValue(value) { + if (value === false || value == null) { + return value; + } + + return utils$1.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value)); +} + +function parseTokens(str) { + const tokens = Object.create(null); + const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; + let match; + + while ((match = tokensRE.exec(str))) { + tokens[match[1]] = match[2]; + } + + return tokens; +} + +const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim()); + +function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) { + if (utils$1.isFunction(filter)) { + return filter.call(this, value, header); + } + + if (isHeaderNameFilter) { + value = header; + } + + if (!utils$1.isString(value)) return; + + if (utils$1.isString(filter)) { + return value.indexOf(filter) !== -1; + } + + if (utils$1.isRegExp(filter)) { + return filter.test(value); + } +} + +function formatHeader(header) { + return header + .trim() + .toLowerCase() + .replace(/([a-z\d])(\w*)/g, (w, char, str) => { + return char.toUpperCase() + str; + }); +} + +function buildAccessors(obj, header) { + const accessorName = utils$1.toCamelCase(' ' + header); + + ['get', 'set', 'has'].forEach((methodName) => { + Object.defineProperty(obj, methodName + accessorName, { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: function (arg1, arg2, arg3) { + return this[methodName].call(this, header, arg1, arg2, arg3); + }, + configurable: true, + }); + }); +} + +let AxiosHeaders$1 = class AxiosHeaders { + constructor(headers) { + headers && this.set(headers); + } + + set(header, valueOrRewrite, rewrite) { + const self = this; + + function setHeader(_value, _header, _rewrite) { + const lHeader = normalizeHeader(_header); + + if (!lHeader) { + return; + } + + const key = utils$1.findKey(self, lHeader); + + if ( + !key || + self[key] === undefined || + _rewrite === true || + (_rewrite === undefined && self[key] !== false) + ) { + self[key || _header] = normalizeValue(_value); + } + } + + const setHeaders = (headers, _rewrite) => + utils$1.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite)); + + if (utils$1.isPlainObject(header) || header instanceof this.constructor) { + setHeaders(header, valueOrRewrite); + } else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) { + setHeaders(parseHeaders(header), valueOrRewrite); + } else if (utils$1.isObject(header) && utils$1.isSafeIterable(header)) { + let obj = Object.create(null), + dest, + key; + for (const entry of header) { + if (!utils$1.isArray(entry)) { + throw new TypeError('Object iterator must return a key-value pair'); + } + + key = entry[0]; + + if (utils$1.hasOwnProp(obj, key)) { + dest = obj[key]; + obj[key] = utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]; + } else { + obj[key] = entry[1]; + } + } + + setHeaders(obj, valueOrRewrite); + } else { + header != null && setHeader(valueOrRewrite, header, rewrite); + } + + return this; + } + + get(header, parser) { + header = normalizeHeader(header); + + if (header) { + const key = utils$1.findKey(this, header); + + if (key) { + const value = this[key]; + + if (!parser) { + return value; + } + + if (parser === true) { + return parseTokens(value); + } + + if (utils$1.isFunction(parser)) { + return parser.call(this, value, key); + } + + if (utils$1.isRegExp(parser)) { + return parser.exec(value); + } + + throw new TypeError('parser must be boolean|regexp|function'); + } + } + } + + has(header, matcher) { + header = normalizeHeader(header); + + if (header) { + const key = utils$1.findKey(this, header); + + return !!( + key && + this[key] !== undefined && + (!matcher || matchHeaderValue(this, this[key], key, matcher)) + ); + } + + return false; + } + + delete(header, matcher) { + const self = this; + let deleted = false; + + function deleteHeader(_header) { + _header = normalizeHeader(_header); + + if (_header) { + const key = utils$1.findKey(self, _header); + + if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) { + delete self[key]; + + deleted = true; + } + } + } + + if (utils$1.isArray(header)) { + header.forEach(deleteHeader); + } else { + deleteHeader(header); + } + + return deleted; + } + + clear(matcher) { + const keys = Object.keys(this); + let i = keys.length; + let deleted = false; + + while (i--) { + const key = keys[i]; + if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) { + delete this[key]; + deleted = true; + } + } + + return deleted; + } + + normalize(format) { + const self = this; + const headers = {}; + + utils$1.forEach(this, (value, header) => { + const key = utils$1.findKey(headers, header); + + if (key) { + self[key] = normalizeValue(value); + delete self[header]; + return; + } + + const normalized = format ? formatHeader(header) : String(header).trim(); + + if (normalized !== header) { + delete self[header]; + } + + self[normalized] = normalizeValue(value); + + headers[normalized] = true; + }); + + return this; + } + + concat(...targets) { + return this.constructor.concat(this, ...targets); + } + + toJSON(asStrings) { + const obj = Object.create(null); + + utils$1.forEach(this, (value, header) => { + value != null && + value !== false && + (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value); + }); + + return obj; + } + + [Symbol.iterator]() { + return Object.entries(this.toJSON())[Symbol.iterator](); + } + + toString() { + return Object.entries(this.toJSON()) + .map(([header, value]) => header + ': ' + value) + .join('\n'); + } + + getSetCookie() { + return this.get('set-cookie') || []; + } + + get [Symbol.toStringTag]() { + return 'AxiosHeaders'; + } + + static from(thing) { + return thing instanceof this ? thing : new this(thing); + } + + static concat(first, ...targets) { + const computed = new this(first); + + targets.forEach((target) => computed.set(target)); + + return computed; + } + + static accessor(header) { + const internals = + (this[$internals] = + this[$internals] = + { + accessors: {}, + }); + + const accessors = internals.accessors; + const prototype = this.prototype; + + function defineAccessor(_header) { + const lHeader = normalizeHeader(_header); + + if (!accessors[lHeader]) { + buildAccessors(prototype, _header); + accessors[lHeader] = true; + } + } + + utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header); + + return this; + } +}; + +AxiosHeaders$1.accessor([ + 'Content-Type', + 'Content-Length', + 'Accept', + 'Accept-Encoding', + 'User-Agent', + 'Authorization', +]); + +// reserved names hotfix +utils$1.reduceDescriptors(AxiosHeaders$1.prototype, ({ value }, key) => { + let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set` + return { + get: () => value, + set(headerValue) { + this[mapped] = headerValue; + }, + }; +}); + +utils$1.freezeMethods(AxiosHeaders$1); + +const REDACTED = '[REDACTED ****]'; + +function hasOwnOrPrototypeToJSON(source) { + if (utils$1.hasOwnProp(source, 'toJSON')) { + return true; + } + + let prototype = Object.getPrototypeOf(source); + + while (prototype && prototype !== Object.prototype) { + if (utils$1.hasOwnProp(prototype, 'toJSON')) { + return true; + } + + prototype = Object.getPrototypeOf(prototype); + } + + return false; +} + +// Build a plain-object snapshot of `config` and replace the value of any key +// (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays +// and AxiosHeaders, and short-circuits on circular references. +function redactConfig(config, redactKeys) { + const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase())); + const seen = []; + + const visit = (source) => { + if (source === null || typeof source !== 'object') return source; + if (utils$1.isBuffer(source)) return source; + if (seen.indexOf(source) !== -1) return undefined; + + if (source instanceof AxiosHeaders$1) { + source = source.toJSON(); + } + + seen.push(source); + + let result; + if (utils$1.isArray(source)) { + result = []; + source.forEach((v, i) => { + const reducedValue = visit(v); + if (!utils$1.isUndefined(reducedValue)) { + result[i] = reducedValue; + } + }); + } else { + if (!utils$1.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) { + seen.pop(); + return source; + } + + result = Object.create(null); + for (const [key, value] of Object.entries(source)) { + const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value); + if (!utils$1.isUndefined(reducedValue)) { + result[key] = reducedValue; + } + } + } + + seen.pop(); + return result; + }; + + return visit(config); +} + +let AxiosError$1 = class AxiosError extends Error { + static from(error, code, config, request, response, customProps) { + const axiosError = new AxiosError(error.message, code || error.code, config, request, response); + // Match native `Error` `cause` semantics: non-enumerable. The wrapped + // error often carries circular internals (sockets, requests, agents), so + // an enumerable `cause` makes structured loggers (pino/winston) and any + // own-property walk throw "Converting circular structure to JSON". + // Regression from #6982; see #7205. `__proto__: null` mirrors the + // `message` descriptor below (prototype-pollution-safe descriptor). + Object.defineProperty(axiosError, 'cause', { + __proto__: null, + value: error, + writable: true, + enumerable: false, + configurable: true, + }); + axiosError.name = error.name; + + // Preserve status from the original error if not already set from response + if (error.status != null && axiosError.status == null) { + axiosError.status = error.status; + } + + customProps && Object.assign(axiosError, customProps); + return axiosError; + } + + /** + * Create an Error with the specified message, config, error code, request and response. + * + * @param {string} message The error message. + * @param {string} [code] The error code (for example, 'ECONNABORTED'). + * @param {Object} [config] The config. + * @param {Object} [request] The request. + * @param {Object} [response] The response. + * + * @returns {Error} The created error. + */ + constructor(message, code, config, request, response) { + super(message); + + // Make message enumerable to maintain backward compatibility + // The native Error constructor sets message as non-enumerable, + // but axios < v1.13.3 had it as enumerable + Object.defineProperty(this, 'message', { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: message, + enumerable: true, + writable: true, + configurable: true, + }); + + this.name = 'AxiosError'; + this.isAxiosError = true; + code && (this.code = code); + config && (this.config = config); + request && (this.request = request); + if (response) { + this.response = response; + this.status = response.status; + } + } + + toJSON() { + // Opt-in redaction: when the request config carries a `redact` array, the + // value of any matching key (case-insensitive, at any depth) is replaced + // with REDACTED in the serialized snapshot. Undefined or empty leaves the + // existing serialization behavior unchanged. + const config = this.config; + const redactKeys = config && utils$1.hasOwnProp(config, 'redact') ? config.redact : undefined; + const serializedConfig = + utils$1.isArray(redactKeys) && redactKeys.length > 0 + ? redactConfig(config, redactKeys) + : utils$1.toJSONObject(config); + + return { + // Standard + message: this.message, + name: this.name, + // Microsoft + description: this.description, + number: this.number, + // Mozilla + fileName: this.fileName, + lineNumber: this.lineNumber, + columnNumber: this.columnNumber, + stack: this.stack, + // Axios + config: serializedConfig, + code: this.code, + status: this.status, + }; + } +}; + +// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated. +AxiosError$1.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE'; +AxiosError$1.ERR_BAD_OPTION = 'ERR_BAD_OPTION'; +AxiosError$1.ECONNABORTED = 'ECONNABORTED'; +AxiosError$1.ETIMEDOUT = 'ETIMEDOUT'; +AxiosError$1.ECONNREFUSED = 'ECONNREFUSED'; +AxiosError$1.ERR_NETWORK = 'ERR_NETWORK'; +AxiosError$1.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS'; +AxiosError$1.ERR_DEPRECATED = 'ERR_DEPRECATED'; +AxiosError$1.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE'; +AxiosError$1.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST'; +AxiosError$1.ERR_CANCELED = 'ERR_CANCELED'; +AxiosError$1.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT'; +AxiosError$1.ERR_INVALID_URL = 'ERR_INVALID_URL'; +AxiosError$1.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED'; + +// eslint-disable-next-line strict +var httpAdapter = null; + +// Default nesting limit shared with the inverse transform (formDataToJSON) so +// the FormData <-> JSON round-trip stays symmetric. +const DEFAULT_FORM_DATA_MAX_DEPTH = 100; + +/** + * Determines if the given thing is a array or js object. + * + * @param {string} thing - The object or array to be visited. + * + * @returns {boolean} + */ +function isVisitable(thing) { + return utils$1.isPlainObject(thing) || utils$1.isArray(thing); +} + +/** + * It removes the brackets from the end of a string + * + * @param {string} key - The key of the parameter. + * + * @returns {string} the key without the brackets. + */ +function removeBrackets(key) { + return utils$1.endsWith(key, '[]') ? key.slice(0, -2) : key; +} + +/** + * It takes a path, a key, and a boolean, and returns a string + * + * @param {string} path - The path to the current key. + * @param {string} key - The key of the current object being iterated over. + * @param {string} dots - If true, the key will be rendered with dots instead of brackets. + * + * @returns {string} The path to the current key. + */ +function renderKey(path, key, dots) { + if (!path) return key; + return path + .concat(key) + .map(function each(token, i) { + // eslint-disable-next-line no-param-reassign + token = removeBrackets(token); + return !dots && i ? '[' + token + ']' : token; + }) + .join(dots ? '.' : ''); +} + +/** + * If the array is an array and none of its elements are visitable, then it's a flat array. + * + * @param {Array} arr - The array to check + * + * @returns {boolean} + */ +function isFlatArray(arr) { + return utils$1.isArray(arr) && !arr.some(isVisitable); +} + +const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) { + return /^is[A-Z]/.test(prop); +}); + +/** + * Convert a data object to FormData + * + * @param {Object} obj + * @param {?Object} [formData] + * @param {?Object} [options] + * @param {Function} [options.visitor] + * @param {Boolean} [options.metaTokens = true] + * @param {Boolean} [options.dots = false] + * @param {?Boolean} [options.indexes = false] + * + * @returns {Object} + **/ + +/** + * It converts an object into a FormData object + * + * @param {Object} obj - The object to convert to form data. + * @param {string} formData - The FormData object to append to. + * @param {Object} options + * + * @returns + */ +function toFormData$1(obj, formData, options) { + if (!utils$1.isObject(obj)) { + throw new TypeError('target must be an object'); + } + + // eslint-disable-next-line no-param-reassign + formData = formData || new (FormData)(); + + // eslint-disable-next-line no-param-reassign + options = utils$1.toFlatObject( + options, + { + metaTokens: true, + dots: false, + indexes: false, + }, + false, + function defined(option, source) { + // eslint-disable-next-line no-eq-null,eqeqeq + return !utils$1.isUndefined(source[option]); + } + ); + + const metaTokens = options.metaTokens; + // eslint-disable-next-line no-use-before-define + const visitor = options.visitor || defaultVisitor; + const dots = options.dots; + const indexes = options.indexes; + const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob); + const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth; + const useBlob = _Blob && utils$1.isSpecCompliantForm(formData); + const stack = []; + + if (!utils$1.isFunction(visitor)) { + throw new TypeError('visitor must be a function'); + } + + function convertValue(value) { + if (value === null) return ''; + + if (utils$1.isDate(value)) { + return value.toISOString(); + } + + if (utils$1.isBoolean(value)) { + return value.toString(); + } + + if (!useBlob && utils$1.isBlob(value)) { + throw new AxiosError$1('Blob is not supported. Use a Buffer instead.'); + } + + if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) { + if (useBlob && typeof _Blob === 'function') { + return new _Blob([value]); + } + if (typeof Buffer !== 'undefined') { + return Buffer.from(value); + } + throw new AxiosError$1('Blob is not supported. Use a Buffer instead.', AxiosError$1.ERR_NOT_SUPPORT); + } + + return value; + } + + function throwIfMaxDepthExceeded(depth) { + if (depth > maxDepth) { + throw new AxiosError$1( + 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth, + AxiosError$1.ERR_FORM_DATA_DEPTH_EXCEEDED + ); + } + } + + function stringifyWithDepthLimit(value, depth) { + if (maxDepth === Infinity) { + return JSON.stringify(value); + } + + const ancestors = []; + + return JSON.stringify(value, function limitDepth(_key, currentValue) { + if (!utils$1.isObject(currentValue)) { + return currentValue; + } + + while (ancestors.length && ancestors[ancestors.length - 1] !== this) { + ancestors.pop(); + } + + ancestors.push(currentValue); + throwIfMaxDepthExceeded(depth + ancestors.length - 1); + + return currentValue; + }); + } + + /** + * Default visitor. + * + * @param {*} value + * @param {String|Number} key + * @param {Array} path + * @this {FormData} + * + * @returns {boolean} return true to visit the each prop of the value recursively + */ + function defaultVisitor(value, key, path) { + let arr = value; + + if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) { + formData.append(renderKey(path, key, dots), convertValue(value)); + return false; + } + + if (value && !path && typeof value === 'object') { + if (utils$1.endsWith(key, '{}')) { + // eslint-disable-next-line no-param-reassign + key = metaTokens ? key : key.slice(0, -2); + // eslint-disable-next-line no-param-reassign + value = stringifyWithDepthLimit(value, 1); + } else if ( + (utils$1.isArray(value) && isFlatArray(value)) || + ((utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))) + ) { + // eslint-disable-next-line no-param-reassign + key = removeBrackets(key); + + arr.forEach(function each(el, index) { + !(utils$1.isUndefined(el) || el === null) && + formData.append( + // eslint-disable-next-line no-nested-ternary + indexes === true + ? renderKey([key], index, dots) + : indexes === null + ? key + : key + '[]', + convertValue(el) + ); + }); + return false; + } + } + + if (isVisitable(value)) { + return true; + } + + formData.append(renderKey(path, key, dots), convertValue(value)); + + return false; + } + + const exposedHelpers = Object.assign(predicates, { + defaultVisitor, + convertValue, + isVisitable, + }); + + function build(value, path, depth = 0) { + if (utils$1.isUndefined(value)) return; + + throwIfMaxDepthExceeded(depth); + + if (stack.indexOf(value) !== -1) { + throw new Error('Circular reference detected in ' + path.join('.')); + } + + stack.push(value); + + utils$1.forEach(value, function each(el, key) { + const result = + !(utils$1.isUndefined(el) || el === null) && + visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers); + + if (result === true) { + build(el, path ? path.concat(key) : [key], depth + 1); + } + }); + + stack.pop(); + } + + if (!utils$1.isObject(obj)) { + throw new TypeError('data must be an object'); + } + + build(obj); + + return formData; +} + +/** + * It encodes a string by replacing all characters that are not in the unreserved set with + * their percent-encoded equivalents + * + * @param {string} str - The string to encode. + * + * @returns {string} The encoded string. + */ +function encode$1(str) { + const charMap = { + '!': '%21', + "'": '%27', + '(': '%28', + ')': '%29', + '~': '%7E', + '%20': '+', + }; + return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) { + return charMap[match]; + }); +} + +/** + * It takes a params object and converts it to a FormData object + * + * @param {Object} params - The parameters to be converted to a FormData object. + * @param {Object} options - The options object passed to the Axios constructor. + * + * @returns {void} + */ +function AxiosURLSearchParams(params, options) { + this._pairs = []; + + params && toFormData$1(params, this, options); +} + +const prototype = AxiosURLSearchParams.prototype; + +prototype.append = function append(name, value) { + this._pairs.push([name, value]); +}; + +prototype.toString = function toString(encoder) { + const _encode = encoder + ? (value) => encoder.call(this, value, encode$1) + : encode$1; + + return this._pairs + .map(function each(pair) { + return _encode(pair[0]) + '=' + _encode(pair[1]); + }, '') + .join('&'); +}; + +/** + * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with + * their plain counterparts (`:`, `$`, `,`, `+`). + * + * @param {string} val The value to be encoded. + * + * @returns {string} The encoded value. + */ +function encode(val) { + return encodeURIComponent(val) + .replace(/%3A/gi, ':') + .replace(/%24/g, '$') + .replace(/%2C/gi, ',') + .replace(/%20/g, '+'); +} + +/** + * Build a URL by appending params to the end + * + * @param {string} url The base of the url (e.g., http://www.google.com) + * @param {object} [params] The params to be appended + * @param {?(object|Function)} options + * + * @returns {string} The formatted url + */ +function buildURL(url, params, options) { + if (!params) { + return url; + } + url = url || ''; + + const _options = utils$1.isFunction(options) + ? { + serialize: options, + } + : options; + + // Read serializer options pollution-safely: own properties and methods on a + // class/template prototype are honored, but values injected onto a polluted + // Object.prototype are ignored. + const _encode = utils$1.getSafeProp(_options, 'encode') || encode; + const serializeFn = utils$1.getSafeProp(_options, 'serialize'); + + let serializedParams; + + if (serializeFn) { + serializedParams = serializeFn(params, _options); + } else { + serializedParams = utils$1.isURLSearchParams(params) + ? params.toString() + : new AxiosURLSearchParams(params, _options).toString(_encode); + } + + if (serializedParams) { + const hashmarkIndex = url.indexOf('#'); + + if (hashmarkIndex !== -1) { + url = url.slice(0, hashmarkIndex); + } + url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams; + } + + return url; +} + +class InterceptorManager { + constructor() { + this.handlers = []; + } + + /** + * Add a new interceptor to the stack + * + * @param {Function} fulfilled The function to handle `then` for a `Promise` + * @param {Function} rejected The function to handle `reject` for a `Promise` + * @param {Object} options The options for the interceptor, synchronous and runWhen + * + * @return {Number} An ID used to remove interceptor later + */ + use(fulfilled, rejected, options) { + this.handlers.push({ + fulfilled, + rejected, + synchronous: options ? options.synchronous : false, + runWhen: options ? options.runWhen : null, + }); + return this.handlers.length - 1; + } + + /** + * Remove an interceptor from the stack + * + * @param {Number} id The ID that was returned by `use` + * + * @returns {void} + */ + eject(id) { + if (this.handlers[id]) { + this.handlers[id] = null; + } + } + + /** + * Clear all interceptors from the stack + * + * @returns {void} + */ + clear() { + if (this.handlers) { + this.handlers = []; + } + } + + /** + * Iterate over all the registered interceptors + * + * This method is particularly useful for skipping over any + * interceptors that may have become `null` calling `eject`. + * + * @param {Function} fn The function to call for each interceptor + * + * @returns {void} + */ + forEach(fn) { + utils$1.forEach(this.handlers, function forEachHandler(h) { + if (h !== null) { + fn(h); + } + }); + } +} + +var transitionalDefaults = { + silentJSONParsing: true, + forcedJSONParsing: true, + clarifyTimeoutError: false, + legacyInterceptorReqResOrdering: true, + advertiseZstdAcceptEncoding: false, + validateStatusUndefinedResolves: true, +}; + +var URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams; + +var FormData$1 = typeof FormData !== 'undefined' ? FormData : null; + +var Blob$1 = typeof Blob !== 'undefined' ? Blob : null; + +var platform$1 = { + isBrowser: true, + classes: { + URLSearchParams: URLSearchParams$1, + FormData: FormData$1, + Blob: Blob$1, + }, + protocols: ['http', 'https', 'file', 'blob', 'url', 'data'], +}; + +const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined'; + +const _navigator = (typeof navigator === 'object' && navigator) || undefined; + +/** + * Determine if we're running in a standard browser environment + * + * This allows axios to run in a web worker, and react-native. + * Both environments support XMLHttpRequest, but not fully standard globals. + * + * web workers: + * typeof window -> undefined + * typeof document -> undefined + * + * react-native: + * navigator.product -> 'ReactNative' + * nativescript + * navigator.product -> 'NativeScript' or 'NS' + * + * @returns {boolean} + */ +const hasStandardBrowserEnv = + hasBrowserEnv && + (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0); + +/** + * Determine if we're running in a standard browser webWorker environment + * + * Although the `isStandardBrowserEnv` method indicates that + * `allows axios to run in a web worker`, the WebWorker will still be + * filtered out due to its judgment standard + * `typeof window !== 'undefined' && typeof document !== 'undefined'`. + * This leads to a problem when axios post `FormData` in webWorker + */ +const hasStandardBrowserWebWorkerEnv = (() => { + return ( + typeof WorkerGlobalScope !== 'undefined' && + // eslint-disable-next-line no-undef + self instanceof WorkerGlobalScope && + typeof self.importScripts === 'function' + ); +})(); + +const origin = (hasBrowserEnv && window.location.href) || 'http://localhost'; + +var utils = /*#__PURE__*/Object.freeze({ + __proto__: null, + hasBrowserEnv: hasBrowserEnv, + hasStandardBrowserEnv: hasStandardBrowserEnv, + hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv, + navigator: _navigator, + origin: origin +}); + +var platform = { + ...utils, + ...platform$1, +}; + +function toURLEncodedForm(data, options) { + return toFormData$1(data, new platform.classes.URLSearchParams(), { + visitor: function (value, key, path, helpers) { + if (platform.isNode && utils$1.isBuffer(value)) { + this.append(key, value.toString('base64')); + return false; + } + + return helpers.defaultVisitor.apply(this, arguments); + }, + ...options, + }); +} + +const MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH; + +function throwIfDepthExceeded(index) { + if (index > MAX_DEPTH) { + throw new AxiosError$1( + 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH, + AxiosError$1.ERR_FORM_DATA_DEPTH_EXCEEDED + ); + } +} + +/** + * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z'] + * + * @param {string} name - The name of the property to get. + * + * @returns An array of strings. + */ +function parsePropPath(name) { + // foo[x][y][z] + // foo.x.y.z + // foo-x-y-z + // foo x y z + const path = []; + const pattern = /\w+|\[(\w*)]/g; + let match; + + while ((match = pattern.exec(name)) !== null) { + throwIfDepthExceeded(path.length); + path.push(match[0] === '[]' ? '' : match[1] || match[0]); + } + + return path; +} + +/** + * Convert an array to an object. + * + * @param {Array} arr - The array to convert to an object. + * + * @returns An object with the same keys and values as the array. + */ +function arrayToObject(arr) { + const obj = {}; + const keys = Object.keys(arr); + let i; + const len = keys.length; + let key; + for (i = 0; i < len; i++) { + key = keys[i]; + obj[key] = arr[key]; + } + return obj; +} + +/** + * It takes a FormData object and returns a JavaScript object + * + * @param {string} formData The FormData object to convert to JSON. + * + * @returns {Object | null} The converted object. + */ +function formDataToJSON(formData) { + function buildPath(path, value, target, index) { + throwIfDepthExceeded(index); + + let name = path[index++]; + + if (name === '__proto__') return true; + + const isNumericKey = Number.isFinite(+name); + const isLast = index >= path.length; + name = !name && utils$1.isArray(target) ? target.length : name; + + if (isLast) { + if (utils$1.hasOwnProp(target, name)) { + target[name] = utils$1.isArray(target[name]) + ? target[name].concat(value) + : [target[name], value]; + } else { + target[name] = value; + } + + return !isNumericKey; + } + + if (!utils$1.hasOwnProp(target, name) || !utils$1.isObject(target[name])) { + target[name] = []; + } + + const result = buildPath(path, value, target[name], index); + + if (result && utils$1.isArray(target[name])) { + target[name] = arrayToObject(target[name]); + } + + return !isNumericKey; + } + + if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) { + const obj = {}; + + utils$1.forEachEntry(formData, (name, value) => { + buildPath(parsePropPath(name), value, obj, 0); + }); + + return obj; + } + + return null; +} + +const own = (obj, key) => (obj != null && utils$1.hasOwnProp(obj, key) ? obj[key] : undefined); + +/** + * It takes a string, tries to parse it, and if it fails, it returns the stringified version + * of the input + * + * @param {any} rawValue - The value to be stringified. + * @param {Function} parser - A function that parses a string into a JavaScript object. + * @param {Function} encoder - A function that takes a value and returns a string. + * + * @returns {string} A stringified version of the rawValue. + */ +function stringifySafely(rawValue, parser, encoder) { + if (utils$1.isString(rawValue)) { + try { + (parser || JSON.parse)(rawValue); + return utils$1.trim(rawValue); + } catch (e) { + if (e.name !== 'SyntaxError') { + throw e; + } + } + } + + return (encoder || JSON.stringify)(rawValue); +} + +const defaults = { + transitional: transitionalDefaults, + + adapter: ['xhr', 'http', 'fetch'], + + transformRequest: [ + function transformRequest(data, headers) { + const contentType = headers.getContentType() || ''; + const hasJSONContentType = contentType.indexOf('application/json') > -1; + const isObjectPayload = utils$1.isObject(data); + + if (isObjectPayload && utils$1.isHTMLForm(data)) { + data = new FormData(data); + } + + const isFormData = utils$1.isFormData(data); + + if (isFormData) { + return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data; + } + + if ( + utils$1.isArrayBuffer(data) || + utils$1.isBuffer(data) || + utils$1.isStream(data) || + utils$1.isFile(data) || + utils$1.isBlob(data) || + utils$1.isReadableStream(data) + ) { + return data; + } + if (utils$1.isArrayBufferView(data)) { + return data.buffer; + } + if (utils$1.isURLSearchParams(data)) { + headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false); + return data.toString(); + } + + let isFileList; + + if (isObjectPayload) { + const formSerializer = own(this, 'formSerializer'); + if (contentType.indexOf('application/x-www-form-urlencoded') > -1) { + return toURLEncodedForm(data, formSerializer).toString(); + } + + if ( + (isFileList = utils$1.isFileList(data)) || + contentType.indexOf('multipart/form-data') > -1 + ) { + const env = own(this, 'env'); + const _FormData = env && env.FormData; + + return toFormData$1( + isFileList ? { 'files[]': data } : data, + _FormData && new _FormData(), + formSerializer + ); + } + } + + if (isObjectPayload || hasJSONContentType) { + headers.setContentType('application/json', false); + return stringifySafely(data); + } + + return data; + }, + ], + + transformResponse: [ + function transformResponse(data) { + const transitional = own(this, 'transitional') || defaults.transitional; + const forcedJSONParsing = transitional && transitional.forcedJSONParsing; + const responseType = own(this, 'responseType'); + const JSONRequested = responseType === 'json'; + + if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) { + return data; + } + + if ( + data && + utils$1.isString(data) && + ((forcedJSONParsing && !responseType) || JSONRequested) + ) { + const silentJSONParsing = transitional && transitional.silentJSONParsing; + const strictJSONParsing = !silentJSONParsing && JSONRequested; + + try { + return JSON.parse(data, own(this, 'parseReviver')); + } catch (e) { + if (strictJSONParsing) { + if (e.name === 'SyntaxError') { + throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, own(this, 'response')); + } + throw e; + } + } + } + + return data; + }, + ], + + /** + * A timeout in milliseconds to abort a request. If set to 0 (default) a + * timeout is not created. + */ + timeout: 0, + + xsrfCookieName: 'XSRF-TOKEN', + xsrfHeaderName: 'X-XSRF-TOKEN', + + maxContentLength: -1, + maxBodyLength: -1, + + env: { + FormData: platform.classes.FormData, + Blob: platform.classes.Blob, + }, + + validateStatus: function validateStatus(status) { + return status >= 200 && status < 300; + }, + + headers: { + common: { + Accept: 'application/json, text/plain, */*', + 'Content-Type': undefined, + }, + }, +}; + +utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => { + defaults.headers[method] = {}; +}); + +/** + * Transform the data for a request or a response + * + * @param {Array|Function} fns A single function or Array of functions + * @param {?Object} response The response object + * + * @returns {*} The resulting transformed data + */ +function transformData(fns, response) { + const config = this || defaults; + const context = response || config; + const headers = AxiosHeaders$1.from(context.headers); + let data = context.data; + + utils$1.forEach(fns, function transform(fn) { + data = fn.call(config, data, headers.normalize(), response ? response.status : undefined); + }); + + headers.normalize(); + + return data; +} + +function isCancel$1(value) { + return !!(value && value.__CANCEL__); +} + +let CanceledError$1 = class CanceledError extends AxiosError$1 { + /** + * A `CanceledError` is an object that is thrown when an operation is canceled. + * + * @param {string=} message The message. + * @param {Object=} config The config. + * @param {Object=} request The request. + * + * @returns {CanceledError} The created error. + */ + constructor(message, config, request) { + super(message == null ? 'canceled' : message, AxiosError$1.ERR_CANCELED, config, request); + this.name = 'CanceledError'; + this.__CANCEL__ = true; + } +}; + +/** + * Resolve or reject a Promise based on response status. + * + * @param {Function} resolve A function that resolves the promise. + * @param {Function} reject A function that rejects the promise. + * @param {object} response The response. + * + * @returns {object} The response. + */ +function settle(resolve, reject, response) { + const validateStatus = response.config.validateStatus; + if (!response.status || !validateStatus || validateStatus(response.status)) { + resolve(response); + } else { + reject(new AxiosError$1( + 'Request failed with status code ' + response.status, + response.status >= 400 && response.status < 500 ? AxiosError$1.ERR_BAD_REQUEST : AxiosError$1.ERR_BAD_RESPONSE, + response.config, + response.request, + response + )); + } +} + +function parseProtocol(url) { + const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url); + return (match && match[1]) || ''; +} + +/** + * Calculate data maxRate + * @param {Number} [samplesCount= 10] + * @param {Number} [min= 1000] + * @returns {Function} + */ +function speedometer(samplesCount, min) { + samplesCount = samplesCount || 10; + const bytes = new Array(samplesCount); + const timestamps = new Array(samplesCount); + let head = 0; + let tail = 0; + let firstSampleTS; + + min = min !== undefined ? min : 1000; + + return function push(chunkLength) { + const now = Date.now(); + + const startedAt = timestamps[tail]; + + if (!firstSampleTS) { + firstSampleTS = now; + } + + bytes[head] = chunkLength; + timestamps[head] = now; + + let i = tail; + let bytesCount = 0; + + while (i !== head) { + bytesCount += bytes[i++]; + i = i % samplesCount; + } + + head = (head + 1) % samplesCount; + + if (head === tail) { + tail = (tail + 1) % samplesCount; + } + + if (now - firstSampleTS < min) { + return; + } + + const passed = startedAt && now - startedAt; + + return passed ? Math.round((bytesCount * 1000) / passed) : undefined; + }; +} + +/** + * Throttle decorator + * @param {Function} fn + * @param {Number} freq + * @return {Function} + */ +function throttle(fn, freq) { + let timestamp = 0; + let threshold = 1000 / freq; + let lastArgs; + let timer; + + const invoke = (args, now = Date.now()) => { + timestamp = now; + lastArgs = null; + if (timer) { + clearTimeout(timer); + timer = null; + } + fn(...args); + }; + + const throttled = (...args) => { + const now = Date.now(); + const passed = now - timestamp; + if (passed >= threshold) { + invoke(args, now); + } else { + lastArgs = args; + if (!timer) { + timer = setTimeout(() => { + timer = null; + invoke(lastArgs); + }, threshold - passed); + } + } + }; + + const flush = () => lastArgs && invoke(lastArgs); + + return [throttled, flush]; +} + +const progressEventReducer = (listener, isDownloadStream, freq = 3) => { + let bytesNotified = 0; + const _speedometer = speedometer(50, 250); + + return throttle((e) => { + if (!e || typeof e.loaded !== 'number') { + return; + } + const rawLoaded = e.loaded; + const total = e.lengthComputable ? e.total : undefined; + const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded; + const progressBytes = Math.max(0, loaded - bytesNotified); + const rate = _speedometer(progressBytes); + + bytesNotified = Math.max(bytesNotified, loaded); + + const data = { + loaded, + total, + progress: total ? loaded / total : undefined, + bytes: progressBytes, + rate: rate ? rate : undefined, + estimated: rate && total ? (total - loaded) / rate : undefined, + event: e, + lengthComputable: total != null, + [isDownloadStream ? 'download' : 'upload']: true, + }; + + listener(data); + }, freq); +}; + +const progressEventDecorator = (total, throttled) => { + const lengthComputable = total != null; + + return [ + (loaded) => + throttled[0]({ + lengthComputable, + total, + loaded, + }), + throttled[1], + ]; +}; + +const asyncDecorator = + (fn) => + (...args) => + utils$1.asap(() => fn(...args)); + +var isURLSameOrigin = platform.hasStandardBrowserEnv + ? ((origin, isMSIE) => (url) => { + url = new URL(url, platform.origin); + + return ( + origin.protocol === url.protocol && + origin.host === url.host && + (isMSIE || origin.port === url.port) + ); + })( + new URL(platform.origin), + platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent) + ) + : () => true; + +var cookies = platform.hasStandardBrowserEnv + ? // Standard browser envs support document.cookie + { + write(name, value, expires, path, domain, secure, sameSite) { + if (typeof document === 'undefined') return; + + const cookie = [`${name}=${encodeURIComponent(value)}`]; + + if (utils$1.isNumber(expires)) { + cookie.push(`expires=${new Date(expires).toUTCString()}`); + } + if (utils$1.isString(path)) { + cookie.push(`path=${path}`); + } + if (utils$1.isString(domain)) { + cookie.push(`domain=${domain}`); + } + if (secure === true) { + cookie.push('secure'); + } + if (utils$1.isString(sameSite)) { + cookie.push(`SameSite=${sameSite}`); + } + + document.cookie = cookie.join('; '); + }, + + read(name) { + if (typeof document === 'undefined') return null; + // Match name=value by splitting on the semicolon separator instead of building a + // RegExp from `name` — interpolating an unescaped string into a RegExp would let + // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or + // match the wrong cookie. Browsers may serialize cookie pairs as either ";" or + // "; ", so ignore optional whitespace before each cookie name. + const cookies = document.cookie.split(';'); + for (let i = 0; i < cookies.length; i++) { + const cookie = cookies[i].replace(/^\s+/, ''); + const eq = cookie.indexOf('='); + if (eq !== -1 && cookie.slice(0, eq) === name) { + try { + return decodeURIComponent(cookie.slice(eq + 1)); + } catch (e) { + return cookie.slice(eq + 1); + } + } + } + return null; + }, + + remove(name) { + this.write(name, '', Date.now() - 86400000, '/'); + }, + } + : // Non-standard browser env (web workers, react-native) lack needed support. + { + write() {}, + read() { + return null; + }, + remove() {}, + }; + +/** + * Determines whether the specified URL is absolute + * + * @param {string} url The URL to test + * + * @returns {boolean} True if the specified URL is absolute, otherwise false + */ +function isAbsoluteURL(url) { + // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). + // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed + // by any combination of letters, digits, plus, period, or hyphen. + if (typeof url !== 'string') { + return false; + } + + return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url); +} + +/** + * Creates a new URL by combining the specified URLs + * + * @param {string} baseURL The base URL + * @param {string} relativeURL The relative URL + * + * @returns {string} The combined URL + */ +function combineURLs(baseURL, relativeURL) { + return relativeURL + ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') + : baseURL; +} + +const malformedHttpProtocol = /^https?:(?!\/\/)/i; +const httpProtocolControlCharacters = /[\t\n\r]/g; + +function stripLeadingC0ControlOrSpace(url) { + let i = 0; + while (i < url.length && url.charCodeAt(i) <= 0x20) { + i++; + } + return url.slice(i); +} + +function normalizeURLForProtocolCheck(url) { + return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, ''); +} + +function assertValidHttpProtocolURL(url, config) { + if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) { + throw new AxiosError$1( + 'Invalid URL: missing "//" after protocol', + AxiosError$1.ERR_INVALID_URL, + config + ); + } +} + +/** + * Creates a new URL by combining the baseURL with the requestedURL, + * only when the requestedURL is not already an absolute URL. + * If the requestURL is absolute, this function returns the requestedURL untouched. + * + * @param {string} baseURL The base URL + * @param {string} requestedURL Absolute or relative URL to combine + * + * @returns {string} The combined full path + */ +function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) { + assertValidHttpProtocolURL(requestedURL, config); + let isRelativeUrl = !isAbsoluteURL(requestedURL); + if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) { + assertValidHttpProtocolURL(baseURL, config); + return combineURLs(baseURL, requestedURL); + } + return requestedURL; +} + +const headersToObject = (thing) => (thing instanceof AxiosHeaders$1 ? { ...thing } : thing); + +/** + * Config-specific merge-function which creates a new config-object + * by merging two configuration objects together. + * + * @param {Object} config1 + * @param {Object} config2 + * + * @returns {Object} New object resulting from merging config2 to config1 + */ +function mergeConfig$1(config1, config2) { + // eslint-disable-next-line no-param-reassign + config1 = config1 || {}; + config2 = config2 || {}; + + // Use a null-prototype object so that downstream reads such as `config.auth` + // or `config.baseURL` cannot inherit polluted values from Object.prototype. + // `hasOwnProperty` is restored as a non-enumerable own slot to preserve + // ergonomics for user code that relies on it. + const config = Object.create(null); + Object.defineProperty(config, 'hasOwnProperty', { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: Object.prototype.hasOwnProperty, + enumerable: false, + writable: true, + configurable: true, + }); + + function getMergedValue(target, source, prop, caseless) { + if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) { + return utils$1.merge.call({ caseless }, target, source); + } else if (utils$1.isPlainObject(source)) { + return utils$1.merge({}, source); + } else if (utils$1.isArray(source)) { + return source.slice(); + } + return source; + } + + function mergeDeepProperties(a, b, prop, caseless) { + if (!utils$1.isUndefined(b)) { + return getMergedValue(a, b, prop, caseless); + } else if (!utils$1.isUndefined(a)) { + return getMergedValue(undefined, a, prop, caseless); + } + } + + // eslint-disable-next-line consistent-return + function valueFromConfig2(a, b) { + if (!utils$1.isUndefined(b)) { + return getMergedValue(undefined, b); + } + } + + // eslint-disable-next-line consistent-return + function defaultToConfig2(a, b) { + if (!utils$1.isUndefined(b)) { + return getMergedValue(undefined, b); + } else if (!utils$1.isUndefined(a)) { + return getMergedValue(undefined, a); + } + } + + function getMergedTransitionalOption(prop) { + const transitional2 = utils$1.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined; + + if (!utils$1.isUndefined(transitional2)) { + if (utils$1.isPlainObject(transitional2)) { + if (utils$1.hasOwnProp(transitional2, prop)) { + return transitional2[prop]; + } + } else { + return undefined; + } + } + + const transitional1 = utils$1.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined; + + if (utils$1.isPlainObject(transitional1) && utils$1.hasOwnProp(transitional1, prop)) { + return transitional1[prop]; + } + + return undefined; + } + + // eslint-disable-next-line consistent-return + function mergeDirectKeys(a, b, prop) { + if (utils$1.hasOwnProp(config2, prop)) { + return getMergedValue(a, b); + } else if (utils$1.hasOwnProp(config1, prop)) { + return getMergedValue(undefined, a); + } + } + + const mergeMap = { + url: valueFromConfig2, + method: valueFromConfig2, + data: valueFromConfig2, + baseURL: defaultToConfig2, + transformRequest: defaultToConfig2, + transformResponse: defaultToConfig2, + paramsSerializer: defaultToConfig2, + timeout: defaultToConfig2, + timeoutMessage: defaultToConfig2, + withCredentials: defaultToConfig2, + withXSRFToken: defaultToConfig2, + adapter: defaultToConfig2, + responseType: defaultToConfig2, + xsrfCookieName: defaultToConfig2, + xsrfHeaderName: defaultToConfig2, + onUploadProgress: defaultToConfig2, + onDownloadProgress: defaultToConfig2, + decompress: defaultToConfig2, + maxContentLength: defaultToConfig2, + maxBodyLength: defaultToConfig2, + beforeRedirect: defaultToConfig2, + transport: defaultToConfig2, + httpAgent: defaultToConfig2, + httpsAgent: defaultToConfig2, + cancelToken: defaultToConfig2, + socketPath: defaultToConfig2, + allowedSocketPaths: defaultToConfig2, + responseEncoding: defaultToConfig2, + validateStatus: mergeDirectKeys, + headers: (a, b, prop) => + mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true), + }; + + utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) { + if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return; + const merge = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties; + const a = utils$1.hasOwnProp(config1, prop) ? config1[prop] : undefined; + const b = utils$1.hasOwnProp(config2, prop) ? config2[prop] : undefined; + const configValue = merge(a, b, prop); + (utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue); + }); + + if ( + utils$1.hasOwnProp(config2, 'validateStatus') && + utils$1.isUndefined(config2.validateStatus) && + getMergedTransitionalOption('validateStatusUndefinedResolves') === false + ) { + if (utils$1.hasOwnProp(config1, 'validateStatus')) { + config.validateStatus = getMergedValue(undefined, config1.validateStatus); + } else { + delete config.validateStatus; + } + } + + return config; +} + +const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length']; + +function setFormDataHeaders(headers, formHeaders, policy) { + if (policy !== 'content-only') { + headers.set(formHeaders); + return; + } + + Object.entries(formHeaders || {}).forEach(([key, val]) => { + if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) { + headers.set(key, val); + } + }); +} + +/** + * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). + * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. + * + * @param {string} str The string to encode + * + * @returns {string} UTF-8 bytes as a Latin-1 string + */ +const encodeUTF8$1 = (str) => + encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => + String.fromCharCode(parseInt(hex, 16)) + ); + +function resolveConfig(config) { + const newConfig = mergeConfig$1({}, config); + + // Read only own properties to prevent prototype pollution gadgets + // (e.g. Object.prototype.baseURL = 'https://evil.com'). + const own = (key) => (utils$1.hasOwnProp(newConfig, key) ? newConfig[key] : undefined); + + const data = own('data'); + let withXSRFToken = own('withXSRFToken'); + const xsrfHeaderName = own('xsrfHeaderName'); + const xsrfCookieName = own('xsrfCookieName'); + let headers = own('headers'); + const auth = own('auth'); + const baseURL = own('baseURL'); + const allowAbsoluteUrls = own('allowAbsoluteUrls'); + const url = own('url'); + + newConfig.headers = headers = AxiosHeaders$1.from(headers); + + newConfig.url = buildURL( + buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig), + own('params'), + own('paramsSerializer') + ); + + // HTTP basic authentication + if (auth) { + const username = utils$1.getSafeProp(auth, 'username') || ''; + const password = utils$1.getSafeProp(auth, 'password') || ''; + + try { + headers.set( + 'Authorization', + 'Basic ' + btoa(username + ':' + (password ? encodeUTF8$1(password) : '')) + ); + } catch (e) { + throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_OPTION_VALUE, config); + } + } + + if (utils$1.isFormData(data)) { + if ( + platform.hasStandardBrowserEnv || + platform.hasStandardBrowserWebWorkerEnv || + utils$1.isReactNative(data) + ) { + headers.setContentType(undefined); // browser/web worker/RN handles it + } else if (utils$1.isFunction(data.getHeaders)) { + // Node.js FormData (like form-data package) + setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy')); + } + } + + // Add xsrf header + // This is only done if running in a standard browser environment. + // Specifically not if we're in a web worker, or react-native. + + if (platform.hasStandardBrowserEnv) { + if (utils$1.isFunction(withXSRFToken)) { + withXSRFToken = withXSRFToken(newConfig); + } + + // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1) + // and misconfigurations (e.g. "false") from short-circuiting the same-origin check and leaking + // the XSRF token cross-origin. + const shouldSendXSRF = + withXSRFToken === true || (withXSRFToken == null && isURLSameOrigin(newConfig.url)); + + if (shouldSendXSRF) { + const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName); + + if (xsrfValue) { + headers.set(xsrfHeaderName, xsrfValue); + } + } + } + + return newConfig; +} + +const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; + +var xhrAdapter = isXHRAdapterSupported && + function (config) { + return new Promise(function dispatchXhrRequest(resolve, reject) { + const _config = resolveConfig(config); + let requestData = _config.data; + const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize(); + let { responseType, onUploadProgress, onDownloadProgress } = _config; + let onCanceled; + let uploadThrottled, downloadThrottled; + let flushUpload, flushDownload; + + function done() { + flushUpload && flushUpload(); // flush events + flushDownload && flushDownload(); // flush events + + _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled); + + _config.signal && _config.signal.removeEventListener('abort', onCanceled); + } + + let request = new XMLHttpRequest(); + + request.open(_config.method.toUpperCase(), _config.url, true); + + // Set the request timeout in MS + request.timeout = _config.timeout; + + function onloadend() { + if (!request) { + return; + } + // Prepare the response + const responseHeaders = AxiosHeaders$1.from( + 'getAllResponseHeaders' in request && request.getAllResponseHeaders() + ); + const responseData = + !responseType || responseType === 'text' || responseType === 'json' + ? request.responseText + : request.response; + const response = { + data: responseData, + status: request.status, + statusText: request.statusText, + headers: responseHeaders, + config, + request, + }; + + settle( + function _resolve(value) { + resolve(value); + done(); + }, + function _reject(err) { + reject(err); + done(); + }, + response + ); + + // Clean up request + request = null; + } + + if ('onloadend' in request) { + // Use onloadend if available + request.onloadend = onloadend; + } else { + // Listen for ready state to emulate onloadend + request.onreadystatechange = function handleLoad() { + if (!request || request.readyState !== 4) { + return; + } + + // The request errored out and we didn't get a response, this will be + // handled by onerror instead + // With one exception: request that using file: protocol, most browsers + // will return status as 0 even though it's a successful request + if ( + request.status === 0 && + !(request.responseURL && request.responseURL.startsWith('file:')) + ) { + return; + } + // readystate handler is calling before onerror or ontimeout handlers, + // so we should call onloadend on the next 'tick' + setTimeout(onloadend); + }; + } + + // Handle browser request cancellation (as opposed to a manual cancellation) + request.onabort = function handleAbort() { + if (!request) { + return; + } + + reject(new AxiosError$1('Request aborted', AxiosError$1.ECONNABORTED, config, request)); + done(); + + // Clean up request + request = null; + }; + + // Handle low level network errors + request.onerror = function handleError(event) { + // Browsers deliver a ProgressEvent in XHR onerror + // (message may be empty; when present, surface it) + // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event + const msg = event && event.message ? event.message : 'Network Error'; + const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request); + // attach the underlying event for consumers who want details + err.event = event || null; + reject(err); + done(); + request = null; + }; + + // Handle timeout + request.ontimeout = function handleTimeout() { + let timeoutErrorMessage = _config.timeout + ? 'timeout of ' + _config.timeout + 'ms exceeded' + : 'timeout exceeded'; + const transitional = _config.transitional || transitionalDefaults; + if (_config.timeoutErrorMessage) { + timeoutErrorMessage = _config.timeoutErrorMessage; + } + reject( + new AxiosError$1( + timeoutErrorMessage, + transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED, + config, + request + ) + ); + done(); + + // Clean up request + request = null; + }; + + // Remove Content-Type if data is undefined + requestData === undefined && requestHeaders.setContentType(null); + + // Add headers to the request + if ('setRequestHeader' in request) { + utils$1.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) { + request.setRequestHeader(key, val); + }); + } + + // Add withCredentials to request if needed + if (!utils$1.isUndefined(_config.withCredentials)) { + request.withCredentials = !!_config.withCredentials; + } + + // Add responseType to request if needed + if (responseType && responseType !== 'json') { + request.responseType = _config.responseType; + } + + // Handle progress if needed + if (onDownloadProgress) { + [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true); + request.addEventListener('progress', downloadThrottled); + } + + // Not all browsers support upload events + if (onUploadProgress && request.upload) { + [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress); + + request.upload.addEventListener('progress', uploadThrottled); + + request.upload.addEventListener('loadend', flushUpload); + } + + if (_config.cancelToken || _config.signal) { + // Handle cancellation + // eslint-disable-next-line func-names + onCanceled = (cancel) => { + if (!request) { + return; + } + reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel); + request.abort(); + done(); + request = null; + }; + + _config.cancelToken && _config.cancelToken.subscribe(onCanceled); + if (_config.signal) { + _config.signal.aborted + ? onCanceled() + : _config.signal.addEventListener('abort', onCanceled); + } + } + + const protocol = parseProtocol(_config.url); + + if (protocol && !platform.protocols.includes(protocol)) { + reject( + new AxiosError$1( + 'Unsupported protocol ' + protocol + ':', + AxiosError$1.ERR_BAD_REQUEST, + config + ) + ); + done(); + return; + } + + // Send the request + request.send(requestData || null); + }); + }; + +const composeSignals = (signals, timeout) => { + signals = signals ? signals.filter(Boolean) : []; + + if (!timeout && !signals.length) { + return; + } + + const controller = new AbortController(); + + let aborted = false; + + const onabort = function (reason) { + if (!aborted) { + aborted = true; + unsubscribe(); + const err = reason instanceof Error ? reason : this.reason; + controller.abort( + err instanceof AxiosError$1 + ? err + : new CanceledError$1(err instanceof Error ? err.message : err) + ); + } + }; + + let timer = + timeout && + setTimeout(() => { + timer = null; + onabort(new AxiosError$1(`timeout of ${timeout}ms exceeded`, AxiosError$1.ETIMEDOUT)); + }, timeout); + + const unsubscribe = () => { + if (!signals) { return; } + timer && clearTimeout(timer); + timer = null; + signals.forEach((signal) => { + signal.unsubscribe + ? signal.unsubscribe(onabort) + : signal.removeEventListener('abort', onabort); + }); + signals = null; + }; + + signals.forEach((signal) => signal.addEventListener('abort', onabort, { once: true })); + + const { signal } = controller; + + signal.unsubscribe = () => utils$1.asap(unsubscribe); + + return signal; +}; + +const streamChunk = function* (chunk, chunkSize) { + let len = chunk.byteLength; + + if (len < chunkSize) { + yield chunk; + return; + } + + let pos = 0; + let end; + + while (pos < len) { + end = pos + chunkSize; + yield chunk.slice(pos, end); + pos = end; + } +}; + +const readBytes = async function* (iterable, chunkSize) { + for await (const chunk of readStream(iterable)) { + yield* streamChunk(chunk, chunkSize); + } +}; + +const readStream = async function* (stream) { + if (stream[Symbol.asyncIterator]) { + yield* stream; + return; + } + + const reader = stream.getReader(); + try { + for (;;) { + const { done, value } = await reader.read(); + if (done) { + break; + } + yield value; + } + } finally { + await reader.cancel(); + } +}; + +const trackStream = (stream, chunkSize, onProgress, onFinish) => { + const iterator = readBytes(stream, chunkSize); + + let bytes = 0; + let done; + let _onFinish = (e) => { + if (!done) { + done = true; + onFinish && onFinish(e); + } + }; + + return new ReadableStream( + { + async pull(controller) { + try { + const { done, value } = await iterator.next(); + + if (done) { + _onFinish(); + controller.close(); + return; + } + + let len = value.byteLength; + if (onProgress) { + let loadedBytes = (bytes += len); + onProgress(loadedBytes); + } + controller.enqueue(new Uint8Array(value)); + } catch (err) { + _onFinish(err); + throw err; + } + }, + cancel(reason) { + _onFinish(reason); + return iterator.return(); + }, + }, + { + highWaterMark: 2, + } + ); +}; + +/** + * Estimate decoded byte length of a data:// URL *without* allocating large buffers. + * - For base64: compute exact decoded size using length and padding; + * handle %XX at the character-count level (no string allocation). + * - For non-base64: compute the exact percent-decoded UTF-8 byte length. + * + * @param {string} url + * @returns {number} + */ +const isHexDigit = (charCode) => + (charCode >= 48 && charCode <= 57) || + (charCode >= 65 && charCode <= 70) || + (charCode >= 97 && charCode <= 102); + +const isPercentEncodedByte = (str, i, len) => + i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2)); + +function estimateDataURLDecodedBytes(url) { + if (!url || typeof url !== 'string') return 0; + if (!url.startsWith('data:')) return 0; + + const comma = url.indexOf(','); + if (comma < 0) return 0; + + const meta = url.slice(5, comma); + const body = url.slice(comma + 1); + const isBase64 = /;base64/i.test(meta); + + if (isBase64) { + let effectiveLen = body.length; + const len = body.length; // cache length + + for (let i = 0; i < len; i++) { + if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) { + const a = body.charCodeAt(i + 1); + const b = body.charCodeAt(i + 2); + const isHex = isHexDigit(a) && isHexDigit(b); + + if (isHex) { + effectiveLen -= 2; + i += 2; + } + } + } + + let pad = 0; + let idx = len - 1; + + const tailIsPct3D = (j) => + j >= 2 && + body.charCodeAt(j - 2) === 37 && // '%' + body.charCodeAt(j - 1) === 51 && // '3' + (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd' + + if (idx >= 0) { + if (body.charCodeAt(idx) === 61 /* '=' */) { + pad++; + idx--; + } else if (tailIsPct3D(idx)) { + pad++; + idx -= 3; + } + } + + if (pad === 1 && idx >= 0) { + if (body.charCodeAt(idx) === 61 /* '=' */) { + pad++; + } else if (tailIsPct3D(idx)) { + pad++; + } + } + + const groups = Math.floor(effectiveLen / 4); + const bytes = groups * 3 - (pad || 0); + return bytes > 0 ? bytes : 0; + } + + // Compute UTF-8 byte length directly from UTF-16 code units without allocating + // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies). + // Valid %XX triplets count as one decoded byte; this matches the bytes that + // decodeURIComponent(body) would produce before Buffer re-encodes the string. + let bytes = 0; + for (let i = 0, len = body.length; i < len; i++) { + const c = body.charCodeAt(i); + if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) { + bytes += 1; + i += 2; + } else if (c < 0x80) { + bytes += 1; + } else if (c < 0x800) { + bytes += 2; + } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) { + const next = body.charCodeAt(i + 1); + if (next >= 0xdc00 && next <= 0xdfff) { + bytes += 4; + i++; + } else { + bytes += 3; + } + } else { + bytes += 3; + } + } + return bytes; +} + +const VERSION$1 = "1.18.1"; + +const DEFAULT_CHUNK_SIZE = 64 * 1024; + +const { isFunction } = utils$1; + +/** + * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). + * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. + * + * @param {string} str The string to encode + * + * @returns {string} UTF-8 bytes as a Latin-1 string + */ +const encodeUTF8 = (str) => + encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => + String.fromCharCode(parseInt(hex, 16)) + ); + +// Node's WHATWG URL parser returns `username` and `password` percent-encoded. +// Decode before composing the `auth` option so credentials such as +// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the +// original value for malformed input so a bad encoding never throws. +const decodeURIComponentSafe = (value) => { + if (!utils$1.isString(value)) { + return value; + } + + try { + return decodeURIComponent(value); + } catch (error) { + return value; + } +}; + +const test = (fn, ...args) => { + try { + return !!fn(...args); + } catch (e) { + return false; + } +}; + +const maybeWithAuthCredentials = (url) => { + const protocolIndex = url.indexOf('://'); + let urlToCheck = url; + if (protocolIndex !== -1) { + urlToCheck = urlToCheck.slice(protocolIndex + 3); + } + return urlToCheck.includes('@') || urlToCheck.includes(':'); +}; + +const factory = (env) => { + const globalObject = + utils$1.global !== undefined && utils$1.global !== null + ? utils$1.global + : globalThis; + const { ReadableStream, TextEncoder } = globalObject; + + env = utils$1.merge.call( + { + skipUndefined: true, + }, + { + Request: globalObject.Request, + Response: globalObject.Response, + }, + env + ); + + const { fetch: envFetch, Request, Response } = env; + const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function'; + const isRequestSupported = isFunction(Request); + const isResponseSupported = isFunction(Response); + + if (!isFetchSupported) { + return false; + } + + const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream); + + const encodeText = + isFetchSupported && + (typeof TextEncoder === 'function' + ? ( + (encoder) => (str) => + encoder.encode(str) + )(new TextEncoder()) + : async (str) => new Uint8Array(await new Request(str).arrayBuffer())); + + const supportsRequestStream = + isRequestSupported && + isReadableStreamSupported && + test(() => { + let duplexAccessed = false; + + const request = new Request(platform.origin, { + body: new ReadableStream(), + method: 'POST', + get duplex() { + duplexAccessed = true; + return 'half'; + }, + }); + + const hasContentType = request.headers.has('Content-Type'); + + if (request.body != null) { + request.body.cancel(); + } + + return duplexAccessed && !hasContentType; + }); + + const supportsResponseStream = + isResponseSupported && + isReadableStreamSupported && + test(() => utils$1.isReadableStream(new Response('').body)); + + const resolvers = { + stream: supportsResponseStream && ((res) => res.body), + }; + + isFetchSupported && + (() => { + ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => { + !resolvers[type] && + (resolvers[type] = (res, config) => { + let method = res && res[type]; + + if (method) { + return method.call(res); + } + + throw new AxiosError$1( + `Response type '${type}' is not supported`, + AxiosError$1.ERR_NOT_SUPPORT, + config + ); + }); + }); + })(); + + const getBodyLength = async (body) => { + if (body == null) { + return 0; + } + + if (utils$1.isBlob(body)) { + return body.size; + } + + if (utils$1.isSpecCompliantForm(body)) { + const _request = new Request(platform.origin, { + method: 'POST', + body, + }); + return (await _request.arrayBuffer()).byteLength; + } + + if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) { + return body.byteLength; + } + + if (utils$1.isURLSearchParams(body)) { + body = body + ''; + } + + if (utils$1.isString(body)) { + return (await encodeText(body)).byteLength; + } + }; + + const resolveBodyLength = async (headers, body) => { + const length = utils$1.toFiniteNumber(headers.getContentLength()); + + return length == null ? getBodyLength(body) : length; + }; + + return async (config) => { + let { + url, + method, + data, + signal, + cancelToken, + timeout, + onDownloadProgress, + onUploadProgress, + responseType, + headers, + withCredentials = 'same-origin', + fetchOptions, + maxContentLength, + maxBodyLength, + } = resolveConfig(config); + + const hasMaxContentLength = utils$1.isNumber(maxContentLength) && maxContentLength > -1; + const hasMaxBodyLength = utils$1.isNumber(maxBodyLength) && maxBodyLength > -1; + const own = (key) => (utils$1.hasOwnProp(config, key) ? config[key] : undefined); + + let _fetch = envFetch || fetch; + + responseType = responseType ? (responseType + '').toLowerCase() : 'text'; + + let composedSignal = composeSignals( + [signal, cancelToken && cancelToken.toAbortSignal()], + timeout + ); + + let request = null; + + const unsubscribe = + composedSignal && + composedSignal.unsubscribe && + (() => { + composedSignal.unsubscribe(); + }); + + let requestContentLength; + + // AxiosError we raise while the request body is being streamed. Captured + // by identity so the catch block can surface it directly, regardless of + // how the runtime wraps the resulting fetch rejection (undici exposes it + // as `err.cause`; some browsers drop the original error entirely). + let pendingBodyError = null; + + const maxBodyLengthError = () => + new AxiosError$1( + 'Request body larger than maxBodyLength limit', + AxiosError$1.ERR_BAD_REQUEST, + config, + request + ); + + try { + // HTTP basic authentication + let auth = undefined; + const configAuth = own('auth'); + + if (configAuth) { + const username = utils$1.getSafeProp(configAuth, 'username') || ''; + const password = utils$1.getSafeProp(configAuth, 'password') || ''; + auth = { + username, + password + }; + } + + if (maybeWithAuthCredentials(url)) { + const parsedURL = new URL(url, platform.origin); + + if (!auth && (parsedURL.username || parsedURL.password)) { + const urlUsername = decodeURIComponentSafe(parsedURL.username); + const urlPassword = decodeURIComponentSafe(parsedURL.password); + auth = { + username: urlUsername, + password: urlPassword + }; + } + + if (parsedURL.username || parsedURL.password) { + parsedURL.username = ''; + parsedURL.password = ''; + url = parsedURL.href; + } + } + + if (auth) { + headers.delete('authorization'); + headers.set( + 'Authorization', + 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || ''))) + ); + } + + // Enforce maxContentLength for data: URLs up-front so we never materialize + // an oversized payload. The HTTP adapter applies the same check (see http.js + // "if (protocol === 'data:')" branch). + if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) { + const estimated = estimateDataURLDecodedBytes(url); + if (estimated > maxContentLength) { + throw new AxiosError$1( + 'maxContentLength size of ' + maxContentLength + ' exceeded', + AxiosError$1.ERR_BAD_RESPONSE, + config, + request + ); + } + } + + // Enforce maxBodyLength against known-size bodies before dispatch using + // the body's *actual* size — never a caller-declared Content-Length, + // which could under-report to slip an oversized body past the check. + // Unknown-size streams return undefined here and are counted per-chunk + // below as fetch consumes them. + if (hasMaxBodyLength && method !== 'get' && method !== 'head') { + const outboundLength = await getBodyLength(data); + if (typeof outboundLength === 'number' && isFinite(outboundLength)) { + requestContentLength = outboundLength; + if (outboundLength > maxBodyLength) { + throw maxBodyLengthError(); + } + } + } + + // A streamed body under maxBodyLength must be counted as fetch consumes + // it; its size is never trusted from a caller-declared Content-Length. + const mustEnforceStreamBody = + hasMaxBodyLength && (utils$1.isReadableStream(data) || utils$1.isStream(data)); + + const trackRequestStream = (stream, onProgress, flush) => + trackStream( + stream, + DEFAULT_CHUNK_SIZE, + (loadedBytes) => { + if (hasMaxBodyLength && loadedBytes > maxBodyLength) { + throw (pendingBodyError = maxBodyLengthError()); + } + onProgress && onProgress(loadedBytes); + }, + flush + ); + + if ( + supportsRequestStream && + method !== 'get' && + method !== 'head' && + (onUploadProgress || mustEnforceStreamBody) + ) { + requestContentLength = + requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength; + + // A declared length of 0 is only trusted to skip the wrap when we are + // not enforcing a stream limit (which must not rely on that header). + if (requestContentLength !== 0 || mustEnforceStreamBody) { + let _request = new Request(url, { + method: 'POST', + body: data, + duplex: 'half', + }); + + let contentTypeHeader; + + if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) { + headers.setContentType(contentTypeHeader); + } + + if (_request.body) { + const [onProgress, flush] = + (onUploadProgress && + progressEventDecorator( + requestContentLength, + progressEventReducer(asyncDecorator(onUploadProgress)) + )) || + []; + + data = trackRequestStream(_request.body, onProgress, flush); + } + } + } else if ( + mustEnforceStreamBody && + !isRequestSupported && + isReadableStreamSupported && + method !== 'get' && + method !== 'head' + ) { + data = trackRequestStream(data); + } else if ( + mustEnforceStreamBody && + isRequestSupported && + !supportsRequestStream && + method !== 'get' && + method !== 'head' + ) { + throw new AxiosError$1( + 'Stream request bodies are not supported by the current fetch implementation', + AxiosError$1.ERR_NOT_SUPPORT, + config, + request + ); + } + + if (!utils$1.isString(withCredentials)) { + withCredentials = withCredentials ? 'include' : 'omit'; + } + + // Cloudflare Workers throws when credentials are defined + // see https://github.com/cloudflare/workerd/issues/902 + const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype; + + // If data is FormData and Content-Type is multipart/form-data without boundary, + // delete it so fetch can set it correctly with the boundary + if (utils$1.isFormData(data)) { + const contentType = headers.getContentType(); + if ( + contentType && + /^multipart\/form-data/i.test(contentType) && + !/boundary=/i.test(contentType) + ) { + headers.delete('content-type'); + } + } + + // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js) + headers.set('User-Agent', 'axios/' + VERSION$1, false); + + const resolvedOptions = { + ...fetchOptions, + signal: composedSignal, + method: method.toUpperCase(), + headers: toByteStringHeaderObject(headers.normalize()), + body: data, + duplex: 'half', + credentials: isCredentialsSupported ? withCredentials : undefined, + }; + + request = isRequestSupported && new Request(url, resolvedOptions); + + let response = await (isRequestSupported + ? _fetch(request, fetchOptions) + : _fetch(url, resolvedOptions)); + + const responseHeaders = AxiosHeaders$1.from(response.headers); + + // Cheap pre-check: if the server honestly declares a content-length that + // already exceeds the cap, reject before we start streaming. + if (hasMaxContentLength) { + const declaredLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); + if (declaredLength != null && declaredLength > maxContentLength) { + throw new AxiosError$1( + 'maxContentLength size of ' + maxContentLength + ' exceeded', + AxiosError$1.ERR_BAD_RESPONSE, + config, + request + ); + } + } + + const isStreamResponse = + supportsResponseStream && (responseType === 'stream' || responseType === 'response'); + + if ( + supportsResponseStream && + response.body && + (onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe)) + ) { + const options = {}; + + ['status', 'statusText', 'headers'].forEach((prop) => { + options[prop] = response[prop]; + }); + + const responseContentLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); + + const [onProgress, flush] = + (onDownloadProgress && + progressEventDecorator( + responseContentLength, + progressEventReducer(asyncDecorator(onDownloadProgress), true) + )) || + []; + + let bytesRead = 0; + const onChunkProgress = (loadedBytes) => { + if (hasMaxContentLength) { + bytesRead = loadedBytes; + if (bytesRead > maxContentLength) { + throw new AxiosError$1( + 'maxContentLength size of ' + maxContentLength + ' exceeded', + AxiosError$1.ERR_BAD_RESPONSE, + config, + request + ); + } + } + onProgress && onProgress(loadedBytes); + }; + + response = new Response( + trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => { + flush && flush(); + unsubscribe && unsubscribe(); + }), + options + ); + } + + responseType = responseType || 'text'; + + let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text']( + response, + config + ); + + // Fallback enforcement for environments without ReadableStream support + // (legacy runtimes). Detect materialized size from typed output; skip + // streams/Response passthrough since the user will read those themselves. + if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) { + let materializedSize; + if (responseData != null) { + if (typeof responseData.byteLength === 'number') { + materializedSize = responseData.byteLength; + } else if (typeof responseData.size === 'number') { + materializedSize = responseData.size; + } else if (typeof responseData === 'string') { + materializedSize = + typeof TextEncoder === 'function' + ? new TextEncoder().encode(responseData).byteLength + : responseData.length; + } + } + if (typeof materializedSize === 'number' && materializedSize > maxContentLength) { + throw new AxiosError$1( + 'maxContentLength size of ' + maxContentLength + ' exceeded', + AxiosError$1.ERR_BAD_RESPONSE, + config, + request + ); + } + } + + !isStreamResponse && unsubscribe && unsubscribe(); + + return await new Promise((resolve, reject) => { + settle(resolve, reject, { + data: responseData, + headers: AxiosHeaders$1.from(response.headers), + status: response.status, + statusText: response.statusText, + config, + request, + }); + }); + } catch (err) { + unsubscribe && unsubscribe(); + + // Safari can surface fetch aborts as a DOMException-like object whose + // branded getters throw. Prefer our composed signal reason before reading + // the caught error, preserving timeout vs cancellation semantics. + if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError$1) { + const canceledError = composedSignal.reason; + canceledError.config = config; + request && (canceledError.request = request); + if (err !== canceledError) { + // Non-enumerable to match native Error `cause` semantics so loggers + // don't recurse into circular fetch internals (see #7205). + Object.defineProperty(canceledError, 'cause', { + __proto__: null, + value: err, + writable: true, + enumerable: false, + configurable: true, + }); + } + throw canceledError; + } + + // Surface a maxBodyLength violation we raised while the request body was + // being streamed. Matching by identity (rather than reading + // `err.cause.isAxiosError`) keeps the error deterministic across runtimes + // and avoids both prototype-pollution reads and mis-attributing a foreign + // AxiosError that merely happened to land in `err.cause`. + if (pendingBodyError) { + request && !pendingBodyError.request && (pendingBodyError.request = request); + throw pendingBodyError; + } + + // Re-throw AxiosErrors we raised synchronously (data: URL / content-length + // pre-checks, response size enforcement) without re-wrapping them. + if (err instanceof AxiosError$1) { + request && !err.request && (err.request = request); + throw err; + } + + if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) { + const networkError = new AxiosError$1( + 'Network Error', + AxiosError$1.ERR_NETWORK, + config, + request, + err && err.response + ); + // Non-enumerable to match native Error `cause` semantics so loggers + // don't recurse into circular fetch internals (see #7205). + Object.defineProperty(networkError, 'cause', { + __proto__: null, + value: err.cause || err, + writable: true, + enumerable: false, + configurable: true, + }); + throw networkError; + } + + throw AxiosError$1.from(err, err && err.code, config, request, err && err.response); + } + }; +}; + +const seedCache = new Map(); + +const getFetch = (config) => { + let env = (config && config.env) || {}; + const { fetch, Request, Response } = env; + const seeds = [Request, Response, fetch]; + + let len = seeds.length, + i = len, + seed, + target, + map = seedCache; + + while (i--) { + seed = seeds[i]; + target = map.get(seed); + + target === undefined && map.set(seed, (target = i ? new Map() : factory(env))); + + map = target; + } + + return target; +}; + +getFetch(); + +/** + * Known adapters mapping. + * Provides environment-specific adapters for Axios: + * - `http` for Node.js + * - `xhr` for browsers + * - `fetch` for fetch API-based requests + * + * @type {Object} + */ +const knownAdapters = { + http: httpAdapter, + xhr: xhrAdapter, + fetch: { + get: getFetch, + }, +}; + +// Assign adapter names for easier debugging and identification +utils$1.forEach(knownAdapters, (fn, value) => { + if (fn) { + try { + // Null-proto descriptors so a polluted Object.prototype.get cannot turn + // these data descriptors into accessor descriptors on the way in. + Object.defineProperty(fn, 'name', { __proto__: null, value }); + } catch (e) { + // eslint-disable-next-line no-empty + } + Object.defineProperty(fn, 'adapterName', { __proto__: null, value }); + } +}); + +/** + * Render a rejection reason string for unknown or unsupported adapters + * + * @param {string} reason + * @returns {string} + */ +const renderReason = (reason) => `- ${reason}`; + +/** + * Check if the adapter is resolved (function, null, or false) + * + * @param {Function|null|false} adapter + * @returns {boolean} + */ +const isResolvedHandle = (adapter) => + utils$1.isFunction(adapter) || adapter === null || adapter === false; + +/** + * Get the first suitable adapter from the provided list. + * Tries each adapter in order until a supported one is found. + * Throws an AxiosError if no adapter is suitable. + * + * @param {Array|string|Function} adapters - Adapter(s) by name or function. + * @param {Object} config - Axios request configuration + * @throws {AxiosError} If no suitable adapter is available + * @returns {Function} The resolved adapter function + */ +function getAdapter$1(adapters, config) { + adapters = utils$1.isArray(adapters) ? adapters : [adapters]; + + const { length } = adapters; + let nameOrAdapter; + let adapter; + + const rejectedReasons = {}; + + for (let i = 0; i < length; i++) { + nameOrAdapter = adapters[i]; + let id; + + adapter = nameOrAdapter; + + if (!isResolvedHandle(nameOrAdapter)) { + adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()]; + + if (adapter === undefined) { + throw new AxiosError$1(`Unknown adapter '${id}'`); + } + } + + if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) { + break; + } + + rejectedReasons[id || '#' + i] = adapter; + } + + if (!adapter) { + const reasons = Object.entries(rejectedReasons).map( + ([id, state]) => + `adapter ${id} ` + + (state === false ? 'is not supported by the environment' : 'is not available in the build') + ); + + let s = length + ? reasons.length > 1 + ? 'since :\n' + reasons.map(renderReason).join('\n') + : ' ' + renderReason(reasons[0]) + : 'as no adapter specified'; + + throw new AxiosError$1( + `There is no suitable adapter to dispatch the request ` + s, + AxiosError$1.ERR_NOT_SUPPORT + ); + } + + return adapter; +} + +/** + * Exports Axios adapters and utility to resolve an adapter + */ +var adapters = { + /** + * Resolve an adapter from a list of adapter names or functions. + * @type {Function} + */ + getAdapter: getAdapter$1, + + /** + * Exposes all known adapters + * @type {Object} + */ + adapters: knownAdapters, +}; + +/** + * Throws a `CanceledError` if cancellation has been requested. + * + * @param {Object} config The config that is to be used for the request + * + * @returns {void} + */ +function throwIfCancellationRequested(config) { + if (config.cancelToken) { + config.cancelToken.throwIfRequested(); + } + + if (config.signal && config.signal.aborted) { + throw new CanceledError$1(null, config); + } +} + +/** + * Dispatch a request to the server using the configured adapter. + * + * @param {object} config The config that is to be used for the request + * + * @returns {Promise} The Promise to be fulfilled + */ +function dispatchRequest(config) { + throwIfCancellationRequested(config); + + config.headers = AxiosHeaders$1.from(config.headers); + + // Transform request data + config.data = transformData.call(config, config.transformRequest); + + if (['post', 'put', 'patch'].indexOf(config.method) !== -1) { + config.headers.setContentType('application/x-www-form-urlencoded', false); + } + + const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config); + + return adapter(config).then( + function onAdapterResolution(response) { + throwIfCancellationRequested(config); + + // Expose the current response on config so that transformResponse can + // attach it to any AxiosError it throws (e.g. on JSON parse failure). + // We clean it up afterwards to avoid polluting the config object. + config.response = response; + try { + response.data = transformData.call(config, config.transformResponse, response); + } finally { + delete config.response; + } + + response.headers = AxiosHeaders$1.from(response.headers); + + return response; + }, + function onAdapterRejection(reason) { + if (!isCancel$1(reason)) { + throwIfCancellationRequested(config); + + // Transform response data + if (reason && reason.response) { + config.response = reason.response; + try { + reason.response.data = transformData.call( + config, + config.transformResponse, + reason.response + ); + } finally { + delete config.response; + } + reason.response.headers = AxiosHeaders$1.from(reason.response.headers); + } + } + + return Promise.reject(reason); + } + ); +} + +const validators$1 = {}; + +// eslint-disable-next-line func-names +['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => { + validators$1[type] = function validator(thing) { + return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type; + }; +}); + +const deprecatedWarnings = {}; + +/** + * Transitional option validator + * + * @param {function|boolean?} validator - set to false if the transitional option has been removed + * @param {string?} version - deprecated version / removed since version + * @param {string?} message - some message with additional info + * + * @returns {function} + */ +validators$1.transitional = function transitional(validator, version, message) { + function formatMessage(opt, desc) { + return ( + '[Axios v' + + VERSION$1 + + "] Transitional option '" + + opt + + "'" + + desc + + (message ? '. ' + message : '') + ); + } + + // eslint-disable-next-line func-names + return (value, opt, opts) => { + if (validator === false) { + throw new AxiosError$1( + formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), + AxiosError$1.ERR_DEPRECATED + ); + } + + if (version && !deprecatedWarnings[opt]) { + deprecatedWarnings[opt] = true; + // eslint-disable-next-line no-console + console.warn( + formatMessage( + opt, + ' has been deprecated since v' + version + ' and will be removed in the near future' + ) + ); + } + + return validator ? validator(value, opt, opts) : true; + }; +}; + +validators$1.spelling = function spelling(correctSpelling) { + return (value, opt) => { + // eslint-disable-next-line no-console + console.warn(`${opt} is likely a misspelling of ${correctSpelling}`); + return true; + }; +}; + +/** + * Assert object's properties type + * + * @param {object} options + * @param {object} schema + * @param {boolean?} allowUnknown + * + * @returns {object} + */ + +function assertOptions(options, schema, allowUnknown) { + if (typeof options !== 'object' || options === null) { + throw new AxiosError$1('options must be an object', AxiosError$1.ERR_BAD_OPTION_VALUE); + } + const keys = Object.keys(options); + let i = keys.length; + while (i-- > 0) { + const opt = keys[i]; + // Use hasOwnProperty so a polluted Object.prototype. cannot supply + // a non-function validator and cause a TypeError. + const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined; + if (validator) { + const value = options[opt]; + const result = value === undefined || validator(value, opt, options); + if (result !== true) { + throw new AxiosError$1( + 'option ' + opt + ' must be ' + result, + AxiosError$1.ERR_BAD_OPTION_VALUE + ); + } + continue; + } + if (allowUnknown !== true) { + throw new AxiosError$1('Unknown option ' + opt, AxiosError$1.ERR_BAD_OPTION); + } + } +} + +var validator = { + assertOptions, + validators: validators$1, +}; + +const validators = validator.validators; + +/** + * Create a new instance of Axios + * + * @param {Object} instanceConfig The default config for the instance + * + * @return {Axios} A new instance of Axios + */ +let Axios$1 = class Axios { + constructor(instanceConfig) { + this.defaults = instanceConfig || {}; + this.interceptors = { + request: new InterceptorManager(), + response: new InterceptorManager(), + }; + } + + /** + * Dispatch a request + * + * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) + * @param {?Object} config + * + * @returns {Promise} The Promise to be fulfilled + */ + async request(configOrUrl, config) { + try { + return await this._request(configOrUrl, config); + } catch (err) { + if (err instanceof Error) { + let dummy = {}; + + Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error()); + + // slice off the Error: ... line + const stack = (() => { + if (!dummy.stack) { + return ''; + } + + const firstNewlineIndex = dummy.stack.indexOf('\n'); + + return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1); + })(); + try { + if (!err.stack) { + err.stack = stack; + // match without the 2 top stack lines + } else if (stack) { + const firstNewlineIndex = stack.indexOf('\n'); + const secondNewlineIndex = + firstNewlineIndex === -1 ? -1 : stack.indexOf('\n', firstNewlineIndex + 1); + const stackWithoutTwoTopLines = + secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1); + + if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) { + err.stack += '\n' + stack; + } + } + } catch (e) { + // ignore the case where "stack" is an un-writable property + } + } + + throw err; + } + } + + _request(configOrUrl, config) { + /*eslint no-param-reassign:0*/ + // Allow for axios('example/url'[, config]) a la fetch API + if (typeof configOrUrl === 'string') { + config = config || {}; + config.url = configOrUrl; + } else { + config = configOrUrl || {}; + } + + config = mergeConfig$1(this.defaults, config); + + const { transitional, paramsSerializer, headers } = config; + + if (transitional !== undefined) { + validator.assertOptions( + transitional, + { + silentJSONParsing: validators.transitional(validators.boolean), + forcedJSONParsing: validators.transitional(validators.boolean), + clarifyTimeoutError: validators.transitional(validators.boolean), + legacyInterceptorReqResOrdering: validators.transitional(validators.boolean), + advertiseZstdAcceptEncoding: validators.transitional(validators.boolean), + validateStatusUndefinedResolves: validators.transitional(validators.boolean), + }, + false + ); + } + + if (paramsSerializer != null) { + if (utils$1.isFunction(paramsSerializer)) { + config.paramsSerializer = { + serialize: paramsSerializer, + }; + } else { + validator.assertOptions( + paramsSerializer, + { + encode: validators.function, + serialize: validators.function, + }, + true + ); + } + } + + // Set config.allowAbsoluteUrls + if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) { + config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls; + } else { + config.allowAbsoluteUrls = true; + } + + validator.assertOptions( + config, + { + baseUrl: validators.spelling('baseURL'), + withXsrfToken: validators.spelling('withXSRFToken'), + }, + true + ); + + // Set config.method + config.method = (config.method || this.defaults.method || 'get').toLowerCase(); + + // Flatten headers + let contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]); + + headers && + utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => { + delete headers[method]; + }); + + config.headers = AxiosHeaders$1.concat(contextHeaders, headers); + + // filter out skipped interceptors + const requestInterceptorChain = []; + let synchronousRequestInterceptors = true; + this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) { + if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) { + return; + } + + synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous; + + const transitional = config.transitional || transitionalDefaults; + const legacyInterceptorReqResOrdering = + transitional && transitional.legacyInterceptorReqResOrdering; + + if (legacyInterceptorReqResOrdering) { + requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected); + } else { + requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); + } + }); + + const responseInterceptorChain = []; + this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) { + responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); + }); + + let promise; + let i = 0; + let len; + + if (!synchronousRequestInterceptors) { + const chain = [dispatchRequest.bind(this), undefined]; + chain.unshift(...requestInterceptorChain); + chain.push(...responseInterceptorChain); + len = chain.length; + + promise = Promise.resolve(config); + + while (i < len) { + promise = promise.then(chain[i++], chain[i++]); + } + + return promise; + } + + len = requestInterceptorChain.length; + + let newConfig = config; + + while (i < len) { + const onFulfilled = requestInterceptorChain[i++]; + const onRejected = requestInterceptorChain[i++]; + try { + newConfig = onFulfilled(newConfig); + } catch (error) { + onRejected.call(this, error); + break; + } + } + + try { + promise = dispatchRequest.call(this, newConfig); + } catch (error) { + return Promise.reject(error); + } + + i = 0; + len = responseInterceptorChain.length; + + while (i < len) { + promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); + } + + return promise; + } + + getUri(config) { + config = mergeConfig$1(this.defaults, config); + const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config); + return buildURL(fullPath, config.params, config.paramsSerializer); + } +}; + +// Provide aliases for supported request methods +utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) { + /*eslint func-names:0*/ + Axios$1.prototype[method] = function (url, config) { + return this.request( + mergeConfig$1(config || {}, { + method, + url, + data: config && utils$1.hasOwnProp(config, 'data') ? config.data : undefined, + }) + ); + }; +}); + +utils$1.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) { + function generateHTTPMethod(isForm) { + return function httpMethod(url, data, config) { + return this.request( + mergeConfig$1(config || {}, { + method, + headers: isForm + ? { + 'Content-Type': 'multipart/form-data', + } + : {}, + url, + data, + }) + ); + }; + } + + Axios$1.prototype[method] = generateHTTPMethod(); + + // QUERY is a safe/idempotent read method; multipart form bodies don't fit + // its semantics, so no queryForm shorthand is generated. + if (method !== 'query') { + Axios$1.prototype[method + 'Form'] = generateHTTPMethod(true); + } +}); + +/** + * A `CancelToken` is an object that can be used to request cancellation of an operation. + * + * @param {Function} executor The executor function. + * + * @returns {CancelToken} + */ +let CancelToken$1 = class CancelToken { + constructor(executor) { + if (typeof executor !== 'function') { + throw new TypeError('executor must be a function.'); + } + + let resolvePromise; + + this.promise = new Promise(function promiseExecutor(resolve) { + resolvePromise = resolve; + }); + + const token = this; + + // eslint-disable-next-line func-names + this.promise.then((cancel) => { + if (!token._listeners) return; + + let i = token._listeners.length; + + while (i-- > 0) { + token._listeners[i](cancel); + } + token._listeners = null; + }); + + // eslint-disable-next-line func-names + this.promise.then = (onfulfilled) => { + let _resolve; + // eslint-disable-next-line func-names + const promise = new Promise((resolve) => { + token.subscribe(resolve); + _resolve = resolve; + }).then(onfulfilled); + + promise.cancel = function reject() { + token.unsubscribe(_resolve); + }; + + return promise; + }; + + executor(function cancel(message, config, request) { + if (token.reason) { + // Cancellation has already been requested + return; + } + + token.reason = new CanceledError$1(message, config, request); + resolvePromise(token.reason); + }); + } + + /** + * Throws a `CanceledError` if cancellation has been requested. + */ + throwIfRequested() { + if (this.reason) { + throw this.reason; + } + } + + /** + * Subscribe to the cancel signal + */ + + subscribe(listener) { + if (this.reason) { + listener(this.reason); + return; + } + + if (this._listeners) { + this._listeners.push(listener); + } else { + this._listeners = [listener]; + } + } + + /** + * Unsubscribe from the cancel signal + */ + + unsubscribe(listener) { + if (!this._listeners) { + return; + } + const index = this._listeners.indexOf(listener); + if (index !== -1) { + this._listeners.splice(index, 1); + } + } + + toAbortSignal() { + const controller = new AbortController(); + + const abort = (err) => { + controller.abort(err); + }; + + this.subscribe(abort); + + controller.signal.unsubscribe = () => this.unsubscribe(abort); + + return controller.signal; + } + + /** + * Returns an object that contains a new `CancelToken` and a function that, when called, + * cancels the `CancelToken`. + */ + static source() { + let cancel; + const token = new CancelToken(function executor(c) { + cancel = c; + }); + return { + token, + cancel, + }; + } +}; + +/** + * Syntactic sugar for invoking a function and expanding an array for arguments. + * + * Common use case would be to use `Function.prototype.apply`. + * + * ```js + * function f(x, y, z) {} + * const args = [1, 2, 3]; + * f.apply(null, args); + * ``` + * + * With `spread` this example can be re-written. + * + * ```js + * spread(function(x, y, z) {})([1, 2, 3]); + * ``` + * + * @param {Function} callback + * + * @returns {Function} + */ +function spread$1(callback) { + return function wrap(arr) { + return callback.apply(null, arr); + }; +} + +/** + * Determines whether the payload is an error thrown by Axios + * + * @param {*} payload The value to test + * + * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false + */ +function isAxiosError$1(payload) { + return utils$1.isObject(payload) && payload.isAxiosError === true; +} + +const HttpStatusCode$1 = { + Continue: 100, + SwitchingProtocols: 101, + Processing: 102, + EarlyHints: 103, + Ok: 200, + Created: 201, + Accepted: 202, + NonAuthoritativeInformation: 203, + NoContent: 204, + ResetContent: 205, + PartialContent: 206, + MultiStatus: 207, + AlreadyReported: 208, + ImUsed: 226, + MultipleChoices: 300, + MovedPermanently: 301, + Found: 302, + SeeOther: 303, + NotModified: 304, + UseProxy: 305, + Unused: 306, + TemporaryRedirect: 307, + PermanentRedirect: 308, + BadRequest: 400, + Unauthorized: 401, + PaymentRequired: 402, + Forbidden: 403, + NotFound: 404, + MethodNotAllowed: 405, + NotAcceptable: 406, + ProxyAuthenticationRequired: 407, + RequestTimeout: 408, + Conflict: 409, + Gone: 410, + LengthRequired: 411, + PreconditionFailed: 412, + PayloadTooLarge: 413, + UriTooLong: 414, + UnsupportedMediaType: 415, + RangeNotSatisfiable: 416, + ExpectationFailed: 417, + ImATeapot: 418, + MisdirectedRequest: 421, + UnprocessableEntity: 422, + Locked: 423, + FailedDependency: 424, + TooEarly: 425, + UpgradeRequired: 426, + PreconditionRequired: 428, + TooManyRequests: 429, + RequestHeaderFieldsTooLarge: 431, + UnavailableForLegalReasons: 451, + InternalServerError: 500, + NotImplemented: 501, + BadGateway: 502, + ServiceUnavailable: 503, + GatewayTimeout: 504, + HttpVersionNotSupported: 505, + VariantAlsoNegotiates: 506, + InsufficientStorage: 507, + LoopDetected: 508, + NotExtended: 510, + NetworkAuthenticationRequired: 511, + WebServerIsDown: 521, + ConnectionTimedOut: 522, + OriginIsUnreachable: 523, + TimeoutOccurred: 524, + SslHandshakeFailed: 525, + InvalidSslCertificate: 526, +}; + +Object.entries(HttpStatusCode$1).forEach(([key, value]) => { + HttpStatusCode$1[value] = key; +}); + +/** + * Create an instance of Axios + * + * @param {Object} defaultConfig The default config for the instance + * + * @returns {Axios} A new instance of Axios + */ +function createInstance(defaultConfig) { + const context = new Axios$1(defaultConfig); + const instance = bind(Axios$1.prototype.request, context); + + // Copy axios.prototype to instance + utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true }); + + // Copy context to instance + utils$1.extend(instance, context, null, { allOwnKeys: true }); + + // Factory for creating new instances + instance.create = function create(instanceConfig) { + return createInstance(mergeConfig$1(defaultConfig, instanceConfig)); + }; + + return instance; +} + +// Create the default instance to be exported +const axios = createInstance(defaults); + +// Expose Axios class to allow class inheritance +axios.Axios = Axios$1; + +// Expose Cancel & CancelToken +axios.CanceledError = CanceledError$1; +axios.CancelToken = CancelToken$1; +axios.isCancel = isCancel$1; +axios.VERSION = VERSION$1; +axios.toFormData = toFormData$1; + +// Expose AxiosError class +axios.AxiosError = AxiosError$1; + +// alias for CanceledError for backward compatibility +axios.Cancel = axios.CanceledError; + +// Expose all/spread +axios.all = function all(promises) { + return Promise.all(promises); +}; + +axios.spread = spread$1; + +// Expose isAxiosError +axios.isAxiosError = isAxiosError$1; + +// Expose mergeConfig +axios.mergeConfig = mergeConfig$1; + +axios.AxiosHeaders = AxiosHeaders$1; + +axios.formToJSON = (thing) => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing); + +axios.getAdapter = adapters.getAdapter; + +axios.HttpStatusCode = HttpStatusCode$1; + +axios.default = axios; + +// This module is intended to unwrap Axios default export as named. +// Keep top-level export same with static properties +// so that it can keep same with es module or cjs +const { + Axios, + AxiosError, + CanceledError, + isCancel, + CancelToken, + VERSION, + all, + Cancel, + isAxiosError, + spread, + toFormData, + AxiosHeaders, + HttpStatusCode, + formToJSON, + getAdapter, + mergeConfig, + create, +} = axios; + +export { Axios, AxiosError, AxiosHeaders, Cancel, CancelToken, CanceledError, HttpStatusCode, VERSION, all, create, axios as default, formToJSON, getAdapter, isAxiosError, isCancel, mergeConfig, spread, toFormData }; +//# sourceMappingURL=axios.js.map diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js new file mode 100644 index 0000000..247e182 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js @@ -0,0 +1,3 @@ +/*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */ +function e(e,t){return function(){return e.apply(t,arguments)}}const{toString:t}=Object.prototype,{getPrototypeOf:n}=Object,{iterator:r,toStringTag:o}=Symbol,s=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),i=(e,t)=>{let r=e;const o=[];for(;null!=r&&r!==Object.prototype;){if(-1!==o.indexOf(r))return!1;if(o.push(r),s(r,t))return!0;r=n(r)}return!1},a=(c=Object.create(null),e=>{const n=t.call(e);return c[n]||(c[n]=n.slice(8,-1).toLowerCase())});var c;const l=e=>(e=e.toLowerCase(),t=>a(t)===e),u=e=>t=>typeof t===e,{isArray:f}=Array,d=u("undefined");function p(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(e.constructor)&&b(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const h=l("ArrayBuffer");const m=u("string"),b=u("function"),g=u("number"),y=e=>null!==e&&"object"==typeof e,w=e=>{if(!y(e))return!1;const t=n(e);return!(null!==t&&t!==Object.prototype&&null!==n(t)||i(e,o)||i(e,r))},E=l("Date"),O=l("File"),R=l("Blob"),S=l("FileList");const _="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},A=void 0!==_.FormData?_.FormData:void 0,v=l("URLSearchParams"),[T,P,C,N]=["ReadableStream","Request","Response","Headers"].map(l);function x(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),f(e))for(r=0,o=e.length;r0;)if(r=n[o],t===r.toLowerCase())return r;return null}const U="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,D=e=>!d(e)&&e!==U;const L=(F="undefined"!=typeof Uint8Array&&n(Uint8Array),e=>F&&e instanceof F);var F;const B=l("HTMLFormElement"),{propertyIsEnumerable:k}=Object.prototype,q=l("RegExp"),I=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};x(n,(n,o)=>{let s;!1!==(s=t(n,o,e))&&(r[o]=s||n)}),Object.defineProperties(e,r)};const M=l("AsyncFunction"),z=(H="function"==typeof setImmediate,J=b(U.postMessage),H?setImmediate:J?(W=`axios@${Math.random()}`,V=[],U.addEventListener("message",({source:e,data:t})=>{e===U&&t===W&&V.length&&V.shift()()},!1),e=>{V.push(e),U.postMessage(W,"*")}):e=>setTimeout(e));var H,J,W,V;const $="undefined"!=typeof queueMicrotask?queueMicrotask.bind(U):"undefined"!=typeof process&&process.nextTick||z,K=e=>null!=e&&b(e[r]);var X={isArray:f,isArrayBuffer:h,isBuffer:p,isFormData:e=>{if(!e)return!1;if(A&&e instanceof A)return!0;const t=n(e);if(!t||t===Object.prototype)return!1;if(!b(e.append))return!1;const r=a(e);return"formdata"===r||"object"===r&&b(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer),t},isString:m,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:y,isPlainObject:w,isEmptyObject:e=>{if(!y(e)||p(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:T,isRequest:P,isResponse:C,isHeaders:N,isUndefined:d,isDate:E,isFile:O,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:R,isRegExp:q,isFunction:b,isStream:e=>y(e)&&b(e.pipe),isURLSearchParams:v,isTypedArray:L,isFileList:S,forEach:x,merge:function e(...t){const{caseless:n,skipUndefined:r}=D(this)&&this||{},o={},i=(t,i)=>{if("__proto__"===i||"constructor"===i||"prototype"===i)return;const a=n&&"string"==typeof i&&j(o,i)||i,c=s(o,a)?o[a]:void 0;w(c)&&w(t)?o[a]=e(c,t):w(t)?o[a]=e({},t):f(t)?o[a]=t.slice():r&&d(t)||(o[a]=t)};for(let e=0,n=t.length;e(x(n,(n,o)=>{r&&b(n)?Object.defineProperty(t,o,{__proto__:null,value:e(n,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,o,{__proto__:null,value:n,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:o}),t),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,r,o)=>{let s,i,a;const c={};if(t=t||{},null==e)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)a=s[i],o&&!o(a,e,t)||c[a]||(t[a]=e[a],c[a]=!0);e=!1!==r&&n(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:l,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(f(e))return e;let t=e.length;if(!g(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[r]).call(e);let o;for(;(o=n.next())&&!o.done;){const n=o.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:B,hasOwnProperty:s,hasOwnProp:s,hasOwnInPrototypeChain:i,getSafeProp:(e,t)=>null!=e&&i(e,t)?e[t]:void 0,reduceDescriptors:I,freezeMethods:e=>{I(e,(t,n)=>{if(b(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];b(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return f(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:j,global:U,isContextDefined:D,isSpecCompliantForm:function(e){return!!(e&&b(e.append)&&"FormData"===e[o]&&e[r])},toJSONObject:e=>{const t=new WeakSet,n=e=>{if(y(e)){if(t.has(e))return;if(p(e))return e;if(!("toJSON"in e)){t.add(e);const r=f(e)?[]:{};return x(e,(e,t)=>{const o=n(e);!d(o)&&(r[t]=o)}),t.delete(e),r}}return e};return n(e)},isAsyncFn:M,isThenable:e=>e&&(y(e)||b(e))&&b(e.then)&&b(e.catch),setImmediate:z,asap:$,isIterable:K,isSafeIterable:e=>null!=e&&i(e,r)&&K(e)};const G=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Q=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Z=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Y(e,t){return X.isArray(e)?e.map(e=>Y(e,t)):function(e){let t=0,n=e.length;for(;tt;){const t=e.charCodeAt(n-1);if(9!==t&&32!==t)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}(String(e).replace(t,""))}function ee(e){const t=Object.create(null);return X.forEach(e.toJSON(),(e,n)=>{t[n]=(e=>Y(e,Z))(e)}),t}const te=Symbol("internals");function ne(e){return e&&String(e).trim().toLowerCase()}function re(e){return!1===e||null==e?e:X.isArray(e)?e.map(re):(e=>Y(e,Q))(String(e))}function oe(e,t,n,r,o){return X.isFunction(r)?r.call(this,t,n):(o&&(t=n),X.isString(t)?X.isString(r)?-1!==t.indexOf(r):X.isRegExp(r)?r.test(t):void 0:void 0)}let se=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=ne(t);if(!o)return;const s=X.findKey(r,o);(!s||void 0===r[s]||!0===n||void 0===n&&!1!==r[s])&&(r[s||t]=re(e))}const s=(e,t)=>X.forEach(e,(e,n)=>o(e,n,t));if(X.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(X.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))s((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&G[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(X.isObject(e)&&X.isSafeIterable(e)){let n,r,o=Object.create(null);for(const t of e){if(!X.isArray(t))throw new TypeError("Object iterator must return a key-value pair");r=t[0],X.hasOwnProp(o,r)?(n=o[r],o[r]=X.isArray(n)?[...n,t[1]]:[n,t[1]]):o[r]=t[1]}s(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=ne(e)){const n=X.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(X.isFunction(t))return t.call(this,e,n);if(X.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ne(e)){const n=X.findKey(this,e);return!(!n||void 0===this[n]||t&&!oe(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=ne(e)){const o=X.findKey(n,e);!o||t&&!oe(0,n[o],o,t)||(delete n[o],r=!0)}}return X.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!oe(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return X.forEach(this,(r,o)=>{const s=X.findKey(n,o);if(s)return t[s]=re(r),void delete t[o];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();i!==o&&delete t[o],t[i]=re(r),n[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return X.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&X.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[te]=this[te]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=ne(e);t[r]||(!function(e,t){const n=X.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return X.isArray(e)?e.forEach(r):r(e),this}};se.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.reduceDescriptors(se.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),X.freezeMethods(se);function ie(e,t){const n=new Set(t.map(e=>String(e).toLowerCase())),r=[],o=e=>{if(null===e||"object"!=typeof e)return e;if(X.isBuffer(e))return e;if(-1!==r.indexOf(e))return;let t;if(e instanceof se&&(e=e.toJSON()),r.push(e),X.isArray(e))t=[],e.forEach((e,n)=>{const r=o(e);X.isUndefined(r)||(t[n]=r)});else{if(!X.isPlainObject(e)&&function(e){if(X.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(X.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return r.pop(),e;t=Object.create(null);for(const[r,s]of Object.entries(e)){const e=n.has(r.toLowerCase())?"[REDACTED ****]":o(s);X.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return o(e)}let ae=class e extends Error{static from(t,n,r,o,s,i){const a=new e(t.message,n||t.code,r,o,s);return Object.defineProperty(a,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),a.name=t.name,null!=t.status&&null==a.status&&(a.status=t.status),i&&Object.assign(a,i),a}constructor(e,t,n,r,o){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){const e=this.config,t=e&&X.hasOwnProp(e,"redact")?e.redact:void 0,n=X.isArray(t)&&t.length>0?ie(e,t):X.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};ae.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",ae.ERR_BAD_OPTION="ERR_BAD_OPTION",ae.ECONNABORTED="ECONNABORTED",ae.ETIMEDOUT="ETIMEDOUT",ae.ECONNREFUSED="ECONNREFUSED",ae.ERR_NETWORK="ERR_NETWORK",ae.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",ae.ERR_DEPRECATED="ERR_DEPRECATED",ae.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",ae.ERR_BAD_REQUEST="ERR_BAD_REQUEST",ae.ERR_CANCELED="ERR_CANCELED",ae.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",ae.ERR_INVALID_URL="ERR_INVALID_URL",ae.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";function ce(e){return X.isPlainObject(e)||X.isArray(e)}function le(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function ue(e,t,n){return e?e.concat(t).map(function(e,t){return e=le(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const fe=X.toFlatObject(X,{},null,function(e){return/^is[A-Z]/.test(e)});function de(e,t,n){if(!X.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=X.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!X.isUndefined(t[e])})).metaTokens,o=n.visitor||p,s=n.dots,i=n.indexes,a=n.Blob||"undefined"!=typeof Blob&&Blob,c=void 0===n.maxDepth?100:n.maxDepth,l=a&&X.isSpecCompliantForm(t),u=[];if(!X.isFunction(o))throw new TypeError("visitor must be a function");function f(e){if(null===e)return"";if(X.isDate(e))return e.toISOString();if(X.isBoolean(e))return e.toString();if(!l&&X.isBlob(e))throw new ae("Blob is not supported. Use a Buffer instead.");if(X.isArrayBuffer(e)||X.isTypedArray(e)){if(l&&"function"==typeof a)return new a([e]);if("undefined"!=typeof Buffer)return Buffer.from(e);throw new ae("Blob is not supported. Use a Buffer instead.",ae.ERR_NOT_SUPPORT)}return e}function d(e){if(e>c)throw new ae("Object is too deeply nested ("+e+" levels). Max depth: "+c,ae.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,n,o){let a=e;if(X.isReactNative(t)&&X.isReactNativeBlob(e))return t.append(ue(o,n,s),f(e)),!1;if(e&&!o&&"object"==typeof e)if(X.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=function(e,t){if(c===1/0)return JSON.stringify(e);const n=[];return JSON.stringify(e,function(e,r){if(!X.isObject(r))return r;for(;n.length&&n[n.length-1]!==this;)n.pop();return n.push(r),d(t+n.length-1),r})}(e,1);else if(X.isArray(e)&&function(e){return X.isArray(e)&&!e.some(ce)}(e)||(X.isFileList(e)||X.endsWith(n,"[]"))&&(a=X.toArray(e)))return n=le(n),a.forEach(function(e,r){!X.isUndefined(e)&&null!==e&&t.append(!0===i?ue([n],r,s):null===i?n:n+"[]",f(e))}),!1;return!!ce(e)||(t.append(ue(o,n,s),f(e)),!1)}const h=Object.assign(fe,{defaultVisitor:p,convertValue:f,isVisitable:ce});if(!X.isObject(e))throw new TypeError("data must be an object");return function e(n,r,s=0){if(!X.isUndefined(n)){if(d(s),-1!==u.indexOf(n))throw new Error("Circular reference detected in "+r.join("."));u.push(n),X.forEach(n,function(n,i){!0===(!(X.isUndefined(n)||null===n)&&o.call(t,n,X.isString(i)?i.trim():i,r,h))&&e(n,r?r.concat(i):[i],s+1)}),u.pop()}}(e),t}function pe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function he(e,t){this._pairs=[],e&&de(e,this,t)}const me=he.prototype;function be(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ge(e,t,n){if(!t)return e;e=e||"";const r=X.isFunction(n)?{serialize:n}:n,o=X.getSafeProp(r,"encode")||be,s=X.getSafeProp(r,"serialize");let i;if(i=s?s(t,r):X.isURLSearchParams(t)?t.toString():new he(t,r).toString(o),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}me.append=function(e,t){this._pairs.push([e,t])},me.toString=function(e){const t=e?t=>e.call(this,t,pe):pe;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ye{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){X.forEach(this.handlers,function(t){null!==t&&e(t)})}}var we={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Ee={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:he,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Oe="undefined"!=typeof window&&"undefined"!=typeof document,Re="object"==typeof navigator&&navigator||void 0,Se=Oe&&(!Re||["ReactNative","NativeScript","NS"].indexOf(Re.product)<0),_e="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ae=Oe&&window.location.href||"http://localhost";var ve={...Object.freeze({__proto__:null,hasBrowserEnv:Oe,hasStandardBrowserEnv:Se,hasStandardBrowserWebWorkerEnv:_e,navigator:Re,origin:Ae}),...Ee};function Te(e){if(e>100)throw new ae("FormData field is too deeply nested ("+e+" levels). Max depth: 100",ae.ERR_FORM_DATA_DEPTH_EXCEEDED)}function Pe(e){function t(e,n,r,o){Te(o);let s=e[o++];if("__proto__"===s)return!0;const i=Number.isFinite(+s),a=o>=e.length;if(s=!s&&X.isArray(r)?r.length:s,a)return X.hasOwnProp(r,s)?r[s]=X.isArray(r[s])?r[s].concat(n):[r[s],n]:r[s]=n,!i;X.hasOwnProp(r,s)&&X.isObject(r[s])||(r[s]=[]);return t(e,n,r[s],o)&&X.isArray(r[s])&&(r[s]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r{t(function(e){const t=[],n=/\w+|\[(\w*)]/g;let r;for(;null!==(r=n.exec(e));)Te(t.length),t.push("[]"===r[0]?"":r[1]||r[0]);return t}(e),r,n,0)}),n}return null}const Ce=(e,t)=>null!=e&&X.hasOwnProp(e,t)?e[t]:void 0;const Ne={transitional:we,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=X.isObject(e);o&&X.isHTMLForm(e)&&(e=new FormData(e));if(X.isFormData(e))return r?JSON.stringify(Pe(e)):e;if(X.isArrayBuffer(e)||X.isBuffer(e)||X.isStream(e)||X.isFile(e)||X.isBlob(e)||X.isReadableStream(e))return e;if(X.isArrayBufferView(e))return e.buffer;if(X.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){const t=Ce(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return de(e,new ve.classes.URLSearchParams,{visitor:function(e,t,n,r){return ve.isNode&&X.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((s=X.isFileList(e))||n.indexOf("multipart/form-data")>-1){const n=Ce(this,"env"),r=n&&n.FormData;return de(s?{"files[]":e}:e,r&&new r,t)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=Ce(this,"transitional")||Ne.transitional,n=t&&t.forcedJSONParsing,r=Ce(this,"responseType"),o="json"===r;if(X.isResponse(e)||X.isReadableStream(e))return e;if(e&&X.isString(e)&&(n&&!r||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,Ce(this,"parseReviver"))}catch(e){if(n){if("SyntaxError"===e.name)throw ae.from(e,ae.ERR_BAD_RESPONSE,this,null,Ce(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ve.classes.FormData,Blob:ve.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};function xe(e,t){const n=this||Ne,r=t||n,o=se.from(r.headers);let s=r.data;return X.forEach(e,function(e){s=e.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function je(e){return!(!e||!e.__CANCEL__)}X.forEach(["delete","get","head","post","put","patch","query"],e=>{Ne.headers[e]={}});let Ue=class extends ae{constructor(e,t,n){super(null==e?"canceled":e,ae.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function De(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ae("Request failed with status code "+n.status,n.status>=400&&n.status<500?ae.ERR_BAD_REQUEST:ae.ERR_BAD_RESPONSE,n.config,n.request,n)):e(n)}const Le=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,s=0,i=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),l=r[i];o||(o=c),n[s]=a,r[s]=c;let u=i,f=0;for(;u!==s;)f+=n[u++],u%=e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),c-o{o=s,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),a=t-o;a>=s?i(e,t):(n=e,r||(r=setTimeout(()=>{r=null,i(n)},s-a)))},()=>n&&i(n)]}(n=>{if(!n||"number"!=typeof n.loaded)return;const s=n.loaded,i=n.lengthComputable?n.total:void 0,a=null!=i?Math.min(s,i):s,c=Math.max(0,a-r),l=o(c);r=Math.max(r,a);e({loaded:a,total:i,progress:i?a/i:void 0,bytes:c,rate:l||void 0,estimated:l&&i?(i-a)/l:void 0,event:n,lengthComputable:null!=i,[t?"download":"upload"]:!0})},n)},Fe=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Be=e=>(...t)=>X.asap(()=>e(...t));var ke=ve.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ve.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ve.origin),ve.navigator&&/(msie|trident)/i.test(ve.navigator.userAgent)):()=>!0,qe=ve.hasStandardBrowserEnv?{write(e,t,n,r,o,s,i){if("undefined"==typeof document)return;const a=[`${e}=${encodeURIComponent(t)}`];X.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),X.isString(r)&&a.push(`path=${r}`),X.isString(o)&&a.push(`domain=${o}`),!0===s&&a.push("secure"),X.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let n=0;nnull,remove(){}};const Ie=/^https?:(?!\/\/)/i,Me=/[\t\n\r]/g;function ze(e,t){if("string"==typeof e&&Ie.test(function(e){return function(e){let t=0;for(;te instanceof se?{...e}:e;function We(e,t){e=e||{},t=t||{};const n=Object.create(null);function r(e,t,n,r){return X.isPlainObject(e)&&X.isPlainObject(t)?X.merge.call({caseless:r},e,t):X.isPlainObject(t)?X.merge({},t):X.isArray(t)?t.slice():t}function o(e,t,n,o){return X.isUndefined(t)?X.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function s(e,t){if(!X.isUndefined(t))return r(void 0,t)}function i(e,t){return X.isUndefined(t)?X.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,s){return X.hasOwnProp(t,s)?r(n,o):X.hasOwnProp(e,s)?r(void 0,n):void 0}Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const c={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:a,headers:(e,t,n)=>o(Je(e),Je(t),0,!0)};return X.forEach(Object.keys({...e,...t}),function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;const s=X.hasOwnProp(c,r)?c[r]:o,i=s(X.hasOwnProp(e,r)?e[r]:void 0,X.hasOwnProp(t,r)?t[r]:void 0,r);X.isUndefined(i)&&s!==a||(n[r]=i)}),X.hasOwnProp(t,"validateStatus")&&X.isUndefined(t.validateStatus)&&!1===function(n){const r=X.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!X.isUndefined(r)){if(!X.isPlainObject(r))return;if(X.hasOwnProp(r,n))return r[n]}const o=X.hasOwnProp(e,"transitional")?e.transitional:void 0;if(X.isPlainObject(o)&&X.hasOwnProp(o,n))return o[n]}("validateStatusUndefinedResolves")&&(X.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}const Ve=["content-type","content-length"];function $e(e){const t=We({},e),n=e=>X.hasOwnProp(t,e)?t[e]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),i=n("xsrfCookieName");let a=n("headers");const c=n("auth"),l=n("baseURL"),u=n("allowAbsoluteUrls"),f=n("url");if(t.headers=a=se.from(a),t.url=ge(He(l,f,u,t),n("params"),n("paramsSerializer")),c){const t=X.getSafeProp(c,"username")||"",n=X.getSafeProp(c,"password")||"";try{a.set("Authorization","Basic "+btoa(t+":"+(n?encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))):"")))}catch(t){throw ae.from(t,ae.ERR_BAD_OPTION_VALUE,e)}}if(X.isFormData(r)&&(ve.hasStandardBrowserEnv||ve.hasStandardBrowserWebWorkerEnv||X.isReactNative(r)?a.setContentType(void 0):X.isFunction(r.getHeaders)&&function(e,t,n){"content-only"===n?Object.entries(t||{}).forEach(([t,n])=>{Ve.includes(t.toLowerCase())&&e.set(t,n)}):e.set(t)}(a,r.getHeaders(),n("formDataHeaderPolicy"))),ve.hasStandardBrowserEnv){X.isFunction(o)&&(o=o(t));if(!0===o||null==o&&ke(t.url)){const e=s&&i&&qe.read(i);e&&a.set(s,e)}}return t}var Ke="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=$e(e);let o=r.data;const s=se.from(r.headers).normalize();let i,a,c,l,u,{responseType:f,onUploadProgress:d,onDownloadProgress:p}=r;function h(){l&&l(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(i),r.signal&&r.signal.removeEventListener("abort",i)}let m=new XMLHttpRequest;function b(){if(!m)return;const r=se.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());De(function(e){t(e),h()},function(e){n(e),h()},{data:f&&"text"!==f&&"json"!==f?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=b:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&m.responseURL.startsWith("file:"))&&setTimeout(b)},m.onabort=function(){m&&(n(new ae("Request aborted",ae.ECONNABORTED,e,m)),h(),m=null)},m.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new ae(r,ae.ERR_NETWORK,e,m);o.event=t||null,n(o),h(),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||we;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new ae(t,o.clarifyTimeoutError?ae.ETIMEDOUT:ae.ECONNABORTED,e,m)),h(),m=null},void 0===o&&s.setContentType(null),"setRequestHeader"in m&&X.forEach(ee(s),function(e,t){m.setRequestHeader(t,e)}),X.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),f&&"json"!==f&&(m.responseType=r.responseType),p&&([c,u]=Le(p,!0),m.addEventListener("progress",c)),d&&m.upload&&([a,l]=Le(d),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",l)),(r.cancelToken||r.signal)&&(i=t=>{m&&(n(!t||t.type?new Ue(null,e,m):t),m.abort(),h(),m=null)},r.cancelToken&&r.cancelToken.subscribe(i),r.signal&&(r.signal.aborted?i():r.signal.addEventListener("abort",i)));const g=function(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}(r.url);if(g&&!ve.protocols.includes(g))return n(new ae("Unsupported protocol "+g+":",ae.ERR_BAD_REQUEST,e)),void h();m.send(o||null)})};const Xe=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const o=function(e){if(!r){r=!0,i();const t=e instanceof Error?e:this.reason;n.abort(t instanceof ae?t:new Ue(t instanceof Error?t.message:t))}};let s=t&&setTimeout(()=>{s=null,o(new ae(`timeout of ${t}ms exceeded`,ae.ETIMEDOUT))},t);const i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o,{once:!0}));const{signal:a}=n;return a.unsubscribe=()=>X.asap(i),a},Ge=function*(e,t){let n=e.byteLength;if(n{const o=async function*(e,t){for await(const n of Qe(e))yield*Ge(n,t)}(e,t);let s,i=0,a=e=>{s||(s=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let s=r.byteLength;if(n){let e=i+=s;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},Ye=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,et=(e,t,n)=>t+2{if(!X.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},ot=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},st=e=>{const t=void 0!==X.global&&null!==X.global?X.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=X.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:s,Response:i}=e,a=o?nt(o):"function"==typeof fetch,c=nt(s),l=nt(i);if(!a)return!1;const u=a&&nt(n),f=a&&("function"==typeof r?(d=new r,e=>d.encode(e)):async e=>new Uint8Array(await new s(e).arrayBuffer()));var d;const p=c&&u&&ot(()=>{let e=!1;const t=new s(ve.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r}),h=l&&u&&ot(()=>X.isReadableStream(new i("").body)),m={stream:h&&(e=>e.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!m[e]&&(m[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new ae(`Response type '${e}' is not supported`,ae.ERR_NOT_SUPPORT,n)})});const b=async e=>{if(null==e)return 0;if(X.isBlob(e))return e.size;if(X.isSpecCompliantForm(e)){const t=new s(ve.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return X.isArrayBufferView(e)||X.isArrayBuffer(e)?e.byteLength:(X.isURLSearchParams(e)&&(e+=""),X.isString(e)?(await f(e)).byteLength:void 0)};return async e=>{let{url:t,method:n,data:a,signal:l,cancelToken:f,timeout:d,onDownloadProgress:g,onUploadProgress:y,responseType:w,headers:E,withCredentials:O="same-origin",fetchOptions:R,maxContentLength:S,maxBodyLength:_}=$e(e);const A=X.isNumber(S)&&S>-1,v=X.isNumber(_)&&_>-1;let T=o||fetch;w=w?(w+"").toLowerCase():"text";let P=Xe([l,f&&f.toAbortSignal()],d),C=null;const N=P&&P.unsubscribe&&(()=>{P.unsubscribe()});let x,j=null;const U=()=>new ae("Request body larger than maxBodyLength limit",ae.ERR_BAD_REQUEST,e,C);try{let o;const l=(L="auth",X.hasOwnProp(e,L)?e[L]:void 0);if(l){const e=X.getSafeProp(l,"username")||"";o={username:e,password:X.getSafeProp(l,"password")||""}}if((e=>{const t=e.indexOf("://");let n=e;return-1!==t&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")})(t)){const e=new URL(t,ve.origin);if(!o&&(e.username||e.password)){const t=rt(e.username);o={username:t,password:rt(e.password)}}(e.username||e.password)&&(e.username="",e.password="",t=e.href)}if(o&&(E.delete("authorization"),E.set("Authorization","Basic "+btoa((D=(o.username||"")+":"+(o.password||""),encodeURIComponent(D).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))))))),A&&"string"==typeof t&&t.startsWith("data:")){const n=function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length;const t=r.length;for(let n=0;ne>=2&&37===r.charCodeAt(e-2)&&51===r.charCodeAt(e-1)&&(68===r.charCodeAt(e)||100===r.charCodeAt(e));o>=0&&(61===r.charCodeAt(o)?(n++,o--):s(o)&&(n++,o-=3)),1===n&&o>=0&&(61===r.charCodeAt(o)||s(o))&&n++;const i=3*Math.floor(e/4)-(n||0);return i>0?i:0}let o=0;for(let e=0,t=r.length;e=55296&&n<=56319&&e+1=56320&&t<=57343?(o+=4,e++):o+=3}else o+=3}return o}(t);if(n>S)throw new ae("maxContentLength size of "+S+" exceeded",ae.ERR_BAD_RESPONSE,e,C)}if(v&&"get"!==n&&"head"!==n){const e=await b(a);if("number"==typeof e&&isFinite(e)&&(x=e,e>_))throw U()}const f=v&&(X.isReadableStream(a)||X.isStream(a)),d=(e,t,n)=>Ze(e,65536,e=>{if(v&&e>_)throw j=U();t&&t(e)},n);if(p&&"get"!==n&&"head"!==n&&(y||f)){if(x=null==x?await(async(e,t)=>{const n=X.toFiniteNumber(e.getContentLength());return null==n?b(t):n})(E,a):x,0!==x||f){let e,n=new s(t,{method:"POST",body:a,duplex:"half"});if(X.isFormData(a)&&(e=n.headers.get("content-type"))&&E.setContentType(e),n.body){const[e,t]=y&&Fe(x,Le(Be(y)))||[];a=d(n.body,e,t)}}}else if(f&&!c&&u&&"get"!==n&&"head"!==n)a=d(a);else if(f&&c&&!p&&"get"!==n&&"head"!==n)throw new ae("Stream request bodies are not supported by the current fetch implementation",ae.ERR_NOT_SUPPORT,e,C);X.isString(O)||(O=O?"include":"omit");const F=c&&"credentials"in s.prototype;if(X.isFormData(a)){const e=E.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&E.delete("content-type")}E.set("User-Agent","axios/"+tt,!1);const B={...R,signal:P,method:n.toUpperCase(),headers:ee(E.normalize()),body:a,duplex:"half",credentials:F?O:void 0};C=c&&new s(t,B);let k=await(c?T(C,R):T(t,B));const q=se.from(k.headers);if(A){const t=X.toFiniteNumber(q.getContentLength());if(null!=t&&t>S)throw new ae("maxContentLength size of "+S+" exceeded",ae.ERR_BAD_RESPONSE,e,C)}const I=h&&("stream"===w||"response"===w);if(h&&k.body&&(g||A||I&&N)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=k[e]});const n=X.toFiniteNumber(q.getContentLength()),[r,o]=g&&Fe(n,Le(Be(g),!0))||[];let s=0;const a=t=>{if(A&&(s=t,s>S))throw new ae("maxContentLength size of "+S+" exceeded",ae.ERR_BAD_RESPONSE,e,C);r&&r(t)};k=new i(Ze(k.body,65536,a,()=>{o&&o(),N&&N()}),t)}w=w||"text";let M=await m[X.findKey(m,w)||"text"](k,e);if(A&&!h&&!I){let t;if(null!=M&&("number"==typeof M.byteLength?t=M.byteLength:"number"==typeof M.size?t=M.size:"string"==typeof M&&(t="function"==typeof r?(new r).encode(M).byteLength:M.length)),"number"==typeof t&&t>S)throw new ae("maxContentLength size of "+S+" exceeded",ae.ERR_BAD_RESPONSE,e,C)}return!I&&N&&N(),await new Promise((t,n)=>{De(t,n,{data:M,headers:se.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:C})})}catch(t){if(N&&N(),P&&P.aborted&&P.reason instanceof ae){const n=P.reason;throw n.config=e,C&&(n.request=C),t!==n&&Object.defineProperty(n,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),n}if(j)throw C&&!j.request&&(j.request=C),j;if(t instanceof ae)throw C&&!t.request&&(t.request=C),t;if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)){const n=new ae("Network Error",ae.ERR_NETWORK,e,C,t&&t.response);throw Object.defineProperty(n,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),n}throw ae.from(t,t&&t.code,e,C,t&&t.response)}var D,L}},it=new Map,at=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let i,a,c=s.length,l=it;for(;c--;)i=s[c],a=l.get(i),void 0===a&&l.set(i,a=c?new Map:st(t)),l=a;return a};at();const ct={http:null,xhr:Ke,fetch:{get:at}};X.forEach(ct,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const lt=e=>`- ${e}`,ut=e=>X.isFunction(e)||null===e||!1===e;var ft={getAdapter:function(e,t){e=X.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let i=0;i`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(lt).join("\n"):" "+lt(e[0]):"as no adapter specified";throw new ae("There is no suitable adapter to dispatch the request "+t,ae.ERR_NOT_SUPPORT)}return o},adapters:ct};function dt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ue(null,e)}function pt(e){dt(e),e.headers=se.from(e.headers),e.data=xe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return ft.getAdapter(e.adapter||Ne.adapter,e)(e).then(function(t){dt(e),e.response=t;try{t.data=xe.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=se.from(t.headers),t},function(t){if(!je(t)&&(dt(e),t&&t.response)){e.response=t.response;try{t.response.data=xe.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=se.from(t.response.headers)}return Promise.reject(t)})}const ht={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ht[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const mt={};ht.transitional=function(e,t,n){function r(e,t){return"[Axios v"+tt+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,s)=>{if(!1===e)throw new ae(r(o," has been removed"+(t?" in "+t:"")),ae.ERR_DEPRECATED);return t&&!mt[o]&&(mt[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,s)}},ht.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var bt={assertOptions:function(e,t,n){if("object"!=typeof e||null===e)throw new ae("options must be an object",ae.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(i){const t=e[s],n=void 0===t||i(t,s,e);if(!0!==n)throw new ae("option "+s+" must be "+n,ae.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new ae("Unknown option "+s,ae.ERR_BAD_OPTION)}},validators:ht};const gt=bt.validators;let yt=class{constructor(e){this.defaults=e||{},this.interceptors={request:new ye,response:new ye}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(n){const t=n.indexOf("\n"),r=-1===t?-1:n.indexOf("\n",t+1),o=-1===r?"":n.slice(r+1);String(e.stack).endsWith(o)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=We(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&bt.assertOptions(n,{silentJSONParsing:gt.transitional(gt.boolean),forcedJSONParsing:gt.transitional(gt.boolean),clarifyTimeoutError:gt.transitional(gt.boolean),legacyInterceptorReqResOrdering:gt.transitional(gt.boolean),advertiseZstdAcceptEncoding:gt.transitional(gt.boolean),validateStatusUndefinedResolves:gt.transitional(gt.boolean)},!1),null!=r&&(X.isFunction(r)?t.paramsSerializer={serialize:r}:bt.assertOptions(r,{encode:gt.function,serialize:gt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),bt.assertOptions(t,{baseUrl:gt.spelling("baseURL"),withXsrfToken:gt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=o&&X.merge(o.common,o[t.method]);o&&X.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete o[e]}),t.headers=se.concat(s,o);const i=[];let a=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;a=a&&e.synchronous;const n=t.transitional||we;n&&n.legacyInterceptorReqResOrdering?i.unshift(e.fulfilled,e.rejected):i.push(e.fulfilled,e.rejected)});const c=[];let l;this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let u,f=0;if(!a){const e=[pt.bind(this),void 0];for(e.unshift(...i),e.push(...c),u=e.length,l=Promise.resolve(t);f{wt[t]=e});const Et=function t(n){const r=new yt(n),o=e(yt.prototype.request,r);return X.extend(o,yt.prototype,r,{allOwnKeys:!0}),X.extend(o,r,null,{allOwnKeys:!0}),o.create=function(e){return t(We(n,e))},o}(Ne);Et.Axios=yt,Et.CanceledError=Ue,Et.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new Ue(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}},Et.isCancel=je,Et.VERSION=tt,Et.toFormData=de,Et.AxiosError=ae,Et.Cancel=Et.CanceledError,Et.all=function(e){return Promise.all(e)},Et.spread=function(e){return function(t){return e.apply(null,t)}},Et.isAxiosError=function(e){return X.isObject(e)&&!0===e.isAxiosError},Et.mergeConfig=We,Et.AxiosHeaders=se,Et.formToJSON=e=>Pe(X.isHTMLForm(e)?new FormData(e):e),Et.getAdapter=ft.getAdapter,Et.HttpStatusCode=wt,Et.default=Et;const{Axios:Ot,AxiosError:Rt,CanceledError:St,isCancel:_t,CancelToken:At,VERSION:vt,all:Tt,Cancel:Pt,isAxiosError:Ct,spread:Nt,toFormData:xt,AxiosHeaders:jt,HttpStatusCode:Ut,formToJSON:Dt,getAdapter:Lt,mergeConfig:Ft,create:Bt}=Et;export{Ot as Axios,Rt as AxiosError,jt as AxiosHeaders,Pt as Cancel,At as CancelToken,St as CanceledError,Ut as HttpStatusCode,vt as VERSION,Tt as all,Bt as create,Et as default,Dt as formToJSON,Lt as getAdapter,Ct as isAxiosError,_t as isCancel,Ft as mergeConfig,Nt as spread,xt as toFormData}; +//# sourceMappingURL=axios.min.js.map diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js.map b/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js.map new file mode 100644 index 0000000..479cd49 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js.map @@ -0,0 +1 @@ +{"version":3,"file":"axios.min.js","sources":["../../lib/helpers/bind.js","../../lib/utils.js","../../lib/helpers/parseHeaders.js","../../lib/helpers/sanitizeHeaderValue.js","../../lib/core/AxiosHeaders.js","../../lib/core/AxiosError.js","../../lib/helpers/toFormData.js","../../lib/helpers/AxiosURLSearchParams.js","../../lib/helpers/buildURL.js","../../lib/core/InterceptorManager.js","../../lib/defaults/transitional.js","../../lib/platform/browser/index.js","../../lib/platform/browser/classes/URLSearchParams.js","../../lib/platform/browser/classes/FormData.js","../../lib/platform/browser/classes/Blob.js","../../lib/platform/common/utils.js","../../lib/platform/index.js","../../lib/helpers/formDataToJSON.js","../../lib/defaults/index.js","../../lib/helpers/toURLEncodedForm.js","../../lib/core/transformData.js","../../lib/cancel/isCancel.js","../../lib/cancel/CanceledError.js","../../lib/core/settle.js","../../lib/helpers/progressEventReducer.js","../../lib/helpers/speedometer.js","../../lib/helpers/throttle.js","../../lib/helpers/isURLSameOrigin.js","../../lib/helpers/cookies.js","../../lib/core/buildFullPath.js","../../lib/helpers/isAbsoluteURL.js","../../lib/helpers/combineURLs.js","../../lib/core/mergeConfig.js","../../lib/helpers/resolveConfig.js","../../lib/adapters/xhr.js","../../lib/helpers/parseProtocol.js","../../lib/helpers/composeSignals.js","../../lib/helpers/trackStream.js","../../lib/helpers/estimateDataURLDecodedBytes.js","../../lib/env/data.js","../../lib/adapters/fetch.js","../../lib/adapters/adapters.js","../../lib/helpers/null.js","../../lib/core/dispatchRequest.js","../../lib/helpers/validator.js","../../lib/core/Axios.js","../../lib/helpers/HttpStatusCode.js","../../lib/axios.js","../../lib/cancel/CancelToken.js","../../lib/helpers/spread.js","../../lib/helpers/isAxiosError.js","../../index.js"],"sourcesContent":["'use strict';\n\n/**\n * Create a bound version of a function with a specified `this` context\n *\n * @param {Function} fn - The function to bind\n * @param {*} thisArg - The value to be passed as the `this` parameter\n * @returns {Function} A new function that will call the original function with the specified `this` context\n */\nexport default function bind(fn, thisArg) {\n return function wrap() {\n return fn.apply(thisArg, arguments);\n };\n}\n","'use strict';\n\nimport bind from './helpers/bind.js';\n\n// utils is a library of generic helper functions non-specific to axios\n\nconst { toString } = Object.prototype;\nconst { getPrototypeOf } = Object;\nconst { iterator, toStringTag } = Symbol;\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (\n ({ hasOwnProperty }) =>\n (obj, prop) =>\n hasOwnProperty.call(obj, prop)\n)(Object.prototype);\n\n/**\n * Walk the prototype chain (excluding the shared Object.prototype) looking for\n * an own `prop`. This distinguishes genuine own/inherited members — including\n * class accessors and template prototypes — from members injected via\n * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which\n * live on Object.prototype itself and are therefore never matched.\n *\n * @param {*} thing The value whose chain to inspect\n * @param {string|symbol} prop The property key to look for\n *\n * @returns {boolean} True when `prop` is owned below Object.prototype\n */\nconst hasOwnInPrototypeChain = (thing, prop) => {\n let obj = thing;\n const seen = [];\n\n while (obj != null && obj !== Object.prototype) {\n if (seen.indexOf(obj) !== -1) {\n return false;\n }\n seen.push(obj);\n\n if (hasOwnProperty(obj, prop)) {\n return true;\n }\n obj = getPrototypeOf(obj);\n }\n return false;\n};\n\n/**\n * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own\n * properties and members inherited from a non-Object.prototype source (a class\n * instance or template object) are honored; a value reachable only through a\n * polluted Object.prototype is ignored and `undefined` is returned.\n *\n * @param {*} obj The source object\n * @param {string|symbol} prop The property key to read\n *\n * @returns {*} The resolved value, or undefined when unsafe/absent\n */\nconst getSafeProp = (obj, prop) =>\n obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined;\n\nconst kindOf = ((cache) => (thing) => {\n const str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n})(Object.create(null));\n\nconst kindOfTest = (type) => {\n type = type.toLowerCase();\n return (thing) => kindOf(thing) === type;\n};\n\nconst typeOfTest = (type) => (thing) => typeof thing === type;\n\n/**\n * Determine if a value is a non-null object\n *\n * @param {Object} val The value to test\n *\n * @returns {boolean} True if value is an Array, otherwise false\n */\nconst { isArray } = Array;\n\n/**\n * Determine if a value is undefined\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nconst isUndefined = typeOfTest('undefined');\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return (\n val !== null &&\n !isUndefined(val) &&\n val.constructor !== null &&\n !isUndefined(val.constructor) &&\n isFunction(val.constructor.isBuffer) &&\n val.constructor.isBuffer(val)\n );\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nconst isArrayBuffer = kindOfTest('ArrayBuffer');\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n let result;\n if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {\n result = ArrayBuffer.isView(val);\n } else {\n result = val && val.buffer && isArrayBuffer(val.buffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a String, otherwise false\n */\nconst isString = typeOfTest('string');\n\n/**\n * Determine if a value is a Function\n *\n * @param {*} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nconst isFunction = typeOfTest('function');\n\n/**\n * Determine if a value is a Number\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Number, otherwise false\n */\nconst isNumber = typeOfTest('number');\n\n/**\n * Determine if a value is an Object\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an Object, otherwise false\n */\nconst isObject = (thing) => thing !== null && typeof thing === 'object';\n\n/**\n * Determine if a value is a Boolean\n *\n * @param {*} thing The value to test\n * @returns {boolean} True if value is a Boolean, otherwise false\n */\nconst isBoolean = (thing) => thing === true || thing === false;\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a plain Object, otherwise false\n */\nconst isPlainObject = (val) => {\n if (!isObject(val)) {\n return false;\n }\n\n const prototype = getPrototypeOf(val);\n return (\n (prototype === null ||\n prototype === Object.prototype ||\n getPrototypeOf(prototype) === null) &&\n // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or\n // Symbol.iterator as evidence the value is a tagged/iterable type rather\n // than a plain object, while ignoring keys injected onto Object.prototype.\n !hasOwnInPrototypeChain(val, toStringTag) &&\n !hasOwnInPrototypeChain(val, iterator)\n );\n};\n\n/**\n * Determine if a value is an empty object (safely handles Buffers)\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an empty object, otherwise false\n */\nconst isEmptyObject = (val) => {\n // Early return for non-objects or Buffers to prevent RangeError\n if (!isObject(val) || isBuffer(val)) {\n return false;\n }\n\n try {\n return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;\n } catch (e) {\n // Fallback for any other objects that might cause RangeError with Object.keys()\n return false;\n }\n};\n\n/**\n * Determine if a value is a Date\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Date, otherwise false\n */\nconst isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a React Native Blob\n * React Native \"blob\": an object with a `uri` attribute. Optionally, it can\n * also have a `name` and `type` attribute to specify filename and content type\n *\n * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71\n *\n * @param {*} value The value to test\n *\n * @returns {boolean} True if value is a React Native Blob, otherwise false\n */\nconst isReactNativeBlob = (value) => {\n return !!(value && typeof value.uri !== 'undefined');\n};\n\n/**\n * Determine if environment is React Native\n * ReactNative `FormData` has a non-standard `getParts()` method\n *\n * @param {*} formData The formData to test\n *\n * @returns {boolean} True if environment is React Native, otherwise false\n */\nconst isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';\n\n/**\n * Determine if a value is a Blob\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nconst isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a FileList, otherwise false\n */\nconst isFileList = kindOfTest('FileList');\n\n/**\n * Determine if a value is a Stream\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nconst isStream = (val) => isObject(val) && isFunction(val.pipe);\n\n/**\n * Determine if a value is a FormData\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction getGlobal() {\n if (typeof globalThis !== 'undefined') return globalThis;\n if (typeof self !== 'undefined') return self;\n if (typeof window !== 'undefined') return window;\n if (typeof global !== 'undefined') return global;\n return {};\n}\n\nconst G = getGlobal();\nconst FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;\n\nconst isFormData = (thing) => {\n if (!thing) return false;\n if (FormDataCtor && thing instanceof FormDataCtor) return true;\n // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData.\n const proto = getPrototypeOf(thing);\n if (!proto || proto === Object.prototype) return false;\n if (!isFunction(thing.append)) return false;\n const kind = kindOf(thing);\n return (\n kind === 'formdata' ||\n // detect form-data instance\n (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')\n );\n};\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nconst isURLSearchParams = kindOfTest('URLSearchParams');\n\nconst [isReadableStream, isRequest, isResponse, isHeaders] = [\n 'ReadableStream',\n 'Request',\n 'Response',\n 'Headers',\n].map(kindOfTest);\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n *\n * @returns {String} The String freed of excess whitespace\n */\nconst trim = (str) => {\n return str.trim ? str.trim() : str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n};\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n *\n * @param {Object} [options]\n * @param {Boolean} [options.allOwnKeys = false]\n * @returns {any}\n */\nfunction forEach(obj, fn, { allOwnKeys = false } = {}) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n let i;\n let l;\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Buffer check\n if (isBuffer(obj)) {\n return;\n }\n\n // Iterate over object keys\n const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);\n const len = keys.length;\n let key;\n\n for (i = 0; i < len; i++) {\n key = keys[i];\n fn.call(null, obj[key], key, obj);\n }\n }\n}\n\n/**\n * Finds a key in an object, case-insensitive, returning the actual key name.\n * Returns null if the object is a Buffer or if no match is found.\n *\n * @param {Object} obj - The object to search.\n * @param {string} key - The key to find (case-insensitive).\n * @returns {?string} The actual key name if found, otherwise null.\n */\nfunction findKey(obj, key) {\n if (isBuffer(obj)) {\n return null;\n }\n\n key = key.toLowerCase();\n const keys = Object.keys(obj);\n let i = keys.length;\n let _key;\n while (i-- > 0) {\n _key = keys[i];\n if (key === _key.toLowerCase()) {\n return _key;\n }\n }\n return null;\n}\n\nconst _global = (() => {\n /*eslint no-undef:0*/\n if (typeof globalThis !== 'undefined') return globalThis;\n return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;\n})();\n\nconst isContextDefined = (context) => !isUndefined(context) && context !== _global;\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * const result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n *\n * @returns {Object} Result of all merge properties\n */\nfunction merge(...objs) {\n const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};\n const result = {};\n const assignValue = (val, key) => {\n // Skip dangerous property names to prevent prototype pollution\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return;\n }\n\n // findKey lowercases the key, so caseless lookup only applies to strings —\n // symbol keys are identity-matched.\n const targetKey = (caseless && typeof key === 'string' && findKey(result, key)) || key;\n // Read via own-prop only — a bare `result[targetKey]` walks the prototype\n // chain, so a polluted Object.prototype value could surface here and get\n // copied into the merged result.\n const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined;\n if (isPlainObject(existing) && isPlainObject(val)) {\n result[targetKey] = merge(existing, val);\n } else if (isPlainObject(val)) {\n result[targetKey] = merge({}, val);\n } else if (isArray(val)) {\n result[targetKey] = val.slice();\n } else if (!skipUndefined || !isUndefined(val)) {\n result[targetKey] = val;\n }\n };\n\n for (let i = 0, l = objs.length; i < l; i++) {\n const source = objs[i];\n if (!source || isBuffer(source)) {\n continue;\n }\n\n forEach(source, assignValue);\n\n if (typeof source !== 'object' || isArray(source)) {\n continue;\n }\n\n const symbols = Object.getOwnPropertySymbols(source);\n for (let j = 0; j < symbols.length; j++) {\n const symbol = symbols[j];\n if (propertyIsEnumerable.call(source, symbol)) {\n assignValue(source[symbol], symbol);\n }\n }\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n *\n * @param {Object} [options]\n * @param {Boolean} [options.allOwnKeys]\n * @returns {Object} The resulting value of object a\n */\nconst extend = (a, b, thisArg, { allOwnKeys } = {}) => {\n forEach(\n b,\n (val, key) => {\n if (thisArg && isFunction(val)) {\n Object.defineProperty(a, key, {\n // Null-proto descriptor so a polluted Object.prototype.get cannot\n // hijack defineProperty's accessor-vs-data resolution.\n __proto__: null,\n value: bind(val, thisArg),\n writable: true,\n enumerable: true,\n configurable: true,\n });\n } else {\n Object.defineProperty(a, key, {\n __proto__: null,\n value: val,\n writable: true,\n enumerable: true,\n configurable: true,\n });\n }\n },\n { allOwnKeys }\n );\n return a;\n};\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n *\n * @returns {string} content value without BOM\n */\nconst stripBOM = (content) => {\n if (content.charCodeAt(0) === 0xfeff) {\n content = content.slice(1);\n }\n return content;\n};\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n *\n * @returns {void}\n */\nconst inherits = (constructor, superConstructor, props, descriptors) => {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n Object.defineProperty(constructor.prototype, 'constructor', {\n __proto__: null,\n value: constructor,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n Object.defineProperty(constructor, 'super', {\n __proto__: null,\n value: superConstructor.prototype,\n });\n props && Object.assign(constructor.prototype, props);\n};\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function|Boolean} [filter]\n * @param {Function} [propFilter]\n *\n * @returns {Object}\n */\nconst toFlatObject = (sourceObj, destObj, filter, propFilter) => {\n let props;\n let i;\n let prop;\n const merged = {};\n\n destObj = destObj || {};\n // eslint-disable-next-line no-eq-null,eqeqeq\n if (sourceObj == null) return destObj;\n\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = filter !== false && getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n\n return destObj;\n};\n\n/**\n * Determines whether a string ends with the characters of a specified string\n *\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n *\n * @returns {boolean}\n */\nconst endsWith = (str, searchString, position) => {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n const lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n};\n\n/**\n * Returns new array from array like object or null if failed\n *\n * @param {*} [thing]\n *\n * @returns {?Array}\n */\nconst toArray = (thing) => {\n if (!thing) return null;\n if (isArray(thing)) return thing;\n let i = thing.length;\n if (!isNumber(i)) return null;\n const arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n};\n\n/**\n * Checking if the Uint8Array exists and if it does, it returns a function that checks if the\n * thing passed in is an instance of Uint8Array\n *\n * @param {TypedArray}\n *\n * @returns {Array}\n */\n// eslint-disable-next-line func-names\nconst isTypedArray = ((TypedArray) => {\n // eslint-disable-next-line func-names\n return (thing) => {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));\n\n/**\n * For each entry in the object, call the function with the key and value.\n *\n * @param {Object} obj - The object to iterate over.\n * @param {Function} fn - The function to call for each entry.\n *\n * @returns {void}\n */\nconst forEachEntry = (obj, fn) => {\n const generator = obj && obj[iterator];\n\n const _iterator = generator.call(obj);\n\n let result;\n\n while ((result = _iterator.next()) && !result.done) {\n const pair = result.value;\n fn.call(obj, pair[0], pair[1]);\n }\n};\n\n/**\n * It takes a regular expression and a string, and returns an array of all the matches\n *\n * @param {string} regExp - The regular expression to match against.\n * @param {string} str - The string to search.\n *\n * @returns {Array}\n */\nconst matchAll = (regExp, str) => {\n let matches;\n const arr = [];\n\n while ((matches = regExp.exec(str)) !== null) {\n arr.push(matches);\n }\n\n return arr;\n};\n\n/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */\nconst isHTMLForm = kindOfTest('HTMLFormElement');\n\nconst toCamelCase = (str) => {\n return str.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g, function replacer(m, p1, p2) {\n return p1.toUpperCase() + p2;\n });\n};\n\nconst { propertyIsEnumerable } = Object.prototype;\n\n/**\n * Determine if a value is a RegExp object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a RegExp object, otherwise false\n */\nconst isRegExp = kindOfTest('RegExp');\n\nconst reduceDescriptors = (obj, reducer) => {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n const reducedDescriptors = {};\n\n forEach(descriptors, (descriptor, name) => {\n let ret;\n if ((ret = reducer(descriptor, name, obj)) !== false) {\n reducedDescriptors[name] = ret || descriptor;\n }\n });\n\n Object.defineProperties(obj, reducedDescriptors);\n};\n\n/**\n * Makes all methods read-only\n * @param {Object} obj\n */\n\nconst freezeMethods = (obj) => {\n reduceDescriptors(obj, (descriptor, name) => {\n // skip restricted props in strict mode\n if (isFunction(obj) && ['arguments', 'caller', 'callee'].includes(name)) {\n return false;\n }\n\n const value = obj[name];\n\n if (!isFunction(value)) return;\n\n descriptor.enumerable = false;\n\n if ('writable' in descriptor) {\n descriptor.writable = false;\n return;\n }\n\n if (!descriptor.set) {\n descriptor.set = () => {\n throw Error(\"Can not rewrite read-only method '\" + name + \"'\");\n };\n }\n });\n};\n\n/**\n * Converts an array or a delimited string into an object set with values as keys and true as values.\n * Useful for fast membership checks.\n *\n * @param {Array|string} arrayOrString - The array or string to convert.\n * @param {string} delimiter - The delimiter to use if input is a string.\n * @returns {Object} An object with keys from the array or string, values set to true.\n */\nconst toObjectSet = (arrayOrString, delimiter) => {\n const obj = {};\n\n const define = (arr) => {\n arr.forEach((value) => {\n obj[value] = true;\n });\n };\n\n isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));\n\n return obj;\n};\n\nconst noop = () => {};\n\nconst toFiniteNumber = (value, defaultValue) => {\n return value != null && Number.isFinite((value = +value)) ? value : defaultValue;\n};\n\n/**\n * If the thing is a FormData object, return true, otherwise return false.\n *\n * @param {unknown} thing - The thing to check.\n *\n * @returns {boolean}\n */\nfunction isSpecCompliantForm(thing) {\n return !!(\n thing &&\n isFunction(thing.append) &&\n thing[toStringTag] === 'FormData' &&\n thing[iterator]\n );\n}\n\n/**\n * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.\n *\n * @param {Object} obj - The object to convert.\n * @returns {Object} The JSON-compatible object.\n */\nconst toJSONObject = (obj) => {\n const visited = new WeakSet();\n\n const visit = (source) => {\n if (isObject(source)) {\n if (visited.has(source)) {\n return;\n }\n\n //Buffer check\n if (isBuffer(source)) {\n return source;\n }\n\n if (!('toJSON' in source)) {\n // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230).\n visited.add(source);\n const target = isArray(source) ? [] : {};\n\n forEach(source, (value, key) => {\n const reducedValue = visit(value);\n !isUndefined(reducedValue) && (target[key] = reducedValue);\n });\n\n visited.delete(source);\n\n return target;\n }\n }\n\n return source;\n };\n\n return visit(obj);\n};\n\n/**\n * Determines if a value is an async function.\n *\n * @param {*} thing - The value to test.\n * @returns {boolean} True if value is an async function, otherwise false.\n */\nconst isAsyncFn = kindOfTest('AsyncFunction');\n\n/**\n * Determines if a value is thenable (has then and catch methods).\n *\n * @param {*} thing - The value to test.\n * @returns {boolean} True if value is thenable, otherwise false.\n */\nconst isThenable = (thing) =>\n thing &&\n (isObject(thing) || isFunction(thing)) &&\n isFunction(thing.then) &&\n isFunction(thing.catch);\n\n// original code\n// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34\n\n/**\n * Provides a cross-platform setImmediate implementation.\n * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.\n *\n * @param {boolean} setImmediateSupported - Whether setImmediate is supported.\n * @param {boolean} postMessageSupported - Whether postMessage is supported.\n * @returns {Function} A function to schedule a callback asynchronously.\n */\nconst _setImmediate = ((setImmediateSupported, postMessageSupported) => {\n if (setImmediateSupported) {\n return setImmediate;\n }\n\n return postMessageSupported\n ? ((token, callbacks) => {\n _global.addEventListener(\n 'message',\n ({ source, data }) => {\n if (source === _global && data === token) {\n callbacks.length && callbacks.shift()();\n }\n },\n false\n );\n\n return (cb) => {\n callbacks.push(cb);\n _global.postMessage(token, '*');\n };\n })(`axios@${Math.random()}`, [])\n : (cb) => setTimeout(cb);\n})(typeof setImmediate === 'function', isFunction(_global.postMessage));\n\n/**\n * Schedules a microtask or asynchronous callback as soon as possible.\n * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.\n *\n * @type {Function}\n */\nconst asap =\n typeof queueMicrotask !== 'undefined'\n ? queueMicrotask.bind(_global)\n : (typeof process !== 'undefined' && process.nextTick) || _setImmediate;\n\n// *********************\n\nconst isIterable = (thing) => thing != null && isFunction(thing[iterator]);\n\n/**\n * Determine if a value is iterable via an iterator that is NOT sourced solely\n * from a polluted Object.prototype. Use this instead of `isIterable` whenever\n * the iterable comes from untrusted input (e.g. user-supplied header sources),\n * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object\n * into an attacker-controlled entries iterator.\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value has a non-polluted iterator\n */\nconst isSafeIterable = (thing) =>\n thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing);\n\nexport default {\n isArray,\n isArrayBuffer,\n isBuffer,\n isFormData,\n isArrayBufferView,\n isString,\n isNumber,\n isBoolean,\n isObject,\n isPlainObject,\n isEmptyObject,\n isReadableStream,\n isRequest,\n isResponse,\n isHeaders,\n isUndefined,\n isDate,\n isFile,\n isReactNativeBlob,\n isReactNative,\n isBlob,\n isRegExp,\n isFunction,\n isStream,\n isURLSearchParams,\n isTypedArray,\n isFileList,\n forEach,\n merge,\n extend,\n trim,\n stripBOM,\n inherits,\n toFlatObject,\n kindOf,\n kindOfTest,\n endsWith,\n toArray,\n forEachEntry,\n matchAll,\n isHTMLForm,\n hasOwnProperty,\n hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection\n hasOwnInPrototypeChain,\n getSafeProp,\n reduceDescriptors,\n freezeMethods,\n toObjectSet,\n toCamelCase,\n noop,\n toFiniteNumber,\n findKey,\n global: _global,\n isContextDefined,\n isSpecCompliantForm,\n toJSONObject,\n isAsyncFn,\n isThenable,\n setImmediate: _setImmediate,\n asap,\n isIterable,\n isSafeIterable,\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\n// RawAxiosHeaders whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nconst ignoreDuplicateOf = utils.toObjectSet([\n 'age',\n 'authorization',\n 'content-length',\n 'content-type',\n 'etag',\n 'expires',\n 'from',\n 'host',\n 'if-modified-since',\n 'if-unmodified-since',\n 'last-modified',\n 'location',\n 'max-forwards',\n 'proxy-authorization',\n 'referer',\n 'retry-after',\n 'user-agent',\n]);\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} rawHeaders Headers needing to be parsed\n *\n * @returns {Object} Headers parsed into an object\n */\nexport default (rawHeaders) => {\n const parsed = {};\n let key;\n let val;\n let i;\n\n rawHeaders &&\n rawHeaders.split('\\n').forEach(function parser(line) {\n i = line.indexOf(':');\n key = line.substring(0, i).trim().toLowerCase();\n val = line.substring(i + 1).trim();\n\n if (!key || (parsed[key] && ignoreDuplicateOf[key])) {\n return;\n }\n\n if (key === 'set-cookie') {\n if (parsed[key]) {\n parsed[key].push(val);\n } else {\n parsed[key] = [val];\n }\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\nfunction trimSPorHTAB(str) {\n let start = 0;\n let end = str.length;\n\n while (start < end) {\n const code = str.charCodeAt(start);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n start += 1;\n }\n\n while (end > start) {\n const code = str.charCodeAt(end - 1);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n end -= 1;\n }\n\n return start === 0 && end === str.length ? str : str.slice(start, end);\n}\n\n// The control-code ranges are intentional: header sanitization strips C0/DEL bytes.\n// eslint-disable-next-line no-control-regex\nconst INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\\\u0000-\\\\u0008\\\\u000a-\\\\u001f\\\\u007f]+', 'g');\n// eslint-disable-next-line no-control-regex\nconst INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\\\u0009\\\\u0020-\\\\u007e\\\\u0080-\\\\u00ff]+', 'g');\n\nfunction sanitizeValue(value, invalidChars) {\n if (utils.isArray(value)) {\n return value.map((item) => sanitizeValue(item, invalidChars));\n }\n\n return trimSPorHTAB(String(value).replace(invalidChars, ''));\n}\n\nexport const sanitizeHeaderValue = (value) =>\n sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS);\n\nexport const sanitizeByteStringHeaderValue = (value) =>\n sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS);\n\nexport function toByteStringHeaderObject(headers) {\n const byteStringHeaders = Object.create(null);\n\n utils.forEach(headers.toJSON(), (value, header) => {\n byteStringHeaders[header] = sanitizeByteStringHeaderValue(value);\n });\n\n return byteStringHeaders;\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport parseHeaders from '../helpers/parseHeaders.js';\nimport { sanitizeHeaderValue } from '../helpers/sanitizeHeaderValue.js';\n\nconst $internals = Symbol('internals');\n\nfunction normalizeHeader(header) {\n return header && String(header).trim().toLowerCase();\n}\n\nfunction normalizeValue(value) {\n if (value === false || value == null) {\n return value;\n }\n\n return utils.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value));\n}\n\nfunction parseTokens(str) {\n const tokens = Object.create(null);\n const tokensRE = /([^\\s,;=]+)\\s*(?:=\\s*([^,;]+))?/g;\n let match;\n\n while ((match = tokensRE.exec(str))) {\n tokens[match[1]] = match[2];\n }\n\n return tokens;\n}\n\nconst isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());\n\nfunction matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {\n if (utils.isFunction(filter)) {\n return filter.call(this, value, header);\n }\n\n if (isHeaderNameFilter) {\n value = header;\n }\n\n if (!utils.isString(value)) return;\n\n if (utils.isString(filter)) {\n return value.indexOf(filter) !== -1;\n }\n\n if (utils.isRegExp(filter)) {\n return filter.test(value);\n }\n}\n\nfunction formatHeader(header) {\n return header\n .trim()\n .toLowerCase()\n .replace(/([a-z\\d])(\\w*)/g, (w, char, str) => {\n return char.toUpperCase() + str;\n });\n}\n\nfunction buildAccessors(obj, header) {\n const accessorName = utils.toCamelCase(' ' + header);\n\n ['get', 'set', 'has'].forEach((methodName) => {\n Object.defineProperty(obj, methodName + accessorName, {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: function (arg1, arg2, arg3) {\n return this[methodName].call(this, header, arg1, arg2, arg3);\n },\n configurable: true,\n });\n });\n}\n\nclass AxiosHeaders {\n constructor(headers) {\n headers && this.set(headers);\n }\n\n set(header, valueOrRewrite, rewrite) {\n const self = this;\n\n function setHeader(_value, _header, _rewrite) {\n const lHeader = normalizeHeader(_header);\n\n if (!lHeader) {\n return;\n }\n\n const key = utils.findKey(self, lHeader);\n\n if (\n !key ||\n self[key] === undefined ||\n _rewrite === true ||\n (_rewrite === undefined && self[key] !== false)\n ) {\n self[key || _header] = normalizeValue(_value);\n }\n }\n\n const setHeaders = (headers, _rewrite) =>\n utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));\n\n if (utils.isPlainObject(header) || header instanceof this.constructor) {\n setHeaders(header, valueOrRewrite);\n } else if (utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {\n setHeaders(parseHeaders(header), valueOrRewrite);\n } else if (utils.isObject(header) && utils.isSafeIterable(header)) {\n let obj = Object.create(null),\n dest,\n key;\n for (const entry of header) {\n if (!utils.isArray(entry)) {\n throw new TypeError('Object iterator must return a key-value pair');\n }\n\n key = entry[0];\n\n if (utils.hasOwnProp(obj, key)) {\n dest = obj[key];\n obj[key] = utils.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]];\n } else {\n obj[key] = entry[1];\n }\n }\n\n setHeaders(obj, valueOrRewrite);\n } else {\n header != null && setHeader(valueOrRewrite, header, rewrite);\n }\n\n return this;\n }\n\n get(header, parser) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n if (key) {\n const value = this[key];\n\n if (!parser) {\n return value;\n }\n\n if (parser === true) {\n return parseTokens(value);\n }\n\n if (utils.isFunction(parser)) {\n return parser.call(this, value, key);\n }\n\n if (utils.isRegExp(parser)) {\n return parser.exec(value);\n }\n\n throw new TypeError('parser must be boolean|regexp|function');\n }\n }\n }\n\n has(header, matcher) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n return !!(\n key &&\n this[key] !== undefined &&\n (!matcher || matchHeaderValue(this, this[key], key, matcher))\n );\n }\n\n return false;\n }\n\n delete(header, matcher) {\n const self = this;\n let deleted = false;\n\n function deleteHeader(_header) {\n _header = normalizeHeader(_header);\n\n if (_header) {\n const key = utils.findKey(self, _header);\n\n if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {\n delete self[key];\n\n deleted = true;\n }\n }\n }\n\n if (utils.isArray(header)) {\n header.forEach(deleteHeader);\n } else {\n deleteHeader(header);\n }\n\n return deleted;\n }\n\n clear(matcher) {\n const keys = Object.keys(this);\n let i = keys.length;\n let deleted = false;\n\n while (i--) {\n const key = keys[i];\n if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {\n delete this[key];\n deleted = true;\n }\n }\n\n return deleted;\n }\n\n normalize(format) {\n const self = this;\n const headers = {};\n\n utils.forEach(this, (value, header) => {\n const key = utils.findKey(headers, header);\n\n if (key) {\n self[key] = normalizeValue(value);\n delete self[header];\n return;\n }\n\n const normalized = format ? formatHeader(header) : String(header).trim();\n\n if (normalized !== header) {\n delete self[header];\n }\n\n self[normalized] = normalizeValue(value);\n\n headers[normalized] = true;\n });\n\n return this;\n }\n\n concat(...targets) {\n return this.constructor.concat(this, ...targets);\n }\n\n toJSON(asStrings) {\n const obj = Object.create(null);\n\n utils.forEach(this, (value, header) => {\n value != null &&\n value !== false &&\n (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);\n });\n\n return obj;\n }\n\n [Symbol.iterator]() {\n return Object.entries(this.toJSON())[Symbol.iterator]();\n }\n\n toString() {\n return Object.entries(this.toJSON())\n .map(([header, value]) => header + ': ' + value)\n .join('\\n');\n }\n\n getSetCookie() {\n return this.get('set-cookie') || [];\n }\n\n get [Symbol.toStringTag]() {\n return 'AxiosHeaders';\n }\n\n static from(thing) {\n return thing instanceof this ? thing : new this(thing);\n }\n\n static concat(first, ...targets) {\n const computed = new this(first);\n\n targets.forEach((target) => computed.set(target));\n\n return computed;\n }\n\n static accessor(header) {\n const internals =\n (this[$internals] =\n this[$internals] =\n {\n accessors: {},\n });\n\n const accessors = internals.accessors;\n const prototype = this.prototype;\n\n function defineAccessor(_header) {\n const lHeader = normalizeHeader(_header);\n\n if (!accessors[lHeader]) {\n buildAccessors(prototype, _header);\n accessors[lHeader] = true;\n }\n }\n\n utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);\n\n return this;\n }\n}\n\nAxiosHeaders.accessor([\n 'Content-Type',\n 'Content-Length',\n 'Accept',\n 'Accept-Encoding',\n 'User-Agent',\n 'Authorization',\n]);\n\n// reserved names hotfix\nutils.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {\n let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`\n return {\n get: () => value,\n set(headerValue) {\n this[mapped] = headerValue;\n },\n };\n});\n\nutils.freezeMethods(AxiosHeaders);\n\nexport default AxiosHeaders;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst REDACTED = '[REDACTED ****]';\n\nfunction hasOwnOrPrototypeToJSON(source) {\n if (utils.hasOwnProp(source, 'toJSON')) {\n return true;\n }\n\n let prototype = Object.getPrototypeOf(source);\n\n while (prototype && prototype !== Object.prototype) {\n if (utils.hasOwnProp(prototype, 'toJSON')) {\n return true;\n }\n\n prototype = Object.getPrototypeOf(prototype);\n }\n\n return false;\n}\n\n// Build a plain-object snapshot of `config` and replace the value of any key\n// (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays\n// and AxiosHeaders, and short-circuits on circular references.\nfunction redactConfig(config, redactKeys) {\n const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase()));\n const seen = [];\n\n const visit = (source) => {\n if (source === null || typeof source !== 'object') return source;\n if (utils.isBuffer(source)) return source;\n if (seen.indexOf(source) !== -1) return undefined;\n\n if (source instanceof AxiosHeaders) {\n source = source.toJSON();\n }\n\n seen.push(source);\n\n let result;\n if (utils.isArray(source)) {\n result = [];\n source.forEach((v, i) => {\n const reducedValue = visit(v);\n if (!utils.isUndefined(reducedValue)) {\n result[i] = reducedValue;\n }\n });\n } else {\n if (!utils.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) {\n seen.pop();\n return source;\n }\n\n result = Object.create(null);\n for (const [key, value] of Object.entries(source)) {\n const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value);\n if (!utils.isUndefined(reducedValue)) {\n result[key] = reducedValue;\n }\n }\n }\n\n seen.pop();\n return result;\n };\n\n return visit(config);\n}\n\nclass AxiosError extends Error {\n static from(error, code, config, request, response, customProps) {\n const axiosError = new AxiosError(error.message, code || error.code, config, request, response);\n // Match native `Error` `cause` semantics: non-enumerable. The wrapped\n // error often carries circular internals (sockets, requests, agents), so\n // an enumerable `cause` makes structured loggers (pino/winston) and any\n // own-property walk throw \"Converting circular structure to JSON\".\n // Regression from #6982; see #7205. `__proto__: null` mirrors the\n // `message` descriptor below (prototype-pollution-safe descriptor).\n Object.defineProperty(axiosError, 'cause', {\n __proto__: null,\n value: error,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n axiosError.name = error.name;\n\n // Preserve status from the original error if not already set from response\n if (error.status != null && axiosError.status == null) {\n axiosError.status = error.status;\n }\n\n customProps && Object.assign(axiosError, customProps);\n return axiosError;\n }\n\n /**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n *\n * @returns {Error} The created error.\n */\n constructor(message, code, config, request, response) {\n super(message);\n\n // Make message enumerable to maintain backward compatibility\n // The native Error constructor sets message as non-enumerable,\n // but axios < v1.13.3 had it as enumerable\n Object.defineProperty(this, 'message', {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: message,\n enumerable: true,\n writable: true,\n configurable: true,\n });\n\n this.name = 'AxiosError';\n this.isAxiosError = true;\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n if (response) {\n this.response = response;\n this.status = response.status;\n }\n }\n\n toJSON() {\n // Opt-in redaction: when the request config carries a `redact` array, the\n // value of any matching key (case-insensitive, at any depth) is replaced\n // with REDACTED in the serialized snapshot. Undefined or empty leaves the\n // existing serialization behavior unchanged.\n const config = this.config;\n const redactKeys = config && utils.hasOwnProp(config, 'redact') ? config.redact : undefined;\n const serializedConfig =\n utils.isArray(redactKeys) && redactKeys.length > 0\n ? redactConfig(config, redactKeys)\n : utils.toJSONObject(config);\n\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: serializedConfig,\n code: this.code,\n status: this.status,\n };\n }\n}\n\n// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.\nAxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';\nAxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';\nAxiosError.ECONNABORTED = 'ECONNABORTED';\nAxiosError.ETIMEDOUT = 'ETIMEDOUT';\nAxiosError.ECONNREFUSED = 'ECONNREFUSED';\nAxiosError.ERR_NETWORK = 'ERR_NETWORK';\nAxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';\nAxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';\nAxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';\nAxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';\nAxiosError.ERR_CANCELED = 'ERR_CANCELED';\nAxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';\nAxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';\nAxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED';\n\nexport default AxiosError;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\n// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored\nimport PlatformFormData from '../platform/node/classes/FormData.js';\n\n// Default nesting limit shared with the inverse transform (formDataToJSON) so\n// the FormData <-> JSON round-trip stays symmetric.\nexport const DEFAULT_FORM_DATA_MAX_DEPTH = 100;\n\n/**\n * Determines if the given thing is a array or js object.\n *\n * @param {string} thing - The object or array to be visited.\n *\n * @returns {boolean}\n */\nfunction isVisitable(thing) {\n return utils.isPlainObject(thing) || utils.isArray(thing);\n}\n\n/**\n * It removes the brackets from the end of a string\n *\n * @param {string} key - The key of the parameter.\n *\n * @returns {string} the key without the brackets.\n */\nfunction removeBrackets(key) {\n return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;\n}\n\n/**\n * It takes a path, a key, and a boolean, and returns a string\n *\n * @param {string} path - The path to the current key.\n * @param {string} key - The key of the current object being iterated over.\n * @param {string} dots - If true, the key will be rendered with dots instead of brackets.\n *\n * @returns {string} The path to the current key.\n */\nfunction renderKey(path, key, dots) {\n if (!path) return key;\n return path\n .concat(key)\n .map(function each(token, i) {\n // eslint-disable-next-line no-param-reassign\n token = removeBrackets(token);\n return !dots && i ? '[' + token + ']' : token;\n })\n .join(dots ? '.' : '');\n}\n\n/**\n * If the array is an array and none of its elements are visitable, then it's a flat array.\n *\n * @param {Array} arr - The array to check\n *\n * @returns {boolean}\n */\nfunction isFlatArray(arr) {\n return utils.isArray(arr) && !arr.some(isVisitable);\n}\n\nconst predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {\n return /^is[A-Z]/.test(prop);\n});\n\n/**\n * Convert a data object to FormData\n *\n * @param {Object} obj\n * @param {?Object} [formData]\n * @param {?Object} [options]\n * @param {Function} [options.visitor]\n * @param {Boolean} [options.metaTokens = true]\n * @param {Boolean} [options.dots = false]\n * @param {?Boolean} [options.indexes = false]\n *\n * @returns {Object}\n **/\n\n/**\n * It converts an object into a FormData object\n *\n * @param {Object} obj - The object to convert to form data.\n * @param {string} formData - The FormData object to append to.\n * @param {Object} options\n *\n * @returns\n */\nfunction toFormData(obj, formData, options) {\n if (!utils.isObject(obj)) {\n throw new TypeError('target must be an object');\n }\n\n // eslint-disable-next-line no-param-reassign\n formData = formData || new (PlatformFormData || FormData)();\n\n // eslint-disable-next-line no-param-reassign\n options = utils.toFlatObject(\n options,\n {\n metaTokens: true,\n dots: false,\n indexes: false,\n },\n false,\n function defined(option, source) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n return !utils.isUndefined(source[option]);\n }\n );\n\n const metaTokens = options.metaTokens;\n // eslint-disable-next-line no-use-before-define\n const visitor = options.visitor || defaultVisitor;\n const dots = options.dots;\n const indexes = options.indexes;\n const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);\n const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth;\n const useBlob = _Blob && utils.isSpecCompliantForm(formData);\n const stack = [];\n\n if (!utils.isFunction(visitor)) {\n throw new TypeError('visitor must be a function');\n }\n\n function convertValue(value) {\n if (value === null) return '';\n\n if (utils.isDate(value)) {\n return value.toISOString();\n }\n\n if (utils.isBoolean(value)) {\n return value.toString();\n }\n\n if (!useBlob && utils.isBlob(value)) {\n throw new AxiosError('Blob is not supported. Use a Buffer instead.');\n }\n\n if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {\n if (useBlob && typeof _Blob === 'function') {\n return new _Blob([value]);\n }\n if (typeof Buffer !== 'undefined') {\n return Buffer.from(value);\n }\n throw new AxiosError('Blob is not supported. Use a Buffer instead.', AxiosError.ERR_NOT_SUPPORT);\n }\n\n return value;\n }\n\n function throwIfMaxDepthExceeded(depth) {\n if (depth > maxDepth) {\n throw new AxiosError(\n 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth,\n AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED\n );\n }\n }\n\n function stringifyWithDepthLimit(value, depth) {\n if (maxDepth === Infinity) {\n return JSON.stringify(value);\n }\n\n const ancestors = [];\n\n return JSON.stringify(value, function limitDepth(_key, currentValue) {\n if (!utils.isObject(currentValue)) {\n return currentValue;\n }\n\n while (ancestors.length && ancestors[ancestors.length - 1] !== this) {\n ancestors.pop();\n }\n\n ancestors.push(currentValue);\n throwIfMaxDepthExceeded(depth + ancestors.length - 1);\n\n return currentValue;\n });\n }\n\n /**\n * Default visitor.\n *\n * @param {*} value\n * @param {String|Number} key\n * @param {Array} path\n * @this {FormData}\n *\n * @returns {boolean} return true to visit the each prop of the value recursively\n */\n function defaultVisitor(value, key, path) {\n let arr = value;\n\n if (utils.isReactNative(formData) && utils.isReactNativeBlob(value)) {\n formData.append(renderKey(path, key, dots), convertValue(value));\n return false;\n }\n\n if (value && !path && typeof value === 'object') {\n if (utils.endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n key = metaTokens ? key : key.slice(0, -2);\n // eslint-disable-next-line no-param-reassign\n value = stringifyWithDepthLimit(value, 1);\n } else if (\n (utils.isArray(value) && isFlatArray(value)) ||\n ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value)))\n ) {\n // eslint-disable-next-line no-param-reassign\n key = removeBrackets(key);\n\n arr.forEach(function each(el, index) {\n !(utils.isUndefined(el) || el === null) &&\n formData.append(\n // eslint-disable-next-line no-nested-ternary\n indexes === true\n ? renderKey([key], index, dots)\n : indexes === null\n ? key\n : key + '[]',\n convertValue(el)\n );\n });\n return false;\n }\n }\n\n if (isVisitable(value)) {\n return true;\n }\n\n formData.append(renderKey(path, key, dots), convertValue(value));\n\n return false;\n }\n\n const exposedHelpers = Object.assign(predicates, {\n defaultVisitor,\n convertValue,\n isVisitable,\n });\n\n function build(value, path, depth = 0) {\n if (utils.isUndefined(value)) return;\n\n throwIfMaxDepthExceeded(depth);\n\n if (stack.indexOf(value) !== -1) {\n throw new Error('Circular reference detected in ' + path.join('.'));\n }\n\n stack.push(value);\n\n utils.forEach(value, function each(el, key) {\n const result =\n !(utils.isUndefined(el) || el === null) &&\n visitor.call(formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers);\n\n if (result === true) {\n build(el, path ? path.concat(key) : [key], depth + 1);\n }\n });\n\n stack.pop();\n }\n\n if (!utils.isObject(obj)) {\n throw new TypeError('data must be an object');\n }\n\n build(obj);\n\n return formData;\n}\n\nexport default toFormData;\n","'use strict';\n\nimport toFormData from './toFormData.js';\n\n/**\n * It encodes a string by replacing all characters that are not in the unreserved set with\n * their percent-encoded equivalents\n *\n * @param {string} str - The string to encode.\n *\n * @returns {string} The encoded string.\n */\nfunction encode(str) {\n const charMap = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+',\n };\n return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) {\n return charMap[match];\n });\n}\n\n/**\n * It takes a params object and converts it to a FormData object\n *\n * @param {Object} params - The parameters to be converted to a FormData object.\n * @param {Object} options - The options object passed to the Axios constructor.\n *\n * @returns {void}\n */\nfunction AxiosURLSearchParams(params, options) {\n this._pairs = [];\n\n params && toFormData(params, this, options);\n}\n\nconst prototype = AxiosURLSearchParams.prototype;\n\nprototype.append = function append(name, value) {\n this._pairs.push([name, value]);\n};\n\nprototype.toString = function toString(encoder) {\n const _encode = encoder\n ? (value) => encoder.call(this, value, encode)\n : encode;\n\n return this._pairs\n .map(function each(pair) {\n return _encode(pair[0]) + '=' + _encode(pair[1]);\n }, '')\n .join('&');\n};\n\nexport default AxiosURLSearchParams;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosURLSearchParams from './AxiosURLSearchParams.js';\n\n/**\n * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with\n * their plain counterparts (`:`, `$`, `,`, `+`).\n *\n * @param {string} val The value to be encoded.\n *\n * @returns {string} The encoded value.\n */\nexport function encode(val) {\n return encodeURIComponent(val)\n .replace(/%3A/gi, ':')\n .replace(/%24/g, '$')\n .replace(/%2C/gi, ',')\n .replace(/%20/g, '+');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @param {?(object|Function)} options\n *\n * @returns {string} The formatted url\n */\nexport default function buildURL(url, params, options) {\n if (!params) {\n return url;\n }\n url = url || '';\n\n const _options = utils.isFunction(options)\n ? {\n serialize: options,\n }\n : options;\n\n // Read serializer options pollution-safely: own properties and methods on a\n // class/template prototype are honored, but values injected onto a polluted\n // Object.prototype are ignored.\n const _encode = utils.getSafeProp(_options, 'encode') || encode;\n const serializeFn = utils.getSafeProp(_options, 'serialize');\n\n let serializedParams;\n\n if (serializeFn) {\n serializedParams = serializeFn(params, _options);\n } else {\n serializedParams = utils.isURLSearchParams(params)\n ? params.toString()\n : new AxiosURLSearchParams(params, _options).toString(_encode);\n }\n\n if (serializedParams) {\n const hashmarkIndex = url.indexOf('#');\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n * @param {Object} options The options for the interceptor, synchronous and runWhen\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null,\n });\n return this.handlers.length - 1;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {void}\n */\n eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n }\n}\n\nexport default InterceptorManager;\n","'use strict';\n\nexport default {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false,\n legacyInterceptorReqResOrdering: true,\n advertiseZstdAcceptEncoding: false,\n validateStatusUndefinedResolves: true,\n};\n","import URLSearchParams from './classes/URLSearchParams.js';\nimport FormData from './classes/FormData.js';\nimport Blob from './classes/Blob.js';\n\nexport default {\n isBrowser: true,\n classes: {\n URLSearchParams,\n FormData,\n Blob,\n },\n protocols: ['http', 'https', 'file', 'blob', 'url', 'data'],\n};\n","'use strict';\n\nimport AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';\nexport default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;\n","'use strict';\n\nexport default typeof FormData !== 'undefined' ? FormData : null;\n","'use strict';\n\nexport default typeof Blob !== 'undefined' ? Blob : null;\n","const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nconst _navigator = (typeof navigator === 'object' && navigator) || undefined;\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nconst hasStandardBrowserEnv =\n hasBrowserEnv &&\n (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);\n\n/**\n * Determine if we're running in a standard browser webWorker environment\n *\n * Although the `isStandardBrowserEnv` method indicates that\n * `allows axios to run in a web worker`, the WebWorker will still be\n * filtered out due to its judgment standard\n * `typeof window !== 'undefined' && typeof document !== 'undefined'`.\n * This leads to a problem when axios post `FormData` in webWorker\n */\nconst hasStandardBrowserWebWorkerEnv = (() => {\n return (\n typeof WorkerGlobalScope !== 'undefined' &&\n // eslint-disable-next-line no-undef\n self instanceof WorkerGlobalScope &&\n typeof self.importScripts === 'function'\n );\n})();\n\nconst origin = (hasBrowserEnv && window.location.href) || 'http://localhost';\n\nexport {\n hasBrowserEnv,\n hasStandardBrowserWebWorkerEnv,\n hasStandardBrowserEnv,\n _navigator as navigator,\n origin,\n};\n","import platform from './node/index.js';\nimport * as utils from './common/utils.js';\n\nexport default {\n ...utils,\n ...platform,\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport { DEFAULT_FORM_DATA_MAX_DEPTH } from './toFormData.js';\n\nconst MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH;\n\nfunction throwIfDepthExceeded(index) {\n if (index > MAX_DEPTH) {\n throw new AxiosError(\n 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH,\n AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED\n );\n }\n}\n\n/**\n * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']\n *\n * @param {string} name - The name of the property to get.\n *\n * @returns An array of strings.\n */\nfunction parsePropPath(name) {\n // foo[x][y][z]\n // foo.x.y.z\n // foo-x-y-z\n // foo x y z\n const path = [];\n const pattern = /\\w+|\\[(\\w*)]/g;\n let match;\n\n while ((match = pattern.exec(name)) !== null) {\n throwIfDepthExceeded(path.length);\n path.push(match[0] === '[]' ? '' : match[1] || match[0]);\n }\n\n return path;\n}\n\n/**\n * Convert an array to an object.\n *\n * @param {Array} arr - The array to convert to an object.\n *\n * @returns An object with the same keys and values as the array.\n */\nfunction arrayToObject(arr) {\n const obj = {};\n const keys = Object.keys(arr);\n let i;\n const len = keys.length;\n let key;\n for (i = 0; i < len; i++) {\n key = keys[i];\n obj[key] = arr[key];\n }\n return obj;\n}\n\n/**\n * It takes a FormData object and returns a JavaScript object\n *\n * @param {string} formData The FormData object to convert to JSON.\n *\n * @returns {Object | null} The converted object.\n */\nfunction formDataToJSON(formData) {\n function buildPath(path, value, target, index) {\n throwIfDepthExceeded(index);\n\n let name = path[index++];\n\n if (name === '__proto__') return true;\n\n const isNumericKey = Number.isFinite(+name);\n const isLast = index >= path.length;\n name = !name && utils.isArray(target) ? target.length : name;\n\n if (isLast) {\n if (utils.hasOwnProp(target, name)) {\n target[name] = utils.isArray(target[name])\n ? target[name].concat(value)\n : [target[name], value];\n } else {\n target[name] = value;\n }\n\n return !isNumericKey;\n }\n\n if (!utils.hasOwnProp(target, name) || !utils.isObject(target[name])) {\n target[name] = [];\n }\n\n const result = buildPath(path, value, target[name], index);\n\n if (result && utils.isArray(target[name])) {\n target[name] = arrayToObject(target[name]);\n }\n\n return !isNumericKey;\n }\n\n if (utils.isFormData(formData) && utils.isFunction(formData.entries)) {\n const obj = {};\n\n utils.forEachEntry(formData, (name, value) => {\n buildPath(parsePropPath(name), value, obj, 0);\n });\n\n return obj;\n }\n\n return null;\n}\n\nexport default formDataToJSON;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport transitionalDefaults from './transitional.js';\nimport toFormData from '../helpers/toFormData.js';\nimport toURLEncodedForm from '../helpers/toURLEncodedForm.js';\nimport platform from '../platform/index.js';\nimport formDataToJSON from '../helpers/formDataToJSON.js';\n\nconst own = (obj, key) => (obj != null && utils.hasOwnProp(obj, key) ? obj[key] : undefined);\n\n/**\n * It takes a string, tries to parse it, and if it fails, it returns the stringified version\n * of the input\n *\n * @param {any} rawValue - The value to be stringified.\n * @param {Function} parser - A function that parses a string into a JavaScript object.\n * @param {Function} encoder - A function that takes a value and returns a string.\n *\n * @returns {string} A stringified version of the rawValue.\n */\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nconst defaults = {\n transitional: transitionalDefaults,\n\n adapter: ['xhr', 'http', 'fetch'],\n\n transformRequest: [\n function transformRequest(data, headers) {\n const contentType = headers.getContentType() || '';\n const hasJSONContentType = contentType.indexOf('application/json') > -1;\n const isObjectPayload = utils.isObject(data);\n\n if (isObjectPayload && utils.isHTMLForm(data)) {\n data = new FormData(data);\n }\n\n const isFormData = utils.isFormData(data);\n\n if (isFormData) {\n return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;\n }\n\n if (\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data) ||\n utils.isReadableStream(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);\n return data.toString();\n }\n\n let isFileList;\n\n if (isObjectPayload) {\n const formSerializer = own(this, 'formSerializer');\n if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {\n return toURLEncodedForm(data, formSerializer).toString();\n }\n\n if (\n (isFileList = utils.isFileList(data)) ||\n contentType.indexOf('multipart/form-data') > -1\n ) {\n const env = own(this, 'env');\n const _FormData = env && env.FormData;\n\n return toFormData(\n isFileList ? { 'files[]': data } : data,\n _FormData && new _FormData(),\n formSerializer\n );\n }\n }\n\n if (isObjectPayload || hasJSONContentType) {\n headers.setContentType('application/json', false);\n return stringifySafely(data);\n }\n\n return data;\n },\n ],\n\n transformResponse: [\n function transformResponse(data) {\n const transitional = own(this, 'transitional') || defaults.transitional;\n const forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n const responseType = own(this, 'responseType');\n const JSONRequested = responseType === 'json';\n\n if (utils.isResponse(data) || utils.isReadableStream(data)) {\n return data;\n }\n\n if (\n data &&\n utils.isString(data) &&\n ((forcedJSONParsing && !responseType) || JSONRequested)\n ) {\n const silentJSONParsing = transitional && transitional.silentJSONParsing;\n const strictJSONParsing = !silentJSONParsing && JSONRequested;\n\n try {\n return JSON.parse(data, own(this, 'parseReviver'));\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response'));\n }\n throw e;\n }\n }\n }\n\n return data;\n },\n ],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n env: {\n FormData: platform.classes.FormData,\n Blob: platform.classes.Blob,\n },\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n Accept: 'application/json, text/plain, */*',\n 'Content-Type': undefined,\n },\n },\n};\n\nutils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => {\n defaults.headers[method] = {};\n});\n\nexport default defaults;\n","'use strict';\n\nimport utils from '../utils.js';\nimport toFormData from './toFormData.js';\nimport platform from '../platform/index.js';\n\nexport default function toURLEncodedForm(data, options) {\n return toFormData(data, new platform.classes.URLSearchParams(), {\n visitor: function (value, key, path, helpers) {\n if (platform.isNode && utils.isBuffer(value)) {\n this.append(key, value.toString('base64'));\n return false;\n }\n\n return helpers.defaultVisitor.apply(this, arguments);\n },\n ...options,\n });\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport defaults from '../defaults/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Array|Function} fns A single function or Array of functions\n * @param {?Object} response The response object\n *\n * @returns {*} The resulting transformed data\n */\nexport default function transformData(fns, response) {\n const config = this || defaults;\n const context = response || config;\n const headers = AxiosHeaders.from(context.headers);\n let data = context.data;\n\n utils.forEach(fns, function transform(fn) {\n data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);\n });\n\n headers.normalize();\n\n return data;\n}\n","'use strict';\n\nexport default function isCancel(value) {\n return !!(value && value.__CANCEL__);\n}\n","'use strict';\n\nimport AxiosError from '../core/AxiosError.js';\n\nclass CanceledError extends AxiosError {\n /**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @param {string=} message The message.\n * @param {Object=} config The config.\n * @param {Object=} request The request.\n *\n * @returns {CanceledError} The created error.\n */\n constructor(message, config, request) {\n super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);\n this.name = 'CanceledError';\n this.__CANCEL__ = true;\n }\n}\n\nexport default CanceledError;\n","'use strict';\n\nimport AxiosError from './AxiosError.js';\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n *\n * @returns {object} The response.\n */\nexport default function settle(resolve, reject, response) {\n const validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(new AxiosError(\n 'Request failed with status code ' + response.status,\n response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE,\n response.config,\n response.request,\n response\n ));\n }\n}\n","import speedometer from './speedometer.js';\nimport throttle from './throttle.js';\nimport utils from '../utils.js';\n\nexport const progressEventReducer = (listener, isDownloadStream, freq = 3) => {\n let bytesNotified = 0;\n const _speedometer = speedometer(50, 250);\n\n return throttle((e) => {\n if (!e || typeof e.loaded !== 'number') {\n return;\n }\n const rawLoaded = e.loaded;\n const total = e.lengthComputable ? e.total : undefined;\n const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded;\n const progressBytes = Math.max(0, loaded - bytesNotified);\n const rate = _speedometer(progressBytes);\n\n bytesNotified = Math.max(bytesNotified, loaded);\n\n const data = {\n loaded,\n total,\n progress: total ? loaded / total : undefined,\n bytes: progressBytes,\n rate: rate ? rate : undefined,\n estimated: rate && total ? (total - loaded) / rate : undefined,\n event: e,\n lengthComputable: total != null,\n [isDownloadStream ? 'download' : 'upload']: true,\n };\n\n listener(data);\n }, freq);\n};\n\nexport const progressEventDecorator = (total, throttled) => {\n const lengthComputable = total != null;\n\n return [\n (loaded) =>\n throttled[0]({\n lengthComputable,\n total,\n loaded,\n }),\n throttled[1],\n ];\n};\n\nexport const asyncDecorator =\n (fn) =>\n (...args) =>\n utils.asap(() => fn(...args));\n","'use strict';\n\n/**\n * Calculate data maxRate\n * @param {Number} [samplesCount= 10]\n * @param {Number} [min= 1000]\n * @returns {Function}\n */\nfunction speedometer(samplesCount, min) {\n samplesCount = samplesCount || 10;\n const bytes = new Array(samplesCount);\n const timestamps = new Array(samplesCount);\n let head = 0;\n let tail = 0;\n let firstSampleTS;\n\n min = min !== undefined ? min : 1000;\n\n return function push(chunkLength) {\n const now = Date.now();\n\n const startedAt = timestamps[tail];\n\n if (!firstSampleTS) {\n firstSampleTS = now;\n }\n\n bytes[head] = chunkLength;\n timestamps[head] = now;\n\n let i = tail;\n let bytesCount = 0;\n\n while (i !== head) {\n bytesCount += bytes[i++];\n i = i % samplesCount;\n }\n\n head = (head + 1) % samplesCount;\n\n if (head === tail) {\n tail = (tail + 1) % samplesCount;\n }\n\n if (now - firstSampleTS < min) {\n return;\n }\n\n const passed = startedAt && now - startedAt;\n\n return passed ? Math.round((bytesCount * 1000) / passed) : undefined;\n };\n}\n\nexport default speedometer;\n","/**\n * Throttle decorator\n * @param {Function} fn\n * @param {Number} freq\n * @return {Function}\n */\nfunction throttle(fn, freq) {\n let timestamp = 0;\n let threshold = 1000 / freq;\n let lastArgs;\n let timer;\n\n const invoke = (args, now = Date.now()) => {\n timestamp = now;\n lastArgs = null;\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n fn(...args);\n };\n\n const throttled = (...args) => {\n const now = Date.now();\n const passed = now - timestamp;\n if (passed >= threshold) {\n invoke(args, now);\n } else {\n lastArgs = args;\n if (!timer) {\n timer = setTimeout(() => {\n timer = null;\n invoke(lastArgs);\n }, threshold - passed);\n }\n }\n };\n\n const flush = () => lastArgs && invoke(lastArgs);\n\n return [throttled, flush];\n}\n\nexport default throttle;\n","import platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv\n ? ((origin, isMSIE) => (url) => {\n url = new URL(url, platform.origin);\n\n return (\n origin.protocol === url.protocol &&\n origin.host === url.host &&\n (isMSIE || origin.port === url.port)\n );\n })(\n new URL(platform.origin),\n platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)\n )\n : () => true;\n","import utils from '../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv\n ? // Standard browser envs support document.cookie\n {\n write(name, value, expires, path, domain, secure, sameSite) {\n if (typeof document === 'undefined') return;\n\n const cookie = [`${name}=${encodeURIComponent(value)}`];\n\n if (utils.isNumber(expires)) {\n cookie.push(`expires=${new Date(expires).toUTCString()}`);\n }\n if (utils.isString(path)) {\n cookie.push(`path=${path}`);\n }\n if (utils.isString(domain)) {\n cookie.push(`domain=${domain}`);\n }\n if (secure === true) {\n cookie.push('secure');\n }\n if (utils.isString(sameSite)) {\n cookie.push(`SameSite=${sameSite}`);\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read(name) {\n if (typeof document === 'undefined') return null;\n // Match name=value by splitting on the semicolon separator instead of building a\n // RegExp from `name` — interpolating an unescaped string into a RegExp would let\n // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or\n // match the wrong cookie. Browsers may serialize cookie pairs as either \";\" or\n // \"; \", so ignore optional whitespace before each cookie name.\n const cookies = document.cookie.split(';');\n for (let i = 0; i < cookies.length; i++) {\n const cookie = cookies[i].replace(/^\\s+/, '');\n const eq = cookie.indexOf('=');\n if (eq !== -1 && cookie.slice(0, eq) === name) {\n try {\n return decodeURIComponent(cookie.slice(eq + 1));\n } catch (e) {\n return cookie.slice(eq + 1);\n }\n }\n }\n return null;\n },\n\n remove(name) {\n this.write(name, '', Date.now() - 86400000, '/');\n },\n }\n : // Non-standard browser env (web workers, react-native) lack needed support.\n {\n write() {},\n read() {\n return null;\n },\n remove() {},\n };\n","'use strict';\n\nimport AxiosError from './AxiosError.js';\nimport isAbsoluteURL from '../helpers/isAbsoluteURL.js';\nimport combineURLs from '../helpers/combineURLs.js';\n\nconst malformedHttpProtocol = /^https?:(?!\\/\\/)/i;\nconst httpProtocolControlCharacters = /[\\t\\n\\r]/g;\n\nfunction stripLeadingC0ControlOrSpace(url) {\n let i = 0;\n while (i < url.length && url.charCodeAt(i) <= 0x20) {\n i++;\n }\n return url.slice(i);\n}\n\nfunction normalizeURLForProtocolCheck(url) {\n return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, '');\n}\n\nfunction assertValidHttpProtocolURL(url, config) {\n if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) {\n throw new AxiosError(\n 'Invalid URL: missing \"//\" after protocol',\n AxiosError.ERR_INVALID_URL,\n config\n );\n }\n}\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n *\n * @returns {string} The combined full path\n */\nexport default function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {\n assertValidHttpProtocolURL(requestedURL, config);\n let isRelativeUrl = !isAbsoluteURL(requestedURL);\n if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) {\n assertValidHttpProtocolURL(baseURL, config);\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n}\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n *\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nexport default function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n if (typeof url !== 'string') {\n return false;\n }\n\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n}\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n *\n * @returns {string} The combined URL\n */\nexport default function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/?\\/$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst headersToObject = (thing) => (thing instanceof AxiosHeaders ? { ...thing } : thing);\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n *\n * @returns {Object} New object resulting from merging config2 to config1\n */\nexport default function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config1 = config1 || {};\n config2 = config2 || {};\n\n // Use a null-prototype object so that downstream reads such as `config.auth`\n // or `config.baseURL` cannot inherit polluted values from Object.prototype.\n // `hasOwnProperty` is restored as a non-enumerable own slot to preserve\n // ergonomics for user code that relies on it.\n const config = Object.create(null);\n Object.defineProperty(config, 'hasOwnProperty', {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: Object.prototype.hasOwnProperty,\n enumerable: false,\n writable: true,\n configurable: true,\n });\n\n function getMergedValue(target, source, prop, caseless) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge.call({ caseless }, target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(a, b, prop, caseless) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(a, b, prop, caseless);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a, prop, caseless);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a);\n }\n }\n\n function getMergedTransitionalOption(prop) {\n const transitional2 = utils.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined;\n\n if (!utils.isUndefined(transitional2)) {\n if (utils.isPlainObject(transitional2)) {\n if (utils.hasOwnProp(transitional2, prop)) {\n return transitional2[prop];\n }\n } else {\n return undefined;\n }\n }\n\n const transitional1 = utils.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined;\n\n if (utils.isPlainObject(transitional1) && utils.hasOwnProp(transitional1, prop)) {\n return transitional1[prop];\n }\n\n return undefined;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(a, b, prop) {\n if (utils.hasOwnProp(config2, prop)) {\n return getMergedValue(a, b);\n } else if (utils.hasOwnProp(config1, prop)) {\n return getMergedValue(undefined, a);\n }\n }\n\n const mergeMap = {\n url: valueFromConfig2,\n method: valueFromConfig2,\n data: valueFromConfig2,\n baseURL: defaultToConfig2,\n transformRequest: defaultToConfig2,\n transformResponse: defaultToConfig2,\n paramsSerializer: defaultToConfig2,\n timeout: defaultToConfig2,\n timeoutMessage: defaultToConfig2,\n withCredentials: defaultToConfig2,\n withXSRFToken: defaultToConfig2,\n adapter: defaultToConfig2,\n responseType: defaultToConfig2,\n xsrfCookieName: defaultToConfig2,\n xsrfHeaderName: defaultToConfig2,\n onUploadProgress: defaultToConfig2,\n onDownloadProgress: defaultToConfig2,\n decompress: defaultToConfig2,\n maxContentLength: defaultToConfig2,\n maxBodyLength: defaultToConfig2,\n beforeRedirect: defaultToConfig2,\n transport: defaultToConfig2,\n httpAgent: defaultToConfig2,\n httpsAgent: defaultToConfig2,\n cancelToken: defaultToConfig2,\n socketPath: defaultToConfig2,\n allowedSocketPaths: defaultToConfig2,\n responseEncoding: defaultToConfig2,\n validateStatus: mergeDirectKeys,\n headers: (a, b, prop) =>\n mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),\n };\n\n utils.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {\n if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;\n const merge = utils.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;\n const a = utils.hasOwnProp(config1, prop) ? config1[prop] : undefined;\n const b = utils.hasOwnProp(config2, prop) ? config2[prop] : undefined;\n const configValue = merge(a, b, prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n if (\n utils.hasOwnProp(config2, 'validateStatus') &&\n utils.isUndefined(config2.validateStatus) &&\n getMergedTransitionalOption('validateStatusUndefinedResolves') === false\n ) {\n if (utils.hasOwnProp(config1, 'validateStatus')) {\n config.validateStatus = getMergedValue(undefined, config1.validateStatus);\n } else {\n delete config.validateStatus;\n }\n }\n\n return config;\n}\n","import platform from '../platform/index.js';\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport isURLSameOrigin from './isURLSameOrigin.js';\nimport cookies from './cookies.js';\nimport buildFullPath from '../core/buildFullPath.js';\nimport mergeConfig from '../core/mergeConfig.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport buildURL from './buildURL.js';\n\nconst FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length'];\n\nfunction setFormDataHeaders(headers, formHeaders, policy) {\n if (policy !== 'content-only') {\n headers.set(formHeaders);\n return;\n }\n\n Object.entries(formHeaders || {}).forEach(([key, val]) => {\n if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {\n headers.set(key, val);\n }\n });\n}\n\n/**\n * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().\n * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.\n *\n * @param {string} str The string to encode\n *\n * @returns {string} UTF-8 bytes as a Latin-1 string\n */\nconst encodeUTF8 = (str) =>\n encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>\n String.fromCharCode(parseInt(hex, 16))\n );\n\nfunction resolveConfig(config) {\n const newConfig = mergeConfig({}, config);\n\n // Read only own properties to prevent prototype pollution gadgets\n // (e.g. Object.prototype.baseURL = 'https://evil.com').\n const own = (key) => (utils.hasOwnProp(newConfig, key) ? newConfig[key] : undefined);\n\n const data = own('data');\n let withXSRFToken = own('withXSRFToken');\n const xsrfHeaderName = own('xsrfHeaderName');\n const xsrfCookieName = own('xsrfCookieName');\n let headers = own('headers');\n const auth = own('auth');\n const baseURL = own('baseURL');\n const allowAbsoluteUrls = own('allowAbsoluteUrls');\n const url = own('url');\n\n newConfig.headers = headers = AxiosHeaders.from(headers);\n\n newConfig.url = buildURL(\n buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig),\n own('params'),\n own('paramsSerializer')\n );\n\n // HTTP basic authentication\n if (auth) {\n const username = utils.getSafeProp(auth, 'username') || '';\n const password = utils.getSafeProp(auth, 'password') || '';\n\n try {\n headers.set(\n 'Authorization',\n 'Basic ' + btoa(username + ':' + (password ? encodeUTF8(password) : ''))\n );\n } catch (e) {\n throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config);\n }\n }\n\n if (utils.isFormData(data)) {\n if (\n platform.hasStandardBrowserEnv ||\n platform.hasStandardBrowserWebWorkerEnv ||\n utils.isReactNative(data)\n ) {\n headers.setContentType(undefined); // browser/web worker/RN handles it\n } else if (utils.isFunction(data.getHeaders)) {\n // Node.js FormData (like form-data package)\n setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy'));\n }\n }\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n\n if (platform.hasStandardBrowserEnv) {\n if (utils.isFunction(withXSRFToken)) {\n withXSRFToken = withXSRFToken(newConfig);\n }\n\n // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1)\n // and misconfigurations (e.g. \"false\") from short-circuiting the same-origin check and leaking\n // the XSRF token cross-origin.\n const shouldSendXSRF =\n withXSRFToken === true || (withXSRFToken == null && isURLSameOrigin(newConfig.url));\n\n if (shouldSendXSRF) {\n const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);\n\n if (xsrfValue) {\n headers.set(xsrfHeaderName, xsrfValue);\n }\n }\n }\n\n return newConfig;\n}\n\nexport default resolveConfig;\n","import utils from '../utils.js';\nimport settle from '../core/settle.js';\nimport transitionalDefaults from '../defaults/transitional.js';\nimport AxiosError from '../core/AxiosError.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport parseProtocol from '../helpers/parseProtocol.js';\nimport platform from '../platform/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport { progressEventReducer } from '../helpers/progressEventReducer.js';\nimport resolveConfig from '../helpers/resolveConfig.js';\nimport { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js';\n\nconst isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';\n\nexport default isXHRAdapterSupported &&\n function (config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n const _config = resolveConfig(config);\n let requestData = _config.data;\n const requestHeaders = AxiosHeaders.from(_config.headers).normalize();\n let { responseType, onUploadProgress, onDownloadProgress } = _config;\n let onCanceled;\n let uploadThrottled, downloadThrottled;\n let flushUpload, flushDownload;\n\n function done() {\n flushUpload && flushUpload(); // flush events\n flushDownload && flushDownload(); // flush events\n\n _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);\n\n _config.signal && _config.signal.removeEventListener('abort', onCanceled);\n }\n\n let request = new XMLHttpRequest();\n\n request.open(_config.method.toUpperCase(), _config.url, true);\n\n // Set the request timeout in MS\n request.timeout = _config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n const responseHeaders = AxiosHeaders.from(\n 'getAllResponseHeaders' in request && request.getAllResponseHeaders()\n );\n const responseData =\n !responseType || responseType === 'text' || responseType === 'json'\n ? request.responseText\n : request.response;\n const response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config,\n request,\n };\n\n settle(\n function _resolve(value) {\n resolve(value);\n done();\n },\n function _reject(err) {\n reject(err);\n done();\n },\n response\n );\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (\n request.status === 0 &&\n !(request.responseURL && request.responseURL.startsWith('file:'))\n ) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));\n done();\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError(event) {\n // Browsers deliver a ProgressEvent in XHR onerror\n // (message may be empty; when present, surface it)\n // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event\n const msg = event && event.message ? event.message : 'Network Error';\n const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);\n // attach the underlying event for consumers who want details\n err.event = event || null;\n reject(err);\n done();\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n let timeoutErrorMessage = _config.timeout\n ? 'timeout of ' + _config.timeout + 'ms exceeded'\n : 'timeout exceeded';\n const transitional = _config.transitional || transitionalDefaults;\n if (_config.timeoutErrorMessage) {\n timeoutErrorMessage = _config.timeoutErrorMessage;\n }\n reject(\n new AxiosError(\n timeoutErrorMessage,\n transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,\n config,\n request\n )\n );\n done();\n\n // Clean up request\n request = null;\n };\n\n // Remove Content-Type if data is undefined\n requestData === undefined && requestHeaders.setContentType(null);\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) {\n request.setRequestHeader(key, val);\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(_config.withCredentials)) {\n request.withCredentials = !!_config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = _config.responseType;\n }\n\n // Handle progress if needed\n if (onDownloadProgress) {\n [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);\n request.addEventListener('progress', downloadThrottled);\n }\n\n // Not all browsers support upload events\n if (onUploadProgress && request.upload) {\n [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);\n\n request.upload.addEventListener('progress', uploadThrottled);\n\n request.upload.addEventListener('loadend', flushUpload);\n }\n\n if (_config.cancelToken || _config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = (cancel) => {\n if (!request) {\n return;\n }\n reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);\n request.abort();\n done();\n request = null;\n };\n\n _config.cancelToken && _config.cancelToken.subscribe(onCanceled);\n if (_config.signal) {\n _config.signal.aborted\n ? onCanceled()\n : _config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n const protocol = parseProtocol(_config.url);\n\n if (protocol && !platform.protocols.includes(protocol)) {\n reject(\n new AxiosError(\n 'Unsupported protocol ' + protocol + ':',\n AxiosError.ERR_BAD_REQUEST,\n config\n )\n );\n done();\n return;\n }\n\n // Send the request\n request.send(requestData || null);\n });\n };\n","'use strict';\n\nexport default function parseProtocol(url) {\n const match = /^([-+\\w]{1,25}):(?:\\/\\/)?/.exec(url);\n return (match && match[1]) || '';\n}\n","import CanceledError from '../cancel/CanceledError.js';\nimport AxiosError from '../core/AxiosError.js';\nimport utils from '../utils.js';\n\nconst composeSignals = (signals, timeout) => {\n signals = signals ? signals.filter(Boolean) : [];\n\n if (!timeout && !signals.length) {\n return;\n }\n\n const controller = new AbortController();\n\n let aborted = false;\n\n const onabort = function (reason) {\n if (!aborted) {\n aborted = true;\n unsubscribe();\n const err = reason instanceof Error ? reason : this.reason;\n controller.abort(\n err instanceof AxiosError\n ? err\n : new CanceledError(err instanceof Error ? err.message : err)\n );\n }\n };\n\n let timer =\n timeout &&\n setTimeout(() => {\n timer = null;\n onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT));\n }, timeout);\n\n const unsubscribe = () => {\n if (!signals) { return; }\n timer && clearTimeout(timer);\n timer = null;\n signals.forEach((signal) => {\n signal.unsubscribe\n ? signal.unsubscribe(onabort)\n : signal.removeEventListener('abort', onabort);\n });\n signals = null;\n };\n\n signals.forEach((signal) => signal.addEventListener('abort', onabort, { once: true }));\n\n const { signal } = controller;\n\n signal.unsubscribe = () => utils.asap(unsubscribe);\n\n return signal;\n};\n\nexport default composeSignals;\n","export const streamChunk = function* (chunk, chunkSize) {\n let len = chunk.byteLength;\n\n if (!chunkSize || len < chunkSize) {\n yield chunk;\n return;\n }\n\n let pos = 0;\n let end;\n\n while (pos < len) {\n end = pos + chunkSize;\n yield chunk.slice(pos, end);\n pos = end;\n }\n};\n\nexport const readBytes = async function* (iterable, chunkSize) {\n for await (const chunk of readStream(iterable)) {\n yield* streamChunk(chunk, chunkSize);\n }\n};\n\nconst readStream = async function* (stream) {\n if (stream[Symbol.asyncIterator]) {\n yield* stream;\n return;\n }\n\n const reader = stream.getReader();\n try {\n for (;;) {\n const { done, value } = await reader.read();\n if (done) {\n break;\n }\n yield value;\n }\n } finally {\n await reader.cancel();\n }\n};\n\nexport const trackStream = (stream, chunkSize, onProgress, onFinish) => {\n const iterator = readBytes(stream, chunkSize);\n\n let bytes = 0;\n let done;\n let _onFinish = (e) => {\n if (!done) {\n done = true;\n onFinish && onFinish(e);\n }\n };\n\n return new ReadableStream(\n {\n async pull(controller) {\n try {\n const { done, value } = await iterator.next();\n\n if (done) {\n _onFinish();\n controller.close();\n return;\n }\n\n let len = value.byteLength;\n if (onProgress) {\n let loadedBytes = (bytes += len);\n onProgress(loadedBytes);\n }\n controller.enqueue(new Uint8Array(value));\n } catch (err) {\n _onFinish(err);\n throw err;\n }\n },\n cancel(reason) {\n _onFinish(reason);\n return iterator.return();\n },\n },\n {\n highWaterMark: 2,\n }\n );\n};\n","/**\n * Estimate decoded byte length of a data:// URL *without* allocating large buffers.\n * - For base64: compute exact decoded size using length and padding;\n * handle %XX at the character-count level (no string allocation).\n * - For non-base64: compute the exact percent-decoded UTF-8 byte length.\n *\n * @param {string} url\n * @returns {number}\n */\nconst isHexDigit = (charCode) =>\n (charCode >= 48 && charCode <= 57) ||\n (charCode >= 65 && charCode <= 70) ||\n (charCode >= 97 && charCode <= 102);\n\nconst isPercentEncodedByte = (str, i, len) =>\n i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2));\n\nexport default function estimateDataURLDecodedBytes(url) {\n if (!url || typeof url !== 'string') return 0;\n if (!url.startsWith('data:')) return 0;\n\n const comma = url.indexOf(',');\n if (comma < 0) return 0;\n\n const meta = url.slice(5, comma);\n const body = url.slice(comma + 1);\n const isBase64 = /;base64/i.test(meta);\n\n if (isBase64) {\n let effectiveLen = body.length;\n const len = body.length; // cache length\n\n for (let i = 0; i < len; i++) {\n if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) {\n const a = body.charCodeAt(i + 1);\n const b = body.charCodeAt(i + 2);\n const isHex = isHexDigit(a) && isHexDigit(b);\n\n if (isHex) {\n effectiveLen -= 2;\n i += 2;\n }\n }\n }\n\n let pad = 0;\n let idx = len - 1;\n\n const tailIsPct3D = (j) =>\n j >= 2 &&\n body.charCodeAt(j - 2) === 37 && // '%'\n body.charCodeAt(j - 1) === 51 && // '3'\n (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd'\n\n if (idx >= 0) {\n if (body.charCodeAt(idx) === 61 /* '=' */) {\n pad++;\n idx--;\n } else if (tailIsPct3D(idx)) {\n pad++;\n idx -= 3;\n }\n }\n\n if (pad === 1 && idx >= 0) {\n if (body.charCodeAt(idx) === 61 /* '=' */) {\n pad++;\n } else if (tailIsPct3D(idx)) {\n pad++;\n }\n }\n\n const groups = Math.floor(effectiveLen / 4);\n const bytes = groups * 3 - (pad || 0);\n return bytes > 0 ? bytes : 0;\n }\n\n // Compute UTF-8 byte length directly from UTF-16 code units without allocating\n // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies).\n // Valid %XX triplets count as one decoded byte; this matches the bytes that\n // decodeURIComponent(body) would produce before Buffer re-encodes the string.\n let bytes = 0;\n for (let i = 0, len = body.length; i < len; i++) {\n const c = body.charCodeAt(i);\n if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) {\n bytes += 1;\n i += 2;\n } else if (c < 0x80) {\n bytes += 1;\n } else if (c < 0x800) {\n bytes += 2;\n } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) {\n const next = body.charCodeAt(i + 1);\n if (next >= 0xdc00 && next <= 0xdfff) {\n bytes += 4;\n i++;\n } else {\n bytes += 3;\n }\n } else {\n bytes += 3;\n }\n }\n return bytes;\n}\n","export const VERSION = \"1.18.1\";","import platform from '../platform/index.js';\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport composeSignals from '../helpers/composeSignals.js';\nimport { trackStream } from '../helpers/trackStream.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport {\n progressEventReducer,\n progressEventDecorator,\n asyncDecorator,\n} from '../helpers/progressEventReducer.js';\nimport resolveConfig from '../helpers/resolveConfig.js';\nimport settle from '../core/settle.js';\nimport estimateDataURLDecodedBytes from '../helpers/estimateDataURLDecodedBytes.js';\nimport { VERSION } from '../env/data.js';\nimport { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js';\n\nconst DEFAULT_CHUNK_SIZE = 64 * 1024;\n\nconst { isFunction } = utils;\n\n/**\n * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().\n * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.\n *\n * @param {string} str The string to encode\n *\n * @returns {string} UTF-8 bytes as a Latin-1 string\n */\nconst encodeUTF8 = (str) =>\n encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>\n String.fromCharCode(parseInt(hex, 16))\n );\n\n// Node's WHATWG URL parser returns `username` and `password` percent-encoded.\n// Decode before composing the `auth` option so credentials such as\n// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the\n// original value for malformed input so a bad encoding never throws.\nconst decodeURIComponentSafe = (value) => {\n if (!utils.isString(value)) {\n return value;\n }\n\n try {\n return decodeURIComponent(value);\n } catch (error) {\n return value;\n }\n};\n\nconst test = (fn, ...args) => {\n try {\n return !!fn(...args);\n } catch (e) {\n return false;\n }\n};\n\nconst maybeWithAuthCredentials = (url) => {\n const protocolIndex = url.indexOf('://');\n let urlToCheck = url;\n if (protocolIndex !== -1) {\n urlToCheck = urlToCheck.slice(protocolIndex + 3);\n }\n return urlToCheck.includes('@') || urlToCheck.includes(':');\n};\n\nconst factory = (env) => {\n const globalObject =\n utils.global !== undefined && utils.global !== null\n ? utils.global\n : globalThis;\n const { ReadableStream, TextEncoder } = globalObject;\n\n env = utils.merge.call(\n {\n skipUndefined: true,\n },\n {\n Request: globalObject.Request,\n Response: globalObject.Response,\n },\n env\n );\n\n const { fetch: envFetch, Request, Response } = env;\n const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';\n const isRequestSupported = isFunction(Request);\n const isResponseSupported = isFunction(Response);\n\n if (!isFetchSupported) {\n return false;\n }\n\n const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream);\n\n const encodeText =\n isFetchSupported &&\n (typeof TextEncoder === 'function'\n ? (\n (encoder) => (str) =>\n encoder.encode(str)\n )(new TextEncoder())\n : async (str) => new Uint8Array(await new Request(str).arrayBuffer()));\n\n const supportsRequestStream =\n isRequestSupported &&\n isReadableStreamSupported &&\n test(() => {\n let duplexAccessed = false;\n\n const request = new Request(platform.origin, {\n body: new ReadableStream(),\n method: 'POST',\n get duplex() {\n duplexAccessed = true;\n return 'half';\n },\n });\n\n const hasContentType = request.headers.has('Content-Type');\n\n if (request.body != null) {\n request.body.cancel();\n }\n\n return duplexAccessed && !hasContentType;\n });\n\n const supportsResponseStream =\n isResponseSupported &&\n isReadableStreamSupported &&\n test(() => utils.isReadableStream(new Response('').body));\n\n const resolvers = {\n stream: supportsResponseStream && ((res) => res.body),\n };\n\n isFetchSupported &&\n (() => {\n ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => {\n !resolvers[type] &&\n (resolvers[type] = (res, config) => {\n let method = res && res[type];\n\n if (method) {\n return method.call(res);\n }\n\n throw new AxiosError(\n `Response type '${type}' is not supported`,\n AxiosError.ERR_NOT_SUPPORT,\n config\n );\n });\n });\n })();\n\n const getBodyLength = async (body) => {\n if (body == null) {\n return 0;\n }\n\n if (utils.isBlob(body)) {\n return body.size;\n }\n\n if (utils.isSpecCompliantForm(body)) {\n const _request = new Request(platform.origin, {\n method: 'POST',\n body,\n });\n return (await _request.arrayBuffer()).byteLength;\n }\n\n if (utils.isArrayBufferView(body) || utils.isArrayBuffer(body)) {\n return body.byteLength;\n }\n\n if (utils.isURLSearchParams(body)) {\n body = body + '';\n }\n\n if (utils.isString(body)) {\n return (await encodeText(body)).byteLength;\n }\n };\n\n const resolveBodyLength = async (headers, body) => {\n const length = utils.toFiniteNumber(headers.getContentLength());\n\n return length == null ? getBodyLength(body) : length;\n };\n\n return async (config) => {\n let {\n url,\n method,\n data,\n signal,\n cancelToken,\n timeout,\n onDownloadProgress,\n onUploadProgress,\n responseType,\n headers,\n withCredentials = 'same-origin',\n fetchOptions,\n maxContentLength,\n maxBodyLength,\n } = resolveConfig(config);\n\n const hasMaxContentLength = utils.isNumber(maxContentLength) && maxContentLength > -1;\n const hasMaxBodyLength = utils.isNumber(maxBodyLength) && maxBodyLength > -1;\n const own = (key) => (utils.hasOwnProp(config, key) ? config[key] : undefined);\n\n let _fetch = envFetch || fetch;\n\n responseType = responseType ? (responseType + '').toLowerCase() : 'text';\n\n let composedSignal = composeSignals(\n [signal, cancelToken && cancelToken.toAbortSignal()],\n timeout\n );\n\n let request = null;\n\n const unsubscribe =\n composedSignal &&\n composedSignal.unsubscribe &&\n (() => {\n composedSignal.unsubscribe();\n });\n\n let requestContentLength;\n\n // AxiosError we raise while the request body is being streamed. Captured\n // by identity so the catch block can surface it directly, regardless of\n // how the runtime wraps the resulting fetch rejection (undici exposes it\n // as `err.cause`; some browsers drop the original error entirely).\n let pendingBodyError = null;\n\n const maxBodyLengthError = () =>\n new AxiosError(\n 'Request body larger than maxBodyLength limit',\n AxiosError.ERR_BAD_REQUEST,\n config,\n request\n );\n\n try {\n // HTTP basic authentication\n let auth = undefined;\n const configAuth = own('auth');\n\n if (configAuth) {\n const username = utils.getSafeProp(configAuth, 'username') || '';\n const password = utils.getSafeProp(configAuth, 'password') || '';\n auth = {\n username,\n password\n };\n }\n\n if (maybeWithAuthCredentials(url)) {\n const parsedURL = new URL(url, platform.origin);\n\n if (!auth && (parsedURL.username || parsedURL.password)) {\n const urlUsername = decodeURIComponentSafe(parsedURL.username);\n const urlPassword = decodeURIComponentSafe(parsedURL.password);\n auth = {\n username: urlUsername,\n password: urlPassword\n };\n }\n\n if (parsedURL.username || parsedURL.password) {\n parsedURL.username = '';\n parsedURL.password = '';\n url = parsedURL.href;\n }\n }\n\n if (auth) {\n headers.delete('authorization');\n headers.set(\n 'Authorization',\n 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || '')))\n );\n }\n\n // Enforce maxContentLength for data: URLs up-front so we never materialize\n // an oversized payload. The HTTP adapter applies the same check (see http.js\n // \"if (protocol === 'data:')\" branch).\n if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) {\n const estimated = estimateDataURLDecodedBytes(url);\n if (estimated > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n // Enforce maxBodyLength against known-size bodies before dispatch using\n // the body's *actual* size — never a caller-declared Content-Length,\n // which could under-report to slip an oversized body past the check.\n // Unknown-size streams return undefined here and are counted per-chunk\n // below as fetch consumes them.\n if (hasMaxBodyLength && method !== 'get' && method !== 'head') {\n const outboundLength = await getBodyLength(data);\n if (typeof outboundLength === 'number' && isFinite(outboundLength)) {\n requestContentLength = outboundLength;\n if (outboundLength > maxBodyLength) {\n throw maxBodyLengthError();\n }\n }\n }\n\n // A streamed body under maxBodyLength must be counted as fetch consumes\n // it; its size is never trusted from a caller-declared Content-Length.\n const mustEnforceStreamBody =\n hasMaxBodyLength && (utils.isReadableStream(data) || utils.isStream(data));\n\n const trackRequestStream = (stream, onProgress, flush) =>\n trackStream(\n stream,\n DEFAULT_CHUNK_SIZE,\n (loadedBytes) => {\n if (hasMaxBodyLength && loadedBytes > maxBodyLength) {\n throw (pendingBodyError = maxBodyLengthError());\n }\n onProgress && onProgress(loadedBytes);\n },\n flush\n );\n\n if (\n supportsRequestStream &&\n method !== 'get' &&\n method !== 'head' &&\n (onUploadProgress || mustEnforceStreamBody)\n ) {\n requestContentLength =\n requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength;\n\n // A declared length of 0 is only trusted to skip the wrap when we are\n // not enforcing a stream limit (which must not rely on that header).\n if (requestContentLength !== 0 || mustEnforceStreamBody) {\n let _request = new Request(url, {\n method: 'POST',\n body: data,\n duplex: 'half',\n });\n\n let contentTypeHeader;\n\n if (utils.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {\n headers.setContentType(contentTypeHeader);\n }\n\n if (_request.body) {\n const [onProgress, flush] =\n (onUploadProgress &&\n progressEventDecorator(\n requestContentLength,\n progressEventReducer(asyncDecorator(onUploadProgress))\n )) ||\n [];\n\n data = trackRequestStream(_request.body, onProgress, flush);\n }\n }\n } else if (\n mustEnforceStreamBody &&\n !isRequestSupported &&\n isReadableStreamSupported &&\n method !== 'get' &&\n method !== 'head'\n ) {\n data = trackRequestStream(data);\n } else if (\n mustEnforceStreamBody &&\n isRequestSupported &&\n !supportsRequestStream &&\n method !== 'get' &&\n method !== 'head'\n ) {\n throw new AxiosError(\n 'Stream request bodies are not supported by the current fetch implementation',\n AxiosError.ERR_NOT_SUPPORT,\n config,\n request\n );\n }\n\n if (!utils.isString(withCredentials)) {\n withCredentials = withCredentials ? 'include' : 'omit';\n }\n\n // Cloudflare Workers throws when credentials are defined\n // see https://github.com/cloudflare/workerd/issues/902\n const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;\n\n // If data is FormData and Content-Type is multipart/form-data without boundary,\n // delete it so fetch can set it correctly with the boundary\n if (utils.isFormData(data)) {\n const contentType = headers.getContentType();\n if (\n contentType &&\n /^multipart\\/form-data/i.test(contentType) &&\n !/boundary=/i.test(contentType)\n ) {\n headers.delete('content-type');\n }\n }\n\n // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js)\n headers.set('User-Agent', 'axios/' + VERSION, false);\n\n const resolvedOptions = {\n ...fetchOptions,\n signal: composedSignal,\n method: method.toUpperCase(),\n headers: toByteStringHeaderObject(headers.normalize()),\n body: data,\n duplex: 'half',\n credentials: isCredentialsSupported ? withCredentials : undefined,\n };\n\n request = isRequestSupported && new Request(url, resolvedOptions);\n\n let response = await (isRequestSupported\n ? _fetch(request, fetchOptions)\n : _fetch(url, resolvedOptions));\n\n const responseHeaders = AxiosHeaders.from(response.headers);\n\n // Cheap pre-check: if the server honestly declares a content-length that\n // already exceeds the cap, reject before we start streaming.\n if (hasMaxContentLength) {\n const declaredLength = utils.toFiniteNumber(responseHeaders.getContentLength());\n if (declaredLength != null && declaredLength > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n const isStreamResponse =\n supportsResponseStream && (responseType === 'stream' || responseType === 'response');\n\n if (\n supportsResponseStream &&\n response.body &&\n (onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe))\n ) {\n const options = {};\n\n ['status', 'statusText', 'headers'].forEach((prop) => {\n options[prop] = response[prop];\n });\n\n const responseContentLength = utils.toFiniteNumber(responseHeaders.getContentLength());\n\n const [onProgress, flush] =\n (onDownloadProgress &&\n progressEventDecorator(\n responseContentLength,\n progressEventReducer(asyncDecorator(onDownloadProgress), true)\n )) ||\n [];\n\n let bytesRead = 0;\n const onChunkProgress = (loadedBytes) => {\n if (hasMaxContentLength) {\n bytesRead = loadedBytes;\n if (bytesRead > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n onProgress && onProgress(loadedBytes);\n };\n\n response = new Response(\n trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => {\n flush && flush();\n unsubscribe && unsubscribe();\n }),\n options\n );\n }\n\n responseType = responseType || 'text';\n\n let responseData = await resolvers[utils.findKey(resolvers, responseType) || 'text'](\n response,\n config\n );\n\n // Fallback enforcement for environments without ReadableStream support\n // (legacy runtimes). Detect materialized size from typed output; skip\n // streams/Response passthrough since the user will read those themselves.\n if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) {\n let materializedSize;\n if (responseData != null) {\n if (typeof responseData.byteLength === 'number') {\n materializedSize = responseData.byteLength;\n } else if (typeof responseData.size === 'number') {\n materializedSize = responseData.size;\n } else if (typeof responseData === 'string') {\n materializedSize =\n typeof TextEncoder === 'function'\n ? new TextEncoder().encode(responseData).byteLength\n : responseData.length;\n }\n }\n if (typeof materializedSize === 'number' && materializedSize > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n !isStreamResponse && unsubscribe && unsubscribe();\n\n return await new Promise((resolve, reject) => {\n settle(resolve, reject, {\n data: responseData,\n headers: AxiosHeaders.from(response.headers),\n status: response.status,\n statusText: response.statusText,\n config,\n request,\n });\n });\n } catch (err) {\n unsubscribe && unsubscribe();\n\n // Safari can surface fetch aborts as a DOMException-like object whose\n // branded getters throw. Prefer our composed signal reason before reading\n // the caught error, preserving timeout vs cancellation semantics.\n if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError) {\n const canceledError = composedSignal.reason;\n canceledError.config = config;\n request && (canceledError.request = request);\n if (err !== canceledError) {\n // Non-enumerable to match native Error `cause` semantics so loggers\n // don't recurse into circular fetch internals (see #7205).\n Object.defineProperty(canceledError, 'cause', {\n __proto__: null,\n value: err,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n }\n throw canceledError;\n }\n\n // Surface a maxBodyLength violation we raised while the request body was\n // being streamed. Matching by identity (rather than reading\n // `err.cause.isAxiosError`) keeps the error deterministic across runtimes\n // and avoids both prototype-pollution reads and mis-attributing a foreign\n // AxiosError that merely happened to land in `err.cause`.\n if (pendingBodyError) {\n request && !pendingBodyError.request && (pendingBodyError.request = request);\n throw pendingBodyError;\n }\n\n // Re-throw AxiosErrors we raised synchronously (data: URL / content-length\n // pre-checks, response size enforcement) without re-wrapping them.\n if (err instanceof AxiosError) {\n request && !err.request && (err.request = request);\n throw err;\n }\n\n if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {\n const networkError = new AxiosError(\n 'Network Error',\n AxiosError.ERR_NETWORK,\n config,\n request,\n err && err.response\n );\n // Non-enumerable to match native Error `cause` semantics so loggers\n // don't recurse into circular fetch internals (see #7205).\n Object.defineProperty(networkError, 'cause', {\n __proto__: null,\n value: err.cause || err,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n throw networkError;\n }\n\n throw AxiosError.from(err, err && err.code, config, request, err && err.response);\n }\n };\n};\n\nconst seedCache = new Map();\n\nexport const getFetch = (config) => {\n let env = (config && config.env) || {};\n const { fetch, Request, Response } = env;\n const seeds = [Request, Response, fetch];\n\n let len = seeds.length,\n i = len,\n seed,\n target,\n map = seedCache;\n\n while (i--) {\n seed = seeds[i];\n target = map.get(seed);\n\n target === undefined && map.set(seed, (target = i ? new Map() : factory(env)));\n\n map = target;\n }\n\n return target;\n};\n\nconst adapter = getFetch();\n\nexport default adapter;\n","import utils from '../utils.js';\nimport httpAdapter from './http.js';\nimport xhrAdapter from './xhr.js';\nimport * as fetchAdapter from './fetch.js';\nimport AxiosError from '../core/AxiosError.js';\n\n/**\n * Known adapters mapping.\n * Provides environment-specific adapters for Axios:\n * - `http` for Node.js\n * - `xhr` for browsers\n * - `fetch` for fetch API-based requests\n *\n * @type {Object}\n */\nconst knownAdapters = {\n http: httpAdapter,\n xhr: xhrAdapter,\n fetch: {\n get: fetchAdapter.getFetch,\n },\n};\n\n// Assign adapter names for easier debugging and identification\nutils.forEach(knownAdapters, (fn, value) => {\n if (fn) {\n try {\n // Null-proto descriptors so a polluted Object.prototype.get cannot turn\n // these data descriptors into accessor descriptors on the way in.\n Object.defineProperty(fn, 'name', { __proto__: null, value });\n } catch (e) {\n // eslint-disable-next-line no-empty\n }\n Object.defineProperty(fn, 'adapterName', { __proto__: null, value });\n }\n});\n\n/**\n * Render a rejection reason string for unknown or unsupported adapters\n *\n * @param {string} reason\n * @returns {string}\n */\nconst renderReason = (reason) => `- ${reason}`;\n\n/**\n * Check if the adapter is resolved (function, null, or false)\n *\n * @param {Function|null|false} adapter\n * @returns {boolean}\n */\nconst isResolvedHandle = (adapter) =>\n utils.isFunction(adapter) || adapter === null || adapter === false;\n\n/**\n * Get the first suitable adapter from the provided list.\n * Tries each adapter in order until a supported one is found.\n * Throws an AxiosError if no adapter is suitable.\n *\n * @param {Array|string|Function} adapters - Adapter(s) by name or function.\n * @param {Object} config - Axios request configuration\n * @throws {AxiosError} If no suitable adapter is available\n * @returns {Function} The resolved adapter function\n */\nfunction getAdapter(adapters, config) {\n adapters = utils.isArray(adapters) ? adapters : [adapters];\n\n const { length } = adapters;\n let nameOrAdapter;\n let adapter;\n\n const rejectedReasons = {};\n\n for (let i = 0; i < length; i++) {\n nameOrAdapter = adapters[i];\n let id;\n\n adapter = nameOrAdapter;\n\n if (!isResolvedHandle(nameOrAdapter)) {\n adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];\n\n if (adapter === undefined) {\n throw new AxiosError(`Unknown adapter '${id}'`);\n }\n }\n\n if (adapter && (utils.isFunction(adapter) || (adapter = adapter.get(config)))) {\n break;\n }\n\n rejectedReasons[id || '#' + i] = adapter;\n }\n\n if (!adapter) {\n const reasons = Object.entries(rejectedReasons).map(\n ([id, state]) =>\n `adapter ${id} ` +\n (state === false ? 'is not supported by the environment' : 'is not available in the build')\n );\n\n let s = length\n ? reasons.length > 1\n ? 'since :\\n' + reasons.map(renderReason).join('\\n')\n : ' ' + renderReason(reasons[0])\n : 'as no adapter specified';\n\n throw new AxiosError(\n `There is no suitable adapter to dispatch the request ` + s,\n AxiosError.ERR_NOT_SUPPORT\n );\n }\n\n return adapter;\n}\n\n/**\n * Exports Axios adapters and utility to resolve an adapter\n */\nexport default {\n /**\n * Resolve an adapter from a list of adapter names or functions.\n * @type {Function}\n */\n getAdapter,\n\n /**\n * Exposes all known adapters\n * @type {Object}\n */\n adapters: knownAdapters,\n};\n","// eslint-disable-next-line strict\nexport default null;\n","'use strict';\n\nimport transformData from './transformData.js';\nimport isCancel from '../cancel/isCancel.js';\nimport defaults from '../defaults/index.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport adapters from '../adapters/adapters.js';\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n *\n * @param {Object} config The config that is to be used for the request\n *\n * @returns {void}\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new CanceledError(null, config);\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n *\n * @returns {Promise} The Promise to be fulfilled\n */\nexport default function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n config.headers = AxiosHeaders.from(config.headers);\n\n // Transform request data\n config.data = transformData.call(config, config.transformRequest);\n\n if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {\n config.headers.setContentType('application/x-www-form-urlencoded', false);\n }\n\n const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config);\n\n return adapter(config).then(\n function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Expose the current response on config so that transformResponse can\n // attach it to any AxiosError it throws (e.g. on JSON parse failure).\n // We clean it up afterwards to avoid polluting the config object.\n config.response = response;\n try {\n response.data = transformData.call(config, config.transformResponse, response);\n } finally {\n delete config.response;\n }\n\n response.headers = AxiosHeaders.from(response.headers);\n\n return response;\n },\n function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n config.response = reason.response;\n try {\n reason.response.data = transformData.call(\n config,\n config.transformResponse,\n reason.response\n );\n } finally {\n delete config.response;\n }\n reason.response.headers = AxiosHeaders.from(reason.response.headers);\n }\n }\n\n return Promise.reject(reason);\n }\n );\n}\n","'use strict';\n\nimport { VERSION } from '../env/data.js';\nimport AxiosError from '../core/AxiosError.js';\n\nconst validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nconst deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n *\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n *\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return (\n '[Axios v' +\n VERSION +\n \"] Transitional option '\" +\n opt +\n \"'\" +\n desc +\n (message ? '. ' + message : '')\n );\n }\n\n // eslint-disable-next-line func-names\n return (value, opt, opts) => {\n if (validator === false) {\n throw new AxiosError(\n formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),\n AxiosError.ERR_DEPRECATED\n );\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\nvalidators.spelling = function spelling(correctSpelling) {\n return (value, opt) => {\n // eslint-disable-next-line no-console\n console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);\n return true;\n };\n};\n\n/**\n * Assert object's properties type\n *\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n *\n * @returns {object}\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object' || options === null) {\n throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);\n }\n const keys = Object.keys(options);\n let i = keys.length;\n while (i-- > 0) {\n const opt = keys[i];\n // Use hasOwnProperty so a polluted Object.prototype. cannot supply\n // a non-function validator and cause a TypeError.\n const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined;\n if (validator) {\n const value = options[opt];\n const result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new AxiosError(\n 'option ' + opt + ' must be ' + result,\n AxiosError.ERR_BAD_OPTION_VALUE\n );\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);\n }\n }\n}\n\nexport default {\n assertOptions,\n validators,\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport buildURL from '../helpers/buildURL.js';\nimport InterceptorManager from './InterceptorManager.js';\nimport dispatchRequest from './dispatchRequest.js';\nimport mergeConfig from './mergeConfig.js';\nimport buildFullPath from './buildFullPath.js';\nimport validator from '../helpers/validator.js';\nimport AxiosHeaders from './AxiosHeaders.js';\nimport transitionalDefaults from '../defaults/transitional.js';\n\nconst validators = validator.validators;\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n *\n * @return {Axios} A new instance of Axios\n */\nclass Axios {\n constructor(instanceConfig) {\n this.defaults = instanceConfig || {};\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager(),\n };\n }\n\n /**\n * Dispatch a request\n *\n * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)\n * @param {?Object} config\n *\n * @returns {Promise} The Promise to be fulfilled\n */\n async request(configOrUrl, config) {\n try {\n return await this._request(configOrUrl, config);\n } catch (err) {\n if (err instanceof Error) {\n let dummy = {};\n\n Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());\n\n // slice off the Error: ... line\n const stack = (() => {\n if (!dummy.stack) {\n return '';\n }\n\n const firstNewlineIndex = dummy.stack.indexOf('\\n');\n\n return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1);\n })();\n try {\n if (!err.stack) {\n err.stack = stack;\n // match without the 2 top stack lines\n } else if (stack) {\n const firstNewlineIndex = stack.indexOf('\\n');\n const secondNewlineIndex =\n firstNewlineIndex === -1 ? -1 : stack.indexOf('\\n', firstNewlineIndex + 1);\n const stackWithoutTwoTopLines =\n secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1);\n\n if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) {\n err.stack += '\\n' + stack;\n }\n }\n } catch (e) {\n // ignore the case where \"stack\" is an un-writable property\n }\n }\n\n throw err;\n }\n }\n\n _request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n const { transitional, paramsSerializer, headers } = config;\n\n if (transitional !== undefined) {\n validator.assertOptions(\n transitional,\n {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean),\n legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),\n advertiseZstdAcceptEncoding: validators.transitional(validators.boolean),\n validateStatusUndefinedResolves: validators.transitional(validators.boolean),\n },\n false\n );\n }\n\n if (paramsSerializer != null) {\n if (utils.isFunction(paramsSerializer)) {\n config.paramsSerializer = {\n serialize: paramsSerializer,\n };\n } else {\n validator.assertOptions(\n paramsSerializer,\n {\n encode: validators.function,\n serialize: validators.function,\n },\n true\n );\n }\n }\n\n // Set config.allowAbsoluteUrls\n if (config.allowAbsoluteUrls !== undefined) {\n // do nothing\n } else if (this.defaults.allowAbsoluteUrls !== undefined) {\n config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;\n } else {\n config.allowAbsoluteUrls = true;\n }\n\n validator.assertOptions(\n config,\n {\n baseUrl: validators.spelling('baseURL'),\n withXsrfToken: validators.spelling('withXSRFToken'),\n },\n true\n );\n\n // Set config.method\n config.method = (config.method || this.defaults.method || 'get').toLowerCase();\n\n // Flatten headers\n let contextHeaders = headers && utils.merge(headers.common, headers[config.method]);\n\n headers &&\n utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => {\n delete headers[method];\n });\n\n config.headers = AxiosHeaders.concat(contextHeaders, headers);\n\n // filter out skipped interceptors\n const requestInterceptorChain = [];\n let synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n const transitional = config.transitional || transitionalDefaults;\n const legacyInterceptorReqResOrdering =\n transitional && transitional.legacyInterceptorReqResOrdering;\n\n if (legacyInterceptorReqResOrdering) {\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n } else {\n requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n }\n });\n\n const responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n let promise;\n let i = 0;\n let len;\n\n if (!synchronousRequestInterceptors) {\n const chain = [dispatchRequest.bind(this), undefined];\n chain.unshift(...requestInterceptorChain);\n chain.push(...responseInterceptorChain);\n len = chain.length;\n\n promise = Promise.resolve(config);\n\n while (i < len) {\n promise = promise.then(chain[i++], chain[i++]);\n }\n\n return promise;\n }\n\n len = requestInterceptorChain.length;\n\n let newConfig = config;\n\n while (i < len) {\n const onFulfilled = requestInterceptorChain[i++];\n const onRejected = requestInterceptorChain[i++];\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected.call(this, error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest.call(this, newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n i = 0;\n len = responseInterceptorChain.length;\n\n while (i < len) {\n promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);\n }\n\n return promise;\n }\n\n getUri(config) {\n config = mergeConfig(this.defaults, config);\n const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config);\n return buildURL(fullPath, config.params, config.paramsSerializer);\n }\n}\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function (url, config) {\n return this.request(\n mergeConfig(config || {}, {\n method,\n url,\n data: config && utils.hasOwnProp(config, 'data') ? config.data : undefined,\n })\n );\n };\n});\n\nutils.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) {\n function generateHTTPMethod(isForm) {\n return function httpMethod(url, data, config) {\n return this.request(\n mergeConfig(config || {}, {\n method,\n headers: isForm\n ? {\n 'Content-Type': 'multipart/form-data',\n }\n : {},\n url,\n data,\n })\n );\n };\n }\n\n Axios.prototype[method] = generateHTTPMethod();\n\n // QUERY is a safe/idempotent read method; multipart form bodies don't fit\n // its semantics, so no queryForm shorthand is generated.\n if (method !== 'query') {\n Axios.prototype[method + 'Form'] = generateHTTPMethod(true);\n }\n});\n\nexport default Axios;\n","const HttpStatusCode = {\n Continue: 100,\n SwitchingProtocols: 101,\n Processing: 102,\n EarlyHints: 103,\n Ok: 200,\n Created: 201,\n Accepted: 202,\n NonAuthoritativeInformation: 203,\n NoContent: 204,\n ResetContent: 205,\n PartialContent: 206,\n MultiStatus: 207,\n AlreadyReported: 208,\n ImUsed: 226,\n MultipleChoices: 300,\n MovedPermanently: 301,\n Found: 302,\n SeeOther: 303,\n NotModified: 304,\n UseProxy: 305,\n Unused: 306,\n TemporaryRedirect: 307,\n PermanentRedirect: 308,\n BadRequest: 400,\n Unauthorized: 401,\n PaymentRequired: 402,\n Forbidden: 403,\n NotFound: 404,\n MethodNotAllowed: 405,\n NotAcceptable: 406,\n ProxyAuthenticationRequired: 407,\n RequestTimeout: 408,\n Conflict: 409,\n Gone: 410,\n LengthRequired: 411,\n PreconditionFailed: 412,\n PayloadTooLarge: 413,\n UriTooLong: 414,\n UnsupportedMediaType: 415,\n RangeNotSatisfiable: 416,\n ExpectationFailed: 417,\n ImATeapot: 418,\n MisdirectedRequest: 421,\n UnprocessableEntity: 422,\n Locked: 423,\n FailedDependency: 424,\n TooEarly: 425,\n UpgradeRequired: 426,\n PreconditionRequired: 428,\n TooManyRequests: 429,\n RequestHeaderFieldsTooLarge: 431,\n UnavailableForLegalReasons: 451,\n InternalServerError: 500,\n NotImplemented: 501,\n BadGateway: 502,\n ServiceUnavailable: 503,\n GatewayTimeout: 504,\n HttpVersionNotSupported: 505,\n VariantAlsoNegotiates: 506,\n InsufficientStorage: 507,\n LoopDetected: 508,\n NotExtended: 510,\n NetworkAuthenticationRequired: 511,\n WebServerIsDown: 521,\n ConnectionTimedOut: 522,\n OriginIsUnreachable: 523,\n TimeoutOccurred: 524,\n SslHandshakeFailed: 525,\n InvalidSslCertificate: 526,\n};\n\nObject.entries(HttpStatusCode).forEach(([key, value]) => {\n HttpStatusCode[value] = key;\n});\n\nexport default HttpStatusCode;\n","'use strict';\n\nimport utils from './utils.js';\nimport bind from './helpers/bind.js';\nimport Axios from './core/Axios.js';\nimport mergeConfig from './core/mergeConfig.js';\nimport defaults from './defaults/index.js';\nimport formDataToJSON from './helpers/formDataToJSON.js';\nimport CanceledError from './cancel/CanceledError.js';\nimport CancelToken from './cancel/CancelToken.js';\nimport isCancel from './cancel/isCancel.js';\nimport { VERSION } from './env/data.js';\nimport toFormData from './helpers/toFormData.js';\nimport AxiosError from './core/AxiosError.js';\nimport spread from './helpers/spread.js';\nimport isAxiosError from './helpers/isAxiosError.js';\nimport AxiosHeaders from './core/AxiosHeaders.js';\nimport adapters from './adapters/adapters.js';\nimport HttpStatusCode from './helpers/HttpStatusCode.js';\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n *\n * @returns {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n const context = new Axios(defaultConfig);\n const instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context, { allOwnKeys: true });\n\n // Copy context to instance\n utils.extend(instance, context, null, { allOwnKeys: true });\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nconst axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.CanceledError = CanceledError;\naxios.CancelToken = CancelToken;\naxios.isCancel = isCancel;\naxios.VERSION = VERSION;\naxios.toFormData = toFormData;\n\n// Expose AxiosError class\naxios.AxiosError = AxiosError;\n\n// alias for CanceledError for backward compatibility\naxios.Cancel = axios.CanceledError;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\n\naxios.spread = spread;\n\n// Expose isAxiosError\naxios.isAxiosError = isAxiosError;\n\n// Expose mergeConfig\naxios.mergeConfig = mergeConfig;\n\naxios.AxiosHeaders = AxiosHeaders;\n\naxios.formToJSON = (thing) => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);\n\naxios.getAdapter = adapters.getAdapter;\n\naxios.HttpStatusCode = HttpStatusCode;\n\naxios.default = axios;\n\n// this module should only have a default export\nexport default axios;\n","'use strict';\n\nimport CanceledError from './CanceledError.js';\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @param {Function} executor The executor function.\n *\n * @returns {CancelToken}\n */\nclass CancelToken {\n constructor(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n let resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n const token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then((cancel) => {\n if (!token._listeners) return;\n\n let i = token._listeners.length;\n\n while (i-- > 0) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = (onfulfilled) => {\n let _resolve;\n // eslint-disable-next-line func-names\n const promise = new Promise((resolve) => {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message, config, request) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new CanceledError(message, config, request);\n resolvePromise(token.reason);\n });\n }\n\n /**\n * Throws a `CanceledError` if cancellation has been requested.\n */\n throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n }\n\n /**\n * Subscribe to the cancel signal\n */\n\n subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n }\n\n /**\n * Unsubscribe from the cancel signal\n */\n\n unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n const index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n }\n\n toAbortSignal() {\n const controller = new AbortController();\n\n const abort = (err) => {\n controller.abort(err);\n };\n\n this.subscribe(abort);\n\n controller.signal.unsubscribe = () => this.unsubscribe(abort);\n\n return controller.signal;\n }\n\n /**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\n static source() {\n let cancel;\n const token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token,\n cancel,\n };\n }\n}\n\nexport default CancelToken;\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * const args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n *\n * @returns {Function}\n */\nexport default function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n *\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nexport default function isAxiosError(payload) {\n return utils.isObject(payload) && payload.isAxiosError === true;\n}\n","import axios from './lib/axios.js';\n\n// This module is intended to unwrap Axios default export as named.\n// Keep top-level export same with static properties\n// so that it can keep same with es module or cjs\nconst {\n Axios,\n AxiosError,\n CanceledError,\n isCancel,\n CancelToken,\n VERSION,\n all,\n Cancel,\n isAxiosError,\n spread,\n toFormData,\n AxiosHeaders,\n HttpStatusCode,\n formToJSON,\n getAdapter,\n mergeConfig,\n create,\n} = axios;\n\nexport {\n axios as default,\n create,\n Axios,\n AxiosError,\n CanceledError,\n isCancel,\n CancelToken,\n VERSION,\n all,\n Cancel,\n isAxiosError,\n spread,\n toFormData,\n AxiosHeaders,\n HttpStatusCode,\n formToJSON,\n getAdapter,\n mergeConfig,\n};\n"],"names":["bind","fn","thisArg","apply","arguments","toString","Object","prototype","getPrototypeOf","iterator","toStringTag","Symbol","hasOwnProperty","obj","prop","call","hasOwnInPrototypeChain","thing","seen","indexOf","push","kindOf","cache","create","str","slice","toLowerCase","kindOfTest","type","typeOfTest","isArray","Array","isUndefined","isBuffer","val","constructor","isFunction","isArrayBuffer","isString","isNumber","isObject","isPlainObject","isDate","isFile","isBlob","isFileList","G","globalThis","self","window","global","FormDataCtor","FormData","undefined","isURLSearchParams","isReadableStream","isRequest","isResponse","isHeaders","map","forEach","allOwnKeys","i","l","length","keys","getOwnPropertyNames","len","key","findKey","_key","_global","isContextDefined","context","isTypedArray","TypedArray","Uint8Array","isHTMLForm","propertyIsEnumerable","isRegExp","reduceDescriptors","reducer","descriptors","getOwnPropertyDescriptors","reducedDescriptors","descriptor","name","ret","defineProperties","isAsyncFn","_setImmediate","setImmediateSupported","setImmediate","postMessageSupported","postMessage","token","Math","random","callbacks","addEventListener","source","data","shift","cb","setTimeout","asap","queueMicrotask","process","nextTick","isIterable","utils$1","isFormData","proto","append","kind","isArrayBufferView","result","ArrayBuffer","isView","buffer","isBoolean","isEmptyObject","e","isReactNativeBlob","value","uri","isReactNative","formData","getParts","isStream","pipe","merge","objs","caseless","skipUndefined","this","assignValue","targetKey","existing","symbols","getOwnPropertySymbols","j","symbol","extend","a","b","defineProperty","__proto__","writable","enumerable","configurable","trim","replace","stripBOM","content","charCodeAt","inherits","superConstructor","props","assign","toFlatObject","sourceObj","destObj","filter","propFilter","merged","endsWith","searchString","position","String","lastIndex","toArray","arr","forEachEntry","_iterator","next","done","pair","matchAll","regExp","matches","exec","hasOwnProp","getSafeProp","freezeMethods","includes","set","Error","toObjectSet","arrayOrString","delimiter","define","split","toCamelCase","m","p1","p2","toUpperCase","noop","toFiniteNumber","defaultValue","Number","isFinite","isSpecCompliantForm","toJSONObject","visited","WeakSet","visit","has","add","target","reducedValue","delete","isThenable","then","catch","isSafeIterable","ignoreDuplicateOf","utils","INVALID_UNICODE_HEADER_VALUE_CHARS","RegExp","INVALID_BYTE_STRING_HEADER_VALUE_CHARS","sanitizeValue","invalidChars","item","start","end","code","trimSPorHTAB","toByteStringHeaderObject","headers","byteStringHeaders","toJSON","header","sanitizeByteStringHeaderValue","$internals","normalizeHeader","normalizeValue","sanitizeHeaderValue","matchHeaderValue","isHeaderNameFilter","test","AxiosHeaders$1","valueOrRewrite","rewrite","setHeader","_value","_header","_rewrite","lHeader","setHeaders","rawHeaders","parsed","line","substring","parseHeaders","dest","entry","TypeError","get","parser","tokens","tokensRE","match","parseTokens","matcher","deleted","deleteHeader","clear","normalize","format","normalized","w","char","formatHeader","concat","targets","asStrings","join","entries","getSetCookie","from","first","computed","accessor","accessors","defineAccessor","accessorName","methodName","arg1","arg2","arg3","buildAccessors","AxiosHeaders","mapped","headerValue","redactConfig","config","redactKeys","lowerKeys","Set","k","v","hasOwnOrPrototypeToJSON","pop","AxiosError","error","request","response","customProps","axiosError","message","status","super","isAxiosError","redact","serializedConfig","description","number","fileName","lineNumber","columnNumber","stack","ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ECONNREFUSED","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL","ERR_FORM_DATA_DEPTH_EXCEEDED","isVisitable","removeBrackets","renderKey","path","dots","predicates","toFormData","options","metaTokens","indexes","option","visitor","defaultVisitor","_Blob","Blob","maxDepth","useBlob","convertValue","toISOString","Buffer","throwIfMaxDepthExceeded","depth","Infinity","JSON","stringify","ancestors","currentValue","stringifyWithDepthLimit","some","isFlatArray","el","index","exposedHelpers","build","encode","charMap","encodeURIComponent","AxiosURLSearchParams","params","_pairs","buildURL","url","_options","serialize","_encode","serializeFn","serializedParams","hashmarkIndex","encoder","InterceptorManager","handlers","use","fulfilled","rejected","synchronous","runWhen","eject","id","h","transitionalDefaults","silentJSONParsing","forcedJSONParsing","clarifyTimeoutError","legacyInterceptorReqResOrdering","advertiseZstdAcceptEncoding","validateStatusUndefinedResolves","platform$1","isBrowser","classes","URLSearchParams","protocols","hasBrowserEnv","document","_navigator","navigator","hasStandardBrowserEnv","product","hasStandardBrowserWebWorkerEnv","WorkerGlobalScope","importScripts","origin","location","href","platform","throwIfDepthExceeded","formDataToJSON","buildPath","isNumericKey","isLast","arrayToObject","pattern","parsePropPath","own","defaults","transitional","adapter","transformRequest","contentType","getContentType","hasJSONContentType","isObjectPayload","setContentType","formSerializer","helpers","isNode","toURLEncodedForm","env","_FormData","rawValue","parse","stringifySafely","transformResponse","responseType","JSONRequested","strictJSONParsing","timeout","xsrfCookieName","xsrfHeaderName","maxContentLength","maxBodyLength","validateStatus","common","Accept","transformData","fns","isCancel","__CANCEL__","method","settle","resolve","reject","progressEventReducer","listener","isDownloadStream","freq","bytesNotified","_speedometer","samplesCount","min","bytes","timestamps","firstSampleTS","head","tail","chunkLength","now","Date","startedAt","bytesCount","passed","round","speedometer","lastArgs","timer","timestamp","threshold","invoke","args","clearTimeout","throttle","loaded","rawLoaded","total","lengthComputable","progressBytes","max","rate","progress","estimated","event","progressEventDecorator","throttled","asyncDecorator","isURLSameOrigin","isMSIE","URL","protocol","host","port","userAgent","cookies","write","expires","domain","secure","sameSite","cookie","toUTCString","read","eq","decodeURIComponent","remove","malformedHttpProtocol","httpProtocolControlCharacters","assertValidHttpProtocolURL","stripLeadingC0ControlOrSpace","normalizeURLForProtocolCheck","buildFullPath","baseURL","requestedURL","allowAbsoluteUrls","isRelativeUrl","relativeURL","combineURLs","headersToObject","mergeConfig","config1","config2","getMergedValue","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","paramsSerializer","timeoutMessage","withCredentials","withXSRFToken","onUploadProgress","onDownloadProgress","decompress","beforeRedirect","transport","httpAgent","httpsAgent","cancelToken","socketPath","allowedSocketPaths","responseEncoding","configValue","transitional2","transitional1","getMergedTransitionalOption","FORM_DATA_CONTENT_HEADERS","resolveConfig","newConfig","auth","username","password","btoa","_","hex","fromCharCode","parseInt","getHeaders","formHeaders","policy","setFormDataHeaders","xsrfValue","xhrAdapter","XMLHttpRequest","Promise","_config","requestData","requestHeaders","onCanceled","uploadThrottled","downloadThrottled","flushUpload","flushDownload","unsubscribe","signal","removeEventListener","onloadend","responseHeaders","getAllResponseHeaders","err","responseText","statusText","open","onreadystatechange","readyState","responseURL","startsWith","onabort","onerror","msg","ontimeout","timeoutErrorMessage","setRequestHeader","upload","cancel","CanceledError","abort","subscribe","aborted","parseProtocol","send","composeSignals","signals","Boolean","controller","AbortController","reason","once","streamChunk","chunk","chunkSize","byteLength","pos","readStream","async","stream","asyncIterator","reader","getReader","trackStream","onProgress","onFinish","iterable","readBytes","_onFinish","ReadableStream","pull","close","loadedBytes","enqueue","return","highWaterMark","isHexDigit","charCode","isPercentEncodedByte","VERSION","decodeURIComponentSafe","factory","globalObject","TextEncoder","Request","Response","fetch","envFetch","isFetchSupported","isRequestSupported","isResponseSupported","isReadableStreamSupported","encodeText","arrayBuffer","supportsRequestStream","duplexAccessed","body","duplex","hasContentType","supportsResponseStream","resolvers","res","getBodyLength","size","_request","fetchOptions","hasMaxContentLength","hasMaxBodyLength","_fetch","composedSignal","toAbortSignal","requestContentLength","pendingBodyError","maxBodyLengthError","configAuth","protocolIndex","urlToCheck","maybeWithAuthCredentials","parsedURL","urlUsername","comma","meta","effectiveLen","pad","idx","tailIsPct3D","floor","c","estimateDataURLDecodedBytes","outboundLength","mustEnforceStreamBody","trackRequestStream","flush","getContentLength","resolveBodyLength","contentTypeHeader","isCredentialsSupported","resolvedOptions","credentials","declaredLength","isStreamResponse","responseContentLength","bytesRead","onChunkProgress","responseData","materializedSize","canceledError","networkError","cause","seedCache","Map","getFetch","seeds","seed","knownAdapters","http","xhr","fetchAdapter.getFetch","renderReason","isResolvedHandle","adapters","getAdapter","nameOrAdapter","rejectedReasons","reasons","state","s","throwIfCancellationRequested","throwIfRequested","dispatchRequest","validators","deprecatedWarnings","validator","version","formatMessage","opt","desc","opts","console","warn","spelling","correctSpelling","assertOptions","schema","allowUnknown","Axios$1","instanceConfig","interceptors","configOrUrl","dummy","captureStackTrace","firstNewlineIndex","secondNewlineIndex","stackWithoutTwoTopLines","boolean","function","baseUrl","withXsrfToken","contextHeaders","requestInterceptorChain","synchronousRequestInterceptors","interceptor","unshift","responseInterceptorChain","promise","chain","onFulfilled","onRejected","getUri","Axios","generateHTTPMethod","isForm","HttpStatusCode","Continue","SwitchingProtocols","Processing","EarlyHints","Ok","Created","Accepted","NonAuthoritativeInformation","NoContent","ResetContent","PartialContent","MultiStatus","AlreadyReported","ImUsed","MultipleChoices","MovedPermanently","Found","SeeOther","NotModified","UseProxy","Unused","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","LengthRequired","PreconditionFailed","PayloadTooLarge","UriTooLong","UnsupportedMediaType","RangeNotSatisfiable","ExpectationFailed","ImATeapot","MisdirectedRequest","UnprocessableEntity","Locked","FailedDependency","TooEarly","UpgradeRequired","PreconditionRequired","TooManyRequests","RequestHeaderFieldsTooLarge","UnavailableForLegalReasons","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpVersionNotSupported","VariantAlsoNegotiates","InsufficientStorage","LoopDetected","NotExtended","NetworkAuthenticationRequired","WebServerIsDown","ConnectionTimedOut","OriginIsUnreachable","TimeoutOccurred","SslHandshakeFailed","InvalidSslCertificate","axios","createInstance","defaultConfig","instance","CancelToken","executor","resolvePromise","_listeners","onfulfilled","_resolve","splice","Cancel","all","promises","spread","callback","payload","formToJSON","default"],"mappings":";AASe,SAASA,EAAKC,EAAIC,GAC/B,OAAO,WACL,OAAOD,EAAGE,MAAMD,EAASE,UAC3B,CACF,CCPA,MAAMC,SAAEA,GAAaC,OAAOC,WACtBC,eAAEA,GAAmBF,QACrBG,SAAEA,EAAQC,YAAEA,GAAgBC,OAG5BC,EAAiB,GAClBA,oBACH,CAACC,EAAKC,IACJF,EAAeG,KAAKF,EAAKC,GAHN,CAIrBR,OAAOC,WAcHS,EAAyB,CAACC,EAAOH,KACrC,IAAID,EAAMI,EACV,MAAMC,EAAO,GAEb,KAAc,MAAPL,GAAeA,IAAQP,OAAOC,WAAW,CAC9C,IAA0B,IAAtBW,EAAKC,QAAQN,GACf,OAAO,EAIT,GAFAK,EAAKE,KAAKP,GAEND,EAAeC,EAAKC,GACtB,OAAO,EAETD,EAAML,EAAeK,EACvB,CACA,OAAO,GAiBHQ,GAAWC,EAGdhB,OAAOiB,OAAO,MAHWN,IAC1B,MAAMO,EAAMnB,EAASU,KAAKE,GAC1B,OAAOK,EAAME,KAASF,EAAME,GAAOA,EAAIC,MAAM,MAAOC,iBAFvC,IAAEJ,EAKjB,MAAMK,EAAcC,IAClBA,EAAOA,EAAKF,cACJT,GAAUI,EAAOJ,KAAWW,GAGhCC,EAAcD,GAAUX,UAAiBA,IAAUW,GASnDE,QAAEA,GAAYC,MASdC,EAAcH,EAAW,aAS/B,SAASI,EAASC,GAChB,OACU,OAARA,IACCF,EAAYE,IACO,OAApBA,EAAIC,cACHH,EAAYE,EAAIC,cACjBC,EAAWF,EAAIC,YAAYF,WAC3BC,EAAIC,YAAYF,SAASC,EAE7B,CASA,MAAMG,EAAgBV,EAAW,eA0BjC,MAAMW,EAAWT,EAAW,UAQtBO,EAAaP,EAAW,YASxBU,EAAWV,EAAW,UAStBW,EAAYvB,GAAoB,OAAVA,GAAmC,iBAAVA,EAiB/CwB,EAAiBP,IACrB,IAAKM,EAASN,GACZ,OAAO,EAGT,MAAM3B,EAAYC,EAAe0B,GACjC,QACiB,OAAd3B,GACCA,IAAcD,OAAOC,WACS,OAA9BC,EAAeD,IAIhBS,EAAuBkB,EAAKxB,IAC5BM,EAAuBkB,EAAKzB,KAgC3BiC,EAASf,EAAW,QASpBgB,EAAShB,EAAW,QAkCpBiB,EAASjB,EAAW,QASpBkB,EAAalB,EAAW,YA0B9B,MAAMmB,EAPsB,oBAAfC,WAAmCA,WAC1B,oBAATC,KAA6BA,KAClB,oBAAXC,OAA+BA,OACpB,oBAAXC,OAA+BA,OACnC,CAAA,EAIHC,OAAqC,IAAfL,EAAEM,SAA2BN,EAAEM,cAAWC,EAwBhEC,EAAoB3B,EAAW,oBAE9B4B,EAAkBC,EAAWC,EAAYC,GAAa,CAC3D,iBACA,UACA,WACA,WACAC,IAAIhC,GA4BN,SAASiC,EAAQ/C,EAAKZ,GAAI4D,WAAEA,GAAa,GAAU,IAEjD,GAAIhD,QACF,OAGF,IAAIiD,EACAC,EAQJ,GALmB,iBAARlD,IAETA,EAAM,CAACA,IAGLiB,EAAQjB,GAEV,IAAKiD,EAAI,EAAGC,EAAIlD,EAAImD,OAAQF,EAAIC,EAAGD,IACjC7D,EAAGc,KAAK,KAAMF,EAAIiD,GAAIA,EAAGjD,OAEtB,CAEL,GAAIoB,EAASpB,GACX,OAIF,MAAMoD,EAAOJ,EAAavD,OAAO4D,oBAAoBrD,GAAOP,OAAO2D,KAAKpD,GAClEsD,EAAMF,EAAKD,OACjB,IAAII,EAEJ,IAAKN,EAAI,EAAGA,EAAIK,EAAKL,IACnBM,EAAMH,EAAKH,GACX7D,EAAGc,KAAK,KAAMF,EAAIuD,GAAMA,EAAKvD,EAEjC,CACF,CAUA,SAASwD,EAAQxD,EAAKuD,GACpB,GAAInC,EAASpB,GACX,OAAO,KAGTuD,EAAMA,EAAI1C,cACV,MAAMuC,EAAO3D,OAAO2D,KAAKpD,GACzB,IACIyD,EADAR,EAAIG,EAAKD,OAEb,KAAOF,KAAM,GAEX,GADAQ,EAAOL,EAAKH,GACRM,IAAQE,EAAK5C,cACf,OAAO4C,EAGX,OAAO,IACT,CAEA,MAAMC,EAEsB,oBAAfxB,WAAmCA,WACvB,oBAATC,KAAuBA,KAAyB,oBAAXC,OAAyBA,OAASC,OAGjFsB,EAAoBC,IAAazC,EAAYyC,IAAYA,IAAYF,EAiF3E,MAsJMG,GAAiBC,EAKE,oBAAfC,YAA8BpE,EAAeoE,YAH7C3D,GACC0D,GAAc1D,aAAiB0D,GAHrB,IAAEA,EAevB,MAiCME,EAAalD,EAAW,oBAQxBmD,qBAAEA,GAAyBxE,OAAOC,UASlCwE,EAAWpD,EAAW,UAEtBqD,EAAoB,CAACnE,EAAKoE,KAC9B,MAAMC,EAAc5E,OAAO6E,0BAA0BtE,GAC/CuE,EAAqB,CAAA,EAE3BxB,EAAQsB,EAAa,CAACG,EAAYC,KAChC,IAAIC,GAC2C,KAA1CA,EAAMN,EAAQI,EAAYC,EAAMzE,MACnCuE,EAAmBE,GAAQC,GAAOF,KAItC/E,OAAOkF,iBAAiB3E,EAAKuE,IAoF/B,MA0CMK,EAAY9D,EAAW,iBAyBvB+D,GAAkBC,EAuBG,mBAAjBC,aAvBqCC,EAuBRzD,EAAWmC,EAAQuB,aAtBpDH,EACKC,aAGFC,GACDE,EAeC,SAASC,KAAKC,WAfRC,EAeoB,GAd3B3B,EAAQ4B,iBACN,UACA,EAAGC,SAAQC,WACLD,IAAW7B,GAAW8B,IAASN,GACjCG,EAAUlC,QAAUkC,EAAUI,OAAVJ,KAGxB,GAGMK,IACNL,EAAU9E,KAAKmF,GACfhC,EAAQuB,YAAYC,EAAO,OAG9BQ,GAAOC,WAAWD,IAtBH,IAAEZ,EAAuBE,EAMvCE,EAAOG,EAyBf,MAAMO,EACsB,oBAAnBC,eACHA,eAAe1G,KAAKuE,GACA,oBAAZoC,SAA2BA,QAAQC,UAAalB,EAIxDmB,EAAc5F,GAAmB,MAATA,GAAiBmB,EAAWnB,EAAMR,IAgBhE,IAAAqG,EAAe,CACbhF,UACAO,gBACAJ,WACA8E,WAroBkB9F,IAClB,IAAKA,EAAO,OAAO,EACnB,GAAIkC,GAAgBlC,aAAiBkC,EAAc,OAAO,EAE1D,MAAM6D,EAAQxG,EAAeS,GAC7B,IAAK+F,GAASA,IAAU1G,OAAOC,UAAW,OAAO,EACjD,IAAK6B,EAAWnB,EAAMgG,QAAS,OAAO,EACtC,MAAMC,EAAO7F,EAAOJ,GACpB,MACW,aAATiG,GAEU,WAATA,GAAqB9E,EAAWnB,EAAMZ,WAAkC,sBAArBY,EAAMZ,YA2nB5D8G,kBAj0BF,SAA2BjF,GACzB,IAAIkF,EAMJ,OAJEA,EADyB,oBAAhBC,aAA+BA,YAAYC,OAC3CD,YAAYC,OAAOpF,GAEnBA,GAAOA,EAAIqF,QAAUlF,EAAcH,EAAIqF,QAE3CH,CACT,EA0zBE9E,WACAC,WACAiF,UAjxBiBvG,IAAoB,IAAVA,IAA4B,IAAVA,EAkxB7CuB,WACAC,gBACAgF,cAlvBqBvF,IAErB,IAAKM,EAASN,IAAQD,EAASC,GAC7B,OAAO,EAGT,IACE,OAAmC,IAA5B5B,OAAO2D,KAAK/B,GAAK8B,QAAgB1D,OAAOE,eAAe0B,KAAS5B,OAAOC,SAChF,CAAE,MAAOmH,GAEP,OAAO,CACT,GAwuBAnE,mBACAC,YACAC,aACAC,YACA1B,cACAU,SACAC,SACAgF,kBA/sByBC,MACfA,QAA8B,IAAdA,EAAMC,KA+sBhCC,cApsBqBC,GAAaA,QAAyC,IAAtBA,EAASC,SAqsB9DpF,SACAmC,WACF3C,WAAEA,EACA6F,SA7qBgB/F,GAAQM,EAASN,IAAQE,EAAWF,EAAIgG,MA8qBxD5E,oBACAoB,eACA7B,aACAe,UACAuE,MA3gBF,SAASA,KAASC,GAChB,MAAMC,SAAEA,EAAQC,cAAEA,GAAmB9D,EAAiB+D,OAASA,MAAS,CAAA,EAClEnB,EAAS,CAAA,EACToB,EAAc,CAACtG,EAAKkC,KAExB,GAAY,cAARA,GAA+B,gBAARA,GAAiC,cAARA,EAClD,OAKF,MAAMqE,EAAaJ,GAA2B,iBAARjE,GAAoBC,EAAQ+C,EAAQhD,IAASA,EAI7EsE,EAAW9H,EAAewG,EAAQqB,GAAarB,EAAOqB,QAAapF,EACrEZ,EAAciG,IAAajG,EAAcP,GAC3CkF,EAAOqB,GAAaN,EAAMO,EAAUxG,GAC3BO,EAAcP,GACvBkF,EAAOqB,GAAaN,EAAM,CAAA,EAAIjG,GACrBJ,EAAQI,GACjBkF,EAAOqB,GAAavG,EAAIT,QACd6G,GAAkBtG,EAAYE,KACxCkF,EAAOqB,GAAavG,IAIxB,IAAK,IAAI4B,EAAI,EAAGC,EAAIqE,EAAKpE,OAAQF,EAAIC,EAAGD,IAAK,CAC3C,MAAMsC,EAASgC,EAAKtE,GACpB,IAAKsC,GAAUnE,EAASmE,GACtB,SAKF,GAFAxC,EAAQwC,EAAQoC,GAEM,iBAAXpC,GAAuBtE,EAAQsE,GACxC,SAGF,MAAMuC,EAAUrI,OAAOsI,sBAAsBxC,GAC7C,IAAK,IAAIyC,EAAI,EAAGA,EAAIF,EAAQ3E,OAAQ6E,IAAK,CACvC,MAAMC,EAASH,EAAQE,GACnB/D,EAAqB/D,KAAKqF,EAAQ0C,IACpCN,EAAYpC,EAAO0C,GAASA,EAEhC,CACF,CACA,OAAO1B,CACT,EA4dE2B,OA/ca,CAACC,EAAGC,EAAG/I,GAAW2D,cAAe,MAC9CD,EACEqF,EACA,CAAC/G,EAAKkC,KACAlE,GAAWkC,EAAWF,GACxB5B,OAAO4I,eAAeF,EAAG5E,EAAK,CAG5B+E,UAAW,KACXvB,MAAO5H,EAAKkC,EAAKhC,GACjBkJ,UAAU,EACVC,YAAY,EACZC,cAAc,IAGhBhJ,OAAO4I,eAAeF,EAAG5E,EAAK,CAC5B+E,UAAW,KACXvB,MAAO1F,EACPkH,UAAU,EACVC,YAAY,EACZC,cAAc,KAIpB,CAAEzF,eAEGmF,GAsbPO,KA1nBY/H,GACLA,EAAI+H,KAAO/H,EAAI+H,OAAS/H,EAAIgI,QAAQ,qCAAsC,IA0nBjFC,SA7agBC,IACc,QAA1BA,EAAQC,WAAW,KACrBD,EAAUA,EAAQjI,MAAM,IAEnBiI,GA0aPE,SA9Ze,CAACzH,EAAa0H,EAAkBC,EAAO5E,KACtD/C,EAAY5B,UAAYD,OAAOiB,OAAOsI,EAAiBtJ,UAAW2E,GAClE5E,OAAO4I,eAAe/G,EAAY5B,UAAW,cAAe,CAC1D4I,UAAW,KACXvB,MAAOzF,EACPiH,UAAU,EACVC,YAAY,EACZC,cAAc,IAEhBhJ,OAAO4I,eAAe/G,EAAa,QAAS,CAC1CgH,UAAW,KACXvB,MAAOiC,EAAiBtJ,YAE1BuJ,GAASxJ,OAAOyJ,OAAO5H,EAAY5B,UAAWuJ,IAkZ9CE,aAtYmB,CAACC,EAAWC,EAASC,EAAQC,KAChD,IAAIN,EACAhG,EACAhD,EACJ,MAAMuJ,EAAS,CAAA,EAIf,GAFAH,EAAUA,GAAW,CAAA,EAEJ,MAAbD,EAAmB,OAAOC,EAE9B,EAAG,CAGD,IAFAJ,EAAQxJ,OAAO4D,oBAAoB+F,GACnCnG,EAAIgG,EAAM9F,OACHF,KAAM,GACXhD,EAAOgJ,EAAMhG,GACPsG,IAAcA,EAAWtJ,EAAMmJ,EAAWC,IAAcG,EAAOvJ,KACnEoJ,EAAQpJ,GAAQmJ,EAAUnJ,GAC1BuJ,EAAOvJ,IAAQ,GAGnBmJ,GAAuB,IAAXE,GAAoB3J,EAAeyJ,EACjD,OAASA,KAAeE,GAAUA,EAAOF,EAAWC,KAAaD,IAAc3J,OAAOC,WAEtF,OAAO2J,GAgXP7I,SACAM,aACA2I,SAtWe,CAAC9I,EAAK+I,EAAcC,KACnChJ,EAAMiJ,OAAOjJ,SACI6B,IAAbmH,GAA0BA,EAAWhJ,EAAIwC,UAC3CwG,EAAWhJ,EAAIwC,QAEjBwG,GAAYD,EAAavG,OACzB,MAAM0G,EAAYlJ,EAAIL,QAAQoJ,EAAcC,GAC5C,WAAOE,GAAoBA,IAAcF,GAgWzCG,QAtVe1J,IACf,IAAKA,EAAO,OAAO,KACnB,GAAIa,EAAQb,GAAQ,OAAOA,EAC3B,IAAI6C,EAAI7C,EAAM+C,OACd,IAAKzB,EAASuB,GAAI,OAAO,KACzB,MAAM8G,EAAM,IAAI7I,MAAM+B,GACtB,KAAOA,KAAM,GACX8G,EAAI9G,GAAK7C,EAAM6C,GAEjB,OAAO8G,GA8UPC,aAnTmB,CAAChK,EAAKZ,KACzB,MAEM6K,GAFYjK,GAAOA,EAAIJ,IAEDM,KAAKF,GAEjC,IAAIuG,EAEJ,MAAQA,EAAS0D,EAAUC,UAAY3D,EAAO4D,MAAM,CAClD,MAAMC,EAAO7D,EAAOQ,MACpB3H,EAAGc,KAAKF,EAAKoK,EAAK,GAAIA,EAAK,GAC7B,GA0SAC,SA/Re,CAACC,EAAQ3J,KACxB,IAAI4J,EACJ,MAAMR,EAAM,GAEZ,KAAwC,QAAhCQ,EAAUD,EAAOE,KAAK7J,KAC5BoJ,EAAIxJ,KAAKgK,GAGX,OAAOR,GAwRP/F,aACAjE,iBACA0K,WAAY1K,EACZI,yBACAuK,YA56BkB,CAAC1K,EAAKC,IACjB,MAAPD,GAAeG,EAAuBH,EAAKC,GAAQD,EAAIC,QAAQuC,EA46B/D2B,oBACAwG,cApPqB3K,IACrBmE,EAAkBnE,EAAK,CAACwE,EAAYC,KAElC,GAAIlD,EAAWvB,IAAQ,CAAC,YAAa,SAAU,UAAU4K,SAASnG,GAChE,OAAO,EAGT,MAAMsC,EAAQ/G,EAAIyE,GAEblD,EAAWwF,KAEhBvC,EAAWgE,YAAa,EAEpB,aAAchE,EAChBA,EAAW+D,UAAW,EAInB/D,EAAWqG,MACdrG,EAAWqG,IAAM,KACf,MAAMC,MAAM,qCAAuCrG,EAAO,WAiOhEsG,YAnNkB,CAACC,EAAeC,KAClC,MAAMjL,EAAM,CAAA,EAENkL,EAAUnB,IACdA,EAAIhH,QAASgE,IACX/G,EAAI+G,IAAS,KAMjB,OAFA9F,EAAQ+J,GAAiBE,EAAOF,GAAiBE,EAAOtB,OAAOoB,GAAeG,MAAMF,IAE7EjL,GAyMPoL,YA1RmBzK,GACZA,EAAIE,cAAc8H,QAAQ,wBAAyB,SAAkB0C,EAAGC,EAAIC,GACjF,OAAOD,EAAGE,cAAgBD,CAC5B,GAwRAE,KAvMW,OAwMXC,eAtMqB,CAAC3E,EAAO4E,IACb,MAAT5E,GAAiB6E,OAAOC,SAAU9E,GAASA,GAAUA,EAAQ4E,EAsMpEnI,UACAnB,OAAQqB,EACRC,mBACAmI,oBA/LF,SAA6B1L,GAC3B,SACEA,GACAmB,EAAWnB,EAAMgG,SACM,aAAvBhG,EAAMP,IACNO,EAAMR,GAEV,EAyLEmM,aAjLoB/L,IACpB,MAAMgM,EAAU,IAAIC,QAEdC,EAAS3G,IACb,GAAI5D,EAAS4D,GAAS,CACpB,GAAIyG,EAAQG,IAAI5G,GACd,OAIF,GAAInE,EAASmE,GACX,OAAOA,EAGT,KAAM,WAAYA,GAAS,CAEzByG,EAAQI,IAAI7G,GACZ,MAAM8G,EAASpL,EAAQsE,GAAU,GAAK,CAAA,EAStC,OAPAxC,EAAQwC,EAAQ,CAACwB,EAAOxD,KACtB,MAAM+I,EAAeJ,EAAMnF,IAC1B5F,EAAYmL,KAAkBD,EAAO9I,GAAO+I,KAG/CN,EAAQO,OAAOhH,GAER8G,CACT,CACF,CAEA,OAAO9G,GAGT,OAAO2G,EAAMlM,IAiJb4E,YACA4H,WAjIkBpM,GAClBA,IACCuB,EAASvB,IAAUmB,EAAWnB,KAC/BmB,EAAWnB,EAAMqM,OACjBlL,EAAWnB,EAAMsM,OA8HjB3H,aAAcF,EACde,OACAI,aACA2G,eAjEsBvM,GACb,MAATA,GAAiBD,EAAuBC,EAAOR,IAAaoG,EAAW5F,ICj7BzE,MAAMwM,EAAoBC,EAAM9B,YAAY,CAC1C,MACA,gBACA,iBACA,eACA,OACA,UACA,OACA,OACA,oBACA,sBACA,gBACA,WACA,eACA,sBACA,UACA,cACA,eCUF,MAAM+B,EAAqC,IAAIC,OAAO,2CAA4C,KAE5FC,EAAyC,IAAID,OAAO,4CAA6C,KAEvG,SAASE,EAAclG,EAAOmG,GAC5B,OAAIL,EAAM5L,QAAQ8F,GACTA,EAAMjE,IAAKqK,GAASF,EAAcE,EAAMD,IAnCnD,SAAsBvM,GACpB,IAAIyM,EAAQ,EACRC,EAAM1M,EAAIwC,OAEd,KAAOiK,EAAQC,GAAK,CAClB,MAAMC,EAAO3M,EAAImI,WAAWsE,GAE5B,GAAa,IAATE,GAA0B,KAATA,EACnB,MAGFF,GAAS,CACX,CAEA,KAAOC,EAAMD,GAAO,CAClB,MAAME,EAAO3M,EAAImI,WAAWuE,EAAM,GAElC,GAAa,IAATC,GAA0B,KAATA,EACnB,MAGFD,GAAO,CACT,CAEA,OAAiB,IAAVD,GAAeC,IAAQ1M,EAAIwC,OAASxC,EAAMA,EAAIC,MAAMwM,EAAOC,EACpE,CAaSE,CAAa3D,OAAO7C,GAAO4B,QAAQuE,EAAc,IAC1D,CAQO,SAASM,GAAyBC,GACvC,MAAMC,EAAoBjO,OAAOiB,OAAO,MAMxC,OAJAmM,EAAM9J,QAAQ0K,EAAQE,SAAU,CAAC5G,EAAO6G,KACtCF,EAAkBE,GAPuB,CAAC7G,GAC5CkG,EAAclG,EAAOiG,GAMSa,CAA8B9G,KAGrD2G,CACT,CCrDA,MAAMI,GAAahO,OAAO,aAE1B,SAASiO,GAAgBH,GACvB,OAAOA,GAAUhE,OAAOgE,GAAQlF,OAAO7H,aACzC,CAEA,SAASmN,GAAejH,GACtB,OAAc,IAAVA,GAA4B,MAATA,EACdA,EAGF8F,EAAM5L,QAAQ8F,GAASA,EAAMjE,IAAIkL,ID4BP,CAACjH,GAClCkG,EAAclG,EAAO+F,GC7BqCmB,CAAoBrE,OAAO7C,GACvF,CAgBA,SAASmH,GAAiBtK,EAASmD,EAAO6G,EAAQtE,EAAQ6E,GACxD,OAAItB,EAAMtL,WAAW+H,GACZA,EAAOpJ,KAAKwH,KAAMX,EAAO6G,IAG9BO,IACFpH,EAAQ6G,GAGLf,EAAMpL,SAASsF,GAEhB8F,EAAMpL,SAAS6H,IACgB,IAA1BvC,EAAMzG,QAAQgJ,GAGnBuD,EAAM3I,SAASoF,GACVA,EAAO8E,KAAKrH,QADrB,OANA,EASF,CA2BA,IAAAsH,GAAA,MACE,WAAA/M,CAAYmM,GACVA,GAAW/F,KAAKmD,IAAI4C,EACtB,CAEA,GAAA5C,CAAI+C,EAAQU,EAAgBC,GAC1B,MAAMpM,EAAOuF,KAEb,SAAS8G,EAAUC,EAAQC,EAASC,GAClC,MAAMC,EAAUb,GAAgBW,GAEhC,IAAKE,EACH,OAGF,MAAMrL,EAAMsJ,EAAMrJ,QAAQrB,EAAMyM,KAG7BrL,QACaf,IAAdL,EAAKoB,KACQ,IAAboL,QACcnM,IAAbmM,IAAwC,IAAdxM,EAAKoB,MAEhCpB,EAAKoB,GAAOmL,GAAWV,GAAeS,GAE1C,CAEA,MAAMI,EAAa,CAACpB,EAASkB,IAC3B9B,EAAM9J,QAAQ0K,EAAS,CAACgB,EAAQC,IAAYF,EAAUC,EAAQC,EAASC,IAEzE,GAAI9B,EAAMjL,cAAcgM,IAAWA,aAAkBlG,KAAKpG,YACxDuN,EAAWjB,EAAQU,QACd,GAAIzB,EAAMpL,SAASmM,KAAYA,EAASA,EAAOlF,UA/EvB,iCAAiC0F,KA+EoBR,EA/EXlF,QAgFvEmG,EFxES,CAACC,IACd,MAAMC,EAAS,CAAA,EACf,IAAIxL,EACAlC,EACA4B,EAuBJ,OArBA6L,GACEA,EAAW3D,MAAM,MAAMpI,QAAQ,SAAgBiM,GAC7C/L,EAAI+L,EAAK1O,QAAQ,KACjBiD,EAAMyL,EAAKC,UAAU,EAAGhM,GAAGyF,OAAO7H,cAClCQ,EAAM2N,EAAKC,UAAUhM,EAAI,GAAGyF,QAEvBnF,GAAQwL,EAAOxL,IAAQqJ,EAAkBrJ,KAIlC,eAARA,EACEwL,EAAOxL,GACTwL,EAAOxL,GAAKhD,KAAKc,GAEjB0N,EAAOxL,GAAO,CAAClC,GAGjB0N,EAAOxL,GAAOwL,EAAOxL,GAAOwL,EAAOxL,GAAO,KAAOlC,EAAMA,EAE3D,GAEK0N,GE6CQG,CAAatB,GAASU,QAC5B,GAAIzB,EAAMlL,SAASiM,IAAWf,EAAMF,eAAeiB,GAAS,CACjE,IACEuB,EACA5L,EAFEvD,EAAMP,OAAOiB,OAAO,MAGxB,IAAK,MAAM0O,KAASxB,EAAQ,CAC1B,IAAKf,EAAM5L,QAAQmO,GACjB,MAAM,IAAIC,UAAU,gDAGtB9L,EAAM6L,EAAM,GAERvC,EAAMpC,WAAWzK,EAAKuD,IACxB4L,EAAOnP,EAAIuD,GACXvD,EAAIuD,GAAOsJ,EAAM5L,QAAQkO,GAAQ,IAAIA,EAAMC,EAAM,IAAM,CAACD,EAAMC,EAAM,KAEpEpP,EAAIuD,GAAO6L,EAAM,EAErB,CAEAP,EAAW7O,EAAKsO,EAClB,MACY,MAAVV,GAAkBY,EAAUF,EAAgBV,EAAQW,GAGtD,OAAO7G,IACT,CAEA,GAAA4H,CAAI1B,EAAQ2B,GAGV,GAFA3B,EAASG,GAAgBH,GAEb,CACV,MAAMrK,EAAMsJ,EAAMrJ,QAAQkE,KAAMkG,GAEhC,GAAIrK,EAAK,CACP,MAAMwD,EAAQW,KAAKnE,GAEnB,IAAKgM,EACH,OAAOxI,EAGT,IAAe,IAAXwI,EACF,OAtIV,SAAqB5O,GACnB,MAAM6O,EAAS/P,OAAOiB,OAAO,MACvB+O,EAAW,mCACjB,IAAIC,EAEJ,KAAQA,EAAQD,EAASjF,KAAK7J,IAC5B6O,EAAOE,EAAM,IAAMA,EAAM,GAG3B,OAAOF,CACT,CA4HiBG,CAAY5I,GAGrB,GAAI8F,EAAMtL,WAAWgO,GACnB,OAAOA,EAAOrP,KAAKwH,KAAMX,EAAOxD,GAGlC,GAAIsJ,EAAM3I,SAASqL,GACjB,OAAOA,EAAO/E,KAAKzD,GAGrB,MAAM,IAAIsI,UAAU,yCACtB,CACF,CACF,CAEA,GAAAlD,CAAIyB,EAAQgC,GAGV,GAFAhC,EAASG,GAAgBH,GAEb,CACV,MAAMrK,EAAMsJ,EAAMrJ,QAAQkE,KAAMkG,GAEhC,SACErK,QACcf,IAAdkF,KAAKnE,IACHqM,IAAW1B,GAAiBxG,EAAMA,KAAKnE,GAAMA,EAAKqM,GAExD,CAEA,OAAO,CACT,CAEA,OAAOhC,EAAQgC,GACb,MAAMzN,EAAOuF,KACb,IAAImI,GAAU,EAEd,SAASC,EAAapB,GAGpB,GAFAA,EAAUX,GAAgBW,GAEb,CACX,MAAMnL,EAAMsJ,EAAMrJ,QAAQrB,EAAMuM,IAE5BnL,GAASqM,IAAW1B,GAAiB/L,EAAMA,EAAKoB,GAAMA,EAAKqM,YACtDzN,EAAKoB,GAEZsM,GAAU,EAEd,CACF,CAQA,OANIhD,EAAM5L,QAAQ2M,GAChBA,EAAO7K,QAAQ+M,GAEfA,EAAalC,GAGRiC,CACT,CAEA,KAAAE,CAAMH,GACJ,MAAMxM,EAAO3D,OAAO2D,KAAKsE,MACzB,IAAIzE,EAAIG,EAAKD,OACT0M,GAAU,EAEd,KAAO5M,KAAK,CACV,MAAMM,EAAMH,EAAKH,GACZ2M,IAAW1B,GAAiBxG,EAAMA,KAAKnE,GAAMA,EAAKqM,GAAS,YACvDlI,KAAKnE,GACZsM,GAAU,EAEd,CAEA,OAAOA,CACT,CAEA,SAAAG,CAAUC,GACR,MAAM9N,EAAOuF,KACP+F,EAAU,CAAA,EAsBhB,OApBAZ,EAAM9J,QAAQ2E,KAAM,CAACX,EAAO6G,KAC1B,MAAMrK,EAAMsJ,EAAMrJ,QAAQiK,EAASG,GAEnC,GAAIrK,EAGF,OAFApB,EAAKoB,GAAOyK,GAAejH,eACpB5E,EAAKyL,GAId,MAAMsC,EAAaD,EA5LzB,SAAsBrC,GACpB,OAAOA,EACJlF,OACA7H,cACA8H,QAAQ,kBAAmB,CAACwH,EAAGC,EAAMzP,IAC7ByP,EAAK5E,cAAgB7K,EAElC,CAqLkC0P,CAAazC,GAAUhE,OAAOgE,GAAQlF,OAE9DwH,IAAetC,UACVzL,EAAKyL,GAGdzL,EAAK+N,GAAclC,GAAejH,GAElC0G,EAAQyC,IAAc,IAGjBxI,IACT,CAEA,MAAA4I,IAAUC,GACR,OAAO7I,KAAKpG,YAAYgP,OAAO5I,QAAS6I,EAC1C,CAEA,MAAA5C,CAAO6C,GACL,MAAMxQ,EAAMP,OAAOiB,OAAO,MAQ1B,OANAmM,EAAM9J,QAAQ2E,KAAM,CAACX,EAAO6G,KACjB,MAAT7G,IACY,IAAVA,IACC/G,EAAI4N,GAAU4C,GAAa3D,EAAM5L,QAAQ8F,GAASA,EAAM0J,KAAK,MAAQ1J,KAGnE/G,CACT,CAEA,CAACF,OAAOF,YACN,OAAOH,OAAOiR,QAAQhJ,KAAKiG,UAAU7N,OAAOF,WAC9C,CAEA,QAAAJ,GACE,OAAOC,OAAOiR,QAAQhJ,KAAKiG,UACxB7K,IAAI,EAAE8K,EAAQ7G,KAAW6G,EAAS,KAAO7G,GACzC0J,KAAK,KACV,CAEA,YAAAE,GACE,OAAOjJ,KAAK4H,IAAI,eAAiB,EACnC,CAEA,IAAKxP,OAAOD,eACV,MAAO,cACT,CAEA,WAAO+Q,CAAKxQ,GACV,OAAOA,aAAiBsH,KAAOtH,EAAQ,IAAIsH,KAAKtH,EAClD,CAEA,aAAOkQ,CAAOO,KAAUN,GACtB,MAAMO,EAAW,IAAIpJ,KAAKmJ,GAI1B,OAFAN,EAAQxN,QAASsJ,GAAWyE,EAASjG,IAAIwB,IAElCyE,CACT,CAEA,eAAOC,CAASnD,GACd,MAOMoD,GANHtJ,KAAKoG,IACNpG,KAAKoG,IACH,CACEkD,UAAW,CAAA,IAGWA,UACtBtR,EAAYgI,KAAKhI,UAEvB,SAASuR,EAAevC,GACtB,MAAME,EAAUb,GAAgBW,GAE3BsC,EAAUpC,MA7PrB,SAAwB5O,EAAK4N,GAC3B,MAAMsD,EAAerE,EAAMzB,YAAY,IAAMwC,GAE7C,CAAC,MAAO,MAAO,OAAO7K,QAASoO,IAC7B1R,OAAO4I,eAAerI,EAAKmR,EAAaD,EAAc,CAGpD5I,UAAW,KACXvB,MAAO,SAAUqK,EAAMC,EAAMC,GAC3B,OAAO5J,KAAKyJ,GAAYjR,KAAKwH,KAAMkG,EAAQwD,EAAMC,EAAMC,EACzD,EACA7I,cAAc,KAGpB,CAgPQ8I,CAAe7R,EAAWgP,GAC1BsC,EAAUpC,IAAW,EAEzB,CAIA,OAFA/B,EAAM5L,QAAQ2M,GAAUA,EAAO7K,QAAQkO,GAAkBA,EAAerD,GAEjElG,IACT,GAGF8J,GAAaT,SAAS,CACpB,eACA,iBACA,SACA,kBACA,aACA,kBAIFlE,EAAM1I,kBAAkBqN,GAAa9R,UAAW,EAAGqH,SAASxD,KAC1D,IAAIkO,EAASlO,EAAI,GAAGiI,cAAgBjI,EAAI3C,MAAM,GAC9C,MAAO,CACL0O,IAAK,IAAMvI,EACX,GAAA8D,CAAI6G,GACFhK,KAAK+J,GAAUC,CACjB,KAIJ7E,EAAMlC,cAAc6G,IChUpB,SAASG,GAAaC,EAAQC,GAC5B,MAAMC,EAAY,IAAIC,IAAIF,EAAW/O,IAAKkP,GAAMpI,OAAOoI,GAAGnR,gBACpDR,EAAO,GAEP6L,EAAS3G,IACb,GAAe,OAAXA,GAAqC,iBAAXA,EAAqB,OAAOA,EAC1D,GAAIsH,EAAMzL,SAASmE,GAAS,OAAOA,EACnC,IAA6B,IAAzBlF,EAAKC,QAAQiF,GAAgB,OAQjC,IAAIgB,EACJ,GAPIhB,aAAkBiM,KACpBjM,EAASA,EAAOoI,UAGlBtN,EAAKE,KAAKgF,GAGNsH,EAAM5L,QAAQsE,GAChBgB,EAAS,GACThB,EAAOxC,QAAQ,CAACkP,EAAGhP,KACjB,MAAMqJ,EAAeJ,EAAM+F,GACtBpF,EAAM1L,YAAYmL,KACrB/F,EAAOtD,GAAKqJ,SAGX,CACL,IAAKO,EAAMjL,cAAc2D,IA9C/B,SAAiCA,GAC/B,GAAIsH,EAAMpC,WAAWlF,EAAQ,UAC3B,OAAO,EAGT,IAAI7F,EAAYD,OAAOE,eAAe4F,GAEtC,KAAO7F,GAAaA,IAAcD,OAAOC,WAAW,CAClD,GAAImN,EAAMpC,WAAW/K,EAAW,UAC9B,OAAO,EAGTA,EAAYD,OAAOE,eAAeD,EACpC,CAEA,OAAO,CACT,CA8B0CwS,CAAwB3M,GAE1D,OADAlF,EAAK8R,MACE5M,EAGTgB,EAAS9G,OAAOiB,OAAO,MACvB,IAAK,MAAO6C,EAAKwD,KAAUtH,OAAOiR,QAAQnL,GAAS,CACjD,MAAM+G,EAAewF,EAAU3F,IAAI5I,EAAI1C,eAvD9B,kBAuD0DqL,EAAMnF,GACpE8F,EAAM1L,YAAYmL,KACrB/F,EAAOhD,GAAO+I,EAElB,CACF,CAGA,OADAjM,EAAK8R,MACE5L,GAGT,OAAO2F,EAAM0F,EACf,QAEA,MAAMQ,UAAmBtH,MACvB,WAAO8F,CAAKyB,EAAO/E,EAAMsE,EAAQU,EAASC,EAAUC,GAClD,MAAMC,EAAa,IAAIL,EAAWC,EAAMK,QAASpF,GAAQ+E,EAAM/E,KAAMsE,EAAQU,EAASC,GAsBtF,OAfA9S,OAAO4I,eAAeoK,EAAY,QAAS,CACzCnK,UAAW,KACXvB,MAAOsL,EACP9J,UAAU,EACVC,YAAY,EACZC,cAAc,IAEhBgK,EAAWhO,KAAO4N,EAAM5N,KAGJ,MAAhB4N,EAAMM,QAAuC,MAArBF,EAAWE,SACrCF,EAAWE,OAASN,EAAMM,QAG5BH,GAAe/S,OAAOyJ,OAAOuJ,EAAYD,GAClCC,CACT,CAaA,WAAAnR,CAAYoR,EAASpF,EAAMsE,EAAQU,EAASC,GAC1CK,MAAMF,GAKNjT,OAAO4I,eAAeX,KAAM,UAAW,CAGrCY,UAAW,KACXvB,MAAO2L,EACPlK,YAAY,EACZD,UAAU,EACVE,cAAc,IAGhBf,KAAKjD,KAAO,aACZiD,KAAKmL,cAAe,EACpBvF,IAAS5F,KAAK4F,KAAOA,GACrBsE,IAAWlK,KAAKkK,OAASA,GACzBU,IAAY5K,KAAK4K,QAAUA,GACvBC,IACF7K,KAAK6K,SAAWA,EAChB7K,KAAKiL,OAASJ,EAASI,OAE3B,CAEA,MAAAhF,GAKE,MAAMiE,EAASlK,KAAKkK,OACdC,EAAaD,GAAU/E,EAAMpC,WAAWmH,EAAQ,UAAYA,EAAOkB,YAAStQ,EAC5EuQ,EACJlG,EAAM5L,QAAQ4Q,IAAeA,EAAW1O,OAAS,EAC7CwO,GAAaC,EAAQC,GACrBhF,EAAMd,aAAa6F,GAEzB,MAAO,CAELc,QAAShL,KAAKgL,QACdjO,KAAMiD,KAAKjD,KAEXuO,YAAatL,KAAKsL,YAClBC,OAAQvL,KAAKuL,OAEbC,SAAUxL,KAAKwL,SACfC,WAAYzL,KAAKyL,WACjBC,aAAc1L,KAAK0L,aACnBC,MAAO3L,KAAK2L,MAEZzB,OAAQmB,EACRzF,KAAM5F,KAAK4F,KACXqF,OAAQjL,KAAKiL,OAEjB,GAIFP,GAAWkB,qBAAuB,uBAClClB,GAAWmB,eAAiB,iBAC5BnB,GAAWoB,aAAe,eAC1BpB,GAAWqB,UAAY,YACvBrB,GAAWsB,aAAe,eAC1BtB,GAAWuB,YAAc,cACzBvB,GAAWwB,0BAA4B,4BACvCxB,GAAWyB,eAAiB,iBAC5BzB,GAAW0B,iBAAmB,mBAC9B1B,GAAW2B,gBAAkB,kBAC7B3B,GAAW4B,aAAe,eAC1B5B,GAAW6B,gBAAkB,kBAC7B7B,GAAW8B,gBAAkB,kBAC7B9B,GAAW+B,6BAA+B,+BCvK1C,SAASC,GAAYhU,GACnB,OAAOyM,EAAMjL,cAAcxB,IAAUyM,EAAM5L,QAAQb,EACrD,CASA,SAASiU,GAAe9Q,GACtB,OAAOsJ,EAAMpD,SAASlG,EAAK,MAAQA,EAAI3C,MAAM,GAAG,GAAM2C,CACxD,CAWA,SAAS+Q,GAAUC,EAAMhR,EAAKiR,GAC5B,OAAKD,EACEA,EACJjE,OAAO/M,GACPT,IAAI,SAAcoC,EAAOjC,GAGxB,OADAiC,EAAQmP,GAAenP,IACfsP,GAAQvR,EAAI,IAAMiC,EAAQ,IAAMA,CAC1C,GACCuL,KAAK+D,EAAO,IAAM,IARHjR,CASpB,CAaA,MAAMkR,GAAa5H,EAAM1D,aAAa0D,EAAO,CAAA,EAAI,KAAM,SAAgB5M,GACrE,MAAO,WAAWmO,KAAKnO,EACzB,GAyBA,SAASyU,GAAW1U,EAAKkH,EAAUyN,GACjC,IAAK9H,EAAMlL,SAAS3B,GAClB,MAAM,IAAIqP,UAAU,4BAItBnI,EAAWA,GAAY,IAAA,SAiBvB,MAAM0N,GAdND,EAAU9H,EAAM1D,aACdwL,EACA,CACEC,YAAY,EACZJ,MAAM,EACNK,SAAS,IAEX,EACA,SAAiBC,EAAQvP,GAEvB,OAAQsH,EAAM1L,YAAYoE,EAAOuP,GACnC,IAGyBF,WAErBG,EAAUJ,EAAQI,SAAWC,EAC7BR,EAAOG,EAAQH,KACfK,EAAUF,EAAQE,QAClBI,EAAQN,EAAQO,MAAyB,oBAATA,MAAwBA,KACxDC,OAAgC3S,IAArBmS,EAAQQ,SAhHgB,IAgHuCR,EAAQQ,SAClFC,EAAUH,GAASpI,EAAMf,oBAAoB5E,GAC7CmM,EAAQ,GAEd,IAAKxG,EAAMtL,WAAWwT,GACpB,MAAM,IAAI1F,UAAU,8BAGtB,SAASgG,EAAatO,GACpB,GAAc,OAAVA,EAAgB,MAAO,GAE3B,GAAI8F,EAAMhL,OAAOkF,GACf,OAAOA,EAAMuO,cAGf,GAAIzI,EAAMlG,UAAUI,GAClB,OAAOA,EAAMvH,WAGf,IAAK4V,GAAWvI,EAAM9K,OAAOgF,GAC3B,MAAM,IAAIqL,GAAW,gDAGvB,GAAIvF,EAAMrL,cAAcuF,IAAU8F,EAAMhJ,aAAakD,GAAQ,CAC3D,GAAIqO,GAA4B,mBAAVH,EACpB,OAAO,IAAIA,EAAM,CAAClO,IAEpB,GAAsB,oBAAXwO,OACT,OAAOA,OAAO3E,KAAK7J,GAErB,MAAM,IAAIqL,GAAW,+CAAgDA,GAAW6B,gBAClF,CAEA,OAAOlN,CACT,CAEA,SAASyO,EAAwBC,GAC/B,GAAIA,EAAQN,EACV,MAAM,IAAI/C,GACR,gCAAkCqD,EAAQ,wBAA0BN,EACpE/C,GAAW+B,6BAGjB,CAmCA,SAASa,EAAejO,EAAOxD,EAAKgR,GAClC,IAAIxK,EAAMhD,EAEV,GAAI8F,EAAM5F,cAAcC,IAAa2F,EAAM/F,kBAAkBC,GAE3D,OADAG,EAASd,OAAOkO,GAAUC,EAAMhR,EAAKiR,GAAOa,EAAatO,KAClD,EAGT,GAAIA,IAAUwN,GAAyB,iBAAVxN,EAC3B,GAAI8F,EAAMpD,SAASlG,EAAK,MAEtBA,EAAMqR,EAAarR,EAAMA,EAAI3C,MAAM,MAEnCmG,EA9CN,SAAiCA,EAAO0O,GACtC,GAAIN,IAAaO,IACf,OAAOC,KAAKC,UAAU7O,GAGxB,MAAM8O,EAAY,GAElB,OAAOF,KAAKC,UAAU7O,EAAO,SAAoBtD,EAAMqS,GACrD,IAAKjJ,EAAMlL,SAASmU,GAClB,OAAOA,EAGT,KAAOD,EAAU1S,QAAU0S,EAAUA,EAAU1S,OAAS,KAAOuE,MAC7DmO,EAAU1D,MAMZ,OAHA0D,EAAUtV,KAAKuV,GACfN,EAAwBC,EAAQI,EAAU1S,OAAS,GAE5C2S,CACT,EACF,CAyBcC,CAAwBhP,EAAO,QAClC,GACJ8F,EAAM5L,QAAQ8F,IAzJvB,SAAqBgD,GACnB,OAAO8C,EAAM5L,QAAQ8I,KAASA,EAAIiM,KAAK5B,GACzC,CAuJiC6B,CAAYlP,KACnC8F,EAAM7K,WAAW+E,IAAU8F,EAAMpD,SAASlG,EAAK,SAAWwG,EAAM8C,EAAM/C,QAAQ/C,IAiBhF,OAdAxD,EAAM8Q,GAAe9Q,GAErBwG,EAAIhH,QAAQ,SAAcmT,EAAIC,IAC1BtJ,EAAM1L,YAAY+U,IAAc,OAAPA,GACzBhP,EAASd,QAEK,IAAZyO,EACIP,GAAU,CAAC/Q,GAAM4S,EAAO3B,GACZ,OAAZK,EACEtR,EACAA,EAAM,KACZ8R,EAAaa,GAEnB,IACO,EAIX,QAAI9B,GAAYrN,KAIhBG,EAASd,OAAOkO,GAAUC,EAAMhR,EAAKiR,GAAOa,EAAatO,KAElD,EACT,CAEA,MAAMqP,EAAiB3W,OAAOyJ,OAAOuL,GAAY,CAC/CO,iBACAK,eACAjB,iBA2BF,IAAKvH,EAAMlL,SAAS3B,GAClB,MAAM,IAAIqP,UAAU,0BAKtB,OA9BA,SAASgH,EAAMtP,EAAOwN,EAAMkB,EAAQ,GAClC,IAAI5I,EAAM1L,YAAY4F,GAAtB,CAIA,GAFAyO,EAAwBC,IAEK,IAAzBpC,EAAM/S,QAAQyG,GAChB,MAAM,IAAI+D,MAAM,kCAAoCyJ,EAAK9D,KAAK,MAGhE4C,EAAM9S,KAAKwG,GAEX8F,EAAM9J,QAAQgE,EAAO,SAAcmP,EAAI3S,IAKtB,OAHXsJ,EAAM1L,YAAY+U,IAAc,OAAPA,IAC3BnB,EAAQ7U,KAAKgH,EAAUgP,EAAIrJ,EAAMpL,SAAS8B,GAAOA,EAAImF,OAASnF,EAAKgR,EAAM6B,KAGzEC,EAAMH,EAAI3B,EAAOA,EAAKjE,OAAO/M,GAAO,CAACA,GAAMkS,EAAQ,EAEvD,GAEApC,EAAMlB,KApBwB,CAqBhC,CAMAkE,CAAMrW,GAECkH,CACT,CC9QA,SAASoP,GAAO3V,GACd,MAAM4V,EAAU,CACd,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,MACL,MAAO,KAET,OAAOC,mBAAmB7V,GAAKgI,QAAQ,eAAgB,SAAkB+G,GACvE,OAAO6G,EAAQ7G,EACjB,EACF,CAUA,SAAS+G,GAAqBC,EAAQ/B,GACpCjN,KAAKiP,OAAS,GAEdD,GAAUhC,GAAWgC,EAAQhP,KAAMiN,EACrC,CAEA,MAAMjV,GAAY+W,GAAqB/W,UC3BhC,SAAS4W,GAAOjV,GACrB,OAAOmV,mBAAmBnV,GACvBsH,QAAQ,QAAS,KACjBA,QAAQ,OAAQ,KAChBA,QAAQ,QAAS,KACjBA,QAAQ,OAAQ,IACrB,CAWe,SAASiO,GAASC,EAAKH,EAAQ/B,GAC5C,IAAK+B,EACH,OAAOG,EAETA,EAAMA,GAAO,GAEb,MAAMC,EAAWjK,EAAMtL,WAAWoT,GAC9B,CACEoC,UAAWpC,GAEbA,EAKEqC,EAAUnK,EAAMnC,YAAYoM,EAAU,WAAaR,GACnDW,EAAcpK,EAAMnC,YAAYoM,EAAU,aAEhD,IAAII,EAUJ,GAPEA,EADED,EACiBA,EAAYP,EAAQI,GAEpBjK,EAAMpK,kBAAkBiU,GACvCA,EAAOlX,WACP,IAAIiX,GAAqBC,EAAQI,GAAUtX,SAASwX,GAGtDE,EAAkB,CACpB,MAAMC,EAAgBN,EAAIvW,QAAQ,MAEZ,IAAlB6W,IACFN,EAAMA,EAAIjW,MAAM,EAAGuW,IAErBN,SAAQA,EAAIvW,QAAQ,KAAc,IAAM,KAAO4W,CACjD,CAEA,OAAOL,CACT,CD1BAnX,GAAU0G,OAAS,SAAgB3B,EAAMsC,GACvCW,KAAKiP,OAAOpW,KAAK,CAACkE,EAAMsC,GAC1B,EAEArH,GAAUF,SAAW,SAAkB4X,GACrC,MAAMJ,EAAUI,EACXrQ,GAAUqQ,EAAQlX,KAAKwH,KAAMX,EAAOuP,IACrCA,GAEJ,OAAO5O,KAAKiP,OACT7T,IAAI,SAAcsH,GACjB,OAAO4M,EAAQ5M,EAAK,IAAM,IAAM4M,EAAQ5M,EAAK,GAC/C,EAAG,IACFqG,KAAK,IACV,EEpDA,MAAM4G,GACJ,WAAA/V,GACEoG,KAAK4P,SAAW,EAClB,CAWA,GAAAC,CAAIC,EAAWC,EAAU9C,GAOvB,OANAjN,KAAK4P,SAAS/W,KAAK,CACjBiX,YACAC,WACAC,cAAa/C,GAAUA,EAAQ+C,YAC/BC,QAAShD,EAAUA,EAAQgD,QAAU,OAEhCjQ,KAAK4P,SAASnU,OAAS,CAChC,CASA,KAAAyU,CAAMC,GACAnQ,KAAK4P,SAASO,KAChBnQ,KAAK4P,SAASO,GAAM,KAExB,CAOA,KAAA9H,GACMrI,KAAK4P,WACP5P,KAAK4P,SAAW,GAEpB,CAYA,OAAAvU,CAAQ3D,GACNyN,EAAM9J,QAAQ2E,KAAK4P,SAAU,SAAwBQ,GACzC,OAANA,GACF1Y,EAAG0Y,EAEP,EACF,EClEF,IAAAC,GAAe,CACbC,mBAAmB,EACnBC,mBAAmB,EACnBC,qBAAqB,EACrBC,iCAAiC,EACjCC,6BAA6B,EAC7BC,iCAAiC,GCJnCC,GAAe,CACbC,WAAW,EACXC,QAAS,CACXC,gBCJ0C,oBAApBA,gBAAkCA,gBAAkBhC,GDK1ElU,SENmC,oBAAbA,SAA2BA,SAAW,KFO5D2S,KGP+B,oBAATA,KAAuBA,KAAO,MHSlDwD,UAAW,CAAC,OAAQ,QAAS,OAAQ,OAAQ,MAAO,SIXtD,MAAMC,GAAkC,oBAAXvW,QAA8C,oBAAbwW,SAExDC,GAAmC,iBAAdC,WAA0BA,gBAActW,EAmB7DuW,GACJJ,MACEE,IAAc,CAAC,cAAe,eAAgB,MAAMvY,QAAQuY,GAAWG,SAAW,GAWhFC,GAE2B,oBAAtBC,mBAEP/W,gBAAgB+W,mBACc,mBAAvB/W,KAAKgX,cAIVC,GAAUT,IAAiBvW,OAAOiX,SAASC,MAAS,uBCxC1DC,GAAe,0IAEVA,ICGL,SAASC,GAAqBrD,GAC5B,GAAIA,EXAqC,IWCvC,MAAM,IAAI/D,GACR,wCAA0C+D,EAA1C,2BACA/D,GAAW+B,6BAGjB,CAqDA,SAASsF,GAAevS,GACtB,SAASwS,EAAUnF,EAAMxN,EAAOsF,EAAQ8J,GACtCqD,GAAqBrD,GAErB,IAAI1R,EAAO8P,EAAK4B,KAEhB,GAAa,cAAT1R,EAAsB,OAAO,EAEjC,MAAMkV,EAAe/N,OAAOC,UAAUpH,GAChCmV,EAASzD,GAAS5B,EAAKpR,OAG7B,GAFAsB,GAAQA,GAAQoI,EAAM5L,QAAQoL,GAAUA,EAAOlJ,OAASsB,EAEpDmV,EASF,OARI/M,EAAMpC,WAAW4B,EAAQ5H,GAC3B4H,EAAO5H,GAAQoI,EAAM5L,QAAQoL,EAAO5H,IAChC4H,EAAO5H,GAAM6L,OAAOvJ,GACpB,CAACsF,EAAO5H,GAAOsC,GAEnBsF,EAAO5H,GAAQsC,GAGT4S,EAGL9M,EAAMpC,WAAW4B,EAAQ5H,IAAUoI,EAAMlL,SAAS0K,EAAO5H,MAC5D4H,EAAO5H,GAAQ,IASjB,OANeiV,EAAUnF,EAAMxN,EAAOsF,EAAO5H,GAAO0R,IAEtCtJ,EAAM5L,QAAQoL,EAAO5H,MACjC4H,EAAO5H,GAnDb,SAAuBsF,GACrB,MAAM/J,EAAM,CAAA,EACNoD,EAAO3D,OAAO2D,KAAK2G,GACzB,IAAI9G,EACJ,MAAMK,EAAMF,EAAKD,OACjB,IAAII,EACJ,IAAKN,EAAI,EAAGA,EAAIK,EAAKL,IACnBM,EAAMH,EAAKH,GACXjD,EAAIuD,GAAOwG,EAAIxG,GAEjB,OAAOvD,CACT,CAwCqB6Z,CAAcxN,EAAO5H,MAG9BkV,CACV,CAEA,GAAI9M,EAAM3G,WAAWgB,IAAa2F,EAAMtL,WAAW2F,EAASwJ,SAAU,CACpE,MAAM1Q,EAAM,CAAA,EAMZ,OAJA6M,EAAM7C,aAAa9C,EAAU,CAACzC,EAAMsC,KAClC2S,EArFN,SAAuBjV,GAKrB,MAAM8P,EAAO,GACPuF,EAAU,gBAChB,IAAIpK,EAEJ,KAAwC,QAAhCA,EAAQoK,EAAQtP,KAAK/F,KAC3B+U,GAAqBjF,EAAKpR,QAC1BoR,EAAKhU,KAAkB,OAAbmP,EAAM,GAAc,GAAKA,EAAM,IAAMA,EAAM,IAGvD,OAAO6E,CACT,CAsEgBwF,CAActV,GAAOsC,EAAO/G,EAAK,KAGtCA,CACT,CAEA,OAAO,IACT,CC1GA,MAAMga,GAAM,CAACha,EAAKuD,IAAgB,MAAPvD,GAAe6M,EAAMpC,WAAWzK,EAAKuD,GAAOvD,EAAIuD,QAAOf,EA2BlF,MAAMyX,GAAW,CACfC,aAAcnC,GAEdoC,QAAS,CAAC,MAAO,OAAQ,SAEzBC,iBAAkB,CAChB,SAA0B5U,EAAMiI,GAC9B,MAAM4M,EAAc5M,EAAQ6M,kBAAoB,GAC1CC,EAAqBF,EAAY/Z,QAAQ,qBAAsB,EAC/Dka,EAAkB3N,EAAMlL,SAAS6D,GAEnCgV,GAAmB3N,EAAM7I,WAAWwB,KACtCA,EAAO,IAAIjD,SAASiD,IAKtB,GAFmBqH,EAAM3G,WAAWV,GAGlC,OAAO+U,EAAqB5E,KAAKC,UAAU6D,GAAejU,IAASA,EAGrE,GACEqH,EAAMrL,cAAcgE,IACpBqH,EAAMzL,SAASoE,IACfqH,EAAMzF,SAAS5B,IACfqH,EAAM/K,OAAO0D,IACbqH,EAAM9K,OAAOyD,IACbqH,EAAMnK,iBAAiB8C,GAEvB,OAAOA,EAET,GAAIqH,EAAMvG,kBAAkBd,GAC1B,OAAOA,EAAKkB,OAEd,GAAImG,EAAMpK,kBAAkB+C,GAE1B,OADAiI,EAAQgN,eAAe,mDAAmD,GACnEjV,EAAKhG,WAGd,IAAIwC,EAEJ,GAAIwY,EAAiB,CACnB,MAAME,EAAiBV,GAAItS,KAAM,kBACjC,GAAI2S,EAAY/Z,QAAQ,sCAAuC,EAC7D,OC3EK,SAA0BkF,EAAMmP,GAC7C,OAAOD,GAAWlP,EAAM,IAAI+T,GAASf,QAAQC,gBAAmB,CAC9D1D,QAAS,SAAUhO,EAAOxD,EAAKgR,EAAMoG,GACnC,OAAIpB,GAASqB,QAAU/N,EAAMzL,SAAS2F,IACpCW,KAAKtB,OAAO7C,EAAKwD,EAAMvH,SAAS,YACzB,GAGFmb,EAAQ3F,eAAe1V,MAAMoI,KAAMnI,UAC5C,KACGoV,GAEP,CD+DiBkG,CAAiBrV,EAAMkV,GAAgBlb,WAGhD,IACGwC,EAAa6K,EAAM7K,WAAWwD,KAC/B6U,EAAY/Z,QAAQ,wBAAyB,EAC7C,CACA,MAAMwa,EAAMd,GAAItS,KAAM,OAChBqT,EAAYD,GAAOA,EAAIvY,SAE7B,OAAOmS,GACL1S,EAAa,CAAE,UAAWwD,GAASA,EACnCuV,GAAa,IAAIA,EACjBL,EAEJ,CACF,CAEA,OAAIF,GAAmBD,GACrB9M,EAAQgN,eAAe,oBAAoB,GA9EnD,SAAyBO,EAAUzL,EAAQ6H,GACzC,GAAIvK,EAAMpL,SAASuZ,GACjB,IAEE,OADCzL,GAAUoG,KAAKsF,OAAOD,GAChBnO,EAAMnE,KAAKsS,EACpB,CAAE,MAAOnU,GACP,GAAe,gBAAXA,EAAEpC,KACJ,MAAMoC,CAEV,CAGF,OAAQuQ,GAAWzB,KAAKC,WAAWoF,EACrC,CAkEeE,CAAgB1V,IAGlBA,CACT,GAGF2V,kBAAmB,CACjB,SAA2B3V,GACzB,MAAM0U,EAAeF,GAAItS,KAAM,iBAAmBuS,GAASC,aACrDjC,EAAoBiC,GAAgBA,EAAajC,kBACjDmD,EAAepB,GAAItS,KAAM,gBACzB2T,EAAiC,SAAjBD,EAEtB,GAAIvO,EAAMjK,WAAW4C,IAASqH,EAAMnK,iBAAiB8C,GACnD,OAAOA,EAGT,GACEA,GACAqH,EAAMpL,SAAS+D,KACbyS,IAAsBmD,GAAiBC,GACzC,CACA,MACMC,IADoBpB,GAAgBA,EAAalC,oBACPqD,EAEhD,IACE,OAAO1F,KAAKsF,MAAMzV,EAAMwU,GAAItS,KAAM,gBACpC,CAAE,MAAOb,GACP,GAAIyU,EAAmB,CACrB,GAAe,gBAAXzU,EAAEpC,KACJ,MAAM2N,GAAWxB,KAAK/J,EAAGuL,GAAW0B,iBAAkBpM,KAAM,KAAMsS,GAAItS,KAAM,aAE9E,MAAMb,CACR,CACF,CACF,CAEA,OAAOrB,CACT,GAOF+V,QAAS,EAETC,eAAgB,aAChBC,eAAgB,eAEhBC,kBAAkB,EAClBC,eAAe,EAEfb,IAAK,CACHvY,SAAUgX,GAASf,QAAQjW,SAC3B2S,KAAMqE,GAASf,QAAQtD,MAGzB0G,eAAgB,SAAwBjJ,GACtC,OAAOA,GAAU,KAAOA,EAAS,GACnC,EAEAlF,QAAS,CACPoO,OAAQ,CACNC,OAAQ,oCACR,oBAAgBtZ,KEzJP,SAASuZ,GAAcC,EAAKzJ,GACzC,MAAMX,EAASlK,MAAQuS,GACjBrW,EAAU2O,GAAYX,EACtBnE,EAAU+D,GAAaZ,KAAKhN,EAAQ6J,SAC1C,IAAIjI,EAAO5B,EAAQ4B,KAQnB,OANAqH,EAAM9J,QAAQiZ,EAAK,SAAmB5c,GACpCoG,EAAOpG,EAAGc,KAAK0R,EAAQpM,EAAMiI,EAAQuC,YAAauC,EAAWA,EAASI,YAASnQ,EACjF,GAEAiL,EAAQuC,YAEDxK,CACT,CCzBe,SAASyW,GAASlV,GAC/B,SAAUA,IAASA,EAAMmV,WAC3B,CHwKArP,EAAM9J,QAAQ,CAAC,SAAU,MAAO,OAAQ,OAAQ,MAAO,QAAS,SAAWoZ,IACzElC,GAASxM,QAAQ0O,GAAU,CAAA,WIzK7B,cAA4B/J,GAU1B,WAAA9Q,CAAYoR,EAASd,EAAQU,GAC3BM,MAAiB,MAAXF,EAAkB,WAAaA,EAASN,GAAW4B,aAAcpC,EAAQU,GAC/E5K,KAAKjD,KAAO,gBACZiD,KAAKwU,YAAa,CACpB,GCLa,SAASE,GAAOC,EAASC,EAAQ/J,GAC9C,MAAMqJ,EAAiBrJ,EAASX,OAAOgK,eAClCrJ,EAASI,QAAWiJ,IAAkBA,EAAerJ,EAASI,QAGjE2J,EAAO,IAAIlK,GACT,mCAAqCG,EAASI,OAC9CJ,EAASI,QAAU,KAAOJ,EAASI,OAAS,IAAMP,GAAW2B,gBAAkB3B,GAAW0B,iBAC1FvB,EAASX,OACTW,EAASD,QACTC,IAPF8J,EAAQ9J,EAUZ,CCtBO,MAAMgK,GAAuB,CAACC,EAAUC,EAAkBC,EAAO,KACtE,IAAIC,EAAgB,EACpB,MAAMC,ECER,SAAqBC,EAAcC,GACjCD,EAAeA,GAAgB,GAC/B,MAAME,EAAQ,IAAI7b,MAAM2b,GAClBG,EAAa,IAAI9b,MAAM2b,GAC7B,IAEII,EAFAC,EAAO,EACPC,EAAO,EAKX,OAFAL,OAActa,IAARsa,EAAoBA,EAAM,IAEzB,SAAcM,GACnB,MAAMC,EAAMC,KAAKD,MAEXE,EAAYP,EAAWG,GAExBF,IACHA,EAAgBI,GAGlBN,EAAMG,GAAQE,EACdJ,EAAWE,GAAQG,EAEnB,IAAIpa,EAAIka,EACJK,EAAa,EAEjB,KAAOva,IAAMia,GACXM,GAAcT,EAAM9Z,KACpBA,GAAQ4Z,EASV,GANAK,GAAQA,EAAO,GAAKL,EAEhBK,IAASC,IACXA,GAAQA,EAAO,GAAKN,GAGlBQ,EAAMJ,EAAgBH,EACxB,OAGF,MAAMW,EAASF,GAAaF,EAAME,EAElC,OAAOE,EAAStY,KAAKuY,MAAoB,IAAbF,EAAqBC,QAAUjb,CAC7D,CACF,CD9CuBmb,CAAY,GAAI,KAErC,OEFF,SAAkBve,EAAIsd,GACpB,IAEIkB,EACAC,EAHAC,EAAY,EACZC,EAAY,IAAOrB,EAIvB,MAAMsB,EAAS,CAACC,EAAMZ,EAAMC,KAAKD,SAC/BS,EAAYT,EACZO,EAAW,KACPC,IACFK,aAAaL,GACbA,EAAQ,MAEVze,KAAM6e,IAqBR,MAAO,CAlBW,IAAIA,KACpB,MAAMZ,EAAMC,KAAKD,MACXI,EAASJ,EAAMS,EACjBL,GAAUM,EACZC,EAAOC,EAAMZ,IAEbO,EAAWK,EACNJ,IACHA,EAAQlY,WAAW,KACjBkY,EAAQ,KACRG,EAAOJ,IACNG,EAAYN,MAKP,IAAMG,GAAYI,EAAOJ,GAGzC,CFjCSO,CAAUtX,IACf,IAAKA,GAAyB,iBAAbA,EAAEuX,OACjB,OAEF,MAAMC,EAAYxX,EAAEuX,OACdE,EAAQzX,EAAE0X,iBAAmB1X,EAAEyX,WAAQ9b,EACvC4b,EAAkB,MAATE,EAAgBnZ,KAAK2X,IAAIuB,EAAWC,GAASD,EACtDG,EAAgBrZ,KAAKsZ,IAAI,EAAGL,EAASzB,GACrC+B,EAAO9B,EAAa4B,GAE1B7B,EAAgBxX,KAAKsZ,IAAI9B,EAAeyB,GAcxC5B,EAZa,CACX4B,SACAE,QACAK,SAAUL,EAAQF,EAASE,OAAQ9b,EACnCua,MAAOyB,EACPE,KAAMA,QAAclc,EACpBoc,UAAWF,GAAQJ,GAASA,EAAQF,GAAUM,OAAOlc,EACrDqc,MAAOhY,EACP0X,iBAA2B,MAATD,EAClB,CAAC7B,EAAmB,WAAa,WAAW,KAI7CC,IAGQoC,GAAyB,CAACR,EAAOS,KAC5C,MAAMR,EAA4B,MAATD,EAEzB,MAAO,CACJF,GACCW,EAAU,GAAG,CACXR,mBACAD,QACAF,WAEJW,EAAU,KAIDC,GACV5f,GACD,IAAI6e,IACFpR,EAAMjH,KAAK,IAAMxG,KAAM6e,IGnD3B,IAAAgB,GAAe1F,GAASR,sBACpB,EAAEK,EAAQ8F,IAAYrI,IACpBA,EAAM,IAAIsI,IAAItI,EAAK0C,GAASH,QAG1BA,EAAOgG,WAAavI,EAAIuI,UACxBhG,EAAOiG,OAASxI,EAAIwI,OACnBH,GAAU9F,EAAOkG,OAASzI,EAAIyI,OANnC,CASE,IAAIH,IAAI5F,GAASH,QACjBG,GAAST,WAAa,kBAAkB1K,KAAKmL,GAAST,UAAUyG,YAElE,KAAM,ECZVC,GAAejG,GAASR,sBAEpB,CACE,KAAA0G,CAAMhb,EAAMsC,EAAO2Y,EAASnL,EAAMoL,EAAQC,EAAQC,GAChD,GAAwB,oBAAbjH,SAA0B,OAErC,MAAMkH,EAAS,CAAC,GAAGrb,KAAQ+R,mBAAmBzP,MAE1C8F,EAAMnL,SAASge,IACjBI,EAAOvf,KAAK,WAAW,IAAI+c,KAAKoC,GAASK,iBAEvClT,EAAMpL,SAAS8S,IACjBuL,EAAOvf,KAAK,QAAQgU,KAElB1H,EAAMpL,SAASke,IACjBG,EAAOvf,KAAK,UAAUof,MAET,IAAXC,GACFE,EAAOvf,KAAK,UAEVsM,EAAMpL,SAASoe,IACjBC,EAAOvf,KAAK,YAAYsf,KAG1BjH,SAASkH,OAASA,EAAOrP,KAAK,KAChC,EAEA,IAAAuP,CAAKvb,GACH,GAAwB,oBAAbmU,SAA0B,OAAO,KAM5C,MAAM4G,EAAU5G,SAASkH,OAAO3U,MAAM,KACtC,IAAK,IAAIlI,EAAI,EAAGA,EAAIuc,EAAQrc,OAAQF,IAAK,CACvC,MAAM6c,EAASN,EAAQvc,GAAG0F,QAAQ,OAAQ,IACpCsX,EAAKH,EAAOxf,QAAQ,KAC1B,IAAW,IAAP2f,GAAaH,EAAOlf,MAAM,EAAGqf,KAAQxb,EACvC,IACE,OAAOyb,mBAAmBJ,EAAOlf,MAAMqf,EAAK,GAC9C,CAAE,MAAOpZ,GACP,OAAOiZ,EAAOlf,MAAMqf,EAAK,EAC3B,CAEJ,CACA,OAAO,IACT,EAEA,MAAAE,CAAO1b,GACLiD,KAAK+X,MAAMhb,EAAM,GAAI6Y,KAAKD,MAAQ,MAAU,IAC9C,GAGF,CACE,KAAAoC,GAAS,EACTO,KAAI,IACK,KAET,MAAAG,GAAU,GCxDhB,MAAMC,GAAwB,oBACxBC,GAAgC,YActC,SAASC,GAA2BzJ,EAAKjF,GACvC,GAAmB,iBAARiF,GAAoBuJ,GAAsBhS,KALvD,SAAsCyI,GACpC,OATF,SAAsCA,GACpC,IAAI5T,EAAI,EACR,KAAOA,EAAI4T,EAAI1T,QAAU0T,EAAI/N,WAAW7F,IAAM,IAC5CA,IAEF,OAAO4T,EAAIjW,MAAMqC,EACnB,CAGSsd,CAA6B1J,GAAKlO,QAAQ0X,GAA+B,GAClF,CAG4DG,CAA6B3J,IACrF,MAAM,IAAIzE,GACR,2CACAA,GAAW8B,gBACXtC,EAGN,CAYe,SAAS6O,GAAcC,EAASC,EAAcC,EAAmBhP,GAC9E0O,GAA2BK,EAAc/O,GACzC,IAAIiP,IC9Be,iBAJiBhK,EDkCD8J,IC1B5B,8BAA8BvS,KAAKyI,IAR7B,IAAuBA,EDmCpC,OAAI6J,IAAYG,IAAuC,IAAtBD,IAC/BN,GAA2BI,EAAS9O,GEnCzB,SAAqB8O,EAASI,GAC3C,OAAOA,EACHJ,EAAQ/X,QAAQ,SAAU,IAAM,IAAMmY,EAAYnY,QAAQ,OAAQ,IAClE+X,CACN,CFgCWK,CAAYL,EAASC,IAEvBA,CACT,CG5CA,MAAMK,GAAmB5gB,GAAWA,aAAiBoR,GAAe,IAAKpR,GAAUA,EAWpE,SAAS6gB,GAAYC,EAASC,GAE3CD,EAAUA,GAAW,CAAA,EACrBC,EAAUA,GAAW,CAAA,EAMrB,MAAMvP,EAASnS,OAAOiB,OAAO,MAW7B,SAAS0gB,EAAe/U,EAAQ9G,EAAQtF,EAAMuH,GAC5C,OAAIqF,EAAMjL,cAAcyK,IAAWQ,EAAMjL,cAAc2D,GAC9CsH,EAAMvF,MAAMpH,KAAK,CAAEsH,YAAY6E,EAAQ9G,GACrCsH,EAAMjL,cAAc2D,GACtBsH,EAAMvF,MAAM,CAAA,EAAI/B,GACdsH,EAAM5L,QAAQsE,GAChBA,EAAO3E,QAET2E,CACT,CAEA,SAAS8b,EAAoBlZ,EAAGC,EAAGnI,EAAMuH,GACvC,OAAKqF,EAAM1L,YAAYiH,GAEXyE,EAAM1L,YAAYgH,QAAvB,EACEiZ,OAAe5e,EAAW2F,EAAGlI,EAAMuH,GAFnC4Z,EAAejZ,EAAGC,EAAGnI,EAAMuH,EAItC,CAGA,SAAS8Z,EAAiBnZ,EAAGC,GAC3B,IAAKyE,EAAM1L,YAAYiH,GACrB,OAAOgZ,OAAe5e,EAAW4F,EAErC,CAGA,SAASmZ,EAAiBpZ,EAAGC,GAC3B,OAAKyE,EAAM1L,YAAYiH,GAEXyE,EAAM1L,YAAYgH,QAAvB,EACEiZ,OAAe5e,EAAW2F,GAF1BiZ,OAAe5e,EAAW4F,EAIrC,CAyBA,SAASoZ,EAAgBrZ,EAAGC,EAAGnI,GAC7B,OAAI4M,EAAMpC,WAAW0W,EAASlhB,GACrBmhB,EAAejZ,EAAGC,GAChByE,EAAMpC,WAAWyW,EAASjhB,GAC5BmhB,OAAe5e,EAAW2F,QAD5B,CAGT,CA1EA1I,OAAO4I,eAAeuJ,EAAQ,iBAAkB,CAG9CtJ,UAAW,KACXvB,MAAOtH,OAAOC,UAAUK,eACxByI,YAAY,EACZD,UAAU,EACVE,cAAc,IAqEhB,MAAMgZ,EAAW,CACf5K,IAAKyK,EACLnF,OAAQmF,EACR9b,KAAM8b,EACNZ,QAASa,EACTnH,iBAAkBmH,EAClBpG,kBAAmBoG,EACnBG,iBAAkBH,EAClBhG,QAASgG,EACTI,eAAgBJ,EAChBK,gBAAiBL,EACjBM,cAAeN,EACfpH,QAASoH,EACTnG,aAAcmG,EACd/F,eAAgB+F,EAChB9F,eAAgB8F,EAChBO,iBAAkBP,EAClBQ,mBAAoBR,EACpBS,WAAYT,EACZ7F,iBAAkB6F,EAClB5F,cAAe4F,EACfU,eAAgBV,EAChBW,UAAWX,EACXY,UAAWZ,EACXa,WAAYb,EACZc,YAAad,EACbe,WAAYf,EACZgB,mBAAoBhB,EACpBiB,iBAAkBjB,EAClB3F,eAAgB4F,EAChB/T,QAAS,CAACtF,EAAGC,EAAGnI,IACdohB,EAAoBL,GAAgB7Y,GAAI6Y,GAAgB5Y,GAAInI,GAAM,IAwBtE,OArBA4M,EAAM9J,QAAQtD,OAAO2D,KAAK,IAAK8d,KAAYC,IAAY,SAA4BlhB,GACjF,GAAa,cAATA,GAAiC,gBAATA,GAAmC,cAATA,EAAsB,OAC5E,MAAMqH,EAAQuF,EAAMpC,WAAWgX,EAAUxhB,GAAQwhB,EAASxhB,GAAQohB,EAG5DoB,EAAcnb,EAFVuF,EAAMpC,WAAWyW,EAASjhB,GAAQihB,EAAQjhB,QAAQuC,EAClDqK,EAAMpC,WAAW0W,EAASlhB,GAAQkhB,EAAQlhB,QAAQuC,EAC5BvC,GAC/B4M,EAAM1L,YAAYshB,IAAgBnb,IAAUka,IAAqB5P,EAAO3R,GAAQwiB,EACnF,GAGE5V,EAAMpC,WAAW0W,EAAS,mBAC1BtU,EAAM1L,YAAYggB,EAAQvF,kBACyC,IA7ErE,SAAqC3b,GACnC,MAAMyiB,EAAgB7V,EAAMpC,WAAW0W,EAAS,gBAAkBA,EAAQjH,kBAAe1X,EAEzF,IAAKqK,EAAM1L,YAAYuhB,GAAgB,CACrC,IAAI7V,EAAMjL,cAAc8gB,GAKtB,OAJA,GAAI7V,EAAMpC,WAAWiY,EAAeziB,GAClC,OAAOyiB,EAAcziB,EAK3B,CAEA,MAAM0iB,EAAgB9V,EAAMpC,WAAWyW,EAAS,gBAAkBA,EAAQhH,kBAAe1X,EAEzF,GAAIqK,EAAMjL,cAAc+gB,IAAkB9V,EAAMpC,WAAWkY,EAAe1iB,GACxE,OAAO0iB,EAAc1iB,EAIzB,CAyDE2iB,CAA4B,qCAExB/V,EAAMpC,WAAWyW,EAAS,kBAC5BtP,EAAOgK,eAAiBwF,OAAe5e,EAAW0e,EAAQtF,uBAEnDhK,EAAOgK,gBAIXhK,CACT,CCpJA,MAAMiR,GAA4B,CAAC,eAAgB,kBA4BnD,SAASC,GAAclR,GACrB,MAAMmR,EAAY9B,GAAY,CAAA,EAAIrP,GAI5BoI,EAAOzW,GAASsJ,EAAMpC,WAAWsY,EAAWxf,GAAOwf,EAAUxf,QAAOf,EAEpEgD,EAAOwU,EAAI,QACjB,IAAI6H,EAAgB7H,EAAI,iBACxB,MAAMyB,EAAiBzB,EAAI,kBACrBwB,EAAiBxB,EAAI,kBAC3B,IAAIvM,EAAUuM,EAAI,WAClB,MAAMgJ,EAAOhJ,EAAI,QACX0G,EAAU1G,EAAI,WACd4G,EAAoB5G,EAAI,qBACxBnD,EAAMmD,EAAI,OAWhB,GATA+I,EAAUtV,QAAUA,EAAU+D,GAAaZ,KAAKnD,GAEhDsV,EAAUlM,IAAMD,GACd6J,GAAcC,EAAS7J,EAAK+J,EAAmBmC,GAC/C/I,EAAI,UACJA,EAAI,qBAIFgJ,EAAM,CACR,MAAMC,EAAWpW,EAAMnC,YAAYsY,EAAM,aAAe,GAClDE,EAAWrW,EAAMnC,YAAYsY,EAAM,aAAe,GAExD,IACEvV,EAAQ5C,IACN,gBACA,SAAWsY,KAAKF,EAAW,KAAOC,EArCxC1M,mBAqC8D0M,GArCtCva,QAAQ,mBAAoB,CAACya,EAAGC,IACtDzZ,OAAO0Z,aAAaC,SAASF,EAAK,MAoCsC,KAExE,CAAE,MAAOxc,GACP,MAAMuL,GAAWxB,KAAK/J,EAAGuL,GAAWkB,qBAAsB1B,EAC5D,CACF,CAmBA,GAjBI/E,EAAM3G,WAAWV,KAEjB+T,GAASR,uBACTQ,GAASN,gCACTpM,EAAM5F,cAAczB,GAEpBiI,EAAQgN,oBAAejY,GACdqK,EAAMtL,WAAWiE,EAAKge,aAzErC,SAA4B/V,EAASgW,EAAaC,GACjC,iBAAXA,EAKJjkB,OAAOiR,QAAQ+S,GAAe,CAAA,GAAI1gB,QAAQ,EAAEQ,EAAKlC,MAC3CwhB,GAA0BjY,SAASrH,EAAI1C,gBACzC4M,EAAQ5C,IAAItH,EAAKlC,KANnBoM,EAAQ5C,IAAI4Y,EAShB,CAgEME,CAAmBlW,EAASjI,EAAKge,aAAcxJ,EAAI,0BAQnDT,GAASR,sBAAuB,CAC9BlM,EAAMtL,WAAWsgB,KACnBA,EAAgBA,EAAckB,IAShC,IAFoB,IAAlBlB,GAA4C,MAAjBA,GAAyB5C,GAAgB8D,EAAUlM,KAE5D,CAClB,MAAM+M,EAAYnI,GAAkBD,GAAkBgE,GAAQQ,KAAKxE,GAE/DoI,GACFnW,EAAQ5C,IAAI4Q,EAAgBmI,EAEhC,CACF,CAEA,OAAOb,CACT,CCtGA,IAAAc,GAFwD,oBAAnBC,gBAGnC,SAAUlS,GACR,OAAO,IAAImS,QAAQ,SAA4B1H,EAASC,GACtD,MAAM0H,EAAUlB,GAAclR,GAC9B,IAAIqS,EAAcD,EAAQxe,KAC1B,MAAM0e,EAAiB1S,GAAaZ,KAAKoT,EAAQvW,SAASuC,YAC1D,IACImU,EACAC,EAAiBC,EACjBC,EAAaC,GAHbnJ,aAAEA,EAAY0G,iBAAEA,EAAgBC,mBAAEA,GAAuBiC,EAK7D,SAAS7Z,IACPma,GAAeA,IACfC,GAAiBA,IAEjBP,EAAQ3B,aAAe2B,EAAQ3B,YAAYmC,YAAYL,GAEvDH,EAAQS,QAAUT,EAAQS,OAAOC,oBAAoB,QAASP,EAChE,CAEA,IAAI7R,EAAU,IAAIwR,eAOlB,SAASa,IACP,IAAKrS,EACH,OAGF,MAAMsS,EAAkBpT,GAAaZ,KACnC,0BAA2B0B,GAAWA,EAAQuS,yBAehDzI,GACE,SAAkBrV,GAChBsV,EAAQtV,GACRoD,GACF,EACA,SAAiB2a,GACfxI,EAAOwI,GACP3a,GACF,EAjBe,CACf3E,KAJC4V,GAAiC,SAAjBA,GAA4C,SAAjBA,EAExC9I,EAAQC,SADRD,EAAQyS,aAIZpS,OAAQL,EAAQK,OAChBqS,WAAY1S,EAAQ0S,WACpBvX,QAASmX,EACThT,SACAU,YAgBFA,EAAU,IACZ,CAxCAA,EAAQ2S,KAAKjB,EAAQ7H,OAAO3Q,cAAewY,EAAQnN,KAAK,GAGxDvE,EAAQiJ,QAAUyI,EAAQzI,QAuCtB,cAAejJ,EAEjBA,EAAQqS,UAAYA,EAGpBrS,EAAQ4S,mBAAqB,WACtB5S,GAAkC,IAAvBA,EAAQ6S,aASH,IAAnB7S,EAAQK,QACNL,EAAQ8S,aAAe9S,EAAQ8S,YAAYC,WAAW,WAM1D1f,WAAWgf,EACb,EAIFrS,EAAQgT,QAAU,WACXhT,IAILgK,EAAO,IAAIlK,GAAW,kBAAmBA,GAAWoB,aAAc5B,EAAQU,IAC1EnI,IAGAmI,EAAU,KACZ,EAGAA,EAAQiT,QAAU,SAAqB1G,GAIrC,MAAM2G,EAAM3G,GAASA,EAAMnM,QAAUmM,EAAMnM,QAAU,gBAC/CoS,EAAM,IAAI1S,GAAWoT,EAAKpT,GAAWuB,YAAa/B,EAAQU,GAEhEwS,EAAIjG,MAAQA,GAAS,KACrBvC,EAAOwI,GACP3a,IACAmI,EAAU,IACZ,EAGAA,EAAQmT,UAAY,WAClB,IAAIC,EAAsB1B,EAAQzI,QAC9B,cAAgByI,EAAQzI,QAAU,cAClC,mBACJ,MAAMrB,EAAe8J,EAAQ9J,cAAgBnC,GACzCiM,EAAQ0B,sBACVA,EAAsB1B,EAAQ0B,qBAEhCpJ,EACE,IAAIlK,GACFsT,EACAxL,EAAahC,oBAAsB9F,GAAWqB,UAAYrB,GAAWoB,aACrE5B,EACAU,IAGJnI,IAGAmI,EAAU,IACZ,OAGgB9P,IAAhByhB,GAA6BC,EAAezJ,eAAe,MAGvD,qBAAsBnI,GACxBzF,EAAM9J,QAAQyK,GAAyB0W,GAAiB,SAA0B7iB,EAAKkC,GACrF+O,EAAQqT,iBAAiBpiB,EAAKlC,EAChC,GAIGwL,EAAM1L,YAAY6iB,EAAQpC,mBAC7BtP,EAAQsP,kBAAoBoC,EAAQpC,iBAIlCxG,GAAiC,SAAjBA,IAClB9I,EAAQ8I,aAAe4I,EAAQ5I,cAI7B2G,KACDsC,EAAmBE,GAAiBhI,GAAqBwF,GAAoB,GAC9EzP,EAAQhN,iBAAiB,WAAY+e,IAInCvC,GAAoBxP,EAAQsT,UAC7BxB,EAAiBE,GAAe/H,GAAqBuF,GAEtDxP,EAAQsT,OAAOtgB,iBAAiB,WAAY8e,GAE5C9R,EAAQsT,OAAOtgB,iBAAiB,UAAWgf,KAGzCN,EAAQ3B,aAAe2B,EAAQS,UAGjCN,EAAc0B,IACPvT,IAGLgK,GAAQuJ,GAAUA,EAAO9kB,KAAO,IAAI+kB,GAAc,KAAMlU,EAAQU,GAAWuT,GAC3EvT,EAAQyT,QACR5b,IACAmI,EAAU,OAGZ0R,EAAQ3B,aAAe2B,EAAQ3B,YAAY2D,UAAU7B,GACjDH,EAAQS,SACVT,EAAQS,OAAOwB,QACX9B,IACAH,EAAQS,OAAOnf,iBAAiB,QAAS6e,KAIjD,MAAM/E,EChNG,SAAuBvI,GACpC,MAAMnH,EAAQ,4BAA4BlF,KAAKqM,GAC/C,OAAQnH,GAASA,EAAM,IAAO,EAChC,CD6MuBwW,CAAclC,EAAQnN,KAEvC,GAAIuI,IAAa7F,GAASb,UAAU9N,SAASwU,GAS3C,OARA9C,EACE,IAAIlK,GACF,wBAA0BgN,EAAW,IACrChN,GAAW2B,gBACXnC,SAGJzH,IAKFmI,EAAQ6T,KAAKlC,GAAe,KAC9B,EACF,EE/NF,MAAMmC,GAAiB,CAACC,EAAS9K,KAG/B,GAFA8K,EAAUA,EAAUA,EAAQ/c,OAAOgd,SAAW,IAEzC/K,IAAY8K,EAAQljB,OACvB,OAGF,MAAMojB,EAAa,IAAIC,gBAEvB,IAAIP,GAAU,EAEd,MAAMX,EAAU,SAAUmB,GACxB,IAAKR,EAAS,CACZA,GAAU,EACVzB,IACA,MAAMM,EAAM2B,aAAkB3b,MAAQ2b,EAAS/e,KAAK+e,OACpDF,EAAWR,MACTjB,aAAe1S,GACX0S,EACA,IAAIgB,GAAchB,aAAeha,MAAQga,EAAIpS,QAAUoS,GAE/D,CACF,EAEA,IAAIjH,EACFtC,GACA5V,WAAW,KACTkY,EAAQ,KACRyH,EAAQ,IAAIlT,GAAW,cAAcmJ,eAAsBnJ,GAAWqB,aACrE8H,GAEL,MAAMiJ,EAAc,KACb6B,IACLxI,GAASK,aAAaL,GACtBA,EAAQ,KACRwI,EAAQtjB,QAAS0hB,IACfA,EAAOD,YACHC,EAAOD,YAAYc,GACnBb,EAAOC,oBAAoB,QAASY,KAE1Ce,EAAU,OAGZA,EAAQtjB,QAAS0hB,GAAWA,EAAOnf,iBAAiB,QAASggB,EAAS,CAAEoB,MAAM,KAE9E,MAAMjC,OAAEA,GAAW8B,EAInB,OAFA9B,EAAOD,YAAc,IAAM3X,EAAMjH,KAAK4e,GAE/BC,GCrDIkC,GAAc,UAAWC,EAAOC,GAC3C,IAAIvjB,EAAMsjB,EAAME,WAEhB,GAAkBxjB,EAAMujB,EAEtB,kBADMD,GAIR,IACIvZ,EADA0Z,EAAM,EAGV,KAAOA,EAAMzjB,GACX+J,EAAM0Z,EAAMF,QACND,EAAMhmB,MAAMmmB,EAAK1Z,GACvB0Z,EAAM1Z,CAEV,EAQM2Z,GAAaC,gBAAiBC,GAClC,GAAIA,EAAOpnB,OAAOqnB,eAEhB,kBADOD,GAIT,MAAME,EAASF,EAAOG,YACtB,IACE,OAAS,CACP,MAAMld,KAAEA,EAAIpD,MAAEA,SAAgBqgB,EAAOpH,OACrC,GAAI7V,EACF,YAEIpD,CACR,CACF,CAAC,cACOqgB,EAAOvB,QACf,CACF,EAEayB,GAAc,CAACJ,EAAQL,EAAWU,EAAYC,KACzD,MAAM5nB,EA3BiBqnB,gBAAiBQ,EAAUZ,GAClD,UAAW,MAAMD,KAASI,GAAWS,SAC5Bd,GAAYC,EAAOC,EAE9B,CAuBmBa,CAAUR,EAAQL,GAEnC,IACI1c,EADA4S,EAAQ,EAER4K,EAAa9gB,IACVsD,IACHA,GAAO,EACPqd,GAAYA,EAAS3gB,KAIzB,OAAO,IAAI+gB,eACT,CACE,UAAMC,CAAKtB,GACT,IACE,MAAMpc,KAAEA,EAAIpD,MAAEA,SAAgBnH,EAASsK,OAEvC,GAAIC,EAGF,OAFAwd,SACApB,EAAWuB,QAIb,IAAIxkB,EAAMyD,EAAM+f,WAChB,GAAIS,EAAY,CACd,IAAIQ,EAAehL,GAASzZ,EAC5BikB,EAAWQ,EACb,CACAxB,EAAWyB,QAAQ,IAAIjkB,WAAWgD,GACpC,CAAE,MAAO+d,GAEP,MADA6C,EAAU7C,GACJA,CACR,CACF,EACAe,OAAOY,IACLkB,EAAUlB,GACH7mB,EAASqoB,WAGpB,CACEC,cAAe,KC5EfC,GAAcC,GACjBA,GAAY,IAAMA,GAAY,IAC9BA,GAAY,IAAMA,GAAY,IAC9BA,GAAY,IAAMA,GAAY,IAE3BC,GAAuB,CAAC1nB,EAAKsC,EAAGK,IACpCL,EAAI,EAAIK,GAAO6kB,GAAWxnB,EAAImI,WAAW7F,EAAI,KAAOklB,GAAWxnB,EAAImI,WAAW7F,EAAI,ICf7E,MAAMqlB,GAAU,UCmBjB/mB,WAAEA,IAAesL,EAmBjB0b,GAA0BxhB,IAC9B,IAAK8F,EAAMpL,SAASsF,GAClB,OAAOA,EAGT,IACE,OAAOmZ,mBAAmBnZ,EAC5B,CAAE,MAAOsL,GACP,OAAOtL,CACT,GAGIqH,GAAO,CAAChP,KAAO6e,KACnB,IACE,QAAS7e,KAAM6e,EACjB,CAAE,MAAOpX,GACP,OAAO,CACT,GAYI2hB,GAAW1N,IACf,MAAM2N,OACajmB,IAAjBqK,EAAMxK,QAAyC,OAAjBwK,EAAMxK,OAChCwK,EAAMxK,OACNH,YACA0lB,eAAEA,EAAcc,YAAEA,GAAgBD,EAExC3N,EAAMjO,EAAMvF,MAAMpH,KAChB,CACEuH,eAAe,GAEjB,CACEkhB,QAASF,EAAaE,QACtBC,SAAUH,EAAaG,UAEzB9N,GAGF,MAAQ+N,MAAOC,EAAQH,QAAEA,EAAOC,SAAEA,GAAa9N,EACzCiO,EAAmBD,EAAWvnB,GAAWunB,GAA6B,mBAAVD,MAC5DG,EAAqBznB,GAAWonB,GAChCM,EAAsB1nB,GAAWqnB,GAEvC,IAAKG,EACH,OAAO,EAGT,MAAMG,EAA4BH,GAAoBxnB,GAAWqmB,GAE3DuB,EACJJ,IACwB,mBAAhBL,GAEDtR,EAED,IAAIsR,EAFU/nB,GACZyW,EAAQd,OAAO3V,IAEnBsmB,MAAOtmB,GAAQ,IAAIoD,iBAAiB,IAAI4kB,EAAQhoB,GAAKyoB,gBAJrD,IACGhS,EAKT,MAAMiS,EACJL,GACAE,GACA9a,GAAK,KACH,IAAIkb,GAAiB,EAErB,MAAMhX,EAAU,IAAIqW,EAAQpP,GAASH,OAAQ,CAC3CmQ,KAAM,IAAI3B,EACVzL,OAAQ,OACR,UAAIqN,GAEF,OADAF,GAAiB,EACV,MACT,IAGIG,EAAiBnX,EAAQ7E,QAAQtB,IAAI,gBAM3C,OAJoB,MAAhBmG,EAAQiX,MACVjX,EAAQiX,KAAK1D,SAGRyD,IAAmBG,IAGxBC,EACJT,GACAC,GACA9a,GAAK,IAAMvB,EAAMnK,iBAAiB,IAAIkmB,EAAS,IAAIW,OAE/CI,EAAY,CAChBzC,OAAQwC,GAAsB,CAAME,GAAQA,EAAIL,OAGlDR,GAEI,CAAC,OAAQ,cAAe,OAAQ,WAAY,UAAUhmB,QAAShC,KAC5D4oB,EAAU5oB,KACR4oB,EAAU5oB,GAAQ,CAAC6oB,EAAKhY,KACvB,IAAIuK,EAASyN,GAAOA,EAAI7oB,GAExB,GAAIob,EACF,OAAOA,EAAOjc,KAAK0pB,GAGrB,MAAM,IAAIxX,GACR,kBAAkBrR,sBAClBqR,GAAW6B,gBACXrC,OAMZ,MAAMiY,EAAgB5C,MAAOsC,IAC3B,GAAY,MAARA,EACF,OAAO,EAGT,GAAI1c,EAAM9K,OAAOwnB,GACf,OAAOA,EAAKO,KAGd,GAAIjd,EAAMf,oBAAoByd,GAAO,CACnC,MAAMQ,EAAW,IAAIpB,EAAQpP,GAASH,OAAQ,CAC5C+C,OAAQ,OACRoN,SAEF,aAAcQ,EAASX,eAAetC,UACxC,CAEA,OAAIja,EAAMvG,kBAAkBijB,IAAS1c,EAAMrL,cAAc+nB,GAChDA,EAAKzC,YAGVja,EAAMpK,kBAAkB8mB,KAC1BA,GAAc,IAGZ1c,EAAMpL,SAAS8nB,UACHJ,EAAWI,IAAOzC,gBADlC,IAWF,OAAOG,MAAOrV,IACZ,IAAIiF,IACFA,EAAGsF,OACHA,EAAM3W,KACNA,EAAIif,OACJA,EAAMpC,YACNA,EAAW9G,QACXA,EAAOwG,mBACPA,EAAkBD,iBAClBA,EAAgB1G,aAChBA,EAAY3N,QACZA,EAAOmU,gBACPA,EAAkB,cAAaoI,aAC/BA,EAAYtO,iBACZA,EAAgBC,cAChBA,GACEmH,GAAclR,GAElB,MAAMqY,EAAsBpd,EAAMnL,SAASga,IAAqBA,GAAmB,EAC7EwO,EAAmBrd,EAAMnL,SAASia,IAAkBA,GAAgB,EAG1E,IAAIwO,EAASrB,GAAYD,MAEzBzN,EAAeA,GAAgBA,EAAe,IAAIva,cAAgB,OAElE,IAAIupB,EAAiBhE,GACnB,CAAC3B,EAAQpC,GAAeA,EAAYgI,iBACpC9O,GAGEjJ,EAAU,KAEd,MAAMkS,EACJ4F,GACAA,EAAe5F,aACrB,MACQ4F,EAAe5F,aAChB,GAEH,IAAI8F,EAMAC,EAAmB,KAEvB,MAAMC,EAAqB,IACzB,IAAIpY,GACF,+CACAA,GAAW2B,gBACXnC,EACAU,GAGJ,IAEE,IAAI0Q,EACJ,MAAMyH,GAvCKlnB,EAuCY,OAvCHsJ,EAAMpC,WAAWmH,EAAQrO,GAAOqO,EAAOrO,QAAOf,GAyClE,GAAIioB,EAAY,CACd,MAAMxH,EAAWpW,EAAMnC,YAAY+f,EAAY,aAAe,GAE9DzH,EAAO,CACLC,WACAC,SAHerW,EAAMnC,YAAY+f,EAAY,aAAe,GAKhE,CAEA,GA9M2B,CAAC5T,IAChC,MAAM6T,EAAgB7T,EAAIvW,QAAQ,OAClC,IAAIqqB,EAAa9T,EAIjB,OAHsB,IAAlB6T,IACFC,EAAaA,EAAW/pB,MAAM8pB,EAAgB,IAEzCC,EAAW/f,SAAS,MAAQ+f,EAAW/f,SAAS,MAwM/CggB,CAAyB/T,GAAM,CACjC,MAAMgU,EAAY,IAAI1L,IAAItI,EAAK0C,GAASH,QAExC,IAAK4J,IAAS6H,EAAU5H,UAAY4H,EAAU3H,UAAW,CACvD,MAAM4H,EAAcvC,GAAuBsC,EAAU5H,UAErDD,EAAO,CACLC,SAAU6H,EACV5H,SAHkBqF,GAAuBsC,EAAU3H,UAKvD,EAEI2H,EAAU5H,UAAY4H,EAAU3H,YAClC2H,EAAU5H,SAAW,GACrB4H,EAAU3H,SAAW,GACrBrM,EAAMgU,EAAUvR,KAEpB,CAaA,GAXI0J,IACFvV,EAAQlB,OAAO,iBACfkB,EAAQ5C,IACN,gBACA,SAAWsY,MAlQDxiB,GAkQkBqiB,EAAKC,UAAY,IAAM,KAAOD,EAAKE,UAAY,IAjQnF1M,mBAAmB7V,GAAKgI,QAAQ,mBAAoB,CAACya,EAAGC,IACtDzZ,OAAO0Z,aAAaC,SAASF,EAAK,UAuQ5B4G,GAAsC,iBAARpT,GAAoBA,EAAIwO,WAAW,SAAU,CAC7E,MAAMzG,EFtRC,SAAqC/H,GAClD,IAAKA,GAAsB,iBAARA,EAAkB,OAAO,EAC5C,IAAKA,EAAIwO,WAAW,SAAU,OAAO,EAErC,MAAM0F,EAAQlU,EAAIvW,QAAQ,KAC1B,GAAIyqB,EAAQ,EAAG,OAAO,EAEtB,MAAMC,EAAOnU,EAAIjW,MAAM,EAAGmqB,GACpBxB,EAAO1S,EAAIjW,MAAMmqB,EAAQ,GAG/B,GAFiB,WAAW3c,KAAK4c,GAEnB,CACZ,IAAIC,EAAe1B,EAAKpmB,OACxB,MAAMG,EAAMimB,EAAKpmB,OAEjB,IAAK,IAAIF,EAAI,EAAGA,EAAIK,EAAKL,IACvB,GAA2B,KAAvBsmB,EAAKzgB,WAAW7F,IAAuBA,EAAI,EAAIK,EAAK,CACtD,MAAM6E,EAAIohB,EAAKzgB,WAAW7F,EAAI,GACxBmF,EAAImhB,EAAKzgB,WAAW7F,EAAI,GAChBklB,GAAWhgB,IAAMggB,GAAW/f,KAGxC6iB,GAAgB,EAChBhoB,GAAK,EAET,CAGF,IAAIioB,EAAM,EACNC,EAAM7nB,EAAM,EAEhB,MAAM8nB,EAAepjB,GACnBA,GAAK,GACsB,KAA3BuhB,EAAKzgB,WAAWd,EAAI,IACO,KAA3BuhB,EAAKzgB,WAAWd,EAAI,KACI,KAAvBuhB,EAAKzgB,WAAWd,IAAoC,MAAvBuhB,EAAKzgB,WAAWd,IAE5CmjB,GAAO,IACoB,KAAzB5B,EAAKzgB,WAAWqiB,IAClBD,IACAC,KACSC,EAAYD,KACrBD,IACAC,GAAO,IAIC,IAARD,GAAaC,GAAO,IACO,KAAzB5B,EAAKzgB,WAAWqiB,IAETC,EAAYD,KADrBD,IAMJ,MACMnO,EAAiB,EADR5X,KAAKkmB,MAAMJ,EAAe,IACbC,GAAO,GACnC,OAAOnO,EAAQ,EAAIA,EAAQ,CAC7B,CAMA,IAAIA,EAAQ,EACZ,IAAK,IAAI9Z,EAAI,EAAGK,EAAMimB,EAAKpmB,OAAQF,EAAIK,EAAKL,IAAK,CAC/C,MAAMqoB,EAAI/B,EAAKzgB,WAAW7F,GAC1B,GAAU,KAANqoB,GAAsBjD,GAAqBkB,EAAMtmB,EAAGK,GACtDyZ,GAAS,EACT9Z,GAAK,OACA,GAAIqoB,EAAI,IACbvO,GAAS,OACJ,GAAIuO,EAAI,KACbvO,GAAS,OACJ,GAAIuO,GAAK,OAAUA,GAAK,OAAUroB,EAAI,EAAIK,EAAK,CACpD,MAAM4G,EAAOqf,EAAKzgB,WAAW7F,EAAI,GAC7BiH,GAAQ,OAAUA,GAAQ,OAC5B6S,GAAS,EACT9Z,KAEA8Z,GAAS,CAEb,MACEA,GAAS,CAEb,CACA,OAAOA,CACT,CE+L0BwO,CAA4B1U,GAC9C,GAAI+H,EAAYlD,EACd,MAAM,IAAItJ,GACR,4BAA8BsJ,EAAmB,YACjDtJ,GAAW0B,iBACXlC,EACAU,EAGN,CAOA,GAAI4X,GAA+B,QAAX/N,GAA+B,SAAXA,EAAmB,CAC7D,MAAMqP,QAAuB3B,EAAcrkB,GAC3C,GAA8B,iBAAnBgmB,GAA+B3f,SAAS2f,KACjDlB,EAAuBkB,EACnBA,EAAiB7P,GACnB,MAAM6O,GAGZ,CAIA,MAAMiB,EACJvB,IAAqBrd,EAAMnK,iBAAiB8C,IAASqH,EAAMzF,SAAS5B,IAEhEkmB,EAAqB,CAACxE,EAAQK,EAAYoE,IAC9CrE,GACEJ,EAvTiB,MAyThBa,IACC,GAAImC,GAAoBnC,EAAcpM,EACpC,MAAO4O,EAAmBC,IAE5BjD,GAAcA,EAAWQ,IAE3B4D,GAGJ,GACEtC,GACW,QAAXlN,GACW,SAAXA,IACC2F,GAAoB2J,IAOrB,GALAnB,EAC0B,MAAxBA,OA9JkBrD,OAAOxZ,EAAS8b,KACxC,MAAMpmB,EAAS0J,EAAMnB,eAAe+B,EAAQme,oBAE5C,OAAiB,MAAVzoB,EAAiB0mB,EAAcN,GAAQpmB,GA2JH0oB,CAAkBpe,EAASjI,GAAQ8kB,EAI7C,IAAzBA,GAA8BmB,EAAuB,CACvD,IAMIK,EANA/B,EAAW,IAAIpB,EAAQ9R,EAAK,CAC9BsF,OAAQ,OACRoN,KAAM/jB,EACNgkB,OAAQ,SASV,GAJI3c,EAAM3G,WAAWV,KAAUsmB,EAAoB/B,EAAStc,QAAQ6B,IAAI,kBACtE7B,EAAQgN,eAAeqR,GAGrB/B,EAASR,KAAM,CACjB,MAAOhC,EAAYoE,GAChB7J,GACChD,GACEwL,EACA/N,GAAqByC,GAAe8C,MAExC,GAEFtc,EAAOkmB,EAAmB3B,EAASR,KAAMhC,EAAYoE,EACvD,CACF,OACK,GACLF,IACCzC,GACDE,GACW,QAAX/M,GACW,SAAXA,EAEA3W,EAAOkmB,EAAmBlmB,QACrB,GACLimB,GACAzC,IACCK,GACU,QAAXlN,GACW,SAAXA,EAEA,MAAM,IAAI/J,GACR,8EACAA,GAAW6B,gBACXrC,EACAU,GAICzF,EAAMpL,SAASmgB,KAClBA,EAAkBA,EAAkB,UAAY,QAKlD,MAAMmK,EAAyB/C,GAAsB,gBAAiBL,EAAQjpB,UAI9E,GAAImN,EAAM3G,WAAWV,GAAO,CAC1B,MAAM6U,EAAc5M,EAAQ6M,iBAE1BD,GACA,yBAAyBjM,KAAKiM,KAC7B,aAAajM,KAAKiM,IAEnB5M,EAAQlB,OAAO,eAEnB,CAGAkB,EAAQ5C,IAAI,aAAc,SAAWyd,IAAS,GAE9C,MAAM0D,EAAkB,IACnBhC,EACHvF,OAAQ2F,EACRjO,OAAQA,EAAO3Q,cACfiC,QAASD,GAAyBC,EAAQuC,aAC1CuZ,KAAM/jB,EACNgkB,OAAQ,OACRyC,YAAaF,EAAyBnK,OAAkBpf,GAG1D8P,EAAU0W,GAAsB,IAAIL,EAAQ9R,EAAKmV,GAEjD,IAAIzZ,QAAkByW,EAClBmB,EAAO7X,EAAS0X,GAChBG,EAAOtT,EAAKmV,IAEhB,MAAMpH,EAAkBpT,GAAaZ,KAAK2B,EAAS9E,SAInD,GAAIwc,EAAqB,CACvB,MAAMiC,EAAiBrf,EAAMnB,eAAekZ,EAAgBgH,oBAC5D,GAAsB,MAAlBM,GAA0BA,EAAiBxQ,EAC7C,MAAM,IAAItJ,GACR,4BAA8BsJ,EAAmB,YACjDtJ,GAAW0B,iBACXlC,EACAU,EAGN,CAEA,MAAM6Z,EACJzC,IAA4C,WAAjBtO,GAA8C,aAAjBA,GAE1D,GACEsO,GACAnX,EAASgX,OACRxH,GAAsBkI,GAAwBkC,GAAoB3H,GACnE,CACA,MAAM7P,EAAU,CAAA,EAEhB,CAAC,SAAU,aAAc,WAAW5R,QAAS9C,IAC3C0U,EAAQ1U,GAAQsS,EAAStS,KAG3B,MAAMmsB,EAAwBvf,EAAMnB,eAAekZ,EAAgBgH,qBAE5DrE,EAAYoE,GAChB5J,GACCjD,GACEsN,EACA7P,GAAqByC,GAAe+C,IAAqB,KAE7D,GAEF,IAAIsK,EAAY,EAChB,MAAMC,EAAmBvE,IACvB,GAAIkC,IACFoC,EAAYtE,EACRsE,EAAY3Q,GACd,MAAM,IAAItJ,GACR,4BAA8BsJ,EAAmB,YACjDtJ,GAAW0B,iBACXlC,EACAU,GAINiV,GAAcA,EAAWQ,IAG3BxV,EAAW,IAAIqW,EACbtB,GAAY/U,EAASgX,KA9dJ,MA8d8B+C,EAAiB,KAC9DX,GAASA,IACTnH,GAAeA,MAEjB7P,EAEJ,CAEAyG,EAAeA,GAAgB,OAE/B,IAAImR,QAAqB5C,EAAU9c,EAAMrJ,QAAQmmB,EAAWvO,IAAiB,QAC3E7I,EACAX,GAMF,GAAIqY,IAAwBP,IAA2ByC,EAAkB,CACvE,IAAIK,EAaJ,GAZoB,MAAhBD,IACqC,iBAA5BA,EAAazF,WACtB0F,EAAmBD,EAAazF,WACM,iBAAtByF,EAAazC,KAC7B0C,EAAmBD,EAAazC,KACC,iBAAjByC,IAChBC,EACyB,mBAAhB9D,GACH,IAAIA,GAAcpS,OAAOiW,GAAczF,WACvCyF,EAAappB,SAGS,iBAArBqpB,GAAiCA,EAAmB9Q,EAC7D,MAAM,IAAItJ,GACR,4BAA8BsJ,EAAmB,YACjDtJ,GAAW0B,iBACXlC,EACAU,EAGN,CAIA,OAFC6Z,GAAoB3H,GAAeA,UAEvB,IAAIT,QAAQ,CAAC1H,EAASC,KACjCF,GAAOC,EAASC,EAAQ,CACtB9W,KAAM+mB,EACN9e,QAAS+D,GAAaZ,KAAK2B,EAAS9E,SACpCkF,OAAQJ,EAASI,OACjBqS,WAAYzS,EAASyS,WACrBpT,SACAU,aAGN,CAAE,MAAOwS,GAMP,GALAN,GAAeA,IAKX4F,GAAkBA,EAAenE,SAAWmE,EAAe3D,kBAAkBrU,GAAY,CAC3F,MAAMqa,EAAgBrC,EAAe3D,OAcrC,MAbAgG,EAAc7a,OAASA,EACvBU,IAAYma,EAAcna,QAAUA,GAChCwS,IAAQ2H,GAGVhtB,OAAO4I,eAAeokB,EAAe,QAAS,CAC5CnkB,UAAW,KACXvB,MAAO+d,EACPvc,UAAU,EACVC,YAAY,EACZC,cAAc,IAGZgkB,CACR,CAOA,GAAIlC,EAEF,MADAjY,IAAYiY,EAAiBjY,UAAYiY,EAAiBjY,QAAUA,GAC9DiY,EAKR,GAAIzF,aAAe1S,GAEjB,MADAE,IAAYwS,EAAIxS,UAAYwS,EAAIxS,QAAUA,GACpCwS,EAGR,GAAIA,GAAoB,cAAbA,EAAIrgB,MAAwB,qBAAqB2J,KAAK0W,EAAIpS,SAAU,CAC7E,MAAMga,EAAe,IAAIta,GACvB,gBACAA,GAAWuB,YACX/B,EACAU,EACAwS,GAAOA,EAAIvS,UAWb,MAPA9S,OAAO4I,eAAeqkB,EAAc,QAAS,CAC3CpkB,UAAW,KACXvB,MAAO+d,EAAI6H,OAAS7H,EACpBvc,UAAU,EACVC,YAAY,EACZC,cAAc,IAEVikB,CACR,CAEA,MAAMta,GAAWxB,KAAKkU,EAAKA,GAAOA,EAAIxX,KAAMsE,EAAQU,EAASwS,GAAOA,EAAIvS,SAC1E,CAtkBe,IAAC5R,EAyLH4C,IAiZXqpB,GAAY,IAAIC,IAETC,GAAYlb,IACvB,IAAIkJ,EAAOlJ,GAAUA,EAAOkJ,KAAQ,CAAA,EACpC,MAAM+N,MAAEA,EAAKF,QAAEA,EAAOC,SAAEA,GAAa9N,EAC/BiS,EAAQ,CAACpE,EAASC,EAAUC,GAElC,IAEEmE,EACA3gB,EAFApJ,EADQ8pB,EAAM5pB,OAIdL,EAAM8pB,GAER,KAAO3pB,KACL+pB,EAAOD,EAAM9pB,GACboJ,EAASvJ,EAAIwM,IAAI0d,QAENxqB,IAAX6J,GAAwBvJ,EAAI+H,IAAImiB,EAAO3gB,EAASpJ,EAAI,IAAI4pB,IAAQrE,GAAQ1N,IAExEhY,EAAMuJ,EAGR,OAAOA,GAGOygB,KCjnBhB,MAAMG,GAAgB,CACpBC,KCfa,KDgBbC,IAAKtJ,GACLgF,MAAO,CACLvZ,IAAK8d,KAKTvgB,EAAM9J,QAAQkqB,GAAe,CAAC7tB,EAAI2H,KAChC,GAAI3H,EAAI,CACN,IAGEK,OAAO4I,eAAejJ,EAAI,OAAQ,CAAEkJ,UAAW,KAAMvB,SACvD,CAAE,MAAOF,GAET,CACApH,OAAO4I,eAAejJ,EAAI,cAAe,CAAEkJ,UAAW,KAAMvB,SAC9D,IASF,MAAMsmB,GAAgB5G,GAAW,KAAKA,IAQhC6G,GAAoBnT,GACxBtN,EAAMtL,WAAW4Y,IAAwB,OAAZA,IAAgC,IAAZA,EAmEnD,IAAAoT,GAAe,CAKfC,WA5DA,SAAoBD,EAAU3b,GAC5B2b,EAAW1gB,EAAM5L,QAAQssB,GAAYA,EAAW,CAACA,GAEjD,MAAMpqB,OAAEA,GAAWoqB,EACnB,IAAIE,EACAtT,EAEJ,MAAMuT,EAAkB,CAAA,EAExB,IAAK,IAAIzqB,EAAI,EAAGA,EAAIE,EAAQF,IAAK,CAE/B,IAAI4U,EAIJ,GALA4V,EAAgBF,EAAStqB,GAGzBkX,EAAUsT,GAELH,GAAiBG,KACpBtT,EAAU8S,IAAepV,EAAKjO,OAAO6jB,IAAgB5sB,oBAErC2B,IAAZ2X,GACF,MAAM,IAAI/H,GAAW,oBAAoByF,MAI7C,GAAIsC,IAAYtN,EAAMtL,WAAW4Y,KAAaA,EAAUA,EAAQ7K,IAAIsC,KAClE,MAGF8b,EAAgB7V,GAAM,IAAM5U,GAAKkX,CACnC,CAEA,IAAKA,EAAS,CACZ,MAAMwT,EAAUluB,OAAOiR,QAAQgd,GAAiB5qB,IAC9C,EAAE+U,EAAI+V,KACJ,WAAW/V,OACA,IAAV+V,EAAkB,sCAAwC,kCAG/D,IAAIC,EAAI1qB,EACJwqB,EAAQxqB,OAAS,EACf,YAAcwqB,EAAQ7qB,IAAIuqB,IAAc5c,KAAK,MAC7C,IAAM4c,GAAaM,EAAQ,IAC7B,0BAEJ,MAAM,IAAIvb,GACR,wDAA0Dyb,EAC1Dzb,GAAW6B,gBAEf,CAEA,OAAOkG,CACT,EAgBEoT,SAAUN,IElHZ,SAASa,GAA6Blc,GAKpC,GAJIA,EAAOyQ,aACTzQ,EAAOyQ,YAAY0L,mBAGjBnc,EAAO6S,QAAU7S,EAAO6S,OAAOwB,QACjC,MAAM,IAAIH,GAAc,KAAMlU,EAElC,CASe,SAASoc,GAAgBpc,GACtCkc,GAA6Blc,GAE7BA,EAAOnE,QAAU+D,GAAaZ,KAAKgB,EAAOnE,SAG1CmE,EAAOpM,KAAOuW,GAAc7b,KAAK0R,EAAQA,EAAOwI,uBAE5C,CAAC,OAAQ,MAAO,SAAS9Z,QAAQsR,EAAOuK,SAC1CvK,EAAOnE,QAAQgN,eAAe,qCAAqC,GAKrE,OAFgB8S,GAASC,WAAW5b,EAAOuI,SAAWF,GAASE,QAASvI,EAEjEuI,CAAQvI,GAAQnF,KACrB,SAA6B8F,GAC3Bub,GAA6Blc,GAK7BA,EAAOW,SAAWA,EAClB,IACEA,EAAS/M,KAAOuW,GAAc7b,KAAK0R,EAAQA,EAAOuJ,kBAAmB5I,EACvE,CAAC,eACQX,EAAOW,QAChB,CAIA,OAFAA,EAAS9E,QAAU+D,GAAaZ,KAAK2B,EAAS9E,SAEvC8E,CACT,EACA,SAA4BkU,GAC1B,IAAKxK,GAASwK,KACZqH,GAA6Blc,GAGzB6U,GAAUA,EAAOlU,UAAU,CAC7BX,EAAOW,SAAWkU,EAAOlU,SACzB,IACEkU,EAAOlU,SAAS/M,KAAOuW,GAAc7b,KACnC0R,EACAA,EAAOuJ,kBACPsL,EAAOlU,SAEX,CAAC,eACQX,EAAOW,QAChB,CACAkU,EAAOlU,SAAS9E,QAAU+D,GAAaZ,KAAK6V,EAAOlU,SAAS9E,QAC9D,CAGF,OAAOsW,QAAQzH,OAAOmK,EACxB,EAEJ,CCnFA,MAAMwH,GAAa,CAAA,EAGnB,CAAC,SAAU,UAAW,SAAU,WAAY,SAAU,UAAUlrB,QAAQ,CAAChC,EAAMkC,KAC7EgrB,GAAWltB,GAAQ,SAAmBX,GACpC,cAAcA,IAAUW,GAAQ,KAAOkC,EAAI,EAAI,KAAO,KAAOlC,CAC/D,IAGF,MAAMmtB,GAAqB,CAAA,EAW3BD,GAAW/T,aAAe,SAAsBiU,EAAWC,EAAS1b,GAClE,SAAS2b,EAAcC,EAAKC,GAC1B,MACE,WACAjG,GACA,0BACAgG,EACA,IACAC,GACC7b,EAAU,KAAOA,EAAU,GAEhC,CAGA,MAAO,CAAC3L,EAAOunB,EAAKE,KAClB,IAAkB,IAAdL,EACF,MAAM,IAAI/b,GACRic,EAAcC,EAAK,qBAAuBF,EAAU,OAASA,EAAU,KACvEhc,GAAWyB,gBAef,OAXIua,IAAYF,GAAmBI,KACjCJ,GAAmBI,IAAO,EAE1BG,QAAQC,KACNL,EACEC,EACA,+BAAiCF,EAAU,8CAK1CD,GAAYA,EAAUpnB,EAAOunB,EAAKE,GAE7C,EAEAP,GAAWU,SAAW,SAAkBC,GACtC,MAAO,CAAC7nB,EAAOunB,KAEbG,QAAQC,KAAK,GAAGJ,gCAAkCM,MAC3C,EAEX,EAwCA,IAAAT,GAAe,CACbU,cA7BF,SAAuBla,EAASma,EAAQC,GACtC,GAAuB,iBAAZpa,GAAoC,OAAZA,EACjC,MAAM,IAAIvC,GAAW,4BAA6BA,GAAWkB,sBAE/D,MAAMlQ,EAAO3D,OAAO2D,KAAKuR,GACzB,IAAI1R,EAAIG,EAAKD,OACb,KAAOF,KAAM,GAAG,CACd,MAAMqrB,EAAMlrB,EAAKH,GAGXkrB,EAAY1uB,OAAOC,UAAUK,eAAeG,KAAK4uB,EAAQR,GAAOQ,EAAOR,QAAO9rB,EACpF,GAAI2rB,EAAW,CACb,MAAMpnB,EAAQ4N,EAAQ2Z,GAChB/nB,OAAmB/D,IAAVuE,GAAuBonB,EAAUpnB,EAAOunB,EAAK3Z,GAC5D,IAAe,IAAXpO,EACF,MAAM,IAAI6L,GACR,UAAYkc,EAAM,YAAc/nB,EAChC6L,GAAWkB,sBAGf,QACF,CACA,IAAqB,IAAjByb,EACF,MAAM,IAAI3c,GAAW,kBAAoBkc,EAAKlc,GAAWmB,eAE7D,CACF,EAIA0a,WAAEA,IClGF,MAAMA,GAAaE,GAAUF,WAS7B,IAAAe,GAAA,MACE,WAAA1tB,CAAY2tB,GACVvnB,KAAKuS,SAAWgV,GAAkB,CAAA,EAClCvnB,KAAKwnB,aAAe,CAClB5c,QAAS,IAAI+E,GACb9E,SAAU,IAAI8E,GAElB,CAUA,aAAM/E,CAAQ6c,EAAavd,GACzB,IACE,aAAalK,KAAKqiB,SAASoF,EAAavd,EAC1C,CAAE,MAAOkT,GACP,GAAIA,aAAeha,MAAO,CACxB,IAAIskB,EAAQ,CAAA,EAEZtkB,MAAMukB,kBAAoBvkB,MAAMukB,kBAAkBD,GAAUA,EAAQ,IAAItkB,MAGxE,MAAMuI,EAAQ,MACZ,IAAK+b,EAAM/b,MACT,MAAO,GAGT,MAAMic,EAAoBF,EAAM/b,MAAM/S,QAAQ,MAE9C,OAA6B,IAAtBgvB,EAA2B,GAAKF,EAAM/b,MAAMzS,MAAM0uB,EAAoB,EAC9E,EARa,GASd,IACE,GAAKxK,EAAIzR,OAGF,GAAIA,EAAO,CAChB,MAAMic,EAAoBjc,EAAM/S,QAAQ,MAClCivB,GACmB,IAAvBD,GAA4B,EAAIjc,EAAM/S,QAAQ,KAAMgvB,EAAoB,GACpEE,GACoB,IAAxBD,EAA4B,GAAKlc,EAAMzS,MAAM2uB,EAAqB,GAE/D3lB,OAAOkb,EAAIzR,OAAO5J,SAAS+lB,KAC9B1K,EAAIzR,OAAS,KAAOA,EAExB,OAZEyR,EAAIzR,MAAQA,CAahB,CAAE,MAAOxM,GAET,CACF,CAEA,MAAMie,CACR,CACF,CAEA,QAAAiF,CAASoF,EAAavd,GAGO,iBAAhBud,GACTvd,EAASA,GAAU,CAAA,GACZiF,IAAMsY,EAEbvd,EAASud,GAAe,CAAA,EAG1Bvd,EAASqP,GAAYvZ,KAAKuS,SAAUrI,GAEpC,MAAMsI,aAAEA,EAAYwH,iBAAEA,EAAgBjU,QAAEA,GAAYmE,OAE/BpP,IAAjB0X,GACFiU,GAAUU,cACR3U,EACA,CACElC,kBAAmBiW,GAAW/T,aAAa+T,GAAWwB,SACtDxX,kBAAmBgW,GAAW/T,aAAa+T,GAAWwB,SACtDvX,oBAAqB+V,GAAW/T,aAAa+T,GAAWwB,SACxDtX,gCAAiC8V,GAAW/T,aAAa+T,GAAWwB,SACpErX,4BAA6B6V,GAAW/T,aAAa+T,GAAWwB,SAChEpX,gCAAiC4V,GAAW/T,aAAa+T,GAAWwB,WAEtE,GAIoB,MAApB/N,IACE7U,EAAMtL,WAAWmgB,GACnB9P,EAAO8P,iBAAmB,CACxB3K,UAAW2K,GAGbyM,GAAUU,cACRnN,EACA,CACEpL,OAAQ2X,GAAWyB,SACnB3Y,UAAWkX,GAAWyB,WAExB,SAM2BltB,IAA7BoP,EAAOgP,yBAEoCpe,IAApCkF,KAAKuS,SAAS2G,kBACvBhP,EAAOgP,kBAAoBlZ,KAAKuS,SAAS2G,kBAEzChP,EAAOgP,mBAAoB,GAG7BuN,GAAUU,cACRjd,EACA,CACE+d,QAAS1B,GAAWU,SAAS,WAC7BiB,cAAe3B,GAAWU,SAAS,mBAErC,GAIF/c,EAAOuK,QAAUvK,EAAOuK,QAAUzU,KAAKuS,SAASkC,QAAU,OAAOtb,cAGjE,IAAIgvB,EAAiBpiB,GAAWZ,EAAMvF,MAAMmG,EAAQoO,OAAQpO,EAAQmE,EAAOuK,SAE3E1O,GACEZ,EAAM9J,QAAQ,CAAC,SAAU,MAAO,OAAQ,OAAQ,MAAO,QAAS,QAAS,UAAYoZ,WAC5E1O,EAAQ0O,KAGnBvK,EAAOnE,QAAU+D,GAAalB,OAAOuf,EAAgBpiB,GAGrD,MAAMqiB,EAA0B,GAChC,IAAIC,GAAiC,EACrCroB,KAAKwnB,aAAa5c,QAAQvP,QAAQ,SAAoCitB,GACpE,GAAmC,mBAAxBA,EAAYrY,UAA0D,IAAhCqY,EAAYrY,QAAQ/F,GACnE,OAGFme,EAAiCA,GAAkCC,EAAYtY,YAE/E,MAAMwC,EAAetI,EAAOsI,cAAgBnC,GAE1CmC,GAAgBA,EAAa/B,gCAG7B2X,EAAwBG,QAAQD,EAAYxY,UAAWwY,EAAYvY,UAEnEqY,EAAwBvvB,KAAKyvB,EAAYxY,UAAWwY,EAAYvY,SAEpE,GAEA,MAAMyY,EAA2B,GAKjC,IAAIC,EAJJzoB,KAAKwnB,aAAa3c,SAASxP,QAAQ,SAAkCitB,GACnEE,EAAyB3vB,KAAKyvB,EAAYxY,UAAWwY,EAAYvY,SACnE,GAGA,IACInU,EADAL,EAAI,EAGR,IAAK8sB,EAAgC,CACnC,MAAMK,EAAQ,CAACpC,GAAgB7uB,KAAKuI,WAAOlF,GAO3C,IANA4tB,EAAMH,WAAWH,GACjBM,EAAM7vB,QAAQ2vB,GACd5sB,EAAM8sB,EAAMjtB,OAEZgtB,EAAUpM,QAAQ1H,QAAQzK,GAEnB3O,EAAIK,GACT6sB,EAAUA,EAAQ1jB,KAAK2jB,EAAMntB,KAAMmtB,EAAMntB,MAG3C,OAAOktB,CACT,CAEA7sB,EAAMwsB,EAAwB3sB,OAE9B,IAAI4f,EAAYnR,EAEhB,KAAO3O,EAAIK,GAAK,CACd,MAAM+sB,EAAcP,EAAwB7sB,KACtCqtB,EAAaR,EAAwB7sB,KAC3C,IACE8f,EAAYsN,EAAYtN,EAC1B,CAAE,MAAO1Q,GACPie,EAAWpwB,KAAKwH,KAAM2K,GACtB,KACF,CACF,CAEA,IACE8d,EAAUnC,GAAgB9tB,KAAKwH,KAAMqb,EACvC,CAAE,MAAO1Q,GACP,OAAO0R,QAAQzH,OAAOjK,EACxB,CAKA,IAHApP,EAAI,EACJK,EAAM4sB,EAAyB/sB,OAExBF,EAAIK,GACT6sB,EAAUA,EAAQ1jB,KAAKyjB,EAAyBjtB,KAAMitB,EAAyBjtB,MAGjF,OAAOktB,CACT,CAEA,MAAAI,CAAO3e,GAGL,OAAOgF,GADU6J,IADjB7O,EAASqP,GAAYvZ,KAAKuS,SAAUrI,IACE8O,QAAS9O,EAAOiF,IAAKjF,EAAOgP,kBAAmBhP,GAC3DA,EAAO8E,OAAQ9E,EAAO8P,iBAClD,GAIF7U,EAAM9J,QAAQ,CAAC,SAAU,MAAO,OAAQ,WAAY,SAA6BoZ,GAE/EqU,GAAM9wB,UAAUyc,GAAU,SAAUtF,EAAKjF,GACvC,OAAOlK,KAAK4K,QACV2O,GAAYrP,GAAU,GAAI,CACxBuK,SACAtF,MACArR,KAAMoM,GAAU/E,EAAMpC,WAAWmH,EAAQ,QAAUA,EAAOpM,UAAOhD,IAGvE,CACF,GAEAqK,EAAM9J,QAAQ,CAAC,OAAQ,MAAO,QAAS,SAAU,SAA+BoZ,GAC9E,SAASsU,EAAmBC,GAC1B,OAAO,SAAoB7Z,EAAKrR,EAAMoM,GACpC,OAAOlK,KAAK4K,QACV2O,GAAYrP,GAAU,GAAI,CACxBuK,SACA1O,QAASijB,EACL,CACE,eAAgB,uBAElB,CAAA,EACJ7Z,MACArR,SAGN,CACF,CAEAgrB,GAAM9wB,UAAUyc,GAAUsU,IAIX,UAAXtU,IACFqU,GAAM9wB,UAAUyc,EAAS,QAAUsU,GAAmB,GAE1D,GCxRA,MAAME,GAAiB,CACrBC,SAAU,IACVC,mBAAoB,IACpBC,WAAY,IACZC,WAAY,IACZC,GAAI,IACJC,QAAS,IACTC,SAAU,IACVC,4BAA6B,IAC7BC,UAAW,IACXC,aAAc,IACdC,eAAgB,IAChBC,YAAa,IACbC,gBAAiB,IACjBC,OAAQ,IACRC,gBAAiB,IACjBC,iBAAkB,IAClBC,MAAO,IACPC,SAAU,IACVC,YAAa,IACbC,SAAU,IACVC,OAAQ,IACRC,kBAAmB,IACnBC,kBAAmB,IACnBC,WAAY,IACZC,aAAc,IACdC,gBAAiB,IACjBC,UAAW,IACXC,SAAU,IACVC,iBAAkB,IAClBC,cAAe,IACfC,4BAA6B,IAC7BC,eAAgB,IAChBC,SAAU,IACVC,KAAM,IACNC,eAAgB,IAChBC,mBAAoB,IACpBC,gBAAiB,IACjBC,WAAY,IACZC,qBAAsB,IACtBC,oBAAqB,IACrBC,kBAAmB,IACnBC,UAAW,IACXC,mBAAoB,IACpBC,oBAAqB,IACrBC,OAAQ,IACRC,iBAAkB,IAClBC,SAAU,IACVC,gBAAiB,IACjBC,qBAAsB,IACtBC,gBAAiB,IACjBC,4BAA6B,IAC7BC,2BAA4B,IAC5BC,oBAAqB,IACrBC,eAAgB,IAChBC,WAAY,IACZC,mBAAoB,IACpBC,eAAgB,IAChBC,wBAAyB,IACzBC,sBAAuB,IACvBC,oBAAqB,IACrBC,aAAc,IACdC,YAAa,IACbC,8BAA+B,IAC/BC,gBAAiB,IACjBC,mBAAoB,IACpBC,oBAAqB,IACrBC,gBAAiB,IACjBC,mBAAoB,IACpBC,sBAAuB,KAGzBv1B,OAAOiR,QAAQigB,IAAgB5tB,QAAQ,EAAEQ,EAAKwD,MAC5C4pB,GAAe5pB,GAASxD,IC3BrB,MAAC0xB,GAnBN,SAASC,EAAeC,GACtB,MAAMvxB,EAAU,IAAI4sB,GAAM2E,GACpBC,EAAWj2B,EAAKqxB,GAAM9wB,UAAU4S,QAAS1O,GAa/C,OAVAiJ,EAAM3E,OAAOktB,EAAU5E,GAAM9wB,UAAWkE,EAAS,CAAEZ,YAAY,IAG/D6J,EAAM3E,OAAOktB,EAAUxxB,EAAS,KAAM,CAAEZ,YAAY,IAGpDoyB,EAAS10B,OAAS,SAAgBuuB,GAChC,OAAOiG,EAAejU,GAAYkU,EAAelG,GACnD,EAEOmG,CACT,CAGcF,CAAejb,IAG7Bgb,GAAMzE,MAAQA,GAGdyE,GAAMnP,cAAgBA,GACtBmP,GAAMI,YC1CN,MAAMA,EACJ,WAAA/zB,CAAYg0B,GACV,GAAwB,mBAAbA,EACT,MAAM,IAAIjmB,UAAU,gCAGtB,IAAIkmB,EAEJ7tB,KAAKyoB,QAAU,IAAIpM,QAAQ,SAAyB1H,GAClDkZ,EAAiBlZ,CACnB,GAEA,MAAMnX,EAAQwC,KAGdA,KAAKyoB,QAAQ1jB,KAAMoZ,IACjB,IAAK3gB,EAAMswB,WAAY,OAEvB,IAAIvyB,EAAIiC,EAAMswB,WAAWryB,OAEzB,KAAOF,KAAM,GACXiC,EAAMswB,WAAWvyB,GAAG4iB,GAEtB3gB,EAAMswB,WAAa,OAIrB9tB,KAAKyoB,QAAQ1jB,KAAQgpB,IACnB,IAAIC,EAEJ,MAAMvF,EAAU,IAAIpM,QAAS1H,IAC3BnX,EAAM8gB,UAAU3J,GAChBqZ,EAAWrZ,IACV5P,KAAKgpB,GAMR,OAJAtF,EAAQtK,OAAS,WACf3gB,EAAMsf,YAAYkR,EACpB,EAEOvF,GAGTmF,EAAS,SAAgB5iB,EAASd,EAAQU,GACpCpN,EAAMuhB,SAKVvhB,EAAMuhB,OAAS,IAAIX,GAAcpT,EAASd,EAAQU,GAClDijB,EAAerwB,EAAMuhB,QACvB,EACF,CAKA,gBAAAsH,GACE,GAAIrmB,KAAK+e,OACP,MAAM/e,KAAK+e,MAEf,CAMA,SAAAT,CAAUxJ,GACJ9U,KAAK+e,OACPjK,EAAS9U,KAAK+e,QAIZ/e,KAAK8tB,WACP9tB,KAAK8tB,WAAWj1B,KAAKic,GAErB9U,KAAK8tB,WAAa,CAAChZ,EAEvB,CAMA,WAAAgI,CAAYhI,GACV,IAAK9U,KAAK8tB,WACR,OAEF,MAAMrf,EAAQzO,KAAK8tB,WAAWl1B,QAAQkc,IACxB,IAAVrG,GACFzO,KAAK8tB,WAAWG,OAAOxf,EAAO,EAElC,CAEA,aAAAkU,GACE,MAAM9D,EAAa,IAAIC,gBAEjBT,EAASjB,IACbyB,EAAWR,MAAMjB,IAOnB,OAJApd,KAAKse,UAAUD,GAEfQ,EAAW9B,OAAOD,YAAc,IAAM9c,KAAK8c,YAAYuB,GAEhDQ,EAAW9B,MACpB,CAMA,aAAOlf,GACL,IAAIsgB,EAIJ,MAAO,CACL3gB,MAJY,IAAImwB,EAAY,SAAkB/J,GAC9CzF,EAASyF,CACX,GAGEzF,SAEJ,GD7EFoP,GAAMhZ,SAAWA,GACjBgZ,GAAM3M,QAAUA,GAChB2M,GAAMvgB,WAAaA,GAGnBugB,GAAM7iB,WAAaA,GAGnB6iB,GAAMW,OAASX,GAAMnP,cAGrBmP,GAAMY,IAAM,SAAaC,GACvB,OAAO/R,QAAQ8R,IAAIC,EACrB,EAEAb,GAAMc,OE9CS,SAAgBC,GAC7B,OAAO,SAAcjsB,GACnB,OAAOisB,EAAS12B,MAAM,KAAMyK,EAC9B,CACF,EF6CAkrB,GAAMpiB,aG7DS,SAAsBojB,GACnC,OAAOppB,EAAMlL,SAASs0B,KAAqC,IAAzBA,EAAQpjB,YAC5C,EH8DAoiB,GAAMhU,YAAcA,GAEpBgU,GAAMzjB,aAAeA,GAErByjB,GAAMiB,WAAc91B,GAAUqZ,GAAe5M,EAAM7I,WAAW5D,GAAS,IAAImC,SAASnC,GAASA,GAE7F60B,GAAMzH,WAAaD,GAASC,WAE5ByH,GAAMtE,eAAiBA,GAEvBsE,GAAMkB,QAAUlB,GIhFX,MAACzE,MACJA,GAAKpe,WACLA,GAAU0T,cACVA,GAAa7J,SACbA,GAAQoZ,YACRA,GAAW/M,QACXA,GAAOuN,IACPA,GAAGD,OACHA,GAAM/iB,aACNA,GAAYkjB,OACZA,GAAMrhB,WACNA,GAAUlD,aACVA,GAAYmf,eACZA,GAAcuF,WACdA,GAAU1I,WACVA,GAAUvM,YACVA,GAAWvgB,OACXA,IACEu0B"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/node/axios.cjs b/Lombiq.EInvoiceValidator/node_modules/axios/dist/node/axios.cjs new file mode 100644 index 0000000..84d3441 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/dist/node/axios.cjs @@ -0,0 +1,5996 @@ +/*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */ +'use strict'; + +var FormData$1 = require('form-data'); +var crypto = require('crypto'); +var url = require('url'); +var HttpsProxyAgent = require('https-proxy-agent'); +var http = require('http'); +var https = require('https'); +var http2 = require('http2'); +var util = require('util'); +var path = require('path'); +var followRedirects = require('follow-redirects'); +var zlib = require('zlib'); +var stream = require('stream'); +var events = require('events'); + +/** + * Create a bound version of a function with a specified `this` context + * + * @param {Function} fn - The function to bind + * @param {*} thisArg - The value to be passed as the `this` parameter + * @returns {Function} A new function that will call the original function with the specified `this` context + */ +function bind(fn, thisArg) { + return function wrap() { + return fn.apply(thisArg, arguments); + }; +} + +// utils is a library of generic helper functions non-specific to axios + +const { + toString +} = Object.prototype; +const { + getPrototypeOf +} = Object; +const { + iterator, + toStringTag +} = Symbol; + +/* Creating a function that will check if an object has a property. */ +const hasOwnProperty = (({ + hasOwnProperty +}) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype); + +/** + * Walk the prototype chain (excluding the shared Object.prototype) looking for + * an own `prop`. This distinguishes genuine own/inherited members — including + * class accessors and template prototypes — from members injected via + * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which + * live on Object.prototype itself and are therefore never matched. + * + * @param {*} thing The value whose chain to inspect + * @param {string|symbol} prop The property key to look for + * + * @returns {boolean} True when `prop` is owned below Object.prototype + */ +const hasOwnInPrototypeChain = (thing, prop) => { + let obj = thing; + const seen = []; + while (obj != null && obj !== Object.prototype) { + if (seen.indexOf(obj) !== -1) { + return false; + } + seen.push(obj); + if (hasOwnProperty(obj, prop)) { + return true; + } + obj = getPrototypeOf(obj); + } + return false; +}; + +/** + * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own + * properties and members inherited from a non-Object.prototype source (a class + * instance or template object) are honored; a value reachable only through a + * polluted Object.prototype is ignored and `undefined` is returned. + * + * @param {*} obj The source object + * @param {string|symbol} prop The property key to read + * + * @returns {*} The resolved value, or undefined when unsafe/absent + */ +const getSafeProp = (obj, prop) => obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined; +const kindOf = (cache => thing => { + const str = toString.call(thing); + return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase()); +})(Object.create(null)); +const kindOfTest = type => { + type = type.toLowerCase(); + return thing => kindOf(thing) === type; +}; +const typeOfTest = type => thing => typeof thing === type; + +/** + * Determine if a value is a non-null object + * + * @param {Object} val The value to test + * + * @returns {boolean} True if value is an Array, otherwise false + */ +const { + isArray +} = Array; + +/** + * Determine if a value is undefined + * + * @param {*} val The value to test + * + * @returns {boolean} True if the value is undefined, otherwise false + */ +const isUndefined = typeOfTest('undefined'); + +/** + * Determine if a value is a Buffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Buffer, otherwise false + */ +function isBuffer(val) { + return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction$1(val.constructor.isBuffer) && val.constructor.isBuffer(val); +} + +/** + * Determine if a value is an ArrayBuffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is an ArrayBuffer, otherwise false + */ +const isArrayBuffer = kindOfTest('ArrayBuffer'); + +/** + * Determine if a value is a view on an ArrayBuffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false + */ +function isArrayBufferView(val) { + let result; + if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) { + result = ArrayBuffer.isView(val); + } else { + result = val && val.buffer && isArrayBuffer(val.buffer); + } + return result; +} + +/** + * Determine if a value is a String + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a String, otherwise false + */ +const isString = typeOfTest('string'); + +/** + * Determine if a value is a Function + * + * @param {*} val The value to test + * @returns {boolean} True if value is a Function, otherwise false + */ +const isFunction$1 = typeOfTest('function'); + +/** + * Determine if a value is a Number + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Number, otherwise false + */ +const isNumber = typeOfTest('number'); + +/** + * Determine if a value is an Object + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value is an Object, otherwise false + */ +const isObject = thing => thing !== null && typeof thing === 'object'; + +/** + * Determine if a value is a Boolean + * + * @param {*} thing The value to test + * @returns {boolean} True if value is a Boolean, otherwise false + */ +const isBoolean = thing => thing === true || thing === false; + +/** + * Determine if a value is a plain Object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a plain Object, otherwise false + */ +const isPlainObject = val => { + if (!isObject(val)) { + return false; + } + const prototype = getPrototypeOf(val); + return (prototype === null || prototype === Object.prototype || getPrototypeOf(prototype) === null) && + // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or + // Symbol.iterator as evidence the value is a tagged/iterable type rather + // than a plain object, while ignoring keys injected onto Object.prototype. + !hasOwnInPrototypeChain(val, toStringTag) && !hasOwnInPrototypeChain(val, iterator); +}; + +/** + * Determine if a value is an empty object (safely handles Buffers) + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is an empty object, otherwise false + */ +const isEmptyObject = val => { + // Early return for non-objects or Buffers to prevent RangeError + if (!isObject(val) || isBuffer(val)) { + return false; + } + try { + return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype; + } catch (e) { + // Fallback for any other objects that might cause RangeError with Object.keys() + return false; + } +}; + +/** + * Determine if a value is a Date + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Date, otherwise false + */ +const isDate = kindOfTest('Date'); + +/** + * Determine if a value is a File + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a File, otherwise false + */ +const isFile = kindOfTest('File'); + +/** + * Determine if a value is a React Native Blob + * React Native "blob": an object with a `uri` attribute. Optionally, it can + * also have a `name` and `type` attribute to specify filename and content type + * + * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71 + * + * @param {*} value The value to test + * + * @returns {boolean} True if value is a React Native Blob, otherwise false + */ +const isReactNativeBlob = value => { + return !!(value && typeof value.uri !== 'undefined'); +}; + +/** + * Determine if environment is React Native + * ReactNative `FormData` has a non-standard `getParts()` method + * + * @param {*} formData The formData to test + * + * @returns {boolean} True if environment is React Native, otherwise false + */ +const isReactNative = formData => formData && typeof formData.getParts !== 'undefined'; + +/** + * Determine if a value is a Blob + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Blob, otherwise false + */ +const isBlob = kindOfTest('Blob'); + +/** + * Determine if a value is a FileList + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a FileList, otherwise false + */ +const isFileList = kindOfTest('FileList'); + +/** + * Determine if a value is a Stream + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Stream, otherwise false + */ +const isStream = val => isObject(val) && isFunction$1(val.pipe); + +/** + * Determine if a value is a FormData + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value is an FormData, otherwise false + */ +function getGlobal() { + if (typeof globalThis !== 'undefined') return globalThis; + if (typeof self !== 'undefined') return self; + if (typeof window !== 'undefined') return window; + if (typeof global !== 'undefined') return global; + return {}; +} +const G = getGlobal(); +const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined; +const isFormData = thing => { + if (!thing) return false; + if (FormDataCtor && thing instanceof FormDataCtor) return true; + // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData. + const proto = getPrototypeOf(thing); + if (!proto || proto === Object.prototype) return false; + if (!isFunction$1(thing.append)) return false; + const kind = kindOf(thing); + return kind === 'formdata' || + // detect form-data instance + kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]'; +}; + +/** + * Determine if a value is a URLSearchParams object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a URLSearchParams object, otherwise false + */ +const isURLSearchParams = kindOfTest('URLSearchParams'); +const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest); + +/** + * Trim excess whitespace off the beginning and end of a string + * + * @param {String} str The String to trim + * + * @returns {String} The String freed of excess whitespace + */ +const trim = str => { + return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); +}; +/** + * Iterate over an Array or an Object invoking a function for each item. + * + * If `obj` is an Array callback will be called passing + * the value, index, and complete array for each item. + * + * If 'obj' is an Object callback will be called passing + * the value, key, and complete object for each property. + * + * @param {Object|Array} obj The object to iterate + * @param {Function} fn The callback to invoke for each item + * + * @param {Object} [options] + * @param {Boolean} [options.allOwnKeys = false] + * @returns {any} + */ +function forEach(obj, fn, { + allOwnKeys = false +} = {}) { + // Don't bother if no value provided + if (obj === null || typeof obj === 'undefined') { + return; + } + let i; + let l; + + // Force an array if not already something iterable + if (typeof obj !== 'object') { + /*eslint no-param-reassign:0*/ + obj = [obj]; + } + if (isArray(obj)) { + // Iterate over array values + for (i = 0, l = obj.length; i < l; i++) { + fn.call(null, obj[i], i, obj); + } + } else { + // Buffer check + if (isBuffer(obj)) { + return; + } + + // Iterate over object keys + const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj); + const len = keys.length; + let key; + for (i = 0; i < len; i++) { + key = keys[i]; + fn.call(null, obj[key], key, obj); + } + } +} + +/** + * Finds a key in an object, case-insensitive, returning the actual key name. + * Returns null if the object is a Buffer or if no match is found. + * + * @param {Object} obj - The object to search. + * @param {string} key - The key to find (case-insensitive). + * @returns {?string} The actual key name if found, otherwise null. + */ +function findKey(obj, key) { + if (isBuffer(obj)) { + return null; + } + key = key.toLowerCase(); + const keys = Object.keys(obj); + let i = keys.length; + let _key; + while (i-- > 0) { + _key = keys[i]; + if (key === _key.toLowerCase()) { + return _key; + } + } + return null; +} +const _global = (() => { + /*eslint no-undef:0*/ + if (typeof globalThis !== 'undefined') return globalThis; + return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global; +})(); +const isContextDefined = context => !isUndefined(context) && context !== _global; + +/** + * Accepts varargs expecting each argument to be an object, then + * immutably merges the properties of each object and returns result. + * + * When multiple objects contain the same key the later object in + * the arguments list will take precedence. + * + * Example: + * + * ```js + * const result = merge({foo: 123}, {foo: 456}); + * console.log(result.foo); // outputs 456 + * ``` + * + * @param {Object} obj1 Object to merge + * + * @returns {Object} Result of all merge properties + */ +function merge(...objs) { + const { + caseless, + skipUndefined + } = isContextDefined(this) && this || {}; + const result = {}; + const assignValue = (val, key) => { + // Skip dangerous property names to prevent prototype pollution + if (key === '__proto__' || key === 'constructor' || key === 'prototype') { + return; + } + + // findKey lowercases the key, so caseless lookup only applies to strings — + // symbol keys are identity-matched. + const targetKey = caseless && typeof key === 'string' && findKey(result, key) || key; + // Read via own-prop only — a bare `result[targetKey]` walks the prototype + // chain, so a polluted Object.prototype value could surface here and get + // copied into the merged result. + const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined; + if (isPlainObject(existing) && isPlainObject(val)) { + result[targetKey] = merge(existing, val); + } else if (isPlainObject(val)) { + result[targetKey] = merge({}, val); + } else if (isArray(val)) { + result[targetKey] = val.slice(); + } else if (!skipUndefined || !isUndefined(val)) { + result[targetKey] = val; + } + }; + for (let i = 0, l = objs.length; i < l; i++) { + const source = objs[i]; + if (!source || isBuffer(source)) { + continue; + } + forEach(source, assignValue); + if (typeof source !== 'object' || isArray(source)) { + continue; + } + const symbols = Object.getOwnPropertySymbols(source); + for (let j = 0; j < symbols.length; j++) { + const symbol = symbols[j]; + if (propertyIsEnumerable.call(source, symbol)) { + assignValue(source[symbol], symbol); + } + } + } + return result; +} + +/** + * Extends object a by mutably adding to it the properties of object b. + * + * @param {Object} a The object to be extended + * @param {Object} b The object to copy properties from + * @param {Object} thisArg The object to bind function to + * + * @param {Object} [options] + * @param {Boolean} [options.allOwnKeys] + * @returns {Object} The resulting value of object a + */ +const extend = (a, b, thisArg, { + allOwnKeys +} = {}) => { + forEach(b, (val, key) => { + if (thisArg && isFunction$1(val)) { + Object.defineProperty(a, key, { + // Null-proto descriptor so a polluted Object.prototype.get cannot + // hijack defineProperty's accessor-vs-data resolution. + __proto__: null, + value: bind(val, thisArg), + writable: true, + enumerable: true, + configurable: true + }); + } else { + Object.defineProperty(a, key, { + __proto__: null, + value: val, + writable: true, + enumerable: true, + configurable: true + }); + } + }, { + allOwnKeys + }); + return a; +}; + +/** + * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) + * + * @param {string} content with BOM + * + * @returns {string} content value without BOM + */ +const stripBOM = content => { + if (content.charCodeAt(0) === 0xfeff) { + content = content.slice(1); + } + return content; +}; + +/** + * Inherit the prototype methods from one constructor into another + * @param {function} constructor + * @param {function} superConstructor + * @param {object} [props] + * @param {object} [descriptors] + * + * @returns {void} + */ +const inherits = (constructor, superConstructor, props, descriptors) => { + constructor.prototype = Object.create(superConstructor.prototype, descriptors); + Object.defineProperty(constructor.prototype, 'constructor', { + __proto__: null, + value: constructor, + writable: true, + enumerable: false, + configurable: true + }); + Object.defineProperty(constructor, 'super', { + __proto__: null, + value: superConstructor.prototype + }); + props && Object.assign(constructor.prototype, props); +}; + +/** + * Resolve object with deep prototype chain to a flat object + * @param {Object} sourceObj source object + * @param {Object} [destObj] + * @param {Function|Boolean} [filter] + * @param {Function} [propFilter] + * + * @returns {Object} + */ +const toFlatObject = (sourceObj, destObj, filter, propFilter) => { + let props; + let i; + let prop; + const merged = {}; + destObj = destObj || {}; + // eslint-disable-next-line no-eq-null,eqeqeq + if (sourceObj == null) return destObj; + do { + props = Object.getOwnPropertyNames(sourceObj); + i = props.length; + while (i-- > 0) { + prop = props[i]; + if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) { + destObj[prop] = sourceObj[prop]; + merged[prop] = true; + } + } + sourceObj = filter !== false && getPrototypeOf(sourceObj); + } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype); + return destObj; +}; + +/** + * Determines whether a string ends with the characters of a specified string + * + * @param {String} str + * @param {String} searchString + * @param {Number} [position= 0] + * + * @returns {boolean} + */ +const endsWith = (str, searchString, position) => { + str = String(str); + if (position === undefined || position > str.length) { + position = str.length; + } + position -= searchString.length; + const lastIndex = str.indexOf(searchString, position); + return lastIndex !== -1 && lastIndex === position; +}; + +/** + * Returns new array from array like object or null if failed + * + * @param {*} [thing] + * + * @returns {?Array} + */ +const toArray = thing => { + if (!thing) return null; + if (isArray(thing)) return thing; + let i = thing.length; + if (!isNumber(i)) return null; + const arr = new Array(i); + while (i-- > 0) { + arr[i] = thing[i]; + } + return arr; +}; + +/** + * Checking if the Uint8Array exists and if it does, it returns a function that checks if the + * thing passed in is an instance of Uint8Array + * + * @param {TypedArray} + * + * @returns {Array} + */ +// eslint-disable-next-line func-names +const isTypedArray = (TypedArray => { + // eslint-disable-next-line func-names + return thing => { + return TypedArray && thing instanceof TypedArray; + }; +})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array)); + +/** + * For each entry in the object, call the function with the key and value. + * + * @param {Object} obj - The object to iterate over. + * @param {Function} fn - The function to call for each entry. + * + * @returns {void} + */ +const forEachEntry = (obj, fn) => { + const generator = obj && obj[iterator]; + const _iterator = generator.call(obj); + let result; + while ((result = _iterator.next()) && !result.done) { + const pair = result.value; + fn.call(obj, pair[0], pair[1]); + } +}; + +/** + * It takes a regular expression and a string, and returns an array of all the matches + * + * @param {string} regExp - The regular expression to match against. + * @param {string} str - The string to search. + * + * @returns {Array} + */ +const matchAll = (regExp, str) => { + let matches; + const arr = []; + while ((matches = regExp.exec(str)) !== null) { + arr.push(matches); + } + return arr; +}; + +/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */ +const isHTMLForm = kindOfTest('HTMLFormElement'); +const toCamelCase = str => { + return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) { + return p1.toUpperCase() + p2; + }); +}; +const { + propertyIsEnumerable +} = Object.prototype; + +/** + * Determine if a value is a RegExp object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a RegExp object, otherwise false + */ +const isRegExp = kindOfTest('RegExp'); +const reduceDescriptors = (obj, reducer) => { + const descriptors = Object.getOwnPropertyDescriptors(obj); + const reducedDescriptors = {}; + forEach(descriptors, (descriptor, name) => { + let ret; + if ((ret = reducer(descriptor, name, obj)) !== false) { + reducedDescriptors[name] = ret || descriptor; + } + }); + Object.defineProperties(obj, reducedDescriptors); +}; + +/** + * Makes all methods read-only + * @param {Object} obj + */ + +const freezeMethods = obj => { + reduceDescriptors(obj, (descriptor, name) => { + // skip restricted props in strict mode + if (isFunction$1(obj) && ['arguments', 'caller', 'callee'].includes(name)) { + return false; + } + const value = obj[name]; + if (!isFunction$1(value)) return; + descriptor.enumerable = false; + if ('writable' in descriptor) { + descriptor.writable = false; + return; + } + if (!descriptor.set) { + descriptor.set = () => { + throw Error("Can not rewrite read-only method '" + name + "'"); + }; + } + }); +}; + +/** + * Converts an array or a delimited string into an object set with values as keys and true as values. + * Useful for fast membership checks. + * + * @param {Array|string} arrayOrString - The array or string to convert. + * @param {string} delimiter - The delimiter to use if input is a string. + * @returns {Object} An object with keys from the array or string, values set to true. + */ +const toObjectSet = (arrayOrString, delimiter) => { + const obj = {}; + const define = arr => { + arr.forEach(value => { + obj[value] = true; + }); + }; + isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter)); + return obj; +}; +const noop = () => {}; +const toFiniteNumber = (value, defaultValue) => { + return value != null && Number.isFinite(value = +value) ? value : defaultValue; +}; + +/** + * If the thing is a FormData object, return true, otherwise return false. + * + * @param {unknown} thing - The thing to check. + * + * @returns {boolean} + */ +function isSpecCompliantForm(thing) { + return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]); +} + +/** + * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers. + * + * @param {Object} obj - The object to convert. + * @returns {Object} The JSON-compatible object. + */ +const toJSONObject = obj => { + const visited = new WeakSet(); + const visit = source => { + if (isObject(source)) { + if (visited.has(source)) { + return; + } + + //Buffer check + if (isBuffer(source)) { + return source; + } + if (!('toJSON' in source)) { + // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230). + visited.add(source); + const target = isArray(source) ? [] : {}; + forEach(source, (value, key) => { + const reducedValue = visit(value); + !isUndefined(reducedValue) && (target[key] = reducedValue); + }); + visited.delete(source); + return target; + } + } + return source; + }; + return visit(obj); +}; + +/** + * Determines if a value is an async function. + * + * @param {*} thing - The value to test. + * @returns {boolean} True if value is an async function, otherwise false. + */ +const isAsyncFn = kindOfTest('AsyncFunction'); + +/** + * Determines if a value is thenable (has then and catch methods). + * + * @param {*} thing - The value to test. + * @returns {boolean} True if value is thenable, otherwise false. + */ +const isThenable = thing => thing && (isObject(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch); + +// original code +// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34 + +/** + * Provides a cross-platform setImmediate implementation. + * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout. + * + * @param {boolean} setImmediateSupported - Whether setImmediate is supported. + * @param {boolean} postMessageSupported - Whether postMessage is supported. + * @returns {Function} A function to schedule a callback asynchronously. + */ +const _setImmediate = ((setImmediateSupported, postMessageSupported) => { + if (setImmediateSupported) { + return setImmediate; + } + return postMessageSupported ? ((token, callbacks) => { + _global.addEventListener('message', ({ + source, + data + }) => { + if (source === _global && data === token) { + callbacks.length && callbacks.shift()(); + } + }, false); + return cb => { + callbacks.push(cb); + _global.postMessage(token, '*'); + }; + })(`axios@${Math.random()}`, []) : cb => setTimeout(cb); +})(typeof setImmediate === 'function', isFunction$1(_global.postMessage)); + +/** + * Schedules a microtask or asynchronous callback as soon as possible. + * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate. + * + * @type {Function} + */ +const asap = typeof queueMicrotask !== 'undefined' ? queueMicrotask.bind(_global) : typeof process !== 'undefined' && process.nextTick || _setImmediate; + +// ********************* + +const isIterable = thing => thing != null && isFunction$1(thing[iterator]); + +/** + * Determine if a value is iterable via an iterator that is NOT sourced solely + * from a polluted Object.prototype. Use this instead of `isIterable` whenever + * the iterable comes from untrusted input (e.g. user-supplied header sources), + * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object + * into an attacker-controlled entries iterator. + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value has a non-polluted iterator + */ +const isSafeIterable = thing => thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing); +var utils$1 = { + isArray, + isArrayBuffer, + isBuffer, + isFormData, + isArrayBufferView, + isString, + isNumber, + isBoolean, + isObject, + isPlainObject, + isEmptyObject, + isReadableStream, + isRequest, + isResponse, + isHeaders, + isUndefined, + isDate, + isFile, + isReactNativeBlob, + isReactNative, + isBlob, + isRegExp, + isFunction: isFunction$1, + isStream, + isURLSearchParams, + isTypedArray, + isFileList, + forEach, + merge, + extend, + trim, + stripBOM, + inherits, + toFlatObject, + kindOf, + kindOfTest, + endsWith, + toArray, + forEachEntry, + matchAll, + isHTMLForm, + hasOwnProperty, + hasOwnProp: hasOwnProperty, + // an alias to avoid ESLint no-prototype-builtins detection + hasOwnInPrototypeChain, + getSafeProp, + reduceDescriptors, + freezeMethods, + toObjectSet, + toCamelCase, + noop, + toFiniteNumber, + findKey, + global: _global, + isContextDefined, + isSpecCompliantForm, + toJSONObject, + isAsyncFn, + isThenable, + setImmediate: _setImmediate, + asap, + isIterable, + isSafeIterable +}; + +// RawAxiosHeaders whose duplicates are ignored by node +// c.f. https://nodejs.org/api/http.html#http_message_headers +const ignoreDuplicateOf = utils$1.toObjectSet(['age', 'authorization', 'content-length', 'content-type', 'etag', 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 'referer', 'retry-after', 'user-agent']); + +/** + * Parse headers into an object + * + * ``` + * Date: Wed, 27 Aug 2014 08:58:49 GMT + * Content-Type: application/json + * Connection: keep-alive + * Transfer-Encoding: chunked + * ``` + * + * @param {String} rawHeaders Headers needing to be parsed + * + * @returns {Object} Headers parsed into an object + */ +var parseHeaders = rawHeaders => { + const parsed = {}; + let key; + let val; + let i; + rawHeaders && rawHeaders.split('\n').forEach(function parser(line) { + i = line.indexOf(':'); + key = line.substring(0, i).trim().toLowerCase(); + val = line.substring(i + 1).trim(); + if (!key || parsed[key] && ignoreDuplicateOf[key]) { + return; + } + if (key === 'set-cookie') { + if (parsed[key]) { + parsed[key].push(val); + } else { + parsed[key] = [val]; + } + } else { + parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val; + } + }); + return parsed; +}; + +function trimSPorHTAB(str) { + let start = 0; + let end = str.length; + while (start < end) { + const code = str.charCodeAt(start); + if (code !== 0x09 && code !== 0x20) { + break; + } + start += 1; + } + while (end > start) { + const code = str.charCodeAt(end - 1); + if (code !== 0x09 && code !== 0x20) { + break; + } + end -= 1; + } + return start === 0 && end === str.length ? str : str.slice(start, end); +} + +// The control-code ranges are intentional: header sanitization strips C0/DEL bytes. +// eslint-disable-next-line no-control-regex +const INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+', 'g'); +// eslint-disable-next-line no-control-regex +const INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+', 'g'); +function sanitizeValue(value, invalidChars) { + if (utils$1.isArray(value)) { + return value.map(item => sanitizeValue(item, invalidChars)); + } + return trimSPorHTAB(String(value).replace(invalidChars, '')); +} +const sanitizeHeaderValue = value => sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS); +const sanitizeByteStringHeaderValue = value => sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS); +function toByteStringHeaderObject(headers) { + const byteStringHeaders = Object.create(null); + utils$1.forEach(headers.toJSON(), (value, header) => { + byteStringHeaders[header] = sanitizeByteStringHeaderValue(value); + }); + return byteStringHeaders; +} + +const $internals = Symbol('internals'); +function normalizeHeader(header) { + return header && String(header).trim().toLowerCase(); +} +function normalizeValue(value) { + if (value === false || value == null) { + return value; + } + return utils$1.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value)); +} +function parseTokens(str) { + const tokens = Object.create(null); + const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; + let match; + while (match = tokensRE.exec(str)) { + tokens[match[1]] = match[2]; + } + return tokens; +} +const isValidHeaderName = str => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim()); +function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) { + if (utils$1.isFunction(filter)) { + return filter.call(this, value, header); + } + if (isHeaderNameFilter) { + value = header; + } + if (!utils$1.isString(value)) return; + if (utils$1.isString(filter)) { + return value.indexOf(filter) !== -1; + } + if (utils$1.isRegExp(filter)) { + return filter.test(value); + } +} +function formatHeader(header) { + return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str) => { + return char.toUpperCase() + str; + }); +} +function buildAccessors(obj, header) { + const accessorName = utils$1.toCamelCase(' ' + header); + ['get', 'set', 'has'].forEach(methodName => { + Object.defineProperty(obj, methodName + accessorName, { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: function (arg1, arg2, arg3) { + return this[methodName].call(this, header, arg1, arg2, arg3); + }, + configurable: true + }); + }); +} +class AxiosHeaders { + constructor(headers) { + headers && this.set(headers); + } + set(header, valueOrRewrite, rewrite) { + const self = this; + function setHeader(_value, _header, _rewrite) { + const lHeader = normalizeHeader(_header); + if (!lHeader) { + return; + } + const key = utils$1.findKey(self, lHeader); + if (!key || self[key] === undefined || _rewrite === true || _rewrite === undefined && self[key] !== false) { + self[key || _header] = normalizeValue(_value); + } + } + const setHeaders = (headers, _rewrite) => utils$1.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite)); + if (utils$1.isPlainObject(header) || header instanceof this.constructor) { + setHeaders(header, valueOrRewrite); + } else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) { + setHeaders(parseHeaders(header), valueOrRewrite); + } else if (utils$1.isObject(header) && utils$1.isSafeIterable(header)) { + let obj = Object.create(null), + dest, + key; + for (const entry of header) { + if (!utils$1.isArray(entry)) { + throw new TypeError('Object iterator must return a key-value pair'); + } + key = entry[0]; + if (utils$1.hasOwnProp(obj, key)) { + dest = obj[key]; + obj[key] = utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]; + } else { + obj[key] = entry[1]; + } + } + setHeaders(obj, valueOrRewrite); + } else { + header != null && setHeader(valueOrRewrite, header, rewrite); + } + return this; + } + get(header, parser) { + header = normalizeHeader(header); + if (header) { + const key = utils$1.findKey(this, header); + if (key) { + const value = this[key]; + if (!parser) { + return value; + } + if (parser === true) { + return parseTokens(value); + } + if (utils$1.isFunction(parser)) { + return parser.call(this, value, key); + } + if (utils$1.isRegExp(parser)) { + return parser.exec(value); + } + throw new TypeError('parser must be boolean|regexp|function'); + } + } + } + has(header, matcher) { + header = normalizeHeader(header); + if (header) { + const key = utils$1.findKey(this, header); + return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher))); + } + return false; + } + delete(header, matcher) { + const self = this; + let deleted = false; + function deleteHeader(_header) { + _header = normalizeHeader(_header); + if (_header) { + const key = utils$1.findKey(self, _header); + if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) { + delete self[key]; + deleted = true; + } + } + } + if (utils$1.isArray(header)) { + header.forEach(deleteHeader); + } else { + deleteHeader(header); + } + return deleted; + } + clear(matcher) { + const keys = Object.keys(this); + let i = keys.length; + let deleted = false; + while (i--) { + const key = keys[i]; + if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) { + delete this[key]; + deleted = true; + } + } + return deleted; + } + normalize(format) { + const self = this; + const headers = {}; + utils$1.forEach(this, (value, header) => { + const key = utils$1.findKey(headers, header); + if (key) { + self[key] = normalizeValue(value); + delete self[header]; + return; + } + const normalized = format ? formatHeader(header) : String(header).trim(); + if (normalized !== header) { + delete self[header]; + } + self[normalized] = normalizeValue(value); + headers[normalized] = true; + }); + return this; + } + concat(...targets) { + return this.constructor.concat(this, ...targets); + } + toJSON(asStrings) { + const obj = Object.create(null); + utils$1.forEach(this, (value, header) => { + value != null && value !== false && (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value); + }); + return obj; + } + [Symbol.iterator]() { + return Object.entries(this.toJSON())[Symbol.iterator](); + } + toString() { + return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\n'); + } + getSetCookie() { + return this.get('set-cookie') || []; + } + get [Symbol.toStringTag]() { + return 'AxiosHeaders'; + } + static from(thing) { + return thing instanceof this ? thing : new this(thing); + } + static concat(first, ...targets) { + const computed = new this(first); + targets.forEach(target => computed.set(target)); + return computed; + } + static accessor(header) { + const internals = this[$internals] = this[$internals] = { + accessors: {} + }; + const accessors = internals.accessors; + const prototype = this.prototype; + function defineAccessor(_header) { + const lHeader = normalizeHeader(_header); + if (!accessors[lHeader]) { + buildAccessors(prototype, _header); + accessors[lHeader] = true; + } + } + utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header); + return this; + } +} +AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']); + +// reserved names hotfix +utils$1.reduceDescriptors(AxiosHeaders.prototype, ({ + value +}, key) => { + let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set` + return { + get: () => value, + set(headerValue) { + this[mapped] = headerValue; + } + }; +}); +utils$1.freezeMethods(AxiosHeaders); + +const REDACTED = '[REDACTED ****]'; +function hasOwnOrPrototypeToJSON(source) { + if (utils$1.hasOwnProp(source, 'toJSON')) { + return true; + } + let prototype = Object.getPrototypeOf(source); + while (prototype && prototype !== Object.prototype) { + if (utils$1.hasOwnProp(prototype, 'toJSON')) { + return true; + } + prototype = Object.getPrototypeOf(prototype); + } + return false; +} + +// Build a plain-object snapshot of `config` and replace the value of any key +// (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays +// and AxiosHeaders, and short-circuits on circular references. +function redactConfig(config, redactKeys) { + const lowerKeys = new Set(redactKeys.map(k => String(k).toLowerCase())); + const seen = []; + const visit = source => { + if (source === null || typeof source !== 'object') return source; + if (utils$1.isBuffer(source)) return source; + if (seen.indexOf(source) !== -1) return undefined; + if (source instanceof AxiosHeaders) { + source = source.toJSON(); + } + seen.push(source); + let result; + if (utils$1.isArray(source)) { + result = []; + source.forEach((v, i) => { + const reducedValue = visit(v); + if (!utils$1.isUndefined(reducedValue)) { + result[i] = reducedValue; + } + }); + } else { + if (!utils$1.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) { + seen.pop(); + return source; + } + result = Object.create(null); + for (const [key, value] of Object.entries(source)) { + const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value); + if (!utils$1.isUndefined(reducedValue)) { + result[key] = reducedValue; + } + } + } + seen.pop(); + return result; + }; + return visit(config); +} +class AxiosError extends Error { + static from(error, code, config, request, response, customProps) { + const axiosError = new AxiosError(error.message, code || error.code, config, request, response); + // Match native `Error` `cause` semantics: non-enumerable. The wrapped + // error often carries circular internals (sockets, requests, agents), so + // an enumerable `cause` makes structured loggers (pino/winston) and any + // own-property walk throw "Converting circular structure to JSON". + // Regression from #6982; see #7205. `__proto__: null` mirrors the + // `message` descriptor below (prototype-pollution-safe descriptor). + Object.defineProperty(axiosError, 'cause', { + __proto__: null, + value: error, + writable: true, + enumerable: false, + configurable: true + }); + axiosError.name = error.name; + + // Preserve status from the original error if not already set from response + if (error.status != null && axiosError.status == null) { + axiosError.status = error.status; + } + customProps && Object.assign(axiosError, customProps); + return axiosError; + } + + /** + * Create an Error with the specified message, config, error code, request and response. + * + * @param {string} message The error message. + * @param {string} [code] The error code (for example, 'ECONNABORTED'). + * @param {Object} [config] The config. + * @param {Object} [request] The request. + * @param {Object} [response] The response. + * + * @returns {Error} The created error. + */ + constructor(message, code, config, request, response) { + super(message); + + // Make message enumerable to maintain backward compatibility + // The native Error constructor sets message as non-enumerable, + // but axios < v1.13.3 had it as enumerable + Object.defineProperty(this, 'message', { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: message, + enumerable: true, + writable: true, + configurable: true + }); + this.name = 'AxiosError'; + this.isAxiosError = true; + code && (this.code = code); + config && (this.config = config); + request && (this.request = request); + if (response) { + this.response = response; + this.status = response.status; + } + } + toJSON() { + // Opt-in redaction: when the request config carries a `redact` array, the + // value of any matching key (case-insensitive, at any depth) is replaced + // with REDACTED in the serialized snapshot. Undefined or empty leaves the + // existing serialization behavior unchanged. + const config = this.config; + const redactKeys = config && utils$1.hasOwnProp(config, 'redact') ? config.redact : undefined; + const serializedConfig = utils$1.isArray(redactKeys) && redactKeys.length > 0 ? redactConfig(config, redactKeys) : utils$1.toJSONObject(config); + return { + // Standard + message: this.message, + name: this.name, + // Microsoft + description: this.description, + number: this.number, + // Mozilla + fileName: this.fileName, + lineNumber: this.lineNumber, + columnNumber: this.columnNumber, + stack: this.stack, + // Axios + config: serializedConfig, + code: this.code, + status: this.status + }; + } +} + +// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated. +AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE'; +AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION'; +AxiosError.ECONNABORTED = 'ECONNABORTED'; +AxiosError.ETIMEDOUT = 'ETIMEDOUT'; +AxiosError.ECONNREFUSED = 'ECONNREFUSED'; +AxiosError.ERR_NETWORK = 'ERR_NETWORK'; +AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS'; +AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED'; +AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE'; +AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST'; +AxiosError.ERR_CANCELED = 'ERR_CANCELED'; +AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT'; +AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL'; +AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED'; + +// Default nesting limit shared with the inverse transform (formDataToJSON) so +// the FormData <-> JSON round-trip stays symmetric. +const DEFAULT_FORM_DATA_MAX_DEPTH = 100; + +/** + * Determines if the given thing is a array or js object. + * + * @param {string} thing - The object or array to be visited. + * + * @returns {boolean} + */ +function isVisitable(thing) { + return utils$1.isPlainObject(thing) || utils$1.isArray(thing); +} + +/** + * It removes the brackets from the end of a string + * + * @param {string} key - The key of the parameter. + * + * @returns {string} the key without the brackets. + */ +function removeBrackets(key) { + return utils$1.endsWith(key, '[]') ? key.slice(0, -2) : key; +} + +/** + * It takes a path, a key, and a boolean, and returns a string + * + * @param {string} path - The path to the current key. + * @param {string} key - The key of the current object being iterated over. + * @param {string} dots - If true, the key will be rendered with dots instead of brackets. + * + * @returns {string} The path to the current key. + */ +function renderKey(path, key, dots) { + if (!path) return key; + return path.concat(key).map(function each(token, i) { + // eslint-disable-next-line no-param-reassign + token = removeBrackets(token); + return !dots && i ? '[' + token + ']' : token; + }).join(dots ? '.' : ''); +} + +/** + * If the array is an array and none of its elements are visitable, then it's a flat array. + * + * @param {Array} arr - The array to check + * + * @returns {boolean} + */ +function isFlatArray(arr) { + return utils$1.isArray(arr) && !arr.some(isVisitable); +} +const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) { + return /^is[A-Z]/.test(prop); +}); + +/** + * Convert a data object to FormData + * + * @param {Object} obj + * @param {?Object} [formData] + * @param {?Object} [options] + * @param {Function} [options.visitor] + * @param {Boolean} [options.metaTokens = true] + * @param {Boolean} [options.dots = false] + * @param {?Boolean} [options.indexes = false] + * + * @returns {Object} + **/ + +/** + * It converts an object into a FormData object + * + * @param {Object} obj - The object to convert to form data. + * @param {string} formData - The FormData object to append to. + * @param {Object} options + * + * @returns + */ +function toFormData(obj, formData, options) { + if (!utils$1.isObject(obj)) { + throw new TypeError('target must be an object'); + } + + // eslint-disable-next-line no-param-reassign + formData = formData || new (FormData$1 || FormData)(); + + // eslint-disable-next-line no-param-reassign + options = utils$1.toFlatObject(options, { + metaTokens: true, + dots: false, + indexes: false + }, false, function defined(option, source) { + // eslint-disable-next-line no-eq-null,eqeqeq + return !utils$1.isUndefined(source[option]); + }); + const metaTokens = options.metaTokens; + // eslint-disable-next-line no-use-before-define + const visitor = options.visitor || defaultVisitor; + const dots = options.dots; + const indexes = options.indexes; + const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob; + const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth; + const useBlob = _Blob && utils$1.isSpecCompliantForm(formData); + const stack = []; + if (!utils$1.isFunction(visitor)) { + throw new TypeError('visitor must be a function'); + } + function convertValue(value) { + if (value === null) return ''; + if (utils$1.isDate(value)) { + return value.toISOString(); + } + if (utils$1.isBoolean(value)) { + return value.toString(); + } + if (!useBlob && utils$1.isBlob(value)) { + throw new AxiosError('Blob is not supported. Use a Buffer instead.'); + } + if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) { + if (useBlob && typeof _Blob === 'function') { + return new _Blob([value]); + } + if (typeof Buffer !== 'undefined') { + return Buffer.from(value); + } + throw new AxiosError('Blob is not supported. Use a Buffer instead.', AxiosError.ERR_NOT_SUPPORT); + } + return value; + } + function throwIfMaxDepthExceeded(depth) { + if (depth > maxDepth) { + throw new AxiosError('Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth, AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED); + } + } + function stringifyWithDepthLimit(value, depth) { + if (maxDepth === Infinity) { + return JSON.stringify(value); + } + const ancestors = []; + return JSON.stringify(value, function limitDepth(_key, currentValue) { + if (!utils$1.isObject(currentValue)) { + return currentValue; + } + while (ancestors.length && ancestors[ancestors.length - 1] !== this) { + ancestors.pop(); + } + ancestors.push(currentValue); + throwIfMaxDepthExceeded(depth + ancestors.length - 1); + return currentValue; + }); + } + + /** + * Default visitor. + * + * @param {*} value + * @param {String|Number} key + * @param {Array} path + * @this {FormData} + * + * @returns {boolean} return true to visit the each prop of the value recursively + */ + function defaultVisitor(value, key, path) { + let arr = value; + if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) { + formData.append(renderKey(path, key, dots), convertValue(value)); + return false; + } + if (value && !path && typeof value === 'object') { + if (utils$1.endsWith(key, '{}')) { + // eslint-disable-next-line no-param-reassign + key = metaTokens ? key : key.slice(0, -2); + // eslint-disable-next-line no-param-reassign + value = stringifyWithDepthLimit(value, 1); + } else if (utils$1.isArray(value) && isFlatArray(value) || (utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))) { + // eslint-disable-next-line no-param-reassign + key = removeBrackets(key); + arr.forEach(function each(el, index) { + !(utils$1.isUndefined(el) || el === null) && formData.append( + // eslint-disable-next-line no-nested-ternary + indexes === true ? renderKey([key], index, dots) : indexes === null ? key : key + '[]', convertValue(el)); + }); + return false; + } + } + if (isVisitable(value)) { + return true; + } + formData.append(renderKey(path, key, dots), convertValue(value)); + return false; + } + const exposedHelpers = Object.assign(predicates, { + defaultVisitor, + convertValue, + isVisitable + }); + function build(value, path, depth = 0) { + if (utils$1.isUndefined(value)) return; + throwIfMaxDepthExceeded(depth); + if (stack.indexOf(value) !== -1) { + throw new Error('Circular reference detected in ' + path.join('.')); + } + stack.push(value); + utils$1.forEach(value, function each(el, key) { + const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers); + if (result === true) { + build(el, path ? path.concat(key) : [key], depth + 1); + } + }); + stack.pop(); + } + if (!utils$1.isObject(obj)) { + throw new TypeError('data must be an object'); + } + build(obj); + return formData; +} + +/** + * It encodes a string by replacing all characters that are not in the unreserved set with + * their percent-encoded equivalents + * + * @param {string} str - The string to encode. + * + * @returns {string} The encoded string. + */ +function encode$1(str) { + const charMap = { + '!': '%21', + "'": '%27', + '(': '%28', + ')': '%29', + '~': '%7E', + '%20': '+' + }; + return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) { + return charMap[match]; + }); +} + +/** + * It takes a params object and converts it to a FormData object + * + * @param {Object} params - The parameters to be converted to a FormData object. + * @param {Object} options - The options object passed to the Axios constructor. + * + * @returns {void} + */ +function AxiosURLSearchParams(params, options) { + this._pairs = []; + params && toFormData(params, this, options); +} +const prototype = AxiosURLSearchParams.prototype; +prototype.append = function append(name, value) { + this._pairs.push([name, value]); +}; +prototype.toString = function toString(encoder) { + const _encode = encoder ? value => encoder.call(this, value, encode$1) : encode$1; + return this._pairs.map(function each(pair) { + return _encode(pair[0]) + '=' + _encode(pair[1]); + }, '').join('&'); +}; + +/** + * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with + * their plain counterparts (`:`, `$`, `,`, `+`). + * + * @param {string} val The value to be encoded. + * + * @returns {string} The encoded value. + */ +function encode(val) { + return encodeURIComponent(val).replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+'); +} + +/** + * Build a URL by appending params to the end + * + * @param {string} url The base of the url (e.g., http://www.google.com) + * @param {object} [params] The params to be appended + * @param {?(object|Function)} options + * + * @returns {string} The formatted url + */ +function buildURL(url, params, options) { + if (!params) { + return url; + } + url = url || ''; + const _options = utils$1.isFunction(options) ? { + serialize: options + } : options; + + // Read serializer options pollution-safely: own properties and methods on a + // class/template prototype are honored, but values injected onto a polluted + // Object.prototype are ignored. + const _encode = utils$1.getSafeProp(_options, 'encode') || encode; + const serializeFn = utils$1.getSafeProp(_options, 'serialize'); + let serializedParams; + if (serializeFn) { + serializedParams = serializeFn(params, _options); + } else { + serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode); + } + if (serializedParams) { + const hashmarkIndex = url.indexOf('#'); + if (hashmarkIndex !== -1) { + url = url.slice(0, hashmarkIndex); + } + url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams; + } + return url; +} + +class InterceptorManager { + constructor() { + this.handlers = []; + } + + /** + * Add a new interceptor to the stack + * + * @param {Function} fulfilled The function to handle `then` for a `Promise` + * @param {Function} rejected The function to handle `reject` for a `Promise` + * @param {Object} options The options for the interceptor, synchronous and runWhen + * + * @return {Number} An ID used to remove interceptor later + */ + use(fulfilled, rejected, options) { + this.handlers.push({ + fulfilled, + rejected, + synchronous: options ? options.synchronous : false, + runWhen: options ? options.runWhen : null + }); + return this.handlers.length - 1; + } + + /** + * Remove an interceptor from the stack + * + * @param {Number} id The ID that was returned by `use` + * + * @returns {void} + */ + eject(id) { + if (this.handlers[id]) { + this.handlers[id] = null; + } + } + + /** + * Clear all interceptors from the stack + * + * @returns {void} + */ + clear() { + if (this.handlers) { + this.handlers = []; + } + } + + /** + * Iterate over all the registered interceptors + * + * This method is particularly useful for skipping over any + * interceptors that may have become `null` calling `eject`. + * + * @param {Function} fn The function to call for each interceptor + * + * @returns {void} + */ + forEach(fn) { + utils$1.forEach(this.handlers, function forEachHandler(h) { + if (h !== null) { + fn(h); + } + }); + } +} + +var transitionalDefaults = { + silentJSONParsing: true, + forcedJSONParsing: true, + clarifyTimeoutError: false, + legacyInterceptorReqResOrdering: true, + advertiseZstdAcceptEncoding: false, + validateStatusUndefinedResolves: true +}; + +var URLSearchParams = url.URLSearchParams; + +const ALPHA = 'abcdefghijklmnopqrstuvwxyz'; +const DIGIT = '0123456789'; +const ALPHABET = { + DIGIT, + ALPHA, + ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT +}; +const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => { + let str = ''; + const { + length + } = alphabet; + const randomValues = new Uint32Array(size); + crypto.randomFillSync(randomValues); + for (let i = 0; i < size; i++) { + str += alphabet[randomValues[i] % length]; + } + return str; +}; +var platform$1 = { + isNode: true, + classes: { + URLSearchParams, + FormData: FormData$1, + Blob: typeof Blob !== 'undefined' && Blob || null + }, + ALPHABET, + generateString, + protocols: ['http', 'https', 'file', 'data'] +}; + +const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined'; +const _navigator = typeof navigator === 'object' && navigator || undefined; + +/** + * Determine if we're running in a standard browser environment + * + * This allows axios to run in a web worker, and react-native. + * Both environments support XMLHttpRequest, but not fully standard globals. + * + * web workers: + * typeof window -> undefined + * typeof document -> undefined + * + * react-native: + * navigator.product -> 'ReactNative' + * nativescript + * navigator.product -> 'NativeScript' or 'NS' + * + * @returns {boolean} + */ +const hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0); + +/** + * Determine if we're running in a standard browser webWorker environment + * + * Although the `isStandardBrowserEnv` method indicates that + * `allows axios to run in a web worker`, the WebWorker will still be + * filtered out due to its judgment standard + * `typeof window !== 'undefined' && typeof document !== 'undefined'`. + * This leads to a problem when axios post `FormData` in webWorker + */ +const hasStandardBrowserWebWorkerEnv = (() => { + return typeof WorkerGlobalScope !== 'undefined' && + // eslint-disable-next-line no-undef + self instanceof WorkerGlobalScope && typeof self.importScripts === 'function'; +})(); +const origin = hasBrowserEnv && window.location.href || 'http://localhost'; + +var utils = /*#__PURE__*/Object.freeze({ + __proto__: null, + hasBrowserEnv: hasBrowserEnv, + hasStandardBrowserEnv: hasStandardBrowserEnv, + hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv, + navigator: _navigator, + origin: origin +}); + +var platform = { + ...utils, + ...platform$1 +}; + +function toURLEncodedForm(data, options) { + return toFormData(data, new platform.classes.URLSearchParams(), { + visitor: function (value, key, path, helpers) { + if (platform.isNode && utils$1.isBuffer(value)) { + this.append(key, value.toString('base64')); + return false; + } + return helpers.defaultVisitor.apply(this, arguments); + }, + ...options + }); +} + +const MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH; +function throwIfDepthExceeded(index) { + if (index > MAX_DEPTH) { + throw new AxiosError('FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH, AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED); + } +} + +/** + * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z'] + * + * @param {string} name - The name of the property to get. + * + * @returns An array of strings. + */ +function parsePropPath(name) { + // foo[x][y][z] + // foo.x.y.z + // foo-x-y-z + // foo x y z + const path = []; + const pattern = /\w+|\[(\w*)]/g; + let match; + while ((match = pattern.exec(name)) !== null) { + throwIfDepthExceeded(path.length); + path.push(match[0] === '[]' ? '' : match[1] || match[0]); + } + return path; +} + +/** + * Convert an array to an object. + * + * @param {Array} arr - The array to convert to an object. + * + * @returns An object with the same keys and values as the array. + */ +function arrayToObject(arr) { + const obj = {}; + const keys = Object.keys(arr); + let i; + const len = keys.length; + let key; + for (i = 0; i < len; i++) { + key = keys[i]; + obj[key] = arr[key]; + } + return obj; +} + +/** + * It takes a FormData object and returns a JavaScript object + * + * @param {string} formData The FormData object to convert to JSON. + * + * @returns {Object | null} The converted object. + */ +function formDataToJSON(formData) { + function buildPath(path, value, target, index) { + throwIfDepthExceeded(index); + let name = path[index++]; + if (name === '__proto__') return true; + const isNumericKey = Number.isFinite(+name); + const isLast = index >= path.length; + name = !name && utils$1.isArray(target) ? target.length : name; + if (isLast) { + if (utils$1.hasOwnProp(target, name)) { + target[name] = utils$1.isArray(target[name]) ? target[name].concat(value) : [target[name], value]; + } else { + target[name] = value; + } + return !isNumericKey; + } + if (!utils$1.hasOwnProp(target, name) || !utils$1.isObject(target[name])) { + target[name] = []; + } + const result = buildPath(path, value, target[name], index); + if (result && utils$1.isArray(target[name])) { + target[name] = arrayToObject(target[name]); + } + return !isNumericKey; + } + if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) { + const obj = {}; + utils$1.forEachEntry(formData, (name, value) => { + buildPath(parsePropPath(name), value, obj, 0); + }); + return obj; + } + return null; +} + +const own = (obj, key) => obj != null && utils$1.hasOwnProp(obj, key) ? obj[key] : undefined; + +/** + * It takes a string, tries to parse it, and if it fails, it returns the stringified version + * of the input + * + * @param {any} rawValue - The value to be stringified. + * @param {Function} parser - A function that parses a string into a JavaScript object. + * @param {Function} encoder - A function that takes a value and returns a string. + * + * @returns {string} A stringified version of the rawValue. + */ +function stringifySafely(rawValue, parser, encoder) { + if (utils$1.isString(rawValue)) { + try { + (parser || JSON.parse)(rawValue); + return utils$1.trim(rawValue); + } catch (e) { + if (e.name !== 'SyntaxError') { + throw e; + } + } + } + return (encoder || JSON.stringify)(rawValue); +} +const defaults = { + transitional: transitionalDefaults, + adapter: ['xhr', 'http', 'fetch'], + transformRequest: [function transformRequest(data, headers) { + const contentType = headers.getContentType() || ''; + const hasJSONContentType = contentType.indexOf('application/json') > -1; + const isObjectPayload = utils$1.isObject(data); + if (isObjectPayload && utils$1.isHTMLForm(data)) { + data = new FormData(data); + } + const isFormData = utils$1.isFormData(data); + if (isFormData) { + return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data; + } + if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data) || utils$1.isReadableStream(data)) { + return data; + } + if (utils$1.isArrayBufferView(data)) { + return data.buffer; + } + if (utils$1.isURLSearchParams(data)) { + headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false); + return data.toString(); + } + let isFileList; + if (isObjectPayload) { + const formSerializer = own(this, 'formSerializer'); + if (contentType.indexOf('application/x-www-form-urlencoded') > -1) { + return toURLEncodedForm(data, formSerializer).toString(); + } + if ((isFileList = utils$1.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) { + const env = own(this, 'env'); + const _FormData = env && env.FormData; + return toFormData(isFileList ? { + 'files[]': data + } : data, _FormData && new _FormData(), formSerializer); + } + } + if (isObjectPayload || hasJSONContentType) { + headers.setContentType('application/json', false); + return stringifySafely(data); + } + return data; + }], + transformResponse: [function transformResponse(data) { + const transitional = own(this, 'transitional') || defaults.transitional; + const forcedJSONParsing = transitional && transitional.forcedJSONParsing; + const responseType = own(this, 'responseType'); + const JSONRequested = responseType === 'json'; + if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) { + return data; + } + if (data && utils$1.isString(data) && (forcedJSONParsing && !responseType || JSONRequested)) { + const silentJSONParsing = transitional && transitional.silentJSONParsing; + const strictJSONParsing = !silentJSONParsing && JSONRequested; + try { + return JSON.parse(data, own(this, 'parseReviver')); + } catch (e) { + if (strictJSONParsing) { + if (e.name === 'SyntaxError') { + throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response')); + } + throw e; + } + } + } + return data; + }], + /** + * A timeout in milliseconds to abort a request. If set to 0 (default) a + * timeout is not created. + */ + timeout: 0, + xsrfCookieName: 'XSRF-TOKEN', + xsrfHeaderName: 'X-XSRF-TOKEN', + maxContentLength: -1, + maxBodyLength: -1, + env: { + FormData: platform.classes.FormData, + Blob: platform.classes.Blob + }, + validateStatus: function validateStatus(status) { + return status >= 200 && status < 300; + }, + headers: { + common: { + Accept: 'application/json, text/plain, */*', + 'Content-Type': undefined + } + } +}; +utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], method => { + defaults.headers[method] = {}; +}); + +/** + * Transform the data for a request or a response + * + * @param {Array|Function} fns A single function or Array of functions + * @param {?Object} response The response object + * + * @returns {*} The resulting transformed data + */ +function transformData(fns, response) { + const config = this || defaults; + const context = response || config; + const headers = AxiosHeaders.from(context.headers); + let data = context.data; + utils$1.forEach(fns, function transform(fn) { + data = fn.call(config, data, headers.normalize(), response ? response.status : undefined); + }); + headers.normalize(); + return data; +} + +function isCancel(value) { + return !!(value && value.__CANCEL__); +} + +class CanceledError extends AxiosError { + /** + * A `CanceledError` is an object that is thrown when an operation is canceled. + * + * @param {string=} message The message. + * @param {Object=} config The config. + * @param {Object=} request The request. + * + * @returns {CanceledError} The created error. + */ + constructor(message, config, request) { + super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request); + this.name = 'CanceledError'; + this.__CANCEL__ = true; + } +} + +/** + * Resolve or reject a Promise based on response status. + * + * @param {Function} resolve A function that resolves the promise. + * @param {Function} reject A function that rejects the promise. + * @param {object} response The response. + * + * @returns {object} The response. + */ +function settle(resolve, reject, response) { + const validateStatus = response.config.validateStatus; + if (!response.status || !validateStatus || validateStatus(response.status)) { + resolve(response); + } else { + reject(new AxiosError('Request failed with status code ' + response.status, response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE, response.config, response.request, response)); + } +} + +/** + * Determines whether the specified URL is absolute + * + * @param {string} url The URL to test + * + * @returns {boolean} True if the specified URL is absolute, otherwise false + */ +function isAbsoluteURL(url) { + // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). + // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed + // by any combination of letters, digits, plus, period, or hyphen. + if (typeof url !== 'string') { + return false; + } + return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url); +} + +/** + * Creates a new URL by combining the specified URLs + * + * @param {string} baseURL The base URL + * @param {string} relativeURL The relative URL + * + * @returns {string} The combined URL + */ +function combineURLs(baseURL, relativeURL) { + return relativeURL ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') : baseURL; +} + +const malformedHttpProtocol = /^https?:(?!\/\/)/i; +const httpProtocolControlCharacters = /[\t\n\r]/g; +function stripLeadingC0ControlOrSpace(url) { + let i = 0; + while (i < url.length && url.charCodeAt(i) <= 0x20) { + i++; + } + return url.slice(i); +} +function normalizeURLForProtocolCheck(url) { + return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, ''); +} +function assertValidHttpProtocolURL(url, config) { + if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) { + throw new AxiosError('Invalid URL: missing "//" after protocol', AxiosError.ERR_INVALID_URL, config); + } +} + +/** + * Creates a new URL by combining the baseURL with the requestedURL, + * only when the requestedURL is not already an absolute URL. + * If the requestURL is absolute, this function returns the requestedURL untouched. + * + * @param {string} baseURL The base URL + * @param {string} requestedURL Absolute or relative URL to combine + * + * @returns {string} The combined full path + */ +function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) { + assertValidHttpProtocolURL(requestedURL, config); + let isRelativeUrl = !isAbsoluteURL(requestedURL); + if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) { + assertValidHttpProtocolURL(baseURL, config); + return combineURLs(baseURL, requestedURL); + } + return requestedURL; +} + +var DEFAULT_PORTS$1 = { + ftp: 21, + gopher: 70, + http: 80, + https: 443, + ws: 80, + wss: 443 +}; +function parseUrl(urlString) { + try { + return new URL(urlString); + } catch { + return null; + } +} + +/** + * @param {string|object|URL} url - The URL as a string or URL instance, or a + * compatible object (such as the result from legacy url.parse). + * @return {string} The URL of the proxy that should handle the request to the + * given URL. If no proxy is set, this will be an empty string. + */ +function getProxyForUrl(url) { + var parsedUrl = (typeof url === 'string' ? parseUrl(url) : url) || {}; + var proto = parsedUrl.protocol; + var hostname = parsedUrl.host; + var port = parsedUrl.port; + if (typeof hostname !== 'string' || !hostname || typeof proto !== 'string') { + return ''; // Don't proxy URLs without a valid scheme or host. + } + proto = proto.split(':', 1)[0]; + // Stripping ports in this way instead of using parsedUrl.hostname to make + // sure that the brackets around IPv6 addresses are kept. + hostname = hostname.replace(/:\d*$/, ''); + port = parseInt(port) || DEFAULT_PORTS$1[proto] || 0; + if (!shouldProxy(hostname, port)) { + return ''; // Don't proxy URLs that match NO_PROXY. + } + var proxy = getEnv(proto + '_proxy') || getEnv('all_proxy'); + if (proxy && proxy.indexOf('://') === -1) { + // Missing scheme in proxy, default to the requested URL's scheme. + proxy = proto + '://' + proxy; + } + return proxy; +} + +/** + * Determines whether a given URL should be proxied. + * + * @param {string} hostname - The host name of the URL. + * @param {number} port - The effective port of the URL. + * @returns {boolean} Whether the given URL should be proxied. + * @private + */ +function shouldProxy(hostname, port) { + var NO_PROXY = getEnv('no_proxy').toLowerCase(); + if (!NO_PROXY) { + return true; // Always proxy if NO_PROXY is not set. + } + if (NO_PROXY === '*') { + return false; // Never proxy if wildcard is set. + } + return NO_PROXY.split(/[,\s]/).every(function (proxy) { + if (!proxy) { + return true; // Skip zero-length hosts. + } + var parsedProxy = proxy.match(/^(.+):(\d+)$/); + var parsedProxyHostname = parsedProxy ? parsedProxy[1] : proxy; + var parsedProxyPort = parsedProxy ? parseInt(parsedProxy[2]) : 0; + if (parsedProxyPort && parsedProxyPort !== port) { + return true; // Skip if ports don't match. + } + if (!/^[.*]/.test(parsedProxyHostname)) { + // No wildcards, so stop proxying if there is an exact match. + return hostname !== parsedProxyHostname; + } + if (parsedProxyHostname.charAt(0) === '*') { + // Remove leading wildcard. + parsedProxyHostname = parsedProxyHostname.slice(1); + } + // Stop proxying if the hostname ends with the no_proxy host. + return !hostname.endsWith(parsedProxyHostname); + }); +} + +/** + * Get the value for an environment variable. + * + * @param {string} key - The name of the environment variable. + * @return {string} The value of the environment variable. + * @private + */ +function getEnv(key) { + return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || ''; +} + +const VERSION = "1.18.1"; + +function parseProtocol(url) { + const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url); + return match && match[1] || ''; +} + +// RFC 2397: data:[][;base64], +// mediatype = type/subtype followed by optional ;name=value parameters +const DATA_URL_PATTERN = /^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/; + +/** + * Parse data uri to a Buffer or Blob + * + * @param {String} uri + * @param {?Boolean} asBlob + * @param {?Object} options + * @param {?Function} options.Blob + * + * @returns {Buffer|Blob} + */ +function fromDataURI(uri, asBlob, options) { + const _Blob = options && options.Blob || platform.classes.Blob; + const protocol = parseProtocol(uri); + if (asBlob === undefined && _Blob) { + asBlob = true; + } + if (protocol === 'data') { + uri = protocol.length ? uri.slice(protocol.length + 1) : uri; + const match = DATA_URL_PATTERN.exec(uri); + if (!match) { + throw new AxiosError('Invalid URL', AxiosError.ERR_INVALID_URL); + } + const type = match[1]; + const params = match[2]; + const encoding = match[3] ? 'base64' : 'utf8'; + const body = match[4]; + + // RFC 2397 section 3: default mediatype is text/plain;charset=US-ASCII + // Bare `data:,` leaves mime undefined; Blob normalises that to "" per spec. + let mime = ''; + if (type) { + mime = params ? type + params : type; + } else if (params) { + mime = 'text/plain' + params; + } + const buffer = encoding === 'base64' ? Buffer.from(body, 'base64') : Buffer.from(decodeURIComponent(body), encoding); + if (asBlob) { + if (!_Blob) { + throw new AxiosError('Blob is not supported', AxiosError.ERR_NOT_SUPPORT); + } + return new _Blob([buffer], { + type: mime + }); + } + return buffer; + } + throw new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_NOT_SUPPORT); +} + +const kInternals = Symbol('internals'); +class AxiosTransformStream extends stream.Transform { + constructor(options) { + options = utils$1.toFlatObject(options, { + maxRate: 0, + chunkSize: 64 * 1024, + minChunkSize: 100, + timeWindow: 500, + ticksRate: 2, + samplesCount: 15 + }, null, (prop, source) => { + return !utils$1.isUndefined(source[prop]); + }); + super({ + readableHighWaterMark: options.chunkSize + }); + const internals = this[kInternals] = { + timeWindow: options.timeWindow, + chunkSize: options.chunkSize, + maxRate: options.maxRate, + minChunkSize: options.minChunkSize, + bytesSeen: 0, + isCaptured: false, + notifiedBytesLoaded: 0, + ts: Date.now(), + bytes: 0, + onReadCallback: null + }; + this.on('newListener', event => { + if (event === 'progress') { + if (!internals.isCaptured) { + internals.isCaptured = true; + } + } + }); + } + _read(size) { + const internals = this[kInternals]; + if (internals.onReadCallback) { + internals.onReadCallback(); + } + return super._read(size); + } + _transform(chunk, encoding, callback) { + const internals = this[kInternals]; + const maxRate = internals.maxRate; + const readableHighWaterMark = this.readableHighWaterMark; + const timeWindow = internals.timeWindow; + const divider = 1000 / timeWindow; + const bytesThreshold = maxRate / divider; + const minChunkSize = internals.minChunkSize !== false ? Math.max(internals.minChunkSize, bytesThreshold * 0.01) : 0; + const pushChunk = (_chunk, _callback) => { + const bytes = Buffer.byteLength(_chunk); + internals.bytesSeen += bytes; + internals.bytes += bytes; + internals.isCaptured && this.emit('progress', internals.bytesSeen); + if (this.push(_chunk)) { + process.nextTick(_callback); + } else { + internals.onReadCallback = () => { + internals.onReadCallback = null; + process.nextTick(_callback); + }; + } + }; + const transformChunk = (_chunk, _callback) => { + const chunkSize = Buffer.byteLength(_chunk); + let chunkRemainder = null; + let maxChunkSize = readableHighWaterMark; + let bytesLeft; + let passed = 0; + if (maxRate) { + const now = Date.now(); + if (!internals.ts || (passed = now - internals.ts) >= timeWindow) { + internals.ts = now; + bytesLeft = bytesThreshold - internals.bytes; + internals.bytes = bytesLeft < 0 ? -bytesLeft : 0; + passed = 0; + } + bytesLeft = bytesThreshold - internals.bytes; + } + if (maxRate) { + if (bytesLeft <= 0) { + // next time window + return setTimeout(() => { + _callback(null, _chunk); + }, timeWindow - passed); + } + if (bytesLeft < maxChunkSize) { + maxChunkSize = bytesLeft; + } + } + if (maxChunkSize && chunkSize > maxChunkSize && chunkSize - maxChunkSize > minChunkSize) { + chunkRemainder = _chunk.subarray(maxChunkSize); + _chunk = _chunk.subarray(0, maxChunkSize); + } + pushChunk(_chunk, chunkRemainder ? () => { + process.nextTick(_callback, null, chunkRemainder); + } : _callback); + }; + transformChunk(chunk, function transformNextChunk(err, _chunk) { + if (err) { + return callback(err); + } + if (_chunk) { + transformChunk(_chunk, transformNextChunk); + } else { + callback(null); + } + }); + } +} + +const { + asyncIterator +} = Symbol; +const readBlob = async function* (blob) { + if (blob.stream) { + yield* blob.stream(); + } else if (blob.arrayBuffer) { + yield await blob.arrayBuffer(); + } else if (blob[asyncIterator]) { + yield* blob[asyncIterator](); + } else { + yield blob; + } +}; + +const BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + '-_'; +const textEncoder = typeof TextEncoder === 'function' ? new TextEncoder() : new util.TextEncoder(); +const CRLF = '\r\n'; +const CRLF_BYTES = textEncoder.encode(CRLF); +const CRLF_BYTES_COUNT = 2; +class FormDataPart { + constructor(name, value) { + const { + escapeName + } = this.constructor; + const isStringValue = utils$1.isString(value); + let headers = `Content-Disposition: form-data; name="${escapeName(name)}"${!isStringValue && value.name ? `; filename="${escapeName(value.name)}"` : ''}${CRLF}`; + if (isStringValue) { + value = textEncoder.encode(String(value).replace(/\r?\n|\r\n?/g, CRLF)); + } else { + const safeType = String(value.type || 'application/octet-stream').replace(/[\r\n]/g, ''); + headers += `Content-Type: ${safeType}${CRLF}`; + } + this.headers = textEncoder.encode(headers + CRLF); + this.contentLength = isStringValue ? value.byteLength : value.size; + this.size = this.headers.byteLength + this.contentLength + CRLF_BYTES_COUNT; + this.name = name; + this.value = value; + } + async *encode() { + yield this.headers; + const { + value + } = this; + if (utils$1.isTypedArray(value)) { + yield value; + } else { + yield* readBlob(value); + } + yield CRLF_BYTES; + } + static escapeName(name) { + return String(name).replace(/[\r\n"]/g, match => ({ + '\r': '%0D', + '\n': '%0A', + '"': '%22' + })[match]); + } +} +const formDataToStream = (form, headersHandler, options) => { + const { + tag = 'form-data-boundary', + size = 25, + boundary = tag + '-' + platform.generateString(size, BOUNDARY_ALPHABET) + } = options || {}; + if (!utils$1.isFormData(form)) { + throw new TypeError('FormData instance required'); + } + if (boundary.length < 1 || boundary.length > 70) { + throw new Error('boundary must be 1-70 characters long'); + } + const boundaryBytes = textEncoder.encode('--' + boundary + CRLF); + const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF); + let contentLength = footerBytes.byteLength; + const parts = Array.from(form.entries()).map(([name, value]) => { + const part = new FormDataPart(name, value); + contentLength += part.size; + return part; + }); + contentLength += boundaryBytes.byteLength * parts.length; + contentLength = utils$1.toFiniteNumber(contentLength); + const computedHeaders = { + 'Content-Type': `multipart/form-data; boundary=${boundary}` + }; + if (Number.isFinite(contentLength)) { + computedHeaders['Content-Length'] = contentLength; + } + headersHandler && headersHandler(computedHeaders); + return stream.Readable.from(async function* () { + for (const part of parts) { + yield boundaryBytes; + yield* part.encode(); + } + yield footerBytes; + }()); +}; + +class ZlibHeaderTransformStream extends stream.Transform { + __transform(chunk, encoding, callback) { + this.push(chunk); + callback(); + } + _transform(chunk, encoding, callback) { + if (chunk.length !== 0) { + this._transform = this.__transform; + + // Add Default Compression headers if no zlib headers are present + if (chunk[0] !== 120) { + // Hex: 78 + const header = Buffer.alloc(2); + header[0] = 120; // Hex: 78 + header[1] = 156; // Hex: 9C + this.push(header, encoding); + } + } + this.__transform(chunk, encoding, callback); + } +} + +class Http2Sessions { + constructor() { + this.sessions = Object.create(null); + } + getSession(authority, options) { + options = Object.assign({ + sessionTimeout: 1000 + }, options); + let authoritySessions = this.sessions[authority]; + if (authoritySessions) { + let len = authoritySessions.length; + for (let i = 0; i < len; i++) { + const [sessionHandle, sessionOptions] = authoritySessions[i]; + if (!sessionHandle.destroyed && !sessionHandle.closed && util.isDeepStrictEqual(sessionOptions, options)) { + return sessionHandle; + } + } + } + const session = http2.connect(authority, options); + let removed; + let timer; + const removeSession = () => { + if (removed) { + return; + } + removed = true; + if (timer) { + clearTimeout(timer); + timer = null; + } + let entries = authoritySessions, + len = entries.length, + i = len; + while (i--) { + if (entries[i][0] === session) { + if (len === 1) { + delete this.sessions[authority]; + } else { + entries.splice(i, 1); + } + if (!session.closed) { + session.close(); + } + return; + } + } + }; + const originalRequestFn = session.request; + const { + sessionTimeout + } = options; + if (sessionTimeout != null) { + let streamsCount = 0; + session.request = function () { + const stream = originalRequestFn.apply(this, arguments); + streamsCount++; + if (timer) { + clearTimeout(timer); + timer = null; + } + stream.once('close', () => { + if (! --streamsCount) { + timer = setTimeout(() => { + timer = null; + removeSession(); + }, sessionTimeout); + } + }); + return stream; + }; + } + session.once('close', removeSession); + let entry = [session, options]; + authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [entry]; + return session; + } +} + +const callbackify = (fn, reducer) => { + return utils$1.isAsyncFn(fn) ? function (...args) { + const cb = args.pop(); + fn.apply(this, args).then(value => { + try { + reducer ? cb(null, ...reducer(value)) : cb(null, value); + } catch (err) { + cb(err); + } + }, cb); + } : fn; +}; + +const LOOPBACK_HOSTNAMES = new Set(['localhost', '0.0.0.0']); +const isIPv4Loopback = host => { + const parts = host.split('.'); + if (parts.length !== 4) return false; + if (parts[0] !== '127') return false; + return parts.every(p => /^\d+$/.test(p) && Number(p) >= 0 && Number(p) <= 255); +}; +const isIPv6ZeroGroup = group => /^0{1,4}$/.test(group); + +// The unspecified address (IPv4 0.0.0.0 / IPv6 ::) resolves to the local host +// for outbound connections, so treat it as loopback-equivalent for NO_PROXY +// matching. 0.0.0.0 is covered by LOOPBACK_HOSTNAMES; this handles compressed +// and full IPv6 all-zero forms so both families bypass symmetrically. +const isIPv6Unspecified = host => { + if (host === '::') return true; + const compressionIndex = host.indexOf('::'); + if (compressionIndex !== -1) { + if (compressionIndex !== host.lastIndexOf('::')) return false; + const left = host.slice(0, compressionIndex); + const right = host.slice(compressionIndex + 2); + const leftGroups = left ? left.split(':') : []; + const rightGroups = right ? right.split(':') : []; + const explicitGroups = leftGroups.length + rightGroups.length; + return explicitGroups < 8 && leftGroups.every(isIPv6ZeroGroup) && rightGroups.every(isIPv6ZeroGroup); + } + const groups = host.split(':'); + return groups.length === 8 && groups.every(isIPv6ZeroGroup); +}; +const isIPv6Loopback = host => { + // Collapse all-zero groups: any form of ::1 / 0:0:...:0:1 + // First, strip any leading "::" by normalising with Set lookup of common forms, + // then fall back to structural check. + if (host === '::1') return true; + + // Check IPv4-mapped IPv6 loopback: ::ffff: or ::ffff: + // Node's URL parser normalises ::ffff:127.0.0.1 → ::ffff:7f00:1 + const v4MappedDotted = host.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i); + if (v4MappedDotted) return isIPv4Loopback(v4MappedDotted[1]); + const v4MappedHex = host.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i); + if (v4MappedHex) { + const high = parseInt(v4MappedHex[1], 16); + // High 16 bits must start with 127 (0x7f) — i.e. 0x7f00..0x7fff + return high >= 0x7f00 && high <= 0x7fff; + } + + // Full-form ::1 variants: any number of zero groups followed by trailing 1 + // e.g. 0:0:0:0:0:0:0:1, 0000:...:0001 + const groups = host.split(':'); + if (groups.length === 8) { + for (let i = 0; i < 7; i++) { + if (!/^0+$/.test(groups[i])) return false; + } + return /^0*1$/.test(groups[7]); + } + return false; +}; +const isLoopback = host => { + if (!host) return false; + if (LOOPBACK_HOSTNAMES.has(host)) return true; + if (isIPv4Loopback(host)) return true; + if (isIPv6Unspecified(host)) return true; + return isIPv6Loopback(host); +}; +const DEFAULT_PORTS = { + http: 80, + https: 443, + ws: 80, + wss: 443, + ftp: 21 +}; +const parseNoProxyEntry = entry => { + let entryHost = entry; + let entryPort = 0; + if (entryHost.charAt(0) === '[') { + const bracketIndex = entryHost.indexOf(']'); + if (bracketIndex !== -1) { + const host = entryHost.slice(1, bracketIndex); + const rest = entryHost.slice(bracketIndex + 1); + if (rest.charAt(0) === ':' && /^\d+$/.test(rest.slice(1))) { + entryPort = Number.parseInt(rest.slice(1), 10); + } + return [host, entryPort]; + } + } + const firstColon = entryHost.indexOf(':'); + const lastColon = entryHost.lastIndexOf(':'); + if (firstColon !== -1 && firstColon === lastColon && /^\d+$/.test(entryHost.slice(lastColon + 1))) { + entryPort = Number.parseInt(entryHost.slice(lastColon + 1), 10); + entryHost = entryHost.slice(0, lastColon); + } + return [entryHost, entryPort]; +}; + +// Convert IPv4-mapped IPv6 (::ffff:0:0/96 prefix) to IPv4 dotted form so both +// sides of a NO_PROXY comparison see the same canonical address. Without this, +// `NO_PROXY=192.168.1.5` would not match a request to `http://[::ffff:192.168.1.5]/` +// (Node's URL parser normalises that to `[::ffff:c0a8:105]`), and vice-versa, +// allowing the proxy-bypass policy to be circumvented by using the alternate +// representation. Returns the input unchanged when not IPv4-mapped. +const IPV4_MAPPED_DOTTED_RE = /^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i; +const IPV4_MAPPED_HEX_RE = /^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i; +const unmapIPv4MappedIPv6 = host => { + if (typeof host !== 'string' || host.indexOf(':') === -1) return host; + const dotted = host.match(IPV4_MAPPED_DOTTED_RE); + if (dotted) return dotted[1]; + const hex = host.match(IPV4_MAPPED_HEX_RE); + if (hex) { + const high = parseInt(hex[1], 16); + const low = parseInt(hex[2], 16); + return `${high >> 8}.${high & 0xff}.${low >> 8}.${low & 0xff}`; + } + return host; +}; +const normalizeNoProxyHost = hostname => { + if (!hostname) { + return hostname; + } + if (hostname.charAt(0) === '[' && hostname.charAt(hostname.length - 1) === ']') { + hostname = hostname.slice(1, -1); + } + return unmapIPv4MappedIPv6(hostname.replace(/\.+$/, '')); +}; +function shouldBypassProxy(location) { + let parsed; + try { + parsed = new URL(location); + } catch (_err) { + return false; + } + const noProxy = (process.env.no_proxy || process.env.NO_PROXY || '').toLowerCase(); + if (!noProxy) { + return false; + } + if (noProxy === '*') { + return true; + } + const port = Number.parseInt(parsed.port, 10) || DEFAULT_PORTS[parsed.protocol.split(':', 1)[0]] || 0; + const hostname = normalizeNoProxyHost(parsed.hostname.toLowerCase()); + return noProxy.split(/[\s,]+/).some(entry => { + if (!entry) { + return false; + } + let [entryHost, entryPort] = parseNoProxyEntry(entry); + entryHost = normalizeNoProxyHost(entryHost); + if (!entryHost) { + return false; + } + if (entryPort && entryPort !== port) { + return false; + } + if (entryHost.charAt(0) === '*') { + entryHost = entryHost.slice(1); + } + if (entryHost.charAt(0) === '.') { + return hostname.endsWith(entryHost); + } + return hostname === entryHost || isLoopback(hostname) && isLoopback(entryHost); + }); +} + +/** + * Calculate data maxRate + * @param {Number} [samplesCount= 10] + * @param {Number} [min= 1000] + * @returns {Function} + */ +function speedometer(samplesCount, min) { + samplesCount = samplesCount || 10; + const bytes = new Array(samplesCount); + const timestamps = new Array(samplesCount); + let head = 0; + let tail = 0; + let firstSampleTS; + min = min !== undefined ? min : 1000; + return function push(chunkLength) { + const now = Date.now(); + const startedAt = timestamps[tail]; + if (!firstSampleTS) { + firstSampleTS = now; + } + bytes[head] = chunkLength; + timestamps[head] = now; + let i = tail; + let bytesCount = 0; + while (i !== head) { + bytesCount += bytes[i++]; + i = i % samplesCount; + } + head = (head + 1) % samplesCount; + if (head === tail) { + tail = (tail + 1) % samplesCount; + } + if (now - firstSampleTS < min) { + return; + } + const passed = startedAt && now - startedAt; + return passed ? Math.round(bytesCount * 1000 / passed) : undefined; + }; +} + +/** + * Throttle decorator + * @param {Function} fn + * @param {Number} freq + * @return {Function} + */ +function throttle(fn, freq) { + let timestamp = 0; + let threshold = 1000 / freq; + let lastArgs; + let timer; + const invoke = (args, now = Date.now()) => { + timestamp = now; + lastArgs = null; + if (timer) { + clearTimeout(timer); + timer = null; + } + fn(...args); + }; + const throttled = (...args) => { + const now = Date.now(); + const passed = now - timestamp; + if (passed >= threshold) { + invoke(args, now); + } else { + lastArgs = args; + if (!timer) { + timer = setTimeout(() => { + timer = null; + invoke(lastArgs); + }, threshold - passed); + } + } + }; + const flush = () => lastArgs && invoke(lastArgs); + return [throttled, flush]; +} + +const progressEventReducer = (listener, isDownloadStream, freq = 3) => { + let bytesNotified = 0; + const _speedometer = speedometer(50, 250); + return throttle(e => { + if (!e || typeof e.loaded !== 'number') { + return; + } + const rawLoaded = e.loaded; + const total = e.lengthComputable ? e.total : undefined; + const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded; + const progressBytes = Math.max(0, loaded - bytesNotified); + const rate = _speedometer(progressBytes); + bytesNotified = Math.max(bytesNotified, loaded); + const data = { + loaded, + total, + progress: total ? loaded / total : undefined, + bytes: progressBytes, + rate: rate ? rate : undefined, + estimated: rate && total ? (total - loaded) / rate : undefined, + event: e, + lengthComputable: total != null, + [isDownloadStream ? 'download' : 'upload']: true + }; + listener(data); + }, freq); +}; +const progressEventDecorator = (total, throttled) => { + const lengthComputable = total != null; + return [loaded => throttled[0]({ + lengthComputable, + total, + loaded + }), throttled[1]]; +}; +const asyncDecorator = fn => (...args) => utils$1.asap(() => fn(...args)); + +/** + * Estimate decoded byte length of a data:// URL *without* allocating large buffers. + * - For base64: compute exact decoded size using length and padding; + * handle %XX at the character-count level (no string allocation). + * - For non-base64: compute the exact percent-decoded UTF-8 byte length. + * + * @param {string} url + * @returns {number} + */ +const isHexDigit = charCode => charCode >= 48 && charCode <= 57 || charCode >= 65 && charCode <= 70 || charCode >= 97 && charCode <= 102; +const isPercentEncodedByte = (str, i, len) => i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2)); +function estimateDataURLDecodedBytes(url) { + if (!url || typeof url !== 'string') return 0; + if (!url.startsWith('data:')) return 0; + const comma = url.indexOf(','); + if (comma < 0) return 0; + const meta = url.slice(5, comma); + const body = url.slice(comma + 1); + const isBase64 = /;base64/i.test(meta); + if (isBase64) { + let effectiveLen = body.length; + const len = body.length; // cache length + + for (let i = 0; i < len; i++) { + if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) { + const a = body.charCodeAt(i + 1); + const b = body.charCodeAt(i + 2); + const isHex = isHexDigit(a) && isHexDigit(b); + if (isHex) { + effectiveLen -= 2; + i += 2; + } + } + } + let pad = 0; + let idx = len - 1; + const tailIsPct3D = j => j >= 2 && body.charCodeAt(j - 2) === 37 && + // '%' + body.charCodeAt(j - 1) === 51 && ( + // '3' + body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd' + + if (idx >= 0) { + if (body.charCodeAt(idx) === 61 /* '=' */) { + pad++; + idx--; + } else if (tailIsPct3D(idx)) { + pad++; + idx -= 3; + } + } + if (pad === 1 && idx >= 0) { + if (body.charCodeAt(idx) === 61 /* '=' */) { + pad++; + } else if (tailIsPct3D(idx)) { + pad++; + } + } + const groups = Math.floor(effectiveLen / 4); + const bytes = groups * 3 - (pad || 0); + return bytes > 0 ? bytes : 0; + } + + // Compute UTF-8 byte length directly from UTF-16 code units without allocating + // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies). + // Valid %XX triplets count as one decoded byte; this matches the bytes that + // decodeURIComponent(body) would produce before Buffer re-encodes the string. + let bytes = 0; + for (let i = 0, len = body.length; i < len; i++) { + const c = body.charCodeAt(i); + if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) { + bytes += 1; + i += 2; + } else if (c < 0x80) { + bytes += 1; + } else if (c < 0x800) { + bytes += 2; + } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) { + const next = body.charCodeAt(i + 1); + if (next >= 0xdc00 && next <= 0xdfff) { + bytes += 4; + i++; + } else { + bytes += 3; + } + } else { + bytes += 3; + } + } + return bytes; +} + +const zlibOptions = { + flush: zlib.constants.Z_SYNC_FLUSH, + finishFlush: zlib.constants.Z_SYNC_FLUSH +}; +const brotliOptions = { + flush: zlib.constants.BROTLI_OPERATION_FLUSH, + finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH +}; +const zstdOptions = { + flush: zlib.constants.ZSTD_e_flush, + finishFlush: zlib.constants.ZSTD_e_flush +}; +const isBrotliSupported = utils$1.isFunction(zlib.createBrotliDecompress); +const isZstdSupported = utils$1.isFunction(zlib.createZstdDecompress); +const ACCEPT_ENCODING = 'gzip, compress, deflate' + (isBrotliSupported ? ', br' : ''); +const ACCEPT_ENCODING_WITH_ZSTD = ACCEPT_ENCODING + (isZstdSupported ? ', zstd' : ''); +const { + http: httpFollow, + https: httpsFollow +} = followRedirects; +const isHttps = /https:?/; +const FORM_DATA_CONTENT_HEADERS$1 = ['content-type', 'content-length']; +function setFormDataHeaders$1(headers, formHeaders, policy) { + if (policy !== 'content-only') { + headers.set(formHeaders); + return; + } + Object.entries(formHeaders).forEach(([key, val]) => { + if (FORM_DATA_CONTENT_HEADERS$1.includes(key.toLowerCase())) { + headers.set(key, val); + } + }); +} + +// Symbols used to bind a single 'error' listener to a pooled socket and track +// the request currently owning that socket across keep-alive reuse (issue #10780). +const kAxiosSocketListener = Symbol('axios.http.socketListener'); +const kAxiosCurrentReq = Symbol('axios.http.currentReq'); + +// Tags HttpsProxyAgent instances installed by setProxy() so the redirect path +// can strip them without clobbering a user-supplied agent that happens to be +// an HttpsProxyAgent. +const kAxiosInstalledTunnel = Symbol('axios.http.installedTunnel'); + +// Cache of CONNECT-tunneling agents keyed by proxy config so repeat requests +// through the same proxy reuse a single agent (and its socket pool). The +// keyspace is bounded by the set of distinct proxy configs the process uses, +// so unbounded growth is not a concern in practice. +const tunnelingAgentCache = new Map(); +const tunnelingAgentCacheUser = new WeakMap(); +// Minimum minor versions where Node's HTTP Agent supports native proxyEnv +// handling. Checking the selected agent below also covers startup modes such +// as NODE_OPTIONS=--use-env-proxy and --no-use-env-proxy precedence. +const NODE_NATIVE_ENV_PROXY_SUPPORT = { + 22: 21, + 24: 5 +}; +function isNodeNativeEnvProxySupported(nodeVersion = process.versions && process.versions.node) { + if (!nodeVersion) { + return false; + } + const [major, minor] = nodeVersion.split('.').map(part => Number(part)); + if (!Number.isInteger(major) || !Number.isInteger(minor)) { + return false; + } + if (major > 24) { + return true; + } + return NODE_NATIVE_ENV_PROXY_SUPPORT[major] != null && minor >= NODE_NATIVE_ENV_PROXY_SUPPORT[major]; +} +function isNodeEnvProxyEnabled(agent, nodeVersion = process.versions && process.versions.node) { + if (!isNodeNativeEnvProxySupported(nodeVersion)) { + return false; + } + const agentOptions = agent && agent.options; + return Boolean(agentOptions && utils$1.hasOwnProp(agentOptions, 'proxyEnv') && agentOptions.proxyEnv != null); +} +function getProxyEnvAgent(options, configHttpAgent, configHttpsAgent) { + return isHttps.test(options.protocol) ? configHttpsAgent || https.globalAgent : configHttpAgent || http.globalAgent; +} +function getTunnelingAgent(agentOptions, userHttpsAgent) { + const key = agentOptions.protocol + '//' + agentOptions.hostname + ':' + (agentOptions.port || '') + '#' + (agentOptions.auth || ''); + const cache = userHttpsAgent ? tunnelingAgentCacheUser.get(userHttpsAgent) || tunnelingAgentCacheUser.set(userHttpsAgent, new Map()).get(userHttpsAgent) : tunnelingAgentCache; + let agent = cache.get(key); + if (agent) return agent; + // Forward the user's TLS options (custom CA, rejectUnauthorized, client cert, + // etc.) into the tunneling agent so they apply to the origin TLS upgrade + // performed after CONNECT. Our proxy fields take precedence on conflict. + const merged = userHttpsAgent && userHttpsAgent.options ? { + ...userHttpsAgent.options, + ...agentOptions + } : agentOptions; + agent = new HttpsProxyAgent(merged); + if (userHttpsAgent && userHttpsAgent.options) { + const originTLSOptions = { + ...userHttpsAgent.options + }; + const callback = agent.callback; + agent.callback = function axiosTunnelingAgentCallback(req, opts) { + // HttpsProxyAgent v5 reads callback opts for the post-CONNECT origin TLS upgrade. + return callback.call(this, req, { + ...originTLSOptions, + ...opts + }); + }; + } + agent[kAxiosInstalledTunnel] = true; + cache.set(key, agent); + return agent; +} +const supportedProtocols = platform.protocols.map(protocol => { + return protocol + ':'; +}); + +// Node's WHATWG URL parser returns `username` and `password` percent-encoded. +// Decode before composing the `auth` option so credentials such as +// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the +// original value for malformed input so a bad encoding never throws. +const decodeURIComponentSafe$1 = value => { + if (!utils$1.isString(value)) { + return value; + } + try { + return decodeURIComponent(value); + } catch (error) { + return value; + } +}; +const flushOnFinish = (stream, [throttled, flush]) => { + stream.on('end', flush).on('error', flush); + return throttled; +}; +const http2Sessions = new Http2Sessions(); + +/** + * If the proxy, auth, sensitive header, or config beforeRedirects functions are defined, + * call them with the options object. + * + * @param {Object} options - The options object that was passed to the request. + * + * @returns {Object} + */ +function dispatchBeforeRedirect(options, responseDetails, requestDetails) { + if (options.beforeRedirects.proxy) { + options.beforeRedirects.proxy(options); + } + if (options.beforeRedirects.auth) { + options.beforeRedirects.auth(options); + } + if (options.beforeRedirects.sensitiveHeaders) { + options.beforeRedirects.sensitiveHeaders(options, requestDetails); + } + if (options.beforeRedirects.config) { + options.beforeRedirects.config(options, responseDetails, requestDetails); + } +} +function stripMatchingHeaders(headers, sensitiveSet) { + if (!headers) { + return; + } + Object.keys(headers).forEach(header => { + if (sensitiveSet.has(header.toLowerCase())) { + delete headers[header]; + } + }); +} +function isSameOriginRedirect(redirectOptions, requestDetails) { + if (!requestDetails) { + return false; + } + try { + return new URL(requestDetails.url).origin === new URL(redirectOptions.href).origin; + } catch (e) { + // If origin comparison fails, treat the redirect as unsafe. + return false; + } +} + +/** + * If the proxy or config afterRedirects functions are defined, call them with the options + * + * @param {http.ClientRequestArgs} options + * @param {AxiosProxyConfig} configProxy configuration from Axios options object + * @param {string} location + * + * @returns {http.ClientRequestArgs} + */ +function setProxy(options, configProxy, location, isRedirect, configHttpsAgent, configHttpAgent) { + let proxy = configProxy; + const proxyEnvAgent = getProxyEnvAgent(options, configHttpAgent, configHttpsAgent); + if (!proxy && proxy !== false && !isNodeEnvProxyEnabled(proxyEnvAgent)) { + const proxyUrl = getProxyForUrl(location); + if (proxyUrl) { + if (!shouldBypassProxy(location)) { + proxy = new URL(proxyUrl); + } + } + } + // On redirect re-invocation, strip any stale Proxy-Authorization header carried + // over from the prior request (e.g. new target no longer uses a proxy, or uses + // a different proxy). Skip on the initial request so user-supplied headers are + // preserved. Header names are case-insensitive, so remove every case variant. + if (isRedirect && options.headers) { + for (const name of Object.keys(options.headers)) { + if (name.toLowerCase() === 'proxy-authorization') { + delete options.headers[name]; + } + } + } + // Strip any tunneling agent we installed for the previous hop so a redirect + // that drops the proxy or crosses an HTTPS↔HTTP boundary doesn't reuse a + // stale one. Match on our Symbol marker so a user-supplied HttpsProxyAgent + // (which won't carry the marker) is left alone. + if (isRedirect && options.agent && options.agent[kAxiosInstalledTunnel]) { + options.agent = undefined; + } + if (proxy) { + // Read proxy fields without traversing the prototype chain. URL instances expose + // username/password/hostname/host/port/protocol via getters on URL.prototype (so + // direct reads are shielded), but plain object proxies — and the `auth` field + // (which URL does not expose) — must be guarded so a polluted Object.prototype + // (e.g. Object.prototype.auth = { username, password }) cannot inject + // attacker-controlled credentials into the Proxy-Authorization header or + // redirect proxying to an attacker-controlled host. + const isProxyURL = proxy instanceof URL; + const readProxyField = key => isProxyURL || utils$1.hasOwnProp(proxy, key) ? proxy[key] : undefined; + const proxyUsername = readProxyField('username'); + const proxyPassword = readProxyField('password'); + let proxyAuth = utils$1.hasOwnProp(proxy, 'auth') ? proxy.auth : undefined; + + // Basic proxy authorization + if (proxyUsername) { + proxyAuth = (proxyUsername || '') + ':' + (proxyPassword || ''); + } + if (proxyAuth) { + // Support proxy auth object form. Read sub-fields via own-prop checks so a + // plain object inheriting from polluted Object.prototype cannot leak creds. + const authIsObject = typeof proxyAuth === 'object'; + const authUsername = authIsObject && utils$1.hasOwnProp(proxyAuth, 'username') ? proxyAuth.username : undefined; + const authPassword = authIsObject && utils$1.hasOwnProp(proxyAuth, 'password') ? proxyAuth.password : undefined; + const validProxyAuth = Boolean(authUsername || authPassword); + if (validProxyAuth) { + proxyAuth = (authUsername || '') + ':' + (authPassword || ''); + } else if (authIsObject) { + throw new AxiosError('Invalid proxy authorization', AxiosError.ERR_BAD_OPTION, { + proxy + }); + } + } + const targetIsHttps = isHttps.test(options.protocol); + if (targetIsHttps) { + // CONNECT-tunneling path for HTTPS targets. Preserves end-to-end TLS to + // the origin so the proxy cannot inspect the URL, headers, or body — the + // behavior already promised by THREATMODEL.md (T-R9). HttpsProxyAgent + // sends Proxy-Authorization on the CONNECT request only, never on the + // wrapped TLS request, which is why we don't stamp it onto + // options.headers here. If the user already supplied an HttpsProxyAgent, + // they own tunneling end-to-end and we leave them alone; otherwise we + // install our own tunneling agent and forward their TLS options (if any) + // so a custom httpsAgent for cert pinning / rejectUnauthorized still + // applies to the origin TLS upgrade. + if (!(configHttpsAgent instanceof HttpsProxyAgent)) { + const proxyHost = readProxyField('hostname') || readProxyField('host'); + const proxyPort = readProxyField('port'); + const rawProxyProtocol = readProxyField('protocol'); + const normalizedProtocol = rawProxyProtocol ? rawProxyProtocol.includes(':') ? rawProxyProtocol : `${rawProxyProtocol}:` : 'http:'; + // Bracket IPv6 literals for URL parsing; URL.hostname strips the + // brackets again on read so the agent receives the raw form. + const proxyHostForURL = proxyHost && proxyHost.includes(':') && !proxyHost.startsWith('[') ? `[${proxyHost}]` : proxyHost; + const proxyURL = new URL(`${normalizedProtocol}//${proxyHostForURL}${proxyPort ? ':' + proxyPort : ''}`); + const agentOptions = { + protocol: proxyURL.protocol, + hostname: proxyURL.hostname.replace(/^\[|\]$/g, ''), + port: proxyURL.port, + auth: proxyAuth && typeof proxyAuth === 'string' ? proxyAuth : undefined + }; + if (proxyURL.protocol === 'https:') { + agentOptions.ALPNProtocols = ['http/1.1']; + } + const tunnelingAgent = getTunnelingAgent(agentOptions, configHttpsAgent); + // Set both: `options.agent` is consumed by the native https.request path + // (maxRedirects === 0); `options.agents.https` is consumed by + // follow-redirects, which ignores `options.agent` when `options.agents` + // is present. + options.agent = tunnelingAgent; + if (options.agents) { + options.agents.https = tunnelingAgent; + } + } + } else { + // Forward-proxy mode for plaintext HTTP targets. The request line carries + // the absolute URL and the proxy sees everything — acceptable for plain + // HTTP since the wire was already plaintext. + if (proxyAuth) { + const base64 = Buffer.from(proxyAuth, 'utf8').toString('base64'); + options.headers['Proxy-Authorization'] = 'Basic ' + base64; + } + + // Preserve a user-supplied Host header (case-insensitive) so callers can override + // the value forwarded to the proxy; otherwise default to the request URL's host. + let hasUserHostHeader = false; + for (const name of Object.keys(options.headers)) { + if (name.toLowerCase() === 'host') { + hasUserHostHeader = true; + break; + } + } + if (!hasUserHostHeader) { + options.headers.host = options.hostname + (options.port ? ':' + options.port : ''); + } + const proxyHost = readProxyField('hostname') || readProxyField('host'); + options.hostname = proxyHost; + // Replace 'host' since options is not a URL object + options.host = proxyHost; + options.port = readProxyField('port'); + options.path = location; + const proxyProtocol = readProxyField('protocol'); + if (proxyProtocol) { + options.protocol = proxyProtocol.includes(':') ? proxyProtocol : `${proxyProtocol}:`; + } + } + } + options.beforeRedirects.proxy = function beforeRedirect(redirectOptions) { + // Configure proxy for redirected request, passing the original config proxy to apply + // the exact same logic as if the redirected request was performed by axios directly. + setProxy(redirectOptions, configProxy, redirectOptions.href, true, configHttpsAgent, configHttpAgent); + }; +} +const isHttpAdapterSupported = typeof process !== 'undefined' && utils$1.kindOf(process) === 'process'; + +// temporary hotfix + +const wrapAsync = asyncExecutor => { + return new Promise((resolve, reject) => { + let onDone; + let isDone; + const done = (value, isRejected) => { + if (isDone) return; + isDone = true; + onDone && onDone(value, isRejected); + }; + const _resolve = value => { + done(value); + resolve(value); + }; + const _reject = reason => { + done(reason, true); + reject(reason); + }; + asyncExecutor(_resolve, _reject, onDoneHandler => onDone = onDoneHandler).catch(_reject); + }); +}; +const resolveFamily = ({ + address, + family +}) => { + if (!utils$1.isString(address)) { + throw TypeError('address must be a string'); + } + return { + address, + family: family || (address.indexOf('.') < 0 ? 6 : 4) + }; +}; +const buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : { + address, + family +}); +const http2Transport = { + request(options, cb) { + const authority = options.protocol + '//' + options.hostname + ':' + (options.port || (options.protocol === 'https:' ? 443 : 80)); + const { + http2Options, + headers + } = options; + const session = http2Sessions.getSession(authority, http2Options); + const { + HTTP2_HEADER_SCHEME, + HTTP2_HEADER_METHOD, + HTTP2_HEADER_PATH, + HTTP2_HEADER_STATUS + } = http2.constants; + const http2Headers = { + [HTTP2_HEADER_SCHEME]: options.protocol.replace(':', ''), + [HTTP2_HEADER_METHOD]: options.method, + [HTTP2_HEADER_PATH]: options.path + }; + utils$1.forEach(headers, (header, name) => { + name.charAt(0) !== ':' && (http2Headers[name] = header); + }); + const req = session.request(http2Headers); + req.once('response', responseHeaders => { + const response = req; //duplex + + responseHeaders = Object.assign({}, responseHeaders); + const status = responseHeaders[HTTP2_HEADER_STATUS]; + delete responseHeaders[HTTP2_HEADER_STATUS]; + response.headers = responseHeaders; + response.statusCode = +status; + cb(response); + }); + return req; + } +}; + +/*eslint consistent-return:0*/ +var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) { + return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) { + // Read config pollution-safely: own properties and members inherited from + // a non-Object.prototype source (e.g. an Object.create(defaults) template) + // are honored, but values injected onto a polluted Object.prototype are + // ignored. All behavior-affecting reads in this adapter go through own() + // so the protection boundary stays consistent. + const own = key => utils$1.getSafeProp(config, key); + const transitional = own('transitional') || transitionalDefaults; + let data = own('data'); + let lookup = own('lookup'); + let family = own('family'); + let httpVersion = own('httpVersion'); + if (httpVersion === undefined) httpVersion = 1; + let http2Options = own('http2Options'); + const httpAgent = own('httpAgent'); + const httpsAgent = own('httpsAgent'); + const configProxy = own('proxy'); + const responseType = own('responseType'); + const responseEncoding = own('responseEncoding'); + const socketPath = own('socketPath'); + const method = own('method').toUpperCase(); + const maxRedirects = own('maxRedirects'); + const maxBodyLength = own('maxBodyLength'); + const maxContentLength = own('maxContentLength'); + const decompress = own('decompress'); + let isDone; + let rejected = false; + let req; + let connectPhaseTimer; + httpVersion = +httpVersion; + if (Number.isNaN(httpVersion)) { + throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`); + } + if (httpVersion !== 1 && httpVersion !== 2) { + throw TypeError(`Unsupported protocol version '${httpVersion}'`); + } + const isHttp2 = httpVersion === 2; + if (lookup) { + const _lookup = callbackify(lookup, value => utils$1.isArray(value) ? value : [value]); + // hotfix to support opt.all option which is required for node 20.x + lookup = (hostname, opt, cb) => { + _lookup(hostname, opt, (err, arg0, arg1) => { + if (err) { + return cb(err); + } + const addresses = utils$1.isArray(arg0) ? arg0.map(addr => buildAddressEntry(addr)) : [buildAddressEntry(arg0, arg1)]; + opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family); + }); + }; + } + const abortEmitter = new events.EventEmitter(); + function abort(reason) { + try { + abortEmitter.emit('abort', !reason || reason.type ? new CanceledError(null, config, req) : reason); + } catch (err) { + // ignore emit errors + } + } + function clearConnectPhaseTimer() { + if (connectPhaseTimer) { + clearTimeout(connectPhaseTimer); + connectPhaseTimer = null; + } + } + function createTimeoutError() { + const configTimeout = own('timeout'); + let timeoutErrorMessage = configTimeout ? 'timeout of ' + configTimeout + 'ms exceeded' : 'timeout exceeded'; + const configTimeoutErrorMessage = own('timeoutErrorMessage'); + if (configTimeoutErrorMessage) { + timeoutErrorMessage = configTimeoutErrorMessage; + } + return new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, req); + } + abortEmitter.once('abort', reject); + const onFinished = () => { + clearConnectPhaseTimer(); + if (config.cancelToken) { + config.cancelToken.unsubscribe(abort); + } + if (config.signal) { + config.signal.removeEventListener('abort', abort); + } + abortEmitter.removeAllListeners(); + }; + if (config.cancelToken || config.signal) { + config.cancelToken && config.cancelToken.subscribe(abort); + if (config.signal) { + config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort); + } + } + onDone((response, isRejected) => { + isDone = true; + clearConnectPhaseTimer(); + if (isRejected) { + rejected = true; + onFinished(); + return; + } + const { + data + } = response; + if (data instanceof stream.Readable || data instanceof stream.Duplex) { + const offListeners = stream.finished(data, () => { + offListeners(); + onFinished(); + }); + } else { + onFinished(); + } + }); + + // Parse url + const fullPath = buildFullPath(own('baseURL'), own('url'), own('allowAbsoluteUrls'), config); + // Unix-socket requests (own socketPath) commonly pass a path-only url + // like '/foo'; supply a synthetic base so new URL() can still parse it. + // Use the own-property value (not config.socketPath) so a polluted + // prototype cannot influence URL base selection. + const urlBase = socketPath ? 'http://localhost' : platform.hasBrowserEnv ? platform.origin : undefined; + const parsed = new URL(fullPath, urlBase); + const protocol = parsed.protocol || supportedProtocols[0]; + if (protocol === 'data:') { + // Apply the same semantics as HTTP: only enforce if a finite, non-negative cap is set. + if (maxContentLength > -1) { + // Use the exact string passed to fromDataURI (the configured url); fall back to fullPath if needed. + const dataUrl = String(own('url') || fullPath || ''); + const estimated = estimateDataURLDecodedBytes(dataUrl); + if (estimated > maxContentLength) { + return reject(new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config)); + } + } + let convertedData; + if (method !== 'GET') { + return settle(resolve, reject, { + status: 405, + statusText: 'method not allowed', + headers: {}, + config + }); + } + try { + convertedData = fromDataURI(own('url'), responseType === 'blob', { + Blob: config.env && config.env.Blob + }); + } catch (err) { + throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config); + } + if (responseType === 'text') { + convertedData = convertedData.toString(responseEncoding); + if (!responseEncoding || responseEncoding === 'utf8') { + convertedData = utils$1.stripBOM(convertedData); + } + } else if (responseType === 'stream') { + convertedData = stream.Readable.from(convertedData); + } + return settle(resolve, reject, { + data: convertedData, + status: 200, + statusText: 'OK', + headers: new AxiosHeaders(), + config + }); + } + if (supportedProtocols.indexOf(protocol) === -1) { + return reject(new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_BAD_REQUEST, config)); + } + const headers = AxiosHeaders.from(config.headers).normalize(); + + // Set User-Agent (required by some servers) + // See https://github.com/axios/axios/issues/69 + // User-Agent is specified; handle case where no UA header is desired + // Only set header if it hasn't been set in config + headers.set('User-Agent', 'axios/' + VERSION, false); + const { + onUploadProgress, + onDownloadProgress + } = config; + const maxRate = config.maxRate; + let maxUploadRate = undefined; + let maxDownloadRate = undefined; + + // support for spec compliant FormData objects + if (utils$1.isSpecCompliantForm(data)) { + const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i); + data = formDataToStream(data, formHeaders => { + headers.set(formHeaders); + }, { + tag: `axios-${VERSION}-boundary`, + boundary: userBoundary && userBoundary[1] || undefined + }); + // support for https://www.npmjs.com/package/form-data api + } else if (utils$1.isFormData(data) && utils$1.isFunction(data.getHeaders) && data.getHeaders !== Object.prototype.getHeaders) { + setFormDataHeaders$1(headers, data.getHeaders(), own('formDataHeaderPolicy')); + if (!headers.hasContentLength()) { + try { + const knownLength = await util.promisify(data.getLength).call(data); + Number.isFinite(knownLength) && knownLength >= 0 && headers.setContentLength(knownLength); + /*eslint no-empty:0*/ + } catch (e) {} + } + } else if (utils$1.isBlob(data) || utils$1.isFile(data)) { + data.size && headers.setContentType(data.type || 'application/octet-stream'); + headers.setContentLength(data.size || 0); + data = stream.Readable.from(readBlob(data)); + } else if (data && !utils$1.isStream(data)) { + if (Buffer.isBuffer(data)) ; else if (utils$1.isArrayBuffer(data)) { + data = Buffer.from(new Uint8Array(data)); + } else if (utils$1.isString(data)) { + data = Buffer.from(data, 'utf-8'); + } else { + return reject(new AxiosError('Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream', AxiosError.ERR_BAD_REQUEST, config)); + } + + // Add Content-Length header if data exists + headers.setContentLength(data.length, false); + if (maxBodyLength > -1 && data.length > maxBodyLength) { + return reject(new AxiosError('Request body larger than maxBodyLength limit', AxiosError.ERR_BAD_REQUEST, config)); + } + } + const contentLength = utils$1.toFiniteNumber(headers.getContentLength()); + if (utils$1.isArray(maxRate)) { + maxUploadRate = maxRate[0]; + maxDownloadRate = maxRate[1]; + } else { + maxUploadRate = maxDownloadRate = maxRate; + } + if (data && (onUploadProgress || maxUploadRate)) { + if (!utils$1.isStream(data)) { + data = stream.Readable.from(data, { + objectMode: false + }); + } + data = stream.pipeline([data, new AxiosTransformStream({ + maxRate: utils$1.toFiniteNumber(maxUploadRate) + })], utils$1.noop); + onUploadProgress && data.on('progress', flushOnFinish(data, progressEventDecorator(contentLength, progressEventReducer(asyncDecorator(onUploadProgress), false, 3)))); + } + + // HTTP basic authentication + let auth = undefined; + const configAuth = own('auth'); + if (configAuth) { + const username = utils$1.getSafeProp(configAuth, 'username') || ''; + const password = utils$1.getSafeProp(configAuth, 'password') || ''; + auth = username + ':' + password; + } + if (!auth && (parsed.username || parsed.password)) { + const urlUsername = decodeURIComponentSafe$1(parsed.username); + const urlPassword = decodeURIComponentSafe$1(parsed.password); + auth = urlUsername + ':' + urlPassword; + } + auth && headers.delete('authorization'); + let path$1; + try { + path$1 = buildURL(parsed.pathname + parsed.search, own('params'), own('paramsSerializer')).replace(/^\?/, ''); + } catch (err) { + return reject(AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config, null, null, { + url: own('url'), + exists: true + })); + } + headers.set('Accept-Encoding', utils$1.hasOwnProp(transitional, 'advertiseZstdAcceptEncoding') && transitional.advertiseZstdAcceptEncoding === true ? ACCEPT_ENCODING_WITH_ZSTD : ACCEPT_ENCODING, false); + + // Null-prototype to block prototype pollution gadgets on properties read + // directly by Node's http.request (e.g. insecureHTTPParser, lookup). + const options = Object.assign(Object.create(null), { + path: path$1, + method: method, + headers: toByteStringHeaderObject(headers), + agents: { + http: httpAgent, + https: httpsAgent + }, + auth, + protocol, + family, + beforeRedirect: dispatchBeforeRedirect, + beforeRedirects: Object.create(null), + http2Options + }); + + // cacheable-lookup integration hotfix + !utils$1.isUndefined(lookup) && (options.lookup = lookup); + if (socketPath) { + if (typeof socketPath !== 'string') { + return reject(new AxiosError('socketPath must be a string', AxiosError.ERR_BAD_OPTION_VALUE, config)); + } + const allowedSocketPaths = own('allowedSocketPaths'); + if (allowedSocketPaths != null) { + const allowed = Array.isArray(allowedSocketPaths) ? allowedSocketPaths : [allowedSocketPaths]; + const resolvedSocket = path.resolve(socketPath); + const isAllowed = allowed.some(entry => typeof entry === 'string' && path.resolve(entry) === resolvedSocket); + if (!isAllowed) { + return reject(new AxiosError(`socketPath "${socketPath}" is not permitted by allowedSocketPaths`, AxiosError.ERR_BAD_OPTION_VALUE, config)); + } + } + options.socketPath = socketPath; + } else { + options.hostname = parsed.hostname.startsWith('[') ? parsed.hostname.slice(1, -1) : parsed.hostname; + options.port = parsed.port; + setProxy(options, configProxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path, false, httpsAgent, httpAgent); + } + let transport; + let isNativeTransport = false; + // True only for the follow-redirects transport, which applies + // options.maxBodyLength itself. Every other transport (http2, native + // http/https, a user-supplied custom transport) needs the explicit + // byte-counting pipeline below to enforce maxBodyLength on streamed uploads. + let transportEnforcesMaxBodyLength = false; + const isHttpsRequest = isHttps.test(options.protocol); + // Don't clobber a CONNECT-tunneling agent installed by setProxy() for an + // HTTPS target. + if (options.agent == null) { + options.agent = isHttpsRequest ? httpsAgent : httpAgent; + } + if (isHttp2) { + transport = http2Transport; + } else { + const configTransport = own('transport'); + if (configTransport) { + transport = configTransport; + } else if (maxRedirects === 0) { + transport = isHttpsRequest ? https : http; + isNativeTransport = true; + } else { + transportEnforcesMaxBodyLength = true; + options.sensitiveHeaders = []; + if (maxRedirects) { + options.maxRedirects = maxRedirects; + } + const configBeforeRedirect = own('beforeRedirect'); + if (configBeforeRedirect) { + options.beforeRedirects.config = configBeforeRedirect; + } + if (auth) { + // Restore HTTP Basic credentials on same-origin redirects only. + // follow-redirects >= 1.15.8 strips Authorization on every redirect (see #6929); + // cross-origin stripping is the documented mitigation for T-R2 in THREATMODEL.md + // and is preserved by deliberately not restoring on origin change. + const requestOrigin = parsed.origin; + const authToRestore = auth; + options.beforeRedirects.auth = function beforeRedirectAuth(redirectOptions) { + try { + if (new URL(redirectOptions.href).origin === requestOrigin) { + redirectOptions.auth = authToRestore; + } + } catch (e) { + // ignore malformed URL: leaving auth stripped is fail-safe + } + }; + } + const sensitiveHeaders = own('sensitiveHeaders'); + if (sensitiveHeaders != null) { + if (!utils$1.isArray(sensitiveHeaders)) { + return reject(new AxiosError('sensitiveHeaders must be an array of strings', AxiosError.ERR_BAD_OPTION_VALUE, config)); + } + const sensitiveSet = new Set(); + for (const header of sensitiveHeaders) { + if (!utils$1.isString(header)) { + return reject(new AxiosError('sensitiveHeaders must be an array of strings', AxiosError.ERR_BAD_OPTION_VALUE, config)); + } + sensitiveSet.add(header.toLowerCase()); + } + if (sensitiveSet.size) { + options.sensitiveHeaders = Array.from(sensitiveSet); + options.beforeRedirects.sensitiveHeaders = function beforeRedirectSensitiveHeaders(redirectOptions, requestDetails) { + if (!isSameOriginRedirect(redirectOptions, requestDetails)) { + stripMatchingHeaders(redirectOptions.headers, sensitiveSet); + } + }; + } + } + transport = isHttpsRequest ? httpsFollow : httpFollow; + } + } + + // Set an explicit maxBodyLength option for transports that inspect it. + // When maxBodyLength is -1 (default/unlimited), use Infinity so + // follow-redirects does not fall back to its own 10MB default. + if (maxBodyLength > -1) { + options.maxBodyLength = maxBodyLength; + } else { + options.maxBodyLength = Infinity; + } + + // Always set an explicit own value so a polluted + // Object.prototype.insecureHTTPParser cannot enable the lenient parser + // through Node's internal options copy + options.insecureHTTPParser = Boolean(own('insecureHTTPParser')); + + // Create the request + req = transport.request(options, function handleResponse(res) { + clearConnectPhaseTimer(); + if (req.destroyed) return; + const streams = [res]; + const responseLength = utils$1.toFiniteNumber(res.headers['content-length']); + if (onDownloadProgress || maxDownloadRate) { + const transformStream = new AxiosTransformStream({ + maxRate: utils$1.toFiniteNumber(maxDownloadRate) + }); + onDownloadProgress && transformStream.on('progress', flushOnFinish(transformStream, progressEventDecorator(responseLength, progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)))); + streams.push(transformStream); + } + + // decompress the response body transparently if required + let responseStream = res; + + // return the last request in case of redirects + const lastRequest = res.req || req; + + // if decompress disabled we should not decompress + if (decompress !== false && res.headers['content-encoding']) { + // if no content, but headers still say that it is encoded, + // remove the header not confuse downstream operations + if (method === 'HEAD' || res.statusCode === 204) { + delete res.headers['content-encoding']; + } + switch ((res.headers['content-encoding'] || '').toLowerCase()) { + /*eslint default-case:0*/ + case 'gzip': + case 'x-gzip': + case 'compress': + case 'x-compress': + // add the unzipper to the body stream processing pipeline + streams.push(zlib.createUnzip(zlibOptions)); + + // remove the content-encoding in order to not confuse downstream operations + delete res.headers['content-encoding']; + break; + case 'deflate': + streams.push(new ZlibHeaderTransformStream()); + + // add the unzipper to the body stream processing pipeline + streams.push(zlib.createUnzip(zlibOptions)); + + // remove the content-encoding in order to not confuse downstream operations + delete res.headers['content-encoding']; + break; + case 'br': + if (isBrotliSupported) { + streams.push(zlib.createBrotliDecompress(brotliOptions)); + delete res.headers['content-encoding']; + } + break; + case 'zstd': + if (isZstdSupported) { + streams.push(zlib.createZstdDecompress(zstdOptions)); + delete res.headers['content-encoding']; + } + break; + } + } + responseStream = streams.length > 1 ? stream.pipeline(streams, utils$1.noop) : streams[0]; + const response = { + status: res.statusCode, + statusText: res.statusMessage, + headers: new AxiosHeaders(res.headers), + config, + request: lastRequest + }; + if (responseType === 'stream') { + // Enforce maxContentLength on streamed responses; previously this + // was applied only to buffered responses. + if (maxContentLength > -1) { + const limit = maxContentLength; + const source = responseStream; + async function* enforceMaxContentLength() { + let totalResponseBytes = 0; + for await (const chunk of source) { + totalResponseBytes += chunk.length; + if (totalResponseBytes > limit) { + throw new AxiosError('maxContentLength size of ' + limit + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, lastRequest); + } + yield chunk; + } + } + responseStream = stream.Readable.from(enforceMaxContentLength(), { + objectMode: false + }); + } + response.data = responseStream; + settle(resolve, reject, response); + } else { + const responseBuffer = []; + let totalResponseBytes = 0; + responseStream.on('data', function handleStreamData(chunk) { + responseBuffer.push(chunk); + totalResponseBytes += chunk.length; + + // make sure the content length is not over the maxContentLength if specified + if (maxContentLength > -1 && totalResponseBytes > maxContentLength) { + // stream.destroy() emit aborted event before calling reject() on Node.js v16 + rejected = true; + responseStream.destroy(); + abort(new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, lastRequest)); + } + }); + responseStream.on('aborted', function handlerStreamAborted() { + if (rejected) { + return; + } + const err = new AxiosError('stream has been aborted', AxiosError.ERR_BAD_RESPONSE, config, lastRequest, response); + responseStream.destroy(err); + reject(err); + }); + responseStream.on('error', function handleStreamError(err) { + if (rejected) return; + reject(AxiosError.from(err, null, config, lastRequest, response)); + }); + responseStream.on('end', function handleStreamEnd() { + try { + let responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer); + if (responseType !== 'arraybuffer') { + responseData = responseData.toString(responseEncoding); + if (!responseEncoding || responseEncoding === 'utf8') { + responseData = utils$1.stripBOM(responseData); + } + } + response.data = responseData; + } catch (err) { + return reject(AxiosError.from(err, null, config, response.request, response)); + } + settle(resolve, reject, response); + }); + } + abortEmitter.once('abort', err => { + if (!responseStream.destroyed) { + responseStream.emit('error', err); + responseStream.destroy(); + } + }); + }); + abortEmitter.once('abort', err => { + if (req.close) { + req.close(); + } else { + req.destroy(err); + } + }); + + // Handle errors + req.on('error', function handleRequestError(err) { + reject(AxiosError.from(err, null, config, req)); + }); + + // set tcp keep alive to prevent drop connection by peer + // Track every socket bound to this outer RedirectableRequest so a single + // 'close' listener can release ownership on all of them. follow-redirects + // re-emits the 'socket' event for each hop's native request onto the same + // outer request, so attaching per-request listeners inside this handler + // would accumulate across hops and trigger MaxListenersExceededWarning at + // >= 11 redirects. Clearing only the last-bound socket would leave stale + // kAxiosCurrentReq refs on earlier hop sockets returned to the keep-alive + // pool, causing an idle-pool 'error' to be attributed to a closed req. + const boundSockets = new Set(); + req.on('socket', function handleRequestSocket(socket) { + // default interval of sending ack packet is 1 minute + // proxy agents (e.g. agent-base) may return a generic Duplex stream + // that doesn't have setKeepAlive, so guard before calling + if (typeof socket.setKeepAlive === 'function') { + socket.setKeepAlive(true, 1000 * 60); + } + + // Install a single 'error' listener per socket (not per request) to avoid + // accumulating listeners on pooled keep-alive sockets that get reassigned + // to new requests before the previous request's 'close' fires (issue #10780). + // The listener is bound to the socket's currently-active request via a + // symbol, which is swapped as the socket is reassigned. + if (!socket[kAxiosSocketListener]) { + socket.on('error', function handleSocketError(err) { + const current = socket[kAxiosCurrentReq]; + if (current && !current.destroyed) { + current.destroy(err); + } + }); + socket[kAxiosSocketListener] = true; + } + socket[kAxiosCurrentReq] = req; + boundSockets.add(socket); + }); + req.once('close', function clearCurrentReq() { + clearConnectPhaseTimer(); + for (const socket of boundSockets) { + if (socket[kAxiosCurrentReq] === req) { + socket[kAxiosCurrentReq] = null; + } + } + boundSockets.clear(); + }); + + // Handle request timeout + if (own('timeout')) { + // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types. + const timeout = parseInt(own('timeout'), 10); + if (Number.isNaN(timeout)) { + abort(new AxiosError('error trying to parse `config.timeout` to int', AxiosError.ERR_BAD_OPTION_VALUE, config, req)); + return; + } + const handleTimeout = function handleTimeout() { + if (isDone) return; + abort(createTimeoutError()); + }; + if (isNativeTransport && timeout > 0) { + // Native ClientRequest#setTimeout starts from the socket lifecycle and + // may not fire while TCP connect is still pending. Mirror the + // follow-redirects wall-clock timer for the maxRedirects === 0 path. + connectPhaseTimer = setTimeout(handleTimeout, timeout); + } + + // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system. + // And timer callback will be fired, and abort() will be invoked before connection, then get "socket hang up" and code ECONNRESET. + // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up. + // And then these socket which be hang up will devouring CPU little by little. + // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect. + req.setTimeout(timeout, handleTimeout); + } else { + // explicitly reset the socket timeout value for a possible `keep-alive` request + req.setTimeout(0); + } + + // Send the request + if (utils$1.isStream(data)) { + let ended = false; + let errored = false; + data.on('end', () => { + ended = true; + }); + data.once('error', err => { + errored = true; + req.destroy(err); + }); + data.on('close', () => { + if (!ended && !errored) { + abort(new CanceledError('Request stream has been aborted', config, req)); + } + }); + + // Enforce maxBodyLength for streamed uploads on every transport that + // does not apply options.maxBodyLength itself (native http/https, http2, + // and user-supplied custom transports). The follow-redirects transport + // enforces it on the redirected HTTP/1 path. + let uploadStream = data; + if (maxBodyLength > -1 && !transportEnforcesMaxBodyLength) { + const limit = maxBodyLength; + let bytesSent = 0; + uploadStream = stream.pipeline([data, new stream.Transform({ + transform(chunk, _enc, cb) { + bytesSent += chunk.length; + if (bytesSent > limit) { + return cb(new AxiosError('Request body larger than maxBodyLength limit', AxiosError.ERR_BAD_REQUEST, config, req)); + } + cb(null, chunk); + } + })], utils$1.noop); + uploadStream.on('error', err => { + if (!req.destroyed) req.destroy(err); + }); + } + uploadStream.pipe(req); + } else { + data && req.write(data); + req.end(); + } + }); +}; + +var isURLSameOrigin = platform.hasStandardBrowserEnv ? ((origin, isMSIE) => url => { + url = new URL(url, platform.origin); + return origin.protocol === url.protocol && origin.host === url.host && (isMSIE || origin.port === url.port); +})(new URL(platform.origin), platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)) : () => true; + +var cookies = platform.hasStandardBrowserEnv ? +// Standard browser envs support document.cookie +{ + write(name, value, expires, path, domain, secure, sameSite) { + if (typeof document === 'undefined') return; + const cookie = [`${name}=${encodeURIComponent(value)}`]; + if (utils$1.isNumber(expires)) { + cookie.push(`expires=${new Date(expires).toUTCString()}`); + } + if (utils$1.isString(path)) { + cookie.push(`path=${path}`); + } + if (utils$1.isString(domain)) { + cookie.push(`domain=${domain}`); + } + if (secure === true) { + cookie.push('secure'); + } + if (utils$1.isString(sameSite)) { + cookie.push(`SameSite=${sameSite}`); + } + document.cookie = cookie.join('; '); + }, + read(name) { + if (typeof document === 'undefined') return null; + // Match name=value by splitting on the semicolon separator instead of building a + // RegExp from `name` — interpolating an unescaped string into a RegExp would let + // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or + // match the wrong cookie. Browsers may serialize cookie pairs as either ";" or + // "; ", so ignore optional whitespace before each cookie name. + const cookies = document.cookie.split(';'); + for (let i = 0; i < cookies.length; i++) { + const cookie = cookies[i].replace(/^\s+/, ''); + const eq = cookie.indexOf('='); + if (eq !== -1 && cookie.slice(0, eq) === name) { + try { + return decodeURIComponent(cookie.slice(eq + 1)); + } catch (e) { + return cookie.slice(eq + 1); + } + } + } + return null; + }, + remove(name) { + this.write(name, '', Date.now() - 86400000, '/'); + } +} : +// Non-standard browser env (web workers, react-native) lack needed support. +{ + write() {}, + read() { + return null; + }, + remove() {} +}; + +const headersToObject = thing => thing instanceof AxiosHeaders ? { + ...thing +} : thing; + +/** + * Config-specific merge-function which creates a new config-object + * by merging two configuration objects together. + * + * @param {Object} config1 + * @param {Object} config2 + * + * @returns {Object} New object resulting from merging config2 to config1 + */ +function mergeConfig(config1, config2) { + // eslint-disable-next-line no-param-reassign + config1 = config1 || {}; + config2 = config2 || {}; + + // Use a null-prototype object so that downstream reads such as `config.auth` + // or `config.baseURL` cannot inherit polluted values from Object.prototype. + // `hasOwnProperty` is restored as a non-enumerable own slot to preserve + // ergonomics for user code that relies on it. + const config = Object.create(null); + Object.defineProperty(config, 'hasOwnProperty', { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: Object.prototype.hasOwnProperty, + enumerable: false, + writable: true, + configurable: true + }); + function getMergedValue(target, source, prop, caseless) { + if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) { + return utils$1.merge.call({ + caseless + }, target, source); + } else if (utils$1.isPlainObject(source)) { + return utils$1.merge({}, source); + } else if (utils$1.isArray(source)) { + return source.slice(); + } + return source; + } + function mergeDeepProperties(a, b, prop, caseless) { + if (!utils$1.isUndefined(b)) { + return getMergedValue(a, b, prop, caseless); + } else if (!utils$1.isUndefined(a)) { + return getMergedValue(undefined, a, prop, caseless); + } + } + + // eslint-disable-next-line consistent-return + function valueFromConfig2(a, b) { + if (!utils$1.isUndefined(b)) { + return getMergedValue(undefined, b); + } + } + + // eslint-disable-next-line consistent-return + function defaultToConfig2(a, b) { + if (!utils$1.isUndefined(b)) { + return getMergedValue(undefined, b); + } else if (!utils$1.isUndefined(a)) { + return getMergedValue(undefined, a); + } + } + function getMergedTransitionalOption(prop) { + const transitional2 = utils$1.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined; + if (!utils$1.isUndefined(transitional2)) { + if (utils$1.isPlainObject(transitional2)) { + if (utils$1.hasOwnProp(transitional2, prop)) { + return transitional2[prop]; + } + } else { + return undefined; + } + } + const transitional1 = utils$1.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined; + if (utils$1.isPlainObject(transitional1) && utils$1.hasOwnProp(transitional1, prop)) { + return transitional1[prop]; + } + return undefined; + } + + // eslint-disable-next-line consistent-return + function mergeDirectKeys(a, b, prop) { + if (utils$1.hasOwnProp(config2, prop)) { + return getMergedValue(a, b); + } else if (utils$1.hasOwnProp(config1, prop)) { + return getMergedValue(undefined, a); + } + } + const mergeMap = { + url: valueFromConfig2, + method: valueFromConfig2, + data: valueFromConfig2, + baseURL: defaultToConfig2, + transformRequest: defaultToConfig2, + transformResponse: defaultToConfig2, + paramsSerializer: defaultToConfig2, + timeout: defaultToConfig2, + timeoutMessage: defaultToConfig2, + withCredentials: defaultToConfig2, + withXSRFToken: defaultToConfig2, + adapter: defaultToConfig2, + responseType: defaultToConfig2, + xsrfCookieName: defaultToConfig2, + xsrfHeaderName: defaultToConfig2, + onUploadProgress: defaultToConfig2, + onDownloadProgress: defaultToConfig2, + decompress: defaultToConfig2, + maxContentLength: defaultToConfig2, + maxBodyLength: defaultToConfig2, + beforeRedirect: defaultToConfig2, + transport: defaultToConfig2, + httpAgent: defaultToConfig2, + httpsAgent: defaultToConfig2, + cancelToken: defaultToConfig2, + socketPath: defaultToConfig2, + allowedSocketPaths: defaultToConfig2, + responseEncoding: defaultToConfig2, + validateStatus: mergeDirectKeys, + headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true) + }; + utils$1.forEach(Object.keys({ + ...config1, + ...config2 + }), function computeConfigValue(prop) { + if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return; + const merge = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties; + const a = utils$1.hasOwnProp(config1, prop) ? config1[prop] : undefined; + const b = utils$1.hasOwnProp(config2, prop) ? config2[prop] : undefined; + const configValue = merge(a, b, prop); + utils$1.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue); + }); + if (utils$1.hasOwnProp(config2, 'validateStatus') && utils$1.isUndefined(config2.validateStatus) && getMergedTransitionalOption('validateStatusUndefinedResolves') === false) { + if (utils$1.hasOwnProp(config1, 'validateStatus')) { + config.validateStatus = getMergedValue(undefined, config1.validateStatus); + } else { + delete config.validateStatus; + } + } + return config; +} + +const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length']; +function setFormDataHeaders(headers, formHeaders, policy) { + if (policy !== 'content-only') { + headers.set(formHeaders); + return; + } + Object.entries(formHeaders || {}).forEach(([key, val]) => { + if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) { + headers.set(key, val); + } + }); +} + +/** + * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). + * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. + * + * @param {string} str The string to encode + * + * @returns {string} UTF-8 bytes as a Latin-1 string + */ +const encodeUTF8$1 = str => encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => String.fromCharCode(parseInt(hex, 16))); +function resolveConfig(config) { + const newConfig = mergeConfig({}, config); + + // Read only own properties to prevent prototype pollution gadgets + // (e.g. Object.prototype.baseURL = 'https://evil.com'). + const own = key => utils$1.hasOwnProp(newConfig, key) ? newConfig[key] : undefined; + const data = own('data'); + let withXSRFToken = own('withXSRFToken'); + const xsrfHeaderName = own('xsrfHeaderName'); + const xsrfCookieName = own('xsrfCookieName'); + let headers = own('headers'); + const auth = own('auth'); + const baseURL = own('baseURL'); + const allowAbsoluteUrls = own('allowAbsoluteUrls'); + const url = own('url'); + newConfig.headers = headers = AxiosHeaders.from(headers); + newConfig.url = buildURL(buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig), own('params'), own('paramsSerializer')); + + // HTTP basic authentication + if (auth) { + const username = utils$1.getSafeProp(auth, 'username') || ''; + const password = utils$1.getSafeProp(auth, 'password') || ''; + try { + headers.set('Authorization', 'Basic ' + btoa(username + ':' + (password ? encodeUTF8$1(password) : ''))); + } catch (e) { + throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config); + } + } + if (utils$1.isFormData(data)) { + if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv || utils$1.isReactNative(data)) { + headers.setContentType(undefined); // browser/web worker/RN handles it + } else if (utils$1.isFunction(data.getHeaders)) { + // Node.js FormData (like form-data package) + setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy')); + } + } + + // Add xsrf header + // This is only done if running in a standard browser environment. + // Specifically not if we're in a web worker, or react-native. + + if (platform.hasStandardBrowserEnv) { + if (utils$1.isFunction(withXSRFToken)) { + withXSRFToken = withXSRFToken(newConfig); + } + + // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1) + // and misconfigurations (e.g. "false") from short-circuiting the same-origin check and leaking + // the XSRF token cross-origin. + const shouldSendXSRF = withXSRFToken === true || withXSRFToken == null && isURLSameOrigin(newConfig.url); + if (shouldSendXSRF) { + const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName); + if (xsrfValue) { + headers.set(xsrfHeaderName, xsrfValue); + } + } + } + return newConfig; +} + +const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; +var xhrAdapter = isXHRAdapterSupported && function (config) { + return new Promise(function dispatchXhrRequest(resolve, reject) { + const _config = resolveConfig(config); + let requestData = _config.data; + const requestHeaders = AxiosHeaders.from(_config.headers).normalize(); + let { + responseType, + onUploadProgress, + onDownloadProgress + } = _config; + let onCanceled; + let uploadThrottled, downloadThrottled; + let flushUpload, flushDownload; + function done() { + flushUpload && flushUpload(); // flush events + flushDownload && flushDownload(); // flush events + + _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled); + _config.signal && _config.signal.removeEventListener('abort', onCanceled); + } + let request = new XMLHttpRequest(); + request.open(_config.method.toUpperCase(), _config.url, true); + + // Set the request timeout in MS + request.timeout = _config.timeout; + function onloadend() { + if (!request) { + return; + } + // Prepare the response + const responseHeaders = AxiosHeaders.from('getAllResponseHeaders' in request && request.getAllResponseHeaders()); + const responseData = !responseType || responseType === 'text' || responseType === 'json' ? request.responseText : request.response; + const response = { + data: responseData, + status: request.status, + statusText: request.statusText, + headers: responseHeaders, + config, + request + }; + settle(function _resolve(value) { + resolve(value); + done(); + }, function _reject(err) { + reject(err); + done(); + }, response); + + // Clean up request + request = null; + } + if ('onloadend' in request) { + // Use onloadend if available + request.onloadend = onloadend; + } else { + // Listen for ready state to emulate onloadend + request.onreadystatechange = function handleLoad() { + if (!request || request.readyState !== 4) { + return; + } + + // The request errored out and we didn't get a response, this will be + // handled by onerror instead + // With one exception: request that using file: protocol, most browsers + // will return status as 0 even though it's a successful request + if (request.status === 0 && !(request.responseURL && request.responseURL.startsWith('file:'))) { + return; + } + // readystate handler is calling before onerror or ontimeout handlers, + // so we should call onloadend on the next 'tick' + setTimeout(onloadend); + }; + } + + // Handle browser request cancellation (as opposed to a manual cancellation) + request.onabort = function handleAbort() { + if (!request) { + return; + } + reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request)); + done(); + + // Clean up request + request = null; + }; + + // Handle low level network errors + request.onerror = function handleError(event) { + // Browsers deliver a ProgressEvent in XHR onerror + // (message may be empty; when present, surface it) + // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event + const msg = event && event.message ? event.message : 'Network Error'; + const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request); + // attach the underlying event for consumers who want details + err.event = event || null; + reject(err); + done(); + request = null; + }; + + // Handle timeout + request.ontimeout = function handleTimeout() { + let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded'; + const transitional = _config.transitional || transitionalDefaults; + if (_config.timeoutErrorMessage) { + timeoutErrorMessage = _config.timeoutErrorMessage; + } + reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, request)); + done(); + + // Clean up request + request = null; + }; + + // Remove Content-Type if data is undefined + requestData === undefined && requestHeaders.setContentType(null); + + // Add headers to the request + if ('setRequestHeader' in request) { + utils$1.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) { + request.setRequestHeader(key, val); + }); + } + + // Add withCredentials to request if needed + if (!utils$1.isUndefined(_config.withCredentials)) { + request.withCredentials = !!_config.withCredentials; + } + + // Add responseType to request if needed + if (responseType && responseType !== 'json') { + request.responseType = _config.responseType; + } + + // Handle progress if needed + if (onDownloadProgress) { + [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true); + request.addEventListener('progress', downloadThrottled); + } + + // Not all browsers support upload events + if (onUploadProgress && request.upload) { + [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress); + request.upload.addEventListener('progress', uploadThrottled); + request.upload.addEventListener('loadend', flushUpload); + } + if (_config.cancelToken || _config.signal) { + // Handle cancellation + // eslint-disable-next-line func-names + onCanceled = cancel => { + if (!request) { + return; + } + reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel); + request.abort(); + done(); + request = null; + }; + _config.cancelToken && _config.cancelToken.subscribe(onCanceled); + if (_config.signal) { + _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled); + } + } + const protocol = parseProtocol(_config.url); + if (protocol && !platform.protocols.includes(protocol)) { + reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config)); + done(); + return; + } + + // Send the request + request.send(requestData || null); + }); +}; + +const composeSignals = (signals, timeout) => { + signals = signals ? signals.filter(Boolean) : []; + if (!timeout && !signals.length) { + return; + } + const controller = new AbortController(); + let aborted = false; + const onabort = function (reason) { + if (!aborted) { + aborted = true; + unsubscribe(); + const err = reason instanceof Error ? reason : this.reason; + controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err)); + } + }; + let timer = timeout && setTimeout(() => { + timer = null; + onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT)); + }, timeout); + const unsubscribe = () => { + if (!signals) { + return; + } + timer && clearTimeout(timer); + timer = null; + signals.forEach(signal => { + signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort); + }); + signals = null; + }; + signals.forEach(signal => signal.addEventListener('abort', onabort, { + once: true + })); + const { + signal + } = controller; + signal.unsubscribe = () => utils$1.asap(unsubscribe); + return signal; +}; + +const streamChunk = function* (chunk, chunkSize) { + let len = chunk.byteLength; + if (len < chunkSize) { + yield chunk; + return; + } + let pos = 0; + let end; + while (pos < len) { + end = pos + chunkSize; + yield chunk.slice(pos, end); + pos = end; + } +}; +const readBytes = async function* (iterable, chunkSize) { + for await (const chunk of readStream(iterable)) { + yield* streamChunk(chunk, chunkSize); + } +}; +const readStream = async function* (stream) { + if (stream[Symbol.asyncIterator]) { + yield* stream; + return; + } + const reader = stream.getReader(); + try { + for (;;) { + const { + done, + value + } = await reader.read(); + if (done) { + break; + } + yield value; + } + } finally { + await reader.cancel(); + } +}; +const trackStream = (stream, chunkSize, onProgress, onFinish) => { + const iterator = readBytes(stream, chunkSize); + let bytes = 0; + let done; + let _onFinish = e => { + if (!done) { + done = true; + onFinish && onFinish(e); + } + }; + return new ReadableStream({ + async pull(controller) { + try { + const { + done, + value + } = await iterator.next(); + if (done) { + _onFinish(); + controller.close(); + return; + } + let len = value.byteLength; + if (onProgress) { + let loadedBytes = bytes += len; + onProgress(loadedBytes); + } + controller.enqueue(new Uint8Array(value)); + } catch (err) { + _onFinish(err); + throw err; + } + }, + cancel(reason) { + _onFinish(reason); + return iterator.return(); + } + }, { + highWaterMark: 2 + }); +}; + +const DEFAULT_CHUNK_SIZE = 64 * 1024; +const { + isFunction +} = utils$1; + +/** + * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). + * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. + * + * @param {string} str The string to encode + * + * @returns {string} UTF-8 bytes as a Latin-1 string + */ +const encodeUTF8 = str => encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => String.fromCharCode(parseInt(hex, 16))); + +// Node's WHATWG URL parser returns `username` and `password` percent-encoded. +// Decode before composing the `auth` option so credentials such as +// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the +// original value for malformed input so a bad encoding never throws. +const decodeURIComponentSafe = value => { + if (!utils$1.isString(value)) { + return value; + } + try { + return decodeURIComponent(value); + } catch (error) { + return value; + } +}; +const test = (fn, ...args) => { + try { + return !!fn(...args); + } catch (e) { + return false; + } +}; +const maybeWithAuthCredentials = url => { + const protocolIndex = url.indexOf('://'); + let urlToCheck = url; + if (protocolIndex !== -1) { + urlToCheck = urlToCheck.slice(protocolIndex + 3); + } + return urlToCheck.includes('@') || urlToCheck.includes(':'); +}; +const factory = env => { + const globalObject = utils$1.global !== undefined && utils$1.global !== null ? utils$1.global : globalThis; + const { + ReadableStream, + TextEncoder + } = globalObject; + env = utils$1.merge.call({ + skipUndefined: true + }, { + Request: globalObject.Request, + Response: globalObject.Response + }, env); + const { + fetch: envFetch, + Request, + Response + } = env; + const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function'; + const isRequestSupported = isFunction(Request); + const isResponseSupported = isFunction(Response); + if (!isFetchSupported) { + return false; + } + const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream); + const encodeText = isFetchSupported && (typeof TextEncoder === 'function' ? (encoder => str => encoder.encode(str))(new TextEncoder()) : async str => new Uint8Array(await new Request(str).arrayBuffer())); + const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => { + let duplexAccessed = false; + const request = new Request(platform.origin, { + body: new ReadableStream(), + method: 'POST', + get duplex() { + duplexAccessed = true; + return 'half'; + } + }); + const hasContentType = request.headers.has('Content-Type'); + if (request.body != null) { + request.body.cancel(); + } + return duplexAccessed && !hasContentType; + }); + const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response('').body)); + const resolvers = { + stream: supportsResponseStream && (res => res.body) + }; + isFetchSupported && (() => { + ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => { + !resolvers[type] && (resolvers[type] = (res, config) => { + let method = res && res[type]; + if (method) { + return method.call(res); + } + throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config); + }); + }); + })(); + const getBodyLength = async body => { + if (body == null) { + return 0; + } + if (utils$1.isBlob(body)) { + return body.size; + } + if (utils$1.isSpecCompliantForm(body)) { + const _request = new Request(platform.origin, { + method: 'POST', + body + }); + return (await _request.arrayBuffer()).byteLength; + } + if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) { + return body.byteLength; + } + if (utils$1.isURLSearchParams(body)) { + body = body + ''; + } + if (utils$1.isString(body)) { + return (await encodeText(body)).byteLength; + } + }; + const resolveBodyLength = async (headers, body) => { + const length = utils$1.toFiniteNumber(headers.getContentLength()); + return length == null ? getBodyLength(body) : length; + }; + return async config => { + let { + url, + method, + data, + signal, + cancelToken, + timeout, + onDownloadProgress, + onUploadProgress, + responseType, + headers, + withCredentials = 'same-origin', + fetchOptions, + maxContentLength, + maxBodyLength + } = resolveConfig(config); + const hasMaxContentLength = utils$1.isNumber(maxContentLength) && maxContentLength > -1; + const hasMaxBodyLength = utils$1.isNumber(maxBodyLength) && maxBodyLength > -1; + const own = key => utils$1.hasOwnProp(config, key) ? config[key] : undefined; + let _fetch = envFetch || fetch; + responseType = responseType ? (responseType + '').toLowerCase() : 'text'; + let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout); + let request = null; + const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => { + composedSignal.unsubscribe(); + }); + let requestContentLength; + + // AxiosError we raise while the request body is being streamed. Captured + // by identity so the catch block can surface it directly, regardless of + // how the runtime wraps the resulting fetch rejection (undici exposes it + // as `err.cause`; some browsers drop the original error entirely). + let pendingBodyError = null; + const maxBodyLengthError = () => new AxiosError('Request body larger than maxBodyLength limit', AxiosError.ERR_BAD_REQUEST, config, request); + try { + // HTTP basic authentication + let auth = undefined; + const configAuth = own('auth'); + if (configAuth) { + const username = utils$1.getSafeProp(configAuth, 'username') || ''; + const password = utils$1.getSafeProp(configAuth, 'password') || ''; + auth = { + username, + password + }; + } + if (maybeWithAuthCredentials(url)) { + const parsedURL = new URL(url, platform.origin); + if (!auth && (parsedURL.username || parsedURL.password)) { + const urlUsername = decodeURIComponentSafe(parsedURL.username); + const urlPassword = decodeURIComponentSafe(parsedURL.password); + auth = { + username: urlUsername, + password: urlPassword + }; + } + if (parsedURL.username || parsedURL.password) { + parsedURL.username = ''; + parsedURL.password = ''; + url = parsedURL.href; + } + } + if (auth) { + headers.delete('authorization'); + headers.set('Authorization', 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || '')))); + } + + // Enforce maxContentLength for data: URLs up-front so we never materialize + // an oversized payload. The HTTP adapter applies the same check (see http.js + // "if (protocol === 'data:')" branch). + if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) { + const estimated = estimateDataURLDecodedBytes(url); + if (estimated > maxContentLength) { + throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); + } + } + + // Enforce maxBodyLength against known-size bodies before dispatch using + // the body's *actual* size — never a caller-declared Content-Length, + // which could under-report to slip an oversized body past the check. + // Unknown-size streams return undefined here and are counted per-chunk + // below as fetch consumes them. + if (hasMaxBodyLength && method !== 'get' && method !== 'head') { + const outboundLength = await getBodyLength(data); + if (typeof outboundLength === 'number' && isFinite(outboundLength)) { + requestContentLength = outboundLength; + if (outboundLength > maxBodyLength) { + throw maxBodyLengthError(); + } + } + } + + // A streamed body under maxBodyLength must be counted as fetch consumes + // it; its size is never trusted from a caller-declared Content-Length. + const mustEnforceStreamBody = hasMaxBodyLength && (utils$1.isReadableStream(data) || utils$1.isStream(data)); + const trackRequestStream = (stream, onProgress, flush) => trackStream(stream, DEFAULT_CHUNK_SIZE, loadedBytes => { + if (hasMaxBodyLength && loadedBytes > maxBodyLength) { + throw pendingBodyError = maxBodyLengthError(); + } + onProgress && onProgress(loadedBytes); + }, flush); + if (supportsRequestStream && method !== 'get' && method !== 'head' && (onUploadProgress || mustEnforceStreamBody)) { + requestContentLength = requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength; + + // A declared length of 0 is only trusted to skip the wrap when we are + // not enforcing a stream limit (which must not rely on that header). + if (requestContentLength !== 0 || mustEnforceStreamBody) { + let _request = new Request(url, { + method: 'POST', + body: data, + duplex: 'half' + }); + let contentTypeHeader; + if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) { + headers.setContentType(contentTypeHeader); + } + if (_request.body) { + const [onProgress, flush] = onUploadProgress && progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress))) || []; + data = trackRequestStream(_request.body, onProgress, flush); + } + } + } else if (mustEnforceStreamBody && !isRequestSupported && isReadableStreamSupported && method !== 'get' && method !== 'head') { + data = trackRequestStream(data); + } else if (mustEnforceStreamBody && isRequestSupported && !supportsRequestStream && method !== 'get' && method !== 'head') { + throw new AxiosError('Stream request bodies are not supported by the current fetch implementation', AxiosError.ERR_NOT_SUPPORT, config, request); + } + if (!utils$1.isString(withCredentials)) { + withCredentials = withCredentials ? 'include' : 'omit'; + } + + // Cloudflare Workers throws when credentials are defined + // see https://github.com/cloudflare/workerd/issues/902 + const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype; + + // If data is FormData and Content-Type is multipart/form-data without boundary, + // delete it so fetch can set it correctly with the boundary + if (utils$1.isFormData(data)) { + const contentType = headers.getContentType(); + if (contentType && /^multipart\/form-data/i.test(contentType) && !/boundary=/i.test(contentType)) { + headers.delete('content-type'); + } + } + + // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js) + headers.set('User-Agent', 'axios/' + VERSION, false); + const resolvedOptions = { + ...fetchOptions, + signal: composedSignal, + method: method.toUpperCase(), + headers: toByteStringHeaderObject(headers.normalize()), + body: data, + duplex: 'half', + credentials: isCredentialsSupported ? withCredentials : undefined + }; + request = isRequestSupported && new Request(url, resolvedOptions); + let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions)); + const responseHeaders = AxiosHeaders.from(response.headers); + + // Cheap pre-check: if the server honestly declares a content-length that + // already exceeds the cap, reject before we start streaming. + if (hasMaxContentLength) { + const declaredLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); + if (declaredLength != null && declaredLength > maxContentLength) { + throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); + } + } + const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response'); + if (supportsResponseStream && response.body && (onDownloadProgress || hasMaxContentLength || isStreamResponse && unsubscribe)) { + const options = {}; + ['status', 'statusText', 'headers'].forEach(prop => { + options[prop] = response[prop]; + }); + const responseContentLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); + const [onProgress, flush] = onDownloadProgress && progressEventDecorator(responseContentLength, progressEventReducer(asyncDecorator(onDownloadProgress), true)) || []; + let bytesRead = 0; + const onChunkProgress = loadedBytes => { + if (hasMaxContentLength) { + bytesRead = loadedBytes; + if (bytesRead > maxContentLength) { + throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); + } + } + onProgress && onProgress(loadedBytes); + }; + response = new Response(trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => { + flush && flush(); + unsubscribe && unsubscribe(); + }), options); + } + responseType = responseType || 'text'; + let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text'](response, config); + + // Fallback enforcement for environments without ReadableStream support + // (legacy runtimes). Detect materialized size from typed output; skip + // streams/Response passthrough since the user will read those themselves. + if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) { + let materializedSize; + if (responseData != null) { + if (typeof responseData.byteLength === 'number') { + materializedSize = responseData.byteLength; + } else if (typeof responseData.size === 'number') { + materializedSize = responseData.size; + } else if (typeof responseData === 'string') { + materializedSize = typeof TextEncoder === 'function' ? new TextEncoder().encode(responseData).byteLength : responseData.length; + } + } + if (typeof materializedSize === 'number' && materializedSize > maxContentLength) { + throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); + } + } + !isStreamResponse && unsubscribe && unsubscribe(); + return await new Promise((resolve, reject) => { + settle(resolve, reject, { + data: responseData, + headers: AxiosHeaders.from(response.headers), + status: response.status, + statusText: response.statusText, + config, + request + }); + }); + } catch (err) { + unsubscribe && unsubscribe(); + + // Safari can surface fetch aborts as a DOMException-like object whose + // branded getters throw. Prefer our composed signal reason before reading + // the caught error, preserving timeout vs cancellation semantics. + if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError) { + const canceledError = composedSignal.reason; + canceledError.config = config; + request && (canceledError.request = request); + if (err !== canceledError) { + // Non-enumerable to match native Error `cause` semantics so loggers + // don't recurse into circular fetch internals (see #7205). + Object.defineProperty(canceledError, 'cause', { + __proto__: null, + value: err, + writable: true, + enumerable: false, + configurable: true + }); + } + throw canceledError; + } + + // Surface a maxBodyLength violation we raised while the request body was + // being streamed. Matching by identity (rather than reading + // `err.cause.isAxiosError`) keeps the error deterministic across runtimes + // and avoids both prototype-pollution reads and mis-attributing a foreign + // AxiosError that merely happened to land in `err.cause`. + if (pendingBodyError) { + request && !pendingBodyError.request && (pendingBodyError.request = request); + throw pendingBodyError; + } + + // Re-throw AxiosErrors we raised synchronously (data: URL / content-length + // pre-checks, response size enforcement) without re-wrapping them. + if (err instanceof AxiosError) { + request && !err.request && (err.request = request); + throw err; + } + if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) { + const networkError = new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request, err && err.response); + // Non-enumerable to match native Error `cause` semantics so loggers + // don't recurse into circular fetch internals (see #7205). + Object.defineProperty(networkError, 'cause', { + __proto__: null, + value: err.cause || err, + writable: true, + enumerable: false, + configurable: true + }); + throw networkError; + } + throw AxiosError.from(err, err && err.code, config, request, err && err.response); + } + }; +}; +const seedCache = new Map(); +const getFetch = config => { + let env = config && config.env || {}; + const { + fetch, + Request, + Response + } = env; + const seeds = [Request, Response, fetch]; + let len = seeds.length, + i = len, + seed, + target, + map = seedCache; + while (i--) { + seed = seeds[i]; + target = map.get(seed); + target === undefined && map.set(seed, target = i ? new Map() : factory(env)); + map = target; + } + return target; +}; +getFetch(); + +/** + * Known adapters mapping. + * Provides environment-specific adapters for Axios: + * - `http` for Node.js + * - `xhr` for browsers + * - `fetch` for fetch API-based requests + * + * @type {Object} + */ +const knownAdapters = { + http: httpAdapter, + xhr: xhrAdapter, + fetch: { + get: getFetch + } +}; + +// Assign adapter names for easier debugging and identification +utils$1.forEach(knownAdapters, (fn, value) => { + if (fn) { + try { + // Null-proto descriptors so a polluted Object.prototype.get cannot turn + // these data descriptors into accessor descriptors on the way in. + Object.defineProperty(fn, 'name', { + __proto__: null, + value + }); + } catch (e) { + // eslint-disable-next-line no-empty + } + Object.defineProperty(fn, 'adapterName', { + __proto__: null, + value + }); + } +}); + +/** + * Render a rejection reason string for unknown or unsupported adapters + * + * @param {string} reason + * @returns {string} + */ +const renderReason = reason => `- ${reason}`; + +/** + * Check if the adapter is resolved (function, null, or false) + * + * @param {Function|null|false} adapter + * @returns {boolean} + */ +const isResolvedHandle = adapter => utils$1.isFunction(adapter) || adapter === null || adapter === false; + +/** + * Get the first suitable adapter from the provided list. + * Tries each adapter in order until a supported one is found. + * Throws an AxiosError if no adapter is suitable. + * + * @param {Array|string|Function} adapters - Adapter(s) by name or function. + * @param {Object} config - Axios request configuration + * @throws {AxiosError} If no suitable adapter is available + * @returns {Function} The resolved adapter function + */ +function getAdapter(adapters, config) { + adapters = utils$1.isArray(adapters) ? adapters : [adapters]; + const { + length + } = adapters; + let nameOrAdapter; + let adapter; + const rejectedReasons = {}; + for (let i = 0; i < length; i++) { + nameOrAdapter = adapters[i]; + let id; + adapter = nameOrAdapter; + if (!isResolvedHandle(nameOrAdapter)) { + adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()]; + if (adapter === undefined) { + throw new AxiosError(`Unknown adapter '${id}'`); + } + } + if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) { + break; + } + rejectedReasons[id || '#' + i] = adapter; + } + if (!adapter) { + const reasons = Object.entries(rejectedReasons).map(([id, state]) => `adapter ${id} ` + (state === false ? 'is not supported by the environment' : 'is not available in the build')); + let s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified'; + throw new AxiosError(`There is no suitable adapter to dispatch the request ` + s, AxiosError.ERR_NOT_SUPPORT); + } + return adapter; +} + +/** + * Exports Axios adapters and utility to resolve an adapter + */ +var adapters = { + /** + * Resolve an adapter from a list of adapter names or functions. + * @type {Function} + */ + getAdapter, + /** + * Exposes all known adapters + * @type {Object} + */ + adapters: knownAdapters +}; + +/** + * Throws a `CanceledError` if cancellation has been requested. + * + * @param {Object} config The config that is to be used for the request + * + * @returns {void} + */ +function throwIfCancellationRequested(config) { + if (config.cancelToken) { + config.cancelToken.throwIfRequested(); + } + if (config.signal && config.signal.aborted) { + throw new CanceledError(null, config); + } +} + +/** + * Dispatch a request to the server using the configured adapter. + * + * @param {object} config The config that is to be used for the request + * + * @returns {Promise} The Promise to be fulfilled + */ +function dispatchRequest(config) { + throwIfCancellationRequested(config); + config.headers = AxiosHeaders.from(config.headers); + + // Transform request data + config.data = transformData.call(config, config.transformRequest); + if (['post', 'put', 'patch'].indexOf(config.method) !== -1) { + config.headers.setContentType('application/x-www-form-urlencoded', false); + } + const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config); + return adapter(config).then(function onAdapterResolution(response) { + throwIfCancellationRequested(config); + + // Expose the current response on config so that transformResponse can + // attach it to any AxiosError it throws (e.g. on JSON parse failure). + // We clean it up afterwards to avoid polluting the config object. + config.response = response; + try { + response.data = transformData.call(config, config.transformResponse, response); + } finally { + delete config.response; + } + response.headers = AxiosHeaders.from(response.headers); + return response; + }, function onAdapterRejection(reason) { + if (!isCancel(reason)) { + throwIfCancellationRequested(config); + + // Transform response data + if (reason && reason.response) { + config.response = reason.response; + try { + reason.response.data = transformData.call(config, config.transformResponse, reason.response); + } finally { + delete config.response; + } + reason.response.headers = AxiosHeaders.from(reason.response.headers); + } + } + return Promise.reject(reason); + }); +} + +const validators$1 = {}; + +// eslint-disable-next-line func-names +['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => { + validators$1[type] = function validator(thing) { + return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type; + }; +}); +const deprecatedWarnings = {}; + +/** + * Transitional option validator + * + * @param {function|boolean?} validator - set to false if the transitional option has been removed + * @param {string?} version - deprecated version / removed since version + * @param {string?} message - some message with additional info + * + * @returns {function} + */ +validators$1.transitional = function transitional(validator, version, message) { + function formatMessage(opt, desc) { + return '[Axios v' + VERSION + "] Transitional option '" + opt + "'" + desc + (message ? '. ' + message : ''); + } + + // eslint-disable-next-line func-names + return (value, opt, opts) => { + if (validator === false) { + throw new AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), AxiosError.ERR_DEPRECATED); + } + if (version && !deprecatedWarnings[opt]) { + deprecatedWarnings[opt] = true; + // eslint-disable-next-line no-console + console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future')); + } + return validator ? validator(value, opt, opts) : true; + }; +}; +validators$1.spelling = function spelling(correctSpelling) { + return (value, opt) => { + // eslint-disable-next-line no-console + console.warn(`${opt} is likely a misspelling of ${correctSpelling}`); + return true; + }; +}; + +/** + * Assert object's properties type + * + * @param {object} options + * @param {object} schema + * @param {boolean?} allowUnknown + * + * @returns {object} + */ + +function assertOptions(options, schema, allowUnknown) { + if (typeof options !== 'object' || options === null) { + throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE); + } + const keys = Object.keys(options); + let i = keys.length; + while (i-- > 0) { + const opt = keys[i]; + // Use hasOwnProperty so a polluted Object.prototype. cannot supply + // a non-function validator and cause a TypeError. + const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined; + if (validator) { + const value = options[opt]; + const result = value === undefined || validator(value, opt, options); + if (result !== true) { + throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE); + } + continue; + } + if (allowUnknown !== true) { + throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION); + } + } +} +var validator = { + assertOptions, + validators: validators$1 +}; + +const validators = validator.validators; + +/** + * Create a new instance of Axios + * + * @param {Object} instanceConfig The default config for the instance + * + * @return {Axios} A new instance of Axios + */ +class Axios { + constructor(instanceConfig) { + this.defaults = instanceConfig || {}; + this.interceptors = { + request: new InterceptorManager(), + response: new InterceptorManager() + }; + } + + /** + * Dispatch a request + * + * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) + * @param {?Object} config + * + * @returns {Promise} The Promise to be fulfilled + */ + async request(configOrUrl, config) { + try { + return await this._request(configOrUrl, config); + } catch (err) { + if (err instanceof Error) { + let dummy = {}; + Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error(); + + // slice off the Error: ... line + const stack = (() => { + if (!dummy.stack) { + return ''; + } + const firstNewlineIndex = dummy.stack.indexOf('\n'); + return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1); + })(); + try { + if (!err.stack) { + err.stack = stack; + // match without the 2 top stack lines + } else if (stack) { + const firstNewlineIndex = stack.indexOf('\n'); + const secondNewlineIndex = firstNewlineIndex === -1 ? -1 : stack.indexOf('\n', firstNewlineIndex + 1); + const stackWithoutTwoTopLines = secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1); + if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) { + err.stack += '\n' + stack; + } + } + } catch (e) { + // ignore the case where "stack" is an un-writable property + } + } + throw err; + } + } + _request(configOrUrl, config) { + /*eslint no-param-reassign:0*/ + // Allow for axios('example/url'[, config]) a la fetch API + if (typeof configOrUrl === 'string') { + config = config || {}; + config.url = configOrUrl; + } else { + config = configOrUrl || {}; + } + config = mergeConfig(this.defaults, config); + const { + transitional, + paramsSerializer, + headers + } = config; + if (transitional !== undefined) { + validator.assertOptions(transitional, { + silentJSONParsing: validators.transitional(validators.boolean), + forcedJSONParsing: validators.transitional(validators.boolean), + clarifyTimeoutError: validators.transitional(validators.boolean), + legacyInterceptorReqResOrdering: validators.transitional(validators.boolean), + advertiseZstdAcceptEncoding: validators.transitional(validators.boolean), + validateStatusUndefinedResolves: validators.transitional(validators.boolean) + }, false); + } + if (paramsSerializer != null) { + if (utils$1.isFunction(paramsSerializer)) { + config.paramsSerializer = { + serialize: paramsSerializer + }; + } else { + validator.assertOptions(paramsSerializer, { + encode: validators.function, + serialize: validators.function + }, true); + } + } + + // Set config.allowAbsoluteUrls + if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) { + config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls; + } else { + config.allowAbsoluteUrls = true; + } + validator.assertOptions(config, { + baseUrl: validators.spelling('baseURL'), + withXsrfToken: validators.spelling('withXSRFToken') + }, true); + + // Set config.method + config.method = (config.method || this.defaults.method || 'get').toLowerCase(); + + // Flatten headers + let contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]); + headers && utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], method => { + delete headers[method]; + }); + config.headers = AxiosHeaders.concat(contextHeaders, headers); + + // filter out skipped interceptors + const requestInterceptorChain = []; + let synchronousRequestInterceptors = true; + this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) { + if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) { + return; + } + synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous; + const transitional = config.transitional || transitionalDefaults; + const legacyInterceptorReqResOrdering = transitional && transitional.legacyInterceptorReqResOrdering; + if (legacyInterceptorReqResOrdering) { + requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected); + } else { + requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); + } + }); + const responseInterceptorChain = []; + this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) { + responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); + }); + let promise; + let i = 0; + let len; + if (!synchronousRequestInterceptors) { + const chain = [dispatchRequest.bind(this), undefined]; + chain.unshift(...requestInterceptorChain); + chain.push(...responseInterceptorChain); + len = chain.length; + promise = Promise.resolve(config); + while (i < len) { + promise = promise.then(chain[i++], chain[i++]); + } + return promise; + } + len = requestInterceptorChain.length; + let newConfig = config; + while (i < len) { + const onFulfilled = requestInterceptorChain[i++]; + const onRejected = requestInterceptorChain[i++]; + try { + newConfig = onFulfilled(newConfig); + } catch (error) { + onRejected.call(this, error); + break; + } + } + try { + promise = dispatchRequest.call(this, newConfig); + } catch (error) { + return Promise.reject(error); + } + i = 0; + len = responseInterceptorChain.length; + while (i < len) { + promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); + } + return promise; + } + getUri(config) { + config = mergeConfig(this.defaults, config); + const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config); + return buildURL(fullPath, config.params, config.paramsSerializer); + } +} + +// Provide aliases for supported request methods +utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) { + /*eslint func-names:0*/ + Axios.prototype[method] = function (url, config) { + return this.request(mergeConfig(config || {}, { + method, + url, + data: config && utils$1.hasOwnProp(config, 'data') ? config.data : undefined + })); + }; +}); +utils$1.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) { + function generateHTTPMethod(isForm) { + return function httpMethod(url, data, config) { + return this.request(mergeConfig(config || {}, { + method, + headers: isForm ? { + 'Content-Type': 'multipart/form-data' + } : {}, + url, + data + })); + }; + } + Axios.prototype[method] = generateHTTPMethod(); + + // QUERY is a safe/idempotent read method; multipart form bodies don't fit + // its semantics, so no queryForm shorthand is generated. + if (method !== 'query') { + Axios.prototype[method + 'Form'] = generateHTTPMethod(true); + } +}); + +/** + * A `CancelToken` is an object that can be used to request cancellation of an operation. + * + * @param {Function} executor The executor function. + * + * @returns {CancelToken} + */ +class CancelToken { + constructor(executor) { + if (typeof executor !== 'function') { + throw new TypeError('executor must be a function.'); + } + let resolvePromise; + this.promise = new Promise(function promiseExecutor(resolve) { + resolvePromise = resolve; + }); + const token = this; + + // eslint-disable-next-line func-names + this.promise.then(cancel => { + if (!token._listeners) return; + let i = token._listeners.length; + while (i-- > 0) { + token._listeners[i](cancel); + } + token._listeners = null; + }); + + // eslint-disable-next-line func-names + this.promise.then = onfulfilled => { + let _resolve; + // eslint-disable-next-line func-names + const promise = new Promise(resolve => { + token.subscribe(resolve); + _resolve = resolve; + }).then(onfulfilled); + promise.cancel = function reject() { + token.unsubscribe(_resolve); + }; + return promise; + }; + executor(function cancel(message, config, request) { + if (token.reason) { + // Cancellation has already been requested + return; + } + token.reason = new CanceledError(message, config, request); + resolvePromise(token.reason); + }); + } + + /** + * Throws a `CanceledError` if cancellation has been requested. + */ + throwIfRequested() { + if (this.reason) { + throw this.reason; + } + } + + /** + * Subscribe to the cancel signal + */ + + subscribe(listener) { + if (this.reason) { + listener(this.reason); + return; + } + if (this._listeners) { + this._listeners.push(listener); + } else { + this._listeners = [listener]; + } + } + + /** + * Unsubscribe from the cancel signal + */ + + unsubscribe(listener) { + if (!this._listeners) { + return; + } + const index = this._listeners.indexOf(listener); + if (index !== -1) { + this._listeners.splice(index, 1); + } + } + toAbortSignal() { + const controller = new AbortController(); + const abort = err => { + controller.abort(err); + }; + this.subscribe(abort); + controller.signal.unsubscribe = () => this.unsubscribe(abort); + return controller.signal; + } + + /** + * Returns an object that contains a new `CancelToken` and a function that, when called, + * cancels the `CancelToken`. + */ + static source() { + let cancel; + const token = new CancelToken(function executor(c) { + cancel = c; + }); + return { + token, + cancel + }; + } +} + +/** + * Syntactic sugar for invoking a function and expanding an array for arguments. + * + * Common use case would be to use `Function.prototype.apply`. + * + * ```js + * function f(x, y, z) {} + * const args = [1, 2, 3]; + * f.apply(null, args); + * ``` + * + * With `spread` this example can be re-written. + * + * ```js + * spread(function(x, y, z) {})([1, 2, 3]); + * ``` + * + * @param {Function} callback + * + * @returns {Function} + */ +function spread(callback) { + return function wrap(arr) { + return callback.apply(null, arr); + }; +} + +/** + * Determines whether the payload is an error thrown by Axios + * + * @param {*} payload The value to test + * + * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false + */ +function isAxiosError(payload) { + return utils$1.isObject(payload) && payload.isAxiosError === true; +} + +const HttpStatusCode = { + Continue: 100, + SwitchingProtocols: 101, + Processing: 102, + EarlyHints: 103, + Ok: 200, + Created: 201, + Accepted: 202, + NonAuthoritativeInformation: 203, + NoContent: 204, + ResetContent: 205, + PartialContent: 206, + MultiStatus: 207, + AlreadyReported: 208, + ImUsed: 226, + MultipleChoices: 300, + MovedPermanently: 301, + Found: 302, + SeeOther: 303, + NotModified: 304, + UseProxy: 305, + Unused: 306, + TemporaryRedirect: 307, + PermanentRedirect: 308, + BadRequest: 400, + Unauthorized: 401, + PaymentRequired: 402, + Forbidden: 403, + NotFound: 404, + MethodNotAllowed: 405, + NotAcceptable: 406, + ProxyAuthenticationRequired: 407, + RequestTimeout: 408, + Conflict: 409, + Gone: 410, + LengthRequired: 411, + PreconditionFailed: 412, + PayloadTooLarge: 413, + UriTooLong: 414, + UnsupportedMediaType: 415, + RangeNotSatisfiable: 416, + ExpectationFailed: 417, + ImATeapot: 418, + MisdirectedRequest: 421, + UnprocessableEntity: 422, + Locked: 423, + FailedDependency: 424, + TooEarly: 425, + UpgradeRequired: 426, + PreconditionRequired: 428, + TooManyRequests: 429, + RequestHeaderFieldsTooLarge: 431, + UnavailableForLegalReasons: 451, + InternalServerError: 500, + NotImplemented: 501, + BadGateway: 502, + ServiceUnavailable: 503, + GatewayTimeout: 504, + HttpVersionNotSupported: 505, + VariantAlsoNegotiates: 506, + InsufficientStorage: 507, + LoopDetected: 508, + NotExtended: 510, + NetworkAuthenticationRequired: 511, + WebServerIsDown: 521, + ConnectionTimedOut: 522, + OriginIsUnreachable: 523, + TimeoutOccurred: 524, + SslHandshakeFailed: 525, + InvalidSslCertificate: 526 +}; +Object.entries(HttpStatusCode).forEach(([key, value]) => { + HttpStatusCode[value] = key; +}); + +/** + * Create an instance of Axios + * + * @param {Object} defaultConfig The default config for the instance + * + * @returns {Axios} A new instance of Axios + */ +function createInstance(defaultConfig) { + const context = new Axios(defaultConfig); + const instance = bind(Axios.prototype.request, context); + + // Copy axios.prototype to instance + utils$1.extend(instance, Axios.prototype, context, { + allOwnKeys: true + }); + + // Copy context to instance + utils$1.extend(instance, context, null, { + allOwnKeys: true + }); + + // Factory for creating new instances + instance.create = function create(instanceConfig) { + return createInstance(mergeConfig(defaultConfig, instanceConfig)); + }; + return instance; +} + +// Create the default instance to be exported +const axios = createInstance(defaults); + +// Expose Axios class to allow class inheritance +axios.Axios = Axios; + +// Expose Cancel & CancelToken +axios.CanceledError = CanceledError; +axios.CancelToken = CancelToken; +axios.isCancel = isCancel; +axios.VERSION = VERSION; +axios.toFormData = toFormData; + +// Expose AxiosError class +axios.AxiosError = AxiosError; + +// alias for CanceledError for backward compatibility +axios.Cancel = axios.CanceledError; + +// Expose all/spread +axios.all = function all(promises) { + return Promise.all(promises); +}; +axios.spread = spread; + +// Expose isAxiosError +axios.isAxiosError = isAxiosError; + +// Expose mergeConfig +axios.mergeConfig = mergeConfig; +axios.AxiosHeaders = AxiosHeaders; +axios.formToJSON = thing => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing); +axios.getAdapter = adapters.getAdapter; +axios.HttpStatusCode = HttpStatusCode; +axios.default = axios; + +module.exports = axios; +//# sourceMappingURL=axios.cjs.map diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/index.d.cts b/Lombiq.EInvoiceValidator/node_modules/axios/index.d.cts new file mode 100644 index 0000000..626605c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/index.d.cts @@ -0,0 +1,738 @@ +type MethodsHeaders = Partial< + { + [Key in axios.Method as Lowercase]: AxiosHeaders; + } & { common: AxiosHeaders } +>; + +type AxiosHeaderMatcher = + | string + | RegExp + | ((this: AxiosHeaders, value: string, name: string) => boolean); + +type AxiosHeaderParser = (this: AxiosHeaders, value: axios.AxiosHeaderValue, header: string) => any; + +type CommonRequestHeadersList = + | 'Accept' + | 'Content-Length' + | 'User-Agent' + | 'Content-Encoding' + | 'Authorization' + | 'Location'; + +type ContentType = + | axios.AxiosHeaderValue + | 'text/html' + | 'text/plain' + | 'multipart/form-data' + | 'application/json' + | 'application/x-www-form-urlencoded' + | 'application/octet-stream'; + +type CommonResponseHeadersList = + | 'Server' + | 'Content-Type' + | 'Content-Length' + | 'Cache-Control' + | 'Content-Encoding'; + +type CommonResponseHeaderKey = CommonResponseHeadersList | Lowercase; + +type BrowserProgressEvent = any; + +declare class AxiosHeaders { + constructor(headers?: axios.RawAxiosHeaders | AxiosHeaders | string); + + [key: string]: any; + + set( + headerName?: string, + value?: axios.AxiosHeaderValue, + rewrite?: boolean | AxiosHeaderMatcher + ): AxiosHeaders; + set(headers?: axios.RawAxiosHeaders | AxiosHeaders | string, rewrite?: boolean): AxiosHeaders; + set(headers?: Iterable<[string, axios.AxiosHeaderValue]>, rewrite?: boolean): AxiosHeaders; + + get(headerName: string, parser: RegExp): RegExpExecArray | null; + get(headerName: string, matcher?: true | AxiosHeaderParser): axios.AxiosHeaderValue; + + has(header: string, matcher?: AxiosHeaderMatcher): boolean; + + delete(header: string | string[], matcher?: AxiosHeaderMatcher): boolean; + + clear(matcher?: AxiosHeaderMatcher): boolean; + + normalize(format: boolean): AxiosHeaders; + + concat( + ...targets: Array + ): AxiosHeaders; + + toJSON(asStrings: true): Record; + toJSON(asStrings?: false): Record; + toJSON(asStrings?: boolean): Record; + + static from(thing?: AxiosHeaders | axios.RawAxiosHeaders | string): AxiosHeaders; + + static accessor(header: string | string[]): AxiosHeaders; + + static concat( + ...targets: Array + ): AxiosHeaders; + + setContentType(value: ContentType, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; + getContentType(parser?: RegExp): RegExpExecArray | null; + getContentType(matcher?: AxiosHeaderMatcher): axios.AxiosHeaderValue; + hasContentType(matcher?: AxiosHeaderMatcher): boolean; + + setContentLength( + value: axios.AxiosHeaderValue, + rewrite?: boolean | AxiosHeaderMatcher + ): AxiosHeaders; + getContentLength(parser?: RegExp): RegExpExecArray | null; + getContentLength(matcher?: AxiosHeaderMatcher): axios.AxiosHeaderValue; + hasContentLength(matcher?: AxiosHeaderMatcher): boolean; + + setAccept(value: axios.AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; + getAccept(parser?: RegExp): RegExpExecArray | null; + getAccept(matcher?: AxiosHeaderMatcher): axios.AxiosHeaderValue; + hasAccept(matcher?: AxiosHeaderMatcher): boolean; + + setUserAgent(value: axios.AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; + getUserAgent(parser?: RegExp): RegExpExecArray | null; + getUserAgent(matcher?: AxiosHeaderMatcher): axios.AxiosHeaderValue; + hasUserAgent(matcher?: AxiosHeaderMatcher): boolean; + + setContentEncoding( + value: axios.AxiosHeaderValue, + rewrite?: boolean | AxiosHeaderMatcher + ): AxiosHeaders; + getContentEncoding(parser?: RegExp): RegExpExecArray | null; + getContentEncoding(matcher?: AxiosHeaderMatcher): axios.AxiosHeaderValue; + hasContentEncoding(matcher?: AxiosHeaderMatcher): boolean; + + setAuthorization( + value: axios.AxiosHeaderValue, + rewrite?: boolean | AxiosHeaderMatcher + ): AxiosHeaders; + getAuthorization(parser?: RegExp): RegExpExecArray | null; + getAuthorization(matcher?: AxiosHeaderMatcher): axios.AxiosHeaderValue; + hasAuthorization(matcher?: AxiosHeaderMatcher): boolean; + + getSetCookie(): string[]; + + toString(): string; + + [Symbol.iterator](): IterableIterator<[string, axios.AxiosHeaderValue]>; +} + +declare class AxiosError extends Error { + constructor( + message?: string, + code?: string, + config?: axios.InternalAxiosRequestConfig, + request?: any, + response?: axios.AxiosResponse + ); + + config?: axios.InternalAxiosRequestConfig; + code?: string; + request?: any; + response?: axios.AxiosResponse; + isAxiosError: boolean; + status?: number; + toJSON: () => object; + cause?: Error; + event?: BrowserProgressEvent; + static from( + error: Error | unknown, + code?: string, + config?: axios.InternalAxiosRequestConfig, + request?: any, + response?: axios.AxiosResponse, + customProps?: object + ): AxiosError; + static readonly ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS'; + static readonly ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE'; + static readonly ERR_BAD_OPTION = 'ERR_BAD_OPTION'; + static readonly ERR_NETWORK = 'ERR_NETWORK'; + static readonly ERR_DEPRECATED = 'ERR_DEPRECATED'; + static readonly ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE'; + static readonly ERR_BAD_REQUEST = 'ERR_BAD_REQUEST'; + static readonly ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT'; + static readonly ERR_INVALID_URL = 'ERR_INVALID_URL'; + static readonly ERR_CANCELED = 'ERR_CANCELED'; + static readonly ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED'; + static readonly ECONNABORTED = 'ECONNABORTED'; + static readonly ECONNREFUSED = 'ECONNREFUSED'; + static readonly ETIMEDOUT = 'ETIMEDOUT'; +} + +declare class CanceledError extends AxiosError { + constructor(message?: string, config?: axios.InternalAxiosRequestConfig, request?: any); + readonly name: 'CanceledError'; + __CANCEL__?: boolean; +} + +declare class Axios { + constructor(config?: axios.AxiosRequestConfig); + defaults: axios.AxiosDefaults; + interceptors: { + request: axios.AxiosInterceptorManager; + response: axios.AxiosInterceptorManager; + }; + getUri(config?: axios.AxiosRequestConfig): string; + request, D = any>( + config: axios.AxiosRequestConfig + ): Promise; + get, D = any>( + url: string, + config?: axios.AxiosRequestConfig + ): Promise; + delete, D = any>( + url: string, + config?: axios.AxiosRequestConfig + ): Promise; + head, D = any>( + url: string, + config?: axios.AxiosRequestConfig + ): Promise; + options, D = any>( + url: string, + config?: axios.AxiosRequestConfig + ): Promise; + post, D = any>( + url: string, + data?: D, + config?: axios.AxiosRequestConfig + ): Promise; + put, D = any>( + url: string, + data?: D, + config?: axios.AxiosRequestConfig + ): Promise; + patch, D = any>( + url: string, + data?: D, + config?: axios.AxiosRequestConfig + ): Promise; + postForm, D = any>( + url: string, + data?: D, + config?: axios.AxiosRequestConfig + ): Promise; + putForm, D = any>( + url: string, + data?: D, + config?: axios.AxiosRequestConfig + ): Promise; + patchForm, D = any>( + url: string, + data?: D, + config?: axios.AxiosRequestConfig + ): Promise; + query, D = any>( + url: string, + data?: D, + config?: axios.AxiosRequestConfig + ): Promise; +} + +declare enum HttpStatusCode { + Continue = 100, + SwitchingProtocols = 101, + Processing = 102, + EarlyHints = 103, + Ok = 200, + Created = 201, + Accepted = 202, + NonAuthoritativeInformation = 203, + NoContent = 204, + ResetContent = 205, + PartialContent = 206, + MultiStatus = 207, + AlreadyReported = 208, + ImUsed = 226, + MultipleChoices = 300, + MovedPermanently = 301, + Found = 302, + SeeOther = 303, + NotModified = 304, + UseProxy = 305, + Unused = 306, + TemporaryRedirect = 307, + PermanentRedirect = 308, + BadRequest = 400, + Unauthorized = 401, + PaymentRequired = 402, + Forbidden = 403, + NotFound = 404, + MethodNotAllowed = 405, + NotAcceptable = 406, + ProxyAuthenticationRequired = 407, + RequestTimeout = 408, + Conflict = 409, + Gone = 410, + LengthRequired = 411, + PreconditionFailed = 412, + PayloadTooLarge = 413, + UriTooLong = 414, + UnsupportedMediaType = 415, + RangeNotSatisfiable = 416, + ExpectationFailed = 417, + ImATeapot = 418, + MisdirectedRequest = 421, + UnprocessableEntity = 422, + Locked = 423, + FailedDependency = 424, + TooEarly = 425, + UpgradeRequired = 426, + PreconditionRequired = 428, + TooManyRequests = 429, + RequestHeaderFieldsTooLarge = 431, + UnavailableForLegalReasons = 451, + InternalServerError = 500, + NotImplemented = 501, + BadGateway = 502, + ServiceUnavailable = 503, + GatewayTimeout = 504, + HttpVersionNotSupported = 505, + VariantAlsoNegotiates = 506, + InsufficientStorage = 507, + LoopDetected = 508, + NotExtended = 510, + NetworkAuthenticationRequired = 511, + WebServerIsDown = 521, + ConnectionTimedOut = 522, + OriginIsUnreachable = 523, + TimeoutOccurred = 524, + SslHandshakeFailed = 525, + InvalidSslCertificate = 526, +} + +type InternalAxiosError = AxiosError; + +declare namespace axios { + type AxiosError = InternalAxiosError; + + interface RawAxiosHeaders { + [key: string]: AxiosHeaderValue; + } + + type RawAxiosRequestHeaders = Partial< + RawAxiosHeaders & { + [Key in CommonRequestHeadersList]: AxiosHeaderValue; + } & { + 'Content-Type': ContentType; + } + >; + + type AxiosRequestHeaders = RawAxiosRequestHeaders & AxiosHeaders; + + type AxiosHeaderValue = AxiosHeaders | string | string[] | number | boolean | null; + + type RawCommonResponseHeaders = { + [Key in CommonResponseHeaderKey]: AxiosHeaderValue; + } & { + 'set-cookie': string[]; + }; + + type RawAxiosResponseHeaders = Partial; + + type AxiosResponseHeaders = RawAxiosResponseHeaders & AxiosHeaders; + + interface AxiosRequestTransformer { + (this: InternalAxiosRequestConfig, data: any, headers: AxiosRequestHeaders): any; + } + + interface AxiosResponseTransformer { + ( + this: InternalAxiosRequestConfig, + data: any, + headers: AxiosResponseHeaders, + status?: number + ): any; + } + + interface AxiosAdapter { + (config: InternalAxiosRequestConfig): AxiosPromise; + } + + interface AxiosBasicCredentials { + username: string; + password: string; + } + + interface AxiosProxyConfig { + host: string; + port: number; + auth?: AxiosBasicCredentials; + protocol?: string; + } + + type UppercaseMethod = + | 'GET' + | 'DELETE' + | 'HEAD' + | 'OPTIONS' + | 'POST' + | 'PUT' + | 'PATCH' + | 'PURGE' + | 'LINK' + | 'UNLINK' + | 'QUERY'; + + type Method = (UppercaseMethod | Lowercase) & {}; + + type ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' | 'formdata'; + + type UppercaseResponseEncoding = + | 'ASCII' + | 'ANSI' + | 'BINARY' + | 'BASE64' + | 'BASE64URL' + | 'HEX' + | 'LATIN1' + | 'UCS-2' + | 'UCS2' + | 'UTF-8' + | 'UTF8' + | 'UTF16LE'; + + type responseEncoding = (UppercaseResponseEncoding | Lowercase) & {}; + + interface TransitionalOptions { + silentJSONParsing?: boolean; + forcedJSONParsing?: boolean; + clarifyTimeoutError?: boolean; + legacyInterceptorReqResOrdering?: boolean; + advertiseZstdAcceptEncoding?: boolean; + validateStatusUndefinedResolves?: boolean; + } + + interface GenericAbortSignal { + readonly aborted: boolean; + onabort?: ((...args: any) => any) | null; + addEventListener?: (...args: any) => any; + removeEventListener?: (...args: any) => any; + } + + interface FormDataVisitorHelpers { + defaultVisitor: SerializerVisitor; + convertValue: (value: any) => any; + isVisitable: (value: any) => boolean; + } + + interface SerializerVisitor { + ( + this: GenericFormData, + value: any, + key: string | number, + path: null | Array, + helpers: FormDataVisitorHelpers + ): boolean; + } + + interface SerializerOptions { + visitor?: SerializerVisitor; + dots?: boolean; + metaTokens?: boolean; + indexes?: boolean | null; + maxDepth?: number; + Blob?: { new (...args: any[]): any }; + } + + // tslint:disable-next-line + interface FormSerializerOptions extends SerializerOptions {} + + interface ParamEncoder { + (value: any, defaultEncoder: (value: any) => any): any; + } + + interface CustomParamsSerializer { + (params: Record, options?: ParamsSerializerOptions): string; + } + + interface ParamsSerializerOptions extends SerializerOptions { + encode?: ParamEncoder; + serialize?: CustomParamsSerializer; + } + + type MaxUploadRate = number; + + type MaxDownloadRate = number; + + interface AxiosProgressEvent { + loaded: number; + total?: number; + progress?: number; + bytes: number; + rate?: number; + estimated?: number; + upload?: boolean; + download?: boolean; + event?: BrowserProgressEvent; + lengthComputable: boolean; + } + + type Milliseconds = number; + + type AxiosAdapterName = 'fetch' | 'xhr' | 'http' | (string & {}); + + type AxiosAdapterConfig = AxiosAdapter | AxiosAdapterName; + + type AddressFamily = 4 | 6 | undefined; + + interface LookupAddressEntry { + address: string; + family?: AddressFamily; + } + + type LookupAddress = string | LookupAddressEntry; + + interface AxiosRequestConfig { + url?: string; + method?: Method | string; + baseURL?: string; + allowAbsoluteUrls?: boolean; + transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[]; + transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[]; + headers?: (RawAxiosRequestHeaders & MethodsHeaders) | AxiosHeaders; + params?: any; + paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer; + data?: D; + timeout?: Milliseconds; + timeoutErrorMessage?: string; + withCredentials?: boolean; + adapter?: AxiosAdapterConfig | AxiosAdapterConfig[]; + auth?: AxiosBasicCredentials; + responseType?: ResponseType; + responseEncoding?: responseEncoding | string; + xsrfCookieName?: string; + xsrfHeaderName?: string; + onUploadProgress?: (progressEvent: AxiosProgressEvent) => void; + onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void; + maxContentLength?: number; + validateStatus?: ((status: number) => boolean) | null; + maxBodyLength?: number; + maxRedirects?: number; + maxRate?: number | [MaxUploadRate, MaxDownloadRate]; + beforeRedirect?: ( + options: Record, + responseDetails: { headers: Record; statusCode: HttpStatusCode }, + requestDetails: { headers: Record; url: string; method: string }, + ) => void; + socketPath?: string | null; + allowedSocketPaths?: string | string[] | null; + transport?: any; + httpAgent?: any; + httpsAgent?: any; + proxy?: AxiosProxyConfig | false; + cancelToken?: CancelToken | undefined; + decompress?: boolean; + transitional?: TransitionalOptions; + signal?: GenericAbortSignal; + insecureHTTPParser?: boolean; + env?: { + FormData?: new (...args: any[]) => object; + fetch?: (input: URL | Request | string, init?: RequestInit) => Promise; + Request?: new (input: URL | Request | string, init?: RequestInit) => Request; + Response?: new ( + body?: ArrayBuffer | ArrayBufferView | Blob | FormData | URLSearchParams | string | null, + init?: ResponseInit + ) => Response; + }; + formSerializer?: FormSerializerOptions; + family?: AddressFamily; + lookup?: + | (( + hostname: string, + options: object, + cb: ( + err: Error | null, + address: LookupAddress | LookupAddress[], + family?: AddressFamily + ) => void + ) => void) + | (( + hostname: string, + options: object + ) => Promise< + | [address: LookupAddressEntry | LookupAddressEntry[], family?: AddressFamily] + | LookupAddress + >); + withXSRFToken?: boolean | ((config: InternalAxiosRequestConfig) => boolean | undefined); + parseReviver?: (this: any, key: string, value: any, context?: { source?: string }) => any; + fetchOptions?: + | Omit + | Record; + httpVersion?: 1 | 2; + http2Options?: Record & { + sessionTimeout?: number; + }; + formDataHeaderPolicy?: 'legacy' | 'content-only'; + redact?: string[]; + sensitiveHeaders?: string[]; + } + + // Alias + type RawAxiosRequestConfig = AxiosRequestConfig; + + interface InternalAxiosRequestConfig extends AxiosRequestConfig { + headers: AxiosRequestHeaders; + } + + interface HeadersDefaults { + common: RawAxiosRequestHeaders; + delete: RawAxiosRequestHeaders; + get: RawAxiosRequestHeaders; + head: RawAxiosRequestHeaders; + post: RawAxiosRequestHeaders; + put: RawAxiosRequestHeaders; + patch: RawAxiosRequestHeaders; + options?: RawAxiosRequestHeaders; + purge?: RawAxiosRequestHeaders; + link?: RawAxiosRequestHeaders; + unlink?: RawAxiosRequestHeaders; + query?: RawAxiosRequestHeaders; + } + + interface AxiosDefaults extends Omit, 'headers'> { + headers: HeadersDefaults; + } + + interface CreateAxiosDefaults extends Omit, 'headers'> { + headers?: RawAxiosRequestHeaders | AxiosHeaders | Partial; + } + + interface AxiosResponse { + data: T; + status: number; + statusText: string; + headers: (H & RawAxiosResponseHeaders) | AxiosResponseHeaders; + config: InternalAxiosRequestConfig; + request?: any; + } + + type AxiosPromise = Promise>; + + interface CancelStatic { + new (message?: string): Cancel; + } + + interface Cancel { + message: string | undefined; + } + + interface Canceler { + (message?: string, config?: AxiosRequestConfig, request?: any): void; + } + + interface CancelTokenStatic { + new (executor: (cancel: Canceler) => void): CancelToken; + source(): CancelTokenSource; + } + + interface CancelToken { + promise: Promise; + reason?: Cancel; + throwIfRequested(): void; + subscribe(listener: (cancel: Cancel | any) => void): void; + unsubscribe(listener: (cancel: Cancel | any) => void): void; + toAbortSignal(): AbortSignal; + } + + interface CancelTokenSource { + token: CancelToken; + cancel: Canceler; + } + + interface AxiosInterceptorOptions { + synchronous?: boolean; + runWhen?: ((config: InternalAxiosRequestConfig) => boolean) | null; + } + + type AxiosInterceptorFulfilled = (value: T) => T | Promise; + type AxiosInterceptorRejected = (error: any) => any; + + type AxiosRequestInterceptorUse = ( + onFulfilled?: AxiosInterceptorFulfilled | null, + onRejected?: AxiosInterceptorRejected | null, + options?: AxiosInterceptorOptions + ) => number; + + type AxiosResponseInterceptorUse = ( + onFulfilled?: AxiosInterceptorFulfilled | null, + onRejected?: AxiosInterceptorRejected | null + ) => number; + + interface AxiosInterceptorHandler { + fulfilled: AxiosInterceptorFulfilled; + rejected?: AxiosInterceptorRejected; + synchronous: boolean; + runWhen?: ((config: InternalAxiosRequestConfig) => boolean) | null; + } + + interface AxiosInterceptorManager { + use: V extends AxiosResponse ? AxiosResponseInterceptorUse : AxiosRequestInterceptorUse; + eject(id: number): void; + clear(): void; + handlers?: Array>; + } + + interface AxiosInstance extends Axios { + , D = any>(config: AxiosRequestConfig): Promise; + , D = any>( + url: string, + config?: AxiosRequestConfig + ): Promise; + + create(config?: CreateAxiosDefaults): AxiosInstance; + defaults: Omit & { + headers: HeadersDefaults & { + [key: string]: AxiosHeaderValue; + }; + }; + } + + interface GenericFormData { + append(name: string, value: any, options?: any): any; + } + + interface GenericHTMLFormElement { + name: string; + method: string; + submit(): void; + } + + interface AxiosStatic extends AxiosInstance { + Cancel: typeof CanceledError; + CancelToken: CancelTokenStatic; + Axios: typeof Axios; + AxiosError: typeof AxiosError; + CanceledError: typeof CanceledError; + HttpStatusCode: typeof HttpStatusCode; + readonly VERSION: string; + isCancel(value: any): value is CanceledError; + all(values: Array>): Promise; + spread(callback: (...args: T[]) => R): (array: T[]) => R; + isAxiosError(payload: any): payload is AxiosError; + toFormData( + sourceObj: object, + targetFormData?: GenericFormData, + options?: FormSerializerOptions + ): GenericFormData; + formToJSON(form: GenericFormData | GenericHTMLFormElement): object; + getAdapter(adapters: AxiosAdapterConfig | AxiosAdapterConfig[] | undefined): AxiosAdapter; + AxiosHeaders: typeof AxiosHeaders; + mergeConfig( + config1: AxiosRequestConfig, + config2: AxiosRequestConfig + ): AxiosRequestConfig; + } +} + +declare const axios: axios.AxiosStatic; + +export = axios; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/axios/index.d.ts new file mode 100644 index 0000000..d63aa4f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/index.d.ts @@ -0,0 +1,755 @@ +// TypeScript Version: 4.7 +type StringLiteralsOrString = Literals | (string & {}); + +export type AxiosHeaderValue = AxiosHeaders | string | string[] | number | boolean | null; + +export interface RawAxiosHeaders { + [key: string]: AxiosHeaderValue; +} + +type MethodsHeaders = Partial< + { + [Key in Method as Lowercase]: AxiosHeaders; + } & { common: AxiosHeaders } +>; + +type AxiosHeaderMatcher = + | string + | RegExp + | ((this: AxiosHeaders, value: string, name: string) => boolean); + +type AxiosHeaderParser = (this: AxiosHeaders, value: AxiosHeaderValue, header: string) => any; + +export class AxiosHeaders { + constructor(headers?: RawAxiosHeaders | AxiosHeaders | string); + + [key: string]: any; + + set( + headerName?: string, + value?: AxiosHeaderValue, + rewrite?: boolean | AxiosHeaderMatcher + ): AxiosHeaders; + set(headers?: RawAxiosHeaders | AxiosHeaders | string, rewrite?: boolean): AxiosHeaders; + set(headers?: Iterable<[string, AxiosHeaderValue]>, rewrite?: boolean): AxiosHeaders; + + get(headerName: string, parser: RegExp): RegExpExecArray | null; + get(headerName: string, matcher?: true | AxiosHeaderParser): AxiosHeaderValue; + + has(header: string, matcher?: AxiosHeaderMatcher): boolean; + + delete(header: string | string[], matcher?: AxiosHeaderMatcher): boolean; + + clear(matcher?: AxiosHeaderMatcher): boolean; + + normalize(format: boolean): AxiosHeaders; + + concat( + ...targets: Array + ): AxiosHeaders; + + toJSON(asStrings: true): Record; + toJSON(asStrings?: false): Record; + toJSON(asStrings?: boolean): Record; + + static from(thing?: AxiosHeaders | RawAxiosHeaders | string): AxiosHeaders; + + static accessor(header: string | string[]): AxiosHeaders; + + static concat( + ...targets: Array + ): AxiosHeaders; + + setContentType(value: ContentType, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; + getContentType(parser?: RegExp): RegExpExecArray | null; + getContentType(matcher?: AxiosHeaderMatcher): AxiosHeaderValue; + hasContentType(matcher?: AxiosHeaderMatcher): boolean; + + setContentLength(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; + getContentLength(parser?: RegExp): RegExpExecArray | null; + getContentLength(matcher?: AxiosHeaderMatcher): AxiosHeaderValue; + hasContentLength(matcher?: AxiosHeaderMatcher): boolean; + + setAccept(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; + getAccept(parser?: RegExp): RegExpExecArray | null; + getAccept(matcher?: AxiosHeaderMatcher): AxiosHeaderValue; + hasAccept(matcher?: AxiosHeaderMatcher): boolean; + + setUserAgent(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; + getUserAgent(parser?: RegExp): RegExpExecArray | null; + getUserAgent(matcher?: AxiosHeaderMatcher): AxiosHeaderValue; + hasUserAgent(matcher?: AxiosHeaderMatcher): boolean; + + setContentEncoding(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; + getContentEncoding(parser?: RegExp): RegExpExecArray | null; + getContentEncoding(matcher?: AxiosHeaderMatcher): AxiosHeaderValue; + hasContentEncoding(matcher?: AxiosHeaderMatcher): boolean; + + setAuthorization(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; + getAuthorization(parser?: RegExp): RegExpExecArray | null; + getAuthorization(matcher?: AxiosHeaderMatcher): AxiosHeaderValue; + hasAuthorization(matcher?: AxiosHeaderMatcher): boolean; + + getSetCookie(): string[]; + + toString(): string; + + [Symbol.iterator](): IterableIterator<[string, AxiosHeaderValue]>; +} + +type CommonRequestHeadersList = + | 'Accept' + | 'Content-Length' + | 'User-Agent' + | 'Content-Encoding' + | 'Authorization' + | 'Location'; + +type ContentType = + | AxiosHeaderValue + | 'text/html' + | 'text/plain' + | 'multipart/form-data' + | 'application/json' + | 'application/x-www-form-urlencoded' + | 'application/octet-stream'; + +export type RawAxiosRequestHeaders = Partial< + RawAxiosHeaders & { + [Key in CommonRequestHeadersList]: AxiosHeaderValue; + } & { + 'Content-Type': ContentType; + } +>; + +export type AxiosRequestHeaders = RawAxiosRequestHeaders & AxiosHeaders; + +type CommonResponseHeadersList = + | 'Server' + | 'Content-Type' + | 'Content-Length' + | 'Cache-Control' + | 'Content-Encoding'; + +type CommonResponseHeaderKey = CommonResponseHeadersList | Lowercase; + +type RawCommonResponseHeaders = { + [Key in CommonResponseHeaderKey]: AxiosHeaderValue; +} & { + 'set-cookie': string[]; +}; + +export type RawAxiosResponseHeaders = Partial; + +export type AxiosResponseHeaders = RawAxiosResponseHeaders & AxiosHeaders; + +export interface AxiosRequestTransformer { + (this: InternalAxiosRequestConfig, data: any, headers: AxiosRequestHeaders): any; +} + +export interface AxiosResponseTransformer { + ( + this: InternalAxiosRequestConfig, + data: any, + headers: AxiosResponseHeaders, + status?: number + ): any; +} + +export interface AxiosAdapter { + (config: InternalAxiosRequestConfig): AxiosPromise; +} + +export interface AxiosBasicCredentials { + username: string; + password: string; +} + +export interface AxiosProxyConfig { + host: string; + port: number; + auth?: AxiosBasicCredentials; + protocol?: string; +} + +export enum HttpStatusCode { + Continue = 100, + SwitchingProtocols = 101, + Processing = 102, + EarlyHints = 103, + Ok = 200, + Created = 201, + Accepted = 202, + NonAuthoritativeInformation = 203, + NoContent = 204, + ResetContent = 205, + PartialContent = 206, + MultiStatus = 207, + AlreadyReported = 208, + ImUsed = 226, + MultipleChoices = 300, + MovedPermanently = 301, + Found = 302, + SeeOther = 303, + NotModified = 304, + UseProxy = 305, + Unused = 306, + TemporaryRedirect = 307, + PermanentRedirect = 308, + BadRequest = 400, + Unauthorized = 401, + PaymentRequired = 402, + Forbidden = 403, + NotFound = 404, + MethodNotAllowed = 405, + NotAcceptable = 406, + ProxyAuthenticationRequired = 407, + RequestTimeout = 408, + Conflict = 409, + Gone = 410, + LengthRequired = 411, + PreconditionFailed = 412, + PayloadTooLarge = 413, + UriTooLong = 414, + UnsupportedMediaType = 415, + RangeNotSatisfiable = 416, + ExpectationFailed = 417, + ImATeapot = 418, + MisdirectedRequest = 421, + UnprocessableEntity = 422, + Locked = 423, + FailedDependency = 424, + TooEarly = 425, + UpgradeRequired = 426, + PreconditionRequired = 428, + TooManyRequests = 429, + RequestHeaderFieldsTooLarge = 431, + UnavailableForLegalReasons = 451, + InternalServerError = 500, + NotImplemented = 501, + BadGateway = 502, + ServiceUnavailable = 503, + GatewayTimeout = 504, + HttpVersionNotSupported = 505, + VariantAlsoNegotiates = 506, + InsufficientStorage = 507, + LoopDetected = 508, + NotExtended = 510, + NetworkAuthenticationRequired = 511, + WebServerIsDown = 521, + ConnectionTimedOut = 522, + OriginIsUnreachable = 523, + TimeoutOccurred = 524, + SslHandshakeFailed = 525, + InvalidSslCertificate = 526, +} + +type UppercaseMethod = + | 'GET' + | 'DELETE' + | 'HEAD' + | 'OPTIONS' + | 'POST' + | 'PUT' + | 'PATCH' + | 'PURGE' + | 'LINK' + | 'UNLINK' + | 'QUERY'; + +export type Method = (UppercaseMethod | Lowercase) & {}; + +export type ResponseType = + | 'arraybuffer' + | 'blob' + | 'document' + | 'json' + | 'text' + | 'stream' + | 'formdata'; + +type UppercaseResponseEncoding = + | 'ASCII' + | 'ANSI' + | 'BINARY' + | 'BASE64' + | 'BASE64URL' + | 'HEX' + | 'LATIN1' + | 'UCS-2' + | 'UCS2' + | 'UTF-8' + | 'UTF8' + | 'UTF16LE'; + +export type responseEncoding = ( + | UppercaseResponseEncoding + | Lowercase +) & {}; + +export interface TransitionalOptions { + silentJSONParsing?: boolean; + forcedJSONParsing?: boolean; + clarifyTimeoutError?: boolean; + legacyInterceptorReqResOrdering?: boolean; + advertiseZstdAcceptEncoding?: boolean; + validateStatusUndefinedResolves?: boolean; +} + +export interface GenericAbortSignal { + readonly aborted: boolean; + onabort?: ((...args: any) => any) | null; + addEventListener?: (...args: any) => any; + removeEventListener?: (...args: any) => any; +} + +export interface FormDataVisitorHelpers { + defaultVisitor: SerializerVisitor; + convertValue: (value: any) => any; + isVisitable: (value: any) => boolean; +} + +export interface SerializerVisitor { + ( + this: GenericFormData, + value: any, + key: string | number, + path: null | Array, + helpers: FormDataVisitorHelpers + ): boolean; +} + +export interface SerializerOptions { + visitor?: SerializerVisitor; + dots?: boolean; + metaTokens?: boolean; + indexes?: boolean | null; + maxDepth?: number; + Blob?: { new (...args: any[]): any }; +} + +// tslint:disable-next-line +export interface FormSerializerOptions extends SerializerOptions {} + +export interface ParamEncoder { + (value: any, defaultEncoder: (value: any) => any): any; +} + +export interface CustomParamsSerializer { + (params: Record, options?: ParamsSerializerOptions): string; +} + +export interface ParamsSerializerOptions extends SerializerOptions { + encode?: ParamEncoder; + serialize?: CustomParamsSerializer; +} + +type MaxUploadRate = number; + +type MaxDownloadRate = number; + +type BrowserProgressEvent = any; + +export interface AxiosProgressEvent { + loaded: number; + total?: number; + progress?: number; + bytes: number; + rate?: number; + estimated?: number; + upload?: boolean; + download?: boolean; + event?: BrowserProgressEvent; + lengthComputable: boolean; +} + +type Milliseconds = number; + +type AxiosAdapterName = StringLiteralsOrString<'xhr' | 'http' | 'fetch'>; + +type AxiosAdapterConfig = AxiosAdapter | AxiosAdapterName; + +export type AddressFamily = 4 | 6 | undefined; + +export interface LookupAddressEntry { + address: string; + family?: AddressFamily; +} + +export type LookupAddress = string | LookupAddressEntry; + +export interface AxiosRequestConfig { + url?: string; + method?: StringLiteralsOrString; + baseURL?: string; + allowAbsoluteUrls?: boolean; + transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[]; + transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[]; + headers?: (RawAxiosRequestHeaders & MethodsHeaders) | AxiosHeaders; + params?: any; + paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer; + data?: D; + timeout?: Milliseconds; + timeoutErrorMessage?: string; + withCredentials?: boolean; + adapter?: AxiosAdapterConfig | AxiosAdapterConfig[]; + auth?: AxiosBasicCredentials; + responseType?: ResponseType; + responseEncoding?: StringLiteralsOrString; + xsrfCookieName?: string; + xsrfHeaderName?: string; + onUploadProgress?: (progressEvent: AxiosProgressEvent) => void; + onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void; + maxContentLength?: number; + validateStatus?: ((status: number) => boolean) | null; + maxBodyLength?: number; + maxRedirects?: number; + maxRate?: number | [MaxUploadRate, MaxDownloadRate]; + beforeRedirect?: ( + options: Record, + responseDetails: { + headers: Record; + statusCode: HttpStatusCode; + }, + requestDetails: { + headers: Record; + url: string; + method: string; + }, + ) => void; + socketPath?: string | null; + allowedSocketPaths?: string | string[] | null; + transport?: any; + httpAgent?: any; + httpsAgent?: any; + proxy?: AxiosProxyConfig | false; + cancelToken?: CancelToken | undefined; + decompress?: boolean; + transitional?: TransitionalOptions; + signal?: GenericAbortSignal; + insecureHTTPParser?: boolean; + env?: { + FormData?: new (...args: any[]) => object; + fetch?: (input: URL | Request | string, init?: RequestInit) => Promise; + Request?: new (input: URL | Request | string, init?: RequestInit) => Request; + Response?: new ( + body?: ArrayBuffer | ArrayBufferView | Blob | FormData | URLSearchParams | string | null, + init?: ResponseInit + ) => Response; + }; + formSerializer?: FormSerializerOptions; + family?: AddressFamily; + lookup?: + | (( + hostname: string, + options: object, + cb: ( + err: Error | null, + address: LookupAddress | LookupAddress[], + family?: AddressFamily + ) => void + ) => void) + | (( + hostname: string, + options: object + ) => Promise< + [address: LookupAddressEntry | LookupAddressEntry[], family?: AddressFamily] | LookupAddress + >); + withXSRFToken?: boolean | ((config: InternalAxiosRequestConfig) => boolean | undefined); + parseReviver?: (this: any, key: string, value: any, context?: { source?: string }) => any; + fetchOptions?: Omit | Record; + httpVersion?: 1 | 2; + http2Options?: Record & { + sessionTimeout?: number; + }; + formDataHeaderPolicy?: 'legacy' | 'content-only'; + redact?: string[]; + sensitiveHeaders?: string[]; +} + +// Alias +export type RawAxiosRequestConfig = AxiosRequestConfig; + +export interface InternalAxiosRequestConfig extends AxiosRequestConfig { + headers: AxiosRequestHeaders; +} + +export interface HeadersDefaults { + common: RawAxiosRequestHeaders; + delete: RawAxiosRequestHeaders; + get: RawAxiosRequestHeaders; + head: RawAxiosRequestHeaders; + post: RawAxiosRequestHeaders; + put: RawAxiosRequestHeaders; + patch: RawAxiosRequestHeaders; + options?: RawAxiosRequestHeaders; + purge?: RawAxiosRequestHeaders; + link?: RawAxiosRequestHeaders; + unlink?: RawAxiosRequestHeaders; + query?: RawAxiosRequestHeaders; +} + +export interface AxiosDefaults extends Omit, 'headers'> { + headers: HeadersDefaults; +} + +export interface CreateAxiosDefaults extends Omit, 'headers'> { + headers?: RawAxiosRequestHeaders | AxiosHeaders | Partial; +} + +export interface AxiosResponse { + data: T; + status: number; + statusText: string; + headers: (H & RawAxiosResponseHeaders) | AxiosResponseHeaders; + config: InternalAxiosRequestConfig; + request?: any; +} + +export class AxiosError extends Error { + constructor( + message?: string, + code?: string, + config?: InternalAxiosRequestConfig, + request?: any, + response?: AxiosResponse + ); + + config?: InternalAxiosRequestConfig; + code?: string; + request?: any; + response?: AxiosResponse; + isAxiosError: boolean; + status?: number; + toJSON: () => object; + cause?: Error; + event?: BrowserProgressEvent; + static from( + error: Error | unknown, + code?: string, + config?: InternalAxiosRequestConfig, + request?: any, + response?: AxiosResponse, + customProps?: object + ): AxiosError; + static readonly ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS'; + static readonly ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE'; + static readonly ERR_BAD_OPTION = 'ERR_BAD_OPTION'; + static readonly ERR_NETWORK = 'ERR_NETWORK'; + static readonly ERR_DEPRECATED = 'ERR_DEPRECATED'; + static readonly ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE'; + static readonly ERR_BAD_REQUEST = 'ERR_BAD_REQUEST'; + static readonly ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT'; + static readonly ERR_INVALID_URL = 'ERR_INVALID_URL'; + static readonly ERR_CANCELED = 'ERR_CANCELED'; + static readonly ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED'; + static readonly ECONNABORTED = 'ECONNABORTED'; + static readonly ECONNREFUSED = 'ECONNREFUSED'; + static readonly ETIMEDOUT = 'ETIMEDOUT'; +} + +export class CanceledError extends AxiosError { + constructor(message?: string, config?: InternalAxiosRequestConfig, request?: any); + readonly name: 'CanceledError'; + __CANCEL__?: boolean; +} + +export type AxiosPromise = Promise>; + +export interface CancelStatic { + new (message?: string): Cancel; +} + +export interface Cancel { + message: string | undefined; +} + +export interface Canceler { + (message?: string, config?: AxiosRequestConfig, request?: any): void; +} + +export interface CancelTokenStatic { + new (executor: (cancel: Canceler) => void): CancelToken; + source(): CancelTokenSource; +} + +export interface CancelToken { + promise: Promise; + reason?: Cancel; + throwIfRequested(): void; + subscribe(listener: (cancel: Cancel | any) => void): void; + unsubscribe(listener: (cancel: Cancel | any) => void): void; + toAbortSignal(): AbortSignal; +} + +export interface CancelTokenSource { + token: CancelToken; + cancel: Canceler; +} + +export interface AxiosInterceptorOptions { + synchronous?: boolean; + runWhen?: ((config: InternalAxiosRequestConfig) => boolean) | null; +} + +type AxiosInterceptorFulfilled = (value: T) => T | Promise; +type AxiosInterceptorRejected = (error: any) => any; + +type AxiosRequestInterceptorUse = ( + onFulfilled?: AxiosInterceptorFulfilled | null, + onRejected?: AxiosInterceptorRejected | null, + options?: AxiosInterceptorOptions +) => number; + +type AxiosResponseInterceptorUse = ( + onFulfilled?: AxiosInterceptorFulfilled | null, + onRejected?: AxiosInterceptorRejected | null +) => number; + +interface AxiosInterceptorHandler { + fulfilled: AxiosInterceptorFulfilled; + rejected?: AxiosInterceptorRejected; + synchronous: boolean; + runWhen?: ((config: InternalAxiosRequestConfig) => boolean) | null; +} + +export interface AxiosInterceptorManager { + use: V extends AxiosResponse ? AxiosResponseInterceptorUse : AxiosRequestInterceptorUse; + eject(id: number): void; + clear(): void; + handlers?: Array>; +} + +export class Axios { + constructor(config?: AxiosRequestConfig); + defaults: AxiosDefaults; + interceptors: { + request: AxiosInterceptorManager; + response: AxiosInterceptorManager; + }; + getUri(config?: AxiosRequestConfig): string; + request, D = any>(config: AxiosRequestConfig): Promise; + get, D = any>( + url: string, + config?: AxiosRequestConfig + ): Promise; + delete, D = any>( + url: string, + config?: AxiosRequestConfig + ): Promise; + head, D = any>( + url: string, + config?: AxiosRequestConfig + ): Promise; + options, D = any>( + url: string, + config?: AxiosRequestConfig + ): Promise; + post, D = any>( + url: string, + data?: D, + config?: AxiosRequestConfig + ): Promise; + put, D = any>( + url: string, + data?: D, + config?: AxiosRequestConfig + ): Promise; + patch, D = any>( + url: string, + data?: D, + config?: AxiosRequestConfig + ): Promise; + postForm, D = any>( + url: string, + data?: D, + config?: AxiosRequestConfig + ): Promise; + putForm, D = any>( + url: string, + data?: D, + config?: AxiosRequestConfig + ): Promise; + patchForm, D = any>( + url: string, + data?: D, + config?: AxiosRequestConfig + ): Promise; + query, D = any>( + url: string, + data?: D, + config?: AxiosRequestConfig + ): Promise; +} + +export interface AxiosInstance extends Axios { + , D = any>(config: AxiosRequestConfig): Promise; + , D = any>(url: string, config?: AxiosRequestConfig): Promise; + + create(config?: CreateAxiosDefaults): AxiosInstance; + defaults: Omit & { + headers: HeadersDefaults & { + [key: string]: AxiosHeaderValue; + }; + }; +} + +export interface GenericFormData { + append(name: string, value: any, options?: any): any; +} + +export interface GenericHTMLFormElement { + name: string; + method: string; + submit(): void; +} + +export function getAdapter( + adapters: AxiosAdapterConfig | AxiosAdapterConfig[] | undefined +): AxiosAdapter; + +export function toFormData( + sourceObj: object, + targetFormData?: GenericFormData, + options?: FormSerializerOptions +): GenericFormData; + +export function formToJSON(form: GenericFormData | GenericHTMLFormElement): object; + +export function isAxiosError(payload: any): payload is AxiosError; + +export function spread(callback: (...args: T[]) => R): (array: T[]) => R; + +export function isCancel(value: any): value is CanceledError; + +export function all(values: Array>): Promise; + +export function mergeConfig( + config1: AxiosRequestConfig, + config2: AxiosRequestConfig +): AxiosRequestConfig; + +export function create(config?: CreateAxiosDefaults): AxiosInstance; + +export interface AxiosStatic extends AxiosInstance { + Cancel: typeof CanceledError; + CancelToken: CancelTokenStatic; + Axios: typeof Axios; + AxiosError: typeof AxiosError; + HttpStatusCode: typeof HttpStatusCode; + readonly VERSION: string; + isCancel: typeof isCancel; + all: typeof all; + spread: typeof spread; + isAxiosError: typeof isAxiosError; + toFormData: typeof toFormData; + formToJSON: typeof formToJSON; + getAdapter: typeof getAdapter; + CanceledError: typeof CanceledError; + AxiosHeaders: typeof AxiosHeaders; + mergeConfig: typeof mergeConfig; +} + +declare const axios: AxiosStatic; + +export default axios; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/index.js b/Lombiq.EInvoiceValidator/node_modules/axios/index.js new file mode 100644 index 0000000..5bc0365 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/index.js @@ -0,0 +1,45 @@ +import axios from './lib/axios.js'; + +// This module is intended to unwrap Axios default export as named. +// Keep top-level export same with static properties +// so that it can keep same with es module or cjs +const { + Axios, + AxiosError, + CanceledError, + isCancel, + CancelToken, + VERSION, + all, + Cancel, + isAxiosError, + spread, + toFormData, + AxiosHeaders, + HttpStatusCode, + formToJSON, + getAdapter, + mergeConfig, + create, +} = axios; + +export { + axios as default, + create, + Axios, + AxiosError, + CanceledError, + isCancel, + CancelToken, + VERSION, + all, + Cancel, + isAxiosError, + spread, + toFormData, + AxiosHeaders, + HttpStatusCode, + formToJSON, + getAdapter, + mergeConfig, +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/index.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/index.min.js new file mode 100644 index 0000000..5e2e6fd --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import axios from"./lib/axios.js";const{Axios:Axios,AxiosError:AxiosError,CanceledError:CanceledError,isCancel:isCancel,CancelToken:CancelToken,VERSION:VERSION,all:all,Cancel:Cancel,isAxiosError:isAxiosError,spread:spread,toFormData:toFormData,AxiosHeaders:AxiosHeaders,HttpStatusCode:HttpStatusCode,formToJSON:formToJSON,getAdapter:getAdapter,mergeConfig:mergeConfig,create:create}=axios;export{axios as default,create,Axios,AxiosError,CanceledError,isCancel,CancelToken,VERSION,all,Cancel,isAxiosError,spread,toFormData,AxiosHeaders,HttpStatusCode,formToJSON,getAdapter,mergeConfig}; +//# sourceMappingURL=/sm/2dad8e7281aecaef500e0dcd8e0bc625a3cf7e6e451163208893bfb54101aa8d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/README.md b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/README.md new file mode 100644 index 0000000..8d9dd97 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/README.md @@ -0,0 +1,36 @@ +# axios // adapters + +The modules under `adapters/` are modules that handle dispatching a request and settling a returned `Promise` once a response is received. + +## Example + +```js +var settle = require('../core/settle'); + +module.exports = function myAdapter(config) { + // At this point: + // - config has been merged with defaults + // - request transformers have already run + // - request interceptors have already run + + // Make the request using config provided + // Upon response settle the Promise + + return new Promise(function (resolve, reject) { + var response = { + data: responseData, + status: request.status, + statusText: request.statusText, + headers: responseHeaders, + config: config, + request: request, + }; + + settle(resolve, reject, response); + + // From here: + // - response transformers will run + // - response interceptors will run + }); +}; +``` diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.js new file mode 100644 index 0000000..aa5da5e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.js @@ -0,0 +1,132 @@ +import utils from '../utils.js'; +import httpAdapter from './http.js'; +import xhrAdapter from './xhr.js'; +import * as fetchAdapter from './fetch.js'; +import AxiosError from '../core/AxiosError.js'; + +/** + * Known adapters mapping. + * Provides environment-specific adapters for Axios: + * - `http` for Node.js + * - `xhr` for browsers + * - `fetch` for fetch API-based requests + * + * @type {Object} + */ +const knownAdapters = { + http: httpAdapter, + xhr: xhrAdapter, + fetch: { + get: fetchAdapter.getFetch, + }, +}; + +// Assign adapter names for easier debugging and identification +utils.forEach(knownAdapters, (fn, value) => { + if (fn) { + try { + // Null-proto descriptors so a polluted Object.prototype.get cannot turn + // these data descriptors into accessor descriptors on the way in. + Object.defineProperty(fn, 'name', { __proto__: null, value }); + } catch (e) { + // eslint-disable-next-line no-empty + } + Object.defineProperty(fn, 'adapterName', { __proto__: null, value }); + } +}); + +/** + * Render a rejection reason string for unknown or unsupported adapters + * + * @param {string} reason + * @returns {string} + */ +const renderReason = (reason) => `- ${reason}`; + +/** + * Check if the adapter is resolved (function, null, or false) + * + * @param {Function|null|false} adapter + * @returns {boolean} + */ +const isResolvedHandle = (adapter) => + utils.isFunction(adapter) || adapter === null || adapter === false; + +/** + * Get the first suitable adapter from the provided list. + * Tries each adapter in order until a supported one is found. + * Throws an AxiosError if no adapter is suitable. + * + * @param {Array|string|Function} adapters - Adapter(s) by name or function. + * @param {Object} config - Axios request configuration + * @throws {AxiosError} If no suitable adapter is available + * @returns {Function} The resolved adapter function + */ +function getAdapter(adapters, config) { + adapters = utils.isArray(adapters) ? adapters : [adapters]; + + const { length } = adapters; + let nameOrAdapter; + let adapter; + + const rejectedReasons = {}; + + for (let i = 0; i < length; i++) { + nameOrAdapter = adapters[i]; + let id; + + adapter = nameOrAdapter; + + if (!isResolvedHandle(nameOrAdapter)) { + adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()]; + + if (adapter === undefined) { + throw new AxiosError(`Unknown adapter '${id}'`); + } + } + + if (adapter && (utils.isFunction(adapter) || (adapter = adapter.get(config)))) { + break; + } + + rejectedReasons[id || '#' + i] = adapter; + } + + if (!adapter) { + const reasons = Object.entries(rejectedReasons).map( + ([id, state]) => + `adapter ${id} ` + + (state === false ? 'is not supported by the environment' : 'is not available in the build') + ); + + let s = length + ? reasons.length > 1 + ? 'since :\n' + reasons.map(renderReason).join('\n') + : ' ' + renderReason(reasons[0]) + : 'as no adapter specified'; + + throw new AxiosError( + `There is no suitable adapter to dispatch the request ` + s, + AxiosError.ERR_NOT_SUPPORT + ); + } + + return adapter; +} + +/** + * Exports Axios adapters and utility to resolve an adapter + */ +export default { + /** + * Resolve an adapter from a list of adapter names or functions. + * @type {Function} + */ + getAdapter, + + /** + * Exposes all known adapters + * @type {Object} + */ + adapters: knownAdapters, +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.min.js new file mode 100644 index 0000000..520d024 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/adapters/adapters.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import utils from"../utils.js";import httpAdapter from"./http.js";import xhrAdapter from"./xhr.js";import*as fetchAdapter from"./fetch.js";import AxiosError from"../core/AxiosError.js";const knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:{get:fetchAdapter.getFetch}};utils.forEach(knownAdapters,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch(t){}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});const renderReason=t=>`- ${t}`,isResolvedHandle=t=>utils.isFunction(t)||null===t||!1===t;function getAdapter(t,e){t=utils.isArray(t)?t:[t];const{length:r}=t;let o,n;const a={};for(let s=0;s`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build"));let e=r?t.length>1?"since :\n"+t.map(renderReason).join("\n"):" "+renderReason(t[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+e,AxiosError.ERR_NOT_SUPPORT)}return n}export default{getAdapter:getAdapter,adapters:knownAdapters}; +//# sourceMappingURL=/sm/2d582753fd2f5e5876b68c29633b8eef32482dbdfad61303237a5b7be43bb781.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.js new file mode 100644 index 0000000..1a2bfd5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.js @@ -0,0 +1,643 @@ +import platform from '../platform/index.js'; +import utils from '../utils.js'; +import AxiosError from '../core/AxiosError.js'; +import composeSignals from '../helpers/composeSignals.js'; +import { trackStream } from '../helpers/trackStream.js'; +import AxiosHeaders from '../core/AxiosHeaders.js'; +import { + progressEventReducer, + progressEventDecorator, + asyncDecorator, +} from '../helpers/progressEventReducer.js'; +import resolveConfig from '../helpers/resolveConfig.js'; +import settle from '../core/settle.js'; +import estimateDataURLDecodedBytes from '../helpers/estimateDataURLDecodedBytes.js'; +import { VERSION } from '../env/data.js'; +import { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js'; + +const DEFAULT_CHUNK_SIZE = 64 * 1024; + +const { isFunction } = utils; + +/** + * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). + * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. + * + * @param {string} str The string to encode + * + * @returns {string} UTF-8 bytes as a Latin-1 string + */ +const encodeUTF8 = (str) => + encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => + String.fromCharCode(parseInt(hex, 16)) + ); + +// Node's WHATWG URL parser returns `username` and `password` percent-encoded. +// Decode before composing the `auth` option so credentials such as +// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the +// original value for malformed input so a bad encoding never throws. +const decodeURIComponentSafe = (value) => { + if (!utils.isString(value)) { + return value; + } + + try { + return decodeURIComponent(value); + } catch (error) { + return value; + } +}; + +const test = (fn, ...args) => { + try { + return !!fn(...args); + } catch (e) { + return false; + } +}; + +const maybeWithAuthCredentials = (url) => { + const protocolIndex = url.indexOf('://'); + let urlToCheck = url; + if (protocolIndex !== -1) { + urlToCheck = urlToCheck.slice(protocolIndex + 3); + } + return urlToCheck.includes('@') || urlToCheck.includes(':'); +}; + +const factory = (env) => { + const globalObject = + utils.global !== undefined && utils.global !== null + ? utils.global + : globalThis; + const { ReadableStream, TextEncoder } = globalObject; + + env = utils.merge.call( + { + skipUndefined: true, + }, + { + Request: globalObject.Request, + Response: globalObject.Response, + }, + env + ); + + const { fetch: envFetch, Request, Response } = env; + const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function'; + const isRequestSupported = isFunction(Request); + const isResponseSupported = isFunction(Response); + + if (!isFetchSupported) { + return false; + } + + const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream); + + const encodeText = + isFetchSupported && + (typeof TextEncoder === 'function' + ? ( + (encoder) => (str) => + encoder.encode(str) + )(new TextEncoder()) + : async (str) => new Uint8Array(await new Request(str).arrayBuffer())); + + const supportsRequestStream = + isRequestSupported && + isReadableStreamSupported && + test(() => { + let duplexAccessed = false; + + const request = new Request(platform.origin, { + body: new ReadableStream(), + method: 'POST', + get duplex() { + duplexAccessed = true; + return 'half'; + }, + }); + + const hasContentType = request.headers.has('Content-Type'); + + if (request.body != null) { + request.body.cancel(); + } + + return duplexAccessed && !hasContentType; + }); + + const supportsResponseStream = + isResponseSupported && + isReadableStreamSupported && + test(() => utils.isReadableStream(new Response('').body)); + + const resolvers = { + stream: supportsResponseStream && ((res) => res.body), + }; + + isFetchSupported && + (() => { + ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => { + !resolvers[type] && + (resolvers[type] = (res, config) => { + let method = res && res[type]; + + if (method) { + return method.call(res); + } + + throw new AxiosError( + `Response type '${type}' is not supported`, + AxiosError.ERR_NOT_SUPPORT, + config + ); + }); + }); + })(); + + const getBodyLength = async (body) => { + if (body == null) { + return 0; + } + + if (utils.isBlob(body)) { + return body.size; + } + + if (utils.isSpecCompliantForm(body)) { + const _request = new Request(platform.origin, { + method: 'POST', + body, + }); + return (await _request.arrayBuffer()).byteLength; + } + + if (utils.isArrayBufferView(body) || utils.isArrayBuffer(body)) { + return body.byteLength; + } + + if (utils.isURLSearchParams(body)) { + body = body + ''; + } + + if (utils.isString(body)) { + return (await encodeText(body)).byteLength; + } + }; + + const resolveBodyLength = async (headers, body) => { + const length = utils.toFiniteNumber(headers.getContentLength()); + + return length == null ? getBodyLength(body) : length; + }; + + return async (config) => { + let { + url, + method, + data, + signal, + cancelToken, + timeout, + onDownloadProgress, + onUploadProgress, + responseType, + headers, + withCredentials = 'same-origin', + fetchOptions, + maxContentLength, + maxBodyLength, + } = resolveConfig(config); + + const hasMaxContentLength = utils.isNumber(maxContentLength) && maxContentLength > -1; + const hasMaxBodyLength = utils.isNumber(maxBodyLength) && maxBodyLength > -1; + const own = (key) => (utils.hasOwnProp(config, key) ? config[key] : undefined); + + let _fetch = envFetch || fetch; + + responseType = responseType ? (responseType + '').toLowerCase() : 'text'; + + let composedSignal = composeSignals( + [signal, cancelToken && cancelToken.toAbortSignal()], + timeout + ); + + let request = null; + + const unsubscribe = + composedSignal && + composedSignal.unsubscribe && + (() => { + composedSignal.unsubscribe(); + }); + + let requestContentLength; + + // AxiosError we raise while the request body is being streamed. Captured + // by identity so the catch block can surface it directly, regardless of + // how the runtime wraps the resulting fetch rejection (undici exposes it + // as `err.cause`; some browsers drop the original error entirely). + let pendingBodyError = null; + + const maxBodyLengthError = () => + new AxiosError( + 'Request body larger than maxBodyLength limit', + AxiosError.ERR_BAD_REQUEST, + config, + request + ); + + try { + // HTTP basic authentication + let auth = undefined; + const configAuth = own('auth'); + + if (configAuth) { + const username = utils.getSafeProp(configAuth, 'username') || ''; + const password = utils.getSafeProp(configAuth, 'password') || ''; + auth = { + username, + password + }; + } + + if (maybeWithAuthCredentials(url)) { + const parsedURL = new URL(url, platform.origin); + + if (!auth && (parsedURL.username || parsedURL.password)) { + const urlUsername = decodeURIComponentSafe(parsedURL.username); + const urlPassword = decodeURIComponentSafe(parsedURL.password); + auth = { + username: urlUsername, + password: urlPassword + }; + } + + if (parsedURL.username || parsedURL.password) { + parsedURL.username = ''; + parsedURL.password = ''; + url = parsedURL.href; + } + } + + if (auth) { + headers.delete('authorization'); + headers.set( + 'Authorization', + 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || ''))) + ); + } + + // Enforce maxContentLength for data: URLs up-front so we never materialize + // an oversized payload. The HTTP adapter applies the same check (see http.js + // "if (protocol === 'data:')" branch). + if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) { + const estimated = estimateDataURLDecodedBytes(url); + if (estimated > maxContentLength) { + throw new AxiosError( + 'maxContentLength size of ' + maxContentLength + ' exceeded', + AxiosError.ERR_BAD_RESPONSE, + config, + request + ); + } + } + + // Enforce maxBodyLength against known-size bodies before dispatch using + // the body's *actual* size — never a caller-declared Content-Length, + // which could under-report to slip an oversized body past the check. + // Unknown-size streams return undefined here and are counted per-chunk + // below as fetch consumes them. + if (hasMaxBodyLength && method !== 'get' && method !== 'head') { + const outboundLength = await getBodyLength(data); + if (typeof outboundLength === 'number' && isFinite(outboundLength)) { + requestContentLength = outboundLength; + if (outboundLength > maxBodyLength) { + throw maxBodyLengthError(); + } + } + } + + // A streamed body under maxBodyLength must be counted as fetch consumes + // it; its size is never trusted from a caller-declared Content-Length. + const mustEnforceStreamBody = + hasMaxBodyLength && (utils.isReadableStream(data) || utils.isStream(data)); + + const trackRequestStream = (stream, onProgress, flush) => + trackStream( + stream, + DEFAULT_CHUNK_SIZE, + (loadedBytes) => { + if (hasMaxBodyLength && loadedBytes > maxBodyLength) { + throw (pendingBodyError = maxBodyLengthError()); + } + onProgress && onProgress(loadedBytes); + }, + flush + ); + + if ( + supportsRequestStream && + method !== 'get' && + method !== 'head' && + (onUploadProgress || mustEnforceStreamBody) + ) { + requestContentLength = + requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength; + + // A declared length of 0 is only trusted to skip the wrap when we are + // not enforcing a stream limit (which must not rely on that header). + if (requestContentLength !== 0 || mustEnforceStreamBody) { + let _request = new Request(url, { + method: 'POST', + body: data, + duplex: 'half', + }); + + let contentTypeHeader; + + if (utils.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) { + headers.setContentType(contentTypeHeader); + } + + if (_request.body) { + const [onProgress, flush] = + (onUploadProgress && + progressEventDecorator( + requestContentLength, + progressEventReducer(asyncDecorator(onUploadProgress)) + )) || + []; + + data = trackRequestStream(_request.body, onProgress, flush); + } + } + } else if ( + mustEnforceStreamBody && + !isRequestSupported && + isReadableStreamSupported && + method !== 'get' && + method !== 'head' + ) { + data = trackRequestStream(data); + } else if ( + mustEnforceStreamBody && + isRequestSupported && + !supportsRequestStream && + method !== 'get' && + method !== 'head' + ) { + throw new AxiosError( + 'Stream request bodies are not supported by the current fetch implementation', + AxiosError.ERR_NOT_SUPPORT, + config, + request + ); + } + + if (!utils.isString(withCredentials)) { + withCredentials = withCredentials ? 'include' : 'omit'; + } + + // Cloudflare Workers throws when credentials are defined + // see https://github.com/cloudflare/workerd/issues/902 + const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype; + + // If data is FormData and Content-Type is multipart/form-data without boundary, + // delete it so fetch can set it correctly with the boundary + if (utils.isFormData(data)) { + const contentType = headers.getContentType(); + if ( + contentType && + /^multipart\/form-data/i.test(contentType) && + !/boundary=/i.test(contentType) + ) { + headers.delete('content-type'); + } + } + + // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js) + headers.set('User-Agent', 'axios/' + VERSION, false); + + const resolvedOptions = { + ...fetchOptions, + signal: composedSignal, + method: method.toUpperCase(), + headers: toByteStringHeaderObject(headers.normalize()), + body: data, + duplex: 'half', + credentials: isCredentialsSupported ? withCredentials : undefined, + }; + + request = isRequestSupported && new Request(url, resolvedOptions); + + let response = await (isRequestSupported + ? _fetch(request, fetchOptions) + : _fetch(url, resolvedOptions)); + + const responseHeaders = AxiosHeaders.from(response.headers); + + // Cheap pre-check: if the server honestly declares a content-length that + // already exceeds the cap, reject before we start streaming. + if (hasMaxContentLength) { + const declaredLength = utils.toFiniteNumber(responseHeaders.getContentLength()); + if (declaredLength != null && declaredLength > maxContentLength) { + throw new AxiosError( + 'maxContentLength size of ' + maxContentLength + ' exceeded', + AxiosError.ERR_BAD_RESPONSE, + config, + request + ); + } + } + + const isStreamResponse = + supportsResponseStream && (responseType === 'stream' || responseType === 'response'); + + if ( + supportsResponseStream && + response.body && + (onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe)) + ) { + const options = {}; + + ['status', 'statusText', 'headers'].forEach((prop) => { + options[prop] = response[prop]; + }); + + const responseContentLength = utils.toFiniteNumber(responseHeaders.getContentLength()); + + const [onProgress, flush] = + (onDownloadProgress && + progressEventDecorator( + responseContentLength, + progressEventReducer(asyncDecorator(onDownloadProgress), true) + )) || + []; + + let bytesRead = 0; + const onChunkProgress = (loadedBytes) => { + if (hasMaxContentLength) { + bytesRead = loadedBytes; + if (bytesRead > maxContentLength) { + throw new AxiosError( + 'maxContentLength size of ' + maxContentLength + ' exceeded', + AxiosError.ERR_BAD_RESPONSE, + config, + request + ); + } + } + onProgress && onProgress(loadedBytes); + }; + + response = new Response( + trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => { + flush && flush(); + unsubscribe && unsubscribe(); + }), + options + ); + } + + responseType = responseType || 'text'; + + let responseData = await resolvers[utils.findKey(resolvers, responseType) || 'text']( + response, + config + ); + + // Fallback enforcement for environments without ReadableStream support + // (legacy runtimes). Detect materialized size from typed output; skip + // streams/Response passthrough since the user will read those themselves. + if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) { + let materializedSize; + if (responseData != null) { + if (typeof responseData.byteLength === 'number') { + materializedSize = responseData.byteLength; + } else if (typeof responseData.size === 'number') { + materializedSize = responseData.size; + } else if (typeof responseData === 'string') { + materializedSize = + typeof TextEncoder === 'function' + ? new TextEncoder().encode(responseData).byteLength + : responseData.length; + } + } + if (typeof materializedSize === 'number' && materializedSize > maxContentLength) { + throw new AxiosError( + 'maxContentLength size of ' + maxContentLength + ' exceeded', + AxiosError.ERR_BAD_RESPONSE, + config, + request + ); + } + } + + !isStreamResponse && unsubscribe && unsubscribe(); + + return await new Promise((resolve, reject) => { + settle(resolve, reject, { + data: responseData, + headers: AxiosHeaders.from(response.headers), + status: response.status, + statusText: response.statusText, + config, + request, + }); + }); + } catch (err) { + unsubscribe && unsubscribe(); + + // Safari can surface fetch aborts as a DOMException-like object whose + // branded getters throw. Prefer our composed signal reason before reading + // the caught error, preserving timeout vs cancellation semantics. + if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError) { + const canceledError = composedSignal.reason; + canceledError.config = config; + request && (canceledError.request = request); + if (err !== canceledError) { + // Non-enumerable to match native Error `cause` semantics so loggers + // don't recurse into circular fetch internals (see #7205). + Object.defineProperty(canceledError, 'cause', { + __proto__: null, + value: err, + writable: true, + enumerable: false, + configurable: true, + }); + } + throw canceledError; + } + + // Surface a maxBodyLength violation we raised while the request body was + // being streamed. Matching by identity (rather than reading + // `err.cause.isAxiosError`) keeps the error deterministic across runtimes + // and avoids both prototype-pollution reads and mis-attributing a foreign + // AxiosError that merely happened to land in `err.cause`. + if (pendingBodyError) { + request && !pendingBodyError.request && (pendingBodyError.request = request); + throw pendingBodyError; + } + + // Re-throw AxiosErrors we raised synchronously (data: URL / content-length + // pre-checks, response size enforcement) without re-wrapping them. + if (err instanceof AxiosError) { + request && !err.request && (err.request = request); + throw err; + } + + if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) { + const networkError = new AxiosError( + 'Network Error', + AxiosError.ERR_NETWORK, + config, + request, + err && err.response + ); + // Non-enumerable to match native Error `cause` semantics so loggers + // don't recurse into circular fetch internals (see #7205). + Object.defineProperty(networkError, 'cause', { + __proto__: null, + value: err.cause || err, + writable: true, + enumerable: false, + configurable: true, + }); + throw networkError; + } + + throw AxiosError.from(err, err && err.code, config, request, err && err.response); + } + }; +}; + +const seedCache = new Map(); + +export const getFetch = (config) => { + let env = (config && config.env) || {}; + const { fetch, Request, Response } = env; + const seeds = [Request, Response, fetch]; + + let len = seeds.length, + i = len, + seed, + target, + map = seedCache; + + while (i--) { + seed = seeds[i]; + target = map.get(seed); + + target === undefined && map.set(seed, (target = i ? new Map() : factory(env))); + + map = target; + } + + return target; +}; + +const adapter = getFetch(); + +export default adapter; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.min.js new file mode 100644 index 0000000..87c2f23 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/adapters/fetch.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import platform from"../platform/index.js";import utils from"../utils.js";import AxiosError from"../core/AxiosError.js";import composeSignals from"../helpers/composeSignals.js";import{trackStream}from"../helpers/trackStream.js";import AxiosHeaders from"../core/AxiosHeaders.js";import{progressEventReducer,progressEventDecorator,asyncDecorator}from"../helpers/progressEventReducer.js";import resolveConfig from"../helpers/resolveConfig.js";import settle from"../core/settle.js";import estimateDataURLDecodedBytes from"../helpers/estimateDataURLDecodedBytes.js";import{VERSION}from"../env/data.js";import{toByteStringHeaderObject}from"../helpers/sanitizeHeaderValue.js";const DEFAULT_CHUNK_SIZE=65536,{isFunction:isFunction}=utils,encodeUTF8=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),decodeURIComponentSafe=e=>{if(!utils.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},test=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},maybeWithAuthCredentials=e=>{const t=e.indexOf("://");let r=e;return-1!==t&&(r=r.slice(t+3)),r.includes("@")||r.includes(":")},factory=e=>{const t=void 0!==utils.global&&null!==utils.global?utils.global:globalThis,{ReadableStream:r,TextEncoder:o}=t;e=utils.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:s,Request:n,Response:i}=e,a=s?isFunction(s):"function"==typeof fetch,l=isFunction(n),u=isFunction(i);if(!a)return!1;const c=a&&isFunction(r),d=a&&("function"==typeof o?(f=new o,e=>f.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var f;const m=l&&c&&test(()=>{let e=!1;const t=new n(platform.origin,{body:new r,method:"POST",get duplex(){return e=!0,"half"}}),o=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!o}),p=u&&c&&test(()=>utils.isReadableStream(new i("").body)),h={stream:p&&(e=>e.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!h[e]&&(h[e]=(t,r)=>{let o=t&&t[e];if(o)return o.call(t);throw new AxiosError(`Response type '${e}' is not supported`,AxiosError.ERR_NOT_SUPPORT,r)})});const g=async e=>{if(null==e)return 0;if(utils.isBlob(e))return e.size;if(utils.isSpecCompliantForm(e)){const t=new n(platform.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return utils.isArrayBufferView(e)||utils.isArrayBuffer(e)?e.byteLength:(utils.isURLSearchParams(e)&&(e+=""),utils.isString(e)?(await d(e)).byteLength:void 0)};return async e=>{let{url:t,method:r,data:a,signal:u,cancelToken:d,timeout:f,onDownloadProgress:y,onUploadProgress:b,responseType:w,headers:E,withCredentials:R="same-origin",fetchOptions:x,maxContentLength:S,maxBodyLength:A}=resolveConfig(e);const C=utils.isNumber(S)&&S>-1,_=utils.isNumber(A)&&A>-1;let L=s||fetch;w=w?(w+"").toLowerCase():"text";let T=composeSignals([u,d&&d.toAbortSignal()],f),D=null;const U=T&&T.unsubscribe&&(()=>{T.unsubscribe()});let v,O=null;const P=()=>new AxiosError("Request body larger than maxBodyLength limit",AxiosError.ERR_BAD_REQUEST,e,D);try{let s;const u=(B="auth",utils.hasOwnProp(e,B)?e[B]:void 0);if(u){const e=utils.getSafeProp(u,"username")||"";s={username:e,password:utils.getSafeProp(u,"password")||""}}if(maybeWithAuthCredentials(t)){const e=new URL(t,platform.origin);if(!s&&(e.username||e.password)){const t=decodeURIComponentSafe(e.username);s={username:t,password:decodeURIComponentSafe(e.password)}}(e.username||e.password)&&(e.username="",e.password="",t=e.href)}if(s&&(E.delete("authorization"),E.set("Authorization","Basic "+btoa(encodeUTF8((s.username||"")+":"+(s.password||""))))),C&&"string"==typeof t&&t.startsWith("data:")){if(estimateDataURLDecodedBytes(t)>S)throw new AxiosError("maxContentLength size of "+S+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,D)}if(_&&"get"!==r&&"head"!==r){const e=await g(a);if("number"==typeof e&&isFinite(e)&&(v=e,e>A))throw P()}const d=_&&(utils.isReadableStream(a)||utils.isStream(a)),f=(e,t,r)=>trackStream(e,65536,e=>{if(_&&e>A)throw O=P();t&&t(e)},r);if(m&&"get"!==r&&"head"!==r&&(b||d)){if(v=null==v?await(async(e,t)=>{const r=utils.toFiniteNumber(e.getContentLength());return null==r?g(t):r})(E,a):v,0!==v||d){let e,r=new n(t,{method:"POST",body:a,duplex:"half"});if(utils.isFormData(a)&&(e=r.headers.get("content-type"))&&E.setContentType(e),r.body){const[e,t]=b&&progressEventDecorator(v,progressEventReducer(asyncDecorator(b)))||[];a=f(r.body,e,t)}}}else if(d&&!l&&c&&"get"!==r&&"head"!==r)a=f(a);else if(d&&l&&!m&&"get"!==r&&"head"!==r)throw new AxiosError("Stream request bodies are not supported by the current fetch implementation",AxiosError.ERR_NOT_SUPPORT,e,D);utils.isString(R)||(R=R?"include":"omit");const F=l&&"credentials"in n.prototype;if(utils.isFormData(a)){const e=E.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&E.delete("content-type")}E.set("User-Agent","axios/"+VERSION,!1);const j={...x,signal:T,method:r.toUpperCase(),headers:toByteStringHeaderObject(E.normalize()),body:a,duplex:"half",credentials:F?R:void 0};D=l&&new n(t,j);let N=await(l?L(D,x):L(t,j));const q=AxiosHeaders.from(N.headers);if(C){const t=utils.toFiniteNumber(q.getContentLength());if(null!=t&&t>S)throw new AxiosError("maxContentLength size of "+S+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,D)}const z=p&&("stream"===w||"response"===w);if(p&&N.body&&(y||C||z&&U)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=N[e]});const r=utils.toFiniteNumber(q.getContentLength()),[o,s]=y&&progressEventDecorator(r,progressEventReducer(asyncDecorator(y),!0))||[];let n=0;const a=t=>{if(C&&(n=t,n>S))throw new AxiosError("maxContentLength size of "+S+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,D);o&&o(t)};N=new i(trackStream(N.body,65536,a,()=>{s&&s(),U&&U()}),t)}w=w||"text";let I=await h[utils.findKey(h,w)||"text"](N,e);if(C&&!p&&!z){let t;if(null!=I&&("number"==typeof I.byteLength?t=I.byteLength:"number"==typeof I.size?t=I.size:"string"==typeof I&&(t="function"==typeof o?(new o).encode(I).byteLength:I.length)),"number"==typeof t&&t>S)throw new AxiosError("maxContentLength size of "+S+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,D)}return!z&&U&&U(),await new Promise((t,r)=>{settle(t,r,{data:I,headers:AxiosHeaders.from(N.headers),status:N.status,statusText:N.statusText,config:e,request:D})})}catch(t){if(U&&U(),T&&T.aborted&&T.reason instanceof AxiosError){const r=T.reason;throw r.config=e,D&&(r.request=D),t!==r&&Object.defineProperty(r,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),r}if(O)throw D&&!O.request&&(O.request=D),O;if(t instanceof AxiosError)throw D&&!t.request&&(t.request=D),t;if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)){const r=new AxiosError("Network Error",AxiosError.ERR_NETWORK,e,D,t&&t.response);throw Object.defineProperty(r,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),r}throw AxiosError.from(t,t&&t.code,e,D,t&&t.response)}var B}},seedCache=new Map;export const getFetch=e=>{let t=e&&e.env||{};const{fetch:r,Request:o,Response:s}=t,n=[o,s,r];let i,a,l=n.length,u=seedCache;for(;l--;)i=n[l],a=u.get(i),void 0===a&&u.set(i,a=l?new Map:factory(t)),u=a;return a};const adapter=getFetch();export default adapter; +//# sourceMappingURL=/sm/23f125ab1d4edfe067d62d3fec92f37382a0cbc90020cfbd26a55f8bb4eb625f.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.js new file mode 100644 index 0000000..c016fc0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.js @@ -0,0 +1,1417 @@ +import utils from '../utils.js'; +import settle from '../core/settle.js'; +import buildFullPath from '../core/buildFullPath.js'; +import buildURL from '../helpers/buildURL.js'; +import { getProxyForUrl } from 'proxy-from-env'; +import HttpsProxyAgent from 'https-proxy-agent'; +import http from 'http'; +import https from 'https'; +import http2 from 'http2'; +import util from 'util'; +import { resolve as resolvePath } from 'path'; +import followRedirects from 'follow-redirects'; +import zlib from 'zlib'; +import { VERSION } from '../env/data.js'; +import transitionalDefaults from '../defaults/transitional.js'; +import AxiosError from '../core/AxiosError.js'; +import CanceledError from '../cancel/CanceledError.js'; +import platform from '../platform/index.js'; +import fromDataURI from '../helpers/fromDataURI.js'; +import stream from 'stream'; +import AxiosHeaders from '../core/AxiosHeaders.js'; +import AxiosTransformStream from '../helpers/AxiosTransformStream.js'; +import { EventEmitter } from 'events'; +import formDataToStream from '../helpers/formDataToStream.js'; +import readBlob from '../helpers/readBlob.js'; +import ZlibHeaderTransformStream from '../helpers/ZlibHeaderTransformStream.js'; +import Http2Sessions from '../helpers/Http2Sessions.js'; +import callbackify from '../helpers/callbackify.js'; +import shouldBypassProxy from '../helpers/shouldBypassProxy.js'; +import { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js'; +import { + progressEventReducer, + progressEventDecorator, + asyncDecorator, +} from '../helpers/progressEventReducer.js'; +import estimateDataURLDecodedBytes from '../helpers/estimateDataURLDecodedBytes.js'; + +const zlibOptions = { + flush: zlib.constants.Z_SYNC_FLUSH, + finishFlush: zlib.constants.Z_SYNC_FLUSH, +}; + +const brotliOptions = { + flush: zlib.constants.BROTLI_OPERATION_FLUSH, + finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH, +}; + +const zstdOptions = { + flush: zlib.constants.ZSTD_e_flush, + finishFlush: zlib.constants.ZSTD_e_flush, +}; + +const isBrotliSupported = utils.isFunction(zlib.createBrotliDecompress); +const isZstdSupported = utils.isFunction(zlib.createZstdDecompress); +const ACCEPT_ENCODING = 'gzip, compress, deflate' + (isBrotliSupported ? ', br' : ''); +const ACCEPT_ENCODING_WITH_ZSTD = ACCEPT_ENCODING + (isZstdSupported ? ', zstd' : ''); + +const { http: httpFollow, https: httpsFollow } = followRedirects; + +const isHttps = /https:?/; +const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length']; + +function setFormDataHeaders(headers, formHeaders, policy) { + if (policy !== 'content-only') { + headers.set(formHeaders); + return; + } + + Object.entries(formHeaders).forEach(([key, val]) => { + if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) { + headers.set(key, val); + } + }); +} + +// Symbols used to bind a single 'error' listener to a pooled socket and track +// the request currently owning that socket across keep-alive reuse (issue #10780). +const kAxiosSocketListener = Symbol('axios.http.socketListener'); +const kAxiosCurrentReq = Symbol('axios.http.currentReq'); + +// Tags HttpsProxyAgent instances installed by setProxy() so the redirect path +// can strip them without clobbering a user-supplied agent that happens to be +// an HttpsProxyAgent. +const kAxiosInstalledTunnel = Symbol('axios.http.installedTunnel'); + +// Cache of CONNECT-tunneling agents keyed by proxy config so repeat requests +// through the same proxy reuse a single agent (and its socket pool). The +// keyspace is bounded by the set of distinct proxy configs the process uses, +// so unbounded growth is not a concern in practice. +const tunnelingAgentCache = new Map(); +const tunnelingAgentCacheUser = new WeakMap(); +// Minimum minor versions where Node's HTTP Agent supports native proxyEnv +// handling. Checking the selected agent below also covers startup modes such +// as NODE_OPTIONS=--use-env-proxy and --no-use-env-proxy precedence. +const NODE_NATIVE_ENV_PROXY_SUPPORT = { + 22: 21, + 24: 5, +}; + +function isNodeNativeEnvProxySupported(nodeVersion = process.versions && process.versions.node) { + if (!nodeVersion) { + return false; + } + + const [major, minor] = nodeVersion.split('.').map((part) => Number(part)); + + if (!Number.isInteger(major) || !Number.isInteger(minor)) { + return false; + } + + if (major > 24) { + return true; + } + + return ( + NODE_NATIVE_ENV_PROXY_SUPPORT[major] != null && minor >= NODE_NATIVE_ENV_PROXY_SUPPORT[major] + ); +} + +function isNodeEnvProxyEnabled(agent, nodeVersion = process.versions && process.versions.node) { + if (!isNodeNativeEnvProxySupported(nodeVersion)) { + return false; + } + + const agentOptions = agent && agent.options; + + return Boolean( + agentOptions && + utils.hasOwnProp(agentOptions, 'proxyEnv') && + agentOptions.proxyEnv != null + ); +} + +function getProxyEnvAgent(options, configHttpAgent, configHttpsAgent) { + return isHttps.test(options.protocol) + ? (configHttpsAgent || https.globalAgent) + : (configHttpAgent || http.globalAgent); +} + +function getTunnelingAgent(agentOptions, userHttpsAgent) { + const key = + agentOptions.protocol + + '//' + + agentOptions.hostname + + ':' + + (agentOptions.port || '') + + '#' + + (agentOptions.auth || ''); + const cache = userHttpsAgent + ? (tunnelingAgentCacheUser.get(userHttpsAgent) || + tunnelingAgentCacheUser.set(userHttpsAgent, new Map()).get(userHttpsAgent)) + : tunnelingAgentCache; + let agent = cache.get(key); + if (agent) return agent; + // Forward the user's TLS options (custom CA, rejectUnauthorized, client cert, + // etc.) into the tunneling agent so they apply to the origin TLS upgrade + // performed after CONNECT. Our proxy fields take precedence on conflict. + const merged = userHttpsAgent && userHttpsAgent.options + ? { ...userHttpsAgent.options, ...agentOptions } + : agentOptions; + agent = new HttpsProxyAgent(merged); + if (userHttpsAgent && userHttpsAgent.options) { + const originTLSOptions = { ...userHttpsAgent.options }; + const callback = agent.callback; + agent.callback = function axiosTunnelingAgentCallback(req, opts) { + // HttpsProxyAgent v5 reads callback opts for the post-CONNECT origin TLS upgrade. + return callback.call(this, req, { ...originTLSOptions, ...opts }); + }; + } + agent[kAxiosInstalledTunnel] = true; + cache.set(key, agent); + return agent; +} + +const supportedProtocols = platform.protocols.map((protocol) => { + return protocol + ':'; +}); + +// Node's WHATWG URL parser returns `username` and `password` percent-encoded. +// Decode before composing the `auth` option so credentials such as +// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the +// original value for malformed input so a bad encoding never throws. +const decodeURIComponentSafe = (value) => { + if (!utils.isString(value)) { + return value; + } + + try { + return decodeURIComponent(value); + } catch (error) { + return value; + } +}; + +const flushOnFinish = (stream, [throttled, flush]) => { + stream.on('end', flush).on('error', flush); + + return throttled; +}; + +const http2Sessions = new Http2Sessions(); + +/** + * If the proxy, auth, sensitive header, or config beforeRedirects functions are defined, + * call them with the options object. + * + * @param {Object} options - The options object that was passed to the request. + * + * @returns {Object} + */ +function dispatchBeforeRedirect(options, responseDetails, requestDetails) { + if (options.beforeRedirects.proxy) { + options.beforeRedirects.proxy(options); + } + if (options.beforeRedirects.auth) { + options.beforeRedirects.auth(options); + } + if (options.beforeRedirects.sensitiveHeaders) { + options.beforeRedirects.sensitiveHeaders(options, requestDetails); + } + if (options.beforeRedirects.config) { + options.beforeRedirects.config(options, responseDetails, requestDetails); + } +} + +function stripMatchingHeaders(headers, sensitiveSet) { + if (!headers) { + return; + } + + Object.keys(headers).forEach((header) => { + if (sensitiveSet.has(header.toLowerCase())) { + delete headers[header]; + } + }); +} + +function isSameOriginRedirect(redirectOptions, requestDetails) { + if (!requestDetails) { + return false; + } + + try { + return new URL(requestDetails.url).origin === new URL(redirectOptions.href).origin; + } catch (e) { + // If origin comparison fails, treat the redirect as unsafe. + return false; + } +} + +/** + * If the proxy or config afterRedirects functions are defined, call them with the options + * + * @param {http.ClientRequestArgs} options + * @param {AxiosProxyConfig} configProxy configuration from Axios options object + * @param {string} location + * + * @returns {http.ClientRequestArgs} + */ +function setProxy(options, configProxy, location, isRedirect, configHttpsAgent, configHttpAgent) { + let proxy = configProxy; + const proxyEnvAgent = getProxyEnvAgent(options, configHttpAgent, configHttpsAgent); + if (!proxy && proxy !== false && !isNodeEnvProxyEnabled(proxyEnvAgent)) { + const proxyUrl = getProxyForUrl(location); + if (proxyUrl) { + if (!shouldBypassProxy(location)) { + proxy = new URL(proxyUrl); + } + } + } + // On redirect re-invocation, strip any stale Proxy-Authorization header carried + // over from the prior request (e.g. new target no longer uses a proxy, or uses + // a different proxy). Skip on the initial request so user-supplied headers are + // preserved. Header names are case-insensitive, so remove every case variant. + if (isRedirect && options.headers) { + for (const name of Object.keys(options.headers)) { + if (name.toLowerCase() === 'proxy-authorization') { + delete options.headers[name]; + } + } + } + // Strip any tunneling agent we installed for the previous hop so a redirect + // that drops the proxy or crosses an HTTPS↔HTTP boundary doesn't reuse a + // stale one. Match on our Symbol marker so a user-supplied HttpsProxyAgent + // (which won't carry the marker) is left alone. + if (isRedirect && options.agent && options.agent[kAxiosInstalledTunnel]) { + options.agent = undefined; + } + if (proxy) { + // Read proxy fields without traversing the prototype chain. URL instances expose + // username/password/hostname/host/port/protocol via getters on URL.prototype (so + // direct reads are shielded), but plain object proxies — and the `auth` field + // (which URL does not expose) — must be guarded so a polluted Object.prototype + // (e.g. Object.prototype.auth = { username, password }) cannot inject + // attacker-controlled credentials into the Proxy-Authorization header or + // redirect proxying to an attacker-controlled host. + const isProxyURL = proxy instanceof URL; + const readProxyField = (key) => + isProxyURL || utils.hasOwnProp(proxy, key) ? proxy[key] : undefined; + + const proxyUsername = readProxyField('username'); + const proxyPassword = readProxyField('password'); + let proxyAuth = utils.hasOwnProp(proxy, 'auth') ? proxy.auth : undefined; + + // Basic proxy authorization + if (proxyUsername) { + proxyAuth = (proxyUsername || '') + ':' + (proxyPassword || ''); + } + + if (proxyAuth) { + // Support proxy auth object form. Read sub-fields via own-prop checks so a + // plain object inheriting from polluted Object.prototype cannot leak creds. + const authIsObject = typeof proxyAuth === 'object'; + const authUsername = + authIsObject && utils.hasOwnProp(proxyAuth, 'username') ? proxyAuth.username : undefined; + const authPassword = + authIsObject && utils.hasOwnProp(proxyAuth, 'password') ? proxyAuth.password : undefined; + const validProxyAuth = Boolean(authUsername || authPassword); + + if (validProxyAuth) { + proxyAuth = (authUsername || '') + ':' + (authPassword || ''); + } else if (authIsObject) { + throw new AxiosError('Invalid proxy authorization', AxiosError.ERR_BAD_OPTION, { proxy }); + } + } + + const targetIsHttps = isHttps.test(options.protocol); + + if (targetIsHttps) { + // CONNECT-tunneling path for HTTPS targets. Preserves end-to-end TLS to + // the origin so the proxy cannot inspect the URL, headers, or body — the + // behavior already promised by THREATMODEL.md (T-R9). HttpsProxyAgent + // sends Proxy-Authorization on the CONNECT request only, never on the + // wrapped TLS request, which is why we don't stamp it onto + // options.headers here. If the user already supplied an HttpsProxyAgent, + // they own tunneling end-to-end and we leave them alone; otherwise we + // install our own tunneling agent and forward their TLS options (if any) + // so a custom httpsAgent for cert pinning / rejectUnauthorized still + // applies to the origin TLS upgrade. + if (!(configHttpsAgent instanceof HttpsProxyAgent)) { + const proxyHost = readProxyField('hostname') || readProxyField('host'); + const proxyPort = readProxyField('port'); + const rawProxyProtocol = readProxyField('protocol'); + const normalizedProtocol = rawProxyProtocol + ? rawProxyProtocol.includes(':') + ? rawProxyProtocol + : `${rawProxyProtocol}:` + : 'http:'; + // Bracket IPv6 literals for URL parsing; URL.hostname strips the + // brackets again on read so the agent receives the raw form. + const proxyHostForURL = + proxyHost && proxyHost.includes(':') && !proxyHost.startsWith('[') + ? `[${proxyHost}]` + : proxyHost; + const proxyURL = new URL( + `${normalizedProtocol}//${proxyHostForURL}${proxyPort ? ':' + proxyPort : ''}` + ); + const agentOptions = { + protocol: proxyURL.protocol, + hostname: proxyURL.hostname.replace(/^\[|\]$/g, ''), + port: proxyURL.port, + auth: proxyAuth && typeof proxyAuth === 'string' ? proxyAuth : undefined, + }; + if (proxyURL.protocol === 'https:') { + agentOptions.ALPNProtocols = ['http/1.1']; + } + const tunnelingAgent = getTunnelingAgent(agentOptions, configHttpsAgent); + // Set both: `options.agent` is consumed by the native https.request path + // (maxRedirects === 0); `options.agents.https` is consumed by + // follow-redirects, which ignores `options.agent` when `options.agents` + // is present. + options.agent = tunnelingAgent; + if (options.agents) { + options.agents.https = tunnelingAgent; + } + } + } else { + // Forward-proxy mode for plaintext HTTP targets. The request line carries + // the absolute URL and the proxy sees everything — acceptable for plain + // HTTP since the wire was already plaintext. + if (proxyAuth) { + const base64 = Buffer.from(proxyAuth, 'utf8').toString('base64'); + options.headers['Proxy-Authorization'] = 'Basic ' + base64; + } + + // Preserve a user-supplied Host header (case-insensitive) so callers can override + // the value forwarded to the proxy; otherwise default to the request URL's host. + let hasUserHostHeader = false; + for (const name of Object.keys(options.headers)) { + if (name.toLowerCase() === 'host') { + hasUserHostHeader = true; + break; + } + } + if (!hasUserHostHeader) { + options.headers.host = options.hostname + (options.port ? ':' + options.port : ''); + } + const proxyHost = readProxyField('hostname') || readProxyField('host'); + options.hostname = proxyHost; + // Replace 'host' since options is not a URL object + options.host = proxyHost; + options.port = readProxyField('port'); + options.path = location; + const proxyProtocol = readProxyField('protocol'); + if (proxyProtocol) { + options.protocol = proxyProtocol.includes(':') ? proxyProtocol : `${proxyProtocol}:`; + } + } + } + + options.beforeRedirects.proxy = function beforeRedirect(redirectOptions) { + // Configure proxy for redirected request, passing the original config proxy to apply + // the exact same logic as if the redirected request was performed by axios directly. + setProxy( + redirectOptions, + configProxy, + redirectOptions.href, + true, + configHttpsAgent, + configHttpAgent + ); + }; +} + +const isHttpAdapterSupported = + typeof process !== 'undefined' && utils.kindOf(process) === 'process'; + +// temporary hotfix + +const wrapAsync = (asyncExecutor) => { + return new Promise((resolve, reject) => { + let onDone; + let isDone; + + const done = (value, isRejected) => { + if (isDone) return; + isDone = true; + onDone && onDone(value, isRejected); + }; + + const _resolve = (value) => { + done(value); + resolve(value); + }; + + const _reject = (reason) => { + done(reason, true); + reject(reason); + }; + + asyncExecutor(_resolve, _reject, (onDoneHandler) => (onDone = onDoneHandler)).catch(_reject); + }); +}; + +const resolveFamily = ({ address, family }) => { + if (!utils.isString(address)) { + throw TypeError('address must be a string'); + } + return { + address, + family: family || (address.indexOf('.') < 0 ? 6 : 4), + }; +}; + +const buildAddressEntry = (address, family) => + resolveFamily(utils.isObject(address) ? address : { address, family }); + +const http2Transport = { + request(options, cb) { + const authority = + options.protocol + + '//' + + options.hostname + + ':' + + (options.port || (options.protocol === 'https:' ? 443 : 80)); + + const { http2Options, headers } = options; + + const session = http2Sessions.getSession(authority, http2Options); + + const { HTTP2_HEADER_SCHEME, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_STATUS } = + http2.constants; + + const http2Headers = { + [HTTP2_HEADER_SCHEME]: options.protocol.replace(':', ''), + [HTTP2_HEADER_METHOD]: options.method, + [HTTP2_HEADER_PATH]: options.path, + }; + + utils.forEach(headers, (header, name) => { + name.charAt(0) !== ':' && (http2Headers[name] = header); + }); + + const req = session.request(http2Headers); + + req.once('response', (responseHeaders) => { + const response = req; //duplex + + responseHeaders = Object.assign({}, responseHeaders); + + const status = responseHeaders[HTTP2_HEADER_STATUS]; + + delete responseHeaders[HTTP2_HEADER_STATUS]; + + response.headers = responseHeaders; + + response.statusCode = +status; + + cb(response); + }); + + return req; + }, +}; + +/*eslint consistent-return:0*/ +export default isHttpAdapterSupported && + function httpAdapter(config) { + return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) { + // Read config pollution-safely: own properties and members inherited from + // a non-Object.prototype source (e.g. an Object.create(defaults) template) + // are honored, but values injected onto a polluted Object.prototype are + // ignored. All behavior-affecting reads in this adapter go through own() + // so the protection boundary stays consistent. + const own = (key) => utils.getSafeProp(config, key); + const transitional = own('transitional') || transitionalDefaults; + let data = own('data'); + let lookup = own('lookup'); + let family = own('family'); + let httpVersion = own('httpVersion'); + if (httpVersion === undefined) httpVersion = 1; + let http2Options = own('http2Options'); + const httpAgent = own('httpAgent'); + const httpsAgent = own('httpsAgent'); + const configProxy = own('proxy'); + const responseType = own('responseType'); + const responseEncoding = own('responseEncoding'); + const socketPath = own('socketPath'); + const method = own('method').toUpperCase(); + const maxRedirects = own('maxRedirects'); + const maxBodyLength = own('maxBodyLength'); + const maxContentLength = own('maxContentLength'); + const decompress = own('decompress'); + let isDone; + let rejected = false; + let req; + let connectPhaseTimer; + + httpVersion = +httpVersion; + + if (Number.isNaN(httpVersion)) { + throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`); + } + + if (httpVersion !== 1 && httpVersion !== 2) { + throw TypeError(`Unsupported protocol version '${httpVersion}'`); + } + + const isHttp2 = httpVersion === 2; + + if (lookup) { + const _lookup = callbackify(lookup, (value) => (utils.isArray(value) ? value : [value])); + // hotfix to support opt.all option which is required for node 20.x + lookup = (hostname, opt, cb) => { + _lookup(hostname, opt, (err, arg0, arg1) => { + if (err) { + return cb(err); + } + + const addresses = utils.isArray(arg0) + ? arg0.map((addr) => buildAddressEntry(addr)) + : [buildAddressEntry(arg0, arg1)]; + + opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family); + }); + }; + } + + const abortEmitter = new EventEmitter(); + + function abort(reason) { + try { + abortEmitter.emit( + 'abort', + !reason || reason.type ? new CanceledError(null, config, req) : reason + ); + } catch (err) { + // ignore emit errors + } + } + + function clearConnectPhaseTimer() { + if (connectPhaseTimer) { + clearTimeout(connectPhaseTimer); + connectPhaseTimer = null; + } + } + + function createTimeoutError() { + const configTimeout = own('timeout'); + let timeoutErrorMessage = configTimeout + ? 'timeout of ' + configTimeout + 'ms exceeded' + : 'timeout exceeded'; + const configTimeoutErrorMessage = own('timeoutErrorMessage'); + if (configTimeoutErrorMessage) { + timeoutErrorMessage = configTimeoutErrorMessage; + } + return new AxiosError( + timeoutErrorMessage, + transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, + config, + req + ); + } + + abortEmitter.once('abort', reject); + + const onFinished = () => { + clearConnectPhaseTimer(); + + if (config.cancelToken) { + config.cancelToken.unsubscribe(abort); + } + + if (config.signal) { + config.signal.removeEventListener('abort', abort); + } + + abortEmitter.removeAllListeners(); + }; + + if (config.cancelToken || config.signal) { + config.cancelToken && config.cancelToken.subscribe(abort); + if (config.signal) { + config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort); + } + } + + onDone((response, isRejected) => { + isDone = true; + clearConnectPhaseTimer(); + + if (isRejected) { + rejected = true; + onFinished(); + return; + } + + const { data } = response; + + if (data instanceof stream.Readable || data instanceof stream.Duplex) { + const offListeners = stream.finished(data, () => { + offListeners(); + onFinished(); + }); + } else { + onFinished(); + } + }); + + // Parse url + const fullPath = buildFullPath(own('baseURL'), own('url'), own('allowAbsoluteUrls'), config); + // Unix-socket requests (own socketPath) commonly pass a path-only url + // like '/foo'; supply a synthetic base so new URL() can still parse it. + // Use the own-property value (not config.socketPath) so a polluted + // prototype cannot influence URL base selection. + const urlBase = socketPath + ? 'http://localhost' + : (platform.hasBrowserEnv ? platform.origin : undefined); + const parsed = new URL(fullPath, urlBase); + const protocol = parsed.protocol || supportedProtocols[0]; + + if (protocol === 'data:') { + // Apply the same semantics as HTTP: only enforce if a finite, non-negative cap is set. + if (maxContentLength > -1) { + // Use the exact string passed to fromDataURI (the configured url); fall back to fullPath if needed. + const dataUrl = String(own('url') || fullPath || ''); + const estimated = estimateDataURLDecodedBytes(dataUrl); + + if (estimated > maxContentLength) { + return reject( + new AxiosError( + 'maxContentLength size of ' + maxContentLength + ' exceeded', + AxiosError.ERR_BAD_RESPONSE, + config + ) + ); + } + } + + let convertedData; + + if (method !== 'GET') { + return settle(resolve, reject, { + status: 405, + statusText: 'method not allowed', + headers: {}, + config, + }); + } + + try { + convertedData = fromDataURI(own('url'), responseType === 'blob', { + Blob: config.env && config.env.Blob, + }); + } catch (err) { + throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config); + } + + if (responseType === 'text') { + convertedData = convertedData.toString(responseEncoding); + + if (!responseEncoding || responseEncoding === 'utf8') { + convertedData = utils.stripBOM(convertedData); + } + } else if (responseType === 'stream') { + convertedData = stream.Readable.from(convertedData); + } + + return settle(resolve, reject, { + data: convertedData, + status: 200, + statusText: 'OK', + headers: new AxiosHeaders(), + config, + }); + } + + if (supportedProtocols.indexOf(protocol) === -1) { + return reject( + new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_BAD_REQUEST, config) + ); + } + + const headers = AxiosHeaders.from(config.headers).normalize(); + + // Set User-Agent (required by some servers) + // See https://github.com/axios/axios/issues/69 + // User-Agent is specified; handle case where no UA header is desired + // Only set header if it hasn't been set in config + headers.set('User-Agent', 'axios/' + VERSION, false); + + const { onUploadProgress, onDownloadProgress } = config; + const maxRate = config.maxRate; + let maxUploadRate = undefined; + let maxDownloadRate = undefined; + + // support for spec compliant FormData objects + if (utils.isSpecCompliantForm(data)) { + const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i); + + data = formDataToStream( + data, + (formHeaders) => { + headers.set(formHeaders); + }, + { + tag: `axios-${VERSION}-boundary`, + boundary: (userBoundary && userBoundary[1]) || undefined, + } + ); + // support for https://www.npmjs.com/package/form-data api + } else if ( + utils.isFormData(data) && + utils.isFunction(data.getHeaders) && + data.getHeaders !== Object.prototype.getHeaders + ) { + setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy')); + + if (!headers.hasContentLength()) { + try { + const knownLength = await util.promisify(data.getLength).call(data); + Number.isFinite(knownLength) && + knownLength >= 0 && + headers.setContentLength(knownLength); + /*eslint no-empty:0*/ + } catch (e) {} + } + } else if (utils.isBlob(data) || utils.isFile(data)) { + data.size && headers.setContentType(data.type || 'application/octet-stream'); + headers.setContentLength(data.size || 0); + data = stream.Readable.from(readBlob(data)); + } else if (data && !utils.isStream(data)) { + if (Buffer.isBuffer(data)) { + // Nothing to do... + } else if (utils.isArrayBuffer(data)) { + data = Buffer.from(new Uint8Array(data)); + } else if (utils.isString(data)) { + data = Buffer.from(data, 'utf-8'); + } else { + return reject( + new AxiosError( + 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream', + AxiosError.ERR_BAD_REQUEST, + config + ) + ); + } + + // Add Content-Length header if data exists + headers.setContentLength(data.length, false); + + if (maxBodyLength > -1 && data.length > maxBodyLength) { + return reject( + new AxiosError( + 'Request body larger than maxBodyLength limit', + AxiosError.ERR_BAD_REQUEST, + config + ) + ); + } + } + + const contentLength = utils.toFiniteNumber(headers.getContentLength()); + + if (utils.isArray(maxRate)) { + maxUploadRate = maxRate[0]; + maxDownloadRate = maxRate[1]; + } else { + maxUploadRate = maxDownloadRate = maxRate; + } + + if (data && (onUploadProgress || maxUploadRate)) { + if (!utils.isStream(data)) { + data = stream.Readable.from(data, { objectMode: false }); + } + + data = stream.pipeline( + [ + data, + new AxiosTransformStream({ + maxRate: utils.toFiniteNumber(maxUploadRate), + }), + ], + utils.noop + ); + + onUploadProgress && + data.on( + 'progress', + flushOnFinish( + data, + progressEventDecorator( + contentLength, + progressEventReducer(asyncDecorator(onUploadProgress), false, 3) + ) + ) + ); + } + + // HTTP basic authentication + let auth = undefined; + const configAuth = own('auth'); + if (configAuth) { + const username = utils.getSafeProp(configAuth, 'username') || ''; + const password = utils.getSafeProp(configAuth, 'password') || ''; + auth = username + ':' + password; + } + + if (!auth && (parsed.username || parsed.password)) { + const urlUsername = decodeURIComponentSafe(parsed.username); + const urlPassword = decodeURIComponentSafe(parsed.password); + auth = urlUsername + ':' + urlPassword; + } + + auth && headers.delete('authorization'); + + let path; + + try { + path = buildURL( + parsed.pathname + parsed.search, + own('params'), + own('paramsSerializer') + ).replace(/^\?/, ''); + } catch (err) { + return reject( + AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config, null, null, { + url: own('url'), + exists: true + }) + ); + } + + headers.set( + 'Accept-Encoding', + utils.hasOwnProp(transitional, 'advertiseZstdAcceptEncoding') && + transitional.advertiseZstdAcceptEncoding === true ? ACCEPT_ENCODING_WITH_ZSTD : ACCEPT_ENCODING, + false + ); + + // Null-prototype to block prototype pollution gadgets on properties read + // directly by Node's http.request (e.g. insecureHTTPParser, lookup). + const options = Object.assign(Object.create(null), { + path, + method: method, + headers: toByteStringHeaderObject(headers), + agents: { http: httpAgent, https: httpsAgent }, + auth, + protocol, + family, + beforeRedirect: dispatchBeforeRedirect, + beforeRedirects: Object.create(null), + http2Options, + }); + + // cacheable-lookup integration hotfix + !utils.isUndefined(lookup) && (options.lookup = lookup); + + if (socketPath) { + if (typeof socketPath !== 'string') { + return reject( + new AxiosError('socketPath must be a string', AxiosError.ERR_BAD_OPTION_VALUE, config) + ); + } + + const allowedSocketPaths = own('allowedSocketPaths'); + if (allowedSocketPaths != null) { + const allowed = Array.isArray(allowedSocketPaths) + ? allowedSocketPaths + : [allowedSocketPaths]; + + const resolvedSocket = resolvePath(socketPath); + const isAllowed = allowed.some( + (entry) => typeof entry === 'string' && resolvePath(entry) === resolvedSocket + ); + + if (!isAllowed) { + return reject( + new AxiosError( + `socketPath "${socketPath}" is not permitted by allowedSocketPaths`, + AxiosError.ERR_BAD_OPTION_VALUE, + config + ) + ); + } + } + + options.socketPath = socketPath; + } else { + options.hostname = parsed.hostname.startsWith('[') + ? parsed.hostname.slice(1, -1) + : parsed.hostname; + options.port = parsed.port; + setProxy( + options, + configProxy, + protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path, + false, + httpsAgent, + httpAgent + ); + } + let transport; + let isNativeTransport = false; + // True only for the follow-redirects transport, which applies + // options.maxBodyLength itself. Every other transport (http2, native + // http/https, a user-supplied custom transport) needs the explicit + // byte-counting pipeline below to enforce maxBodyLength on streamed uploads. + let transportEnforcesMaxBodyLength = false; + const isHttpsRequest = isHttps.test(options.protocol); + // Don't clobber a CONNECT-tunneling agent installed by setProxy() for an + // HTTPS target. + if (options.agent == null) { + options.agent = isHttpsRequest ? httpsAgent : httpAgent; + } + + if (isHttp2) { + transport = http2Transport; + } else { + const configTransport = own('transport'); + if (configTransport) { + transport = configTransport; + } else if (maxRedirects === 0) { + transport = isHttpsRequest ? https : http; + isNativeTransport = true; + } else { + transportEnforcesMaxBodyLength = true; + options.sensitiveHeaders = []; + if (maxRedirects) { + options.maxRedirects = maxRedirects; + } + const configBeforeRedirect = own('beforeRedirect'); + if (configBeforeRedirect) { + options.beforeRedirects.config = configBeforeRedirect; + } + if (auth) { + // Restore HTTP Basic credentials on same-origin redirects only. + // follow-redirects >= 1.15.8 strips Authorization on every redirect (see #6929); + // cross-origin stripping is the documented mitigation for T-R2 in THREATMODEL.md + // and is preserved by deliberately not restoring on origin change. + const requestOrigin = parsed.origin; + const authToRestore = auth; + options.beforeRedirects.auth = function beforeRedirectAuth(redirectOptions) { + try { + if (new URL(redirectOptions.href).origin === requestOrigin) { + redirectOptions.auth = authToRestore; + } + } catch (e) { + // ignore malformed URL: leaving auth stripped is fail-safe + } + }; + } + const sensitiveHeaders = own('sensitiveHeaders'); + if (sensitiveHeaders != null) { + if (!utils.isArray(sensitiveHeaders)) { + return reject( + new AxiosError( + 'sensitiveHeaders must be an array of strings', + AxiosError.ERR_BAD_OPTION_VALUE, + config + ) + ); + } + + const sensitiveSet = new Set(); + for (const header of sensitiveHeaders) { + if (!utils.isString(header)) { + return reject( + new AxiosError( + 'sensitiveHeaders must be an array of strings', + AxiosError.ERR_BAD_OPTION_VALUE, + config + ) + ); + } + + sensitiveSet.add(header.toLowerCase()); + } + + if (sensitiveSet.size) { + options.sensitiveHeaders = Array.from(sensitiveSet); + options.beforeRedirects.sensitiveHeaders = function beforeRedirectSensitiveHeaders( + redirectOptions, + requestDetails + ) { + if (!isSameOriginRedirect(redirectOptions, requestDetails)) { + stripMatchingHeaders(redirectOptions.headers, sensitiveSet); + } + }; + } + } + transport = isHttpsRequest ? httpsFollow : httpFollow; + } + } + + // Set an explicit maxBodyLength option for transports that inspect it. + // When maxBodyLength is -1 (default/unlimited), use Infinity so + // follow-redirects does not fall back to its own 10MB default. + if (maxBodyLength > -1) { + options.maxBodyLength = maxBodyLength; + } else { + options.maxBodyLength = Infinity; + } + + // Always set an explicit own value so a polluted + // Object.prototype.insecureHTTPParser cannot enable the lenient parser + // through Node's internal options copy + options.insecureHTTPParser = Boolean(own('insecureHTTPParser')); + + // Create the request + req = transport.request(options, function handleResponse(res) { + clearConnectPhaseTimer(); + + if (req.destroyed) return; + + const streams = [res]; + + const responseLength = utils.toFiniteNumber(res.headers['content-length']); + + if (onDownloadProgress || maxDownloadRate) { + const transformStream = new AxiosTransformStream({ + maxRate: utils.toFiniteNumber(maxDownloadRate), + }); + + onDownloadProgress && + transformStream.on( + 'progress', + flushOnFinish( + transformStream, + progressEventDecorator( + responseLength, + progressEventReducer(asyncDecorator(onDownloadProgress), true, 3) + ) + ) + ); + + streams.push(transformStream); + } + + // decompress the response body transparently if required + let responseStream = res; + + // return the last request in case of redirects + const lastRequest = res.req || req; + + // if decompress disabled we should not decompress + if (decompress !== false && res.headers['content-encoding']) { + // if no content, but headers still say that it is encoded, + // remove the header not confuse downstream operations + if (method === 'HEAD' || res.statusCode === 204) { + delete res.headers['content-encoding']; + } + + switch ((res.headers['content-encoding'] || '').toLowerCase()) { + /*eslint default-case:0*/ + case 'gzip': + case 'x-gzip': + case 'compress': + case 'x-compress': + // add the unzipper to the body stream processing pipeline + streams.push(zlib.createUnzip(zlibOptions)); + + // remove the content-encoding in order to not confuse downstream operations + delete res.headers['content-encoding']; + break; + case 'deflate': + streams.push(new ZlibHeaderTransformStream()); + + // add the unzipper to the body stream processing pipeline + streams.push(zlib.createUnzip(zlibOptions)); + + // remove the content-encoding in order to not confuse downstream operations + delete res.headers['content-encoding']; + break; + case 'br': + if (isBrotliSupported) { + streams.push(zlib.createBrotliDecompress(brotliOptions)); + delete res.headers['content-encoding']; + } + break; + case 'zstd': + if (isZstdSupported) { + streams.push(zlib.createZstdDecompress(zstdOptions)); + delete res.headers['content-encoding']; + } + break; + } + } + + responseStream = streams.length > 1 ? stream.pipeline(streams, utils.noop) : streams[0]; + + const response = { + status: res.statusCode, + statusText: res.statusMessage, + headers: new AxiosHeaders(res.headers), + config, + request: lastRequest, + }; + + if (responseType === 'stream') { + // Enforce maxContentLength on streamed responses; previously this + // was applied only to buffered responses. + if (maxContentLength > -1) { + const limit = maxContentLength; + const source = responseStream; + async function* enforceMaxContentLength() { + let totalResponseBytes = 0; + for await (const chunk of source) { + totalResponseBytes += chunk.length; + if (totalResponseBytes > limit) { + throw new AxiosError( + 'maxContentLength size of ' + limit + ' exceeded', + AxiosError.ERR_BAD_RESPONSE, + config, + lastRequest + ); + } + yield chunk; + } + } + responseStream = stream.Readable.from(enforceMaxContentLength(), { + objectMode: false, + }); + } + response.data = responseStream; + settle(resolve, reject, response); + } else { + const responseBuffer = []; + let totalResponseBytes = 0; + + responseStream.on('data', function handleStreamData(chunk) { + responseBuffer.push(chunk); + totalResponseBytes += chunk.length; + + // make sure the content length is not over the maxContentLength if specified + if (maxContentLength > -1 && totalResponseBytes > maxContentLength) { + // stream.destroy() emit aborted event before calling reject() on Node.js v16 + rejected = true; + responseStream.destroy(); + abort( + new AxiosError( + 'maxContentLength size of ' + maxContentLength + ' exceeded', + AxiosError.ERR_BAD_RESPONSE, + config, + lastRequest + ) + ); + } + }); + + responseStream.on('aborted', function handlerStreamAborted() { + if (rejected) { + return; + } + + const err = new AxiosError( + 'stream has been aborted', + AxiosError.ERR_BAD_RESPONSE, + config, + lastRequest, + response + ); + responseStream.destroy(err); + reject(err); + }); + + responseStream.on('error', function handleStreamError(err) { + if (rejected) return; + reject(AxiosError.from(err, null, config, lastRequest, response)); + }); + + responseStream.on('end', function handleStreamEnd() { + try { + let responseData = + responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer); + if (responseType !== 'arraybuffer') { + responseData = responseData.toString(responseEncoding); + if (!responseEncoding || responseEncoding === 'utf8') { + responseData = utils.stripBOM(responseData); + } + } + response.data = responseData; + } catch (err) { + return reject(AxiosError.from(err, null, config, response.request, response)); + } + settle(resolve, reject, response); + }); + } + + abortEmitter.once('abort', (err) => { + if (!responseStream.destroyed) { + responseStream.emit('error', err); + responseStream.destroy(); + } + }); + }); + + abortEmitter.once('abort', (err) => { + if (req.close) { + req.close(); + } else { + req.destroy(err); + } + }); + + // Handle errors + req.on('error', function handleRequestError(err) { + reject(AxiosError.from(err, null, config, req)); + }); + + // set tcp keep alive to prevent drop connection by peer + // Track every socket bound to this outer RedirectableRequest so a single + // 'close' listener can release ownership on all of them. follow-redirects + // re-emits the 'socket' event for each hop's native request onto the same + // outer request, so attaching per-request listeners inside this handler + // would accumulate across hops and trigger MaxListenersExceededWarning at + // >= 11 redirects. Clearing only the last-bound socket would leave stale + // kAxiosCurrentReq refs on earlier hop sockets returned to the keep-alive + // pool, causing an idle-pool 'error' to be attributed to a closed req. + const boundSockets = new Set(); + + req.on('socket', function handleRequestSocket(socket) { + // default interval of sending ack packet is 1 minute + // proxy agents (e.g. agent-base) may return a generic Duplex stream + // that doesn't have setKeepAlive, so guard before calling + if (typeof socket.setKeepAlive === 'function') { + socket.setKeepAlive(true, 1000 * 60); + } + + // Install a single 'error' listener per socket (not per request) to avoid + // accumulating listeners on pooled keep-alive sockets that get reassigned + // to new requests before the previous request's 'close' fires (issue #10780). + // The listener is bound to the socket's currently-active request via a + // symbol, which is swapped as the socket is reassigned. + if (!socket[kAxiosSocketListener]) { + socket.on('error', function handleSocketError(err) { + const current = socket[kAxiosCurrentReq]; + if (current && !current.destroyed) { + current.destroy(err); + } + }); + socket[kAxiosSocketListener] = true; + } + + socket[kAxiosCurrentReq] = req; + boundSockets.add(socket); + }); + + req.once('close', function clearCurrentReq() { + clearConnectPhaseTimer(); + + for (const socket of boundSockets) { + if (socket[kAxiosCurrentReq] === req) { + socket[kAxiosCurrentReq] = null; + } + } + boundSockets.clear(); + }); + + // Handle request timeout + if (own('timeout')) { + // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types. + const timeout = parseInt(own('timeout'), 10); + + if (Number.isNaN(timeout)) { + abort( + new AxiosError( + 'error trying to parse `config.timeout` to int', + AxiosError.ERR_BAD_OPTION_VALUE, + config, + req + ) + ); + + return; + } + + const handleTimeout = function handleTimeout() { + if (isDone) return; + abort(createTimeoutError()); + }; + + if (isNativeTransport && timeout > 0) { + // Native ClientRequest#setTimeout starts from the socket lifecycle and + // may not fire while TCP connect is still pending. Mirror the + // follow-redirects wall-clock timer for the maxRedirects === 0 path. + connectPhaseTimer = setTimeout(handleTimeout, timeout); + } + + // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system. + // And timer callback will be fired, and abort() will be invoked before connection, then get "socket hang up" and code ECONNRESET. + // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up. + // And then these socket which be hang up will devouring CPU little by little. + // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect. + req.setTimeout(timeout, handleTimeout); + } else { + // explicitly reset the socket timeout value for a possible `keep-alive` request + req.setTimeout(0); + } + + // Send the request + if (utils.isStream(data)) { + let ended = false; + let errored = false; + + data.on('end', () => { + ended = true; + }); + + data.once('error', (err) => { + errored = true; + req.destroy(err); + }); + + data.on('close', () => { + if (!ended && !errored) { + abort(new CanceledError('Request stream has been aborted', config, req)); + } + }); + + // Enforce maxBodyLength for streamed uploads on every transport that + // does not apply options.maxBodyLength itself (native http/https, http2, + // and user-supplied custom transports). The follow-redirects transport + // enforces it on the redirected HTTP/1 path. + let uploadStream = data; + if (maxBodyLength > -1 && !transportEnforcesMaxBodyLength) { + const limit = maxBodyLength; + let bytesSent = 0; + uploadStream = stream.pipeline( + [ + data, + new stream.Transform({ + transform(chunk, _enc, cb) { + bytesSent += chunk.length; + if (bytesSent > limit) { + return cb( + new AxiosError( + 'Request body larger than maxBodyLength limit', + AxiosError.ERR_BAD_REQUEST, + config, + req + ) + ); + } + cb(null, chunk); + }, + }), + ], + utils.noop + ); + uploadStream.on('error', (err) => { + if (!req.destroyed) req.destroy(err); + }); + } + + uploadStream.pipe(req); + } else { + data && req.write(data); + req.end(); + } + }); + }; + +export const __setProxy = setProxy; +export const __isNodeEnvProxyEnabled = isNodeEnvProxyEnabled; +export const __isSameOriginRedirect = isSameOriginRedirect; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.min.js new file mode 100644 index 0000000..4ee6ac8 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/adapters/http.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import utils from"../utils.js";import settle from"../core/settle.js";import buildFullPath from"../core/buildFullPath.js";import buildURL from"../helpers/buildURL.js";import{getProxyForUrl}from"proxy-from-env";import HttpsProxyAgent from"https-proxy-agent";import http from"http";import https from"https";import http2 from"http2";import util from"util";import{resolve as resolvePath}from"path";import followRedirects from"follow-redirects";import zlib from"zlib";import{VERSION}from"../env/data.js";import transitionalDefaults from"../defaults/transitional.js";import AxiosError from"../core/AxiosError.js";import CanceledError from"../cancel/CanceledError.js";import platform from"../platform/index.js";import fromDataURI from"../helpers/fromDataURI.js";import stream from"stream";import AxiosHeaders from"../core/AxiosHeaders.js";import AxiosTransformStream from"../helpers/AxiosTransformStream.js";import{EventEmitter}from"events";import formDataToStream from"../helpers/formDataToStream.js";import readBlob from"../helpers/readBlob.js";import ZlibHeaderTransformStream from"../helpers/ZlibHeaderTransformStream.js";import Http2Sessions from"../helpers/Http2Sessions.js";import callbackify from"../helpers/callbackify.js";import shouldBypassProxy from"../helpers/shouldBypassProxy.js";import{toByteStringHeaderObject}from"../helpers/sanitizeHeaderValue.js";import{progressEventReducer,progressEventDecorator,asyncDecorator}from"../helpers/progressEventReducer.js";import estimateDataURLDecodedBytes from"../helpers/estimateDataURLDecodedBytes.js";const zlibOptions={flush:zlib.constants.Z_SYNC_FLUSH,finishFlush:zlib.constants.Z_SYNC_FLUSH},brotliOptions={flush:zlib.constants.BROTLI_OPERATION_FLUSH,finishFlush:zlib.constants.BROTLI_OPERATION_FLUSH},zstdOptions={flush:zlib.constants.ZSTD_e_flush,finishFlush:zlib.constants.ZSTD_e_flush},isBrotliSupported=utils.isFunction(zlib.createBrotliDecompress),isZstdSupported=utils.isFunction(zlib.createZstdDecompress),ACCEPT_ENCODING="gzip, compress, deflate"+(isBrotliSupported?", br":""),ACCEPT_ENCODING_WITH_ZSTD=ACCEPT_ENCODING+(isZstdSupported?", zstd":""),{http:httpFollow,https:httpsFollow}=followRedirects,isHttps=/https:?/,FORM_DATA_CONTENT_HEADERS=["content-type","content-length"];function setFormDataHeaders(e,t,r){"content-only"===r?Object.entries(t).forEach(([t,r])=>{FORM_DATA_CONTENT_HEADERS.includes(t.toLowerCase())&&e.set(t,r)}):e.set(t)}const kAxiosSocketListener=Symbol("axios.http.socketListener"),kAxiosCurrentReq=Symbol("axios.http.currentReq"),kAxiosInstalledTunnel=Symbol("axios.http.installedTunnel"),tunnelingAgentCache=new Map,tunnelingAgentCacheUser=new WeakMap,NODE_NATIVE_ENV_PROXY_SUPPORT={22:21,24:5};function isNodeNativeEnvProxySupported(e=process.versions&&process.versions.node){if(!e)return!1;const[t,r]=e.split(".").map(e=>Number(e));return!(!Number.isInteger(t)||!Number.isInteger(r))&&(t>24||null!=NODE_NATIVE_ENV_PROXY_SUPPORT[t]&&r>=NODE_NATIVE_ENV_PROXY_SUPPORT[t])}function isNodeEnvProxyEnabled(e,t=process.versions&&process.versions.node){if(!isNodeNativeEnvProxySupported(t))return!1;const r=e&&e.options;return Boolean(r&&utils.hasOwnProp(r,"proxyEnv")&&null!=r.proxyEnv)}function getProxyEnvAgent(e,t,r){return isHttps.test(e.protocol)?r||https.globalAgent:t||http.globalAgent}function getTunnelingAgent(e,t){const r=e.protocol+"//"+e.hostname+":"+(e.port||"")+"#"+(e.auth||""),o=t?tunnelingAgentCacheUser.get(t)||tunnelingAgentCacheUser.set(t,new Map).get(t):tunnelingAgentCache;let s=o.get(r);if(s)return s;const n=t&&t.options?{...t.options,...e}:e;if(s=new HttpsProxyAgent(n),t&&t.options){const e={...t.options},r=s.callback;s.callback=function(t,o){return r.call(this,t,{...e,...o})}}return s[kAxiosInstalledTunnel]=!0,o.set(r,s),s}const supportedProtocols=platform.protocols.map(e=>e+":"),decodeURIComponentSafe=e=>{if(!utils.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},flushOnFinish=(e,[t,r])=>(e.on("end",r).on("error",r),t),http2Sessions=new Http2Sessions;function dispatchBeforeRedirect(e,t,r){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.auth&&e.beforeRedirects.auth(e),e.beforeRedirects.sensitiveHeaders&&e.beforeRedirects.sensitiveHeaders(e,r),e.beforeRedirects.config&&e.beforeRedirects.config(e,t,r)}function stripMatchingHeaders(e,t){e&&Object.keys(e).forEach(r=>{t.has(r.toLowerCase())&&delete e[r]})}function isSameOriginRedirect(e,t){if(!t)return!1;try{return new URL(t.url).origin===new URL(e.href).origin}catch(e){return!1}}function setProxy(e,t,r,o,s,n){let i=t;const a=getProxyEnvAgent(e,n,s);if(!i&&!1!==i&&!isNodeEnvProxyEnabled(a)){const e=getProxyForUrl(r);e&&(shouldBypassProxy(r)||(i=new URL(e)))}if(o&&e.headers)for(const t of Object.keys(e.headers))"proxy-authorization"===t.toLowerCase()&&delete e.headers[t];if(o&&e.agent&&e.agent[kAxiosInstalledTunnel]&&(e.agent=void 0),i){const t=i instanceof URL,o=e=>t||utils.hasOwnProp(i,e)?i[e]:void 0,n=o("username"),a=o("password");let l=utils.hasOwnProp(i,"auth")?i.auth:void 0;if(n&&(l=(n||"")+":"+(a||"")),l){const e="object"==typeof l,t=e&&utils.hasOwnProp(l,"username")?l.username:void 0,r=e&&utils.hasOwnProp(l,"password")?l.password:void 0;if(Boolean(t||r))l=(t||"")+":"+(r||"");else if(e)throw new AxiosError("Invalid proxy authorization",AxiosError.ERR_BAD_OPTION,{proxy:i})}if(isHttps.test(e.protocol)){if(!(s instanceof HttpsProxyAgent)){const t=o("hostname")||o("host"),r=o("port"),n=o("protocol"),i=n?n.includes(":")?n:`${n}:`:"http:",a=t&&t.includes(":")&&!t.startsWith("[")?`[${t}]`:t,c=new URL(`${i}//${a}${r?":"+r:""}`),p={protocol:c.protocol,hostname:c.hostname.replace(/^\[|\]$/g,""),port:c.port,auth:l&&"string"==typeof l?l:void 0};"https:"===c.protocol&&(p.ALPNProtocols=["http/1.1"]);const d=getTunnelingAgent(p,s);e.agent=d,e.agents&&(e.agents.https=d)}}else{if(l){const t=Buffer.from(l,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}let t=!1;for(const r of Object.keys(e.headers))if("host"===r.toLowerCase()){t=!0;break}t||(e.headers.host=e.hostname+(e.port?":"+e.port:""));const s=o("hostname")||o("host");e.hostname=s,e.host=s,e.port=o("port"),e.path=r;const n=o("protocol");n&&(e.protocol=n.includes(":")?n:`${n}:`)}}e.beforeRedirects.proxy=function(e){setProxy(e,t,e.href,!0,s,n)}}const isHttpAdapterSupported="undefined"!=typeof process&&"process"===utils.kindOf(process),wrapAsync=e=>new Promise((t,r)=>{let o,s;const n=(e,t)=>{s||(s=!0,o&&o(e,t))},i=e=>{n(e,!0),r(e)};e(e=>{n(e),t(e)},i,e=>o=e).catch(i)}),resolveFamily=({address:e,family:t})=>{if(!utils.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}},buildAddressEntry=(e,t)=>resolveFamily(utils.isObject(e)?e:{address:e,family:t}),http2Transport={request(e,t){const r=e.protocol+"//"+e.hostname+":"+(e.port||("https:"===e.protocol?443:80)),{http2Options:o,headers:s}=e,n=http2Sessions.getSession(r,o),{HTTP2_HEADER_SCHEME:i,HTTP2_HEADER_METHOD:a,HTTP2_HEADER_PATH:l,HTTP2_HEADER_STATUS:c}=http2.constants,p={[i]:e.protocol.replace(":",""),[a]:e.method,[l]:e.path};utils.forEach(s,(e,t)=>{":"!==t.charAt(0)&&(p[t]=e)});const d=n.request(p);return d.once("response",e=>{const r=d,o=(e=Object.assign({},e))[c];delete e[c],r.headers=e,r.statusCode=+o,t(r)}),d}};export default isHttpAdapterSupported&&function(e){return wrapAsync(async function(t,r,o){const s=t=>utils.getSafeProp(e,t),n=s("transitional")||transitionalDefaults;let i=s("data"),a=s("lookup"),l=s("family"),c=s("httpVersion");void 0===c&&(c=1);let p=s("http2Options");const d=s("httpAgent"),u=s("httpsAgent"),f=s("proxy"),m=s("responseType"),h=s("responseEncoding"),E=s("socketPath"),g=s("method").toUpperCase(),A=s("maxRedirects"),b=s("maxBodyLength"),y=s("maxContentLength"),x=s("decompress");let R,S,T,_=!1;if(c=+c,Number.isNaN(c))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(1!==c&&2!==c)throw TypeError(`Unsupported protocol version '${c}'`);const O=2===c;if(a){const e=callbackify(a,e=>utils.isArray(e)?e:[e]);a=(t,r,o)=>{e(t,r,(e,t,s)=>{if(e)return o(e);const n=utils.isArray(t)?t.map(e=>buildAddressEntry(e)):[buildAddressEntry(t,s)];r.all?o(e,n):o(e,n[0].address,n[0].family)})}}const P=new EventEmitter;function w(t){try{P.emit("abort",!t||t.type?new CanceledError(null,e,S):t)}catch(e){}}function D(){T&&(clearTimeout(T),T=null)}P.once("abort",r);const v=()=>{D(),e.cancelToken&&e.cancelToken.unsubscribe(w),e.signal&&e.signal.removeEventListener("abort",w),P.removeAllListeners()};(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(w),e.signal&&(e.signal.aborted?w():e.signal.addEventListener("abort",w))),o((e,t)=>{if(R=!0,D(),t)return _=!0,void v();const{data:r}=e;if(r instanceof stream.Readable||r instanceof stream.Duplex){const e=stream.finished(r,()=>{e(),v()})}else v()});const N=buildFullPath(s("baseURL"),s("url"),s("allowAbsoluteUrls"),e),H=E?"http://localhost":platform.hasBrowserEnv?platform.origin:void 0,C=new URL(N,H),B=C.protocol||supportedProtocols[0];if("data:"===B){if(y>-1){const t=String(s("url")||N||"");if(estimateDataURLDecodedBytes(t)>y)return r(new AxiosError("maxContentLength size of "+y+" exceeded",AxiosError.ERR_BAD_RESPONSE,e))}let o;if("GET"!==g)return settle(t,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{o=fromDataURI(s("url"),"blob"===m,{Blob:e.env&&e.env.Blob})}catch(t){throw AxiosError.from(t,AxiosError.ERR_BAD_REQUEST,e)}return"text"===m?(o=o.toString(h),h&&"utf8"!==h||(o=utils.stripBOM(o))):"stream"===m&&(o=stream.Readable.from(o)),settle(t,r,{data:o,status:200,statusText:"OK",headers:new AxiosHeaders,config:e})}if(-1===supportedProtocols.indexOf(B))return r(new AxiosError("Unsupported protocol "+B,AxiosError.ERR_BAD_REQUEST,e));const U=AxiosHeaders.from(e.headers).normalize();U.set("User-Agent","axios/"+VERSION,!1);const{onUploadProgress:L,onDownloadProgress:k}=e,z=e.maxRate;let I,j;if(utils.isSpecCompliantForm(i)){const e=U.getContentType(/boundary=([-_\w\d]{10,70})/i);i=formDataToStream(i,e=>{U.set(e)},{tag:`axios-${VERSION}-boundary`,boundary:e&&e[1]||void 0})}else if(utils.isFormData(i)&&utils.isFunction(i.getHeaders)&&i.getHeaders!==Object.prototype.getHeaders){if(setFormDataHeaders(U,i.getHeaders(),s("formDataHeaderPolicy")),!U.hasContentLength())try{const e=await util.promisify(i.getLength).call(i);Number.isFinite(e)&&e>=0&&U.setContentLength(e)}catch(e){}}else if(utils.isBlob(i)||utils.isFile(i))i.size&&U.setContentType(i.type||"application/octet-stream"),U.setContentLength(i.size||0),i=stream.Readable.from(readBlob(i));else if(i&&!utils.isStream(i)){if(Buffer.isBuffer(i));else if(utils.isArrayBuffer(i))i=Buffer.from(new Uint8Array(i));else{if(!utils.isString(i))return r(new AxiosError("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",AxiosError.ERR_BAD_REQUEST,e));i=Buffer.from(i,"utf-8")}if(U.setContentLength(i.length,!1),b>-1&&i.length>b)return r(new AxiosError("Request body larger than maxBodyLength limit",AxiosError.ERR_BAD_REQUEST,e))}const F=utils.toFiniteNumber(U.getContentLength());let V;utils.isArray(z)?(I=z[0],j=z[1]):I=j=z,i&&(L||I)&&(utils.isStream(i)||(i=stream.Readable.from(i,{objectMode:!1})),i=stream.pipeline([i,new AxiosTransformStream({maxRate:utils.toFiniteNumber(I)})],utils.noop),L&&i.on("progress",flushOnFinish(i,progressEventDecorator(F,progressEventReducer(asyncDecorator(L),!1,3)))));const M=s("auth");if(M){V=(utils.getSafeProp(M,"username")||"")+":"+(utils.getSafeProp(M,"password")||"")}if(!V&&(C.username||C.password)){V=decodeURIComponentSafe(C.username)+":"+decodeURIComponentSafe(C.password)}let Z;V&&U.delete("authorization");try{Z=buildURL(C.pathname+C.search,s("params"),s("paramsSerializer")).replace(/^\?/,"")}catch(t){return r(AxiosError.from(t,AxiosError.ERR_BAD_REQUEST,e,null,null,{url:s("url"),exists:!0}))}U.set("Accept-Encoding",utils.hasOwnProp(n,"advertiseZstdAcceptEncoding")&&!0===n.advertiseZstdAcceptEncoding?ACCEPT_ENCODING_WITH_ZSTD:ACCEPT_ENCODING,!1);const q=Object.assign(Object.create(null),{path:Z,method:g,headers:toByteStringHeaderObject(U),agents:{http:d,https:u},auth:V,protocol:B,family:l,beforeRedirect:dispatchBeforeRedirect,beforeRedirects:Object.create(null),http2Options:p});if(!utils.isUndefined(a)&&(q.lookup=a),E){if("string"!=typeof E)return r(new AxiosError("socketPath must be a string",AxiosError.ERR_BAD_OPTION_VALUE,e));const t=s("allowedSocketPaths");if(null!=t){const o=Array.isArray(t)?t:[t],s=resolvePath(E);if(!o.some(e=>"string"==typeof e&&resolvePath(e)===s))return r(new AxiosError(`socketPath "${E}" is not permitted by allowedSocketPaths`,AxiosError.ERR_BAD_OPTION_VALUE,e))}q.socketPath=E}else q.hostname=C.hostname.startsWith("[")?C.hostname.slice(1,-1):C.hostname,q.port=C.port,setProxy(q,f,B+"//"+C.hostname+(C.port?":"+C.port:"")+q.path,!1,u,d);let $,G=!1,Q=!1;const W=isHttps.test(q.protocol);if(null==q.agent&&(q.agent=W?u:d),O)$=http2Transport;else{const t=s("transport");if(t)$=t;else if(0===A)$=W?https:http,G=!0;else{Q=!0,q.sensitiveHeaders=[],A&&(q.maxRedirects=A);const t=s("beforeRedirect");if(t&&(q.beforeRedirects.config=t),V){const e=C.origin,t=V;q.beforeRedirects.auth=function(r){try{new URL(r.href).origin===e&&(r.auth=t)}catch(e){}}}const o=s("sensitiveHeaders");if(null!=o){if(!utils.isArray(o))return r(new AxiosError("sensitiveHeaders must be an array of strings",AxiosError.ERR_BAD_OPTION_VALUE,e));const t=new Set;for(const s of o){if(!utils.isString(s))return r(new AxiosError("sensitiveHeaders must be an array of strings",AxiosError.ERR_BAD_OPTION_VALUE,e));t.add(s.toLowerCase())}t.size&&(q.sensitiveHeaders=Array.from(t),q.beforeRedirects.sensitiveHeaders=function(e,r){isSameOriginRedirect(e,r)||stripMatchingHeaders(e.headers,t)})}$=W?httpsFollow:httpFollow}}q.maxBodyLength=b>-1?b:1/0,q.insecureHTTPParser=Boolean(s("insecureHTTPParser")),S=$.request(q,function(o){if(D(),S.destroyed)return;const s=[o],n=utils.toFiniteNumber(o.headers["content-length"]);if(k||j){const e=new AxiosTransformStream({maxRate:utils.toFiniteNumber(j)});k&&e.on("progress",flushOnFinish(e,progressEventDecorator(n,progressEventReducer(asyncDecorator(k),!0,3)))),s.push(e)}let i=o;const a=o.req||S;if(!1!==x&&o.headers["content-encoding"])switch("HEAD"!==g&&204!==o.statusCode||delete o.headers["content-encoding"],(o.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":s.push(zlib.createUnzip(zlibOptions)),delete o.headers["content-encoding"];break;case"deflate":s.push(new ZlibHeaderTransformStream),s.push(zlib.createUnzip(zlibOptions)),delete o.headers["content-encoding"];break;case"br":isBrotliSupported&&(s.push(zlib.createBrotliDecompress(brotliOptions)),delete o.headers["content-encoding"]);break;case"zstd":isZstdSupported&&(s.push(zlib.createZstdDecompress(zstdOptions)),delete o.headers["content-encoding"])}i=s.length>1?stream.pipeline(s,utils.noop):s[0];const l={status:o.statusCode,statusText:o.statusMessage,headers:new AxiosHeaders(o.headers),config:e,request:a};if("stream"===m){if(y>-1){const t=y,r=i;i=stream.Readable.from(async function*(){let o=0;for await(const s of r){if(o+=s.length,o>t)throw new AxiosError("maxContentLength size of "+t+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,a);yield s}}(),{objectMode:!1})}l.data=i,settle(t,r,l)}else{const o=[];let s=0;i.on("data",function(t){o.push(t),s+=t.length,y>-1&&s>y&&(_=!0,i.destroy(),w(new AxiosError("maxContentLength size of "+y+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,a)))}),i.on("aborted",function(){if(_)return;const t=new AxiosError("stream has been aborted",AxiosError.ERR_BAD_RESPONSE,e,a,l);i.destroy(t),r(t)}),i.on("error",function(t){_||r(AxiosError.from(t,null,e,a,l))}),i.on("end",function(){try{let e=1===o.length?o[0]:Buffer.concat(o);"arraybuffer"!==m&&(e=e.toString(h),h&&"utf8"!==h||(e=utils.stripBOM(e))),l.data=e}catch(t){return r(AxiosError.from(t,null,e,l.request,l))}settle(t,r,l)})}P.once("abort",e=>{i.destroyed||(i.emit("error",e),i.destroy())})}),P.once("abort",e=>{S.close?S.close():S.destroy(e)}),S.on("error",function(t){r(AxiosError.from(t,null,e,S))});const Y=new Set;if(S.on("socket",function(e){"function"==typeof e.setKeepAlive&&e.setKeepAlive(!0,6e4),e[kAxiosSocketListener]||(e.on("error",function(t){const r=e[kAxiosCurrentReq];r&&!r.destroyed&&r.destroy(t)}),e[kAxiosSocketListener]=!0),e[kAxiosCurrentReq]=S,Y.add(e)}),S.once("close",function(){D();for(const e of Y)e[kAxiosCurrentReq]===S&&(e[kAxiosCurrentReq]=null);Y.clear()}),s("timeout")){const t=parseInt(s("timeout"),10);if(Number.isNaN(t))return void w(new AxiosError("error trying to parse `config.timeout` to int",AxiosError.ERR_BAD_OPTION_VALUE,e,S));const r=function(){R||w(function(){const t=s("timeout");let r=t?"timeout of "+t+"ms exceeded":"timeout exceeded";const o=s("timeoutErrorMessage");return o&&(r=o),new AxiosError(r,n.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,e,S)}())};G&&t>0&&(T=setTimeout(r,t)),S.setTimeout(t,r)}else S.setTimeout(0);if(utils.isStream(i)){let t=!1,r=!1;i.on("end",()=>{t=!0}),i.once("error",e=>{r=!0,S.destroy(e)}),i.on("close",()=>{t||r||w(new CanceledError("Request stream has been aborted",e,S))});let o=i;if(b>-1&&!Q){const t=b;let r=0;o=stream.pipeline([i,new stream.Transform({transform(o,s,n){if(r+=o.length,r>t)return n(new AxiosError("Request body larger than maxBodyLength limit",AxiosError.ERR_BAD_REQUEST,e,S));n(null,o)}})],utils.noop),o.on("error",e=>{S.destroyed||S.destroy(e)})}o.pipe(S)}else i&&S.write(i),S.end()})};export const __setProxy=setProxy;export const __isNodeEnvProxyEnabled=isNodeEnvProxyEnabled;export const __isSameOriginRedirect=isSameOriginRedirect; +//# sourceMappingURL=/sm/1d7e74a3ae3510c3057795d2192e981715ace940c77ec1c74edfe9a47fdcdceb.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.js new file mode 100644 index 0000000..5432ca9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.js @@ -0,0 +1,228 @@ +import utils from '../utils.js'; +import settle from '../core/settle.js'; +import transitionalDefaults from '../defaults/transitional.js'; +import AxiosError from '../core/AxiosError.js'; +import CanceledError from '../cancel/CanceledError.js'; +import parseProtocol from '../helpers/parseProtocol.js'; +import platform from '../platform/index.js'; +import AxiosHeaders from '../core/AxiosHeaders.js'; +import { progressEventReducer } from '../helpers/progressEventReducer.js'; +import resolveConfig from '../helpers/resolveConfig.js'; +import { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js'; + +const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; + +export default isXHRAdapterSupported && + function (config) { + return new Promise(function dispatchXhrRequest(resolve, reject) { + const _config = resolveConfig(config); + let requestData = _config.data; + const requestHeaders = AxiosHeaders.from(_config.headers).normalize(); + let { responseType, onUploadProgress, onDownloadProgress } = _config; + let onCanceled; + let uploadThrottled, downloadThrottled; + let flushUpload, flushDownload; + + function done() { + flushUpload && flushUpload(); // flush events + flushDownload && flushDownload(); // flush events + + _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled); + + _config.signal && _config.signal.removeEventListener('abort', onCanceled); + } + + let request = new XMLHttpRequest(); + + request.open(_config.method.toUpperCase(), _config.url, true); + + // Set the request timeout in MS + request.timeout = _config.timeout; + + function onloadend() { + if (!request) { + return; + } + // Prepare the response + const responseHeaders = AxiosHeaders.from( + 'getAllResponseHeaders' in request && request.getAllResponseHeaders() + ); + const responseData = + !responseType || responseType === 'text' || responseType === 'json' + ? request.responseText + : request.response; + const response = { + data: responseData, + status: request.status, + statusText: request.statusText, + headers: responseHeaders, + config, + request, + }; + + settle( + function _resolve(value) { + resolve(value); + done(); + }, + function _reject(err) { + reject(err); + done(); + }, + response + ); + + // Clean up request + request = null; + } + + if ('onloadend' in request) { + // Use onloadend if available + request.onloadend = onloadend; + } else { + // Listen for ready state to emulate onloadend + request.onreadystatechange = function handleLoad() { + if (!request || request.readyState !== 4) { + return; + } + + // The request errored out and we didn't get a response, this will be + // handled by onerror instead + // With one exception: request that using file: protocol, most browsers + // will return status as 0 even though it's a successful request + if ( + request.status === 0 && + !(request.responseURL && request.responseURL.startsWith('file:')) + ) { + return; + } + // readystate handler is calling before onerror or ontimeout handlers, + // so we should call onloadend on the next 'tick' + setTimeout(onloadend); + }; + } + + // Handle browser request cancellation (as opposed to a manual cancellation) + request.onabort = function handleAbort() { + if (!request) { + return; + } + + reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request)); + done(); + + // Clean up request + request = null; + }; + + // Handle low level network errors + request.onerror = function handleError(event) { + // Browsers deliver a ProgressEvent in XHR onerror + // (message may be empty; when present, surface it) + // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event + const msg = event && event.message ? event.message : 'Network Error'; + const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request); + // attach the underlying event for consumers who want details + err.event = event || null; + reject(err); + done(); + request = null; + }; + + // Handle timeout + request.ontimeout = function handleTimeout() { + let timeoutErrorMessage = _config.timeout + ? 'timeout of ' + _config.timeout + 'ms exceeded' + : 'timeout exceeded'; + const transitional = _config.transitional || transitionalDefaults; + if (_config.timeoutErrorMessage) { + timeoutErrorMessage = _config.timeoutErrorMessage; + } + reject( + new AxiosError( + timeoutErrorMessage, + transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, + config, + request + ) + ); + done(); + + // Clean up request + request = null; + }; + + // Remove Content-Type if data is undefined + requestData === undefined && requestHeaders.setContentType(null); + + // Add headers to the request + if ('setRequestHeader' in request) { + utils.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) { + request.setRequestHeader(key, val); + }); + } + + // Add withCredentials to request if needed + if (!utils.isUndefined(_config.withCredentials)) { + request.withCredentials = !!_config.withCredentials; + } + + // Add responseType to request if needed + if (responseType && responseType !== 'json') { + request.responseType = _config.responseType; + } + + // Handle progress if needed + if (onDownloadProgress) { + [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true); + request.addEventListener('progress', downloadThrottled); + } + + // Not all browsers support upload events + if (onUploadProgress && request.upload) { + [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress); + + request.upload.addEventListener('progress', uploadThrottled); + + request.upload.addEventListener('loadend', flushUpload); + } + + if (_config.cancelToken || _config.signal) { + // Handle cancellation + // eslint-disable-next-line func-names + onCanceled = (cancel) => { + if (!request) { + return; + } + reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel); + request.abort(); + done(); + request = null; + }; + + _config.cancelToken && _config.cancelToken.subscribe(onCanceled); + if (_config.signal) { + _config.signal.aborted + ? onCanceled() + : _config.signal.addEventListener('abort', onCanceled); + } + } + + const protocol = parseProtocol(_config.url); + + if (protocol && !platform.protocols.includes(protocol)) { + reject( + new AxiosError( + 'Unsupported protocol ' + protocol + ':', + AxiosError.ERR_BAD_REQUEST, + config + ) + ); + done(); + return; + } + + // Send the request + request.send(requestData || null); + }); + }; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.min.js new file mode 100644 index 0000000..924326b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/adapters/xhr.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import utils from"../utils.js";import settle from"../core/settle.js";import transitionalDefaults from"../defaults/transitional.js";import AxiosError from"../core/AxiosError.js";import CanceledError from"../cancel/CanceledError.js";import parseProtocol from"../helpers/parseProtocol.js";import platform from"../platform/index.js";import AxiosHeaders from"../core/AxiosHeaders.js";import{progressEventReducer}from"../helpers/progressEventReducer.js";import resolveConfig from"../helpers/resolveConfig.js";import{toByteStringHeaderObject}from"../helpers/sanitizeHeaderValue.js";const isXHRAdapterSupported="undefined"!=typeof XMLHttpRequest;export default isXHRAdapterSupported&&function(e){return new Promise(function(r,o){const t=resolveConfig(e);let s=t.data;const n=AxiosHeaders.from(t.headers).normalize();let i,a,l,u,d,{responseType:p,onUploadProgress:c,onDownloadProgress:m}=t;function f(){u&&u(),d&&d(),t.cancelToken&&t.cancelToken.unsubscribe(i),t.signal&&t.signal.removeEventListener("abort",i)}let E=new XMLHttpRequest;function g(){if(!E)return;const t=AxiosHeaders.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),s={data:p&&"text"!==p&&"json"!==p?E.response:E.responseText,status:E.status,statusText:E.statusText,headers:t,config:e,request:E};settle(function(e){r(e),f()},function(e){o(e),f()},s),E=null}E.open(t.method.toUpperCase(),t.url,!0),E.timeout=t.timeout,"onloadend"in E?E.onloadend=g:E.onreadystatechange=function(){E&&4===E.readyState&&(0!==E.status||E.responseURL&&E.responseURL.startsWith("file:"))&&setTimeout(g)},E.onabort=function(){E&&(o(new AxiosError("Request aborted",AxiosError.ECONNABORTED,e,E)),f(),E=null)},E.onerror=function(r){const t=r&&r.message?r.message:"Network Error",s=new AxiosError(t,AxiosError.ERR_NETWORK,e,E);s.event=r||null,o(s),f(),E=null},E.ontimeout=function(){let r=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const s=t.transitional||transitionalDefaults;t.timeoutErrorMessage&&(r=t.timeoutErrorMessage),o(new AxiosError(r,s.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,e,E)),f(),E=null},void 0===s&&n.setContentType(null),"setRequestHeader"in E&&utils.forEach(toByteStringHeaderObject(n),function(e,r){E.setRequestHeader(r,e)}),utils.isUndefined(t.withCredentials)||(E.withCredentials=!!t.withCredentials),p&&"json"!==p&&(E.responseType=t.responseType),m&&([l,d]=progressEventReducer(m,!0),E.addEventListener("progress",l)),c&&E.upload&&([a,u]=progressEventReducer(c),E.upload.addEventListener("progress",a),E.upload.addEventListener("loadend",u)),(t.cancelToken||t.signal)&&(i=r=>{E&&(o(!r||r.type?new CanceledError(null,e,E):r),E.abort(),f(),E=null)},t.cancelToken&&t.cancelToken.subscribe(i),t.signal&&(t.signal.aborted?i():t.signal.addEventListener("abort",i)));const x=parseProtocol(t.url);if(x&&!platform.protocols.includes(x))return o(new AxiosError("Unsupported protocol "+x+":",AxiosError.ERR_BAD_REQUEST,e)),void f();E.send(s||null)})}; +//# sourceMappingURL=/sm/424b195ca9504ea3d99d6f91b8cd2d90f53c5e2b3b9b8295a2c53fcc9a2710ab.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.js new file mode 100644 index 0000000..5a3a876 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.js @@ -0,0 +1,89 @@ +'use strict'; + +import utils from './utils.js'; +import bind from './helpers/bind.js'; +import Axios from './core/Axios.js'; +import mergeConfig from './core/mergeConfig.js'; +import defaults from './defaults/index.js'; +import formDataToJSON from './helpers/formDataToJSON.js'; +import CanceledError from './cancel/CanceledError.js'; +import CancelToken from './cancel/CancelToken.js'; +import isCancel from './cancel/isCancel.js'; +import { VERSION } from './env/data.js'; +import toFormData from './helpers/toFormData.js'; +import AxiosError from './core/AxiosError.js'; +import spread from './helpers/spread.js'; +import isAxiosError from './helpers/isAxiosError.js'; +import AxiosHeaders from './core/AxiosHeaders.js'; +import adapters from './adapters/adapters.js'; +import HttpStatusCode from './helpers/HttpStatusCode.js'; + +/** + * Create an instance of Axios + * + * @param {Object} defaultConfig The default config for the instance + * + * @returns {Axios} A new instance of Axios + */ +function createInstance(defaultConfig) { + const context = new Axios(defaultConfig); + const instance = bind(Axios.prototype.request, context); + + // Copy axios.prototype to instance + utils.extend(instance, Axios.prototype, context, { allOwnKeys: true }); + + // Copy context to instance + utils.extend(instance, context, null, { allOwnKeys: true }); + + // Factory for creating new instances + instance.create = function create(instanceConfig) { + return createInstance(mergeConfig(defaultConfig, instanceConfig)); + }; + + return instance; +} + +// Create the default instance to be exported +const axios = createInstance(defaults); + +// Expose Axios class to allow class inheritance +axios.Axios = Axios; + +// Expose Cancel & CancelToken +axios.CanceledError = CanceledError; +axios.CancelToken = CancelToken; +axios.isCancel = isCancel; +axios.VERSION = VERSION; +axios.toFormData = toFormData; + +// Expose AxiosError class +axios.AxiosError = AxiosError; + +// alias for CanceledError for backward compatibility +axios.Cancel = axios.CanceledError; + +// Expose all/spread +axios.all = function all(promises) { + return Promise.all(promises); +}; + +axios.spread = spread; + +// Expose isAxiosError +axios.isAxiosError = isAxiosError; + +// Expose mergeConfig +axios.mergeConfig = mergeConfig; + +axios.AxiosHeaders = AxiosHeaders; + +axios.formToJSON = (thing) => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing); + +axios.getAdapter = adapters.getAdapter; + +axios.HttpStatusCode = HttpStatusCode; + +axios.default = axios; + +// this module should only have a default export +export default axios; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.min.js new file mode 100644 index 0000000..0c91736 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/axios.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"./utils.js";import bind from"./helpers/bind.js";import Axios from"./core/Axios.js";import mergeConfig from"./core/mergeConfig.js";import defaults from"./defaults/index.js";import formDataToJSON from"./helpers/formDataToJSON.js";import CanceledError from"./cancel/CanceledError.js";import CancelToken from"./cancel/CancelToken.js";import isCancel from"./cancel/isCancel.js";import{VERSION}from"./env/data.js";import toFormData from"./helpers/toFormData.js";import AxiosError from"./core/AxiosError.js";import spread from"./helpers/spread.js";import isAxiosError from"./helpers/isAxiosError.js";import AxiosHeaders from"./core/AxiosHeaders.js";import adapters from"./adapters/adapters.js";import HttpStatusCode from"./helpers/HttpStatusCode.js";function createInstance(o){const r=new Axios(o),e=bind(Axios.prototype.request,r);return utils.extend(e,Axios.prototype,r,{allOwnKeys:!0}),utils.extend(e,r,null,{allOwnKeys:!0}),e.create=function(r){return createInstance(mergeConfig(o,r))},e}const axios=createInstance(defaults);axios.Axios=Axios,axios.CanceledError=CanceledError,axios.CancelToken=CancelToken,axios.isCancel=isCancel,axios.VERSION=VERSION,axios.toFormData=toFormData,axios.AxiosError=AxiosError,axios.Cancel=axios.CanceledError,axios.all=function(o){return Promise.all(o)},axios.spread=spread,axios.isAxiosError=isAxiosError,axios.mergeConfig=mergeConfig,axios.AxiosHeaders=AxiosHeaders,axios.formToJSON=o=>formDataToJSON(utils.isHTMLForm(o)?new FormData(o):o),axios.getAdapter=adapters.getAdapter,axios.HttpStatusCode=HttpStatusCode,axios.default=axios;export default axios; +//# sourceMappingURL=/sm/6948fd57f18b8aa88e8204483d135f783af399bdb0489af0519431da6fcf4dd8.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.js new file mode 100644 index 0000000..357381e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.js @@ -0,0 +1,135 @@ +'use strict'; + +import CanceledError from './CanceledError.js'; + +/** + * A `CancelToken` is an object that can be used to request cancellation of an operation. + * + * @param {Function} executor The executor function. + * + * @returns {CancelToken} + */ +class CancelToken { + constructor(executor) { + if (typeof executor !== 'function') { + throw new TypeError('executor must be a function.'); + } + + let resolvePromise; + + this.promise = new Promise(function promiseExecutor(resolve) { + resolvePromise = resolve; + }); + + const token = this; + + // eslint-disable-next-line func-names + this.promise.then((cancel) => { + if (!token._listeners) return; + + let i = token._listeners.length; + + while (i-- > 0) { + token._listeners[i](cancel); + } + token._listeners = null; + }); + + // eslint-disable-next-line func-names + this.promise.then = (onfulfilled) => { + let _resolve; + // eslint-disable-next-line func-names + const promise = new Promise((resolve) => { + token.subscribe(resolve); + _resolve = resolve; + }).then(onfulfilled); + + promise.cancel = function reject() { + token.unsubscribe(_resolve); + }; + + return promise; + }; + + executor(function cancel(message, config, request) { + if (token.reason) { + // Cancellation has already been requested + return; + } + + token.reason = new CanceledError(message, config, request); + resolvePromise(token.reason); + }); + } + + /** + * Throws a `CanceledError` if cancellation has been requested. + */ + throwIfRequested() { + if (this.reason) { + throw this.reason; + } + } + + /** + * Subscribe to the cancel signal + */ + + subscribe(listener) { + if (this.reason) { + listener(this.reason); + return; + } + + if (this._listeners) { + this._listeners.push(listener); + } else { + this._listeners = [listener]; + } + } + + /** + * Unsubscribe from the cancel signal + */ + + unsubscribe(listener) { + if (!this._listeners) { + return; + } + const index = this._listeners.indexOf(listener); + if (index !== -1) { + this._listeners.splice(index, 1); + } + } + + toAbortSignal() { + const controller = new AbortController(); + + const abort = (err) => { + controller.abort(err); + }; + + this.subscribe(abort); + + controller.signal.unsubscribe = () => this.unsubscribe(abort); + + return controller.signal; + } + + /** + * Returns an object that contains a new `CancelToken` and a function that, when called, + * cancels the `CancelToken`. + */ + static source() { + let cancel; + const token = new CancelToken(function executor(c) { + cancel = c; + }); + return { + token, + cancel, + }; + } +} + +export default CancelToken; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.min.js new file mode 100644 index 0000000..736198b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/cancel/CancelToken.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import CanceledError from"./CanceledError.js";class CancelToken{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(e){s=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](e);n._listeners=null}),this.promise.then=e=>{let s;const t=new Promise(e=>{n.subscribe(e),s=e}).then(e);return t.cancel=function(){n.unsubscribe(s)},t},e(function(e,t,r){n.reason||(n.reason=new CanceledError(e,t,r),s(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const s=this._listeners.indexOf(e);-1!==s&&this._listeners.splice(s,1)}toAbortSignal(){const e=new AbortController,s=s=>{e.abort(s)};return this.subscribe(s),e.signal.unsubscribe=()=>this.unsubscribe(s),e.signal}static source(){let e;return{token:new CancelToken(function(s){e=s}),cancel:e}}}export default CancelToken; +//# sourceMappingURL=/sm/b55c00e23656aec3427912f3d91cfd53219d3d6398c336f5f7a0d186a84dd386.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.js new file mode 100644 index 0000000..e769b89 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.js @@ -0,0 +1,22 @@ +'use strict'; + +import AxiosError from '../core/AxiosError.js'; + +class CanceledError extends AxiosError { + /** + * A `CanceledError` is an object that is thrown when an operation is canceled. + * + * @param {string=} message The message. + * @param {Object=} config The config. + * @param {Object=} request The request. + * + * @returns {CanceledError} The created error. + */ + constructor(message, config, request) { + super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request); + this.name = 'CanceledError'; + this.__CANCEL__ = true; + } +} + +export default CanceledError; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.min.js new file mode 100644 index 0000000..56aaff1 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/cancel/CanceledError.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import AxiosError from"../core/AxiosError.js";class CanceledError extends AxiosError{constructor(r,o,e){super(null==r?"canceled":r,AxiosError.ERR_CANCELED,o,e),this.name="CanceledError",this.__CANCEL__=!0}}export default CanceledError; +//# sourceMappingURL=/sm/8423b5befdc17a1e5d0e5d5d5db7de37e6e7693a5342d5c433d912bdcdd78446.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.js new file mode 100644 index 0000000..a444a12 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.js @@ -0,0 +1,5 @@ +'use strict'; + +export default function isCancel(value) { + return !!(value && value.__CANCEL__); +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.min.js new file mode 100644 index 0000000..305d2ba --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/cancel/isCancel.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";export default function isCancel(t){return!(!t||!t.__CANCEL__)} +//# sourceMappingURL=/sm/1634eaf7f9503b19d4d3409fca26d600ac10f436cb40db5514de2c3e95194b58.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.js new file mode 100644 index 0000000..7fc529e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.js @@ -0,0 +1,283 @@ +'use strict'; + +import utils from '../utils.js'; +import buildURL from '../helpers/buildURL.js'; +import InterceptorManager from './InterceptorManager.js'; +import dispatchRequest from './dispatchRequest.js'; +import mergeConfig from './mergeConfig.js'; +import buildFullPath from './buildFullPath.js'; +import validator from '../helpers/validator.js'; +import AxiosHeaders from './AxiosHeaders.js'; +import transitionalDefaults from '../defaults/transitional.js'; + +const validators = validator.validators; + +/** + * Create a new instance of Axios + * + * @param {Object} instanceConfig The default config for the instance + * + * @return {Axios} A new instance of Axios + */ +class Axios { + constructor(instanceConfig) { + this.defaults = instanceConfig || {}; + this.interceptors = { + request: new InterceptorManager(), + response: new InterceptorManager(), + }; + } + + /** + * Dispatch a request + * + * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) + * @param {?Object} config + * + * @returns {Promise} The Promise to be fulfilled + */ + async request(configOrUrl, config) { + try { + return await this._request(configOrUrl, config); + } catch (err) { + if (err instanceof Error) { + let dummy = {}; + + Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error()); + + // slice off the Error: ... line + const stack = (() => { + if (!dummy.stack) { + return ''; + } + + const firstNewlineIndex = dummy.stack.indexOf('\n'); + + return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1); + })(); + try { + if (!err.stack) { + err.stack = stack; + // match without the 2 top stack lines + } else if (stack) { + const firstNewlineIndex = stack.indexOf('\n'); + const secondNewlineIndex = + firstNewlineIndex === -1 ? -1 : stack.indexOf('\n', firstNewlineIndex + 1); + const stackWithoutTwoTopLines = + secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1); + + if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) { + err.stack += '\n' + stack; + } + } + } catch (e) { + // ignore the case where "stack" is an un-writable property + } + } + + throw err; + } + } + + _request(configOrUrl, config) { + /*eslint no-param-reassign:0*/ + // Allow for axios('example/url'[, config]) a la fetch API + if (typeof configOrUrl === 'string') { + config = config || {}; + config.url = configOrUrl; + } else { + config = configOrUrl || {}; + } + + config = mergeConfig(this.defaults, config); + + const { transitional, paramsSerializer, headers } = config; + + if (transitional !== undefined) { + validator.assertOptions( + transitional, + { + silentJSONParsing: validators.transitional(validators.boolean), + forcedJSONParsing: validators.transitional(validators.boolean), + clarifyTimeoutError: validators.transitional(validators.boolean), + legacyInterceptorReqResOrdering: validators.transitional(validators.boolean), + advertiseZstdAcceptEncoding: validators.transitional(validators.boolean), + validateStatusUndefinedResolves: validators.transitional(validators.boolean), + }, + false + ); + } + + if (paramsSerializer != null) { + if (utils.isFunction(paramsSerializer)) { + config.paramsSerializer = { + serialize: paramsSerializer, + }; + } else { + validator.assertOptions( + paramsSerializer, + { + encode: validators.function, + serialize: validators.function, + }, + true + ); + } + } + + // Set config.allowAbsoluteUrls + if (config.allowAbsoluteUrls !== undefined) { + // do nothing + } else if (this.defaults.allowAbsoluteUrls !== undefined) { + config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls; + } else { + config.allowAbsoluteUrls = true; + } + + validator.assertOptions( + config, + { + baseUrl: validators.spelling('baseURL'), + withXsrfToken: validators.spelling('withXSRFToken'), + }, + true + ); + + // Set config.method + config.method = (config.method || this.defaults.method || 'get').toLowerCase(); + + // Flatten headers + let contextHeaders = headers && utils.merge(headers.common, headers[config.method]); + + headers && + utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => { + delete headers[method]; + }); + + config.headers = AxiosHeaders.concat(contextHeaders, headers); + + // filter out skipped interceptors + const requestInterceptorChain = []; + let synchronousRequestInterceptors = true; + this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) { + if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) { + return; + } + + synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous; + + const transitional = config.transitional || transitionalDefaults; + const legacyInterceptorReqResOrdering = + transitional && transitional.legacyInterceptorReqResOrdering; + + if (legacyInterceptorReqResOrdering) { + requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected); + } else { + requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); + } + }); + + const responseInterceptorChain = []; + this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) { + responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); + }); + + let promise; + let i = 0; + let len; + + if (!synchronousRequestInterceptors) { + const chain = [dispatchRequest.bind(this), undefined]; + chain.unshift(...requestInterceptorChain); + chain.push(...responseInterceptorChain); + len = chain.length; + + promise = Promise.resolve(config); + + while (i < len) { + promise = promise.then(chain[i++], chain[i++]); + } + + return promise; + } + + len = requestInterceptorChain.length; + + let newConfig = config; + + while (i < len) { + const onFulfilled = requestInterceptorChain[i++]; + const onRejected = requestInterceptorChain[i++]; + try { + newConfig = onFulfilled(newConfig); + } catch (error) { + onRejected.call(this, error); + break; + } + } + + try { + promise = dispatchRequest.call(this, newConfig); + } catch (error) { + return Promise.reject(error); + } + + i = 0; + len = responseInterceptorChain.length; + + while (i < len) { + promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); + } + + return promise; + } + + getUri(config) { + config = mergeConfig(this.defaults, config); + const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config); + return buildURL(fullPath, config.params, config.paramsSerializer); + } +} + +// Provide aliases for supported request methods +utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) { + /*eslint func-names:0*/ + Axios.prototype[method] = function (url, config) { + return this.request( + mergeConfig(config || {}, { + method, + url, + data: config && utils.hasOwnProp(config, 'data') ? config.data : undefined, + }) + ); + }; +}); + +utils.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) { + function generateHTTPMethod(isForm) { + return function httpMethod(url, data, config) { + return this.request( + mergeConfig(config || {}, { + method, + headers: isForm + ? { + 'Content-Type': 'multipart/form-data', + } + : {}, + url, + data, + }) + ); + }; + } + + Axios.prototype[method] = generateHTTPMethod(); + + // QUERY is a safe/idempotent read method; multipart form bodies don't fit + // its semantics, so no queryForm shorthand is generated. + if (method !== 'query') { + Axios.prototype[method + 'Form'] = generateHTTPMethod(true); + } +}); + +export default Axios; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.min.js new file mode 100644 index 0000000..998e06b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/core/Axios.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"../utils.js";import buildURL from"../helpers/buildURL.js";import InterceptorManager from"./InterceptorManager.js";import dispatchRequest from"./dispatchRequest.js";import mergeConfig from"./mergeConfig.js";import buildFullPath from"./buildFullPath.js";import validator from"../helpers/validator.js";import AxiosHeaders from"./AxiosHeaders.js";import transitionalDefaults from"../defaults/transitional.js";const validators=validator.validators;class Axios{constructor(t){this.defaults=t||{},this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const r=(()=>{if(!e.stack)return"";const t=e.stack.indexOf("\n");return-1===t?"":e.stack.slice(t+1)})();try{if(t.stack){if(r){const e=r.indexOf("\n"),s=-1===e?-1:r.indexOf("\n",e+1),o=-1===s?"":r.slice(s+1);String(t.stack).endsWith(o)||(t.stack+="\n"+r)}}else t.stack=r}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=mergeConfig(this.defaults,e);const{transitional:r,paramsSerializer:s,headers:o}=e;void 0!==r&&validator.assertOptions(r,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean),legacyInterceptorReqResOrdering:validators.transitional(validators.boolean),advertiseZstdAcceptEncoding:validators.transitional(validators.boolean),validateStatusUndefinedResolves:validators.transitional(validators.boolean)},!1),null!=s&&(utils.isFunction(s)?e.paramsSerializer={serialize:s}:validator.assertOptions(s,{encode:validators.function,serialize:validators.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),validator.assertOptions(e,{baseUrl:validators.spelling("baseURL"),withXsrfToken:validators.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let a=o&&utils.merge(o.common,o[e.method]);o&&utils.forEach(["delete","get","head","post","put","patch","query","common"],t=>{delete o[t]}),e.headers=AxiosHeaders.concat(a,o);const i=[];let l=!0;this.interceptors.request.forEach(function(t){if("function"==typeof t.runWhen&&!1===t.runWhen(e))return;l=l&&t.synchronous;const r=e.transitional||transitionalDefaults;r&&r.legacyInterceptorReqResOrdering?i.unshift(t.fulfilled,t.rejected):i.push(t.fulfilled,t.rejected)});const n=[];let u;this.interceptors.response.forEach(function(t){n.push(t.fulfilled,t.rejected)});let c,d=0;if(!l){const t=[dispatchRequest.bind(this),void 0];for(t.unshift(...i),t.push(...n),c=t.length,u=Promise.resolve(e);d String(k).toLowerCase())); + const seen = []; + + const visit = (source) => { + if (source === null || typeof source !== 'object') return source; + if (utils.isBuffer(source)) return source; + if (seen.indexOf(source) !== -1) return undefined; + + if (source instanceof AxiosHeaders) { + source = source.toJSON(); + } + + seen.push(source); + + let result; + if (utils.isArray(source)) { + result = []; + source.forEach((v, i) => { + const reducedValue = visit(v); + if (!utils.isUndefined(reducedValue)) { + result[i] = reducedValue; + } + }); + } else { + if (!utils.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) { + seen.pop(); + return source; + } + + result = Object.create(null); + for (const [key, value] of Object.entries(source)) { + const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value); + if (!utils.isUndefined(reducedValue)) { + result[key] = reducedValue; + } + } + } + + seen.pop(); + return result; + }; + + return visit(config); +} + +class AxiosError extends Error { + static from(error, code, config, request, response, customProps) { + const axiosError = new AxiosError(error.message, code || error.code, config, request, response); + // Match native `Error` `cause` semantics: non-enumerable. The wrapped + // error often carries circular internals (sockets, requests, agents), so + // an enumerable `cause` makes structured loggers (pino/winston) and any + // own-property walk throw "Converting circular structure to JSON". + // Regression from #6982; see #7205. `__proto__: null` mirrors the + // `message` descriptor below (prototype-pollution-safe descriptor). + Object.defineProperty(axiosError, 'cause', { + __proto__: null, + value: error, + writable: true, + enumerable: false, + configurable: true, + }); + axiosError.name = error.name; + + // Preserve status from the original error if not already set from response + if (error.status != null && axiosError.status == null) { + axiosError.status = error.status; + } + + customProps && Object.assign(axiosError, customProps); + return axiosError; + } + + /** + * Create an Error with the specified message, config, error code, request and response. + * + * @param {string} message The error message. + * @param {string} [code] The error code (for example, 'ECONNABORTED'). + * @param {Object} [config] The config. + * @param {Object} [request] The request. + * @param {Object} [response] The response. + * + * @returns {Error} The created error. + */ + constructor(message, code, config, request, response) { + super(message); + + // Make message enumerable to maintain backward compatibility + // The native Error constructor sets message as non-enumerable, + // but axios < v1.13.3 had it as enumerable + Object.defineProperty(this, 'message', { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: message, + enumerable: true, + writable: true, + configurable: true, + }); + + this.name = 'AxiosError'; + this.isAxiosError = true; + code && (this.code = code); + config && (this.config = config); + request && (this.request = request); + if (response) { + this.response = response; + this.status = response.status; + } + } + + toJSON() { + // Opt-in redaction: when the request config carries a `redact` array, the + // value of any matching key (case-insensitive, at any depth) is replaced + // with REDACTED in the serialized snapshot. Undefined or empty leaves the + // existing serialization behavior unchanged. + const config = this.config; + const redactKeys = config && utils.hasOwnProp(config, 'redact') ? config.redact : undefined; + const serializedConfig = + utils.isArray(redactKeys) && redactKeys.length > 0 + ? redactConfig(config, redactKeys) + : utils.toJSONObject(config); + + return { + // Standard + message: this.message, + name: this.name, + // Microsoft + description: this.description, + number: this.number, + // Mozilla + fileName: this.fileName, + lineNumber: this.lineNumber, + columnNumber: this.columnNumber, + stack: this.stack, + // Axios + config: serializedConfig, + code: this.code, + status: this.status, + }; + } +} + +// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated. +AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE'; +AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION'; +AxiosError.ECONNABORTED = 'ECONNABORTED'; +AxiosError.ETIMEDOUT = 'ETIMEDOUT'; +AxiosError.ECONNREFUSED = 'ECONNREFUSED'; +AxiosError.ERR_NETWORK = 'ERR_NETWORK'; +AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS'; +AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED'; +AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE'; +AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST'; +AxiosError.ERR_CANCELED = 'ERR_CANCELED'; +AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT'; +AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL'; +AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED'; + +export default AxiosError; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosError.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosError.min.js new file mode 100644 index 0000000..2e6ed49 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosError.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/core/AxiosError.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"../utils.js";import AxiosHeaders from"./AxiosHeaders.js";const REDACTED="[REDACTED ****]";function hasOwnOrPrototypeToJSON(r){if(utils.hasOwnProp(r,"toJSON"))return!0;let t=Object.getPrototypeOf(r);for(;t&&t!==Object.prototype;){if(utils.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function redactConfig(r,t){const s=new Set(t.map(r=>String(r).toLowerCase())),e=[],o=r=>{if(null===r||"object"!=typeof r)return r;if(utils.isBuffer(r))return r;if(-1!==e.indexOf(r))return;let t;if(r instanceof AxiosHeaders&&(r=r.toJSON()),e.push(r),utils.isArray(r))t=[],r.forEach((r,s)=>{const e=o(r);utils.isUndefined(e)||(t[s]=e)});else{if(!utils.isPlainObject(r)&&hasOwnOrPrototypeToJSON(r))return e.pop(),r;t=Object.create(null);for(const[e,i]of Object.entries(r)){const r=s.has(e.toLowerCase())?REDACTED:o(i);utils.isUndefined(r)||(t[e]=r)}}return e.pop(),t};return o(r)}class AxiosError extends Error{static from(r,t,s,e,o,i){const E=new AxiosError(r.message,t||r.code,s,e,o);return Object.defineProperty(E,"cause",{__proto__:null,value:r,writable:!0,enumerable:!1,configurable:!0}),E.name=r.name,null!=r.status&&null==E.status&&(E.status=r.status),i&&Object.assign(E,i),E}constructor(r,t,s,e,o){super(r),Object.defineProperty(this,"message",{__proto__:null,value:r,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),s&&(this.config=s),e&&(this.request=e),o&&(this.response=o,this.status=o.status)}toJSON(){const r=this.config,t=r&&utils.hasOwnProp(r,"redact")?r.redact:void 0,s=utils.isArray(t)&&t.length>0?redactConfig(r,t):utils.toJSONObject(r);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:s,code:this.code,status:this.status}}}AxiosError.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",AxiosError.ERR_BAD_OPTION="ERR_BAD_OPTION",AxiosError.ECONNABORTED="ECONNABORTED",AxiosError.ETIMEDOUT="ETIMEDOUT",AxiosError.ECONNREFUSED="ECONNREFUSED",AxiosError.ERR_NETWORK="ERR_NETWORK",AxiosError.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",AxiosError.ERR_DEPRECATED="ERR_DEPRECATED",AxiosError.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",AxiosError.ERR_BAD_REQUEST="ERR_BAD_REQUEST",AxiosError.ERR_CANCELED="ERR_CANCELED",AxiosError.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",AxiosError.ERR_INVALID_URL="ERR_INVALID_URL",AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";export default AxiosError; +//# sourceMappingURL=/sm/6d0e4c1e2824392ab818c15708eceec171654b8fcc0175e6decd42472e9a1f0a.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.js new file mode 100644 index 0000000..376f87a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.js @@ -0,0 +1,351 @@ +'use strict'; + +import utils from '../utils.js'; +import parseHeaders from '../helpers/parseHeaders.js'; +import { sanitizeHeaderValue } from '../helpers/sanitizeHeaderValue.js'; + +const $internals = Symbol('internals'); + +function normalizeHeader(header) { + return header && String(header).trim().toLowerCase(); +} + +function normalizeValue(value) { + if (value === false || value == null) { + return value; + } + + return utils.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value)); +} + +function parseTokens(str) { + const tokens = Object.create(null); + const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; + let match; + + while ((match = tokensRE.exec(str))) { + tokens[match[1]] = match[2]; + } + + return tokens; +} + +const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim()); + +function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) { + if (utils.isFunction(filter)) { + return filter.call(this, value, header); + } + + if (isHeaderNameFilter) { + value = header; + } + + if (!utils.isString(value)) return; + + if (utils.isString(filter)) { + return value.indexOf(filter) !== -1; + } + + if (utils.isRegExp(filter)) { + return filter.test(value); + } +} + +function formatHeader(header) { + return header + .trim() + .toLowerCase() + .replace(/([a-z\d])(\w*)/g, (w, char, str) => { + return char.toUpperCase() + str; + }); +} + +function buildAccessors(obj, header) { + const accessorName = utils.toCamelCase(' ' + header); + + ['get', 'set', 'has'].forEach((methodName) => { + Object.defineProperty(obj, methodName + accessorName, { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: function (arg1, arg2, arg3) { + return this[methodName].call(this, header, arg1, arg2, arg3); + }, + configurable: true, + }); + }); +} + +class AxiosHeaders { + constructor(headers) { + headers && this.set(headers); + } + + set(header, valueOrRewrite, rewrite) { + const self = this; + + function setHeader(_value, _header, _rewrite) { + const lHeader = normalizeHeader(_header); + + if (!lHeader) { + return; + } + + const key = utils.findKey(self, lHeader); + + if ( + !key || + self[key] === undefined || + _rewrite === true || + (_rewrite === undefined && self[key] !== false) + ) { + self[key || _header] = normalizeValue(_value); + } + } + + const setHeaders = (headers, _rewrite) => + utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite)); + + if (utils.isPlainObject(header) || header instanceof this.constructor) { + setHeaders(header, valueOrRewrite); + } else if (utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) { + setHeaders(parseHeaders(header), valueOrRewrite); + } else if (utils.isObject(header) && utils.isSafeIterable(header)) { + let obj = Object.create(null), + dest, + key; + for (const entry of header) { + if (!utils.isArray(entry)) { + throw new TypeError('Object iterator must return a key-value pair'); + } + + key = entry[0]; + + if (utils.hasOwnProp(obj, key)) { + dest = obj[key]; + obj[key] = utils.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]; + } else { + obj[key] = entry[1]; + } + } + + setHeaders(obj, valueOrRewrite); + } else { + header != null && setHeader(valueOrRewrite, header, rewrite); + } + + return this; + } + + get(header, parser) { + header = normalizeHeader(header); + + if (header) { + const key = utils.findKey(this, header); + + if (key) { + const value = this[key]; + + if (!parser) { + return value; + } + + if (parser === true) { + return parseTokens(value); + } + + if (utils.isFunction(parser)) { + return parser.call(this, value, key); + } + + if (utils.isRegExp(parser)) { + return parser.exec(value); + } + + throw new TypeError('parser must be boolean|regexp|function'); + } + } + } + + has(header, matcher) { + header = normalizeHeader(header); + + if (header) { + const key = utils.findKey(this, header); + + return !!( + key && + this[key] !== undefined && + (!matcher || matchHeaderValue(this, this[key], key, matcher)) + ); + } + + return false; + } + + delete(header, matcher) { + const self = this; + let deleted = false; + + function deleteHeader(_header) { + _header = normalizeHeader(_header); + + if (_header) { + const key = utils.findKey(self, _header); + + if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) { + delete self[key]; + + deleted = true; + } + } + } + + if (utils.isArray(header)) { + header.forEach(deleteHeader); + } else { + deleteHeader(header); + } + + return deleted; + } + + clear(matcher) { + const keys = Object.keys(this); + let i = keys.length; + let deleted = false; + + while (i--) { + const key = keys[i]; + if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) { + delete this[key]; + deleted = true; + } + } + + return deleted; + } + + normalize(format) { + const self = this; + const headers = {}; + + utils.forEach(this, (value, header) => { + const key = utils.findKey(headers, header); + + if (key) { + self[key] = normalizeValue(value); + delete self[header]; + return; + } + + const normalized = format ? formatHeader(header) : String(header).trim(); + + if (normalized !== header) { + delete self[header]; + } + + self[normalized] = normalizeValue(value); + + headers[normalized] = true; + }); + + return this; + } + + concat(...targets) { + return this.constructor.concat(this, ...targets); + } + + toJSON(asStrings) { + const obj = Object.create(null); + + utils.forEach(this, (value, header) => { + value != null && + value !== false && + (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value); + }); + + return obj; + } + + [Symbol.iterator]() { + return Object.entries(this.toJSON())[Symbol.iterator](); + } + + toString() { + return Object.entries(this.toJSON()) + .map(([header, value]) => header + ': ' + value) + .join('\n'); + } + + getSetCookie() { + return this.get('set-cookie') || []; + } + + get [Symbol.toStringTag]() { + return 'AxiosHeaders'; + } + + static from(thing) { + return thing instanceof this ? thing : new this(thing); + } + + static concat(first, ...targets) { + const computed = new this(first); + + targets.forEach((target) => computed.set(target)); + + return computed; + } + + static accessor(header) { + const internals = + (this[$internals] = + this[$internals] = + { + accessors: {}, + }); + + const accessors = internals.accessors; + const prototype = this.prototype; + + function defineAccessor(_header) { + const lHeader = normalizeHeader(_header); + + if (!accessors[lHeader]) { + buildAccessors(prototype, _header); + accessors[lHeader] = true; + } + } + + utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header); + + return this; + } +} + +AxiosHeaders.accessor([ + 'Content-Type', + 'Content-Length', + 'Accept', + 'Accept-Encoding', + 'User-Agent', + 'Authorization', +]); + +// reserved names hotfix +utils.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => { + let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set` + return { + get: () => value, + set(headerValue) { + this[mapped] = headerValue; + }, + }; +}); + +utils.freezeMethods(AxiosHeaders); + +export default AxiosHeaders; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.min.js new file mode 100644 index 0000000..039ae08 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/core/AxiosHeaders.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"../utils.js";import parseHeaders from"../helpers/parseHeaders.js";import{sanitizeHeaderValue}from"../helpers/sanitizeHeaderValue.js";const $internals=Symbol("internals");function normalizeHeader(e){return e&&String(e).trim().toLowerCase()}function normalizeValue(e){return!1===e||null==e?e:utils.isArray(e)?e.map(normalizeValue):sanitizeHeaderValue(String(e))}function parseTokens(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=r.exec(e);)t[s[1]]=s[2];return t}const isValidHeaderName=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function matchHeaderValue(e,t,r,s,i){return utils.isFunction(s)?s.call(this,t,r):(i&&(t=r),utils.isString(t)?utils.isString(s)?-1!==t.indexOf(s):utils.isRegExp(s)?s.test(t):void 0:void 0)}function formatHeader(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}function buildAccessors(e,t){const r=utils.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+r,{__proto__:null,value:function(e,r,i){return this[s].call(this,t,e,r,i)},configurable:!0})})}class AxiosHeaders{constructor(e){e&&this.set(e)}set(e,t,r){const s=this;function i(e,t,r){const i=normalizeHeader(t);if(!i)return;const n=utils.findKey(s,i);(!n||void 0===s[n]||!0===r||void 0===r&&!1!==s[n])&&(s[n||t]=normalizeValue(e))}const n=(e,t)=>utils.forEach(e,(e,r)=>i(e,r,t));if(utils.isPlainObject(e)||e instanceof this.constructor)n(e,t);else if(utils.isString(e)&&(e=e.trim())&&!isValidHeaderName(e))n(parseHeaders(e),t);else if(utils.isObject(e)&&utils.isSafeIterable(e)){let r,s,i=Object.create(null);for(const t of e){if(!utils.isArray(t))throw new TypeError("Object iterator must return a key-value pair");s=t[0],utils.hasOwnProp(i,s)?(r=i[s],i[s]=utils.isArray(r)?[...r,t[1]]:[r,t[1]]):i[s]=t[1]}n(i,t)}else null!=e&&i(t,e,r);return this}get(e,t){if(e=normalizeHeader(e)){const r=utils.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return parseTokens(e);if(utils.isFunction(t))return t.call(this,e,r);if(utils.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=normalizeHeader(e)){const r=utils.findKey(this,e);return!(!r||void 0===this[r]||t&&!matchHeaderValue(this,this[r],r,t))}return!1}delete(e,t){const r=this;let s=!1;function i(e){if(e=normalizeHeader(e)){const i=utils.findKey(r,e);!i||t&&!matchHeaderValue(r,r[i],i,t)||(delete r[i],s=!0)}}return utils.isArray(e)?e.forEach(i):i(e),s}clear(e){const t=Object.keys(this);let r=t.length,s=!1;for(;r--;){const i=t[r];e&&!matchHeaderValue(this,this[i],i,e,!0)||(delete this[i],s=!0)}return s}normalize(e){const t=this,r={};return utils.forEach(this,(s,i)=>{const n=utils.findKey(r,i);if(n)return t[n]=normalizeValue(s),void delete t[i];const o=e?formatHeader(i):String(i).trim();o!==i&&delete t[i],t[o]=normalizeValue(s),r[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return utils.forEach(this,(r,s)=>{null!=r&&!1!==r&&(t[s]=e&&utils.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){const t=(this[$internals]=this[$internals]={accessors:{}}).accessors,r=this.prototype;function s(e){const s=normalizeHeader(e);t[s]||(buildAccessors(r,e),t[s]=!0)}return utils.isArray(e)?e.forEach(s):s(e),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),utils.reduceDescriptors(AxiosHeaders.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),utils.freezeMethods(AxiosHeaders);export default AxiosHeaders; +//# sourceMappingURL=/sm/4d16920acb89109ead0768404a06e53cd092c2779c8f52b292a55f048dbe4b2c.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.js new file mode 100644 index 0000000..fe10f3d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.js @@ -0,0 +1,72 @@ +'use strict'; + +import utils from '../utils.js'; + +class InterceptorManager { + constructor() { + this.handlers = []; + } + + /** + * Add a new interceptor to the stack + * + * @param {Function} fulfilled The function to handle `then` for a `Promise` + * @param {Function} rejected The function to handle `reject` for a `Promise` + * @param {Object} options The options for the interceptor, synchronous and runWhen + * + * @return {Number} An ID used to remove interceptor later + */ + use(fulfilled, rejected, options) { + this.handlers.push({ + fulfilled, + rejected, + synchronous: options ? options.synchronous : false, + runWhen: options ? options.runWhen : null, + }); + return this.handlers.length - 1; + } + + /** + * Remove an interceptor from the stack + * + * @param {Number} id The ID that was returned by `use` + * + * @returns {void} + */ + eject(id) { + if (this.handlers[id]) { + this.handlers[id] = null; + } + } + + /** + * Clear all interceptors from the stack + * + * @returns {void} + */ + clear() { + if (this.handlers) { + this.handlers = []; + } + } + + /** + * Iterate over all the registered interceptors + * + * This method is particularly useful for skipping over any + * interceptors that may have become `null` calling `eject`. + * + * @param {Function} fn The function to call for each interceptor + * + * @returns {void} + */ + forEach(fn) { + utils.forEach(this.handlers, function forEachHandler(h) { + if (h !== null) { + fn(h); + } + }); + } +} + +export default InterceptorManager; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.min.js new file mode 100644 index 0000000..080ec97 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/core/InterceptorManager.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"../utils.js";class InterceptorManager{constructor(){this.handlers=[]}use(s,r,e){return this.handlers.push({fulfilled:s,rejected:r,synchronous:!!e&&e.synchronous,runWhen:e?e.runWhen:null}),this.handlers.length-1}eject(s){this.handlers[s]&&(this.handlers[s]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(s){utils.forEach(this.handlers,function(r){null!==r&&s(r)})}}export default InterceptorManager; +//# sourceMappingURL=/sm/51aa4f714fc556ba66fb9b142d7b4437e3107e32c0a6c886cc91a38c8714dffc.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/README.md b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/README.md new file mode 100644 index 0000000..84559ce --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/README.md @@ -0,0 +1,8 @@ +# axios // core + +The modules found in `core/` should be modules that are specific to the domain logic of axios. These modules would most likely not make sense to be consumed outside of the axios module, as their logic is too specific. Some examples of core modules are: + +- Dispatching requests + - Requests sent via `adapters/` (see lib/adapters/README.md) +- Managing interceptors +- Handling config diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.js new file mode 100644 index 0000000..e88cd6a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.js @@ -0,0 +1,50 @@ +'use strict'; + +import AxiosError from './AxiosError.js'; +import isAbsoluteURL from '../helpers/isAbsoluteURL.js'; +import combineURLs from '../helpers/combineURLs.js'; + +const malformedHttpProtocol = /^https?:(?!\/\/)/i; +const httpProtocolControlCharacters = /[\t\n\r]/g; + +function stripLeadingC0ControlOrSpace(url) { + let i = 0; + while (i < url.length && url.charCodeAt(i) <= 0x20) { + i++; + } + return url.slice(i); +} + +function normalizeURLForProtocolCheck(url) { + return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, ''); +} + +function assertValidHttpProtocolURL(url, config) { + if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) { + throw new AxiosError( + 'Invalid URL: missing "//" after protocol', + AxiosError.ERR_INVALID_URL, + config + ); + } +} + +/** + * Creates a new URL by combining the baseURL with the requestedURL, + * only when the requestedURL is not already an absolute URL. + * If the requestURL is absolute, this function returns the requestedURL untouched. + * + * @param {string} baseURL The base URL + * @param {string} requestedURL Absolute or relative URL to combine + * + * @returns {string} The combined full path + */ +export default function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) { + assertValidHttpProtocolURL(requestedURL, config); + let isRelativeUrl = !isAbsoluteURL(requestedURL); + if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) { + assertValidHttpProtocolURL(baseURL, config); + return combineURLs(baseURL, requestedURL); + } + return requestedURL; +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.min.js new file mode 100644 index 0000000..a644bdd --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/core/buildFullPath.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import AxiosError from"./AxiosError.js";import isAbsoluteURL from"../helpers/isAbsoluteURL.js";import combineURLs from"../helpers/combineURLs.js";const malformedHttpProtocol=/^https?:(?!\/\/)/i,httpProtocolControlCharacters=/[\t\n\r]/g;function stripLeadingC0ControlOrSpace(o){let t=0;for(;t (thing instanceof AxiosHeaders ? { ...thing } : thing); + +/** + * Config-specific merge-function which creates a new config-object + * by merging two configuration objects together. + * + * @param {Object} config1 + * @param {Object} config2 + * + * @returns {Object} New object resulting from merging config2 to config1 + */ +export default function mergeConfig(config1, config2) { + // eslint-disable-next-line no-param-reassign + config1 = config1 || {}; + config2 = config2 || {}; + + // Use a null-prototype object so that downstream reads such as `config.auth` + // or `config.baseURL` cannot inherit polluted values from Object.prototype. + // `hasOwnProperty` is restored as a non-enumerable own slot to preserve + // ergonomics for user code that relies on it. + const config = Object.create(null); + Object.defineProperty(config, 'hasOwnProperty', { + // Null-proto descriptor so a polluted Object.prototype.get cannot turn + // this data descriptor into an accessor descriptor on the way in. + __proto__: null, + value: Object.prototype.hasOwnProperty, + enumerable: false, + writable: true, + configurable: true, + }); + + function getMergedValue(target, source, prop, caseless) { + if (utils.isPlainObject(target) && utils.isPlainObject(source)) { + return utils.merge.call({ caseless }, target, source); + } else if (utils.isPlainObject(source)) { + return utils.merge({}, source); + } else if (utils.isArray(source)) { + return source.slice(); + } + return source; + } + + function mergeDeepProperties(a, b, prop, caseless) { + if (!utils.isUndefined(b)) { + return getMergedValue(a, b, prop, caseless); + } else if (!utils.isUndefined(a)) { + return getMergedValue(undefined, a, prop, caseless); + } + } + + // eslint-disable-next-line consistent-return + function valueFromConfig2(a, b) { + if (!utils.isUndefined(b)) { + return getMergedValue(undefined, b); + } + } + + // eslint-disable-next-line consistent-return + function defaultToConfig2(a, b) { + if (!utils.isUndefined(b)) { + return getMergedValue(undefined, b); + } else if (!utils.isUndefined(a)) { + return getMergedValue(undefined, a); + } + } + + function getMergedTransitionalOption(prop) { + const transitional2 = utils.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined; + + if (!utils.isUndefined(transitional2)) { + if (utils.isPlainObject(transitional2)) { + if (utils.hasOwnProp(transitional2, prop)) { + return transitional2[prop]; + } + } else { + return undefined; + } + } + + const transitional1 = utils.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined; + + if (utils.isPlainObject(transitional1) && utils.hasOwnProp(transitional1, prop)) { + return transitional1[prop]; + } + + return undefined; + } + + // eslint-disable-next-line consistent-return + function mergeDirectKeys(a, b, prop) { + if (utils.hasOwnProp(config2, prop)) { + return getMergedValue(a, b); + } else if (utils.hasOwnProp(config1, prop)) { + return getMergedValue(undefined, a); + } + } + + const mergeMap = { + url: valueFromConfig2, + method: valueFromConfig2, + data: valueFromConfig2, + baseURL: defaultToConfig2, + transformRequest: defaultToConfig2, + transformResponse: defaultToConfig2, + paramsSerializer: defaultToConfig2, + timeout: defaultToConfig2, + timeoutMessage: defaultToConfig2, + withCredentials: defaultToConfig2, + withXSRFToken: defaultToConfig2, + adapter: defaultToConfig2, + responseType: defaultToConfig2, + xsrfCookieName: defaultToConfig2, + xsrfHeaderName: defaultToConfig2, + onUploadProgress: defaultToConfig2, + onDownloadProgress: defaultToConfig2, + decompress: defaultToConfig2, + maxContentLength: defaultToConfig2, + maxBodyLength: defaultToConfig2, + beforeRedirect: defaultToConfig2, + transport: defaultToConfig2, + httpAgent: defaultToConfig2, + httpsAgent: defaultToConfig2, + cancelToken: defaultToConfig2, + socketPath: defaultToConfig2, + allowedSocketPaths: defaultToConfig2, + responseEncoding: defaultToConfig2, + validateStatus: mergeDirectKeys, + headers: (a, b, prop) => + mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true), + }; + + utils.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) { + if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return; + const merge = utils.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties; + const a = utils.hasOwnProp(config1, prop) ? config1[prop] : undefined; + const b = utils.hasOwnProp(config2, prop) ? config2[prop] : undefined; + const configValue = merge(a, b, prop); + (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue); + }); + + if ( + utils.hasOwnProp(config2, 'validateStatus') && + utils.isUndefined(config2.validateStatus) && + getMergedTransitionalOption('validateStatusUndefinedResolves') === false + ) { + if (utils.hasOwnProp(config1, 'validateStatus')) { + config.validateStatus = getMergedValue(undefined, config1.validateStatus); + } else { + delete config.validateStatus; + } + } + + return config; +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/mergeConfig.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/mergeConfig.min.js new file mode 100644 index 0000000..6c889a5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/mergeConfig.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/core/mergeConfig.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"../utils.js";import AxiosHeaders from"./AxiosHeaders.js";const headersToObject=t=>t instanceof AxiosHeaders?{...t}:t;export default function mergeConfig(t,e){t=t||{},e=e||{};const s=Object.create(null);function i(t,e,s,i){return utils.isPlainObject(t)&&utils.isPlainObject(e)?utils.merge.call({caseless:i},t,e):utils.isPlainObject(e)?utils.merge({},e):utils.isArray(e)?e.slice():e}function n(t,e,s,n){return utils.isUndefined(e)?utils.isUndefined(t)?void 0:i(void 0,t,0,n):i(t,e,0,n)}function o(t,e){if(!utils.isUndefined(e))return i(void 0,e)}function r(t,e){return utils.isUndefined(e)?utils.isUndefined(t)?void 0:i(void 0,t):i(void 0,e)}function a(s,n,o){return utils.hasOwnProp(e,o)?i(s,n):utils.hasOwnProp(t,o)?i(void 0,s):void 0}Object.defineProperty(s,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const l={url:o,method:o,data:o,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,allowedSocketPaths:r,responseEncoding:r,validateStatus:a,headers:(t,e,s)=>n(headersToObject(t),headersToObject(e),0,!0)};return utils.forEach(Object.keys({...t,...e}),function(i){if("__proto__"===i||"constructor"===i||"prototype"===i)return;const o=utils.hasOwnProp(l,i)?l[i]:n,r=o(utils.hasOwnProp(t,i)?t[i]:void 0,utils.hasOwnProp(e,i)?e[i]:void 0,i);utils.isUndefined(r)&&o!==a||(s[i]=r)}),utils.hasOwnProp(e,"validateStatus")&&utils.isUndefined(e.validateStatus)&&!1===function(s){const i=utils.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!utils.isUndefined(i)){if(!utils.isPlainObject(i))return;if(utils.hasOwnProp(i,s))return i[s]}const n=utils.hasOwnProp(t,"transitional")?t.transitional:void 0;if(utils.isPlainObject(n)&&utils.hasOwnProp(n,s))return n[s]}("validateStatusUndefinedResolves")&&(utils.hasOwnProp(t,"validateStatus")?s.validateStatus=i(void 0,t.validateStatus):delete s.validateStatus),s} +//# sourceMappingURL=/sm/8b29c44e256aa1cdcc7fd756a11195d3d00f513ada71e49d8635437bc36c286c.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.js new file mode 100644 index 0000000..782f571 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.js @@ -0,0 +1,27 @@ +'use strict'; + +import AxiosError from './AxiosError.js'; + +/** + * Resolve or reject a Promise based on response status. + * + * @param {Function} resolve A function that resolves the promise. + * @param {Function} reject A function that rejects the promise. + * @param {object} response The response. + * + * @returns {object} The response. + */ +export default function settle(resolve, reject, response) { + const validateStatus = response.config.validateStatus; + if (!response.status || !validateStatus || validateStatus(response.status)) { + resolve(response); + } else { + reject(new AxiosError( + 'Request failed with status code ' + response.status, + response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE, + response.config, + response.request, + response + )); + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.min.js new file mode 100644 index 0000000..4cb02fa --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/core/settle.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import AxiosError from"./AxiosError.js";export default function settle(t,s,r){const o=r.config.validateStatus;r.status&&o&&!o(r.status)?s(new AxiosError("Request failed with status code "+r.status,r.status>=400&&r.status<500?AxiosError.ERR_BAD_REQUEST:AxiosError.ERR_BAD_RESPONSE,r.config,r.request,r)):t(r)} +//# sourceMappingURL=/sm/c096a642e3c1338e948d8b6d69835b80d5d95f9d625f2a48c403044bd0322b6e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.js new file mode 100644 index 0000000..f22c474 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.js @@ -0,0 +1,28 @@ +'use strict'; + +import utils from '../utils.js'; +import defaults from '../defaults/index.js'; +import AxiosHeaders from '../core/AxiosHeaders.js'; + +/** + * Transform the data for a request or a response + * + * @param {Array|Function} fns A single function or Array of functions + * @param {?Object} response The response object + * + * @returns {*} The resulting transformed data + */ +export default function transformData(fns, response) { + const config = this || defaults; + const context = response || config; + const headers = AxiosHeaders.from(context.headers); + let data = context.data; + + utils.forEach(fns, function transform(fn) { + data = fn.call(config, data, headers.normalize(), response ? response.status : undefined); + }); + + headers.normalize(); + + return data; +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.min.js new file mode 100644 index 0000000..8e4b111 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/core/transformData.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"../utils.js";import defaults from"../defaults/index.js";import AxiosHeaders from"../core/AxiosHeaders.js";export default function transformData(t,s){const r=this||defaults,e=s||r,o=AxiosHeaders.from(e.headers);let a=e.data;return utils.forEach(t,function(t){a=t.call(r,a,o.normalize(),s?s.status:void 0)}),o.normalize(),a} +//# sourceMappingURL=/sm/1bbaf2e61a2bfcd2be2c5aaac6d981d712a25e265ccadcce9448afbd66db2a2e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.js new file mode 100644 index 0000000..642a089 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.js @@ -0,0 +1,177 @@ +'use strict'; + +import utils from '../utils.js'; +import AxiosError from '../core/AxiosError.js'; +import transitionalDefaults from './transitional.js'; +import toFormData from '../helpers/toFormData.js'; +import toURLEncodedForm from '../helpers/toURLEncodedForm.js'; +import platform from '../platform/index.js'; +import formDataToJSON from '../helpers/formDataToJSON.js'; + +const own = (obj, key) => (obj != null && utils.hasOwnProp(obj, key) ? obj[key] : undefined); + +/** + * It takes a string, tries to parse it, and if it fails, it returns the stringified version + * of the input + * + * @param {any} rawValue - The value to be stringified. + * @param {Function} parser - A function that parses a string into a JavaScript object. + * @param {Function} encoder - A function that takes a value and returns a string. + * + * @returns {string} A stringified version of the rawValue. + */ +function stringifySafely(rawValue, parser, encoder) { + if (utils.isString(rawValue)) { + try { + (parser || JSON.parse)(rawValue); + return utils.trim(rawValue); + } catch (e) { + if (e.name !== 'SyntaxError') { + throw e; + } + } + } + + return (encoder || JSON.stringify)(rawValue); +} + +const defaults = { + transitional: transitionalDefaults, + + adapter: ['xhr', 'http', 'fetch'], + + transformRequest: [ + function transformRequest(data, headers) { + const contentType = headers.getContentType() || ''; + const hasJSONContentType = contentType.indexOf('application/json') > -1; + const isObjectPayload = utils.isObject(data); + + if (isObjectPayload && utils.isHTMLForm(data)) { + data = new FormData(data); + } + + const isFormData = utils.isFormData(data); + + if (isFormData) { + return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data; + } + + if ( + utils.isArrayBuffer(data) || + utils.isBuffer(data) || + utils.isStream(data) || + utils.isFile(data) || + utils.isBlob(data) || + utils.isReadableStream(data) + ) { + return data; + } + if (utils.isArrayBufferView(data)) { + return data.buffer; + } + if (utils.isURLSearchParams(data)) { + headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false); + return data.toString(); + } + + let isFileList; + + if (isObjectPayload) { + const formSerializer = own(this, 'formSerializer'); + if (contentType.indexOf('application/x-www-form-urlencoded') > -1) { + return toURLEncodedForm(data, formSerializer).toString(); + } + + if ( + (isFileList = utils.isFileList(data)) || + contentType.indexOf('multipart/form-data') > -1 + ) { + const env = own(this, 'env'); + const _FormData = env && env.FormData; + + return toFormData( + isFileList ? { 'files[]': data } : data, + _FormData && new _FormData(), + formSerializer + ); + } + } + + if (isObjectPayload || hasJSONContentType) { + headers.setContentType('application/json', false); + return stringifySafely(data); + } + + return data; + }, + ], + + transformResponse: [ + function transformResponse(data) { + const transitional = own(this, 'transitional') || defaults.transitional; + const forcedJSONParsing = transitional && transitional.forcedJSONParsing; + const responseType = own(this, 'responseType'); + const JSONRequested = responseType === 'json'; + + if (utils.isResponse(data) || utils.isReadableStream(data)) { + return data; + } + + if ( + data && + utils.isString(data) && + ((forcedJSONParsing && !responseType) || JSONRequested) + ) { + const silentJSONParsing = transitional && transitional.silentJSONParsing; + const strictJSONParsing = !silentJSONParsing && JSONRequested; + + try { + return JSON.parse(data, own(this, 'parseReviver')); + } catch (e) { + if (strictJSONParsing) { + if (e.name === 'SyntaxError') { + throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response')); + } + throw e; + } + } + } + + return data; + }, + ], + + /** + * A timeout in milliseconds to abort a request. If set to 0 (default) a + * timeout is not created. + */ + timeout: 0, + + xsrfCookieName: 'XSRF-TOKEN', + xsrfHeaderName: 'X-XSRF-TOKEN', + + maxContentLength: -1, + maxBodyLength: -1, + + env: { + FormData: platform.classes.FormData, + Blob: platform.classes.Blob, + }, + + validateStatus: function validateStatus(status) { + return status >= 200 && status < 300; + }, + + headers: { + common: { + Accept: 'application/json, text/plain, */*', + 'Content-Type': undefined, + }, + }, +}; + +utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => { + defaults.headers[method] = {}; +}); + +export default defaults; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.min.js new file mode 100644 index 0000000..9abe095 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/defaults/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"../utils.js";import AxiosError from"../core/AxiosError.js";import transitionalDefaults from"./transitional.js";import toFormData from"../helpers/toFormData.js";import toURLEncodedForm from"../helpers/toURLEncodedForm.js";import platform from"../platform/index.js";import formDataToJSON from"../helpers/formDataToJSON.js";const own=(t,r)=>null!=t&&utils.hasOwnProp(t,r)?t[r]:void 0;function stringifySafely(t,r,i){if(utils.isString(t))try{return(r||JSON.parse)(t),utils.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(i||JSON.stringify)(t)}const defaults={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const i=r.getContentType()||"",o=i.indexOf("application/json")>-1,e=utils.isObject(t);e&&utils.isHTMLForm(t)&&(t=new FormData(t));if(utils.isFormData(t))return o?JSON.stringify(formDataToJSON(t)):t;if(utils.isArrayBuffer(t)||utils.isBuffer(t)||utils.isStream(t)||utils.isFile(t)||utils.isBlob(t)||utils.isReadableStream(t))return t;if(utils.isArrayBufferView(t))return t.buffer;if(utils.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(e){const r=own(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(t,r).toString();if((s=utils.isFileList(t))||i.indexOf("multipart/form-data")>-1){const i=own(this,"env"),o=i&&i.FormData;return toFormData(s?{"files[]":t}:t,o&&new o,r)}}return e||o?(r.setContentType("application/json",!1),stringifySafely(t)):t}],transformResponse:[function(t){const r=own(this,"transitional")||defaults.transitional,i=r&&r.forcedJSONParsing,o=own(this,"responseType"),e="json"===o;if(utils.isResponse(t)||utils.isReadableStream(t))return t;if(t&&utils.isString(t)&&(i&&!o||e)){const i=!(r&&r.silentJSONParsing)&&e;try{return JSON.parse(t,own(this,"parseReviver"))}catch(t){if(i){if("SyntaxError"===t.name)throw AxiosError.from(t,AxiosError.ERR_BAD_RESPONSE,this,null,own(this,"response"));throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils.forEach(["delete","get","head","post","put","patch","query"],t=>{defaults.headers[t]={}});export default defaults; +//# sourceMappingURL=/sm/17d17b8aec2a53a7f8270f490169012f4df5df4ae0d7396a534566368ae6089a.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.js new file mode 100644 index 0000000..e64a6a9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.js @@ -0,0 +1,10 @@ +'use strict'; + +export default { + silentJSONParsing: true, + forcedJSONParsing: true, + clarifyTimeoutError: false, + legacyInterceptorReqResOrdering: true, + advertiseZstdAcceptEncoding: false, + validateStatusUndefinedResolves: true, +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.min.js new file mode 100644 index 0000000..122ac2e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/defaults/transitional.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";export default{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0}; +//# sourceMappingURL=/sm/2ac31c7608869278c898c08a55ea738c3dab2ec5e4851e6f7df63558cf4dec2d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/README.md b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/README.md new file mode 100644 index 0000000..b41baff --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/README.md @@ -0,0 +1,3 @@ +# axios // env + +The `data.js` file is updated automatically when the package version is upgrading. Please do not edit it manually. diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.js new file mode 100644 index 0000000..862adb9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.js @@ -0,0 +1,2 @@ +import _FormData from 'form-data'; +export default typeof FormData !== 'undefined' ? FormData : _FormData; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.min.js new file mode 100644 index 0000000..8b5a3c7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/env/classes/FormData.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import _FormData from"form-data";export default"undefined"!=typeof FormData?FormData:_FormData; +//# sourceMappingURL=/sm/af7414079ffa713f2555272d93f97d33efc75efa20f9d039bdbfbbe6cc91e297.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.js new file mode 100644 index 0000000..c690166 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.js @@ -0,0 +1 @@ +export const VERSION = "1.18.1"; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.min.js new file mode 100644 index 0000000..02e8715 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.min.js @@ -0,0 +1,7 @@ +/** + * Skipped minification because the original files appears to be already minified. + * Original file: /npm/axios@1.18.1/lib/env/data.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +export const VERSION = "1.18.1"; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.js new file mode 100644 index 0000000..96e8acb --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.js @@ -0,0 +1,156 @@ +'use strict'; + +import stream from 'stream'; +import utils from '../utils.js'; + +const kInternals = Symbol('internals'); + +class AxiosTransformStream extends stream.Transform { + constructor(options) { + options = utils.toFlatObject( + options, + { + maxRate: 0, + chunkSize: 64 * 1024, + minChunkSize: 100, + timeWindow: 500, + ticksRate: 2, + samplesCount: 15, + }, + null, + (prop, source) => { + return !utils.isUndefined(source[prop]); + } + ); + + super({ + readableHighWaterMark: options.chunkSize, + }); + + const internals = (this[kInternals] = { + timeWindow: options.timeWindow, + chunkSize: options.chunkSize, + maxRate: options.maxRate, + minChunkSize: options.minChunkSize, + bytesSeen: 0, + isCaptured: false, + notifiedBytesLoaded: 0, + ts: Date.now(), + bytes: 0, + onReadCallback: null, + }); + + this.on('newListener', (event) => { + if (event === 'progress') { + if (!internals.isCaptured) { + internals.isCaptured = true; + } + } + }); + } + + _read(size) { + const internals = this[kInternals]; + + if (internals.onReadCallback) { + internals.onReadCallback(); + } + + return super._read(size); + } + + _transform(chunk, encoding, callback) { + const internals = this[kInternals]; + const maxRate = internals.maxRate; + + const readableHighWaterMark = this.readableHighWaterMark; + + const timeWindow = internals.timeWindow; + + const divider = 1000 / timeWindow; + const bytesThreshold = maxRate / divider; + const minChunkSize = + internals.minChunkSize !== false + ? Math.max(internals.minChunkSize, bytesThreshold * 0.01) + : 0; + + const pushChunk = (_chunk, _callback) => { + const bytes = Buffer.byteLength(_chunk); + internals.bytesSeen += bytes; + internals.bytes += bytes; + + internals.isCaptured && this.emit('progress', internals.bytesSeen); + + if (this.push(_chunk)) { + process.nextTick(_callback); + } else { + internals.onReadCallback = () => { + internals.onReadCallback = null; + process.nextTick(_callback); + }; + } + }; + + const transformChunk = (_chunk, _callback) => { + const chunkSize = Buffer.byteLength(_chunk); + let chunkRemainder = null; + let maxChunkSize = readableHighWaterMark; + let bytesLeft; + let passed = 0; + + if (maxRate) { + const now = Date.now(); + + if (!internals.ts || (passed = now - internals.ts) >= timeWindow) { + internals.ts = now; + bytesLeft = bytesThreshold - internals.bytes; + internals.bytes = bytesLeft < 0 ? -bytesLeft : 0; + passed = 0; + } + + bytesLeft = bytesThreshold - internals.bytes; + } + + if (maxRate) { + if (bytesLeft <= 0) { + // next time window + return setTimeout(() => { + _callback(null, _chunk); + }, timeWindow - passed); + } + + if (bytesLeft < maxChunkSize) { + maxChunkSize = bytesLeft; + } + } + + if (maxChunkSize && chunkSize > maxChunkSize && chunkSize - maxChunkSize > minChunkSize) { + chunkRemainder = _chunk.subarray(maxChunkSize); + _chunk = _chunk.subarray(0, maxChunkSize); + } + + pushChunk( + _chunk, + chunkRemainder + ? () => { + process.nextTick(_callback, null, chunkRemainder); + } + : _callback + ); + }; + + transformChunk(chunk, function transformNextChunk(err, _chunk) { + if (err) { + return callback(err); + } + + if (_chunk) { + transformChunk(_chunk, transformNextChunk); + } else { + callback(null); + } + }); + } +} + +export default AxiosTransformStream; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.min.js new file mode 100644 index 0000000..609585f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/AxiosTransformStream.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import stream from"stream";import utils from"../utils.js";const kInternals=Symbol("internals");class AxiosTransformStream extends stream.Transform{constructor(e){super({readableHighWaterMark:(e=utils.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(e,t)=>!utils.isUndefined(t[e]))).chunkSize});const t=this[kInternals]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",e=>{"progress"===e&&(t.isCaptured||(t.isCaptured=!0))})}_read(e){const t=this[kInternals];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,s){const n=this[kInternals],a=n.maxRate,i=this.readableHighWaterMark,r=n.timeWindow,o=a/(1e3/r),l=!1!==n.minChunkSize?Math.max(n.minChunkSize,.01*o):0,u=(e,t)=>{const s=Buffer.byteLength(e);n.bytesSeen+=s,n.bytes+=s,n.isCaptured&&this.emit("progress",n.bytesSeen),this.push(e)?process.nextTick(t):n.onReadCallback=()=>{n.onReadCallback=null,process.nextTick(t)}},m=(e,t)=>{const s=Buffer.byteLength(e);let m,c=null,d=i,k=0;if(a){const e=Date.now();(!n.ts||(k=e-n.ts)>=r)&&(n.ts=e,m=o-n.bytes,n.bytes=m<0?-m:0,k=0),m=o-n.bytes}if(a){if(m<=0)return setTimeout(()=>{t(null,e)},r-k);md&&s-d>l&&(c=e.subarray(d),e=e.subarray(0,d)),u(e,c?()=>{process.nextTick(t,null,c)}:t)};m(e,function e(t,n){if(t)return s(t);n?m(n,e):s(null)})}}export default AxiosTransformStream; +//# sourceMappingURL=/sm/a093a4d1062c3f30f9f27188c25d123500f96bbdb35d6b2c4d4a277a0e8bb5a1.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.js new file mode 100644 index 0000000..b77b680 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.js @@ -0,0 +1,59 @@ +'use strict'; + +import toFormData from './toFormData.js'; + +/** + * It encodes a string by replacing all characters that are not in the unreserved set with + * their percent-encoded equivalents + * + * @param {string} str - The string to encode. + * + * @returns {string} The encoded string. + */ +function encode(str) { + const charMap = { + '!': '%21', + "'": '%27', + '(': '%28', + ')': '%29', + '~': '%7E', + '%20': '+', + }; + return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) { + return charMap[match]; + }); +} + +/** + * It takes a params object and converts it to a FormData object + * + * @param {Object} params - The parameters to be converted to a FormData object. + * @param {Object} options - The options object passed to the Axios constructor. + * + * @returns {void} + */ +function AxiosURLSearchParams(params, options) { + this._pairs = []; + + params && toFormData(params, this, options); +} + +const prototype = AxiosURLSearchParams.prototype; + +prototype.append = function append(name, value) { + this._pairs.push([name, value]); +}; + +prototype.toString = function toString(encoder) { + const _encode = encoder + ? (value) => encoder.call(this, value, encode) + : encode; + + return this._pairs + .map(function each(pair) { + return _encode(pair[0]) + '=' + _encode(pair[1]); + }, '') + .join('&'); +}; + +export default AxiosURLSearchParams; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.min.js new file mode 100644 index 0000000..4c2c492 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/AxiosURLSearchParams.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import toFormData from"./toFormData.js";function encode(t){const o={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(t){return o[t]})}function AxiosURLSearchParams(t,o){this._pairs=[],t&&toFormData(t,this,o)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(t,o){this._pairs.push([t,o])},prototype.toString=function(t){const o=t?o=>t.call(this,o,encode):encode;return this._pairs.map(function(t){return o(t[0])+"="+o(t[1])},"").join("&")};export default AxiosURLSearchParams; +//# sourceMappingURL=/sm/29565e6315f5d2cd34987febcecaefccae9f15d2d17634342a973ed1c44aa4ee.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.js new file mode 100644 index 0000000..b3cf924 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.js @@ -0,0 +1,119 @@ +'use strict'; + +// Node-only: relies on the built-in `http2` module. Browser/react-native +// builds replace `lib/adapters/http.js` (the sole importer) with `lib/helpers/null.js` +// via the `browser` package.json field, so this module is never reached in +// those environments. Do not import it from any browser-reachable code path. + +import http2 from 'http2'; +import util from 'util'; + +class Http2Sessions { + constructor() { + this.sessions = Object.create(null); + } + + getSession(authority, options) { + options = Object.assign( + { + sessionTimeout: 1000, + }, + options + ); + + let authoritySessions = this.sessions[authority]; + + if (authoritySessions) { + let len = authoritySessions.length; + + for (let i = 0; i < len; i++) { + const [sessionHandle, sessionOptions] = authoritySessions[i]; + if ( + !sessionHandle.destroyed && + !sessionHandle.closed && + util.isDeepStrictEqual(sessionOptions, options) + ) { + return sessionHandle; + } + } + } + + const session = http2.connect(authority, options); + + let removed; + let timer; + + const removeSession = () => { + if (removed) { + return; + } + + removed = true; + + if (timer) { + clearTimeout(timer); + timer = null; + } + + let entries = authoritySessions, + len = entries.length, + i = len; + + while (i--) { + if (entries[i][0] === session) { + if (len === 1) { + delete this.sessions[authority]; + } else { + entries.splice(i, 1); + } + if (!session.closed) { + session.close(); + } + return; + } + } + }; + + const originalRequestFn = session.request; + + const { sessionTimeout } = options; + + if (sessionTimeout != null) { + let streamsCount = 0; + + session.request = function () { + const stream = originalRequestFn.apply(this, arguments); + + streamsCount++; + + if (timer) { + clearTimeout(timer); + timer = null; + } + + stream.once('close', () => { + if (!--streamsCount) { + timer = setTimeout(() => { + timer = null; + removeSession(); + }, sessionTimeout); + } + }); + + return stream; + }; + } + + session.once('close', removeSession); + + let entry = [session, options]; + + authoritySessions + ? authoritySessions.push(entry) + : (authoritySessions = this.sessions[authority] = [entry]); + + return session; + } +} + +export default Http2Sessions; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.min.js new file mode 100644 index 0000000..7896bcb --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/Http2Sessions.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import http2 from"http2";import util from"util";class Http2Sessions{constructor(){this.sessions=Object.create(null)}getSession(t,e){e=Object.assign({sessionTimeout:1e3},e);let s=this.sessions[t];if(s){let t=s.length;for(let o=0;o{if(i)return;i=!0,l&&(clearTimeout(l),l=null);let e=s,n=e.length,r=n;for(;r--;)if(e[r][0]===o)return 1===n?delete this.sessions[t]:e.splice(r,1),void(o.closed||o.close())},r=o.request,{sessionTimeout:u}=e;if(null!=u){let t=0;o.request=function(){const e=r.apply(this,arguments);return t++,l&&(clearTimeout(l),l=null),e.once("close",()=>{--t||(l=setTimeout(()=>{l=null,n()},u))}),e}}o.once("close",n);let c=[o,e];return s?s.push(c):s=this.sessions[t]=[c],o}}export default Http2Sessions; +//# sourceMappingURL=/sm/171458b06f9b421de193d334ee98ebeefe403195b5b7c4b3b9786685238f87d7.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.js new file mode 100644 index 0000000..b68d08e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.js @@ -0,0 +1,77 @@ +const HttpStatusCode = { + Continue: 100, + SwitchingProtocols: 101, + Processing: 102, + EarlyHints: 103, + Ok: 200, + Created: 201, + Accepted: 202, + NonAuthoritativeInformation: 203, + NoContent: 204, + ResetContent: 205, + PartialContent: 206, + MultiStatus: 207, + AlreadyReported: 208, + ImUsed: 226, + MultipleChoices: 300, + MovedPermanently: 301, + Found: 302, + SeeOther: 303, + NotModified: 304, + UseProxy: 305, + Unused: 306, + TemporaryRedirect: 307, + PermanentRedirect: 308, + BadRequest: 400, + Unauthorized: 401, + PaymentRequired: 402, + Forbidden: 403, + NotFound: 404, + MethodNotAllowed: 405, + NotAcceptable: 406, + ProxyAuthenticationRequired: 407, + RequestTimeout: 408, + Conflict: 409, + Gone: 410, + LengthRequired: 411, + PreconditionFailed: 412, + PayloadTooLarge: 413, + UriTooLong: 414, + UnsupportedMediaType: 415, + RangeNotSatisfiable: 416, + ExpectationFailed: 417, + ImATeapot: 418, + MisdirectedRequest: 421, + UnprocessableEntity: 422, + Locked: 423, + FailedDependency: 424, + TooEarly: 425, + UpgradeRequired: 426, + PreconditionRequired: 428, + TooManyRequests: 429, + RequestHeaderFieldsTooLarge: 431, + UnavailableForLegalReasons: 451, + InternalServerError: 500, + NotImplemented: 501, + BadGateway: 502, + ServiceUnavailable: 503, + GatewayTimeout: 504, + HttpVersionNotSupported: 505, + VariantAlsoNegotiates: 506, + InsufficientStorage: 507, + LoopDetected: 508, + NotExtended: 510, + NetworkAuthenticationRequired: 511, + WebServerIsDown: 521, + ConnectionTimedOut: 522, + OriginIsUnreachable: 523, + TimeoutOccurred: 524, + SslHandshakeFailed: 525, + InvalidSslCertificate: 526, +}; + +Object.entries(HttpStatusCode).forEach(([key, value]) => { + HttpStatusCode[value] = key; +}); + +export default HttpStatusCode; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.min.js new file mode 100644 index 0000000..b538492 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/HttpStatusCode.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(HttpStatusCode).forEach(([e,t])=>{HttpStatusCode[t]=e});export default HttpStatusCode; +//# sourceMappingURL=/sm/898c72d301352c06f8f2943564027ed6f863722ba8e12f75b32e1e2c101c85cc.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/README.md b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/README.md new file mode 100644 index 0000000..4ae3419 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/README.md @@ -0,0 +1,7 @@ +# axios // helpers + +The modules found in `helpers/` should be generic modules that are _not_ specific to the domain logic of axios. These modules could theoretically be published to npm on their own and consumed by other modules or apps. Some examples of generic modules are things like: + +- Browser polyfills +- Managing cookies +- Parsing HTTP headers diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js new file mode 100644 index 0000000..c588ded --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js @@ -0,0 +1,29 @@ +'use strict'; + +import stream from 'stream'; + +class ZlibHeaderTransformStream extends stream.Transform { + __transform(chunk, encoding, callback) { + this.push(chunk); + callback(); + } + + _transform(chunk, encoding, callback) { + if (chunk.length !== 0) { + this._transform = this.__transform; + + // Add Default Compression headers if no zlib headers are present + if (chunk[0] !== 120) { + // Hex: 78 + const header = Buffer.alloc(2); + header[0] = 120; // Hex: 78 + header[1] = 156; // Hex: 9C + this.push(header, encoding); + } + } + + this.__transform(chunk, encoding, callback); + } +} + +export default ZlibHeaderTransformStream; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.min.js new file mode 100644 index 0000000..5cf891e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/ZlibHeaderTransformStream.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import stream from"stream";class ZlibHeaderTransformStream extends stream.Transform{__transform(r,s,t){this.push(r),t()}_transform(r,s,t){if(0!==r.length&&(this._transform=this.__transform,120!==r[0])){const r=Buffer.alloc(2);r[0]=120,r[1]=156,this.push(r,s)}this.__transform(r,s,t)}}export default ZlibHeaderTransformStream; +//# sourceMappingURL=/sm/31ea892397f3c5f33e3bd53b6b63a3233df2a2c14a1893529c725ae697a6a1a9.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.js new file mode 100644 index 0000000..938da5c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.js @@ -0,0 +1,14 @@ +'use strict'; + +/** + * Create a bound version of a function with a specified `this` context + * + * @param {Function} fn - The function to bind + * @param {*} thisArg - The value to be passed as the `this` parameter + * @returns {Function} A new function that will call the original function with the specified `this` context + */ +export default function bind(fn, thisArg) { + return function wrap() { + return fn.apply(thisArg, arguments); + }; +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.min.js new file mode 100644 index 0000000..6665da4 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/bind.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";export default function bind(t,n){return function(){return t.apply(n,arguments)}} +//# sourceMappingURL=/sm/2d07b1a7acf59436c68aa4bb8c56298ff1b5b3d6aa993e3e9174b66dc953c84e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.js new file mode 100644 index 0000000..ba4f5f5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.js @@ -0,0 +1,69 @@ +'use strict'; + +import utils from '../utils.js'; +import AxiosURLSearchParams from './AxiosURLSearchParams.js'; + +/** + * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with + * their plain counterparts (`:`, `$`, `,`, `+`). + * + * @param {string} val The value to be encoded. + * + * @returns {string} The encoded value. + */ +export function encode(val) { + return encodeURIComponent(val) + .replace(/%3A/gi, ':') + .replace(/%24/g, '$') + .replace(/%2C/gi, ',') + .replace(/%20/g, '+'); +} + +/** + * Build a URL by appending params to the end + * + * @param {string} url The base of the url (e.g., http://www.google.com) + * @param {object} [params] The params to be appended + * @param {?(object|Function)} options + * + * @returns {string} The formatted url + */ +export default function buildURL(url, params, options) { + if (!params) { + return url; + } + url = url || ''; + + const _options = utils.isFunction(options) + ? { + serialize: options, + } + : options; + + // Read serializer options pollution-safely: own properties and methods on a + // class/template prototype are honored, but values injected onto a polluted + // Object.prototype are ignored. + const _encode = utils.getSafeProp(_options, 'encode') || encode; + const serializeFn = utils.getSafeProp(_options, 'serialize'); + + let serializedParams; + + if (serializeFn) { + serializedParams = serializeFn(params, _options); + } else { + serializedParams = utils.isURLSearchParams(params) + ? params.toString() + : new AxiosURLSearchParams(params, _options).toString(_encode); + } + + if (serializedParams) { + const hashmarkIndex = url.indexOf('#'); + + if (hashmarkIndex !== -1) { + url = url.slice(0, hashmarkIndex); + } + url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams; + } + + return url; +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.min.js new file mode 100644 index 0000000..7f619e5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/buildURL.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"../utils.js";import AxiosURLSearchParams from"./AxiosURLSearchParams.js";export function encode(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}export default function buildURL(e,i,r){if(!i)return e;e=e||"";const t=utils.isFunction(r)?{serialize:r}:r,o=utils.getSafeProp(t,"encode")||encode,s=utils.getSafeProp(t,"serialize");let n;if(n=s?s(i,t):utils.isURLSearchParams(i)?i.toString():new AxiosURLSearchParams(i,t).toString(o),n){const i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e} +//# sourceMappingURL=/sm/56d26f34ea6a24385d44073343eeafde04275e177f0acd296b2897457ec3b835.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.js new file mode 100644 index 0000000..e8cea68 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.js @@ -0,0 +1,18 @@ +import utils from '../utils.js'; + +const callbackify = (fn, reducer) => { + return utils.isAsyncFn(fn) + ? function (...args) { + const cb = args.pop(); + fn.apply(this, args).then((value) => { + try { + reducer ? cb(null, ...reducer(value)) : cb(null, value); + } catch (err) { + cb(err); + } + }, cb); + } + : fn; +}; + +export default callbackify; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.min.js new file mode 100644 index 0000000..7938438 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/callbackify.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import utils from"../utils.js";const callbackify=(l,t)=>utils.isAsyncFn(l)?function(...c){const i=c.pop();l.apply(this,c).then(l=>{try{t?i(null,...t(l)):i(null,l)}catch(l){i(l)}},i)}:l;export default callbackify; +//# sourceMappingURL=/sm/e6dca05e6bf889ba28ed4c07f2e9b3198d1ee0b9e3f5449f36f18d2abd99b6a3.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.js new file mode 100644 index 0000000..9f04f02 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.js @@ -0,0 +1,15 @@ +'use strict'; + +/** + * Creates a new URL by combining the specified URLs + * + * @param {string} baseURL The base URL + * @param {string} relativeURL The relative URL + * + * @returns {string} The combined URL + */ +export default function combineURLs(baseURL, relativeURL) { + return relativeURL + ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') + : baseURL; +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.min.js new file mode 100644 index 0000000..21265fa --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/combineURLs.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";export default function combineURLs(e,r){return r?e.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):e} +//# sourceMappingURL=/sm/a317a3e55e6be27959859a2440e8ddb68451eeb13b4778e6bd8fd1e8da82a35c.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.js new file mode 100644 index 0000000..6ea734f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.js @@ -0,0 +1,57 @@ +import CanceledError from '../cancel/CanceledError.js'; +import AxiosError from '../core/AxiosError.js'; +import utils from '../utils.js'; + +const composeSignals = (signals, timeout) => { + signals = signals ? signals.filter(Boolean) : []; + + if (!timeout && !signals.length) { + return; + } + + const controller = new AbortController(); + + let aborted = false; + + const onabort = function (reason) { + if (!aborted) { + aborted = true; + unsubscribe(); + const err = reason instanceof Error ? reason : this.reason; + controller.abort( + err instanceof AxiosError + ? err + : new CanceledError(err instanceof Error ? err.message : err) + ); + } + }; + + let timer = + timeout && + setTimeout(() => { + timer = null; + onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT)); + }, timeout); + + const unsubscribe = () => { + if (!signals) { return; } + timer && clearTimeout(timer); + timer = null; + signals.forEach((signal) => { + signal.unsubscribe + ? signal.unsubscribe(onabort) + : signal.removeEventListener('abort', onabort); + }); + signals = null; + }; + + signals.forEach((signal) => signal.addEventListener('abort', onabort, { once: true })); + + const { signal } = controller; + + signal.unsubscribe = () => utils.asap(unsubscribe); + + return signal; +}; + +export default composeSignals; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.min.js new file mode 100644 index 0000000..90f66ac --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/composeSignals.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import CanceledError from"../cancel/CanceledError.js";import AxiosError from"../core/AxiosError.js";import utils from"../utils.js";const composeSignals=(r,o)=>{if(r=r?r.filter(Boolean):[],!o&&!r.length)return;const e=new AbortController;let n=!1;const s=function(r){if(!n){n=!0,i();const o=r instanceof Error?r:this.reason;e.abort(o instanceof AxiosError?o:new CanceledError(o instanceof Error?o.message:o))}};let t=o&&setTimeout(()=>{t=null,s(new AxiosError(`timeout of ${o}ms exceeded`,AxiosError.ETIMEDOUT))},o);const i=()=>{r&&(t&&clearTimeout(t),t=null,r.forEach(r=>{r.unsubscribe?r.unsubscribe(s):r.removeEventListener("abort",s)}),r=null)};r.forEach(r=>r.addEventListener("abort",s,{once:!0}));const{signal:c}=e;return c.unsubscribe=()=>utils.asap(i),c};export default composeSignals; +//# sourceMappingURL=/sm/48c6ce882f51fc08bd0313c36e019f6bbdc40e3b8b8f3e1e5b0451199227ea7a.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.js new file mode 100644 index 0000000..c197875 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.js @@ -0,0 +1,64 @@ +import utils from '../utils.js'; +import platform from '../platform/index.js'; + +export default platform.hasStandardBrowserEnv + ? // Standard browser envs support document.cookie + { + write(name, value, expires, path, domain, secure, sameSite) { + if (typeof document === 'undefined') return; + + const cookie = [`${name}=${encodeURIComponent(value)}`]; + + if (utils.isNumber(expires)) { + cookie.push(`expires=${new Date(expires).toUTCString()}`); + } + if (utils.isString(path)) { + cookie.push(`path=${path}`); + } + if (utils.isString(domain)) { + cookie.push(`domain=${domain}`); + } + if (secure === true) { + cookie.push('secure'); + } + if (utils.isString(sameSite)) { + cookie.push(`SameSite=${sameSite}`); + } + + document.cookie = cookie.join('; '); + }, + + read(name) { + if (typeof document === 'undefined') return null; + // Match name=value by splitting on the semicolon separator instead of building a + // RegExp from `name` — interpolating an unescaped string into a RegExp would let + // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or + // match the wrong cookie. Browsers may serialize cookie pairs as either ";" or + // "; ", so ignore optional whitespace before each cookie name. + const cookies = document.cookie.split(';'); + for (let i = 0; i < cookies.length; i++) { + const cookie = cookies[i].replace(/^\s+/, ''); + const eq = cookie.indexOf('='); + if (eq !== -1 && cookie.slice(0, eq) === name) { + try { + return decodeURIComponent(cookie.slice(eq + 1)); + } catch (e) { + return cookie.slice(eq + 1); + } + } + } + return null; + }, + + remove(name) { + this.write(name, '', Date.now() - 86400000, '/'); + }, + } + : // Non-standard browser env (web workers, react-native) lack needed support. + { + write() {}, + read() { + return null; + }, + remove() {}, + }; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.min.js new file mode 100644 index 0000000..d84866c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/cookies.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import utils from"../utils.js";import platform from"../platform/index.js";export default platform.hasStandardBrowserEnv?{write(e,t,r,i,n,o,s){if("undefined"==typeof document)return;const u=[`${e}=${encodeURIComponent(t)}`];utils.isNumber(r)&&u.push(`expires=${new Date(r).toUTCString()}`),utils.isString(i)&&u.push(`path=${i}`),utils.isString(n)&&u.push(`domain=${n}`),!0===o&&u.push("secure"),utils.isString(s)&&u.push(`SameSite=${s}`),document.cookie=u.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let r=0;rnull,remove(){}}; +//# sourceMappingURL=/sm/0f07893c33caefa57a717e2bb22e95e6f85f0dba6c200c183147382c804fd675.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.js new file mode 100644 index 0000000..ec112de --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.js @@ -0,0 +1,31 @@ +'use strict'; + +/*eslint no-console:0*/ + +/** + * Supply a warning to the developer that a method they are using + * has been deprecated. + * + * @param {string} method The name of the deprecated method + * @param {string} [instead] The alternate method to use if applicable + * @param {string} [docs] The documentation URL to get further details + * + * @returns {void} + */ +export default function deprecatedMethod(method, instead, docs) { + try { + console.warn( + 'DEPRECATED method `' + + method + + '`.' + + (instead ? ' Use `' + instead + '` instead.' : '') + + ' This method will be removed in a future release.' + ); + + if (docs) { + console.warn('For more information about usage see ' + docs); + } + } catch (e) { + /* Ignore */ + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.min.js new file mode 100644 index 0000000..e98bbcc --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/deprecatedMethod.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";export default function deprecatedMethod(e,o,t){try{console.warn("DEPRECATED method `"+e+"`."+(o?" Use `"+o+"` instead.":"")+" This method will be removed in a future release."),t&&console.warn("For more information about usage see "+t)}catch(e){}} +//# sourceMappingURL=/sm/1971226277c0e2934d4e5c7a25c7a95e2190963a408ab86d5adc713a07e4ede9.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js new file mode 100644 index 0000000..927b755 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js @@ -0,0 +1,105 @@ +/** + * Estimate decoded byte length of a data:// URL *without* allocating large buffers. + * - For base64: compute exact decoded size using length and padding; + * handle %XX at the character-count level (no string allocation). + * - For non-base64: compute the exact percent-decoded UTF-8 byte length. + * + * @param {string} url + * @returns {number} + */ +const isHexDigit = (charCode) => + (charCode >= 48 && charCode <= 57) || + (charCode >= 65 && charCode <= 70) || + (charCode >= 97 && charCode <= 102); + +const isPercentEncodedByte = (str, i, len) => + i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2)); + +export default function estimateDataURLDecodedBytes(url) { + if (!url || typeof url !== 'string') return 0; + if (!url.startsWith('data:')) return 0; + + const comma = url.indexOf(','); + if (comma < 0) return 0; + + const meta = url.slice(5, comma); + const body = url.slice(comma + 1); + const isBase64 = /;base64/i.test(meta); + + if (isBase64) { + let effectiveLen = body.length; + const len = body.length; // cache length + + for (let i = 0; i < len; i++) { + if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) { + const a = body.charCodeAt(i + 1); + const b = body.charCodeAt(i + 2); + const isHex = isHexDigit(a) && isHexDigit(b); + + if (isHex) { + effectiveLen -= 2; + i += 2; + } + } + } + + let pad = 0; + let idx = len - 1; + + const tailIsPct3D = (j) => + j >= 2 && + body.charCodeAt(j - 2) === 37 && // '%' + body.charCodeAt(j - 1) === 51 && // '3' + (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd' + + if (idx >= 0) { + if (body.charCodeAt(idx) === 61 /* '=' */) { + pad++; + idx--; + } else if (tailIsPct3D(idx)) { + pad++; + idx -= 3; + } + } + + if (pad === 1 && idx >= 0) { + if (body.charCodeAt(idx) === 61 /* '=' */) { + pad++; + } else if (tailIsPct3D(idx)) { + pad++; + } + } + + const groups = Math.floor(effectiveLen / 4); + const bytes = groups * 3 - (pad || 0); + return bytes > 0 ? bytes : 0; + } + + // Compute UTF-8 byte length directly from UTF-16 code units without allocating + // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies). + // Valid %XX triplets count as one decoded byte; this matches the bytes that + // decodeURIComponent(body) would produce before Buffer re-encodes the string. + let bytes = 0; + for (let i = 0, len = body.length; i < len; i++) { + const c = body.charCodeAt(i); + if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) { + bytes += 1; + i += 2; + } else if (c < 0x80) { + bytes += 1; + } else if (c < 0x800) { + bytes += 2; + } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) { + const next = body.charCodeAt(i + 1); + if (next >= 0xdc00 && next <= 0xdfff) { + bytes += 4; + i++; + } else { + bytes += 3; + } + } else { + bytes += 3; + } + } + return bytes; +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.min.js new file mode 100644 index 0000000..21a99ea --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/estimateDataURLDecodedBytes.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +const isHexDigit=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,isPercentEncodedByte=(e,t,i)=>t+2e>=2&&37===o.charCodeAt(e-2)&&51===o.charCodeAt(e-1)&&(68===o.charCodeAt(e)||100===o.charCodeAt(e));r>=0&&(61===o.charCodeAt(r)?(i++,r--):c(r)&&(i++,r-=3)),1===i&&r>=0&&(61===o.charCodeAt(r)||c(r))&&i++;const s=3*Math.floor(e/4)-(i||0);return s>0?s:0}let r=0;for(let e=0,t=o.length;e=55296&&i<=56319&&e+1=56320&&t<=57343?(r+=4,e++):r+=3}else r+=3}return r} +//# sourceMappingURL=/sm/223e3a17f2b71d301415cd8396f68f58ab99cfa97e3c3dd4c44d9b06aa54943b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.js new file mode 100644 index 0000000..36ef52f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.js @@ -0,0 +1,119 @@ +'use strict'; + +import utils from '../utils.js'; +import AxiosError from '../core/AxiosError.js'; +import { DEFAULT_FORM_DATA_MAX_DEPTH } from './toFormData.js'; + +const MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH; + +function throwIfDepthExceeded(index) { + if (index > MAX_DEPTH) { + throw new AxiosError( + 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH, + AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED + ); + } +} + +/** + * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z'] + * + * @param {string} name - The name of the property to get. + * + * @returns An array of strings. + */ +function parsePropPath(name) { + // foo[x][y][z] + // foo.x.y.z + // foo-x-y-z + // foo x y z + const path = []; + const pattern = /\w+|\[(\w*)]/g; + let match; + + while ((match = pattern.exec(name)) !== null) { + throwIfDepthExceeded(path.length); + path.push(match[0] === '[]' ? '' : match[1] || match[0]); + } + + return path; +} + +/** + * Convert an array to an object. + * + * @param {Array} arr - The array to convert to an object. + * + * @returns An object with the same keys and values as the array. + */ +function arrayToObject(arr) { + const obj = {}; + const keys = Object.keys(arr); + let i; + const len = keys.length; + let key; + for (i = 0; i < len; i++) { + key = keys[i]; + obj[key] = arr[key]; + } + return obj; +} + +/** + * It takes a FormData object and returns a JavaScript object + * + * @param {string} formData The FormData object to convert to JSON. + * + * @returns {Object | null} The converted object. + */ +function formDataToJSON(formData) { + function buildPath(path, value, target, index) { + throwIfDepthExceeded(index); + + let name = path[index++]; + + if (name === '__proto__') return true; + + const isNumericKey = Number.isFinite(+name); + const isLast = index >= path.length; + name = !name && utils.isArray(target) ? target.length : name; + + if (isLast) { + if (utils.hasOwnProp(target, name)) { + target[name] = utils.isArray(target[name]) + ? target[name].concat(value) + : [target[name], value]; + } else { + target[name] = value; + } + + return !isNumericKey; + } + + if (!utils.hasOwnProp(target, name) || !utils.isObject(target[name])) { + target[name] = []; + } + + const result = buildPath(path, value, target[name], index); + + if (result && utils.isArray(target[name])) { + target[name] = arrayToObject(target[name]); + } + + return !isNumericKey; + } + + if (utils.isFormData(formData) && utils.isFunction(formData.entries)) { + const obj = {}; + + utils.forEachEntry(formData, (name, value) => { + buildPath(parsePropPath(name), value, obj, 0); + }); + + return obj; + } + + return null; +} + +export default formDataToJSON; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.min.js new file mode 100644 index 0000000..8a3f6b7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/formDataToJSON.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"../utils.js";import AxiosError from"../core/AxiosError.js";import{DEFAULT_FORM_DATA_MAX_DEPTH}from"./toFormData.js";const MAX_DEPTH=DEFAULT_FORM_DATA_MAX_DEPTH;function throwIfDepthExceeded(t){if(t>MAX_DEPTH)throw new AxiosError("FormData field is too deeply nested ("+t+" levels). Max depth: "+MAX_DEPTH,AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED)}function parsePropPath(t){const r=[],o=/\w+|\[(\w*)]/g;let e;for(;null!==(e=o.exec(t));)throwIfDepthExceeded(r.length),r.push("[]"===e[0]?"":e[1]||e[0]);return r}function arrayToObject(t){const r={},o=Object.keys(t);let e;const s=o.length;let i;for(e=0;e=t.length;if(i=!i&&utils.isArray(e)?e.length:i,u)return utils.hasOwnProp(e,i)?e[i]=utils.isArray(e[i])?e[i].concat(o):[e[i],o]:e[i]=o,!n;utils.hasOwnProp(e,i)&&utils.isObject(e[i])||(e[i]=[]);return r(t,o,e[i],s)&&utils.isArray(e[i])&&(e[i]=arrayToObject(e[i])),!n}if(utils.isFormData(t)&&utils.isFunction(t.entries)){const o={};return utils.forEachEntry(t,(t,e)=>{r(parsePropPath(t),e,o,0)}),o}return null}export default formDataToJSON; +//# sourceMappingURL=/sm/df76468a0c17788db6e5108accc0248213e37a867ccf42b61a51c7ccad07542d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.js new file mode 100644 index 0000000..17f369d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.js @@ -0,0 +1,119 @@ +import util from 'util'; +import { Readable } from 'stream'; +import utils from '../utils.js'; +import readBlob from './readBlob.js'; +import platform from '../platform/index.js'; + +const BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + '-_'; + +const textEncoder = typeof TextEncoder === 'function' ? new TextEncoder() : new util.TextEncoder(); + +const CRLF = '\r\n'; +const CRLF_BYTES = textEncoder.encode(CRLF); +const CRLF_BYTES_COUNT = 2; + +class FormDataPart { + constructor(name, value) { + const { escapeName } = this.constructor; + const isStringValue = utils.isString(value); + + let headers = `Content-Disposition: form-data; name="${escapeName(name)}"${ + !isStringValue && value.name ? `; filename="${escapeName(value.name)}"` : '' + }${CRLF}`; + + if (isStringValue) { + value = textEncoder.encode(String(value).replace(/\r?\n|\r\n?/g, CRLF)); + } else { + const safeType = String(value.type || 'application/octet-stream').replace(/[\r\n]/g, ''); + headers += `Content-Type: ${safeType}${CRLF}`; + } + + this.headers = textEncoder.encode(headers + CRLF); + + this.contentLength = isStringValue ? value.byteLength : value.size; + + this.size = this.headers.byteLength + this.contentLength + CRLF_BYTES_COUNT; + + this.name = name; + this.value = value; + } + + async *encode() { + yield this.headers; + + const { value } = this; + + if (utils.isTypedArray(value)) { + yield value; + } else { + yield* readBlob(value); + } + + yield CRLF_BYTES; + } + + static escapeName(name) { + return String(name).replace( + /[\r\n"]/g, + (match) => + ({ + '\r': '%0D', + '\n': '%0A', + '"': '%22', + })[match] + ); + } +} + +const formDataToStream = (form, headersHandler, options) => { + const { + tag = 'form-data-boundary', + size = 25, + boundary = tag + '-' + platform.generateString(size, BOUNDARY_ALPHABET), + } = options || {}; + + if (!utils.isFormData(form)) { + throw new TypeError('FormData instance required'); + } + + if (boundary.length < 1 || boundary.length > 70) { + throw new Error('boundary must be 1-70 characters long'); + } + + const boundaryBytes = textEncoder.encode('--' + boundary + CRLF); + const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF); + let contentLength = footerBytes.byteLength; + + const parts = Array.from(form.entries()).map(([name, value]) => { + const part = new FormDataPart(name, value); + contentLength += part.size; + return part; + }); + + contentLength += boundaryBytes.byteLength * parts.length; + + contentLength = utils.toFiniteNumber(contentLength); + + const computedHeaders = { + 'Content-Type': `multipart/form-data; boundary=${boundary}`, + }; + + if (Number.isFinite(contentLength)) { + computedHeaders['Content-Length'] = contentLength; + } + + headersHandler && headersHandler(computedHeaders); + + return Readable.from( + (async function* () { + for (const part of parts) { + yield boundaryBytes; + yield* part.encode(); + } + + yield footerBytes; + })() + ); +}; + +export default formDataToStream; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.min.js new file mode 100644 index 0000000..4837e25 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/formDataToStream.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import util from"util";import{Readable}from"stream";import utils from"../utils.js";import readBlob from"./readBlob.js";import platform from"../platform/index.js";const BOUNDARY_ALPHABET=platform.ALPHABET.ALPHA_DIGIT+"-_",textEncoder="function"==typeof TextEncoder?new TextEncoder:new util.TextEncoder,CRLF="\r\n",CRLF_BYTES=textEncoder.encode("\r\n"),CRLF_BYTES_COUNT=2;class FormDataPart{constructor(e,t){const{escapeName:r}=this.constructor,n=utils.isString(t);let o=`Content-Disposition: form-data; name="${r(e)}"${!n&&t.name?`; filename="${r(t.name)}"`:""}\r\n`;if(n)t=textEncoder.encode(String(t).replace(/\r?\n|\r\n?/g,"\r\n"));else{o+=`Content-Type: ${String(t.type||"application/octet-stream").replace(/[\r\n]/g,"")}\r\n`}this.headers=textEncoder.encode(o+"\r\n"),this.contentLength=n?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;utils.isTypedArray(e)?yield e:yield*readBlob(e),yield CRLF_BYTES}static escapeName(e){return String(e).replace(/[\r\n"]/g,e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e]))}}const formDataToStream=(e,t,r)=>{const{tag:n="form-data-boundary",size:o=25,boundary:a=n+"-"+platform.generateString(o,BOUNDARY_ALPHABET)}=r||{};if(!utils.isFormData(e))throw new TypeError("FormData instance required");if(a.length<1||a.length>70)throw new Error("boundary must be 1-70 characters long");const i=textEncoder.encode("--"+a+"\r\n"),s=textEncoder.encode("--"+a+"--\r\n");let c=s.byteLength;const d=Array.from(e.entries()).map(([e,t])=>{const r=new FormDataPart(e,t);return c+=r.size,r});c+=i.byteLength*d.length,c=utils.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${a}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),Readable.from(async function*(){for(const e of d)yield i,yield*e.encode();yield s}())};export default formDataToStream; +//# sourceMappingURL=/sm/f6b8de1119f279255ea0d5cbed4af00e84279d4a960b314c950436ba7d427e88.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.js new file mode 100644 index 0000000..81fcc6e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.js @@ -0,0 +1,68 @@ +'use strict'; + +import AxiosError from '../core/AxiosError.js'; +import parseProtocol from './parseProtocol.js'; +import platform from '../platform/index.js'; + +// RFC 2397: data:[][;base64], +// mediatype = type/subtype followed by optional ;name=value parameters +const DATA_URL_PATTERN = /^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/; + +/** + * Parse data uri to a Buffer or Blob + * + * @param {String} uri + * @param {?Boolean} asBlob + * @param {?Object} options + * @param {?Function} options.Blob + * + * @returns {Buffer|Blob} + */ +export default function fromDataURI(uri, asBlob, options) { + const _Blob = (options && options.Blob) || platform.classes.Blob; + const protocol = parseProtocol(uri); + + if (asBlob === undefined && _Blob) { + asBlob = true; + } + + if (protocol === 'data') { + uri = protocol.length ? uri.slice(protocol.length + 1) : uri; + + const match = DATA_URL_PATTERN.exec(uri); + + if (!match) { + throw new AxiosError('Invalid URL', AxiosError.ERR_INVALID_URL); + } + + const type = match[1]; + const params = match[2]; + const encoding = match[3] ? 'base64' : 'utf8'; + const body = match[4]; + + // RFC 2397 section 3: default mediatype is text/plain;charset=US-ASCII + // Bare `data:,` leaves mime undefined; Blob normalises that to "" per spec. + let mime = ''; + if (type) { + mime = params ? type + params : type; + } else if (params) { + mime = 'text/plain' + params; + } + + const buffer = encoding === 'base64' + ? Buffer.from(body, 'base64') + : Buffer.from(decodeURIComponent(body), encoding); + + if (asBlob) { + if (!_Blob) { + throw new AxiosError('Blob is not supported', AxiosError.ERR_NOT_SUPPORT); + } + + return new _Blob([buffer], { type: mime }); + } + + return buffer; + } + + throw new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_NOT_SUPPORT); +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.min.js new file mode 100644 index 0000000..abe4ef5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/fromDataURI.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import AxiosError from"../core/AxiosError.js";import parseProtocol from"./parseProtocol.js";import platform from"../platform/index.js";const DATA_URL_PATTERN=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;export default function fromDataURI(o,r,t){const e=t&&t.Blob||platform.classes.Blob,s=parseProtocol(o);if(void 0===r&&e&&(r=!0),"data"===s){o=s.length?o.slice(s.length+1):o;const t=DATA_URL_PATTERN.exec(o);if(!t)throw new AxiosError("Invalid URL",AxiosError.ERR_INVALID_URL);const i=t[1],n=t[2],f=t[3]?"base64":"utf8",a=t[4];let l="";i?l=n?i+n:i:n&&(l="text/plain"+n);const p="base64"===f?Buffer.from(a,"base64"):Buffer.from(decodeURIComponent(a),f);if(r){if(!e)throw new AxiosError("Blob is not supported",AxiosError.ERR_NOT_SUPPORT);return new e([p],{type:l})}return p}throw new AxiosError("Unsupported protocol "+s,AxiosError.ERR_NOT_SUPPORT)} +//# sourceMappingURL=/sm/698f523c044521a5891321be7ac534caad9c40a0e738ad350a60e3078cc109d0.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.js new file mode 100644 index 0000000..c461900 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.js @@ -0,0 +1,19 @@ +'use strict'; + +/** + * Determines whether the specified URL is absolute + * + * @param {string} url The URL to test + * + * @returns {boolean} True if the specified URL is absolute, otherwise false + */ +export default function isAbsoluteURL(url) { + // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). + // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed + // by any combination of letters, digits, plus, period, or hyphen. + if (typeof url !== 'string') { + return false; + } + + return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url); +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.min.js new file mode 100644 index 0000000..94eb0cf --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/isAbsoluteURL.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";export default function isAbsoluteURL(t){return"string"==typeof t&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)} +//# sourceMappingURL=/sm/e010acacdd3e1421e2a5ed7b3186e3e1f92ad6b9e37c612854f6b1472c241c20.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.js new file mode 100644 index 0000000..ffba610 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.js @@ -0,0 +1,14 @@ +'use strict'; + +import utils from '../utils.js'; + +/** + * Determines whether the payload is an error thrown by Axios + * + * @param {*} payload The value to test + * + * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false + */ +export default function isAxiosError(payload) { + return utils.isObject(payload) && payload.isAxiosError === true; +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.min.js new file mode 100644 index 0000000..cd120b4 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/isAxiosError.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"../utils.js";export default function isAxiosError(r){return utils.isObject(r)&&!0===r.isAxiosError} +//# sourceMappingURL=/sm/00e3b275d545fe9cbbacea13cbd04ac93aaae2e51eb98ac35383225ba52e870b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.js new file mode 100644 index 0000000..66af274 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.js @@ -0,0 +1,16 @@ +import platform from '../platform/index.js'; + +export default platform.hasStandardBrowserEnv + ? ((origin, isMSIE) => (url) => { + url = new URL(url, platform.origin); + + return ( + origin.protocol === url.protocol && + origin.host === url.host && + (isMSIE || origin.port === url.port) + ); + })( + new URL(platform.origin), + platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent) + ) + : () => true; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.min.js new file mode 100644 index 0000000..ab53473 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/isURLSameOrigin.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import platform from"../platform/index.js";export default platform.hasStandardBrowserEnv?((o,t)=>r=>(r=new URL(r,platform.origin),o.protocol===r.protocol&&o.host===r.host&&(t||o.port===r.port)))(new URL(platform.origin),platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent)):()=>!0; +//# sourceMappingURL=/sm/8e9df2a3a0355c83a5767d84f0b0fff673550a0f180852163a036c8e731ee84b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.js new file mode 100644 index 0000000..b9f82c4 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.js @@ -0,0 +1,2 @@ +// eslint-disable-next-line strict +export default null; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.min.js new file mode 100644 index 0000000..236cc6b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.min.js @@ -0,0 +1,8 @@ +/** + * Skipped minification because the original files appears to be already minified. + * Original file: /npm/axios@1.18.1/lib/helpers/null.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +// eslint-disable-next-line strict +export default null; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.js new file mode 100644 index 0000000..fb0eba4 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.js @@ -0,0 +1,69 @@ +'use strict'; + +import utils from '../utils.js'; + +// RawAxiosHeaders whose duplicates are ignored by node +// c.f. https://nodejs.org/api/http.html#http_message_headers +const ignoreDuplicateOf = utils.toObjectSet([ + 'age', + 'authorization', + 'content-length', + 'content-type', + 'etag', + 'expires', + 'from', + 'host', + 'if-modified-since', + 'if-unmodified-since', + 'last-modified', + 'location', + 'max-forwards', + 'proxy-authorization', + 'referer', + 'retry-after', + 'user-agent', +]); + +/** + * Parse headers into an object + * + * ``` + * Date: Wed, 27 Aug 2014 08:58:49 GMT + * Content-Type: application/json + * Connection: keep-alive + * Transfer-Encoding: chunked + * ``` + * + * @param {String} rawHeaders Headers needing to be parsed + * + * @returns {Object} Headers parsed into an object + */ +export default (rawHeaders) => { + const parsed = {}; + let key; + let val; + let i; + + rawHeaders && + rawHeaders.split('\n').forEach(function parser(line) { + i = line.indexOf(':'); + key = line.substring(0, i).trim().toLowerCase(); + val = line.substring(i + 1).trim(); + + if (!key || (parsed[key] && ignoreDuplicateOf[key])) { + return; + } + + if (key === 'set-cookie') { + if (parsed[key]) { + parsed[key].push(val); + } else { + parsed[key] = [val]; + } + } else { + parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val; + } + }); + + return parsed; +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.min.js new file mode 100644 index 0000000..3d227d2 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/parseHeaders.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"../utils.js";const ignoreDuplicateOf=utils.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);export default t=>{const e={};let i,o,r;return t&&t.split("\n").forEach(function(t){r=t.indexOf(":"),i=t.substring(0,r).trim().toLowerCase(),o=t.substring(r+1).trim(),!i||e[i]&&ignoreDuplicateOf[i]||("set-cookie"===i?e[i]?e[i].push(o):e[i]=[o]:e[i]=e[i]?e[i]+", "+o:o)}),e}; +//# sourceMappingURL=/sm/7355eea38cb746081c28cae68f7b7621e349beec64d95144739d9f8974de4136.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.js new file mode 100644 index 0000000..05a2d6d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.js @@ -0,0 +1,6 @@ +'use strict'; + +export default function parseProtocol(url) { + const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url); + return (match && match[1]) || ''; +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.min.js new file mode 100644 index 0000000..003d945 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/parseProtocol.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";export default function parseProtocol(t){const e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""} +//# sourceMappingURL=/sm/eda4e1cd0e0ea7137787f284d67c63351424b2c5246b39c9eeb369f4242283a4.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.js new file mode 100644 index 0000000..e2c15c0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.js @@ -0,0 +1,54 @@ +import speedometer from './speedometer.js'; +import throttle from './throttle.js'; +import utils from '../utils.js'; + +export const progressEventReducer = (listener, isDownloadStream, freq = 3) => { + let bytesNotified = 0; + const _speedometer = speedometer(50, 250); + + return throttle((e) => { + if (!e || typeof e.loaded !== 'number') { + return; + } + const rawLoaded = e.loaded; + const total = e.lengthComputable ? e.total : undefined; + const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded; + const progressBytes = Math.max(0, loaded - bytesNotified); + const rate = _speedometer(progressBytes); + + bytesNotified = Math.max(bytesNotified, loaded); + + const data = { + loaded, + total, + progress: total ? loaded / total : undefined, + bytes: progressBytes, + rate: rate ? rate : undefined, + estimated: rate && total ? (total - loaded) / rate : undefined, + event: e, + lengthComputable: total != null, + [isDownloadStream ? 'download' : 'upload']: true, + }; + + listener(data); + }, freq); +}; + +export const progressEventDecorator = (total, throttled) => { + const lengthComputable = total != null; + + return [ + (loaded) => + throttled[0]({ + lengthComputable, + total, + loaded, + }), + throttled[1], + ]; +}; + +export const asyncDecorator = + (fn) => + (...args) => + utils.asap(() => fn(...args)); diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.min.js new file mode 100644 index 0000000..6183bfd --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/progressEventReducer.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import speedometer from"./speedometer.js";import throttle from"./throttle.js";import utils from"../utils.js";export const progressEventReducer=(t,e,o=3)=>{let r=0;const l=speedometer(50,250);return throttle(o=>{if(!o||"number"!=typeof o.loaded)return;const s=o.loaded,a=o.lengthComputable?o.total:void 0,n=null!=a?Math.min(s,a):s,d=Math.max(0,n-r),p=l(d);r=Math.max(r,n);t({loaded:n,total:a,progress:a?n/a:void 0,bytes:d,rate:p||void 0,estimated:p&&a?(a-n)/p:void 0,event:o,lengthComputable:null!=a,[e?"download":"upload"]:!0})},o)};export const progressEventDecorator=(t,e)=>{const o=null!=t;return[r=>e[0]({lengthComputable:o,total:t,loaded:r}),e[1]]};export const asyncDecorator=t=>(...e)=>utils.asap(()=>t(...e)); +//# sourceMappingURL=/sm/32865d2bad314cc7b994f4e913ce66146909eb62b1ca2d8e2ceb62cd0e339d6d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.js new file mode 100644 index 0000000..87d0ea8 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.js @@ -0,0 +1,15 @@ +const { asyncIterator } = Symbol; + +const readBlob = async function* (blob) { + if (blob.stream) { + yield* blob.stream(); + } else if (blob.arrayBuffer) { + yield await blob.arrayBuffer(); + } else if (blob[asyncIterator]) { + yield* blob[asyncIterator](); + } else { + yield blob; + } +}; + +export default readBlob; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.min.js new file mode 100644 index 0000000..212b4a8 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/readBlob.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +const{asyncIterator:asyncIterator}=Symbol,readBlob=async function*(a){a.stream?yield*a.stream():a.arrayBuffer?yield await a.arrayBuffer():a[asyncIterator]?yield*a[asyncIterator]():yield a};export default readBlob; +//# sourceMappingURL=/sm/0a830f7b1bbfe4ed37a265af0fe6abc8555f4a449c54f592378e719d8c50dbb9.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.js new file mode 100644 index 0000000..77718c2 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.js @@ -0,0 +1,119 @@ +import platform from '../platform/index.js'; +import utils from '../utils.js'; +import AxiosError from '../core/AxiosError.js'; +import isURLSameOrigin from './isURLSameOrigin.js'; +import cookies from './cookies.js'; +import buildFullPath from '../core/buildFullPath.js'; +import mergeConfig from '../core/mergeConfig.js'; +import AxiosHeaders from '../core/AxiosHeaders.js'; +import buildURL from './buildURL.js'; + +const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length']; + +function setFormDataHeaders(headers, formHeaders, policy) { + if (policy !== 'content-only') { + headers.set(formHeaders); + return; + } + + Object.entries(formHeaders || {}).forEach(([key, val]) => { + if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) { + headers.set(key, val); + } + }); +} + +/** + * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). + * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. + * + * @param {string} str The string to encode + * + * @returns {string} UTF-8 bytes as a Latin-1 string + */ +const encodeUTF8 = (str) => + encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => + String.fromCharCode(parseInt(hex, 16)) + ); + +function resolveConfig(config) { + const newConfig = mergeConfig({}, config); + + // Read only own properties to prevent prototype pollution gadgets + // (e.g. Object.prototype.baseURL = 'https://evil.com'). + const own = (key) => (utils.hasOwnProp(newConfig, key) ? newConfig[key] : undefined); + + const data = own('data'); + let withXSRFToken = own('withXSRFToken'); + const xsrfHeaderName = own('xsrfHeaderName'); + const xsrfCookieName = own('xsrfCookieName'); + let headers = own('headers'); + const auth = own('auth'); + const baseURL = own('baseURL'); + const allowAbsoluteUrls = own('allowAbsoluteUrls'); + const url = own('url'); + + newConfig.headers = headers = AxiosHeaders.from(headers); + + newConfig.url = buildURL( + buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig), + own('params'), + own('paramsSerializer') + ); + + // HTTP basic authentication + if (auth) { + const username = utils.getSafeProp(auth, 'username') || ''; + const password = utils.getSafeProp(auth, 'password') || ''; + + try { + headers.set( + 'Authorization', + 'Basic ' + btoa(username + ':' + (password ? encodeUTF8(password) : '')) + ); + } catch (e) { + throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config); + } + } + + if (utils.isFormData(data)) { + if ( + platform.hasStandardBrowserEnv || + platform.hasStandardBrowserWebWorkerEnv || + utils.isReactNative(data) + ) { + headers.setContentType(undefined); // browser/web worker/RN handles it + } else if (utils.isFunction(data.getHeaders)) { + // Node.js FormData (like form-data package) + setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy')); + } + } + + // Add xsrf header + // This is only done if running in a standard browser environment. + // Specifically not if we're in a web worker, or react-native. + + if (platform.hasStandardBrowserEnv) { + if (utils.isFunction(withXSRFToken)) { + withXSRFToken = withXSRFToken(newConfig); + } + + // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1) + // and misconfigurations (e.g. "false") from short-circuiting the same-origin check and leaking + // the XSRF token cross-origin. + const shouldSendXSRF = + withXSRFToken === true || (withXSRFToken == null && isURLSameOrigin(newConfig.url)); + + if (shouldSendXSRF) { + const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName); + + if (xsrfValue) { + headers.set(xsrfHeaderName, xsrfValue); + } + } + } + + return newConfig; +} + +export default resolveConfig; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.min.js new file mode 100644 index 0000000..cd4a7ec --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/resolveConfig.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import platform from"../platform/index.js";import utils from"../utils.js";import AxiosError from"../core/AxiosError.js";import isURLSameOrigin from"./isURLSameOrigin.js";import cookies from"./cookies.js";import buildFullPath from"../core/buildFullPath.js";import mergeConfig from"../core/mergeConfig.js";import AxiosHeaders from"../core/AxiosHeaders.js";import buildURL from"./buildURL.js";const FORM_DATA_CONTENT_HEADERS=["content-type","content-length"];function setFormDataHeaders(r,o,e){"content-only"===e?Object.entries(o||{}).forEach(([o,e])=>{FORM_DATA_CONTENT_HEADERS.includes(o.toLowerCase())&&r.set(o,e)}):r.set(o)}const encodeUTF8=r=>encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(r,o)=>String.fromCharCode(parseInt(o,16)));function resolveConfig(r){const o=mergeConfig({},r),e=r=>utils.hasOwnProp(o,r)?o[r]:void 0,t=e("data");let s=e("withXSRFToken");const i=e("xsrfHeaderName"),a=e("xsrfCookieName");let n=e("headers");const l=e("auth"),m=e("baseURL"),d=e("allowAbsoluteUrls"),f=e("url");if(o.headers=n=AxiosHeaders.from(n),o.url=buildURL(buildFullPath(m,f,d,o),e("params"),e("paramsSerializer")),l){const o=utils.getSafeProp(l,"username")||"",e=utils.getSafeProp(l,"password")||"";try{n.set("Authorization","Basic "+btoa(o+":"+(e?encodeUTF8(e):"")))}catch(o){throw AxiosError.from(o,AxiosError.ERR_BAD_OPTION_VALUE,r)}}if(utils.isFormData(t)&&(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv||utils.isReactNative(t)?n.setContentType(void 0):utils.isFunction(t.getHeaders)&&setFormDataHeaders(n,t.getHeaders(),e("formDataHeaderPolicy"))),platform.hasStandardBrowserEnv){utils.isFunction(s)&&(s=s(o));if(!0===s||null==s&&isURLSameOrigin(o.url)){const r=i&&a&&cookies.read(a);r&&n.set(i,r)}}return o}export default resolveConfig; +//# sourceMappingURL=/sm/eb917da6a83de14aef3be06187f7680f04b1d4fe371fe157066cb3d01486415c.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.js new file mode 100644 index 0000000..0462fc0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.js @@ -0,0 +1,60 @@ +'use strict'; + +import utils from '../utils.js'; + +function trimSPorHTAB(str) { + let start = 0; + let end = str.length; + + while (start < end) { + const code = str.charCodeAt(start); + + if (code !== 0x09 && code !== 0x20) { + break; + } + + start += 1; + } + + while (end > start) { + const code = str.charCodeAt(end - 1); + + if (code !== 0x09 && code !== 0x20) { + break; + } + + end -= 1; + } + + return start === 0 && end === str.length ? str : str.slice(start, end); +} + +// The control-code ranges are intentional: header sanitization strips C0/DEL bytes. +// eslint-disable-next-line no-control-regex +const INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+', 'g'); +// eslint-disable-next-line no-control-regex +const INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+', 'g'); + +function sanitizeValue(value, invalidChars) { + if (utils.isArray(value)) { + return value.map((item) => sanitizeValue(item, invalidChars)); + } + + return trimSPorHTAB(String(value).replace(invalidChars, '')); +} + +export const sanitizeHeaderValue = (value) => + sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS); + +export const sanitizeByteStringHeaderValue = (value) => + sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS); + +export function toByteStringHeaderObject(headers) { + const byteStringHeaders = Object.create(null); + + utils.forEach(headers.toJSON(), (value, header) => { + byteStringHeaders[header] = sanitizeByteStringHeaderValue(value); + }); + + return byteStringHeaders; +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.min.js new file mode 100644 index 0000000..91c894a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/sanitizeHeaderValue.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"../utils.js";function trimSPorHTAB(e){let t=0,r=e.length;for(;tt;){const t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}const INVALID_UNICODE_HEADER_VALUE_CHARS=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),INVALID_BYTE_STRING_HEADER_VALUE_CHARS=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function sanitizeValue(e,t){return utils.isArray(e)?e.map(e=>sanitizeValue(e,t)):trimSPorHTAB(String(e).replace(t,""))}export const sanitizeHeaderValue=e=>sanitizeValue(e,INVALID_UNICODE_HEADER_VALUE_CHARS);export const sanitizeByteStringHeaderValue=e=>sanitizeValue(e,INVALID_BYTE_STRING_HEADER_VALUE_CHARS);export function toByteStringHeaderObject(e){const t=Object.create(null);return utils.forEach(e.toJSON(),(e,r)=>{t[r]=sanitizeByteStringHeaderValue(e)}),t} +//# sourceMappingURL=/sm/b7e568b81cb5b299e381b572b0e2617d03029ec25ecfdf667109f29dd194ab13.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.js new file mode 100644 index 0000000..0d5cc7f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.js @@ -0,0 +1,210 @@ +const LOOPBACK_HOSTNAMES = new Set(['localhost', '0.0.0.0']); + +const isIPv4Loopback = (host) => { + const parts = host.split('.'); + if (parts.length !== 4) return false; + if (parts[0] !== '127') return false; + return parts.every((p) => /^\d+$/.test(p) && Number(p) >= 0 && Number(p) <= 255); +}; + +const isIPv6ZeroGroup = (group) => /^0{1,4}$/.test(group); + +// The unspecified address (IPv4 0.0.0.0 / IPv6 ::) resolves to the local host +// for outbound connections, so treat it as loopback-equivalent for NO_PROXY +// matching. 0.0.0.0 is covered by LOOPBACK_HOSTNAMES; this handles compressed +// and full IPv6 all-zero forms so both families bypass symmetrically. +const isIPv6Unspecified = (host) => { + if (host === '::') return true; + + const compressionIndex = host.indexOf('::'); + + if (compressionIndex !== -1) { + if (compressionIndex !== host.lastIndexOf('::')) return false; + + const left = host.slice(0, compressionIndex); + const right = host.slice(compressionIndex + 2); + const leftGroups = left ? left.split(':') : []; + const rightGroups = right ? right.split(':') : []; + const explicitGroups = leftGroups.length + rightGroups.length; + + return ( + explicitGroups < 8 && + leftGroups.every(isIPv6ZeroGroup) && + rightGroups.every(isIPv6ZeroGroup) + ); + } + + const groups = host.split(':'); + return groups.length === 8 && groups.every(isIPv6ZeroGroup); +}; + +const isIPv6Loopback = (host) => { + // Collapse all-zero groups: any form of ::1 / 0:0:...:0:1 + // First, strip any leading "::" by normalising with Set lookup of common forms, + // then fall back to structural check. + if (host === '::1') return true; + + // Check IPv4-mapped IPv6 loopback: ::ffff: or ::ffff: + // Node's URL parser normalises ::ffff:127.0.0.1 → ::ffff:7f00:1 + const v4MappedDotted = host.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i); + if (v4MappedDotted) return isIPv4Loopback(v4MappedDotted[1]); + + const v4MappedHex = host.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i); + if (v4MappedHex) { + const high = parseInt(v4MappedHex[1], 16); + // High 16 bits must start with 127 (0x7f) — i.e. 0x7f00..0x7fff + return high >= 0x7f00 && high <= 0x7fff; + } + + // Full-form ::1 variants: any number of zero groups followed by trailing 1 + // e.g. 0:0:0:0:0:0:0:1, 0000:...:0001 + const groups = host.split(':'); + if (groups.length === 8) { + for (let i = 0; i < 7; i++) { + if (!/^0+$/.test(groups[i])) return false; + } + return /^0*1$/.test(groups[7]); + } + + return false; +}; + +const isLoopback = (host) => { + if (!host) return false; + if (LOOPBACK_HOSTNAMES.has(host)) return true; + if (isIPv4Loopback(host)) return true; + if (isIPv6Unspecified(host)) return true; + return isIPv6Loopback(host); +}; + +const DEFAULT_PORTS = { + http: 80, + https: 443, + ws: 80, + wss: 443, + ftp: 21, +}; + +const parseNoProxyEntry = (entry) => { + let entryHost = entry; + let entryPort = 0; + + if (entryHost.charAt(0) === '[') { + const bracketIndex = entryHost.indexOf(']'); + + if (bracketIndex !== -1) { + const host = entryHost.slice(1, bracketIndex); + const rest = entryHost.slice(bracketIndex + 1); + + if (rest.charAt(0) === ':' && /^\d+$/.test(rest.slice(1))) { + entryPort = Number.parseInt(rest.slice(1), 10); + } + + return [host, entryPort]; + } + } + + const firstColon = entryHost.indexOf(':'); + const lastColon = entryHost.lastIndexOf(':'); + + if ( + firstColon !== -1 && + firstColon === lastColon && + /^\d+$/.test(entryHost.slice(lastColon + 1)) + ) { + entryPort = Number.parseInt(entryHost.slice(lastColon + 1), 10); + entryHost = entryHost.slice(0, lastColon); + } + + return [entryHost, entryPort]; +}; + +// Convert IPv4-mapped IPv6 (::ffff:0:0/96 prefix) to IPv4 dotted form so both +// sides of a NO_PROXY comparison see the same canonical address. Without this, +// `NO_PROXY=192.168.1.5` would not match a request to `http://[::ffff:192.168.1.5]/` +// (Node's URL parser normalises that to `[::ffff:c0a8:105]`), and vice-versa, +// allowing the proxy-bypass policy to be circumvented by using the alternate +// representation. Returns the input unchanged when not IPv4-mapped. +const IPV4_MAPPED_DOTTED_RE = /^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i; +const IPV4_MAPPED_HEX_RE = /^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i; + +const unmapIPv4MappedIPv6 = (host) => { + if (typeof host !== 'string' || host.indexOf(':') === -1) return host; + + const dotted = host.match(IPV4_MAPPED_DOTTED_RE); + if (dotted) return dotted[1]; + + const hex = host.match(IPV4_MAPPED_HEX_RE); + if (hex) { + const high = parseInt(hex[1], 16); + const low = parseInt(hex[2], 16); + return `${high >> 8}.${high & 0xff}.${low >> 8}.${low & 0xff}`; + } + + return host; +}; + +const normalizeNoProxyHost = (hostname) => { + if (!hostname) { + return hostname; + } + + if (hostname.charAt(0) === '[' && hostname.charAt(hostname.length - 1) === ']') { + hostname = hostname.slice(1, -1); + } + + return unmapIPv4MappedIPv6(hostname.replace(/\.+$/, '')); +}; + +export default function shouldBypassProxy(location) { + let parsed; + + try { + parsed = new URL(location); + } catch (_err) { + return false; + } + + const noProxy = (process.env.no_proxy || process.env.NO_PROXY || '').toLowerCase(); + + if (!noProxy) { + return false; + } + + if (noProxy === '*') { + return true; + } + + const port = + Number.parseInt(parsed.port, 10) || DEFAULT_PORTS[parsed.protocol.split(':', 1)[0]] || 0; + + const hostname = normalizeNoProxyHost(parsed.hostname.toLowerCase()); + + return noProxy.split(/[\s,]+/).some((entry) => { + if (!entry) { + return false; + } + + let [entryHost, entryPort] = parseNoProxyEntry(entry); + + entryHost = normalizeNoProxyHost(entryHost); + + if (!entryHost) { + return false; + } + + if (entryPort && entryPort !== port) { + return false; + } + + if (entryHost.charAt(0) === '*') { + entryHost = entryHost.slice(1); + } + + if (entryHost.charAt(0) === '.') { + return hostname.endsWith(entryHost); + } + + return hostname === entryHost || (isLoopback(hostname) && isLoopback(entryHost)); + }); +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.min.js new file mode 100644 index 0000000..951cc0f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/shouldBypassProxy.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +const LOOPBACK_HOSTNAMES=new Set(["localhost","0.0.0.0"]),isIPv4Loopback=t=>{const e=t.split(".");return 4===e.length&&("127"===e[0]&&e.every(t=>/^\d+$/.test(t)&&Number(t)>=0&&Number(t)<=255))},isIPv6ZeroGroup=t=>/^0{1,4}$/.test(t),isIPv6Unspecified=t=>{if("::"===t)return!0;const e=t.indexOf("::");if(-1!==e){if(e!==t.lastIndexOf("::"))return!1;const r=t.slice(0,e),s=t.slice(e+2),o=r?r.split(":"):[],n=s?s.split(":"):[];return o.length+n.length<8&&o.every(isIPv6ZeroGroup)&&n.every(isIPv6ZeroGroup)}const r=t.split(":");return 8===r.length&&r.every(isIPv6ZeroGroup)},isIPv6Loopback=t=>{if("::1"===t)return!0;const e=t.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(e)return isIPv4Loopback(e[1]);const r=t.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(r){const t=parseInt(r[1],16);return t>=32512&&t<=32767}const s=t.split(":");if(8===s.length){for(let t=0;t<7;t++)if(!/^0+$/.test(s[t]))return!1;return/^0*1$/.test(s[7])}return!1},isLoopback=t=>!!t&&(!!LOOPBACK_HOSTNAMES.has(t)||(!!isIPv4Loopback(t)||(!!isIPv6Unspecified(t)||isIPv6Loopback(t)))),DEFAULT_PORTS={http:80,https:443,ws:80,wss:443,ftp:21},parseNoProxyEntry=t=>{let e=t,r=0;if("["===e.charAt(0)){const t=e.indexOf("]");if(-1!==t){const s=e.slice(1,t),o=e.slice(t+1);return":"===o.charAt(0)&&/^\d+$/.test(o.slice(1))&&(r=Number.parseInt(o.slice(1),10)),[s,r]}}const s=e.indexOf(":"),o=e.lastIndexOf(":");return-1!==s&&s===o&&/^\d+$/.test(e.slice(o+1))&&(r=Number.parseInt(e.slice(o+1),10),e=e.slice(0,o)),[e,r]},IPV4_MAPPED_DOTTED_RE=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,IPV4_MAPPED_HEX_RE=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,unmapIPv4MappedIPv6=t=>{if("string"!=typeof t||-1===t.indexOf(":"))return t;const e=t.match(IPV4_MAPPED_DOTTED_RE);if(e)return e[1];const r=t.match(IPV4_MAPPED_HEX_RE);if(r){const t=parseInt(r[1],16),e=parseInt(r[2],16);return`${t>>8}.${255&t}.${e>>8}.${255&e}`}return t},normalizeNoProxyHost=t=>t?("["===t.charAt(0)&&"]"===t.charAt(t.length-1)&&(t=t.slice(1,-1)),unmapIPv4MappedIPv6(t.replace(/\.+$/,""))):t;export default function shouldBypassProxy(t){let e;try{e=new URL(t)}catch(t){return!1}const r=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!r)return!1;if("*"===r)return!0;const s=Number.parseInt(e.port,10)||DEFAULT_PORTS[e.protocol.split(":",1)[0]]||0,o=normalizeNoProxyHost(e.hostname.toLowerCase());return r.split(/[\s,]+/).some(t=>{if(!t)return!1;let[e,r]=parseNoProxyEntry(t);return e=normalizeNoProxyHost(e),!!e&&((!r||r===s)&&("*"===e.charAt(0)&&(e=e.slice(1)),"."===e.charAt(0)?o.endsWith(e):o===e||isLoopback(o)&&isLoopback(e)))})} +//# sourceMappingURL=/sm/26bd553c0238223f80603f59da167147da2fdf923fc0deb34e9268fc05c5c68b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.js new file mode 100644 index 0000000..566a1ff --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.js @@ -0,0 +1,55 @@ +'use strict'; + +/** + * Calculate data maxRate + * @param {Number} [samplesCount= 10] + * @param {Number} [min= 1000] + * @returns {Function} + */ +function speedometer(samplesCount, min) { + samplesCount = samplesCount || 10; + const bytes = new Array(samplesCount); + const timestamps = new Array(samplesCount); + let head = 0; + let tail = 0; + let firstSampleTS; + + min = min !== undefined ? min : 1000; + + return function push(chunkLength) { + const now = Date.now(); + + const startedAt = timestamps[tail]; + + if (!firstSampleTS) { + firstSampleTS = now; + } + + bytes[head] = chunkLength; + timestamps[head] = now; + + let i = tail; + let bytesCount = 0; + + while (i !== head) { + bytesCount += bytes[i++]; + i = i % samplesCount; + } + + head = (head + 1) % samplesCount; + + if (head === tail) { + tail = (tail + 1) % samplesCount; + } + + if (now - firstSampleTS < min) { + return; + } + + const passed = startedAt && now - startedAt; + + return passed ? Math.round((bytesCount * 1000) / passed) : undefined; + }; +} + +export default speedometer; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.min.js new file mode 100644 index 0000000..0350f8b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/speedometer.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";function speedometer(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,u=0,s=0;return t=void 0!==t?t:1e3,function(c){const d=Date.now(),i=n[s];o||(o=d),r[u]=c,n[u]=d;let a=s,f=0;for(;a!==u;)f+=r[a++],a%=e;if(u=(u+1)%e,u===s&&(s=(s+1)%e),d-o { + timestamp = now; + lastArgs = null; + if (timer) { + clearTimeout(timer); + timer = null; + } + fn(...args); + }; + + const throttled = (...args) => { + const now = Date.now(); + const passed = now - timestamp; + if (passed >= threshold) { + invoke(args, now); + } else { + lastArgs = args; + if (!timer) { + timer = setTimeout(() => { + timer = null; + invoke(lastArgs); + }, threshold - passed); + } + } + }; + + const flush = () => lastArgs && invoke(lastArgs); + + return [throttled, flush]; +} + +export default throttle; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/throttle.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/throttle.min.js new file mode 100644 index 0000000..498bfc8 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/throttle.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/throttle.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +function throttle(t,e){let l,n,o=0,u=1e3/e;const r=(e,u=Date.now())=>{o=u,l=null,n&&(clearTimeout(n),n=null),t(...e)};return[(...t)=>{const e=Date.now(),a=e-o;a>=u?r(t,e):(l=t,n||(n=setTimeout(()=>{n=null,r(l)},u-a)))},()=>l&&r(l)]}export default throttle; +//# sourceMappingURL=/sm/9213777ee35302c748829d5e324af211724253e110dc10b474630b09ae9cedbc.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.js new file mode 100644 index 0000000..335c1ad --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.js @@ -0,0 +1,285 @@ +'use strict'; + +import utils from '../utils.js'; +import AxiosError from '../core/AxiosError.js'; +// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored +import PlatformFormData from '../platform/node/classes/FormData.js'; + +// Default nesting limit shared with the inverse transform (formDataToJSON) so +// the FormData <-> JSON round-trip stays symmetric. +export const DEFAULT_FORM_DATA_MAX_DEPTH = 100; + +/** + * Determines if the given thing is a array or js object. + * + * @param {string} thing - The object or array to be visited. + * + * @returns {boolean} + */ +function isVisitable(thing) { + return utils.isPlainObject(thing) || utils.isArray(thing); +} + +/** + * It removes the brackets from the end of a string + * + * @param {string} key - The key of the parameter. + * + * @returns {string} the key without the brackets. + */ +function removeBrackets(key) { + return utils.endsWith(key, '[]') ? key.slice(0, -2) : key; +} + +/** + * It takes a path, a key, and a boolean, and returns a string + * + * @param {string} path - The path to the current key. + * @param {string} key - The key of the current object being iterated over. + * @param {string} dots - If true, the key will be rendered with dots instead of brackets. + * + * @returns {string} The path to the current key. + */ +function renderKey(path, key, dots) { + if (!path) return key; + return path + .concat(key) + .map(function each(token, i) { + // eslint-disable-next-line no-param-reassign + token = removeBrackets(token); + return !dots && i ? '[' + token + ']' : token; + }) + .join(dots ? '.' : ''); +} + +/** + * If the array is an array and none of its elements are visitable, then it's a flat array. + * + * @param {Array} arr - The array to check + * + * @returns {boolean} + */ +function isFlatArray(arr) { + return utils.isArray(arr) && !arr.some(isVisitable); +} + +const predicates = utils.toFlatObject(utils, {}, null, function filter(prop) { + return /^is[A-Z]/.test(prop); +}); + +/** + * Convert a data object to FormData + * + * @param {Object} obj + * @param {?Object} [formData] + * @param {?Object} [options] + * @param {Function} [options.visitor] + * @param {Boolean} [options.metaTokens = true] + * @param {Boolean} [options.dots = false] + * @param {?Boolean} [options.indexes = false] + * + * @returns {Object} + **/ + +/** + * It converts an object into a FormData object + * + * @param {Object} obj - The object to convert to form data. + * @param {string} formData - The FormData object to append to. + * @param {Object} options + * + * @returns + */ +function toFormData(obj, formData, options) { + if (!utils.isObject(obj)) { + throw new TypeError('target must be an object'); + } + + // eslint-disable-next-line no-param-reassign + formData = formData || new (PlatformFormData || FormData)(); + + // eslint-disable-next-line no-param-reassign + options = utils.toFlatObject( + options, + { + metaTokens: true, + dots: false, + indexes: false, + }, + false, + function defined(option, source) { + // eslint-disable-next-line no-eq-null,eqeqeq + return !utils.isUndefined(source[option]); + } + ); + + const metaTokens = options.metaTokens; + // eslint-disable-next-line no-use-before-define + const visitor = options.visitor || defaultVisitor; + const dots = options.dots; + const indexes = options.indexes; + const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob); + const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth; + const useBlob = _Blob && utils.isSpecCompliantForm(formData); + const stack = []; + + if (!utils.isFunction(visitor)) { + throw new TypeError('visitor must be a function'); + } + + function convertValue(value) { + if (value === null) return ''; + + if (utils.isDate(value)) { + return value.toISOString(); + } + + if (utils.isBoolean(value)) { + return value.toString(); + } + + if (!useBlob && utils.isBlob(value)) { + throw new AxiosError('Blob is not supported. Use a Buffer instead.'); + } + + if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) { + if (useBlob && typeof _Blob === 'function') { + return new _Blob([value]); + } + if (typeof Buffer !== 'undefined') { + return Buffer.from(value); + } + throw new AxiosError('Blob is not supported. Use a Buffer instead.', AxiosError.ERR_NOT_SUPPORT); + } + + return value; + } + + function throwIfMaxDepthExceeded(depth) { + if (depth > maxDepth) { + throw new AxiosError( + 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth, + AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED + ); + } + } + + function stringifyWithDepthLimit(value, depth) { + if (maxDepth === Infinity) { + return JSON.stringify(value); + } + + const ancestors = []; + + return JSON.stringify(value, function limitDepth(_key, currentValue) { + if (!utils.isObject(currentValue)) { + return currentValue; + } + + while (ancestors.length && ancestors[ancestors.length - 1] !== this) { + ancestors.pop(); + } + + ancestors.push(currentValue); + throwIfMaxDepthExceeded(depth + ancestors.length - 1); + + return currentValue; + }); + } + + /** + * Default visitor. + * + * @param {*} value + * @param {String|Number} key + * @param {Array} path + * @this {FormData} + * + * @returns {boolean} return true to visit the each prop of the value recursively + */ + function defaultVisitor(value, key, path) { + let arr = value; + + if (utils.isReactNative(formData) && utils.isReactNativeBlob(value)) { + formData.append(renderKey(path, key, dots), convertValue(value)); + return false; + } + + if (value && !path && typeof value === 'object') { + if (utils.endsWith(key, '{}')) { + // eslint-disable-next-line no-param-reassign + key = metaTokens ? key : key.slice(0, -2); + // eslint-disable-next-line no-param-reassign + value = stringifyWithDepthLimit(value, 1); + } else if ( + (utils.isArray(value) && isFlatArray(value)) || + ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))) + ) { + // eslint-disable-next-line no-param-reassign + key = removeBrackets(key); + + arr.forEach(function each(el, index) { + !(utils.isUndefined(el) || el === null) && + formData.append( + // eslint-disable-next-line no-nested-ternary + indexes === true + ? renderKey([key], index, dots) + : indexes === null + ? key + : key + '[]', + convertValue(el) + ); + }); + return false; + } + } + + if (isVisitable(value)) { + return true; + } + + formData.append(renderKey(path, key, dots), convertValue(value)); + + return false; + } + + const exposedHelpers = Object.assign(predicates, { + defaultVisitor, + convertValue, + isVisitable, + }); + + function build(value, path, depth = 0) { + if (utils.isUndefined(value)) return; + + throwIfMaxDepthExceeded(depth); + + if (stack.indexOf(value) !== -1) { + throw new Error('Circular reference detected in ' + path.join('.')); + } + + stack.push(value); + + utils.forEach(value, function each(el, key) { + const result = + !(utils.isUndefined(el) || el === null) && + visitor.call(formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers); + + if (result === true) { + build(el, path ? path.concat(key) : [key], depth + 1); + } + }); + + stack.pop(); + } + + if (!utils.isObject(obj)) { + throw new TypeError('data must be an object'); + } + + build(obj); + + return formData; +} + +export default toFormData; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.min.js new file mode 100644 index 0000000..3c694ff --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/toFormData.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"../utils.js";import AxiosError from"../core/AxiosError.js";import PlatformFormData from"../platform/node/classes/FormData.js";export const DEFAULT_FORM_DATA_MAX_DEPTH=100;function isVisitable(t){return utils.isPlainObject(t)||utils.isArray(t)}function removeBrackets(t){return utils.endsWith(t,"[]")?t.slice(0,-2):t}function renderKey(t,i,e){return t?t.concat(i).map(function(t,i){return t=removeBrackets(t),!e&&i?"["+t+"]":t}).join(e?".":""):i}function isFlatArray(t){return utils.isArray(t)&&!t.some(isVisitable)}const predicates=utils.toFlatObject(utils,{},null,function(t){return/^is[A-Z]/.test(t)});function toFormData(t,i,e){if(!utils.isObject(t))throw new TypeError("target must be an object");i=i||new(PlatformFormData||FormData);const r=(e=utils.toFlatObject(e,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,i){return!utils.isUndefined(i[t])})).metaTokens,n=e.visitor||p,s=e.dots,o=e.indexes,u=e.Blob||"undefined"!=typeof Blob&&Blob,l=void 0===e.maxDepth?100:e.maxDepth,a=u&&utils.isSpecCompliantForm(i),f=[];if(!utils.isFunction(n))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(utils.isDate(t))return t.toISOString();if(utils.isBoolean(t))return t.toString();if(!a&&utils.isBlob(t))throw new AxiosError("Blob is not supported. Use a Buffer instead.");if(utils.isArrayBuffer(t)||utils.isTypedArray(t)){if(a&&"function"==typeof u)return new u([t]);if("undefined"!=typeof Buffer)return Buffer.from(t);throw new AxiosError("Blob is not supported. Use a Buffer instead.",AxiosError.ERR_NOT_SUPPORT)}return t}function d(t){if(t>l)throw new AxiosError("Object is too deeply nested ("+t+" levels). Max depth: "+l,AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(t,e,n){let u=t;if(utils.isReactNative(i)&&utils.isReactNativeBlob(t))return i.append(renderKey(n,e,s),c(t)),!1;if(t&&!n&&"object"==typeof t)if(utils.endsWith(e,"{}"))e=r?e:e.slice(0,-2),t=function(t,i){if(l===1/0)return JSON.stringify(t);const e=[];return JSON.stringify(t,function(t,r){if(!utils.isObject(r))return r;for(;e.length&&e[e.length-1]!==this;)e.pop();return e.push(r),d(i+e.length-1),r})}(t,1);else if(utils.isArray(t)&&isFlatArray(t)||(utils.isFileList(t)||utils.endsWith(e,"[]"))&&(u=utils.toArray(t)))return e=removeBrackets(e),u.forEach(function(t,r){!utils.isUndefined(t)&&null!==t&&i.append(!0===o?renderKey([e],r,s):null===o?e:e+"[]",c(t))}),!1;return!!isVisitable(t)||(i.append(renderKey(n,e,s),c(t)),!1)}const m=Object.assign(predicates,{defaultVisitor:p,convertValue:c,isVisitable:isVisitable});if(!utils.isObject(t))throw new TypeError("data must be an object");return function t(e,r,s=0){if(!utils.isUndefined(e)){if(d(s),-1!==f.indexOf(e))throw new Error("Circular reference detected in "+r.join("."));f.push(e),utils.forEach(e,function(e,o){!0===(!(utils.isUndefined(e)||null===e)&&n.call(i,e,utils.isString(o)?o.trim():o,r,m))&&t(e,r?r.concat(o):[o],s+1)}),f.pop()}}(t),i}export default toFormData; +//# sourceMappingURL=/sm/e525e798b67234517c6b560d33c8e0a6b9b8dcf5277b309145aafa08e1722a1b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.js new file mode 100644 index 0000000..749e13a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.js @@ -0,0 +1,19 @@ +'use strict'; + +import utils from '../utils.js'; +import toFormData from './toFormData.js'; +import platform from '../platform/index.js'; + +export default function toURLEncodedForm(data, options) { + return toFormData(data, new platform.classes.URLSearchParams(), { + visitor: function (value, key, path, helpers) { + if (platform.isNode && utils.isBuffer(value)) { + this.append(key, value.toString('base64')); + return false; + } + + return helpers.defaultVisitor.apply(this, arguments); + }, + ...options, + }); +} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.min.js new file mode 100644 index 0000000..5a3d2ee --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/toURLEncodedForm.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import utils from"../utils.js";import toFormData from"./toFormData.js";import platform from"../platform/index.js";export default function toURLEncodedForm(t,o){return toFormData(t,new platform.classes.URLSearchParams,{visitor:function(t,o,r,a){return platform.isNode&&utils.isBuffer(t)?(this.append(o,t.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...o})} +//# sourceMappingURL=/sm/35a5fa575ace0620b12eae8a80bdc52cf1528bcd1647a034f90429747278bb45.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.js new file mode 100644 index 0000000..c75eace --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.js @@ -0,0 +1,89 @@ +export const streamChunk = function* (chunk, chunkSize) { + let len = chunk.byteLength; + + if (!chunkSize || len < chunkSize) { + yield chunk; + return; + } + + let pos = 0; + let end; + + while (pos < len) { + end = pos + chunkSize; + yield chunk.slice(pos, end); + pos = end; + } +}; + +export const readBytes = async function* (iterable, chunkSize) { + for await (const chunk of readStream(iterable)) { + yield* streamChunk(chunk, chunkSize); + } +}; + +const readStream = async function* (stream) { + if (stream[Symbol.asyncIterator]) { + yield* stream; + return; + } + + const reader = stream.getReader(); + try { + for (;;) { + const { done, value } = await reader.read(); + if (done) { + break; + } + yield value; + } + } finally { + await reader.cancel(); + } +}; + +export const trackStream = (stream, chunkSize, onProgress, onFinish) => { + const iterator = readBytes(stream, chunkSize); + + let bytes = 0; + let done; + let _onFinish = (e) => { + if (!done) { + done = true; + onFinish && onFinish(e); + } + }; + + return new ReadableStream( + { + async pull(controller) { + try { + const { done, value } = await iterator.next(); + + if (done) { + _onFinish(); + controller.close(); + return; + } + + let len = value.byteLength; + if (onProgress) { + let loadedBytes = (bytes += len); + onProgress(loadedBytes); + } + controller.enqueue(new Uint8Array(value)); + } catch (err) { + _onFinish(err); + throw err; + } + }, + cancel(reason) { + _onFinish(reason); + return iterator.return(); + }, + }, + { + highWaterMark: 2, + } + ); +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.min.js new file mode 100644 index 0000000..38bcc34 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/trackStream.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +export const streamChunk=function*(e,t){let r=e.byteLength;if(!t||r{const n=readBytes(e,t);let o,c=0,i=e=>{o||(o=!0,a&&a(e))};return new ReadableStream({async pull(e){try{const{done:t,value:a}=await n.next();if(t)return i(),void e.close();let o=a.byteLength;if(r){let e=c+=o;r(e)}e.enqueue(new Uint8Array(a))}catch(e){throw i(e),e}},cancel:e=>(i(e),n.return())},{highWaterMark:2})}; +//# sourceMappingURL=/sm/f71c6a409830f72a6282a360b0badc6f0a23e9419341236dbd9995f26f874083.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.js new file mode 100644 index 0000000..a152c8c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.js @@ -0,0 +1,112 @@ +'use strict'; + +import { VERSION } from '../env/data.js'; +import AxiosError from '../core/AxiosError.js'; + +const validators = {}; + +// eslint-disable-next-line func-names +['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => { + validators[type] = function validator(thing) { + return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type; + }; +}); + +const deprecatedWarnings = {}; + +/** + * Transitional option validator + * + * @param {function|boolean?} validator - set to false if the transitional option has been removed + * @param {string?} version - deprecated version / removed since version + * @param {string?} message - some message with additional info + * + * @returns {function} + */ +validators.transitional = function transitional(validator, version, message) { + function formatMessage(opt, desc) { + return ( + '[Axios v' + + VERSION + + "] Transitional option '" + + opt + + "'" + + desc + + (message ? '. ' + message : '') + ); + } + + // eslint-disable-next-line func-names + return (value, opt, opts) => { + if (validator === false) { + throw new AxiosError( + formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), + AxiosError.ERR_DEPRECATED + ); + } + + if (version && !deprecatedWarnings[opt]) { + deprecatedWarnings[opt] = true; + // eslint-disable-next-line no-console + console.warn( + formatMessage( + opt, + ' has been deprecated since v' + version + ' and will be removed in the near future' + ) + ); + } + + return validator ? validator(value, opt, opts) : true; + }; +}; + +validators.spelling = function spelling(correctSpelling) { + return (value, opt) => { + // eslint-disable-next-line no-console + console.warn(`${opt} is likely a misspelling of ${correctSpelling}`); + return true; + }; +}; + +/** + * Assert object's properties type + * + * @param {object} options + * @param {object} schema + * @param {boolean?} allowUnknown + * + * @returns {object} + */ + +function assertOptions(options, schema, allowUnknown) { + if (typeof options !== 'object' || options === null) { + throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE); + } + const keys = Object.keys(options); + let i = keys.length; + while (i-- > 0) { + const opt = keys[i]; + // Use hasOwnProperty so a polluted Object.prototype. cannot supply + // a non-function validator and cause a TypeError. + const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined; + if (validator) { + const value = options[opt]; + const result = value === undefined || validator(value, opt, options); + if (result !== true) { + throw new AxiosError( + 'option ' + opt + ' must be ' + result, + AxiosError.ERR_BAD_OPTION_VALUE + ); + } + continue; + } + if (allowUnknown !== true) { + throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION); + } + } +} + +export default { + assertOptions, + validators, +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.min.js new file mode 100644 index 0000000..143fce1 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/helpers/validator.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import{VERSION}from"../env/data.js";import AxiosError from"../core/AxiosError.js";const validators={};["object","boolean","number","function","string","symbol"].forEach((o,r)=>{validators[o]=function(n){return typeof n===o||"a"+(r<1?"n ":" ")+o}});const deprecatedWarnings={};function assertOptions(o,r,n){if("object"!=typeof o||null===o)throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const t=Object.keys(o);let e=t.length;for(;e-- >0;){const i=t[e],s=Object.prototype.hasOwnProperty.call(r,i)?r[i]:void 0;if(s){const r=o[i],n=void 0===r||s(r,i,o);if(!0!==n)throw new AxiosError("option "+i+" must be "+n,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new AxiosError("Unknown option "+i,AxiosError.ERR_BAD_OPTION)}}validators.transitional=function(o,r,n){function t(o,r){return"[Axios v"+VERSION+"] Transitional option '"+o+"'"+r+(n?". "+n:"")}return(n,e,i)=>{if(!1===o)throw new AxiosError(t(e," has been removed"+(r?" in "+r:"")),AxiosError.ERR_DEPRECATED);return r&&!deprecatedWarnings[e]&&(deprecatedWarnings[e]=!0,console.warn(t(e," has been deprecated since v"+r+" and will be removed in the near future"))),!o||o(n,e,i)}},validators.spelling=function(o){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${o}`),!0)};export default{assertOptions:assertOptions,validators:validators}; +//# sourceMappingURL=/sm/25b4c55581d6bfc8e62a0bdd434842c3d723efbcb5510f023c0f88a9b4b8390d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.js new file mode 100644 index 0000000..9ec4af8 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.js @@ -0,0 +1,3 @@ +'use strict'; + +export default typeof Blob !== 'undefined' ? Blob : null; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.min.js new file mode 100644 index 0000000..328ba49 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/platform/browser/classes/Blob.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";export default"undefined"!=typeof Blob?Blob:null; +//# sourceMappingURL=/sm/cb46cd0d2bb1bf87760f3dd22d27ef8eea87b415915dbfbd659fa4c502f11932.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.js new file mode 100644 index 0000000..f36d31b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.js @@ -0,0 +1,3 @@ +'use strict'; + +export default typeof FormData !== 'undefined' ? FormData : null; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.min.js new file mode 100644 index 0000000..1687392 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/platform/browser/classes/FormData.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";export default"undefined"!=typeof FormData?FormData:null; +//# sourceMappingURL=/sm/5b2ed6a8f36101250fa65cdfe5b1d7eff5d3c9c68c6c7bb42ce8bc4691e8e754.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js new file mode 100644 index 0000000..b7dae95 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js @@ -0,0 +1,4 @@ +'use strict'; + +import AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js'; +export default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.min.js new file mode 100644 index 0000000..d4253b2 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/platform/browser/classes/URLSearchParams.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import AxiosURLSearchParams from"../../../helpers/AxiosURLSearchParams.js";export default"undefined"!=typeof URLSearchParams?URLSearchParams:AxiosURLSearchParams; +//# sourceMappingURL=/sm/215583ed3e153d228e8d5becdbb2c4a7771574b6833bca29a043051d58477ed7.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.js new file mode 100644 index 0000000..8e5f99c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.js @@ -0,0 +1,13 @@ +import URLSearchParams from './classes/URLSearchParams.js'; +import FormData from './classes/FormData.js'; +import Blob from './classes/Blob.js'; + +export default { + isBrowser: true, + classes: { + URLSearchParams, + FormData, + Blob, + }, + protocols: ['http', 'https', 'file', 'blob', 'url', 'data'], +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.min.js new file mode 100644 index 0000000..9b8f28a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/platform/browser/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import URLSearchParams from"./classes/URLSearchParams.js";import FormData from"./classes/FormData.js";import Blob from"./classes/Blob.js";export default{isBrowser:!0,classes:{URLSearchParams:URLSearchParams,FormData:FormData,Blob:Blob},protocols:["http","https","file","blob","url","data"]}; +//# sourceMappingURL=/sm/a83c19faec30e78538cc5a5a4b5ead0dd9e9bb7eba470d6ea1751f44ec03ec6a.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.js new file mode 100644 index 0000000..e4dfe46 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.js @@ -0,0 +1,52 @@ +const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined'; + +const _navigator = (typeof navigator === 'object' && navigator) || undefined; + +/** + * Determine if we're running in a standard browser environment + * + * This allows axios to run in a web worker, and react-native. + * Both environments support XMLHttpRequest, but not fully standard globals. + * + * web workers: + * typeof window -> undefined + * typeof document -> undefined + * + * react-native: + * navigator.product -> 'ReactNative' + * nativescript + * navigator.product -> 'NativeScript' or 'NS' + * + * @returns {boolean} + */ +const hasStandardBrowserEnv = + hasBrowserEnv && + (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0); + +/** + * Determine if we're running in a standard browser webWorker environment + * + * Although the `isStandardBrowserEnv` method indicates that + * `allows axios to run in a web worker`, the WebWorker will still be + * filtered out due to its judgment standard + * `typeof window !== 'undefined' && typeof document !== 'undefined'`. + * This leads to a problem when axios post `FormData` in webWorker + */ +const hasStandardBrowserWebWorkerEnv = (() => { + return ( + typeof WorkerGlobalScope !== 'undefined' && + // eslint-disable-next-line no-undef + self instanceof WorkerGlobalScope && + typeof self.importScripts === 'function' + ); +})(); + +const origin = (hasBrowserEnv && window.location.href) || 'http://localhost'; + +export { + hasBrowserEnv, + hasStandardBrowserWebWorkerEnv, + hasStandardBrowserEnv, + _navigator as navigator, + origin, +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.min.js new file mode 100644 index 0000000..75246e7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/platform/common/utils.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +const hasBrowserEnv="undefined"!=typeof window&&"undefined"!=typeof document,_navigator="object"==typeof navigator&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,origin=hasBrowserEnv&&window.location.href||"http://localhost";export{hasBrowserEnv,hasStandardBrowserWebWorkerEnv,hasStandardBrowserEnv,_navigator as navigator,origin}; +//# sourceMappingURL=/sm/dda767b95a93676c22996836596e33a93f199899d1219bf80e2d44ad261010d2.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.js new file mode 100644 index 0000000..e1094ab --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.js @@ -0,0 +1,7 @@ +import platform from './node/index.js'; +import * as utils from './common/utils.js'; + +export default { + ...utils, + ...platform, +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.min.js new file mode 100644 index 0000000..8435916 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/platform/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import platform from"./node/index.js";import*as utils from"./common/utils.js";export default{...utils,...platform}; +//# sourceMappingURL=/sm/2dd0a605ef104714b8ee94d01bf098431bacc57f188c5e8d0abb9180169313d2.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.js new file mode 100644 index 0000000..b07f947 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.js @@ -0,0 +1,3 @@ +import FormData from 'form-data'; + +export default FormData; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.min.js new file mode 100644 index 0000000..3e7d511 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/platform/node/classes/FormData.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import FormData from"form-data";export default FormData; +//# sourceMappingURL=/sm/5317ace7efe1eae23d1269a0622e55aaa5e54958e61163fac5b9222f1904cd72.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.js new file mode 100644 index 0000000..fba5842 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.js @@ -0,0 +1,4 @@ +'use strict'; + +import url from 'url'; +export default url.URLSearchParams; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.min.js new file mode 100644 index 0000000..ef928a6 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/platform/node/classes/URLSearchParams.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import url from"url";export default url.URLSearchParams; +//# sourceMappingURL=/sm/2d94d4a8baeb2e0aabbd1cab17309e07b5b15db2fa124598ec4bf5881c2b680e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.js new file mode 100644 index 0000000..9979a71 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.js @@ -0,0 +1,37 @@ +import crypto from 'crypto'; +import URLSearchParams from './classes/URLSearchParams.js'; +import FormData from './classes/FormData.js'; + +const ALPHA = 'abcdefghijklmnopqrstuvwxyz'; + +const DIGIT = '0123456789'; + +const ALPHABET = { + DIGIT, + ALPHA, + ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT, +}; + +const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => { + let str = ''; + const { length } = alphabet; + const randomValues = new Uint32Array(size); + crypto.randomFillSync(randomValues); + for (let i = 0; i < size; i++) { + str += alphabet[randomValues[i] % length]; + } + + return str; +}; + +export default { + isNode: true, + classes: { + URLSearchParams, + FormData, + Blob: (typeof Blob !== 'undefined' && Blob) || null, + }, + ALPHABET, + generateString, + protocols: ['http', 'https', 'file', 'data'], +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.min.js new file mode 100644 index 0000000..c41dbad --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/platform/node/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import crypto from"crypto";import URLSearchParams from"./classes/URLSearchParams.js";import FormData from"./classes/FormData.js";const ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT:DIGIT,ALPHA:ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(r=16,t=ALPHABET.ALPHA_DIGIT)=>{let a="";const{length:e}=t,o=new Uint32Array(r);crypto.randomFillSync(o);for(let A=0;A + (obj, prop) => + hasOwnProperty.call(obj, prop) +)(Object.prototype); + +/** + * Walk the prototype chain (excluding the shared Object.prototype) looking for + * an own `prop`. This distinguishes genuine own/inherited members — including + * class accessors and template prototypes — from members injected via + * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which + * live on Object.prototype itself and are therefore never matched. + * + * @param {*} thing The value whose chain to inspect + * @param {string|symbol} prop The property key to look for + * + * @returns {boolean} True when `prop` is owned below Object.prototype + */ +const hasOwnInPrototypeChain = (thing, prop) => { + let obj = thing; + const seen = []; + + while (obj != null && obj !== Object.prototype) { + if (seen.indexOf(obj) !== -1) { + return false; + } + seen.push(obj); + + if (hasOwnProperty(obj, prop)) { + return true; + } + obj = getPrototypeOf(obj); + } + return false; +}; + +/** + * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own + * properties and members inherited from a non-Object.prototype source (a class + * instance or template object) are honored; a value reachable only through a + * polluted Object.prototype is ignored and `undefined` is returned. + * + * @param {*} obj The source object + * @param {string|symbol} prop The property key to read + * + * @returns {*} The resolved value, or undefined when unsafe/absent + */ +const getSafeProp = (obj, prop) => + obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined; + +const kindOf = ((cache) => (thing) => { + const str = toString.call(thing); + return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase()); +})(Object.create(null)); + +const kindOfTest = (type) => { + type = type.toLowerCase(); + return (thing) => kindOf(thing) === type; +}; + +const typeOfTest = (type) => (thing) => typeof thing === type; + +/** + * Determine if a value is a non-null object + * + * @param {Object} val The value to test + * + * @returns {boolean} True if value is an Array, otherwise false + */ +const { isArray } = Array; + +/** + * Determine if a value is undefined + * + * @param {*} val The value to test + * + * @returns {boolean} True if the value is undefined, otherwise false + */ +const isUndefined = typeOfTest('undefined'); + +/** + * Determine if a value is a Buffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Buffer, otherwise false + */ +function isBuffer(val) { + return ( + val !== null && + !isUndefined(val) && + val.constructor !== null && + !isUndefined(val.constructor) && + isFunction(val.constructor.isBuffer) && + val.constructor.isBuffer(val) + ); +} + +/** + * Determine if a value is an ArrayBuffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is an ArrayBuffer, otherwise false + */ +const isArrayBuffer = kindOfTest('ArrayBuffer'); + +/** + * Determine if a value is a view on an ArrayBuffer + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false + */ +function isArrayBufferView(val) { + let result; + if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) { + result = ArrayBuffer.isView(val); + } else { + result = val && val.buffer && isArrayBuffer(val.buffer); + } + return result; +} + +/** + * Determine if a value is a String + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a String, otherwise false + */ +const isString = typeOfTest('string'); + +/** + * Determine if a value is a Function + * + * @param {*} val The value to test + * @returns {boolean} True if value is a Function, otherwise false + */ +const isFunction = typeOfTest('function'); + +/** + * Determine if a value is a Number + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Number, otherwise false + */ +const isNumber = typeOfTest('number'); + +/** + * Determine if a value is an Object + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value is an Object, otherwise false + */ +const isObject = (thing) => thing !== null && typeof thing === 'object'; + +/** + * Determine if a value is a Boolean + * + * @param {*} thing The value to test + * @returns {boolean} True if value is a Boolean, otherwise false + */ +const isBoolean = (thing) => thing === true || thing === false; + +/** + * Determine if a value is a plain Object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a plain Object, otherwise false + */ +const isPlainObject = (val) => { + if (!isObject(val)) { + return false; + } + + const prototype = getPrototypeOf(val); + return ( + (prototype === null || + prototype === Object.prototype || + getPrototypeOf(prototype) === null) && + // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or + // Symbol.iterator as evidence the value is a tagged/iterable type rather + // than a plain object, while ignoring keys injected onto Object.prototype. + !hasOwnInPrototypeChain(val, toStringTag) && + !hasOwnInPrototypeChain(val, iterator) + ); +}; + +/** + * Determine if a value is an empty object (safely handles Buffers) + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is an empty object, otherwise false + */ +const isEmptyObject = (val) => { + // Early return for non-objects or Buffers to prevent RangeError + if (!isObject(val) || isBuffer(val)) { + return false; + } + + try { + return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype; + } catch (e) { + // Fallback for any other objects that might cause RangeError with Object.keys() + return false; + } +}; + +/** + * Determine if a value is a Date + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Date, otherwise false + */ +const isDate = kindOfTest('Date'); + +/** + * Determine if a value is a File + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a File, otherwise false + */ +const isFile = kindOfTest('File'); + +/** + * Determine if a value is a React Native Blob + * React Native "blob": an object with a `uri` attribute. Optionally, it can + * also have a `name` and `type` attribute to specify filename and content type + * + * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71 + * + * @param {*} value The value to test + * + * @returns {boolean} True if value is a React Native Blob, otherwise false + */ +const isReactNativeBlob = (value) => { + return !!(value && typeof value.uri !== 'undefined'); +}; + +/** + * Determine if environment is React Native + * ReactNative `FormData` has a non-standard `getParts()` method + * + * @param {*} formData The formData to test + * + * @returns {boolean} True if environment is React Native, otherwise false + */ +const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined'; + +/** + * Determine if a value is a Blob + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Blob, otherwise false + */ +const isBlob = kindOfTest('Blob'); + +/** + * Determine if a value is a FileList + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a FileList, otherwise false + */ +const isFileList = kindOfTest('FileList'); + +/** + * Determine if a value is a Stream + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a Stream, otherwise false + */ +const isStream = (val) => isObject(val) && isFunction(val.pipe); + +/** + * Determine if a value is a FormData + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value is an FormData, otherwise false + */ +function getGlobal() { + if (typeof globalThis !== 'undefined') return globalThis; + if (typeof self !== 'undefined') return self; + if (typeof window !== 'undefined') return window; + if (typeof global !== 'undefined') return global; + return {}; +} + +const G = getGlobal(); +const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined; + +const isFormData = (thing) => { + if (!thing) return false; + if (FormDataCtor && thing instanceof FormDataCtor) return true; + // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData. + const proto = getPrototypeOf(thing); + if (!proto || proto === Object.prototype) return false; + if (!isFunction(thing.append)) return false; + const kind = kindOf(thing); + return ( + kind === 'formdata' || + // detect form-data instance + (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]') + ); +}; + +/** + * Determine if a value is a URLSearchParams object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a URLSearchParams object, otherwise false + */ +const isURLSearchParams = kindOfTest('URLSearchParams'); + +const [isReadableStream, isRequest, isResponse, isHeaders] = [ + 'ReadableStream', + 'Request', + 'Response', + 'Headers', +].map(kindOfTest); + +/** + * Trim excess whitespace off the beginning and end of a string + * + * @param {String} str The String to trim + * + * @returns {String} The String freed of excess whitespace + */ +const trim = (str) => { + return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); +}; +/** + * Iterate over an Array or an Object invoking a function for each item. + * + * If `obj` is an Array callback will be called passing + * the value, index, and complete array for each item. + * + * If 'obj' is an Object callback will be called passing + * the value, key, and complete object for each property. + * + * @param {Object|Array} obj The object to iterate + * @param {Function} fn The callback to invoke for each item + * + * @param {Object} [options] + * @param {Boolean} [options.allOwnKeys = false] + * @returns {any} + */ +function forEach(obj, fn, { allOwnKeys = false } = {}) { + // Don't bother if no value provided + if (obj === null || typeof obj === 'undefined') { + return; + } + + let i; + let l; + + // Force an array if not already something iterable + if (typeof obj !== 'object') { + /*eslint no-param-reassign:0*/ + obj = [obj]; + } + + if (isArray(obj)) { + // Iterate over array values + for (i = 0, l = obj.length; i < l; i++) { + fn.call(null, obj[i], i, obj); + } + } else { + // Buffer check + if (isBuffer(obj)) { + return; + } + + // Iterate over object keys + const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj); + const len = keys.length; + let key; + + for (i = 0; i < len; i++) { + key = keys[i]; + fn.call(null, obj[key], key, obj); + } + } +} + +/** + * Finds a key in an object, case-insensitive, returning the actual key name. + * Returns null if the object is a Buffer or if no match is found. + * + * @param {Object} obj - The object to search. + * @param {string} key - The key to find (case-insensitive). + * @returns {?string} The actual key name if found, otherwise null. + */ +function findKey(obj, key) { + if (isBuffer(obj)) { + return null; + } + + key = key.toLowerCase(); + const keys = Object.keys(obj); + let i = keys.length; + let _key; + while (i-- > 0) { + _key = keys[i]; + if (key === _key.toLowerCase()) { + return _key; + } + } + return null; +} + +const _global = (() => { + /*eslint no-undef:0*/ + if (typeof globalThis !== 'undefined') return globalThis; + return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global; +})(); + +const isContextDefined = (context) => !isUndefined(context) && context !== _global; + +/** + * Accepts varargs expecting each argument to be an object, then + * immutably merges the properties of each object and returns result. + * + * When multiple objects contain the same key the later object in + * the arguments list will take precedence. + * + * Example: + * + * ```js + * const result = merge({foo: 123}, {foo: 456}); + * console.log(result.foo); // outputs 456 + * ``` + * + * @param {Object} obj1 Object to merge + * + * @returns {Object} Result of all merge properties + */ +function merge(...objs) { + const { caseless, skipUndefined } = (isContextDefined(this) && this) || {}; + const result = {}; + const assignValue = (val, key) => { + // Skip dangerous property names to prevent prototype pollution + if (key === '__proto__' || key === 'constructor' || key === 'prototype') { + return; + } + + // findKey lowercases the key, so caseless lookup only applies to strings — + // symbol keys are identity-matched. + const targetKey = (caseless && typeof key === 'string' && findKey(result, key)) || key; + // Read via own-prop only — a bare `result[targetKey]` walks the prototype + // chain, so a polluted Object.prototype value could surface here and get + // copied into the merged result. + const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined; + if (isPlainObject(existing) && isPlainObject(val)) { + result[targetKey] = merge(existing, val); + } else if (isPlainObject(val)) { + result[targetKey] = merge({}, val); + } else if (isArray(val)) { + result[targetKey] = val.slice(); + } else if (!skipUndefined || !isUndefined(val)) { + result[targetKey] = val; + } + }; + + for (let i = 0, l = objs.length; i < l; i++) { + const source = objs[i]; + if (!source || isBuffer(source)) { + continue; + } + + forEach(source, assignValue); + + if (typeof source !== 'object' || isArray(source)) { + continue; + } + + const symbols = Object.getOwnPropertySymbols(source); + for (let j = 0; j < symbols.length; j++) { + const symbol = symbols[j]; + if (propertyIsEnumerable.call(source, symbol)) { + assignValue(source[symbol], symbol); + } + } + } + return result; +} + +/** + * Extends object a by mutably adding to it the properties of object b. + * + * @param {Object} a The object to be extended + * @param {Object} b The object to copy properties from + * @param {Object} thisArg The object to bind function to + * + * @param {Object} [options] + * @param {Boolean} [options.allOwnKeys] + * @returns {Object} The resulting value of object a + */ +const extend = (a, b, thisArg, { allOwnKeys } = {}) => { + forEach( + b, + (val, key) => { + if (thisArg && isFunction(val)) { + Object.defineProperty(a, key, { + // Null-proto descriptor so a polluted Object.prototype.get cannot + // hijack defineProperty's accessor-vs-data resolution. + __proto__: null, + value: bind(val, thisArg), + writable: true, + enumerable: true, + configurable: true, + }); + } else { + Object.defineProperty(a, key, { + __proto__: null, + value: val, + writable: true, + enumerable: true, + configurable: true, + }); + } + }, + { allOwnKeys } + ); + return a; +}; + +/** + * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) + * + * @param {string} content with BOM + * + * @returns {string} content value without BOM + */ +const stripBOM = (content) => { + if (content.charCodeAt(0) === 0xfeff) { + content = content.slice(1); + } + return content; +}; + +/** + * Inherit the prototype methods from one constructor into another + * @param {function} constructor + * @param {function} superConstructor + * @param {object} [props] + * @param {object} [descriptors] + * + * @returns {void} + */ +const inherits = (constructor, superConstructor, props, descriptors) => { + constructor.prototype = Object.create(superConstructor.prototype, descriptors); + Object.defineProperty(constructor.prototype, 'constructor', { + __proto__: null, + value: constructor, + writable: true, + enumerable: false, + configurable: true, + }); + Object.defineProperty(constructor, 'super', { + __proto__: null, + value: superConstructor.prototype, + }); + props && Object.assign(constructor.prototype, props); +}; + +/** + * Resolve object with deep prototype chain to a flat object + * @param {Object} sourceObj source object + * @param {Object} [destObj] + * @param {Function|Boolean} [filter] + * @param {Function} [propFilter] + * + * @returns {Object} + */ +const toFlatObject = (sourceObj, destObj, filter, propFilter) => { + let props; + let i; + let prop; + const merged = {}; + + destObj = destObj || {}; + // eslint-disable-next-line no-eq-null,eqeqeq + if (sourceObj == null) return destObj; + + do { + props = Object.getOwnPropertyNames(sourceObj); + i = props.length; + while (i-- > 0) { + prop = props[i]; + if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) { + destObj[prop] = sourceObj[prop]; + merged[prop] = true; + } + } + sourceObj = filter !== false && getPrototypeOf(sourceObj); + } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype); + + return destObj; +}; + +/** + * Determines whether a string ends with the characters of a specified string + * + * @param {String} str + * @param {String} searchString + * @param {Number} [position= 0] + * + * @returns {boolean} + */ +const endsWith = (str, searchString, position) => { + str = String(str); + if (position === undefined || position > str.length) { + position = str.length; + } + position -= searchString.length; + const lastIndex = str.indexOf(searchString, position); + return lastIndex !== -1 && lastIndex === position; +}; + +/** + * Returns new array from array like object or null if failed + * + * @param {*} [thing] + * + * @returns {?Array} + */ +const toArray = (thing) => { + if (!thing) return null; + if (isArray(thing)) return thing; + let i = thing.length; + if (!isNumber(i)) return null; + const arr = new Array(i); + while (i-- > 0) { + arr[i] = thing[i]; + } + return arr; +}; + +/** + * Checking if the Uint8Array exists and if it does, it returns a function that checks if the + * thing passed in is an instance of Uint8Array + * + * @param {TypedArray} + * + * @returns {Array} + */ +// eslint-disable-next-line func-names +const isTypedArray = ((TypedArray) => { + // eslint-disable-next-line func-names + return (thing) => { + return TypedArray && thing instanceof TypedArray; + }; +})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array)); + +/** + * For each entry in the object, call the function with the key and value. + * + * @param {Object} obj - The object to iterate over. + * @param {Function} fn - The function to call for each entry. + * + * @returns {void} + */ +const forEachEntry = (obj, fn) => { + const generator = obj && obj[iterator]; + + const _iterator = generator.call(obj); + + let result; + + while ((result = _iterator.next()) && !result.done) { + const pair = result.value; + fn.call(obj, pair[0], pair[1]); + } +}; + +/** + * It takes a regular expression and a string, and returns an array of all the matches + * + * @param {string} regExp - The regular expression to match against. + * @param {string} str - The string to search. + * + * @returns {Array} + */ +const matchAll = (regExp, str) => { + let matches; + const arr = []; + + while ((matches = regExp.exec(str)) !== null) { + arr.push(matches); + } + + return arr; +}; + +/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */ +const isHTMLForm = kindOfTest('HTMLFormElement'); + +const toCamelCase = (str) => { + return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) { + return p1.toUpperCase() + p2; + }); +}; + +const { propertyIsEnumerable } = Object.prototype; + +/** + * Determine if a value is a RegExp object + * + * @param {*} val The value to test + * + * @returns {boolean} True if value is a RegExp object, otherwise false + */ +const isRegExp = kindOfTest('RegExp'); + +const reduceDescriptors = (obj, reducer) => { + const descriptors = Object.getOwnPropertyDescriptors(obj); + const reducedDescriptors = {}; + + forEach(descriptors, (descriptor, name) => { + let ret; + if ((ret = reducer(descriptor, name, obj)) !== false) { + reducedDescriptors[name] = ret || descriptor; + } + }); + + Object.defineProperties(obj, reducedDescriptors); +}; + +/** + * Makes all methods read-only + * @param {Object} obj + */ + +const freezeMethods = (obj) => { + reduceDescriptors(obj, (descriptor, name) => { + // skip restricted props in strict mode + if (isFunction(obj) && ['arguments', 'caller', 'callee'].includes(name)) { + return false; + } + + const value = obj[name]; + + if (!isFunction(value)) return; + + descriptor.enumerable = false; + + if ('writable' in descriptor) { + descriptor.writable = false; + return; + } + + if (!descriptor.set) { + descriptor.set = () => { + throw Error("Can not rewrite read-only method '" + name + "'"); + }; + } + }); +}; + +/** + * Converts an array or a delimited string into an object set with values as keys and true as values. + * Useful for fast membership checks. + * + * @param {Array|string} arrayOrString - The array or string to convert. + * @param {string} delimiter - The delimiter to use if input is a string. + * @returns {Object} An object with keys from the array or string, values set to true. + */ +const toObjectSet = (arrayOrString, delimiter) => { + const obj = {}; + + const define = (arr) => { + arr.forEach((value) => { + obj[value] = true; + }); + }; + + isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter)); + + return obj; +}; + +const noop = () => {}; + +const toFiniteNumber = (value, defaultValue) => { + return value != null && Number.isFinite((value = +value)) ? value : defaultValue; +}; + +/** + * If the thing is a FormData object, return true, otherwise return false. + * + * @param {unknown} thing - The thing to check. + * + * @returns {boolean} + */ +function isSpecCompliantForm(thing) { + return !!( + thing && + isFunction(thing.append) && + thing[toStringTag] === 'FormData' && + thing[iterator] + ); +} + +/** + * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers. + * + * @param {Object} obj - The object to convert. + * @returns {Object} The JSON-compatible object. + */ +const toJSONObject = (obj) => { + const visited = new WeakSet(); + + const visit = (source) => { + if (isObject(source)) { + if (visited.has(source)) { + return; + } + + //Buffer check + if (isBuffer(source)) { + return source; + } + + if (!('toJSON' in source)) { + // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230). + visited.add(source); + const target = isArray(source) ? [] : {}; + + forEach(source, (value, key) => { + const reducedValue = visit(value); + !isUndefined(reducedValue) && (target[key] = reducedValue); + }); + + visited.delete(source); + + return target; + } + } + + return source; + }; + + return visit(obj); +}; + +/** + * Determines if a value is an async function. + * + * @param {*} thing - The value to test. + * @returns {boolean} True if value is an async function, otherwise false. + */ +const isAsyncFn = kindOfTest('AsyncFunction'); + +/** + * Determines if a value is thenable (has then and catch methods). + * + * @param {*} thing - The value to test. + * @returns {boolean} True if value is thenable, otherwise false. + */ +const isThenable = (thing) => + thing && + (isObject(thing) || isFunction(thing)) && + isFunction(thing.then) && + isFunction(thing.catch); + +// original code +// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34 + +/** + * Provides a cross-platform setImmediate implementation. + * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout. + * + * @param {boolean} setImmediateSupported - Whether setImmediate is supported. + * @param {boolean} postMessageSupported - Whether postMessage is supported. + * @returns {Function} A function to schedule a callback asynchronously. + */ +const _setImmediate = ((setImmediateSupported, postMessageSupported) => { + if (setImmediateSupported) { + return setImmediate; + } + + return postMessageSupported + ? ((token, callbacks) => { + _global.addEventListener( + 'message', + ({ source, data }) => { + if (source === _global && data === token) { + callbacks.length && callbacks.shift()(); + } + }, + false + ); + + return (cb) => { + callbacks.push(cb); + _global.postMessage(token, '*'); + }; + })(`axios@${Math.random()}`, []) + : (cb) => setTimeout(cb); +})(typeof setImmediate === 'function', isFunction(_global.postMessage)); + +/** + * Schedules a microtask or asynchronous callback as soon as possible. + * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate. + * + * @type {Function} + */ +const asap = + typeof queueMicrotask !== 'undefined' + ? queueMicrotask.bind(_global) + : (typeof process !== 'undefined' && process.nextTick) || _setImmediate; + +// ********************* + +const isIterable = (thing) => thing != null && isFunction(thing[iterator]); + +/** + * Determine if a value is iterable via an iterator that is NOT sourced solely + * from a polluted Object.prototype. Use this instead of `isIterable` whenever + * the iterable comes from untrusted input (e.g. user-supplied header sources), + * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object + * into an attacker-controlled entries iterator. + * + * @param {*} thing The value to test + * + * @returns {boolean} True if value has a non-polluted iterator + */ +const isSafeIterable = (thing) => + thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing); + +export default { + isArray, + isArrayBuffer, + isBuffer, + isFormData, + isArrayBufferView, + isString, + isNumber, + isBoolean, + isObject, + isPlainObject, + isEmptyObject, + isReadableStream, + isRequest, + isResponse, + isHeaders, + isUndefined, + isDate, + isFile, + isReactNativeBlob, + isReactNative, + isBlob, + isRegExp, + isFunction, + isStream, + isURLSearchParams, + isTypedArray, + isFileList, + forEach, + merge, + extend, + trim, + stripBOM, + inherits, + toFlatObject, + kindOf, + kindOfTest, + endsWith, + toArray, + forEachEntry, + matchAll, + isHTMLForm, + hasOwnProperty, + hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection + hasOwnInPrototypeChain, + getSafeProp, + reduceDescriptors, + freezeMethods, + toObjectSet, + toCamelCase, + noop, + toFiniteNumber, + findKey, + global: _global, + isContextDefined, + isSpecCompliantForm, + toJSONObject, + isAsyncFn, + isThenable, + setImmediate: _setImmediate, + asap, + isIterable, + isSafeIterable, +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/utils.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/utils.min.js new file mode 100644 index 0000000..daac13b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/lib/utils.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/axios@1.18.1/lib/utils.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";import bind from"./helpers/bind.js";const{toString:toString}=Object.prototype,{getPrototypeOf:getPrototypeOf}=Object,{iterator:iterator,toStringTag:toStringTag}=Symbol,hasOwnProperty=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),hasOwnInPrototypeChain=(e,t)=>{let r=e;const i=[];for(;null!=r&&r!==Object.prototype;){if(-1!==i.indexOf(r))return!1;if(i.push(r),hasOwnProperty(r,t))return!0;r=getPrototypeOf(r)}return!1},getSafeProp=(e,t)=>null!=e&&hasOwnInPrototypeChain(e,t)?e[t]:void 0,kindOf=(e=>t=>{const r=toString.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=e=>(e=e.toLowerCase(),t=>kindOf(t)===e),typeOfTest=e=>t=>typeof t===e,{isArray:isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(e){return null!==e&&!isUndefined(e)&&null!==e.constructor&&!isUndefined(e.constructor)&&isFunction(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&isArrayBuffer(e.buffer),t}const isString=typeOfTest("string"),isFunction=typeOfTest("function"),isNumber=typeOfTest("number"),isObject=e=>null!==e&&"object"==typeof e,isBoolean=e=>!0===e||!1===e,isPlainObject=e=>{if(!isObject(e))return!1;const t=getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==getPrototypeOf(t)||hasOwnInPrototypeChain(e,toStringTag)||hasOwnInPrototypeChain(e,iterator))},isEmptyObject=e=>{if(!isObject(e)||isBuffer(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isReactNativeBlob=e=>!(!e||void 0===e.uri),isReactNative=e=>e&&void 0!==e.getParts,isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=e=>isObject(e)&&isFunction(e.pipe);function getGlobal(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}}const G=getGlobal(),FormDataCtor=void 0!==G.FormData?G.FormData:void 0,isFormData=e=>{if(!e)return!1;if(FormDataCtor&&e instanceof FormDataCtor)return!0;const t=getPrototypeOf(e);if(!t||t===Object.prototype)return!1;if(!isFunction(e.append))return!1;const r=kindOf(e);return"formdata"===r||"object"===r&&isFunction(e.toString)&&"[object FormData]"===e.toString()},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let i,n;if("object"!=typeof e&&(e=[e]),isArray(e))for(i=0,n=e.length;i0;)if(i=r[n],t===i.toLowerCase())return i;return null}const _global="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,isContextDefined=e=>!isUndefined(e)&&e!==_global;function merge(...e){const{caseless:t,skipUndefined:r}=isContextDefined(this)&&this||{},i={},n=(e,n)=>{if("__proto__"===n||"constructor"===n||"prototype"===n)return;const o=t&&"string"==typeof n&&findKey(i,n)||n,s=hasOwnProperty(i,o)?i[o]:void 0;isPlainObject(s)&&isPlainObject(e)?i[o]=merge(s,e):isPlainObject(e)?i[o]=merge({},e):isArray(e)?i[o]=e.slice():r&&isUndefined(e)||(i[o]=e)};for(let t=0,r=e.length;t(forEach(t,(t,i)=>{r&&isFunction(t)?Object.defineProperty(e,i,{__proto__:null,value:bind(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),e),stripBOM=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits=(e,t,r,i)=>{e.prototype=Object.create(t.prototype,i),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject=(e,t,r,i)=>{let n,o,s;const a={};if(t=t||{},null==e)return t;do{for(n=Object.getOwnPropertyNames(e),o=n.length;o-- >0;)s=n[o],i&&!i(s,e,t)||a[s]||(t[s]=e[s],a[s]=!0);e=!1!==r&&getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},endsWith=(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const i=e.indexOf(t,r);return-1!==i&&i===r},toArray=e=>{if(!e)return null;if(isArray(e))return e;let t=e.length;if(!isNumber(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},isTypedArray=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&getPrototypeOf(Uint8Array)),forEachEntry=(e,t)=>{const r=(e&&e[iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const r=i.value;t.call(e,r[0],r[1])}},matchAll=(e,t)=>{let r;const i=[];for(;null!==(r=e.exec(t));)i.push(r);return i},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),{propertyIsEnumerable:propertyIsEnumerable}=Object.prototype,isRegExp=kindOfTest("RegExp"),reduceDescriptors=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),i={};forEach(r,(r,n)=>{let o;!1!==(o=t(r,n,e))&&(i[n]=o||r)}),Object.defineProperties(e,i)},freezeMethods=e=>{reduceDescriptors(e,(t,r)=>{if(isFunction(e)&&["arguments","caller","callee"].includes(r))return!1;const i=e[r];isFunction(i)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},toObjectSet=(e,t)=>{const r={},i=e=>{e.forEach(e=>{r[e]=!0})};return isArray(e)?i(e):i(String(e).split(t)),r},noop=()=>{},toFiniteNumber=(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t;function isSpecCompliantForm(e){return!!(e&&isFunction(e.append)&&"FormData"===e[toStringTag]&&e[iterator])}const toJSONObject=e=>{const t=new WeakSet,r=e=>{if(isObject(e)){if(t.has(e))return;if(isBuffer(e))return e;if(!("toJSON"in e)){t.add(e);const i=isArray(e)?[]:{};return forEach(e,(e,t)=>{const n=r(e);!isUndefined(n)&&(i[t]=n)}),t.delete(e),i}}return e};return r(e)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=e=>e&&(isObject(e)||isFunction(e))&&isFunction(e.then)&&isFunction(e.catch),_setImmediate=((e,t)=>{return e?setImmediate:t?(r=`axios@${Math.random()}`,i=[],_global.addEventListener("message",({source:e,data:t})=>{e===_global&&t===r&&i.length&&i.shift()()},!1),e=>{i.push(e),_global.postMessage(r,"*")}):e=>setTimeout(e);var r,i})("function"==typeof setImmediate,isFunction(_global.postMessage)),asap="undefined"!=typeof queueMicrotask?queueMicrotask.bind(_global):"undefined"!=typeof process&&process.nextTick||_setImmediate,isIterable=e=>null!=e&&isFunction(e[iterator]),isSafeIterable=e=>null!=e&&hasOwnInPrototypeChain(e,iterator)&&isIterable(e);export default{isArray:isArray,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString,isNumber:isNumber,isBoolean:isBoolean,isObject:isObject,isPlainObject:isPlainObject,isEmptyObject:isEmptyObject,isReadableStream:isReadableStream,isRequest:isRequest,isResponse:isResponse,isHeaders:isHeaders,isUndefined:isUndefined,isDate:isDate,isFile:isFile,isReactNativeBlob:isReactNativeBlob,isReactNative:isReactNative,isBlob:isBlob,isRegExp:isRegExp,isFunction:isFunction,isStream:isStream,isURLSearchParams:isURLSearchParams,isTypedArray:isTypedArray,isFileList:isFileList,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:kindOf,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:isHTMLForm,hasOwnProperty:hasOwnProperty,hasOwnProp:hasOwnProperty,hasOwnInPrototypeChain:hasOwnInPrototypeChain,getSafeProp:getSafeProp,reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:_global,isContextDefined:isContextDefined,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:isAsyncFn,isThenable:isThenable,setImmediate:_setImmediate,asap:asap,isIterable:isIterable,isSafeIterable:isSafeIterable}; +//# sourceMappingURL=/sm/46942b35d09b72959193988b7d088b8f4c48c99afda27a5f392e56ea918de89d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/package.json b/Lombiq.EInvoiceValidator/node_modules/axios/package.json new file mode 100644 index 0000000..27e2784 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/axios/package.json @@ -0,0 +1,201 @@ +{ + "name": "axios", + "version": "1.18.1", + "description": "Promise based HTTP client for the browser and node.js", + "main": "./dist/node/axios.cjs", + "module": "./index.js", + "type": "module", + "types": "index.d.ts", + "jsdelivr": "dist/axios.min.js", + "unpkg": "dist/axios.min.js", + "typings": "./index.d.ts", + "exports": { + ".": { + "types": { + "require": "./index.d.cts", + "default": "./index.d.ts" + }, + "bun": { + "require": "./dist/node/axios.cjs", + "default": "./index.js" + }, + "react-native": { + "require": "./dist/browser/axios.cjs", + "default": "./dist/esm/axios.js" + }, + "browser": { + "require": "./dist/browser/axios.cjs", + "default": "./index.js" + }, + "default": { + "require": "./dist/node/axios.cjs", + "default": "./index.js" + } + }, + "./lib/adapters/http.js": "./lib/adapters/http.js", + "./lib/adapters/xhr.js": "./lib/adapters/xhr.js", + "./unsafe/*": "./lib/*", + "./unsafe/core/settle.js": "./lib/core/settle.js", + "./unsafe/core/buildFullPath.js": "./lib/core/buildFullPath.js", + "./unsafe/helpers/isAbsoluteURL.js": "./lib/helpers/isAbsoluteURL.js", + "./unsafe/helpers/buildURL.js": "./lib/helpers/buildURL.js", + "./unsafe/helpers/combineURLs.js": "./lib/helpers/combineURLs.js", + "./unsafe/adapters/http.js": "./lib/adapters/http.js", + "./unsafe/adapters/xhr.js": "./lib/adapters/xhr.js", + "./unsafe/utils.js": "./lib/utils.js", + "./package.json": "./package.json", + "./dist/browser/axios.cjs": "./dist/browser/axios.cjs", + "./dist/node/axios.cjs": "./dist/node/axios.cjs" + }, + "browser": { + "./dist/node/axios.cjs": "./dist/browser/axios.cjs", + "./lib/adapters/http.js": "./lib/helpers/null.js", + "./lib/platform/node/index.js": "./lib/platform/browser/index.js", + "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js" + }, + "react-native": { + "./dist/node/axios.cjs": "./dist/browser/axios.cjs", + "./lib/adapters/http.js": "./lib/helpers/null.js", + "./lib/platform/node/index.js": "./lib/platform/browser/index.js", + "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js" + }, + "repository": { + "type": "git", + "url": "https://github.com/axios/axios.git" + }, + "keywords": [ + "xhr", + "http", + "ajax", + "promise", + "node", + "browser", + "fetch", + "rest", + "api", + "client" + ], + "author": "Matt Zabriskie", + "contributors": [ + "Matt Zabriskie (https://github.com/mzabriskie)", + "Jay (https://github.com/jasonsaayman)", + "Dmitriy Mozgovoy (https://github.com/DigitalBrainJS)", + "Nick Uraltsev (https://github.com/nickuraltsev)", + "Emily Morehouse (https://github.com/emilyemorehouse)", + "Rubén Norte (https://github.com/rubennorte)", + "Justin Beckwith (https://github.com/JustinBeckwith)", + "Martti Laine (https://github.com/codeclown)", + "Xianming Zhong (https://github.com/chinesedfan)", + "Shaan Majid (https://github.com/shaanmajid)", + "Remco Haszing (https://github.com/remcohaszing)", + "Willian Agostini (https://github.com/WillianAgostini)", + "Rikki Gibson (https://github.com/RikkiGibson)" + ], + "sideEffects": false, + "license": "MIT", + "bugs": { + "url": "https://github.com/axios/axios/issues" + }, + "homepage": "https://axios-http.com", + "files": [ + "index.js", + "index.d.ts", + "index.d.cts", + "CHANGELOG.md", + "MIGRATION_GUIDE.md", + "lib/", + "dist/axios.js", + "dist/axios.min.js", + "dist/axios.min.js.map", + "dist/esm/axios.js", + "dist/esm/axios.min.js", + "dist/esm/axios.min.js.map", + "dist/browser/axios.cjs", + "dist/node/axios.cjs" + ], + "scripts": { + "build": "gulp clear && cross-env NODE_ENV=production rollup -c -m", + "version": "npm run build && git add package.json", + "preversion": "gulp version", + "test": "npm run test:vitest", + "test:vitest": "vitest run", + "test:vitest:unit": "vitest run --project unit", + "test:vitest:browser": "vitest run --project browser", + "test:vitest:browser:headless": "vitest run --project browser-headless", + "test:vitest:watch": "vitest", + "test:smoke:cjs:vitest": "npm --prefix tests/smoke/cjs run test:smoke:cjs:mocha", + "test:smoke:esm:vitest": "npm --prefix tests/smoke/esm run test:smoke:esm:vitest", + "test:smoke:deno": "deno task --cwd tests/smoke/deno test", + "test:smoke:bun": "bun test --cwd tests/smoke/bun", + "test:module:cjs": "npm --prefix tests/module/cjs run test:module:cjs", + "test:module:esm": "npm --prefix tests/module/esm run test:module:esm", + "docs:dev": "cd docs && npm run docs:dev", + "start": "node ./sandbox/server.js", + "examples": "node ./examples/server.js", + "lint": "eslint lib/**/*.js", + "fix": "eslint --fix lib/**/*.js", + "prepare": "husky" + }, + "dependencies": { + "follow-redirects": "^1.16.0", + "form-data": "^4.0.5", + "https-proxy-agent": "^5.0.1", + "proxy-from-env": "^2.1.0" + }, + "devDependencies": { + "@babel/core": "^7.29.0", + "@babel/preset-env": "^7.29.5", + "@commitlint/cli": "^21.0.1", + "@commitlint/config-conventional": "^21.0.1", + "@eslint/js": "^10.0.1", + "@rollup/plugin-alias": "^6.0.0", + "@rollup/plugin-babel": "^7.0.0", + "@rollup/plugin-commonjs": "^29.0.2", + "@rollup/plugin-json": "^6.1.0", + "@rollup/plugin-node-resolve": "^16.0.3", + "@rollup/plugin-terser": "^1.0.0", + "@vitest/browser": "^4.1.7", + "@vitest/browser-playwright": "^4.1.7", + "abortcontroller-polyfill": "^1.7.8", + "acorn": "^8.16.0", + "body-parser": "^2.2.2", + "chalk": "^5.6.2", + "cross-env": "^10.1.0", + "dev-null": "^0.1.1", + "eslint": "^10.4.0", + "express": "^5.2.1", + "formdata-node": "^6.0.3", + "formidable": "^3.5.4", + "fs-extra": "^11.3.4", + "get-stream": "^9.0.1", + "globals": "^17.6.0", + "gulp": "^5.0.1", + "husky": "^9.1.7", + "lint-staged": "^17.0.5", + "minimist": "^1.2.8", + "multer": "^2.1.1", + "playwright": "^1.60.0", + "prettier": "^3.8.3", + "rollup": "^4.60.4", + "rollup-plugin-bundle-size": "^1.0.3", + "selfsigned": "^5.5.0", + "stream-throttle": "^0.1.3", + "typescript": "^5.9.3", + "vitest": "^4.1.7" + }, + "commitlint": { + "rules": { + "header-max-length": [ + 2, + "always", + 130 + ] + }, + "extends": [ + "@commitlint/config-conventional" + ] + }, + "lint-staged": { + "*.{js,cjs,mjs,ts,json,md,yml,yaml}": "prettier --write" + } +} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/CHANGELOG.md new file mode 100644 index 0000000..2484942 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/CHANGELOG.md @@ -0,0 +1,30 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.0.2](https://github.com/ljharb/call-bind-apply-helpers/compare/v1.0.1...v1.0.2) - 2025-02-12 + +### Commits + +- [types] improve inferred types [`e6f9586`](https://github.com/ljharb/call-bind-apply-helpers/commit/e6f95860a3c72879cb861a858cdfb8138fbedec1) +- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/tsconfig`, `@types/tape`, `es-value-fixtures`, `for-each`, `has-strict-mode`, `object-inspect` [`e43d540`](https://github.com/ljharb/call-bind-apply-helpers/commit/e43d5409f97543bfbb11f345d47d8ce4e066d8c1) + +## [v1.0.1](https://github.com/ljharb/call-bind-apply-helpers/compare/v1.0.0...v1.0.1) - 2024-12-08 + +### Commits + +- [types] `reflectApply`: fix types [`4efc396`](https://github.com/ljharb/call-bind-apply-helpers/commit/4efc3965351a4f02cc55e836fa391d3d11ef2ef8) +- [Fix] `reflectApply`: oops, Reflect is not a function [`83cc739`](https://github.com/ljharb/call-bind-apply-helpers/commit/83cc7395de6b79b7730bdf092f1436f0b1263c75) +- [Dev Deps] update `@arethetypeswrong/cli` [`80bd5d3`](https://github.com/ljharb/call-bind-apply-helpers/commit/80bd5d3ae58b4f6b6995ce439dd5a1bcb178a940) + +## v1.0.0 - 2024-12-05 + +### Commits + +- Initial implementation, tests, readme [`7879629`](https://github.com/ljharb/call-bind-apply-helpers/commit/78796290f9b7430c9934d6f33d94ae9bc89fce04) +- Initial commit [`3f1dc16`](https://github.com/ljharb/call-bind-apply-helpers/commit/3f1dc164afc43285631b114a5f9dd9137b2b952f) +- npm init [`081df04`](https://github.com/ljharb/call-bind-apply-helpers/commit/081df048c312fcee400922026f6e97281200a603) +- Only apps should have lockfiles [`5b9ca0f`](https://github.com/ljharb/call-bind-apply-helpers/commit/5b9ca0fe8101ebfaf309c549caac4e0a017ed930) diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/LICENSE b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/LICENSE new file mode 100644 index 0000000..f82f389 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/README.md b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/README.md new file mode 100644 index 0000000..8fc0dae --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/README.md @@ -0,0 +1,62 @@ +# call-bind-apply-helpers [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![dependency status][deps-svg]][deps-url] +[![dev dependency status][dev-deps-svg]][dev-deps-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +Helper functions around Function call/apply/bind, for use in `call-bind`. + +The only packages that should likely ever use this package directly are `call-bind` and `get-intrinsic`. +Please use `call-bind` unless you have a very good reason not to. + +## Getting started + +```sh +npm install --save call-bind-apply-helpers +``` + +## Usage/Examples + +```js +const assert = require('assert'); +const callBindBasic = require('call-bind-apply-helpers'); + +function f(a, b) { + assert.equal(this, 1); + assert.equal(a, 2); + assert.equal(b, 3); + assert.equal(arguments.length, 2); +} + +const fBound = callBindBasic([f, 1]); + +delete Function.prototype.call; +delete Function.prototype.bind; + +fBound(2, 3); +``` + +## Tests + +Clone the repo, `npm install`, and run `npm test` + +[package-url]: https://npmjs.org/package/call-bind-apply-helpers +[npm-version-svg]: https://versionbadg.es/ljharb/call-bind-apply-helpers.svg +[deps-svg]: https://david-dm.org/ljharb/call-bind-apply-helpers.svg +[deps-url]: https://david-dm.org/ljharb/call-bind-apply-helpers +[dev-deps-svg]: https://david-dm.org/ljharb/call-bind-apply-helpers/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/call-bind-apply-helpers#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/call-bind-apply-helpers.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/call-bind-apply-helpers.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/call-bind-apply-helpers.svg +[downloads-url]: https://npm-stat.com/charts.html?package=call-bind-apply-helpers +[codecov-image]: https://codecov.io/gh/ljharb/call-bind-apply-helpers/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/call-bind-apply-helpers/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/call-bind-apply-helpers +[actions-url]: https://github.com/ljharb/call-bind-apply-helpers/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.d.ts b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.d.ts new file mode 100644 index 0000000..b87286a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.d.ts @@ -0,0 +1 @@ +export = Reflect.apply; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.js new file mode 100644 index 0000000..ffa5135 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.js @@ -0,0 +1,10 @@ +'use strict'; + +var bind = require('function-bind'); + +var $apply = require('./functionApply'); +var $call = require('./functionCall'); +var $reflectApply = require('./reflectApply'); + +/** @type {import('./actualApply')} */ +module.exports = $reflectApply || bind.call($call, $apply); diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.min.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.min.js new file mode 100644 index 0000000..b0f75a5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/call-bind-apply-helpers@1.0.2/actualApply.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var bind=require("function-bind"),$apply=require("./functionApply"),$call=require("./functionCall"),$reflectApply=require("./reflectApply");module.exports=$reflectApply||bind.call($call,$apply); +//# sourceMappingURL=/sm/0f8d8b7f3298c1860bc50c1f95003830c9e4bf45d09ca7956a488e63f4ca8f22.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.d.ts b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.d.ts new file mode 100644 index 0000000..d176c1a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.d.ts @@ -0,0 +1,19 @@ +import actualApply from './actualApply'; + +type TupleSplitHead = T['length'] extends N + ? T + : T extends [...infer R, any] + ? TupleSplitHead + : never + +type TupleSplitTail = O['length'] extends N + ? T + : T extends [infer F, ...infer R] + ? TupleSplitTail<[...R], N, [...O, F]> + : never + +type TupleSplit = [TupleSplitHead, TupleSplitTail] + +declare function applyBind(...args: TupleSplit, 2>[1]): ReturnType; + +export = applyBind; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.js new file mode 100644 index 0000000..d2b7723 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.js @@ -0,0 +1,10 @@ +'use strict'; + +var bind = require('function-bind'); +var $apply = require('./functionApply'); +var actualApply = require('./actualApply'); + +/** @type {import('./applyBind')} */ +module.exports = function applyBind() { + return actualApply(bind, $apply, arguments); +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.min.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.min.js new file mode 100644 index 0000000..f1707ac --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/call-bind-apply-helpers@1.0.2/applyBind.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var bind=require("function-bind"),$apply=require("./functionApply"),actualApply=require("./actualApply");module.exports=function(){return actualApply(bind,$apply,arguments)}; +//# sourceMappingURL=/sm/94871c6e1c2a23b3483489386d528564b6c65c5915773189aca5a99a8ccdd21f.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.d.ts b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.d.ts new file mode 100644 index 0000000..1f6e11b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.d.ts @@ -0,0 +1 @@ +export = Function.prototype.apply; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.js new file mode 100644 index 0000000..c71df9c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./functionApply')} */ +module.exports = Function.prototype.apply; diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.min.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.min.js new file mode 100644 index 0000000..746ebeb --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/call-bind-apply-helpers@1.0.2/functionApply.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=Function.prototype.apply; +//# sourceMappingURL=/sm/fa04aa78fea76c33419453d89d4523f21194cd583275e48c7238e356506c6e75.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.d.ts b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.d.ts new file mode 100644 index 0000000..15e93df --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.d.ts @@ -0,0 +1 @@ +export = Function.prototype.call; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.js new file mode 100644 index 0000000..7a8d873 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./functionCall')} */ +module.exports = Function.prototype.call; diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.min.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.min.js new file mode 100644 index 0000000..bf6c41b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/call-bind-apply-helpers@1.0.2/functionCall.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=Function.prototype.call; +//# sourceMappingURL=/sm/a3661d99c72d160c512270f94c1155a2bfbe75189a94355b949016d6477675b2.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.d.ts new file mode 100644 index 0000000..541516b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.d.ts @@ -0,0 +1,64 @@ +type RemoveFromTuple< + Tuple extends readonly unknown[], + RemoveCount extends number, + Index extends 1[] = [] +> = Index["length"] extends RemoveCount + ? Tuple + : Tuple extends [infer First, ...infer Rest] + ? RemoveFromTuple + : Tuple; + +type ConcatTuples< + Prefix extends readonly unknown[], + Suffix extends readonly unknown[] +> = [...Prefix, ...Suffix]; + +type ExtractFunctionParams = T extends (this: infer TThis, ...args: infer P extends readonly unknown[]) => infer R + ? { thisArg: TThis; params: P; returnType: R } + : never; + +type BindFunction< + T extends (this: any, ...args: any[]) => any, + TThis, + TBoundArgs extends readonly unknown[], + ReceiverBound extends boolean +> = ExtractFunctionParams extends { + thisArg: infer OrigThis; + params: infer P extends readonly unknown[]; + returnType: infer R; +} + ? ReceiverBound extends true + ? (...args: RemoveFromTuple>) => R extends [OrigThis, ...infer Rest] + ? [TThis, ...Rest] // Replace `this` with `thisArg` + : R + : >>( + thisArg: U, + ...args: RemainingArgs + ) => R extends [OrigThis, ...infer Rest] + ? [U, ...ConcatTuples] // Preserve bound args in return type + : R + : never; + +declare function callBind< + const T extends (this: any, ...args: any[]) => any, + Extracted extends ExtractFunctionParams, + const TBoundArgs extends Partial & readonly unknown[], + const TThis extends Extracted["thisArg"] +>( + args: [fn: T, thisArg: TThis, ...boundArgs: TBoundArgs] +): BindFunction; + +declare function callBind< + const T extends (this: any, ...args: any[]) => any, + Extracted extends ExtractFunctionParams, + const TBoundArgs extends Partial & readonly unknown[] +>( + args: [fn: T, ...boundArgs: TBoundArgs] +): BindFunction; + +declare function callBind( + args: [fn: Exclude, ...rest: TArgs] +): never; + +// export as namespace callBind; +export = callBind; diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.js new file mode 100644 index 0000000..2f6dab4 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.js @@ -0,0 +1,15 @@ +'use strict'; + +var bind = require('function-bind'); +var $TypeError = require('es-errors/type'); + +var $call = require('./functionCall'); +var $actualApply = require('./actualApply'); + +/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */ +module.exports = function callBindBasic(args) { + if (args.length < 1 || typeof args[0] !== 'function') { + throw new $TypeError('a function is required'); + } + return $actualApply(bind, $call, args); +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.min.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.min.js new file mode 100644 index 0000000..b197558 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.37.0. + * Original file: /npm/call-bind-apply-helpers@1.0.2/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var bind=require("function-bind"),$TypeError=require("es-errors/type"),$call=require("./functionCall"),$actualApply=require("./actualApply");module.exports=function(r){if(r.length<1||"function"!=typeof r[0])throw new $TypeError("a function is required");return $actualApply(bind,$call,r)}; +//# sourceMappingURL=/sm/311fa5faa4523c93519c95c8664597f65cd3c04c883c5df552a8f85dbf300f53.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/package.json b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/package.json new file mode 100644 index 0000000..923b8be --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/package.json @@ -0,0 +1,85 @@ +{ + "name": "call-bind-apply-helpers", + "version": "1.0.2", + "description": "Helper functions around Function call/apply/bind, for use in `call-bind`", + "main": "index.js", + "exports": { + ".": "./index.js", + "./actualApply": "./actualApply.js", + "./applyBind": "./applyBind.js", + "./functionApply": "./functionApply.js", + "./functionCall": "./functionCall.js", + "./reflectApply": "./reflectApply.js", + "./package.json": "./package.json" + }, + "scripts": { + "prepack": "npmignore --auto --commentLines=auto", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint --ext=.js,.mjs .", + "postlint": "tsc -p . && attw -P", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>=10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/call-bind-apply-helpers.git" + }, + "author": "Jordan Harband ", + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/call-bind-apply-helpers/issues" + }, + "homepage": "https://github.com/ljharb/call-bind-apply-helpers#readme", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.3", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.3", + "@types/for-each": "^0.3.3", + "@types/function-bind": "^1.1.10", + "@types/object-inspect": "^1.13.0", + "@types/tape": "^5.8.1", + "auto-changelog": "^2.5.0", + "encoding": "^0.1.13", + "es-value-fixtures": "^1.7.1", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "for-each": "^0.3.5", + "has-strict-mode": "^1.1.0", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "object-inspect": "^1.13.4", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "testling": { + "files": "test/index.js" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.d.ts b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.d.ts new file mode 100644 index 0000000..6b2ae76 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.d.ts @@ -0,0 +1,3 @@ +declare const reflectApply: false | typeof Reflect.apply; + +export = reflectApply; diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.js new file mode 100644 index 0000000..3d03caa --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./reflectApply')} */ +module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply; diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.min.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.min.js new file mode 100644 index 0000000..a61fcd5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/call-bind-apply-helpers@1.0.2/reflectApply.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply; +//# sourceMappingURL=/sm/23b8c1fda7c7c87bdc0d92e1332fdec593ec09b7c12627c8b8ed0cc9d118e372.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.js new file mode 100644 index 0000000..1cdc89e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.js @@ -0,0 +1,63 @@ +'use strict'; + +var callBind = require('../'); +var hasStrictMode = require('has-strict-mode')(); +var forEach = require('for-each'); +var inspect = require('object-inspect'); +var v = require('es-value-fixtures'); + +var test = require('tape'); + +test('callBindBasic', function (t) { + forEach(v.nonFunctions, function (nonFunction) { + t['throws']( + // @ts-expect-error + function () { callBind([nonFunction]); }, + TypeError, + inspect(nonFunction) + ' is not a function' + ); + }); + + var sentinel = { sentinel: true }; + /** @type {(this: T, a: A, b: B) => [T | undefined, A, B]} */ + var func = function (a, b) { + // eslint-disable-next-line no-invalid-this + return [!hasStrictMode && this === global ? undefined : this, a, b]; + }; + t.equal(func.length, 2, 'original function length is 2'); + + /** type {(thisArg: unknown, a: number, b: number) => [unknown, number, number]} */ + var bound = callBind([func]); + /** type {((a: number, b: number) => [typeof sentinel, typeof a, typeof b])} */ + var boundR = callBind([func, sentinel]); + /** type {((b: number) => [typeof sentinel, number, typeof b])} */ + var boundArg = callBind([func, sentinel, /** @type {const} */ (1)]); + + // @ts-expect-error + t.deepEqual(bound(), [undefined, undefined, undefined], 'bound func with no args'); + + // @ts-expect-error + t.deepEqual(func(), [undefined, undefined, undefined], 'unbound func with too few args'); + // @ts-expect-error + t.deepEqual(bound(1, 2), [hasStrictMode ? 1 : Object(1), 2, undefined], 'bound func too few args'); + // @ts-expect-error + t.deepEqual(boundR(), [sentinel, undefined, undefined], 'bound func with receiver, with too few args'); + // @ts-expect-error + t.deepEqual(boundArg(), [sentinel, 1, undefined], 'bound func with receiver and arg, with too few args'); + + t.deepEqual(func(1, 2), [undefined, 1, 2], 'unbound func with right args'); + t.deepEqual(bound(1, 2, 3), [hasStrictMode ? 1 : Object(1), 2, 3], 'bound func with right args'); + t.deepEqual(boundR(1, 2), [sentinel, 1, 2], 'bound func with receiver, with right args'); + t.deepEqual(boundArg(2), [sentinel, 1, 2], 'bound func with receiver and arg, with right arg'); + + // @ts-expect-error + t.deepEqual(func(1, 2, 3), [undefined, 1, 2], 'unbound func with too many args'); + // @ts-expect-error + t.deepEqual(bound(1, 2, 3, 4), [hasStrictMode ? 1 : Object(1), 2, 3], 'bound func with too many args'); + // @ts-expect-error + t.deepEqual(boundR(1, 2, 3), [sentinel, 1, 2], 'bound func with receiver, with too many args'); + // @ts-expect-error + t.deepEqual(boundArg(2, 3), [sentinel, 1, 2], 'bound func with receiver and arg, with too many args'); + + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.min.js new file mode 100644 index 0000000..95e3b5f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/call-bind-apply-helpers@1.0.2/test/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var callBind=require("../"),hasStrictMode=require("has-strict-mode")(),forEach=require("for-each"),inspect=require("object-inspect"),v=require("es-value-fixtures"),test=require("tape");test("callBindBasic",(function(e){forEach(v.nonFunctions,(function(i){e.throws((function(){callBind([i])}),TypeError,inspect(i)+" is not a function")}));var i={sentinel:!0},t=function(e,i){return[hasStrictMode||this!==global?this:void 0,e,i]};e.equal(t.length,2,"original function length is 2");var n=callBind([t]),o=callBind([t,i]),r=callBind([t,i,1]);e.deepEqual(n(),[void 0,void 0,void 0],"bound func with no args"),e.deepEqual(t(),[void 0,void 0,void 0],"unbound func with too few args"),e.deepEqual(n(1,2),[hasStrictMode?1:Object(1),2,void 0],"bound func too few args"),e.deepEqual(o(),[i,void 0,void 0],"bound func with receiver, with too few args"),e.deepEqual(r(),[i,1,void 0],"bound func with receiver and arg, with too few args"),e.deepEqual(t(1,2),[void 0,1,2],"unbound func with right args"),e.deepEqual(n(1,2,3),[hasStrictMode?1:Object(1),2,3],"bound func with right args"),e.deepEqual(o(1,2),[i,1,2],"bound func with receiver, with right args"),e.deepEqual(r(2),[i,1,2],"bound func with receiver and arg, with right arg"),e.deepEqual(t(1,2),[void 0,1,2],"unbound func with too many args"),e.deepEqual(n(1,2,3,4),[hasStrictMode?1:Object(1),2,3],"bound func with too many args"),e.deepEqual(o(1,2,3),[i,1,2],"bound func with receiver, with too many args"),e.deepEqual(r(2,3),[i,1,2],"bound func with receiver and arg, with too many args"),e.end()})); +//# sourceMappingURL=/sm/14486c19c17e5d16b5cdb2e6075c3cccc3bb757555b20ef7e2081a146c491670.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/tsconfig.json new file mode 100644 index 0000000..aef9993 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "es2021", + }, + "exclude": [ + "coverage", + ], +} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/combined-stream/License b/Lombiq.EInvoiceValidator/node_modules/combined-stream/License new file mode 100644 index 0000000..4804b7a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/combined-stream/License @@ -0,0 +1,19 @@ +Copyright (c) 2011 Debuggable Limited + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/combined-stream/Readme.md b/Lombiq.EInvoiceValidator/node_modules/combined-stream/Readme.md new file mode 100644 index 0000000..9e367b5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/combined-stream/Readme.md @@ -0,0 +1,138 @@ +# combined-stream + +A stream that emits multiple other streams one after another. + +**NB** Currently `combined-stream` works with streams version 1 only. There is ongoing effort to switch this library to streams version 2. Any help is welcome. :) Meanwhile you can explore other libraries that provide streams2 support with more or less compatibility with `combined-stream`. + +- [combined-stream2](https://www.npmjs.com/package/combined-stream2): A drop-in streams2-compatible replacement for the combined-stream module. + +- [multistream](https://www.npmjs.com/package/multistream): A stream that emits multiple other streams one after another. + +## Installation + +``` bash +npm install combined-stream +``` + +## Usage + +Here is a simple example that shows how you can use combined-stream to combine +two files into one: + +``` javascript +var CombinedStream = require('combined-stream'); +var fs = require('fs'); + +var combinedStream = CombinedStream.create(); +combinedStream.append(fs.createReadStream('file1.txt')); +combinedStream.append(fs.createReadStream('file2.txt')); + +combinedStream.pipe(fs.createWriteStream('combined.txt')); +``` + +While the example above works great, it will pause all source streams until +they are needed. If you don't want that to happen, you can set `pauseStreams` +to `false`: + +``` javascript +var CombinedStream = require('combined-stream'); +var fs = require('fs'); + +var combinedStream = CombinedStream.create({pauseStreams: false}); +combinedStream.append(fs.createReadStream('file1.txt')); +combinedStream.append(fs.createReadStream('file2.txt')); + +combinedStream.pipe(fs.createWriteStream('combined.txt')); +``` + +However, what if you don't have all the source streams yet, or you don't want +to allocate the resources (file descriptors, memory, etc.) for them right away? +Well, in that case you can simply provide a callback that supplies the stream +by calling a `next()` function: + +``` javascript +var CombinedStream = require('combined-stream'); +var fs = require('fs'); + +var combinedStream = CombinedStream.create(); +combinedStream.append(function(next) { + next(fs.createReadStream('file1.txt')); +}); +combinedStream.append(function(next) { + next(fs.createReadStream('file2.txt')); +}); + +combinedStream.pipe(fs.createWriteStream('combined.txt')); +``` + +## API + +### CombinedStream.create([options]) + +Returns a new combined stream object. Available options are: + +* `maxDataSize` +* `pauseStreams` + +The effect of those options is described below. + +### combinedStream.pauseStreams = `true` + +Whether to apply back pressure to the underlaying streams. If set to `false`, +the underlaying streams will never be paused. If set to `true`, the +underlaying streams will be paused right after being appended, as well as when +`delayedStream.pipe()` wants to throttle. + +### combinedStream.maxDataSize = `2 * 1024 * 1024` + +The maximum amount of bytes (or characters) to buffer for all source streams. +If this value is exceeded, `combinedStream` emits an `'error'` event. + +### combinedStream.dataSize = `0` + +The amount of bytes (or characters) currently buffered by `combinedStream`. + +### combinedStream.append(stream) + +Appends the given `stream` to the combinedStream object. If `pauseStreams` is +set to `true, this stream will also be paused right away. + +`streams` can also be a function that takes one parameter called `next`. `next` +is a function that must be invoked in order to provide the `next` stream, see +example above. + +Regardless of how the `stream` is appended, combined-stream always attaches an +`'error'` listener to it, so you don't have to do that manually. + +Special case: `stream` can also be a String or Buffer. + +### combinedStream.write(data) + +You should not call this, `combinedStream` takes care of piping the appended +streams into itself for you. + +### combinedStream.resume() + +Causes `combinedStream` to start drain the streams it manages. The function is +idempotent, and also emits a `'resume'` event each time which usually goes to +the stream that is currently being drained. + +### combinedStream.pause(); + +If `combinedStream.pauseStreams` is set to `false`, this does nothing. +Otherwise a `'pause'` event is emitted, this goes to the stream that is +currently being drained, so you can use it to apply back pressure. + +### combinedStream.end(); + +Sets `combinedStream.writable` to false, emits an `'end'` event, and removes +all streams from the queue. + +### combinedStream.destroy(); + +Same as `combinedStream.end()`, except it emits a `'close'` event instead of +`'end'`. + +## License + +combined-stream is licensed under the MIT license. diff --git a/Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.js b/Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.js new file mode 100644 index 0000000..125f097 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.js @@ -0,0 +1,208 @@ +var util = require('util'); +var Stream = require('stream').Stream; +var DelayedStream = require('delayed-stream'); + +module.exports = CombinedStream; +function CombinedStream() { + this.writable = false; + this.readable = true; + this.dataSize = 0; + this.maxDataSize = 2 * 1024 * 1024; + this.pauseStreams = true; + + this._released = false; + this._streams = []; + this._currentStream = null; + this._insideLoop = false; + this._pendingNext = false; +} +util.inherits(CombinedStream, Stream); + +CombinedStream.create = function(options) { + var combinedStream = new this(); + + options = options || {}; + for (var option in options) { + combinedStream[option] = options[option]; + } + + return combinedStream; +}; + +CombinedStream.isStreamLike = function(stream) { + return (typeof stream !== 'function') + && (typeof stream !== 'string') + && (typeof stream !== 'boolean') + && (typeof stream !== 'number') + && (!Buffer.isBuffer(stream)); +}; + +CombinedStream.prototype.append = function(stream) { + var isStreamLike = CombinedStream.isStreamLike(stream); + + if (isStreamLike) { + if (!(stream instanceof DelayedStream)) { + var newStream = DelayedStream.create(stream, { + maxDataSize: Infinity, + pauseStream: this.pauseStreams, + }); + stream.on('data', this._checkDataSize.bind(this)); + stream = newStream; + } + + this._handleErrors(stream); + + if (this.pauseStreams) { + stream.pause(); + } + } + + this._streams.push(stream); + return this; +}; + +CombinedStream.prototype.pipe = function(dest, options) { + Stream.prototype.pipe.call(this, dest, options); + this.resume(); + return dest; +}; + +CombinedStream.prototype._getNext = function() { + this._currentStream = null; + + if (this._insideLoop) { + this._pendingNext = true; + return; // defer call + } + + this._insideLoop = true; + try { + do { + this._pendingNext = false; + this._realGetNext(); + } while (this._pendingNext); + } finally { + this._insideLoop = false; + } +}; + +CombinedStream.prototype._realGetNext = function() { + var stream = this._streams.shift(); + + + if (typeof stream == 'undefined') { + this.end(); + return; + } + + if (typeof stream !== 'function') { + this._pipeNext(stream); + return; + } + + var getStream = stream; + getStream(function(stream) { + var isStreamLike = CombinedStream.isStreamLike(stream); + if (isStreamLike) { + stream.on('data', this._checkDataSize.bind(this)); + this._handleErrors(stream); + } + + this._pipeNext(stream); + }.bind(this)); +}; + +CombinedStream.prototype._pipeNext = function(stream) { + this._currentStream = stream; + + var isStreamLike = CombinedStream.isStreamLike(stream); + if (isStreamLike) { + stream.on('end', this._getNext.bind(this)); + stream.pipe(this, {end: false}); + return; + } + + var value = stream; + this.write(value); + this._getNext(); +}; + +CombinedStream.prototype._handleErrors = function(stream) { + var self = this; + stream.on('error', function(err) { + self._emitError(err); + }); +}; + +CombinedStream.prototype.write = function(data) { + this.emit('data', data); +}; + +CombinedStream.prototype.pause = function() { + if (!this.pauseStreams) { + return; + } + + if(this.pauseStreams && this._currentStream && typeof(this._currentStream.pause) == 'function') this._currentStream.pause(); + this.emit('pause'); +}; + +CombinedStream.prototype.resume = function() { + if (!this._released) { + this._released = true; + this.writable = true; + this._getNext(); + } + + if(this.pauseStreams && this._currentStream && typeof(this._currentStream.resume) == 'function') this._currentStream.resume(); + this.emit('resume'); +}; + +CombinedStream.prototype.end = function() { + this._reset(); + this.emit('end'); +}; + +CombinedStream.prototype.destroy = function() { + this._reset(); + this.emit('close'); +}; + +CombinedStream.prototype._reset = function() { + this.writable = false; + this._streams = []; + this._currentStream = null; +}; + +CombinedStream.prototype._checkDataSize = function() { + this._updateDataSize(); + if (this.dataSize <= this.maxDataSize) { + return; + } + + var message = + 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.'; + this._emitError(new Error(message)); +}; + +CombinedStream.prototype._updateDataSize = function() { + this.dataSize = 0; + + var self = this; + this._streams.forEach(function(stream) { + if (!stream.dataSize) { + return; + } + + self.dataSize += stream.dataSize; + }); + + if (this._currentStream && this._currentStream.dataSize) { + this.dataSize += this._currentStream.dataSize; + } +}; + +CombinedStream.prototype._emitError = function(err) { + this._reset(); + this.emit('error', err); +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.min.js b/Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.min.js new file mode 100644 index 0000000..5daa7ce --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/combined-stream@1.0.8/lib/combined_stream.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var util=require("util"),Stream=require("stream").Stream,DelayedStream=require("delayed-stream");function CombinedStream(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}module.exports=CombinedStream,util.inherits(CombinedStream,Stream),CombinedStream.create=function(t){var e=new this;for(var i in t=t||{})e[i]=t[i];return e},CombinedStream.isStreamLike=function(t){return"function"!=typeof t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t&&!Buffer.isBuffer(t)},CombinedStream.prototype.append=function(t){if(CombinedStream.isStreamLike(t)){if(!(t instanceof DelayedStream)){var e=DelayedStream.create(t,{maxDataSize:1/0,pauseStream:this.pauseStreams});t.on("data",this._checkDataSize.bind(this)),t=e}this._handleErrors(t),this.pauseStreams&&t.pause()}return this._streams.push(t),this},CombinedStream.prototype.pipe=function(t,e){return Stream.prototype.pipe.call(this,t,e),this.resume(),t},CombinedStream.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},CombinedStream.prototype._realGetNext=function(){var t=this._streams.shift();void 0!==t?"function"==typeof t?t(function(t){CombinedStream.isStreamLike(t)&&(t.on("data",this._checkDataSize.bind(this)),this._handleErrors(t)),this._pipeNext(t)}.bind(this)):this._pipeNext(t):this.end()},CombinedStream.prototype._pipeNext=function(t){if(this._currentStream=t,CombinedStream.isStreamLike(t))return t.on("end",this._getNext.bind(this)),void t.pipe(this,{end:!1});var e=t;this.write(e),this._getNext()},CombinedStream.prototype._handleErrors=function(t){var e=this;t.on("error",(function(t){e._emitError(t)}))},CombinedStream.prototype.write=function(t){this.emit("data",t)},CombinedStream.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},CombinedStream.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},CombinedStream.prototype.end=function(){this._reset(),this.emit("end")},CombinedStream.prototype.destroy=function(){this._reset(),this.emit("close")},CombinedStream.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},CombinedStream.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t))}},CombinedStream.prototype._updateDataSize=function(){this.dataSize=0;var t=this;this._streams.forEach((function(e){e.dataSize&&(t.dataSize+=e.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},CombinedStream.prototype._emitError=function(t){this._reset(),this.emit("error",t)}; +//# sourceMappingURL=/sm/b7376cffb887ea0ae2eecc83809b5ca5bf5199a44567343fcd5213bd5bc3dcd2.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/combined-stream/package.json b/Lombiq.EInvoiceValidator/node_modules/combined-stream/package.json new file mode 100644 index 0000000..6982b6d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/combined-stream/package.json @@ -0,0 +1,25 @@ +{ + "author": "Felix Geisendörfer (http://debuggable.com/)", + "name": "combined-stream", + "description": "A stream that emits multiple other streams one after another.", + "version": "1.0.8", + "homepage": "https://github.com/felixge/node-combined-stream", + "repository": { + "type": "git", + "url": "git://github.com/felixge/node-combined-stream.git" + }, + "main": "./lib/combined_stream", + "scripts": { + "test": "node test/run.js" + }, + "engines": { + "node": ">= 0.8" + }, + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "devDependencies": { + "far": "~0.0.7" + }, + "license": "MIT" +} diff --git a/Lombiq.EInvoiceValidator/node_modules/combined-stream/yarn.lock b/Lombiq.EInvoiceValidator/node_modules/combined-stream/yarn.lock new file mode 100644 index 0000000..7edf418 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/combined-stream/yarn.lock @@ -0,0 +1,17 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + +far@~0.0.7: + version "0.0.7" + resolved "https://registry.yarnpkg.com/far/-/far-0.0.7.tgz#01c1fd362bcd26ce9cf161af3938aa34619f79a7" + dependencies: + oop "0.0.3" + +oop@0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/oop/-/oop-0.0.3.tgz#70fa405a5650891a194fdc82ca68dad6dabf4401" diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/LICENSE b/Lombiq.EInvoiceValidator/node_modules/debug/LICENSE new file mode 100644 index 0000000..1a9820e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/debug/LICENSE @@ -0,0 +1,20 @@ +(The MIT License) + +Copyright (c) 2014-2017 TJ Holowaychuk +Copyright (c) 2018-2021 Josh Junon + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software +and associated documentation files (the 'Software'), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/README.md b/Lombiq.EInvoiceValidator/node_modules/debug/README.md new file mode 100644 index 0000000..9ebdfbf --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/debug/README.md @@ -0,0 +1,481 @@ +# debug +[![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers) +[![OpenCollective](https://opencollective.com/debug/sponsors/badge.svg)](#sponsors) + + + +A tiny JavaScript debugging utility modelled after Node.js core's debugging +technique. Works in Node.js and web browsers. + +## Installation + +```bash +$ npm install debug +``` + +## Usage + +`debug` exposes a function; simply pass this function the name of your module, and it will return a decorated version of `console.error` for you to pass debug statements to. This will allow you to toggle the debug output for different parts of your module as well as the module as a whole. + +Example [_app.js_](./examples/node/app.js): + +```js +var debug = require('debug')('http') + , http = require('http') + , name = 'My App'; + +// fake app + +debug('booting %o', name); + +http.createServer(function(req, res){ + debug(req.method + ' ' + req.url); + res.end('hello\n'); +}).listen(3000, function(){ + debug('listening'); +}); + +// fake worker of some kind + +require('./worker'); +``` + +Example [_worker.js_](./examples/node/worker.js): + +```js +var a = require('debug')('worker:a') + , b = require('debug')('worker:b'); + +function work() { + a('doing lots of uninteresting work'); + setTimeout(work, Math.random() * 1000); +} + +work(); + +function workb() { + b('doing some work'); + setTimeout(workb, Math.random() * 2000); +} + +workb(); +``` + +The `DEBUG` environment variable is then used to enable these based on space or +comma-delimited names. + +Here are some examples: + +screen shot 2017-08-08 at 12 53 04 pm +screen shot 2017-08-08 at 12 53 38 pm +screen shot 2017-08-08 at 12 53 25 pm + +#### Windows command prompt notes + +##### CMD + +On Windows the environment variable is set using the `set` command. + +```cmd +set DEBUG=*,-not_this +``` + +Example: + +```cmd +set DEBUG=* & node app.js +``` + +##### PowerShell (VS Code default) + +PowerShell uses different syntax to set environment variables. + +```cmd +$env:DEBUG = "*,-not_this" +``` + +Example: + +```cmd +$env:DEBUG='app';node app.js +``` + +Then, run the program to be debugged as usual. + +npm script example: +```js + "windowsDebug": "@powershell -Command $env:DEBUG='*';node app.js", +``` + +## Namespace Colors + +Every debug instance has a color generated for it based on its namespace name. +This helps when visually parsing the debug output to identify which debug instance +a debug line belongs to. + +#### Node.js + +In Node.js, colors are enabled when stderr is a TTY. You also _should_ install +the [`supports-color`](https://npmjs.org/supports-color) module alongside debug, +otherwise debug will only use a small handful of basic colors. + + + +#### Web Browser + +Colors are also enabled on "Web Inspectors" that understand the `%c` formatting +option. These are WebKit web inspectors, Firefox ([since version +31](https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/)) +and the Firebug plugin for Firefox (any version). + + + + +## Millisecond diff + +When actively developing an application it can be useful to see when the time spent between one `debug()` call and the next. Suppose for example you invoke `debug()` before requesting a resource, and after as well, the "+NNNms" will show you how much time was spent between calls. + + + +When stdout is not a TTY, `Date#toISOString()` is used, making it more useful for logging the debug information as shown below: + + + + +## Conventions + +If you're using this in one or more of your libraries, you _should_ use the name of your library so that developers may toggle debugging as desired without guessing names. If you have more than one debuggers you _should_ prefix them with your library name and use ":" to separate features. For example "bodyParser" from Connect would then be "connect:bodyParser". If you append a "*" to the end of your name, it will always be enabled regardless of the setting of the DEBUG environment variable. You can then use it for normal output as well as debug output. + +## Wildcards + +The `*` character may be used as a wildcard. Suppose for example your library has +debuggers named "connect:bodyParser", "connect:compress", "connect:session", +instead of listing all three with +`DEBUG=connect:bodyParser,connect:compress,connect:session`, you may simply do +`DEBUG=connect:*`, or to run everything using this module simply use `DEBUG=*`. + +You can also exclude specific debuggers by prefixing them with a "-" character. +For example, `DEBUG=*,-connect:*` would include all debuggers except those +starting with "connect:". + +## Environment Variables + +When running through Node.js, you can set a few environment variables that will +change the behavior of the debug logging: + +| Name | Purpose | +|-----------|-------------------------------------------------| +| `DEBUG` | Enables/disables specific debugging namespaces. | +| `DEBUG_HIDE_DATE` | Hide date from debug output (non-TTY). | +| `DEBUG_COLORS`| Whether or not to use colors in the debug output. | +| `DEBUG_DEPTH` | Object inspection depth. | +| `DEBUG_SHOW_HIDDEN` | Shows hidden properties on inspected objects. | + + +__Note:__ The environment variables beginning with `DEBUG_` end up being +converted into an Options object that gets used with `%o`/`%O` formatters. +See the Node.js documentation for +[`util.inspect()`](https://nodejs.org/api/util.html#util_util_inspect_object_options) +for the complete list. + +## Formatters + +Debug uses [printf-style](https://wikipedia.org/wiki/Printf_format_string) formatting. +Below are the officially supported formatters: + +| Formatter | Representation | +|-----------|----------------| +| `%O` | Pretty-print an Object on multiple lines. | +| `%o` | Pretty-print an Object all on a single line. | +| `%s` | String. | +| `%d` | Number (both integer and float). | +| `%j` | JSON. Replaced with the string '[Circular]' if the argument contains circular references. | +| `%%` | Single percent sign ('%'). This does not consume an argument. | + + +### Custom formatters + +You can add custom formatters by extending the `debug.formatters` object. +For example, if you wanted to add support for rendering a Buffer as hex with +`%h`, you could do something like: + +```js +const createDebug = require('debug') +createDebug.formatters.h = (v) => { + return v.toString('hex') +} + +// …elsewhere +const debug = createDebug('foo') +debug('this is hex: %h', new Buffer('hello world')) +// foo this is hex: 68656c6c6f20776f726c6421 +0ms +``` + + +## Browser Support + +You can build a browser-ready script using [browserify](https://github.com/substack/node-browserify), +or just use the [browserify-as-a-service](https://wzrd.in/) [build](https://wzrd.in/standalone/debug@latest), +if you don't want to build it yourself. + +Debug's enable state is currently persisted by `localStorage`. +Consider the situation shown below where you have `worker:a` and `worker:b`, +and wish to debug both. You can enable this using `localStorage.debug`: + +```js +localStorage.debug = 'worker:*' +``` + +And then refresh the page. + +```js +a = debug('worker:a'); +b = debug('worker:b'); + +setInterval(function(){ + a('doing some work'); +}, 1000); + +setInterval(function(){ + b('doing some work'); +}, 1200); +``` + +In Chromium-based web browsers (e.g. Brave, Chrome, and Electron), the JavaScript console will—by default—only show messages logged by `debug` if the "Verbose" log level is _enabled_. + + + +## Output streams + + By default `debug` will log to stderr, however this can be configured per-namespace by overriding the `log` method: + +Example [_stdout.js_](./examples/node/stdout.js): + +```js +var debug = require('debug'); +var error = debug('app:error'); + +// by default stderr is used +error('goes to stderr!'); + +var log = debug('app:log'); +// set this namespace to log via console.log +log.log = console.log.bind(console); // don't forget to bind to console! +log('goes to stdout'); +error('still goes to stderr!'); + +// set all output to go via console.info +// overrides all per-namespace log settings +debug.log = console.info.bind(console); +error('now goes to stdout via console.info'); +log('still goes to stdout, but via console.info now'); +``` + +## Extend +You can simply extend debugger +```js +const log = require('debug')('auth'); + +//creates new debug instance with extended namespace +const logSign = log.extend('sign'); +const logLogin = log.extend('login'); + +log('hello'); // auth hello +logSign('hello'); //auth:sign hello +logLogin('hello'); //auth:login hello +``` + +## Set dynamically + +You can also enable debug dynamically by calling the `enable()` method : + +```js +let debug = require('debug'); + +console.log(1, debug.enabled('test')); + +debug.enable('test'); +console.log(2, debug.enabled('test')); + +debug.disable(); +console.log(3, debug.enabled('test')); + +``` + +print : +``` +1 false +2 true +3 false +``` + +Usage : +`enable(namespaces)` +`namespaces` can include modes separated by a colon and wildcards. + +Note that calling `enable()` completely overrides previously set DEBUG variable : + +``` +$ DEBUG=foo node -e 'var dbg = require("debug"); dbg.enable("bar"); console.log(dbg.enabled("foo"))' +=> false +``` + +`disable()` + +Will disable all namespaces. The functions returns the namespaces currently +enabled (and skipped). This can be useful if you want to disable debugging +temporarily without knowing what was enabled to begin with. + +For example: + +```js +let debug = require('debug'); +debug.enable('foo:*,-foo:bar'); +let namespaces = debug.disable(); +debug.enable(namespaces); +``` + +Note: There is no guarantee that the string will be identical to the initial +enable string, but semantically they will be identical. + +## Checking whether a debug target is enabled + +After you've created a debug instance, you can determine whether or not it is +enabled by checking the `enabled` property: + +```javascript +const debug = require('debug')('http'); + +if (debug.enabled) { + // do stuff... +} +``` + +You can also manually toggle this property to force the debug instance to be +enabled or disabled. + +## Usage in child processes + +Due to the way `debug` detects if the output is a TTY or not, colors are not shown in child processes when `stderr` is piped. A solution is to pass the `DEBUG_COLORS=1` environment variable to the child process. +For example: + +```javascript +worker = fork(WORKER_WRAP_PATH, [workerPath], { + stdio: [ + /* stdin: */ 0, + /* stdout: */ 'pipe', + /* stderr: */ 'pipe', + 'ipc', + ], + env: Object.assign({}, process.env, { + DEBUG_COLORS: 1 // without this settings, colors won't be shown + }), +}); + +worker.stderr.pipe(process.stderr, { end: false }); +``` + + +## Authors + + - TJ Holowaychuk + - Nathan Rajlich + - Andrew Rhyne + - Josh Junon + +## Backers + +Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/debug#backer)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +## Sponsors + +Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/debug#sponsor)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +## License + +(The MIT License) + +Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca> +Copyright (c) 2018-2021 Josh Junon + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/package.json b/Lombiq.EInvoiceValidator/node_modules/debug/package.json new file mode 100644 index 0000000..ee8abb5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/debug/package.json @@ -0,0 +1,64 @@ +{ + "name": "debug", + "version": "4.4.3", + "repository": { + "type": "git", + "url": "git://github.com/debug-js/debug.git" + }, + "description": "Lightweight debugging utility for Node.js and the browser", + "keywords": [ + "debug", + "log", + "debugger" + ], + "files": [ + "src", + "LICENSE", + "README.md" + ], + "author": "Josh Junon (https://github.com/qix-)", + "contributors": [ + "TJ Holowaychuk ", + "Nathan Rajlich (http://n8.io)", + "Andrew Rhyne " + ], + "license": "MIT", + "scripts": { + "lint": "xo", + "test": "npm run test:node && npm run test:browser && npm run lint", + "test:node": "mocha test.js test.node.js", + "test:browser": "karma start --single-run", + "test:coverage": "cat ./coverage/lcov.info | coveralls" + }, + "dependencies": { + "ms": "^2.1.3" + }, + "devDependencies": { + "brfs": "^2.0.1", + "browserify": "^16.2.3", + "coveralls": "^3.0.2", + "karma": "^3.1.4", + "karma-browserify": "^6.0.0", + "karma-chrome-launcher": "^2.2.0", + "karma-mocha": "^1.3.0", + "mocha": "^5.2.0", + "mocha-lcov-reporter": "^1.2.0", + "sinon": "^14.0.0", + "xo": "^0.23.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + }, + "main": "./src/index.js", + "browser": "./src/browser.js", + "engines": { + "node": ">=6.0" + }, + "xo": { + "rules": { + "import/extensions": "off" + } + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/src/browser.js b/Lombiq.EInvoiceValidator/node_modules/debug/src/browser.js new file mode 100644 index 0000000..5993451 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/debug/src/browser.js @@ -0,0 +1,272 @@ +/* eslint-env browser */ + +/** + * This is the web browser implementation of `debug()`. + */ + +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; +exports.storage = localstorage(); +exports.destroy = (() => { + let warned = false; + + return () => { + if (!warned) { + warned = true; + console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); + } + }; +})(); + +/** + * Colors. + */ + +exports.colors = [ + '#0000CC', + '#0000FF', + '#0033CC', + '#0033FF', + '#0066CC', + '#0066FF', + '#0099CC', + '#0099FF', + '#00CC00', + '#00CC33', + '#00CC66', + '#00CC99', + '#00CCCC', + '#00CCFF', + '#3300CC', + '#3300FF', + '#3333CC', + '#3333FF', + '#3366CC', + '#3366FF', + '#3399CC', + '#3399FF', + '#33CC00', + '#33CC33', + '#33CC66', + '#33CC99', + '#33CCCC', + '#33CCFF', + '#6600CC', + '#6600FF', + '#6633CC', + '#6633FF', + '#66CC00', + '#66CC33', + '#9900CC', + '#9900FF', + '#9933CC', + '#9933FF', + '#99CC00', + '#99CC33', + '#CC0000', + '#CC0033', + '#CC0066', + '#CC0099', + '#CC00CC', + '#CC00FF', + '#CC3300', + '#CC3333', + '#CC3366', + '#CC3399', + '#CC33CC', + '#CC33FF', + '#CC6600', + '#CC6633', + '#CC9900', + '#CC9933', + '#CCCC00', + '#CCCC33', + '#FF0000', + '#FF0033', + '#FF0066', + '#FF0099', + '#FF00CC', + '#FF00FF', + '#FF3300', + '#FF3333', + '#FF3366', + '#FF3399', + '#FF33CC', + '#FF33FF', + '#FF6600', + '#FF6633', + '#FF9900', + '#FF9933', + '#FFCC00', + '#FFCC33' +]; + +/** + * Currently only WebKit-based Web Inspectors, Firefox >= v31, + * and the Firebug extension (any Firefox version) are known + * to support "%c" CSS customizations. + * + * TODO: add a `localStorage` variable to explicitly enable/disable colors + */ + +// eslint-disable-next-line complexity +function useColors() { + // NB: In an Electron preload script, document will be defined but not fully + // initialized. Since we know we're in Chrome, we'll just detect this case + // explicitly + if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { + return true; + } + + // Internet Explorer and Edge do not support colors. + if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { + return false; + } + + let m; + + // Is webkit? http://stackoverflow.com/a/16459606/376773 + // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 + // eslint-disable-next-line no-return-assign + return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || + // Is firebug? http://stackoverflow.com/a/398120/376773 + (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || + // Is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + (typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31) || + // Double check webkit in userAgent just in case we are in a worker + (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); +} + +/** + * Colorize log arguments if enabled. + * + * @api public + */ + +function formatArgs(args) { + args[0] = (this.useColors ? '%c' : '') + + this.namespace + + (this.useColors ? ' %c' : ' ') + + args[0] + + (this.useColors ? '%c ' : ' ') + + '+' + module.exports.humanize(this.diff); + + if (!this.useColors) { + return; + } + + const c = 'color: ' + this.color; + args.splice(1, 0, c, 'color: inherit'); + + // The final "%c" is somewhat tricky, because there could be other + // arguments passed either before or after the %c, so we need to + // figure out the correct index to insert the CSS into + let index = 0; + let lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, match => { + if (match === '%%') { + return; + } + index++; + if (match === '%c') { + // We only are interested in the *last* %c + // (the user may have provided their own) + lastC = index; + } + }); + + args.splice(lastC, 0, c); +} + +/** + * Invokes `console.debug()` when available. + * No-op when `console.debug` is not a "function". + * If `console.debug` is not available, falls back + * to `console.log`. + * + * @api public + */ +exports.log = console.debug || console.log || (() => {}); + +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ +function save(namespaces) { + try { + if (namespaces) { + exports.storage.setItem('debug', namespaces); + } else { + exports.storage.removeItem('debug'); + } + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } +} + +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ +function load() { + let r; + try { + r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ; + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } + + // If debug isn't set in LS, and we're in Electron, try to load $DEBUG + if (!r && typeof process !== 'undefined' && 'env' in process) { + r = process.env.DEBUG; + } + + return r; +} + +/** + * Localstorage attempts to return the localstorage. + * + * This is necessary because safari throws + * when a user disables cookies/localstorage + * and you attempt to access it. + * + * @return {LocalStorage} + * @api private + */ + +function localstorage() { + try { + // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context + // The Browser also has localStorage in the global context. + return localStorage; + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } +} + +module.exports = require('./common')(exports); + +const {formatters} = module.exports; + +/** + * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + */ + +formatters.j = function (v) { + try { + return JSON.stringify(v); + } catch (error) { + return '[UnexpectedJSONParseError]: ' + error.message; + } +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/src/browser.min.js b/Lombiq.EInvoiceValidator/node_modules/debug/src/browser.min.js new file mode 100644 index 0000000..a59dfdf --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/debug/src/browser.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/debug@4.4.3/src/browser.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +function useColors(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+module.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;e.splice(1,0,o,"color: inherit");let t=0,C=0;e[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(t++,"%c"===e&&(C=t))})),e.splice(C,0,o)}function save(e){try{e?exports.storage.setItem("debug",e):exports.storage.removeItem("debug")}catch(e){}}function load(){let e;try{e=exports.storage.getItem("debug")||exports.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}function localstorage(){try{return localStorage}catch(e){}}exports.formatArgs=formatArgs,exports.save=save,exports.load=load,exports.useColors=useColors,exports.storage=localstorage(),exports.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),exports.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],exports.log=console.debug||console.log||(()=>{}),module.exports=require("./common")(exports);const{formatters:formatters}=module.exports;formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}; +//# sourceMappingURL=/sm/66243548d8e06e3f94aef131cf6cc4510f8ab7ca30757e3e334acf02de983f09.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/src/common.js b/Lombiq.EInvoiceValidator/node_modules/debug/src/common.js new file mode 100644 index 0000000..141cb57 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/debug/src/common.js @@ -0,0 +1,292 @@ + +/** + * This is the common logic for both the Node.js and web browser + * implementations of `debug()`. + */ + +function setup(env) { + createDebug.debug = createDebug; + createDebug.default = createDebug; + createDebug.coerce = coerce; + createDebug.disable = disable; + createDebug.enable = enable; + createDebug.enabled = enabled; + createDebug.humanize = require('ms'); + createDebug.destroy = destroy; + + Object.keys(env).forEach(key => { + createDebug[key] = env[key]; + }); + + /** + * The currently active debug mode names, and names to skip. + */ + + createDebug.names = []; + createDebug.skips = []; + + /** + * Map of special "%n" handling functions, for the debug "format" argument. + * + * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + */ + createDebug.formatters = {}; + + /** + * Selects a color for a debug namespace + * @param {String} namespace The namespace string for the debug instance to be colored + * @return {Number|String} An ANSI color code for the given namespace + * @api private + */ + function selectColor(namespace) { + let hash = 0; + + for (let i = 0; i < namespace.length; i++) { + hash = ((hash << 5) - hash) + namespace.charCodeAt(i); + hash |= 0; // Convert to 32bit integer + } + + return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; + } + createDebug.selectColor = selectColor; + + /** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ + function createDebug(namespace) { + let prevTime; + let enableOverride = null; + let namespacesCache; + let enabledCache; + + function debug(...args) { + // Disabled? + if (!debug.enabled) { + return; + } + + const self = debug; + + // Set `diff` timestamp + const curr = Number(new Date()); + const ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; + + args[0] = createDebug.coerce(args[0]); + + if (typeof args[0] !== 'string') { + // Anything else let's inspect with %O + args.unshift('%O'); + } + + // Apply any `formatters` transformations + let index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => { + // If we encounter an escaped % then don't increase the array index + if (match === '%%') { + return '%'; + } + index++; + const formatter = createDebug.formatters[format]; + if (typeof formatter === 'function') { + const val = args[index]; + match = formatter.call(self, val); + + // Now we need to remove `args[index]` since it's inlined in the `format` + args.splice(index, 1); + index--; + } + return match; + }); + + // Apply env-specific formatting (colors, etc.) + createDebug.formatArgs.call(self, args); + + const logFn = self.log || createDebug.log; + logFn.apply(self, args); + } + + debug.namespace = namespace; + debug.useColors = createDebug.useColors(); + debug.color = createDebug.selectColor(namespace); + debug.extend = extend; + debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release. + + Object.defineProperty(debug, 'enabled', { + enumerable: true, + configurable: false, + get: () => { + if (enableOverride !== null) { + return enableOverride; + } + if (namespacesCache !== createDebug.namespaces) { + namespacesCache = createDebug.namespaces; + enabledCache = createDebug.enabled(namespace); + } + + return enabledCache; + }, + set: v => { + enableOverride = v; + } + }); + + // Env-specific initialization logic for debug instances + if (typeof createDebug.init === 'function') { + createDebug.init(debug); + } + + return debug; + } + + function extend(namespace, delimiter) { + const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); + newDebug.log = this.log; + return newDebug; + } + + /** + * Enables a debug mode by namespaces. This can include modes + * separated by a colon and wildcards. + * + * @param {String} namespaces + * @api public + */ + function enable(namespaces) { + createDebug.save(namespaces); + createDebug.namespaces = namespaces; + + createDebug.names = []; + createDebug.skips = []; + + const split = (typeof namespaces === 'string' ? namespaces : '') + .trim() + .replace(/\s+/g, ',') + .split(',') + .filter(Boolean); + + for (const ns of split) { + if (ns[0] === '-') { + createDebug.skips.push(ns.slice(1)); + } else { + createDebug.names.push(ns); + } + } + } + + /** + * Checks if the given string matches a namespace template, honoring + * asterisks as wildcards. + * + * @param {String} search + * @param {String} template + * @return {Boolean} + */ + function matchesTemplate(search, template) { + let searchIndex = 0; + let templateIndex = 0; + let starIndex = -1; + let matchIndex = 0; + + while (searchIndex < search.length) { + if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) { + // Match character or proceed with wildcard + if (template[templateIndex] === '*') { + starIndex = templateIndex; + matchIndex = searchIndex; + templateIndex++; // Skip the '*' + } else { + searchIndex++; + templateIndex++; + } + } else if (starIndex !== -1) { // eslint-disable-line no-negated-condition + // Backtrack to the last '*' and try to match more characters + templateIndex = starIndex + 1; + matchIndex++; + searchIndex = matchIndex; + } else { + return false; // No match + } + } + + // Handle trailing '*' in template + while (templateIndex < template.length && template[templateIndex] === '*') { + templateIndex++; + } + + return templateIndex === template.length; + } + + /** + * Disable debug output. + * + * @return {String} namespaces + * @api public + */ + function disable() { + const namespaces = [ + ...createDebug.names, + ...createDebug.skips.map(namespace => '-' + namespace) + ].join(','); + createDebug.enable(''); + return namespaces; + } + + /** + * Returns true if the given mode name is enabled, false otherwise. + * + * @param {String} name + * @return {Boolean} + * @api public + */ + function enabled(name) { + for (const skip of createDebug.skips) { + if (matchesTemplate(name, skip)) { + return false; + } + } + + for (const ns of createDebug.names) { + if (matchesTemplate(name, ns)) { + return true; + } + } + + return false; + } + + /** + * Coerce `val`. + * + * @param {Mixed} val + * @return {Mixed} + * @api private + */ + function coerce(val) { + if (val instanceof Error) { + return val.stack || val.message; + } + return val; + } + + /** + * XXX DO NOT USE. This is a temporary stub function. + * XXX It WILL be removed in the next major release. + */ + function destroy() { + console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); + } + + createDebug.enable(createDebug.load()); + + return createDebug; +} + +module.exports = setup; diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/src/common.min.js b/Lombiq.EInvoiceValidator/node_modules/debug/src/common.min.js new file mode 100644 index 0000000..c9cc42d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/debug/src/common.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/debug@4.4.3/src/common.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +function setup(e){function n(e){let o,r,s,l=null;function a(...e){if(!a.enabled)return;const t=a,r=Number(new Date),s=r-(o||r);t.diff=s,t.prev=o,t.curr=r,o=r,e[0]=n.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let l=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((o,r)=>{if("%%"===o)return"%";l++;const s=n.formatters[r];if("function"==typeof s){const n=e[l];o=s.call(t,n),e.splice(l,1),l--}return o})),n.formatArgs.call(t,e);(t.log||n.log).apply(t,e)}return a.namespace=e,a.useColors=n.useColors(),a.color=n.selectColor(e),a.extend=t,a.destroy=n.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==l?l:(r!==n.namespaces&&(r=n.namespaces,s=n.enabled(e)),s),set:e=>{l=e}}),"function"==typeof n.init&&n.init(a),a}function t(e,t){const o=n(this.namespace+(void 0===t?":":t)+e);return o.log=this.log,o}function o(e,n){let t=0,o=0,r=-1,s=0;for(;t"-"+e))].join(",");return n.enable(""),e},n.enable=function(e){n.save(e),n.namespaces=e,n.names=[],n.skips=[];const t=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of t)"-"===e[0]?n.skips.push(e.slice(1)):n.names.push(e)},n.enabled=function(e){for(const t of n.skips)if(o(e,t))return!1;for(const t of n.names)if(o(e,t))return!0;return!1},n.humanize=require("ms"),n.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((t=>{n[t]=e[t]})),n.names=[],n.skips=[],n.formatters={},n.selectColor=function(e){let t=0;for(let n=0;n {}, + 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.' +); + +/** + * Colors. + */ + +exports.colors = [6, 2, 3, 4, 5, 1]; + +try { + // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json) + // eslint-disable-next-line import/no-extraneous-dependencies + const supportsColor = require('supports-color'); + + if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) { + exports.colors = [ + 20, + 21, + 26, + 27, + 32, + 33, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 56, + 57, + 62, + 63, + 68, + 69, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 92, + 93, + 98, + 99, + 112, + 113, + 128, + 129, + 134, + 135, + 148, + 149, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 178, + 179, + 184, + 185, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 214, + 215, + 220, + 221 + ]; + } +} catch (error) { + // Swallow - we only care if `supports-color` is available; it doesn't have to be. +} + +/** + * Build up the default `inspectOpts` object from the environment variables. + * + * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js + */ + +exports.inspectOpts = Object.keys(process.env).filter(key => { + return /^debug_/i.test(key); +}).reduce((obj, key) => { + // Camel-case + const prop = key + .substring(6) + .toLowerCase() + .replace(/_([a-z])/g, (_, k) => { + return k.toUpperCase(); + }); + + // Coerce string value into JS value + let val = process.env[key]; + if (/^(yes|on|true|enabled)$/i.test(val)) { + val = true; + } else if (/^(no|off|false|disabled)$/i.test(val)) { + val = false; + } else if (val === 'null') { + val = null; + } else { + val = Number(val); + } + + obj[prop] = val; + return obj; +}, {}); + +/** + * Is stdout a TTY? Colored output is enabled when `true`. + */ + +function useColors() { + return 'colors' in exports.inspectOpts ? + Boolean(exports.inspectOpts.colors) : + tty.isatty(process.stderr.fd); +} + +/** + * Adds ANSI color escape codes if enabled. + * + * @api public + */ + +function formatArgs(args) { + const {namespace: name, useColors} = this; + + if (useColors) { + const c = this.color; + const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c); + const prefix = ` ${colorCode};1m${name} \u001B[0m`; + + args[0] = prefix + args[0].split('\n').join('\n' + prefix); + args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m'); + } else { + args[0] = getDate() + name + ' ' + args[0]; + } +} + +function getDate() { + if (exports.inspectOpts.hideDate) { + return ''; + } + return new Date().toISOString() + ' '; +} + +/** + * Invokes `util.formatWithOptions()` with the specified arguments and writes to stderr. + */ + +function log(...args) { + return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + '\n'); +} + +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ +function save(namespaces) { + if (namespaces) { + process.env.DEBUG = namespaces; + } else { + // If you set a process.env field to null or undefined, it gets cast to the + // string 'null' or 'undefined'. Just delete instead. + delete process.env.DEBUG; + } +} + +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ + +function load() { + return process.env.DEBUG; +} + +/** + * Init logic for `debug` instances. + * + * Create a new `inspectOpts` object in case `useColors` is set + * differently for a particular `debug` instance. + */ + +function init(debug) { + debug.inspectOpts = {}; + + const keys = Object.keys(exports.inspectOpts); + for (let i = 0; i < keys.length; i++) { + debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; + } +} + +module.exports = require('./common')(exports); + +const {formatters} = module.exports; + +/** + * Map %o to `util.inspect()`, all on a single line. + */ + +formatters.o = function (v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts) + .split('\n') + .map(str => str.trim()) + .join(' '); +}; + +/** + * Map %O to `util.inspect()`, allowing multiple lines if needed. + */ + +formatters.O = function (v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts); +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/src/node.min.js b/Lombiq.EInvoiceValidator/node_modules/debug/src/node.min.js new file mode 100644 index 0000000..0033e53 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/debug/src/node.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/debug@4.4.3/src/node.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +const tty=require("tty"),util=require("util");exports.init=init,exports.log=log,exports.formatArgs=formatArgs,exports.save=save,exports.load=load,exports.useColors=useColors,exports.destroy=util.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),exports.colors=[6,2,3,4,5,1];try{const t=require("supports-color");t&&(t.stderr||t).level>=2&&(exports.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(t){}function useColors(){return"colors"in exports.inspectOpts?Boolean(exports.inspectOpts.colors):tty.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:e,useColors:s}=this;if(s){const s=this.color,o="[3"+(s<8?s:"8;5;"+s),r=` ${o};1m${e} `;t[0]=r+t[0].split("\n").join("\n"+r),t.push(o+"m+"+module.exports.humanize(this.diff)+"")}else t[0]=getDate()+e+" "+t[0]}function getDate(){return exports.inspectOpts.hideDate?"":(new Date).toISOString()+" "}function log(...t){return process.stderr.write(util.formatWithOptions(exports.inspectOpts,...t)+"\n")}function save(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function load(){return process.env.DEBUG}function init(t){t.inspectOpts={};const e=Object.keys(exports.inspectOpts);for(let s=0;s/^debug_/i.test(t))).reduce(((t,e)=>{const s=e.substring(6).toLowerCase().replace(/_([a-z])/g,((t,e)=>e.toUpperCase()));let o=process.env[e];return o=!!/^(yes|on|true|enabled)$/i.test(o)||!/^(no|off|false|disabled)$/i.test(o)&&("null"===o?null:Number(o)),t[s]=o,t}),{}),module.exports=require("./common")(exports);const{formatters:formatters}=module.exports;formatters.o=function(t){return this.inspectOpts.colors=this.useColors,util.inspect(t,this.inspectOpts).split("\n").map((t=>t.trim())).join(" ")},formatters.O=function(t){return this.inspectOpts.colors=this.useColors,util.inspect(t,this.inspectOpts)}; +//# sourceMappingURL=/sm/f0cd85d573a1f2650c3c4aa22c580ec8221fac2674892d828965c1d24fe1fe60.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/License b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/License new file mode 100644 index 0000000..4804b7a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/License @@ -0,0 +1,19 @@ +Copyright (c) 2011 Debuggable Limited + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/Makefile b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/Makefile new file mode 100644 index 0000000..b4ff85a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/Makefile @@ -0,0 +1,7 @@ +SHELL := /bin/bash + +test: + @./test/run.js + +.PHONY: test + diff --git a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/Readme.md b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/Readme.md new file mode 100644 index 0000000..aca36f9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/Readme.md @@ -0,0 +1,141 @@ +# delayed-stream + +Buffers events from a stream until you are ready to handle them. + +## Installation + +``` bash +npm install delayed-stream +``` + +## Usage + +The following example shows how to write a http echo server that delays its +response by 1000 ms. + +``` javascript +var DelayedStream = require('delayed-stream'); +var http = require('http'); + +http.createServer(function(req, res) { + var delayed = DelayedStream.create(req); + + setTimeout(function() { + res.writeHead(200); + delayed.pipe(res); + }, 1000); +}); +``` + +If you are not using `Stream#pipe`, you can also manually release the buffered +events by calling `delayedStream.resume()`: + +``` javascript +var delayed = DelayedStream.create(req); + +setTimeout(function() { + // Emit all buffered events and resume underlaying source + delayed.resume(); +}, 1000); +``` + +## Implementation + +In order to use this meta stream properly, here are a few things you should +know about the implementation. + +### Event Buffering / Proxying + +All events of the `source` stream are hijacked by overwriting the `source.emit` +method. Until node implements a catch-all event listener, this is the only way. + +However, delayed-stream still continues to emit all events it captures on the +`source`, regardless of whether you have released the delayed stream yet or +not. + +Upon creation, delayed-stream captures all `source` events and stores them in +an internal event buffer. Once `delayedStream.release()` is called, all +buffered events are emitted on the `delayedStream`, and the event buffer is +cleared. After that, delayed-stream merely acts as a proxy for the underlaying +source. + +### Error handling + +Error events on `source` are buffered / proxied just like any other events. +However, `delayedStream.create` attaches a no-op `'error'` listener to the +`source`. This way you only have to handle errors on the `delayedStream` +object, rather than in two places. + +### Buffer limits + +delayed-stream provides a `maxDataSize` property that can be used to limit +the amount of data being buffered. In order to protect you from bad `source` +streams that don't react to `source.pause()`, this feature is enabled by +default. + +## API + +### DelayedStream.create(source, [options]) + +Returns a new `delayedStream`. Available options are: + +* `pauseStream` +* `maxDataSize` + +The description for those properties can be found below. + +### delayedStream.source + +The `source` stream managed by this object. This is useful if you are +passing your `delayedStream` around, and you still want to access properties +on the `source` object. + +### delayedStream.pauseStream = true + +Whether to pause the underlaying `source` when calling +`DelayedStream.create()`. Modifying this property afterwards has no effect. + +### delayedStream.maxDataSize = 1024 * 1024 + +The amount of data to buffer before emitting an `error`. + +If the underlaying source is emitting `Buffer` objects, the `maxDataSize` +refers to bytes. + +If the underlaying source is emitting JavaScript strings, the size refers to +characters. + +If you know what you are doing, you can set this property to `Infinity` to +disable this feature. You can also modify this property during runtime. + +### delayedStream.dataSize = 0 + +The amount of data buffered so far. + +### delayedStream.readable + +An ECMA5 getter that returns the value of `source.readable`. + +### delayedStream.resume() + +If the `delayedStream` has not been released so far, `delayedStream.release()` +is called. + +In either case, `source.resume()` is called. + +### delayedStream.pause() + +Calls `source.pause()`. + +### delayedStream.pipe(dest) + +Calls `delayedStream.resume()` and then proxies the arguments to `source.pipe`. + +### delayedStream.release() + +Emits and clears all events that have been buffered up so far. This does not +resume the underlaying source, use `delayedStream.resume()` instead. + +## License + +delayed-stream is licensed under the MIT license. diff --git a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.js b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.js new file mode 100644 index 0000000..b38fc85 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.js @@ -0,0 +1,107 @@ +var Stream = require('stream').Stream; +var util = require('util'); + +module.exports = DelayedStream; +function DelayedStream() { + this.source = null; + this.dataSize = 0; + this.maxDataSize = 1024 * 1024; + this.pauseStream = true; + + this._maxDataSizeExceeded = false; + this._released = false; + this._bufferedEvents = []; +} +util.inherits(DelayedStream, Stream); + +DelayedStream.create = function(source, options) { + var delayedStream = new this(); + + options = options || {}; + for (var option in options) { + delayedStream[option] = options[option]; + } + + delayedStream.source = source; + + var realEmit = source.emit; + source.emit = function() { + delayedStream._handleEmit(arguments); + return realEmit.apply(source, arguments); + }; + + source.on('error', function() {}); + if (delayedStream.pauseStream) { + source.pause(); + } + + return delayedStream; +}; + +Object.defineProperty(DelayedStream.prototype, 'readable', { + configurable: true, + enumerable: true, + get: function() { + return this.source.readable; + } +}); + +DelayedStream.prototype.setEncoding = function() { + return this.source.setEncoding.apply(this.source, arguments); +}; + +DelayedStream.prototype.resume = function() { + if (!this._released) { + this.release(); + } + + this.source.resume(); +}; + +DelayedStream.prototype.pause = function() { + this.source.pause(); +}; + +DelayedStream.prototype.release = function() { + this._released = true; + + this._bufferedEvents.forEach(function(args) { + this.emit.apply(this, args); + }.bind(this)); + this._bufferedEvents = []; +}; + +DelayedStream.prototype.pipe = function() { + var r = Stream.prototype.pipe.apply(this, arguments); + this.resume(); + return r; +}; + +DelayedStream.prototype._handleEmit = function(args) { + if (this._released) { + this.emit.apply(this, args); + return; + } + + if (args[0] === 'data') { + this.dataSize += args[1].length; + this._checkIfMaxDataSizeExceeded(); + } + + this._bufferedEvents.push(args); +}; + +DelayedStream.prototype._checkIfMaxDataSizeExceeded = function() { + if (this._maxDataSizeExceeded) { + return; + } + + if (this.dataSize <= this.maxDataSize) { + return; + } + + this._maxDataSizeExceeded = true; + var message = + 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.' + this.emit('error', new Error(message)); +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.min.js b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.min.js new file mode 100644 index 0000000..f271243 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/delayed-stream@1.0.0/lib/delayed_stream.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var Stream=require("stream").Stream,util=require("util");function DelayedStream(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}module.exports=DelayedStream,util.inherits(DelayedStream,Stream),DelayedStream.create=function(e,t){var a=new this;for(var r in t=t||{})a[r]=t[r];a.source=e;var i=e.emit;return e.emit=function(){return a._handleEmit(arguments),i.apply(e,arguments)},e.on("error",(function(){})),a.pauseStream&&e.pause(),a},Object.defineProperty(DelayedStream.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},DelayedStream.prototype.resume=function(){this._released||this.release(),this.source.resume()},DelayedStream.prototype.pause=function(){this.source.pause()},DelayedStream.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},DelayedStream.prototype.pipe=function(){var e=Stream.prototype.pipe.apply(this,arguments);return this.resume(),e},DelayedStream.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}; +//# sourceMappingURL=/sm/5f648fd33e401c05f73819d3256d7cd87066a8a5cc7d56665b1d3242eb0f99d4.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/package.json b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/package.json new file mode 100644 index 0000000..eea3291 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/package.json @@ -0,0 +1,27 @@ +{ + "author": "Felix Geisendörfer (http://debuggable.com/)", + "contributors": [ + "Mike Atkins " + ], + "name": "delayed-stream", + "description": "Buffers events from a stream until you are ready to handle them.", + "license": "MIT", + "version": "1.0.0", + "homepage": "https://github.com/felixge/node-delayed-stream", + "repository": { + "type": "git", + "url": "git://github.com/felixge/node-delayed-stream.git" + }, + "main": "./lib/delayed_stream", + "engines": { + "node": ">=0.4.0" + }, + "scripts": { + "test": "make test" + }, + "dependencies": {}, + "devDependencies": { + "fake": "0.2.0", + "far": "0.0.1" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/CHANGELOG.md new file mode 100644 index 0000000..9b8b2f8 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/CHANGELOG.md @@ -0,0 +1,24 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.0.1](https://github.com/es-shims/dunder-proto/compare/v1.0.0...v1.0.1) - 2024-12-16 + +### Commits + +- [Fix] do not crash when `--disable-proto=throw` [`6c367d9`](https://github.com/es-shims/dunder-proto/commit/6c367d919bc1604778689a297bbdbfea65752847) +- [Tests] ensure noproto tests only use the current version of dunder-proto [`b02365b`](https://github.com/es-shims/dunder-proto/commit/b02365b9cf889c4a2cac7be0c3cfc90a789af36c) +- [Dev Deps] update `@arethetypeswrong/cli`, `@types/tape` [`e3c5c3b`](https://github.com/es-shims/dunder-proto/commit/e3c5c3bd81cf8cef7dff2eca19e558f0e307f666) +- [Deps] update `call-bind-apply-helpers` [`19f1da0`](https://github.com/es-shims/dunder-proto/commit/19f1da028b8dd0d05c85bfd8f7eed2819b686450) + +## v1.0.0 - 2024-12-06 + +### Commits + +- Initial implementation, tests, readme, types [`a5b74b0`](https://github.com/es-shims/dunder-proto/commit/a5b74b0082f5270cb0905cd9a2e533cee7498373) +- Initial commit [`73fb5a3`](https://github.com/es-shims/dunder-proto/commit/73fb5a353b51ac2ab00c9fdeb0114daffd4c07a8) +- npm init [`80152dc`](https://github.com/es-shims/dunder-proto/commit/80152dc98155da4eb046d9f67a87ed96e8280a1d) +- Only apps should have lockfiles [`03e6660`](https://github.com/es-shims/dunder-proto/commit/03e6660a1d70dc401f3e217a031475ec537243dd) diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/LICENSE b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/LICENSE new file mode 100644 index 0000000..34995e7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 ECMAScript Shims + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/README.md b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/README.md new file mode 100644 index 0000000..44b80a2 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/README.md @@ -0,0 +1,54 @@ +# dunder-proto [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +If available, the `Object.prototype.__proto__` accessor and mutator, call-bound. + +## Getting started + +```sh +npm install --save dunder-proto +``` + +## Usage/Examples + +```js +const assert = require('assert'); +const getDunder = require('dunder-proto/get'); +const setDunder = require('dunder-proto/set'); + +const obj = {}; + +assert.equal('toString' in obj, true); +assert.equal(getDunder(obj), Object.prototype); + +setDunder(obj, null); + +assert.equal('toString' in obj, false); +assert.equal(getDunder(obj), null); +``` + +## Tests + +Clone the repo, `npm install`, and run `npm test` + +[package-url]: https://npmjs.org/package/dunder-proto +[npm-version-svg]: https://versionbadg.es/es-shims/dunder-proto.svg +[deps-svg]: https://david-dm.org/es-shims/dunder-proto.svg +[deps-url]: https://david-dm.org/es-shims/dunder-proto +[dev-deps-svg]: https://david-dm.org/es-shims/dunder-proto/dev-status.svg +[dev-deps-url]: https://david-dm.org/es-shims/dunder-proto#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/dunder-proto.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/dunder-proto.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/dunder-proto.svg +[downloads-url]: https://npm-stat.com/charts.html?package=dunder-proto +[codecov-image]: https://codecov.io/gh/es-shims/dunder-proto/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/es-shims/dunder-proto/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/dunder-proto +[actions-url]: https://github.com/es-shims/dunder-proto/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.d.ts b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.d.ts new file mode 100644 index 0000000..c7e14d2 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.d.ts @@ -0,0 +1,5 @@ +declare function getDunderProto(target: {}): object | null; + +declare const x: false | typeof getDunderProto; + +export = x; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.js new file mode 100644 index 0000000..45093df --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.js @@ -0,0 +1,30 @@ +'use strict'; + +var callBind = require('call-bind-apply-helpers'); +var gOPD = require('gopd'); + +var hasProtoAccessor; +try { + // eslint-disable-next-line no-extra-parens, no-proto + hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype; +} catch (e) { + if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') { + throw e; + } +} + +// eslint-disable-next-line no-extra-parens +var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__')); + +var $Object = Object; +var $getPrototypeOf = $Object.getPrototypeOf; + +/** @type {import('./get')} */ +module.exports = desc && typeof desc.get === 'function' + ? callBind([desc.get]) + : typeof $getPrototypeOf === 'function' + ? /** @type {import('./get')} */ function getDunder(value) { + // eslint-disable-next-line eqeqeq + return $getPrototypeOf(value == null ? value : $Object(value)); + } + : false; diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.min.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.min.js new file mode 100644 index 0000000..6e31eba --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/dunder-proto@1.0.1/get.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var hasProtoAccessor,callBind=require("call-bind-apply-helpers"),gOPD=require("gopd");try{hasProtoAccessor=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var desc=!!hasProtoAccessor&&gOPD&&gOPD(Object.prototype,"__proto__"),$Object=Object,$getPrototypeOf=$Object.getPrototypeOf;module.exports=desc&&"function"==typeof desc.get?callBind([desc.get]):"function"==typeof $getPrototypeOf&&function(t){return $getPrototypeOf(null==t?t:$Object(t))}; +//# sourceMappingURL=/sm/38a53d71f27a89174aec1d006fca645d5dc9671b4b37ce562f118af69af94e38.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/package.json b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/package.json new file mode 100644 index 0000000..04a4036 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/package.json @@ -0,0 +1,76 @@ +{ + "name": "dunder-proto", + "version": "1.0.1", + "description": "If available, the `Object.prototype.__proto__` accessor and mutator, call-bound", + "main": false, + "exports": { + "./get": "./get.js", + "./set": "./set.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint --ext=.js,.mjs .", + "postlint": "tsc -p . && attw -P", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>= 10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/es-shims/dunder-proto.git" + }, + "author": "Jordan Harband ", + "license": "MIT", + "bugs": { + "url": "https://github.com/es-shims/dunder-proto/issues" + }, + "homepage": "https://github.com/es-shims/dunder-proto#readme", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.1", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.2", + "@types/tape": "^5.7.0", + "auto-changelog": "^2.5.0", + "encoding": "^0.1.13", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "testling": { + "files": "test/index.js" + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.d.ts b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.d.ts new file mode 100644 index 0000000..16bfdfe --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.d.ts @@ -0,0 +1,5 @@ +declare function setDunderProto

(target: {}, proto: P): P; + +declare const x: false | typeof setDunderProto; + +export = x; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.js new file mode 100644 index 0000000..6085b6e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.js @@ -0,0 +1,35 @@ +'use strict'; + +var callBind = require('call-bind-apply-helpers'); +var gOPD = require('gopd'); +var $TypeError = require('es-errors/type'); + +/** @type {{ __proto__?: object | null }} */ +var obj = {}; +try { + obj.__proto__ = null; // eslint-disable-line no-proto +} catch (e) { + if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') { + throw e; + } +} + +var hasProtoMutator = !('toString' in obj); + +// eslint-disable-next-line no-extra-parens +var desc = gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__')); + +/** @type {import('./set')} */ +module.exports = hasProtoMutator && ( +// eslint-disable-next-line no-extra-parens + (!!desc && typeof desc.set === 'function' && /** @type {import('./set')} */ (callBind([desc.set]))) + || /** @type {import('./set')} */ function setDunder(object, proto) { + // this is node v0.10 or older, which doesn't have Object.setPrototypeOf and has undeniable __proto__ + if (object == null) { // eslint-disable-line eqeqeq + throw new $TypeError('set Object.prototype.__proto__ called on null or undefined'); + } + // eslint-disable-next-line no-proto, no-param-reassign, no-extra-parens + /** @type {{ __proto__?: object | null }} */ (object).__proto__ = proto; + return proto; + } +); diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.min.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.min.js new file mode 100644 index 0000000..2a16aab --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/dunder-proto@1.0.1/set.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var callBind=require("call-bind-apply-helpers"),gOPD=require("gopd"),$TypeError=require("es-errors/type"),obj={};try{obj.__proto__=null}catch(o){if(!o||"object"!=typeof o||!("code"in o)||"ERR_PROTO_ACCESS"!==o.code)throw o}var hasProtoMutator=!("toString"in obj),desc=gOPD&&gOPD(Object.prototype,"__proto__");module.exports=hasProtoMutator&&(!!desc&&"function"==typeof desc.set&&callBind([desc.set])||function(o,e){if(null==o)throw new $TypeError("set Object.prototype.__proto__ called on null or undefined");return o.__proto__=e,e}); +//# sourceMappingURL=/sm/3205813a68d50602d6b5e6e7d2ecae49dcc6c0b5669b51d8573332e267df7670.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.js new file mode 100644 index 0000000..253f183 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.js @@ -0,0 +1,34 @@ +'use strict'; + +var test = require('tape'); + +var getDunderProto = require('../get'); + +test('getDunderProto', { skip: !getDunderProto }, function (t) { + if (!getDunderProto) { + throw 'should never happen; this is just for type narrowing'; // eslint-disable-line no-throw-literal + } + + // @ts-expect-error + t['throws'](function () { getDunderProto(); }, TypeError, 'throws if no argument'); + // @ts-expect-error + t['throws'](function () { getDunderProto(undefined); }, TypeError, 'throws with undefined'); + // @ts-expect-error + t['throws'](function () { getDunderProto(null); }, TypeError, 'throws with null'); + + t.equal(getDunderProto({}), Object.prototype); + t.equal(getDunderProto([]), Array.prototype); + t.equal(getDunderProto(function () {}), Function.prototype); + t.equal(getDunderProto(/./g), RegExp.prototype); + t.equal(getDunderProto(42), Number.prototype); + t.equal(getDunderProto(true), Boolean.prototype); + t.equal(getDunderProto('foo'), String.prototype); + + t.end(); +}); + +test('no dunder proto', { skip: !!getDunderProto }, function (t) { + t.notOk('__proto__' in Object.prototype, 'no __proto__ in Object.prototype'); + + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.min.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.min.js new file mode 100644 index 0000000..d52b894 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/dunder-proto@1.0.1/test/get.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var test=require("tape"),getDunderProto=require("../get");test("getDunderProto",{skip:!getDunderProto},(function(t){if(!getDunderProto)throw"should never happen; this is just for type narrowing";t.throws((function(){getDunderProto()}),TypeError,"throws if no argument"),t.throws((function(){getDunderProto(void 0)}),TypeError,"throws with undefined"),t.throws((function(){getDunderProto(null)}),TypeError,"throws with null"),t.equal(getDunderProto({}),Object.prototype),t.equal(getDunderProto([]),Array.prototype),t.equal(getDunderProto((function(){})),Function.prototype),t.equal(getDunderProto(/./g),RegExp.prototype),t.equal(getDunderProto(42),Number.prototype),t.equal(getDunderProto(!0),Boolean.prototype),t.equal(getDunderProto("foo"),String.prototype),t.end()})),test("no dunder proto",{skip:!!getDunderProto},(function(t){t.notOk("__proto__"in Object.prototype,"no __proto__ in Object.prototype"),t.end()})); +//# sourceMappingURL=/sm/4bd5d5b0299f9426e270cc504fa123ca2f924cfef13a42d57bba410475e7b72a.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.js new file mode 100644 index 0000000..08ff36f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.js @@ -0,0 +1,4 @@ +'use strict'; + +require('./get'); +require('./set'); diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.min.js new file mode 100644 index 0000000..59e27bf --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/dunder-proto@1.0.1/test/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";require("./get"),require("./set"); +//# sourceMappingURL=/sm/e2b6ac265edb74c3c6efc194eac200f4bd02b803f26668d56bdfcfe7dd637f89.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.js new file mode 100644 index 0000000..c3bfe4d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.js @@ -0,0 +1,50 @@ +'use strict'; + +var test = require('tape'); + +var setDunderProto = require('../set'); + +test('setDunderProto', { skip: !setDunderProto }, function (t) { + if (!setDunderProto) { + throw 'should never happen; this is just for type narrowing'; // eslint-disable-line no-throw-literal + } + + // @ts-expect-error + t['throws'](function () { setDunderProto(); }, TypeError, 'throws if no arguments'); + // @ts-expect-error + t['throws'](function () { setDunderProto(undefined); }, TypeError, 'throws with undefined and nothing'); + // @ts-expect-error + t['throws'](function () { setDunderProto(undefined, undefined); }, TypeError, 'throws with undefined and undefined'); + // @ts-expect-error + t['throws'](function () { setDunderProto(null); }, TypeError, 'throws with null and undefined'); + // @ts-expect-error + t['throws'](function () { setDunderProto(null, undefined); }, TypeError, 'throws with null and undefined'); + + /** @type {{ inherited?: boolean }} */ + var obj = {}; + t.ok('toString' in obj, 'object initially has toString'); + + setDunderProto(obj, null); + t.notOk('toString' in obj, 'object no longer has toString'); + + t.notOk('inherited' in obj, 'object lacks inherited property'); + setDunderProto(obj, { inherited: true }); + t.equal(obj.inherited, true, 'object has inherited property'); + + t.end(); +}); + +test('no dunder proto', { skip: !!setDunderProto }, function (t) { + if ('__proto__' in Object.prototype) { + t['throws']( + // @ts-expect-error + function () { ({}).__proto__ = null; }, // eslint-disable-line no-proto + Error, + 'throws when setting Object.prototype.__proto__' + ); + } else { + t.notOk('__proto__' in Object.prototype, 'no __proto__ in Object.prototype'); + } + + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.min.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.min.js new file mode 100644 index 0000000..f481856 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/dunder-proto@1.0.1/test/set.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var test=require("tape"),setDunderProto=require("../set");test("setDunderProto",{skip:!setDunderProto},(function(t){if(!setDunderProto)throw"should never happen; this is just for type narrowing";t.throws((function(){setDunderProto()}),TypeError,"throws if no arguments"),t.throws((function(){setDunderProto(void 0)}),TypeError,"throws with undefined and nothing"),t.throws((function(){setDunderProto(void 0,void 0)}),TypeError,"throws with undefined and undefined"),t.throws((function(){setDunderProto(null)}),TypeError,"throws with null and undefined"),t.throws((function(){setDunderProto(null,void 0)}),TypeError,"throws with null and undefined");var o={};t.ok("toString"in o,"object initially has toString"),setDunderProto(o,null),t.notOk("toString"in o,"object no longer has toString"),t.notOk("inherited"in o,"object lacks inherited property"),setDunderProto(o,{inherited:!0}),t.equal(o.inherited,!0,"object has inherited property"),t.end()})),test("no dunder proto",{skip:!!setDunderProto},(function(t){"__proto__"in Object.prototype?t.throws((function(){}),Error,"throws when setting Object.prototype.__proto__"):t.notOk("__proto__"in Object.prototype,"no __proto__ in Object.prototype"),t.end()})); +//# sourceMappingURL=/sm/027cb1f41a0ae3cafdb8a85f8fb463b3294998eeb0ca948ed3e2f09897634a95.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/tsconfig.json new file mode 100644 index 0000000..dabbe23 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "ES2021", + }, + "exclude": [ + "coverage", + ], +} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/es-define-property/CHANGELOG.md new file mode 100644 index 0000000..5f60cc0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-define-property/CHANGELOG.md @@ -0,0 +1,29 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.0.1](https://github.com/ljharb/es-define-property/compare/v1.0.0...v1.0.1) - 2024-12-06 + +### Commits + +- [types] use shared tsconfig [`954a663`](https://github.com/ljharb/es-define-property/commit/954a66360326e508a0e5daa4b07493d58f5e110e) +- [actions] split out node 10-20, and 20+ [`3a8e84b`](https://github.com/ljharb/es-define-property/commit/3a8e84b23883f26ff37b3e82ff283834228e18c6) +- [Dev Deps] update `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/get-intrinsic`, `@types/tape`, `auto-changelog`, `gopd`, `tape` [`86ae27b`](https://github.com/ljharb/es-define-property/commit/86ae27bb8cc857b23885136fad9cbe965ae36612) +- [Refactor] avoid using `get-intrinsic` [`02480c0`](https://github.com/ljharb/es-define-property/commit/02480c0353ef6118965282977c3864aff53d98b1) +- [Tests] replace `aud` with `npm audit` [`f6093ff`](https://github.com/ljharb/es-define-property/commit/f6093ff74ab51c98015c2592cd393bd42478e773) +- [Tests] configure testling [`7139e66`](https://github.com/ljharb/es-define-property/commit/7139e66959247a56086d9977359caef27c6849e7) +- [Dev Deps] update `tape` [`b901b51`](https://github.com/ljharb/es-define-property/commit/b901b511a75e001a40ce1a59fef7d9ffcfc87482) +- [Tests] fix types in tests [`469d269`](https://github.com/ljharb/es-define-property/commit/469d269fd141b1e773ec053a9fa35843493583e0) +- [Dev Deps] add missing peer dep [`733acfb`](https://github.com/ljharb/es-define-property/commit/733acfb0c4c96edf337e470b89a25a5b3724c352) + +## v1.0.0 - 2024-02-12 + +### Commits + +- Initial implementation, tests, readme, types [`3e154e1`](https://github.com/ljharb/es-define-property/commit/3e154e11a2fee09127220f5e503bf2c0a31dd480) +- Initial commit [`07d98de`](https://github.com/ljharb/es-define-property/commit/07d98de34a4dc31ff5e83a37c0c3f49e0d85cd50) +- npm init [`c4eb634`](https://github.com/ljharb/es-define-property/commit/c4eb6348b0d3886aac36cef34ad2ee0665ea6f3e) +- Only apps should have lockfiles [`7af86ec`](https://github.com/ljharb/es-define-property/commit/7af86ec1d311ec0b17fdfe616a25f64276903856) diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/LICENSE b/Lombiq.EInvoiceValidator/node_modules/es-define-property/LICENSE new file mode 100644 index 0000000..f82f389 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-define-property/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/README.md b/Lombiq.EInvoiceValidator/node_modules/es-define-property/README.md new file mode 100644 index 0000000..9b291bd --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-define-property/README.md @@ -0,0 +1,49 @@ +# es-define-property [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +`Object.defineProperty`, but not IE 8's broken one. + +## Example + +```js +const assert = require('assert'); + +const $defineProperty = require('es-define-property'); + +if ($defineProperty) { + assert.equal($defineProperty, Object.defineProperty); +} else if (Object.defineProperty) { + assert.equal($defineProperty, false, 'this is IE 8'); +} else { + assert.equal($defineProperty, false, 'this is an ES3 engine'); +} +``` + +## Tests +Simply clone the repo, `npm install`, and run `npm test` + +## Security + +Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. + +[package-url]: https://npmjs.org/package/es-define-property +[npm-version-svg]: https://versionbadg.es/ljharb/es-define-property.svg +[deps-svg]: https://david-dm.org/ljharb/es-define-property.svg +[deps-url]: https://david-dm.org/ljharb/es-define-property +[dev-deps-svg]: https://david-dm.org/ljharb/es-define-property/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/es-define-property#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/es-define-property.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/es-define-property.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/es-define-property.svg +[downloads-url]: https://npm-stat.com/charts.html?package=es-define-property +[codecov-image]: https://codecov.io/gh/ljharb/es-define-property/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/es-define-property/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-define-property +[actions-url]: https://github.com/ljharb/es-define-property/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.d.ts new file mode 100644 index 0000000..6012247 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.d.ts @@ -0,0 +1,3 @@ +declare const defineProperty: false | typeof Object.defineProperty; + +export = defineProperty; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.js b/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.js new file mode 100644 index 0000000..e0a2925 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.js @@ -0,0 +1,14 @@ +'use strict'; + +/** @type {import('.')} */ +var $defineProperty = Object.defineProperty || false; +if ($defineProperty) { + try { + $defineProperty({}, 'a', { value: 1 }); + } catch (e) { + // IE 8 has a broken defineProperty + $defineProperty = false; + } +} + +module.exports = $defineProperty; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.min.js new file mode 100644 index 0000000..581d536 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.37.0. + * Original file: /npm/es-define-property@1.0.1/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var $defineProperty=Object.defineProperty||!1;if($defineProperty)try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=!1}module.exports=$defineProperty; +//# sourceMappingURL=/sm/559cae443e3a3488aec1fc26d7d703d2b449d3de6c0a2181a5de5b6c3ac9b939.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/package.json b/Lombiq.EInvoiceValidator/node_modules/es-define-property/package.json new file mode 100644 index 0000000..fbed187 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-define-property/package.json @@ -0,0 +1,81 @@ +{ + "name": "es-define-property", + "version": "1.0.1", + "description": "`Object.defineProperty`, but not IE 8's broken one.", + "main": "index.js", + "types": "./index.d.ts", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p .", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>= 10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/es-define-property.git" + }, + "keywords": [ + "javascript", + "ecmascript", + "object", + "define", + "property", + "defineProperty", + "Object.defineProperty" + ], + "author": "Jordan Harband ", + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/es-define-property/issues" + }, + "homepage": "https://github.com/ljharb/es-define-property#readme", + "devDependencies": { + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.2", + "@types/gopd": "^1.0.3", + "@types/tape": "^5.6.5", + "auto-changelog": "^2.5.0", + "encoding": "^0.1.13", + "eslint": "^8.8.0", + "evalmd": "^0.0.19", + "gopd": "^1.2.0", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "engines": { + "node": ">= 0.4" + }, + "testling": { + "files": "test/index.js" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.js b/Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.js new file mode 100644 index 0000000..b4b4688 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.js @@ -0,0 +1,56 @@ +'use strict'; + +var $defineProperty = require('../'); + +var test = require('tape'); +var gOPD = require('gopd'); + +test('defineProperty: supported', { skip: !$defineProperty }, function (t) { + t.plan(4); + + t.equal(typeof $defineProperty, 'function', 'defineProperty is supported'); + if ($defineProperty && gOPD) { // this `if` check is just to shut TS up + /** @type {{ a: number, b?: number, c?: number }} */ + var o = { a: 1 }; + + $defineProperty(o, 'b', { enumerable: true, value: 2 }); + t.deepEqual( + gOPD(o, 'b'), + { + configurable: false, + enumerable: true, + value: 2, + writable: false + }, + 'property descriptor is as expected' + ); + + $defineProperty(o, 'c', { enumerable: false, value: 3, writable: true }); + t.deepEqual( + gOPD(o, 'c'), + { + configurable: false, + enumerable: false, + value: 3, + writable: true + }, + 'property descriptor is as expected' + ); + } + + t.equal($defineProperty, Object.defineProperty, 'defineProperty is Object.defineProperty'); + + t.end(); +}); + +test('defineProperty: not supported', { skip: !!$defineProperty }, function (t) { + t.notOk($defineProperty, 'defineProperty is not supported'); + + t.match( + typeof $defineProperty, + /^(?:undefined|boolean)$/, + '`typeof defineProperty` is `undefined` or `boolean`' + ); + + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.min.js new file mode 100644 index 0000000..77a2a7e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/es-define-property@1.0.1/test/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var $defineProperty=require("../"),test=require("tape"),gOPD=require("gopd");test("defineProperty: supported",{skip:!$defineProperty},(function(e){if(e.plan(4),e.equal(typeof $defineProperty,"function","defineProperty is supported"),$defineProperty&&gOPD){var r={a:1};$defineProperty(r,"b",{enumerable:!0,value:2}),e.deepEqual(gOPD(r,"b"),{configurable:!1,enumerable:!0,value:2,writable:!1},"property descriptor is as expected"),$defineProperty(r,"c",{enumerable:!1,value:3,writable:!0}),e.deepEqual(gOPD(r,"c"),{configurable:!1,enumerable:!1,value:3,writable:!0},"property descriptor is as expected")}e.equal($defineProperty,Object.defineProperty,"defineProperty is Object.defineProperty"),e.end()})),test("defineProperty: not supported",{skip:!!$defineProperty},(function(e){e.notOk($defineProperty,"defineProperty is not supported"),e.match(typeof $defineProperty,/^(?:undefined|boolean)$/,"`typeof defineProperty` is `undefined` or `boolean`"),e.end()})); +//# sourceMappingURL=/sm/87b804736545e608462e2c76c65759a3382e0dbc5400264464f0b5d510693a15.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/es-define-property/tsconfig.json new file mode 100644 index 0000000..5a49992 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-define-property/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "es2022", + }, + "exclude": [ + "coverage", + "test/list-exports" + ], +} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/es-errors/CHANGELOG.md new file mode 100644 index 0000000..204a9e9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/CHANGELOG.md @@ -0,0 +1,40 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.3.0](https://github.com/ljharb/es-errors/compare/v1.2.1...v1.3.0) - 2024-02-05 + +### Commits + +- [New] add `EvalError` and `URIError` [`1927627`](https://github.com/ljharb/es-errors/commit/1927627ba68cb6c829d307231376c967db53acdf) + +## [v1.2.1](https://github.com/ljharb/es-errors/compare/v1.2.0...v1.2.1) - 2024-02-04 + +### Commits + +- [Fix] add missing `exports` entry [`5bb5f28`](https://github.com/ljharb/es-errors/commit/5bb5f280f98922701109d6ebb82eea2257cecc7e) + +## [v1.2.0](https://github.com/ljharb/es-errors/compare/v1.1.0...v1.2.0) - 2024-02-04 + +### Commits + +- [New] add `ReferenceError` [`6d8cf5b`](https://github.com/ljharb/es-errors/commit/6d8cf5bbb6f3f598d02cf6f30e468ba2caa8e143) + +## [v1.1.0](https://github.com/ljharb/es-errors/compare/v1.0.0...v1.1.0) - 2024-02-04 + +### Commits + +- [New] add base Error [`2983ab6`](https://github.com/ljharb/es-errors/commit/2983ab65f7bc5441276cb021dc3aa03c78881698) + +## v1.0.0 - 2024-02-03 + +### Commits + +- Initial implementation, tests, readme, type [`8f47631`](https://github.com/ljharb/es-errors/commit/8f476317e9ad76f40ad648081829b1a1a3a1288b) +- Initial commit [`ea5d099`](https://github.com/ljharb/es-errors/commit/ea5d099ef18e550509ab9e2be000526afd81c385) +- npm init [`6f5ebf9`](https://github.com/ljharb/es-errors/commit/6f5ebf9cead474dadd72b9e63dad315820a089ae) +- Only apps should have lockfiles [`e1a0aeb`](https://github.com/ljharb/es-errors/commit/e1a0aeb7b80f5cfc56be54d6b2100e915d47def8) +- [meta] add `sideEffects` flag [`a9c7d46`](https://github.com/ljharb/es-errors/commit/a9c7d460a492f1d8a241c836bc25a322a19cc043) diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/LICENSE b/Lombiq.EInvoiceValidator/node_modules/es-errors/LICENSE new file mode 100644 index 0000000..f82f389 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/README.md b/Lombiq.EInvoiceValidator/node_modules/es-errors/README.md new file mode 100644 index 0000000..8dbfacf --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/README.md @@ -0,0 +1,55 @@ +# es-errors [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +A simple cache for a few of the JS Error constructors. + +## Example + +```js +const assert = require('assert'); + +const Base = require('es-errors'); +const Eval = require('es-errors/eval'); +const Range = require('es-errors/range'); +const Ref = require('es-errors/ref'); +const Syntax = require('es-errors/syntax'); +const Type = require('es-errors/type'); +const URI = require('es-errors/uri'); + +assert.equal(Base, Error); +assert.equal(Eval, EvalError); +assert.equal(Range, RangeError); +assert.equal(Ref, ReferenceError); +assert.equal(Syntax, SyntaxError); +assert.equal(Type, TypeError); +assert.equal(URI, URIError); +``` + +## Tests +Simply clone the repo, `npm install`, and run `npm test` + +## Security + +Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. + +[package-url]: https://npmjs.org/package/es-errors +[npm-version-svg]: https://versionbadg.es/ljharb/es-errors.svg +[deps-svg]: https://david-dm.org/ljharb/es-errors.svg +[deps-url]: https://david-dm.org/ljharb/es-errors +[dev-deps-svg]: https://david-dm.org/ljharb/es-errors/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/es-errors#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/es-errors.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/es-errors.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/es-errors.svg +[downloads-url]: https://npm-stat.com/charts.html?package=es-errors +[codecov-image]: https://codecov.io/gh/ljharb/es-errors/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/es-errors/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-errors +[actions-url]: https://github.com/ljharb/es-errors/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.d.ts new file mode 100644 index 0000000..e4210e0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.d.ts @@ -0,0 +1,3 @@ +declare const EvalError: EvalErrorConstructor; + +export = EvalError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.js new file mode 100644 index 0000000..725ccb6 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./eval')} */ +module.exports = EvalError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.min.js new file mode 100644 index 0000000..27c9190 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/es-errors@1.3.0/eval.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=EvalError; +//# sourceMappingURL=/sm/6a69d09cb5765584eaaa5b40c1984d21d337e40784112673b4422b91a0d748a5.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-errors/index.d.ts new file mode 100644 index 0000000..69bdbc9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/index.d.ts @@ -0,0 +1,3 @@ +declare const Error: ErrorConstructor; + +export = Error; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/index.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/index.js new file mode 100644 index 0000000..cc0c521 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/index.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('.')} */ +module.exports = Error; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/index.min.js new file mode 100644 index 0000000..e7baefd --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.37.0. + * Original file: /npm/es-errors@1.3.0/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=Error; +//# sourceMappingURL=/sm/3e60a1d216dd20342c0b7ec0c8010a17f77cbed38c32b853c07bf4c187d9ad39.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/package.json b/Lombiq.EInvoiceValidator/node_modules/es-errors/package.json new file mode 100644 index 0000000..ff8c2a5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/package.json @@ -0,0 +1,80 @@ +{ + "name": "es-errors", + "version": "1.3.0", + "description": "A simple cache for a few of the JS Error constructors.", + "main": "index.js", + "exports": { + ".": "./index.js", + "./eval": "./eval.js", + "./range": "./range.js", + "./ref": "./ref.js", + "./syntax": "./syntax.js", + "./type": "./type.js", + "./uri": "./uri.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run lint", + "test": "npm run tests-only", + "tests-only": "nyc tape 'test/**/*.js'", + "posttest": "aud --production", + "prelint": "evalmd README.md", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p . && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/es-errors.git" + }, + "keywords": [ + "javascript", + "ecmascript", + "error", + "typeerror", + "syntaxerror", + "rangeerror" + ], + "author": "Jordan Harband ", + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/es-errors/issues" + }, + "homepage": "https://github.com/ljharb/es-errors#readme", + "devDependencies": { + "@ljharb/eslint-config": "^21.1.0", + "@types/tape": "^5.6.4", + "aud": "^2.0.4", + "auto-changelog": "^2.4.0", + "eclint": "^2.8.1", + "eslint": "^8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.7.4", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/range.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-errors/range.d.ts new file mode 100644 index 0000000..3a12e86 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/range.d.ts @@ -0,0 +1,3 @@ +declare const RangeError: RangeErrorConstructor; + +export = RangeError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/range.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/range.js new file mode 100644 index 0000000..2044fe0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/range.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./range')} */ +module.exports = RangeError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/range.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/range.min.js new file mode 100644 index 0000000..7f3aa3a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/range.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/es-errors@1.3.0/range.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=RangeError; +//# sourceMappingURL=/sm/f71778660fc239a8d8930cfe4717722de8cb5b2feb56bb5e0cc32b197b4b0ca0.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.d.ts new file mode 100644 index 0000000..a13107e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.d.ts @@ -0,0 +1,3 @@ +declare const ReferenceError: ReferenceErrorConstructor; + +export = ReferenceError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.js new file mode 100644 index 0000000..d7c430f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./ref')} */ +module.exports = ReferenceError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.min.js new file mode 100644 index 0000000..259ab05 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/es-errors@1.3.0/ref.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=ReferenceError; +//# sourceMappingURL=/sm/6845b601e0c270758304bb99ea045d81352e8520077ffe3aca063d56ea234f0e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.d.ts new file mode 100644 index 0000000..6a0c53c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.d.ts @@ -0,0 +1,3 @@ +declare const SyntaxError: SyntaxErrorConstructor; + +export = SyntaxError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.js new file mode 100644 index 0000000..5f5fdde --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./syntax')} */ +module.exports = SyntaxError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.min.js new file mode 100644 index 0000000..901b4db --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/es-errors@1.3.0/syntax.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=SyntaxError; +//# sourceMappingURL=/sm/8a56eebe2e4dc53de37ba3ba308b52cc0846fccb3f83f1f3e9b47b2df693d401.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.js new file mode 100644 index 0000000..1ff0277 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.js @@ -0,0 +1,19 @@ +'use strict'; + +var test = require('tape'); + +var E = require('../'); +var R = require('../range'); +var Ref = require('../ref'); +var S = require('../syntax'); +var T = require('../type'); + +test('errors', function (t) { + t.equal(E, Error); + t.equal(R, RangeError); + t.equal(Ref, ReferenceError); + t.equal(S, SyntaxError); + t.equal(T, TypeError); + + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.min.js new file mode 100644 index 0000000..df8fef6 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/es-errors@1.3.0/test/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var test=require("tape"),E=require("../"),R=require("../range"),Ref=require("../ref"),S=require("../syntax"),T=require("../type");test("errors",(function(r){r.equal(E,Error),r.equal(R,RangeError),r.equal(Ref,ReferenceError),r.equal(S,SyntaxError),r.equal(T,TypeError),r.end()})); +//# sourceMappingURL=/sm/f6f3766d27a1e5bf781411e70434e32381b49e992230a84b541653525ae38af2.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/es-errors/tsconfig.json new file mode 100644 index 0000000..99dfeb6 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/tsconfig.json @@ -0,0 +1,49 @@ +{ + "compilerOptions": { + /* Visit https://aka.ms/tsconfig.json to read more about this file */ + + /* Projects */ + + /* Language and Environment */ + "target": "es5", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ + // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ + "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ + // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ + + /* Modules */ + "module": "commonjs", /* Specify what module code is generated. */ + // "rootDir": "./", /* Specify the root folder within your source files. */ + // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ + // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ + // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ + // "typeRoots": ["types"], /* Specify multiple folders that act like `./node_modules/@types`. */ + "resolveJsonModule": true, /* Enable importing .json files. */ + // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */ + + /* JavaScript Support */ + "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */ + "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ + "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */ + + /* Emit */ + "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ + "declarationMap": true, /* Create sourcemaps for d.ts files. */ + "noEmit": true, /* Disable emitting files from a compilation. */ + + /* Interop Constraints */ + "allowSyntheticDefaultImports": true, /* Allow `import x from y` when a module doesn't have a default export. */ + "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */ + "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ + + /* Type Checking */ + "strict": true, /* Enable all strict type-checking options. */ + + /* Completeness */ + // "skipLibCheck": true /* Skip type checking all .d.ts files. */ + }, + "exclude": [ + "coverage", + ], +} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/type.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-errors/type.d.ts new file mode 100644 index 0000000..576fb51 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/type.d.ts @@ -0,0 +1,3 @@ +declare const TypeError: TypeErrorConstructor + +export = TypeError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/type.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/type.js new file mode 100644 index 0000000..9769e44 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/type.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./type')} */ +module.exports = TypeError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/type.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/type.min.js new file mode 100644 index 0000000..59c4829 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/type.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/es-errors@1.3.0/type.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=TypeError; +//# sourceMappingURL=/sm/34732847fec899f92cddaece1da567374a5d230f6b72f1439a6c32351a1e455d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.d.ts new file mode 100644 index 0000000..c3261c9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.d.ts @@ -0,0 +1,3 @@ +declare const URIError: URIErrorConstructor; + +export = URIError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.js new file mode 100644 index 0000000..e9cd1c7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./uri')} */ +module.exports = URIError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.min.js new file mode 100644 index 0000000..bec28e0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/es-errors@1.3.0/uri.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=URIError; +//# sourceMappingURL=/sm/c0fa0b5b6fd86a955fd86aa3e2adb1b87fc6561eb24b72ac0193ae4f5f5a0463.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/CHANGELOG.md new file mode 100644 index 0000000..8efc7ba --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/CHANGELOG.md @@ -0,0 +1,44 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.1.2](https://github.com/es-shims/es-object-atoms/compare/v1.1.1...v1.1.2) - 2026-05-22 + +### Commits + +- [Dev Deps] update `@ljharb/eslint-config`, `@ljharb/tsconfig`, `auto-changelog`, `eslint`, `npmignore` [`41e3d94`](https://github.com/es-shims/es-object-atoms/commit/41e3d94f6b49237fa490ec598e068f170c8b161e) +- [types] improve `isObject` type [`758edc2`](https://github.com/es-shims/es-object-atoms/commit/758edc2280fa6993a294a55957a43cee5951bf51) + +## [v1.1.1](https://github.com/es-shims/es-object-atoms/compare/v1.1.0...v1.1.1) - 2025-01-14 + +### Commits + +- [types] `ToObject`: improve types [`cfe8c8a`](https://github.com/es-shims/es-object-atoms/commit/cfe8c8a105c44820cb22e26f62d12ef0ad9715c8) + +## [v1.1.0](https://github.com/es-shims/es-object-atoms/compare/v1.0.1...v1.1.0) - 2025-01-14 + +### Commits + +- [New] add `isObject` [`51e4042`](https://github.com/es-shims/es-object-atoms/commit/51e4042df722eb3165f40dc5f4bf33d0197ecb07) + +## [v1.0.1](https://github.com/es-shims/es-object-atoms/compare/v1.0.0...v1.0.1) - 2025-01-13 + +### Commits + +- [Dev Deps] update `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/tape`, `auto-changelog`, `tape` [`38ab9eb`](https://github.com/es-shims/es-object-atoms/commit/38ab9eb00b62c2f4668644f5e513d9b414ebd595) +- [types] improve types [`7d1beb8`](https://github.com/es-shims/es-object-atoms/commit/7d1beb887958b78b6a728a210a1c8370ab7e2aa1) +- [Tests] replace `aud` with `npm audit` [`25863ba`](https://github.com/es-shims/es-object-atoms/commit/25863baf99178f1d1ad33d1120498db28631907e) +- [Dev Deps] add missing peer dep [`c012309`](https://github.com/es-shims/es-object-atoms/commit/c0123091287e6132d6f4240496340c427433df28) + +## v1.0.0 - 2024-03-16 + +### Commits + +- Initial implementation, tests, readme, types [`f1499db`](https://github.com/es-shims/es-object-atoms/commit/f1499db7d3e1741e64979c61d645ab3137705e82) +- Initial commit [`99eedc7`](https://github.com/es-shims/es-object-atoms/commit/99eedc7b5fde38a50a28d3c8b724706e3e4c5f6a) +- [meta] rename repo [`fc851fa`](https://github.com/es-shims/es-object-atoms/commit/fc851fa70616d2d182aaf0bd02c2ed7084dea8fa) +- npm init [`b909377`](https://github.com/es-shims/es-object-atoms/commit/b909377c50049bd0ec575562d20b0f9ebae8947f) +- Only apps should have lockfiles [`7249edd`](https://github.com/es-shims/es-object-atoms/commit/7249edd2178c1b9ddfc66ffcc6d07fdf0d28efc1) diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/LICENSE b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/LICENSE new file mode 100644 index 0000000..f82f389 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/README.md b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/README.md new file mode 100644 index 0000000..447695b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/README.md @@ -0,0 +1,63 @@ +# es-object-atoms [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +ES Object-related atoms: Object, ToObject, RequireObjectCoercible. + +## Example + +```js +const assert = require('assert'); + +const $Object = require('es-object-atoms'); +const isObject = require('es-object-atoms/isObject'); +const ToObject = require('es-object-atoms/ToObject'); +const RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible'); + +assert.equal($Object, Object); +assert.throws(() => ToObject(null), TypeError); +assert.throws(() => ToObject(undefined), TypeError); +assert.throws(() => RequireObjectCoercible(null), TypeError); +assert.throws(() => RequireObjectCoercible(undefined), TypeError); + +assert.equal(isObject(undefined), false); +assert.equal(isObject(null), false); +assert.equal(isObject({}), true); +assert.equal(isObject([]), true); +assert.equal(isObject(function () {}), true); + +assert.deepEqual(RequireObjectCoercible(true), true); +assert.deepEqual(ToObject(true), Object(true)); + +const obj = {}; +assert.equal(RequireObjectCoercible(obj), obj); +assert.equal(ToObject(obj), obj); +``` + +## Tests +Simply clone the repo, `npm install`, and run `npm test` + +## Security + +Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. + +[package-url]: https://npmjs.org/package/es-object-atoms +[npm-version-svg]: https://versionbadg.es/ljharb/es-object-atoms.svg +[deps-svg]: https://david-dm.org/ljharb/es-object-atoms.svg +[deps-url]: https://david-dm.org/ljharb/es-object-atoms +[dev-deps-svg]: https://david-dm.org/ljharb/es-object-atoms/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/es-object-atoms#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/es-object-atoms.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/es-object-atoms.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/es-object.svg +[downloads-url]: https://npm-stat.com/charts.html?package=es-object-atoms +[codecov-image]: https://codecov.io/gh/ljharb/es-object-atoms/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/es-object-atoms/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-object-atoms +[actions-url]: https://github.com/ljharb/es-object-atoms/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.d.ts new file mode 100644 index 0000000..7e26c45 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.d.ts @@ -0,0 +1,3 @@ +declare function RequireObjectCoercible(value: T, optMessage?: string): T; + +export = RequireObjectCoercible; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.js new file mode 100644 index 0000000..8e191c6 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.js @@ -0,0 +1,11 @@ +'use strict'; + +var $TypeError = require('es-errors/type'); + +/** @type {import('./RequireObjectCoercible')} */ +module.exports = function RequireObjectCoercible(value) { + if (value == null) { + throw new $TypeError((arguments.length > 0 && arguments[1]) || ('Cannot call method on ' + value)); + } + return value; +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.min.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.min.js new file mode 100644 index 0000000..665566e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/es-object-atoms@1.1.2/RequireObjectCoercible.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var $TypeError=require("es-errors/type");module.exports=function(r){if(null==r)throw new $TypeError(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r}; +//# sourceMappingURL=/sm/d9a8744f9ddecbf09540dea8b480ab6c9ce0d7f2769521a217fd26da342d55e3.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.d.ts new file mode 100644 index 0000000..d6dd302 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.d.ts @@ -0,0 +1,7 @@ +declare function ToObject(value: number): Number; +declare function ToObject(value: boolean): Boolean; +declare function ToObject(value: string): String; +declare function ToObject(value: bigint): BigInt; +declare function ToObject(value: T): T; + +export = ToObject; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.js new file mode 100644 index 0000000..2b99a7d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.js @@ -0,0 +1,10 @@ +'use strict'; + +var $Object = require('./'); +var RequireObjectCoercible = require('./RequireObjectCoercible'); + +/** @type {import('./ToObject')} */ +module.exports = function ToObject(value) { + RequireObjectCoercible(value); + return $Object(value); +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.min.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.min.js new file mode 100644 index 0000000..bb97a6f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/es-object-atoms@1.1.2/ToObject.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var $Object=require("./"),RequireObjectCoercible=require("./RequireObjectCoercible");module.exports=function(e){return RequireObjectCoercible(e),$Object(e)}; +//# sourceMappingURL=/sm/450ea05e333477f1489139ddcbd0b2426fc9c5918c23395904345a6a34de362b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.d.ts new file mode 100644 index 0000000..8bdbfc8 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.d.ts @@ -0,0 +1,3 @@ +declare const Object: ObjectConstructor; + +export = Object; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.js new file mode 100644 index 0000000..1d33cef --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('.')} */ +module.exports = Object; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.min.js new file mode 100644 index 0000000..d954543 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/es-object-atoms@1.1.2/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=Object; +//# sourceMappingURL=/sm/c7b123691f1d52b526bae637002f84689acadb34b590df7fe0c71ee3a4584c93.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.d.ts new file mode 100644 index 0000000..9490fbb --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.d.ts @@ -0,0 +1,3 @@ +declare function isObject(x: T): x is T & object & Record; + +export = isObject; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.js new file mode 100644 index 0000000..ec49bf1 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.js @@ -0,0 +1,6 @@ +'use strict'; + +/** @type {import('./isObject')} */ +module.exports = function isObject(x) { + return !!x && (typeof x === 'function' || typeof x === 'object'); +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.min.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.min.js new file mode 100644 index 0000000..98d0e5e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/es-object-atoms@1.1.2/isObject.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=function(t){return!!t&&("function"==typeof t||"object"==typeof t)}; +//# sourceMappingURL=/sm/7c8cec207feb4284cf6048d107e88e57cffbe6ecf98499687060a6dc1ddf0b74.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/package.json b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/package.json new file mode 100644 index 0000000..cb6bc7b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/package.json @@ -0,0 +1,79 @@ +{ + "name": "es-object-atoms", + "version": "1.1.2", + "description": "ES Object-related atoms: Object, ToObject, RequireObjectCoercible", + "main": "index.js", + "exports": { + ".": "./index.js", + "./RequireObjectCoercible": "./RequireObjectCoercible.js", + "./isObject": "./isObject.js", + "./ToObject": "./ToObject.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run lint", + "test": "npm run tests-only", + "tests-only": "nyc tape 'test/**/*.js'", + "posttest": "npx npm@\">= 10.2\" audit --production", + "prelint": "evalmd README.md", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p . && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/es-object-atoms.git" + }, + "keywords": [ + "javascript", + "ecmascript", + "object", + "toobject", + "coercible" + ], + "author": "Jordan Harband ", + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/es-object-atoms/issues" + }, + "homepage": "https://github.com/ljharb/es-object-atoms#readme", + "dependencies": { + "es-errors": "^1.3.0" + }, + "devDependencies": { + "@ljharb/eslint-config": "^22.2.3", + "@ljharb/tsconfig": "^0.3.2", + "@types/tape": "^5.8.1", + "auto-changelog": "^2.5.1", + "eclint": "^2.8.1", + "eslint": "^8.57.1", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.5", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.js new file mode 100644 index 0000000..430b705 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.js @@ -0,0 +1,38 @@ +'use strict'; + +var test = require('tape'); + +var $Object = require('../'); +var isObject = require('../isObject'); +var ToObject = require('../ToObject'); +var RequireObjectCoercible = require('..//RequireObjectCoercible'); + +test('errors', function (t) { + t.equal($Object, Object); + // @ts-expect-error + t['throws'](function () { ToObject(null); }, TypeError); + // @ts-expect-error + t['throws'](function () { ToObject(undefined); }, TypeError); + // @ts-expect-error + t['throws'](function () { RequireObjectCoercible(null); }, TypeError); + // @ts-expect-error + t['throws'](function () { RequireObjectCoercible(undefined); }, TypeError); + + t.deepEqual(RequireObjectCoercible(true), true); + t.deepEqual(ToObject(true), Object(true)); + t.deepEqual(ToObject(42), Object(42)); + var f = function () {}; + t.equal(ToObject(f), f); + + t.equal(isObject(undefined), false); + t.equal(isObject(null), false); + t.equal(isObject({}), true); + t.equal(isObject([]), true); + t.equal(isObject(function () {}), true); + + var obj = {}; + t.equal(RequireObjectCoercible(obj), obj); + t.equal(ToObject(obj), obj); + + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.min.js new file mode 100644 index 0000000..ac38a11 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/es-object-atoms@1.1.2/test/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var test=require("tape"),$Object=require("../"),isObject=require("../isObject"),ToObject=require("../ToObject"),RequireObjectCoercible=require("..//RequireObjectCoercible");test("errors",function(e){e.equal($Object,Object),e.throws(function(){ToObject(null)},TypeError),e.throws(function(){ToObject(void 0)},TypeError),e.throws(function(){RequireObjectCoercible(null)},TypeError),e.throws(function(){RequireObjectCoercible(void 0)},TypeError),e.deepEqual(RequireObjectCoercible(!0),!0),e.deepEqual(ToObject(!0),Object(!0)),e.deepEqual(ToObject(42),Object(42));var r=function(){};e.equal(ToObject(r),r),e.equal(isObject(void 0),!1),e.equal(isObject(null),!1),e.equal(isObject({}),!0),e.equal(isObject([]),!0),e.equal(isObject(function(){}),!0);var t={};e.equal(RequireObjectCoercible(t),t),e.equal(ToObject(t),t),e.end()}); +//# sourceMappingURL=/sm/a40dd4e2a4d0e25319e2479f9bc28a1cdfc1c6ad2f84227e93cf0ed183fd39fb.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/tsconfig.json new file mode 100644 index 0000000..c1ef790 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/tsconfig.json @@ -0,0 +1,7 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "es5", + "ignoreDeprecations": "6.0", + }, +} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/CHANGELOG.md new file mode 100644 index 0000000..00bdc03 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/CHANGELOG.md @@ -0,0 +1,67 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v2.1.0](https://github.com/es-shims/es-set-tostringtag/compare/v2.0.3...v2.1.0) - 2025-01-01 + +### Commits + +- [actions] split out node 10-20, and 20+ [`ede033c`](https://github.com/es-shims/es-set-tostringtag/commit/ede033cc4e506c3966d2d482d4ac5987e329162a) +- [types] use shared config [`28ef164`](https://github.com/es-shims/es-set-tostringtag/commit/28ef164ad7c5bc21837c79f7ef25542a1f258ade) +- [New] add `nonConfigurable` option [`3bee3f0`](https://github.com/es-shims/es-set-tostringtag/commit/3bee3f04caddd318f3932912212ed20b2d62aad7) +- [Fix] validate boolean option argument [`3c8a609`](https://github.com/es-shims/es-set-tostringtag/commit/3c8a609c795a305ccca163f0ff6956caa88cdc0e) +- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/get-intrinsic`, `@types/tape`, `auto-changelog`, `tape` [`501a969`](https://github.com/es-shims/es-set-tostringtag/commit/501a96998484226e07f5ffd447e8f305a998f1d8) +- [Tests] add coverage [`18af289`](https://github.com/es-shims/es-set-tostringtag/commit/18af2897b4e937373c9b8c8831bc338932246470) +- [readme] document `force` option [`bd446a1`](https://github.com/es-shims/es-set-tostringtag/commit/bd446a107b71a2270278442e5124f45590d3ee64) +- [Tests] use `@arethetypeswrong/cli` [`7c2c2fa`](https://github.com/es-shims/es-set-tostringtag/commit/7c2c2fa3cca0f4d263603adb75426b239514598f) +- [Tests] replace `aud` with `npm audit` [`9e372d7`](https://github.com/es-shims/es-set-tostringtag/commit/9e372d7e6db3dab405599a14d9074a99a03b8242) +- [Deps] update `get-intrinsic` [`7df1216`](https://github.com/es-shims/es-set-tostringtag/commit/7df12167295385c2a547410e687cb0c04f3a34b9) +- [Deps] update `hasown` [`993a7d2`](https://github.com/es-shims/es-set-tostringtag/commit/993a7d200e2059fd857ec1a25d0a49c2c34ae6e2) +- [Dev Deps] add missing peer dep [`148ed8d`](https://github.com/es-shims/es-set-tostringtag/commit/148ed8db99a7a94f9af3823fd083e6e437fa1587) + +## [v2.0.3](https://github.com/es-shims/es-set-tostringtag/compare/v2.0.2...v2.0.3) - 2024-02-20 + +### Commits + +- add types [`d538513`](https://github.com/es-shims/es-set-tostringtag/commit/d5385133592a32a0a416cb535327918af7fbc4ad) +- [Deps] update `get-intrinsic`, `has-tostringtag`, `hasown` [`d129b29`](https://github.com/es-shims/es-set-tostringtag/commit/d129b29536bccc8a9d03a47887ca4d1f7ad0c5b9) +- [Dev Deps] update `aud`, `npmignore`, `tape` [`132ed23`](https://github.com/es-shims/es-set-tostringtag/commit/132ed23c964a41ed55e4ab4a5a2c3fe185e821c1) +- [Tests] fix hasOwn require [`f89c831`](https://github.com/es-shims/es-set-tostringtag/commit/f89c831fe5f3edf1f979c597b56fee1be6111f56) + +## [v2.0.2](https://github.com/es-shims/es-set-tostringtag/compare/v2.0.1...v2.0.2) - 2023-10-20 + +### Commits + +- [Refactor] use `hasown` instead of `has` [`0cc6c4e`](https://github.com/es-shims/es-set-tostringtag/commit/0cc6c4e61fd13e8f00b85424ae6e541ebf289e74) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`70e447c`](https://github.com/es-shims/es-set-tostringtag/commit/70e447cf9f82b896ddf359fda0a0498c16cf3ed2) +- [Deps] update `get-intrinsic` [`826aab7`](https://github.com/es-shims/es-set-tostringtag/commit/826aab76180392871c8efa99acc0f0bbf775c64e) + +## [v2.0.1](https://github.com/es-shims/es-set-tostringtag/compare/v2.0.0...v2.0.1) - 2023-01-05 + +### Fixed + +- [Fix] move `has` to prod deps [`#2`](https://github.com/es-shims/es-set-tostringtag/issues/2) + +### Commits + +- [Dev Deps] update `@ljharb/eslint-config` [`b9eecd2`](https://github.com/es-shims/es-set-tostringtag/commit/b9eecd23c10b7b43ba75089ac8ff8cc6b295798b) + +## [v2.0.0](https://github.com/es-shims/es-set-tostringtag/compare/v1.0.0...v2.0.0) - 2022-12-21 + +### Commits + +- [Tests] refactor tests [`168dcfb`](https://github.com/es-shims/es-set-tostringtag/commit/168dcfbb535c279dc48ccdc89419155125aaec18) +- [Breaking] do not set toStringTag if it is already set [`226ab87`](https://github.com/es-shims/es-set-tostringtag/commit/226ab874192c625d9e5f0e599d3f60d2b2aa83b5) +- [New] add `force` option to set even if already set [`1abd4ec`](https://github.com/es-shims/es-set-tostringtag/commit/1abd4ecb282f19718c4518284b0293a343564505) + +## v1.0.0 - 2022-12-21 + +### Commits + +- Initial implementation, tests, readme [`a0e1147`](https://github.com/es-shims/es-set-tostringtag/commit/a0e11473f79a233b46374525c962ea1b4d42418a) +- Initial commit [`ffd4aff`](https://github.com/es-shims/es-set-tostringtag/commit/ffd4afffbeebf29aff0d87a7cfc3f7844e09fe68) +- npm init [`fffe5bd`](https://github.com/es-shims/es-set-tostringtag/commit/fffe5bd1d1146d084730a387a9c672371f4a8fff) +- Only apps should have lockfiles [`d363871`](https://github.com/es-shims/es-set-tostringtag/commit/d36387139465623e161a15dbd39120537f150c62) diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/LICENSE b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/LICENSE new file mode 100644 index 0000000..c2a8460 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 ECMAScript Shims + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/README.md b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/README.md new file mode 100644 index 0000000..c27bc9f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/README.md @@ -0,0 +1,53 @@ +# es-set-tostringtag [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +A helper to optimistically set Symbol.toStringTag, when possible. + +## Example +Most common usage: +```js +var assert = require('assert'); +var setToStringTag = require('es-set-tostringtag'); + +var obj = {}; + +assert.equal(Object.prototype.toString.call(obj), '[object Object]'); + +setToStringTag(obj, 'tagged!'); + +assert.equal(Object.prototype.toString.call(obj), '[object tagged!]'); +``` + +## Options +An optional options argument can be provided as the third argument. The available options are: + +### `force` +If the `force` option is set to `true`, the toStringTag will be set even if it is already set. + +### `nonConfigurable` +If the `nonConfigurable` option is set to `true`, the toStringTag will be defined as non-configurable when possible. + +## Tests +Simply clone the repo, `npm install`, and run `npm test` + +[package-url]: https://npmjs.com/package/es-set-tostringtag +[npm-version-svg]: https://versionbadg.es/es-shims/es-set-tostringtag.svg +[deps-svg]: https://david-dm.org/es-shims/es-set-tostringtag.svg +[deps-url]: https://david-dm.org/es-shims/es-set-tostringtag +[dev-deps-svg]: https://david-dm.org/es-shims/es-set-tostringtag/dev-status.svg +[dev-deps-url]: https://david-dm.org/es-shims/es-set-tostringtag#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/es-set-tostringtag.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/es-set-tostringtag.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/es-set-tostringtag.svg +[downloads-url]: https://npm-stat.com/charts.html?package=es-set-tostringtag +[codecov-image]: https://codecov.io/gh/es-shims/es-set-tostringtag/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/es-shims/es-set-tostringtag/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/es-set-tostringtag +[actions-url]: https://github.com/es-shims/es-set-tostringtag/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.d.ts new file mode 100644 index 0000000..c9a8fc4 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.d.ts @@ -0,0 +1,10 @@ +declare function setToStringTag( + object: object & { [Symbol.toStringTag]?: unknown }, + value: string | unknown, + options?: { + force?: boolean; + nonConfigurable?: boolean; + }, +): void; + +export = setToStringTag; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.js b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.js new file mode 100644 index 0000000..6b6b49c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.js @@ -0,0 +1,35 @@ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); + +var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); + +var hasToStringTag = require('has-tostringtag/shams')(); +var hasOwn = require('hasown'); +var $TypeError = require('es-errors/type'); + +var toStringTag = hasToStringTag ? Symbol.toStringTag : null; + +/** @type {import('.')} */ +module.exports = function setToStringTag(object, value) { + var overrideIfSet = arguments.length > 2 && !!arguments[2] && arguments[2].force; + var nonConfigurable = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable; + if ( + (typeof overrideIfSet !== 'undefined' && typeof overrideIfSet !== 'boolean') + || (typeof nonConfigurable !== 'undefined' && typeof nonConfigurable !== 'boolean') + ) { + throw new $TypeError('if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans'); + } + if (toStringTag && (overrideIfSet || !hasOwn(object, toStringTag))) { + if ($defineProperty) { + $defineProperty(object, toStringTag, { + configurable: !nonConfigurable, + enumerable: false, + value: value, + writable: false + }); + } else { + object[toStringTag] = value; // eslint-disable-line no-param-reassign + } + } +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.min.js new file mode 100644 index 0000000..d605ecf --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.37.0. + * Original file: /npm/es-set-tostringtag@2.1.0/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var GetIntrinsic=require("get-intrinsic"),$defineProperty=GetIntrinsic("%Object.defineProperty%",!0),hasToStringTag=require("has-tostringtag/shams")(),hasOwn=require("hasown"),$TypeError=require("es-errors/type"),toStringTag=hasToStringTag?Symbol.toStringTag:null;module.exports=function(e,r){var t=arguments.length>2&&!!arguments[2]&&arguments[2].force,o=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(void 0!==t&&"boolean"!=typeof t||void 0!==o&&"boolean"!=typeof o)throw new $TypeError("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");!toStringTag||!t&&hasOwn(e,toStringTag)||($defineProperty?$defineProperty(e,toStringTag,{configurable:!o,enumerable:!1,value:r,writable:!1}):e[toStringTag]=r)}; +//# sourceMappingURL=/sm/530014cedbe689083a2b472274f30c30005b0ddd69bd7886c4665a40bcef788c.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/package.json b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/package.json new file mode 100644 index 0000000..277c3e5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/package.json @@ -0,0 +1,78 @@ +{ + "name": "es-set-tostringtag", + "version": "2.1.0", + "description": "A helper to optimistically set Symbol.toStringTag, when possible.", + "main": "index.js", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prelint": "evalmd README.md", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p . && attw -P", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@\">= 10.2\" audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/es-shims/es-set-tostringtag.git" + }, + "author": "Jordan Harband ", + "license": "MIT", + "bugs": { + "url": "https://github.com/es-shims/es-set-tostringtag/issues" + }, + "homepage": "https://github.com/es-shims/es-set-tostringtag#readme", + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.2", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.3", + "@types/get-intrinsic": "^1.2.3", + "@types/has-symbols": "^1.0.2", + "@types/tape": "^5.8.0", + "auto-changelog": "^2.5.0", + "encoding": "^0.1.13", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "testling": { + "files": "./test/index.js" + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.js b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.js new file mode 100644 index 0000000..f1757b3 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.js @@ -0,0 +1,85 @@ +'use strict'; + +var test = require('tape'); +var hasToStringTag = require('has-tostringtag/shams')(); +var hasOwn = require('hasown'); + +var setToStringTag = require('../'); + +test('setToStringTag', function (t) { + t.equal(typeof setToStringTag, 'function', 'is a function'); + + /** @type {{ [Symbol.toStringTag]?: typeof sentinel }} */ + var obj = {}; + var sentinel = {}; + + setToStringTag(obj, sentinel); + + t['throws']( + // @ts-expect-error + function () { setToStringTag(obj, sentinel, { force: 'yes' }); }, + TypeError, + 'throws if options is not an object' + ); + + t.test('has Symbol.toStringTag', { skip: !hasToStringTag }, function (st) { + st.ok(hasOwn(obj, Symbol.toStringTag), 'has toStringTag property'); + + st.equal(obj[Symbol.toStringTag], sentinel, 'toStringTag property is as expected'); + + st.equal(String(obj), '[object Object]', 'toStringTag works'); + + /** @type {{ [Symbol.toStringTag]?: string }} */ + var tagged = {}; + tagged[Symbol.toStringTag] = 'already tagged'; + st.equal(String(tagged), '[object already tagged]', 'toStringTag works'); + + setToStringTag(tagged, 'new tag'); + st.equal(String(tagged), '[object already tagged]', 'toStringTag is unchanged'); + + setToStringTag(tagged, 'new tag', { force: true }); + st.equal(String(tagged), '[object new tag]', 'toStringTag is changed with force: true'); + + st.deepEqual( + Object.getOwnPropertyDescriptor(tagged, Symbol.toStringTag), + { + configurable: true, + enumerable: false, + value: 'new tag', + writable: false + }, + 'has expected property descriptor' + ); + + setToStringTag(tagged, 'new tag', { force: true, nonConfigurable: true }); + st.deepEqual( + Object.getOwnPropertyDescriptor(tagged, Symbol.toStringTag), + { + configurable: false, + enumerable: false, + value: 'new tag', + writable: false + }, + 'is nonconfigurable' + ); + + st.end(); + }); + + t.test('does not have Symbol.toStringTag', { skip: hasToStringTag }, function (st) { + var passed = true; + for (var key in obj) { // eslint-disable-line no-restricted-syntax + if (hasOwn(obj, key)) { + st.fail('object has own key ' + key); + passed = false; + } + } + if (passed) { + st.ok(true, 'object has no enumerable own keys'); + } + + st.end(); + }); + + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.min.js new file mode 100644 index 0000000..78ae33f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/es-set-tostringtag@2.1.0/test/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var test=require("tape"),hasToStringTag=require("has-tostringtag/shams")(),hasOwn=require("hasown"),setToStringTag=require("../");test("setToStringTag",(function(t){t.equal(typeof setToStringTag,"function","is a function");var e={},a={};setToStringTag(e,a),t.throws((function(){setToStringTag(e,a,{force:"yes"})}),TypeError,"throws if options is not an object"),t.test("has Symbol.toStringTag",{skip:!hasToStringTag},(function(t){t.ok(hasOwn(e,Symbol.toStringTag),"has toStringTag property"),t.equal(e[Symbol.toStringTag],a,"toStringTag property is as expected"),t.equal(String(e),"[object Object]","toStringTag works");var r={};r[Symbol.toStringTag]="already tagged",t.equal(String(r),"[object already tagged]","toStringTag works"),setToStringTag(r,"new tag"),t.equal(String(r),"[object already tagged]","toStringTag is unchanged"),setToStringTag(r,"new tag",{force:!0}),t.equal(String(r),"[object new tag]","toStringTag is changed with force: true"),t.deepEqual(Object.getOwnPropertyDescriptor(r,Symbol.toStringTag),{configurable:!0,enumerable:!1,value:"new tag",writable:!1},"has expected property descriptor"),setToStringTag(r,"new tag",{force:!0,nonConfigurable:!0}),t.deepEqual(Object.getOwnPropertyDescriptor(r,Symbol.toStringTag),{configurable:!1,enumerable:!1,value:"new tag",writable:!1},"is nonconfigurable"),t.end()})),t.test("does not have Symbol.toStringTag",{skip:hasToStringTag},(function(t){var a=!0;for(var r in e)hasOwn(e,r)&&(t.fail("object has own key "+r),a=!1);a&&t.ok(!0,"object has no enumerable own keys"),t.end()})),t.end()})); +//# sourceMappingURL=/sm/7dee8a4dc54cee21e070c773cc579dfc242f84b93e39d608be67b79e14aa2520.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/tsconfig.json new file mode 100644 index 0000000..d9a6668 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "es2021", + }, + "exclude": [ + "coverage", + ], +} diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/LICENSE b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/LICENSE new file mode 100644 index 0000000..742cbad --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/LICENSE @@ -0,0 +1,18 @@ +Copyright 2014–present Olivier Lalonde , James Talmage , Ruben Verborgh + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/README.md b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/README.md new file mode 100644 index 0000000..fd35b9e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/README.md @@ -0,0 +1,157 @@ +## Follow Redirects + +Drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. + +[![npm version](https://img.shields.io/npm/v/follow-redirects.svg)](https://www.npmjs.com/package/follow-redirects) +[![Build Status](https://github.com/follow-redirects/follow-redirects/workflows/CI/badge.svg)](https://github.com/follow-redirects/follow-redirects/actions) +[![Coverage Status](https://coveralls.io/repos/follow-redirects/follow-redirects/badge.svg?branch=master)](https://coveralls.io/r/follow-redirects/follow-redirects?branch=master) +[![npm downloads](https://img.shields.io/npm/dm/follow-redirects.svg)](https://www.npmjs.com/package/follow-redirects) +[![Sponsor on GitHub](https://img.shields.io/static/v1?label=Sponsor&message=%F0%9F%92%96&logo=GitHub)](https://github.com/sponsors/RubenVerborgh) + +`follow-redirects` provides [request](https://nodejs.org/api/http.html#http_http_request_options_callback) and [get](https://nodejs.org/api/http.html#http_http_get_options_callback) + methods that behave identically to those found on the native [http](https://nodejs.org/api/http.html#http_http_request_options_callback) and [https](https://nodejs.org/api/https.html#https_https_request_options_callback) + modules, with the exception that they will seamlessly follow redirects. + +```javascript +const { http, https } = require('follow-redirects'); + +http.get('http://en.wikipedia.org/', response => { + response.on('data', chunk => { + console.log(chunk); + }); +}).on('error', err => { + console.error(err); +}); +``` + +You can inspect the final redirected URL through the `responseUrl` property on the `response`. +If no redirection happened, `responseUrl` is the original request URL. + +```javascript +const request = https.request({ + host: 'en.wikipedia.org', + path: '/', +}, response => { + console.log(response.responseUrl); + // 'http://duckduckgo.com/robots.txt' +}); +request.end(); +``` + +## Options +### Global options +Global options are set directly on the `follow-redirects` module: + +```javascript +const followRedirects = require('follow-redirects'); +followRedirects.maxRedirects = 10; +followRedirects.maxBodyLength = 20 * 1024 * 1024; // 20 MB +``` + +The following global options are supported: + +- `maxRedirects` (default: `21`) – sets the maximum number of allowed redirects; if exceeded, an error will be emitted. + +- `maxBodyLength` (default: 10MB) – sets the maximum size of the request body; if exceeded, an error will be emitted. + +### Per-request options +Per-request options are set by passing an `options` object: + +```javascript +const url = require('url'); +const { http, https } = require('follow-redirects'); + +const options = url.parse('http://en.wikipedia.org/'); +options.maxRedirects = 10; +options.beforeRedirect = (options, response, request) => { + // Use this to adjust the request options upon redirecting, + // to inspect the latest response headers, + // or to cancel the request by throwing an error + + // response.headers = the redirect response headers + // response.statusCode = the redirect response code (eg. 301, 307, etc.) + + // request.url = the requested URL that resulted in a redirect + // request.headers = the headers in the request that resulted in a redirect + // request.method = the method of the request that resulted in a redirect + if (options.hostname === "example.org") { + options.auth = "user:password"; + } +}; +http.request(options); +``` + +In addition to the [standard HTTP](https://nodejs.org/api/http.html#http_http_request_options_callback) and [HTTPS options](https://nodejs.org/api/https.html#https_https_request_options_callback), +the following per-request options are supported: +- `followRedirects` (default: `true`) – whether redirects should be followed. + +- `maxRedirects` (default: `21`) – sets the maximum number of allowed redirects; if exceeded, an error will be emitted. + +- `maxBodyLength` (default: 10MB) – sets the maximum size of the request body; if exceeded, an error will be emitted. + +- `beforeRedirect` (default: `undefined`) – optionally change the request `options` on redirects, or abort the request by throwing an error. + +- `agents` (default: `undefined`) – sets the `agent` option per protocol, since HTTP and HTTPS use different agents. Example value: `{ http: new http.Agent(), https: new https.Agent() }` + +- `trackRedirects` (default: `false`) – whether to store the redirected response details into the `redirects` array on the response object. + +- `sensitiveHeaders` (default: `[]`) – names of headers to omit when making redirected requests (such as `X-API-Key`, `X-Auth-Token`…) + + +### Advanced usage +By default, `follow-redirects` will use the Node.js default implementations +of [`http`](https://nodejs.org/api/http.html) +and [`https`](https://nodejs.org/api/https.html). +To enable features such as caching and/or intermediate request tracking, +you might instead want to wrap `follow-redirects` around custom protocol implementations: + +```javascript +const { http, https } = require('follow-redirects').wrap({ + http: require('your-custom-http'), + https: require('your-custom-https'), +}); +``` + +Such custom protocols only need an implementation of the `request` method. + +## Browser Usage + +Due to the way the browser works, +the `http` and `https` browser equivalents perform redirects by default. + +By requiring `follow-redirects` this way: +```javascript +const http = require('follow-redirects/http'); +const https = require('follow-redirects/https'); +``` +you can easily tell webpack and friends to replace +`follow-redirect` by the built-in versions: + +```json +{ + "follow-redirects/http" : "http", + "follow-redirects/https" : "https" +} +``` + +## Contributing + +Pull Requests are always welcome. Please [file an issue](https://github.com/follow-redirects/follow-redirects/issues) + detailing your proposal before you invest your valuable time. Additional features and bug fixes should be accompanied + by tests. You can run the test suite locally with a simple `npm test` command. + +## Debug Logging + +`follow-redirects` uses the excellent [debug](https://www.npmjs.com/package/debug) for logging. To turn on logging + set the environment variable `DEBUG=follow-redirects` for debug output from just this module. When running the test + suite it is sometimes advantageous to set `DEBUG=*` to see output from the express server as well. + +## Authors + +- [Ruben Verborgh](https://ruben.verborgh.org/) +- [Olivier Lalonde](mailto:olalonde@gmail.com) +- [James Talmage](mailto:james@talmage.io) + +## License + +[MIT License](https://github.com/follow-redirects/follow-redirects/blob/master/LICENSE) diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.js new file mode 100644 index 0000000..decb77d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.js @@ -0,0 +1,15 @@ +var debug; + +module.exports = function () { + if (!debug) { + try { + /* eslint global-require: off */ + debug = require("debug")("follow-redirects"); + } + catch (error) { /* */ } + if (typeof debug !== "function") { + debug = function () { /* */ }; + } + } + debug.apply(null, arguments); +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.min.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.min.js new file mode 100644 index 0000000..70e61c0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/follow-redirects@1.16.0/debug.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var debug;module.exports=function(){if(!debug){try{debug=require("debug")("follow-redirects")}catch(e){}"function"!=typeof debug&&(debug=function(){})}debug.apply(null,arguments)}; +//# sourceMappingURL=/sm/0a26b6eb386a5bd7c1f78520ccc33d4e3a56d8885a8f14f4d192b34d66326b4e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.js new file mode 100644 index 0000000..695e356 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.js @@ -0,0 +1 @@ +module.exports = require("./").http; diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.min.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.min.js new file mode 100644 index 0000000..44b186f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.min.js @@ -0,0 +1,7 @@ +/** + * Skipped minification because the original files appears to be already minified. + * Original file: /npm/follow-redirects@1.16.0/http.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +module.exports = require("./").http; diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.js new file mode 100644 index 0000000..d21c921 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.js @@ -0,0 +1 @@ +module.exports = require("./").https; diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.min.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.min.js new file mode 100644 index 0000000..bd30e37 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.min.js @@ -0,0 +1,7 @@ +/** + * Skipped minification because the original files appears to be already minified. + * Original file: /npm/follow-redirects@1.16.0/https.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +module.exports = require("./").https; diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.js new file mode 100644 index 0000000..3d32523 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.js @@ -0,0 +1,709 @@ +var url = require("url"); +var URL = url.URL; +var http = require("http"); +var https = require("https"); +var Writable = require("stream").Writable; +var assert = require("assert"); +var debug = require("./debug"); + +// Preventive platform detection +// istanbul ignore next +(function detectUnsupportedEnvironment() { + var looksLikeNode = typeof process !== "undefined"; + var looksLikeBrowser = typeof window !== "undefined" && typeof document !== "undefined"; + var looksLikeV8 = isFunction(Error.captureStackTrace); + if (!looksLikeNode && (looksLikeBrowser || !looksLikeV8)) { + console.warn("The follow-redirects package should be excluded from browser builds."); + } +}()); + +// Whether to use the native URL object or the legacy url module +var useNativeURL = false; +try { + assert(new URL("")); +} +catch (error) { + useNativeURL = error.code === "ERR_INVALID_URL"; +} + +// HTTP headers to drop across HTTP/HTTPS and domain boundaries +var sensitiveHeaders = [ + "Authorization", + "Proxy-Authorization", + "Cookie", +]; + +// URL fields to preserve in copy operations +var preservedUrlFields = [ + "auth", + "host", + "hostname", + "href", + "path", + "pathname", + "port", + "protocol", + "query", + "search", + "hash", +]; + +// Create handlers that pass events from native requests +var events = ["abort", "aborted", "connect", "error", "socket", "timeout"]; +var eventHandlers = Object.create(null); +events.forEach(function (event) { + eventHandlers[event] = function (arg1, arg2, arg3) { + this._redirectable.emit(event, arg1, arg2, arg3); + }; +}); + +// Error types with codes +var InvalidUrlError = createErrorType( + "ERR_INVALID_URL", + "Invalid URL", + TypeError +); +var RedirectionError = createErrorType( + "ERR_FR_REDIRECTION_FAILURE", + "Redirected request failed" +); +var TooManyRedirectsError = createErrorType( + "ERR_FR_TOO_MANY_REDIRECTS", + "Maximum number of redirects exceeded", + RedirectionError +); +var MaxBodyLengthExceededError = createErrorType( + "ERR_FR_MAX_BODY_LENGTH_EXCEEDED", + "Request body larger than maxBodyLength limit" +); +var WriteAfterEndError = createErrorType( + "ERR_STREAM_WRITE_AFTER_END", + "write after end" +); + +// istanbul ignore next +var destroy = Writable.prototype.destroy || noop; + +// An HTTP(S) request that can be redirected +function RedirectableRequest(options, responseCallback) { + // Initialize the request + Writable.call(this); + this._sanitizeOptions(options); + this._options = options; + this._ended = false; + this._ending = false; + this._redirectCount = 0; + this._redirects = []; + this._requestBodyLength = 0; + this._requestBodyBuffers = []; + + // Attach a callback if passed + if (responseCallback) { + this.on("response", responseCallback); + } + + // React to responses of native requests + var self = this; + this._onNativeResponse = function (response) { + try { + self._processResponse(response); + } + catch (cause) { + self.emit("error", cause instanceof RedirectionError ? + cause : new RedirectionError({ cause: cause })); + } + }; + + // Create filter for sensitive HTTP headers + this._headerFilter = new RegExp("^(?:" + + sensitiveHeaders.concat(options.sensitiveHeaders).map(escapeRegex).join("|") + + ")$", "i"); + + // Perform the first request + this._performRequest(); +} +RedirectableRequest.prototype = Object.create(Writable.prototype); + +RedirectableRequest.prototype.abort = function () { + destroyRequest(this._currentRequest); + this._currentRequest.abort(); + this.emit("abort"); +}; + +RedirectableRequest.prototype.destroy = function (error) { + destroyRequest(this._currentRequest, error); + destroy.call(this, error); + return this; +}; + +// Writes buffered data to the current native request +RedirectableRequest.prototype.write = function (data, encoding, callback) { + // Writing is not allowed if end has been called + if (this._ending) { + throw new WriteAfterEndError(); + } + + // Validate input and shift parameters if necessary + if (!isString(data) && !isBuffer(data)) { + throw new TypeError("data should be a string, Buffer or Uint8Array"); + } + if (isFunction(encoding)) { + callback = encoding; + encoding = null; + } + + // Ignore empty buffers, since writing them doesn't invoke the callback + // https://github.com/nodejs/node/issues/22066 + if (data.length === 0) { + if (callback) { + callback(); + } + return; + } + // Only write when we don't exceed the maximum body length + if (this._requestBodyLength + data.length <= this._options.maxBodyLength) { + this._requestBodyLength += data.length; + this._requestBodyBuffers.push({ data: data, encoding: encoding }); + this._currentRequest.write(data, encoding, callback); + } + // Error when we exceed the maximum body length + else { + this.emit("error", new MaxBodyLengthExceededError()); + this.abort(); + } +}; + +// Ends the current native request +RedirectableRequest.prototype.end = function (data, encoding, callback) { + // Shift parameters if necessary + if (isFunction(data)) { + callback = data; + data = encoding = null; + } + else if (isFunction(encoding)) { + callback = encoding; + encoding = null; + } + + // Write data if needed and end + if (!data) { + this._ended = this._ending = true; + this._currentRequest.end(null, null, callback); + } + else { + var self = this; + var currentRequest = this._currentRequest; + this.write(data, encoding, function () { + self._ended = true; + currentRequest.end(null, null, callback); + }); + this._ending = true; + } +}; + +// Sets a header value on the current native request +RedirectableRequest.prototype.setHeader = function (name, value) { + this._options.headers[name] = value; + this._currentRequest.setHeader(name, value); +}; + +// Clears a header value on the current native request +RedirectableRequest.prototype.removeHeader = function (name) { + delete this._options.headers[name]; + this._currentRequest.removeHeader(name); +}; + +// Global timeout for all underlying requests +RedirectableRequest.prototype.setTimeout = function (msecs, callback) { + var self = this; + + // Destroys the socket on timeout + function destroyOnTimeout(socket) { + socket.setTimeout(msecs); + socket.removeListener("timeout", socket.destroy); + socket.addListener("timeout", socket.destroy); + } + + // Sets up a timer to trigger a timeout event + function startTimer(socket) { + if (self._timeout) { + clearTimeout(self._timeout); + } + self._timeout = setTimeout(function () { + self.emit("timeout"); + clearTimer(); + }, msecs); + destroyOnTimeout(socket); + } + + // Stops a timeout from triggering + function clearTimer() { + // Clear the timeout + if (self._timeout) { + clearTimeout(self._timeout); + self._timeout = null; + } + + // Clean up all attached listeners + self.removeListener("abort", clearTimer); + self.removeListener("error", clearTimer); + self.removeListener("response", clearTimer); + self.removeListener("close", clearTimer); + if (callback) { + self.removeListener("timeout", callback); + } + if (!self.socket) { + self._currentRequest.removeListener("socket", startTimer); + } + } + + // Attach callback if passed + if (callback) { + this.on("timeout", callback); + } + + // Start the timer if or when the socket is opened + if (this.socket) { + startTimer(this.socket); + } + else { + this._currentRequest.once("socket", startTimer); + } + + // Clean up on events + this.on("socket", destroyOnTimeout); + this.on("abort", clearTimer); + this.on("error", clearTimer); + this.on("response", clearTimer); + this.on("close", clearTimer); + + return this; +}; + +// Proxy all other public ClientRequest methods +[ + "flushHeaders", "getHeader", + "setNoDelay", "setSocketKeepAlive", +].forEach(function (method) { + RedirectableRequest.prototype[method] = function (a, b) { + return this._currentRequest[method](a, b); + }; +}); + +// Proxy all public ClientRequest properties +["aborted", "connection", "socket"].forEach(function (property) { + Object.defineProperty(RedirectableRequest.prototype, property, { + get: function () { return this._currentRequest[property]; }, + }); +}); + +RedirectableRequest.prototype._sanitizeOptions = function (options) { + // Ensure headers are always present + if (!options.headers) { + options.headers = {}; + } + if (!isArray(options.sensitiveHeaders)) { + options.sensitiveHeaders = []; + } + + // Since http.request treats host as an alias of hostname, + // but the url module interprets host as hostname plus port, + // eliminate the host property to avoid confusion. + if (options.host) { + // Use hostname if set, because it has precedence + if (!options.hostname) { + options.hostname = options.host; + } + delete options.host; + } + + // Complete the URL object when necessary + if (!options.pathname && options.path) { + var searchPos = options.path.indexOf("?"); + if (searchPos < 0) { + options.pathname = options.path; + } + else { + options.pathname = options.path.substring(0, searchPos); + options.search = options.path.substring(searchPos); + } + } +}; + + +// Executes the next native request (initial or redirect) +RedirectableRequest.prototype._performRequest = function () { + // Load the native protocol + var protocol = this._options.protocol; + var nativeProtocol = this._options.nativeProtocols[protocol]; + if (!nativeProtocol) { + throw new TypeError("Unsupported protocol " + protocol); + } + + // If specified, use the agent corresponding to the protocol + // (HTTP and HTTPS use different types of agents) + if (this._options.agents) { + var scheme = protocol.slice(0, -1); + this._options.agent = this._options.agents[scheme]; + } + + // Create the native request and set up its event handlers + var request = this._currentRequest = + nativeProtocol.request(this._options, this._onNativeResponse); + request._redirectable = this; + for (var event of events) { + request.on(event, eventHandlers[event]); + } + + // RFC7230§5.3.1: When making a request directly to an origin server, […] + // a client MUST send only the absolute path […] as the request-target. + this._currentUrl = /^\//.test(this._options.path) ? + url.format(this._options) : + // When making a request to a proxy, […] + // a client MUST send the target URI in absolute-form […]. + this._options.path; + + // End a redirected request + // (The first request must be ended explicitly with RedirectableRequest#end) + if (this._isRedirect) { + // Write the request entity and end + var i = 0; + var self = this; + var buffers = this._requestBodyBuffers; + (function writeNext(error) { + // Only write if this request has not been redirected yet + // istanbul ignore else + if (request === self._currentRequest) { + // Report any write errors + // istanbul ignore if + if (error) { + self.emit("error", error); + } + // Write the next buffer if there are still left + else if (i < buffers.length) { + var buffer = buffers[i++]; + // istanbul ignore else + if (!request.finished) { + request.write(buffer.data, buffer.encoding, writeNext); + } + } + // End the request if `end` has been called on us + else if (self._ended) { + request.end(); + } + } + }()); + } +}; + +// Processes a response from the current native request +RedirectableRequest.prototype._processResponse = function (response) { + // Store the redirected response + var statusCode = response.statusCode; + if (this._options.trackRedirects) { + this._redirects.push({ + url: this._currentUrl, + headers: response.headers, + statusCode: statusCode, + }); + } + + // RFC7231§6.4: The 3xx (Redirection) class of status code indicates + // that further action needs to be taken by the user agent in order to + // fulfill the request. If a Location header field is provided, + // the user agent MAY automatically redirect its request to the URI + // referenced by the Location field value, + // even if the specific status code is not understood. + + // If the response is not a redirect; return it as-is + var location = response.headers.location; + if (!location || this._options.followRedirects === false || + statusCode < 300 || statusCode >= 400) { + response.responseUrl = this._currentUrl; + response.redirects = this._redirects; + this.emit("response", response); + + // Clean up + this._requestBodyBuffers = []; + return; + } + + // The response is a redirect, so abort the current request + destroyRequest(this._currentRequest); + // Discard the remainder of the response to avoid waiting for data + response.destroy(); + + // RFC7231§6.4: A client SHOULD detect and intervene + // in cyclical redirections (i.e., "infinite" redirection loops). + if (++this._redirectCount > this._options.maxRedirects) { + throw new TooManyRedirectsError(); + } + + // Store the request headers if applicable + var requestHeaders; + var beforeRedirect = this._options.beforeRedirect; + if (beforeRedirect) { + requestHeaders = Object.assign({ + // The Host header was set by nativeProtocol.request + Host: response.req.getHeader("host"), + }, this._options.headers); + } + + // RFC7231§6.4: Automatic redirection needs to done with + // care for methods not known to be safe, […] + // RFC7231§6.4.2–3: For historical reasons, a user agent MAY change + // the request method from POST to GET for the subsequent request. + var method = this._options.method; + if ((statusCode === 301 || statusCode === 302) && this._options.method === "POST" || + // RFC7231§6.4.4: The 303 (See Other) status code indicates that + // the server is redirecting the user agent to a different resource […] + // A user agent can perform a retrieval request targeting that URI + // (a GET or HEAD request if using HTTP) […] + (statusCode === 303) && !/^(?:GET|HEAD)$/.test(this._options.method)) { + this._options.method = "GET"; + // Drop a possible entity and headers related to it + this._requestBodyBuffers = []; + removeMatchingHeaders(/^content-/i, this._options.headers); + } + + // Drop the Host header, as the redirect might lead to a different host + var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers); + + // If the redirect is relative, carry over the host of the last request + var currentUrlParts = parseUrl(this._currentUrl); + var currentHost = currentHostHeader || currentUrlParts.host; + var currentUrl = /^\w+:/.test(location) ? this._currentUrl : + url.format(Object.assign(currentUrlParts, { host: currentHost })); + + // Create the redirected request + var redirectUrl = resolveUrl(location, currentUrl); + debug("redirecting to", redirectUrl.href); + this._isRedirect = true; + spreadUrlObject(redirectUrl, this._options); + + // Drop confidential headers when redirecting to a less secure protocol + // or to a different domain that is not a superdomain + if (redirectUrl.protocol !== currentUrlParts.protocol && + redirectUrl.protocol !== "https:" || + redirectUrl.host !== currentHost && + !isSubdomain(redirectUrl.host, currentHost)) { + removeMatchingHeaders(this._headerFilter, this._options.headers); + } + + // Evaluate the beforeRedirect callback + if (isFunction(beforeRedirect)) { + var responseDetails = { + headers: response.headers, + statusCode: statusCode, + }; + var requestDetails = { + url: currentUrl, + method: method, + headers: requestHeaders, + }; + beforeRedirect(this._options, responseDetails, requestDetails); + this._sanitizeOptions(this._options); + } + + // Perform the redirected request + this._performRequest(); +}; + +// Wraps the key/value object of protocols with redirect functionality +function wrap(protocols) { + // Default settings + var exports = { + maxRedirects: 21, + maxBodyLength: 10 * 1024 * 1024, + }; + + // Wrap each protocol + var nativeProtocols = {}; + Object.keys(protocols).forEach(function (scheme) { + var protocol = scheme + ":"; + var nativeProtocol = nativeProtocols[protocol] = protocols[scheme]; + var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol); + + // Executes a request, following redirects + function request(input, options, callback) { + // Parse parameters, ensuring that input is an object + if (isURL(input)) { + input = spreadUrlObject(input); + } + else if (isString(input)) { + input = spreadUrlObject(parseUrl(input)); + } + else { + callback = options; + options = validateUrl(input); + input = { protocol: protocol }; + } + if (isFunction(options)) { + callback = options; + options = null; + } + + // Set defaults + options = Object.assign({ + maxRedirects: exports.maxRedirects, + maxBodyLength: exports.maxBodyLength, + }, input, options); + options.nativeProtocols = nativeProtocols; + if (!isString(options.host) && !isString(options.hostname)) { + options.hostname = "::1"; + } + + assert.equal(options.protocol, protocol, "protocol mismatch"); + debug("options", options); + return new RedirectableRequest(options, callback); + } + + // Executes a GET request, following redirects + function get(input, options, callback) { + var wrappedRequest = wrappedProtocol.request(input, options, callback); + wrappedRequest.end(); + return wrappedRequest; + } + + // Expose the properties on the wrapped protocol + Object.defineProperties(wrappedProtocol, { + request: { value: request, configurable: true, enumerable: true, writable: true }, + get: { value: get, configurable: true, enumerable: true, writable: true }, + }); + }); + return exports; +} + +function noop() { /* empty */ } + +function parseUrl(input) { + var parsed; + // istanbul ignore else + if (useNativeURL) { + parsed = new URL(input); + } + else { + // Ensure the URL is valid and absolute + parsed = validateUrl(url.parse(input)); + if (!isString(parsed.protocol)) { + throw new InvalidUrlError({ input }); + } + } + return parsed; +} + +function resolveUrl(relative, base) { + // istanbul ignore next + return useNativeURL ? new URL(relative, base) : parseUrl(url.resolve(base, relative)); +} + +function validateUrl(input) { + if (/^\[/.test(input.hostname) && !/^\[[:0-9a-f]+\]$/i.test(input.hostname)) { + throw new InvalidUrlError({ input: input.href || input }); + } + if (/^\[/.test(input.host) && !/^\[[:0-9a-f]+\](:\d+)?$/i.test(input.host)) { + throw new InvalidUrlError({ input: input.href || input }); + } + return input; +} + +function spreadUrlObject(urlObject, target) { + var spread = target || {}; + for (var key of preservedUrlFields) { + spread[key] = urlObject[key]; + } + + // Fix IPv6 hostname + if (spread.hostname.startsWith("[")) { + spread.hostname = spread.hostname.slice(1, -1); + } + // Ensure port is a number + if (spread.port !== "") { + spread.port = Number(spread.port); + } + // Concatenate path + spread.path = spread.search ? spread.pathname + spread.search : spread.pathname; + + return spread; +} + +function removeMatchingHeaders(regex, headers) { + var lastValue; + for (var header in headers) { + if (regex.test(header)) { + lastValue = headers[header]; + delete headers[header]; + } + } + return (lastValue === null || typeof lastValue === "undefined") ? + undefined : String(lastValue).trim(); +} + +function createErrorType(code, message, baseClass) { + // Create constructor + function CustomError(properties) { + // istanbul ignore else + if (isFunction(Error.captureStackTrace)) { + Error.captureStackTrace(this, this.constructor); + } + Object.assign(this, properties || {}); + this.code = code; + this.message = this.cause ? message + ": " + this.cause.message : message; + } + + // Attach constructor and set default properties + CustomError.prototype = new (baseClass || Error)(); + Object.defineProperties(CustomError.prototype, { + constructor: { + value: CustomError, + enumerable: false, + }, + name: { + value: "Error [" + code + "]", + enumerable: false, + }, + }); + return CustomError; +} + +function destroyRequest(request, error) { + for (var event of events) { + request.removeListener(event, eventHandlers[event]); + } + request.on("error", noop); + request.destroy(error); +} + +function isSubdomain(subdomain, domain) { + assert(isString(subdomain) && isString(domain)); + var dot = subdomain.length - domain.length - 1; + return dot > 0 && subdomain[dot] === "." && subdomain.endsWith(domain); +} + +function isArray(value) { + return value instanceof Array; +} + +function isString(value) { + return typeof value === "string" || value instanceof String; +} + +function isFunction(value) { + return typeof value === "function"; +} + +function isBuffer(value) { + return typeof value === "object" && ("length" in value); +} + +function isURL(value) { + return URL && value instanceof URL; +} + +function escapeRegex(regex) { + return regex.replace(/[\]\\/()*+?.$]/g, "\\$&"); +} + +// Exports +module.exports = wrap({ http: http, https: https }); +module.exports.wrap = wrap; diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.min.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.min.js new file mode 100644 index 0000000..8382ed2 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/follow-redirects@1.16.0/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var url=require("url"),URL=url.URL,http=require("http"),https=require("https"),Writable=require("stream").Writable,assert=require("assert"),debug=require("./debug");!function(){var e="undefined"!=typeof process,t="undefined"!=typeof window&&"undefined"!=typeof document,r=isFunction(Error.captureStackTrace);e||!t&&r||console.warn("The follow-redirects package should be excluded from browser builds.")}();var useNativeURL=!1;try{assert(new URL(""))}catch(e){useNativeURL="ERR_INVALID_URL"===e.code}var sensitiveHeaders=["Authorization","Proxy-Authorization","Cookie"],preservedUrlFields=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],events=["abort","aborted","connect","error","socket","timeout"],eventHandlers=Object.create(null);events.forEach((function(e){eventHandlers[e]=function(t,r,s){this._redirectable.emit(e,t,r,s)}}));var InvalidUrlError=createErrorType("ERR_INVALID_URL","Invalid URL",TypeError),RedirectionError=createErrorType("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),TooManyRedirectsError=createErrorType("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",RedirectionError),MaxBodyLengthExceededError=createErrorType("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),WriteAfterEndError=createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end"),destroy=Writable.prototype.destroy||noop;function RedirectableRequest(e,t){Writable.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var r=this;this._onNativeResponse=function(e){try{r._processResponse(e)}catch(e){r.emit("error",e instanceof RedirectionError?e:new RedirectionError({cause:e}))}},this._headerFilter=new RegExp("^(?:"+sensitiveHeaders.concat(e.sensitiveHeaders).map(escapeRegex).join("|")+")$","i"),this._performRequest()}function wrap(e){var t={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(e).forEach((function(s){var o=s+":",i=r[o]=e[s],n=t[s]=Object.create(i);Object.defineProperties(n,{request:{value:function(e,s,i){return isURL(e)?e=spreadUrlObject(e):isString(e)?e=spreadUrlObject(parseUrl(e)):(i=s,s=validateUrl(e),e={protocol:o}),isFunction(s)&&(i=s,s=null),(s=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,s)).nativeProtocols=r,isString(s.host)||isString(s.hostname)||(s.hostname="::1"),assert.equal(s.protocol,o,"protocol mismatch"),debug("options",s),new RedirectableRequest(s,i)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,r){var s=n.request(e,t,r);return s.end(),s},configurable:!0,enumerable:!0,writable:!0}})})),t}function noop(){}function parseUrl(e){var t;if(useNativeURL)t=new URL(e);else if(!isString((t=validateUrl(url.parse(e))).protocol))throw new InvalidUrlError({input:e});return t}function resolveUrl(e,t){return useNativeURL?new URL(e,t):parseUrl(url.resolve(t,e))}function validateUrl(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new InvalidUrlError({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new InvalidUrlError({input:e.href||e});return e}function spreadUrlObject(e,t){var r=t||{};for(var s of preservedUrlFields)r[s]=e[s];return r.hostname.startsWith("[")&&(r.hostname=r.hostname.slice(1,-1)),""!==r.port&&(r.port=Number(r.port)),r.path=r.search?r.pathname+r.search:r.pathname,r}function removeMatchingHeaders(e,t){var r;for(var s in t)e.test(s)&&(r=t[s],delete t[s]);return null==r?void 0:String(r).trim()}function createErrorType(e,t,r){function s(r){isFunction(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,r||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return s.prototype=new(r||Error),Object.defineProperties(s.prototype,{constructor:{value:s,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),s}function destroyRequest(e,t){for(var r of events)e.removeListener(r,eventHandlers[r]);e.on("error",noop),e.destroy(t)}function isSubdomain(e,t){assert(isString(e)&&isString(t));var r=e.length-t.length-1;return r>0&&"."===e[r]&&e.endsWith(t)}function isArray(e){return e instanceof Array}function isString(e){return"string"==typeof e||e instanceof String}function isFunction(e){return"function"==typeof e}function isBuffer(e){return"object"==typeof e&&"length"in e}function isURL(e){return URL&&e instanceof URL}function escapeRegex(e){return e.replace(/[\]\\/()*+?.$]/g,"\\$&")}RedirectableRequest.prototype=Object.create(Writable.prototype),RedirectableRequest.prototype.abort=function(){destroyRequest(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},RedirectableRequest.prototype.destroy=function(e){return destroyRequest(this._currentRequest,e),destroy.call(this,e),this},RedirectableRequest.prototype.write=function(e,t,r){if(this._ending)throw new WriteAfterEndError;if(!isString(e)&&!isBuffer(e))throw new TypeError("data should be a string, Buffer or Uint8Array");isFunction(t)&&(r=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,r)):(this.emit("error",new MaxBodyLengthExceededError),this.abort()):r&&r()},RedirectableRequest.prototype.end=function(e,t,r){if(isFunction(e)?(r=e,e=t=null):isFunction(t)&&(r=t,t=null),e){var s=this,o=this._currentRequest;this.write(e,t,(function(){s._ended=!0,o.end(null,null,r)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,r)},RedirectableRequest.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},RedirectableRequest.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},RedirectableRequest.prototype.setTimeout=function(e,t){var r=this;function s(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function o(t){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout((function(){r.emit("timeout"),i()}),e),s(t)}function i(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",i),r.removeListener("error",i),r.removeListener("response",i),r.removeListener("close",i),t&&r.removeListener("timeout",t),r.socket||r._currentRequest.removeListener("socket",o)}return t&&this.on("timeout",t),this.socket?o(this.socket):this._currentRequest.once("socket",o),this.on("socket",s),this.on("abort",i),this.on("error",i),this.on("response",i),this.on("close",i),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){RedirectableRequest.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(RedirectableRequest.prototype,e,{get:function(){return this._currentRequest[e]}})})),RedirectableRequest.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),isArray(e.sensitiveHeaders)||(e.sensitiveHeaders=[]),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},RedirectableRequest.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var r=e.slice(0,-1);this._options.agent=this._options.agents[r]}var s=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var o of(s._redirectable=this,events))s.on(o,eventHandlers[o]);if(this._currentUrl=/^\//.test(this._options.path)?url.format(this._options):this._options.path,this._isRedirect){var i=0,n=this,a=this._requestBodyBuffers;!function e(t){if(s===n._currentRequest)if(t)n.emit("error",t);else if(i=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(destroyRequest(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new TooManyRedirectsError;var o=this._options.beforeRedirect;o&&(r=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var i=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],removeMatchingHeaders(/^content-/i,this._options.headers));var n=removeMatchingHeaders(/^host$/i,this._options.headers),a=parseUrl(this._currentUrl),u=n||a.host,c=/^\w+:/.test(s)?this._currentUrl:url.format(Object.assign(a,{host:u})),h=resolveUrl(s,c);if(debug("redirecting to",h.href),this._isRedirect=!0,spreadUrlObject(h,this._options),(h.protocol!==a.protocol&&"https:"!==h.protocol||h.host!==u&&!isSubdomain(h.host,u))&&removeMatchingHeaders(this._headerFilter,this._options.headers),isFunction(o)){var d={headers:e.headers,statusCode:t},p={url:c,method:i,headers:r};o(this._options,d,p),this._sanitizeOptions(this._options)}this._performRequest()},module.exports=wrap({http:http,https:https}),module.exports.wrap=wrap; +//# sourceMappingURL=/sm/86d4e51107366b97f5ea24bad1953e2f7078e12ec146258205ac779ce476b08e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/package.json b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/package.json new file mode 100644 index 0000000..1027c77 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/package.json @@ -0,0 +1,58 @@ +{ + "name": "follow-redirects", + "version": "1.16.0", + "description": "HTTP and HTTPS modules that follow redirects.", + "license": "MIT", + "main": "index.js", + "files": [ + "*.js" + ], + "engines": { + "node": ">=4.0" + }, + "scripts": { + "lint": "eslint *.js test", + "test": "nyc mocha" + }, + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/follow-redirects/follow-redirects.git" + }, + "homepage": "https://github.com/follow-redirects/follow-redirects", + "bugs": { + "url": "https://github.com/follow-redirects/follow-redirects/issues" + }, + "keywords": [ + "http", + "https", + "url", + "redirect", + "client", + "location", + "utility" + ], + "author": "Ruben Verborgh (https://ruben.verborgh.org/)", + "contributors": [ + "Olivier Lalonde (http://www.syskall.com)", + "James Talmage " + ], + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "peerDependenciesMeta": { + "debug": { + "optional": true + } + }, + "devDependencies": { + "concat-stream": "^2.0.0", + "eslint": "^5.16.0", + "express": "^4.16.4", + "lolex": "^3.1.0", + "mocha": "^6.0.2", + "nyc": "^14.1.1" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/form-data/CHANGELOG.md new file mode 100644 index 0000000..cf130d2 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/form-data/CHANGELOG.md @@ -0,0 +1,686 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v4.0.6](https://github.com/form-data/form-data/compare/v4.0.5...v4.0.6) - 2026-06-12 + +### Commits + +- [Fix] escape CR, LF, and `"` in field names and filenames [`8dff42c`](https://github.com/form-data/form-data/commit/8dff42c6da654ed4e7ad4acb7f8ccd3831217c99) +- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `tape` [`f31d21e`](https://github.com/form-data/form-data/commit/f31d21ef10bf46e46344c3ee4f99acbef6be43e1) +- [Deps] update `hasown`, `mime-types` [`92ae0eb`](https://github.com/form-data/form-data/commit/92ae0eb5da94d6f01925d5f4fcffb2a1e50ed7cd) +- [Dev Deps] update `js-randomness-predictor` [`67b0f65`](https://github.com/form-data/form-data/commit/67b0f65c2e0b065a511d42227d35e4d367644e97) + +## [v4.0.5](https://github.com/form-data/form-data/compare/v4.0.4...v4.0.5) - 2025-11-17 + +### Commits + +- [Tests] Switch to newer v8 prediction library; enable node 24 testing [`16e0076`](https://github.com/form-data/form-data/commit/16e00765342106876f98a1c9703314006c9e937a) +- [Dev Deps] update `@ljharb/eslint-config`, `eslint` [`5822467`](https://github.com/form-data/form-data/commit/5822467f0ec21f6ad613c1c90856375e498793c7) +- [Fix] set Symbol.toStringTag in the proper place [`76d0dee`](https://github.com/form-data/form-data/commit/76d0dee43933b5e167f7f09e5d9cbbd1cf911aa7) + +## [v4.0.4](https://github.com/form-data/form-data/compare/v4.0.3...v4.0.4) - 2025-07-16 + +### Commits + +- [meta] add `auto-changelog` [`811f682`](https://github.com/form-data/form-data/commit/811f68282fab0315209d0e2d1c44b6c32ea0d479) +- [Tests] handle predict-v8-randomness failures in node < 17 and node > 23 [`1d11a76`](https://github.com/form-data/form-data/commit/1d11a76434d101f22fdb26b8aef8615f28b98402) +- [Fix] Switch to using `crypto` random for boundary values [`3d17230`](https://github.com/form-data/form-data/commit/3d1723080e6577a66f17f163ecd345a21d8d0fd0) +- [Tests] fix linting errors [`5e34080`](https://github.com/form-data/form-data/commit/5e340800b5f8914213e4e0378c084aae71cfd73a) +- [meta] actually ensure the readme backup isn’t published [`316c82b`](https://github.com/form-data/form-data/commit/316c82ba93fd4985af757b771b9a1f26d3b709ef) +- [Dev Deps] update `@ljharb/eslint-config` [`58c25d7`](https://github.com/form-data/form-data/commit/58c25d76406a5b0dfdf54045cf252563f2bbda8d) +- [meta] fix readme capitalization [`2300ca1`](https://github.com/form-data/form-data/commit/2300ca19595b0ee96431e868fe2a40db79e41c61) + +## [v4.0.3](https://github.com/form-data/form-data/compare/v4.0.2...v4.0.3) - 2025-06-05 + +### Fixed + +- [Fix] `append`: avoid a crash on nullish values [`#577`](https://github.com/form-data/form-data/issues/577) + +### Commits + +- [eslint] use a shared config [`426ba9a`](https://github.com/form-data/form-data/commit/426ba9ac440f95d1998dac9a5cd8d738043b048f) +- [eslint] fix some spacing issues [`2094191`](https://github.com/form-data/form-data/commit/20941917f0e9487e68c564ebc3157e23609e2939) +- [Refactor] use `hasown` [`81ab41b`](https://github.com/form-data/form-data/commit/81ab41b46fdf34f5d89d7ff30b513b0925febfaa) +- [Fix] validate boundary type in `setBoundary()` method [`8d8e469`](https://github.com/form-data/form-data/commit/8d8e4693093519f7f18e3c597d1e8df8c493de9e) +- [Tests] add tests to check the behavior of `getBoundary` with non-strings [`837b8a1`](https://github.com/form-data/form-data/commit/837b8a1f7562bfb8bda74f3fc538adb7a5858995) +- [Dev Deps] remove unused deps [`870e4e6`](https://github.com/form-data/form-data/commit/870e4e665935e701bf983a051244ab928e62d58e) +- [meta] remove local commit hooks [`e6e83cc`](https://github.com/form-data/form-data/commit/e6e83ccb545a5619ed6cd04f31d5c2f655eb633e) +- [Dev Deps] update `eslint` [`4066fd6`](https://github.com/form-data/form-data/commit/4066fd6f65992b62fa324a6474a9292a4f88c916) +- [meta] fix scripts to use prepublishOnly [`c4bbb13`](https://github.com/form-data/form-data/commit/c4bbb13c0ef669916657bc129341301b1d331d75) + +## [v4.0.2](https://github.com/form-data/form-data/compare/v4.0.1...v4.0.2) - 2025-02-14 + +### Merged + +- [Fix] set `Symbol.toStringTag` when available [`#573`](https://github.com/form-data/form-data/pull/573) +- [Fix] set `Symbol.toStringTag` when available [`#573`](https://github.com/form-data/form-data/pull/573) +- fix (npmignore): ignore temporary build files [`#532`](https://github.com/form-data/form-data/pull/532) +- fix (npmignore): ignore temporary build files [`#532`](https://github.com/form-data/form-data/pull/532) + +### Fixed + +- [Fix] set `Symbol.toStringTag` when available (#573) [`#396`](https://github.com/form-data/form-data/issues/396) +- [Fix] set `Symbol.toStringTag` when available (#573) [`#396`](https://github.com/form-data/form-data/issues/396) +- [Fix] set `Symbol.toStringTag` when available [`#396`](https://github.com/form-data/form-data/issues/396) + +### Commits + +- Merge tags v2.5.3 and v3.0.3 [`92613b9`](https://github.com/form-data/form-data/commit/92613b9208556eb4ebc482fdf599fae111626fb6) +- [Tests] migrate from travis to GHA [`806eda7`](https://github.com/form-data/form-data/commit/806eda77740e6e3c67c7815afb216f2e1f187ba5) +- [Tests] migrate from travis to GHA [`8fdb3bc`](https://github.com/form-data/form-data/commit/8fdb3bc6b5d001f8909a9fca391d1d1d97ef1d79) +- [Refactor] use `Object.prototype.hasOwnProperty.call` [`7fecefe`](https://github.com/form-data/form-data/commit/7fecefe4ba8f775634aff86a698776ad95ecffb5) +- [Refactor] use `Object.prototype.hasOwnProperty.call` [`6e682d4`](https://github.com/form-data/form-data/commit/6e682d4bd41de7e80de41e3c4ee10f23fcc3dd00) +- [Refactor] use `Object.prototype.hasOwnProperty.call` [`df3c1e6`](https://github.com/form-data/form-data/commit/df3c1e6f0937f47a782dc4573756a54987f31dde) +- [Dev Deps] update `@types/node`, `browserify`, `coveralls`, `cross-spawn`, `eslint`, `formidable`, `in-publish`, `pkgfiles`, `pre-commit`, `puppeteer`, `request`, `tape`, `typescript` [`8261fcb`](https://github.com/form-data/form-data/commit/8261fcb8bf5944d30ae3bd04b91b71d6a9932ef4) +- [Dev Deps] update `@types/node`, `browserify`, `coveralls`, `cross-spawn`, `eslint`, `formidable`, `in-publish`, `pkgfiles`, `pre-commit`, `puppeteer`, `request`, `tape`, `typescript` [`fb66cb7`](https://github.com/form-data/form-data/commit/fb66cb740e29fb170eee947d4be6fdf82d6659af) +- [Dev Deps] update `@types/node`, `browserify`, `coveralls`, `eslint`, `formidable`, `in-publish`, `phantomjs-prebuilt`, `pkgfiles`, `pre-commit`, `request`, `tape`, `typescript` [`819f6b7`](https://github.com/form-data/form-data/commit/819f6b7a543306a891fca37c3a06d0ff4a734422) +- [eslint] clean up ignores [`3217b3d`](https://github.com/form-data/form-data/commit/3217b3ded8e382e51171d5c74c6038a21cc54440) +- [eslint] clean up ignores [`3a9d480`](https://github.com/form-data/form-data/commit/3a9d480232dbcbc07260ad84c3da4975d9a3ae9e) +- [Fix] `Buffer.from` and `Buffer.alloc` require node 4+ [`c499f76`](https://github.com/form-data/form-data/commit/c499f76f1faac1ddbf210c45217038e4c1e02337) +- Only apps should have lockfiles [`b82f590`](https://github.com/form-data/form-data/commit/b82f59093cdbadb4b7ec0922d33ae7ab048b82ff) +- Only apps should have lockfiles [`b170ee2`](https://github.com/form-data/form-data/commit/b170ee2b22b4c695c363b811c0c553d2fb1bbd79) +- [Deps] update `combined-stream`, `mime-types` [`6b1ca1d`](https://github.com/form-data/form-data/commit/6b1ca1dc7362a1b1c3a99a885516cca4b7eb817f) +- [Dev Deps] pin `request` which via `tough-cookie` ^2.4 depends on `psl` [`e5df7f2`](https://github.com/form-data/form-data/commit/e5df7f24383342264bd73dee3274818a40d04065) +- [Deps] update `mime-types` [`5a5bafe`](https://github.com/form-data/form-data/commit/5a5bafee894fead10da49e1fa2b084e17f2e1034) +- Bumped version 2.5.3 [`9457283`](https://github.com/form-data/form-data/commit/9457283e1dce6122adc908fdd7442cfc54cabe7a) +- [Dev Deps] pin `request` which via `tough-cookie` ^2.4 depends on `psl` [`9dbe192`](https://github.com/form-data/form-data/commit/9dbe192be3db215eac4d9c0b980470a5c2c030c6) +- Merge tags v2.5.2 and v3.0.2 [`d53265d`](https://github.com/form-data/form-data/commit/d53265d86c5153f535ec68eb107548b1b2883576) +- Bumped version 2.5.2 [`7020dd4`](https://github.com/form-data/form-data/commit/7020dd4c1260370abc40e86e3dfe49c5d576fbda) +- [Dev Deps] downgrade `cross-spawn` [`3fc1a9b`](https://github.com/form-data/form-data/commit/3fc1a9b62ddf1fe77a2bd6bd3476e4c0a9e01a88) +- fix: move util.isArray to Array.isArray (#564) [`edb555a`](https://github.com/form-data/form-data/commit/edb555a811f6f7e4668db4831551cf41c1de1cac) +- fix: move util.isArray to Array.isArray (#564) [`10418d1`](https://github.com/form-data/form-data/commit/10418d1fe4b0d65fe020eafe3911feb5ad5e2bd6) + +## [v4.0.1](https://github.com/form-data/form-data/compare/v4.0.0...v4.0.1) - 2024-10-10 + +### Commits + +- [Tests] migrate from travis to GHA [`757b4e3`](https://github.com/form-data/form-data/commit/757b4e32e95726aec9bdcc771fb5a3b564d88034) +- [eslint] clean up ignores [`e8f0d80`](https://github.com/form-data/form-data/commit/e8f0d80cd7cd424d1488532621ec40a33218b30b) +- fix (npmignore): ignore temporary build files [`335ad19`](https://github.com/form-data/form-data/commit/335ad19c6e17dc2d7298ffe0e9b37ba63600e94b) +- fix: move util.isArray to Array.isArray [`440d3be`](https://github.com/form-data/form-data/commit/440d3bed752ac2f9213b4c2229dbccefe140e5fa) + +## [v4.0.0](https://github.com/form-data/form-data/compare/v3.0.5...v4.0.0) - 2021-02-15 + +### Merged + +- Handle custom stream [`#382`](https://github.com/form-data/form-data/pull/382) + +### Commits + +- Fix typo [`e705c0a`](https://github.com/form-data/form-data/commit/e705c0a1fdaf90d21501f56460b93e43a18bd435) +- Update README for custom stream behavior [`6dd8624`](https://github.com/form-data/form-data/commit/6dd8624b2999e32768d62752c9aae5845a803b0d) + +## [v3.0.5](https://github.com/form-data/form-data/compare/v3.0.4...v3.0.5) - 2026-06-12 + +### Commits + +- [Fix] escape CR, LF, and `"` in field names and filenames [`8777e67`](https://github.com/form-data/form-data/commit/8777e67fbd0282d3dcba81f974fbdd91062c5b23) +- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `eslint`, `tape` [`27c61a5`](https://github.com/form-data/form-data/commit/27c61a5deed84798be105c96605cb8bd00502dcd) +- [Deps] update `hasown` [`6a8a1c6`](https://github.com/form-data/form-data/commit/6a8a1c6d04da36e15c80b16ecc4c0265082b3213) + +## [v3.0.4](https://github.com/form-data/form-data/compare/v3.0.3...v3.0.4) - 2025-07-16 + +### Fixed + +- [Fix] `append`: avoid a crash on nullish values [`#577`](https://github.com/form-data/form-data/issues/577) + +### Commits + +- [eslint] update linting config [`f5e7eb0`](https://github.com/form-data/form-data/commit/f5e7eb024bc3fc7e2074ff80f143a4f4cbc1dbda) +- [meta] add `auto-changelog` [`d2eb290`](https://github.com/form-data/form-data/commit/d2eb290a3e47ed5bcad7020d027daa15b3cf5ef5) +- [Tests] handle predict-v8-randomness failures in node < 17 and node > 23 [`e8c574c`](https://github.com/form-data/form-data/commit/e8c574cb07ff3a0de2ecc0912d783ef22e190c1f) +- [Fix] Switch to using `crypto` random for boundary values [`c6ced61`](https://github.com/form-data/form-data/commit/c6ced61d4fae8f617ee2fd692133ed87baa5d0fd) +- [Refactor] use `hasown` [`1a78b5d`](https://github.com/form-data/form-data/commit/1a78b5dd05e508d67e97764d812ac7c6d92ea88d) +- [Fix] validate boundary type in `setBoundary()` method [`70bbaa0`](https://github.com/form-data/form-data/commit/70bbaa0b395ca0fb975c309de8d7286979254cc4) +- [Tests] add tests to check the behavior of `getBoundary` with non-strings [`b22a64e`](https://github.com/form-data/form-data/commit/b22a64ef94ba4f3f6ff7d1ac72a54cca128567df) +- [meta] actually ensure the readme backup isn’t published [`0150851`](https://github.com/form-data/form-data/commit/01508513ffb26fd662ae7027834b325af8efb9ea) +- [meta] remove local commit hooks [`fc42bb9`](https://github.com/form-data/form-data/commit/fc42bb9315b641bfa6dae51cb4e188a86bb04769) +- [Dev Deps] remove unused deps [`a14d09e`](https://github.com/form-data/form-data/commit/a14d09ea8ed7e0a2e1705269ce6fb54bb7ee6bdb) +- [meta] fix scripts to use prepublishOnly [`11d9f73`](https://github.com/form-data/form-data/commit/11d9f7338f18a59b431832a3562b49baece0a432) +- [meta] fix readme capitalization [`fc38b48`](https://github.com/form-data/form-data/commit/fc38b4834a117a1856f3d877eb2f5b7496a24932) + +## [v3.0.3](https://github.com/form-data/form-data/compare/v3.0.2...v3.0.3) - 2025-02-14 + +### Merged + +- [Fix] set `Symbol.toStringTag` when available [`#573`](https://github.com/form-data/form-data/pull/573) + +### Fixed + +- [Fix] set `Symbol.toStringTag` when available (#573) [`#396`](https://github.com/form-data/form-data/issues/396) + +### Commits + +- [Refactor] use `Object.prototype.hasOwnProperty.call` [`7fecefe`](https://github.com/form-data/form-data/commit/7fecefe4ba8f775634aff86a698776ad95ecffb5) +- [Dev Deps] update `@types/node`, `browserify`, `coveralls`, `cross-spawn`, `eslint`, `formidable`, `in-publish`, `pkgfiles`, `pre-commit`, `puppeteer`, `request`, `tape`, `typescript` [`8261fcb`](https://github.com/form-data/form-data/commit/8261fcb8bf5944d30ae3bd04b91b71d6a9932ef4) +- Only apps should have lockfiles [`b82f590`](https://github.com/form-data/form-data/commit/b82f59093cdbadb4b7ec0922d33ae7ab048b82ff) +- [Dev Deps] pin `request` which via `tough-cookie` ^2.4 depends on `psl` [`e5df7f2`](https://github.com/form-data/form-data/commit/e5df7f24383342264bd73dee3274818a40d04065) +- [Deps] update `mime-types` [`5a5bafe`](https://github.com/form-data/form-data/commit/5a5bafee894fead10da49e1fa2b084e17f2e1034) + +## [v3.0.2](https://github.com/form-data/form-data/compare/v3.0.1...v3.0.2) - 2024-10-10 + +### Merged + +- fix (npmignore): ignore temporary build files [`#532`](https://github.com/form-data/form-data/pull/532) + +### Commits + +- [Tests] migrate from travis to GHA [`8fdb3bc`](https://github.com/form-data/form-data/commit/8fdb3bc6b5d001f8909a9fca391d1d1d97ef1d79) +- [eslint] clean up ignores [`3217b3d`](https://github.com/form-data/form-data/commit/3217b3ded8e382e51171d5c74c6038a21cc54440) +- fix: move util.isArray to Array.isArray (#564) [`edb555a`](https://github.com/form-data/form-data/commit/edb555a811f6f7e4668db4831551cf41c1de1cac) + +## [v3.0.1](https://github.com/form-data/form-data/compare/v3.0.0...v3.0.1) - 2021-02-15 + +### Merged + +- Fix typo: ads -> adds [`#451`](https://github.com/form-data/form-data/pull/451) + +### Commits + +- feat: add setBoundary method [`55d90ce`](https://github.com/form-data/form-data/commit/55d90ce4a4c22b0ea0647991d85cb946dfb7395b) + +## [v3.0.0](https://github.com/form-data/form-data/compare/v2.5.6...v3.0.0) - 2019-11-05 + +### Merged + +- Update Readme.md [`#449`](https://github.com/form-data/form-data/pull/449) +- Update package.json [`#448`](https://github.com/form-data/form-data/pull/448) +- fix memory leak [`#447`](https://github.com/form-data/form-data/pull/447) +- form-data: Replaced PhantomJS Dependency [`#442`](https://github.com/form-data/form-data/pull/442) +- Fix constructor options in Typescript definitions [`#446`](https://github.com/form-data/form-data/pull/446) +- Fix the getHeaders method signatures [`#434`](https://github.com/form-data/form-data/pull/434) +- Update combined-stream (fixes #422) [`#424`](https://github.com/form-data/form-data/pull/424) + +### Fixed + +- Merge pull request #424 from botgram/update-combined-stream [`#422`](https://github.com/form-data/form-data/issues/422) +- Update combined-stream (fixes #422) [`#422`](https://github.com/form-data/form-data/issues/422) + +### Commits + +- Add readable stream options to constructor type [`80c8f74`](https://github.com/form-data/form-data/commit/80c8f746bcf4c0418ae35fbedde12fb8c01e2748) +- Fixed: getHeaders method signatures [`f4ca7f8`](https://github.com/form-data/form-data/commit/f4ca7f8e31f7e07df22c1aeb8e0a32a7055a64ca) +- Pass options to constructor if not used with new [`4bde68e`](https://github.com/form-data/form-data/commit/4bde68e12de1ba90fefad2e7e643f6375b902763) +- Make userHeaders optional [`2b4e478`](https://github.com/form-data/form-data/commit/2b4e4787031490942f2d1ee55c56b85a250875a7) + +## [v2.5.6](https://github.com/form-data/form-data/compare/v2.5.5...v2.5.6) - 2026-06-12 + +### Commits + +- [Fix] escape CR, LF, and `"` in field names and filenames [`b620316`](https://github.com/form-data/form-data/commit/b62031603c2d7c329b2a369b49466790f0ba6314) +- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `eslint`, `tape` [`12be578`](https://github.com/form-data/form-data/commit/12be578e936fd77eee75e2e656955f5343c4b80f) +- [Dev Deps] update `js-randomness-predictor` [`46cfd23`](https://github.com/form-data/form-data/commit/46cfd23bd40be14cfa0391e1c5357c4d74098f23) +- [Tests] use `safe-buffer` so the header-injection test runs on node < 4 [`633044a`](https://github.com/form-data/form-data/commit/633044a57a7b19f41cec2271ffd24afa2f6280af) +- [Deps] update `hasown` [`e3b96ee`](https://github.com/form-data/form-data/commit/e3b96eef1661bca8ea4297de057b78bf2734e900) + +## [v2.5.5](https://github.com/form-data/form-data/compare/v2.5.4...v2.5.5) - 2025-07-18 + +### Commits + +- [meta] actually ensure the readme backup isn’t published [`10626c0`](https://github.com/form-data/form-data/commit/10626c0a9b78c7d3fcaa51772265015ee0afc25c) +- [Fix] use proper dependency [`026abe5`](https://github.com/form-data/form-data/commit/026abe5c5c0489d8a2ccb59d5cfd14fb63078377) + +## [v2.5.4](https://github.com/form-data/form-data/compare/v2.5.3...v2.5.4) - 2025-07-17 + +### Fixed + +- [Fix] `append`: avoid a crash on nullish values [`#577`](https://github.com/form-data/form-data/issues/577) + +### Commits + +- [eslint] update linting config [`8bf2492`](https://github.com/form-data/form-data/commit/8bf2492e0555d41ff58fa04c91593af998f87a3c) +- [meta] add `auto-changelog` [`b5101ad`](https://github.com/form-data/form-data/commit/b5101ad3d5f73cfd0143aae3735b92826fd731ea) +- [Tests] handle predict-v8-randomness failures in node < 17 and node > 23 [`0e93122`](https://github.com/form-data/form-data/commit/0e93122358414942393d9c2dc434ae69e58be7c8) +- [Fix] Switch to using `crypto` random for boundary values [`b88316c`](https://github.com/form-data/form-data/commit/b88316c94bb004323669cd3639dc8bb8262539eb) +- [Fix] validate boundary type in `setBoundary()` method [`131ae5e`](https://github.com/form-data/form-data/commit/131ae5efa30b9c608add4faef3befb38aa2e1bf1) +- [Tests] Switch to newer v8 prediction library; enable node 24 testing [`c97cfbe`](https://github.com/form-data/form-data/commit/c97cfbed9eb6d2d4b5d53090f69ded4bf9fd8a21) +- [Refactor] use `hasown` [`97ac9c2`](https://github.com/form-data/form-data/commit/97ac9c208be0b83faeee04bb3faef1ed3474ee4c) +- [meta] remove local commit hooks [`be99d4e`](https://github.com/form-data/form-data/commit/be99d4eea5ce47139c23c1f0914596194019d7fb) +- [Dev Deps] remove unused deps [`ddbc89b`](https://github.com/form-data/form-data/commit/ddbc89b6d6d64f730bcb27cb33b7544068466a05) +- [meta] fix scripts to use prepublishOnly [`e351a97`](https://github.com/form-data/form-data/commit/e351a97e9f6c57c74ffd01625e83b09de805d08a) +- [Dev Deps] remove unused script [`8f23366`](https://github.com/form-data/form-data/commit/8f233664842da5bd605ce85541defc713d1d1e0a) +- [Dev Deps] add missing peer dep [`02ff026`](https://github.com/form-data/form-data/commit/02ff026fda71f9943cfdd5754727c628adb8d135) +- [meta] fix readme capitalization [`2fd5f61`](https://github.com/form-data/form-data/commit/2fd5f61ebfb526cd015fb8e7b8b8c1add4a38872) + +## [v2.5.3](https://github.com/form-data/form-data/compare/v2.5.2...v2.5.3) - 2025-02-14 + +### Merged + +- [Fix] set `Symbol.toStringTag` when available [`#573`](https://github.com/form-data/form-data/pull/573) + +### Fixed + +- [Fix] set `Symbol.toStringTag` when available (#573) [`#396`](https://github.com/form-data/form-data/issues/396) + +### Commits + +- [Refactor] use `Object.prototype.hasOwnProperty.call` [`6e682d4`](https://github.com/form-data/form-data/commit/6e682d4bd41de7e80de41e3c4ee10f23fcc3dd00) +- [Dev Deps] update `@types/node`, `browserify`, `coveralls`, `eslint`, `formidable`, `in-publish`, `phantomjs-prebuilt`, `pkgfiles`, `pre-commit`, `request`, `tape`, `typescript` [`819f6b7`](https://github.com/form-data/form-data/commit/819f6b7a543306a891fca37c3a06d0ff4a734422) +- Only apps should have lockfiles [`b170ee2`](https://github.com/form-data/form-data/commit/b170ee2b22b4c695c363b811c0c553d2fb1bbd79) +- [Deps] update `combined-stream`, `mime-types` [`6b1ca1d`](https://github.com/form-data/form-data/commit/6b1ca1dc7362a1b1c3a99a885516cca4b7eb817f) +- Bumped version 2.5.3 [`9457283`](https://github.com/form-data/form-data/commit/9457283e1dce6122adc908fdd7442cfc54cabe7a) +- [Dev Deps] pin `request` which via `tough-cookie` ^2.4 depends on `psl` [`9dbe192`](https://github.com/form-data/form-data/commit/9dbe192be3db215eac4d9c0b980470a5c2c030c6) + +## [v2.5.2](https://github.com/form-data/form-data/compare/v2.5.1...v2.5.2) - 2024-10-10 + +### Merged + +- fix (npmignore): ignore temporary build files [`#532`](https://github.com/form-data/form-data/pull/532) + +### Commits + +- [Tests] migrate from travis to GHA [`806eda7`](https://github.com/form-data/form-data/commit/806eda77740e6e3c67c7815afb216f2e1f187ba5) +- [eslint] clean up ignores [`3a9d480`](https://github.com/form-data/form-data/commit/3a9d480232dbcbc07260ad84c3da4975d9a3ae9e) +- [Fix] `Buffer.from` and `Buffer.alloc` require node 4+ [`c499f76`](https://github.com/form-data/form-data/commit/c499f76f1faac1ddbf210c45217038e4c1e02337) +- Bumped version 2.5.2 [`7020dd4`](https://github.com/form-data/form-data/commit/7020dd4c1260370abc40e86e3dfe49c5d576fbda) +- [Dev Deps] downgrade `cross-spawn` [`3fc1a9b`](https://github.com/form-data/form-data/commit/3fc1a9b62ddf1fe77a2bd6bd3476e4c0a9e01a88) +- fix: move util.isArray to Array.isArray (#564) [`10418d1`](https://github.com/form-data/form-data/commit/10418d1fe4b0d65fe020eafe3911feb5ad5e2bd6) + +## [v2.5.1](https://github.com/form-data/form-data/compare/v2.5.0...v2.5.1) - 2019-08-28 + +### Merged + +- Fix error in callback signatures [`#435`](https://github.com/form-data/form-data/pull/435) +- -Fixed: Eerror in the documentations as indicated in #439 [`#440`](https://github.com/form-data/form-data/pull/440) +- Add constructor options to TypeScript defs [`#437`](https://github.com/form-data/form-data/pull/437) + +### Commits + +- Add remaining combined-stream options to typedef [`4d41a32`](https://github.com/form-data/form-data/commit/4d41a32c0b3f85f8bbc9cf17df43befd2d5fc305) +- Bumped version 2.5.1 [`8ce81f5`](https://github.com/form-data/form-data/commit/8ce81f56cccf5466363a5eff135ad394a929f59b) +- Bump rimraf to 2.7.1 [`a6bc2d4`](https://github.com/form-data/form-data/commit/a6bc2d4296dbdee5d84cbab7c69bcd0eea7a12e2) + +## [v2.5.0](https://github.com/form-data/form-data/compare/v2.4.0...v2.5.0) - 2019-07-03 + +### Merged + +- - Added: public methods with information and examples to readme [`#429`](https://github.com/form-data/form-data/pull/429) +- chore: move @types/node to devDep [`#431`](https://github.com/form-data/form-data/pull/431) +- Switched windows tests from AppVeyor to Travis [`#430`](https://github.com/form-data/form-data/pull/430) +- feat(typings): migrate TS typings #427 [`#428`](https://github.com/form-data/form-data/pull/428) +- enhance the method of path.basename, handle undefined case [`#421`](https://github.com/form-data/form-data/pull/421) + +### Commits + +- - Added: public methods with information and examples to the readme file. [`21323f3`](https://github.com/form-data/form-data/commit/21323f3b4043a167046a4a2554c5f2825356c423) +- feat(typings): migrate TS typings [`a3c0142`](https://github.com/form-data/form-data/commit/a3c0142ed91b0c7dcaf89c4f618776708f1f70a9) +- - Fixed: Typos [`37350fa`](https://github.com/form-data/form-data/commit/37350fa250782f156a998ec1fa9671866d40ac49) +- Switched to Travis Windows from Appveyor [`fc61c73`](https://github.com/form-data/form-data/commit/fc61c7381fad12662df16dbc3e7621c91b886f03) +- - Fixed: rendering of subheaders [`e93ed8d`](https://github.com/form-data/form-data/commit/e93ed8df9d7f22078bc3a2c24889e9dfa11e192d) +- Updated deps and readme [`e3d8628`](https://github.com/form-data/form-data/commit/e3d8628728f6e4817ab97deeed92f0c822661b89) +- Updated dependencies [`19add50`](https://github.com/form-data/form-data/commit/19add50afb7de66c70d189f422d16f1b886616e2) +- Bumped version to 2.5.0 [`905f173`](https://github.com/form-data/form-data/commit/905f173a3f785e8d312998e765634ee451ca5f42) +- - Fixed: filesize is not a valid option? knownLength should be used for streams [`d88f912`](https://github.com/form-data/form-data/commit/d88f912b75b666b47f8674467516eade69d2d5be) +- Bump notion of modern node to node8 [`508b626`](https://github.com/form-data/form-data/commit/508b626bf1b460d3733d3420dc1cfd001617f6ac) +- enhance the method of path.basename [`faaa68a`](https://github.com/form-data/form-data/commit/faaa68a297be7d4fca0ac4709d5b93afc1f78b5c) + +## [v2.4.0](https://github.com/form-data/form-data/compare/v2.3.2...v2.4.0) - 2019-06-19 + +### Merged + +- Added "getBuffer" method and updated certificates [`#419`](https://github.com/form-data/form-data/pull/419) +- docs(readme): add axios integration document [`#425`](https://github.com/form-data/form-data/pull/425) +- Allow newer versions of combined-stream [`#402`](https://github.com/form-data/form-data/pull/402) + +### Commits + +- Updated: Certificate [`e90a76a`](https://github.com/form-data/form-data/commit/e90a76ab3dcaa63a6f3045f8255bfbb9c25a3e4e) +- Updated build/test/badges [`8512eef`](https://github.com/form-data/form-data/commit/8512eef436e28372f5bc88de3ca76a9cb46e6847) +- Bumped version 2.4.0 [`0f8da06`](https://github.com/form-data/form-data/commit/0f8da06c0b4c997bd2f6b09d78290d339616a950) +- docs(readme): remove unnecessary bracket [`4e3954d`](https://github.com/form-data/form-data/commit/4e3954dde304d27e3b95371d8c78002f3af5d5b2) +- Bumped version to 2.3.3 [`b16916a`](https://github.com/form-data/form-data/commit/b16916a568a0d06f3f8a16c31f9a8b89b7844094) + +## [v2.3.2](https://github.com/form-data/form-data/compare/v2.3.1...v2.3.2) - 2018-02-13 + +### Merged + +- Pulling in fixed combined-stream [`#379`](https://github.com/form-data/form-data/pull/379) + +### Commits + +- All the dev dependencies are breaking in old versions of node :'( [`c7dba6a`](https://github.com/form-data/form-data/commit/c7dba6a139d872d173454845e25e1850ed6b72b4) +- Updated badges [`19b6c7a`](https://github.com/form-data/form-data/commit/19b6c7a8a5c40f47f91c8a8da3e5e4dc3c449fa3) +- Try tests in node@4 [`872a326`](https://github.com/form-data/form-data/commit/872a326ab13e2740b660ff589b75232c3a85fcc9) +- Pull in final version [`9d44871`](https://github.com/form-data/form-data/commit/9d44871073d647995270b19dbc26f65671ce15c7) + +## [v2.3.1](https://github.com/form-data/form-data/compare/v2.3.0...v2.3.1) - 2017-08-24 + +### Commits + +- Updated readme with custom options example [`8e0a569`](https://github.com/form-data/form-data/commit/8e0a5697026016fe171e93bec43c2205279e23ca) +- Added support (tests) for node 8 [`d1d6f4a`](https://github.com/form-data/form-data/commit/d1d6f4ad4670d8ba84cc85b28e522ca0e93eb362) + +## [v2.3.0](https://github.com/form-data/form-data/compare/v2.2.0...v2.3.0) - 2017-08-24 + +### Merged + +- Added custom `options` support [`#368`](https://github.com/form-data/form-data/pull/368) +- Allow form.submit with url string param to use https [`#249`](https://github.com/form-data/form-data/pull/249) +- Proper header production [`#357`](https://github.com/form-data/form-data/pull/357) +- Fix wrong MIME type in example [`#285`](https://github.com/form-data/form-data/pull/285) + +### Commits + +- allow form.submit with url string param to use https [`c0390dc`](https://github.com/form-data/form-data/commit/c0390dcc623e15215308fa2bb0225aa431d9381e) +- update tests for url parsing [`eec0e80`](https://github.com/form-data/form-data/commit/eec0e807889d46697abd39a89ad9bf39996ba787) +- Uses for in to assign properties instead of Object.assign [`f6854ed`](https://github.com/form-data/form-data/commit/f6854edd85c708191bb9c89615a09fd0a9afe518) +- Adds test to check for option override [`61762f2`](https://github.com/form-data/form-data/commit/61762f2c5262e576d6a7f778b4ebab6546ef8582) +- Removes the 2mb maxDataSize limitation [`dc171c3`](https://github.com/form-data/form-data/commit/dc171c3ba49ac9b8813636fd4159d139b812315b) +- Ignore .DS_Store [`e8a05d3`](https://github.com/form-data/form-data/commit/e8a05d33361f7dca8927fe1d96433d049843de24) + +## [v2.2.0](https://github.com/form-data/form-data/compare/v2.1.4...v2.2.0) - 2017-06-11 + +### Merged + +- Filename can be a nested path [`#355`](https://github.com/form-data/form-data/pull/355) + +### Commits + +- Bumped version number. [`d7398c3`](https://github.com/form-data/form-data/commit/d7398c3e7cd81ed12ecc0b84363721bae467db02) + +## [v2.1.4](https://github.com/form-data/form-data/compare/2.1.3...v2.1.4) - 2017-04-08 + +## [2.1.3](https://github.com/form-data/form-data/compare/v2.1.3...2.1.3) - 2017-04-08 + +## [v2.1.3](https://github.com/form-data/form-data/compare/v2.1.2...v2.1.3) - 2017-04-08 + +### Merged + +- toString should output '[object FormData]' [`#346`](https://github.com/form-data/form-data/pull/346) + +## [v2.1.2](https://github.com/form-data/form-data/compare/v2.1.1...v2.1.2) - 2016-11-07 + +### Merged + +- #271 Added check for self and window objects + tests [`#282`](https://github.com/form-data/form-data/pull/282) + +### Commits + +- Added check for self and window objects + tests [`c99e4ec`](https://github.com/form-data/form-data/commit/c99e4ec32cd14d83776f2bdcc5a4e7384131c1b1) + +## [v2.1.1](https://github.com/form-data/form-data/compare/v2.1.0...v2.1.1) - 2016-10-03 + +### Merged + +- Bumped dependencies. [`#270`](https://github.com/form-data/form-data/pull/270) +- Update browser.js shim to use self instead of window [`#267`](https://github.com/form-data/form-data/pull/267) +- Boilerplate code rediction [`#265`](https://github.com/form-data/form-data/pull/265) +- eslint@3.7.0 [`#266`](https://github.com/form-data/form-data/pull/266) + +### Commits + +- code duplicates removed [`e9239fb`](https://github.com/form-data/form-data/commit/e9239fbe7d3c897b29fe3bde857d772469541c01) +- Changed according to requests [`aa99246`](https://github.com/form-data/form-data/commit/aa9924626bd9168334d73fea568c0ad9d8fbaa96) +- chore(package): update eslint to version 3.7.0 [`090a859`](https://github.com/form-data/form-data/commit/090a859835016cab0de49629140499e418db9c3a) + +## [v2.1.0](https://github.com/form-data/form-data/compare/v2.0.0...v2.1.0) - 2016-09-25 + +### Merged + +- Added `hasKnownLength` public method [`#263`](https://github.com/form-data/form-data/pull/263) + +### Commits + +- Added hasKnownLength public method [`655b959`](https://github.com/form-data/form-data/commit/655b95988ef2ed3399f8796b29b2a8673c1df11c) + +## [v2.0.0](https://github.com/form-data/form-data/compare/v1.0.0...v2.0.0) - 2016-09-16 + +### Merged + +- Replaced async with asynckit [`#258`](https://github.com/form-data/form-data/pull/258) +- Pre-release house cleaning [`#247`](https://github.com/form-data/form-data/pull/247) + +### Commits + +- Replaced async with asynckit. Modernized [`1749b78`](https://github.com/form-data/form-data/commit/1749b78d50580fbd080e65c1eb9702ad4f4fc0c0) +- Ignore .bak files [`c08190a`](https://github.com/form-data/form-data/commit/c08190a87d3e22a528b6e32b622193742a4c2672) +- Trying to be more chatty. :) [`c79eabb`](https://github.com/form-data/form-data/commit/c79eabb24eaf761069255a44abf4f540cfd47d40) + +## [v1.0.0](https://github.com/form-data/form-data/compare/v1.0.0-rc4...v1.0.0) - 2016-08-26 + +### Merged + +- Allow custom header fields to be set as an object. [`#190`](https://github.com/form-data/form-data/pull/190) +- v1.0.0-rc4 [`#182`](https://github.com/form-data/form-data/pull/182) +- Avoid undefined variable reference in older browsers [`#176`](https://github.com/form-data/form-data/pull/176) +- More housecleaning [`#164`](https://github.com/form-data/form-data/pull/164) +- More cleanup [`#159`](https://github.com/form-data/form-data/pull/159) +- Added windows testing. Some cleanup. [`#158`](https://github.com/form-data/form-data/pull/158) +- Housecleaning. Added test coverage. [`#156`](https://github.com/form-data/form-data/pull/156) +- Second iteration of cleanup. [`#145`](https://github.com/form-data/form-data/pull/145) + +### Commits + +- Pre-release house cleaning [`440d72b`](https://github.com/form-data/form-data/commit/440d72b5fd44dd132f42598c3183d46e5f35ce71) +- Updated deps, updated docs [`54b6114`](https://github.com/form-data/form-data/commit/54b61143e9ce66a656dd537a1e7b31319a4991be) +- make docs up-to-date [`5e383d7`](https://github.com/form-data/form-data/commit/5e383d7f1466713f7fcef58a6817e0cb466c8ba7) +- Added missing deps [`fe04862`](https://github.com/form-data/form-data/commit/fe04862000b2762245e2db69d5207696a08c1174) + +## [v1.0.0-rc4](https://github.com/form-data/form-data/compare/v1.0.0-rc3...v1.0.0-rc4) - 2016-03-15 + +### Merged + +- Housecleaning, preparing for the release [`#144`](https://github.com/form-data/form-data/pull/144) +- lib: emit error when failing to get length [`#127`](https://github.com/form-data/form-data/pull/127) +- Cleaning up for Codacity 2. [`#143`](https://github.com/form-data/form-data/pull/143) +- Cleaned up codacity concerns. [`#142`](https://github.com/form-data/form-data/pull/142) +- Should throw type error without new operator. [`#129`](https://github.com/form-data/form-data/pull/129) + +### Commits + +- More cleanup [`94b6565`](https://github.com/form-data/form-data/commit/94b6565bb98a387335c72feff5ed5c10da0a7f6f) +- Shuffling things around [`3c2f172`](https://github.com/form-data/form-data/commit/3c2f172eaddf0979b3eef5c73985d1a6fd3eee4a) +- Second iteration of cleanup. [`347c88e`](https://github.com/form-data/form-data/commit/347c88ef9a99a66b9bcf4278497425db2f0182b2) +- Housecleaning [`c335610`](https://github.com/form-data/form-data/commit/c3356100c054a4695e4dec8ed7072775cd745616) +- More housecleaning [`f573321`](https://github.com/form-data/form-data/commit/f573321824aae37ba2052a92cc889d533d9f8fb8) +- Trying to make far run on windows. + cleanup [`e426dfc`](https://github.com/form-data/form-data/commit/e426dfcefb07ee307d8a15dec04044cce62413e6) +- Playing with appveyor [`c9458a7`](https://github.com/form-data/form-data/commit/c9458a7c328782b19859bc1745e7d6b2005ede86) +- Updated dev dependencies. [`ceebe88`](https://github.com/form-data/form-data/commit/ceebe88872bb22da0a5a98daf384e3cc232928d3) +- Replaced win-spawn with cross-spawn [`405a69e`](https://github.com/form-data/form-data/commit/405a69ee34e235ee6561b5ff0140b561be40d1cc) +- Updated readme badges. [`12f282a`](https://github.com/form-data/form-data/commit/12f282a1310fcc2f70cc5669782283929c32a63d) +- Making paths windows friendly. [`f4bddc5`](https://github.com/form-data/form-data/commit/f4bddc5955e2472f8e23c892c9b4d7a08fcb85a3) +- [WIP] trying things for greater sanity [`8ad1f02`](https://github.com/form-data/form-data/commit/8ad1f02b0b3db4a0b00c5d6145ed69bcb7558213) +- Bending under Codacy [`bfff3bb`](https://github.com/form-data/form-data/commit/bfff3bb36052dc83f429949b4e6f9b146a49d996) +- Another attempt to make windows friendly [`f3eb628`](https://github.com/form-data/form-data/commit/f3eb628974ccb91ba0020f41df490207eeed77f6) +- Updated dependencies. [`f73996e`](https://github.com/form-data/form-data/commit/f73996e0508ee2d4b2b376276adfac1de4188ac2) +- Missed travis changes. [`67ee79f`](https://github.com/form-data/form-data/commit/67ee79f964fdabaf300bd41b0af0c1cfaca07687) +- Restructured badges. [`48444a1`](https://github.com/form-data/form-data/commit/48444a1ff156ba2c2c3cfd11047c2f2fd92d4474) +- Add similar type error as the browser for attempting to use form-data without new. [`5711320`](https://github.com/form-data/form-data/commit/5711320fb7c8cc620cfc79b24c7721526e23e539) +- Took out codeclimate-test-reporter [`a7e0c65`](https://github.com/form-data/form-data/commit/a7e0c6522afe85ca9974b0b4e1fca9c77c3e52b1) +- One more [`8e84cff`](https://github.com/form-data/form-data/commit/8e84cff3370526ecd3e175fd98e966242d81993c) + +## [v1.0.0-rc3](https://github.com/form-data/form-data/compare/v1.0.0-rc2...v1.0.0-rc3) - 2015-07-29 + +### Merged + +- House cleaning. Added `pre-commit`. [`#140`](https://github.com/form-data/form-data/pull/140) +- Allow custom content-type without setting a filename. [`#138`](https://github.com/form-data/form-data/pull/138) +- Add node-fetch to alternative submission methods. [`#132`](https://github.com/form-data/form-data/pull/132) +- Update dependencies [`#130`](https://github.com/form-data/form-data/pull/130) +- Switching to container based TravisCI [`#136`](https://github.com/form-data/form-data/pull/136) +- Default content-type to 'application/octect-stream' [`#128`](https://github.com/form-data/form-data/pull/128) +- Allow filename as third option of .append [`#125`](https://github.com/form-data/form-data/pull/125) + +### Commits + +- Allow custom content-type without setting a filename [`c8a77cc`](https://github.com/form-data/form-data/commit/c8a77cc0cf16d15f1ebf25272beaab639ce89f76) +- Fixed ranged test. [`a5ac58c`](https://github.com/form-data/form-data/commit/a5ac58cbafd0909f32fe8301998f689314fd4859) +- Allow filename as third option of #append [`d081005`](https://github.com/form-data/form-data/commit/d0810058c84764b3c463a18b15ebb37864de9260) +- Allow custom content-type without setting a filename [`8cb9709`](https://github.com/form-data/form-data/commit/8cb9709e5f1809cfde0cd707dbabf277138cd771) + +## [v1.0.0-rc2](https://github.com/form-data/form-data/compare/v1.0.0-rc1...v1.0.0-rc2) - 2015-07-21 + +### Merged + +- #109 Append proper line break [`#123`](https://github.com/form-data/form-data/pull/123) +- Add shim for browser (browserify/webpack). [`#122`](https://github.com/form-data/form-data/pull/122) +- Update license field [`#115`](https://github.com/form-data/form-data/pull/115) + +### Commits + +- Add shim for browser. [`87c33f4`](https://github.com/form-data/form-data/commit/87c33f4269a2211938f80ab3e53835362b1afee8) +- Bump version [`a3f5d88`](https://github.com/form-data/form-data/commit/a3f5d8872c810ce240c7d3838c69c3c9fcecc111) + +## [v1.0.0-rc1](https://github.com/form-data/form-data/compare/0.2...v1.0.0-rc1) - 2015-06-13 + +### Merged + +- v1.0.0-rc1 [`#114`](https://github.com/form-data/form-data/pull/114) +- Updated test targets [`#102`](https://github.com/form-data/form-data/pull/102) +- Remove duplicate plus sign [`#94`](https://github.com/form-data/form-data/pull/94) + +### Commits + +- Made https test local. Updated deps. [`afe1959`](https://github.com/form-data/form-data/commit/afe1959ec711f23e57038ab5cb20fedd86271f29) +- Proper self-signed ssl [`4d5ec50`](https://github.com/form-data/form-data/commit/4d5ec50e81109ad2addf3dbb56dc7c134df5ff87) +- Update HTTPS handling for modern days [`2c11b01`](https://github.com/form-data/form-data/commit/2c11b01ce2c06e205c84d7154fa2f27b66c94f3b) +- Made tests more local [`09633fa`](https://github.com/form-data/form-data/commit/09633fa249e7ce3ac581543aafe16ee9039a823b) +- Auto create tmp folder for Formidable [`28714b7`](https://github.com/form-data/form-data/commit/28714b7f71ad556064cdff88fabe6b92bd407ddd) +- remove duplicate plus sign [`36e09c6`](https://github.com/form-data/form-data/commit/36e09c695b0514d91a23f5cd64e6805404776fc7) + +## [0.2](https://github.com/form-data/form-data/compare/0.1.4...0.2) - 2014-12-06 + +### Merged + +- Bumped version [`#96`](https://github.com/form-data/form-data/pull/96) +- Replace mime library. [`#95`](https://github.com/form-data/form-data/pull/95) +- #71 Respect bytes range in a read stream. [`#73`](https://github.com/form-data/form-data/pull/73) + +## [0.1.4](https://github.com/form-data/form-data/compare/0.1.3...0.1.4) - 2014-06-23 + +### Merged + +- Updated version. [`#76`](https://github.com/form-data/form-data/pull/76) +- #71 Respect bytes range in a read stream. [`#75`](https://github.com/form-data/form-data/pull/75) + +## [0.1.3](https://github.com/form-data/form-data/compare/0.1.2...0.1.3) - 2014-06-17 + +### Merged + +- Updated versions. [`#69`](https://github.com/form-data/form-data/pull/69) +- Added custom headers support [`#60`](https://github.com/form-data/form-data/pull/60) +- Added test for Request. Small fixes. [`#56`](https://github.com/form-data/form-data/pull/56) + +### Commits + +- Added test for the custom header functionality [`bd50685`](https://github.com/form-data/form-data/commit/bd506855af62daf728ef1718cae88ed23bb732f3) +- Documented custom headers option [`77a024a`](https://github.com/form-data/form-data/commit/77a024a9375f93c246c35513d80f37d5e11d35ff) +- Removed 0.6 support. [`aee8dce`](https://github.com/form-data/form-data/commit/aee8dce604c595cfaacfc6efb12453d1691ac0d6) + +## [0.1.2](https://github.com/form-data/form-data/compare/0.1.1...0.1.2) - 2013-10-02 + +### Merged + +- Fixed default https port assignment, added tests. [`#52`](https://github.com/form-data/form-data/pull/52) +- #45 Added tests for multi-submit. Updated readme. [`#49`](https://github.com/form-data/form-data/pull/49) +- #47 return request from .submit() [`#48`](https://github.com/form-data/form-data/pull/48) + +### Commits + +- Bumped version. [`2b761b2`](https://github.com/form-data/form-data/commit/2b761b256ae607fc2121621f12c2e1042be26baf) + +## [0.1.1](https://github.com/form-data/form-data/compare/0.1.0...0.1.1) - 2013-08-21 + +### Merged + +- Added license type and reference to package.json [`#46`](https://github.com/form-data/form-data/pull/46) + +### Commits + +- #47 return request from .submit() [`1d61c2d`](https://github.com/form-data/form-data/commit/1d61c2da518bd5e136550faa3b5235bb540f1e06) +- #47 Updated readme. [`e3dae15`](https://github.com/form-data/form-data/commit/e3dae1526bd3c3b9d7aff6075abdaac12c3cc60f) + +## [0.1.0](https://github.com/form-data/form-data/compare/0.0.10...0.1.0) - 2013-07-08 + +### Merged + +- Update master to 0.1.0 [`#44`](https://github.com/form-data/form-data/pull/44) +- 0.1.0 - Added error handling. Streamlined edge cases behavior. [`#43`](https://github.com/form-data/form-data/pull/43) +- Pointed badges back to mothership. [`#39`](https://github.com/form-data/form-data/pull/39) +- Updated node-fake to support 0.11 tests. [`#37`](https://github.com/form-data/form-data/pull/37) +- Updated tests to play nice with 0.10 [`#36`](https://github.com/form-data/form-data/pull/36) +- #32 Added .npmignore [`#34`](https://github.com/form-data/form-data/pull/34) +- Spring cleaning [`#30`](https://github.com/form-data/form-data/pull/30) + +### Commits + +- Added error handling. Streamlined edge cases behavior. [`4da496e`](https://github.com/form-data/form-data/commit/4da496e577cb9bc0fd6c94cbf9333a0082ce353a) +- Made tests more deterministic. [`7fc009b`](https://github.com/form-data/form-data/commit/7fc009b8a2cc9232514a44b2808b9f89ce68f7d2) +- Fixed styling. [`d373b41`](https://github.com/form-data/form-data/commit/d373b417e779024bc3326073e176383cd08c0b18) +- #40 Updated Readme.md regarding getLengthSync() [`efb373f`](https://github.com/form-data/form-data/commit/efb373fd63814d977960e0299d23c92cd876cfef) +- Updated readme. [`527e3a6`](https://github.com/form-data/form-data/commit/527e3a63b032cb6f576f597ad7ff2ebcf8a0b9b4) + +## [0.0.10](https://github.com/form-data/form-data/compare/0.0.9...0.0.10) - 2013-05-08 + +### Commits + +- Updated tests to play nice with 0.10. [`932b39b`](https://github.com/form-data/form-data/commit/932b39b773e49edcb2c5d2e58fe389ab6c42f47c) +- Added dependency tracking. [`3131d7f`](https://github.com/form-data/form-data/commit/3131d7f6996cd519d50547e4de1587fd80d0fa07) + +## 0.0.9 - 2013-04-29 + +### Merged + +- Custom params for form.submit() should cover most edge cases. [`#22`](https://github.com/form-data/form-data/pull/22) +- Updated Readme and version number. [`#20`](https://github.com/form-data/form-data/pull/20) +- Allow custom headers and pre-known length in parts [`#17`](https://github.com/form-data/form-data/pull/17) +- Bumped version number. [`#12`](https://github.com/form-data/form-data/pull/12) +- Fix for #10 [`#11`](https://github.com/form-data/form-data/pull/11) +- Bumped version number. [`#8`](https://github.com/form-data/form-data/pull/8) +- Added support for https destination, http-response and mikeal's request streams. [`#7`](https://github.com/form-data/form-data/pull/7) +- Updated git url. [`#6`](https://github.com/form-data/form-data/pull/6) +- Version bump. [`#5`](https://github.com/form-data/form-data/pull/5) +- Changes to support custom content-type and getLengthSync. [`#4`](https://github.com/form-data/form-data/pull/4) +- make .submit(url) use host from url, not 'localhost' [`#2`](https://github.com/form-data/form-data/pull/2) +- Make package.json JSON [`#1`](https://github.com/form-data/form-data/pull/1) + +### Fixed + +- Add MIT license [`#14`](https://github.com/form-data/form-data/issues/14) + +### Commits + +- Spring cleaning. [`850ba1b`](https://github.com/form-data/form-data/commit/850ba1b649b6856b0fa87bbcb04bc70ece0137a6) +- Added custom request params to form.submit(). Made tests more stable. [`de3502f`](https://github.com/form-data/form-data/commit/de3502f6c4a509f6ed12a7dd9dc2ce9c2e0a8d23) +- Basic form (no files) working [`6ffdc34`](https://github.com/form-data/form-data/commit/6ffdc343e8594cfc2efe1e27653ea39d8980a14e) +- Got initial test to pass [`9a59d08`](https://github.com/form-data/form-data/commit/9a59d08c024479fd3c9d99ba2f0893a47b3980f0) +- Implement initial getLength [`9060c91`](https://github.com/form-data/form-data/commit/9060c91b861a6573b73beddd11e866db422b5830) +- Make getLength work with file streams [`6f6b1e9`](https://github.com/form-data/form-data/commit/6f6b1e9b65951e6314167db33b446351702f5558) +- Implemented a simplistic submit() function [`41e9cc1`](https://github.com/form-data/form-data/commit/41e9cc124124721e53bc1d1459d45db1410c44e6) +- added test for custom headers and content-length in parts (felixge/node-form-data/17) [`b16d14e`](https://github.com/form-data/form-data/commit/b16d14e693670f5d52babec32cdedd1aa07c1aa4) +- Fixed code styling. [`5847424`](https://github.com/form-data/form-data/commit/5847424c666970fc2060acd619e8a78678888a82) +- #29 Added custom filename and content-type options to support identity-less streams. [`adf8b4a`](https://github.com/form-data/form-data/commit/adf8b4a41530795682cd3e35ffaf26b30288ccda) +- Initial Readme and package.json [`8c744e5`](https://github.com/form-data/form-data/commit/8c744e58be4014bdf432e11b718ed87f03e217af) +- allow append() to completely override header and boundary [`3fb2ad4`](https://github.com/form-data/form-data/commit/3fb2ad491f66e4b4ff16130be25b462820b8c972) +- Syntax highlighting [`ab3a6a5`](https://github.com/form-data/form-data/commit/ab3a6a5ed1ab77a2943ce3befcb2bb3cd9ff0330) +- Updated Readme.md [`de8f441`](https://github.com/form-data/form-data/commit/de8f44122ca754cbfedc0d2748e84add5ff0b669) +- Added examples to Readme file. [`c406ac9`](https://github.com/form-data/form-data/commit/c406ac921d299cbc130464ed19338a9ef97cb650) +- pass options.knownLength to set length at beginning, w/o waiting for async size calculation [`e2ac039`](https://github.com/form-data/form-data/commit/e2ac0397ff7c37c3dca74fa9925b55f832e4fa0b) +- Updated dependencies and added test command. [`09bd7cd`](https://github.com/form-data/form-data/commit/09bd7cd86f1ad7a58df1b135eb6eef0d290894b4) +- Bumped version. Updated readme. [`4581140`](https://github.com/form-data/form-data/commit/4581140f322758c6fc92019d342c7d7d6c94af5c) +- Test runner [`1707ebb`](https://github.com/form-data/form-data/commit/1707ebbd180856e6ed44e80c46b02557e2425762) +- Added .npmignore, bumped version. [`2e033e0`](https://github.com/form-data/form-data/commit/2e033e0e4be7c1457be090cd9b2996f19d8fb665) +- FormData.prototype.append takes and passes along options (for header) [`b519203`](https://github.com/form-data/form-data/commit/b51920387ed4da7b4e106fc07b9459f26b5ae2f0) +- Make package.json JSON [`bf1b58d`](https://github.com/form-data/form-data/commit/bf1b58df794b10fda86ed013eb9237b1e5032085) +- Add dependencies to package.json [`7413d0b`](https://github.com/form-data/form-data/commit/7413d0b4cf5546312d47ea426db8180619083974) +- Add convenient submit() interface [`55855e4`](https://github.com/form-data/form-data/commit/55855e4bea14585d4a3faf9e7318a56696adbc7d) +- Fix content type [`08b6ae3`](https://github.com/form-data/form-data/commit/08b6ae337b23ef1ba457ead72c9b133047df213c) +- Combatting travis rvm calls. [`409adfd`](https://github.com/form-data/form-data/commit/409adfd100a3cf4968a632c05ba58d92d262d144) +- Fixed Issue #2 [`b3a5d66`](https://github.com/form-data/form-data/commit/b3a5d661739dcd6921b444b81d5cb3c32fab655d) +- Fix for #10. [`bab70b9`](https://github.com/form-data/form-data/commit/bab70b9e803e17287632762073d227d6c59989e0) +- Trying workarounds for formidable - 0.6 "love". [`25782a3`](https://github.com/form-data/form-data/commit/25782a3f183d9c30668ec2bca6247ed83f10611c) +- change whitespace to conform with felixge's style guide [`9fa34f4`](https://github.com/form-data/form-data/commit/9fa34f433bece85ef73086a874c6f0164ab7f1f6) +- Add async to deps [`b7d1a6b`](https://github.com/form-data/form-data/commit/b7d1a6b10ee74be831de24ed76843e5a6935f155) +- typo [`7860a9c`](https://github.com/form-data/form-data/commit/7860a9c8a582f0745ce0e4a0549f4bffc29c0b50) +- Bumped version. [`fa36c1b`](https://github.com/form-data/form-data/commit/fa36c1b4229c34b85d7efd41908429b6d1da3bfc) +- Updated .gitignore [`de567bd`](https://github.com/form-data/form-data/commit/de567bde620e53b8e9b0ed3506e79491525ec558) +- Don't rely on resume() being called by pipe [`1deae47`](https://github.com/form-data/form-data/commit/1deae47e042bcd170bd5dbe2b4a4fa5356bb8aa2) +- One more wrong content type [`28f166d`](https://github.com/form-data/form-data/commit/28f166d443e2eb77f2559324014670674b97e46e) +- Another typo [`b959b6a`](https://github.com/form-data/form-data/commit/b959b6a2be061cac17f8d329b89cea109f0f32be) +- Typo [`698fa0a`](https://github.com/form-data/form-data/commit/698fa0aa5dbf4eeb77377415acc202a6fbe3f4a2) +- Being simply dumb. [`b614db8`](https://github.com/form-data/form-data/commit/b614db85702061149fbd98418605106975e72ade) +- Fixed typo in the filename. [`30af6be`](https://github.com/form-data/form-data/commit/30af6be13fb0c9e92b32e935317680b9d7599928) diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/License b/Lombiq.EInvoiceValidator/node_modules/form-data/License new file mode 100644 index 0000000..c7ff12a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/form-data/License @@ -0,0 +1,19 @@ +Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/README.md b/Lombiq.EInvoiceValidator/node_modules/form-data/README.md new file mode 100644 index 0000000..d71caea --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/form-data/README.md @@ -0,0 +1,355 @@ +# Form-Data [![NPM Module](https://img.shields.io/npm/v/form-data.svg)](https://www.npmjs.com/package/form-data) [![Join the chat at https://gitter.im/form-data/form-data](http://form-data.github.io/images/gitterbadge.svg)](https://gitter.im/form-data/form-data) + +A library to create readable ```"multipart/form-data"``` streams. Can be used to submit forms and file uploads to other web applications. + +The API of this library is inspired by the [XMLHttpRequest-2 FormData Interface][xhr2-fd]. + +[xhr2-fd]: http://dev.w3.org/2006/webapi/XMLHttpRequest-2/Overview.html#the-formdata-interface + +[![Linux Build](https://img.shields.io/travis/form-data/form-data/v4.0.6.svg?label=linux:6.x-12.x)](https://travis-ci.org/form-data/form-data) +[![MacOS Build](https://img.shields.io/travis/form-data/form-data/v4.0.6.svg?label=macos:6.x-12.x)](https://travis-ci.org/form-data/form-data) +[![Windows Build](https://img.shields.io/travis/form-data/form-data/v4.0.6.svg?label=windows:6.x-12.x)](https://travis-ci.org/form-data/form-data) + +[![Coverage Status](https://img.shields.io/coveralls/form-data/form-data/v4.0.6.svg?label=code+coverage)](https://coveralls.io/github/form-data/form-data?branch=master) +[![Dependency Status](https://img.shields.io/david/form-data/form-data.svg)](https://david-dm.org/form-data/form-data) + +## Install + +``` +npm install --save form-data +``` + +## Usage + +In this example we are constructing a form with 3 fields that contain a string, +a buffer and a file stream. + +``` javascript +var FormData = require('form-data'); +var fs = require('fs'); + +var form = new FormData(); +form.append('my_field', 'my value'); +form.append('my_buffer', new Buffer(10)); +form.append('my_file', fs.createReadStream('/foo/bar.jpg')); +``` + +Also you can use http-response stream: + +``` javascript +var FormData = require('form-data'); +var http = require('http'); + +var form = new FormData(); + +http.request('http://nodejs.org/images/logo.png', function (response) { + form.append('my_field', 'my value'); + form.append('my_buffer', new Buffer(10)); + form.append('my_logo', response); +}); +``` + +Or @mikeal's [request](https://github.com/request/request) stream: + +``` javascript +var FormData = require('form-data'); +var request = require('request'); + +var form = new FormData(); + +form.append('my_field', 'my value'); +form.append('my_buffer', new Buffer(10)); +form.append('my_logo', request('http://nodejs.org/images/logo.png')); +``` + +In order to submit this form to a web application, call ```submit(url, [callback])``` method: + +``` javascript +form.submit('http://example.org/', function (err, res) { + // res – response object (http.IncomingMessage) // + res.resume(); +}); + +``` + +For more advanced request manipulations ```submit()``` method returns ```http.ClientRequest``` object, or you can choose from one of the alternative submission methods. + +### Custom options + +You can provide custom options, such as `maxDataSize`: + +``` javascript +var FormData = require('form-data'); + +var form = new FormData({ maxDataSize: 20971520 }); +form.append('my_field', 'my value'); +form.append('my_buffer', /* something big */); +``` + +List of available options could be found in [combined-stream](https://github.com/felixge/node-combined-stream/blob/master/lib/combined_stream.js#L7-L15) + +### Alternative submission methods + +You can use node's http client interface: + +``` javascript +var http = require('http'); + +var request = http.request({ + method: 'post', + host: 'example.org', + path: '/upload', + headers: form.getHeaders() +}); + +form.pipe(request); + +request.on('response', function (res) { + console.log(res.statusCode); +}); +``` + +Or if you would prefer the `'Content-Length'` header to be set for you: + +``` javascript +form.submit('example.org/upload', function (err, res) { + console.log(res.statusCode); +}); +``` + +To use custom headers and pre-known length in parts: + +``` javascript +var CRLF = '\r\n'; +var form = new FormData(); + +var options = { + header: CRLF + '--' + form.getBoundary() + CRLF + 'X-Custom-Header: 123' + CRLF + CRLF, + knownLength: 1 +}; + +form.append('my_buffer', buffer, options); + +form.submit('http://example.com/', function (err, res) { + if (err) throw err; + console.log('Done'); +}); +``` + +Form-Data can recognize and fetch all the required information from common types of streams (```fs.readStream```, ```http.response``` and ```mikeal's request```), for some other types of streams you'd need to provide "file"-related information manually: + +``` javascript +someModule.stream(function (err, stdout, stderr) { + if (err) throw err; + + var form = new FormData(); + + form.append('file', stdout, { + filename: 'unicycle.jpg', // ... or: + filepath: 'photos/toys/unicycle.jpg', + contentType: 'image/jpeg', + knownLength: 19806 + }); + + form.submit('http://example.com/', function (err, res) { + if (err) throw err; + console.log('Done'); + }); +}); +``` + +The `filepath` property overrides `filename` and may contain a relative path. This is typically used when uploading [multiple files from a directory](https://wicg.github.io/entries-api/#dom-htmlinputelement-webkitdirectory). + +For edge cases, like POST request to URL with query string or to pass HTTP auth credentials, object can be passed to `form.submit()` as first parameter: + +``` javascript +form.submit({ + host: 'example.com', + path: '/probably.php?extra=params', + auth: 'username:password' +}, function (err, res) { + console.log(res.statusCode); +}); +``` + +In case you need to also send custom HTTP headers with the POST request, you can use the `headers` key in first parameter of `form.submit()`: + +``` javascript +form.submit({ + host: 'example.com', + path: '/surelynot.php', + headers: { 'x-test-header': 'test-header-value' } +}, function (err, res) { + console.log(res.statusCode); +}); +``` + +### Methods + +- [_Void_ append( **String** _field_, **Mixed** _value_ [, **Mixed** _options_] )](https://github.com/form-data/form-data#void-append-string-field-mixed-value--mixed-options-). +- [_Headers_ getHeaders( [**Headers** _userHeaders_] )](https://github.com/form-data/form-data#array-getheaders-array-userheaders-) +- [_String_ getBoundary()](https://github.com/form-data/form-data#string-getboundary) +- [_Void_ setBoundary()](https://github.com/form-data/form-data#void-setboundary) +- [_Buffer_ getBuffer()](https://github.com/form-data/form-data#buffer-getbuffer) +- [_Integer_ getLengthSync()](https://github.com/form-data/form-data#integer-getlengthsync) +- [_Integer_ getLength( **function** _callback_ )](https://github.com/form-data/form-data#integer-getlength-function-callback-) +- [_Boolean_ hasKnownLength()](https://github.com/form-data/form-data#boolean-hasknownlength) +- [_Request_ submit( _params_, **function** _callback_ )](https://github.com/form-data/form-data#request-submit-params-function-callback-) +- [_String_ toString()](https://github.com/form-data/form-data#string-tostring) + +#### _Void_ append( **String** _field_, **Mixed** _value_ [, **Mixed** _options_] ) +Append data to the form. You can submit about any format (string, integer, boolean, buffer, etc.). However, Arrays are not supported and need to be turned into strings by the user. +```javascript +var form = new FormData(); +form.append('my_string', 'my value'); +form.append('my_integer', 1); +form.append('my_boolean', true); +form.append('my_buffer', new Buffer(10)); +form.append('my_array_as_json', JSON.stringify(['bird', 'cute'])); +``` + +You may provide a string for options, or an object. +```javascript +// Set filename by providing a string for options +form.append('my_file', fs.createReadStream('/foo/bar.jpg'), 'bar.jpg'); + +// provide an object. +form.append('my_file', fs.createReadStream('/foo/bar.jpg'), { filename: 'bar.jpg', contentType: 'image/jpeg', knownLength: 19806 }); +``` + +#### _Headers_ getHeaders( [**Headers** _userHeaders_] ) +This method adds the correct `content-type` header to the provided array of `userHeaders`. + +#### _String_ getBoundary() +Return the boundary of the formData. By default, the boundary consists of 26 `-` followed by 24 numbers +for example: +```javascript +--------------------------515890814546601021194782 +``` + +#### _Void_ setBoundary(String _boundary_) +Set the boundary string, overriding the default behavior described above. + +_Note: The boundary must be unique and may not appear in the data._ + +#### _Buffer_ getBuffer() +Return the full formdata request package, as a Buffer. You can insert this Buffer in e.g. Axios to send multipart data. +```javascript +var form = new FormData(); +form.append('my_buffer', Buffer.from([0x4a,0x42,0x20,0x52,0x6f,0x63,0x6b,0x73])); +form.append('my_file', fs.readFileSync('/foo/bar.jpg')); + +axios.post('https://example.com/path/to/api', form.getBuffer(), form.getHeaders()); +``` +**Note:** Because the output is of type Buffer, you can only append types that are accepted by Buffer: *string, Buffer, ArrayBuffer, Array, or Array-like Object*. A ReadStream for example will result in an error. + +#### _Integer_ getLengthSync() +Same as `getLength` but synchronous. + +_Note: getLengthSync __doesn't__ calculate streams length._ + +#### _Integer_ getLength(**function** _callback_ ) +Returns the `Content-Length` async. The callback is used to handle errors and continue once the length has been calculated +```javascript +this.getLength(function (err, length) { + if (err) { + this._error(err); + return; + } + + // add content length + request.setHeader('Content-Length', length); + + ... +}.bind(this)); +``` + +#### _Boolean_ hasKnownLength() +Checks if the length of added values is known. + +#### _Request_ submit(_params_, **function** _callback_ ) +Submit the form to a web application. +```javascript +var form = new FormData(); +form.append('my_string', 'Hello World'); + +form.submit('http://example.com/', function (err, res) { + // res – response object (http.IncomingMessage) // + res.resume(); +} ); +``` + +#### _String_ toString() +Returns the form data as a string. Don't use this if you are sending files or buffers, use `getBuffer()` instead. + +### Integration with other libraries + +#### Request + +Form submission using [request](https://github.com/request/request): + +```javascript +var formData = { + my_field: 'my_value', + my_file: fs.createReadStream(__dirname + '/unicycle.jpg'), +}; + +request.post({url:'http://service.com/upload', formData: formData}, function (err, httpResponse, body) { + if (err) { + return console.error('upload failed:', err); + } + console.log('Upload successful! Server responded with:', body); +}); +``` + +For more details see [request readme](https://github.com/request/request#multipartform-data-multipart-form-uploads). + +#### node-fetch + +You can also submit a form using [node-fetch](https://github.com/bitinn/node-fetch): + +```javascript +var form = new FormData(); + +form.append('a', 1); + +fetch('http://example.com', { method: 'POST', body: form }) + .then(function (res) { + return res.json(); + }).then(function (json) { + console.log(json); + }); +``` + +#### axios + +In Node.js you can post a file using [axios](https://github.com/axios/axios): +```javascript +const form = new FormData(); +const stream = fs.createReadStream(PATH_TO_FILE); + +form.append('image', stream); + +// In Node.js environment you need to set boundary in the header field 'Content-Type' by calling method `getHeaders` +const formHeaders = form.getHeaders(); + +axios.post('http://example.com', form, { + headers: { + ...formHeaders, + }, +}) + .then(response => response) + .catch(error => error) +``` + +## Notes + +- ```getLengthSync()``` method DOESN'T calculate length for streams, use ```knownLength``` options as workaround. +- ```getLength(cb)``` will send an error as first parameter of callback if stream length cannot be calculated (e.g. send in custom streams w/o using ```knownLength```). +- ```submit``` will not add `content-length` if form length is unknown or not calculable. +- Starting version `2.x` FormData has dropped support for `node@0.10.x`. +- Starting version `3.x` FormData has dropped support for `node@4.x`. + +## License + +Form-Data is released under the [MIT](License) license. diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/form-data/index.d.ts new file mode 100644 index 0000000..295e9e9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/form-data/index.d.ts @@ -0,0 +1,62 @@ +// Definitions by: Carlos Ballesteros Velasco +// Leon Yu +// BendingBender +// Maple Miao + +/// +import * as stream from 'stream'; +import * as http from 'http'; + +export = FormData; + +// Extracted because @types/node doesn't export interfaces. +interface ReadableOptions { + highWaterMark?: number; + encoding?: string; + objectMode?: boolean; + read?(this: stream.Readable, size: number): void; + destroy?(this: stream.Readable, error: Error | null, callback: (error: Error | null) => void): void; + autoDestroy?: boolean; +} + +interface Options extends ReadableOptions { + writable?: boolean; + readable?: boolean; + dataSize?: number; + maxDataSize?: number; + pauseStreams?: boolean; +} + +declare class FormData extends stream.Readable { + constructor(options?: Options); + append(key: string, value: any, options?: FormData.AppendOptions | string): void; + getHeaders(userHeaders?: FormData.Headers): FormData.Headers; + submit( + params: string | FormData.SubmitOptions, + callback?: (error: Error | null, response: http.IncomingMessage) => void + ): http.ClientRequest; + getBuffer(): Buffer; + setBoundary(boundary: string): void; + getBoundary(): string; + getLength(callback: (err: Error | null, length: number) => void): void; + getLengthSync(): number; + hasKnownLength(): boolean; +} + +declare namespace FormData { + interface Headers { + [key: string]: any; + } + + interface AppendOptions { + header?: string | Headers; + knownLength?: number; + filename?: string; + filepath?: string; + contentType?: string; + } + + interface SubmitOptions extends http.RequestOptions { + protocol?: 'https:' | 'http:'; + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.js b/Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.js new file mode 100644 index 0000000..8950a91 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.js @@ -0,0 +1,4 @@ +'use strict'; + +/* eslint-env browser */ +module.exports = typeof self === 'object' ? self.FormData : window.FormData; diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.min.js b/Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.min.js new file mode 100644 index 0000000..7ba12dc --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/form-data@4.0.6/lib/browser.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports="object"==typeof self?self.FormData:window.FormData; +//# sourceMappingURL=/sm/53868193f5f617c495194ac577269795fe74418421322e4a8df6caa50b8ed46c.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.js b/Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.js new file mode 100644 index 0000000..a05c8ce --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.js @@ -0,0 +1,506 @@ +'use strict'; + +var CombinedStream = require('combined-stream'); +var util = require('util'); +var path = require('path'); +var http = require('http'); +var https = require('https'); +var parseUrl = require('url').parse; +var fs = require('fs'); +var Stream = require('stream').Stream; +var crypto = require('crypto'); +var mime = require('mime-types'); +var asynckit = require('asynckit'); +var setToStringTag = require('es-set-tostringtag'); +var hasOwn = require('hasown'); +var populate = require('./populate.js'); + +/** + * Escape CR, LF, and `"` in a multipart `name`/`filename` parameter, so a field + * name or filename can not break out of its header line to inject headers or + * smuggle additional parts. Matches the WHATWG HTML multipart/form-data encoding. + * + * @param {string} str - the parameter value to escape + * @returns {string} the escaped value + */ +function escapeHeaderParam(str) { + return String(str).replace(/\r/g, '%0D').replace(/\n/g, '%0A').replace(/"/g, '%22'); +} + +/** + * Create readable "multipart/form-data" streams. + * Can be used to submit forms + * and file uploads to other web applications. + * + * @constructor + * @param {object} options - Properties to be added/overriden for FormData and CombinedStream + */ +function FormData(options) { + if (!(this instanceof FormData)) { + return new FormData(options); + } + + this._overheadLength = 0; + this._valueLength = 0; + this._valuesToMeasure = []; + + CombinedStream.call(this); + + options = options || {}; // eslint-disable-line no-param-reassign + for (var option in options) { // eslint-disable-line no-restricted-syntax + this[option] = options[option]; + } +} + +// make it a Stream +util.inherits(FormData, CombinedStream); + +FormData.LINE_BREAK = '\r\n'; +FormData.DEFAULT_CONTENT_TYPE = 'application/octet-stream'; + +FormData.prototype.append = function (field, value, options) { + options = options || {}; // eslint-disable-line no-param-reassign + + // allow filename as single option + if (typeof options === 'string') { + options = { filename: options }; // eslint-disable-line no-param-reassign + } + + var append = CombinedStream.prototype.append.bind(this); + + // all that streamy business can't handle numbers + if (typeof value === 'number' || value == null) { + value = String(value); // eslint-disable-line no-param-reassign + } + + // https://github.com/felixge/node-form-data/issues/38 + if (Array.isArray(value)) { + /* + * Please convert your array into string + * the way web server expects it + */ + this._error(new Error('Arrays are not supported.')); + return; + } + + var header = this._multiPartHeader(field, value, options); + var footer = this._multiPartFooter(); + + append(header); + append(value); + append(footer); + + // pass along options.knownLength + this._trackLength(header, value, options); +}; + +FormData.prototype._trackLength = function (header, value, options) { + var valueLength = 0; + + /* + * used w/ getLengthSync(), when length is known. + * e.g. for streaming directly from a remote server, + * w/ a known file a size, and not wanting to wait for + * incoming file to finish to get its size. + */ + if (options.knownLength != null) { + valueLength += Number(options.knownLength); + } else if (Buffer.isBuffer(value)) { + valueLength = value.length; + } else if (typeof value === 'string') { + valueLength = Buffer.byteLength(value); + } + + this._valueLength += valueLength; + + // @check why add CRLF? does this account for custom/multiple CRLFs? + this._overheadLength += Buffer.byteLength(header) + FormData.LINE_BREAK.length; + + // empty or either doesn't have path or not an http response or not a stream + if (!value || (!value.path && !(value.readable && hasOwn(value, 'httpVersion')) && !(value instanceof Stream))) { + return; + } + + // no need to bother with the length + if (!options.knownLength) { + this._valuesToMeasure.push(value); + } +}; + +FormData.prototype._lengthRetriever = function (value, callback) { + if (hasOwn(value, 'fd')) { + // take read range into a account + // `end` = Infinity –> read file till the end + // + // TODO: Looks like there is bug in Node fs.createReadStream + // it doesn't respect `end` options without `start` options + // Fix it when node fixes it. + // https://github.com/joyent/node/issues/7819 + if (value.end != undefined && value.end != Infinity && value.start != undefined) { + // when end specified + // no need to calculate range + // inclusive, starts with 0 + callback(null, value.end + 1 - (value.start ? value.start : 0)); // eslint-disable-line callback-return + + // not that fast snoopy + } else { + // still need to fetch file size from fs + fs.stat(value.path, function (err, stat) { + if (err) { + callback(err); + return; + } + + // update final size based on the range options + var fileSize = stat.size - (value.start ? value.start : 0); + callback(null, fileSize); + }); + } + + // or http response + } else if (hasOwn(value, 'httpVersion')) { + callback(null, Number(value.headers['content-length'])); // eslint-disable-line callback-return + + // or request stream http://github.com/mikeal/request + } else if (hasOwn(value, 'httpModule')) { + // wait till response come back + value.on('response', function (response) { + value.pause(); + callback(null, Number(response.headers['content-length'])); + }); + value.resume(); + + // something else + } else { + callback('Unknown stream'); // eslint-disable-line callback-return + } +}; + +FormData.prototype._multiPartHeader = function (field, value, options) { + /* + * custom header specified (as string)? + * it becomes responsible for boundary + * (e.g. to handle extra CRLFs on .NET servers) + */ + if (typeof options.header === 'string') { + return options.header; + } + + var contentDisposition = this._getContentDisposition(value, options); + var contentType = this._getContentType(value, options); + + var contents = ''; + var headers = { + // add custom disposition as third element or keep it two elements if not + 'Content-Disposition': ['form-data', 'name="' + escapeHeaderParam(field) + '"'].concat(contentDisposition || []), + // if no content type. allow it to be empty array + 'Content-Type': [].concat(contentType || []) + }; + + // allow custom headers. + if (typeof options.header === 'object') { + populate(headers, options.header); + } + + var header; + for (var prop in headers) { // eslint-disable-line no-restricted-syntax + if (hasOwn(headers, prop)) { + header = headers[prop]; + + // skip nullish headers. + if (header == null) { + continue; // eslint-disable-line no-restricted-syntax, no-continue + } + + // convert all headers to arrays. + if (!Array.isArray(header)) { + header = [header]; + } + + // add non-empty headers. + if (header.length) { + contents += prop + ': ' + header.join('; ') + FormData.LINE_BREAK; + } + } + } + + return '--' + this.getBoundary() + FormData.LINE_BREAK + contents + FormData.LINE_BREAK; +}; + +FormData.prototype._getContentDisposition = function (value, options) { // eslint-disable-line consistent-return + var filename; + + if (typeof options.filepath === 'string') { + // custom filepath for relative paths + filename = path.normalize(options.filepath).replace(/\\/g, '/'); + } else if (options.filename || (value && (value.name || value.path))) { + /* + * custom filename take precedence + * formidable and the browser add a name property + * fs- and request- streams have path property + */ + filename = path.basename(options.filename || (value && (value.name || value.path))); + } else if (value && value.readable && hasOwn(value, 'httpVersion')) { + // or try http response + filename = path.basename(value.client._httpMessage.path || ''); + } + + if (filename) { + return 'filename="' + escapeHeaderParam(filename) + '"'; + } +}; + +FormData.prototype._getContentType = function (value, options) { + // use custom content-type above all + var contentType = options.contentType; + + // or try `name` from formidable, browser + if (!contentType && value && value.name) { + contentType = mime.lookup(value.name); + } + + // or try `path` from fs-, request- streams + if (!contentType && value && value.path) { + contentType = mime.lookup(value.path); + } + + // or if it's http-reponse + if (!contentType && value && value.readable && hasOwn(value, 'httpVersion')) { + contentType = value.headers['content-type']; + } + + // or guess it from the filepath or filename + if (!contentType && (options.filepath || options.filename)) { + contentType = mime.lookup(options.filepath || options.filename); + } + + // fallback to the default content type if `value` is not simple value + if (!contentType && value && typeof value === 'object') { + contentType = FormData.DEFAULT_CONTENT_TYPE; + } + + return contentType; +}; + +FormData.prototype._multiPartFooter = function () { + return function (next) { + var footer = FormData.LINE_BREAK; + + var lastPart = this._streams.length === 0; + if (lastPart) { + footer += this._lastBoundary(); + } + + next(footer); + }.bind(this); +}; + +FormData.prototype._lastBoundary = function () { + return '--' + this.getBoundary() + '--' + FormData.LINE_BREAK; +}; + +FormData.prototype.getHeaders = function (userHeaders) { + var header; + var formHeaders = { + 'content-type': 'multipart/form-data; boundary=' + this.getBoundary() + }; + + for (header in userHeaders) { // eslint-disable-line no-restricted-syntax + if (hasOwn(userHeaders, header)) { + formHeaders[header.toLowerCase()] = userHeaders[header]; + } + } + + return formHeaders; +}; + +FormData.prototype.setBoundary = function (boundary) { + if (typeof boundary !== 'string') { + throw new TypeError('FormData boundary must be a string'); + } + this._boundary = boundary; +}; + +FormData.prototype.getBoundary = function () { + if (!this._boundary) { + this._generateBoundary(); + } + + return this._boundary; +}; + +FormData.prototype.getBuffer = function () { + var dataBuffer = new Buffer.alloc(0); // eslint-disable-line new-cap + var boundary = this.getBoundary(); + + // Create the form content. Add Line breaks to the end of data. + for (var i = 0, len = this._streams.length; i < len; i++) { + if (typeof this._streams[i] !== 'function') { + // Add content to the buffer. + if (Buffer.isBuffer(this._streams[i])) { + dataBuffer = Buffer.concat([dataBuffer, this._streams[i]]); + } else { + dataBuffer = Buffer.concat([dataBuffer, Buffer.from(this._streams[i])]); + } + + // Add break after content. + if (typeof this._streams[i] !== 'string' || this._streams[i].substring(2, boundary.length + 2) !== boundary) { + dataBuffer = Buffer.concat([dataBuffer, Buffer.from(FormData.LINE_BREAK)]); + } + } + } + + // Add the footer and return the Buffer object. + return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]); +}; + +FormData.prototype._generateBoundary = function () { + // This generates a 50 character boundary similar to those used by Firefox. + + // They are optimized for boyer-moore parsing. + this._boundary = '--------------------------' + crypto.randomBytes(12).toString('hex'); +}; + +// Note: getLengthSync DOESN'T calculate streams length +// As workaround one can calculate file size manually and add it as knownLength option +FormData.prototype.getLengthSync = function () { + var knownLength = this._overheadLength + this._valueLength; + + // Don't get confused, there are 3 "internal" streams for each keyval pair so it basically checks if there is any value added to the form + if (this._streams.length) { + knownLength += this._lastBoundary().length; + } + + // https://github.com/form-data/form-data/issues/40 + if (!this.hasKnownLength()) { + /* + * Some async length retrievers are present + * therefore synchronous length calculation is false. + * Please use getLength(callback) to get proper length + */ + this._error(new Error('Cannot calculate proper length in synchronous way.')); + } + + return knownLength; +}; + +// Public API to check if length of added values is known +// https://github.com/form-data/form-data/issues/196 +// https://github.com/form-data/form-data/issues/262 +FormData.prototype.hasKnownLength = function () { + var hasKnownLength = true; + + if (this._valuesToMeasure.length) { + hasKnownLength = false; + } + + return hasKnownLength; +}; + +FormData.prototype.getLength = function (cb) { + var knownLength = this._overheadLength + this._valueLength; + + if (this._streams.length) { + knownLength += this._lastBoundary().length; + } + + if (!this._valuesToMeasure.length) { + process.nextTick(cb.bind(this, null, knownLength)); + return; + } + + asynckit.parallel(this._valuesToMeasure, this._lengthRetriever, function (err, values) { + if (err) { + cb(err); + return; + } + + values.forEach(function (length) { + knownLength += length; + }); + + cb(null, knownLength); + }); +}; + +FormData.prototype.submit = function (params, cb) { + var request; + var options; + var defaults = { method: 'post' }; + + // parse provided url if it's string or treat it as options object + if (typeof params === 'string') { + params = parseUrl(params); // eslint-disable-line no-param-reassign + /* eslint sort-keys: 0 */ + options = populate({ + port: params.port, + path: params.pathname, + host: params.hostname, + protocol: params.protocol + }, defaults); + } else { // use custom params + options = populate(params, defaults); + // if no port provided use default one + if (!options.port) { + options.port = options.protocol === 'https:' ? 443 : 80; + } + } + + // put that good code in getHeaders to some use + options.headers = this.getHeaders(params.headers); + + // https if specified, fallback to http in any other case + if (options.protocol === 'https:') { + request = https.request(options); + } else { + request = http.request(options); + } + + // get content length and fire away + this.getLength(function (err, length) { + if (err && err !== 'Unknown stream') { + this._error(err); + return; + } + + // add content length + if (length) { + request.setHeader('Content-Length', length); + } + + this.pipe(request); + if (cb) { + var onResponse; + + var callback = function (error, responce) { + request.removeListener('error', callback); + request.removeListener('response', onResponse); + + return cb.call(this, error, responce); + }; + + onResponse = callback.bind(this, null); + + request.on('error', callback); + request.on('response', onResponse); + } + }.bind(this)); + + return request; +}; + +FormData.prototype._error = function (err) { + if (!this.error) { + this.error = err; + this.pause(); + this.emit('error', err); + } +}; + +FormData.prototype.toString = function () { + return '[object FormData]'; +}; +setToStringTag(FormData.prototype, 'FormData'); + +// Public API +module.exports = FormData; diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.min.js b/Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.min.js new file mode 100644 index 0000000..9f56a1a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/form-data@4.0.6/lib/form_data.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var CombinedStream=require("combined-stream"),util=require("util"),path=require("path"),http=require("http"),https=require("https"),parseUrl=require("url").parse,fs=require("fs"),Stream=require("stream").Stream,crypto=require("crypto"),mime=require("mime-types"),asynckit=require("asynckit"),setToStringTag=require("es-set-tostringtag"),hasOwn=require("hasown"),populate=require("./populate.js");function escapeHeaderParam(t){return String(t).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}function FormData(t){if(!(this instanceof FormData))return new FormData(t);for(var e in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],CombinedStream.call(this),t=t||{})this[e]=t[e]}util.inherits(FormData,CombinedStream),FormData.LINE_BREAK="\r\n",FormData.DEFAULT_CONTENT_TYPE="application/octet-stream",FormData.prototype.append=function(t,e,r){"string"==typeof(r=r||{})&&(r={filename:r});var a=CombinedStream.prototype.append.bind(this);if("number"!=typeof e&&null!=e||(e=String(e)),Array.isArray(e))this._error(new Error("Arrays are not supported."));else{var n=this._multiPartHeader(t,e,r),o=this._multiPartFooter();a(n),a(e),a(o),this._trackLength(n,e,r)}},FormData.prototype._trackLength=function(t,e,r){var a=0;null!=r.knownLength?a+=Number(r.knownLength):Buffer.isBuffer(e)?a=e.length:"string"==typeof e&&(a=Buffer.byteLength(e)),this._valueLength+=a,this._overheadLength+=Buffer.byteLength(t)+FormData.LINE_BREAK.length,e&&(e.path||e.readable&&hasOwn(e,"httpVersion")||e instanceof Stream)&&(r.knownLength||this._valuesToMeasure.push(e))},FormData.prototype._lengthRetriever=function(t,e){hasOwn(t,"fd")?null!=t.end&&t.end!=1/0&&null!=t.start?e(null,t.end+1-(t.start?t.start:0)):fs.stat(t.path,function(r,a){if(r)e(r);else{var n=a.size-(t.start?t.start:0);e(null,n)}}):hasOwn(t,"httpVersion")?e(null,Number(t.headers["content-length"])):hasOwn(t,"httpModule")?(t.on("response",function(r){t.pause(),e(null,Number(r.headers["content-length"]))}),t.resume()):e("Unknown stream")},FormData.prototype._multiPartHeader=function(t,e,r){if("string"==typeof r.header)return r.header;var a,n=this._getContentDisposition(e,r),o=this._getContentType(e,r),s="",i={"Content-Disposition":["form-data",'name="'+escapeHeaderParam(t)+'"'].concat(n||[]),"Content-Type":[].concat(o||[])};for(var h in"object"==typeof r.header&&populate(i,r.header),i)if(hasOwn(i,h)){if(null==(a=i[h]))continue;Array.isArray(a)||(a=[a]),a.length&&(s+=h+": "+a.join("; ")+FormData.LINE_BREAK)}return"--"+this.getBoundary()+FormData.LINE_BREAK+s+FormData.LINE_BREAK},FormData.prototype._getContentDisposition=function(t,e){var r;if("string"==typeof e.filepath?r=path.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?r=path.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&hasOwn(t,"httpVersion")&&(r=path.basename(t.client._httpMessage.path||"")),r)return'filename="'+escapeHeaderParam(r)+'"'},FormData.prototype._getContentType=function(t,e){var r=e.contentType;return!r&&t&&t.name&&(r=mime.lookup(t.name)),!r&&t&&t.path&&(r=mime.lookup(t.path)),!r&&t&&t.readable&&hasOwn(t,"httpVersion")&&(r=t.headers["content-type"]),r||!e.filepath&&!e.filename||(r=mime.lookup(e.filepath||e.filename)),!r&&t&&"object"==typeof t&&(r=FormData.DEFAULT_CONTENT_TYPE),r},FormData.prototype._multiPartFooter=function(){return function(t){var e=FormData.LINE_BREAK;0===this._streams.length&&(e+=this._lastBoundary()),t(e)}.bind(this)},FormData.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+FormData.LINE_BREAK},FormData.prototype.getHeaders=function(t){var e,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)hasOwn(t,e)&&(r[e.toLowerCase()]=t[e]);return r},FormData.prototype.setBoundary=function(t){if("string"!=typeof t)throw new TypeError("FormData boundary must be a string");this._boundary=t},FormData.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},FormData.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),r=0,a=this._streams.length;r (http://debuggable.com/)", + "name": "form-data", + "description": "A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.", + "version": "4.0.6", + "repository": { + "type": "git", + "url": "git://github.com/form-data/form-data.git" + }, + "main": "./lib/form_data", + "browser": "./lib/browser", + "typings": "./index.d.ts", + "scripts": { + "pretest": "npm run lint", + "pretests-only": "rimraf coverage test/tmp", + "tests-only": "istanbul cover test/run.js", + "posttests-only": "istanbul report lcov text", + "test": "npm run tests-only", + "posttest": "npx npm@'>=10.2' audit --production", + "lint": "eslint --ext=js,mjs .", + "report": "istanbul report lcov text", + "ci-lint": "is-node-modern 8 && npm run lint || is-node-not-modern 8", + "ci-test": "npm run tests-only && npm run browser && npm run report", + "predebug": "rimraf coverage test/tmp", + "debug": "verbose=1 ./test/run.js", + "browser": "browserify -t browserify-istanbul test/run-browser.js | obake --coverage", + "check": "istanbul check-coverage coverage/coverage*.json", + "files": "pkgfiles --sort=name", + "get-version": "node -e \"console.log(require('./package.json').version)\"", + "update-readme": "sed -i.bak 's/\\/master\\.svg/\\/v'$(npm --silent run get-version)'.svg/g' README.md", + "postupdate-readme": "mv README.md.bak READ.ME.md.bak", + "restore-readme": "mv READ.ME.md.bak README.md", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepack": "npm run update-readme", + "postpack": "npm run restore-readme", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "engines": { + "node": ">= 6" + }, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.4", + "mime-types": "^2.1.35" + }, + "devDependencies": { + "@ljharb/eslint-config": "^22.2.3", + "auto-changelog": "^2.6.0", + "browserify": "^13.3.0", + "browserify-istanbul": "^2.0.0", + "coveralls": "^3.1.1", + "cross-spawn": "^6.0.6", + "eslint": "^8.57.1", + "fake": "^0.2.2", + "far": "^0.0.7", + "formidable": "^1.2.6", + "in-publish": "^2.0.1", + "is-node-modern": "^1.0.0", + "istanbul": "^0.4.5", + "js-randomness-predictor": "^3.6.0", + "obake": "^0.1.2", + "pkgfiles": "^2.3.2", + "pre-commit": "^1.2.2", + "puppeteer": "^1.20.0", + "request": "~2.87.0", + "rimraf": "^2.7.1", + "semver": "^6.3.1", + "tape": "^5.10.1" + }, + "license": "MIT", + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/function-bind/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/function-bind/CHANGELOG.md new file mode 100644 index 0000000..f9e6cc0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/function-bind/CHANGELOG.md @@ -0,0 +1,136 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.1.2](https://github.com/ljharb/function-bind/compare/v1.1.1...v1.1.2) - 2023-10-12 + +### Merged + +- Point to the correct file [`#16`](https://github.com/ljharb/function-bind/pull/16) + +### Commits + +- [Tests] migrate tests to Github Actions [`4f8b57c`](https://github.com/ljharb/function-bind/commit/4f8b57c02f2011fe9ae353d5e74e8745f0988af8) +- [Tests] remove `jscs` [`90eb2ed`](https://github.com/ljharb/function-bind/commit/90eb2edbeefd5b76cd6c3a482ea3454db169b31f) +- [meta] update `.gitignore` [`53fcdc3`](https://github.com/ljharb/function-bind/commit/53fcdc371cd66634d6e9b71c836a50f437e89fed) +- [Tests] up to `node` `v11.10`, `v10.15`, `v9.11`, `v8.15`, `v6.16`, `v4.9`; use `nvm install-latest-npm`; run audit script in tests [`1fe8f6e`](https://github.com/ljharb/function-bind/commit/1fe8f6e9aed0dfa8d8b3cdbd00c7f5ea0cd2b36e) +- [meta] add `auto-changelog` [`1921fcb`](https://github.com/ljharb/function-bind/commit/1921fcb5b416b63ffc4acad051b6aad5722f777d) +- [Robustness] remove runtime dependency on all builtins except `.apply` [`f743e61`](https://github.com/ljharb/function-bind/commit/f743e61aa6bb2360358c04d4884c9db853d118b7) +- Docs: enable badges; update wording [`503cb12`](https://github.com/ljharb/function-bind/commit/503cb12d998b5f91822776c73332c7adcd6355dd) +- [readme] update badges [`290c5db`](https://github.com/ljharb/function-bind/commit/290c5dbbbda7264efaeb886552a374b869a4bb48) +- [Tests] switch to nyc for coverage [`ea360ba`](https://github.com/ljharb/function-bind/commit/ea360ba907fc2601ed18d01a3827fa2d3533cdf8) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`cae5e9e`](https://github.com/ljharb/function-bind/commit/cae5e9e07a5578dc6df26c03ee22851ce05b943c) +- [meta] add `funding` field; create FUNDING.yml [`c9f4274`](https://github.com/ljharb/function-bind/commit/c9f4274aa80ea3aae9657a3938fdba41a3b04ca6) +- [Tests] fix eslint errors from #15 [`f69aaa2`](https://github.com/ljharb/function-bind/commit/f69aaa2beb2fdab4415bfb885760a699d0b9c964) +- [actions] fix permissions [`99a0cd9`](https://github.com/ljharb/function-bind/commit/99a0cd9f3b5bac223a0d572f081834cd73314be7) +- [meta] use `npmignore` to autogenerate an npmignore file [`f03b524`](https://github.com/ljharb/function-bind/commit/f03b524ca91f75a109a5d062f029122c86ecd1ae) +- [Dev Deps] update `@ljharb/eslint‑config`, `eslint`, `tape` [`7af9300`](https://github.com/ljharb/function-bind/commit/7af930023ae2ce7645489532821e4fbbcd7a2280) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `tape` [`64a9127`](https://github.com/ljharb/function-bind/commit/64a9127ab0bd331b93d6572eaf6e9971967fc08c) +- [Tests] use `aud` instead of `npm audit` [`e75069c`](https://github.com/ljharb/function-bind/commit/e75069c50010a8fcce2a9ce2324934c35fdb4386) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`d03555c`](https://github.com/ljharb/function-bind/commit/d03555ca59dea3b71ce710045e4303b9e2619e28) +- [meta] add `safe-publish-latest` [`9c8f809`](https://github.com/ljharb/function-bind/commit/9c8f8092aed027d7e80c94f517aa892385b64f09) +- [Dev Deps] update `@ljharb/eslint-config`, `tape` [`baf6893`](https://github.com/ljharb/function-bind/commit/baf6893e27f5b59abe88bc1995e6f6ed1e527397) +- [meta] create SECURITY.md [`4db1779`](https://github.com/ljharb/function-bind/commit/4db17799f1f28ae294cb95e0081ca2b591c3911b) +- [Tests] add `npm run audit` [`c8b38ec`](https://github.com/ljharb/function-bind/commit/c8b38ec40ed3f85dabdee40ed4148f1748375bc2) +- Revert "Point to the correct file" [`05cdf0f`](https://github.com/ljharb/function-bind/commit/05cdf0fa205c6a3c5ba40bbedd1dfa9874f915c9) + +## [v1.1.1](https://github.com/ljharb/function-bind/compare/v1.1.0...v1.1.1) - 2017-08-28 + +### Commits + +- [Tests] up to `node` `v8`; newer npm breaks on older node; fix scripts [`817f7d2`](https://github.com/ljharb/function-bind/commit/817f7d28470fdbff8ef608d4d565dd4d1430bc5e) +- [Dev Deps] update `eslint`, `jscs`, `tape`, `@ljharb/eslint-config` [`854288b`](https://github.com/ljharb/function-bind/commit/854288b1b6f5c555f89aceb9eff1152510262084) +- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`83e639f`](https://github.com/ljharb/function-bind/commit/83e639ff74e6cd6921285bccec22c1bcf72311bd) +- Only apps should have lockfiles [`5ed97f5`](https://github.com/ljharb/function-bind/commit/5ed97f51235c17774e0832e122abda0f3229c908) +- Use a SPDX-compliant “license” field. [`5feefea`](https://github.com/ljharb/function-bind/commit/5feefea0dc0193993e83e5df01ded424403a5381) + +## [v1.1.0](https://github.com/ljharb/function-bind/compare/v1.0.2...v1.1.0) - 2016-02-14 + +### Commits + +- Update `eslint`, `tape`; use my personal shared `eslint` config [`9c9062a`](https://github.com/ljharb/function-bind/commit/9c9062abbe9dd70b59ea2c3a3c3a81f29b457097) +- Add `npm run eslint` [`dd96c56`](https://github.com/ljharb/function-bind/commit/dd96c56720034a3c1ffee10b8a59a6f7c53e24ad) +- [New] return the native `bind` when available. [`82186e0`](https://github.com/ljharb/function-bind/commit/82186e03d73e580f95ff167e03f3582bed90ed72) +- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`a3dd767`](https://github.com/ljharb/function-bind/commit/a3dd76720c795cb7f4586b0544efabf8aa107b8b) +- Update `eslint` [`3dae2f7`](https://github.com/ljharb/function-bind/commit/3dae2f7423de30a2d20313ddb1edc19660142fe9) +- Update `tape`, `covert`, `jscs` [`a181eee`](https://github.com/ljharb/function-bind/commit/a181eee0cfa24eb229c6e843a971f36e060a2f6a) +- [Tests] up to `node` `v5.6`, `v4.3` [`964929a`](https://github.com/ljharb/function-bind/commit/964929a6a4ddb36fb128de2bcc20af5e4f22e1ed) +- Test up to `io.js` `v2.1` [`2be7310`](https://github.com/ljharb/function-bind/commit/2be7310f2f74886a7124ca925be411117d41d5ea) +- Update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`45f3d68`](https://github.com/ljharb/function-bind/commit/45f3d6865c6ca93726abcef54febe009087af101) +- [Dev Deps] update `tape`, `jscs` [`6e1340d`](https://github.com/ljharb/function-bind/commit/6e1340d94642deaecad3e717825db641af4f8b1f) +- [Tests] up to `io.js` `v3.3`, `node` `v4.1` [`d9bad2b`](https://github.com/ljharb/function-bind/commit/d9bad2b778b1b3a6dd2876087b88b3acf319f8cc) +- Update `eslint` [`935590c`](https://github.com/ljharb/function-bind/commit/935590caa024ab356102e4858e8fc315b2ccc446) +- [Dev Deps] update `jscs`, `eslint`, `@ljharb/eslint-config` [`8c9a1ef`](https://github.com/ljharb/function-bind/commit/8c9a1efd848e5167887aa8501857a0940a480c57) +- Test on `io.js` `v2.2` [`9a3a38c`](https://github.com/ljharb/function-bind/commit/9a3a38c92013aed6e108666e7bd40969b84ac86e) +- Run `travis-ci` tests on `iojs` and `node` v0.12; speed up builds; allow 0.8 failures. [`69afc26`](https://github.com/ljharb/function-bind/commit/69afc2617405b147dd2a8d8ae73ca9e9283f18b4) +- [Dev Deps] Update `tape`, `eslint` [`36c1be0`](https://github.com/ljharb/function-bind/commit/36c1be0ab12b45fe5df6b0fdb01a5d5137fd0115) +- Update `tape`, `jscs` [`98d8303`](https://github.com/ljharb/function-bind/commit/98d8303cd5ca1c6b8f985469f86b0d44d7d45f6e) +- Update `jscs` [`9633a4e`](https://github.com/ljharb/function-bind/commit/9633a4e9fbf82051c240855166e468ba8ba0846f) +- Update `tape`, `jscs` [`c80ef0f`](https://github.com/ljharb/function-bind/commit/c80ef0f46efc9791e76fa50de4414092ac147831) +- Test up to `io.js` `v3.0` [`7e2c853`](https://github.com/ljharb/function-bind/commit/7e2c8537d52ab9cf5a655755561d8917684c0df4) +- Test on `io.js` `v2.4` [`5a199a2`](https://github.com/ljharb/function-bind/commit/5a199a27ba46795ba5eaf0845d07d4b8232895c9) +- Test on `io.js` `v2.3` [`a511b88`](https://github.com/ljharb/function-bind/commit/a511b8896de0bddf3b56862daa416c701f4d0453) +- Fixing a typo from 822b4e1938db02dc9584aa434fd3a45cb20caf43 [`732d6b6`](https://github.com/ljharb/function-bind/commit/732d6b63a9b33b45230e630dbcac7a10855d3266) +- Update `jscs` [`da52a48`](https://github.com/ljharb/function-bind/commit/da52a4886c06d6490f46ae30b15e4163ba08905d) +- Lock covert to v1.0.0. [`d6150fd`](https://github.com/ljharb/function-bind/commit/d6150fda1e6f486718ebdeff823333d9e48e7430) + +## [v1.0.2](https://github.com/ljharb/function-bind/compare/v1.0.1...v1.0.2) - 2014-10-04 + +## [v1.0.1](https://github.com/ljharb/function-bind/compare/v1.0.0...v1.0.1) - 2014-10-03 + +### Merged + +- make CI build faster [`#3`](https://github.com/ljharb/function-bind/pull/3) + +### Commits + +- Using my standard jscs.json [`d8ee94c`](https://github.com/ljharb/function-bind/commit/d8ee94c993eff0a84cf5744fe6a29627f5cffa1a) +- Adding `npm run lint` [`7571ab7`](https://github.com/ljharb/function-bind/commit/7571ab7dfdbd99b25a1dbb2d232622bd6f4f9c10) +- Using consistent indentation [`e91a1b1`](https://github.com/ljharb/function-bind/commit/e91a1b13a61e99ec1e530e299b55508f74218a95) +- Updating jscs [`7e17892`](https://github.com/ljharb/function-bind/commit/7e1789284bc629bc9c1547a61c9b227bbd8c7a65) +- Using consistent quotes [`c50b57f`](https://github.com/ljharb/function-bind/commit/c50b57fcd1c5ec38320979c837006069ebe02b77) +- Adding keywords [`cb94631`](https://github.com/ljharb/function-bind/commit/cb946314eed35f21186a25fb42fc118772f9ee00) +- Directly export a function expression instead of using a declaration, and relying on hoisting. [`5a33c5f`](https://github.com/ljharb/function-bind/commit/5a33c5f45642de180e0d207110bf7d1843ceb87c) +- Naming npm URL and badge in README; use SVG [`2aef8fc`](https://github.com/ljharb/function-bind/commit/2aef8fcb79d54e63a58ae557c4e60949e05d5e16) +- Naming deps URLs in README [`04228d7`](https://github.com/ljharb/function-bind/commit/04228d766670ee45ca24e98345c1f6a7621065b5) +- Naming travis-ci URLs in README; using SVG [`62c810c`](https://github.com/ljharb/function-bind/commit/62c810c2f54ced956cd4d4ab7b793055addfe36e) +- Make sure functions are invoked correctly (also passing coverage tests) [`2b289b4`](https://github.com/ljharb/function-bind/commit/2b289b4dfbf037ffcfa4dc95eb540f6165e9e43a) +- Removing the strict mode pragmas; they make tests fail. [`1aa701d`](https://github.com/ljharb/function-bind/commit/1aa701d199ddc3782476e8f7eef82679be97b845) +- Adding myself as a contributor [`85fd57b`](https://github.com/ljharb/function-bind/commit/85fd57b0860e5a7af42de9a287f3f265fc6d72fc) +- Adding strict mode pragmas [`915b08e`](https://github.com/ljharb/function-bind/commit/915b08e084c86a722eafe7245e21db74aa21ca4c) +- Adding devDeps URLs to README [`4ccc731`](https://github.com/ljharb/function-bind/commit/4ccc73112c1769859e4ca3076caf4086b3cba2cd) +- Fixing the description. [`a7a472c`](https://github.com/ljharb/function-bind/commit/a7a472cf649af515c635cf560fc478fbe48999c8) +- Using a function expression instead of a function declaration. [`b5d3e4e`](https://github.com/ljharb/function-bind/commit/b5d3e4ea6aaffc63888953eeb1fbc7ff45f1fa14) +- Updating tape [`f086be6`](https://github.com/ljharb/function-bind/commit/f086be6029fb56dde61a258c1340600fa174d1e0) +- Updating jscs [`5f9bdb3`](https://github.com/ljharb/function-bind/commit/5f9bdb375ab13ba48f30852aab94029520c54d71) +- Updating jscs [`9b409ba`](https://github.com/ljharb/function-bind/commit/9b409ba6118e23395a4e5d83ef39152aab9d3bfc) +- Run coverage as part of tests. [`8e1b6d4`](https://github.com/ljharb/function-bind/commit/8e1b6d459f047d1bd4fee814e01247c984c80bd0) +- Run linter as part of tests [`c1ca83f`](https://github.com/ljharb/function-bind/commit/c1ca83f832df94587d09e621beba682fabfaa987) +- Updating covert [`701e837`](https://github.com/ljharb/function-bind/commit/701e83774b57b4d3ef631e1948143f43a72f4bb9) + +## [v1.0.0](https://github.com/ljharb/function-bind/compare/v0.2.0...v1.0.0) - 2014-08-09 + +### Commits + +- Make sure old and unstable nodes don't fail Travis [`27adca3`](https://github.com/ljharb/function-bind/commit/27adca34a4ab6ad67b6dfde43942a1b103ce4d75) +- Fixing an issue when the bound function is called as a constructor in ES3. [`e20122d`](https://github.com/ljharb/function-bind/commit/e20122d267d92ce553859b280cbbea5d27c07731) +- Adding `npm run coverage` [`a2e29c4`](https://github.com/ljharb/function-bind/commit/a2e29c4ecaef9e2f6cd1603e868c139073375502) +- Updating tape [`b741168`](https://github.com/ljharb/function-bind/commit/b741168b12b235b1717ff696087645526b69213c) +- Upgrading tape [`63631a0`](https://github.com/ljharb/function-bind/commit/63631a04c7fbe97cc2fa61829cc27246d6986f74) +- Updating tape [`363cb46`](https://github.com/ljharb/function-bind/commit/363cb46dafb23cb3e347729a22f9448051d78464) + +## v0.2.0 - 2014-03-23 + +### Commits + +- Updating test coverage to match es5-shim. [`aa94d44`](https://github.com/ljharb/function-bind/commit/aa94d44b8f9d7f69f10e060db7709aa7a694e5d4) +- initial [`942ee07`](https://github.com/ljharb/function-bind/commit/942ee07e94e542d91798137bc4b80b926137e066) +- Setting the bound function's length properly. [`079f46a`](https://github.com/ljharb/function-bind/commit/079f46a2d3515b7c0b308c2c13fceb641f97ca25) +- Ensuring that some older browsers will throw when given a regex. [`36ac55b`](https://github.com/ljharb/function-bind/commit/36ac55b87f460d4330253c92870aa26fbfe8227f) +- Removing npm scripts that don't have dependencies [`9d2be60`](https://github.com/ljharb/function-bind/commit/9d2be600002cb8bc8606f8f3585ad3e05868c750) +- Updating tape [`297a4ac`](https://github.com/ljharb/function-bind/commit/297a4acc5464db381940aafb194d1c88f4e678f3) +- Skipping length tests for now. [`d9891ea`](https://github.com/ljharb/function-bind/commit/d9891ea4d2aaffa69f408339cdd61ff740f70565) +- don't take my tea [`dccd930`](https://github.com/ljharb/function-bind/commit/dccd930bfd60ea10cb178d28c97550c3bc8c1e07) diff --git a/Lombiq.EInvoiceValidator/node_modules/function-bind/LICENSE b/Lombiq.EInvoiceValidator/node_modules/function-bind/LICENSE new file mode 100644 index 0000000..62d6d23 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/function-bind/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2013 Raynos. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/Lombiq.EInvoiceValidator/node_modules/function-bind/README.md b/Lombiq.EInvoiceValidator/node_modules/function-bind/README.md new file mode 100644 index 0000000..814c20b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/function-bind/README.md @@ -0,0 +1,46 @@ +# function-bind [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] + +[![dependency status][deps-svg]][deps-url] +[![dev dependency status][dev-deps-svg]][dev-deps-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +Implementation of function.prototype.bind + +Old versions of phantomjs, Internet Explorer < 9, and node < 0.6 don't support `Function.prototype.bind`. + +## Example + +```js +Function.prototype.bind = require("function-bind") +``` + +## Installation + +`npm install function-bind` + +## Contributors + + - Raynos + +## MIT Licenced + +[package-url]: https://npmjs.org/package/function-bind +[npm-version-svg]: https://versionbadg.es/Raynos/function-bind.svg +[deps-svg]: https://david-dm.org/Raynos/function-bind.svg +[deps-url]: https://david-dm.org/Raynos/function-bind +[dev-deps-svg]: https://david-dm.org/Raynos/function-bind/dev-status.svg +[dev-deps-url]: https://david-dm.org/Raynos/function-bind#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/function-bind.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/function-bind.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/function-bind.svg +[downloads-url]: https://npm-stat.com/charts.html?package=function-bind +[codecov-image]: https://codecov.io/gh/Raynos/function-bind/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/Raynos/function-bind/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/Raynos/function-bind +[actions-url]: https://github.com/Raynos/function-bind/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.js b/Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.js new file mode 100644 index 0000000..fd4384c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.js @@ -0,0 +1,84 @@ +'use strict'; + +/* eslint no-invalid-this: 1 */ + +var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; +var toStr = Object.prototype.toString; +var max = Math.max; +var funcType = '[object Function]'; + +var concatty = function concatty(a, b) { + var arr = []; + + for (var i = 0; i < a.length; i += 1) { + arr[i] = a[i]; + } + for (var j = 0; j < b.length; j += 1) { + arr[j + a.length] = b[j]; + } + + return arr; +}; + +var slicy = function slicy(arrLike, offset) { + var arr = []; + for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) { + arr[j] = arrLike[i]; + } + return arr; +}; + +var joiny = function (arr, joiner) { + var str = ''; + for (var i = 0; i < arr.length; i += 1) { + str += arr[i]; + if (i + 1 < arr.length) { + str += joiner; + } + } + return str; +}; + +module.exports = function bind(that) { + var target = this; + if (typeof target !== 'function' || toStr.apply(target) !== funcType) { + throw new TypeError(ERROR_MESSAGE + target); + } + var args = slicy(arguments, 1); + + var bound; + var binder = function () { + if (this instanceof bound) { + var result = target.apply( + this, + concatty(args, arguments) + ); + if (Object(result) === result) { + return result; + } + return this; + } + return target.apply( + that, + concatty(args, arguments) + ); + + }; + + var boundLength = max(0, target.length - args.length); + var boundArgs = []; + for (var i = 0; i < boundLength; i++) { + boundArgs[i] = '$' + i; + } + + bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder); + + if (target.prototype) { + var Empty = function Empty() {}; + Empty.prototype = target.prototype; + bound.prototype = new Empty(); + Empty.prototype = null; + } + + return bound; +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.min.js b/Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.min.js new file mode 100644 index 0000000..0531129 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/function-bind@1.1.2/implementation.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr=Object.prototype.toString,max=Math.max,funcType="[object Function]",concatty=function(t,n){for(var r=[],o=0;o", + "repository": { + "type": "git", + "url": "https://github.com/Raynos/function-bind.git" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "main": "index", + "homepage": "https://github.com/Raynos/function-bind", + "contributors": [ + { + "name": "Raynos" + }, + { + "name": "Jordan Harband", + "url": "https://github.com/ljharb" + } + ], + "bugs": { + "url": "https://github.com/Raynos/function-bind/issues", + "email": "raynos2@gmail.com" + }, + "devDependencies": { + "@ljharb/eslint-config": "^21.1.0", + "aud": "^2.0.3", + "auto-changelog": "^2.4.0", + "eslint": "=8.8.0", + "in-publish": "^2.0.1", + "npmignore": "^0.3.0", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.7.1" + }, + "license": "MIT", + "scripts": { + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepack": "npmignore --auto --commentLines=autogenerated", + "pretest": "npm run lint", + "test": "npm run tests-only", + "posttest": "aud --production", + "tests-only": "nyc tape 'test/**/*.js'", + "lint": "eslint --ext=js,mjs .", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "testling": { + "files": "test/index.js", + "browsers": [ + "ie/8..latest", + "firefox/16..latest", + "firefox/nightly", + "chrome/22..latest", + "chrome/canary", + "opera/12..latest", + "opera/next", + "safari/5.1..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2..latest" + ] + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.js b/Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.js new file mode 100644 index 0000000..2edecce --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.js @@ -0,0 +1,252 @@ +// jscs:disable requireUseStrict + +var test = require('tape'); + +var functionBind = require('../implementation'); +var getCurrentContext = function () { return this; }; + +test('functionBind is a function', function (t) { + t.equal(typeof functionBind, 'function'); + t.end(); +}); + +test('non-functions', function (t) { + var nonFunctions = [true, false, [], {}, 42, 'foo', NaN, /a/g]; + t.plan(nonFunctions.length); + for (var i = 0; i < nonFunctions.length; ++i) { + try { functionBind.call(nonFunctions[i]); } catch (ex) { + t.ok(ex instanceof TypeError, 'throws when given ' + String(nonFunctions[i])); + } + } + t.end(); +}); + +test('without a context', function (t) { + t.test('binds properly', function (st) { + var args, context; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + context = this; + }) + }; + namespace.func(1, 2, 3); + st.deepEqual(args, [1, 2, 3]); + st.equal(context, getCurrentContext.call()); + st.end(); + }); + + t.test('binds properly, and still supplies bound arguments', function (st) { + var args, context; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + context = this; + }, undefined, 1, 2, 3) + }; + namespace.func(4, 5, 6); + st.deepEqual(args, [1, 2, 3, 4, 5, 6]); + st.equal(context, getCurrentContext.call()); + st.end(); + }); + + t.test('returns properly', function (st) { + var args; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + return this; + }, null) + }; + var context = namespace.func(1, 2, 3); + st.equal(context, getCurrentContext.call(), 'returned context is namespaced context'); + st.deepEqual(args, [1, 2, 3], 'passed arguments are correct'); + st.end(); + }); + + t.test('returns properly with bound arguments', function (st) { + var args; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + return this; + }, null, 1, 2, 3) + }; + var context = namespace.func(4, 5, 6); + st.equal(context, getCurrentContext.call(), 'returned context is namespaced context'); + st.deepEqual(args, [1, 2, 3, 4, 5, 6], 'passed arguments are correct'); + st.end(); + }); + + t.test('called as a constructor', function (st) { + var thunkify = function (value) { + return function () { return value; }; + }; + st.test('returns object value', function (sst) { + var expectedReturnValue = [1, 2, 3]; + var Constructor = functionBind.call(thunkify(expectedReturnValue), null); + var result = new Constructor(); + sst.equal(result, expectedReturnValue); + sst.end(); + }); + + st.test('does not return primitive value', function (sst) { + var Constructor = functionBind.call(thunkify(42), null); + var result = new Constructor(); + sst.notEqual(result, 42); + sst.end(); + }); + + st.test('object from bound constructor is instance of original and bound constructor', function (sst) { + var A = function (x) { + this.name = x || 'A'; + }; + var B = functionBind.call(A, null, 'B'); + + var result = new B(); + sst.ok(result instanceof B, 'result is instance of bound constructor'); + sst.ok(result instanceof A, 'result is instance of original constructor'); + sst.end(); + }); + + st.end(); + }); + + t.end(); +}); + +test('with a context', function (t) { + t.test('with no bound arguments', function (st) { + var args, context; + var boundContext = {}; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + context = this; + }, boundContext) + }; + namespace.func(1, 2, 3); + st.equal(context, boundContext, 'binds a context properly'); + st.deepEqual(args, [1, 2, 3], 'supplies passed arguments'); + st.end(); + }); + + t.test('with bound arguments', function (st) { + var args, context; + var boundContext = {}; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + context = this; + }, boundContext, 1, 2, 3) + }; + namespace.func(4, 5, 6); + st.equal(context, boundContext, 'binds a context properly'); + st.deepEqual(args, [1, 2, 3, 4, 5, 6], 'supplies bound and passed arguments'); + st.end(); + }); + + t.test('returns properly', function (st) { + var boundContext = {}; + var args; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + return this; + }, boundContext) + }; + var context = namespace.func(1, 2, 3); + st.equal(context, boundContext, 'returned context is bound context'); + st.notEqual(context, getCurrentContext.call(), 'returned context is not lexical context'); + st.deepEqual(args, [1, 2, 3], 'passed arguments are correct'); + st.end(); + }); + + t.test('returns properly with bound arguments', function (st) { + var boundContext = {}; + var args; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + return this; + }, boundContext, 1, 2, 3) + }; + var context = namespace.func(4, 5, 6); + st.equal(context, boundContext, 'returned context is bound context'); + st.notEqual(context, getCurrentContext.call(), 'returned context is not lexical context'); + st.deepEqual(args, [1, 2, 3, 4, 5, 6], 'passed arguments are correct'); + st.end(); + }); + + t.test('passes the correct arguments when called as a constructor', function (st) { + var expected = { name: 'Correct' }; + var namespace = { + Func: functionBind.call(function (arg) { + return arg; + }, { name: 'Incorrect' }) + }; + var returned = new namespace.Func(expected); + st.equal(returned, expected, 'returns the right arg when called as a constructor'); + st.end(); + }); + + t.test('has the new instance\'s context when called as a constructor', function (st) { + var actualContext; + var expectedContext = { foo: 'bar' }; + var namespace = { + Func: functionBind.call(function () { + actualContext = this; + }, expectedContext) + }; + var result = new namespace.Func(); + st.equal(result instanceof namespace.Func, true); + st.notEqual(actualContext, expectedContext); + st.end(); + }); + + t.end(); +}); + +test('bound function length', function (t) { + t.test('sets a correct length without thisArg', function (st) { + var subject = functionBind.call(function (a, b, c) { return a + b + c; }); + st.equal(subject.length, 3); + st.equal(subject(1, 2, 3), 6); + st.end(); + }); + + t.test('sets a correct length with thisArg', function (st) { + var subject = functionBind.call(function (a, b, c) { return a + b + c; }, {}); + st.equal(subject.length, 3); + st.equal(subject(1, 2, 3), 6); + st.end(); + }); + + t.test('sets a correct length without thisArg and first argument', function (st) { + var subject = functionBind.call(function (a, b, c) { return a + b + c; }, undefined, 1); + st.equal(subject.length, 2); + st.equal(subject(2, 3), 6); + st.end(); + }); + + t.test('sets a correct length with thisArg and first argument', function (st) { + var subject = functionBind.call(function (a, b, c) { return a + b + c; }, {}, 1); + st.equal(subject.length, 2); + st.equal(subject(2, 3), 6); + st.end(); + }); + + t.test('sets a correct length without thisArg and too many arguments', function (st) { + var subject = functionBind.call(function (a, b, c) { return a + b + c; }, undefined, 1, 2, 3, 4); + st.equal(subject.length, 0); + st.equal(subject(), 6); + st.end(); + }); + + t.test('sets a correct length with thisArg and too many arguments', function (st) { + var subject = functionBind.call(function (a, b, c) { return a + b + c; }, {}, 1, 2, 3, 4); + st.equal(subject.length, 0); + st.equal(subject(), 6); + st.end(); + }); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.min.js new file mode 100644 index 0000000..ba45c32 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/function-bind@1.1.2/test/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var test=require("tape"),functionBind=require("../implementation"),getCurrentContext=function(){return this};test("functionBind is a function",(function(n){n.equal(typeof functionBind,"function"),n.end()})),test("non-functions",(function(n){var t=[!0,!1,[],{},42,"foo",NaN,/a/g];n.plan(t.length);for(var e=0;e[![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![dependency status][deps-svg]][deps-url] +[![dev dependency status][dev-deps-svg]][dev-deps-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +Get and robustly cache all JS language-level intrinsics at first require time. + +See the syntax described [in the JS spec](https://tc39.es/ecma262/#sec-well-known-intrinsic-objects) for reference. + +## Example + +```js +var GetIntrinsic = require('get-intrinsic'); +var assert = require('assert'); + +// static methods +assert.equal(GetIntrinsic('%Math.pow%'), Math.pow); +assert.equal(Math.pow(2, 3), 8); +assert.equal(GetIntrinsic('%Math.pow%')(2, 3), 8); +delete Math.pow; +assert.equal(GetIntrinsic('%Math.pow%')(2, 3), 8); + +// instance methods +var arr = [1]; +assert.equal(GetIntrinsic('%Array.prototype.push%'), Array.prototype.push); +assert.deepEqual(arr, [1]); + +arr.push(2); +assert.deepEqual(arr, [1, 2]); + +GetIntrinsic('%Array.prototype.push%').call(arr, 3); +assert.deepEqual(arr, [1, 2, 3]); + +delete Array.prototype.push; +GetIntrinsic('%Array.prototype.push%').call(arr, 4); +assert.deepEqual(arr, [1, 2, 3, 4]); + +// missing features +delete JSON.parse; // to simulate a real intrinsic that is missing in the environment +assert.throws(() => GetIntrinsic('%JSON.parse%')); +assert.equal(undefined, GetIntrinsic('%JSON.parse%', true)); +``` + +## Tests +Simply clone the repo, `npm install`, and run `npm test` + +## Security + +Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. + +[package-url]: https://npmjs.org/package/get-intrinsic +[npm-version-svg]: https://versionbadg.es/ljharb/get-intrinsic.svg +[deps-svg]: https://david-dm.org/ljharb/get-intrinsic.svg +[deps-url]: https://david-dm.org/ljharb/get-intrinsic +[dev-deps-svg]: https://david-dm.org/ljharb/get-intrinsic/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/get-intrinsic#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/get-intrinsic.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/get-intrinsic.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/get-intrinsic.svg +[downloads-url]: https://npm-stat.com/charts.html?package=get-intrinsic +[codecov-image]: https://codecov.io/gh/ljharb/get-intrinsic/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/get-intrinsic/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/get-intrinsic +[actions-url]: https://github.com/ljharb/get-intrinsic/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.js b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.js new file mode 100644 index 0000000..bd1d94b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.js @@ -0,0 +1,378 @@ +'use strict'; + +var undefined; + +var $Object = require('es-object-atoms'); + +var $Error = require('es-errors'); +var $EvalError = require('es-errors/eval'); +var $RangeError = require('es-errors/range'); +var $ReferenceError = require('es-errors/ref'); +var $SyntaxError = require('es-errors/syntax'); +var $TypeError = require('es-errors/type'); +var $URIError = require('es-errors/uri'); + +var abs = require('math-intrinsics/abs'); +var floor = require('math-intrinsics/floor'); +var max = require('math-intrinsics/max'); +var min = require('math-intrinsics/min'); +var pow = require('math-intrinsics/pow'); +var round = require('math-intrinsics/round'); +var sign = require('math-intrinsics/sign'); + +var $Function = Function; + +// eslint-disable-next-line consistent-return +var getEvalledConstructor = function (expressionSyntax) { + try { + return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); + } catch (e) {} +}; + +var $gOPD = require('gopd'); +var $defineProperty = require('es-define-property'); + +var throwTypeError = function () { + throw new $TypeError(); +}; +var ThrowTypeError = $gOPD + ? (function () { + try { + // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties + arguments.callee; // IE 8 does not throw here + return throwTypeError; + } catch (calleeThrows) { + try { + // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') + return $gOPD(arguments, 'callee').get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }()) + : throwTypeError; + +var hasSymbols = require('has-symbols')(); + +var getProto = require('get-proto'); +var $ObjectGPO = require('get-proto/Object.getPrototypeOf'); +var $ReflectGPO = require('get-proto/Reflect.getPrototypeOf'); + +var $apply = require('call-bind-apply-helpers/functionApply'); +var $call = require('call-bind-apply-helpers/functionCall'); + +var needsEval = {}; + +var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array); + +var INTRINSICS = { + __proto__: null, + '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, + '%Array%': Array, + '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, + '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined, + '%AsyncFromSyncIteratorPrototype%': undefined, + '%AsyncFunction%': needsEval, + '%AsyncGenerator%': needsEval, + '%AsyncGeneratorFunction%': needsEval, + '%AsyncIteratorPrototype%': needsEval, + '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, + '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, + '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array, + '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array, + '%Boolean%': Boolean, + '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, + '%Date%': Date, + '%decodeURI%': decodeURI, + '%decodeURIComponent%': decodeURIComponent, + '%encodeURI%': encodeURI, + '%encodeURIComponent%': encodeURIComponent, + '%Error%': $Error, + '%eval%': eval, // eslint-disable-line no-eval + '%EvalError%': $EvalError, + '%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array, + '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, + '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, + '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, + '%Function%': $Function, + '%GeneratorFunction%': needsEval, + '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, + '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, + '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, + '%isFinite%': isFinite, + '%isNaN%': isNaN, + '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined, + '%JSON%': typeof JSON === 'object' ? JSON : undefined, + '%Map%': typeof Map === 'undefined' ? undefined : Map, + '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()), + '%Math%': Math, + '%Number%': Number, + '%Object%': $Object, + '%Object.getOwnPropertyDescriptor%': $gOPD, + '%parseFloat%': parseFloat, + '%parseInt%': parseInt, + '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, + '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, + '%RangeError%': $RangeError, + '%ReferenceError%': $ReferenceError, + '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, + '%RegExp%': RegExp, + '%Set%': typeof Set === 'undefined' ? undefined : Set, + '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()), + '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, + '%String%': String, + '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined, + '%Symbol%': hasSymbols ? Symbol : undefined, + '%SyntaxError%': $SyntaxError, + '%ThrowTypeError%': ThrowTypeError, + '%TypedArray%': TypedArray, + '%TypeError%': $TypeError, + '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, + '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, + '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, + '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, + '%URIError%': $URIError, + '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, + '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, + '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet, + + '%Function.prototype.call%': $call, + '%Function.prototype.apply%': $apply, + '%Object.defineProperty%': $defineProperty, + '%Object.getPrototypeOf%': $ObjectGPO, + '%Math.abs%': abs, + '%Math.floor%': floor, + '%Math.max%': max, + '%Math.min%': min, + '%Math.pow%': pow, + '%Math.round%': round, + '%Math.sign%': sign, + '%Reflect.getPrototypeOf%': $ReflectGPO +}; + +if (getProto) { + try { + null.error; // eslint-disable-line no-unused-expressions + } catch (e) { + // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229 + var errorProto = getProto(getProto(e)); + INTRINSICS['%Error.prototype%'] = errorProto; + } +} + +var doEval = function doEval(name) { + var value; + if (name === '%AsyncFunction%') { + value = getEvalledConstructor('async function () {}'); + } else if (name === '%GeneratorFunction%') { + value = getEvalledConstructor('function* () {}'); + } else if (name === '%AsyncGeneratorFunction%') { + value = getEvalledConstructor('async function* () {}'); + } else if (name === '%AsyncGenerator%') { + var fn = doEval('%AsyncGeneratorFunction%'); + if (fn) { + value = fn.prototype; + } + } else if (name === '%AsyncIteratorPrototype%') { + var gen = doEval('%AsyncGenerator%'); + if (gen && getProto) { + value = getProto(gen.prototype); + } + } + + INTRINSICS[name] = value; + + return value; +}; + +var LEGACY_ALIASES = { + __proto__: null, + '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], + '%ArrayPrototype%': ['Array', 'prototype'], + '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], + '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], + '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], + '%ArrayProto_values%': ['Array', 'prototype', 'values'], + '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], + '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], + '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], + '%BooleanPrototype%': ['Boolean', 'prototype'], + '%DataViewPrototype%': ['DataView', 'prototype'], + '%DatePrototype%': ['Date', 'prototype'], + '%ErrorPrototype%': ['Error', 'prototype'], + '%EvalErrorPrototype%': ['EvalError', 'prototype'], + '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], + '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], + '%FunctionPrototype%': ['Function', 'prototype'], + '%Generator%': ['GeneratorFunction', 'prototype'], + '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], + '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], + '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], + '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], + '%JSONParse%': ['JSON', 'parse'], + '%JSONStringify%': ['JSON', 'stringify'], + '%MapPrototype%': ['Map', 'prototype'], + '%NumberPrototype%': ['Number', 'prototype'], + '%ObjectPrototype%': ['Object', 'prototype'], + '%ObjProto_toString%': ['Object', 'prototype', 'toString'], + '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], + '%PromisePrototype%': ['Promise', 'prototype'], + '%PromiseProto_then%': ['Promise', 'prototype', 'then'], + '%Promise_all%': ['Promise', 'all'], + '%Promise_reject%': ['Promise', 'reject'], + '%Promise_resolve%': ['Promise', 'resolve'], + '%RangeErrorPrototype%': ['RangeError', 'prototype'], + '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], + '%RegExpPrototype%': ['RegExp', 'prototype'], + '%SetPrototype%': ['Set', 'prototype'], + '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], + '%StringPrototype%': ['String', 'prototype'], + '%SymbolPrototype%': ['Symbol', 'prototype'], + '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], + '%TypedArrayPrototype%': ['TypedArray', 'prototype'], + '%TypeErrorPrototype%': ['TypeError', 'prototype'], + '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], + '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], + '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], + '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], + '%URIErrorPrototype%': ['URIError', 'prototype'], + '%WeakMapPrototype%': ['WeakMap', 'prototype'], + '%WeakSetPrototype%': ['WeakSet', 'prototype'] +}; + +var bind = require('function-bind'); +var hasOwn = require('hasown'); +var $concat = bind.call($call, Array.prototype.concat); +var $spliceApply = bind.call($apply, Array.prototype.splice); +var $replace = bind.call($call, String.prototype.replace); +var $strSlice = bind.call($call, String.prototype.slice); +var $exec = bind.call($call, RegExp.prototype.exec); + +/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ +var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; +var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ +var stringToPath = function stringToPath(string) { + var first = $strSlice(string, 0, 1); + var last = $strSlice(string, -1); + if (first === '%' && last !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); + } else if (last === '%' && first !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); + } + var result = []; + $replace(string, rePropName, function (match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; + }); + return result; +}; +/* end adaptation */ + +var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { + var intrinsicName = name; + var alias; + if (hasOwn(LEGACY_ALIASES, intrinsicName)) { + alias = LEGACY_ALIASES[intrinsicName]; + intrinsicName = '%' + alias[0] + '%'; + } + + if (hasOwn(INTRINSICS, intrinsicName)) { + var value = INTRINSICS[intrinsicName]; + if (value === needsEval) { + value = doEval(intrinsicName); + } + if (typeof value === 'undefined' && !allowMissing) { + throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); + } + + return { + alias: alias, + name: intrinsicName, + value: value + }; + } + + throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); +}; + +module.exports = function GetIntrinsic(name, allowMissing) { + if (typeof name !== 'string' || name.length === 0) { + throw new $TypeError('intrinsic name must be a non-empty string'); + } + if (arguments.length > 1 && typeof allowMissing !== 'boolean') { + throw new $TypeError('"allowMissing" argument must be a boolean'); + } + + if ($exec(/^%?[^%]*%?$/, name) === null) { + throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); + } + var parts = stringToPath(name); + var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; + + var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); + var intrinsicRealName = intrinsic.name; + var value = intrinsic.value; + var skipFurtherCaching = false; + + var alias = intrinsic.alias; + if (alias) { + intrinsicBaseName = alias[0]; + $spliceApply(parts, $concat([0, 1], alias)); + } + + for (var i = 1, isOwn = true; i < parts.length; i += 1) { + var part = parts[i]; + var first = $strSlice(part, 0, 1); + var last = $strSlice(part, -1); + if ( + ( + (first === '"' || first === "'" || first === '`') + || (last === '"' || last === "'" || last === '`') + ) + && first !== last + ) { + throw new $SyntaxError('property names with quotes must have matching quotes'); + } + if (part === 'constructor' || !isOwn) { + skipFurtherCaching = true; + } + + intrinsicBaseName += '.' + part; + intrinsicRealName = '%' + intrinsicBaseName + '%'; + + if (hasOwn(INTRINSICS, intrinsicRealName)) { + value = INTRINSICS[intrinsicRealName]; + } else if (value != null) { + if (!(part in value)) { + if (!allowMissing) { + throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); + } + return void undefined; + } + if ($gOPD && (i + 1) >= parts.length) { + var desc = $gOPD(value, part); + isOwn = !!desc; + + // By convention, when a data property is converted to an accessor + // property to emulate a data property that does not suffer from + // the override mistake, that accessor's getter is marked with + // an `originalValue` property. Here, when we detect this, we + // uphold the illusion by pretending to see that original data + // property, i.e., returning the value rather than the getter + // itself. + if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { + value = desc.get; + } else { + value = value[part]; + } + } else { + isOwn = hasOwn(value, part); + value = value[part]; + } + + if (isOwn && !skipFurtherCaching) { + INTRINSICS[intrinsicRealName] = value; + } + } + } + return value; +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.min.js b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.min.js new file mode 100644 index 0000000..efd54ce --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.37.0. + * Original file: /npm/get-intrinsic@1.3.0/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var undefined,$Object=require("es-object-atoms"),$Error=require("es-errors"),$EvalError=require("es-errors/eval"),$RangeError=require("es-errors/range"),$ReferenceError=require("es-errors/ref"),$SyntaxError=require("es-errors/syntax"),$TypeError=require("es-errors/type"),$URIError=require("es-errors/uri"),abs=require("math-intrinsics/abs"),floor=require("math-intrinsics/floor"),max=require("math-intrinsics/max"),min=require("math-intrinsics/min"),pow=require("math-intrinsics/pow"),round=require("math-intrinsics/round"),sign=require("math-intrinsics/sign"),$Function=Function,getEvalledConstructor=function(r){try{return $Function('"use strict"; return ('+r+").constructor;")()}catch(r){}},$gOPD=require("gopd"),$defineProperty=require("es-define-property"),throwTypeError=function(){throw new $TypeError},ThrowTypeError=$gOPD?function(){try{return throwTypeError}catch(r){try{return $gOPD(arguments,"callee").get}catch(r){return throwTypeError}}}():throwTypeError,hasSymbols=require("has-symbols")(),getProto=require("get-proto"),$ObjectGPO=require("get-proto/Object.getPrototypeOf"),$ReflectGPO=require("get-proto/Reflect.getPrototypeOf"),$apply=require("call-bind-apply-helpers/functionApply"),$call=require("call-bind-apply-helpers/functionCall"),needsEval={},TypedArray="undefined"!=typeof Uint8Array&&getProto?getProto(Uint8Array):undefined,INTRINSICS={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":"undefined"==typeof Atomics?undefined:Atomics,"%BigInt%":"undefined"==typeof BigInt?undefined:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?undefined:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?undefined:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float16Array%":"undefined"==typeof Float16Array?undefined:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?undefined:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?undefined:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":"undefined"==typeof Int8Array?undefined:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?undefined:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":"undefined"==typeof Map?undefined:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hasSymbols&&getProto?getProto((new Map)[Symbol.iterator]()):undefined,"%Math%":Math,"%Number%":Number,"%Object%":$Object,"%Object.getOwnPropertyDescriptor%":$gOPD,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?undefined:Promise,"%Proxy%":"undefined"==typeof Proxy?undefined:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":"undefined"==typeof Reflect?undefined:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?undefined:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hasSymbols&&getProto?getProto((new Set)[Symbol.iterator]()):undefined,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":"undefined"==typeof Uint8Array?undefined:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?undefined:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?undefined:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?undefined:Uint32Array,"%URIError%":$URIError,"%WeakMap%":"undefined"==typeof WeakMap?undefined:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?undefined:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?undefined:WeakSet,"%Function.prototype.call%":$call,"%Function.prototype.apply%":$apply,"%Object.defineProperty%":$defineProperty,"%Object.getPrototypeOf%":$ObjectGPO,"%Math.abs%":abs,"%Math.floor%":floor,"%Math.max%":max,"%Math.min%":min,"%Math.pow%":pow,"%Math.round%":round,"%Math.sign%":sign,"%Reflect.getPrototypeOf%":$ReflectGPO};if(getProto)try{null.error}catch(r){var errorProto=getProto(getProto(r));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function r(e){var t;if("%AsyncFunction%"===e)t=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===e)t=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===e)t=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===e){var o=r("%AsyncGeneratorFunction%");o&&(t=o.prototype)}else if("%AsyncIteratorPrototype%"===e){var n=r("%AsyncGenerator%");n&&getProto&&(t=getProto(n.prototype))}return INTRINSICS[e]=t,t},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=require("function-bind"),hasOwn=require("hasown"),$concat=bind.call($call,Array.prototype.concat),$spliceApply=bind.call($apply,Array.prototype.splice),$replace=bind.call($call,String.prototype.replace),$strSlice=bind.call($call,String.prototype.slice),$exec=bind.call($call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(r){var e=$strSlice(r,0,1),t=$strSlice(r,-1);if("%"===e&&"%"!==t)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===t&&"%"!==e)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var o=[];return $replace(r,rePropName,(function(r,e,t,n){o[o.length]=t?$replace(n,reEscapeChar,"$1"):e||r})),o},getBaseIntrinsic=function(r,e){var t,o=r;if(hasOwn(LEGACY_ALIASES,o)&&(o="%"+(t=LEGACY_ALIASES[o])[0]+"%"),hasOwn(INTRINSICS,o)){var n=INTRINSICS[o];if(n===needsEval&&(n=doEval(o)),void 0===n&&!e)throw new $TypeError("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:t,name:o,value:n}}throw new $SyntaxError("intrinsic "+r+" does not exist!")};module.exports=function(r,e){if("string"!=typeof r||0===r.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new $TypeError('"allowMissing" argument must be a boolean');if(null===$exec(/^%?[^%]*%?$/,r))throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=stringToPath(r),o=t.length>0?t[0]:"",n=getBaseIntrinsic("%"+o+"%",e),a=n.name,i=n.value,y=!1,p=n.alias;p&&(o=p[0],$spliceApply(t,$concat([0,1],p)));for(var d=1,s=!0;d=t.length){var c=$gOPD(i,f);i=(s=!!c)&&"get"in c&&!("originalValue"in c.get)?c.get:i[f]}else s=hasOwn(i,f),i=i[f];s&&!y&&(INTRINSICS[a]=i)}}return i}; +//# sourceMappingURL=/sm/59d120b2359f5a4d4dce4a995b01ebd150a9589c184bc9b0cb830569facf94ee.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/package.json b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/package.json new file mode 100644 index 0000000..2828e73 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/package.json @@ -0,0 +1,97 @@ +{ + "name": "get-intrinsic", + "version": "1.3.0", + "description": "Get and robustly cache all JS language-level intrinsics at first require time", + "main": "index.js", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint --ext=.js,.mjs .", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>= 10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/get-intrinsic.git" + }, + "keywords": [ + "javascript", + "ecmascript", + "es", + "js", + "intrinsic", + "getintrinsic", + "es-abstract" + ], + "author": "Jordan Harband ", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/get-intrinsic/issues" + }, + "homepage": "https://github.com/ljharb/get-intrinsic#readme", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "devDependencies": { + "@ljharb/eslint-config": "^21.1.1", + "auto-changelog": "^2.5.0", + "call-bound": "^1.0.3", + "encoding": "^0.1.13", + "es-abstract": "^1.23.9", + "es-value-fixtures": "^1.7.1", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "for-each": "^0.3.5", + "make-async-function": "^1.0.0", + "make-async-generator-function": "^1.0.0", + "make-generator-function": "^2.0.0", + "mock-property": "^1.1.0", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "object-inspect": "^1.13.4", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "testling": { + "files": "test/GetIntrinsic.js" + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.js b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.js new file mode 100644 index 0000000..d9c0f30 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.js @@ -0,0 +1,274 @@ +'use strict'; + +var GetIntrinsic = require('../'); + +var test = require('tape'); +var forEach = require('for-each'); +var debug = require('object-inspect'); +var generatorFns = require('make-generator-function')(); +var asyncFns = require('make-async-function').list(); +var asyncGenFns = require('make-async-generator-function')(); +var mockProperty = require('mock-property'); + +var callBound = require('call-bound'); +var v = require('es-value-fixtures'); +var $gOPD = require('gopd'); +var DefinePropertyOrThrow = require('es-abstract/2023/DefinePropertyOrThrow'); + +var $isProto = callBound('%Object.prototype.isPrototypeOf%'); + +test('export', function (t) { + t.equal(typeof GetIntrinsic, 'function', 'it is a function'); + t.equal(GetIntrinsic.length, 2, 'function has length of 2'); + + t.end(); +}); + +test('throws', function (t) { + t['throws']( + function () { GetIntrinsic('not an intrinsic'); }, + SyntaxError, + 'nonexistent intrinsic throws a syntax error' + ); + + t['throws']( + function () { GetIntrinsic(''); }, + TypeError, + 'empty string intrinsic throws a type error' + ); + + t['throws']( + function () { GetIntrinsic('.'); }, + SyntaxError, + '"just a dot" intrinsic throws a syntax error' + ); + + t['throws']( + function () { GetIntrinsic('%String'); }, + SyntaxError, + 'Leading % without trailing % throws a syntax error' + ); + + t['throws']( + function () { GetIntrinsic('String%'); }, + SyntaxError, + 'Trailing % without leading % throws a syntax error' + ); + + t['throws']( + function () { GetIntrinsic("String['prototype]"); }, + SyntaxError, + 'Dynamic property access is disallowed for intrinsics (unterminated string)' + ); + + t['throws']( + function () { GetIntrinsic('%Proxy.prototype.undefined%'); }, + TypeError, + "Throws when middle part doesn't exist (%Proxy.prototype.undefined%)" + ); + + t['throws']( + function () { GetIntrinsic('%Array.prototype%garbage%'); }, + SyntaxError, + 'Throws with extra percent signs' + ); + + t['throws']( + function () { GetIntrinsic('%Array.prototype%push%'); }, + SyntaxError, + 'Throws with extra percent signs, even on an existing intrinsic' + ); + + forEach(v.nonStrings, function (nonString) { + t['throws']( + function () { GetIntrinsic(nonString); }, + TypeError, + debug(nonString) + ' is not a String' + ); + }); + + forEach(v.nonBooleans, function (nonBoolean) { + t['throws']( + function () { GetIntrinsic('%', nonBoolean); }, + TypeError, + debug(nonBoolean) + ' is not a Boolean' + ); + }); + + forEach([ + 'toString', + 'propertyIsEnumerable', + 'hasOwnProperty' + ], function (objectProtoMember) { + t['throws']( + function () { GetIntrinsic(objectProtoMember); }, + SyntaxError, + debug(objectProtoMember) + ' is not an intrinsic' + ); + }); + + t.end(); +}); + +test('base intrinsics', function (t) { + t.equal(GetIntrinsic('%Object%'), Object, '%Object% yields Object'); + t.equal(GetIntrinsic('Object'), Object, 'Object yields Object'); + t.equal(GetIntrinsic('%Array%'), Array, '%Array% yields Array'); + t.equal(GetIntrinsic('Array'), Array, 'Array yields Array'); + + t.end(); +}); + +test('dotted paths', function (t) { + t.equal(GetIntrinsic('%Object.prototype.toString%'), Object.prototype.toString, '%Object.prototype.toString% yields Object.prototype.toString'); + t.equal(GetIntrinsic('Object.prototype.toString'), Object.prototype.toString, 'Object.prototype.toString yields Object.prototype.toString'); + t.equal(GetIntrinsic('%Array.prototype.push%'), Array.prototype.push, '%Array.prototype.push% yields Array.prototype.push'); + t.equal(GetIntrinsic('Array.prototype.push'), Array.prototype.push, 'Array.prototype.push yields Array.prototype.push'); + + test('underscore paths are aliases for dotted paths', { skip: !Object.isFrozen || Object.isFrozen(Object.prototype) }, function (st) { + var original = GetIntrinsic('%ObjProto_toString%'); + + forEach([ + '%Object.prototype.toString%', + 'Object.prototype.toString', + '%ObjectPrototype.toString%', + 'ObjectPrototype.toString', + '%ObjProto_toString%', + 'ObjProto_toString' + ], function (name) { + DefinePropertyOrThrow(Object.prototype, 'toString', { + '[[Value]]': function toString() { + return original.apply(this, arguments); + } + }); + st.equal(GetIntrinsic(name), original, name + ' yields original Object.prototype.toString'); + }); + + DefinePropertyOrThrow(Object.prototype, 'toString', { '[[Value]]': original }); + st.end(); + }); + + test('dotted paths cache', { skip: !Object.isFrozen || Object.isFrozen(Object.prototype) }, function (st) { + var original = GetIntrinsic('%Object.prototype.propertyIsEnumerable%'); + + forEach([ + '%Object.prototype.propertyIsEnumerable%', + 'Object.prototype.propertyIsEnumerable', + '%ObjectPrototype.propertyIsEnumerable%', + 'ObjectPrototype.propertyIsEnumerable' + ], function (name) { + var restore = mockProperty(Object.prototype, 'propertyIsEnumerable', { + value: function propertyIsEnumerable() { + return original.apply(this, arguments); + } + }); + st.equal(GetIntrinsic(name), original, name + ' yields cached Object.prototype.propertyIsEnumerable'); + + restore(); + }); + + st.end(); + }); + + test('dotted path reports correct error', function (st) { + st['throws'](function () { + GetIntrinsic('%NonExistentIntrinsic.prototype.property%'); + }, /%NonExistentIntrinsic%/, 'The base intrinsic of %NonExistentIntrinsic.prototype.property% is %NonExistentIntrinsic%'); + + st['throws'](function () { + GetIntrinsic('%NonExistentIntrinsicPrototype.property%'); + }, /%NonExistentIntrinsicPrototype%/, 'The base intrinsic of %NonExistentIntrinsicPrototype.property% is %NonExistentIntrinsicPrototype%'); + + st.end(); + }); + + t.end(); +}); + +test('accessors', { skip: !$gOPD || typeof Map !== 'function' }, function (t) { + var actual = $gOPD(Map.prototype, 'size'); + t.ok(actual, 'Map.prototype.size has a descriptor'); + t.equal(typeof actual.get, 'function', 'Map.prototype.size has a getter function'); + t.equal(GetIntrinsic('%Map.prototype.size%'), actual.get, '%Map.prototype.size% yields the getter for it'); + t.equal(GetIntrinsic('Map.prototype.size'), actual.get, 'Map.prototype.size yields the getter for it'); + + t.end(); +}); + +test('generator functions', { skip: !generatorFns.length }, function (t) { + var $GeneratorFunction = GetIntrinsic('%GeneratorFunction%'); + var $GeneratorFunctionPrototype = GetIntrinsic('%Generator%'); + var $GeneratorPrototype = GetIntrinsic('%GeneratorPrototype%'); + + forEach(generatorFns, function (genFn) { + var fnName = genFn.name; + fnName = fnName ? "'" + fnName + "'" : 'genFn'; + + t.ok(genFn instanceof $GeneratorFunction, fnName + ' instanceof %GeneratorFunction%'); + t.ok($isProto($GeneratorFunctionPrototype, genFn), '%Generator% is prototype of ' + fnName); + t.ok($isProto($GeneratorPrototype, genFn.prototype), '%GeneratorPrototype% is prototype of ' + fnName + '.prototype'); + }); + + t.end(); +}); + +test('async functions', { skip: !asyncFns.length }, function (t) { + var $AsyncFunction = GetIntrinsic('%AsyncFunction%'); + var $AsyncFunctionPrototype = GetIntrinsic('%AsyncFunctionPrototype%'); + + forEach(asyncFns, function (asyncFn) { + var fnName = asyncFn.name; + fnName = fnName ? "'" + fnName + "'" : 'asyncFn'; + + t.ok(asyncFn instanceof $AsyncFunction, fnName + ' instanceof %AsyncFunction%'); + t.ok($isProto($AsyncFunctionPrototype, asyncFn), '%AsyncFunctionPrototype% is prototype of ' + fnName); + }); + + t.end(); +}); + +test('async generator functions', { skip: asyncGenFns.length === 0 }, function (t) { + var $AsyncGeneratorFunction = GetIntrinsic('%AsyncGeneratorFunction%'); + var $AsyncGeneratorFunctionPrototype = GetIntrinsic('%AsyncGenerator%'); + var $AsyncGeneratorPrototype = GetIntrinsic('%AsyncGeneratorPrototype%'); + + forEach(asyncGenFns, function (asyncGenFn) { + var fnName = asyncGenFn.name; + fnName = fnName ? "'" + fnName + "'" : 'asyncGenFn'; + + t.ok(asyncGenFn instanceof $AsyncGeneratorFunction, fnName + ' instanceof %AsyncGeneratorFunction%'); + t.ok($isProto($AsyncGeneratorFunctionPrototype, asyncGenFn), '%AsyncGenerator% is prototype of ' + fnName); + t.ok($isProto($AsyncGeneratorPrototype, asyncGenFn.prototype), '%AsyncGeneratorPrototype% is prototype of ' + fnName + '.prototype'); + }); + + t.end(); +}); + +test('%ThrowTypeError%', function (t) { + var $ThrowTypeError = GetIntrinsic('%ThrowTypeError%'); + + t.equal(typeof $ThrowTypeError, 'function', 'is a function'); + t['throws']( + $ThrowTypeError, + TypeError, + '%ThrowTypeError% throws a TypeError' + ); + + t.end(); +}); + +test('allowMissing', { skip: asyncGenFns.length > 0 }, function (t) { + t['throws']( + function () { GetIntrinsic('%AsyncGeneratorPrototype%'); }, + TypeError, + 'throws when missing' + ); + + t.equal( + GetIntrinsic('%AsyncGeneratorPrototype%', true), + undefined, + 'does not throw when allowMissing' + ); + + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.min.js b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.min.js new file mode 100644 index 0000000..ab8b4f9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/get-intrinsic@1.3.0/test/GetIntrinsic.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var GetIntrinsic=require("../"),test=require("tape"),forEach=require("for-each"),debug=require("object-inspect"),generatorFns=require("make-generator-function")(),asyncFns=require("make-async-function").list(),asyncGenFns=require("make-async-generator-function")(),mockProperty=require("mock-property"),callBound=require("call-bound"),v=require("es-value-fixtures"),$gOPD=require("gopd"),DefinePropertyOrThrow=require("es-abstract/2023/DefinePropertyOrThrow"),$isProto=callBound("%Object.prototype.isPrototypeOf%");test("export",(function(t){t.equal(typeof GetIntrinsic,"function","it is a function"),t.equal(GetIntrinsic.length,2,"function has length of 2"),t.end()})),test("throws",(function(t){t.throws((function(){GetIntrinsic("not an intrinsic")}),SyntaxError,"nonexistent intrinsic throws a syntax error"),t.throws((function(){GetIntrinsic("")}),TypeError,"empty string intrinsic throws a type error"),t.throws((function(){GetIntrinsic(".")}),SyntaxError,'"just a dot" intrinsic throws a syntax error'),t.throws((function(){GetIntrinsic("%String")}),SyntaxError,"Leading % without trailing % throws a syntax error"),t.throws((function(){GetIntrinsic("String%")}),SyntaxError,"Trailing % without leading % throws a syntax error"),t.throws((function(){GetIntrinsic("String['prototype]")}),SyntaxError,"Dynamic property access is disallowed for intrinsics (unterminated string)"),t.throws((function(){GetIntrinsic("%Proxy.prototype.undefined%")}),TypeError,"Throws when middle part doesn't exist (%Proxy.prototype.undefined%)"),t.throws((function(){GetIntrinsic("%Array.prototype%garbage%")}),SyntaxError,"Throws with extra percent signs"),t.throws((function(){GetIntrinsic("%Array.prototype%push%")}),SyntaxError,"Throws with extra percent signs, even on an existing intrinsic"),forEach(v.nonStrings,(function(r){t.throws((function(){GetIntrinsic(r)}),TypeError,debug(r)+" is not a String")})),forEach(v.nonBooleans,(function(r){t.throws((function(){GetIntrinsic("%",r)}),TypeError,debug(r)+" is not a Boolean")})),forEach(["toString","propertyIsEnumerable","hasOwnProperty"],(function(r){t.throws((function(){GetIntrinsic(r)}),SyntaxError,debug(r)+" is not an intrinsic")})),t.end()})),test("base intrinsics",(function(t){t.equal(GetIntrinsic("%Object%"),Object,"%Object% yields Object"),t.equal(GetIntrinsic("Object"),Object,"Object yields Object"),t.equal(GetIntrinsic("%Array%"),Array,"%Array% yields Array"),t.equal(GetIntrinsic("Array"),Array,"Array yields Array"),t.end()})),test("dotted paths",(function(t){t.equal(GetIntrinsic("%Object.prototype.toString%"),Object.prototype.toString,"%Object.prototype.toString% yields Object.prototype.toString"),t.equal(GetIntrinsic("Object.prototype.toString"),Object.prototype.toString,"Object.prototype.toString yields Object.prototype.toString"),t.equal(GetIntrinsic("%Array.prototype.push%"),Array.prototype.push,"%Array.prototype.push% yields Array.prototype.push"),t.equal(GetIntrinsic("Array.prototype.push"),Array.prototype.push,"Array.prototype.push yields Array.prototype.push"),test("underscore paths are aliases for dotted paths",{skip:!Object.isFrozen||Object.isFrozen(Object.prototype)},(function(t){var r=GetIntrinsic("%ObjProto_toString%");forEach(["%Object.prototype.toString%","Object.prototype.toString","%ObjectPrototype.toString%","ObjectPrototype.toString","%ObjProto_toString%","ObjProto_toString"],(function(e){DefinePropertyOrThrow(Object.prototype,"toString",{"[[Value]]":function(){return r.apply(this,arguments)}}),t.equal(GetIntrinsic(e),r,e+" yields original Object.prototype.toString")})),DefinePropertyOrThrow(Object.prototype,"toString",{"[[Value]]":r}),t.end()})),test("dotted paths cache",{skip:!Object.isFrozen||Object.isFrozen(Object.prototype)},(function(t){var r=GetIntrinsic("%Object.prototype.propertyIsEnumerable%");forEach(["%Object.prototype.propertyIsEnumerable%","Object.prototype.propertyIsEnumerable","%ObjectPrototype.propertyIsEnumerable%","ObjectPrototype.propertyIsEnumerable"],(function(e){var n=mockProperty(Object.prototype,"propertyIsEnumerable",{value:function(){return r.apply(this,arguments)}});t.equal(GetIntrinsic(e),r,e+" yields cached Object.prototype.propertyIsEnumerable"),n()})),t.end()})),test("dotted path reports correct error",(function(t){t.throws((function(){GetIntrinsic("%NonExistentIntrinsic.prototype.property%")}),/%NonExistentIntrinsic%/,"The base intrinsic of %NonExistentIntrinsic.prototype.property% is %NonExistentIntrinsic%"),t.throws((function(){GetIntrinsic("%NonExistentIntrinsicPrototype.property%")}),/%NonExistentIntrinsicPrototype%/,"The base intrinsic of %NonExistentIntrinsicPrototype.property% is %NonExistentIntrinsicPrototype%"),t.end()})),t.end()})),test("accessors",{skip:!$gOPD||"function"!=typeof Map},(function(t){var r=$gOPD(Map.prototype,"size");t.ok(r,"Map.prototype.size has a descriptor"),t.equal(typeof r.get,"function","Map.prototype.size has a getter function"),t.equal(GetIntrinsic("%Map.prototype.size%"),r.get,"%Map.prototype.size% yields the getter for it"),t.equal(GetIntrinsic("Map.prototype.size"),r.get,"Map.prototype.size yields the getter for it"),t.end()})),test("generator functions",{skip:!generatorFns.length},(function(t){var r=GetIntrinsic("%GeneratorFunction%"),e=GetIntrinsic("%Generator%"),n=GetIntrinsic("%GeneratorPrototype%");forEach(generatorFns,(function(o){var i=o.name;i=i?"'"+i+"'":"genFn",t.ok(o instanceof r,i+" instanceof %GeneratorFunction%"),t.ok($isProto(e,o),"%Generator% is prototype of "+i),t.ok($isProto(n,o.prototype),"%GeneratorPrototype% is prototype of "+i+".prototype")})),t.end()})),test("async functions",{skip:!asyncFns.length},(function(t){var r=GetIntrinsic("%AsyncFunction%"),e=GetIntrinsic("%AsyncFunctionPrototype%");forEach(asyncFns,(function(n){var o=n.name;o=o?"'"+o+"'":"asyncFn",t.ok(n instanceof r,o+" instanceof %AsyncFunction%"),t.ok($isProto(e,n),"%AsyncFunctionPrototype% is prototype of "+o)})),t.end()})),test("async generator functions",{skip:0===asyncGenFns.length},(function(t){var r=GetIntrinsic("%AsyncGeneratorFunction%"),e=GetIntrinsic("%AsyncGenerator%"),n=GetIntrinsic("%AsyncGeneratorPrototype%");forEach(asyncGenFns,(function(o){var i=o.name;i=i?"'"+i+"'":"asyncGenFn",t.ok(o instanceof r,i+" instanceof %AsyncGeneratorFunction%"),t.ok($isProto(e,o),"%AsyncGenerator% is prototype of "+i),t.ok($isProto(n,o.prototype),"%AsyncGeneratorPrototype% is prototype of "+i+".prototype")})),t.end()})),test("%ThrowTypeError%",(function(t){var r=GetIntrinsic("%ThrowTypeError%");t.equal(typeof r,"function","is a function"),t.throws(r,TypeError,"%ThrowTypeError% throws a TypeError"),t.end()})),test("allowMissing",{skip:asyncGenFns.length>0},(function(t){t.throws((function(){GetIntrinsic("%AsyncGeneratorPrototype%")}),TypeError,"throws when missing"),t.equal(GetIntrinsic("%AsyncGeneratorPrototype%",!0),void 0,"does not throw when allowMissing"),t.end()})); +//# sourceMappingURL=/sm/22aad20ba657a1343107b3c1a1e9d3d74a71b9497c89d9575aa376eeda076ebc.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/get-proto/CHANGELOG.md new file mode 100644 index 0000000..5860229 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/CHANGELOG.md @@ -0,0 +1,21 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.0.1](https://github.com/ljharb/get-proto/compare/v1.0.0...v1.0.1) - 2025-01-02 + +### Commits + +- [Fix] for the `Object.getPrototypeOf` window, throw for non-objects [`7fe6508`](https://github.com/ljharb/get-proto/commit/7fe6508b71419ebe1976bedb86001d1feaeaa49a) + +## v1.0.0 - 2025-01-01 + +### Commits + +- Initial implementation, tests, readme, types [`5c70775`](https://github.com/ljharb/get-proto/commit/5c707751e81c3deeb2cf980d185fc7fd43611415) +- Initial commit [`7c65c2a`](https://github.com/ljharb/get-proto/commit/7c65c2ad4e33d5dae2f219ebe1a046ae2256972c) +- npm init [`0b8cf82`](https://github.com/ljharb/get-proto/commit/0b8cf824c9634e4a34ef7dd2a2cdc5be6ac79518) +- Only apps should have lockfiles [`a6d1bff`](https://github.com/ljharb/get-proto/commit/a6d1bffc364f5828377cea7194558b2dbef7aea2) diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/LICENSE b/Lombiq.EInvoiceValidator/node_modules/get-proto/LICENSE new file mode 100644 index 0000000..eeabd1c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.d.ts b/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.d.ts new file mode 100644 index 0000000..028b3ff --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.d.ts @@ -0,0 +1,5 @@ +declare function getProto(object: O): object | null; + +declare const x: typeof getProto | null; + +export = x; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.js new file mode 100644 index 0000000..c2cbbdf --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.js @@ -0,0 +1,6 @@ +'use strict'; + +var $Object = require('es-object-atoms'); + +/** @type {import('./Object.getPrototypeOf')} */ +module.exports = $Object.getPrototypeOf || null; diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.min.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.min.js new file mode 100644 index 0000000..b550bb2 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/get-proto@1.0.1/Object.getPrototypeOf.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var $Object=require("es-object-atoms");module.exports=$Object.getPrototypeOf||null; +//# sourceMappingURL=/sm/8df67df1fc24c29814704c0b5f6b4243280c45e319f4a5fcd1a17cec26bf2c2b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/README.md b/Lombiq.EInvoiceValidator/node_modules/get-proto/README.md new file mode 100644 index 0000000..f8b4cce --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/README.md @@ -0,0 +1,50 @@ +# get-proto [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +Robustly get the [[Prototype]] of an object. Uses the best available method. + +## Getting started + +```sh +npm install --save get-proto +``` + +## Usage/Examples + +```js +const assert = require('assert'); +const getProto = require('get-proto'); + +const a = { a: 1, b: 2, [Symbol.toStringTag]: 'foo' }; +const b = { c: 3, __proto__: a }; + +assert.equal(getProto(b), a); +assert.equal(getProto(a), Object.prototype); +assert.equal(getProto({ __proto__: null }), null); +``` + +## Tests + +Clone the repo, `npm install`, and run `npm test` + +[package-url]: https://npmjs.org/package/get-proto +[npm-version-svg]: https://versionbadg.es/ljharb/get-proto.svg +[deps-svg]: https://david-dm.org/ljharb/get-proto.svg +[deps-url]: https://david-dm.org/ljharb/get-proto +[dev-deps-svg]: https://david-dm.org/ljharb/get-proto/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/get-proto#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/get-proto.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/get-proto.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/get-proto.svg +[downloads-url]: https://npm-stat.com/charts.html?package=get-proto +[codecov-image]: https://codecov.io/gh/ljharb/get-proto/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/get-proto/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/get-proto +[actions-url]: https://github.com/ljharb/get-proto/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.d.ts b/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.d.ts new file mode 100644 index 0000000..2388fe0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.d.ts @@ -0,0 +1,3 @@ +declare const x: typeof Reflect.getPrototypeOf | null; + +export = x; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.js new file mode 100644 index 0000000..e6c51be --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./Reflect.getPrototypeOf')} */ +module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null; diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.min.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.min.js new file mode 100644 index 0000000..f2f6bf9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/get-proto@1.0.1/Reflect.getPrototypeOf.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null; +//# sourceMappingURL=/sm/592e3ce0936b47b921a33e4dec06c77c21eed397ddd0ccbd558ba8a73e909f4b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/get-proto/index.d.ts new file mode 100644 index 0000000..2c021f3 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/index.d.ts @@ -0,0 +1,5 @@ +declare function getProto(object: O): object | null; + +declare const x: typeof getProto | null; + +export = x; diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/index.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/index.js new file mode 100644 index 0000000..7e5747b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/index.js @@ -0,0 +1,27 @@ +'use strict'; + +var reflectGetProto = require('./Reflect.getPrototypeOf'); +var originalGetProto = require('./Object.getPrototypeOf'); + +var getDunderProto = require('dunder-proto/get'); + +/** @type {import('.')} */ +module.exports = reflectGetProto + ? function getProto(O) { + // @ts-expect-error TS can't narrow inside a closure, for some reason + return reflectGetProto(O); + } + : originalGetProto + ? function getProto(O) { + if (!O || (typeof O !== 'object' && typeof O !== 'function')) { + throw new TypeError('getProto: not an object'); + } + // @ts-expect-error TS can't narrow inside a closure, for some reason + return originalGetProto(O); + } + : getDunderProto + ? function getProto(O) { + // @ts-expect-error TS can't narrow inside a closure, for some reason + return getDunderProto(O); + } + : null; diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/index.min.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/index.min.js new file mode 100644 index 0000000..855f356 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.37.0. + * Original file: /npm/get-proto@1.0.1/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var reflectGetProto=require("./Reflect.getPrototypeOf"),originalGetProto=require("./Object.getPrototypeOf"),getDunderProto=require("dunder-proto/get");module.exports=reflectGetProto?function(t){return reflectGetProto(t)}:originalGetProto?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("getProto: not an object");return originalGetProto(t)}:getDunderProto?function(t){return getDunderProto(t)}:null; +//# sourceMappingURL=/sm/f22e873b8dfd9d114c3ab33a6ca619c4c53bcb72201634837681c8b3e6eea153.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/package.json b/Lombiq.EInvoiceValidator/node_modules/get-proto/package.json new file mode 100644 index 0000000..9c35cec --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/package.json @@ -0,0 +1,81 @@ +{ + "name": "get-proto", + "version": "1.0.1", + "description": "Robustly get the [[Prototype]] of an object", + "main": "index.js", + "exports": { + ".": "./index.js", + "./Reflect.getPrototypeOf": "./Reflect.getPrototypeOf.js", + "./Object.getPrototypeOf": "./Object.getPrototypeOf.js", + "./package.json": "./package.json" + }, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "pretest": "npm run --silent lint", + "test": "npm run tests-only", + "posttest": "npx npm@\">=10.2\" audit --production", + "tests-only": "nyc tape 'test/**/*.js'", + "prelint": "evalmd README.md", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc && attw -P", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/get-proto.git" + }, + "keywords": [ + "get", + "proto", + "prototype", + "getPrototypeOf", + "[[Prototype]]" + ], + "author": "Jordan Harband ", + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/get-proto/issues" + }, + "homepage": "https://github.com/ljharb/get-proto#readme", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.2", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.3", + "@types/tape": "^5.8.0", + "auto-changelog": "^2.5.0", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "engines": { + "node": ">= 0.4" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "testling": { + "files": "test/index.js" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.js new file mode 100644 index 0000000..5a2ece2 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.js @@ -0,0 +1,68 @@ +'use strict'; + +var test = require('tape'); + +var getProto = require('../'); + +test('getProto', function (t) { + t.equal(typeof getProto, 'function', 'is a function'); + + t.test('can get', { skip: !getProto }, function (st) { + if (getProto) { // TS doesn't understand tape's skip + var proto = { b: 2 }; + st.equal(getProto(proto), Object.prototype, 'proto: returns the [[Prototype]]'); + + st.test('nullish value', function (s2t) { + // @ts-expect-error + s2t['throws'](function () { return getProto(undefined); }, TypeError, 'undefined is not an object'); + // @ts-expect-error + s2t['throws'](function () { return getProto(null); }, TypeError, 'null is not an object'); + s2t.end(); + }); + + // @ts-expect-error + st['throws'](function () { getProto(true); }, 'throws for true'); + // @ts-expect-error + st['throws'](function () { getProto(false); }, 'throws for false'); + // @ts-expect-error + st['throws'](function () { getProto(42); }, 'throws for 42'); + // @ts-expect-error + st['throws'](function () { getProto(NaN); }, 'throws for NaN'); + // @ts-expect-error + st['throws'](function () { getProto(0); }, 'throws for +0'); + // @ts-expect-error + st['throws'](function () { getProto(-0); }, 'throws for -0'); + // @ts-expect-error + st['throws'](function () { getProto(Infinity); }, 'throws for ∞'); + // @ts-expect-error + st['throws'](function () { getProto(-Infinity); }, 'throws for -∞'); + // @ts-expect-error + st['throws'](function () { getProto(''); }, 'throws for empty string'); + // @ts-expect-error + st['throws'](function () { getProto('foo'); }, 'throws for non-empty string'); + st.equal(getProto(/a/g), RegExp.prototype); + st.equal(getProto(new Date()), Date.prototype); + st.equal(getProto(function () {}), Function.prototype); + st.equal(getProto([]), Array.prototype); + st.equal(getProto({}), Object.prototype); + + var nullObject = { __proto__: null }; + if ('toString' in nullObject) { + st.comment('no null objects in this engine'); + st.equal(getProto(nullObject), Object.prototype, '"null" object has Object.prototype as [[Prototype]]'); + } else { + st.equal(getProto(nullObject), null, 'null object has null [[Prototype]]'); + } + } + + st.end(); + }); + + t.test('can not get', { skip: !!getProto }, function (st) { + st.equal(getProto, null); + + st.end(); + }); + + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.min.js new file mode 100644 index 0000000..d9bf966 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/get-proto@1.0.1/test/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var test=require("tape"),getProto=require("../");test("getProto",(function(t){t.equal(typeof getProto,"function","is a function"),t.test("can get",{skip:!getProto},(function(t){if(getProto){t.equal(getProto({b:2}),Object.prototype,"proto: returns the [[Prototype]]"),t.test("nullish value",(function(t){t.throws((function(){return getProto(void 0)}),TypeError,"undefined is not an object"),t.throws((function(){return getProto(null)}),TypeError,"null is not an object"),t.end()})),t.throws((function(){getProto(!0)}),"throws for true"),t.throws((function(){getProto(!1)}),"throws for false"),t.throws((function(){getProto(42)}),"throws for 42"),t.throws((function(){getProto(NaN)}),"throws for NaN"),t.throws((function(){getProto(0)}),"throws for +0"),t.throws((function(){getProto(-0)}),"throws for -0"),t.throws((function(){getProto(1/0)}),"throws for ∞"),t.throws((function(){getProto(-1/0)}),"throws for -∞"),t.throws((function(){getProto("")}),"throws for empty string"),t.throws((function(){getProto("foo")}),"throws for non-empty string"),t.equal(getProto(/a/g),RegExp.prototype),t.equal(getProto(new Date),Date.prototype),t.equal(getProto((function(){})),Function.prototype),t.equal(getProto([]),Array.prototype),t.equal(getProto({}),Object.prototype);var o={__proto__:null};"toString"in o?(t.comment("no null objects in this engine"),t.equal(getProto(o),Object.prototype,'"null" object has Object.prototype as [[Prototype]]')):t.equal(getProto(o),null,"null object has null [[Prototype]]")}t.end()})),t.test("can not get",{skip:!!getProto},(function(t){t.equal(getProto,null),t.end()})),t.end()})); +//# sourceMappingURL=/sm/3dca82ed62b91542572550f7cb92309c981fe929d3cc31ec884a94c23bb79832.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/get-proto/tsconfig.json new file mode 100644 index 0000000..60fb90e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/get-proto/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + //"target": "es2021", + }, + "exclude": [ + "coverage", + ], +} diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/gopd/CHANGELOG.md new file mode 100644 index 0000000..87f5727 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/gopd/CHANGELOG.md @@ -0,0 +1,45 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.2.0](https://github.com/ljharb/gopd/compare/v1.1.0...v1.2.0) - 2024-12-03 + +### Commits + +- [New] add `gOPD` entry point; remove `get-intrinsic` [`5b61232`](https://github.com/ljharb/gopd/commit/5b61232dedea4591a314bcf16101b1961cee024e) + +## [v1.1.0](https://github.com/ljharb/gopd/compare/v1.0.1...v1.1.0) - 2024-11-29 + +### Commits + +- [New] add types [`f585e39`](https://github.com/ljharb/gopd/commit/f585e397886d270e4ba84e53d226e4f9ca2eb0e6) +- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `tape` [`0b8e4fd`](https://github.com/ljharb/gopd/commit/0b8e4fded64397a7726a9daa144a6cc9a5e2edfa) +- [Dev Deps] update `aud`, `npmignore`, `tape` [`48378b2`](https://github.com/ljharb/gopd/commit/48378b2443f09a4f7efbd0fb6c3ee845a6cabcf3) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`78099ee`](https://github.com/ljharb/gopd/commit/78099eeed41bfdc134c912280483689cc8861c31) +- [Tests] replace `aud` with `npm audit` [`4e0d0ac`](https://github.com/ljharb/gopd/commit/4e0d0ac47619d24a75318a8e1f543ee04b2a2632) +- [meta] add missing `engines.node` [`1443316`](https://github.com/ljharb/gopd/commit/14433165d07835c680155b3dfd62d9217d735eca) +- [Deps] update `get-intrinsic` [`eee5f51`](https://github.com/ljharb/gopd/commit/eee5f51769f3dbaf578b70e2a3199116b01aa670) +- [Deps] update `get-intrinsic` [`550c378`](https://github.com/ljharb/gopd/commit/550c3780e3a9c77b62565712a001b4ed64ea61f5) +- [Dev Deps] add missing peer dep [`8c2ecf8`](https://github.com/ljharb/gopd/commit/8c2ecf848122e4e30abfc5b5086fb48b390dce75) + +## [v1.0.1](https://github.com/ljharb/gopd/compare/v1.0.0...v1.0.1) - 2022-11-01 + +### Commits + +- [Fix] actually export gOPD instead of dP [`4b624bf`](https://github.com/ljharb/gopd/commit/4b624bfbeff788c5e3ff16d9443a83627847234f) + +## v1.0.0 - 2022-11-01 + +### Commits + +- Initial implementation, tests, readme [`0911e01`](https://github.com/ljharb/gopd/commit/0911e012cd642092bd88b732c161c58bf4f20bea) +- Initial commit [`b84e33f`](https://github.com/ljharb/gopd/commit/b84e33f5808a805ac57ff88d4247ad935569acbe) +- [actions] add reusable workflows [`12ae28a`](https://github.com/ljharb/gopd/commit/12ae28ae5f50f86e750215b6e2188901646d0119) +- npm init [`280118b`](https://github.com/ljharb/gopd/commit/280118badb45c80b4483836b5cb5315bddf6e582) +- [meta] add `auto-changelog` [`bb78de5`](https://github.com/ljharb/gopd/commit/bb78de5639a180747fb290c28912beaaf1615709) +- [meta] create FUNDING.yml; add `funding` in package.json [`11c22e6`](https://github.com/ljharb/gopd/commit/11c22e6355bb01f24e7fac4c9bb3055eb5b25002) +- [meta] use `npmignore` to autogenerate an npmignore file [`4f4537a`](https://github.com/ljharb/gopd/commit/4f4537a843b39f698c52f072845092e6fca345bb) +- Only apps should have lockfiles [`c567022`](https://github.com/ljharb/gopd/commit/c567022a18573aa7951cf5399445d9840e23e98b) diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/LICENSE b/Lombiq.EInvoiceValidator/node_modules/gopd/LICENSE new file mode 100644 index 0000000..6abfe14 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/gopd/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/README.md b/Lombiq.EInvoiceValidator/node_modules/gopd/README.md new file mode 100644 index 0000000..784e56a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/gopd/README.md @@ -0,0 +1,40 @@ +# gopd [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation. + +## Usage + +```javascript +var gOPD = require('gopd'); +var assert = require('assert'); + +if (gOPD) { + assert.equal(typeof gOPD, 'function', 'descriptors supported'); + // use gOPD like Object.getOwnPropertyDescriptor here +} else { + assert.ok(!gOPD, 'descriptors not supported'); +} +``` + +[package-url]: https://npmjs.org/package/gopd +[npm-version-svg]: https://versionbadg.es/ljharb/gopd.svg +[deps-svg]: https://david-dm.org/ljharb/gopd.svg +[deps-url]: https://david-dm.org/ljharb/gopd +[dev-deps-svg]: https://david-dm.org/ljharb/gopd/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/gopd#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/gopd.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/gopd.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/gopd.svg +[downloads-url]: https://npm-stat.com/charts.html?package=gopd +[codecov-image]: https://codecov.io/gh/ljharb/gopd/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/gopd/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/gopd +[actions-url]: https://github.com/ljharb/gopd/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.d.ts b/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.d.ts new file mode 100644 index 0000000..def48a3 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.d.ts @@ -0,0 +1 @@ +export = Object.getOwnPropertyDescriptor; diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.js b/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.js new file mode 100644 index 0000000..cf9616c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./gOPD')} */ +module.exports = Object.getOwnPropertyDescriptor; diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.min.js b/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.min.js new file mode 100644 index 0000000..5b45fea --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/gopd@1.2.0/gOPD.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=Object.getOwnPropertyDescriptor; +//# sourceMappingURL=/sm/9aa3214849b964a25a62a0b2db99c6284d28331cb26aae737f5380f72e6b4d69.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/gopd/index.d.ts new file mode 100644 index 0000000..e228065 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/gopd/index.d.ts @@ -0,0 +1,5 @@ +declare function gOPD(obj: O, prop: K): PropertyDescriptor | undefined; + +declare const fn: typeof gOPD | undefined | null; + +export = fn; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/index.js b/Lombiq.EInvoiceValidator/node_modules/gopd/index.js new file mode 100644 index 0000000..a4081b0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/gopd/index.js @@ -0,0 +1,15 @@ +'use strict'; + +/** @type {import('.')} */ +var $gOPD = require('./gOPD'); + +if ($gOPD) { + try { + $gOPD([], 'length'); + } catch (e) { + // IE 8 has a broken gOPD + $gOPD = null; + } +} + +module.exports = $gOPD; diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/index.min.js b/Lombiq.EInvoiceValidator/node_modules/gopd/index.min.js new file mode 100644 index 0000000..ecb2d82 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/gopd/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.19.2. + * Original file: /npm/gopd@1.2.0/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var $gOPD=require("./gOPD");if($gOPD)try{$gOPD([],"length")}catch(g){$gOPD=null}module.exports=$gOPD; +//# sourceMappingURL=/sm/c171efa16e3bfbf9452eeb429bfbc58cbb839fada49fee2a68b121c08dc20d3e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/package.json b/Lombiq.EInvoiceValidator/node_modules/gopd/package.json new file mode 100644 index 0000000..01c5ffa --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/gopd/package.json @@ -0,0 +1,77 @@ +{ + "name": "gopd", + "version": "1.2.0", + "description": "`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.", + "main": "index.js", + "exports": { + ".": "./index.js", + "./gOPD": "./gOPD.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prelint": "tsc -p . && attw -P", + "lint": "eslint --ext=js,mjs .", + "postlint": "evalmd README.md", + "pretest": "npm run lint", + "tests-only": "tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>=10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/gopd.git" + }, + "keywords": [ + "ecmascript", + "javascript", + "getownpropertydescriptor", + "property", + "descriptor" + ], + "author": "Jordan Harband ", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/gopd/issues" + }, + "homepage": "https://github.com/ljharb/gopd#readme", + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.0", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.0", + "@types/tape": "^5.6.5", + "auto-changelog": "^2.5.0", + "encoding": "^0.1.13", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/test/index.js b/Lombiq.EInvoiceValidator/node_modules/gopd/test/index.js new file mode 100644 index 0000000..6f43453 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/gopd/test/index.js @@ -0,0 +1,36 @@ +'use strict'; + +var test = require('tape'); +var gOPD = require('../'); + +test('gOPD', function (t) { + t.test('supported', { skip: !gOPD }, function (st) { + st.equal(typeof gOPD, 'function', 'is a function'); + + var obj = { x: 1 }; + st.ok('x' in obj, 'property exists'); + + // @ts-expect-error TS can't figure out narrowing from `skip` + var desc = gOPD(obj, 'x'); + st.deepEqual( + desc, + { + configurable: true, + enumerable: true, + value: 1, + writable: true + }, + 'descriptor is as expected' + ); + + st.end(); + }); + + t.test('not supported', { skip: !!gOPD }, function (st) { + st.notOk(gOPD, 'is falsy'); + + st.end(); + }); + + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/gopd/test/index.min.js new file mode 100644 index 0000000..b7575d1 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/gopd/test/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/gopd@1.2.0/test/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var test=require("tape"),gOPD=require("../");test("gOPD",(function(e){e.test("supported",{skip:!gOPD},(function(e){e.equal(typeof gOPD,"function","is a function");var t={x:1};e.ok("x"in t,"property exists");var i=gOPD(t,"x");e.deepEqual(i,{configurable:!0,enumerable:!0,value:1,writable:!0},"descriptor is as expected"),e.end()})),e.test("not supported",{skip:!!gOPD},(function(e){e.notOk(gOPD,"is falsy"),e.end()})),e.end()})); +//# sourceMappingURL=/sm/e88f71d901b2e366736a616765c1fd176080d4717dcb31b8b3085826a527e8fc.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/gopd/tsconfig.json new file mode 100644 index 0000000..d9a6668 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/gopd/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "es2021", + }, + "exclude": [ + "coverage", + ], +} diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/has-symbols/CHANGELOG.md new file mode 100644 index 0000000..cc3cf83 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/CHANGELOG.md @@ -0,0 +1,91 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.1.0](https://github.com/inspect-js/has-symbols/compare/v1.0.3...v1.1.0) - 2024-12-02 + +### Commits + +- [actions] update workflows [`548c0bf`](https://github.com/inspect-js/has-symbols/commit/548c0bf8c9b1235458df7a1c0490b0064647a282) +- [actions] further shard; update action deps [`bec56bb`](https://github.com/inspect-js/has-symbols/commit/bec56bb0fb44b43a786686b944875a3175cf3ff3) +- [meta] use `npmignore` to autogenerate an npmignore file [`ac81032`](https://github.com/inspect-js/has-symbols/commit/ac81032809157e0a079e5264e9ce9b6f1275777e) +- [New] add types [`6469cbf`](https://github.com/inspect-js/has-symbols/commit/6469cbff1866cfe367b2b3d181d9296ec14b2a3d) +- [actions] update rebase action to use reusable workflow [`9c9d4d0`](https://github.com/inspect-js/has-symbols/commit/9c9d4d0d8938e4b267acdf8e421f4e92d1716d72) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`adb5887`](https://github.com/inspect-js/has-symbols/commit/adb5887ca9444849b08beb5caaa9e1d42320cdfb) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`13ec198`](https://github.com/inspect-js/has-symbols/commit/13ec198ec80f1993a87710af1606a1970b22c7cb) +- [Dev Deps] update `auto-changelog`, `core-js`, `tape` [`941be52`](https://github.com/inspect-js/has-symbols/commit/941be5248387cab1da72509b22acf3fdb223f057) +- [Tests] replace `aud` with `npm audit` [`74f49e9`](https://github.com/inspect-js/has-symbols/commit/74f49e9a9d17a443020784234a1c53ce765b3559) +- [Dev Deps] update `npmignore` [`9c0ac04`](https://github.com/inspect-js/has-symbols/commit/9c0ac0452a834f4c2a4b54044f2d6a89f17e9a70) +- [Dev Deps] add missing peer dep [`52337a5`](https://github.com/inspect-js/has-symbols/commit/52337a5621cced61f846f2afdab7707a8132cc12) + +## [v1.0.3](https://github.com/inspect-js/has-symbols/compare/v1.0.2...v1.0.3) - 2022-03-01 + +### Commits + +- [actions] use `node/install` instead of `node/run`; use `codecov` action [`518b28f`](https://github.com/inspect-js/has-symbols/commit/518b28f6c5a516cbccae30794e40aa9f738b1693) +- [meta] add `bugs` and `homepage` fields; reorder package.json [`c480b13`](https://github.com/inspect-js/has-symbols/commit/c480b13fd6802b557e1cef9749872cb5fdeef744) +- [actions] reuse common workflows [`01d0ee0`](https://github.com/inspect-js/has-symbols/commit/01d0ee0a8d97c0947f5edb73eb722027a77b2b07) +- [actions] update codecov uploader [`6424ebe`](https://github.com/inspect-js/has-symbols/commit/6424ebe86b2c9c7c3d2e9bd4413a4e4f168cb275) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`dfa7e7f`](https://github.com/inspect-js/has-symbols/commit/dfa7e7ff38b594645d8c8222aab895157fa7e282) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`0c8d436`](https://github.com/inspect-js/has-symbols/commit/0c8d43685c45189cea9018191d4fd7eca91c9d02) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`9026554`](https://github.com/inspect-js/has-symbols/commit/902655442a1bf88e72b42345494ef0c60f5d36ab) +- [readme] add actions and codecov badges [`eaa9682`](https://github.com/inspect-js/has-symbols/commit/eaa9682f990f481d3acf7a1c7600bec36f7b3adc) +- [Dev Deps] update `eslint`, `tape` [`bc7a3ba`](https://github.com/inspect-js/has-symbols/commit/bc7a3ba46f27b7743f8a2579732d59d1b9ac791e) +- [Dev Deps] update `eslint`, `auto-changelog` [`0ace00a`](https://github.com/inspect-js/has-symbols/commit/0ace00af08a88cdd1e6ce0d60357d941c60c2d9f) +- [meta] use `prepublishOnly` script for npm 7+ [`093f72b`](https://github.com/inspect-js/has-symbols/commit/093f72bc2b0ed00c781f444922a5034257bf561d) +- [Tests] test on all 16 minors [`9b80d3d`](https://github.com/inspect-js/has-symbols/commit/9b80d3d9102529f04c20ec5b1fcc6e38426c6b03) + +## [v1.0.2](https://github.com/inspect-js/has-symbols/compare/v1.0.1...v1.0.2) - 2021-02-27 + +### Fixed + +- [Fix] use a universal way to get the original Symbol [`#11`](https://github.com/inspect-js/has-symbols/issues/11) + +### Commits + +- [Tests] migrate tests to Github Actions [`90ae798`](https://github.com/inspect-js/has-symbols/commit/90ae79820bdfe7bc703d67f5f3c5e205f98556d3) +- [meta] do not publish github action workflow files [`29e60a1`](https://github.com/inspect-js/has-symbols/commit/29e60a1b7c25c7f1acf7acff4a9320d0d10c49b4) +- [Tests] run `nyc` on all tests [`8476b91`](https://github.com/inspect-js/has-symbols/commit/8476b915650d360915abe2522505abf4b0e8f0ae) +- [readme] fix repo URLs, remove defunct badges [`126288e`](https://github.com/inspect-js/has-symbols/commit/126288ecc1797c0a40247a6b78bcb2e0bc5d7036) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `core-js`, `get-own-property-symbols` [`d84bdfa`](https://github.com/inspect-js/has-symbols/commit/d84bdfa48ac5188abbb4904b42614cd6c030940a) +- [Tests] fix linting errors [`0df3070`](https://github.com/inspect-js/has-symbols/commit/0df3070b981b6c9f2ee530c09189a7f5c6def839) +- [actions] add "Allow Edits" workflow [`1e6bc29`](https://github.com/inspect-js/has-symbols/commit/1e6bc29b188f32b9648657b07eda08504be5aa9c) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`36cea2a`](https://github.com/inspect-js/has-symbols/commit/36cea2addd4e6ec435f35a2656b4e9ef82498e9b) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`1278338`](https://github.com/inspect-js/has-symbols/commit/127833801865fbc2cc8979beb9ca869c7bfe8222) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`1493254`](https://github.com/inspect-js/has-symbols/commit/1493254eda13db5fb8fc5e4a3e8324b3d196029d) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js` [`b090bf2`](https://github.com/inspect-js/has-symbols/commit/b090bf214d3679a30edc1e2d729d466ab5183e1d) +- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`4addb7a`](https://github.com/inspect-js/has-symbols/commit/4addb7ab4dc73f927ae99928d68817554fc21dc0) +- [Dev Deps] update `auto-changelog`, `tape` [`81d0baf`](https://github.com/inspect-js/has-symbols/commit/81d0baf3816096a89a8558e8043895f7a7d10d8b) +- [Dev Deps] update `auto-changelog`; add `aud` [`1a4e561`](https://github.com/inspect-js/has-symbols/commit/1a4e5612c25d91c3a03d509721d02630bc4fe3da) +- [readme] remove unused testling URLs [`3000941`](https://github.com/inspect-js/has-symbols/commit/3000941f958046e923ed8152edb1ef4a599e6fcc) +- [Tests] only audit prod deps [`692e974`](https://github.com/inspect-js/has-symbols/commit/692e9743c912410e9440207631a643a34b4741a1) +- [Dev Deps] update `@ljharb/eslint-config` [`51c946c`](https://github.com/inspect-js/has-symbols/commit/51c946c7f6baa793ec5390bb5a45cdce16b4ba76) + +## [v1.0.1](https://github.com/inspect-js/has-symbols/compare/v1.0.0...v1.0.1) - 2019-11-16 + +### Commits + +- [Tests] use shared travis-ci configs [`ce396c9`](https://github.com/inspect-js/has-symbols/commit/ce396c9419ff11c43d0da5d05cdbb79f7fb42229) +- [Tests] up to `node` `v12.4`, `v11.15`, `v10.15`, `v9.11`, `v8.15`, `v7.10`, `v6.17`, `v4.9`; use `nvm install-latest-npm` [`0690732`](https://github.com/inspect-js/has-symbols/commit/0690732801f47ab429f39ba1962f522d5c462d6b) +- [meta] add `auto-changelog` [`2163d0b`](https://github.com/inspect-js/has-symbols/commit/2163d0b7f36343076b8f947cd1667dd1750f26fc) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `safe-publish-latest`, `tape` [`8e0951f`](https://github.com/inspect-js/has-symbols/commit/8e0951f1a7a2e52068222b7bb73511761e6e4d9c) +- [actions] add automatic rebasing / merge commit blocking [`b09cdb7`](https://github.com/inspect-js/has-symbols/commit/b09cdb7cd7ee39e7a769878f56e2d6066f5ccd1d) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `core-js`, `get-own-property-symbols`, `tape` [`1dd42cd`](https://github.com/inspect-js/has-symbols/commit/1dd42cd86183ed0c50f99b1062345c458babca91) +- [meta] create FUNDING.yml [`aa57a17`](https://github.com/inspect-js/has-symbols/commit/aa57a17b19708906d1927f821ea8e73394d84ca4) +- Only apps should have lockfiles [`a2d8bea`](https://github.com/inspect-js/has-symbols/commit/a2d8bea23a97d15c09eaf60f5b107fcf9a4d57aa) +- [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops [`9e96cb7`](https://github.com/inspect-js/has-symbols/commit/9e96cb783746cbed0c10ef78e599a8eaa7ebe193) +- [meta] add `funding` field [`a0b32cf`](https://github.com/inspect-js/has-symbols/commit/a0b32cf68e803f963c1639b6d47b0a9d6440bab0) +- [Dev Deps] update `safe-publish-latest` [`cb9f0a5`](https://github.com/inspect-js/has-symbols/commit/cb9f0a521a3a1790f1064d437edd33bb6c3d6af0) + +## v1.0.0 - 2016-09-19 + +### Commits + +- Tests. [`ecb6eb9`](https://github.com/inspect-js/has-symbols/commit/ecb6eb934e4883137f3f93b965ba5e0a98df430d) +- package.json [`88a337c`](https://github.com/inspect-js/has-symbols/commit/88a337cee0864a0da35f5d19e69ff0ef0150e46a) +- Initial commit [`42e1e55`](https://github.com/inspect-js/has-symbols/commit/42e1e5502536a2b8ac529c9443984acd14836b1c) +- Initial implementation. [`33f5cc6`](https://github.com/inspect-js/has-symbols/commit/33f5cc6cdff86e2194b081ee842bfdc63caf43fb) +- read me [`01f1170`](https://github.com/inspect-js/has-symbols/commit/01f1170188ff7cb1558aa297f6ba5b516c6d7b0c) diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/LICENSE b/Lombiq.EInvoiceValidator/node_modules/has-symbols/LICENSE new file mode 100644 index 0000000..df31cbf --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/README.md b/Lombiq.EInvoiceValidator/node_modules/has-symbols/README.md new file mode 100644 index 0000000..33905f0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/README.md @@ -0,0 +1,46 @@ +# has-symbols [![Version Badge][2]][1] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![dependency status][5]][6] +[![dev dependency status][7]][8] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][11]][1] + +Determine if the JS environment has Symbol support. Supports spec, or shams. + +## Example + +```js +var hasSymbols = require('has-symbols'); + +hasSymbols() === true; // if the environment has native Symbol support. Not polyfillable, not forgeable. + +var hasSymbolsKinda = require('has-symbols/shams'); +hasSymbolsKinda() === true; // if the environment has a Symbol sham that mostly follows the spec. +``` + +## Supported Symbol shams + - get-own-property-symbols [npm](https://www.npmjs.com/package/get-own-property-symbols) | [github](https://github.com/WebReflection/get-own-property-symbols) + - core-js [npm](https://www.npmjs.com/package/core-js) | [github](https://github.com/zloirock/core-js) + +## Tests +Simply clone the repo, `npm install`, and run `npm test` + +[1]: https://npmjs.org/package/has-symbols +[2]: https://versionbadg.es/inspect-js/has-symbols.svg +[5]: https://david-dm.org/inspect-js/has-symbols.svg +[6]: https://david-dm.org/inspect-js/has-symbols +[7]: https://david-dm.org/inspect-js/has-symbols/dev-status.svg +[8]: https://david-dm.org/inspect-js/has-symbols#info=devDependencies +[11]: https://nodei.co/npm/has-symbols.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/has-symbols.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/has-symbols.svg +[downloads-url]: https://npm-stat.com/charts.html?package=has-symbols +[codecov-image]: https://codecov.io/gh/inspect-js/has-symbols/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/inspect-js/has-symbols/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/has-symbols +[actions-url]: https://github.com/inspect-js/has-symbols/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.d.ts new file mode 100644 index 0000000..9b98595 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.d.ts @@ -0,0 +1,3 @@ +declare function hasNativeSymbols(): boolean; + +export = hasNativeSymbols; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.js new file mode 100644 index 0000000..fa65265 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.js @@ -0,0 +1,14 @@ +'use strict'; + +var origSymbol = typeof Symbol !== 'undefined' && Symbol; +var hasSymbolSham = require('./shams'); + +/** @type {import('.')} */ +module.exports = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } + + return hasSymbolSham(); +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.min.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.min.js new file mode 100644 index 0000000..36e53d4 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.19.2. + * Original file: /npm/has-symbols@1.1.0/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var origSymbol="undefined"!=typeof Symbol&&Symbol,hasSymbolSham=require("./shams");module.exports=function(){return"function"==typeof origSymbol&&("function"==typeof Symbol&&("symbol"==typeof origSymbol("foo")&&("symbol"==typeof Symbol("bar")&&hasSymbolSham())))}; +//# sourceMappingURL=/sm/714f9ac2371fe94e9977bf4f4d0f50104bba6e1a52d2501977b17e2e0728b62c.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/package.json b/Lombiq.EInvoiceValidator/node_modules/has-symbols/package.json new file mode 100644 index 0000000..d835e20 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/package.json @@ -0,0 +1,111 @@ +{ + "name": "has-symbols", + "version": "1.1.0", + "description": "Determine if the JS environment has Symbol support. Supports spec, or shams.", + "main": "index.js", + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run --silent lint", + "test": "npm run tests-only", + "posttest": "npx npm@'>=10.2' audit --production", + "tests-only": "npm run test:stock && npm run test:shams", + "test:stock": "nyc node test", + "test:staging": "nyc node --harmony --es-staging test", + "test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs", + "test:shams:corejs": "nyc node test/shams/core-js.js", + "test:shams:getownpropertysymbols": "nyc node test/shams/get-own-property-symbols.js", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p . && attw -P", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git://github.com/inspect-js/has-symbols.git" + }, + "keywords": [ + "Symbol", + "symbols", + "typeof", + "sham", + "polyfill", + "native", + "core-js", + "ES6" + ], + "author": { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + }, + "contributors": [ + { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + } + ], + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/has-symbols/issues" + }, + "homepage": "https://github.com/ljharb/has-symbols#readme", + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.0", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.0", + "@types/core-js": "^2.5.8", + "@types/tape": "^5.6.5", + "auto-changelog": "^2.5.0", + "core-js": "^2.6.12", + "encoding": "^0.1.13", + "eslint": "=8.8.0", + "get-own-property-symbols": "^0.9.5", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "testling": { + "files": "test/index.js", + "browsers": [ + "iexplore/6.0..latest", + "firefox/3.0..6.0", + "firefox/15.0..latest", + "firefox/nightly", + "chrome/4.0..10.0", + "chrome/20.0..latest", + "chrome/canary", + "opera/10.0..latest", + "opera/next", + "safari/4.0..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2" + ] + }, + "engines": { + "node": ">= 0.4" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows", + "types" + ] + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.d.ts b/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.d.ts new file mode 100644 index 0000000..8d0bf24 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.d.ts @@ -0,0 +1,3 @@ +declare function hasSymbolShams(): boolean; + +export = hasSymbolShams; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.js new file mode 100644 index 0000000..f97b474 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.js @@ -0,0 +1,45 @@ +'use strict'; + +/** @type {import('./shams')} */ +/* eslint complexity: [2, 18], max-statements: [2, 33] */ +module.exports = function hasSymbols() { + if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } + if (typeof Symbol.iterator === 'symbol') { return true; } + + /** @type {{ [k in symbol]?: unknown }} */ + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + if (typeof sym === 'string') { return false; } + + if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } + if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } + + // temp disabled per https://github.com/ljharb/object.assign/issues/17 + // if (sym instanceof Symbol) { return false; } + // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 + // if (!(symObj instanceof Symbol)) { return false; } + + // if (typeof Symbol.prototype.toString !== 'function') { return false; } + // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } + + var symVal = 42; + obj[sym] = symVal; + for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop + if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } + + if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } + + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { return false; } + + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } + + if (typeof Object.getOwnPropertyDescriptor === 'function') { + // eslint-disable-next-line no-extra-parens + var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym)); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } + } + + return true; +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.min.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.min.js new file mode 100644 index 0000000..0386082 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.37.0. + * Original file: /npm/has-symbols@1.1.0/shams.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var o in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var y=Object.getOwnPropertyDescriptor(t,e);if(42!==y.value||!0!==y.enumerable)return!1}return!0}; +//# sourceMappingURL=/sm/3f8193921186bf87e938b2ecbc5ece736ff3a472849ecb754a258f3e113bad5f.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.js new file mode 100644 index 0000000..352129c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.js @@ -0,0 +1,22 @@ +'use strict'; + +var test = require('tape'); +var hasSymbols = require('../'); +var runSymbolTests = require('./tests'); + +test('interface', function (t) { + t.equal(typeof hasSymbols, 'function', 'is a function'); + t.equal(typeof hasSymbols(), 'boolean', 'returns a boolean'); + t.end(); +}); + +test('Symbols are supported', { skip: !hasSymbols() }, function (t) { + runSymbolTests(t); + t.end(); +}); + +test('Symbols are not supported', { skip: hasSymbols() }, function (t) { + t.equal(typeof Symbol, 'undefined', 'global Symbol is undefined'); + t.equal(typeof Object.getOwnPropertySymbols, 'undefined', 'Object.getOwnPropertySymbols does not exist'); + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.min.js new file mode 100644 index 0000000..7fb3a5b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/has-symbols@1.1.0/test/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var test=require("tape"),hasSymbols=require("../"),runSymbolTests=require("./tests");test("interface",(function(e){e.equal(typeof hasSymbols,"function","is a function"),e.equal(typeof hasSymbols(),"boolean","returns a boolean"),e.end()})),test("Symbols are supported",{skip:!hasSymbols()},(function(e){runSymbolTests(e),e.end()})),test("Symbols are not supported",{skip:hasSymbols()},(function(e){e.equal(typeof Symbol,"undefined","global Symbol is undefined"),e.equal(typeof Object.getOwnPropertySymbols,"undefined","Object.getOwnPropertySymbols does not exist"),e.end()})); +//# sourceMappingURL=/sm/2047d2ee1fb45479ee6d9425d18b73dd75487e86be013e115da8907601db3c43.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.js new file mode 100644 index 0000000..1a29024 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.js @@ -0,0 +1,29 @@ +'use strict'; + +var test = require('tape'); + +if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { + test('has native Symbol support', function (t) { + t.equal(typeof Symbol, 'function'); + t.equal(typeof Symbol(), 'symbol'); + t.end(); + }); + // @ts-expect-error TS is stupid and doesn't know about top level return + return; +} + +var hasSymbols = require('../../shams'); + +test('polyfilled Symbols', function (t) { + /* eslint-disable global-require */ + t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling'); + require('core-js/fn/symbol'); + require('core-js/fn/symbol/to-string-tag'); + + require('../tests')(t); + + var hasSymbolsAfter = hasSymbols(); + t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling'); + /* eslint-enable global-require */ + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.min.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.min.js new file mode 100644 index 0000000..4720daf --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.min.js @@ -0,0 +1,35 @@ +/** + * Failed to minify the file using Terser v5.39.0. Serving the original version. + * Original file: /npm/has-symbols@1.1.0/test/shams/core-js.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +'use strict'; + +var test = require('tape'); + +if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { + test('has native Symbol support', function (t) { + t.equal(typeof Symbol, 'function'); + t.equal(typeof Symbol(), 'symbol'); + t.end(); + }); + // @ts-expect-error TS is stupid and doesn't know about top level return + return; +} + +var hasSymbols = require('../../shams'); + +test('polyfilled Symbols', function (t) { + /* eslint-disable global-require */ + t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling'); + require('core-js/fn/symbol'); + require('core-js/fn/symbol/to-string-tag'); + + require('../tests')(t); + + var hasSymbolsAfter = hasSymbols(); + t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling'); + /* eslint-enable global-require */ + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.js new file mode 100644 index 0000000..e0296f8 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.js @@ -0,0 +1,29 @@ +'use strict'; + +var test = require('tape'); + +if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { + test('has native Symbol support', function (t) { + t.equal(typeof Symbol, 'function'); + t.equal(typeof Symbol(), 'symbol'); + t.end(); + }); + // @ts-expect-error TS is stupid and doesn't know about top level return + return; +} + +var hasSymbols = require('../../shams'); + +test('polyfilled Symbols', function (t) { + /* eslint-disable global-require */ + t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling'); + + require('get-own-property-symbols'); + + require('../tests')(t); + + var hasSymbolsAfter = hasSymbols(); + t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling'); + /* eslint-enable global-require */ + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.min.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.min.js new file mode 100644 index 0000000..f97c433 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.min.js @@ -0,0 +1,35 @@ +/** + * Failed to minify the file using Terser v5.39.0. Serving the original version. + * Original file: /npm/has-symbols@1.1.0/test/shams/get-own-property-symbols.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +'use strict'; + +var test = require('tape'); + +if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { + test('has native Symbol support', function (t) { + t.equal(typeof Symbol, 'function'); + t.equal(typeof Symbol(), 'symbol'); + t.end(); + }); + // @ts-expect-error TS is stupid and doesn't know about top level return + return; +} + +var hasSymbols = require('../../shams'); + +test('polyfilled Symbols', function (t) { + /* eslint-disable global-require */ + t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling'); + + require('get-own-property-symbols'); + + require('../tests')(t); + + var hasSymbolsAfter = hasSymbols(); + t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling'); + /* eslint-enable global-require */ + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.js new file mode 100644 index 0000000..66a2cb8 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.js @@ -0,0 +1,58 @@ +'use strict'; + +/** @type {(t: import('tape').Test) => false | void} */ +// eslint-disable-next-line consistent-return +module.exports = function runSymbolTests(t) { + t.equal(typeof Symbol, 'function', 'global Symbol is a function'); + + if (typeof Symbol !== 'function') { return false; } + + t.notEqual(Symbol(), Symbol(), 'two symbols are not equal'); + + /* + t.equal( + Symbol.prototype.toString.call(Symbol('foo')), + Symbol.prototype.toString.call(Symbol('foo')), + 'two symbols with the same description stringify the same' + ); + */ + + /* + var foo = Symbol('foo'); + + t.notEqual( + String(foo), + String(Symbol('bar')), + 'two symbols with different descriptions do not stringify the same' + ); + */ + + t.equal(typeof Symbol.prototype.toString, 'function', 'Symbol#toString is a function'); + // t.equal(String(foo), Symbol.prototype.toString.call(foo), 'Symbol#toString equals String of the same symbol'); + + t.equal(typeof Object.getOwnPropertySymbols, 'function', 'Object.getOwnPropertySymbols is a function'); + + /** @type {{ [k in symbol]?: unknown }} */ + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + t.notEqual(typeof sym, 'string', 'Symbol is not a string'); + t.equal(Object.prototype.toString.call(sym), '[object Symbol]', 'symbol primitive Object#toStrings properly'); + t.equal(Object.prototype.toString.call(symObj), '[object Symbol]', 'symbol primitive Object#toStrings properly'); + + var symVal = 42; + obj[sym] = symVal; + // eslint-disable-next-line no-restricted-syntax, no-unused-vars + for (var _ in obj) { t.fail('symbol property key was found in for..in of object'); } + + t.deepEqual(Object.keys(obj), [], 'no enumerable own keys on symbol-valued object'); + t.deepEqual(Object.getOwnPropertyNames(obj), [], 'no own names on symbol-valued object'); + t.deepEqual(Object.getOwnPropertySymbols(obj), [sym], 'one own symbol on symbol-valued object'); + t.equal(Object.prototype.propertyIsEnumerable.call(obj, sym), true, 'symbol is enumerable'); + t.deepEqual(Object.getOwnPropertyDescriptor(obj, sym), { + configurable: true, + enumerable: true, + value: 42, + writable: true + }, 'property descriptor is correct'); +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.min.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.min.js new file mode 100644 index 0000000..7695e45 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/has-symbols@1.1.0/test/tests.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=function(e){if(e.equal(typeof Symbol,"function","global Symbol is a function"),"function"!=typeof Symbol)return!1;e.notEqual(Symbol(),Symbol(),"two symbols are not equal"),e.equal(typeof Symbol.prototype.toString,"function","Symbol#toString is a function"),e.equal(typeof Object.getOwnPropertySymbols,"function","Object.getOwnPropertySymbols is a function");var o={},t=Symbol("test"),l=Object(t);e.notEqual(typeof t,"string","Symbol is not a string"),e.equal(Object.prototype.toString.call(t),"[object Symbol]","symbol primitive Object#toStrings properly"),e.equal(Object.prototype.toString.call(l),"[object Symbol]","symbol primitive Object#toStrings properly");for(var r in o[t]=42,o)e.fail("symbol property key was found in for..in of object");e.deepEqual(Object.keys(o),[],"no enumerable own keys on symbol-valued object"),e.deepEqual(Object.getOwnPropertyNames(o),[],"no own names on symbol-valued object"),e.deepEqual(Object.getOwnPropertySymbols(o),[t],"one own symbol on symbol-valued object"),e.equal(Object.prototype.propertyIsEnumerable.call(o,t),!0,"symbol is enumerable"),e.deepEqual(Object.getOwnPropertyDescriptor(o,t),{configurable:!0,enumerable:!0,value:42,writable:!0},"property descriptor is correct")}; +//# sourceMappingURL=/sm/96e9b3b58a183501b23ba256bc8df893c7c4a790828ccb2995dedd85703f7985.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/has-symbols/tsconfig.json new file mode 100644 index 0000000..ba99af4 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-symbols/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "ES2021", + "maxNodeModuleJsDepth": 0, + }, + "exclude": [ + "coverage" + ] +} diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/CHANGELOG.md new file mode 100644 index 0000000..eb186ec --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/CHANGELOG.md @@ -0,0 +1,42 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.0.2](https://github.com/inspect-js/has-tostringtag/compare/v1.0.1...v1.0.2) - 2024-02-01 + +### Fixed + +- [Fix] move `has-symbols` back to prod deps [`#3`](https://github.com/inspect-js/has-tostringtag/issues/3) + +## [v1.0.1](https://github.com/inspect-js/has-tostringtag/compare/v1.0.0...v1.0.1) - 2024-02-01 + +### Commits + +- [patch] add types [`9276414`](https://github.com/inspect-js/has-tostringtag/commit/9276414b22fab3eeb234688841722c4be113201f) +- [meta] use `npmignore` to autogenerate an npmignore file [`5c0dcd1`](https://github.com/inspect-js/has-tostringtag/commit/5c0dcd1ff66419562a30d1fd88b966cc36bce5fc) +- [actions] reuse common workflows [`dee9509`](https://github.com/inspect-js/has-tostringtag/commit/dee950904ab5719b62cf8d73d2ac950b09093266) +- [actions] update codecov uploader [`b8cb3a0`](https://github.com/inspect-js/has-tostringtag/commit/b8cb3a0b8ffbb1593012c4c2daa45fb25642825d) +- [Tests] generate coverage [`be5b288`](https://github.com/inspect-js/has-tostringtag/commit/be5b28889e2735cdbcef387f84c2829995f2f05e) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`69a0827`](https://github.com/inspect-js/has-tostringtag/commit/69a0827974e9b877b2c75b70b057555da8f25a65) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`4c9e210`](https://github.com/inspect-js/has-tostringtag/commit/4c9e210a5682f0557a3235d36b68ce809d7fb825) +- [actions] update rebase action to use reusable workflow [`ca8dcd3`](https://github.com/inspect-js/has-tostringtag/commit/ca8dcd3a6f3f5805d7e3fd461b654aedba0946e7) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `npmignore`, `tape` [`07f3eaf`](https://github.com/inspect-js/has-tostringtag/commit/07f3eafa45dd98208c94479737da77f9a69b94c4) +- [Deps] update `has-symbols` [`999e009`](https://github.com/inspect-js/has-tostringtag/commit/999e0095a7d1749a58f55472ec8bf8108cdfdcf3) +- [Tests] remove staging tests since they fail on modern node [`9d9526b`](https://github.com/inspect-js/has-tostringtag/commit/9d9526b1dc1ca7f2292b52efda4c3d857b0e39bd) + +## v1.0.0 - 2021-08-05 + +### Commits + +- Tests [`6b6f573`](https://github.com/inspect-js/has-tostringtag/commit/6b6f5734dc2058badb300ff0783efdad95fe1a65) +- Initial commit [`2f8190e`](https://github.com/inspect-js/has-tostringtag/commit/2f8190e799fac32ba9b95a076c0255e01d7ce475) +- [meta] do not publish github action workflow files [`6e08cc4`](https://github.com/inspect-js/has-tostringtag/commit/6e08cc4e0fea7ec71ef66e70734b2af2c4a8b71b) +- readme [`94bed6c`](https://github.com/inspect-js/has-tostringtag/commit/94bed6c9560cbbfda034f8d6c260bb7b0db33c1a) +- npm init [`be67840`](https://github.com/inspect-js/has-tostringtag/commit/be67840ab92ee7adb98bcc65261975543f815fa5) +- Implementation [`c4914ec`](https://github.com/inspect-js/has-tostringtag/commit/c4914ecc51ddee692c85b471ae0a5d8123030fbf) +- [meta] use `auto-changelog` [`4aaf768`](https://github.com/inspect-js/has-tostringtag/commit/4aaf76895ae01d7b739f2b19f967ef2372506cd7) +- Only apps should have lockfiles [`bc4d99e`](https://github.com/inspect-js/has-tostringtag/commit/bc4d99e4bf494afbaa235c5f098df6e642edf724) +- [meta] add `safe-publish-latest` [`6523c05`](https://github.com/inspect-js/has-tostringtag/commit/6523c05c9b87140f3ae74c9daf91633dd9ff4e1f) diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/LICENSE b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/LICENSE new file mode 100644 index 0000000..7948bc0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Inspect JS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/README.md b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/README.md new file mode 100644 index 0000000..67a5e92 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/README.md @@ -0,0 +1,46 @@ +# has-tostringtag [![Version Badge][2]][1] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![dependency status][5]][6] +[![dev dependency status][7]][8] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][11]][1] + +Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams. + +## Example + +```js +var hasSymbolToStringTag = require('has-tostringtag'); + +hasSymbolToStringTag() === true; // if the environment has native Symbol.toStringTag support. Not polyfillable, not forgeable. + +var hasSymbolToStringTagKinda = require('has-tostringtag/shams'); +hasSymbolToStringTagKinda() === true; // if the environment has a Symbol.toStringTag sham that mostly follows the spec. +``` + +## Supported Symbol shams + - get-own-property-symbols [npm](https://www.npmjs.com/package/get-own-property-symbols) | [github](https://github.com/WebReflection/get-own-property-symbols) + - core-js [npm](https://www.npmjs.com/package/core-js) | [github](https://github.com/zloirock/core-js) + +## Tests +Simply clone the repo, `npm install`, and run `npm test` + +[1]: https://npmjs.org/package/has-tostringtag +[2]: https://versionbadg.es/inspect-js/has-tostringtag.svg +[5]: https://david-dm.org/inspect-js/has-tostringtag.svg +[6]: https://david-dm.org/inspect-js/has-tostringtag +[7]: https://david-dm.org/inspect-js/has-tostringtag/dev-status.svg +[8]: https://david-dm.org/inspect-js/has-tostringtag#info=devDependencies +[11]: https://nodei.co/npm/has-tostringtag.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/has-tostringtag.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/has-tostringtag.svg +[downloads-url]: https://npm-stat.com/charts.html?package=has-tostringtag +[codecov-image]: https://codecov.io/gh/inspect-js/has-tostringtag/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/inspect-js/has-tostringtag/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/has-tostringtag +[actions-url]: https://github.com/inspect-js/has-tostringtag/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.d.ts new file mode 100644 index 0000000..a61bc60 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.d.ts @@ -0,0 +1,3 @@ +declare function hasToStringTag(): boolean; + +export = hasToStringTag; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.js new file mode 100644 index 0000000..77bfa00 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.js @@ -0,0 +1,8 @@ +'use strict'; + +var hasSymbols = require('has-symbols'); + +/** @type {import('.')} */ +module.exports = function hasToStringTag() { + return hasSymbols() && typeof Symbol.toStringTag === 'symbol'; +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.min.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.min.js new file mode 100644 index 0000000..a9926fc --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.37.0. + * Original file: /npm/has-tostringtag@1.0.2/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var hasSymbols=require("has-symbols");module.exports=function(){return hasSymbols()&&"symbol"==typeof Symbol.toStringTag}; +//# sourceMappingURL=/sm/c19534893fd11d8a01ff45f739d19549c9e7b2ce0eb5310c00cbd8ba0b0d7b6e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/package.json b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/package.json new file mode 100644 index 0000000..e5b0300 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/package.json @@ -0,0 +1,108 @@ +{ + "name": "has-tostringtag", + "version": "1.0.2", + "author": { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "contributors": [ + { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + } + ], + "description": "Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.", + "license": "MIT", + "main": "index.js", + "types": "./index.d.ts", + "exports": { + ".": [ + { + "types": "./index.d.ts", + "default": "./index.js" + }, + "./index.js" + ], + "./shams": [ + { + "types": "./shams.d.ts", + "default": "./shams.js" + }, + "./shams.js" + ], + "./package.json": "./package.json" + }, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run --silent lint", + "test": "npm run tests-only", + "posttest": "aud --production", + "tests-only": "npm run test:stock && npm run test:shams", + "test:stock": "nyc node test", + "test:staging": "nyc node --harmony --es-staging test", + "test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs", + "test:shams:corejs": "nyc node test/shams/core-js.js", + "test:shams:getownpropertysymbols": "nyc node test/shams/get-own-property-symbols.js", + "lint": "eslint --ext=js,mjs .", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/inspect-js/has-tostringtag.git" + }, + "bugs": { + "url": "https://github.com/inspect-js/has-tostringtag/issues" + }, + "homepage": "https://github.com/inspect-js/has-tostringtag#readme", + "keywords": [ + "javascript", + "ecmascript", + "symbol", + "symbols", + "tostringtag", + "Symbol.toStringTag" + ], + "devDependencies": { + "@ljharb/eslint-config": "^21.1.0", + "@types/has-symbols": "^1.0.2", + "@types/tape": "^5.6.4", + "aud": "^2.0.4", + "auto-changelog": "^2.4.0", + "core-js": "^2.6.12", + "eslint": "=8.8.0", + "get-own-property-symbols": "^0.9.5", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.7.4", + "typescript": "next" + }, + "engines": { + "node": ">= 0.4" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "dependencies": { + "has-symbols": "^1.0.3" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.d.ts b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.d.ts new file mode 100644 index 0000000..ea4aeec --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.d.ts @@ -0,0 +1,3 @@ +declare function hasToStringTagShams(): boolean; + +export = hasToStringTagShams; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.js new file mode 100644 index 0000000..809580d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.js @@ -0,0 +1,8 @@ +'use strict'; + +var hasSymbols = require('has-symbols/shams'); + +/** @type {import('.')} */ +module.exports = function hasToStringTagShams() { + return hasSymbols() && !!Symbol.toStringTag; +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.min.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.min.js new file mode 100644 index 0000000..ba66341 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/has-tostringtag@1.0.2/shams.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var hasSymbols=require("has-symbols/shams");module.exports=function(){return hasSymbols()&&!!Symbol.toStringTag}; +//# sourceMappingURL=/sm/74b74fcf67d326c0e3c2308c1fbd3816dc9b895004c27e0b00a35af601c9cadf.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.js new file mode 100644 index 0000000..0679afd --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.js @@ -0,0 +1,21 @@ +'use strict'; + +var test = require('tape'); +var hasSymbolToStringTag = require('../'); +var runSymbolTests = require('./tests'); + +test('interface', function (t) { + t.equal(typeof hasSymbolToStringTag, 'function', 'is a function'); + t.equal(typeof hasSymbolToStringTag(), 'boolean', 'returns a boolean'); + t.end(); +}); + +test('Symbol.toStringTag exists', { skip: !hasSymbolToStringTag() }, function (t) { + runSymbolTests(t); + t.end(); +}); + +test('Symbol.toStringTag does not exist', { skip: hasSymbolToStringTag() }, function (t) { + t.equal(typeof Symbol === 'undefined' ? 'undefined' : typeof Symbol.toStringTag, 'undefined', 'global Symbol.toStringTag is undefined'); + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.min.js new file mode 100644 index 0000000..07b2527 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/has-tostringtag@1.0.2/test/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var test=require("tape"),hasSymbolToStringTag=require("../"),runSymbolTests=require("./tests");test("interface",(function(t){t.equal(typeof hasSymbolToStringTag,"function","is a function"),t.equal(typeof hasSymbolToStringTag(),"boolean","returns a boolean"),t.end()})),test("Symbol.toStringTag exists",{skip:!hasSymbolToStringTag()},(function(t){runSymbolTests(t),t.end()})),test("Symbol.toStringTag does not exist",{skip:hasSymbolToStringTag()},(function(t){t.equal("undefined"==typeof Symbol?"undefined":typeof Symbol.toStringTag,"undefined","global Symbol.toStringTag is undefined"),t.end()})); +//# sourceMappingURL=/sm/0965c2fe1d4b21d33c917ed2a3f9c8a580b9b54ca7d432927e0e15efe362559b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.js new file mode 100644 index 0000000..7ab214d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.js @@ -0,0 +1,31 @@ +'use strict'; + +var test = require('tape'); + +if (typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol') { + test('has native Symbol.toStringTag support', function (t) { + t.equal(typeof Symbol, 'function'); + t.equal(typeof Symbol.toStringTag, 'symbol'); + t.end(); + }); + // @ts-expect-error CJS has top-level return + return; +} + +var hasSymbolToStringTag = require('../../shams'); + +test('polyfilled Symbols', function (t) { + /* eslint-disable global-require */ + t.equal(hasSymbolToStringTag(), false, 'hasSymbolToStringTag is false before polyfilling'); + // @ts-expect-error no types defined + require('core-js/fn/symbol'); + // @ts-expect-error no types defined + require('core-js/fn/symbol/to-string-tag'); + + require('../tests')(t); + + var hasToStringTagAfter = hasSymbolToStringTag(); + t.equal(hasToStringTagAfter, true, 'hasSymbolToStringTag is true after polyfilling'); + /* eslint-enable global-require */ + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.min.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.min.js new file mode 100644 index 0000000..1d8e2e7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.min.js @@ -0,0 +1,37 @@ +/** + * Failed to minify the file using Terser v5.39.0. Serving the original version. + * Original file: /npm/has-tostringtag@1.0.2/test/shams/core-js.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +'use strict'; + +var test = require('tape'); + +if (typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol') { + test('has native Symbol.toStringTag support', function (t) { + t.equal(typeof Symbol, 'function'); + t.equal(typeof Symbol.toStringTag, 'symbol'); + t.end(); + }); + // @ts-expect-error CJS has top-level return + return; +} + +var hasSymbolToStringTag = require('../../shams'); + +test('polyfilled Symbols', function (t) { + /* eslint-disable global-require */ + t.equal(hasSymbolToStringTag(), false, 'hasSymbolToStringTag is false before polyfilling'); + // @ts-expect-error no types defined + require('core-js/fn/symbol'); + // @ts-expect-error no types defined + require('core-js/fn/symbol/to-string-tag'); + + require('../tests')(t); + + var hasToStringTagAfter = hasSymbolToStringTag(); + t.equal(hasToStringTagAfter, true, 'hasSymbolToStringTag is true after polyfilling'); + /* eslint-enable global-require */ + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js new file mode 100644 index 0000000..c8af44c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js @@ -0,0 +1,30 @@ +'use strict'; + +var test = require('tape'); + +if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { + test('has native Symbol support', function (t) { + t.equal(typeof Symbol, 'function'); + t.equal(typeof Symbol(), 'symbol'); + t.end(); + }); + // @ts-expect-error CJS has top-level return + return; +} + +var hasSymbolToStringTag = require('../../shams'); + +test('polyfilled Symbols', function (t) { + /* eslint-disable global-require */ + t.equal(hasSymbolToStringTag(), false, 'hasSymbolToStringTag is false before polyfilling'); + + // @ts-expect-error no types defined + require('get-own-property-symbols'); + + require('../tests')(t); + + var hasToStringTagAfter = hasSymbolToStringTag(); + t.equal(hasToStringTagAfter, true, 'hasSymbolToStringTag is true after polyfilling'); + /* eslint-enable global-require */ + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.min.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.min.js new file mode 100644 index 0000000..66c161c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.min.js @@ -0,0 +1,36 @@ +/** + * Failed to minify the file using Terser v5.39.0. Serving the original version. + * Original file: /npm/has-tostringtag@1.0.2/test/shams/get-own-property-symbols.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +'use strict'; + +var test = require('tape'); + +if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { + test('has native Symbol support', function (t) { + t.equal(typeof Symbol, 'function'); + t.equal(typeof Symbol(), 'symbol'); + t.end(); + }); + // @ts-expect-error CJS has top-level return + return; +} + +var hasSymbolToStringTag = require('../../shams'); + +test('polyfilled Symbols', function (t) { + /* eslint-disable global-require */ + t.equal(hasSymbolToStringTag(), false, 'hasSymbolToStringTag is false before polyfilling'); + + // @ts-expect-error no types defined + require('get-own-property-symbols'); + + require('../tests')(t); + + var hasToStringTagAfter = hasSymbolToStringTag(); + t.equal(hasToStringTagAfter, true, 'hasSymbolToStringTag is true after polyfilling'); + /* eslint-enable global-require */ + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.js new file mode 100644 index 0000000..2aa0d48 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.js @@ -0,0 +1,15 @@ +'use strict'; + +// eslint-disable-next-line consistent-return +module.exports = /** @type {(t: import('tape').Test) => void | false} */ function runSymbolTests(t) { + t.equal(typeof Symbol, 'function', 'global Symbol is a function'); + t.ok(Symbol.toStringTag, 'Symbol.toStringTag exists'); + + if (typeof Symbol !== 'function' || !Symbol.toStringTag) { return false; } + + /** @type {{ [Symbol.toStringTag]?: 'test'}} */ + var obj = {}; + obj[Symbol.toStringTag] = 'test'; + + t.equal(Object.prototype.toString.call(obj), '[object test]'); +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.min.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.min.js new file mode 100644 index 0000000..9e45161 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/has-tostringtag@1.0.2/test/tests.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=function(t){if(t.equal(typeof Symbol,"function","global Symbol is a function"),t.ok(Symbol.toStringTag,"Symbol.toStringTag exists"),"function"!=typeof Symbol||!Symbol.toStringTag)return!1;var o={};o[Symbol.toStringTag]="test",t.equal(Object.prototype.toString.call(o),"[object test]")}; +//# sourceMappingURL=/sm/f81c237c0311650ff5231363df7a7a684dc3908f9b4bbcb2a05b38f94ade1d2b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/tsconfig.json new file mode 100644 index 0000000..2002ce5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/tsconfig.json @@ -0,0 +1,49 @@ +{ + "compilerOptions": { + /* Visit https://aka.ms/tsconfig to read more about this file */ + + /* Projects */ + + /* Language and Environment */ + "target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ + // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ + "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ + // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ + + /* Modules */ + "module": "commonjs", /* Specify what module code is generated. */ + // "rootDir": "./", /* Specify the root folder within your source files. */ + // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ + // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ + // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ + "typeRoots": ["types"], /* Specify multiple folders that act like './node_modules/@types'. */ + "resolveJsonModule": true, /* Enable importing .json files. */ + // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */ + + /* JavaScript Support */ + "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ + "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ + "maxNodeModuleJsDepth": 0, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ + + /* Emit */ + "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ + "declarationMap": true, /* Create sourcemaps for d.ts files. */ + "noEmit": true, /* Disable emitting files from a compilation. */ + + /* Interop Constraints */ + "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ + "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ + "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ + + /* Type Checking */ + "strict": true, /* Enable all strict type-checking options. */ + + /* Completeness */ + //"skipLibCheck": true /* Skip type checking all .d.ts files. */ + }, + "exclude": [ + "coverage" + ] +} diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/hasown/CHANGELOG.md new file mode 100644 index 0000000..90a43dc --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/hasown/CHANGELOG.md @@ -0,0 +1,58 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v2.0.4](https://github.com/inspect-js/hasOwn/compare/v2.0.3...v2.0.4) - 2026-05-28 + +### Commits + +- [types] drop the dead key-narrowing overload [`fdab00e`](https://github.com/inspect-js/hasOwn/commit/fdab00e2703e65411424e19bf86a7e72a8f10da9) +- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `eslint` [`91f6247`](https://github.com/inspect-js/hasOwn/commit/91f624768dd0f7db0d019b89d4d86bd66e20ec30) + +## [v2.0.3](https://github.com/inspect-js/hasOwn/compare/v2.0.2...v2.0.3) - 2026-04-17 + +### Commits + +- [actions] update workflows [`fb837b8`](https://github.com/inspect-js/hasOwn/commit/fb837b849bcdb8416fdc8fd344edfacd5574696c) +- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/tape`, `auto-changelog`, `eslint`, `mock-property`, `npmignore`, `tape` [`f4b279b`](https://github.com/inspect-js/hasOwn/commit/f4b279bd682be34b3f0ede2a58d4e8acb58d6d47) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`; migrate to flat config [`7e415ce`](https://github.com/inspect-js/hasOwn/commit/7e415cee55ebf43b3c34d7fd86db73a9928b05f7) +- [Dev Deps] update `eslint` [`ef313da`](https://github.com/inspect-js/hasOwn/commit/ef313da342d33b60e23e738b9f5a86f6065f39ef) +- [meta] use `npm audit` instead of `aud` [`d5c6d4d`](https://github.com/inspect-js/hasOwn/commit/d5c6d4d7a19c6ca4f14ac173b30d8bf25abcabee) +- [types] add overload that narrows the key [`cc03a09`](https://github.com/inspect-js/hasOwn/commit/cc03a097e9402fb8b86d413050e67f790dd6c8c5) + +## [v2.0.2](https://github.com/inspect-js/hasOwn/compare/v2.0.1...v2.0.2) - 2024-03-10 + +### Commits + +- [types] use shared config [`68e9d4d`](https://github.com/inspect-js/hasOwn/commit/68e9d4dab6facb4f05f02c6baea94a3f2a4e44b2) +- [actions] remove redundant finisher; use reusable workflow [`241a68e`](https://github.com/inspect-js/hasOwn/commit/241a68e13ea1fe52bec5ba7f74144befc31fae7b) +- [Tests] increase coverage [`4125c0d`](https://github.com/inspect-js/hasOwn/commit/4125c0d6121db56ae30e38346dfb0c000b04f0a7) +- [Tests] skip `npm ls` in old node due to TS [`01b9282`](https://github.com/inspect-js/hasOwn/commit/01b92822f9971dea031eafdd14767df41d61c202) +- [types] improve predicate type [`d340f85`](https://github.com/inspect-js/hasOwn/commit/d340f85ce02e286ef61096cbbb6697081d40a12b) +- [Dev Deps] update `tape` [`70089fc`](https://github.com/inspect-js/hasOwn/commit/70089fcf544e64acc024cbe60f5a9b00acad86de) +- [Tests] use `@arethetypeswrong/cli` [`50b272c`](https://github.com/inspect-js/hasOwn/commit/50b272c829f40d053a3dd91c9796e0ac0b2af084) + +## [v2.0.1](https://github.com/inspect-js/hasOwn/compare/v2.0.0...v2.0.1) - 2024-02-10 + +### Commits + +- [types] use a handwritten d.ts file; fix exported type [`012b989`](https://github.com/inspect-js/hasOwn/commit/012b9898ccf91dc441e2ebf594ff70270a5fda58) +- [Dev Deps] update `@types/function-bind`, `@types/mock-property`, `@types/tape`, `aud`, `mock-property`, `npmignore`, `tape`, `typescript` [`977a56f`](https://github.com/inspect-js/hasOwn/commit/977a56f51a1f8b20566f3c471612137894644025) +- [meta] add `sideEffects` flag [`3a60b7b`](https://github.com/inspect-js/hasOwn/commit/3a60b7bf42fccd8c605e5f145a6fcc83b13cb46f) + +## [v2.0.0](https://github.com/inspect-js/hasOwn/compare/v1.0.1...v2.0.0) - 2023-10-19 + +### Commits + +- revamped implementation, tests, readme [`72bf8b3`](https://github.com/inspect-js/hasOwn/commit/72bf8b338e77a638f0a290c63ffaed18339c36b4) +- [meta] revamp package.json [`079775f`](https://github.com/inspect-js/hasOwn/commit/079775fb1ec72c1c6334069593617a0be3847458) +- Only apps should have lockfiles [`6640e23`](https://github.com/inspect-js/hasOwn/commit/6640e233d1bb8b65260880f90787637db157d215) + +## v1.0.1 - 2023-10-10 + +### Commits + +- Initial commit [`8dbfde6`](https://github.com/inspect-js/hasOwn/commit/8dbfde6e8fb0ebb076fab38d138f2984eb340a62) diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/LICENSE b/Lombiq.EInvoiceValidator/node_modules/hasown/LICENSE new file mode 100644 index 0000000..0314929 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/hasown/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) Jordan Harband and contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/README.md b/Lombiq.EInvoiceValidator/node_modules/hasown/README.md new file mode 100644 index 0000000..f759b8a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/hasown/README.md @@ -0,0 +1,40 @@ +# hasown [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +A robust, ES3 compatible, "has own property" predicate. + +## Example + +```js +const assert = require('assert'); +const hasOwn = require('hasown'); + +assert.equal(hasOwn({}, 'toString'), false); +assert.equal(hasOwn([], 'length'), true); +assert.equal(hasOwn({ a: 42 }, 'a'), true); +``` + +## Tests +Simply clone the repo, `npm install`, and run `npm test` + +[package-url]: https://npmjs.org/package/hasown +[npm-version-svg]: https://versionbadg.es/inspect-js/hasown.svg +[deps-svg]: https://david-dm.org/inspect-js/hasOwn.svg +[deps-url]: https://david-dm.org/inspect-js/hasOwn +[dev-deps-svg]: https://david-dm.org/inspect-js/hasOwn/dev-status.svg +[dev-deps-url]: https://david-dm.org/inspect-js/hasOwn#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/hasown.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/hasown.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/hasown.svg +[downloads-url]: https://npm-stat.com/charts.html?package=hasown +[codecov-image]: https://codecov.io/gh/inspect-js/hasOwn/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/inspect-js/hasOwn/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/hasOwn +[actions-url]: https://github.com/inspect-js/hasOwn/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/eslint.config.mjs b/Lombiq.EInvoiceValidator/node_modules/hasown/eslint.config.mjs new file mode 100644 index 0000000..3d634a0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/hasown/eslint.config.mjs @@ -0,0 +1,6 @@ +import ljharbConfig from '@ljharb/eslint-config/flat'; + +export default [ + ...ljharbConfig, + { rules: { 'no-extra-parens': 'off' } }, +]; diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/hasown/index.d.ts new file mode 100644 index 0000000..aafdf3b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/hasown/index.d.ts @@ -0,0 +1,3 @@ +declare function hasOwn(o: O, p: K): o is O & Record; + +export = hasOwn; diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/index.js b/Lombiq.EInvoiceValidator/node_modules/hasown/index.js new file mode 100644 index 0000000..34e6059 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/hasown/index.js @@ -0,0 +1,8 @@ +'use strict'; + +var call = Function.prototype.call; +var $hasOwn = Object.prototype.hasOwnProperty; +var bind = require('function-bind'); + +/** @type {import('.')} */ +module.exports = bind.call(call, $hasOwn); diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/index.min.js b/Lombiq.EInvoiceValidator/node_modules/hasown/index.min.js new file mode 100644 index 0000000..c2d508b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/hasown/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/hasown@2.0.4/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var call=Function.prototype.call,$hasOwn=Object.prototype.hasOwnProperty,bind=require("function-bind");module.exports=bind.call(call,$hasOwn); +//# sourceMappingURL=/sm/b9923ab81e10f78ce95fce3cc4667298efc564f576c338fae516ac24577d33e9.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/package.json b/Lombiq.EInvoiceValidator/node_modules/hasown/package.json new file mode 100644 index 0000000..fb86cc3 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/hasown/package.json @@ -0,0 +1,91 @@ +{ + "name": "hasown", + "version": "2.0.4", + "description": "A robust, ES3 compatible, \"has own property\" predicate.", + "main": "index.js", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "types": "index.d.ts", + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint .", + "postlint": "npm run tsc", + "pretest": "npm run lint", + "tsc": "tsc -p .", + "posttsc": "attw -P", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@\">= 10.2\" audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/inspect-js/hasOwn.git" + }, + "keywords": [ + "has", + "hasOwnProperty", + "hasOwn", + "has-own", + "own", + "has", + "property", + "in", + "javascript", + "ecmascript" + ], + "author": "Jordan Harband ", + "license": "MIT", + "bugs": { + "url": "https://github.com/inspect-js/hasOwn/issues" + }, + "homepage": "https://github.com/inspect-js/hasOwn#readme", + "dependencies": { + "function-bind": "^1.1.2" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.18.2", + "@ljharb/eslint-config": "^22.2.3", + "@ljharb/tsconfig": "^0.3.2", + "@types/function-bind": "^1.1.10", + "@types/tape": "^5.8.1", + "auto-changelog": "^2.5.1", + "eslint": "^10.4.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "jiti": "^0.0.0", + "mock-property": "^1.1.0", + "npmignore": "^0.3.5", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "engines": { + "node": ">= 0.4" + }, + "testling": { + "files": "test/index.js" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows", + "test" + ] + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/hasown/tsconfig.json new file mode 100644 index 0000000..0930c56 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/hasown/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "@ljharb/tsconfig", + "exclude": [ + "coverage", + ], +} diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/LICENSE b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/LICENSE new file mode 100644 index 0000000..008728c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/LICENSE @@ -0,0 +1,22 @@ +(The MIT License) + +Copyright (c) 2013 Nathan Rajlich + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/README.md b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/README.md new file mode 100644 index 0000000..ebc53cf --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/README.md @@ -0,0 +1,70 @@ +https-proxy-agent +================ +### An HTTP(s) proxy `http.Agent` implementation for HTTPS + +This module provides an `http.Agent` implementation that connects to a specified +HTTP or HTTPS proxy server, and can be used with the built-in `https` module. + +Specifically, this `Agent` implementation connects to an intermediary "proxy" +server and issues the [CONNECT HTTP method][CONNECT], which tells the proxy to +open a direct TCP connection to the destination server. + +Since this agent implements the CONNECT HTTP method, it also works with other +protocols that use this method when connecting over proxies (i.e. WebSockets). +See the "Examples" section below for more. + +Examples +-------- + +#### `https` module example + +```ts +import * as https from 'https'; +import { HttpsProxyAgent } from 'https-proxy-agent'; + +const agent = new HttpsProxyAgent('http://168.63.76.32:3128'); + +https.get('https://example.com', { agent }, (res) => { + console.log('"response" event!', res.headers); + res.pipe(process.stdout); +}); +``` + +#### `ws` WebSocket connection example + +```ts +import WebSocket from 'ws'; +import { HttpsProxyAgent } from 'https-proxy-agent'; + +const agent = new HttpsProxyAgent('http://168.63.76.32:3128'); +const socket = new WebSocket('ws://echo.websocket.org', { agent }); + +socket.on('open', function () { + console.log('"open" event!'); + socket.send('hello world'); +}); + +socket.on('message', function (data, flags) { + console.log('"message" event! %j %j', data, flags); + socket.close(); +}); +``` + +API +--- + +### new HttpsProxyAgent(proxy: string | URL, options?: HttpsProxyAgentOptions) + +The `HttpsProxyAgent` class implements an `http.Agent` subclass that connects +to the specified "HTTP(s) proxy server" in order to proxy HTTPS and/or WebSocket +requests. This is achieved by using the [HTTP `CONNECT` method][CONNECT]. + +The `proxy` argument is the URL for the proxy server. + +The `options` argument accepts the usual `http.Agent` constructor options, and +some additional properties: + + * `headers` - Object containing additional headers to send to the proxy server + in the `CONNECT` request. + +[CONNECT]: http://en.wikipedia.org/wiki/HTTP_tunnel#HTTP_CONNECT_Tunneling diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts new file mode 100644 index 0000000..457668a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts @@ -0,0 +1,51 @@ +import * as net from 'net'; +import * as tls from 'tls'; +import * as http from 'http'; +import { Agent, AgentConnectOpts } from 'agent-base'; +import { URL } from 'url'; +import type { OutgoingHttpHeaders } from 'http'; +import { type OnProxyAuthCallback, type ProxyAuthResponse } from 'proxy-agent-negotiate'; +export type { OnProxyAuthCallback, ProxyAuthResponse }; +type Protocol = T extends `${infer Protocol}:${infer _}` ? Protocol : never; +type ConnectOptsMap = { + http: Omit; + https: Omit; +}; +type ConnectOpts = { + [P in keyof ConnectOptsMap]: Protocol extends P ? ConnectOptsMap[P] : never; +}[keyof ConnectOptsMap]; +export type HttpsProxyAgentOptions = ConnectOpts & http.AgentOptions & { + headers?: OutgoingHttpHeaders | (() => OutgoingHttpHeaders); + onProxyAuth?: OnProxyAuthCallback; + negotiate?: boolean; +}; +/** + * The `HttpsProxyAgent` implements an HTTP Agent subclass that connects to + * the specified "HTTP(s) proxy server" in order to proxy HTTPS requests. + * + * Outgoing HTTP requests are first tunneled through the proxy server using the + * `CONNECT` HTTP request method to establish a connection to the proxy server, + * and then the proxy server connects to the destination target and issues the + * HTTP request from the proxy server. + * + * `https:` requests have their socket connection upgraded to TLS once + * the connection to the proxy server has been established. + */ +export declare class HttpsProxyAgent extends Agent { + static protocols: readonly ["http", "https"]; + readonly proxy: URL; + proxyHeaders: OutgoingHttpHeaders | (() => OutgoingHttpHeaders); + connectOpts: net.TcpNetConnectOpts & tls.ConnectionOptions; + onProxyAuth?: OnProxyAuthCallback; + constructor(proxy: Uri | URL, opts?: HttpsProxyAgentOptions); + /** + * Called when the node-core HTTP client library is creating a + * new HTTP request. + */ + connect(req: http.ClientRequest, opts: AgentConnectOpts): Promise; + /** + * Retry a CONNECT request with additional auth headers. + */ + private _connectWithAuth; +} +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts.map b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts.map new file mode 100644 index 0000000..b7ed483 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAG7B,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAChD,OAAO,EAEN,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,MAAM,uBAAuB,CAAC;AAE/B,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,CAAC;AAuBvD,KAAK,QAAQ,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,MAAM,QAAQ,IAAI,MAAM,CAAC,EAAE,GAAG,QAAQ,GAAG,KAAK,CAAC;AAE/E,KAAK,cAAc,GAAG;IACrB,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,iBAAiB,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IACnD,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,iBAAiB,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CACpD,CAAC;AAEF,KAAK,WAAW,CAAC,CAAC,IAAI;KACpB,CAAC,IAAI,MAAM,cAAc,GAAG,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,GAC/C,cAAc,CAAC,CAAC,CAAC,GACjB,KAAK;CACR,CAAC,MAAM,cAAc,CAAC,CAAC;AAExB,MAAM,MAAM,sBAAsB,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,GACrD,IAAI,CAAC,YAAY,GAAG;IACnB,OAAO,CAAC,EAAE,mBAAmB,GAAG,CAAC,MAAM,mBAAmB,CAAC,CAAC;IAC5D,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEH;;;;;;;;;;;GAWG;AACH,qBAAa,eAAe,CAAC,GAAG,SAAS,MAAM,CAAE,SAAQ,KAAK;IAC7D,MAAM,CAAC,SAAS,6BAA8B;IAE9C,QAAQ,CAAC,KAAK,EAAE,GAAG,CAAC;IACpB,YAAY,EAAE,mBAAmB,GAAG,CAAC,MAAM,mBAAmB,CAAC,CAAC;IAChE,WAAW,EAAE,GAAG,CAAC,iBAAiB,GAAG,GAAG,CAAC,iBAAiB,CAAC;IAC3D,WAAW,CAAC,EAAE,mBAAmB,CAAC;gBAEtB,KAAK,EAAE,GAAG,GAAG,GAAG,EAAE,IAAI,CAAC,EAAE,sBAAsB,CAAC,GAAG,CAAC;IAkChE;;;OAGG;IACG,OAAO,CACZ,GAAG,EAAE,IAAI,CAAC,aAAa,EACvB,IAAI,EAAE,gBAAgB,GACpB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;IA8HtB;;OAEG;YACW,gBAAgB;CA4E9B"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js new file mode 100644 index 0000000..207a134 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js @@ -0,0 +1,234 @@ +import * as net from 'net'; +import * as tls from 'tls'; +import assert from 'assert'; +import createDebug from 'debug'; +import { Agent } from 'agent-base'; +import { URL } from 'url'; +import { parseProxyResponse } from './parse-proxy-response.js'; +import { createNegotiateAuth, } from 'proxy-agent-negotiate'; +const debug = createDebug('https-proxy-agent'); +const setServernameFromNonIpHost = (options) => { + if (options.servername === undefined && + options.host && + !net.isIP(options.host)) { + return { + ...options, + servername: options.host, + }; + } + return options; +}; +/** + * The `HttpsProxyAgent` implements an HTTP Agent subclass that connects to + * the specified "HTTP(s) proxy server" in order to proxy HTTPS requests. + * + * Outgoing HTTP requests are first tunneled through the proxy server using the + * `CONNECT` HTTP request method to establish a connection to the proxy server, + * and then the proxy server connects to the destination target and issues the + * HTTP request from the proxy server. + * + * `https:` requests have their socket connection upgraded to TLS once + * the connection to the proxy server has been established. + */ +export class HttpsProxyAgent extends Agent { + constructor(proxy, opts) { + super(opts); + this.options = { path: undefined }; + this.proxy = typeof proxy === 'string' ? new URL(proxy) : proxy; + this.proxyHeaders = opts?.headers ?? {}; + debug('Creating new HttpsProxyAgent instance: %o', this.proxy.href); + if (opts?.negotiate) { + this.onProxyAuth = createNegotiateAuth(); + } + else if (opts?.onProxyAuth) { + this.onProxyAuth = opts.onProxyAuth; + } + // Trim off the brackets from IPv6 addresses + const host = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, ''); + const port = this.proxy.port + ? parseInt(this.proxy.port, 10) + : this.proxy.protocol === 'https:' + ? 443 + : 80; + this.connectOpts = { + // Attempt to negotiate http/1.1 for proxy servers that support http/2 + ALPNProtocols: ['http/1.1'], + ...(opts + ? omit(opts, 'headers', 'onProxyAuth', 'negotiate') + : null), + host, + port, + }; + } + /** + * Called when the node-core HTTP client library is creating a + * new HTTP request. + */ + async connect(req, opts) { + const { proxy } = this; + if (!opts.host) { + throw new TypeError('No "host" provided'); + } + // Create a socket connection to the proxy server. + let socket; + if (proxy.protocol === 'https:') { + debug('Creating `tls.Socket`: %o', this.connectOpts); + socket = tls.connect(setServernameFromNonIpHost(this.connectOpts)); + } + else { + debug('Creating `net.Socket`: %o', this.connectOpts); + socket = net.connect(this.connectOpts); + } + const headers = typeof this.proxyHeaders === 'function' + ? this.proxyHeaders() + : { ...this.proxyHeaders }; + const host = net.isIPv6(opts.host) ? `[${opts.host}]` : opts.host; + let payload = `CONNECT ${host}:${opts.port} HTTP/1.1\r\n`; + // Inject the `Proxy-Authorization` header if necessary. + if (proxy.username || proxy.password) { + const auth = `${decodeURIComponent(proxy.username)}:${decodeURIComponent(proxy.password)}`; + headers['Proxy-Authorization'] = `Basic ${Buffer.from(auth).toString('base64')}`; + } + headers.Host = `${host}:${opts.port}`; + if (!headers['Proxy-Connection']) { + headers['Proxy-Connection'] = this.keepAlive + ? 'Keep-Alive' + : 'close'; + } + for (const name of Object.keys(headers)) { + payload += `${name}: ${headers[name]}\r\n`; + } + const proxyResponsePromise = parseProxyResponse(socket); + socket.write(`${payload}\r\n`); + const { connect, buffered } = await proxyResponsePromise; + req.emit('proxyConnect', connect); + this.emit('proxyConnect', connect, req); + req.emit('proxy', { proxy: this.proxy.href, socket }); + if (connect.statusCode === 200) { + req.once('socket', resume); + if (opts.secureEndpoint) { + // The proxy is connecting to a TLS server, so upgrade + // this socket connection to a TLS connection. + debug('Upgrading socket connection to TLS'); + return tls.connect({ + ...omit(setServernameFromNonIpHost(opts), 'host', 'path', 'port'), + socket, + }); + } + return socket; + } + // Handle 407 Proxy Authentication Required + if (connect.statusCode === 407 && this.onProxyAuth) { + debug('Got 407 response, invoking onProxyAuth callback'); + socket.destroy(); + const proxyAuthenticate = connect.headers['proxy-authenticate'] || ''; + const scheme = Array.isArray(proxyAuthenticate) + ? proxyAuthenticate[0].split(/\s/)[0] + : proxyAuthenticate.split(/\s/)[0]; + const authResponse = await this.onProxyAuth({ + response: connect, + scheme, + }); + // Retry with the auth headers + return this._connectWithAuth(req, opts, authResponse.headers); + } + // Some other status code that's not 200... need to re-play the HTTP + // header "data" events onto the socket once the HTTP machinery is + // attached so that the node core `http` can parse and handle the + // error status code. + // Close the original socket, and a new "fake" socket is returned + // instead, so that the proxy doesn't get the HTTP request + // written to it (which may contain `Authorization` headers or other + // sensitive data). + // + // See: https://hackerone.com/reports/541502 + socket.destroy(); + const fakeSocket = new net.Socket({ writable: false }); + fakeSocket.readable = true; + // Need to wait for the "socket" event to re-play the "data" events. + req.once('socket', (s) => { + debug('Replaying proxy buffer for failed request'); + assert(s.listenerCount('data') > 0); + // Replay the "buffered" Buffer onto the fake `socket`, since at + // this point the HTTP module machinery has been hooked up for + // the user. + s.push(buffered); + s.push(null); + }); + return fakeSocket; + } + /** + * Retry a CONNECT request with additional auth headers. + */ + async _connectWithAuth(req, opts, authHeaders) { + const { proxy } = this; + let socket; + if (proxy.protocol === 'https:') { + socket = tls.connect(setServernameFromNonIpHost(this.connectOpts)); + } + else { + socket = net.connect(this.connectOpts); + } + const headers = typeof this.proxyHeaders === 'function' + ? this.proxyHeaders() + : { ...this.proxyHeaders }; + const host = net.isIPv6(opts.host) ? `[${opts.host}]` : opts.host; + let payload = `CONNECT ${host}:${opts.port} HTTP/1.1\r\n`; + if (proxy.username || proxy.password) { + const auth = `${decodeURIComponent(proxy.username)}:${decodeURIComponent(proxy.password)}`; + headers['Proxy-Authorization'] = `Basic ${Buffer.from(auth).toString('base64')}`; + } + // Merge auth headers (overrides existing) + Object.assign(headers, authHeaders); + headers.Host = `${host}:${opts.port}`; + if (!headers['Proxy-Connection']) { + headers['Proxy-Connection'] = this.keepAlive + ? 'Keep-Alive' + : 'close'; + } + for (const name of Object.keys(headers)) { + payload += `${name}: ${headers[name]}\r\n`; + } + const proxyResponsePromise = parseProxyResponse(socket); + socket.write(`${payload}\r\n`); + const { connect } = await proxyResponsePromise; + req.emit('proxyConnect', connect); + this.emit('proxyConnect', connect, req); + if (connect.statusCode === 200) { + req.once('socket', resume); + if (opts.secureEndpoint) { + debug('Upgrading socket connection to TLS'); + return tls.connect({ + ...omit(setServernameFromNonIpHost(opts), 'host', 'path', 'port'), + socket, + }); + } + return socket; + } + // If still not 200, throw + socket.destroy(); + throw new Error(`Proxy authentication failed with status ${connect.statusCode} after retry`); + } +} +HttpsProxyAgent.protocols = ['http', 'https']; +function resume(socket) { + // Defer the resume so that all 'socket' event handlers have a chance + // to attach their listeners (e.g. the HTTP client's 'data' handler) + // before data starts flowing. Without this, buffered proxy-response + // data can be emitted synchronously before listeners are ready. + // See: https://github.com/nicolo-ribaudo/tc39-proposal-await-dictionary/issues/7 + setImmediate(() => { + socket.resume(); + }); +} +function omit(obj, ...keys) { + const ret = {}; + let key; + for (key in obj) { + if (!keys.includes(key)) { + ret[key] = obj[key]; + } + } + return ret; +} +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js.map b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js.map new file mode 100644 index 0000000..4ae712c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,WAAW,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,KAAK,EAAoB,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAmB,MAAM,2BAA2B,CAAC;AAEhF,OAAO,EACN,mBAAmB,GAGnB,MAAM,uBAAuB,CAAC;AAI/B,MAAM,KAAK,GAAG,WAAW,CAAC,mBAAmB,CAAC,CAAC;AAE/C,MAAM,0BAA0B,GAAG,CAGlC,OAAU,EACT,EAAE;IACH,IACC,OAAO,CAAC,UAAU,KAAK,SAAS;QAChC,OAAO,CAAC,IAAI;QACZ,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EACtB,CAAC;QACF,OAAO;YACN,GAAG,OAAO;YACV,UAAU,EAAE,OAAO,CAAC,IAAI;SACxB,CAAC;IACH,CAAC;IACD,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC;AAuBF;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,eAAoC,SAAQ,KAAK;IAQ7D,YAAY,KAAgB,EAAE,IAAkC;QAC/D,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,CAAC,OAAO,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACnC,IAAI,CAAC,KAAK,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;QAChE,IAAI,CAAC,YAAY,GAAG,IAAI,EAAE,OAAO,IAAI,EAAE,CAAC;QACxC,KAAK,CAAC,2CAA2C,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAEpE,IAAI,IAAI,EAAE,SAAS,EAAE,CAAC;YACrB,IAAI,CAAC,WAAW,GAAG,mBAAmB,EAAE,CAAC;QAC1C,CAAC;aAAM,IAAI,IAAI,EAAE,WAAW,EAAE,CAAC;YAC9B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,CAAC;QAED,4CAA4C;QAC5C,MAAM,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,CAC5D,UAAU,EACV,EAAE,CACF,CAAC;QACF,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI;YAC3B,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;YAC/B,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,QAAQ;gBAClC,CAAC,CAAC,GAAG;gBACL,CAAC,CAAC,EAAE,CAAC;QACN,IAAI,CAAC,WAAW,GAAG;YAClB,sEAAsE;YACtE,aAAa,EAAE,CAAC,UAAU,CAAC;YAC3B,GAAG,CAAC,IAAI;gBACP,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,WAAW,CAAC;gBACnD,CAAC,CAAC,IAAI,CAAC;YACR,IAAI;YACJ,IAAI;SACJ,CAAC;IACH,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,OAAO,CACZ,GAAuB,EACvB,IAAsB;QAEtB,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;QAEvB,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;YAChB,MAAM,IAAI,SAAS,CAAC,oBAAoB,CAAC,CAAC;QAC3C,CAAC;QAED,kDAAkD;QAClD,IAAI,MAAkB,CAAC;QACvB,IAAI,KAAK,CAAC,QAAQ,KAAK,QAAQ,EAAE,CAAC;YACjC,KAAK,CAAC,2BAA2B,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;YACrD,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,0BAA0B,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QACpE,CAAC;aAAM,CAAC;YACP,KAAK,CAAC,2BAA2B,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;YACrD,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACxC,CAAC;QAED,MAAM,OAAO,GACZ,OAAO,IAAI,CAAC,YAAY,KAAK,UAAU;YACtC,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE;YACrB,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAC7B,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QAClE,IAAI,OAAO,GAAG,WAAW,IAAI,IAAI,IAAI,CAAC,IAAI,eAAe,CAAC;QAE1D,wDAAwD;QACxD,IAAI,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;YACtC,MAAM,IAAI,GAAG,GAAG,kBAAkB,CACjC,KAAK,CAAC,QAAQ,CACd,IAAI,kBAAkB,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC1C,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAS,MAAM,CAAC,IAAI,CACpD,IAAI,CACJ,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QACxB,CAAC;QAED,OAAO,CAAC,IAAI,GAAG,GAAG,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;QAEtC,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAAC,EAAE,CAAC;YAClC,OAAO,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,SAAS;gBAC3C,CAAC,CAAC,YAAY;gBACd,CAAC,CAAC,OAAO,CAAC;QACZ,CAAC;QACD,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YACzC,OAAO,IAAI,GAAG,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;QAC5C,CAAC;QAED,MAAM,oBAAoB,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC;QAExD,MAAM,CAAC,KAAK,CAAC,GAAG,OAAO,MAAM,CAAC,CAAC;QAE/B,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,MAAM,oBAAoB,CAAC;QACzD,GAAG,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;QAClC,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC;QACxC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;QAEtD,IAAI,OAAO,CAAC,UAAU,KAAK,GAAG,EAAE,CAAC;YAChC,GAAG,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;YAE3B,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;gBACzB,sDAAsD;gBACtD,8CAA8C;gBAC9C,KAAK,CAAC,oCAAoC,CAAC,CAAC;gBAC5C,OAAO,GAAG,CAAC,OAAO,CAAC;oBAClB,GAAG,IAAI,CACN,0BAA0B,CAAC,IAAI,CAAC,EAChC,MAAM,EACN,MAAM,EACN,MAAM,CACN;oBACD,MAAM;iBACN,CAAC,CAAC;YACJ,CAAC;YAED,OAAO,MAAM,CAAC;QACf,CAAC;QAED,2CAA2C;QAC3C,IAAI,OAAO,CAAC,UAAU,KAAK,GAAG,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACpD,KAAK,CAAC,iDAAiD,CAAC,CAAC;YACzD,MAAM,CAAC,OAAO,EAAE,CAAC;YAEjB,MAAM,iBAAiB,GACtB,OAAO,CAAC,OAAO,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC;YAC7C,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC;gBAC9C,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;gBACrC,CAAC,CAAC,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;YAEpC,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC;gBAC3C,QAAQ,EAAE,OAAO;gBACjB,MAAM;aACN,CAAC,CAAC;YAEH,8BAA8B;YAC9B,OAAO,IAAI,CAAC,gBAAgB,CAAC,GAAG,EAAE,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;QAC/D,CAAC;QAED,oEAAoE;QACpE,kEAAkE;QAClE,iEAAiE;QACjE,qBAAqB;QAErB,iEAAiE;QACjE,0DAA0D;QAC1D,oEAAoE;QACpE,mBAAmB;QACnB,EAAE;QACF,4CAA4C;QAC5C,MAAM,CAAC,OAAO,EAAE,CAAC;QAEjB,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC;QACvD,UAAU,CAAC,QAAQ,GAAG,IAAI,CAAC;QAE3B,oEAAoE;QACpE,GAAG,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAa,EAAE,EAAE;YACpC,KAAK,CAAC,2CAA2C,CAAC,CAAC;YACnD,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;YAEpC,gEAAgE;YAChE,8DAA8D;YAC9D,YAAY;YACZ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACjB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACd,CAAC,CAAC,CAAC;QAEH,OAAO,UAAU,CAAC;IACnB,CAAC;IAED;;OAEG;IACK,KAAK,CAAC,gBAAgB,CAC7B,GAAuB,EACvB,IAAsB,EACtB,WAAgC;QAEhC,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;QAEvB,IAAI,MAAkB,CAAC;QACvB,IAAI,KAAK,CAAC,QAAQ,KAAK,QAAQ,EAAE,CAAC;YACjC,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,0BAA0B,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QACpE,CAAC;aAAM,CAAC;YACP,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACxC,CAAC;QAED,MAAM,OAAO,GACZ,OAAO,IAAI,CAAC,YAAY,KAAK,UAAU;YACtC,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE;YACrB,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAC7B,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,IAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAK,CAAC;QACpE,IAAI,OAAO,GAAG,WAAW,IAAI,IAAI,IAAI,CAAC,IAAI,eAAe,CAAC;QAE1D,IAAI,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;YACtC,MAAM,IAAI,GAAG,GAAG,kBAAkB,CACjC,KAAK,CAAC,QAAQ,CACd,IAAI,kBAAkB,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC1C,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAS,MAAM,CAAC,IAAI,CACpD,IAAI,CACJ,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QACxB,CAAC;QAED,0CAA0C;QAC1C,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QAEpC,OAAO,CAAC,IAAI,GAAG,GAAG,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;QAEtC,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAAC,EAAE,CAAC;YAClC,OAAO,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,SAAS;gBAC3C,CAAC,CAAC,YAAY;gBACd,CAAC,CAAC,OAAO,CAAC;QACZ,CAAC;QACD,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YACzC,OAAO,IAAI,GAAG,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;QAC5C,CAAC;QAED,MAAM,oBAAoB,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC;QACxD,MAAM,CAAC,KAAK,CAAC,GAAG,OAAO,MAAM,CAAC,CAAC;QAE/B,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,oBAAoB,CAAC;QAC/C,GAAG,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;QAClC,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC;QAExC,IAAI,OAAO,CAAC,UAAU,KAAK,GAAG,EAAE,CAAC;YAChC,GAAG,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;YAE3B,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;gBACzB,KAAK,CAAC,oCAAoC,CAAC,CAAC;gBAC5C,OAAO,GAAG,CAAC,OAAO,CAAC;oBAClB,GAAG,IAAI,CACN,0BAA0B,CAAC,IAAI,CAAC,EAChC,MAAM,EACN,MAAM,EACN,MAAM,CACN;oBACD,MAAM;iBACN,CAAC,CAAC;YACJ,CAAC;YAED,OAAO,MAAM,CAAC;QACf,CAAC;QAED,0BAA0B;QAC1B,MAAM,CAAC,OAAO,EAAE,CAAC;QACjB,MAAM,IAAI,KAAK,CACd,2CAA2C,OAAO,CAAC,UAAU,cAAc,CAC3E,CAAC;IACH,CAAC;;AA5PM,yBAAS,GAAG,CAAC,MAAM,EAAE,OAAO,CAAU,CAAC;AA+P/C,SAAS,MAAM,CAAC,MAAkC;IACjD,qEAAqE;IACrE,oEAAoE;IACpE,oEAAoE;IACpE,gEAAgE;IAChE,iFAAiF;IACjF,YAAY,CAAC,GAAG,EAAE;QACjB,MAAM,CAAC,MAAM,EAAE,CAAC;IACjB,CAAC,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,IAAI,CACZ,GAAM,EACN,GAAG,IAAO;IAIV,MAAM,GAAG,GAAG,EAEX,CAAC;IACF,IAAI,GAAqB,CAAC;IAC1B,KAAK,GAAG,IAAI,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YACzB,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QACrB,CAAC;IACF,CAAC;IACD,OAAO,GAAG,CAAC;AACZ,CAAC"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.min.js b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.min.js new file mode 100644 index 0000000..c83db57 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/https-proxy-agent@9.1.0/dist/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import*as net from"net";import*as tls from"tls";import assert from"assert";import createDebug from"debug";import{Agent}from"agent-base";import{URL}from"url";import{parseProxyResponse}from"./parse-proxy-response.js";import{createNegotiateAuth}from"proxy-agent-negotiate";const debug=createDebug("https-proxy-agent"),setServernameFromNonIpHost=t=>void 0===t.servername&&t.host&&!net.isIP(t.host)?{...t,servername:t.host}:t;export class HttpsProxyAgent extends Agent{constructor(t,e){super(e),this.options={path:void 0},this.proxy="string"==typeof t?new URL(t):t,this.proxyHeaders=e?.headers??{},debug("Creating new HttpsProxyAgent instance: %o",this.proxy.href),e?.negotiate?this.onProxyAuth=createNegotiateAuth():e?.onProxyAuth&&(this.onProxyAuth=e.onProxyAuth);const o=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),s=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...e?omit(e,"headers","onProxyAuth","negotiate"):null,host:o,port:s}}async connect(t,e){const{proxy:o}=this;if(!e.host)throw new TypeError('No "host" provided');let s;"https:"===o.protocol?(debug("Creating `tls.Socket`: %o",this.connectOpts),s=tls.connect(setServernameFromNonIpHost(this.connectOpts))):(debug("Creating `net.Socket`: %o",this.connectOpts),s=net.connect(this.connectOpts));const r="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},n=net.isIPv6(e.host)?`[${e.host}]`:e.host;let i=`CONNECT ${n}:${e.port} HTTP/1.1\r\n`;if(o.username||o.password){const t=`${decodeURIComponent(o.username)}:${decodeURIComponent(o.password)}`;r["Proxy-Authorization"]=`Basic ${Buffer.from(t).toString("base64")}`}r.Host=`${n}:${e.port}`,r["Proxy-Connection"]||(r["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(const t of Object.keys(r))i+=`${t}: ${r[t]}\r\n`;const c=parseProxyResponse(s);s.write(`${i}\r\n`);const{connect:p,buffered:a}=await c;if(t.emit("proxyConnect",p),this.emit("proxyConnect",p,t),t.emit("proxy",{proxy:this.proxy.href,socket:s}),200===p.statusCode)return t.once("socket",resume),e.secureEndpoint?(debug("Upgrading socket connection to TLS"),tls.connect({...omit(setServernameFromNonIpHost(e),"host","path","port"),socket:s})):s;if(407===p.statusCode&&this.onProxyAuth){debug("Got 407 response, invoking onProxyAuth callback"),s.destroy();const o=p.headers["proxy-authenticate"]||"",r=Array.isArray(o)?o[0].split(/\s/)[0]:o.split(/\s/)[0],n=await this.onProxyAuth({response:p,scheme:r});return this._connectWithAuth(t,e,n.headers)}s.destroy();const h=new net.Socket({writable:!1});return h.readable=!0,t.once("socket",t=>{debug("Replaying proxy buffer for failed request"),assert(t.listenerCount("data")>0),t.push(a),t.push(null)}),h}async _connectWithAuth(t,e,o){const{proxy:s}=this;let r;r="https:"===s.protocol?tls.connect(setServernameFromNonIpHost(this.connectOpts)):net.connect(this.connectOpts);const n="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},i=net.isIPv6(e.host)?`[${e.host}]`:e.host;let c=`CONNECT ${i}:${e.port} HTTP/1.1\r\n`;if(s.username||s.password){const t=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;n["Proxy-Authorization"]=`Basic ${Buffer.from(t).toString("base64")}`}Object.assign(n,o),n.Host=`${i}:${e.port}`,n["Proxy-Connection"]||(n["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(const t of Object.keys(n))c+=`${t}: ${n[t]}\r\n`;const p=parseProxyResponse(r);r.write(`${c}\r\n`);const{connect:a}=await p;if(t.emit("proxyConnect",a),this.emit("proxyConnect",a,t),200===a.statusCode)return t.once("socket",resume),e.secureEndpoint?(debug("Upgrading socket connection to TLS"),tls.connect({...omit(setServernameFromNonIpHost(e),"host","path","port"),socket:r})):r;throw r.destroy(),new Error(`Proxy authentication failed with status ${a.statusCode} after retry`)}}function resume(t){setImmediate(()=>{t.resume()})}function omit(t,...e){const o={};let s;for(s in t)e.includes(s)||(o[s]=t[s]);return o}HttpsProxyAgent.protocols=["http","https"]; +//# sourceMappingURL=/sm/8ca4cee9a01b929824c7bc371e3d1349e5f00d7f94c585cc962359b868a270f0.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts new file mode 100644 index 0000000..ad54186 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts @@ -0,0 +1,12 @@ +import { IncomingHttpHeaders } from 'http'; +import { Readable } from 'stream'; +export interface ConnectResponse { + statusCode: number; + statusText: string; + headers: IncomingHttpHeaders; +} +export declare function parseProxyResponse(socket: Readable): Promise<{ + connect: ConnectResponse; + buffered: Buffer; +}>; +//# sourceMappingURL=parse-proxy-response.d.ts.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map new file mode 100644 index 0000000..f928adf --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"parse-proxy-response.d.ts","sourceRoot":"","sources":["../src/parse-proxy-response.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAIlC,MAAM,WAAW,eAAe;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,mBAAmB,CAAC;CAC7B;AAED,wBAAgB,kBAAkB,CACjC,MAAM,EAAE,QAAQ,GACd,OAAO,CAAC;IAAE,OAAO,EAAE,eAAe,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,CAyGzD"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js new file mode 100644 index 0000000..6ecc13a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js @@ -0,0 +1,94 @@ +import createDebug from 'debug'; +const debug = createDebug('https-proxy-agent:parse-proxy-response'); +export function parseProxyResponse(socket) { + return new Promise((resolve, reject) => { + // we need to buffer any HTTP traffic that happens with the proxy before we get + // the CONNECT response, so that if the response is anything other than an "200" + // response code, then we can re-play the "data" events on the socket once the + // HTTP parser is hooked up... + let buffersLength = 0; + const buffers = []; + function read() { + const b = socket.read(); + if (b) + ondata(b); + else + socket.once('readable', read); + } + function cleanup() { + socket.removeListener('end', onend); + socket.removeListener('error', onerror); + socket.removeListener('readable', read); + } + function onend() { + cleanup(); + debug('onend'); + reject(new Error('Proxy connection ended before receiving CONNECT response')); + } + function onerror(err) { + cleanup(); + debug('onerror %o', err); + reject(err); + } + function ondata(b) { + buffers.push(b); + buffersLength += b.length; + const buffered = Buffer.concat(buffers, buffersLength); + const endOfHeaders = buffered.indexOf('\r\n\r\n'); + if (endOfHeaders === -1) { + // keep buffering + debug('have not received end of HTTP headers yet...'); + read(); + return; + } + const headerParts = buffered + .slice(0, endOfHeaders) + .toString('ascii') + .split('\r\n'); + const firstLine = headerParts.shift(); + if (!firstLine) { + socket.destroy(); + return reject(new Error('No header received from proxy CONNECT response')); + } + const firstLineParts = firstLine.split(' '); + const statusCode = +firstLineParts[1]; + const statusText = firstLineParts.slice(2).join(' '); + const headers = {}; + for (const header of headerParts) { + if (!header) + continue; + const firstColon = header.indexOf(':'); + if (firstColon === -1) { + socket.destroy(); + return reject(new Error(`Invalid header from proxy CONNECT response: "${header}"`)); + } + const key = header.slice(0, firstColon).toLowerCase(); + const value = header.slice(firstColon + 1).trimStart(); + const current = headers[key]; + if (typeof current === 'string') { + headers[key] = [current, value]; + } + else if (Array.isArray(current)) { + current.push(value); + } + else { + headers[key] = value; + } + } + debug('got proxy server response: %o %o', firstLine, headers); + cleanup(); + resolve({ + connect: { + statusCode, + statusText, + headers, + }, + buffered, + }); + } + socket.on('error', onerror); + socket.on('end', onend); + read(); + }); +} +//# sourceMappingURL=parse-proxy-response.js.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map new file mode 100644 index 0000000..3545309 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map @@ -0,0 +1 @@ +{"version":3,"file":"parse-proxy-response.js","sourceRoot":"","sources":["../src/parse-proxy-response.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,OAAO,CAAC;AAIhC,MAAM,KAAK,GAAG,WAAW,CAAC,wCAAwC,CAAC,CAAC;AAQpE,MAAM,UAAU,kBAAkB,CACjC,MAAgB;IAEhB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACtC,+EAA+E;QAC/E,gFAAgF;QAChF,8EAA8E;QAC9E,8BAA8B;QAC9B,IAAI,aAAa,GAAG,CAAC,CAAC;QACtB,MAAM,OAAO,GAAa,EAAE,CAAC;QAE7B,SAAS,IAAI;YACZ,MAAM,CAAC,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC;YACxB,IAAI,CAAC;gBAAE,MAAM,CAAC,CAAC,CAAC,CAAC;;gBACZ,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QACpC,CAAC;QAED,SAAS,OAAO;YACf,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACpC,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;YACxC,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QACzC,CAAC;QAED,SAAS,KAAK;YACb,OAAO,EAAE,CAAC;YACV,KAAK,CAAC,OAAO,CAAC,CAAC;YACf,MAAM,CACL,IAAI,KAAK,CACR,0DAA0D,CAC1D,CACD,CAAC;QACH,CAAC;QAED,SAAS,OAAO,CAAC,GAAU;YAC1B,OAAO,EAAE,CAAC;YACV,KAAK,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;YACzB,MAAM,CAAC,GAAG,CAAC,CAAC;QACb,CAAC;QAED,SAAS,MAAM,CAAC,CAAS;YACxB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAChB,aAAa,IAAI,CAAC,CAAC,MAAM,CAAC;YAE1B,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;YACvD,MAAM,YAAY,GAAG,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;YAElD,IAAI,YAAY,KAAK,CAAC,CAAC,EAAE,CAAC;gBACzB,iBAAiB;gBACjB,KAAK,CAAC,8CAA8C,CAAC,CAAC;gBACtD,IAAI,EAAE,CAAC;gBACP,OAAO;YACR,CAAC;YAED,MAAM,WAAW,GAAG,QAAQ;iBAC1B,KAAK,CAAC,CAAC,EAAE,YAAY,CAAC;iBACtB,QAAQ,CAAC,OAAO,CAAC;iBACjB,KAAK,CAAC,MAAM,CAAC,CAAC;YAChB,MAAM,SAAS,GAAG,WAAW,CAAC,KAAK,EAAE,CAAC;YACtC,IAAI,CAAC,SAAS,EAAE,CAAC;gBAChB,MAAM,CAAC,OAAO,EAAE,CAAC;gBACjB,OAAO,MAAM,CACZ,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAC3D,CAAC;YACH,CAAC;YACD,MAAM,cAAc,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5C,MAAM,UAAU,GAAG,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;YACtC,MAAM,UAAU,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACrD,MAAM,OAAO,GAAwB,EAAE,CAAC;YACxC,KAAK,MAAM,MAAM,IAAI,WAAW,EAAE,CAAC;gBAClC,IAAI,CAAC,MAAM;oBAAE,SAAS;gBACtB,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;gBACvC,IAAI,UAAU,KAAK,CAAC,CAAC,EAAE,CAAC;oBACvB,MAAM,CAAC,OAAO,EAAE,CAAC;oBACjB,OAAO,MAAM,CACZ,IAAI,KAAK,CACR,gDAAgD,MAAM,GAAG,CACzD,CACD,CAAC;gBACH,CAAC;gBACD,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,WAAW,EAAE,CAAC;gBACtD,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;gBACvD,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;gBAC7B,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;oBACjC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBACjC,CAAC;qBAAM,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;oBACnC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBACrB,CAAC;qBAAM,CAAC;oBACP,OAAO,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;gBACtB,CAAC;YACF,CAAC;YACD,KAAK,CAAC,kCAAkC,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;YAC9D,OAAO,EAAE,CAAC;YACV,OAAO,CAAC;gBACP,OAAO,EAAE;oBACR,UAAU;oBACV,UAAU;oBACV,OAAO;iBACP;gBACD,QAAQ;aACR,CAAC,CAAC;QACJ,CAAC;QAED,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAC5B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QAExB,IAAI,EAAE,CAAC;IACR,CAAC,CAAC,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.min.js b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.min.js new file mode 100644 index 0000000..172b544 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/https-proxy-agent@9.1.0/dist/parse-proxy-response.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import createDebug from"debug";const debug=createDebug("https-proxy-agent:parse-proxy-response");export function parseProxyResponse(e){return new Promise((r,o)=>{let n=0;const t=[];function s(){const c=e.read();c?function(c){t.push(c),n+=c.length;const d=Buffer.concat(t,n),f=d.indexOf("\r\n\r\n");if(-1===f)return debug("have not received end of HTTP headers yet..."),void s();const u=d.slice(0,f).toString("ascii").split("\r\n"),a=u.shift();if(!a)return e.destroy(),o(new Error("No header received from proxy CONNECT response"));const p=a.split(" "),g=+p[1],y=p.slice(2).join(" "),b={};for(const r of u){if(!r)continue;const n=r.indexOf(":");if(-1===n)return e.destroy(),o(new Error(`Invalid header from proxy CONNECT response: "${r}"`));const t=r.slice(0,n).toLowerCase(),s=r.slice(n+1).trimStart(),i=b[t];"string"==typeof i?b[t]=[i,s]:Array.isArray(i)?i.push(s):b[t]=s}debug("got proxy server response: %o %o",a,b),i(),r({connect:{statusCode:g,statusText:y,headers:b},buffered:d})}(c):e.once("readable",s)}function i(){e.removeListener("end",c),e.removeListener("error",d),e.removeListener("readable",s)}function c(){i(),debug("onend"),o(new Error("Proxy connection ended before receiving CONNECT response"))}function d(e){i(),debug("onerror %o",e),o(e)}e.on("error",d),e.on("end",c),s()})} +//# sourceMappingURL=/sm/b9f6ebcb8217df7dc3eca74c07c9a4917799e7c1e37430730e447090d7b9a835.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/package.json b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/package.json new file mode 100644 index 0000000..ae575a2 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/package.json @@ -0,0 +1,51 @@ +{ + "name": "https-proxy-agent", + "version": "9.1.0", + "type": "module", + "description": "An HTTP(s) proxy `http.Agent` implementation for HTTPS", + "exports": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "files": [ + "dist" + ], + "repository": { + "type": "git", + "url": "https://github.com/TooTallNate/proxy-agents.git", + "directory": "packages/https-proxy-agent" + }, + "keywords": [ + "https", + "proxy", + "endpoint", + "agent" + ], + "author": "Nathan Rajlich (http://n8.io/)", + "license": "MIT", + "dependencies": { + "debug": "^4.3.4", + "agent-base": "9.0.0", + "proxy-agent-negotiate": "1.1.0" + }, + "devDependencies": { + "@types/async-retry": "^1.4.5", + "@types/debug": "^4.1.7", + "@types/node": "^22.13.0", + "async-listen": "^3.0.0", + "async-retry": "^1.3.3", + "typescript": "^5.1.6", + "proxy": "4.1.0", + "tsconfig": "0.0.0" + }, + "engines": { + "node": ">= 20" + }, + "scripts": { + "build": "tsc", + "test": "vitest --exclude test/e2e.test.ts", + "test-e2e": "vitest run test/e2e.test.ts", + "lint": "eslint --ext .ts", + "pack": "node ../../scripts/pack.mjs" + } +} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/CHANGELOG.md new file mode 100644 index 0000000..9cf48f5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/CHANGELOG.md @@ -0,0 +1,24 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.1.0](https://github.com/es-shims/math-intrinsics/compare/v1.0.0...v1.1.0) - 2024-12-18 + +### Commits + +- [New] add `round` [`7cfb044`](https://github.com/es-shims/math-intrinsics/commit/7cfb04460c0fbdf1ca101eecbac3f59d11994130) +- [Tests] add attw [`e96be8f`](https://github.com/es-shims/math-intrinsics/commit/e96be8fbf58449eafe976446a0470e6ea561ad8d) +- [Dev Deps] update `@types/tape` [`30d0023`](https://github.com/es-shims/math-intrinsics/commit/30d00234ce8a3fa0094a61cd55d6686eb91e36ec) + +## v1.0.0 - 2024-12-11 + +### Commits + +- Initial implementation, tests, readme, types [`b898caa`](https://github.com/es-shims/math-intrinsics/commit/b898caae94e9994a94a42b8740f7bbcfd0a868fe) +- Initial commit [`02745b0`](https://github.com/es-shims/math-intrinsics/commit/02745b03a62255af8a332771987b55d127538d9c) +- [New] add `constants/maxArrayLength`, `mod` [`b978178`](https://github.com/es-shims/math-intrinsics/commit/b978178a57685bd23ed1c7efe2137f3784f5fcc5) +- npm init [`a39fc57`](https://github.com/es-shims/math-intrinsics/commit/a39fc57e5639a645d0bd52a0dc56202480223be2) +- Only apps should have lockfiles [`9451580`](https://github.com/es-shims/math-intrinsics/commit/94515800fb34db4f3cc7e99290042d45609ac7bd) diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/LICENSE b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/LICENSE new file mode 100644 index 0000000..34995e7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 ECMAScript Shims + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/README.md b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/README.md new file mode 100644 index 0000000..4a66dcf --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/README.md @@ -0,0 +1,50 @@ +# math-intrinsics [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +ES Math-related intrinsics and helpers, robustly cached. + + - `abs` + - `floor` + - `isFinite` + - `isInteger` + - `isNaN` + - `isNegativeZero` + - `max` + - `min` + - `mod` + - `pow` + - `round` + - `sign` + - `constants/maxArrayLength` + - `constants/maxSafeInteger` + - `constants/maxValue` + + +## Tests +Simply clone the repo, `npm install`, and run `npm test` + +## Security + +Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. + +[package-url]: https://npmjs.org/package/math-intrinsics +[npm-version-svg]: https://versionbadg.es/es-shims/math-intrinsics.svg +[deps-svg]: https://david-dm.org/es-shims/math-intrinsics.svg +[deps-url]: https://david-dm.org/es-shims/math-intrinsics +[dev-deps-svg]: https://david-dm.org/es-shims/math-intrinsics/dev-status.svg +[dev-deps-url]: https://david-dm.org/es-shims/math-intrinsics#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/math-intrinsics.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/math-intrinsics.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/es-object.svg +[downloads-url]: https://npm-stat.com/charts.html?package=math-intrinsics +[codecov-image]: https://codecov.io/gh/es-shims/math-intrinsics/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/es-shims/math-intrinsics/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/math-intrinsics +[actions-url]: https://github.com/es-shims/math-intrinsics/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.d.ts new file mode 100644 index 0000000..14ad9c6 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.d.ts @@ -0,0 +1 @@ +export = Math.abs; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.js new file mode 100644 index 0000000..a751424 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./abs')} */ +module.exports = Math.abs; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.min.js new file mode 100644 index 0000000..7f93503 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/abs.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=Math.abs; +//# sourceMappingURL=/sm/33e891b996ed4ef340ba6cea5fa8fe85f6c89d962e617d7a4d62ad3e67969892.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.d.ts new file mode 100644 index 0000000..b92d46b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.d.ts @@ -0,0 +1,3 @@ +declare const MAX_ARRAY_LENGTH: 4294967295; + +export = MAX_ARRAY_LENGTH; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.js new file mode 100644 index 0000000..cfc6aff --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./maxArrayLength')} */ +module.exports = 4294967295; // Math.pow(2, 32) - 1; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.min.js new file mode 100644 index 0000000..080d19c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/constants/maxArrayLength.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=4294967295; +//# sourceMappingURL=/sm/2300e1fe6a05341c65566caad3df094f1b755e4c4a0cd4b87bed2e1393f8a500.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts new file mode 100644 index 0000000..fee3f62 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts @@ -0,0 +1,3 @@ +declare const MAX_SAFE_INTEGER: 9007199254740991; + +export = MAX_SAFE_INTEGER; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.js new file mode 100644 index 0000000..b568ad3 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.js @@ -0,0 +1,5 @@ +'use strict'; + +/** @type {import('./maxSafeInteger')} */ +// eslint-disable-next-line no-extra-parens +module.exports = /** @type {import('./maxSafeInteger')} */ (Number.MAX_SAFE_INTEGER) || 9007199254740991; // Math.pow(2, 53) - 1; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.min.js new file mode 100644 index 0000000..8c00f6f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/constants/maxSafeInteger.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=Number.MAX_SAFE_INTEGER||9007199254740991; +//# sourceMappingURL=/sm/0fae714ecf89ca31c2395b1695357e54a9e577b938301d6e7d3baa519677fc0d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.d.ts new file mode 100644 index 0000000..292cb82 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.d.ts @@ -0,0 +1,3 @@ +declare const MAX_VALUE: 1.7976931348623157e+308; + +export = MAX_VALUE; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.js new file mode 100644 index 0000000..a2202dc --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.js @@ -0,0 +1,5 @@ +'use strict'; + +/** @type {import('./maxValue')} */ +// eslint-disable-next-line no-extra-parens +module.exports = /** @type {import('./maxValue')} */ (Number.MAX_VALUE) || 1.7976931348623157e+308; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.min.js new file mode 100644 index 0000000..3cf1b10 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/constants/maxValue.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=Number.MAX_VALUE||17976931348623157e292; +//# sourceMappingURL=/sm/7e483da12299df0ddef1a9e441d6d9bfc734dc11860d99a26b2f65ff5b20656e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.d.ts new file mode 100644 index 0000000..9265236 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.d.ts @@ -0,0 +1 @@ +export = Math.floor; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.js new file mode 100644 index 0000000..ab0e5d7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./floor')} */ +module.exports = Math.floor; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.min.js new file mode 100644 index 0000000..f9c4d76 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/floor.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=Math.floor; +//# sourceMappingURL=/sm/5576ba47fd18d33a0d6e9680602b9cae853b2d2f64117a2700671831ee8d9c71.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.d.ts new file mode 100644 index 0000000..6daae33 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.d.ts @@ -0,0 +1,3 @@ +declare function isFinite(x: unknown): x is number | bigint; + +export = isFinite; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.js new file mode 100644 index 0000000..b201a5a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.js @@ -0,0 +1,12 @@ +'use strict'; + +var $isNaN = require('./isNaN'); + +/** @type {import('./isFinite')} */ +module.exports = function isFinite(x) { + return (typeof x === 'number' || typeof x === 'bigint') + && !$isNaN(x) + && x !== Infinity + && x !== -Infinity; +}; + diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.min.js new file mode 100644 index 0000000..635cdc9 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/isFinite.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var $isNaN=require("./isNaN");module.exports=function(e){return("number"==typeof e||"bigint"==typeof e)&&!$isNaN(e)&&e!==1/0&&e!==-1/0}; +//# sourceMappingURL=/sm/d659b3b09b37b1d5a62ad895af2c63431e9de5623abeab8716dd2cc920efe929.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.d.ts new file mode 100644 index 0000000..13935a8 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.d.ts @@ -0,0 +1,3 @@ +declare function isInteger(argument: unknown): argument is number; + +export = isInteger; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.js new file mode 100644 index 0000000..4b1b9a5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.js @@ -0,0 +1,16 @@ +'use strict'; + +var $abs = require('./abs'); +var $floor = require('./floor'); + +var $isNaN = require('./isNaN'); +var $isFinite = require('./isFinite'); + +/** @type {import('./isInteger')} */ +module.exports = function isInteger(argument) { + if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { + return false; + } + var absValue = $abs(argument); + return $floor(absValue) === absValue; +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.min.js new file mode 100644 index 0000000..df82854 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/isInteger.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var $abs=require("./abs"),$floor=require("./floor"),$isNaN=require("./isNaN"),$isFinite=require("./isFinite");module.exports=function(r){if("number"!=typeof r||$isNaN(r)||!$isFinite(r))return!1;var i=$abs(r);return $floor(i)===i}; +//# sourceMappingURL=/sm/7a1ba4d0f9624cd4fd8ca94eaabd34d85a8b311cd63fb62ef6f77af5bb16e511.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.d.ts new file mode 100644 index 0000000..c1d4c55 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.d.ts @@ -0,0 +1 @@ +export = Number.isNaN; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.js new file mode 100644 index 0000000..e36475c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.js @@ -0,0 +1,6 @@ +'use strict'; + +/** @type {import('./isNaN')} */ +module.exports = Number.isNaN || function isNaN(a) { + return a !== a; +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.min.js new file mode 100644 index 0000000..8bdc1d4 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/isNaN.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=Number.isNaN||function(e){return e!=e}; +//# sourceMappingURL=/sm/aeee4ea7ac00a90f4fbcd5d7868c121a54c8685f4e5591ef7fba714a297ba2a4.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.d.ts new file mode 100644 index 0000000..7ad8819 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.d.ts @@ -0,0 +1,3 @@ +declare function isNegativeZero(x: unknown): boolean; + +export = isNegativeZero; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.js new file mode 100644 index 0000000..b69adcc --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.js @@ -0,0 +1,6 @@ +'use strict'; + +/** @type {import('./isNegativeZero')} */ +module.exports = function isNegativeZero(x) { + return x === 0 && 1 / x === 1 / -0; +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.min.js new file mode 100644 index 0000000..bb99d68 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/isNegativeZero.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=function(t){return 0===t&&1/t==-1/0}; +//# sourceMappingURL=/sm/f22f1df512dfd19100c4b1b81fd22394a8ac8ff2c173d2dd2961c5892a67dcdb.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.d.ts new file mode 100644 index 0000000..ad6f43e --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.d.ts @@ -0,0 +1 @@ +export = Math.max; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.js new file mode 100644 index 0000000..edb55df --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./max')} */ +module.exports = Math.max; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.min.js new file mode 100644 index 0000000..3fd0cc2 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/max.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=Math.max; +//# sourceMappingURL=/sm/30c159e404d0e82e3d68c36d009b3fab6be09c420e093a7d733d90118cd812e2.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.d.ts new file mode 100644 index 0000000..fd90f2d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.d.ts @@ -0,0 +1 @@ +export = Math.min; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.js new file mode 100644 index 0000000..5a4a7c7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./min')} */ +module.exports = Math.min; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.min.js new file mode 100644 index 0000000..1e1f47d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/min.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=Math.min; +//# sourceMappingURL=/sm/82f7fd958e5eb80e0fd2248f42903a4319cac99ef768f3b200a3b61d03121854.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.d.ts new file mode 100644 index 0000000..549dbd4 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.d.ts @@ -0,0 +1,3 @@ +declare function mod(number: number, modulo: number): number; + +export = mod; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.js new file mode 100644 index 0000000..4a98362 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.js @@ -0,0 +1,9 @@ +'use strict'; + +var $floor = require('./floor'); + +/** @type {import('./mod')} */ +module.exports = function mod(number, modulo) { + var remain = number % modulo; + return $floor(remain >= 0 ? remain : remain + modulo); +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.min.js new file mode 100644 index 0000000..db68169 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/mod.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var $floor=require("./floor");module.exports=function(r,o){var e=r%o;return $floor(e>=0?e:e+o)}; +//# sourceMappingURL=/sm/7e3550bfa086151e2561c0be4c4240e236f132aaf823613e0413352d7eb1ae8a.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/package.json b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/package.json new file mode 100644 index 0000000..0676273 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/package.json @@ -0,0 +1,86 @@ +{ + "name": "math-intrinsics", + "version": "1.1.0", + "description": "ES Math-related intrinsics and helpers, robustly cached.", + "main": false, + "exports": { + "./abs": "./abs.js", + "./floor": "./floor.js", + "./isFinite": "./isFinite.js", + "./isInteger": "./isInteger.js", + "./isNaN": "./isNaN.js", + "./isNegativeZero": "./isNegativeZero.js", + "./max": "./max.js", + "./min": "./min.js", + "./mod": "./mod.js", + "./pow": "./pow.js", + "./sign": "./sign.js", + "./round": "./round.js", + "./constants/maxArrayLength": "./constants/maxArrayLength.js", + "./constants/maxSafeInteger": "./constants/maxSafeInteger.js", + "./constants/maxValue": "./constants/maxValue.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run lint", + "test": "npm run tests-only", + "tests-only": "nyc tape 'test/**/*.js'", + "posttest": "npx npm@'>= 10.2' audit --production", + "prelint": "evalmd README.md && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc && attw -P", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/es-shims/math-intrinsics.git" + }, + "author": "Jordan Harband ", + "license": "MIT", + "bugs": { + "url": "https://github.com/es-shims/math-intrinsics/issues" + }, + "homepage": "https://github.com/es-shims/math-intrinsics#readme", + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.1", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.2", + "@types/for-each": "^0.3.3", + "@types/object-inspect": "^1.13.0", + "@types/tape": "^5.8.0", + "auto-changelog": "^2.5.0", + "eclint": "^2.8.1", + "es-value-fixtures": "^1.5.0", + "eslint": "^8.8.0", + "evalmd": "^0.0.19", + "for-each": "^0.3.3", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "object-inspect": "^1.13.3", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.d.ts new file mode 100644 index 0000000..5873c44 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.d.ts @@ -0,0 +1 @@ +export = Math.pow; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.js new file mode 100644 index 0000000..c0a4103 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./pow')} */ +module.exports = Math.pow; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.min.js new file mode 100644 index 0000000..a83c43d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/pow.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=Math.pow; +//# sourceMappingURL=/sm/4fa459010dc511770069c47494945424f9a0bcffd6d35debc6b1a7c2ef90b50e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.d.ts new file mode 100644 index 0000000..da1fde3 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.d.ts @@ -0,0 +1 @@ +export = Math.round; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.js new file mode 100644 index 0000000..b792156 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./round')} */ +module.exports = Math.round; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.min.js new file mode 100644 index 0000000..3107234 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/round.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";module.exports=Math.round; +//# sourceMappingURL=/sm/7695509f0550bbaa09b38a8b859663089415cde5d315fced97e4a0f6510e78c6.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.d.ts new file mode 100644 index 0000000..c49ceca --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.d.ts @@ -0,0 +1,3 @@ +declare function sign(x: number): number; + +export = sign; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.js new file mode 100644 index 0000000..9e5173c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.js @@ -0,0 +1,11 @@ +'use strict'; + +var $isNaN = require('./isNaN'); + +/** @type {import('./sign')} */ +module.exports = function sign(number) { + if ($isNaN(number) || number === 0) { + return number; + } + return number < 0 ? -1 : +1; +}; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.min.js new file mode 100644 index 0000000..8e013c7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/sign.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var $isNaN=require("./isNaN");module.exports=function(r){return $isNaN(r)||0===r?r:r<0?-1:1}; +//# sourceMappingURL=/sm/5a5f3227e9cfbbe6d7021d07d8e2b2de4c2bd11319166837a641e7163e5d1c41.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.js new file mode 100644 index 0000000..0f90a5d --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.js @@ -0,0 +1,192 @@ +'use strict'; + +var test = require('tape'); +var v = require('es-value-fixtures'); +var forEach = require('for-each'); +var inspect = require('object-inspect'); + +var abs = require('../abs'); +var floor = require('../floor'); +var isFinite = require('../isFinite'); +var isInteger = require('../isInteger'); +var isNaN = require('../isNaN'); +var isNegativeZero = require('../isNegativeZero'); +var max = require('../max'); +var min = require('../min'); +var mod = require('../mod'); +var pow = require('../pow'); +var round = require('../round'); +var sign = require('../sign'); + +var maxArrayLength = require('../constants/maxArrayLength'); +var maxSafeInteger = require('../constants/maxSafeInteger'); +var maxValue = require('../constants/maxValue'); + +test('abs', function (t) { + t.equal(abs(-1), 1, 'abs(-1) === 1'); + t.equal(abs(+1), 1, 'abs(+1) === 1'); + t.equal(abs(+0), +0, 'abs(+0) === +0'); + t.equal(abs(-0), +0, 'abs(-0) === +0'); + + t.end(); +}); + +test('floor', function (t) { + t.equal(floor(-1.1), -2, 'floor(-1.1) === -2'); + t.equal(floor(+1.1), 1, 'floor(+1.1) === 1'); + t.equal(floor(+0), +0, 'floor(+0) === +0'); + t.equal(floor(-0), -0, 'floor(-0) === -0'); + t.equal(floor(-Infinity), -Infinity, 'floor(-Infinity) === -Infinity'); + t.equal(floor(Number(Infinity)), Number(Infinity), 'floor(+Infinity) === +Infinity'); + t.equal(floor(NaN), NaN, 'floor(NaN) === NaN'); + t.equal(floor(0), +0, 'floor(0) === +0'); + t.equal(floor(-0), -0, 'floor(-0) === -0'); + t.equal(floor(1), 1, 'floor(1) === 1'); + t.equal(floor(-1), -1, 'floor(-1) === -1'); + t.equal(floor(1.1), 1, 'floor(1.1) === 1'); + t.equal(floor(-1.1), -2, 'floor(-1.1) === -2'); + t.equal(floor(maxValue), maxValue, 'floor(maxValue) === maxValue'); + t.equal(floor(maxSafeInteger), maxSafeInteger, 'floor(maxSafeInteger) === maxSafeInteger'); + + t.end(); +}); + +test('isFinite', function (t) { + t.equal(isFinite(0), true, 'isFinite(+0) === true'); + t.equal(isFinite(-0), true, 'isFinite(-0) === true'); + t.equal(isFinite(1), true, 'isFinite(1) === true'); + t.equal(isFinite(Infinity), false, 'isFinite(Infinity) === false'); + t.equal(isFinite(-Infinity), false, 'isFinite(-Infinity) === false'); + t.equal(isFinite(NaN), false, 'isFinite(NaN) === false'); + + forEach(v.nonNumbers, function (nonNumber) { + t.equal(isFinite(nonNumber), false, 'isFinite(' + inspect(nonNumber) + ') === false'); + }); + + t.end(); +}); + +test('isInteger', function (t) { + forEach([].concat( + // @ts-expect-error TS sucks with concat + v.nonNumbers, + v.nonIntegerNumbers + ), function (nonInteger) { + t.equal(isInteger(nonInteger), false, 'isInteger(' + inspect(nonInteger) + ') === false'); + }); + + t.end(); +}); + +test('isNaN', function (t) { + forEach([].concat( + // @ts-expect-error TS sucks with concat + v.nonNumbers, + v.infinities, + v.zeroes, + v.integerNumbers + ), function (nonNaN) { + t.equal(isNaN(nonNaN), false, 'isNaN(' + inspect(nonNaN) + ') === false'); + }); + + t.equal(isNaN(NaN), true, 'isNaN(NaN) === true'); + + t.end(); +}); + +test('isNegativeZero', function (t) { + t.equal(isNegativeZero(-0), true, 'isNegativeZero(-0) === true'); + t.equal(isNegativeZero(+0), false, 'isNegativeZero(+0) === false'); + t.equal(isNegativeZero(1), false, 'isNegativeZero(1) === false'); + t.equal(isNegativeZero(-1), false, 'isNegativeZero(-1) === false'); + t.equal(isNegativeZero(NaN), false, 'isNegativeZero(NaN) === false'); + t.equal(isNegativeZero(Infinity), false, 'isNegativeZero(Infinity) === false'); + t.equal(isNegativeZero(-Infinity), false, 'isNegativeZero(-Infinity) === false'); + + forEach(v.nonNumbers, function (nonNumber) { + t.equal(isNegativeZero(nonNumber), false, 'isNegativeZero(' + inspect(nonNumber) + ') === false'); + }); + + t.end(); +}); + +test('max', function (t) { + t.equal(max(1, 2), 2, 'max(1, 2) === 2'); + t.equal(max(1, 2, 3), 3, 'max(1, 2, 3) === 3'); + t.equal(max(1, 2, 3, 4), 4, 'max(1, 2, 3, 4) === 4'); + t.equal(max(1, 2, 3, 4, 5), 5, 'max(1, 2, 3, 4, 5) === 5'); + t.equal(max(1, 2, 3, 4, 5, 6), 6, 'max(1, 2, 3, 4, 5, 6) === 6'); + t.equal(max(1, 2, 3, 4, 5, 6, 7), 7, 'max(1, 2, 3, 4, 5, 6, 7) === 7'); + + t.end(); +}); + +test('min', function (t) { + t.equal(min(1, 2), 1, 'min(1, 2) === 1'); + t.equal(min(1, 2, 3), 1, 'min(1, 2, 3) === 1'); + t.equal(min(1, 2, 3, 4), 1, 'min(1, 2, 3, 4) === 1'); + t.equal(min(1, 2, 3, 4, 5), 1, 'min(1, 2, 3, 4, 5) === 1'); + t.equal(min(1, 2, 3, 4, 5, 6), 1, 'min(1, 2, 3, 4, 5, 6) === 1'); + + t.end(); +}); + +test('mod', function (t) { + t.equal(mod(1, 2), 1, 'mod(1, 2) === 1'); + t.equal(mod(2, 2), 0, 'mod(2, 2) === 0'); + t.equal(mod(3, 2), 1, 'mod(3, 2) === 1'); + t.equal(mod(4, 2), 0, 'mod(4, 2) === 0'); + t.equal(mod(5, 2), 1, 'mod(5, 2) === 1'); + t.equal(mod(6, 2), 0, 'mod(6, 2) === 0'); + t.equal(mod(7, 2), 1, 'mod(7, 2) === 1'); + t.equal(mod(8, 2), 0, 'mod(8, 2) === 0'); + t.equal(mod(9, 2), 1, 'mod(9, 2) === 1'); + t.equal(mod(10, 2), 0, 'mod(10, 2) === 0'); + t.equal(mod(11, 2), 1, 'mod(11, 2) === 1'); + + t.end(); +}); + +test('pow', function (t) { + t.equal(pow(2, 2), 4, 'pow(2, 2) === 4'); + t.equal(pow(2, 3), 8, 'pow(2, 3) === 8'); + t.equal(pow(2, 4), 16, 'pow(2, 4) === 16'); + t.equal(pow(2, 5), 32, 'pow(2, 5) === 32'); + t.equal(pow(2, 6), 64, 'pow(2, 6) === 64'); + t.equal(pow(2, 7), 128, 'pow(2, 7) === 128'); + t.equal(pow(2, 8), 256, 'pow(2, 8) === 256'); + t.equal(pow(2, 9), 512, 'pow(2, 9) === 512'); + t.equal(pow(2, 10), 1024, 'pow(2, 10) === 1024'); + + t.end(); +}); + +test('round', function (t) { + t.equal(round(1.1), 1, 'round(1.1) === 1'); + t.equal(round(1.5), 2, 'round(1.5) === 2'); + t.equal(round(1.9), 2, 'round(1.9) === 2'); + + t.end(); +}); + +test('sign', function (t) { + t.equal(sign(-1), -1, 'sign(-1) === -1'); + t.equal(sign(+1), +1, 'sign(+1) === +1'); + t.equal(sign(+0), +0, 'sign(+0) === +0'); + t.equal(sign(-0), -0, 'sign(-0) === -0'); + t.equal(sign(NaN), NaN, 'sign(NaN) === NaN'); + t.equal(sign(Infinity), +1, 'sign(Infinity) === +1'); + t.equal(sign(-Infinity), -1, 'sign(-Infinity) === -1'); + t.equal(sign(maxValue), +1, 'sign(maxValue) === +1'); + t.equal(sign(maxSafeInteger), +1, 'sign(maxSafeInteger) === +1'); + + t.end(); +}); + +test('constants', function (t) { + t.equal(typeof maxArrayLength, 'number', 'typeof maxArrayLength === "number"'); + t.equal(typeof maxSafeInteger, 'number', 'typeof maxSafeInteger === "number"'); + t.equal(typeof maxValue, 'number', 'typeof maxValue === "number"'); + + t.end(); +}); diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.min.js new file mode 100644 index 0000000..c873bfa --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/math-intrinsics@1.1.0/test/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var test=require("tape"),v=require("es-value-fixtures"),forEach=require("for-each"),inspect=require("object-inspect"),abs=require("../abs"),floor=require("../floor"),isFinite=require("../isFinite"),isInteger=require("../isInteger"),isNaN=require("../isNaN"),isNegativeZero=require("../isNegativeZero"),max=require("../max"),min=require("../min"),mod=require("../mod"),pow=require("../pow"),round=require("../round"),sign=require("../sign"),maxArrayLength=require("../constants/maxArrayLength"),maxSafeInteger=require("../constants/maxSafeInteger"),maxValue=require("../constants/maxValue");test("abs",(function(e){e.equal(abs(-1),1,"abs(-1) === 1"),e.equal(abs(1),1,"abs(+1) === 1"),e.equal(abs(0),0,"abs(+0) === +0"),e.equal(abs(-0),0,"abs(-0) === +0"),e.end()})),test("floor",(function(e){e.equal(floor(-1.1),-2,"floor(-1.1) === -2"),e.equal(floor(1.1),1,"floor(+1.1) === 1"),e.equal(floor(0),0,"floor(+0) === +0"),e.equal(floor(-0),-0,"floor(-0) === -0"),e.equal(floor(-1/0),-1/0,"floor(-Infinity) === -Infinity"),e.equal(floor(Number(1/0)),Number(1/0),"floor(+Infinity) === +Infinity"),e.equal(floor(NaN),NaN,"floor(NaN) === NaN"),e.equal(floor(0),0,"floor(0) === +0"),e.equal(floor(-0),-0,"floor(-0) === -0"),e.equal(floor(1),1,"floor(1) === 1"),e.equal(floor(-1),-1,"floor(-1) === -1"),e.equal(floor(1.1),1,"floor(1.1) === 1"),e.equal(floor(-1.1),-2,"floor(-1.1) === -2"),e.equal(floor(maxValue),maxValue,"floor(maxValue) === maxValue"),e.equal(floor(maxSafeInteger),maxSafeInteger,"floor(maxSafeInteger) === maxSafeInteger"),e.end()})),test("isFinite",(function(e){e.equal(isFinite(0),!0,"isFinite(+0) === true"),e.equal(isFinite(-0),!0,"isFinite(-0) === true"),e.equal(isFinite(1),!0,"isFinite(1) === true"),e.equal(isFinite(1/0),!1,"isFinite(Infinity) === false"),e.equal(isFinite(-1/0),!1,"isFinite(-Infinity) === false"),e.equal(isFinite(NaN),!1,"isFinite(NaN) === false"),forEach(v.nonNumbers,(function(a){e.equal(isFinite(a),!1,"isFinite("+inspect(a)+") === false")})),e.end()})),test("isInteger",(function(e){forEach([].concat(v.nonNumbers,v.nonIntegerNumbers),(function(a){e.equal(isInteger(a),!1,"isInteger("+inspect(a)+") === false")})),e.end()})),test("isNaN",(function(e){forEach([].concat(v.nonNumbers,v.infinities,v.zeroes,v.integerNumbers),(function(a){e.equal(isNaN(a),!1,"isNaN("+inspect(a)+") === false")})),e.equal(isNaN(NaN),!0,"isNaN(NaN) === true"),e.end()})),test("isNegativeZero",(function(e){e.equal(isNegativeZero(-0),!0,"isNegativeZero(-0) === true"),e.equal(isNegativeZero(0),!1,"isNegativeZero(+0) === false"),e.equal(isNegativeZero(1),!1,"isNegativeZero(1) === false"),e.equal(isNegativeZero(-1),!1,"isNegativeZero(-1) === false"),e.equal(isNegativeZero(NaN),!1,"isNegativeZero(NaN) === false"),e.equal(isNegativeZero(1/0),!1,"isNegativeZero(Infinity) === false"),e.equal(isNegativeZero(-1/0),!1,"isNegativeZero(-Infinity) === false"),forEach(v.nonNumbers,(function(a){e.equal(isNegativeZero(a),!1,"isNegativeZero("+inspect(a)+") === false")})),e.end()})),test("max",(function(e){e.equal(max(1,2),2,"max(1, 2) === 2"),e.equal(max(1,2,3),3,"max(1, 2, 3) === 3"),e.equal(max(1,2,3,4),4,"max(1, 2, 3, 4) === 4"),e.equal(max(1,2,3,4,5),5,"max(1, 2, 3, 4, 5) === 5"),e.equal(max(1,2,3,4,5,6),6,"max(1, 2, 3, 4, 5, 6) === 6"),e.equal(max(1,2,3,4,5,6,7),7,"max(1, 2, 3, 4, 5, 6, 7) === 7"),e.end()})),test("min",(function(e){e.equal(min(1,2),1,"min(1, 2) === 1"),e.equal(min(1,2,3),1,"min(1, 2, 3) === 1"),e.equal(min(1,2,3,4),1,"min(1, 2, 3, 4) === 1"),e.equal(min(1,2,3,4,5),1,"min(1, 2, 3, 4, 5) === 1"),e.equal(min(1,2,3,4,5,6),1,"min(1, 2, 3, 4, 5, 6) === 1"),e.end()})),test("mod",(function(e){e.equal(mod(1,2),1,"mod(1, 2) === 1"),e.equal(mod(2,2),0,"mod(2, 2) === 0"),e.equal(mod(3,2),1,"mod(3, 2) === 1"),e.equal(mod(4,2),0,"mod(4, 2) === 0"),e.equal(mod(5,2),1,"mod(5, 2) === 1"),e.equal(mod(6,2),0,"mod(6, 2) === 0"),e.equal(mod(7,2),1,"mod(7, 2) === 1"),e.equal(mod(8,2),0,"mod(8, 2) === 0"),e.equal(mod(9,2),1,"mod(9, 2) === 1"),e.equal(mod(10,2),0,"mod(10, 2) === 0"),e.equal(mod(11,2),1,"mod(11, 2) === 1"),e.end()})),test("pow",(function(e){e.equal(pow(2,2),4,"pow(2, 2) === 4"),e.equal(pow(2,3),8,"pow(2, 3) === 8"),e.equal(pow(2,4),16,"pow(2, 4) === 16"),e.equal(pow(2,5),32,"pow(2, 5) === 32"),e.equal(pow(2,6),64,"pow(2, 6) === 64"),e.equal(pow(2,7),128,"pow(2, 7) === 128"),e.equal(pow(2,8),256,"pow(2, 8) === 256"),e.equal(pow(2,9),512,"pow(2, 9) === 512"),e.equal(pow(2,10),1024,"pow(2, 10) === 1024"),e.end()})),test("round",(function(e){e.equal(round(1.1),1,"round(1.1) === 1"),e.equal(round(1.5),2,"round(1.5) === 2"),e.equal(round(1.9),2,"round(1.9) === 2"),e.end()})),test("sign",(function(e){e.equal(sign(-1),-1,"sign(-1) === -1"),e.equal(sign(1),1,"sign(+1) === +1"),e.equal(sign(0),0,"sign(+0) === +0"),e.equal(sign(-0),-0,"sign(-0) === -0"),e.equal(sign(NaN),NaN,"sign(NaN) === NaN"),e.equal(sign(1/0),1,"sign(Infinity) === +1"),e.equal(sign(-1/0),-1,"sign(-Infinity) === -1"),e.equal(sign(maxValue),1,"sign(maxValue) === +1"),e.equal(sign(maxSafeInteger),1,"sign(maxSafeInteger) === +1"),e.end()})),test("constants",(function(e){e.equal(typeof maxArrayLength,"number",'typeof maxArrayLength === "number"'),e.equal(typeof maxSafeInteger,"number",'typeof maxSafeInteger === "number"'),e.equal(typeof maxValue,"number",'typeof maxValue === "number"'),e.end()})); +//# sourceMappingURL=/sm/4c926470fb7dd50bb0d695177c432ec336f648770a5a85ea09b06b2a1b37f357.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/tsconfig.json new file mode 100644 index 0000000..b131000 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "@ljharb/tsconfig", +} diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-db/HISTORY.md b/Lombiq.EInvoiceValidator/node_modules/mime-db/HISTORY.md new file mode 100644 index 0000000..fb35bec --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-db/HISTORY.md @@ -0,0 +1,541 @@ +1.54.0 / 2025-03-17 +=================== + + * Update mime type for DCM format (#362) + * mark application/octet-stream as compressible (#163) + * Fix typo in application/x-zip-compressed mimetype (#359) + * Add mime-type for Jupyter notebooks (#282) + * Add Google Drive MIME types (#311) + * Add .blend file type (#338) + * Add support for the FBX file extension (#342) + * Add Adobe DNG file (#340) + * Add Procreate Brush and Brush Set file Types (#339) + * Add support for Procreate Dreams (#341) + * replace got with undici (#352) + * Added extensions list for model/step (#293) + * Add m4b as a type of audio/mp4 (#357) + * windows 11 application/x-zip-compressed (#346) + * add dotLottie mime type (#351) + * Add some MS-related extensions and types (#336) + +1.53.0 / 2024-07-12 +=================== + + * Add extension `.sql` to `application/sql` + * Add extensions `.aac` and `.adts` to `audio/aac` + * Add extensions `.js` and `.mjs` to `text/javascript` + * Add extensions for `application/mp4` from IANA + * Add extensions from IANA for more MIME types + * Add Microsoft app installer types and extensions + * Add new upstream MIME types + * Fix extensions for `text/markdown` to match IANA + * Remove extension `.mjs` from `application/javascript` + * Remove obsolete MIME types from IANA data + +1.52.0 / 2022-02-21 +=================== + + * Add extensions from IANA for more `image/*` types + * Add extension `.asc` to `application/pgp-keys` + * Add extensions to various XML types + * Add new upstream MIME types + +1.51.0 / 2021-11-08 +=================== + + * Add new upstream MIME types + * Mark `image/vnd.microsoft.icon` as compressible + * Mark `image/vnd.ms-dds` as compressible + +1.50.0 / 2021-09-15 +=================== + + * Add deprecated iWorks mime types and extensions + * Add new upstream MIME types + +1.49.0 / 2021-07-26 +=================== + + * Add extension `.trig` to `application/trig` + * Add new upstream MIME types + +1.48.0 / 2021-05-30 +=================== + + * Add extension `.mvt` to `application/vnd.mapbox-vector-tile` + * Add new upstream MIME types + * Mark `text/yaml` as compressible + +1.47.0 / 2021-04-01 +=================== + + * Add new upstream MIME types + * Remove ambiguous extensions from IANA for `application/*+xml` types + * Update primary extension to `.es` for `application/ecmascript` + +1.46.0 / 2021-02-13 +=================== + + * Add extension `.amr` to `audio/amr` + * Add extension `.m4s` to `video/iso.segment` + * Add extension `.opus` to `audio/ogg` + * Add new upstream MIME types + +1.45.0 / 2020-09-22 +=================== + + * Add `application/ubjson` with extension `.ubj` + * Add `image/avif` with extension `.avif` + * Add `image/ktx2` with extension `.ktx2` + * Add extension `.dbf` to `application/vnd.dbf` + * Add extension `.rar` to `application/vnd.rar` + * Add extension `.td` to `application/urc-targetdesc+xml` + * Add new upstream MIME types + * Fix extension of `application/vnd.apple.keynote` to be `.key` + +1.44.0 / 2020-04-22 +=================== + + * Add charsets from IANA + * Add extension `.cjs` to `application/node` + * Add new upstream MIME types + +1.43.0 / 2020-01-05 +=================== + + * Add `application/x-keepass2` with extension `.kdbx` + * Add extension `.mxmf` to `audio/mobile-xmf` + * Add extensions from IANA for `application/*+xml` types + * Add new upstream MIME types + +1.42.0 / 2019-09-25 +=================== + + * Add `image/vnd.ms-dds` with extension `.dds` + * Add new upstream MIME types + * Remove compressible from `multipart/mixed` + +1.41.0 / 2019-08-30 +=================== + + * Add new upstream MIME types + * Add `application/toml` with extension `.toml` + * Mark `font/ttf` as compressible + +1.40.0 / 2019-04-20 +=================== + + * Add extensions from IANA for `model/*` types + * Add `text/mdx` with extension `.mdx` + +1.39.0 / 2019-04-04 +=================== + + * Add extensions `.siv` and `.sieve` to `application/sieve` + * Add new upstream MIME types + +1.38.0 / 2019-02-04 +=================== + + * Add extension `.nq` to `application/n-quads` + * Add extension `.nt` to `application/n-triples` + * Add new upstream MIME types + * Mark `text/less` as compressible + +1.37.0 / 2018-10-19 +=================== + + * Add extensions to HEIC image types + * Add new upstream MIME types + +1.36.0 / 2018-08-20 +=================== + + * Add Apple file extensions from IANA + * Add extensions from IANA for `image/*` types + * Add new upstream MIME types + +1.35.0 / 2018-07-15 +=================== + + * Add extension `.owl` to `application/rdf+xml` + * Add new upstream MIME types + - Removes extension `.woff` from `application/font-woff` + +1.34.0 / 2018-06-03 +=================== + + * Add extension `.csl` to `application/vnd.citationstyles.style+xml` + * Add extension `.es` to `application/ecmascript` + * Add new upstream MIME types + * Add `UTF-8` as default charset for `text/turtle` + * Mark all XML-derived types as compressible + +1.33.0 / 2018-02-15 +=================== + + * Add extensions from IANA for `message/*` types + * Add new upstream MIME types + * Fix some incorrect OOXML types + * Remove `application/font-woff2` + +1.32.0 / 2017-11-29 +=================== + + * Add new upstream MIME types + * Update `text/hjson` to registered `application/hjson` + * Add `text/shex` with extension `.shex` + +1.31.0 / 2017-10-25 +=================== + + * Add `application/raml+yaml` with extension `.raml` + * Add `application/wasm` with extension `.wasm` + * Add new `font` type from IANA + * Add new upstream font extensions + * Add new upstream MIME types + * Add extensions for JPEG-2000 images + +1.30.0 / 2017-08-27 +=================== + + * Add `application/vnd.ms-outlook` + * Add `application/x-arj` + * Add extension `.mjs` to `application/javascript` + * Add glTF types and extensions + * Add new upstream MIME types + * Add `text/x-org` + * Add VirtualBox MIME types + * Fix `source` records for `video/*` types that are IANA + * Update `font/opentype` to registered `font/otf` + +1.29.0 / 2017-07-10 +=================== + + * Add `application/fido.trusted-apps+json` + * Add extension `.wadl` to `application/vnd.sun.wadl+xml` + * Add new upstream MIME types + * Add `UTF-8` as default charset for `text/css` + +1.28.0 / 2017-05-14 +=================== + + * Add new upstream MIME types + * Add extension `.gz` to `application/gzip` + * Update extensions `.md` and `.markdown` to be `text/markdown` + +1.27.0 / 2017-03-16 +=================== + + * Add new upstream MIME types + * Add `image/apng` with extension `.apng` + +1.26.0 / 2017-01-14 +=================== + + * Add new upstream MIME types + * Add extension `.geojson` to `application/geo+json` + +1.25.0 / 2016-11-11 +=================== + + * Add new upstream MIME types + +1.24.0 / 2016-09-18 +=================== + + * Add `audio/mp3` + * Add new upstream MIME types + +1.23.0 / 2016-05-01 +=================== + + * Add new upstream MIME types + * Add extension `.3gpp` to `audio/3gpp` + +1.22.0 / 2016-02-15 +=================== + + * Add `text/slim` + * Add extension `.rng` to `application/xml` + * Add new upstream MIME types + * Fix extension of `application/dash+xml` to be `.mpd` + * Update primary extension to `.m4a` for `audio/mp4` + +1.21.0 / 2016-01-06 +=================== + + * Add Google document types + * Add new upstream MIME types + +1.20.0 / 2015-11-10 +=================== + + * Add `text/x-suse-ymp` + * Add new upstream MIME types + +1.19.0 / 2015-09-17 +=================== + + * Add `application/vnd.apple.pkpass` + * Add new upstream MIME types + +1.18.0 / 2015-09-03 +=================== + + * Add new upstream MIME types + +1.17.0 / 2015-08-13 +=================== + + * Add `application/x-msdos-program` + * Add `audio/g711-0` + * Add `image/vnd.mozilla.apng` + * Add extension `.exe` to `application/x-msdos-program` + +1.16.0 / 2015-07-29 +=================== + + * Add `application/vnd.uri-map` + +1.15.0 / 2015-07-13 +=================== + + * Add `application/x-httpd-php` + +1.14.0 / 2015-06-25 +=================== + + * Add `application/scim+json` + * Add `application/vnd.3gpp.ussd+xml` + * Add `application/vnd.biopax.rdf+xml` + * Add `text/x-processing` + +1.13.0 / 2015-06-07 +=================== + + * Add nginx as a source + * Add `application/x-cocoa` + * Add `application/x-java-archive-diff` + * Add `application/x-makeself` + * Add `application/x-perl` + * Add `application/x-pilot` + * Add `application/x-redhat-package-manager` + * Add `application/x-sea` + * Add `audio/x-m4a` + * Add `audio/x-realaudio` + * Add `image/x-jng` + * Add `text/mathml` + +1.12.0 / 2015-06-05 +=================== + + * Add `application/bdoc` + * Add `application/vnd.hyperdrive+json` + * Add `application/x-bdoc` + * Add extension `.rtf` to `text/rtf` + +1.11.0 / 2015-05-31 +=================== + + * Add `audio/wav` + * Add `audio/wave` + * Add extension `.litcoffee` to `text/coffeescript` + * Add extension `.sfd-hdstx` to `application/vnd.hydrostatix.sof-data` + * Add extension `.n-gage` to `application/vnd.nokia.n-gage.symbian.install` + +1.10.0 / 2015-05-19 +=================== + + * Add `application/vnd.balsamiq.bmpr` + * Add `application/vnd.microsoft.portable-executable` + * Add `application/x-ns-proxy-autoconfig` + +1.9.1 / 2015-04-19 +================== + + * Remove `.json` extension from `application/manifest+json` + - This is causing bugs downstream + +1.9.0 / 2015-04-19 +================== + + * Add `application/manifest+json` + * Add `application/vnd.micro+json` + * Add `image/vnd.zbrush.pcx` + * Add `image/x-ms-bmp` + +1.8.0 / 2015-03-13 +================== + + * Add `application/vnd.citationstyles.style+xml` + * Add `application/vnd.fastcopy-disk-image` + * Add `application/vnd.gov.sk.xmldatacontainer+xml` + * Add extension `.jsonld` to `application/ld+json` + +1.7.0 / 2015-02-08 +================== + + * Add `application/vnd.gerber` + * Add `application/vnd.msa-disk-image` + +1.6.1 / 2015-02-05 +================== + + * Community extensions ownership transferred from `node-mime` + +1.6.0 / 2015-01-29 +================== + + * Add `application/jose` + * Add `application/jose+json` + * Add `application/json-seq` + * Add `application/jwk+json` + * Add `application/jwk-set+json` + * Add `application/jwt` + * Add `application/rdap+json` + * Add `application/vnd.gov.sk.e-form+xml` + * Add `application/vnd.ims.imsccv1p3` + +1.5.0 / 2014-12-30 +================== + + * Add `application/vnd.oracle.resource+json` + * Fix various invalid MIME type entries + - `application/mbox+xml` + - `application/oscp-response` + - `application/vwg-multiplexed` + - `audio/g721` + +1.4.0 / 2014-12-21 +================== + + * Add `application/vnd.ims.imsccv1p2` + * Fix various invalid MIME type entries + - `application/vnd-acucobol` + - `application/vnd-curl` + - `application/vnd-dart` + - `application/vnd-dxr` + - `application/vnd-fdf` + - `application/vnd-mif` + - `application/vnd-sema` + - `application/vnd-wap-wmlc` + - `application/vnd.adobe.flash-movie` + - `application/vnd.dece-zip` + - `application/vnd.dvb_service` + - `application/vnd.micrografx-igx` + - `application/vnd.sealed-doc` + - `application/vnd.sealed-eml` + - `application/vnd.sealed-mht` + - `application/vnd.sealed-ppt` + - `application/vnd.sealed-tiff` + - `application/vnd.sealed-xls` + - `application/vnd.sealedmedia.softseal-html` + - `application/vnd.sealedmedia.softseal-pdf` + - `application/vnd.wap-slc` + - `application/vnd.wap-wbxml` + - `audio/vnd.sealedmedia.softseal-mpeg` + - `image/vnd-djvu` + - `image/vnd-svf` + - `image/vnd-wap-wbmp` + - `image/vnd.sealed-png` + - `image/vnd.sealedmedia.softseal-gif` + - `image/vnd.sealedmedia.softseal-jpg` + - `model/vnd-dwf` + - `model/vnd.parasolid.transmit-binary` + - `model/vnd.parasolid.transmit-text` + - `text/vnd-a` + - `text/vnd-curl` + - `text/vnd.wap-wml` + * Remove example template MIME types + - `application/example` + - `audio/example` + - `image/example` + - `message/example` + - `model/example` + - `multipart/example` + - `text/example` + - `video/example` + +1.3.1 / 2014-12-16 +================== + + * Fix missing extensions + - `application/json5` + - `text/hjson` + +1.3.0 / 2014-12-07 +================== + + * Add `application/a2l` + * Add `application/aml` + * Add `application/atfx` + * Add `application/atxml` + * Add `application/cdfx+xml` + * Add `application/dii` + * Add `application/json5` + * Add `application/lxf` + * Add `application/mf4` + * Add `application/vnd.apache.thrift.compact` + * Add `application/vnd.apache.thrift.json` + * Add `application/vnd.coffeescript` + * Add `application/vnd.enphase.envoy` + * Add `application/vnd.ims.imsccv1p1` + * Add `text/csv-schema` + * Add `text/hjson` + * Add `text/markdown` + * Add `text/yaml` + +1.2.0 / 2014-11-09 +================== + + * Add `application/cea` + * Add `application/dit` + * Add `application/vnd.gov.sk.e-form+zip` + * Add `application/vnd.tmd.mediaflex.api+xml` + * Type `application/epub+zip` is now IANA-registered + +1.1.2 / 2014-10-23 +================== + + * Rebuild database for `application/x-www-form-urlencoded` change + +1.1.1 / 2014-10-20 +================== + + * Mark `application/x-www-form-urlencoded` as compressible. + +1.1.0 / 2014-09-28 +================== + + * Add `application/font-woff2` + +1.0.3 / 2014-09-25 +================== + + * Fix engine requirement in package + +1.0.2 / 2014-09-25 +================== + + * Add `application/coap-group+json` + * Add `application/dcd` + * Add `application/vnd.apache.thrift.binary` + * Add `image/vnd.tencent.tap` + * Mark all JSON-derived types as compressible + * Update `text/vtt` data + +1.0.1 / 2014-08-30 +================== + + * Fix extension ordering + +1.0.0 / 2014-08-30 +================== + + * Add `application/atf` + * Add `application/merge-patch+json` + * Add `multipart/x-mixed-replace` + * Add `source: 'apache'` metadata + * Add `source: 'iana'` metadata + * Remove badly-assumed charset data diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-db/LICENSE b/Lombiq.EInvoiceValidator/node_modules/mime-db/LICENSE new file mode 100644 index 0000000..0751cb1 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-db/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2014 Jonathan Ong +Copyright (c) 2015-2022 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-db/README.md b/Lombiq.EInvoiceValidator/node_modules/mime-db/README.md new file mode 100644 index 0000000..ee93fa0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-db/README.md @@ -0,0 +1,109 @@ +# mime-db + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Node.js Version][node-image]][node-url] +[![Build Status][ci-image]][ci-url] +[![Coverage Status][coveralls-image]][coveralls-url] + +This is a large database of mime types and information about them. +It consists of a single, public JSON file and does not include any logic, +allowing it to remain as un-opinionated as possible with an API. +It aggregates data from the following sources: + +- https://www.iana.org/assignments/media-types/media-types.xhtml +- https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types +- https://hg.nginx.org/nginx/raw-file/default/conf/mime.types + +## Installation + +```bash +npm install mime-db +``` + +### Database Download + +If you intend to use this in a web browser, you can conveniently access the JSON file via [jsDelivr](https://www.jsdelivr.com/), a popular CDN (Content Delivery Network). To ensure stability and compatibility, it is advisable to specify [a release tag](https://github.com/jshttp/mime-db/tags) instead of using the 'master' branch. This is because the JSON file's format might change in future updates, and relying on a specific release tag will prevent potential issues arising from these changes. + +``` +https://cdn.jsdelivr.net/gh/jshttp/mime-db@master/db.json +``` + +## Usage + +```js +var db = require('mime-db') + +// grab data on .js files +var data = db['application/javascript'] +``` + +## Data Structure + +The JSON file is a map lookup for lowercased mime types. +Each mime type has the following properties: + +- `.source` - where the mime type is defined. + If not set, it's probably a custom media type. + - `apache` - [Apache common media types](https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types) + - `iana` - [IANA-defined media types](https://www.iana.org/assignments/media-types/media-types.xhtml) + - `nginx` - [nginx media types](https://hg.nginx.org/nginx/raw-file/default/conf/mime.types) +- `.extensions[]` - known extensions associated with this mime type. +- `.compressible` - whether a file of this type can be gzipped. +- `.charset` - the default charset associated with this type, if any. + +If unknown, every property could be `undefined`. + +## Note on MIME Type Data and Semver + +This package considers the programmatic api as the semver compatibility. This means the MIME type resolution is *not* considered +in the semver bumps. This means that if you want to pin your `mime-db` data you will need to do it in your application. While +this expectation was not set in docs until now, it is how the pacakge operated, so we do not feel this is a breaking change. + +## Contributing + +The primary way to contribute to this database is by updating the data in +one of the upstream sources. The database is updated from the upstreams +periodically and will pull in any changes. + +### Registering Media Types + +The best way to get new media types included in this library is to register +them with the IANA. The community registration procedure is outlined in +[RFC 6838 section 5](https://tools.ietf.org/html/rfc6838#section-5). Types +registered with the IANA are automatically pulled into this library. + +### Direct Inclusion + +If that is not possible / feasible, they can be added directly here as a +"custom" type. To do this, it is required to have a primary source that +definitively lists the media type. If an extension is going to be listed as +associated with this media type, the source must definitively link the +media type and extension as well. + +To edit the database, only make PRs against `src/custom-types.json` or +`src/custom-suffix.json`. + +The `src/custom-types.json` file is a JSON object with the MIME type as the +keys and the values being an object with the following keys: + +- `compressible` - leave out if you don't know, otherwise `true`/`false` to + indicate whether the data represented by the type is typically compressible. +- `extensions` - include an array of file extensions that are associated with + the type. +- `notes` - human-readable notes about the type, typically what the type is. +- `sources` - include an array of URLs of where the MIME type and the associated + extensions are sourced from. This needs to be a [primary source](https://en.wikipedia.org/wiki/Primary_source); + links to type aggregating sites and Wikipedia are _not acceptable_. + +To update the build, run `npm run build`. + +[ci-image]: https://badgen.net/github/checks/jshttp/mime-db/master?label=ci +[ci-url]: https://github.com/jshttp/mime-db/actions/workflows/ci.yml +[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/mime-db/master +[coveralls-url]: https://coveralls.io/r/jshttp/mime-db?branch=master +[node-image]: https://badgen.net/npm/node/mime-db +[node-url]: https://nodejs.org/en/download +[npm-downloads-image]: https://badgen.net/npm/dm/mime-db +[npm-url]: https://npmjs.org/package/mime-db +[npm-version-image]: https://badgen.net/npm/v/mime-db diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-db/db.json b/Lombiq.EInvoiceValidator/node_modules/mime-db/db.json new file mode 100644 index 0000000..7e74733 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-db/db.json @@ -0,0 +1,9342 @@ +{ + "application/1d-interleaved-parityfec": { + "source": "iana" + }, + "application/3gpdash-qoe-report+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/3gpp-ims+xml": { + "source": "iana", + "compressible": true + }, + "application/3gpphal+json": { + "source": "iana", + "compressible": true + }, + "application/3gpphalforms+json": { + "source": "iana", + "compressible": true + }, + "application/a2l": { + "source": "iana" + }, + "application/ace+cbor": { + "source": "iana" + }, + "application/ace+json": { + "source": "iana", + "compressible": true + }, + "application/ace-groupcomm+cbor": { + "source": "iana" + }, + "application/ace-trl+cbor": { + "source": "iana" + }, + "application/activemessage": { + "source": "iana" + }, + "application/activity+json": { + "source": "iana", + "compressible": true + }, + "application/aif+cbor": { + "source": "iana" + }, + "application/aif+json": { + "source": "iana", + "compressible": true + }, + "application/alto-cdni+json": { + "source": "iana", + "compressible": true + }, + "application/alto-cdnifilter+json": { + "source": "iana", + "compressible": true + }, + "application/alto-costmap+json": { + "source": "iana", + "compressible": true + }, + "application/alto-costmapfilter+json": { + "source": "iana", + "compressible": true + }, + "application/alto-directory+json": { + "source": "iana", + "compressible": true + }, + "application/alto-endpointcost+json": { + "source": "iana", + "compressible": true + }, + "application/alto-endpointcostparams+json": { + "source": "iana", + "compressible": true + }, + "application/alto-endpointprop+json": { + "source": "iana", + "compressible": true + }, + "application/alto-endpointpropparams+json": { + "source": "iana", + "compressible": true + }, + "application/alto-error+json": { + "source": "iana", + "compressible": true + }, + "application/alto-networkmap+json": { + "source": "iana", + "compressible": true + }, + "application/alto-networkmapfilter+json": { + "source": "iana", + "compressible": true + }, + "application/alto-propmap+json": { + "source": "iana", + "compressible": true + }, + "application/alto-propmapparams+json": { + "source": "iana", + "compressible": true + }, + "application/alto-tips+json": { + "source": "iana", + "compressible": true + }, + "application/alto-tipsparams+json": { + "source": "iana", + "compressible": true + }, + "application/alto-updatestreamcontrol+json": { + "source": "iana", + "compressible": true + }, + "application/alto-updatestreamparams+json": { + "source": "iana", + "compressible": true + }, + "application/aml": { + "source": "iana" + }, + "application/andrew-inset": { + "source": "iana", + "extensions": ["ez"] + }, + "application/appinstaller": { + "compressible": false, + "extensions": ["appinstaller"] + }, + "application/applefile": { + "source": "iana" + }, + "application/applixware": { + "source": "apache", + "extensions": ["aw"] + }, + "application/appx": { + "compressible": false, + "extensions": ["appx"] + }, + "application/appxbundle": { + "compressible": false, + "extensions": ["appxbundle"] + }, + "application/at+jwt": { + "source": "iana" + }, + "application/atf": { + "source": "iana" + }, + "application/atfx": { + "source": "iana" + }, + "application/atom+xml": { + "source": "iana", + "compressible": true, + "extensions": ["atom"] + }, + "application/atomcat+xml": { + "source": "iana", + "compressible": true, + "extensions": ["atomcat"] + }, + "application/atomdeleted+xml": { + "source": "iana", + "compressible": true, + "extensions": ["atomdeleted"] + }, + "application/atomicmail": { + "source": "iana" + }, + "application/atomsvc+xml": { + "source": "iana", + "compressible": true, + "extensions": ["atomsvc"] + }, + "application/atsc-dwd+xml": { + "source": "iana", + "compressible": true, + "extensions": ["dwd"] + }, + "application/atsc-dynamic-event-message": { + "source": "iana" + }, + "application/atsc-held+xml": { + "source": "iana", + "compressible": true, + "extensions": ["held"] + }, + "application/atsc-rdt+json": { + "source": "iana", + "compressible": true + }, + "application/atsc-rsat+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rsat"] + }, + "application/atxml": { + "source": "iana" + }, + "application/auth-policy+xml": { + "source": "iana", + "compressible": true + }, + "application/automationml-aml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["aml"] + }, + "application/automationml-amlx+zip": { + "source": "iana", + "compressible": false, + "extensions": ["amlx"] + }, + "application/bacnet-xdd+zip": { + "source": "iana", + "compressible": false + }, + "application/batch-smtp": { + "source": "iana" + }, + "application/bdoc": { + "compressible": false, + "extensions": ["bdoc"] + }, + "application/beep+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/bufr": { + "source": "iana" + }, + "application/c2pa": { + "source": "iana" + }, + "application/calendar+json": { + "source": "iana", + "compressible": true + }, + "application/calendar+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xcs"] + }, + "application/call-completion": { + "source": "iana" + }, + "application/cals-1840": { + "source": "iana" + }, + "application/captive+json": { + "source": "iana", + "compressible": true + }, + "application/cbor": { + "source": "iana" + }, + "application/cbor-seq": { + "source": "iana" + }, + "application/cccex": { + "source": "iana" + }, + "application/ccmp+xml": { + "source": "iana", + "compressible": true + }, + "application/ccxml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["ccxml"] + }, + "application/cda+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/cdfx+xml": { + "source": "iana", + "compressible": true, + "extensions": ["cdfx"] + }, + "application/cdmi-capability": { + "source": "iana", + "extensions": ["cdmia"] + }, + "application/cdmi-container": { + "source": "iana", + "extensions": ["cdmic"] + }, + "application/cdmi-domain": { + "source": "iana", + "extensions": ["cdmid"] + }, + "application/cdmi-object": { + "source": "iana", + "extensions": ["cdmio"] + }, + "application/cdmi-queue": { + "source": "iana", + "extensions": ["cdmiq"] + }, + "application/cdni": { + "source": "iana" + }, + "application/ce+cbor": { + "source": "iana" + }, + "application/cea": { + "source": "iana" + }, + "application/cea-2018+xml": { + "source": "iana", + "compressible": true + }, + "application/cellml+xml": { + "source": "iana", + "compressible": true + }, + "application/cfw": { + "source": "iana" + }, + "application/cid-edhoc+cbor-seq": { + "source": "iana" + }, + "application/city+json": { + "source": "iana", + "compressible": true + }, + "application/city+json-seq": { + "source": "iana" + }, + "application/clr": { + "source": "iana" + }, + "application/clue+xml": { + "source": "iana", + "compressible": true + }, + "application/clue_info+xml": { + "source": "iana", + "compressible": true + }, + "application/cms": { + "source": "iana" + }, + "application/cnrp+xml": { + "source": "iana", + "compressible": true + }, + "application/coap-eap": { + "source": "iana" + }, + "application/coap-group+json": { + "source": "iana", + "compressible": true + }, + "application/coap-payload": { + "source": "iana" + }, + "application/commonground": { + "source": "iana" + }, + "application/concise-problem-details+cbor": { + "source": "iana" + }, + "application/conference-info+xml": { + "source": "iana", + "compressible": true + }, + "application/cose": { + "source": "iana" + }, + "application/cose-key": { + "source": "iana" + }, + "application/cose-key-set": { + "source": "iana" + }, + "application/cose-x509": { + "source": "iana" + }, + "application/cpl+xml": { + "source": "iana", + "compressible": true, + "extensions": ["cpl"] + }, + "application/csrattrs": { + "source": "iana" + }, + "application/csta+xml": { + "source": "iana", + "compressible": true + }, + "application/cstadata+xml": { + "source": "iana", + "compressible": true + }, + "application/csvm+json": { + "source": "iana", + "compressible": true + }, + "application/cu-seeme": { + "source": "apache", + "extensions": ["cu"] + }, + "application/cwl": { + "source": "iana", + "extensions": ["cwl"] + }, + "application/cwl+json": { + "source": "iana", + "compressible": true + }, + "application/cwl+yaml": { + "source": "iana" + }, + "application/cwt": { + "source": "iana" + }, + "application/cybercash": { + "source": "iana" + }, + "application/dart": { + "compressible": true + }, + "application/dash+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mpd"] + }, + "application/dash-patch+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mpp"] + }, + "application/dashdelta": { + "source": "iana" + }, + "application/davmount+xml": { + "source": "iana", + "compressible": true, + "extensions": ["davmount"] + }, + "application/dca-rft": { + "source": "iana" + }, + "application/dcd": { + "source": "iana" + }, + "application/dec-dx": { + "source": "iana" + }, + "application/dialog-info+xml": { + "source": "iana", + "compressible": true + }, + "application/dicom": { + "source": "iana", + "extensions": ["dcm"] + }, + "application/dicom+json": { + "source": "iana", + "compressible": true + }, + "application/dicom+xml": { + "source": "iana", + "compressible": true + }, + "application/dii": { + "source": "iana" + }, + "application/dit": { + "source": "iana" + }, + "application/dns": { + "source": "iana" + }, + "application/dns+json": { + "source": "iana", + "compressible": true + }, + "application/dns-message": { + "source": "iana" + }, + "application/docbook+xml": { + "source": "apache", + "compressible": true, + "extensions": ["dbk"] + }, + "application/dots+cbor": { + "source": "iana" + }, + "application/dpop+jwt": { + "source": "iana" + }, + "application/dskpp+xml": { + "source": "iana", + "compressible": true + }, + "application/dssc+der": { + "source": "iana", + "extensions": ["dssc"] + }, + "application/dssc+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xdssc"] + }, + "application/dvcs": { + "source": "iana" + }, + "application/eat+cwt": { + "source": "iana" + }, + "application/eat+jwt": { + "source": "iana" + }, + "application/eat-bun+cbor": { + "source": "iana" + }, + "application/eat-bun+json": { + "source": "iana", + "compressible": true + }, + "application/eat-ucs+cbor": { + "source": "iana" + }, + "application/eat-ucs+json": { + "source": "iana", + "compressible": true + }, + "application/ecmascript": { + "source": "apache", + "compressible": true, + "extensions": ["ecma"] + }, + "application/edhoc+cbor-seq": { + "source": "iana" + }, + "application/edi-consent": { + "source": "iana" + }, + "application/edi-x12": { + "source": "iana", + "compressible": false + }, + "application/edifact": { + "source": "iana", + "compressible": false + }, + "application/efi": { + "source": "iana" + }, + "application/elm+json": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/elm+xml": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.cap+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/emergencycalldata.comment+xml": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.control+xml": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.deviceinfo+xml": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.ecall.msd": { + "source": "iana" + }, + "application/emergencycalldata.legacyesn+json": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.providerinfo+xml": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.serviceinfo+xml": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.subscriberinfo+xml": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.veds+xml": { + "source": "iana", + "compressible": true + }, + "application/emma+xml": { + "source": "iana", + "compressible": true, + "extensions": ["emma"] + }, + "application/emotionml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["emotionml"] + }, + "application/encaprtp": { + "source": "iana" + }, + "application/entity-statement+jwt": { + "source": "iana" + }, + "application/epp+xml": { + "source": "iana", + "compressible": true + }, + "application/epub+zip": { + "source": "iana", + "compressible": false, + "extensions": ["epub"] + }, + "application/eshop": { + "source": "iana" + }, + "application/exi": { + "source": "iana", + "extensions": ["exi"] + }, + "application/expect-ct-report+json": { + "source": "iana", + "compressible": true + }, + "application/express": { + "source": "iana", + "extensions": ["exp"] + }, + "application/fastinfoset": { + "source": "iana" + }, + "application/fastsoap": { + "source": "iana" + }, + "application/fdf": { + "source": "iana", + "extensions": ["fdf"] + }, + "application/fdt+xml": { + "source": "iana", + "compressible": true, + "extensions": ["fdt"] + }, + "application/fhir+json": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/fhir+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/fido.trusted-apps+json": { + "compressible": true + }, + "application/fits": { + "source": "iana" + }, + "application/flexfec": { + "source": "iana" + }, + "application/font-sfnt": { + "source": "iana" + }, + "application/font-tdpfr": { + "source": "iana", + "extensions": ["pfr"] + }, + "application/font-woff": { + "source": "iana", + "compressible": false + }, + "application/framework-attributes+xml": { + "source": "iana", + "compressible": true + }, + "application/geo+json": { + "source": "iana", + "compressible": true, + "extensions": ["geojson"] + }, + "application/geo+json-seq": { + "source": "iana" + }, + "application/geopackage+sqlite3": { + "source": "iana" + }, + "application/geopose+json": { + "source": "iana", + "compressible": true + }, + "application/geoxacml+json": { + "source": "iana", + "compressible": true + }, + "application/geoxacml+xml": { + "source": "iana", + "compressible": true + }, + "application/gltf-buffer": { + "source": "iana" + }, + "application/gml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["gml"] + }, + "application/gnap-binding-jws": { + "source": "iana" + }, + "application/gnap-binding-jwsd": { + "source": "iana" + }, + "application/gnap-binding-rotation-jws": { + "source": "iana" + }, + "application/gnap-binding-rotation-jwsd": { + "source": "iana" + }, + "application/gpx+xml": { + "source": "apache", + "compressible": true, + "extensions": ["gpx"] + }, + "application/grib": { + "source": "iana" + }, + "application/gxf": { + "source": "apache", + "extensions": ["gxf"] + }, + "application/gzip": { + "source": "iana", + "compressible": false, + "extensions": ["gz"] + }, + "application/h224": { + "source": "iana" + }, + "application/held+xml": { + "source": "iana", + "compressible": true + }, + "application/hjson": { + "extensions": ["hjson"] + }, + "application/hl7v2+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/http": { + "source": "iana" + }, + "application/hyperstudio": { + "source": "iana", + "extensions": ["stk"] + }, + "application/ibe-key-request+xml": { + "source": "iana", + "compressible": true + }, + "application/ibe-pkg-reply+xml": { + "source": "iana", + "compressible": true + }, + "application/ibe-pp-data": { + "source": "iana" + }, + "application/iges": { + "source": "iana" + }, + "application/im-iscomposing+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/index": { + "source": "iana" + }, + "application/index.cmd": { + "source": "iana" + }, + "application/index.obj": { + "source": "iana" + }, + "application/index.response": { + "source": "iana" + }, + "application/index.vnd": { + "source": "iana" + }, + "application/inkml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["ink","inkml"] + }, + "application/iotp": { + "source": "iana" + }, + "application/ipfix": { + "source": "iana", + "extensions": ["ipfix"] + }, + "application/ipp": { + "source": "iana" + }, + "application/isup": { + "source": "iana" + }, + "application/its+xml": { + "source": "iana", + "compressible": true, + "extensions": ["its"] + }, + "application/java-archive": { + "source": "iana", + "compressible": false, + "extensions": ["jar","war","ear"] + }, + "application/java-serialized-object": { + "source": "apache", + "compressible": false, + "extensions": ["ser"] + }, + "application/java-vm": { + "source": "apache", + "compressible": false, + "extensions": ["class"] + }, + "application/javascript": { + "source": "apache", + "charset": "UTF-8", + "compressible": true, + "extensions": ["js"] + }, + "application/jf2feed+json": { + "source": "iana", + "compressible": true + }, + "application/jose": { + "source": "iana" + }, + "application/jose+json": { + "source": "iana", + "compressible": true + }, + "application/jrd+json": { + "source": "iana", + "compressible": true + }, + "application/jscalendar+json": { + "source": "iana", + "compressible": true + }, + "application/jscontact+json": { + "source": "iana", + "compressible": true + }, + "application/json": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["json","map"] + }, + "application/json-patch+json": { + "source": "iana", + "compressible": true + }, + "application/json-seq": { + "source": "iana" + }, + "application/json5": { + "extensions": ["json5"] + }, + "application/jsonml+json": { + "source": "apache", + "compressible": true, + "extensions": ["jsonml"] + }, + "application/jsonpath": { + "source": "iana" + }, + "application/jwk+json": { + "source": "iana", + "compressible": true + }, + "application/jwk-set+json": { + "source": "iana", + "compressible": true + }, + "application/jwk-set+jwt": { + "source": "iana" + }, + "application/jwt": { + "source": "iana" + }, + "application/kpml-request+xml": { + "source": "iana", + "compressible": true + }, + "application/kpml-response+xml": { + "source": "iana", + "compressible": true + }, + "application/ld+json": { + "source": "iana", + "compressible": true, + "extensions": ["jsonld"] + }, + "application/lgr+xml": { + "source": "iana", + "compressible": true, + "extensions": ["lgr"] + }, + "application/link-format": { + "source": "iana" + }, + "application/linkset": { + "source": "iana" + }, + "application/linkset+json": { + "source": "iana", + "compressible": true + }, + "application/load-control+xml": { + "source": "iana", + "compressible": true + }, + "application/logout+jwt": { + "source": "iana" + }, + "application/lost+xml": { + "source": "iana", + "compressible": true, + "extensions": ["lostxml"] + }, + "application/lostsync+xml": { + "source": "iana", + "compressible": true + }, + "application/lpf+zip": { + "source": "iana", + "compressible": false + }, + "application/lxf": { + "source": "iana" + }, + "application/mac-binhex40": { + "source": "iana", + "extensions": ["hqx"] + }, + "application/mac-compactpro": { + "source": "apache", + "extensions": ["cpt"] + }, + "application/macwriteii": { + "source": "iana" + }, + "application/mads+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mads"] + }, + "application/manifest+json": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["webmanifest"] + }, + "application/marc": { + "source": "iana", + "extensions": ["mrc"] + }, + "application/marcxml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mrcx"] + }, + "application/mathematica": { + "source": "iana", + "extensions": ["ma","nb","mb"] + }, + "application/mathml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mathml"] + }, + "application/mathml-content+xml": { + "source": "iana", + "compressible": true + }, + "application/mathml-presentation+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-associated-procedure-description+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-deregister+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-envelope+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-msk+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-msk-response+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-protection-description+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-reception-report+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-register+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-register-response+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-schedule+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-user-service-description+xml": { + "source": "iana", + "compressible": true + }, + "application/mbox": { + "source": "iana", + "extensions": ["mbox"] + }, + "application/media-policy-dataset+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mpf"] + }, + "application/media_control+xml": { + "source": "iana", + "compressible": true + }, + "application/mediaservercontrol+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mscml"] + }, + "application/merge-patch+json": { + "source": "iana", + "compressible": true + }, + "application/metalink+xml": { + "source": "apache", + "compressible": true, + "extensions": ["metalink"] + }, + "application/metalink4+xml": { + "source": "iana", + "compressible": true, + "extensions": ["meta4"] + }, + "application/mets+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mets"] + }, + "application/mf4": { + "source": "iana" + }, + "application/mikey": { + "source": "iana" + }, + "application/mipc": { + "source": "iana" + }, + "application/missing-blocks+cbor-seq": { + "source": "iana" + }, + "application/mmt-aei+xml": { + "source": "iana", + "compressible": true, + "extensions": ["maei"] + }, + "application/mmt-usd+xml": { + "source": "iana", + "compressible": true, + "extensions": ["musd"] + }, + "application/mods+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mods"] + }, + "application/moss-keys": { + "source": "iana" + }, + "application/moss-signature": { + "source": "iana" + }, + "application/mosskey-data": { + "source": "iana" + }, + "application/mosskey-request": { + "source": "iana" + }, + "application/mp21": { + "source": "iana", + "extensions": ["m21","mp21"] + }, + "application/mp4": { + "source": "iana", + "extensions": ["mp4","mpg4","mp4s","m4p"] + }, + "application/mpeg4-generic": { + "source": "iana" + }, + "application/mpeg4-iod": { + "source": "iana" + }, + "application/mpeg4-iod-xmt": { + "source": "iana" + }, + "application/mrb-consumer+xml": { + "source": "iana", + "compressible": true + }, + "application/mrb-publish+xml": { + "source": "iana", + "compressible": true + }, + "application/msc-ivr+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/msc-mixer+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/msix": { + "compressible": false, + "extensions": ["msix"] + }, + "application/msixbundle": { + "compressible": false, + "extensions": ["msixbundle"] + }, + "application/msword": { + "source": "iana", + "compressible": false, + "extensions": ["doc","dot"] + }, + "application/mud+json": { + "source": "iana", + "compressible": true + }, + "application/multipart-core": { + "source": "iana" + }, + "application/mxf": { + "source": "iana", + "extensions": ["mxf"] + }, + "application/n-quads": { + "source": "iana", + "extensions": ["nq"] + }, + "application/n-triples": { + "source": "iana", + "extensions": ["nt"] + }, + "application/nasdata": { + "source": "iana" + }, + "application/news-checkgroups": { + "source": "iana", + "charset": "US-ASCII" + }, + "application/news-groupinfo": { + "source": "iana", + "charset": "US-ASCII" + }, + "application/news-transmission": { + "source": "iana" + }, + "application/nlsml+xml": { + "source": "iana", + "compressible": true + }, + "application/node": { + "source": "iana", + "extensions": ["cjs"] + }, + "application/nss": { + "source": "iana" + }, + "application/oauth-authz-req+jwt": { + "source": "iana" + }, + "application/oblivious-dns-message": { + "source": "iana" + }, + "application/ocsp-request": { + "source": "iana" + }, + "application/ocsp-response": { + "source": "iana" + }, + "application/octet-stream": { + "source": "iana", + "compressible": true, + "extensions": ["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"] + }, + "application/oda": { + "source": "iana", + "extensions": ["oda"] + }, + "application/odm+xml": { + "source": "iana", + "compressible": true + }, + "application/odx": { + "source": "iana" + }, + "application/oebps-package+xml": { + "source": "iana", + "compressible": true, + "extensions": ["opf"] + }, + "application/ogg": { + "source": "iana", + "compressible": false, + "extensions": ["ogx"] + }, + "application/ohttp-keys": { + "source": "iana" + }, + "application/omdoc+xml": { + "source": "apache", + "compressible": true, + "extensions": ["omdoc"] + }, + "application/onenote": { + "source": "apache", + "extensions": ["onetoc","onetoc2","onetmp","onepkg","one","onea"] + }, + "application/opc-nodeset+xml": { + "source": "iana", + "compressible": true + }, + "application/oscore": { + "source": "iana" + }, + "application/oxps": { + "source": "iana", + "extensions": ["oxps"] + }, + "application/p21": { + "source": "iana" + }, + "application/p21+zip": { + "source": "iana", + "compressible": false + }, + "application/p2p-overlay+xml": { + "source": "iana", + "compressible": true, + "extensions": ["relo"] + }, + "application/parityfec": { + "source": "iana" + }, + "application/passport": { + "source": "iana" + }, + "application/patch-ops-error+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xer"] + }, + "application/pdf": { + "source": "iana", + "compressible": false, + "extensions": ["pdf"] + }, + "application/pdx": { + "source": "iana" + }, + "application/pem-certificate-chain": { + "source": "iana" + }, + "application/pgp-encrypted": { + "source": "iana", + "compressible": false, + "extensions": ["pgp"] + }, + "application/pgp-keys": { + "source": "iana", + "extensions": ["asc"] + }, + "application/pgp-signature": { + "source": "iana", + "extensions": ["sig","asc"] + }, + "application/pics-rules": { + "source": "apache", + "extensions": ["prf"] + }, + "application/pidf+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/pidf-diff+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/pkcs10": { + "source": "iana", + "extensions": ["p10"] + }, + "application/pkcs12": { + "source": "iana" + }, + "application/pkcs7-mime": { + "source": "iana", + "extensions": ["p7m","p7c"] + }, + "application/pkcs7-signature": { + "source": "iana", + "extensions": ["p7s"] + }, + "application/pkcs8": { + "source": "iana", + "extensions": ["p8"] + }, + "application/pkcs8-encrypted": { + "source": "iana" + }, + "application/pkix-attr-cert": { + "source": "iana", + "extensions": ["ac"] + }, + "application/pkix-cert": { + "source": "iana", + "extensions": ["cer"] + }, + "application/pkix-crl": { + "source": "iana", + "extensions": ["crl"] + }, + "application/pkix-pkipath": { + "source": "iana", + "extensions": ["pkipath"] + }, + "application/pkixcmp": { + "source": "iana", + "extensions": ["pki"] + }, + "application/pls+xml": { + "source": "iana", + "compressible": true, + "extensions": ["pls"] + }, + "application/poc-settings+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/postscript": { + "source": "iana", + "compressible": true, + "extensions": ["ai","eps","ps"] + }, + "application/ppsp-tracker+json": { + "source": "iana", + "compressible": true + }, + "application/private-token-issuer-directory": { + "source": "iana" + }, + "application/private-token-request": { + "source": "iana" + }, + "application/private-token-response": { + "source": "iana" + }, + "application/problem+json": { + "source": "iana", + "compressible": true + }, + "application/problem+xml": { + "source": "iana", + "compressible": true + }, + "application/provenance+xml": { + "source": "iana", + "compressible": true, + "extensions": ["provx"] + }, + "application/provided-claims+jwt": { + "source": "iana" + }, + "application/prs.alvestrand.titrax-sheet": { + "source": "iana" + }, + "application/prs.cww": { + "source": "iana", + "extensions": ["cww"] + }, + "application/prs.cyn": { + "source": "iana", + "charset": "7-BIT" + }, + "application/prs.hpub+zip": { + "source": "iana", + "compressible": false + }, + "application/prs.implied-document+xml": { + "source": "iana", + "compressible": true + }, + "application/prs.implied-executable": { + "source": "iana" + }, + "application/prs.implied-object+json": { + "source": "iana", + "compressible": true + }, + "application/prs.implied-object+json-seq": { + "source": "iana" + }, + "application/prs.implied-object+yaml": { + "source": "iana" + }, + "application/prs.implied-structure": { + "source": "iana" + }, + "application/prs.mayfile": { + "source": "iana" + }, + "application/prs.nprend": { + "source": "iana" + }, + "application/prs.plucker": { + "source": "iana" + }, + "application/prs.rdf-xml-crypt": { + "source": "iana" + }, + "application/prs.vcfbzip2": { + "source": "iana" + }, + "application/prs.xsf+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xsf"] + }, + "application/pskc+xml": { + "source": "iana", + "compressible": true, + "extensions": ["pskcxml"] + }, + "application/pvd+json": { + "source": "iana", + "compressible": true + }, + "application/qsig": { + "source": "iana" + }, + "application/raml+yaml": { + "compressible": true, + "extensions": ["raml"] + }, + "application/raptorfec": { + "source": "iana" + }, + "application/rdap+json": { + "source": "iana", + "compressible": true + }, + "application/rdf+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rdf","owl"] + }, + "application/reginfo+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rif"] + }, + "application/relax-ng-compact-syntax": { + "source": "iana", + "extensions": ["rnc"] + }, + "application/remote-printing": { + "source": "apache" + }, + "application/reputon+json": { + "source": "iana", + "compressible": true + }, + "application/resolve-response+jwt": { + "source": "iana" + }, + "application/resource-lists+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rl"] + }, + "application/resource-lists-diff+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rld"] + }, + "application/rfc+xml": { + "source": "iana", + "compressible": true + }, + "application/riscos": { + "source": "iana" + }, + "application/rlmi+xml": { + "source": "iana", + "compressible": true + }, + "application/rls-services+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rs"] + }, + "application/route-apd+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rapd"] + }, + "application/route-s-tsid+xml": { + "source": "iana", + "compressible": true, + "extensions": ["sls"] + }, + "application/route-usd+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rusd"] + }, + "application/rpki-checklist": { + "source": "iana" + }, + "application/rpki-ghostbusters": { + "source": "iana", + "extensions": ["gbr"] + }, + "application/rpki-manifest": { + "source": "iana", + "extensions": ["mft"] + }, + "application/rpki-publication": { + "source": "iana" + }, + "application/rpki-roa": { + "source": "iana", + "extensions": ["roa"] + }, + "application/rpki-signed-tal": { + "source": "iana" + }, + "application/rpki-updown": { + "source": "iana" + }, + "application/rsd+xml": { + "source": "apache", + "compressible": true, + "extensions": ["rsd"] + }, + "application/rss+xml": { + "source": "apache", + "compressible": true, + "extensions": ["rss"] + }, + "application/rtf": { + "source": "iana", + "compressible": true, + "extensions": ["rtf"] + }, + "application/rtploopback": { + "source": "iana" + }, + "application/rtx": { + "source": "iana" + }, + "application/samlassertion+xml": { + "source": "iana", + "compressible": true + }, + "application/samlmetadata+xml": { + "source": "iana", + "compressible": true + }, + "application/sarif+json": { + "source": "iana", + "compressible": true + }, + "application/sarif-external-properties+json": { + "source": "iana", + "compressible": true + }, + "application/sbe": { + "source": "iana" + }, + "application/sbml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["sbml"] + }, + "application/scaip+xml": { + "source": "iana", + "compressible": true + }, + "application/scim+json": { + "source": "iana", + "compressible": true + }, + "application/scvp-cv-request": { + "source": "iana", + "extensions": ["scq"] + }, + "application/scvp-cv-response": { + "source": "iana", + "extensions": ["scs"] + }, + "application/scvp-vp-request": { + "source": "iana", + "extensions": ["spq"] + }, + "application/scvp-vp-response": { + "source": "iana", + "extensions": ["spp"] + }, + "application/sdp": { + "source": "iana", + "extensions": ["sdp"] + }, + "application/secevent+jwt": { + "source": "iana" + }, + "application/senml+cbor": { + "source": "iana" + }, + "application/senml+json": { + "source": "iana", + "compressible": true + }, + "application/senml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["senmlx"] + }, + "application/senml-etch+cbor": { + "source": "iana" + }, + "application/senml-etch+json": { + "source": "iana", + "compressible": true + }, + "application/senml-exi": { + "source": "iana" + }, + "application/sensml+cbor": { + "source": "iana" + }, + "application/sensml+json": { + "source": "iana", + "compressible": true + }, + "application/sensml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["sensmlx"] + }, + "application/sensml-exi": { + "source": "iana" + }, + "application/sep+xml": { + "source": "iana", + "compressible": true + }, + "application/sep-exi": { + "source": "iana" + }, + "application/session-info": { + "source": "iana" + }, + "application/set-payment": { + "source": "iana" + }, + "application/set-payment-initiation": { + "source": "iana", + "extensions": ["setpay"] + }, + "application/set-registration": { + "source": "iana" + }, + "application/set-registration-initiation": { + "source": "iana", + "extensions": ["setreg"] + }, + "application/sgml": { + "source": "iana" + }, + "application/sgml-open-catalog": { + "source": "iana" + }, + "application/shf+xml": { + "source": "iana", + "compressible": true, + "extensions": ["shf"] + }, + "application/sieve": { + "source": "iana", + "extensions": ["siv","sieve"] + }, + "application/simple-filter+xml": { + "source": "iana", + "compressible": true + }, + "application/simple-message-summary": { + "source": "iana" + }, + "application/simplesymbolcontainer": { + "source": "iana" + }, + "application/sipc": { + "source": "iana" + }, + "application/slate": { + "source": "iana" + }, + "application/smil": { + "source": "apache" + }, + "application/smil+xml": { + "source": "iana", + "compressible": true, + "extensions": ["smi","smil"] + }, + "application/smpte336m": { + "source": "iana" + }, + "application/soap+fastinfoset": { + "source": "iana" + }, + "application/soap+xml": { + "source": "iana", + "compressible": true + }, + "application/sparql-query": { + "source": "iana", + "extensions": ["rq"] + }, + "application/sparql-results+xml": { + "source": "iana", + "compressible": true, + "extensions": ["srx"] + }, + "application/spdx+json": { + "source": "iana", + "compressible": true + }, + "application/spirits-event+xml": { + "source": "iana", + "compressible": true + }, + "application/sql": { + "source": "iana", + "extensions": ["sql"] + }, + "application/srgs": { + "source": "iana", + "extensions": ["gram"] + }, + "application/srgs+xml": { + "source": "iana", + "compressible": true, + "extensions": ["grxml"] + }, + "application/sru+xml": { + "source": "iana", + "compressible": true, + "extensions": ["sru"] + }, + "application/ssdl+xml": { + "source": "apache", + "compressible": true, + "extensions": ["ssdl"] + }, + "application/sslkeylogfile": { + "source": "iana" + }, + "application/ssml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["ssml"] + }, + "application/st2110-41": { + "source": "iana" + }, + "application/stix+json": { + "source": "iana", + "compressible": true + }, + "application/stratum": { + "source": "iana" + }, + "application/swid+cbor": { + "source": "iana" + }, + "application/swid+xml": { + "source": "iana", + "compressible": true, + "extensions": ["swidtag"] + }, + "application/tamp-apex-update": { + "source": "iana" + }, + "application/tamp-apex-update-confirm": { + "source": "iana" + }, + "application/tamp-community-update": { + "source": "iana" + }, + "application/tamp-community-update-confirm": { + "source": "iana" + }, + "application/tamp-error": { + "source": "iana" + }, + "application/tamp-sequence-adjust": { + "source": "iana" + }, + "application/tamp-sequence-adjust-confirm": { + "source": "iana" + }, + "application/tamp-status-query": { + "source": "iana" + }, + "application/tamp-status-response": { + "source": "iana" + }, + "application/tamp-update": { + "source": "iana" + }, + "application/tamp-update-confirm": { + "source": "iana" + }, + "application/tar": { + "compressible": true + }, + "application/taxii+json": { + "source": "iana", + "compressible": true + }, + "application/td+json": { + "source": "iana", + "compressible": true + }, + "application/tei+xml": { + "source": "iana", + "compressible": true, + "extensions": ["tei","teicorpus"] + }, + "application/tetra_isi": { + "source": "iana" + }, + "application/thraud+xml": { + "source": "iana", + "compressible": true, + "extensions": ["tfi"] + }, + "application/timestamp-query": { + "source": "iana" + }, + "application/timestamp-reply": { + "source": "iana" + }, + "application/timestamped-data": { + "source": "iana", + "extensions": ["tsd"] + }, + "application/tlsrpt+gzip": { + "source": "iana" + }, + "application/tlsrpt+json": { + "source": "iana", + "compressible": true + }, + "application/tm+json": { + "source": "iana", + "compressible": true + }, + "application/tnauthlist": { + "source": "iana" + }, + "application/toc+cbor": { + "source": "iana" + }, + "application/token-introspection+jwt": { + "source": "iana" + }, + "application/toml": { + "source": "iana", + "compressible": true, + "extensions": ["toml"] + }, + "application/trickle-ice-sdpfrag": { + "source": "iana" + }, + "application/trig": { + "source": "iana", + "extensions": ["trig"] + }, + "application/trust-chain+json": { + "source": "iana", + "compressible": true + }, + "application/trust-mark+jwt": { + "source": "iana" + }, + "application/trust-mark-delegation+jwt": { + "source": "iana" + }, + "application/ttml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["ttml"] + }, + "application/tve-trigger": { + "source": "iana" + }, + "application/tzif": { + "source": "iana" + }, + "application/tzif-leap": { + "source": "iana" + }, + "application/ubjson": { + "compressible": false, + "extensions": ["ubj"] + }, + "application/uccs+cbor": { + "source": "iana" + }, + "application/ujcs+json": { + "source": "iana", + "compressible": true + }, + "application/ulpfec": { + "source": "iana" + }, + "application/urc-grpsheet+xml": { + "source": "iana", + "compressible": true + }, + "application/urc-ressheet+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rsheet"] + }, + "application/urc-targetdesc+xml": { + "source": "iana", + "compressible": true, + "extensions": ["td"] + }, + "application/urc-uisocketdesc+xml": { + "source": "iana", + "compressible": true + }, + "application/vc": { + "source": "iana" + }, + "application/vc+cose": { + "source": "iana" + }, + "application/vc+jwt": { + "source": "iana" + }, + "application/vcard+json": { + "source": "iana", + "compressible": true + }, + "application/vcard+xml": { + "source": "iana", + "compressible": true + }, + "application/vemmi": { + "source": "iana" + }, + "application/vividence.scriptfile": { + "source": "apache" + }, + "application/vnd.1000minds.decision-model+xml": { + "source": "iana", + "compressible": true, + "extensions": ["1km"] + }, + "application/vnd.1ob": { + "source": "iana" + }, + "application/vnd.3gpp-prose+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp-prose-pc3a+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp-prose-pc3ach+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp-prose-pc3ch+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp-prose-pc8+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp-v2x-local-service-information": { + "source": "iana" + }, + "application/vnd.3gpp.5gnas": { + "source": "iana" + }, + "application/vnd.3gpp.5gsa2x": { + "source": "iana" + }, + "application/vnd.3gpp.5gsa2x-local-service-information": { + "source": "iana" + }, + "application/vnd.3gpp.5gsv2x": { + "source": "iana" + }, + "application/vnd.3gpp.5gsv2x-local-service-information": { + "source": "iana" + }, + "application/vnd.3gpp.access-transfer-events+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.bsf+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.crs+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.current-location-discovery+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.gmop+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.gtpc": { + "source": "iana" + }, + "application/vnd.3gpp.interworking-data": { + "source": "iana" + }, + "application/vnd.3gpp.lpp": { + "source": "iana" + }, + "application/vnd.3gpp.mc-signalling-ear": { + "source": "iana" + }, + "application/vnd.3gpp.mcdata-affiliation-command+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcdata-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcdata-msgstore-ctrl-request+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcdata-payload": { + "source": "iana" + }, + "application/vnd.3gpp.mcdata-regroup+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcdata-service-config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcdata-signalling": { + "source": "iana" + }, + "application/vnd.3gpp.mcdata-ue-config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcdata-user-profile+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-affiliation-command+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-floor-request+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-location-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-mbms-usage-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-regroup+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-service-config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-signed+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-ue-config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-ue-init-config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-user-profile+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-affiliation-command+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-location-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-mbms-usage-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-regroup+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-service-config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-transmission-request+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-ue-config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-user-profile+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mid-call+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.ngap": { + "source": "iana" + }, + "application/vnd.3gpp.pfcp": { + "source": "iana" + }, + "application/vnd.3gpp.pic-bw-large": { + "source": "iana", + "extensions": ["plb"] + }, + "application/vnd.3gpp.pic-bw-small": { + "source": "iana", + "extensions": ["psb"] + }, + "application/vnd.3gpp.pic-bw-var": { + "source": "iana", + "extensions": ["pvb"] + }, + "application/vnd.3gpp.pinapp-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.s1ap": { + "source": "iana" + }, + "application/vnd.3gpp.seal-group-doc+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.seal-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.seal-location-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.seal-mbms-usage-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.seal-network-qos-management-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.seal-ue-config-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.seal-unicast-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.seal-user-profile-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.sms": { + "source": "iana" + }, + "application/vnd.3gpp.sms+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.srvcc-ext+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.srvcc-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.state-and-event-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.ussd+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.v2x": { + "source": "iana" + }, + "application/vnd.3gpp.vae-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp2.bcmcsinfo+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp2.sms": { + "source": "iana" + }, + "application/vnd.3gpp2.tcap": { + "source": "iana", + "extensions": ["tcap"] + }, + "application/vnd.3lightssoftware.imagescal": { + "source": "iana" + }, + "application/vnd.3m.post-it-notes": { + "source": "iana", + "extensions": ["pwn"] + }, + "application/vnd.accpac.simply.aso": { + "source": "iana", + "extensions": ["aso"] + }, + "application/vnd.accpac.simply.imp": { + "source": "iana", + "extensions": ["imp"] + }, + "application/vnd.acm.addressxfer+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.acm.chatbot+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.acucobol": { + "source": "iana", + "extensions": ["acu"] + }, + "application/vnd.acucorp": { + "source": "iana", + "extensions": ["atc","acutc"] + }, + "application/vnd.adobe.air-application-installer-package+zip": { + "source": "apache", + "compressible": false, + "extensions": ["air"] + }, + "application/vnd.adobe.flash.movie": { + "source": "iana" + }, + "application/vnd.adobe.formscentral.fcdt": { + "source": "iana", + "extensions": ["fcdt"] + }, + "application/vnd.adobe.fxp": { + "source": "iana", + "extensions": ["fxp","fxpl"] + }, + "application/vnd.adobe.partial-upload": { + "source": "iana" + }, + "application/vnd.adobe.xdp+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xdp"] + }, + "application/vnd.adobe.xfdf": { + "source": "apache", + "extensions": ["xfdf"] + }, + "application/vnd.aether.imp": { + "source": "iana" + }, + "application/vnd.afpc.afplinedata": { + "source": "iana" + }, + "application/vnd.afpc.afplinedata-pagedef": { + "source": "iana" + }, + "application/vnd.afpc.cmoca-cmresource": { + "source": "iana" + }, + "application/vnd.afpc.foca-charset": { + "source": "iana" + }, + "application/vnd.afpc.foca-codedfont": { + "source": "iana" + }, + "application/vnd.afpc.foca-codepage": { + "source": "iana" + }, + "application/vnd.afpc.modca": { + "source": "iana" + }, + "application/vnd.afpc.modca-cmtable": { + "source": "iana" + }, + "application/vnd.afpc.modca-formdef": { + "source": "iana" + }, + "application/vnd.afpc.modca-mediummap": { + "source": "iana" + }, + "application/vnd.afpc.modca-objectcontainer": { + "source": "iana" + }, + "application/vnd.afpc.modca-overlay": { + "source": "iana" + }, + "application/vnd.afpc.modca-pagesegment": { + "source": "iana" + }, + "application/vnd.age": { + "source": "iana", + "extensions": ["age"] + }, + "application/vnd.ah-barcode": { + "source": "apache" + }, + "application/vnd.ahead.space": { + "source": "iana", + "extensions": ["ahead"] + }, + "application/vnd.airzip.filesecure.azf": { + "source": "iana", + "extensions": ["azf"] + }, + "application/vnd.airzip.filesecure.azs": { + "source": "iana", + "extensions": ["azs"] + }, + "application/vnd.amadeus+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.amazon.ebook": { + "source": "apache", + "extensions": ["azw"] + }, + "application/vnd.amazon.mobi8-ebook": { + "source": "iana" + }, + "application/vnd.americandynamics.acc": { + "source": "iana", + "extensions": ["acc"] + }, + "application/vnd.amiga.ami": { + "source": "iana", + "extensions": ["ami"] + }, + "application/vnd.amundsen.maze+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.android.ota": { + "source": "iana" + }, + "application/vnd.android.package-archive": { + "source": "apache", + "compressible": false, + "extensions": ["apk"] + }, + "application/vnd.anki": { + "source": "iana" + }, + "application/vnd.anser-web-certificate-issue-initiation": { + "source": "iana", + "extensions": ["cii"] + }, + "application/vnd.anser-web-funds-transfer-initiation": { + "source": "apache", + "extensions": ["fti"] + }, + "application/vnd.antix.game-component": { + "source": "iana", + "extensions": ["atx"] + }, + "application/vnd.apache.arrow.file": { + "source": "iana" + }, + "application/vnd.apache.arrow.stream": { + "source": "iana" + }, + "application/vnd.apache.parquet": { + "source": "iana" + }, + "application/vnd.apache.thrift.binary": { + "source": "iana" + }, + "application/vnd.apache.thrift.compact": { + "source": "iana" + }, + "application/vnd.apache.thrift.json": { + "source": "iana" + }, + "application/vnd.apexlang": { + "source": "iana" + }, + "application/vnd.api+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.aplextor.warrp+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.apothekende.reservation+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.apple.installer+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mpkg"] + }, + "application/vnd.apple.keynote": { + "source": "iana", + "extensions": ["key"] + }, + "application/vnd.apple.mpegurl": { + "source": "iana", + "extensions": ["m3u8"] + }, + "application/vnd.apple.numbers": { + "source": "iana", + "extensions": ["numbers"] + }, + "application/vnd.apple.pages": { + "source": "iana", + "extensions": ["pages"] + }, + "application/vnd.apple.pkpass": { + "compressible": false, + "extensions": ["pkpass"] + }, + "application/vnd.arastra.swi": { + "source": "apache" + }, + "application/vnd.aristanetworks.swi": { + "source": "iana", + "extensions": ["swi"] + }, + "application/vnd.artisan+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.artsquare": { + "source": "iana" + }, + "application/vnd.astraea-software.iota": { + "source": "iana", + "extensions": ["iota"] + }, + "application/vnd.audiograph": { + "source": "iana", + "extensions": ["aep"] + }, + "application/vnd.autodesk.fbx": { + "extensions": ["fbx"] + }, + "application/vnd.autopackage": { + "source": "iana" + }, + "application/vnd.avalon+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.avistar+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.balsamiq.bmml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["bmml"] + }, + "application/vnd.balsamiq.bmpr": { + "source": "iana" + }, + "application/vnd.banana-accounting": { + "source": "iana" + }, + "application/vnd.bbf.usp.error": { + "source": "iana" + }, + "application/vnd.bbf.usp.msg": { + "source": "iana" + }, + "application/vnd.bbf.usp.msg+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.bekitzur-stech+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.belightsoft.lhzd+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.belightsoft.lhzl+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.bint.med-content": { + "source": "iana" + }, + "application/vnd.biopax.rdf+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.blink-idb-value-wrapper": { + "source": "iana" + }, + "application/vnd.blueice.multipass": { + "source": "iana", + "extensions": ["mpm"] + }, + "application/vnd.bluetooth.ep.oob": { + "source": "iana" + }, + "application/vnd.bluetooth.le.oob": { + "source": "iana" + }, + "application/vnd.bmi": { + "source": "iana", + "extensions": ["bmi"] + }, + "application/vnd.bpf": { + "source": "iana" + }, + "application/vnd.bpf3": { + "source": "iana" + }, + "application/vnd.businessobjects": { + "source": "iana", + "extensions": ["rep"] + }, + "application/vnd.byu.uapi+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.bzip3": { + "source": "iana" + }, + "application/vnd.c3voc.schedule+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.cab-jscript": { + "source": "iana" + }, + "application/vnd.canon-cpdl": { + "source": "iana" + }, + "application/vnd.canon-lips": { + "source": "iana" + }, + "application/vnd.capasystems-pg+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.cendio.thinlinc.clientconf": { + "source": "iana" + }, + "application/vnd.century-systems.tcp_stream": { + "source": "iana" + }, + "application/vnd.chemdraw+xml": { + "source": "iana", + "compressible": true, + "extensions": ["cdxml"] + }, + "application/vnd.chess-pgn": { + "source": "iana" + }, + "application/vnd.chipnuts.karaoke-mmd": { + "source": "iana", + "extensions": ["mmd"] + }, + "application/vnd.ciedi": { + "source": "iana" + }, + "application/vnd.cinderella": { + "source": "iana", + "extensions": ["cdy"] + }, + "application/vnd.cirpack.isdn-ext": { + "source": "iana" + }, + "application/vnd.citationstyles.style+xml": { + "source": "iana", + "compressible": true, + "extensions": ["csl"] + }, + "application/vnd.claymore": { + "source": "iana", + "extensions": ["cla"] + }, + "application/vnd.cloanto.rp9": { + "source": "iana", + "extensions": ["rp9"] + }, + "application/vnd.clonk.c4group": { + "source": "iana", + "extensions": ["c4g","c4d","c4f","c4p","c4u"] + }, + "application/vnd.cluetrust.cartomobile-config": { + "source": "iana", + "extensions": ["c11amc"] + }, + "application/vnd.cluetrust.cartomobile-config-pkg": { + "source": "iana", + "extensions": ["c11amz"] + }, + "application/vnd.cncf.helm.chart.content.v1.tar+gzip": { + "source": "iana" + }, + "application/vnd.cncf.helm.chart.provenance.v1.prov": { + "source": "iana" + }, + "application/vnd.cncf.helm.config.v1+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.coffeescript": { + "source": "iana" + }, + "application/vnd.collabio.xodocuments.document": { + "source": "iana" + }, + "application/vnd.collabio.xodocuments.document-template": { + "source": "iana" + }, + "application/vnd.collabio.xodocuments.presentation": { + "source": "iana" + }, + "application/vnd.collabio.xodocuments.presentation-template": { + "source": "iana" + }, + "application/vnd.collabio.xodocuments.spreadsheet": { + "source": "iana" + }, + "application/vnd.collabio.xodocuments.spreadsheet-template": { + "source": "iana" + }, + "application/vnd.collection+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.collection.doc+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.collection.next+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.comicbook+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.comicbook-rar": { + "source": "iana" + }, + "application/vnd.commerce-battelle": { + "source": "iana" + }, + "application/vnd.commonspace": { + "source": "iana", + "extensions": ["csp"] + }, + "application/vnd.contact.cmsg": { + "source": "iana", + "extensions": ["cdbcmsg"] + }, + "application/vnd.coreos.ignition+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.cosmocaller": { + "source": "iana", + "extensions": ["cmc"] + }, + "application/vnd.crick.clicker": { + "source": "iana", + "extensions": ["clkx"] + }, + "application/vnd.crick.clicker.keyboard": { + "source": "iana", + "extensions": ["clkk"] + }, + "application/vnd.crick.clicker.palette": { + "source": "iana", + "extensions": ["clkp"] + }, + "application/vnd.crick.clicker.template": { + "source": "iana", + "extensions": ["clkt"] + }, + "application/vnd.crick.clicker.wordbank": { + "source": "iana", + "extensions": ["clkw"] + }, + "application/vnd.criticaltools.wbs+xml": { + "source": "iana", + "compressible": true, + "extensions": ["wbs"] + }, + "application/vnd.cryptii.pipe+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.crypto-shade-file": { + "source": "iana" + }, + "application/vnd.cryptomator.encrypted": { + "source": "iana" + }, + "application/vnd.cryptomator.vault": { + "source": "iana" + }, + "application/vnd.ctc-posml": { + "source": "iana", + "extensions": ["pml"] + }, + "application/vnd.ctct.ws+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.cups-pdf": { + "source": "iana" + }, + "application/vnd.cups-postscript": { + "source": "iana" + }, + "application/vnd.cups-ppd": { + "source": "iana", + "extensions": ["ppd"] + }, + "application/vnd.cups-raster": { + "source": "iana" + }, + "application/vnd.cups-raw": { + "source": "iana" + }, + "application/vnd.curl": { + "source": "iana" + }, + "application/vnd.curl.car": { + "source": "apache", + "extensions": ["car"] + }, + "application/vnd.curl.pcurl": { + "source": "apache", + "extensions": ["pcurl"] + }, + "application/vnd.cyan.dean.root+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.cybank": { + "source": "iana" + }, + "application/vnd.cyclonedx+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.cyclonedx+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.d2l.coursepackage1p0+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.d3m-dataset": { + "source": "iana" + }, + "application/vnd.d3m-problem": { + "source": "iana" + }, + "application/vnd.dart": { + "source": "iana", + "compressible": true, + "extensions": ["dart"] + }, + "application/vnd.data-vision.rdz": { + "source": "iana", + "extensions": ["rdz"] + }, + "application/vnd.datalog": { + "source": "iana" + }, + "application/vnd.datapackage+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.dataresource+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.dbf": { + "source": "iana", + "extensions": ["dbf"] + }, + "application/vnd.dcmp+xml": { + "source": "iana", + "compressible": true, + "extensions": ["dcmp"] + }, + "application/vnd.debian.binary-package": { + "source": "iana" + }, + "application/vnd.dece.data": { + "source": "iana", + "extensions": ["uvf","uvvf","uvd","uvvd"] + }, + "application/vnd.dece.ttml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["uvt","uvvt"] + }, + "application/vnd.dece.unspecified": { + "source": "iana", + "extensions": ["uvx","uvvx"] + }, + "application/vnd.dece.zip": { + "source": "iana", + "extensions": ["uvz","uvvz"] + }, + "application/vnd.denovo.fcselayout-link": { + "source": "iana", + "extensions": ["fe_launch"] + }, + "application/vnd.desmume.movie": { + "source": "iana" + }, + "application/vnd.dir-bi.plate-dl-nosuffix": { + "source": "iana" + }, + "application/vnd.dm.delegation+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dna": { + "source": "iana", + "extensions": ["dna"] + }, + "application/vnd.document+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.dolby.mlp": { + "source": "apache", + "extensions": ["mlp"] + }, + "application/vnd.dolby.mobile.1": { + "source": "iana" + }, + "application/vnd.dolby.mobile.2": { + "source": "iana" + }, + "application/vnd.doremir.scorecloud-binary-document": { + "source": "iana" + }, + "application/vnd.dpgraph": { + "source": "iana", + "extensions": ["dpg"] + }, + "application/vnd.dreamfactory": { + "source": "iana", + "extensions": ["dfac"] + }, + "application/vnd.drive+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ds-keypoint": { + "source": "apache", + "extensions": ["kpxx"] + }, + "application/vnd.dtg.local": { + "source": "iana" + }, + "application/vnd.dtg.local.flash": { + "source": "iana" + }, + "application/vnd.dtg.local.html": { + "source": "iana" + }, + "application/vnd.dvb.ait": { + "source": "iana", + "extensions": ["ait"] + }, + "application/vnd.dvb.dvbisl+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.dvbj": { + "source": "iana" + }, + "application/vnd.dvb.esgcontainer": { + "source": "iana" + }, + "application/vnd.dvb.ipdcdftnotifaccess": { + "source": "iana" + }, + "application/vnd.dvb.ipdcesgaccess": { + "source": "iana" + }, + "application/vnd.dvb.ipdcesgaccess2": { + "source": "iana" + }, + "application/vnd.dvb.ipdcesgpdd": { + "source": "iana" + }, + "application/vnd.dvb.ipdcroaming": { + "source": "iana" + }, + "application/vnd.dvb.iptv.alfec-base": { + "source": "iana" + }, + "application/vnd.dvb.iptv.alfec-enhancement": { + "source": "iana" + }, + "application/vnd.dvb.notif-aggregate-root+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.notif-container+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.notif-generic+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.notif-ia-msglist+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.notif-ia-registration-request+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.notif-ia-registration-response+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.notif-init+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.pfr": { + "source": "iana" + }, + "application/vnd.dvb.service": { + "source": "iana", + "extensions": ["svc"] + }, + "application/vnd.dxr": { + "source": "iana" + }, + "application/vnd.dynageo": { + "source": "iana", + "extensions": ["geo"] + }, + "application/vnd.dzr": { + "source": "iana" + }, + "application/vnd.easykaraoke.cdgdownload": { + "source": "iana" + }, + "application/vnd.ecdis-update": { + "source": "iana" + }, + "application/vnd.ecip.rlp": { + "source": "iana" + }, + "application/vnd.eclipse.ditto+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ecowin.chart": { + "source": "iana", + "extensions": ["mag"] + }, + "application/vnd.ecowin.filerequest": { + "source": "iana" + }, + "application/vnd.ecowin.fileupdate": { + "source": "iana" + }, + "application/vnd.ecowin.series": { + "source": "iana" + }, + "application/vnd.ecowin.seriesrequest": { + "source": "iana" + }, + "application/vnd.ecowin.seriesupdate": { + "source": "iana" + }, + "application/vnd.efi.img": { + "source": "iana" + }, + "application/vnd.efi.iso": { + "source": "iana" + }, + "application/vnd.eln+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.emclient.accessrequest+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.enliven": { + "source": "iana", + "extensions": ["nml"] + }, + "application/vnd.enphase.envoy": { + "source": "iana" + }, + "application/vnd.eprints.data+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.epson.esf": { + "source": "iana", + "extensions": ["esf"] + }, + "application/vnd.epson.msf": { + "source": "iana", + "extensions": ["msf"] + }, + "application/vnd.epson.quickanime": { + "source": "iana", + "extensions": ["qam"] + }, + "application/vnd.epson.salt": { + "source": "iana", + "extensions": ["slt"] + }, + "application/vnd.epson.ssf": { + "source": "iana", + "extensions": ["ssf"] + }, + "application/vnd.ericsson.quickcall": { + "source": "iana" + }, + "application/vnd.erofs": { + "source": "iana" + }, + "application/vnd.espass-espass+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.eszigno3+xml": { + "source": "iana", + "compressible": true, + "extensions": ["es3","et3"] + }, + "application/vnd.etsi.aoc+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.asic-e+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.etsi.asic-s+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.etsi.cug+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvcommand+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvdiscovery+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvprofile+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvsad-bc+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvsad-cod+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvsad-npvr+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvservice+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvsync+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvueprofile+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.mcid+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.mheg5": { + "source": "iana" + }, + "application/vnd.etsi.overload-control-policy-dataset+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.pstn+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.sci+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.simservs+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.timestamp-token": { + "source": "iana" + }, + "application/vnd.etsi.tsl+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.tsl.der": { + "source": "iana" + }, + "application/vnd.eu.kasparian.car+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.eudora.data": { + "source": "iana" + }, + "application/vnd.evolv.ecig.profile": { + "source": "iana" + }, + "application/vnd.evolv.ecig.settings": { + "source": "iana" + }, + "application/vnd.evolv.ecig.theme": { + "source": "iana" + }, + "application/vnd.exstream-empower+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.exstream-package": { + "source": "iana" + }, + "application/vnd.ezpix-album": { + "source": "iana", + "extensions": ["ez2"] + }, + "application/vnd.ezpix-package": { + "source": "iana", + "extensions": ["ez3"] + }, + "application/vnd.f-secure.mobile": { + "source": "iana" + }, + "application/vnd.familysearch.gedcom+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.fastcopy-disk-image": { + "source": "iana" + }, + "application/vnd.fdf": { + "source": "apache", + "extensions": ["fdf"] + }, + "application/vnd.fdsn.mseed": { + "source": "iana", + "extensions": ["mseed"] + }, + "application/vnd.fdsn.seed": { + "source": "iana", + "extensions": ["seed","dataless"] + }, + "application/vnd.fdsn.stationxml+xml": { + "source": "iana", + "charset": "XML-BASED", + "compressible": true + }, + "application/vnd.ffsns": { + "source": "iana" + }, + "application/vnd.ficlab.flb+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.filmit.zfc": { + "source": "iana" + }, + "application/vnd.fints": { + "source": "iana" + }, + "application/vnd.firemonkeys.cloudcell": { + "source": "iana" + }, + "application/vnd.flographit": { + "source": "iana", + "extensions": ["gph"] + }, + "application/vnd.fluxtime.clip": { + "source": "iana", + "extensions": ["ftc"] + }, + "application/vnd.font-fontforge-sfd": { + "source": "iana" + }, + "application/vnd.framemaker": { + "source": "iana", + "extensions": ["fm","frame","maker","book"] + }, + "application/vnd.freelog.comic": { + "source": "iana" + }, + "application/vnd.frogans.fnc": { + "source": "apache", + "extensions": ["fnc"] + }, + "application/vnd.frogans.ltf": { + "source": "apache", + "extensions": ["ltf"] + }, + "application/vnd.fsc.weblaunch": { + "source": "iana", + "extensions": ["fsc"] + }, + "application/vnd.fujifilm.fb.docuworks": { + "source": "iana" + }, + "application/vnd.fujifilm.fb.docuworks.binder": { + "source": "iana" + }, + "application/vnd.fujifilm.fb.docuworks.container": { + "source": "iana" + }, + "application/vnd.fujifilm.fb.jfi+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.fujitsu.oasys": { + "source": "iana", + "extensions": ["oas"] + }, + "application/vnd.fujitsu.oasys2": { + "source": "iana", + "extensions": ["oa2"] + }, + "application/vnd.fujitsu.oasys3": { + "source": "iana", + "extensions": ["oa3"] + }, + "application/vnd.fujitsu.oasysgp": { + "source": "iana", + "extensions": ["fg5"] + }, + "application/vnd.fujitsu.oasysprs": { + "source": "iana", + "extensions": ["bh2"] + }, + "application/vnd.fujixerox.art-ex": { + "source": "iana" + }, + "application/vnd.fujixerox.art4": { + "source": "iana" + }, + "application/vnd.fujixerox.ddd": { + "source": "iana", + "extensions": ["ddd"] + }, + "application/vnd.fujixerox.docuworks": { + "source": "iana", + "extensions": ["xdw"] + }, + "application/vnd.fujixerox.docuworks.binder": { + "source": "iana", + "extensions": ["xbd"] + }, + "application/vnd.fujixerox.docuworks.container": { + "source": "iana" + }, + "application/vnd.fujixerox.hbpl": { + "source": "iana" + }, + "application/vnd.fut-misnet": { + "source": "iana" + }, + "application/vnd.futoin+cbor": { + "source": "iana" + }, + "application/vnd.futoin+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.fuzzysheet": { + "source": "iana", + "extensions": ["fzs"] + }, + "application/vnd.ga4gh.passport+jwt": { + "source": "iana" + }, + "application/vnd.genomatix.tuxedo": { + "source": "iana", + "extensions": ["txd"] + }, + "application/vnd.genozip": { + "source": "iana" + }, + "application/vnd.gentics.grd+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.gentoo.catmetadata+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.gentoo.ebuild": { + "source": "iana" + }, + "application/vnd.gentoo.eclass": { + "source": "iana" + }, + "application/vnd.gentoo.gpkg": { + "source": "iana" + }, + "application/vnd.gentoo.manifest": { + "source": "iana" + }, + "application/vnd.gentoo.pkgmetadata+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.gentoo.xpak": { + "source": "iana" + }, + "application/vnd.geo+json": { + "source": "apache", + "compressible": true + }, + "application/vnd.geocube+xml": { + "source": "apache", + "compressible": true + }, + "application/vnd.geogebra.file": { + "source": "iana", + "extensions": ["ggb"] + }, + "application/vnd.geogebra.pinboard": { + "source": "iana" + }, + "application/vnd.geogebra.slides": { + "source": "iana", + "extensions": ["ggs"] + }, + "application/vnd.geogebra.tool": { + "source": "iana", + "extensions": ["ggt"] + }, + "application/vnd.geometry-explorer": { + "source": "iana", + "extensions": ["gex","gre"] + }, + "application/vnd.geonext": { + "source": "iana", + "extensions": ["gxt"] + }, + "application/vnd.geoplan": { + "source": "iana", + "extensions": ["g2w"] + }, + "application/vnd.geospace": { + "source": "iana", + "extensions": ["g3w"] + }, + "application/vnd.gerber": { + "source": "iana" + }, + "application/vnd.globalplatform.card-content-mgt": { + "source": "iana" + }, + "application/vnd.globalplatform.card-content-mgt-response": { + "source": "iana" + }, + "application/vnd.gmx": { + "source": "iana", + "extensions": ["gmx"] + }, + "application/vnd.gnu.taler.exchange+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.gnu.taler.merchant+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.google-apps.audio": {}, + "application/vnd.google-apps.document": { + "compressible": false, + "extensions": ["gdoc"] + }, + "application/vnd.google-apps.drawing": { + "compressible": false, + "extensions": ["gdraw"] + }, + "application/vnd.google-apps.drive-sdk": { + "compressible": false + }, + "application/vnd.google-apps.file": {}, + "application/vnd.google-apps.folder": { + "compressible": false + }, + "application/vnd.google-apps.form": { + "compressible": false, + "extensions": ["gform"] + }, + "application/vnd.google-apps.fusiontable": {}, + "application/vnd.google-apps.jam": { + "compressible": false, + "extensions": ["gjam"] + }, + "application/vnd.google-apps.mail-layout": {}, + "application/vnd.google-apps.map": { + "compressible": false, + "extensions": ["gmap"] + }, + "application/vnd.google-apps.photo": {}, + "application/vnd.google-apps.presentation": { + "compressible": false, + "extensions": ["gslides"] + }, + "application/vnd.google-apps.script": { + "compressible": false, + "extensions": ["gscript"] + }, + "application/vnd.google-apps.shortcut": {}, + "application/vnd.google-apps.site": { + "compressible": false, + "extensions": ["gsite"] + }, + "application/vnd.google-apps.spreadsheet": { + "compressible": false, + "extensions": ["gsheet"] + }, + "application/vnd.google-apps.unknown": {}, + "application/vnd.google-apps.video": {}, + "application/vnd.google-earth.kml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["kml"] + }, + "application/vnd.google-earth.kmz": { + "source": "iana", + "compressible": false, + "extensions": ["kmz"] + }, + "application/vnd.gov.sk.e-form+xml": { + "source": "apache", + "compressible": true + }, + "application/vnd.gov.sk.e-form+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.gov.sk.xmldatacontainer+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xdcf"] + }, + "application/vnd.gpxsee.map+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.grafeq": { + "source": "iana", + "extensions": ["gqf","gqs"] + }, + "application/vnd.gridmp": { + "source": "iana" + }, + "application/vnd.groove-account": { + "source": "iana", + "extensions": ["gac"] + }, + "application/vnd.groove-help": { + "source": "iana", + "extensions": ["ghf"] + }, + "application/vnd.groove-identity-message": { + "source": "iana", + "extensions": ["gim"] + }, + "application/vnd.groove-injector": { + "source": "iana", + "extensions": ["grv"] + }, + "application/vnd.groove-tool-message": { + "source": "iana", + "extensions": ["gtm"] + }, + "application/vnd.groove-tool-template": { + "source": "iana", + "extensions": ["tpl"] + }, + "application/vnd.groove-vcard": { + "source": "iana", + "extensions": ["vcg"] + }, + "application/vnd.hal+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.hal+xml": { + "source": "iana", + "compressible": true, + "extensions": ["hal"] + }, + "application/vnd.handheld-entertainment+xml": { + "source": "iana", + "compressible": true, + "extensions": ["zmm"] + }, + "application/vnd.hbci": { + "source": "iana", + "extensions": ["hbci"] + }, + "application/vnd.hc+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.hcl-bireports": { + "source": "iana" + }, + "application/vnd.hdt": { + "source": "iana" + }, + "application/vnd.heroku+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.hhe.lesson-player": { + "source": "iana", + "extensions": ["les"] + }, + "application/vnd.hp-hpgl": { + "source": "iana", + "extensions": ["hpgl"] + }, + "application/vnd.hp-hpid": { + "source": "iana", + "extensions": ["hpid"] + }, + "application/vnd.hp-hps": { + "source": "iana", + "extensions": ["hps"] + }, + "application/vnd.hp-jlyt": { + "source": "iana", + "extensions": ["jlt"] + }, + "application/vnd.hp-pcl": { + "source": "iana", + "extensions": ["pcl"] + }, + "application/vnd.hp-pclxl": { + "source": "iana", + "extensions": ["pclxl"] + }, + "application/vnd.hsl": { + "source": "iana" + }, + "application/vnd.httphone": { + "source": "iana" + }, + "application/vnd.hydrostatix.sof-data": { + "source": "iana", + "extensions": ["sfd-hdstx"] + }, + "application/vnd.hyper+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.hyper-item+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.hyperdrive+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.hzn-3d-crossword": { + "source": "iana" + }, + "application/vnd.ibm.afplinedata": { + "source": "apache" + }, + "application/vnd.ibm.electronic-media": { + "source": "iana" + }, + "application/vnd.ibm.minipay": { + "source": "iana", + "extensions": ["mpy"] + }, + "application/vnd.ibm.modcap": { + "source": "apache", + "extensions": ["afp","listafp","list3820"] + }, + "application/vnd.ibm.rights-management": { + "source": "iana", + "extensions": ["irm"] + }, + "application/vnd.ibm.secure-container": { + "source": "iana", + "extensions": ["sc"] + }, + "application/vnd.iccprofile": { + "source": "iana", + "extensions": ["icc","icm"] + }, + "application/vnd.ieee.1905": { + "source": "iana" + }, + "application/vnd.igloader": { + "source": "iana", + "extensions": ["igl"] + }, + "application/vnd.imagemeter.folder+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.imagemeter.image+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.immervision-ivp": { + "source": "iana", + "extensions": ["ivp"] + }, + "application/vnd.immervision-ivu": { + "source": "iana", + "extensions": ["ivu"] + }, + "application/vnd.ims.imsccv1p1": { + "source": "iana" + }, + "application/vnd.ims.imsccv1p2": { + "source": "iana" + }, + "application/vnd.ims.imsccv1p3": { + "source": "iana" + }, + "application/vnd.ims.lis.v2.result+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ims.lti.v2.toolconsumerprofile+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ims.lti.v2.toolproxy+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ims.lti.v2.toolproxy.id+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ims.lti.v2.toolsettings+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ims.lti.v2.toolsettings.simple+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.informedcontrol.rms+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.informix-visionary": { + "source": "apache" + }, + "application/vnd.infotech.project": { + "source": "iana" + }, + "application/vnd.infotech.project+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.innopath.wamp.notification": { + "source": "iana" + }, + "application/vnd.insors.igm": { + "source": "iana", + "extensions": ["igm"] + }, + "application/vnd.intercon.formnet": { + "source": "iana", + "extensions": ["xpw","xpx"] + }, + "application/vnd.intergeo": { + "source": "iana", + "extensions": ["i2g"] + }, + "application/vnd.intertrust.digibox": { + "source": "iana" + }, + "application/vnd.intertrust.nncp": { + "source": "iana" + }, + "application/vnd.intu.qbo": { + "source": "iana", + "extensions": ["qbo"] + }, + "application/vnd.intu.qfx": { + "source": "iana", + "extensions": ["qfx"] + }, + "application/vnd.ipfs.ipns-record": { + "source": "iana" + }, + "application/vnd.ipld.car": { + "source": "iana" + }, + "application/vnd.ipld.dag-cbor": { + "source": "iana" + }, + "application/vnd.ipld.dag-json": { + "source": "iana" + }, + "application/vnd.ipld.raw": { + "source": "iana" + }, + "application/vnd.iptc.g2.catalogitem+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.iptc.g2.conceptitem+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.iptc.g2.knowledgeitem+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.iptc.g2.newsitem+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.iptc.g2.newsmessage+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.iptc.g2.packageitem+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.iptc.g2.planningitem+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.ipunplugged.rcprofile": { + "source": "iana", + "extensions": ["rcprofile"] + }, + "application/vnd.irepository.package+xml": { + "source": "iana", + "compressible": true, + "extensions": ["irp"] + }, + "application/vnd.is-xpr": { + "source": "iana", + "extensions": ["xpr"] + }, + "application/vnd.isac.fcs": { + "source": "iana", + "extensions": ["fcs"] + }, + "application/vnd.iso11783-10+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.jam": { + "source": "iana", + "extensions": ["jam"] + }, + "application/vnd.japannet-directory-service": { + "source": "iana" + }, + "application/vnd.japannet-jpnstore-wakeup": { + "source": "iana" + }, + "application/vnd.japannet-payment-wakeup": { + "source": "iana" + }, + "application/vnd.japannet-registration": { + "source": "iana" + }, + "application/vnd.japannet-registration-wakeup": { + "source": "iana" + }, + "application/vnd.japannet-setstore-wakeup": { + "source": "iana" + }, + "application/vnd.japannet-verification": { + "source": "iana" + }, + "application/vnd.japannet-verification-wakeup": { + "source": "iana" + }, + "application/vnd.jcp.javame.midlet-rms": { + "source": "iana", + "extensions": ["rms"] + }, + "application/vnd.jisp": { + "source": "iana", + "extensions": ["jisp"] + }, + "application/vnd.joost.joda-archive": { + "source": "iana", + "extensions": ["joda"] + }, + "application/vnd.jsk.isdn-ngn": { + "source": "iana" + }, + "application/vnd.kahootz": { + "source": "iana", + "extensions": ["ktz","ktr"] + }, + "application/vnd.kde.karbon": { + "source": "iana", + "extensions": ["karbon"] + }, + "application/vnd.kde.kchart": { + "source": "iana", + "extensions": ["chrt"] + }, + "application/vnd.kde.kformula": { + "source": "iana", + "extensions": ["kfo"] + }, + "application/vnd.kde.kivio": { + "source": "iana", + "extensions": ["flw"] + }, + "application/vnd.kde.kontour": { + "source": "iana", + "extensions": ["kon"] + }, + "application/vnd.kde.kpresenter": { + "source": "iana", + "extensions": ["kpr","kpt"] + }, + "application/vnd.kde.kspread": { + "source": "iana", + "extensions": ["ksp"] + }, + "application/vnd.kde.kword": { + "source": "iana", + "extensions": ["kwd","kwt"] + }, + "application/vnd.kdl": { + "source": "iana" + }, + "application/vnd.kenameaapp": { + "source": "iana", + "extensions": ["htke"] + }, + "application/vnd.keyman.kmp+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.keyman.kmx": { + "source": "iana" + }, + "application/vnd.kidspiration": { + "source": "iana", + "extensions": ["kia"] + }, + "application/vnd.kinar": { + "source": "iana", + "extensions": ["kne","knp"] + }, + "application/vnd.koan": { + "source": "iana", + "extensions": ["skp","skd","skt","skm"] + }, + "application/vnd.kodak-descriptor": { + "source": "iana", + "extensions": ["sse"] + }, + "application/vnd.las": { + "source": "iana" + }, + "application/vnd.las.las+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.las.las+xml": { + "source": "iana", + "compressible": true, + "extensions": ["lasxml"] + }, + "application/vnd.laszip": { + "source": "iana" + }, + "application/vnd.ldev.productlicensing": { + "source": "iana" + }, + "application/vnd.leap+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.liberty-request+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.llamagraphics.life-balance.desktop": { + "source": "iana", + "extensions": ["lbd"] + }, + "application/vnd.llamagraphics.life-balance.exchange+xml": { + "source": "iana", + "compressible": true, + "extensions": ["lbe"] + }, + "application/vnd.logipipe.circuit+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.loom": { + "source": "iana" + }, + "application/vnd.lotus-1-2-3": { + "source": "iana", + "extensions": ["123"] + }, + "application/vnd.lotus-approach": { + "source": "iana", + "extensions": ["apr"] + }, + "application/vnd.lotus-freelance": { + "source": "iana", + "extensions": ["pre"] + }, + "application/vnd.lotus-notes": { + "source": "iana", + "extensions": ["nsf"] + }, + "application/vnd.lotus-organizer": { + "source": "iana", + "extensions": ["org"] + }, + "application/vnd.lotus-screencam": { + "source": "iana", + "extensions": ["scm"] + }, + "application/vnd.lotus-wordpro": { + "source": "iana", + "extensions": ["lwp"] + }, + "application/vnd.macports.portpkg": { + "source": "iana", + "extensions": ["portpkg"] + }, + "application/vnd.mapbox-vector-tile": { + "source": "iana", + "extensions": ["mvt"] + }, + "application/vnd.marlin.drm.actiontoken+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.marlin.drm.conftoken+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.marlin.drm.license+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.marlin.drm.mdcf": { + "source": "iana" + }, + "application/vnd.mason+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.maxar.archive.3tz+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.maxmind.maxmind-db": { + "source": "iana" + }, + "application/vnd.mcd": { + "source": "iana", + "extensions": ["mcd"] + }, + "application/vnd.mdl": { + "source": "iana" + }, + "application/vnd.mdl-mbsdf": { + "source": "iana" + }, + "application/vnd.medcalcdata": { + "source": "iana", + "extensions": ["mc1"] + }, + "application/vnd.mediastation.cdkey": { + "source": "iana", + "extensions": ["cdkey"] + }, + "application/vnd.medicalholodeck.recordxr": { + "source": "iana" + }, + "application/vnd.meridian-slingshot": { + "source": "iana" + }, + "application/vnd.mermaid": { + "source": "iana" + }, + "application/vnd.mfer": { + "source": "iana", + "extensions": ["mwf"] + }, + "application/vnd.mfmp": { + "source": "iana", + "extensions": ["mfm"] + }, + "application/vnd.micro+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.micrografx.flo": { + "source": "iana", + "extensions": ["flo"] + }, + "application/vnd.micrografx.igx": { + "source": "iana", + "extensions": ["igx"] + }, + "application/vnd.microsoft.portable-executable": { + "source": "iana" + }, + "application/vnd.microsoft.windows.thumbnail-cache": { + "source": "iana" + }, + "application/vnd.miele+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.mif": { + "source": "iana", + "extensions": ["mif"] + }, + "application/vnd.minisoft-hp3000-save": { + "source": "iana" + }, + "application/vnd.mitsubishi.misty-guard.trustweb": { + "source": "iana" + }, + "application/vnd.mobius.daf": { + "source": "iana", + "extensions": ["daf"] + }, + "application/vnd.mobius.dis": { + "source": "iana", + "extensions": ["dis"] + }, + "application/vnd.mobius.mbk": { + "source": "iana", + "extensions": ["mbk"] + }, + "application/vnd.mobius.mqy": { + "source": "iana", + "extensions": ["mqy"] + }, + "application/vnd.mobius.msl": { + "source": "iana", + "extensions": ["msl"] + }, + "application/vnd.mobius.plc": { + "source": "iana", + "extensions": ["plc"] + }, + "application/vnd.mobius.txf": { + "source": "iana", + "extensions": ["txf"] + }, + "application/vnd.modl": { + "source": "iana" + }, + "application/vnd.mophun.application": { + "source": "iana", + "extensions": ["mpn"] + }, + "application/vnd.mophun.certificate": { + "source": "iana", + "extensions": ["mpc"] + }, + "application/vnd.motorola.flexsuite": { + "source": "iana" + }, + "application/vnd.motorola.flexsuite.adsi": { + "source": "iana" + }, + "application/vnd.motorola.flexsuite.fis": { + "source": "iana" + }, + "application/vnd.motorola.flexsuite.gotap": { + "source": "iana" + }, + "application/vnd.motorola.flexsuite.kmr": { + "source": "iana" + }, + "application/vnd.motorola.flexsuite.ttc": { + "source": "iana" + }, + "application/vnd.motorola.flexsuite.wem": { + "source": "iana" + }, + "application/vnd.motorola.iprm": { + "source": "iana" + }, + "application/vnd.mozilla.xul+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xul"] + }, + "application/vnd.ms-3mfdocument": { + "source": "iana" + }, + "application/vnd.ms-artgalry": { + "source": "iana", + "extensions": ["cil"] + }, + "application/vnd.ms-asf": { + "source": "iana" + }, + "application/vnd.ms-cab-compressed": { + "source": "iana", + "extensions": ["cab"] + }, + "application/vnd.ms-color.iccprofile": { + "source": "apache" + }, + "application/vnd.ms-excel": { + "source": "iana", + "compressible": false, + "extensions": ["xls","xlm","xla","xlc","xlt","xlw"] + }, + "application/vnd.ms-excel.addin.macroenabled.12": { + "source": "iana", + "extensions": ["xlam"] + }, + "application/vnd.ms-excel.sheet.binary.macroenabled.12": { + "source": "iana", + "extensions": ["xlsb"] + }, + "application/vnd.ms-excel.sheet.macroenabled.12": { + "source": "iana", + "extensions": ["xlsm"] + }, + "application/vnd.ms-excel.template.macroenabled.12": { + "source": "iana", + "extensions": ["xltm"] + }, + "application/vnd.ms-fontobject": { + "source": "iana", + "compressible": true, + "extensions": ["eot"] + }, + "application/vnd.ms-htmlhelp": { + "source": "iana", + "extensions": ["chm"] + }, + "application/vnd.ms-ims": { + "source": "iana", + "extensions": ["ims"] + }, + "application/vnd.ms-lrm": { + "source": "iana", + "extensions": ["lrm"] + }, + "application/vnd.ms-office.activex+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.ms-officetheme": { + "source": "iana", + "extensions": ["thmx"] + }, + "application/vnd.ms-opentype": { + "source": "apache", + "compressible": true + }, + "application/vnd.ms-outlook": { + "compressible": false, + "extensions": ["msg"] + }, + "application/vnd.ms-package.obfuscated-opentype": { + "source": "apache" + }, + "application/vnd.ms-pki.seccat": { + "source": "apache", + "extensions": ["cat"] + }, + "application/vnd.ms-pki.stl": { + "source": "apache", + "extensions": ["stl"] + }, + "application/vnd.ms-playready.initiator+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.ms-powerpoint": { + "source": "iana", + "compressible": false, + "extensions": ["ppt","pps","pot"] + }, + "application/vnd.ms-powerpoint.addin.macroenabled.12": { + "source": "iana", + "extensions": ["ppam"] + }, + "application/vnd.ms-powerpoint.presentation.macroenabled.12": { + "source": "iana", + "extensions": ["pptm"] + }, + "application/vnd.ms-powerpoint.slide.macroenabled.12": { + "source": "iana", + "extensions": ["sldm"] + }, + "application/vnd.ms-powerpoint.slideshow.macroenabled.12": { + "source": "iana", + "extensions": ["ppsm"] + }, + "application/vnd.ms-powerpoint.template.macroenabled.12": { + "source": "iana", + "extensions": ["potm"] + }, + "application/vnd.ms-printdevicecapabilities+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.ms-printing.printticket+xml": { + "source": "apache", + "compressible": true + }, + "application/vnd.ms-printschematicket+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.ms-project": { + "source": "iana", + "extensions": ["mpp","mpt"] + }, + "application/vnd.ms-tnef": { + "source": "iana" + }, + "application/vnd.ms-visio.viewer": { + "extensions": ["vdx"] + }, + "application/vnd.ms-windows.devicepairing": { + "source": "iana" + }, + "application/vnd.ms-windows.nwprinting.oob": { + "source": "iana" + }, + "application/vnd.ms-windows.printerpairing": { + "source": "iana" + }, + "application/vnd.ms-windows.wsd.oob": { + "source": "iana" + }, + "application/vnd.ms-wmdrm.lic-chlg-req": { + "source": "iana" + }, + "application/vnd.ms-wmdrm.lic-resp": { + "source": "iana" + }, + "application/vnd.ms-wmdrm.meter-chlg-req": { + "source": "iana" + }, + "application/vnd.ms-wmdrm.meter-resp": { + "source": "iana" + }, + "application/vnd.ms-word.document.macroenabled.12": { + "source": "iana", + "extensions": ["docm"] + }, + "application/vnd.ms-word.template.macroenabled.12": { + "source": "iana", + "extensions": ["dotm"] + }, + "application/vnd.ms-works": { + "source": "iana", + "extensions": ["wps","wks","wcm","wdb"] + }, + "application/vnd.ms-wpl": { + "source": "iana", + "extensions": ["wpl"] + }, + "application/vnd.ms-xpsdocument": { + "source": "iana", + "compressible": false, + "extensions": ["xps"] + }, + "application/vnd.msa-disk-image": { + "source": "iana" + }, + "application/vnd.mseq": { + "source": "iana", + "extensions": ["mseq"] + }, + "application/vnd.msgpack": { + "source": "iana" + }, + "application/vnd.msign": { + "source": "iana" + }, + "application/vnd.multiad.creator": { + "source": "iana" + }, + "application/vnd.multiad.creator.cif": { + "source": "iana" + }, + "application/vnd.music-niff": { + "source": "iana" + }, + "application/vnd.musician": { + "source": "iana", + "extensions": ["mus"] + }, + "application/vnd.muvee.style": { + "source": "iana", + "extensions": ["msty"] + }, + "application/vnd.mynfc": { + "source": "iana", + "extensions": ["taglet"] + }, + "application/vnd.nacamar.ybrid+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.nato.bindingdataobject+cbor": { + "source": "iana" + }, + "application/vnd.nato.bindingdataobject+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.nato.bindingdataobject+xml": { + "source": "iana", + "compressible": true, + "extensions": ["bdo"] + }, + "application/vnd.nato.openxmlformats-package.iepd+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.ncd.control": { + "source": "iana" + }, + "application/vnd.ncd.reference": { + "source": "iana" + }, + "application/vnd.nearst.inv+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.nebumind.line": { + "source": "iana" + }, + "application/vnd.nervana": { + "source": "iana" + }, + "application/vnd.netfpx": { + "source": "iana" + }, + "application/vnd.neurolanguage.nlu": { + "source": "iana", + "extensions": ["nlu"] + }, + "application/vnd.nimn": { + "source": "iana" + }, + "application/vnd.nintendo.nitro.rom": { + "source": "iana" + }, + "application/vnd.nintendo.snes.rom": { + "source": "iana" + }, + "application/vnd.nitf": { + "source": "iana", + "extensions": ["ntf","nitf"] + }, + "application/vnd.noblenet-directory": { + "source": "iana", + "extensions": ["nnd"] + }, + "application/vnd.noblenet-sealer": { + "source": "iana", + "extensions": ["nns"] + }, + "application/vnd.noblenet-web": { + "source": "iana", + "extensions": ["nnw"] + }, + "application/vnd.nokia.catalogs": { + "source": "iana" + }, + "application/vnd.nokia.conml+wbxml": { + "source": "iana" + }, + "application/vnd.nokia.conml+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.nokia.iptv.config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.nokia.isds-radio-presets": { + "source": "iana" + }, + "application/vnd.nokia.landmark+wbxml": { + "source": "iana" + }, + "application/vnd.nokia.landmark+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.nokia.landmarkcollection+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.nokia.n-gage.ac+xml": { + "source": "iana", + "compressible": true, + "extensions": ["ac"] + }, + "application/vnd.nokia.n-gage.data": { + "source": "iana", + "extensions": ["ngdat"] + }, + "application/vnd.nokia.n-gage.symbian.install": { + "source": "apache", + "extensions": ["n-gage"] + }, + "application/vnd.nokia.ncd": { + "source": "iana" + }, + "application/vnd.nokia.pcd+wbxml": { + "source": "iana" + }, + "application/vnd.nokia.pcd+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.nokia.radio-preset": { + "source": "iana", + "extensions": ["rpst"] + }, + "application/vnd.nokia.radio-presets": { + "source": "iana", + "extensions": ["rpss"] + }, + "application/vnd.novadigm.edm": { + "source": "iana", + "extensions": ["edm"] + }, + "application/vnd.novadigm.edx": { + "source": "iana", + "extensions": ["edx"] + }, + "application/vnd.novadigm.ext": { + "source": "iana", + "extensions": ["ext"] + }, + "application/vnd.ntt-local.content-share": { + "source": "iana" + }, + "application/vnd.ntt-local.file-transfer": { + "source": "iana" + }, + "application/vnd.ntt-local.ogw_remote-access": { + "source": "iana" + }, + "application/vnd.ntt-local.sip-ta_remote": { + "source": "iana" + }, + "application/vnd.ntt-local.sip-ta_tcp_stream": { + "source": "iana" + }, + "application/vnd.oai.workflows": { + "source": "iana" + }, + "application/vnd.oai.workflows+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.oai.workflows+yaml": { + "source": "iana" + }, + "application/vnd.oasis.opendocument.base": { + "source": "iana" + }, + "application/vnd.oasis.opendocument.chart": { + "source": "iana", + "extensions": ["odc"] + }, + "application/vnd.oasis.opendocument.chart-template": { + "source": "iana", + "extensions": ["otc"] + }, + "application/vnd.oasis.opendocument.database": { + "source": "apache", + "extensions": ["odb"] + }, + "application/vnd.oasis.opendocument.formula": { + "source": "iana", + "extensions": ["odf"] + }, + "application/vnd.oasis.opendocument.formula-template": { + "source": "iana", + "extensions": ["odft"] + }, + "application/vnd.oasis.opendocument.graphics": { + "source": "iana", + "compressible": false, + "extensions": ["odg"] + }, + "application/vnd.oasis.opendocument.graphics-template": { + "source": "iana", + "extensions": ["otg"] + }, + "application/vnd.oasis.opendocument.image": { + "source": "iana", + "extensions": ["odi"] + }, + "application/vnd.oasis.opendocument.image-template": { + "source": "iana", + "extensions": ["oti"] + }, + "application/vnd.oasis.opendocument.presentation": { + "source": "iana", + "compressible": false, + "extensions": ["odp"] + }, + "application/vnd.oasis.opendocument.presentation-template": { + "source": "iana", + "extensions": ["otp"] + }, + "application/vnd.oasis.opendocument.spreadsheet": { + "source": "iana", + "compressible": false, + "extensions": ["ods"] + }, + "application/vnd.oasis.opendocument.spreadsheet-template": { + "source": "iana", + "extensions": ["ots"] + }, + "application/vnd.oasis.opendocument.text": { + "source": "iana", + "compressible": false, + "extensions": ["odt"] + }, + "application/vnd.oasis.opendocument.text-master": { + "source": "iana", + "extensions": ["odm"] + }, + "application/vnd.oasis.opendocument.text-master-template": { + "source": "iana" + }, + "application/vnd.oasis.opendocument.text-template": { + "source": "iana", + "extensions": ["ott"] + }, + "application/vnd.oasis.opendocument.text-web": { + "source": "iana", + "extensions": ["oth"] + }, + "application/vnd.obn": { + "source": "iana" + }, + "application/vnd.ocf+cbor": { + "source": "iana" + }, + "application/vnd.oci.image.manifest.v1+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.oftn.l10n+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.contentaccessdownload+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.contentaccessstreaming+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.cspg-hexbinary": { + "source": "iana" + }, + "application/vnd.oipf.dae.svg+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.dae.xhtml+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.mippvcontrolmessage+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.pae.gem": { + "source": "iana" + }, + "application/vnd.oipf.spdiscovery+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.spdlist+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.ueprofile+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.userprofile+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.olpc-sugar": { + "source": "iana", + "extensions": ["xo"] + }, + "application/vnd.oma-scws-config": { + "source": "iana" + }, + "application/vnd.oma-scws-http-request": { + "source": "iana" + }, + "application/vnd.oma-scws-http-response": { + "source": "iana" + }, + "application/vnd.oma.bcast.associated-procedure-parameter+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.bcast.drm-trigger+xml": { + "source": "apache", + "compressible": true + }, + "application/vnd.oma.bcast.imd+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.bcast.ltkm": { + "source": "iana" + }, + "application/vnd.oma.bcast.notification+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.bcast.provisioningtrigger": { + "source": "iana" + }, + "application/vnd.oma.bcast.sgboot": { + "source": "iana" + }, + "application/vnd.oma.bcast.sgdd+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.bcast.sgdu": { + "source": "iana" + }, + "application/vnd.oma.bcast.simple-symbol-container": { + "source": "iana" + }, + "application/vnd.oma.bcast.smartcard-trigger+xml": { + "source": "apache", + "compressible": true + }, + "application/vnd.oma.bcast.sprov+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.bcast.stkm": { + "source": "iana" + }, + "application/vnd.oma.cab-address-book+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.cab-feature-handler+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.cab-pcc+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.cab-subs-invite+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.cab-user-prefs+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.dcd": { + "source": "iana" + }, + "application/vnd.oma.dcdc": { + "source": "iana" + }, + "application/vnd.oma.dd2+xml": { + "source": "iana", + "compressible": true, + "extensions": ["dd2"] + }, + "application/vnd.oma.drm.risd+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.group-usage-list+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.lwm2m+cbor": { + "source": "iana" + }, + "application/vnd.oma.lwm2m+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.lwm2m+tlv": { + "source": "iana" + }, + "application/vnd.oma.pal+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.poc.detailed-progress-report+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.poc.final-report+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.poc.groups+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.poc.invocation-descriptor+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.poc.optimized-progress-report+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.push": { + "source": "iana" + }, + "application/vnd.oma.scidm.messages+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.xcap-directory+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.omads-email+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/vnd.omads-file+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/vnd.omads-folder+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/vnd.omaloc-supl-init": { + "source": "iana" + }, + "application/vnd.onepager": { + "source": "iana" + }, + "application/vnd.onepagertamp": { + "source": "iana" + }, + "application/vnd.onepagertamx": { + "source": "iana" + }, + "application/vnd.onepagertat": { + "source": "iana" + }, + "application/vnd.onepagertatp": { + "source": "iana" + }, + "application/vnd.onepagertatx": { + "source": "iana" + }, + "application/vnd.onvif.metadata": { + "source": "iana" + }, + "application/vnd.openblox.game+xml": { + "source": "iana", + "compressible": true, + "extensions": ["obgx"] + }, + "application/vnd.openblox.game-binary": { + "source": "iana" + }, + "application/vnd.openeye.oeb": { + "source": "iana" + }, + "application/vnd.openofficeorg.extension": { + "source": "apache", + "extensions": ["oxt"] + }, + "application/vnd.openstreetmap.data+xml": { + "source": "iana", + "compressible": true, + "extensions": ["osm"] + }, + "application/vnd.opentimestamps.ots": { + "source": "iana" + }, + "application/vnd.openvpi.dspx+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.custom-properties+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.customxmlproperties+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.drawing+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.drawingml.chart+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.extended-properties+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.comments+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.presentation": { + "source": "iana", + "compressible": false, + "extensions": ["pptx"] + }, + "application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.presprops+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.slide": { + "source": "iana", + "extensions": ["sldx"] + }, + "application/vnd.openxmlformats-officedocument.presentationml.slide+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.slideshow": { + "source": "iana", + "extensions": ["ppsx"] + }, + "application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.tags+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.template": { + "source": "iana", + "extensions": ["potx"] + }, + "application/vnd.openxmlformats-officedocument.presentationml.template.main+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": { + "source": "iana", + "compressible": false, + "extensions": ["xlsx"] + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.template": { + "source": "iana", + "extensions": ["xltx"] + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.theme+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.themeoverride+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.vmldrawing": { + "source": "iana" + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.document": { + "source": "iana", + "compressible": false, + "extensions": ["docx"] + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.template": { + "source": "iana", + "extensions": ["dotx"] + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-package.core-properties+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-package.relationships+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oracle.resource+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.orange.indata": { + "source": "iana" + }, + "application/vnd.osa.netdeploy": { + "source": "iana" + }, + "application/vnd.osgeo.mapguide.package": { + "source": "iana", + "extensions": ["mgp"] + }, + "application/vnd.osgi.bundle": { + "source": "iana" + }, + "application/vnd.osgi.dp": { + "source": "iana", + "extensions": ["dp"] + }, + "application/vnd.osgi.subsystem": { + "source": "iana", + "extensions": ["esa"] + }, + "application/vnd.otps.ct-kip+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oxli.countgraph": { + "source": "iana" + }, + "application/vnd.pagerduty+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.palm": { + "source": "iana", + "extensions": ["pdb","pqa","oprc"] + }, + "application/vnd.panoply": { + "source": "iana" + }, + "application/vnd.paos.xml": { + "source": "iana" + }, + "application/vnd.patentdive": { + "source": "iana" + }, + "application/vnd.patientecommsdoc": { + "source": "iana" + }, + "application/vnd.pawaafile": { + "source": "iana", + "extensions": ["paw"] + }, + "application/vnd.pcos": { + "source": "iana" + }, + "application/vnd.pg.format": { + "source": "iana", + "extensions": ["str"] + }, + "application/vnd.pg.osasli": { + "source": "iana", + "extensions": ["ei6"] + }, + "application/vnd.piaccess.application-licence": { + "source": "iana" + }, + "application/vnd.picsel": { + "source": "iana", + "extensions": ["efif"] + }, + "application/vnd.pmi.widget": { + "source": "iana", + "extensions": ["wg"] + }, + "application/vnd.poc.group-advertisement+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.pocketlearn": { + "source": "iana", + "extensions": ["plf"] + }, + "application/vnd.powerbuilder6": { + "source": "iana", + "extensions": ["pbd"] + }, + "application/vnd.powerbuilder6-s": { + "source": "iana" + }, + "application/vnd.powerbuilder7": { + "source": "iana" + }, + "application/vnd.powerbuilder7-s": { + "source": "iana" + }, + "application/vnd.powerbuilder75": { + "source": "iana" + }, + "application/vnd.powerbuilder75-s": { + "source": "iana" + }, + "application/vnd.preminet": { + "source": "iana" + }, + "application/vnd.previewsystems.box": { + "source": "iana", + "extensions": ["box"] + }, + "application/vnd.procrate.brushset": { + "extensions": ["brushset"] + }, + "application/vnd.procreate.brush": { + "extensions": ["brush"] + }, + "application/vnd.procreate.dream": { + "extensions": ["drm"] + }, + "application/vnd.proteus.magazine": { + "source": "iana", + "extensions": ["mgz"] + }, + "application/vnd.psfs": { + "source": "iana" + }, + "application/vnd.pt.mundusmundi": { + "source": "iana" + }, + "application/vnd.publishare-delta-tree": { + "source": "iana", + "extensions": ["qps"] + }, + "application/vnd.pvi.ptid1": { + "source": "iana", + "extensions": ["ptid"] + }, + "application/vnd.pwg-multiplexed": { + "source": "iana" + }, + "application/vnd.pwg-xhtml-print+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xhtm"] + }, + "application/vnd.qualcomm.brew-app-res": { + "source": "iana" + }, + "application/vnd.quarantainenet": { + "source": "iana" + }, + "application/vnd.quark.quarkxpress": { + "source": "iana", + "extensions": ["qxd","qxt","qwd","qwt","qxl","qxb"] + }, + "application/vnd.quobject-quoxdocument": { + "source": "iana" + }, + "application/vnd.radisys.moml+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-audit+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-audit-conf+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-audit-conn+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-audit-dialog+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-audit-stream+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-conf+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-dialog+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-dialog-base+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-dialog-fax-detect+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-dialog-fax-sendrecv+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-dialog-group+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-dialog-speech+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-dialog-transform+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.rainstor.data": { + "source": "iana" + }, + "application/vnd.rapid": { + "source": "iana" + }, + "application/vnd.rar": { + "source": "iana", + "extensions": ["rar"] + }, + "application/vnd.realvnc.bed": { + "source": "iana", + "extensions": ["bed"] + }, + "application/vnd.recordare.musicxml": { + "source": "iana", + "extensions": ["mxl"] + }, + "application/vnd.recordare.musicxml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["musicxml"] + }, + "application/vnd.relpipe": { + "source": "iana" + }, + "application/vnd.renlearn.rlprint": { + "source": "iana" + }, + "application/vnd.resilient.logic": { + "source": "iana" + }, + "application/vnd.restful+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.rig.cryptonote": { + "source": "iana", + "extensions": ["cryptonote"] + }, + "application/vnd.rim.cod": { + "source": "apache", + "extensions": ["cod"] + }, + "application/vnd.rn-realmedia": { + "source": "apache", + "extensions": ["rm"] + }, + "application/vnd.rn-realmedia-vbr": { + "source": "apache", + "extensions": ["rmvb"] + }, + "application/vnd.route66.link66+xml": { + "source": "iana", + "compressible": true, + "extensions": ["link66"] + }, + "application/vnd.rs-274x": { + "source": "iana" + }, + "application/vnd.ruckus.download": { + "source": "iana" + }, + "application/vnd.s3sms": { + "source": "iana" + }, + "application/vnd.sailingtracker.track": { + "source": "iana", + "extensions": ["st"] + }, + "application/vnd.sar": { + "source": "iana" + }, + "application/vnd.sbm.cid": { + "source": "iana" + }, + "application/vnd.sbm.mid2": { + "source": "iana" + }, + "application/vnd.scribus": { + "source": "iana" + }, + "application/vnd.sealed.3df": { + "source": "iana" + }, + "application/vnd.sealed.csf": { + "source": "iana" + }, + "application/vnd.sealed.doc": { + "source": "iana" + }, + "application/vnd.sealed.eml": { + "source": "iana" + }, + "application/vnd.sealed.mht": { + "source": "iana" + }, + "application/vnd.sealed.net": { + "source": "iana" + }, + "application/vnd.sealed.ppt": { + "source": "iana" + }, + "application/vnd.sealed.tiff": { + "source": "iana" + }, + "application/vnd.sealed.xls": { + "source": "iana" + }, + "application/vnd.sealedmedia.softseal.html": { + "source": "iana" + }, + "application/vnd.sealedmedia.softseal.pdf": { + "source": "iana" + }, + "application/vnd.seemail": { + "source": "iana", + "extensions": ["see"] + }, + "application/vnd.seis+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.sema": { + "source": "iana", + "extensions": ["sema"] + }, + "application/vnd.semd": { + "source": "iana", + "extensions": ["semd"] + }, + "application/vnd.semf": { + "source": "iana", + "extensions": ["semf"] + }, + "application/vnd.shade-save-file": { + "source": "iana" + }, + "application/vnd.shana.informed.formdata": { + "source": "iana", + "extensions": ["ifm"] + }, + "application/vnd.shana.informed.formtemplate": { + "source": "iana", + "extensions": ["itp"] + }, + "application/vnd.shana.informed.interchange": { + "source": "iana", + "extensions": ["iif"] + }, + "application/vnd.shana.informed.package": { + "source": "iana", + "extensions": ["ipk"] + }, + "application/vnd.shootproof+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.shopkick+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.shp": { + "source": "iana" + }, + "application/vnd.shx": { + "source": "iana" + }, + "application/vnd.sigrok.session": { + "source": "iana" + }, + "application/vnd.simtech-mindmapper": { + "source": "iana", + "extensions": ["twd","twds"] + }, + "application/vnd.siren+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.sketchometry": { + "source": "iana" + }, + "application/vnd.smaf": { + "source": "iana", + "extensions": ["mmf"] + }, + "application/vnd.smart.notebook": { + "source": "iana" + }, + "application/vnd.smart.teacher": { + "source": "iana", + "extensions": ["teacher"] + }, + "application/vnd.smintio.portals.archive": { + "source": "iana" + }, + "application/vnd.snesdev-page-table": { + "source": "iana" + }, + "application/vnd.software602.filler.form+xml": { + "source": "iana", + "compressible": true, + "extensions": ["fo"] + }, + "application/vnd.software602.filler.form-xml-zip": { + "source": "iana" + }, + "application/vnd.solent.sdkm+xml": { + "source": "iana", + "compressible": true, + "extensions": ["sdkm","sdkd"] + }, + "application/vnd.spotfire.dxp": { + "source": "iana", + "extensions": ["dxp"] + }, + "application/vnd.spotfire.sfs": { + "source": "iana", + "extensions": ["sfs"] + }, + "application/vnd.sqlite3": { + "source": "iana" + }, + "application/vnd.sss-cod": { + "source": "iana" + }, + "application/vnd.sss-dtf": { + "source": "iana" + }, + "application/vnd.sss-ntf": { + "source": "iana" + }, + "application/vnd.stardivision.calc": { + "source": "apache", + "extensions": ["sdc"] + }, + "application/vnd.stardivision.draw": { + "source": "apache", + "extensions": ["sda"] + }, + "application/vnd.stardivision.impress": { + "source": "apache", + "extensions": ["sdd"] + }, + "application/vnd.stardivision.math": { + "source": "apache", + "extensions": ["smf"] + }, + "application/vnd.stardivision.writer": { + "source": "apache", + "extensions": ["sdw","vor"] + }, + "application/vnd.stardivision.writer-global": { + "source": "apache", + "extensions": ["sgl"] + }, + "application/vnd.stepmania.package": { + "source": "iana", + "extensions": ["smzip"] + }, + "application/vnd.stepmania.stepchart": { + "source": "iana", + "extensions": ["sm"] + }, + "application/vnd.street-stream": { + "source": "iana" + }, + "application/vnd.sun.wadl+xml": { + "source": "iana", + "compressible": true, + "extensions": ["wadl"] + }, + "application/vnd.sun.xml.calc": { + "source": "apache", + "extensions": ["sxc"] + }, + "application/vnd.sun.xml.calc.template": { + "source": "apache", + "extensions": ["stc"] + }, + "application/vnd.sun.xml.draw": { + "source": "apache", + "extensions": ["sxd"] + }, + "application/vnd.sun.xml.draw.template": { + "source": "apache", + "extensions": ["std"] + }, + "application/vnd.sun.xml.impress": { + "source": "apache", + "extensions": ["sxi"] + }, + "application/vnd.sun.xml.impress.template": { + "source": "apache", + "extensions": ["sti"] + }, + "application/vnd.sun.xml.math": { + "source": "apache", + "extensions": ["sxm"] + }, + "application/vnd.sun.xml.writer": { + "source": "apache", + "extensions": ["sxw"] + }, + "application/vnd.sun.xml.writer.global": { + "source": "apache", + "extensions": ["sxg"] + }, + "application/vnd.sun.xml.writer.template": { + "source": "apache", + "extensions": ["stw"] + }, + "application/vnd.sus-calendar": { + "source": "iana", + "extensions": ["sus","susp"] + }, + "application/vnd.svd": { + "source": "iana", + "extensions": ["svd"] + }, + "application/vnd.swiftview-ics": { + "source": "iana" + }, + "application/vnd.sybyl.mol2": { + "source": "iana" + }, + "application/vnd.sycle+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.syft+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.symbian.install": { + "source": "apache", + "extensions": ["sis","sisx"] + }, + "application/vnd.syncml+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["xsm"] + }, + "application/vnd.syncml.dm+wbxml": { + "source": "iana", + "charset": "UTF-8", + "extensions": ["bdm"] + }, + "application/vnd.syncml.dm+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["xdm"] + }, + "application/vnd.syncml.dm.notification": { + "source": "iana" + }, + "application/vnd.syncml.dmddf+wbxml": { + "source": "iana" + }, + "application/vnd.syncml.dmddf+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["ddf"] + }, + "application/vnd.syncml.dmtnds+wbxml": { + "source": "iana" + }, + "application/vnd.syncml.dmtnds+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/vnd.syncml.ds.notification": { + "source": "iana" + }, + "application/vnd.tableschema+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.tao.intent-module-archive": { + "source": "iana", + "extensions": ["tao"] + }, + "application/vnd.tcpdump.pcap": { + "source": "iana", + "extensions": ["pcap","cap","dmp"] + }, + "application/vnd.think-cell.ppttc+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.tmd.mediaflex.api+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.tml": { + "source": "iana" + }, + "application/vnd.tmobile-livetv": { + "source": "iana", + "extensions": ["tmo"] + }, + "application/vnd.tri.onesource": { + "source": "iana" + }, + "application/vnd.trid.tpt": { + "source": "iana", + "extensions": ["tpt"] + }, + "application/vnd.triscape.mxs": { + "source": "iana", + "extensions": ["mxs"] + }, + "application/vnd.trueapp": { + "source": "iana", + "extensions": ["tra"] + }, + "application/vnd.truedoc": { + "source": "iana" + }, + "application/vnd.ubisoft.webplayer": { + "source": "iana" + }, + "application/vnd.ufdl": { + "source": "iana", + "extensions": ["ufd","ufdl"] + }, + "application/vnd.uic.osdm+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.uiq.theme": { + "source": "iana", + "extensions": ["utz"] + }, + "application/vnd.umajin": { + "source": "iana", + "extensions": ["umj"] + }, + "application/vnd.unity": { + "source": "iana", + "extensions": ["unityweb"] + }, + "application/vnd.uoml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["uoml","uo"] + }, + "application/vnd.uplanet.alert": { + "source": "iana" + }, + "application/vnd.uplanet.alert-wbxml": { + "source": "iana" + }, + "application/vnd.uplanet.bearer-choice": { + "source": "iana" + }, + "application/vnd.uplanet.bearer-choice-wbxml": { + "source": "iana" + }, + "application/vnd.uplanet.cacheop": { + "source": "iana" + }, + "application/vnd.uplanet.cacheop-wbxml": { + "source": "iana" + }, + "application/vnd.uplanet.channel": { + "source": "iana" + }, + "application/vnd.uplanet.channel-wbxml": { + "source": "iana" + }, + "application/vnd.uplanet.list": { + "source": "iana" + }, + "application/vnd.uplanet.list-wbxml": { + "source": "iana" + }, + "application/vnd.uplanet.listcmd": { + "source": "iana" + }, + "application/vnd.uplanet.listcmd-wbxml": { + "source": "iana" + }, + "application/vnd.uplanet.signal": { + "source": "iana" + }, + "application/vnd.uri-map": { + "source": "iana" + }, + "application/vnd.valve.source.material": { + "source": "iana" + }, + "application/vnd.vcx": { + "source": "iana", + "extensions": ["vcx"] + }, + "application/vnd.vd-study": { + "source": "iana" + }, + "application/vnd.vectorworks": { + "source": "iana" + }, + "application/vnd.vel+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.veraison.tsm-report+cbor": { + "source": "iana" + }, + "application/vnd.veraison.tsm-report+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.verimatrix.vcas": { + "source": "iana" + }, + "application/vnd.veritone.aion+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.veryant.thin": { + "source": "iana" + }, + "application/vnd.ves.encrypted": { + "source": "iana" + }, + "application/vnd.vidsoft.vidconference": { + "source": "iana" + }, + "application/vnd.visio": { + "source": "iana", + "extensions": ["vsd","vst","vss","vsw","vsdx","vtx"] + }, + "application/vnd.visionary": { + "source": "iana", + "extensions": ["vis"] + }, + "application/vnd.vividence.scriptfile": { + "source": "iana" + }, + "application/vnd.vocalshaper.vsp4": { + "source": "iana" + }, + "application/vnd.vsf": { + "source": "iana", + "extensions": ["vsf"] + }, + "application/vnd.wap.sic": { + "source": "iana" + }, + "application/vnd.wap.slc": { + "source": "iana" + }, + "application/vnd.wap.wbxml": { + "source": "iana", + "charset": "UTF-8", + "extensions": ["wbxml"] + }, + "application/vnd.wap.wmlc": { + "source": "iana", + "extensions": ["wmlc"] + }, + "application/vnd.wap.wmlscriptc": { + "source": "iana", + "extensions": ["wmlsc"] + }, + "application/vnd.wasmflow.wafl": { + "source": "iana" + }, + "application/vnd.webturbo": { + "source": "iana", + "extensions": ["wtb"] + }, + "application/vnd.wfa.dpp": { + "source": "iana" + }, + "application/vnd.wfa.p2p": { + "source": "iana" + }, + "application/vnd.wfa.wsc": { + "source": "iana" + }, + "application/vnd.windows.devicepairing": { + "source": "iana" + }, + "application/vnd.wmc": { + "source": "iana" + }, + "application/vnd.wmf.bootstrap": { + "source": "iana" + }, + "application/vnd.wolfram.mathematica": { + "source": "iana" + }, + "application/vnd.wolfram.mathematica.package": { + "source": "iana" + }, + "application/vnd.wolfram.player": { + "source": "iana", + "extensions": ["nbp"] + }, + "application/vnd.wordlift": { + "source": "iana" + }, + "application/vnd.wordperfect": { + "source": "iana", + "extensions": ["wpd"] + }, + "application/vnd.wqd": { + "source": "iana", + "extensions": ["wqd"] + }, + "application/vnd.wrq-hp3000-labelled": { + "source": "iana" + }, + "application/vnd.wt.stf": { + "source": "iana", + "extensions": ["stf"] + }, + "application/vnd.wv.csp+wbxml": { + "source": "iana" + }, + "application/vnd.wv.csp+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.wv.ssp+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.xacml+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.xara": { + "source": "iana", + "extensions": ["xar"] + }, + "application/vnd.xarin.cpj": { + "source": "iana" + }, + "application/vnd.xecrets-encrypted": { + "source": "iana" + }, + "application/vnd.xfdl": { + "source": "iana", + "extensions": ["xfdl"] + }, + "application/vnd.xfdl.webform": { + "source": "iana" + }, + "application/vnd.xmi+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.xmpie.cpkg": { + "source": "iana" + }, + "application/vnd.xmpie.dpkg": { + "source": "iana" + }, + "application/vnd.xmpie.plan": { + "source": "iana" + }, + "application/vnd.xmpie.ppkg": { + "source": "iana" + }, + "application/vnd.xmpie.xlim": { + "source": "iana" + }, + "application/vnd.yamaha.hv-dic": { + "source": "iana", + "extensions": ["hvd"] + }, + "application/vnd.yamaha.hv-script": { + "source": "iana", + "extensions": ["hvs"] + }, + "application/vnd.yamaha.hv-voice": { + "source": "iana", + "extensions": ["hvp"] + }, + "application/vnd.yamaha.openscoreformat": { + "source": "iana", + "extensions": ["osf"] + }, + "application/vnd.yamaha.openscoreformat.osfpvg+xml": { + "source": "iana", + "compressible": true, + "extensions": ["osfpvg"] + }, + "application/vnd.yamaha.remote-setup": { + "source": "iana" + }, + "application/vnd.yamaha.smaf-audio": { + "source": "iana", + "extensions": ["saf"] + }, + "application/vnd.yamaha.smaf-phrase": { + "source": "iana", + "extensions": ["spf"] + }, + "application/vnd.yamaha.through-ngn": { + "source": "iana" + }, + "application/vnd.yamaha.tunnel-udpencap": { + "source": "iana" + }, + "application/vnd.yaoweme": { + "source": "iana" + }, + "application/vnd.yellowriver-custom-menu": { + "source": "iana", + "extensions": ["cmp"] + }, + "application/vnd.zul": { + "source": "iana", + "extensions": ["zir","zirz"] + }, + "application/vnd.zzazz.deck+xml": { + "source": "iana", + "compressible": true, + "extensions": ["zaz"] + }, + "application/voicexml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["vxml"] + }, + "application/voucher-cms+json": { + "source": "iana", + "compressible": true + }, + "application/voucher-jws+json": { + "source": "iana", + "compressible": true + }, + "application/vp": { + "source": "iana" + }, + "application/vp+cose": { + "source": "iana" + }, + "application/vp+jwt": { + "source": "iana" + }, + "application/vq-rtcpxr": { + "source": "iana" + }, + "application/wasm": { + "source": "iana", + "compressible": true, + "extensions": ["wasm"] + }, + "application/watcherinfo+xml": { + "source": "iana", + "compressible": true, + "extensions": ["wif"] + }, + "application/webpush-options+json": { + "source": "iana", + "compressible": true + }, + "application/whoispp-query": { + "source": "iana" + }, + "application/whoispp-response": { + "source": "iana" + }, + "application/widget": { + "source": "iana", + "extensions": ["wgt"] + }, + "application/winhlp": { + "source": "apache", + "extensions": ["hlp"] + }, + "application/wita": { + "source": "iana" + }, + "application/wordperfect5.1": { + "source": "iana" + }, + "application/wsdl+xml": { + "source": "iana", + "compressible": true, + "extensions": ["wsdl"] + }, + "application/wspolicy+xml": { + "source": "iana", + "compressible": true, + "extensions": ["wspolicy"] + }, + "application/x-7z-compressed": { + "source": "apache", + "compressible": false, + "extensions": ["7z"] + }, + "application/x-abiword": { + "source": "apache", + "extensions": ["abw"] + }, + "application/x-ace-compressed": { + "source": "apache", + "extensions": ["ace"] + }, + "application/x-amf": { + "source": "apache" + }, + "application/x-apple-diskimage": { + "source": "apache", + "extensions": ["dmg"] + }, + "application/x-arj": { + "compressible": false, + "extensions": ["arj"] + }, + "application/x-authorware-bin": { + "source": "apache", + "extensions": ["aab","x32","u32","vox"] + }, + "application/x-authorware-map": { + "source": "apache", + "extensions": ["aam"] + }, + "application/x-authorware-seg": { + "source": "apache", + "extensions": ["aas"] + }, + "application/x-bcpio": { + "source": "apache", + "extensions": ["bcpio"] + }, + "application/x-bdoc": { + "compressible": false, + "extensions": ["bdoc"] + }, + "application/x-bittorrent": { + "source": "apache", + "extensions": ["torrent"] + }, + "application/x-blender": { + "extensions": ["blend"] + }, + "application/x-blorb": { + "source": "apache", + "extensions": ["blb","blorb"] + }, + "application/x-bzip": { + "source": "apache", + "compressible": false, + "extensions": ["bz"] + }, + "application/x-bzip2": { + "source": "apache", + "compressible": false, + "extensions": ["bz2","boz"] + }, + "application/x-cbr": { + "source": "apache", + "extensions": ["cbr","cba","cbt","cbz","cb7"] + }, + "application/x-cdlink": { + "source": "apache", + "extensions": ["vcd"] + }, + "application/x-cfs-compressed": { + "source": "apache", + "extensions": ["cfs"] + }, + "application/x-chat": { + "source": "apache", + "extensions": ["chat"] + }, + "application/x-chess-pgn": { + "source": "apache", + "extensions": ["pgn"] + }, + "application/x-chrome-extension": { + "extensions": ["crx"] + }, + "application/x-cocoa": { + "source": "nginx", + "extensions": ["cco"] + }, + "application/x-compress": { + "source": "apache" + }, + "application/x-compressed": { + "extensions": ["rar"] + }, + "application/x-conference": { + "source": "apache", + "extensions": ["nsc"] + }, + "application/x-cpio": { + "source": "apache", + "extensions": ["cpio"] + }, + "application/x-csh": { + "source": "apache", + "extensions": ["csh"] + }, + "application/x-deb": { + "compressible": false + }, + "application/x-debian-package": { + "source": "apache", + "extensions": ["deb","udeb"] + }, + "application/x-dgc-compressed": { + "source": "apache", + "extensions": ["dgc"] + }, + "application/x-director": { + "source": "apache", + "extensions": ["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"] + }, + "application/x-doom": { + "source": "apache", + "extensions": ["wad"] + }, + "application/x-dtbncx+xml": { + "source": "apache", + "compressible": true, + "extensions": ["ncx"] + }, + "application/x-dtbook+xml": { + "source": "apache", + "compressible": true, + "extensions": ["dtb"] + }, + "application/x-dtbresource+xml": { + "source": "apache", + "compressible": true, + "extensions": ["res"] + }, + "application/x-dvi": { + "source": "apache", + "compressible": false, + "extensions": ["dvi"] + }, + "application/x-envoy": { + "source": "apache", + "extensions": ["evy"] + }, + "application/x-eva": { + "source": "apache", + "extensions": ["eva"] + }, + "application/x-font-bdf": { + "source": "apache", + "extensions": ["bdf"] + }, + "application/x-font-dos": { + "source": "apache" + }, + "application/x-font-framemaker": { + "source": "apache" + }, + "application/x-font-ghostscript": { + "source": "apache", + "extensions": ["gsf"] + }, + "application/x-font-libgrx": { + "source": "apache" + }, + "application/x-font-linux-psf": { + "source": "apache", + "extensions": ["psf"] + }, + "application/x-font-pcf": { + "source": "apache", + "extensions": ["pcf"] + }, + "application/x-font-snf": { + "source": "apache", + "extensions": ["snf"] + }, + "application/x-font-speedo": { + "source": "apache" + }, + "application/x-font-sunos-news": { + "source": "apache" + }, + "application/x-font-type1": { + "source": "apache", + "extensions": ["pfa","pfb","pfm","afm"] + }, + "application/x-font-vfont": { + "source": "apache" + }, + "application/x-freearc": { + "source": "apache", + "extensions": ["arc"] + }, + "application/x-futuresplash": { + "source": "apache", + "extensions": ["spl"] + }, + "application/x-gca-compressed": { + "source": "apache", + "extensions": ["gca"] + }, + "application/x-glulx": { + "source": "apache", + "extensions": ["ulx"] + }, + "application/x-gnumeric": { + "source": "apache", + "extensions": ["gnumeric"] + }, + "application/x-gramps-xml": { + "source": "apache", + "extensions": ["gramps"] + }, + "application/x-gtar": { + "source": "apache", + "extensions": ["gtar"] + }, + "application/x-gzip": { + "source": "apache" + }, + "application/x-hdf": { + "source": "apache", + "extensions": ["hdf"] + }, + "application/x-httpd-php": { + "compressible": true, + "extensions": ["php"] + }, + "application/x-install-instructions": { + "source": "apache", + "extensions": ["install"] + }, + "application/x-ipynb+json": { + "compressible": true, + "extensions": ["ipynb"] + }, + "application/x-iso9660-image": { + "source": "apache", + "extensions": ["iso"] + }, + "application/x-iwork-keynote-sffkey": { + "extensions": ["key"] + }, + "application/x-iwork-numbers-sffnumbers": { + "extensions": ["numbers"] + }, + "application/x-iwork-pages-sffpages": { + "extensions": ["pages"] + }, + "application/x-java-archive-diff": { + "source": "nginx", + "extensions": ["jardiff"] + }, + "application/x-java-jnlp-file": { + "source": "apache", + "compressible": false, + "extensions": ["jnlp"] + }, + "application/x-javascript": { + "compressible": true + }, + "application/x-keepass2": { + "extensions": ["kdbx"] + }, + "application/x-latex": { + "source": "apache", + "compressible": false, + "extensions": ["latex"] + }, + "application/x-lua-bytecode": { + "extensions": ["luac"] + }, + "application/x-lzh-compressed": { + "source": "apache", + "extensions": ["lzh","lha"] + }, + "application/x-makeself": { + "source": "nginx", + "extensions": ["run"] + }, + "application/x-mie": { + "source": "apache", + "extensions": ["mie"] + }, + "application/x-mobipocket-ebook": { + "source": "apache", + "extensions": ["prc","mobi"] + }, + "application/x-mpegurl": { + "compressible": false + }, + "application/x-ms-application": { + "source": "apache", + "extensions": ["application"] + }, + "application/x-ms-shortcut": { + "source": "apache", + "extensions": ["lnk"] + }, + "application/x-ms-wmd": { + "source": "apache", + "extensions": ["wmd"] + }, + "application/x-ms-wmz": { + "source": "apache", + "extensions": ["wmz"] + }, + "application/x-ms-xbap": { + "source": "apache", + "extensions": ["xbap"] + }, + "application/x-msaccess": { + "source": "apache", + "extensions": ["mdb"] + }, + "application/x-msbinder": { + "source": "apache", + "extensions": ["obd"] + }, + "application/x-mscardfile": { + "source": "apache", + "extensions": ["crd"] + }, + "application/x-msclip": { + "source": "apache", + "extensions": ["clp"] + }, + "application/x-msdos-program": { + "extensions": ["exe"] + }, + "application/x-msdownload": { + "source": "apache", + "extensions": ["exe","dll","com","bat","msi"] + }, + "application/x-msmediaview": { + "source": "apache", + "extensions": ["mvb","m13","m14"] + }, + "application/x-msmetafile": { + "source": "apache", + "extensions": ["wmf","wmz","emf","emz"] + }, + "application/x-msmoney": { + "source": "apache", + "extensions": ["mny"] + }, + "application/x-mspublisher": { + "source": "apache", + "extensions": ["pub"] + }, + "application/x-msschedule": { + "source": "apache", + "extensions": ["scd"] + }, + "application/x-msterminal": { + "source": "apache", + "extensions": ["trm"] + }, + "application/x-mswrite": { + "source": "apache", + "extensions": ["wri"] + }, + "application/x-netcdf": { + "source": "apache", + "extensions": ["nc","cdf"] + }, + "application/x-ns-proxy-autoconfig": { + "compressible": true, + "extensions": ["pac"] + }, + "application/x-nzb": { + "source": "apache", + "extensions": ["nzb"] + }, + "application/x-perl": { + "source": "nginx", + "extensions": ["pl","pm"] + }, + "application/x-pilot": { + "source": "nginx", + "extensions": ["prc","pdb"] + }, + "application/x-pkcs12": { + "source": "apache", + "compressible": false, + "extensions": ["p12","pfx"] + }, + "application/x-pkcs7-certificates": { + "source": "apache", + "extensions": ["p7b","spc"] + }, + "application/x-pkcs7-certreqresp": { + "source": "apache", + "extensions": ["p7r"] + }, + "application/x-pki-message": { + "source": "iana" + }, + "application/x-rar-compressed": { + "source": "apache", + "compressible": false, + "extensions": ["rar"] + }, + "application/x-redhat-package-manager": { + "source": "nginx", + "extensions": ["rpm"] + }, + "application/x-research-info-systems": { + "source": "apache", + "extensions": ["ris"] + }, + "application/x-sea": { + "source": "nginx", + "extensions": ["sea"] + }, + "application/x-sh": { + "source": "apache", + "compressible": true, + "extensions": ["sh"] + }, + "application/x-shar": { + "source": "apache", + "extensions": ["shar"] + }, + "application/x-shockwave-flash": { + "source": "apache", + "compressible": false, + "extensions": ["swf"] + }, + "application/x-silverlight-app": { + "source": "apache", + "extensions": ["xap"] + }, + "application/x-sql": { + "source": "apache", + "extensions": ["sql"] + }, + "application/x-stuffit": { + "source": "apache", + "compressible": false, + "extensions": ["sit"] + }, + "application/x-stuffitx": { + "source": "apache", + "extensions": ["sitx"] + }, + "application/x-subrip": { + "source": "apache", + "extensions": ["srt"] + }, + "application/x-sv4cpio": { + "source": "apache", + "extensions": ["sv4cpio"] + }, + "application/x-sv4crc": { + "source": "apache", + "extensions": ["sv4crc"] + }, + "application/x-t3vm-image": { + "source": "apache", + "extensions": ["t3"] + }, + "application/x-tads": { + "source": "apache", + "extensions": ["gam"] + }, + "application/x-tar": { + "source": "apache", + "compressible": true, + "extensions": ["tar"] + }, + "application/x-tcl": { + "source": "apache", + "extensions": ["tcl","tk"] + }, + "application/x-tex": { + "source": "apache", + "extensions": ["tex"] + }, + "application/x-tex-tfm": { + "source": "apache", + "extensions": ["tfm"] + }, + "application/x-texinfo": { + "source": "apache", + "extensions": ["texinfo","texi"] + }, + "application/x-tgif": { + "source": "apache", + "extensions": ["obj"] + }, + "application/x-ustar": { + "source": "apache", + "extensions": ["ustar"] + }, + "application/x-virtualbox-hdd": { + "compressible": true, + "extensions": ["hdd"] + }, + "application/x-virtualbox-ova": { + "compressible": true, + "extensions": ["ova"] + }, + "application/x-virtualbox-ovf": { + "compressible": true, + "extensions": ["ovf"] + }, + "application/x-virtualbox-vbox": { + "compressible": true, + "extensions": ["vbox"] + }, + "application/x-virtualbox-vbox-extpack": { + "compressible": false, + "extensions": ["vbox-extpack"] + }, + "application/x-virtualbox-vdi": { + "compressible": true, + "extensions": ["vdi"] + }, + "application/x-virtualbox-vhd": { + "compressible": true, + "extensions": ["vhd"] + }, + "application/x-virtualbox-vmdk": { + "compressible": true, + "extensions": ["vmdk"] + }, + "application/x-wais-source": { + "source": "apache", + "extensions": ["src"] + }, + "application/x-web-app-manifest+json": { + "compressible": true, + "extensions": ["webapp"] + }, + "application/x-www-form-urlencoded": { + "source": "iana", + "compressible": true + }, + "application/x-x509-ca-cert": { + "source": "iana", + "extensions": ["der","crt","pem"] + }, + "application/x-x509-ca-ra-cert": { + "source": "iana" + }, + "application/x-x509-next-ca-cert": { + "source": "iana" + }, + "application/x-xfig": { + "source": "apache", + "extensions": ["fig"] + }, + "application/x-xliff+xml": { + "source": "apache", + "compressible": true, + "extensions": ["xlf"] + }, + "application/x-xpinstall": { + "source": "apache", + "compressible": false, + "extensions": ["xpi"] + }, + "application/x-xz": { + "source": "apache", + "extensions": ["xz"] + }, + "application/x-zip-compressed": { + "extensions": ["zip"] + }, + "application/x-zmachine": { + "source": "apache", + "extensions": ["z1","z2","z3","z4","z5","z6","z7","z8"] + }, + "application/x400-bp": { + "source": "iana" + }, + "application/xacml+xml": { + "source": "iana", + "compressible": true + }, + "application/xaml+xml": { + "source": "apache", + "compressible": true, + "extensions": ["xaml"] + }, + "application/xcap-att+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xav"] + }, + "application/xcap-caps+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xca"] + }, + "application/xcap-diff+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xdf"] + }, + "application/xcap-el+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xel"] + }, + "application/xcap-error+xml": { + "source": "iana", + "compressible": true + }, + "application/xcap-ns+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xns"] + }, + "application/xcon-conference-info+xml": { + "source": "iana", + "compressible": true + }, + "application/xcon-conference-info-diff+xml": { + "source": "iana", + "compressible": true + }, + "application/xenc+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xenc"] + }, + "application/xfdf": { + "source": "iana", + "extensions": ["xfdf"] + }, + "application/xhtml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xhtml","xht"] + }, + "application/xhtml-voice+xml": { + "source": "apache", + "compressible": true + }, + "application/xliff+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xlf"] + }, + "application/xml": { + "source": "iana", + "compressible": true, + "extensions": ["xml","xsl","xsd","rng"] + }, + "application/xml-dtd": { + "source": "iana", + "compressible": true, + "extensions": ["dtd"] + }, + "application/xml-external-parsed-entity": { + "source": "iana" + }, + "application/xml-patch+xml": { + "source": "iana", + "compressible": true + }, + "application/xmpp+xml": { + "source": "iana", + "compressible": true + }, + "application/xop+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xop"] + }, + "application/xproc+xml": { + "source": "apache", + "compressible": true, + "extensions": ["xpl"] + }, + "application/xslt+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xsl","xslt"] + }, + "application/xspf+xml": { + "source": "apache", + "compressible": true, + "extensions": ["xspf"] + }, + "application/xv+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mxml","xhvml","xvml","xvm"] + }, + "application/yaml": { + "source": "iana" + }, + "application/yang": { + "source": "iana", + "extensions": ["yang"] + }, + "application/yang-data+cbor": { + "source": "iana" + }, + "application/yang-data+json": { + "source": "iana", + "compressible": true + }, + "application/yang-data+xml": { + "source": "iana", + "compressible": true + }, + "application/yang-patch+json": { + "source": "iana", + "compressible": true + }, + "application/yang-patch+xml": { + "source": "iana", + "compressible": true + }, + "application/yang-sid+json": { + "source": "iana", + "compressible": true + }, + "application/yin+xml": { + "source": "iana", + "compressible": true, + "extensions": ["yin"] + }, + "application/zip": { + "source": "iana", + "compressible": false, + "extensions": ["zip"] + }, + "application/zip+dotlottie": { + "extensions": ["lottie"] + }, + "application/zlib": { + "source": "iana" + }, + "application/zstd": { + "source": "iana" + }, + "audio/1d-interleaved-parityfec": { + "source": "iana" + }, + "audio/32kadpcm": { + "source": "iana" + }, + "audio/3gpp": { + "source": "iana", + "compressible": false, + "extensions": ["3gpp"] + }, + "audio/3gpp2": { + "source": "iana" + }, + "audio/aac": { + "source": "iana", + "extensions": ["adts","aac"] + }, + "audio/ac3": { + "source": "iana" + }, + "audio/adpcm": { + "source": "apache", + "extensions": ["adp"] + }, + "audio/amr": { + "source": "iana", + "extensions": ["amr"] + }, + "audio/amr-wb": { + "source": "iana" + }, + "audio/amr-wb+": { + "source": "iana" + }, + "audio/aptx": { + "source": "iana" + }, + "audio/asc": { + "source": "iana" + }, + "audio/atrac-advanced-lossless": { + "source": "iana" + }, + "audio/atrac-x": { + "source": "iana" + }, + "audio/atrac3": { + "source": "iana" + }, + "audio/basic": { + "source": "iana", + "compressible": false, + "extensions": ["au","snd"] + }, + "audio/bv16": { + "source": "iana" + }, + "audio/bv32": { + "source": "iana" + }, + "audio/clearmode": { + "source": "iana" + }, + "audio/cn": { + "source": "iana" + }, + "audio/dat12": { + "source": "iana" + }, + "audio/dls": { + "source": "iana" + }, + "audio/dsr-es201108": { + "source": "iana" + }, + "audio/dsr-es202050": { + "source": "iana" + }, + "audio/dsr-es202211": { + "source": "iana" + }, + "audio/dsr-es202212": { + "source": "iana" + }, + "audio/dv": { + "source": "iana" + }, + "audio/dvi4": { + "source": "iana" + }, + "audio/eac3": { + "source": "iana" + }, + "audio/encaprtp": { + "source": "iana" + }, + "audio/evrc": { + "source": "iana" + }, + "audio/evrc-qcp": { + "source": "iana" + }, + "audio/evrc0": { + "source": "iana" + }, + "audio/evrc1": { + "source": "iana" + }, + "audio/evrcb": { + "source": "iana" + }, + "audio/evrcb0": { + "source": "iana" + }, + "audio/evrcb1": { + "source": "iana" + }, + "audio/evrcnw": { + "source": "iana" + }, + "audio/evrcnw0": { + "source": "iana" + }, + "audio/evrcnw1": { + "source": "iana" + }, + "audio/evrcwb": { + "source": "iana" + }, + "audio/evrcwb0": { + "source": "iana" + }, + "audio/evrcwb1": { + "source": "iana" + }, + "audio/evs": { + "source": "iana" + }, + "audio/flac": { + "source": "iana" + }, + "audio/flexfec": { + "source": "iana" + }, + "audio/fwdred": { + "source": "iana" + }, + "audio/g711-0": { + "source": "iana" + }, + "audio/g719": { + "source": "iana" + }, + "audio/g722": { + "source": "iana" + }, + "audio/g7221": { + "source": "iana" + }, + "audio/g723": { + "source": "iana" + }, + "audio/g726-16": { + "source": "iana" + }, + "audio/g726-24": { + "source": "iana" + }, + "audio/g726-32": { + "source": "iana" + }, + "audio/g726-40": { + "source": "iana" + }, + "audio/g728": { + "source": "iana" + }, + "audio/g729": { + "source": "iana" + }, + "audio/g7291": { + "source": "iana" + }, + "audio/g729d": { + "source": "iana" + }, + "audio/g729e": { + "source": "iana" + }, + "audio/gsm": { + "source": "iana" + }, + "audio/gsm-efr": { + "source": "iana" + }, + "audio/gsm-hr-08": { + "source": "iana" + }, + "audio/ilbc": { + "source": "iana" + }, + "audio/ip-mr_v2.5": { + "source": "iana" + }, + "audio/isac": { + "source": "apache" + }, + "audio/l16": { + "source": "iana" + }, + "audio/l20": { + "source": "iana" + }, + "audio/l24": { + "source": "iana", + "compressible": false + }, + "audio/l8": { + "source": "iana" + }, + "audio/lpc": { + "source": "iana" + }, + "audio/matroska": { + "source": "iana" + }, + "audio/melp": { + "source": "iana" + }, + "audio/melp1200": { + "source": "iana" + }, + "audio/melp2400": { + "source": "iana" + }, + "audio/melp600": { + "source": "iana" + }, + "audio/mhas": { + "source": "iana" + }, + "audio/midi": { + "source": "apache", + "extensions": ["mid","midi","kar","rmi"] + }, + "audio/midi-clip": { + "source": "iana" + }, + "audio/mobile-xmf": { + "source": "iana", + "extensions": ["mxmf"] + }, + "audio/mp3": { + "compressible": false, + "extensions": ["mp3"] + }, + "audio/mp4": { + "source": "iana", + "compressible": false, + "extensions": ["m4a","mp4a","m4b"] + }, + "audio/mp4a-latm": { + "source": "iana" + }, + "audio/mpa": { + "source": "iana" + }, + "audio/mpa-robust": { + "source": "iana" + }, + "audio/mpeg": { + "source": "iana", + "compressible": false, + "extensions": ["mpga","mp2","mp2a","mp3","m2a","m3a"] + }, + "audio/mpeg4-generic": { + "source": "iana" + }, + "audio/musepack": { + "source": "apache" + }, + "audio/ogg": { + "source": "iana", + "compressible": false, + "extensions": ["oga","ogg","spx","opus"] + }, + "audio/opus": { + "source": "iana" + }, + "audio/parityfec": { + "source": "iana" + }, + "audio/pcma": { + "source": "iana" + }, + "audio/pcma-wb": { + "source": "iana" + }, + "audio/pcmu": { + "source": "iana" + }, + "audio/pcmu-wb": { + "source": "iana" + }, + "audio/prs.sid": { + "source": "iana" + }, + "audio/qcelp": { + "source": "iana" + }, + "audio/raptorfec": { + "source": "iana" + }, + "audio/red": { + "source": "iana" + }, + "audio/rtp-enc-aescm128": { + "source": "iana" + }, + "audio/rtp-midi": { + "source": "iana" + }, + "audio/rtploopback": { + "source": "iana" + }, + "audio/rtx": { + "source": "iana" + }, + "audio/s3m": { + "source": "apache", + "extensions": ["s3m"] + }, + "audio/scip": { + "source": "iana" + }, + "audio/silk": { + "source": "apache", + "extensions": ["sil"] + }, + "audio/smv": { + "source": "iana" + }, + "audio/smv-qcp": { + "source": "iana" + }, + "audio/smv0": { + "source": "iana" + }, + "audio/sofa": { + "source": "iana" + }, + "audio/sp-midi": { + "source": "iana" + }, + "audio/speex": { + "source": "iana" + }, + "audio/t140c": { + "source": "iana" + }, + "audio/t38": { + "source": "iana" + }, + "audio/telephone-event": { + "source": "iana" + }, + "audio/tetra_acelp": { + "source": "iana" + }, + "audio/tetra_acelp_bb": { + "source": "iana" + }, + "audio/tone": { + "source": "iana" + }, + "audio/tsvcis": { + "source": "iana" + }, + "audio/uemclip": { + "source": "iana" + }, + "audio/ulpfec": { + "source": "iana" + }, + "audio/usac": { + "source": "iana" + }, + "audio/vdvi": { + "source": "iana" + }, + "audio/vmr-wb": { + "source": "iana" + }, + "audio/vnd.3gpp.iufp": { + "source": "iana" + }, + "audio/vnd.4sb": { + "source": "iana" + }, + "audio/vnd.audiokoz": { + "source": "iana" + }, + "audio/vnd.celp": { + "source": "iana" + }, + "audio/vnd.cisco.nse": { + "source": "iana" + }, + "audio/vnd.cmles.radio-events": { + "source": "iana" + }, + "audio/vnd.cns.anp1": { + "source": "iana" + }, + "audio/vnd.cns.inf1": { + "source": "iana" + }, + "audio/vnd.dece.audio": { + "source": "iana", + "extensions": ["uva","uvva"] + }, + "audio/vnd.digital-winds": { + "source": "iana", + "extensions": ["eol"] + }, + "audio/vnd.dlna.adts": { + "source": "iana" + }, + "audio/vnd.dolby.heaac.1": { + "source": "iana" + }, + "audio/vnd.dolby.heaac.2": { + "source": "iana" + }, + "audio/vnd.dolby.mlp": { + "source": "iana" + }, + "audio/vnd.dolby.mps": { + "source": "iana" + }, + "audio/vnd.dolby.pl2": { + "source": "iana" + }, + "audio/vnd.dolby.pl2x": { + "source": "iana" + }, + "audio/vnd.dolby.pl2z": { + "source": "iana" + }, + "audio/vnd.dolby.pulse.1": { + "source": "iana" + }, + "audio/vnd.dra": { + "source": "iana", + "extensions": ["dra"] + }, + "audio/vnd.dts": { + "source": "iana", + "extensions": ["dts"] + }, + "audio/vnd.dts.hd": { + "source": "iana", + "extensions": ["dtshd"] + }, + "audio/vnd.dts.uhd": { + "source": "iana" + }, + "audio/vnd.dvb.file": { + "source": "iana" + }, + "audio/vnd.everad.plj": { + "source": "iana" + }, + "audio/vnd.hns.audio": { + "source": "iana" + }, + "audio/vnd.lucent.voice": { + "source": "iana", + "extensions": ["lvp"] + }, + "audio/vnd.ms-playready.media.pya": { + "source": "iana", + "extensions": ["pya"] + }, + "audio/vnd.nokia.mobile-xmf": { + "source": "iana" + }, + "audio/vnd.nortel.vbk": { + "source": "iana" + }, + "audio/vnd.nuera.ecelp4800": { + "source": "iana", + "extensions": ["ecelp4800"] + }, + "audio/vnd.nuera.ecelp7470": { + "source": "iana", + "extensions": ["ecelp7470"] + }, + "audio/vnd.nuera.ecelp9600": { + "source": "iana", + "extensions": ["ecelp9600"] + }, + "audio/vnd.octel.sbc": { + "source": "iana" + }, + "audio/vnd.presonus.multitrack": { + "source": "iana" + }, + "audio/vnd.qcelp": { + "source": "apache" + }, + "audio/vnd.rhetorex.32kadpcm": { + "source": "iana" + }, + "audio/vnd.rip": { + "source": "iana", + "extensions": ["rip"] + }, + "audio/vnd.rn-realaudio": { + "compressible": false + }, + "audio/vnd.sealedmedia.softseal.mpeg": { + "source": "iana" + }, + "audio/vnd.vmx.cvsd": { + "source": "iana" + }, + "audio/vnd.wave": { + "compressible": false + }, + "audio/vorbis": { + "source": "iana", + "compressible": false + }, + "audio/vorbis-config": { + "source": "iana" + }, + "audio/wav": { + "compressible": false, + "extensions": ["wav"] + }, + "audio/wave": { + "compressible": false, + "extensions": ["wav"] + }, + "audio/webm": { + "source": "apache", + "compressible": false, + "extensions": ["weba"] + }, + "audio/x-aac": { + "source": "apache", + "compressible": false, + "extensions": ["aac"] + }, + "audio/x-aiff": { + "source": "apache", + "extensions": ["aif","aiff","aifc"] + }, + "audio/x-caf": { + "source": "apache", + "compressible": false, + "extensions": ["caf"] + }, + "audio/x-flac": { + "source": "apache", + "extensions": ["flac"] + }, + "audio/x-m4a": { + "source": "nginx", + "extensions": ["m4a"] + }, + "audio/x-matroska": { + "source": "apache", + "extensions": ["mka"] + }, + "audio/x-mpegurl": { + "source": "apache", + "extensions": ["m3u"] + }, + "audio/x-ms-wax": { + "source": "apache", + "extensions": ["wax"] + }, + "audio/x-ms-wma": { + "source": "apache", + "extensions": ["wma"] + }, + "audio/x-pn-realaudio": { + "source": "apache", + "extensions": ["ram","ra"] + }, + "audio/x-pn-realaudio-plugin": { + "source": "apache", + "extensions": ["rmp"] + }, + "audio/x-realaudio": { + "source": "nginx", + "extensions": ["ra"] + }, + "audio/x-tta": { + "source": "apache" + }, + "audio/x-wav": { + "source": "apache", + "extensions": ["wav"] + }, + "audio/xm": { + "source": "apache", + "extensions": ["xm"] + }, + "chemical/x-cdx": { + "source": "apache", + "extensions": ["cdx"] + }, + "chemical/x-cif": { + "source": "apache", + "extensions": ["cif"] + }, + "chemical/x-cmdf": { + "source": "apache", + "extensions": ["cmdf"] + }, + "chemical/x-cml": { + "source": "apache", + "extensions": ["cml"] + }, + "chemical/x-csml": { + "source": "apache", + "extensions": ["csml"] + }, + "chemical/x-pdb": { + "source": "apache" + }, + "chemical/x-xyz": { + "source": "apache", + "extensions": ["xyz"] + }, + "font/collection": { + "source": "iana", + "extensions": ["ttc"] + }, + "font/otf": { + "source": "iana", + "compressible": true, + "extensions": ["otf"] + }, + "font/sfnt": { + "source": "iana" + }, + "font/ttf": { + "source": "iana", + "compressible": true, + "extensions": ["ttf"] + }, + "font/woff": { + "source": "iana", + "extensions": ["woff"] + }, + "font/woff2": { + "source": "iana", + "extensions": ["woff2"] + }, + "image/aces": { + "source": "iana", + "extensions": ["exr"] + }, + "image/apng": { + "source": "iana", + "compressible": false, + "extensions": ["apng"] + }, + "image/avci": { + "source": "iana", + "extensions": ["avci"] + }, + "image/avcs": { + "source": "iana", + "extensions": ["avcs"] + }, + "image/avif": { + "source": "iana", + "compressible": false, + "extensions": ["avif"] + }, + "image/bmp": { + "source": "iana", + "compressible": true, + "extensions": ["bmp","dib"] + }, + "image/cgm": { + "source": "iana", + "extensions": ["cgm"] + }, + "image/dicom-rle": { + "source": "iana", + "extensions": ["drle"] + }, + "image/dpx": { + "source": "iana", + "extensions": ["dpx"] + }, + "image/emf": { + "source": "iana", + "extensions": ["emf"] + }, + "image/fits": { + "source": "iana", + "extensions": ["fits"] + }, + "image/g3fax": { + "source": "iana", + "extensions": ["g3"] + }, + "image/gif": { + "source": "iana", + "compressible": false, + "extensions": ["gif"] + }, + "image/heic": { + "source": "iana", + "extensions": ["heic"] + }, + "image/heic-sequence": { + "source": "iana", + "extensions": ["heics"] + }, + "image/heif": { + "source": "iana", + "extensions": ["heif"] + }, + "image/heif-sequence": { + "source": "iana", + "extensions": ["heifs"] + }, + "image/hej2k": { + "source": "iana", + "extensions": ["hej2"] + }, + "image/ief": { + "source": "iana", + "extensions": ["ief"] + }, + "image/j2c": { + "source": "iana" + }, + "image/jaii": { + "source": "iana", + "extensions": ["jaii"] + }, + "image/jais": { + "source": "iana", + "extensions": ["jais"] + }, + "image/jls": { + "source": "iana", + "extensions": ["jls"] + }, + "image/jp2": { + "source": "iana", + "compressible": false, + "extensions": ["jp2","jpg2"] + }, + "image/jpeg": { + "source": "iana", + "compressible": false, + "extensions": ["jpg","jpeg","jpe"] + }, + "image/jph": { + "source": "iana", + "extensions": ["jph"] + }, + "image/jphc": { + "source": "iana", + "extensions": ["jhc"] + }, + "image/jpm": { + "source": "iana", + "compressible": false, + "extensions": ["jpm","jpgm"] + }, + "image/jpx": { + "source": "iana", + "compressible": false, + "extensions": ["jpx","jpf"] + }, + "image/jxl": { + "source": "iana", + "extensions": ["jxl"] + }, + "image/jxr": { + "source": "iana", + "extensions": ["jxr"] + }, + "image/jxra": { + "source": "iana", + "extensions": ["jxra"] + }, + "image/jxrs": { + "source": "iana", + "extensions": ["jxrs"] + }, + "image/jxs": { + "source": "iana", + "extensions": ["jxs"] + }, + "image/jxsc": { + "source": "iana", + "extensions": ["jxsc"] + }, + "image/jxsi": { + "source": "iana", + "extensions": ["jxsi"] + }, + "image/jxss": { + "source": "iana", + "extensions": ["jxss"] + }, + "image/ktx": { + "source": "iana", + "extensions": ["ktx"] + }, + "image/ktx2": { + "source": "iana", + "extensions": ["ktx2"] + }, + "image/naplps": { + "source": "iana" + }, + "image/pjpeg": { + "compressible": false, + "extensions": ["jfif"] + }, + "image/png": { + "source": "iana", + "compressible": false, + "extensions": ["png"] + }, + "image/prs.btif": { + "source": "iana", + "extensions": ["btif","btf"] + }, + "image/prs.pti": { + "source": "iana", + "extensions": ["pti"] + }, + "image/pwg-raster": { + "source": "iana" + }, + "image/sgi": { + "source": "apache", + "extensions": ["sgi"] + }, + "image/svg+xml": { + "source": "iana", + "compressible": true, + "extensions": ["svg","svgz"] + }, + "image/t38": { + "source": "iana", + "extensions": ["t38"] + }, + "image/tiff": { + "source": "iana", + "compressible": false, + "extensions": ["tif","tiff"] + }, + "image/tiff-fx": { + "source": "iana", + "extensions": ["tfx"] + }, + "image/vnd.adobe.photoshop": { + "source": "iana", + "compressible": true, + "extensions": ["psd"] + }, + "image/vnd.airzip.accelerator.azv": { + "source": "iana", + "extensions": ["azv"] + }, + "image/vnd.clip": { + "source": "iana" + }, + "image/vnd.cns.inf2": { + "source": "iana" + }, + "image/vnd.dece.graphic": { + "source": "iana", + "extensions": ["uvi","uvvi","uvg","uvvg"] + }, + "image/vnd.djvu": { + "source": "iana", + "extensions": ["djvu","djv"] + }, + "image/vnd.dvb.subtitle": { + "source": "iana", + "extensions": ["sub"] + }, + "image/vnd.dwg": { + "source": "iana", + "extensions": ["dwg"] + }, + "image/vnd.dxf": { + "source": "iana", + "extensions": ["dxf"] + }, + "image/vnd.fastbidsheet": { + "source": "iana", + "extensions": ["fbs"] + }, + "image/vnd.fpx": { + "source": "iana", + "extensions": ["fpx"] + }, + "image/vnd.fst": { + "source": "iana", + "extensions": ["fst"] + }, + "image/vnd.fujixerox.edmics-mmr": { + "source": "iana", + "extensions": ["mmr"] + }, + "image/vnd.fujixerox.edmics-rlc": { + "source": "iana", + "extensions": ["rlc"] + }, + "image/vnd.globalgraphics.pgb": { + "source": "iana" + }, + "image/vnd.microsoft.icon": { + "source": "iana", + "compressible": true, + "extensions": ["ico"] + }, + "image/vnd.mix": { + "source": "iana" + }, + "image/vnd.mozilla.apng": { + "source": "iana" + }, + "image/vnd.ms-dds": { + "compressible": true, + "extensions": ["dds"] + }, + "image/vnd.ms-modi": { + "source": "iana", + "extensions": ["mdi"] + }, + "image/vnd.ms-photo": { + "source": "apache", + "extensions": ["wdp"] + }, + "image/vnd.net-fpx": { + "source": "iana", + "extensions": ["npx"] + }, + "image/vnd.pco.b16": { + "source": "iana", + "extensions": ["b16"] + }, + "image/vnd.radiance": { + "source": "iana" + }, + "image/vnd.sealed.png": { + "source": "iana" + }, + "image/vnd.sealedmedia.softseal.gif": { + "source": "iana" + }, + "image/vnd.sealedmedia.softseal.jpg": { + "source": "iana" + }, + "image/vnd.svf": { + "source": "iana" + }, + "image/vnd.tencent.tap": { + "source": "iana", + "extensions": ["tap"] + }, + "image/vnd.valve.source.texture": { + "source": "iana", + "extensions": ["vtf"] + }, + "image/vnd.wap.wbmp": { + "source": "iana", + "extensions": ["wbmp"] + }, + "image/vnd.xiff": { + "source": "iana", + "extensions": ["xif"] + }, + "image/vnd.zbrush.pcx": { + "source": "iana", + "extensions": ["pcx"] + }, + "image/webp": { + "source": "iana", + "extensions": ["webp"] + }, + "image/wmf": { + "source": "iana", + "extensions": ["wmf"] + }, + "image/x-3ds": { + "source": "apache", + "extensions": ["3ds"] + }, + "image/x-adobe-dng": { + "extensions": ["dng"] + }, + "image/x-cmu-raster": { + "source": "apache", + "extensions": ["ras"] + }, + "image/x-cmx": { + "source": "apache", + "extensions": ["cmx"] + }, + "image/x-emf": { + "source": "iana" + }, + "image/x-freehand": { + "source": "apache", + "extensions": ["fh","fhc","fh4","fh5","fh7"] + }, + "image/x-icon": { + "source": "apache", + "compressible": true, + "extensions": ["ico"] + }, + "image/x-jng": { + "source": "nginx", + "extensions": ["jng"] + }, + "image/x-mrsid-image": { + "source": "apache", + "extensions": ["sid"] + }, + "image/x-ms-bmp": { + "source": "nginx", + "compressible": true, + "extensions": ["bmp"] + }, + "image/x-pcx": { + "source": "apache", + "extensions": ["pcx"] + }, + "image/x-pict": { + "source": "apache", + "extensions": ["pic","pct"] + }, + "image/x-portable-anymap": { + "source": "apache", + "extensions": ["pnm"] + }, + "image/x-portable-bitmap": { + "source": "apache", + "extensions": ["pbm"] + }, + "image/x-portable-graymap": { + "source": "apache", + "extensions": ["pgm"] + }, + "image/x-portable-pixmap": { + "source": "apache", + "extensions": ["ppm"] + }, + "image/x-rgb": { + "source": "apache", + "extensions": ["rgb"] + }, + "image/x-tga": { + "source": "apache", + "extensions": ["tga"] + }, + "image/x-wmf": { + "source": "iana" + }, + "image/x-xbitmap": { + "source": "apache", + "extensions": ["xbm"] + }, + "image/x-xcf": { + "compressible": false + }, + "image/x-xpixmap": { + "source": "apache", + "extensions": ["xpm"] + }, + "image/x-xwindowdump": { + "source": "apache", + "extensions": ["xwd"] + }, + "message/bhttp": { + "source": "iana" + }, + "message/cpim": { + "source": "iana" + }, + "message/delivery-status": { + "source": "iana" + }, + "message/disposition-notification": { + "source": "iana", + "extensions": [ + "disposition-notification" + ] + }, + "message/external-body": { + "source": "iana" + }, + "message/feedback-report": { + "source": "iana" + }, + "message/global": { + "source": "iana", + "extensions": ["u8msg"] + }, + "message/global-delivery-status": { + "source": "iana", + "extensions": ["u8dsn"] + }, + "message/global-disposition-notification": { + "source": "iana", + "extensions": ["u8mdn"] + }, + "message/global-headers": { + "source": "iana", + "extensions": ["u8hdr"] + }, + "message/http": { + "source": "iana", + "compressible": false + }, + "message/imdn+xml": { + "source": "iana", + "compressible": true + }, + "message/mls": { + "source": "iana" + }, + "message/news": { + "source": "apache" + }, + "message/ohttp-req": { + "source": "iana" + }, + "message/ohttp-res": { + "source": "iana" + }, + "message/partial": { + "source": "iana", + "compressible": false + }, + "message/rfc822": { + "source": "iana", + "compressible": true, + "extensions": ["eml","mime","mht","mhtml"] + }, + "message/s-http": { + "source": "apache" + }, + "message/sip": { + "source": "iana" + }, + "message/sipfrag": { + "source": "iana" + }, + "message/tracking-status": { + "source": "iana" + }, + "message/vnd.si.simp": { + "source": "apache" + }, + "message/vnd.wfa.wsc": { + "source": "iana", + "extensions": ["wsc"] + }, + "model/3mf": { + "source": "iana", + "extensions": ["3mf"] + }, + "model/e57": { + "source": "iana" + }, + "model/gltf+json": { + "source": "iana", + "compressible": true, + "extensions": ["gltf"] + }, + "model/gltf-binary": { + "source": "iana", + "compressible": true, + "extensions": ["glb"] + }, + "model/iges": { + "source": "iana", + "compressible": false, + "extensions": ["igs","iges"] + }, + "model/jt": { + "source": "iana", + "extensions": ["jt"] + }, + "model/mesh": { + "source": "iana", + "compressible": false, + "extensions": ["msh","mesh","silo"] + }, + "model/mtl": { + "source": "iana", + "extensions": ["mtl"] + }, + "model/obj": { + "source": "iana", + "extensions": ["obj"] + }, + "model/prc": { + "source": "iana", + "extensions": ["prc"] + }, + "model/step": { + "source": "iana", + "extensions": ["step","stp","stpnc","p21","210"] + }, + "model/step+xml": { + "source": "iana", + "compressible": true, + "extensions": ["stpx"] + }, + "model/step+zip": { + "source": "iana", + "compressible": false, + "extensions": ["stpz"] + }, + "model/step-xml+zip": { + "source": "iana", + "compressible": false, + "extensions": ["stpxz"] + }, + "model/stl": { + "source": "iana", + "extensions": ["stl"] + }, + "model/u3d": { + "source": "iana", + "extensions": ["u3d"] + }, + "model/vnd.bary": { + "source": "iana", + "extensions": ["bary"] + }, + "model/vnd.cld": { + "source": "iana", + "extensions": ["cld"] + }, + "model/vnd.collada+xml": { + "source": "iana", + "compressible": true, + "extensions": ["dae"] + }, + "model/vnd.dwf": { + "source": "iana", + "extensions": ["dwf"] + }, + "model/vnd.flatland.3dml": { + "source": "iana" + }, + "model/vnd.gdl": { + "source": "iana", + "extensions": ["gdl"] + }, + "model/vnd.gs-gdl": { + "source": "apache" + }, + "model/vnd.gs.gdl": { + "source": "iana" + }, + "model/vnd.gtw": { + "source": "iana", + "extensions": ["gtw"] + }, + "model/vnd.moml+xml": { + "source": "iana", + "compressible": true + }, + "model/vnd.mts": { + "source": "iana", + "extensions": ["mts"] + }, + "model/vnd.opengex": { + "source": "iana", + "extensions": ["ogex"] + }, + "model/vnd.parasolid.transmit.binary": { + "source": "iana", + "extensions": ["x_b"] + }, + "model/vnd.parasolid.transmit.text": { + "source": "iana", + "extensions": ["x_t"] + }, + "model/vnd.pytha.pyox": { + "source": "iana", + "extensions": ["pyo","pyox"] + }, + "model/vnd.rosette.annotated-data-model": { + "source": "iana" + }, + "model/vnd.sap.vds": { + "source": "iana", + "extensions": ["vds"] + }, + "model/vnd.usda": { + "source": "iana", + "extensions": ["usda"] + }, + "model/vnd.usdz+zip": { + "source": "iana", + "compressible": false, + "extensions": ["usdz"] + }, + "model/vnd.valve.source.compiled-map": { + "source": "iana", + "extensions": ["bsp"] + }, + "model/vnd.vtu": { + "source": "iana", + "extensions": ["vtu"] + }, + "model/vrml": { + "source": "iana", + "compressible": false, + "extensions": ["wrl","vrml"] + }, + "model/x3d+binary": { + "source": "apache", + "compressible": false, + "extensions": ["x3db","x3dbz"] + }, + "model/x3d+fastinfoset": { + "source": "iana", + "extensions": ["x3db"] + }, + "model/x3d+vrml": { + "source": "apache", + "compressible": false, + "extensions": ["x3dv","x3dvz"] + }, + "model/x3d+xml": { + "source": "iana", + "compressible": true, + "extensions": ["x3d","x3dz"] + }, + "model/x3d-vrml": { + "source": "iana", + "extensions": ["x3dv"] + }, + "multipart/alternative": { + "source": "iana", + "compressible": false + }, + "multipart/appledouble": { + "source": "iana" + }, + "multipart/byteranges": { + "source": "iana" + }, + "multipart/digest": { + "source": "iana" + }, + "multipart/encrypted": { + "source": "iana", + "compressible": false + }, + "multipart/form-data": { + "source": "iana", + "compressible": false + }, + "multipart/header-set": { + "source": "iana" + }, + "multipart/mixed": { + "source": "iana" + }, + "multipart/multilingual": { + "source": "iana" + }, + "multipart/parallel": { + "source": "iana" + }, + "multipart/related": { + "source": "iana", + "compressible": false + }, + "multipart/report": { + "source": "iana" + }, + "multipart/signed": { + "source": "iana", + "compressible": false + }, + "multipart/vnd.bint.med-plus": { + "source": "iana" + }, + "multipart/voice-message": { + "source": "iana" + }, + "multipart/x-mixed-replace": { + "source": "iana" + }, + "text/1d-interleaved-parityfec": { + "source": "iana" + }, + "text/cache-manifest": { + "source": "iana", + "compressible": true, + "extensions": ["appcache","manifest"] + }, + "text/calendar": { + "source": "iana", + "extensions": ["ics","ifb"] + }, + "text/calender": { + "compressible": true + }, + "text/cmd": { + "compressible": true + }, + "text/coffeescript": { + "extensions": ["coffee","litcoffee"] + }, + "text/cql": { + "source": "iana" + }, + "text/cql-expression": { + "source": "iana" + }, + "text/cql-identifier": { + "source": "iana" + }, + "text/css": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["css"] + }, + "text/csv": { + "source": "iana", + "compressible": true, + "extensions": ["csv"] + }, + "text/csv-schema": { + "source": "iana" + }, + "text/directory": { + "source": "iana" + }, + "text/dns": { + "source": "iana" + }, + "text/ecmascript": { + "source": "apache" + }, + "text/encaprtp": { + "source": "iana" + }, + "text/enriched": { + "source": "iana" + }, + "text/fhirpath": { + "source": "iana" + }, + "text/flexfec": { + "source": "iana" + }, + "text/fwdred": { + "source": "iana" + }, + "text/gff3": { + "source": "iana" + }, + "text/grammar-ref-list": { + "source": "iana" + }, + "text/hl7v2": { + "source": "iana" + }, + "text/html": { + "source": "iana", + "compressible": true, + "extensions": ["html","htm","shtml"] + }, + "text/jade": { + "extensions": ["jade"] + }, + "text/javascript": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["js","mjs"] + }, + "text/jcr-cnd": { + "source": "iana" + }, + "text/jsx": { + "compressible": true, + "extensions": ["jsx"] + }, + "text/less": { + "compressible": true, + "extensions": ["less"] + }, + "text/markdown": { + "source": "iana", + "compressible": true, + "extensions": ["md","markdown"] + }, + "text/mathml": { + "source": "nginx", + "extensions": ["mml"] + }, + "text/mdx": { + "compressible": true, + "extensions": ["mdx"] + }, + "text/mizar": { + "source": "iana" + }, + "text/n3": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["n3"] + }, + "text/parameters": { + "source": "iana", + "charset": "UTF-8" + }, + "text/parityfec": { + "source": "iana" + }, + "text/plain": { + "source": "iana", + "compressible": true, + "extensions": ["txt","text","conf","def","list","log","in","ini"] + }, + "text/provenance-notation": { + "source": "iana", + "charset": "UTF-8" + }, + "text/prs.fallenstein.rst": { + "source": "iana" + }, + "text/prs.lines.tag": { + "source": "iana", + "extensions": ["dsc"] + }, + "text/prs.prop.logic": { + "source": "iana" + }, + "text/prs.texi": { + "source": "iana" + }, + "text/raptorfec": { + "source": "iana" + }, + "text/red": { + "source": "iana" + }, + "text/rfc822-headers": { + "source": "iana" + }, + "text/richtext": { + "source": "iana", + "compressible": true, + "extensions": ["rtx"] + }, + "text/rtf": { + "source": "iana", + "compressible": true, + "extensions": ["rtf"] + }, + "text/rtp-enc-aescm128": { + "source": "iana" + }, + "text/rtploopback": { + "source": "iana" + }, + "text/rtx": { + "source": "iana" + }, + "text/sgml": { + "source": "iana", + "extensions": ["sgml","sgm"] + }, + "text/shaclc": { + "source": "iana" + }, + "text/shex": { + "source": "iana", + "extensions": ["shex"] + }, + "text/slim": { + "extensions": ["slim","slm"] + }, + "text/spdx": { + "source": "iana", + "extensions": ["spdx"] + }, + "text/strings": { + "source": "iana" + }, + "text/stylus": { + "extensions": ["stylus","styl"] + }, + "text/t140": { + "source": "iana" + }, + "text/tab-separated-values": { + "source": "iana", + "compressible": true, + "extensions": ["tsv"] + }, + "text/troff": { + "source": "iana", + "extensions": ["t","tr","roff","man","me","ms"] + }, + "text/turtle": { + "source": "iana", + "charset": "UTF-8", + "extensions": ["ttl"] + }, + "text/ulpfec": { + "source": "iana" + }, + "text/uri-list": { + "source": "iana", + "compressible": true, + "extensions": ["uri","uris","urls"] + }, + "text/vcard": { + "source": "iana", + "compressible": true, + "extensions": ["vcard"] + }, + "text/vnd.a": { + "source": "iana" + }, + "text/vnd.abc": { + "source": "iana" + }, + "text/vnd.ascii-art": { + "source": "iana" + }, + "text/vnd.curl": { + "source": "iana", + "extensions": ["curl"] + }, + "text/vnd.curl.dcurl": { + "source": "apache", + "extensions": ["dcurl"] + }, + "text/vnd.curl.mcurl": { + "source": "apache", + "extensions": ["mcurl"] + }, + "text/vnd.curl.scurl": { + "source": "apache", + "extensions": ["scurl"] + }, + "text/vnd.debian.copyright": { + "source": "iana", + "charset": "UTF-8" + }, + "text/vnd.dmclientscript": { + "source": "iana" + }, + "text/vnd.dvb.subtitle": { + "source": "iana", + "extensions": ["sub"] + }, + "text/vnd.esmertec.theme-descriptor": { + "source": "iana", + "charset": "UTF-8" + }, + "text/vnd.exchangeable": { + "source": "iana" + }, + "text/vnd.familysearch.gedcom": { + "source": "iana", + "extensions": ["ged"] + }, + "text/vnd.ficlab.flt": { + "source": "iana" + }, + "text/vnd.fly": { + "source": "iana", + "extensions": ["fly"] + }, + "text/vnd.fmi.flexstor": { + "source": "iana", + "extensions": ["flx"] + }, + "text/vnd.gml": { + "source": "iana" + }, + "text/vnd.graphviz": { + "source": "iana", + "extensions": ["gv"] + }, + "text/vnd.hans": { + "source": "iana" + }, + "text/vnd.hgl": { + "source": "iana" + }, + "text/vnd.in3d.3dml": { + "source": "iana", + "extensions": ["3dml"] + }, + "text/vnd.in3d.spot": { + "source": "iana", + "extensions": ["spot"] + }, + "text/vnd.iptc.newsml": { + "source": "iana" + }, + "text/vnd.iptc.nitf": { + "source": "iana" + }, + "text/vnd.latex-z": { + "source": "iana" + }, + "text/vnd.motorola.reflex": { + "source": "iana" + }, + "text/vnd.ms-mediapackage": { + "source": "iana" + }, + "text/vnd.net2phone.commcenter.command": { + "source": "iana" + }, + "text/vnd.radisys.msml-basic-layout": { + "source": "iana" + }, + "text/vnd.senx.warpscript": { + "source": "iana" + }, + "text/vnd.si.uricatalogue": { + "source": "apache" + }, + "text/vnd.sosi": { + "source": "iana" + }, + "text/vnd.sun.j2me.app-descriptor": { + "source": "iana", + "charset": "UTF-8", + "extensions": ["jad"] + }, + "text/vnd.trolltech.linguist": { + "source": "iana", + "charset": "UTF-8" + }, + "text/vnd.vcf": { + "source": "iana" + }, + "text/vnd.wap.si": { + "source": "iana" + }, + "text/vnd.wap.sl": { + "source": "iana" + }, + "text/vnd.wap.wml": { + "source": "iana", + "extensions": ["wml"] + }, + "text/vnd.wap.wmlscript": { + "source": "iana", + "extensions": ["wmls"] + }, + "text/vnd.zoo.kcl": { + "source": "iana" + }, + "text/vtt": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["vtt"] + }, + "text/wgsl": { + "source": "iana", + "extensions": ["wgsl"] + }, + "text/x-asm": { + "source": "apache", + "extensions": ["s","asm"] + }, + "text/x-c": { + "source": "apache", + "extensions": ["c","cc","cxx","cpp","h","hh","dic"] + }, + "text/x-component": { + "source": "nginx", + "extensions": ["htc"] + }, + "text/x-fortran": { + "source": "apache", + "extensions": ["f","for","f77","f90"] + }, + "text/x-gwt-rpc": { + "compressible": true + }, + "text/x-handlebars-template": { + "extensions": ["hbs"] + }, + "text/x-java-source": { + "source": "apache", + "extensions": ["java"] + }, + "text/x-jquery-tmpl": { + "compressible": true + }, + "text/x-lua": { + "extensions": ["lua"] + }, + "text/x-markdown": { + "compressible": true, + "extensions": ["mkd"] + }, + "text/x-nfo": { + "source": "apache", + "extensions": ["nfo"] + }, + "text/x-opml": { + "source": "apache", + "extensions": ["opml"] + }, + "text/x-org": { + "compressible": true, + "extensions": ["org"] + }, + "text/x-pascal": { + "source": "apache", + "extensions": ["p","pas"] + }, + "text/x-processing": { + "compressible": true, + "extensions": ["pde"] + }, + "text/x-sass": { + "extensions": ["sass"] + }, + "text/x-scss": { + "extensions": ["scss"] + }, + "text/x-setext": { + "source": "apache", + "extensions": ["etx"] + }, + "text/x-sfv": { + "source": "apache", + "extensions": ["sfv"] + }, + "text/x-suse-ymp": { + "compressible": true, + "extensions": ["ymp"] + }, + "text/x-uuencode": { + "source": "apache", + "extensions": ["uu"] + }, + "text/x-vcalendar": { + "source": "apache", + "extensions": ["vcs"] + }, + "text/x-vcard": { + "source": "apache", + "extensions": ["vcf"] + }, + "text/xml": { + "source": "iana", + "compressible": true, + "extensions": ["xml"] + }, + "text/xml-external-parsed-entity": { + "source": "iana" + }, + "text/yaml": { + "compressible": true, + "extensions": ["yaml","yml"] + }, + "video/1d-interleaved-parityfec": { + "source": "iana" + }, + "video/3gpp": { + "source": "iana", + "extensions": ["3gp","3gpp"] + }, + "video/3gpp-tt": { + "source": "iana" + }, + "video/3gpp2": { + "source": "iana", + "extensions": ["3g2"] + }, + "video/av1": { + "source": "iana" + }, + "video/bmpeg": { + "source": "iana" + }, + "video/bt656": { + "source": "iana" + }, + "video/celb": { + "source": "iana" + }, + "video/dv": { + "source": "iana" + }, + "video/encaprtp": { + "source": "iana" + }, + "video/evc": { + "source": "iana" + }, + "video/ffv1": { + "source": "iana" + }, + "video/flexfec": { + "source": "iana" + }, + "video/h261": { + "source": "iana", + "extensions": ["h261"] + }, + "video/h263": { + "source": "iana", + "extensions": ["h263"] + }, + "video/h263-1998": { + "source": "iana" + }, + "video/h263-2000": { + "source": "iana" + }, + "video/h264": { + "source": "iana", + "extensions": ["h264"] + }, + "video/h264-rcdo": { + "source": "iana" + }, + "video/h264-svc": { + "source": "iana" + }, + "video/h265": { + "source": "iana" + }, + "video/h266": { + "source": "iana" + }, + "video/iso.segment": { + "source": "iana", + "extensions": ["m4s"] + }, + "video/jpeg": { + "source": "iana", + "extensions": ["jpgv"] + }, + "video/jpeg2000": { + "source": "iana" + }, + "video/jpm": { + "source": "apache", + "extensions": ["jpm","jpgm"] + }, + "video/jxsv": { + "source": "iana" + }, + "video/lottie+json": { + "source": "iana", + "compressible": true + }, + "video/matroska": { + "source": "iana" + }, + "video/matroska-3d": { + "source": "iana" + }, + "video/mj2": { + "source": "iana", + "extensions": ["mj2","mjp2"] + }, + "video/mp1s": { + "source": "iana" + }, + "video/mp2p": { + "source": "iana" + }, + "video/mp2t": { + "source": "iana", + "extensions": ["ts","m2t","m2ts","mts"] + }, + "video/mp4": { + "source": "iana", + "compressible": false, + "extensions": ["mp4","mp4v","mpg4"] + }, + "video/mp4v-es": { + "source": "iana" + }, + "video/mpeg": { + "source": "iana", + "compressible": false, + "extensions": ["mpeg","mpg","mpe","m1v","m2v"] + }, + "video/mpeg4-generic": { + "source": "iana" + }, + "video/mpv": { + "source": "iana" + }, + "video/nv": { + "source": "iana" + }, + "video/ogg": { + "source": "iana", + "compressible": false, + "extensions": ["ogv"] + }, + "video/parityfec": { + "source": "iana" + }, + "video/pointer": { + "source": "iana" + }, + "video/quicktime": { + "source": "iana", + "compressible": false, + "extensions": ["qt","mov"] + }, + "video/raptorfec": { + "source": "iana" + }, + "video/raw": { + "source": "iana" + }, + "video/rtp-enc-aescm128": { + "source": "iana" + }, + "video/rtploopback": { + "source": "iana" + }, + "video/rtx": { + "source": "iana" + }, + "video/scip": { + "source": "iana" + }, + "video/smpte291": { + "source": "iana" + }, + "video/smpte292m": { + "source": "iana" + }, + "video/ulpfec": { + "source": "iana" + }, + "video/vc1": { + "source": "iana" + }, + "video/vc2": { + "source": "iana" + }, + "video/vnd.cctv": { + "source": "iana" + }, + "video/vnd.dece.hd": { + "source": "iana", + "extensions": ["uvh","uvvh"] + }, + "video/vnd.dece.mobile": { + "source": "iana", + "extensions": ["uvm","uvvm"] + }, + "video/vnd.dece.mp4": { + "source": "iana" + }, + "video/vnd.dece.pd": { + "source": "iana", + "extensions": ["uvp","uvvp"] + }, + "video/vnd.dece.sd": { + "source": "iana", + "extensions": ["uvs","uvvs"] + }, + "video/vnd.dece.video": { + "source": "iana", + "extensions": ["uvv","uvvv"] + }, + "video/vnd.directv.mpeg": { + "source": "iana" + }, + "video/vnd.directv.mpeg-tts": { + "source": "iana" + }, + "video/vnd.dlna.mpeg-tts": { + "source": "iana" + }, + "video/vnd.dvb.file": { + "source": "iana", + "extensions": ["dvb"] + }, + "video/vnd.fvt": { + "source": "iana", + "extensions": ["fvt"] + }, + "video/vnd.hns.video": { + "source": "iana" + }, + "video/vnd.iptvforum.1dparityfec-1010": { + "source": "iana" + }, + "video/vnd.iptvforum.1dparityfec-2005": { + "source": "iana" + }, + "video/vnd.iptvforum.2dparityfec-1010": { + "source": "iana" + }, + "video/vnd.iptvforum.2dparityfec-2005": { + "source": "iana" + }, + "video/vnd.iptvforum.ttsavc": { + "source": "iana" + }, + "video/vnd.iptvforum.ttsmpeg2": { + "source": "iana" + }, + "video/vnd.motorola.video": { + "source": "iana" + }, + "video/vnd.motorola.videop": { + "source": "iana" + }, + "video/vnd.mpegurl": { + "source": "iana", + "extensions": ["mxu","m4u"] + }, + "video/vnd.ms-playready.media.pyv": { + "source": "iana", + "extensions": ["pyv"] + }, + "video/vnd.nokia.interleaved-multimedia": { + "source": "iana" + }, + "video/vnd.nokia.mp4vr": { + "source": "iana" + }, + "video/vnd.nokia.videovoip": { + "source": "iana" + }, + "video/vnd.objectvideo": { + "source": "iana" + }, + "video/vnd.planar": { + "source": "iana" + }, + "video/vnd.radgamettools.bink": { + "source": "iana" + }, + "video/vnd.radgamettools.smacker": { + "source": "apache" + }, + "video/vnd.sealed.mpeg1": { + "source": "iana" + }, + "video/vnd.sealed.mpeg4": { + "source": "iana" + }, + "video/vnd.sealed.swf": { + "source": "iana" + }, + "video/vnd.sealedmedia.softseal.mov": { + "source": "iana" + }, + "video/vnd.uvvu.mp4": { + "source": "iana", + "extensions": ["uvu","uvvu"] + }, + "video/vnd.vivo": { + "source": "iana", + "extensions": ["viv"] + }, + "video/vnd.youtube.yt": { + "source": "iana" + }, + "video/vp8": { + "source": "iana" + }, + "video/vp9": { + "source": "iana" + }, + "video/webm": { + "source": "apache", + "compressible": false, + "extensions": ["webm"] + }, + "video/x-f4v": { + "source": "apache", + "extensions": ["f4v"] + }, + "video/x-fli": { + "source": "apache", + "extensions": ["fli"] + }, + "video/x-flv": { + "source": "apache", + "compressible": false, + "extensions": ["flv"] + }, + "video/x-m4v": { + "source": "apache", + "extensions": ["m4v"] + }, + "video/x-matroska": { + "source": "apache", + "compressible": false, + "extensions": ["mkv","mk3d","mks"] + }, + "video/x-mng": { + "source": "apache", + "extensions": ["mng"] + }, + "video/x-ms-asf": { + "source": "apache", + "extensions": ["asf","asx"] + }, + "video/x-ms-vob": { + "source": "apache", + "extensions": ["vob"] + }, + "video/x-ms-wm": { + "source": "apache", + "extensions": ["wm"] + }, + "video/x-ms-wmv": { + "source": "apache", + "compressible": false, + "extensions": ["wmv"] + }, + "video/x-ms-wmx": { + "source": "apache", + "extensions": ["wmx"] + }, + "video/x-ms-wvx": { + "source": "apache", + "extensions": ["wvx"] + }, + "video/x-msvideo": { + "source": "apache", + "extensions": ["avi"] + }, + "video/x-sgi-movie": { + "source": "apache", + "extensions": ["movie"] + }, + "video/x-smv": { + "source": "apache", + "extensions": ["smv"] + }, + "x-conference/x-cooltalk": { + "source": "apache", + "extensions": ["ice"] + }, + "x-shader/x-fragment": { + "compressible": true + }, + "x-shader/x-vertex": { + "compressible": true + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-db/index.js b/Lombiq.EInvoiceValidator/node_modules/mime-db/index.js new file mode 100644 index 0000000..ec2be30 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-db/index.js @@ -0,0 +1,12 @@ +/*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015-2022 Douglas Christopher Wilson + * MIT Licensed + */ + +/** + * Module exports. + */ + +module.exports = require('./db.json') diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-db/index.min.js b/Lombiq.EInvoiceValidator/node_modules/mime-db/index.min.js new file mode 100644 index 0000000..e8cbd13 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-db/index.min.js @@ -0,0 +1,18 @@ +/** + * Skipped minification because the original files appears to be already minified. + * Original file: /npm/mime-db@1.54.0/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +/*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015-2022 Douglas Christopher Wilson + * MIT Licensed + */ + +/** + * Module exports. + */ + +module.exports = require('./db.json') diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-db/package.json b/Lombiq.EInvoiceValidator/node_modules/mime-db/package.json new file mode 100644 index 0000000..289a370 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-db/package.json @@ -0,0 +1,56 @@ +{ + "name": "mime-db", + "description": "Media Type Database", + "version": "1.54.0", + "contributors": [ + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)", + "Robert Kieffer (http://github.com/broofa)" + ], + "license": "MIT", + "keywords": [ + "mime", + "db", + "type", + "types", + "database", + "charset", + "charsets" + ], + "repository": "jshttp/mime-db", + "devDependencies": { + "csv-parse": "4.16.3", + "eslint": "8.32.0", + "eslint-config-standard": "15.0.1", + "eslint-plugin-import": "2.27.5", + "eslint-plugin-markdown": "3.0.0", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "6.1.1", + "eslint-plugin-standard": "4.1.0", + "media-typer": "1.1.0", + "mocha": "10.2.0", + "nyc": "15.1.0", + "stream-to-array": "2.3.0", + "undici": "7.1.0" + }, + "files": [ + "HISTORY.md", + "LICENSE", + "README.md", + "db.json", + "index.js" + ], + "engines": { + "node": ">= 0.6" + }, + "scripts": { + "build": "node scripts/build", + "fetch": "node scripts/fetch-apache && node scripts/fetch-iana && node scripts/fetch-nginx", + "lint": "eslint .", + "test": "mocha --reporter spec --check-leaks test/", + "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test", + "update": "npm run fetch && npm run build", + "version": "node scripts/version-history.js && git add HISTORY.md" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/HISTORY.md b/Lombiq.EInvoiceValidator/node_modules/mime-types/HISTORY.md new file mode 100644 index 0000000..9ba2dc0 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-types/HISTORY.md @@ -0,0 +1,428 @@ +3.0.2 / 2025-11-20 +=================== + +* Fix: update JSDoc to reflect that functions return only `false` or `string`, not `boolean|string`. +* Fix: refined mime-score logic so `.mp4` resolves correctly +* Fix:reflect the current Node.js version supported to ≥ 18 (See 3.0.0 for more details). + +3.0.1 / 2025-03-26 +=================== + +* deps: mime-db@1.54.0 + +3.0.0 / 2024-08-31 +=================== + +* Drop support for node <18 +* deps: mime-db@1.53.0 +* resolve extension conflicts with mime-score (#119) + * asc -> application/pgp-signature is now application/pgp-keys + * mpp -> application/vnd.ms-project is now application/dash-patch+xml + * ac -> application/vnd.nokia.n-gage.ac+xml is now application/pkix-attr-cert + * bdoc -> application/x-bdoc is now application/bdoc + * wmz -> application/x-msmetafile is now application/x-ms-wmz + * xsl -> application/xslt+xml is now application/xml + * wav -> audio/wave is now audio/wav + * rtf -> text/rtf is now application/rtf + * xml -> text/xml is now application/xml + * mp4 -> video/mp4 is now application/mp4 + * mpg4 -> video/mp4 is now application/mp4 + + +2.1.35 / 2022-03-12 +=================== + + * deps: mime-db@1.52.0 + - Add extensions from IANA for more `image/*` types + - Add extension `.asc` to `application/pgp-keys` + - Add extensions to various XML types + - Add new upstream MIME types + +2.1.34 / 2021-11-08 +=================== + + * deps: mime-db@1.51.0 + - Add new upstream MIME types + +2.1.33 / 2021-10-01 +=================== + + * deps: mime-db@1.50.0 + - Add deprecated iWorks mime types and extensions + - Add new upstream MIME types + +2.1.32 / 2021-07-27 +=================== + + * deps: mime-db@1.49.0 + - Add extension `.trig` to `application/trig` + - Add new upstream MIME types + +2.1.31 / 2021-06-01 +=================== + + * deps: mime-db@1.48.0 + - Add extension `.mvt` to `application/vnd.mapbox-vector-tile` + - Add new upstream MIME types + +2.1.30 / 2021-04-02 +=================== + + * deps: mime-db@1.47.0 + - Add extension `.amr` to `audio/amr` + - Remove ambigious extensions from IANA for `application/*+xml` types + - Update primary extension to `.es` for `application/ecmascript` + +2.1.29 / 2021-02-17 +=================== + + * deps: mime-db@1.46.0 + - Add extension `.amr` to `audio/amr` + - Add extension `.m4s` to `video/iso.segment` + - Add extension `.opus` to `audio/ogg` + - Add new upstream MIME types + +2.1.28 / 2021-01-01 +=================== + + * deps: mime-db@1.45.0 + - Add `application/ubjson` with extension `.ubj` + - Add `image/avif` with extension `.avif` + - Add `image/ktx2` with extension `.ktx2` + - Add extension `.dbf` to `application/vnd.dbf` + - Add extension `.rar` to `application/vnd.rar` + - Add extension `.td` to `application/urc-targetdesc+xml` + - Add new upstream MIME types + - Fix extension of `application/vnd.apple.keynote` to be `.key` + +2.1.27 / 2020-04-23 +=================== + + * deps: mime-db@1.44.0 + - Add charsets from IANA + - Add extension `.cjs` to `application/node` + - Add new upstream MIME types + +2.1.26 / 2020-01-05 +=================== + + * deps: mime-db@1.43.0 + - Add `application/x-keepass2` with extension `.kdbx` + - Add extension `.mxmf` to `audio/mobile-xmf` + - Add extensions from IANA for `application/*+xml` types + - Add new upstream MIME types + +2.1.25 / 2019-11-12 +=================== + + * deps: mime-db@1.42.0 + - Add new upstream MIME types + - Add `application/toml` with extension `.toml` + - Add `image/vnd.ms-dds` with extension `.dds` + +2.1.24 / 2019-04-20 +=================== + + * deps: mime-db@1.40.0 + - Add extensions from IANA for `model/*` types + - Add `text/mdx` with extension `.mdx` + +2.1.23 / 2019-04-17 +=================== + + * deps: mime-db@~1.39.0 + - Add extensions `.siv` and `.sieve` to `application/sieve` + - Add new upstream MIME types + +2.1.22 / 2019-02-14 +=================== + + * deps: mime-db@~1.38.0 + - Add extension `.nq` to `application/n-quads` + - Add extension `.nt` to `application/n-triples` + - Add new upstream MIME types + +2.1.21 / 2018-10-19 +=================== + + * deps: mime-db@~1.37.0 + - Add extensions to HEIC image types + - Add new upstream MIME types + +2.1.20 / 2018-08-26 +=================== + + * deps: mime-db@~1.36.0 + - Add Apple file extensions from IANA + - Add extensions from IANA for `image/*` types + - Add new upstream MIME types + +2.1.19 / 2018-07-17 +=================== + + * deps: mime-db@~1.35.0 + - Add extension `.csl` to `application/vnd.citationstyles.style+xml` + - Add extension `.es` to `application/ecmascript` + - Add extension `.owl` to `application/rdf+xml` + - Add new upstream MIME types + - Add UTF-8 as default charset for `text/turtle` + +2.1.18 / 2018-02-16 +=================== + + * deps: mime-db@~1.33.0 + - Add `application/raml+yaml` with extension `.raml` + - Add `application/wasm` with extension `.wasm` + - Add `text/shex` with extension `.shex` + - Add extensions for JPEG-2000 images + - Add extensions from IANA for `message/*` types + - Add new upstream MIME types + - Update font MIME types + - Update `text/hjson` to registered `application/hjson` + +2.1.17 / 2017-09-01 +=================== + + * deps: mime-db@~1.30.0 + - Add `application/vnd.ms-outlook` + - Add `application/x-arj` + - Add extension `.mjs` to `application/javascript` + - Add glTF types and extensions + - Add new upstream MIME types + - Add `text/x-org` + - Add VirtualBox MIME types + - Fix `source` records for `video/*` types that are IANA + - Update `font/opentype` to registered `font/otf` + +2.1.16 / 2017-07-24 +=================== + + * deps: mime-db@~1.29.0 + - Add `application/fido.trusted-apps+json` + - Add extension `.wadl` to `application/vnd.sun.wadl+xml` + - Add extension `.gz` to `application/gzip` + - Add new upstream MIME types + - Update extensions `.md` and `.markdown` to be `text/markdown` + +2.1.15 / 2017-03-23 +=================== + + * deps: mime-db@~1.27.0 + - Add new mime types + - Add `image/apng` + +2.1.14 / 2017-01-14 +=================== + + * deps: mime-db@~1.26.0 + - Add new mime types + +2.1.13 / 2016-11-18 +=================== + + * deps: mime-db@~1.25.0 + - Add new mime types + +2.1.12 / 2016-09-18 +=================== + + * deps: mime-db@~1.24.0 + - Add new mime types + - Add `audio/mp3` + +2.1.11 / 2016-05-01 +=================== + + * deps: mime-db@~1.23.0 + - Add new mime types + +2.1.10 / 2016-02-15 +=================== + + * deps: mime-db@~1.22.0 + - Add new mime types + - Fix extension of `application/dash+xml` + - Update primary extension for `audio/mp4` + +2.1.9 / 2016-01-06 +================== + + * deps: mime-db@~1.21.0 + - Add new mime types + +2.1.8 / 2015-11-30 +================== + + * deps: mime-db@~1.20.0 + - Add new mime types + +2.1.7 / 2015-09-20 +================== + + * deps: mime-db@~1.19.0 + - Add new mime types + +2.1.6 / 2015-09-03 +================== + + * deps: mime-db@~1.18.0 + - Add new mime types + +2.1.5 / 2015-08-20 +================== + + * deps: mime-db@~1.17.0 + - Add new mime types + +2.1.4 / 2015-07-30 +================== + + * deps: mime-db@~1.16.0 + - Add new mime types + +2.1.3 / 2015-07-13 +================== + + * deps: mime-db@~1.15.0 + - Add new mime types + +2.1.2 / 2015-06-25 +================== + + * deps: mime-db@~1.14.0 + - Add new mime types + +2.1.1 / 2015-06-08 +================== + + * perf: fix deopt during mapping + +2.1.0 / 2015-06-07 +================== + + * Fix incorrectly treating extension-less file name as extension + - i.e. `'path/to/json'` will no longer return `application/json` + * Fix `.charset(type)` to accept parameters + * Fix `.charset(type)` to match case-insensitive + * Improve generation of extension to MIME mapping + * Refactor internals for readability and no argument reassignment + * Prefer `application/*` MIME types from the same source + * Prefer any type over `application/octet-stream` + * deps: mime-db@~1.13.0 + - Add nginx as a source + - Add new mime types + +2.0.14 / 2015-06-06 +=================== + + * deps: mime-db@~1.12.0 + - Add new mime types + +2.0.13 / 2015-05-31 +=================== + + * deps: mime-db@~1.11.0 + - Add new mime types + +2.0.12 / 2015-05-19 +=================== + + * deps: mime-db@~1.10.0 + - Add new mime types + +2.0.11 / 2015-05-05 +=================== + + * deps: mime-db@~1.9.1 + - Add new mime types + +2.0.10 / 2015-03-13 +=================== + + * deps: mime-db@~1.8.0 + - Add new mime types + +2.0.9 / 2015-02-09 +================== + + * deps: mime-db@~1.7.0 + - Add new mime types + - Community extensions ownership transferred from `node-mime` + +2.0.8 / 2015-01-29 +================== + + * deps: mime-db@~1.6.0 + - Add new mime types + +2.0.7 / 2014-12-30 +================== + + * deps: mime-db@~1.5.0 + - Add new mime types + - Fix various invalid MIME type entries + +2.0.6 / 2014-12-30 +================== + + * deps: mime-db@~1.4.0 + - Add new mime types + - Fix various invalid MIME type entries + - Remove example template MIME types + +2.0.5 / 2014-12-29 +================== + + * deps: mime-db@~1.3.1 + - Fix missing extensions + +2.0.4 / 2014-12-10 +================== + + * deps: mime-db@~1.3.0 + - Add new mime types + +2.0.3 / 2014-11-09 +================== + + * deps: mime-db@~1.2.0 + - Add new mime types + +2.0.2 / 2014-09-28 +================== + + * deps: mime-db@~1.1.0 + - Add new mime types + - Update charsets + +2.0.1 / 2014-09-07 +================== + + * Support Node.js 0.6 + +2.0.0 / 2014-09-02 +================== + + * Use `mime-db` + * Remove `.define()` + +1.0.2 / 2014-08-04 +================== + + * Set charset=utf-8 for `text/javascript` + +1.0.1 / 2014-06-24 +================== + + * Add `text/jsx` type + +1.0.0 / 2014-05-12 +================== + + * Return `false` for unknown types + * Set charset=utf-8 for `application/json` + +0.1.0 / 2014-05-02 +================== + + * Initial release diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/LICENSE b/Lombiq.EInvoiceValidator/node_modules/mime-types/LICENSE new file mode 100644 index 0000000..0616607 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-types/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2014 Jonathan Ong +Copyright (c) 2015 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/README.md b/Lombiq.EInvoiceValidator/node_modules/mime-types/README.md new file mode 100644 index 0000000..222d2b5 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-types/README.md @@ -0,0 +1,126 @@ +# mime-types + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Node.js Version][node-version-image]][node-version-url] +[![Build Status][ci-image]][ci-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +The ultimate javascript content-type utility. + +Similar to [the `mime@1.x` module](https://www.npmjs.com/package/mime), except: + +- __No fallbacks.__ Instead of naively returning the first available type, + `mime-types` simply returns `false`, so do + `var type = mime.lookup('unrecognized') || 'application/octet-stream'`. +- No `new Mime()` business, so you could do `var lookup = require('mime-types').lookup`. +- No `.define()` functionality +- Bug fixes for `.lookup(path)` + +Otherwise, the API is compatible with `mime` 1.x. + +## Install + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```sh +$ npm install mime-types +``` + +## Note on MIME Type Data and Semver + +This package considers the programmatic api as the semver compatibility. Additionally, the package which provides the MIME data +for this package (`mime-db`) *also* considers it's programmatic api as the semver contract. This means the MIME type resolution is *not* considered +in the semver bumps. + +In the past the version of `mime-db` was pinned to give two decision points when adopting MIME data changes. This is no longer true. We still update the +`mime-db` package here as a `minor` release when necessary, but will use a `^` range going forward. This means that if you want to pin your `mime-db` data +you will need to do it in your application. While this expectation was not set in docs until now, it is how the pacakge operated, so we do not feel this is +a breaking change. + +If you wish to pin your `mime-db` version you can do that with overrides via your package manager of choice. See their documentation for how to correctly configure that. + +## Adding Types + +All mime types are based on [mime-db](https://www.npmjs.com/package/mime-db), +so open a PR there if you'd like to add mime types. + +## API + +```js +var mime = require('mime-types') +``` + +All functions return `false` if input is invalid or not found. + +### mime.lookup(path) + +Lookup the content-type associated with a file. + +```js +mime.lookup('json') // 'application/json' +mime.lookup('.md') // 'text/markdown' +mime.lookup('file.html') // 'text/html' +mime.lookup('folder/file.js') // 'application/javascript' +mime.lookup('folder/.htaccess') // false + +mime.lookup('cats') // false +``` + +### mime.contentType(type) + +Create a full content-type header given a content-type or extension. +When given an extension, `mime.lookup` is used to get the matching +content-type, otherwise the given content-type is used. Then if the +content-type does not already have a `charset` parameter, `mime.charset` +is used to get the default charset and add to the returned content-type. + +```js +mime.contentType('markdown') // 'text/x-markdown; charset=utf-8' +mime.contentType('file.json') // 'application/json; charset=utf-8' +mime.contentType('text/html') // 'text/html; charset=utf-8' +mime.contentType('text/html; charset=iso-8859-1') // 'text/html; charset=iso-8859-1' + +// from a full path +mime.contentType(path.extname('/path/to/file.json')) // 'application/json; charset=utf-8' +``` + +### mime.extension(type) + +Get the default extension for a content-type. + +```js +mime.extension('application/octet-stream') // 'bin' +``` + +### mime.charset(type) + +Lookup the implied default charset of a content-type. + +```js +mime.charset('text/markdown') // 'UTF-8' +``` + +### var type = mime.types[extension] + +A map of content-types by extension. + +### [extensions...] = mime.extensions[type] + +A map of extensions by content-type. + +## License + +[MIT](LICENSE) + +[ci-image]: https://badgen.net/github/checks/jshttp/mime-types/master?label=ci +[ci-url]: https://github.com/jshttp/mime-types/actions/workflows/ci.yml +[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/mime-types/master +[coveralls-url]: https://coveralls.io/r/jshttp/mime-types?branch=master +[node-version-image]: https://badgen.net/npm/node/mime-types +[node-version-url]: https://nodejs.org/en/download +[npm-downloads-image]: https://badgen.net/npm/dm/mime-types +[npm-url]: https://npmjs.org/package/mime-types +[npm-version-image]: https://badgen.net/npm/v/mime-types diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/index.js b/Lombiq.EInvoiceValidator/node_modules/mime-types/index.js new file mode 100644 index 0000000..9725ddf --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-types/index.js @@ -0,0 +1,211 @@ +/*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var db = require('mime-db') +var extname = require('path').extname +var mimeScore = require('./mimeScore') + +/** + * Module variables. + * @private + */ + +var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/ +var TEXT_TYPE_REGEXP = /^text\//i + +/** + * Module exports. + * @public + */ + +exports.charset = charset +exports.charsets = { lookup: charset } +exports.contentType = contentType +exports.extension = extension +exports.extensions = Object.create(null) +exports.lookup = lookup +exports.types = Object.create(null) +exports._extensionConflicts = [] + +// Populate the extensions/types maps +populateMaps(exports.extensions, exports.types) + +/** + * Get the default charset for a MIME type. + * + * @param {string} type + * @return {false|string} + */ + +function charset (type) { + if (!type || typeof type !== 'string') { + return false + } + + // TODO: use media-typer + var match = EXTRACT_TYPE_REGEXP.exec(type) + var mime = match && db[match[1].toLowerCase()] + + if (mime && mime.charset) { + return mime.charset + } + + // default text/* to utf-8 + if (match && TEXT_TYPE_REGEXP.test(match[1])) { + return 'UTF-8' + } + + return false +} + +/** + * Create a full Content-Type header given a MIME type or extension. + * + * @param {string} str + * @return {false|string} + */ + +function contentType (str) { + // TODO: should this even be in this module? + if (!str || typeof str !== 'string') { + return false + } + + var mime = str.indexOf('/') === -1 ? exports.lookup(str) : str + + if (!mime) { + return false + } + + // TODO: use content-type or other module + if (mime.indexOf('charset') === -1) { + var charset = exports.charset(mime) + if (charset) mime += '; charset=' + charset.toLowerCase() + } + + return mime +} + +/** + * Get the default extension for a MIME type. + * + * @param {string} type + * @return {false|string} + */ + +function extension (type) { + if (!type || typeof type !== 'string') { + return false + } + + // TODO: use media-typer + var match = EXTRACT_TYPE_REGEXP.exec(type) + + // get extensions + var exts = match && exports.extensions[match[1].toLowerCase()] + + if (!exts || !exts.length) { + return false + } + + return exts[0] +} + +/** + * Lookup the MIME type for a file path/extension. + * + * @param {string} path + * @return {false|string} + */ + +function lookup (path) { + if (!path || typeof path !== 'string') { + return false + } + + // get the extension ("ext" or ".ext" or full path) + var extension = extname('x.' + path) + .toLowerCase() + .slice(1) + + if (!extension) { + return false + } + + return exports.types[extension] || false +} + +/** + * Populate the extensions and types maps. + * @private + */ + +function populateMaps (extensions, types) { + Object.keys(db).forEach(function forEachMimeType (type) { + var mime = db[type] + var exts = mime.extensions + + if (!exts || !exts.length) { + return + } + + // mime -> extensions + extensions[type] = exts + + // extension -> mime + for (var i = 0; i < exts.length; i++) { + var extension = exts[i] + types[extension] = _preferredType(extension, types[extension], type) + + // DELETE (eventually): Capture extension->type maps that change as a + // result of switching to mime-score. This is just to help make reviewing + // PR #119 easier, and can be removed once that PR is approved. + const legacyType = _preferredTypeLegacy( + extension, + types[extension], + type + ) + if (legacyType !== types[extension]) { + exports._extensionConflicts.push([extension, legacyType, types[extension]]) + } + } + }) +} + +// Resolve type conflict using mime-score +function _preferredType (ext, type0, type1) { + var score0 = type0 ? mimeScore(type0, db[type0].source) : 0 + var score1 = type1 ? mimeScore(type1, db[type1].source) : 0 + + return score0 > score1 ? type0 : type1 +} + +// Resolve type conflict using pre-mime-score logic +function _preferredTypeLegacy (ext, type0, type1) { + var SOURCE_RANK = ['nginx', 'apache', undefined, 'iana'] + + var score0 = type0 ? SOURCE_RANK.indexOf(db[type0].source) : 0 + var score1 = type1 ? SOURCE_RANK.indexOf(db[type1].source) : 0 + + if ( + exports.types[extension] !== 'application/octet-stream' && + (score0 > score1 || + (score0 === score1 && + exports.types[extension]?.slice(0, 12) === 'application/')) + ) { + return type0 + } + + return score0 > score1 ? type0 : type1 +} diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/index.min.js b/Lombiq.EInvoiceValidator/node_modules/mime-types/index.min.js new file mode 100644 index 0000000..ca80d60 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-types/index.min.js @@ -0,0 +1,14 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/mime-types@3.0.2/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +/*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ +"use strict";var db=require("mime-db"),extname=require("path").extname,mimeScore=require("./mimeScore"),EXTRACT_TYPE_REGEXP=/^\s*([^;\s]*)(?:;|\s|$)/,TEXT_TYPE_REGEXP=/^text\//i;function charset(e){if(!e||"string"!=typeof e)return!1;var t=EXTRACT_TYPE_REGEXP.exec(e),r=t&&db[t[1].toLowerCase()];return r&&r.charset?r.charset:!(!t||!TEXT_TYPE_REGEXP.test(t[1]))&&"UTF-8"}function contentType(e){if(!e||"string"!=typeof e)return!1;var t=-1===e.indexOf("/")?exports.lookup(e):e;if(!t)return!1;if(-1===t.indexOf("charset")){var r=exports.charset(t);r&&(t+="; charset="+r.toLowerCase())}return t}function extension(e){if(!e||"string"!=typeof e)return!1;var t=EXTRACT_TYPE_REGEXP.exec(e),r=t&&exports.extensions[t[1].toLowerCase()];return!(!r||!r.length)&&r[0]}function lookup(e){if(!e||"string"!=typeof e)return!1;var t=extname("x."+e).toLowerCase().slice(1);return t&&exports.types[t]||!1}function populateMaps(e,t){Object.keys(db).forEach((function(r){var o=db[r].extensions;if(o&&o.length){e[r]=o;for(var n=0;n(r?mimeScore(r,db[r].source):0)?t:r}function _preferredTypeLegacy(e,t,r){var o=["nginx","apache",void 0,"iana"],n=t?o.indexOf(db[t].source):0,s=r?o.indexOf(db[r].source):0;return"application/octet-stream"!==exports.types[extension]&&(n>s||n===s&&"application/"===exports.types[extension]?.slice(0,12))||n>s?t:r}exports.charset=charset,exports.charsets={lookup:charset},exports.contentType=contentType,exports.extension=extension,exports.extensions=Object.create(null),exports.lookup=lookup,exports.types=Object.create(null),exports._extensionConflicts=[],populateMaps(exports.extensions,exports.types); +//# sourceMappingURL=/sm/88a9bdfab1fbcc85fcf1cb936cb7c785670ff4b5775017c645422fa318fa440f.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.js b/Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.js new file mode 100644 index 0000000..fc2e665 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.js @@ -0,0 +1,57 @@ +// 'mime-score' back-ported to CommonJS + +// Score RFC facets (see https://tools.ietf.org/html/rfc6838#section-3) +var FACET_SCORES = { + 'prs.': 100, + 'x-': 200, + 'x.': 300, + 'vnd.': 400, + default: 900 +} + +// Score mime source (Logic originally from `jshttp/mime-types` module) +var SOURCE_SCORES = { + nginx: 10, + apache: 20, + iana: 40, + default: 30 // definitions added by `jshttp/mime-db` project? +} + +var TYPE_SCORES = { + // prefer application/xml over text/xml + // prefer application/rtf over text/rtf + application: 1, + + // prefer font/woff over application/font-woff + font: 2, + + // prefer video/mp4 over audio/mp4 over application/mp4 + // See https://www.rfc-editor.org/rfc/rfc4337.html#section-2 + audio: 2, + video: 3, + + default: 0 +} + +/** + * Get each component of the score for a mime type. The sum of these is the + * total score. The higher the score, the more "official" the type. + */ +module.exports = function mimeScore (mimeType, source = 'default') { + if (mimeType === 'application/octet-stream') { + return 0 + } + + const [type, subtype] = mimeType.split('/') + + const facet = subtype.replace(/(\.|x-).*/, '$1') + + const facetScore = FACET_SCORES[facet] || FACET_SCORES.default + const sourceScore = SOURCE_SCORES[source] || SOURCE_SCORES.default + const typeScore = TYPE_SCORES[type] || TYPE_SCORES.default + + // All else being equal prefer shorter types + const lengthScore = 1 - mimeType.length / 100 + + return facetScore + sourceScore + typeScore + lengthScore +} diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.min.js b/Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.min.js new file mode 100644 index 0000000..034d6d7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/mime-types@3.0.2/mimeScore.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var FACET_SCORES={"prs.":100,"x-":200,"x.":300,"vnd.":400,default:900},SOURCE_SCORES={nginx:10,apache:20,iana:40,default:30},TYPE_SCORES={application:1,font:2,audio:2,video:3,default:0};module.exports=function(S,t="default"){if("application/octet-stream"===S)return 0;const[a,e]=S.split("/"),E=e.replace(/(\.|x-).*/,"$1");return(FACET_SCORES[E]||FACET_SCORES.default)+(SOURCE_SCORES[t]||SOURCE_SCORES.default)+(TYPE_SCORES[a]||TYPE_SCORES.default)+(1-S.length/100)}; +//# sourceMappingURL=/sm/5ac08751971cd1370f7a9891e2626a373324fb29ca8285c0eb239a97431f4a35.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/package.json b/Lombiq.EInvoiceValidator/node_modules/mime-types/package.json new file mode 100644 index 0000000..6c58c27 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/mime-types/package.json @@ -0,0 +1,49 @@ +{ + "name": "mime-types", + "description": "The ultimate javascript content-type utility.", + "version": "3.0.2", + "contributors": [ + "Douglas Christopher Wilson ", + "Jeremiah Senkpiel (https://searchbeam.jit.su)", + "Jonathan Ong (http://jongleberry.com)" + ], + "license": "MIT", + "keywords": [ + "mime", + "types" + ], + "repository": "jshttp/mime-types", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + }, + "dependencies": { + "mime-db": "^1.54.0" + }, + "devDependencies": { + "eslint": "8.33.0", + "eslint-config-standard": "14.1.1", + "eslint-plugin-import": "2.32.0", + "eslint-plugin-markdown": "3.0.1", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "6.6.0", + "eslint-plugin-standard": "4.1.0", + "mocha": "10.8.2", + "nyc": "15.1.0" + }, + "files": [ + "HISTORY.md", + "LICENSE", + "index.js", + "mimeScore.js" + ], + "engines": { + "node": ">=18" + }, + "scripts": { + "lint": "eslint .", + "test": "mocha --reporter spec test/test.js", + "test-ci": "nyc --reporter=lcov --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/ms/index.js b/Lombiq.EInvoiceValidator/node_modules/ms/index.js new file mode 100644 index 0000000..ea734fb --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/ms/index.js @@ -0,0 +1,162 @@ +/** + * Helpers. + */ + +var s = 1000; +var m = s * 60; +var h = m * 60; +var d = h * 24; +var w = d * 7; +var y = d * 365.25; + +/** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + +module.exports = function (val, options) { + options = options || {}; + var type = typeof val; + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isFinite(val)) { + return options.long ? fmtLong(val) : fmtShort(val); + } + throw new Error( + 'val is not a non-empty string or a valid number. val=' + + JSON.stringify(val) + ); +}; + +/** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + +function parse(str) { + str = String(str); + if (str.length > 100) { + return; + } + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( + str + ); + if (!match) { + return; + } + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + case 'weeks': + case 'week': + case 'w': + return n * w; + case 'days': + case 'day': + case 'd': + return n * d; + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + default: + return undefined; + } +} + +/** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtShort(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return Math.round(ms / d) + 'd'; + } + if (msAbs >= h) { + return Math.round(ms / h) + 'h'; + } + if (msAbs >= m) { + return Math.round(ms / m) + 'm'; + } + if (msAbs >= s) { + return Math.round(ms / s) + 's'; + } + return ms + 'ms'; +} + +/** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtLong(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return plural(ms, msAbs, d, 'day'); + } + if (msAbs >= h) { + return plural(ms, msAbs, h, 'hour'); + } + if (msAbs >= m) { + return plural(ms, msAbs, m, 'minute'); + } + if (msAbs >= s) { + return plural(ms, msAbs, s, 'second'); + } + return ms + ' ms'; +} + +/** + * Pluralization helper. + */ + +function plural(ms, msAbs, n, name) { + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); +} diff --git a/Lombiq.EInvoiceValidator/node_modules/ms/index.min.js b/Lombiq.EInvoiceValidator/node_modules/ms/index.min.js new file mode 100644 index 0000000..b92d9ea --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/ms/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/ms@2.1.3/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var s=1e3,m=60*s,h=60*m,d=24*h,w=7*d,y=365.25*d;function parse(e){if(!((e=String(e)).length>100)){var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(r){var a=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*y;case"weeks":case"week":case"w":return a*w;case"days":case"day":case"d":return a*d;case"hours":case"hour":case"hrs":case"hr":case"h":return a*h;case"minutes":case"minute":case"mins":case"min":case"m":return a*m;case"seconds":case"second":case"secs":case"sec":case"s":return a*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}function fmtShort(e){var r=Math.abs(e);return r>=d?Math.round(e/d)+"d":r>=h?Math.round(e/h)+"h":r>=m?Math.round(e/m)+"m":r>=s?Math.round(e/s)+"s":e+"ms"}function fmtLong(e){var r=Math.abs(e);return r>=d?plural(e,r,d,"day"):r>=h?plural(e,r,h,"hour"):r>=m?plural(e,r,m,"minute"):r>=s?plural(e,r,s,"second"):e+" ms"}function plural(s,e,r,a){var n=e>=1.5*r;return Math.round(s/r)+" "+a+(n?"s":"")}module.exports=function(s,e){e=e||{};var r=typeof s;if("string"===r&&s.length>0)return parse(s);if("number"===r&&isFinite(s))return e.long?fmtLong(s):fmtShort(s);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))}; +//# sourceMappingURL=/sm/ece95cba7ad43e9f9032f849cb38665a809bab51e03df69d4baa7cbdaec40fc4.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/ms/license.md b/Lombiq.EInvoiceValidator/node_modules/ms/license.md new file mode 100644 index 0000000..fa5d39b --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/ms/license.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Vercel, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/ms/package.json b/Lombiq.EInvoiceValidator/node_modules/ms/package.json new file mode 100644 index 0000000..4997189 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/ms/package.json @@ -0,0 +1,38 @@ +{ + "name": "ms", + "version": "2.1.3", + "description": "Tiny millisecond conversion utility", + "repository": "vercel/ms", + "main": "./index", + "files": [ + "index.js" + ], + "scripts": { + "precommit": "lint-staged", + "lint": "eslint lib/* bin/*", + "test": "mocha tests.js" + }, + "eslintConfig": { + "extends": "eslint:recommended", + "env": { + "node": true, + "es6": true + } + }, + "lint-staged": { + "*.js": [ + "npm run lint", + "prettier --single-quote --write", + "git add" + ] + }, + "license": "MIT", + "devDependencies": { + "eslint": "4.18.2", + "expect.js": "0.3.1", + "husky": "0.14.3", + "lint-staged": "5.0.0", + "mocha": "4.0.1", + "prettier": "2.0.5" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/ms/readme.md b/Lombiq.EInvoiceValidator/node_modules/ms/readme.md new file mode 100644 index 0000000..0fc1abb --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/ms/readme.md @@ -0,0 +1,59 @@ +# ms + +![CI](https://github.com/vercel/ms/workflows/CI/badge.svg) + +Use this package to easily convert various time formats to milliseconds. + +## Examples + +```js +ms('2 days') // 172800000 +ms('1d') // 86400000 +ms('10h') // 36000000 +ms('2.5 hrs') // 9000000 +ms('2h') // 7200000 +ms('1m') // 60000 +ms('5s') // 5000 +ms('1y') // 31557600000 +ms('100') // 100 +ms('-3 days') // -259200000 +ms('-1h') // -3600000 +ms('-200') // -200 +``` + +### Convert from Milliseconds + +```js +ms(60000) // "1m" +ms(2 * 60000) // "2m" +ms(-3 * 60000) // "-3m" +ms(ms('10 hours')) // "10h" +``` + +### Time Format Written-Out + +```js +ms(60000, { long: true }) // "1 minute" +ms(2 * 60000, { long: true }) // "2 minutes" +ms(-3 * 60000, { long: true }) // "-3 minutes" +ms(ms('10 hours'), { long: true }) // "10 hours" +``` + +## Features + +- Works both in [Node.js](https://nodejs.org) and in the browser +- If a number is supplied to `ms`, a string with a unit is returned +- If a string that contains the number is supplied, it returns it as a number (e.g.: it returns `100` for `'100'`) +- If you pass a string with a number and a valid unit, the number of equivalent milliseconds is returned + +## Related Packages + +- [ms.macro](https://github.com/knpwrs/ms.macro) - Run `ms` as a macro at build-time. + +## Caught a Bug? + +1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device +2. Link the package to the global module directory: `npm link` +3. Within the module you want to test your local development instance of ms, just link it to the dependencies: `npm link ms`. Instead of the default one from npm, Node.js will now use your clone of ms! + +As always, you can run the tests using: `npm test` diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts new file mode 100644 index 0000000..d4a5d6c --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts @@ -0,0 +1,14 @@ +import type { OutgoingHttpHeaders, IncomingHttpHeaders } from 'http'; +export interface ProxyAuthResponse { + headers: OutgoingHttpHeaders; +} +export interface ProxyAuthParams { + response: { + statusCode: number; + headers: IncomingHttpHeaders; + }; + scheme: string; +} +export type OnProxyAuthCallback = (params: ProxyAuthParams) => Promise; +export declare function createNegotiateAuth(): OnProxyAuthCallback; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts.map b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts.map new file mode 100644 index 0000000..c61e735 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAErE,MAAM,WAAW,iBAAiB;IACjC,OAAO,EAAE,mBAAmB,CAAC;CAC7B;AAED,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE;QACT,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,mBAAmB,CAAC;KAC7B,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,mBAAmB,GAAG,CACjC,MAAM,EAAE,eAAe,KACnB,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEhC,wBAAgB,mBAAmB,IAAI,mBAAmB,CAwCzD"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js new file mode 100644 index 0000000..a6f7219 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js @@ -0,0 +1,35 @@ +export function createNegotiateAuth() { + return async ({ response, scheme }) => { + if (scheme.toLowerCase() !== 'negotiate') { + throw new Error(`Expected Negotiate scheme but got "${scheme}"`); + } + let kerberos; + try { + kerberos = await import('kerberos'); + } + catch { + throw new Error('The "kerberos" package is required for Negotiate proxy authentication. ' + + 'Install it with: npm install kerberos'); + } + const proxyAuthenticate = response.headers['proxy-authenticate'] || ''; + const challengeHeader = Array.isArray(proxyAuthenticate) + ? proxyAuthenticate[0] + : proxyAuthenticate; + const serverToken = typeof challengeHeader === 'string' && challengeHeader.includes(' ') + ? challengeHeader.split(' ').slice(1).join(' ') + : undefined; + const client = await kerberos.initializeClient('HTTP@proxy', { + mechOID: kerberos.GSS_MECH_OID_SPNEGO, + }); + const token = await client.step(serverToken || ''); + if (!token) { + throw new Error('Kerberos client.step() returned no token'); + } + return { + headers: { + 'Proxy-Authorization': `Negotiate ${token}`, + }, + }; + }; +} +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js.map b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js.map new file mode 100644 index 0000000..5a59b27 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAkBA,MAAM,UAAU,mBAAmB;IAClC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE;QACrC,IAAI,MAAM,CAAC,WAAW,EAAE,KAAK,WAAW,EAAE,CAAC;YAC1C,MAAM,IAAI,KAAK,CAAC,sCAAsC,MAAM,GAAG,CAAC,CAAC;QAClE,CAAC;QAED,IAAI,QAAQ,CAAC;QACb,IAAI,CAAC;YACJ,QAAQ,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,CAAC;QACrC,CAAC;QAAC,MAAM,CAAC;YACR,MAAM,IAAI,KAAK,CACd,yEAAyE;gBACxE,uCAAuC,CACxC,CAAC;QACH,CAAC;QAED,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC;QACvE,MAAM,eAAe,GAAG,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC;YACvD,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC;YACtB,CAAC,CAAC,iBAAiB,CAAC;QACrB,MAAM,WAAW,GAChB,OAAO,eAAe,KAAK,QAAQ,IAAI,eAAe,CAAC,QAAQ,CAAC,GAAG,CAAC;YACnE,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;YAC/C,CAAC,CAAC,SAAS,CAAC;QAEd,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,gBAAgB,CAAC,YAAY,EAAE;YAC5D,OAAO,EAAE,QAAQ,CAAC,mBAAmB;SACrC,CAAC,CAAC;QAEH,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC;QACnD,IAAI,CAAC,KAAK,EAAE,CAAC;YACZ,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;QAC7D,CAAC;QAED,OAAO;YACN,OAAO,EAAE;gBACR,qBAAqB,EAAE,aAAa,KAAK,EAAE;aAC3C;SACD,CAAC;IACH,CAAC,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.min.js b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.min.js new file mode 100644 index 0000000..83e4998 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.48.0. + * Original file: /npm/proxy-agent-negotiate@1.1.0/dist/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +export function createNegotiateAuth(){return async({response:e,scheme:t})=>{if("negotiate"!==t.toLowerCase())throw new Error(`Expected Negotiate scheme but got "${t}"`);let r;try{r=await import("kerberos")}catch{throw new Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}const o=e.headers["proxy-authenticate"]||"",i=Array.isArray(o)?o[0]:o,a="string"==typeof i&&i.includes(" ")?i.split(" ").slice(1).join(" "):void 0,n=await r.initializeClient("HTTP@proxy",{mechOID:r.GSS_MECH_OID_SPNEGO}),s=await n.step(a||"");if(!s)throw new Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${s}`}}}} +//# sourceMappingURL=/sm/fb25ec3430ddc9f35945dbcebed283d962ce7d2ecd92b12c8486cb49cecf57e3.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/package.json b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/package.json new file mode 100644 index 0000000..2e5697a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/package.json @@ -0,0 +1,47 @@ +{ + "name": "proxy-agent-negotiate", + "version": "1.1.0", + "type": "module", + "description": "Negotiate/SPNEGO proxy authentication for proxy-agents", + "exports": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "files": [ + "dist" + ], + "repository": { + "type": "git", + "url": "https://github.com/TooTallNate/proxy-agents.git", + "directory": "packages/negotiate" + }, + "keywords": [ + "proxy", + "negotiate", + "kerberos", + "spnego", + "authentication" + ], + "author": "Nathan Rajlich (http://n8.io/)", + "license": "MIT", + "devDependencies": { + "@types/node": "^22.13.0", + "typescript": "^5.1.6", + "tsconfig": "0.0.0" + }, + "engines": { + "node": ">= 20" + }, + "peerDependencies": { + "kerberos": "^2.0.0" + }, + "peerDependenciesMeta": { + "kerberos": { + "optional": true + } + }, + "scripts": { + "build": "tsc", + "pack": "node ../../scripts/pack.mjs" + } +} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/LICENSE b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/LICENSE new file mode 100644 index 0000000..8f25097 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/LICENSE @@ -0,0 +1,20 @@ +The MIT License + +Copyright (C) 2016-2018 Rob Wu + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/README.md b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/README.md new file mode 100644 index 0000000..1c00ecf --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/README.md @@ -0,0 +1,163 @@ +# proxy-from-env + +![Build Status](https://github.com/Rob--W/proxy-from-env/actions/workflows/run-tests.yaml/badge.svg?branch=master) +[![Coverage Status](https://coveralls.io/repos/github/Rob--W/proxy-from-env/badge.svg?branch=master)](https://coveralls.io/github/Rob--W/proxy-from-env?branch=master) + +`proxy-from-env` is a Node.js package that exports a function (`getProxyForUrl`) +that takes an input URL (a string, an instance of +[`URL`](https://nodejs.org/docs/latest/api/url.html#the-whatwg-url-api), +or [`url.parse`](https://nodejs.org/docs/latest/api/url.html#url_url_parsing)'s +return value) and returns the desired proxy URL (also a string) based on +standard proxy environment variables. If no proxy is set, an empty string is +returned. + +If your application makes important (security) decisions based on the URL, be +consistent in the mechanism to parse and validate URLs, as differences in URL +parsing behavior can affect the outcome of proxy resolution. +Strings are parsed with the standard `URL` API, as of `proxy-from-env@2.0.0`. +Older versions relied on the (now deprecated) `url.parse` method instead. + +Invalid values in environment variables are not handled by the library +([#41](https://github.com/Rob--W/proxy-from-env/issues/41)). + +It is your responsibility to actually proxy the request using the given URL. + +Installation: + +```sh +npm install proxy-from-env +``` + +## Example +This example shows how the data for a URL can be fetched via the +[`http` module](https://nodejs.org/api/http.html), in a proxy-aware way. + +warning: this simple example works for http requests only. To support https, +you must establish a proxy tunnel via the +[http `connect` method](https://developer.mozilla.org/en-us/docs/web/http/reference/methods/connect). + +```javascript +import http from 'node:test'; +import { getProxyForUrl } from 'proxy-from-env'; +// ^ or: var getProxyForUrl = require('proxy-from-env').getProxyForUrl; + +var some_url = 'http://example.com/something'; + +// // Example, if there is a proxy server at 10.0.0.1:1234, then setting the +// // http_proxy environment variable causes the request to go through a proxy. +// process.env.http_proxy = 'http://10.0.0.1:1234'; +// +// // But if the host to be proxied is listed in NO_PROXY, then the request is +// // not proxied (but a direct request is made). +// process.env.no_proxy = 'example.com'; + +var proxy_url = getProxyForUrl(some_url); // <-- Our magic. +if (proxy_url) { + // Should be proxied through proxy_url. + var parsed_some_url = new URL(some_url); + var parsed_proxy_url = new URL(proxy_url); + // A HTTP proxy is quite simple. It is similar to a normal request, except the + // path is an absolute URL, and the proxied URL's host is put in the header + // instead of the server's actual host. + httpOptions = { + protocol: parsed_proxy_url.protocol, + hostname: parsed_proxy_url.hostname, + port: parsed_proxy_url.port, + path: parsed_some_url.href, + headers: { + Host: parsed_some_url.host, // = host name + optional port. + }, + }; +} else { + // Direct request. + httpOptions = some_url; +} +http.get(httpOptions, function(res) { + var responses = []; + res.on('data', function(chunk) { responses.push(chunk); }); + res.on('end', function() { console.log(responses.join('')); }); +}); +``` + +### Full proxy support +The simple example above works for http requests only. To support https, you +must establish a proxy tunnel via the +[http `connect` method](https://developer.mozilla.org/en-us/docs/web/http/reference/methods/connect). + +An example of that is shown in the +[`https-proxy-agent` npm package](https://www.npmjs.com/package/https-proxy-agent). +The [`proxy-agent` npm package](https://www.npmjs.com/package/proxy-agent) +combines `https-proxy-agent` and `proxy-from-env` to offer a `http.Agent` that +supports proxies from environment variables. + +### Built-in proxy support +Node.js is working on built-in support for proxy environment variables, +currently behind `NODE_USE_ENV_PROXY=1` or `--use-env-proxy`. For details, see: + +- https://github.com/nodejs/node/issues/57872 +- https://nodejs.org/api/http.html#built-in-proxy-support + + +## Environment variables +The environment variables can be specified in all lowercase or all uppercase, +with lowercase taking precedence over the uppercase variant. A variable that is +not set has the same meaning as a variable that is set but has no value. + +### NO\_PROXY + +`NO_PROXY` is a list of host names (optionally with a port). If the input URL +matches any of the entries in `NO_PROXY`, then the input URL should be fetched +by a direct request (i.e. without a proxy). + +Matching follows the following rules: + +- `NO_PROXY=*` disables all proxies. +- Space and commas may be used to separate the entries in the `NO_PROXY` list. +- If `NO_PROXY` does not contain any entries, then proxies are never disabled. +- If a port is added after the host name, then the ports must match. If the URL + does not have an explicit port name, the protocol's default port is used. +- Generally, the proxy is only disabled if the host name is an exact match for + an entry in the `NO_PROXY` list. The only exceptions are entries that start + with a dot or with a wildcard; then the proxy is disabled if the host name + ends with the entry. + +See `test.js` for examples of what should match and what does not. + +### \*\_PROXY + +The environment variable used for the proxy depends on the protocol of the URL. +For example, `https://example.com` uses the "https" protocol, and therefore the +proxy to be used is `HTTPS_PROXY` (_NOT_ `HTTP_PROXY`, which is _only_ used for +http:-URLs). + +The library is not limited to http(s), other schemes such as +`FTP_PROXY` (ftp:), +`WSS_PROXY` (wss:), +`WS_PROXY` (ws:) +are also supported. + +If present, `ALL_PROXY` is used as fallback if there is no other match. + + +## External resources +The exact way of parsing the environment variables is not codified in any +standard. This library is designed to be compatible with formats as expected by +existing software. +The following resources were used to determine the desired behavior: + +- cURL: + https://curl.haxx.se/docs/manpage.html#ENVIRONMENT + https://github.com/curl/curl/blob/4af40b3646d3b09f68e419f7ca866ff395d1f897/lib/url.c#L4446-L4514 + https://github.com/curl/curl/blob/4af40b3646d3b09f68e419f7ca866ff395d1f897/lib/url.c#L4608-L4638 + +- wget: + https://www.gnu.org/software/wget/manual/wget.html#Proxies + http://git.savannah.gnu.org/cgit/wget.git/tree/src/init.c?id=636a5f9a1c508aa39e35a3a8e9e54520a284d93d#n383 + http://git.savannah.gnu.org/cgit/wget.git/tree/src/retr.c?id=93c1517c4071c4288ba5a4b038e7634e4c6b5482#n1278 + +- W3: + https://www.w3.org/Daemon/User/Proxies/ProxyClients.html + +- Python's urllib: + https://github.com/python/cpython/blob/936135bb97fe04223aa30ca6e98eac8f3ed6b349/Lib/urllib/request.py#L755-L782 + https://github.com/python/cpython/blob/936135bb97fe04223aa30ca6e98eac8f3ed6b349/Lib/urllib/request.py#L2444-L2479 diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.cjs b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.cjs new file mode 100644 index 0000000..ede2a9f --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.cjs @@ -0,0 +1,105 @@ +'use strict'; + +var DEFAULT_PORTS = { + ftp: 21, + gopher: 70, + http: 80, + https: 443, + ws: 80, + wss: 443, +}; + +function parseUrl(urlString) { + try { + return new URL(urlString); + } catch { + return null; + } +} + +/** + * @param {string|object|URL} url - The URL as a string or URL instance, or a + * compatible object (such as the result from legacy url.parse). + * @return {string} The URL of the proxy that should handle the request to the + * given URL. If no proxy is set, this will be an empty string. + */ +function getProxyForUrl(url) { + var parsedUrl = (typeof url === 'string' ? parseUrl(url) : url) || {}; + var proto = parsedUrl.protocol; + var hostname = parsedUrl.host; + var port = parsedUrl.port; + if (typeof hostname !== 'string' || !hostname || typeof proto !== 'string') { + return ''; // Don't proxy URLs without a valid scheme or host. + } + + proto = proto.split(':', 1)[0]; + // Stripping ports in this way instead of using parsedUrl.hostname to make + // sure that the brackets around IPv6 addresses are kept. + hostname = hostname.replace(/:\d*$/, ''); + port = parseInt(port) || DEFAULT_PORTS[proto] || 0; + if (!shouldProxy(hostname, port)) { + return ''; // Don't proxy URLs that match NO_PROXY. + } + + var proxy = getEnv(proto + '_proxy') || getEnv('all_proxy'); + if (proxy && proxy.indexOf('://') === -1) { + // Missing scheme in proxy, default to the requested URL's scheme. + proxy = proto + '://' + proxy; + } + return proxy; +} + +/** + * Determines whether a given URL should be proxied. + * + * @param {string} hostname - The host name of the URL. + * @param {number} port - The effective port of the URL. + * @returns {boolean} Whether the given URL should be proxied. + * @private + */ +function shouldProxy(hostname, port) { + var NO_PROXY = getEnv('no_proxy').toLowerCase(); + if (!NO_PROXY) { + return true; // Always proxy if NO_PROXY is not set. + } + if (NO_PROXY === '*') { + return false; // Never proxy if wildcard is set. + } + + return NO_PROXY.split(/[,\s]/).every(function(proxy) { + if (!proxy) { + return true; // Skip zero-length hosts. + } + var parsedProxy = proxy.match(/^(.+):(\d+)$/); + var parsedProxyHostname = parsedProxy ? parsedProxy[1] : proxy; + var parsedProxyPort = parsedProxy ? parseInt(parsedProxy[2]) : 0; + if (parsedProxyPort && parsedProxyPort !== port) { + return true; // Skip if ports don't match. + } + + if (!/^[.*]/.test(parsedProxyHostname)) { + // No wildcards, so stop proxying if there is an exact match. + return hostname !== parsedProxyHostname; + } + + if (parsedProxyHostname.charAt(0) === '*') { + // Remove leading wildcard. + parsedProxyHostname = parsedProxyHostname.slice(1); + } + // Stop proxying if the hostname ends with the no_proxy host. + return !hostname.endsWith(parsedProxyHostname); + }); +} + +/** + * Get the value for an environment variable. + * + * @param {string} key - The name of the environment variable. + * @return {string} The value of the environment variable. + * @private + */ +function getEnv(key) { + return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || ''; +} + +exports.getProxyForUrl = getProxyForUrl; diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.js b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.js new file mode 100644 index 0000000..333f45a --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.js @@ -0,0 +1,103 @@ +'use strict'; + +var DEFAULT_PORTS = { + ftp: 21, + gopher: 70, + http: 80, + https: 443, + ws: 80, + wss: 443, +}; + +function parseUrl(urlString) { + try { + return new URL(urlString); + } catch { + return null; + } +} + +/** + * @param {string|object|URL} url - The URL as a string or URL instance, or a + * compatible object (such as the result from legacy url.parse). + * @return {string} The URL of the proxy that should handle the request to the + * given URL. If no proxy is set, this will be an empty string. + */ +export function getProxyForUrl(url) { + var parsedUrl = (typeof url === 'string' ? parseUrl(url) : url) || {}; + var proto = parsedUrl.protocol; + var hostname = parsedUrl.host; + var port = parsedUrl.port; + if (typeof hostname !== 'string' || !hostname || typeof proto !== 'string') { + return ''; // Don't proxy URLs without a valid scheme or host. + } + + proto = proto.split(':', 1)[0]; + // Stripping ports in this way instead of using parsedUrl.hostname to make + // sure that the brackets around IPv6 addresses are kept. + hostname = hostname.replace(/:\d*$/, ''); + port = parseInt(port) || DEFAULT_PORTS[proto] || 0; + if (!shouldProxy(hostname, port)) { + return ''; // Don't proxy URLs that match NO_PROXY. + } + + var proxy = getEnv(proto + '_proxy') || getEnv('all_proxy'); + if (proxy && proxy.indexOf('://') === -1) { + // Missing scheme in proxy, default to the requested URL's scheme. + proxy = proto + '://' + proxy; + } + return proxy; +} + +/** + * Determines whether a given URL should be proxied. + * + * @param {string} hostname - The host name of the URL. + * @param {number} port - The effective port of the URL. + * @returns {boolean} Whether the given URL should be proxied. + * @private + */ +function shouldProxy(hostname, port) { + var NO_PROXY = getEnv('no_proxy').toLowerCase(); + if (!NO_PROXY) { + return true; // Always proxy if NO_PROXY is not set. + } + if (NO_PROXY === '*') { + return false; // Never proxy if wildcard is set. + } + + return NO_PROXY.split(/[,\s]/).every(function(proxy) { + if (!proxy) { + return true; // Skip zero-length hosts. + } + var parsedProxy = proxy.match(/^(.+):(\d+)$/); + var parsedProxyHostname = parsedProxy ? parsedProxy[1] : proxy; + var parsedProxyPort = parsedProxy ? parseInt(parsedProxy[2]) : 0; + if (parsedProxyPort && parsedProxyPort !== port) { + return true; // Skip if ports don't match. + } + + if (!/^[.*]/.test(parsedProxyHostname)) { + // No wildcards, so stop proxying if there is an exact match. + return hostname !== parsedProxyHostname; + } + + if (parsedProxyHostname.charAt(0) === '*') { + // Remove leading wildcard. + parsedProxyHostname = parsedProxyHostname.slice(1); + } + // Stop proxying if the hostname ends with the no_proxy host. + return !hostname.endsWith(parsedProxyHostname); + }); +} + +/** + * Get the value for an environment variable. + * + * @param {string} key - The name of the environment variable. + * @return {string} The value of the environment variable. + * @private + */ +function getEnv(key) { + return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || ''; +} diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.min.js b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.min.js new file mode 100644 index 0000000..fec6a94 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/proxy-from-env@2.1.0/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";var DEFAULT_PORTS={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function parseUrl(r){try{return new URL(r)}catch{return null}}export function getProxyForUrl(r){var t=("string"==typeof r?parseUrl(r):r)||{},e=t.protocol,n=t.host,o=t.port;if("string"!=typeof n||!n||"string"!=typeof e)return"";if(e=e.split(":",1)[0],!shouldProxy(n=n.replace(/:\d*$/,""),o=parseInt(o)||DEFAULT_PORTS[e]||0))return"";var s=getEnv(e+"_proxy")||getEnv("all_proxy");return s&&-1===s.indexOf("://")&&(s=e+"://"+s),s}function shouldProxy(r,t){var e=getEnv("no_proxy").toLowerCase();return!e||"*"!==e&&e.split(/[,\s]/).every((function(e){if(!e)return!0;var n=e.match(/^(.+):(\d+)$/),o=n?n[1]:e,s=n?parseInt(n[2]):0;return!(!s||s===t)||(/^[.*]/.test(o)?("*"===o.charAt(0)&&(o=o.slice(1)),!r.endsWith(o)):r!==o)}))}function getEnv(r){return process.env[r.toLowerCase()]||process.env[r.toUpperCase()]||""} +//# sourceMappingURL=/sm/10a8727f54175a87b96d1dce6288436748890440ea8b7f7b73a001272b1298d8.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/package.json b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/package.json new file mode 100644 index 0000000..3960f35 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/package.json @@ -0,0 +1,43 @@ +{ + "name": "proxy-from-env", + "version": "2.1.0", + "description": "Offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables.", + "main": "index.cjs", + "exports": { + "import": "./index.js", + "require": "./index.cjs" + }, + "files": ["index.js", "index.cjs"], + "scripts": { + "lint": "eslint *.js *.mjs *.cjs", + "test": "node --test ./test.js", + "test-require": "node ./test-require.cjs", + "test-coverage": "node --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info ./test.js", + "test-coverage-as-html": "npm run test-coverage && genhtml lcov.info -o coverage/" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/Rob--W/proxy-from-env.git" + }, + "keywords": [ + "proxy", + "http_proxy", + "https_proxy", + "no_proxy", + "environment" + ], + "author": "Rob Wu (https://robwu.nl/)", + "license": "MIT", + "bugs": { + "url": "https://github.com/Rob--W/proxy-from-env/issues" + }, + "homepage": "https://github.com/Rob--W/proxy-from-env#readme", + "devDependencies": { + "eslint": "^9.39.2" + }, + "type": "module", + "engines": { + "node": ">=10" + }, + "sideEffects": false +} diff --git a/Lombiq.EInvoiceValidator/node_modules/saxon-js/LICENSE.txt b/Lombiq.EInvoiceValidator/node_modules/saxon-js/LICENSE.txt new file mode 100644 index 0000000..cc88bb7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/saxon-js/LICENSE.txt @@ -0,0 +1,55 @@ + Version 1.0, June 2020 + + Software: This license applies to the packages "xslt3" and "saxon-js" + distributed via npm (https://www.npmjs.com) and to the modules SaxonJS2.js + and SaxonJS2.rt.js available for download from the Saxonica web site + (https://www.saxonica.com/). + + Copyright: The copyright in the Software belongs to Saxonica Ltd, except + for third-party components listed in the documentation that are distributed + under license. + + Binary form: In this license, "binary form" means the form in which the + Software is issued (this is technically a set of obfuscated Javascript files). + + Deployment and use. The Software may be copied to any computer where the + primary purpose is the execution of the software on that computer, or on + connected client computers. + + Redistribution. Redistribution in binary form, without + modification, is permitted as part of an application that makes use + of the Software, provided that the following conditions are + met: + + 1) Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + 2) Except to the extent explicitly permitted by law, no reverse + engineering, decompilation, or disassembly of this software is + permitted. + + 3) Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + 4) Copying the software to a site whose primary purpose is to make + it available to third parties is not permitted without specific + prior written permission. + + If you institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the software + itself infringes your patent(s), then your rights granted under this + license shall terminate as of the date such litigation is filed. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS." ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT + NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.js b/Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.js new file mode 100644 index 0000000..6055e73 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.js @@ -0,0 +1,4609 @@ +var oa,qa=function(){function a(){function g(e){if(!(this instanceof g))return void 0===e?a():new g(e);if(e instanceof g)this.ha=e.ha,this.e=e.e,this.c=e.c.slice();else{var l,z,v;0===e&&0>1/e?e="-0":q.test(e=""+e)||A(NaN);this.ha="-"==e.charAt(0)?(e=e.slice(1),-1):1;-1<(l=e.indexOf("."))&&(e=e.replace(".",""));0<(z=e.search(/e/i))?(0>l&&(l=z),l+=+e.slice(z+1),e=e.substring(0,z)):0>l&&(l=e.length);for(z=0;"0"==e.charAt(z);z++);if(z==(v=e.length))this.c=[this.e=0];else{for(;"0"==e.charAt(--v););this.e= +l-z-1;this.c=[];for(l=0;z<=v;this.c[l++]=+e.charAt(z++));}}this.constructor=g}g.prototype=P;g.Td=20;g.Oe=1;g.Ud=-7;g.Je=21;return g}function b(g,e,l){var z=g.constructor,v=e-(g=new z(g)).e,G=g.c;G.length>++e&&h(g,v,z.Oe);G[0]?l?v=e:(G=g.c,v=g.e+v+1):++v;for(;G.lengthg.ha&&G[0]?"-":"")+(1v?"e":"e+")+v:g.toString()}function h(g,e,l,z=!1){var v=g.c,G=g.e+e+1;1===l?z=5<=v[G]:2===l?z=5G||void 0!==v[G+1]||v[G-1]&1):3===l?z=z||void 0!==v[G]||0>G:(z=!1,0!==l&&A("!Big.RM!"));if(1>G||!v[0])z?(g.e=-e,g.c=[1]):g.c=[g.e=0];else{v.length=G--;if(z)for(;9<++v[G];)v[G]=0,G--||(++g.e,v.unshift(1));for(G=v.length;!v[--G];v.pop());}return g}function A(g){g=Error(g);g.name="BigError";throw g;}var P={},q=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;P.abs=function(){var g=new this.constructor(this);g.ha=1;return g};P.eb=function(g){var e=this.c,l=(g=new this.constructor(g)).c,z=this.ha,v=g.ha,G= +this.e,p=g.e;if(!e[0]||!l[0])return e[0]?z:l[0]?-v:0;if(z!=v)return z;g=0>z;if(G!=p)return G>p^g?1:-1;z=-1;for(v=(G=e.length)<(p=l.length)?G:p;++zl[z]^g?1:-1;return G==p?0:G>p^g?1:-1};P.Ib=function(g,e,l){var z=this.constructor,v=this.c,G=(g=new z(g)).c,p=this.ha===g.ha?1:-1;e="undefined"!==typeof e?e:z.Td;l="undefined"!==typeof l?l:z.Oe;(e!==~~e||0>e||1E6Q?0:Q;for(I.unshift(0);d++f;f++){if(z!=(d=c.length))var ma=z>d?1:-1;else{var na=-1;for(ma=0;++nac[na]?1:-1;break}}if(0>ma){for(g=d==z?G:I;d;){if(c[--d]Q&&h(n,e,l,void 0!==c[0]);return n};P.qj=function(){var g=qa(0);return!this.eb(g)};P.g=function(g){return 0this.eb(g)};P.x=function(g){return 1>this.eb(g)};P.sub=P.te=function(g){var e=this.constructor;var l=this.ha,z=(g=new e(g)).ha;if(l!=z)return g.ha=-z,this.xe(g);var v=this.c.slice();var G=this.e;var p=g.c,f=g.e;if(!v[0]||!p[0])return p[0]?(g.ha=-z,g):new e(v[0]?this:0);if(l=G-f){(e=0>l)?(l= +-l,G=v):(f=G,G=p);G.reverse();for(z=l;z--;G.push(0));G.reverse()}else for(G=((e=v.lengthl;){if(v[--G]v.length-p.length&&(e=p,p=v,v=e);l=p.length;for(z=0;l;)z=(v[--l]=v[l]+p[l]+z)/10|0,v[l]%=10;z&&(v.unshift(z), +++G);for(l=v.length;0===v[--l];v.pop());g.c=v;g.e=G;return g};P.pow=function(g){var e=this,l=new e.constructor(1),z=l,v=0>g;(g!==~~g||-1E6>g||1E6>=1;if(!g)break;e=e.times(e)}return v?l.Ib(z):z};P.round=function(g,e){var l=this,z=l.constructor;null==g?g=0:(g!==~~g||0>g||1E6l&&A(NaN);l=Math.sqrt(this.toString());0===l||l===1/0?(l=e.join(""),l.length+z&1||(l+="0"),e=new g(Math.sqrt(l).toString()),e.e=((z+1)/2|0)-(0>z||z&1)):e=new g(l.toString());l=e.e+(g.Td+=4);do z=e,e=v.times(z.xe(this.Ib(z)));while(z.c.slice(0,l).join("")!==e.c.slice(0,l).join(""));h(e,g.Td-=4,g.Oe);return e};P.z=P.times=function(g){var e=this.constructor;var l=this.c,z=(g=new e(g)).c,v=l.length,G=z.length,p=this.e,f=g.e;g.ha=this.ha==g.ha?1:-1;if(!l[0]||!z[0])return new e(0*g.ha);g.e=p+f;vp;)G=e[f]+z[p]*l[f-p-1]+G,e[f--]=G%10,G=G/10|0;e[f]=(e[f]+G)%10}G&&++g.e;e[0]||e.shift();for(p=e.length;!e[--p];e.pop());g.c=e;return g};P.toString=P.valueOf=P.toJSON=function(){var g=this.constructor,e=this.e,l=this.c.join(""),z=l.length;if(e<=g.Ud||e>=g.Je)l=l.charAt(0)+(1e?"e":"e+")+e;else if(0>e){for(;++e;l="0"+l);l="0."+l}else if(0z)for(e-=z;e--;l+="0");else ethis.ha&&this.c[0]?"-"+l:l};P.b=function(g){null==g?g=this.c.length-1:(g!==~~g||0>g||1E6=g&&(v=b(this,this.e+g),0>this.ha&&this.c[0]&&0>v.indexOf("-")&&(v="-"+v));e.Ud=l;e.Je=z;v||A("!toFix!");return v};P.toPrecision=function(g){if(null==g)return this.toString(); +(g!==~~g||1>g||1E6=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||>=",C:[{N:"varRef", +name:"Q{}lineAtt",slot:"3"}]},{N:"int",val:"0"}]},{N:"check",line:"422",card:"1",diag:"3|0|XTTE0570|lineNumber",C:[{N:"cast",flags:"ae",as:"?ADI",C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"varRef",name:"Q{}lineAtt",slot:"3"}]}]}]},{N:"true"},{N:"check",line:"426",card:"1",diag:"3|0|XTTE0570|lineNumber",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"check",card:"?",diag:"0|0||saxon:line-number",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"}]}]}]}]}]},{N:"sequence", +line:"433",C:[{N:"choose",C:[{N:"compareToInt",op:"ge",val:"0",C:[{N:"varRef",name:"Q{}lineNumber",slot:"2"}]},{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:" on line "},{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}lineNumber",slot:"2"}]}]}]}]},{N:"let",line:"436","var":"Q{}module",as:"?",slot:"4",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"},{N:"lastOf",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"fn",name:"reverse",C:[{N:"axis", +name:"ancestor-or-self",nodeTest:"NE"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}baseUri"}]}]}]}]}]},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"}]}]}]}]},{N:"choose",line:"437",C:[{N:"varRef",name:"Q{}module",slot:"4"},{N:"valueOf",C:[{N:"fn",line:"443",name:"concat",C:[{N:"str",val:" in "},{N:"let","var":"Q{}tokens", +as:"*AS",slot:"5",C:[{N:"fn",name:"tokenize",C:[{N:"check",line:"437",card:"1",diag:"0|0||f:abbreviated-module-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:abbreviated-module-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:abbreviated-module-uri",C:[{N:"data",diag:"0|0||f:abbreviated-module-uri",C:[{N:"varRef",name:"Q{}module",slot:"4"}]}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]},{N:"let",line:"444","var":"Q{}n",as:"1ADI",slot:"6",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}tokens", +slot:"5"}]},{N:"fn",line:"445",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}tokens",slot:"5"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}n",slot:"6"},{N:"int",val:"1"}]}]},{N:"str",val:"/"}]},{N:"subscript",C:[{N:"varRef",name:"Q{}tokens",slot:"5"},{N:"varRef",name:"Q{}n",slot:"6"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]}]},{N:"co",id:"124",binds:"",C:[{N:"mode",name:"Q{}param.type",onNo:"TC",flags:"We",patternSlots:"0"}]},{N:"co",id:"125", +binds:"7 7 7 126 127 52 128 126 129 73 127 73 51 1 69 7 7 7 7 130 62 127 73 52 66 129 131 132 69 7 1 1 1 69 7 22 126 127 133 134 7 22 7 1 7 135 7 127 136 72 137 7 7 137 137 7 126 137 22 22 7 22 25 7 127 65 99 137 48 101 137 123 123 25 138 127 7 50 1 69 7 137 7 66 139 127 61 140 126 126 141 126 7 127 52 127 52 66 137 101 137 123 142 54 7 135 7 127 143 64 144 72 7 22 25 7 1 69 7 66 67 67 67 127 7 145 132 1 7 146 146 137 22 1 137 7 127 52 126 132 69 7 1 1 137 7 1 69 7 132 69 7 1 1 126 141 127 7 52", +C:[{N:"mode",name:"Q{}process-xpath",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"3.0",seq:"291",rank:"5",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"853",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"853",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"854",flags:"t",C:[{N:"withParam",name:"Q{}nsAttribute",flags:"t",as:"1NA",C:[{N:"check",line:"855",card:"1",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ns"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"282",rank:"4",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"561",module:"xpath.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"561",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"literal",count:"2",C:[{N:"str",val:"count"},{N:"str",val:"from"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nodeNum"}]},{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"561",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"match"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"}]}]},{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"561",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"match"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"562","var":"Q{}temp", +as:"*NE",slot:"1",C:[{N:"treat",line:"563",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]},{N:"iterate",line:"565",C:[{N:"tail",role:"select",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"params",role:"params",line:"566",C:[{N:"param",name:"Q{}partial",slot:"0",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"supplied",role:"conversion",slot:"0"}]}]},{N:"varRef",role:"on-completion",line:"567",name:"Q{}partial",slot:"0"},{N:"nextIteration",role:"action", +line:"568",C:[{N:"withParam",name:"Q{}partial",as:"1NE",slot:"0",C:[{N:"elem",line:"570",name:"p.venn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"op",flags:"l",C:[{N:"str",val:"union"}]},{N:"docOrder",line:"571",intra:"0",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}partial",slot:"0"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"varRef", +line:"571",name:"Q{}partial",slot:"0"},{N:"dot",line:"571",type:"1NE"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"275",rank:"3",minImp:"0",slots:"5",matches:"NE",flags:"s",line:"252",module:"xpath.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}template"}]}, +{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"254",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables", +C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"262",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"263",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"},{N:"choose",line:"264",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"att",line:"266",name:"slot",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"subscript", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"int",val:"2"}]},{N:"int",val:"0"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"let",line:"270","var":"Q{}def",as:"1NE",slot:"1",C:[{N:"choose",line:"271",C:[{N:"compareToInt",line:"272",op:"le",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence", +C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"treat",line:"273",as:"NE",diag:"3|0|XTTE0570|def",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|def",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"276",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"body"}]},{N:"applyT",line:"277",flags:"c",bSlot:"-1", +C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"282",C:[{N:"choose",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1887583512",as:"1",slot:"2",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"3",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1887583512",slot:"2"},{N:"attVal",name:"Q{}name"}]},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis", +name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]}]}]}]},{N:"fn",line:"285",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors", +loc:"XPST0008"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Global variable "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot refer to itself in its definition"}]}]}]},{N:"let",line:"293","var":"Q{}requiredType",as:"?FM",slot:"4",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false", +bSlot:"0",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", +C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{}sType"}]}]}]}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"forEach",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, +{N:"int",val:"3"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"2",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot"}]}]}]}]}]}]}]}]}]},{N:"choose",line:"296",C:[{N:"and",line:"297",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data", +diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"3"}]}]},{N:"ufCall",line:"300",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"4",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck", +C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"5"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"300",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}type-error-map",bSlot:"6"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"300",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}, +{N:"choose",line:"260",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:' match="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"str",val:'"'}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:' name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]}]}]},{N:"str", +val:"|"}]}]}]}]}]}]},{N:"fn",line:"302",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"sequence",line:"303",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"varRef",name:"Q{}def",slot:"1"}]},{N:"true"},{N:"sequence",line:"307",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"vc", +op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"dot",type:"1NA nQ{}sType"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"7"}]}]},{N:"varRef",name:"Q{}def",slot:"1"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"288",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"639",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"union",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"639",op:"|",C:[{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}VARDEF,NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}ZZZparams"},{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]}]}]}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"641",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"642",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"643","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"644",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"callT",name:"Q{}process-variables",bSlot:"8",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"axis",line:"645",name:"child",nodeTest:"NE"}]}]}]},{N:"sequence",line:"648",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef", +name:"Q{}temp",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"varRef",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"262",rank:"2",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"83",module:"regular-expressions.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"83",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"literal",count:"2",C:[{N:"str",val:"matching"},{N:"str",val:"nonMatching"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}analyzeString"}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"84", +flags:"t",C:[{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM k[AS] v[1AS]",C:[{N:"gVarRef",line:"85",name:"Q{}ST.SINGLE_STRING",bSlot:"9"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"234",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"116",module:"numbering.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"116",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"lang"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"117","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"118",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"120",name:"Q{MyFunctions}typeCheck", +tailCall:"false",bSlot:"10",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"11"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1486277532",bSlot:"12"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.25",seq:"259",rank:"0",minImp:"0",slots:"1", +matches:"NE n*:analyzeString",flags:"s",line:"53",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE n*:analyzeString"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"55","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"56",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"60",flags:"cin",sit:"1NE n*:analyzeString",C:[{N:"sequence",role:"content",line:"61",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",line:"58",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"13",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"14",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC", +C:[{N:"literal",count:"2",C:[{N:"str",val:"matching"},{N:"str",val:"nonMatching"}]},{N:"attVal",name:"Q{}role"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"15",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"62", +name:"attribute",nodeTest:"NA"},{N:"varRef",line:"62",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"156",rank:"4",minImp:"0",slots:"4",matches:"NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"s",line:"208",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"209",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"210","var":"Q{}parts",as:"*NE",slot:"1",C:[{N:"treat",line:"211",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"213","var":"Q{}select", +as:"*NE",slot:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"select"}]}]},{N:"copy",line:"214",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",C:[{N:"sequence",role:"content",line:"215",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"217",C:[{N:"and",line:"218",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"},{N:"axis", +name:"self",nodeTest:"NE n*:slash"}]}]},{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"3",C:[{N:"lookup",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"rules.xsl",line:"218",name:"Q{MyTypes}marshalType", +tailCall:"false",bSlot:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]}, +{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"3"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode", +slot:"3"}]}]}]}]},{N:"str",val:"N"}]}]}]}]},{N:"elem",line:"219",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"varRef",line:"220",name:"Q{}select",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"224",name:"Q{}select",slot:"2"}]},{N:"except",line:"227",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}parts",slot:"1"}]},{N:"docOrder", +intra:"0",C:[{N:"varRef",name:"Q{}select",slot:"2"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"277",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://ns.saxonica.com/xslt/export}treat",flags:"s",line:"353",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}treat"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"355","var":"Q{}required-type",slot:"0",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"17",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"let",line:"356","var":"Q{}required-cardinality",as:"1AS",slot:"1",C:[{N:"fn", +name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"str",val:"o"}]}]}]},{N:"let",line:"357","var":"Q{}required-baseType",slot:"2",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"str",val:"p"}]},{N:"let",line:"358","var":"Q{}attributes",as:"*NA",slot:"3",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"359","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, +{N:"let",line:"360","var":"Q{}source",as:"*NE",slot:"5",C:[{N:"treat",line:"361",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"363","var":"Q{}sourceSequenceType",slot:"6",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"18",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", +C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}source",slot:"5"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}source",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"364","var":"Q{}sourceType",slot:"7",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}sourceSequenceType",slot:"6"},{N:"str",val:"p"}]},{N:"choose",line:"365",C:[{N:"and",line:"367", +op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}required-baseType",slot:"2"}]}]}]}]},{N:"str",val:"A"}]},{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped", +to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}sourceType",slot:"7"}]}]}]}]},{N:"str",val:"N"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}sourceType",slot:"7"}]},{N:"str",val:""}]}]}]},{N:"copy",line:"368",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content",line:"369",C:[{N:"varRef",name:"Q{}attributes", +slot:"3"},{N:"elem",line:"370",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"axis",line:"371",name:"attribute",nodeTest:"NA nQ{}diag"},{N:"elem",line:"373",name:"cvUntyped",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"to",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj", +C:[{N:"varRef",name:"Q{}required-baseType",slot:"2"}]}]}]},{N:"str",val:" "}]}]},{N:"elem",line:"375",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"376",name:"Q{}source",slot:"5"}]}]}]}]}]}]}]},{N:"compareToString",line:"382",op:"ne",val:"*",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"copy",line:"383",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content",line:"384",C:[{N:"varRef",name:"Q{}attributes", +slot:"3"},{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg409114060", +bSlot:"19"}]},{N:"elem",line:"385",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"except",line:"386",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attributes",slot:"3"}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{http://ns.saxonica.com/xslt/export}asJ,NA nQ{}jsTest]"}]},{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1317395634",bSlot:"20"}]},{N:"varRef",line:"391",name:"Q{}source",slot:"5"}]}]}]}]},{N:"fn",line:"395",name:"deep-equal",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"varRef",name:"Q{}sourceSequenceType", +slot:"6"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]},{N:"forEach",line:"396",C:[{N:"varRef",name:"Q{}source",slot:"5"},{N:"copy",line:"397",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"398",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"403",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content", +line:"404",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"varRef",name:"Q{}attributes",slot:"3"},{N:"varRef",name:"Q{}source",slot:"5"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"285",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}namespace",flags:"s",line:"593",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}namespace"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"595",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}namespace",C:[{N:"sequence",role:"content",line:"597",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"598","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"599",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"sequence",line:"603",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"21",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck", +C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]}]},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"22"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn", +name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"23"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTDE0920"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"603", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'namespace name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]},{N:"subscript",line:"604",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"int",val:"2"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"276",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co",flags:"s",line:"339",module:"xpath.xsl",C:[{N:"p.nodeTest", +role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"340",C:[{N:"choose",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}options",bSlot:"24"},{N:"str",val:"traceProgress"}]},{N:"message",line:"348",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting XPath on component"},{N:"fn", +name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE n*:mode"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"string", +C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",val:" templates"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"nextMatch",line:"350",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"287",rank:"3",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"s",line:"623",module:"xpath.xsl",C:[{N:"p.withPredicate", +role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"union",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"623",op:"|",C:[{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}VARDEF,NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}, +{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]}]}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"626","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"627",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"callT",name:"Q{}process-variables",bSlot:"25",C:[{N:"withParam",name:"Q{}parts", +flags:"c",as:"*NE",C:[{N:"axis",line:"628",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-base-uri",flags:"t",as:"1AS",C:[{N:"check",line:"631",card:"1",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"slash", +simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"a"},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:baseUri"}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA n*:baseUri"}]},{N:"str",val:"dummy-base-uri"}]}]}]}]}]}]}]}]}]},{N:"callT",line:"634",name:"Q{}Sequence-and-type",bSlot:"26",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"varRef",line:"635",name:"Q{}temp",slot:"0"}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"281",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"444","var":"Q{}parts", +as:"*NE",slot:"0",C:[{N:"treat",line:"445",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"448",C:[{N:"fn",line:"449",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"27"}]},{N:"axis",line:"451",name:"attribute", +nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"1",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"28",C:[{N:"check",card:"+",diag:"0|0||t:commonType", +C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"29",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"2",C:[{N:"ufCall", +name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"30",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"1"}]},{N:"choose",line:"458",C:[{N:"every",line:"461","var":"Q{}p",slot:"3",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"3"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att", +name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"0"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE",C:[{N:"sequence", +role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"0"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, +{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType", +tailCall:"false",bSlot:"31",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"1"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"0"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"183",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}try",flags:"s",line:"279",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}try"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"280","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"281",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"285",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"286",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"287",name:"sType",flags:"l",C:[{N:"ufCall",line:"284",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"32",C:[{N:"ufCall",name:"Q{MyTypes}commonType", +tailCall:"false",bSlot:"33",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"34",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]}, +{N:"varRef",line:"288",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"266",rank:"4",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator",flags:"s",line:"59",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"60","var":"Q{}init",as:"1NE",slot:"0",C:[{N:"treat",line:"61",as:"NE",diag:"3|0|XTTE0570|init",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|init",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let",line:"65","var":"Q{}rules",as:"*NE",slot:"1",C:[{N:"treat",line:"66",as:"NE",diag:"3|0|XTTE0570|rules",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam", +name:"Q{}valueType",flags:"t",as:"1AS",C:[{N:"check",line:"67",card:"1",diag:"8|0|XTTE0590|valueType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|valueType",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|valueType",C:[{N:"data",diag:"8|0|XTTE0590|valueType",C:[{N:"first",line:"64",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}init",slot:"0"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}sType"}]},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"dot",type:"1NA nQ{}sType"}]}]}]},{N:"str",val:"0"}]}]}]},{N:"str",val:"*"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"73",C:[{N:"choose",C:[{N:"gc",line:"72",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"distinct-values", +C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}rules",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"accumulator-before"},{N:"str",val:"accumulator-after"}]},{N:"attVal",name:"Q{}name"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]},{N:"data",line:"73",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ufCall",line:"76",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"35",C:[{N:"str",val:"XTDE3400"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Accumulator "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" refers to itself"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}accumulator", +flags:"a"}]}]},{N:"copy",line:"78",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}accumulator",C:[{N:"sequence",role:"content",line:"79",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}init",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"axis",line:"80",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"88",name:"Q{}init",slot:"0"},{N:"varRef",line:"91",name:"Q{}rules",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"165",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration",flags:"s",line:"217",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"218",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}nextIteration", +C:[{N:"sequence",role:"content",line:"219",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"36"}]},{N:"axis",line:"220",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"221",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"149",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mode",flags:"s",line:"68",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}, +{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mode",C:[{N:"sequence",role:"content",line:"70",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"71","var":"Q{}templates",as:"*NE",slot:"0",C:[{N:"treat",line:"72",as:"NE",diag:"3|0|XTTE0570|templates",C:[{N:"applyT",flags:"c", +bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"forEach",line:"74",C:[{N:"sort",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"0"},{N:"sortKey",line:"75",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}, +{N:"sortKey",line:"76",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prio"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]},{N:"sortKey",line:"77",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}seq"}]}, +{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"copy",line:"78",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"79",C:[{N:"att",name:"rank",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int", +val:"1"}]}]}]},{N:"axis",line:"80",name:"attribute",nodeTest:"NA"},{N:"axis",line:"80",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"243",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey",flags:"s",line:"158",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"159",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"160","var":"Q{}input",as:"1NE",slot:"1",C:[{N:"treat",line:"161",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}, +{N:"let",line:"164","var":"Q{}properties",as:"*NE",slot:"2",C:[{N:"sequence",line:"165",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|properties",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"choose",line:"166",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"collation"},{N:"str",val:"lang"},{N:"str",val:"caseOrder"}]}, +{N:"attVal",name:"Q{}role"}]}]}]},{N:"elem",line:"167",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"collation"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{N:"let",line:"175","var":"Q{}dataType",as:"*NE",slot:"3",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}properties",slot:"2"}, +{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"dataType"}]}]},{N:"let",line:"178","var":"Q{}atomizedInput",slot:"4",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"37",C:[{N:"varRef",name:"Q{}input",slot:"1"},{N:"gVarRef",name:"Q{}ST.OPTIONAL_ATOMIC",bSlot:"38"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289", +name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg638404853",bSlot:"39"}]}]}]}]}]},{N:"let",line:"179","var":"Q{}input",as:"1NE",slot:"5",C:[{N:"choose",line:"180",C:[{N:"fn",line:"200",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"select"}]}]},{N:"treat", +line:"201",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"forEach",C:[{N:"check",card:"?",diag:"4|0|XTTE3180|xsl:copy/select",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]},{N:"copy",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"202",C:[{N:"copyOf",flags:"c",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]},{N:"att",line:"203",name:"role",flags:"l",C:[{N:"str", +val:"select"}]},{N:"copyOf",line:"204",flags:"c",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"208",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]}]}]},{N:"let",line:"214","var":"Q{}principal",slot:"6",C:[{N:"lookup",C:[{N:"ufCall",line:"213",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"40", +C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"p"}]},{N:"let",line:"216","var":"Q{}sortNumeric",slot:"7",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}alphaCode", +as:"1AS",slot:"8",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||t:isNumeric",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:isNumeric",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:isNumeric",C:[{N:"data",diag:"0|0||t:isNumeric",C:[{N:"varRef",name:"Q{}principal",slot:"6"}]}]}]}]},{N:"or",module:"type.xsl",line:"438",op:"or",C:[{N:"or", +op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AF"}]}]}]},{N:"let",line:"219","var":"Q{}sortTemporal",as:"1AB",slot:"9",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}principal", +slot:"6"}]},{N:"literal",count:"3",C:[{N:"str",val:"AM"},{N:"str",val:"AA"},{N:"str",val:"AT"}]}]},{N:"copy",line:"222",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}sortKey",C:[{N:"sequence",role:"content",line:"223",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"224",C:[{N:"fn",line:"172",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}properties",slot:"2"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}, +{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"caseOrder"},{N:"str",val:"lang"}]},{N:"attVal",name:"Q{}role"}]}]}]}]},{N:"att",line:"245",name:"comp",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",line:"174",flags:"",C:[{N:"varRef",name:"Q{}properties",slot:"2"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal", +name:"Q{}role"},{N:"str",val:"order"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]},{N:"str",val:"descending"}]},{N:"str",val:"DESC"}]},{N:"choose",C:[{N:"varRef",name:"Q{}sortNumeric",slot:"7"},{N:"str",val:"DblSC"},{N:"vc",line:"218",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef", +name:"Q{}dataType",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]}]},{N:"str",val:"number"}]},{N:"str",val:"NC"},{N:"varRef",name:"Q{}sortTemporal",slot:"9"},{N:"str",val:"CalVC"},{N:"true"},{N:"str",val:"CCC"}]}]},{N:"str",val:"|"}]}]}]},{N:"choose",line:"248",C:[{N:"vc",line:"249",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]},{N:"str",val:"xs:duration"}]},{N:"ufCall",line:"251", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"41",C:[{N:"str",val:"XTDE1030"},{N:"str",val:"xs:duration types are not comparable and may not be used in xsl:sort/@select"},{N:"varRef",name:"Q{}input",slot:"5"}]},{N:"true"},{N:"sequence",line:"282",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}input",slot:"5"}]}]},{N:"except",line:"295",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef", +name:"Q{}properties",slot:"2"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]}]},{N:"choose",line:"296",C:[{N:"and",line:"297",op:"and",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]},{N:"fn",line:"220",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}principal", +slot:"6"}]}]}]}]},{N:"str",val:"A"}]}]},{N:"empty"},{N:"fn",line:"298",name:"empty",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]},{N:"elem",line:"299",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"varRef",name:"Q{}sortNumeric",slot:"7"},{N:"varRef",name:"Q{}sortTemporal",slot:"9"}]},{N:"str",val:"number"},{N:"true"},{N:"str",val:"text"}]}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"dataType"}]}]}]}, +{N:"true"},{N:"varRef",line:"305",name:"Q{}dataType",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"242",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sort",flags:"s",line:"144",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sort"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"145",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}sort",C:[{N:"sequence",role:"content",line:"146",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"147","var":"Q{}for",as:"1NE",slot:"0",C:[{N:"treat",line:"148",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"150",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"varRef",line:"151",name:"Q{}for",slot:"0"},{N:"applyT",line:"152",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl", +line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"sorting.xsl",line:"153",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"42",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"179",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condCont",flags:"s",line:"211",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condCont"}, +{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"212","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"213",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"215",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}condCont", +C:[{N:"sequence",role:"content",line:"216",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"217",name:"sType",flags:"l",C:[{N:"fn",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"sequenceType.xsl",line:"196",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"conditionals.xsl",line:"217",card:"1",diag:"0|0||t:makeOptional",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:makeOptional",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:makeOptional",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"^1"},{N:"str",val:"?"},{N:"str",val:""}]},{N:"str",val:"^\\+"},{N:"str",val:"*"},{N:"str",val:""}]}]},{N:"varRef",line:"218",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"284",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}dot",flags:"s",line:"585",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}dot"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"586",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"ti",as:"1FM", +C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"587",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}dot",C:[{N:"sequence",role:"content",line:"588",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"43",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]}]},{N:"axis",line:"589",name:"attribute",nodeTest:"NA"}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"2.0",seq:"157",rank:"4",minImp:"0",slots:"14",matches:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule",flags:"s",line:"232",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"233",C:[{N:"param", +name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"234",name:"Q{}defaultXPathNamespace",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|defaultXPathNamespace", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"data",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"237","var":"Q{}priority",as:"?NA",slot:"2",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"},{N:"let",line:"264","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"3",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}priority",slot:"2"}]},{N:"let",line:"238","var":"Q{}attributes",as:"*NA",slot:"4", +C:[{N:"treat",line:"239",as:"NA",diag:"3|0|XTTE0570|attributes",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA nQ{}priority]"}]}]},{N:"let",line:"241","var":"Q{}requiredType",as:"?FM",slot:"5",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|requiredType",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"44",C:[{N:"convert",from:"AZ", +to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]}]},{N:"let",line:"294","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"6",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}requiredType",slot:"5"}]},{N:"let",line:"242","var":"Q{}match",as:"*NE",slot:"7",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"}, +{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]},{N:"let",line:"267","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"8",flags:"l",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}match",slot:"7"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"node()"}]},{N:"let",line:"251","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"1AS",slot:"9",flags:"l",C:[{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}match",slot:"7"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]},{N:"let",line:"243","var":"Q{}action",as:"*NE",slot:"10",C:[{N:"except",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}match",slot:"7"}]}]},{N:"let",line:"245","var":"Q{}patterns",as:"*NE",slot:"11",C:[{N:"treat",line:"246",as:"NE", +diag:"3|0|XTTE0570|patterns",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}match",slot:"7"}]}]},{N:"let",line:"249","var":"Q{}warnings",as:"*NE",slot:"12",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}patterns",slot:"11"},{N:"fn",name:"exists",C:[{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:p.warning"}]}]},{N:"sequence",line:"250",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}warnings",slot:"12"},{N:"message",line:"251",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Warning:"}, +{N:"forEach",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:p.warning"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}message"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}message"}]}]},{N:"str",val:"in pattern"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEach",line:"254",C:[{N:"except",op:"except",C:[{N:"docOrder", +intra:"0",C:[{N:"varRef",name:"Q{}patterns",slot:"11"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}warnings",slot:"12"}]}]},{N:"sequence",line:"255",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"message",line:"256",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Missing @sType"},{N:"fn",name:"serialize",C:[{N:"dot",type:"1NE"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, +{N:"elem",line:"260",name:"templateRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"261",C:[{N:"varRef",name:"Q{}attributes",slot:"4"},{N:"att",line:"262",name:"prio",flags:"l",C:[{N:"fn",line:"263",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"varRef",line:"264",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"3"},{N:"cast",line:"265",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef", +name:"Q{}priority",slot:"2"}]}]}]}]},{N:"varRef",line:"267",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"8"},{N:"atomic",val:"-0.5",type:"AZ"},{N:"true"},{N:"data",line:"269",C:[{N:"mergeAdj",C:[{N:"applyT",mode:"Q{}pattern-priority",bSlot:"45",C:[{N:"dot",role:"select",type:"1NE"}]}]}]}]}]},{N:"str",val:""}]}]},{N:"att",line:"274",name:"matches",flags:"l",C:[{N:"fn",name:"substring",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring", +C:[{N:"attVal",name:"Q{}sType"}]}]},{N:"int",val:"2"}]}]},{N:"copy",line:"275",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"276",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"277",name:"role",flags:"l",C:[{N:"str",val:"match"}]},{N:"axis",line:"278",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"283","var":"Q{}body",as:"1NE",slot:"13",C:[{N:"treat",line:"284",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1", +C:[{N:"varRef",role:"select",name:"Q{}action",slot:"10"},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"rules.xsl",line:"285",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"46",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]},{N:"choose",line:"294",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"6"},{N:"ufCall",name:"Q{MyFunctions}typeCheck", +tailCall:"false",bSlot:"47",C:[{N:"varRef",name:"Q{}body",slot:"13"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"5"}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg2135267024",bSlot:"48"}]}]}]}]}]},{N:"true"},{N:"varRef",name:"Q{}body", +slot:"13"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"283",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}str",flags:"s",line:"578",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}str"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"579",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}str",C:[{N:"sequence",role:"content",line:"580",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"49"}]},{N:"axis",line:"581",name:"attribute",nodeTest:"NA"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"256",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc",flags:"s",line:"103",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"104",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"50"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]}, +{N:"param",line:"105",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"1FM",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|focus-context-type",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"106","var":"Q{}forEach",as:"*NE",slot:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc", +op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"forEachItem"},{N:"str",val:"forEachSource"}]},{N:"attVal",name:"Q{}role"}]}]},{N:"let",line:"107","var":"Q{}select",as:"*NE",slot:"3",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"selectRows"}]}]},{N:"let",line:"108","var":"Q{}source",as:"?NE",slot:"4",C:[{N:"treat",line:"109",as:"NE",diag:"3|0|XTTE0570|source", +C:[{N:"check",card:"?",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}forEach",slot:"2"}]}]}]},{N:"copy",line:"111",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc",C:[{N:"let",role:"content",line:"112","var":"Q{}for",as:"1NE",slot:"5",C:[{N:"treat",line:"113",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}select",slot:"3"}, +{N:"withParam",name:"Q{}context-type",flags:"t",as:"?FM",C:[{N:"choose",line:"120",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}source",slot:"4"}]},{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall", +ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"merging.xsl",line:"120",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"51",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"4"}, +{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"0"}]}]}]}]}]},{N:"let",line:"124","var":"Q{}body",as:"*NE",slot:"6",C:[{N:"treat",line:"125",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"union",op:"|",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}select",slot:"3"}]},{N:"docOrder",intra:"0", +C:[{N:"varRef",name:"Q{}forEach",slot:"2"}]}]}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"126",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ufCall",line:"123",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"52",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef", +name:"Q{}for",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"sequence",line:"130",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"axis",line:"131",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"132",name:"Q{}source",slot:"4"},{N:"varRef",line:"132",name:"Q{}for",slot:"5"},{N:"varRef",line:"132",name:"Q{}body",slot:"6"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"159",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}forEach",flags:"s",line:"70",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEach"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"71",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t", +as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"53"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"72",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"54"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type", +C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"75","var":"Q{}for",as:"1NE",slot:"2",C:[{N:"treat",line:"76",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let",line:"79","var":"Q{}forItemType",as:"1FM",slot:"3",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"repetition.xsl",line:"79",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"55",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]},{N:"let",line:"80","var":"Q{}body",as:"1NE",slot:"4",C:[{N:"treat",line:"81",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2", +C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"82",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"varRef",line:"83",name:"Q{}forItemType",slot:"3"}]}]}]}]},{N:"copy",line:"87",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}forEach",C:[{N:"sequence",role:"content",line:"89",C:[{N:"att",name:"sType",flags:"l",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash", +simple:"1",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"repetition.xsl",line:"89",card:"1",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"slash",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"true"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"56"}]}]},{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}role"}, +{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}module"},{N:"choose",line:"91",C:[{N:"and",line:"92",op:"and",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"5",C:[{N:"lookup",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"repetition.xsl",line:"92",name:"Q{}forItemType",slot:"3"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", +C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]}]}]}]},{N:"str",val:"N"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}for",slot:"2"},{N:"axis",name:"self",nodeTest:"NE n*:slash"}]}]}]},{N:"elem",line:"93",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"varRef",line:"94",name:"Q{}for",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"98", +name:"Q{}for",slot:"2"}]},{N:"varRef",line:"101",name:"Q{}body",slot:"4"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"236",rank:"4",minImp:"0",slots:"5",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"133",module:"numbering.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"133",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"select"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nodeNum"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"134",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef", +role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"57"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"135",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}needsNode"}]}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]}]}, +{N:"fn",name:"not",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"numbering.xsl",line:"135",card:"1",diag:"0|0||t:isNode", +C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data", +diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"N"}]}]}]}]}]},{N:"ufCall",line:"136",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"58",C:[{N:"str",val:"XTTE0990"},{N:"str",val:"xsl:number without @select or @value must have a node() as context"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"let",line:"138","var":"Q{}outer",as:"1NE",slot:"2",C:[{N:"treat",line:"140",as:"NE",diag:"3|0|XTTE0570|outer",C:[{N:"check", +card:"1",diag:"3|0|XTTE0570|outer",C:[{N:"try",flags:"r",C:[{N:"let","var":"Q{}temp",as:"1NE",slot:"3",C:[{N:"treat",line:"141",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"varRef",line:"143",name:"Q{}temp",slot:"3"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0002 Q{http://www.w3.org/2005/xqt-errors}XPTY0020",C:[{N:"ufCall",line:"145",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"59",C:[{N:"str", +val:"XTTE0990"},{N:"str",val:"xsl:number without @select or @value must have a node() as context"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]}]}]}]},{N:"sequence",line:"148",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"4",C:[{N:"lookup",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"numbering.xsl",line:"148",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"60",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}outer",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"4"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"4"}]}]}]}]},{N:"str",val:"N"}]}]}]}]},{N:"ufCall",line:"149",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"61",C:[{N:"str", +val:"XTTE1000"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:number/@select must yield a result of type node(), not "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"62",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"63",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}outer",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}, +{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"varRef",line:"151",name:"Q{}outer",slot:"2"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"235",rank:"4",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"123",module:"numbering.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"123",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"value"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}numSeqFmt"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"124","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"125",as:"NE",diag:"3|0|XTTE0570|temp", +C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"128",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"64",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"gVarRef",name:"Q{}ST.MULTIPLE_ATOMIC",bSlot:"65"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1542155234", +bSlot:"66"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"298",rank:"1",minImp:"0",slots:"29",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"964",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"966",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"967",name:"Q{}local.variables",slot:"1",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"968",name:"Q{}globals",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]}, +{N:"param",line:"969",name:"Q{}global.functions",slot:"3",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"970",name:"Q{}accumulators",slot:"4",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"971",name:"Q{}context-type",slot:"5",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"67"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"972",name:"Q{}focus-context-type",slot:"6",flags:"t",as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"5"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"6"}]}]}]},{N:"param",line:"973",name:"Q{}nsAttribute",slot:"7",flags:"t",as:"?NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"supplied",slot:"7"}]}]}]},{N:"param",line:"974",name:"Q{}defaultHTML5",slot:"8",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied", +slot:"8"}]}]}]}]}]},{N:"let",line:"981","var":"Q{}slotMap",as:"1FM v[?]",slot:"9",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",as:"FM",diag:"0|0||map:keys",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot", +type:"1A"},{N:"subscript",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:"21|0||$local.variables",C:[{N:"check",card:"1",diag:"21|0||$local.variables",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]},{N:"arrayBlock",C:[{N:"dot",type:"1A"}]}]},{N:"int",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"982","var":"Q{}role",as:"?NA",slot:"10", +flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"let",line:"983","var":"Q{}line",as:"?NA",slot:"11",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}line"},{N:"let",line:"984","var":"Q{}allow-empty",as:"?AB",slot:"12",flags:"e",C:[{N:"vc",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}allow-empty"}]},{N:"str",val:"true"}]},{N:"let",line:"986","var":"Q{}ns",as:"?FM k[AS] v[1AS]",slot:"13",flags:"e",C:[{N:"choose",C:[{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xpathDefaultNamespace"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]},{N:"let",line:"988","var":"Q{}collation",as:"?FM k[AS] v[?AS]",slot:"14",flags:"e",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"defaultCollation"},{N:"first",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]}]}]}]},{N:"let",line:"989","var":"Q{}backward-compatibility",as:"1AB",slot:"15",flags:"e",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}BC"}]},{N:"let",line:"991","var":"Q{}checkType",as:"?AS",slot:"16",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|checkType",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|checkType",C:[{N:"data",diag:"3|0|XTTE0570|checkType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}checkType"}]}]}]},{N:"let",line:"999","var":"Q{}namespaces",slot:"17",flags:"e",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"namespaces.xsl",line:"65","var":"Q{}ns",as:"?NA",slot:"18",C:[{N:"lastOf",C:[{N:"slash",simple:"2",C:[{N:"slash",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"999",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"choose",line:"72",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"18"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespaces"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize", +C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"varRef",name:"Q{}ns",slot:"18"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"19",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"20",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"19"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef", +name:"Q{}uri",slot:"20"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"68"},{N:"varRef",name:"Q{}prefix",slot:"19"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"20"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]}]},{N:"let",line:"1006","var":"Q{}context-type",as:"?FM",slot:"21",flags:"e",C:[{N:"choose",C:[{N:"and", +op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"select"}]}]},{N:"varRef",name:"Q{}focus-context-type",slot:"6"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"5"}]},{N:"let",line:"1011","var":"Q{}temp",as:"1",slot:"22",C:[{N:"check",line:"1042",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"try", +flags:"r",C:[{N:"applyT",line:"1044",mode:"Q{}exportNS",bSlot:"69",C:[{N:"ifCall",role:"select",line:"1042",name:"Q{http://saxon.sf.net/}compile-XPath",type:"1",C:[{N:"check",card:"1",diag:"0|0||saxon:compile-XPath",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||saxon:compile-XPath",C:[{N:"cvUntyped",to:"AS",diag:"0|0||saxon:compile-XPath",C:[{N:"data",diag:"0|0||saxon:compile-XPath",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"language"},{N:"str",val:"XSLT"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"html5Mode"},{N:"varRef",name:"Q{}defaultHTML5",slot:"8"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backwardCompatibility"},{N:"varRef",name:"Q{}backward-compatibility", +slot:"15"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"inCatch"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}catch"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"inTry"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot", +type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}try"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"allowEmpty"},{N:"varRef",name:"Q{}allow-empty",slot:"12"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"globals"},{N:"varRef",name:"Q{}globals",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"globalFunctions"},{N:"varRef",name:"Q{}global.functions",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"accumulators"},{N:"varRef",name:"Q{}accumulators",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"slotMap"},{N:"varRef",name:"Q{}slotMap",slot:"9"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"contextType"}, +{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}role",slot:"10"}]}]},{N:"str",val:"match"}]},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"70"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"21"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"nsAttribute"},{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}nsAttribute",slot:"7"}]}]}]},{N:"map",size:"2",C:[{N:"str", +val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}ns",slot:"13"},{N:"varRef",name:"Q{}namespaces",slot:"17"},{N:"varRef",name:"Q{}collation",slot:"14"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"check",card:"?",diag:"0|2||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPTY0020", +C:[{N:"fn",line:"1052",name:"error",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultedSelect"}]},{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"},{N:"true"},{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]},{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in XPath"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"71",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"str",val:" {"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"1061",C:[{N:"elem",name:"ex:empty",nsuri:"http://ns.saxonica.com/xslt/export",C:[{N:"empty"}]},{N:"fn",line:"1064",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error", +C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in XPath"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"72",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"str",val:" {"}]}, +{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]}]},{N:"let",line:"1069","var":"Q{}temp",as:"1NE", +slot:"23",C:[{N:"choose",line:"1070",C:[{N:"instance",line:"1071",of:"1FM",C:[{N:"varRef",name:"Q{}temp",slot:"22"}]},{N:"let",line:"1072","var":"Q{}type",slot:"24",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"22"},{N:"str",val:"type"}]},{N:"let",line:"1076","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"25",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}type",slot:"24"}]}]}]},{N:"str",val:" "}]}, +{N:"treat",line:"1073",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"22"},{N:"str",val:"expr"}]},{N:"copy",line:"1074",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"1075",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"1076",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"25"}]},{N:"slash",line:"1077",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"1082",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"varRef",name:"Q{}temp",slot:"22"}]}]},{N:"sequence",line:"1086",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultedSelect"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"check", +card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"N"}]}]},{N:"fn",name:"not",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef", +name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]},{N:"str",val:""}]}]}]}]},{N:"fn",line:"1089",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"The required item type of the context item for xpath '"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"' is node(), but the supplied expression has type "}]},{N:"ufCall", +name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"73",C:[{N:"check",card:"1",diag:"0|0||t:displayType",C:[{N:"varRef",name:"Q{}context-type",slot:"21"}]}]}]}]}]},{N:"let",line:"1091","var":"Q{}temp",as:"1NE",slot:"26",C:[{N:"choose",line:"1092",C:[{N:"choose",line:"1093",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]}, +{N:"str",val:""}]},{N:"ufCall",name:"Q{MyFunctions}requiresNodeTest",tailCall:"false",bSlot:"74",C:[{N:"varRef",name:"Q{}temp",slot:"23"}]},{N:"true"},{N:"false"}]},{N:"elem",line:"1094",name:"slash",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"simple",flags:"l",C:[{N:"str",val:"1"}]},{N:"docOrder",line:"1095",intra:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"23"},{N:"sequence", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"elem",line:"1096",name:"treat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"str",val:"N"}]},{N:"att",name:"diag",flags:"l",C:[{N:"str",val:"13|0|XTTE0510|"}]},{N:"elem",line:"1097",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"empty"}]}]}]},{N:"varRef",line:"1099", +name:"Q{}temp",slot:"23"}]}]},{N:"true"},{N:"varRef",line:"1103",name:"Q{}temp",slot:"23"}]},{N:"let",line:"1107","var":"Q{}temp",as:"1NE",slot:"27",C:[{N:"choose",line:"1112",C:[{N:"and",line:"1111",op:"and",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"^(\\+|\\*)N"},{N:"str",val:""}]},{N:"fn",name:"empty", +C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"union",op:"|",C:[{N:"union",op:"|",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE u[NE u[NE u[NE u[NE u[NE n*:sequence,NE n*:axis],NE n*:filter],NE n*:except],NE n*:for],NE n*:forEach],NE n*:varRef],NE n*:gVarRef],NE n*:copyOf]"},{N:"filter",flags:"",C:[{N:"axis",name:"self",nodeTest:"NE n*:fn"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"reverse"}]}]}]},{N:"axis",name:"self",nodeTest:"NE n*:ufCall"}]}]}]}]}, +{N:"elem",line:"1115",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1116",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}temp",slot:"26"}]}]},{N:"and",line:"1119",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}slash"}]}]}, +{N:"fn",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"attVal",name:"Q{}type"}]}]}]},{N:"str",val:"item("}]}]},{N:"elem",line:"1120",name:"homCheck",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1121",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}, +{N:"varRef",name:"Q{}temp",slot:"26"}]}]},{N:"true"},{N:"varRef",line:"1125",name:"Q{}temp",slot:"26"}]},{N:"let",line:"1129","var":"Q{}temp",as:"1NE",slot:"28",C:[{N:"choose",line:"1130",C:[{N:"varRef",line:"1131",name:"Q{}checkType",slot:"16"},{N:"treat",line:"1132",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"75",C:[{N:"varRef",name:"Q{}temp",slot:"27"},{N:"ufCall",name:"Q{MyTypes}marshalType", +tailCall:"false",bSlot:"76",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"varRef",name:"Q{}checkType",slot:"16"}]}]},{N:"check",card:"1",diag:"0|2||f:typeCheck",C:[{N:"convert",line:"992",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|diagnostic",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|diagnostic",C:[{N:"data",diag:"3|0|XTTE0570|diagnostic",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}diagnostic"}]}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"1135",name:"Q{}temp",slot:"27"}]},{N:"choose", +line:"1139",C:[{N:"fn",line:"1140",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"axis",name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"current"}]}]}]},{N:"choose",line:"1141",C:[{N:"fn",line:"1142",name:"empty",C:[{N:"varRef",name:"Q{}context-type",slot:"21"}]},{N:"elem",line:"1143",name:"error",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"code",flags:"l",C:[{N:"str",val:"XTDE1360"}]},{N:"att",name:"message",flags:"l",C:[{N:"str",val:"context absent for current()"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"1144",name:"Q{}role",slot:"10"}]}]},{N:"true"},{N:"elem",line:"1152",name:"let",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"var",flags:"l",C:[{N:"str",val:"fn-current"}]},{N:"att", +name:"slot",flags:"l",C:[{N:"str",val:"199"}]},{N:"axis",line:"1153",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"1153",name:"Q{}role",slot:"10"},{N:"varRef",line:"1153",name:"Q{}line",slot:"11"},{N:"slash",line:"1153",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"elem",line:"1154",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"empty"}]},{N:"applyT",line:"1155",mode:"Q{}xpath-with-current", +bSlot:"77",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"28"}]}]}]}]},{N:"true"},{N:"forEach",line:"1171",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"copy",line:"1172",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"1173",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"10"},{N:"varRef",name:"Q{}line",slot:"11"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"167",rank:"1",minImp:"0", +slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}choose",flags:"s",line:"29",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}choose"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"30","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"31",as:"NE",diag:"3|0|XTTE0570|parts", +C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"35",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}choose",C:[{N:"sequence",role:"content",line:"36",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"78",C:[{N:"ufCall",line:"34",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"79",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b", +C:[{N:"filter",flags:"pb",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"compareToInt",op:"eq",val:"0",C:[{N:"arith",op:"mod",calc:"i%i",C:[{N:"fn",name:"position"},{N:"int",val:"2"}]}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"80",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", +C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"37",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"37",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"248",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup",flags:"s",line:"117",module:"grouping.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"118",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"81"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"119",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"1"}]}]}]},{N:"copy",line:"121",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup",C:[{N:"let",role:"content",line:"122","var":"Q{}population",as:"1NE",slot:"2",C:[{N:"treat",line:"123",as:"NE",diag:"3|0|XTTE0570|population",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|population",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let", +line:"125","var":"Q{}populationType",slot:"3",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"82",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}population",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"let",line:"127","var":"Q{}body",as:"+NE",slot:"4",C:[{N:"treat",line:"128",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check", +card:"+",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"129",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320", +name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"grouping.xsl",line:"126",name:"Q{}populationType",slot:"3"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]},{N:"sequence",line:"133", +C:[{N:"att",name:"sType",flags:"l",C:[{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"grouping.xsl",line:"133",card:"1", +diag:"0|0||t:withOccurrenceIndicator",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"data",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"content"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}, +{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"axis",line:"134",name:"attribute",nodeTest:"NA"},{N:"choose",line:"135",C:[{N:"and",line:"136",op:"and",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"5",C:[{N:"lookup",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"grouping.xsl",line:"136",name:"Q{}populationType",slot:"3"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", +C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]}]}]}]},{N:"str",val:"N"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}population",slot:"2"},{N:"axis",name:"self",nodeTest:"NE n*:slash"}]}]}]},{N:"elem",line:"137",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"slash",line:"138",simple:"1",C:[{N:"varRef",name:"Q{}population",slot:"2"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"138",name:"Q{}population",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"142",name:"Q{}population",slot:"2"}]},{N:"varRef",line:"145",name:"Q{}body",slot:"4"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"293",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}valueOf",flags:"s",line:"866",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}valueOf"}, +{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"866",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"string-join"}]}]}]},{N:"elem",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"867",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"copy",line:"868",flags:"inl",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}valueOf",C:[{N:"sequence",role:"content",line:"869",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"870",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"272",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}MAP",flags:"s",line:"49",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}MAP"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50", +C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"83"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"51",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map}"}, +{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"target"}]}]},{N:"str",val:"JS"}]},{N:"str",val:"_new"},{N:"true"},{N:"str",val:"merge"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_MAP",bSlot:"84"}]},{N:"axis",line:"52",name:"attribute",nodeTest:"NA"},{N:"let",line:"53","var":"Q{}entries",as:"*NE", +slot:"1",C:[{N:"treat",line:"54",as:"NE",diag:"3|0|XTTE0570|entries",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"sequence",line:"56",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"85",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"varRef",name:"Q{}entries",slot:"1"}]},{N:"gVarRef",name:"Q{}ST.MULTIPLE_MAP",bSlot:"86"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck", +C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg938941445",bSlot:"87"}]}]}]}]}]},{N:"elem",line:"57",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map}"},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"target"}]}]},{N:"str",val:"JS"}]},{N:"str",val:"_new"},{N:"true"},{N:"str",val:"merge"}]}]}]},{N:"elem",line:"58",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"59",C:[{N:"elem",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]}, +{N:"att",name:"type",flags:"l",C:[{N:"str",val:"map()"}]},{N:"elem",line:"60",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"duplicates"}]}]}]},{N:"elem",line:"61",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:"reject"}]}]}]}]},{N:"elem",line:"63",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"map()"}]},{N:"elem",line:"64",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"duplicates-error-code"}]}]}]},{N:"elem",line:"65",name:"str",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:"XTDE3365"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"178",part:"1",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty",flags:"s",line:"202",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"204","var":"Q{}source",as:"1NE",slot:"1",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"206",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"207",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef", +name:"Q{}source",slot:"1"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"278",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}copyOf",flags:"s",line:"410",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}copyOf"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"411","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"412",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"414",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}copyOf",C:[{N:"sequence",role:"content",line:"415",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"axis", +name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"294",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fn",flags:"s",line:"875",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"875",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"string-join"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"876","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"877",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"879",C:[{N:"fn",line:"880",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"elem",line:"881",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"882",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}name]"},{N:"slash",simple:"1",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]}, +{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"true"},{N:"copy",line:"886",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}fn",C:[{N:"sequence",role:"content",line:"887",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"888",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"290",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF",flags:"s",as:"1NE",line:"812", +module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"813",card:"1",diag:'7|0|XTTE0505|match="ex:PARAMDEF" mode="process-xpath"',C:[{N:"sequence",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select", +size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"814",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied", +slot:"1"}]}]}]}]}]},{N:"param",line:"815",name:"Q{}version",slot:"2",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"30"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|version",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"data",diag:"8|0|XTTE0590|version",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"let",line:"818","var":"Q{}init",as:"1NE",slot:"3",C:[{N:"treat",line:"819",as:"NE",diag:"3|0|XTTE0570|init",C:[{N:"check", +card:"1",diag:"3|0|XTTE0570|init",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"823",name:"param",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",line:"816",name:"Q{}no.slots",slot:"1"}]}]}, +{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"88"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, +{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"89"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]},{N:"str",val:"true"}]},{N:"str",val:"t"}]}]},{N:"fn",name:"string",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}, +{N:"str",val:"true"}]},{N:"str",val:"r"}]}]}]}]},{N:"applyT",line:"824",mode:"Q{}attribute-sans-prefix",bSlot:"90",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"axis",line:"825",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"825", +name:"attribute",nodeTest:"NA nQ{}module"},{N:"let",line:"828","var":"Q{}supplied",as:"1NE",slot:"4",C:[{N:"elem",line:"829",name:"supplied",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"conversion"}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",line:"816",name:"Q{}no.slots",slot:"1"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"91"}]}]}]},{N:"choose", +line:"831",C:[{N:"fn",line:"832",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"834","var":"Q{}required",slot:"5",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"92",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]}, +{N:"sequence",line:"841",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"93",C:[{N:"varRef",name:"Q{}init",slot:"3"},{N:"varRef",name:"Q{}required",slot:"5"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"94"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"choose",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"841", +C:[{N:"compareToInt",op:"eq",val:"20",C:[{N:"varRef",name:"Q{}version",slot:"2"}]},{N:"str",val:"XTTE0600"},{N:"true"},{N:"str",val:"XTTE0570"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"841",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:param name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]},{N:"ufCall",line:"844",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"95",C:[{N:"varRef",name:"Q{}supplied",slot:"4"},{N:"varRef",name:"Q{}required",slot:"5"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"96"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"1"},{N:"str",val:"XTTE0590"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"844",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:param name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"847",C:[{N:"varRef",name:"Q{}init",slot:"3"},{N:"varRef",name:"Q{}supplied",slot:"4"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"299",rank:"1",minImp:"0",slots:"18",matches:"NE nQ{http://ns.saxonica.com/xslt/export}pattern", +flags:"s",as:"*NE",line:"1297",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1299",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"97"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1300",name:"Q{}local.variables",slot:"1",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"1301",name:"Q{}globals",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"param",line:"1302",name:"Q{}global.functions",slot:"3",flags:"t",C:[{N:"map",role:"select", +size:"0"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"1303",name:"Q{}accumulators",slot:"4",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"1304",name:"Q{}context-type",slot:"5",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"98"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param", +line:"1305",name:"Q{}nsAttribute",slot:"6",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"supplied",slot:"6"}]}]}]},{N:"param",line:"1306",name:"Q{}defaultHTML5",slot:"7",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB", +diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"let",line:"1307","var":"Q{}priority",as:"*NA",slot:"8",flags:"e",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"}]},{N:"let",line:"1309","var":"Q{}slotMap",as:"1FM v[?]",slot:"9",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",as:"FM",diag:"0|0||map:keys",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1A"},{N:"subscript",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:"21|0||$local.variables",C:[{N:"check",card:"1", +diag:"21|0||$local.variables",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]},{N:"arrayBlock",C:[{N:"dot",type:"1A"}]}]},{N:"int",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"1310","var":"Q{}role",as:"?NA",slot:"10",flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"let",line:"1312","var":"Q{}ns",as:"?FM k[AS] v[1AS]",slot:"11",flags:"e",C:[{N:"choose", +C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xpathDefaultNamespace"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]},{N:"let",line:"1314","var":"Q{}xpath",as:"?NA",slot:"12",flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"},{N:"let",line:"1329","var":"Q{}temp",as:"1",slot:"13",C:[{N:"check", +line:"1359",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"try",flags:"r",C:[{N:"applyT",mode:"Q{}exportNS",bSlot:"99",C:[{N:"ifCall",role:"select",name:"Q{http://saxon.sf.net/}compile-XPath",type:"1",C:[{N:"check",card:"1",diag:"0|0||saxon:compile-XPath",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||saxon:compile-XPath",C:[{N:"cvUntyped",to:"AS",diag:"0|0||saxon:compile-XPath",C:[{N:"data",diag:"0|0||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}xpath",slot:"12"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"literal",count:"2",C:[{N:"map",size:"1",C:[{N:"str",val:"language"},{N:"str",val:"XSLT"}]},{N:"map",size:"1",C:[{N:"str",val:"type"},{N:"str",val:"pattern"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"splitPattern"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}priority",slot:"8"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"globals"},{N:"varRef",name:"Q{}globals",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"globalFunctions"},{N:"varRef",name:"Q{}global.functions",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"accumulators"},{N:"varRef",name:"Q{}accumulators",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"nsAttribute"}, +{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}nsAttribute",slot:"6"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"html5Mode"},{N:"varRef",name:"Q{}defaultHTML5",slot:"7"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"slotMap"},{N:"varRef",name:"Q{}slotMap",slot:"9"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"contextType"},{N:"choose", +C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}role",slot:"10"}]}]},{N:"str",val:"match"}]},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"100"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"5"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}ns",slot:"11"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, +{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"check",card:"?",diag:"0|2||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"catch",errors:"*",C:[{N:"fn",line:"1368",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"choose",line:"1366",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"local-name-from-QName",C:[{N:"treat",as:"AQ", +diag:"0|0||fn:local-name-from-QName",C:[{N:"check",card:"?",diag:"0|0||fn:local-name-from-QName",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:local-name-from-QName",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]},{N:"str",val:"XPST0003"}]},{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0340"},{N:"true"},{N:"data",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in pattern"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"101",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}pattern",flags:"a"}]}]},{N:"str",val:" {"}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall", +name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"let",line:"1373","var":"Q{}temp",as:"1NE",slot:"14",C:[{N:"choose",line:"1374",C:[{N:"instance",line:"1375",of:"1FM",C:[{N:"varRef",name:"Q{}temp",slot:"13"}]},{N:"let",line:"1376","var":"Q{}type",slot:"15",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"13"},{N:"str",val:"type"}]},{N:"let",line:"1382","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"16",flags:"l",C:[{N:"fn", +name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}type",slot:"15"}]}]}]},{N:"str",val:" "}]},{N:"treat",line:"1377",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"13"},{N:"str",val:"expr"}]},{N:"copy",line:"1378",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"1379",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"1382",name:"type",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"16"}]},{N:"slash",line:"1384",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"1389",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"varRef",name:"Q{}temp",slot:"13"}]}]},{N:"let",line:"1393","var":"Q{}attr",as:"?NA",slot:"17",C:[{N:"varRef", +name:"Q{}role",slot:"10"},{N:"forEach",line:"1401",C:[{N:"choose",line:"1399",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"14"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}UnionExprP"}]}]},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"14"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"true"},{N:"varRef",name:"Q{}temp",slot:"14"}]},{N:"choose",line:"1410",C:[{N:"fn",line:"1411",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis", +name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"current"}]}]}]},{N:"elem",line:"1412",name:"p.withCurrent",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1413",C:[{N:"varRef",name:"Q{}attr",slot:"17"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"applyT",line:"1414",mode:"Q{}pattern-with-current", +bSlot:"102",C:[{N:"dot",role:"select",type:"1NE"}]}]}]},{N:"true"},{N:"copy",line:"1418",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"1419",C:[{N:"varRef",name:"Q{}attr",slot:"17"},{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"267",rank:"4",minImp:"0",slots:"12",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accRule",flags:"s",line:"95",module:"streaming.xsl",C:[{N:"p.nodeTest", +role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accRule"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AS",slot:"2",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck", +C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg159823385",bSlot:"103"}]}]}]}]},{N:"sequence",line:"96",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"97",name:"Q{}valueType",slot:"1",flags:"ti",as:"1AS",C:[{N:"check", +role:"conversion",card:"1",diag:"8|0|XTTE0590|valueType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|valueType",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|valueType",C:[{N:"data",diag:"8|0|XTTE0590|valueType",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"98","var":"Q{}this",as:"1",slot:"3",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}accRule",flags:"a"},{N:"let",line:"135","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1FM k[AS] v[+]",slot:"4",flags:"l", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"Q{}value"},{N:"sequence",C:[{N:"varRef",name:"Q{}this",slot:"3"},{N:"int",val:"0"},{N:"varRef",name:"Q{}valueType",slot:"1"}]}]},{N:"let",line:"99","var":"Q{}priority",as:"?NA",slot:"5",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"},{N:"let",line:"117","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"6",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}priority", +slot:"5"}]},{N:"let",line:"100","var":"Q{}attributes",as:"*NA",slot:"7",C:[{N:"treat",line:"101",as:"NA",diag:"3|0|XTTE0570|attributes",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA nQ{}priority]"}]}]},{N:"let",line:"104","var":"Q{}action",as:"*NE",slot:"8",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"let",line:"106","var":"Q{}typeAsMap",slot:"9",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"104", +C:[{N:"varRef",name:"Q{}valueType",slot:"1"}]},{N:"let",line:"107","var":"Q{}patterns",as:"+NE",slot:"10",C:[{N:"treat",line:"108",as:"NE",diag:"3|0|XTTE0570|patterns",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|patterns",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]}]}]}]},{N:"forEach",line:"112",C:[{N:"varRef", +name:"Q{}patterns",slot:"10"},{N:"elem",line:"113",name:"accRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"valueType",flags:"l",C:[{N:"varRef",name:"Q{}valueType",slot:"1"}]},{N:"varRef",line:"114",name:"Q{}attributes",slot:"7"},{N:"att",line:"115",name:"prio",flags:"l",C:[{N:"fn",line:"116",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"varRef",line:"117",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"},{N:"cast", +line:"118",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}priority",slot:"5"}]}]}]}]},{N:"true"},{N:"data",line:"121",C:[{N:"mergeAdj",C:[{N:"applyT",mode:"Q{}pattern-priority",bSlot:"105",C:[{N:"dot",role:"select",type:"1NE"}]}]}]}]}]},{N:"str",val:""}]}]},{N:"copy",line:"125",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"126",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"127",name:"role",flags:"l",C:[{N:"str", +val:"match"}]},{N:"axis",line:"128",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"130","var":"Q{}processedAction",as:"1NE",slot:"11",C:[{N:"treat",line:"131",as:"NE",diag:"3|0|XTTE0570|processedAction",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processedAction",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}action",slot:"8"},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"streaming.xsl",line:"133",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"106",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM k[AS] v[+]",C:[{N:"varRef",line:"135",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"4"}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"int",val:"1"}]}]}]}]},{N:"ufCall",line:"142",name:"Q{MyFunctions}typeCheck", +tailCall:"false",bSlot:"107",C:[{N:"varRef",name:"Q{}processedAction",slot:"11"},{N:"varRef",name:"Q{}typeAsMap",slot:"9"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"2"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"223",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}constructSimpleContent",flags:"s",line:"362",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}constructSimpleContent"}, +{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"363","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"364",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"366",C:[{N:"fn",line:"367",name:"matches",C:[{N:"check",card:"?",diag:"0|0||fn:matches",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]},{N:"str",val:"^xs:string|^[1+?*]AS"},{N:"str",val:""}]},{N:"varRef",line:"368",name:"Q{}parts", +slot:"0"},{N:"true"},{N:"let",line:"371","var":"Q{}on-empty",as:"*NE n*:onEmpty",slot:"1",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"axis",name:"child",nodeTest:"NE n*:onEmpty"}]}]}]},{N:"let",line:"379","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*NE n*:onEmpty",slot:"2",flags:"l",C:[{N:"docOrder",intra:"0",C:[{N:"varRef", +name:"Q{}on-empty",slot:"1"}]},{N:"sequence",line:"372",C:[{N:"elem",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_STRING",bSlot:"108"}]},{N:"forEach",line:"374",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"elem",line:"375",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"109"}]}, +{N:"elem",line:"376",name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"copy",line:"377",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"378",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ITEM",bSlot:"110"}]},{N:"axis",line:"379",name:"attribute",nodeTest:"NA"},{N:"except",line:"379",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"}]}]}]}]}]}]}]},{N:"elem",line:"384", +name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"111"}]},{N:"elem",line:"385",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]},{N:"varRef",line:"388",name:"Q{}on-empty",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"255",rank:"1",minImp:"0",slots:"11",matches:"NE nQ{http://ns.saxonica.com/xslt/export}merge", +flags:"s",line:"58",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}merge"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"59","var":"Q{}sources",as:"*NE",slot:"0",C:[{N:"treat",line:"60",as:"NE",diag:"3|0|XTTE0570|sources",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc"}]}]},{N:"let",line:"64","var":"Q{}keyTypes",as:"*FA",slot:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}sources",slot:"0"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}_from-sequence",type:"1FA",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"112",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]},{N:"sequence",line:"74",C:[{N:"let","var":"Q{}h",slot:"2",C:[{N:"first",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1FA v[1FM]",slot:"3",flags:"l",C:[{N:"treat",as:"FA v[1FM]",diag:"0|0||f:comparableMergeKeys",C:[{N:"check",card:"1",diag:"0|0||f:comparableMergeKeys", +C:[{N:"varRef",name:"Q{}h",slot:"2"}]}]},{N:"choose",C:[{N:"some","var":"Q{}t",slot:"4",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"}]},{N:"fn",name:"not",C:[{N:"let","var":"Q{}k1",as:"1FA v[1FM]",slot:"5",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"},{N:"let","var":"Q{}k2",as:"1FA v[1FM]",slot:"6",C:[{N:"treat",as:"FA v[1FM]",diag:"0|1||f:comparableMergeKeys",C:[{N:"varRef",name:"Q{}t",slot:"4"}]},{N:"and",line:"100",op:"and",C:[{N:"vc",op:"eq", +onEmpty:"0",comp:"CAVC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k2",slot:"6"}]}]},{N:"every","var":"Q{}k",slot:"7",C:[{N:"to",C:[{N:"int",val:"1"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"5"}]}]},{N:"let","var":"Q{}a",slot:"8",C:[{N:"lookup", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k1",slot:"5"},{N:"varRef",name:"Q{}k",slot:"7"}]},{N:"str",val:"p"}]},{N:"let","var":"Q{}b",slot:"9",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k2",slot:"6"},{N:"varRef",name:"Q{}k",slot:"7"}]},{N:"str",val:"p"}]},{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}a",slot:"8"}]},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}a",slot:"8"}]}]}]}]},{N:"int",val:"1"},{N:"int", +val:"2"}]},{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}a",slot:"8"}]}, +{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"113",C:[{N:"str",val:"XTTE2230"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Merge key types "},{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"},{N:"forEach",C:[{N:"lookupAll",C:[{N:"dot",type:"1FA"}]},{N:"ufCall",name:"Q{MyTypes}displayType", +tailCall:"false",bSlot:"114",C:[{N:"treat",as:"FM",diag:"0|0||t:displayType",C:[{N:"dot"}]}]}]}]},{N:"str",val:","}]}]},{N:"str",val:" are not comparable"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}merge",flags:"a"}]}]}]}]},{N:"let",line:"76","var":"Q{}parts",as:"*NE",slot:"10",C:[{N:"treat",line:"77",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE d[NE,NE n*:mergeSrc]"},{N:"withParam",name:"Q{}context-type", +flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"merging.xsl",line:"78",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"115",C:[{N:"check",line:"63",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"first",C:[{N:"varRef",name:"Q{}sources",slot:"0"}]},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]},{N:"copy",line:"81",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}merge", +C:[{N:"sequence",role:"content",line:"82",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"action"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]}]},{N:"varRef",name:"Q{}sources",slot:"0"},{N:"varRef",name:"Q{}parts",slot:"10"}]}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"1.0",seq:"296",rank:"3",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}convert",flags:"s",line:"905",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}convert"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",op:"eq", +onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}to"}]},{N:"str",val:"xs:string"}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}data"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"906","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"907",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}data"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"choose",line:"909",C:[{N:"fn",line:"910",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"self", +nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"varRef",line:"911",name:"Q{}temp",slot:"0"},{N:"true"},{N:"copy",line:"914",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}convert",C:[{N:"sequence",role:"content",line:"915",C:[{N:"att",name:"type",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}to"}]},{N:"str",val:"*"}]}]},{N:"axis",line:"916",name:"attribute",nodeTest:"NA"},{N:"elem",line:"917",name:"data", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"choose",line:"918",C:[{N:"fn",line:"919",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"*NT"}]},{N:"elem",line:"920",name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"921",name:"Q{}temp",slot:"0"}]},{N:"true"}, +{N:"varRef",line:"925",name:"Q{}temp",slot:"0"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"295",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}convert",flags:"s",line:"898",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}convert"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"898",name:"attribute",nodeTest:"NA nQ{}to"}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"899",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}convert",C:[{N:"sequence",role:"content",line:"900",C:[{N:"att",name:"type",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}to"}]},{N:"str",val:"*"}]}]},{N:"axis",line:"901",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"902",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"183",part:"1",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}catch",flags:"s",line:"279",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}catch"},{N:"let",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"281","var":"Q{}parts",as:"*NE",slot:"1",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"285",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"286",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att", +line:"287",name:"sType",flags:"l",C:[{N:"ufCall",line:"284",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"116",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"117",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"118",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"288",name:"Q{}parts",slot:"1"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"274",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}package",flags:"s",line:"117",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}package"},{N:"copy", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"118",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}package",C:[{N:"sequence",role:"content",line:"119",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"177","var":"Q{}accumulators",as:"1FM v[1AS]",slot:"0",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"string",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"str",val:"*"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, +{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"187","var":"Q{}global.functions",as:"1FM",slot:"1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}name"}, +{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"body"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"194", +"var":"Q{}typed-globals",as:"*NE",slot:"2",C:[{N:"treat",line:"196",as:"NE",diag:"3|0|XTTE0570|typed-globals",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalVariable,NE nQ{http://ns.saxonica.com/xslt/export}globalParam]"}]},{N:"withParam",name:"Q{}globals",flags:"t",as:"1FM k[AZ] v[1NE]",C:[{N:"ifCall",line:"200",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]}]}, +{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str", +val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}global.functions",flags:"t",as:"1FM",C:[{N:"varRef",line:"201",name:"Q{}global.functions",slot:"1"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"1FM v[1AS]",C:[{N:"varRef",line:"203",name:"Q{}accumulators",slot:"0"}]}]}]},{N:"sequence",line:"207",C:[{N:"choose",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}options",bSlot:"119"},{N:"str",val:"traceProgress"}]},{N:"message",line:"208",C:[{N:"sequence",role:"select", +C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}typed-globals",slot:"2"}]},{N:"str",val:"global variables/params"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"221",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"int",val:"0"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM k[* n~error] v[** n~error]",C:[{N:"map", +size:"0"}]},{N:"withParam",name:"Q{}globals",flags:"t",as:"1FM v[1]",C:[{N:"ifCall",line:"215",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}typed-globals",slot:"2"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"dot", +type:"1NE"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}global.functions",flags:"t",as:"1FM",C:[{N:"varRef",line:"229",name:"Q{}global.functions",slot:"1"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"1FM v[1AS]",C:[{N:"varRef",line:"231",name:"Q{}accumulators",slot:"0"}]},{N:"withParam",name:"Q{}named-template-params",flags:"t",as:"1FM v[1FM v[1A]]",C:[{N:"ifCall", +line:"212",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE n*:template"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"slash", +simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"}, +{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}version",flags:"t",as:"1ADI",C:[{N:"check",line:"233",card:"1",diag:"8|0|XTTE0590|version",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"data",diag:"8|0|XTTE0590|version",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]}]},{N:"choose", +line:"235",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"120"}]}]},{N:"fn",line:"238",name:"error",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"121"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"XPath compilation stage failed with "},{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"122"}]}]}]}, +{N:"str",val:" errors - see message console for details"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"297",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj",flags:"s",line:"934",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"935","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"936",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"938",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj",C:[{N:"sequence",role:"content",line:"939",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}sType"}]},{N:"choose",line:"940",C:[{N:"fn",line:"941",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"}]}]},{N:"varRef",line:"942",name:"Q{}temp",slot:"0"},{N:"fn",line:"944",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"0"}, +{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"item("}]},{N:"elem",line:"945",name:"homCheck",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"946",name:"Q{}temp",slot:"0"}]},{N:"true"},{N:"varRef",line:"950",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"193",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}evaluate",flags:"s",line:"88",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", +test:"NE nQ{http://ns.saxonica.com/xslt/export}evaluate"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"88",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"89",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"process-xpath ex:evaluate @ex:asJ = "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"let",line:"91","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"92",as:"NE",diag:"3|0|XTTE0570|temp", +C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"95",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"123",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"ufCall",line:"90",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"124",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg519751097",bSlot:"125"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"280",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}empty",flags:"s",line:"436",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}empty"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"437",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}empty",C:[{N:"sequence",role:"content",line:"438",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"126"}]},{N:"axis",line:"439",name:"attribute",nodeTest:"NA"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"286",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}first",flags:"s",line:"610",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", +test:"NE nQ{http://ns.saxonica.com/xslt/export}first"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"610",name:"attribute",nodeTest:"NA nQ{}BC"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"611","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"612",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"614",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}first",C:[{N:"sequence",role:"content",line:"615",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}BC]"},{N:"att",line:"617",name:"sType",flags:"l",C:[{N:"ufCall", +name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"127",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"617",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"128",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"?"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"618",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"269",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}key",flags:"s",line:"46",module:"key.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"47","var":"Q{}match",as:"*NE",slot:"0",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child", +nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"match"}]}]},{N:"let",line:"48","var":"Q{}processed-match",as:"1NE",slot:"1",C:[{N:"treat",line:"49",as:"NE",diag:"3|0|XTTE0570|processed-match",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processed-match",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}match",slot:"0"}]}]}]},{N:"copy",line:"60",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}key",C:[{N:"sequence",role:"content", +line:"61",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"62",name:"flags",flags:"l",C:[{N:"convert",line:"54",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|flags",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|flags",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}flags"},{N:"choose",line:"55",C:[{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind", +tailCall:"false",bSlot:"129",C:[{N:"varRef",name:"Q{}processed-match",slot:"1"},{N:"str",val:"NA"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"a"}]}]},{N:"choose",line:"56",C:[{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"false",bSlot:"130",C:[{N:"varRef",name:"Q{}processed-match",slot:"1"},{N:"str",val:"NN"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"n"}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]},{N:"varRef",line:"63",name:"Q{}processed-match",slot:"1"},{N:"applyT",line:"64",flags:"c", +bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}match",slot:"0"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"178",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty",flags:"s",line:"202",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"203","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"204",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"206",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"207",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}, +{N:"varRef",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"279",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}copy",flags:"s",line:"419",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}copy"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"420",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"131"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"426",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"132",C:[{N:"str",val:"XTTE0945"}, +{N:"str",val:"No context item for xsl:copy"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}copy",flags:"a"}]}]},{N:"let",line:"427","var":"Q{}source",as:"1NE",slot:"1",C:[{N:"treat",line:"428",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"430",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}copy",C:[{N:"sequence",role:"content", +line:"431",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"133",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}context-type",slot:"0"},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"134"}]}]}]}]},{N:"axis",line:"432",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"432",name:"Q{}source",slot:"1"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"196",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function", +flags:"s",line:"178",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"178",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"179","var":"Q{}type",slot:"0",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"135",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"let",line:"180","var":"Q{}temp",as:"1NE",slot:"1",C:[{N:"treat",line:"181",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check", +card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"forEach",line:"185",C:[{N:"varRef",name:"Q{}temp",slot:"1"},{N:"copy",line:"186",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"189",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE n*:arg"},{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"136",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq", +comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"body"}]}]}]},{N:"treat",as:"FM",diag:"0|1||f:typeCheck",C:[{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"r"}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"137"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0780"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"callable-components.xsl",line:"189",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"function "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"()"}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"292",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function",flags:"s",line:"859",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"nextMatch",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"860",flags:"t",C:[{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"empty"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"197",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function",flags:"s",line:"194",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match", +test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"195",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables", +C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"196",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"copy",line:"202",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}function",C:[{N:"sequence",role:"content", +line:"203",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE n*:arg"},{N:"applyT",line:"204",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"body"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"207",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"axis", +name:"child",nodeTest:"NE n*:arg"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE n*:arg"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"fn",name:"string",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}, +{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"138"}]}]}]}]}]}]},{N:"varRef",name:"Q{}local.variables",slot:"0"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"arith",line:"208",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"1"},{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE n*:arg"}]}]}]},{N:"withParam",name:"Q{}context-type", +flags:"t",C:[{N:"empty"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"281",part:"2",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fork",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}fork"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"445","var":"Q{}parts",as:"*NE",slot:"10",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"449",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"10"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"139"}]},{N:"axis",line:"451",name:"attribute", +nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"11",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"140",C:[{N:"check",card:"+",diag:"0|0||t:commonType", +C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"141",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"12", +C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"142",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"11"}]},{N:"choose",line:"461",C:[{N:"every","var":"Q{}p",slot:"13",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"13"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"10"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"12"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"10"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE", +C:[{N:"sequence",role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"12"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"10"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"14",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}role"},{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"14"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall", +name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"143",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"11"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"10"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"164",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://ns.saxonica.com/xslt/export}iterate",flags:"s",line:"179",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"180",C:[{N:"param",name:"Q{}no.slots",slot:"0",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"181",name:"Q{}local.variables",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"182",name:"Q{}context-type",slot:"2",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"144"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"183",name:"Q{}focus-context-type",slot:"3",flags:"t", +as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"2"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"3"}]}]}]},{N:"copy",line:"184",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}iterate",C:[{N:"let",role:"content",line:"186","var":"Q{}for",as:"1NE",slot:"4",C:[{N:"treat",line:"187",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for", +C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"select"}]}]}]}]}]},{N:"let",line:"189","var":"Q{}bindings",as:"*NE nQ{http://ns.saxonica.com/xslt/export}for",slot:"5",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}for",slot:"4"},{N:"axis",name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}for"}]},{N:"let",line:"190","var":"Q{}new.local.variables", +as:"1FM",slot:"6",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"varRef",name:"Q{}bindings",slot:"5"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}for"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"str", +val:""}]}]}]},{N:"varRef",name:"Q{}local.variables",slot:"1"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"191","var":"Q{}no.slots",as:"1ADI",slot:"7",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"0"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}bindings",slot:"5"}]}]},{N:"let",line:"193","var":"Q{}params",as:"1NE",slot:"8",C:[{N:"treat",line:"194",as:"NE",diag:"3|0|XTTE0570|params", +C:[{N:"check",card:"1",diag:"3|0|XTTE0570|params",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"params"}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"varRef",line:"195",name:"Q{}no.slots",slot:"7"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"varRef",line:"196",name:"Q{}new.local.variables",slot:"6"}]}]}]}]},{N:"let", +line:"201","var":"Q{}body",as:"*NE",slot:"9",C:[{N:"treat",line:"202",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"select"},{N:"str",val:"params"}]},{N:"attVal",name:"Q{}role"}]}]}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef", +line:"203",name:"Q{}context-type",slot:"2"}]},{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"repetition.xsl",line:"199",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"145",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"4"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"205", +name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}params",slot:"8"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"fn",name:"string", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]},{N:"varRef",name:"Q{}new.local.variables",slot:"6"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"arith",line:"206",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"7"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}params",slot:"8"},{N:"axis",name:"child", +nodeTest:"NE"}]}]}]}]}]}]},{N:"sequence",line:"212",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",line:"211",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"146",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"147",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}body",slot:"9"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"action"},{N:"str",val:"on-completion"}]},{N:"attVal", +name:"Q{}role"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"148",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"213",name:"attribute",nodeTest:"NA nQ{}role"},{N:"varRef",line:"214",name:"Q{}for",slot:"4"},{N:"varRef",line:"214",name:"Q{}params",slot:"8"},{N:"varRef",line:"214",name:"Q{}body", +slot:"9"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"281",part:"1",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"445","var":"Q{}parts",as:"*NE",slot:"5",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"449",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"149"}]},{N:"axis",line:"451",name:"attribute", +nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"6",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"150",C:[{N:"check",card:"+",diag:"0|0||t:commonType", +C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"151",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"7", +C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"152",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"6"}]},{N:"choose",line:"461",C:[{N:"every","var":"Q{}p",slot:"8",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"8"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"7"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"5"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE", +C:[{N:"sequence",role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"7"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"5"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"9",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, +{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"9"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType", +tailCall:"false",bSlot:"153",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"6"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"5"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"289",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}VARDEF",flags:"s",as:"1NE",line:"784",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}VARDEF"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"785",card:"1",diag:'7|0|XTTE0505|match="ex:VARDEF" mode="process-xpath"',C:[{N:"sequence",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"786",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI", +diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"elem",line:"789",name:"let",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"var",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"varRef",line:"787",name:"Q{}no.slots",slot:"1"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"154"}]},{N:"applyT",line:"790",mode:"Q{}attribute-sans-prefix",bSlot:"155",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}, +{N:"axis",line:"791",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"791",name:"attribute",nodeTest:"NA nQ{}module"},{N:"let",line:"792","var":"Q{}temp",as:"*NE",slot:"2",C:[{N:"treat",line:"793",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"796",C:[{N:"fn",line:"797",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"sequence",line:"799",C:[{N:"att",name:"sType",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"ufCall",line:"803",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"156",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]},{N:"ufCall",line:"800",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"157",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"158"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0570"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"803",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:variable name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"806",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"},{N:"axis", +name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"varRef",name:"Q{}temp",slot:"2"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"273",rank:"2",minImp:"0",slots:"0",matches:"NT",flags:"s",line:"111", +module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NT"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"111",name:"not",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"empty",role:"action"}]}]}]},{N:"co",id:"147",binds:"22",C:[{N:"template",name:"Q{}strip-space",flags:"os", +as:"*NE",line:"1465",module:"XSLT-SEF-compiler.xsl",slots:"10",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1467",C:[{N:"param",name:"Q{}precedence-map",slot:"0",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]",diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map", +C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1468",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"choose",line:"1469",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]}]}, +{N:"let",line:"1470","var":"Q{}first",as:"?NE",slot:"2",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]}]},{N:"elem",line:"1532",name:"strip",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"forEach",line:"1533",C:[{N:"forEachGroup",line:"1472",algorithm:"by",C:[{N:"treat",role:"select", +as:"NE",diag:"3|0|XTTE0570|unique",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",C:[{N:"forEach",role:"select",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]},{N:"let",line:"1475","var":"Q{}isStrip",as:"1AB",slot:"3",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space"}]}, +{N:"let",line:"1479","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AS",slot:"4",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}isStrip",slot:"3"},{N:"str",val:"s"},{N:"true"},{N:"str",val:"p"}]},{N:"let",line:"1481","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"5",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}isStrip",slot:"3"}]},{N:"let",line:"1477","var":"Q{}precedence",as:"1ADI",slot:"6",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|precedence", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"0"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"1488","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"7",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}precedence",slot:"6"}]},{N:"forEach",line:"1478",C:[{N:"fn",name:"tokenize",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}elements"}]}]}]},{N:"compElem",line:"1479",C:[{N:"varRef",role:"name",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"4"},{N:"sequence",role:"content",line:"1480",C:[{N:"att",name:"elements",flags:"l",C:[{N:"dot",type:"1AS"}]},{N:"att",line:"1481",name:"strip",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"5"}]},{N:"att",line:"1487", +name:"test",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"NE"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"dot",type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:" n"},{N:"dot",type:"1AS"}]}]}]}]},{N:"att",line:"1488",name:"prec",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"7"}]},{N:"att",line:"1497",name:"priority",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"*", +C:[{N:"dot",type:"1AS"}]},{N:"dec",val:"-0.5"},{N:"fn",name:"contains",C:[{N:"dot",type:"1AS"},{N:"str",val:"*"}]},{N:"dec",val:"-0.25"},{N:"true"},{N:"int",val:"0"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sortKey",line:"1505",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}, +{N:"sortKey",line:"1506",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}priority"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",line:"1510",name:"Q{}elements"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"let",role:"content",line:"1512","var":"Q{}highest-precedence",as:"?AO",slot:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"currentGroup"},{N:"fn",name:"number",C:[{N:"attVal",name:"Q{}prec"}]}]}]},{N:"let",line:"1514","var":"Q{}active",slot:"9",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"gc",op:"=",card:"1:1",comp:"QUNC",C:[{N:"attVal",name:"Q{}prec"},{N:"varRef",name:"Q{}highest-precedence",slot:"8"}]}]},{N:"sequence",line:"1515",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists", +C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}active",slot:"9"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}s"}]}]}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}active",slot:"9"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p"}]}]}]}]},{N:"ufCall",line:"1518",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0270"},{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting strip and preserve space declarations for "},{N:"attVal",name:"Q{}elements"}]},{N:"str",val:" at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}first",slot:"2"}]}]}]},{N:"first",line:"1520",C:[{N:"varRef",name:"Q{}active",slot:"9"}]}]}]}]}]}]},{N:"attVal",role:"key",line:"1525",name:"Q{}prec"},{N:"sortKey",role:"sort",line:"1526",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal", +name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sort",role:"content",line:"1527",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1528",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number", +C:[{N:"attVal",name:"Q{}priority"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"copy",line:"1534",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1535",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}prec"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}code"}]}]}]}]}]}]}]}]}]},{N:"co",id:"148",binds:"22",C:[{N:"function",name:"Q{MyFunctions}wrongValue",line:"813",module:"normalize.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"+NA"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"816",C:[{N:"first",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]},{N:"str",val:" is not a permitted value for "}]},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"dot",type:"1NA"}]}]}]}]},{N:"co",id:"149",binds:"79 150",C:[{N:"template",name:"Q{}role-value-template",flags:"os",line:"177",module:"creating-new-nodes.xsl",slots:"2",C:[{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"178","var":"Q{}role",slot:"0",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"0"},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]},{N:"let",line:"180","var":"Q{}AVT",as:"1NE",slot:"1",C:[{N:"check",line:"181",card:"1",diag:"3|0|XTTE0570|AVT",C:[{N:"callT",name:"Q{}value-template",bSlot:"1"}]},{N:"forEach",line:"184",C:[{N:"varRef",name:"Q{}AVT",slot:"1"},{N:"copy",line:"185",flags:"cin", +sit:"1NE",C:[{N:"sequence",role:"content",line:"186",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"co",id:"151",binds:"1 61",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_MAP",as:"1AS",line:"63",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"63",name:"Q{MyTypes}unmarshalType",tailCall:"false", +bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_MAP",bSlot:"1"}]}]}]},{N:"co",id:"152",binds:"34",C:[{N:"function",name:"Q{MyFunctions}check-sort",line:"247",module:"lib.xsl",flags:"pU",as:"0",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"255",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"check",card:"0",diag:"5|0|XTTE0780|f:check-sort#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0", +C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:sort+ must be the first children of "},{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"153",binds:"",C:[{N:"function",name:"Q{MyFunctions}EQNameToQName",line:"166",module:"lib.xsl",flags:"pU",as:"1AQ",slots:"2",C:[{N:"arg",name:"Q{}eqname",as:"1AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"168","var":"Q{}parts",as:"*AS",slot:"1",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}eqname",slot:"0"},{N:"int",val:"3"}]},{N:"str",val:"\\}"},{N:"str",val:""}]},{N:"fn",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"fn",line:"169",name:"QName",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"1"}]},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"int",val:"2"}]}]}]}]}]}]},{N:"co", +id:"135",binds:"154 7 154 7",C:[{N:"mode",name:"Q{}pattern-priority",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"304",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"22",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"22",flags:"S", +C:[{N:"str",val:"0"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"3",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.genPos",flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.genPos"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"308",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent",flags:"s",line:"31",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent"},{N:"applyT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"32",flags:"ct",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"306",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate",flags:"s",line:"29",module:"pattern.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"29",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}code"}]},{N:"str",val:""}]}]},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"29",flags:"S",C:[{N:"str",val:"1"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"5",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.simPos", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.simPos"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"2",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.genNode", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.genNode"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"305",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.booleanExp", +flags:"s",line:"28",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.booleanExp"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"28",flags:"S",C:[{N:"str",val:"1"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"311",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn", +flags:"s",line:"57",module:"pattern.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"57",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"intersect"},{N:"str",val:"except"}]},{N:"attVal",name:"Q{}op"}]}]},{N:"applyT",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"58",flags:"ct",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"310",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn",flags:"s",line:"37",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"}, +{N:"fn",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",name:"string",C:[{N:"ufCall",line:"41",name:"Q{MyFunctions}nodeTestPriority",tailCall:"false",bSlot:"0",C:[{N:"choose",line:"39",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"1",C:[{N:"check",card:"1", +diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]}]}]}]},{N:"true"},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"int",val:"1"},{N:"str",val:"p"},{N:"str",val:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"4",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeSet", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeSet"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"307",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.any", +flags:"s",line:"30",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.any"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"30",flags:"S",C:[{N:"str",val:"-1"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"310",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeTest", +flags:"s",line:"37",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeTest"},{N:"fn",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",name:"string",C:[{N:"ufCall",line:"41",name:"Q{MyFunctions}nodeTestPriority",tailCall:"false",bSlot:"2",C:[{N:"choose",line:"39",C:[{N:"fn",name:"exists",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"3",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]}]}]}]},{N:"true"},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"int",val:"1"},{N:"str",val:"p"},{N:"str",val:"N"}]}]}]}]}]}]}]}, +{N:"co",id:"155",binds:"156 157",C:[{N:"function",name:"Q{MyFunctions}literalType",line:"1009",module:"type.xsl",flags:"pU",as:"1FM",slots:"2",C:[{N:"arg",name:"Q{}inst",as:"1NE"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1011","var":"Q{}name",as:"1AS",slot:"1",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"0"}]},{N:"choose",line:"1013",C:[{N:"compareToString", +line:"1014",op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"ifCall",line:"1015",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str", +val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"ifCall",line:"1022",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"fn",name:"normalize-space", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"0"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str", +val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"0"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"1"},{N:"varRef",name:"Q{}name",slot:"1"}]}]}]}]}]}]},{N:"co",id:"158",binds:"",C:[{N:"function",name:"Q{MyTypes}isAtomic",line:"458",module:"type.xsl",flags:"pU", +as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"460","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]},{N:"or",line:"461",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef", +name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"A"}]}]}]}]}]},{N:"co",id:"159",binds:"",C:[{N:"function",name:"Q{MyFunctions}cast",line:"465",module:"type.xsl",flags:"pU",as:"?A",slots:"2",C:[{N:"arg", +name:"Q{}a",as:"1A"},{N:"arg",name:"Q{}type",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"468",C:[{N:"compareToString",line:"469",op:"eq",val:"AB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"470",flags:"a",as:"1AB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"472",op:"eq",val:"ASNTNCR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", +line:"473",flags:"a",as:"1ASNTNCR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"475",op:"eq",val:"ASNTNCE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"476",flags:"a",as:"1ASNTNCE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"478",op:"eq",val:"ASNTNCI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"479",flags:"a",as:"1ASNTNCI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"481",op:"eq",val:"ASNTNC",C:[{N:"varRef", +name:"Q{}type",slot:"1"}]},{N:"cast",line:"482",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"484",op:"eq",val:"ASNTN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"485",flags:"a",as:"1ASNTN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"487",op:"eq",val:"ASNT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"488",flags:"a",as:"1ASNT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"490",op:"eq",val:"ASNTL", +C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"491",flags:"a",as:"1ASNTL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"493",op:"eq",val:"ASNTM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"494",flags:"a",as:"1ASNTK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"496",op:"eq",val:"ASN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"497",flags:"a",as:"1ASN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"499", +op:"eq",val:"AS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"500",flags:"a",as:"1AS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"502",op:"eq",val:"AQ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"503",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"505",op:"eq",val:"AU",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"506",flags:"a",as:"1AU",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"508", +op:"eq",val:"AA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"509",flags:"a",as:"1AA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"511",op:"eq",val:"AM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"512",flags:"a",as:"1AM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"514",op:"eq",val:"AMP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"515",flags:"a",as:"1AMP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"517",op:"eq",val:"AT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"518",flags:"a",as:"1AT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"520",op:"eq",val:"AR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"521",flags:"a",as:"1AR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"523",op:"eq",val:"ARD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"524",flags:"a",as:"1ARD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"526",op:"eq",val:"ARY",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"527",flags:"a",as:"1ARY",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"529",op:"eq",val:"AG",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"530",flags:"a",as:"1AG",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"532",op:"eq",val:"AH",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"533",flags:"a",as:"1AH",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"535",op:"eq",val:"AI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"536",flags:"a",as:"1AI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"538",op:"eq",val:"AJ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"539",flags:"a",as:"1AJ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"541",op:"eq",val:"AK",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"542",flags:"a",as:"1AK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"544",op:"eq",val:"AD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"545",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"547",op:"eq",val:"ADI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"548",flags:"a",as:"1ADI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"550",op:"eq",val:"ADIN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"551",flags:"a",as:"1ADIN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"553",op:"eq",val:"ADINN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"554",flags:"a",as:"1ADINN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"556",op:"eq",val:"ADIP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"557",flags:"a",as:"1ADIP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"559",op:"eq",val:"ADIPP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"560",flags:"a",as:"1ADIPP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]}, +{N:"compareToString",line:"562",op:"eq",val:"ADIPL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"563",flags:"a",as:"1ADIPL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"565",op:"eq",val:"ADIPLI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"566",flags:"a",as:"1ADIPLI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"568",op:"eq",val:"ADIPLIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"569",flags:"a",as:"1ADIPLIS",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"571",op:"eq",val:"ADIPLISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"572",flags:"a",as:"1ADIPLISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"574",op:"eq",val:"ADIL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"575",flags:"a",as:"1ADIL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"577",op:"eq",val:"ADILI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"578",flags:"a", +as:"1ADILI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"580",op:"eq",val:"ADILIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"581",flags:"a",as:"1ADILIS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"583",op:"eq",val:"ADILISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"584",flags:"a",as:"1ADILISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"586",op:"eq",val:"AO",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", +line:"587",flags:"a",as:"1AO",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"589",op:"eq",val:"AF",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"590",flags:"a",as:"1AF",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"592",op:"eq",val:"A2",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"593",flags:"a",as:"1A2",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"595",op:"eq",val:"AX",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", +line:"596",flags:"a",as:"1AX",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"598",op:"eq",val:"AZ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"599",flags:"a",as:"1AZ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"true"},{N:"varRef",line:"602",name:"Q{}a",slot:"0"}]}]}]},{N:"co",id:"160",binds:"",C:[{N:"mode",name:"Q{}form.schema",onNo:"DS",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"27",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s", +as:"*FM",line:"397",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"398",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"\\..$"},{N:"str",val:""},{N:"str",val:""}]},{N:"str", +val:"AAA"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"28",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{}sequence-constructor",flags:"s",as:"*FM",line:"400",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{}sequence-constructor"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"401",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{}sequence-constructor",flags:"a"}]},{N:"str",val:"AAA"}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"26",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"388",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"389",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:"\\..+$"},{N:"str",val:""},{N:"str",val:""}]},{N:"ifCall",line:"391",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"isAVT"},{N:"fn",name:"matches",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:"\\.R?A$"},{N:"str",val:""}]}]},{N:"ifCall", +line:"392",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"values"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"str",val:"\\s*\\|\\s*"},{N:"str",val:""}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"}, +{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"25",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{MyFunctions}selectAndContent",flags:"s",line:"384",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{MyFunctions}selectAndContent"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"385",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA nQ{MyFunctions}selectAndContent",flags:"a"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{MyFunctions}selectAndContent",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"24",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{MyFunctions}parents",flags:"s",line:"375",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{MyFunctions}parents"},{N:"ifCall", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"382",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"parents"},{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", +diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{MyFunctions}parents",flags:"a"}]}]}]}]},{N:"str",val:"\\s*\\|\\s*"},{N:"str",val:""}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"top-level",C:[{N:"dot",type:"1AS"}]},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"true"},{N:"dot",type:"1AS"}]}]}]}]}]}]},{N:"co",id:"161",binds:"",C:[{N:"function",name:"Q{MyFunctions}map-aliased-name",line:"540",module:"creating-new-nodes.xsl", +flags:"pU",as:"*",slots:"5",C:[{N:"arg",name:"Q{}original-name",as:"1AQ"},{N:"arg",name:"Q{}namespace-aliases",as:"1FM"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"544","var":"Q{}original-uri",as:"1AU",slot:"2",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"0"}]},{N:"let",line:"545","var":"Q{}new-uri",as:"1AS", +slot:"3",C:[{N:"choose",line:"546",C:[{N:"or",line:"547",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]}]}]},{N:"convert",line:"548",from:"AU",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef", +name:"Q{}original-uri",slot:"2"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]},{N:"int",val:"2"}]}]}]}]}]}]}, +{N:"choose",line:"555",C:[{N:"vc",line:"556",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"2"},{N:"varRef",name:"Q{}new-uri",slot:"3"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"0"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"4",C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]}]},{N:"fn",line:"567", +name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"3"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"str",val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName", +C:[{N:"varRef",name:"Q{}original-name",slot:"0"}]}]}]}]}]}]}]}]}]},{N:"co",id:"46",binds:"",C:[{N:"function",name:"Q{MyFunctions}NCName",line:"148",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"156",C:[{N:"fn",name:"matches",C:[{N:"check",card:"?",diag:"0|0||fn:matches", +C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]},{N:"str",val:"^\\i\\c*$"},{N:"str",val:""}]},{N:"check",card:"1",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"data",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"varRef",name:"Q{}input", +slot:"0"}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"data",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}, +{N:"str",val:"' is not a valid NCName"}]}]}]}]}]}]}]}]}]},{N:"co",id:"162",binds:"74",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg607192333",as:"1AS",line:"240",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"240",name:"concat",C:[{N:"str",val:"This is the XSLT3 compiler version "}, +{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"gVarRef",name:"Q{}compiler.version",bSlot:"0"}]}]}]}]}]},{N:"co",id:"32",binds:"11",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"90",module:"lib.xsl",flags:"pU",as:"1AS",slots:"3",C:[{N:"arg",name:"Q{}name",as:"1AS"},{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}error-code",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"94",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}name",slot:"0"},{N:"varRef",name:"Q{}context",slot:"1"},{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"empty"}]}]}]}]},{N:"co",id:"43",binds:"11",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"85",module:"lib.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}name",as:"1AS"},{N:"arg",name:"Q{}context",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"88",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}name",slot:"0"},{N:"varRef",name:"Q{}context",slot:"1"},{N:"str",val:"XTSE0020"},{N:"empty"}]}]}]}]},{N:"co",id:"45",binds:"22",C:[{N:"function",name:"Q{MyFunctions}not-reserved",line:"72",module:"lib.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}eqName",as:"1AS"},{N:"arg",name:"Q{}location",as:"?N"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"75",C:[{N:"fn",line:"76",name:"matches",C:[{N:"varRef",name:"Q{}eqName",slot:"0"},{N:"str",val:"^Q\\{http://www.w3.org/(1999/XSL/Transform|2005/xpath-functions(/map|/math|/array)?|XML/1998/namespace|2001/XMLSchema(-instance)?|2005/xqt-errors|2000/xmlns/)\\}"},{N:"str",val:""}]},{N:"check",line:"77",card:"1",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"data", +diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0080"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Namespace "},{N:"fn",name:"substring-before",C:[{N:"fn",name:"substring-after",C:[{N:"varRef",name:"Q{}eqName",slot:"0"},{N:"str",val:"Q{"}]},{N:"str",val:"}"}]}]},{N:"str",val:" is reserved for system use"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}location", +slot:"1"}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"80",name:"Q{}eqName",slot:"0"}]}]}]},{N:"co",id:"163",binds:"38 28 15 79 164 17 15 15 28 15 164 28 18 18 19 79",C:[{N:"mode",name:"Q{}sef.named-templates",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"5.0",seq:"327",rank:"13",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", +role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6",seq:"366",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*", +flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"361",rank:"11",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"357",rank:"10",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"353",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"82",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"350",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"75",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"346",rank:"8",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"342",rank:"7",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute", +nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03", +seq:"338",rank:"6",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"334",rank:"5",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"228",rank:"3",minImp:"0",slots:"4",matches:"NE",flags:"s",line:"448",module:"creating-new-nodes.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate", +C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"448",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"448",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"449",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"450",name:"Q{}static-context",slot:"1",flags:"t", +as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"456","var":"Q{}version",as:"?AD",slot:"3",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}, +{N:"true"},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"nextMatch",line:"458",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM",C:[{N:"ifCall",line:"463",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"3"},{N:"dec",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"}, +{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}static-context",slot:"1"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"?AD",C:[{N:"varRef",line:"464",name:"Q{}version",slot:"3"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"465",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"3"},{N:"dec",val:"2"}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"189",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"29",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"32",name:"PARAMDEF", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"33",name:"Q{}record-location",bSlot:"1"},{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"2",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"35",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"3"},{N:"str",val:"select"}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall", +line:"36",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"191",rank:"0",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"41",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"42",C:[{N:"param",name:"Q{}named-template-signatures",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"45",name:"withParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose", +line:"46",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]}]},{N:"str",val:"true"}]},{N:"att",line:"47",name:"flags",flags:"l",C:[{N:"str",val:"t"}]}]},{N:"choose",line:"49",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}]},{N:"let",line:"50","var":"Q{}param",slot:"4",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply", +type:"*",C:[{N:"treat",as:"F",diag:'21|0||map:get(...) ? "params"',C:[{N:"check",card:"1",diag:'21|0||map:get(...) ? "params"',C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str", +val:"params"}]}]}]},{N:"arrayBlock",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"52",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"4"},{N:"str",val:"type"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"4"},{N:"str",val:"typeJ"}]}]}]}]},{N:"choose",line:"54",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"}]},{N:"slash",line:"57",simple:"2",C:[{N:"let",line:"55", +"var":"Q{http://saxon.sf.net/generated-variable}current1896874222",as:"1",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"6",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1896874222",slot:"5"},{N:"attVal",name:"Q{}name"}]},{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", +flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}as,NA nQ{http://ns.saxonica.com/xslt/export}asJ]"}]}]},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis", +line:"59",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"60",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"att",line:"61",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"choose",line:"64",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}, +{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"65",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"5"}]},{N:"applyT",line:"66",mode:"Q{}select.or.sequence",bSlot:"6",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]},{N:"true"},{N:"applyT",line:"70",mode:"Q{}select.or.sequence", +bSlot:"7",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"185",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"14",module:"variables-and-parameters.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"14",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"15",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:" has no following sibling so it will have no effect"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"nextMatch",line:"16",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"187",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"18",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"20",name:"VARDEF",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"21",name:"Q{}record-location",bSlot:"8"},{N:"applyT",line:"22",flags:"c",bSlot:"-1",C:[{N:"axis", +role:"select",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"applyT",line:"23",mode:"Q{}select.or.sequence",bSlot:"9",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"24",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"25",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"10",C:[{N:"dot", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"199",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"268",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"268",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"269",C:[{N:"param",name:"Q{}location",slot:"0",flags:"t",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"270",name:"Q{}has-uniform-static-context",slot:"1",flags:"ti",as:"1AB",C:[{N:"treat", +role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"271",name:"Q{}options",slot:"2",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1", +diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"273",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"uniform",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"1"}]}]},{N:"elem",line:"275",name:"template",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1", +comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"required"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"o"}]},{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"absent"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"s"}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"slots",flags:"l", +C:[{N:"str",val:"200"}]},{N:"choose",line:"276",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"2"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"277",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"applyT",line:"279",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose",line:"280",C:[{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"sequence",line:"281",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"282",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"callT",line:"284",name:"Q{}record-location",bSlot:"11"},{N:"applyT",line:"285",mode:"Q{}sef",bSlot:"12",C:[{N:"except", +role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"1",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/XML/1998/namespace}base"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/XML/1998/namespace}space"}]}]}]}]}, +{N:"applyT",line:"287",mode:"Q{}sef",bSlot:"13",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]},{N:"callT",line:"290",name:"Q{}sequence-constructor",bSlot:"14",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"291",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"15"},{N:"str",val:"body"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"388",rank:"2",minImp:"0",slots:"0", +matches:"NA nQ{}as",flags:"s",line:"1710",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1711",C:[{N:"fn",role:"name",name:"name", +C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]},{N:"fn",role:"select",name:"replace",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"201",rank:"4",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"298",module:"callable-components.xsl",C:[{N:"p.withUpper", +role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"298",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"xsl:initial-template"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]}, +{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"299",name:"name",C:[{N:"str",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template"}]}]}]}]},{N:"co",id:"11",binds:"22 22 22 22 22 22",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"106",module:"lib.xsl",flags:"pU",as:"1AS",slots:"7",C:[{N:"arg",name:"Q{}name.in",as:"1AS"},{N:"arg", +name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}error-code",as:"1AS"},{N:"arg",name:"Q{}xpath-default-namespace",as:"?AS"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"112",card:"1",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:EQName#4", +C:[{N:"data",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"try",flags:"r",C:[{N:"let","var":"Q{}name",as:"1AS",slot:"4",C:[{N:"fn",name:"normalize-space",C:[{N:"varRef",name:"Q{}name.in",slot:"0"}]},{N:"choose",line:"113",C:[{N:"fn",line:"114",name:"starts-with",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:"Q{"}]},{N:"varRef",line:"115",name:"Q{}name",slot:"4"},{N:"fn",line:"117",name:"contains",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"let",line:"119","var":"Q{}local",as:"1AS", +slot:"5",C:[{N:"fn",name:"substring-after",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"sequence",line:"120",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"castable",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}local",slot:"5"}]}]},{N:"ufCall",line:"121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"str",val:"Invalid local name: "},{N:"varRef",name:"Q{}name",slot:"4"}]},{N:"varRef",name:"Q{}context", +slot:"1"}]}]},{N:"let",line:"123","var":"Q{}uri",as:"?AU",slot:"6",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"fn",line:"118",name:"substring-before",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"sequence",line:"124",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"ufCall",line:"125",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE0280"},{N:"fn",name:"concat",C:[{N:"str", +val:"Unbound prefix in QName: "},{N:"varRef",name:"Q{}name",slot:"4"}]},{N:"varRef",name:"Q{}context",slot:"1"}]}]},{N:"fn",line:"127",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"str",val:"}"}]},{N:"varRef",name:"Q{}local",slot:"5"}]}]}]}]}]},{N:"fn",line:"129",name:"not",C:[{N:"castable",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}name",slot:"4"}]}]},{N:"sequence",line:"130",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"2",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:" is not a valid name"}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]},{N:"true"},{N:"fn",line:"133",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"varRef",name:"Q{}xpath-default-namespace",slot:"3"}]},{N:"str",val:"}"}]},{N:"varRef",name:"Q{}name",slot:"4"}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}FOCA0002", +C:[{N:"sequence",line:"136",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",C:[{N:"str",val:"XTSE0280"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}context", +slot:"1"}]},{N:"str",val:"Q{}error"}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTSE0080 Q{http://www.w3.org/2005/xqt-errors}XTSE0280 Q{http://www.w3.org/2005/xqt-errors}XTSE0808",C:[{N:"sequence",line:"138",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"fn",name:"local-name-from-QName",C:[{N:"treat",as:"AQ",diag:"0|0||fn:local-name-from-QName",C:[{N:"check",card:"?",diag:"0|0||fn:local-name-from-QName", +C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:local-name-from-QName",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}, +{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"139",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"5",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]},{N:"str",val:" code:"}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat", +C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]}]}]}]}]}]}]}]}]},{N:"co",id:"165",binds:"",C:[{N:"function",name:"Q{MyTypes}withOccurrenceIndicator",line:"1198",module:"type.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"arg",name:"Q{}indicator",as:"1AS"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1201",name:"concat",C:[{N:"varRef",name:"Q{}indicator",slot:"1"},{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]}]},{N:"co",id:"141",binds:"",C:[{N:"mode",name:"Q{}attribute-sans-prefix",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"394",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"1758",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"compAtt", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1759",C:[{N:"fn",role:"name",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"convert",role:"select",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]},{N:"co",id:"166",binds:"162",C:[{N:"template",name:"Q{http://www.w3.org/1999/XSL/Transform}initial-template", +flags:"os",line:"239",module:"XSLT-SEF-compiler.xsl",slots:"0",C:[{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"240",name:"Desc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"valueOf",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg607192333",bSlot:"0"}]}]}]}]},{N:"co",id:"145",binds:"52",C:[{N:"globalVariable", +name:"Q{http://saxon.sf.net/generated-variable}gg519751097",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"}, +{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:""},{N:"str",val:"xsl:evaluate"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"48",binds:"",C:[{N:"globalVariable",name:"Q{}known-namespaces",as:"1FM k[AS] v[1AS]",line:"549",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"12",C:[{N:"str",val:"err"},{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"str",val:"fn"},{N:"str",val:"http://www.w3.org/2005/xpath-functions"},{N:"str",val:"math"}, +{N:"str",val:"http://www.w3.org/2005/xpath-functions/math"},{N:"str",val:"ixsl"},{N:"str",val:"http://saxonica.com/ns/interactiveXSLT"},{N:"str",val:"js"},{N:"str",val:"http://saxonica.com/ns/globalJS"},{N:"str",val:"saxon"},{N:"str",val:"http://saxon.sf.net/"},{N:"str",val:"xsi"},{N:"str",val:"http://www.w3.org/2001/XMLSchema-instance"},{N:"str",val:"xsl"},{N:"str",val:"http://www.w3.org/1999/XSL/Transform"},{N:"str",val:"xml"},{N:"str",val:"http://www.w3.org/XML/1998/namespace"},{N:"str",val:"array"}, +{N:"str",val:"http://www.w3.org/2005/xpath-functions/array"},{N:"str",val:"xs"},{N:"str",val:"http://www.w3.org/2001/XMLSchema"},{N:"str",val:"map"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map"}]}]}]},{N:"co",id:"37",binds:"",C:[{N:"globalVariable",name:"Q{}html-ascii-case-insensitive.collation",as:"1AU",line:"28",module:"sorting.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"atomic",val:"http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive",type:"AU"}]}]},{N:"co", +id:"167",binds:"168 111 40",C:[{N:"template",name:"Q{}compileXSLTschema",flags:"os",line:"361",module:"XSLT-syntax.xsl",slots:"0",C:[{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"362",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",line:"363",C:[{N:"att",name:"version",flags:"l",C:[{N:"str",val:"3.0"}]},{N:"namespace",line:"364", +flags:"l",C:[{N:"str",role:"name",val:"f"},{N:"str",role:"select",val:"MyFunctions"}]},{N:"comment",line:"365",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1960031800",bSlot:"0"}]},{N:"elem",line:"366",name:"xsl:variable",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",line:"367",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"xslt.schema"}]},{N:"att",line:"368",name:"select",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"ufCall",name:"Q{MyFunctions}serialize", +tailCall:"false",bSlot:"1",C:[{N:"gVarRef",name:"Q{}xslt.schema",bSlot:"2"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]},{N:"co",id:"128",binds:"",C:[{N:"globalVariable",name:"Q{}type-error-map",as:"1FM k[AS] v[1AS]",line:"249",module:"xpath.xsl",visibility:"PRIVATE",C:[{N:"map",size:"4",C:[{N:"str",val:"withParam"},{N:"str",val:"XTTE0590"},{N:"str",val:"globalParam"},{N:"str",val:"XTTE0590"},{N:"str",val:"template"},{N:"str",val:"XTTE0505"},{N:"str",val:"globalVariable"},{N:"str",val:"XTTE0570"}]}]}]},{N:"co", +id:"169",vis:"PRIVATE",binds:"",C:[{N:"function",name:"Q{MyFunctions}pvt-emit-literal",line:"23",module:"XSLT-value-template.xsl",flags:"pU",as:"1NA",slots:"1",C:[{N:"arg",name:"Q{}in",as:"1AS"},{N:"att",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation f=MyFunctions xs=~ xsl=~ xml=~",line:"26",name:"literal",C:[{N:"varRef",name:"Q{}in",slot:"0"}]}]}]},{N:"co",id:"170",binds:"120 22 22 90 171 106 164 172 172 172 22 22 22 22 159 173 22 22 25 22 22 111 111 22 174 174 174 174 174 174 174 174 174 174 174 174 174 174 174 34 22 75 90 175 170 34 34 22", +C:[{N:"mode",name:"Q{}process-module",onNo:"FF",flags:"F",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"1.5",seq:"3",rank:"2",minImp:"0",slots:"74",matches:"NE",flags:"s",line:"129",module:"static.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"ND"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}, +{N:"p.nodeTest",test:"ND"}]}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"p.nodeTest",test:"ND"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM", +diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"137",name:"Q{}moduleLabel",slot:"1",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"data",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"supplied",slot:"1"}]}]}]}]}]}, +{N:"param",line:"145",name:"Q{}precLabel",slot:"2",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|precLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|precLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"data",diag:"8|0|XTTE0590|precLabel",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"146",name:"Q{}static-vars",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat", +role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"147",name:"Q{}static-isParam",slot:"4",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied",slot:"4"}]}]}]},{N:"param",line:"148",name:"Q{}var-slots",slot:"5",flags:"t",as:"1FM",C:[{N:"map", +role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"149",name:"Q{}next-slot",slot:"6",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot", +C:[{N:"supplied",slot:"6"}]}]}]}]}]},{N:"param",line:"150",name:"Q{}imported",slot:"7",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|imported",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"data",diag:"8|0|XTTE0590|imported",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"param",line:"151",name:"Q{}top-level",slot:"8",flags:"t",as:"1AB",C:[{N:"true",role:"select"},{N:"treat",role:"conversion", +as:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|top-level",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"data",diag:"8|0|XTTE0590|top-level",C:[{N:"supplied",slot:"8"}]}]}]}]}]},{N:"param",line:"152",name:"Q{}params",slot:"9",flags:"t",as:"1FM k[AQ]",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM k[AQ]",diag:"8|0|XTTE0590|params",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|params",C:[{N:"supplied",slot:"9"}]}]}]},{N:"param",line:"153", +name:"Q{}stylesheet-stack",slot:"10",flags:"t",as:"*AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"supplied",slot:"10"}]}]}]}]},{N:"param",line:"154",name:"Q{}stylesheet-base-uri",slot:"11",flags:"t",as:"1AU",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|stylesheet-base-uri", +C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"11"}]}]}]}]}]},{N:"param",line:"155",name:"Q{}parent-version",slot:"12",flags:"t",as:"?AD",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AD", +diag:"8|0|XTTE0590|parent-version",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|parent-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|parent-version",C:[{N:"data",diag:"8|0|XTTE0590|parent-version",C:[{N:"supplied",slot:"12"}]}]}]}]}]},{N:"let",line:"159","var":"Q{}version",as:"1AD",slot:"20",C:[{N:"callT",line:"160",name:"Q{}XSLT-version",bSlot:"0"},{N:"let",line:"162","var":"Q{}xpath-default-namespace",as:"?NA",slot:"21",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}, +{N:"let",line:"163","var":"Q{}stylesheet-properties",as:"*NA",slot:"22",C:[{N:"sequence",line:"164",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"choose",line:"165",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"att",line:"166",name:"expand-text",C:[{N:"str",val:"no"}]}]},{N:"choose",line:"168",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}parent-version", +slot:"12"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"20"},{N:"varRef",name:"Q{}parent-version",slot:"12"}]}]},{N:"axis",line:"169",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",line:"175",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"ufCall",line:"187",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"1",C:[{N:"str",val:"XTSE0120"},{N:"convert",line:"178",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|message",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|message",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"valueOf",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"valueOf",line:"179",C:[{N:"str",val:" cannot have non-whitespace text node children. "}]}, +{N:"choose",line:"181",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]},{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str",val:"' just after "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}node",as:"1N",slot:"23",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]}]},{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}loc"}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"true"},{N:"convert",line:"408",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a", +as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"23"}]}]}]}]}]}]}]}]},{N:"fn",line:"182",name:"exists",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]},{N:"valueOf",line:"182",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str", +val:"' just before "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"24",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]}]}, +{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}loc"}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"true"}, +{N:"convert",line:"408",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"24"}]}]}]}]}]}]}]}]},{N:"true"},{N:"valueOf",line:"183",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", +diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str",val:"'"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"forEach",line:"190",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"ufCall",line:"191",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",C:[{N:"str",val:"XTSE0130"}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"name",C:[{N:"dot",type:"1N u[NE,ND]"}]}]}]},{N:"str",val:" cannot have a no-namespace child element:"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"dot",type:"1NE"}]}]},{N:"choose",line:"194",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}]}]}, +{N:"ufCall",line:"195",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"3",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"A stylesheet module may not contain more than one xsl:global-context-item element"}]}]},{N:"let",line:"203","var":"Q{}not-discarded",as:"1AB",slot:"25",C:[{N:"choose",line:"204",C:[{N:"fn",line:"205",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}]},{N:"callT",line:"206",name:"Q{}check-use-when",bSlot:"4"},{N:"true"},{N:"true"}]},{N:"let",line:"214", +"var":"Q{}result",as:"1FM",slot:"26",flags:"e",C:[{N:"treat",line:"220",as:"FM",diag:"3|0|XTTE0570|result",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|result",C:[{N:"iterate",C:[{N:"choose",role:"select",C:[{N:"varRef",name:"Q{}not-discarded",slot:"25"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"params",role:"params",line:"221",C:[{N:"param",name:"Q{}components",slot:"13",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|components", +C:[{N:"supplied",slot:"13"}]}]},{N:"param",line:"222",name:"Q{}inner-static-vars",slot:"14",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-vars",slot:"3"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"supplied",slot:"14"}]}]}]},{N:"param",line:"223",name:"Q{}static-isParam",slot:"15",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-isParam",slot:"4"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied",slot:"15"}]}]}]},{N:"param",line:"225",name:"Q{}vars-in-import",slot:"16",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"supplied",slot:"16"}]}]}]},{N:"param",line:"226",name:"Q{}isParam-in-import",slot:"17",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|isParam-in-import", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|isParam-in-import",C:[{N:"supplied",slot:"17"}]}]}]},{N:"param",line:"227",name:"Q{}var-slots",slot:"18",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}var-slots",slot:"5"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"18"}]}]}]},{N:"param",line:"228",name:"Q{}next-slot",slot:"19",as:"1ADI",C:[{N:"varRef",role:"select",name:"Q{}next-slot",slot:"6"},{N:"treat", +role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"supplied",slot:"19"}]}]}]}]}]}]},{N:"ifCall",role:"on-completion",line:"256",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"components"},{N:"varRef", +name:"Q{}components",slot:"13"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-vars"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-isParam"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots", +slot:"18"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"next-slot"},{N:"varRef",name:"Q{}next-slot",slot:"19"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",role:"action",line:"263","var":"Q{}possible.component",as:"?NE",slot:"27",C:[{N:"treat",line:"264",as:"NE",diag:"3|0|XTTE0570|possible.component",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|possible.component", +C:[{N:"applyT",mode:"Q{}static",bSlot:"5",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"withParam",name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"265",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"266",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot",flags:"t",as:"1ADI",C:[{N:"varRef",line:"267",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam", +flags:"t",as:"1FM",C:[{N:"varRef",line:"268",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA",C:[{N:"varRef",line:"269",name:"Q{}xpath-default-namespace",slot:"21"}]},{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"270",name:"Q{}version",slot:"20"}]},{N:"withParam",name:"Q{}stylesheet-properties",flags:"t",as:"*NA",C:[{N:"varRef",line:"271",name:"Q{}stylesheet-properties",slot:"22"}]},{N:"withParam",name:"Q{}has-uniform-static-context", +flags:"t",as:"1AB",C:[{N:"ufCall",line:"272",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]}]},{N:"let",line:"277","var":"Q{}isStaticVariable",as:"1AB",slot:"28",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"7",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"let",line:"278","var":"Q{}isStaticParam",as:"1AB",slot:"29",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"8",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"choose", +line:"280",C:[{N:"or",line:"279",op:"or",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isStaticVariable",slot:"28"}]},{N:"let",line:"287","var":"Q{}name",as:"?AQ",slot:"30",C:[{N:"choose",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:":"}]},{N:"fn",name:"resolve-QName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:resolve-QName", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:resolve-QName",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"true"},{N:"fn",name:"QName",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|1||fn:QName",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:QName",C:[{N:"attVal",name:"Q{}name"}]}]}]}]}]},{N:"let",line:"288","var":"Q{}value",slot:"31",C:[{N:"forEach",line:"291",C:[{N:"varRef",name:"Q{}possible.component", +slot:"27"},{N:"let",line:"292","var":"Q{}isRequired",slot:"32",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"9",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"},{N:"false"}]},{N:"let",line:"293","var":"Q{}isSupplied",as:"1AB",slot:"33",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}params",slot:"9"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose", +line:"296",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"choose",line:"311",C:[{N:"fn",line:"298",name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"10",C:[{N:"choose",C:[{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"str",val:"XTSE0620"},{N:"true"},{N:"str",val:"XTSE0010"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must not have a sequence constructor"}]},{N:"dot",type:"1NE"}]}]},{N:"and",line:"313",op:"and",C:[{N:"varRef",name:"Q{}isRequired",slot:"32"}, +{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"ufCall",line:"316",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Required static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE"}]}, +{N:"and",line:"318",op:"and",C:[{N:"varRef",name:"Q{}isStaticVariable",slot:"28"},{N:"gc",op:"!=",card:"N:1",comp:"CCC",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"},{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}visibility"}]}]}]},{N:"str",val:"private"}]}]},{N:"ufCall",line:"322",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must have private visibility"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"325",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied", +slot:"33"}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"attVal",name:"Q{}as"}]}]},{N:"str",val:"(\\*|\\?)\\s*?"},{N:"str",val:""}]}]}]},{N:"ufCall",line:"329",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTDE0700"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"str",val:"No value for implicitly mandatory static parameter "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"331",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isSupplied",slot:"33"}]},{N:"let",line:"332","var":"Q{}supplied",slot:"34",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}params",slot:"9"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef", +name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"334",C:[{N:"and",line:"335",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}supplied",slot:"34"}]}]},{N:"let",line:"337","var":"Q{}targetType",slot:"35",C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"337",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type", +C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"337",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"338","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"36",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:cast",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:cast",C:[{N:"cvUntyped",to:"AS", +diag:"0|1||f:cast",C:[{N:"data",diag:"0|1||f:cast",C:[{N:"varRef",name:"Q{}targetType",slot:"35"}]}]}]}]},{N:"forEach",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall",name:"Q{MyFunctions}cast",tailCall:"false",bSlot:"14",C:[{N:"atomSing",diag:"0|0||f:cast",C:[{N:"dot"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"36"}]}]}]}]},{N:"fn",line:"340",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"342","var":"Q{}targetType",slot:"37", +C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"static.xsl",line:"342",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type",C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"342",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"344", +"var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"38",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:isInstance",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:isInstance",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:isInstance",C:[{N:"data",diag:"0|1||f:isInstance",C:[{N:"varRef",name:"Q{}targetType",slot:"37"}]}]}]}]},{N:"choose",line:"343",C:[{N:"every",line:"344","var":"Q{}item",slot:"39",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall",name:"Q{MyFunctions}isInstance", +tailCall:"false",bSlot:"15",C:[{N:"varRef",name:"Q{}item",slot:"39"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"38"}]}]},{N:"varRef",line:"345",name:"Q{}supplied",slot:"34"},{N:"true"},{N:"ufCall",line:"350",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Supplied value of static parameter "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" does not match the required type"}]}, +{N:"dot",type:"1NE"}]}]}]}]},{N:"true"},{N:"varRef",line:"355",name:"Q{}supplied",slot:"34"}]}]},{N:"and",line:"360",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isRequired",slot:"32"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied",slot:"33"}]}]},{N:"ufCall",line:"363",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"No value for required static parameter "}, +{N:"attVal",name:"Q{}name"}]},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"fn",line:"365",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"let",line:"369","var":"Q{}xpath",as:"1AS",slot:"40",flags:"e",C:[{N:"choose",line:"370",C:[{N:"fn",line:"371",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"372","var":"Q{}type",slot:"41",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"372",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type", +C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"372",type:"1NE"},{N:"str",val:""}]}]},{N:"choose",line:"373",C:[{N:"and",line:"375",op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", +C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str",val:"1"}]}]},{N:"convert",line:"375",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast", +flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]},{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:")"}]}]}]}]},{N:"and",line:"377",op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", +C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str",val:"?"}]}]},{N:"convert",line:"377",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast", +flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:") cast as "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]}]}]}]}]},{N:"fn",line:"378",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data", +diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"convert",line:"378",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:") ! "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false", +bSlot:"18",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"static.xsl",line:"378",name:"Q{}type",slot:"41"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"str",val:"(.)"}]}]}]}]},{N:"true"},{N:"convert",line:"379",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:") treat as "},{N:"fn",name:"string", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]}]}]}]}]}]}]},{N:"true"},{N:"convert",line:"382",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]}]}]}]}]},{N:"let",line:"385","var":"Q{}nsContext",as:"1NE c~untyped",slot:"42",flags:"e",C:[{N:"let",line:"386","var":"Q{}dot",as:"1",slot:"43",C:[{N:"dot", +type:"1NE"},{N:"compElem",line:"387",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"21"}]}]}]},{N:"forEach",role:"content",line:"388",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"390",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str", +val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"43"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"try",line:"398",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}xpath",slot:"40"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"varRef", +role:"nsCxt",name:"Q{}nsContext",slot:"42"},{N:"str",role:"sa",val:"no"},{N:"ifCall",role:"options",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"18"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"}, +{N:"str",val:"XQDY0137"}]}]},{N:"varRef",role:"wp",name:"Q{}inner-static-vars",slot:"14"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"400",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050X"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info", +type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"ufCall",line:"405",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",C:[{N:"str",val:"XTDE3160"},{N:"fn",line:"404",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info", +type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:"Static error in XPath expression supplied to xsl:evaluate:"},{N:"str",val:"Error in static expression:"},{N:"str",val:""}]},{N:"dot",type:"1NE"}]}]}]}]}]},{N:"fn",line:"416",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"empty"},{N:"true"},{N:"str",val:""}]}]}]}]},{N:"let",line:"426","var":"Q{}m",as:"1FM",slot:"44",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}vars-in-import", +slot:"16"},{N:"true"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"sequence",line:"427",C:[{N:"choose",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"428",C:[{N:"and",line:"429",op:"and",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"instance", +of:"1FA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"fn",name:"not",C:[{N:"instance",of:"1FM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"message",line:"430",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Warning: unable to check consistency of multiply-defined variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AQ",to:"AS",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"str",val:" with function(*) type\n "}]}]},{N:"str", +role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"fn",line:"433",name:"not",C:[{N:"fn",name:"deep-equal",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"varRef",name:"Q{}value",slot:"31"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}, +{N:"ufCall",line:"436",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"20",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting values for static variable "},{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"str",val:"\n"}]},{N:"check",line:"437",card:"?",diag:"0|1||fn:concat",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"21", +C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:"\nand:\n"}]},{N:"check",line:"439",card:"?",diag:"0|1||fn:concat",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"22",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]}]},{N:"str",val:"*#xA;"}]},{N:"check",line:"439",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef", +name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"choose",line:"448",C:[{N:"let","var":"Q{}m",slot:"45",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"true"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"and",op:"and",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}, +{N:"or",op:"or",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", +name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]}]},{N:"ufCall",line:"451",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"23",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting declarations for static param/variable "},{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component", +slot:"27"}]}]}]},{N:"let",line:"462","var":"Q{}this-slot",as:"1A",slot:"46",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}next-slot",slot:"19"},{N:"choose",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"fn",name:"function-arity",C:[{N:"treat",as:"F",diag:"0|0||fn:function-arity",C:[{N:"check",card:"1",diag:"0|0||fn:function-arity",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"true"},{N:"int",val:"0"}]}]},{N:"let",line:"466","var":"Q{}grounded-value",as:"1AB", +slot:"47",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1A",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"nextIteration",line:"565",C:[{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",line:"567",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}inner-static-vars",slot:"14"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef", +name:"Q{}value",slot:"31"}]}]},{N:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"568",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}static-isParam",slot:"15"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}isStaticParam",slot:"29"}]}]},{N:"withParam",name:"Q{}vars-in-import",as:"1FM",slot:"16",C:[{N:"choose",line:"574",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}vars-in-import",slot:"16"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}vars-in-import",slot:"16"}]}]},{N:"withParam",name:"Q{}isParam-in-import",as:"1FM",slot:"17",C:[{N:"choose",line:"580",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", +type:"1FM",C:[{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"}]}]},{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"587",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"choose",C:[{N:"varRef",name:"Q{}grounded-value",slot:"47"},{N:"choose",line:"469",C:[{N:"varRef",name:"Q{}grounded-value", +slot:"47"},{N:"let",line:"540","var":"Q{http://saxon.sf.net/generated-variable}v21",as:"1AB",slot:"48",flags:"l",C:[{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"537","var":"Q{http://saxon.sf.net/generated-variable}v20",as:"1AB",slot:"49",flags:"l",C:[{N:"instance",of:"1AN",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"534","var":"Q{http://saxon.sf.net/generated-variable}v19",as:"1AB",slot:"50",flags:"l",C:[{N:"instance",of:"1AQ",C:[{N:"varRef",name:"Q{}value", +slot:"31"}]},{N:"let",line:"531","var":"Q{http://saxon.sf.net/generated-variable}v18",as:"1AB",slot:"51",flags:"l",C:[{N:"instance",of:"1AX",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"528","var":"Q{http://saxon.sf.net/generated-variable}v17",as:"1AB",slot:"52",flags:"l",C:[{N:"instance",of:"1A2",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"525","var":"Q{http://saxon.sf.net/generated-variable}v16",as:"1AB",slot:"53",flags:"l",C:[{N:"instance",of:"1AK",C:[{N:"varRef",name:"Q{}value", +slot:"31"}]},{N:"let",line:"522","var":"Q{http://saxon.sf.net/generated-variable}v15",as:"1AB",slot:"54",flags:"l",C:[{N:"instance",of:"1AI",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"519","var":"Q{http://saxon.sf.net/generated-variable}v14",as:"1AB",slot:"55",flags:"l",C:[{N:"instance",of:"1AJ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"516","var":"Q{http://saxon.sf.net/generated-variable}v13",as:"1AB",slot:"56",flags:"l",C:[{N:"instance",of:"1AG",C:[{N:"varRef",name:"Q{}value", +slot:"31"}]},{N:"let",line:"513","var":"Q{http://saxon.sf.net/generated-variable}v12",as:"1AB",slot:"57",flags:"l",C:[{N:"instance",of:"1AH",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"510","var":"Q{http://saxon.sf.net/generated-variable}v11",as:"1AB",slot:"58",flags:"l",C:[{N:"instance",of:"1AT",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"507","var":"Q{http://saxon.sf.net/generated-variable}v10",as:"1AB",slot:"59",flags:"l",C:[{N:"instance",of:"1ARD",C:[{N:"varRef", +name:"Q{}value",slot:"31"}]},{N:"let",line:"504","var":"Q{http://saxon.sf.net/generated-variable}v9",as:"1AB",slot:"60",flags:"l",C:[{N:"instance",of:"1ARY",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"501","var":"Q{http://saxon.sf.net/generated-variable}v8",as:"1AB",slot:"61",flags:"l",C:[{N:"instance",of:"1AA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"498","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"1AB",slot:"62",flags:"l",C:[{N:"instance",of:"1AMP",C:[{N:"varRef", +name:"Q{}value",slot:"31"}]},{N:"let",line:"495","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"63",flags:"l",C:[{N:"instance",of:"1AM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"492","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"1AB",slot:"64",flags:"l",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AS",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AU",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"488","var":"Q{http://saxon.sf.net/generated-variable}v4", +as:"1AB",slot:"65",flags:"l",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AD",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AO",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"instance",of:"1AF",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"477","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"66",flags:"l",C:[{N:"instance",of:"1AB",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"474","var":"Q{http://saxon.sf.net/generated-variable}v2", +as:"1AB",slot:"67",flags:"l",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"check",line:"470",card:"?",diag:"3|0|XTTE0570|variable.component",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"copy",line:"471",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"472",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"474",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"67"},{N:"att",line:"475",name:"select", +flags:"l",C:[{N:"str",val:"()"}]},{N:"varRef",line:"477",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"66"},{N:"att",line:"484",name:"select",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}value",slot:"31"},{N:"str",val:"true()"},{N:"true"},{N:"str",val:"false()"}]}]},{N:"varRef",line:"488",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"65"},{N:"att",line:"489",name:"select",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj", +C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"varRef",line:"492",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"64"},{N:"att",line:"493",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data", +diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]},{N:"varRef",line:"495",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"63"},{N:"att",line:"496",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}, +{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"24",C:[{N:"str",val:"dateTime"}]}]}]}]}]},{N:"varRef",line:"498",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"62"},{N:"att",line:"499",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "}, +{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"25",C:[{N:"str",val:"dateTimeStamp"}]}]}]}]}]},{N:"varRef",line:"501",name:"Q{http://saxon.sf.net/generated-variable}v8",slot:"61"},{N:"att",line:"502",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall", +name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"26",C:[{N:"str",val:"date"}]}]}]}]}]},{N:"varRef",line:"504",name:"Q{http://saxon.sf.net/generated-variable}v9",slot:"60"},{N:"att",line:"505",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq", +tailCall:"false",bSlot:"27",C:[{N:"str",val:"yearMonthDuration"}]}]}]}]}]},{N:"varRef",line:"507",name:"Q{http://saxon.sf.net/generated-variable}v10",slot:"59"},{N:"att",line:"508",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false", +bSlot:"28",C:[{N:"str",val:"dayTimeDuration"}]}]}]}]}]},{N:"varRef",line:"510",name:"Q{http://saxon.sf.net/generated-variable}v11",slot:"58"},{N:"att",line:"511",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"29", +C:[{N:"str",val:"time"}]}]}]}]}]},{N:"varRef",line:"513",name:"Q{http://saxon.sf.net/generated-variable}v12",slot:"57"},{N:"att",line:"514",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"30",C:[{N:"str",val:"gYearMonth"}]}]}]}]}]}, +{N:"varRef",line:"516",name:"Q{http://saxon.sf.net/generated-variable}v13",slot:"56"},{N:"att",line:"517",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"31",C:[{N:"str",val:"gYear"}]}]}]}]}]},{N:"varRef",line:"519", +name:"Q{http://saxon.sf.net/generated-variable}v14",slot:"55"},{N:"att",line:"520",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"32",C:[{N:"str",val:"gMonthDay"}]}]}]}]}]},{N:"varRef",line:"522",name:"Q{http://saxon.sf.net/generated-variable}v15", +slot:"54"},{N:"att",line:"523",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"33",C:[{N:"str",val:"gMonth"}]}]}]}]}]},{N:"varRef",line:"525",name:"Q{http://saxon.sf.net/generated-variable}v16",slot:"53"},{N:"att", +line:"526",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"34",C:[{N:"str",val:"gDay"}]}]}]}]}]},{N:"varRef",line:"528",name:"Q{http://saxon.sf.net/generated-variable}v17",slot:"52"},{N:"att",line:"529",name:"select", +flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"35",C:[{N:"str",val:"base64Binary"}]}]}]}]}]},{N:"varRef",line:"531",name:"Q{http://saxon.sf.net/generated-variable}v18",slot:"51"},{N:"att",line:"532",name:"select",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"36",C:[{N:"str",val:"hexBinary"}]}]}]}]}]},{N:"varRef",line:"534",name:"Q{http://saxon.sf.net/generated-variable}v19",slot:"50"},{N:"att",line:"535",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS", +C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"37",C:[{N:"str",val:"QName"}]}]}]}]}]},{N:"varRef",line:"537",name:"Q{http://saxon.sf.net/generated-variable}v20",slot:"49"},{N:"att",line:"538",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a", +as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"38",C:[{N:"str",val:"NOTATION"}]}]}]}]}]},{N:"varRef",line:"540",name:"Q{http://saxon.sf.net/generated-variable}v21",slot:"48"},{N:"choose",line:"544",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as", +C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"castable",flags:"a",as:"1AO",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"castable",flags:"a",as:"1AF",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"att",line:"545",name:"select",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"att", +line:"549",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]}, +{N:"true"},{N:"sequence",line:"554",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Unexpected atomic type; treating as string: "},{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:" "}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"att",line:"555",name:"select",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}, +{N:"true"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]},{N:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18",C:[{N:"ifCall",line:"588",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}var-slots",slot:"18"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}this-slot",slot:"46"}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"arith",line:"589",op:"+",calc:"i+i",C:[{N:"varRef", +name:"Q{}this-slot",slot:"46"},{N:"int",val:"1"}]}]}]}]}]}]}]}]}]},{N:"fn",line:"592",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}import,NE nQ{http://www.w3.org/1999/XSL/Transform}include]"}]}]},{N:"let",line:"594","var":"Q{}imported",as:"1AB",slot:"68",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"}]}]},{N:"let",line:"595","var":"Q{}doc",as:"1ND",slot:"69",C:[{N:"check",line:"596",card:"1",diag:"3|0|XTTE0570|doc",C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]},{N:"treat",line:"598",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"39",C:[{N:"fn", +name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"str",val:" must have an @href attribute"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"choose",line:"600",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}, +{N:"treat",line:"602",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"40",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must be empty"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"let",line:"607","var":"Q{}bad-attributes",as:"*NA", +slot:"70",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"except",op:"except",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]},{N:"docOrder",intra:"1",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-validation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]},{N:"sequence",line:"608",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"70"}]}, +{N:"treat",line:"609",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}wrongAttribute",tailCall:"false",bSlot:"41",C:[{N:"check",card:"+",diag:"0|0||f:wrongAttribute",C:[{N:"first",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"70"}]}]}]}]}]},{N:"let",line:"611","var":"Q{}uri",as:"?AU",slot:"71",C:[{N:"fn",name:"resolve-uri",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:resolve-uri",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component", +slot:"27"},{N:"attVal",name:"Q{}href"}]}]}]},{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|1||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:resolve-uri",C:[{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"11"}]}]}]}]}]},{N:"sequence",line:"612",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"varRef",name:"Q{}uri", +slot:"71"}]},{N:"treat",line:"619",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"42",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"str",val:"XTSE0210"},{N:"true"},{N:"str",val:"XTSE0180"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Document "},{N:"varRef",name:"Q{}uri",slot:"71"}]},{N:"str",val:" is recursively including or importing itself"}]}]}]}]},{N:"choose",line:"621",C:[{N:"lookup",C:[{N:"varRef", +name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"treat",line:"622",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Import/Include static processing for"},{N:"varRef",name:"Q{}uri",slot:"71"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"callT",line:"625",name:"Q{}collect-doc",bSlot:"43",C:[{N:"withParam",name:"Q{}uri",flags:"c",as:"?AU",C:[{N:"varRef",line:"626", +name:"Q{}uri",slot:"71"}]}]}]}]}]}]}]}]},{N:"sequence",line:"630",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"sequence",line:"631",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$doc:"},{N:"fn",name:"serialize",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}, +{N:"message",line:"632",C:[{N:"sequence",role:"select",C:[{N:"str",val:"base-uri($doc):"},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"let",line:"635","var":"Q{}collected",as:"1FM",slot:"72",C:[{N:"let",line:"639","var":"Q{}suffix",as:"1AS",slot:"73", +C:[{N:"fn",name:"codepoints-to-string",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"int",val:"50000"},{N:"cvUntyped",line:"637",to:"ADI",diag:"3|0|XTTE0570|index",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"numSeqFmt",C:[{N:"nodeNum",role:"value",level:"single",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.venn",role:"count",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"}]}]}, +{N:"str",role:"startAt",val:"0"}]}]}]}]}]},{N:"treat",line:"640",as:"FM",diag:"3|0|XTTE0570|collected",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|collected",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"44",C:[{N:"slash",role:"select",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}imported",as:"1AB",C:[{N:"varRef",line:"643",name:"Q{}imported",slot:"68"}]},{N:"withParam",name:"Q{}top-level",flags:"t",as:"1AB",C:[{N:"false"}]},{N:"withParam", +name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"644",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"645",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot",flags:"t",as:"1ADI",C:[{N:"varRef",line:"646",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam",flags:"t",as:"1FM",C:[{N:"varRef",line:"647",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}stylesheet-stack",flags:"t", +as:"*AU",C:[{N:"sequence",line:"648",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"fn",name:"base-uri",C:[{N:"varRef",name:"Q{}doc",slot:"69"}]}]}]},{N:"withParam",name:"Q{}parent-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"649",name:"Q{}version",slot:"20"}]},{N:"withParam",name:"Q{}precLabel",flags:"t",as:"1AS",C:[{N:"choose",line:"655",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"73"}]}, +{N:"true"},{N:"varRef",name:"Q{}precLabel",slot:"2"}]}]},{N:"withParam",name:"Q{}moduleLabel",flags:"t",as:"1AS",C:[{N:"fn",line:"656",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"73"}]}]}]}]}]}]},{N:"sequence",line:"659",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"message",line:"660",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$collected:"},{N:"fn",name:"serialize",C:[{N:"varRef", +name:"Q{}collected",slot:"72"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"adaptive"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"nextIteration",line:"663",C:[{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"664",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"treat",as:"NE",diag:"8|0|XTTE0590|components",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str", +val:"components"}]}]}]}]},{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",line:"670",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"static-vars"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str", +val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"676",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"static-isParam"}]}]}]}, +{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18",C:[{N:"treat",line:"677",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"var-slots"}]}]}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"treat",line:"678",as:"ADI",diag:"8|0|XTTE0590|next-slot", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"next-slot"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"nextIteration",line:"684",C:[{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"685",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]}]}]}]}]}]}]}, +{N:"varRef",line:"691",name:"Q{}result",slot:"26"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.45",seq:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"113",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.nodeTest",test:"ND"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"114",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"45",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"str",val:" must not appear at the outermost level of a stylesheet module"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.4",seq:"2",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"117",module:"static.xsl",C:[{N:"p.venn", +role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"118",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"46",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" can only be a child of a document-node, not a '"}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"' element"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.4",seq:"0",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",as:"1FM", +line:"89",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE"},{N:"p.nodeTest",test:"ND"}]},{N:"check",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"91",card:"1",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}, +{N:"treat",line:"93",as:"FM",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"47",C:[{N:"str",val:"XTSE0150"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}package"}]},{N:"str",val:"Supplied stylesheet is a SEF package"},{N:"true"},{N:"str",val:"Simplified stylesheet root element lacks @xsl:version"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"treat",line:"108", +as:"FM",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"applyT",flags:"ct",bSlot:"-1",C:[{N:"slash",role:"select",line:"96",simple:"1",C:[{N:"doc",C:[{N:"elem",line:"97",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"att",line:"98",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace", +flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"100",name:"xsl:template",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"match",flags:"l",C:[{N:"str",val:"/"}]},{N:"copy",line:"101",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"102",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"axis",line:"108", +name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"co",id:"156",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_BOOLEAN",as:"1FM k[AS] v[1AS]",line:"28",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AB"}]}]}]},{N:"co",id:"154",binds:"154",C:[{N:"function",name:"Q{MyFunctions}nodeTestPriority",line:"61",module:"pattern.xsl",flags:"pU",as:"1AD",slots:"4",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"tailCallLoop", +role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"63",C:[{N:"let","var":"Q{}p",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|p",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|p",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|p",C:[{N:"data",diag:"3|0|XTTE0570|p",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]}]}]}]}]}, +{N:"let",line:"64","var":"Q{}n",as:"?AS",slot:"2",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|n",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|n",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|n",C:[{N:"data",diag:"3|0|XTTE0570|n",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"n"}]}]}]}]}]},{N:"let",line:"65","var":"Q{}c",as:"?AS",slot:"3",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|c",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|c",C:[{N:"cvUntyped", +to:"AS",diag:"3|0|XTTE0570|c",C:[{N:"data",diag:"3|0|XTTE0570|c",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"c"}]}]}]}]}]},{N:"choose",line:"67",C:[{N:"fn",line:"68",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"e"}]}]},{N:"ufCall",line:"70",name:"Q{MyFunctions}nodeTestPriority",tailCall:"self",bSlot:"0",C:[{N:"treat",as:"FM",diag:"0|0||f:nodeTestPriority",C:[{N:"check",card:"1",diag:"0|0||f:nodeTestPriority",C:[{N:"lookup",C:[{N:"varRef", +name:"Q{}type",slot:"0"},{N:"str",val:"e"}]}]}]}]},{N:"and",line:"72",op:"and",C:[{N:"compareToString",op:"eq",val:"N",C:[{N:"varRef",name:"Q{}p",slot:"1"}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"u"}]}]}]},{N:"dec",val:"-0.5"},{N:"and",line:"74",op:"and",C:[{N:"compareToString",op:"eq",val:"NE",C:[{N:"varRef",name:"Q{}p",slot:"1"}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"u"}]}]}]},{N:"dec",val:"0"}, +{N:"and",line:"75",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}n",slot:"2"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}c",slot:"3"}]}]},{N:"dec",val:"0.25"},{N:"fn",line:"76",name:"exists",C:[{N:"varRef",name:"Q{}c",slot:"3"}]},{N:"dec",val:"0"},{N:"fn",line:"77",name:"exists",C:[{N:"varRef",name:"Q{}n",slot:"2"}]},{N:"choose",line:"78",C:[{N:"or",line:"79",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"str",val:"*:"}]},{N:"fn",name:"ends-with",C:[{N:"varRef", +name:"Q{}n",slot:"2"},{N:"str",val:"}*"}]}]},{N:"dec",val:"-0.25"},{N:"vc",line:"80",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"str",val:"*"}]},{N:"dec",val:"-0.5"},{N:"true"},{N:"dec",val:"0"}]},{N:"true"},{N:"dec",val:"-0.5"}]}]}]}]}]}]}]},{N:"co",id:"176",binds:"",C:[{N:"function",name:"Q{coBindings}find-reference",line:"196",module:"component-bindings.xsl",flags:"pU",as:"*AS",slots:"2",C:[{N:"arg",name:"Q{}bindings",as:"*AS"},{N:"arg",name:"Q{}name",as:"1AS"},{N:"choose", +role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"205",C:[{N:"fn",name:"exists",C:[{N:"fn",name:"index-of",C:[{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"true"},{N:"sequence",C:[{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]}]}]}]},{N:"co",id:"177", +binds:"1",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",as:"1AS",line:"52",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"52",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"NP"}]}]}]}]},{N:"co",id:"178",binds:"",C:[{N:"function",name:"Q{MyFunctions}innermostExNs",line:"163",module:"namespaces.xsl", +flags:"pU",as:"?NA",slots:"1",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"co",id:"179",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_STRING",as:"1FM k[AS] v[1AS]",line:"25",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"AS"}]}]}]},{N:"co",id:"180",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg330224683", +as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str", +val:"0"},{N:"str",val:"XTTE3180"},{N:"str",val:"xsl:copy/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"181",binds:"",C:[{N:"function",name:"Q{MyFunctions}precedence-sort",line:"652",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*NE",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*NE"},{N:"sort",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"654", +C:[{N:"varRef",role:"select",name:"Q{}input",slot:"0"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]},{N:"co",id:"182",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SAME_TYPE", +as:"1AS",line:"162",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"EQ"}]}]},{N:"co",id:"183",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ONE_OR_MORE",as:"1ADI",line:"108",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"6"}]}]},{N:"co",id:"184",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ELEMENT",as:"1FM k[AS] v[1AS]",line:"34",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str", +val:"p"},{N:"str",val:"NE"}]}]}]},{N:"co",id:"185",binds:"",C:[{N:"function",name:"Q{MyFunctions}stackTrace",line:"503",module:"lib.xsl",flags:"pU",as:"*",slots:"0",C:[{N:"empty",role:"body"}]}]},{N:"co",id:"186",binds:"",C:[{N:"function",name:"Q{MyFunctions}plainAtt",line:"830",module:"normalize.xsl",flags:"pU",as:"*NA",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"832",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"co",id:"187",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_FLOAT",as:"1FM k[AS] v[1AS]",line:"18",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"AF"}]}]}]},{N:"co",id:"188",binds:"",C:[{N:"function", +name:"Q{MyFunctions}notify",line:"397",module:"lib.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"400",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"400",name:"Q{}code", +slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"}]}]}]},{N:"co",id:"35",binds:"34",C:[{N:"function",name:"Q{MyFunctions}missingChild",line:"819",module:"normalize.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}child",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"822",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", +tailCall:"foreign",bSlot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"str",val:" requires a child element "}]},{N:"varRef",name:"Q{}child",slot:"1"}]},{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]},{N:"co",id:"189",binds:"",C:[{N:"function",name:"Q{MyFunctions}combinedRelationship",line:"296",module:"type.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}rel1",as:"1AS"},{N:"arg",name:"Q{}rel2",as:"1AS"},{N:"choose", +role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"314",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"str",val:"DJ"}]},{N:"str",val:"DJ"},{N:"compareToString", +op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel1",slot:"0"}]},{N:"varRef",name:"Q{}rel2",slot:"1"},{N:"compareToString",op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"true"},{N:"str",val:"OV"}]}]}]},{N:"co",id:"190",binds:"38 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147", +C:[{N:"mode",name:"Q{}sef.top",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"5.0",seq:"326",rank:"8",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6",seq:"364",rank:"7",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"359",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"355",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"344",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"340",rank:"3",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA", +C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data", +diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03",seq:"336",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t", +C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"332",rank:"1",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"376",part:"1",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"87",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"88",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"89",flags:"l", +C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"88"}]},{N:"let",line:"679","var":"Q{}location",as:"1NA",slot:"90",C:[{N:"att",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"91",C:[{N:"choose", +C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"},{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"92",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", +slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"93",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"94",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS", +slot:"95",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"96",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"97",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"ufCall",name:"Q{MyFunctions}boolean-string", +tailCall:"false",bSlot:"1",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"98",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"702",C:[{N:"choose",C:[{N:"lookup", +C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"711","var":"Q{}sorted-precedence-labels",as:"*AS",slot:"99",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels", +C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]},{N:"let",line:"716","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"100",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse", +C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"764","var":"Q{}named-template-signatures",as:"1FM",slot:"101",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str", +role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"102",C:[{N:"let","var":"Q{}highest-precedence", +slot:"103",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+",diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"varRef",name:"Q{}highest-precedence",slot:"103"}]}]}]}]},{N:"sequence", +line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"102"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at", +C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"104",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest",slot:"102"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"105",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}, +{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"104"}]}]}]},{N:"str",role:"terminate", +val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"105"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"map",size:"2",C:[{N:"str", +val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}params",slot:"105"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"}, +{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"3"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, +{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795",C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"106",C:[{N:"treat",as:"FM", +diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"4",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence",line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select",C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false", +bSlot:"5",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"106"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps",as:"*A",slot:"107",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}, +{N:"let",line:"808","var":"Q{}output-declarations",as:"+NE",slot:"108",flags:"e",C:[{N:"condSeq",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"}, +{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name",as:"*A",slot:"109",C:[{N:"currentGroupingKey"}, +{N:"elem",line:"811",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]},{N:"str",val:" "}]}]}]}, +{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"95"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]}, +{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"110",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}, +{N:"let",line:"826","var":"Q{}active",as:"+NA",slot:"111",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"110"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property", +bSlot:"6",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"111"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"111"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation", +val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"112",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property",bSlot:"7",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"112"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"112"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]},{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps", +slot:"113",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}in",as:"*A",slot:"114",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",C:[{N:"let","var":"Q{}input",as:"*NE",slot:"115",C:[{N:"filter",flags:"b", +C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]},{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"115"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder", +val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"114"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation", +val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"116",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"113"},{N:"choose",role:"return",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"107"},{N:"varRef",name:"Q{}c",slot:"116"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]}]},{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"116"}]}]}]}]}, +{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"113"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"864",C:[{N:"elem",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"property", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"872","var":"Q{}character-maps",as:"*NE",slot:"117",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"118",flags:"e",C:[{N:"treat", +as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation", +val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"873","var":"Q{}group-name",as:"*A",slot:"119",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"120",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}, +{N:"let",line:"877","var":"Q{}active",slot:"121",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"120"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active",slot:"121"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"8",C:[{N:"str",val:"XTSE1580"},{N:"fn", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]}]},{N:"str",val:" is defined more than once"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join", +C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]},{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"107"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"9",C:[{N:"str",val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1", +diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"},{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped", +to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"122",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"118"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE", +diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}character-map-dependency",slot:"122"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"10",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency", +slot:"122"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"118"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at", +C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"118"}]}]}]}]}]}]}]}]},{N:"let",line:"915","var":"Q{}expanded-character-maps",as:"*NE",slot:"123",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps", +bSlot:"12",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"117"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"117"}]}]}]},{N:"let",line:"921","var":"Q{}global-context-item",as:"?NE",slot:"124",C:[{N:"let","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",slot:"125",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?", +diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]},{N:"let","var":"Q{}h",slot:"126",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"127",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"127"},{N:"varRef",name:"Q{}h", +slot:"126"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item", +C:[{N:"applyT",mode:"Q{}sef",bSlot:"14",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]}]}]}]}]},{N:"let",line:"944","var":"Q{}static-context",as:"1FM k[AS]",slot:"128",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"96"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"91"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"90"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"106"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str", +val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"108"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",line:"953","var":"Q{}keys",as:"*NE",slot:"129",C:[{N:"sequence",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose", +role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956","var":"Q{}highest-precedence",as:"?AS",slot:"130",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"958","var":"Q{}highest",slot:"131",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"varRef",name:"Q{}highest-precedence",slot:"130"}]}]},{N:"sequence",line:"959",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]}, +{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at", +C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"16",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail", +start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"978","var":"Q{}processed",as:"*NE",slot:"132",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"18",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam", +name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"982",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"98"}]}, +{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"132"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"133",C:[{N:"fn",name:"exists", +C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"995",C:[{N:"currentGroup"},{N:"copy",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"133"}, +{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"},{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options", +slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1011","var":"Q{}global.varPars",as:"*NE",slot:"134",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.varPars",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", +role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, +{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]}, +{N:"let",line:"1022","var":"Q{}global.params",as:"*NE",slot:"135",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"20",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"134"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"128"}]}, +{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A", +C:[{N:"varRef",line:"1029",name:"Q{}defined-attribute-sets",slot:"98"}]}]}]},{N:"let",line:"1033","var":"Q{}global.variables",as:"*NE",slot:"136",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"21",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"134"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t", +as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures", +slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"98"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let", +line:"1048","var":"Q{}global.functions",as:"*NE",slot:"137",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str", +role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat", +C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1054",algorithm:"by",C:[{N:"currentGroup",role:"select"},{N:"fn",role:"key",line:"1052",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"sequence",role:"content",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, +{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"22",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let", +line:"1059","var":"Q{}head",as:"1N",slot:"138",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"23",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"138"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility", +flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"94"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context", +tailCall:"false",bSlot:"24",C:[{N:"varRef",name:"Q{}head",slot:"138"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select",val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1082","var":"Q{}attribute-sets",as:"*NE",slot:"139",C:[{N:"let","var":"Q{}temp", +as:"*NE",slot:"140",flags:"e",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"elem",role:"content",line:"1086",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence", +C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"141",C:[{N:"dot", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1", +diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"25"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", +val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"26",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem",line:"1090",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091",comp:"DESC|CCC", +C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"applyT",line:"1092",mode:"Q{}sef",bSlot:"27",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}, +{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}has-uniform-static-context", +flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"28",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"142",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"140"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}, +{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"142"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"29",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot",type:"1A"}]}]},{N:"varRef", +name:"Q{}direct-dependency",slot:"142"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"140"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"30",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}, +{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"87"}]}]}]}]}]}]},{N:"let",line:"1135","var":"Q{}named.templates",as:"*NE", +slot:"143",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order", +val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc", +op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"31",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"144",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"32",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"144"},{N:"withParam",name:"Q{}static-context", +flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"93"}]},{N:"withParam",name:"Q{}variables", +flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1153",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1155",name:"Q{MyFunctions}has-uniform-static-context", +tailCall:"false",bSlot:"33",C:[{N:"varRef",name:"Q{}head",slot:"144"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1165","var":"Q{}accumulators",as:"*NE",slot:"145",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|accumulators", +C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder", +val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]}, +{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"34",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str", +val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"35",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"90"}]}, +{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"92"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures", +slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"36",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message", +line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1206","var":"Q{}templates",as:"*NE",slot:"146",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"147", +C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209", +"var":"Q{}mode",as:"1",slot:"148",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"147"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence",role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1215",C:[{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"148"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]}, +{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"148"}]}]},{N:"axis",line:"1223",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"149",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates",slot:"146"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", +diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"150",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes", +slot:"97"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal", +name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"37",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and", +C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"97"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"149"},{N:"varRef",name:"Q{}used-modes",slot:"150"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"38",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1274","var":"Q{}mode.decl",as:"*NE",slot:"151",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup", +algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter",line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute", +as:"A",slot:"152",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"153",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1", +comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute",slot:"152"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"154",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"153"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a",slot:"153"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn", +name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"155",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"153"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, +{N:"varRef",name:"Q{}max-prec",slot:"154"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"155"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"152"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values", +C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"156",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"155"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"157", +C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"156"},{N:"varRef",name:"Q{}t",slot:"157"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"152"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"str",val:","}]}]},{N:"str", +val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1312",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"}, +{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select", +C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"158",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data", +diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes",as:"*A",slot:"159",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"149"},{N:"varRef",name:"Q{}declared-modes",slot:"158"},{N:"varRef",name:"Q{}used-modes",slot:"150"},{N:"data",diag:"0|0||fn:distinct-values", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes",slot:"158"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"97"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error", +tailCall:"false",bSlot:"39",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"}]}]},{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1355","var":"Q{}processed-templates",as:"*NE",slot:"160",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"40",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"146"}, +{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"}, +{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]", +C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"100"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]",diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5", +as:"?ADI",slot:"161",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"100"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"162",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels", +slot:"99"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]}]},{N:"let",line:"737","var":"Q{}index",as:"1ADI",slot:"163",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"164",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"varRef",name:"Q{}index",slot:"163"}]},{N:"iterate", +line:"739",C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"163"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"162"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"164"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"161"}]},{N:"choose",role:"action",line:"745",C:[{N:"let", +"var":"Q{http://saxon.sf.net/generated-variable}current1506840194",as:"1",slot:"165",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194",slot:"165"}]},{N:"varRef",name:"Q{}start",slot:"164"}]}]}]},{N:"sequence",line:"749",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1", +diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"164"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"166",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"100"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"arith",op:"-",calc:"i-i", +C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309",slot:"166"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"41",C:[{N:"dot",type:"1NE", +flags:"a"}]}]}]}]},{N:"let",line:"1375","var":"Q{}modes",as:"*NE",slot:"167",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]}, +{N:"elem",line:"1377",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"let","var":"Q{}name",as:"?NA",slot:"168",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"att",line:"1385",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose", +line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"89"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"169",C:[{N:"choose", +C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"168"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"160"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"}, +{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"+A",slot:"170",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"168"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"160"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"170"}]}]}]}]},{N:"let",line:"1404","var":"Q{}temp",as:"1NE",slot:"171",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}sef",bSlot:"42",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version", +slot:"91"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1407",name:"Q{}precedence-map",slot:"100"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"145"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp",slot:"171"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416", +C:[{N:"varRef",name:"Q{}mode-templates",slot:"169"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef", +name:"Q{}modes",slot:"167"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"96"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec", +val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att",name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", +val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l",C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"43"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select",val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}, +{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]},{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix",bSlot:"44",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"124"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"143"},{N:"varRef",name:"Q{}global.functions",slot:"137"},{N:"varRef",name:"Q{}global.params",slot:"135"},{N:"varRef",name:"Q{}global.variables",slot:"136"},{N:"varRef",name:"Q{}attribute-sets", +slot:"139"},{N:"varRef",name:"Q{}modes",slot:"167"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis",line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}, +{N:"varRef",line:"1454",name:"Q{}keys",slot:"129"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"108"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps",slot:"123"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"145"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"45"},{N:"callT",line:"1457",name:"Q{}strip-space",bSlot:"46",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"100"}]}, +{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"376",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"sequence",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t", +as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"2",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"3",C:[{N:"fn",name:"exists",C:[{N:"axis", +name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"4",flags:"l",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"3"}]},{N:"let",line:"678","var":"Q{}location",as:"1NA",slot:"5",C:[{N:"att",line:"679",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize", +C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"6",C:[{N:"choose",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"}, +{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"7",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"8",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"9", +flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"10",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"11",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"}, +{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"12",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"47",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"13",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2", +C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"702",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"710", +"var":"Q{}sorted-precedence-labels",as:"*AS",slot:"14",C:[{N:"convert",line:"711",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]}, +{N:"let",line:"714","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"15",C:[{N:"ifCall",line:"716",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str", +val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"762","var":"Q{}named-template-signatures",as:"1FM",slot:"16",C:[{N:"ifCall",line:"764",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, +{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"17",C:[{N:"let","var":"Q{}highest-precedence",slot:"18",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+", +diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"varRef",name:"Q{}highest-precedence",slot:"18"}]}]}]}]},{N:"sequence",line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"17"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"48", +C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"19",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest", +slot:"17"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"20",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest", +slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"19"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str", +val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash", +simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}, +{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"49"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795", +C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"21",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"50",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence", +line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select",C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"51",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps", +as:"*A",slot:"22",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"806","var":"Q{}output-declarations",as:"+NE",slot:"23",flags:"e",C:[{N:"condSeq",line:"808",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name",as:"*A",slot:"24",C:[{N:"currentGroupingKey"},{N:"elem",line:"810",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"811",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:" "}]}]}]},{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att", +name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"10"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]}, +{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"25",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"826","var":"Q{}active",as:"+NA", +slot:"26",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"25"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property",bSlot:"52",C:[{N:"first",role:"select",C:[{N:"varRef", +name:"Q{}active",slot:"26"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"26"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"27",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property",bSlot:"53",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"27"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"27"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]}, +{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps",slot:"28",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}in",as:"*A",slot:"29",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",C:[{N:"let","var":"Q{}input",as:"*NE",slot:"30",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}, +{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"30"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS", +flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"29"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"31",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"28"},{N:"choose",role:"return",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"22"},{N:"varRef",name:"Q{}c",slot:"31"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors", +loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]}]},{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"31"}]}]}]}]},{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att", +name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"28"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"862",C:[{N:"elem",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"864",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value", +flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"870","var":"Q{}character-maps",as:"*NE",slot:"32",C:[{N:"let",line:"871","var":"Q{}temp",as:"*NE",slot:"33",flags:"e",C:[{N:"treat",line:"872",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content", +line:"873","var":"Q{}group-name",as:"*A",slot:"34",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"35",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"877","var":"Q{}active",slot:"36",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"varRef",name:"Q{}highest-precedence",slot:"35"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active",slot:"36"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"54",C:[{N:"str",val:"XTSE1580"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]}]},{N:"str",val:" is defined more than once"}]}, +{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn", +name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]},{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"22"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"55",C:[{N:"str", +val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"}, +{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]}, +{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"37",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"33"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", +diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE",diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef", +name:"Q{}character-map-dependency",slot:"37"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"56",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency",slot:"37"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef", +name:"Q{}temp",slot:"33"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"57",C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}, +{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"33"}]}]}]}]}]}]}]}]},{N:"let",line:"914","var":"Q{}expanded-character-maps",as:"*NE",slot:"38",C:[{N:"treat",line:"915",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps",bSlot:"58",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"32"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"32"}]}]}]}, +{N:"let",line:"920","var":"Q{}global-context-item",as:"?NE",slot:"39",C:[{N:"let",line:"921","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",slot:"40",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?",diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions", +slot:"40"}]}]},{N:"let","var":"Q{}h",slot:"41",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"42",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"42"},{N:"varRef",name:"Q{}h",slot:"41"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item", +C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"59",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"applyT",mode:"Q{}sef",bSlot:"60",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]}]},{N:"let",line:"944", +"var":"Q{}static-context",as:"1FM k[AS]",slot:"43",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"11"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"6"}]},{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"23"}]}]},{N:"map",size:"2", +C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",line:"952","var":"Q{}keys",as:"*NE",slot:"44",C:[{N:"sequence",line:"953",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose",role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956", +"var":"Q{}highest-precedence",as:"?AS",slot:"45",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"958","var":"Q{}highest",slot:"46",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"45"}]}]},{N:"sequence",line:"959", +C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]},{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"61",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"}, +{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"62",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"63",C:[{N:"str", +val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest", +slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"977","var":"Q{}processed",as:"*NE",slot:"47",C:[{N:"treat",line:"978",as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"64",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam",name:"Q{}static-context",flags:"t", +as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"982",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}default-collation", +flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"47"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"48",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"}, +{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"994",C:[{N:"currentGroup"},{N:"copy",line:"995",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"48"},{N:"fn",name:"not",C:[{N:"fn",name:"contains", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"},{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message", +line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1009","var":"Q{}global.varPars",as:"*NE",slot:"49",C:[{N:"treat",line:"1011",as:"NE",diag:"3|0|XTTE0570|global.varPars",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", +role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, +{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"65",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]}, +{N:"let",line:"1021","var":"Q{}global.params",as:"*NE",slot:"50",C:[{N:"treat",line:"1022",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"66",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"43"}]}, +{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef", +line:"1029",name:"Q{}defined-attribute-sets",slot:"13"}]}]}]},{N:"let",line:"1032","var":"Q{}global.variables",as:"*NE",slot:"51",C:[{N:"treat",line:"1033",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"67",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t", +as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures",slot:"16"}]}, +{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"13"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1047", +"var":"Q{}global.functions",as:"*NE",slot:"52",C:[{N:"treat",line:"1048",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str", +role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat", +C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1052",algorithm:"by",C:[{N:"currentGroup",role:"select"},{N:"fn",role:"key",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"sequence",role:"content",line:"1054",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, +{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"68",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let", +line:"1059","var":"Q{}head",as:"1N",slot:"53",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"69",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"53"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility", +flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"9"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context", +tailCall:"false",bSlot:"70",C:[{N:"varRef",name:"Q{}head",slot:"53"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select",val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1080","var":"Q{}attribute-sets",as:"*NE",slot:"54",C:[{N:"let",line:"1081","var":"Q{}temp", +as:"*NE",slot:"55",flags:"e",C:[{N:"forEachGroup",line:"1082",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"elem",role:"content",line:"1083",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"1086",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context", +as:"1NE",slot:"56",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, +{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"namespace", +nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"71"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, +{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"72",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem",line:"1089",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",line:"1090",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091", +comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"applyT",line:"1092",mode:"Q{}sef",bSlot:"73",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam", +name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"74",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"57",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"55"},{N:"axis", +name:"child",nodeTest:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"}, +{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"75",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot", +type:"1A"}]}]},{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"55"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"76",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"}, +{N:"dec",val:"2"}]},{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"2"}]}]}]}]}]}]},{N:"let",line:"1134","var":"Q{}named.templates", +as:"*NE",slot:"58",C:[{N:"treat",line:"1135",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]}, +{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"77",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str", +val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"59",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"78",C:[{N:"varRef",role:"select",name:"Q{}head", +slot:"59"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2", +slot:"8"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1153",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall", +line:"1155",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"79",C:[{N:"varRef",name:"Q{}head",slot:"59"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1164","var":"Q{}accumulators", +as:"*NE",slot:"60",C:[{N:"treat",line:"1165",as:"NE",diag:"3|0|XTTE0570|accumulators",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]}, +{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"80",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str", +val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"81",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location", +flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"7"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures", +flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"82",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef", +name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1205","var":"Q{}templates",as:"*NE",slot:"61",C:[{N:"forEach",line:"1206",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"62",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]}, +{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209","var":"Q{}mode",as:"1",slot:"63",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"62"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence",role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1213",C:[{N:"and",line:"1215",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"63"}]}, +{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"63"}]}]},{N:"axis",line:"1223",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"64",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates", +slot:"61"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"65",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values", +C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"}, +{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"12"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"}, +{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"83",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]}, +{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes", +slot:"12"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}used-modes",slot:"65"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"84",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1271","var":"Q{}mode.decl", +as:"*NE",slot:"66",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter",line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute",as:"A",slot:"67",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"68",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"}, +{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute",slot:"67"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"69",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"68"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a", +slot:"68"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"70",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"68"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, +{N:"varRef",name:"Q{}max-prec",slot:"69"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"70"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"67"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values", +C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"71",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"70"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"72", +C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"71"},{N:"varRef",name:"Q{}t",slot:"72"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"67"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"str",val:","}]}]},{N:"str", +val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1311",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",line:"1312",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"}, +{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select", +C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"73",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data", +diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes",as:"*A",slot:"74",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"varRef",name:"Q{}used-modes",slot:"65"},{N:"data",diag:"0|0||fn:distinct-values", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"12"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error", +tailCall:"false",bSlot:"85",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]}]},{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1354","var":"Q{}processed-templates",as:"*NE",slot:"75",C:[{N:"treat",line:"1355",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"86",C:[{N:"varRef",role:"select",name:"Q{}templates", +slot:"61"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", +slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]", +C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]",diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5", +as:"?ADI",slot:"76",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"77",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels", +slot:"14"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]},{N:"let",line:"737","var":"Q{}index",as:"1ADI",slot:"78",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"79",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{}index",slot:"78"}]},{N:"iterate",line:"739", +C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"78"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"77"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"79"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"76"}]},{N:"choose",role:"action",line:"745",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1506840194", +as:"1",slot:"80",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194",slot:"80"}]},{N:"varRef",name:"Q{}start",slot:"79"}]}]}]},{N:"sequence",line:"749",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"79"}]}, +{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"81",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309", +slot:"81"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"87",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"let",line:"1374","var":"Q{}modes",as:"*NE",slot:"82",C:[{N:"forEach", +line:"1375",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"elem",line:"1376",name:"co",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"let",line:"1377","var":"Q{}name",as:"?NA",slot:"83",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"att",line:"1385",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose",line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6", +slot:"4"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"84",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"filter",flags:"b",C:[{N:"varRef", +name:"Q{}processed-templates",slot:"75"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7", +as:"+A",slot:"85",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"75"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef", +name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"85"}]}]}]}]},{N:"let",line:"1403","var":"Q{}temp",as:"1NE",slot:"86",C:[{N:"treat",line:"1404",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}sef",bSlot:"88",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef", +line:"1407",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"60"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp",slot:"86"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416",C:[{N:"varRef",name:"Q{}mode-templates",slot:"84"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence", +role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error", +val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"11"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str", +val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att",name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l", +C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"89"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select",val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]}, +{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix",bSlot:"90",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}, +{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"39"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"58"},{N:"varRef",name:"Q{}global.functions",slot:"52"},{N:"varRef",name:"Q{}global.params",slot:"50"},{N:"varRef",name:"Q{}global.variables",slot:"51"},{N:"varRef",name:"Q{}attribute-sets",slot:"54"},{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id", +flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis",line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"varRef",line:"1454",name:"Q{}keys",slot:"44"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"23"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps", +slot:"38"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"60"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"91"},{N:"callT",line:"1457",name:"Q{}strip-space",bSlot:"92",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"376",part:"2",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"172",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"173",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"174",flags:"l", +C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"173"}]},{N:"let",line:"679","var":"Q{}location",as:"1NA",slot:"175",C:[{N:"att",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"176",C:[{N:"choose", +C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"},{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"177",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", +slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"178",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"179",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"1AS",slot:"180",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"181",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"182",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"ufCall", +name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"93",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"183",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence", +line:"702",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"711","var":"Q{}sorted-precedence-labels",as:"*AS",slot:"184",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped", +to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]},{N:"let",line:"716","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"185",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"764","var":"Q{}named-template-signatures", +as:"1FM",slot:"186",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC", +C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest", +as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"187",C:[{N:"let","var":"Q{}highest-precedence",slot:"188",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+",diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}, +{N:"varRef",name:"Q{}highest-precedence",slot:"188"}]}]}]}]},{N:"sequence",line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"187"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"94",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]}, +{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"189",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest",slot:"187"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"190",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest", +slot:"189"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "}, +{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"189"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"190"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef", +name:"Q{}params",slot:"190"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"95"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str", +val:"XQDY0137"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795",C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, +{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"191",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"96",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence",line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select", +C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"97",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"191"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps",as:"*A",slot:"192",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"808","var":"Q{}output-declarations",as:"+NE",slot:"193",flags:"e",C:[{N:"condSeq",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str", +role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name", +as:"*A",slot:"194",C:[{N:"currentGroupingKey"},{N:"elem",line:"811",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"194"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef", +name:"Q{}group-name",slot:"194"}]},{N:"str",val:" "}]}]}]},{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"180"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"}, +{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"195",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder", +intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"826","var":"Q{}active",as:"+NA",slot:"196",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent", +nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"195"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property",bSlot:"98",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"196"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"196"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0", +C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"197",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property", +bSlot:"99",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"197"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"197"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]},{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]}, +{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps",slot:"198",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}in",as:"*A",slot:"199",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +C:[{N:"let","var":"Q{}input",as:"*NE",slot:"200",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]},{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"200"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order", +val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select", +name:"Q{}in",slot:"199"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"201",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"198"},{N:"choose",role:"return", +C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"192"},{N:"varRef",name:"Q{}c",slot:"201"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"194"}]}]}, +{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"201"}]}]}]}]},{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"198"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"864",C:[{N:"elem", +name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"872","var":"Q{}character-maps", +as:"*NE",slot:"202",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"203",flags:"e",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""}, +{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"873","var":"Q{}group-name",as:"*A",slot:"204",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"205",C:[{N:"fn",name:"min",C:[{N:"forEach", +C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"877","var":"Q{}active",slot:"206",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"205"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active", +slot:"206"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"100",C:[{N:"str",val:"XTSE1580"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"204"}]}]},{N:"str",val:" is defined more than once"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"204"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}, +{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"192"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"101",C:[{N:"str",val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef", +name:"Q{}group-name",slot:"204"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"},{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first", +C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"207",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"203"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str", +val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE",diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}character-map-dependency",slot:"207"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"102",C:[{N:"convert",from:"A",to:"AS", +flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency",slot:"207"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"203"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"103", +C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"203"}]}]}]}]}]}]}]}]},{N:"let",line:"915", +"var":"Q{}expanded-character-maps",as:"*NE",slot:"208",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps",bSlot:"104",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"202"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"202"}]}]}]},{N:"let",line:"921","var":"Q{}global-context-item",as:"?NE",slot:"209",C:[{N:"let","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item", +slot:"210",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?",diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]},{N:"let","var":"Q{}h",slot:"211",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"212",C:[{N:"tail", +start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"212"},{N:"varRef",name:"Q{}h",slot:"211"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"105",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check", +card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"applyT",mode:"Q{}sef",bSlot:"106",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]}]}]}]}]},{N:"let",line:"944","var":"Q{}static-context",as:"1FM k[AS]",slot:"213",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"181"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"176"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"175"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM", +C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"191"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"193"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",line:"953","var":"Q{}keys",as:"*NE",slot:"214",C:[{N:"sequence",C:[{N:"treat",as:"NE", +diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, +{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose",role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956","var":"Q{}highest-precedence",as:"?AS",slot:"215",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let", +line:"958","var":"Q{}highest",slot:"216",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"215"}]}]},{N:"sequence",line:"959",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest", +slot:"216"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]},{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"107",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]}, +{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"ufCall", +name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"108",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"109",C:[{N:"str",val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]}, +{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"978","var":"Q{}processed",as:"*NE",slot:"217",C:[{N:"treat", +as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"110",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef", +line:"982",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"217"},{N:"attVal",role:"key",name:"Q{}name"}, +{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"218",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"995",C:[{N:"currentGroup"},{N:"copy",flags:"cin", +sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"218"},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"}, +{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1011","var":"Q{}global.varPars",as:"*NE",slot:"219",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.varPars", +C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"}, +{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]}, +{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"111",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name", +C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]},{N:"let",line:"1022","var":"Q{}global.params",as:"*NE",slot:"220",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"112",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars", +slot:"219"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", +slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1029",name:"Q{}defined-attribute-sets",slot:"183"}]}]}]},{N:"let",line:"1033","var":"Q{}global.variables",as:"*NE",slot:"221",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"113", +C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"219"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t", +as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"183"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"}, +{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1048","var":"Q{}global.functions",as:"*NE",slot:"222",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", +role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat",C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1054",algorithm:"by",C:[{N:"currentGroup",role:"select"}, +{N:"fn",role:"key",line:"1052",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, +{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"114",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]}, +{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1059","var":"Q{}head",as:"1N",slot:"223",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"115",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"223"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061", +name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"179"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets", +flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"116",C:[{N:"varRef",name:"Q{}head",slot:"223"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select", +val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1082","var":"Q{}attribute-sets",as:"*NE",slot:"224",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"225",flags:"e",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"elem",role:"content",line:"1086",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"226",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47", +C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}, +{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"117"},{N:"fn",name:"name", +C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"118",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem", +line:"1090",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, +{N:"applyT",line:"1092",mode:"Q{}sef",bSlot:"119",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}named-template-signatures", +flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"120",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"227",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"225"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}, +{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"227"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"121",C:[{N:"convert", +from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}direct-dependency",slot:"227"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"225"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"122",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str", +val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"172"}]}]}]}]}]}]},{N:"let",line:"1135","var":"Q{}named.templates",as:"*NE",slot:"228",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", +role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"123",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"229",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first", +C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"124",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"229"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"176"}]}, +{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"178"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef", +line:"1153",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1155",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"125",C:[{N:"varRef",name:"Q{}head",slot:"229"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"}, +{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1165","var":"Q{}accumulators",as:"*NE",slot:"230",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|accumulators",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"126",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"127",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam", +name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"177"}]}, +{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184", +name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"128",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1206","var":"Q{}templates",as:"*NE",slot:"231", +C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"232",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209","var":"Q{}mode",as:"1",slot:"233",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"232"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence", +role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1215",C:[{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"233"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"233"}]}]},{N:"axis",line:"1223",name:"child", +nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"234",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates",slot:"231"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"235",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data", +diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"182"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter", +flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"129",C:[{N:"str", +val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter", +flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"182"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"234"},{N:"varRef",name:"Q{}used-modes",slot:"235"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"130",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1274","var":"Q{}mode.decl",as:"*NE",slot:"236",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter", +line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]}, +{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute",as:"A",slot:"237",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis", +name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"238",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute", +slot:"237"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"239",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"238"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a",slot:"238"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"240",C:[{N:"fn", +name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"238"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}max-prec",slot:"239"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"240"}]}]}, +{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"237"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int", +val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"241",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"240"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"242",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}, +{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"241"},{N:"varRef",name:"Q{}t",slot:"242"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"237"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"str",val:","}]}]},{N:"str",val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1312",name:"xsl:mode", +nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, +{N:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate", +val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"243",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data",diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes", +as:"*A",slot:"244",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"234"},{N:"varRef",name:"Q{}declared-modes",slot:"243"},{N:"varRef",name:"Q{}used-modes",slot:"235"},{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes", +slot:"243"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"182"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"131",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"}]}]}, +{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1355","var":"Q{}processed-templates",as:"*NE",slot:"245",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"132",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"231"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357", +name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t", +as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]", +diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"?ADI",slot:"246",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"185"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function", +C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"247",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]}]},{N:"let",line:"737", +"var":"Q{}index",as:"1ADI",slot:"248",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"249",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"varRef",name:"Q{}index",slot:"248"}]},{N:"iterate",line:"739",C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"248"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"247"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"249"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"246"}]},{N:"choose",role:"action",line:"745",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1506840194",as:"1",slot:"250",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194", +slot:"250"}]},{N:"varRef",name:"Q{}start",slot:"249"}]}]}]},{N:"sequence",line:"749",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"249"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"251",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"185"}, +{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309",slot:"251"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]}, +{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"133",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"let",line:"1375","var":"Q{}modes",as:"*NE",slot:"252",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform", +C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"elem",line:"1377",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"let","var":"Q{}name",as:"?NA",slot:"253",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"att",line:"1385", +name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose",line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"174"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0", +comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"254",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"253"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"245"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn", +name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"+A",slot:"255",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"253"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates", +slot:"245"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"255"}]}]}]}]},{N:"let",line:"1404","var":"Q{}temp",as:"1NE",slot:"256",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp", +C:[{N:"applyT",mode:"Q{}sef",bSlot:"134",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1407",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"230"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp", +slot:"256"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416",C:[{N:"varRef",name:"Q{}mode-templates",slot:"254"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup", +C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"252"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose", +C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"181"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att", +name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l",C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"135"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select", +val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]},{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix", +bSlot:"136",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"209"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"228"},{N:"varRef",name:"Q{}global.functions", +slot:"222"},{N:"varRef",name:"Q{}global.params",slot:"220"},{N:"varRef",name:"Q{}global.variables",slot:"221"},{N:"varRef",name:"Q{}attribute-sets",slot:"224"},{N:"varRef",name:"Q{}modes",slot:"252"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis", +line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"varRef",line:"1454",name:"Q{}keys",slot:"214"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"193"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps",slot:"208"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"230"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"137"},{N:"callT",line:"1457",name:"Q{}strip-space", +bSlot:"138",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"197",binds:"1 94",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_NAMESPACE",as:"1AS",line:"54",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall", +ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"54",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_NAMESPACE",bSlot:"1"}]}]}]},{N:"co",id:"198",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}RPAREN",as:"1ADI",line:"16",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"41"}]}]},{N:"co",id:"199",binds:"",C:[{N:"mode",name:"Q{}on-empty",onNo:"SC",flags:"W",patternSlots:"0", +C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"177",rank:"0",minImp:"0",slots:"3",matches:"NE",flags:"s",line:"184",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"184",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"axis", +name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"185",C:[{N:"param",name:"Q{}element.attributes",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|element.attributes",C:[{N:"cvUntyped", +to:"AS",diag:"8|0|XTTE0590|element.attributes",C:[{N:"data",diag:"8|0|XTTE0590|element.attributes",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"copy",line:"186",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"187",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"188","var":"Q{}attributes",as:"*NE",slot:"1",C:[{N:"union",op:"|",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}att"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef", +name:"Q{}element.attributes",slot:"0"},{N:"attVal",name:"Q{}name"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"}]},{N:"let",line:"189","var":"Q{}onEmpty",as:"*NE nQ{http://ns.saxonica.com/xslt/export}onEmpty",slot:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"elem",line:"190",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"191",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef", +role:"select",name:"Q{}attributes",slot:"1"}]},{N:"elem",line:"192",name:"condSeq",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"194",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"union",op:"|",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attributes",slot:"1"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}onEmpty",slot:"2"}]}]}]}]},{N:"applyT",line:"196",flags:"c",bSlot:"-1",C:[{N:"varRef", +role:"select",name:"Q{}onEmpty",slot:"2"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"176",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"s",line:"181",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"182",type:"1NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"a"}]}]}]},{N:"co",id:"200",binds:"107",C:[{N:"function",name:"Q{MyFunctions}isKnownCollation",line:"18",module:"sorting.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}uri",as:"1AS"},{N:"or",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",op:"or",C:[{N:"gc",op:"=",card:"N:1", +comp:"CCC",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg728602192",bSlot:"0"},{N:"varRef",name:"Q{}uri",slot:"0"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}uri",slot:"0"},{N:"str",val:"http://www.w3.org/2013/collation/UCA"}]}]}]}]},{N:"co",id:"201",binds:"",C:[{N:"function",name:"Q{MyTypes}isNode",line:"453",module:"type.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"455","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS", +diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"N"}]}]}]}]}]},{N:"co",id:"168",binds:"",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1960031800",as:"1AS",line:"365",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"365", +name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"sequence",C:[{N:"str",val:"DO NOT EDIT: compiled with initial template compileXSLTschema "},{N:"fn",name:"current-dateTime"}]}]},{N:"str",val:" "}]}]}]},{N:"co",id:"202",binds:"",C:[{N:"function",name:"Q{MyFunctions}increasing-precedence-sort",line:"660",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*NE",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*NE"},{N:"sort",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"0"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]},{N:"co",id:"203",binds:"",C:[{N:"globalVariable",name:"Q{}XSL-ignore", +as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}ignore c~untyped",line:"131",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"132",name:"xsl:ignore",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"empty"}]}]}]},{N:"co",id:"204",binds:"22",C:[{N:"function",name:"Q{MyFunctions}wrongChild",line:"785",module:"normalize.xsl", +flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"+N"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"787",C:[{N:"first",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"ufCall",line:"800",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"choose",line:"793",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis", +name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"str",val:"XTSE0130"},{N:"true"},{N:"str",val:"XTSE0010"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]},{N:"str",val:" cannot contain "}]},{N:"choose",C:[{N:"instance",of:"1NE",C:[{N:"dot",type:"1N"}]}, +{N:"fn",name:"concat",C:[{N:"str",val:"element "},{N:"fn",name:"name",C:[{N:"dot",type:"1N"}]}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:"non-whitespace text:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1N"}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"205",binds:"",C:[{N:"function",name:"Q{MyFunctions}has-uniform-namespaces",line:"131",module:"namespaces.xsl",flags:"pU",as:"1AB",slots:"1", +C:[{N:"arg",name:"Q{}element",as:"1N"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"133",name:"Q{http://saxon.sf.net/}has-uniform-namespaces",type:"1AB",C:[{N:"treat",as:"NE",diag:"0|0||saxon:has-uniform-namespaces",C:[{N:"varRef",name:"Q{}element",slot:"0"}]}]}]}]},{N:"co",id:"206",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}card-symbols",as:"1FM k[ADI] v[1]", +line:"121",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"5",C:[{N:"int",val:"1"},{N:"str",val:"0"},{N:"int",val:"2"},{N:"str",val:"1"},{N:"int",val:"3"},{N:"str",val:"?"},{N:"int",val:"6"},{N:"str",val:"+"},{N:"int",val:"7"},{N:"str",val:"*"}]}]}]},{N:"co",id:"207",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}card-values",as:"1FM k[AS] v[1ADI]",line:"120",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"5",C:[{N:"str",val:"*"},{N:"int",val:"7"},{N:"str",val:"+"}, +{N:"int",val:"6"},{N:"str",val:"0"},{N:"int",val:"1"},{N:"str",val:"1"},{N:"int",val:"2"},{N:"str",val:"?"},{N:"int",val:"3"}]}]}]},{N:"co",id:"208",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}APOS",as:"1ADI",line:"20",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"39"}]}]},{N:"co",id:"171",binds:"",C:[{N:"template",name:"Q{}check-use-when",flags:"os",as:"1AB",line:"1097",module:"static.xsl",slots:"7",C:[{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1098",card:"1",diag:"7|0|XTTE0505|check-use-when",C:[{N:"sequence",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1099",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1100","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose",line:"1101",C:[{N:"fn",line:"1102",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]},{N:"check",line:"1103",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p", +diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]}]}]}]}]},{N:"true"},{N:"check",line:"1106",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression", +C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}use-when"}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1111","var":"Q{}dot",as:"1",slot:"4",C:[{N:"dot",flags:"a"},{N:"let",line:"1115","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE",slot:"5",flags:"l",C:[{N:"treat",as:"NE",diag:"0|1||fn:namespace-uri-for-prefix", +C:[{N:"varRef",name:"Q{}dot",slot:"4"}]},{N:"compElem",line:"1112",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1113",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"treat",as:"NE",diag:"0|0||fn:in-scope-prefixes",C:[{N:"dot",flags:"a"}]}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt", +line:"1115",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"5"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]}]},{N:"treat",line:"1123",as:"AB",diag:"7|0|XTTE0505|check-use-when",C:[{N:"cvUntyped",to:"AB",diag:"7|0|XTTE0505|check-use-when",C:[{N:"data", +diag:"7|0|XTTE0505|check-use-when",C:[{N:"try",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri",C:[{N:"dot",flags:"a"}]}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]}, +{N:"withParam",name:"Q{}compileSyntax",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}errorsAsMessages",as:"1AB",C:[{N:"false"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1131",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Y"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error", +C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"let",line:"1136","var":"Q{}possibleCode",as:"1AS",slot:"6",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before", +C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]},{N:"choose",line:"1143",C:[{N:"castable",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"substring-after",C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A", +to:"AS",flags:"p",diag:"0|0||fn:substring-after",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"fn",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info", +type:"*",C:[{N:"str",val:"code"}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"209",binds:"22",C:[{N:"function",name:"Q{MyFunctions}missingAttribute",line:"824",module:"normalize.xsl",flags:"pU",as:"*", +slots:"2",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}attribute",as:"1AS"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"827",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" requires an @"}]},{N:"varRef",name:"Q{}attribute",slot:"1"}]},{N:"str",val:" attribute"}]},{N:"dot",type:"1NE"}]}]}]}]},{N:"co",id:"210",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}MANY",as:"1ADI",line:"103",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"4"}]}]},{N:"co",id:"211",binds:"206 1",C:[{N:"function",name:"Q{MyTypes}cardCheck",line:"964",module:"type.xsl",flags:"pU",as:"1NE",slots:"4",C:[{N:"arg",name:"Q{}expression", +as:"1NE"},{N:"arg",name:"Q{}reqCard",as:"1ADI"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"970",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A", +to:"AS",C:[{N:"data",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{MyTypes}card-symbols",bSlot:"0"},{N:"varRef",name:"Q{}reqCard",slot:"1"}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"slash",line:"971",simple:"1",C:[{N:"varRef", +name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"971",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"146",binds:"146 146 146 146",C:[{N:"function",name:"Q{MyFunctions}pattern-matches-node-kind",line:"88",module:"pattern.xsl",flags:"pU",as:"1AB",slots:"4",C:[{N:"arg",name:"Q{}pattern",as:"?NE"},{N:"arg",name:"Q{}node-kind",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"91",C:[{N:"choose",C:[{N:"fn",line:"92",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]},{N:"or",line:"93",op:"or",C:[{N:"compareToString",op:"eq",val:"N",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"attVal",name:"Q{}test"}]}]}]}]}]}, +{N:"fn",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"attVal",name:"Q{}test"}]}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"95",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"}]}]}]}, +{N:"choose",line:"97",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"union"}]}]}]},{N:"some",line:"98","var":"Q{}operand",slot:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"false",bSlot:"0",C:[{N:"varRef", +name:"Q{}operand",slot:"2"},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"100",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"intersect"}]}]}]},{N:"every",line:"101","var":"Q{}operand",slot:"3",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind", +tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}operand",slot:"3"},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"103",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"except"}]}]}]},{N:"ufCall",line:"104",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"self",bSlot:"2",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"}, +{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]},{N:"true"},{N:"error",line:"96",message:"Conditional expression: None of the conditions is satisfied, so an empty sequence is returned, but this is not allowed as the result of a call to f:pattern-matches-node-kind#2",code:"XTTE0780",isTypeErr:"0"}]},{N:"fn",line:"108",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"axis", +name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper"}]}]}]}]},{N:"ufCall",line:"109",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"self",bSlot:"3",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]},{N:"true"},{N:"true"}]}]}]}]},{N:"co",id:"212",binds:"1 60",C:[{N:"globalVariable", +name:"Q{}SJ.OPTIONAL_DOCUMENT",as:"1AS",line:"47",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.OPTIONAL_DOCUMENT",bSlot:"1"}]}]}]},{N:"co",id:"213",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ATOMIC",as:"1FM k[AS] v[1AS]",line:"14",module:"sequenceType.xsl",visibility:"PRIVATE", +C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"214",binds:"1",C:[{N:"function",name:"Q{MyTypes}cardCheck",line:"954",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"958",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"},{N:"str",val:"o"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"}]}]},{N:"att",name:"diag", +flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"959",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"959",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"215",binds:"",C:[{N:"function",name:"Q{MyFunctions}message-count",line:"26",module:"lib.xsl",flags:"pU",as:"1ADI",slots:"1",C:[{N:"arg",name:"Q{}code",as:"?AQ"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"28",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"varRef",name:"Q{}code",slot:"0"}]}]}]},{N:"co",id:"216",binds:"216",C:[{N:"template",name:"Q{}expandCharMapRef",flags:"os",line:"170",module:"output.xsl",slots:"3",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"171",C:[{N:"param",name:"Q{}charMapRef",slot:"0",flags:"i",as:"1AS", +C:[{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|charMapRef",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|charMapRef",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|charMapRef",C:[{N:"data",diag:"8|0|XTTE0590|charMapRef",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"172",name:"Q{}charMaps",slot:"1",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|charMaps",C:[{N:"supplied",slot:"1"}]}]},{N:"let",line:"174","var":"Q{}usedCharMap", +as:"*NE",slot:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}charMaps",slot:"1"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{}charMapRef",slot:"0"}]}]},{N:"choose",line:"175",C:[{N:"fn",line:"176",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"177",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}]}]}]}]}]},{N:"callT",line:"178",name:"Q{}expandCharMapRef", +bSlot:"0",C:[{N:"withParam",name:"Q{}charMapRef",flags:"c",as:"1AS",C:[{N:"fn",line:"179",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"withParam",name:"Q{}charMaps",flags:"c",as:"*NE",C:[{N:"varRef",line:"180",name:"Q{}charMaps",slot:"1"}]}]}]},{N:"conditionalSort",line:"183",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"child", +nodeTest:"NE n*:m"}]}]}]}]},{N:"true"},{N:"conditionalSort",line:"186",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"child",nodeTest:"NE n*:m"}]}]}]}]}]}]}]}]},{N:"co",id:"217",binds:"",C:[{N:"function",name:"Q{MyTypes}type-error",line:"1174",module:"type.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg", +name:"Q{}requiredType",as:"1FM"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1179",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Wrong type "},{N:"fn",line:"325",name:"serialize",C:[{N:"varRef",line:"1179",name:"Q{}suppliedType",slot:"0"},{N:"map", +size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]},{N:"str",val:" for ??? - expecting "}]},{N:"fn",line:"325",name:"serialize",C:[{N:"varRef",line:"1179",name:"Q{}requiredType",slot:"1"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]}]}]}]},{N:"co",id:"218",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_NCNAME",as:"1FM k[AS] v[1AS]",line:"29",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"}, +{N:"str",val:"ASNTNC"}]}]}]},{N:"co",id:"175",binds:"22",C:[{N:"template",name:"Q{}collect-doc",flags:"os",as:"1ND",line:"961",module:"static.xsl",slots:"2",C:[{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"962",card:"1",diag:"7|0|XTTE0505|collect-doc",C:[{N:"sequence",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"963",name:"Q{}uri",slot:"1",C:[{N:"fn",role:"select",name:"resolve-uri",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:resolve-uri",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}href"}]}]}]},{N:"check",card:"1",diag:"0|1||fn:resolve-uri",C:[{N:"convert", +from:"AU",to:"AS",flags:"p",diag:"0|1||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:resolve-uri",C:[{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"supplied",role:"conversion",slot:"1"}]},{N:"choose",line:"964",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"sequence",line:"965",C:[{N:"treat",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str", +val:"href:"},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"treat",line:"966",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"BASE-URI:"},{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri", +C:[{N:"dot",flags:"a"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"treat",line:"967",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"resolved-URI:"},{N:"varRef",name:"Q{}uri",slot:"1"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]}]},{N:"treat",line:"970",as:"ND",diag:"7|0|XTTE0505|collect-doc", +C:[{N:"try",flags:"r",C:[{N:"fn",name:"doc",C:[{N:"check",card:"?",diag:"0|0||fn:doc",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:doc",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:doc",C:[{N:"data",diag:"0|0||fn:doc",C:[{N:"varRef",name:"Q{}uri",slot:"1"}]}]}]}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"972",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0165"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" of "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}uri",slot:"1"}]}]},{N:"str",val:" failed:"}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N", +diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]},{N:"doc",line:"973",C:[{N:"elem",line:"975",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"att",line:"976",name:"version",flags:"l",C:[{N:"str",val:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"219",binds:"219",C:[{N:"function",name:"Q{MyTypes}itemTypeRelationship",line:"234",module:"type.xsl",flags:"pU",as:"1AS",slots:"10",C:[{N:"arg",name:"Q{}required",as:"1FM"}, +{N:"arg",name:"Q{}supplied",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"245",C:[{N:"let","var":"Q{}primaryRel",slot:"2",C:[{N:"let","var":"Q{}R",as:"1AS",slot:"3",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data", +diag:"0|0||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"4",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"p"}]}]}]}]}]},{N:"choose",line:"185", +C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"3"},{N:"varRef",name:"Q{}S",slot:"4"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"3"},{N:"varRef",name:"Q{}S",slot:"4"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"4"},{N:"varRef",name:"Q{}R",slot:"3"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]},{N:"choose",line:"247",C:[{N:"or",line:"248",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString", +op:"ne",val:"EQ",C:[{N:"varRef",name:"Q{}primaryRel",slot:"2"}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]},{N:"str",val:""}]}]},{N:"varRef",line:"249",name:"Q{}primaryRel",slot:"2"},{N:"true"},{N:"let",line:"252","var":"Q{}R",slot:"5",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"n"}]},{N:"let",line:"253","var":"Q{}S",slot:"6",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"n"}]},{N:"let",line:"266","var":"Q{}nameRel",as:"1AS",slot:"7", +C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}R",slot:"5"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}S",slot:"6"}]}]},{N:"str",val:"LT"},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}S",slot:"6"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}R",slot:"5"}]}]},{N:"str",val:"GT"},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}R",slot:"5"},{N:"varRef",name:"Q{}S",slot:"6"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"map",size:"0"}]},{N:"str",val:"EQ"},{N:"true"},{N:"str",val:"DJ"}]},{N:"choose",line:"267",C:[{N:"compareToString",line:"268",op:"ne",val:"EQ",C:[{N:"varRef",name:"Q{}nameRel",slot:"7"}]},{N:"varRef",line:"269",name:"Q{}nameRel",slot:"7"},{N:"true"},{N:"let",line:"272","var":"Q{}R",slot:"8",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"e"}]},{N:"let",line:"273","var":"Q{}S",slot:"9",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"e"}]},{N:"choose", +line:"285",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}R",slot:"8"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]},{N:"str",val:"LT"},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}S",slot:"9"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}R",slot:"8"}]}]},{N:"str",val:"GT"},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}R",slot:"8"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]},{N:"str",val:"EQ"},{N:"true"}, +{N:"ufCall",name:"Q{MyTypes}itemTypeRelationship",tailCall:"self",bSlot:"0",C:[{N:"treat",as:"FM",diag:"0|0||t:itemTypeRelationship",C:[{N:"check",card:"1",diag:"0|0||t:itemTypeRelationship",C:[{N:"varRef",name:"Q{}R",slot:"8"}]}]},{N:"treat",as:"FM",diag:"0|1||t:itemTypeRelationship",C:[{N:"check",card:"1",diag:"0|1||t:itemTypeRelationship",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"220",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SUBSUMES",as:"1AS", +line:"163",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"GT"}]}]},{N:"co",id:"221",binds:"",C:[{N:"mode",name:"Q{}process-bindings",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.0",seq:"319",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"s",line:"297",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"300",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",C:[{N:"sequence",role:"content",line:"301",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"308",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"choose",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}flags"}]}]}]},{N:"str", +val:"c"},{N:"str",val:""}]},{N:"int",val:"-1"},{N:"true"},{N:"let",line:"299","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"M:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"308",type:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn", +name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]}]},{N:"applyT",line:"316",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"316",rank:"0",minImp:"0",slots:"4",matches:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"s",line:"254",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"256",C:[{N:"param",name:"Q{}global-shadows",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|global-shadows",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|global-shadows",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"257","var":"Q{}name",as:"1AS",slot:"1", +C:[{N:"fn",name:"concat",C:[{N:"str",val:"V:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"copy",line:"258",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",C:[{N:"sequence",role:"content",line:"259",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"261",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}name",as:"1AS",slot:"2",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"check",line:"212",card:"?", +diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"261",type:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"2"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"let",line:"264","var":"Q{}shadow",slot:"3",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}global-shadows", +slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"sequence",line:"265",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}shadow",slot:"3"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}shadow",slot:"3"}]}]}]}]},{N:"att",line:"266",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}shadow",slot:"3"}]}]}]},{N:"str",val:" "}]}]}]},{N:"applyT",line:"270",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"313",rank:"1", +minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co",flags:"s",line:"85",module:"component-bindings.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"85",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]}, +{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"86","var":"Q{}patterns",as:"*NE",slot:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"}]},{N:"axis", +name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]},{N:"nextMatch",line:"87",flags:"t",C:[{N:"withParam",name:"Q{}patternSlots",flags:"t",as:"1ADI",C:[{N:"arith",line:"92",op:"+",calc:"i+i",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"cast",flags:"a",as:"1ADI",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}patterns",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"self", +nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent"}]}]}]}]},{N:"fn",name:"max",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}patterns",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}varRef"}]},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]},{N:"int",val:"-1"}]}]}]},{N:"int",val:"1"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"315",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co", +flags:"s",line:"119",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1", +diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots", +C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS", +C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"130",C:[{N:"and",line:"132",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis", +name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy",line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute", +nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"315",part:"1",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator",flags:"s",line:"119",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120", +C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI", +C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str", +val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"132",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]}, +{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy",line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child", +nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"}, +{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"314",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mode",flags:"s",line:"96",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mode"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"97",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"99",name:"Q{}patternSlots",slot:"1",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots", +C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"choose",line:"100",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"sequence",line:"101",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing mode "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str", +role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"message",line:"102",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"PatternSlots: "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}patternSlots",slot:"1"}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"copy",line:"104",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mode",C:[{N:"sequence", +role:"content",line:"105",C:[{N:"copyOf",flags:"c",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"106",name:"patternSlots",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}patternSlots",slot:"1"}]}]},{N:"applyT",line:"107",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"322",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"s",line:"346", +module:"component-bindings.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration"}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"347",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam", +C:[{N:"sequence",role:"content",line:"348",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"349",name:"slot",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current-541312609",as:"1",slot:"0",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AS",slot:"1",flags:"l",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash", +C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current-541312609",slot:"0"},{N:"attVal",name:"Q{}name"}]}]},{N:"data",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}]}, +{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}param"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"1"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"350",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"321", +rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}callT",flags:"s",line:"333",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}callT"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"336",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}callT", +C:[{N:"sequence",role:"content",line:"337",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"339",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",line:"335","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"T:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"339",type:"1NE nQ{http://ns.saxonica.com/xslt/export}callT", +flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"342",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"317",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall",flags:"s",line:"273",module:"component-bindings.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"276",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}ufCall",C:[{N:"sequence",role:"content",line:"277",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"279",name:"bSlot",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"let",line:"275","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"279",type:"1NE nQ{http://ns.saxonica.com/xslt/export}ufCall", +flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"282",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"318",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef",flags:"s",line:"285",module:"component-bindings.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"288",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}ufRef",C:[{N:"sequence",role:"content",line:"289",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"291",name:"bSlot",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"let",line:"287","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}arity"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"291",type:"1NE nQ{http://ns.saxonica.com/xslt/export}ufRef", +flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"294",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"312",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}package",flags:"s",line:"32",module:"component-bindings.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}package"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"33",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]}, +{N:"let",line:"35","var":"Q{}globals",slot:"1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"ifCall",line:"58",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:symbolic-name#1",C:[{N:"forEach",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|actor",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"choose", +line:"61",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalParam,NE nQ{http://ns.saxonica.com/xslt/export}globalVariable]"}]},{N:"fn",line:"62",name:"concat",C:[{N:"str",val:"V:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"64",name:"exists",C:[{N:"axis", +name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}attributeSet"}]},{N:"fn",line:"65",name:"concat",C:[{N:"str",val:"A:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"67",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}template"},{N:"fn", +name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"fn",line:"68",name:"concat",C:[{N:"str",val:"T:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"70",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]},{N:"fn",line:"71",name:"concat",C:[{N:"str", +val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"fn",line:"73",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"}]},{N:"fn",line:"74",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]}, +{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"true"},{N:"str",val:"???"}]}]}]},{N:"fn",line:"35",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"sequence",line:"36",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", +val:"traceProgress"}]},{N:"message",line:"37",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Globals:"},{N:"fn",name:"count",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}globals",slot:"1"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"copy",line:"39",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}package",C:[{N:"sequence",role:"content",line:"40", +C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"41",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}globals",flags:"t",C:[{N:"varRef",line:"42",name:"Q{}globals",slot:"1"}]},{N:"withParam",name:"Q{}global-shadows",flags:"t",as:"1FM",C:[{N:"ifCall",line:"51",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}, +{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"0.0",seq:"320",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}useAS",flags:"s",line:"320",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"323",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}useAS", +C:[{N:"sequence",role:"content",line:"324",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"326",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",line:"322","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"A:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"326",type:"1NE nQ{http://ns.saxonica.com/xslt/export}useAS", +flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"329",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"315",part:"2",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}key",flags:"s",line:"119",module:"component-bindings.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]}, +{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots", +C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]}, +{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"132",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy", +line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join", +C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"co",id:"164",binds:"",C:[{N:"function",name:"Q{MyFunctions}has-uniform-static-context", +line:"153",module:"namespaces.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}element",as:"1N"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"157","var":"Q{http://saxon.sf.net/generated-variable}cc393138250",as:"*NE",slot:"1",flags:"l",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}element",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"and", +line:"160",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",line:"156",name:"empty",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}element",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"fn",line:"157",name:"empty",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}cc393138250", +slot:"1"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]},{N:"ifCall",line:"133",name:"Q{http://saxon.sf.net/}has-uniform-namespaces",type:"1AB",C:[{N:"treat",as:"NE",diag:"0|0||saxon:has-uniform-namespaces",C:[{N:"varRef",line:"155",name:"Q{}element",slot:"0"}]}]}]},{N:"fn",line:"159",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"varRef", +name:"Q{http://saxon.sf.net/generated-variable}cc393138250",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"co",id:"222",binds:"22 25 25",C:[{N:"function",name:"Q{MyTypes}type-error",line:"1182",module:"type.xsl",flags:"pU",as:"*",slots:"5",C:[{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"arg",name:"Q{}expression",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1187",C:[{N:"let","var":"Q{}parts",as:"*AS",slot:"4",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}diag",slot:"2"},{N:"str",val:"\\|"},{N:"str",val:""}]},{N:"ufCall",line:"1192",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"4"},{N:"int",val:"3"}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"str",val:"Required type of "},{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"4"},{N:"int",val:"4"}]}]},{N:"str",val:" is "}]},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"}]}]},{N:"str",val:"; actual type is "}]},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"2",C:[{N:"varRef",name:"Q{}suppliedType",slot:"0"}]}]},{N:"varRef",name:"Q{}expression",slot:"3"}]}]}]}]}]},{N:"co",id:"223",binds:"",C:[{N:"globalVariable", +name:"Q{}errInfo",as:"1AQ",line:"344",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"info"}]}]},{N:"co",id:"40",binds:"",C:[{N:"globalVariable",name:"Q{}xslt.schema",as:"1FM k[AS] v[1FM]",line:"1",module:"XSLT-schema.xsl",visibility:"PRIVATE",C:[{N:"map",size:"77",C:[{N:"str",val:"use-package"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str", +val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"package-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"accept"},{N:"str",val:"AAA"},{N:"str",val:"override"}, +{N:"str",val:"AAA"}]}]},{N:"str",val:"matching-substring"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"map-entry"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"key"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"select"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"key"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3280"}]},{N:"str",val:"output"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"}, +{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"24",C:[{N:"str",val:"omit-xml-declaration"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"method"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"json"}, +{N:"str",val:"adaptive"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"allow-duplicate-names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"media-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str", +val:"doctype-public"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"escape-uri-attributes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"standalone"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"boolean"},{N:"str",val:"omit"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"json-node-output-method"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"doctype-system"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"item-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"indent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"suppress-indentation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"byte-order-mark"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"include-content-type"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"encoding"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"normalization-form"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"NFC"},{N:"str",val:"NFD"},{N:"str",val:"NFKC"},{N:"str",val:"NFKD"},{N:"str",val:"fully-normalized"},{N:"str",val:"none"},{N:"str",val:"nmtoken"}]},{N:"str", +val:"isAVT"},{N:"false"}]},{N:"str",val:"html-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"nmtoken"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"undeclare-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"build-tree"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", +val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"cdata-section-elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"parameter-document"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"non-matching-substring"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str", +val:"parents"},{N:"str",val:"analyze-string"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"sequence"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]}, +{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]},{N:"str",val:"fork"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"sequence"},{N:"str",val:"AAA"},{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"for-each-group"},{N:"str", +val:"AAA"}]}]},{N:"str",val:"fallback"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"next-iteration"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str", +val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"mode"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"9",C:[{N:"str",val:"warning-on-multiple-match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"on-no-match"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"deep-copy"},{N:"str",val:"shallow-copy"},{N:"str",val:"deep-skip"},{N:"str",val:"shallow-skip"},{N:"str",val:"text-only-copy"},{N:"str",val:"fail"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"typed"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"boolean"},{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"on-multiple-match"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"use-last"},{N:"str",val:"fail"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"warning-on-no-match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"accumulator-rule"},{N:"map",size:"4", +C:[{N:"str",val:"required.attributes"},{N:"str",val:"match"},{N:"str",val:"parents"},{N:"str",val:"accumulator"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"phase"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"start"},{N:"str",val:"end"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"expose"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"3",C:[{N:"str",val:"component"},{N:"str",val:"names"},{N:"str",val:"visibility"}]},{N:"str",val:"parents"},{N:"str",val:"package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3", +C:[{N:"str",val:"names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"component"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"template"},{N:"str",val:"function"}, +{N:"str",val:"attribute-set"},{N:"str",val:"variable"},{N:"str",val:"mode"},{N:"str",val:"*"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"for-each"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"preserve-space"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"elements"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", +val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"import"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"}, +{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"package"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"14",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str", +val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"package-version"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"id"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"declared-modes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"expose"},{N:"str",val:"AAA"},{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"accumulator"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2", +C:[{N:"str",val:"name"},{N:"str",val:"initial-value"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"initial-value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"accumulator-rule"},{N:"str",val:"AAA"}]}]},{N:"str",val:"with-param"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"}, +{N:"literal",count:"6",C:[{N:"str",val:"apply-templates"},{N:"str",val:"call-template"},{N:"str",val:"apply-imports"},{N:"str",val:"next-match"},{N:"str",val:"next-iteration"},{N:"str",val:"evaluate"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"tunnel"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"assert"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, +{N:"str",val:"test"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"test"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"error-code"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"message"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"terminate"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"error-code"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"include"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map", +size:"1",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"accept"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"3",C:[{N:"str",val:"component"},{N:"str",val:"names"},{N:"str",val:"visibility"}]},{N:"str",val:"parents"},{N:"str",val:"use-package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"names"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"},{N:"str",val:"hidden"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"component"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"template"},{N:"str",val:"function"}, +{N:"str",val:"attribute-set"},{N:"str",val:"variable"},{N:"str",val:"mode"},{N:"str",val:"*"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"call-template"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"number"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"12",C:[{N:"str",val:"level"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"single"},{N:"str",val:"multiple"},{N:"str",val:"any"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"letter-value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal", +count:"2",C:[{N:"str",val:"alphabetic"},{N:"str",val:"traditional"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"from"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"grouping-size"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"integer"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"count"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"ordinal"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"format"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"grouping-separator"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"start-at"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"perform-sort"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, +{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"on-completion"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"iterate"}, +{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3125"}]},{N:"str",val:"merge-key"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"merge-source"}, +{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"ascending"},{N:"str",val:"descending"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"case-order"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"upper-first"},{N:"str",val:"lower-first"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"data-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"text"},{N:"str",val:"number"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str", +val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3200"}]},{N:"str",val:"result-document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"27",C:[{N:"str",val:"omit-xml-declaration"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"method"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"json"},{N:"str",val:"adaptive"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"allow-duplicate-names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, +{N:"true"}]},{N:"str",val:"media-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"doctype-public"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"escape-uri-attributes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"standalone"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2", +C:[{N:"str",val:"boolean"},{N:"str",val:"omit"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"json-node-output-method"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"doctype-system"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"item-separator"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"output-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"nmtoken"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"indent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"suppress-indentation"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"byte-order-mark"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"include-content-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"encoding"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]}, +{N:"str",val:"normalization-form"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"NFC"},{N:"str",val:"NFD"},{N:"str",val:"MFKC"},{N:"str",val:"MFKD"},{N:"str",val:"fully-normalized"},{N:"str",val:"none"},{N:"str",val:"nmtoken"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"html-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"format"},{N:"map",size:"2",C:[{N:"str",val:"values"}, +{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"undeclare-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, +{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"build-tree"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"cdata-section-elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"parameter-document"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str", +val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"merge-action"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"merge"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"next-match"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"}, +{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"transform"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"11",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"id"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"}, +{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"override"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"use-package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"5",C:[{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"attribute-set"},{N:"str",val:"AAA"},{N:"str",val:"function"},{N:"str",val:"AAA"},{N:"str",val:"template"},{N:"str", +val:"AAA"},{N:"str",val:"variable"},{N:"str",val:"AAA"}]}]},{N:"str",val:"param"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"7",C:[{N:"str",val:"package"},{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"override"},{N:"str",val:"template"},{N:"str",val:"function"},{N:"str",val:"iterate"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"tunnel"},{N:"map",size:"2",C:[{N:"str",val:"values"}, +{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"static"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"}, +{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"required"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"text"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map", +size:"1",C:[{N:"str",val:"disable-output-escaping"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"PCDATA"},{N:"str",val:"AAA"}]}]},{N:"str",val:"source-document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", +val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, +{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"stylesheet"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"11",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str", +val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"id"}, +{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"apply-imports"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"copy-of"},{N:"map", +size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"copy-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"copy-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"}, +{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"merge-source"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, +{N:"str",val:"select"},{N:"str",val:"parents"},{N:"str",val:"merge"},{N:"str",val:"permitted.attributes"},{N:"map",size:"9",C:[{N:"str",val:"for-each-source"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, +{N:"false"}]},{N:"str",val:"sort-before-merge"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"for-each-item"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"merge-key"},{N:"str",val:"AAA"}]}]},{N:"str", +val:"context-item"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"template"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"required"},{N:"str",val:"optiona"},{N:"str",val:"absent"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"item-type"},{N:"str",val:"isAVT"}, +{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"attribute-set"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"attribute"},{N:"str",val:"AAA"}]}]},{N:"str",val:"strip-space"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"0"}]},{N:"str",val:"analyze-string"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"select"},{N:"str",val:"regex"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"regex"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"flags"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"matching-substring"},{N:"str",val:"AAA"},{N:"str",val:"non-matching-substring"},{N:"str",val:"AAA"},{N:"str",val:"fallback"},{N:"str",val:"AAA"}]}]},{N:"str",val:"decimal-format"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"}, +{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"12",C:[{N:"str",val:"percent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exponent-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"pattern-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"zero-digit"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"infinity"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"decimal-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"}, +{N:"false"}]},{N:"str",val:"digit"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"per-mille"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"minus-sign"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"NaN"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"}, +{N:"false"}]},{N:"str",val:"grouping-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"value-of"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"disable-output-escaping"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0870"}]},{N:"str",val:"processing-instruction"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, +{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0880"}]}, +{N:"str",val:"where-populated"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"otherwise"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"choose"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"copy"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"inherit-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"copy-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"choose"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"otherwise"},{N:"str",val:"AAA"},{N:"str",val:"when"},{N:"str", +val:"AAA"}]}]},{N:"str",val:"for-each-group"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"group-by"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"group-starting-with"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"composite"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"group-adjacent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"group-ending-with"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"merge"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"}, +{N:"str",val:"merge-action"},{N:"str",val:"AAA"},{N:"str",val:"merge-source"},{N:"str",val:"AAA"}]}]},{N:"str",val:"character-map"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str", +val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"output-character"},{N:"str",val:"AAA"}]}]},{N:"str",val:"function"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str", +val:"permitted.attributes"},{N:"map",size:"8",C:[{N:"str",val:"cache"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"override-extension-function"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamability"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"8",C:[{N:"str",val:"unclassified"},{N:"str",val:"absorbing"},{N:"str",val:"inspection"}, +{N:"str",val:"filter"},{N:"str",val:"shallow-descent"},{N:"str",val:"deep-descent"},{N:"str",val:"ascent"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"new-each-time"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"yes"},{N:"str",val:"true"},{N:"str",val:"1"},{N:"str",val:"no"},{N:"str",val:"false"},{N:"str", +val:"0"},{N:"str",val:"maybe"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"override"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str", +val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"evaluate"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"xpath"},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"with-params"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"base-uri"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"context-item"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"schema-aware"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, +{N:"false"}]},{N:"str",val:"xpath"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace-context"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"iterate"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, +{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"on-completion"},{N:"str",val:"AAA"},{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"template"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, +{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"priority"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str", +val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"content-item"},{N:"str",val:"AAA"},{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"when"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"test"},{N:"str",val:"parents"},{N:"str",val:"choose"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"test"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"apply-templates"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"token"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4", +C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"namespace"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"}, +{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0910"}]},{N:"str",val:"try"},{N:"map",size:"3",C:[{N:"str", +val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"rollback-output"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"}, +{N:"str",val:"AAA"},{N:"str",val:"catch"},{N:"str",val:"AAA"}]}]},{N:"str",val:"global-context-item"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"required"},{N:"str",val:"optional"},{N:"str", +val:"absent"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"item-type"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"catch"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"try"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"errors"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", +val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3150"}]},{N:"str",val:"map"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"}, +{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"variable"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"static"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str", +val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"}, +{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"attribute"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"name"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"qname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0840"}]},{N:"str",val:"element"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"}, +{N:"map",size:"6",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"inherit-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"qname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal", +count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]}, +{N:"str",val:"if"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"test"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"test"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"output-character"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal", +count:"2",C:[{N:"str",val:"character"},{N:"str",val:"string"}]},{N:"str",val:"parents"},{N:"str",val:"character-map"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"character"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"string"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"sort"}, +{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"4",C:[{N:"str",val:"for-each"},{N:"str",val:"for-each-group"},{N:"str",val:"apply-templates"},{N:"str",val:"perform-sort"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"}, +{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"ascending"},{N:"str",val:"descending"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"case-order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"upper-first"},{N:"str",val:"lower-first"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"stable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, +{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"data-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"text"},{N:"str",val:"number"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"}, +{N:"str",val:"XTSE1015"}]},{N:"str",val:"namespace-alias"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"stylesheet-prefix"},{N:"str",val:"result-prefix"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"result-prefix"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str", +val:"prefix"},{N:"str",val:"#default"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"stylesheet-prefix"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"prefix"},{N:"str",val:"#default"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"break"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3125"}]},{N:"str",val:"key"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"name"},{N:"str",val:"match"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str", +val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"composite"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"collation"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"comment"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str", +val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0940"}]},{N:"str",val:"on-empty"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]},{N:"str",val:"on-non-empty"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"}, +{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]}]}]}]},{N:"co",id:"224",binds:"34",C:[{N:"function",name:"Q{MyFunctions}wrongParent",line:"780",module:"normalize.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"homCheck",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"782",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" cannot be a child of "}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"dot",type:"1NE"}]}]}]}]}]},{N:"co",id:"225",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}ONE",as:"1ADI", +line:"102",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co",id:"226",binds:"74",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1965472536",as:"+",line:"254",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"254",C:[{N:"str",val:"XSLT compiler version:"}, +{N:"gVarRef",name:"Q{}compiler.version",bSlot:"0"}]}]}]},{N:"co",id:"227",binds:"",C:[{N:"function",name:"Q{MyFunctions}escapeAVT",line:"143",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}s",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"145",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}s",slot:"0"}, +{N:"str",val:"\\{"},{N:"str",val:"{{"},{N:"str",val:""}]},{N:"str",val:"\\}"},{N:"str",val:"}}"},{N:"str",val:""}]}]}]},{N:"co",id:"228",binds:"58 219 214 64 229 9 7 222 230 214 230 214 230 214",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"1065",module:"type.xsl",flags:"pU",as:"*",slots:"20",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1074",C:[{N:"let","var":"Q{}suppliedItemType",slot:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"p"}]},{N:"let",line:"1075","var":"Q{}suppliedCard",slot:"5",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"o"}]},{N:"let",line:"1076","var":"Q{}reqItemType",slot:"6",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"p"}]},{N:"let",line:"1080","var":"Q{}cardOK",as:"1AB",slot:"7",C:[{N:"gc",op:"=",card:"N:1", +comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"EQ"},{N:"str",val:"GT"}]},{N:"check",line:"1079",card:"1",diag:"3|0|XTTE0570|cardRel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|cardRel",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|cardRel",C:[{N:"data",diag:"3|0|XTTE0570|cardRel",C:[{N:"ufCall",name:"Q{MyTypes}cardinalityRelationship",tailCall:"false",bSlot:"0",C:[{N:"check",line:"1077",card:"1",diag:"0|0||t:cardinalityRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p", +diag:"0|0||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:cardinalityRelationship",C:[{N:"data",diag:"0|0||t:cardinalityRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"o"}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||t:cardinalityRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:cardinalityRelationship",C:[{N:"data",diag:"0|1||t:cardinalityRelationship",C:[{N:"varRef", +name:"Q{}suppliedCard",slot:"5"}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"1087","var":"Q{}itemTypeOK",as:"1AB",slot:"8",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"EQ"},{N:"str",val:"GT"}]},{N:"choose",line:"1086",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"n"}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str", +val:"n"}]}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"e"}]}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"e"}]}]}]},{N:"ufCall",name:"Q{MyTypes}itemTypeRelationship",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}suppliedType",slot:"1"}]},{N:"true"},{N:"let","var":"Q{}R",as:"1AS",slot:"9",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship", +C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"10",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship", +C:[{N:"varRef",name:"Q{}suppliedItemType",slot:"4"}]}]}]}]},{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"9"},{N:"varRef",name:"Q{}S",slot:"10"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"9"},{N:"varRef",name:"Q{}S",slot:"10"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"10"},{N:"varRef",name:"Q{}R",slot:"9"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]}]}]},{N:"choose", +line:"1089",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}itemTypeOK",slot:"8"},{N:"varRef",name:"Q{}cardOK",slot:"7"}]},{N:"varRef",line:"1090",name:"Q{}expression",slot:"0"},{N:"varRef",line:"1092",name:"Q{}itemTypeOK",slot:"8"},{N:"ufCall",line:"1093",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"2",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"and",line:"1095",op:"and",C:[{N:"varRef",name:"Q{}cardOK", +slot:"7"},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}suppliedCard",slot:"5"}]},{N:"str",val:"0"}]}]},{N:"varRef",line:"1096",name:"Q{}expression",slot:"0"},{N:"fn",line:"1100",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data", +diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"str",val:"A"}]},{N:"let",line:"1106","var":"Q{}expression.1",slot:"11",C:[{N:"choose",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}suppliedItemType",slot:"4"}]}]}]}]},{N:"str",val:"A"}]},{N:"varRef", +name:"Q{}expression",slot:"0"},{N:"true"},{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"904",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"3"}]},{N:"slash",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1106",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1106",name:"Q{}expression",slot:"0"}]}]}]}, +{N:"let",line:"1112","var":"Q{}expression.2",slot:"12",C:[{N:"choose",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]},{N:"varRef",name:"Q{}expression.1",slot:"11"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cvUntyped",tailCall:"false",bSlot:"4",C:[{N:"varRef",name:"Q{}expression.1",slot:"11"},{N:"varRef",name:"Q{}requiredType", +slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]},{N:"let",line:"1118","var":"Q{}expression.3",slot:"13",C:[{N:"choose",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]},{N:"literal",count:"2",C:[{N:"str",val:"AO"},{N:"str",val:"AF"}]}]},{N:"ufCall",name:"Q{MyTypes}convert",tailCall:"false",bSlot:"5",C:[{N:"varRef",name:"Q{}expression.2",slot:"12"},{N:"varRef",name:"Q{}requiredType", +slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"true"},{N:"varRef",name:"Q{}expression.2",slot:"12"}]},{N:"let",line:"1120","var":"Q{}expression.4",as:"?NE",slot:"14",C:[{N:"let",line:"1121","var":"Q{}convertedType",as:"1FM",slot:"15",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"6",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef", +name:"Q{}expression.3",slot:"13"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"choose",line:"1122",C:[{N:"fn",line:"1123",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}convertedType",slot:"15"},{N:"str",val:"p"}]}]}]}]}]},{N:"check",card:"?",diag:"0|1||fn:starts-with",C:[{N:"convert", +from:"A",to:"AS",flags:"p",diag:"0|1||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:starts-with",C:[{N:"data",diag:"0|1||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]}]},{N:"varRef",line:"1124",name:"Q{}expression.3",slot:"13"},{N:"compareToString",line:"1126",op:"eq",val:"DJ",C:[{N:"let","var":"Q{}R",as:"1AS",slot:"16",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped", +to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}convertedType",slot:"15"},{N:"str",val:"p"}]}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"17",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]}, +{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"16"},{N:"varRef",name:"Q{}S",slot:"17"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"16"},{N:"varRef",name:"Q{}S",slot:"17"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"17"},{N:"varRef",name:"Q{}R",slot:"16"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]}]},{N:"treat",line:"1127",as:"NE",diag:"3|0|XTTE0570|expression.4", +C:[{N:"check",card:"?",diag:"3|0|XTTE0570|expression.4",C:[{N:"ufCall",name:"Q{MyTypes}type-error",tailCall:"false",bSlot:"7",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"},{N:"varRef",name:"Q{}expression",slot:"0"}]}]}]},{N:"true"},{N:"ufCall",line:"1130",name:"Q{MyTypes}treat",tailCall:"false",bSlot:"8",C:[{N:"varRef",name:"Q{}expression.3",slot:"13"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag", +slot:"3"}]}]}]},{N:"choose",line:"1139",C:[{N:"varRef",name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.4",slot:"14"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"9",C:[{N:"check",card:"1",diag:"0|0||t:cardCheck",C:[{N:"varRef",name:"Q{}expression.4",slot:"14"}]},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]}]}]}]},{N:"fn",line:"1142",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert", +from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"str",val:"F"}]},{N:"let",line:"1144","var":"Q{}expression.1",slot:"18",C:[{N:"ufCall",name:"Q{MyTypes}treat",tailCall:"false",bSlot:"10",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"choose",line:"1150",C:[{N:"varRef", +name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.1",slot:"18"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"11",C:[{N:"varRef",name:"Q{}expression.1",slot:"18"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]},{N:"true"},{N:"let",line:"1159","var":"Q{}expression.1",slot:"19",C:[{N:"choose",C:[{N:"varRef",name:"Q{}itemTypeOK",slot:"8"},{N:"varRef",name:"Q{}expression",slot:"0"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}treat", +tailCall:"false",bSlot:"12",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]},{N:"choose",line:"1165",C:[{N:"varRef",name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.1",slot:"19"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"13",C:[{N:"varRef",name:"Q{}expression.1",slot:"19"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}, +{N:"co",id:"231",binds:"",C:[{N:"function",name:"Q{MyFunctions}empty",line:"229",module:"lib.xsl",flags:"pU",as:"?NE",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"231",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis", +name:"child",nodeTest:"NE"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"\\S"},{N:"str",val:""}]}]}]}]},{N:"elem",line:"232",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"empty"}]}]}]}]},{N:"co",id:"232",binds:"233",C:[{N:"function",name:"Q{MyTypes}allowsZeroOrOne",line:"135",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"*"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"137",card:"1",diag:"5|0|XTTE0780|t:allowsZeroOrOne#1",C:[{N:"vc",op:"ne",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"arith",op:"mod",calc:"a%a",C:[{N:"cvUntyped",to:"AO",C:[{N:"atomSing",card:"?",diag:"1|0||mod",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]}]},{N:"gVarRef",name:"Q{}StaticProperty.ALLOWS_MANY",bSlot:"0"}]},{N:"int",val:"0"}]}]}]}]},{N:"co",id:"234",binds:"",C:[{N:"globalVariable",name:"Q{}nodeTypeMap",as:"1FM k[AS] v[1ADI]",line:"573",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"11",C:[{N:"str",val:"text"},{N:"int",val:"3"},{N:"str",val:"processing-instruction"}, +{N:"int",val:"7"},{N:"str",val:"document_fragment"},{N:"int",val:"11"},{N:"str",val:"namespace-node"},{N:"int",val:"13"},{N:"str",val:"document-node"},{N:"int",val:"9"},{N:"str",val:"document"},{N:"int",val:"9"},{N:"str",val:"namespace"},{N:"int",val:"13"},{N:"str",val:"attribute"},{N:"int",val:"2"},{N:"str",val:"element"},{N:"int",val:"1"},{N:"str",val:"document_type"},{N:"int",val:"10"},{N:"str",val:"comment"},{N:"int",val:"8"}]}]}]},{N:"co",id:"235",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ZERO", +as:"1ADI",line:"105",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"236",binds:"127",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"1059",module:"type.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1062",C:[{N:"ufCall", +name:"Q{MyFunctions}typeCheck",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}required",slot:"1"},{N:"str",val:"0|0||"}]}]}]}]},{N:"co",id:"237",binds:"",C:[{N:"globalVariable",name:"Q{}serialization-properties",as:"*AS",line:"21",module:"output.xsl",visibility:"PRIVATE",C:[{N:"literal",count:"22",C:[{N:"str",val:"method"},{N:"str",val:"allow-duplicate-names"},{N:"str",val:"build-tree"},{N:"str",val:"byte-order-mark"},{N:"str",val:"cdata-section-elements"}, +{N:"str",val:"doctype-public"},{N:"str",val:"doctype-system"},{N:"str",val:"encoding"},{N:"str",val:"escape-uri-attributes"},{N:"str",val:"html-version"},{N:"str",val:"include-content-type"},{N:"str",val:"indent"},{N:"str",val:"item-separator"},{N:"str",val:"json-node-output-method"},{N:"str",val:"media-type"},{N:"str",val:"normalization-form"},{N:"str",val:"omit-xml-declaration"},{N:"str",val:"parameter-document"},{N:"str",val:"standalone"},{N:"str",val:"suppress-indentation"},{N:"str",val:"undeclare-prefixes"}, +{N:"str",val:"output-version"}]}]}]},{N:"co",id:"127",binds:"238 228 239 7 118",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"975",module:"type.xsl",flags:"pU",as:"*",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"996",C:[{N:"choose",C:[{N:"fn", +name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}literal"}]}]},{N:"ufCall",name:"Q{MyFunctions}typeCheckLiteral",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"foreign",bSlot:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"choose",C:[{N:"fn",name:"exists", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}empty"}]}]},{N:"gVarRef",name:"Q{}ST.EMPTY_SEQUENCE",bSlot:"2"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"3",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS", +flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.MULTIPLE_ITEM",bSlot:"4"}]},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]}]}]}]}]},{N:"co",id:"133",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_ATOMIC",as:"1FM k[AS] v[1AS]",line:"13",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map", +size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"130",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg409114060",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn", +name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0570"},{N:"str",val:"check"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"132",binds:"1 239",C:[{N:"globalVariable",name:"Q{}SJ.EMPTY_SEQUENCE",as:"1AS",line:"44",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"44",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.EMPTY_SEQUENCE",bSlot:"1"}]}]}]},{N:"co",id:"240",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg2078175306",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join", +C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-style/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"241",binds:"",C:[{N:"function",name:"Q{MyFunctions}typeCardinality",line:"32",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"}, +{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"43",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"empty-sequence()"},{N:"str",val:"error()0"}]},{N:"varRef",name:"Q{}type",slot:"0"}]},{N:"str",val:"0"},{N:"fn",name:"matches",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"[*?+]$"},{N:"str",val:""}]},{N:"fn",name:"substring",C:[{N:"varRef", +name:"Q{}type",slot:"0"},{N:"fn",name:"string-length",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]},{N:"true"},{N:"str",val:"1"}]}]}]},{N:"co",id:"242",binds:"1 218",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_NCNAME",as:"1AS",line:"56",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"56",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_NCNAME", +bSlot:"1"}]}]}]},{N:"co",id:"144",binds:"1 137",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ITEM",as:"1AS",line:"45",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"45",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"1"}]}]}]},{N:"co",id:"243",binds:"",C:[{N:"globalVariable",name:"Q{}support-XSLT4",as:"1AB",line:"170",module:"XSLT-SEF-compiler.xsl", +visibility:"PUBLIC",flags:"s",C:[{N:"true"}]}]},{N:"co",id:"244",binds:"66 196 226 245 246 125 221 196 215 67",C:[{N:"mode",name:"Q{}compile-complete",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"373",rank:"0",minImp:"0",slots:"13",matches:"ND",flags:"s",line:"243",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"ND"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"244",C:[{N:"param",name:"Q{}options",slot:"0",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"245","var":"Q{}nsOption",as:"?AS",slot:"1",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|nsOption",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|nsOption",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|nsOption", +C:[{N:"data",diag:"3|0|XTTE0570|nsOption",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"ns"}]}]}]}]}]},{N:"let",line:"246","var":"Q{}defaultHTML5",as:"1AB",slot:"2",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}nsOption",slot:"1"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}nsOption",slot:"1"},{N:"str",val:"##html5"}]}]},{N:"let",line:"249","var":"Q{}start.time",slot:"3",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false", +bSlot:"1"},{N:"sequence",line:"252",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"timing"}]},{N:"fn",name:"exists",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}start.time",slot:"3"},{N:"int",val:"2"}]}]}]},{N:"sequence",line:"254",C:[{N:"message",C:[{N:"gVarRef",role:"select",name:"Q{http://saxon.sf.net/generated-variable}gg1965472536",bSlot:"2"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}, +{N:"message",line:"255",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Started @"},{N:"varRef",name:"Q{}start.time",slot:"3"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"let",line:"263","var":"Q{}tempFromComp",as:"1ND",slot:"4",C:[{N:"doc",line:"264",C:[{N:"applyT",mode:"Q{}compile",bSlot:"3",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}options",flags:"t",as:"1FM",C:[{N:"varRef",line:"265", +name:"Q{}options",slot:"0"}]},{N:"withParam",name:"Q{}params",flags:"t",as:"1FM k[AQ]",C:[{N:"gVarRef",line:"267",name:"Q{}staticParameters",bSlot:"4"}]},{N:"withParam",name:"Q{}defaultHTML5",flags:"t",as:"1AB",C:[{N:"varRef",line:"268",name:"Q{}defaultHTML5",slot:"2"}]}]}]},{N:"sequence",line:"272",C:[{N:"choose",C:[{N:"or",line:"273",op:"or",C:[{N:"or",op:"or",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"justStatic"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"}, +{N:"str",val:"justNormalize"}]}]},{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"noXPath"}]}]},{N:"varRef",line:"274",name:"Q{}tempFromComp",slot:"4"},{N:"true"},{N:"sequence",line:"277",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"statistics"}]},{N:"message",line:"278",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"XPath statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}]}]},{N:"str",val:" components\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}, +{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute", +nodeTest:"NA"}]}]}]},{N:"str",val:" attributes\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"}]}]}]},{N:"str",val:" XPath expressions\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant", +nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"}]}]}]},{N:"str",val:" patterns "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"284",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"289",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting XPath compiling:"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp", +slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"}]}]},{N:"str",val:"expressions"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"}]}]},{N:"str",val:"patterns"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"291","var":"Q{}temp",as:"1ND", +slot:"5",C:[{N:"doc",line:"292",C:[{N:"applyT",mode:"Q{}process-xpath",bSlot:"5",C:[{N:"varRef",role:"select",name:"Q{}tempFromComp",slot:"4"},{N:"withParam",name:"Q{}options",flags:"t",as:"1FM",C:[{N:"varRef",line:"293",name:"Q{}options",slot:"0"}]},{N:"withParam",name:"Q{}defaultHTML5",flags:"t",as:"1AB",C:[{N:"varRef",line:"295",name:"Q{}defaultHTML5",slot:"2"}]}]}]},{N:"sequence",line:"298",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"statistics"}]},{N:"message", +line:"299",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Final statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}]}]},{N:"str",val:" components\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2", +C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child", +nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"str",val:" attributes\n "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"303",C:[{N:"lookup",line:"304",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"noBindings"}]},{N:"varRef",line:"305", +name:"Q{}temp",slot:"5"},{N:"true"},{N:"sequence",line:"308",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"309",C:[{N:"str",role:"select",val:"Starting Component binding"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"311",mode:"Q{}process-bindings",bSlot:"6",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"5"},{N:"withParam",name:"Q{}options", +flags:"t",as:"1FM",C:[{N:"varRef",line:"313",name:"Q{}options",slot:"0"}]}]}]}]}]}]}]}]},{N:"let",line:"320","var":"Q{}duration",as:"1AR",slot:"6",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|duration",C:[{N:"arith",op:"-",calc:"t-t",C:[{N:"ufCall",line:"319",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"7"},{N:"check",card:"?",diag:"1|1||-",C:[{N:"varRef",name:"Q{}start.time",slot:"3"}]}]}]},{N:"sequence",line:"321",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", +val:"timing"}]},{N:"message",line:"330",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Stylesheet compilation time:"},{N:"let","var":"Q{}h",slot:"7",C:[{N:"fn",name:"hours-from-duration",C:[{N:"varRef",name:"Q{}duration",slot:"6"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"8",flags:"l",C:[{N:"compareToInt",op:"ne",val:"0",C:[{N:"varRef",name:"Q{}h",slot:"7"}]},{N:"let","var":"Q{}m",slot:"9",C:[{N:"fn",name:"minutes-from-duration",C:[{N:"varRef",name:"Q{}duration", +slot:"6"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"10",flags:"l",C:[{N:"compareToInt",op:"ne",val:"0",C:[{N:"varRef",name:"Q{}m",slot:"9"}]},{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"filter",flags:"ib",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}h",slot:"7"},{N:"str",val:"h"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]},{N:"filter",flags:"ib",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}m",slot:"9"},{N:"str",val:"m"}]}, +{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"10"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"seconds-from-duration",C:[{N:"varRef",name:"Q{}duration",slot:"6"}]},{N:"str",val:"s"}]}]},{N:"str",val:" "}]}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"333","var":"Q{}errorCount",slot:"11",C:[{N:"ufCall",name:"Q{MyFunctions}message-count",tailCall:"false",bSlot:"8",C:[{N:"gVarRef",name:"Q{}XTSE0010", +bSlot:"9"}]},{N:"choose",line:"334",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"let",line:"335","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"12",flags:"l",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"str",val:" error"},{N:"fn",name:"string", +C:[{N:"filter",flags:"ib",C:[{N:"str",val:"s"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"12"}]}]},{N:"str",val:" during compilation"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"247",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.EMPTY",as:"1ADI",line:"111",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"248",binds:"", +C:[{N:"globalVariable",name:"Q{}COMPILE_GLOBAL",as:"1AB",line:"104",module:"xpath.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"191",binds:"22",C:[{N:"function",name:"Q{MyFunctions}make-namespace-alias-map",line:"1873",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*",slots:"8",C:[{N:"arg",name:"Q{}root",as:"1NE"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1880",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"slash",role:"select",line:"1880",simple:"1",C:[{N:"varRef",name:"Q{}root",slot:"0"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"let",role:"key",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}prefix",as:"1AS",slot:"6",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +card:"1",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"attVal",name:"Q{}stylesheet-prefix"}]}]}]},{N:"let","var":"Q{}element",as:"1NE",slot:"7",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"},{N:"choose",module:"namespaces.xsl",line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"6"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"7"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"6"},{N:"varRef",name:"Q{}element",slot:"7"}]}]}]}]}, +{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"1883","var":"Q{}highest-precedence",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|highest-precedence",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"let",line:"1885","var":"Q{}active-declarations",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias", +slot:"2",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active-declarations",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"1"}]}]}]},{N:"let",line:"1887","var":"Q{}result-uris",slot:"3",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}active-declarations",slot:"2"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +"var":"Q{}prefix",as:"1AS",slot:"4",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"attVal",name:"Q{}result-prefix"}]}]}]}, +{N:"let","var":"Q{}element",as:"1NE",slot:"5",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"},{N:"choose",module:"namespaces.xsl",line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix", +C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"5"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"4"},{N:"varRef",name:"Q{}element",slot:"5"}]}]}]}]}]},{N:"sequence",line:"1889",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"varRef",name:"Q{}result-uris",slot:"3"}]}]}]},{N:"ufCall",line:"1892",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str", +val:"XTSE0810"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple conflicting declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" for namespace "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]},{N:"ifCall",line:"1896",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check", +card:"1",diag:"0|0||map:entry",C:[{N:"currentGroupingKey"}]},{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}active-declarations",slot:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}result-prefix"}]}]},{N:"lastOf",C:[{N:"varRef",name:"Q{}result-uris",slot:"3"}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"249",binds:"52", +C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1733439693",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind", +bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:remove-property/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"250",binds:"",C:[{N:"globalVariable",name:"Q{}errorsAsMessages",as:"1AB",line:"187",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"44",binds:"36 37",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg438493423",as:"+AU",line:"21",module:"sorting.xsl", +visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"0"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation",bSlot:"1"}]}]}]},{N:"co",id:"251",vis:"PUBLIC",binds:"252 253 208 98 208 98 254 255 255 198 252 253 252 253 22 22",C:[{N:"function",name:"Q{MyFunctions}parse-value-template", +line:"51",module:"XSLT-value-template.xsl",flags:"pU",as:"*NA",slots:"13",C:[{N:"arg",name:"Q{}in",as:"1AS"},{N:"arg",name:"Q{}location",as:"1N"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation f=MyFunctions xs=~ xsl=~ xml=~",line:"55","var":"Q{}codepoints-in",as:"*ADI",slot:"9",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"varRef",name:"Q{}in",slot:"0"}]},{N:"treat",line:"56",as:"NA",diag:"5|0|XTTE0780|f:parse-value-template#2",C:[{N:"iterate",C:[{N:"to",role:"select",C:[{N:"int", +val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"}]}]},{N:"params",role:"params",line:"57",C:[{N:"param",name:"Q{}in-expression",slot:"2",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-expression",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|in-expression",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-expression",C:[{N:"data",diag:"8|0|XTTE0590|in-expression",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"58",name:"Q{}comment-depth", +slot:"3",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|comment-depth",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|comment-depth",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|comment-depth",C:[{N:"data",diag:"8|0|XTTE0590|comment-depth",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"59",name:"Q{}in-single-quotes",slot:"4",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"check", +card:"1",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"data",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"supplied",slot:"4"}]}]}]}]}]},{N:"param",line:"60",name:"Q{}in-double-quotes",slot:"5",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"data", +diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"supplied",slot:"5"}]}]}]}]}]},{N:"param",line:"61",name:"Q{}brace-depth",slot:"6",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|brace-depth",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|brace-depth",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|brace-depth",C:[{N:"data",diag:"8|0|XTTE0590|brace-depth",C:[{N:"supplied",slot:"6"}]}]}]}]}]},{N:"param",line:"62",name:"Q{}start-of-part",slot:"7",as:"1ADI", +C:[{N:"int",role:"select",val:"1"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|start-of-part",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|start-of-part",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|start-of-part",C:[{N:"data",diag:"8|0|XTTE0590|start-of-part",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"param",line:"63",name:"Q{}skip-char",slot:"8",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|skip-char",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|skip-char", +C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|skip-char",C:[{N:"data",diag:"8|0|XTTE0590|skip-char",C:[{N:"supplied",slot:"8"}]}]}]}]}]}]},{N:"choose",role:"on-completion",line:"65",C:[{N:"varRef",line:"66",name:"Q{}in-expression",slot:"2"},{N:"ufCall",line:"67",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE0350"},{N:"fn",name:"concat",C:[{N:"str",val:"Missing closing brace after expression:"},{N:"varRef",name:"Q{}in",slot:"0"}]},{N:"varRef",name:"Q{}location", +slot:"1"}]},{N:"vc",line:"69",op:"le",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"}]}]},{N:"att",line:"26",name:"literal",C:[{N:"fn",line:"76",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"}]},{N:"str",val:"{{"},{N:"str",val:"{"},{N:"str",val:"q"}]},{N:"str",val:"}}"},{N:"str",val:"}"},{N:"str",val:"q"}]}]}]}, +{N:"let",role:"action",line:"80","var":"Q{}i",as:"1ADI",slot:"10",C:[{N:"dot",type:"1ADI"},{N:"let",line:"81","var":"Q{}c1",as:"*ADI",slot:"11",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"},{N:"varRef",name:"Q{}i",slot:"10"}]},{N:"let",line:"82","var":"Q{}c2",as:"*ADI",slot:"12",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"},{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]},{N:"choose",line:"84",C:[{N:"varRef",name:"Q{}skip-char", +slot:"8"},{N:"nextIteration",line:"85",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"false"}]}]},{N:"varRef",line:"89",name:"Q{}in-expression",slot:"2"},{N:"choose",line:"90",C:[{N:"and",line:"91",op:"and",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}APOS",bSlot:"2"}]}]},{N:"nextIteration",line:"92",C:[{N:"withParam",name:"Q{}in-single-quotes",as:"1AB",slot:"4",C:[{N:"false"}]}]}, +{N:"and",line:"96",op:"and",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}QUOT",bSlot:"3"}]}]},{N:"nextIteration",line:"97",C:[{N:"withParam",name:"Q{}in-double-quotes",as:"1AB",slot:"5",C:[{N:"false"}]}]},{N:"and",line:"101",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}APOS",bSlot:"4"}]},{N:"compareToInt", +op:"eq",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"nextIteration",line:"102",C:[{N:"withParam",name:"Q{}in-single-quotes",as:"1AB",slot:"4",C:[{N:"true"}]}]},{N:"and",line:"106",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}QUOT",bSlot:"5"}]},{N:"compareToInt",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}comment-depth", +slot:"3"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]}]},{N:"nextIteration",line:"107",C:[{N:"withParam",name:"Q{}in-double-quotes",as:"1AB",slot:"5",C:[{N:"true"}]}]},{N:"and",line:"111",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LPAREN",bSlot:"6"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}COLON",bSlot:"7"}]}]},{N:"and", +op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]}]},{N:"nextIteration",line:"112",C:[{N:"withParam",name:"Q{}comment-depth",as:"1ADI",slot:"3",C:[{N:"arith",line:"113",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"},{N:"int",val:"1"}]}]},{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"and",line:"117",op:"and",C:[{N:"and",op:"and",C:[{N:"compareToInt", +op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}COLON",bSlot:"8"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}RPAREN",bSlot:"9"}]}]},{N:"nextIteration",line:"118",C:[{N:"withParam",name:"Q{}comment-depth",as:"1ADI",slot:"3",C:[{N:"arith",line:"119",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"},{N:"int", +val:"1"}]}]},{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"and",line:"123",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"10"}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"fn",name:"not",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth", +slot:"3"}]}]}]}]},{N:"nextIteration",line:"124",C:[{N:"withParam",name:"Q{}brace-depth",as:"1ADI",slot:"6",C:[{N:"arith",line:"125",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"},{N:"int",val:"1"}]}]}]},{N:"and",line:"128",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}RBRACE",bSlot:"11"}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not", +C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"fn",name:"not",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]}]}]}]},{N:"choose",line:"129",C:[{N:"compareToInt",line:"130",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"}]},{N:"sequence",line:"134",C:[{N:"att",line:"32",name:"expression",C:[{N:"fn",line:"134",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"arith",op:"-",calc:"i-i", +C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"varRef",name:"Q{}start-of-part",slot:"7"}]}]}]},{N:"nextIteration",line:"135",C:[{N:"withParam",name:"Q{}in-expression",as:"1AB",slot:"2",C:[{N:"false"}]},{N:"withParam",name:"Q{}start-of-part",as:"1ADI",slot:"7",C:[{N:"arith",line:"137",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]}]}]},{N:"true"},{N:"nextIteration",line:"141",C:[{N:"withParam",name:"Q{}brace-depth",as:"1ADI",slot:"6",C:[{N:"fn",line:"142",name:"max",C:[{N:"sequence", +C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"},{N:"int",val:"1"}]},{N:"int",val:"0"}]}]}]}]}]}]},{N:"vc",line:"151",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"0"}]},{N:"choose",line:"152",C:[{N:"vc",line:"153",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"12"}]},{N:"nextIteration",line:"154",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8", +C:[{N:"true"}]}]},{N:"true"},{N:"sequence",line:"159",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"varRef",name:"Q{}i",slot:"10"}]},{N:"att",line:"26",name:"literal",C:[{N:"fn",line:"166",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"varRef",name:"Q{}start-of-part", +slot:"7"}]}]},{N:"str",val:"{{"},{N:"str",val:"{"},{N:"str",val:"q"}]},{N:"str",val:"}}"},{N:"str",val:"}"},{N:"str",val:"q"}]}]}]},{N:"nextIteration",line:"168",C:[{N:"withParam",name:"Q{}in-expression",as:"1AB",slot:"2",C:[{N:"true"}]},{N:"withParam",name:"Q{}start-of-part",as:"1ADI",slot:"7",C:[{N:"arith",line:"170",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]}]}]}]},{N:"vc",line:"175",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef", +name:"Q{}RBRACE",bSlot:"1"}]},{N:"choose",line:"176",C:[{N:"vc",line:"177",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}RBRACE",bSlot:"13"}]},{N:"nextIteration",line:"178",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"true"},{N:"ufCall",line:"183",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE0370"},{N:"str",val:"Closing brace must be doubled"},{N:"varRef",name:"Q{}location",slot:"1"}]}]}]}]}]}]}]}]}]}]}]}, +{N:"co",id:"84",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_COMMENT",as:"1FM k[AS] v[1AS]",line:"37",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NC"}]}]}]},{N:"co",id:"256",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_TEXT",as:"1FM k[AS] v[1AS]",line:"33",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NT"}]}]}]}, +{N:"co",id:"257",binds:"",C:[{N:"function",name:"Q{MyTypes}isNumericType",line:"441",module:"type.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"443","var":"Q{}alphaCode",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"0|0||t:isNumeric",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:isNumeric",C:[{N:"cvUntyped", +to:"AS",diag:"0|0||t:isNumeric",C:[{N:"data",diag:"0|0||t:isNumeric",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"base"}]}]}]}]}]},{N:"or",line:"438",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AF"}]}]}]}]}]},{N:"co", +id:"174",binds:"",C:[{N:"function",name:"Q{MyFunctions}xseq",line:"696",module:"static.xsl",flags:"pmU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"698",name:"concat",C:[{N:"str",val:"Q{http://www.w3.org/2001/XMLSchema}"},{N:"varRef",name:"Q{}type",slot:"0"}]}]}]},{N:"co",id:"18",binds:"38 199 1 49 141 28 132 16 78 79 78 79 28 149 18 132 28 16 132 16 78 79 17 78 19 126 28 28 16 16 19 16 19 15 77 258 15 79 28 149 249 126 28 16 77 78 79 132 28 18 237 10 32 78 79 237 78 79 237 78 19 79 16 180 28 19 28 19 28 15 197 150 259 19 260 28 149 79 79 79 48 141 260 22 141 28 19 28 149 261 16 15 16 15 19 16 152 28 141 262 263 152 38 28 16 79 77 77 19 79 15 28 149 240 264 43 48 28 16 77 77 258 265 22 28 164 126 48 124 15 22 1 126 38 38 22 39 22 28 15 79 164 22 22 28 22 15 79 48 1 7 85 28 16 16 16 16 16 150 79 15 19 28 149 266 267 126 28 22 17 15 15 177 150 79 259 177 259 268 16 269 28 149 259 48 269 48 22 141 28 259 139 16 15 17 28 19 16 28 15 164 16 16 22 16 16 48 28 18 16 19 79 164 263 152 16 28 77 78 79 19 15 28 149 113 263 28 16 270 22 22 19 79 15 48 28 15 262 28 141 259 43 48 172 172 172 7 85 7 1 1 1 28 19 79 258 265 28 15 126 48 262 22 22 271 22 22 22 16 121 78 79 78 79 19 83 259 22 272 269 150 172 273 78 79 78 79 16 150 262", +C:[{N:"mode",name:"Q{}sef",onNo:"SC",flags:"W",patternSlots:"1",C:[{N:"templateRule",prec:"0",prio:"5.01",seq:"328",rank:"17",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"25",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"25",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"26",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"27",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"31",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}xpath-default-namespace",flags:"t",as:"1NA",C:[{N:"att",line:"29",name:"xpath-default-namespace",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"5.0",seq:"323",rank:"16",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", +test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param", +name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"20",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"22",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6", +seq:"363",rank:"15",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"143",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"145",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode", +flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"358",rank:"14",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100", +module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"102",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"104",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"354",rank:"13",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"94",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA", +C:[{N:"varRef",line:"96",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"351",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"80",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"82",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0", +prio:"3.1",seq:"348",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"73",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"75",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation", +flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"343",rank:"11",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"59",flags:"t", +C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"62",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"339",rank:"10",minImp:"0",slots:"1",matches:"NE",flags:"s", +line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"51",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"53",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03",seq:"335",rank:"9",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"43",flags:"t", +C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"45",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"331",rank:"8",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"36",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"38",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"227",rank:"6",minImp:"0",slots:"4",matches:"NE",flags:"s",line:"448",module:"creating-new-nodes.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"448",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"448",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"449",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"450",name:"Q{}static-context",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"456","var":"Q{}version",as:"?AD", +slot:"2",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"true"},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"nextMatch",line:"457",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"458",name:"Q{}attr", +slot:"0"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM",C:[{N:"ifCall",line:"463",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"2"},{N:"dec",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}static-context",slot:"1"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}xsl-version", +flags:"t",as:"?AD",C:[{N:"varRef",line:"464",name:"Q{}version",slot:"2"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"465",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"2"},{N:"dec",val:"2"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"175",rank:"3",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"161",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"161",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"162",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", +as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"164","var":"Q{}temp",as:"*NE",slot:"1",C:[{N:"treat",line:"165",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"166",name:"Q{}attr",slot:"0"}]}]}]},{N:"applyT",line:"169",mode:"Q{}on-empty",flags:"t",bSlot:"1",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"1"},{N:"withParam",name:"Q{}element.attributes",flags:"t",as:"*AS",C:[{N:"choose",line:"176", +C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"1"},{N:"axis",name:"self",nodeTest:"NE n*:elem"}]}]},{N:"slash",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"229",rank:"0",minImp:"0",slots:"11",matches:"NE",flags:"s",as:"1NE",line:"470",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"471",card:"1",diag:'7|0|XTTE0505|match="*" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"472",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied", +slot:"1"}]}]}]},{N:"param",line:"473",name:"Q{}static-context",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"let",line:"474","var":"Q{}namespace-aliases",as:"?FM",slot:"3",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"namespace-aliases"}]}]}]},{N:"let",line:"481","var":"Q{}element-name",as:"1AQ", +slot:"4",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]},{N:"let","var":"Q{}original-name",as:"1AQ",slot:"5",C:[{N:"check",card:"1",diag:"0|0||f:map-aliased-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let","var":"Q{}namespace-aliases",as:"1FM",slot:"6",C:[{N:"check",card:"1",diag:"0|1||f:map-aliased-name",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]},{N:"let",line:"544","var":"Q{}original-uri",as:"1AU",slot:"7", +C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"5"}]},{N:"let",line:"547","var":"Q{}new-uri",as:"1AS",slot:"8",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"6"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]}]},{N:"convert",line:"548",from:"AU", +to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", +name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]},{N:"int",val:"2"}]}]}]}]}]}]},{N:"choose",line:"556",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"7"},{N:"varRef",name:"Q{}new-uri",slot:"8"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"5"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"9",C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", +name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]},{N:"fn",line:"567",name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"8"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"9"}]},{N:"str",val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat", +C:[{N:"varRef",name:"Q{}prefix",slot:"9"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"5"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"3|0|XTTE0570|element-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"491",name:"elem",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}element-name", +slot:"4"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"2",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"n"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"creating-new-nodes.xsl",line:"491",name:"Q{}element-name",slot:"4"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"creating-new-nodes.xsl",line:"491",name:"Q{}element-name",slot:"4"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"att",name:"nsuri",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}element-name",slot:"4"}]}]}]},{N:"att",name:"namespaces",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}record-namespaces",tailCall:"false",bSlot:"3", +C:[{N:"dot",type:"1NE",flags:"a"},{N:"sequence",line:"486",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}exclude"}]}]}]}]},{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|excluded-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|excluded-namespaces",C:[{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]}]}]}]},{N:"str",val:"http://www.w3.org/1999/XSL/Transform"}]}]}]},{N:"applyT",line:"492",mode:"Q{}attribute-sans-prefix",bSlot:"4",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"choose",line:"493",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"494",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"forEach",line:"496",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}, +{N:"att",line:"497",name:"defaultElementNS",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]},{N:"forEach",line:"499",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"},{N:"att",line:"500",name:"defaultCollation",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]}]}]}]}, +{N:"let",line:"502","var":"Q{}default-collation",as:"?NA",slot:"10",C:[{N:"choose",line:"503",C:[{N:"fn",line:"504",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]},{N:"att",line:"505",name:"defaultCollation",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]}]}]},{N:"true"},{N:"varRef",line:"508",name:"Q{}default-collation",slot:"1"}]}, +{N:"sequence",line:"512",C:[{N:"except",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"callT",line:"513",name:"Q{}record-location",bSlot:"5"},{N:"choose",line:"514",C:[{N:"and",line:"515",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"516",name:"empty", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"and",line:"518",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"519",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"},{N:"withParam",name:"Q{}default-collation",flags:"t", +as:"?NA",C:[{N:"varRef",line:"520",name:"Q{}default-collation",slot:"10"}]}]},{N:"true"},{N:"elem",line:"524",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"525",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets"}]},{N:"applyT",line:"529",flags:"c",bSlot:"-1",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}, +{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets,NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation],NA nQ{http://ns.saxonica.com/xslt/export}*]]"}]}]},{N:"applyT",line:"530",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA",C:[{N:"varRef",line:"531",name:"Q{}default-collation",slot:"10"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"0.0",seq:"378",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}message",flags:"s",line:"1561",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}message"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1562",C:[{N:"param", +name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"1563",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"1564",name:"Q{}default-collation", +slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"1566",name:"message",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"6"}]},{N:"att",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"XSLT-SEF-compiler.xsl", +line:"1565",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}message",flags:"a"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}]},{N:"varRef",line:"1568",name:"Q{}attr",slot:"0"},{N:"elem",line:"1569",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"applyT",line:"1570",mode:"Q{}create.xpath",bSlot:"7",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"1571",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]},{N:"callT",line:"1573",name:"Q{MyFunctions}AVT",bSlot:"8",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}terminate",C:[{N:"axis",line:"1574",name:"attribute",nodeTest:"NA nQ{}terminate"}]}, +{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"false"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"1576",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"9"},{N:"str",val:"terminate"}]}]}]}]}]},{N:"callT",line:"1578",name:"Q{MyFunctions}AVT",bSlot:"10",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}error-code",C:[{N:"axis",line:"1579",name:"attribute", +nodeTest:"NA nQ{}error-code"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"1582",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"11"},{N:"str",val:"error"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"389",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}output", +flags:"s",line:"1716",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"372",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"s",line:"99",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +line:"100",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"101",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}schedule-action"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"102",name:"Q{}attr", +slot:"0"},{N:"callT",line:"103",name:"Q{}record-location",bSlot:"12"},{N:"elem",line:"104",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}wait"},{N:"str",val:"0"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS", +C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"a"},{N:"treat",module:"lib.xsl", +line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"2",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", +C:[{N:"varRef",name:"Q{}node",slot:"1"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"2"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"1"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"2"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"forEach",line:"105",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}document"},{N:"callT",line:"106",name:"Q{}role-value-template",bSlot:"13"}]}, +{N:"choose",line:"108",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}document"}]},{N:"elem",line:"109",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"empty"}]}]},{N:"applyT",line:"111",mode:"Q{}sef",flags:"i",bSlot:"14",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]},{N:"choose",line:"112",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}http-request"}]},{N:"elem",line:"113",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}http-request"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"4",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"3"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"4"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"3"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"4"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"171",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}assert",flags:"s",line:"104",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}assert"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"105",C:[{N:"param",name:"Q{}options",slot:"0",flags:"tr", +as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"106",name:"Q{}compiler.options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|compiler.options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|compiler.options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"107",name:"Q{}attr",slot:"2",as:"*NA",C:[{N:"empty", +role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"108",C:[{N:"or",line:"109",op:"or",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"enable-assertions"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}compiler.options",slot:"1"},{N:"str",val:"enable-assertions"}]}]},{N:"elem",line:"111",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef", +name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"15"}]},{N:"att",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"conditionals.xsl",line:"110",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}assert",flags:"a"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}]},{N:"varRef",line:"112",name:"Q{}attr",slot:"2"},{N:"callT",line:"113",name:"Q{}record-location",bSlot:"16"}, +{N:"applyT",line:"114",mode:"Q{}create.xpath",bSlot:"17",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"elem",line:"115",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"116",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"117",name:"message",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE", +bSlot:"18"}]},{N:"elem",line:"118",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"applyT",line:"119",mode:"Q{}create.xpath",bSlot:"19",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"120",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]},{N:"elem",line:"122",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", +C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"terminate"}]}]},{N:"callT",line:"123",name:"Q{MyFunctions}AVT",bSlot:"20",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}error-code",C:[{N:"axis",line:"124",name:"attribute",nodeTest:"NA nQ{}error-code"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9001"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"126",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check", +card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"21"},{N:"str",val:"error"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"elem",line:"132",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"270",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}map",flags:"s",line:"14",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}map"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"15",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"16",name:"MAP",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"17",C:[{N:"varRef", +name:"Q{}attr",slot:"0"},{N:"elem",line:"18",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"19",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"263",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}source-document",flags:"s",line:"17",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}source-document"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"18",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"19",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"20",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"21",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"elem",line:"22",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"doc"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT", +bSlot:"22"}]},{N:"choose",line:"23",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"24",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}source-document",flags:"a"},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}, +{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"callT",line:"26",name:"Q{MyFunctions}AVT",bSlot:"23",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}href",C:[{N:"axis",line:"27",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]}]},{N:"callT",line:"30",name:"Q{}sequence-constructor",bSlot:"24"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"154",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-match",flags:"s",line:"190", +module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-match"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"191",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem", +line:"192",name:"nextMatch",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"25"}]},{N:"varRef",line:"193",name:"Q{}attr",slot:"0"},{N:"callT",line:"194",name:"Q{}record-location",bSlot:"26"},{N:"applyT",line:"195",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"170",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}if", +flags:"s",line:"68",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}if"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check", +card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"71",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"72",C:[{N:"varRef",name:"Q{}attr",slot:"1"},{N:"callT",line:"73",name:"Q{}record-location",bSlot:"27"},{N:"applyT",line:"74",mode:"Q{}create.xpath", +bSlot:"28",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"choose",line:"75",C:[{N:"and",line:"76",op:"and",C:[{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}then,NA nQ{}else]"}]}]},{N:"sequence", +line:"77",C:[{N:"choose",C:[{N:"fn",line:"78",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}then"}]},{N:"applyT",line:"79",mode:"Q{}create.xpath",bSlot:"29",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}then"}]},{N:"true"},{N:"callT",line:"82",name:"Q{}sequence-constructor",bSlot:"30"}]},{N:"elem",line:"85",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"choose",line:"86",C:[{N:"fn",line:"87",name:"exists",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}else"}]},{N:"applyT",line:"88",mode:"Q{}create.xpath",bSlot:"31",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}else"}]},{N:"true"},{N:"elem",line:"91",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]},{N:"true"},{N:"sequence",line:"96",C:[{N:"callT",name:"Q{}sequence-constructor",bSlot:"32"},{N:"elem",line:"97",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"98",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"182",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"s",line:"241",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"242",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"243","var":"Q{}context",as:"1",slot:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"a"},{N:"let",line:"244","var":"Q{}errors",as:"*AS",slot:"2",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}errors"},{N:"str",val:"*"}]}]}]}]}]}]}]},{N:"elem",line:"245",name:"catch",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"err",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}errors",slot:"2"},{N:"str",val:" "}]}]},{N:"att",line:"246",name:"errors",flags:"l",C:[{N:"fn",line:"247", +name:"string-join",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}errors",slot:"2"},{N:"choose",line:"248",C:[{N:"or",line:"249",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"dot",type:"1AS"}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"*:"}]}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"Q{"}]}]},{N:"dot",line:"250",type:"1AS"},{N:"fn",line:"252",name:"ends-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"}*"}]},{N:"fn",line:"253",name:"replace", +C:[{N:"let","var":"Q{}qname",as:"1AQ",slot:"3",C:[{N:"fn",name:"resolve-QName",C:[{N:"fn",name:"replace",C:[{N:"dot",type:"1AS"},{N:"str",val:"*$"},{N:"str",val:"Z"},{N:"str",val:""}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"fn",module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"3"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef", +name:"Q{}qname",slot:"3"}]}]}]},{N:"str",val:"Z$"},{N:"str",val:"*"},{N:"str",val:""}]},{N:"true"},{N:"let",line:"256","var":"Q{}qname",as:"1AQ",slot:"4",C:[{N:"fn",name:"resolve-QName",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"fn",module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"4"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName", +C:[{N:"varRef",name:"Q{}qname",slot:"4"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"varRef",line:"274",name:"Q{}attr",slot:"0"},{N:"applyT",line:"275",mode:"Q{}select.or.sequence",bSlot:"33",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"252",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key",flags:"s",line:"46",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match", +test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",name:"Q{}make-sort-key",bSlot:"34",flags:"t"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"377",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback",flags:"s",line:"1555",module:"XSLT-SEF-compiler.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"163",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"s",line:"171",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"172",C:[{N:"ufCall",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"35",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"a"}]},{N:"applyT",line:"173",mode:"Q{}select.or.sequence",flags:"t",bSlot:"36",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"174",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"37"},{N:"str",val:"on-completion"}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"0.0",seq:"369",rank:"1",minImp:"0",slots:"4",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property",flags:"s",line:"48",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"49",C:[{N:"param",name:"Q{}xpath-default-namespace", +slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"50",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"51",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d", +namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}remove-property"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"52",name:"Q{}attr",slot:"1"},{N:"callT",line:"53",name:"Q{}record-location",bSlot:"38"},{N:"forEach",line:"54",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"55",name:"Q{}role-value-template",bSlot:"39"}]},{N:"elem",line:"58",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"ixsl:window()"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data", +diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash", +C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1733439693",bSlot:"40"}]}]}]}]},{N:"varRef",line:"59",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"151",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates", +flags:"s",line:"115",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"116",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", +slot:"0"}]}]},{N:"param",line:"117",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"118",name:"Q{}default-mode",slot:"2",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"elem",line:"119",name:"applyT",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"41"}]},{N:"callT",line:"120",name:"Q{}record-location",bSlot:"42"},{N:"applyT",line:"121",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}mode"}]}, +{N:"choose",line:"122",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"}]}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"},{N:"str",val:"#unnamed"}]}]},{N:"att",line:"123",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"}]}]},{N:"varRef",line:"125",name:"Q{}attr",slot:"0"},{N:"let",line:"126","var":"Q{}source", +as:"*NE",slot:"3",C:[{N:"choose",line:"127",C:[{N:"fn",line:"128",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"elem",line:"129",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"str",val:"node()"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates", +flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number", +type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"defaultedSelect",flags:"l",C:[{N:"str",val:""}]}]}]},{N:"true"},{N:"treat",line:"132",as:"NE",diag:"3|0|XTTE0570|source", +C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"43",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"sequence",line:"136",C:[{N:"choose",C:[{N:"fn",line:"137",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"138",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"varRef",line:"139",name:"Q{}source",slot:"3"}, +{N:"forEach",line:"140",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"141",name:"Q{}make-sort-key",bSlot:"44"}]}]}]},{N:"true"},{N:"varRef",line:"146",name:"Q{}source",slot:"3"}]},{N:"choose",line:"149",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt", +C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]}]},{N:"callT",line:"150",name:"Q{MyFunctions}AVT",bSlot:"45",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}separator",C:[{N:"axis",line:"151",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"152",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef", +name:"Q{}roles",bSlot:"46"},{N:"str",val:"separator"}]}]}]}]}]}]},{N:"applyT",line:"171",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"203",rank:"1",minImp:"0",slots:"12",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document",flags:"s",line:"23",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"24",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"25",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"26",name:"resultDoc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"47"}]},{N:"varRef",line:"27",name:"Q{}attr",slot:"0"},{N:"callT",line:"28",name:"Q{}record-location",bSlot:"48"},{N:"applyT",line:"29",mode:"Q{}sef",bSlot:"49",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}, +{N:"let",line:"31","var":"Q{}local-fixed-properties",as:"1FM k[AS]",slot:"2",C:[{N:"ifCall",line:"33",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"union",op:"|",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"50"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"{"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]},{N:"ifCall",line:"35",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"output-version",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:"version"},{N:"true"}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"applyT",line:"36",mode:"Q{}normalize-serialization-property",bSlot:"51",C:[{N:"dot",role:"select",type:"1NA"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"41",C:[{N:"att",name:"local",flags:"l",C:[{N:"let","var":"Q{}map",as:"1FM",slot:"3",C:[{N:"varRef",name:"Q{}local-fixed-properties",slot:"2"},{N:"convert",line:"196",from:"AZ", +to:"AS",flags:"p",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}map",slot:"3"}]},{N:"let",line:"197","var":"Q{}value",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"varRef",name:"Q{}map",slot:"3"},{N:"dot",type:"1A"}]},{N:"valueOf",line:"199",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"choose",line:"198",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"item-separator"}]},{N:"fn",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"check", +card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"4"}]}]}]}]},{N:"str",val:"%"},{N:"str",val:"%%"},{N:"str",val:""}]},{N:"str",val:"\n"},{N:"str",val:"%n"},{N:"str",val:""}]},{N:"true"},{N:"varRef",line:"199",name:"Q{}value",slot:"4"}]}]}]},{N:"str",val:"\n"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]},{N:"let",line:"44","var":"Q{}formatExpr", +as:"?NE",slot:"5",C:[{N:"choose",line:"45",C:[{N:"fn",line:"46",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"empty"},{N:"castable",line:"47",flags:"a",as:"1ASNTN",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]}]},{N:"elem",line:"48",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"format"}]},{N:"att",name:"val",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName", +tailCall:"false",bSlot:"52",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}result-document",flags:"a"},{N:"str",val:"XTSE0010"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]}]}]},{N:"true"},{N:"callT",line:"54",name:"Q{MyFunctions}AVT", +bSlot:"53",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}format",C:[{N:"axis",line:"55",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"56",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"54"},{N:"str",val:"format"}]}]}]}]}]}]},{N:"let",line:"62","var":"Q{}decl",as:"?NE nQ{http://ns.saxonica.com/xslt/export}output",slot:"6",C:[{N:"choose", +line:"64",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"let",line:"65","var":"Q{}formatName",as:"?NA",slot:"7",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]},{N:"let",line:"66","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"8",flags:"l",C:[{N:"data",diag:"1|1||eq",C:[{N:"varRef", +name:"Q{}formatName",slot:"7"}]},{N:"treat",as:"NE nQ{http://ns.saxonica.com/xslt/export}output",diag:"3|0|XTTE0570|decl",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|decl",C:[{N:"filter",flags:"",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"output-declarations"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"attVal",name:"Q{}name"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]}]}]}]}]}]}, +{N:"fn",line:"68",name:"empty",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"}]},{N:"treat",line:"69",as:"NE nQ{http://ns.saxonica.com/xslt/export}output",diag:"3|0|XTTE0570|decl",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|decl",C:[{N:"filter",flags:"b",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"output-declarations"}]},{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]}, +{N:"sequence",line:"75",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}decl",slot:"6"}]},{N:"att",line:"83",name:"global",flags:"l",C:[{N:"let",line:"78","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"+AS",slot:"9",flags:"l",C:[{N:"sequence",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"55"},{N:"str",val:"use-character-maps"}]},{N:"let","var":"Q{}map",as:"1FM",slot:"10",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach", +C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}decl",slot:"6"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}property"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"},{N:"attVal",name:"Q{}name"}]}]},{N:"ifCall",line:"79",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"}, +{N:"str",val:"output-version"}]},{N:"str",val:"version"},{N:"true"},{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"convert",line:"196",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:makeProperties#1", +C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}map",slot:"10"}]},{N:"let",line:"197","var":"Q{}value",slot:"11",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}map",slot:"10"},{N:"dot",type:"1A"}]},{N:"valueOf",line:"199",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"choose",line:"198",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"item-separator"}]},{N:"fn",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace", +C:[{N:"varRef",name:"Q{}value",slot:"11"}]}]}]},{N:"str",val:"%"},{N:"str",val:"%%"},{N:"str",val:""}]},{N:"str",val:"\n"},{N:"str",val:"%n"},{N:"str",val:""}]},{N:"true"},{N:"varRef",line:"199",name:"Q{}value",slot:"11"}]}]}]},{N:"str",val:"\n"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]}]}]},{N:"choose",line:"86",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]},{N:"callT",line:"87",name:"Q{MyFunctions}AVT",bSlot:"56",C:[{N:"withParam",name:"Q{}avt-string",flags:"c", +as:"?NA nQ{}href",C:[{N:"axis",line:"88",name:"attribute",nodeTest:"NA nQ{}href"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"89",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"57"},{N:"str",val:"href"}]}]}]}]}]}]},{N:"choose",line:"93",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"copyOf",line:"94",flags:"c",C:[{N:"varRef",name:"Q{}formatExpr", +slot:"5"}]}]},{N:"forEach",line:"97",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"58"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"{"}]}]}]}, +{N:"callT",line:"98",name:"Q{MyFunctions}AVT",bSlot:"59",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"1NA",C:[{N:"dot",line:"99",type:"1NA"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"1NA",C:[{N:"att",line:"101",name:"role",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{}"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"callT",line:"106",name:"Q{}sequence-constructor",bSlot:"60",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"107",as:"NA",diag:"8|0|XTTE0590|attr", +C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"61"},{N:"str",val:"content"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"224",rank:"2",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"s",as:"1NE",line:"394",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"394",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"395",card:"1",diag:'7|0|XTTE0505|match="xsl:copy[@select]" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"396",name:"Q{}xsl-version",slot:"1",flags:"t",as:"1AD",C:[{N:"dec",role:"select",val:"3"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|xsl-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|xsl-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|xsl-version",C:[{N:"data",diag:"8|0|XTTE0590|xsl-version",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"397",name:"Q{}attr",slot:"2", +as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"398",C:[{N:"vc",line:"399",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}xsl-version",slot:"1"},{N:"dec",val:"3"}]},{N:"elem",line:"400",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"401",C:[{N:"varRef",name:"Q{}attr",slot:"2"},{N:"applyT",line:"402",mode:"Q{}create.xpath",bSlot:"62",C:[{N:"axis", +role:"select",name:"attribute",nodeTest:"NA nQ{}select"},{N:"withParam",name:"Q{}checkType",as:"1AS",C:[{N:"str",val:"?"}]},{N:"withParam",name:"Q{}diagnostic",as:"1NA",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg330224683",bSlot:"63"}]}]}]},{N:"elem",line:"406",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"str", +val:"in"}]}]},{N:"callT",line:"408",name:"Q{}record-location",bSlot:"64"},{N:"callT",line:"409",name:"Q{}sequence-constructor",bSlot:"65"}]}]}]}]},{N:"true"},{N:"elem",line:"414",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]}, +{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"str",val:"in"}]}]},{N:"varRef",line:"415",name:"Q{}attr",slot:"2"},{N:"callT",line:"416",name:"Q{}record-location",bSlot:"66"},{N:"callT",line:"418",name:"Q{}sequence-constructor",bSlot:"67"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"225",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"s",as:"1NE",line:"423",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match", +test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"424",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"425",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}, +{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"i"}]},{N:"str",val:"n"}]}]},{N:"varRef",line:"426",name:"Q{}attr",slot:"0"},{N:"callT",line:"427",name:"Q{}record-location",bSlot:"68"},{N:"elem",line:"428",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"429",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}]},{N:"applyT",line:"430",mode:"Q{}select.or.sequence",bSlot:"69", +C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"219",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace",flags:"s",as:"1NE",line:"242",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"243",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"244",name:"namespace",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_NAMESPACE",bSlot:"70"}]},{N:"varRef",line:"245",name:"Q{}attr",slot:"0"},{N:"forEach",line:"246",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}, +{N:"callT",line:"247",name:"Q{}value-template",bSlot:"71"}]},{N:"callT",line:"249",name:"Q{}constructSimpleContent",bSlot:"72"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"257",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}fork",flags:"s",line:"15",module:"splitting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}fork"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"17",name:"fork",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"18",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"19",name:"Q{}sequence-constructor",bSlot:"73"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"260",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring", +flags:"s",line:"66",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"67",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"matching"}]}, +{N:"choose",line:"68",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"69",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"applyT",line:"71",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"211",rank:"2",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"s",as:"1NE",line:"31",module:"creating-new-nodes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"31",op:"or",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}namespace"}]}]},{N:"str", +val:"{"}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:"{"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"32",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat", +role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"33",name:"compElem",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ELEMENT",bSlot:"74"}]},{N:"varRef",line:"34",name:"Q{}attr",slot:"0"},{N:"callT",line:"36",name:"Q{}record-location",bSlot:"75"},{N:"choose",line:"37",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"38",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"forEach",line:"40",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"callT",line:"41",name:"Q{}role-value-template",bSlot:"76"}]},{N:"let",line:"43","var":"Q{}content",as:"*NE",slot:"1",C:[{N:"treat",line:"44",as:"NE",diag:"3|0|XTTE0570|content",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"sequence", +role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]},{N:"choose",line:"46",C:[{N:"fn",line:"47",name:"empty",C:[{N:"varRef",name:"Q{}content",slot:"1"}]},{N:"elem",line:"48",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"lookup",line:"49",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"77"},{N:"str",val:"content"}]}]},{N:"compareToInt",line:"52",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn", +name:"subsequence",C:[{N:"varRef",name:"Q{}content",slot:"1"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"55","var":"Q{http://saxon.sf.net/generated-variable}v0",slot:"2",flags:"l",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"78"},{N:"str",val:"content"}]},{N:"forEach",line:"53",C:[{N:"varRef",name:"Q{}content",slot:"1"},{N:"copy",line:"54",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"55",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"2"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"elem",line:"60",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"61",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"79"},{N:"str",val:"content"}]},{N:"varRef",name:"Q{}content",slot:"1"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"212",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"s",as:"1NE",line:"69",module:"creating-new-nodes.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"70",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"71","var":"Q{}name", +as:"1AS",slot:"1",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"74","var":"Q{}ns",as:"1FM",slot:"2",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"namespaces.xsl",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"creating-new-nodes.xsl",line:"72",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}element", +flags:"a"},{N:"first",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"namespaces.xsl",line:"165",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"3",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"4",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"3"},{N:"choose",C:[{N:"compareToString", +op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"80"},{N:"varRef",name:"Q{}prefix",slot:"3"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"4"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"elem",line:"76",name:"elem",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type",flags:"l",C:[{N:"str",val:"element()"}]},{N:"varRef",line:"77",name:"Q{}attr",slot:"0"},{N:"let",line:"78","var":"Q{}parts",as:"*AS",slot:"5",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]},{N:"sequence",line:"79",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA nQ{http://ns.saxonica.com/xslt/export}*,NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS]"}]}, +{N:"applyT",line:"80",mode:"Q{}attribute-sans-prefix",bSlot:"81",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]},{N:"att",line:"86",name:"name",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]}]},{N:"str",val:""}]},{N:"lastOf",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]},{N:"true"},{N:"varRef",name:"Q{}name", +slot:"1"}]}]},{N:"att",line:"87",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ELEMENT",bSlot:"82"}]},{N:"applyT",line:"88",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"choose",line:"89",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"90",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"let",line:"92", +"var":"Q{}prefix",as:"1AS",slot:"6",C:[{N:"choose",line:"93",C:[{N:"compareToInt",line:"94",op:"eq",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"choose",line:"95",C:[{N:"castable",line:"96",flags:"a",as:"1ASNTNC",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]},{N:"convert",line:"96",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|prefix",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|prefix", +C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]}]}]}]},{N:"true"},{N:"convert",line:"97",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|prefix",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|prefix",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"83",C:[{N:"str",val:"XTDE0820"},{N:"fn", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'Invalid prefix "'},{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"true"},{N:"str",val:""}]},{N:"sequence",line:"108",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"att",line:"115",name:"nsuri",flags:"l",C:[{N:"fn", +name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"choose",line:"114",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}ns",slot:"2"},{N:"varRef",name:"Q{}prefix",slot:"6"}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"6"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"a"}]}]}]}]}]}, +{N:"str",val:" "}]}]}]},{N:"applyT",line:"118",mode:"Q{}attribute-sans-prefix",bSlot:"84",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"callT",line:"120",name:"Q{}record-location",bSlot:"85"},{N:"callT",line:"121",name:"Q{}sequence-constructor", +bSlot:"86",C:[{N:"withParam",name:"Q{}others",flags:"c",as:"*NE",C:[{N:"treat",line:"123",as:"NE",diag:"3|0|XTTE0570|others",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"367",rank:"1",minImp:"0",slots:"4",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute",flags:"s",line:"14",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"15",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param", +line:"16",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"17",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}remove-attribute"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"18",name:"Q{}attr",slot:"1"}, +{N:"callT",line:"19",name:"Q{}record-location",bSlot:"87"},{N:"forEach",line:"20",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"21",name:"Q{}role-value-template",bSlot:"88"}]},{N:"elem",line:"24",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"}, +{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", +val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg418646126",bSlot:"89"}]}]}]}]},{N:"varRef",line:"25",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"265",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule",flags:"s",line:"52",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"53",name:"accRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"5"}]},{N:"applyT",line:"54",mode:"Q{}create.xpath",bSlot:"90",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"applyT",line:"55",mode:"Q{}select.or.sequence",bSlot:"91",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"168", +rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}when",flags:"s",line:"41",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}when"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM", +C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"applyT",line:"43",mode:"Q{}create.xpath",bSlot:"92",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"choose",line:"44",C:[{N:"vc",line:"45",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context", +slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"applyT",line:"46",mode:"Q{}select.or.sequence",flags:"t",bSlot:"93",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}when",flags:"a"}]},{N:"true"},{N:"callT",line:"49",name:"Q{}sequence-constructor",bSlot:"94",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"240",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"s",line:"123",module:"sorting.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"123",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]}]},{N:"sequence", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"124",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"125",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"126",name:"Q{}attr",slot:"0"}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"239",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"s",line:"115",module:"sorting.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"115", +name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"116",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"117",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",line:"118",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"119",mode:"Q{}create.xpath",bSlot:"95",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"120",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"241",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort", +flags:"s",line:"129",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", +slot:"0"}]}]},{N:"ufCall",line:"131",name:"Q{MyFunctions}check-sort",tailCall:"false",bSlot:"96",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"a"}]},{N:"elem",line:"132",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"133",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"elem",line:"135",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"136",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]},{N:"applyT",line:"138",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"166",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose",flags:"s",line:"16",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"17",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"18",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type", +flags:"l",C:[{N:"str",val:"item()*"}]},{N:"varRef",line:"19",name:"Q{}attr",slot:"0"},{N:"callT",line:"20",name:"Q{}record-location",bSlot:"97"},{N:"applyT",line:"21",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]},{N:"choose",line:"22",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"}]},{N:"sequence",line:"23",C:[{N:"elem",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}, +{N:"elem",line:"24",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"221",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",as:"*NE",line:"264",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"264",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"265",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]}, +{N:"let",line:"266","var":"Q{}attrs",as:"*NA",slot:"1",C:[{N:"sequence",line:"267",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"choose",line:"268",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"269",name:"flags",C:[{N:"str",val:"d"}]}]},{N:"treat",line:"271",as:"NA",diag:"3|0|XTTE0570|attrs",C:[{N:"applyT",mode:"Q{}attribute-sans-prefix", +bSlot:"98",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}]}]},{N:"treat",line:"274",as:"NE",diag:'7|0|XTTE0505|match="xsl:text[normalize-space()]" mode="sef"',C:[{N:"applyT",flags:"ct",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NT"}, +{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"275",name:"Q{}attrs",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"220",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",as:"1NE",line:"253",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"254",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"255",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"99"}]},{N:"choose",line:"256",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"257",name:"flags",flags:"l",C:[{N:"str",val:"d"}]}]},{N:"varRef",line:"259",name:"Q{}attr",slot:"0"},{N:"elem",line:"260",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"244",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"s",line:"17",module:"grouping.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"18",C:[{N:"param",name:"Q{}default-collation", +slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"19",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"callT",line:"20",name:"Q{}check-select",bSlot:"100"},{N:"ufCall",line:"21",name:"Q{MyFunctions}check-sort", +tailCall:"false",bSlot:"101",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]},{N:"let",line:"22","var":"Q{}key",as:"*NA",slot:"2",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-by"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-starting-with"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-ending-with"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-adjacent"}]},{N:"elem",line:"31",name:"forEachGroup",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"algorithm",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"slash",C:[{N:"varRef",name:"Q{}key",slot:"2"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"group-|-with"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"choose",line:"32",C:[{N:"choose",line:"29",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false", +bSlot:"102",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]},{N:"true"},{N:"false"}]},{N:"att",line:"33",name:"flags",flags:"l",C:[{N:"str",val:"c"}]}]},{N:"varRef",line:"35",name:"Q{}attr",slot:"1"},{N:"callT",line:"36",name:"Q{}record-location",bSlot:"103"},{N:"let",line:"37","var":"Q{}source",as:"*NE",slot:"3",C:[{N:"treat",line:"38",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"104",C:[{N:"axis", +role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"sequence",line:"40",C:[{N:"choose",C:[{N:"compareToInt",line:"41",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"45","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?NA",slot:"4",flags:"l",C:[{N:"treat",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role", +C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"105"},{N:"str",val:"sort"}]}]}]},{N:"sequence",line:"42",C:[{N:"varRef",name:"Q{}source",slot:"3"},{N:"forEach",line:"43",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"44",name:"Q{}make-sort-key",bSlot:"106",C:[{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"varRef",line:"45",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"4"}]}]}]}]}]},{N:"fn",line:"49",name:"exists",C:[{N:"axis", +name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"50",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"varRef",line:"51",name:"Q{}source",slot:"3"},{N:"forEach",line:"52",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"53",name:"Q{}make-sort-key",bSlot:"107"}]}]}]},{N:"true"},{N:"varRef",line:"58",name:"Q{}source", +slot:"3"}]},{N:"applyT",line:"61",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}key",slot:"2"}]},{N:"callT",line:"62",name:"Q{}sequence-constructor",bSlot:"108",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"63",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"109"},{N:"str",val:"content"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"174",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty", +flags:"s",line:"153",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"154",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", +slot:"0"}]}]},{N:"elem",line:"155",name:"onNonEmpty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"156",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"157",mode:"Q{}select.or.sequence",bSlot:"110",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"371",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"s", +line:"81",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"82",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"83",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"84",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-style"}]}, +{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"85",name:"Q{}attr",slot:"1"},{N:"callT",line:"86",name:"Q{}record-location",bSlot:"111"},{N:"forEach",line:"87",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"88",name:"Q{}role-value-template",bSlot:"112"}]},{N:"elem",line:"91",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", +val:"1AS"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg2078175306",bSlot:"113"}]}]}]}]}]}]},{N:"elem",line:"93",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI", +to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"a"},{N:"treat",module:"lib.xsl", +line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", +C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg19873741",bSlot:"114"}]}]}]}]},{N:"varRef", +line:"94",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"268",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"s",line:"14",module:"key.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"15",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"16",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation", +C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"17",name:"Q{}xpath-default-namespace",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"18",name:"Q{}options",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check", +card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"3"}]}]}]},{N:"let",line:"19","var":"Q{}composite",as:"1AB",slot:"4",C:[{N:"treat",as:"AB",diag:"3|0|XTTE0570|composite",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|composite",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|composite",C:[{N:"data",diag:"3|0|XTTE0570|composite",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]}]},{N:"elem",line:"21",name:"key",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"115",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"a"}]}]},{N:"att",name:"binds",flags:"l",C:[{N:"str", +val:""}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"u"},{N:"fn",name:"string",C:[{N:"filter",flags:"ip",C:[{N:"str",val:"b"},{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"backward-compatibility"}]}]}]},{N:"fn",name:"string",C:[{N:"filter",flags:"ib",C:[{N:"str",val:"c"},{N:"varRef",name:"Q{}composite",slot:"4"}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", +diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let","var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1", +C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58", +name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"116"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]}, +{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"choose",line:"22",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"3"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"23",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"forEach", +line:"25",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"},{N:"varRef",name:"Q{}default-collation",slot:"1"}]}]},{N:"att",line:"26",name:"collation",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"callT",line:"28",name:"Q{}record-location",bSlot:"117"},{N:"elem",line:"29",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"match"}]}, +{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]}]},{N:"varRef",line:"30",name:"Q{}xpath-default-namespace",slot:"2"}]}]},{N:"elem",line:"32",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"use"}]},{N:"choose",line:"33",C:[{N:"fn",line:"34",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"elem",line:"35", +name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"36",mode:"Q{}create.xpath",bSlot:"118",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"true"},{N:"applyT",line:"40",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"238",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort",flags:"s",line:"111",module:"sorting.xsl", +C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"}]},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"112",name:"Q{}make-sort-key",bSlot:"119",flags:"t"}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"237",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort",flags:"s",line:"108",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"109",name:"Q{}make-sort-key",bSlot:"120",flags:"t"}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"161",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"s",line:"144",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"145", +C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"ufCall",line:"146",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"121",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"a"}]},{N:"ufCall",line:"146",name:"Q{MyFunctions}check-tail-position",tailCall:"false",bSlot:"122",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration", +flags:"a"}]},{N:"let",line:"147","var":"Q{}iteration-params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"1",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"let",line:"149","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"*AZ",slot:"2",flags:"l",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}iteration-params",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",line:"148",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"choose",line:"149",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"attVal",name:"Q{}name"}]}]}, +{N:"ufCall",line:"152",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"123",C:[{N:"str",val:"XTSE3130"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:next-iteration parameter '"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"' is not a parameter of the enclosing xsl:iterate"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]}]}]},{N:"elem",line:"155",name:"nextIteration",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +line:"156",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"157",name:"Q{}record-location",bSlot:"124"},{N:"applyT",line:"158",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"381",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",flags:"s",as:"1NE",line:"1599",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}, +{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1602",name:"glob",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"use",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"str",val:"absent"}]}, +{N:"str",val:"pro"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"str",val:"required"}]},{N:"str",val:"req"},{N:"true"},{N:"str",val:"opt"}]}]},{N:"att",name:"code",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",line:"1603",name:"cxt",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, +{N:"str",val:"1"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"383",rank:"2",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1616",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1616",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1617",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"1619","var":"Q{}has-uniform-static-context",as:"1AB",slot:"1",C:[{N:"ufCall",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"125",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}, +{N:"elem",line:"1620",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"1"}]}]},{N:"elem",line:"1622",name:"globalParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"126"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf", +C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose",line:"1623",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1624",name:"baseUri",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"choose",line:"1626",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]},{N:"str",val:"true"}]},{N:"att",line:"1627",name:"flags",flags:"l",C:[{N:"str",val:"r"}]}]},{N:"choose",line:"1629",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}implicit-mandatory"}]},{N:"str",val:"true"}]},{N:"att",line:"1630",name:"flags",flags:"l",C:[{N:"str",val:"i"}]}]},{N:"att",line:"1632",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"axis",line:"1633",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"1634",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +"var":"Q{}context",as:"1NE",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, +{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"axis",name:"namespace", +nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"127"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, +{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1635",mode:"Q{}param.type",bSlot:"128",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"applyT",line:"1637",mode:"Q{}select.or.sequence",bSlot:"129",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"varRef",line:"1639",name:"Q{}has-uniform-static-context",slot:"1"}]}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"195",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"155",module:"callable-components.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"157",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]},{N:"str",val:"false"}]},{N:"ufCall",line:"162",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"130",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"@required can only be yes|true|1 on parameter "},{N:"data", +diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" of function "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:"()"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"elem",line:"165",name:"arg",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att", +name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"172","var":"Q{}alphacode",slot:"0",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"131",C:[{N:"treat", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"callable-components.xsl",line:"172",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type",C:[{N:"data",diag:"0|0||f:parse-sequence-type",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]}]}]},{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"callable-components.xsl",line:"172",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"str",val:""}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"132"}]},{N:"sequence",line:"173",C:[{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}alphacode",slot:"0"},{N:"str",val:" "}]}]},{N:"att",line:"174",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}alphacode",slot:"0"},{N:"str",val:" "}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"131",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"981",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"981",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"981",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"133",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]}]},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"981",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"fn",name:"not",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"134",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]}]}]}]}]},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"981", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"982",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"135",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"required xsl:param "},{N:"data", +diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"129",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"975",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}, +{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"975",name:"not",C:[{N:"ufCall",name:"Q{MyFunctions}isTopLevel",tailCall:"false",bSlot:"136",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"975",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"976",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"137",C:[{N:"str",val:"XTSE0580"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, +{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"188",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"29",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"30",name:"PARAMDEF",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"32",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}required"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"33",name:"Q{}record-location",bSlot:"138"},{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"139",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"35",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"140"},{N:"str",val:"select"}]}]},{N:"withParam",name:"Q{}has-uniform-static-context", +flags:"t",as:"1AB",C:[{N:"ufCall",line:"36",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"141",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"198",rank:"2",minImp:"0",slots:"11",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"s",as:"1NE",line:"217",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"217",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"218",card:"1",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"', +C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"219",name:"Q{}named-template-signatures",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"220",name:"Q{}static-context", +slot:"2",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"2"}]}]}]},{N:"let",line:"221","var":"Q{}name",as:"1AS",slot:"3",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|name",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|name",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|name",C:[{N:"data",diag:"3|0|XTTE0570|name",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]}]}]},{N:"choose",line:"222",C:[{N:"ifCall",line:"223",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"1"},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"let",line:"224","var":"Q{}signature",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"1"},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"let",line:"227", +"var":"Q{}supplied.params",as:"*AS",slot:"5",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|supplied.params",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|supplied.params",C:[{N:"data",diag:"3|0|XTTE0570|supplied.params",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}tunnel"}]},{N:"str",val:"true"}]}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"228","var":"Q{}template",as:"1FM",slot:"6",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|template",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|template",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}signature",slot:"4"},{N:"str",val:"params"}]}]}]},{N:"let",line:"229","var":"Q{}param.names",as:"*A",slot:"7",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}template",slot:"6"}]},{N:"let", +line:"231","var":"Q{}unknown.params",as:"*AS",slot:"8",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}supplied.params",slot:"5"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}param.names",slot:"7"},{N:"dot",type:"1AS"}]}]}]},{N:"let",line:"232","var":"Q{}unsupplied.params",as:"*AS",slot:"9",C:[{N:"filter",flags:"b",C:[{N:"convert",line:"230",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|required.params", +C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|required.params",C:[{N:"filter",flags:"p",C:[{N:"varRef",name:"Q{}param.names",slot:"7"},{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}template",slot:"6"},{N:"dot",type:"1A"}]},{N:"str",val:"required"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}supplied.params",slot:"5"},{N:"dot",type:"1AS"}]}]}]},{N:"choose",line:"233",C:[{N:"and",line:"234", +op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"}]},{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"backward-compatibility"}]}]}]},{N:"let",line:"238","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"10",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"}]}]},{N:"sequence",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"', +C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"142",C:[{N:"str",val:"XTSE0680"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" does not declare parameter"}]},{N:"filter",flags:"ib",C:[{N:"str",val:"s"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"10"}]}]},{N:"str",val:" "}]},{N:"fn", +name:"string-join",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"},{N:"str",val:", "}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"239",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]},{N:"fn",line:"241",name:"exists",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"}]},{N:"sequence",line:"247",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"',C:[{N:"ufCall", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"143",C:[{N:"str",val:"XTSE0690"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"A call to named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" requires "}]},{N:"cast",line:"242",flags:"a",as:"1AZ",C:[{N:"choose",C:[{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"}, +{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"str",val:"a supplied value for "},{N:"true"},{N:"str",val:"supplied values for\n "}]}]}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"},{N:"str",val:", "}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"248",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]},{N:"true"},{N:"elem",line:"251",name:"callT", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"bSlot",flags:"l",C:[{N:"str",val:"??"}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}signature",slot:"4"},{N:"str",val:"typeJ"}]}]}]}]},{N:"str",val:" "}]}]},{N:"axis",line:"252",name:"attribute",nodeTest:"NA nQ{}name"},{N:"varRef",line:"253",name:"Q{}attr",slot:"0"},{N:"callT",line:"254",name:"Q{}record-location", +bSlot:"144"},{N:"applyT",line:"255",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"261",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"',C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"145",C:[{N:"str",val:"XTSE0650"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" does not exist"}]}, +{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"262",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"253",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action",flags:"s",line:"49",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action"},{N:"applyT",role:"action", +ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50",mode:"Q{}select.or.sequence",flags:"t",bSlot:"146",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"51",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"147"},{N:"str",val:"action"}]}]}]}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"192",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate",flags:"s",line:"15",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr", +slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"17",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"18",name:"Q{}default-collation",slot:"2",flags:"t", +as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"26",name:"evaluate",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +"var":"Q{}context",as:"1NE",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, +{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"namespace", +nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"148"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, +{N:"str",val:" "}]}]}]}]},{N:"varRef",line:"27",name:"Q{}attr",slot:"0"},{N:"att",line:"28",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"att",line:"29",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"149",C:[{N:"choose",line:"25",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}, +{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"150",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"151"}]}]}]},{N:"callT",line:"31",name:"Q{}record-location",bSlot:"152"}, +{N:"choose",line:"32",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]},{N:"str",val:"http://www.w3.org/1999/xhtml"}]}]},{N:"att",line:"33",name:"dxns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]}]},{N:"elem",line:"35",name:"cast",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"str",val:"AS"}]},{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"a"}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"xpath"}]},{N:"elem",line:"36",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"37",mode:"Q{}create.xpath",bSlot:"153",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]},{N:"elem",line:"40",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", +C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"sa"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"no"}]}]}]},{N:"choose",line:"41",C:[{N:"fn",line:"42",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}context-item"}]},{N:"applyT",line:"43",mode:"Q{}create.xpath",bSlot:"154",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}context-item"}]},{N:"true"},{N:"elem",line:"46",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role", +flags:"l",C:[{N:"str",val:"cxt"}]}]}]},{N:"choose",line:"49",C:[{N:"fn",line:"50",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}with-params"}]},{N:"applyT",line:"51",mode:"Q{}create.xpath",bSlot:"155",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}with-params"}]},{N:"true"},{N:"elem",line:"54",name:"map",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"wp"}]}]}]},{N:"choose",line:"57",C:[{N:"fn",line:"58",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace-context"}]},{N:"applyT",line:"59",mode:"Q{}create.xpath",bSlot:"156",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}namespace-context"}]}]},{N:"applyT",line:"62",mode:"Q{}create.xpath",bSlot:"157",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://saxon.sf.net/}options"}]},{N:"choose",line:"64",C:[{N:"fn",line:"65",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}base-uri"}]},{N:"let",line:"66","var":"Q{}temp", +as:"1NE",slot:"4",C:[{N:"check",line:"67",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}base-uri"},{N:"callT",line:"68",name:"Q{}value-template",bSlot:"158"}]}]},{N:"forEach",line:"71",C:[{N:"varRef",name:"Q{}temp",slot:"4"},{N:"copy",line:"72",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"73",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"159"},{N:"str",val:"baseUri"}]},{N:"axis",name:"child", +nodeTest:"NE"}]}]}]}]}]},{N:"applyT",line:"78",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"169",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise",flags:"s",line:"55",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"56",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"57",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]},{N:"choose",line:"58",C:[{N:"vc",line:"59",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?", +diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"applyT",line:"60",mode:"Q{}select.or.sequence",flags:"t",bSlot:"160",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise",flags:"a"}]},{N:"true"},{N:"callT",line:"63",name:"Q{}sequence-constructor",bSlot:"161",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"368",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute", +flags:"s",line:"30",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"31",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"32",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"33",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-attribute"}]}, +{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"34",name:"Q{}attr",slot:"1"},{N:"callT",line:"35",name:"Q{}record-location",bSlot:"162"},{N:"forEach",line:"36",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"37",name:"Q{}role-value-template",bSlot:"163"}]},{N:"elem",line:"40",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", +val:"1AS"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg271588719",bSlot:"164"}]}]}]}]}]}]},{N:"elem",line:"42",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI", +to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute",flags:"a"},{N:"treat",module:"lib.xsl", +line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", +C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1557557661",bSlot:"165"}]}]}]}]},{N:"varRef", +line:"43",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"155",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports",flags:"s",line:"199",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"200",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"201",name:"applyImports",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"166"}]},{N:"varRef",line:"202",name:"Q{}attr",slot:"0"},{N:"callT",line:"203",name:"Q{}record-location",bSlot:"167"},{N:"applyT", +line:"204",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"139",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"1009",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"1009",flags:"",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"data",diag:"1|1||eq",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"1010",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"168",C:[{N:"str",val:"XTSE0670"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:with-param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"190",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", +flags:"s",line:"41",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}named-template-signatures",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"44",name:"withParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"45",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose",line:"46",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]}]}, +{N:"str",val:"true"}]},{N:"att",line:"47",name:"flags",flags:"l",C:[{N:"str",val:"t"}]}]},{N:"choose",line:"49",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}]},{N:"let",line:"50","var":"Q{}param",slot:"1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:'21|0||map:get(...) ? "params"',C:[{N:"check",card:"1",diag:'21|0||map:get(...) ? "params"',C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:"params"}]}]}]},{N:"arrayBlock",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"52",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"1"},{N:"str",val:"type"}]}, +{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"1"},{N:"str",val:"typeJ"}]}]}]}]},{N:"choose",line:"54",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"}]},{N:"slash",line:"57",simple:"2",C:[{N:"let",line:"55","var":"Q{http://saxon.sf.net/generated-variable}current1896874222",as:"1",slot:"2",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"?AZ",slot:"3",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1896874222",slot:"2"},{N:"attVal",name:"Q{}name"}]},{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}, +{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}as,NA nQ{http://ns.saxonica.com/xslt/export}asJ]"}]}]},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"60",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}, +{N:"att",line:"61",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"choose",line:"63",C:[{N:"and",line:"64",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"65",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att", +name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"169"}]},{N:"applyT",line:"66",mode:"Q{}select.or.sequence",bSlot:"170",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]},{N:"true"},{N:"applyT",line:"70",mode:"Q{}select.or.sequence",bSlot:"171",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"218",rank:"2",minImp:"0", +slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction",flags:"s",as:"1NE",line:"224",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"224",name:"matches",C:[{N:"convert",from:"AZ", +to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:"\\{"},{N:"str",val:""}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"225",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr", +C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"226",name:"procInst",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",bSlot:"172"}]},{N:"varRef",line:"227",name:"Q{}attr",slot:"0"},{N:"let",line:"228","var":"Q{}nameAVT",as:"1NE",slot:"1",C:[{N:"check",line:"229",card:"1",diag:"3|0|XTTE0570|nameAVT",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"230", +name:"Q{}value-template",bSlot:"173"}]}]},{N:"sequence",line:"233",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}nameAVT",slot:"1"},{N:"copy",line:"234",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"235",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"174"},{N:"str",val:"name"}]},{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"callT",line:"238",name:"Q{}constructSimpleContent",bSlot:"175"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"217", +rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction",flags:"s",as:"1NE",line:"215",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"216",C:[{N:"param",name:"Q{}attr", +slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"217",name:"procInst",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",bSlot:"176"}]},{N:"varRef",line:"218",name:"Q{}attr",slot:"0"},{N:"elem",line:"219",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att", +name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"callT",line:"220",name:"Q{}constructSimpleContent",bSlot:"177"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"380",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"s",as:"*NA",line:"1595",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}, +{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1596",name:"cxt",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"str",val:"1"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"147",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode",flags:"s",line:"30",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"31",C:[{N:"param",name:"Q{}xsl-version",slot:"0",flags:"t", +C:[{N:"dec",role:"select",val:"3"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"32",name:"Q{}compiler.options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|compiler.options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|compiler.options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"33",name:"Q{}precedence-map",slot:"2",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]", +diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"45",name:"mode",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"onNo",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}on-no-match",bSlot:"178"},{N:"atomSing",diag:"0|1||map:get",C:[{N:"first",C:[{N:"sequence", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}on-no-match"},{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}warning-on-no-match"}]},{N:"str",val:"true"}]},{N:"str",val:"+W"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"or",line:"38",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}on-multiple-match"}]},{N:"str",val:"fail"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}compiler.options",slot:"1"},{N:"str",val:"on-multiple-match"}]}]},{N:"str",val:"error"}]}]},{N:"str",val:"F"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}typed"}]},{N:"str",val:"true"}]},{N:"str",val:"t"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}untyped"}]},{N:"str",val:"true"}]},{N:"str",val:"u"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}warning-on-multiple-match"}]},{N:"str",val:"true"}]}, +{N:"str",val:"W"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"patternSlots",flags:"l",C:[{N:"str",val:"0"}]},{N:"choose",line:"46",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:"#unnamed"}]},{N:"axis",line:"47",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"axis",line:"49",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"},{N:"att",line:"50",name:"prec",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"2"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"applyT",line:"51",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"180",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}try", +flags:"s",line:"222",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}try"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"222",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"223",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"224",name:"try",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}rollback-output"}]}]}, +{N:"str",val:"false"}]},{N:"str",val:"r"},{N:"true"},{N:"str",val:""}]}]},{N:"varRef",line:"225",name:"Q{}attr",slot:"0"},{N:"applyT",line:"226",mode:"Q{}create.xpath",bSlot:"179",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"227",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"181",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}try", +flags:"s",line:"230",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}try"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"231",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", +slot:"0"}]}]},{N:"elem",line:"232",name:"try",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}rollback-output"}]}]},{N:"str",val:"false"}]},{N:"str",val:"r"},{N:"true"},{N:"str",val:""}]}]},{N:"varRef",line:"233",name:"Q{}attr",slot:"0"},{N:"elem",line:"234",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"applyT",line:"235",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N d[N u[NT,NC,NE,NP],NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]}]},{N:"applyT",line:"237",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"215",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"s",line:"192", +module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"192",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", +diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:"{"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"193",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]}, +{N:"elem",line:"194",name:"compAtt",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"180"}]},{N:"varRef",line:"195",name:"Q{}attr",slot:"0"},{N:"choose",line:"197",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}, +{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"callT",line:"199",name:"Q{}record-location",bSlot:"181"},{N:"forEach",line:"200",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"callT", +line:"201",name:"Q{}role-value-template",bSlot:"182"}]},{N:"callT",line:"203",name:"Q{}constructSimpleContent",bSlot:"183"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"214",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"s",as:"1NE",line:"133",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"134",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"136","var":"Q{}name",as:"1AS",slot:"1",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}, +{N:"let",line:"137","var":"Q{}namespaces",slot:"2",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"creating-new-nodes.xsl",line:"135",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"a"},{N:"first",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"3",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let", +"var":"Q{}uri",slot:"4",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"3"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"184"},{N:"varRef",name:"Q{}prefix",slot:"3"}]},{N:"true"}, +{N:"varRef",name:"Q{}uri",slot:"4"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"elem",line:"138",name:"att",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"185"}]},{N:"choose",line:"139",C:[{N:"fn",name:"matches", +C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]},{N:"let",line:"140","var":"Q{}prefix",as:"?AS",slot:"5",C:[{N:"first",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]}]},{N:"let",line:"148","var":"Q{}uri",slot:"6",C:[{N:"let","var":"Q{}n",slot:"7",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"check",card:"1",diag:"21|0||$namespaces",C:[{N:"varRef",name:"Q{}namespaces",slot:"2"}]}, +{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}prefix",slot:"5"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}n",slot:"7"}]},{N:"str",val:"~"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"186"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function", +C:[{N:"varRef",name:"Q{}prefix",slot:"5"}]}]},{N:"true"},{N:"varRef",name:"Q{}n",slot:"7"}]}]},{N:"choose",line:"149",C:[{N:"fn",line:"150",name:"exists",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"sequence",line:"151",C:[{N:"att",name:"nsuri",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]}]}]},{N:"str",val:" "}]}]},{N:"namespace",line:"152",flags:"l",C:[{N:"fn",role:"name",name:"string",C:[{N:"varRef", +name:"Q{}prefix",slot:"5"}]},{N:"convert",role:"select",from:"AU",to:"AS",C:[{N:"cast",flags:"ae",as:"?AU",C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]}]}]}]}]},{N:"true"},{N:"ufCall",line:"156",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"187",C:[{N:"str",val:"ERRRRR"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"No namespace binding for prefix "},{N:"varRef",name:"Q{}prefix",slot:"5"}]},{N:"str", +val:" in attribute "}]},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"a"}]}]}]}]}]},{N:"applyT",line:"162",mode:"Q{}attribute-sans-prefix",bSlot:"188",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"choose",line:"161",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}, +{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"163",name:"Q{}attr",slot:"0"},{N:"att",line:"169",name:"name",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]}]},{N:"str",val:""}]},{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:"^.+:"},{N:"str",val:""},{N:"str",val:""}]}, +{N:"true"},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"axis",line:"170",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"callT",line:"172",name:"Q{}record-location",bSlot:"189"},{N:"callT",line:"173",name:"Q{}constructSimpleContent",bSlot:"190"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"271",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry",flags:"s",line:"27",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"28",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"29",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name", +flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_MAP",bSlot:"191"}]},{N:"varRef",line:"30",name:"Q{}attr",slot:"0"},{N:"elem",line:"31",name:"atomSing",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"diag",flags:"l",C:[{N:"str",val:"0|0||map:entry"}]},{N:"applyT",line:"32",mode:"Q{}create.xpath",bSlot:"192",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}key"}]}]}]}, +{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"193",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"210",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}document",flags:"s",line:"17",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}document"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"18",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"19",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type",flags:"l",C:[{N:"str",val:"document-node()"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"194"}]},{N:"varRef",line:"20",name:"Q{}attr",slot:"0"},{N:"callT", +line:"21",name:"Q{}record-location",bSlot:"195"},{N:"choose",line:"22",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"23",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"callT",line:"25",name:"Q{}sequence-constructor",bSlot:"196"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"261",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring",flags:"s",line:"74", +module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"75",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"nonMatching"}]}, +{N:"choose",line:"76",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"77",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"applyT",line:"79",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"264",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator",flags:"s",line:"34",module:"streaming.xsl",C:[{N:"p.nodeTest", +role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options", +C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"36",name:"accumulator",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"5"}]},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"38",C:[{N:"fn", +name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"39",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"applyT",line:"41",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA nQ{http://ns.saxonica.com/xslt/export}*,NA u[NA nQ{http://ns.saxonica.com/xslt/export}asJ,NA nQ{http://ns.saxonica.com/xslt/export}baseUri]]"}]}, +{N:"applyT",line:"42",mode:"Q{}create.xpath",bSlot:"197",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}initial-value"}]},{N:"elem",line:"43",name:"pre",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"applyT",line:"44",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"},{N:"or",op:"or",C:[{N:"fn", +name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}phase"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}phase"}]},{N:"str",val:"start"}]}]}]}]}]}]},{N:"elem",line:"46",name:"post",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"applyT",line:"47",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"}, +{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}phase"}]},{N:"str",val:"end"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"184",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"14",module:"variables-and-parameters.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"14",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"15",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:" has no following sibling so it will have no effect"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"nextMatch",line:"16",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"186",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"18",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"19",name:"VARDEF",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",line:"20",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"21",name:"Q{}record-location",bSlot:"198"},{N:"applyT",line:"22",flags:"c",bSlot:"-1", +C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"applyT",line:"23",mode:"Q{}select.or.sequence",bSlot:"199",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"24",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"25",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"200", +C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"250",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"22",module:"merging.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"22",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}sort-before-merge"},{N:"str",val:"true"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"23",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"24", +name:"mergeSrc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"25",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"applyT",line:"26",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]},{N:"elem",line:"27",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"selectRows"}]},{N:"applyT",line:"28", +mode:"Q{}create.xpath",bSlot:"201",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"29",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key"}]}]}]},{N:"applyT",line:"31",mode:"Q{}create.xpath",bSlot:"202",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-source"}]}]},{N:"applyT",line:"32",flags:"c", +bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"119",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"923",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"923",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"924",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"203",C:[{N:"str",val:"XTSE3190"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:merge-source siblings cannot have the same name:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, +{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"251",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"36",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"37",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"38",name:"mergeSrc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"39",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"applyT",line:"40",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]}, +{N:"applyT",line:"41",mode:"Q{}create.xpath",bSlot:"204",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"42",mode:"Q{}create.xpath",bSlot:"205",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-source"}]}]},{N:"applyT",line:"43",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"150", +rank:"7",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"87",module:"rules.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"87",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"sequence", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"88",C:[{N:"param",name:"Q{}location",slot:"0",flags:"t",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"89",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"90",name:"Q{}default-collation",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"91",name:"Q{}precedence-map",slot:"3",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]", +diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"92",name:"Q{}minimum-import-precedence-map",slot:"4",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]",diag:"8|0|XTTE0590|minimum-import-precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|minimum-import-precedence-map",C:[{N:"supplied",slot:"4"}]}]}]},{N:"param",line:"93",name:"Q{}options",slot:"5",flags:"t",as:"1FM", +C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"5"}]}]}]},{N:"elem",line:"98",name:"templateRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"prec",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"3"},{N:"fn", +name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"att",name:"seq",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"data",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"true"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"6",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template", +flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context", +slot:"6"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", +C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"206"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"minImp",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}minimum-import-precedence-map", +slot:"4"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",line:"94",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"absent"}]},{N:"str",val:"s"}]}]},{N:"att", +name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"choose",line:"99",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"5"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"100",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"callT",line:"102",name:"Q{}record-location",bSlot:"207"},{N:"axis",line:"103",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, +{N:"varRef",line:"103",name:"Q{}xpath-default-namespace",slot:"1"},{N:"varRef",line:"103",name:"Q{}default-collation",slot:"2"},{N:"applyT",line:"104",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{http://www.w3.org/XML/1998/namespace}*]]"}]},{N:"applyT",line:"105",mode:"Q{}sef",bSlot:"208",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]}, +{N:"applyT",line:"107",mode:"Q{}create.xpath",bSlot:"209",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"nextMatch",line:"108",flags:"i"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"379",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"1587",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1588",name:"Q{}sequence-constructor",bSlot:"210",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"1589",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"211"},{N:"str",val:"action"}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1591",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"212",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template", +flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"158",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each",flags:"s",line:"35",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"36", +C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"37",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"callT",line:"38",name:"Q{}check-select",bSlot:"213"},{N:"ufCall",line:"39",name:"Q{MyFunctions}check-sort", +tailCall:"false",bSlot:"214",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each",flags:"a"}]},{N:"let",line:"40","var":"Q{}source",as:"*NE",slot:"2",C:[{N:"treat",line:"41",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"215",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"elem",line:"43",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"44",C:[{N:"callT",name:"Q{}record-location", +bSlot:"216"},{N:"applyT",line:"45",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}]},{N:"varRef",line:"46",name:"Q{}attr",slot:"0"},{N:"choose",line:"47",C:[{N:"fn",line:"48",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"49",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"50",C:[{N:"varRef",name:"Q{}source",slot:"2"}, +{N:"forEach",line:"51",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"52",name:"Q{}make-sort-key",bSlot:"217"}]}]}]},{N:"true"},{N:"varRef",line:"57",name:"Q{}source",slot:"2"}]},{N:"choose",line:"60",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt", +C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]}]},{N:"callT",line:"61",name:"Q{MyFunctions}AVT",bSlot:"218",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}separator",C:[{N:"axis",line:"62",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"63",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef", +name:"Q{}roles",bSlot:"219"},{N:"str",val:"separator"}]}]}]}]}]}]},{N:"callT",line:"66",name:"Q{}sequence-constructor",bSlot:"220"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"173",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"s",line:"145",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"146",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"147",name:"onEmpty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"148",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"149",mode:"Q{}select.or.sequence",bSlot:"221",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"a"}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"370",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"s",line:"64",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"65",C:[{N:"param", +name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"66",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"67",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-property"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"68",name:"Q{}attr",slot:"1"},{N:"callT",line:"69",name:"Q{}record-location",bSlot:"222"},{N:"forEach",line:"70",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"71",name:"Q{}role-value-template",bSlot:"223"}]},{N:"elem",line:"73",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"75",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"ixsl:window()"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data", +diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash", +C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg411425835",bSlot:"224"}]}]}]}]},{N:"varRef",line:"76",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"160",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate", +flags:"s",line:"109",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"110",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", +slot:"0"}]}]},{N:"callT",line:"111",name:"Q{}check-select",bSlot:"225"},{N:"elem",line:"112",name:"iterate",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"113",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"114",name:"Q{}record-location",bSlot:"226"},{N:"applyT",line:"115",mode:"Q{}create.xpath",bSlot:"227",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"elem",line:"116",name:"params",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", +C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"params"}]},{N:"callT",line:"117",name:"Q{}parameters",bSlot:"228"}]}]},{N:"choose",line:"119",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}]},{N:"ufCall",line:"121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"229",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:iterate may only have one xsl:on-completion child"},{N:"check", +card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"int",val:"2"}]}]}]}]},{N:"choose",line:"123",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]}, +{N:"ufCall",line:"126",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"230",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:on-completion may only be proceeded by xsl:param* as children of xsl:iterate"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}]}]}]},{N:"applyT",line:"128",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}, +{N:"choose",line:"129",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]},{N:"elem",line:"130",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"on-completion"}]}]}]},{N:"callT",line:"132",name:"Q{}sequence-constructor",bSlot:"231",C:[{N:"withParam",name:"Q{}include-params",flags:"c",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat", +line:"134",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"232"},{N:"str",val:"action"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"146",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence",flags:"s",line:"77",module:"select-sequence.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"78",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"applyT",line:"79",mode:"Q{}select.or.sequence",flags:"t",bSlot:"233",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}sequence",flags:"a"},{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"80",name:"Q{}attr",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"226",rank:"1", +minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"s",as:"1NE",line:"435",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"436",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", +role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"438",name:"copyOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"}, +{N:"str",val:"c"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-accumulators"}]}]},{N:"str",val:"true"}]},{N:"str",val:"m"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context", +as:"1NE",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check", +line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"234"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", +val:" "}]}]}]}]},{N:"varRef",line:"439",name:"Q{}attr",slot:"0"},{N:"callT",line:"440",name:"Q{}record-location",bSlot:"235"},{N:"applyT",line:"441",mode:"Q{}select.or.sequence",bSlot:"236",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"222",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}value-of",flags:"s",as:"1NE",line:"280",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest", +role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}value-of"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"281",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"283",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"l"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"237"}]},{N:"choose",line:"284",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"285",name:"flags",flags:"l",C:[{N:"str",val:"d"}]}]},{N:"varRef",line:"287",name:"Q{}attr", +slot:"0"},{N:"callT",line:"288",name:"Q{}record-location",bSlot:"238"},{N:"applyT",line:"289",mode:"Q{}attribute-sans-prefix",bSlot:"239",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}, +{N:"callT",line:"290",name:"Q{}constructSimpleContent",bSlot:"240"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"194",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}function",flags:"s",line:"98",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"99",C:[{N:"param",name:"Q{}has-uniform-static-context",slot:"0",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"100",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select", +size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"101","var":"Q{}params",as:"*NE",slot:"2",C:[{N:"treat",line:"102",as:"NE",diag:"3|0|XTTE0570|params",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"elem",line:"105",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"vis",flags:"l",C:[{N:"fn",name:"upper-case",C:[{N:"check",card:"?",diag:"0|0||fn:upper-case",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:upper-case",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:upper-case",C:[{N:"data",diag:"0|0||fn:upper-case",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"},{N:"str",val:"private"}]}]}]}]}]}]}]}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB", +to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"0"}]}]},{N:"elem",line:"107",name:"function",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"241",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}function",flags:"a"}]}]},{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"str",val:"item()*"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}params", +slot:"2"}]},{N:"int",val:"200"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}function", +flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context", +slot:"3"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", +C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"242"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose",line:"108",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"109",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"let",line:"112","var":"Q{}flags", +as:"1NT",slot:"4",C:[{N:"valueOf",line:"113",C:[{N:"fn",line:"114",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"choose",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"243",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}cache"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"m"}]}]},{N:"choose",line:"115",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"244",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://saxon.sf.net/}updating"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"u"}]}]},{N:"choose",line:"116",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"245",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://saxonica.com/ns/interactiveXSLT}updating"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"u"}]}]}]}]}]}]},{N:"str",val:""}]}]},{N:"sequence",line:"119",C:[{N:"choose",C:[{N:"data",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}flags",slot:"4"}]}, +{N:"att",line:"120",name:"flags",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}flags",slot:"4"}]}]}]}]},{N:"let",line:"127","var":"Q{}returnType",as:"1FM",slot:"5",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"246",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"247"}]},{N:"let",line:"131","var":"Q{}signature",as:"1FM k[AS] v[1]",slot:"6",C:[{N:"ifCall",line:"133",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"literal",count:"2",C:[{N:"map",size:"1",C:[{N:"str",val:"o"}, +{N:"str",val:"1"}]},{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"F"}]}]},{N:"ifCall",line:"135",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"r"},{N:"varRef",name:"Q{}returnType",slot:"5"}]},{N:"ifCall",line:"136",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"a"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}_from-sequence",type:"1FA",C:[{N:"for","var":"Q{}p",as:"NE",slot:"7",C:[{N:"varRef", +role:"in",name:"Q{}params",slot:"2"},{N:"ufCall",role:"return",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"248",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}p",slot:"7"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str", +val:"XTDE3365"}]}]},{N:"sequence",line:"141",C:[{N:"att",name:"as",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"249",C:[{N:"varRef",name:"Q{}returnType",slot:"5"}]}]},{N:"att",line:"142",name:"sig",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"250",C:[{N:"varRef",name:"Q{}signature",slot:"6"}]}]},{N:"att",line:"143",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"251",C:[{N:"varRef",name:"Q{}signature", +slot:"6"}]}]},{N:"callT",line:"145",name:"Q{}record-location",bSlot:"252"},{N:"varRef",line:"146",name:"Q{}params",slot:"2"},{N:"callT",line:"147",name:"Q{}sequence-constructor",bSlot:"253",C:[{N:"withParam",name:"Q{}include-params",flags:"c",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"149",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"254"},{N:"str",val:"body"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"0.0",seq:"162",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"s",line:"161",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}break"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"162",C:[{N:"param",name:"Q{}attr",slot:"0", +as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"ufCall",line:"163",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"255",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"ufCall",line:"163",name:"Q{MyFunctions}check-tail-position",tailCall:"false",bSlot:"256",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"elem",line:"164",name:"sequence", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"165",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"166",name:"Q{}record-location",bSlot:"257"},{N:"applyT",line:"167",mode:"Q{}select.or.sequence",bSlot:"258",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"elem",line:"168",name:"break",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"249", +rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge",flags:"s",line:"15",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", +role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"17",name:"merge",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"259"}]},{N:"varRef",line:"18",name:"Q{}attr",slot:"0"},{N:"applyT",line:"19",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"233", +rank:"1",minImp:"0",slots:"14",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"s",line:"15",module:"numbering.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}number"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"17",name:"Q{}static-context",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"18",name:"Q{}xpath-default-namespace",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", +as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"19",name:"Q{}ns",slot:"3",flags:"t",as:"?AS",C:[{N:"let",role:"select",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"4",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +as:"NE",diag:"0|0||f:encode-namespaces",C:[{N:"check",card:"1",diag:"0|0||f:encode-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1", +C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc", +op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"260"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|ns",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|ns", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"data",diag:"8|0|XTTE0590|ns",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"elem",line:"21",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"l"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"261"}]},{N:"varRef",line:"22",name:"Q{}attr",slot:"0"},{N:"elem",line:"23",name:"numSeqFmt",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", +C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"backward-compatibility"}]},{N:"int",val:"1"}]}]}]},{N:"choose",line:"24",C:[{N:"fn",line:"26",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]},{N:"sequence",line:"27",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA u[NA u[NA nQ{}select,NA nQ{}level],NA nQ{}count],NA nQ{}from]"}]}, +{N:"ufCall",line:"30",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"262",C:[{N:"str",val:"XTSE0975"},{N:"str",val:"xsl:number with @value must not have @select, @level, @count, or @from attributes"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"}]}]},{N:"elem",line:"32",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"value"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped", +to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"6",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"5"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln", +slot:"6"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"5"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"6"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"33",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]},{N:"true"},{N:"let",line:"37","var":"Q{}level",as:"1",slot:"7",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}level"},{N:"str",val:"single"}]}]},{N:"sequence",line:"38", +C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}level",slot:"7"}]},{N:"literal",count:"3",C:[{N:"str",val:"any"},{N:"str",val:"multiple"},{N:"str",val:"single"}]}]}]},{N:"ufCall",line:"41",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"263",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:number/@level must have a value single|multiple|any, given value:'"}, +{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}level",slot:"7"}]}]},{N:"str",val:"'"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}level"}]}]}]},{N:"elem",line:"43",name:"nodeNum",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"value"}]},{N:"att",name:"level",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"gc", +op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}level",slot:"7"}]},{N:"str",val:"multiple"}]},{N:"str",val:"multi"},{N:"true"},{N:"data",C:[{N:"varRef",name:"Q{}level",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"choose",line:"44",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}select,NA nQ{}value]"}]},{N:"att",line:"45",name:"needsNode",flags:"l",C:[{N:"str",val:"true"}]}]},{N:"elem", +line:"47",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"8",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"9",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"8"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"9"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln", +slot:"9"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"48",name:"Q{}xpath-default-namespace",slot:"2"}]}]},{N:"choose",line:"50",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}count"}]},{N:"elem",line:"51",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"count"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}count"}]}]}]}, +{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"10",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1", +C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"10"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"11",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"10"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"11"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node", +slot:"10"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"11"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"52",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]},{N:"choose",line:"55",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}from"}]},{N:"elem",line:"56",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"from"}]},{N:"att",name:"xpath", +flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}from"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"12",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1", +C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"12"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"13",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"12"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef", +name:"Q{}ln",slot:"13"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"12"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"13"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"57",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]}]}]}]}]}]},{N:"callT",line:"63",name:"Q{}numberFormat",bSlot:"264"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"258",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string", +flags:"s",line:"16",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"17",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA", +diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"18",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"19",name:"Q{}attr",slot:"2",as:"*NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"23",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"}]}]},{N:"ufCall",line:"25",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"265",C:[{N:"str",val:"XTSE1130"}, +{N:"str",val:"xsl:analyze-string must contain either xsl:matching-substring or xsl:non-matching-substring"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string",flags:"a"}]}]},{N:"choose",line:"27",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"},{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"}]}]},{N:"ufCall",line:"28", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"266",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:non-matching-substring must follow xsl:matching-substring"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"}]}]}]},{N:"choose",line:"30",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"},{N:"axis",name:"following-sibling", +nodeTest:"NE"}]}]},{N:"ufCall",line:"31",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"267",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:fallback must be the last child of xsl:analyze-string"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]}]},{N:"elem",line:"33",name:"analyzeString",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"34",C:[{N:"varRef",name:"Q{}attr", +slot:"2"},{N:"applyT",line:"35",mode:"Q{}create.xpath",bSlot:"268",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"},{N:"withParam",name:"Q{}checkType",as:"1AS",C:[{N:"str",val:"?AS"}]},{N:"withParam",name:"Q{}diagnostic",as:"1NA",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1307630072",bSlot:"269"}]}]}]},{N:"callT",line:"39",name:"Q{MyFunctions}AVT",bSlot:"270",C:[{N:"withParam",name:"Q{}avt-string",flags:"c", +as:"?NA nQ{}regex",C:[{N:"axis",line:"40",name:"attribute",nodeTest:"NA nQ{}regex"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"42",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"271"},{N:"str",val:"regex"}]}]}]}]}]},{N:"callT",line:"44",name:"Q{MyFunctions}AVT",bSlot:"272",C:[{N:"withParam",name:"Q{}avt-string", +flags:"c",as:"?NA nQ{}flags",C:[{N:"axis",line:"45",name:"attribute",nodeTest:"NA nQ{}flags"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"47",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"273"},{N:"str",val:"flags"}]}]}]}]}]},{N:"applyT",line:"49",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"172",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}where-populated",flags:"s",line:"137",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}where-populated"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"138", +C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"139",name:"condCont",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"140",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"141",name:"Q{}sequence-constructor",bSlot:"274"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"216",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}comment", +flags:"s",as:"1NE",line:"207",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}comment"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"208",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr", +C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"209",name:"comment",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_COMMENT",bSlot:"275"}]},{N:"varRef",line:"210",name:"Q{}attr",slot:"0"},{N:"callT",line:"211",name:"Q{}constructSimpleContent",bSlot:"276"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"393",rank:"3",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"1752",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.venn", +role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}minImp"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"247",rank:"3",minImp:"0",slots:"1",matches:"NA",flags:"s", +line:"108",module:"grouping.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-starting-with"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-ending-with"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"109",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"110",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"match"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"varRef",line:"111",name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"elem",line:"113",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"collation"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"202",rank:"3",minImp:"0",slots:"2", +matches:"NA",flags:"s",line:"305",module:"callable-components.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.nodeTest",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets"},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-attribute-sets"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"306",C:[{N:"param",name:"Q{}defined-attribute-sets",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"data",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"let",line:"307","var":"Q{}this",as:"1",slot:"1",C:[{N:"dot",type:"1NA",flags:"a"},{N:"forEach",line:"308",C:[{N:"fn",name:"tokenize", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"sequence",line:"309",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}defined-attribute-sets",slot:"0"},{N:"dot",type:"1AS"}]}]},{N:"ufCall",line:"310",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"277",C:[{N:"str",val:"XTSE0710"},{N:"fn", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'Undefined attribute set "'},{N:"dot",type:"1AS"}]},{N:"str",val:'"'}]},{N:"varRef",name:"Q{}this",slot:"1"}]}]},{N:"elem",line:"312",name:"useAS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"dot",type:"1AS"}]},{N:"att",name:"bSlot",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULIPLE_ATTRIBUTE",bSlot:"278"}]}]}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"0.5",seq:"390",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}*",flags:"s",line:"1736",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}*"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1737",type:"1NA nQ{}*",flags:"a"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"230",rank:"0",minImp:"0",slots:"12",matches:"NA",flags:"s",as:"1NE",line:"580",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"581",card:"1",diag:'7|0|XTTE0505|match="@*" mode="sef"',C:[{N:"sequence", +C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"582",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"583",name:"Q{}static-context", +slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"param",line:"584",name:"Q{}namespace-aliases",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|namespace-aliases",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|namespace-aliases",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"585",name:"Q{}default-collation",slot:"4",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", +as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"4"}]}]}]},{N:"let",line:"593","var":"Q{}namespace-aliases",as:"?FM",slot:"5",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"namespace-aliases"}]}]}]},{N:"let",line:"599","var":"Q{}attribute-name",as:"1AQ",slot:"6",C:[{N:"choose", +C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"fn",name:"prefix-from-QName",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"5"}]}]},{N:"let","var":"Q{}original-name",as:"1AQ",slot:"7",C:[{N:"check",card:"1",diag:"0|0||f:map-aliased-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"let","var":"Q{}namespace-aliases",as:"1FM",slot:"8",C:[{N:"check",card:"1",diag:"0|1||f:map-aliased-name", +C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"5"}]},{N:"let",line:"544","var":"Q{}original-uri",as:"1AU",slot:"9",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"7"}]},{N:"let",line:"547","var":"Q{}new-uri",as:"1AS",slot:"10",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef", +name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]}]},{N:"convert",line:"548",from:"AU",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri", +C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]},{N:"int",val:"2"}]}]}]}]}]}]},{N:"choose",line:"556",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"9"},{N:"varRef",name:"Q{}new-uri",slot:"10"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"7"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"11", +C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]},{N:"fn",line:"567",name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"10"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"11"}]},{N:"str", +val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"varRef",name:"Q{}prefix",slot:"11"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"7"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"3|0|XTTE0570|attribute-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"600",name:"att",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d", +C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}attribute-name",slot:"6"}]}]},{N:"att",name:"nsuri",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}attribute-name",slot:"6"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"279"}]},{N:"varRef",line:"601",name:"Q{}attr",slot:"0"},{N:"callT",line:"602",name:"Q{}value-template",bSlot:"280"}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"4",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"246",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}group-adjacent",flags:"s",line:"82",module:"grouping.xsl", +C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-adjacent"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"83",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty", +role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"84",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"85",name:"data", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"choose",line:"86",C:[{N:"ufCall",line:"87",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"281",C:[{N:"check",card:"?",diag:"0|0||f:boolean-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]},{N:"false"}]},{N:"elem",line:"88",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"88",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]}]},{N:"varRef",line:"89", +name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"true"},{N:"elem",line:"93",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1081126121",bSlot:"282"}]},{N:"elem",line:"95",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"95",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]}]},{N:"varRef",line:"96",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]}]},{N:"callT", +line:"102",name:"Q{MyFunctions}AVT",bSlot:"283",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}collation",C:[{N:"check",line:"103",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"?AS",C:[{N:"check",line:"104",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-collation",slot:"1"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]}]}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"105",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"284"},{N:"str",val:"collation"}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"1.0",seq:"392",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS",flags:"s",line:"1747",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1748",name:"defaultElementNS",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.15",seq:"152",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{}mode",flags:"s",line:"175",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"175",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]},{N:"str",val:"#current"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"176",C:[{N:"fn",line:"177",name:"exists",C:[{N:"sequence", +C:[{N:"fn",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]}]},{N:"fn",name:"reverse",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]},{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"normalize.xsl",line:"777",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"rules.xsl",line:"177",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}]}]}, +{N:"att",line:"178",name:"mode",C:[{N:"str",val:"#unnamed"}]},{N:"true"},{N:"att",line:"181",name:"flags",C:[{N:"str",val:"c"}]}]}]},{N:"templateRule",prec:"0",prio:"1.1",seq:"153",rank:"4",minImp:"0",slots:"0",matches:"NA nQ{}mode",flags:"s",line:"185",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"copyOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"186",flags:"c",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text", +flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"231",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}exclude",flags:"s",line:"606",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}exclude"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"347",part:"6",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"387",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}as",flags:"s",line:"1710",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", +C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1711",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]},{N:"fn",role:"select",name:"replace",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:replace", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"391",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"s",line:"1741",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1742",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"a"}]}]}]},{N:"att",line:"1743",name:"ns",C:[{N:"convert",from:"AZ",to:"AS", +C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"2",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"213",rank:"3",minImp:"0",slots:"0", +matches:"NA nQ{}namespace",flags:"s",line:"128",module:"creating-new-nodes.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}namespace"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"129",name:"nsuri",C:[{N:"convert",from:"AZ", +to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}namespace",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"7",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}version",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"245",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}group-by",flags:"s", +line:"68",module:"grouping.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-by"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t", +as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem", +line:"73",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"data(("},{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-by",flags:"a"}]}]},{N:"str",val:"))"}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1", +C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"73",type:"1NA nQ{}group-by",flags:"a"}]}]}]}]},{N:"varRef",line:"74",name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"callT",line:"76",name:"Q{MyFunctions}AVT",bSlot:"285",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}collation",C:[{N:"check",line:"77",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"?AS",C:[{N:"check",line:"78",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-collation",slot:"1"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]}]}]}, +{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"79",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"286"},{N:"str",val:"collation"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"5",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"}, +{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"386",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}select",flags:"s",line:"1706",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}select"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"applyT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1707",mode:"Q{}create.xpath",flags:"t",bSlot:"287",C:[{N:"dot",role:"select",type:"1NA nQ{}select",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"3",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"200",rank:"7", +minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"298",module:"callable-components.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"298",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data", +diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"xsl:initial-template"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"299",name:"name",C:[{N:"str",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template"}]}]},{N:"templateRule",prec:"0", +prio:"1.0",seq:"254",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}use-accumulators",flags:"s",line:"54",module:"merging.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"55",name:"accum",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"148",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}use-accumulators",flags:"s",line:"56",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"57",C:[{N:"param",name:"Q{}accumulators",slot:"0",flags:"t",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|accumulators",C:[{N:"supplied",slot:"0"}]}]},{N:"att",line:"64",name:"useAcc",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]},{N:"fn",name:"string-join", +C:[{N:"data",diag:"0|0||fn:string-join",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}accumulators",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}accumulators",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"str",val:" "}]},{N:"true"},{N:"data",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"232",rank:"0", +minImp:"0",slots:"2",matches:"NT",flags:"s",as:"1NE",line:"608",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NT"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"609",card:"1",diag:'7|0|XTTE0505|match="text()" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat", +role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"611",name:"Q{}expand-text",slot:"1",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|expand-text",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|expand-text",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|expand-text",C:[{N:"data",diag:"8|0|XTTE0590|expand-text",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"choose",line:"615",C:[{N:"varRef",line:"616",name:"Q{}expand-text", +slot:"1"},{N:"callT",line:"617",name:"Q{}value-template",bSlot:"288",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"varRef",line:"618",name:"Q{}attr",slot:"0"}]}]},{N:"true"},{N:"elem",line:"627",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"289"}]},{N:"varRef",line:"628",name:"Q{}attr",slot:"0"},{N:"elem",line:"629",name:"str",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NT",flags:"a"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"274",binds:"",C:[{N:"function",name:"Q{coBindings}bind",line:"209",module:"component-bindings.xsl",flags:"pU",as:"?ADI",slots:"2",C:[{N:"arg",name:"Q{}context",as:"1N"},{N:"arg",name:"Q{}name",as:"1AS"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"int",val:"1"}]}]}]}]}]},{N:"co",id:"252",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}LBRACE",as:"1ADI",line:"17",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"123"}]}]}, +{N:"co",id:"4",binds:"",C:[{N:"globalVariable",name:"Q{}xslt.standard.attributes",as:"+NE",line:"309",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"310",C:[{N:"elem",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-collation"}]}, +{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:uri-list"}]}]}]},{N:"elem",line:"311",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-mode"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:default-mode-type"}]}]}]},{N:"elem",line:"312",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-validation"}]},{N:"att",name:"type", +flags:"l",C:[{N:"str",val:"xsl:validation-strip-or-preserve"}]},{N:"att",name:"default",flags:"l",C:[{N:"str",val:"strip"}]}]}]},{N:"elem",line:"313",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"exclude-result-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefix-list-or-all"}]}]}]},{N:"elem",line:"314",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name", +flags:"l",C:[{N:"str",val:"expand-text"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:yes-or-no"}]}]}]},{N:"elem",line:"315",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"extension-element-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefix-list"}]}]}]},{N:"elem",line:"316",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str", +val:"use-when"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:expression"}]}]}]},{N:"elem",line:"317",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"version"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:decimal"}]}]}]},{N:"elem",line:"318",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"xpath-default-namespace"}]},{N:"att", +name:"type",flags:"l",C:[{N:"str",val:"xs:anyURI"}]}]}]},{N:"elem",line:"319",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-collation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"320",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-mode"}]},{N:"att",name:"type",flags:"l",C:[{N:"str", +val:"xs:string"}]}]}]},{N:"elem",line:"321",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-validation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"322",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_exclude-result-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]}, +{N:"elem",line:"323",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_expand-text"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"324",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_extension-element-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"325", +name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_use-when"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"326",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_version"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:decimal"}]}]}]},{N:"elem",line:"327",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema", +C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_xpath-default-namespace"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"328",name:"xs:anyAttribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"namespace",flags:"l",C:[{N:"str",val:"##other"}]},{N:"att",name:"processContents",flags:"l",C:[{N:"str",val:"lax"}]}]}]}]}]}]},{N:"co",id:"262",binds:"1 256",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_TEXT",as:"1AS",line:"49", +module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"49",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_TEXT",bSlot:"1"}]}]}]},{N:"co",id:"275",binds:"",C:[{N:"function",name:"Q{MyTypes}toString",line:"323",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"325",name:"serialize",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]}]},{N:"co",id:"136",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg2135267024",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289", +name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0505"},{N:"str",val:"template result"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"137",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ITEM",as:"1FM k[AS] v[1AS]",line:"11",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map", +size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"131",binds:"132 69 7 1 1",C:[{N:"template",name:"Q{}Sequence-and-type",flags:"os",line:"498",module:"xpath.xsl",slots:"5",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"499",C:[{N:"param",name:"Q{}parts",slot:"0",flags:"r",as:"*NE", +C:[{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|parts",C:[{N:"supplied",slot:"0"}]}]},{N:"choose",line:"503",C:[{N:"fn",line:"504",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]},{N:"elem",line:"505",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"0"}]},{N:"slash",line:"506",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis", +name:"attribute",nodeTest:"NA"}]}]}]},{N:"true"},{N:"let",line:"513","var":"Q{}commonTypeAsMap",as:"1FM",slot:"1",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"1",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"2",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]},{N:"let",line:"514","var":"Q{}commonType",slot:"2",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"1"}]},{N:"choose",line:"517",C:[{N:"every",line:"520","var":"Q{}p",slot:"3",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1", +C:[{N:"varRef",name:"Q{}p",slot:"3"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"521",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]}]},{N:"slash",line:"522",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}, +{N:"att",line:"523",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"524",name:"Q{}parts",slot:"0"}]}]},{N:"fn",line:"527",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]}]},{N:"copy",line:"528",flags:"in",sit:"1",C:[{N:"sequence",role:"content",line:"529",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"530",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"531",name:"Q{}parts",slot:"0"}]}]},{N:"compareToInt",line:"534",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"535","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"forEach",line:"536",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"copy",line:"537",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"538",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"543",flags:"in",sit:"1",C:[{N:"sequence",role:"content",line:"545",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"548",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"4",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", +type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"548",name:"Q{}commonTypeAsMap",slot:"1"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"549",name:"Q{}parts",slot:"0"}]}]}]}]}]}]}]}]}]},{N:"co",id:"36",binds:"",C:[{N:"globalVariable",name:"Q{}codepoint.collation",as:"1AU",line:"25", +module:"sorting.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"atomic",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint",type:"AU"}]}]},{N:"co",id:"276",binds:"",C:[{N:"function",name:"Q{MyTypes}typeOf",line:"1204",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}item",as:"1"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1206",C:[{N:"instance", +line:"1207",of:"1N",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1208",C:[{N:"instance",line:"1209",of:"1NE",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NE"},{N:"instance",line:"1210",of:"1NA",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NA"},{N:"instance",line:"1211",of:"1NT",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NT"},{N:"instance",line:"1212",of:"1NC",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NC"},{N:"instance",line:"1213",of:"1NP", +C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NP"},{N:"instance",line:"1214",of:"1ND",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"ND"},{N:"true"},{N:"str",val:"N"}]},{N:"instance",line:"1218",of:"1A",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1219",C:[{N:"instance",line:"1220",of:"1AS",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AS"},{N:"instance",line:"1221",of:"1AB",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AB"},{N:"instance",line:"1222", +of:"1AD",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AD"},{N:"instance",line:"1223",of:"1ADI",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"ADI"},{N:"instance",line:"1224",of:"1AQ",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AQ"},{N:"instance",line:"1225",of:"1AU",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AU"},{N:"instance",line:"1226",of:"1AA",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AA"},{N:"instance",line:"1227",of:"1AM",C:[{N:"varRef", +name:"Q{}item",slot:"0"}]},{N:"str",val:"AM"},{N:"instance",line:"1228",of:"1AT",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AT"},{N:"instance",line:"1229",of:"1AR",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AR"},{N:"instance",line:"1230",of:"1AO",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AO"},{N:"instance",line:"1231",of:"1AF",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AF"},{N:"instance",line:"1232",of:"1A2",C:[{N:"varRef",name:"Q{}item",slot:"0"}]}, +{N:"str",val:"A2"},{N:"instance",line:"1233",of:"1AX",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AX"},{N:"instance",line:"1234",of:"1AZ",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AZ"},{N:"true"},{N:"str",val:"A"}]},{N:"instance",line:"1238",of:"1F",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1239",C:[{N:"instance",line:"1240",of:"1FM",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"FM"},{N:"instance",line:"1241",of:"1FM",C:[{N:"varRef",name:"Q{}item", +slot:"0"}]},{N:"str",val:"FA"},{N:"true"},{N:"str",val:"F"}]},{N:"true"},{N:"str",val:"J"}]}]}]},{N:"co",id:"277",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.ANY_ITEM_TYPE",as:"1AS",line:"160",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"item()"}]}]},{N:"co",id:"194",binds:"216",C:[{N:"mode",name:"Q{}expand-character-maps",onNo:"DC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"209",rank:"0",minImp:"0",slots:"1",matches:"NE n*:charMap",flags:"s", +as:"1NE",line:"156",module:"output.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE n*:charMap"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"156",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"157",C:[{N:"param",name:"Q{}charMaps",slot:"0",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|charMaps",C:[{N:"supplied",slot:"0"}]}]},{N:"copy",line:"158",flags:"cin",sit:"1NE n*:charMap",C:[{N:"sequence",role:"content",line:"159",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"forEach",line:"160",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize", +C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}]},{N:"callT",line:"161",name:"Q{}expandCharMapRef",bSlot:"0",C:[{N:"withParam",name:"Q{}charMapRef",flags:"c",as:"1AS",C:[{N:"fn",line:"162",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"withParam",name:"Q{}charMaps",flags:"c",as:"*NE",C:[{N:"varRef",line:"163",name:"Q{}charMaps",slot:"0"}]}]}]},{N:"axis",line:"166",name:"child",nodeTest:"NE n*:m"}]}]}]}]}]}]},{N:"co",id:"229",binds:"64", +C:[{N:"function",name:"Q{MyTypes}cvUntyped",line:"909",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"915",name:"cvUntyped",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"to",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"p"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"0"}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"916",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}, +{N:"varRef",line:"916",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"267",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1557557661",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-attribute/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"78",binds:"150",C:[{N:"template",name:"Q{MyFunctions}AVT",flags:"os",as:"1NE",line:"14",module:"value-templates.xsl",slots:"3",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~", +line:"15",card:"1",diag:"7|0|XTTE0505|f:AVT",C:[{N:"sequence",C:[{N:"param",name:"Q{}avt-string",slot:"0",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|avt-string",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"16",name:"Q{}default",slot:"1",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"17",name:"Q{}role",slot:"2",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"supplied",slot:"2"}]}]}]},{N:"choose",line:"18",C:[{N:"fn",line:"19",name:"exists",C:[{N:"varRef",name:"Q{}avt-string",slot:"0"}]},{N:"forEach",line:"20",flags:"t",C:[{N:"varRef", +name:"Q{}avt-string",slot:"0"},{N:"callT",line:"21",name:"Q{}value-template",bSlot:"0",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"?NA",C:[{N:"varRef",line:"22",name:"Q{}role",slot:"2"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"false"}]}]}]},{N:"fn",line:"27",name:"exists",C:[{N:"varRef",name:"Q{}default",slot:"1"}]},{N:"elem",line:"28",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l", +C:[{N:"varRef",name:"Q{}default",slot:"1"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"copyOf",line:"29",flags:"c",C:[{N:"varRef",name:"Q{}role",slot:"2"}]}]}]},{N:"true"},{N:"elem",line:"33",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"copyOf",line:"34",flags:"c",C:[{N:"varRef",name:"Q{}role",slot:"2"}]}]}]}]}]}]}]}]},{N:"co", +id:"278",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_UNTYPED_ATOMIC",as:"1FM k[AS] v[1AS]",line:"26",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"AZ"}]}]}]},{N:"co",id:"254",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}LPAREN",as:"1ADI",line:"15",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"40"}]}]},{N:"co",id:"246",binds:"",C:[{N:"globalParam",name:"Q{}staticParameters", +as:"1FM k[AQ]",line:"174",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",C:[{N:"map",size:"0"}]}]},{N:"co",id:"279",binds:"",C:[{N:"function",name:"Q{MyFunctions}namespace-uri-for-prefix-or-default",line:"168",module:"namespaces.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}prefix",as:"1AS"},{N:"arg",name:"Q{}element",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"0"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"1"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"0"},{N:"varRef",name:"Q{}element",slot:"1"}]}]}]}]},{N:"co",id:"280",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_DECIMAL",as:"1FM k[AS] v[1AS]",line:"20", +module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"AD"}]}]}]},{N:"co",id:"281",binds:"281",C:[{N:"function",name:"Q{MyFunctions}import-index",line:"704",module:"static.xsl",flags:"pmU",as:"1ADI",slots:"2",C:[{N:"arg",name:"Q{}in",as:"1NE"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"706","var":"Q{}next", +as:"?NE nQ{http://www.w3.org/1999/XSL/Transform}import",slot:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"first",C:[{N:"axis",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"}]}]},{N:"choose",line:"713",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}next",slot:"1"}]},{N:"arith",op:"+",calc:"i+i",C:[{N:"ufCall",name:"Q{MyFunctions}import-index",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:import-index",C:[{N:"varRef",name:"Q{}next", +slot:"1"}]}]},{N:"int",val:"1"}]},{N:"true"},{N:"int",val:"1"}]}]}]}]},{N:"co",id:"282",binds:"",C:[{N:"function",name:"Q{MyFunctions}symbolic-name",line:"56",module:"component-bindings.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}component",as:"1NE"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"59",card:"1",diag:"5|0|XTTE0780|f:symbolic-name#1", +C:[{N:"forEach",C:[{N:"check",line:"58",card:"1",diag:"3|0|XTTE0570|actor",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}component",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"60",C:[{N:"fn",line:"61",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalParam,NE nQ{http://ns.saxonica.com/xslt/export}globalVariable]"}]},{N:"fn",line:"62",name:"concat",C:[{N:"str",val:"V:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first", +C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"64",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}attributeSet"}]},{N:"fn",line:"65",name:"concat",C:[{N:"str",val:"A:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"67",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"fn",line:"68",name:"concat",C:[{N:"str",val:"T:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}, +{N:"str",val:""}]}]}]}]},{N:"fn",line:"70",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]},{N:"fn",line:"71",name:"concat",C:[{N:"str",val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"fn",line:"73",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"}]}, +{N:"fn",line:"74",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"true"},{N:"str",val:"???"}]}]}]}]}]},{N:"co",id:"271",binds:"78 79 78 79 78 79 78 79 78 79 78 79",C:[{N:"template",name:"Q{}numberFormat",flags:"os",as:"*NE",line:"68",module:"numbering.xsl",slots:"2",C:[{N:"sequence", +role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70", +name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"callT",line:"72",name:"Q{MyFunctions}AVT",bSlot:"0",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}format",C:[{N:"slash",line:"73",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}format"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"1"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"75",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"1"},{N:"str",val:"format"}]}]}]}]}]},{N:"callT",line:"77",name:"Q{MyFunctions}AVT",bSlot:"2",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}start-at",C:[{N:"slash",line:"78", +simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}start-at"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"1"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"80",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"3"},{N:"str",val:"startAt"}]}]}]}]}]},{N:"choose",line:"82",C:[{N:"fn",name:"exists", +C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-separator"}]}]},{N:"callT",line:"83",name:"Q{MyFunctions}AVT",bSlot:"4",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}grouping-separator",C:[{N:"slash",line:"84",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-separator"}]}]},{N:"withParam",name:"Q{}default", +flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"86",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"5"},{N:"str",val:"gpSep"}]}]}]}]}]}]},{N:"choose",line:"89",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-size"}]}]},{N:"callT", +line:"90",name:"Q{MyFunctions}AVT",bSlot:"6",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}grouping-size",C:[{N:"slash",line:"91",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-size"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"0"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"93",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role", +C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"7"},{N:"str",val:"gpSize"}]}]}]}]}]}]},{N:"choose",line:"96",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ordinal"}]}]},{N:"callT",line:"97",name:"Q{MyFunctions}AVT",bSlot:"8",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}ordinal",C:[{N:"slash",line:"98",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot", +flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ordinal"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"false"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"100",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"9"},{N:"str",val:"ordinal"}]}]}]}]}]}]},{N:"choose",line:"103",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}lang"}]}]},{N:"callT",line:"107",name:"Q{MyFunctions}AVT",bSlot:"10",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}lang",C:[{N:"slash",line:"108",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}lang"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"en"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat", +line:"110",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"11"},{N:"str",val:"lang"}]}]}]}]}]}]}]}]}]},{N:"co",id:"239",binds:"",C:[{N:"globalVariable",name:"Q{}ST.EMPTY_SEQUENCE",as:"1FM k[AS] v[1AS]",line:"10",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"0"},{N:"str",val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"142",binds:"",C:[{N:"mode",name:"Q{}pattern-with-current", +onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"300",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fn",flags:"s",line:"1538",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1538",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"current"}]}]},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1539",name:"varRef",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions}current"}]}, +{N:"att",name:"slot",flags:"l",C:[{N:"str",val:"0"}]},{N:"axis",line:"1540",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"co",id:"283",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ZERO_OR_ONE",as:"1ADI",line:"110",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"3"}]}]},{N:"co",id:"284",binds:"",C:[{N:"function",name:"Q{MyFunctions}QNameToEQ",line:"161",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}qname",as:"1AQ"},{N:"fn",role:"body", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"0"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"0"}]}]}]}]},{N:"co",id:"285",binds:"",C:[{N:"globalVariable", +name:"Q{}ST.SINGLE_DECIMAL",as:"1FM k[AS] v[1AS]",line:"21",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AD"}]}]}]},{N:"co",id:"150",binds:"251 72 72 72 262 262",C:[{N:"template",name:"Q{}value-template",flags:"os",as:"?NE",line:"41",module:"value-templates.xsl",slots:"13",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~", +line:"42",card:"?",diag:"7|0|XTTE0505|value-template",C:[{N:"sequence",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"43",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check", +card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"44",name:"Q{}has-uniform-static-context",slot:"2",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param", +line:"45",name:"Q{}default-collation",slot:"3",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"47",name:"Q{}backward-compatibility",slot:"4",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|backward-compatibility", +C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"data",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"supplied",slot:"4"}]}]}]}]}]},{N:"param",line:"48",name:"Q{}attr",slot:"5",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"5"}]}]},{N:"let",line:"56","var":"Q{}text.value",as:"1",slot:"6",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat", +as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NA"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NT"}]}]}]},{N:"dot",flags:"a"},{N:"true"},{N:"fn",name:"normalize-space", +C:[{N:"check",card:"?",diag:"0|0||fn:normalize-space",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"let",line:"57","var":"Q{}lineNr",as:"1ADI",slot:"7",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}node",as:"1N",slot:"8",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:line-number",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|1|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]},{N:"treat",module:"lib.xsl", +line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"9",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", +C:[{N:"varRef",name:"Q{}node",slot:"8"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"9"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"9"}]}]}]}]}]}]}]}]}]},{N:"let",line:"58","var":"Q{}loc",as:"1AS",slot:"10",C:[{N:"choose",line:"59",C:[{N:"instance",line:"60",of:"1NA",C:[{N:"dot",flags:"a"}]},{N:"convert", +line:"60",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/@"},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"instance", +line:"61",of:"1NT",C:[{N:"dot",flags:"a"}]},{N:"convert",line:"61",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/text()"}]}]}]}]},{N:"true"},{N:"convert",line:"62", +from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|1|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"let",line:"66","var":"Q{}parts",as:"*NE",slot:"11",C:[{N:"choose",line:"67",C:[{N:"fn",line:"68",name:"contains",C:[{N:"check",card:"?",diag:"0|0||fn:contains",C:[{N:"convert", +from:"A",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"str",val:"{"}]},{N:"forEach",line:"69",C:[{N:"ufCall",name:"Q{MyFunctions}parse-value-template",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:parse-value-template",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:parse-value-template",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-value-template", +C:[{N:"data",diag:"0|0||f:parse-value-template",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"treat",as:"N",diag:"0|1||f:parse-value-template",C:[{N:"dot",flags:"a"}]}]},{N:"choose",line:"70",C:[{N:"compareToString",line:"71",op:"eq",val:"literal",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"elem",line:"72",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]}, +{N:"and",line:"74",op:"and",C:[{N:"compareToString",op:"eq",val:"expression",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"\\S+"},{N:"str",val:""}]}]},{N:"elem",line:"75",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l", +C:[{N:"str",val:"string-join"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"1"}]},{N:"let",line:"76","var":"Q{}content",as:"1NE",slot:"12",C:[{N:"elem",line:"77",name:"convert",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"from",flags:"l",C:[{N:"str",val:"AZ"}]},{N:"att",name:"to",flags:"l",C:[{N:"str",val:"AS"}]},{N:"elem",line:"78",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"elem",line:"79", +name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"elem",line:"80",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]},{N:"att",name:"loc",flags:"l",C:[{N:"varRef",name:"Q{}loc",slot:"10"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}lineNr",slot:"7"}]}]},{N:"att",name:"allow-empty", +flags:"l",C:[{N:"str",val:"true"}]},{N:"choose",line:"81",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"4"},{N:"att",line:"82",name:"BC",flags:"l",C:[{N:"str",val:"true"}]}]},{N:"varRef",line:"85",name:"Q{}xpath-default-namespace",slot:"1"},{N:"varRef",line:"85",name:"Q{}default-collation",slot:"3"}]}]}]}]}]}]},{N:"sequence",line:"92",C:[{N:"choose",C:[{N:"varRef",line:"93",name:"Q{}backward-compatibility",slot:"4"},{N:"elem",line:"94",name:"first",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"varRef",line:"95",name:"Q{}content",slot:"12"}]},{N:"true"},{N:"varRef",line:"99",name:"Q{}content",slot:"12"}]},{N:"elem",line:"102",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:" "}]}]}]}]}]}]},{N:"true"},{N:"elem",line:"106",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]},{N:"true"},{N:"elem",line:"112",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att", +name:"val",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"str",val:"\\}\\}"},{N:"str",val:"}"},{N:"str",val:""}]}]}]}]},{N:"choose",line:"117",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]}, +{N:"axis",name:"self",nodeTest:"NA"}]}]},{N:"choose",line:"118",C:[{N:"fn",line:"119",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"11"}]},{N:"elem",line:"120",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"2"}]},{N:"varRef",line:"121",name:"Q{}attr",slot:"5"}]}]},{N:"compareToInt",line:"124",op:"lt",val:"2",C:[{N:"fn",name:"count", +C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"forEach",line:"125",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"copy",line:"126",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"127",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}attr",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"132",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"concat"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"3"}]},{N:"varRef",line:"133",name:"Q{}attr",slot:"5"},{N:"varRef",line:"135",name:"Q{}parts",slot:"11"},{N:"elem",line:"137",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]}]}]}]}]},{N:"fn",line:"144",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"11"}]},{N:"empty"},{N:"compareToInt", +line:"145",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"elem",line:"146",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"4"}]},{N:"varRef",line:"147",name:"Q{}attr",slot:"5"},{N:"varRef",line:"148",name:"Q{}parts",slot:"11"}]}]},{N:"true"},{N:"elem",line:"152",name:"valueOf", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"5"}]},{N:"varRef",line:"153",name:"Q{}attr",slot:"5"},{N:"elem",line:"154",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string-join"}]},{N:"elem",line:"155",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"156",name:"Q{}parts", +slot:"11"}]},{N:"elem",line:"158",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"230",binds:"1",C:[{N:"function",name:"Q{MyTypes}treat",line:"879",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"886",name:"treat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"ufCall",line:"885",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"str",val:"^[01*+?]"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"choose",line:"887",C:[{N:"gc",line:"888",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"o"}]}]},{N:"str",val:"*"}]},{N:"sequence",line:"889",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",name:"Q{}expression",slot:"0"}]},{N:"true"},{N:"sequence",line:"892",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"elem",line:"893",name:"check", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"o"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"894",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}, +{N:"varRef",line:"894",name:"Q{}expression",slot:"0"}]}]}]}]}]}]}]}]},{N:"co",id:"286",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_INTEGER",as:"1FM k[AS] v[1AS]",line:"22",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"ADI"}]}]}]},{N:"co",id:"287",binds:"",C:[{N:"function",name:"Q{MyFunctions}error-code",line:"31",module:"lib.xsl",flags:"pU",as:"1AQ",slots:"1",C:[{N:"arg",name:"Q{}code",as:"*"},{N:"fn", +role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:QName",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:QName",C:[{N:"data",diag:"0|1||fn:QName",C:[{N:"varRef",name:"Q{}code",slot:"0"}]}]}]}]}]}]}]}, +{N:"co",id:"288",binds:"",C:[{N:"globalVariable",name:"Q{}saxonjsVersion",as:"1AS",line:"171",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"str",val:"2.7"}]}]},{N:"co",id:"263",binds:"22",C:[{N:"template",name:"Q{}check-select",flags:"os",as:"0",line:"62",module:"lib.xsl",slots:"0",C:[{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"63",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"check",line:"64",card:"0",diag:"7|0|XTTE0505|check-select",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" must have an @select attribute"}]}, +{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"co",id:"269",binds:"1 108",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ATTRIBUTE",as:"1AS",line:"53",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"53",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ATTRIBUTE",bSlot:"1"}]}]}]},{N:"co",id:"289",binds:"", +C:[{N:"globalVariable",name:"Q{}END_OF_ALPHABET",as:"1ADI",line:"125",module:"static.xsl",visibility:"PRIVATE",C:[{N:"int",val:"50000"}]}]},{N:"co",id:"106",binds:"102 22 120 48 22 105 164 22 105 48 105 34 22 22 22 22 22 22 22 251 29 29",C:[{N:"mode",name:"Q{}static",onNo:"SC",flags:"W",patternSlots:"1",C:[{N:"templateRule",prec:"0",prio:"5.01",seq:"329",rank:"10",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"25",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", +test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"25",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"26",C:[{N:"param", +name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"31",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"1NA",C:[{N:"att",line:"29",name:"xpath-default-namespace",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"5.0",seq:"324",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"5.0",seq:"4",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"718",module:"static.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"718",flags:"",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"union",op:"|",C:[{N:"union",op:"|",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]}]}]}, +{N:"gc",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"718",op:">",card:"M:N",comp:"QUNC",C:[{N:"data",diag:"1|0||>",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"},{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]},{N:"dec",val:"3"}]}]},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"718",name:"not",C:[{N:"filter",flags:"b",C:[{N:"gVarRef",name:"Q{}top-level-declarations",bSlot:"0"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]}]}]}]}]}]}]},{N:"message",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"719",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"IGNORING "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"templateRule",prec:"0",prio:"3.5",seq:"362",rank:"8",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"130",module:"attributes.xsl",C:[{N:"p.withPredicate", +role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"130",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"131",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"132",name:"Q{}extension-element-prefixes",slot:"1",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|extension-element-prefixes",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-prefixes",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-prefixes", +C:[{N:"supplied",slot:"1"}]}]}]}]},{N:"nextMatch",line:"133",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"136",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}extension-element-prefixes",flags:"t",as:"*AS",C:[{N:"sequence",line:"135",C:[{N:"varRef",name:"Q{}extension-element-prefixes",slot:"1"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"20",rank:"7",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1028",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1028",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1029",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1", +diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1030",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1032","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose",line:"1033",C:[{N:"fn",line:"1034",name:"exists",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}_use-when"}]},{N:"check",line:"1035",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]}]}]}]},{N:"true"},{N:"check",line:"1038",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}]}]}]}]}]},{N:"let",line:"1042","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1043","var":"Q{}dot",as:"1",slot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"compElem",line:"1044",C:[{N:"str",role:"name", +val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1045",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"1047",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]}, +{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"4"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"let",line:"1052","var":"Q{}use",as:"1AB",slot:"5",C:[{N:"treat",line:"1055",as:"AB",diag:"3|0|XTTE0570|use",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|use",C:[{N:"data",diag:"3|0|XTTE0570|use",C:[{N:"try",flags:"r",C:[{N:"evaluate", +dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"withParam",name:"Q{}compileSyntax",as:"1AB",C:[{N:"false"}]}, +{N:"withParam",name:"Q{}errorsAsMessages",as:"1AB",C:[{N:"false"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1063",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Y"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall", +name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"let",line:"1068","var":"Q{}possibleCode",as:"1AS",slot:"6",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before",C:[{N:"data",diag:"0|0||fn:substring-before", +C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]},{N:"choose",line:"1075",C:[{N:"castable",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"substring-after",C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-after", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"fn",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str", +val:"code"}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"choose",line:"1079",C:[{N:"varRef",line:"1080",name:"Q{}use",slot:"5"},{N:"sequence",line:"1081",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b", +C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]}]}]},{N:"fn",line:"1082",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"str",val:"@xsl:use-when cannot be used on XSL element "}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]}]},{N:"nextMatch",line:"1084",flags:"t"}]},{N:"fn",line:"1086",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]},{N:"applyT",line:"1092",flags:"ct",bSlot:"-1",C:[{N:"copy",role:"select",line:"1088",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*", +C:[{N:"axis",role:"content",line:"1089",name:"attribute",nodeTest:"NA d[NA,NA u[NA nQ{}use-when,NA nQ{}_use-when]]"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"5",rank:"7",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"723",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"vc",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"723",op:"eq",onEmpty:"0",comp:"CCC", +C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{http://www.w3.org/XML/1998/namespace}space"}]},{N:"str",val:"preserve"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"724",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"725",flags:"t", +C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"727",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xml-space-preserve",flags:"t",as:"1AB",C:[{N:"true"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"19",rank:"6",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1023",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"1023",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1024",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"str",val:"@xsl:use-when cannot be used on XSL element "}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"3.0",seq:"21",rank:"5",minImp:"0",slots:"6",matches:"NE",flags:"s",line:"1149",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1149",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1150",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1151",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1153","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose", +line:"1154",C:[{N:"fn",line:"1155",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]},{N:"check",line:"1156",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]}]}]}]}, +{N:"true"},{N:"check",line:"1159",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"}]}]}]}]}]},{N:"let",line:"1163","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1164","var":"Q{}dot",as:"1",slot:"4", +C:[{N:"dot",type:"1NE",flags:"a"},{N:"compElem",line:"1165",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1166",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"1167",flags:"l",C:[{N:"fn",role:"name",name:"concat", +C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"4"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"let",line:"1171","var":"Q{}use",as:"1AB",slot:"5",C:[{N:"treat",line:"1174",as:"AB",diag:"3|0|XTTE0570|use",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|use",C:[{N:"data",diag:"3|0|XTTE0570|use", +C:[{N:"try",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch", +errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1176",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Z"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160", +C:[{N:"fn",line:"1179",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before",C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"fn",name:"substring-after", +C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-after",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]},{N:"choose",line:"1183",C:[{N:"varRef",name:"Q{}use",slot:"5"},{N:"nextMatch",line:"1184",flags:"t"}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"3.0",seq:"6",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"731",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"731",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"732","var":"Q{}version",as:"1AD",slot:"0",C:[{N:"callT",line:"733",name:"Q{}XSLT-version",bSlot:"2"},{N:"nextMatch",line:"735",flags:"t",C:[{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"736",name:"Q{}version",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"16",rank:"4",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"984",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"984",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"985",C:[{N:"param",name:"Q{}xml-space-preserve",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"986",name:"Q{}import-precedence",slot:"1",flags:"t",C:[{N:"int",role:"select",val:"1"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"987",name:"Q{}moduleLabel",slot:"2",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"convert",from:"A",to:"AS", +flags:"p",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"data",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"988",name:"Q{}precLabel",slot:"3",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|precLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|precLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"data",diag:"8|0|XTTE0590|precLabel", +C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"989",name:"Q{}stylesheet-properties",slot:"4",flags:"t",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|stylesheet-properties",C:[{N:"supplied",slot:"4"}]}]},{N:"copy",line:"990",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",C:[{N:"sequence",role:"content",line:"992",C:[{N:"att",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +"var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"3"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",line:"994",name:"ex:baseUri", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"att",line:"995",name:"ex:precLabel",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"varRef",name:"Q{}precLabel",slot:"3"}]},{N:"choose",line:"996",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}decimal-format,NE nQ{http://www.w3.org/1999/XSL/Transform}import],NE nQ{http://www.w3.org/1999/XSL/Transform}include],NE nQ{http://www.w3.org/1999/XSL/Transform}output]"}]}, +{N:"varRef",line:"997",name:"Q{}stylesheet-properties",slot:"4"}]},{N:"att",line:"999",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"6",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"7",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"6"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"7"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"7"}]}]}]}]}]}]}]}]}]}]}]},{N:"choose",line:"1000",C:[{N:"fn",name:"exists", +C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"ufCall",line:"1005",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"An XSLT element cannot have attribute(s) "},{N:"fn",name:"string-join",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"axis", +name:"attribute",nodeTest:"NA"},{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:","}]}]},{N:"str",val:" in the XSLT namespace"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"applyT",line:"1007",flags:"c",bSlot:"-1",C:[{N:"docOrder",role:"select",intra:"1",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}, +{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"applyT",line:"1010",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"4",C:[{N:"str",val:""},{N:"str",val:"http://saxon.sf.net/"},{N:"str",val:"http://ns.saxonica.com/xslt/export"},{N:"str",val:"http://www.w3.org/XML/1998/namespace"}]}, +{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"callT",line:"1011",name:"Q{}staticText",bSlot:"5",C:[{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1012",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"10",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"782",module:"static.xsl", +C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"NE"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"},{N:"p.nodeTest",test:"NE"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"783",C:[{N:"param",name:"Q{}XSLT-version",slot:"0",flags:"t",as:"1AD",C:[{N:"dec",role:"select",val:"3"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"data",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"choose",line:"784",C:[{N:"or",line:"785",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]}, +{N:"vc",op:"gt",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}XSLT-version",slot:"0"},{N:"dec",val:"3"}]}]},{N:"nextMatch",line:"786",flags:"t"},{N:"true"},{N:"ufCall",line:"790",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"7",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" must be the root element of a document, or the child of xsl:package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0", +prio:"0.9",seq:"17",rank:"3",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"1017",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1017",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, +{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"14",rank:"0",minImp:"0",slots:"26",matches:"NE",flags:"s",line:"834",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"835",C:[{N:"param",name:"Q{}required-version",slot:"0",as:"?AD",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|required-version", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|required-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|required-version",C:[{N:"data",diag:"8|0|XTTE0590|required-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"836",name:"Q{}has-uniform-static-context",slot:"1",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context", +C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"837",name:"Q{}extension-element-namespaces",slot:"2",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"supplied",slot:"2"}]}]}]}]},{N:"choose", +line:"841",C:[{N:"varRef",line:"842",name:"Q{}has-uniform-static-context",slot:"1"},{N:"copy",line:"843",flags:"in",sit:"1NE",C:[{N:"let",role:"content",line:"844","var":"Q{}lineNo",slot:"3",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall", +name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"845",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"compareToInt",op:"ne",val:"-1", +C:[{N:"varRef",name:"Q{}lineNo",slot:"3"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}lineNo",slot:"3"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"6",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:line-number", +C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln", +slot:"7",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"6"}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"7"},{N:"int",val:"-1"}]},{N:"instance",of:"1NE",C:[{N:"varRef",name:"Q{}node",slot:"6"}]}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"7"}]}]}]}]}]}]}]}]}]}]}]}, +{N:"att",line:"846",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}lineNo",slot:"3"}]}]}]},{N:"choose",line:"848",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"att",line:"849",name:"ex:baseUri",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l", +C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"851",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",line:"852",name:"ex:exclude",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",line:"909",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"slash",C:[{N:"dot",line:"852",type:"1NE",flags:"a"},{N:"fn",name:"reverse", +C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"true"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]}]}]}, +{N:"let",line:"910","var":"Q{}owner",as:"*N u[NE,ND]",slot:"8",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"choose",line:"912",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]}]}]},{N:"forEach",line:"913",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}owner",slot:"8"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NN"}]}]},{N:"true"},{N:"let",line:"923","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"1NE i[NE,N u[NE,ND]]",slot:"9",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}owner",slot:"8"}]},{N:"forEach",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot", +type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"}]}]},{N:"fn",name:"string",C:[{N:"dot",type:"1AU"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"forEach",line:"854",C:[{N:"union",op:"|",C:[{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis", +name:"child",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]},{N:"att",line:"855",name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"let",line:"857","var":"Q{}shadows",as:"*NA",slot:"10",C:[{N:"filter",flags:"b", +C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"858",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"10"}]}]}]},{N:"applyT",line:"859",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"10"}]},{N:"callT",line:"860",name:"Q{}staticText", +bSlot:"8"}]}]}]}]}]},{N:"true"},{N:"copy",line:"864",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"866",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"fn",name:"not",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}n1",as:"1NE",slot:"11",C:[{N:"dot", +ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"},{N:"let","var":"Q{}n2",as:"1NE",slot:"12",C:[{N:"treat",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",as:"NE",diag:"0|1||f:has-same-namespaces",C:[{N:"check",card:"1",diag:"0|1||f:has-same-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"let",module:"namespaces.xsl", +line:"120","var":"Q{}n1.prefixes",as:"*AS",slot:"13",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n1",slot:"11"}]},{N:"let",line:"121","var":"Q{}n2.prefixes",as:"*AS",slot:"14",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n2",slot:"12"}]},{N:"and",line:"127",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"13"}]},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"14"}]}]},{N:"every","var":"Q{}p", +slot:"15",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"13"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"14"},{N:"varRef",name:"Q{}p",slot:"15"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"15"},{N:"varRef",name:"Q{}n1",slot:"11"}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"15"},{N:"varRef",name:"Q{}n2",slot:"12"}]}]}]}]}]}]}]}]}]}]}]},{N:"att", +line:"867",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"16",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn", +name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}, +{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"9"},{N:"fn",name:"name", +C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"let",line:"869","var":"Q{}base",as:"?AU",slot:"17",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"sequence",line:"870",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"varRef",name:"Q{}base",slot:"17"},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri", +C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"att",line:"871",name:"ex:baseUri",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"varRef",name:"Q{}base",slot:"17"}]}]}]},{N:"choose",line:"873",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",line:"874",name:"ex:exclude",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",line:"909", +C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"slash",C:[{N:"dot",line:"874",type:"1NE",flags:"a"},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"true"},{N:"sequence",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]}]}]},{N:"let",line:"910","var":"Q{}owner",as:"*N u[NE,ND]",slot:"18",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"choose",line:"912",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]}]}]},{N:"forEach",line:"913",C:[{N:"slash", +simple:"2",C:[{N:"varRef",name:"Q{}owner",slot:"18"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NN"}]}]},{N:"true"},{N:"let",line:"923","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"19",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}owner",slot:"18"}]},{N:"forEach",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot",type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"19"}]}]},{N:"fn",name:"string",C:[{N:"dot",type:"1AU"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"forEach",line:"876",C:[{N:"union",op:"|", +C:[{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]},{N:"att",line:"877", +name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"let",line:"879","var":"Q{}lineNo",slot:"20",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"21",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"21"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"22",C:[{N:"ifCall", +name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"21"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"22"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"21"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"22"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"880",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"compareToInt",op:"ne", +val:"-1",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"23",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",card:"1", +diag:"0|0||f:line-number",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"24",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"23"}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"24"},{N:"int",val:"-1"}]},{N:"instance",of:"1NE",C:[{N:"varRef",name:"Q{}node",slot:"23"}]}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef", +name:"Q{}ln",slot:"24"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",line:"881",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"}]}]}]},{N:"let",line:"883","var":"Q{}shadows",as:"*NA",slot:"25",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"884",C:[{N:"applyT",flags:"c",bSlot:"-1", +C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"25"}]}]}]},{N:"applyT",line:"885",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"25"}]},{N:"callT",line:"886",name:"Q{}staticText",bSlot:"10"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"8",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",line:"770",module:"static.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"771",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",line:"772",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]},{N:"str",val:" cannot contain element "}]},{N:"slash",C:[{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]}]},{N:"nextMatch",line:"774",flags:"t",C:[{N:"withParam",name:"Q{}xml-space-preserve",flags:"t",as:"1AB",C:[{N:"true"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"18",part:"1",rank:"2",minImp:"0", +slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1019",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1019",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"1020",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Non-global "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",val:" "}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot be static"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5", +seq:"18",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"1019",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1019",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"1020",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Non-global "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",val:" "}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot be static"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5", +seq:"13",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"s",line:"802",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"802",name:"not",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"normalize.xsl",line:"777",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"802",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}, +{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"803",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE0190"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"a"}]},{N:"str",val:" must be a top-level component"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import", +flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"11",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"s",line:"796",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"796",C:[{N:"axis",name:"child",nodeTest:"NE"}, +{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"797",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE", +flags:"a"}]},{N:"str",val:" cannot have any content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"9",rank:"4",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"779",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"p.nodeTest",test:"NE"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"780",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"a"}]},{N:"str",val:" must be a the root element of a document"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"12",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}include", +flags:"s",line:"799",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"799",name:"not",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl", +line:"777",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"799",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]},{N:"ufCall",role:"action", +ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"800",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTSE0170"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"a"}]},{N:"str",val:" must be a top-level component"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"a"}]}]},{N:"templateRule", +prec:"0",prio:"0.5",seq:"11",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"s",line:"796",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"796",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b", +C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"797",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"18",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str", +val:" cannot have any content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"7",rank:"2",minImp:"0",slots:"7",matches:"NA",flags:"s",line:"740",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"740",name:"starts-with",C:[{N:"fn", +name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"741",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1", +diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"742",name:"Q{}var-slots",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"743",name:"Q{}stylesheet-base-uri",slot:"2",flags:"t",as:"1AU",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|stylesheet-base-uri",C:[{N:"fn",name:"base-uri", +C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"744",name:"Q{}xpath-default-namespace",slot:"3",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"3"}]}]}]},{N:"let",line:"745","var":"Q{}container",as:"1NE c~untyped",slot:"4",C:[{N:"let",line:"746","var":"Q{}dot",as:"*N u[NE,ND]",slot:"5",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"750","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"6",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}dot",slot:"5"}]}, +{N:"compElem",line:"747",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"3"}]}]}]},{N:"forEach",role:"content",line:"748",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"check",card:"1",diag:"0|0||fn:in-scope-prefixes",C:[{N:"varRef",name:"Q{}dot",slot:"5"}]}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"750",flags:"l",C:[{N:"fn", +role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]}]},{N:"compAtt",line:"755",C:[{N:"fn",role:"name",name:"substring",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"int",val:"2"}]},{N:"fn",role:"select",line:"757", +name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",line:"758",C:[{N:"ufCall",line:"757",name:"Q{MyFunctions}parse-value-template",tailCall:"false",bSlot:"19",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-value-template",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-value-template",C:[{N:"data",diag:"0|0||f:parse-value-template",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"dot",type:"1NA",flags:"a"}]},{N:"choose",line:"759",C:[{N:"compareToString", +line:"760",op:"eq",val:"literal",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"valueOf",line:"760",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]},{N:"true"},{N:"evaluate",line:"763",dxns:"",C:[{N:"convert",role:"xpath",from:"AZ",to:"AS",flags:"p",diag:"4|0||xsl:evaluate/xpath",C:[{N:"cvUntyped",to:"AS",diag:"4|0||xsl:evaluate/xpath",C:[{N:"data",diag:"4|0||xsl:evaluate/xpath",C:[{N:"dot",type:"1NA"}]}]}]},{N:"empty",role:"cxt"},{N:"convert",role:"baseUri", +from:"AU",to:"AS",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"2"}]},{N:"varRef",role:"nsCxt",name:"Q{}container",slot:"4"},{N:"str",role:"sa",val:"no"},{N:"ifCall",role:"options",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"1"}]},{N:"map", +size:"1",C:[{N:"str",val:"allow-empty"},{N:"true"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"22",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}use-when",flags:"s",line:"1188",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", +C:[{N:"p.nodeTest",test:"NA nQ{}use-when"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"22",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when",flags:"s",line:"1188",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"15",part:"1",rank:"1", +minImp:"0",slots:"2",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes",flags:"s",line:"892",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"895","var":"Q{}discard",slot:"1",C:[{N:"applyT",mode:"Q{}normalize",bSlot:"20",C:[{N:"dot",role:"select", +type:"1NA",flags:"a"}]},{N:"subscript",line:"897",C:[{N:"varRef",name:"Q{}discard",slot:"1"},{N:"int",val:"100000"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"15",rank:"2",minImp:"0",slots:"2",matches:"NA nQ{}exclude-result-prefixes",flags:"s",line:"892",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}exclude-result-prefixes"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"894","var":"Q{}discard",slot:"0",C:[{N:"applyT",line:"895",mode:"Q{}normalize",bSlot:"21",C:[{N:"dot",role:"select",type:"1NA",flags:"a"}]},{N:"subscript",line:"897",C:[{N:"varRef",name:"Q{}discard",slot:"0"},{N:"int",val:"100000"}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"23",rank:"0",minImp:"0",slots:"0",matches:"NC",flags:"s",line:"1189",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NC"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"23",part:"1", +rank:"0",minImp:"0",slots:"0",matches:"NP",flags:"s",line:"1189",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NP"},{N:"empty",role:"action"}]}]}]},{N:"co",id:"290",binds:"",C:[{N:"function",name:"Q{MyTypes}cardinalityCode",line:"46",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}indic",as:"?AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"66", +C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"*"}]},{N:"str",val:"Z1M"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"+"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}indic",slot:"0"}]}]},{N:"str",val:"1"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"?"}]},{N:"str",val:"Z1"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC", +C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]}]}]},{N:"co",id:"79",binds:"",C:[{N:"globalVariable",name:"Q{}roles",as:"1FM k[AS] v[1NA]",line:"577",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"587",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"literal",count:"31",C:[{N:"str",val:"action"},{N:"str",val:"select"},{N:"str",val:"match"},{N:"str",val:"body"},{N:"str",val:"content"},{N:"str",val:"sort"},{N:"str",val:"separator"},{N:"str",val:"caseOrder"},{N:"str",val:"dataType"},{N:"str",val:"collation"},{N:"str",val:"name"},{N:"str",val:"namespace"},{N:"str",val:"on-completion"},{N:"str",val:"baseUri"},{N:"str",val:"href"},{N:"str",val:"regex"},{N:"str",val:"flags"},{N:"str",val:"forEachItem"},{N:"str",val:"forEachStream"}, +{N:"str",val:"selectRows"},{N:"str",val:"startAt"},{N:"str",val:"format"},{N:"str",val:"count"},{N:"str",val:"gpSep"},{N:"str",val:"gpSize"},{N:"str",val:"stable"},{N:"str",val:"order"},{N:"str",val:"ordinal"},{N:"str",val:"lang"},{N:"str",val:"error"},{N:"str",val:"terminate"}]},{N:"ifCall",line:"588",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"att",line:"589",name:"role",C:[{N:"dot",type:"1AS"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, +{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"291",binds:"",C:[{N:"function",name:"Q{MyFunctions}comparableMergeKeys",line:"87",module:"merging.xsl",flags:"pU",as:"1AB",slots:"5",C:[{N:"arg",name:"Q{}k1",as:"1FA v[1FM]"},{N:"arg",name:"Q{}k2",as:"1FA v[1FM]"},{N:"and",role:"body",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"100",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"0"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k2",slot:"1"}]}]},{N:"every","var":"Q{}k",slot:"2",C:[{N:"to",C:[{N:"int",val:"1"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"0"}]}]}, +{N:"let","var":"Q{}a",slot:"3",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k1",slot:"0"},{N:"varRef",name:"Q{}k",slot:"2"}]},{N:"str",val:"p"}]},{N:"let","var":"Q{}b",slot:"4",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k2",slot:"1"},{N:"varRef",name:"Q{}k",slot:"2"}]},{N:"str",val:"p"}]},{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0", +comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}a",slot:"3"}]},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring", +C:[{N:"varRef",name:"Q{}a",slot:"3"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]},{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence", +C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}a",slot:"3"}]},{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]},{N:"co",id:"292",binds:"",C:[{N:"function",name:"Q{MyFunctions}lastCommon",line:"791",module:"type.xsl",flags:"pU",as:"1AS",slots:"5",C:[{N:"arg",name:"Q{}set1",as:"*AS"},{N:"arg",name:"Q{}set2",as:"*AS"},{N:"arg",name:"Q{}default",as:"1AS"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"796",card:"1",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"data",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"iterate",C:[{N:"varRef",role:"select",name:"Q{}set1",slot:"0"},{N:"params",role:"params",line:"797",C:[{N:"param",name:"Q{}common",slot:"3",C:[{N:"varRef",role:"select",name:"Q{}default",slot:"2"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param", +line:"798",name:"Q{}this2",slot:"4",C:[{N:"varRef",role:"select",name:"Q{}set2",slot:"1"},{N:"supplied",role:"conversion",slot:"4"}]}]},{N:"varRef",role:"on-completion",line:"799",name:"Q{}common",slot:"3"},{N:"choose",role:"action",line:"801",C:[{N:"vc",line:"802",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1AS"},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"first",C:[{N:"varRef",name:"Q{}this2",slot:"4"}]}]}]},{N:"nextIteration",line:"803", +C:[{N:"withParam",name:"Q{}common",as:"1",slot:"3",C:[{N:"dot",line:"804",type:"1AS"}]},{N:"withParam",name:"Q{}this2",slot:"4",C:[{N:"tail",line:"805",start:"2",C:[{N:"varRef",name:"Q{}this2",slot:"4"}]}]}]},{N:"true"},{N:"sequence",line:"809",C:[{N:"varRef",name:"Q{}common",slot:"3"},{N:"break"}]}]}]}]}]}]}]}]}]},{N:"co",id:"293",binds:"",C:[{N:"function",name:"Q{MyTypes}allowsZeroNEW",line:"131",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"1AS"},{N:"fn", +role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"133",name:"contains",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"133",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"133",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"133",name:"Q{}cardinality", +slot:"0"}]},{N:"str",val:"1"},{N:"compareToString",line:"133",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"133",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"str",val:"Z"}]}]}]},{N:"co",id:"294",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.EXACTLY_ONE",as:"1ADI",line:"112",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co", +id:"1",binds:"0",C:[{N:"function",name:"Q{MyTypes}unmarshalType",line:"68",module:"sequenceType.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"70",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType0",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]}]}]},{N:"co",id:"295",binds:"1 118",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_ITEM", +as:"1AS",line:"46",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"46",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_ITEM",bSlot:"1"}]}]}]},{N:"co",id:"296",binds:"1 278",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_UNTYPED_ATOMIC",as:"1AS",line:"61",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"61",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_UNTYPED_ATOMIC",bSlot:"1"}]}]}]},{N:"co",id:"245",binds:"106 106 48 170 29 190 22 22",C:[{N:"mode",name:"Q{}compile",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"1.5",seq:"374",rank:"1",minImp:"0",slots:"10",matches:"NE",flags:"s",line:"351",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"}, +{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"352",C:[{N:"param",name:"Q{}stylesheet-base-uri",slot:"0",flags:"t",as:"?AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot", +type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"353",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check", +card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"354",name:"Q{}defaultHTML5",slot:"2",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"356",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options", +slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"357",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting static processing for"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"baseURI:"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"359","var":"Q{}static-processed",as:"1ND",slot:"3",C:[{N:"doc",line:"360",C:[{N:"copy", +flags:"cinl",sit:"1NE",C:[{N:"let",role:"content",line:"361","var":"Q{}shadows",as:"*NA",slot:"4",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"362",C:[{N:"applyT",mode:"Q{}static",bSlot:"0",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"4"}]}]}]},{N:"applyT", +line:"364",mode:"Q{}static",bSlot:"1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"4"}]},{N:"att",line:"365",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef", +name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"2"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"choose",line:"366",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"att",line:"367",name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"let",line:"369","var":"Q{}temp",as:"1FM",slot:"6",C:[{N:"treat",line:"370",as:"FM",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"3",C:[{N:"dot",role:"select",type:"1NE",flags:"a"},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"check",line:"372",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri", +C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"0"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]}]}]}]},{N:"lookup",line:"375",C:[{N:"varRef",name:"Q{}temp",slot:"6"},{N:"str",val:"components"}]}]}]}]}]}]},{N:"sequence",line:"379",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"380",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Static processed:"},{N:"fn",name:"serialize", +C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"382",C:[{N:"lookup",line:"383",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justStatic"}]},{N:"copyOf",line:"384",flags:"c",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]},{N:"true"},{N:"sequence",line:"387",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"statistics"}]}, +{N:"message",line:"388",C:[{N:"sequence",role:"select",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",val:" declarations\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}, +{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"str",val:"\n attributes "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef", +name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}]}]}]},{N:"str",val:" ex:* attributes "}]}]},{N:"let",line:"392","var":"Q{}largest",as:"?ADI",slot:"7",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"sequence", +line:"388",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"\n "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}largest",slot:"7"}]}]},{N:"str",val:" largest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"varRef", +line:"389",name:"Q{}largest",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"let",line:"396","var":"Q{}deepest",as:"?ADI",slot:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor",nodeTest:"NE"}]}]}]},{N:"valueOf",line:"388",C:[{N:"fn",name:"concat",C:[{N:"str",val:" "},{N:"fn",name:"string", +C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}deepest",slot:"8"}]}]},{N:"str",val:"\n deepest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",comp:"CAVC",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"axis",name:"descendant",nodeTest:"NE"},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor",nodeTest:"NE"}]}]}]},{N:"varRef",line:"389", +name:"Q{}deepest",slot:"8"}]}]}]}]}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"400",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"401",C:[{N:"str",role:"select",val:"Starting Normalization"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"403","var":"Q{}normalized", +slot:"9",C:[{N:"applyT",line:"404",mode:"Q{}normalize",bSlot:"4",C:[{N:"varRef",role:"select",name:"Q{}static-processed",slot:"3"},{N:"withParam",name:"Q{}allowSyntaxExtensions",flags:"t",as:"1",C:[{N:"first",line:"408",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"allowSyntaxExtensions"}]},{N:"false"}]}]}]}]},{N:"choose",line:"411",C:[{N:"lookup",line:"412",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justNormalize"}]},{N:"varRef",line:"413", +name:"Q{}normalized",slot:"9"},{N:"true"},{N:"sequence",line:"416",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"417",C:[{N:"str",role:"select",val:"Starting XSLT compiling"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"419",mode:"Q{}sef.top",flags:"t",bSlot:"5",C:[{N:"varRef",role:"select",name:"Q{}normalized",slot:"9"}]}]}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"1.0",seq:"375",rank:"0",minImp:"0",slots:"6",matches:"NE",flags:"s",line:"427",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE"},{N:"p.nodeTest",test:"ND"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"428",C:[{N:"param", +name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"429",name:"Q{}defaultHTML5",slot:"1",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5", +C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"431","var":"Q{}embedded",as:"*NE",slot:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform]"},{N:"let",line:"432","var":"Q{}stylesheet-base-uri",as:"1AU",slot:"3",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|stylesheet-base-uri",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"choose", +line:"434",C:[{N:"fn",line:"435",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}embedded",slot:"2"}]}]},{N:"ufCall",line:"438",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"6",C:[{N:"str",val:"XTSE0150"},{N:"str",val:"There must not be more than one embedded stylesheet in a document"},{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",line:"440",name:"exists",C:[{N:"varRef",name:"Q{}embedded",slot:"2"}]},{N:"let",line:"449","var":"Q{}temp",as:"1ND",slot:"4",C:[{N:"doc",line:"450", +C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",line:"442",simple:"1",C:[{N:"doc",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}embedded",slot:"2"},{N:"copy",line:"443",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"444",C:[{N:"att",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"copyOf",line:"445",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf", +line:"445",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]},{N:"axis",line:"450",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"first",line:"452",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"3"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]}]},{N:"slash",line:"456",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"true"},{N:"sequence", +line:"459",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"ufCall",line:"467",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"7",C:[{N:"str",val:"XTSE0150"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}package"}]},{N:"str",val:"Supplied stylesheet is a SEF package"},{N:"true"},{N:"str",val:"Simplified stylesheet root element lacks @xsl:version"}]}, +{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"481","var":"Q{}processed",as:"1ND",slot:"5",C:[{N:"treat",line:"482",as:"ND",diag:"3|0|XTTE0570|processed",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",line:"470",simple:"1",C:[{N:"doc",C:[{N:"elem",line:"471",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"att",line:"472",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"474",name:"xsl:template",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"match",flags:"l",C:[{N:"str",val:"/"}]},{N:"copy",line:"475",flags:"cinl",sit:"1NE", +C:[{N:"sequence",role:"content",line:"476",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"axis",line:"482",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"varRef",line:"484",name:"Q{}stylesheet-base-uri",slot:"3"}]}]}]}]},{N:"slash",line:"487",simple:"1",C:[{N:"varRef",name:"Q{}processed",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"297",binds:"", +C:[{N:"globalVariable",name:"Q{}XTTE0510",as:"1AQ",line:"342",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"}]}]},{N:"co",id:"143",binds:"1 179",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_STRING",as:"1AS",line:"60",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"60",name:"Q{MyTypes}unmarshalType", +tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_STRING",bSlot:"1"}]}]}]},{N:"co",id:"192",binds:"22 237 43 11 11",C:[{N:"mode",name:"Q{}serialization-property",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.25",seq:"204",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}*",flags:"s",line:"112",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"empty",role:"action"}]}, +{N:"templateRule",prec:"0",prio:"-0.5",seq:"205",rank:"0",minImp:"0",slots:"1",matches:"NA",flags:"s",line:"114",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"115",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check", +card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"117",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]}]}]},{N:"ufCall",line:"120",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE1560"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output declarations contain conflicting values for property "}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:":"}]},{N:"fn",name:"string-join",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]},{N:"str",val:","}]}]},{N:"first",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]}]},{N:"choose",line:"122",C:[{N:"and",line:"123",op:"and",C:[{N:"compareToString",op:"eq",val:"version",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",name:"not",C:[{N:"fn", +name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"125",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"and",line:"127",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"1"},{N:"fn",name:"local-name", +C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"129",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"fn",line:"131",name:"namespace-uri",C:[{N:"dot", +type:"1NA",flags:"a"}]},{N:"elem",line:"133",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"2",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"206",part:"1",rank:"2",minImp:"0",slots:"7",matches:"NA nQ{}suppress-indentation",flags:"s",line:"138",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}suppress-indentation"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"139",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat", +role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check",card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"140","var":"Q{}decl",as:"*N u[NE,ND]",slot:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"5",flags:"l",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:EQName",C:[{N:"fn",name:"namespace-uri-for-prefix", +C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"4"}]}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"6",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"4"}]},{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA", +flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}group",slot:"0"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"3",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"6"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"206",rank:"2",minImp:"0",slots:"7",matches:"NA nQ{}cdata-section-elements",flags:"s",line:"138",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}cdata-section-elements"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"139",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check",card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"140","var":"Q{}decl",as:"*N u[NE,ND]",slot:"1",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"2",flags:"l",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped", +to:"AS",diag:"0|3||f:EQName",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"1"}]}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"3",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"1"}]},{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name", +flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}group",slot:"0"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"4",C:[{N:"dot", +type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"2"}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"31",binds:"",C:[{N:"function",name:"Q{MyFunctions}selectAndContent",line:"22",module:"normalize4.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}instruction",as:"1NE"},{N:"and",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"24",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}instruction",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"exists",C:[{N:"slash",C:[{N:"varRef",name:"Q{}instruction",slot:"0"},{N:"sequence",C:[{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}fallback]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string", +C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"298",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.OVERLAPS",as:"1AS",line:"166",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"OV"}]}]},{N:"co",id:"299",binds:"52",C:[{N:"function",name:"Q{MyFunctions}diagnostic",line:"284",module:"lib.xsl",flags:"pU",as:"1NA",slots:"4",C:[{N:"arg",name:"Q{}kind",as:"*"},{N:"arg",name:"Q{}operand",as:"*"},{N:"arg",name:"Q{}error.code",as:"*"},{N:"arg",name:"Q{}operation",as:"*"}, +{N:"att",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"atomSing",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}kind",slot:"0"}]}]}]},{N:"fn", +name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}operand",slot:"1"}]}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"varRef",name:"Q{}error.code",slot:"2"}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"varRef",name:"Q{}operation",slot:"3"}]}]},{N:"str",val:"|"}]}]}]}]},{N:"co",id:"261",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg418646126",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:remove-attribute/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"300",binds:"",C:[{N:"function",name:"Q{MyTypes}isNumeric",line:"436",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg", +name:"Q{}alphaCode",as:"1AS"},{N:"or",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"438",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str", +val:"AF"}]}]}]}]},{N:"co",id:"266",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg271588719",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-attribute/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"273",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1081126121",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE1100"},{N:"str",val:"group-adjacent"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"129",binds:"125 129 132 1 69 7 129 129 129",C:[{N:"template",name:"Q{}process-variables",flags:"os",line:"654",module:"xpath.xsl",slots:"14", +C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"655",C:[{N:"param",name:"Q{}no.slots",slot:"0",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data", +diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"656",name:"Q{}local.variables",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"657",name:"Q{}parts",slot:"2",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|parts",C:[{N:"supplied", +slot:"2"}]}]},{N:"param",line:"658",name:"Q{}make.baseUri.explicit",slot:"3",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"data",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"659",name:"Q{}static-base-uri",slot:"4",flags:"t",C:[{N:"str", +role:"select",val:"dummy-base-uri"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"let",line:"660","var":"Q{}h",slot:"5",C:[{N:"applyT",line:"661",mode:"Q{}process-xpath",bSlot:"0",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]},{N:"let",line:"665","var":"Q{}make.baseUri.explicit",as:"1AB",slot:"6",C:[{N:"or",op:"or",C:[{N:"varRef",name:"Q{}make.baseUri.explicit",slot:"3"},{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef", +name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}baseUri"}]}]}]},{N:"choose",line:"666",C:[{N:"fn",line:"667",name:"empty",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"empty"},{N:"filter",line:"669",flags:"b",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}let"}]},{N:"fn",name:"exists",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}var"}]}]}]}]},{N:"let",line:"675","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1ADI",slot:"7",flags:"l",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"0"},{N:"int",val:"1"}]},{N:"let",line:"674","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*NE",slot:"8",flags:"l",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]},{N:"forEach",line:"670",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"let",line:"671","var":"Q{}rest", +as:"*NE",slot:"9",C:[{N:"treat",line:"673",as:"NE",diag:"3|0|XTTE0570|rest",C:[{N:"callT",name:"Q{}process-variables",bSlot:"1",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"varRef",line:"674",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"varRef",line:"675",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"7"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"678",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", +type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",line:"672",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}var"}]}]},{N:"sequence",C:[{N:"dot"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"attVal",name:"Q{}slot"}]}]},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"679",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"let",line:"682","var":"Q{}rest",as:"*NE",slot:"10",C:[{N:"choose",line:"683",C:[{N:"fn",line:"685",name:"empty",C:[{N:"varRef",name:"Q{}rest",slot:"9"}]},{N:"elem",line:"686",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE", +bSlot:"2"}]}]},{N:"true"},{N:"varRef",line:"689",name:"Q{}rest",slot:"9"}]},{N:"let",line:"694","var":"Q{}slot",as:"?NA",slot:"11",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]},{N:"let",line:"703","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"?AZ",slot:"12",flags:"l",C:[{N:"data",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}slot",slot:"11"}]},{N:"let",line:"699","var":"Q{}compound-type",slot:"13",C:[{N:"ufCall", +name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"4",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"5",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"sequence",line:"701",C:[{N:"choose",line:"703",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:varRef"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}slot"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"12"}]}]}]},{N:"copy",line:"704",flags:"in",sit:"1", +C:[{N:"sequence",role:"content",line:"705",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"707",name:"sType",flags:"l",C:[{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"707",name:"Q{}compound-type",slot:"13"},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"slash",line:"708",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"choose",line:"709",C:[{N:"compareToInt",line:"710",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"filter",line:"711",flags:"b", +C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]},{N:"true"},{N:"elem",line:"714",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}compound-type",slot:"13"}]},{N:"filter",line:"715",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]}]}]}, +{N:"compareToInt",line:"723",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"filter",line:"724",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]},{N:"true"},{N:"elem",line:"727",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType", +flags:"l",C:[{N:"varRef",name:"Q{}compound-type",slot:"13"}]},{N:"filter",line:"728",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]},{N:"filter",line:"696",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]}]}]}]}]}]}]},{N:"filter",line:"737",flags:"b",C:[{N:"varRef", +name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}]}]}]},{N:"sequence",line:"738",C:[{N:"copyOf",flags:"c",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"callT",line:"740",name:"Q{}process-variables",bSlot:"6",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"741",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]}, +{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"check",line:"743",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}, +{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]}]},{N:"int",val:"1"}]}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"746",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",C:[{N:"dot", +flags:"a"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}slot"}]}]},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"747",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"filter",line:"750",flags:"b", +C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}param"}]}]}]},{N:"sequence",line:"752",C:[{N:"copyOf",flags:"c",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"callT",line:"754",name:"Q{}process-variables",bSlot:"7",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"755",start:"2",C:[{N:"varRef",name:"Q{}parts", +slot:"2"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"758",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",line:"753",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"cast",flags:"ae",as:"?ADI", +C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]}]}]}]}]},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists", +C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"check",line:"759",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"check",card:"?",diag:"1|0||+",C:[{N:"slash", +C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]}]},{N:"int",val:"1"}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"760",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"true"},{N:"sequence",line:"764",C:[{N:"choose",C:[{N:"varRef",line:"765",name:"Q{}make.baseUri.explicit",slot:"6"},{N:"forEach",line:"766",C:[{N:"check",card:"?",diag:"4|0|XTTE3180|xsl:copy/select", +C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"copy",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"767",C:[{N:"copyOf",flags:"c",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]}]},{N:"att",line:"768",name:"baseUri", +flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}static-base-uri",slot:"4"}]}]}]},{N:"str",val:" "}]}]},{N:"copyOf",line:"769",flags:"c",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}, +{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"773",name:"Q{}h",slot:"5"}]},{N:"callT",line:"776",name:"Q{}process-variables",bSlot:"8",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"777",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"778",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]}]}]}]}]}]}]},{N:"co",id:"26",binds:"301",C:[{N:"globalVariable", +name:"Q{http://saxon.sf.net/generated-variable}gg1033972644",as:"*NE",line:"130",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"slash",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",simple:"1",C:[{N:"gVarRef",name:"Q{}type.hierarchy.tree",bSlot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"co",id:"173",binds:"",C:[{N:"function",name:"Q{MyFunctions}isInstance",line:"607",module:"type.xsl",flags:"pU",as:"1AB",slots:"2", +C:[{N:"arg",name:"Q{}a",as:"1"},{N:"arg",name:"Q{}type",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"611",C:[{N:"compareToString",line:"612",op:"eq",val:"AB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"613",of:"1AB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"616",op:"eq",val:"AS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", +line:"617",of:"1AS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"619",op:"eq",val:"ASN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"620",of:"1ASN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"622",op:"eq",val:"ASNT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"623",of:"1ASNT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"625",op:"eq",val:"ASNTL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", +line:"626",of:"1ASNTL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"628",op:"eq",val:"ASNTM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"629",of:"1ASNTK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"631",op:"eq",val:"ASNTN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"632",of:"1ASNTN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"634",op:"eq",val:"ASNTNC",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", +line:"635",of:"1ASNTNC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"637",op:"eq",val:"ASNTNCR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"638",of:"1ASNTNCR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"640",op:"eq",val:"ASNTNCE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"641",of:"1ASNTNCE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"643",op:"eq",val:"ASNTNCI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]}, +{N:"instance",line:"644",of:"1ASNTNCI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"647",op:"eq",val:"AQ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"648",of:"1AQ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"650",op:"eq",val:"AU",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"651",of:"1AU",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"653",op:"eq",val:"AA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", +line:"654",of:"1AA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"656",op:"eq",val:"AM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"657",of:"1AM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"659",op:"eq",val:"AMP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"660",of:"1AMP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"662",op:"eq",val:"AT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"663", +of:"1AT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"665",op:"eq",val:"AR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"666",of:"1AR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"668",op:"eq",val:"ARD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"669",of:"1ARD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"671",op:"eq",val:"ARY",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"672",of:"1ARY", +C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"674",op:"eq",val:"AG",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"675",of:"1AG",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"677",op:"eq",val:"AH",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"678",of:"1AH",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"680",op:"eq",val:"AI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"681",of:"1AI",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"683",op:"eq",val:"AJ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"684",of:"1AJ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"686",op:"eq",val:"AK",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"687",of:"1AK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"690",op:"eq",val:"AD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"691",of:"1AD",C:[{N:"varRef",name:"Q{}a", +slot:"0"}]},{N:"compareToString",line:"693",op:"eq",val:"ADI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"694",of:"1ADI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"696",op:"eq",val:"ADIN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"697",of:"1ADIN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"699",op:"eq",val:"ADINN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"700",of:"1ADINN",C:[{N:"varRef",name:"Q{}a", +slot:"0"}]},{N:"compareToString",line:"702",op:"eq",val:"ADIP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"703",of:"1ADIP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"705",op:"eq",val:"ADIPP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"706",of:"1ADIPP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"708",op:"eq",val:"ADIPL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"709",of:"1ADIPL",C:[{N:"varRef",name:"Q{}a", +slot:"0"}]},{N:"compareToString",line:"711",op:"eq",val:"ADIPLI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"712",of:"1ADIPLI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"714",op:"eq",val:"ADIPLIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"715",of:"1ADIPLIS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"717",op:"eq",val:"ADIPLISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"718",of:"1ADIPLISB",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"720",op:"eq",val:"ADIL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"721",of:"1ADIL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"723",op:"eq",val:"ADILI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"724",of:"1ADILI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"726",op:"eq",val:"ADILIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"727",of:"1ADILIS",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"729",op:"eq",val:"ADILISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"730",of:"1ADILISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"733",op:"eq",val:"AO",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"734",of:"1AO",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"736",op:"eq",val:"AF",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"737",of:"1AF",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"739",op:"eq",val:"A2",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"740",of:"1A2",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"742",op:"eq",val:"AX",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"743",of:"1AX",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"745",op:"eq",val:"AZ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"746",of:"1AZ",C:[{N:"varRef",name:"Q{}a", +slot:"0"}]},{N:"compareToString",line:"749",op:"eq",val:"N",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"750",of:"1N",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"752",op:"eq",val:"NE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"753",of:"1NE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"755",op:"eq",val:"NA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"756",of:"1NA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]}, +{N:"compareToString",line:"758",op:"eq",val:"NT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"759",of:"1NT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"761",op:"eq",val:"NC",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"762",of:"1NC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"764",op:"eq",val:"NP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"765",of:"1NP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"767",op:"eq",val:"ND",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"768",of:"1ND",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"770",op:"eq",val:"NN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"771",of:"1NN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"774",op:"eq",val:"F",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"775",of:"1F",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"777", +op:"eq",val:"FM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"778",of:"1FM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"780",op:"eq",val:"FA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"781",of:"1FA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"true"},{N:"true"}]}]}]},{N:"co",id:"65",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_ATOMIC",as:"1FM k[AS] v[1AS]",line:"15",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2", +C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"302",binds:"",C:[{N:"function",name:"Q{MyFunctions}path",line:"403",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"405",C:[{N:"fn",line:"406",name:"exists",C:[{N:"slash", +simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}loc"}]}]},{N:"convert",line:"406",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"instance",line:"407",of:"1NA",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}, +{N:"convert",line:"407",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/@"},{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}]}]}]}]},{N:"true"},{N:"convert",line:"408", +from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}]}]}]}]}]}]},{N:"co",id:"303",binds:"",C:[{N:"function",name:"Q{MyTypes}withCardinality",line:"317",module:"type.xsl",flags:"pU",as:"1FM",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}indicator",as:"1AS"},{N:"ifCall",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"o"},{N:"varRef",name:"Q{}indicator",slot:"1"}]},{N:"str",val:"code"}]}]}]},{N:"co",id:"304",binds:"48",C:[{N:"function",name:"Q{MyFunctions}recover-namespaces",line:"63",module:"namespaces.xsl",flags:"pU",as:"?FM",slots:"4",C:[{N:"arg",name:"Q{}context",as:"*"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"65","var":"Q{}ns",as:"?NA",slot:"1",C:[{N:"lastOf",C:[{N:"slash",simple:"2",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, +{N:"choose",line:"72",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"1"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespaces"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"varRef",name:"Q{}ns", +slot:"1"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"2",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"3",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"2"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"varRef",name:"Q{}prefix",slot:"2"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"3"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]}]}]}]},{N:"co",id:"195",binds:"38 164 126 48 124 15 164 48 126 212 15 164",C:[{N:"mode",name:"Q{}sef.global",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"3.6",seq:"365", +rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"360",rank:"8",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"356",rank:"7",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"352",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"82",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"349",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"75",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"345",rank:"5",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"341",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute", +nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03", +seq:"337",rank:"3",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"333",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"382",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1607",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate", +role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1607",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1608",flags:"t",C:[{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"1610",op:"lt",comp:"CAVC",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"dec",val:"2"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"384",rank:"0",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1616",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate", +role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1616",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1617",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"1619","var":"Q{}has-uniform-static-context", +as:"1AB",slot:"3",C:[{N:"ufCall",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"elem",line:"1620",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context", +slot:"3"}]}]},{N:"elem",line:"1622",name:"globalParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef", +name:"Q{}SJ.ANY_SEQUENCE",bSlot:"2"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose", +line:"1623",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1624",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"choose",line:"1626",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]},{N:"str",val:"true"}]},{N:"att", +line:"1627",name:"flags",flags:"l",C:[{N:"str",val:"r"}]}]},{N:"choose",line:"1629",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}implicit-mandatory"}]},{N:"str",val:"true"}]},{N:"att",line:"1630",name:"flags",flags:"l",C:[{N:"str",val:"i"}]}]},{N:"att",line:"1632",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}, +{N:"axis",line:"1633",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"1634",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1", +C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"3"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1635",mode:"Q{}param.type",bSlot:"4",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"applyT",line:"1637",mode:"Q{}select.or.sequence",bSlot:"5",C:[{N:"dot", +role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"varRef",line:"1639",name:"Q{}has-uniform-static-context",slot:"3"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"385",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"1682",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}, +{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1682",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1683",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"1688",name:"co", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"ufCall",line:"1685",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]},{N:"elem",line:"1691",name:"globalVariable",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1", +C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"7"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}, +{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"8"},{N:"true"},{N:"gVarRef",name:"Q{}SJ.OPTIONAL_DOCUMENT",bSlot:"9"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"choose",line:"1692",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1693",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"axis",line:"1695",name:"attribute", +nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"axis",line:"1695",name:"attribute",nodeTest:"NA nQ{}as"},{N:"applyT",line:"1697",mode:"Q{}select.or.sequence",bSlot:"10",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"1698",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1700",name:"Q{MyFunctions}has-uniform-static-context", +tailCall:"false",bSlot:"11",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"305",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SUBSUMED_BY",as:"1AS",line:"164",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"LT"}]}]},{N:"co",id:"255",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}COLON",as:"1ADI",line:"19",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"58"}]}]},{N:"co",id:"58", +binds:"",C:[{N:"function",name:"Q{MyTypes}cardinalityRelationship",line:"69",module:"type.xsl",flags:"pU",as:"*",slots:"4",C:[{N:"arg",name:"Q{}required",as:"1AS"},{N:"arg",name:"Q{}supplied",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"72",C:[{N:"vc",line:"73",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"varRef",name:"Q{}supplied", +slot:"1"}]},{N:"str",val:"EQ"},{N:"compareToString",line:"76",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"GT"},{N:"true"},{N:"let",line:"80","var":"Q{}R",slot:"2",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"80",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"80",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"80",name:"Q{}required", +slot:"0"}]},{N:"str",val:"1"},{N:"compareToString",line:"80",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"80",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"let",line:"81","var":"Q{}S",slot:"3",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"81",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"81",op:"eq", +val:"+",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"81",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"1"},{N:"compareToString",line:"81",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"81",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"choose",line:"91",C:[{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}R",slot:"2"}, +{N:"varRef",name:"Q{}S",slot:"3"}]},{N:"str",val:"GT"},{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}S",slot:"3"},{N:"varRef",name:"Q{}R",slot:"2"}]},{N:"str",val:"LT"},{N:"true"},{N:"str",val:"OV"}]}]}]}]}]}]},{N:"co",id:"134",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg638404853",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE1020"},{N:"str",val:"sort"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"138",binds:"138",C:[{N:"function",name:"Q{MyFunctions}requiresNodeTest",line:"1180",module:"xpath.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg", +name:"Q{}node",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1191",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}axis,NE nQ{http://ns.saxonica.com/xslt/export}root]"}]}]},{N:"true"}, +{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}slash"}]}]},{N:"ufCall",name:"Q{MyFunctions}requiresNodeTest",tailCall:"self",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:requiresNodeTest",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"false"}]}]}]}]},{N:"co",id:"272",binds:"1 97",C:[{N:"globalVariable",name:"Q{}SJ.MULIPLE_ATTRIBUTE", +as:"1AS",line:"57",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"57",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_ATTRIBUTE",bSlot:"1"}]}]}]},{N:"co",id:"139",binds:"1 88",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_MAP",as:"1AS",line:"62",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"62",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_MAP",bSlot:"1"}]}]}]},{N:"co",id:"306",binds:"",C:[{N:"function",name:"Q{MyFunctions}is-last",line:"257",module:"lib.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}context",as:"*"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"259", +name:"empty",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"axis",name:"following-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}fallback,NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]}]}]}]}]},{N:"co",id:"117",binds:"301",C:[{N:"globalVariable",name:"Q{}types",as:"1FM k[AS] v[1FM]",line:"415",module:"type.xsl",slots:"6", +visibility:"PRIVATE",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"417",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"gVarRef",name:"Q{}type.hierarchy.tree",bSlot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"let",line:"418","var":"Q{}isAtomic",as:"1AB",slot:"2",C:[{N:"fn",name:"starts-with", +C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:"xs:"}]},{N:"let",line:"419","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"3",flags:"l",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isAtomic",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"filter",flags:"ib",C:[{N:"str",val:"()"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"3"}]}]},{N:"ifCall",line:"425",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"supertypes"},{N:"slash",C:[{N:"fn",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE"},{N:"axis",name:"ancestor",nodeTest:"NE"}]}]},{N:"let","var":"Q{}n",slot:"4",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1", +as:"1AB",slot:"5",flags:"l",C:[{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}n",slot:"4"},{N:"str",val:"xs:"}]}]},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}n",slot:"4"},{N:"filter",flags:"ib",C:[{N:"str",val:"()"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]}]}]}]}]},{N:"ifCall",line:"426",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"isPlain"},{N:"varRef",name:"Q{}isAtomic",slot:"2"}]}]},{N:"map", +size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"empty-sequence()"},{N:"map",size:"1",C:[{N:"str",val:"isPlain"},{N:"false"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"307",binds:"307",C:[{N:"function",name:"Q{MyFunctions}closure2",line:"631",module:"XSLT-SEF-compiler.xsl", +flags:"pU",as:"*",slots:"6",C:[{N:"arg",name:"Q{}current",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"arg",name:"Q{}found",as:"*AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"639","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"3",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}found", +slot:"2"},{N:"str",val:", "}]},{N:"let",line:"635","var":"Q{}next",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"varRef",name:"Q{}current",slot:"0"}]},{N:"sequence",line:"636",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}next",slot:"4"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"varRef", +name:"Q{}found",slot:"2"}]}]},{N:"fn",line:"639",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1600"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Circular definition of character map "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot"}]}]},{N:"str",val:" via character maps "}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]},{N:"choose",line:"647",C:[{N:"fn",name:"exists",C:[{N:"varRef", +name:"Q{}next",slot:"4"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"*AS",slot:"5",flags:"l",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}found",slot:"2"},{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|2||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:closure2",C:[{N:"data",diag:"0|2||f:closure2",C:[{N:"varRef",name:"Q{}next",slot:"4"}]}]}]}]},{N:"forEach",C:[{N:"varRef",name:"Q{}next",slot:"4"},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"0",C:[{N:"check", +card:"1",diag:"0|0||f:closure2",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"data",diag:"0|0||f:closure2",C:[{N:"dot"}]}]}]}]},{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}found",slot:"2"}]}]}]}]}]}]},{N:"co",id:"193",binds:"307",C:[{N:"function",name:"Q{MyFunctions}closure2",line:"625",module:"XSLT-SEF-compiler.xsl", +flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}current",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"628",C:[{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}current",slot:"0"},{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"empty"}]}]}]}]}, +{N:"co",id:"308",binds:"102",C:[{N:"globalVariable",name:"Q{}declaration-names",as:"*AS",line:"289",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"289",C:[{N:"gVarRef",name:"Q{}top-level-declarations",bSlot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"co",id:"309",binds:"48",C:[{N:"function",name:"Q{MyFunctions}encode-namespaces", +line:"44",module:"namespaces.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"46",C:[{N:"fn",line:"47",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48", +card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", +val:" "}]}]}]}]},{N:"co",id:"172",binds:"38",C:[{N:"function",name:"Q{MyFunctions}boolean-string",line:"50",module:"lib.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}input",as:"?NA"},{N:"arg",name:"Q{}default",as:"1AB"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"59",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef", +name:"Q{}input",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"foreign",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]},{N:"true"},{N:"varRef",name:"Q{}default",slot:"1"}]}]}]}]},{N:"co",id:"258",binds:"22",C:[{N:"function",name:"Q{MyFunctions}check-iterate",line:"138",module:"repetition.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}instruction",as:"*"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"140",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"ufCall",line:"141",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/", +C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1N"}]}]}]},{N:"str",val:" can only be the descendant of xsl:iterate"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]}]}]}]}]}]}]},{N:"co",id:"38",binds:"22",C:[{N:"function",name:"Q{MyFunctions}boolean-string",line:"36",module:"lib.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}input",as:"1NA"},{N:"choose", +role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"1"},{N:"str",val:"yes"},{N:"str",val:"true"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", +diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"true"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"no"},{N:"str",val:"false"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"false"},{N:"true"}, +{N:"treat",as:"AB",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"cvUntyped",to:"AB",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"data",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]},{N:"str",val:"' is not a valid boolean keyword"}]}, +{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]}]}]}]},{N:"co",id:"21",binds:"22 22",C:[{N:"template",name:"Q{}process-decimal-format",flags:"os",as:"*NA",line:"73",module:"decimal-format.xsl",slots:"0",C:[{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"76",C:[{N:"filter",flags:"b",C:[{N:"except",op:"except",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{http://ns.saxonica.com/xslt/export}*,NA nQ{}name]"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:":"},{N:"str",val:""}]}]}]},{N:"compAtt",line:"89",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"fn",role:"select", +name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"infinity"},{N:"str",val:"NaN"}]},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"data",C:[{N:"dot",type:"1NA"}]},{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"string-length",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-length",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-length",C:[{N:"data",diag:"0|0||fn:string-length", +C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Value must be a single character - value supplied is '"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:"'"}]},{N:"dot",type:"1NA"}]}]}]},{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"zero-digit",C:[{N:"fn",name:"local-name", +C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"str",val:"0\u0660\u06f0\u0966\u09e6\u0a66\u0ae6\u0b66\u0be6\u0c66\u0ce6\u0d66\u0e50\u0ed0\u0f20\u1040\u17e0\u1810\u1946\u19d0\uff10\ud801\udca0\ud835\udfce\ud835\udfd8\ud835\udfe2\ud835\udfec\ud835\udff6"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|1||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:contains",C:[{N:"data",diag:"0|1||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"data",C:[{N:"mergeAdj", +C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE1295"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:decimal-format/@zero-digit must be a digit character with value zero - value supplied is codepoint '"},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints", +C:[{N:"data",diag:"0|0||fn:string-to-codepoints",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"str",val:"'"}]},{N:"dot",type:"1NA"}]}]}]},{N:"true"},{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"data",diag:"0|0||fn:string-to-codepoints",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"co",id:"238",binds:"228 156 157 1 69 7 156 157",C:[{N:"function", +name:"Q{MyFunctions}typeCheckLiteral",line:"1034",module:"type.xsl",flags:"pU",as:"*",slots:"8",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"forEach",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1039",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"copy",line:"1040",flags:"cin",sit:"1NE",C:[{N:"let",role:"content", +line:"1041","var":"Q{}parts",as:"*NE",slot:"3",C:[{N:"treat",line:"1042",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"ufCall",line:"1043",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"0",C:[{N:"dot",type:"1NE"},{N:"let","var":"Q{}inst",as:"1NE",slot:"4",C:[{N:"dot",type:"1NE"},{N:"let",line:"1011","var":"Q{}name",as:"1AS",slot:"5",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"4"}]},{N:"choose",line:"1014",C:[{N:"compareToString", +op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"ifCall",line:"1015",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"}, +{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"ifCall",line:"1022",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"fn",name:"normalize-space", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"4"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str", +val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"1"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"2"},{N:"varRef",name:"Q{}name",slot:"5"}]}]}]}]}]},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]}]}]},{N:"sequence",line:"1047", +C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"1053",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"4",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}parts",slot:"3"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"5",C:[{N:"check", +card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"true"},{N:"let","var":"Q{}inst",as:"1NE",slot:"6",C:[{N:"dot",type:"1NE"},{N:"let",line:"1011","var":"Q{}name",as:"1AS",slot:"7",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"6"}]},{N:"choose",line:"1014",C:[{N:"compareToString",op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"7"}]}, +{N:"ifCall",line:"1015",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, +{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"7"}]},{N:"ifCall",line:"1022",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"6"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"7"}]}, +{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"6"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"7"},{N:"varRef",name:"Q{}name",slot:"7"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"1054",name:"Q{}parts",slot:"3"}]}]}]}]}]}]},{N:"co",id:"310",binds:"1 112",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_URI",as:"1AS",line:"55",module:"sequenceType.xsl", +visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"55",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_URI",bSlot:"1"}]}]}]},{N:"co",id:"126",binds:"1 85",C:[{N:"globalVariable",name:"Q{}SJ.ANY_SEQUENCE",as:"1AS",line:"43",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"43",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"1"}]}]}]},{N:"co",id:"140",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg938941445",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join", +C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE3375"},{N:"str",val:"xsl:map"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"311",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ONE",as:"1ADI",line:"106",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co", +id:"312",binds:"233",C:[{N:"function",name:"Q{MyTypes}allowsMany",line:"123",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"*"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"125",card:"1",diag:"5|0|XTTE0780|t:allowsMany#1",C:[{N:"vc",op:"ge",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?", +diag:"1|0||ge",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"gVarRef",name:"Q{}StaticProperty.ALLOWS_MANY",bSlot:"0"}]}]}]}]},{N:"co",id:"313",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_DOUBLE",as:"1FM k[AS] v[1AS]",line:"17",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AO"}]}]}]},{N:"co",id:"39",binds:"",C:[{N:"function",name:"Q{MyFunctions}isTopLevel",line:"775",module:"normalize.xsl",flags:"pU", +as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"slash",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"777",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}, +{N:"co",id:"264",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg19873741",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", +C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-style/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"259",binds:"15 79 150",C:[{N:"template",name:"Q{}constructSimpleContent",flags:"os",as:"1NE",line:"299",module:"creating-new-nodes.xsl",slots:"3",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"300",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"322","var":"Q{}parts",as:"1",slot:"1",C:[{N:"check",line:"323",card:"1",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",mode:"Q{}select.or.sequence",bSlot:"0",C:[{N:"dot",role:"select",flags:"a"}]}]},{N:"elem",line:"326", +name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string-join"}]},{N:"lookup",line:"327",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"1"},{N:"str",val:"select"}]},{N:"let",line:"328","var":"Q{}content",as:"1NE",slot:"2",C:[{N:"elem",line:"329",name:"constructSimpleContent",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"330",name:"Q{}parts",slot:"1"}]},{N:"sequence",line:"333",C:[{N:"choose",C:[{N:"and", +line:"334",op:"and",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"backward-compatibility"}]},{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]}]}]},{N:"elem",line:"335",name:"first",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"336",name:"Q{}content",slot:"2"}]},{N:"true"},{N:"varRef",line:"340",name:"Q{}content",slot:"2"}]}, +{N:"choose",line:"343",C:[{N:"fn",line:"344",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}comment,NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction],NE nQ{http://www.w3.org/1999/XSL/Transform}namespace]"}]}]},{N:"elem",line:"345",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str", +val:" "}]}]},{N:"fn",line:"347",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}separator"}]}]}]},{N:"str",val:"{"}]}]}]},{N:"forEach",line:"348",C:[{N:"slash", +simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"callT",line:"349",name:"Q{}value-template",bSlot:"2"}]},{N:"fn",line:"352",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]}]},{N:"elem",line:"353",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}separator"}]}]}]}]},{N:"true"},{N:"elem",line:"356",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"choose",C:[{N:"fn",line:"325",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"str",val:" "}, +{N:"true"},{N:"str",val:""}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"233",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_MANY",as:"1ADI",line:"107",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"4"}]}]},{N:"co",id:"196",binds:"",C:[{N:"function",name:"Q{MyFunctions}timestamp",line:"22",module:"lib.xsl",flags:"pU",as:"1AMP",slots:"0",C:[{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"23",name:"Q{http://saxon.sf.net/}timestamp",type:"1AMP"}]}]},{N:"co",id:"41",binds:"38",C:[{N:"function",name:"Q{MyFunctions}normalize-boolean",line:"34",module:"normalize.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}input",as:"1"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"36",name:"string",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string", +tailCall:"false",bSlot:"0",C:[{N:"treat",as:"NA",diag:"0|0||f:boolean-string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"co",id:"265",binds:"95 22",C:[{N:"function",name:"Q{MyFunctions}check-tail-position",line:"273",module:"lib.xsl",flags:"pU",as:"0",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"281",C:[{N:"ufCall",name:"Q{MyFunctions}is-tail-position",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"empty"},{N:"true"},{N:"check",card:"0",diag:"5|0|XTTE0780|f:check-tail-position#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE3120"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must be in a tail position"}]}, +{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"42",binds:"36 37",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1396801698",as:"+AU",line:"21",module:"sorting.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"0"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation", +bSlot:"1"}]}]}]},{N:"co",id:"270",binds:"18",C:[{N:"template",name:"Q{}parameters",flags:"os",line:"1551",module:"XSLT-SEF-compiler.xsl",slots:"0",C:[{N:"applyT",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1552",mode:"Q{}sef",flags:"t",bSlot:"0",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]}, +{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]}]},{N:"co",id:"314",binds:"",C:[{N:"globalVariable",name:"Q{}global-variables-as-pairs",as:"*",line:"179",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"253",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}RBRACE",as:"1ADI",line:"18",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"125"}]}]},{N:"co",id:"315",binds:"",C:[{N:"globalVariable", +name:"Q{MyTypes}ZERO",as:"1ADI",line:"101",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"301",binds:"",C:[{N:"globalVariable",name:"Q{}type.hierarchy.tree",as:"1ND",line:"331",module:"type.xsl",visibility:"PRIVATE",C:[{N:"doc",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"332",C:[{N:"elem",name:"item",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p", +flags:"l",C:[{N:"str",val:""}]},{N:"elem",line:"333",name:"error",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:""}]}]},{N:"elem",line:"334",name:"function",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"F"}]},{N:"elem",line:"335",name:"map",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"FM"}]}]},{N:"elem",line:"336",name:"array",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"FA"}]}]}]}]},{N:"elem",line:"338", +name:"node",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"N"}]},{N:"elem",line:"339",name:"document-node",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ND"}]}]},{N:"elem",line:"340",name:"element",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NE"}]}]},{N:"elem",line:"341",name:"attribute",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NA"}]}]},{N:"elem",line:"342",name:"text",nsuri:"",flags:"l",C:[{N:"att", +name:"p",flags:"l",C:[{N:"str",val:"NT"}]}]},{N:"elem",line:"343",name:"comment",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NC"}]}]},{N:"elem",line:"344",name:"processing-instruction",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NP"}]}]},{N:"elem",line:"345",name:"namespace-node",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NN"}]}]}]}]},{N:"elem",line:"347",name:"xs:anyAtomicType",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l", +C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"A"}]},{N:"elem",line:"348",name:"xs:boolean",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AB"}]}]},{N:"elem",line:"349",name:"xs:string",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AS"}]},{N:"elem",line:"350",name:"xs:normalizedString",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att", +name:"p",flags:"l",C:[{N:"str",val:"ASN"}]},{N:"elem",line:"351",name:"xs:token",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNT"}]},{N:"elem",line:"352",name:"xs:NMTOKEN",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTK"}]}]},{N:"elem",line:"353",name:"xs:Name",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", +val:"ASNTN"}]},{N:"elem",line:"354",name:"xs:NCName",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNC"}]},{N:"elem",line:"355",name:"xs:ID",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCI"}]}]},{N:"elem",line:"356",name:"xs:IDREF",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCR"}]}]},{N:"elem",line:"357",name:"xs:ENTITY", +nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCE"}]}]}]}]}]}]},{N:"elem",line:"360",name:"xs:language",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTL"}]}]}]}]}]}]}]}]},{N:"elem",line:"364",name:"xs:QName",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AQ"}]}]},{N:"elem",line:"365",name:"xs:anyURI",nsuri:"http://www.w3.org/2001/XMLSchema", +flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AU"}]}]},{N:"elem",line:"366",name:"xs:date",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AA"}]}]},{N:"elem",line:"367",name:"xs:dateTime",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AM"}]},{N:"elem",line:"368",name:"xs:dateTimeStamp",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l", +C:[{N:"str",val:"AMP"}]}]}]}]},{N:"elem",line:"370",name:"xs:time",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AT"}]}]},{N:"elem",line:"371",name:"xs:duration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AR"}]},{N:"elem",line:"372",name:"xs:dayTimeDuration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ARD"}]}]},{N:"elem", +line:"373",name:"xs:yearMonthDuration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ARY"}]}]}]}]},{N:"elem",line:"375",name:"xs:gYear",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AG"}]}]},{N:"elem",line:"376",name:"xs:gYearMonth",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AH"}]}]},{N:"elem",line:"377",name:"xs:gMonth",nsuri:"http://www.w3.org/2001/XMLSchema", +flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AI"}]}]},{N:"elem",line:"378",name:"xs:gMonthDay",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AJ"}]}]},{N:"elem",line:"379",name:"xs:gDay",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AK"}]}]},{N:"elem",line:"380",name:"xs:numeric",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", +val:"AD|AO|AF"}]},{N:"elem",line:"381",name:"xs:decimal",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AD"}]},{N:"elem",line:"382",name:"xs:integer",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADI"}]},{N:"elem",line:"383",name:"xs:nonPositiveInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", +val:"ADIN"}]},{N:"elem",line:"384",name:"xs:negativeInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADINN"}]}]}]}]},{N:"elem",line:"386",name:"xs:nonNegativeInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIP"}]},{N:"elem",line:"387",name:"xs:positiveInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPP"}]}]}, +{N:"elem",line:"388",name:"xs:unsignedLong",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPL"}]},{N:"elem",line:"389",name:"xs:unsignedInt",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLI"}]},{N:"elem",line:"390",name:"xs:unsignedShort",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLIS"}]}, +{N:"elem",line:"391",name:"xs:unsignedByte",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLISB"}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"396",name:"xs:long",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIL"}]},{N:"elem",line:"397",name:"xs:int",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILI"}]},{N:"elem", +line:"398",name:"xs:short",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILIS"}]},{N:"elem",line:"399",name:"xs:byte",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILISB"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"405",name:"xs:double",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AO"}]}]},{N:"elem",line:"406",name:"xs:float", +nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AF"}]}]}]}]},{N:"elem",line:"408",name:"xs:base64Binary",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"A2"}]}]},{N:"elem",line:"409",name:"xs:hexBinary",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AX"}]}]},{N:"elem",line:"410",name:"xs:NOTATION",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l", +C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AN"}]}]},{N:"elem",line:"411",name:"xs:untypedAtomic",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]},{N:"co",id:"316",binds:"16",C:[{N:"template",name:"Q{}nest-sorts",flags:"os",line:"15",module:"repetition.xsl",slots:"1",C:[{N:"iterate",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"17",C:[{N:"fn",role:"select",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]},{N:"params",role:"params",line:"19",C:[{N:"param",name:"Q{}inner",slot:"0",C:[{N:"doc",role:"select",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"0",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}select"}]}]}]},{N:"supplied",role:"conversion",line:"18",slot:"0"}]}]},{N:"varRef",role:"on-completion",line:"21",name:"Q{}inner",slot:"0"},{N:"nextIteration",role:"action",line:"22",C:[{N:"withParam",name:"Q{}inner",as:"1ND",slot:"0",C:[{N:"doc",line:"24",C:[{N:"elem",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"25",C:[{N:"varRef",name:"Q{}inner",slot:"0"},{N:"applyT",line:"26",flags:"c",bSlot:"-1",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]}]}]}]}]}, +{N:"co",id:"268",binds:"",C:[{N:"globalVariable",name:"Q{}on-no-match",as:"1FM k[AS] v[1AS]",line:"27",module:"rules.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"6",C:[{N:"str",val:"deep-skip"},{N:"str",val:"DS"},{N:"str",val:"shallow-copy"},{N:"str",val:"SC"},{N:"str",val:"text-only-copy"},{N:"str",val:"TC"},{N:"str",val:"deep-copy"},{N:"str",val:"DC"},{N:"str",val:"shallow-skip"},{N:"str",val:"SS"},{N:"str",val:"fail"},{N:"str",val:"FF"}]}]}]},{N:"co",id:"317",binds:"",C:[{N:"globalVariable", +name:"Q{}bind-with-accumulators",as:"1AB",line:"22",module:"component-bindings.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"true"}]}]},{N:"co",id:"260",binds:"1 184",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ELEMENT",as:"1AS",line:"50",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ELEMENT", +bSlot:"1"}]}]}]},{N:"co",id:"157",binds:"285 313 109 5 73 156 156",C:[{N:"globalVariable",name:"Q{}literalTypes",as:"1FM k[AS] v[1FM]",line:"1007",module:"type.xsl",visibility:"PRIVATE",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1007",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"dec"},{N:"gVarRef",name:"Q{}ST.SINGLE_DECIMAL",bSlot:"0"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"dbl"},{N:"gVarRef",name:"Q{}ST.SINGLE_DOUBLE",bSlot:"1"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"int"},{N:"gVarRef",name:"Q{}ST.SINGLE_INTEGER",bSlot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"flt"}, +{N:"gVarRef",name:"Q{}ST.SINGLE_FLOAT",bSlot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"str"},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"true"},{N:"gVarRef",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"false"},{N:"gVarRef",name:"Q{}ST.SINGLE_BOOLEAN", +bSlot:"6"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"co",id:"22",binds:"123",C:[{N:"function",name:"Q{MyFunctions}syntax-error-at",line:"384",module:"lib.xsl",flags:"pU",as:"*",slots:"3",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"arg",name:"Q{}node",as:"1N"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"388",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"388",name:"Q{}code",slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}node",slot:"2"}]}]}]}]},{N:"co",id:"33",binds:"40 3 75 203 224 209 22 204 308 204 204 204 204 22 22 203 34 34",C:[{N:"template",name:"Q{}check-syntax-primary",flags:"os",as:"*NE",line:"137",module:"XSLT-syntax.xsl", +slots:"8",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"138",C:[{N:"param",name:"Q{}forward-compatibility-mode",slot:"0",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode", +C:[{N:"data",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"let",line:"141","var":"Q{}context",as:"1",slot:"1",C:[{N:"dot",flags:"a"},{N:"let",line:"142","var":"Q{}schema",as:"?FM",slot:"2",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}xslt.schema",bSlot:"0"},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"dot",flags:"a"}]}]}]},{N:"choose",line:"144",C:[{N:"fn",line:"145", +name:"exists",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"let",line:"147","var":"Q{}provided",as:"*AS",slot:"3",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"let",line:"148","var":"Q{}missing-attributes",as:"*AS",slot:"4",C:[{N:"filter",flags:"b",C:[{N:"convert",line:"146",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|required.attributes", +C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|required.attributes",C:[{N:"data",diag:"3|0|XTTE0570|required.attributes",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"required.attributes"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}provided",slot:"3"},{N:"dot",type:"1AS"}]}]}]},{N:"let",line:"150","var":"Q{}pa.names",as:"*AS",slot:"5",C:[{N:"sequence",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|pa.names",C:[{N:"cvUntyped", +to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",line:"149",as:"FM",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"permitted.attributes"}]}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|pa.names",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"data", +diag:"3|0|XTTE0570|pa.names",C:[{N:"gVarRef",name:"Q{}standard.attributes",bSlot:"1"}]}]}]}]},{N:"sequence",line:"153",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}forward-compatibility-mode",slot:"0"}]},{N:"treat",line:"154",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"homCheck",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"normalize.xsl",line:"832",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"XSLT-syntax.xsl",line:"151",as:"NE",diag:"0|0||f:plainAtt",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc", +op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}pa.names",slot:"5"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongAttribute",tailCall:"false",bSlot:"2",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"let",line:"197","var":"Q{}permitted.children",as:"*A",slot:"6",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",as:"FM",diag:"0|0||map:keys",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema", +slot:"2"},{N:"str",val:"permitted.children"}]}]}]}]},{N:"sequence",line:"198",C:[{N:"choose",C:[{N:"choose",line:"190",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"check",card:"1",diag:"0|0||map:contains",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"str",val:"parents"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*A",slot:"7",flags:"l",C:[{N:"data",diag:"1|1||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str", +val:"parents"}]}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"local-name",C:[{N:"check",card:"?",diag:"0|0||fn:local-name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"7"},{N:"dot",type:"1AS"}]}]}]}]}]}, +{N:"true"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"dot",flags:"a"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]}]},{N:"choose",line:"206",C:[{N:"varRef",name:"Q{}forward-compatibility-mode", +slot:"0"},{N:"gVarRef",name:"Q{}XSL-ignore",bSlot:"3"},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}wrongParent",tailCall:"false",bSlot:"4",C:[{N:"treat",as:"NE",diag:"0|0||f:wrongParent",C:[{N:"varRef",name:"Q{}context",slot:"1"}]}]}]}]},{N:"varRef",line:"208",name:"Q{}missing-attributes",slot:"4"},{N:"treat",line:"209",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}missingAttribute",tailCall:"false", +bSlot:"5",C:[{N:"treat",as:"NE",diag:"0|0||f:missingAttribute",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"check",card:"1",diag:"0|1||f:missingAttribute",C:[{N:"first",C:[{N:"varRef",name:"Q{}missing-attributes",slot:"4"}]}]}]}]},{N:"gc",line:"211",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"sequence-constructor"}]},{N:"empty"},{N:"fn",line:"212",name:"empty",C:[{N:"varRef",name:"Q{}permitted.children", +slot:"6"}]},{N:"choose",line:"219",C:[{N:"fn",name:"has-children",C:[{N:"treat",as:"N",diag:"0|0||fn:has-children",C:[{N:"dot",flags:"a"}]}]},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"6",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" must be empty"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at", +C:[{N:"dot",flags:"a"}]}]}]}]},{N:"gc",line:"221",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"declarations"}]},{N:"sequence",line:"222",C:[{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean", +C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"7",C:[{N:"dot",type:"1NT"}]}]}]},{N:"choose",line:"228",C:[{N:"varRef",name:"Q{}forward-compatibility-mode",slot:"0"},{N:"empty"},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis", +name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}declaration-names",bSlot:"8"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"attVal",name:"Q{}version"}]}, +{N:"dec",val:"3"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"9",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]},{N:"treat",line:"229",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"ufCall", +name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"10",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"gc",line:"231",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"PCDATA"}]},{N:"treat",line:"232",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall", +name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"11",C:[{N:"dot",type:"1NE"}]}]}]},{N:"true"},{N:"treat",line:"236",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children", +slot:"6"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"12",C:[{N:"dot",type:"1N"}]}]}]}]},{N:"choose",line:"240",C:[{N:"and",op:"and",C:[{N:"and",op:"and", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"check",card:"1",diag:"0|0||map:contains",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"str",val:"selectAndContent"}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"except",op:"except",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}, +{N:"treat",line:"242",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:syntax-error-at",C:[{N:"data",diag:"0|0||f:syntax-error-at",C:[{N:"first",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"selectAndContent"}]},{N:"str", +val:"XTSE0840"}]}]}]}]}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" cannot have both @select and content"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]}]}]}]}]},{N:"fn",line:"246",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import-schema"}]}]}, +{N:"treat",line:"247",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE1650"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"The "},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]},{N:"str",val:" declaration cannot be handled by this XSLT compiler"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]},{N:"varRef",line:"249", +name:"Q{}forward-compatibility-mode",slot:"0"},{N:"choose",line:"259",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl",line:"777",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"XSLT-syntax.xsl",line:"259",as:"NE", +diag:"0|0||f:isTopLevel",C:[{N:"dot",flags:"a"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]},{N:"gVarRef",name:"Q{}XSL-ignore",bSlot:"15"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]}, +{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" is not a known XSLT element and has no xsl:fallback child"}]}, +{N:"treat",as:"N",diag:"0|1||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]},{N:"true"},{N:"treat",line:"262",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" is not a known XSLT element"}]},{N:"treat",as:"N",diag:"0|1||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]}]}]}]},{N:"co", +id:"34",binds:"22",C:[{N:"function",name:"Q{MyFunctions}syntax-error-at",line:"371",module:"lib.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}message",as:"1AS"},{N:"arg",name:"Q{}node",as:"1N"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"374",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0", +C:[{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{}message",slot:"0"},{N:"varRef",name:"Q{}node",slot:"1"}]}]}]}]},{N:"overridden"},{N:"accumulator",name:"Q{}coBinding",line:"0",as:"*AS",streamable:"0",slots:"0",binds:"176 176 176 176 176 176",C:[{N:"empty",role:"init"},{N:"pre",slots:"0",C:[{N:"accRule",slots:"8",rank:"0",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"}]},{N:"empty"}]}, +{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"187",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"3",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first", +C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"185",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"2",C:[{N:"supplied",slot:"0", +sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"V:"},{N:"attVal",name:"Q{}name"}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}callT"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"183",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"0",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn", +name:"concat",C:[{N:"str",val:"T:"},{N:"attVal",name:"Q{}name"}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"189",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"4",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"fn", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"191",name:"Q{coBindings}find-reference", +tailCall:"false",bSlot:"5",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}arity"}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"184",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"1",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"A:"},{N:"attVal",name:"Q{}name"}]}]}]}]},{N:"post",slots:"0",C:[{N:"accRule",slots:"8",rank:"0",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"}]},{N:"supplied",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"181",slot:"0",sType:"*AS"}]}]}]},{N:"accumulator",name:"Q{}number",line:"0",as:"*",streamable:"0",slots:"0",binds:"",C:[{N:"int",role:"init",val:"0"},{N:"pre",slots:"0",C:[{N:"accRule",slots:"1",rank:"0",C:[{N:"p.nodeTest",test:"NE"},{N:"arith",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"14",op:"+",calc:"a+a",C:[{N:"cvUntyped",to:"AO",C:[{N:"atomSing",card:"?", +diag:"1|0||+",C:[{N:"supplied",slot:"0",sType:"*"}]}]},{N:"int",val:"1"}]}]}]},{N:"post",slots:"0"}]},{N:"output",C:[{N:"property",name:"method",value:"xml"},{N:"property",name:"indent",value:"no"},{N:"property",name:"Q{http://saxon.sf.net/}stylesheet-version",value:"30"}]},{N:"decimalFormat"}],"\u03a3":"4869c939"},sa={IsBasicLatin:[["0000","007F"]],"IsLatin-1Supplement":[["0080","00FF"]],"IsLatinExtended-A":[["0100","017F"]],"IsLatinExtended-B":[["0180","024F"]],IsIPAExtensions:[["0250","02AF"]], +IsSpacingModifierLetters:[["02B0","02FF"]],IsCombiningDiacriticalMarks:[["0300","036F"]],IsGreek:[["0370","03FF"]],IsGreekandCoptic:[["0370","03FF"]],IsCyrillic:[["0400","04FF"]],IsCyrillicSupplementary:[["0500","052F"]],IsCyrillicSupplement:[["0500","052F"]],IsArmenian:[["0530","058F"]],IsHebrew:[["0590","05FF"]],IsArabic:[["0600","06FF"]],IsSyriac:[["0700","074F"]],IsArabicSupplement:[["0750","077F"]],IsThaana:[["0780","07BF"]],IsNKo:[["07C0","07FF"]],IsSamaritan:[["0800","083F"]],IsMandaic:[["0840", +"085F"]],IsDevanagari:[["0900","097F"]],IsBengali:[["0980","09FF"]],IsGurmukhi:[["0A00","0A7F"]],IsGujarati:[["0A80","0AFF"]],IsOriya:[["0B00","0B7F"]],IsTamil:[["0B80","0BFF"]],IsTelugu:[["0C00","0C7F"]],IsKannada:[["0C80","0CFF"]],IsMalayalam:[["0D00","0D7F"]],IsSinhala:[["0D80","0DFF"]],IsThai:[["0E00","0E7F"]],IsLao:[["0E80","0EFF"]],IsTibetan:[["0F00","0FFF"]],IsMyanmar:[["1000","109F"]],IsGeorgian:[["10A0","10FF"]],IsHangulJamo:[["1100","11FF"]],IsEthiopic:[["1200","137F"]],IsEthiopicSupplement:[["1380", +"139F"]],IsCherokee:[["13A0","13FF"]],IsUnifiedCanadianAboriginalSyllabics:[["1400","167F"]],IsOgham:[["1680","169F"]],IsRunic:[["16A0","16FF"]],IsTagalog:[["1700","171F"]],IsHanunoo:[["1720","173F"]],IsBuhid:[["1740","175F"]],IsTagbanwa:[["1760","177F"]],IsKhmer:[["1780","17FF"]],IsMongolian:[["1800","18AF"]],IsUnifiedCanadianAboriginalSyllabicsExtended:[["18B0","18FF"]],IsLimbu:[["1900","194F"]],IsTaiLe:[["1950","197F"]],IsNewTaiLue:[["1980","19DF"]],IsKhmerSymbols:[["19E0","19FF"]],IsBuginese:[["1A00", +"1A1F"]],IsTaiTham:[["1A20","1AAF"]],IsBalinese:[["1B00","1B7F"]],IsSundanese:[["1B80","1BBF"]],IsBatak:[["1BC0","1BFF"]],IsLepcha:[["1C00","1C4F"]],IsOlChiki:[["1C50","1C7F"]],IsVedicExtensions:[["1CD0","1CFF"]],IsPhoneticExtensions:[["1D00","1D7F"]],IsPhoneticExtensionsSupplement:[["1D80","1DBF"]],IsCombiningDiacriticalMarksSupplement:[["1DC0","1DFF"]],IsLatinExtendedAdditional:[["1E00","1EFF"]],IsGreekExtended:[["1F00","1FFF"]],IsGeneralPunctuation:[["2000","206F"]],IsSuperscriptsandSubscripts:[["2070", +"209F"]],IsCurrencySymbols:[["20A0","20CF"]],IsCombiningMarksforSymbols:[["20D0","20FF"]],IsCombiningDiacriticalMarksforSymbols:[["20D0","20FF"]],IsLetterlikeSymbols:[["2100","214F"]],IsNumberForms:[["2150","218F"]],IsArrows:[["2190","21FF"]],IsMathematicalOperators:[["2200","22FF"]],IsMiscellaneousTechnical:[["2300","23FF"]],IsControlPictures:[["2400","243F"]],IsOpticalCharacterRecognition:[["2440","245F"]],IsEnclosedAlphanumerics:[["2460","24FF"]],IsBoxDrawing:[["2500","257F"]],IsBlockElements:[["2580", +"259F"]],IsGeometricShapes:[["25A0","25FF"]],IsMiscellaneousSymbols:[["2600","26FF"]],IsDingbats:[["2700","27BF"]],"IsMiscellaneousMathematicalSymbols-A":[["27C0","27EF"]],"IsSupplementalArrows-A":[["27F0","27FF"]],IsBraillePatterns:[["2800","28FF"]],"IsSupplementalArrows-B":[["2900","297F"]],"IsMiscellaneousMathematicalSymbols-B":[["2980","29FF"]],IsSupplementalMathematicalOperators:[["2A00","2AFF"]],IsMiscellaneousSymbolsandArrows:[["2B00","2BFF"]],IsGlagolitic:[["2C00","2C5F"]],"IsLatinExtended-C":[["2C60", +"2C7F"]],IsCoptic:[["2C80","2CFF"]],IsGeorgianSupplement:[["2D00","2D2F"]],IsTifinagh:[["2D30","2D7F"]],IsEthiopicExtended:[["2D80","2DDF"]],"IsCyrillicExtended-A":[["2DE0","2DFF"]],IsSupplementalPunctuation:[["2E00","2E7F"]],IsCJKRadicalsSupplement:[["2E80","2EFF"]],IsKangxiRadicals:[["2F00","2FDF"]],IsIdeographicDescriptionCharacters:[["2FF0","2FFF"]],IsCJKSymbolsandPunctuation:[["3000","303F"]],IsHiragana:[["3040","309F"]],IsKatakana:[["30A0","30FF"]],IsBopomofo:[["3100","312F"]],IsHangulCompatibilityJamo:[["3130", +"318F"]],IsKanbun:[["3190","319F"]],IsBopomofoExtended:[["31A0","31BF"]],IsCJKStrokes:[["31C0","31EF"]],IsKatakanaPhoneticExtensions:[["31F0","31FF"]],IsEnclosedCJKLettersandMonths:[["3200","32FF"]],IsCJKCompatibility:[["3300","33FF"]],IsCJKUnifiedIdeographsExtensionA:[["3400","4DBF"]],IsYijingHexagramSymbols:[["4DC0","4DFF"]],IsCJKUnifiedIdeographs:[["4E00","9FFF"]],IsYiSyllables:[["A000","A48F"]],IsYiRadicals:[["A490","A4CF"]],IsLisu:[["A4D0","A4FF"]],IsVai:[["A500","A63F"]],"IsCyrillicExtended-B":[["A640", +"A69F"]],IsBamum:[["A6A0","A6FF"]],IsModifierToneLetters:[["A700","A71F"]],"IsLatinExtended-D":[["A720","A7FF"]],IsSylotiNagri:[["A800","A82F"]],IsCommonIndicNumberForms:[["A830","A83F"]],"IsPhags-pa":[["A840","A87F"]],IsSaurashtra:[["A880","A8DF"]],IsDevanagariExtended:[["A8E0","A8FF"]],IsKayahLi:[["A900","A92F"]],IsRejang:[["A930","A95F"]],"IsHangulJamoExtended-A":[["A960","A97F"]],IsJavanese:[["A980","A9DF"]],IsCham:[["AA00","AA5F"]],"IsMyanmarExtended-A":[["AA60","AA7F"]],IsTaiViet:[["AA80","AADF"]], +"IsEthiopicExtended-A":[["AB00","AB2F"]],IsMeeteiMayek:[["ABC0","ABFF"]],IsHangulSyllables:[["AC00","D7AF"]],"IsHangulJamoExtended-B":[["D7B0","D7FF"]],IsHighSurrogates:[["D800","DB7F"]],IsHighPrivateUseSurrogates:[["DB80","DBFF"]],IsLowSurrogates:[["DC00","DFFF"]],IsPrivateUse:[["E000","F8FF"],["F0000","FFFFD"],["100000","10FFFD"]],IsPrivateUseArea:[["E000","F8FF"]],IsCJKCompatibilityIdeographs:[["F900","FAFF"]],IsAlphabeticPresentationForms:[["FB00","FB4F"]],"IsArabicPresentationForms-A":[["FB50", +"FDFF"]],IsVariationSelectors:[["FE00","FE0F"]],IsVerticalForms:[["FE10","FE1F"]],IsCombiningHalfMarks:[["FE20","FE2F"]],IsCJKCompatibilityForms:[["FE30","FE4F"]],IsSmallFormVariants:[["FE50","FE6F"]],"IsArabicPresentationForms-B":[["FE70","FEFF"]],IsHalfwidthandFullwidthForms:[["FF00","FFEF"]],IsSpecials:[["FEFF","FEFF"],["FFF0","FFFF"]],IsLinearBSyllabary:[["10000","1007F"]],IsLinearBIdeograms:[["10080","100FF"]],IsAegeanNumbers:[["10100","1013F"]],IsAncientGreekNumbers:[["10140","1018F"]],IsAncientSymbols:[["10190", +"101CF"]],IsPhaistosDisc:[["101D0","101FF"]],IsLycian:[["10280","1029F"]],IsCarian:[["102A0","102DF"]],IsOldItalic:[["10300","1032F"]],IsGothic:[["10330","1034F"]],IsUgaritic:[["10380","1039F"]],IsOldPersian:[["103A0","103DF"]],IsDeseret:[["10400","1044F"]],IsShavian:[["10450","1047F"]],IsOsmanya:[["10480","104AF"]],IsCypriotSyllabary:[["10800","1083F"]],IsImperialAramaic:[["10840","1085F"]],IsPhoenician:[["10900","1091F"]],IsLydian:[["10920","1093F"]],IsKharoshthi:[["10A00","10A5F"]],IsOldSouthArabian:[["10A60", +"10A7F"]],IsAvestan:[["10B00","10B3F"]],IsInscriptionalParthian:[["10B40","10B5F"]],IsInscriptionalPahlavi:[["10B60","10B7F"]],IsOldTurkic:[["10C00","10C4F"]],IsRumiNumeralSymbols:[["10E60","10E7F"]],IsBrahmi:[["11000","1107F"]],IsKaithi:[["11080","110CF"]],IsCuneiform:[["12000","123FF"]],IsCuneiformNumbersandPunctuation:[["12400","1247F"]],IsEgyptianHieroglyphs:[["13000","1342F"]],IsBamumSupplement:[["16800","16A3F"]],IsKanaSupplement:[["1B000","1B0FF"]],IsByzantineMusicalSymbols:[["1D000","1D0FF"]], +IsMusicalSymbols:[["1D100","1D1FF"]],IsAncientGreekMusicalNotation:[["1D200","1D24F"]],IsTaiXuanJingSymbols:[["1D300","1D35F"]],IsCountingRodNumerals:[["1D360","1D37F"]],IsMathematicalAlphanumericSymbols:[["1D400","1D7FF"]],IsMahjongTiles:[["1F000","1F02F"]],IsDominoTiles:[["1F030","1F09F"]],IsPlayingCards:[["1F0A0","1F0FF"]],IsEnclosedAlphanumericSupplement:[["1F100","1F1FF"]],IsEnclosedIdeographicSupplement:[["1F200","1F2FF"]],IsMiscellaneousSymbolsAndPictographs:[["1F300","1F5FF"]],IsEmoticons:[["1F600", +"1F64F"]],IsTransportAndMapSymbols:[["1F680","1F6FF"]],IsAlchemicalSymbols:[["1F700","1F77F"]],IsCJKUnifiedIdeographsExtensionB:[["20000","2A6DF"]],IsCJKUnifiedIdeographsExtensionC:[["2A700","2B73F"]],IsCJKUnifiedIdeographsExtensionD:[["2B740","2B81F"]],IsCJKCompatibilityIdeographsSupplement:[["2F800","2FA1F"]],IsTags:[["E0000","E007F"]],IsVariationSelectorsSupplement:[["E0100","E01EF"]],"IsSupplementaryPrivateUseArea-A":[["F0000","FFFFF"]],"IsSupplementaryPrivateUseArea-B":[["100000","10FFFF"]], +C:"Cc|Cf|Cn|Co",Cc:[["0","1F"],["7F","9F"]],Cf:[["AD","AD"],["600","604"],["6DD","6DD"],["70F","70F"],["200B","200F"],["202A","202E"],["2060","2064"],["206A","206F"],["FEFF","FEFF"],["FFF9","FFFB"],["110BD","110BD"],["1D173","1D17A"],["E0001","E0001"],["E0020","E007F"]],Cn:[["378","379"],["37F","383"],["38B","38B"],["38D","38D"],["3A2","3A2"],["528","52F"],["530","530"],["557","558"],["560","560"],["588","588"],["58B","58E"],["590","590"],["5C8","5CF"],["5EB","5EF"],["5F5","5FF"],["605","605"],["61C", +"61D"],["70E","70E"],["74B","74C"],["7B2","7BF"],["7FB","7FF"],["82E","82F"],["83F","83F"],["85C","85D"],["85F","85F"],["860","89F"],["8A1","8A1"],["8AD","8E3"],["8FF","8FF"],["978","978"],["980","980"],["984","984"],["98D","98E"],["991","992"],["9A9","9A9"],["9B1","9B1"],["9B3","9B5"],["9BA","9BB"],["9C5","9C6"],["9C9","9CA"],["9CF","9D6"],["9D8","9DB"],["9DE","9DE"],["9E4","9E5"],["9FC","9FF"],["A00","A00"],["A04","A04"],["A0B","A0E"],["A11","A12"],["A29","A29"],["A31","A31"],["A34","A34"],["A37", +"A37"],["A3A","A3B"],["A3D","A3D"],["A43","A46"],["A49","A4A"],["A4E","A50"],["A52","A58"],["A5D","A5D"],["A5F","A65"],["A76","A7F"],["A80","A80"],["A84","A84"],["A8E","A8E"],["A92","A92"],["AA9","AA9"],["AB1","AB1"],["AB4","AB4"],["ABA","ABB"],["AC6","AC6"],["ACA","ACA"],["ACE","ACF"],["AD1","ADF"],["AE4","AE5"],["AF2","AFF"],["B00","B00"],["B04","B04"],["B0D","B0E"],["B11","B12"],["B29","B29"],["B31","B31"],["B34","B34"],["B3A","B3B"],["B45","B46"],["B49","B4A"],["B4E","B55"],["B58","B5B"],["B5E", +"B5E"],["B64","B65"],["B78","B7F"],["B80","B81"],["B84","B84"],["B8B","B8D"],["B91","B91"],["B96","B98"],["B9B","B9B"],["B9D","B9D"],["BA0","BA2"],["BA5","BA7"],["BAB","BAD"],["BBA","BBD"],["BC3","BC5"],["BC9","BC9"],["BCE","BCF"],["BD1","BD6"],["BD8","BE5"],["BFB","BFF"],["C00","C00"],["C04","C04"],["C0D","C0D"],["C11","C11"],["C29","C29"],["C34","C34"],["C3A","C3C"],["C45","C45"],["C49","C49"],["C4E","C54"],["C57","C57"],["C5A","C5F"],["C64","C65"],["C70","C77"],["C80","C81"],["C84","C84"],["C8D", +"C8D"],["C91","C91"],["CA9","CA9"],["CB4","CB4"],["CBA","CBB"],["CC5","CC5"],["CC9","CC9"],["CCE","CD4"],["CD7","CDD"],["CDF","CDF"],["CE4","CE5"],["CF0","CF0"],["CF3","CFF"],["D00","D01"],["D04","D04"],["D0D","D0D"],["D11","D11"],["D3B","D3C"],["D45","D45"],["D49","D49"],["D4F","D56"],["D58","D5F"],["D64","D65"],["D76","D78"],["D80","D81"],["D84","D84"],["D97","D99"],["DB2","DB2"],["DBC","DBC"],["DBE","DBF"],["DC7","DC9"],["DCB","DCE"],["DD5","DD5"],["DD7","DD7"],["DE0","DF1"],["DF5","DFF"],["E00", +"E00"],["E3B","E3E"],["E5C","E7F"],["E80","E80"],["E83","E83"],["E85","E86"],["E89","E89"],["E8B","E8C"],["E8E","E93"],["E98","E98"],["EA0","EA0"],["EA4","EA4"],["EA6","EA6"],["EA8","EA9"],["EAC","EAC"],["EBA","EBA"],["EBE","EBF"],["EC5","EC5"],["EC7","EC7"],["ECE","ECF"],["EDA","EDB"],["EE0","EFF"],["F48","F48"],["F6D","F70"],["F98","F98"],["FBD","FBD"],["FCD","FCD"],["FDB","FFF"],["10C6","10C6"],["10C8","10CC"],["10CE","10CF"],["1249","1249"],["124E","124F"],["1257","1257"],["1259","1259"],["125E", +"125F"],["1289","1289"],["128E","128F"],["12B1","12B1"],["12B6","12B7"],["12BF","12BF"],["12C1","12C1"],["12C6","12C7"],["12D7","12D7"],["1311","1311"],["1316","1317"],["135B","135C"],["137D","137F"],["139A","139F"],["13F5","13FF"],["169D","169F"],["16F1","16FF"],["170D","170D"],["1715","171F"],["1737","173F"],["1754","175F"],["176D","176D"],["1771","1771"],["1774","177F"],["17DE","17DF"],["17EA","17EF"],["17FA","17FF"],["180F","180F"],["181A","181F"],["1878","187F"],["18AB","18AF"],["18F6","18FF"], +["191D","191F"],["192C","192F"],["193C","193F"],["1941","1943"],["196E","196F"],["1975","197F"],["19AC","19AF"],["19CA","19CF"],["19DB","19DD"],["1A1C","1A1D"],["1A5F","1A5F"],["1A7D","1A7E"],["1A8A","1A8F"],["1A9A","1A9F"],["1AAE","1AAF"],["1AB0","1AFF"],["1B4C","1B4F"],["1B7D","1B7F"],["1BF4","1BFB"],["1C38","1C3A"],["1C4A","1C4C"],["1C80","1CBF"],["1CC8","1CCF"],["1CF7","1CFF"],["1DE7","1DFB"],["1F16","1F17"],["1F1E","1F1F"],["1F46","1F47"],["1F4E","1F4F"],["1F58","1F58"],["1F5A","1F5A"],["1F5C", +"1F5C"],["1F5E","1F5E"],["1F7E","1F7F"],["1FB5","1FB5"],["1FC5","1FC5"],["1FD4","1FD5"],["1FDC","1FDC"],["1FF0","1FF1"],["1FF5","1FF5"],["1FFF","1FFF"],["2065","2069"],["2072","2073"],["208F","208F"],["209D","209F"],["20BB","20CF"],["20F1","20FF"],["218A","218F"],["23F4","23FF"],["2427","243F"],["244B","245F"],["2700","2700"],["2B4D","2B4F"],["2B5A","2BFF"],["2C2F","2C2F"],["2C5F","2C5F"],["2CF4","2CF8"],["2D26","2D26"],["2D28","2D2C"],["2D2E","2D2F"],["2D68","2D6E"],["2D71","2D7E"],["2D97","2D9F"], +["2DA7","2DA7"],["2DAF","2DAF"],["2DB7","2DB7"],["2DBF","2DBF"],["2DC7","2DC7"],["2DCF","2DCF"],["2DD7","2DD7"],["2DDF","2DDF"],["2E3C","2E7F"],["2E9A","2E9A"],["2EF4","2EFF"],["2FD6","2FDF"],["2FE0","2FEF"],["2FFC","2FFF"],["3040","3040"],["3097","3098"],["3100","3104"],["312E","312F"],["3130","3130"],["318F","318F"],["31BB","31BF"],["31E4","31EF"],["321F","321F"],["32FF","32FF"],["4DB6","4DBF"],["9FCD","9FFF"],["A48D","A48F"],["A4C7","A4CF"],["A62C","A63F"],["A698","A69E"],["A6F8","A6FF"],["A78F", +"A78F"],["A794","A79F"],["A7AB","A7F7"],["A82C","A82F"],["A83A","A83F"],["A878","A87F"],["A8C5","A8CD"],["A8DA","A8DF"],["A8FC","A8FF"],["A954","A95E"],["A97D","A97F"],["A9CE","A9CE"],["A9DA","A9DD"],["A9E0","A9FF"],["AA37","AA3F"],["AA4E","AA4F"],["AA5A","AA5B"],["AA7C","AA7F"],["AAC3","AADA"],["AAF7","AAFF"],["AB00","AB00"],["AB07","AB08"],["AB0F","AB10"],["AB17","AB1F"],["AB27","AB27"],["AB2F","AB2F"],["AB30","ABBF"],["ABEE","ABEF"],["ABFA","ABFF"],["D7A4","D7AF"],["D7C7","D7CA"],["D7FC","D7FF"], +["FA6E","FA6F"],["FADA","FAFF"],["FB07","FB12"],["FB18","FB1C"],["FB37","FB37"],["FB3D","FB3D"],["FB3F","FB3F"],["FB42","FB42"],["FB45","FB45"],["FBC2","FBD2"],["FD40","FD4F"],["FD90","FD91"],["FDC8","FDCF"],["FDD0","FDEF"],["FDFE","FDFF"],["FE1A","FE1F"],["FE27","FE2F"],["FE53","FE53"],["FE67","FE67"],["FE6C","FE6F"],["FE75","FE75"],["FEFD","FEFE"],["FF00","FF00"],["FFBF","FFC1"],["FFC8","FFC9"],["FFD0","FFD1"],["FFD8","FFD9"],["FFDD","FFDF"],["FFE7","FFE7"],["FFEF","FFEF"],["FFF0","FFF8"],["FFFE", +"FFFF"],["1000C","1000C"],["10027","10027"],["1003B","1003B"],["1003E","1003E"],["1004E","1004F"],["1005E","1007F"],["100FB","100FF"],["10103","10106"],["10134","10136"],["1018B","1018F"],["1019C","101CF"],["101FE","101FF"],["10200","1027F"],["1029D","1029F"],["102D1","102DF"],["102E0","102FF"],["1031F","1031F"],["10324","1032F"],["1034B","1034F"],["10350","1037F"],["1039E","1039E"],["103C4","103C7"],["103D6","103DF"],["103E0","103FF"],["1049E","1049F"],["104AA","104AF"],["104B0","107FF"],["10806", +"10807"],["10809","10809"],["10836","10836"],["10839","1083B"],["1083D","1083E"],["10856","10856"],["10860","108FF"],["1091C","1091E"],["1093A","1093E"],["10940","1097F"],["109B8","109BD"],["109C0","109FF"],["10A04","10A04"],["10A07","10A0B"],["10A14","10A14"],["10A18","10A18"],["10A34","10A37"],["10A3B","10A3E"],["10A48","10A4F"],["10A59","10A5F"],["10A80","10AFF"],["10B36","10B38"],["10B56","10B57"],["10B73","10B77"],["10B80","10BFF"],["10C49","10C4F"],["10C50","10E5F"],["10E7F","10E7F"],["10E80", +"10FFF"],["1104E","11051"],["11070","1107F"],["110C2","110CF"],["110E9","110EF"],["110FA","110FF"],["11135","11135"],["11144","1114F"],["11150","1117F"],["111C9","111CF"],["111DA","111DF"],["111E0","1167F"],["116B8","116BF"],["116CA","116CF"],["116D0","11FFF"],["1236F","123FF"],["12463","1246F"],["12474","1247F"],["12480","12FFF"],["1342F","1342F"],["13430","167FF"],["16A39","16A3F"],["16A40","16EFF"],["16F45","16F4F"],["16F7F","16F8E"],["16FA0","1AFFF"],["1B002","1B0FF"],["1B100","1CFFF"],["1D0F6", +"1D0FF"],["1D127","1D128"],["1D1DE","1D1FF"],["1D246","1D24F"],["1D250","1D2FF"],["1D357","1D35F"],["1D372","1D37F"],["1D380","1D3FF"],["1D455","1D455"],["1D49D","1D49D"],["1D4A0","1D4A1"],["1D4A3","1D4A4"],["1D4A7","1D4A8"],["1D4AD","1D4AD"],["1D4BA","1D4BA"],["1D4BC","1D4BC"],["1D4C4","1D4C4"],["1D506","1D506"],["1D50B","1D50C"],["1D515","1D515"],["1D51D","1D51D"],["1D53A","1D53A"],["1D53F","1D53F"],["1D545","1D545"],["1D547","1D549"],["1D551","1D551"],["1D6A6","1D6A7"],["1D7CC","1D7CD"],["1D800", +"1E7FF"],["1E800","1EDFF"],["1EE04","1EE04"],["1EE20","1EE20"],["1EE23","1EE23"],["1EE25","1EE26"],["1EE28","1EE28"],["1EE33","1EE33"],["1EE38","1EE38"],["1EE3A","1EE3A"],["1EE3C","1EE41"],["1EE43","1EE46"],["1EE48","1EE48"],["1EE4A","1EE4A"],["1EE4C","1EE4C"],["1EE50","1EE50"],["1EE53","1EE53"],["1EE55","1EE56"],["1EE58","1EE58"],["1EE5A","1EE5A"],["1EE5C","1EE5C"],["1EE5E","1EE5E"],["1EE60","1EE60"],["1EE63","1EE63"],["1EE65","1EE66"],["1EE6B","1EE6B"],["1EE73","1EE73"],["1EE78","1EE78"],["1EE7D", +"1EE7D"],["1EE7F","1EE7F"],["1EE8A","1EE8A"],["1EE9C","1EEA0"],["1EEA4","1EEA4"],["1EEAA","1EEAA"],["1EEBC","1EEEF"],["1EEF2","1EEFF"],["1EF00","1EFFF"],["1F02C","1F02F"],["1F094","1F09F"],["1F0AF","1F0B0"],["1F0BF","1F0C0"],["1F0D0","1F0D0"],["1F0E0","1F0FF"],["1F10B","1F10F"],["1F12F","1F12F"],["1F16C","1F16F"],["1F19B","1F1E5"],["1F203","1F20F"],["1F23B","1F23F"],["1F249","1F24F"],["1F252","1F2FF"],["1F321","1F32F"],["1F336","1F336"],["1F37D","1F37F"],["1F394","1F39F"],["1F3C5","1F3C5"],["1F3CB", +"1F3DF"],["1F3F1","1F3FF"],["1F43F","1F43F"],["1F441","1F441"],["1F4F8","1F4F8"],["1F4FD","1F4FF"],["1F53E","1F53F"],["1F544","1F54F"],["1F568","1F5FA"],["1F641","1F644"],["1F650","1F67F"],["1F6C6","1F6FF"],["1F774","1F77F"],["1F780","1FFFD"],["1FFFE","1FFFF"],["2A6D7","2A6DF"],["2A6E0","2A6FF"],["2B735","2B73F"],["2B81E","2B81F"],["2B820","2F7FF"],["2FA1E","2FA1F"],["2FA20","2FFFD"],["2FFFE","2FFFF"],["30000","3FFFD"],["3FFFE","3FFFF"],["40000","4FFFD"],["4FFFE","4FFFF"],["50000","5FFFD"],["5FFFE", +"5FFFF"],["60000","6FFFD"],["6FFFE","6FFFF"],["70000","7FFFD"],["7FFFE","7FFFF"],["80000","8FFFD"],["8FFFE","8FFFF"],["90000","9FFFD"],["9FFFE","9FFFF"],["A0000","AFFFD"],["AFFFE","AFFFF"],["B0000","BFFFD"],["BFFFE","BFFFF"],["C0000","CFFFD"],["CFFFE","CFFFF"],["D0000","DFFFD"],["DFFFE","DFFFF"],["E0000","E0000"],["E0002","E001F"],["E0080","E00FF"],["E01F0","E0FFF"],["E1000","EFFFD"],["EFFFE","EFFFF"],["FFFFE","FFFFF"],["10FFFE","10FFFF"]],Co:[["E000","F8FF"],["F0000","FFFFD"],["100000","10FFFD"]], +L:"Ll|Lm|Lo|Lt|Lu",Ll:[["61","7A"],["B5","B5"],["DF","F6"],["F8","FF"],["101","101"],["103","103"],["105","105"],["107","107"],["109","109"],["10B","10B"],["10D","10D"],["10F","10F"],["111","111"],["113","113"],["115","115"],["117","117"],["119","119"],["11B","11B"],["11D","11D"],["11F","11F"],["121","121"],["123","123"],["125","125"],["127","127"],["129","129"],["12B","12B"],["12D","12D"],["12F","12F"],["131","131"],["133","133"],["135","135"],["137","138"],["13A","13A"],["13C","13C"],["13E","13E"], +["140","140"],["142","142"],["144","144"],["146","146"],["148","149"],["14B","14B"],["14D","14D"],["14F","14F"],["151","151"],["153","153"],["155","155"],["157","157"],["159","159"],["15B","15B"],["15D","15D"],["15F","15F"],["161","161"],["163","163"],["165","165"],["167","167"],["169","169"],["16B","16B"],["16D","16D"],["16F","16F"],["171","171"],["173","173"],["175","175"],["177","177"],["17A","17A"],["17C","17C"],["17E","180"],["183","183"],["185","185"],["188","188"],["18C","18D"],["192","192"], +["195","195"],["199","19B"],["19E","19E"],["1A1","1A1"],["1A3","1A3"],["1A5","1A5"],["1A8","1A8"],["1AA","1AB"],["1AD","1AD"],["1B0","1B0"],["1B4","1B4"],["1B6","1B6"],["1B9","1BA"],["1BD","1BF"],["1C6","1C6"],["1C9","1C9"],["1CC","1CC"],["1CE","1CE"],["1D0","1D0"],["1D2","1D2"],["1D4","1D4"],["1D6","1D6"],["1D8","1D8"],["1DA","1DA"],["1DC","1DD"],["1DF","1DF"],["1E1","1E1"],["1E3","1E3"],["1E5","1E5"],["1E7","1E7"],["1E9","1E9"],["1EB","1EB"],["1ED","1ED"],["1EF","1F0"],["1F3","1F3"],["1F5","1F5"], +["1F9","1F9"],["1FB","1FB"],["1FD","1FD"],["1FF","1FF"],["201","201"],["203","203"],["205","205"],["207","207"],["209","209"],["20B","20B"],["20D","20D"],["20F","20F"],["211","211"],["213","213"],["215","215"],["217","217"],["219","219"],["21B","21B"],["21D","21D"],["21F","21F"],["221","221"],["223","223"],["225","225"],["227","227"],["229","229"],["22B","22B"],["22D","22D"],["22F","22F"],["231","231"],["233","239"],["23C","23C"],["23F","240"],["242","242"],["247","247"],["249","249"],["24B","24B"], +["24D","24D"],["24F","293"],["295","2AF"],["371","371"],["373","373"],["377","377"],["37B","37D"],["390","390"],["3AC","3CE"],["3D0","3D1"],["3D5","3D7"],["3D9","3D9"],["3DB","3DB"],["3DD","3DD"],["3DF","3DF"],["3E1","3E1"],["3E3","3E3"],["3E5","3E5"],["3E7","3E7"],["3E9","3E9"],["3EB","3EB"],["3ED","3ED"],["3EF","3F3"],["3F5","3F5"],["3F8","3F8"],["3FB","3FC"],["430","45F"],["461","461"],["463","463"],["465","465"],["467","467"],["469","469"],["46B","46B"],["46D","46D"],["46F","46F"],["471","471"], +["473","473"],["475","475"],["477","477"],["479","479"],["47B","47B"],["47D","47D"],["47F","47F"],["481","481"],["48B","48B"],["48D","48D"],["48F","48F"],["491","491"],["493","493"],["495","495"],["497","497"],["499","499"],["49B","49B"],["49D","49D"],["49F","49F"],["4A1","4A1"],["4A3","4A3"],["4A5","4A5"],["4A7","4A7"],["4A9","4A9"],["4AB","4AB"],["4AD","4AD"],["4AF","4AF"],["4B1","4B1"],["4B3","4B3"],["4B5","4B5"],["4B7","4B7"],["4B9","4B9"],["4BB","4BB"],["4BD","4BD"],["4BF","4BF"],["4C2","4C2"], +["4C4","4C4"],["4C6","4C6"],["4C8","4C8"],["4CA","4CA"],["4CC","4CC"],["4CE","4CF"],["4D1","4D1"],["4D3","4D3"],["4D5","4D5"],["4D7","4D7"],["4D9","4D9"],["4DB","4DB"],["4DD","4DD"],["4DF","4DF"],["4E1","4E1"],["4E3","4E3"],["4E5","4E5"],["4E7","4E7"],["4E9","4E9"],["4EB","4EB"],["4ED","4ED"],["4EF","4EF"],["4F1","4F1"],["4F3","4F3"],["4F5","4F5"],["4F7","4F7"],["4F9","4F9"],["4FB","4FB"],["4FD","4FD"],["4FF","4FF"],["501","501"],["503","503"],["505","505"],["507","507"],["509","509"],["50B","50B"], +["50D","50D"],["50F","50F"],["511","511"],["513","513"],["515","515"],["517","517"],["519","519"],["51B","51B"],["51D","51D"],["51F","51F"],["521","521"],["523","523"],["525","525"],["527","527"],["561","587"],["1D00","1D2B"],["1D6B","1D77"],["1D79","1D9A"],["1E01","1E01"],["1E03","1E03"],["1E05","1E05"],["1E07","1E07"],["1E09","1E09"],["1E0B","1E0B"],["1E0D","1E0D"],["1E0F","1E0F"],["1E11","1E11"],["1E13","1E13"],["1E15","1E15"],["1E17","1E17"],["1E19","1E19"],["1E1B","1E1B"],["1E1D","1E1D"],["1E1F", +"1E1F"],["1E21","1E21"],["1E23","1E23"],["1E25","1E25"],["1E27","1E27"],["1E29","1E29"],["1E2B","1E2B"],["1E2D","1E2D"],["1E2F","1E2F"],["1E31","1E31"],["1E33","1E33"],["1E35","1E35"],["1E37","1E37"],["1E39","1E39"],["1E3B","1E3B"],["1E3D","1E3D"],["1E3F","1E3F"],["1E41","1E41"],["1E43","1E43"],["1E45","1E45"],["1E47","1E47"],["1E49","1E49"],["1E4B","1E4B"],["1E4D","1E4D"],["1E4F","1E4F"],["1E51","1E51"],["1E53","1E53"],["1E55","1E55"],["1E57","1E57"],["1E59","1E59"],["1E5B","1E5B"],["1E5D","1E5D"], +["1E5F","1E5F"],["1E61","1E61"],["1E63","1E63"],["1E65","1E65"],["1E67","1E67"],["1E69","1E69"],["1E6B","1E6B"],["1E6D","1E6D"],["1E6F","1E6F"],["1E71","1E71"],["1E73","1E73"],["1E75","1E75"],["1E77","1E77"],["1E79","1E79"],["1E7B","1E7B"],["1E7D","1E7D"],["1E7F","1E7F"],["1E81","1E81"],["1E83","1E83"],["1E85","1E85"],["1E87","1E87"],["1E89","1E89"],["1E8B","1E8B"],["1E8D","1E8D"],["1E8F","1E8F"],["1E91","1E91"],["1E93","1E93"],["1E95","1E9D"],["1E9F","1E9F"],["1EA1","1EA1"],["1EA3","1EA3"],["1EA5", +"1EA5"],["1EA7","1EA7"],["1EA9","1EA9"],["1EAB","1EAB"],["1EAD","1EAD"],["1EAF","1EAF"],["1EB1","1EB1"],["1EB3","1EB3"],["1EB5","1EB5"],["1EB7","1EB7"],["1EB9","1EB9"],["1EBB","1EBB"],["1EBD","1EBD"],["1EBF","1EBF"],["1EC1","1EC1"],["1EC3","1EC3"],["1EC5","1EC5"],["1EC7","1EC7"],["1EC9","1EC9"],["1ECB","1ECB"],["1ECD","1ECD"],["1ECF","1ECF"],["1ED1","1ED1"],["1ED3","1ED3"],["1ED5","1ED5"],["1ED7","1ED7"],["1ED9","1ED9"],["1EDB","1EDB"],["1EDD","1EDD"],["1EDF","1EDF"],["1EE1","1EE1"],["1EE3","1EE3"], +["1EE5","1EE5"],["1EE7","1EE7"],["1EE9","1EE9"],["1EEB","1EEB"],["1EED","1EED"],["1EEF","1EEF"],["1EF1","1EF1"],["1EF3","1EF3"],["1EF5","1EF5"],["1EF7","1EF7"],["1EF9","1EF9"],["1EFB","1EFB"],["1EFD","1EFD"],["1EFF","1F07"],["1F10","1F15"],["1F20","1F27"],["1F30","1F37"],["1F40","1F45"],["1F50","1F57"],["1F60","1F67"],["1F70","1F7D"],["1F80","1F87"],["1F90","1F97"],["1FA0","1FA7"],["1FB0","1FB4"],["1FB6","1FB7"],["1FBE","1FBE"],["1FC2","1FC4"],["1FC6","1FC7"],["1FD0","1FD3"],["1FD6","1FD7"],["1FE0", +"1FE7"],["1FF2","1FF4"],["1FF6","1FF7"],["210A","210A"],["210E","210F"],["2113","2113"],["212F","212F"],["2134","2134"],["2139","2139"],["213C","213D"],["2146","2149"],["214E","214E"],["2184","2184"],["2C30","2C5E"],["2C61","2C61"],["2C65","2C66"],["2C68","2C68"],["2C6A","2C6A"],["2C6C","2C6C"],["2C71","2C71"],["2C73","2C74"],["2C76","2C7B"],["2C81","2C81"],["2C83","2C83"],["2C85","2C85"],["2C87","2C87"],["2C89","2C89"],["2C8B","2C8B"],["2C8D","2C8D"],["2C8F","2C8F"],["2C91","2C91"],["2C93","2C93"], +["2C95","2C95"],["2C97","2C97"],["2C99","2C99"],["2C9B","2C9B"],["2C9D","2C9D"],["2C9F","2C9F"],["2CA1","2CA1"],["2CA3","2CA3"],["2CA5","2CA5"],["2CA7","2CA7"],["2CA9","2CA9"],["2CAB","2CAB"],["2CAD","2CAD"],["2CAF","2CAF"],["2CB1","2CB1"],["2CB3","2CB3"],["2CB5","2CB5"],["2CB7","2CB7"],["2CB9","2CB9"],["2CBB","2CBB"],["2CBD","2CBD"],["2CBF","2CBF"],["2CC1","2CC1"],["2CC3","2CC3"],["2CC5","2CC5"],["2CC7","2CC7"],["2CC9","2CC9"],["2CCB","2CCB"],["2CCD","2CCD"],["2CCF","2CCF"],["2CD1","2CD1"],["2CD3", +"2CD3"],["2CD5","2CD5"],["2CD7","2CD7"],["2CD9","2CD9"],["2CDB","2CDB"],["2CDD","2CDD"],["2CDF","2CDF"],["2CE1","2CE1"],["2CE3","2CE4"],["2CEC","2CEC"],["2CEE","2CEE"],["2CF3","2CF3"],["2D00","2D25"],["2D27","2D27"],["2D2D","2D2D"],["A641","A641"],["A643","A643"],["A645","A645"],["A647","A647"],["A649","A649"],["A64B","A64B"],["A64D","A64D"],["A64F","A64F"],["A651","A651"],["A653","A653"],["A655","A655"],["A657","A657"],["A659","A659"],["A65B","A65B"],["A65D","A65D"],["A65F","A65F"],["A661","A661"], +["A663","A663"],["A665","A665"],["A667","A667"],["A669","A669"],["A66B","A66B"],["A66D","A66D"],["A681","A681"],["A683","A683"],["A685","A685"],["A687","A687"],["A689","A689"],["A68B","A68B"],["A68D","A68D"],["A68F","A68F"],["A691","A691"],["A693","A693"],["A695","A695"],["A697","A697"],["A723","A723"],["A725","A725"],["A727","A727"],["A729","A729"],["A72B","A72B"],["A72D","A72D"],["A72F","A731"],["A733","A733"],["A735","A735"],["A737","A737"],["A739","A739"],["A73B","A73B"],["A73D","A73D"],["A73F", +"A73F"],["A741","A741"],["A743","A743"],["A745","A745"],["A747","A747"],["A749","A749"],["A74B","A74B"],["A74D","A74D"],["A74F","A74F"],["A751","A751"],["A753","A753"],["A755","A755"],["A757","A757"],["A759","A759"],["A75B","A75B"],["A75D","A75D"],["A75F","A75F"],["A761","A761"],["A763","A763"],["A765","A765"],["A767","A767"],["A769","A769"],["A76B","A76B"],["A76D","A76D"],["A76F","A76F"],["A771","A778"],["A77A","A77A"],["A77C","A77C"],["A77F","A77F"],["A781","A781"],["A783","A783"],["A785","A785"], +["A787","A787"],["A78C","A78C"],["A78E","A78E"],["A791","A791"],["A793","A793"],["A7A1","A7A1"],["A7A3","A7A3"],["A7A5","A7A5"],["A7A7","A7A7"],["A7A9","A7A9"],["A7FA","A7FA"],["FB00","FB06"],["FB13","FB17"],["FF41","FF5A"],["10428","1044F"],["1D41A","1D433"],["1D44E","1D454"],["1D456","1D467"],["1D482","1D49B"],["1D4B6","1D4B9"],["1D4BB","1D4BB"],["1D4BD","1D4C3"],["1D4C5","1D4CF"],["1D4EA","1D503"],["1D51E","1D537"],["1D552","1D56B"],["1D586","1D59F"],["1D5BA","1D5D3"],["1D5EE","1D607"],["1D622", +"1D63B"],["1D656","1D66F"],["1D68A","1D6A5"],["1D6C2","1D6DA"],["1D6DC","1D6E1"],["1D6FC","1D714"],["1D716","1D71B"],["1D736","1D74E"],["1D750","1D755"],["1D770","1D788"],["1D78A","1D78F"],["1D7AA","1D7C2"],["1D7C4","1D7C9"],["1D7CB","1D7CB"]],Lm:[["2B0","2C1"],["2C6","2D1"],["2E0","2E4"],["2EC","2EC"],["2EE","2EE"],["374","374"],["37A","37A"],["559","559"],["640","640"],["6E5","6E6"],["7F4","7F5"],["7FA","7FA"],["81A","81A"],["824","824"],["828","828"],["971","971"],["E46","E46"],["EC6","EC6"],["10FC", +"10FC"],["17D7","17D7"],["1843","1843"],["1AA7","1AA7"],["1C78","1C7D"],["1D2C","1D6A"],["1D78","1D78"],["1D9B","1DBF"],["2071","2071"],["207F","207F"],["2090","209C"],["2C7C","2C7D"],["2D6F","2D6F"],["2E2F","2E2F"],["3005","3005"],["3031","3035"],["303B","303B"],["309D","309E"],["30FC","30FE"],["A015","A015"],["A4F8","A4FD"],["A60C","A60C"],["A67F","A67F"],["A717","A71F"],["A770","A770"],["A788","A788"],["A7F8","A7F9"],["A9CF","A9CF"],["AA70","AA70"],["AADD","AADD"],["AAF3","AAF4"],["FF70","FF70"], +["FF9E","FF9F"],["16F93","16F9F"]],Lo:[["AA","AA"],["BA","BA"],["1BB","1BB"],["1C0","1C3"],["294","294"],["5D0","5EA"],["5F0","5F2"],["620","63F"],["641","64A"],["66E","66F"],["671","6D3"],["6D5","6D5"],["6EE","6EF"],["6FA","6FC"],["6FF","6FF"],["710","710"],["712","72F"],["74D","7A5"],["7B1","7B1"],["7CA","7EA"],["800","815"],["840","858"],["8A0","8A0"],["8A2","8AC"],["904","939"],["93D","93D"],["950","950"],["958","961"],["972","977"],["979","97F"],["985","98C"],["98F","990"],["993","9A8"],["9AA", +"9B0"],["9B2","9B2"],["9B6","9B9"],["9BD","9BD"],["9CE","9CE"],["9DC","9DD"],["9DF","9E1"],["9F0","9F1"],["A05","A0A"],["A0F","A10"],["A13","A28"],["A2A","A30"],["A32","A33"],["A35","A36"],["A38","A39"],["A59","A5C"],["A5E","A5E"],["A72","A74"],["A85","A8D"],["A8F","A91"],["A93","AA8"],["AAA","AB0"],["AB2","AB3"],["AB5","AB9"],["ABD","ABD"],["AD0","AD0"],["AE0","AE1"],["B05","B0C"],["B0F","B10"],["B13","B28"],["B2A","B30"],["B32","B33"],["B35","B39"],["B3D","B3D"],["B5C","B5D"],["B5F","B61"],["B71", +"B71"],["B83","B83"],["B85","B8A"],["B8E","B90"],["B92","B95"],["B99","B9A"],["B9C","B9C"],["B9E","B9F"],["BA3","BA4"],["BA8","BAA"],["BAE","BB9"],["BD0","BD0"],["C05","C0C"],["C0E","C10"],["C12","C28"],["C2A","C33"],["C35","C39"],["C3D","C3D"],["C58","C59"],["C60","C61"],["C85","C8C"],["C8E","C90"],["C92","CA8"],["CAA","CB3"],["CB5","CB9"],["CBD","CBD"],["CDE","CDE"],["CE0","CE1"],["CF1","CF2"],["D05","D0C"],["D0E","D10"],["D12","D3A"],["D3D","D3D"],["D4E","D4E"],["D60","D61"],["D7A","D7F"],["D85", +"D96"],["D9A","DB1"],["DB3","DBB"],["DBD","DBD"],["DC0","DC6"],["E01","E30"],["E32","E33"],["E40","E45"],["E81","E82"],["E84","E84"],["E87","E88"],["E8A","E8A"],["E8D","E8D"],["E94","E97"],["E99","E9F"],["EA1","EA3"],["EA5","EA5"],["EA7","EA7"],["EAA","EAB"],["EAD","EB0"],["EB2","EB3"],["EBD","EBD"],["EC0","EC4"],["EDC","EDF"],["F00","F00"],["F40","F47"],["F49","F6C"],["F88","F8C"],["1000","102A"],["103F","103F"],["1050","1055"],["105A","105D"],["1061","1061"],["1065","1066"],["106E","1070"],["1075", +"1081"],["108E","108E"],["10D0","10FA"],["10FD","1248"],["124A","124D"],["1250","1256"],["1258","1258"],["125A","125D"],["1260","1288"],["128A","128D"],["1290","12B0"],["12B2","12B5"],["12B8","12BE"],["12C0","12C0"],["12C2","12C5"],["12C8","12D6"],["12D8","1310"],["1312","1315"],["1318","135A"],["1380","138F"],["13A0","13F4"],["1401","166C"],["166F","167F"],["1681","169A"],["16A0","16EA"],["1700","170C"],["170E","1711"],["1720","1731"],["1740","1751"],["1760","176C"],["176E","1770"],["1780","17B3"], +["17DC","17DC"],["1820","1842"],["1844","1877"],["1880","18A8"],["18AA","18AA"],["18B0","18F5"],["1900","191C"],["1950","196D"],["1970","1974"],["1980","19AB"],["19C1","19C7"],["1A00","1A16"],["1A20","1A54"],["1B05","1B33"],["1B45","1B4B"],["1B83","1BA0"],["1BAE","1BAF"],["1BBA","1BE5"],["1C00","1C23"],["1C4D","1C4F"],["1C5A","1C77"],["1CE9","1CEC"],["1CEE","1CF1"],["1CF5","1CF6"],["2135","2138"],["2D30","2D67"],["2D80","2D96"],["2DA0","2DA6"],["2DA8","2DAE"],["2DB0","2DB6"],["2DB8","2DBE"],["2DC0", +"2DC6"],["2DC8","2DCE"],["2DD0","2DD6"],["2DD8","2DDE"],["3006","3006"],["303C","303C"],["3041","3096"],["309F","309F"],["30A1","30FA"],["30FF","30FF"],["3105","312D"],["3131","318E"],["31A0","31BA"],["31F0","31FF"],["3400","4DB5"],["4E00","9FCC"],["A000","A014"],["A016","A48C"],["A4D0","A4F7"],["A500","A60B"],["A610","A61F"],["A62A","A62B"],["A66E","A66E"],["A6A0","A6E5"],["A7FB","A801"],["A803","A805"],["A807","A80A"],["A80C","A822"],["A840","A873"],["A882","A8B3"],["A8F2","A8F7"],["A8FB","A8FB"], +["A90A","A925"],["A930","A946"],["A960","A97C"],["A984","A9B2"],["AA00","AA28"],["AA40","AA42"],["AA44","AA4B"],["AA60","AA6F"],["AA71","AA76"],["AA7A","AA7A"],["AA80","AAAF"],["AAB1","AAB1"],["AAB5","AAB6"],["AAB9","AABD"],["AAC0","AAC0"],["AAC2","AAC2"],["AADB","AADC"],["AAE0","AAEA"],["AAF2","AAF2"],["AB01","AB06"],["AB09","AB0E"],["AB11","AB16"],["AB20","AB26"],["AB28","AB2E"],["ABC0","ABE2"],["AC00","D7A3"],["D7B0","D7C6"],["D7CB","D7FB"],["F900","FA6D"],["FA70","FAD9"],["FB1D","FB1D"],["FB1F", +"FB28"],["FB2A","FB36"],["FB38","FB3C"],["FB3E","FB3E"],["FB40","FB41"],["FB43","FB44"],["FB46","FBB1"],["FBD3","FD3D"],["FD50","FD8F"],["FD92","FDC7"],["FDF0","FDFB"],["FE70","FE74"],["FE76","FEFC"],["FF66","FF6F"],["FF71","FF9D"],["FFA0","FFBE"],["FFC2","FFC7"],["FFCA","FFCF"],["FFD2","FFD7"],["FFDA","FFDC"],["10000","1000B"],["1000D","10026"],["10028","1003A"],["1003C","1003D"],["1003F","1004D"],["10050","1005D"],["10080","100FA"],["10280","1029C"],["102A0","102D0"],["10300","1031E"],["10330", +"10340"],["10342","10349"],["10380","1039D"],["103A0","103C3"],["103C8","103CF"],["10450","1049D"],["10800","10805"],["10808","10808"],["1080A","10835"],["10837","10838"],["1083C","1083C"],["1083F","10855"],["10900","10915"],["10920","10939"],["10980","109B7"],["109BE","109BF"],["10A00","10A00"],["10A10","10A13"],["10A15","10A17"],["10A19","10A33"],["10A60","10A7C"],["10B00","10B35"],["10B40","10B55"],["10B60","10B72"],["10C00","10C48"],["11003","11037"],["11083","110AF"],["110D0","110E8"],["11103", +"11126"],["11183","111B2"],["111C1","111C4"],["11680","116AA"],["12000","1236E"],["13000","1342E"],["16800","16A38"],["16F00","16F44"],["16F50","16F50"],["1B000","1B001"],["1EE00","1EE03"],["1EE05","1EE1F"],["1EE21","1EE22"],["1EE24","1EE24"],["1EE27","1EE27"],["1EE29","1EE32"],["1EE34","1EE37"],["1EE39","1EE39"],["1EE3B","1EE3B"],["1EE42","1EE42"],["1EE47","1EE47"],["1EE49","1EE49"],["1EE4B","1EE4B"],["1EE4D","1EE4F"],["1EE51","1EE52"],["1EE54","1EE54"],["1EE57","1EE57"],["1EE59","1EE59"],["1EE5B", +"1EE5B"],["1EE5D","1EE5D"],["1EE5F","1EE5F"],["1EE61","1EE62"],["1EE64","1EE64"],["1EE67","1EE6A"],["1EE6C","1EE72"],["1EE74","1EE77"],["1EE79","1EE7C"],["1EE7E","1EE7E"],["1EE80","1EE89"],["1EE8B","1EE9B"],["1EEA1","1EEA3"],["1EEA5","1EEA9"],["1EEAB","1EEBB"],["20000","2A6D6"],["2A700","2B734"],["2B740","2B81D"],["2F800","2FA1D"]],Lt:[["1C5","1C5"],["1C8","1C8"],["1CB","1CB"],["1F2","1F2"],["1F88","1F8F"],["1F98","1F9F"],["1FA8","1FAF"],["1FBC","1FBC"],["1FCC","1FCC"],["1FFC","1FFC"]],Lu:[["41", +"5A"],["C0","D6"],["D8","DE"],["100","100"],["102","102"],["104","104"],["106","106"],["108","108"],["10A","10A"],["10C","10C"],["10E","10E"],["110","110"],["112","112"],["114","114"],["116","116"],["118","118"],["11A","11A"],["11C","11C"],["11E","11E"],["120","120"],["122","122"],["124","124"],["126","126"],["128","128"],["12A","12A"],["12C","12C"],["12E","12E"],["130","130"],["132","132"],["134","134"],["136","136"],["139","139"],["13B","13B"],["13D","13D"],["13F","13F"],["141","141"],["143","143"], +["145","145"],["147","147"],["14A","14A"],["14C","14C"],["14E","14E"],["150","150"],["152","152"],["154","154"],["156","156"],["158","158"],["15A","15A"],["15C","15C"],["15E","15E"],["160","160"],["162","162"],["164","164"],["166","166"],["168","168"],["16A","16A"],["16C","16C"],["16E","16E"],["170","170"],["172","172"],["174","174"],["176","176"],["178","179"],["17B","17B"],["17D","17D"],["181","182"],["184","184"],["186","187"],["189","18B"],["18E","191"],["193","194"],["196","198"],["19C","19D"], +["19F","1A0"],["1A2","1A2"],["1A4","1A4"],["1A6","1A7"],["1A9","1A9"],["1AC","1AC"],["1AE","1AF"],["1B1","1B3"],["1B5","1B5"],["1B7","1B8"],["1BC","1BC"],["1C4","1C4"],["1C7","1C7"],["1CA","1CA"],["1CD","1CD"],["1CF","1CF"],["1D1","1D1"],["1D3","1D3"],["1D5","1D5"],["1D7","1D7"],["1D9","1D9"],["1DB","1DB"],["1DE","1DE"],["1E0","1E0"],["1E2","1E2"],["1E4","1E4"],["1E6","1E6"],["1E8","1E8"],["1EA","1EA"],["1EC","1EC"],["1EE","1EE"],["1F1","1F1"],["1F4","1F4"],["1F6","1F8"],["1FA","1FA"],["1FC","1FC"], +["1FE","1FE"],["200","200"],["202","202"],["204","204"],["206","206"],["208","208"],["20A","20A"],["20C","20C"],["20E","20E"],["210","210"],["212","212"],["214","214"],["216","216"],["218","218"],["21A","21A"],["21C","21C"],["21E","21E"],["220","220"],["222","222"],["224","224"],["226","226"],["228","228"],["22A","22A"],["22C","22C"],["22E","22E"],["230","230"],["232","232"],["23A","23B"],["23D","23E"],["241","241"],["243","246"],["248","248"],["24A","24A"],["24C","24C"],["24E","24E"],["370","370"], +["372","372"],["376","376"],["386","386"],["388","38A"],["38C","38C"],["38E","38F"],["391","3A1"],["3A3","3AB"],["3CF","3CF"],["3D2","3D4"],["3D8","3D8"],["3DA","3DA"],["3DC","3DC"],["3DE","3DE"],["3E0","3E0"],["3E2","3E2"],["3E4","3E4"],["3E6","3E6"],["3E8","3E8"],["3EA","3EA"],["3EC","3EC"],["3EE","3EE"],["3F4","3F4"],["3F7","3F7"],["3F9","3FA"],["3FD","42F"],["460","460"],["462","462"],["464","464"],["466","466"],["468","468"],["46A","46A"],["46C","46C"],["46E","46E"],["470","470"],["472","472"], +["474","474"],["476","476"],["478","478"],["47A","47A"],["47C","47C"],["47E","47E"],["480","480"],["48A","48A"],["48C","48C"],["48E","48E"],["490","490"],["492","492"],["494","494"],["496","496"],["498","498"],["49A","49A"],["49C","49C"],["49E","49E"],["4A0","4A0"],["4A2","4A2"],["4A4","4A4"],["4A6","4A6"],["4A8","4A8"],["4AA","4AA"],["4AC","4AC"],["4AE","4AE"],["4B0","4B0"],["4B2","4B2"],["4B4","4B4"],["4B6","4B6"],["4B8","4B8"],["4BA","4BA"],["4BC","4BC"],["4BE","4BE"],["4C0","4C1"],["4C3","4C3"], +["4C5","4C5"],["4C7","4C7"],["4C9","4C9"],["4CB","4CB"],["4CD","4CD"],["4D0","4D0"],["4D2","4D2"],["4D4","4D4"],["4D6","4D6"],["4D8","4D8"],["4DA","4DA"],["4DC","4DC"],["4DE","4DE"],["4E0","4E0"],["4E2","4E2"],["4E4","4E4"],["4E6","4E6"],["4E8","4E8"],["4EA","4EA"],["4EC","4EC"],["4EE","4EE"],["4F0","4F0"],["4F2","4F2"],["4F4","4F4"],["4F6","4F6"],["4F8","4F8"],["4FA","4FA"],["4FC","4FC"],["4FE","4FE"],["500","500"],["502","502"],["504","504"],["506","506"],["508","508"],["50A","50A"],["50C","50C"], +["50E","50E"],["510","510"],["512","512"],["514","514"],["516","516"],["518","518"],["51A","51A"],["51C","51C"],["51E","51E"],["520","520"],["522","522"],["524","524"],["526","526"],["531","556"],["10A0","10C5"],["10C7","10C7"],["10CD","10CD"],["1E00","1E00"],["1E02","1E02"],["1E04","1E04"],["1E06","1E06"],["1E08","1E08"],["1E0A","1E0A"],["1E0C","1E0C"],["1E0E","1E0E"],["1E10","1E10"],["1E12","1E12"],["1E14","1E14"],["1E16","1E16"],["1E18","1E18"],["1E1A","1E1A"],["1E1C","1E1C"],["1E1E","1E1E"],["1E20", +"1E20"],["1E22","1E22"],["1E24","1E24"],["1E26","1E26"],["1E28","1E28"],["1E2A","1E2A"],["1E2C","1E2C"],["1E2E","1E2E"],["1E30","1E30"],["1E32","1E32"],["1E34","1E34"],["1E36","1E36"],["1E38","1E38"],["1E3A","1E3A"],["1E3C","1E3C"],["1E3E","1E3E"],["1E40","1E40"],["1E42","1E42"],["1E44","1E44"],["1E46","1E46"],["1E48","1E48"],["1E4A","1E4A"],["1E4C","1E4C"],["1E4E","1E4E"],["1E50","1E50"],["1E52","1E52"],["1E54","1E54"],["1E56","1E56"],["1E58","1E58"],["1E5A","1E5A"],["1E5C","1E5C"],["1E5E","1E5E"], +["1E60","1E60"],["1E62","1E62"],["1E64","1E64"],["1E66","1E66"],["1E68","1E68"],["1E6A","1E6A"],["1E6C","1E6C"],["1E6E","1E6E"],["1E70","1E70"],["1E72","1E72"],["1E74","1E74"],["1E76","1E76"],["1E78","1E78"],["1E7A","1E7A"],["1E7C","1E7C"],["1E7E","1E7E"],["1E80","1E80"],["1E82","1E82"],["1E84","1E84"],["1E86","1E86"],["1E88","1E88"],["1E8A","1E8A"],["1E8C","1E8C"],["1E8E","1E8E"],["1E90","1E90"],["1E92","1E92"],["1E94","1E94"],["1E9E","1E9E"],["1EA0","1EA0"],["1EA2","1EA2"],["1EA4","1EA4"],["1EA6", +"1EA6"],["1EA8","1EA8"],["1EAA","1EAA"],["1EAC","1EAC"],["1EAE","1EAE"],["1EB0","1EB0"],["1EB2","1EB2"],["1EB4","1EB4"],["1EB6","1EB6"],["1EB8","1EB8"],["1EBA","1EBA"],["1EBC","1EBC"],["1EBE","1EBE"],["1EC0","1EC0"],["1EC2","1EC2"],["1EC4","1EC4"],["1EC6","1EC6"],["1EC8","1EC8"],["1ECA","1ECA"],["1ECC","1ECC"],["1ECE","1ECE"],["1ED0","1ED0"],["1ED2","1ED2"],["1ED4","1ED4"],["1ED6","1ED6"],["1ED8","1ED8"],["1EDA","1EDA"],["1EDC","1EDC"],["1EDE","1EDE"],["1EE0","1EE0"],["1EE2","1EE2"],["1EE4","1EE4"], +["1EE6","1EE6"],["1EE8","1EE8"],["1EEA","1EEA"],["1EEC","1EEC"],["1EEE","1EEE"],["1EF0","1EF0"],["1EF2","1EF2"],["1EF4","1EF4"],["1EF6","1EF6"],["1EF8","1EF8"],["1EFA","1EFA"],["1EFC","1EFC"],["1EFE","1EFE"],["1F08","1F0F"],["1F18","1F1D"],["1F28","1F2F"],["1F38","1F3F"],["1F48","1F4D"],["1F59","1F59"],["1F5B","1F5B"],["1F5D","1F5D"],["1F5F","1F5F"],["1F68","1F6F"],["1FB8","1FBB"],["1FC8","1FCB"],["1FD8","1FDB"],["1FE8","1FEC"],["1FF8","1FFB"],["2102","2102"],["2107","2107"],["210B","210D"],["2110", +"2112"],["2115","2115"],["2119","211D"],["2124","2124"],["2126","2126"],["2128","2128"],["212A","212D"],["2130","2133"],["213E","213F"],["2145","2145"],["2183","2183"],["2C00","2C2E"],["2C60","2C60"],["2C62","2C64"],["2C67","2C67"],["2C69","2C69"],["2C6B","2C6B"],["2C6D","2C70"],["2C72","2C72"],["2C75","2C75"],["2C7E","2C80"],["2C82","2C82"],["2C84","2C84"],["2C86","2C86"],["2C88","2C88"],["2C8A","2C8A"],["2C8C","2C8C"],["2C8E","2C8E"],["2C90","2C90"],["2C92","2C92"],["2C94","2C94"],["2C96","2C96"], +["2C98","2C98"],["2C9A","2C9A"],["2C9C","2C9C"],["2C9E","2C9E"],["2CA0","2CA0"],["2CA2","2CA2"],["2CA4","2CA4"],["2CA6","2CA6"],["2CA8","2CA8"],["2CAA","2CAA"],["2CAC","2CAC"],["2CAE","2CAE"],["2CB0","2CB0"],["2CB2","2CB2"],["2CB4","2CB4"],["2CB6","2CB6"],["2CB8","2CB8"],["2CBA","2CBA"],["2CBC","2CBC"],["2CBE","2CBE"],["2CC0","2CC0"],["2CC2","2CC2"],["2CC4","2CC4"],["2CC6","2CC6"],["2CC8","2CC8"],["2CCA","2CCA"],["2CCC","2CCC"],["2CCE","2CCE"],["2CD0","2CD0"],["2CD2","2CD2"],["2CD4","2CD4"],["2CD6", +"2CD6"],["2CD8","2CD8"],["2CDA","2CDA"],["2CDC","2CDC"],["2CDE","2CDE"],["2CE0","2CE0"],["2CE2","2CE2"],["2CEB","2CEB"],["2CED","2CED"],["2CF2","2CF2"],["A640","A640"],["A642","A642"],["A644","A644"],["A646","A646"],["A648","A648"],["A64A","A64A"],["A64C","A64C"],["A64E","A64E"],["A650","A650"],["A652","A652"],["A654","A654"],["A656","A656"],["A658","A658"],["A65A","A65A"],["A65C","A65C"],["A65E","A65E"],["A660","A660"],["A662","A662"],["A664","A664"],["A666","A666"],["A668","A668"],["A66A","A66A"], +["A66C","A66C"],["A680","A680"],["A682","A682"],["A684","A684"],["A686","A686"],["A688","A688"],["A68A","A68A"],["A68C","A68C"],["A68E","A68E"],["A690","A690"],["A692","A692"],["A694","A694"],["A696","A696"],["A722","A722"],["A724","A724"],["A726","A726"],["A728","A728"],["A72A","A72A"],["A72C","A72C"],["A72E","A72E"],["A732","A732"],["A734","A734"],["A736","A736"],["A738","A738"],["A73A","A73A"],["A73C","A73C"],["A73E","A73E"],["A740","A740"],["A742","A742"],["A744","A744"],["A746","A746"],["A748", +"A748"],["A74A","A74A"],["A74C","A74C"],["A74E","A74E"],["A750","A750"],["A752","A752"],["A754","A754"],["A756","A756"],["A758","A758"],["A75A","A75A"],["A75C","A75C"],["A75E","A75E"],["A760","A760"],["A762","A762"],["A764","A764"],["A766","A766"],["A768","A768"],["A76A","A76A"],["A76C","A76C"],["A76E","A76E"],["A779","A779"],["A77B","A77B"],["A77D","A77E"],["A780","A780"],["A782","A782"],["A784","A784"],["A786","A786"],["A78B","A78B"],["A78D","A78D"],["A790","A790"],["A792","A792"],["A7A0","A7A0"], +["A7A2","A7A2"],["A7A4","A7A4"],["A7A6","A7A6"],["A7A8","A7A8"],["A7AA","A7AA"],["FF21","FF3A"],["10400","10427"],["1D400","1D419"],["1D434","1D44D"],["1D468","1D481"],["1D49C","1D49C"],["1D49E","1D49F"],["1D4A2","1D4A2"],["1D4A5","1D4A6"],["1D4A9","1D4AC"],["1D4AE","1D4B5"],["1D4D0","1D4E9"],["1D504","1D505"],["1D507","1D50A"],["1D50D","1D514"],["1D516","1D51C"],["1D538","1D539"],["1D53B","1D53E"],["1D540","1D544"],["1D546","1D546"],["1D54A","1D550"],["1D56C","1D585"],["1D5A0","1D5B9"],["1D5D4", +"1D5ED"],["1D608","1D621"],["1D63C","1D655"],["1D670","1D689"],["1D6A8","1D6C0"],["1D6E2","1D6FA"],["1D71C","1D734"],["1D756","1D76E"],["1D790","1D7A8"],["1D7CA","1D7CA"]],M:"Mc|Me|Mn",Mc:[["903","903"],["93B","93B"],["93E","940"],["949","94C"],["94E","94F"],["982","983"],["9BE","9C0"],["9C7","9C8"],["9CB","9CC"],["9D7","9D7"],["A03","A03"],["A3E","A40"],["A83","A83"],["ABE","AC0"],["AC9","AC9"],["ACB","ACC"],["B02","B03"],["B3E","B3E"],["B40","B40"],["B47","B48"],["B4B","B4C"],["B57","B57"],["BBE", +"BBF"],["BC1","BC2"],["BC6","BC8"],["BCA","BCC"],["BD7","BD7"],["C01","C03"],["C41","C44"],["C82","C83"],["CBE","CBE"],["CC0","CC4"],["CC7","CC8"],["CCA","CCB"],["CD5","CD6"],["D02","D03"],["D3E","D40"],["D46","D48"],["D4A","D4C"],["D57","D57"],["D82","D83"],["DCF","DD1"],["DD8","DDF"],["DF2","DF3"],["F3E","F3F"],["F7F","F7F"],["102B","102C"],["1031","1031"],["1038","1038"],["103B","103C"],["1056","1057"],["1062","1064"],["1067","106D"],["1083","1084"],["1087","108C"],["108F","108F"],["109A","109C"], +["17B6","17B6"],["17BE","17C5"],["17C7","17C8"],["1923","1926"],["1929","192B"],["1930","1931"],["1933","1938"],["19B0","19C0"],["19C8","19C9"],["1A19","1A1B"],["1A55","1A55"],["1A57","1A57"],["1A61","1A61"],["1A63","1A64"],["1A6D","1A72"],["1B04","1B04"],["1B35","1B35"],["1B3B","1B3B"],["1B3D","1B41"],["1B43","1B44"],["1B82","1B82"],["1BA1","1BA1"],["1BA6","1BA7"],["1BAA","1BAA"],["1BAC","1BAD"],["1BE7","1BE7"],["1BEA","1BEC"],["1BEE","1BEE"],["1BF2","1BF3"],["1C24","1C2B"],["1C34","1C35"],["1CE1", +"1CE1"],["1CF2","1CF3"],["302E","302F"],["A823","A824"],["A827","A827"],["A880","A881"],["A8B4","A8C3"],["A952","A953"],["A983","A983"],["A9B4","A9B5"],["A9BA","A9BB"],["A9BD","A9C0"],["AA2F","AA30"],["AA33","AA34"],["AA4D","AA4D"],["AA7B","AA7B"],["AAEB","AAEB"],["AAEE","AAEF"],["AAF5","AAF5"],["ABE3","ABE4"],["ABE6","ABE7"],["ABE9","ABEA"],["ABEC","ABEC"],["11000","11000"],["11002","11002"],["11082","11082"],["110B0","110B2"],["110B7","110B8"],["1112C","1112C"],["11182","11182"],["111B3","111B5"], +["111BF","111C0"],["116AC","116AC"],["116AE","116AF"],["116B6","116B6"],["16F51","16F7E"],["1D165","1D166"],["1D16D","1D172"]],Me:[["488","489"],["20DD","20E0"],["20E2","20E4"],["A670","A672"]],Mn:[["300","36F"],["483","487"],["591","5BD"],["5BF","5BF"],["5C1","5C2"],["5C4","5C5"],["5C7","5C7"],["610","61A"],["64B","65F"],["670","670"],["6D6","6DC"],["6DF","6E4"],["6E7","6E8"],["6EA","6ED"],["711","711"],["730","74A"],["7A6","7B0"],["7EB","7F3"],["816","819"],["81B","823"],["825","827"],["829","82D"], +["859","85B"],["8E4","8FE"],["900","902"],["93A","93A"],["93C","93C"],["941","948"],["94D","94D"],["951","957"],["962","963"],["981","981"],["9BC","9BC"],["9C1","9C4"],["9CD","9CD"],["9E2","9E3"],["A01","A02"],["A3C","A3C"],["A41","A42"],["A47","A48"],["A4B","A4D"],["A51","A51"],["A70","A71"],["A75","A75"],["A81","A82"],["ABC","ABC"],["AC1","AC5"],["AC7","AC8"],["ACD","ACD"],["AE2","AE3"],["B01","B01"],["B3C","B3C"],["B3F","B3F"],["B41","B44"],["B4D","B4D"],["B56","B56"],["B62","B63"],["B82","B82"], +["BC0","BC0"],["BCD","BCD"],["C3E","C40"],["C46","C48"],["C4A","C4D"],["C55","C56"],["C62","C63"],["CBC","CBC"],["CBF","CBF"],["CC6","CC6"],["CCC","CCD"],["CE2","CE3"],["D41","D44"],["D4D","D4D"],["D62","D63"],["DCA","DCA"],["DD2","DD4"],["DD6","DD6"],["E31","E31"],["E34","E3A"],["E47","E4E"],["EB1","EB1"],["EB4","EB9"],["EBB","EBC"],["EC8","ECD"],["F18","F19"],["F35","F35"],["F37","F37"],["F39","F39"],["F71","F7E"],["F80","F84"],["F86","F87"],["F8D","F97"],["F99","FBC"],["FC6","FC6"],["102D","1030"], +["1032","1037"],["1039","103A"],["103D","103E"],["1058","1059"],["105E","1060"],["1071","1074"],["1082","1082"],["1085","1086"],["108D","108D"],["109D","109D"],["135D","135F"],["1712","1714"],["1732","1734"],["1752","1753"],["1772","1773"],["17B4","17B5"],["17B7","17BD"],["17C6","17C6"],["17C9","17D3"],["17DD","17DD"],["180B","180D"],["18A9","18A9"],["1920","1922"],["1927","1928"],["1932","1932"],["1939","193B"],["1A17","1A18"],["1A56","1A56"],["1A58","1A5E"],["1A60","1A60"],["1A62","1A62"],["1A65", +"1A6C"],["1A73","1A7C"],["1A7F","1A7F"],["1B00","1B03"],["1B34","1B34"],["1B36","1B3A"],["1B3C","1B3C"],["1B42","1B42"],["1B6B","1B73"],["1B80","1B81"],["1BA2","1BA5"],["1BA8","1BA9"],["1BAB","1BAB"],["1BE6","1BE6"],["1BE8","1BE9"],["1BED","1BED"],["1BEF","1BF1"],["1C2C","1C33"],["1C36","1C37"],["1CD0","1CD2"],["1CD4","1CE0"],["1CE2","1CE8"],["1CED","1CED"],["1CF4","1CF4"],["1DC0","1DE6"],["1DFC","1DFF"],["20D0","20DC"],["20E1","20E1"],["20E5","20F0"],["2CEF","2CF1"],["2D7F","2D7F"],["2DE0","2DFF"], +["302A","302D"],["3099","309A"],["A66F","A66F"],["A674","A67D"],["A69F","A69F"],["A6F0","A6F1"],["A802","A802"],["A806","A806"],["A80B","A80B"],["A825","A826"],["A8C4","A8C4"],["A8E0","A8F1"],["A926","A92D"],["A947","A951"],["A980","A982"],["A9B3","A9B3"],["A9B6","A9B9"],["A9BC","A9BC"],["AA29","AA2E"],["AA31","AA32"],["AA35","AA36"],["AA43","AA43"],["AA4C","AA4C"],["AAB0","AAB0"],["AAB2","AAB4"],["AAB7","AAB8"],["AABE","AABF"],["AAC1","AAC1"],["AAEC","AAED"],["AAF6","AAF6"],["ABE5","ABE5"],["ABE8", +"ABE8"],["ABED","ABED"],["FB1E","FB1E"],["FE00","FE0F"],["FE20","FE26"],["101FD","101FD"],["10A01","10A03"],["10A05","10A06"],["10A0C","10A0F"],["10A38","10A3A"],["10A3F","10A3F"],["11001","11001"],["11038","11046"],["11080","11081"],["110B3","110B6"],["110B9","110BA"],["11100","11102"],["11127","1112B"],["1112D","11134"],["11180","11181"],["111B6","111BE"],["116AB","116AB"],["116AD","116AD"],["116B0","116B5"],["116B7","116B7"],["16F8F","16F92"],["1D167","1D169"],["1D17B","1D182"],["1D185","1D18B"], +["1D1AA","1D1AD"],["1D242","1D244"],["E0100","E01EF"]],N:"Nd|Nl|No",Nd:[["30","39"],["660","669"],["6F0","6F9"],["7C0","7C9"],["966","96F"],["9E6","9EF"],["A66","A6F"],["AE6","AEF"],["B66","B6F"],["BE6","BEF"],["C66","C6F"],["CE6","CEF"],["D66","D6F"],["E50","E59"],["ED0","ED9"],["F20","F29"],["1040","1049"],["1090","1099"],["17E0","17E9"],["1810","1819"],["1946","194F"],["19D0","19D9"],["1A80","1A89"],["1A90","1A99"],["1B50","1B59"],["1BB0","1BB9"],["1C40","1C49"],["1C50","1C59"],["A620","A629"], +["A8D0","A8D9"],["A900","A909"],["A9D0","A9D9"],["AA50","AA59"],["ABF0","ABF9"],["FF10","FF19"],["104A0","104A9"],["11066","1106F"],["110F0","110F9"],["11136","1113F"],["111D0","111D9"],["116C0","116C9"],["1D7CE","1D7FF"]],Nl:[["16EE","16F0"],["2160","2182"],["2185","2188"],["3007","3007"],["3021","3029"],["3038","303A"],["A6E6","A6EF"],["10140","10174"],["10341","10341"],["1034A","1034A"],["103D1","103D5"],["12400","12462"]],No:[["B2","B3"],["B9","B9"],["BC","BE"],["9F4","9F9"],["B72","B77"],["BF0", +"BF2"],["C78","C7E"],["D70","D75"],["F2A","F33"],["1369","137C"],["17F0","17F9"],["19DA","19DA"],["2070","2070"],["2074","2079"],["2080","2089"],["2150","215F"],["2189","2189"],["2460","249B"],["24EA","24FF"],["2776","2793"],["2CFD","2CFD"],["3192","3195"],["3220","3229"],["3248","324F"],["3251","325F"],["3280","3289"],["32B1","32BF"],["A830","A835"],["10107","10133"],["10175","10178"],["1018A","1018A"],["10320","10323"],["10858","1085F"],["10916","1091B"],["10A40","10A47"],["10A7D","10A7E"],["10B58", +"10B5F"],["10B78","10B7F"],["10E60","10E7E"],["11052","11065"],["1D360","1D371"],["1F100","1F10A"]],P:"Pc|Pd|Pe|Pf|Pi|Po|Ps",Pc:[["5F","5F"],["203F","2040"],["2054","2054"],["FE33","FE34"],["FE4D","FE4F"],["FF3F","FF3F"]],Pd:[["2D","2D"],["58A","58A"],["5BE","5BE"],["1400","1400"],["1806","1806"],["2010","2015"],["2E17","2E17"],["2E1A","2E1A"],["2E3A","2E3B"],["301C","301C"],["3030","3030"],["30A0","30A0"],["FE31","FE32"],["FE58","FE58"],["FE63","FE63"],["FF0D","FF0D"]],Pe:[["29","29"],["5D","5D"], +["7D","7D"],["F3B","F3B"],["F3D","F3D"],["169C","169C"],["2046","2046"],["207E","207E"],["208E","208E"],["232A","232A"],["2769","2769"],["276B","276B"],["276D","276D"],["276F","276F"],["2771","2771"],["2773","2773"],["2775","2775"],["27C6","27C6"],["27E7","27E7"],["27E9","27E9"],["27EB","27EB"],["27ED","27ED"],["27EF","27EF"],["2984","2984"],["2986","2986"],["2988","2988"],["298A","298A"],["298C","298C"],["298E","298E"],["2990","2990"],["2992","2992"],["2994","2994"],["2996","2996"],["2998","2998"], +["29D9","29D9"],["29DB","29DB"],["29FD","29FD"],["2E23","2E23"],["2E25","2E25"],["2E27","2E27"],["2E29","2E29"],["3009","3009"],["300B","300B"],["300D","300D"],["300F","300F"],["3011","3011"],["3015","3015"],["3017","3017"],["3019","3019"],["301B","301B"],["301E","301F"],["FD3F","FD3F"],["FE18","FE18"],["FE36","FE36"],["FE38","FE38"],["FE3A","FE3A"],["FE3C","FE3C"],["FE3E","FE3E"],["FE40","FE40"],["FE42","FE42"],["FE44","FE44"],["FE48","FE48"],["FE5A","FE5A"],["FE5C","FE5C"],["FE5E","FE5E"],["FF09", +"FF09"],["FF3D","FF3D"],["FF5D","FF5D"],["FF60","FF60"],["FF63","FF63"]],Pf:[["BB","BB"],["2019","2019"],["201D","201D"],["203A","203A"],["2E03","2E03"],["2E05","2E05"],["2E0A","2E0A"],["2E0D","2E0D"],["2E1D","2E1D"],["2E21","2E21"]],Pi:[["AB","AB"],["2018","2018"],["201B","201C"],["201F","201F"],["2039","2039"],["2E02","2E02"],["2E04","2E04"],["2E09","2E09"],["2E0C","2E0C"],["2E1C","2E1C"],["2E20","2E20"]],Po:[["21","23"],["25","27"],["2A","2A"],["2C","2C"],["2E","2F"],["3A","3B"],["3F","40"],["5C", +"5C"],["A1","A1"],["A7","A7"],["B6","B7"],["BF","BF"],["37E","37E"],["387","387"],["55A","55F"],["589","589"],["5C0","5C0"],["5C3","5C3"],["5C6","5C6"],["5F3","5F4"],["609","60A"],["60C","60D"],["61B","61B"],["61E","61F"],["66A","66D"],["6D4","6D4"],["700","70D"],["7F7","7F9"],["830","83E"],["85E","85E"],["964","965"],["970","970"],["AF0","AF0"],["DF4","DF4"],["E4F","E4F"],["E5A","E5B"],["F04","F12"],["F14","F14"],["F85","F85"],["FD0","FD4"],["FD9","FDA"],["104A","104F"],["10FB","10FB"],["1360","1368"], +["166D","166E"],["16EB","16ED"],["1735","1736"],["17D4","17D6"],["17D8","17DA"],["1800","1805"],["1807","180A"],["1944","1945"],["1A1E","1A1F"],["1AA0","1AA6"],["1AA8","1AAD"],["1B5A","1B60"],["1BFC","1BFF"],["1C3B","1C3F"],["1C7E","1C7F"],["1CC0","1CC7"],["1CD3","1CD3"],["2016","2017"],["2020","2027"],["2030","2038"],["203B","203E"],["2041","2043"],["2047","2051"],["2053","2053"],["2055","205E"],["2CF9","2CFC"],["2CFE","2CFF"],["2D70","2D70"],["2E00","2E01"],["2E06","2E08"],["2E0B","2E0B"],["2E0E", +"2E16"],["2E18","2E19"],["2E1B","2E1B"],["2E1E","2E1F"],["2E2A","2E2E"],["2E30","2E39"],["3001","3003"],["303D","303D"],["30FB","30FB"],["A4FE","A4FF"],["A60D","A60F"],["A673","A673"],["A67E","A67E"],["A6F2","A6F7"],["A874","A877"],["A8CE","A8CF"],["A8F8","A8FA"],["A92E","A92F"],["A95F","A95F"],["A9C1","A9CD"],["A9DE","A9DF"],["AA5C","AA5F"],["AADE","AADF"],["AAF0","AAF1"],["ABEB","ABEB"],["FE10","FE16"],["FE19","FE19"],["FE30","FE30"],["FE45","FE46"],["FE49","FE4C"],["FE50","FE52"],["FE54","FE57"], +["FE5F","FE61"],["FE68","FE68"],["FE6A","FE6B"],["FF01","FF03"],["FF05","FF07"],["FF0A","FF0A"],["FF0C","FF0C"],["FF0E","FF0F"],["FF1A","FF1B"],["FF1F","FF20"],["FF3C","FF3C"],["FF61","FF61"],["FF64","FF65"],["10100","10102"],["1039F","1039F"],["103D0","103D0"],["10857","10857"],["1091F","1091F"],["1093F","1093F"],["10A50","10A58"],["10A7F","10A7F"],["10B39","10B3F"],["11047","1104D"],["110BB","110BC"],["110BE","110C1"],["11140","11143"],["111C5","111C8"],["12470","12473"]],Ps:[["28","28"],["5B", +"5B"],["7B","7B"],["F3A","F3A"],["F3C","F3C"],["169B","169B"],["201A","201A"],["201E","201E"],["2045","2045"],["207D","207D"],["208D","208D"],["2329","2329"],["2768","2768"],["276A","276A"],["276C","276C"],["276E","276E"],["2770","2770"],["2772","2772"],["2774","2774"],["27C5","27C5"],["27E6","27E6"],["27E8","27E8"],["27EA","27EA"],["27EC","27EC"],["27EE","27EE"],["2983","2983"],["2985","2985"],["2987","2987"],["2989","2989"],["298B","298B"],["298D","298D"],["298F","298F"],["2991","2991"],["2993", +"2993"],["2995","2995"],["2997","2997"],["29D8","29D8"],["29DA","29DA"],["29FC","29FC"],["2E22","2E22"],["2E24","2E24"],["2E26","2E26"],["2E28","2E28"],["3008","3008"],["300A","300A"],["300C","300C"],["300E","300E"],["3010","3010"],["3014","3014"],["3016","3016"],["3018","3018"],["301A","301A"],["301D","301D"],["FD3E","FD3E"],["FE17","FE17"],["FE35","FE35"],["FE37","FE37"],["FE39","FE39"],["FE3B","FE3B"],["FE3D","FE3D"],["FE3F","FE3F"],["FE41","FE41"],["FE43","FE43"],["FE47","FE47"],["FE59","FE59"], +["FE5B","FE5B"],["FE5D","FE5D"],["FF08","FF08"],["FF3B","FF3B"],["FF5B","FF5B"],["FF5F","FF5F"],["FF62","FF62"]],S:"Sc|Sk|Sm|So",Sc:[["24","24"],["A2","A5"],["58F","58F"],["60B","60B"],["9F2","9F3"],["9FB","9FB"],["AF1","AF1"],["BF9","BF9"],["E3F","E3F"],["17DB","17DB"],["20A0","20BA"],["A838","A838"],["FDFC","FDFC"],["FE69","FE69"],["FF04","FF04"],["FFE0","FFE1"],["FFE5","FFE6"]],Sk:[["5E","5E"],["60","60"],["A8","A8"],["AF","AF"],["B4","B4"],["B8","B8"],["2C2","2C5"],["2D2","2DF"],["2E5","2EB"], +["2ED","2ED"],["2EF","2FF"],["375","375"],["384","385"],["1FBD","1FBD"],["1FBF","1FC1"],["1FCD","1FCF"],["1FDD","1FDF"],["1FED","1FEF"],["1FFD","1FFE"],["309B","309C"],["A700","A716"],["A720","A721"],["A789","A78A"],["FBB2","FBC1"],["FF3E","FF3E"],["FF40","FF40"],["FFE3","FFE3"]],Sm:[["2B","2B"],["3C","3E"],["7C","7C"],["7E","7E"],["AC","AC"],["B1","B1"],["D7","D7"],["F7","F7"],["3F6","3F6"],["606","608"],["2044","2044"],["2052","2052"],["207A","207C"],["208A","208C"],["2118","2118"],["2140","2144"], +["214B","214B"],["2190","2194"],["219A","219B"],["21A0","21A0"],["21A3","21A3"],["21A6","21A6"],["21AE","21AE"],["21CE","21CF"],["21D2","21D2"],["21D4","21D4"],["21F4","22FF"],["2308","230B"],["2320","2321"],["237C","237C"],["239B","23B3"],["23DC","23E1"],["25B7","25B7"],["25C1","25C1"],["25F8","25FF"],["266F","266F"],["27C0","27C4"],["27C7","27E5"],["27F0","27FF"],["2900","2982"],["2999","29D7"],["29DC","29FB"],["29FE","2AFF"],["2B30","2B44"],["2B47","2B4C"],["FB29","FB29"],["FE62","FE62"],["FE64", +"FE66"],["FF0B","FF0B"],["FF1C","FF1E"],["FF5C","FF5C"],["FF5E","FF5E"],["FFE2","FFE2"],["FFE9","FFEC"],["1D6C1","1D6C1"],["1D6DB","1D6DB"],["1D6FB","1D6FB"],["1D715","1D715"],["1D735","1D735"],["1D74F","1D74F"],["1D76F","1D76F"],["1D789","1D789"],["1D7A9","1D7A9"],["1D7C3","1D7C3"],["1EEF0","1EEF1"]],So:[["A6","A6"],["A9","A9"],["AE","AE"],["B0","B0"],["482","482"],["60E","60F"],["6DE","6DE"],["6E9","6E9"],["6FD","6FE"],["7F6","7F6"],["9FA","9FA"],["B70","B70"],["BF3","BF8"],["BFA","BFA"],["C7F", +"C7F"],["D79","D79"],["F01","F03"],["F13","F13"],["F15","F17"],["F1A","F1F"],["F34","F34"],["F36","F36"],["F38","F38"],["FBE","FC5"],["FC7","FCC"],["FCE","FCF"],["FD5","FD8"],["109E","109F"],["1390","1399"],["1940","1940"],["19DE","19FF"],["1B61","1B6A"],["1B74","1B7C"],["2100","2101"],["2103","2106"],["2108","2109"],["2114","2114"],["2116","2117"],["211E","2123"],["2125","2125"],["2127","2127"],["2129","2129"],["212E","212E"],["213A","213B"],["214A","214A"],["214C","214D"],["214F","214F"],["2195", +"2199"],["219C","219F"],["21A1","21A2"],["21A4","21A5"],["21A7","21AD"],["21AF","21CD"],["21D0","21D1"],["21D3","21D3"],["21D5","21F3"],["2300","2307"],["230C","231F"],["2322","2328"],["232B","237B"],["237D","239A"],["23B4","23DB"],["23E2","23F3"],["2400","2426"],["2440","244A"],["249C","24E9"],["2500","25B6"],["25B8","25C0"],["25C2","25F7"],["2600","266E"],["2670","26FF"],["2701","2767"],["2794","27BF"],["2800","28FF"],["2B00","2B2F"],["2B45","2B46"],["2B50","2B59"],["2CE5","2CEA"],["2E80","2E99"], +["2E9B","2EF3"],["2F00","2FD5"],["2FF0","2FFB"],["3004","3004"],["3012","3013"],["3020","3020"],["3036","3037"],["303E","303F"],["3190","3191"],["3196","319F"],["31C0","31E3"],["3200","321E"],["322A","3247"],["3250","3250"],["3260","327F"],["328A","32B0"],["32C0","32FE"],["3300","33FF"],["4DC0","4DFF"],["A490","A4C6"],["A828","A82B"],["A836","A837"],["A839","A839"],["AA77","AA79"],["FDFD","FDFD"],["FFE4","FFE4"],["FFE8","FFE8"],["FFED","FFEE"],["FFFC","FFFD"],["10137","1013F"],["10179","10189"],["10190", +"1019B"],["101D0","101FC"],["1D000","1D0F5"],["1D100","1D126"],["1D129","1D164"],["1D16A","1D16C"],["1D183","1D184"],["1D18C","1D1A9"],["1D1AE","1D1DD"],["1D200","1D241"],["1D245","1D245"],["1D300","1D356"],["1F000","1F02B"],["1F030","1F093"],["1F0A0","1F0AE"],["1F0B1","1F0BE"],["1F0C1","1F0CF"],["1F0D1","1F0DF"],["1F110","1F12E"],["1F130","1F16B"],["1F170","1F19A"],["1F1E6","1F202"],["1F210","1F23A"],["1F240","1F248"],["1F250","1F251"],["1F300","1F320"],["1F330","1F335"],["1F337","1F37C"],["1F380", +"1F393"],["1F3A0","1F3C4"],["1F3C6","1F3CA"],["1F3E0","1F3F0"],["1F400","1F43E"],["1F440","1F440"],["1F442","1F4F7"],["1F4F9","1F4FC"],["1F500","1F53D"],["1F540","1F543"],["1F550","1F567"],["1F5FB","1F640"],["1F645","1F64F"],["1F680","1F6C5"],["1F700","1F773"]],Z:"Zl|Zp|Zs",Zl:[["2028","2028"]],Zp:[["2029","2029"]],Zs:[["20","20"],["A0","A0"],["1680","1680"],["180E","180E"],["2000","200A"],["202F","202F"],["205F","205F"],["3000","3000"]],"~i":[["3A","3A"],["41","5A"],["5F","5F"],["61","7A"],["C0", +"D6"],["D8","F6"],["F8","2FF"],["370","37D"],["37F","1FFF"],["200C","200D"],["2070","218F"],["2C00","2FEF"],["3001","D7FF"],["F900","FDCF"],["FDF0","FFFD"],["10000","EFFFF"]],"~c":[["2D","2E"],["30","3A"],["41","5A"],["5F","5F"],["61","7A"],["B7","B7"],["C0","D6"],["D8","F6"],["F8","37D"],["37F","1FFF"],["200C","200D"],["203F","2040"],["2070","218F"],["2C00","2FEF"],["3001","D7FF"],["F900","FDCF"],["FDF0","FFFD"],["10000","EFFFF"]],w:"Ll|Lm|Lo|Lt|Lu|Mc|Me|Mn|Nd|Nl|No|Sc|Sk|Sm|So"},wa={"http://www.w3.org/2005/xpath-functions":{QName:[2], +abs:[1],"accumulator-after":[1],"accumulator-before":[1],"adjust-date-to-timezone":[1,2],"adjust-dateTime-to-timezone":[1,2],"adjust-time-to-timezone":[1,2],"analyze-string":[2,3],apply:[2],"available-environment-variables":[0],"available-system-properties":[0],avg:[1],"base-uri":[0,1],"boolean":[1],ceiling:[1],"codepoint-equal":[2],"codepoints-to-string":[1],"collation-key":[1,2],collection:[0,1],compare:[2,3],concat:[3],contains:[2,3],"contains-token":[2,3],"copy-of":[0,1],count:[1],current:[0], +"current-date":[0],"current-dateTime":[0],"current-group":[0],"current-grouping-key":[0],"current-merge-group":[0,1],"current-merge-key":[0],"current-output-uri":[0],"current-time":[0],data:[0,1],dateTime:[2],"day-from-date":[1],"day-from-dateTime":[1],"days-from-duration":[1],"deep-equal":[2,3],"default-collation":[0],"default-language":[0],"distinct-values":[1,2],doc:[1],"doc-available":[1],document:[1,2],"document-uri":[0,1],"element-available":[1],"element-with-id":[1,2],empty:[1],"encode-for-uri":[1], +"ends-with":[2,3],"environment-variable":[1],error:[0,1,2,3],"escape-html-uri":[1],"exactly-one":[1],exists:[1],"false":[0],filter:[2],floor:[1],"fold-left":[3],"fold-right":[3],"for-each":[2],"for-each-pair":[3],"format-date":[2,5],"format-dateTime":[2,5],"format-integer":[2,3],"format-number":[2,3],"format-time":[2,5],"function-arity":[1],"function-available":[1,2],"function-lookup":[2],"function-name":[1],"generate-id":[0,1],"has-children":[0,1],head:[1],"hours-from-dateTime":[1],"hours-from-duration":[1], +"hours-from-time":[1],id:[1,2],idref:[1,2],"implicit-timezone":[0],"in-scope-prefixes":[1],"index-of":[2,3],innermost:[1],"insert-before":[3],"iri-to-uri":[1],"json-doc":[1,2],"json-to-xml":[1,2],key:[2,3],lang:[1,2],last:[0],"load-xquery-module":[1,2],"local-name":[0,1],"local-name-from-QName":[1],"lower-case":[1],matches:[2,3],max:[1,2],min:[1,2],"minutes-from-dateTime":[1],"minutes-from-duration":[1],"minutes-from-time":[1],"month-from-date":[1],"month-from-dateTime":[1],"months-from-duration":[1], +name:[0,1],"namespace-uri":[0,1],"namespace-uri-for-prefix":[2],"namespace-uri-from-QName":[1],nilled:[0,1],"node-name":[0,1],"normalize-space":[0,1],"normalize-unicode":[1,2],not:[1],number:[0,1],"one-or-more":[1],outermost:[1],"parse-ietf-date":[1],"parse-json":[1,2],"parse-xml":[1],"parse-xml-fragment":[1],path:[0,1],position:[0],"prefix-from-QName":[1],put:[2],"random-number-generator":[0,1],"regex-group":[1],remove:[2],replace:[3,4],"resolve-QName":[2],"resolve-uri":[1,2],reverse:[1],root:[0, +1],round:[1,2],"round-half-to-even":[1,2],"seconds-from-dateTime":[1],"seconds-from-duration":[1],"seconds-from-time":[1],serialize:[1,2],"serialize-json":[1,2],snapshot:[0,1],sort:[1,3],"starts-with":[2,3],"static-base-uri":[0],"stream-available":[1],string:[0,1],"string-join":[1,2],"string-length":[0,1],"string-to-codepoints":[1],subsequence:[2,3],substring:[2,3],"substring-after":[2,3],"substring-before":[2,3],sum:[1,2],"system-property":[1],tail:[1],"timezone-from-date":[1],"timezone-from-dateTime":[1], +"timezone-from-time":[1],tokenize:[1,2,3],trace:[1,2],transform:[1],translate:[3],"true":[0],"type-available":[1],unordered:[1],"unparsed-entity-public-id":[1,2],"unparsed-entity-uri":[1,2],"unparsed-text":[1,2],"unparsed-text-available":[1,2],"unparsed-text-lines":[1,2],"upper-case":[1],"uri-collection":[0,1],"xml-to-json":[1,2],"year-from-date":[1],"year-from-dateTime":[1],"years-from-duration":[1],"zero-or-one":[1]},"http://www.w3.org/2005/xpath-functions/array":{append:[2],filter:[2],flatten:[1], +"fold-left":[3],"fold-right":[3],"for-each":[2],"for-each-pair":[3],get:[2],head:[1],"insert-before":[3],join:[1],remove:[2],reverse:[1],size:[1],sort:[1,2],subarray:[2,3],tail:[1]},"http://www.w3.org/2005/xpath-functions/map":{contains:[2],entry:[2],"for-each":[2],get:[2],keys:[1],merge:[1],put:[3],remove:[2],size:[1]},"http://www.w3.org/2005/xpath-functions/math":{acos:[1],asin:[1],atan:[1],atan2:[2],cos:[1],exp:[1],exp10:[1],log:[1],log10:[1],pi:[0],pow:[2],sin:[1],sqrt:[1],tan:[1]},"http://www.w3.org/2001/XMLSchema":{numeric:[1], +string:[1],"boolean":[1],duration:[1],dateTime:[1],date:[1],time:[1],gYearMonth:[1],gMonth:[1],gMonthDay:[1],gYear:[1],gDay:[1],hexBinary:[1],base64Binary:[1],anyURI:[1],QName:[1],untypedAtomic:[1],decimal:[1],"float":[1],"double":[1],integer:[1],nonPositiveInteger:[1],negativeInteger:[1],"long":[1],"int":[1],"short":[1],"byte":[1],nonNegativeInteger:[1],positiveInteger:[1],unsignedLong:[1],unsignedInt:[1],unsignedShort:[1],unsignedByte:[1],yearMonthDuration:[1],dayTimeDuration:[1],dateTimeStamp:[1], +normalizedString:[1],token:[1],language:[1],Name:[1],NMTOKEN:[1],NCName:[1],ID:[1],IDREF:[1],ENTITY:[1],NMTOKENS:[1],ENTITIES:[1],IDREFS:[1],error:[1]},"http://saxonica.com/ns/interactiveXSLT":{apply:[2],call:[3],contains:[2],eval:[1],event:[0],get:[2],location:[0],page:[0],"query-params":[0],source:[0],style:[1],window:[0]}},xa={accept:{},accumulator:{},"accumulator-rule":{},"analyze-string":{},"apply-imports":{},"apply-templates":{},assert:{},attribute:{},"attribute-set":{},"break":{},"call-template":{}, +"catch":{},"character-map":{},choose:{},comment:{},"context-item":{},copy:{},"copy-of":{},"decimal-format":{},document:{},element:{},evaluate:{},expose:{},fallback:{},"for-each":{},"for-each-group":{},fork:{},"function":{},"global-context-item":{},"if":{},"import":{},include:{},iterate:{},key:{},map:{},"map-entry":{},"matching-substring":{},merge:{},"merge-action":{},"merge-key":{},"merge-source":{},message:{},mode:{},namespace:{},"namespace-alias":{},"next-iteration":{},"next-match":{},"non-matching-substring":{}, +number:{},"on-completion":{},"on-empty":{},"on-non-empty":{},otherwise:{},output:{},"output-character":{},override:{},"package":{},param:{},"perform-sort":{},"preserve-space":{},"processing-instruction":{},"result-document":{},sequence:{},sort:{},"source-document":{},"strip-space":{},stylesheet:{},template:{},text:{},transform:{},"try":{},"use-package":{},"value-of":{},variable:{},when:{},"where-populated":{},"with-param":{}};var ya=function(){var a;return{getPlatform:function(){return a},setPlatform:function(b){a=b},gj:function(b,h,A,P,q){return a.addMultipleDocs(b,h,A,P,q)},createDocument:function(){return a.createDocument()},ei:function(){return a.getDefaultDeliverMessage()},inBrowser:function(){return a.inBrowser()},isHTMLElement:function(b){return a.isHTMLElement(b)},makeBuffer:function(b,h){return a.makeBuffer(b,h)},makeHttpRequest:function(b,h,A,P){return a.makeHttpRequest(b,h,A,P)},parseXmlFromString:function(b, +h,A){return a.parseXmlFromString(b,h,A)},readFile:function(b,h){return a.readFile(b,h)},resource:function(b){return a.resource(b)},resourcePromise:function(b){return a.resourcePromise(b)},resolveUri:function(b,h){return a.resolveUri(b,h)},Qa:function(b){return a.saxonPrint(b)},newURL:function(b,h){return a.newURL(b,h)},fileURL:function(b){return a.fileURL(b)},baseURL:function(){return a.baseURL()},systemProperties:function(){return{version:"3.0",vendor:"Saxonica","vendor-url":"http://www.saxonica.com/", +"product-name":"SaxonJS","product-version":"2.7","is-schema-aware":"no","supports-serialization":"yes","supports-backwards-compatibility":"yes","supports-namespace-axis":"yes","supports-streaming":"no","supports-dynamic-evaluation":"yes","supports-higher-order-functions":"yes","xpath-version":"3.1","xsd-version":"1.1"}},extraProperties:function(){return a.extraProperties},toUTF8:function(b){return a.toUTF8(b)},fromUTF8:function(b){return a.fromUTF8(b)},Ij:function(){return a.globalObject}}}();function za(a,b){function h(A,P){for(;A;){if(A[P])return A[P];A=A.parentNode}return null}a.xsltLineNr=h(b,"line");a.xsltModule=h(b,"module")} +class J extends Error{constructor(a="SaxonJS run-time error",b="FORG0001",h=null){super();this.name="XError";this.message=a;this.code=b;h&&za(this,h)}toString(){return this.name+":"+this.message+"; code:"+this.code}getStackTrace(){return null.getStackTrace()}getMessage(){let a="Error "+this.code;null!=this.xsltLineNr&&(a+=" at "+this.xsltModule+"#"+this.xsltLineNr);return a+="\n "+this.message}Ad(){return this.code}}oa=J.prototype;oa.code=null;oa.errorObject=null;oa.xsltLineNr=null; +oa.xsltModule=null;oa.Le=!1;const Aa=function(){function a(e){P("Internal error: "+e+"\n"+Error().stack);throw new J("Internal error: "+e,"SXJS0004");}function b(e){if(null===e)return"#null";if("undefined"===typeof e)return"#undefined";let l;if(e.showValue)return e.showValue();if(e.N)return"expression "+e.N;if(q&&q.Q(e)){if(q.ke(e))return"attribute @"+e.name+"='"+e.value+"'";if(q.Cd(e))return"ns:"+e.prefix+"="+e.q;l={1:"element <"+e.tagName+">",2:"attribute @"+e.name,3:"text:"+(e.nodeValue?e.nodeValue.substring(0,8):"''"),7:"pi: "+ +e.target+"("+e.tagName+")",8:"comment ("+e.nodeValue+")",9:"document "+(e._saxonDocumentNumber?"#"+e._saxonDocumentNumber:"(No nr / #0)"),11:"docFrag"}[e.nodeType];if("9"===e.nodeType||"11"===e.nodeType){var z;for(z=0;z"+b(e.childNodes[z])}return l}if(e.code)return"atomic:"+e.code+"('"+e.toString()+"')";if("object"===typeof e&&"length"in e){if(1===e.length)return b(e[0]);l="(";for(z=0;zz;z++)0!==z&&(l+=","),l+=b(e[z]);4<=e.length&&(l+=",...("+e.length+")"); +return l+")"}return"function"===typeof e?e.toString():"("+typeof e+") "+e}function h(e){return"{'N':'"+e.N+"','C':["+(e.C||[]).map(l=>h(l)).join(",")+"]}"}function A(e,l){for(;e;){if(e[l])return e[l];e=e.parentNode}return null}function P(e,l=1,z){let v=g;z&&(v=z);l<=v&&ya.getPlatform().saxonPrint(e)}let q,g=1;Error.stackTraceLimit=100;return{ba:function(e,l="assertion failed"){e||a(l)},fa:a,location:function(e){return A(e,"module")+"#"+A(e,"line")},pk:function(e){q=e},Qa:P,showValue:b,Ji:function(e){return e.showValue? +e.showValue():q&&q.Q(e)?b(e):e.code?"atomic:"+e.code+"('"+e.toString()+"')":e.Cj?e.toString():"("+typeof e+") "+e},yk:function(e){if(!e)return"null expr";let l=e.N||"?";for(let z in e)e.hasOwnProperty(z)&&!["C","N","parentNode","ELAB","PUSH"].includes(z)&&(l+=" "+z+"="+e[z]);e.C&&(l+=" ("+e.C.map(z=>z.N).join(",")+")");return l+=" at "+this.location(e)},hm:h,getLogLevel:function(){return g},setLogLevel:function(e){"number"==typeof e&&(g=e)}}}();function Da(a){return a.replace(/[ \n\r\t]+/g," ").replace(/^[ ]|[ ]$/g,"")}function Ea(a){if(32>a&&![9,10,13].includes(a)||55295a||65533a||1114111a?-1:0===a?0:1}return a65535b.codePointAt(0))}function Ja(a){return String.fromCodePoint(...a.map(Ea))}class La{};var Ma=function(){function a(){null===h&&(h=ya.resource("regexCategories"));return h}function b(g,e,l=null,z=null){function v(x,E){function B(V){for(V=V.toString(16);4>V.length;)V="0"+V;return"\\u"+(A&&4=aa&&V.push([aa,ja])}w=w[w.length-1][1];(A||65535>w)&&V.push([w+1,A?1114111:65535])}w="";for(M=0;MV[M][1])w+=B(V[M][0]), +V[M][1]>V[M][0]&&(w+="-"+B(V[M][1]));V=w;ha||(V="["+V+"]");return V}function H(V){return V.sort(function(ha,w){return ha[0]-w[0]})}function S(V,ha,w,M){var aa=[];Array.isArray(V)||p("Ranges must be array");V.forEach(function(ja){aa.push([parseInt(ja[0],16),parseInt(ja[1],16)])});w&&M&&H(aa);return L(aa,ha,w)}var C=x.charAt(E+1);0>"nrt\\|.-^?*+{}()[]pPsSiIcCdDwW$".indexOf(C)&&(0!==m||!/[0-9]/.test(C))&&p("\\"+C+" is not allowed in XPath regular expressions");switch(C){case "p":case "P":var Z=x.indexOf("}", +E);x=x.substring(E+3,Z);G("x")&&(x=x.replace(/[ \n\r\t]+/g,""));var K=a();(E=K[x])||p("Unknown category "+x);if(1===x.length){var X=[];E.split("|").forEach(function(w){X=X.concat(K[w])})}else X=E;I+=S(X,0=n&&/[0-9]/.test(x.charAt(E+2))&&(I+="(?:)"),E++):(I+="\\"+C,E++)}return{lk:I,i:E}}function G(x){return 0<=e.indexOf(x)}function p(x){throw new J("Invalid XPath regular expression: "+x,"FORX0002");}let f=0;e=e?e.toString():"";if(!A&&l&&Ha(l))throw new J("Cannot handle non-BMP characters with regular expressions in this browser", +"SXJS0002");l=(G("i")?"i":"")+(G("m")?"m":"")+(G("g")?"g":"")+(A?"u":"");if(G("j"))return new RegExp(g,e.replace("j",""));if(G("q"))return new RegExp(g.replace(/[\[\]\/\{\}\(\)\*\+\?\.\\^$|]/g,"\\$&"),l);let I="";const D=[[58,58],[65,90],[95,95],[97,122],[192,214],[216,246],[248,767],[880,893],[895,8191],[8204,8205],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],r=[[45,46],[48,58],[65,90],[95,95],[97,122],[183,183],[192,214],[216,246],[248,893],[895,8191],[8204, +8205],[8255,8256],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],c=[],d=[];let n=1,m=0,u=!1;var Q=!1;for(var ma=0;maQ||!/^[0-9]+(,[0-9]*)?$/.test(g.substring(ma+1,Q)))&&p("Invalid quantifier {"+g.substring(ma+1,Q+1)),Q=!1);I+=x;break;case " ":case "\n":case "\r":case "\t":if(!G("x")||0=this.value.length)return this.value;let a=this.g;const b=this.value.length;if(0===a&&0b+h.toString(16).padStart(2,"0"),"").toUpperCase()} +class bb extends Ra{constructor(a,b="AX"){super(b);if(!(a instanceof Uint8Array))throw new J("Uint8Array expected");this.value=a}b(){return/^A[X2]$/}toString(){if("AX"===this.code)var a=ab(this.value);else{{a=this.value;var b=0;let g=0,e=[];if(0===a.length)a="";else{do{var h=a[b++];var A=a[b++];var P=a[b++];var q=h<<16|A<<8|P;h=q>>18&63;A=q>>12&63;P=q>>6&63;q&=63;e[g++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(h)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(A)+ +"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(P)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(q)}while(bh===b[A])}return Za(this.code, +a.code)}hashCode(){return(new Ya(ab(this.value.slice(0,8)))).hashCode()}matchKey(){return("AX"===this.code?"h":"i")+this.toString()}} +class Va extends Ta{constructor(a,b="AO"){super(b);this.value=a;"number"!==typeof a&&Aa.fa("type of value supplied to XdmDouble is not number: "+typeof a)}b(){return/^A[OF]$/}toString(){if(0===this.value)return 0>1/this.value?"-0":"0";if(this.value===Number.POSITIVE_INFINITY)return"INF";if(this.value===Number.NEGATIVE_INFINITY)return"-INF";var a=this.value,b=Math.abs(a);if(1E6<=b||1E-6>b){b=a.toExponential();const h=b.indexOf("e");a=b.substring(0,h);b=b.substring(h+1);"AF"===this.code&&(a=parseFloat(a), +a=(0>a?a-5E-8:a+5E-8).toString(),a=a.substring(0,a.indexOf(".")+8),a=a.replace(/\.?0+$/,""));a.includes(".")||(a+=".0");return a+"E"+b.replace("+","")}return"AF"===this.code&&0!==a%1?(b=(0>a?a-5E-8:a+5E-8).toString(),b=b.substring(0,b.indexOf(".")+6),b.replace(/0+$/,"")):a.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?(a=a.toNumber(),"AF"===this.code&&Math.fround&&(a=Math.fround(a)),this.valuethis.value?"-INF":"INF"}matchKey(){return"n"+this.hashCode()}toNumber(){return this.value}toDouble(){return this}abs(){return new Va(Math.abs(this.value),this.code)}tf(){return new Va(-this.value,this.code)}mg(){return new Va(Math.ceil(this.value),this.code)}floor(){return new Va(Math.floor(this.value), +this.code)}round(a){0===a?a=Math.round(this.value):(a=Math.pow(10,-a),a*=Math.round(this.value/a));return new Va(a,this.code)}wf(a){return isFinite(this.value)?(a=(new db(qa(this.value))).wf(a),0===a.toNumber()&&0>this.value&&(a=Sa.XS.double.fromString("-0")),Sa.codes[this.code].I(a)):this}} +class cb extends Ta{constructor(a){super("ADI");"number"!==typeof a&&Aa.fa("type of value supplied to XdmInteger is not number: "+typeof a);this.value=a}b(){return/^ADI/}toString(){return this.value.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?this.value-a.toNumber():Za(this.code,a.code)}hashCode(){return $a(this.value)}Qg(a){return a instanceof Va||a instanceof cb?this.value===a.value:a instanceof db?Sa.XS.$a.I(this).equals(a):!1}matchKey(){return"n"+this.hashCode()}toDouble(){return new Va(this.value)}toNumber(){return this.value}toBig(){return new qa(this.value)}abs(){return new cb(Math.abs(this.value))}tf(){return new cb(-this.value)}mg(){return this}floor(){return this}round(a){return 0> +a?(a=Math.pow(10,-a),new cb(Math.round(this.value/a)*a)):this}wf(a){return 0>a?(a=Math.pow(10,-a),new cb(parseInt(qa(this.value).Ib(a,100,2).round(0,2).times(a),10))):this}} +class db extends Ta{constructor(a,b="AD"){super(b);this.value=new qa(a)}b(){return/^AD/}toString(){return this.value.toFixed()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a instanceof db?this.value.eb(a.value):/^AD/.test(a.code)?this.value.eb(a.toBig()):a.isNumeric()?this.value.eb(new qa(a.toDouble())):Za(this.code,a.code)}hashCode(){const a=this.value;return a.sf(qa(1)).qj()&&a.abs().$j()?this.toNumber().toString(36):this.toString().substring(0,8)}Qg(a){return a instanceof Va||a instanceof +cb?0===this.compareTo(Sa.XS.$a.I(a)):a instanceof db?0===this.compareTo(a):!1}matchKey(){return"n"+this.hashCode()}toBig(){return this.value}toDouble(){return new Va(parseFloat(this.value.toFixed()))}toNumber(){return parseFloat(this.value.toFixed())}abs(){return new db(this.value.abs(),this.code)}tf(){var a=qa(this.value);a.ha=-a.ha;return new db(a,"AD"===this.code?"AD":"ADI")}mg(){return new db(this.value.round(0,0>this.value.ha?0:3),this.code)}floor(){return new db(this.value.round(0,0>this.value.ha? +3:0),this.code)}round(a){function b(q,g){q=new qa(q);q.e+=g;return q}let h=this.value,A=0;0>a&&(A=a,a=0,h=b(h,A));const P=0a?(a=qa(10).pow(-a),a=this.value.Ib(a,100,2).round(0,2).times(a)):a=this.value.round(a,2);return new db(a,"AD"===this.code?"AD":"ADI")}} +class eb extends Ra{constructor(a){super("AB");"boolean"!==typeof a&&Aa.fa("type of value supplied to XdmBoolean is not boolean: "+typeof a);this.value=a}b(){return/^AB$/}toString(){return this.value.toString()}toBoolean(){return this.value}compareTo(a){return a instanceof eb?(this.value?1:0)-(a.value?1:0):Za(this.code,a.code)}equals(a){return 0===this.compareTo(a)}hashCode(){return this.value.toString()}matchKey(){return"b"+this.toString()}} +class fb extends Ra{constructor(a,b,h){super("AQ");this.prefix=a=a?a:"";this.q=b?b:"";this.local=h;if(""!==a&&!Ma.isNCName(a))throw new J("Invalid prefix: '"+a+"'","FORG0001");if(!Ma.isNCName(h))throw new J("Invalid local name: '"+h+"' (prefix='"+a+"', uri='"+b+"')","FORG0001");}b(){return/^AQ$/}toEQName(){return"Q{"+this.q+"}"+this.local}toString(){return(0a?"-":"+")+(100+Math.floor(b/60)).toString().substring(1)+":"+(100+b%60).toString().substring(1)}return 0===a?"Z":""} +function kb(a,b){if(b instanceof lb&&(b.code.startsWith(a.code)||a.code.startsWith(b.code)))return+a.ya.getTime()-b.ya.getTime();Za(a.code,b.code)}function mb(a,b){return Sa.XS.dateTime.fromDate(new Date(a.ya.getTime()+6E4*b),a.ta)} +function nb(a,b){let h=a.toString(),A=parseInt(h.substring(5,7),10),P=parseInt(h.substring(8,10),10),q=parseInt(h.substring(0,4),10)+Math.floor((A+b-1)/12),g=0>q;b=(A+b-1)%12+1;for(0>=b&&(b+=12);!Sa.Xj([q,b,P,0,0,0]);)--P;return Sa.codes[a.code].fromString((g?"-"+(1E4+-q).toString().substring(1):(1E4+q).toString().substring(1))+"-"+(100+b).toString().substring(1)+"-"+(100+P).toString().substring(1)+h.substring(10))} +class lb extends Ra{constructor(a,b,h="AM"){super(h);this.ya=a;this.ta=b;a instanceof Date||Aa.fa("type of UTCdate supplied to XdmDateTime is not Date");b&&"number"!==typeof b&&Aa.fa("type of value for timezone offset supplied to XdmDateTime is not number: "+typeof b)}b(){return/^A([AGHIJKMT]|MP)$/}toString(){const a=ib(this,gb(this).toISOString()),b="-"===a.charAt(0)?1:0;return function(h){switch(h){case "AM":case "AMP":return a;case "AA":return a.substring(0,10+b);case "AT":return a.substring(11+ +b);case "AH":return a.substring(0,7+b);case "AG":return a.substring(0,4+b);case "AJ":return"-"+a.substring(4+b,10+b);case "AI":return"-"+a.substring(4+b,7+b);case "AK":return"--"+a.substring(7+b,10+b);default:throw"type not recognised "+h;}}(this.code)+jb(this)}compareTo(a){(/^A[GHIJK]/.test(this.code)||/^A[GHIJK]/.test(a.code))&&Za(this.code,a.code);return kb(this,a)}equals(a){return 0===kb(this,a)}hashCode(){return $a(this.ya.getTime()-1454346732296)}matchKey(){return"t"+this.hashCode()}} +function qb(a){function b(A,P){P.forEach(function(q){1E3!==q?(h.push(Math.floor(A/q)),A%=q):h.push(A/q)})}let h=[];b(Math.abs(a.Ha),[12,1]);b(Math.abs(a.Ca),[864E5,36E5,6E4,1E3]);return h}function rb(a){a=a.Ha+a.Ca;return 0>a?-1:0b||0>a&&0b?"-P":"P",qb(this).forEach(function(h,A){3===A&&(a+="T");0!==h&&(6===A?a+=h/1E3+"S":a+=h+"YMDHMS".split("")[A])}), +a=a.replace(/T$/,""));return a}compareTo(a){if(a instanceof sb){if(Sa.XS.yearMonthDuration.matches(this)&&Sa.XS.yearMonthDuration.matches(a))return this.Ha-a.Ha;if(Sa.XS.dayTimeDuration.matches(this)&&Sa.XS.dayTimeDuration.matches(a))return this.Ca-a.Ca;throw new J("Cannot compare durations that mix months and seconds","XPTY0004");}return Za(this.code,a.code)}equals(a){a instanceof sb||Za(this.code,a.code);return a instanceof sb&&this.Ha===a.Ha&&this.Ca===a.Ca}hashCode(){return this.Ha.toString()+ +":"+this.Ca.toString()}matchKey(){return"d"+this.hashCode()}}function $a(a){return Number.isInteger(a)&&Math.abs(a)U instanceof Ra&&U.code.startsWith(k),fc:function(U){T(U)||g(U.toString(),k);U.code=k;return U},fromString:function(U){return R.fc(t.fromString(U))},I:function(U){return R.fc(t.I(U))}}}function da(pa,k,F){const T=k.replace(/.$/,"");y(pa,k,T,F);const t=V[pa],R=ha[T];t.fromString=function(U){/INF|NaN/.test(U)&&g(U,k,null,"FOCA0002");return t.fc(R.fromString(U))};t.fromNumber=function(U){U= +R.fromNumber(U);const ia=U.toNumber();isFinite(ia)||g(U.toString(),k,null,"FOCA0002");F(U)||g(U.toString(),k);U.code=k;return U}}function W(pa,k,F,T){const t=k.replace(/.$/,"");y(pa,k,t,F);const R=ha[k],U=ha[t];R.fc=function(ia){ia=T(ia.toString());F(ia)||g(ia,k);return new Ya(ia,k)};R.fromString=function(ia){return R.fc(U.fromString(T(ia)))}}function ka(pa,k,F){y(pa,k,"AR",F);const T=V[pa];T.fc=function(t){if(t instanceof sb)return new sb("ARY"===k?t.Ha:0,"ARD"===k?t.Ca:0,k);F(t)||g(t.toString(), +k);t.code=k;return t};T.Jb=function(t,R){return T.fc(Z.Jb(t,R))};T.I=function(t){return Z.matches(t)?T.fc(t):Y.string.matches(t)||Y.untypedAtomic.matches(t)?r(t.toString(),k):T.fc(Z.I(t))}}function ea(pa,k){return function(F){F=F.toNumber();return F>=pa&&F<=k}}for(var va in V){const pa=V[va];ha[pa.code]=pa}v("gYear","AG");v("gYearMonth","AH");v("gMonth","AI");v("gMonthDay","AJ");v("gDay","AK");da("nonPositiveInteger","ADIN",pa=>0>=pa.toNumber());da("negativeInteger","ADINN",pa=>0>pa.toNumber());da("long", +"ADIL",function(pa){pa=pa.toBig();return 0<=pa.eb(qa("-9223372036854775808"))&&0>=pa.eb(qa("9223372036854775807"))});da("int","ADILI",ea(-2147483648,2147483647));da("short","ADILIS",ea(-32768,32767));da("byte","ADILISB",ea(-128,127));da("nonNegativeInteger","ADIP",pa=>0<=pa.toNumber());da("positiveInteger","ADIPP",pa=>0=pa.toBig().eb(qa("18446744073709551615"))});da("unsignedInt","ADIPLI",function(pa){return 0<=pa.toNumber()&& +0>=pa.toBig().eb(qa("4294967295"))});da("unsignedShort","ADIPLIS",ea(0,65535));da("unsignedByte","ADIPLISB",ea(0,255));va=()=>!0;W("normalizedString","ASN",va,pa=>pa.replace(/[ \r\t\n]/g," "));W("token","ASNT",va,Da);W("language","ASNTL",pa=>/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/.test(pa),Da);W("NMTOKEN","ASNTK",Ma.Tj,Da);W("Name","ASNTN",Ma.Uj,Da);W("NCName","ASNTNC",Ma.isNCName,Da);W("ID","ASNTNCI",Ma.isNCName,Da);W("IDREF","ASNTNCR",Ma.isNCName,Da);W("ENTITY","ASNTNCE",Ma.isNCName,Da);ka("yearMonthDuration", +"ARY",pa=>0===pa.Ca);ka("dayTimeDuration","ARD",pa=>0===pa.Ha);V.dayTimeDuration.Yh=function(pa){return new sb(0,6E4*pa,"ARD")};Y.Xb=V.language;Y.jh=V.NCName;Y.dayTimeDuration=V.dayTimeDuration;Y.yearMonthDuration=V.yearMonthDuration;Y.ci=V.gYearMonth;Y.bi=V.gYear;Y.ai=V.gMonthDay;Y.$h=V.gMonth;Y.Zh=V.gDay;a=function(){}}function b(y,da){return da?-y:y}function h(y,da){return da*(void 0===y?0:Math.round(1E3*parseFloat(y)))}function A(y,da){return da*(void 0===y?0:parseInt(y,10))}function P(y){return y.Ya&& +!["ADI","ARY","ARD"].includes(y.code)?P(y.Ya):y}function q(y,da){throw new J(`Casting from ${c(y.code)} to ${c(da)} is not allowed`,"XPTY0004");}function g(y,da,W=null,ka="FORG0001"){throw new J(`Supplied value "${y}" is not a valid ${c(da)}${W?` (${W})`:""}`,ka);}function e(y,da){y=Ma.trim(y);/.\.$/.test(y)&&(y+="0");if(/^[-+]?([0-9]+(\.[0-9]*)?|\.[0-9]+)([Ee][-+]?[0-9]+)?$/.test(y))return parseFloat(y);if(/^NaN$/.test(y))return NaN;if(/^-INF$/.test(y))return-Infinity;if(/^(\+)?INF$/.test(y))return Infinity; +da&&g(y,"AO");return NaN}function l(y){y=y.replace(/\s/g,"");/^(....)*$/.test(y)||g(y,"A2","length must be a multiple of 4");/^[A-Za-z0-9+/]*=?=?$/.test(y)||g(y,"A2","only [A-Za-z0-9+/] allowed, or '=' at the end");/^([^=]*|.*[AQgw]==|.*[AEIMQUYcgkosw048]=)$/.test(y)||g(y,"A2","invalid characters before '='");let da,W,ka=0,ea=[];if(0===y.length)return new Uint8Array(0);do{var va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++));var pa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++)); +da="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++));W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++));var k=va<<18|pa<<12|da<<6|W;va=k>>16&255;pa=k>>8&255;k&=255;64===da?ea.push(va):64===W?ea.push(va,pa):ea.push(va,pa,k)}while(kaparseInt(da,16))):new Uint8Array(0)} +function v(y,da){V[y]=ha[da]={name:y,code:da,matches:W=>W instanceof lb&&W.code.startsWith(da),fromString:W=>I(W,da),fromDate:(W,ka)=>new lb(W,ka,da),I:W=>{if(W instanceof lb&&W.code.startsWith(da))return W;if(Y.dateTime.matches(W)||Y.Oc.matches(W)){const ka=ha[da];return ka.fromString(ka.fromDate(W.ya,W.ta).toString())}if(/^A[SZ]/.test(W.code))return I(W.value,da);q(W,da)}}}function G(y){if(-1!==y.indexOf(".",y.length-4)){y=y.split(".");let da=y[1];for(;3>da.length;)da+="0";y=y[0]+"."+da}return y} +function p(y){const da=y[0],W=y[1],ka=y[2],ea=y[3],va=y[4];y=y[5];return!(1>W||12ka||ka>[31,0!==da%4||0===da%100&&0!==da%400?28:29,31,30,31,30,31,31,30,31,30,31][W-1]||24<=ea||60<=va||60<=y)}function f(y,da){y=y.split(/[\-T:]/).map(function(ka){return parseFloat(ka)});const W=y[0];if(-9999>W||9999y[0]&&ea.setUTCFullYear(va);ea=""===ka?new Date(ea.getTime()+6E4*(new Date).getTimezoneOffset()):new Date(ea.getTime()-6E4*D(ka));return new lb(ea, +D(W[2]?W[2]:""),da)}function D(y){if(""===y)return null;if("Z"===y)return 0;var da=y.split(":");const W=/^-.*/.test(da[0]),ka=Math.abs(parseInt(da[0],10));da=parseInt(da[1],10);if(14Number.MAX_SAFE_INTEGER?new db(new qa(y),"ADI"):new cb(y)},ab:function(y){return new db(y,"ADI")},mm:function(y){return 0===y.value.sf(1)},I:function(y){switch(y.code.substring(0, +2)){case "AS":case "AZ":return Y.integer.fromString(y.toString());case "AF":case "AO":return Y.integer.fromNumber(y.toNumber());case "AD":return Y.integer.ab(y.toBig().round(0,0));case "AB":return Y.integer.fromNumber(y.toBoolean()?1:0);default:q(y,"AB")}},Al:function(y){return"number"===typeof y?Y.integer.fromNumber(y):"boolean"===typeof y?Y.integer.fromNumber(y?1:0):"string"===typeof y?Y.integer.fromString(y):Y.integer.fromString(y.toString())}},x={name:"numeric",code:"Anumeric",Wl:["double","decimal", +"float"],matches:function(y){return y instanceof Va||y instanceof cb||y instanceof db},I:function(y){if(Y.string.matches(y)||Y.untypedAtomic.matches(y))return Y.double.fromString(y.toString());if(Y.numeric.matches(y))return y;if(Y.boolean.matches(y))return Y.double.fromNumber(y.toBoolean()?1:0);q(y,"Anumeric")},Fd:function(y){const da=Y.double;if(null===y)return da.fromNumber(Number.NaN);if(Y.boolean.matches(y))return da.fromNumber(y.toBoolean()?1:0);if(Y.numeric.matches(y))return da.I(y);if(Y.string.matches(y)|| +Y.untypedAtomic.matches(y))try{return da.fromString(y.toString())}catch(W){return da.fromNumber(Number.NaN)}else return da.fromNumber(Number.NaN)}},E={name:"QName",code:"AQ",matches:function(y){return y instanceof fb},fromParts:function(y,da,W){return new fb(y,da,W)},fromString:function(y,da){y=Ma.trim(y);if("Q{"===y.substring(0,2))return Y.QName.fromEQName(y);Ma.ji(y)||g(y,"AQ");y=y.split(":");if(1===y.length)return Y.QName.fromParts("",da(""),y[0]);da=da(y[0]);if(null===da)throw new J("Undeclared prefix: "+ +y[0],"FONS0004");return Y.QName.fromParts(y[0],da,y[1])},fromEQName:function(y){var da=y.indexOf("{");const W=y.indexOf("}");if(!(-1===da&&-1===W||-1I+D,(I,D)=>I.xe(D))},"i-i":function(p,f){return Sa.Gg(p,f,(I,D)=>I-D,(I,D)=>I.te(D))},"i*i":function(p,f){return Sa.Gg(p,f,(I,D)=>I*D,(I,D)=>I.times(D))},"i/i":function(p,f){f.equals(Sa.XS.integer.fromNumber(0))&&h();p=p.toBig();f=f.toBig();return l.ab(p.Ib(f))}, +"i%i":function(p,f){var I=p.toNumber();const D=f.toNumber();if(!isFinite(I)||isNaN(D)||0===D)return 0===D&&h(),z.fromNumber(NaN);if(!isFinite(D)||0===I)return p;I=p.toNumber()%f.toNumber();isFinite(I)||h();return a(I)?z.fromNumber(I):z.ab(qa(p.toBig().sf(f.toBig())))},"i~i":function(p,f){const I=p.toNumber()/f.toNumber();isFinite(I)||h();return a(I)?z.fromNumber(Math.trunc(I)):z.ab(qa(p.toBig().Ib(f.toBig())).round(0,0))},"c+c":function(p,f){const I=p.toBig(),D=f.toBig();return b(p,f).ab(I.xe(D))}, +"c-c":function(p,f){const I=p.toBig(),D=f.toBig();return b(p,f).ab(I.te(D))},"c*c":function(p,f){const I=p.toBig(),D=f.toBig();return b(p,f).ab(I.times(D))},"c/c":function(p,f){try{const I=p.toBig(),D=f.toBig();return l.ab(I.Ib(D))}catch(I){h()}},"c%c":function(p,f){try{const I=p.toBig(),D=f.toBig();return l.ab(I.sf(D))}catch(I){h()}},"c~c":function(p,f){try{const I=p.toBig(),D=f.toBig(),r=I.Ib(D).round(0,0);return z.ab(r)}catch(I){h()}},"a+a":function(p,f){return q(p,f,"+")},"a-a":function(p,f){return q(p, +f,"-")},"a*a":function(p,f){return q(p,f,"*")},"a/a":function(p,f){return q(p,f,"/")},"a%a":function(p,f){return q(p,f,"%")},"a~a":function(p,f){return q(p,f,"~")},"u+u":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)&&I.matches(f)||D.matches(p)&&D.matches(f)||P(p,f,"+");return D.matches(p)?D.Jb(p.Ha+f.Ha,0):I.Jb(0,p.Ca+f.Ca)},"u-u":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)&&I.matches(f)||D.matches(p)&&D.matches(f)||P(p,f,"-");return D.matches(p)? +D.Jb(p.Ha-f.Ha,0):I.Jb(0,p.Ca-f.Ca)},"u*n":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)||D.matches(p)||P(p,f,"*");f=f.toNumber();if(!isFinite(f))throw new J("Cannot multiply duration by "+isNaN(f)?"NaN":"+/-INF",isNaN(f)?"FOCA0005":"FODT0002");return D.matches(p)?D.Jb(Math.round(p.Ha*f),0):I.Jb(0,Math.round(p.Ca*f))},"n*u":function(p,f){return tb["u*n"](f,p)},"u/n":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)||D.matches(p)||P(p,f,"/");f= +f.toNumber();0===f&&h("FODT0002");if(isNaN(f))throw new J("Cannot divide duration by NaN","FOCA0005");f=D.matches(p)?p.Ha/f:p.Ca/f;isFinite(f)||A("FODT0002");return D.matches(p)?D.Jb(Math.round(f),0):I.Jb(0,Math.round(f))},"u/u":function(p,f){var I=g.dayTimeDuration;const D=g.yearMonthDuration;I.matches(p)&&I.matches(f)||D.matches(p)&&D.matches(f)||P(p,f,"/");I=new qa(0);p=new qa(D.matches(p)?p.Ha:p.Ca);f=new qa(D.matches(f)?f.Ha:f.Ca);0===f.eb(I)&&h();try{return l.ab(p.Ib(f))}catch(r){A()}},"t+u":function(p, +f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(f)||D.matches(f)||P(p,f,"+");return I.matches(f)?Sa.codes[p.code].fromDate(new Date(p.ya.getTime()+f.Ca),p.ta):nb(p,f.Ha)},"u+t":function(p,f){return tb["t+u"](f,p)},"t-u":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(f)||D.matches(f)||P(p,f,"-");return I.matches(f)?Sa.codes[p.code].fromDate(new Date(p.ya.getTime()-f.Ca),p.ta):nb(p,-f.Ha)},"t-t":function(p,f){return g.dayTimeDuration.Jb(0,p.ya.getTime()-f.ya.getTime())}}; +return G}();function ub(a){function b(){function q(G){throw new J("In alphaCode '"+a+"' @ "+A+": "+G);}function g(G){const p=A>=a.length?-1:a.charAt(A++);p!==G&&q("Expected '"+G+"', found '"+p+"'")}function e(){let G=0,p=A;for(;Aa?this.current=this.b.next():0h)this.b.next(),a=this.b.ma();else if(0b)return this.current=this.b.next();0this.g)if(this.b instanceof Pb)this.g=this.b.expand().length;else{const a=[];let b;for(;null!==(b=this.b.next());)a.push(b);this.g=this.position+a.length;this.b=Pb(a)}return this.g}showValue(){return"Tracker of "+this.b.showValue()}} +class Qb extends Ab{constructor(a){super();this.current=a;this.position=1}next(){return null}last(){return 1}}class Rb extends Ab{constructor(a){super();this.b=a}next(){const a=this.b.next();return a.done?null:a.value}}class Sb extends Ab{constructor(a,b,h){super();this.b=a;this.g=h;for(this.l=1;!(this.l++>=b);)if(null==this.b.next()){this.g=Number.NEGATIVE_INFINITY;break}}next(){return this.l++<=this.g?this.b.next():null}}const Tb=new Fb;function Ub(a){return new Eb(a)} +function Vb(a){return new Ib(a)}function Wb(a){return new Qb(a)}function Xb(a){return new Ob(a)}function Pb(a){return new Gb(a)}function Yb(a){return new Eb(zb.string.fromString(a))}function Zb(a){return new Eb(zb.integer.fromNumber(a))}function $b(a){return new Eb(zb.double.fromNumber(a))}function ac(a){return new Eb(zb.$a.ab(a))}function bc(a){return new Eb(zb.boolean.fromBoolean(a))}var cc={};cc.Jk=Ab;cc.Qk=Mb;cc.Empty=Tb;cc.Rk=Fb;cc.Uk=Bb;cc.ForArray=Pb;cc.Vk=Gb;cc.Wk=Rb;cc.Zk=Lb;cc.$k=Vb; +cc.al=Ib;cc.bl=Nb;cc.fl=Db;cc.gl=Cb;cc.Singleton=Ub;cc.kl=Eb;cc.ll=Wb;cc.ml=Qb;cc.nl=Hb;cc.pl=Sb;cc.Tracker=Xb;cc.sl=Ob;cc.vl=Jb;cc.oneBoolean=bc;cc.bm=ac;cc.cm=$b;cc.dm=function(a){return new Eb(zb.float.fromNumber(a))};cc.oneInteger=Zb;cc.oneString=Yb;var dc={Jc:"http://www.w3.org/1999/XSL/Transform",za:"http://www.w3.org/2005/xpath-functions",qi:"http://www.w3.org/2005/xpath-functions/math",map:"http://www.w3.org/2005/xpath-functions/map",Ye:"http://www.w3.org/2005/xpath-functions/array",oc:"http://www.w3.org/XML/1998/namespace",ac:"http://www.w3.org/2001/XMLSchema",om:"http://www.w3.org/2001/XMLSchema-instance",sj:"http://www.w3.org/2005/xqt-errors",Yc:"http://saxonica.com/ns/interactiveXSLT",mi:"http://saxonica.com/ns/globalJS",ib:"http://saxon.sf.net/", +vj:"http://ns.saxonica.com/xslt/export",withPrefix:{xsl:"http://www.w3.org/1999/XSL/Transform",fn:"http://www.w3.org/2005/xpath-functions",math:"http://www.w3.org/2005/xpath-functions/math",map:"http://www.w3.org/2005/xpath-functions/map",array:"http://www.w3.org/2005/xpath-functions/array",xml:"http://www.w3.org/XML/1998/namespace",xs:"http://www.w3.org/2001/XMLSchema",xsi:"http://www.w3.org/2001/XMLSchema-instance",err:"http://www.w3.org/2005/xqt-errors",ixsl:"http://saxonica.com/ns/interactiveXSLT", +js:"http://saxonica.com/ns/globalJS",saxon:"http://saxon.sf.net/",ex:"http://ns.saxonica.com/xslt/export"},Zg:"http://ns.saxonica.com/anonymous-type"};var fc=function(){function a(q){return q?9===q.nodeType?q:a(q.ownerDocument):null}const b=Sa.XS;let h=1;const A={Lc:function(q){switch(q.nodeType){case 9:case 11:return Tb;case 2:return q.parent?new Hb(q.parent,g=>g.parentNode):Tb;default:return(q=q.parentNode)?new Hb(q,g=>g.parentNode):Tb}},Ka:function(q){return Vb([Ub(q),A.Lc(q)])},attribute:function(q){if(1===q.nodeType){const g=q.attributes,e=q.ownerDocument.documentElement&&ya.isHTMLElement(q.ownerDocument.documentElement),l=[];for(let z=0;z< +g.length;z++){const v=g[z].name;if("xmlns"!==v.substring(0,5)||5!==v.length&&":"!==v.charAt(5))e&&"xml:"===g[z].localName.substring(0,4)?l.push(new ec(b.QName.fromParts("xml",dc.oc,g[z].localName.substring(4)),g[z].value,q)):l.push(new ec(b.QName.fromParts(g[z].prefix,g[z].namespaceURI,g[z].localName),g[z].value,q))}return Pb(l)}return Tb},wa:function(q){function g(e){return new Hb(e.firstChild,l=>l.nextSibling)}if(null===q)return Tb;switch(q.nodeType){case 9:return g(q).filter(function(e){return!(7=== +e.nodeType&&"xml"===e.target||3===e.nodeType||4===e.nodeType)});case 11:case 1:return g(q);default:return Tb}},gf:function(q){return A.wa(q).mapOneToMany(function(g){return A.he(g)})},he:function(q){return Vb([Ub(q),A.gf(q)])},Vh:function(q){switch(q.nodeType){case 9:case 11:return Tb;case 2:case 13:return q=fc.Oa(q),null===q?Tb:Vb([A.gf(q),A.Vh(q)]);default:return A.Ka(q).mapOneToMany(function(g){return A.Wh(g).mapOneToMany(A.he)})}},Wh:function(q){switch(q.nodeType){case 9:case 11:case 2:case 13:return Tb; +default:return new Hb(q.nextSibling,g=>g.nextSibling)}},namespace:function(q){return 1===q.nodeType?Pb(fc.inScopeNamespaces(q).map(function(g){return new gc(g.prefix,g.q,q)})):Tb},parent:function(q){return Ub(fc.Oa(q))},Og:function(q){return A.Ka(q).mapOneToMany(function(g){return A.Dc(g).mapOneToMany(function(e){return Pb(A.he(e).expand().reverse())})})},Dc:function(q){switch(q.nodeType){case 9:case 11:case 2:case 13:return Tb;default:return new Hb(q.previousSibling,g=>g.previousSibling)}},xf:function(q){return Ub(q)}}, +P={va:A,Ch:{ancestor:A.Lc,"ancestor-or-self":A.Ka,attribute:A.attribute,child:A.wa,descendant:A.gf,"descendant-or-self":A.he,following:A.Vh,"following-sibling":A.Wh,namespace:A.namespace,parent:A.parent,preceding:A.Og,"preceding-sibling":A.Dc,self:A.xf},xc:a,ic:function(q){return A.Ka(q).expand().pop()},lc:function(q){q._saxonDocumentNumber||(q._saxonDocumentNumber=h++);return q},pj:function(q){return fc.lc(q)._saxonDocumentNumber},X:function(q){if(!q||!q.nodeType)return null;switch(q.nodeType){case 1:return b.QName.fromParts(q.prefix, +q.namespaceURI,q.localName);case 2:if("xml"===q.prefix)return b.QName.fromParts(q.prefix,dc.oc,q.localName);if(!q.nc)throw new J("ATTRIBUTE_NODE not local","SXJS0004");return q.nc;case 7:return b.QName.fromParts("","",q.target);case 13:return q.prefix?b.QName.fromParts("","",q.prefix):null;default:return null}},Jl:function(q,g){if(!q||!q.nodeType)return!1;switch(q.nodeType){case 1:case 2:return q.localName===g;case 7:return q.target===g;case 13:return q.prefix===g;default:return!1}},hasURI:function(q, +g){if(!q||!q.nodeType)return!1;switch(q.nodeType){case 1:return(q.namespaceURI||"")===g;case 2:return"xml"===q.prefix?dc.oc===g:q.namespaceURI===g;default:return""===g}},wc:function(q,g){let e=[];for(q=q.firstChild;null!==q;)1!==q.nodeType||g&&g!==q.tagName||e.push(q),q=q.nextSibling;return e},Fl:function(q,g){for(q=q.firstChild;null!==q;){if(1===q.nodeType&&(!g||g===q.tagName))return q;q=q.nextSibling}return null},Vc:function(q){const g=q.expand();if(1{fc.Q(v)? +(z=!1,fc.Oa(v)?e=!1:v._saxonDocumentNumber?e=!1:fc.lc(v)):l=!1});if(!l&&!z)throw new J("Cannot sort a sequence including both nodes and non-nodes","XPTY0018");e||z||g.sort(fc.fb);return Pb(g).mapOneToOne(function(v,G){return 0v?fc.fb(e,g):fc.fb(q,l)}},Oa:function(q){return fc.ke(q)?q.parent:q.parentNode},ff:function(q,g,e){hc(q,"http://www.w3.org/2000/xmlns/",""===g?"xmlns":"xmlns:"+g,e)},inScopeNamespaces:function(q,g=A.Ka){let e=[{prefix:"xml",q:dc.oc}],l={xml:!0};for(q=g(q);null!==(g=q.next());)if(1===g.nodeType){var z=fc.X(g);""===z.prefix&&""===z.q&&(l[""]=!0);g=g.attributes;for(z=0;zh(A))}toString(){return this.K instanceof Mc&&1===this.ca?"empty-sequence()": +this.K.toString()+gd(this.ca)}equals(a){return this.ea()===a.ea()}};class id{constructor(a){Array.isArray(a)||Aa.fa("XdmArray value must be an array. Supplied:"+a);this.value=a}get(a){if("number"!=typeof a)throw new J("Array subscript is not numeric","XPTY0004");if(1>a||a>this.value.length)throw new J("Array index ("+a+") out of bounds (1 to "+this.value.length+")","FOAY0001");return this.value[a-1]}evaluate(a){return Pb(this.value[a[0][0]-1])}size(){return this.value.length}showValue(){let a="[";for(let b=0;bb;b++)0!==b&&(a+=","),a+=Aa.showValue(this.value[b]); +4<=this.value.length&&(a+=",...("+this.value.length+")");return a+"]"}flatten(a){for(let b=0;b"dynamic call of "+this.jc());return z}convertResult(l){return Pb(ld.pg(l,this.ja,()=>"result of dynamic call of "+this.jc()))}Dg(){return new md(this.g,this.ja)}}class b extends a{constructor(l,z,v,G,p){super(l,v);this.name=z;this.evaluator=[dc.qi,dc.map,dc.Ye,dc.ib, +dc.Yc].includes(z.q)?ld.uj:ld.tj;this.z=G;if(l.defaultToDot&&0===v||["accumulator-after","accumulator-before","lang"].includes(z.local))this.x=p.getCurrentFocus()}Wb(){return this.name}evaluate(l,z,v){var G=this.Wb().local;if("current"===G)throw new J("current() function cannot be evaluated dynamically","XTDE1360");if("current-output-uri"===G)return Tb;if("regex-group"===G)return Yb("");let p=z;this.x&&(p=z.newContext(),p.focus=Wb(this.x));z=["string-length","normalize-space"].includes(G);const f= +this.jb.defaultToDot;G="number"===G;if((z||f||G)&&0===l.length){p.failIfNoCurrentFocus("XPDY0002",". (dot)");v=p.getCurrentFocus();if(z||G)v=ld.atomize(v).next();z&&(v=Sa.XS.string.I(v));l.push([v])}else l=this.b(l,v);return this.evaluator(this.Wb(),l,p,this.z)}}const h={NMTOKENS:"NMTOKEN",IDREFS:"IDREF",ENTITIES:"ENTITY"};class A extends a{constructor(l,z,v){super(l,1);this.name=z;if(l=h[z.local]){const G=Sa.type[l].fromString;Aa.ba(G);this.evaluate=p=>{p=this.b(p,v)[0][0].toString();p=Da(p).split(" "); +return Pb(p.map(G))}}else if("QName"===z.local){const G=ld.stylesheetResolver(v,!0);this.evaluate=p=>{p=this.b(p,v)[0][0].toString();return Ub(Sa.XS.QName.fromString(p,G))}}else{const G=Sa.type[z.local].I;Aa.ba(G);this.evaluate=p=>Ub(G(this.b(p,v)[0][0]))}}Wb(){return this.name}}class P extends a{constructor(l,z){super(l,l.alphaTree.a.length);this.z=l.componentBinding;this.x=z.fixed.xa[this.z];this.rc=ld.$(this.x.actor,"body");this.name=Sa.XS.QName.fromEQName(this.x.actor.name)}Wb(){return this.name}evaluate(l, +z,v){l=this.b(l,v);z=z.newContext(!0);z.clearGrouping();z.tempOutputState="function";z.currentMode={};z.currentTemplate=null;z.focus=null;z.currentComponent=this.x;for(v=0;v!0}T(){if(!this.b)if(this.z)this.b=wb(this.z);else return null;return this.b}ea(){if(!this.z)if(this.b)od(this,xb(this.b));else return null;return this.z}ka(a="A"){return this.T().p.startsWith(a)}isNumeric(){return qd(this)||/^A[ODF]/.test(this.T().p.substring(0))}Bd(){return/^F/.test(this.T().p)}Qj(){return!0}l(){return null}x(){return null}U(){return null}toString(){return this.ea()}equals(a){return this.ea()===a.ea()}} +class yc extends uc{constructor(){super();od(this,"");this.b={p:""}}ga(){return()=>!0}toString(){return"item()"}}var xc;const cd=new yc;class Ac extends uc{constructor(){super();od(this,"N");this.b={p:"N"}}ga(){return a=>fc.Q(a)}toString(){return"node()"}}var zc;class Cc extends uc{constructor(){super();od(this,"N u[NT,NP,NC,NE]");this.b={p:"N",u:[{p:"NT"},{p:"NP"},{p:"NC"},{p:"NE"}]}}ga(){return a=>fc.Q(a)&&[1,3,4,8,7].includes(a.nodeType)}toString(){return"node()"}}var Bc; +function rd(a){switch(a){case 9:return Nc;case 1:return Pc;case 2:return Qc;case 8:return Sc;case 3:case 4:return Rc;case 7:return Tc;case 13:return Uc;default:throw new J("Unknown node kind "+a);}}function sd(a){switch(a){case 1:return"NE";case 3:return"NT";case 2:return"NA";case 9:return"ND";case 8:return"NC";case 4:return"NT";case 7:return"NP";case 13:return"NN";case 0:return"N";default:throw new J("Unknown node kind "+a+" in NodeKindTest");}} +class Oc extends uc{constructor(a){super();this.Ba=a;a=sd(a);od(this,a);this.b={p:a}}ga(){switch(this.Ba){case 9:return a=>fc.Q(a)&&(9===a.nodeType||11===a.nodeType);case 3:case 4:return a=>fc.Q(a)&&(3===a.nodeType||4===a.nodeType);default:return a=>fc.Q(a)&&a.nodeType===this.Ba}}toString(){switch(this.Ba){case 9:return"document-node()";case 1:return"element(*)";case 2:return"attribute(*)";case 8:return"comment()";case 3:case 4:return"text()";case 7:return"processing-instruction()";case 13:return"namespace-node()"; +case 0:return"node()";default:throw new J("Unknown node kind "+this.Ba+" in NodeKindTest");}}}var Nc,Pc,Qc,Sc,Rc,Tc,Uc;class td extends Oc{constructor(a,b){super(a);this.name=b;a=sd(a);od(this,a+" n"+b.toEQName());this.b={p:a,n:b.toEQName()}}ga(){const a=this.name;return b=>{var h;if(h=fc.Q(b)&&b.nodeType===this.Ba)h=(b=fc.X(b))&&a.equals(b);return h}}toString(){return super.toString().replace(/\(\*?\)/,"("+this.T().n+")")}} +class ud extends Oc{constructor(a,b){super(a);this.localName=b;a=sd(a);od(this,a+" n*:"+b);this.b={p:a,n:"*:"+b}}ga(){return a=>fc.Q(a)&&a.nodeType===this.Ba&&fc.X(a).local===this.localName}toString(){return super.toString().replace(/\(\*?\)/,"(*:"+this.localName+")")}} +class vd extends Oc{constructor(a,b){super(a);this.q=b;a=sd(a);od(this,a+" nQ{"+b+"}*");this.b={p:a,n:"Q{"+b+"}*"}}ga(){return a=>fc.Q(a)&&a.nodeType===this.Ba&&fc.X(a).q===this.q}toString(){return super.toString().replace(/\(\*?\)/,"Q{"+this.q+"}*)")}}class wd extends Oc{constructor(a){super(9);this.g=a;od(this,"ND e["+a.ea()+"]");this.b={p:"ND",e:a.T()}}ga(){return a=>fc.Q(a)&&(9===a.nodeType||11===a.nodeType)&&this.g.ga()(a.firstChild)}toString(){return"document-node("+this.g.toString()+")"}} +class wc extends uc{constructor(a){super();this.Ic=a;od(this,a.code);this.b={p:a.code}}ga(){return a=>this.Ic.matches(a)}toString(){return"xs:"+this.Ic.name}}class Ec extends uc{constructor(){super();od(this,"A m[AO,AD,AF]");this.b={p:"A",m:[{p:"AO"},{p:"AD"},{p:"AF"}]}}ga(){return a=>/^A[ODF]/.test(a.code)}toString(){return"xs:numeric"}}var Dc;class Mc extends uc{ea(){return"E"}T(){return{p:"E"}}ga(){return()=>!1}toString(){return"xs:error"}}var Lc; +class xd extends uc{constructor(){super();this.g=[];this.ja=null}Cb(a){if(!(a instanceof xd))return yd.Rb;if(a instanceof Ic||a instanceof Kc)return yd.Fb;if(!(a instanceof md||a instanceof zd||a instanceof Ad))return yd.dc;if(this.g.length!==a.g.length)return yd.Rb;const b=function(A,P,q){return A.map((g,e)=>q(g,P[e]))}(this.g,a.g,yd.Hi),h=yd.Hi(this.ja,a.ja);return b.every(A=>A===yd.kb)&&h===yd.kb?yd.kb:b.every(A=>[yd.kb,yd.dc].includes(A)&&[yd.kb,yd.Fb].includes(h))?yd.Fb:b.every(A=>[yd.kb,yd.Fb].includes(A)&& +[yd.kb,yd.dc].includes(h))?yd.dc:yd.oh}lf(){return mc.pa}}class Gc extends xd{constructor(){super();od(this,"F");this.b={p:"F"}}ga(){return a=>a instanceof jd.XdmFunction||a instanceof id||a instanceof lc||a instanceof ld.Tf}Cb(a){return a instanceof Gc?yd.kb:/^F/.test(a.T().p)?yd.Fb:yd.Rb}toString(){return"function(*)"}}var Fc;function Bd(a,b){let h=[];b.forEach(A=>{h.push(a.g[A])});return new md(h,a.ja)} +class md extends xd{constructor(a,b){super();Aa.ba(b instanceof pc);Aa.ba(a.every(h=>h instanceof pc));this.g=a;this.ja=b;od(this,"F a["+a.map(h=>h.ea()).join(",")+"] r["+b.ea()+"]");nd(this,{p:"F",a:a.map(h=>h.T()),r:b.T()})}ga(){const a=this;return function(b){return b instanceof id?1===a.g.length&&2===a.g[0].ca&&b.conforms(a.g[0].K.ga(),a.ja.K.ga(),Cd(a.ja.ca)):b instanceof lc?1===a.g.length&&2===a.g[0].ca&&a.g[0].K instanceof wc&&b.conforms(()=>!0,a.ja.K.ga(),Cd(a.ja.ca)):b instanceof jd.XdmFunction? +(b=a.Cb(b.Dg()),[yd.kb,yd.Fb].includes(b)):!1}}lf(){return this.ja}toString(){return"(function("+this.g.map(a=>a.toString()).join(",")+") as "+this.ja.toString()+")"}}class Ic extends xd{constructor(){super();od(this,"FM");this.b={p:"FM"}}x(){return ad}U(){return mc.pa}ga(){return a=>a instanceof lc||a instanceof ld.Tf}toString(){return"map(*)"}}var Hc; +class zd extends xd{constructor(a,b){super();Aa.ba(a instanceof uc);Aa.ba(b instanceof pc);this.O=a;this.Sd=b;od(this,"FM k["+a.ea()+"] v["+b.ea()+"]");this.b={p:"FM",k:a.T(),v:b.T()}}ga(){return a=>a instanceof lc&&a.conforms(this.O.ga(),this.Sd.K.ga(),Cd(this.Sd.ca))}toString(){return"map("+this.O.toString()+","+this.Sd.toString()+")"}x(){return this.O}U(){return this.Sd}lf(){return this.Sd}} +class Kc extends xd{constructor(){super();od(this,"FA");this.b={p:"FA"}}ga(){return a=>a instanceof id}toString(){return"array(*)"}l(){return mc.pa}}var Jc;class Ad extends xd{constructor(a){super();Aa.ba(a instanceof pc);this.O=a;od(this,"FA v["+a.ea()+"]");this.b={p:"FA",v:a.T()}}ga(){return a=>a instanceof id&&a.value.every(b=>this.O.matches(b))}toString(){return"array("+this.O.toString()+")"}l(){return this.O}lf(){return this.O}} +class Dd extends uc{constructor(a,b){super();this.g=a;this.O=b;var h=a.T();const A=b.T();h=yb(h.p,A.p);od(this,h+" u["+a.ea()+","+b.ea()+"]");this.b={p:h,u:[a.T(),b.T()]}}ga(){const a=this.g.ga(),b=this.O.ga();return h=>a(h)||b(h)}x(){const a=this.g.x(),b=this.O.x();return new Dd(a,b)}l(){const a=this.g.l(),b=this.O.l(),h=a.ca;return h===b.ca?new pc(new Dd(a.K,b.K),h):mc.pa}} +class Ed extends uc{constructor(a,b){super();this.g=a;this.O=b;var h=a.T();const A=b.T();h=h.p.startsWith(A.p)?h.p:A.p.startsWith(h.p)?A.p:h.p.charAt(0)===A.p.charAt(0)?h.p.charAt(0):"";od(this,h+" i["+a.ea()+","+b.ea()+"]");this.b={p:h,i:[a.T(),b.T()]}}ga(){const a=this.g.ga(),b=this.O.ga();return h=>a(h)&&b(h)}} +class Fd extends uc{constructor(a,b){super();this.g=a;this.O=b;var h=a.T();const A=b.T();h=h.p.startsWith(A.p)?h.p:A.p.startsWith(h.p)?A.p:h.p.charAt(0)===A.p.charAt(0)?h.p.charAt(0):"";od(this,h+" d["+a.ea()+","+b.ea()+"]");this.b={p:h,d:[a.T(),b.T()]}}ga(){const a=this.g.ga(),b=this.O.ga();return h=>a(h)&&!b(h)}}const Gd={};function oc(a){var b=Gd[a];if(b)return b;b=wb(a);b=sc(b);return Gd[a]=b} +function sc(a){var b=a.p;if(""===b)return xc;if(a.u)return b=sc(a.u[0]),a.u.slice(1).reduce((h,A)=>new Dd(h,sc(A)),b);if(a.i)return b=sc(a.i[0]),a.i.slice(1).reduce((h,A)=>new Ed(h,sc(A)),b);if(a.d)return new Fd(sc(a.d[0]),sc(a.d[1]));switch(b.charAt(0)){case "A":if("Q{http://www.w3.org/2001/XMLSchema}numeric"===a.n)return Dc;if(a.m){a=a.m;if(3===a.length&&a.some(h=>"AO"===h.p)&&a.some(h=>"AD"===h.p)&&a.some(h=>"AF"===h.p))return Dc;Aa.fa("Unhandled atomic union type")}else return new wc(Sa.codes[b]); +break;case "F":switch(b){case "FA":return a.v?new Ad(rc(a.v)):Jc;case "FM":return a.k&&a.v?new zd(sc(a.k),rc(a.v)):Hc;default:return a.a?(b=a.a.map(rc),a=a.r?rc(a.r):mc.pa,new md(b,a)):Fc}case "N":if("N"===b)return zc;b={ND:9,NE:1,NA:2,NT:3,NC:8,NP:7,NN:13}[b];return a.n?(a=a.n,/\}\*$/.test(a)?new vd(b,a.substring(2,a.length-2)):/^\*:/.test(a)?new ud(b,a.substring(2)):new td(b,Sa.XS.QName.fromEQName(a))):a.e?(a=sc(a.e),new wd(a)):new Oc(b);case "E":return Lc}} +const Hd={IDREFS:"ASNTNCR",ENTITIES:"ASNTNCE",NMTOKENS:"ASNTK"},bd={};var ad,Vc,Wc,Xc,Yc,Zc,$c;var yd=function(){function a(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);const z=e.ea()+"<>"+l.ea(),v=g[z];if(v)return v;e=P(e,l);return g[z]=e}function b(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);switch(a(e,l)){case 0:case 1:return e;case 2:return l;case 3:case 4:return e=e.T(),l=l.T(),sc({p:yb(e.p,l.p),u:[e,l]})}}function h(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);switch(a(e,l)){case 0:case 1:return l;case 2:return e;case 3:return e=e.T(),l=l.T(),sc({p:e.p.startsWith(l.p)? +e.p:l.p.startsWith(e.p)?l.p:e.p.charAt(0)===l.p.charAt(0)?e.p.charAt(0):"",i:[e,l]});case 4:return Lc}}function A(e,l){return 0===e&&0===l?0:0!==e&&1!==e||0!==l&&1!==l?0!==e&&2!==e||0!==l&&2!==l?4===e||4===l?4:3:2:1}function P(e,l){function z(r,c){return(r||"")===(c||"")?0:r&&!c?2:c&&!r?1:4}function v(r){return 1===r?2:2===r?1:r}function G(r){return r.n||r.e||r.u||r.i||r.d}var p=e.T();const f=l.T(),I=e.ea(),D=l.ea();if("F"===p.p){if(!(e instanceof xd&&l instanceof xd))return 3;Aa.ba(e.Cb);return e.Cb(l)}if(I=== +D)return 0;if(e instanceof Mc)return 2;if(l instanceof Mc)return 1;if(qd(e))return qd(l)?0:/^A[ODF]/.test(f.p)?1:"A"===f.p||""===f.p?2:4;if(qd(l))return v(P(l,e));if(p.p===f.p){if(pd(e))return p.u&&f.u?3:p.e&&f.e?z(p.e,f.e):p.n&&f.n?z(p.n,f.n):G(p)&&G(f)?4:G(p)&&!G(f)?2:G(f)&&!G(p)?1:0;if(e.ka())return 0;if("FA"===p.p)return e=e.l?e.l():mc.pa,l=l.l?l.l():mc.pa,q(e,l);if("FM"===p.p)return p=a(e.x(),l.x()),l=q(e.U(),l.U()),A(p,l);if(!(e instanceof xd&&l instanceof xd))return 3;Aa.ba(e.Cb);return e.Cb(l)}return p.p.startsWith(f.p)? +p.u?3:2:f.p.startsWith(p.p)?p.u?3:1:4}function q(e,l){Aa.ba(e instanceof pc);Aa.ba(l instanceof pc);var z=e.ca;var v=l.ca;z=z===v?yd.kb:(z|v)===z?yd.Fb:(z|v)===v?yd.dc:0===(z|v)?yd.Rb:yd.oh;e=a(e.K,l.K);return A(z,e)}const g={};return{kb:0,Fb:1,dc:2,oh:3,Rb:4,Cb:a,Wj:function(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);e=a(e,l);return 0===e||2===e},Pk:b,Ed:function(e){Aa.ba(0b(l,z),e[0])},Kj:function(e){Aa.ba(0h(l,z),e[0])},Hi:q}}();function hd(a){return 0!==(a&4)}function fd(a){return 0!==(a&1)}function Id(a){let b=0;a.forEach(h=>b|=h);5===b&&(b=7);return b}function qc(a){return{0:1,1:2,"?":3,"+":6,"*":7}[a]}function Jd(a,b){return(fd(a)&&fd(b)?1:0)+(1!==a||1!==b?2:0)+(1===a&&!hd(b)||1===b&&!hd(a)?0:4)}function Kd(a){switch(a){case "1":return b=>1===b;case "0":return b=>0===b;case "?":return b=>2>b;case "+":return b=>0!0}} +function Cd(a){switch(a){case 1:return b=>0===b;case 2:return b=>1===b;case 4:return b=>12>b;case 6:return b=>0!0}}function gd(a){switch(a){case 3:return"?";case 2:return"";case 7:return"*";case 6:return"+";case 4:return"+";case 1:return"0";default:return"*"}};function Ld(a,b,h){a=a.expand();b=b.expand();a=Pb(a);b=Pb(b);let A,P;for(;;){A=a.next();P=b.next();if(null===A)return null===P;if(null===P||!Md(A,P,h))return!1}} +function Md(a,b,h){var A=fc.va;if(a===b)return!0;if(fc.Q(a)){if(!fc.Q(b)||!fc.Vj(a.nodeType,b.nodeType))return!1;switch(a.nodeType){case 9:case 11:return Ld(A.wa(a),A.wa(b));case 1:if(!fc.X(a).equals(fc.X(b)))return!1;const P=A.attribute(a).expand();if(P.length!==A.attribute(b).count())return!1;for(let q=0;qB;case ">":case "gt":return 0=":case "ge":return 0<=B;case "<=":case "le":return 0>=B;case "!=":case "ne":return 0!==B;default:throw new J("Unknown operator "+E,"SXJS0003");}}function c(E,B){return E.map(function(L){var H=B.fixed.evaluator;L=H.$(L,"dataType");H=null===L?null:H.evaluate(L,B).next();return"number"===H?function(S){return null===S?null:x.double.hf(S.toString())}:"text"===H?function(S){return null===S?null:x.string.I(S)}:function(S){return S}})} +function d(E,B){return E.substring(0,B.length)===B}function n(E,B){return E.substring(E.length-B.length)===B}function m(E,B){return B&&(B=B.next())?B.toString():E.collation||ld.getInheritedProperty(E,"defaultCollation")}function u(E,B){B=E?d(E,"http://www.w3.org/2013/collation/UCA")&&36K(M)?C&&Z(aa)?x.numeric.Fd(M):K(aa)?x.string.I(M):Z(aa)?x.double.I(M):"AQ"===aa.code?Sa.XS.QName.I(M,ld.stylesheetResolver(S,!1)):Sa.codes[aa.code].I(M):M,V="="===L?H.equals:"!="===L?(M,aa)=>!H.equals(M,aa):(M,aa)=>r(L,H.compare(M,aa));let ha;for(var w;null!==(ha=E.next());){const M=Pb(B);for(;null!==(w=M.next());){const aa=X(ha,w);w=X(w,ha);if(!(Z(aa)&&isNaN(aa.value)||Z(w)&&isNaN(w.value))&&V(aa,w))return bc(!0)}}return bc(!1)},Bj:function(E){return{equals:function(B, +L){const H=x.numeric.matches;return H(B)||H(L)?x.numeric.Fd(B).toNumber()===x.numeric.Fd(L).toNumber():E.equals(B,L)},compare:E.compare}},jf:function(E,B,L){return u(m(E,B),L)},Bg:u,Kb:function(E,B,L,H){B=m(E,B);H=u(B,H)[L];if(!H)throw new J("Collation "+B+" has no "+L+" method","FOCH0002",E);return H},Dj:c,Fg:"http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive",itemIsNaN:A,zk:f,Ak:function(E){const B=ld.Fa(E),L=ld.db(E,"sortKey");return H=>{const S=Xb(B(H)),C=[],Z=L.map(w=> +I(w,H)),K=L.map(ld.Fa),X=c(L,H),V=H.newContext(!1);V.tempOutputState="sort key";V.focus=S;let ha=0;S.forEachItem(function(w){const M=L.map(function(aa,ja){return X[ja](K[ja](V).next())});C.push({item:w,keys:M,Hd:ha++})});C.sort(function(w,M){for(let ja=0;jaM.Hd?1:w.Hd===M.Hd?0:-1});return Pb(C.map(w=>w.item))}},Af:r,Oi:function(E, +B){switch(E){case "=":case "eq":return B;case "!=":case "ne":return!B;case "<":case "lt":case ">":case "gt":case ">=":case "ge":case "<=":case "le":throw new J("Operator "+E+" not allowed for unordered types","SXJS0003");default:throw new J("Unknown operator "+E,"SXJS0003");}},Ef:function(E,B){function L(K){return Oa(K)?S(K.matchKey()):K.matchKey()}const H=new lc,S=E.collationKey;if(!S)throw new J("Collation is unsuitable for keys and grouping","XTDE1110");const C={Fc:function(K,X){return Ld(Pb(K), +Pb(X),E.equals)},hash:function(K){return K.map(L).join()}},Z={Fc:function(K,X){return L(K)===L(X)},hash:function(K){return L(K)}};H.la=B?C:Z;return H},Ck:"http://www.w3.org/2013/collation/UCA",Ui:"http://www.w3.org/xslts/collation/caseblind"}}();var Pd=function(){var a={};return{register:function(b,h){a[b]=h},find:function(b){return a[b]},Xl:a}}();var Qd=function(){function a(b){const h=fc.va,A={"p.any":function(){return function(){return!0}},"p.never":function(){return function(){return!1}},"p.booleanExp":function(P){const q=ld.Fa(P);return function(g,e){e=e.newContext();e.focus=Wb(g);return ld.wd(q(e))}},"p.genNode":function(P){const q=ld.Fa(P);let g;if("slash"===P.C[0].N){P=ld.oj(P.C[0]);let e=P.C[0];for(;["filter","subscript"].includes(e.N);)e=e.C[0];"axis"===e.N&&"child"===e.name&&(e.name="self",g=ld.elaborate(P))}return function(e,l){if(!fc.Q(e))return!1; +const z=fc.va.Ka(e);let v;for(var G;;){v=z.next();if(null==v)return!fc.nf(G)&&g?(l=l.newContext(!1),l.focus=Wb(G),l.regexGroups=[],g(l).some(p=>fc.isSameNode(p,e))):!1;G=l.newContext(!1);G.focus=Wb(v);G.regexGroups=[];if(q(G).some(p=>fc.isSameNode(p,e)))return!0;G=v}}},"p.genPos":function(P){const q=oc(P.test).ga(),g=ld.Fa(P);return function(e,l){if(!q(e))return!1;const z=l.fixed.evaluator;l=l.newContext(!1);var v=h.wa(fc.Oa(e)).filter(q);l.focus=Xb(v);for(l.regexGroups=[];null!=(v=l.focus.next());)if(v=== +e&&z.wd(g(l)))return!0;return!1}},"p.nodeSet":function(P){const q=ld.Fa(P);return function(g,e){return q(e).some(l=>l===g)}},"p.nodeTest":function(P){return oc(P.test).ga()},"p.simPos":function(P){const q=oc(P.test).ga(),g=parseInt(P.pos,10);return function(e){return q(e)&&h.Dc(e).filter(q).count()===g-1}},"p.venn":function(P){var q=P.C,g=a(q[0]),e=a(q[1]);P=P.op;switch(P){case "union":return function(l,z){return g(l,z)||e(l,z)};case "intersect":return function(l,z){return g(l,z)&&e(l,z)};case "except":return function(l, +z){return g(l,z)&&!e(l,z)};default:throw new J("unknown op "+P,"SXJS0003");}},"p.withCurrent":function(P){const q=a(P.C[0]);return function(g,e){e=e.newContext(!0);e.localVars[0]=[g];return q(g,e)}},"p.withPredicate":function(P){P=P.C;const q=a(P[0]),g=ld.elaborate(P[1]);return function(e,l){if(!q(e,l))return!1;l=l.newContext(!1);l.focus=Wb(e);l.regexGroups=[];return ld.wd(g(l))}},"p.withUpper":function(P){const q=P.C,g=a(q[0]),e=a(q[1]),l=P.axis;return"parent"===l?"true"===P.upFirst?function(z,v){const G= +fc.Oa(z);return G&&e(G,v)&&g(z,v)}:function(z,v){const G=fc.Oa(z);return G&&g(z,v)&&e(G,v)}:function(z,v){if(!g(z,v))return!1;z=fc.Ch[l](z);let G;for(;null!==(G=z.next());)if(e(G,v))return!0;return!1}}}[b.N];if(A)return A(b);throw new J("Unimplemented pattern "+b.N,"SXJS0002");}return{Zc:a,matches:function(b,h,A){A.pushCurrentOutputURI(null);b=b(h,A);A.popCurrentOutputURI();return b}}}();var Rd=function(){function a(A,P,q,g){function e(n){for(var m=[],u=n.length-1;0<=u;u--)m.push({Id:n[u],Xa:n[u].C[1],ve:Qd.Zc(n[u].C[0])});return m}function l(n){n._saxonAccumulators||(n._saxonAccumulators={});n._saxonAccumulators[q]={};var m=z(D,n);m&&(d=G(m,n));n._saxonAccumulators[q].pre=d;h.wa(n).forEachItem(l);(m=z(r,n))&&(d=G(m,n));n._saxonAccumulators[q].post=d}function z(n,m){for(var u=0,Q=n.length;uI.indexOf(v[0].value))throw new J("Invalid value "+D+"="+v[0],"FOJS0005");return v[0].value}throw new J("Invalid option: "+G+": must be "+p,"XPTY0004");}return f}function b(v, +G){function p(u){throw new J(u,"FOJS0001");}function f(){return m=I()}function I(){for(m="";;){if(n>=v.length)return["eof"];var u=v.charAt(n++);if(!/[ \n\r\t]/.test(u))break}switch(u){case "[":case "{":case "]":case "}":case ":":case ",":return[u];case '"':for(u=!1;;){const Q=v.charAt(n++);if('"'!==Q||u)m+=Q,u="\\"===Q&&!u;else return["string",m];n>=v.length&&p("Unclosed quotes in string literal")}case "-":case "0":case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":for(m+= +u;n=u){if(m+=u,++n>=v.length)break}else break;if(["true","false","null"].includes(m))return[m];p("Unknown constant "+m);break;default:return p("Unexpected character '"+u+"' ("+Ia(u)+") at position "+n),-1}}function D(u){m[0]!==u&&p("Expected "+u+", found "+ +m[0])}function r(u){return m[0]===u?(f(),!0):!1}function c(u){return m[0]===u?(f(),!0):","===m[0]?(f(),!1):p("Expected ',' or '"+u+"', found '"+m[0]+"'")}function d(){switch(m[0]){case "[":f();G.Mi();if(!r("]")){do d();while(!c("]"))}G.Sh();break;case "{":f();G.Ni();if(!r("}")){do D("string"),G.Oh(m[1]),f(),D(":"),f(),d();while(!c("}"))}G.Th();break;case "string":G.Rh(m[1]);f();break;case "number":G.Qh(m[1]);f();break;case "true":case "false":G.Nh(m[0]);f();break;case "null":G.Ph();f();break;default:p("Unexpected token "+ +m[0])}}v=v.replace(/^[\uFEFF]/,"");let n=0,m=null;m=f();d();D("eof");return G.jd()}function h(v){try{return JSON.parse('"'+v+'"')}catch(G){throw new J(G.toString(),"FOJS0001");}}function A(v,G){const p=G.lb,f=G.td;let I;I=f?D=>f.evaluate([[Sa.XS.string.fromString(P(D))]],p).next().toString():()=>"\ufffd";v=v.replace(/[\x00-\x08\x0B\x0C\x0E-\x0F\x80-\x9F\uFFFF]/g,I);return v=v.replace(/[\uD800-\uDFFF]+/g,D=>{let r="";for(let c=0;cd||c===D.length- +1&&"\udc00">d?I(d):d}return r})}function P(v){for(v=v.charCodeAt(0).toString(16);4>v.length;)v="0"+v;return"\\u"+v.toUpperCase()}function q(v,G){this.b=[];this.x=[];this.lb=G;a(v,"liberal","boolean",!1);this.td=a(v,"fallback","function",null);this.l=a(v,"escape","boolean",!1);this.z=a(v,"duplicates","string","use-first",["reject","use-first","use-last"]);if(this.l&&this.td)throw new J("parse-json: cannot use fallback with escape:true()","FOJS0005");}function g(v,G){this.b=[];this.z=[];this.x=[];this.lb= +G;a(v,"liberal","boolean",!1);if(a(v,"validate","boolean",!1))throw new J("json-to-xml: validate option not supported in a non-schema-aware processor","FOJS0004");this.td=a(v,"fallback","function",null);this.l=a(v,"escape","boolean",!1);this.U=a(v,"duplicates","string","use-first",["reject","use-first","retain"]);if(this.l&&this.td)throw new J("json-to-xml: cannot use fallback with escape:true()","FOJS0005");}const e=dc.za,l=Sa.XS,z=fc.va;q.prototype={b:[],x:[],lb:null,l:!1,td:null,z:"use-first", +U:function(v){return this.l?JSON.stringify(v).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,P):A(v,this)},ma:function(){return this.b[this.b.length-1]},g:function(v){if(0===this.b.length)this.b.push(v);else if(this.ma()instanceof id)this.ma().value.push(v);else{const G=this.ma(),p=l.string.fromString(this.x.pop());if(G.containsKey(p))switch(this.z){case "reject":throw new J("json-to-xml: duplicate key '"+p.toString()+"'","FOJS0003");case "use-first":return}G.inSituPut(p,v)}}, +Ph:function(){this.g([])},Nh:function(v){this.g([l.boolean.fromString(v)])},Qh:function(v){this.g([l.double.fromNumber(parseFloat(v))])},Rh:function(v){this.g([l.string.fromString(this.U(h(v)))])},Oh:function(v){this.x.push(this.U(h(v)))},Mi:function(){this.b.push(new id([]))},Sh:function(){this.g([this.b.pop()])},Ni:function(){this.b.push(new lc)},Th:function(){this.g([this.b.pop()])},jd:function(){return void 0!==this.ma()[0]?this.ma()[0]:null}};g.prototype={b:[],z:[{}],x:[],lb:null,td:null,l:!1, +U:"use-first",O:function(v){return this.l?JSON.stringify(v).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,P):A(v,this)},ma:function(){return this.b[this.b.length-1]},g:function(v){if(0===this.b.length)v.setAttribute("xmlns",e),this.b.push(v);else{const G=this.ma();if("map"===G.tagName){const p=this.z.pop(),f=this.x[this.x.length-1];if(p in f)switch(this.U){case "reject":throw new J("parse-json: duplicate key '"+p.toString()+"'","FOJS0003");case "use-first":return}f[p]=v;v.setAttribute("key", +p);this.l&&/\\/.test(p.toString())&&v.setAttribute("escaped-key","true")}G.appendChild(v)}},Ph:function(){const v=this.lb.resultDocument.createElementNS(e,"null");this.g(v)},Nh:function(v){const G=this.lb.resultDocument.createElementNS(e,"boolean");v=this.lb.resultDocument.createTextNode(v.toString());G.appendChild(v);this.g(G)},Qh:function(v){const G=this.lb.resultDocument.createElementNS(e,"number");v=this.lb.resultDocument.createTextNode(v.toString());G.appendChild(v);this.g(G)},Rh:function(v){const G= +this.lb.resultDocument.createElementNS(e,"string");if(""!==v){v=this.O(h(v));const p=this.lb.resultDocument.createTextNode(v);this.l&&/\\/.test(v)&&G.setAttribute("escaped","true");G.appendChild(p)}this.g(G)},Oh:function(v){this.z.push(this.O(h(v)))},Mi:function(){const v=this.lb.resultDocument.createElementNS(e,"array");this.b.push(v)},Sh:function(){this.g(this.b.pop())},Ni:function(){const v=this.lb.resultDocument.createElementNS(e,"map");this.b.push(v);this.x.push({})},Th:function(){this.x.pop(); +this.g(this.b.pop())},jd:function(){return this.ma()}};return{Gd:function(v,G,p){return b(v,new q(G,p))},mk:function(v,G,p){return b(v,new g(G,p))},Fk:function(v,G){function p(m){throw new J("Invalid input to xml-to-json(): "+m,"FOJS0006");}function f(m){0!==d.wc(m).length&&p("node "+m.tagName+" must have no element children")}function I(m){z.wa(m).filter(function(u){return(3===u.nodeType||4===u.nodeType)&&u.nodeValue&&""!==Ma.trim(u.nodeValue)}).next()&&p("node "+m.tagName+" must have no text content")} +function D(m){try{return l.boolean.fromString(m).toBoolean()}catch(u){p("invalid boolean: '"+m+"'")}}function r(m){try{JSON.parse('"'+m+'"')}catch(u){throw new J("invalid escape sequence: "+u.toString(),"FOJS0007");}}function c(m,u=0){const Q=0===u,ma=n?" ".repeat(3*u):"";if(9===m.nodeType||11===m.nodeType){var na=d.wc(m);1!==na.length&&p("document node has "+na.length+" element children");return c(na[0],u)}if(1===m.nodeType){let O=!1;if(m.namespaceURI===e){let ca=null!==d.Oa(m)&&"map"===d.Oa(m).localName; +z.attribute(m).forEachItem(function(x){if(0>x.name.indexOf(":")||x.namespaceURI===e)"key"===x.name||"escaped-key"===x.name?"escaped-key"===x.name?(ca||Q||p("@escaped-key is allowed only on children of map, or on root element"),D(x.value)&&r(m.getAttribute("key"))):ca||Q||p("@key is allowed only on children of map, or on root element"):"escaped"===x.name?("string"!==m.localName&&p("@escaped is allowed only on string"),O=D(x.value)):p("invalid attribute "+x.name)});switch(m.localName){case "null":return z.wa(m).filter(function(S){return 8!== +S.nodeType&&7!==S.nodeType}).next()&&p("null element must have no content"),"null";case "string":f(m);na=m.textContent;if(O)na=na.replace(/^"/g,'\\"').replace(/^[\b]/g,"\\b").replace(/^\f/g,"\\f").replace(/^\n/g,"\\n").replace(/^\r/g,"\\r").replace(/^\t/g,"\\t").replace(/^\//g,"\\/").replace(/([^\\])"/g,'$1\\"').replace(/([^\\])[\b]/g,"$1\\b").replace(/([^\\])\f/g,"$1\\f").replace(/([^\\])\n/g,"$1\\n").replace(/([^\\])\r/g,"$1\\r").replace(/([^\\])\t/g,"$1\\t").replace(/([^\\])\//g,"$1\\/").replace(/[\u0001-\u001F\u007F-\u009F]/g, +P),r(na);else return JSON.stringify(na).replace(/\//g,"\\/");return'"'+na+'"';case "number":f(m);try{na=l.double.fromString(m.textContent)}catch(S){p("invalid number")}isFinite(na.toNumber())||p("NaN and INF not allowed");return na.toString();case "boolean":return f(m),D(m.textContent),l.boolean.fromString(m.textContent).toString();case "array":I(m);let x=n?"[\n":"[",E=n?ma:"";d.wc(m).forEach(function(S){x+=E+c(S,u+1);E=n?`,\n${ma}`:","});return x+"]";case "map":I(m);let B=n?"{\n":"{",L=n?ma:"";const H= +{};d.wc(m).forEach(function(S){null!=S.attributes.getNamedItem("key")||p("child element of map must have a key");const C=d.getAttribute(S,"key");let Z=C;const K=d.getAttribute(S,"escaped-key");let X=!1;K&&D(K)&&(X=!0,Z=h(C));H[Z]&&p("duplicate key '"+C+"'");H[Z]=!0;B+=L+(X?'"'+C+'"':JSON.stringify(C).replace(/\//g,"\\/"))+":"+c(S,u+1);L=n?`,\n${ma}`:","});return n?B+`\n${0{hc(P,g.q,g.toString(),q.value)});for(let q in h)h.hasOwnProperty(q)&&(a=h[q],""===q?hc(P,"http://www.w3.org/2000/xmlns/","xmlns",a):hc(P,"http://www.w3.org/2000/xmlns/","xmlns:"+q,a))}endElement(){0===--this.g?this.ec=null:this.ec=this.ec.parentNode;this.l=null}text(a){this.l?this.l.appendData(a):(a=this.Rc.createTextNode(a),Xd(this,a),0de(a,h));else{if(b instanceof jd.XdmFunction)throw new J("Cannot add a function item to an XDM node tree","SENR0001");if(b instanceof lc)throw new J("Cannot add a map to an XDM node tree","SENR0001");ee.Di(b,a);a.g=!1}} +class fe extends Wd{constructor(a){super();this.b=a;this.g=this.x=this.l=!1}startDoc(a={}){ce(this,a);this.l=!1}endDoc(){this.g=!1;this.b.endDoc()}startElement(a,b,h,A={}){ce(this,A);this.b.startElement(a,b,h,A)}endElement(){this.b.endElement();this.g=!1}text(a,b={}){ce(this,b);super.text(a,b);this.g=!1}comment(a,b={}){ce(this,b);super.comment(a,b);this.g=!1}pi(a,b,h={}){ce(this,h);super.pi(a,b,h);this.g=!1}append(a,b={}){ce(this,b);de(this,a)}close(){this.l&&this.endDoc();super.close()}} +function ge(a,b={}){a.l||(a.b.startDoc(b),a.l=!0,a.g=!0);a.x||a.b.append(a.z,{});a.x=!1} +class he extends Wd{constructor(a,b){super();this.b=a;this.l=this.g=!1;this.x=!0;this.z=Sa.XS.string.fromString(b)}startDoc(a={}){ge(this,a);this.g=!1}endDoc(){this.b.endDoc()}startElement(a,b,h,A={}){ge(this,A);this.b.startElement(a,b,h,A)}endElement(){this.b.endElement()}text(a,b={}){ge(this,b);super.text(a,b)}comment(a,b={}){ge(this,b);super.comment(a,b)}pi(a,b,h={}){ge(this,h);super.pi(a,b,h)}append(a,b={}){if(ld.isArray(a))a.flatten(h=>this.append(h,b));else{if(a instanceof jd.XdmFunction)throw new J("Cannot add a function item to an XDM node tree", +"SENR0001");if(a instanceof lc)throw new J("Cannot add a map to an XDM node tree","SENR0001");Sa.ka(a)?(ge(this,b),this.b.append(a,b)):(ge(this,b),ee.Di(a,this))}}close(){this.g&&this.endDoc();super.close()}}function ie(a,b){return a.b.findIndex(h=>h.equals(b))}class je{constructor(){this.b=[];this.g=[]}get(a){a=ie(this,a);return 0>a?void 0:this.g[a]}set(a,b){const h=ie(this,a);0<=h?this.g[h]=b:(this.b.push(a),this.g.push(b))}forEach(a){for(let b=0;bc.append(d))}}return I}}function b(f){let I=f.N;f.parentNode&&(I=b(f.parentNode)+"/"+I);return I}function h(f){if(f.C){const I=f.C.map(a);return function(D,r){I.forEach(c=>c(D,r))}}return()=>{}}function A(f,I,D,r,c,d){if(fc.Q(f))switch(f.nodeType){case 9:case 11:D.cb=fc.Za(f);q(f,D,c,d);break;case 1:if(null!=f.attributes.getNamedItem("xml:base")){const n= +f.getAttribute("xml:base");D.cb=fc.Wc(n)?n:ya.resolveUri(n.toString(),ld.staticBaseUri(r,I)).toString()}else D.cb=fc.Za(f);q(f,D,c,d);break;case 3:case 4:D.text(f.nodeValue);break;case 7:D.pi(f.target,f.data);break;case 8:D.comment(f.textContent);break;default:D.append(f)}else D.append(f)}function P(f,I,D){switch(f.nodeType){case 9:case 11:I.startDoc(D?{BASE_URI:D}:{});f=f.childNodes;for(D=0;Dn||D.index===n&&c)&&r.push({Ac:!1,string:d(f.substring(n,D.index))}),r.push({Ac:!0,groups:D,string:d(D[0])}),n=I.lastIndex,0===D[0].length&&I.lastIndex++,m++>10*f.length)throw new J("analyze-string looping???","SXJS0004");f.length>n&&r.push({Ac:!1,string:d(f.substring(n,f.length))}); +return r}function z(f){const I="compAtt"===f.N,D=ld.elaborate(ld.$(f,"name")),r=ld.elaborate(ld.$(f,"namespace"));return c=>{function d(){throw new J((I?"Attribute":"Element")+" name '"+n+"' is not a lexical QName",I?"XTDE0850":"XTDE0820",f);}let n=Ma.trim(D(c).next().toString());if(r){c=(c=r(c).next())?c.value:"";if(!ld.Ek(c))throw new J((I?"Attribute":"Element")+" namespace '"+c+"' is invalid",I?"XTDE0865":"XTDE0835",f);var m=Sa.XS.QName;if(""===c&&n.includes(":"))m=m.fromParts("","",n.replace(/^.*:/, +""));else if(n.includes(":")){const u=n.split(":");""!==u[0]&&""!==u[1]||d();m=m.fromParts(u[0],c,u[1])}else m=""===c?m.fromParts("","",n):m.fromParts(I?"ns0":"",c,n)}else{if(I&&"xmlns"===n)throw new J("Attribute must not be named xmlns","XTDE0855",f);try{m=ld.Ug(f,n,!I)}catch(u){if(u instanceof J){if("XTDE0290"===u.code)throw new J((I?"Attribute":"Element")+" name '"+n+"' has an unbound prefix",I?"XTDE0860":"XTDE0830",f);"FORG0001"===u.code&&d()}throw u;}}if("http://www.w3.org/2000/xmlns/"===m.q)throw new J("Disallowed namespace "+ +m.q,I?"XTDE0865":"XTDE0835",f);return m}}class v{constructor(){}startDoc(){}endDoc(){}startElement(){}attribute(){}namespace(){}endElement(){}text(){}comment(){}pi(){}append(){}close(){}}class G extends v{constructor(f){super();this.g=f;this.O=[];this.ub=[];this.cb=null;this.b=0;this.Ra=this.x=null;this.z={};this.Ea=null;this.l=this.ia=!1;this.qa={};this.Bc=null}na(f,I,D){var r=this.z[f];if(r&&r!==I)if("ns"===D){if(this.qa[f])throw new J("Two conflicting bindings for prefix '"+f+"'","XTDE0430");if(this.x.prefix=== +f){for(r=f+"_9";this.z[r];)r+="9";this.x=Sa.XS.QName.fromParts(r,this.x.q,this.x.local);this.z[r]=this.x.q}this.z[f]=I}else return""===f&&(f="NULL"),this.na(f+"0",I,D);"ns"===D&&(this.qa[f]=I);if("elem"===D&&""===I)for(r=this.O.length-1;0<=r;r--)if(""===this.O[r][0]){this.z[""]="";break}if(""!==f||""!==I){r=!1;for(let c=this.O.length-1;0<=c;c--){const d=this.O[c];if(d[0]===f){d[1]===I&&(r=!0);break}}if(!r){if(this.qa[f]&&this.qa[f]!==I)return this.na(f+"0",I,D);this.z[f]=I}}return f}startDoc(){0=== +this.b&&(this.g.startDoc({BASE_URI:this.cb,ORIGINAL_NODE:this.Bc}),this.O=[]);this.U();this.b++;this.l=this.ia=!1}endDoc(){this.b--;0===this.b&&this.g.endDoc();this.l=!1}startElement(f){this.U();this.b++;this.ia=!0;this.x=f;this.Ra=new je;this.z={};this.qa={};this.na(f.prefix,f.q,"elem");this.Ea=this.Bc;this.l=!1}attribute(f,I){if(0===this.b)this.g.append(new ec(f,I,null));else{if(!this.ia){if(this.x)throw new J("Cannot write attribute ("+f.toEQName()+"="+I+") after writing child nodes (level="+this.b+ +", start tag = "+this.x+")","XTDE0410");throw new J("Cannot attach an attribute ("+f.toEQName()+"="+I+") to a document node","XTDE0420");}if(""!==f.q){["","xmlns"].includes(f.prefix)&&(f=f.withPrefix("ns_"));const D=this.na(f.prefix,f.q,"att");D!==f.prefix&&(f=f.withPrefix(D))}this.Ra.set(f,{value:I,Wa:0})}}namespace(f,I){if(0===this.b)this.g.append(new gc(f,I));else{if(!this.ia)throw new J("Cannot write namespace after writing child nodes","XTDE0410");if(""===f&&""===this.x.q)throw new J("Cannot add default namespace declaration to a no-namespace element", +"XTDE0440");this.na(f,I,"ns")}}endElement(){this.U();this.g.endElement();this.b--;let f=this.ub.pop();for(;0this.append(I));break;default:this.U(),q(f,this,!0,!1)}this.l=!1}else if(0===this.b)this.g.append(f,{}),this.l=!1;else if(Sa.ka(f))this.U(),this.text((this.l?" ":"")+f.toString(),{}),this.l=!0;else if(ld.isArray(f)){f=f.value;for(let I=0;I{try{let u=I(n).next();if(null===u)return Tb;u=u.toString();const Q=D(n).next().toString(), +ma=r(n).next().toString(),na=l(u,Q,ma,!0,!1),O=n.newContext(!1),ca=na.map(x=>x.string);O.focus=Xb(Pb(ca));O.focus.forEachItem(()=>{const x=na[O.focus.position-1];x.Ac?c&&(O.regexGroups=x.groups,c(O,m)):d&&(O.regexGroups=[],d(O,m))})}catch(u){if(u instanceof J&&"FORX0002"===u.code)throw new J(u.message,"XTDE1140");if(u instanceof J&&"FORX0001"===u.code)throw new J(u.message,"XTDE1145");throw u;}}},applyImports:function(f){return function(I,D){const r=I.currentMode.mode;if(!r)throw new J("applyImports: no current mode", +"XTDE0560",f);I.failIfNoCurrentFocus("XTDE0560","xsl:apply-imports",f);const c=I.newContext(!0);c.currentComponent=I.currentMode;ld.Ze(f,I,c);c.focus=I.focus;return r.ij(c,D)}},applyT:function(f){const I=ld.Fa(f),D=ld.elaborate(ld.$(f,"separator"));return function(r,c){let d;const n=r.newContext(!0);if(ld.qb(f,"c"))d=r.currentMode.mode,["function","globalVariable","globalParam"].includes(r.currentComponent.actor.N)&&(d=ld.fe(f,r).Ri),n.currentComponent=r.currentMode;else{var m=ld.Eg(f,r,"mode");d= +m.mode;if(d.ti)throw new J("Mode "+d.Ve.name+" only handles typed nodes","XTTE3100",f);n.currentComponent=m}ld.Ze(f,r,n);m=D?D(r).next():null;n.focus=Xb(I(r));n.focus.regexGroups=r.focus?r.focus.regexGroups:null;d.xb(n,c,m)}},att:function(f){const I=f.name,D=I.split(":");let r;r=f.nsuri?2===D.length?Sa.XS.QName.fromParts(D[0],f.nsuri,D[1]):Sa.XS.QName.fromParts("",f.nsuri,I):Sa.XS.QName.fromString(I,ld.stylesheetResolver(f,!1));const c=ld.Fa(f);return function(d,n){d=g(c(d));n.attribute(r,d)}},"break":function(f){const I= +h(f);return function(D,r){I(D,r);D.focus.position=-999}},callT:function(f){return function(I,D){const r=ld.Eg(f,I,"template"),c=I.newContext(!0);c.currentMergeGroup=null;c.currentComponent=r;ld.og(r.actor,c);ld.Ze(f,I,c);I=r.actor;I.C&&h(I)(c,D)}},choose:function(f){f=f.C;const I=[],D=[];for(let r=0;r +I(D,r),r)}},copyOf:function(f){const I=ld.qb(f,"c"),D=ld.qb(f,"m"),r=ld.Fa(f);h(f);return function(c,d){r(c).forEachItem(n=>A(n,c,d,f,I,D))}},doc:function(f){const I=h(f);return function(D,r){r.cb=ld.staticBaseUri(f,D);r.startDoc();I(D,r);r.endDoc()}},elem:function(f){const I=f.name,D=I.split(":"),r=h(f);let c;c="undefined"!==typeof f.nsuri?2===D.length?Sa.XS.QName.fromParts(D[0],f.nsuri,D[1]):Sa.XS.QName.fromParts("",f.nsuri,I):Sa.XS.QName.fromString(I,ld.stylesheetResolver(f,!0));return function(d, +n){f.baseUri&&(n.cb=f.baseUri);n.startElement(c);if(f.namespaces){const u=f.namespaces.toString().split(" ");for(let Q=0;Q{m?m=!1:d.text(u.value,{});D(n,d)})}else n.focus.forEachItem(()=>D(n,d))}},forEachGroup:function(f){const I=ld.elaborate(ld.$(f,"select")),D=ee.elaborateForPush(ld.$(f,"content"));return(r,c)=>{function d(O){const ca=[];n.forEachItem(function(x){O(ca,x)});return ca}const n=Xb(I(r)),m=r.newContext(!1);m.focus=n;var u={starting:function(){const O=Qd.Zc(ld.$(f,"match"));return d(function(ca, +x){1===n.position||Qd.matches(O,x,m)?ca.push({pb:[x]}):ca[ca.length-1].pb.push(x)})},ending:function(){const O=Qd.Zc(ld.$(f,"match"));let ca=!1;return d(function(x,E){1===n.position||ca?x.push({pb:[E]}):x[x.length-1].pb.push(E);ca=Qd.matches(O,E,m)})},adjacent:function(){var O=ld.$(f,"collation");O=O?ld.evaluate(O,r).next().toString():Nd.Nc;const ca=Nd.Bg(O,r),x=ld.$(f,"key");let E=null;return d(function(B,L){var H=ld.evaluate(x,m).expand();1!==n.position&&Ld(Pb(H),Pb(E),ca.equals)?B[B.length-1].pb.push(L): +(B.push({pb:[L],Mb:H}),E=H)})},by:function(){var O=ld.$(f,"collation");O=O?ld.evaluate(O,r).next().toString():Nd.Nc;O=Nd.Bg(O,r);const ca=Nd.Ef(O,!1),x=ld.$(f,"key");return d(function(E,B){let L,H=[];ld.evaluate(x,m).forEachItem(function(S){ca.containsKey(S)?(L=ca.get(S),0>H.findIndex(function(C){return C===L})&&(E[L].pb.push(B),H.push(L))):(L=E.length,E.push({pb:[B],Mb:[S]}),ca.inSituPut(S,L),H.push(L))})})},by_c:function(){var O=ld.$(f,"collation");O=O?ld.evaluate(O,r).next().toString():Nd.Nc;O= +Nd.Bg(O,r);const ca=ld.$(f,"key"),x=Nd.Ef(O,!0);return d(function(E,B){let L,H=ld.evaluate(ca,m).expand();x.containsKey(H)?(L=x.get(H),E[L].pb.push(B)):(L=E.length,E.push({pb:[B],Mb:H}),x.inSituPut(H,L))})}};u.adjacent_c=u.adjacent;var Q=f.algorithm+(ld.qb(f,"c")?"_c":"");let ma;try{ma=u[Q]()}catch(O){if(O instanceof J&&"FOCH0002"===O.code)throw new J("Unknown collation:"+O.message,"XTDE1110");throw O;}const na=ld.db(f,"sortKey");if(0L)return-1;if(0Q(d));var m=d.newContext(!1);m.focus=Xb(D(d));m.currentTemplate=null;let u=!1;for(;null!==m.focus.next();)if(r(m,n),-999===m.focus.position){u=!0;break}!u&&c&&(m=d.newContext(!1),m.focus=null,c(m,n))}},let:function(f){const I=ld.Fa(f),D=a(f.C[1]),r=parseInt(f.slot,10);return function(c,d){const n=c.tempOutputState;c.tempOutputState= +"variable";const m=I(c).expand();c.tempOutputState=n;c.localVars[r]=m;D(c,d)}},nextIteration:function(f){const I=ld.db(f,"withParam").map(D=>({uk:ld.Fa(D),Db:parseInt(D.slot,10)}));return function(D){I.forEach(r=>r.value=r.uk(D).expand());I.forEach(r=>D.localVars[r.Db]=r.value)}},nextMatch:function(f){return function(I,D){const r=I.currentMode.mode;if(!r)throw new J("next-match: no current mode","XTDE0560",f);if(!I.currentTemplate)throw new J("next-match: no current template","XTDE0560",f);if(I.noCurrentFocus())throw new J("next-match: no context item", +"XTDE0560",f);const c=I.newContext(!0);c.currentComponent=I.currentMode;ld.Ze(f,I,c);return r.gk(c,D)}},procInst:function(f){const I=ld.Fa(f),D=ld.Mh(f);return function(r,c){const d=I(r).next().toString();if(!Ma.isNCName(d))throw new J("The name of a processing-instruction must be a valid NCName; supplied value: "+d.toString(),"XTDE0890",f);if(/^[Xx][Mm][Ll]$/.test(d))throw new J("The name of a processing-instruction must not be 'xml'","XTDE0890",f);r=D(r);r=g(r).replace(/\?>/g,"? >").replace(/^\s+/, +"");c.pi(d,r)}},sequence:h,sourceDoc:function(f){const I=ld.elaborate(ld.$(f,"href")),D=a(f.C[1]);return function(r,c){const d=r.newContext(!1);var n=null===I?"":I(r).next().toString();n=ya.resolveUri(n,ld.staticBaseUri(f,r));n=Td.uc(n,r);r=r.fixed.Ae;null!==r&&(n=r(n));d.focus=Wb(n);d.currentTemplate=null;D(d,c)}},useAS:function(f){return function(I,D){var r=ld.Eg(f,I,"attributeSet");I=I.newContext(!0);I.tempOutputState="attribute set";I.currentComponent=r;r=r.actor;r.C&&h(r)(I,D)}},valueOf:function(f){const I= +ld.Fa(f);let D={};ld.qb(f,"d")&&(D.DISABLE_ESCAPING=!0);return function(r,c){r=g(I(r));c.text(r,D)}}};return{kg:l,elaborateForPush:a,getComplexContentOutputter:function(f){return new G(f)},push:function(f,I,D){if("undefined"===typeof D)throw Aa.Qa(Error().stack,1,I.fixed.Ga),new J("No output for "+b(f));if(p[f.N]){var r=a(f);try{r(I,D)}catch(c){throw c instanceof J&&!c.xsltLineNr&&za(c,f),c;}}else{r=ld.elaborate(f);try{const c=r(I);let d;for(;null!=(d=c.next());)D.append(d)}catch(c){throw c instanceof +J&&!c.xsltLineNr&&za(c,f),c;}}},Di:P,vf:A,Rg:e}}();const ke=function(){function a(O,ca,x,E,B){function L(V){return null===n.Oa(V)}function H(V){return V.nodeType===S.nodeType&&(null===Z?!0:n.X(V).equals(Z))}let S;const C=B.fixed.evaluator;if(ca){if(S=C.evaluate(ca,B).next(),!S||!n.Q(S))throw new J("xsl:number/@select must yield a single node","XTTE1000");}else B.failIfNoCurrentFocus("XTTE0990","xsl:number"),S=B.getCurrentFocus();const Z=n.X(S);let K=H;if(null!==x){const V=Qd.Zc(x);K=function(ha){return Qd.matches(V,ha,B)}}if(null===E)ca=L;else{const V= +Qd.Zc(E);ca=function(ha){return L(ha)||Qd.matches(V,ha,B)}}let X;switch(O){case "simple":return O=m.Dc(S).filter(H),Zb(O.count()+1);case "single":O=m.Ka(S).filter(K).next();X=m.Ka(S).filter(ca).next();O=null===O?null:null!==m.Ka(O).filter(function(ha){return n.isSameNode(ha,X)}).next()?O:null;if(null===O)return Tb;O=m.Dc(O).filter(K);return Zb(O.count()+1);case "multi":O=Pb(m.Ka(S).filter(K).expand().reverse());X=m.Ka(S).filter(ca).next();O=O.filter(function(ha){return null!==m.Ka(ha).filter(function(w){return n.isSameNode(w, +X)}).next()});const V=u.integer.fromNumber;return O.mapOneToOne(ha=>V(m.Dc(ha).filter(K).count()+1));case "any":return x=function(ha,w){return n.fb(w,ha)},O=new Jb(m.Og(S).filter(K),m.Ka(S).filter(K),x),X=(new Jb(m.Og(S).filter(ca),m.Ka(S).filter(ca),x)).next(),null===X&&Aa.fa("from pattern selected empty"),O=O.filter(function(ha){return 0<=n.fb(ha,X)}),O=O.count(),0===O?Tb:Zb(O);default:return Aa.fa("unknown xsl:number/@level "+O),Tb}}function b(O,ca,x,E,B,L,H){function S(Z){let K;""===Z&&(Z="1"); +if(/^[\x01-\x7f]*$/.test(Z))Z=Z.split(/\b/),K=function(ha){return/\w+/.test(ha)};else{if(Z.length!==Ia(Z).length)throw new J("Cannot handle non-BMP characters in format-number picture","SXJS0002");const ha=ee.kg(Z,"[\\p{Nd}\\p{Nl}\\p{No}\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}]+","",!0,!1);K=function(w,M){return ha[M].Ac};Z=ha.map(function(w){return w.string.toString()})}const X={prefix:"",Qc:[],Rd:""};let V=".";for(let ha=0;ha=X.Qc.length?X.Qc[X.Qc.length-1]:X.Qc[w];0!==w&&(V+=M.sep);w=M.Fh;B&&(w+=";o");ha=ke.xg(ha.toNumber(),w);null!==x&&null!== +E&&(ha=ke.ig(ha,x,E));V+=ha});V+=X.Rd;return Yb(V)}(O.expand())}function h(O,ca,x,E,B){const L=B.fixed.evaluator;let H=[1];null!==x&&(H=L.evaluate(x,B).next().toString().split(/\s+/).map(function(S){if(!/^-?[0-9]+$/.test(S))throw new J("xsl:number/@start-at must be a sequence of integers. Offending value: "+S,"XTSE0020");return parseInt(S,10)}));if(ca&&E){O=O.next();if(null===O)return null;try{O=u.integer.I(O.round(0))}catch(S){return null}O=Pb([O])}return O.mapOneToOne(function(S,C){S=S.isNumeric()? +S.toDouble():u.double.hf(S.toString());if(0>S.toNumber())throw new J(`xsl:number/@value is less than zero (${S.toString()})`,"XTDE0980");try{S=u.integer.I(S.round(0))}catch(Z){throw Z.code="XTDE0980",Z;}C=C>=H.length?H[H.length-1]:H[C];1!==C&&(S=u.integer.fromNumber(S.toNumber()+(C-1)));return S})}function A(O){if(1>O||4999=E[B];)ca+=x[B], +O-=E[B];return ca}function P(O,ca){function x(B){return(B>E?x(Math.floor((B-1)/E)):"")+ca.charAt((B-1)%E)}if(1>O)return O.toString();const E=ca.length;return x(O)}function q(O,ca){return Ox?x.toString():qa(x).toFixed();x.lengthO&&(x="-"+x);return x}function e(O,ca="FODF1310"){const x=Ia(O),E={};let B=!0;var L=0;let H;const S=Ma.prepareRegex("\\p{Nd}",null);var C=O.search(S);if(0>C)B=!1;else{L=Ma.jk().Nd;for(let K= +0;Kx[C]||x[C]>H+10)throw new J("Picture string mixes digits from different digit families: "+O,ca);}else if(Ma.prepareRegex("\\p{N}\\p{L}",null).test(L))throw new J("Picture string is invalid: "+O,ca);const Z=[];L=H-48;x.forEach(function(K){H<=K&&K<=H+10?Z.push(48):Z.push(K)});O=Ja(Z)}E.Rj=B;E.format=O;E.sg=L;E.Gf=H;return E}function l(O,ca){const x=[];Ia(O).forEach(function(E){48<= +E&&57>=E?x.push(E+ca):x.push(E)});return Ja(x)}function z(O,ca,x,E="",B=!1){let L=0;for(let H=0;Hx[0]&&(H=!1);if(H)for(L=1;LO?ca[O]:100>O?x[Math.floor(O/ +10)]+(0===O%10?"":" "+ca[O%10]):1E3>O?G(Math.floor(O/100))+" Hundred"+(0===O%100?"":" and "+G(O%100)):1E6>O?G(Math.floor(O/1E3))+" Thousand"+(0===O%1E3?"":(100>O%1E3?" and ":" ")+G(O%1E3)):1E9>O?G(Math.floor(O/1E6))+" Million"+(0===O%1E3?"":(100>O%1E3?" and ":" ")+G(O%1E6)):O.toString()}function p(O){const ca="Zeroth First Second Third Fourth Fifth Sixth Seventh Eighth Ninth Tenth Eleventh Twelfth Thirteenth Fourteenth Fifteenth Sixteenth Seventeenth Eighteenth Nineteenth".split(" "),x=" Twent Thirt Fort Fift Sixt Sevent Eight Ninet".split(" "); +return 20>O?ca[O]:100>O?x[Math.floor(O/10)]+(0===O%10?"ieth":"y "+ca[O%10]):1E3>O?G(Math.floor(O/100))+" Hundred"+(0===O%100?"th":" and "+p(O%100)):1E6>O?G(Math.floor(O/1E3))+" Thousand"+(0===O%1E3?"th":(100>O%1E3?" and ":" ")+p(O%1E3)):1E9>O?G(Math.floor(O/1E6))+" Million"+(0===O%1E3?"th":(100>O%1E3?" and ":" ")+p(O%1E6)):O.toString()}function f(O){return 1===O%10&&11!==O%100?"st":2===O%10&&12!==O%100?"nd":3===O%10&&13!==O%100?"rd":"th"}function I(O,ca,x="FODF1310"){function E(H,S){let C="";for(let Z= +H.charCodeAt(0),K=0;KO?"-":"";if("o"===L)switch(ca.toString()){case "a":case "A":case "i":case "I":break;case "Ww":return B+p(Math.abs(O));case "W":return B+p(Math.abs(O)).toUpperCase(); +case "w":return B+p(Math.abs(O)).toLowerCase();default:return v(O,ca,x)+f(Math.abs(O))}switch(ca.toString()){case "a":return P(O,E("a",26));case "A":return P(O,E("A",26));case "\u03b1":return P(O,E("\u03b1",25));case "\u0391":return P(O,E("\u0391",25));case "i":return A(O);case "I":return A(O).toUpperCase();case "Ww":return B+G(Math.abs(O));case "W":return B+G(Math.abs(O)).toUpperCase();case "w":return B+G(Math.abs(O)).toLowerCase();case "\u2460":return q(O,"\u24ea"+E("\u2460",20)+E("\u3251",15)+ +E("\u32b1",15));case "\u2474":return q(O,"0"+E("\u2474",20));case "\u2488":return 0===O?"\ud83c\udd00":q(O,"0"+E("\u2488",20));case "\u2776":return q(O,"\u24ff"+E("\u2776",10)+E("\u24eb",10));case "\u2780":return 0===O?"\ud83c\udd0b":q(O,"0"+E("\u2780",10));case "\u278a":return 0===O?"\ud83c\udd0c":q(O,"0"+E("\u278a",10));case "\u24f5":return q(O,"0"+E("\u24f5",10));case "\u3220":return q(O,"0"+E("\u3220",10));case "\u3280":return q(O,"0"+E("\u3280",10));default:return v(O,ca,x)}}function D(O,ca){return String.fromCharCode(parseInt(O[ca]? +O[ca]:Q[ca],10))}function r(O,ca){function x(W){[["$gs","grouping separator"],["$es","exponent separator"],["$ds","decimal separator"],["$pc","non-prefix passive character"],["$pp","percent|permille"],["$od","optional digit"],["$md","mandatory digit"],["$ip","integer part"],["$fp","fractional part"]].forEach(function(ka){W=W.replace(ka[0],ka[1])});throw new J("Invalid picture: "+W,"FODF1310");}const E={};var B=O.indexOf(ca.ef),L=0<=B;const H=ca.Gf.charCodeAt(0);let S=0,C=0,Z=[];const K=[],X=[];let V= +-1,ha=-1,w=!1,M=!1;var aa=-1;let ja=0;var Y=L?B:O.length;for(var y=0;y=H&&daS&&0>V&&(V=y),S++,C++)):da===ca.Lh.charCodeAt(0)?(0V&&(V=y,M=!0),C++):da===ca.ie.charCodeAt(0)?(0V&&x("$pp before any digit"), +0ha&&(ha=y),da===ca.cd.charCodeAt(0)?E.cd=!0:E.we=!0):!L&&0<=V&&da===ca.tc.charCodeAt(0)&&0>ha?w?(X.push(da),0ha&&(ha=y):(X.push(da),w=!1,aa=-1,0>ha&&(ha=y-1))):(w=!0,aa=y):0<=V&&L?x("$pc before $ds"):w&&0===ja?(w=!1,aa=-1,X.push(ca.tc.charCodeAt(0)),X.push(da),0>ha&&(ha=y-1)):0<=V?(X.push(da),0>ha&&(ha=y)):K.push(da)}if(0=H&&kaha?ja++:0<=L||0<=ha?x("$md follows $od or $pc in $fp"):(Y++,y++):ka===ca.Lh.charCodeAt(0)?((0<=ha||w)&&x("$od follows $pc or $es"),0>L&&(L=W),y++):ka===ca.ie.charCodeAt(0)?((0<=ha||w)&&x("$gs follows $pc or $es"),da.push(W-B+1)):ka===ca.ef.charCodeAt(0)?x("more than one $ds"):ka===ca.cd.charCodeAt(0)|| +ka===ca.we.charCodeAt(0)?((0<=ha||w)&&x("$pp follows $pc or $es"),X.push(ka),ha=W,ka===ca.cd.charCodeAt(0)?E.cd=!0:E.we=!0):ka===ca.tc.charCodeAt(0)&&0>ha?w?(X.push(ka),0ha&&(ha=W):(X.push(ka),w=!1,aa=-1,0>ha&&(ha=W-1))):(w=!0,aa=W):w&&0===ja?(w=!1,aa=-1,X.push(ca.tc.charCodeAt(0)),X.push(ka),0>ha&&(ha=W-1)):(X.push(ka),0>ha&&(ha=W))}}0>V&&0===y&&x("mantissa contains no digits");if(0!==da.length)for(0===da[0]&&x("$gs at beginning of $fp"),B=0;B=E+x?d(new Date(O.getTime()-864E5),ca):Math.floor((x+E-2)/7)+ +(5>E?1:0)}const n=fc,m=n.va,u=Sa.XS,Q={"decimal-separator":"46","grouping-separator":"44",digit:"35","minus-sign":"45",percent:"37","per-mille":"8240","zero-digit":"48","exponent-separator":"101","pattern-separator":"59",infinity:"Infinity",NaN:"NaN"},ma={Y:"getUTCFullYear",M:"getUTCMonth",D:"getUTCDate",F:"getUTCDay",H:"getUTCHours",m:"getUTCMinutes",s:"getUTCSeconds",f:"getUTCMilliseconds"},na={d:c,W:function(O){return d(O,!0)},w:function(O){return d(O,!1)},h:function(O){return 13>O.getUTCHours()? +0===O.getUTCHours()?12:O.getUTCHours():O.getUTCHours()-12},P:function(O){return 12>O.getUTCHours()?"Am":"Pm"},E:function(O){return 0>O.getUTCFullYear()?"BC":"AD"}};return{hk:function(O,ca){const x=ca.fixed.evaluator,E=O.level,B=x.$(O,"select"),L=x.$(O,"count");O=x.$(O,"from");return a(E,B,L,O,ca)},ik:function(O,ca){var x=ca.fixed.evaluator;const E=x.$(O,"value"),B=x.$(O,"format"),L=x.hc(x.$(O,"gpSep"),ca).next(),H=x.hc(x.$(O,"gpSize"),ca).next();var S=x.hc(x.$(O,"ordinal"),ca).next();const C=x.hc(x.$(O, +"lang"),ca).next();var Z=O.flags||"";O=x.$(O,"startAt");Z=/1/.test(Z);x=x.evaluate(E,ca);x=h(x,Z,O,!0,ca);S=S?ld.Yj(S.toString()):!1;return null===x?Yb("NaN"):b(x,B,L,H,S,C,ca)},xg:I,ig:function(O,ca,x){let E="";for(let B=0;BO?!0:0===O?0>1/O:!1;x={ef:D(x,"decimal-separator"),ie:D(x,"grouping-separator"),Lh:D(x,"digit"),ek:D(x,"minus-sign"),cd:D(x,"percent"),we:D(x,"per-mille"),Gf:D(x, +"zero-digit"),tc:D(x,"exponent-separator"),Ai:D(x,"pattern-separator"),Lj:x.infinity||Q.infinity,fk:x.NaN||Q.NaN};if(isNaN(O))return x.fk;ca=ca.includes(x.Ai)?ca.split(x.Ai):[ca];if(2O?ca[1]:ca[0],x);if(isFinite(O)){if(0X&&(O=qa(O.toPrecision(X))); +(X=V!==O.e)&&(L+=1);1L)||Z&&X||(L=ha.join("").slice(L),H+="."+L)}else throw new J("Empty mantissa","SXJS0004");C=H+C+g(O.e,K)}else{K=Math.abs(O);B.cd&&(K=Math.abs(100*O));B.we&&(K=Math.abs(1E3*O));"Infinity"===K+""?C=K+"":C=999999>K?K.toString():qa(K).toFixed();K=C.indexOf(".");0>K&&(K=C.length,0C.indexOf(".")&&(C+=".0")):C=qa(C).round(0,1).toString());L=C.length-1-K;if(0L;L++)K+=String.fromCharCode(x.Gf.charCodeAt(0)+L);K+=x.ef;L="";for(S=0;SO?L+=Z:OL&&(L=K.length);C=K.substring(0,L);K=K.substring(L);if(0B.Lb[0]&&(L=!1);C=L?ke.ig(C,x.ie,B.Lb[0]):z(C,B.Lb,null,x.ie)}0K||"*"!==Z&&1>Z||"*"!==K&&"*"!==Z&&K>Z)throw new J("Invalid width modifier in date/time formatting picture","FOFD1340");}var X=null;1Z||12C.length;)C="0"+C;X=Ia(C);C=parseInt(Ja(X.reverse()),10);if(!H&&!S&&/^[0-9]$/.test(V))for(;X.length>V.length;)V+="#"; +if(H&&"*"!==H){ha=/^([0-9]*)(#*)$/.exec(V);V=ha[1]?ha[1]:"";for(ha=ha[2]?ha[2]:"";H>V.length;)V+="0",ha=ha.slice(0,-1);V+=ha}if(S)for("*"===S&&(S=X.length);V.lengthV.length;)C=C.slice(0,-1);H&&"*"!==H||0!==parseInt(C,10)||(C="0");Z||(C=l(C,K));H=C}else{if(/[nN]/.test(S))V="January February March April May June July August September October November December".split(" "),K="Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "), +X="M"===H?V[ha-1]:"F"===H?K[ha-1]:ha,"F"===H&&Z&&"*"!==Z&&6>Z&&(X=X.replace(/(ur)?day$/,""),X=X.replace(/nes$/,"s")),"n"===S?X=X.toLowerCase():"N"===S&&(X=X.toUpperCase()),Z&&"*"!==Z&&(X=X.substring(0,Z));else{V=/;/.test(S)?S+";":S;X&&(V+=(";"===V.charAt(V.length-1)?"":";")+X);X=I(ha,V,"FOFD1340");"Y"===H&&"-"===X.charAt(0)&&(X=X.substring(1));if("Y"===H&&/[^iIwWnN]/.test(S.charAt(S.length-1))&&(!K&&2===S.length||2==Z))for(;2ea[va]}const W={"<":"<",">":">","&":"&",'"':""","\n":" ","\r":" ","\t":" "},ka={"<":"<",">":">","&":"&"};return y?Y.replace(/&|<|>|"|\n|\r|\t/g,da(W)):Y.replace(/&|<|>/g,da(ka))}if(aa){aa="";w=w.split("\x00");for(let Y=0;Y=w:"US-ASCII"===M.toUpperCase()?127>=w: +!0}function h(w,M){return function(aa){var ja=!0;for(var Y=0;Y=w.min&&y<=w.max){ja=!1;break}}if(ja)return aa;ja="";Y=!1;for(y=0;y=W;ka&&(W=aa.codePointAt(y));w.oa[W]?(M&&!Y&&(ja+="\x00",Y=!0),ja+=w.oa[W],ka&&y++):(M&&Y&&(ja+="\x00",Y=!1),ja+=da)}return ja}}function A(w){return""===w.q||"http://www.w3.org/1999/xhtml"===w.q}function P(w){return["http://www.w3.org/1999/xhtml","http://www.w3.org/2000/svg", +"http://www.w3.org/1998/Math/MathML"].includes(w)}function q(w,M){return(M={action:["form"],archive:["object"],background:["body"],cite:["blockquote","del","ins","q"],classid:["object"],codebase:["applet","object"],data:["object"],datasrc:"button div input object select span table textarea".split(" "),"for":["script"],formaction:["button","input"],href:["a","area","base","link"],icon:["command"],longdesc:["frame","iframe","img"],manifest:["html"],name:["a"],poster:["video"],profile:["head"],src:"audio embed frame iframe img input script source track video".split(" "), +usemap:["img","input","object"]}[M.local])&&M.includes(w.local)}function g(w,M,aa=null){switch(w.method){case "xml":M=new Q(w,M);if(w.version&&"1.0"!==w.version)throw new J("Serializer does not support the requested XML version: "+w.version,"SESU0013");c(w);if(w["undeclare-prefixes"])throw new J("Cannot undeclare prefixes with XML 1.0 serializer","SEPM0010");w.indent&&(M=p(w,M));M=f(w,M);M=I(w,M);M=D(w,M);return G(w,M);case "html":return d(w,M);case "text":return c(w),M=new V(w,M),M=f(w,M),M=I(w, +M),G(w,M);case "xhtml":return d(w,M);case "json":return c(w),w.indent?new Z(w,M,aa):new C(w,M,aa);case "adaptive":return new K(w,M,aa);default:return new X(w,M)}}function e(w,M,aa){function ja(ea,va){va=va.trim();if(["yes","true","1"].includes(va))return!0;if(["no","false","0"].includes(va))return!1;throw new J("Value of "+ea+" must be yes(=true, 1) or no(=false, 0)","SEPM0016");}function Y(ea){return function(va,pa){pa=pa.trim();return pa.split(/\s+/).map(function(k){/^Q\{/.test(k)||/:/.test(k)|| +(k="Q{}"+k);return/^Q\{/.test(k)?k:m.QName.fromString(k,ea).toEQName()})}}function y(ea){return function(va,pa){pa=pa.trim();if(ea.includes(pa))return pa;throw new J("Value of "+va+"("+pa+"): must be one of "+ea.join("|"),"SEPM0016");}}function da(ea){return function(va,pa){if(ea.test(pa))return pa;throw new J("Invalid value for "+va+": must match the pattern "+ea,"SEPM0016");}}function W(ea,va){return va}function ka(ea,va){va=va.trim();if(/[0-9]+/.test(va))return 1*va;throw new J("Value of "+ea+ +" must be an integer (Actual value is "+Aa.showValue(va)+")","SEPM0016");}aa={"allow-duplicate-names":ja,"build-tree":ja,"byte-order-mark":ja,"cdata-section-elements":Y(aa),"doctype-public":da(/[\sa-zA-Z0-9\-'()+,.:=?;!*#@$_%\/]*/),"doctype-system":da(/[^']*|[^"]*/),encoding:da(/[\x21-\x7e]+/),"escape-uri-attributes":ja,"html-version":function(ea,va){if(/[0-9]+(\.[0-9]+)?/.test(va))return 1*va;throw new J("Value of "+ea+" must be a decimal number","SEPM0016");},"include-content-type":ja,indent:ja, +"item-separator":W,"json-node-output-method":y(["xml","xhtml","html","text"]),"media-type":W,method:function(ea,va){return function(pa,k){k=k.trim();!/^Q\{/.test(k)&&/:/.test(k)&&(k=m.QName.fromString(k,va).toEQName());if(ea.includes(k))return k;throw new J("Value of "+pa+"("+k+"): must be one of "+ea.join("|"),"SEPM0016");}}("xml xhtml html text json adaptive Q{http://saxonica.com/ns/interactiveXSLT}append-content Q{http://saxonica.com/ns/interactiveXSLT}replace-content".split(" "),aa),"normalization-form":y("NFC NFD NFKC NFKD fully-normalized none".split(" ")), +"omit-xml-declaration":ja,standalone:function(ea,va){return"omit"===va.trim()?null:ja(ea,va)},"suppress-indentation":Y(aa),"undeclare-prefixes":ja,"use-character-maps":Y(aa),version:W,"Q{http://saxon.sf.net/}indent-spaces":ka,"Q{http://saxon.sf.net/}line-length":ka,"Q{http://saxon.sf.net/}stylesheet-version":ka};/^\{/.test(w)&&(w="Q"+w);if("string"!==typeof M)throw new J("Value of "+w+" must be supplied as a string","SEPM0016");if(aa[w])return aa[w](w,M);if(!/^Q\{/.test(w))throw new J("Unknown serialization parameter "+ +w,"SEPM0017");}function l(w,M,aa){function ja(W,ka,ea){if(!Array.isArray(ka))throw new J("Value of "+W+" must be an array","SEPM0016");return(ea||[]).concat(ka)}function Y(W,ka){if("boolean"!==typeof ka)throw new J("Value of "+W+" must be boolean","SEPM0016");return ka}function y(W,ka){if("number"!==typeof ka)throw new J("Value of "+W+" must be an integer (actual value is "+Aa.showValue(ka)+")","SEPM0016");return ka}const da={"allow-duplicate-names":Y,"build-tree":Y,"byte-order-mark":Y,"cdata-section-elements":ja, +"escape-uri-attributes":Y,"html-version":function(W,ka){if("number"!==typeof ka)throw new J("Value of "+W+" must be a decimal number","SEPM0016");return ka},"include-content-type":Y,indent:Y,"omit-xml-declaration":Y,standalone:function(W,ka){return null===ka?null:Y(W,ka)},"suppress-indentation":ja,"undeclare-prefixes":Y,"use-character-maps":function(W,ka,ea){ea&&Array.isArray(ea)&&Aa.fa("Problem with existing character map supplied to overrideParam");if("object"!==typeof ka)throw new J("Value of "+ +W+" must be an object","SEPM0016");if(void 0===ka.oa)throw new J("Value of "+W+" must be a character map object","SEPM0016");(W=ea)?z(W,ka):W=ka;return W},"Q{http://saxon.sf.net/}indent-spaces":y,"Q{http://saxon.sf.net/}line-length":y,"Q{http://saxon.sf.net/}stylesheet-version":y};/^{/.test(w)&&(w="Q"+w);return da[w]?da[w](w,M,aa):e(w,M.toString())}function z(w,M){M.minw.max&&(w.max=M.max);for(let aa in M.oa)M.oa.hasOwnProperty(aa)&&(w.oa[aa]=M.oa[aa])}function v(w,M){let aa= +{};w.forEach(function(ja,Y){let y=M.Eh[ja];if(!y)throw new J("Unknown character map "+ja,"SEPM0016");0===Y?aa=y:z(aa,y)});return aa}function G(w,M){return w["item-separator"]&&"#absent"!==w["item-separator"]?new he(M,w["item-separator"]):new fe(M)}function p(w,M){const aa=w["Q{http://saxon.sf.net/}indent-spaces"],ja=w["suppress-indentation"];return Vd("xml"===w.method?new ma(aa,ja):new E(aa,ja),M)}function f(w,M){w["normalization-form"]&&"none"!==w["normalization-form"]&&(M=Vd(new na(w["normalization-form"]), +M));return M}function I(w,M){w["use-character-maps"]&&(M=Vd(new O(w["use-character-maps"]),M));return M}function D(w,M){w["cdata-section-elements"]&&(M=Vd(new ca(w["cdata-section-elements"],w.encoding||"UTF-8",w["normalization-form"]&&"none"!==w["normalization-form"]?w["normalization-form"]:null),M));return M}function r(w,M){return void 0===w[M]||w[M]}function c(w){if(w.encoding&&!["UTF-8","UTF-16","ISO-646","ISO-8859-1","US-ASCII"].includes(w.encoding.toUpperCase()))throw new J("Serializer does not support the requested encoding: "+ +w.encoding,"SESU0007");}function d(w,M){var aa="xhtml"===w.method;M=aa?new L(w,M):new x(w,M);if(aa&&w.version&&"1.0"!==w.version)throw new J("Serializer does not support the requested XML version: "+w.version,"SESU0013");if((aa=aa?w["html-version"]:w["html-version"]||w.version)&&5!==1*aa)throw new J("Serializer does not support the requested HTML version: "+aa,"SESU0013");c(w);r(w,"indent")&&(M=p(w,M));M=f(w,M);M=I(w,M);M=D(w,M);M=Vd(new B,M);r(w,"escape-uri-attributes")&&(M=Vd(new H,M));r(w,"include-content-type")&& +(M=Vd(new S(w),M));return G(w,M)}function n(w,M,aa,ja=null){function Y(ka,ea){switch(ka.nodeType){case 9:case 11:ea.startDoc(W);ka=ka.childNodes;for(var va=0;va{y(va,ea)}):fc.Q(ka)?Y(ka,ea):ea.append(ka, +W)}let da;aa||(da="",aa={write:function(ka){da+=ka}});aa.write||Aa.fa("writer supplied to Serialize.serialize() is not a writeable stream");M||={};M=g(M,aa,ja);let W={};w&&y(w,M);M.close();return da}const m=Sa.XS;class u extends Ud{constructor(w,M){super();this.b=M||null;this.Aa=w}close(){this.b.R&&!this.b.isTTY&&this.b.R()}}class Q extends u{constructor(w,M){super(w,M);this.g=this.l=this.na=this.O=this.Ra=!1;this.Ea=[];this.x=[];this.qd=0;this.encoding=w.encoding||"UTF-8"}startDoc(){}endDoc(){}close(){this.l|| +this.z();super.close()}startElement(w,M,aa){function ja(y){throw new J("When "+y+" is specified, there must only be one top-level element node","SEPM0004");}this.l||(this.z(),this.qa(w),this.O&&!this.na&&!0===this.Aa.indent&&this.b.write("\n"),this.l=!0);0===this.x.length&&(0"),this.g=!1):this.b.write("")}text(w,M={}){this.l||this.z();this.g&&this.U();this.b.write(M.DISABLE_ESCAPING?this.encode(w,!1):this.encode(a(w,!1,!1),!0))}comment(w){this.l||this.z();this.g&&this.U();this.b.write("\x3c!--"+this.encode(w,!1)+"--\x3e")}pi(w,M){this.l||this.z();this.g&&this.U();this.b.write("")}append(w,M={}){this.text(w.toString(),M)}z(){this.Ra||this.eg()}U(){this.b.write(">");this.g=!1}$i(w,M){let aa=[];for(let ja in w)if(M[ja]!==w[ja]){let Y="";"xml"!==ja&&(Y=""===ja?' xmlns="'+a(w[ja],!0,!1)+'"':" xmlns:"+ja+'="'+a(w[ja],!0,!1)+'"');""!==Y&&aa.push(Y)}aa.sort();aa.forEach(ja=>this.b.write(ja))}Zd(w,M){if(M){const aa=this;M.forEach((ja,Y)=>{aa.Yd(Y,ja)})}}Yd(w,M){const aa=!0===M.Wa.USE_NULL_MARKERS;M=M.Wa.DISABLE_ESCAPING? +this.encode(M.value,!1):this.encode(a(M.value,!0,aa),!0);this.b.write(" "+this.encode(w.toString(),!1)+'="'+M+'"')}eg(){var w=this.encoding.toUpperCase();this.Aa["byte-order-mark"]&&"UTF-8"===w&&this.b.write("\ufeff");this.Ra=!0;w=!0===this.Aa["omit-xml-declaration"]&&"UTF-8"===w;this.O=!w;let M=this.Aa.standalone;if(w&&void 0!==M&&null!==M)throw new J("Serializer values of 'standalone' and 'omit-xml-declaration' conflict","SEPM0009");w||this.b.write('")}qa(w){let M=this.Aa["doctype-system"]||null,aa=this.Aa["doctype-public"]||null;null!==M&&(this.O&&this.b.write("\n"),this.b.write("\n"):this.b.write(' PUBLIC "'+this.encode(aa,!1)+'" '+this.encode(w,!1)+">\n"),this.na=!0)}encode(w,M){function aa(Y){if(M)return"&#"+Y+";";throw new J("Character "+ +String.fromCodePoint(Y)+" (decimal "+Y+") is not available in the chosen encoding","SERE0008");}const ja=this.encoding;return function(Y){let y="";var da=0;const W=Y.length;if(0===W)return"";for(;daka)break;else if(127>ka)ea++;else if(160>ka||8232===ka||55296<=ka&&56320>=ka||!b(ka,ja))break;else ea++}if(ea>=W)return 0===da?Y:y+Y.substring(da,ea);ea>da&&(y+=Y.substring(da,ea));ka=Y.charCodeAt(ea);da=Y.charAt(ea); +if(0===ka)throw new J("Null marker","ZZZZ9999");160>ka||8232===ka?y+=M?aa(ka):da:55296<=ka&&56320>=ka?(ka=Y.codePointAt(ea++),y+=b(ka,ja)?da+Y.charAt(ea):aa(ka)):b(ka,ja)||(y+=aa(ka));da=++ea;if(da>=W)return y}}(w)}}class ma extends Wd{constructor(w,M){super();this.x=0;this.Zd=w||3;this.Ea="\n ";this.l=this.z=this.O=!1;this.Ra=M||null;this.g=-1;this.qa=null;this.ub={}}startElement(w,M,aa,ja={}){this.z||this.l?this.ia():this.U();if(0>this.g){let Y=M.get(m.QName.fromParts("","http://www.w3.org/XML/1998/namespace", +"space"));Y&&"preserve"===Y.value&&(this.g=this.x)}this.x++;this.Ra&&-1===this.g&&0<=this.Ra.indexOf(w.toEQName())&&(this.g=this.x);this.b.startElement(w,M,aa,ja);this.z=this.O=!0;this.l=!1}endElement(){this.x--;this.l&&!this.O?this.ia():this.z&&!this.l?this.qa=null:this.U();this.b.endElement();this.O=!1;this.l=!0;this.z=!1;this.x===this.g-1&&(this.g=-1)}text(w,M={}){const aa=!this.O||0<=w.indexOf("\n");0>this.g&&""===Ma.trim(w)&&aa?(this.qa=w,this.ub=M):(this.U(),0<=w.indexOf("\n")&&(this.O=!1), +this.b.text(w,M),this.l=this.z=!1)}comment(w,M={}){this.l?this.ia():this.U();this.b.comment(w,M);this.l=this.z=!1}pi(w,M,aa={}){this.l?this.ia():this.U();this.b.pi(w,M,aa);this.l=this.z=!1}ia(){0<=this.g?this.U():this.Ue()}Ue(){this.qa=null;let w=this.x*this.Zd;if(w+1>this.Ea.length){let M=5*this.Zd;w+1>this.Ea.length+M&&(M+=w+1);for(let aa=0;aa=da.min&&y<=da.max){ja=!1;break}}if(ja)W=w;else for(ja=0;ja=y;ka&&(y=w.codePointAt(ja));da.oa[y]?(aa||(""!==W&&(this.b.text(W,M),W=""), +aa=!0),W+=da.oa[y],ka&&ja++):(aa&&(aa=Object.assign({},M),aa.DISABLE_ESCAPING=!0,aa.NO_NORMALIZATION=!0,this.b.text(W,aa),W="",aa=!1),W+=Y)}aa?(w=Object.assign({},M),w.DISABLE_ESCAPING=!0,w.NO_NORMALIZATION=!0,this.b.text(W,w)):this.b.text(W,M)}}}class ca extends Wd{constructor(w,M,aa){super();this.ia=w||null;this.encoding=M;this.U=aa;this.x=[];this.g="";this.z={};if("fully-normalized"===aa)throw new J("Serializer does not support the requested normalization-form: fully-normalized","SESU0011");}startElement(w, +M,aa,ja={}){this.l();this.x.push(w.toEQName());this.b.startElement(w,M,aa,ja)}endElement(){this.l();this.x.pop();this.b.endElement()}text(w,M={}){0<=this.ia.indexOf(0===this.x.length?null:this.x[this.x.length-1])?M.DISABLE_ESCAPING?(this.l(),this.b.text(w,M)):(this.g+=w,this.z=M):this.b.text(w,M)}comment(w,M={}){this.l();this.b.comment(w,M)}pi(w,M,aa={}){this.l();this.b.pi(w,M,aa)}l(){if(""!==this.g){const M=this.U?this.g.normalize(this.U):this.g,aa=M.length;for(var w=0;ww&&this.O(M.substring(w,ja));ja"),this.g=!1);this.Te.includes(w.local.toLowerCase())&&A(w)||this.b.write("")}text(w,M={}){0"))throw new J("A processing instruction in HTML must not contain a > character","SERE0015");this.b.write("")}z(){this.Ra||(this.Aa["byte-order-mark"]&&"UTF-8"=== +this.Aa.encoding&&this.b.write("\ufeff"),this.Ra=!0)}Zd(w,M){if(M){const aa=this;M.forEach((ja,Y)=>{w.hasURI("")&&this.Ue(w,Y,ja.value)?aa.b.write(" "+Y.toString()):aa.Yd(Y,ja)})}}qa(w){let M=this.Aa["doctype-system"]||null,aa=this.Aa["doctype-public"]||null;null===M&&null===aa?A(w)&&"html"===w.local.toLowerCase()&&(this.O&&this.b.write("\n"),this.b.write("\n"),this.na=!0):null===M?(w=A(w)&&"html"===w.local.toLowerCase()?w.toString():"html",this.O&&this.b.write("\n"),this.b.write("\n'),this.na=!0):super.qa("html"===w.local.toLowerCase()?w:m.QName.fromParts("","","html"))}Ue(w,M,aa){M=M.local.toLowerCase();w=w.local.toLowerCase();return M===aa.toLowerCase()&&(this.ub[w]&&this.ub[w].includes(M)||this.ub["*"].includes(M))}}class E extends ma{constructor(w,M){super(w,M);this.eg="pre script style textarea title xmp".split(" ");this.Te="a abbr acronym applet area audio b basefont bdi bdo big br button canvas cite code data datalist del dfn em embed font i iframe img input ins kbd label map mark math meter noscript object output picture progress q ruby s samp script select small span strike strong sub sup svg template textarea time tt u var video wbr".split(" "); +this.na=this.qd=!1;this.Yd=[]}startElement(w,M,aa,ja={}){this.qd=this.Te.includes(w.local.toLowerCase())&&A(w);this.z||this.l?this.ia():this.U();this.x++;0>this.g&&this.eg.includes(w.local.toLowerCase())&&A(w)&&(this.g=this.x);this.Ra&&-1===this.g&&0<=this.Ra.indexOf(w.toEQName())&&(this.g=this.x);this.b.startElement(w,M,aa,ja);this.z=this.O=!0;this.qd=this.na=this.l=!1;this.Yd.push(w)}endElement(){let w=this.Yd.pop();this.x--;this.l&&!this.O?this.ia():this.U();this.b.endElement();this.O=!1;this.l= +!0;this.z=!1;this.na=this.Te.includes(w.local.toLowerCase())&&A(w);this.x===this.g-1&&(this.g=-1)}text(w,M={}){super.text(w,M);0>this.g&&""===Ma.trim(w)||(this.na=!1)}comment(w,M={}){super.comment(w,M);this.na=!1}pi(w,M,aa={}){super.pi(w,M,aa);this.na=!1}ia(){0<=this.g||this.qd||this.na?this.U():this.Ue()}}class B extends Wd{startElement(w,M,aa,ja={}){for(let Y in aa)P(aa[Y])&&delete aa[Y];P(w.q)&&(""!==w.prefix&&(w=m.QName.fromParts("",w.q,w.local)),aa[""]=w.q);M.forEach((Y,y)=>{P(y.q)&&(aa[y.prefix]= +y.q)});super.startElement(w,M,aa,ja)}}class L extends Q{constructor(w,M){super(w,M);this.ia="area base br col embed hr img input link meta param source track wbr".split(" ")}endElement(){this.x.pop();let w=this.Ea.pop();this.g&&this.ia.includes(w.local)&&A(w)?(this.b.write(" />"),this.g=!1):(this.g&&super.U(),this.b.write(""))}text(w,M={}){(this.l||""!==Ma.trim(w))&&super.text(w,M)}qa(w){let M=this.Aa["doctype-system"]||null;null===M&&A(w)&&"html"===w.local.toLowerCase()?(this.O&& +this.b.write("\n"),this.b.write("\n"),this.na=!0):null!==M&&super.qa(w)}}class H extends Wd{startElement(w,M,aa,ja){let Y=!1;M.forEach((y,da)=>Y=Y||q(w,da));if(Y){const y=new je;M.forEach((da,W)=>{if(q(w,W)){const ka=ld.escape(da.value.normalize("NFC"),ea=>32>ea||126=Y||127<=Y&&159>=Y||!b(Y,M)?aa+("\\u"+("0000"+Y.toString(16).toUpperCase()).slice(-4)):aa+y}}return aa}na(w){let M='"';if(this.oa){const y=this.oa;let da="",W=!1;var aa=!0;for(var ja= +0;ja=y.min&&Y<=y.max){aa=!1;break}}if(aa)da=w;else for(aa=0;aa=Y;ka&&(Y=w.codePointAt(aa));y.oa[Y]?(W||(""!==da&&(M+=this.Ea(da),da=""),W=!0),da+=y.oa[Y],ka&&aa++):(W&&(M+=da,da="",W=!1),da+=ja)}M=W?M+da:M+this.Ea(da)}else M+=this.Ea(w);return M+'"'}ub(w){function M(Y){switch(Y.length){case 0:ja.b.write("null");break;case 1:aa(Y[0]);break;default:throw new J("Cannot output a sequence of length "+ +Y.length+" as JSON","SERE0023");}}function aa(Y){var y=Sa.XS;if(Sa.ka(Y))if(y.boolean.matches(Y))ja.b.write(Y.toString());else if(y.numeric.matches(Y)){Y=Y.toString();if(["NaN","INF","-INF"].includes(Y))throw new J("Cannot output INF or NaN as JSON","SERE0020");ja.b.write(Y)}else ja.b.write(ja.na(Y.toString()));else if(fc.Q(Y)){y=Object.assign({},ja.x);y.method=y["json-node-output-method"]||"xml";y["item-separator"]=null;y["omit-xml-declaration"]=!0;y.encoding="UTF-8";const da=new ha;n(Y,y,da,ja.ia); +ja.b.write(ja.na(da.toString()))}else if(ld.isArray(Y))if(Y=Y.value,0===Y.length)ja.b.write("[]");else{ja.O("[");M(Y[0]);for(y=1;y{da?da=!1:ja.U();const ea=ja.na(ka.k.toString());if(!ja.x["allow-duplicate-names"]){if(W[ea])throw new J("Duplicate key '"+ea+"' in serialized JSON map","SERE0022");W[ea]=!0}ja.b.write(ea);ja.Ra();M(ka.v)});ja.z("}")}else throw new J("Cannot output "+Aa.showValue(Y)+ +" as JSON","SERE0021");}const ja=this;M(w)}O(w){this.b.write(w)}z(w){this.b.write(w)}U(){this.b.write(",")}Ra(){this.b.write(":")}}class Z extends C{constructor(w,M,aa){super(w,M,aa);this.g=0;this.qa=w["Q{http://saxon.sf.net/}indent-spaces"]||3}O(w){super.O(w);this.g++;this.b.write("\n".padEnd(this.g*this.qa+1," "))}z(w){this.g--;this.b.write("\n".padEnd(this.g*this.qa+1," "));super.z(w)}U(){super.U();this.b.write("\n".padEnd(this.g*this.qa+1," "))}Ra(){this.b.write(": ")}}class K extends Yd{constructor(w, +M,aa){super(aa);this.x=w;this.b=M;this.ia=aa;this.oa=w["use-character-maps"]||null}close(){function w(W,ka){for(let ea in["fn","math","map","array","xs"])if(dc.withPrefix[ea]===W)return ea+":"+ka;return"Q{"+W+"}"+ka}function M(W){return Y.oa?h(Y.oa,!1)(W):W}function aa(W,ka){if(1===W.length)ja(W[0],ka);else{ka.write("(");let ea=!0;for(let va=0;va{pa?pa=!1:ka.write(",");ja(k.k,ka);ka.write(":");aa(k.v,ka)});ka.write("}")}else W instanceof jd.XdmFunction?W.local?ka.write(w(W.q,W.local)+"#"+W.arity):ka.write("(anonymous function)#"+W.arity):ka.write("JS: "+Aa.showValue(W))} +const Y=this;let y=this.jd(),da=!0;for(let W=0;Wda(this.b));this.x=!0;this.g=[]}super.startElement(w,M,aa,ja)}text(w,M={}){this.x?super.text(w,M):this.g.push(function(aa){aa.text(w,M)})}comment(w,M={}){this.x?super.comment(w,M):this.g.push(function(aa){aa.comment(w,M)})}pi(w,M,aa={}){this.x?super.pi(w,M,aa):this.g.push(function(ja){ja.pi(w, +M,aa)})}append(w,M={}){this.x?super.append(w,M):this.g.push(function(aa){aa.append(w,M)})}endDoc(){this.x?super.endDoc():this.g.push(function(w){w.endDoc()})}close(){this.x||(this.l.method="xml",this.b=g(this.l,this.z),this.g.forEach(w=>w(this.b)));super.close()}}class V extends u{constructor(w,M){super(w,M);this.g=!1}text(w){this.g||this.l();this.b.write(w)}append(w){this.g||this.l();this.b.write(w.toString())}l(){this.Aa["byte-order-mark"]&&"UTF-8"===this.Aa.encoding&&this.b.write("\ufeff");this.g= +!0}}class ha{constructor(){this.ha=""}write(w){this.ha+=w}toString(){return this.ha}}return{serialize:n,gi:g,StringWriter:ha,parseParamDoc:function(w,M,aa=null){function ja(W,ka="SEPM0017"){throw new J("Serialization params: "+W,ka);}function Y(W,ka=[]){const ea=fc.X(W);fc.va.attribute(W).forEachItem(function(va){va=fc.X(va);""!==va.q||ka.includes(va.local)||ja("attribute @"+va.local+" must not appear on element "+ea.toString())})}function y(W,ka){let ea=fc.getAttribute(W,ka,null);null===ea&&ja("attribute @"+ +ka+" is missing on element "+fc.X(W).toString());return ea}"serialization-parameters"!==fc.X(w).local&&ja("root element name must be 'serialization-parameters'",aa||"SEPM0017");"http://www.w3.org/2010/xslt-xquery-serialization"!==fc.X(w).q&&ja("root element namespace must be http://www.w3.org/2010/xslt-xquery-serialization",aa||"SEPM0017");Y(w);let da=[];fc.wc(w).forEach(function(W){if(fc.hasURI(W,"http://www.w3.org/2010/xslt-xquery-serialization")){var ka=fc.X(W).local;let ea;da.includes(ka)&&ja("duplicated parameter "+ +ka,"SEPM0019");da.push(ka);"use-character-maps"===ka?(Y(W),ea={min:0,max:0,oa:{}},fc.wc(W).forEach(function(va){if(fc.hasURI(va,"http://www.w3.org/2010/xslt-xquery-serialization")&&"character-map"===fc.X(va).local){Y(va,["character","map-string"]);const pa=y(va,"character");1ea.max&&(ea.max=k))}else ja("invalid child of use-character-maps: "+fc.X(va).toString())}),55296ja&&(ja=W);55296"0"+Q.codePointAt(0))}const n=fc.va;c=n.Ka(c).expand().reverse();let m="";for(let u=0;um};return function(m,u,Q){let ma=m[0];u.fixed.evaluator.qb(Q,"i")&&(ma=ma.filter(function(X){return!Nd.itemIsNaN(X)}));m=Nd.Kb(Q,m[1],"compare",u);const na=Nd.cmpFn(m), +O=D.untypedAtomic.matches,ca=D.numeric.matches,x=D.double.matches,E=D.float.matches,B=D.anyURI.matches,L=D.string.matches;m=D.duration.matches;const H=D.yearMonthDuration.matches,S=D.dayTimeDuration.matches;u=D.QName.matches;const C=D.double.I,Z=D.float.I,K=D.string.I;ma=ma.mapOneToOne(function(X){return O(X)?C(X):X});Q=ma.next();if(null===Q)return Tb;u(Q)&&d(c+"() not defined over QName");!m(Q)||H(Q)||S(Q)||d(c+"() not defined over mixed durations");return Ub(q(ma,Q,function(X,V){(L(X)&&ca(V)||L(V)&& +ca(X))&&d("Cannot compare string with numeric");(H(X)&&!H(V)||S(X)&&!S(V))&&d("Cannot compare mixed durations");if(Nd.itemIsNaN(V))return x(X)?C(V):V;if(Nd.itemIsNaN(X))return x(V)?C(X):X;x(V)&&!L(X)?X=C(X):x(X)&&!L(V)?V=C(V):E(V)&&!L(X)?X=Z(X):E(X)&&!L(V)&&(V=Z(V));B(V)&&L(X)?V=K(V):B(X)&&L(V)&&(X=K(X));try{return n(na(X,V))?X:V}catch(ha){throw ha instanceof J&&"XPTY0004"===ha.code&&(ha.code="FORG0006"),ha;}}))}}function e(c,d){if(2!==d.length&&5!==d.length)throw new J("Wrong number of arguments ("+ +d.length+") for "+c,"XPST0017");}function l(c,d){c=c[0].next();if(null===c)return Tb;if("timezone"===d)return null===c.ta?Tb:Ub(D.dayTimeDuration.Yh(c.ta));if("seconds"===d)return d=gb(c),ac(d.getUTCSeconds()+d.getUTCMilliseconds()/1E3);c=gb(c)[d]();"getUTCMonth"===d&&c++;return Zb(c)}function z(c,d){c=c[0].next();return null===c?Tb:5!==d?Zb(qb(c)[d]*rb(c)):ac(qb(c)[d]*rb(c))}function v(c,d,n){function m(ma,na){return Ub(Sa.codes[d].fromDate(ma,na))}const u=c[0].next();if(!u)return Tb;n=n.fixed.zb.getTimezoneOffset(); +if(c[1]){var Q=c[1].next();c=null!==Q?Q.Ca/6E4:null;if(null!==c&&(-840>c||840{u=Q.evaluate(m?[u,[ma]]:[[ma],u],d,n).expand()});return Pb(u)}let p=null,f=null;const I=fc,D=Sa.XS,r=I.va;return{abs:function(c){c=c[0].next();return null===c?Tb:Ub(c.abs())},"accumulator-after":function(c,d,n){c=a(c[0],d,n,"XTDE3340");return Pb(Rd.dj(n,c,d.getCurrentFocus(),d))},"accumulator-before":function(c,d,n){c=a(c[0],d,n,"XTDE3340");return Pb(Rd.ej(n,c,d.getCurrentFocus(),d))},"adjust-date-to-timezone":function(c,d){return v(c,"AA",d)},"adjust-dateTime-to-timezone":function(c, +d){return v(c,"AM",d)},"adjust-time-to-timezone":function(c,d){return v(c,"AT",d)},"analyze-string":function(c,d){const n=b(c[0]);var m=d.resultDocument.createDocumentFragment();const u=dc.za,Q=d.resultDocument.createElementNS(u,"analyze-string-result");m.appendChild(Q);if(""===n)return Ub(Q);m=c[1].next().toString();c=c[2]?c[2].next().toString():"";ee.kg(n,m,c,!1,!1).forEach(function(ma){let na;if(ma.Ac){let ca;ma=ma.groups;na=d.resultDocument.createElementNS(u,"match");var O=0;for(let x=1;xO&&(O=d.resultDocument.createTextNode(ma[0].substring(O,ca)),na.appendChild(O));O=d.resultDocument.createElementNS(u,"group");O.setAttribute("nr",x);const E=d.resultDocument.createTextNode(ma[x]);O.appendChild(E);na.appendChild(O);O=ca+ma[x].length}Oee.vf(Q,d,u,n,!0,!0));u.close();return m.iter()},count:function(c){return Zb(c[0].count())},"current-date":function(c,d){return Ub(D.Oc.fromDate(d.fixed.zb,-d.fixed.zb.getTimezoneOffset()))},"current-dateTime":function(c,d){return Ub(D.vd.fromDate(d.fixed.zb,-d.fixed.zb.getTimezoneOffset()))},"current-group":function(){throw new J("The current-group() function cannot be invoked dynamicaly","XTDE1061");}, +"current-grouping-key":function(){throw new J("The current-grouping-key() function cannot be invoked dynamicaly","XTDE1071");},"current-merge-group":function(c,d){if(null===d.currentMergeGroup)throw new J("There is no current merge group","XTDE3480");if(c[0]){c=c[0].next().value;if(d=d.currentMergeGroup.groups[c])return Pb(d);throw new J("Unknown merge source "+c,"XTDE3490");}return Pb(d.currentMergeGroup.Ig)},"current-merge-key":function(c,d){if(null===d.currentMergeGroup)throw new J("There is no current merge group", +"XTDE3510");return Pb(d.currentMergeGroup.keys)},"current-output-uri":function(c,d){c=d.getCurrentOutputURI();return null==c||"function"===d.tempOutputState?Tb:Ub(c)},"current-time":function(c,d){return Ub(D.Bf.fromDate(d.fixed.zb,-d.fixed.zb.getTimezoneOffset()))},data:function(c,d){return c[0].mapOneToMany(d.fixed.evaluator.atomize)},dateTime:function(c){const d=c[0].next();c=c[1].next();if(null===d||null===c)return Tb;let n="";if(null!==d.ta)if(null===c.ta)n=jb(d);else if(d.ta!==c.ta)throw new J("timezones are incompatible ", +"FORG0008");return Ub(D.dateTime.fromString(d.toString().substring(0,10)+"T"+c.toString()+n))},"day-from-date":function(c){return l(c,"getUTCDate")},"day-from-dateTime":function(c){return l(c,"getUTCDate")},"days-from-duration":function(c){return z(c,2)},"deep-equal":function(c,d,n){d=Nd.Kb(n,c[2],"equals",d);return bc(Ld(c[0],c[1],d))},"default-collation":function(){return Yb(Nd.Nc)},"default-language":function(){return Ub(D.Xb.fromString("en"))},"distinct-values":function(c,d,n){d=Nd.jf(n,c[1], +d);const m=Nd.Ef(d);return c[0].filter(function(u){if(m.containsKey(u))return!1;m.inSituPut(u,!0);return!0})},doc:function(c,d,n){c=Td.yh(c,d,n);if(null===c)return Ub(null);try{let m=Td.uc(c,d);const u=d.fixed.Ae;u&&(m=u(m));return Ub(m)}catch(m){throw m;}},"doc-available":function(c,d,n){const m=Td.yh(c,d,n);return null===m?bc(!1):Td.Fi(function(){Td.uc(m,d)})},document:function(c,d,n){const m=d.fixed.evaluator;let u,Q;if(c[1]&&(u=I.Za(c[1].next()),!u))throw new J("No base URI available for second argument of document()", +"XTDE1162");u||(Q=m.staticBaseUri(n,d));const ma=d.fixed.Ae;return I.Vc(c[0].mapOneToMany(function(na){const O=u?u:I.Q(na)?I.Za(na):Q;return m.atomize(na).mapOneToOne(function(ca){if(null===O)throw new J("No base URI for document('"+ca+"')","XTDE1162");ca=Td.uc(ya.resolveUri(ca.toString(),O),d);null!==ma&&(ca=ma(ca));return ca})}))},"document-uri":function(c){c=c[0].next();return null!==c&&9===c.nodeType&&c._saxonDocUri?Ub(D.anyURI.fromString(c._saxonDocUri)):Tb},"element-available":function(c,d, +n){c=a(c[0],d,n,"XTDE1440","##local").split("}");if(d="http://www.w3.org/1999/XSL/Transform"===c[0].substring(2))null==f&&(f=ya.resource("elements")),f[c[1]]||(d=!1);return bc(d)},"element-with-id":function(c,d){return A(c,d,"element-with-id")},empty:function(c){return bc(null===c[0].next())},"encode-for-uri":function(c){c=encodeURIComponent(b(c[0])).replace(/[!'()*]/g,function(d){return"%"+d.charCodeAt(0).toString(16).toUpperCase()});return Yb(c)},"ends-with":function(c,d,n){const m=b(c[0]),u=b(c[1]); +c=Nd.Kb(n,c[2],"endsWith",d);return bc(c(m,u))},"environment-variable":function(){return Tb},error:function(c){if(void 0===c[0])throw new J("fn:error() invoked","FOER0000");var d=c[0].next();d=d?d.toEQName():"FOER0000";const n=c[1]?b(c[1]):"";d=new J(n,d);c[2]&&(d.errorObject=c[2].next());throw d;},"escape-html-uri":function(c){return Yb(ld.escape(b(c[0]),function(d){return 32>d||126Pb(u.get(m.atomize(Q).next())));if(u instanceof id)return c[0].mapOneToMany(function(Q){Q=m.atomize(Q).next();Q=D.numeric.matches(Q)? +Q.toNumber():D.double.I(Q).toNumber();return Pb(u.get(Q))});Aa.fa("for-each() function object not instance of XdmFunction | XdmArray | XdmMap")},"for-each-pair":function(c,d,n){let m=c[2].expand();if(1!==m.length)throw new J("for-each-pair() must have exactly one function item as the third argument. Supplied length "+m.length,"XPTY0004",n);m=m[0];m instanceof jd.XdmFunction||Aa.fa("Function object not instance of XdmFunction");let u=[];const Q=c[0];c=c[1];let ma=Q.next(),na=c.next();for(;ma&&na;)u= +u.concat(m.evaluate([[ma],[na]],d,n).expand()),ma=Q.next(),na=c.next();return Pb(u)},"function-arity":function(c){c=c[0].next();return Ub(D.integer.fromNumber(c instanceof lc||c instanceof id?1:c.arity))},"function-available":function(c,d,n){let m=!1;const u=a(c[0],d,n,"XTDE1400",dc.za),Q=c[1]?c[1].next().toNumber():-1,ma=d.fixed.xa;Object.keys(ma).forEach(function(na){na=ma[na];na.name===u&&na.actor&&"function"===na.actor.N&&(0>Q?m=!0:(na=ld.db(na.actor,"arg").length,Q===na&&(m=!0)))});m||(c=D.QName.fromEQName(u), +null==p&&(p=ya.resource("functions")),m=(d=p[c.q])&&d[c.local]?"concat"===c.local&&c.q===dc.za&&(-1===Q||2<=Q)?!0:0<=Q?0<=d[c.local].indexOf(Q):!0:!1);return bc(m)},"function-lookup":function(c,d,n){const m=c[0].next();c=c[1].next().toNumber();var u=Pd.find("SaxonJS").XPath;const Q=d.newContext(!0);Q.Pa=!0;u=u.getFnSignature(m,c,Q);if(!u)return Tb;d=u.isUserFunction?new jd.Vf(u,d):m.q===dc.ac?new jd.Qf(u,m,n):new jd.Ge(u,m,c,n,d);return Ub(d)},"function-name":function(c){c=c[0].next();if(!(c instanceof +jd.XdmFunction))throw new J("Input to function-name() is not an XdmFunction ","XXXX9999");return c.Wb()&&c.Wb().q!==dc.Zg?Ub(c.Wb()):Tb},"generate-id":function(c){c=c[0].next();return Yb(c?h(c):"")},"has-children":function(c){return bc(null!==r.wa(c[0].next()).next())},head:function(c){return Ub(c[0].next())},"hours-from-dateTime":function(c){return l(c,"getUTCHours")},"hours-from-duration":function(c){return z(c,3)},"hours-from-time":function(c){return l(c,"getUTCHours")},id:function(c,d){return A(c, +d,"id")},idref:function(){return Tb},"implicit-timezone":function(c,d){return Ub(D.dayTimeDuration.Yh(-d.fixed.zb.getTimezoneOffset()))},"index-of":function(c,d,n){const m=Xb(c[0]),u=c[1].next();c=Nd.Kb(n,c[2],"equals",d);const Q=Nd.rj(c);return m.mapOneToOne(function(ma){try{return Q(ma,u)?D.integer.fromNumber(m.position):null}catch(na){return null}})},innermost:function(c,d,n){const m=d.fixed.evaluator.qb(n,"p")?c[0]:I.Vc(c[0]);return new Rb(function*(){let u=null,Q;for(;null!=(Q=m.next());)if(u)if(r.Lc(Q).some(ma=> +ma===u))u=Q;else{const ma=u;u=Q;yield ma}else u=Q;u&&(yield u)}())},"in-scope-prefixes":function(c){c=c[0].next();return Pb(I.inScopeNamespaces(c).map(function(d){return D.string.fromString(d.prefix)}))},"insert-before":function(c){const d=c[1].next().value,n=c[2],m=Xb(c[0]);return 1>d?Vb([n,m]):d>m.last()?Vb([m,n]):m.mapOneToMany(function(u){return m.position===d?Vb([c[2],Ub(u)]):Ub(u)})},"iri-to-uri":function(c){return Yb(ld.escape(b(c[0]),function(d,n){return 32>=d||126"{}|\\^`]/.test(n)}))}, +"json-doc":function(c,d,n){n=Td.Xe(c,d,n);if(!n)return Tb;n=Td.wj(n,d);c=c[1]?c[1].next():null;return Ub(Sd.Gd(n,c,d))},"json-to-xml":function(c,d,n){const m=d.fixed.evaluator;var u=c[0].next();if(null===u)return Tb;c=c[1]?c[1].next():null;u=Sd.mk(u.toString(),c,d);c=d.resultDocument.createDocumentFragment();c.appendChild(u);c._saxonBaseUri=m.staticBaseUri(n,d);return Ub(c)},key:function(c,d,n){function m(V){V=S?D.string.I(V):V;return H.containsKey(V)?(V=Pb(H.get(V)),B===E?V:V.filter(function(ha){return null!== +r.Ka(ha).filter(function(w){return w===E}).next()})):Tb}function u(V){return{visibility:"PRIVATE",La:V,zi:na,actor:V,$e:V.binds.split(" ").map(function(ha){return parseInt(ha,10)})}}const Q=d.fixed.evaluator;var ma=a(c[0],d,n,"XTDE1260");const na=Q.fe(n,d),O=na.keys[ma];if(!O)throw new J("Unknown key "+ma,"XTDE1260");const ca=O.Wg,x=Q.qb(O.Dd[0],"c");let E,B;if(c[2])E=c[2].next(),I.Q(E)&&(B=I.ic(E));else{var L=d.getCurrentFocus();I.Q(L)&&(B=E=I.ic(L))}if(!B||9!==B.nodeType&&11!==B.nodeType)throw new J("No containing document for key()", +"XTDE1270",n);"_saxonIndexes"in B||(B._saxonIndexes={},B._saxonIndexesBC={});n=B._saxonIndexes;let H=n[ca];if("under construction"===H)throw new J("Definition of key "+ma+" is circular","XTDE0640");let S=!1;if(H)S=B._saxonIndexesBC[ca];else{ma=Nd.jf(O.Dd[0],null,d);H=Nd.Ef(ma,x);n[ca]="under construction";ma=function(ha){return Vb([r.xf(ha),r.namespace(ha),r.attribute(ha)])};L=function(ha){return Vb([r.xf(ha),r.attribute(ha)])};const V=function(ha){return Vb([r.xf(ha),r.namespace(ha)])};for(let ha= +0;haH.get(Y).indexOf(y)&&(H.get(Y).push(y),1c.length+1&&d.substring(0,c.length)===c&&"-"===d.charAt(c.length))},last:function(c,d){d.failIfNoCurrentFocus("XPDY0002","last()");return Zb(d.focus.last())},"load-xquery-module":function(){throw new J("No XQuery processor available","FOQM0006");},"local-name":function(c){c= +I.X(c[0].next());return Yb(c?c.local:"")},"local-name-from-QName":function(c){c=c[0].next();return null===c?Tb:Ub(Sa.type.NCName.fromString(c.local))},"lower-case":function(c){return Yb(b(c[0]).toLowerCase())},matches:function(c){const d=b(c[0]);var n=c[1].next().toString();c=Ma.Yg(c[2]?c[2].next().toString():"");n=Ma.prepareRegex(n,c,d);return bc(0<=d.search(n))},max:g("max"),min:g("min"),"minutes-from-dateTime":function(c){return l(c,"getUTCMinutes")},"minutes-from-duration":function(c){return z(c, +4)},"minutes-from-time":function(c){return l(c,"getUTCMinutes")},"month-from-date":function(c){return l(c,"getUTCMonth")},"month-from-dateTime":function(c){return l(c,"getUTCMonth")},"months-from-duration":function(c){return z(c,1)},name:function(c){c=I.X(c[0].next());return Yb(c?c.toString():"")},"namespace-uri":function(c){c=I.X(c[0].next());return Ub(D.anyURI.fromString(c?c.q:""))},"namespace-uri-for-prefix":function(c){var d=b(c[0]);c=c[1].next();d="xml"===d?dc.oc:kc(c,""===d?null:d);return null!== +d?Ub(D.anyURI.fromString(d)):Tb},"namespace-uri-from-QName":function(c){c=c[0].next();return null===c?Tb:Ub(D.anyURI.fromString(c.q))},nilled:function(c){return(c=c[0].next())&&1===c.nodeType?bc(!1):Tb},"node-name":function(c){return Ub(I.X(c[0].next()))},"normalize-space":function(c){c=b(c[0]);return Yb(Da(c))},"normalize-unicode":function(c){if(String.prototype.normalize){const d=b(c[0]);c=c[1]?c[1].next().toString().toUpperCase().trim():"NFC";if(["NFC","NFD","NFKC","NFKD"].includes(c))return Yb(d.normalize(c)); +if(""===c)return Yb(d)}throw new J("normalize-unicode(): not supported on this Javascript platform","FOCH0003");},not:function(c,d){return bc(!d.fixed.evaluator.wd(c[0]))},number:function(c){return Ub(Sa.XS.numeric.Fd(c[0].next()))},"one-or-more":function(c){c=Kb(c[0]);if(null===c.ma())throw new J("Required length >= 1, actual length zero","FORG0004");return c},outermost:function(c,d,n){d=d.fixed.evaluator.qb(n,"p");c=c[0];d||(c=I.Vc(c));let m=null;return c.filter(function(u){if(null===m)return m= +u,!0;if(r.Lc(u).some(Q=>Q===m))return!1;m=u;return!0})},"parse-ietf-date":function(c){return c[0].mapOneToOne(function(d){function n(E){return 1===E.length?"0"+E:E}function m(){throw new J("Invalid IETF date/time "+d.toString(),"FORG0010");}var u=d.toString().trim().toLowerCase();u=u.replace(/^(monday|tuesday|wednesday|thursday|friday|saturday|sunday|mon|tue|wed|thu|fri|sat|sun),?\s+/,"");let Q;let ma,na;if(/^[a-z]/.test(u))if(Q=/^([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?\s+(\d+)$/, +u=Q.exec(u),null!==u){var O=u[1];var ca=u[2];na=u[3];var x=u[4];ma=u[5]}else m();else Q=/^(\d+)(?:\s*-\s*|\s+)([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?$/,u=Q.exec(u),null!==u?(ca=u[1],O=u[2],ma=u[3],na=u[4],x=u[5]):m();2===ma.length&&(ma="19"+ma);O="jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec".indexOf(O||"*");0>O&&m();u={ut:"Z",utc:"Z",gmt:"Z",est:"-05:00",edt:"-04:00",cst:"-06:00",cdt:"-05:00",mst:"-07:00",mdt:"-06:00",pst:"-08:00", +pdt:"-07:00"};/^[0-9]:/.test(na)&&(na="0"+na);5===na.length&&(na+=":00");x&&(x=/([a-z]+)|([+\-]\d\d?:?(?:\d\d)?)(?:\s*\(\s*([a-z]+)\s*\))?$/.exec(x),(!x[3]||x[3]in u)&&(!x[1]||x[1]in u)||m(),x=x[1]?x[1]:x[2],/^[+\-][0-9]((:|$)|[0-9]{2}$)/.test(x)&&(x=x.charAt(0)+"0"+x.substring(1)),x in u?x=u[x]:3===x.length?x+=":00":4===x.length?x+="00":5===x.length&&(x=x.substring(0,3)+":"+x.substring(3)));ca=ma+"-"+n((O/4+1).toString())+"-"+n(ca)+"T"+na+(x||"Z");try{return D.dateTime.fromString(ca)}catch(E){throw new J("''"+ +d.toString()+"'' is not a valid IETF date","FORG0010");}})},"parse-json":function(c,d){const n=c[0].next();if(null===n)return Tb;c=c[1]?c[1].next():null;return Ub(Sd.Gd(n.toString(),c,d))},"parse-xml":function(c,d,n){c=c[0].next();if(null===c)return Tb;const m=d.fixed.evaluator;try{const u=ya.parseXmlFromString(c.toString());u._saxonBaseUri=m.staticBaseUri(n,d);return Ub(u)}catch(u){throw new J(u.message,"FODC0006");}},"parse-xml-fragment":function(c,d,n){const m=d.fixed.evaluator;return c[0].mapOneToOne(function(u){const Q= +/^<\?xml(?:\s+version\s*=\s*(['"])1.[0-9]+['"])?\s+encoding\s*=\s*(['"][A-Za-z](?:[A-Za-z0-9._\-])*)['"]\s*\?>/;u=u.toString();if(/^<\?xml/.test(u)&&!Q.test(u))throw new J("Invalid XML header for a text declaration","FODC0006");u=u.replace(Q,"");let ma;try{ma=ya.parseXmlFromString(""+u+"")}catch(O){throw new J(O.message,"FODC0006");}const na=d.resultDocument.createDocumentFragment();r.wa(ma.documentElement).forEachItem(function(O){na.appendChild(O)});na._saxonBaseUri=m.staticBaseUri(n,d);return na})}, +path:function(c){return c[0].mapOneToOne(function(d){function n(m){return r.Dc(m).filter(function(u){return m.nodeType===u.nodeType})}return D.string.fromString(function(m){if([9,11].includes(m.nodeType))return"/";let u="",Q=m;for(;Q;){m=I.Oa(Q);if(!m)return[9,11].includes(Q.nodeType)?u:"Q{http://www.w3.org/2005/xpath-functions}root()"+u;switch(Q.nodeType){case 9:case 11:return u;case 1:const ma=I.X(Q);u=`/${ma.toEQName()}[${1+n(Q).filter(na=>I.X(na).equals(ma)).count()}]${u}`;break;case 3:case 4:u= +`/text()[${1+n(Q).count()}]`;break;case 8:u=`/comment()[${1+n(Q).count()}]`;break;case 7:u=`/processing-instruction(${Q.target})[${1+n(Q).filter(na=>Q.target===na.target).count()}]`;break;case 2:u=`/@${0>Q.name.indexOf(":")?Q.name:I.X(Q).toEQName()}`;break;default:u=`/namespace::${""!==Q.prefix?Q.prefix:"*[Q{"+dc.za+'}local-name()=""]'}`}Q=m}}(d))})},"prefix-from-QName":function(c){return c[0].mapOneToOne(function(d){return""===d.prefix?null:D.jh.fromString(d.prefix)})},position:function(c,d){d.failIfNoCurrentFocus("XPDY0002", +"position()");return Zb(d.focus.position)},QName:function(c){var d=c[1].next().value;const n=d.split(":"),m=2===n.length?n[0]:"";c=b(c[0]);if(""!==m&&""===c)throw new J("Prefix but no URI for QName()","FOCA0002");if(2===n.length&&""===m||""!==m&&!Ma.isNCName(m))throw new J(d+" not valid for QName()","FOCA0002");d=2===n.length?n[1]:n[0];if(!Ma.isNCName(d))throw new J(d+" not valid local name for QName()","FOCA0002");return Ub(D.QName.fromParts(m,c,d))},"random-number-generator":function(c,d){c=new lc; +c.inSituPut(D.string.fromString("number"),[D.double.fromNumber(Math.random())]);var n=D.QName.fromParts("fn",dc.za,"random-number-generator"),m=Pd.find("SaxonJS").XPath,u=m.getFnSignature(n,0,d);n=new jd.Ge(u,n,0,{},d);c.inSituPut(D.string.fromString("next"),[n]);n=D.QName.fromParts("saxon",dc.ib,"permute");u=d.newContext();u.Pa=!0;m=m.getFnSignature(n,1,u);d=new jd.Ge(m,n,1,{},d);c.inSituPut(D.string.fromString("permute"),[d]);return Ub(c)},"regex-group":function(c,d){c=c[0].next().toNumber();try{return Yb(d.regexGroups[c]|| +"")}catch(n){return Yb("")}},remove:function(c){const d=c[1].next().toNumber(),n=Xb(c[0]);return n.filter(function(){return n.position!==d})},replace:function(c){const d=b(c[0]),n=Ma.Yg(c[3]?c[3].next().toString():"");let m=0;const u=Ma.prepareRegex(c[1].next().toString(),n+"g",null,Q=>{m=Q});if(u.test(""))throw new J("Regular expression matches zero-length string","FORX0003");c=Ma.nj(c[2].next().toString(),n,m);return Yb(d.replace(u,c))},"resolve-QName":function(c){const d=c[1].next();return c[0].mapOneToOne(function(n){try{return I.sk(d, +n.toString(),!0)}catch(m){throw m instanceof J&&"FORG0001"===m.code&&(m.code=Ma.ji(n)?"FONS0004":"FOCA0002"),m;}})},"resolve-uri":function(c,d,n){const m=d.fixed.evaluator;if(c[1]){let u=c[1].next();d=u?u.toString():m.staticBaseUri(n,d)}else d=m.staticBaseUri(n,d);c=c[0].next();if(null===c)return Tb;c=c.toString();n=I.Wc(c);if(null!==d&&(d=d.replace(/^file:\/(?!\/)/,"file:///"),/#/.test(d)))throw new J("Base URI "+d+" contains a fragment identifier","FORG0002");if(!n&&null!==d&&!I.Wc(d))throw new J("resolve-uri: invalid URI (base="+ +d+", relative="+c+")","FORG0002");c=n?c:ya.resolveUri(c,d).toString();return Ub(D.anyURI.fromString(c))},reverse:function(c){return Pb(c[0].expand().slice().reverse())},root:function(c){return c[0].mapOneToMany(d=>r.Ka(d)).filter(d=>!I.Oa(d))},round:function(c){return c[0].mapOneToOne(d=>d.round(c[1]?Math.min(c[1].next().value,1E4):0))},"round-half-to-even":function(c){return c[0].mapOneToOne(d=>d.wf(c[1]?Math.min(c[1].next().value,1E4):0))},"seconds-from-dateTime":function(c){return l(c,"seconds")}, +"seconds-from-duration":function(c){return z(c,5)},"seconds-from-time":function(c){return l(c,"seconds")},serialize:function(c,d){function n(Q){Q.method="xml";Q.indent=!1;Q["omit-xml-declaration"]=!0}const m=new le.StringWriter,u={};if(c[1]){const Q=c[1].next();if(null===Q)n(u);else if(fc.Q(Q)){if(!fc.Hg(Q))throw new J("Second argument supplied to serialize() is wrong kind of node","XPTY0004");le.parseParamDoc(Q,u,"XPTY0004")}else{if(!(Q instanceof lc))throw new J("Second argument supplied to serialize() does not match required type", +"XPTY0004");const ma=function(na,O,ca,x,E=!1){const B=Sa.XS.string.fromString(na);if(Q.containsKey(B)){let L=Q.get(B);if(0H.push(S));L=H}else throw new J("fn:serialize(): supplied value of "+B+" is invalid","XPTY0004");if(1!==L.length&&!ca&&!E||!L.every(H=>"AZ"===H.code||O.matches(H)))throw new J("fn:serialize(): supplied value of "+B+" is invalid","XPTY0004");u[na]=E&&0===L.length?null:x(ca?L:"AZ"===L[0].code?O.I(L[0]):L[0])}};"doctype-public doctype-system encoding item-separator json-node-output-method media-type method normalization-form version".split(" ").forEach(na=> +ma(na,Sa.XS.string,!1,O=>O.toString()));"allow-duplicate-names byte-order-mark escape-uri-attributes include-content-type indent omit-xml-declaration undeclare-prefixes".split(" ").forEach(na=>ma(na,Sa.XS.boolean,!1,O=>O.toBoolean()));ma("standalone",Sa.XS.boolean,!1,na=>na.toBoolean(),!0);ma("html-version",Sa.XS.$a,!1,na=>na.toNumber());["cdata-section-elements","suppress-indentation"].forEach(na=>ma(na,Sa.XS.QName,!0,O=>{let ca="";for(let x=0;xE instanceof lc))throw new J("fn:serialize(): supplied value of "+O+" is invalid","XPTY0004");ca=ca[0];var x=function(E){return D.string.matches(E)};if(!ca.conforms(x,x,function(E){return 1===E}))throw new J("fn:serialize(): supplied value of "+O+" is invalid","XPTY0004");O=ld.nb(ca,!0);ca={min:0,max:0,oa:{}};for(let E in O)if(O.hasOwnProperty(E)){if(1< +E.length)throw new J("fn:serialize(): Keys in a character map must all be one-character strings. Found "+E,"SEPM0016");x=E.codePointAt(0);0===ca.min?ca.min=x:xca.max&&(ca.max=x);ca.oa[x]=O[E]}u[na]=ca}})("use-character-maps")}}else n(u);le.serialize(c[0].expand(),u,m,d);return Yb(m.toString())},snapshot:function(c,d,n){return c[0].mapOneToOne(function(m){function u(L){if(0ma.append(S));0ma.append(S));r.namespace(ca).forEachItem(S=>ma.append(S))},ma):ee.vf(m,d,ma,n,!0,!0),E=Q.ec.lastChild)},ma)}}const Q=ae(d),ma=ee.getComplexContentOutputter(Q);if(!I.Oa(m))return ee.vf(m,d,ma,n,!0,!0),ma.close(),Q.iter().next();const na=m.nodeType,O=I.X(m);var ca=m,x=[2,13].includes(na);x&&(ca=I.Oa(ca));ma.startDoc();let E;const B=r.Lc(ca).expand();0I.X(L).equals(O)).next();case 13:return I.va.namespace(E).filter(L=>I.X(L).equals(O)).next();default:return E}})},sort:function(c,d,n){const m=Nd.jf(n,c[1],d);let u=ld.atomize;if(c[2]){const Q=c[2].next();u=function(ma){return Q.evaluate([[ma]],d,n)}}return Pb(c[0].expand().slice().sort(function(Q,ma){return c[1]?Od(u(Q),u(ma),m):Od(u(Q),u(ma))}))},"starts-with":function(c,d,n){const m=b(c[0]),u=b(c[1]);c=Nd.Kb(n,c[2],"startsWith",d);return bc(c(m, +u))},"static-base-uri":function(c,d,n){return(c=d.fixed.evaluator.staticBaseUri(n,d))?Ub(D.anyURI.fromString(c)):Tb},"stream-available":function(){return bc(!1)},string:function(c,d){d=d.fixed.evaluator;c=c[0].next();if(!c)return Yb("");if(d.isArray(c)||d.pe(c)||d.Bd(c))throw new J("Input to string() is a function item ","FOTY0014");return d.atomize(c).mapOneToOne(function(n){return D.string.I(n)})},"string-join":function(c){let d="";const n=c[1]?c[1].next().value:"";let m,u=!0;for(;null!==(m=c[0].next());)u|| +(d+=n),d+=m.toString(),u=!1;return Yb(d)},"string-length":function(c){return Zb(Ia(b(c[0])).length)},"string-to-codepoints":function(c){return Pb(Ia(b(c[0])).map(D.integer.fromNumber))},subsequence:function(c){const d=Math.round(c[1].next().toNumber()),n=c[2]?d+Math.round(c[2].next().toNumber()):Number.POSITIVE_INFINITY;return new Sb(c[0],d,n)},substring:function(c){var d=Math.round(c[1].next().toNumber());const n=c[2]?d+Math.round(c[2].next().toNumber()):Number.POSITIVE_INFINITY;c=new Rb(b(c[0])[Symbol.iterator]()); +d=new Sb(c,d,n);return Yb(d.expand().join(""))},"substring-after":function(c,d,n){let m="";const u=b(c[0]),Q=b(c[1]);let ma;-1!==(ma=Nd.Kb(n,c[2],"indexOf",d)(u,Q))&&(m=u.substring(ma+Q.length));return Yb(m)},"substring-before":function(c,d,n){let m="";const u=b(c[0]),Q=b(c[1]);let ma;-1!==(ma=Nd.Kb(n,c[2],"indexOf",d)(u,Q))&&(m=u.substring(0,ma));return Yb(m)},sum:function(c,d){d=c[0].mapOneToOne(d.fixed.evaluator.Si);const n=d.next();if(null===n)return 1===c.length?Zb(0):c[1];try{return tb["a+a"](n, +n),Ub(q(d,n,tb["a+a"]))}catch(m){throw m instanceof J&&"XPTY0004"===m.code&&(m.code="FORG0006"),m;}},"system-property":function(c,d,n){c=D.QName.fromEQName(a(c[0],d,n,"XTDE1390"));d="";c.q===dc.Jc&&(d=ya.systemProperties()[c.local]);c.q===dc.ib&&(d=ya.extraProperties()[c.local]);d||="";return Yb(d)},tail:function(c){const d=Xb(c[0]);return d.filter(function(){return 1!==d.position})},"timezone-from-date":function(c){return l(c,"timezone")},"timezone-from-dateTime":function(c){return l(c,"timezone")}, +"timezone-from-time":function(c){return l(c,"timezone")},tokenize:function(c){var d=b(c[0]);c[1]||(d=Da(d));if(""===d)return Tb;var n=c[1]?c[1].next().toString():"[ \\n\\r\\t]+";n=ee.kg(d,n,c[2]?c[2].next().toString():"",!1,!0);d=c[1]&&n[0].Ac;const m=n[n.length-1];c=c[1]&&m.Ac;n=n.filter(function(u){return!u.Ac}).map(function(u){return u.string});d&&n.unshift(D.string.fromString(""));c&&n.push(D.string.fromString(""));return Pb(n)},trace:function(c,d){const n=c[0].expand();Aa.Qa("fn:trace: "+(2=== +c.length?c[1].next().toString()+": ":"")+Aa.showValue(n),1,d.fixed.Ga);return Pb(n)},transform:function(c,d,n){function m(pa){pa=D.string.fromString(pa);return Z.get(pa)}function u(pa,k="FOXT0002"){throw new J(pa,k);}function Q(pa,k,F=null){if("matches"in k&&"name"in k){if(k.matches(pa))return pa;throw new J(null!==F?`The required item type of ${F} is ${k.name}`:`The required item type is ${k.name}`,"XPTY0004");}return pa}function ma(pa,k){if(Oa(pa))return pa;throw new J(`The required item type of ${k} is string|unTypedAtomic|anyURI`, +"XPTY0004");}function na(pa,k,F=T=>T){(pa=m(pa))&&(pa=Pb(pa).ma())&&(K[k]=F(pa))}function O(pa){return function(k){k instanceof lc||u("The value of the option "+pa+" in fn:transform() must be of type map(xs:QName,item()*)","XPTY0004");if(k.conforms(F=>{D.QName.matches(F)||u("The keys of the "+pa+" option in fn:transform() must be of type xs:QName. Supplied value:"+F.toString());return!0},()=>!0,()=>!0))return k}}function ca(pa,k){na(pa,k,O(pa))}function x(pa){pa.C&&pa.C.forEach(function(k){k.parentNode= +pa;x(k)})}function E(pa,k,F){if(!S.N)throw new J("No XSLT processor is available to support fn:transform(). If using SaxonJS2.rt.js, it does not contain an XSLT compiler ","FOXT0001",n);let T={stylesheetParams:new lc,tunnelParams:{},functionParams:{},isDynamicStylesheet:!0,destination:"application",initialMode:"compile-complete",templateParams:{"Q{}options":{noXPath:!1}}};for(let t in k)"compiler.options"===t?T.tunnelParams["Q{}compiler.options"]=k[t]:T.templateParams["Q{}options"][t]=k[t];T.stylesheetParams.inSituPut(Sa.XS.QName.fromParts("", +"","staticParameters"),[F]);T.stylesheetInternal=S;T.outputProperties={};x(S);"true"===S.relocatable&&(T.isRelocatableStylesheet=!0);k=L.checkOptions(T);L.internalTransform(S,pa,k);return k.principalResult}function B(pa){pa=H.atomize(pa).expand();if(1ma(B(pa),"stylesheet-location").toString());na("stylesheet-node","stylesheetNode");na("stylesheet-text","stylesheetText");na("package-location","packageLocation",pa=>ma(B(pa),"package-location").toString());na("package-node","packageNode");na("package-text","packageText");let ha=0;"stylesheetLocation stylesheetNode stylesheetText packageLocation packageNode packageText".split(" ").forEach(pa=>{K[pa]&&ha++});1!==ha&&u("A stylesheet must be supplied as an option to fn:transform(), by exactly one of 'stylesheet-location', 'stylesheet-node', 'stylesheet-text', 'package-location', 'package-node' or 'package-text'"); +na("source-node","sourceNode");na("global-context-item","globalContextItem");(c=m("source-node")[0])&&!m("global-context-item")[0]&&I.Oa(c)&&(K.globalContextItem=c.ownerDocument);(c=m("initial-match-selection"))&&0Q(pa,D.QName,"initial-template").toEQName());na("initial-mode","initialMode",function(pa){return["#unnamed","#default"].includes(pa.toString())?pa.toString():Q(pa,D.QName,"initial-mode").toEQName()});na("initial-function", +"initialFunction",pa=>Q(pa,D.QName,"initial-function").toEQName());na("static-params","staticParams");na("base-output-uri","baseOutputURI");na("stylesheet-base-uri","stylesheetBaseURI",pa=>pa.toString());na("delivery-format","destination",pa=>pa.toString());let w=K.destination;w&&!["raw","document","serialized"].includes(w)&&u("The value of the delivery-format option to fn:transform() must be one of 'raw', 'document' or 'serialized'. Supplied value is "+w);w||="document";c=(c=m("enable-messages"))&& +1===c.length?c[0].toBoolean():!1;let M=m("enable-assertions");M=M&&1===M.length?M[0].toBoolean():!1;var aa=null,ja=null;if(K.stylesheetNode){var Y=K.stylesheetNode._saxonBaseUri||"NoStylesheetBaseURI";if(9==K.stylesheetNode.nodeType)ja=K.stylesheetNode.cloneNode(!0);else if(11==K.stylesheetNode.nodeType){ja=ya.createDocument();var y=K.stylesheetNode.childNodes;for(var da=0;da10*X&&u("No suitable XSLT processor is available; requested XSLT version in fn:transform() is: "+ +(V/10).toString());K.sourceNode&&K.initialSelection&&u("Only one of 'source-node' or 'initial-match-selection' must be supplied to fn:transform() for apply-templates invocation");K.initialTemplate&&K.initialMode&&u("Only one of 'initial-template' or 'initial-mode' should be supplied to fn:transform()");if(K.sourceNode){V=K.sourceNode;var W=V.cloneNode(!0);W._saxonBaseUri=V._saxonBaseUri;W._saxonDocUri=V._saxonDocUri}K.baseOutputURI||(K.baseOutputURI="",C=!0);ca("stylesheet-params","stylesheetParams"); +ca("template-params","templateParams");ca("tunnel-params","tunnelParams");na("function-params","functionParams",function(pa){Aa.ba(pa instanceof id);return pa.value});"serialized"===w&&na("serialization-params","outputProperties",pa=>H.nb(pa,!0));K.deliverResultDocument=function(){let pa=this;return new ne(w,function(k,F){pa.resultDocuments[k.toString()]="serialized"===w?[Sa.XS.string.fromString(F)]:fc.Q(F)?[F]:null===F?[]:F})};K.deliverMessage=function(pa){ya.ei()(pa);this.ri.push([pa])};let ka= +{};V=Pb(m("collections")).ma();null!==V&&(ka=H.nb(V,!0));K.collectionFinder=function(pa){return"undefined"===typeof pa?null:ka[pa]};V=!["raw","serialized"].includes(w);let ea,va;try{x(aa);"true"===aa.relocatable&&(K.isRelocatableStylesheet=!0);if(K.stylesheetNode||K.packageText||K.packageNode)K.stylesheetInternal=aa;va=L.checkOptions(K);L.internalTransform(aa,W,va);ea=va.principalResult}catch(pa){if(pa instanceof J&&pa.Le)throw new J(pa.message,pa.code.toString());throw pa;}if(ea&&V){Aa.ba(Array.isArray(ea)); +W=ae(d);const pa=ee.getComplexContentOutputter(W);pa.startDoc();ea.forEach(k=>pa.append(k));pa.endDoc();pa.close();ea=W.kd}Array.isArray(ea)&&1===ea.length&&Array.isArray(ea[0])&&(ea=ea[0]);W=va.resultDocuments[""];if(void 0!==W){if(Array.isArray(ea)?0=q.length){for(;G=g.length){for(;v=e(q[v],g[G])?l(q[v++]):l(g[G++]);return z}function h(q,g){return g.fixed.evaluator.db(q,"sortKey").map(function(e){return Nd.zk(e,g)})}function A(q){return function(g,e){for(let l=0;ll){v={Ig:[p.item],keys:p.keys,groups:{}};for(l=0;lnew Rb(function*(){for(const t of F){const R=t(T);let U;for(;null!==(U=R.next());)yield U}}())}function h(k){function F(ia){switch(ia){case 1:return"first";case 2:return"second";case 3:return"third";default:return ia+"th"}}k=k.split("|");const T=k[0],t=k[1],R=""===k[2]?"XPTY0004":k[2],U=k[3];return{gd:function(){switch(parseInt(T,10)){case 0:return F(+t+1)+" argument of "+(""===U?"anonymous function":U+"()");case 1:return F(+t+ +1)+" operand of '"+U+"'";case 9:return"operand of '-'";case 2:return"value in '"+U+"' expression";case 3:return"saxon:context-item"===U?"context item":"value of variable $"+U;case 4:const ia=U.split("/");return"@"+ia[1]+" attribute of "+("LRE"===ia[0]?"a literal result element":ia[0]);case 5:return"result of call to "+(""===U?"anonymous function":"function "+U);case 7:return"result of template "+U;case 6:return F(+t+1)+" sort key";case 8:return"value of parameter $"+U;case 11:return"value of the grouping key"; +case 12:return"result of xsl:evaluate";case 13:return"the context item";case 14:return"the context item for the "+"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")[t]+" axis";case 15:return"the value of the "+U+" option";case 17:return"document-order sorter";default:return""}}(),code:R}}function A(k){k=k.trim();if(["true","yes","1"].includes(k))return!0;if(["false", +"no","0"].includes(k))return!1;throw new J("Value must be yes|true|1 or no|false|0","XTDE0030");}function P(k){if(W.Q(k))return Ub(q(k));if(K(k))return Vb(k.value.map(F=>Pb(F))).mapOneToMany(P);if(V(k))throw new J("Cannot atomize a "+(X(k)?"map":"function"),"FOTY0013");return Ub(k)}function q(k){const F=ea.string.fromString,T=ea.untypedAtomic.fromString;switch(k.nodeType){case 9:return T(k.documentElement.textContent);case 11:case 1:case 3:case 4:return T(k.textContent||"");case 2:return T(k.value); +case 8:return F(k.textContent);case 7:return F(k.textContent);case 13:return F(k.q);default:throw new J("Unknown node type "+k.nodeType,"SXJS0003");}}function g(k){return Pb(k).mapOneToMany(P).expand()}function e(k){function F(R){throw new J("Effective boolean value is not defined for "+R,"FORG0006");}function T(){if(null!==k.next())F("an atomic sequence of length > 1");else return!0}var t=k.next();if(null===t)return!1;if(W.Q(t))return!0;if(Sa.ka(t)){if("AB"===t.code)return T()&&t.toBoolean();if(t.isNumeric())return t= +t.toNumber(),T()&&!isNaN(t)&&0!==t;if(Oa(t))return T()&&0!==t.toString().length;F("type "+Sa.$c(t.code))}else X(t)?F("maps"):K(t)?F("arrays"):V(t)?F("functions"):F("value "+Aa.showValue(t))}function l(k,F){const T=tb["i+i"],t=ea.integer.fromNumber(1);return new Hb(k,R=>{R=T(R,t);return 0T.N===F):[]}function v(k,F,T){k=z(k,"withParam");const t=[new lc,new lc];F.tunnelParams.forAllPairs(U=>t[1].inSituPut(U.k,U.v));const R=F.tempOutputState; +F.tempOutputState="template parameter";k.forEach(function(U){const ia=U.name,ua=Q(U,"t")?1:0;t[ua].inSituPut(Sa.XS.QName.fromEQName(ia),d(U)(F).expand())});F.tempOutputState=R;T.localParams=t[0];T.tunnelParams=t[1]}function G(k){return!/[ \t\r\n]/.test(k)}function p(k,F,T){if(k){k=k.split(/\r?\n/);for(let R=0;R{try{const U=T(R).next(),ia=t(R).next();return null===U||null===ia?null:F(U,ia)}catch(U){C(U,k)}}}function I(k,F){if(F.fixed.staticBaseURI)return F.fixed.staticBaseURI;if(F.fixed.Xc)return null;for(;;){if(k.baseUri)return k.baseUri;k=k.parentNode;if(!k)return null}}function D(k,F,T=!1){var t=W.xc(F.resultDocument).createDocumentFragment();t=W.lc(t);t._saxonBaseUri=I(k, +F);const R=F.newContext(!1);T&&(R.resultDocument=F.masterDocument);kd.bk(t,m(k)(R),R);return t}function r(k){const F=d(k),T=n(k),t=k.op;return R=>{const U=F(R),ia=T(R).expand();R=Nd.be(k.comp,R);return Nd.Ag(U,ia,t,R,k)}}function c(k,F){throw new J("The "+k+" construct is not implemented in SaxonJS","SXJS0002",F);}function d(k){return m(k.C[0])}function n(k){return m(k.C[1])}function m(k){if(k){var F=k.ELAB;F||((F=pa[k.N])||Aa.fa("Unknown expr: "+k.N+" parent="+k.p),F=k.ELAB=F(k));return F}}function u(k, +F){k=k.C||[];for(let T=0;T{const T=ae(F),t=ee.getComplexContentOutputter(T);ee.push(k,F,t);t.close();return T.iter()}}function C(k,F){k instanceof J&&!k.xsltLineNr&&za(k,F);throw k;}function Z(k,F){function T(R){return"Context item for template "+k.name+" must be "+R}if(F.noCurrentFocus()&&-1===k.flags.indexOf("o"))throw new J(T("supplied"),"XTTE3090",k);F.noCurrentFocus()||-1!==k.flags.indexOf("s")||(F.focus={});let t=k.cxt;if(t&&!F.noCurrentFocus()&&!oc(t).ga()(F.getCurrentFocus()))throw new J(T("instance of "+ +oc(t).toString()),"XTTE0590",k);}function K(k){return k instanceof id}function X(k){return k instanceof lc||k instanceof M}function V(k){return k instanceof jd.XdmFunction||K(k)||X(k)}function ha(k){var F=Object.assign(k);F.ELAB=void 0;k.C&&(F.C=k.C.map(T=>ha(T)));return F}function w(k,F,T){Aa.ba(Array.isArray(k));Aa.ba(F instanceof pc);const t=F.T();let R=t.p;if(t.o&&!Kd(t.o)(k.length))throw new J("Supplied value "+Aa.showValue(k)+" does not match required cardinality "+t.o+(T?" in "+T():""),"XPTY0004"); +if(0ia.isNumeric()?ia:U.matches(ia)?Sa.XS.double.I(ia):ia instanceof M?Sa.XS.double.fromString(ia.value.toString()):ia);else{const ia=Sa.codes[R],ua=ia.I;"A"!==R&&(k=k.map(Ba=>U.matches(Ba)?ua(Ba):Ba instanceof M?ia.fromString(Ba.value.toString()):Ba));["AO","AF"].includes(R)&&(k=k.map(Ba=>Ba.isNumeric()?ia.I(Ba):Ba));"AS"===R&&(k=k.map(Ba=>Sa.XS.anyURI.matches(Ba)?ia.I(Ba):Ba))}}else if(F.K.Bd())if(["FM","FA"].includes(R))k= +Y(k);else if(F.K instanceof md){const U=F.K.ga();k.every(ia=>U(ia))||(k=k.map(ia=>{if(U(ia))return ia;if(ia instanceof jd.XdmFunction){var ua=F.K;const Ba=ua.g.length;ua={minArgs:Ba,maxArgs:Ba,sig:ua.ea(),alphaTree:ua.T()};return new jd.gh(ua,ia)}return ia}))}if(!F.matches(k))throw new J("Supplied value "+Aa.showValue(k)+" does not match required type "+F.toString()+(T?" in "+T():""),"XPTY0004");}return k}function M(k){this.value=k}function aa(k){this.value=k}function ja(k){function F(t){switch(typeof t){case "undefined":return[]; +case "string":return ea.untypedAtomic.fromString(t);case "number":return ea.double.fromNumber(t);case "boolean":return ea.boolean.fromBoolean(t);case "function":return new M(t);case "object":if(ea.lg.matches(t)||W.Q(t))return t;if(t instanceof id)return t;if(t instanceof jd.XdmFunction||t instanceof lc)return t;if(t instanceof M)return t;if(t instanceof Date)return ea.dateTime.fromString(t.toISOString());if(Array.isArray(t)){const R=[];t.forEach(function(U){R.push(ja(U))});return new id(R)}return null=== +t?[]:t instanceof aa?t.value:new M(t);default:return new M(t)}}function T(t){const R=[];t.forEach(function(U){U=F(U);Array.isArray(U)&&0===U.length||R.push(U)});return R}if(Array.isArray(k))return T(k);k=F(k);return Array.isArray(k)&&0===k.length?[]:[k]}function Y(k){function F(t){if(t instanceof id){const R=[];t.value.forEach(U=>R.push(T(U)));return new id(R)}if(t instanceof M){const R=t.value;if("object"===typeof R){t=new lc;for(const U in R)if(R.hasOwnProperty(U)){const ia=ja(U)[0],ua=ja(R[U]); +t.inSituPut(ia,Y(ua))}return t}}return t}function T(t){const R=[];t.forEach(function(U){U=F(U);Array.isArray(U)&&0===U.length||R.push(U)});return R}Aa.ba(Array.isArray(k));return T(k)}function y(k,F=!1){function T(R){if(Array.isArray(R))throw new J("convertItem() called for an array","SXJS0004");if(null===R)return null;if(ea.string.matches(R)||ea.anyURI.matches(R)||ea.duration.matches(R)||ea.hexBinary.matches(R)||ea.base64Binary.matches(R)||ea.untypedAtomic.matches(R))return R.toString();if(ea.numeric.matches(R))return R.toNumber(); +if(ea.boolean.matches(R))return R.toBoolean();if(ea.dateTime.matches(R)||ea.Oc.matches(R)||ea.vd.matches(R)||ea.Bf.matches(R)||ea.ci.matches(R)||ea.bi.matches(R)||ea.ai.matches(R)||ea.$h.matches(R)||ea.Zh.matches(R))return R.toString();if(ea.QName.matches(R))return R.toEQName();if(W.Q(R))return R;if(R instanceof id){const U=[];0!==R.value.length&&R.value.forEach(function(ia){U.push(y(ia,F))});return U}if(R instanceof lc){if(F){const U={};R.forAllPairs(function(ia){U[ia.k.toString()]=y(ia.v,F)});return U}return new aa(R)}return R instanceof +aa?R:R instanceof M?R.value:new aa(R)}function t(R){const U=[];if(0===R.length)return null;if(1===R.length)return T(R[0]);R.forEach(function(ia){U.push(T(ia))});return U}return Array.isArray(k)?t(k):T(k)}function da(k){return k.mapOneToMany(function(F){return K(F)?Vb(F.value.map(function(T){return da(Pb(T))})):Ub(F)})}const W=fc,ka=W.va,ea=Sa.XS;let va;const pa={acFnRef:function(k){const F=ea.QName.fromEQName(k.name),T=Pd.find("SaxonJS").XPath;return t=>{t=t.newContext(!0);t.Pa=!0;if(t=T.getFnSignature(F, +1,t))return t=new jd.Qf(t,F,k),Ub(t);throw new J("Reference to an unknown constructor function "+F+"#1","XPST0017",k);}},among:function(k){const F=d(k),T=n(k);return t=>{const R=F(t).next();return T(t).filter(U=>W.isSameNode(U,R))}},analyzeString:S,and:function(k){const F=d(k),T=n(k);return t=>bc(e(F(t))&&e(T(t)))},applyImports:S,applyT:S,arith:function(k){const F=tb[k.calc];F||c("arithmetic ("+k.calc+")",k);const T=f(k,F);return t=>Ub(T(t))},arith10:function(k){function F(U){U=U.next();return null=== +U?ea.double.fromNumber(NaN):Oa(U)?ea.double.hf(U.toString()):ea.double.I(U)}const T=d(k),t=n(k),R=tb[k.calc];return U=>Ub(R(F(T(U)),F(t(U))))},array:function(k){const F=(k.C||[]).map(m);return T=>{const t=F.map(R=>R(T).expand());return Ub(new id(t))}},arrayBlock:function(k){const F=(k.C||[]).map(m);return T=>{const t=F.map(R=>R(T).expand());return Ub(new id(t))}},atomic:function(k){const F=Sa.codes[k.type].fromString(k.val);return()=>Ub(F)},atomSing:function(k){const F=d(k);return k.card?T=>F(T).mapOneToMany(P): +T=>{T=F(T).mapOneToMany(P);T=Kb(T);if(null===T.ma())throw T=h(k.diag),new J("The "+T.gd+" is empty",T.code,k);return T}},att:S,attVal:function(k){const F=ea.QName.fromEQName(k.name);return T=>{T.failIfNoCurrentFocus("XPDY0002","@"+F,k);T=T.getCurrentFocus();if(!W.Q(T))throw new J("Context item for 'attVal' must be a node","XPTY0020",k);if(1!==T.nodeType)return Tb;T=""===F.q?null!=T.attributes.getNamedItem(F.local)?T.getAttribute(F.local):null:F.q===dc.oc?null!=T.attributes.getNamedItem("xml:"+F.local)? +T.getAttribute("xml:"+F.local):null:null!=ic(T,F.q,F.local)?jc(T,F.q,F.local):null;return null===T?Tb:Ub(ea.untypedAtomic.fromString(T))}},axis:function(k){const F=oc(k.nodeTest||"").ga(),T=k.name;return t=>{t.failIfNoCurrentFocus("XPDY0002",T+" axis",k);t=t.getCurrentFocus();if(!W.Q(t))throw new J("Context item for "+T+" axis is not a node - supplied:"+Aa.showValue(t),"XPTY0020",k);return W.Ch[T](t).filter(F)}},"break":S,callT:function(k){return F=>{const T=E(k,F,"template"),t=F.newContext(!0);t.currentMergeGroup= +null;t.currentComponent=T;Z(T.actor,t);v(k,F,t);return d(T.actor)(t)}},cast:function(k){const F=d(k),T=Q(k,"e"),t=R=>{R=F(R).next();if(null===R){if(T)return null;throw new J("Empty sequence casting to "+oc(k.as).toString(),"XPTY0004",k);}return R};if(Q(k,"a")){const R=wb(k.as),U="AQ"===R.p?O(k,!0):null,ia=Sa.codes[R.p].I;return ua=>{ua=t(ua);if(null===ua)return Tb;try{var Ba=ia(ua,U);return Ub(Ba)}catch(Fa){if("FORG0001"===Fa.code&&k.diag)throw Ba=h(k.diag),new J("Required item type of "+Ba.gd+" is "+ +oc(k.as).toString()+"; supplied value is "+Aa.Ji(ua),Ba.code,k);if(null!==Fa.code)throw Fa;throw new J("Failed to cast "+Aa.Ji(ua)+" to type "+oc(k.as).toString(),"XPTY0004",k);}}}if(Q(k,"l")){const R=Sa.XS.QName.fromEQName(k.as),U=bd[R.local].fromString;Aa.ba(R.q===dc.ac);Aa.ba(U);return ia=>{ia=t(ia);if(null===ia)return Tb;ia=Ma.cf(ia.toString()).split(" ").map(U);if(0===ia.length)throw new J("xs:"+R.local+" value must contain at least one token","FORG0001");return Pb(ia)}}if(Q(k,"u"))return R=> +{R=t(R);return null===R?Tb:Sa.XS.double.matches(R)||Sa.XS.$a.matches(R)||Sa.XS.float.matches(R)?Ub(R):Ub(Sa.XS.double.I(R))};throw new J("Unknown cast variety "+k.flags);},castable:function(k){const F=d(k),T=Q(k,"e");let t;if(Q(k,"a")){const R=wb(k.as),U="AQ"===R.p?O(k,!0):null,ia=Sa.codes[R.p].I;t=ua=>{ia(ua,U);return!0}}else if(Q(k,"l")){k=Sa.XS.QName.fromEQName(k.as);const R=bd[k.local].fromString;t=U=>0{Sa.XS.double.I(R);return!0}; +else throw new J("Unknown castable variety "+k.flags);return R=>{R=F(R);const U=R.next();if(null===U)return bc(T);if(null!==R.next())return bc(!1);R=P(U).next();try{return bc(t(R))}catch(ia){return bc(!1)}}},cfn:function(k){const F=k.name,T=d(k);let t;if("_format-number_1"===F)return t=pe["format-number"],R=>{const U=[T(R),Yb(k.pic)];null!=k.attributes.getNamedItem("format")&&U.push(Yb(k.format));return t(U,R,k)};if("_translate_1"===F)return t=pe.translate,R=>{const U=[T(R),Yb(k.a1),Yb(k.a2)];return t(U, +R)};Aa.fa("Unimplemented: cfn "+F,k)},check:function(k){function F(U){const ia=h(k.diag);throw new J("Required cardinality of "+ia.gd+" is "+t[T]+"; supplied value "+U,ia.code,k);}const T=k.card,t={"*":"zero or more","+":"one or more","?":"zero or one",0:"zero",1:"exactly one"},R=d(k);return U=>{U=R(U);if("*"===T)return U;var ia=Kb(U);U=ia.ma();if(null===U){if("?"===T||"0"===T)return Tb;F("is empty")}else"0"===T&&F("is not empty (first item "+Aa.showValue(U)+")");if("+"===T)return ia;ia.next();const ua= +ia.next();null!==ua&&(ia=ia.count()+2,F("contains "+ia+" items ("+Aa.showValue(U)+", "+Aa.showValue(ua)+(2{for(let t=0;tF(T)},comment:S,compareToInt:function(k){const F=k.op,T=ea.integer.fromString(k.val),t=d(k);return R=>{R=t(R);const U=R.next();if(null===U)return Tb;if(Nd.itemIsNaN(U))return bc("ne"===F);if(null!== +R.next())throw new J("Value comparison only applicable to single values","XPTY0004",k);return bc(Nd.Af(F,U.compareTo(T)))}},compareToString:function(k){const F=k.op,T=d(k),t=ea.string.fromString(k.val);return R=>{const U=T(R),ia=U.next();if(null===ia)return Tb;if(null!==U.next())throw new J("Value comparison only applicable to single values","XPTY0004",k);return k.comp?(R=Nd.be(k.comp,R),["=","eq","!=","ne"].includes(F)?bc(Nd.Oi(F,R.equals(ia,t))):bc(Nd.Af(F,R.compare(ia,t)))):bc(Nd.Af(F,ia.compareTo(t)))}}, +compAtt:S,compElem:S,condCont:function(k){const F=d(k);return T=>{function t(R){if(W.Q(R))switch(R.nodeType){case 9:case 11:case 1:return R.hasChildNodes();default:return""!==q(R).toString()}else return X(R)?0t(ia)).length}).length:""!==ea.string.I(R).toString()}return F(T).filter(t)}},condSeq:function(k){function F(t){if(W.Q(t)){if([9,11].includes(t.nodeType))return!t.hasChildNodes();if(3===t.nodeType||4==t.nodeType)return""=== +t.nodeValue}else{if(Sa.ka(t))return""===ea.string.I(t).toString();if(K(t))return!da(Ub(t)).some(function(R){return!F(R)})}return!1}const T=k.C.map(t=>({name:t.N,eval:m(t)}));return t=>{let R=[];const U=[];let ia=!0;T.map(function(ua){if("onEmpty"===ua.name)ia&&(R=ua.eval(t).expand());else if("onNonEmpty"===ua.name){const Ba=R.length;U.unshift(function(){R.splice.apply(R,[Ba,0].concat(ua.eval(t).expand()))})}else ua.eval(t).forEachItem(function(Ba){F(Ba)||(ia=!1);R.push(Ba)})});ia||U.forEach(function(ua){ua()}); +return Pb(R)}},conditionalSort:function(k){const F=d(k),T=n(k),t=d(k.C[1]);return R=>e(F(R))?T(R):t(R)},consume:function(k){throw new J("Stylesheet uses 'consume' which requires streaming","SXJS0002",k);},convert:function(k){const F=k.to,T=Sa.codes[F];T||Aa.fa("Unknown to-type "+k.to);const t=d(k);return Q(k,"p")?R=>t(R).mapOneToOne(U=>Sa.Pg(U,F)):R=>t(R).mapOneToOne(T.I)},copy:S,copyOf:S,currentGroup:function(k){return F=>{if(F&&F.currentGroup)return Pb(F.currentGroup);throw new J("There is no current group", +"XTDE1061",k);}},currentGroupingKey:function(k){return F=>{if(F&&F.currentGroupingKey)return Pb(F.currentGroupingKey);throw new J("There is no current grouping key","XTDE1071",k);}},cvUntyped:function(k){const F=d(k),T=Sa.codes[k.to],t=T.I,R="string"===T.name;return U=>F(U).mapOneToOne(function(ia){if(ea.double.matches(ia)&&"float"===T.name)throw new J("xs:double may not be promoted to xs:float","XTTE0570",k);if(ea.untypedAtomic.matches(ia)||R&&ea.anyURI.matches(ia))try{return t(ia)}catch(ua){if("FODT0001"=== +ua.code||!k.diag)throw ua;ia=h(k.diag);throw new J(ua.message,ia.code,k);}else return ia})},data:function(k){const F=d(k);return T=>F(T).mapOneToMany(P)},dbl:function(k){const F=ea.double.fromString(k.val);return()=>Ub(F)},dec:function(k){const F=qa(k.val);return()=>ac(F)},doc:S,docOrder:function(k){const F=d(k);return T=>W.Vc(F(T))},dot:function(k){return F=>{F.failIfNoCurrentFocus("XPDY0002",". (dot)",k);return Ub(F.getCurrentFocus())}},elem:S,empty:function(){return()=>Tb},emptyTextNodeRemover:function(k){const F= +d(k);return T=>F(T).filter(t=>!(W.Q(t)&&(3===t.nodeType||4===t.nodeType)&&""===t.textContent))},error:function(k){return()=>{throw new J(k.message,k.code,k);}},evaluate:function(k){const F={language:"XSLT",contextType:{o:"1",p:"",code:"1"}},T=m(u(k,"xpath")),t=m(u(k,"cxt")),R=m(u(k,"sa")),U=m(u(k,"nsCxt")),ia=z(k,"withParam").map(Ba=>({name:ea.string.fromString(Ba.name),eval:d(Ba)})),ua=m(u(k,"wp"));return Ba=>{const Fa=T(Ba).next().toString();u(k,"cxt");const Pa=t?t(Ba):Tb;let Ua=new lc;ia.forEach(function(ta){Ua.inSituPut(ta.name, +ta.eval(Ba).expand())});ua&&ua(Ba).next().forAllPairs(function(ta){if(!ea.QName.matches(ta.k))throw new J("Parameter names in xsl:evaluate/@with-params map must be QNames:"+ta.k.toString(),"XTTE3165",k);Ua.inSituPut(ta.k,ta.v)});Ua=Ub(Ua);if(R){var Na=R(Ba).next().toString();if(A(Na))throw new J("SaxonJS does not support schema-aware evaluation","XTDE1665",k);}(Na=k.as)&&(F.requiredType=Na.toString());(Na=k.dxns)&&"http://www.w3.org/1999/xhtml"!==Na.toString()&&(F.xpathDefaultNamespace=Na.toString()); +let Wa={};if(U){Na=U(Ba);var N=Na.next();if(null===N||null!==Na.next()||!W.Q(N))throw new J("xsl:evaluate/@namespace-context must evaluate to a single node","XTTE3170",k);Wa[""]="";fc.inScopeNamespaces(N).forEach(ta=>Wa[ta.prefix]=ta.q);F.xpathDefaultNamespace=Wa[""]}else Wa=ma(k);const ba={};N=Na=!1;const la={};var fa=u(k,"options");if(fa){fa=H(fa,Ba).next();let ta=ea.string.fromString("var-slots");fa.containsKey(ta)&&fa.get(ta)[0].forAllPairs(function(Ca){ba[Ca.k.toEQName()]=y(Ca.v)});ta=ea.string.fromString("allow-empty"); +fa.containsKey(ta)&&(Na=fa.get(ta)[0].toBoolean());ta=ea.string.fromString("isStatic");fa.containsKey(ta)&&(N=fa.get(ta)[0].toBoolean());ta=ea.string.fromString("staticContext");fa.containsKey(ta)&&fa.get(ta)[0].forAllPairs(function(Ca){la[Ca.k.toString()]=y(Ca.v,!0)})}F.params=Ua;F.namespaces=Wa;F.slotMap=ba;F.allowEmpty=Na;F.staticTyping=!0;F.isStatic=N;F.staticContext=la;F.dynamicEval=!0;(Na=u(k,"baseUri"))&&(F.staticBaseURI=H(Na,Ba).next().toString());(Na=na(k,"defaultCollation"))&&(F.defaultCollation= +Na);return Pd.find("SaxonJS").XPath.evaluateXDM(Fa,Pa,Ba,F)}},every:function(k){const F=parseInt(k.slot,10),T=d(k),t=n(k);return R=>{const U=T(R);return bc(!U.some(function(ia){R.localVars[F]=[ia];return!e(t(R))}))}},except:function(k){const F=d(k),T=n(k);return t=>new Mb(F(t),T(t),W.fb)},"false":function(){return()=>bc(!1)},filter:function(k){const F=d(k),T=n(k);return Q(k,"i")?t=>{const R=F(t);t=T(t).expand();if(1===t.length&&ea.numeric.matches(t[0])){const U=t[0].toNumber();if(R instanceof Pb)return Ub(R.expand()[U- +1]||null);const ia=Xb(R);return ia.filter(function(){return ia.position===U})}return e(Pb(t))?R:Tb}:t=>{const R=F(t),U=t.newContext(!1);U.focus=Xb(R);t=Q(k,"p")?function(){const ia=T(U).expand();return 1===ia.length&&ea.numeric.matches(ia[0])?U.focus.position===ia[0].toNumber():e(Pb(ia))}:function(){return e(T(U))};return U.focus.filter(t)}},first:function(k){const F=d(k);return T=>Ub(F(T).next())},flt:function(k){const F=ea.float.fromString(k.val);return()=>Ub(F)},fn:function(k){const F=pe[k.name]; +F||c(k.name+"()",k);const T=(k.C||[]).map(m);return t=>{const R=T.map(U=>U(t));return F(R,t,k)}},fnCoercer:function(k){const F=d(k),T=nc(k.to),t=T.K,R={alphaTree:T.T()};return U=>F(U).mapOneToOne(function(ia){if(!(ia instanceof jd.XdmFunction||ia instanceof id||ia instanceof lc)){var ua=h(k.diag);throw new J("Required item type of "+ua.gd+" is "+T.toString()+"; supplied value is "+Aa.showValue(ia),ua.code,k);}if((t instanceof md?t.g:[]).length!==(ia instanceof jd.XdmFunction?ia.arity:1))throw ua= +h(k.diag),new J("Required item type of "+ua.gd+" is "+T.toString()+"; supplied value is "+Aa.showValue(ia),ua.code,k);return new jd.gh(R,ia)})},fnRef:function(k){let F=k.name;F=/^Q{/.test(F)?ea.QName.fromEQName(F):ea.QName.fromParts("",dc.za,F);const T=parseInt(k.arity,10),t=Pd.find("SaxonJS").XPath;return R=>{var U=R.newContext(!0);U.Pa=!0;if(U=t.getFnSignature(F,T,U))return R=U.isUserFunction?new jd.Vf(U,R):F.q===dc.ac?new jd.Qf(U,F,k):new jd.Ge(U,F,T,k,R),Ub(R);throw new J("Reference to an unknown function and/or arity "+ +F.toEQName()+"#"+T,"XPST0017",k);}},follows:function(k){const F=f(k,function(T,t){return ea.boolean.fromBoolean(0Ub(F(T))},"for":function(k){const F=parseInt(k.slot,10),T=d(k),t=n(k);return R=>T(R).mapOneToMany(function(U){R.localVars[F]=[U];return t(R)})},forEach:function(k){const F=d(k),T=n(k);return u(k,"separator")?S(k):t=>{const R=t.newContext(!1);R.focus=Xb(F(t));R.currentTemplate=null;return R.focus.mapOneToMany(function(){return T(R)})}},forEachGroup:S,fork:b,functionCall:function(k){c(k.name+ +"()",k)},gc:r,gc10:function(k){let F=d(k),T=n(k);return t=>{let R=F(t).expand(),U=T(t).expand();1===R.length&&ea.boolean.matches(R[0])?U=[ea.boolean.fromBoolean(e(Pb(U)))]:1===U.length&&ea.boolean.matches(U[0])?R=[ea.boolean.fromBoolean(e(Pb(R)))]:(R=g(R),U=g(U));t=Nd.be(k.comp,t);const ia=k.op;"="!==ia&&"!="!==ia?(R=Pb(R).mapOneToOne(Sa.XS.numeric.Fd).expand(),U=Pb(U).mapOneToOne(Sa.XS.numeric.Fd).expand()):t=Nd.Bj(t);return Nd.Ag(Pb(R),U,ia,t,k,!0)}},gcEE:r,gVarRef:function(k){return F=>{const T= +E(k,F),t=T.actor,R=t.name;if(T.value===a)throw F=new J("Circularity in global variable "+R,"XTDE0640"),F.Le=!0,F;if(null===T.value||"undefined"===typeof T.value){if("globalParam"===t.N){var U=F.fixed.la.stylesheetParams,ia=Sa.XS.QName.fromEQName(R);if(U.containsKey(ia))U=U.get(ia),Aa.ba(Array.isArray(U)),ia=nc(t.as||"*"),U=w(U,ia,()=>"stylesheet parameter "+R),Aa.ba(Array.isArray(U)),T.value=U;else{if(Q(t,"r"))throw new J("Parameter "+R+" is required","XTDE0050",t);if(Q(t,"i"))throw new J("Parameter "+ +R+" cannot be empty","XTDE0700",t);t.C||(T.value=[])}}if(null===T.value||"undefined"===typeof T.value){U=!t.parentNode.parentNode.parentNode;ia=F.newContext(!0);ia.tempOutputState="variable";ia.pushCurrentOutputURI(null);ia.currentMode={};ia.currentTemplate=null;ia.currentComponent=T;ia.focus=U?Wb(F.fixed.Uc):null;try{const ua=d(t);T.value=a;T.value=ua(ia).expand()}catch(ua){throw ua instanceof J&&(T.value=[],ea.QName.fromEQName(R).q!==dc.ib+"generated-variable"&&(ua.Le=!0)),ua;}ia.popCurrentOutputURI()}}return Pb(T.value)}}, +homCheck:function(k){const F=d(k);return T=>{T=Kb(F(T));const t=T.ma();if(null===t)return Tb;const R=W.Q(t);T=T.filter(function(U){if(W.Q(U)!==R)throw new J("Cannot mix nodes and atomic values in the result of a path expression","XPTY0018",k);return!0});return R?W.Vc(T):T}},ifCall:function(k){const F=ea.QName.fromEQName(k.name);if("schedule-action"===F.local){const t=d(k),R=n(k),U=m(k.C[3]);return ia=>{var ua=4===k.C.length;if(4k.C.length||"empty"===k.C[2].N?Na=Wa=N=null:(Na=k.C[2],"bSlot"in Na?(Wa=E(Na,ia,"template"),N=Wa.actor):Wa=N=null);ia.noCurrentFocus()||(Ua.focus=Xb(Ub(ia.getCurrentFocus())),Ua.focus.next());Ua.currentMergeGroup=null;Ua.currentComponent=Wa;Ua.tempOutputState=!1;null===Pa&&null!==N&&Z(N,Ua);null!=Na&&v(Na,ia,Ua);let ba,la;null===N?(ba=null,la=function(){}): +(ba=d(N),la=function(){ba(Ua).expand()});if(null!==Pa)ua=ya.makeHttpRequest(Pa,function(fa){Ua.focus=Xb(Ub(fa[0]));Ua.focus.next();null!==N&&(Z(N,Ua),la())},Ba,ia.fixed.Ga);else if(null!==Fa)Fa=Fa.toString().split(" "),Pa=Fa.map(function(fa){return ya.resolveUri(fa,ld.staticBaseUri(k,ia))}),ya.inBrowser()?(ua=ya.gj(Pa,ia.fixed.hd,la,Ba,ia.fixed.Ga),ua=1===Fa.length?ua[Pa[0]]:ua):(Ba=Pa.map(fa=>Pd.find("SaxonJS").getResource({location:fa,type:"text"}).then(ta=>{try{return ia.fixed.hd[fa]=ta,la(),Promise.resolve(null)}catch(Ca){return ta= +Promise.reject(Ca),ia.fixed.rk.push(ta),ta}})),Ba=Promise.all(Ba),ia.fixed.nd.push(Ba));else if(0!==Ba)if(ya.inBrowser())setTimeout(la,Ba);else throw new J("ixsl:schedule-action/@wait is not supported on Node.js","SXJS0002");return ua?Ub(ua):Tb}}const T=(k.C||[]).map(m);return t=>{const R=T.map(U=>U(t));return va(F.q,F.local,R,t,k)}},indexedFilter2:function(k){const F=m(u(k,"base")),T=m(u(k,"use")),t=m(u(k,"search"));return R=>{const U=Nd.be(k.comp,R),ia=R.newContext(!1);ia.focus=Xb(F(R));const ua= +t(R).expand();return ia.focus.filter(function(){const Ba=T(ia);return Nd.Ag(Ba,ua,"=",U,k).next().toBoolean()})}},inlineFn:function(k){const F={sig:k.sType,alphaTree:wb(k.sType)};return T=>Ub(new jd.Yi(F,k,T))},instance:function(k){const F=d(k),T=nc(k.of);return t=>{t=F(t).expand();return bc(T.matches(t))}},"int":function(k){const F=ea.integer.fromString(k.val);return()=>Ub(F)},intersect:function(k){const F=d(k),T=n(k);return t=>new Lb(F(t),T(t),W.fb)},intRangeTest:function(k){const F=d(k);k=k.C; +const T=m(k[1]),t=m(k[2]);return R=>{const U=T(R).next(),ia=t(R).next();if(!U||!ia)return bc(!1);const ua=U.toNumber(),Ba=ia.toNumber();R=F(R).some(function(Fa){Fa=Fa.value;return Fa>=ua&&Fa<=Ba});return bc(R)}},is:function(k){const F=f(k,function(T,t){return ea.boolean.fromBoolean(W.isSameNode(T,t))});return T=>Ub(F(T))},isLast:function(k){const F="1"===k.test;return T=>bc(T.focus.position===T.focus.last()===F)},iterate:S,javaCall:function(k){const F=ea.QName.fromEQName(k.name),T=(k.C||[]).map(m); +return t=>{const R=T.map(U=>U(t));return va(F.q,F.local,R,t,k)}},lastOf:function(k){const F=d(k);return T=>{const t=Kb(F(T));return t.filter(function(){return null===t.ma()})}},let:function(k){const F=d(k),T=n(k),t=parseInt(k.slot,10);return R=>{const U=R.tempOutputState;R.tempOutputState="variable";const ia=F(R).expand();R.tempOutputState=U;R.localVars[t]=ia;return T(R)}},literal:b,lookup:function(k){const F=d(k),T=n(k);return t=>{function R(Na){Ba=Ba.concat(Fa[Na.toString()])}function U(Na){Ba= +Ba.concat(Fa.get(Na))}function ia(Na){return function(Wa){if(!ea.integer.matches(Wa))throw new J("Array lookup key must be of type xs:integer; supplied value is "+Aa.showValue(Wa),"XPTY0004",k);Wa=Wa.toNumber();if(1>Wa||Wa>Na.length)throw new J("Array index ("+Wa+") out of bounds (1 to "+Na.length+")","FOAY0001",k);Ba=Ba.concat(Na[Wa-1])}}const ua=F(t);let Ba=[],Fa;t=T(t).expand();const Pa=k.tuple;if(null!=Pa){const Na=Pa.split(/\s+/);for(var Ua of t)if(-1===Na.indexOf(Ua.toString()))throw new J("Tuple lookup key must be one of "+ +Pa+". Supplied key is "+Ua.toString(),"XPTY0004",k);}for(;null!==(Fa=ua.next());)if(ld.isArray(Fa))Ua=ia(Fa.value),t.forEach(Ua);else if(ld.pe(Fa))t.forEach(U);else if(null!=Pa&&ld.ki(Fa))t.forEach(R);else throw new J("The source for a lookup operator (?) must be of type array() or map(); supplied value is "+Aa.showValue(Fa),"XPTY0004",k);return Pb(Ba)}},lookupAll:function(k){const F=d(k);return T=>{function t(ua){U=U.concat(ua)}function R(ua){U=U.concat(ia.get(ua))}T=F(T);let U=[],ia;for(;null!== +(ia=T.next());)if(ld.isArray(ia))ia.value.forEach(t);else if(ld.pe(ia))ia.keys().forEach(R);else throw new J("The source for a lookup operator ('?') must be of type array() or map(); supplied value is "+Aa.showValue(ia),"XPTY0004",k);return Pb(U)}},lookupTuple:function(k){const F=d(k),T=k.key;return t=>{t=F(t);let R=[],U;for(;null!==(U=t.next());)if(null!=T&&ld.ki(U))R=R.concat(U[T]);else throw new J("The source for a lookupTuple operator (?) must be of type tuple(); supplied value is "+Aa.showValue(U), +"XPTY0004",k);return Pb(R)}},map:function(k){const F=(k.C||[]).map(m);return T=>{const t=new lc;let R=null;F.forEach(function(U){if(null===R)R=U(T).next();else{if(t.containsKey(R))throw new J("Duplicate map constructor entries for key:"+Aa.showValue(R),"XQDY0137",k);U=U(T).expand();t.inSituPut(R,U);R=null}});return Ub(t)}},merge:function(k){return F=>qe.ck(k,F)},mergeAdj:function(k){const F=d(k);return T=>{const t=[],R=F(T);let U=!1,ia;for(;null!==(ia=R.next());){var ua=W.Q(ia)&&(3===ia.nodeType|| +4===ia.nodeType);ua&&""===ia.nodeValue||(U&&ua?(ua=W.xc(T.resultDocument),t.push(ua.createTextNode(t.pop().nodeValue+ia.nodeValue))):(U=ua,t.push(ia)))}return Pb(t)}},message:function(k){const F=m(u(k,"terminate")),T=m(u(k,"error"));return t=>{const R=t.tempOutputState;t.tempOutputState="variable";var U=F(t).next();let ia=T(t).next().toString();try{ia=ca(k,ia,!0).toEQName()}catch(Pa){ia="Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}let ua;try{ua=A(U.toString())}catch(Pa){throw new J("The terminate attribute of xsl:message must be yes|no|true|false|1|0", +"XTDE0030",k);}U=ae(t);const Ba=new fe(U);try{var Fa=ee.getComplexContentOutputter(Ba);Fa.startDoc();ee.push(k.C[0],t,Fa);Fa.endDoc()}catch(Pa){Ba.append(Sa.XS.string.fromString("xsl:message evaluation at "+Aa.location(k)+" failed: "+Pa))}Fa=U.iter().next();t.fixed.la.rg||(t.fixed.la.rg=ya.ei());try{t.countMessage(ia),t.fixed.la.rg(Fa,ia)}catch(Pa){}if(ua)throw Aa.Qa(t.getStackTrace(),1,t.fixed.Ga),t=new J("Terminated with "+Fa,ia,k),t.errorObject=Fa,t;t.tempOutputState=R;return Tb}},minus:function(k){const F= +d(k);return T=>F(T).mapOneToOne(t=>t.tf())},namespace:function(k){const F=d(k),T=n(k);return t=>{const R=F(t).next().toString();t=T(t).next().toString();if(""!==R&&!Ma.isNCName(R))throw new J("Prefix "+R+" is not an NCName","XTDE0920",k);if(""===t)throw new J("Namespace is zero-length","XTDE0930",k);if("xmlns"===R)throw new J("Disallowed prefix xmlns","XTDE0920",k);if("http://www.w3.org/2000/xmlns/"===t)throw new J("Disallowed namespace "+t,"XTDE0905",k);if(!G(t))throw new J("Invalid namespace "+ +t,"XTDE0905",k);if("xml"===R!==(t===dc.oc))throw new J("The xml namespace prefix and uri can only be used together","XTDE0925",k);return Ub(new gc(R,t))}},nextIteration:S,nextMatch:S,nodeNum:function(k){return F=>ke.hk(k,F)},"null":function(k){return()=>Ub(k)},numSeqFmt:function(k){return F=>ke.ik(k,F)},onEmpty:b,onNonEmpty:b,or:function(k){const F=d(k),T=n(k);return t=>bc(e(F(t))||e(T(t)))},origFC:function(k){k.C||(k.C=[]);const F=k.C.map(m);return T=>{if(!k._target){const U=k.pack,ia=ca(k,k.name, +!1).toEQName(),ua=k.C.length,Ba=T.fixed.xa;Object.keys(Ba).forEach(function(Fa){Fa=Ba[Fa];Fa.zi.name===U&&Fa.name===ia&&Fa.actor&&"function"===Fa.actor.N&&z(Fa.actor,"arg").length===ua&&(k._target=Fa.id)})}const t=T.fixed.xa[k._target],R=F.map(U=>U(T).expand());return B(k,t,R,T)}},param:function(k){const F=k.name,T=parseInt(k.slot,10),t=Q(k,"t"),R=m(u(k,"select")),U=m(u(k,"conversion"));return ia=>{var ua=t?ia.tunnelParams:ia.localParams,Ba=Sa.XS.QName.fromEQName(F);if(ua.containsKey(Ba))ua=ua.get(Ba), +""!==nc(k.as||"*").T().p&&(ua=Y(ua));else if(R&&!Q(k,"r"))Ba=ia.tempOutputState,ia.tempOutputState="xsl:param",ua=R(ia).expand(),ia.tempOutputState=Ba;else throw new J("Required parameter $"+F+" not supplied","XTDE0700",k);Aa.ba(Array.isArray(ua));ia.localVars[T]=ua;if(U)try{ia.localVars[T]=U(ia).expand()}catch(Fa){throw new J("Supplied value for parameter $"+F+" could not be converted to required type","XTTE0590",k);}return Tb}},partialApply:function(k){const F=d(k),T=[],t=[];let R=0;const U=k.C.length- +1;for(let ia=1;ia{const ua=F(ia).next(),Ba=[];for(let Fa=0;FaW.fb(T,t))});return T=>Ub(F(T))},procInst:S,qName:function(k){const F=ea.QName.fromParts(k.pre,k.uri, +k.loc);return()=>Ub(F)},range:function(k){const F=ea.integer.fromString(k.from),T=ea.integer.fromString(k.to);return()=>l(F,T)},resultDoc:function(k){return F=>{try{if(F.tempOutputState)throw new J("Cannot call xsl:result-document while evaluating "+F.tempOutputState,"XTDE1480",k);var T=L(k,F);const t={};let R=function(){};const U=u(k,"format");if(U){let la=H(U,F).next().toString();la=ca(k,la,!0).toEQName();const fa=T.Mg[la];if(!fa)throw new J("Unknown xsl:output format "+la,"XTDE1460");let ta,Ca; +for(const Ka of fa.C){let Qa=Ka.name;"parameter-document"===Qa?ta=Ka.value:"Q{http://saxon.sf.net/}parameter-document-base-uri"===Qa?Ca=Ka.value:t[Qa]="use-character-maps"===Qa?le.Ff(Qa,Ka.value,T):le.validateParam(Qa,Ka.value)}if(ta){const Ka=ya.resolveUri(ta,Ca);let Qa=Td.uc(Ka,F);le.parseParamDoc(Qa.documentElement,t)}}p(k.global,t,T);p(k.local,t,T);for(const la of k.C){let fa=la.role.replace(/^Q{\}/,"");if(!["href","format","content","parameter-document"].includes(fa)){"output-version"===fa&& +(fa="version");let ta=H(la,F).next().toString();ta="use-character-maps"===fa?le.Ff(fa,ta,T):le.validateParam(fa,ta,O(k,!0));"undefined"!==typeof ta&&(t[fa]=le.uf(fa,ta,t[fa]))}}const ia=u(k,"Q{}parameter-document");if(null!==ia){const la=H(ia,F).next().toString(),fa=ya.resolveUri(la,ld.staticBaseUri(k,F));let ta=Td.uc(fa,F);le.parseParamDoc(ta.documentElement,t)}const ua=F.fixed.yb,Ba=u(k,"href"),Fa=null===Ba?"":H(Ba,F).next().toString();let Pa;Pa=ua?ya.newURL(Fa,ua):W.Wc(Fa)?ya.newURL(Fa):Fa;const Ua= +Pa.toString();if(F.fixed.yb&&Ua===F.fixed.yb.toString()&&1{F.failIfNoCurrentFocus("XPDY0002","/",k);F=F.getCurrentFocus();if(!W.Q(F))throw new J("Context item for '/' must be a node","XPTY0020",k);const T=W.ic(F);if(9!==T.nodeType&&11!==T.nodeType)throw new J("Root node for '/' must be a document node","XPDY0050",k);return Ub(W.ic(F))}},sequence:b,slash:function(k){const F=d(k),T=n(k);return t=>{const R=t.newContext(!1);R.focus=Xb(F(t));return R.focus.mapOneToMany(()=>T(R))}},some:function(k){const F=parseInt(k.slot,10), +T=d(k),t=n(k);return R=>{const U=T(R);return bc(U.some(function(ia){R.localVars[F]=[ia];return e(t(R))}))}},sort:function(k){const F=Nd.Ak(k);return T=>{try{return F(T)}catch(t){if(t instanceof J&&"FOCH0002"===t.code)throw new J(t.message,"XTDE1035",k);if(t instanceof J&&"XPTY0004"===t.code)throw new J(t.message,"XTDE1030",k);throw t;}}},sourceDoc:S,str:function(k){const F=k.val;return()=>Yb(F)},subscript:function(k){const F=d(k),T=n(k);return t=>{var R=F(t);t=T(t).next();if("ADI"===t.code)t=t.value; +else if(t.equals(t.round(0)))t=Sa.XS.integer.I(t).value;else return Tb;return(R=R.pf(t))?Ub(R):Tb}},supplied:function(k){const F=parseInt(k.slot,10);return T=>Pb(T.localVars[F])},tail:function(k){const F=parseInt(k.start,10)-1;let T=d(k);return t=>{let R=F;return T(t).filter(function(){return 0>=R--})}},tailCallLoop:b,to:function(k){const F=d(k),T=n(k);return t=>{const R=F(t).next();t=T(t).next();return null===R||null===t||0t(R).mapOneToOne(function(U){if(T(U))return U;const ia=h(k.diag);throw new J("Required item type of "+ia.gd+" is "+F.toString()+"; supplied value is "+Aa.showValue(U),ia.code,k);})},"true":function(){return()=>bc(!0)},"try":function(k){const F=d(k),T=z(k,"catch");T.forEach(t=>{const R=t.errors.split(" ").map(U=>{if("*"===U)return()=>!0;if(/^\*:/.test(U)){const ua=U.substring(2);return Ba=>Ba.local===ua}if(/}\*$/.test(U)){const ua=U.substring(2,U.length-2);return Ba=>Ba.q===ua}const ia= +ea.QName.fromEQName(U);return ua=>ua.equals(ia)});t.test=1===R.length?R[0]:U=>R.some(ia=>ia(U))});return t=>{try{return Pb(F(t).expand())}catch(R){if(R instanceof J&&!R.Le){t.currentError=R;R.xsltLineNr||za(R,k.C[0]);let U;U=R.code.match("^Q{")?ea.QName.fromEQName(R.code):ea.QName.fromParts("","http://www.w3.org/2005/xqt-errors",R.code);for(let ia=0;ia{const t=E(k,T,"function"),R=F.map(U=>U(T).expand());return B(k,t,R,T)}},ufRef:function(k){let F=k.name;F=/^[a-z]+:/.test(F)?ca(k,F,!0):/^Q\{/.test(F)?ea.QName.fromEQName(F):ea.QName.fromParts("",dc.za,F);const T=parseInt(k.arity,10),t=Pd.find("SaxonJS").XPath;return R=>{const U=t.getFnSignature(F,T,R);if(U&&U.isUserFunction)return R=new jd.Vf(U,R),Ub(R);Aa.fa("Named user function "+F+"#"+T+" not found")}},union:function(k){const F=d(k),T=n(k);return t=>new Jb(F(t),T(t), +W.fb)},useAS:S,valueOf:S,varRef:function(k){const F=parseInt(k.slot,10);return T=>Pb(T.localVars[F])},vc:function(k){function F(ia){return null===ia?null:ea.untypedAtomic.matches(ia)?ea.string.I(ia):ia}const T=k.op,t=k.onEmpty,R=d(k),U=n(k);return ia=>{const ua=R(ia),Ba=U(ia),Fa=F(ua.next()),Pa=F(Ba.next());if(null===Fa||null===Pa)return t?bc("1"===t):Tb;if(null!==ua.next()||null!==Ba.next())throw new J("Value comparison only applicable to single values","XPTY0004",k);if(Fa.isNumeric()&&isNaN(Fa.value)|| +Pa.isNumeric()&&isNaN(Pa.value))return bc("ne"===T);ia=Nd.be(k.comp,ia);return["=","eq","!=","ne"].includes(T)?bc(Nd.Oi(T,ia.equals(Fa,Pa))):bc(Nd.Af(T,ia.compare(Fa,Pa)))}}};M.prototype={value:null,containsKey:function(k){return"undefined"!==typeof this.value[k]},get:function(k){return ja(this.value[k])},inSituPut:function(){throw new J("inSituPut() not allowed for JSValue","SXJS0005");},put:function(){throw new J("put() not allowed for JSValue","SXJS0005");},remove:function(){throw new J("remove() not allowed for JSValue", +"SXJS0005");},keys:function(){throw new J("keys() not allowed for JSValue","SXJS0005");},forAllPairs:function(){throw new J("forEach() not allowed for JSValue","SXJS0005");},conforms:function(){throw new J("conforms() not allowed for JSValue","SXJS0005");},showValue:function(){return"JSValue "+Aa.showValue(this.value)}};aa.prototype={value:null,showValue:function(){return"XDMValue "+Aa.showValue(this.value)}};return{$:u,Ze:v,atomize:P,jj:g,yl:function(){return"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")}, +og:Z,db:z,oj:ha,pg:w,nb:y,fe:L,Eg:E,wd:e,Fa:d,Mh:n,elaborate:m,escape:function(k,F){let T="";Ia(k).forEach(function(t){const R=Ja([t]);T+=F(t,R)?encodeURIComponent(R):R});return T},evaluate:H,hc:function(k,F){return null===k?Tb:H(k,F)},tj:function(k,F,T,t){const R=pe[k.local];R||c(k.toString()+"()",t);return R(F.map(U=>Pb(U)),T,t)},uj:function(k,F,T,t){return va(k.q,k.local,F.map(R=>Pb(R)),T,t)},flatten:da,getInheritedProperty:na,Il:function(k){if("undefined"!==typeof k)return x(k,"module",20)+"#"+ +x(k,"line",10)},qb:Q,inScopeNamespaces:ma,isArray:K,pe:X,Bd:V,ki:function(k){return k instanceof re},Yj:A,Tf:M,am:c,tk:h,qk:function(k){va=k},fm:C,staticBaseUri:I,Be:Y,Ug:ca,stylesheetResolver:O,Si:function(k){return"AZ"===k.code?ea.double.I(k):k},Ek:G,Na:ja,xl:aa}}();function se(a,b){for(var h in a)b[h]=a[h]}function te(a,b){var h=a.prototype;if(Object.create){var A=Object.create(b.prototype);h.__proto__=A}if(!(h instanceof b)){function P(){}P.prototype=b.prototype;P=new P;se(h,P);a.prototype=h=P}h.constructor!=a&&(h.constructor=a)} +var ue={},ve=ue.ELEMENT_NODE=1,we=ue.ATTRIBUTE_NODE=2,xe=ue.TEXT_NODE=3,ye=ue.CDATA_SECTION_NODE=4,ze=ue.ENTITY_REFERENCE_NODE=5,Ae=ue.ENTITY_NODE=6,Be=ue.PROCESSING_INSTRUCTION_NODE=7,Ce=ue.COMMENT_NODE=8,De=ue.DOCUMENT_NODE=9,Ee=ue.DOCUMENT_TYPE_NODE=10,Fe=ue.DOCUMENT_FRAGMENT_NODE=11,Ge=ue.NOTATION_NODE=12,He={},Ie={};He.INDEX_SIZE_ERR=(Ie[1]="Index size error",1);He.DOMSTRING_SIZE_ERR=(Ie[2]="DOMString size error",2);He.HIERARCHY_REQUEST_ERR=(Ie[3]="Hierarchy request error",3); +He.WRONG_DOCUMENT_ERR=(Ie[4]="Wrong document",4);He.INVALID_CHARACTER_ERR=(Ie[5]="Invalid character",5);He.NO_DATA_ALLOWED_ERR=(Ie[6]="No data allowed",6);He.NO_MODIFICATION_ALLOWED_ERR=(Ie[7]="No modification allowed",7);var Je=He.NOT_FOUND_ERR=(Ie[8]="Not found",8);He.NOT_SUPPORTED_ERR=(Ie[9]="Not supported",9);var Ke=He.INUSE_ATTRIBUTE_ERR=(Ie[10]="Attribute in use",10);He.INVALID_STATE_ERR=(Ie[11]="Invalid state",11);He.SYNTAX_ERR=(Ie[12]="Syntax error",12); +He.INVALID_MODIFICATION_ERR=(Ie[13]="Invalid modification",13);He.NAMESPACE_ERR=(Ie[14]="Invalid namespace",14);He.INVALID_ACCESS_ERR=(Ie[15]="Invalid access",15);function Le(a,b=null){if(b instanceof Error)var h=b;else h=this,this.message=Ie[a],Error.captureStackTrace&&Error.captureStackTrace(this,Le);h.code=a;b&&(this.message=this.message+": "+b);return h}Le.prototype=Error.prototype;se(He,Le);function Me(){} +Me.prototype={length:0,item:function(a){return this[a]||null},forEach:function(a,b){b=b||this;for(var h=0;h"===a&&">"||"&"===a&&"&"||'"'===a&&"""||"&#"+a.charCodeAt()+";"}se(ue,Ve);se(ue,Ve.prototype);function $e(a,b){if(b(a))return!0;if(a=a.firstChild){do if($e(a,b))return!0;while(a=a.nextSibling)}}function af(){}af.prototype.nodeType=we;te(af,Ve);function Ue(){} +function Se(a,b,h){a&&a.pc++;"http://www.w3.org/2000/xmlns/"===h.namespaceURI&&delete b.ae[h.prefix?h.localName:""]}function bf(a,b,h=null){if(a&&a.pc)if(a.pc++,a=b.childNodes,h)a[a.length++]=h;else{b=b.firstChild;for(h=0;b;)a[h++]=b,b=b.nextSibling;a.length=h}}function Xe(a,b){var h=b.previousSibling,A=b.nextSibling;h?h.nextSibling=A:a.firstChild=A;A?A.previousSibling=h:a.lastChild=h;bf(a.ownerDocument,a);return b} +function We(a,b,h){var A=b.parentNode;A&&A.removeChild(b);if(b.nodeType===Fe){A=b.firstChild;if(null==A)return b;var P=b.lastChild}else A=P=b;var q=h?h.previousSibling:a.lastChild;A.previousSibling=q;P.nextSibling=h;q?q.nextSibling=A:a.firstChild=A;null==h?a.lastChild=P:h.previousSibling=P;do A.parentNode=a;while(A!==P&&(A=A.nextSibling));bf(a.ownerDocument||a,a);b.nodeType===Fe&&(b.firstChild=b.lastChild=null);return b} +Ue.prototype={nodeName:"#document",nodeType:De,doctype:null,documentElement:null,childNodes:[],pc:1,insertBefore:function(a,b){if(a.nodeType===Fe){for(var h=a.firstChild;h;){var A=h.nextSibling;this.insertBefore(h,b);h=A}return a}null==this.documentElement&&1==a.nodeType&&(this.documentElement=a);return We(this,a,b),a.ownerDocument=this,a},removeChild:function(a){this.documentElement===a&&(this.documentElement=null);return Xe(this,a)},importNode:function(a,b){return cf(this,a,b)},getElementById:function(a){var b= +null;$e(this.documentElement,function(h){if(1===h.nodeType&&(h.getAttribute("id")===a||h.getAttribute("xml:id")===a))return b=h,!0});return b},createElement:function(a){var b=new df;b.ownerDocument=this;b.nodeName=a;b.tagName=a;b.localName=a;b.namespaceURI="";b.childNodes=new Me;return(b.attributes=new Qe).b=b},createDocumentFragment:function(){var a=new ef;a.ownerDocument=this;a.childNodes=new Me;return a},createTextNode:function(a){var b=new ff;b.ownerDocument=this;b.appendData(a);return b},createComment:function(a){var b= +new gf;b.ownerDocument=this;b.appendData(a);return b},createProcessingInstruction:function(a,b){if("string"!==typeof a)throw Error("PI name must be a string");var h=new hf;h.ownerDocument=this;h.tagName=h.target=a;h.nodeValue=h.data=b;return h},createAttribute:function(a){var b=new af;b.ownerDocument=this;b.name=a;b.nodeName=a;b.localName=a;b.specified=!0;return b},createElementNS:function(a,b){var h=new df,A=b.split(":"),P=h.attributes=new Qe;h.childNodes=new Me;h.ownerDocument=this;h.nodeName=b; +h.tagName=b;h.namespaceURI=a;2==A.length?(h.prefix=A[0],h.localName=A[1]):h.localName=b;return P.b=h},createAttributeNS:function(a,b){var h=new af,A=b.split(":");h.ownerDocument=this;h.nodeName=b;h.name=b;h.namespaceURI=a;h.specified=!0;2==A.length?(h.prefix=A[0],h.localName=A[1]):h.localName=b;return h}};te(Ue,Ve);function df(){this.ae={}}function hc(a,b,h,A){b=a.ownerDocument.createAttributeNS(b,h);b.value=b.nodeValue=""+A;a.setAttributeNode(b)} +function jc(a,b,h){return(a=ic(a,b,h))&&a.value||""}function ic(a,b,h){a:{a=a.attributes;for(var A=a.length;A--;){var P=a[A];if(P.localName==h&&(P.namespaceURI==b||""==P.namespaceURI&&null==b)){b=P;break a}}b=null}return b} +df.prototype={nodeType:ve,getAttribute:function(a){return(a=this.attributes.getNamedItem(a))&&a.value||""},setAttribute:function(a,b){a=this.ownerDocument.createAttribute(a);a.value=a.nodeValue=""+b;this.setAttributeNode(a)},removeAttribute:function(a){(a=this.attributes.getNamedItem(a))&&this.attributes.removeNamedItem(a.nodeName)},appendChild:function(a){if(a.nodeType===Fe)a=this.insertBefore(a,null);else{var b=a.parentNode;b&&b.removeChild(a);b=this.lastChild;a.parentNode=this;a.previousSibling= +b;a.nextSibling=null;b?b.nextSibling=a:this.firstChild=a;this.lastChild=a;bf(this.ownerDocument,this,a)}return a},setAttributeNode:function(a){return this.attributes.setNamedItem(a)},getElementsByTagName:function(a){return new Ne(this,function(b){var h=[];$e(b,function(A){A===b||A.nodeType!=ve||"*"!==a&&A.tagName!=a||h.push(A)});return h})}};Ue.prototype.getElementsByTagName=df.prototype.getElementsByTagName;te(df,Ve);function jf(){} +jf.prototype={data:"",appendData:function(a){this.nodeValue=this.data=a=this.data+a;this.length=a.length},appendChild:function(){throw Error(Ie[3]);}};te(jf,Ve);function ff(){}ff.prototype={nodeName:"#text",nodeType:xe};te(ff,jf);function gf(){}gf.prototype={nodeName:"#comment",nodeType:Ce};te(gf,jf);function kf(){}kf.prototype={nodeName:"#cdata-section",nodeType:ye};te(kf,jf);function lf(){}lf.prototype.nodeType=Ee;te(lf,Ve);function mf(){}mf.prototype.nodeType=Ge;te(mf,Ve);function nf(){} +nf.prototype.nodeType=Ae;te(nf,Ve);function of(){}of.prototype.nodeType=ze;te(of,Ve);function ef(){}ef.prototype.nodeName="#document-fragment";ef.prototype.nodeType=Fe;te(ef,Ve);function hf(){}hf.prototype.nodeType=Be;hf.prototype.target=null;hf.prototype.data=null;te(hf,Ve);Ve.prototype.toString=function(a){var b=[];pf(this,b,a);return b.join("")}; +function pf(a,b,h,A=!1){switch(a.nodeType){case ve:var P=a.attributes,q=P.length,g=a.firstChild,e=a.tagName;A="http://www.w3.org/1999/xhtml"===a.namespaceURI||A;b.push("<",e);h&&b.sort.apply(P,h);for(a=0;a");if(A&&/^script$/i.test(e))g&&b.push(g.data);else for(;g;)pf(g,b,h,A),g=g.nextSibling;b.push("")}else b.push("/>");break;case De:case Fe:for(g=a.firstChild;g;)pf(g,b,h,A),g=g.nextSibling;break; +case we:b.push(" ",a.name,'="',a.value.replace(/[<&"]/g,Ze),'"');break;case xe:b.push(a.data.replace(/[<&]/g,Ze));break;case ye:b.push("')):A&&"."!=A?b.push(' SYSTEM "',A,'">'):((a=a.Ml)&&b.push(" [",a,"]"),b.push(">"));break;case Be:b.push("");break;case ze:b.push("&",a.nodeName, +";");break;default:b.push("??",a.nodeName)}}function cf(a,b,h){switch(b.nodeType){case ve:var A=b.cloneNode(!1);A.ownerDocument=a;case Fe:break;case we:h=!0}A||=b.cloneNode(!1);A.ownerDocument=a;A.parentNode=null;if(h)for(b=b.firstChild;b;)A.appendChild(cf(a,b,h)),b=b.nextSibling;return A} +function Ye(a,b,h){var A=new b.constructor;for(q in b){var P=b[q];"object"!=typeof P&&P!=A[q]&&(A[q]=P)}b.childNodes&&(A.childNodes=new Me);A.ownerDocument=a;switch(A.nodeType){case ve:var q=b.attributes;var g=A.attributes=new Qe;P=q.length;g.b=A;for(g=0;gD?Math.ceil(D):Math.floor(D)};Array.prototype.findIndex||Object.defineProperty(Array.prototype, +"findIndex",{value:function(D,r){if(null==this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!==typeof D)throw new TypeError("predicate must be a function");for(var c=Object(this),d=c.length>>>0,n,m=0;mthis.length?!1:-1!==this.indexOf(D,r)})}const e= +require("path"),{URL:l,fileURLToPath:z}=require("url"),v=require("fs"),G=require("axios"),p=require("util").TextEncoder,f=require("util").TextDecoder,I={regexCategories:sa,functions:wa,elements:xa,compiler:ra};return{name:"Node.js",init:function(){try{(new DOMParser).parseFromString("<","text/xml").getElementsByTagName("parsererror")}catch(D){}g()},inBrowser:function(){return!1},cwd:h,fileURL:b,makeBuffer:function(D,r){r=A(r);r=Buffer.isEncoding(r)?r:"utf-8";return Buffer.from(D,r)},makeHttpRequest:function(){throw new J("http-request is not supported under Node.js", +"SXJS0002");},expose:function(D){module.exports=D},parseXmlFromString:function(D,r=!0){D=D.replace(/\r\n|\r(?!\n)/g,"\n");try{return P(D,r)}catch(c){throw new J(c.message,"FODC0002");}},parseJsonFromString:function(D){return Sd.Gd(D,null)},getStdOut:function(){return process.stdout},readFile:function(D){Buffer.from([239,187,190]);Buffer.from([255,254]);Buffer.from([254,255]);let r,c,d;try{if(D instanceof l&&"file"!==D.protocol||/^http(s?)/.test(D))throw new J("Synchronous access to non-file resources is not allowed"); +D instanceof l||/^file:/.test(D)?(d=decodeURI(D),r=v.readFileSync(a(d))):r=v.readFileSync(D);const n=Buffer.from(''),m=Buffer.from('encoding="iso-8859-1');Buffer.from("");255===r[0]&&254===r[1]?c=r.slice(2).toString("utf16le"):254===r[0]&&255===r[1]?(q(r),c=r.slice(2).toString("utf16le")):c=239===r[0]&&187===r[1]&&191===r[2]?r.slice(3).toString("utf8"):r.includes(m)?r.toString("latin1"):r.includes(n)?r.toString("utf16le"):r.toString("utf8")}catch(n){throw new J("Cannot read file "+ +D+" - "+n.message,"FODC0002");}if(0<=c.indexOf("\ufffd")&&!r.includes("\ufffd"))throw new J("External file "+d+" contains badly encoded characters at line "+c.substring(0,c.indexOf("\ufffd")).split(/\n/).length,"FOUT1190");return c},writeFileAsync:function(D,r,c){if(!(D instanceof l))throw new J("writeFile('"+D+"'): expected URL");c=A(c);let d=decodeURIComponent(D.pathname);"win32"===process.platform&&(d=d.substring(1));return d.includes("/")?v.promises.mkdir(d.replace(/\/[^/]*$/,""),{recursive:!0}).then(()=> +v.promises.writeFile(d,r,{encoding:c||"utf8"})):v.promises.writeFile(D,r,{encoding:c||"utf8"})},writeFileSync:function(D,r,c){if(!(D instanceof l))throw new J("writeFileSync('"+D+"'): expected URL");D=decodeURIComponent(D.pathname);"win32"===process.platform&&(D=D.substring(1));if(D.includes("/")&&D.includes("/")){let d=D.replace(/\/[^/]*$/,"");v.existsSync(d)||v.mkdirSync(d,{recursive:!0});v.existsSync(d)||console.log("dir still doesn't exist "+d)}c=A(c);v.writeFileSync(D,r,{encoding:c||"utf8"})}, +resourcePromise:function(D){const r=D.encoding;let c="file";if(D.file){var d=D.file;d.startsWith("file:")&&(d=z(D.file));c=d;d=v.promises.readFile(d,r)}else if(D.location){var n=d=D.location;d instanceof l?d=d.toString():n=a(d);c=d;"file:"===n.protocol?d=v.promises.readFile(n,r):(n={method:"get",responseType:"text",encoding:r},D.headers&&(n.headers=D.headers),d=G.get(d,n).then(m=>{m=m.data;"string"!==typeof m&&(m=JSON.stringify(m));return m}))}return d.catch(m=>Promise.reject(new J("Failed to read "+ +c+" ("+(/ENOENT/.test(m.message)?"no such file":m.message)+")","FODC0002",D.expr))).then(m=>{if(m instanceof Buffer)if(r)m=m.toString(r);else{let u;try{const Q=Buffer.from('encoding="utf-16"'),ma=Buffer.from('encoding="iso-8859-1"');255===m[0]&&254===m[1]?u=m.slice(2).toString("utf16le"):254===m[0]&&255===m[1]?(q(m),u=m.slice(2).toString("utf16le")):u=239===m[0]&&187===m[1]&&191===m[2]?m.slice(3).toString("utf8"):m.includes(ma)?m.toString("latin1"):m.includes(Q)?m.toString("utf16le"):m.toString("utf8")}catch(Q){throw new J("Failed to decode "+ +e+" ("+Q.message+")","FODC0002");}if(0<=u.indexOf("\ufffd")&&!m.includes("\ufffd"))throw new J("External file undefined contains badly encoded characters at line "+u.substring(0,u.indexOf("\ufffd")).split(/\n/).length,"FOUT1190",D.expr);m=u}65279===m.codePointAt(0)&&(m=m.substring(1));return Promise.resolve(m)})},resolveUri:function(D,r){try{return(r||null!==r?a(D,r):a(D)).toString()}catch(c){throw new J("Failed URI resolution: href="+D+" base="+r+" -- "+c,"FODC0005");}},baseURL:function(){try{return b(h())+ +"/"}catch(D){throw new J("Failed baseURL"+D,"FODC0005");}},resource:function(D){"undefined"===typeof I[D]&&Aa.fa("Unknown resource request:"+D);return I[D]},getDefaultDeliverMessage:function(){return function(D){D=ld.atomize(D).expand().toString();console.warn(D)}},isHTMLElement:function(){return!1},saxonPrint:function(D){console.error(D)},createDocument:function(){return(new Te).createDocument(null,null,null)},setDocURI:function(D,r){D._saxonBaseUri=r;return D},newURL:a,extraProperties:{platform:"Node.js"}, +toUTF8:function(D){return(new p).encode(D)},fromUTF8:function(D){return(new f).decode(D)},globalObject:global}}();/* + http://mths.be/fromcodepoint v0.1.0 by @mathias */ +var qf={}; +(function(a){function b(C,Z){if(!(this instanceof b))return new b(C,Z);for(var K=0,X=n.length;KC.indexOf(":")?["",C]:C.split(":"),X=K[0];K=K[1];Z&&"xmlns"===C&&(X="xmlns",K="");return{prefix:X,local:K}}function f(C){C.Od||(C.attribName=C.attribName[C.Jg]());if(-1===C.qc.indexOf(C.attribName)&&!C.sb.attributes.hasOwnProperty(C.attribName))if(C.bb.Ce){var Z=p(C.attribName, +!0),K=Z.local;if("xmlns"===Z.prefix)if("xml"===K&&C.attribValue!==na)G(C,"xml: prefix must be bound to "+na+"\nActual: "+C.attribValue);else if("xmlns"===K&&C.attribValue!==O)G(C,"xmlns: prefix must be bound to "+O+"\nActual: "+C.attribValue);else{Z=C.sb;var X=C.tb[C.tb.length-1]||C;Z.Da===X.Da&&(Z.Da=Object.create(X.Da));Z.Da[K]=C.attribValue}C.qc.push([C.attribName,C.attribValue])}else C.sb.attributes[C.attribName]=C.attribValue,g(C,"onattribute",{name:C.attribName,value:C.attribValue});C.attribName= +C.attribValue=""}function I(C,Z){if(C.bb.Ce){var K=C.sb,X=p(C.tagName);K.prefix=X.prefix;K.local=X.local;K.q=K.Da[X.prefix]||"";K.prefix&&!K.q&&(G(C,"Unbound namespace prefix: "+JSON.stringify(C.tagName)),K.q=X.prefix);X=C.tb[C.tb.length-1]||C;K.Da&&X.Da!==K.Da&&Object.keys(K.Da).forEach(function(Y){g(C,"onopennamespace",{prefix:Y,q:K.Da[Y]})});X=0;for(var V=C.qc.length;X";C.tagName="";C.G=H.rd;return}g(C,"onscript",C.script);C.script=""}var Z=C.tb.length, +K=C.tagName;C.Od||(K=K[C.Jg]());for(var X=K;Z--;)if(C.tb[Z].name!==X)G(C,"Unexpected close tag");else break;if(0>Z)G(C,"Unmatched closing tag: "+C.tagName),C.textNode+="";else{C.tagName=K;for(K=C.tb.length;K-- >Z;){var V=C.sb=C.tb.pop();C.tagName=C.sb.name;g(C,"onclosetag",C.tagName);for(var ha in V.Da);X=C.tb[C.tb.length-1]||C;C.bb.Ce&&V.Da!==X.Da&&Object.keys(V.Da).forEach(function(w){g(C,"onclosenamespace",{prefix:w,q:V.Da[w]})})}0===Z&&(C.ce=!0);C.tagName=C.attribValue=C.attribName= +"";C.qc.length=0}}else G(C,"Weird empty close tag."),C.textNode+="";C.G=H.vb}function r(C){var Z=C.entity,K=Z.toLowerCase(),X="";if(C.bc[Z])return C.bc[Z];if(C.bc[K])return C.bc[K];Z=K;if("#"===Z.charAt(0))if("x"===Z.charAt(1)){Z=Z.slice(2);var V=parseInt(Z,16);X=V.toString(16)}else Z=Z.slice(1),V=parseInt(Z,10),X=V.toString(10);Z=Z.replace(/^0+/,"");return isNaN(V)||X.toLowerCase()!==Z?(G(C,"Reference to unknown entity &"+C.entity+";"),"&"+C.entity+";"):String.fromCodePoint(V)}function c(C,Z){"<"=== +Z?(C.G=H.Wf,C.Sg=C.position):A(Z)||(G(C,"Non-whitespace before first tag."),C.textNode=Z,C.G=H.vb)}function d(C,Z){var K="";Z"===K?(g(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.G=H.vb):(P(K)&&(this.G=H.rh),this.sgmlDecl+=K);continue;case H.rh:K===this.Nb&&(this.G=H.bg,this.Nb="");this.sgmlDecl+=K;continue;case H.He:">"===K?(this.G=H.vb, +g(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=K,"["===K?this.G=H.Rf:P(K)&&(this.G=H.ih,this.Nb=K));continue;case H.ih:this.doctype+=K;K===this.Nb&&(this.Nb="",this.G=H.He);continue;case H.Rf:this.doctype+=K;"]"===K?this.G=H.He:P(K)&&(this.G=H.hh,this.Nb=K);continue;case H.hh:this.doctype+=K;K===this.Nb&&(this.G=H.Rf,this.Nb="");continue;case H.Fe:"-"===K?this.G=H.fh:this.comment+=K;continue;case H.fh:"-"===K?(this.G=H.eh,this.comment=l(this.bb,this.comment),g(this,"oncomment",this.comment), +this.comment=""):(this.comment+="-"+K,this.G=H.Fe);continue;case H.eh:">"!==K?(G(this,"Malformed comment"),this.comment+="--"+K,this.G=H.Fe):this.G=H.vb;continue;case H.Ee:"]"===K?this.G=H.bh:this.cdata+=K;continue;case H.bh:"]"===K?this.G=H.ch:(this.cdata+="]"+K,this.G=H.Ee);continue;case H.ch:">"===K?(this.cdata&&g(this,"oncdata",this.cdata),g(this,"onclosecdata"),this.cdata="",this.G=H.vb):"]"===K?this.cdata+="]":(this.cdata+="]]"+K,this.G=H.Ee);continue;case H.ph:"?"===K?this.G=H.ag:A(K)?this.G= +H.$f:this.procInstName+=K;continue;case H.$f:if(!this.procInstBody&&A(K))continue;else"?"===K?this.G=H.ag:this.procInstBody+=K;continue;case H.ag:">"===K?(g(this,"onprocessinginstruction",{name:this.procInstName,rc:this.procInstBody}),this.procInstName=this.procInstBody="",this.G=H.vb):(this.procInstBody+="?"+K,this.G=H.$f);continue;case H.kh:if(E.test(K))this.tagName+=K;else{this.Od||(this.tagName=this.tagName[this.Jg]());X=this.tb[this.tb.length-1]||this;var V=this.sb={name:this.tagName,attributes:{}}; +this.bb.Ce&&(V.Da=X.Da);this.qc.length=0;g(this,"onopentagstart",V);">"===K?I(this):"/"===K?this.G=H.Ne:(A(K)||G(this,"Invalid character in tag name"),this.G=H.pd)}continue;case H.Ne:">"===K?(I(this,!0),D(this)):(G(this,"Forward-slash in opening tag not followed by >"),this.G=H.pd);continue;case H.pd:if(A(K))continue;else">"===K?I(this):"/"===K?this.G=H.Ne:x.test(K)?(this.attribName=K,this.attribValue="",this.G=H.De):G(this,"Invalid attribute name");continue;case H.De:"="===K?this.G=H.Hf:">"===K? +(G(this,"Attribute without value"),this.attribValue=this.attribName,f(this),I(this)):A(K)?this.G=H.$g:E.test(K)?this.attribName+=K:G(this,"Invalid attribute name");continue;case H.$g:if("="===K)this.G=H.Hf;else if(A(K))continue;else G(this,"Attribute without value"),this.attribValue=this.sb.attributes[this.attribName]="",g(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===K?I(this):x.test(K)?(this.attribName=K,this.G=H.De):(G(this,"Invalid attribute name"),this.G=H.pd); +continue;case H.Hf:if(A(K))continue;else P(K)?(this.Nb=K,this.G=H.Kf):(G(this,"Unquoted attribute value"),this.G=H.Lf,this.attribValue=K);continue;case H.Kf:if(K!==this.Nb){"&"===K?this.G=H.If:/[\t\r\n]/.test(K)?this.attribValue+=" ":this.attribValue+=K;continue}f(this);this.Nb="";this.G=H.ah;continue;case H.ah:A(K)?this.G=H.pd:">"===K?I(this):"/"===K?this.G=H.Ne:x.test(K)?(G(this,"No whitespace between attributes"),this.attribName=K,this.attribValue="",this.G=H.De):G(this,"Invalid attribute name"); +continue;case H.Lf:if(">"!==K&&!A(K)){"&"===K?this.G=H.Jf:this.attribValue+=K;continue}f(this);">"===K?I(this):this.G=H.pd;continue;case H.Of:if(this.tagName)">"===K?D(this):E.test(K)?this.tagName+=K:this.script?(this.script+=""===K?D(this):G(this,"Invalid characters in closing tag");continue;case H.dg:case H.If:case H.Jf:switch(this.G){case H.dg:var ha=H.vb;var w="textNode";break;case H.If:ha=H.Kf;w="attribValue";break;case H.Jf:ha=H.Lf,w="attribValue"}";"===K?(this[w]+=r(this),this.entity="",this.G=ha):(this.entity&&this.entity.length?L:B).test(K)?this.entity+=K:(G(this,"Invalid character in entity name"),this[w]+="&"+this.entity+K,this.entity="",this.G=ha);continue;default:throw Error(this,"Unknown state: "+this.G); +}}if(this.position>=this.Dh){C=Math.max(a.Uf,10);K=Z=0;for(ha=n.length;KC)switch(n[K]){case "textNode":e(this);break;case "cdata":g(this,"oncdata",this.cdata);this.cdata="";break;case "script":g(this,"onscript",this.script);this.script="";break;default:z(this,"Max buffer length exceeded: "+n[K])}Z=Math.max(Z,w)}this.Dh=a.Uf-Z+this.position}return this},resume:function(){this.error=null;return this},close:function(){return this.write(null)},flush:function(){e(this); +""!==this.cdata&&(g(this,"oncdata",this.cdata),this.cdata="");""!==this.script&&(g(this,"onscript",this.script),this.script="")}};try{var m=require("stream").Stream}catch(C){m=function(){}}var u=a.Wi.filter(function(C){return"error"!==C&&"end"!==C});h.prototype=Object.create(m.prototype,{constructor:{value:h}});h.prototype.write=function(C){this.b.write(C.toString());this.g("data",C);return!0};h.prototype.R=function(C){C&&C.length&&this.write(C);this.b.R();return!0};h.prototype.vi=function(C,Z){var K= +this;K.b["on"+C]||-1===u.indexOf(C)||(K.b["on"+C]=function(){var X=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);X.splice(0,0,C);K.g.apply(K,X)});return m.prototype.vi.call(K,C,Z)};var Q="[CDATA[",ma="DOCTYPE",na="http://www.w3.org/XML/1998/namespace",O="http://www.w3.org/2000/xmlns/",ca={xml:na,xmlns:O},x=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,E=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/, +B=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,L=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,H=0;a.Se={Mf:H++,Nf:H++,vb:H++,dg:H++,Wf:H++,bg:H++,rh:H++,He:H++,ih:H++,Rf:H++,hh:H++,Mk:H++,Fe:H++,fh:H++,eh:H++,Ee:H++,bh:H++,ch:H++,ph:H++,$f:H++, +ag:H++,kh:H++,Ne:H++,pd:H++,De:H++,$g:H++,Hf:H++,Kf:H++,ah:H++,Lf:H++,If:H++,Jf:H++,Of:H++,dh:H++,rd:H++,qh:H++};a.aj={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};a.bc={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220, +Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177, +sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949, +zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364, +image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,"int":8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839, +oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};Object.keys(a.bc).forEach(function(C){var Z=a.bc[C];a.bc[C]="number"===typeof Z?String.fromCharCode(Z):Z});for(var S in a.Se)a.Se[a.Se[S]]=S;H=a.Se;String.fromCodePoint||function(){function C(){var X=[],V=-1,ha=arguments.length;if(!ha)return"";for(var w="";++VM||1114111=M)X.push(M);else{M-=65536;var aa=(M>>10)+55296;M=M%1024+56320;X.push(aa,M)}if(V+1===ha||16384a+=b.k+":("+b.v+"),");a+="}";return"context: "+this.getCurrentFocus()+" localParams: "+a}newContext(a){const b=new rf;b.depth=this.depth+1;b.focus=this.focus;b.currentComponent=this.currentComponent;b.resultDocument=this.resultDocument;b.masterDocument=this.masterDocument;b.currentMode=this.currentMode;b.currentTemplate=this.currentTemplate;b.currentError=this.currentError;b.currentGroup=this.currentGroup;b.regexGroups=this.regexGroups;b.currentGroupingKey=this.currentGroupingKey; +b.fixed=this.fixed;b.tempOutputState=this.tempOutputState;b.outputURIs=this.outputURIs;b.currentEvent=this.currentEvent;b.useAccumulators=this.useAccumulators;b.messageCounts=this.messageCounts;b.b=this;a?(b.localParams=new lc,b.tunnelParams=new lc,b.localVars=[],b.currentMergeGroup=null):(b.localParams=this.localParams,b.tunnelParams=this.tunnelParams,b.localVars=this.localVars,b.currentMergeGroup=this.currentMergeGroup);return b}clearGrouping(){this.currentMergeGroup=this.currentGroupingKey=this.currentGroup= +null}createElement(a,b){const h=fc.xc(this.resultDocument),A=h.documentElement;""===a&&A&&ya.isHTMLElement(A)?b=h.createElement(b):"http://www.w3.org/1999/xhtml"===a&&A&&ya.isHTMLElement(A)?(a=b.indexOf(":"),b=h.createElement(-1===a?b:b.substring(a+1))):b=h.createElementNS(a,b);return b}createAttribute(a,b){return new ec(Sa.XS.QName.fromEQName("Q{"+a+"}"+b),null,null)}noCurrentFocus(){return!this.focus||!this.focus.current}failIfNoCurrentFocus(a,b,h=null){if(this.noCurrentFocus())throw new J("Focus for "+ +b+" is absent",a,h);}getCurrentFocus(){return this.noCurrentFocus()?null:this.focus.current}getCurrentOutputURI(){return 0===this.outputURIs.length?null:this.outputURIs[this.outputURIs.length-1]}pushCurrentOutputURI(a){this.outputURIs.push(a)}popCurrentOutputURI(){return this.outputURIs.pop()}countMessage(a){this.messageCounts[a]||(this.messageCounts[a]=0);this.messageCounts[a]++}getStackTrace(){let a="";this.noCurrentFocus()||(a=" Processing "+Aa.showValue(this.focus.current)+"\n");try{let b= +this.currentComponent.actor,h;"mode"===b.N?(h="template rule",b=this.currentTemplate.Xa):h=b.N+" "+b.name;a+=" at "+h+" in "+ld.getInheritedProperty(b,"module")+"#"+ld.getInheritedProperty(b,"line")}catch(b){a=""}this.b&&(a+="\n"+this.b.getStackTrace());return a}};var sf={},tf={};sf[0]="";sf[1]="|";sf[2]="/";sf[3]="@";sf[48]="~";sf[4]="[";sf[5]="(";sf[6]="=";sf[7]=",";sf[8]="//";sf[9]="or";sf[10]="and";sf[11]=">";sf[12]="<";sf[13]=">=";sf[14]="<=";sf[15]="+";sf[16]="-";sf[299]="-";sf[17]="*";sf[18]="div";sf[19]="mod";sf[20]="is";sf[21]="$";sf[22]="!=";sf[40]="!";sf[30]="||";sf[23]="intersect";sf[24]="except";sf[25]="return";sf[26]="then";sf[27]="else";sf[29]="to";sf[31]="in";sf[32]="some";sf[33]="every";sf[34]="satisfies";sf[35]="(";sf[36]=""; +sf[37]="if(";sf[38]="<<";sf[39]=">>";sf[41]="::";sf[42]=":*";sf[44]="#";sf[45]="instance of";sf[46]="cast as";sf[47]="treat as";sf[50]="eq";sf[51]="ne";sf[52]="gt";sf[54]="ge";sf[53]="lt";sf[55]="le";sf[56]="idiv";sf[57]="castable as";sf[58]=":=";sf[71]="as";sf[75]=":";sf[76]="=>";sf[79]="otherwise";sf[80]="andAlso";sf[81]="orElse";sf[201]="";sf[202]="";sf[203]="]";sf[204]=")";sf[205]=".";sf[206]="..";sf[207]="*";sf[208]="";sf[209]="";sf[69]="()"; +sf[211]="for";sf[70]="<*:local-name>";sf[213]="?";sf[59]="{";sf[60]=" {";sf[215]="}";sf[216]="let";sf[299]="-";function uf(a,b){tf[a]=b;sf[b]=a}uf("instance of",45);uf("cast as",46);uf("treat as",47);uf("castable as",57);var vf={El:function(){return null}};for(const a in dc)vf[a.toUpperCase()]=dc[a];vf.jl=dc.ac;vf.bj=dc.Jc;function wf(a){a=a.charCodeAt(0);return 65<=a&&90>=a||97<=a&&122>=a}var xf=Ma.isNCName;function yf(a){const b=a.charCodeAt(0);return wf(a)||48<=b&&57>=b}function zf(a,b="XPST0003"){return new J(a,b)}function Af(a="Illegal Argument"){return new J(a,"XPST0003")};function Bf(a,b){a.G=b;0===b?(a.O=-1,a.na="",a.y=-1):b===Cf&&(a.O=204,a.na=")",a.y=204)} +function Df(a){a.O=a.g;a.na=a.z;a.z=null;for(a.U=a.b;;){if(a.b>=a.x){a.g=0;break}var b=a.l.charAt(a.b++);switch(b){case "/":if(a.b"===a.l.charAt(a.b)){a.b++;a.g=76;return}a.g=6;return;case "!":if(a.b":if(a.b"===a.l.charAt(a.b)){a.b++;a.g=39;return}a.g=11;return;case ".":if(a.ba.l.charAt(a.b)||"9"=b||127=a.x)break;b=a.l.charAt(a.b++)}a.z=a.l.substring(a.U,a.b);a.g=209;return;case '"':case "'":for(a.z="";;){a.b=a.l.indexOf(b,a.b);if(0>a.b)throw a.b=a.U+1,new zf("Unmatched quote in expression");a.z+=a.l.substring(a.U+1,a.b++); +if(a.bb.charCodeAt(0)&&!wf(b))throw new zf("Invalid character '"+b+"' in expression");case "_":h=!1;a:for(;a.bb.charCodeAt(0)&&!yf(b))break a}a.z=a.l.substring(a.U,a.b);a.g=201;return}}} +function Hf(a,b){a.G=0;a.g=0;a.z=null;a.U=0;a.b=0;a.l=b;a.lineNumber=0;a.qa=0;a.x=b.length;Df(a);a.next()}function Gf(a){a={or:9,is:20,to:29,"in":31,eq:50,ne:51,le:55,lt:53,gt:52,ge:54,as:71,and:10,div:18,mod:19,idiv:56,then:26,"else":27,"case":67,where:28,union:1,except:24,"return":25,otherwise:79,orElse:81,"default":212,andAlso:80,intersect:23,satisfies:34}[a];return[81,80].includes(a)?-1:a||-1}function Ef(a,b=-1){a.lineNumber++;a.qa++;null===a.ia&&(a.ia=[]);a.ia.push(-1===b?a.b-1:b)} +function Ff(a,b=null){var h=b?b:a.b;return" at line:"+If(a,b)+" col:"+Jf(a,b)+" near '"+a.l.slice(5>h?0:h-5,h+5)+"'"}function Kf(a){a.b>a.x&&(a.b=a.x);return 34>a.b?a.l.substring(0,a.b):Ma.cf("..."+a.l.substring(a.b-30,a.b)).toString()}function Lf(a,b){if(null===a.ia)return b;for(var h=a.ia.length-1;0<=h;h--){var A=a.ia[h];if(b>A)return h+1<<16|b-A}return b}function If(a,b=null){return b?Lf(a,b)>>16:a.lineNumber}function Jf(a,b=null){return Lf(a,b?b:a.ee)&32767} +class Mf{constructor(){this.y=this.G=0;this.J=null;this.g=this.ee=0;this.z=null;this.U=0;this.l=null;this.x=this.b=0;this.qa=this.lineNumber=1;this.ia=null;this.O=-1;this.na=""}next(){this.O=this.y;this.na=this.J;this.y=this.g;this.J=this.z;null===this.J&&(this.J="");this.ee=this.U;this.lineNumber=this.qa;switch(this.y){case 201:var a=Gf(this.J);-1===a||150>=this.O||213===this.O||(this.y=a);break;case 207:150>=this.O||213===this.O||(this.y=17)}if(215!==this.y&&(a=this.O,Df(this),201===this.y&&this.G!== +Nf&&21!==a))switch(this.g){case 5:var b=Gf(this.J);-1===b||150>=a?(this.y=this.Dg(this.J),Df(this)):this.y=b;break;case 59:this.G!==Of&&(this.y=60,Df(this));break;case 41:Df(this);this.y=36;break;case 44:Df(this);this.y=43;break;case 42:Df(this);this.y=208;break;case 21:"for"===this.J?this.y=211:"some"===this.J?this.y=32:"every"===this.J?this.y=33:"let"===this.J&&(this.y=216);break;case 201:a=this.J+" "+this.z,b=tf[a],null!=b&&(this.y=b,this.J=a,Df(this))}}Dg(a){const b={"if":37,array:69,attribute:69, +comment:69,"document-node":69,element:69,"empty-sequence":69,"function":69,map:69,item:69,"namespace-node":69,node:69,"processing-instruction":69,"schema-attribute":69,"schema-element":69,"switch":69,otherwise:79,text:69,tuple:69,typeswitch:69,union:69}[a];return b?["tuple","union"].includes(a)?35:b:35}}var Nf=1,Of=2,Cf=3;var Pf=[!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!0,!1];function Qf(a){return"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")[a]}var Rf=[1,1,2,1,1,1,1,1,13,1,1,1,1,1],Sf=[4,5,9,9,0,1,10,11,9,3,6,7,12]; +function Tf(a){switch(a){case "self":return 12;case "child":return 3;case "parent":return 9;case "ancestor":return 0;case "attribute":return 2;case "following":return 6;case "namespace":return 8;case "preceding":return 10;case "descendant":return 4;case "ancestor-or-self":return 1;case "following-sibling":return 7;case "preceding-sibling":return 11;case "descendant-or-self":return 5}throw new zf("Unknown axis name: "+a);};function Uf(a,b,h,A="XPTY0004"){this.Ba=a;this.g=b;this.b=h;this.xd=A}Uf.prototype={Ad:function(){return this.xd},save:function(){let a=this.Ba+"|"+this.b+"|";a+=("XPTY0004"===this.xd?"":this.xd)+"|";return a+=this.g}};function Vf(a,b,h={}){a.V(b,h);b.R()}class Wf{constructor(){this.j=mc.pa}V(a,b={}){a.V(this.B,b);this.Yb&&a.ed("role",this.Yb);this.wg&&a.ed("sType",this.j.ea())}Bb(){return!hd(this.j.ca)}t(a){Vf(this,a)}}oa=Wf.prototype;oa.B="Expression";oa.Ba=null;oa.Yb=null;oa.wg=null;oa.sa=function(a,b="XPTY0004"){return new Uf(this.Ba,this.B,a,b)};oa.ua=function(){throw new zf(Aa.yk(this)+" is not a valid pattern","XTSE0340");};oa.yd=function(){return this}; +class Xf extends Wf{constructor(a,b,h){super();this.Ia=b;this.aa=a;this.da=h;if(this.aa.Ja||this.da.Ja)this.Ja=!0;this.aa.Ab&&this.da.Ab&&(this.Ab=!0)}t(a){super.V(a,this.Ia?{op:sf[this.Ia]}:{});this.aa.t(a);this.da.t(a);a.R()}}Xf.prototype.Ba=1;class Yf extends Wf{constructor(a){super();this.b=a;this.b.Ja&&(this.Ja=!0);this.b.Ab&&(this.Ab=!0)}t(a){super.V(a);this.b.t(a);a.R()}}Yf.prototype.Ba=9;class Zf extends Wf{constructor(){super();this.j=mc.cc}ua(){return this}t(a){Vf(this,a)}}class $f extends Zf{}$f.prototype.B="p.any";class ag extends Zf{constructor(a){super();this.message=a;this.Yb="match";this.j=mc.cc}t(a){Vf(this,a,{message:this.message})}}ag.prototype.B="p.warning";class bg extends Zf{constructor(a){super();this.b=a;this.j=mc.cc}t(a){super.V(a);this.b.t(a);a.R()}}bg.prototype.B="p.booleanExp"; +class cg extends Zf{constructor(a){super();Aa.ba(a instanceof uc);this.test=a;this.j=new pc(a,2)}t(a){Vf(this,a,{test:this.test.ea()})}}cg.prototype.B="p.nodeTest";class dg extends Zf{constructor(a,b){super();this.ve=a;this.b=b;this.j=a.j;a.code&&(this.code=a.code)}t(a){super.V(a);this.code&&a.ed("code",this.code);this.ve.t(a);this.b.t(a);a.R()}}dg.prototype.B="p.withPredicate";class eg extends Zf{constructor(a){super();this.b=a;this.j=dd(a.j,2)}t(a){super.V(a);this.b.t(a);a.R()}}eg.prototype.B="p.nodeSet"; +class fg extends Zf{constructor(a){super();this.b=a;this.j=dd(a.j,2)}t(a){super.V(a);this.b.t(a);a.R()}}fg.prototype.B="p.genNode";class gg extends Zf{constructor(a,b){super();this.b=b;this.code=a.j.ea();this.j=dd(a.j,2)}t(a){super.V(a,{test:this.code});this.b.t(a);a.R()}}gg.prototype.B="p.genPos";class hg extends Zf{constructor(a,b){super();this.code=a.ea();this.Hd=b;this.j=dd(a,2)}t(a){Vf(this,a,{test:this.code,pos:this.Hd})}}hg.prototype.B="p.simPos"; +class ig extends Zf{constructor(a,b,h){super();this.mb=Sf[a];this.Ya=b;this.b=h;this.j=b.j}t(a){super.V(a,{axis:Qf(this.mb)});this.Ya.t(a);this.b.t(a);a.R()}}ig.prototype.B="p.withUpper";class jg extends Zf{constructor(a,b,h,A){super();this.Ia=b;this.aa=a;this.da=h;this.j=dd(A,2)}t(a){super.V(a,{op:1===this.Ia?"union":sf[this.Ia]});this.aa.t(a);this.da.t(a);a.R()}}jg.prototype.B="p.venn"; +function kg(a){var b=[];a.aa instanceof lg?b=kg(a.aa):b.push(a.aa);a.da instanceof lg?b=b.concat(kg(a.da)):b.push(a.da);return b}class lg extends jg{constructor(a,b,h){super(a,1,b,h)}}class mg extends Zf{constructor(a){super();this.b=a;for(var b of this.b)b.wg=!0}t(a){super.V(a);for(var b of this.b)b.t(a);a.R()}}mg.prototype.B="UnionExprP";function ng(a){return a instanceof og&&1===a.value.length&&Dc.ga()(a.value[0])}function pg(a,b){return new og(a,b)}function qg(){return new og([],mc.Ie)} +class og extends Wf{constructor(a,b){super();Array.isArray(a)||Aa.fa("Literal value must be array");b instanceof pc&&b.K.ea||Aa.fa("Literal type must be a SequenceType");a&&(this.value=a,b&&(this.j=b));this.Yb=null}toString(){return this.value.toString()}t(a){function b(h,A){const P=h.code,q={};switch(P){case "AB":break;case "AQ":q.pre=h.prefix;q.uri=h.q;q.loc=h.local;break;default:q.val=h.toString()}A&&(q.role=A);switch(P){case "AS":a.V("str",q);break;case "AO":a.V("dbl",q);break;case "AB":a.V(h.value? +"true":"false",q);break;case "AD":a.V("dec",q);break;case "ADI":a.V("int",q);break;case "AQ":a.V("qName",q);break;default:q.type=P,a.V("atomic",q)}a.R()}if(0===this.value.length)a.V("empty",this.Yb?{role:this.Yb}:{}),a.R();else if(1===this.value.length)b(this.value[0],this.Yb);else{let h={count:this.value.length};this.Yb&&(h.role=this.Yb);a.V("atomic",h);for(const A of this.value)b(A);a.R()}}}og.prototype.B="literal";og.prototype.Ab=!0; +class rg extends og{constructor(a){super([Sa.XS.string.fromString(a)],mc.Tb);this.j=mc.Tb}};function sg(a,b,h,A,P){var q=tg(a,mc.Sb,a.sa(0,"XPTY0004"));q=new ug(q);if(/[lu]/.test(b))q.dd={flags:b+(P?"e":""),as:h.toEQName()};else{Aa.ba("a"===b);try{if(a instanceof og&&1===a.value.length&&Sa.ka(a.value[0])&&"AQ"!==A.T().p){const g=A.Ic.I(a.value[0]);return new og([g],new pc(A,2))}}catch(g){}q.dd={flags:P?"ae":"a",as:A.ea()}}return q}class ug extends Yf{constructor(a){super(a);this.B="cast";this.Ba=2;this.dd={}}t(a){super.V(a,this.dd);this.b.t(a);a.R()}} +function vg(a,b,h,A,P){var q=new wg(a);q=tg(q,mc.Sb,q.sa(0,"XPTY0004"));if(/[lu]/.test(b))q.dd={flags:b+(P?"e":""),as:h.toEQName()};else{Aa.ba("a"===b);if(a instanceof og&&1===a.value.length&&Sa.ka(a.value[0])&&"AQ"!==A.T().p)try{return A.Ic.I(a.value[0]),new og([Sa.XS.boolean.Kc],mc.Sa)}catch(g){return new og([Sa.XS.boolean.Vd],mc.Sa)}q.dd={flags:P?"ae":"a",as:A.ea()}}return q} +class wg extends Yf{constructor(a){super(a);this.j=mc.Sa;this.B="castable";this.Ba=2;this.dd={}}t(a){super.V(a,this.dd);this.b.t(a);a.R()}}class xg extends Yf{constructor(a,b){super(a);this.g=b;this.j=pd(a.j.K)?mc.wh:mc.od}t(a){super.V(a,{diag:this.g});this.b.t(a);a.R()}}xg.prototype.B="data";class yg extends xg{constructor(a,b,h){super(a,b);this.l=h;pd(a.j.K)?this.j=h?mc.Zf:mc.vh:this.j=h?mc.Sb:mc.Qe}t(a){super.V(a,{diag:this.g});this.l&&a.ed("card","?");this.b.t(a);a.R()}}yg.prototype.B="atomSing"; +class zg extends Wf{constructor(a){super();this.name=a.K.name.toEQName();this.j=mc.Zf}t(a){Vf(this,a,{name:this.name})}}zg.prototype.B="attVal";class Ag extends Yf{constructor(a,b,h){super(a);this.code=b;this.g=h;this.j=mc.od}t(a){super.V(a,{to:this.code,diag:this.g});this.b.t(a);a.R()}}Ag.prototype.B="cvUntyped"; +class Bg extends Yf{constructor(a,b){super(a);this.type=b;this.flags="";this.j=new pc(b.K,a.j.ca)}t(a){super.V(a,{to:this.type.ea().replace(/^[01?*+]/,""),flags:this.flags});this.b.t(a);a.R()}}Bg.prototype.B="convert";class Cg extends Yf{constructor(a,b,h){super(a);this.type=b;this.ja=a.ja;this.g=h;this.j=b}t(a){super.V(a,{to:this.type.ea().replace(/^[01?*+]/,""),diag:this.g});this.b.t(a);a.R()}}Cg.prototype.B="fnCoercer";const Dg="array attribute comment document-node element empty-sequence function if item map namespace-node node processing-instruction schema-attribute schema-element switch text typeswitch".split(" ");class Eg{constructor(a,b){if(""===a.prefix&&Dg.includes(a.local))throw new zf("The unprefixed function name '"+a.local+"' is reserved","XPST0003");this.name=a;this.arity=b}toEQName(){return this.name.toEQName()}toString(){return this.name.toEQName()+"#"+this.arity}};class Fg extends Wf{constructor(a,b,h){super();const A=a.name.local;if(a.name.q===dc.ac){if("NOTATION"===A)throw new J("No constructor function exists for xs:NOTATION","XPST0017");const q=b[0].j;if(2===q.ca&&q.K.ka()&&q.K.Ic&&A===q.K.Ic.name)a=b[0];else if(["NMTOKENS","ENTITIES","IDREFS"].includes(A))a=sg(b[0],"l",a.name,null,!0);else{var P;"numeric"===A?P=sg(b[0],"u",a.name,null,!0):P=sg(b[0],"a",null,h.K,!0);a=P}return a}this.name=a;this.b=b;this.j=h;switch(A){case "exactly-one":this.j=dd(b[0].j, +2);break;case "head":this.j=dd(b[0].j,fd(b[0].j.ca)?3:2);break;case "tail":case "subsequence":this.j=dd(b[0].j,7);break;case "ceiling":case "floor":case "reverse":case "snapshot":this.j=b[0].j;break;case "last":case "position":this.Ja=!0;break;case "string-length":case "normalize-space":0===b.length&&this.b.push(Gg("string",new Hg));break;case "fold-left":case "fold-right":this.j=b[2].ja;break;case "for-each":this.j=dd(b[1].j.K.lf(),7);break;case "filter":this.j=dd(b[0].j,7);break;case "current":this.Ab= +!0;break;case "boolean":if(b[0].j.equals(mc.Sa))return b[0]}}ua(){return new eg(this)}Bb(){if(this.name.q===dc.za)return"doc document element-with-id id innermost key outermost".split(" ").includes(this.name.local)?!0:"filter one-or-more subsequence remove tail trace unordered zero-or-more".split(" ").includes(this.name.local)?this.b[0].Bb():!1}t(a){super.V(a,{name:this.name.name.local});for(const b of this.b)b.t(a);a.R()}}Fg.prototype.B="fn"; +class Ig extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Ig.prototype.B="ifCall";class Jg extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h;if(a="merge"===a.name.local)a=b[0],a=!(a instanceof og&&0===a.value.length);a&&(this.j=dd(b[0].j,2))}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Jg.prototype.B="ifCall"; +class Kg extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Kg.prototype.B="ifCall";class Lg extends Ig{}class Mg extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Mg.prototype.B="ifCall"; +class Ng extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Ng.prototype.B="ifCall";class Og extends Ng{constructor(a,b,h){super(a,b,h);const A=new Eg(Sa.XS.QName.fromParts("ixsl",dc.Yc,"call"),3),P=new Eg(Sa.XS.QName.fromParts("ixsl",dc.Yc,"window"),0);this.name=A;this.b=[new Ng(P,[],mc.cc),new rg(a.name.local),new Pg(b)];this.j=h}} +class Qg extends Wf{constructor(a,b,h,A){super();this.name=a;this.b=b;this.j=h;this.g=A}t(a){super.V(a,{name:this.name.toEQName(),coId:this.g});for(const b of this.b)b.t(a);a.R()}}Qg.prototype.B="ufCall";class Rg extends Wf{constructor(a){super();this.name=a.name.name;this.jb=a.jb;this.arity=a.name.arity;this.j=a.j;this.ja=a.ja}t(a){Vf(this,a,{name:this.name.toEQName(),arity:this.arity,resultType:this.ja.ea()})}}Rg.prototype.B="fnRef"; +class Sg extends Rg{constructor(a){super(a);this.b=0}t(a){Vf(this,a,{name:this.name.toEQName(),arity:this.arity,resultType:this.ja.ea(),bSlot:this.b})}}Sg.prototype.B="ufRef";class Tg extends Wf{constructor(){super();this.j=mc.pa}t(a){Vf(this,a,{asCode:"*"})}}Tg.prototype.B="null";class Ug extends Wf{}Ug.prototype.b={};Ug.prototype.l={};Ug.prototype.g={}; +class Vg extends Wf{constructor(){super();this.j=mc.pa;this.Db=this.Ma=this.name=this.Qb=null}Tc(){return this.name}toString(){return"$"+this.name+" as "+this.j.toString()}t(a){Vf(this,a,{name:this.name,asCode:this.j.ea(),slot:this.Db})}}Vg.prototype.B="arg"; +class Wg extends Wf{constructor(a,b,h,A){super();this.b=a;this.params=b;this.ja=h;const P=[];b.forEach(q=>{P.push(q.j)});A=tg(A,h,this.sa("body"));this.j=tc(new md(P,h));this.arity=b.length;this.rc=A;A.Yb="body"}t(a){super.V(a,{arity:this.arity,name:this.name,as:this.ja.ea()});for(const b of this.params)b.t(a);this.rc.t(a);a.R()}}oa=Wg.prototype;oa.B="inlineFn";oa.Ba=5; +oa.sa=function(a,b="XPTY0004"){return new Uf(this.Ba,"("+this.params.map(h=>h.toString()).join(",")+")"+(this.ja?" as "+this.ja.toString():""),a,b)};oa.name="inline";oa.wg=!0; +class Xg extends Wf{constructor(a,b,h){super();if(a.j&&a.j.K instanceof md&&a.j.T().a.length!==b.length)throw new J("Partially-applied function requires "+a.arity+" arguments, but "+(b.length{var z=g.a[P];z=q?q:rc(z);l instanceof Tg?l.j=z:l=tg(l,z,this.sa(P));this.b.push(l);e&&(q=z);P++})}else b.forEach(g=>{this.b.push(g)});a.j.K instanceof md&&(this.j=tc(Bd(a.j.K,h)))}t(a){super.V(a);this.g.t(a);this.b.forEach(b=>{b.t(a)});a.R()}}Xg.prototype.B="partialApply";Xg.prototype.Ba=5; +class Zg extends Wf{constructor(a,b){super();this.Mb=a;this.value=b;this.j=nc("1FM")}toString(){return"map{"+this.Mb.toString+" : "+this.value.toString()+"}"}t(a){super.V(a);this.Mb.t(a);this.value.t(a);a.R()}}Zg.prototype.B="map"; +class $g extends Wf{constructor(a){super();this.entries=a;const b=yd.Ed(a.map(P=>P[0].j.K)),h=yd.Ed(a.map(P=>P[1].j.K));a=a.map(P=>P[1].j.ca);let A=2;a.some(P=>fd(P))&&(A+=1);a.some(P=>hd(P))&&(A+=4);this.j=tc(new zd(b,new pc(h,A)))}toString(){let a="map{";this.entries.forEach(b=>{a+=b[0].toString+" : "+b[1].toString()});return a+"}"}t(a){super.V(a);this.entries.forEach(b=>{b[0].t(a);b[1].t(a)});a.R()}}$g.prototype.B="map";class ah extends Wf{constructor(a,b){super();Aa.ba(!b||b instanceof uc);this.mb=a;this.B="axis";b=b||zc;2===a&&b instanceof Ac?b=Qc:3===a&&b instanceof Ac&&(b=Bc);this.b=b;9===a&&b instanceof Ac?this.j=mc.Xd:b?this.j=new pc(b,7):this.j=mc.Wd}ob(){return this.mb}Bb(){return[2,3,4,5,6,7,9,12].includes(this.mb)}ua(){return new cg(this.b)}t(a){Vf(this,a,{name:Qf(this.mb),nodeTest:this.j.ea()})}} +class bh extends Xf{constructor(a,b){super(a,2,b);this.aa=a=tg(a,mc.Wd,this.sa(0,"XPTY0019"));this.j=ed(b.j,a.j.ca)}Bb(){return!0}ua(){if(this.da instanceof Fg||this.da instanceof og)throw new zf("Not an axis step for a pattern","XTSE0340");return this.Ja||!this.da.ob||this.da instanceof ch?new fg(this):new ig(this.da.ob(),this.da.ua(),this.aa.ua())}t(a){super.V(a,this.Ia?{op:sf[this.Ia]}:{});this.aa.t(a);this.da.t(a);a.R()}}bh.prototype.B="slash"; +class dh extends Wf{constructor(){super();this.j=mc.Xd}ua(){return new cg(Nc)}}dh.prototype.B="root";const eh={ADI:"i",ADIL:"c",ADILI:"i",ADILIS:"i",ADILISB:"i",ADIN:"c",ADINN:"c",ADIP:"c",ADIPP:"c",ADIPL:"c",ADIPLI:"i",ADIPLIS:"i",ADIPLISB:"i",AD:"c",AO:"d",AF:"f",A:"a",AZ:"a",AT:"t",AA:"t",AM:"t",AMP:"t",AH:"t",AI:"t",AJ:"t",AG:"t",AK:"t",ARD:"u",ARY:"u",E:"a"};var fh={19:"%",18:"/",56:"~",15:"+",16:"-",299:"-",17:"*"};function gh(a,b){b=new Ag(a,"AO",b.save());b.j=2===a.j.ca?mc.$d:mc.mh;return b} +class hh extends Xf{constructor(a,b,h,A){function P(c){return c instanceof wc&&c.Ic.Ya?new wc(Sa.ok(c.Ic)):c}function q(){throw new zf("Cannot evaluate "+l.toString()+" "+sf[b]+" "+z.toString(),"XPTY0004");}super(a,b,h);const g=A.oe(),e=a.Ja||h.Ja;g&&(a=ih(a),h=ih(h));a=tg(a,mc.Sb,this.sa(0));h=tg(h,mc.Sb,this.sa(1));let l=P(a.j.K),z=P(h.j.K);var v=l.T().p,G=z.T().p;g||!/^AS/.test(v)&&!/^AS/.test(G)||q();"AZ"!==v||g||(a=gh(a,this.sa(0,"FORG0001")),l=Vc,v="AO");"AZ"!==G||g||(h=gh(h,this.sa(1,"FORG0001")), +z=Vc,G="AO");var p=eh[v];let f=eh[G];const I=l.isNumeric(),D=z.isNumeric();G=ad;v=fd(a.j.ca)||fd(a.j.ca);p||="a";f||="a";var r;g?(p=f="d",G=Vc):I&&D&&("d"===p||"d"===f?(p=f="d",G=r=Vc):"f"===p||"f"===f?(p=f="f",G=r=Wc):"c"===p||"c"===f?(p=f="c",G=r=Yc):"i"===p&&"i"===f&&18===b?(p=f="c",G=Yc):"i"!==p||"i"!==f||15!==b&&16!==b&&17!==b&&19!==b?"i"===p&&"i"===f&&18===b&&(G=Yc):G=Zc);56===b&&(G=Zc);G.isNumeric()&&r&&(r=new pc(r,3),a=tg(a instanceof jh?a.b:a,r,this.sa(0)),h=tg(h instanceof jh?h.b:h,r,this.sa(1))); +[p,f].includes("a")&&(p=f="a");(l.ka("ARY")&&z.ka("AT")||z.ka("ARY")&&l.ka("AT"))&&q();"t"===p&&"t"===f&&(16===b?G=$c:q());"u"===p&&"t"===f&&(15===b?G=z:q());"u"===p&&"u"===f&&(17===b&&q(),18===b?G=Yc:G=l);I&&"u"===f&&18===b&&q();"t"!==p||"u"!==f||16!==b&&15!==b?"i"===p&&"u"===f&&17===b?(p="n",G=z):"u"!==p||"d"!==f&&"i"!==f&&"c"!==f?"u"!==f||"d"!==p&&"i"!==p&&"c"!==p||(p="n",G=z):(G=l,f="n"):G=l;p=p+fh[b]+f;if(!A.oe()&&"AF"!==G.T().p&&!A.zc&&(A.lj?0===A.lj:1)&&ng(a)&&ng(h)&&(A=a.value[0],r=h.value[0], +18!==b||0!==r.toNumber()))return a=tb[p](A,r),pg([a],new pc(new wc(Sa.codes[a.code]),2));this.aa=a;this.da=h;a.j.equals(h.j)&&(this.j=a.j);G&&(this.j=new pc(G,v?3:2));this.b=p;e&&(this.Ja=!0);g&&(this.B="arith10");this.j||(this.j=mc.Qe)}ua(){throw new zf("The arithmetic expression "+sf[this.Ia]+" is not a patternXTSE0340");}t(a){super.V(a,this.Ia?{op:sf[this.Ia],calc:this.b}:{});this.aa.t(a);this.da.t(a);a.R()}}hh.prototype.B="arith";const kh={6:50,22:51,11:52,12:53,13:54,14:55};function lh(a,b){a=a.T().p;b.T();if("AZ"===a&&b.isNumeric())return!1;if("A"===a&&b.ka())return!0;""===a&&b.ka();return!0}function mh(a){return/^A[BAMT2XQ]/.test(a)}class nh extends Xf{constructor(a,b,h,A){super(a,b,h);a=A.Ej();b="GAC";switch(a){case Nd.Fg:b="CAC"}a.startsWith(Nd.Ck)&&(b="CAC");h.j===mc.uh&&(b="EQC");this.ud=b+"|"+a;this.j=mc.Sa}t(a){super.V(a,{op:sf[this.Ia],comp:this.ud});this.aa.t(a);this.da.t(a);a.R()}} +class oh extends nh{t(a){super.V(a,{op:sf[this.Ia],comp:this.ud,card:"1:1"});this.aa.t(a);this.da.t(a);a.R()}} +class ph extends oh{constructor(a,b,h,A){super(a,b,h,A);a=tg(a,mc.od,this.sa(0));h=tg(h,mc.od,this.sa(1));b=a.j.T();A=h.j.T();var P=b.p;var q=A.p;P===q||[P,q].includes("AZ")||[P,q].includes("A")?P=!0:(/^A[ODF]/.test(P)&&(P="AO"),/^A[ODF]/.test(q)&&(q="AO"),/^A[SU]/.test(P)&&(P="AS"),/^A[SU]/.test(q)&&(q="AS"),P="E"===P||"E"===q?!0:P===q);if(!P)if(P="Cannot compare items of types "+a.j.K.toString()+" and "+h.j.K.toString(),/[*?]/.test(b.o)||/[*?]/.test(A.o))Aa.Qa(P+": the comparison can succeed only if one of the values is an empty sequence", +1,null);else throw new zf(P,"XPTY0004");this.aa=a;this.da=h}}ph.prototype.B="gc";class qh extends oh{}qh.prototype.B="gc10"; +class rh extends nh{constructor(a,b,h,A,P=!0){super(a,b,h,A);var q=a.j.K,g=h.j.K;const e=q.T().p,l=g.T().p;if(!("A"===e&&g.ka()||"A"===l&&q.ka()||""===e||""===l||q.T().p.startsWith("AM")&&g.T().p.startsWith("AM")||(mh(e)||mh(l)?e===l:lh(q,g)||lh(g,q))))throw new zf("Cannot compare "+a.j.toString()+" "+sf[b]+" "+h.j.toString(),"XPTY0004");a=tg(a,mc.Sb,this.sa(0));h=tg(h,mc.Sb,this.sa(1));if(51!==b&&50!==b&&/^A[QGHIJK]/.test(a.j.K.T().p))throw new zf("Cannot order-compare "+a.j.toString()+" "+sf[b]+ +" "+h.j.toString(),"XPTY0004");if(P){if(ng(h)&&Sa.XS.integer.matches(h.value[0])&&"ADI"===a.j.T().p)return new sh(a,b,h,A);if(h instanceof rg)return new th(a,b,h,A)}this.aa=a;this.da=h}}rh.prototype.B="vc";class uh extends rh{constructor(a,b,h,A){super(a,b,h,A,!1)}t(a){super.V(a,{op:sf[this.Ia],val:this.da.value[0]});this.aa.t(a);a.R()}}class sh extends uh{}sh.prototype.B="compareToInt"; +class th extends uh{t(a){super.V(a,{op:sf[this.Ia],val:this.da.value[0].toString(),comp:this.ud});this.aa.t(a);a.R()}}th.prototype.B="compareToString";class vh extends nh{constructor(a,b,h,A){super(a,b,h,A);a=tg(a,mc.Xd,this.sa(0));h=tg(h,mc.Xd,this.sa(0));this.aa=a;this.da=h;this.B=38===b?"precedes":39===b?"follows":"is"}t(a){super.V(a);this.aa.t(a);this.da.t(a);a.R()}};function wh(a,b){return a instanceof Fg&&a.name.name.q===dc.za&&a.name.name.local===b}function xh(a,b){return a instanceof rh&&a.Ia===b&&wh(a.aa,"position")&&wh(a.da,"last")} +class yh extends Wf{constructor(a,b){super();if(b){let A=wh(b,"last")||xh(b,50);if(A)return new Ah(a);A=A||xh(b,53);var h=b.Ja||b instanceof hh;const P=b.Ab;if(!h&&P&&b.j.equals(mc.sd))return new Bh(a,b);h||(h=b.j.K.T().p,h="AB"===h||h.startsWith("N")?!1:"A"===h||/^A[ODF]/.test(h));this.b=a;this.j=a.j;b instanceof Ch?this.j=dd(b.type,this.j.ca):b instanceof og&&1===b.value.length&&Dc.ga()(b.value[0])&&(this.j=dd(this.j,3));h&&(this.Ja=!0);P&&(this.Ab=!0);this.g=A?new Dh(50===b.Ia?"1":"0"):b}}ob(){return this.b.ob()}Bb(){return super.Bb()|| +this.b.Bb()}ua(){if(!pd(this.j.K)){const a=Gg("exists",this);return new bg(a)}return this.Ja&&this.b instanceof ah&&!(this.g instanceof Dh)?new gg(this.b,this.g):this.Ja?new fg(this.yd()):new dg(this.b.ua(),this.g)}yd(){if(this.b instanceof Hg)return this.g;this.b=this.b instanceof ah?Eh(new Hg,this.b):this.b.yd();return this}t(a){super.V(a);let b="";this.Ab&&(b+="i");this.Ja&&(b+="p");""!==b&&a.ed("flags",b);this.b.t(a);this.g.t(a);a.R()}}yh.prototype.B="filter"; +class Bh extends yh{constructor(a,b){super(a,null);if(ng(b)&&Sa.XS.integer.matches(b.value[0])&&1===b.value[0].value)return new Fh(a);this.b=a;this.j=dd(a.j,3);this.g=b;this.Ja=!0}ua(){return this.b instanceof Hg?new ag("Numeric predicates other than 1 in PredicatePatterns never match. Value provided:"+this.g.value.value):this.b instanceof ah?new hg(this.b.j,this.g.value[0].value):new fg(this.yd())}}Bh.prototype.B="subscript"; +class Fh extends Bh{constructor(a){super(a,null);this.b=a;this.Ja=!0;this.j=dd(a.j,3)}ua(){return pd(this.j.K)?this.b instanceof ah?new fg(new Fh(Eh(new Hg,this.b))):new fg(this.yd()):new bg(this)}t(a){super.V(a);this.b.t(a);a.R()}}Fh.prototype.B="first"; +class Ah extends Bh{constructor(a){super(a,null);this.b=a;this.Ja=!0;this.j=dd(a.j,3)}ua(){if(!(this.b instanceof ah))return new fg(this.yd());if(3===this.b.mb){var a=new ah(7,this.b.b);return new dg(this.b.ua(),Gg("empty",[a]))}return new hg(this.b.j,1)}t(a){super.V(a);this.b.t(a);a.R()}}Ah.prototype.B="lastOf";class Dh extends Wf{constructor(a="1"){super();this.test=a;this.j=mc.Sa}t(a){Vf(this,a,{test:this.test})}}Dh.prototype.B="isLast";function Gh(a,b){if(a instanceof dh&&b instanceof ah&&9===b.ob())return qg();if(a instanceof bh&&a.aa instanceof dh&&5===a.da.mb&&b instanceof ah&&3===b.mb)return Gh(a.aa,new ah(4,b.b));if(b instanceof bh||b instanceof Hh&&b.b instanceof bh){const h=Ih(b);Jh(h.aa)instanceof ah&&Jh(h.da)instanceof ah&&(a=Eh(a,h.aa),b=h.da)}a=new bh(a,b);return Kh(a)?a:pd(a.da.j.K)?(a.aa=Lh(a.aa),a.da=Lh(a.da),new Hh(a)):a} +function Kh(a){if(!hd(a.aa.j.ca))return a.da.Bb();const b=Jh(a.aa);return b instanceof ah&&3===b.mb&&(a=Jh(a.da),a instanceof Hh&&(a=a.b),a instanceof ah&&[3,2,4,5,8].includes(a.mb)||a instanceof bh&&Kh(a))?!0:!1}function Ih(a){return a instanceof Hh?a.b:a}function Jh(a){return a instanceof yh?Jh(a.b):a instanceof Hh?Jh(a.b):a}var Eh=Gh,Lh=Ih;function Mh(a,b,h,A,P={}){Aa.ba(b);Aa.ba(b instanceof pc);Aa.ba(a.j);Aa.ba(a.j instanceof pc);var q=b.T(),g=a,e;const l=b.K,z=b.ca,v=hd(z);var G=null,p=-1;let f=7===z;f||(p=a.j.ca,f=(z|p)===z);q=""===q.p;1===z&&(q=!0);q||(G=a.j.K,p=a.j.ca,q=yd.Cb(l,G),q===yd.Rb&&(q=G===xc?yd.dc:l===xc?yd.Fb:q),q=q===yd.kb||q===yd.Fb);if(q&&f)return g;if(P.Gb&&!v&&(hd(p)&&(g=e=new Fh(g),p=3,f=(z|p)===z),!q)){if(l.ka("AS")){try{e=Mh(g,mc.Yf,h,A)}catch(I){throw I;}g=Gg("string",e);G=Xc;p=2;g.j=mc.Tb;f=(z|p)===z;q=!0}if(qd(l)|| +l.ka("AO")){try{e=Mh(g,mc.Yf,h,A)}catch(I){throw I;}g=Gg("number",e);G=Vc;p=2;g.j=mc.$d;f=(z|p)===z;q=!0}}if(!q)if(l.ka()){if(!G.ka()&&1!==p){if(!G.Qj)throw b=new J("An atomic value is required for the "+h.getMessage()+", but the supplied value (type "+G.toString()+") cannot be atomized","error()"===G.name?"FOER0000":"FOTY0013",a),b;G=!hd(p);p=!hd(z);G?(e=fd(z),g=g instanceof ah&&2===g.mb&&g.j.K instanceof td?new zg(g.j):new yg(g,A,e)):g=g instanceof ah&&2===g.mb&&g.j.K instanceof td?new zg(g.j): +new xg(g,A);e=g;p&&!G&&(e=Nh(e,z,A));g=e;G=g.j.K;p=g.j.ca;f=(z|p)===z}G.ka("AZ")&&(qd(l)||!l.ka("AZ")&&"A"!==l.T().p)&&(g=e=Oh(g,l,A),q=!0,G=l);"A"!==G.ea()||["A","AZ"].includes(l.ea())||(g=e=Oh(g,l,A),G=g.j.K);l.ka()&&(l.ka("AO")&&yd.Cb(G,Dc)!==yd.Rb?(g=e=new Bg(g,mc.$d),G=Vc,p=-1):l.ka("AF")&&yd.Cb(G,Dc)!==yd.Rb&&!yd.Wj(G,Vc)&&(g=e=new Bg(g,mc.th),G=Wc,p=-1),l.ka("AS")&&G.ka("AU")&&(q=!0,g=e=new Bg(g,mc.Tb),G=Xc))}else l.Bd()&&"F"===l.T().p&&(G.Bd()||(g=new Ph(g,Fc,A),G=Fc),l instanceof Gc||(q= +G.T(),("FM"===q.p||"FA"===q.p)&&1===l.g.length)||(g=new Cg(g,tc(l),A)),q=!0);if(q&&f)return g;-1===p&&(p=g.j.ca,f||=(z|p)===z);if(f&&1===p)return g;if(1===p&&!fd(z))throw b=new J("An empty sequence is not allowed as the "+h.getMessage(),h.Ad()),b;q=q?yd.dc:yd.Cb(G,l);q===yd.Rb&&(q=G===xc?yd.Fb:l===xc?yd.dc:q);1===z&&(q=yd.kb);if(q===yd.Rb)if(fd(p)&&fd(z))1!==p&&(e=h.qg(l,G),Aa.Qa(e+". The expression can succeed only if the supplied value is an empty sequence.",1,null));else throw e=h.qg(l,G),b=new J(e, +"error()"===G.name?"FOER0000":h.Ad()),b;if(q!==yd.kb&&q!==yd.dc){if(g.Sj){A=Sa.XS.string.fromString(g.getAttribute("val"));if(l.ka()&&b.matches(A))return g;e=h.qg(l,G);b=new J(e,h.Ad());throw b;}g=e=Qh(g,new pc(l,z),A);f=!0}if(!f){if(g.Sj)throw b=new J("Required cardinality of "+h.getMessage()+" is "+gd(z)+"; supplied value has cardinality "+gd(p),h.Ad()),b;g=e=Nh(g,z,A)}return g}function Oh(a,b,h){b=qd(b)?"AO":b.T().p;return new Ag(a,b,h)};function Gg(a,b){a=new Sa.XS.QName.fromParts("fn",dc.za,a);b=Array.isArray(b)?b:[b];a=new Eg(a,b.length);return new Fg(a,b,mc.pa)}function tg(a,b,h){const A=Rh(h.xd?h.xd:"XPTY0004",h.save());return Mh(a,b,A,h.save())}function ih(a){return hd(a.j.ca)?new Fh(a):a} +class Sh extends Wf{constructor(a){super();this.value=a;0===a.length?this.j=mc.Ie:this.j=new pc(yd.Ed(a.map(h=>h.j.K)),7);let b=!0;a.forEach(h=>{b=b&&h instanceof og});b&&(this.b=!0)}t(a){super.V(a);this.b&&a.ed("literal",!0);for(const b of this.value)b.t(a);a.R()}}Sh.prototype.B="sequence"; +class Pg extends Wf{constructor(a){super();this.value=a;if(0===a.length)this.j=tc(Jc);else{const b=yd.Ed(a.map(A=>A.j.K));let h=0;a.forEach(A=>h|=A.j.ca);this.j=tc(new Ad(new pc(b,h)))}}t(a){super.V(a);for(const b of this.value)b.t(a);a.R()}}Pg.prototype.B="arrayBlock"; +class Th extends Wf{constructor(a,b){super();this.Ia=a;this.B=sf[a];this.Ma=b;this.Xa=this.kd=void 0;this.Db=0;this.Qb=this.value=null;this.j=mc.Sa}Tc(){return this.Ma}t(a){super.V(a,{"var":this.Ma.toEQName(),slot:this.Db});this.value.t(a);this.Xa.t(a);a.R()}} +class ch extends Xf{constructor(a,b,h,A=!1){super(a,b,h);this.B=1===b?"union":sf[b];A=A?"XTSE0340":"XPTY0004";a=tg(a,mc.Wd,this.sa(0,A));h=tg(h,mc.Wd,this.sa(1,A));a=a.Bb()?a:new Hh(a);h=h.Bb()?h:new Hh(h);this.aa=a;this.da=h;Aa.ba(a.j);Aa.ba(h.j);switch(b){case 24:this.j=a.j;break;case 23:b=a.j.ca&h.j.ca|3;this.j=new pc(yd.Kj([a,h].map(P=>P.j.K)),b);break;case 1:this.j=new pc(yd.Ed([a,h].map(P=>P.j.K)),Jd(a.j.ca,h.j.ca))}}Bb(){return!0}ob(){return this.aa.ob&&this.da.ob&&this.aa.ob()===this.da.ob()? +this.aa.ob():-1}ua(){if(1===this.Ia)return new lg(this.aa.ua(),this.da.ua(),this.j);const a=this.ob();return 3===a||2===a||this.aa.Ab||this.da.Ab?new jg(this.aa.ua(),this.Ia,this.da.ua(),this.j):new fg(this)}}class Hg extends Wf{constructor(a=mc.cc){super();this.j=a}t(a){Vf(this,a)}ua(){return new $f}}Hg.prototype.B="dot";function Uh(a){return""===a.j.T().p?new Vh(a):a}class Vh extends Yf{constructor(a){super(a);this.j=a.j}}Vh.prototype.B="homCheck"; +function Wh(a){return a.global?new Xh(a):new Yh(a)}class Zh extends Wf{constructor(){super();this.b=null;this.j=mc.pa}}Zh.prototype.B="varRef";Zh.prototype.Ab=!0;class Yh extends Zh{constructor(a){super();this.b=a;this.j=a.Qb||mc.pa}Tc(){return this.b.Ma}t(a){Vf(this,a,{name:this.b.Ma.toEQName(),slot:this.b.Db})}}Yh.prototype.B="varRef"; +class Xh extends Zh{constructor(a){super();this.b=a;this.j=a.Qb}Tc(){return this.b.Ma}ua(){return new eg(this)}t(a){Vf(this,a,{name:this.b.Ma.toEQName(),bSlot:"?"})}}Xh.prototype.B="gVarRef";class $h extends Xf{constructor(a,b){super(a,213,b);this.aa=a=tg(a,mc.Sf,this.sa(0));a.j&&a.j.K&&a.j.K.ja&&(this.j=a.j.K.ja)}}$h.prototype.B="lookup";class ai extends Wf{constructor(a){super();this.aa=a=tg(a,mc.Sf,this.sa(0))}t(a){super.V(a);this.aa.t(a);a.R()}}ai.prototype.B="lookupAll"; +class bi extends Wf{constructor(){super();this.j=mc.pa}}bi.prototype.B="currentGroup";class ci extends Wf{constructor(){super();this.j=mc.od}}ci.prototype.B="currentGroupingKey";class Hh extends Yf{constructor(a){super(a);this.j=a.j}Bb(){return!0}ua(){return this.b.ua()}}Hh.prototype.B="docOrder";class di extends Yf{constructor(a){super(a);this.j=a.j}t(a){super.V(a,{flags:this.flags});this.b.t(a);a.R()}}di.prototype.B="copyOf";di.prototype.flags="cm"; +class Ch extends Wf{constructor(a,b){super();Aa.ba(b instanceof pc);this.aa=a;this.type=b;this.j=mc.Sa}t(a){super.V(a,{of:this.type.ea()});this.aa.t(a);a.R()}}Ch.prototype.B="instance";function Qh(a,b,h=null){h||(h=new Uf(2,"treat as",0),h.xd="XPDY0050",h=h.save());return new Ph(Nh(a,b.ca,h),b.K,h)}class jh extends Yf{constructor(a,b,h){super(a);this.j=new pc(a.j.K,b);this.g=b;this.l=h}t(a){super.V(a,{card:2===this.g?"1":gd(this.g),diag:this.l});this.b.t(a);a.R()}}jh.prototype.B="check"; +function Nh(a,b,h){return 7===b?a:a instanceof og&&(b|2)===b?a:new jh(a,b,h)}class Ph extends Yf{constructor(a,b,h){super(a);this.j=a.j;this.l=b;this.g=h}t(a){super.V(a,{as:this.l.ea(),diag:this.g});this.b.t(a);a.R()}}Ph.prototype.B="treat";function ei(a,b,h){a=[a,pg([Sa.XS.boolean.Kc],mc.Sa)];return new fi(a,[b,h])}class fi extends Wf{constructor(a,b){super();this.g=a;this.b=b;this.Ja=b.some(h=>h.Ja);a=yd.Ed(b.map(h=>h.j.K));b=Id(b.map(h=>h.j.ca));this.j=new pc(a,b)}t(a){super.V(a);let b=0;for(const h of this.g)h.t(a),this.b[b++].t(a);a.R()}}fi.prototype.B="choose";class gi extends Wf{constructor(){super();this.Xa=this.value=this.Qb=this.Ma=null;this.Db=0}Tc(){return this.Ma}b(a){this.Xa=a;this.j=a.j}g(a){this.value=a;this.Qb=a.j}t(a){super.V(a,{name:this.Ma.toEQName(),slot:this.Db});this.value.t(a);this.Xa.t(a);a.R()}}class hi extends gi{g(a){this.value=a;this.Qb=dd(a.j,2);this.Xa&&(this.j=ed(this.Xa.j,a.j.ca))}b(a){this.Xa=a;this.value&&(this.j=ed(a.j,this.value.j.ca))}}hi.prototype.B="for";class ii extends gi{}ii.prototype.B="let";class ji extends Xf{constructor(a,b){super(a,null,b);this.j=mc.Sa}}class ki extends ji{}ki.prototype.B="and";class li extends ji{}li.prototype.B="or";function mi(a){return ng(a)&&Sa.XS.integer.matches(a.value[0])&&1E7>a.value[0].value}class ni extends Xf{constructor(a,b,h=!1){super(a,null,b);h&&(a=ih(a),b=ih(b));this.aa=tg(a,mc.Xf,this.sa(0));this.da=tg(b,mc.Xf,this.sa(1));this.j=mc.Ke}}ni.prototype.B="to";class oi extends Wf{constructor(a,b){super();this.from=a;this.b=b;this.j=mc.Ke}t(a){Vf(this,a,{from:this.from.value,to:this.b.value})}}oi.prototype.B="range"; +class pi extends Wf{constructor(a,b){super();this.b=a;this.next=b;this.j=ed(b.j,a.j.ca)}t(a){super.V(a);this.b.t(a);this.next.t(a);a.R()}}pi.prototype.B="forEach";var qi={array:"http://www.w3.org/2005/xpath-functions/array",fn:"http://www.w3.org/2005/xpath-functions",ixsl:"http://saxonica.com/ns/interactiveXSLT",map:"http://www.w3.org/2005/xpath-functions/map",math:"http://www.w3.org/2005/xpath-functions/math",saxon:"http://saxon.sf.net/",xml:"http://www.w3.org/XML/1998/namespace",xs:"http://www.w3.org/2001/XMLSchema",xsl:"http://www.w3.org/1999/XSL/Transform"},ri={},si;for(si in qi)ri[qi[si]]=si;function ti(a,b){var h=new Eg(a.name,a.arity),A=mc.pa;switch(a.q){case dc.map:A=mc.cg;switch(a.name.local){case "get":A=b[0].j.Sd;break;case "merge":A=mc.cg;break;case "entry":A=tc(new zd(b[0].j,b[1].j))}return new Jg(h,b,A);case dc.Ye:switch(a.name.local){case "_from-sequence":A=tc(new Ad(b[0].j))}return new Kg(h,b,A);case dc.ib:switch(a.name.local){case "apply":a=b[0].j,a=a.K?a.K:a,A=a.ja?a.ja:mc.pa}return new Mg(h,b,A)}} +class ui extends Wf{constructor(a,b,h){var A=mc.pa;super();this.name=Sa.XS.QName.fromParts(ri[h],h,a);this.arity=b;this.q=h;this.j=mc.Re;this.ja=A}}ui.prototype.B="function";class vi{}vi.prototype.q=dc.za;class wi extends vi{constructor(){super()}}wi.prototype.q=dc.map;var xi=new wi;class yi extends vi{constructor(){super()}}yi.prototype.q=dc.Ye;var zi=new yi;class Ai extends vi{constructor(){super()}}Ai.prototype.q=dc.ib;class Ci extends Ai{}var Di=new Ci;const Ei={FUNCTION:0,Kk:1,rl:2,wl:3,Yk:4,Tk:5,el:6,ql:7,hl:8,tl:9,ul:10,Xk:11,EVALUATE_RESULT:12,Nk:13,Ik:14,dl:15,Lk:16,Ok:17},Fi=["doc","id","element-with-id","key","root"];function Gi(a,b,h,A){return Ei[a]+"|"+b+"|"+h+"|"+A}function Hi(a,b,h,A){return{getMessage:function(){return b},qg:A,Ad:function(){return a},save:function(){return h}}}function Rh(a,b){const h=ld.tk(b).gd;return Hi(a,h,b,function(A,P){return"Required type of "+h+" is "+A.toString()+": actual type is "+P.toString()})} +class Yg{constructor(a,b){var h=null;this.name=a;this.arity=a.arity;if(b){this.jb=b;h=b.alphaTree;const A=[];let P;b.variadic&&(P=rc(h.a[0]));for(b=0;b""){return Sa.XS.QName.fromString(N,fa=>""===fa?la():ba(fa))}function A(){const N=sf[t.y];return 201===t.y?'name "'+t.J+'"':-1===t.y?"(unknown token)":t.J&&t.J!==sf[t.y]?`${N} ("${t.J}")`:/^[a-z]+$/.test(N)?`"${N}"`:N}function P(N,ba="XPST0003"){Kf(t);throw new zf(N,ba);}function q(N){const ba=Kf(t);console.log((N.startsWith("...")? +"near":"in")+" "+ba+":\n "+N)}function g(){try{t.next()}catch(N){P(N.message)}}function e(N){t.y!==N&&P('expected "'+sf[N]+'", found '+A())}function l(N=!1){N=z(N);let ba=null;for(;7===t.y;){null==ba&&(ba=[],ba.push(N));g();const la=z();ba.push(la)}null!=ba&&(N=new Sh(ba));return N}function z(N=!1){switch(t.y){case 0:if(N)return qg();P("Expected an expression, but reached the end of the input");break;case 211:case 216:N=0;var ba=t.y,la=null,fa=null;do{g();e(21);g();e(201);var ta=t.J,Ca=void 0; +211===ba?Ca=new hi:Ca=new ii;N++;ta=pa(ta,"");Ca.Ma=ta;g();e(216===ba?58:31);g();ia.push(null);Ca.g(z());ia.pop();ka(Ca);null==fa?la=Ca:fa.b(Ca);fa=Ca}while(7===t.y);e(25);g();fa.b(z());for(Ca=0;Ca=ba;){const Qa=t.y;var la=v();switch(Qa){case 45:case 47:g();var fa=u();a:switch(Qa){case 45:N=new Ch(N,fa);break a;case 47:N=Qh(N,fa);break a;default:throw new Af(sf[Qa]);}v()>=la&&P("Left operand of '"+sf[t.y]+"' needs parentheses");break;case 46:case 57:g();var ta=void 0;if(69===t.y&&"union"===t.J)throw new J("Saxon union types not supported");e(201);if(t.J)a:{try{var Ca=h(t.J,U.hb, +U.Vb);break a}catch(Xa){P(Xa.message,Xa.code)}Ca=void 0}else Ca=P("Parser tokenization error NAME");fa=Ca;fa.q!==dc.ac&&P("Unknown simple type "+t.J+" in cast (SaxonJS is not schema-aware)");g();var Ka=213===t.y;Ka&&(t.y=204,g());const hb={numeric:"u",ENTITIES:"l",NMTOKENS:"l",IDREFS:"l"}[fa.local]||"a";if("a"===hb){["anyType","anyAtomicType","NOTATION"].includes(fa.local)&&P("Casting to xs:"+fa.local+" is not possible (it's an abstract type)","XPST0080");ta=Sa.type[fa.local];if(!ta)throw new J("Cannot find type "+ +fa.toEQName());ta=new wc(ta)}N=(57===Qa?vg:sg)(N,hb,fa,ta,Ka);v()>=la&&P("Left operand of '"+sf[t.y]+"' needs parentheses");break;case 76:N=O(N);break;default:Ka=40===Qa;g();Ka&&ua.push(dd(N.j,2));fa=I();for(Ka&&ua.pop();v()>la;)fa=p(fa,v());if(!(la=v()!==la))a:switch(t.y){case 50:case 51:case 55:case 53:case 54:case 52:case 6:case 22:case 14:case 12:case 13:case 11:case 20:case 38:case 39:case 29:la=!1;break a;default:la=!0}la||P("Left operand of '"+sf[t.y]+"' needs parentheses");N=f(N,Qa,fa)}}return N} +function f(N,ba,la){switch(ba){case 9:return new li(N,la);case 10:return new ki(N,la);case 50:case 51:case 55:case 53:case 54:case 52:return new rh(N,ba,la,U);case 6:case 22:case 14:case 12:case 13:case 11:if(U.oe())ba=new qh(N,ba,la,U);else{var fa=U;la=new ph(N,ba,la,fa);if(N=2===la.aa.j.ca&&2===la.da.j.ca&&kh[ba]){N=la.aa.j.K;var ta=la.da.j.K;const Ca=N.T().p,Ka=ta.T().p;N=mh(Ca)||mh(Ka)?Ca===Ka:N.isNumeric()&&ta.isNumeric()?!0:/^A[SZU]/.test(Ca)&&/^A[SZU]/.test(Ka)}ba=N?new rh(la.aa,kh[ba],la.da, +fa):la}return ba;case 20:case 38:case 39:return new vh(N,ba,la,U);case 29:return fa=new ni(N,la,U.oe()),mi(fa.aa)&&mi(fa.da)?(ba=fa.aa.value[0],fa=fa.da.value[0],ba=ba.value>fa.value?qg():ba.value===fa.value?new og([ba],mc.Ke):new oi(ba,fa)):ba=fa,ba;case 30:ba=[];if(N instanceof Fg&&"concat"===N.name.name.local&&N.name.name.q===dc.za)for(fa of N.b)ba.push(fa);else fa=Gi("BINARY_OP",0,"","concat"),ta=Rh("FOTY0013",fa),N=Mh(N,mc.Sb,ta,fa,U),ba.push(N);fa=Gi("BINARY_OP",1,"","concat");ta=Rh("FOTY0013", +fa);la=Mh(la,mc.Sb,ta,fa,U);ba.push(la);ba=Gg("concat",ba);ba.j=mc.Tb;return ba;case 15:case 16:case 17:case 18:case 56:case 19:return new hh(N,ba,la,U);case 79:return ba=la,la=Sa.XS.QName.fromParts("vv",dc.Zg,"otherwise"),fa=new ii,fa.Ma=la,fa.g(N),ka(fa),la=Wh(fa),N=[Gg("exists",[la]),pg([Sa.XS.boolean.Kc],mc.Sa)],fa.b(new fi(N,[la,ba])),fa;case 1:case 23:case 24:return new ch(N,ba,la,1===Ba);case 81:return la=Gg("boolean",la),ei(N,pg([Sa.XS.boolean.Kc],mc.Sa),la);case 80:return la=Gg("boolean", +la),ei(N,la,pg([Sa.XS.boolean.Vd],mc.Sa));default:throw new Af(sf[ba]);}}function I(){switch(t.y){case 16:g();var N=I();N=D(299,N);break;case 15:g();N=I();N=D(15,N);break;default:for(N=c();40===t.y;){g();ua.push(dd(N.j,2));const ba=c();ua.pop();N=new pi(N,ba)}}return N}function D(N,ba){if(ng(ba)){const la=ba.value[0];return 299===N?pg([la.tf()],ba.j):ba}return new hh(pg([Sa.XS.integer.fromNumber(0)],mc.sd),N,ba,U)}function r(){switch(t.y){case 36:case 3:case 201:case 208:case 70:case 207:case 69:case 205:case 206:case 35:case 202:case 209:case 5:case 21:case 43:case 4:return!0; +case 60:return["ordered","unordered","map","array"].includes(t.J);default:return!1}}function c(){var N=t.ee;switch(t.y){case 2:return g(),N=new dh,r()?d(N):N;case 8:g();N=new dh;var ba=new ah(5,null);N=Eh(N,ba);return d(N);default:201===t.y&&["true","false"].includes(t.J)&&q("The expression is looking for a child element named '"+t.J+"' - perhaps "+t.J+"() was intended? To avoid this warning, use child::"+t.J+" or ./"+t.J+".");201===t.y&&-1!==Gf(t.J)&&1!==Ba&&(0'");return null}function ca(N){function ba(fa){return fa instanceof Hg||fa instanceof yh&&ba(fa.b)}switch(t.y){case 21:return H();case 5:var la=x();N&&ba(la)&&P("Predicate pattern cannot be parenthesized","XTSE0340");return la;case 4:return M();case 202:return L(!0);case 209:return E(!0);case 35:return la=t.J,0===Pa&&1===Ba&&(U.Ng=!0,N?Fi.includes(la)||la.includes(":")||P("Function "+la+"() is not permitted at first position in pattern", +"XTSE0340"):P("Function call not at first position in pattern","XTSE0340")),la=ja(null),U.Ng=!1,la;case 213:return C(new Hg);case 205:return g(),new Hg(ua[ua.length-1]);case 206:return g(),new ah(9,null);case 69:if("function"===t.J)return K();case 201:case 208:case 70:case 207:return la=3,69===t.y&&["attribute","schema-attribute"].includes(t.J)?la=2:69===t.y&&"namespace-node"===t.J?la=8:N&&69===t.y&&"document-node"===t.J&&(la=12),N=V(1),new ah(la,N);case 3:g();switch(t.y){case 201:case 208:case 70:case 207:case 69:return la= +V(2),new ah(2,la);default:P("@ must be followed by a NodeTest")}break;case 36:try{la=Tf(t.J)}catch(fa){P(fa.message),la=3}N=Rf[la];g();switch(t.y){case 201:case 208:case 70:case 207:case 69:N=V(N);let fa=null;if(2===la){const ta=yd.Cb(N,new Oc(2));ta===yd.Rb?fa="attribute axis can never yield nodes of type "+N:ta===yd.Fb&&(N=new Oc(2))}3===la&&9===N.Ba&&(fa=N.name+" nodes can never be children");2!==N.Ba||[2,12].includes(la)||(fa="axis "+Qf(la)+" can never yield attribute nodes");if(fa){if(1===Ba)return new ag(fa); +q(fa);return qg()}return new ah(la,N);default:P("Unexpected token "+A()+" after axis name")}break;case 60:switch(t.J){case "map":return w();case "array":return aa();case ".":return X();case "_":P("Underscore functions not yet implemented")}break;case 43:return W();default:P("Unexpected token "+A()+" at start of expression")}}function x(){g();if(204===t.y)return g(),qg();const N=l();e(204);g();return N}function E(){const N=t.J?B(t.J):P("Parser tokenization error NUMBER");isNaN(N)&&P("Invalid numeric literal ("+ +t.J+")");g();return pg([N],"AO"===N.code?mc.$d:"AD"===N.code?mc.sh:mc.sd)}function B(N){try{return 0<=N.indexOf("e")||0<=N.indexOf("E")?Sa.XS.double.fromString(N):0<=N.indexOf(".")?Sa.XS.$a.fromString(N):Sa.XS.integer.fromString(N)}catch(ba){return NaN}}function L(){var N=new rg(t.J);g();return N}function H(){g();e(201);var N=t.J;g();const ba=pa(N,"");N=ea(ba);if(null!=N)var la=Wh(N);else if(ba.q===dc.sj&&0""));if(7===t.y){g();e(201);ta=!1;const Ka=h(t.J,U.hb,U.Vb);Ka.q===dc.ac?1===fa?["untyped","anyType"].includes(Ka.local)||(["untypedAtomic","anyAtomicType"].includes(Ka.local)?ta=!0:P("Unsupported type annotation "+ +t.J+" (SaxonJS is not schema-aware, so all nodes are untyped)")):["untypedAtomic","anyAtomicType"].includes(Ka.local)||P("Unsupported type annotation "+t.J+" (SaxonJS is not schema-aware, so all nodes are untyped)"):P("Unsupported type annotation "+t.J+" (SaxonJS is not schema-aware, so only built-in types are recognized)");g();213===t.y&&g();e(204);g();if(ta)return Lc;if("*"===Ca)return rd(fa);Ca=h(Ca,U.hb,1===fa?U.Vb:()=>"");return new td(fa,Ca)}P("Expected ')' or ',' in SequenceType");return null; +case "schema-attribute":case "schema-element":return P("Type "+ba+"() not allowed: SaxonJS is not schema-aware"),null;default:return P("Unknown node kind "+ba),null}}function w(){var N=[];g();var ba=[];let la=!0;if(215!==t.y)for(;;){var fa=z();e(75);g();const ta=z(),Ca=Gi("FUNCTION",0,"","map:entry"),Ka=Rh("XPTY0004",Ca);fa=Mh(fa,mc.Qe,Ka,Ca,U);!la||fa instanceof og?-1===ba.indexOf(fa)?ba.push(fa):la=!1:la=!1;fa=new Zg(fa,ta);N.push(fa);if(215===t.y)break;else e(7),g()}Df(t);g();if(0===N.length)return ti(new ui("_new", +1,xi.q),[]);if(1===N.length)return N[0];if(la){const ta=[];N.forEach(Ca=>{ta.push([Ca.Mb,Ca.value])});return new $g(ta)}N=new Sh(N);ba=[];ba=new $g([[new rg("duplicates"),new rg("reject")],[new rg("duplicates-error-code"),new rg("XQDY0137")]]);return ti(new ui("merge",2,xi.q),[N,ba])}function M(){const N=[];g();if(203===t.y)return g(),new Pg(N);for(;;){const ba=z();N.push(ba);if(7===t.y)g();else{if(203===t.y){g();break}P("Expected ',' or ']', found "+sf[t.y])}}return new Pg(N)}function aa(){g();const N= +new ui("_from-sequence",1,zi.q);if(215===t.y)return Df(t),g(),ti(N,[qg()]);const ba=l();e(215);Df(t);g();return ti(N,[ba])}function ja(N){function ba(){if(209===t.y)return E(!0);if(202===t.y)return L(t.J);if(21===t.y)return H();P("The arguments to a function call in a pattern must be literals or variable references","XTSE0340")}var la=t.J,fa=t.ee;const ta=[];null!=N&&ta.push(N);N=y(la);la=null;1===Ba&&N.q===dc.za&&["current-group","current-grouping-key","current-merge-group","current-merge-key"].includes(N.local)&& +P(N.local+"() is not permitted in a pattern","XTSE1060");g();if(204!==t.y){for(;;){var Ca=U.Ng?ba():da();if(null==Ca||Ca instanceof Tg)null==la&&(la=[]),la.push(ta.length);ta.push(Ca);if(7===t.y)g();else break}e(204)}g();Ca=new Eg(N,ta.length);if(null!=la)return fa=U.kf().Cg(Ca,U),null==fa&&P("No function "+N.toString()+"#"+ta.length+" is known for partial application","XPST0017"),new Xg(fa,ta,la);la=[];Ca=U.kf().bind(Ca,ta,U,la);return null==Ca?Y(U,fa,N,ta,la):Ca}function Y(N,ba,la,fa,ta){let Ca= +"Cannot find a "+fa.length+"-argument function named "+la.toEQName()+"()";for(var Ka of ta)Ca+=". "+Ka;ta=!1;for(Ka=0;KaN.value||N.value>Number.MAX_SAFE_INTEGER)&&P("Number following '#' is out of range","FOAR0002");N=N.value;g();let ta=null;try{ta=h(ba,fa.hb,fa.fi)}catch(Ka){P(Ka.message,Ka.code)}ba=fa.kf();const Ca=new Eg(ta,N);fa=ba.Cg(Ca,fa);null==fa&&P("Function "+ta.toEQName()+"#"+N+" not found","XPST0017",la);return fa.jb.li&&!ta.hasURI(vf.bj)?new Sg(fa):new Rg(fa)}function ka(N){N.Db= +ia.length;ia.push(N)}function ea(N){for(let ba=ia.length-1;0<=ba;ba--){const la=ia[ba];if(la&&la.Tc().equals(N))return la}}function va(N,ba){return h(N,U.hb,()=>ba)}function pa(N,ba){try{return va(N,ba)}catch(la){P(la.message,la.code)}}function k(N,ba){if(ba.startsWith("Q{"))return new vd(N,ba.substring(2,ba.length-2));try{const la=h(ba+":dummy",U.hb,()=>"");return new vd(N,la.getURI())}catch(la){return P(la.message,la.code),null}}function F(N,ba){xf(ba)||P("Local name ["+ba+"] contains invalid characters"); +return new ud(N,ba)}function T(N,ba,la,fa=!1){this.global=fa;this.Ma=this.name=N;this.Qb=ba;this.Db=la}let t,R,U={},ia=[],ua=[],Ba=0,Fa=0,Pa=0;const Ua=[],Na={Cg:function(N,ba){return(ba=Ii.getFnSignature(N.name,N.arity,ba.di()))?new Yg(N,ba):null},bind:function(N,ba,la){var fa=la.di(),ta=Ii.getFnSignature(N.name,N.arity,fa);if(ta){if(N.name.q===dc.za)switch(N.name.local){case "false":return pg([Sa.XS.boolean.Vd],mc.Sa);case "true":return pg([Sa.XS.boolean.Kc],mc.Sa);case "normalize-unicode":1=== +ba.length&&ba.push(new rg("NFC"));break;case "copy-of":return new di(ba[0]?ba[0]:new Hg(ua[ua.length-1]));case "current-group":return new bi;case "current-grouping-key":return new ci;default:ta.defaultToDot&&0===N.arity&&ta.arity.includes(0)&&(ba.push(new Hg(ua[ua.length-1])),N.arity++)}else if(ta.isIdempotent&&1===ba.length)return ba[0];fa=[];var Ca;const Qa=ta.alphaTree;Qa&&"F"===Qa.p&&!Qa.r&&(Qa.r={p:"",o:"*"});Qa&&"F"===Qa.p&&Qa.a&&Qa.r||Aa.fa("Bad function signature for "+N.name.local);ta.variadic&& +(Ca=Qa.a[0]);const hb=ta.collation||-1;for(let Xa=0;Xaba.length-1&&fa.push(new rg(la.Hb));ba=rc(Qa.r);if(ta.isUserFunction)return new Qg(N,fa,ba,ta.componentBinding);switch(N.name.q){case dc.za:case dc.ac:switch(N.name.local){case "current":ua[0]&& +(ba=ua[0]);break;case "accumulator-before":case "accumulator-after":if(fa[0]instanceof rg){ta=h(fa[0].value[0].value,la.hb,()=>"").toEQName();la=la.wb[ta];if(!la)throw new J("Unknown accumulator "+ta,"XTDE3340");ba=nc(la);fa[0]=new rg(ta)}}return new Fg(N,fa,ba);case dc.map:return new Jg(N,fa,ba);case dc.Ye:return new Kg(N,fa,ba);case dc.qi:return new Lg(N,fa,ba);case dc.ib:return new Mg(N,fa,ba);case dc.Yc:return new Ng(N,fa,ba);case dc.mi:return new Og(N,fa,ba);default:return ta.li?new Qg(N,fa, +ba,ta.zl):new Mg(N,fa,ba)}}else{if(ta=Ii.getFnSignature(N.name,null,fa))if(ta&&!ta.alphaTree&&(ta.alphaTree=wb(ta.sig)),fa=ba.length,Ca=ta.alphaTree.a.length,fa!==Ca&&(ta.variadic?ba.length +"",Hb:"http://www.w3.org/2005/xpath-functions/collation/codepoint",je:!1,Ta:{},wb:{},Pa:!1,zc:!1,zg:!1,Gb:!1,vk:function(){U.Vb=()=>"";U.Hb="http://www.w3.org/2005/xpath-functions/collation/codepoint";U.Ta={};U.wb={};U.Pa=!1;U.zc=!1;U.zg=!1;U.Gb=!1},di:function(){return{Pa:U.Pa,Pl:1===Ba,Ta:U.Ta}},Ej:function(){return U.Hb},fi:function(){return dc.za},kf:function(){return Na},Hl:function(){return null},Ol:function(){return!1},oe:function(){return U.Gb},Vl:function(){return null}};let Wa={};T.prototype.Tc= +function(){return this.name};return{process:function(N,ba,la,fa,ta=!1,Ca=!1,Ka=!1){a();R=N;Ba=ba?1:0;N=[];Wa={};U.vk();U.hb=b;ba&&(U.Pa=!0);Ka&&(U.zg=!0);if(fa){Fa=fa.mf?1:0;fa.zc&&(U.zc=!0);for(var Qa in fa.kc)Wa[Qa]=fa.kc[Qa];for(var hb in fa.yc){Qa=h(hb,U.hb,()=>"");const pb=fa.yc[hb],Oi=nc(pb.getAttribute("sType"));N.push(new T(Qa,Oi,pb,!0))}for(var Xa in fa.Pb)hb=h(Xa,U.hb,()=>""),N.push(new T(hb,fa.ld[Xa],fa.Pb[Xa]));ia=N;U.wb=fa.wb;fa.je&&(U.je=fa.je);fa.Hb&&(U.Hb=fa.Hb);fa.Ta&&(U.Ta=fa.Ta); +fa.Pa&&(U.Pa=fa.Pa);fa.Gb&&(U.Gb=fa.Gb);fa.ue&&(ua=[dd(fa.ue,2)]);fa.xpathDefaultNamespace&&(U.Vb=()=>fa.xpathDefaultNamespace);U.staticBaseUri=fa.staticBaseUri?fa.staticBaseUri:null}Xa="";for(const pb in Wa)N=Wa[pb],N=N===dc.withPrefix[pb]?"~":N,Xa+=pb+"="+N+" ";Hf(t,R);let ob;try{ob=l(Ca)}catch(pb){throw pb instanceof J&&fa&&fa.Bk&&(pb.code=fa.Bk,pb.message="Invalid XPath expression supplied to xsl:evaluate {"+R+"}: "+pb.message),pb;}0!==t.y&&P("Found "+A()+" beyond end of expression");ba?(ob=ob.ua(), +ob instanceof lg&&la&&(ob=new mg(kg(ob)))):fa&&fa.ye&&(ba=Gi("EVALUATE_RESULT",0,"",null),la=Rh("XPTY0004",ba),ob=Mh(ob,fa.ye,la,ba));ba=ta?new Ji:new Ki;ob.t(ba);ba=ba.current;ta?(ba=ba.documentElement,ob.j&&ba.setAttribute("sType",ob.j.ea()),""!==Xa&&ba.setAttribute("ns",Xa),fa&&fa.staticBaseUri&&ba.setAttribute("baseUri",fa.staticBaseUri)):(ba=ba.C[0],""!==Xa&&(ba.Da=Xa),fa&&fa.staticBaseUri&&(ba.cb=fa.staticBaseUri),Ka&&0pb.Ma.toEQName())));return ba},parseSequenceType:function(N, +ba,la){a();U.hb=ba;U.Vb=la;Ba=0;Wa={};Hf(t,N);N=u();0!==t.y&&P("Unexpected "+A()+" after SequenceType");return N},getTokenizer:function(){return t}}}();function Ki(){this.stack=[];this.current={C:[]}}Ki.prototype={V:function(a,b={}){a={N:a,C:[]};for(const h in b)a[h]=b[h];this.current.C.push(a);this.stack.push(this.current);this.current=a},ed:function(a,b){this.current[a]=b},R:function(){this.current=this.stack.pop()}}; +function Ji(){this.b=Pd.find("SaxonJS").getPlatform().createDocument();this.stack=[];this.current=this.b}Ji.prototype={V:function(a,b={}){a=this.b.createElement(a);for(const h in b)a.setAttribute(h,b[h]);this.current.appendChild(a);this.stack.push(this.current);this.current=a},ed:function(a,b){this.current.setAttribute(a,b)},R:function(){this.current=this.stack.pop()}};const Mi={nm:{QuantifiedExpr:"1AB",OrExpr:"1AB",AndExpr:"1AB",ComparisonExpr:"1AB",StringConcatExpr:"1AS",RangeExpr:"*ADI",AdditiveExpr:"?A",MultiplicativeExpr:"?A",IntersectExceptExpr:"*N",InstanceOfExpr:"1AB",CastableExpr:"1AB",UnaryExpr:"?A m[UO,UD,UF]",StringLiteral:"1AS",IntegerLiteral:"1ADI",DecimalLiteral:"1AD",DoubleLiteral:"1AO",NamedFunctionRef:"1F",InlineFunctionExpr:"1F",MapExpr:"1FM",Root:"1ND"},Gk:{"http://www.w3.org/2005/xpath-functions":{QName:{sig:"1F r[1AQ] a[?AS,1AS]"},abs:{sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF]]"}, +"accumulator-after":{XSLTonly:!0,sig:"1F a[1AS] r[*]"},"accumulator-before":{XSLTonly:!0,sig:"1F a[1AS] r[*]"},"adjust-date-to-timezone":{arity:[1,2],sig:"1F r[?AA] a[?AA,?ARD]"},"adjust-dateTime-to-timezone":{arity:[1,2],sig:"1F r[?AM] a[?AM,?ARD]"},"adjust-time-to-timezone":{arity:[1,2],sig:"1F r[?AT] a[?AT,?ARD]"},"analyze-string":{arity:[2,3],sig:"1F r[1NE nQ{http://www.w3.org/2005/xpath-functions}analyze-string-result] a[?AS,1AS,1AS]"},apply:{sig:"1F a[1F,1FA] r[*]"},"available-environment-variables":{sig:"1F r[*AS] a[]"}, +"available-system-properties":{XSLTonly:!0,sig:"1F r[*AQ] a[]"},avg:{sig:"1F r[?A] a[*A]"},"base-uri":{defaultToDot:!0,arity:[0,1],sig:"1F r[?AU] a[?N]"},"boolean":{sig:"1F r[1AB] a[*]"},ceiling:{sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF]]"},"codepoint-equal":{sig:"1F r[?AB] a[?AS,?AS]"},"codepoints-to-string":{sig:"1F r[1AS] a[*ADI]"},"collation-key":{arity:[1,2],collation:1,sig:"1F r[1A2] a[1AS,1AS]"},collection:{arity:[0,1],sig:"1F a[?AS] r[*]"},compare:{arity:[2,3],collation:2,sig:"1F r[?ADI] a[?AS,?AS,1AS]"}, +concat:{arity:[2,Infinity],sig:"1F r[1AS] a[?A,?A]",variadic:!0},contains:{arity:[2,3],collation:2,sig:"1F r[1AB] a[?AS,?AS,1AS]"},"contains-token":{arity:[2,3],collation:2,sig:"1F r[1AB] a[*AS,1AS,1AS]"},"copy-of":{XSLTonly:!0,defaultToDot:!0,arity:[0,1],sig:"1F a[*] r[*]"},count:{sig:"1F r[1ADI] a[*]"},current:{XSLTonly:!0,sig:"1F r[1] a[]"},"current-date":{sig:"1F r[1AA] a[]"},"current-dateTime":{sig:"1F r[1AMP] a[]"},"current-group":{XSLTonly:!0,sig:"1F a[] r[*]"},"current-grouping-key":{XSLTonly:!0, +sig:"1F r[*A] a[]"},"current-merge-group":{XSLTonly:!0,arity:[0,1],sig:"1F a[1AS] r[*]"},"current-merge-key":{XSLTonly:!0,sig:"1F r[*A] a[]"},"current-output-uri":{XSLTonly:!0,sig:"1F r[?AU] a[]"},"current-time":{sig:"1F r[1AT] a[]"},data:{defaultToDot:!0,arity:[0,1],sig:"1F r[*A] a[*]"},dateTime:{sig:"1F r[?AM] a[?AA,?AT]"},"day-from-date":{sig:"1F r[?ADI] a[?AA]"},"day-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"days-from-duration":{sig:"1F r[?ADI] a[?AR]"},"deep-equal":{arity:[2,3],collation:2,sig:"1F r[1AB] a[*,*,1AS]"}, +"default-collation":{sig:"1F r[1AS] a[]"},"default-language":{sig:"1F r[1ASNTL] a[]"},"distinct-values":{arity:[1,2],collation:1,sig:"1F r[*A] a[*A,1AS]"},doc:{sig:"1F r[?ND] a[?AS]"},"doc-available":{sig:"1F r[1AB] a[?AS]"},document:{XSLTonly:!0,arity:[1,2],sig:"1F r[*N] a[*,1N]"},"document-uri":{defaultToDot:!0,arity:[0,1],sig:"1F r[?AU] a[?N]"},"element-available":{XSLTonly:!0,sig:"1F r[1AB] a[1AS]"},"element-with-id":{defaultToDot:!0,arity:[1,2],sig:"1F r[*NE] a[*AS,1N]"},empty:{sig:"1F r[1AB] a[*]"}, +"encode-for-uri":{sig:"1F r[1AS] a[?AS]"},"ends-with":{arity:[2,3],collation:2,sig:"1F r[1AB] a[?AS,?AS,1AS]"},"environment-variable":{sig:"1F r[?AS] a[1AS]"},error:{arity:[0,1,2,3],sig:"1F r[0E] a[?AQ,1AS,*]"},"escape-html-uri":{sig:"1F r[1AS] a[?AS]"},"exactly-one":{sig:"1F r[1] a[*]"},exists:{sig:"1F r[1AB] a[*]"},"false":{sig:"1F r[1AB] a[]"},filter:{sig:"1F r[*] a[*,1F r[1AB] a[1]]"},floor:{sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF]]"},"fold-left":{sig:"1F a[*,*,1F a[*,1] r[*]] r[*]"},"fold-right":{sig:"1F a[*,*,1F a[1,*] r[*]] r[*]"}, +"for-each":{sig:"1F a[*,1F a[1] r[*]] r[*]"},"for-each-pair":{sig:"1F a[*,*,1F a[1,1] r[*]] r[*]"},"format-date":{arity:[2,5],sig:"1F r[?AS] a[?AA,1AS,?AS,?AS,?AS]"},"format-dateTime":{arity:[2,5],sig:"1F r[?AS] a[?AM,1AS,?AS,?AS,?AS]"},"format-integer":{arity:[2,3],sig:"1F r[1AS] a[?ADI,1AS,?AS]"},"format-number":{arity:[2,3],sig:"1F r[1AS] a[?A m[AO,AD,AF],1AS,?AS]"},"format-time":{arity:[2,5],sig:"1F r[?AS] a[?AT,1AS,?AS,?AS,?AS]"},"function-arity":{sig:"1F r[1ADI] a[1F]"},"function-available":{XSLTonly:!0, +arity:[1,2],sig:"1F r[1AB] a[1AS,1ADI]"},"function-lookup":{sig:"1F r[?F] a[1AQ,1ADI]"},"function-name":{sig:"1F r[?AQ] a[1F]"},"generate-id":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?N]"},"has-children":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AB] a[?N]"},head:{sig:"1F r[?] a[*]"},"hours-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"hours-from-duration":{sig:"1F r[?ADI] a[?AR]"},"hours-from-time":{sig:"1F r[?ADI] a[?AT]"},id:{defaultToDot:!0,arity:[1,2],sig:"1F r[*NE] a[*AS,1N]"},idref:{defaultToDot:!0, +arity:[1,2],sig:"1F r[*N] a[*AS,1N]"},"implicit-timezone":{sig:"1F r[1ARD] a[]"},"in-scope-prefixes":{sig:"1F r[*AS] a[1NE]"},"index-of":{arity:[2,3],collation:2,sig:"1F r[*ADI] a[*A,1A,1AS]"},innermost:{sig:"1F r[*N] a[*N]"},"insert-before":{sig:"1F a[*,1ADI,*] r[*]"},"iri-to-uri":{sig:"1F r[1AS] a[?AS]"},"json-doc":{arity:[1,2],sig:"1F r[?] a[?AS,1FM]"},"json-to-xml":{arity:[1,2],sig:"1F r[?ND] a[?AS,1FM]"},key:{XSLTonly:!0,arity:[2,3],sig:"1F r[*N] a[1AS,*A,1N]"},lang:{defaultToDot:!0,arity:[1, +2],sig:"1F r[1AB] a[?AS,1N]"},last:{sig:"1F r[1ADI] a[]"},"load-xquery-module":{arity:[1,2],sig:"1F r[1FM] a[1AS,1FM]"},"local-name":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?N]"},"local-name-from-QName":{sig:"1F r[?ASNTNC] a[?AQ]"},"lower-case":{sig:"1F r[1AS] a[?AS]"},matches:{arity:[2,3],sig:"1F r[1AB] a[?AS,1AS,1AS]"},max:{arity:[1,2],collation:1,sig:"1F r[?A] a[*A,1AS]"},min:{arity:[1,2],collation:1,sig:"1F r[?A] a[*A,1AS]"},"minutes-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"minutes-from-duration":{sig:"1F r[?ADI] a[?AR]"}, +"minutes-from-time":{sig:"1F r[?ADI] a[?AT]"},"month-from-date":{sig:"1F r[?ADI] a[?AA]"},"month-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"months-from-duration":{sig:"1F r[?ADI] a[?AR]"},name:{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?N]"},"namespace-uri":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AU] a[?N]"},"namespace-uri-for-prefix":{sig:"1F r[?AU] a[?AS,1NE]"},"namespace-uri-from-QName":{sig:"1F r[?AU] a[?AQ]"},nilled:{defaultToDot:!0,arity:[0,1],sig:"1F r[?AB] a[?N]"},"node-name":{defaultToDot:!0, +arity:[0,1],sig:"1F r[?AQ] a[?N]"},"normalize-space":{arity:[0,1],sig:"1F r[1AS] a[?AS]"},"normalize-unicode":{arity:[1,2],sig:"1F r[1AS] a[?AS,1AS]"},not:{sig:"1F r[1AB] a[*]"},number:{defaultToDot:!0,arity:[0,1],sig:"1F r[1AO] a[?A]"},"one-or-more":{sig:"1F r[+] a[*]"},outermost:{sig:"1F r[*N] a[*N]"},"parse-ietf-date":{sig:"1F r[?AM] a[?AS]"},"parse-json":{arity:[1,2],sig:"1F r[?] a[?AS,1FM]"},"parse-xml":{sig:"1F r[?ND e[NE]] a[?AS]"},"parse-xml-fragment":{sig:"1F r[?ND] a[?AS]"},path:{defaultToDot:!0, +arity:[0,1],sig:"1F r[?AS] a[?N]"},position:{sig:"1F r[1ADI] a[]"},"prefix-from-QName":{sig:"1F r[?ASNTNC] a[?AQ]"},"random-number-generator":{arity:[0,1],sig:"1F r[1FM k[AS] v[1]] a[?A]"},"regex-group":{XSLTonly:!0,sig:"1F r[1AS] a[1ADI]"},remove:{sig:"1F r[*] a[*,1ADI]"},replace:{arity:[3,4],sig:"1F r[1AS] a[?AS,1AS,1AS,1AS]"},"resolve-QName":{sig:"1F r[?AQ] a[?AS,1NE]"},"resolve-uri":{arity:[1,2],sig:"1F r[?AU] a[?AS,1AS]"},reverse:{sig:"1F a[*] r[*]"},root:{defaultToDot:!0,arity:[0,1],sig:"1F r[?N] a[?N]"}, +round:{arity:[1,2],sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF],1ADI]"},"round-half-to-even":{arity:[1,2],sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF],1ADI]"},"seconds-from-dateTime":{sig:"1F r[?AD] a[?AM]"},"seconds-from-duration":{sig:"1F r[?AD] a[?AR]"},"seconds-from-time":{sig:"1F r[?AD] a[?AT]"},serialize:{arity:[1,2],sig:"1F r[1AS] a[*,?]"},snapshot:{XSLTonly:!0,defaultToDot:!0,arity:[0,1],sig:"1F a[*] r[*]"},sort:{arity:[1,2,3],collation:1,sig:"1F r[*] a[*,?AS,1F r[*A] a[1]]"},"starts-with":{arity:[2, +3],collation:2,sig:"1F r[1AB] a[?AS,?AS,1AS]"},"static-base-uri":{sig:"1F r[?AU] a[]"},"stream-available":{XSLTonly:!0,sig:"1F r[1AB] a[?AS]"},string:{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?]"},"string-join":{arity:[1,2],sig:"1F r[1AS] a[*A,1AS]"},"string-length":{arity:[0,1],sig:"1F r[1ADI] a[?AS]"},"string-to-codepoints":{sig:"1F r[*ADI] a[?AS]"},subsequence:{arity:[2,3],sig:"1F a[*,1AO,1AO] r[*]"},substring:{arity:[2,3],sig:"1F r[1AS] a[?AS,1AO,1AO]"},"substring-after":{arity:[2,3],collation:2, +sig:"1F r[1AS] a[?AS,?AS,1AS]"},"substring-before":{arity:[2,3],collation:2,sig:"1F r[1AS] a[?AS,?AS,1AS]"},sum:{arity:[1,2],sig:"1F r[?A] a[*A,?A]"},"system-property":{XSLTonly:!0,sig:"1F r[1AS] a[1AS]"},tail:{sig:"1F a[*] r[*]"},"timezone-from-date":{sig:"1F r[?ARD] a[?AA]"},"timezone-from-dateTime":{sig:"1F r[?ARD] a[?AM]"},"timezone-from-time":{sig:"1F r[?ARD] a[?AT]"},tokenize:{arity:[1,2,3],sig:"1F r[*AS] a[?AS,1AS,1AS]"},trace:{arity:[1,2],sig:"1F a[*,1AS] r[*]"},transform:{sig:"1F r[1FM] a[1FM]"}, +translate:{sig:"1F r[1AS] a[?AS,1AS,1AS]"},"true":{sig:"1F r[1AB] a[]"},"type-available":{XSLTonly:!0,sig:"1F r[1AB] a[1AS]"},unordered:{sig:"1F r[*] a[*]"},"unparsed-entity-public-id":{XSLTonly:!0,arity:[1,2],sig:"1F r[1AS] a[1AS,1N]"},"unparsed-entity-uri":{XSLTonly:!0,arity:[1,2],sig:"1F r[1AU] a[1AS,1N]"},"unparsed-text":{arity:[1,2],sig:"1F r[?AS] a[?AS,1AS]"},"unparsed-text-available":{arity:[1,2],sig:"1F r[1AB] a[?AS,1AS]"},"unparsed-text-lines":{arity:[1,2],sig:"1F r[*AS] a[?AS,1AS]"},"upper-case":{sig:"1F r[1AS] a[?AS]"}, +"uri-collection":{arity:[0,1],sig:"1F r[*AU] a[?AS]"},"xml-to-json":{arity:[1,2],sig:"1F r[?AS] a[?N,1FM]"},"year-from-date":{sig:"1F r[?ADI] a[?AA]"},"year-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"years-from-duration":{sig:"1F r[?ADI] a[?AR]"},"zero-or-one":{sig:"1F r[?] a[*]"}},"http://www.w3.org/2005/xpath-functions/array":{append:{sig:"1F r[1FA] a[1FA,*]"},filter:{sig:"1F r[1FA] a[1FA,1F r[1AB] a[*]]"},flatten:{sig:"1F a[*] r[*]"},"fold-left":{sig:"1F a[1FA,*,1F a[*,*]] r[*]"},"fold-right":{sig:"1F a[1FA,*,1F a[*,*]] r[*]"}, +"for-each":{sig:"1F r[1FA] a[1FA,1F a[*]]"},"for-each-pair":{sig:"1F r[1FA] a[1FA,1FA,1F a[*,*]]"},get:{sig:"1F a[1FA,1ADI] r[*]"},head:{sig:"1F a[1FA] r[*]"},"insert-before":{sig:"1F r[1FA] a[1FA,1ADI,*]"},join:{sig:"1F r[1FA] a[*FA]"},put:{sig:"1F r[1FA] a[1FA,1ADI,*]"},remove:{sig:"1F r[1FA] a[1FA,*ADI]"},reverse:{sig:"1F r[1FA] a[1FA]"},size:{sig:"1F r[1ADI] a[1FA]"},sort:{arity:[1,2,3],collation:1,sig:"1F r[1FA] a[1FA,?AS,1F r[*A] a[*]]"},subarray:{arity:[2,3],sig:"1F r[1FA] a[1FA,1ADI,1ADI]"}, +tail:{sig:"1F r[1FA] a[1FA]"}},"http://www.w3.org/2005/xpath-functions/map":{contains:{sig:"1F r[1AB] a[1FM,1A]"},entry:{sig:"1F r[1FM] a[1A,*]"},find:{sig:"1F r[1FA] a[*,1A]"},"for-each":{sig:"1F r[*] a[1FM,1F a[1A,*]]"},get:{sig:"1F a[1FM,1A] r[*]"},keys:{sig:"1F r[*A] a[1FM]"},merge:{arity:[1,2],sig:"1F r[1FM] a[*FM,1FM]"},put:{sig:"1F r[1FM] a[1FM,1A,*]"},remove:{sig:"1F r[1FM] a[1FM,*A]"},size:{sig:"1F r[1ADI] a[1FM]"}},"http://www.w3.org/2005/xpath-functions/math":{acos:{sig:"1F r[?AO] a[?AO]"}, +asin:{sig:"1F r[?AO] a[?AO]"},atan:{sig:"1F r[?AO] a[?AO]"},atan2:{sig:"1F r[1AO] a[1AO,1AO]"},cos:{sig:"1F r[?AO] a[?AO]"},exp:{sig:"1F r[?AO] a[?AO]"},exp10:{sig:"1F r[?AO] a[?AO]"},log:{sig:"1F r[?AO] a[?AO]"},log10:{sig:"1F r[?AO] a[?AO]"},pi:{sig:"1F r[1AO] a[]"},pow:{sig:"1F r[?AO] a[?AO,1A m[AO,AD,AF]]"},sin:{sig:"1F r[?AO] a[?AO]"},sqrt:{sig:"1F r[?AO] a[?AO]"},tan:{sig:"1F r[?AO] a[?AO]"}}}};var Ni=function(){const a={};a[dc.ib]={apply:{sig:"1F r[*] a[1F,1FA]"},"column-number":{arity:[0,1],sig:"1F r[1ADI] a[1N]"},"compile-XPath":{arity:[1,2,3],sig:"1F r[1ND] a[1AS,?,?]"},"compile-GlobalContext":{sig:"1F r[1] a[1FM,1FM,1FM]"},"discard-document":{sig:"1F r[1ND] a[1ND]"},"has-uniform-namespaces":{sig:"1F r[1AB] a[1N]"},"line-number":{arity:[0,1],sig:"1F r[1ADI] a[1N]"},"marshal-type":{sig:"1F r[1FM] a[1AS]"},"message-count":{sig:"1F r[1ADI] a[?AQ]"},"parse-sequence-type":{arity:[2,3],sig:"1F r[1FM] a[1AS,1NE,?AS]"}, +"parse-XPath":{arity:[1,2,3],sig:"1F r[1ND] a[1AS,?AS,?]"},permute:{sig:"1F r[*] a[*]"},"system-id":{sig:"1F r[*AU] a[]"},timestamp:{sig:"1F r[1AMP] a[]"}};a[dc.Yc]={apply:{sig:"1F r[*] a[1F,1FA]"},call:{sig:"1F r[*] a[1,1AS,1FA]"},contains:{sig:"1F r[1AB] a[1,1AS]"},eval:{sig:"1F r[*] a[1AS]"},event:{sig:"1F r[?] a[]"},get:{sig:"1F r[*] a[1,1AS]"},location:{sig:"1F r[1AS] a[]"},page:{sig:"1F r[1N] a[]"},"query-params":{sig:"1F r[1FM] a[]"},source:{sig:"1F r[?N] a[]"},style:{sig:"1F r[1FM] a[?N]"}, +window:{sig:"1F r[1] a[]"}};a["http://exslt.org/common"]={"node-set":{sig:"1F r[?N] a[?N]",isIdempotent:!0}};return{Hj:function(b){return a[b]},jg:function(b){const h=b.namespace;b=b.signatures;let A=a[h];A||(A={},a[h]=A);Object.entries(b).forEach(P=>{A[P[0]]=P[1]})}}}();var Pi=function(){function a(r){var c;var d={};for(c in r){var n=r[c];d[c]=n}return d}function b(){}function h(r){const c={};if(r){r=r.split(" ");for(let n=0;nu?na:u;n.ad=u+1}n.wk(r);if(r=c.slotTypes)for(Q in r)n.ld[Q]=rc(r[Q]);for(ma in d)n.kc[ma]=d[ma];n.kc[""]="";if(d=c.staticTyping)n.zf=d;if(d=c.xpathDefaultNamespace)n.xpathDefaultNamespace=d;if(d= +c.defaultCollation)n.Hb=d;if(d=c.staticBaseURI)n.staticBaseURI=d;(d=c.contextType)?n.type=new pc(sc(d),2):n.type=n.Pa?null:mc.cc;n.ue=n.type;if(c=c.requiredType)n.ye=nc(c);return n}function q(r){const c=new b;c.type=mc.cc;c.U(r.params,r.inputConvert);"fn xs map array math saxon ixsl".split(" ").forEach(m=>c.kc[m]=qi[m]);for(var d in r.namespaceContext)c.kc[d]=r.namespaceContext[d];r.xpathDefaultNamespace&&(c.xpathDefaultNamespace=r.xpathDefaultNamespace);let n;if(r=r.slotMap){d=-1;let m;for(n in r)m= +r[n],c.Pb[n]=m,d=m>d?m:d;c.ad=d+1}return c}function g(r,c,d){r=Li.process(r,"pattern"===c.type,c.splitPattern,d,"XSLT"===c.language,c.allowEmpty,c.freeVariables);return Ub(r)}function e(r,c=!1){const d={"function":{},globalVariable:{},globalParam:{}};for(const m in r){if("PRIVATE"===r[m].visibility)continue;var n=r[m].actor;const u=fc.Q(n)?n.nodeName:n.N,Q=fc.Q(n)?n.getAttribute("name"):n.name;switch(u){case "function":if(c&&"PUBLIC"!==r[m].visibility&&"FINAL"!==r[m].visibility)break;n=(fc.Q(n)?fc.wc(n, +"arg"):A(n)).length;d[u][Q+"#"+n]=r[m];break;case "globalVariable":case "globalParam":d[u][Q]=r[m]}}return d}function l(r,c=!0){const d={N:r.nodeName};var n=r.attributes,m;for(m=0;mparseInt(n,10)),actor:c,C:[c]};return c.parentNode=r}function G(r){if(!fc.Q(r))return[];let c=[];r.childNodes.forEach(d=>c=c.concat(G(d)));return c}function p(r,c){"ufRef"===r.nodeName?r.setAttribute("bSlot",c[r.getAttribute("name")]):r.hasChildNodes()&&r.childNodes.forEach(d=>p(d,c))}function f(r,c,d){var n=Pd.find("SaxonJS");const m=n.XError,u=n.convertResult;var Q=n.getPlatform(),ma=Q.inBrowser();d||={};d.params||(d.params={});if(r.freeV){const B=d.params; +let L={};r.freeV.forEach(H=>{const S=H.startsWith("Q{}")?B[H.substring(3)]:B[H];if(!S)throw new m("A value for parameter "+H+" is required","SXJS9999");L[H]=S});d.params=L}n=d.inputConvert||"strong";const na=q(d);let O=r.C[0];O.parentNode=r;const ca={name:"evaluate",La:r,Ua:{}};r=new rf;r.resultDocument=Q.createDocument();r.fixed={runtimeFunctionLookupCache:{},gb:{},$b:{},hd:{},gg:0,zb:new Date,Ua:{"Q{}":r.resultDocument.createElement("decimal-format")},bd:{evaluate:ca},staticBaseURI:ma?window.location.href: +null,evaluator:ld};d.staticBaseURI&&(r.fixed.staticBaseURI=d.staticBaseURI);let x,E;if(d.namedDecimalFormats)for(const B in d.namedDecimalFormats){Q=d.namedDecimalFormats[B];ma=r.resultDocument.createElement("decimal-format");for(x in Q)E=Q[x],ma.setAttribute(x,["infinity","NaN"].includes(x)?E:Ia(E)[0]);ca.Ua[/^Q\{/.test(B)?B:"Q{}"+B]=l(ma)}if(d.defaultDecimalFormat){Q=d.defaultDecimalFormat;ma=r.resultDocument.createElement("decimal-format");for(x in Q)E=Q[x],ma.setAttribute(x,["infinity","NaN"].includes(x)? +E:Ia(E)[0]);ca.Ua["Q{}"]=l(ma)}r.localVars=na.mc;if(c)if(c instanceof Ab)r.focus=c;else{if(Array.isArray(c)&&1{Q.params[ma]="dummy"});c=q(Q);m=g(r,Q,c).next()}const u={N:"package",name:"evaluate",C:[m]};n&&(u.freeV=n);return d?u:function(Q,ma={}){return f(u,Q,{params:ma})}},evaluateOnly:f,compileGlobalContext:function(r,c,d){var n=new b;n.g(); +n.yc=r;n.O=c;n.wb=d;r={};d=0;for(let u in c){var m=c[u];const Q=fc.Q(m);m=Q?m.parentNode:m.parent;const ma=Q?m.parentNode:m.parent;r[d++]={actor:m,La:ma,id:parseInt(Q?ma.getAttribute("id"):ma.id,10)}}n.Ta=e(r);return Ub(n)},evaluateXDM:function(r,c,d,n){function m(Z=""){return ma[Z]}var u;const Q=Pd.find("SaxonJS").getPlatform();let ma;const na=P(n.params,n,n.namespaces);na.xa=d.fixed.xa;na.staticBaseURI||(na.staticBaseURI=d.fixed.staticBaseURI);const O=d.fixed.xa;na.Ta=e(d.fixed.xa,n.dynamicEval); +r=g(r,n,na).next();const ca={N:"package",name:"evaluate"};var x={name:"evaluate",La:ca,Ua:{}};r.parentNode=ca;let E=!1;var B=G(r);if(0{const ha=v(Z,l(V),"");V=V.getAttribute("name")+"#"+V.getAttribute("arity");ha.parentNode=ca;na.Ta["function"][V]={actor:ha,La:null,id:Z};X[V]=S++;O[Z]=ha;Z++;K.push(ha)});p(r,X);r=l(r);L=v(1E3,r,L.join(" "));L.parentNode=ca;O[1E3]=L;K.unshift(L);ca.C= +K}else fc.Q(r)?r=l(r):z(r),ca.C=[v(1E3,r,"")],r.parentNode=ca;H=ld.fe(d.currentComponent.actor,d);for(u in H.Ua)x.Ua[u]=H.Ua[u];B=new rf;B.fixed={runtimeFunctionLookupCache:{},gb:{},hd:{},$b:{},gg:0,zb:new Date,Ua:{},xa:d.fixed.xa,evaluator:ld,la:d.fixed.la,yb:d.fixed.yb,staticBaseURI:d.fixed.staticBaseURI,Ae:null,bd:{evaluate:x}};B.fixed.bd[H.name]=H;n.staticBaseURI&&(B.fixed.staticBaseURI=n.staticBaseURI);if(H=n.staticContext){var C=H.decimalFormats;if(C)for(u in C)x.Ua[u]=l(C[u]);if(x=H.resources)for(u in x)if(C= +x[u],C.hasOwnProperty("err")){let Z=C.err;Z=Z.replace(/Q{http:\/\/www\.w3\.org\/2005\/xqt-errors\}/,"");B.fixed.$b[u]=new J(Z+" "+C.description,Z)}else B.fixed.$b[u]=C;if(x=H.sources)for(u in x)if("."!==u)try{const Z=x[u];let K;if("string"==typeof Z){let X=Q.readFile(Z);X=Td.Hh(Td.Gh(X));K=fc.lc(Q.parseXmlFromString(X));K._saxonBaseUri=Z;K._saxonDocUri=Z}else K=Z;B.fixed.gb[u]=K}catch(Z){B.fixed.gb[u]=Z}if(u=H.collectionFinder)ma=u,B.fixed.la.Kh=m;u=H.staticBaseURI;"undefined"!=typeof u&&(B.fixed.staticBaseURI= +"#UNDEFINED"===u?null:u)}n.staticBaseURI&&(B.fixed.staticBaseURI=n.staticBaseURI);B.masterDocument=d.masterDocument;B.resultDocument=Q.createDocument();if(null!=c){n=c.next();if(null!=c.next())throw new J("Context item is a sequence of more than one item","XTTE3210");B.localVars=[];for(c=0;cna.as).join(",")+"] r["+ma.as+"]");return ma.sig}var m=null,u=Mi.Gk[r.q];u&&(m=u[r.local]);if(m&&!d.Pa&&m.XSLTonly)return null;m||r.q!==dc.ac||(Sa.type[r.local]?m={sig:"1F a[?A] r[?"+Sa.type[r.local].code+"]"}:Hd[r.local]&&(m={sig:"1F a[1AS] r[*"+Hd[r.local]+"]"}));if(!m&&d.Ta&&d.Ta["function"]){var Q=r.toEQName();if(d=d.Ta["function"][Q+"#"+c])r=Q,m=d.actor,fc.Q(m)?(fc.wc(m,"arg"),m={sig:m.getAttribute("sig")}):(A(m),m={sig:n(m)}), +m.isUserFunction=!0,m.componentBinding=d.id}else if(!m&&d.fixed&&d.fixed.xa)if(u=`{${r.q}}${r.local}#${c}`,u in d.fixed.runtimeFunctionLookupCache)m=d.fixed.runtimeFunctionLookupCache[u];else{const ma=r.toEQName();for(Q in d.fixed.xa){const na=d.fixed.xa[Q].actor;if("function"===na.N&&na.name===ma&&A(na).length===c){m={sig:n(na),isUserFunction:!0,componentBinding:Q};d.fixed.runtimeFunctionLookupCache[u]=m;break}}}if(!m&&((d=Ni.Hj(r.q))&&(m=d[r.local]),r.q===dc.mi)){r=0c.indexOf("`"))return c.split(".");let d=[""],n=0,m=0,u=!0;for(;mr||r>c)throw new J("Array index ("+r+") out of bounds (1 to "+ +c+")","FOAY0001",v);}function p(r){return r[0].next().value}function f(r){return Ub(new id(r))}function I(r,c,d,n){const m=c.fixed.evaluator;let u=r[1].expand();const Q=r[2].expand()[0],ma=Object.keys(c.localVars).length;if(Q instanceof jd.XdmFunction)r=p(r),n||(r=r.reverse()),r.forEach(na=>{u=Q.evaluate(n?[u,na]:[na,u],c,d).expand()});else{let na;"function"!==Q.N&&(na=Q);r[0].forEachItem(function(O){const ca=c.newContext(!0);na&&(ca.currentComponent=na);ca.clearGrouping();ca.tempOutputState="function"; +ca.currentMode={};ca.currentTemplate=null;ca.focus=null;n?(ca.localVars[ma]=u,ca.localVars[ma+1]=[O]):(ca.localVars[ma]=[O],ca.localVars[ma+1]=u);u=m.evaluate(void 0,ca).expand()})}return Pb(u)}const D={append:function(r){return f(p(r).concat([r[1].expand()]))},filter:function(r,c,d){const n=r[1].expand()[0];Object.keys(c.localVars);r=p(r);if(n.evaluate){const m=[];r.forEach(function(u){const Q=n.evaluate([u],c,d).expand();if(Array.isArray(Q)&&1!==Q.length||!q.boolean.matches(Q[0]))throw new J("Wrong type for function result in filter(). Expecting xs:boolean, supplied value is "+ +Aa.showValue(Q),"XPTY0004",d);Q[0].toBoolean()&&m.push(u)});return f(m)}throw new J("Argument supplied to array:filter is not a function","XPTY0004",d);},flatten:function(r){return ld.flatten(r[0])},"fold-left":function(r,c,d){return I(r,c,d,!0)},"fold-right":function(r,c,d){return I(r,c,d,!1)},"for-each":function(r,c,d){const n=r[1].expand()[0];r=p(r);Object.keys(c.localVars);if(n.evaluate){const m=[];r.forEach(function(u){m.push(n.evaluate([u],c,d).expand())});return f(m)}},"for-each-pair":function(r, +c,d){let n=r[2].expand();if(1!==n.length)throw new J("for-each-pair() must have exactly one function item as the third argument. Supplied length "+n.length,"XPTY0004",d);n=n[0];Object.keys(c.localVars);const m=[],u=r[0].next().value[Symbol.iterator]();r=r[1].next().value[Symbol.iterator]();let Q=u.next().value,ma=r.next().value;if(n instanceof jd.XdmFunction)for(;Q&&ma;)m.push(n.evaluate([Q,ma],c,d).expand()),Q=u.next().value,ma=r.next().value;return f(m)},"_from-sequence":function(r){const c=[]; +r[0].forEachItem(function(d){c.push([d])});return f(c)},get:function(r){const c=p(r);r=r[1].next().toNumber();G(r,c.length);return Pb(c[r-1])},head:function(r){r=p(r);G(1,r.length);return Pb(r[0])},"insert-before":function(r){const c=p(r),d=r[1].next().toNumber();G(d,c.length+1);r=r[2].expand();return f(c.slice(0,d-1).concat([r]).concat(c.slice(d-1)))},join:function(r){const c=[];r[0].forEachItem(function(d){d.value.forEach(function(n){c.push(n)})});return f(c)},put:function(r){const c=p(r),d=r[1].next().toNumber(); +G(d,c.length);r=r[2].expand();return f(c.slice(0,d-1).concat([r]).concat(c.slice(d)))},remove:function(r){const c=p(r),d=[];r[1].forEachItem(function(n){n=n.toNumber();G(n,c.length);d.push(n-1)});return f(c.filter(function(n,m){return 0>d.indexOf(m)}))},reverse:function(r){return f(p(r).slice().reverse())},size:function(r){return Zb(r[0].next().size())},sort:function(r,c,d){const n=Nd.jf(d,r[1],c);let m=ld.atomize;if(r[2]){const u=r[2].next();m=function(Q){return u.evaluate([[Q]],c,d)}}return f(p(r).slice().sort(function(u, +Q){return r[1]?Od(Pb(u).mapOneToMany(m),Pb(Q).mapOneToMany(m),n):Od(Pb(u).mapOneToMany(m),Pb(Q).mapOneToMany(m))}))},subarray:function(r){const c=p(r),d=r[1].next().toNumber();G(d,c.length+1);r=r[2]?r[2].next().toNumber():c.length-d+1;if(0>r)throw new J("Length is negative","FOAY0002");G(d+r,c.length+1);return f(c.slice(d-1,d+r-1))},tail:function(r){r=p(r);G(1,r.length);return f(r.slice(1))},"_to-sequence":function(r){const c=[];p(r).forEach(function(d){d.forEach(function(n){c.push(n)})});return Pb(c)}}; +if(!D[e])throw new J("Unknown array function: "+e,"SXJS0003",v);return D[e](l,z,v)}function A(e,l,z,v){const G={contains:function(p){const f=p[0].next();p=p[1].next();return bc(f.containsKey(p))},create:function(p){const f=new lc;p[0].forEachItem(function(I){I.forAllPairs(function(D){f.inSituPut(D.k,D.v)})});return Ub(f)},entry:function(p){const f=new lc;f.inSituPut(p[0].next(),p[1].expand());return Ub(f)},find:function(p){function f(c){ld.isArray(c)?c.value.forEach(I):ld.pe(c)&&(c.containsKey(r)&& +D.push(c.get(r)),c.keys().forEach(function(d){I(c.get(d))}))}function I(c){c.forEach(f)}const D=[],r=p[1].next();I(p[0].expand());return Ub(new id(D))},"for-each":function(p,f,I){const D=p[0].next(),r=D.keys(),c=p[1].expand()[0];if(c.evaluate){let d=[];r.forEach(function(n){d=d.concat(c.evaluate([[n],D.get(n)],f,I).expand())});return Pb(d)}throw new J("Argument to map:for-each is not a function","XPTY0004",I);},get:function(p){const f=p[0].next();p=p[1].next();return Pb(f.get(p))},keys:function(p){p= +p[0].next();return Pb(p.keys())},merge:function(p){const f=new lc,I=p[1]?p[1].next():null,D=q.string.fromString("duplicates"),r=I&&I.containsKey(D)?I.get(D).toString():"use-first";p[0].forEachItem(function(c){c.forAllPairs(function(d){if(!f.containsKey(d.k)||["use-last","unspecified","use-any"].includes(r))f.inSituPut(d.k,d.v);else{if("reject"===r){var n=q.string.fromString("duplicates-error-code");n=I.containsKey(n)?I.get(n).toString():"FOJS0003";throw new J("Duplicate key value '"+d.k.toString()+ +"'",n,v);}if("combine"===r){let m=[];f.get(d.k).forEach(function(u){m.push(u)});d.v.forEach(function(u){m.push(u)});f.inSituPut(d.k,m)}}})});return Ub(f)},_new:function(p){const f=new lc;p[0]&&p[0].forEachItem(function(I){I.forAllPairs(function(D){if(f.containsKey(D.k))throw new J("Duplicate key value '"+D.k.toString()+"'","XSLT"===z.fixed.la.Xb?"XTDE3365":"XQDY0137",v);f.inSituPut(D.k,D.v)})});return Ub(f)},put:function(p){const f=p[0].next(),I=p[1].next();p=p[2].expand();return Ub(f.put(I,p))}, +remove:function(p){let f=p[0].next();p[1].forEachItem(function(I){f=f.remove(I)});return Ub(f)},size:function(p){let f=0;p[0].next().forAllPairs(function(){f++});return Zb(f)},"untyped-contains":function(p){const f=p[0].next();p=p[1].next();return bc(f.containsKey(p))}};if(!G[e])throw new J("Unknown map function: "+e,"SXJS0003",v);return G[e](l,z,v)}function P(e,l,z,v){function G(r){return null===r?(I=!0,Number.NaN):r.toNumber()}function p(){const r=l[0].next();return G(r?r:ld.Fa(v)(z).next())}function f(){const r= +l[1].next();return G(r?r:ld.Mh(v)(z).next())}let I=!1;const D=function(){switch(e){case "pi":return Math.PI;case "exp":return Math.exp(p());case "exp10":return Math.pow(10,p());case "log":return Math.log(p());case "log10":return Math.log(p())/Math.LN10;case "pow":const r=p(),c=f();return-1===r&&(Infinity===c||-Infinity===c)||1===r?1:Math.pow(r,c);case "sqrt":return Math.sqrt(p());case "sin":return Math.sin(p());case "cos":return Math.cos(p());case "tan":return Math.tan(p());case "asin":return Math.asin(p()); +case "acos":return Math.acos(p());case "atan":return Math.atan(p());case "atan2":return Math.atan2(p(),f());default:throw new J("Unknown math function "+v.name,"XPST0017",v);}}();return I?Tb:$b(D)}const q=Sa.XS,g={};g[dc.ib]={apply:pe.apply,"compile-XPath":function(e,l,z){const v=e[0].next().toString();let G,p;1v[G]}else e=v=>kc(z,v);l= +Li.parseSequenceType(l,e,()=>{let v=z;for(;v&&1===v.nodeType;){if(fc.X(v).q===dc.Jc&&null!=ic(v,"","xpath-default-namespace"))return jc(v,"","xpath-default-namespace");if(null!=ic(v,dc.Jc,"xpath-default-namespace"))return jc(v,dc.Jc,"xpath-default-namespace");v=fc.Oa(v)}});return Ub(ld.Be(ld.Na(l.T()))[0])},"parse-XPath":function(e){const l=e[0].next().toString();let z="parse";1l.push({Mb:Math.random(),Dk:z}));l=l.sort(function(z,v){return z.Mb-v.Mb});e=l.map(z=>z.Dk);return Pb(e)},"system-id":function(e,l){e=l.getCurrentFocus();e=fc.Q(e)?fc.Za(e):null;return Ub(null===e?null:q.anyURI.fromString(e))},timestamp:function(e,l){return Ub(q.vd.fromDate(new Date,-l.fixed.zb.getTimezoneOffset()))}};g["http://exslt.org/common"]={"node-set":function(e){return e[0]}};ld.qk(a);return{evaluate:a,jg:function(e){const l=e.namespace;e=e.signatures;let z=g[l]; +z||=g[l]={};Object.entries(e).forEach(v=>{z[v[0]]=v[1].impl})}}}();var Ri={forceBaseURI:Pi.forceBaseURI};const Si=function(){function a(e,l){return e.rb===l.rb?e.Ec===l.Ec?e.Kd===l.Kd?l.Ei-e.Ei:e.Kd-l.Kd:e.Ec-l.Ec:e.rb-l.rb}function b(e,l){return e.rb===l.rb?e.Ec===l.Ec?0:e.Ec-l.Ec:e.rb-l.rb}function h(e,l){function z(v){return v.n?[v.n.replace(/^(\*:|Q\{.*\})/,"")]:v.u?z(v.u[0]).concat(z(v.u[1])):[]}this.Ve=e;this.wi=e.onNo;this.ti=l.qb(e,"t");l.qb(e,"F")&&(this.ug=!0);this.xh=(e.C||[]).map(function(v){return{Id:v,rb:parseInt(v.prec,10),Ec:parseFloat(v.prio),Kd:parseInt(v.seq,10),dk:parseInt(v.minImp, +10),Ei:parseInt(v.rank,10),ve:Qd.Zc(l.$(v,"match")),matches:oc(v.matches||"1"),Xa:l.$(v,"action")}}).sort(a).reverse();this.Ub={};this.xh.forEach(v=>{const G=v.matches.T();let p,f=[];/^N[EAP]/.test(G.p)?(p=G.p,G.n&&!/}\*$/.test(G.n)?(p+=" "+G.n.replace(/^(\*:|Q\{.*\})/,""),f=[p]):f=G.u?[...(new Set(z(G)))].map(I=>p+" "+I):[p]):f=["."];f.forEach(I=>{let D=this.Ub[I];D||(this.Ub[I]=D=[]);D.push(v)})})}const A=Sa.XS,P=fc.va,q={TC:function(e,l,z,v){if(fc.Q(e))switch(e.nodeType){case 9:case 11:case 1:z= +z.newContext(!1);z.focus=Xb(P.wa(e));l.xb(z,v);break;case 3:case 4:v.append(e);break;case 2:v.text(e.value)}else if(A.lg.matches(e))v.text(e.toString());else if(ld.isArray(e)){let G=[];e.value.forEach(p=>{G=G.concat(p)});e=z.newContext(!1);e.focus=Xb(Pb(G));l.xb(e,v)}},SC:function(e,l,z,v){return ee.Rg(e,z,"c",function(){const G=z.newContext(!1);G.focus=Xb(P.attribute(e));l.xb(G,v);G.focus=Xb(P.wa(e));l.xb(G,v)},v)},DC:function(e,l,z,v){fc.Q(e)&&(v.cb=fc.Za(e));v.append(e)},DS:function(e,l,z,v){if(fc.Q(e))switch(e.nodeType){case 9:case 11:z= +z.newContext(!1),z.focus=Xb(P.wa(e)),l.xb(z,v)}},SS:function(e,l,z,v){if(fc.Q(e))switch(e.nodeType){case 9:case 11:case 1:z=z.newContext(!1),z.focus=Xb(P.attribute(e)),l.xb(z,v),z.focus=Xb(P.wa(e)),l.xb(z,v)}else if(ld.isArray(e)){let G=[];e.value.forEach(p=>{G=G.concat(p)});e=z.newContext(!1);e.focus=Xb(Pb(G));l.xb(e,v)}},bubble:function(e,l,z,v){fc.Q(e)?1===e.nodeType&&(z=z.newContext(!1),z.focus=Xb(P.parent(e)),l.xb(z,v)):v.append(e)}};q.TO=q.TC;const g={1:"NE",2:"NA",3:"NT",7:"NP",8:"NC",9:"ND", +11:"ND",13:"NN"};h.prototype={Ve:null,xh:null,wi:"TC",ti:!1,ug:!1,xb:function(e,l,z){if(z){let v=!0;e.focus.forEachItem(G=>{v?v=!1:l.text(z.value,{});this.We(G,e,l)})}else e.focus.forEachItem(v=>this.We(v,e,l))},ij:function(e,l){const z=e.currentTemplate;if(!z)throw new J("No current template rule","XTDE0560");return this.We(e.getCurrentFocus(),e,l,function(v){return v.rb>=z.dk&&v.rba(v,z)})},xj:function(e,l,z){let v=null,G=null;const p=this.ug;var f=[];if(fc.Q(e)){const D=g[e.nodeType];var I=fc.X(e);if(I=I?I.local:null)I=D+" "+I,this.Ub[I]&&f.push(this.Ub[I]);this.Ub[D]&&f.push(this.Ub[D]);this.Ub.N&&f.push(this.Ub.N)}this.Ub["."]&&f.push(this.Ub["."]);(function(D){D.forEach(r=>{r.forEach(function(c){if(!z||z(c))if(!v||0!0;else if("strip.none"===x.N)B=()=>!1;else{let L={},H={},S={},C={},Z={},K=function(V,ha,w){V[ha]?parseInt(w.rb,10)>parseInt(V[ha].rb,10)&&(V[ha]=w):V[ha]=w};(x.C||[]).forEach(V=>{const ha=oc(V.test);ha instanceof td?(V.PREC=parseInt(V.prec,10),V.PRIO=2,K(L,ha.name.toEQName(),V)):ha instanceof vd?(V.PREC=parseInt(V.prec,10),V.PRIO=1,K(H,ha.q,V)):ha instanceof ud?(V.PREC=parseInt(V.prec,10),V.PRIO=1,K(S,ha.localName,V)):ha instanceof Oc?(V.PREC=parseInt(V.prec,10),V.PRIO= +0,K(C,"*",V)):Aa.fa("Unrecognised strip-space "+V.test)});const X=(V,ha)=>{const w=[],M=L["Q{"+V+"}"+ha];M&&w.push(M);(V=H[V])&&w.push(V);(ha=S[ha])&&w.push(ha);C["*"]&&w.push(C["*"]);w.sort((aa,ja)=>{const Y=aa.PREC,y=ja.PREC;return Y===y?ja.PRIO-aa.PRIO:y-Y});return 0{const w="Q{"+V+"}"+ha,M=Z[w];if(M)return"s"===M;V=X(V,ha);Z[w]=V?"s":"p";return V}}else B=()=>!1;return function(L){E(L);return L}}function h(x,E,B){function L(W){W=new $d(W);X.fixed.Aj=W;return new ee.getComplexContentOutputter(W)} +function H(){}function S(){Q&&!B.Kg&&p(X)}var C=ld.db(x,"strip")[0]||ld.db(x,"strip.all")[0];let Z=null;if(C||Q)Z=b(C),E&&Z&&(E=Z(E));B.Qi&&B.Qi(x);B.gm=null;const K=B.Bh,X=I(x,E,B);X.fixed.pm=X.fixed.md.La.version;D(X,function(W){return"globalParam"===W.N&&W.flags&&-1!==W.flags.indexOf("r")}).map(function(W){return W.name}).map(function(W){if("undefined"===typeof X.fixed.la.stylesheetParams.get(Sa.XS.QName.fromEQName(W)))throw new J("No value has been provided for required stylesheet parameter '"+ +W+"'","XTDE0050");});X.fixed.Ae=Z;E&&(fc.lc(E),X.fixed.gb[E._saxonBaseUri]=E);const V=B.destination||"application",ha=B.resultForm||"default";if(B.deliverResultDocument){let W=B.deliverResultDocument("testURI");["document","serialized","raw"].includes(W.destination)&&!W.save&&(B.deliverResultDocument=function(){return new oe(W.destination,B.resultDocuments)})}B.deliverResultDocument||(B.deliverResultDocument=Q?function(){return new ne("html-page",function(W,ka){B.resultDocuments[W.toString()]=ka})}: +K?function(){return new ne("file",function(W,ka,ea){ka=u.writeFileAsync(W,ka,ea);Aa.Qa("Promising to write to "+W,2,X.fixed.Ga);X.fixed.nd.push(ka)})}:function(){return new ne("file",function(W,ka,ea){Aa.Qa("Writing to "+W,2,X.fixed.Ga);u.writeFileSync(W,ka,ea)})});let w;const M={};C=X.fixed.md;var aa=C.Mg["#unnamed"];if(aa){aa=aa.C;var ja,Y;for(var y=0;yaa.indexOf("Q{")&& +(aa="Q{}"+aa);C=c(X,aa);if(!C)throw new J("Unknown initial mode "+aa,"XTDE0045");y="Q{"+dc.Jc+"}initial-template";E||ja||Y||d(X,y)&&(Y=y);let da=B.Mj;if(da){E=B.functionParams?B.functionParams:[];ja=E.length;Y=n(X,da.toString(),ja);if(!Y)throw new J("Unknown initial function "+da+"#"+ja,"XTDE0041");if("PUBLIC"!==Y.La.vis&&"FINAL"!==Y.La.vis)throw new J("Uninvocable initial function "+da+"#"+ja+" with visibility "+Y.La.vis,"XTDE0041");const W=Y.La.C[0];X.focus={};X.currentComponent=Y;X.clearGrouping(); +X.tempOutputState="function";X.currentMode=C;X.currentTemplate=null;let ka=0;X.localVars=E.map(function(ea){var va=W.C[ka++].as;va=nc(va||"*");return ld.pg(ld.Na(ea),va,()=>"function parameter for "+da)});E=H();ee.push(ld.$(W,"body"),X,E);E.close()}else if(Y){ja=d(X,Y);if(!ja)throw new J("Unknown initial template "+Y,"XTDE0040");Y=ja.actor;X.fixed.Uc?X.focus=Wb(E):(X.focus=Xb(Tb),X.focus.next());ld.og(Y,X);X.currentComponent=ja;X.currentMode=C;A(B,X);E=H();ee.push(Y.C[0],X,E);E.close()}else{Array.isArray(ja)&& +Z&&ja.filter(fc.Q).map(function(W){return fc.nf(W)?W:W.ownerDocument}).map(function(W){return Z(W)});if("PRIVATE"===C.visibility&&aa!==x.defaultMode&&""!==aa)throw new J("Uninvokable initial mode "+aa+" with visibility "+C.La.vis,"XTDE0045");if(!E&&!ja)throw new J("No source input supplied for apply-templates invocation","XTDE0044");Y=C.mode;X.currentComponent=C;X.focus=Xb(ja?Pb(Array.isArray(ja)?ja:[ja]):Ub(E));E=Y.Ve.useAcc;null!=E&&"#all"!==E&&(X.useAccumulators=E.split(/\s+/));A(B,X);E=H();Y.xb(X, +E);E.close()}S();if(K){function W(){const ka=X.fixed.nd;X.fixed.nd=[];return Promise.all(ka).then(()=>{if(0{throw ea;}).then(()=>Promise.resolve(new me(B.principalResult,B.resultDocuments,x,B.masterDocument)))}B.resultPromise=W()}}function A(x,E){x.templateParams&&(Aa.ba(x.templateParams instanceof lc,"options?templateParams must be an instance of HashTrie. Supplied:"+x.templateParams),E.localParams=x.templateParams);x.tunnelParams&&(Aa.ba(x.templateParams instanceof +lc,"options?tunnelParams must be an instance of HashTrie. Supplied:"+x.tunnelParams),E.tunnelParams=x.tunnelParams)}function P(x){let E="";for(const B in x)x.hasOwnProperty(B)&&x[B]&&(E+=B+"="+x[B].toString().substring(0,30)+"("+typeof B+"), ");return E}function q(x){let E=x.stylesheetInternal||null;if(!E){if(x.Eb)var B=u.readFile(x.Eb);else if(x.stylesheetText)B=x.stylesheetText;else if(x.Zb){if(Q)throw new J("Cannot supply stylesheetFileName in browser","SXJS0006");B=u.readFile(x.Zb)}else throw new J("No stylesheet supplied", +"SXJS0006");try{E=JSON.parse(B)}catch(H){throw new J("Supplied SEF is not in JSON format","SXJS0006");}}v(E,x);E.PRIMED||(G(E),g(E),E.PRIMED=!0);"true"===E.relocatable&&(x.Xc=!0);B=x.yf||null;let L;B&&(L=x.yf.Za||x.Md)&&(B._saxonBaseUri=L);if(!B){let H;if(x.Hc)L=x.Hc,H=u.readFile(L);else if(x.ze)L=x.Md,H=x.ze;else if(x.Gc){if(Q)throw new J("Cannot supply sourceFileName in browser","SXJS0006");L=x.Gc;H=u.readFile(L)}if(H)if("json"===x.Li)B=Sd.Gd(H,null);else{if("string"!==typeof H)throw new J("Supplied sourceText is not a string", +"SXJS0006");B=u.parseXmlFromString(H);L&&(B._saxonBaseUri=B._saxonDocUri=L)}}h(E,B,x);return new me(x.principalResult,x.resultDocuments,E,x.masterDocument)}function g(x){x.C&&x.C.forEach(function(E){E.parentNode=x;g(E)})}function e(x){if(x instanceof lc)return x;const E=new lc;x&&Object.keys(x).forEach(B=>E.inSituPut(Sa.XS.QName.fromEQName(B),ld.Na(x[B])));return E}function l(x){const E={};for(let [B,L]of Object.entries(x))E[B]="use-character-maps"===B?L:le.uf(B,L,null);return E}function z(x){const E= +(B,L)=>{let H=null;for(let S of L)if(B[S]){if(H)throw new J("The following transform options are mutually exclusive: "+L.toString(),"SXJS0006");H=S}return H};E(x,["stylesheetText","stylesheetInternal","stylesheetLocation","stylesheetFileName"]);E(x,["sourceNode","sourceText","sourceLocation","sourceFileName"]);return{stylesheetText:x.stylesheetText,stylesheetInternal:x.stylesheetInternal,Eb:x.stylesheetLocation,Zb:x.stylesheetFileName,Qd:x.stylesheetBaseURI,stylesheetParams:e(x.stylesheetParams), +yf:x.sourceNode,ze:x.sourceText,Hc:x.sourceLocation,Gc:x.sourceFileName,Li:x.sourceType||"xml",Md:x.sourceBaseURI,masterDocument:x.masterDocument,Pj:x.initialTemplate,Mj:x.initialFunction,functionParams:x.functionParams,templateParams:e(x.templateParams),tunnelParams:e(x.tunnelParams),Nj:x.initialMode,gb:x.documentPool,$b:x.textResourcePool,destination:x.destination,yb:x.baseOutputURI||(x.masterDocument?x.masterDocument._saxonBaseUri:void 0),Aa:x.outputProperties,principalResult:void 0,rg:x.deliverMessage, +deliverResultDocument:x.deliverResultDocument,sc:x.collations,Kh:x.collectionFinder,Ga:x.logLevel,Qi:x.traceInjector,Uc:x.globalContextItem,Oj:x.initialSelection,me:x.isDynamicStylesheet,Xc:x.isRelocatableStylesheet,Xb:x.language,ri:x.messages,resultDocuments:{},resultForm:x.resultForm,Dl:x.extraOptions,Kg:x.nonInteractive,kj:x.attachEventsTo,Bh:x.async}}function v(x,E){if("package"===x.N){const B=x.target||"not specified",L=x.targetVersion||"",H=x.saxonProduct;let S=x.saxonVersion||"9.8.0.5";H&& +!/Saxon/.test(S)&&(S=H+" "+S);Aa.Qa("SEF generated by "+S+" at "+(x.buildDateTime||"2000-01-01"),2,E.Ga);if("JS"!==B||"2"!==L)throw new J("Supplied SEF is not customized for use with SaxonJS. The option -target:JS should be set when generating the export. target is: "+B,"SXJS0006");if("9"===S.charAt(0))throw new J("For use with SaxonJS 2.x, SEF must be generated by SaxonJ-EE 10.0 or later. Supplied SEF is generated by SaxonJ-EE version "+S,"SXJS0006");if(x.expiry&&0>ma.Oc.fromString(x.expiry).compareTo(ma.Oc.fromDate(new Date, +0)))throw new J("Development license for supplied stylesheet has expired","SXJS0006");}else throw new J("Supplied SEF does not have correct format","SXJS0006");}function G(x){function E(Z,K){K<<=8;for(let X=0;XH?4294967295+H+1:H).toString(16);if(C!==x){if("unspecified"===x)throw new J("No checksum found in SEF","SXJS0006");throw new J("Invalid checksum in SEF "+x+" != "+C,"SXJS0006");}}function p(x,E=null){function B(H,S){function C(K){const X=K.target;var V=x.newContext(!0);V.tempOutputState=!1;V.currentEvent=K;V.focus=Xb(Ub(ld.Na(X)[0]));V.currentComponent=H;K= +ae(x);K=new ee.getComplexContentOutputter(K);(V=Z.xb(V,K))&&V.expand()}const Z=H.mode;-1==="httpabort afterprint beforeprint beforeunload hashchange languagechange message offline online pagehide pageshow popstate storage unhandledrejection unload resize".split(" ").indexOf(S)?E?E.zh(S,C,!1):window.document.zh(S,C,!1):window.zh(S,C,!1)}const L=x.fixed.xa;Object.keys(L).forEach(function(H){H=L[H];H.mode&&H.mode.ii()&&(H.name.split("}on")[1]?B(H,H.name.split("}on")[1]):console.log("Invalid event handler name:", +H.name))})}function f(x,E){return x.C?x.C.filter(function(B){return B.N===E}):[]}function I(x,E,B){function L(X,V){H(x,X,V)}function H(X,V,ha){X.N===V&&ha(X);X.C&&X.C.forEach(function(w){H(w,V,ha)})}function S(X){return(X=X.name)?/^Q\{/.test(X)?X:"Q{}"+X:null}function C(X,V){function ha(w){w=f(w,"co");for(let M=0;M{const ha=X[V];if(fc.nf(ha))K.fixed.gb[V]=ha;else throw new J("Supplied value for "+V+" is not a document node");})}if(B.$b){const X=B.$b;Object.keys(X).forEach(V=>{K.fixed.$b[V]=X[V].toString()})}B.sc|| +(B.sc={});B.sc[Nd.Nc]=Nd.codepointCollation();B.sc[Nd.Xh]=Nd.bf();B.sc[Nd.Fg]=Nd.Ah();B.sc[Nd.Ui]=Nd.bf();L("package",function(X){const V={name:X.name,La:X,wb:{},Eh:{},Ua:{},Mg:{},keys:{},Ri:null};K.fixed.bd[V.name]=V;K.fixed.md||(K.fixed.md=V);C(X,function(ha){const w=parseInt(ha.id,10);K.fixed.xa[w]={id:w,visibility:ha.vis,La:ha,zi:V,actor:null,$e:ha.binds.split(" ").map(function(M){return parseInt(M,10)})}})});L("package",function(X){const V=K.fixed.bd[X.name];C(X,function(Y){const y=K.fixed.xa[parseInt(Y.id, +10)];Y=y.actor=Z(Y,K);null!==Y&&(y.name=S(Y),"globalVariable"===Y.N||"globalParam"===Y.N?y.value=null:"mode"===Y.N&&(y.mode=new Si(Y,ld),null===S(Y)&&(V.Ri=y.mode)),"ABSTRACT"===Y.parentNode.vis&&(y.visibility="ABSTRACT"))});if(0Y.max&&(Y.max= +da);Y.oa[da]=y.s}),55296{Z=JSON.parse(V)}).catch(V=>Promise.reject(new J("Failed to read JSON input "+L.Zb+": "+V,"SXJS0006"))), +x.push(S)):L.Eb?(S=u.resourcePromise({location:L.Eb,encoding:"utf-8",type:"json"}).then(V=>{Z=JSON.parse(V)}).catch(V=>Promise.reject(new J("Failed to read JSON input "+L.Eb+": "+V,"SXJS0006"))),x.push(S)):x.push(Promise.reject(new J("No stylesheet supplied","SXJS0006")));K=L.yf||null;X=L.Li||"xml";K&&(S=L.yf.Za||L.Md)&&(K._saxonBaseUri=S);if(!K){S=(ha,w)=>{ha=Td.Hh(Td.Gh(ha));ha=u.parseXmlFromString(ha);w&&(ha._saxonBaseUri=ha._saxonDocUri=w);return ha};C=ha=>Sd.Gd(ha,null);const V="xml"===X?S:C; +L.ze?"string"!==typeof L.ze?x.push(Promise.reject(new J("Supplied sourceText is not a string","SXJS0006"))):K=V(L.ze,L.Md):L.Gc?(S=u.resourcePromise({file:L.Gc}).then(ha=>K=V(ha,L.Gc)).catch(ha=>Promise.reject(new J(`Failed to read ${X.toUpperCase()} source input (${ha.message})`,"SXJS0006"))),x.push(S)):L.Hc&&(S=u.resourcePromise({location:L.Hc}).then(ha=>{K=V(ha,L.Hc)}).catch(ha=>Promise.reject(new J(`Failed to read ${X.toUpperCase()} source input (${ha.message})`,"SXJS0006"))),x.push(S))}return Promise.all(x).then(()=> +{var V=Z,ha=K,w=L;if(!V)throw new J("No stylesheet supplied","SXJS0006");try{v(V,w);V.PRIMED||(G(V),g(V),V.PRIMED=!0);"true"===V.relocatable&&(w.Xc=!0);h(V,ha,w);var M=w.resultPromise}catch(aa){throw console.log("Transformation failure: "+(aa.getMessage?aa.getMessage():aa)),aa;}return M})},Serializer:le,serialize:function(x,E){const B={"iso-8859-1":"latin1","iso-646":"ascii"};x=le.serialize(x,E);return E&&E.encoding?(E=E.encoding,E=B[E]||E,ya.makeBuffer(x,E)):x},StringWriter:le.StringWriter,getProcessorInfo:function(){return{version:3, +vendor:"Saxonica",vendorURL:"https://www.saxonica.com/",productName:"SaxonJS",productVersion:"2.7",isSchemaAware:!1,supportsSerialization:!0,supportsBackwardsCompatibility:!0,supportsNamespaceAxis:!0,supportsStreaming:!1,supportsDynamicEvaluation:!0,supportsHigherOrderFunctions:!0,xPathVersion:3.1,xsdVersion:1.1,releaseDate:"2024-10-17"}},getResource:function(x){const E=x.type||"text";let B;if(x.file){var L=u.resourcePromise(x);B=u.fileURL(x.file)}else if(x.location)if(L=x.location, +L instanceof URL||(L=u.newURL(L,u.baseURL()),x.location=L.toString()),B=L.href,"file:"===L.protocol)L=u.resourcePromise(x);else if(["http:","https:"].includes(L.protocol))L=u.resourcePromise(x);else return Promise.reject(new J("Unsupported URL protocol "+L.protocol,"SXJS0006"));else if(x.text)L=Promise.resolve(x.text),x.baseURI&&(B=x.baseURI);else return Promise.reject(new J("No resource supplied","SXJS0006"));"xml"===E?L=L.then(H=>{try{const S=fc.lc(u.parseXmlFromString(H));S._saxonBaseUri=S._saxonDocUri= +B;return Promise.resolve(S)}catch(S){return Promise.reject(new J("Failed parsing XML in "+B+": "+S.message,S.code))}}):"json"===E&&(L=L.then(H=>{try{return Promise.resolve(Sd.Gd(H,new lc,new rf))}catch(S){return Promise.reject(new J("Failed parsing JSON in "+B+": "+S.message,S.code))}}));return L},setLogLevel:Aa.setLogLevel,getLogLevel:Aa.getLogLevel,setPlatform:a,getPlatform:function(){return u},getNavigator:function(){return window.$l.lm},timeStamp:Q&&window.Bi&&window.Bi.now?window.Bi.now:function(){return Date.now().valueOf()}, +internalTransform:h,checkOptions:z,convertResult:m,makeAtomicValue:function(x,E){return Sa.type[x].fromString(E)},registerExtensionFunctions:function(x){Ni.jg(x);Qi.jg(x)},getItemDetails:function(x){if(Sa.ka(x)){const E={variety:"atomic",type:x.type,value:x.toString()};"AQ"===x.code&&(E.prefix=x.prefix,E.uri=x.q,E.local=x.local);return E}return fc.Q(x)?{variety:"node",type:x.nodeType()}:{variety:x instanceof id?"array":"map"}},getConfigurationProperties:function(){const x={};Object.keys(O).forEach(E=> +{x[E]=O[E]});return x},getConfigurationProperty:function(x){if(x in O)return O[x]},setConfigurationProperties:function(x){const E={};Object.keys(O).forEach(B=>{E[B]=O[B]});Object.keys(x).forEach(B=>{"autoResetIndexes"==B||"nativeGetElementById"==B?O[B]=!!x[B]:Aa.Qa("The configuration property "+B+" is unrecognized")});return E},setConfigurationProperty:function(x,E){if("autoResetIndexes"==x||"nativeGetElementById"==x){let B=O[x];O[x]=!!E;return B}Aa.Qa("The configuration property "+x+" is unrecognized")}, +resetIndexes:function(x){Q&&!x&&(x=window.document);return x&&"_saxonIndexes"in x?(delete x._saxonIndexes,delete x._saxonIndexesBC,delete x._saxonXmlIdIndex,!0):!1},XdmArray:id,XdmAtomicValue:Ra,XdmAttributeNode:ec,XdmFunction:jd,XdmMap:lc,XError:J,XPath:Ii,XS:ma};Q||"undefined"!==typeof HostPlatform?(HostPlatform.entryPoint=ca,a(HostPlatform),u.expose(ca,"SaxonJS")):console.log("Platform binding delayed");ca.Developer=Ri;Sa.fg();Ma.fg();vc();Pd.register("SaxonJS",ca);return ca})(); diff --git a/Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.min.js b/Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.min.js new file mode 100644 index 0000000..85d7a51 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.min.js @@ -0,0 +1,4615 @@ +/** + * Skipped minification because the original files appears to be already minified. + * Original file: /npm/saxon-js@2.7.0/SaxonJS2N.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var oa,qa=function(){function a(){function g(e){if(!(this instanceof g))return void 0===e?a():new g(e);if(e instanceof g)this.ha=e.ha,this.e=e.e,this.c=e.c.slice();else{var l,z,v;0===e&&0>1/e?e="-0":q.test(e=""+e)||A(NaN);this.ha="-"==e.charAt(0)?(e=e.slice(1),-1):1;-1<(l=e.indexOf("."))&&(e=e.replace(".",""));0<(z=e.search(/e/i))?(0>l&&(l=z),l+=+e.slice(z+1),e=e.substring(0,z)):0>l&&(l=e.length);for(z=0;"0"==e.charAt(z);z++);if(z==(v=e.length))this.c=[this.e=0];else{for(;"0"==e.charAt(--v););this.e= +l-z-1;this.c=[];for(l=0;z<=v;this.c[l++]=+e.charAt(z++));}}this.constructor=g}g.prototype=P;g.Td=20;g.Oe=1;g.Ud=-7;g.Je=21;return g}function b(g,e,l){var z=g.constructor,v=e-(g=new z(g)).e,G=g.c;G.length>++e&&h(g,v,z.Oe);G[0]?l?v=e:(G=g.c,v=g.e+v+1):++v;for(;G.lengthg.ha&&G[0]?"-":"")+(1v?"e":"e+")+v:g.toString()}function h(g,e,l,z=!1){var v=g.c,G=g.e+e+1;1===l?z=5<=v[G]:2===l?z=5G||void 0!==v[G+1]||v[G-1]&1):3===l?z=z||void 0!==v[G]||0>G:(z=!1,0!==l&&A("!Big.RM!"));if(1>G||!v[0])z?(g.e=-e,g.c=[1]):g.c=[g.e=0];else{v.length=G--;if(z)for(;9<++v[G];)v[G]=0,G--||(++g.e,v.unshift(1));for(G=v.length;!v[--G];v.pop());}return g}function A(g){g=Error(g);g.name="BigError";throw g;}var P={},q=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;P.abs=function(){var g=new this.constructor(this);g.ha=1;return g};P.eb=function(g){var e=this.c,l=(g=new this.constructor(g)).c,z=this.ha,v=g.ha,G= +this.e,p=g.e;if(!e[0]||!l[0])return e[0]?z:l[0]?-v:0;if(z!=v)return z;g=0>z;if(G!=p)return G>p^g?1:-1;z=-1;for(v=(G=e.length)<(p=l.length)?G:p;++zl[z]^g?1:-1;return G==p?0:G>p^g?1:-1};P.Ib=function(g,e,l){var z=this.constructor,v=this.c,G=(g=new z(g)).c,p=this.ha===g.ha?1:-1;e="undefined"!==typeof e?e:z.Td;l="undefined"!==typeof l?l:z.Oe;(e!==~~e||0>e||1E6Q?0:Q;for(I.unshift(0);d++f;f++){if(z!=(d=c.length))var ma=z>d?1:-1;else{var na=-1;for(ma=0;++nac[na]?1:-1;break}}if(0>ma){for(g=d==z?G:I;d;){if(c[--d]Q&&h(n,e,l,void 0!==c[0]);return n};P.qj=function(){var g=qa(0);return!this.eb(g)};P.g=function(g){return 0this.eb(g)};P.x=function(g){return 1>this.eb(g)};P.sub=P.te=function(g){var e=this.constructor;var l=this.ha,z=(g=new e(g)).ha;if(l!=z)return g.ha=-z,this.xe(g);var v=this.c.slice();var G=this.e;var p=g.c,f=g.e;if(!v[0]||!p[0])return p[0]?(g.ha=-z,g):new e(v[0]?this:0);if(l=G-f){(e=0>l)?(l= +-l,G=v):(f=G,G=p);G.reverse();for(z=l;z--;G.push(0));G.reverse()}else for(G=((e=v.lengthl;){if(v[--G]v.length-p.length&&(e=p,p=v,v=e);l=p.length;for(z=0;l;)z=(v[--l]=v[l]+p[l]+z)/10|0,v[l]%=10;z&&(v.unshift(z), +++G);for(l=v.length;0===v[--l];v.pop());g.c=v;g.e=G;return g};P.pow=function(g){var e=this,l=new e.constructor(1),z=l,v=0>g;(g!==~~g||-1E6>g||1E6>=1;if(!g)break;e=e.times(e)}return v?l.Ib(z):z};P.round=function(g,e){var l=this,z=l.constructor;null==g?g=0:(g!==~~g||0>g||1E6l&&A(NaN);l=Math.sqrt(this.toString());0===l||l===1/0?(l=e.join(""),l.length+z&1||(l+="0"),e=new g(Math.sqrt(l).toString()),e.e=((z+1)/2|0)-(0>z||z&1)):e=new g(l.toString());l=e.e+(g.Td+=4);do z=e,e=v.times(z.xe(this.Ib(z)));while(z.c.slice(0,l).join("")!==e.c.slice(0,l).join(""));h(e,g.Td-=4,g.Oe);return e};P.z=P.times=function(g){var e=this.constructor;var l=this.c,z=(g=new e(g)).c,v=l.length,G=z.length,p=this.e,f=g.e;g.ha=this.ha==g.ha?1:-1;if(!l[0]||!z[0])return new e(0*g.ha);g.e=p+f;vp;)G=e[f]+z[p]*l[f-p-1]+G,e[f--]=G%10,G=G/10|0;e[f]=(e[f]+G)%10}G&&++g.e;e[0]||e.shift();for(p=e.length;!e[--p];e.pop());g.c=e;return g};P.toString=P.valueOf=P.toJSON=function(){var g=this.constructor,e=this.e,l=this.c.join(""),z=l.length;if(e<=g.Ud||e>=g.Je)l=l.charAt(0)+(1e?"e":"e+")+e;else if(0>e){for(;++e;l="0"+l);l="0."+l}else if(0z)for(e-=z;e--;l+="0");else ethis.ha&&this.c[0]?"-"+l:l};P.b=function(g){null==g?g=this.c.length-1:(g!==~~g||0>g||1E6=g&&(v=b(this,this.e+g),0>this.ha&&this.c[0]&&0>v.indexOf("-")&&(v="-"+v));e.Ud=l;e.Je=z;v||A("!toFix!");return v};P.toPrecision=function(g){if(null==g)return this.toString(); +(g!==~~g||1>g||1E6=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||>=",C:[{N:"varRef", +name:"Q{}lineAtt",slot:"3"}]},{N:"int",val:"0"}]},{N:"check",line:"422",card:"1",diag:"3|0|XTTE0570|lineNumber",C:[{N:"cast",flags:"ae",as:"?ADI",C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"varRef",name:"Q{}lineAtt",slot:"3"}]}]}]},{N:"true"},{N:"check",line:"426",card:"1",diag:"3|0|XTTE0570|lineNumber",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"check",card:"?",diag:"0|0||saxon:line-number",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"}]}]}]}]}]},{N:"sequence", +line:"433",C:[{N:"choose",C:[{N:"compareToInt",op:"ge",val:"0",C:[{N:"varRef",name:"Q{}lineNumber",slot:"2"}]},{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:" on line "},{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}lineNumber",slot:"2"}]}]}]}]},{N:"let",line:"436","var":"Q{}module",as:"?",slot:"4",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"},{N:"lastOf",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"fn",name:"reverse",C:[{N:"axis", +name:"ancestor-or-self",nodeTest:"NE"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}baseUri"}]}]}]}]}]},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"}]}]}]}]},{N:"choose",line:"437",C:[{N:"varRef",name:"Q{}module",slot:"4"},{N:"valueOf",C:[{N:"fn",line:"443",name:"concat",C:[{N:"str",val:" in "},{N:"let","var":"Q{}tokens", +as:"*AS",slot:"5",C:[{N:"fn",name:"tokenize",C:[{N:"check",line:"437",card:"1",diag:"0|0||f:abbreviated-module-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:abbreviated-module-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:abbreviated-module-uri",C:[{N:"data",diag:"0|0||f:abbreviated-module-uri",C:[{N:"varRef",name:"Q{}module",slot:"4"}]}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]},{N:"let",line:"444","var":"Q{}n",as:"1ADI",slot:"6",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}tokens", +slot:"5"}]},{N:"fn",line:"445",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}tokens",slot:"5"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}n",slot:"6"},{N:"int",val:"1"}]}]},{N:"str",val:"/"}]},{N:"subscript",C:[{N:"varRef",name:"Q{}tokens",slot:"5"},{N:"varRef",name:"Q{}n",slot:"6"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]}]},{N:"co",id:"124",binds:"",C:[{N:"mode",name:"Q{}param.type",onNo:"TC",flags:"We",patternSlots:"0"}]},{N:"co",id:"125", +binds:"7 7 7 126 127 52 128 126 129 73 127 73 51 1 69 7 7 7 7 130 62 127 73 52 66 129 131 132 69 7 1 1 1 69 7 22 126 127 133 134 7 22 7 1 7 135 7 127 136 72 137 7 7 137 137 7 126 137 22 22 7 22 25 7 127 65 99 137 48 101 137 123 123 25 138 127 7 50 1 69 7 137 7 66 139 127 61 140 126 126 141 126 7 127 52 127 52 66 137 101 137 123 142 54 7 135 7 127 143 64 144 72 7 22 25 7 1 69 7 66 67 67 67 127 7 145 132 1 7 146 146 137 22 1 137 7 127 52 126 132 69 7 1 1 137 7 1 69 7 132 69 7 1 1 126 141 127 7 52", +C:[{N:"mode",name:"Q{}process-xpath",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"3.0",seq:"291",rank:"5",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"853",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"853",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"854",flags:"t",C:[{N:"withParam",name:"Q{}nsAttribute",flags:"t",as:"1NA",C:[{N:"check",line:"855",card:"1",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ns"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"282",rank:"4",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"561",module:"xpath.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"561",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"literal",count:"2",C:[{N:"str",val:"count"},{N:"str",val:"from"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nodeNum"}]},{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"561",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"match"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"}]}]},{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"561",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"match"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"562","var":"Q{}temp", +as:"*NE",slot:"1",C:[{N:"treat",line:"563",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]},{N:"iterate",line:"565",C:[{N:"tail",role:"select",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"params",role:"params",line:"566",C:[{N:"param",name:"Q{}partial",slot:"0",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"supplied",role:"conversion",slot:"0"}]}]},{N:"varRef",role:"on-completion",line:"567",name:"Q{}partial",slot:"0"},{N:"nextIteration",role:"action", +line:"568",C:[{N:"withParam",name:"Q{}partial",as:"1NE",slot:"0",C:[{N:"elem",line:"570",name:"p.venn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"op",flags:"l",C:[{N:"str",val:"union"}]},{N:"docOrder",line:"571",intra:"0",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}partial",slot:"0"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"varRef", +line:"571",name:"Q{}partial",slot:"0"},{N:"dot",line:"571",type:"1NE"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"275",rank:"3",minImp:"0",slots:"5",matches:"NE",flags:"s",line:"252",module:"xpath.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}template"}]}, +{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"254",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables", +C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"262",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"263",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"},{N:"choose",line:"264",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"att",line:"266",name:"slot",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"subscript", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"int",val:"2"}]},{N:"int",val:"0"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"let",line:"270","var":"Q{}def",as:"1NE",slot:"1",C:[{N:"choose",line:"271",C:[{N:"compareToInt",line:"272",op:"le",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence", +C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"treat",line:"273",as:"NE",diag:"3|0|XTTE0570|def",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|def",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"276",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"body"}]},{N:"applyT",line:"277",flags:"c",bSlot:"-1", +C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"282",C:[{N:"choose",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1887583512",as:"1",slot:"2",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"3",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1887583512",slot:"2"},{N:"attVal",name:"Q{}name"}]},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis", +name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]}]}]}]},{N:"fn",line:"285",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors", +loc:"XPST0008"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Global variable "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot refer to itself in its definition"}]}]}]},{N:"let",line:"293","var":"Q{}requiredType",as:"?FM",slot:"4",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false", +bSlot:"0",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", +C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{}sType"}]}]}]}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"forEach",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, +{N:"int",val:"3"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"2",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot"}]}]}]}]}]}]}]}]}]},{N:"choose",line:"296",C:[{N:"and",line:"297",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data", +diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"3"}]}]},{N:"ufCall",line:"300",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"4",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck", +C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"5"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"300",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}type-error-map",bSlot:"6"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"300",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}, +{N:"choose",line:"260",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:' match="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"str",val:'"'}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:' name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]}]}]},{N:"str", +val:"|"}]}]}]}]}]}]},{N:"fn",line:"302",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"sequence",line:"303",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"varRef",name:"Q{}def",slot:"1"}]},{N:"true"},{N:"sequence",line:"307",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"vc", +op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"dot",type:"1NA nQ{}sType"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"7"}]}]},{N:"varRef",name:"Q{}def",slot:"1"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"288",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"639",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"union",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"639",op:"|",C:[{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}VARDEF,NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}ZZZparams"},{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]}]}]}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"641",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"642",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"643","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"644",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"callT",name:"Q{}process-variables",bSlot:"8",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"axis",line:"645",name:"child",nodeTest:"NE"}]}]}]},{N:"sequence",line:"648",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef", +name:"Q{}temp",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"varRef",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"262",rank:"2",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"83",module:"regular-expressions.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"83",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"literal",count:"2",C:[{N:"str",val:"matching"},{N:"str",val:"nonMatching"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}analyzeString"}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"84", +flags:"t",C:[{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM k[AS] v[1AS]",C:[{N:"gVarRef",line:"85",name:"Q{}ST.SINGLE_STRING",bSlot:"9"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"234",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"116",module:"numbering.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"116",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"lang"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"117","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"118",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"120",name:"Q{MyFunctions}typeCheck", +tailCall:"false",bSlot:"10",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"11"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1486277532",bSlot:"12"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.25",seq:"259",rank:"0",minImp:"0",slots:"1", +matches:"NE n*:analyzeString",flags:"s",line:"53",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE n*:analyzeString"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"55","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"56",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"60",flags:"cin",sit:"1NE n*:analyzeString",C:[{N:"sequence",role:"content",line:"61",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",line:"58",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"13",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"14",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC", +C:[{N:"literal",count:"2",C:[{N:"str",val:"matching"},{N:"str",val:"nonMatching"}]},{N:"attVal",name:"Q{}role"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"15",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"62", +name:"attribute",nodeTest:"NA"},{N:"varRef",line:"62",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"156",rank:"4",minImp:"0",slots:"4",matches:"NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"s",line:"208",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"209",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"210","var":"Q{}parts",as:"*NE",slot:"1",C:[{N:"treat",line:"211",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"213","var":"Q{}select", +as:"*NE",slot:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"select"}]}]},{N:"copy",line:"214",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",C:[{N:"sequence",role:"content",line:"215",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"217",C:[{N:"and",line:"218",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"},{N:"axis", +name:"self",nodeTest:"NE n*:slash"}]}]},{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"3",C:[{N:"lookup",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"rules.xsl",line:"218",name:"Q{MyTypes}marshalType", +tailCall:"false",bSlot:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]}, +{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"3"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode", +slot:"3"}]}]}]}]},{N:"str",val:"N"}]}]}]}]},{N:"elem",line:"219",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"varRef",line:"220",name:"Q{}select",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"224",name:"Q{}select",slot:"2"}]},{N:"except",line:"227",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}parts",slot:"1"}]},{N:"docOrder", +intra:"0",C:[{N:"varRef",name:"Q{}select",slot:"2"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"277",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://ns.saxonica.com/xslt/export}treat",flags:"s",line:"353",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}treat"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"355","var":"Q{}required-type",slot:"0",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"17",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"let",line:"356","var":"Q{}required-cardinality",as:"1AS",slot:"1",C:[{N:"fn", +name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"str",val:"o"}]}]}]},{N:"let",line:"357","var":"Q{}required-baseType",slot:"2",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"str",val:"p"}]},{N:"let",line:"358","var":"Q{}attributes",as:"*NA",slot:"3",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"359","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, +{N:"let",line:"360","var":"Q{}source",as:"*NE",slot:"5",C:[{N:"treat",line:"361",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"363","var":"Q{}sourceSequenceType",slot:"6",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"18",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", +C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}source",slot:"5"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}source",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"364","var":"Q{}sourceType",slot:"7",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}sourceSequenceType",slot:"6"},{N:"str",val:"p"}]},{N:"choose",line:"365",C:[{N:"and",line:"367", +op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}required-baseType",slot:"2"}]}]}]}]},{N:"str",val:"A"}]},{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped", +to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}sourceType",slot:"7"}]}]}]}]},{N:"str",val:"N"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}sourceType",slot:"7"}]},{N:"str",val:""}]}]}]},{N:"copy",line:"368",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content",line:"369",C:[{N:"varRef",name:"Q{}attributes", +slot:"3"},{N:"elem",line:"370",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"axis",line:"371",name:"attribute",nodeTest:"NA nQ{}diag"},{N:"elem",line:"373",name:"cvUntyped",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"to",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj", +C:[{N:"varRef",name:"Q{}required-baseType",slot:"2"}]}]}]},{N:"str",val:" "}]}]},{N:"elem",line:"375",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"376",name:"Q{}source",slot:"5"}]}]}]}]}]}]}]},{N:"compareToString",line:"382",op:"ne",val:"*",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"copy",line:"383",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content",line:"384",C:[{N:"varRef",name:"Q{}attributes", +slot:"3"},{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg409114060", +bSlot:"19"}]},{N:"elem",line:"385",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"except",line:"386",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attributes",slot:"3"}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{http://ns.saxonica.com/xslt/export}asJ,NA nQ{}jsTest]"}]},{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1317395634",bSlot:"20"}]},{N:"varRef",line:"391",name:"Q{}source",slot:"5"}]}]}]}]},{N:"fn",line:"395",name:"deep-equal",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"varRef",name:"Q{}sourceSequenceType", +slot:"6"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]},{N:"forEach",line:"396",C:[{N:"varRef",name:"Q{}source",slot:"5"},{N:"copy",line:"397",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"398",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"403",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content", +line:"404",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"varRef",name:"Q{}attributes",slot:"3"},{N:"varRef",name:"Q{}source",slot:"5"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"285",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}namespace",flags:"s",line:"593",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}namespace"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"595",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}namespace",C:[{N:"sequence",role:"content",line:"597",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"598","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"599",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"sequence",line:"603",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"21",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck", +C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]}]},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"22"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn", +name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"23"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTDE0920"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"603", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'namespace name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]},{N:"subscript",line:"604",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"int",val:"2"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"276",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co",flags:"s",line:"339",module:"xpath.xsl",C:[{N:"p.nodeTest", +role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"340",C:[{N:"choose",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}options",bSlot:"24"},{N:"str",val:"traceProgress"}]},{N:"message",line:"348",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting XPath on component"},{N:"fn", +name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE n*:mode"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"string", +C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",val:" templates"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"nextMatch",line:"350",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"287",rank:"3",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"s",line:"623",module:"xpath.xsl",C:[{N:"p.withPredicate", +role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"union",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"623",op:"|",C:[{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}VARDEF,NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}, +{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]}]}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"626","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"627",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"callT",name:"Q{}process-variables",bSlot:"25",C:[{N:"withParam",name:"Q{}parts", +flags:"c",as:"*NE",C:[{N:"axis",line:"628",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-base-uri",flags:"t",as:"1AS",C:[{N:"check",line:"631",card:"1",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"slash", +simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"a"},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:baseUri"}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA n*:baseUri"}]},{N:"str",val:"dummy-base-uri"}]}]}]}]}]}]}]}]}]},{N:"callT",line:"634",name:"Q{}Sequence-and-type",bSlot:"26",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"varRef",line:"635",name:"Q{}temp",slot:"0"}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"281",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"444","var":"Q{}parts", +as:"*NE",slot:"0",C:[{N:"treat",line:"445",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"448",C:[{N:"fn",line:"449",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"27"}]},{N:"axis",line:"451",name:"attribute", +nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"1",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"28",C:[{N:"check",card:"+",diag:"0|0||t:commonType", +C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"29",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"2",C:[{N:"ufCall", +name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"30",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"1"}]},{N:"choose",line:"458",C:[{N:"every",line:"461","var":"Q{}p",slot:"3",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"3"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att", +name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"0"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE",C:[{N:"sequence", +role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"0"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, +{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType", +tailCall:"false",bSlot:"31",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"1"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"0"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"183",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}try",flags:"s",line:"279",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}try"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"280","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"281",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"285",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"286",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"287",name:"sType",flags:"l",C:[{N:"ufCall",line:"284",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"32",C:[{N:"ufCall",name:"Q{MyTypes}commonType", +tailCall:"false",bSlot:"33",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"34",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]}, +{N:"varRef",line:"288",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"266",rank:"4",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator",flags:"s",line:"59",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"60","var":"Q{}init",as:"1NE",slot:"0",C:[{N:"treat",line:"61",as:"NE",diag:"3|0|XTTE0570|init",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|init",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let",line:"65","var":"Q{}rules",as:"*NE",slot:"1",C:[{N:"treat",line:"66",as:"NE",diag:"3|0|XTTE0570|rules",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam", +name:"Q{}valueType",flags:"t",as:"1AS",C:[{N:"check",line:"67",card:"1",diag:"8|0|XTTE0590|valueType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|valueType",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|valueType",C:[{N:"data",diag:"8|0|XTTE0590|valueType",C:[{N:"first",line:"64",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}init",slot:"0"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}sType"}]},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"dot",type:"1NA nQ{}sType"}]}]}]},{N:"str",val:"0"}]}]}]},{N:"str",val:"*"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"73",C:[{N:"choose",C:[{N:"gc",line:"72",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"distinct-values", +C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}rules",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"accumulator-before"},{N:"str",val:"accumulator-after"}]},{N:"attVal",name:"Q{}name"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]},{N:"data",line:"73",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ufCall",line:"76",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"35",C:[{N:"str",val:"XTDE3400"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Accumulator "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" refers to itself"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}accumulator", +flags:"a"}]}]},{N:"copy",line:"78",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}accumulator",C:[{N:"sequence",role:"content",line:"79",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}init",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"axis",line:"80",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"88",name:"Q{}init",slot:"0"},{N:"varRef",line:"91",name:"Q{}rules",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"165",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration",flags:"s",line:"217",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"218",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}nextIteration", +C:[{N:"sequence",role:"content",line:"219",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"36"}]},{N:"axis",line:"220",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"221",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"149",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mode",flags:"s",line:"68",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}, +{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mode",C:[{N:"sequence",role:"content",line:"70",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"71","var":"Q{}templates",as:"*NE",slot:"0",C:[{N:"treat",line:"72",as:"NE",diag:"3|0|XTTE0570|templates",C:[{N:"applyT",flags:"c", +bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"forEach",line:"74",C:[{N:"sort",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"0"},{N:"sortKey",line:"75",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}, +{N:"sortKey",line:"76",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prio"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]},{N:"sortKey",line:"77",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}seq"}]}, +{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"copy",line:"78",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"79",C:[{N:"att",name:"rank",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int", +val:"1"}]}]}]},{N:"axis",line:"80",name:"attribute",nodeTest:"NA"},{N:"axis",line:"80",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"243",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey",flags:"s",line:"158",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"159",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"160","var":"Q{}input",as:"1NE",slot:"1",C:[{N:"treat",line:"161",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}, +{N:"let",line:"164","var":"Q{}properties",as:"*NE",slot:"2",C:[{N:"sequence",line:"165",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|properties",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"choose",line:"166",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"collation"},{N:"str",val:"lang"},{N:"str",val:"caseOrder"}]}, +{N:"attVal",name:"Q{}role"}]}]}]},{N:"elem",line:"167",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"collation"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{N:"let",line:"175","var":"Q{}dataType",as:"*NE",slot:"3",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}properties",slot:"2"}, +{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"dataType"}]}]},{N:"let",line:"178","var":"Q{}atomizedInput",slot:"4",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"37",C:[{N:"varRef",name:"Q{}input",slot:"1"},{N:"gVarRef",name:"Q{}ST.OPTIONAL_ATOMIC",bSlot:"38"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289", +name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg638404853",bSlot:"39"}]}]}]}]}]},{N:"let",line:"179","var":"Q{}input",as:"1NE",slot:"5",C:[{N:"choose",line:"180",C:[{N:"fn",line:"200",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"select"}]}]},{N:"treat", +line:"201",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"forEach",C:[{N:"check",card:"?",diag:"4|0|XTTE3180|xsl:copy/select",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]},{N:"copy",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"202",C:[{N:"copyOf",flags:"c",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]},{N:"att",line:"203",name:"role",flags:"l",C:[{N:"str", +val:"select"}]},{N:"copyOf",line:"204",flags:"c",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"208",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]}]}]},{N:"let",line:"214","var":"Q{}principal",slot:"6",C:[{N:"lookup",C:[{N:"ufCall",line:"213",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"40", +C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"p"}]},{N:"let",line:"216","var":"Q{}sortNumeric",slot:"7",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}alphaCode", +as:"1AS",slot:"8",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||t:isNumeric",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:isNumeric",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:isNumeric",C:[{N:"data",diag:"0|0||t:isNumeric",C:[{N:"varRef",name:"Q{}principal",slot:"6"}]}]}]}]},{N:"or",module:"type.xsl",line:"438",op:"or",C:[{N:"or", +op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AF"}]}]}]},{N:"let",line:"219","var":"Q{}sortTemporal",as:"1AB",slot:"9",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}principal", +slot:"6"}]},{N:"literal",count:"3",C:[{N:"str",val:"AM"},{N:"str",val:"AA"},{N:"str",val:"AT"}]}]},{N:"copy",line:"222",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}sortKey",C:[{N:"sequence",role:"content",line:"223",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"224",C:[{N:"fn",line:"172",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}properties",slot:"2"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}, +{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"caseOrder"},{N:"str",val:"lang"}]},{N:"attVal",name:"Q{}role"}]}]}]}]},{N:"att",line:"245",name:"comp",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",line:"174",flags:"",C:[{N:"varRef",name:"Q{}properties",slot:"2"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal", +name:"Q{}role"},{N:"str",val:"order"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]},{N:"str",val:"descending"}]},{N:"str",val:"DESC"}]},{N:"choose",C:[{N:"varRef",name:"Q{}sortNumeric",slot:"7"},{N:"str",val:"DblSC"},{N:"vc",line:"218",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef", +name:"Q{}dataType",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]}]},{N:"str",val:"number"}]},{N:"str",val:"NC"},{N:"varRef",name:"Q{}sortTemporal",slot:"9"},{N:"str",val:"CalVC"},{N:"true"},{N:"str",val:"CCC"}]}]},{N:"str",val:"|"}]}]}]},{N:"choose",line:"248",C:[{N:"vc",line:"249",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]},{N:"str",val:"xs:duration"}]},{N:"ufCall",line:"251", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"41",C:[{N:"str",val:"XTDE1030"},{N:"str",val:"xs:duration types are not comparable and may not be used in xsl:sort/@select"},{N:"varRef",name:"Q{}input",slot:"5"}]},{N:"true"},{N:"sequence",line:"282",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}input",slot:"5"}]}]},{N:"except",line:"295",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef", +name:"Q{}properties",slot:"2"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]}]},{N:"choose",line:"296",C:[{N:"and",line:"297",op:"and",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]},{N:"fn",line:"220",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}principal", +slot:"6"}]}]}]}]},{N:"str",val:"A"}]}]},{N:"empty"},{N:"fn",line:"298",name:"empty",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]},{N:"elem",line:"299",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"varRef",name:"Q{}sortNumeric",slot:"7"},{N:"varRef",name:"Q{}sortTemporal",slot:"9"}]},{N:"str",val:"number"},{N:"true"},{N:"str",val:"text"}]}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"dataType"}]}]}]}, +{N:"true"},{N:"varRef",line:"305",name:"Q{}dataType",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"242",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sort",flags:"s",line:"144",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sort"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"145",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}sort",C:[{N:"sequence",role:"content",line:"146",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"147","var":"Q{}for",as:"1NE",slot:"0",C:[{N:"treat",line:"148",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"150",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"varRef",line:"151",name:"Q{}for",slot:"0"},{N:"applyT",line:"152",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl", +line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"sorting.xsl",line:"153",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"42",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"179",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condCont",flags:"s",line:"211",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condCont"}, +{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"212","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"213",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"215",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}condCont", +C:[{N:"sequence",role:"content",line:"216",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"217",name:"sType",flags:"l",C:[{N:"fn",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"sequenceType.xsl",line:"196",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"conditionals.xsl",line:"217",card:"1",diag:"0|0||t:makeOptional",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:makeOptional",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:makeOptional",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"^1"},{N:"str",val:"?"},{N:"str",val:""}]},{N:"str",val:"^\\+"},{N:"str",val:"*"},{N:"str",val:""}]}]},{N:"varRef",line:"218",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"284",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}dot",flags:"s",line:"585",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}dot"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"586",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"ti",as:"1FM", +C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"587",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}dot",C:[{N:"sequence",role:"content",line:"588",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"43",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]}]},{N:"axis",line:"589",name:"attribute",nodeTest:"NA"}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"2.0",seq:"157",rank:"4",minImp:"0",slots:"14",matches:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule",flags:"s",line:"232",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"233",C:[{N:"param", +name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"234",name:"Q{}defaultXPathNamespace",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|defaultXPathNamespace", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"data",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"237","var":"Q{}priority",as:"?NA",slot:"2",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"},{N:"let",line:"264","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"3",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}priority",slot:"2"}]},{N:"let",line:"238","var":"Q{}attributes",as:"*NA",slot:"4", +C:[{N:"treat",line:"239",as:"NA",diag:"3|0|XTTE0570|attributes",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA nQ{}priority]"}]}]},{N:"let",line:"241","var":"Q{}requiredType",as:"?FM",slot:"5",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|requiredType",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"44",C:[{N:"convert",from:"AZ", +to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]}]},{N:"let",line:"294","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"6",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}requiredType",slot:"5"}]},{N:"let",line:"242","var":"Q{}match",as:"*NE",slot:"7",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"}, +{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]},{N:"let",line:"267","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"8",flags:"l",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}match",slot:"7"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"node()"}]},{N:"let",line:"251","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"1AS",slot:"9",flags:"l",C:[{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}match",slot:"7"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]},{N:"let",line:"243","var":"Q{}action",as:"*NE",slot:"10",C:[{N:"except",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}match",slot:"7"}]}]},{N:"let",line:"245","var":"Q{}patterns",as:"*NE",slot:"11",C:[{N:"treat",line:"246",as:"NE", +diag:"3|0|XTTE0570|patterns",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}match",slot:"7"}]}]},{N:"let",line:"249","var":"Q{}warnings",as:"*NE",slot:"12",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}patterns",slot:"11"},{N:"fn",name:"exists",C:[{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:p.warning"}]}]},{N:"sequence",line:"250",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}warnings",slot:"12"},{N:"message",line:"251",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Warning:"}, +{N:"forEach",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:p.warning"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}message"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}message"}]}]},{N:"str",val:"in pattern"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEach",line:"254",C:[{N:"except",op:"except",C:[{N:"docOrder", +intra:"0",C:[{N:"varRef",name:"Q{}patterns",slot:"11"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}warnings",slot:"12"}]}]},{N:"sequence",line:"255",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"message",line:"256",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Missing @sType"},{N:"fn",name:"serialize",C:[{N:"dot",type:"1NE"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, +{N:"elem",line:"260",name:"templateRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"261",C:[{N:"varRef",name:"Q{}attributes",slot:"4"},{N:"att",line:"262",name:"prio",flags:"l",C:[{N:"fn",line:"263",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"varRef",line:"264",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"3"},{N:"cast",line:"265",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef", +name:"Q{}priority",slot:"2"}]}]}]}]},{N:"varRef",line:"267",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"8"},{N:"atomic",val:"-0.5",type:"AZ"},{N:"true"},{N:"data",line:"269",C:[{N:"mergeAdj",C:[{N:"applyT",mode:"Q{}pattern-priority",bSlot:"45",C:[{N:"dot",role:"select",type:"1NE"}]}]}]}]}]},{N:"str",val:""}]}]},{N:"att",line:"274",name:"matches",flags:"l",C:[{N:"fn",name:"substring",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring", +C:[{N:"attVal",name:"Q{}sType"}]}]},{N:"int",val:"2"}]}]},{N:"copy",line:"275",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"276",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"277",name:"role",flags:"l",C:[{N:"str",val:"match"}]},{N:"axis",line:"278",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"283","var":"Q{}body",as:"1NE",slot:"13",C:[{N:"treat",line:"284",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1", +C:[{N:"varRef",role:"select",name:"Q{}action",slot:"10"},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"rules.xsl",line:"285",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"46",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]},{N:"choose",line:"294",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"6"},{N:"ufCall",name:"Q{MyFunctions}typeCheck", +tailCall:"false",bSlot:"47",C:[{N:"varRef",name:"Q{}body",slot:"13"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"5"}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg2135267024",bSlot:"48"}]}]}]}]}]},{N:"true"},{N:"varRef",name:"Q{}body", +slot:"13"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"283",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}str",flags:"s",line:"578",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}str"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"579",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}str",C:[{N:"sequence",role:"content",line:"580",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"49"}]},{N:"axis",line:"581",name:"attribute",nodeTest:"NA"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"256",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc",flags:"s",line:"103",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"104",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"50"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]}, +{N:"param",line:"105",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"1FM",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|focus-context-type",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"106","var":"Q{}forEach",as:"*NE",slot:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc", +op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"forEachItem"},{N:"str",val:"forEachSource"}]},{N:"attVal",name:"Q{}role"}]}]},{N:"let",line:"107","var":"Q{}select",as:"*NE",slot:"3",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"selectRows"}]}]},{N:"let",line:"108","var":"Q{}source",as:"?NE",slot:"4",C:[{N:"treat",line:"109",as:"NE",diag:"3|0|XTTE0570|source", +C:[{N:"check",card:"?",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}forEach",slot:"2"}]}]}]},{N:"copy",line:"111",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc",C:[{N:"let",role:"content",line:"112","var":"Q{}for",as:"1NE",slot:"5",C:[{N:"treat",line:"113",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}select",slot:"3"}, +{N:"withParam",name:"Q{}context-type",flags:"t",as:"?FM",C:[{N:"choose",line:"120",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}source",slot:"4"}]},{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall", +ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"merging.xsl",line:"120",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"51",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"4"}, +{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"0"}]}]}]}]}]},{N:"let",line:"124","var":"Q{}body",as:"*NE",slot:"6",C:[{N:"treat",line:"125",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"union",op:"|",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}select",slot:"3"}]},{N:"docOrder",intra:"0", +C:[{N:"varRef",name:"Q{}forEach",slot:"2"}]}]}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"126",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ufCall",line:"123",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"52",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef", +name:"Q{}for",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"sequence",line:"130",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"axis",line:"131",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"132",name:"Q{}source",slot:"4"},{N:"varRef",line:"132",name:"Q{}for",slot:"5"},{N:"varRef",line:"132",name:"Q{}body",slot:"6"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"159",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}forEach",flags:"s",line:"70",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEach"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"71",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t", +as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"53"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"72",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"54"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type", +C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"75","var":"Q{}for",as:"1NE",slot:"2",C:[{N:"treat",line:"76",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let",line:"79","var":"Q{}forItemType",as:"1FM",slot:"3",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"repetition.xsl",line:"79",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"55",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]},{N:"let",line:"80","var":"Q{}body",as:"1NE",slot:"4",C:[{N:"treat",line:"81",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2", +C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"82",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"varRef",line:"83",name:"Q{}forItemType",slot:"3"}]}]}]}]},{N:"copy",line:"87",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}forEach",C:[{N:"sequence",role:"content",line:"89",C:[{N:"att",name:"sType",flags:"l",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash", +simple:"1",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"repetition.xsl",line:"89",card:"1",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"slash",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"true"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"56"}]}]},{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}role"}, +{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}module"},{N:"choose",line:"91",C:[{N:"and",line:"92",op:"and",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"5",C:[{N:"lookup",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"repetition.xsl",line:"92",name:"Q{}forItemType",slot:"3"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", +C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]}]}]}]},{N:"str",val:"N"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}for",slot:"2"},{N:"axis",name:"self",nodeTest:"NE n*:slash"}]}]}]},{N:"elem",line:"93",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"varRef",line:"94",name:"Q{}for",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"98", +name:"Q{}for",slot:"2"}]},{N:"varRef",line:"101",name:"Q{}body",slot:"4"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"236",rank:"4",minImp:"0",slots:"5",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"133",module:"numbering.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"133",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"select"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nodeNum"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"134",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef", +role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"57"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"135",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}needsNode"}]}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]}]}, +{N:"fn",name:"not",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"numbering.xsl",line:"135",card:"1",diag:"0|0||t:isNode", +C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data", +diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"N"}]}]}]}]}]},{N:"ufCall",line:"136",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"58",C:[{N:"str",val:"XTTE0990"},{N:"str",val:"xsl:number without @select or @value must have a node() as context"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"let",line:"138","var":"Q{}outer",as:"1NE",slot:"2",C:[{N:"treat",line:"140",as:"NE",diag:"3|0|XTTE0570|outer",C:[{N:"check", +card:"1",diag:"3|0|XTTE0570|outer",C:[{N:"try",flags:"r",C:[{N:"let","var":"Q{}temp",as:"1NE",slot:"3",C:[{N:"treat",line:"141",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"varRef",line:"143",name:"Q{}temp",slot:"3"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0002 Q{http://www.w3.org/2005/xqt-errors}XPTY0020",C:[{N:"ufCall",line:"145",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"59",C:[{N:"str", +val:"XTTE0990"},{N:"str",val:"xsl:number without @select or @value must have a node() as context"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]}]}]}]},{N:"sequence",line:"148",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"4",C:[{N:"lookup",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"numbering.xsl",line:"148",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"60",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}outer",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"4"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"4"}]}]}]}]},{N:"str",val:"N"}]}]}]}]},{N:"ufCall",line:"149",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"61",C:[{N:"str", +val:"XTTE1000"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:number/@select must yield a result of type node(), not "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"62",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"63",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}outer",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}, +{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"varRef",line:"151",name:"Q{}outer",slot:"2"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"235",rank:"4",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"123",module:"numbering.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"123",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"value"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}numSeqFmt"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"124","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"125",as:"NE",diag:"3|0|XTTE0570|temp", +C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"128",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"64",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"gVarRef",name:"Q{}ST.MULTIPLE_ATOMIC",bSlot:"65"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1542155234", +bSlot:"66"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"298",rank:"1",minImp:"0",slots:"29",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"964",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"966",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"967",name:"Q{}local.variables",slot:"1",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"968",name:"Q{}globals",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]}, +{N:"param",line:"969",name:"Q{}global.functions",slot:"3",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"970",name:"Q{}accumulators",slot:"4",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"971",name:"Q{}context-type",slot:"5",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"67"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"972",name:"Q{}focus-context-type",slot:"6",flags:"t",as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"5"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"6"}]}]}]},{N:"param",line:"973",name:"Q{}nsAttribute",slot:"7",flags:"t",as:"?NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"supplied",slot:"7"}]}]}]},{N:"param",line:"974",name:"Q{}defaultHTML5",slot:"8",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied", +slot:"8"}]}]}]}]}]},{N:"let",line:"981","var":"Q{}slotMap",as:"1FM v[?]",slot:"9",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",as:"FM",diag:"0|0||map:keys",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot", +type:"1A"},{N:"subscript",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:"21|0||$local.variables",C:[{N:"check",card:"1",diag:"21|0||$local.variables",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]},{N:"arrayBlock",C:[{N:"dot",type:"1A"}]}]},{N:"int",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"982","var":"Q{}role",as:"?NA",slot:"10", +flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"let",line:"983","var":"Q{}line",as:"?NA",slot:"11",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}line"},{N:"let",line:"984","var":"Q{}allow-empty",as:"?AB",slot:"12",flags:"e",C:[{N:"vc",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}allow-empty"}]},{N:"str",val:"true"}]},{N:"let",line:"986","var":"Q{}ns",as:"?FM k[AS] v[1AS]",slot:"13",flags:"e",C:[{N:"choose",C:[{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xpathDefaultNamespace"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]},{N:"let",line:"988","var":"Q{}collation",as:"?FM k[AS] v[?AS]",slot:"14",flags:"e",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"defaultCollation"},{N:"first",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]}]}]}]},{N:"let",line:"989","var":"Q{}backward-compatibility",as:"1AB",slot:"15",flags:"e",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}BC"}]},{N:"let",line:"991","var":"Q{}checkType",as:"?AS",slot:"16",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|checkType",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|checkType",C:[{N:"data",diag:"3|0|XTTE0570|checkType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}checkType"}]}]}]},{N:"let",line:"999","var":"Q{}namespaces",slot:"17",flags:"e",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"namespaces.xsl",line:"65","var":"Q{}ns",as:"?NA",slot:"18",C:[{N:"lastOf",C:[{N:"slash",simple:"2",C:[{N:"slash",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"999",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"choose",line:"72",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"18"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespaces"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize", +C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"varRef",name:"Q{}ns",slot:"18"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"19",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"20",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"19"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef", +name:"Q{}uri",slot:"20"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"68"},{N:"varRef",name:"Q{}prefix",slot:"19"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"20"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]}]},{N:"let",line:"1006","var":"Q{}context-type",as:"?FM",slot:"21",flags:"e",C:[{N:"choose",C:[{N:"and", +op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"select"}]}]},{N:"varRef",name:"Q{}focus-context-type",slot:"6"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"5"}]},{N:"let",line:"1011","var":"Q{}temp",as:"1",slot:"22",C:[{N:"check",line:"1042",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"try", +flags:"r",C:[{N:"applyT",line:"1044",mode:"Q{}exportNS",bSlot:"69",C:[{N:"ifCall",role:"select",line:"1042",name:"Q{http://saxon.sf.net/}compile-XPath",type:"1",C:[{N:"check",card:"1",diag:"0|0||saxon:compile-XPath",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||saxon:compile-XPath",C:[{N:"cvUntyped",to:"AS",diag:"0|0||saxon:compile-XPath",C:[{N:"data",diag:"0|0||saxon:compile-XPath",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"language"},{N:"str",val:"XSLT"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"html5Mode"},{N:"varRef",name:"Q{}defaultHTML5",slot:"8"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backwardCompatibility"},{N:"varRef",name:"Q{}backward-compatibility", +slot:"15"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"inCatch"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}catch"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"inTry"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot", +type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}try"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"allowEmpty"},{N:"varRef",name:"Q{}allow-empty",slot:"12"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"globals"},{N:"varRef",name:"Q{}globals",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"globalFunctions"},{N:"varRef",name:"Q{}global.functions",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"accumulators"},{N:"varRef",name:"Q{}accumulators",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"slotMap"},{N:"varRef",name:"Q{}slotMap",slot:"9"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"contextType"}, +{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}role",slot:"10"}]}]},{N:"str",val:"match"}]},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"70"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"21"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"nsAttribute"},{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}nsAttribute",slot:"7"}]}]}]},{N:"map",size:"2",C:[{N:"str", +val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}ns",slot:"13"},{N:"varRef",name:"Q{}namespaces",slot:"17"},{N:"varRef",name:"Q{}collation",slot:"14"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"check",card:"?",diag:"0|2||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPTY0020", +C:[{N:"fn",line:"1052",name:"error",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultedSelect"}]},{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"},{N:"true"},{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]},{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in XPath"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"71",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"str",val:" {"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"1061",C:[{N:"elem",name:"ex:empty",nsuri:"http://ns.saxonica.com/xslt/export",C:[{N:"empty"}]},{N:"fn",line:"1064",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error", +C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in XPath"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"72",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"str",val:" {"}]}, +{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]}]},{N:"let",line:"1069","var":"Q{}temp",as:"1NE", +slot:"23",C:[{N:"choose",line:"1070",C:[{N:"instance",line:"1071",of:"1FM",C:[{N:"varRef",name:"Q{}temp",slot:"22"}]},{N:"let",line:"1072","var":"Q{}type",slot:"24",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"22"},{N:"str",val:"type"}]},{N:"let",line:"1076","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"25",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}type",slot:"24"}]}]}]},{N:"str",val:" "}]}, +{N:"treat",line:"1073",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"22"},{N:"str",val:"expr"}]},{N:"copy",line:"1074",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"1075",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"1076",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"25"}]},{N:"slash",line:"1077",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"1082",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"varRef",name:"Q{}temp",slot:"22"}]}]},{N:"sequence",line:"1086",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultedSelect"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"check", +card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"N"}]}]},{N:"fn",name:"not",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef", +name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]},{N:"str",val:""}]}]}]}]},{N:"fn",line:"1089",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"The required item type of the context item for xpath '"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"' is node(), but the supplied expression has type "}]},{N:"ufCall", +name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"73",C:[{N:"check",card:"1",diag:"0|0||t:displayType",C:[{N:"varRef",name:"Q{}context-type",slot:"21"}]}]}]}]}]},{N:"let",line:"1091","var":"Q{}temp",as:"1NE",slot:"26",C:[{N:"choose",line:"1092",C:[{N:"choose",line:"1093",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]}, +{N:"str",val:""}]},{N:"ufCall",name:"Q{MyFunctions}requiresNodeTest",tailCall:"false",bSlot:"74",C:[{N:"varRef",name:"Q{}temp",slot:"23"}]},{N:"true"},{N:"false"}]},{N:"elem",line:"1094",name:"slash",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"simple",flags:"l",C:[{N:"str",val:"1"}]},{N:"docOrder",line:"1095",intra:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"23"},{N:"sequence", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"elem",line:"1096",name:"treat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"str",val:"N"}]},{N:"att",name:"diag",flags:"l",C:[{N:"str",val:"13|0|XTTE0510|"}]},{N:"elem",line:"1097",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"empty"}]}]}]},{N:"varRef",line:"1099", +name:"Q{}temp",slot:"23"}]}]},{N:"true"},{N:"varRef",line:"1103",name:"Q{}temp",slot:"23"}]},{N:"let",line:"1107","var":"Q{}temp",as:"1NE",slot:"27",C:[{N:"choose",line:"1112",C:[{N:"and",line:"1111",op:"and",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"^(\\+|\\*)N"},{N:"str",val:""}]},{N:"fn",name:"empty", +C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"union",op:"|",C:[{N:"union",op:"|",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE u[NE u[NE u[NE u[NE u[NE n*:sequence,NE n*:axis],NE n*:filter],NE n*:except],NE n*:for],NE n*:forEach],NE n*:varRef],NE n*:gVarRef],NE n*:copyOf]"},{N:"filter",flags:"",C:[{N:"axis",name:"self",nodeTest:"NE n*:fn"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"reverse"}]}]}]},{N:"axis",name:"self",nodeTest:"NE n*:ufCall"}]}]}]}]}, +{N:"elem",line:"1115",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1116",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}temp",slot:"26"}]}]},{N:"and",line:"1119",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}slash"}]}]}, +{N:"fn",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"attVal",name:"Q{}type"}]}]}]},{N:"str",val:"item("}]}]},{N:"elem",line:"1120",name:"homCheck",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1121",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}, +{N:"varRef",name:"Q{}temp",slot:"26"}]}]},{N:"true"},{N:"varRef",line:"1125",name:"Q{}temp",slot:"26"}]},{N:"let",line:"1129","var":"Q{}temp",as:"1NE",slot:"28",C:[{N:"choose",line:"1130",C:[{N:"varRef",line:"1131",name:"Q{}checkType",slot:"16"},{N:"treat",line:"1132",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"75",C:[{N:"varRef",name:"Q{}temp",slot:"27"},{N:"ufCall",name:"Q{MyTypes}marshalType", +tailCall:"false",bSlot:"76",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"varRef",name:"Q{}checkType",slot:"16"}]}]},{N:"check",card:"1",diag:"0|2||f:typeCheck",C:[{N:"convert",line:"992",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|diagnostic",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|diagnostic",C:[{N:"data",diag:"3|0|XTTE0570|diagnostic",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}diagnostic"}]}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"1135",name:"Q{}temp",slot:"27"}]},{N:"choose", +line:"1139",C:[{N:"fn",line:"1140",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"axis",name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"current"}]}]}]},{N:"choose",line:"1141",C:[{N:"fn",line:"1142",name:"empty",C:[{N:"varRef",name:"Q{}context-type",slot:"21"}]},{N:"elem",line:"1143",name:"error",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"code",flags:"l",C:[{N:"str",val:"XTDE1360"}]},{N:"att",name:"message",flags:"l",C:[{N:"str",val:"context absent for current()"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"1144",name:"Q{}role",slot:"10"}]}]},{N:"true"},{N:"elem",line:"1152",name:"let",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"var",flags:"l",C:[{N:"str",val:"fn-current"}]},{N:"att", +name:"slot",flags:"l",C:[{N:"str",val:"199"}]},{N:"axis",line:"1153",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"1153",name:"Q{}role",slot:"10"},{N:"varRef",line:"1153",name:"Q{}line",slot:"11"},{N:"slash",line:"1153",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"elem",line:"1154",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"empty"}]},{N:"applyT",line:"1155",mode:"Q{}xpath-with-current", +bSlot:"77",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"28"}]}]}]}]},{N:"true"},{N:"forEach",line:"1171",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"copy",line:"1172",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"1173",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"10"},{N:"varRef",name:"Q{}line",slot:"11"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"167",rank:"1",minImp:"0", +slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}choose",flags:"s",line:"29",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}choose"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"30","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"31",as:"NE",diag:"3|0|XTTE0570|parts", +C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"35",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}choose",C:[{N:"sequence",role:"content",line:"36",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"78",C:[{N:"ufCall",line:"34",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"79",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b", +C:[{N:"filter",flags:"pb",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"compareToInt",op:"eq",val:"0",C:[{N:"arith",op:"mod",calc:"i%i",C:[{N:"fn",name:"position"},{N:"int",val:"2"}]}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"80",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", +C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"37",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"37",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"248",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup",flags:"s",line:"117",module:"grouping.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"118",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"81"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"119",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"1"}]}]}]},{N:"copy",line:"121",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup",C:[{N:"let",role:"content",line:"122","var":"Q{}population",as:"1NE",slot:"2",C:[{N:"treat",line:"123",as:"NE",diag:"3|0|XTTE0570|population",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|population",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let", +line:"125","var":"Q{}populationType",slot:"3",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"82",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}population",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"let",line:"127","var":"Q{}body",as:"+NE",slot:"4",C:[{N:"treat",line:"128",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check", +card:"+",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"129",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320", +name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"grouping.xsl",line:"126",name:"Q{}populationType",slot:"3"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]},{N:"sequence",line:"133", +C:[{N:"att",name:"sType",flags:"l",C:[{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"grouping.xsl",line:"133",card:"1", +diag:"0|0||t:withOccurrenceIndicator",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"data",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"content"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}, +{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"axis",line:"134",name:"attribute",nodeTest:"NA"},{N:"choose",line:"135",C:[{N:"and",line:"136",op:"and",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"5",C:[{N:"lookup",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"grouping.xsl",line:"136",name:"Q{}populationType",slot:"3"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", +C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]}]}]}]},{N:"str",val:"N"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}population",slot:"2"},{N:"axis",name:"self",nodeTest:"NE n*:slash"}]}]}]},{N:"elem",line:"137",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"slash",line:"138",simple:"1",C:[{N:"varRef",name:"Q{}population",slot:"2"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"138",name:"Q{}population",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"142",name:"Q{}population",slot:"2"}]},{N:"varRef",line:"145",name:"Q{}body",slot:"4"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"293",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}valueOf",flags:"s",line:"866",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}valueOf"}, +{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"866",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"string-join"}]}]}]},{N:"elem",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"867",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"copy",line:"868",flags:"inl",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}valueOf",C:[{N:"sequence",role:"content",line:"869",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"870",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"272",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}MAP",flags:"s",line:"49",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}MAP"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50", +C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"83"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"51",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map}"}, +{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"target"}]}]},{N:"str",val:"JS"}]},{N:"str",val:"_new"},{N:"true"},{N:"str",val:"merge"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_MAP",bSlot:"84"}]},{N:"axis",line:"52",name:"attribute",nodeTest:"NA"},{N:"let",line:"53","var":"Q{}entries",as:"*NE", +slot:"1",C:[{N:"treat",line:"54",as:"NE",diag:"3|0|XTTE0570|entries",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"sequence",line:"56",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"85",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"varRef",name:"Q{}entries",slot:"1"}]},{N:"gVarRef",name:"Q{}ST.MULTIPLE_MAP",bSlot:"86"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck", +C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg938941445",bSlot:"87"}]}]}]}]}]},{N:"elem",line:"57",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map}"},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"target"}]}]},{N:"str",val:"JS"}]},{N:"str",val:"_new"},{N:"true"},{N:"str",val:"merge"}]}]}]},{N:"elem",line:"58",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"59",C:[{N:"elem",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]}, +{N:"att",name:"type",flags:"l",C:[{N:"str",val:"map()"}]},{N:"elem",line:"60",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"duplicates"}]}]}]},{N:"elem",line:"61",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:"reject"}]}]}]}]},{N:"elem",line:"63",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"map()"}]},{N:"elem",line:"64",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"duplicates-error-code"}]}]}]},{N:"elem",line:"65",name:"str",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:"XTDE3365"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"178",part:"1",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty",flags:"s",line:"202",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"204","var":"Q{}source",as:"1NE",slot:"1",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"206",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"207",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef", +name:"Q{}source",slot:"1"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"278",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}copyOf",flags:"s",line:"410",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}copyOf"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"411","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"412",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"414",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}copyOf",C:[{N:"sequence",role:"content",line:"415",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"axis", +name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"294",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fn",flags:"s",line:"875",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"875",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"string-join"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"876","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"877",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"879",C:[{N:"fn",line:"880",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"elem",line:"881",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"882",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}name]"},{N:"slash",simple:"1",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]}, +{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"true"},{N:"copy",line:"886",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}fn",C:[{N:"sequence",role:"content",line:"887",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"888",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"290",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF",flags:"s",as:"1NE",line:"812", +module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"813",card:"1",diag:'7|0|XTTE0505|match="ex:PARAMDEF" mode="process-xpath"',C:[{N:"sequence",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select", +size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"814",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied", +slot:"1"}]}]}]}]}]},{N:"param",line:"815",name:"Q{}version",slot:"2",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"30"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|version",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"data",diag:"8|0|XTTE0590|version",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"let",line:"818","var":"Q{}init",as:"1NE",slot:"3",C:[{N:"treat",line:"819",as:"NE",diag:"3|0|XTTE0570|init",C:[{N:"check", +card:"1",diag:"3|0|XTTE0570|init",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"823",name:"param",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",line:"816",name:"Q{}no.slots",slot:"1"}]}]}, +{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"88"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, +{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"89"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]},{N:"str",val:"true"}]},{N:"str",val:"t"}]}]},{N:"fn",name:"string",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}, +{N:"str",val:"true"}]},{N:"str",val:"r"}]}]}]}]},{N:"applyT",line:"824",mode:"Q{}attribute-sans-prefix",bSlot:"90",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"axis",line:"825",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"825", +name:"attribute",nodeTest:"NA nQ{}module"},{N:"let",line:"828","var":"Q{}supplied",as:"1NE",slot:"4",C:[{N:"elem",line:"829",name:"supplied",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"conversion"}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",line:"816",name:"Q{}no.slots",slot:"1"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"91"}]}]}]},{N:"choose", +line:"831",C:[{N:"fn",line:"832",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"834","var":"Q{}required",slot:"5",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"92",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]}, +{N:"sequence",line:"841",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"93",C:[{N:"varRef",name:"Q{}init",slot:"3"},{N:"varRef",name:"Q{}required",slot:"5"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"94"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"choose",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"841", +C:[{N:"compareToInt",op:"eq",val:"20",C:[{N:"varRef",name:"Q{}version",slot:"2"}]},{N:"str",val:"XTTE0600"},{N:"true"},{N:"str",val:"XTTE0570"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"841",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:param name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]},{N:"ufCall",line:"844",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"95",C:[{N:"varRef",name:"Q{}supplied",slot:"4"},{N:"varRef",name:"Q{}required",slot:"5"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"96"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"1"},{N:"str",val:"XTTE0590"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"844",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:param name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"847",C:[{N:"varRef",name:"Q{}init",slot:"3"},{N:"varRef",name:"Q{}supplied",slot:"4"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"299",rank:"1",minImp:"0",slots:"18",matches:"NE nQ{http://ns.saxonica.com/xslt/export}pattern", +flags:"s",as:"*NE",line:"1297",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1299",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"97"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1300",name:"Q{}local.variables",slot:"1",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"1301",name:"Q{}globals",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"param",line:"1302",name:"Q{}global.functions",slot:"3",flags:"t",C:[{N:"map",role:"select", +size:"0"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"1303",name:"Q{}accumulators",slot:"4",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"1304",name:"Q{}context-type",slot:"5",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"98"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param", +line:"1305",name:"Q{}nsAttribute",slot:"6",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"supplied",slot:"6"}]}]}]},{N:"param",line:"1306",name:"Q{}defaultHTML5",slot:"7",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB", +diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"let",line:"1307","var":"Q{}priority",as:"*NA",slot:"8",flags:"e",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"}]},{N:"let",line:"1309","var":"Q{}slotMap",as:"1FM v[?]",slot:"9",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",as:"FM",diag:"0|0||map:keys",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1A"},{N:"subscript",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:"21|0||$local.variables",C:[{N:"check",card:"1", +diag:"21|0||$local.variables",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]},{N:"arrayBlock",C:[{N:"dot",type:"1A"}]}]},{N:"int",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"1310","var":"Q{}role",as:"?NA",slot:"10",flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"let",line:"1312","var":"Q{}ns",as:"?FM k[AS] v[1AS]",slot:"11",flags:"e",C:[{N:"choose", +C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xpathDefaultNamespace"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]},{N:"let",line:"1314","var":"Q{}xpath",as:"?NA",slot:"12",flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"},{N:"let",line:"1329","var":"Q{}temp",as:"1",slot:"13",C:[{N:"check", +line:"1359",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"try",flags:"r",C:[{N:"applyT",mode:"Q{}exportNS",bSlot:"99",C:[{N:"ifCall",role:"select",name:"Q{http://saxon.sf.net/}compile-XPath",type:"1",C:[{N:"check",card:"1",diag:"0|0||saxon:compile-XPath",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||saxon:compile-XPath",C:[{N:"cvUntyped",to:"AS",diag:"0|0||saxon:compile-XPath",C:[{N:"data",diag:"0|0||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}xpath",slot:"12"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"literal",count:"2",C:[{N:"map",size:"1",C:[{N:"str",val:"language"},{N:"str",val:"XSLT"}]},{N:"map",size:"1",C:[{N:"str",val:"type"},{N:"str",val:"pattern"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"splitPattern"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}priority",slot:"8"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"globals"},{N:"varRef",name:"Q{}globals",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"globalFunctions"},{N:"varRef",name:"Q{}global.functions",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"accumulators"},{N:"varRef",name:"Q{}accumulators",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"nsAttribute"}, +{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}nsAttribute",slot:"6"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"html5Mode"},{N:"varRef",name:"Q{}defaultHTML5",slot:"7"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"slotMap"},{N:"varRef",name:"Q{}slotMap",slot:"9"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"contextType"},{N:"choose", +C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}role",slot:"10"}]}]},{N:"str",val:"match"}]},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"100"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"5"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}ns",slot:"11"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, +{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"check",card:"?",diag:"0|2||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"catch",errors:"*",C:[{N:"fn",line:"1368",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"choose",line:"1366",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"local-name-from-QName",C:[{N:"treat",as:"AQ", +diag:"0|0||fn:local-name-from-QName",C:[{N:"check",card:"?",diag:"0|0||fn:local-name-from-QName",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:local-name-from-QName",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]},{N:"str",val:"XPST0003"}]},{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0340"},{N:"true"},{N:"data",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in pattern"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"101",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}pattern",flags:"a"}]}]},{N:"str",val:" {"}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall", +name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"let",line:"1373","var":"Q{}temp",as:"1NE",slot:"14",C:[{N:"choose",line:"1374",C:[{N:"instance",line:"1375",of:"1FM",C:[{N:"varRef",name:"Q{}temp",slot:"13"}]},{N:"let",line:"1376","var":"Q{}type",slot:"15",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"13"},{N:"str",val:"type"}]},{N:"let",line:"1382","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"16",flags:"l",C:[{N:"fn", +name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}type",slot:"15"}]}]}]},{N:"str",val:" "}]},{N:"treat",line:"1377",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"13"},{N:"str",val:"expr"}]},{N:"copy",line:"1378",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"1379",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"1382",name:"type",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"16"}]},{N:"slash",line:"1384",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"1389",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"varRef",name:"Q{}temp",slot:"13"}]}]},{N:"let",line:"1393","var":"Q{}attr",as:"?NA",slot:"17",C:[{N:"varRef", +name:"Q{}role",slot:"10"},{N:"forEach",line:"1401",C:[{N:"choose",line:"1399",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"14"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}UnionExprP"}]}]},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"14"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"true"},{N:"varRef",name:"Q{}temp",slot:"14"}]},{N:"choose",line:"1410",C:[{N:"fn",line:"1411",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis", +name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"current"}]}]}]},{N:"elem",line:"1412",name:"p.withCurrent",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1413",C:[{N:"varRef",name:"Q{}attr",slot:"17"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"applyT",line:"1414",mode:"Q{}pattern-with-current", +bSlot:"102",C:[{N:"dot",role:"select",type:"1NE"}]}]}]},{N:"true"},{N:"copy",line:"1418",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"1419",C:[{N:"varRef",name:"Q{}attr",slot:"17"},{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"267",rank:"4",minImp:"0",slots:"12",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accRule",flags:"s",line:"95",module:"streaming.xsl",C:[{N:"p.nodeTest", +role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accRule"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AS",slot:"2",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck", +C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg159823385",bSlot:"103"}]}]}]}]},{N:"sequence",line:"96",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"97",name:"Q{}valueType",slot:"1",flags:"ti",as:"1AS",C:[{N:"check", +role:"conversion",card:"1",diag:"8|0|XTTE0590|valueType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|valueType",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|valueType",C:[{N:"data",diag:"8|0|XTTE0590|valueType",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"98","var":"Q{}this",as:"1",slot:"3",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}accRule",flags:"a"},{N:"let",line:"135","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1FM k[AS] v[+]",slot:"4",flags:"l", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"Q{}value"},{N:"sequence",C:[{N:"varRef",name:"Q{}this",slot:"3"},{N:"int",val:"0"},{N:"varRef",name:"Q{}valueType",slot:"1"}]}]},{N:"let",line:"99","var":"Q{}priority",as:"?NA",slot:"5",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"},{N:"let",line:"117","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"6",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}priority", +slot:"5"}]},{N:"let",line:"100","var":"Q{}attributes",as:"*NA",slot:"7",C:[{N:"treat",line:"101",as:"NA",diag:"3|0|XTTE0570|attributes",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA nQ{}priority]"}]}]},{N:"let",line:"104","var":"Q{}action",as:"*NE",slot:"8",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"let",line:"106","var":"Q{}typeAsMap",slot:"9",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"104", +C:[{N:"varRef",name:"Q{}valueType",slot:"1"}]},{N:"let",line:"107","var":"Q{}patterns",as:"+NE",slot:"10",C:[{N:"treat",line:"108",as:"NE",diag:"3|0|XTTE0570|patterns",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|patterns",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]}]}]}]},{N:"forEach",line:"112",C:[{N:"varRef", +name:"Q{}patterns",slot:"10"},{N:"elem",line:"113",name:"accRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"valueType",flags:"l",C:[{N:"varRef",name:"Q{}valueType",slot:"1"}]},{N:"varRef",line:"114",name:"Q{}attributes",slot:"7"},{N:"att",line:"115",name:"prio",flags:"l",C:[{N:"fn",line:"116",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"varRef",line:"117",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"},{N:"cast", +line:"118",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}priority",slot:"5"}]}]}]}]},{N:"true"},{N:"data",line:"121",C:[{N:"mergeAdj",C:[{N:"applyT",mode:"Q{}pattern-priority",bSlot:"105",C:[{N:"dot",role:"select",type:"1NE"}]}]}]}]}]},{N:"str",val:""}]}]},{N:"copy",line:"125",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"126",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"127",name:"role",flags:"l",C:[{N:"str", +val:"match"}]},{N:"axis",line:"128",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"130","var":"Q{}processedAction",as:"1NE",slot:"11",C:[{N:"treat",line:"131",as:"NE",diag:"3|0|XTTE0570|processedAction",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processedAction",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}action",slot:"8"},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"streaming.xsl",line:"133",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"106",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM k[AS] v[+]",C:[{N:"varRef",line:"135",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"4"}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"int",val:"1"}]}]}]}]},{N:"ufCall",line:"142",name:"Q{MyFunctions}typeCheck", +tailCall:"false",bSlot:"107",C:[{N:"varRef",name:"Q{}processedAction",slot:"11"},{N:"varRef",name:"Q{}typeAsMap",slot:"9"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"2"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"223",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}constructSimpleContent",flags:"s",line:"362",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}constructSimpleContent"}, +{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"363","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"364",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"366",C:[{N:"fn",line:"367",name:"matches",C:[{N:"check",card:"?",diag:"0|0||fn:matches",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]},{N:"str",val:"^xs:string|^[1+?*]AS"},{N:"str",val:""}]},{N:"varRef",line:"368",name:"Q{}parts", +slot:"0"},{N:"true"},{N:"let",line:"371","var":"Q{}on-empty",as:"*NE n*:onEmpty",slot:"1",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"axis",name:"child",nodeTest:"NE n*:onEmpty"}]}]}]},{N:"let",line:"379","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*NE n*:onEmpty",slot:"2",flags:"l",C:[{N:"docOrder",intra:"0",C:[{N:"varRef", +name:"Q{}on-empty",slot:"1"}]},{N:"sequence",line:"372",C:[{N:"elem",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_STRING",bSlot:"108"}]},{N:"forEach",line:"374",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"elem",line:"375",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"109"}]}, +{N:"elem",line:"376",name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"copy",line:"377",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"378",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ITEM",bSlot:"110"}]},{N:"axis",line:"379",name:"attribute",nodeTest:"NA"},{N:"except",line:"379",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"}]}]}]}]}]}]}]},{N:"elem",line:"384", +name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"111"}]},{N:"elem",line:"385",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]},{N:"varRef",line:"388",name:"Q{}on-empty",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"255",rank:"1",minImp:"0",slots:"11",matches:"NE nQ{http://ns.saxonica.com/xslt/export}merge", +flags:"s",line:"58",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}merge"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"59","var":"Q{}sources",as:"*NE",slot:"0",C:[{N:"treat",line:"60",as:"NE",diag:"3|0|XTTE0570|sources",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc"}]}]},{N:"let",line:"64","var":"Q{}keyTypes",as:"*FA",slot:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}sources",slot:"0"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}_from-sequence",type:"1FA",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"112",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]},{N:"sequence",line:"74",C:[{N:"let","var":"Q{}h",slot:"2",C:[{N:"first",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1FA v[1FM]",slot:"3",flags:"l",C:[{N:"treat",as:"FA v[1FM]",diag:"0|0||f:comparableMergeKeys",C:[{N:"check",card:"1",diag:"0|0||f:comparableMergeKeys", +C:[{N:"varRef",name:"Q{}h",slot:"2"}]}]},{N:"choose",C:[{N:"some","var":"Q{}t",slot:"4",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"}]},{N:"fn",name:"not",C:[{N:"let","var":"Q{}k1",as:"1FA v[1FM]",slot:"5",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"},{N:"let","var":"Q{}k2",as:"1FA v[1FM]",slot:"6",C:[{N:"treat",as:"FA v[1FM]",diag:"0|1||f:comparableMergeKeys",C:[{N:"varRef",name:"Q{}t",slot:"4"}]},{N:"and",line:"100",op:"and",C:[{N:"vc",op:"eq", +onEmpty:"0",comp:"CAVC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k2",slot:"6"}]}]},{N:"every","var":"Q{}k",slot:"7",C:[{N:"to",C:[{N:"int",val:"1"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"5"}]}]},{N:"let","var":"Q{}a",slot:"8",C:[{N:"lookup", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k1",slot:"5"},{N:"varRef",name:"Q{}k",slot:"7"}]},{N:"str",val:"p"}]},{N:"let","var":"Q{}b",slot:"9",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k2",slot:"6"},{N:"varRef",name:"Q{}k",slot:"7"}]},{N:"str",val:"p"}]},{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}a",slot:"8"}]},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}a",slot:"8"}]}]}]}]},{N:"int",val:"1"},{N:"int", +val:"2"}]},{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}a",slot:"8"}]}, +{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"113",C:[{N:"str",val:"XTTE2230"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Merge key types "},{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"},{N:"forEach",C:[{N:"lookupAll",C:[{N:"dot",type:"1FA"}]},{N:"ufCall",name:"Q{MyTypes}displayType", +tailCall:"false",bSlot:"114",C:[{N:"treat",as:"FM",diag:"0|0||t:displayType",C:[{N:"dot"}]}]}]}]},{N:"str",val:","}]}]},{N:"str",val:" are not comparable"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}merge",flags:"a"}]}]}]}]},{N:"let",line:"76","var":"Q{}parts",as:"*NE",slot:"10",C:[{N:"treat",line:"77",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE d[NE,NE n*:mergeSrc]"},{N:"withParam",name:"Q{}context-type", +flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"merging.xsl",line:"78",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"115",C:[{N:"check",line:"63",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"first",C:[{N:"varRef",name:"Q{}sources",slot:"0"}]},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]},{N:"copy",line:"81",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}merge", +C:[{N:"sequence",role:"content",line:"82",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"action"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]}]},{N:"varRef",name:"Q{}sources",slot:"0"},{N:"varRef",name:"Q{}parts",slot:"10"}]}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"1.0",seq:"296",rank:"3",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}convert",flags:"s",line:"905",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}convert"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",op:"eq", +onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}to"}]},{N:"str",val:"xs:string"}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}data"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"906","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"907",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}data"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"choose",line:"909",C:[{N:"fn",line:"910",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"self", +nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"varRef",line:"911",name:"Q{}temp",slot:"0"},{N:"true"},{N:"copy",line:"914",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}convert",C:[{N:"sequence",role:"content",line:"915",C:[{N:"att",name:"type",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}to"}]},{N:"str",val:"*"}]}]},{N:"axis",line:"916",name:"attribute",nodeTest:"NA"},{N:"elem",line:"917",name:"data", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"choose",line:"918",C:[{N:"fn",line:"919",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"*NT"}]},{N:"elem",line:"920",name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"921",name:"Q{}temp",slot:"0"}]},{N:"true"}, +{N:"varRef",line:"925",name:"Q{}temp",slot:"0"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"295",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}convert",flags:"s",line:"898",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}convert"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"898",name:"attribute",nodeTest:"NA nQ{}to"}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"899",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}convert",C:[{N:"sequence",role:"content",line:"900",C:[{N:"att",name:"type",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}to"}]},{N:"str",val:"*"}]}]},{N:"axis",line:"901",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"902",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"183",part:"1",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}catch",flags:"s",line:"279",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}catch"},{N:"let",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"281","var":"Q{}parts",as:"*NE",slot:"1",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"285",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"286",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att", +line:"287",name:"sType",flags:"l",C:[{N:"ufCall",line:"284",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"116",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"117",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"118",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"288",name:"Q{}parts",slot:"1"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"274",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}package",flags:"s",line:"117",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}package"},{N:"copy", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"118",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}package",C:[{N:"sequence",role:"content",line:"119",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"177","var":"Q{}accumulators",as:"1FM v[1AS]",slot:"0",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"string",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"str",val:"*"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, +{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"187","var":"Q{}global.functions",as:"1FM",slot:"1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}name"}, +{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"body"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"194", +"var":"Q{}typed-globals",as:"*NE",slot:"2",C:[{N:"treat",line:"196",as:"NE",diag:"3|0|XTTE0570|typed-globals",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalVariable,NE nQ{http://ns.saxonica.com/xslt/export}globalParam]"}]},{N:"withParam",name:"Q{}globals",flags:"t",as:"1FM k[AZ] v[1NE]",C:[{N:"ifCall",line:"200",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]}]}, +{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str", +val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}global.functions",flags:"t",as:"1FM",C:[{N:"varRef",line:"201",name:"Q{}global.functions",slot:"1"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"1FM v[1AS]",C:[{N:"varRef",line:"203",name:"Q{}accumulators",slot:"0"}]}]}]},{N:"sequence",line:"207",C:[{N:"choose",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}options",bSlot:"119"},{N:"str",val:"traceProgress"}]},{N:"message",line:"208",C:[{N:"sequence",role:"select", +C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}typed-globals",slot:"2"}]},{N:"str",val:"global variables/params"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"221",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"int",val:"0"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM k[* n~error] v[** n~error]",C:[{N:"map", +size:"0"}]},{N:"withParam",name:"Q{}globals",flags:"t",as:"1FM v[1]",C:[{N:"ifCall",line:"215",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}typed-globals",slot:"2"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"dot", +type:"1NE"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}global.functions",flags:"t",as:"1FM",C:[{N:"varRef",line:"229",name:"Q{}global.functions",slot:"1"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"1FM v[1AS]",C:[{N:"varRef",line:"231",name:"Q{}accumulators",slot:"0"}]},{N:"withParam",name:"Q{}named-template-params",flags:"t",as:"1FM v[1FM v[1A]]",C:[{N:"ifCall", +line:"212",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE n*:template"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"slash", +simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"}, +{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}version",flags:"t",as:"1ADI",C:[{N:"check",line:"233",card:"1",diag:"8|0|XTTE0590|version",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"data",diag:"8|0|XTTE0590|version",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]}]},{N:"choose", +line:"235",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"120"}]}]},{N:"fn",line:"238",name:"error",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"121"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"XPath compilation stage failed with "},{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"122"}]}]}]}, +{N:"str",val:" errors - see message console for details"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"297",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj",flags:"s",line:"934",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"935","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"936",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"938",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj",C:[{N:"sequence",role:"content",line:"939",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}sType"}]},{N:"choose",line:"940",C:[{N:"fn",line:"941",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"}]}]},{N:"varRef",line:"942",name:"Q{}temp",slot:"0"},{N:"fn",line:"944",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"0"}, +{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"item("}]},{N:"elem",line:"945",name:"homCheck",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"946",name:"Q{}temp",slot:"0"}]},{N:"true"},{N:"varRef",line:"950",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"193",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}evaluate",flags:"s",line:"88",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", +test:"NE nQ{http://ns.saxonica.com/xslt/export}evaluate"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"88",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"89",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"process-xpath ex:evaluate @ex:asJ = "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"let",line:"91","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"92",as:"NE",diag:"3|0|XTTE0570|temp", +C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"95",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"123",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"ufCall",line:"90",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"124",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg519751097",bSlot:"125"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"280",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}empty",flags:"s",line:"436",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}empty"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"437",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}empty",C:[{N:"sequence",role:"content",line:"438",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"126"}]},{N:"axis",line:"439",name:"attribute",nodeTest:"NA"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"286",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}first",flags:"s",line:"610",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", +test:"NE nQ{http://ns.saxonica.com/xslt/export}first"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"610",name:"attribute",nodeTest:"NA nQ{}BC"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"611","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"612",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"614",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}first",C:[{N:"sequence",role:"content",line:"615",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}BC]"},{N:"att",line:"617",name:"sType",flags:"l",C:[{N:"ufCall", +name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"127",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"617",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"128",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"?"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"618",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"269",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}key",flags:"s",line:"46",module:"key.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"47","var":"Q{}match",as:"*NE",slot:"0",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child", +nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"match"}]}]},{N:"let",line:"48","var":"Q{}processed-match",as:"1NE",slot:"1",C:[{N:"treat",line:"49",as:"NE",diag:"3|0|XTTE0570|processed-match",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processed-match",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}match",slot:"0"}]}]}]},{N:"copy",line:"60",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}key",C:[{N:"sequence",role:"content", +line:"61",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"62",name:"flags",flags:"l",C:[{N:"convert",line:"54",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|flags",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|flags",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}flags"},{N:"choose",line:"55",C:[{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind", +tailCall:"false",bSlot:"129",C:[{N:"varRef",name:"Q{}processed-match",slot:"1"},{N:"str",val:"NA"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"a"}]}]},{N:"choose",line:"56",C:[{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"false",bSlot:"130",C:[{N:"varRef",name:"Q{}processed-match",slot:"1"},{N:"str",val:"NN"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"n"}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]},{N:"varRef",line:"63",name:"Q{}processed-match",slot:"1"},{N:"applyT",line:"64",flags:"c", +bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}match",slot:"0"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"178",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty",flags:"s",line:"202",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"203","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"204",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"206",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"207",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}, +{N:"varRef",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"279",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}copy",flags:"s",line:"419",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}copy"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"420",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"131"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"426",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"132",C:[{N:"str",val:"XTTE0945"}, +{N:"str",val:"No context item for xsl:copy"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}copy",flags:"a"}]}]},{N:"let",line:"427","var":"Q{}source",as:"1NE",slot:"1",C:[{N:"treat",line:"428",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"430",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}copy",C:[{N:"sequence",role:"content", +line:"431",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"133",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}context-type",slot:"0"},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"134"}]}]}]}]},{N:"axis",line:"432",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"432",name:"Q{}source",slot:"1"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"196",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function", +flags:"s",line:"178",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"178",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"179","var":"Q{}type",slot:"0",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"135",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"let",line:"180","var":"Q{}temp",as:"1NE",slot:"1",C:[{N:"treat",line:"181",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check", +card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"forEach",line:"185",C:[{N:"varRef",name:"Q{}temp",slot:"1"},{N:"copy",line:"186",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"189",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE n*:arg"},{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"136",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq", +comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"body"}]}]}]},{N:"treat",as:"FM",diag:"0|1||f:typeCheck",C:[{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"r"}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"137"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0780"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"callable-components.xsl",line:"189",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"function "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"()"}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"292",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function",flags:"s",line:"859",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"nextMatch",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"860",flags:"t",C:[{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"empty"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"197",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function",flags:"s",line:"194",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match", +test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"195",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables", +C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"196",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"copy",line:"202",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}function",C:[{N:"sequence",role:"content", +line:"203",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE n*:arg"},{N:"applyT",line:"204",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"body"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"207",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"axis", +name:"child",nodeTest:"NE n*:arg"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE n*:arg"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"fn",name:"string",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}, +{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"138"}]}]}]}]}]}]},{N:"varRef",name:"Q{}local.variables",slot:"0"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"arith",line:"208",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"1"},{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE n*:arg"}]}]}]},{N:"withParam",name:"Q{}context-type", +flags:"t",C:[{N:"empty"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"281",part:"2",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fork",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}fork"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"445","var":"Q{}parts",as:"*NE",slot:"10",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"449",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"10"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"139"}]},{N:"axis",line:"451",name:"attribute", +nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"11",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"140",C:[{N:"check",card:"+",diag:"0|0||t:commonType", +C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"141",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"12", +C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"142",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"11"}]},{N:"choose",line:"461",C:[{N:"every","var":"Q{}p",slot:"13",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"13"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"10"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"12"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"10"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE", +C:[{N:"sequence",role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"12"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"10"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"14",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}role"},{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"14"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall", +name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"143",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"11"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"10"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"164",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://ns.saxonica.com/xslt/export}iterate",flags:"s",line:"179",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"180",C:[{N:"param",name:"Q{}no.slots",slot:"0",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"181",name:"Q{}local.variables",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"182",name:"Q{}context-type",slot:"2",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"144"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"183",name:"Q{}focus-context-type",slot:"3",flags:"t", +as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"2"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"3"}]}]}]},{N:"copy",line:"184",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}iterate",C:[{N:"let",role:"content",line:"186","var":"Q{}for",as:"1NE",slot:"4",C:[{N:"treat",line:"187",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for", +C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"select"}]}]}]}]}]},{N:"let",line:"189","var":"Q{}bindings",as:"*NE nQ{http://ns.saxonica.com/xslt/export}for",slot:"5",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}for",slot:"4"},{N:"axis",name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}for"}]},{N:"let",line:"190","var":"Q{}new.local.variables", +as:"1FM",slot:"6",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"varRef",name:"Q{}bindings",slot:"5"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}for"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"str", +val:""}]}]}]},{N:"varRef",name:"Q{}local.variables",slot:"1"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"191","var":"Q{}no.slots",as:"1ADI",slot:"7",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"0"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}bindings",slot:"5"}]}]},{N:"let",line:"193","var":"Q{}params",as:"1NE",slot:"8",C:[{N:"treat",line:"194",as:"NE",diag:"3|0|XTTE0570|params", +C:[{N:"check",card:"1",diag:"3|0|XTTE0570|params",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"params"}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"varRef",line:"195",name:"Q{}no.slots",slot:"7"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"varRef",line:"196",name:"Q{}new.local.variables",slot:"6"}]}]}]}]},{N:"let", +line:"201","var":"Q{}body",as:"*NE",slot:"9",C:[{N:"treat",line:"202",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"select"},{N:"str",val:"params"}]},{N:"attVal",name:"Q{}role"}]}]}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef", +line:"203",name:"Q{}context-type",slot:"2"}]},{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"repetition.xsl",line:"199",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"145",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"4"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"205", +name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}params",slot:"8"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"fn",name:"string", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]},{N:"varRef",name:"Q{}new.local.variables",slot:"6"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"arith",line:"206",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"7"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}params",slot:"8"},{N:"axis",name:"child", +nodeTest:"NE"}]}]}]}]}]}]},{N:"sequence",line:"212",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",line:"211",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"146",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"147",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}body",slot:"9"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"action"},{N:"str",val:"on-completion"}]},{N:"attVal", +name:"Q{}role"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"148",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"213",name:"attribute",nodeTest:"NA nQ{}role"},{N:"varRef",line:"214",name:"Q{}for",slot:"4"},{N:"varRef",line:"214",name:"Q{}params",slot:"8"},{N:"varRef",line:"214",name:"Q{}body", +slot:"9"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"281",part:"1",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"445","var":"Q{}parts",as:"*NE",slot:"5",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"449",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"149"}]},{N:"axis",line:"451",name:"attribute", +nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"6",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"150",C:[{N:"check",card:"+",diag:"0|0||t:commonType", +C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"151",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"7", +C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"152",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"6"}]},{N:"choose",line:"461",C:[{N:"every","var":"Q{}p",slot:"8",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"8"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"7"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"5"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE", +C:[{N:"sequence",role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"7"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"5"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"9",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, +{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"9"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType", +tailCall:"false",bSlot:"153",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"6"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"5"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"289",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}VARDEF",flags:"s",as:"1NE",line:"784",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}VARDEF"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"785",card:"1",diag:'7|0|XTTE0505|match="ex:VARDEF" mode="process-xpath"',C:[{N:"sequence",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"786",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI", +diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"elem",line:"789",name:"let",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"var",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"varRef",line:"787",name:"Q{}no.slots",slot:"1"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"154"}]},{N:"applyT",line:"790",mode:"Q{}attribute-sans-prefix",bSlot:"155",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}, +{N:"axis",line:"791",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"791",name:"attribute",nodeTest:"NA nQ{}module"},{N:"let",line:"792","var":"Q{}temp",as:"*NE",slot:"2",C:[{N:"treat",line:"793",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"796",C:[{N:"fn",line:"797",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"sequence",line:"799",C:[{N:"att",name:"sType",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"ufCall",line:"803",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"156",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]},{N:"ufCall",line:"800",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"157",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"158"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0570"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"803",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:variable name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"806",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"},{N:"axis", +name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"varRef",name:"Q{}temp",slot:"2"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"273",rank:"2",minImp:"0",slots:"0",matches:"NT",flags:"s",line:"111", +module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NT"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"111",name:"not",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"empty",role:"action"}]}]}]},{N:"co",id:"147",binds:"22",C:[{N:"template",name:"Q{}strip-space",flags:"os", +as:"*NE",line:"1465",module:"XSLT-SEF-compiler.xsl",slots:"10",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1467",C:[{N:"param",name:"Q{}precedence-map",slot:"0",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]",diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map", +C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1468",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"choose",line:"1469",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]}]}, +{N:"let",line:"1470","var":"Q{}first",as:"?NE",slot:"2",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]}]},{N:"elem",line:"1532",name:"strip",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"forEach",line:"1533",C:[{N:"forEachGroup",line:"1472",algorithm:"by",C:[{N:"treat",role:"select", +as:"NE",diag:"3|0|XTTE0570|unique",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",C:[{N:"forEach",role:"select",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]},{N:"let",line:"1475","var":"Q{}isStrip",as:"1AB",slot:"3",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space"}]}, +{N:"let",line:"1479","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AS",slot:"4",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}isStrip",slot:"3"},{N:"str",val:"s"},{N:"true"},{N:"str",val:"p"}]},{N:"let",line:"1481","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"5",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}isStrip",slot:"3"}]},{N:"let",line:"1477","var":"Q{}precedence",as:"1ADI",slot:"6",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|precedence", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"0"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"1488","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"7",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}precedence",slot:"6"}]},{N:"forEach",line:"1478",C:[{N:"fn",name:"tokenize",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}elements"}]}]}]},{N:"compElem",line:"1479",C:[{N:"varRef",role:"name",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"4"},{N:"sequence",role:"content",line:"1480",C:[{N:"att",name:"elements",flags:"l",C:[{N:"dot",type:"1AS"}]},{N:"att",line:"1481",name:"strip",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"5"}]},{N:"att",line:"1487", +name:"test",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"NE"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"dot",type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:" n"},{N:"dot",type:"1AS"}]}]}]}]},{N:"att",line:"1488",name:"prec",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"7"}]},{N:"att",line:"1497",name:"priority",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"*", +C:[{N:"dot",type:"1AS"}]},{N:"dec",val:"-0.5"},{N:"fn",name:"contains",C:[{N:"dot",type:"1AS"},{N:"str",val:"*"}]},{N:"dec",val:"-0.25"},{N:"true"},{N:"int",val:"0"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sortKey",line:"1505",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}, +{N:"sortKey",line:"1506",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}priority"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",line:"1510",name:"Q{}elements"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"let",role:"content",line:"1512","var":"Q{}highest-precedence",as:"?AO",slot:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"currentGroup"},{N:"fn",name:"number",C:[{N:"attVal",name:"Q{}prec"}]}]}]},{N:"let",line:"1514","var":"Q{}active",slot:"9",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"gc",op:"=",card:"1:1",comp:"QUNC",C:[{N:"attVal",name:"Q{}prec"},{N:"varRef",name:"Q{}highest-precedence",slot:"8"}]}]},{N:"sequence",line:"1515",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists", +C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}active",slot:"9"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}s"}]}]}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}active",slot:"9"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p"}]}]}]}]},{N:"ufCall",line:"1518",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0270"},{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting strip and preserve space declarations for "},{N:"attVal",name:"Q{}elements"}]},{N:"str",val:" at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}first",slot:"2"}]}]}]},{N:"first",line:"1520",C:[{N:"varRef",name:"Q{}active",slot:"9"}]}]}]}]}]}]},{N:"attVal",role:"key",line:"1525",name:"Q{}prec"},{N:"sortKey",role:"sort",line:"1526",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal", +name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sort",role:"content",line:"1527",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1528",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number", +C:[{N:"attVal",name:"Q{}priority"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"copy",line:"1534",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1535",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}prec"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}code"}]}]}]}]}]}]}]}]}]},{N:"co",id:"148",binds:"22",C:[{N:"function",name:"Q{MyFunctions}wrongValue",line:"813",module:"normalize.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"+NA"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"816",C:[{N:"first",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]},{N:"str",val:" is not a permitted value for "}]},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"dot",type:"1NA"}]}]}]}]},{N:"co",id:"149",binds:"79 150",C:[{N:"template",name:"Q{}role-value-template",flags:"os",line:"177",module:"creating-new-nodes.xsl",slots:"2",C:[{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"178","var":"Q{}role",slot:"0",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"0"},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]},{N:"let",line:"180","var":"Q{}AVT",as:"1NE",slot:"1",C:[{N:"check",line:"181",card:"1",diag:"3|0|XTTE0570|AVT",C:[{N:"callT",name:"Q{}value-template",bSlot:"1"}]},{N:"forEach",line:"184",C:[{N:"varRef",name:"Q{}AVT",slot:"1"},{N:"copy",line:"185",flags:"cin", +sit:"1NE",C:[{N:"sequence",role:"content",line:"186",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"co",id:"151",binds:"1 61",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_MAP",as:"1AS",line:"63",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"63",name:"Q{MyTypes}unmarshalType",tailCall:"false", +bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_MAP",bSlot:"1"}]}]}]},{N:"co",id:"152",binds:"34",C:[{N:"function",name:"Q{MyFunctions}check-sort",line:"247",module:"lib.xsl",flags:"pU",as:"0",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"255",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"check",card:"0",diag:"5|0|XTTE0780|f:check-sort#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0", +C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:sort+ must be the first children of "},{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"153",binds:"",C:[{N:"function",name:"Q{MyFunctions}EQNameToQName",line:"166",module:"lib.xsl",flags:"pU",as:"1AQ",slots:"2",C:[{N:"arg",name:"Q{}eqname",as:"1AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"168","var":"Q{}parts",as:"*AS",slot:"1",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}eqname",slot:"0"},{N:"int",val:"3"}]},{N:"str",val:"\\}"},{N:"str",val:""}]},{N:"fn",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"fn",line:"169",name:"QName",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"1"}]},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"int",val:"2"}]}]}]}]}]}]},{N:"co", +id:"135",binds:"154 7 154 7",C:[{N:"mode",name:"Q{}pattern-priority",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"304",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"22",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"22",flags:"S", +C:[{N:"str",val:"0"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"3",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.genPos",flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.genPos"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"308",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent",flags:"s",line:"31",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent"},{N:"applyT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"32",flags:"ct",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"306",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate",flags:"s",line:"29",module:"pattern.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"29",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}code"}]},{N:"str",val:""}]}]},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"29",flags:"S",C:[{N:"str",val:"1"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"5",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.simPos", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.simPos"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"2",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.genNode", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.genNode"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"305",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.booleanExp", +flags:"s",line:"28",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.booleanExp"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"28",flags:"S",C:[{N:"str",val:"1"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"311",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn", +flags:"s",line:"57",module:"pattern.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"57",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"intersect"},{N:"str",val:"except"}]},{N:"attVal",name:"Q{}op"}]}]},{N:"applyT",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"58",flags:"ct",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"310",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn",flags:"s",line:"37",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"}, +{N:"fn",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",name:"string",C:[{N:"ufCall",line:"41",name:"Q{MyFunctions}nodeTestPriority",tailCall:"false",bSlot:"0",C:[{N:"choose",line:"39",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"1",C:[{N:"check",card:"1", +diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]}]}]}]},{N:"true"},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"int",val:"1"},{N:"str",val:"p"},{N:"str",val:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"4",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeSet", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeSet"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"307",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.any", +flags:"s",line:"30",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.any"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"30",flags:"S",C:[{N:"str",val:"-1"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"310",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeTest", +flags:"s",line:"37",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeTest"},{N:"fn",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",name:"string",C:[{N:"ufCall",line:"41",name:"Q{MyFunctions}nodeTestPriority",tailCall:"false",bSlot:"2",C:[{N:"choose",line:"39",C:[{N:"fn",name:"exists",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"3",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]}]}]}]},{N:"true"},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"int",val:"1"},{N:"str",val:"p"},{N:"str",val:"N"}]}]}]}]}]}]}]}, +{N:"co",id:"155",binds:"156 157",C:[{N:"function",name:"Q{MyFunctions}literalType",line:"1009",module:"type.xsl",flags:"pU",as:"1FM",slots:"2",C:[{N:"arg",name:"Q{}inst",as:"1NE"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1011","var":"Q{}name",as:"1AS",slot:"1",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"0"}]},{N:"choose",line:"1013",C:[{N:"compareToString", +line:"1014",op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"ifCall",line:"1015",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str", +val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"ifCall",line:"1022",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"fn",name:"normalize-space", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"0"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str", +val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"0"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"1"},{N:"varRef",name:"Q{}name",slot:"1"}]}]}]}]}]}]},{N:"co",id:"158",binds:"",C:[{N:"function",name:"Q{MyTypes}isAtomic",line:"458",module:"type.xsl",flags:"pU", +as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"460","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]},{N:"or",line:"461",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef", +name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"A"}]}]}]}]}]},{N:"co",id:"159",binds:"",C:[{N:"function",name:"Q{MyFunctions}cast",line:"465",module:"type.xsl",flags:"pU",as:"?A",slots:"2",C:[{N:"arg", +name:"Q{}a",as:"1A"},{N:"arg",name:"Q{}type",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"468",C:[{N:"compareToString",line:"469",op:"eq",val:"AB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"470",flags:"a",as:"1AB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"472",op:"eq",val:"ASNTNCR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", +line:"473",flags:"a",as:"1ASNTNCR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"475",op:"eq",val:"ASNTNCE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"476",flags:"a",as:"1ASNTNCE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"478",op:"eq",val:"ASNTNCI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"479",flags:"a",as:"1ASNTNCI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"481",op:"eq",val:"ASNTNC",C:[{N:"varRef", +name:"Q{}type",slot:"1"}]},{N:"cast",line:"482",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"484",op:"eq",val:"ASNTN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"485",flags:"a",as:"1ASNTN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"487",op:"eq",val:"ASNT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"488",flags:"a",as:"1ASNT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"490",op:"eq",val:"ASNTL", +C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"491",flags:"a",as:"1ASNTL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"493",op:"eq",val:"ASNTM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"494",flags:"a",as:"1ASNTK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"496",op:"eq",val:"ASN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"497",flags:"a",as:"1ASN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"499", +op:"eq",val:"AS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"500",flags:"a",as:"1AS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"502",op:"eq",val:"AQ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"503",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"505",op:"eq",val:"AU",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"506",flags:"a",as:"1AU",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"508", +op:"eq",val:"AA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"509",flags:"a",as:"1AA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"511",op:"eq",val:"AM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"512",flags:"a",as:"1AM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"514",op:"eq",val:"AMP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"515",flags:"a",as:"1AMP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"517",op:"eq",val:"AT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"518",flags:"a",as:"1AT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"520",op:"eq",val:"AR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"521",flags:"a",as:"1AR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"523",op:"eq",val:"ARD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"524",flags:"a",as:"1ARD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"526",op:"eq",val:"ARY",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"527",flags:"a",as:"1ARY",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"529",op:"eq",val:"AG",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"530",flags:"a",as:"1AG",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"532",op:"eq",val:"AH",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"533",flags:"a",as:"1AH",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"535",op:"eq",val:"AI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"536",flags:"a",as:"1AI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"538",op:"eq",val:"AJ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"539",flags:"a",as:"1AJ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"541",op:"eq",val:"AK",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"542",flags:"a",as:"1AK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"544",op:"eq",val:"AD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"545",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"547",op:"eq",val:"ADI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"548",flags:"a",as:"1ADI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"550",op:"eq",val:"ADIN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"551",flags:"a",as:"1ADIN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"553",op:"eq",val:"ADINN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"554",flags:"a",as:"1ADINN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"556",op:"eq",val:"ADIP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"557",flags:"a",as:"1ADIP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"559",op:"eq",val:"ADIPP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"560",flags:"a",as:"1ADIPP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]}, +{N:"compareToString",line:"562",op:"eq",val:"ADIPL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"563",flags:"a",as:"1ADIPL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"565",op:"eq",val:"ADIPLI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"566",flags:"a",as:"1ADIPLI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"568",op:"eq",val:"ADIPLIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"569",flags:"a",as:"1ADIPLIS",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"571",op:"eq",val:"ADIPLISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"572",flags:"a",as:"1ADIPLISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"574",op:"eq",val:"ADIL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"575",flags:"a",as:"1ADIL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"577",op:"eq",val:"ADILI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"578",flags:"a", +as:"1ADILI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"580",op:"eq",val:"ADILIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"581",flags:"a",as:"1ADILIS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"583",op:"eq",val:"ADILISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"584",flags:"a",as:"1ADILISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"586",op:"eq",val:"AO",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", +line:"587",flags:"a",as:"1AO",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"589",op:"eq",val:"AF",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"590",flags:"a",as:"1AF",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"592",op:"eq",val:"A2",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"593",flags:"a",as:"1A2",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"595",op:"eq",val:"AX",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", +line:"596",flags:"a",as:"1AX",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"598",op:"eq",val:"AZ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"599",flags:"a",as:"1AZ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"true"},{N:"varRef",line:"602",name:"Q{}a",slot:"0"}]}]}]},{N:"co",id:"160",binds:"",C:[{N:"mode",name:"Q{}form.schema",onNo:"DS",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"27",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s", +as:"*FM",line:"397",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"398",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"\\..$"},{N:"str",val:""},{N:"str",val:""}]},{N:"str", +val:"AAA"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"28",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{}sequence-constructor",flags:"s",as:"*FM",line:"400",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{}sequence-constructor"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"401",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{}sequence-constructor",flags:"a"}]},{N:"str",val:"AAA"}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"26",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"388",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"389",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:"\\..+$"},{N:"str",val:""},{N:"str",val:""}]},{N:"ifCall",line:"391",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"isAVT"},{N:"fn",name:"matches",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:"\\.R?A$"},{N:"str",val:""}]}]},{N:"ifCall", +line:"392",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"values"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"str",val:"\\s*\\|\\s*"},{N:"str",val:""}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"}, +{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"25",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{MyFunctions}selectAndContent",flags:"s",line:"384",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{MyFunctions}selectAndContent"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"385",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA nQ{MyFunctions}selectAndContent",flags:"a"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{MyFunctions}selectAndContent",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"24",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{MyFunctions}parents",flags:"s",line:"375",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{MyFunctions}parents"},{N:"ifCall", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"382",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"parents"},{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", +diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{MyFunctions}parents",flags:"a"}]}]}]}]},{N:"str",val:"\\s*\\|\\s*"},{N:"str",val:""}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"top-level",C:[{N:"dot",type:"1AS"}]},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"true"},{N:"dot",type:"1AS"}]}]}]}]}]}]},{N:"co",id:"161",binds:"",C:[{N:"function",name:"Q{MyFunctions}map-aliased-name",line:"540",module:"creating-new-nodes.xsl", +flags:"pU",as:"*",slots:"5",C:[{N:"arg",name:"Q{}original-name",as:"1AQ"},{N:"arg",name:"Q{}namespace-aliases",as:"1FM"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"544","var":"Q{}original-uri",as:"1AU",slot:"2",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"0"}]},{N:"let",line:"545","var":"Q{}new-uri",as:"1AS", +slot:"3",C:[{N:"choose",line:"546",C:[{N:"or",line:"547",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]}]}]},{N:"convert",line:"548",from:"AU",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef", +name:"Q{}original-uri",slot:"2"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]},{N:"int",val:"2"}]}]}]}]}]}]}, +{N:"choose",line:"555",C:[{N:"vc",line:"556",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"2"},{N:"varRef",name:"Q{}new-uri",slot:"3"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"0"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"4",C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]}]},{N:"fn",line:"567", +name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"3"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"str",val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName", +C:[{N:"varRef",name:"Q{}original-name",slot:"0"}]}]}]}]}]}]}]}]}]},{N:"co",id:"46",binds:"",C:[{N:"function",name:"Q{MyFunctions}NCName",line:"148",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"156",C:[{N:"fn",name:"matches",C:[{N:"check",card:"?",diag:"0|0||fn:matches", +C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]},{N:"str",val:"^\\i\\c*$"},{N:"str",val:""}]},{N:"check",card:"1",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"data",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"varRef",name:"Q{}input", +slot:"0"}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"data",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}, +{N:"str",val:"' is not a valid NCName"}]}]}]}]}]}]}]}]}]},{N:"co",id:"162",binds:"74",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg607192333",as:"1AS",line:"240",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"240",name:"concat",C:[{N:"str",val:"This is the XSLT3 compiler version "}, +{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"gVarRef",name:"Q{}compiler.version",bSlot:"0"}]}]}]}]}]},{N:"co",id:"32",binds:"11",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"90",module:"lib.xsl",flags:"pU",as:"1AS",slots:"3",C:[{N:"arg",name:"Q{}name",as:"1AS"},{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}error-code",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"94",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}name",slot:"0"},{N:"varRef",name:"Q{}context",slot:"1"},{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"empty"}]}]}]}]},{N:"co",id:"43",binds:"11",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"85",module:"lib.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}name",as:"1AS"},{N:"arg",name:"Q{}context",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"88",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}name",slot:"0"},{N:"varRef",name:"Q{}context",slot:"1"},{N:"str",val:"XTSE0020"},{N:"empty"}]}]}]}]},{N:"co",id:"45",binds:"22",C:[{N:"function",name:"Q{MyFunctions}not-reserved",line:"72",module:"lib.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}eqName",as:"1AS"},{N:"arg",name:"Q{}location",as:"?N"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"75",C:[{N:"fn",line:"76",name:"matches",C:[{N:"varRef",name:"Q{}eqName",slot:"0"},{N:"str",val:"^Q\\{http://www.w3.org/(1999/XSL/Transform|2005/xpath-functions(/map|/math|/array)?|XML/1998/namespace|2001/XMLSchema(-instance)?|2005/xqt-errors|2000/xmlns/)\\}"},{N:"str",val:""}]},{N:"check",line:"77",card:"1",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"data", +diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0080"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Namespace "},{N:"fn",name:"substring-before",C:[{N:"fn",name:"substring-after",C:[{N:"varRef",name:"Q{}eqName",slot:"0"},{N:"str",val:"Q{"}]},{N:"str",val:"}"}]}]},{N:"str",val:" is reserved for system use"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}location", +slot:"1"}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"80",name:"Q{}eqName",slot:"0"}]}]}]},{N:"co",id:"163",binds:"38 28 15 79 164 17 15 15 28 15 164 28 18 18 19 79",C:[{N:"mode",name:"Q{}sef.named-templates",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"5.0",seq:"327",rank:"13",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", +role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6",seq:"366",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*", +flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"361",rank:"11",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"357",rank:"10",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"353",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"82",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"350",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"75",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"346",rank:"8",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"342",rank:"7",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute", +nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03", +seq:"338",rank:"6",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"334",rank:"5",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"228",rank:"3",minImp:"0",slots:"4",matches:"NE",flags:"s",line:"448",module:"creating-new-nodes.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate", +C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"448",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"448",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"449",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"450",name:"Q{}static-context",slot:"1",flags:"t", +as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"456","var":"Q{}version",as:"?AD",slot:"3",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}, +{N:"true"},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"nextMatch",line:"458",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM",C:[{N:"ifCall",line:"463",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"3"},{N:"dec",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"}, +{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}static-context",slot:"1"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"?AD",C:[{N:"varRef",line:"464",name:"Q{}version",slot:"3"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"465",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"3"},{N:"dec",val:"2"}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"189",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"29",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"32",name:"PARAMDEF", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"33",name:"Q{}record-location",bSlot:"1"},{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"2",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"35",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"3"},{N:"str",val:"select"}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall", +line:"36",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"191",rank:"0",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"41",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"42",C:[{N:"param",name:"Q{}named-template-signatures",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"45",name:"withParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose", +line:"46",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]}]},{N:"str",val:"true"}]},{N:"att",line:"47",name:"flags",flags:"l",C:[{N:"str",val:"t"}]}]},{N:"choose",line:"49",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}]},{N:"let",line:"50","var":"Q{}param",slot:"4",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply", +type:"*",C:[{N:"treat",as:"F",diag:'21|0||map:get(...) ? "params"',C:[{N:"check",card:"1",diag:'21|0||map:get(...) ? "params"',C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str", +val:"params"}]}]}]},{N:"arrayBlock",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"52",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"4"},{N:"str",val:"type"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"4"},{N:"str",val:"typeJ"}]}]}]}]},{N:"choose",line:"54",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"}]},{N:"slash",line:"57",simple:"2",C:[{N:"let",line:"55", +"var":"Q{http://saxon.sf.net/generated-variable}current1896874222",as:"1",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"6",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1896874222",slot:"5"},{N:"attVal",name:"Q{}name"}]},{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", +flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}as,NA nQ{http://ns.saxonica.com/xslt/export}asJ]"}]}]},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis", +line:"59",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"60",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"att",line:"61",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"choose",line:"64",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}, +{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"65",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"5"}]},{N:"applyT",line:"66",mode:"Q{}select.or.sequence",bSlot:"6",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]},{N:"true"},{N:"applyT",line:"70",mode:"Q{}select.or.sequence", +bSlot:"7",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"185",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"14",module:"variables-and-parameters.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"14",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"15",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:" has no following sibling so it will have no effect"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"nextMatch",line:"16",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"187",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"18",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"20",name:"VARDEF",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"21",name:"Q{}record-location",bSlot:"8"},{N:"applyT",line:"22",flags:"c",bSlot:"-1",C:[{N:"axis", +role:"select",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"applyT",line:"23",mode:"Q{}select.or.sequence",bSlot:"9",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"24",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"25",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"10",C:[{N:"dot", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"199",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"268",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"268",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"269",C:[{N:"param",name:"Q{}location",slot:"0",flags:"t",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"270",name:"Q{}has-uniform-static-context",slot:"1",flags:"ti",as:"1AB",C:[{N:"treat", +role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"271",name:"Q{}options",slot:"2",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1", +diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"273",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"uniform",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"1"}]}]},{N:"elem",line:"275",name:"template",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1", +comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"required"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"o"}]},{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"absent"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"s"}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"slots",flags:"l", +C:[{N:"str",val:"200"}]},{N:"choose",line:"276",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"2"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"277",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"applyT",line:"279",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose",line:"280",C:[{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"sequence",line:"281",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"282",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"callT",line:"284",name:"Q{}record-location",bSlot:"11"},{N:"applyT",line:"285",mode:"Q{}sef",bSlot:"12",C:[{N:"except", +role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"1",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/XML/1998/namespace}base"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/XML/1998/namespace}space"}]}]}]}]}, +{N:"applyT",line:"287",mode:"Q{}sef",bSlot:"13",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]},{N:"callT",line:"290",name:"Q{}sequence-constructor",bSlot:"14",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"291",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"15"},{N:"str",val:"body"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"388",rank:"2",minImp:"0",slots:"0", +matches:"NA nQ{}as",flags:"s",line:"1710",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1711",C:[{N:"fn",role:"name",name:"name", +C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]},{N:"fn",role:"select",name:"replace",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"201",rank:"4",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"298",module:"callable-components.xsl",C:[{N:"p.withUpper", +role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"298",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"xsl:initial-template"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]}, +{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"299",name:"name",C:[{N:"str",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template"}]}]}]}]},{N:"co",id:"11",binds:"22 22 22 22 22 22",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"106",module:"lib.xsl",flags:"pU",as:"1AS",slots:"7",C:[{N:"arg",name:"Q{}name.in",as:"1AS"},{N:"arg", +name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}error-code",as:"1AS"},{N:"arg",name:"Q{}xpath-default-namespace",as:"?AS"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"112",card:"1",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:EQName#4", +C:[{N:"data",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"try",flags:"r",C:[{N:"let","var":"Q{}name",as:"1AS",slot:"4",C:[{N:"fn",name:"normalize-space",C:[{N:"varRef",name:"Q{}name.in",slot:"0"}]},{N:"choose",line:"113",C:[{N:"fn",line:"114",name:"starts-with",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:"Q{"}]},{N:"varRef",line:"115",name:"Q{}name",slot:"4"},{N:"fn",line:"117",name:"contains",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"let",line:"119","var":"Q{}local",as:"1AS", +slot:"5",C:[{N:"fn",name:"substring-after",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"sequence",line:"120",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"castable",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}local",slot:"5"}]}]},{N:"ufCall",line:"121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"str",val:"Invalid local name: "},{N:"varRef",name:"Q{}name",slot:"4"}]},{N:"varRef",name:"Q{}context", +slot:"1"}]}]},{N:"let",line:"123","var":"Q{}uri",as:"?AU",slot:"6",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"fn",line:"118",name:"substring-before",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"sequence",line:"124",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"ufCall",line:"125",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE0280"},{N:"fn",name:"concat",C:[{N:"str", +val:"Unbound prefix in QName: "},{N:"varRef",name:"Q{}name",slot:"4"}]},{N:"varRef",name:"Q{}context",slot:"1"}]}]},{N:"fn",line:"127",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"str",val:"}"}]},{N:"varRef",name:"Q{}local",slot:"5"}]}]}]}]}]},{N:"fn",line:"129",name:"not",C:[{N:"castable",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}name",slot:"4"}]}]},{N:"sequence",line:"130",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"2",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:" is not a valid name"}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]},{N:"true"},{N:"fn",line:"133",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"varRef",name:"Q{}xpath-default-namespace",slot:"3"}]},{N:"str",val:"}"}]},{N:"varRef",name:"Q{}name",slot:"4"}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}FOCA0002", +C:[{N:"sequence",line:"136",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",C:[{N:"str",val:"XTSE0280"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}context", +slot:"1"}]},{N:"str",val:"Q{}error"}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTSE0080 Q{http://www.w3.org/2005/xqt-errors}XTSE0280 Q{http://www.w3.org/2005/xqt-errors}XTSE0808",C:[{N:"sequence",line:"138",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"fn",name:"local-name-from-QName",C:[{N:"treat",as:"AQ",diag:"0|0||fn:local-name-from-QName",C:[{N:"check",card:"?",diag:"0|0||fn:local-name-from-QName", +C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:local-name-from-QName",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}, +{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"139",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"5",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]},{N:"str",val:" code:"}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat", +C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]}]}]}]}]}]}]}]}]},{N:"co",id:"165",binds:"",C:[{N:"function",name:"Q{MyTypes}withOccurrenceIndicator",line:"1198",module:"type.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"arg",name:"Q{}indicator",as:"1AS"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1201",name:"concat",C:[{N:"varRef",name:"Q{}indicator",slot:"1"},{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]}]},{N:"co",id:"141",binds:"",C:[{N:"mode",name:"Q{}attribute-sans-prefix",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"394",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"1758",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"compAtt", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1759",C:[{N:"fn",role:"name",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"convert",role:"select",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]},{N:"co",id:"166",binds:"162",C:[{N:"template",name:"Q{http://www.w3.org/1999/XSL/Transform}initial-template", +flags:"os",line:"239",module:"XSLT-SEF-compiler.xsl",slots:"0",C:[{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"240",name:"Desc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"valueOf",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg607192333",bSlot:"0"}]}]}]}]},{N:"co",id:"145",binds:"52",C:[{N:"globalVariable", +name:"Q{http://saxon.sf.net/generated-variable}gg519751097",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"}, +{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:""},{N:"str",val:"xsl:evaluate"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"48",binds:"",C:[{N:"globalVariable",name:"Q{}known-namespaces",as:"1FM k[AS] v[1AS]",line:"549",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"12",C:[{N:"str",val:"err"},{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"str",val:"fn"},{N:"str",val:"http://www.w3.org/2005/xpath-functions"},{N:"str",val:"math"}, +{N:"str",val:"http://www.w3.org/2005/xpath-functions/math"},{N:"str",val:"ixsl"},{N:"str",val:"http://saxonica.com/ns/interactiveXSLT"},{N:"str",val:"js"},{N:"str",val:"http://saxonica.com/ns/globalJS"},{N:"str",val:"saxon"},{N:"str",val:"http://saxon.sf.net/"},{N:"str",val:"xsi"},{N:"str",val:"http://www.w3.org/2001/XMLSchema-instance"},{N:"str",val:"xsl"},{N:"str",val:"http://www.w3.org/1999/XSL/Transform"},{N:"str",val:"xml"},{N:"str",val:"http://www.w3.org/XML/1998/namespace"},{N:"str",val:"array"}, +{N:"str",val:"http://www.w3.org/2005/xpath-functions/array"},{N:"str",val:"xs"},{N:"str",val:"http://www.w3.org/2001/XMLSchema"},{N:"str",val:"map"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map"}]}]}]},{N:"co",id:"37",binds:"",C:[{N:"globalVariable",name:"Q{}html-ascii-case-insensitive.collation",as:"1AU",line:"28",module:"sorting.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"atomic",val:"http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive",type:"AU"}]}]},{N:"co", +id:"167",binds:"168 111 40",C:[{N:"template",name:"Q{}compileXSLTschema",flags:"os",line:"361",module:"XSLT-syntax.xsl",slots:"0",C:[{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"362",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",line:"363",C:[{N:"att",name:"version",flags:"l",C:[{N:"str",val:"3.0"}]},{N:"namespace",line:"364", +flags:"l",C:[{N:"str",role:"name",val:"f"},{N:"str",role:"select",val:"MyFunctions"}]},{N:"comment",line:"365",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1960031800",bSlot:"0"}]},{N:"elem",line:"366",name:"xsl:variable",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",line:"367",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"xslt.schema"}]},{N:"att",line:"368",name:"select",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"ufCall",name:"Q{MyFunctions}serialize", +tailCall:"false",bSlot:"1",C:[{N:"gVarRef",name:"Q{}xslt.schema",bSlot:"2"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]},{N:"co",id:"128",binds:"",C:[{N:"globalVariable",name:"Q{}type-error-map",as:"1FM k[AS] v[1AS]",line:"249",module:"xpath.xsl",visibility:"PRIVATE",C:[{N:"map",size:"4",C:[{N:"str",val:"withParam"},{N:"str",val:"XTTE0590"},{N:"str",val:"globalParam"},{N:"str",val:"XTTE0590"},{N:"str",val:"template"},{N:"str",val:"XTTE0505"},{N:"str",val:"globalVariable"},{N:"str",val:"XTTE0570"}]}]}]},{N:"co", +id:"169",vis:"PRIVATE",binds:"",C:[{N:"function",name:"Q{MyFunctions}pvt-emit-literal",line:"23",module:"XSLT-value-template.xsl",flags:"pU",as:"1NA",slots:"1",C:[{N:"arg",name:"Q{}in",as:"1AS"},{N:"att",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation f=MyFunctions xs=~ xsl=~ xml=~",line:"26",name:"literal",C:[{N:"varRef",name:"Q{}in",slot:"0"}]}]}]},{N:"co",id:"170",binds:"120 22 22 90 171 106 164 172 172 172 22 22 22 22 159 173 22 22 25 22 22 111 111 22 174 174 174 174 174 174 174 174 174 174 174 174 174 174 174 34 22 75 90 175 170 34 34 22", +C:[{N:"mode",name:"Q{}process-module",onNo:"FF",flags:"F",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"1.5",seq:"3",rank:"2",minImp:"0",slots:"74",matches:"NE",flags:"s",line:"129",module:"static.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"ND"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}, +{N:"p.nodeTest",test:"ND"}]}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"p.nodeTest",test:"ND"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM", +diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"137",name:"Q{}moduleLabel",slot:"1",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"data",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"supplied",slot:"1"}]}]}]}]}]}, +{N:"param",line:"145",name:"Q{}precLabel",slot:"2",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|precLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|precLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"data",diag:"8|0|XTTE0590|precLabel",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"146",name:"Q{}static-vars",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat", +role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"147",name:"Q{}static-isParam",slot:"4",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied",slot:"4"}]}]}]},{N:"param",line:"148",name:"Q{}var-slots",slot:"5",flags:"t",as:"1FM",C:[{N:"map", +role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"149",name:"Q{}next-slot",slot:"6",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot", +C:[{N:"supplied",slot:"6"}]}]}]}]}]},{N:"param",line:"150",name:"Q{}imported",slot:"7",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|imported",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"data",diag:"8|0|XTTE0590|imported",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"param",line:"151",name:"Q{}top-level",slot:"8",flags:"t",as:"1AB",C:[{N:"true",role:"select"},{N:"treat",role:"conversion", +as:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|top-level",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"data",diag:"8|0|XTTE0590|top-level",C:[{N:"supplied",slot:"8"}]}]}]}]}]},{N:"param",line:"152",name:"Q{}params",slot:"9",flags:"t",as:"1FM k[AQ]",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM k[AQ]",diag:"8|0|XTTE0590|params",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|params",C:[{N:"supplied",slot:"9"}]}]}]},{N:"param",line:"153", +name:"Q{}stylesheet-stack",slot:"10",flags:"t",as:"*AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"supplied",slot:"10"}]}]}]}]},{N:"param",line:"154",name:"Q{}stylesheet-base-uri",slot:"11",flags:"t",as:"1AU",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|stylesheet-base-uri", +C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"11"}]}]}]}]}]},{N:"param",line:"155",name:"Q{}parent-version",slot:"12",flags:"t",as:"?AD",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AD", +diag:"8|0|XTTE0590|parent-version",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|parent-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|parent-version",C:[{N:"data",diag:"8|0|XTTE0590|parent-version",C:[{N:"supplied",slot:"12"}]}]}]}]}]},{N:"let",line:"159","var":"Q{}version",as:"1AD",slot:"20",C:[{N:"callT",line:"160",name:"Q{}XSLT-version",bSlot:"0"},{N:"let",line:"162","var":"Q{}xpath-default-namespace",as:"?NA",slot:"21",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}, +{N:"let",line:"163","var":"Q{}stylesheet-properties",as:"*NA",slot:"22",C:[{N:"sequence",line:"164",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"choose",line:"165",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"att",line:"166",name:"expand-text",C:[{N:"str",val:"no"}]}]},{N:"choose",line:"168",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}parent-version", +slot:"12"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"20"},{N:"varRef",name:"Q{}parent-version",slot:"12"}]}]},{N:"axis",line:"169",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",line:"175",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"ufCall",line:"187",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"1",C:[{N:"str",val:"XTSE0120"},{N:"convert",line:"178",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|message",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|message",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"valueOf",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"valueOf",line:"179",C:[{N:"str",val:" cannot have non-whitespace text node children. "}]}, +{N:"choose",line:"181",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]},{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str",val:"' just after "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}node",as:"1N",slot:"23",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]}]},{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}loc"}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"true"},{N:"convert",line:"408",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a", +as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"23"}]}]}]}]}]}]}]}]},{N:"fn",line:"182",name:"exists",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]},{N:"valueOf",line:"182",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str", +val:"' just before "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"24",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]}]}, +{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}loc"}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"true"}, +{N:"convert",line:"408",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"24"}]}]}]}]}]}]}]}]},{N:"true"},{N:"valueOf",line:"183",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", +diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str",val:"'"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"forEach",line:"190",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"ufCall",line:"191",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",C:[{N:"str",val:"XTSE0130"}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"name",C:[{N:"dot",type:"1N u[NE,ND]"}]}]}]},{N:"str",val:" cannot have a no-namespace child element:"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"dot",type:"1NE"}]}]},{N:"choose",line:"194",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}]}]}, +{N:"ufCall",line:"195",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"3",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"A stylesheet module may not contain more than one xsl:global-context-item element"}]}]},{N:"let",line:"203","var":"Q{}not-discarded",as:"1AB",slot:"25",C:[{N:"choose",line:"204",C:[{N:"fn",line:"205",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}]},{N:"callT",line:"206",name:"Q{}check-use-when",bSlot:"4"},{N:"true"},{N:"true"}]},{N:"let",line:"214", +"var":"Q{}result",as:"1FM",slot:"26",flags:"e",C:[{N:"treat",line:"220",as:"FM",diag:"3|0|XTTE0570|result",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|result",C:[{N:"iterate",C:[{N:"choose",role:"select",C:[{N:"varRef",name:"Q{}not-discarded",slot:"25"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"params",role:"params",line:"221",C:[{N:"param",name:"Q{}components",slot:"13",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|components", +C:[{N:"supplied",slot:"13"}]}]},{N:"param",line:"222",name:"Q{}inner-static-vars",slot:"14",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-vars",slot:"3"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"supplied",slot:"14"}]}]}]},{N:"param",line:"223",name:"Q{}static-isParam",slot:"15",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-isParam",slot:"4"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied",slot:"15"}]}]}]},{N:"param",line:"225",name:"Q{}vars-in-import",slot:"16",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"supplied",slot:"16"}]}]}]},{N:"param",line:"226",name:"Q{}isParam-in-import",slot:"17",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|isParam-in-import", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|isParam-in-import",C:[{N:"supplied",slot:"17"}]}]}]},{N:"param",line:"227",name:"Q{}var-slots",slot:"18",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}var-slots",slot:"5"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"18"}]}]}]},{N:"param",line:"228",name:"Q{}next-slot",slot:"19",as:"1ADI",C:[{N:"varRef",role:"select",name:"Q{}next-slot",slot:"6"},{N:"treat", +role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"supplied",slot:"19"}]}]}]}]}]}]},{N:"ifCall",role:"on-completion",line:"256",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"components"},{N:"varRef", +name:"Q{}components",slot:"13"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-vars"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-isParam"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots", +slot:"18"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"next-slot"},{N:"varRef",name:"Q{}next-slot",slot:"19"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",role:"action",line:"263","var":"Q{}possible.component",as:"?NE",slot:"27",C:[{N:"treat",line:"264",as:"NE",diag:"3|0|XTTE0570|possible.component",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|possible.component", +C:[{N:"applyT",mode:"Q{}static",bSlot:"5",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"withParam",name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"265",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"266",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot",flags:"t",as:"1ADI",C:[{N:"varRef",line:"267",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam", +flags:"t",as:"1FM",C:[{N:"varRef",line:"268",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA",C:[{N:"varRef",line:"269",name:"Q{}xpath-default-namespace",slot:"21"}]},{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"270",name:"Q{}version",slot:"20"}]},{N:"withParam",name:"Q{}stylesheet-properties",flags:"t",as:"*NA",C:[{N:"varRef",line:"271",name:"Q{}stylesheet-properties",slot:"22"}]},{N:"withParam",name:"Q{}has-uniform-static-context", +flags:"t",as:"1AB",C:[{N:"ufCall",line:"272",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]}]},{N:"let",line:"277","var":"Q{}isStaticVariable",as:"1AB",slot:"28",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"7",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"let",line:"278","var":"Q{}isStaticParam",as:"1AB",slot:"29",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"8",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"choose", +line:"280",C:[{N:"or",line:"279",op:"or",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isStaticVariable",slot:"28"}]},{N:"let",line:"287","var":"Q{}name",as:"?AQ",slot:"30",C:[{N:"choose",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:":"}]},{N:"fn",name:"resolve-QName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:resolve-QName", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:resolve-QName",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"true"},{N:"fn",name:"QName",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|1||fn:QName",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:QName",C:[{N:"attVal",name:"Q{}name"}]}]}]}]}]},{N:"let",line:"288","var":"Q{}value",slot:"31",C:[{N:"forEach",line:"291",C:[{N:"varRef",name:"Q{}possible.component", +slot:"27"},{N:"let",line:"292","var":"Q{}isRequired",slot:"32",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"9",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"},{N:"false"}]},{N:"let",line:"293","var":"Q{}isSupplied",as:"1AB",slot:"33",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}params",slot:"9"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose", +line:"296",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"choose",line:"311",C:[{N:"fn",line:"298",name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"10",C:[{N:"choose",C:[{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"str",val:"XTSE0620"},{N:"true"},{N:"str",val:"XTSE0010"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must not have a sequence constructor"}]},{N:"dot",type:"1NE"}]}]},{N:"and",line:"313",op:"and",C:[{N:"varRef",name:"Q{}isRequired",slot:"32"}, +{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"ufCall",line:"316",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Required static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE"}]}, +{N:"and",line:"318",op:"and",C:[{N:"varRef",name:"Q{}isStaticVariable",slot:"28"},{N:"gc",op:"!=",card:"N:1",comp:"CCC",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"},{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}visibility"}]}]}]},{N:"str",val:"private"}]}]},{N:"ufCall",line:"322",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must have private visibility"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"325",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied", +slot:"33"}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"attVal",name:"Q{}as"}]}]},{N:"str",val:"(\\*|\\?)\\s*?"},{N:"str",val:""}]}]}]},{N:"ufCall",line:"329",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTDE0700"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"str",val:"No value for implicitly mandatory static parameter "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"331",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isSupplied",slot:"33"}]},{N:"let",line:"332","var":"Q{}supplied",slot:"34",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}params",slot:"9"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef", +name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"334",C:[{N:"and",line:"335",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}supplied",slot:"34"}]}]},{N:"let",line:"337","var":"Q{}targetType",slot:"35",C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"337",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type", +C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"337",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"338","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"36",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:cast",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:cast",C:[{N:"cvUntyped",to:"AS", +diag:"0|1||f:cast",C:[{N:"data",diag:"0|1||f:cast",C:[{N:"varRef",name:"Q{}targetType",slot:"35"}]}]}]}]},{N:"forEach",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall",name:"Q{MyFunctions}cast",tailCall:"false",bSlot:"14",C:[{N:"atomSing",diag:"0|0||f:cast",C:[{N:"dot"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"36"}]}]}]}]},{N:"fn",line:"340",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"342","var":"Q{}targetType",slot:"37", +C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"static.xsl",line:"342",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type",C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"342",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"344", +"var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"38",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:isInstance",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:isInstance",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:isInstance",C:[{N:"data",diag:"0|1||f:isInstance",C:[{N:"varRef",name:"Q{}targetType",slot:"37"}]}]}]}]},{N:"choose",line:"343",C:[{N:"every",line:"344","var":"Q{}item",slot:"39",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall",name:"Q{MyFunctions}isInstance", +tailCall:"false",bSlot:"15",C:[{N:"varRef",name:"Q{}item",slot:"39"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"38"}]}]},{N:"varRef",line:"345",name:"Q{}supplied",slot:"34"},{N:"true"},{N:"ufCall",line:"350",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Supplied value of static parameter "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" does not match the required type"}]}, +{N:"dot",type:"1NE"}]}]}]}]},{N:"true"},{N:"varRef",line:"355",name:"Q{}supplied",slot:"34"}]}]},{N:"and",line:"360",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isRequired",slot:"32"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied",slot:"33"}]}]},{N:"ufCall",line:"363",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"No value for required static parameter "}, +{N:"attVal",name:"Q{}name"}]},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"fn",line:"365",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"let",line:"369","var":"Q{}xpath",as:"1AS",slot:"40",flags:"e",C:[{N:"choose",line:"370",C:[{N:"fn",line:"371",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"372","var":"Q{}type",slot:"41",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"372",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type", +C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"372",type:"1NE"},{N:"str",val:""}]}]},{N:"choose",line:"373",C:[{N:"and",line:"375",op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", +C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str",val:"1"}]}]},{N:"convert",line:"375",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast", +flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]},{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:")"}]}]}]}]},{N:"and",line:"377",op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", +C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str",val:"?"}]}]},{N:"convert",line:"377",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast", +flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:") cast as "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]}]}]}]}]},{N:"fn",line:"378",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data", +diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"convert",line:"378",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:") ! "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false", +bSlot:"18",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"static.xsl",line:"378",name:"Q{}type",slot:"41"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"str",val:"(.)"}]}]}]}]},{N:"true"},{N:"convert",line:"379",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:") treat as "},{N:"fn",name:"string", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]}]}]}]}]}]}]},{N:"true"},{N:"convert",line:"382",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]}]}]}]}]},{N:"let",line:"385","var":"Q{}nsContext",as:"1NE c~untyped",slot:"42",flags:"e",C:[{N:"let",line:"386","var":"Q{}dot",as:"1",slot:"43",C:[{N:"dot", +type:"1NE"},{N:"compElem",line:"387",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"21"}]}]}]},{N:"forEach",role:"content",line:"388",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"390",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str", +val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"43"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"try",line:"398",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}xpath",slot:"40"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"varRef", +role:"nsCxt",name:"Q{}nsContext",slot:"42"},{N:"str",role:"sa",val:"no"},{N:"ifCall",role:"options",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"18"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"}, +{N:"str",val:"XQDY0137"}]}]},{N:"varRef",role:"wp",name:"Q{}inner-static-vars",slot:"14"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"400",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050X"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info", +type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"ufCall",line:"405",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",C:[{N:"str",val:"XTDE3160"},{N:"fn",line:"404",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info", +type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:"Static error in XPath expression supplied to xsl:evaluate:"},{N:"str",val:"Error in static expression:"},{N:"str",val:""}]},{N:"dot",type:"1NE"}]}]}]}]}]},{N:"fn",line:"416",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"empty"},{N:"true"},{N:"str",val:""}]}]}]}]},{N:"let",line:"426","var":"Q{}m",as:"1FM",slot:"44",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}vars-in-import", +slot:"16"},{N:"true"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"sequence",line:"427",C:[{N:"choose",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"428",C:[{N:"and",line:"429",op:"and",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"instance", +of:"1FA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"fn",name:"not",C:[{N:"instance",of:"1FM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"message",line:"430",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Warning: unable to check consistency of multiply-defined variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AQ",to:"AS",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"str",val:" with function(*) type\n "}]}]},{N:"str", +role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"fn",line:"433",name:"not",C:[{N:"fn",name:"deep-equal",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"varRef",name:"Q{}value",slot:"31"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}, +{N:"ufCall",line:"436",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"20",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting values for static variable "},{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"str",val:"\n"}]},{N:"check",line:"437",card:"?",diag:"0|1||fn:concat",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"21", +C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:"\nand:\n"}]},{N:"check",line:"439",card:"?",diag:"0|1||fn:concat",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"22",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]}]},{N:"str",val:"*#xA;"}]},{N:"check",line:"439",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef", +name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"choose",line:"448",C:[{N:"let","var":"Q{}m",slot:"45",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"true"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"and",op:"and",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}, +{N:"or",op:"or",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", +name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]}]},{N:"ufCall",line:"451",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"23",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting declarations for static param/variable "},{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component", +slot:"27"}]}]}]},{N:"let",line:"462","var":"Q{}this-slot",as:"1A",slot:"46",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}next-slot",slot:"19"},{N:"choose",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"fn",name:"function-arity",C:[{N:"treat",as:"F",diag:"0|0||fn:function-arity",C:[{N:"check",card:"1",diag:"0|0||fn:function-arity",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"true"},{N:"int",val:"0"}]}]},{N:"let",line:"466","var":"Q{}grounded-value",as:"1AB", +slot:"47",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1A",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"nextIteration",line:"565",C:[{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",line:"567",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}inner-static-vars",slot:"14"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef", +name:"Q{}value",slot:"31"}]}]},{N:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"568",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}static-isParam",slot:"15"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}isStaticParam",slot:"29"}]}]},{N:"withParam",name:"Q{}vars-in-import",as:"1FM",slot:"16",C:[{N:"choose",line:"574",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}vars-in-import",slot:"16"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}vars-in-import",slot:"16"}]}]},{N:"withParam",name:"Q{}isParam-in-import",as:"1FM",slot:"17",C:[{N:"choose",line:"580",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", +type:"1FM",C:[{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"}]}]},{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"587",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"choose",C:[{N:"varRef",name:"Q{}grounded-value",slot:"47"},{N:"choose",line:"469",C:[{N:"varRef",name:"Q{}grounded-value", +slot:"47"},{N:"let",line:"540","var":"Q{http://saxon.sf.net/generated-variable}v21",as:"1AB",slot:"48",flags:"l",C:[{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"537","var":"Q{http://saxon.sf.net/generated-variable}v20",as:"1AB",slot:"49",flags:"l",C:[{N:"instance",of:"1AN",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"534","var":"Q{http://saxon.sf.net/generated-variable}v19",as:"1AB",slot:"50",flags:"l",C:[{N:"instance",of:"1AQ",C:[{N:"varRef",name:"Q{}value", +slot:"31"}]},{N:"let",line:"531","var":"Q{http://saxon.sf.net/generated-variable}v18",as:"1AB",slot:"51",flags:"l",C:[{N:"instance",of:"1AX",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"528","var":"Q{http://saxon.sf.net/generated-variable}v17",as:"1AB",slot:"52",flags:"l",C:[{N:"instance",of:"1A2",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"525","var":"Q{http://saxon.sf.net/generated-variable}v16",as:"1AB",slot:"53",flags:"l",C:[{N:"instance",of:"1AK",C:[{N:"varRef",name:"Q{}value", +slot:"31"}]},{N:"let",line:"522","var":"Q{http://saxon.sf.net/generated-variable}v15",as:"1AB",slot:"54",flags:"l",C:[{N:"instance",of:"1AI",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"519","var":"Q{http://saxon.sf.net/generated-variable}v14",as:"1AB",slot:"55",flags:"l",C:[{N:"instance",of:"1AJ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"516","var":"Q{http://saxon.sf.net/generated-variable}v13",as:"1AB",slot:"56",flags:"l",C:[{N:"instance",of:"1AG",C:[{N:"varRef",name:"Q{}value", +slot:"31"}]},{N:"let",line:"513","var":"Q{http://saxon.sf.net/generated-variable}v12",as:"1AB",slot:"57",flags:"l",C:[{N:"instance",of:"1AH",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"510","var":"Q{http://saxon.sf.net/generated-variable}v11",as:"1AB",slot:"58",flags:"l",C:[{N:"instance",of:"1AT",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"507","var":"Q{http://saxon.sf.net/generated-variable}v10",as:"1AB",slot:"59",flags:"l",C:[{N:"instance",of:"1ARD",C:[{N:"varRef", +name:"Q{}value",slot:"31"}]},{N:"let",line:"504","var":"Q{http://saxon.sf.net/generated-variable}v9",as:"1AB",slot:"60",flags:"l",C:[{N:"instance",of:"1ARY",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"501","var":"Q{http://saxon.sf.net/generated-variable}v8",as:"1AB",slot:"61",flags:"l",C:[{N:"instance",of:"1AA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"498","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"1AB",slot:"62",flags:"l",C:[{N:"instance",of:"1AMP",C:[{N:"varRef", +name:"Q{}value",slot:"31"}]},{N:"let",line:"495","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"63",flags:"l",C:[{N:"instance",of:"1AM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"492","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"1AB",slot:"64",flags:"l",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AS",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AU",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"488","var":"Q{http://saxon.sf.net/generated-variable}v4", +as:"1AB",slot:"65",flags:"l",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AD",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AO",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"instance",of:"1AF",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"477","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"66",flags:"l",C:[{N:"instance",of:"1AB",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"474","var":"Q{http://saxon.sf.net/generated-variable}v2", +as:"1AB",slot:"67",flags:"l",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"check",line:"470",card:"?",diag:"3|0|XTTE0570|variable.component",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"copy",line:"471",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"472",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"474",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"67"},{N:"att",line:"475",name:"select", +flags:"l",C:[{N:"str",val:"()"}]},{N:"varRef",line:"477",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"66"},{N:"att",line:"484",name:"select",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}value",slot:"31"},{N:"str",val:"true()"},{N:"true"},{N:"str",val:"false()"}]}]},{N:"varRef",line:"488",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"65"},{N:"att",line:"489",name:"select",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj", +C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"varRef",line:"492",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"64"},{N:"att",line:"493",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data", +diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]},{N:"varRef",line:"495",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"63"},{N:"att",line:"496",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}, +{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"24",C:[{N:"str",val:"dateTime"}]}]}]}]}]},{N:"varRef",line:"498",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"62"},{N:"att",line:"499",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "}, +{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"25",C:[{N:"str",val:"dateTimeStamp"}]}]}]}]}]},{N:"varRef",line:"501",name:"Q{http://saxon.sf.net/generated-variable}v8",slot:"61"},{N:"att",line:"502",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall", +name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"26",C:[{N:"str",val:"date"}]}]}]}]}]},{N:"varRef",line:"504",name:"Q{http://saxon.sf.net/generated-variable}v9",slot:"60"},{N:"att",line:"505",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq", +tailCall:"false",bSlot:"27",C:[{N:"str",val:"yearMonthDuration"}]}]}]}]}]},{N:"varRef",line:"507",name:"Q{http://saxon.sf.net/generated-variable}v10",slot:"59"},{N:"att",line:"508",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false", +bSlot:"28",C:[{N:"str",val:"dayTimeDuration"}]}]}]}]}]},{N:"varRef",line:"510",name:"Q{http://saxon.sf.net/generated-variable}v11",slot:"58"},{N:"att",line:"511",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"29", +C:[{N:"str",val:"time"}]}]}]}]}]},{N:"varRef",line:"513",name:"Q{http://saxon.sf.net/generated-variable}v12",slot:"57"},{N:"att",line:"514",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"30",C:[{N:"str",val:"gYearMonth"}]}]}]}]}]}, +{N:"varRef",line:"516",name:"Q{http://saxon.sf.net/generated-variable}v13",slot:"56"},{N:"att",line:"517",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"31",C:[{N:"str",val:"gYear"}]}]}]}]}]},{N:"varRef",line:"519", +name:"Q{http://saxon.sf.net/generated-variable}v14",slot:"55"},{N:"att",line:"520",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"32",C:[{N:"str",val:"gMonthDay"}]}]}]}]}]},{N:"varRef",line:"522",name:"Q{http://saxon.sf.net/generated-variable}v15", +slot:"54"},{N:"att",line:"523",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"33",C:[{N:"str",val:"gMonth"}]}]}]}]}]},{N:"varRef",line:"525",name:"Q{http://saxon.sf.net/generated-variable}v16",slot:"53"},{N:"att", +line:"526",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"34",C:[{N:"str",val:"gDay"}]}]}]}]}]},{N:"varRef",line:"528",name:"Q{http://saxon.sf.net/generated-variable}v17",slot:"52"},{N:"att",line:"529",name:"select", +flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"35",C:[{N:"str",val:"base64Binary"}]}]}]}]}]},{N:"varRef",line:"531",name:"Q{http://saxon.sf.net/generated-variable}v18",slot:"51"},{N:"att",line:"532",name:"select",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"36",C:[{N:"str",val:"hexBinary"}]}]}]}]}]},{N:"varRef",line:"534",name:"Q{http://saxon.sf.net/generated-variable}v19",slot:"50"},{N:"att",line:"535",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS", +C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"37",C:[{N:"str",val:"QName"}]}]}]}]}]},{N:"varRef",line:"537",name:"Q{http://saxon.sf.net/generated-variable}v20",slot:"49"},{N:"att",line:"538",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a", +as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"38",C:[{N:"str",val:"NOTATION"}]}]}]}]}]},{N:"varRef",line:"540",name:"Q{http://saxon.sf.net/generated-variable}v21",slot:"48"},{N:"choose",line:"544",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as", +C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"castable",flags:"a",as:"1AO",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"castable",flags:"a",as:"1AF",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"att",line:"545",name:"select",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"att", +line:"549",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]}, +{N:"true"},{N:"sequence",line:"554",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Unexpected atomic type; treating as string: "},{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:" "}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"att",line:"555",name:"select",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}, +{N:"true"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]},{N:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18",C:[{N:"ifCall",line:"588",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}var-slots",slot:"18"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}this-slot",slot:"46"}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"arith",line:"589",op:"+",calc:"i+i",C:[{N:"varRef", +name:"Q{}this-slot",slot:"46"},{N:"int",val:"1"}]}]}]}]}]}]}]}]}]},{N:"fn",line:"592",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}import,NE nQ{http://www.w3.org/1999/XSL/Transform}include]"}]}]},{N:"let",line:"594","var":"Q{}imported",as:"1AB",slot:"68",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"}]}]},{N:"let",line:"595","var":"Q{}doc",as:"1ND",slot:"69",C:[{N:"check",line:"596",card:"1",diag:"3|0|XTTE0570|doc",C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]},{N:"treat",line:"598",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"39",C:[{N:"fn", +name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"str",val:" must have an @href attribute"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"choose",line:"600",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}, +{N:"treat",line:"602",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"40",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must be empty"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"let",line:"607","var":"Q{}bad-attributes",as:"*NA", +slot:"70",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"except",op:"except",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]},{N:"docOrder",intra:"1",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-validation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]},{N:"sequence",line:"608",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"70"}]}, +{N:"treat",line:"609",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}wrongAttribute",tailCall:"false",bSlot:"41",C:[{N:"check",card:"+",diag:"0|0||f:wrongAttribute",C:[{N:"first",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"70"}]}]}]}]}]},{N:"let",line:"611","var":"Q{}uri",as:"?AU",slot:"71",C:[{N:"fn",name:"resolve-uri",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:resolve-uri",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component", +slot:"27"},{N:"attVal",name:"Q{}href"}]}]}]},{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|1||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:resolve-uri",C:[{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"11"}]}]}]}]}]},{N:"sequence",line:"612",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"varRef",name:"Q{}uri", +slot:"71"}]},{N:"treat",line:"619",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"42",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"str",val:"XTSE0210"},{N:"true"},{N:"str",val:"XTSE0180"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Document "},{N:"varRef",name:"Q{}uri",slot:"71"}]},{N:"str",val:" is recursively including or importing itself"}]}]}]}]},{N:"choose",line:"621",C:[{N:"lookup",C:[{N:"varRef", +name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"treat",line:"622",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Import/Include static processing for"},{N:"varRef",name:"Q{}uri",slot:"71"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"callT",line:"625",name:"Q{}collect-doc",bSlot:"43",C:[{N:"withParam",name:"Q{}uri",flags:"c",as:"?AU",C:[{N:"varRef",line:"626", +name:"Q{}uri",slot:"71"}]}]}]}]}]}]}]}]},{N:"sequence",line:"630",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"sequence",line:"631",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$doc:"},{N:"fn",name:"serialize",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}, +{N:"message",line:"632",C:[{N:"sequence",role:"select",C:[{N:"str",val:"base-uri($doc):"},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"let",line:"635","var":"Q{}collected",as:"1FM",slot:"72",C:[{N:"let",line:"639","var":"Q{}suffix",as:"1AS",slot:"73", +C:[{N:"fn",name:"codepoints-to-string",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"int",val:"50000"},{N:"cvUntyped",line:"637",to:"ADI",diag:"3|0|XTTE0570|index",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"numSeqFmt",C:[{N:"nodeNum",role:"value",level:"single",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.venn",role:"count",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"}]}]}, +{N:"str",role:"startAt",val:"0"}]}]}]}]}]},{N:"treat",line:"640",as:"FM",diag:"3|0|XTTE0570|collected",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|collected",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"44",C:[{N:"slash",role:"select",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}imported",as:"1AB",C:[{N:"varRef",line:"643",name:"Q{}imported",slot:"68"}]},{N:"withParam",name:"Q{}top-level",flags:"t",as:"1AB",C:[{N:"false"}]},{N:"withParam", +name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"644",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"645",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot",flags:"t",as:"1ADI",C:[{N:"varRef",line:"646",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam",flags:"t",as:"1FM",C:[{N:"varRef",line:"647",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}stylesheet-stack",flags:"t", +as:"*AU",C:[{N:"sequence",line:"648",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"fn",name:"base-uri",C:[{N:"varRef",name:"Q{}doc",slot:"69"}]}]}]},{N:"withParam",name:"Q{}parent-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"649",name:"Q{}version",slot:"20"}]},{N:"withParam",name:"Q{}precLabel",flags:"t",as:"1AS",C:[{N:"choose",line:"655",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"73"}]}, +{N:"true"},{N:"varRef",name:"Q{}precLabel",slot:"2"}]}]},{N:"withParam",name:"Q{}moduleLabel",flags:"t",as:"1AS",C:[{N:"fn",line:"656",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"73"}]}]}]}]}]}]},{N:"sequence",line:"659",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"message",line:"660",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$collected:"},{N:"fn",name:"serialize",C:[{N:"varRef", +name:"Q{}collected",slot:"72"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"adaptive"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"nextIteration",line:"663",C:[{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"664",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"treat",as:"NE",diag:"8|0|XTTE0590|components",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str", +val:"components"}]}]}]}]},{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",line:"670",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"static-vars"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str", +val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"676",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"static-isParam"}]}]}]}, +{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18",C:[{N:"treat",line:"677",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"var-slots"}]}]}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"treat",line:"678",as:"ADI",diag:"8|0|XTTE0590|next-slot", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"next-slot"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"nextIteration",line:"684",C:[{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"685",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]}]}]}]}]}]}]}, +{N:"varRef",line:"691",name:"Q{}result",slot:"26"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.45",seq:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"113",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.nodeTest",test:"ND"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"114",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"45",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"str",val:" must not appear at the outermost level of a stylesheet module"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.4",seq:"2",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"117",module:"static.xsl",C:[{N:"p.venn", +role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"118",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"46",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" can only be a child of a document-node, not a '"}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"' element"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.4",seq:"0",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",as:"1FM", +line:"89",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE"},{N:"p.nodeTest",test:"ND"}]},{N:"check",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"91",card:"1",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}, +{N:"treat",line:"93",as:"FM",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"47",C:[{N:"str",val:"XTSE0150"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}package"}]},{N:"str",val:"Supplied stylesheet is a SEF package"},{N:"true"},{N:"str",val:"Simplified stylesheet root element lacks @xsl:version"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"treat",line:"108", +as:"FM",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"applyT",flags:"ct",bSlot:"-1",C:[{N:"slash",role:"select",line:"96",simple:"1",C:[{N:"doc",C:[{N:"elem",line:"97",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"att",line:"98",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace", +flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"100",name:"xsl:template",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"match",flags:"l",C:[{N:"str",val:"/"}]},{N:"copy",line:"101",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"102",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"axis",line:"108", +name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"co",id:"156",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_BOOLEAN",as:"1FM k[AS] v[1AS]",line:"28",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AB"}]}]}]},{N:"co",id:"154",binds:"154",C:[{N:"function",name:"Q{MyFunctions}nodeTestPriority",line:"61",module:"pattern.xsl",flags:"pU",as:"1AD",slots:"4",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"tailCallLoop", +role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"63",C:[{N:"let","var":"Q{}p",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|p",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|p",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|p",C:[{N:"data",diag:"3|0|XTTE0570|p",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]}]}]}]}]}, +{N:"let",line:"64","var":"Q{}n",as:"?AS",slot:"2",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|n",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|n",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|n",C:[{N:"data",diag:"3|0|XTTE0570|n",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"n"}]}]}]}]}]},{N:"let",line:"65","var":"Q{}c",as:"?AS",slot:"3",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|c",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|c",C:[{N:"cvUntyped", +to:"AS",diag:"3|0|XTTE0570|c",C:[{N:"data",diag:"3|0|XTTE0570|c",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"c"}]}]}]}]}]},{N:"choose",line:"67",C:[{N:"fn",line:"68",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"e"}]}]},{N:"ufCall",line:"70",name:"Q{MyFunctions}nodeTestPriority",tailCall:"self",bSlot:"0",C:[{N:"treat",as:"FM",diag:"0|0||f:nodeTestPriority",C:[{N:"check",card:"1",diag:"0|0||f:nodeTestPriority",C:[{N:"lookup",C:[{N:"varRef", +name:"Q{}type",slot:"0"},{N:"str",val:"e"}]}]}]}]},{N:"and",line:"72",op:"and",C:[{N:"compareToString",op:"eq",val:"N",C:[{N:"varRef",name:"Q{}p",slot:"1"}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"u"}]}]}]},{N:"dec",val:"-0.5"},{N:"and",line:"74",op:"and",C:[{N:"compareToString",op:"eq",val:"NE",C:[{N:"varRef",name:"Q{}p",slot:"1"}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"u"}]}]}]},{N:"dec",val:"0"}, +{N:"and",line:"75",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}n",slot:"2"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}c",slot:"3"}]}]},{N:"dec",val:"0.25"},{N:"fn",line:"76",name:"exists",C:[{N:"varRef",name:"Q{}c",slot:"3"}]},{N:"dec",val:"0"},{N:"fn",line:"77",name:"exists",C:[{N:"varRef",name:"Q{}n",slot:"2"}]},{N:"choose",line:"78",C:[{N:"or",line:"79",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"str",val:"*:"}]},{N:"fn",name:"ends-with",C:[{N:"varRef", +name:"Q{}n",slot:"2"},{N:"str",val:"}*"}]}]},{N:"dec",val:"-0.25"},{N:"vc",line:"80",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"str",val:"*"}]},{N:"dec",val:"-0.5"},{N:"true"},{N:"dec",val:"0"}]},{N:"true"},{N:"dec",val:"-0.5"}]}]}]}]}]}]}]},{N:"co",id:"176",binds:"",C:[{N:"function",name:"Q{coBindings}find-reference",line:"196",module:"component-bindings.xsl",flags:"pU",as:"*AS",slots:"2",C:[{N:"arg",name:"Q{}bindings",as:"*AS"},{N:"arg",name:"Q{}name",as:"1AS"},{N:"choose", +role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"205",C:[{N:"fn",name:"exists",C:[{N:"fn",name:"index-of",C:[{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"true"},{N:"sequence",C:[{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]}]}]}]},{N:"co",id:"177", +binds:"1",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",as:"1AS",line:"52",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"52",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"NP"}]}]}]}]},{N:"co",id:"178",binds:"",C:[{N:"function",name:"Q{MyFunctions}innermostExNs",line:"163",module:"namespaces.xsl", +flags:"pU",as:"?NA",slots:"1",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"co",id:"179",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_STRING",as:"1FM k[AS] v[1AS]",line:"25",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"AS"}]}]}]},{N:"co",id:"180",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg330224683", +as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str", +val:"0"},{N:"str",val:"XTTE3180"},{N:"str",val:"xsl:copy/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"181",binds:"",C:[{N:"function",name:"Q{MyFunctions}precedence-sort",line:"652",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*NE",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*NE"},{N:"sort",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"654", +C:[{N:"varRef",role:"select",name:"Q{}input",slot:"0"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]},{N:"co",id:"182",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SAME_TYPE", +as:"1AS",line:"162",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"EQ"}]}]},{N:"co",id:"183",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ONE_OR_MORE",as:"1ADI",line:"108",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"6"}]}]},{N:"co",id:"184",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ELEMENT",as:"1FM k[AS] v[1AS]",line:"34",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str", +val:"p"},{N:"str",val:"NE"}]}]}]},{N:"co",id:"185",binds:"",C:[{N:"function",name:"Q{MyFunctions}stackTrace",line:"503",module:"lib.xsl",flags:"pU",as:"*",slots:"0",C:[{N:"empty",role:"body"}]}]},{N:"co",id:"186",binds:"",C:[{N:"function",name:"Q{MyFunctions}plainAtt",line:"830",module:"normalize.xsl",flags:"pU",as:"*NA",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"832",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"co",id:"187",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_FLOAT",as:"1FM k[AS] v[1AS]",line:"18",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"AF"}]}]}]},{N:"co",id:"188",binds:"",C:[{N:"function", +name:"Q{MyFunctions}notify",line:"397",module:"lib.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"400",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"400",name:"Q{}code", +slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"}]}]}]},{N:"co",id:"35",binds:"34",C:[{N:"function",name:"Q{MyFunctions}missingChild",line:"819",module:"normalize.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}child",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"822",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", +tailCall:"foreign",bSlot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"str",val:" requires a child element "}]},{N:"varRef",name:"Q{}child",slot:"1"}]},{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]},{N:"co",id:"189",binds:"",C:[{N:"function",name:"Q{MyFunctions}combinedRelationship",line:"296",module:"type.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}rel1",as:"1AS"},{N:"arg",name:"Q{}rel2",as:"1AS"},{N:"choose", +role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"314",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"str",val:"DJ"}]},{N:"str",val:"DJ"},{N:"compareToString", +op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel1",slot:"0"}]},{N:"varRef",name:"Q{}rel2",slot:"1"},{N:"compareToString",op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"true"},{N:"str",val:"OV"}]}]}]},{N:"co",id:"190",binds:"38 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147", +C:[{N:"mode",name:"Q{}sef.top",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"5.0",seq:"326",rank:"8",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6",seq:"364",rank:"7",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"359",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"355",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"344",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"340",rank:"3",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA", +C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data", +diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03",seq:"336",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t", +C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"332",rank:"1",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"376",part:"1",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"87",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"88",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"89",flags:"l", +C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"88"}]},{N:"let",line:"679","var":"Q{}location",as:"1NA",slot:"90",C:[{N:"att",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"91",C:[{N:"choose", +C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"},{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"92",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", +slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"93",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"94",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS", +slot:"95",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"96",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"97",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"ufCall",name:"Q{MyFunctions}boolean-string", +tailCall:"false",bSlot:"1",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"98",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"702",C:[{N:"choose",C:[{N:"lookup", +C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"711","var":"Q{}sorted-precedence-labels",as:"*AS",slot:"99",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels", +C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]},{N:"let",line:"716","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"100",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse", +C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"764","var":"Q{}named-template-signatures",as:"1FM",slot:"101",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str", +role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"102",C:[{N:"let","var":"Q{}highest-precedence", +slot:"103",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+",diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"varRef",name:"Q{}highest-precedence",slot:"103"}]}]}]}]},{N:"sequence", +line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"102"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at", +C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"104",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest",slot:"102"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"105",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}, +{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"104"}]}]}]},{N:"str",role:"terminate", +val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"105"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"map",size:"2",C:[{N:"str", +val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}params",slot:"105"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"}, +{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"3"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, +{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795",C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"106",C:[{N:"treat",as:"FM", +diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"4",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence",line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select",C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false", +bSlot:"5",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"106"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps",as:"*A",slot:"107",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}, +{N:"let",line:"808","var":"Q{}output-declarations",as:"+NE",slot:"108",flags:"e",C:[{N:"condSeq",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"}, +{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name",as:"*A",slot:"109",C:[{N:"currentGroupingKey"}, +{N:"elem",line:"811",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]},{N:"str",val:" "}]}]}]}, +{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"95"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]}, +{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"110",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}, +{N:"let",line:"826","var":"Q{}active",as:"+NA",slot:"111",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"110"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property", +bSlot:"6",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"111"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"111"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation", +val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"112",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property",bSlot:"7",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"112"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"112"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]},{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps", +slot:"113",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}in",as:"*A",slot:"114",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",C:[{N:"let","var":"Q{}input",as:"*NE",slot:"115",C:[{N:"filter",flags:"b", +C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]},{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"115"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder", +val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"114"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation", +val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"116",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"113"},{N:"choose",role:"return",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"107"},{N:"varRef",name:"Q{}c",slot:"116"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]}]},{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"116"}]}]}]}]}, +{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"113"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"864",C:[{N:"elem",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"property", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"872","var":"Q{}character-maps",as:"*NE",slot:"117",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"118",flags:"e",C:[{N:"treat", +as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation", +val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"873","var":"Q{}group-name",as:"*A",slot:"119",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"120",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}, +{N:"let",line:"877","var":"Q{}active",slot:"121",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"120"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active",slot:"121"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"8",C:[{N:"str",val:"XTSE1580"},{N:"fn", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]}]},{N:"str",val:" is defined more than once"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join", +C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]},{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"107"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"9",C:[{N:"str",val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1", +diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"},{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped", +to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"122",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"118"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE", +diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}character-map-dependency",slot:"122"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"10",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency", +slot:"122"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"118"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at", +C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"118"}]}]}]}]}]}]}]}]},{N:"let",line:"915","var":"Q{}expanded-character-maps",as:"*NE",slot:"123",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps", +bSlot:"12",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"117"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"117"}]}]}]},{N:"let",line:"921","var":"Q{}global-context-item",as:"?NE",slot:"124",C:[{N:"let","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",slot:"125",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?", +diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]},{N:"let","var":"Q{}h",slot:"126",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"127",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"127"},{N:"varRef",name:"Q{}h", +slot:"126"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item", +C:[{N:"applyT",mode:"Q{}sef",bSlot:"14",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]}]}]}]}]},{N:"let",line:"944","var":"Q{}static-context",as:"1FM k[AS]",slot:"128",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"96"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"91"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"90"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"106"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str", +val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"108"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",line:"953","var":"Q{}keys",as:"*NE",slot:"129",C:[{N:"sequence",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose", +role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956","var":"Q{}highest-precedence",as:"?AS",slot:"130",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"958","var":"Q{}highest",slot:"131",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"varRef",name:"Q{}highest-precedence",slot:"130"}]}]},{N:"sequence",line:"959",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]}, +{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at", +C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"16",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail", +start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"978","var":"Q{}processed",as:"*NE",slot:"132",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"18",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam", +name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"982",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"98"}]}, +{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"132"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"133",C:[{N:"fn",name:"exists", +C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"995",C:[{N:"currentGroup"},{N:"copy",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"133"}, +{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"},{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options", +slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1011","var":"Q{}global.varPars",as:"*NE",slot:"134",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.varPars",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", +role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, +{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]}, +{N:"let",line:"1022","var":"Q{}global.params",as:"*NE",slot:"135",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"20",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"134"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"128"}]}, +{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A", +C:[{N:"varRef",line:"1029",name:"Q{}defined-attribute-sets",slot:"98"}]}]}]},{N:"let",line:"1033","var":"Q{}global.variables",as:"*NE",slot:"136",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"21",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"134"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t", +as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures", +slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"98"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let", +line:"1048","var":"Q{}global.functions",as:"*NE",slot:"137",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str", +role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat", +C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1054",algorithm:"by",C:[{N:"currentGroup",role:"select"},{N:"fn",role:"key",line:"1052",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"sequence",role:"content",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, +{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"22",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let", +line:"1059","var":"Q{}head",as:"1N",slot:"138",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"23",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"138"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility", +flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"94"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context", +tailCall:"false",bSlot:"24",C:[{N:"varRef",name:"Q{}head",slot:"138"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select",val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1082","var":"Q{}attribute-sets",as:"*NE",slot:"139",C:[{N:"let","var":"Q{}temp", +as:"*NE",slot:"140",flags:"e",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"elem",role:"content",line:"1086",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence", +C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"141",C:[{N:"dot", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1", +diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"25"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", +val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"26",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem",line:"1090",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091",comp:"DESC|CCC", +C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"applyT",line:"1092",mode:"Q{}sef",bSlot:"27",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}, +{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}has-uniform-static-context", +flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"28",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"142",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"140"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}, +{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"142"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"29",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot",type:"1A"}]}]},{N:"varRef", +name:"Q{}direct-dependency",slot:"142"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"140"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"30",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}, +{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"87"}]}]}]}]}]}]},{N:"let",line:"1135","var":"Q{}named.templates",as:"*NE", +slot:"143",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order", +val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc", +op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"31",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"144",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"32",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"144"},{N:"withParam",name:"Q{}static-context", +flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"93"}]},{N:"withParam",name:"Q{}variables", +flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1153",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1155",name:"Q{MyFunctions}has-uniform-static-context", +tailCall:"false",bSlot:"33",C:[{N:"varRef",name:"Q{}head",slot:"144"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1165","var":"Q{}accumulators",as:"*NE",slot:"145",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|accumulators", +C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder", +val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]}, +{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"34",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str", +val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"35",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"90"}]}, +{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"92"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures", +slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"36",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message", +line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1206","var":"Q{}templates",as:"*NE",slot:"146",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"147", +C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209", +"var":"Q{}mode",as:"1",slot:"148",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"147"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence",role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1215",C:[{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"148"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]}, +{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"148"}]}]},{N:"axis",line:"1223",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"149",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates",slot:"146"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", +diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"150",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes", +slot:"97"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal", +name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"37",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and", +C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"97"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"149"},{N:"varRef",name:"Q{}used-modes",slot:"150"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"38",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1274","var":"Q{}mode.decl",as:"*NE",slot:"151",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup", +algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter",line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute", +as:"A",slot:"152",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"153",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1", +comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute",slot:"152"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"154",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"153"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a",slot:"153"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn", +name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"155",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"153"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, +{N:"varRef",name:"Q{}max-prec",slot:"154"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"155"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"152"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values", +C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"156",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"155"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"157", +C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"156"},{N:"varRef",name:"Q{}t",slot:"157"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"152"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"str",val:","}]}]},{N:"str", +val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1312",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"}, +{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select", +C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"158",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data", +diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes",as:"*A",slot:"159",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"149"},{N:"varRef",name:"Q{}declared-modes",slot:"158"},{N:"varRef",name:"Q{}used-modes",slot:"150"},{N:"data",diag:"0|0||fn:distinct-values", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes",slot:"158"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"97"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error", +tailCall:"false",bSlot:"39",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"}]}]},{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1355","var":"Q{}processed-templates",as:"*NE",slot:"160",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"40",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"146"}, +{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"}, +{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]", +C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"100"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]",diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5", +as:"?ADI",slot:"161",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"100"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"162",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels", +slot:"99"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]}]},{N:"let",line:"737","var":"Q{}index",as:"1ADI",slot:"163",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"164",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"varRef",name:"Q{}index",slot:"163"}]},{N:"iterate", +line:"739",C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"163"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"162"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"164"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"161"}]},{N:"choose",role:"action",line:"745",C:[{N:"let", +"var":"Q{http://saxon.sf.net/generated-variable}current1506840194",as:"1",slot:"165",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194",slot:"165"}]},{N:"varRef",name:"Q{}start",slot:"164"}]}]}]},{N:"sequence",line:"749",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1", +diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"164"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"166",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"100"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"arith",op:"-",calc:"i-i", +C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309",slot:"166"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"41",C:[{N:"dot",type:"1NE", +flags:"a"}]}]}]}]},{N:"let",line:"1375","var":"Q{}modes",as:"*NE",slot:"167",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]}, +{N:"elem",line:"1377",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"let","var":"Q{}name",as:"?NA",slot:"168",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"att",line:"1385",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose", +line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"89"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"169",C:[{N:"choose", +C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"168"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"160"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"}, +{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"+A",slot:"170",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"168"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"160"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"170"}]}]}]}]},{N:"let",line:"1404","var":"Q{}temp",as:"1NE",slot:"171",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}sef",bSlot:"42",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version", +slot:"91"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1407",name:"Q{}precedence-map",slot:"100"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"145"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp",slot:"171"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416", +C:[{N:"varRef",name:"Q{}mode-templates",slot:"169"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef", +name:"Q{}modes",slot:"167"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"96"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec", +val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att",name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", +val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l",C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"43"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select",val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}, +{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]},{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix",bSlot:"44",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"124"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"143"},{N:"varRef",name:"Q{}global.functions",slot:"137"},{N:"varRef",name:"Q{}global.params",slot:"135"},{N:"varRef",name:"Q{}global.variables",slot:"136"},{N:"varRef",name:"Q{}attribute-sets", +slot:"139"},{N:"varRef",name:"Q{}modes",slot:"167"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis",line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}, +{N:"varRef",line:"1454",name:"Q{}keys",slot:"129"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"108"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps",slot:"123"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"145"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"45"},{N:"callT",line:"1457",name:"Q{}strip-space",bSlot:"46",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"100"}]}, +{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"376",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"sequence",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t", +as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"2",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"3",C:[{N:"fn",name:"exists",C:[{N:"axis", +name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"4",flags:"l",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"3"}]},{N:"let",line:"678","var":"Q{}location",as:"1NA",slot:"5",C:[{N:"att",line:"679",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize", +C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"6",C:[{N:"choose",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"}, +{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"7",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"8",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"9", +flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"10",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"11",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"}, +{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"12",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"47",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"13",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2", +C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"702",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"710", +"var":"Q{}sorted-precedence-labels",as:"*AS",slot:"14",C:[{N:"convert",line:"711",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]}, +{N:"let",line:"714","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"15",C:[{N:"ifCall",line:"716",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str", +val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"762","var":"Q{}named-template-signatures",as:"1FM",slot:"16",C:[{N:"ifCall",line:"764",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, +{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"17",C:[{N:"let","var":"Q{}highest-precedence",slot:"18",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+", +diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"varRef",name:"Q{}highest-precedence",slot:"18"}]}]}]}]},{N:"sequence",line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"17"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"48", +C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"19",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest", +slot:"17"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"20",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest", +slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"19"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str", +val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash", +simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}, +{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"49"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795", +C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"21",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"50",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence", +line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select",C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"51",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps", +as:"*A",slot:"22",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"806","var":"Q{}output-declarations",as:"+NE",slot:"23",flags:"e",C:[{N:"condSeq",line:"808",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name",as:"*A",slot:"24",C:[{N:"currentGroupingKey"},{N:"elem",line:"810",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"811",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:" "}]}]}]},{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att", +name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"10"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]}, +{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"25",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"826","var":"Q{}active",as:"+NA", +slot:"26",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"25"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property",bSlot:"52",C:[{N:"first",role:"select",C:[{N:"varRef", +name:"Q{}active",slot:"26"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"26"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"27",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property",bSlot:"53",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"27"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"27"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]}, +{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps",slot:"28",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}in",as:"*A",slot:"29",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",C:[{N:"let","var":"Q{}input",as:"*NE",slot:"30",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}, +{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"30"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS", +flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"29"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"31",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"28"},{N:"choose",role:"return",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"22"},{N:"varRef",name:"Q{}c",slot:"31"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors", +loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]}]},{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"31"}]}]}]}]},{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att", +name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"28"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"862",C:[{N:"elem",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"864",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value", +flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"870","var":"Q{}character-maps",as:"*NE",slot:"32",C:[{N:"let",line:"871","var":"Q{}temp",as:"*NE",slot:"33",flags:"e",C:[{N:"treat",line:"872",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content", +line:"873","var":"Q{}group-name",as:"*A",slot:"34",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"35",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"877","var":"Q{}active",slot:"36",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"varRef",name:"Q{}highest-precedence",slot:"35"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active",slot:"36"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"54",C:[{N:"str",val:"XTSE1580"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]}]},{N:"str",val:" is defined more than once"}]}, +{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn", +name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]},{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"22"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"55",C:[{N:"str", +val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"}, +{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]}, +{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"37",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"33"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", +diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE",diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef", +name:"Q{}character-map-dependency",slot:"37"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"56",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency",slot:"37"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef", +name:"Q{}temp",slot:"33"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"57",C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}, +{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"33"}]}]}]}]}]}]}]}]},{N:"let",line:"914","var":"Q{}expanded-character-maps",as:"*NE",slot:"38",C:[{N:"treat",line:"915",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps",bSlot:"58",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"32"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"32"}]}]}]}, +{N:"let",line:"920","var":"Q{}global-context-item",as:"?NE",slot:"39",C:[{N:"let",line:"921","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",slot:"40",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?",diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions", +slot:"40"}]}]},{N:"let","var":"Q{}h",slot:"41",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"42",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"42"},{N:"varRef",name:"Q{}h",slot:"41"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item", +C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"59",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"applyT",mode:"Q{}sef",bSlot:"60",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]}]},{N:"let",line:"944", +"var":"Q{}static-context",as:"1FM k[AS]",slot:"43",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"11"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"6"}]},{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"23"}]}]},{N:"map",size:"2", +C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",line:"952","var":"Q{}keys",as:"*NE",slot:"44",C:[{N:"sequence",line:"953",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose",role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956", +"var":"Q{}highest-precedence",as:"?AS",slot:"45",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"958","var":"Q{}highest",slot:"46",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"45"}]}]},{N:"sequence",line:"959", +C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]},{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"61",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"}, +{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"62",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"63",C:[{N:"str", +val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest", +slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"977","var":"Q{}processed",as:"*NE",slot:"47",C:[{N:"treat",line:"978",as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"64",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam",name:"Q{}static-context",flags:"t", +as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"982",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}default-collation", +flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"47"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"48",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"}, +{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"994",C:[{N:"currentGroup"},{N:"copy",line:"995",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"48"},{N:"fn",name:"not",C:[{N:"fn",name:"contains", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"},{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message", +line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1009","var":"Q{}global.varPars",as:"*NE",slot:"49",C:[{N:"treat",line:"1011",as:"NE",diag:"3|0|XTTE0570|global.varPars",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", +role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, +{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"65",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]}, +{N:"let",line:"1021","var":"Q{}global.params",as:"*NE",slot:"50",C:[{N:"treat",line:"1022",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"66",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"43"}]}, +{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef", +line:"1029",name:"Q{}defined-attribute-sets",slot:"13"}]}]}]},{N:"let",line:"1032","var":"Q{}global.variables",as:"*NE",slot:"51",C:[{N:"treat",line:"1033",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"67",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t", +as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures",slot:"16"}]}, +{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"13"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1047", +"var":"Q{}global.functions",as:"*NE",slot:"52",C:[{N:"treat",line:"1048",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str", +role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat", +C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1052",algorithm:"by",C:[{N:"currentGroup",role:"select"},{N:"fn",role:"key",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"sequence",role:"content",line:"1054",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, +{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"68",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let", +line:"1059","var":"Q{}head",as:"1N",slot:"53",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"69",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"53"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility", +flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"9"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context", +tailCall:"false",bSlot:"70",C:[{N:"varRef",name:"Q{}head",slot:"53"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select",val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1080","var":"Q{}attribute-sets",as:"*NE",slot:"54",C:[{N:"let",line:"1081","var":"Q{}temp", +as:"*NE",slot:"55",flags:"e",C:[{N:"forEachGroup",line:"1082",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"elem",role:"content",line:"1083",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"1086",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context", +as:"1NE",slot:"56",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, +{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"namespace", +nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"71"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, +{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"72",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem",line:"1089",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",line:"1090",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091", +comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"applyT",line:"1092",mode:"Q{}sef",bSlot:"73",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam", +name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"74",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"57",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"55"},{N:"axis", +name:"child",nodeTest:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"}, +{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"75",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot", +type:"1A"}]}]},{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"55"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"76",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"}, +{N:"dec",val:"2"}]},{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"2"}]}]}]}]}]}]},{N:"let",line:"1134","var":"Q{}named.templates", +as:"*NE",slot:"58",C:[{N:"treat",line:"1135",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]}, +{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"77",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str", +val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"59",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"78",C:[{N:"varRef",role:"select",name:"Q{}head", +slot:"59"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2", +slot:"8"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1153",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall", +line:"1155",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"79",C:[{N:"varRef",name:"Q{}head",slot:"59"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1164","var":"Q{}accumulators", +as:"*NE",slot:"60",C:[{N:"treat",line:"1165",as:"NE",diag:"3|0|XTTE0570|accumulators",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]}, +{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"80",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str", +val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"81",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location", +flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"7"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures", +flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"82",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef", +name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1205","var":"Q{}templates",as:"*NE",slot:"61",C:[{N:"forEach",line:"1206",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"62",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]}, +{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209","var":"Q{}mode",as:"1",slot:"63",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"62"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence",role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1213",C:[{N:"and",line:"1215",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"63"}]}, +{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"63"}]}]},{N:"axis",line:"1223",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"64",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates", +slot:"61"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"65",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values", +C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"}, +{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"12"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"}, +{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"83",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]}, +{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes", +slot:"12"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}used-modes",slot:"65"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"84",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1271","var":"Q{}mode.decl", +as:"*NE",slot:"66",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter",line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute",as:"A",slot:"67",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"68",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"}, +{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute",slot:"67"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"69",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"68"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a", +slot:"68"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"70",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"68"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, +{N:"varRef",name:"Q{}max-prec",slot:"69"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"70"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"67"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values", +C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"71",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"70"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"72", +C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"71"},{N:"varRef",name:"Q{}t",slot:"72"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"67"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"str",val:","}]}]},{N:"str", +val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1311",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",line:"1312",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"}, +{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select", +C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"73",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data", +diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes",as:"*A",slot:"74",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"varRef",name:"Q{}used-modes",slot:"65"},{N:"data",diag:"0|0||fn:distinct-values", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"12"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error", +tailCall:"false",bSlot:"85",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]}]},{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1354","var":"Q{}processed-templates",as:"*NE",slot:"75",C:[{N:"treat",line:"1355",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"86",C:[{N:"varRef",role:"select",name:"Q{}templates", +slot:"61"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", +slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]", +C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]",diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5", +as:"?ADI",slot:"76",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"77",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels", +slot:"14"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]},{N:"let",line:"737","var":"Q{}index",as:"1ADI",slot:"78",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"79",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{}index",slot:"78"}]},{N:"iterate",line:"739", +C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"78"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"77"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"79"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"76"}]},{N:"choose",role:"action",line:"745",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1506840194", +as:"1",slot:"80",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194",slot:"80"}]},{N:"varRef",name:"Q{}start",slot:"79"}]}]}]},{N:"sequence",line:"749",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"79"}]}, +{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"81",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309", +slot:"81"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"87",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"let",line:"1374","var":"Q{}modes",as:"*NE",slot:"82",C:[{N:"forEach", +line:"1375",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"elem",line:"1376",name:"co",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"let",line:"1377","var":"Q{}name",as:"?NA",slot:"83",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"att",line:"1385",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose",line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6", +slot:"4"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"84",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"filter",flags:"b",C:[{N:"varRef", +name:"Q{}processed-templates",slot:"75"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7", +as:"+A",slot:"85",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"75"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef", +name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"85"}]}]}]}]},{N:"let",line:"1403","var":"Q{}temp",as:"1NE",slot:"86",C:[{N:"treat",line:"1404",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}sef",bSlot:"88",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef", +line:"1407",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"60"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp",slot:"86"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416",C:[{N:"varRef",name:"Q{}mode-templates",slot:"84"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence", +role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error", +val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"11"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str", +val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att",name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l", +C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"89"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select",val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]}, +{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix",bSlot:"90",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}, +{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"39"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"58"},{N:"varRef",name:"Q{}global.functions",slot:"52"},{N:"varRef",name:"Q{}global.params",slot:"50"},{N:"varRef",name:"Q{}global.variables",slot:"51"},{N:"varRef",name:"Q{}attribute-sets",slot:"54"},{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id", +flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis",line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"varRef",line:"1454",name:"Q{}keys",slot:"44"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"23"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps", +slot:"38"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"60"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"91"},{N:"callT",line:"1457",name:"Q{}strip-space",bSlot:"92",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"376",part:"2",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"172",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"173",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"174",flags:"l", +C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"173"}]},{N:"let",line:"679","var":"Q{}location",as:"1NA",slot:"175",C:[{N:"att",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"176",C:[{N:"choose", +C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"},{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"177",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", +slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"178",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"179",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"1AS",slot:"180",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"181",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"182",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"ufCall", +name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"93",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"183",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence", +line:"702",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"711","var":"Q{}sorted-precedence-labels",as:"*AS",slot:"184",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped", +to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]},{N:"let",line:"716","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"185",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"764","var":"Q{}named-template-signatures", +as:"1FM",slot:"186",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC", +C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest", +as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"187",C:[{N:"let","var":"Q{}highest-precedence",slot:"188",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+",diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}, +{N:"varRef",name:"Q{}highest-precedence",slot:"188"}]}]}]}]},{N:"sequence",line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"187"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"94",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]}, +{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"189",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest",slot:"187"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"190",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest", +slot:"189"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "}, +{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"189"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"190"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef", +name:"Q{}params",slot:"190"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"95"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str", +val:"XQDY0137"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795",C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, +{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"191",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"96",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence",line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select", +C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"97",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"191"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps",as:"*A",slot:"192",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"808","var":"Q{}output-declarations",as:"+NE",slot:"193",flags:"e",C:[{N:"condSeq",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str", +role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name", +as:"*A",slot:"194",C:[{N:"currentGroupingKey"},{N:"elem",line:"811",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"194"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef", +name:"Q{}group-name",slot:"194"}]},{N:"str",val:" "}]}]}]},{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"180"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"}, +{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"195",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder", +intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"826","var":"Q{}active",as:"+NA",slot:"196",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent", +nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"195"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property",bSlot:"98",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"196"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"196"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0", +C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"197",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property", +bSlot:"99",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"197"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"197"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]},{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]}, +{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps",slot:"198",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}in",as:"*A",slot:"199",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +C:[{N:"let","var":"Q{}input",as:"*NE",slot:"200",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]},{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"200"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order", +val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select", +name:"Q{}in",slot:"199"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"201",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"198"},{N:"choose",role:"return", +C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"192"},{N:"varRef",name:"Q{}c",slot:"201"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"194"}]}]}, +{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"201"}]}]}]}]},{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"198"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"864",C:[{N:"elem", +name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"872","var":"Q{}character-maps", +as:"*NE",slot:"202",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"203",flags:"e",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""}, +{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"873","var":"Q{}group-name",as:"*A",slot:"204",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"205",C:[{N:"fn",name:"min",C:[{N:"forEach", +C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"877","var":"Q{}active",slot:"206",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"205"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active", +slot:"206"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"100",C:[{N:"str",val:"XTSE1580"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"204"}]}]},{N:"str",val:" is defined more than once"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"204"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}, +{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"192"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"101",C:[{N:"str",val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef", +name:"Q{}group-name",slot:"204"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"},{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first", +C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"207",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"203"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str", +val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE",diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}character-map-dependency",slot:"207"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"102",C:[{N:"convert",from:"A",to:"AS", +flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency",slot:"207"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"203"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"103", +C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"203"}]}]}]}]}]}]}]}]},{N:"let",line:"915", +"var":"Q{}expanded-character-maps",as:"*NE",slot:"208",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps",bSlot:"104",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"202"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"202"}]}]}]},{N:"let",line:"921","var":"Q{}global-context-item",as:"?NE",slot:"209",C:[{N:"let","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item", +slot:"210",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?",diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]},{N:"let","var":"Q{}h",slot:"211",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"212",C:[{N:"tail", +start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"212"},{N:"varRef",name:"Q{}h",slot:"211"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"105",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check", +card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"applyT",mode:"Q{}sef",bSlot:"106",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]}]}]}]}]},{N:"let",line:"944","var":"Q{}static-context",as:"1FM k[AS]",slot:"213",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"181"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"176"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"175"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM", +C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"191"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"193"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",line:"953","var":"Q{}keys",as:"*NE",slot:"214",C:[{N:"sequence",C:[{N:"treat",as:"NE", +diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, +{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose",role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956","var":"Q{}highest-precedence",as:"?AS",slot:"215",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let", +line:"958","var":"Q{}highest",slot:"216",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"215"}]}]},{N:"sequence",line:"959",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest", +slot:"216"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]},{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"107",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]}, +{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"ufCall", +name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"108",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"109",C:[{N:"str",val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]}, +{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"978","var":"Q{}processed",as:"*NE",slot:"217",C:[{N:"treat", +as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"110",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef", +line:"982",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"217"},{N:"attVal",role:"key",name:"Q{}name"}, +{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"218",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"995",C:[{N:"currentGroup"},{N:"copy",flags:"cin", +sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"218"},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"}, +{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1011","var":"Q{}global.varPars",as:"*NE",slot:"219",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.varPars", +C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"}, +{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]}, +{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"111",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name", +C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]},{N:"let",line:"1022","var":"Q{}global.params",as:"*NE",slot:"220",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"112",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars", +slot:"219"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", +slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1029",name:"Q{}defined-attribute-sets",slot:"183"}]}]}]},{N:"let",line:"1033","var":"Q{}global.variables",as:"*NE",slot:"221",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"113", +C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"219"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t", +as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"183"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"}, +{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1048","var":"Q{}global.functions",as:"*NE",slot:"222",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", +role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat",C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1054",algorithm:"by",C:[{N:"currentGroup",role:"select"}, +{N:"fn",role:"key",line:"1052",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, +{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"114",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]}, +{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1059","var":"Q{}head",as:"1N",slot:"223",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"115",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"223"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061", +name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"179"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets", +flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"116",C:[{N:"varRef",name:"Q{}head",slot:"223"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select", +val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1082","var":"Q{}attribute-sets",as:"*NE",slot:"224",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"225",flags:"e",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"elem",role:"content",line:"1086",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"226",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47", +C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}, +{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"117"},{N:"fn",name:"name", +C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"118",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem", +line:"1090",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, +{N:"applyT",line:"1092",mode:"Q{}sef",bSlot:"119",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}named-template-signatures", +flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"120",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"227",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"225"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}, +{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"227"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"121",C:[{N:"convert", +from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}direct-dependency",slot:"227"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"225"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"122",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str", +val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"172"}]}]}]}]}]}]},{N:"let",line:"1135","var":"Q{}named.templates",as:"*NE",slot:"228",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", +role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"123",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"229",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first", +C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"124",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"229"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"176"}]}, +{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"178"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef", +line:"1153",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1155",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"125",C:[{N:"varRef",name:"Q{}head",slot:"229"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"}, +{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1165","var":"Q{}accumulators",as:"*NE",slot:"230",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|accumulators",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"126",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"127",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam", +name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"177"}]}, +{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184", +name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"128",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1206","var":"Q{}templates",as:"*NE",slot:"231", +C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"232",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209","var":"Q{}mode",as:"1",slot:"233",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"232"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence", +role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1215",C:[{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"233"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"233"}]}]},{N:"axis",line:"1223",name:"child", +nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"234",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates",slot:"231"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"235",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data", +diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"182"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter", +flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"129",C:[{N:"str", +val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter", +flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"182"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"234"},{N:"varRef",name:"Q{}used-modes",slot:"235"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"130",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1274","var":"Q{}mode.decl",as:"*NE",slot:"236",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter", +line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]}, +{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute",as:"A",slot:"237",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis", +name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"238",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute", +slot:"237"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"239",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"238"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a",slot:"238"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"240",C:[{N:"fn", +name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"238"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}max-prec",slot:"239"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"240"}]}]}, +{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"237"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int", +val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"241",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"240"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"242",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}, +{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"241"},{N:"varRef",name:"Q{}t",slot:"242"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"237"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"str",val:","}]}]},{N:"str",val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1312",name:"xsl:mode", +nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, +{N:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate", +val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"243",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data",diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes", +as:"*A",slot:"244",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"234"},{N:"varRef",name:"Q{}declared-modes",slot:"243"},{N:"varRef",name:"Q{}used-modes",slot:"235"},{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes", +slot:"243"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"182"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"131",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"}]}]}, +{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1355","var":"Q{}processed-templates",as:"*NE",slot:"245",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"132",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"231"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357", +name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t", +as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]", +diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"?ADI",slot:"246",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"185"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function", +C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"247",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]}]},{N:"let",line:"737", +"var":"Q{}index",as:"1ADI",slot:"248",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"249",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"varRef",name:"Q{}index",slot:"248"}]},{N:"iterate",line:"739",C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"248"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"247"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"249"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"246"}]},{N:"choose",role:"action",line:"745",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1506840194",as:"1",slot:"250",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194", +slot:"250"}]},{N:"varRef",name:"Q{}start",slot:"249"}]}]}]},{N:"sequence",line:"749",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"249"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"251",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"185"}, +{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309",slot:"251"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]}, +{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"133",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"let",line:"1375","var":"Q{}modes",as:"*NE",slot:"252",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform", +C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"elem",line:"1377",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"let","var":"Q{}name",as:"?NA",slot:"253",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"att",line:"1385", +name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose",line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"174"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0", +comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"254",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"253"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"245"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn", +name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"+A",slot:"255",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"253"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates", +slot:"245"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"255"}]}]}]}]},{N:"let",line:"1404","var":"Q{}temp",as:"1NE",slot:"256",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp", +C:[{N:"applyT",mode:"Q{}sef",bSlot:"134",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1407",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"230"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp", +slot:"256"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416",C:[{N:"varRef",name:"Q{}mode-templates",slot:"254"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup", +C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"252"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose", +C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"181"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att", +name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l",C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"135"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select", +val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]},{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix", +bSlot:"136",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"209"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"228"},{N:"varRef",name:"Q{}global.functions", +slot:"222"},{N:"varRef",name:"Q{}global.params",slot:"220"},{N:"varRef",name:"Q{}global.variables",slot:"221"},{N:"varRef",name:"Q{}attribute-sets",slot:"224"},{N:"varRef",name:"Q{}modes",slot:"252"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis", +line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"varRef",line:"1454",name:"Q{}keys",slot:"214"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"193"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps",slot:"208"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"230"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"137"},{N:"callT",line:"1457",name:"Q{}strip-space", +bSlot:"138",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"197",binds:"1 94",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_NAMESPACE",as:"1AS",line:"54",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall", +ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"54",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_NAMESPACE",bSlot:"1"}]}]}]},{N:"co",id:"198",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}RPAREN",as:"1ADI",line:"16",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"41"}]}]},{N:"co",id:"199",binds:"",C:[{N:"mode",name:"Q{}on-empty",onNo:"SC",flags:"W",patternSlots:"0", +C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"177",rank:"0",minImp:"0",slots:"3",matches:"NE",flags:"s",line:"184",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"184",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"axis", +name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"185",C:[{N:"param",name:"Q{}element.attributes",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|element.attributes",C:[{N:"cvUntyped", +to:"AS",diag:"8|0|XTTE0590|element.attributes",C:[{N:"data",diag:"8|0|XTTE0590|element.attributes",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"copy",line:"186",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"187",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"188","var":"Q{}attributes",as:"*NE",slot:"1",C:[{N:"union",op:"|",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}att"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef", +name:"Q{}element.attributes",slot:"0"},{N:"attVal",name:"Q{}name"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"}]},{N:"let",line:"189","var":"Q{}onEmpty",as:"*NE nQ{http://ns.saxonica.com/xslt/export}onEmpty",slot:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"elem",line:"190",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"191",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef", +role:"select",name:"Q{}attributes",slot:"1"}]},{N:"elem",line:"192",name:"condSeq",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"194",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"union",op:"|",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attributes",slot:"1"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}onEmpty",slot:"2"}]}]}]}]},{N:"applyT",line:"196",flags:"c",bSlot:"-1",C:[{N:"varRef", +role:"select",name:"Q{}onEmpty",slot:"2"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"176",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"s",line:"181",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"182",type:"1NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"a"}]}]}]},{N:"co",id:"200",binds:"107",C:[{N:"function",name:"Q{MyFunctions}isKnownCollation",line:"18",module:"sorting.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}uri",as:"1AS"},{N:"or",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",op:"or",C:[{N:"gc",op:"=",card:"N:1", +comp:"CCC",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg728602192",bSlot:"0"},{N:"varRef",name:"Q{}uri",slot:"0"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}uri",slot:"0"},{N:"str",val:"http://www.w3.org/2013/collation/UCA"}]}]}]}]},{N:"co",id:"201",binds:"",C:[{N:"function",name:"Q{MyTypes}isNode",line:"453",module:"type.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"455","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS", +diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"N"}]}]}]}]}]},{N:"co",id:"168",binds:"",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1960031800",as:"1AS",line:"365",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"365", +name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"sequence",C:[{N:"str",val:"DO NOT EDIT: compiled with initial template compileXSLTschema "},{N:"fn",name:"current-dateTime"}]}]},{N:"str",val:" "}]}]}]},{N:"co",id:"202",binds:"",C:[{N:"function",name:"Q{MyFunctions}increasing-precedence-sort",line:"660",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*NE",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*NE"},{N:"sort",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"0"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]},{N:"co",id:"203",binds:"",C:[{N:"globalVariable",name:"Q{}XSL-ignore", +as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}ignore c~untyped",line:"131",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"132",name:"xsl:ignore",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"empty"}]}]}]},{N:"co",id:"204",binds:"22",C:[{N:"function",name:"Q{MyFunctions}wrongChild",line:"785",module:"normalize.xsl", +flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"+N"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"787",C:[{N:"first",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"ufCall",line:"800",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"choose",line:"793",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis", +name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"str",val:"XTSE0130"},{N:"true"},{N:"str",val:"XTSE0010"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]},{N:"str",val:" cannot contain "}]},{N:"choose",C:[{N:"instance",of:"1NE",C:[{N:"dot",type:"1N"}]}, +{N:"fn",name:"concat",C:[{N:"str",val:"element "},{N:"fn",name:"name",C:[{N:"dot",type:"1N"}]}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:"non-whitespace text:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1N"}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"205",binds:"",C:[{N:"function",name:"Q{MyFunctions}has-uniform-namespaces",line:"131",module:"namespaces.xsl",flags:"pU",as:"1AB",slots:"1", +C:[{N:"arg",name:"Q{}element",as:"1N"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"133",name:"Q{http://saxon.sf.net/}has-uniform-namespaces",type:"1AB",C:[{N:"treat",as:"NE",diag:"0|0||saxon:has-uniform-namespaces",C:[{N:"varRef",name:"Q{}element",slot:"0"}]}]}]}]},{N:"co",id:"206",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}card-symbols",as:"1FM k[ADI] v[1]", +line:"121",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"5",C:[{N:"int",val:"1"},{N:"str",val:"0"},{N:"int",val:"2"},{N:"str",val:"1"},{N:"int",val:"3"},{N:"str",val:"?"},{N:"int",val:"6"},{N:"str",val:"+"},{N:"int",val:"7"},{N:"str",val:"*"}]}]}]},{N:"co",id:"207",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}card-values",as:"1FM k[AS] v[1ADI]",line:"120",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"5",C:[{N:"str",val:"*"},{N:"int",val:"7"},{N:"str",val:"+"}, +{N:"int",val:"6"},{N:"str",val:"0"},{N:"int",val:"1"},{N:"str",val:"1"},{N:"int",val:"2"},{N:"str",val:"?"},{N:"int",val:"3"}]}]}]},{N:"co",id:"208",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}APOS",as:"1ADI",line:"20",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"39"}]}]},{N:"co",id:"171",binds:"",C:[{N:"template",name:"Q{}check-use-when",flags:"os",as:"1AB",line:"1097",module:"static.xsl",slots:"7",C:[{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1098",card:"1",diag:"7|0|XTTE0505|check-use-when",C:[{N:"sequence",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1099",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1100","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose",line:"1101",C:[{N:"fn",line:"1102",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]},{N:"check",line:"1103",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p", +diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]}]}]}]}]},{N:"true"},{N:"check",line:"1106",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression", +C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}use-when"}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1111","var":"Q{}dot",as:"1",slot:"4",C:[{N:"dot",flags:"a"},{N:"let",line:"1115","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE",slot:"5",flags:"l",C:[{N:"treat",as:"NE",diag:"0|1||fn:namespace-uri-for-prefix", +C:[{N:"varRef",name:"Q{}dot",slot:"4"}]},{N:"compElem",line:"1112",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1113",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"treat",as:"NE",diag:"0|0||fn:in-scope-prefixes",C:[{N:"dot",flags:"a"}]}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt", +line:"1115",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"5"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]}]},{N:"treat",line:"1123",as:"AB",diag:"7|0|XTTE0505|check-use-when",C:[{N:"cvUntyped",to:"AB",diag:"7|0|XTTE0505|check-use-when",C:[{N:"data", +diag:"7|0|XTTE0505|check-use-when",C:[{N:"try",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri",C:[{N:"dot",flags:"a"}]}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]}, +{N:"withParam",name:"Q{}compileSyntax",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}errorsAsMessages",as:"1AB",C:[{N:"false"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1131",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Y"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error", +C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"let",line:"1136","var":"Q{}possibleCode",as:"1AS",slot:"6",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before", +C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]},{N:"choose",line:"1143",C:[{N:"castable",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"substring-after",C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A", +to:"AS",flags:"p",diag:"0|0||fn:substring-after",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"fn",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info", +type:"*",C:[{N:"str",val:"code"}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"209",binds:"22",C:[{N:"function",name:"Q{MyFunctions}missingAttribute",line:"824",module:"normalize.xsl",flags:"pU",as:"*", +slots:"2",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}attribute",as:"1AS"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"827",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" requires an @"}]},{N:"varRef",name:"Q{}attribute",slot:"1"}]},{N:"str",val:" attribute"}]},{N:"dot",type:"1NE"}]}]}]}]},{N:"co",id:"210",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}MANY",as:"1ADI",line:"103",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"4"}]}]},{N:"co",id:"211",binds:"206 1",C:[{N:"function",name:"Q{MyTypes}cardCheck",line:"964",module:"type.xsl",flags:"pU",as:"1NE",slots:"4",C:[{N:"arg",name:"Q{}expression", +as:"1NE"},{N:"arg",name:"Q{}reqCard",as:"1ADI"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"970",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A", +to:"AS",C:[{N:"data",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{MyTypes}card-symbols",bSlot:"0"},{N:"varRef",name:"Q{}reqCard",slot:"1"}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"slash",line:"971",simple:"1",C:[{N:"varRef", +name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"971",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"146",binds:"146 146 146 146",C:[{N:"function",name:"Q{MyFunctions}pattern-matches-node-kind",line:"88",module:"pattern.xsl",flags:"pU",as:"1AB",slots:"4",C:[{N:"arg",name:"Q{}pattern",as:"?NE"},{N:"arg",name:"Q{}node-kind",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"91",C:[{N:"choose",C:[{N:"fn",line:"92",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]},{N:"or",line:"93",op:"or",C:[{N:"compareToString",op:"eq",val:"N",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"attVal",name:"Q{}test"}]}]}]}]}]}, +{N:"fn",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"attVal",name:"Q{}test"}]}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"95",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"}]}]}]}, +{N:"choose",line:"97",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"union"}]}]}]},{N:"some",line:"98","var":"Q{}operand",slot:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"false",bSlot:"0",C:[{N:"varRef", +name:"Q{}operand",slot:"2"},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"100",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"intersect"}]}]}]},{N:"every",line:"101","var":"Q{}operand",slot:"3",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind", +tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}operand",slot:"3"},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"103",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"except"}]}]}]},{N:"ufCall",line:"104",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"self",bSlot:"2",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"}, +{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]},{N:"true"},{N:"error",line:"96",message:"Conditional expression: None of the conditions is satisfied, so an empty sequence is returned, but this is not allowed as the result of a call to f:pattern-matches-node-kind#2",code:"XTTE0780",isTypeErr:"0"}]},{N:"fn",line:"108",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"axis", +name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper"}]}]}]}]},{N:"ufCall",line:"109",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"self",bSlot:"3",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]},{N:"true"},{N:"true"}]}]}]}]},{N:"co",id:"212",binds:"1 60",C:[{N:"globalVariable", +name:"Q{}SJ.OPTIONAL_DOCUMENT",as:"1AS",line:"47",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.OPTIONAL_DOCUMENT",bSlot:"1"}]}]}]},{N:"co",id:"213",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ATOMIC",as:"1FM k[AS] v[1AS]",line:"14",module:"sequenceType.xsl",visibility:"PRIVATE", +C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"214",binds:"1",C:[{N:"function",name:"Q{MyTypes}cardCheck",line:"954",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"958",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"},{N:"str",val:"o"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"}]}]},{N:"att",name:"diag", +flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"959",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"959",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"215",binds:"",C:[{N:"function",name:"Q{MyFunctions}message-count",line:"26",module:"lib.xsl",flags:"pU",as:"1ADI",slots:"1",C:[{N:"arg",name:"Q{}code",as:"?AQ"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"28",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"varRef",name:"Q{}code",slot:"0"}]}]}]},{N:"co",id:"216",binds:"216",C:[{N:"template",name:"Q{}expandCharMapRef",flags:"os",line:"170",module:"output.xsl",slots:"3",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"171",C:[{N:"param",name:"Q{}charMapRef",slot:"0",flags:"i",as:"1AS", +C:[{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|charMapRef",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|charMapRef",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|charMapRef",C:[{N:"data",diag:"8|0|XTTE0590|charMapRef",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"172",name:"Q{}charMaps",slot:"1",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|charMaps",C:[{N:"supplied",slot:"1"}]}]},{N:"let",line:"174","var":"Q{}usedCharMap", +as:"*NE",slot:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}charMaps",slot:"1"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{}charMapRef",slot:"0"}]}]},{N:"choose",line:"175",C:[{N:"fn",line:"176",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"177",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}]}]}]}]}]},{N:"callT",line:"178",name:"Q{}expandCharMapRef", +bSlot:"0",C:[{N:"withParam",name:"Q{}charMapRef",flags:"c",as:"1AS",C:[{N:"fn",line:"179",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"withParam",name:"Q{}charMaps",flags:"c",as:"*NE",C:[{N:"varRef",line:"180",name:"Q{}charMaps",slot:"1"}]}]}]},{N:"conditionalSort",line:"183",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"child", +nodeTest:"NE n*:m"}]}]}]}]},{N:"true"},{N:"conditionalSort",line:"186",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"child",nodeTest:"NE n*:m"}]}]}]}]}]}]}]}]},{N:"co",id:"217",binds:"",C:[{N:"function",name:"Q{MyTypes}type-error",line:"1174",module:"type.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg", +name:"Q{}requiredType",as:"1FM"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1179",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Wrong type "},{N:"fn",line:"325",name:"serialize",C:[{N:"varRef",line:"1179",name:"Q{}suppliedType",slot:"0"},{N:"map", +size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]},{N:"str",val:" for ??? - expecting "}]},{N:"fn",line:"325",name:"serialize",C:[{N:"varRef",line:"1179",name:"Q{}requiredType",slot:"1"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]}]}]}]},{N:"co",id:"218",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_NCNAME",as:"1FM k[AS] v[1AS]",line:"29",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"}, +{N:"str",val:"ASNTNC"}]}]}]},{N:"co",id:"175",binds:"22",C:[{N:"template",name:"Q{}collect-doc",flags:"os",as:"1ND",line:"961",module:"static.xsl",slots:"2",C:[{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"962",card:"1",diag:"7|0|XTTE0505|collect-doc",C:[{N:"sequence",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"963",name:"Q{}uri",slot:"1",C:[{N:"fn",role:"select",name:"resolve-uri",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:resolve-uri",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}href"}]}]}]},{N:"check",card:"1",diag:"0|1||fn:resolve-uri",C:[{N:"convert", +from:"AU",to:"AS",flags:"p",diag:"0|1||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:resolve-uri",C:[{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"supplied",role:"conversion",slot:"1"}]},{N:"choose",line:"964",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"sequence",line:"965",C:[{N:"treat",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str", +val:"href:"},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"treat",line:"966",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"BASE-URI:"},{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri", +C:[{N:"dot",flags:"a"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"treat",line:"967",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"resolved-URI:"},{N:"varRef",name:"Q{}uri",slot:"1"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]}]},{N:"treat",line:"970",as:"ND",diag:"7|0|XTTE0505|collect-doc", +C:[{N:"try",flags:"r",C:[{N:"fn",name:"doc",C:[{N:"check",card:"?",diag:"0|0||fn:doc",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:doc",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:doc",C:[{N:"data",diag:"0|0||fn:doc",C:[{N:"varRef",name:"Q{}uri",slot:"1"}]}]}]}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"972",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0165"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" of "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}uri",slot:"1"}]}]},{N:"str",val:" failed:"}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N", +diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]},{N:"doc",line:"973",C:[{N:"elem",line:"975",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"att",line:"976",name:"version",flags:"l",C:[{N:"str",val:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"219",binds:"219",C:[{N:"function",name:"Q{MyTypes}itemTypeRelationship",line:"234",module:"type.xsl",flags:"pU",as:"1AS",slots:"10",C:[{N:"arg",name:"Q{}required",as:"1FM"}, +{N:"arg",name:"Q{}supplied",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"245",C:[{N:"let","var":"Q{}primaryRel",slot:"2",C:[{N:"let","var":"Q{}R",as:"1AS",slot:"3",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data", +diag:"0|0||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"4",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"p"}]}]}]}]}]},{N:"choose",line:"185", +C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"3"},{N:"varRef",name:"Q{}S",slot:"4"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"3"},{N:"varRef",name:"Q{}S",slot:"4"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"4"},{N:"varRef",name:"Q{}R",slot:"3"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]},{N:"choose",line:"247",C:[{N:"or",line:"248",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString", +op:"ne",val:"EQ",C:[{N:"varRef",name:"Q{}primaryRel",slot:"2"}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]},{N:"str",val:""}]}]},{N:"varRef",line:"249",name:"Q{}primaryRel",slot:"2"},{N:"true"},{N:"let",line:"252","var":"Q{}R",slot:"5",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"n"}]},{N:"let",line:"253","var":"Q{}S",slot:"6",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"n"}]},{N:"let",line:"266","var":"Q{}nameRel",as:"1AS",slot:"7", +C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}R",slot:"5"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}S",slot:"6"}]}]},{N:"str",val:"LT"},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}S",slot:"6"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}R",slot:"5"}]}]},{N:"str",val:"GT"},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}R",slot:"5"},{N:"varRef",name:"Q{}S",slot:"6"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"map",size:"0"}]},{N:"str",val:"EQ"},{N:"true"},{N:"str",val:"DJ"}]},{N:"choose",line:"267",C:[{N:"compareToString",line:"268",op:"ne",val:"EQ",C:[{N:"varRef",name:"Q{}nameRel",slot:"7"}]},{N:"varRef",line:"269",name:"Q{}nameRel",slot:"7"},{N:"true"},{N:"let",line:"272","var":"Q{}R",slot:"8",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"e"}]},{N:"let",line:"273","var":"Q{}S",slot:"9",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"e"}]},{N:"choose", +line:"285",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}R",slot:"8"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]},{N:"str",val:"LT"},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}S",slot:"9"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}R",slot:"8"}]}]},{N:"str",val:"GT"},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}R",slot:"8"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]},{N:"str",val:"EQ"},{N:"true"}, +{N:"ufCall",name:"Q{MyTypes}itemTypeRelationship",tailCall:"self",bSlot:"0",C:[{N:"treat",as:"FM",diag:"0|0||t:itemTypeRelationship",C:[{N:"check",card:"1",diag:"0|0||t:itemTypeRelationship",C:[{N:"varRef",name:"Q{}R",slot:"8"}]}]},{N:"treat",as:"FM",diag:"0|1||t:itemTypeRelationship",C:[{N:"check",card:"1",diag:"0|1||t:itemTypeRelationship",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"220",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SUBSUMES",as:"1AS", +line:"163",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"GT"}]}]},{N:"co",id:"221",binds:"",C:[{N:"mode",name:"Q{}process-bindings",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.0",seq:"319",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"s",line:"297",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"300",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",C:[{N:"sequence",role:"content",line:"301",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"308",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"choose",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}flags"}]}]}]},{N:"str", +val:"c"},{N:"str",val:""}]},{N:"int",val:"-1"},{N:"true"},{N:"let",line:"299","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"M:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"308",type:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn", +name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]}]},{N:"applyT",line:"316",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"316",rank:"0",minImp:"0",slots:"4",matches:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"s",line:"254",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"256",C:[{N:"param",name:"Q{}global-shadows",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|global-shadows",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|global-shadows",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"257","var":"Q{}name",as:"1AS",slot:"1", +C:[{N:"fn",name:"concat",C:[{N:"str",val:"V:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"copy",line:"258",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",C:[{N:"sequence",role:"content",line:"259",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"261",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}name",as:"1AS",slot:"2",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"check",line:"212",card:"?", +diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"261",type:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"2"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"let",line:"264","var":"Q{}shadow",slot:"3",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}global-shadows", +slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"sequence",line:"265",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}shadow",slot:"3"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}shadow",slot:"3"}]}]}]}]},{N:"att",line:"266",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}shadow",slot:"3"}]}]}]},{N:"str",val:" "}]}]}]},{N:"applyT",line:"270",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"313",rank:"1", +minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co",flags:"s",line:"85",module:"component-bindings.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"85",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]}, +{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"86","var":"Q{}patterns",as:"*NE",slot:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"}]},{N:"axis", +name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]},{N:"nextMatch",line:"87",flags:"t",C:[{N:"withParam",name:"Q{}patternSlots",flags:"t",as:"1ADI",C:[{N:"arith",line:"92",op:"+",calc:"i+i",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"cast",flags:"a",as:"1ADI",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}patterns",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"self", +nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent"}]}]}]}]},{N:"fn",name:"max",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}patterns",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}varRef"}]},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]},{N:"int",val:"-1"}]}]}]},{N:"int",val:"1"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"315",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co", +flags:"s",line:"119",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1", +diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots", +C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS", +C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"130",C:[{N:"and",line:"132",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis", +name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy",line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute", +nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"315",part:"1",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator",flags:"s",line:"119",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120", +C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI", +C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str", +val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"132",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]}, +{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy",line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child", +nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"}, +{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"314",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mode",flags:"s",line:"96",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mode"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"97",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"99",name:"Q{}patternSlots",slot:"1",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots", +C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"choose",line:"100",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"sequence",line:"101",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing mode "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str", +role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"message",line:"102",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"PatternSlots: "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}patternSlots",slot:"1"}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"copy",line:"104",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mode",C:[{N:"sequence", +role:"content",line:"105",C:[{N:"copyOf",flags:"c",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"106",name:"patternSlots",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}patternSlots",slot:"1"}]}]},{N:"applyT",line:"107",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"322",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"s",line:"346", +module:"component-bindings.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration"}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"347",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam", +C:[{N:"sequence",role:"content",line:"348",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"349",name:"slot",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current-541312609",as:"1",slot:"0",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AS",slot:"1",flags:"l",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash", +C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current-541312609",slot:"0"},{N:"attVal",name:"Q{}name"}]}]},{N:"data",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}]}, +{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}param"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"1"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"350",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"321", +rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}callT",flags:"s",line:"333",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}callT"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"336",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}callT", +C:[{N:"sequence",role:"content",line:"337",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"339",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",line:"335","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"T:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"339",type:"1NE nQ{http://ns.saxonica.com/xslt/export}callT", +flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"342",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"317",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall",flags:"s",line:"273",module:"component-bindings.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"276",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}ufCall",C:[{N:"sequence",role:"content",line:"277",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"279",name:"bSlot",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"let",line:"275","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"279",type:"1NE nQ{http://ns.saxonica.com/xslt/export}ufCall", +flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"282",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"318",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef",flags:"s",line:"285",module:"component-bindings.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"288",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}ufRef",C:[{N:"sequence",role:"content",line:"289",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"291",name:"bSlot",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"let",line:"287","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}arity"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"291",type:"1NE nQ{http://ns.saxonica.com/xslt/export}ufRef", +flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"294",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"312",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}package",flags:"s",line:"32",module:"component-bindings.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}package"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"33",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]}, +{N:"let",line:"35","var":"Q{}globals",slot:"1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"ifCall",line:"58",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:symbolic-name#1",C:[{N:"forEach",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|actor",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"choose", +line:"61",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalParam,NE nQ{http://ns.saxonica.com/xslt/export}globalVariable]"}]},{N:"fn",line:"62",name:"concat",C:[{N:"str",val:"V:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"64",name:"exists",C:[{N:"axis", +name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}attributeSet"}]},{N:"fn",line:"65",name:"concat",C:[{N:"str",val:"A:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"67",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}template"},{N:"fn", +name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"fn",line:"68",name:"concat",C:[{N:"str",val:"T:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"70",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]},{N:"fn",line:"71",name:"concat",C:[{N:"str", +val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"fn",line:"73",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"}]},{N:"fn",line:"74",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]}, +{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"true"},{N:"str",val:"???"}]}]}]},{N:"fn",line:"35",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"sequence",line:"36",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", +val:"traceProgress"}]},{N:"message",line:"37",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Globals:"},{N:"fn",name:"count",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}globals",slot:"1"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"copy",line:"39",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}package",C:[{N:"sequence",role:"content",line:"40", +C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"41",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}globals",flags:"t",C:[{N:"varRef",line:"42",name:"Q{}globals",slot:"1"}]},{N:"withParam",name:"Q{}global-shadows",flags:"t",as:"1FM",C:[{N:"ifCall",line:"51",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}, +{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"0.0",seq:"320",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}useAS",flags:"s",line:"320",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"323",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}useAS", +C:[{N:"sequence",role:"content",line:"324",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"326",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",line:"322","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"A:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"326",type:"1NE nQ{http://ns.saxonica.com/xslt/export}useAS", +flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"329",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"315",part:"2",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}key",flags:"s",line:"119",module:"component-bindings.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]}, +{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots", +C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]}, +{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"132",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy", +line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join", +C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"co",id:"164",binds:"",C:[{N:"function",name:"Q{MyFunctions}has-uniform-static-context", +line:"153",module:"namespaces.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}element",as:"1N"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"157","var":"Q{http://saxon.sf.net/generated-variable}cc393138250",as:"*NE",slot:"1",flags:"l",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}element",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"and", +line:"160",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",line:"156",name:"empty",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}element",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"fn",line:"157",name:"empty",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}cc393138250", +slot:"1"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]},{N:"ifCall",line:"133",name:"Q{http://saxon.sf.net/}has-uniform-namespaces",type:"1AB",C:[{N:"treat",as:"NE",diag:"0|0||saxon:has-uniform-namespaces",C:[{N:"varRef",line:"155",name:"Q{}element",slot:"0"}]}]}]},{N:"fn",line:"159",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"varRef", +name:"Q{http://saxon.sf.net/generated-variable}cc393138250",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"co",id:"222",binds:"22 25 25",C:[{N:"function",name:"Q{MyTypes}type-error",line:"1182",module:"type.xsl",flags:"pU",as:"*",slots:"5",C:[{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"arg",name:"Q{}expression",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1187",C:[{N:"let","var":"Q{}parts",as:"*AS",slot:"4",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}diag",slot:"2"},{N:"str",val:"\\|"},{N:"str",val:""}]},{N:"ufCall",line:"1192",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"4"},{N:"int",val:"3"}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"str",val:"Required type of "},{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"4"},{N:"int",val:"4"}]}]},{N:"str",val:" is "}]},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"}]}]},{N:"str",val:"; actual type is "}]},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"2",C:[{N:"varRef",name:"Q{}suppliedType",slot:"0"}]}]},{N:"varRef",name:"Q{}expression",slot:"3"}]}]}]}]}]},{N:"co",id:"223",binds:"",C:[{N:"globalVariable", +name:"Q{}errInfo",as:"1AQ",line:"344",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"info"}]}]},{N:"co",id:"40",binds:"",C:[{N:"globalVariable",name:"Q{}xslt.schema",as:"1FM k[AS] v[1FM]",line:"1",module:"XSLT-schema.xsl",visibility:"PRIVATE",C:[{N:"map",size:"77",C:[{N:"str",val:"use-package"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str", +val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"package-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"accept"},{N:"str",val:"AAA"},{N:"str",val:"override"}, +{N:"str",val:"AAA"}]}]},{N:"str",val:"matching-substring"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"map-entry"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"key"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"select"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"key"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3280"}]},{N:"str",val:"output"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"}, +{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"24",C:[{N:"str",val:"omit-xml-declaration"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"method"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"json"}, +{N:"str",val:"adaptive"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"allow-duplicate-names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"media-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str", +val:"doctype-public"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"escape-uri-attributes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"standalone"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"boolean"},{N:"str",val:"omit"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"json-node-output-method"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"doctype-system"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"item-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"indent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"suppress-indentation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"byte-order-mark"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"include-content-type"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"encoding"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"normalization-form"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"NFC"},{N:"str",val:"NFD"},{N:"str",val:"NFKC"},{N:"str",val:"NFKD"},{N:"str",val:"fully-normalized"},{N:"str",val:"none"},{N:"str",val:"nmtoken"}]},{N:"str", +val:"isAVT"},{N:"false"}]},{N:"str",val:"html-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"nmtoken"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"undeclare-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"build-tree"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", +val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"cdata-section-elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"parameter-document"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"non-matching-substring"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str", +val:"parents"},{N:"str",val:"analyze-string"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"sequence"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]}, +{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]},{N:"str",val:"fork"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"sequence"},{N:"str",val:"AAA"},{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"for-each-group"},{N:"str", +val:"AAA"}]}]},{N:"str",val:"fallback"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"next-iteration"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str", +val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"mode"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"9",C:[{N:"str",val:"warning-on-multiple-match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"on-no-match"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"deep-copy"},{N:"str",val:"shallow-copy"},{N:"str",val:"deep-skip"},{N:"str",val:"shallow-skip"},{N:"str",val:"text-only-copy"},{N:"str",val:"fail"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"typed"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"boolean"},{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"on-multiple-match"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"use-last"},{N:"str",val:"fail"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"warning-on-no-match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"accumulator-rule"},{N:"map",size:"4", +C:[{N:"str",val:"required.attributes"},{N:"str",val:"match"},{N:"str",val:"parents"},{N:"str",val:"accumulator"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"phase"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"start"},{N:"str",val:"end"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"expose"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"3",C:[{N:"str",val:"component"},{N:"str",val:"names"},{N:"str",val:"visibility"}]},{N:"str",val:"parents"},{N:"str",val:"package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3", +C:[{N:"str",val:"names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"component"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"template"},{N:"str",val:"function"}, +{N:"str",val:"attribute-set"},{N:"str",val:"variable"},{N:"str",val:"mode"},{N:"str",val:"*"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"for-each"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"preserve-space"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"elements"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", +val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"import"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"}, +{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"package"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"14",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str", +val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"package-version"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"id"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"declared-modes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"expose"},{N:"str",val:"AAA"},{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"accumulator"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2", +C:[{N:"str",val:"name"},{N:"str",val:"initial-value"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"initial-value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"accumulator-rule"},{N:"str",val:"AAA"}]}]},{N:"str",val:"with-param"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"}, +{N:"literal",count:"6",C:[{N:"str",val:"apply-templates"},{N:"str",val:"call-template"},{N:"str",val:"apply-imports"},{N:"str",val:"next-match"},{N:"str",val:"next-iteration"},{N:"str",val:"evaluate"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"tunnel"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"assert"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, +{N:"str",val:"test"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"test"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"error-code"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"message"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"terminate"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"error-code"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"include"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map", +size:"1",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"accept"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"3",C:[{N:"str",val:"component"},{N:"str",val:"names"},{N:"str",val:"visibility"}]},{N:"str",val:"parents"},{N:"str",val:"use-package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"names"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"},{N:"str",val:"hidden"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"component"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"template"},{N:"str",val:"function"}, +{N:"str",val:"attribute-set"},{N:"str",val:"variable"},{N:"str",val:"mode"},{N:"str",val:"*"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"call-template"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"number"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"12",C:[{N:"str",val:"level"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"single"},{N:"str",val:"multiple"},{N:"str",val:"any"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"letter-value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal", +count:"2",C:[{N:"str",val:"alphabetic"},{N:"str",val:"traditional"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"from"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"grouping-size"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"integer"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"count"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"ordinal"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"format"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"grouping-separator"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"start-at"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"perform-sort"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, +{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"on-completion"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"iterate"}, +{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3125"}]},{N:"str",val:"merge-key"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"merge-source"}, +{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"ascending"},{N:"str",val:"descending"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"case-order"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"upper-first"},{N:"str",val:"lower-first"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"data-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"text"},{N:"str",val:"number"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str", +val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3200"}]},{N:"str",val:"result-document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"27",C:[{N:"str",val:"omit-xml-declaration"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"method"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"json"},{N:"str",val:"adaptive"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"allow-duplicate-names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, +{N:"true"}]},{N:"str",val:"media-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"doctype-public"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"escape-uri-attributes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"standalone"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2", +C:[{N:"str",val:"boolean"},{N:"str",val:"omit"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"json-node-output-method"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"doctype-system"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"item-separator"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"output-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"nmtoken"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"indent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"suppress-indentation"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"byte-order-mark"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"include-content-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"encoding"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]}, +{N:"str",val:"normalization-form"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"NFC"},{N:"str",val:"NFD"},{N:"str",val:"MFKC"},{N:"str",val:"MFKD"},{N:"str",val:"fully-normalized"},{N:"str",val:"none"},{N:"str",val:"nmtoken"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"html-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"format"},{N:"map",size:"2",C:[{N:"str",val:"values"}, +{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"undeclare-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, +{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"build-tree"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"cdata-section-elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"parameter-document"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str", +val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"merge-action"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"merge"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"next-match"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"}, +{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"transform"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"11",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"id"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"}, +{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"override"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"use-package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"5",C:[{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"attribute-set"},{N:"str",val:"AAA"},{N:"str",val:"function"},{N:"str",val:"AAA"},{N:"str",val:"template"},{N:"str", +val:"AAA"},{N:"str",val:"variable"},{N:"str",val:"AAA"}]}]},{N:"str",val:"param"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"7",C:[{N:"str",val:"package"},{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"override"},{N:"str",val:"template"},{N:"str",val:"function"},{N:"str",val:"iterate"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"tunnel"},{N:"map",size:"2",C:[{N:"str",val:"values"}, +{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"static"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"}, +{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"required"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"text"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map", +size:"1",C:[{N:"str",val:"disable-output-escaping"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"PCDATA"},{N:"str",val:"AAA"}]}]},{N:"str",val:"source-document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", +val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, +{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"stylesheet"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"11",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str", +val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"id"}, +{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"apply-imports"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"copy-of"},{N:"map", +size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"copy-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"copy-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"}, +{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"merge-source"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, +{N:"str",val:"select"},{N:"str",val:"parents"},{N:"str",val:"merge"},{N:"str",val:"permitted.attributes"},{N:"map",size:"9",C:[{N:"str",val:"for-each-source"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, +{N:"false"}]},{N:"str",val:"sort-before-merge"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"for-each-item"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"merge-key"},{N:"str",val:"AAA"}]}]},{N:"str", +val:"context-item"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"template"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"required"},{N:"str",val:"optiona"},{N:"str",val:"absent"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"item-type"},{N:"str",val:"isAVT"}, +{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"attribute-set"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"attribute"},{N:"str",val:"AAA"}]}]},{N:"str",val:"strip-space"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"0"}]},{N:"str",val:"analyze-string"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"select"},{N:"str",val:"regex"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"regex"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"flags"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"matching-substring"},{N:"str",val:"AAA"},{N:"str",val:"non-matching-substring"},{N:"str",val:"AAA"},{N:"str",val:"fallback"},{N:"str",val:"AAA"}]}]},{N:"str",val:"decimal-format"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"}, +{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"12",C:[{N:"str",val:"percent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exponent-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"pattern-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"zero-digit"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"infinity"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"decimal-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"}, +{N:"false"}]},{N:"str",val:"digit"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"per-mille"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"minus-sign"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"NaN"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"}, +{N:"false"}]},{N:"str",val:"grouping-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"value-of"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"disable-output-escaping"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0870"}]},{N:"str",val:"processing-instruction"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, +{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0880"}]}, +{N:"str",val:"where-populated"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"otherwise"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"choose"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"copy"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"inherit-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"copy-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"choose"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"otherwise"},{N:"str",val:"AAA"},{N:"str",val:"when"},{N:"str", +val:"AAA"}]}]},{N:"str",val:"for-each-group"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"group-by"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"group-starting-with"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"composite"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"group-adjacent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"group-ending-with"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"merge"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"}, +{N:"str",val:"merge-action"},{N:"str",val:"AAA"},{N:"str",val:"merge-source"},{N:"str",val:"AAA"}]}]},{N:"str",val:"character-map"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str", +val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"output-character"},{N:"str",val:"AAA"}]}]},{N:"str",val:"function"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str", +val:"permitted.attributes"},{N:"map",size:"8",C:[{N:"str",val:"cache"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"override-extension-function"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamability"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"8",C:[{N:"str",val:"unclassified"},{N:"str",val:"absorbing"},{N:"str",val:"inspection"}, +{N:"str",val:"filter"},{N:"str",val:"shallow-descent"},{N:"str",val:"deep-descent"},{N:"str",val:"ascent"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"new-each-time"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"yes"},{N:"str",val:"true"},{N:"str",val:"1"},{N:"str",val:"no"},{N:"str",val:"false"},{N:"str", +val:"0"},{N:"str",val:"maybe"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"override"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str", +val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"evaluate"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"xpath"},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"with-params"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"base-uri"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"context-item"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"schema-aware"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, +{N:"false"}]},{N:"str",val:"xpath"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace-context"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"iterate"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, +{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"on-completion"},{N:"str",val:"AAA"},{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"template"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, +{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"priority"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str", +val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"content-item"},{N:"str",val:"AAA"},{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"when"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"test"},{N:"str",val:"parents"},{N:"str",val:"choose"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"test"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"apply-templates"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"token"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4", +C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"namespace"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"}, +{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0910"}]},{N:"str",val:"try"},{N:"map",size:"3",C:[{N:"str", +val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"rollback-output"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"}, +{N:"str",val:"AAA"},{N:"str",val:"catch"},{N:"str",val:"AAA"}]}]},{N:"str",val:"global-context-item"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"required"},{N:"str",val:"optional"},{N:"str", +val:"absent"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"item-type"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"catch"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"try"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"errors"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", +val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3150"}]},{N:"str",val:"map"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"}, +{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"variable"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"static"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str", +val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"}, +{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"attribute"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"name"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"qname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0840"}]},{N:"str",val:"element"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"}, +{N:"map",size:"6",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"inherit-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"qname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal", +count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]}, +{N:"str",val:"if"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"test"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"test"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"output-character"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal", +count:"2",C:[{N:"str",val:"character"},{N:"str",val:"string"}]},{N:"str",val:"parents"},{N:"str",val:"character-map"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"character"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"string"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"sort"}, +{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"4",C:[{N:"str",val:"for-each"},{N:"str",val:"for-each-group"},{N:"str",val:"apply-templates"},{N:"str",val:"perform-sort"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"}, +{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"ascending"},{N:"str",val:"descending"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"case-order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"upper-first"},{N:"str",val:"lower-first"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"stable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, +{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"data-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"text"},{N:"str",val:"number"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"}, +{N:"str",val:"XTSE1015"}]},{N:"str",val:"namespace-alias"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"stylesheet-prefix"},{N:"str",val:"result-prefix"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"result-prefix"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str", +val:"prefix"},{N:"str",val:"#default"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"stylesheet-prefix"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"prefix"},{N:"str",val:"#default"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"break"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3125"}]},{N:"str",val:"key"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"name"},{N:"str",val:"match"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str", +val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"composite"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"collation"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"comment"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str", +val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0940"}]},{N:"str",val:"on-empty"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]},{N:"str",val:"on-non-empty"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"}, +{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]}]}]}]},{N:"co",id:"224",binds:"34",C:[{N:"function",name:"Q{MyFunctions}wrongParent",line:"780",module:"normalize.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"homCheck",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"782",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" cannot be a child of "}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"dot",type:"1NE"}]}]}]}]}]},{N:"co",id:"225",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}ONE",as:"1ADI", +line:"102",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co",id:"226",binds:"74",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1965472536",as:"+",line:"254",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"254",C:[{N:"str",val:"XSLT compiler version:"}, +{N:"gVarRef",name:"Q{}compiler.version",bSlot:"0"}]}]}]},{N:"co",id:"227",binds:"",C:[{N:"function",name:"Q{MyFunctions}escapeAVT",line:"143",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}s",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"145",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}s",slot:"0"}, +{N:"str",val:"\\{"},{N:"str",val:"{{"},{N:"str",val:""}]},{N:"str",val:"\\}"},{N:"str",val:"}}"},{N:"str",val:""}]}]}]},{N:"co",id:"228",binds:"58 219 214 64 229 9 7 222 230 214 230 214 230 214",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"1065",module:"type.xsl",flags:"pU",as:"*",slots:"20",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1074",C:[{N:"let","var":"Q{}suppliedItemType",slot:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"p"}]},{N:"let",line:"1075","var":"Q{}suppliedCard",slot:"5",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"o"}]},{N:"let",line:"1076","var":"Q{}reqItemType",slot:"6",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"p"}]},{N:"let",line:"1080","var":"Q{}cardOK",as:"1AB",slot:"7",C:[{N:"gc",op:"=",card:"N:1", +comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"EQ"},{N:"str",val:"GT"}]},{N:"check",line:"1079",card:"1",diag:"3|0|XTTE0570|cardRel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|cardRel",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|cardRel",C:[{N:"data",diag:"3|0|XTTE0570|cardRel",C:[{N:"ufCall",name:"Q{MyTypes}cardinalityRelationship",tailCall:"false",bSlot:"0",C:[{N:"check",line:"1077",card:"1",diag:"0|0||t:cardinalityRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p", +diag:"0|0||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:cardinalityRelationship",C:[{N:"data",diag:"0|0||t:cardinalityRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"o"}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||t:cardinalityRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:cardinalityRelationship",C:[{N:"data",diag:"0|1||t:cardinalityRelationship",C:[{N:"varRef", +name:"Q{}suppliedCard",slot:"5"}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"1087","var":"Q{}itemTypeOK",as:"1AB",slot:"8",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"EQ"},{N:"str",val:"GT"}]},{N:"choose",line:"1086",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"n"}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str", +val:"n"}]}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"e"}]}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"e"}]}]}]},{N:"ufCall",name:"Q{MyTypes}itemTypeRelationship",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}suppliedType",slot:"1"}]},{N:"true"},{N:"let","var":"Q{}R",as:"1AS",slot:"9",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship", +C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"10",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship", +C:[{N:"varRef",name:"Q{}suppliedItemType",slot:"4"}]}]}]}]},{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"9"},{N:"varRef",name:"Q{}S",slot:"10"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"9"},{N:"varRef",name:"Q{}S",slot:"10"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"10"},{N:"varRef",name:"Q{}R",slot:"9"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]}]}]},{N:"choose", +line:"1089",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}itemTypeOK",slot:"8"},{N:"varRef",name:"Q{}cardOK",slot:"7"}]},{N:"varRef",line:"1090",name:"Q{}expression",slot:"0"},{N:"varRef",line:"1092",name:"Q{}itemTypeOK",slot:"8"},{N:"ufCall",line:"1093",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"2",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"and",line:"1095",op:"and",C:[{N:"varRef",name:"Q{}cardOK", +slot:"7"},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}suppliedCard",slot:"5"}]},{N:"str",val:"0"}]}]},{N:"varRef",line:"1096",name:"Q{}expression",slot:"0"},{N:"fn",line:"1100",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data", +diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"str",val:"A"}]},{N:"let",line:"1106","var":"Q{}expression.1",slot:"11",C:[{N:"choose",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}suppliedItemType",slot:"4"}]}]}]}]},{N:"str",val:"A"}]},{N:"varRef", +name:"Q{}expression",slot:"0"},{N:"true"},{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"904",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"3"}]},{N:"slash",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1106",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1106",name:"Q{}expression",slot:"0"}]}]}]}, +{N:"let",line:"1112","var":"Q{}expression.2",slot:"12",C:[{N:"choose",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]},{N:"varRef",name:"Q{}expression.1",slot:"11"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cvUntyped",tailCall:"false",bSlot:"4",C:[{N:"varRef",name:"Q{}expression.1",slot:"11"},{N:"varRef",name:"Q{}requiredType", +slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]},{N:"let",line:"1118","var":"Q{}expression.3",slot:"13",C:[{N:"choose",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]},{N:"literal",count:"2",C:[{N:"str",val:"AO"},{N:"str",val:"AF"}]}]},{N:"ufCall",name:"Q{MyTypes}convert",tailCall:"false",bSlot:"5",C:[{N:"varRef",name:"Q{}expression.2",slot:"12"},{N:"varRef",name:"Q{}requiredType", +slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"true"},{N:"varRef",name:"Q{}expression.2",slot:"12"}]},{N:"let",line:"1120","var":"Q{}expression.4",as:"?NE",slot:"14",C:[{N:"let",line:"1121","var":"Q{}convertedType",as:"1FM",slot:"15",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"6",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef", +name:"Q{}expression.3",slot:"13"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"choose",line:"1122",C:[{N:"fn",line:"1123",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}convertedType",slot:"15"},{N:"str",val:"p"}]}]}]}]}]},{N:"check",card:"?",diag:"0|1||fn:starts-with",C:[{N:"convert", +from:"A",to:"AS",flags:"p",diag:"0|1||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:starts-with",C:[{N:"data",diag:"0|1||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]}]},{N:"varRef",line:"1124",name:"Q{}expression.3",slot:"13"},{N:"compareToString",line:"1126",op:"eq",val:"DJ",C:[{N:"let","var":"Q{}R",as:"1AS",slot:"16",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped", +to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}convertedType",slot:"15"},{N:"str",val:"p"}]}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"17",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]}, +{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"16"},{N:"varRef",name:"Q{}S",slot:"17"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"16"},{N:"varRef",name:"Q{}S",slot:"17"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"17"},{N:"varRef",name:"Q{}R",slot:"16"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]}]},{N:"treat",line:"1127",as:"NE",diag:"3|0|XTTE0570|expression.4", +C:[{N:"check",card:"?",diag:"3|0|XTTE0570|expression.4",C:[{N:"ufCall",name:"Q{MyTypes}type-error",tailCall:"false",bSlot:"7",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"},{N:"varRef",name:"Q{}expression",slot:"0"}]}]}]},{N:"true"},{N:"ufCall",line:"1130",name:"Q{MyTypes}treat",tailCall:"false",bSlot:"8",C:[{N:"varRef",name:"Q{}expression.3",slot:"13"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag", +slot:"3"}]}]}]},{N:"choose",line:"1139",C:[{N:"varRef",name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.4",slot:"14"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"9",C:[{N:"check",card:"1",diag:"0|0||t:cardCheck",C:[{N:"varRef",name:"Q{}expression.4",slot:"14"}]},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]}]}]}]},{N:"fn",line:"1142",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert", +from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"str",val:"F"}]},{N:"let",line:"1144","var":"Q{}expression.1",slot:"18",C:[{N:"ufCall",name:"Q{MyTypes}treat",tailCall:"false",bSlot:"10",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"choose",line:"1150",C:[{N:"varRef", +name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.1",slot:"18"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"11",C:[{N:"varRef",name:"Q{}expression.1",slot:"18"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]},{N:"true"},{N:"let",line:"1159","var":"Q{}expression.1",slot:"19",C:[{N:"choose",C:[{N:"varRef",name:"Q{}itemTypeOK",slot:"8"},{N:"varRef",name:"Q{}expression",slot:"0"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}treat", +tailCall:"false",bSlot:"12",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]},{N:"choose",line:"1165",C:[{N:"varRef",name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.1",slot:"19"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"13",C:[{N:"varRef",name:"Q{}expression.1",slot:"19"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}, +{N:"co",id:"231",binds:"",C:[{N:"function",name:"Q{MyFunctions}empty",line:"229",module:"lib.xsl",flags:"pU",as:"?NE",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"231",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis", +name:"child",nodeTest:"NE"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"\\S"},{N:"str",val:""}]}]}]}]},{N:"elem",line:"232",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"empty"}]}]}]}]},{N:"co",id:"232",binds:"233",C:[{N:"function",name:"Q{MyTypes}allowsZeroOrOne",line:"135",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"*"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"137",card:"1",diag:"5|0|XTTE0780|t:allowsZeroOrOne#1",C:[{N:"vc",op:"ne",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"arith",op:"mod",calc:"a%a",C:[{N:"cvUntyped",to:"AO",C:[{N:"atomSing",card:"?",diag:"1|0||mod",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]}]},{N:"gVarRef",name:"Q{}StaticProperty.ALLOWS_MANY",bSlot:"0"}]},{N:"int",val:"0"}]}]}]}]},{N:"co",id:"234",binds:"",C:[{N:"globalVariable",name:"Q{}nodeTypeMap",as:"1FM k[AS] v[1ADI]",line:"573",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"11",C:[{N:"str",val:"text"},{N:"int",val:"3"},{N:"str",val:"processing-instruction"}, +{N:"int",val:"7"},{N:"str",val:"document_fragment"},{N:"int",val:"11"},{N:"str",val:"namespace-node"},{N:"int",val:"13"},{N:"str",val:"document-node"},{N:"int",val:"9"},{N:"str",val:"document"},{N:"int",val:"9"},{N:"str",val:"namespace"},{N:"int",val:"13"},{N:"str",val:"attribute"},{N:"int",val:"2"},{N:"str",val:"element"},{N:"int",val:"1"},{N:"str",val:"document_type"},{N:"int",val:"10"},{N:"str",val:"comment"},{N:"int",val:"8"}]}]}]},{N:"co",id:"235",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ZERO", +as:"1ADI",line:"105",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"236",binds:"127",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"1059",module:"type.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1062",C:[{N:"ufCall", +name:"Q{MyFunctions}typeCheck",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}required",slot:"1"},{N:"str",val:"0|0||"}]}]}]}]},{N:"co",id:"237",binds:"",C:[{N:"globalVariable",name:"Q{}serialization-properties",as:"*AS",line:"21",module:"output.xsl",visibility:"PRIVATE",C:[{N:"literal",count:"22",C:[{N:"str",val:"method"},{N:"str",val:"allow-duplicate-names"},{N:"str",val:"build-tree"},{N:"str",val:"byte-order-mark"},{N:"str",val:"cdata-section-elements"}, +{N:"str",val:"doctype-public"},{N:"str",val:"doctype-system"},{N:"str",val:"encoding"},{N:"str",val:"escape-uri-attributes"},{N:"str",val:"html-version"},{N:"str",val:"include-content-type"},{N:"str",val:"indent"},{N:"str",val:"item-separator"},{N:"str",val:"json-node-output-method"},{N:"str",val:"media-type"},{N:"str",val:"normalization-form"},{N:"str",val:"omit-xml-declaration"},{N:"str",val:"parameter-document"},{N:"str",val:"standalone"},{N:"str",val:"suppress-indentation"},{N:"str",val:"undeclare-prefixes"}, +{N:"str",val:"output-version"}]}]}]},{N:"co",id:"127",binds:"238 228 239 7 118",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"975",module:"type.xsl",flags:"pU",as:"*",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"996",C:[{N:"choose",C:[{N:"fn", +name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}literal"}]}]},{N:"ufCall",name:"Q{MyFunctions}typeCheckLiteral",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"foreign",bSlot:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"choose",C:[{N:"fn",name:"exists", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}empty"}]}]},{N:"gVarRef",name:"Q{}ST.EMPTY_SEQUENCE",bSlot:"2"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"3",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS", +flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.MULTIPLE_ITEM",bSlot:"4"}]},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]}]}]}]}]},{N:"co",id:"133",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_ATOMIC",as:"1FM k[AS] v[1AS]",line:"13",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map", +size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"130",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg409114060",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn", +name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0570"},{N:"str",val:"check"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"132",binds:"1 239",C:[{N:"globalVariable",name:"Q{}SJ.EMPTY_SEQUENCE",as:"1AS",line:"44",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"44",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.EMPTY_SEQUENCE",bSlot:"1"}]}]}]},{N:"co",id:"240",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg2078175306",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join", +C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-style/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"241",binds:"",C:[{N:"function",name:"Q{MyFunctions}typeCardinality",line:"32",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"}, +{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"43",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"empty-sequence()"},{N:"str",val:"error()0"}]},{N:"varRef",name:"Q{}type",slot:"0"}]},{N:"str",val:"0"},{N:"fn",name:"matches",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"[*?+]$"},{N:"str",val:""}]},{N:"fn",name:"substring",C:[{N:"varRef", +name:"Q{}type",slot:"0"},{N:"fn",name:"string-length",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]},{N:"true"},{N:"str",val:"1"}]}]}]},{N:"co",id:"242",binds:"1 218",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_NCNAME",as:"1AS",line:"56",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"56",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_NCNAME", +bSlot:"1"}]}]}]},{N:"co",id:"144",binds:"1 137",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ITEM",as:"1AS",line:"45",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"45",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"1"}]}]}]},{N:"co",id:"243",binds:"",C:[{N:"globalVariable",name:"Q{}support-XSLT4",as:"1AB",line:"170",module:"XSLT-SEF-compiler.xsl", +visibility:"PUBLIC",flags:"s",C:[{N:"true"}]}]},{N:"co",id:"244",binds:"66 196 226 245 246 125 221 196 215 67",C:[{N:"mode",name:"Q{}compile-complete",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"373",rank:"0",minImp:"0",slots:"13",matches:"ND",flags:"s",line:"243",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"ND"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"244",C:[{N:"param",name:"Q{}options",slot:"0",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"245","var":"Q{}nsOption",as:"?AS",slot:"1",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|nsOption",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|nsOption",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|nsOption", +C:[{N:"data",diag:"3|0|XTTE0570|nsOption",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"ns"}]}]}]}]}]},{N:"let",line:"246","var":"Q{}defaultHTML5",as:"1AB",slot:"2",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}nsOption",slot:"1"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}nsOption",slot:"1"},{N:"str",val:"##html5"}]}]},{N:"let",line:"249","var":"Q{}start.time",slot:"3",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false", +bSlot:"1"},{N:"sequence",line:"252",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"timing"}]},{N:"fn",name:"exists",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}start.time",slot:"3"},{N:"int",val:"2"}]}]}]},{N:"sequence",line:"254",C:[{N:"message",C:[{N:"gVarRef",role:"select",name:"Q{http://saxon.sf.net/generated-variable}gg1965472536",bSlot:"2"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}, +{N:"message",line:"255",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Started @"},{N:"varRef",name:"Q{}start.time",slot:"3"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"let",line:"263","var":"Q{}tempFromComp",as:"1ND",slot:"4",C:[{N:"doc",line:"264",C:[{N:"applyT",mode:"Q{}compile",bSlot:"3",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}options",flags:"t",as:"1FM",C:[{N:"varRef",line:"265", +name:"Q{}options",slot:"0"}]},{N:"withParam",name:"Q{}params",flags:"t",as:"1FM k[AQ]",C:[{N:"gVarRef",line:"267",name:"Q{}staticParameters",bSlot:"4"}]},{N:"withParam",name:"Q{}defaultHTML5",flags:"t",as:"1AB",C:[{N:"varRef",line:"268",name:"Q{}defaultHTML5",slot:"2"}]}]}]},{N:"sequence",line:"272",C:[{N:"choose",C:[{N:"or",line:"273",op:"or",C:[{N:"or",op:"or",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"justStatic"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"}, +{N:"str",val:"justNormalize"}]}]},{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"noXPath"}]}]},{N:"varRef",line:"274",name:"Q{}tempFromComp",slot:"4"},{N:"true"},{N:"sequence",line:"277",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"statistics"}]},{N:"message",line:"278",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"XPath statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}]}]},{N:"str",val:" components\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}, +{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute", +nodeTest:"NA"}]}]}]},{N:"str",val:" attributes\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"}]}]}]},{N:"str",val:" XPath expressions\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant", +nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"}]}]}]},{N:"str",val:" patterns "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"284",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"289",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting XPath compiling:"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp", +slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"}]}]},{N:"str",val:"expressions"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"}]}]},{N:"str",val:"patterns"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"291","var":"Q{}temp",as:"1ND", +slot:"5",C:[{N:"doc",line:"292",C:[{N:"applyT",mode:"Q{}process-xpath",bSlot:"5",C:[{N:"varRef",role:"select",name:"Q{}tempFromComp",slot:"4"},{N:"withParam",name:"Q{}options",flags:"t",as:"1FM",C:[{N:"varRef",line:"293",name:"Q{}options",slot:"0"}]},{N:"withParam",name:"Q{}defaultHTML5",flags:"t",as:"1AB",C:[{N:"varRef",line:"295",name:"Q{}defaultHTML5",slot:"2"}]}]}]},{N:"sequence",line:"298",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"statistics"}]},{N:"message", +line:"299",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Final statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}]}]},{N:"str",val:" components\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2", +C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child", +nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"str",val:" attributes\n "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"303",C:[{N:"lookup",line:"304",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"noBindings"}]},{N:"varRef",line:"305", +name:"Q{}temp",slot:"5"},{N:"true"},{N:"sequence",line:"308",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"309",C:[{N:"str",role:"select",val:"Starting Component binding"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"311",mode:"Q{}process-bindings",bSlot:"6",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"5"},{N:"withParam",name:"Q{}options", +flags:"t",as:"1FM",C:[{N:"varRef",line:"313",name:"Q{}options",slot:"0"}]}]}]}]}]}]}]}]},{N:"let",line:"320","var":"Q{}duration",as:"1AR",slot:"6",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|duration",C:[{N:"arith",op:"-",calc:"t-t",C:[{N:"ufCall",line:"319",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"7"},{N:"check",card:"?",diag:"1|1||-",C:[{N:"varRef",name:"Q{}start.time",slot:"3"}]}]}]},{N:"sequence",line:"321",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", +val:"timing"}]},{N:"message",line:"330",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Stylesheet compilation time:"},{N:"let","var":"Q{}h",slot:"7",C:[{N:"fn",name:"hours-from-duration",C:[{N:"varRef",name:"Q{}duration",slot:"6"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"8",flags:"l",C:[{N:"compareToInt",op:"ne",val:"0",C:[{N:"varRef",name:"Q{}h",slot:"7"}]},{N:"let","var":"Q{}m",slot:"9",C:[{N:"fn",name:"minutes-from-duration",C:[{N:"varRef",name:"Q{}duration", +slot:"6"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"10",flags:"l",C:[{N:"compareToInt",op:"ne",val:"0",C:[{N:"varRef",name:"Q{}m",slot:"9"}]},{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"filter",flags:"ib",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}h",slot:"7"},{N:"str",val:"h"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]},{N:"filter",flags:"ib",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}m",slot:"9"},{N:"str",val:"m"}]}, +{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"10"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"seconds-from-duration",C:[{N:"varRef",name:"Q{}duration",slot:"6"}]},{N:"str",val:"s"}]}]},{N:"str",val:" "}]}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"333","var":"Q{}errorCount",slot:"11",C:[{N:"ufCall",name:"Q{MyFunctions}message-count",tailCall:"false",bSlot:"8",C:[{N:"gVarRef",name:"Q{}XTSE0010", +bSlot:"9"}]},{N:"choose",line:"334",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"let",line:"335","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"12",flags:"l",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"str",val:" error"},{N:"fn",name:"string", +C:[{N:"filter",flags:"ib",C:[{N:"str",val:"s"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"12"}]}]},{N:"str",val:" during compilation"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"247",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.EMPTY",as:"1ADI",line:"111",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"248",binds:"", +C:[{N:"globalVariable",name:"Q{}COMPILE_GLOBAL",as:"1AB",line:"104",module:"xpath.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"191",binds:"22",C:[{N:"function",name:"Q{MyFunctions}make-namespace-alias-map",line:"1873",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*",slots:"8",C:[{N:"arg",name:"Q{}root",as:"1NE"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1880",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"slash",role:"select",line:"1880",simple:"1",C:[{N:"varRef",name:"Q{}root",slot:"0"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"let",role:"key",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}prefix",as:"1AS",slot:"6",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +card:"1",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"attVal",name:"Q{}stylesheet-prefix"}]}]}]},{N:"let","var":"Q{}element",as:"1NE",slot:"7",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"},{N:"choose",module:"namespaces.xsl",line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"6"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"7"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"6"},{N:"varRef",name:"Q{}element",slot:"7"}]}]}]}]}, +{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"1883","var":"Q{}highest-precedence",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|highest-precedence",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"let",line:"1885","var":"Q{}active-declarations",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias", +slot:"2",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active-declarations",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"1"}]}]}]},{N:"let",line:"1887","var":"Q{}result-uris",slot:"3",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}active-declarations",slot:"2"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +"var":"Q{}prefix",as:"1AS",slot:"4",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"attVal",name:"Q{}result-prefix"}]}]}]}, +{N:"let","var":"Q{}element",as:"1NE",slot:"5",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"},{N:"choose",module:"namespaces.xsl",line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix", +C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"5"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"4"},{N:"varRef",name:"Q{}element",slot:"5"}]}]}]}]}]},{N:"sequence",line:"1889",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"varRef",name:"Q{}result-uris",slot:"3"}]}]}]},{N:"ufCall",line:"1892",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str", +val:"XTSE0810"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple conflicting declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" for namespace "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]},{N:"ifCall",line:"1896",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check", +card:"1",diag:"0|0||map:entry",C:[{N:"currentGroupingKey"}]},{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}active-declarations",slot:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}result-prefix"}]}]},{N:"lastOf",C:[{N:"varRef",name:"Q{}result-uris",slot:"3"}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"249",binds:"52", +C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1733439693",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind", +bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:remove-property/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"250",binds:"",C:[{N:"globalVariable",name:"Q{}errorsAsMessages",as:"1AB",line:"187",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"44",binds:"36 37",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg438493423",as:"+AU",line:"21",module:"sorting.xsl", +visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"0"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation",bSlot:"1"}]}]}]},{N:"co",id:"251",vis:"PUBLIC",binds:"252 253 208 98 208 98 254 255 255 198 252 253 252 253 22 22",C:[{N:"function",name:"Q{MyFunctions}parse-value-template", +line:"51",module:"XSLT-value-template.xsl",flags:"pU",as:"*NA",slots:"13",C:[{N:"arg",name:"Q{}in",as:"1AS"},{N:"arg",name:"Q{}location",as:"1N"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation f=MyFunctions xs=~ xsl=~ xml=~",line:"55","var":"Q{}codepoints-in",as:"*ADI",slot:"9",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"varRef",name:"Q{}in",slot:"0"}]},{N:"treat",line:"56",as:"NA",diag:"5|0|XTTE0780|f:parse-value-template#2",C:[{N:"iterate",C:[{N:"to",role:"select",C:[{N:"int", +val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"}]}]},{N:"params",role:"params",line:"57",C:[{N:"param",name:"Q{}in-expression",slot:"2",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-expression",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|in-expression",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-expression",C:[{N:"data",diag:"8|0|XTTE0590|in-expression",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"58",name:"Q{}comment-depth", +slot:"3",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|comment-depth",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|comment-depth",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|comment-depth",C:[{N:"data",diag:"8|0|XTTE0590|comment-depth",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"59",name:"Q{}in-single-quotes",slot:"4",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"check", +card:"1",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"data",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"supplied",slot:"4"}]}]}]}]}]},{N:"param",line:"60",name:"Q{}in-double-quotes",slot:"5",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"data", +diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"supplied",slot:"5"}]}]}]}]}]},{N:"param",line:"61",name:"Q{}brace-depth",slot:"6",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|brace-depth",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|brace-depth",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|brace-depth",C:[{N:"data",diag:"8|0|XTTE0590|brace-depth",C:[{N:"supplied",slot:"6"}]}]}]}]}]},{N:"param",line:"62",name:"Q{}start-of-part",slot:"7",as:"1ADI", +C:[{N:"int",role:"select",val:"1"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|start-of-part",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|start-of-part",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|start-of-part",C:[{N:"data",diag:"8|0|XTTE0590|start-of-part",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"param",line:"63",name:"Q{}skip-char",slot:"8",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|skip-char",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|skip-char", +C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|skip-char",C:[{N:"data",diag:"8|0|XTTE0590|skip-char",C:[{N:"supplied",slot:"8"}]}]}]}]}]}]},{N:"choose",role:"on-completion",line:"65",C:[{N:"varRef",line:"66",name:"Q{}in-expression",slot:"2"},{N:"ufCall",line:"67",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE0350"},{N:"fn",name:"concat",C:[{N:"str",val:"Missing closing brace after expression:"},{N:"varRef",name:"Q{}in",slot:"0"}]},{N:"varRef",name:"Q{}location", +slot:"1"}]},{N:"vc",line:"69",op:"le",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"}]}]},{N:"att",line:"26",name:"literal",C:[{N:"fn",line:"76",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"}]},{N:"str",val:"{{"},{N:"str",val:"{"},{N:"str",val:"q"}]},{N:"str",val:"}}"},{N:"str",val:"}"},{N:"str",val:"q"}]}]}]}, +{N:"let",role:"action",line:"80","var":"Q{}i",as:"1ADI",slot:"10",C:[{N:"dot",type:"1ADI"},{N:"let",line:"81","var":"Q{}c1",as:"*ADI",slot:"11",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"},{N:"varRef",name:"Q{}i",slot:"10"}]},{N:"let",line:"82","var":"Q{}c2",as:"*ADI",slot:"12",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"},{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]},{N:"choose",line:"84",C:[{N:"varRef",name:"Q{}skip-char", +slot:"8"},{N:"nextIteration",line:"85",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"false"}]}]},{N:"varRef",line:"89",name:"Q{}in-expression",slot:"2"},{N:"choose",line:"90",C:[{N:"and",line:"91",op:"and",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}APOS",bSlot:"2"}]}]},{N:"nextIteration",line:"92",C:[{N:"withParam",name:"Q{}in-single-quotes",as:"1AB",slot:"4",C:[{N:"false"}]}]}, +{N:"and",line:"96",op:"and",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}QUOT",bSlot:"3"}]}]},{N:"nextIteration",line:"97",C:[{N:"withParam",name:"Q{}in-double-quotes",as:"1AB",slot:"5",C:[{N:"false"}]}]},{N:"and",line:"101",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}APOS",bSlot:"4"}]},{N:"compareToInt", +op:"eq",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"nextIteration",line:"102",C:[{N:"withParam",name:"Q{}in-single-quotes",as:"1AB",slot:"4",C:[{N:"true"}]}]},{N:"and",line:"106",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}QUOT",bSlot:"5"}]},{N:"compareToInt",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}comment-depth", +slot:"3"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]}]},{N:"nextIteration",line:"107",C:[{N:"withParam",name:"Q{}in-double-quotes",as:"1AB",slot:"5",C:[{N:"true"}]}]},{N:"and",line:"111",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LPAREN",bSlot:"6"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}COLON",bSlot:"7"}]}]},{N:"and", +op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]}]},{N:"nextIteration",line:"112",C:[{N:"withParam",name:"Q{}comment-depth",as:"1ADI",slot:"3",C:[{N:"arith",line:"113",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"},{N:"int",val:"1"}]}]},{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"and",line:"117",op:"and",C:[{N:"and",op:"and",C:[{N:"compareToInt", +op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}COLON",bSlot:"8"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}RPAREN",bSlot:"9"}]}]},{N:"nextIteration",line:"118",C:[{N:"withParam",name:"Q{}comment-depth",as:"1ADI",slot:"3",C:[{N:"arith",line:"119",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"},{N:"int", +val:"1"}]}]},{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"and",line:"123",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"10"}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"fn",name:"not",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth", +slot:"3"}]}]}]}]},{N:"nextIteration",line:"124",C:[{N:"withParam",name:"Q{}brace-depth",as:"1ADI",slot:"6",C:[{N:"arith",line:"125",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"},{N:"int",val:"1"}]}]}]},{N:"and",line:"128",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}RBRACE",bSlot:"11"}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not", +C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"fn",name:"not",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]}]}]}]},{N:"choose",line:"129",C:[{N:"compareToInt",line:"130",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"}]},{N:"sequence",line:"134",C:[{N:"att",line:"32",name:"expression",C:[{N:"fn",line:"134",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"arith",op:"-",calc:"i-i", +C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"varRef",name:"Q{}start-of-part",slot:"7"}]}]}]},{N:"nextIteration",line:"135",C:[{N:"withParam",name:"Q{}in-expression",as:"1AB",slot:"2",C:[{N:"false"}]},{N:"withParam",name:"Q{}start-of-part",as:"1ADI",slot:"7",C:[{N:"arith",line:"137",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]}]}]},{N:"true"},{N:"nextIteration",line:"141",C:[{N:"withParam",name:"Q{}brace-depth",as:"1ADI",slot:"6",C:[{N:"fn",line:"142",name:"max",C:[{N:"sequence", +C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"},{N:"int",val:"1"}]},{N:"int",val:"0"}]}]}]}]}]}]},{N:"vc",line:"151",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"0"}]},{N:"choose",line:"152",C:[{N:"vc",line:"153",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"12"}]},{N:"nextIteration",line:"154",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8", +C:[{N:"true"}]}]},{N:"true"},{N:"sequence",line:"159",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"varRef",name:"Q{}i",slot:"10"}]},{N:"att",line:"26",name:"literal",C:[{N:"fn",line:"166",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"varRef",name:"Q{}start-of-part", +slot:"7"}]}]},{N:"str",val:"{{"},{N:"str",val:"{"},{N:"str",val:"q"}]},{N:"str",val:"}}"},{N:"str",val:"}"},{N:"str",val:"q"}]}]}]},{N:"nextIteration",line:"168",C:[{N:"withParam",name:"Q{}in-expression",as:"1AB",slot:"2",C:[{N:"true"}]},{N:"withParam",name:"Q{}start-of-part",as:"1ADI",slot:"7",C:[{N:"arith",line:"170",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]}]}]}]},{N:"vc",line:"175",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef", +name:"Q{}RBRACE",bSlot:"1"}]},{N:"choose",line:"176",C:[{N:"vc",line:"177",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}RBRACE",bSlot:"13"}]},{N:"nextIteration",line:"178",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"true"},{N:"ufCall",line:"183",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE0370"},{N:"str",val:"Closing brace must be doubled"},{N:"varRef",name:"Q{}location",slot:"1"}]}]}]}]}]}]}]}]}]}]}]}, +{N:"co",id:"84",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_COMMENT",as:"1FM k[AS] v[1AS]",line:"37",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NC"}]}]}]},{N:"co",id:"256",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_TEXT",as:"1FM k[AS] v[1AS]",line:"33",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NT"}]}]}]}, +{N:"co",id:"257",binds:"",C:[{N:"function",name:"Q{MyTypes}isNumericType",line:"441",module:"type.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"443","var":"Q{}alphaCode",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"0|0||t:isNumeric",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:isNumeric",C:[{N:"cvUntyped", +to:"AS",diag:"0|0||t:isNumeric",C:[{N:"data",diag:"0|0||t:isNumeric",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"base"}]}]}]}]}]},{N:"or",line:"438",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AF"}]}]}]}]}]},{N:"co", +id:"174",binds:"",C:[{N:"function",name:"Q{MyFunctions}xseq",line:"696",module:"static.xsl",flags:"pmU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"698",name:"concat",C:[{N:"str",val:"Q{http://www.w3.org/2001/XMLSchema}"},{N:"varRef",name:"Q{}type",slot:"0"}]}]}]},{N:"co",id:"18",binds:"38 199 1 49 141 28 132 16 78 79 78 79 28 149 18 132 28 16 132 16 78 79 17 78 19 126 28 28 16 16 19 16 19 15 77 258 15 79 28 149 249 126 28 16 77 78 79 132 28 18 237 10 32 78 79 237 78 79 237 78 19 79 16 180 28 19 28 19 28 15 197 150 259 19 260 28 149 79 79 79 48 141 260 22 141 28 19 28 149 261 16 15 16 15 19 16 152 28 141 262 263 152 38 28 16 79 77 77 19 79 15 28 149 240 264 43 48 28 16 77 77 258 265 22 28 164 126 48 124 15 22 1 126 38 38 22 39 22 28 15 79 164 22 22 28 22 15 79 48 1 7 85 28 16 16 16 16 16 150 79 15 19 28 149 266 267 126 28 22 17 15 15 177 150 79 259 177 259 268 16 269 28 149 259 48 269 48 22 141 28 259 139 16 15 17 28 19 16 28 15 164 16 16 22 16 16 48 28 18 16 19 79 164 263 152 16 28 77 78 79 19 15 28 149 113 263 28 16 270 22 22 19 79 15 48 28 15 262 28 141 259 43 48 172 172 172 7 85 7 1 1 1 28 19 79 258 265 28 15 126 48 262 22 22 271 22 22 22 16 121 78 79 78 79 19 83 259 22 272 269 150 172 273 78 79 78 79 16 150 262", +C:[{N:"mode",name:"Q{}sef",onNo:"SC",flags:"W",patternSlots:"1",C:[{N:"templateRule",prec:"0",prio:"5.01",seq:"328",rank:"17",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"25",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"25",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"26",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"27",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"31",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}xpath-default-namespace",flags:"t",as:"1NA",C:[{N:"att",line:"29",name:"xpath-default-namespace",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"5.0",seq:"323",rank:"16",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", +test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param", +name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"20",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"22",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6", +seq:"363",rank:"15",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"143",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"145",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode", +flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"358",rank:"14",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100", +module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"102",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"104",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"354",rank:"13",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"94",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA", +C:[{N:"varRef",line:"96",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"351",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"80",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"82",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0", +prio:"3.1",seq:"348",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"73",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"75",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation", +flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"343",rank:"11",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"59",flags:"t", +C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"62",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"339",rank:"10",minImp:"0",slots:"1",matches:"NE",flags:"s", +line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"51",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"53",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03",seq:"335",rank:"9",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"43",flags:"t", +C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"45",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"331",rank:"8",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"36",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"38",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"227",rank:"6",minImp:"0",slots:"4",matches:"NE",flags:"s",line:"448",module:"creating-new-nodes.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"448",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"448",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"449",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"450",name:"Q{}static-context",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"456","var":"Q{}version",as:"?AD", +slot:"2",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"true"},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"nextMatch",line:"457",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"458",name:"Q{}attr", +slot:"0"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM",C:[{N:"ifCall",line:"463",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"2"},{N:"dec",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}static-context",slot:"1"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}xsl-version", +flags:"t",as:"?AD",C:[{N:"varRef",line:"464",name:"Q{}version",slot:"2"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"465",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"2"},{N:"dec",val:"2"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"175",rank:"3",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"161",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"161",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"162",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", +as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"164","var":"Q{}temp",as:"*NE",slot:"1",C:[{N:"treat",line:"165",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"166",name:"Q{}attr",slot:"0"}]}]}]},{N:"applyT",line:"169",mode:"Q{}on-empty",flags:"t",bSlot:"1",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"1"},{N:"withParam",name:"Q{}element.attributes",flags:"t",as:"*AS",C:[{N:"choose",line:"176", +C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"1"},{N:"axis",name:"self",nodeTest:"NE n*:elem"}]}]},{N:"slash",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"229",rank:"0",minImp:"0",slots:"11",matches:"NE",flags:"s",as:"1NE",line:"470",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"471",card:"1",diag:'7|0|XTTE0505|match="*" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"472",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied", +slot:"1"}]}]}]},{N:"param",line:"473",name:"Q{}static-context",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"let",line:"474","var":"Q{}namespace-aliases",as:"?FM",slot:"3",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"namespace-aliases"}]}]}]},{N:"let",line:"481","var":"Q{}element-name",as:"1AQ", +slot:"4",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]},{N:"let","var":"Q{}original-name",as:"1AQ",slot:"5",C:[{N:"check",card:"1",diag:"0|0||f:map-aliased-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let","var":"Q{}namespace-aliases",as:"1FM",slot:"6",C:[{N:"check",card:"1",diag:"0|1||f:map-aliased-name",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]},{N:"let",line:"544","var":"Q{}original-uri",as:"1AU",slot:"7", +C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"5"}]},{N:"let",line:"547","var":"Q{}new-uri",as:"1AS",slot:"8",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"6"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]}]},{N:"convert",line:"548",from:"AU", +to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", +name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]},{N:"int",val:"2"}]}]}]}]}]}]},{N:"choose",line:"556",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"7"},{N:"varRef",name:"Q{}new-uri",slot:"8"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"5"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"9",C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", +name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]},{N:"fn",line:"567",name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"8"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"9"}]},{N:"str",val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat", +C:[{N:"varRef",name:"Q{}prefix",slot:"9"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"5"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"3|0|XTTE0570|element-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"491",name:"elem",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}element-name", +slot:"4"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"2",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"n"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"creating-new-nodes.xsl",line:"491",name:"Q{}element-name",slot:"4"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"creating-new-nodes.xsl",line:"491",name:"Q{}element-name",slot:"4"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"att",name:"nsuri",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}element-name",slot:"4"}]}]}]},{N:"att",name:"namespaces",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}record-namespaces",tailCall:"false",bSlot:"3", +C:[{N:"dot",type:"1NE",flags:"a"},{N:"sequence",line:"486",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}exclude"}]}]}]}]},{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|excluded-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|excluded-namespaces",C:[{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]}]}]}]},{N:"str",val:"http://www.w3.org/1999/XSL/Transform"}]}]}]},{N:"applyT",line:"492",mode:"Q{}attribute-sans-prefix",bSlot:"4",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"choose",line:"493",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"494",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"forEach",line:"496",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}, +{N:"att",line:"497",name:"defaultElementNS",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]},{N:"forEach",line:"499",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"},{N:"att",line:"500",name:"defaultCollation",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]}]}]}]}, +{N:"let",line:"502","var":"Q{}default-collation",as:"?NA",slot:"10",C:[{N:"choose",line:"503",C:[{N:"fn",line:"504",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]},{N:"att",line:"505",name:"defaultCollation",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]}]}]},{N:"true"},{N:"varRef",line:"508",name:"Q{}default-collation",slot:"1"}]}, +{N:"sequence",line:"512",C:[{N:"except",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"callT",line:"513",name:"Q{}record-location",bSlot:"5"},{N:"choose",line:"514",C:[{N:"and",line:"515",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"516",name:"empty", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"and",line:"518",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"519",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"},{N:"withParam",name:"Q{}default-collation",flags:"t", +as:"?NA",C:[{N:"varRef",line:"520",name:"Q{}default-collation",slot:"10"}]}]},{N:"true"},{N:"elem",line:"524",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"525",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets"}]},{N:"applyT",line:"529",flags:"c",bSlot:"-1",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}, +{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets,NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation],NA nQ{http://ns.saxonica.com/xslt/export}*]]"}]}]},{N:"applyT",line:"530",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA",C:[{N:"varRef",line:"531",name:"Q{}default-collation",slot:"10"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"0.0",seq:"378",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}message",flags:"s",line:"1561",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}message"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1562",C:[{N:"param", +name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"1563",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"1564",name:"Q{}default-collation", +slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"1566",name:"message",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"6"}]},{N:"att",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"XSLT-SEF-compiler.xsl", +line:"1565",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}message",flags:"a"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}]},{N:"varRef",line:"1568",name:"Q{}attr",slot:"0"},{N:"elem",line:"1569",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"applyT",line:"1570",mode:"Q{}create.xpath",bSlot:"7",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"1571",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]},{N:"callT",line:"1573",name:"Q{MyFunctions}AVT",bSlot:"8",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}terminate",C:[{N:"axis",line:"1574",name:"attribute",nodeTest:"NA nQ{}terminate"}]}, +{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"false"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"1576",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"9"},{N:"str",val:"terminate"}]}]}]}]}]},{N:"callT",line:"1578",name:"Q{MyFunctions}AVT",bSlot:"10",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}error-code",C:[{N:"axis",line:"1579",name:"attribute", +nodeTest:"NA nQ{}error-code"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"1582",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"11"},{N:"str",val:"error"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"389",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}output", +flags:"s",line:"1716",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"372",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"s",line:"99",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +line:"100",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"101",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}schedule-action"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"102",name:"Q{}attr", +slot:"0"},{N:"callT",line:"103",name:"Q{}record-location",bSlot:"12"},{N:"elem",line:"104",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}wait"},{N:"str",val:"0"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS", +C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"a"},{N:"treat",module:"lib.xsl", +line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"2",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", +C:[{N:"varRef",name:"Q{}node",slot:"1"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"2"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"1"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"2"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"forEach",line:"105",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}document"},{N:"callT",line:"106",name:"Q{}role-value-template",bSlot:"13"}]}, +{N:"choose",line:"108",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}document"}]},{N:"elem",line:"109",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"empty"}]}]},{N:"applyT",line:"111",mode:"Q{}sef",flags:"i",bSlot:"14",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]},{N:"choose",line:"112",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}http-request"}]},{N:"elem",line:"113",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}http-request"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"4",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"3"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"4"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"3"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"4"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"171",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}assert",flags:"s",line:"104",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}assert"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"105",C:[{N:"param",name:"Q{}options",slot:"0",flags:"tr", +as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"106",name:"Q{}compiler.options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|compiler.options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|compiler.options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"107",name:"Q{}attr",slot:"2",as:"*NA",C:[{N:"empty", +role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"108",C:[{N:"or",line:"109",op:"or",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"enable-assertions"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}compiler.options",slot:"1"},{N:"str",val:"enable-assertions"}]}]},{N:"elem",line:"111",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef", +name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"15"}]},{N:"att",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"conditionals.xsl",line:"110",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}assert",flags:"a"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}]},{N:"varRef",line:"112",name:"Q{}attr",slot:"2"},{N:"callT",line:"113",name:"Q{}record-location",bSlot:"16"}, +{N:"applyT",line:"114",mode:"Q{}create.xpath",bSlot:"17",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"elem",line:"115",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"116",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"117",name:"message",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE", +bSlot:"18"}]},{N:"elem",line:"118",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"applyT",line:"119",mode:"Q{}create.xpath",bSlot:"19",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"120",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]},{N:"elem",line:"122",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", +C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"terminate"}]}]},{N:"callT",line:"123",name:"Q{MyFunctions}AVT",bSlot:"20",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}error-code",C:[{N:"axis",line:"124",name:"attribute",nodeTest:"NA nQ{}error-code"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9001"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"126",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check", +card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"21"},{N:"str",val:"error"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"elem",line:"132",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"270",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}map",flags:"s",line:"14",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}map"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"15",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"16",name:"MAP",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"17",C:[{N:"varRef", +name:"Q{}attr",slot:"0"},{N:"elem",line:"18",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"19",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"263",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}source-document",flags:"s",line:"17",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}source-document"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"18",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"19",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"20",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"21",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"elem",line:"22",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"doc"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT", +bSlot:"22"}]},{N:"choose",line:"23",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"24",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}source-document",flags:"a"},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}, +{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"callT",line:"26",name:"Q{MyFunctions}AVT",bSlot:"23",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}href",C:[{N:"axis",line:"27",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]}]},{N:"callT",line:"30",name:"Q{}sequence-constructor",bSlot:"24"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"154",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-match",flags:"s",line:"190", +module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-match"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"191",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem", +line:"192",name:"nextMatch",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"25"}]},{N:"varRef",line:"193",name:"Q{}attr",slot:"0"},{N:"callT",line:"194",name:"Q{}record-location",bSlot:"26"},{N:"applyT",line:"195",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"170",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}if", +flags:"s",line:"68",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}if"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check", +card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"71",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"72",C:[{N:"varRef",name:"Q{}attr",slot:"1"},{N:"callT",line:"73",name:"Q{}record-location",bSlot:"27"},{N:"applyT",line:"74",mode:"Q{}create.xpath", +bSlot:"28",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"choose",line:"75",C:[{N:"and",line:"76",op:"and",C:[{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}then,NA nQ{}else]"}]}]},{N:"sequence", +line:"77",C:[{N:"choose",C:[{N:"fn",line:"78",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}then"}]},{N:"applyT",line:"79",mode:"Q{}create.xpath",bSlot:"29",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}then"}]},{N:"true"},{N:"callT",line:"82",name:"Q{}sequence-constructor",bSlot:"30"}]},{N:"elem",line:"85",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"choose",line:"86",C:[{N:"fn",line:"87",name:"exists",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}else"}]},{N:"applyT",line:"88",mode:"Q{}create.xpath",bSlot:"31",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}else"}]},{N:"true"},{N:"elem",line:"91",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]},{N:"true"},{N:"sequence",line:"96",C:[{N:"callT",name:"Q{}sequence-constructor",bSlot:"32"},{N:"elem",line:"97",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"98",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"182",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"s",line:"241",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"242",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"243","var":"Q{}context",as:"1",slot:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"a"},{N:"let",line:"244","var":"Q{}errors",as:"*AS",slot:"2",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}errors"},{N:"str",val:"*"}]}]}]}]}]}]}]},{N:"elem",line:"245",name:"catch",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"err",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}errors",slot:"2"},{N:"str",val:" "}]}]},{N:"att",line:"246",name:"errors",flags:"l",C:[{N:"fn",line:"247", +name:"string-join",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}errors",slot:"2"},{N:"choose",line:"248",C:[{N:"or",line:"249",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"dot",type:"1AS"}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"*:"}]}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"Q{"}]}]},{N:"dot",line:"250",type:"1AS"},{N:"fn",line:"252",name:"ends-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"}*"}]},{N:"fn",line:"253",name:"replace", +C:[{N:"let","var":"Q{}qname",as:"1AQ",slot:"3",C:[{N:"fn",name:"resolve-QName",C:[{N:"fn",name:"replace",C:[{N:"dot",type:"1AS"},{N:"str",val:"*$"},{N:"str",val:"Z"},{N:"str",val:""}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"fn",module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"3"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef", +name:"Q{}qname",slot:"3"}]}]}]},{N:"str",val:"Z$"},{N:"str",val:"*"},{N:"str",val:""}]},{N:"true"},{N:"let",line:"256","var":"Q{}qname",as:"1AQ",slot:"4",C:[{N:"fn",name:"resolve-QName",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"fn",module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"4"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName", +C:[{N:"varRef",name:"Q{}qname",slot:"4"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"varRef",line:"274",name:"Q{}attr",slot:"0"},{N:"applyT",line:"275",mode:"Q{}select.or.sequence",bSlot:"33",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"252",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key",flags:"s",line:"46",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match", +test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",name:"Q{}make-sort-key",bSlot:"34",flags:"t"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"377",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback",flags:"s",line:"1555",module:"XSLT-SEF-compiler.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"163",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"s",line:"171",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"172",C:[{N:"ufCall",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"35",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"a"}]},{N:"applyT",line:"173",mode:"Q{}select.or.sequence",flags:"t",bSlot:"36",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"174",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"37"},{N:"str",val:"on-completion"}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"0.0",seq:"369",rank:"1",minImp:"0",slots:"4",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property",flags:"s",line:"48",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"49",C:[{N:"param",name:"Q{}xpath-default-namespace", +slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"50",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"51",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d", +namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}remove-property"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"52",name:"Q{}attr",slot:"1"},{N:"callT",line:"53",name:"Q{}record-location",bSlot:"38"},{N:"forEach",line:"54",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"55",name:"Q{}role-value-template",bSlot:"39"}]},{N:"elem",line:"58",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"ixsl:window()"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data", +diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash", +C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1733439693",bSlot:"40"}]}]}]}]},{N:"varRef",line:"59",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"151",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates", +flags:"s",line:"115",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"116",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", +slot:"0"}]}]},{N:"param",line:"117",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"118",name:"Q{}default-mode",slot:"2",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"elem",line:"119",name:"applyT",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"41"}]},{N:"callT",line:"120",name:"Q{}record-location",bSlot:"42"},{N:"applyT",line:"121",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}mode"}]}, +{N:"choose",line:"122",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"}]}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"},{N:"str",val:"#unnamed"}]}]},{N:"att",line:"123",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"}]}]},{N:"varRef",line:"125",name:"Q{}attr",slot:"0"},{N:"let",line:"126","var":"Q{}source", +as:"*NE",slot:"3",C:[{N:"choose",line:"127",C:[{N:"fn",line:"128",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"elem",line:"129",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"str",val:"node()"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates", +flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number", +type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"defaultedSelect",flags:"l",C:[{N:"str",val:""}]}]}]},{N:"true"},{N:"treat",line:"132",as:"NE",diag:"3|0|XTTE0570|source", +C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"43",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"sequence",line:"136",C:[{N:"choose",C:[{N:"fn",line:"137",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"138",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"varRef",line:"139",name:"Q{}source",slot:"3"}, +{N:"forEach",line:"140",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"141",name:"Q{}make-sort-key",bSlot:"44"}]}]}]},{N:"true"},{N:"varRef",line:"146",name:"Q{}source",slot:"3"}]},{N:"choose",line:"149",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt", +C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]}]},{N:"callT",line:"150",name:"Q{MyFunctions}AVT",bSlot:"45",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}separator",C:[{N:"axis",line:"151",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"152",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef", +name:"Q{}roles",bSlot:"46"},{N:"str",val:"separator"}]}]}]}]}]}]},{N:"applyT",line:"171",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"203",rank:"1",minImp:"0",slots:"12",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document",flags:"s",line:"23",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"24",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"25",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"26",name:"resultDoc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"47"}]},{N:"varRef",line:"27",name:"Q{}attr",slot:"0"},{N:"callT",line:"28",name:"Q{}record-location",bSlot:"48"},{N:"applyT",line:"29",mode:"Q{}sef",bSlot:"49",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}, +{N:"let",line:"31","var":"Q{}local-fixed-properties",as:"1FM k[AS]",slot:"2",C:[{N:"ifCall",line:"33",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"union",op:"|",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"50"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"{"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]},{N:"ifCall",line:"35",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"output-version",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:"version"},{N:"true"}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"applyT",line:"36",mode:"Q{}normalize-serialization-property",bSlot:"51",C:[{N:"dot",role:"select",type:"1NA"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"41",C:[{N:"att",name:"local",flags:"l",C:[{N:"let","var":"Q{}map",as:"1FM",slot:"3",C:[{N:"varRef",name:"Q{}local-fixed-properties",slot:"2"},{N:"convert",line:"196",from:"AZ", +to:"AS",flags:"p",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}map",slot:"3"}]},{N:"let",line:"197","var":"Q{}value",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"varRef",name:"Q{}map",slot:"3"},{N:"dot",type:"1A"}]},{N:"valueOf",line:"199",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"choose",line:"198",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"item-separator"}]},{N:"fn",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"check", +card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"4"}]}]}]}]},{N:"str",val:"%"},{N:"str",val:"%%"},{N:"str",val:""}]},{N:"str",val:"\n"},{N:"str",val:"%n"},{N:"str",val:""}]},{N:"true"},{N:"varRef",line:"199",name:"Q{}value",slot:"4"}]}]}]},{N:"str",val:"\n"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]},{N:"let",line:"44","var":"Q{}formatExpr", +as:"?NE",slot:"5",C:[{N:"choose",line:"45",C:[{N:"fn",line:"46",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"empty"},{N:"castable",line:"47",flags:"a",as:"1ASNTN",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]}]},{N:"elem",line:"48",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"format"}]},{N:"att",name:"val",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName", +tailCall:"false",bSlot:"52",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}result-document",flags:"a"},{N:"str",val:"XTSE0010"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]}]}]},{N:"true"},{N:"callT",line:"54",name:"Q{MyFunctions}AVT", +bSlot:"53",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}format",C:[{N:"axis",line:"55",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"56",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"54"},{N:"str",val:"format"}]}]}]}]}]}]},{N:"let",line:"62","var":"Q{}decl",as:"?NE nQ{http://ns.saxonica.com/xslt/export}output",slot:"6",C:[{N:"choose", +line:"64",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"let",line:"65","var":"Q{}formatName",as:"?NA",slot:"7",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]},{N:"let",line:"66","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"8",flags:"l",C:[{N:"data",diag:"1|1||eq",C:[{N:"varRef", +name:"Q{}formatName",slot:"7"}]},{N:"treat",as:"NE nQ{http://ns.saxonica.com/xslt/export}output",diag:"3|0|XTTE0570|decl",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|decl",C:[{N:"filter",flags:"",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"output-declarations"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"attVal",name:"Q{}name"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]}]}]}]}]}]}, +{N:"fn",line:"68",name:"empty",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"}]},{N:"treat",line:"69",as:"NE nQ{http://ns.saxonica.com/xslt/export}output",diag:"3|0|XTTE0570|decl",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|decl",C:[{N:"filter",flags:"b",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"output-declarations"}]},{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]}, +{N:"sequence",line:"75",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}decl",slot:"6"}]},{N:"att",line:"83",name:"global",flags:"l",C:[{N:"let",line:"78","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"+AS",slot:"9",flags:"l",C:[{N:"sequence",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"55"},{N:"str",val:"use-character-maps"}]},{N:"let","var":"Q{}map",as:"1FM",slot:"10",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach", +C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}decl",slot:"6"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}property"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"},{N:"attVal",name:"Q{}name"}]}]},{N:"ifCall",line:"79",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"}, +{N:"str",val:"output-version"}]},{N:"str",val:"version"},{N:"true"},{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"convert",line:"196",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:makeProperties#1", +C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}map",slot:"10"}]},{N:"let",line:"197","var":"Q{}value",slot:"11",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}map",slot:"10"},{N:"dot",type:"1A"}]},{N:"valueOf",line:"199",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"choose",line:"198",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"item-separator"}]},{N:"fn",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace", +C:[{N:"varRef",name:"Q{}value",slot:"11"}]}]}]},{N:"str",val:"%"},{N:"str",val:"%%"},{N:"str",val:""}]},{N:"str",val:"\n"},{N:"str",val:"%n"},{N:"str",val:""}]},{N:"true"},{N:"varRef",line:"199",name:"Q{}value",slot:"11"}]}]}]},{N:"str",val:"\n"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]}]}]},{N:"choose",line:"86",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]},{N:"callT",line:"87",name:"Q{MyFunctions}AVT",bSlot:"56",C:[{N:"withParam",name:"Q{}avt-string",flags:"c", +as:"?NA nQ{}href",C:[{N:"axis",line:"88",name:"attribute",nodeTest:"NA nQ{}href"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"89",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"57"},{N:"str",val:"href"}]}]}]}]}]}]},{N:"choose",line:"93",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"copyOf",line:"94",flags:"c",C:[{N:"varRef",name:"Q{}formatExpr", +slot:"5"}]}]},{N:"forEach",line:"97",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"58"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"{"}]}]}]}, +{N:"callT",line:"98",name:"Q{MyFunctions}AVT",bSlot:"59",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"1NA",C:[{N:"dot",line:"99",type:"1NA"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"1NA",C:[{N:"att",line:"101",name:"role",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{}"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"callT",line:"106",name:"Q{}sequence-constructor",bSlot:"60",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"107",as:"NA",diag:"8|0|XTTE0590|attr", +C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"61"},{N:"str",val:"content"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"224",rank:"2",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"s",as:"1NE",line:"394",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"394",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"395",card:"1",diag:'7|0|XTTE0505|match="xsl:copy[@select]" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"396",name:"Q{}xsl-version",slot:"1",flags:"t",as:"1AD",C:[{N:"dec",role:"select",val:"3"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|xsl-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|xsl-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|xsl-version",C:[{N:"data",diag:"8|0|XTTE0590|xsl-version",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"397",name:"Q{}attr",slot:"2", +as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"398",C:[{N:"vc",line:"399",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}xsl-version",slot:"1"},{N:"dec",val:"3"}]},{N:"elem",line:"400",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"401",C:[{N:"varRef",name:"Q{}attr",slot:"2"},{N:"applyT",line:"402",mode:"Q{}create.xpath",bSlot:"62",C:[{N:"axis", +role:"select",name:"attribute",nodeTest:"NA nQ{}select"},{N:"withParam",name:"Q{}checkType",as:"1AS",C:[{N:"str",val:"?"}]},{N:"withParam",name:"Q{}diagnostic",as:"1NA",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg330224683",bSlot:"63"}]}]}]},{N:"elem",line:"406",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"str", +val:"in"}]}]},{N:"callT",line:"408",name:"Q{}record-location",bSlot:"64"},{N:"callT",line:"409",name:"Q{}sequence-constructor",bSlot:"65"}]}]}]}]},{N:"true"},{N:"elem",line:"414",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]}, +{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"str",val:"in"}]}]},{N:"varRef",line:"415",name:"Q{}attr",slot:"2"},{N:"callT",line:"416",name:"Q{}record-location",bSlot:"66"},{N:"callT",line:"418",name:"Q{}sequence-constructor",bSlot:"67"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"225",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"s",as:"1NE",line:"423",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match", +test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"424",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"425",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}, +{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"i"}]},{N:"str",val:"n"}]}]},{N:"varRef",line:"426",name:"Q{}attr",slot:"0"},{N:"callT",line:"427",name:"Q{}record-location",bSlot:"68"},{N:"elem",line:"428",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"429",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}]},{N:"applyT",line:"430",mode:"Q{}select.or.sequence",bSlot:"69", +C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"219",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace",flags:"s",as:"1NE",line:"242",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"243",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"244",name:"namespace",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_NAMESPACE",bSlot:"70"}]},{N:"varRef",line:"245",name:"Q{}attr",slot:"0"},{N:"forEach",line:"246",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}, +{N:"callT",line:"247",name:"Q{}value-template",bSlot:"71"}]},{N:"callT",line:"249",name:"Q{}constructSimpleContent",bSlot:"72"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"257",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}fork",flags:"s",line:"15",module:"splitting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}fork"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"17",name:"fork",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"18",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"19",name:"Q{}sequence-constructor",bSlot:"73"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"260",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring", +flags:"s",line:"66",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"67",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"matching"}]}, +{N:"choose",line:"68",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"69",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"applyT",line:"71",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"211",rank:"2",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"s",as:"1NE",line:"31",module:"creating-new-nodes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"31",op:"or",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}namespace"}]}]},{N:"str", +val:"{"}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:"{"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"32",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat", +role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"33",name:"compElem",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ELEMENT",bSlot:"74"}]},{N:"varRef",line:"34",name:"Q{}attr",slot:"0"},{N:"callT",line:"36",name:"Q{}record-location",bSlot:"75"},{N:"choose",line:"37",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"38",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"forEach",line:"40",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"callT",line:"41",name:"Q{}role-value-template",bSlot:"76"}]},{N:"let",line:"43","var":"Q{}content",as:"*NE",slot:"1",C:[{N:"treat",line:"44",as:"NE",diag:"3|0|XTTE0570|content",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"sequence", +role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]},{N:"choose",line:"46",C:[{N:"fn",line:"47",name:"empty",C:[{N:"varRef",name:"Q{}content",slot:"1"}]},{N:"elem",line:"48",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"lookup",line:"49",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"77"},{N:"str",val:"content"}]}]},{N:"compareToInt",line:"52",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn", +name:"subsequence",C:[{N:"varRef",name:"Q{}content",slot:"1"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"55","var":"Q{http://saxon.sf.net/generated-variable}v0",slot:"2",flags:"l",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"78"},{N:"str",val:"content"}]},{N:"forEach",line:"53",C:[{N:"varRef",name:"Q{}content",slot:"1"},{N:"copy",line:"54",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"55",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"2"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"elem",line:"60",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"61",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"79"},{N:"str",val:"content"}]},{N:"varRef",name:"Q{}content",slot:"1"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"212",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"s",as:"1NE",line:"69",module:"creating-new-nodes.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"70",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"71","var":"Q{}name", +as:"1AS",slot:"1",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"74","var":"Q{}ns",as:"1FM",slot:"2",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"namespaces.xsl",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"creating-new-nodes.xsl",line:"72",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}element", +flags:"a"},{N:"first",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"namespaces.xsl",line:"165",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"3",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"4",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"3"},{N:"choose",C:[{N:"compareToString", +op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"80"},{N:"varRef",name:"Q{}prefix",slot:"3"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"4"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"elem",line:"76",name:"elem",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type",flags:"l",C:[{N:"str",val:"element()"}]},{N:"varRef",line:"77",name:"Q{}attr",slot:"0"},{N:"let",line:"78","var":"Q{}parts",as:"*AS",slot:"5",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]},{N:"sequence",line:"79",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA nQ{http://ns.saxonica.com/xslt/export}*,NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS]"}]}, +{N:"applyT",line:"80",mode:"Q{}attribute-sans-prefix",bSlot:"81",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]},{N:"att",line:"86",name:"name",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]}]},{N:"str",val:""}]},{N:"lastOf",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]},{N:"true"},{N:"varRef",name:"Q{}name", +slot:"1"}]}]},{N:"att",line:"87",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ELEMENT",bSlot:"82"}]},{N:"applyT",line:"88",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"choose",line:"89",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"90",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"let",line:"92", +"var":"Q{}prefix",as:"1AS",slot:"6",C:[{N:"choose",line:"93",C:[{N:"compareToInt",line:"94",op:"eq",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"choose",line:"95",C:[{N:"castable",line:"96",flags:"a",as:"1ASNTNC",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]},{N:"convert",line:"96",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|prefix",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|prefix", +C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]}]}]}]},{N:"true"},{N:"convert",line:"97",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|prefix",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|prefix",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"83",C:[{N:"str",val:"XTDE0820"},{N:"fn", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'Invalid prefix "'},{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"true"},{N:"str",val:""}]},{N:"sequence",line:"108",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"att",line:"115",name:"nsuri",flags:"l",C:[{N:"fn", +name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"choose",line:"114",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}ns",slot:"2"},{N:"varRef",name:"Q{}prefix",slot:"6"}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"6"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"a"}]}]}]}]}]}, +{N:"str",val:" "}]}]}]},{N:"applyT",line:"118",mode:"Q{}attribute-sans-prefix",bSlot:"84",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"callT",line:"120",name:"Q{}record-location",bSlot:"85"},{N:"callT",line:"121",name:"Q{}sequence-constructor", +bSlot:"86",C:[{N:"withParam",name:"Q{}others",flags:"c",as:"*NE",C:[{N:"treat",line:"123",as:"NE",diag:"3|0|XTTE0570|others",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"367",rank:"1",minImp:"0",slots:"4",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute",flags:"s",line:"14",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"15",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param", +line:"16",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"17",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}remove-attribute"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"18",name:"Q{}attr",slot:"1"}, +{N:"callT",line:"19",name:"Q{}record-location",bSlot:"87"},{N:"forEach",line:"20",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"21",name:"Q{}role-value-template",bSlot:"88"}]},{N:"elem",line:"24",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"}, +{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", +val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg418646126",bSlot:"89"}]}]}]}]},{N:"varRef",line:"25",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"265",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule",flags:"s",line:"52",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"53",name:"accRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"5"}]},{N:"applyT",line:"54",mode:"Q{}create.xpath",bSlot:"90",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"applyT",line:"55",mode:"Q{}select.or.sequence",bSlot:"91",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"168", +rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}when",flags:"s",line:"41",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}when"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM", +C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"applyT",line:"43",mode:"Q{}create.xpath",bSlot:"92",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"choose",line:"44",C:[{N:"vc",line:"45",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context", +slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"applyT",line:"46",mode:"Q{}select.or.sequence",flags:"t",bSlot:"93",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}when",flags:"a"}]},{N:"true"},{N:"callT",line:"49",name:"Q{}sequence-constructor",bSlot:"94",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"240",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"s",line:"123",module:"sorting.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"123",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]}]},{N:"sequence", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"124",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"125",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"126",name:"Q{}attr",slot:"0"}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"239",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"s",line:"115",module:"sorting.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"115", +name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"116",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"117",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",line:"118",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"119",mode:"Q{}create.xpath",bSlot:"95",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"120",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"241",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort", +flags:"s",line:"129",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", +slot:"0"}]}]},{N:"ufCall",line:"131",name:"Q{MyFunctions}check-sort",tailCall:"false",bSlot:"96",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"a"}]},{N:"elem",line:"132",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"133",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"elem",line:"135",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"136",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]},{N:"applyT",line:"138",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"166",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose",flags:"s",line:"16",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"17",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"18",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type", +flags:"l",C:[{N:"str",val:"item()*"}]},{N:"varRef",line:"19",name:"Q{}attr",slot:"0"},{N:"callT",line:"20",name:"Q{}record-location",bSlot:"97"},{N:"applyT",line:"21",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]},{N:"choose",line:"22",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"}]},{N:"sequence",line:"23",C:[{N:"elem",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}, +{N:"elem",line:"24",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"221",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",as:"*NE",line:"264",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"264",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"265",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]}, +{N:"let",line:"266","var":"Q{}attrs",as:"*NA",slot:"1",C:[{N:"sequence",line:"267",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"choose",line:"268",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"269",name:"flags",C:[{N:"str",val:"d"}]}]},{N:"treat",line:"271",as:"NA",diag:"3|0|XTTE0570|attrs",C:[{N:"applyT",mode:"Q{}attribute-sans-prefix", +bSlot:"98",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}]}]},{N:"treat",line:"274",as:"NE",diag:'7|0|XTTE0505|match="xsl:text[normalize-space()]" mode="sef"',C:[{N:"applyT",flags:"ct",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NT"}, +{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"275",name:"Q{}attrs",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"220",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",as:"1NE",line:"253",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"254",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"255",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"99"}]},{N:"choose",line:"256",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"257",name:"flags",flags:"l",C:[{N:"str",val:"d"}]}]},{N:"varRef",line:"259",name:"Q{}attr",slot:"0"},{N:"elem",line:"260",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"244",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"s",line:"17",module:"grouping.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"18",C:[{N:"param",name:"Q{}default-collation", +slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"19",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"callT",line:"20",name:"Q{}check-select",bSlot:"100"},{N:"ufCall",line:"21",name:"Q{MyFunctions}check-sort", +tailCall:"false",bSlot:"101",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]},{N:"let",line:"22","var":"Q{}key",as:"*NA",slot:"2",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-by"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-starting-with"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-ending-with"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-adjacent"}]},{N:"elem",line:"31",name:"forEachGroup",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"algorithm",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"slash",C:[{N:"varRef",name:"Q{}key",slot:"2"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"group-|-with"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"choose",line:"32",C:[{N:"choose",line:"29",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false", +bSlot:"102",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]},{N:"true"},{N:"false"}]},{N:"att",line:"33",name:"flags",flags:"l",C:[{N:"str",val:"c"}]}]},{N:"varRef",line:"35",name:"Q{}attr",slot:"1"},{N:"callT",line:"36",name:"Q{}record-location",bSlot:"103"},{N:"let",line:"37","var":"Q{}source",as:"*NE",slot:"3",C:[{N:"treat",line:"38",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"104",C:[{N:"axis", +role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"sequence",line:"40",C:[{N:"choose",C:[{N:"compareToInt",line:"41",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"45","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?NA",slot:"4",flags:"l",C:[{N:"treat",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role", +C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"105"},{N:"str",val:"sort"}]}]}]},{N:"sequence",line:"42",C:[{N:"varRef",name:"Q{}source",slot:"3"},{N:"forEach",line:"43",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"44",name:"Q{}make-sort-key",bSlot:"106",C:[{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"varRef",line:"45",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"4"}]}]}]}]}]},{N:"fn",line:"49",name:"exists",C:[{N:"axis", +name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"50",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"varRef",line:"51",name:"Q{}source",slot:"3"},{N:"forEach",line:"52",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"53",name:"Q{}make-sort-key",bSlot:"107"}]}]}]},{N:"true"},{N:"varRef",line:"58",name:"Q{}source", +slot:"3"}]},{N:"applyT",line:"61",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}key",slot:"2"}]},{N:"callT",line:"62",name:"Q{}sequence-constructor",bSlot:"108",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"63",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"109"},{N:"str",val:"content"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"174",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty", +flags:"s",line:"153",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"154",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", +slot:"0"}]}]},{N:"elem",line:"155",name:"onNonEmpty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"156",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"157",mode:"Q{}select.or.sequence",bSlot:"110",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"371",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"s", +line:"81",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"82",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"83",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"84",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-style"}]}, +{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"85",name:"Q{}attr",slot:"1"},{N:"callT",line:"86",name:"Q{}record-location",bSlot:"111"},{N:"forEach",line:"87",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"88",name:"Q{}role-value-template",bSlot:"112"}]},{N:"elem",line:"91",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", +val:"1AS"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg2078175306",bSlot:"113"}]}]}]}]}]}]},{N:"elem",line:"93",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI", +to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"a"},{N:"treat",module:"lib.xsl", +line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", +C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg19873741",bSlot:"114"}]}]}]}]},{N:"varRef", +line:"94",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"268",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"s",line:"14",module:"key.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"15",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"16",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation", +C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"17",name:"Q{}xpath-default-namespace",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"18",name:"Q{}options",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check", +card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"3"}]}]}]},{N:"let",line:"19","var":"Q{}composite",as:"1AB",slot:"4",C:[{N:"treat",as:"AB",diag:"3|0|XTTE0570|composite",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|composite",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|composite",C:[{N:"data",diag:"3|0|XTTE0570|composite",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]}]},{N:"elem",line:"21",name:"key",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"115",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"a"}]}]},{N:"att",name:"binds",flags:"l",C:[{N:"str", +val:""}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"u"},{N:"fn",name:"string",C:[{N:"filter",flags:"ip",C:[{N:"str",val:"b"},{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"backward-compatibility"}]}]}]},{N:"fn",name:"string",C:[{N:"filter",flags:"ib",C:[{N:"str",val:"c"},{N:"varRef",name:"Q{}composite",slot:"4"}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", +diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let","var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1", +C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58", +name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"116"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]}, +{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"choose",line:"22",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"3"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"23",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"forEach", +line:"25",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"},{N:"varRef",name:"Q{}default-collation",slot:"1"}]}]},{N:"att",line:"26",name:"collation",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"callT",line:"28",name:"Q{}record-location",bSlot:"117"},{N:"elem",line:"29",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"match"}]}, +{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]}]},{N:"varRef",line:"30",name:"Q{}xpath-default-namespace",slot:"2"}]}]},{N:"elem",line:"32",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"use"}]},{N:"choose",line:"33",C:[{N:"fn",line:"34",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"elem",line:"35", +name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"36",mode:"Q{}create.xpath",bSlot:"118",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"true"},{N:"applyT",line:"40",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"238",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort",flags:"s",line:"111",module:"sorting.xsl", +C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"}]},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"112",name:"Q{}make-sort-key",bSlot:"119",flags:"t"}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"237",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort",flags:"s",line:"108",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"109",name:"Q{}make-sort-key",bSlot:"120",flags:"t"}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"161",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"s",line:"144",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"145", +C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"ufCall",line:"146",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"121",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"a"}]},{N:"ufCall",line:"146",name:"Q{MyFunctions}check-tail-position",tailCall:"false",bSlot:"122",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration", +flags:"a"}]},{N:"let",line:"147","var":"Q{}iteration-params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"1",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"let",line:"149","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"*AZ",slot:"2",flags:"l",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}iteration-params",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",line:"148",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"choose",line:"149",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"attVal",name:"Q{}name"}]}]}, +{N:"ufCall",line:"152",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"123",C:[{N:"str",val:"XTSE3130"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:next-iteration parameter '"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"' is not a parameter of the enclosing xsl:iterate"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]}]}]},{N:"elem",line:"155",name:"nextIteration",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +line:"156",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"157",name:"Q{}record-location",bSlot:"124"},{N:"applyT",line:"158",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"381",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",flags:"s",as:"1NE",line:"1599",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}, +{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1602",name:"glob",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"use",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"str",val:"absent"}]}, +{N:"str",val:"pro"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"str",val:"required"}]},{N:"str",val:"req"},{N:"true"},{N:"str",val:"opt"}]}]},{N:"att",name:"code",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",line:"1603",name:"cxt",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, +{N:"str",val:"1"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"383",rank:"2",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1616",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1616",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1617",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"1619","var":"Q{}has-uniform-static-context",as:"1AB",slot:"1",C:[{N:"ufCall",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"125",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}, +{N:"elem",line:"1620",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"1"}]}]},{N:"elem",line:"1622",name:"globalParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"126"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf", +C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose",line:"1623",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1624",name:"baseUri",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"choose",line:"1626",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]},{N:"str",val:"true"}]},{N:"att",line:"1627",name:"flags",flags:"l",C:[{N:"str",val:"r"}]}]},{N:"choose",line:"1629",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}implicit-mandatory"}]},{N:"str",val:"true"}]},{N:"att",line:"1630",name:"flags",flags:"l",C:[{N:"str",val:"i"}]}]},{N:"att",line:"1632",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"axis",line:"1633",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"1634",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +"var":"Q{}context",as:"1NE",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, +{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"axis",name:"namespace", +nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"127"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, +{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1635",mode:"Q{}param.type",bSlot:"128",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"applyT",line:"1637",mode:"Q{}select.or.sequence",bSlot:"129",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"varRef",line:"1639",name:"Q{}has-uniform-static-context",slot:"1"}]}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"195",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"155",module:"callable-components.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"157",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]},{N:"str",val:"false"}]},{N:"ufCall",line:"162",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"130",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"@required can only be yes|true|1 on parameter "},{N:"data", +diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" of function "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:"()"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"elem",line:"165",name:"arg",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att", +name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"172","var":"Q{}alphacode",slot:"0",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"131",C:[{N:"treat", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"callable-components.xsl",line:"172",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type",C:[{N:"data",diag:"0|0||f:parse-sequence-type",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]}]}]},{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"callable-components.xsl",line:"172",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"str",val:""}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"132"}]},{N:"sequence",line:"173",C:[{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}alphacode",slot:"0"},{N:"str",val:" "}]}]},{N:"att",line:"174",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}alphacode",slot:"0"},{N:"str",val:" "}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"131",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"981",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"981",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"981",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"133",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]}]},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"981",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"fn",name:"not",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"134",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]}]}]}]}]},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"981", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"982",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"135",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"required xsl:param "},{N:"data", +diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"129",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"975",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}, +{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"975",name:"not",C:[{N:"ufCall",name:"Q{MyFunctions}isTopLevel",tailCall:"false",bSlot:"136",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"975",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"976",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"137",C:[{N:"str",val:"XTSE0580"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, +{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"188",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"29",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"30",name:"PARAMDEF",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"32",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}required"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"33",name:"Q{}record-location",bSlot:"138"},{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"139",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"35",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"140"},{N:"str",val:"select"}]}]},{N:"withParam",name:"Q{}has-uniform-static-context", +flags:"t",as:"1AB",C:[{N:"ufCall",line:"36",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"141",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"198",rank:"2",minImp:"0",slots:"11",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"s",as:"1NE",line:"217",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"217",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"218",card:"1",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"', +C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"219",name:"Q{}named-template-signatures",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"220",name:"Q{}static-context", +slot:"2",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"2"}]}]}]},{N:"let",line:"221","var":"Q{}name",as:"1AS",slot:"3",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|name",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|name",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|name",C:[{N:"data",diag:"3|0|XTTE0570|name",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]}]}]},{N:"choose",line:"222",C:[{N:"ifCall",line:"223",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"1"},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"let",line:"224","var":"Q{}signature",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"1"},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"let",line:"227", +"var":"Q{}supplied.params",as:"*AS",slot:"5",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|supplied.params",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|supplied.params",C:[{N:"data",diag:"3|0|XTTE0570|supplied.params",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}tunnel"}]},{N:"str",val:"true"}]}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"228","var":"Q{}template",as:"1FM",slot:"6",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|template",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|template",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}signature",slot:"4"},{N:"str",val:"params"}]}]}]},{N:"let",line:"229","var":"Q{}param.names",as:"*A",slot:"7",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}template",slot:"6"}]},{N:"let", +line:"231","var":"Q{}unknown.params",as:"*AS",slot:"8",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}supplied.params",slot:"5"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}param.names",slot:"7"},{N:"dot",type:"1AS"}]}]}]},{N:"let",line:"232","var":"Q{}unsupplied.params",as:"*AS",slot:"9",C:[{N:"filter",flags:"b",C:[{N:"convert",line:"230",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|required.params", +C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|required.params",C:[{N:"filter",flags:"p",C:[{N:"varRef",name:"Q{}param.names",slot:"7"},{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}template",slot:"6"},{N:"dot",type:"1A"}]},{N:"str",val:"required"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}supplied.params",slot:"5"},{N:"dot",type:"1AS"}]}]}]},{N:"choose",line:"233",C:[{N:"and",line:"234", +op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"}]},{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"backward-compatibility"}]}]}]},{N:"let",line:"238","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"10",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"}]}]},{N:"sequence",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"', +C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"142",C:[{N:"str",val:"XTSE0680"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" does not declare parameter"}]},{N:"filter",flags:"ib",C:[{N:"str",val:"s"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"10"}]}]},{N:"str",val:" "}]},{N:"fn", +name:"string-join",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"},{N:"str",val:", "}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"239",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]},{N:"fn",line:"241",name:"exists",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"}]},{N:"sequence",line:"247",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"',C:[{N:"ufCall", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"143",C:[{N:"str",val:"XTSE0690"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"A call to named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" requires "}]},{N:"cast",line:"242",flags:"a",as:"1AZ",C:[{N:"choose",C:[{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"}, +{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"str",val:"a supplied value for "},{N:"true"},{N:"str",val:"supplied values for\n "}]}]}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"},{N:"str",val:", "}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"248",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]},{N:"true"},{N:"elem",line:"251",name:"callT", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"bSlot",flags:"l",C:[{N:"str",val:"??"}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}signature",slot:"4"},{N:"str",val:"typeJ"}]}]}]}]},{N:"str",val:" "}]}]},{N:"axis",line:"252",name:"attribute",nodeTest:"NA nQ{}name"},{N:"varRef",line:"253",name:"Q{}attr",slot:"0"},{N:"callT",line:"254",name:"Q{}record-location", +bSlot:"144"},{N:"applyT",line:"255",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"261",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"',C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"145",C:[{N:"str",val:"XTSE0650"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" does not exist"}]}, +{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"262",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"253",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action",flags:"s",line:"49",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action"},{N:"applyT",role:"action", +ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50",mode:"Q{}select.or.sequence",flags:"t",bSlot:"146",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"51",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"147"},{N:"str",val:"action"}]}]}]}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"192",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate",flags:"s",line:"15",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr", +slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"17",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"18",name:"Q{}default-collation",slot:"2",flags:"t", +as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"26",name:"evaluate",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +"var":"Q{}context",as:"1NE",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, +{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"namespace", +nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"148"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, +{N:"str",val:" "}]}]}]}]},{N:"varRef",line:"27",name:"Q{}attr",slot:"0"},{N:"att",line:"28",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"att",line:"29",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"149",C:[{N:"choose",line:"25",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}, +{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"150",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"151"}]}]}]},{N:"callT",line:"31",name:"Q{}record-location",bSlot:"152"}, +{N:"choose",line:"32",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]},{N:"str",val:"http://www.w3.org/1999/xhtml"}]}]},{N:"att",line:"33",name:"dxns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]}]},{N:"elem",line:"35",name:"cast",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"str",val:"AS"}]},{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"a"}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"xpath"}]},{N:"elem",line:"36",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"37",mode:"Q{}create.xpath",bSlot:"153",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]},{N:"elem",line:"40",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", +C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"sa"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"no"}]}]}]},{N:"choose",line:"41",C:[{N:"fn",line:"42",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}context-item"}]},{N:"applyT",line:"43",mode:"Q{}create.xpath",bSlot:"154",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}context-item"}]},{N:"true"},{N:"elem",line:"46",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role", +flags:"l",C:[{N:"str",val:"cxt"}]}]}]},{N:"choose",line:"49",C:[{N:"fn",line:"50",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}with-params"}]},{N:"applyT",line:"51",mode:"Q{}create.xpath",bSlot:"155",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}with-params"}]},{N:"true"},{N:"elem",line:"54",name:"map",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"wp"}]}]}]},{N:"choose",line:"57",C:[{N:"fn",line:"58",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace-context"}]},{N:"applyT",line:"59",mode:"Q{}create.xpath",bSlot:"156",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}namespace-context"}]}]},{N:"applyT",line:"62",mode:"Q{}create.xpath",bSlot:"157",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://saxon.sf.net/}options"}]},{N:"choose",line:"64",C:[{N:"fn",line:"65",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}base-uri"}]},{N:"let",line:"66","var":"Q{}temp", +as:"1NE",slot:"4",C:[{N:"check",line:"67",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}base-uri"},{N:"callT",line:"68",name:"Q{}value-template",bSlot:"158"}]}]},{N:"forEach",line:"71",C:[{N:"varRef",name:"Q{}temp",slot:"4"},{N:"copy",line:"72",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"73",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"159"},{N:"str",val:"baseUri"}]},{N:"axis",name:"child", +nodeTest:"NE"}]}]}]}]}]},{N:"applyT",line:"78",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"169",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise",flags:"s",line:"55",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"56",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"57",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]},{N:"choose",line:"58",C:[{N:"vc",line:"59",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?", +diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"applyT",line:"60",mode:"Q{}select.or.sequence",flags:"t",bSlot:"160",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise",flags:"a"}]},{N:"true"},{N:"callT",line:"63",name:"Q{}sequence-constructor",bSlot:"161",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"368",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute", +flags:"s",line:"30",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"31",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"32",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"33",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-attribute"}]}, +{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"34",name:"Q{}attr",slot:"1"},{N:"callT",line:"35",name:"Q{}record-location",bSlot:"162"},{N:"forEach",line:"36",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"37",name:"Q{}role-value-template",bSlot:"163"}]},{N:"elem",line:"40",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", +val:"1AS"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg271588719",bSlot:"164"}]}]}]}]}]}]},{N:"elem",line:"42",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI", +to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute",flags:"a"},{N:"treat",module:"lib.xsl", +line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", +C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1557557661",bSlot:"165"}]}]}]}]},{N:"varRef", +line:"43",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"155",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports",flags:"s",line:"199",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"200",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"201",name:"applyImports",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"166"}]},{N:"varRef",line:"202",name:"Q{}attr",slot:"0"},{N:"callT",line:"203",name:"Q{}record-location",bSlot:"167"},{N:"applyT", +line:"204",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"139",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"1009",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"1009",flags:"",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"data",diag:"1|1||eq",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"1010",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"168",C:[{N:"str",val:"XTSE0670"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:with-param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"190",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", +flags:"s",line:"41",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}named-template-signatures",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"44",name:"withParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"45",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose",line:"46",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]}]}, +{N:"str",val:"true"}]},{N:"att",line:"47",name:"flags",flags:"l",C:[{N:"str",val:"t"}]}]},{N:"choose",line:"49",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}]},{N:"let",line:"50","var":"Q{}param",slot:"1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:'21|0||map:get(...) ? "params"',C:[{N:"check",card:"1",diag:'21|0||map:get(...) ? "params"',C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:"params"}]}]}]},{N:"arrayBlock",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"52",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"1"},{N:"str",val:"type"}]}, +{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"1"},{N:"str",val:"typeJ"}]}]}]}]},{N:"choose",line:"54",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"}]},{N:"slash",line:"57",simple:"2",C:[{N:"let",line:"55","var":"Q{http://saxon.sf.net/generated-variable}current1896874222",as:"1",slot:"2",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"?AZ",slot:"3",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1896874222",slot:"2"},{N:"attVal",name:"Q{}name"}]},{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}, +{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}as,NA nQ{http://ns.saxonica.com/xslt/export}asJ]"}]}]},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"60",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}, +{N:"att",line:"61",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"choose",line:"63",C:[{N:"and",line:"64",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"65",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att", +name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"169"}]},{N:"applyT",line:"66",mode:"Q{}select.or.sequence",bSlot:"170",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]},{N:"true"},{N:"applyT",line:"70",mode:"Q{}select.or.sequence",bSlot:"171",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"218",rank:"2",minImp:"0", +slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction",flags:"s",as:"1NE",line:"224",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"224",name:"matches",C:[{N:"convert",from:"AZ", +to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:"\\{"},{N:"str",val:""}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"225",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr", +C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"226",name:"procInst",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",bSlot:"172"}]},{N:"varRef",line:"227",name:"Q{}attr",slot:"0"},{N:"let",line:"228","var":"Q{}nameAVT",as:"1NE",slot:"1",C:[{N:"check",line:"229",card:"1",diag:"3|0|XTTE0570|nameAVT",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"230", +name:"Q{}value-template",bSlot:"173"}]}]},{N:"sequence",line:"233",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}nameAVT",slot:"1"},{N:"copy",line:"234",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"235",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"174"},{N:"str",val:"name"}]},{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"callT",line:"238",name:"Q{}constructSimpleContent",bSlot:"175"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"217", +rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction",flags:"s",as:"1NE",line:"215",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"216",C:[{N:"param",name:"Q{}attr", +slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"217",name:"procInst",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",bSlot:"176"}]},{N:"varRef",line:"218",name:"Q{}attr",slot:"0"},{N:"elem",line:"219",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att", +name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"callT",line:"220",name:"Q{}constructSimpleContent",bSlot:"177"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"380",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"s",as:"*NA",line:"1595",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}, +{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1596",name:"cxt",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"str",val:"1"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"147",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode",flags:"s",line:"30",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"31",C:[{N:"param",name:"Q{}xsl-version",slot:"0",flags:"t", +C:[{N:"dec",role:"select",val:"3"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"32",name:"Q{}compiler.options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|compiler.options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|compiler.options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"33",name:"Q{}precedence-map",slot:"2",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]", +diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"45",name:"mode",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"onNo",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}on-no-match",bSlot:"178"},{N:"atomSing",diag:"0|1||map:get",C:[{N:"first",C:[{N:"sequence", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}on-no-match"},{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}warning-on-no-match"}]},{N:"str",val:"true"}]},{N:"str",val:"+W"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"or",line:"38",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}on-multiple-match"}]},{N:"str",val:"fail"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}compiler.options",slot:"1"},{N:"str",val:"on-multiple-match"}]}]},{N:"str",val:"error"}]}]},{N:"str",val:"F"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}typed"}]},{N:"str",val:"true"}]},{N:"str",val:"t"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}untyped"}]},{N:"str",val:"true"}]},{N:"str",val:"u"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}warning-on-multiple-match"}]},{N:"str",val:"true"}]}, +{N:"str",val:"W"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"patternSlots",flags:"l",C:[{N:"str",val:"0"}]},{N:"choose",line:"46",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:"#unnamed"}]},{N:"axis",line:"47",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"axis",line:"49",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"},{N:"att",line:"50",name:"prec",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"2"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"applyT",line:"51",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"180",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}try", +flags:"s",line:"222",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}try"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"222",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"223",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"224",name:"try",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}rollback-output"}]}]}, +{N:"str",val:"false"}]},{N:"str",val:"r"},{N:"true"},{N:"str",val:""}]}]},{N:"varRef",line:"225",name:"Q{}attr",slot:"0"},{N:"applyT",line:"226",mode:"Q{}create.xpath",bSlot:"179",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"227",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"181",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}try", +flags:"s",line:"230",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}try"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"231",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", +slot:"0"}]}]},{N:"elem",line:"232",name:"try",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}rollback-output"}]}]},{N:"str",val:"false"}]},{N:"str",val:"r"},{N:"true"},{N:"str",val:""}]}]},{N:"varRef",line:"233",name:"Q{}attr",slot:"0"},{N:"elem",line:"234",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"applyT",line:"235",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N d[N u[NT,NC,NE,NP],NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]}]},{N:"applyT",line:"237",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"215",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"s",line:"192", +module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"192",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", +diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:"{"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"193",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]}, +{N:"elem",line:"194",name:"compAtt",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"180"}]},{N:"varRef",line:"195",name:"Q{}attr",slot:"0"},{N:"choose",line:"197",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}, +{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"callT",line:"199",name:"Q{}record-location",bSlot:"181"},{N:"forEach",line:"200",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"callT", +line:"201",name:"Q{}role-value-template",bSlot:"182"}]},{N:"callT",line:"203",name:"Q{}constructSimpleContent",bSlot:"183"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"214",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"s",as:"1NE",line:"133",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"134",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"136","var":"Q{}name",as:"1AS",slot:"1",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}, +{N:"let",line:"137","var":"Q{}namespaces",slot:"2",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"creating-new-nodes.xsl",line:"135",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"a"},{N:"first",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"3",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let", +"var":"Q{}uri",slot:"4",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"3"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"184"},{N:"varRef",name:"Q{}prefix",slot:"3"}]},{N:"true"}, +{N:"varRef",name:"Q{}uri",slot:"4"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"elem",line:"138",name:"att",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"185"}]},{N:"choose",line:"139",C:[{N:"fn",name:"matches", +C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]},{N:"let",line:"140","var":"Q{}prefix",as:"?AS",slot:"5",C:[{N:"first",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]}]},{N:"let",line:"148","var":"Q{}uri",slot:"6",C:[{N:"let","var":"Q{}n",slot:"7",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"check",card:"1",diag:"21|0||$namespaces",C:[{N:"varRef",name:"Q{}namespaces",slot:"2"}]}, +{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}prefix",slot:"5"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}n",slot:"7"}]},{N:"str",val:"~"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"186"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function", +C:[{N:"varRef",name:"Q{}prefix",slot:"5"}]}]},{N:"true"},{N:"varRef",name:"Q{}n",slot:"7"}]}]},{N:"choose",line:"149",C:[{N:"fn",line:"150",name:"exists",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"sequence",line:"151",C:[{N:"att",name:"nsuri",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]}]}]},{N:"str",val:" "}]}]},{N:"namespace",line:"152",flags:"l",C:[{N:"fn",role:"name",name:"string",C:[{N:"varRef", +name:"Q{}prefix",slot:"5"}]},{N:"convert",role:"select",from:"AU",to:"AS",C:[{N:"cast",flags:"ae",as:"?AU",C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]}]}]}]}]},{N:"true"},{N:"ufCall",line:"156",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"187",C:[{N:"str",val:"ERRRRR"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"No namespace binding for prefix "},{N:"varRef",name:"Q{}prefix",slot:"5"}]},{N:"str", +val:" in attribute "}]},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"a"}]}]}]}]}]},{N:"applyT",line:"162",mode:"Q{}attribute-sans-prefix",bSlot:"188",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"choose",line:"161",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}, +{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"163",name:"Q{}attr",slot:"0"},{N:"att",line:"169",name:"name",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]}]},{N:"str",val:""}]},{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:"^.+:"},{N:"str",val:""},{N:"str",val:""}]}, +{N:"true"},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"axis",line:"170",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"callT",line:"172",name:"Q{}record-location",bSlot:"189"},{N:"callT",line:"173",name:"Q{}constructSimpleContent",bSlot:"190"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"271",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry",flags:"s",line:"27",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"28",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"29",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name", +flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_MAP",bSlot:"191"}]},{N:"varRef",line:"30",name:"Q{}attr",slot:"0"},{N:"elem",line:"31",name:"atomSing",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"diag",flags:"l",C:[{N:"str",val:"0|0||map:entry"}]},{N:"applyT",line:"32",mode:"Q{}create.xpath",bSlot:"192",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}key"}]}]}]}, +{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"193",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"210",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}document",flags:"s",line:"17",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}document"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"18",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"19",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type",flags:"l",C:[{N:"str",val:"document-node()"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"194"}]},{N:"varRef",line:"20",name:"Q{}attr",slot:"0"},{N:"callT", +line:"21",name:"Q{}record-location",bSlot:"195"},{N:"choose",line:"22",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"23",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"callT",line:"25",name:"Q{}sequence-constructor",bSlot:"196"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"261",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring",flags:"s",line:"74", +module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"75",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"nonMatching"}]}, +{N:"choose",line:"76",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"77",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"applyT",line:"79",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"264",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator",flags:"s",line:"34",module:"streaming.xsl",C:[{N:"p.nodeTest", +role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options", +C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"36",name:"accumulator",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"5"}]},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"38",C:[{N:"fn", +name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"39",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"applyT",line:"41",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA nQ{http://ns.saxonica.com/xslt/export}*,NA u[NA nQ{http://ns.saxonica.com/xslt/export}asJ,NA nQ{http://ns.saxonica.com/xslt/export}baseUri]]"}]}, +{N:"applyT",line:"42",mode:"Q{}create.xpath",bSlot:"197",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}initial-value"}]},{N:"elem",line:"43",name:"pre",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"applyT",line:"44",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"},{N:"or",op:"or",C:[{N:"fn", +name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}phase"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}phase"}]},{N:"str",val:"start"}]}]}]}]}]}]},{N:"elem",line:"46",name:"post",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"applyT",line:"47",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"}, +{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}phase"}]},{N:"str",val:"end"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"184",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"14",module:"variables-and-parameters.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"14",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"15",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:" has no following sibling so it will have no effect"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"nextMatch",line:"16",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"186",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"18",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"19",name:"VARDEF",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",line:"20",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"21",name:"Q{}record-location",bSlot:"198"},{N:"applyT",line:"22",flags:"c",bSlot:"-1", +C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"applyT",line:"23",mode:"Q{}select.or.sequence",bSlot:"199",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"24",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"25",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"200", +C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"250",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"22",module:"merging.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"22",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}sort-before-merge"},{N:"str",val:"true"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"23",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"24", +name:"mergeSrc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"25",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"applyT",line:"26",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]},{N:"elem",line:"27",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"selectRows"}]},{N:"applyT",line:"28", +mode:"Q{}create.xpath",bSlot:"201",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"29",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key"}]}]}]},{N:"applyT",line:"31",mode:"Q{}create.xpath",bSlot:"202",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-source"}]}]},{N:"applyT",line:"32",flags:"c", +bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"119",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"923",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"923",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"924",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"203",C:[{N:"str",val:"XTSE3190"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:merge-source siblings cannot have the same name:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, +{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"251",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"36",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"37",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"38",name:"mergeSrc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"39",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"applyT",line:"40",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]}, +{N:"applyT",line:"41",mode:"Q{}create.xpath",bSlot:"204",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"42",mode:"Q{}create.xpath",bSlot:"205",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-source"}]}]},{N:"applyT",line:"43",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"150", +rank:"7",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"87",module:"rules.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"87",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"sequence", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"88",C:[{N:"param",name:"Q{}location",slot:"0",flags:"t",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"89",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"90",name:"Q{}default-collation",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"91",name:"Q{}precedence-map",slot:"3",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]", +diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"92",name:"Q{}minimum-import-precedence-map",slot:"4",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]",diag:"8|0|XTTE0590|minimum-import-precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|minimum-import-precedence-map",C:[{N:"supplied",slot:"4"}]}]}]},{N:"param",line:"93",name:"Q{}options",slot:"5",flags:"t",as:"1FM", +C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"5"}]}]}]},{N:"elem",line:"98",name:"templateRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"prec",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"3"},{N:"fn", +name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"att",name:"seq",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"data",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"true"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"6",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template", +flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context", +slot:"6"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", +C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"206"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"minImp",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}minimum-import-precedence-map", +slot:"4"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",line:"94",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"absent"}]},{N:"str",val:"s"}]}]},{N:"att", +name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"choose",line:"99",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"5"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"100",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"callT",line:"102",name:"Q{}record-location",bSlot:"207"},{N:"axis",line:"103",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, +{N:"varRef",line:"103",name:"Q{}xpath-default-namespace",slot:"1"},{N:"varRef",line:"103",name:"Q{}default-collation",slot:"2"},{N:"applyT",line:"104",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{http://www.w3.org/XML/1998/namespace}*]]"}]},{N:"applyT",line:"105",mode:"Q{}sef",bSlot:"208",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]}, +{N:"applyT",line:"107",mode:"Q{}create.xpath",bSlot:"209",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"nextMatch",line:"108",flags:"i"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"379",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"1587",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1588",name:"Q{}sequence-constructor",bSlot:"210",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"1589",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"211"},{N:"str",val:"action"}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1591",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"212",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template", +flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"158",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each",flags:"s",line:"35",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"36", +C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"37",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"callT",line:"38",name:"Q{}check-select",bSlot:"213"},{N:"ufCall",line:"39",name:"Q{MyFunctions}check-sort", +tailCall:"false",bSlot:"214",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each",flags:"a"}]},{N:"let",line:"40","var":"Q{}source",as:"*NE",slot:"2",C:[{N:"treat",line:"41",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"215",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"elem",line:"43",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"44",C:[{N:"callT",name:"Q{}record-location", +bSlot:"216"},{N:"applyT",line:"45",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}]},{N:"varRef",line:"46",name:"Q{}attr",slot:"0"},{N:"choose",line:"47",C:[{N:"fn",line:"48",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"49",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"50",C:[{N:"varRef",name:"Q{}source",slot:"2"}, +{N:"forEach",line:"51",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"52",name:"Q{}make-sort-key",bSlot:"217"}]}]}]},{N:"true"},{N:"varRef",line:"57",name:"Q{}source",slot:"2"}]},{N:"choose",line:"60",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt", +C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]}]},{N:"callT",line:"61",name:"Q{MyFunctions}AVT",bSlot:"218",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}separator",C:[{N:"axis",line:"62",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"63",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef", +name:"Q{}roles",bSlot:"219"},{N:"str",val:"separator"}]}]}]}]}]}]},{N:"callT",line:"66",name:"Q{}sequence-constructor",bSlot:"220"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"173",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"s",line:"145",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"146",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"147",name:"onEmpty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"148",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"149",mode:"Q{}select.or.sequence",bSlot:"221",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"a"}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"370",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"s",line:"64",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"65",C:[{N:"param", +name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"66",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"67",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-property"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"68",name:"Q{}attr",slot:"1"},{N:"callT",line:"69",name:"Q{}record-location",bSlot:"222"},{N:"forEach",line:"70",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"71",name:"Q{}role-value-template",bSlot:"223"}]},{N:"elem",line:"73",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"75",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"ixsl:window()"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data", +diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash", +C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg411425835",bSlot:"224"}]}]}]}]},{N:"varRef",line:"76",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"160",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate", +flags:"s",line:"109",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"110",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", +slot:"0"}]}]},{N:"callT",line:"111",name:"Q{}check-select",bSlot:"225"},{N:"elem",line:"112",name:"iterate",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"113",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"114",name:"Q{}record-location",bSlot:"226"},{N:"applyT",line:"115",mode:"Q{}create.xpath",bSlot:"227",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"elem",line:"116",name:"params",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", +C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"params"}]},{N:"callT",line:"117",name:"Q{}parameters",bSlot:"228"}]}]},{N:"choose",line:"119",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}]},{N:"ufCall",line:"121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"229",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:iterate may only have one xsl:on-completion child"},{N:"check", +card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"int",val:"2"}]}]}]}]},{N:"choose",line:"123",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]}, +{N:"ufCall",line:"126",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"230",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:on-completion may only be proceeded by xsl:param* as children of xsl:iterate"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}]}]}]},{N:"applyT",line:"128",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}, +{N:"choose",line:"129",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]},{N:"elem",line:"130",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"on-completion"}]}]}]},{N:"callT",line:"132",name:"Q{}sequence-constructor",bSlot:"231",C:[{N:"withParam",name:"Q{}include-params",flags:"c",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat", +line:"134",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"232"},{N:"str",val:"action"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"146",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence",flags:"s",line:"77",module:"select-sequence.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"78",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"applyT",line:"79",mode:"Q{}select.or.sequence",flags:"t",bSlot:"233",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}sequence",flags:"a"},{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"80",name:"Q{}attr",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"226",rank:"1", +minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"s",as:"1NE",line:"435",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"436",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", +role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"438",name:"copyOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"}, +{N:"str",val:"c"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-accumulators"}]}]},{N:"str",val:"true"}]},{N:"str",val:"m"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context", +as:"1NE",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check", +line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"234"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", +val:" "}]}]}]}]},{N:"varRef",line:"439",name:"Q{}attr",slot:"0"},{N:"callT",line:"440",name:"Q{}record-location",bSlot:"235"},{N:"applyT",line:"441",mode:"Q{}select.or.sequence",bSlot:"236",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"222",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}value-of",flags:"s",as:"1NE",line:"280",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest", +role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}value-of"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"281",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"283",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"l"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"237"}]},{N:"choose",line:"284",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"285",name:"flags",flags:"l",C:[{N:"str",val:"d"}]}]},{N:"varRef",line:"287",name:"Q{}attr", +slot:"0"},{N:"callT",line:"288",name:"Q{}record-location",bSlot:"238"},{N:"applyT",line:"289",mode:"Q{}attribute-sans-prefix",bSlot:"239",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}, +{N:"callT",line:"290",name:"Q{}constructSimpleContent",bSlot:"240"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"194",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}function",flags:"s",line:"98",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"99",C:[{N:"param",name:"Q{}has-uniform-static-context",slot:"0",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"100",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select", +size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"101","var":"Q{}params",as:"*NE",slot:"2",C:[{N:"treat",line:"102",as:"NE",diag:"3|0|XTTE0570|params",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"elem",line:"105",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"vis",flags:"l",C:[{N:"fn",name:"upper-case",C:[{N:"check",card:"?",diag:"0|0||fn:upper-case",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:upper-case",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:upper-case",C:[{N:"data",diag:"0|0||fn:upper-case",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"},{N:"str",val:"private"}]}]}]}]}]}]}]}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB", +to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"0"}]}]},{N:"elem",line:"107",name:"function",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"241",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}function",flags:"a"}]}]},{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"str",val:"item()*"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}params", +slot:"2"}]},{N:"int",val:"200"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}function", +flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context", +slot:"3"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", +C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"242"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose",line:"108",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"109",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"let",line:"112","var":"Q{}flags", +as:"1NT",slot:"4",C:[{N:"valueOf",line:"113",C:[{N:"fn",line:"114",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"choose",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"243",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}cache"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"m"}]}]},{N:"choose",line:"115",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"244",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://saxon.sf.net/}updating"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"u"}]}]},{N:"choose",line:"116",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"245",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://saxonica.com/ns/interactiveXSLT}updating"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"u"}]}]}]}]}]}]},{N:"str",val:""}]}]},{N:"sequence",line:"119",C:[{N:"choose",C:[{N:"data",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}flags",slot:"4"}]}, +{N:"att",line:"120",name:"flags",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}flags",slot:"4"}]}]}]}]},{N:"let",line:"127","var":"Q{}returnType",as:"1FM",slot:"5",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"246",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"247"}]},{N:"let",line:"131","var":"Q{}signature",as:"1FM k[AS] v[1]",slot:"6",C:[{N:"ifCall",line:"133",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"literal",count:"2",C:[{N:"map",size:"1",C:[{N:"str",val:"o"}, +{N:"str",val:"1"}]},{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"F"}]}]},{N:"ifCall",line:"135",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"r"},{N:"varRef",name:"Q{}returnType",slot:"5"}]},{N:"ifCall",line:"136",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"a"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}_from-sequence",type:"1FA",C:[{N:"for","var":"Q{}p",as:"NE",slot:"7",C:[{N:"varRef", +role:"in",name:"Q{}params",slot:"2"},{N:"ufCall",role:"return",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"248",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}p",slot:"7"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str", +val:"XTDE3365"}]}]},{N:"sequence",line:"141",C:[{N:"att",name:"as",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"249",C:[{N:"varRef",name:"Q{}returnType",slot:"5"}]}]},{N:"att",line:"142",name:"sig",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"250",C:[{N:"varRef",name:"Q{}signature",slot:"6"}]}]},{N:"att",line:"143",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"251",C:[{N:"varRef",name:"Q{}signature", +slot:"6"}]}]},{N:"callT",line:"145",name:"Q{}record-location",bSlot:"252"},{N:"varRef",line:"146",name:"Q{}params",slot:"2"},{N:"callT",line:"147",name:"Q{}sequence-constructor",bSlot:"253",C:[{N:"withParam",name:"Q{}include-params",flags:"c",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"149",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"254"},{N:"str",val:"body"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"0.0",seq:"162",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"s",line:"161",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}break"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"162",C:[{N:"param",name:"Q{}attr",slot:"0", +as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"ufCall",line:"163",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"255",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"ufCall",line:"163",name:"Q{MyFunctions}check-tail-position",tailCall:"false",bSlot:"256",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"elem",line:"164",name:"sequence", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"165",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"166",name:"Q{}record-location",bSlot:"257"},{N:"applyT",line:"167",mode:"Q{}select.or.sequence",bSlot:"258",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"elem",line:"168",name:"break",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"249", +rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge",flags:"s",line:"15",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", +role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"17",name:"merge",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"259"}]},{N:"varRef",line:"18",name:"Q{}attr",slot:"0"},{N:"applyT",line:"19",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"233", +rank:"1",minImp:"0",slots:"14",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"s",line:"15",module:"numbering.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}number"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"17",name:"Q{}static-context",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"18",name:"Q{}xpath-default-namespace",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", +as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"19",name:"Q{}ns",slot:"3",flags:"t",as:"?AS",C:[{N:"let",role:"select",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"4",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +as:"NE",diag:"0|0||f:encode-namespaces",C:[{N:"check",card:"1",diag:"0|0||f:encode-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1", +C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc", +op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"260"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|ns",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|ns", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"data",diag:"8|0|XTTE0590|ns",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"elem",line:"21",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"l"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"261"}]},{N:"varRef",line:"22",name:"Q{}attr",slot:"0"},{N:"elem",line:"23",name:"numSeqFmt",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", +C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"backward-compatibility"}]},{N:"int",val:"1"}]}]}]},{N:"choose",line:"24",C:[{N:"fn",line:"26",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]},{N:"sequence",line:"27",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA u[NA u[NA nQ{}select,NA nQ{}level],NA nQ{}count],NA nQ{}from]"}]}, +{N:"ufCall",line:"30",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"262",C:[{N:"str",val:"XTSE0975"},{N:"str",val:"xsl:number with @value must not have @select, @level, @count, or @from attributes"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"}]}]},{N:"elem",line:"32",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"value"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped", +to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"6",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"5"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln", +slot:"6"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"5"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"6"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"33",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]},{N:"true"},{N:"let",line:"37","var":"Q{}level",as:"1",slot:"7",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}level"},{N:"str",val:"single"}]}]},{N:"sequence",line:"38", +C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}level",slot:"7"}]},{N:"literal",count:"3",C:[{N:"str",val:"any"},{N:"str",val:"multiple"},{N:"str",val:"single"}]}]}]},{N:"ufCall",line:"41",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"263",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:number/@level must have a value single|multiple|any, given value:'"}, +{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}level",slot:"7"}]}]},{N:"str",val:"'"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}level"}]}]}]},{N:"elem",line:"43",name:"nodeNum",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"value"}]},{N:"att",name:"level",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"gc", +op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}level",slot:"7"}]},{N:"str",val:"multiple"}]},{N:"str",val:"multi"},{N:"true"},{N:"data",C:[{N:"varRef",name:"Q{}level",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"choose",line:"44",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}select,NA nQ{}value]"}]},{N:"att",line:"45",name:"needsNode",flags:"l",C:[{N:"str",val:"true"}]}]},{N:"elem", +line:"47",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"8",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"9",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"8"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"9"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln", +slot:"9"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"48",name:"Q{}xpath-default-namespace",slot:"2"}]}]},{N:"choose",line:"50",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}count"}]},{N:"elem",line:"51",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"count"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}count"}]}]}]}, +{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"10",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1", +C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"10"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"11",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"10"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"11"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node", +slot:"10"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"11"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"52",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]},{N:"choose",line:"55",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}from"}]},{N:"elem",line:"56",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"from"}]},{N:"att",name:"xpath", +flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}from"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"12",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1", +C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"12"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"13",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"12"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef", +name:"Q{}ln",slot:"13"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"12"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"13"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"57",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]}]}]}]}]}]},{N:"callT",line:"63",name:"Q{}numberFormat",bSlot:"264"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"258",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string", +flags:"s",line:"16",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"17",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA", +diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"18",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"19",name:"Q{}attr",slot:"2",as:"*NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"23",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"}]}]},{N:"ufCall",line:"25",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"265",C:[{N:"str",val:"XTSE1130"}, +{N:"str",val:"xsl:analyze-string must contain either xsl:matching-substring or xsl:non-matching-substring"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string",flags:"a"}]}]},{N:"choose",line:"27",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"},{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"}]}]},{N:"ufCall",line:"28", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"266",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:non-matching-substring must follow xsl:matching-substring"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"}]}]}]},{N:"choose",line:"30",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"},{N:"axis",name:"following-sibling", +nodeTest:"NE"}]}]},{N:"ufCall",line:"31",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"267",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:fallback must be the last child of xsl:analyze-string"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]}]},{N:"elem",line:"33",name:"analyzeString",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"34",C:[{N:"varRef",name:"Q{}attr", +slot:"2"},{N:"applyT",line:"35",mode:"Q{}create.xpath",bSlot:"268",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"},{N:"withParam",name:"Q{}checkType",as:"1AS",C:[{N:"str",val:"?AS"}]},{N:"withParam",name:"Q{}diagnostic",as:"1NA",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1307630072",bSlot:"269"}]}]}]},{N:"callT",line:"39",name:"Q{MyFunctions}AVT",bSlot:"270",C:[{N:"withParam",name:"Q{}avt-string",flags:"c", +as:"?NA nQ{}regex",C:[{N:"axis",line:"40",name:"attribute",nodeTest:"NA nQ{}regex"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"42",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"271"},{N:"str",val:"regex"}]}]}]}]}]},{N:"callT",line:"44",name:"Q{MyFunctions}AVT",bSlot:"272",C:[{N:"withParam",name:"Q{}avt-string", +flags:"c",as:"?NA nQ{}flags",C:[{N:"axis",line:"45",name:"attribute",nodeTest:"NA nQ{}flags"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"47",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"273"},{N:"str",val:"flags"}]}]}]}]}]},{N:"applyT",line:"49",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"172",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}where-populated",flags:"s",line:"137",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}where-populated"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"138", +C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"139",name:"condCont",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"140",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"141",name:"Q{}sequence-constructor",bSlot:"274"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"216",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}comment", +flags:"s",as:"1NE",line:"207",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}comment"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"208",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr", +C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"209",name:"comment",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_COMMENT",bSlot:"275"}]},{N:"varRef",line:"210",name:"Q{}attr",slot:"0"},{N:"callT",line:"211",name:"Q{}constructSimpleContent",bSlot:"276"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"393",rank:"3",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"1752",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.venn", +role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}minImp"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"247",rank:"3",minImp:"0",slots:"1",matches:"NA",flags:"s", +line:"108",module:"grouping.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-starting-with"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-ending-with"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"109",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"110",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"match"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"varRef",line:"111",name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"elem",line:"113",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"collation"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"202",rank:"3",minImp:"0",slots:"2", +matches:"NA",flags:"s",line:"305",module:"callable-components.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.nodeTest",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets"},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-attribute-sets"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"306",C:[{N:"param",name:"Q{}defined-attribute-sets",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"data",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"let",line:"307","var":"Q{}this",as:"1",slot:"1",C:[{N:"dot",type:"1NA",flags:"a"},{N:"forEach",line:"308",C:[{N:"fn",name:"tokenize", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"sequence",line:"309",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}defined-attribute-sets",slot:"0"},{N:"dot",type:"1AS"}]}]},{N:"ufCall",line:"310",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"277",C:[{N:"str",val:"XTSE0710"},{N:"fn", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'Undefined attribute set "'},{N:"dot",type:"1AS"}]},{N:"str",val:'"'}]},{N:"varRef",name:"Q{}this",slot:"1"}]}]},{N:"elem",line:"312",name:"useAS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"dot",type:"1AS"}]},{N:"att",name:"bSlot",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULIPLE_ATTRIBUTE",bSlot:"278"}]}]}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"0.5",seq:"390",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}*",flags:"s",line:"1736",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}*"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1737",type:"1NA nQ{}*",flags:"a"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"230",rank:"0",minImp:"0",slots:"12",matches:"NA",flags:"s",as:"1NE",line:"580",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"581",card:"1",diag:'7|0|XTTE0505|match="@*" mode="sef"',C:[{N:"sequence", +C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"582",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"583",name:"Q{}static-context", +slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"param",line:"584",name:"Q{}namespace-aliases",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|namespace-aliases",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|namespace-aliases",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"585",name:"Q{}default-collation",slot:"4",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", +as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"4"}]}]}]},{N:"let",line:"593","var":"Q{}namespace-aliases",as:"?FM",slot:"5",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"namespace-aliases"}]}]}]},{N:"let",line:"599","var":"Q{}attribute-name",as:"1AQ",slot:"6",C:[{N:"choose", +C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"fn",name:"prefix-from-QName",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"5"}]}]},{N:"let","var":"Q{}original-name",as:"1AQ",slot:"7",C:[{N:"check",card:"1",diag:"0|0||f:map-aliased-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"let","var":"Q{}namespace-aliases",as:"1FM",slot:"8",C:[{N:"check",card:"1",diag:"0|1||f:map-aliased-name", +C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"5"}]},{N:"let",line:"544","var":"Q{}original-uri",as:"1AU",slot:"9",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"7"}]},{N:"let",line:"547","var":"Q{}new-uri",as:"1AS",slot:"10",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef", +name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]}]},{N:"convert",line:"548",from:"AU",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri", +C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]},{N:"int",val:"2"}]}]}]}]}]}]},{N:"choose",line:"556",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"9"},{N:"varRef",name:"Q{}new-uri",slot:"10"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"7"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"11", +C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]},{N:"fn",line:"567",name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"10"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"11"}]},{N:"str", +val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"varRef",name:"Q{}prefix",slot:"11"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"7"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"3|0|XTTE0570|attribute-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"600",name:"att",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d", +C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}attribute-name",slot:"6"}]}]},{N:"att",name:"nsuri",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}attribute-name",slot:"6"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"279"}]},{N:"varRef",line:"601",name:"Q{}attr",slot:"0"},{N:"callT",line:"602",name:"Q{}value-template",bSlot:"280"}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"4",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"246",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}group-adjacent",flags:"s",line:"82",module:"grouping.xsl", +C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-adjacent"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"83",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty", +role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"84",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"85",name:"data", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"choose",line:"86",C:[{N:"ufCall",line:"87",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"281",C:[{N:"check",card:"?",diag:"0|0||f:boolean-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]},{N:"false"}]},{N:"elem",line:"88",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"88",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]}]},{N:"varRef",line:"89", +name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"true"},{N:"elem",line:"93",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1081126121",bSlot:"282"}]},{N:"elem",line:"95",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"95",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]}]},{N:"varRef",line:"96",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]}]},{N:"callT", +line:"102",name:"Q{MyFunctions}AVT",bSlot:"283",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}collation",C:[{N:"check",line:"103",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"?AS",C:[{N:"check",line:"104",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-collation",slot:"1"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]}]}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"105",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"284"},{N:"str",val:"collation"}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"1.0",seq:"392",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS",flags:"s",line:"1747",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1748",name:"defaultElementNS",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.15",seq:"152",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{}mode",flags:"s",line:"175",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"175",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]},{N:"str",val:"#current"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"176",C:[{N:"fn",line:"177",name:"exists",C:[{N:"sequence", +C:[{N:"fn",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]}]},{N:"fn",name:"reverse",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]},{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"normalize.xsl",line:"777",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"rules.xsl",line:"177",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}]}]}, +{N:"att",line:"178",name:"mode",C:[{N:"str",val:"#unnamed"}]},{N:"true"},{N:"att",line:"181",name:"flags",C:[{N:"str",val:"c"}]}]}]},{N:"templateRule",prec:"0",prio:"1.1",seq:"153",rank:"4",minImp:"0",slots:"0",matches:"NA nQ{}mode",flags:"s",line:"185",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"copyOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"186",flags:"c",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text", +flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"231",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}exclude",flags:"s",line:"606",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}exclude"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"347",part:"6",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"387",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}as",flags:"s",line:"1710",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", +C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1711",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]},{N:"fn",role:"select",name:"replace",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:replace", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"391",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"s",line:"1741",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1742",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"a"}]}]}]},{N:"att",line:"1743",name:"ns",C:[{N:"convert",from:"AZ",to:"AS", +C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"2",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"213",rank:"3",minImp:"0",slots:"0", +matches:"NA nQ{}namespace",flags:"s",line:"128",module:"creating-new-nodes.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}namespace"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"129",name:"nsuri",C:[{N:"convert",from:"AZ", +to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}namespace",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"7",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}version",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"245",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}group-by",flags:"s", +line:"68",module:"grouping.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-by"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t", +as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem", +line:"73",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"data(("},{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-by",flags:"a"}]}]},{N:"str",val:"))"}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1", +C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"73",type:"1NA nQ{}group-by",flags:"a"}]}]}]}]},{N:"varRef",line:"74",name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"callT",line:"76",name:"Q{MyFunctions}AVT",bSlot:"285",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}collation",C:[{N:"check",line:"77",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"?AS",C:[{N:"check",line:"78",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-collation",slot:"1"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]}]}]}, +{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"79",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"286"},{N:"str",val:"collation"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"5",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"}, +{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"386",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}select",flags:"s",line:"1706",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}select"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"applyT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1707",mode:"Q{}create.xpath",flags:"t",bSlot:"287",C:[{N:"dot",role:"select",type:"1NA nQ{}select",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"3",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"200",rank:"7", +minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"298",module:"callable-components.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"298",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data", +diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"xsl:initial-template"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"299",name:"name",C:[{N:"str",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template"}]}]},{N:"templateRule",prec:"0", +prio:"1.0",seq:"254",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}use-accumulators",flags:"s",line:"54",module:"merging.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"55",name:"accum",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"148",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}use-accumulators",flags:"s",line:"56",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"57",C:[{N:"param",name:"Q{}accumulators",slot:"0",flags:"t",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|accumulators",C:[{N:"supplied",slot:"0"}]}]},{N:"att",line:"64",name:"useAcc",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]},{N:"fn",name:"string-join", +C:[{N:"data",diag:"0|0||fn:string-join",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}accumulators",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}accumulators",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"str",val:" "}]},{N:"true"},{N:"data",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"232",rank:"0", +minImp:"0",slots:"2",matches:"NT",flags:"s",as:"1NE",line:"608",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NT"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"609",card:"1",diag:'7|0|XTTE0505|match="text()" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat", +role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"611",name:"Q{}expand-text",slot:"1",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|expand-text",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|expand-text",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|expand-text",C:[{N:"data",diag:"8|0|XTTE0590|expand-text",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"choose",line:"615",C:[{N:"varRef",line:"616",name:"Q{}expand-text", +slot:"1"},{N:"callT",line:"617",name:"Q{}value-template",bSlot:"288",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"varRef",line:"618",name:"Q{}attr",slot:"0"}]}]},{N:"true"},{N:"elem",line:"627",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"289"}]},{N:"varRef",line:"628",name:"Q{}attr",slot:"0"},{N:"elem",line:"629",name:"str",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NT",flags:"a"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"274",binds:"",C:[{N:"function",name:"Q{coBindings}bind",line:"209",module:"component-bindings.xsl",flags:"pU",as:"?ADI",slots:"2",C:[{N:"arg",name:"Q{}context",as:"1N"},{N:"arg",name:"Q{}name",as:"1AS"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"int",val:"1"}]}]}]}]}]},{N:"co",id:"252",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}LBRACE",as:"1ADI",line:"17",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"123"}]}]}, +{N:"co",id:"4",binds:"",C:[{N:"globalVariable",name:"Q{}xslt.standard.attributes",as:"+NE",line:"309",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"310",C:[{N:"elem",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-collation"}]}, +{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:uri-list"}]}]}]},{N:"elem",line:"311",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-mode"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:default-mode-type"}]}]}]},{N:"elem",line:"312",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-validation"}]},{N:"att",name:"type", +flags:"l",C:[{N:"str",val:"xsl:validation-strip-or-preserve"}]},{N:"att",name:"default",flags:"l",C:[{N:"str",val:"strip"}]}]}]},{N:"elem",line:"313",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"exclude-result-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefix-list-or-all"}]}]}]},{N:"elem",line:"314",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name", +flags:"l",C:[{N:"str",val:"expand-text"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:yes-or-no"}]}]}]},{N:"elem",line:"315",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"extension-element-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefix-list"}]}]}]},{N:"elem",line:"316",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str", +val:"use-when"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:expression"}]}]}]},{N:"elem",line:"317",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"version"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:decimal"}]}]}]},{N:"elem",line:"318",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"xpath-default-namespace"}]},{N:"att", +name:"type",flags:"l",C:[{N:"str",val:"xs:anyURI"}]}]}]},{N:"elem",line:"319",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-collation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"320",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-mode"}]},{N:"att",name:"type",flags:"l",C:[{N:"str", +val:"xs:string"}]}]}]},{N:"elem",line:"321",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-validation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"322",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_exclude-result-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]}, +{N:"elem",line:"323",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_expand-text"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"324",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_extension-element-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"325", +name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_use-when"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"326",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_version"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:decimal"}]}]}]},{N:"elem",line:"327",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema", +C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_xpath-default-namespace"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"328",name:"xs:anyAttribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"namespace",flags:"l",C:[{N:"str",val:"##other"}]},{N:"att",name:"processContents",flags:"l",C:[{N:"str",val:"lax"}]}]}]}]}]}]},{N:"co",id:"262",binds:"1 256",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_TEXT",as:"1AS",line:"49", +module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"49",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_TEXT",bSlot:"1"}]}]}]},{N:"co",id:"275",binds:"",C:[{N:"function",name:"Q{MyTypes}toString",line:"323",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"325",name:"serialize",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]}]},{N:"co",id:"136",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg2135267024",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289", +name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0505"},{N:"str",val:"template result"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"137",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ITEM",as:"1FM k[AS] v[1AS]",line:"11",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map", +size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"131",binds:"132 69 7 1 1",C:[{N:"template",name:"Q{}Sequence-and-type",flags:"os",line:"498",module:"xpath.xsl",slots:"5",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"499",C:[{N:"param",name:"Q{}parts",slot:"0",flags:"r",as:"*NE", +C:[{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|parts",C:[{N:"supplied",slot:"0"}]}]},{N:"choose",line:"503",C:[{N:"fn",line:"504",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]},{N:"elem",line:"505",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"0"}]},{N:"slash",line:"506",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis", +name:"attribute",nodeTest:"NA"}]}]}]},{N:"true"},{N:"let",line:"513","var":"Q{}commonTypeAsMap",as:"1FM",slot:"1",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"1",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"2",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]},{N:"let",line:"514","var":"Q{}commonType",slot:"2",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"1"}]},{N:"choose",line:"517",C:[{N:"every",line:"520","var":"Q{}p",slot:"3",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1", +C:[{N:"varRef",name:"Q{}p",slot:"3"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"521",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]}]},{N:"slash",line:"522",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}, +{N:"att",line:"523",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"524",name:"Q{}parts",slot:"0"}]}]},{N:"fn",line:"527",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]}]},{N:"copy",line:"528",flags:"in",sit:"1",C:[{N:"sequence",role:"content",line:"529",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"530",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"531",name:"Q{}parts",slot:"0"}]}]},{N:"compareToInt",line:"534",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"535","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"forEach",line:"536",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"copy",line:"537",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"538",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"543",flags:"in",sit:"1",C:[{N:"sequence",role:"content",line:"545",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"548",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"4",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", +type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"548",name:"Q{}commonTypeAsMap",slot:"1"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"549",name:"Q{}parts",slot:"0"}]}]}]}]}]}]}]}]}]},{N:"co",id:"36",binds:"",C:[{N:"globalVariable",name:"Q{}codepoint.collation",as:"1AU",line:"25", +module:"sorting.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"atomic",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint",type:"AU"}]}]},{N:"co",id:"276",binds:"",C:[{N:"function",name:"Q{MyTypes}typeOf",line:"1204",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}item",as:"1"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1206",C:[{N:"instance", +line:"1207",of:"1N",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1208",C:[{N:"instance",line:"1209",of:"1NE",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NE"},{N:"instance",line:"1210",of:"1NA",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NA"},{N:"instance",line:"1211",of:"1NT",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NT"},{N:"instance",line:"1212",of:"1NC",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NC"},{N:"instance",line:"1213",of:"1NP", +C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NP"},{N:"instance",line:"1214",of:"1ND",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"ND"},{N:"true"},{N:"str",val:"N"}]},{N:"instance",line:"1218",of:"1A",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1219",C:[{N:"instance",line:"1220",of:"1AS",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AS"},{N:"instance",line:"1221",of:"1AB",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AB"},{N:"instance",line:"1222", +of:"1AD",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AD"},{N:"instance",line:"1223",of:"1ADI",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"ADI"},{N:"instance",line:"1224",of:"1AQ",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AQ"},{N:"instance",line:"1225",of:"1AU",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AU"},{N:"instance",line:"1226",of:"1AA",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AA"},{N:"instance",line:"1227",of:"1AM",C:[{N:"varRef", +name:"Q{}item",slot:"0"}]},{N:"str",val:"AM"},{N:"instance",line:"1228",of:"1AT",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AT"},{N:"instance",line:"1229",of:"1AR",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AR"},{N:"instance",line:"1230",of:"1AO",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AO"},{N:"instance",line:"1231",of:"1AF",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AF"},{N:"instance",line:"1232",of:"1A2",C:[{N:"varRef",name:"Q{}item",slot:"0"}]}, +{N:"str",val:"A2"},{N:"instance",line:"1233",of:"1AX",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AX"},{N:"instance",line:"1234",of:"1AZ",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AZ"},{N:"true"},{N:"str",val:"A"}]},{N:"instance",line:"1238",of:"1F",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1239",C:[{N:"instance",line:"1240",of:"1FM",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"FM"},{N:"instance",line:"1241",of:"1FM",C:[{N:"varRef",name:"Q{}item", +slot:"0"}]},{N:"str",val:"FA"},{N:"true"},{N:"str",val:"F"}]},{N:"true"},{N:"str",val:"J"}]}]}]},{N:"co",id:"277",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.ANY_ITEM_TYPE",as:"1AS",line:"160",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"item()"}]}]},{N:"co",id:"194",binds:"216",C:[{N:"mode",name:"Q{}expand-character-maps",onNo:"DC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"209",rank:"0",minImp:"0",slots:"1",matches:"NE n*:charMap",flags:"s", +as:"1NE",line:"156",module:"output.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE n*:charMap"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"156",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"157",C:[{N:"param",name:"Q{}charMaps",slot:"0",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|charMaps",C:[{N:"supplied",slot:"0"}]}]},{N:"copy",line:"158",flags:"cin",sit:"1NE n*:charMap",C:[{N:"sequence",role:"content",line:"159",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"forEach",line:"160",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize", +C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}]},{N:"callT",line:"161",name:"Q{}expandCharMapRef",bSlot:"0",C:[{N:"withParam",name:"Q{}charMapRef",flags:"c",as:"1AS",C:[{N:"fn",line:"162",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"withParam",name:"Q{}charMaps",flags:"c",as:"*NE",C:[{N:"varRef",line:"163",name:"Q{}charMaps",slot:"0"}]}]}]},{N:"axis",line:"166",name:"child",nodeTest:"NE n*:m"}]}]}]}]}]}]},{N:"co",id:"229",binds:"64", +C:[{N:"function",name:"Q{MyTypes}cvUntyped",line:"909",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"915",name:"cvUntyped",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"to",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"p"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"0"}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"916",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}, +{N:"varRef",line:"916",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"267",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1557557661",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-attribute/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"78",binds:"150",C:[{N:"template",name:"Q{MyFunctions}AVT",flags:"os",as:"1NE",line:"14",module:"value-templates.xsl",slots:"3",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~", +line:"15",card:"1",diag:"7|0|XTTE0505|f:AVT",C:[{N:"sequence",C:[{N:"param",name:"Q{}avt-string",slot:"0",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|avt-string",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"16",name:"Q{}default",slot:"1",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"17",name:"Q{}role",slot:"2",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"supplied",slot:"2"}]}]}]},{N:"choose",line:"18",C:[{N:"fn",line:"19",name:"exists",C:[{N:"varRef",name:"Q{}avt-string",slot:"0"}]},{N:"forEach",line:"20",flags:"t",C:[{N:"varRef", +name:"Q{}avt-string",slot:"0"},{N:"callT",line:"21",name:"Q{}value-template",bSlot:"0",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"?NA",C:[{N:"varRef",line:"22",name:"Q{}role",slot:"2"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"false"}]}]}]},{N:"fn",line:"27",name:"exists",C:[{N:"varRef",name:"Q{}default",slot:"1"}]},{N:"elem",line:"28",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l", +C:[{N:"varRef",name:"Q{}default",slot:"1"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"copyOf",line:"29",flags:"c",C:[{N:"varRef",name:"Q{}role",slot:"2"}]}]}]},{N:"true"},{N:"elem",line:"33",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"copyOf",line:"34",flags:"c",C:[{N:"varRef",name:"Q{}role",slot:"2"}]}]}]}]}]}]}]}]},{N:"co", +id:"278",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_UNTYPED_ATOMIC",as:"1FM k[AS] v[1AS]",line:"26",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"AZ"}]}]}]},{N:"co",id:"254",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}LPAREN",as:"1ADI",line:"15",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"40"}]}]},{N:"co",id:"246",binds:"",C:[{N:"globalParam",name:"Q{}staticParameters", +as:"1FM k[AQ]",line:"174",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",C:[{N:"map",size:"0"}]}]},{N:"co",id:"279",binds:"",C:[{N:"function",name:"Q{MyFunctions}namespace-uri-for-prefix-or-default",line:"168",module:"namespaces.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}prefix",as:"1AS"},{N:"arg",name:"Q{}element",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"0"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"1"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"0"},{N:"varRef",name:"Q{}element",slot:"1"}]}]}]}]},{N:"co",id:"280",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_DECIMAL",as:"1FM k[AS] v[1AS]",line:"20", +module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"AD"}]}]}]},{N:"co",id:"281",binds:"281",C:[{N:"function",name:"Q{MyFunctions}import-index",line:"704",module:"static.xsl",flags:"pmU",as:"1ADI",slots:"2",C:[{N:"arg",name:"Q{}in",as:"1NE"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"706","var":"Q{}next", +as:"?NE nQ{http://www.w3.org/1999/XSL/Transform}import",slot:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"first",C:[{N:"axis",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"}]}]},{N:"choose",line:"713",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}next",slot:"1"}]},{N:"arith",op:"+",calc:"i+i",C:[{N:"ufCall",name:"Q{MyFunctions}import-index",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:import-index",C:[{N:"varRef",name:"Q{}next", +slot:"1"}]}]},{N:"int",val:"1"}]},{N:"true"},{N:"int",val:"1"}]}]}]}]},{N:"co",id:"282",binds:"",C:[{N:"function",name:"Q{MyFunctions}symbolic-name",line:"56",module:"component-bindings.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}component",as:"1NE"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"59",card:"1",diag:"5|0|XTTE0780|f:symbolic-name#1", +C:[{N:"forEach",C:[{N:"check",line:"58",card:"1",diag:"3|0|XTTE0570|actor",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}component",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"60",C:[{N:"fn",line:"61",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalParam,NE nQ{http://ns.saxonica.com/xslt/export}globalVariable]"}]},{N:"fn",line:"62",name:"concat",C:[{N:"str",val:"V:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first", +C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"64",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}attributeSet"}]},{N:"fn",line:"65",name:"concat",C:[{N:"str",val:"A:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"67",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"fn",line:"68",name:"concat",C:[{N:"str",val:"T:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}, +{N:"str",val:""}]}]}]}]},{N:"fn",line:"70",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]},{N:"fn",line:"71",name:"concat",C:[{N:"str",val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"fn",line:"73",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"}]}, +{N:"fn",line:"74",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"true"},{N:"str",val:"???"}]}]}]}]}]},{N:"co",id:"271",binds:"78 79 78 79 78 79 78 79 78 79 78 79",C:[{N:"template",name:"Q{}numberFormat",flags:"os",as:"*NE",line:"68",module:"numbering.xsl",slots:"2",C:[{N:"sequence", +role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70", +name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"callT",line:"72",name:"Q{MyFunctions}AVT",bSlot:"0",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}format",C:[{N:"slash",line:"73",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}format"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"1"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"75",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"1"},{N:"str",val:"format"}]}]}]}]}]},{N:"callT",line:"77",name:"Q{MyFunctions}AVT",bSlot:"2",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}start-at",C:[{N:"slash",line:"78", +simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}start-at"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"1"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"80",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"3"},{N:"str",val:"startAt"}]}]}]}]}]},{N:"choose",line:"82",C:[{N:"fn",name:"exists", +C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-separator"}]}]},{N:"callT",line:"83",name:"Q{MyFunctions}AVT",bSlot:"4",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}grouping-separator",C:[{N:"slash",line:"84",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-separator"}]}]},{N:"withParam",name:"Q{}default", +flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"86",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"5"},{N:"str",val:"gpSep"}]}]}]}]}]}]},{N:"choose",line:"89",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-size"}]}]},{N:"callT", +line:"90",name:"Q{MyFunctions}AVT",bSlot:"6",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}grouping-size",C:[{N:"slash",line:"91",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-size"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"0"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"93",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role", +C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"7"},{N:"str",val:"gpSize"}]}]}]}]}]}]},{N:"choose",line:"96",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ordinal"}]}]},{N:"callT",line:"97",name:"Q{MyFunctions}AVT",bSlot:"8",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}ordinal",C:[{N:"slash",line:"98",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot", +flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ordinal"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"false"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"100",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"9"},{N:"str",val:"ordinal"}]}]}]}]}]}]},{N:"choose",line:"103",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}lang"}]}]},{N:"callT",line:"107",name:"Q{MyFunctions}AVT",bSlot:"10",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}lang",C:[{N:"slash",line:"108",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}lang"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"en"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat", +line:"110",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"11"},{N:"str",val:"lang"}]}]}]}]}]}]}]}]}]},{N:"co",id:"239",binds:"",C:[{N:"globalVariable",name:"Q{}ST.EMPTY_SEQUENCE",as:"1FM k[AS] v[1AS]",line:"10",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"0"},{N:"str",val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"142",binds:"",C:[{N:"mode",name:"Q{}pattern-with-current", +onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"300",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fn",flags:"s",line:"1538",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1538",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"current"}]}]},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1539",name:"varRef",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions}current"}]}, +{N:"att",name:"slot",flags:"l",C:[{N:"str",val:"0"}]},{N:"axis",line:"1540",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"co",id:"283",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ZERO_OR_ONE",as:"1ADI",line:"110",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"3"}]}]},{N:"co",id:"284",binds:"",C:[{N:"function",name:"Q{MyFunctions}QNameToEQ",line:"161",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}qname",as:"1AQ"},{N:"fn",role:"body", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"0"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"0"}]}]}]}]},{N:"co",id:"285",binds:"",C:[{N:"globalVariable", +name:"Q{}ST.SINGLE_DECIMAL",as:"1FM k[AS] v[1AS]",line:"21",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AD"}]}]}]},{N:"co",id:"150",binds:"251 72 72 72 262 262",C:[{N:"template",name:"Q{}value-template",flags:"os",as:"?NE",line:"41",module:"value-templates.xsl",slots:"13",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~", +line:"42",card:"?",diag:"7|0|XTTE0505|value-template",C:[{N:"sequence",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"43",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check", +card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"44",name:"Q{}has-uniform-static-context",slot:"2",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param", +line:"45",name:"Q{}default-collation",slot:"3",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"47",name:"Q{}backward-compatibility",slot:"4",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|backward-compatibility", +C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"data",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"supplied",slot:"4"}]}]}]}]}]},{N:"param",line:"48",name:"Q{}attr",slot:"5",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"5"}]}]},{N:"let",line:"56","var":"Q{}text.value",as:"1",slot:"6",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat", +as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NA"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NT"}]}]}]},{N:"dot",flags:"a"},{N:"true"},{N:"fn",name:"normalize-space", +C:[{N:"check",card:"?",diag:"0|0||fn:normalize-space",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"let",line:"57","var":"Q{}lineNr",as:"1ADI",slot:"7",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}node",as:"1N",slot:"8",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:line-number",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|1|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]},{N:"treat",module:"lib.xsl", +line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"9",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", +C:[{N:"varRef",name:"Q{}node",slot:"8"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"9"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"9"}]}]}]}]}]}]}]}]}]},{N:"let",line:"58","var":"Q{}loc",as:"1AS",slot:"10",C:[{N:"choose",line:"59",C:[{N:"instance",line:"60",of:"1NA",C:[{N:"dot",flags:"a"}]},{N:"convert", +line:"60",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/@"},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"instance", +line:"61",of:"1NT",C:[{N:"dot",flags:"a"}]},{N:"convert",line:"61",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/text()"}]}]}]}]},{N:"true"},{N:"convert",line:"62", +from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|1|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"let",line:"66","var":"Q{}parts",as:"*NE",slot:"11",C:[{N:"choose",line:"67",C:[{N:"fn",line:"68",name:"contains",C:[{N:"check",card:"?",diag:"0|0||fn:contains",C:[{N:"convert", +from:"A",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"str",val:"{"}]},{N:"forEach",line:"69",C:[{N:"ufCall",name:"Q{MyFunctions}parse-value-template",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:parse-value-template",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:parse-value-template",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-value-template", +C:[{N:"data",diag:"0|0||f:parse-value-template",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"treat",as:"N",diag:"0|1||f:parse-value-template",C:[{N:"dot",flags:"a"}]}]},{N:"choose",line:"70",C:[{N:"compareToString",line:"71",op:"eq",val:"literal",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"elem",line:"72",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]}, +{N:"and",line:"74",op:"and",C:[{N:"compareToString",op:"eq",val:"expression",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"\\S+"},{N:"str",val:""}]}]},{N:"elem",line:"75",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l", +C:[{N:"str",val:"string-join"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"1"}]},{N:"let",line:"76","var":"Q{}content",as:"1NE",slot:"12",C:[{N:"elem",line:"77",name:"convert",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"from",flags:"l",C:[{N:"str",val:"AZ"}]},{N:"att",name:"to",flags:"l",C:[{N:"str",val:"AS"}]},{N:"elem",line:"78",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"elem",line:"79", +name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"elem",line:"80",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]},{N:"att",name:"loc",flags:"l",C:[{N:"varRef",name:"Q{}loc",slot:"10"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}lineNr",slot:"7"}]}]},{N:"att",name:"allow-empty", +flags:"l",C:[{N:"str",val:"true"}]},{N:"choose",line:"81",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"4"},{N:"att",line:"82",name:"BC",flags:"l",C:[{N:"str",val:"true"}]}]},{N:"varRef",line:"85",name:"Q{}xpath-default-namespace",slot:"1"},{N:"varRef",line:"85",name:"Q{}default-collation",slot:"3"}]}]}]}]}]}]},{N:"sequence",line:"92",C:[{N:"choose",C:[{N:"varRef",line:"93",name:"Q{}backward-compatibility",slot:"4"},{N:"elem",line:"94",name:"first",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"varRef",line:"95",name:"Q{}content",slot:"12"}]},{N:"true"},{N:"varRef",line:"99",name:"Q{}content",slot:"12"}]},{N:"elem",line:"102",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:" "}]}]}]}]}]}]},{N:"true"},{N:"elem",line:"106",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]},{N:"true"},{N:"elem",line:"112",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att", +name:"val",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"str",val:"\\}\\}"},{N:"str",val:"}"},{N:"str",val:""}]}]}]}]},{N:"choose",line:"117",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]}, +{N:"axis",name:"self",nodeTest:"NA"}]}]},{N:"choose",line:"118",C:[{N:"fn",line:"119",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"11"}]},{N:"elem",line:"120",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"2"}]},{N:"varRef",line:"121",name:"Q{}attr",slot:"5"}]}]},{N:"compareToInt",line:"124",op:"lt",val:"2",C:[{N:"fn",name:"count", +C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"forEach",line:"125",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"copy",line:"126",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"127",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}attr",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"132",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"concat"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"3"}]},{N:"varRef",line:"133",name:"Q{}attr",slot:"5"},{N:"varRef",line:"135",name:"Q{}parts",slot:"11"},{N:"elem",line:"137",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]}]}]}]}]},{N:"fn",line:"144",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"11"}]},{N:"empty"},{N:"compareToInt", +line:"145",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"elem",line:"146",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"4"}]},{N:"varRef",line:"147",name:"Q{}attr",slot:"5"},{N:"varRef",line:"148",name:"Q{}parts",slot:"11"}]}]},{N:"true"},{N:"elem",line:"152",name:"valueOf", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"5"}]},{N:"varRef",line:"153",name:"Q{}attr",slot:"5"},{N:"elem",line:"154",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string-join"}]},{N:"elem",line:"155",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"156",name:"Q{}parts", +slot:"11"}]},{N:"elem",line:"158",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"230",binds:"1",C:[{N:"function",name:"Q{MyTypes}treat",line:"879",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"886",name:"treat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"ufCall",line:"885",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"str",val:"^[01*+?]"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"choose",line:"887",C:[{N:"gc",line:"888",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"o"}]}]},{N:"str",val:"*"}]},{N:"sequence",line:"889",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",name:"Q{}expression",slot:"0"}]},{N:"true"},{N:"sequence",line:"892",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"elem",line:"893",name:"check", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"o"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"894",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}, +{N:"varRef",line:"894",name:"Q{}expression",slot:"0"}]}]}]}]}]}]}]}]},{N:"co",id:"286",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_INTEGER",as:"1FM k[AS] v[1AS]",line:"22",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"ADI"}]}]}]},{N:"co",id:"287",binds:"",C:[{N:"function",name:"Q{MyFunctions}error-code",line:"31",module:"lib.xsl",flags:"pU",as:"1AQ",slots:"1",C:[{N:"arg",name:"Q{}code",as:"*"},{N:"fn", +role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:QName",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:QName",C:[{N:"data",diag:"0|1||fn:QName",C:[{N:"varRef",name:"Q{}code",slot:"0"}]}]}]}]}]}]}]}, +{N:"co",id:"288",binds:"",C:[{N:"globalVariable",name:"Q{}saxonjsVersion",as:"1AS",line:"171",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"str",val:"2.7"}]}]},{N:"co",id:"263",binds:"22",C:[{N:"template",name:"Q{}check-select",flags:"os",as:"0",line:"62",module:"lib.xsl",slots:"0",C:[{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"63",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"check",line:"64",card:"0",diag:"7|0|XTTE0505|check-select",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" must have an @select attribute"}]}, +{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"co",id:"269",binds:"1 108",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ATTRIBUTE",as:"1AS",line:"53",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"53",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ATTRIBUTE",bSlot:"1"}]}]}]},{N:"co",id:"289",binds:"", +C:[{N:"globalVariable",name:"Q{}END_OF_ALPHABET",as:"1ADI",line:"125",module:"static.xsl",visibility:"PRIVATE",C:[{N:"int",val:"50000"}]}]},{N:"co",id:"106",binds:"102 22 120 48 22 105 164 22 105 48 105 34 22 22 22 22 22 22 22 251 29 29",C:[{N:"mode",name:"Q{}static",onNo:"SC",flags:"W",patternSlots:"1",C:[{N:"templateRule",prec:"0",prio:"5.01",seq:"329",rank:"10",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"25",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", +test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"25",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"26",C:[{N:"param", +name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"31",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"1NA",C:[{N:"att",line:"29",name:"xpath-default-namespace",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"5.0",seq:"324",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"5.0",seq:"4",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"718",module:"static.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"718",flags:"",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"union",op:"|",C:[{N:"union",op:"|",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]}]}]}, +{N:"gc",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"718",op:">",card:"M:N",comp:"QUNC",C:[{N:"data",diag:"1|0||>",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"},{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]},{N:"dec",val:"3"}]}]},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"718",name:"not",C:[{N:"filter",flags:"b",C:[{N:"gVarRef",name:"Q{}top-level-declarations",bSlot:"0"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]}]}]}]}]}]}]},{N:"message",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"719",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"IGNORING "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"templateRule",prec:"0",prio:"3.5",seq:"362",rank:"8",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"130",module:"attributes.xsl",C:[{N:"p.withPredicate", +role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"130",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"131",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"132",name:"Q{}extension-element-prefixes",slot:"1",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|extension-element-prefixes",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-prefixes",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-prefixes", +C:[{N:"supplied",slot:"1"}]}]}]}]},{N:"nextMatch",line:"133",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"136",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}extension-element-prefixes",flags:"t",as:"*AS",C:[{N:"sequence",line:"135",C:[{N:"varRef",name:"Q{}extension-element-prefixes",slot:"1"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"20",rank:"7",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1028",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1028",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1029",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1", +diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1030",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1032","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose",line:"1033",C:[{N:"fn",line:"1034",name:"exists",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}_use-when"}]},{N:"check",line:"1035",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]}]}]}]},{N:"true"},{N:"check",line:"1038",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}]}]}]}]}]},{N:"let",line:"1042","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1043","var":"Q{}dot",as:"1",slot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"compElem",line:"1044",C:[{N:"str",role:"name", +val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1045",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"1047",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]}, +{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"4"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"let",line:"1052","var":"Q{}use",as:"1AB",slot:"5",C:[{N:"treat",line:"1055",as:"AB",diag:"3|0|XTTE0570|use",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|use",C:[{N:"data",diag:"3|0|XTTE0570|use",C:[{N:"try",flags:"r",C:[{N:"evaluate", +dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"withParam",name:"Q{}compileSyntax",as:"1AB",C:[{N:"false"}]}, +{N:"withParam",name:"Q{}errorsAsMessages",as:"1AB",C:[{N:"false"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1063",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Y"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall", +name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"let",line:"1068","var":"Q{}possibleCode",as:"1AS",slot:"6",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before",C:[{N:"data",diag:"0|0||fn:substring-before", +C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]},{N:"choose",line:"1075",C:[{N:"castable",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"substring-after",C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-after", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"fn",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str", +val:"code"}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"choose",line:"1079",C:[{N:"varRef",line:"1080",name:"Q{}use",slot:"5"},{N:"sequence",line:"1081",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b", +C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]}]}]},{N:"fn",line:"1082",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"str",val:"@xsl:use-when cannot be used on XSL element "}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]}]},{N:"nextMatch",line:"1084",flags:"t"}]},{N:"fn",line:"1086",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]},{N:"applyT",line:"1092",flags:"ct",bSlot:"-1",C:[{N:"copy",role:"select",line:"1088",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*", +C:[{N:"axis",role:"content",line:"1089",name:"attribute",nodeTest:"NA d[NA,NA u[NA nQ{}use-when,NA nQ{}_use-when]]"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"5",rank:"7",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"723",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"vc",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"723",op:"eq",onEmpty:"0",comp:"CCC", +C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{http://www.w3.org/XML/1998/namespace}space"}]},{N:"str",val:"preserve"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"724",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"725",flags:"t", +C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"727",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xml-space-preserve",flags:"t",as:"1AB",C:[{N:"true"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"19",rank:"6",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1023",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"1023",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1024",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"str",val:"@xsl:use-when cannot be used on XSL element "}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"3.0",seq:"21",rank:"5",minImp:"0",slots:"6",matches:"NE",flags:"s",line:"1149",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1149",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1150",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1151",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1153","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose", +line:"1154",C:[{N:"fn",line:"1155",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]},{N:"check",line:"1156",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]}]}]}]}, +{N:"true"},{N:"check",line:"1159",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"}]}]}]}]}]},{N:"let",line:"1163","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1164","var":"Q{}dot",as:"1",slot:"4", +C:[{N:"dot",type:"1NE",flags:"a"},{N:"compElem",line:"1165",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1166",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"1167",flags:"l",C:[{N:"fn",role:"name",name:"concat", +C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"4"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"let",line:"1171","var":"Q{}use",as:"1AB",slot:"5",C:[{N:"treat",line:"1174",as:"AB",diag:"3|0|XTTE0570|use",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|use",C:[{N:"data",diag:"3|0|XTTE0570|use", +C:[{N:"try",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch", +errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1176",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Z"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160", +C:[{N:"fn",line:"1179",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before",C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"fn",name:"substring-after", +C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-after",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]},{N:"choose",line:"1183",C:[{N:"varRef",name:"Q{}use",slot:"5"},{N:"nextMatch",line:"1184",flags:"t"}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"3.0",seq:"6",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"731",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"731",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"732","var":"Q{}version",as:"1AD",slot:"0",C:[{N:"callT",line:"733",name:"Q{}XSLT-version",bSlot:"2"},{N:"nextMatch",line:"735",flags:"t",C:[{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"736",name:"Q{}version",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"16",rank:"4",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"984",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"984",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"985",C:[{N:"param",name:"Q{}xml-space-preserve",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"986",name:"Q{}import-precedence",slot:"1",flags:"t",C:[{N:"int",role:"select",val:"1"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"987",name:"Q{}moduleLabel",slot:"2",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"convert",from:"A",to:"AS", +flags:"p",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"data",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"988",name:"Q{}precLabel",slot:"3",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|precLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|precLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"data",diag:"8|0|XTTE0590|precLabel", +C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"989",name:"Q{}stylesheet-properties",slot:"4",flags:"t",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|stylesheet-properties",C:[{N:"supplied",slot:"4"}]}]},{N:"copy",line:"990",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",C:[{N:"sequence",role:"content",line:"992",C:[{N:"att",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +"var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"3"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",line:"994",name:"ex:baseUri", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"att",line:"995",name:"ex:precLabel",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"varRef",name:"Q{}precLabel",slot:"3"}]},{N:"choose",line:"996",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}decimal-format,NE nQ{http://www.w3.org/1999/XSL/Transform}import],NE nQ{http://www.w3.org/1999/XSL/Transform}include],NE nQ{http://www.w3.org/1999/XSL/Transform}output]"}]}, +{N:"varRef",line:"997",name:"Q{}stylesheet-properties",slot:"4"}]},{N:"att",line:"999",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"6",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"7",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"6"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"7"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"7"}]}]}]}]}]}]}]}]}]}]}]},{N:"choose",line:"1000",C:[{N:"fn",name:"exists", +C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"ufCall",line:"1005",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"An XSLT element cannot have attribute(s) "},{N:"fn",name:"string-join",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"axis", +name:"attribute",nodeTest:"NA"},{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:","}]}]},{N:"str",val:" in the XSLT namespace"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"applyT",line:"1007",flags:"c",bSlot:"-1",C:[{N:"docOrder",role:"select",intra:"1",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}, +{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"applyT",line:"1010",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"4",C:[{N:"str",val:""},{N:"str",val:"http://saxon.sf.net/"},{N:"str",val:"http://ns.saxonica.com/xslt/export"},{N:"str",val:"http://www.w3.org/XML/1998/namespace"}]}, +{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"callT",line:"1011",name:"Q{}staticText",bSlot:"5",C:[{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1012",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"10",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"782",module:"static.xsl", +C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"NE"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"},{N:"p.nodeTest",test:"NE"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"783",C:[{N:"param",name:"Q{}XSLT-version",slot:"0",flags:"t",as:"1AD",C:[{N:"dec",role:"select",val:"3"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"data",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"choose",line:"784",C:[{N:"or",line:"785",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]}, +{N:"vc",op:"gt",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}XSLT-version",slot:"0"},{N:"dec",val:"3"}]}]},{N:"nextMatch",line:"786",flags:"t"},{N:"true"},{N:"ufCall",line:"790",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"7",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" must be the root element of a document, or the child of xsl:package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0", +prio:"0.9",seq:"17",rank:"3",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"1017",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1017",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, +{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"14",rank:"0",minImp:"0",slots:"26",matches:"NE",flags:"s",line:"834",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"835",C:[{N:"param",name:"Q{}required-version",slot:"0",as:"?AD",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|required-version", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|required-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|required-version",C:[{N:"data",diag:"8|0|XTTE0590|required-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"836",name:"Q{}has-uniform-static-context",slot:"1",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context", +C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"837",name:"Q{}extension-element-namespaces",slot:"2",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"supplied",slot:"2"}]}]}]}]},{N:"choose", +line:"841",C:[{N:"varRef",line:"842",name:"Q{}has-uniform-static-context",slot:"1"},{N:"copy",line:"843",flags:"in",sit:"1NE",C:[{N:"let",role:"content",line:"844","var":"Q{}lineNo",slot:"3",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall", +name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"845",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"compareToInt",op:"ne",val:"-1", +C:[{N:"varRef",name:"Q{}lineNo",slot:"3"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}lineNo",slot:"3"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"6",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:line-number", +C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln", +slot:"7",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"6"}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"7"},{N:"int",val:"-1"}]},{N:"instance",of:"1NE",C:[{N:"varRef",name:"Q{}node",slot:"6"}]}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"7"}]}]}]}]}]}]}]}]}]}]}]}, +{N:"att",line:"846",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}lineNo",slot:"3"}]}]}]},{N:"choose",line:"848",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"att",line:"849",name:"ex:baseUri",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l", +C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"851",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",line:"852",name:"ex:exclude",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",line:"909",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"slash",C:[{N:"dot",line:"852",type:"1NE",flags:"a"},{N:"fn",name:"reverse", +C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"true"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]}]}]}, +{N:"let",line:"910","var":"Q{}owner",as:"*N u[NE,ND]",slot:"8",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"choose",line:"912",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]}]}]},{N:"forEach",line:"913",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}owner",slot:"8"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NN"}]}]},{N:"true"},{N:"let",line:"923","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"1NE i[NE,N u[NE,ND]]",slot:"9",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}owner",slot:"8"}]},{N:"forEach",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot", +type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"}]}]},{N:"fn",name:"string",C:[{N:"dot",type:"1AU"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"forEach",line:"854",C:[{N:"union",op:"|",C:[{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis", +name:"child",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]},{N:"att",line:"855",name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"let",line:"857","var":"Q{}shadows",as:"*NA",slot:"10",C:[{N:"filter",flags:"b", +C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"858",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"10"}]}]}]},{N:"applyT",line:"859",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"10"}]},{N:"callT",line:"860",name:"Q{}staticText", +bSlot:"8"}]}]}]}]}]},{N:"true"},{N:"copy",line:"864",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"866",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"fn",name:"not",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}n1",as:"1NE",slot:"11",C:[{N:"dot", +ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"},{N:"let","var":"Q{}n2",as:"1NE",slot:"12",C:[{N:"treat",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",as:"NE",diag:"0|1||f:has-same-namespaces",C:[{N:"check",card:"1",diag:"0|1||f:has-same-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"let",module:"namespaces.xsl", +line:"120","var":"Q{}n1.prefixes",as:"*AS",slot:"13",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n1",slot:"11"}]},{N:"let",line:"121","var":"Q{}n2.prefixes",as:"*AS",slot:"14",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n2",slot:"12"}]},{N:"and",line:"127",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"13"}]},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"14"}]}]},{N:"every","var":"Q{}p", +slot:"15",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"13"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"14"},{N:"varRef",name:"Q{}p",slot:"15"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"15"},{N:"varRef",name:"Q{}n1",slot:"11"}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"15"},{N:"varRef",name:"Q{}n2",slot:"12"}]}]}]}]}]}]}]}]}]}]}]},{N:"att", +line:"867",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"16",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn", +name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}, +{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"9"},{N:"fn",name:"name", +C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"let",line:"869","var":"Q{}base",as:"?AU",slot:"17",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"sequence",line:"870",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"varRef",name:"Q{}base",slot:"17"},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri", +C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"att",line:"871",name:"ex:baseUri",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"varRef",name:"Q{}base",slot:"17"}]}]}]},{N:"choose",line:"873",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",line:"874",name:"ex:exclude",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",line:"909", +C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"slash",C:[{N:"dot",line:"874",type:"1NE",flags:"a"},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"true"},{N:"sequence",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]}]}]},{N:"let",line:"910","var":"Q{}owner",as:"*N u[NE,ND]",slot:"18",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"choose",line:"912",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]}]}]},{N:"forEach",line:"913",C:[{N:"slash", +simple:"2",C:[{N:"varRef",name:"Q{}owner",slot:"18"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NN"}]}]},{N:"true"},{N:"let",line:"923","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"19",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}owner",slot:"18"}]},{N:"forEach",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot",type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"19"}]}]},{N:"fn",name:"string",C:[{N:"dot",type:"1AU"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"forEach",line:"876",C:[{N:"union",op:"|", +C:[{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]},{N:"att",line:"877", +name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"let",line:"879","var":"Q{}lineNo",slot:"20",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"21",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"21"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"22",C:[{N:"ifCall", +name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"21"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"22"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"21"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"22"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"880",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"compareToInt",op:"ne", +val:"-1",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"23",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",card:"1", +diag:"0|0||f:line-number",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"24",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"23"}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"24"},{N:"int",val:"-1"}]},{N:"instance",of:"1NE",C:[{N:"varRef",name:"Q{}node",slot:"23"}]}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef", +name:"Q{}ln",slot:"24"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",line:"881",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"}]}]}]},{N:"let",line:"883","var":"Q{}shadows",as:"*NA",slot:"25",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"884",C:[{N:"applyT",flags:"c",bSlot:"-1", +C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"25"}]}]}]},{N:"applyT",line:"885",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"25"}]},{N:"callT",line:"886",name:"Q{}staticText",bSlot:"10"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"8",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",line:"770",module:"static.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"771",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",line:"772",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]},{N:"str",val:" cannot contain element "}]},{N:"slash",C:[{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]}]},{N:"nextMatch",line:"774",flags:"t",C:[{N:"withParam",name:"Q{}xml-space-preserve",flags:"t",as:"1AB",C:[{N:"true"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"18",part:"1",rank:"2",minImp:"0", +slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1019",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1019",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"1020",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Non-global "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",val:" "}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot be static"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5", +seq:"18",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"1019",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1019",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"1020",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Non-global "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",val:" "}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot be static"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5", +seq:"13",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"s",line:"802",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"802",name:"not",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"normalize.xsl",line:"777",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"802",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}, +{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"803",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE0190"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"a"}]},{N:"str",val:" must be a top-level component"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import", +flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"11",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"s",line:"796",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"796",C:[{N:"axis",name:"child",nodeTest:"NE"}, +{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"797",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE", +flags:"a"}]},{N:"str",val:" cannot have any content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"9",rank:"4",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"779",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"p.nodeTest",test:"NE"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"780",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"a"}]},{N:"str",val:" must be a the root element of a document"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"12",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}include", +flags:"s",line:"799",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"799",name:"not",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl", +line:"777",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"799",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]},{N:"ufCall",role:"action", +ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"800",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTSE0170"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"a"}]},{N:"str",val:" must be a top-level component"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"a"}]}]},{N:"templateRule", +prec:"0",prio:"0.5",seq:"11",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"s",line:"796",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"796",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b", +C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"797",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"18",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str", +val:" cannot have any content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"7",rank:"2",minImp:"0",slots:"7",matches:"NA",flags:"s",line:"740",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"740",name:"starts-with",C:[{N:"fn", +name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"741",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1", +diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"742",name:"Q{}var-slots",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"743",name:"Q{}stylesheet-base-uri",slot:"2",flags:"t",as:"1AU",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|stylesheet-base-uri",C:[{N:"fn",name:"base-uri", +C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"744",name:"Q{}xpath-default-namespace",slot:"3",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"3"}]}]}]},{N:"let",line:"745","var":"Q{}container",as:"1NE c~untyped",slot:"4",C:[{N:"let",line:"746","var":"Q{}dot",as:"*N u[NE,ND]",slot:"5",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"750","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"6",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}dot",slot:"5"}]}, +{N:"compElem",line:"747",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"3"}]}]}]},{N:"forEach",role:"content",line:"748",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"check",card:"1",diag:"0|0||fn:in-scope-prefixes",C:[{N:"varRef",name:"Q{}dot",slot:"5"}]}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"750",flags:"l",C:[{N:"fn", +role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]}]},{N:"compAtt",line:"755",C:[{N:"fn",role:"name",name:"substring",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"int",val:"2"}]},{N:"fn",role:"select",line:"757", +name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",line:"758",C:[{N:"ufCall",line:"757",name:"Q{MyFunctions}parse-value-template",tailCall:"false",bSlot:"19",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-value-template",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-value-template",C:[{N:"data",diag:"0|0||f:parse-value-template",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"dot",type:"1NA",flags:"a"}]},{N:"choose",line:"759",C:[{N:"compareToString", +line:"760",op:"eq",val:"literal",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"valueOf",line:"760",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]},{N:"true"},{N:"evaluate",line:"763",dxns:"",C:[{N:"convert",role:"xpath",from:"AZ",to:"AS",flags:"p",diag:"4|0||xsl:evaluate/xpath",C:[{N:"cvUntyped",to:"AS",diag:"4|0||xsl:evaluate/xpath",C:[{N:"data",diag:"4|0||xsl:evaluate/xpath",C:[{N:"dot",type:"1NA"}]}]}]},{N:"empty",role:"cxt"},{N:"convert",role:"baseUri", +from:"AU",to:"AS",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"2"}]},{N:"varRef",role:"nsCxt",name:"Q{}container",slot:"4"},{N:"str",role:"sa",val:"no"},{N:"ifCall",role:"options",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"1"}]},{N:"map", +size:"1",C:[{N:"str",val:"allow-empty"},{N:"true"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"22",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}use-when",flags:"s",line:"1188",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", +C:[{N:"p.nodeTest",test:"NA nQ{}use-when"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"22",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when",flags:"s",line:"1188",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"15",part:"1",rank:"1", +minImp:"0",slots:"2",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes",flags:"s",line:"892",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"895","var":"Q{}discard",slot:"1",C:[{N:"applyT",mode:"Q{}normalize",bSlot:"20",C:[{N:"dot",role:"select", +type:"1NA",flags:"a"}]},{N:"subscript",line:"897",C:[{N:"varRef",name:"Q{}discard",slot:"1"},{N:"int",val:"100000"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"15",rank:"2",minImp:"0",slots:"2",matches:"NA nQ{}exclude-result-prefixes",flags:"s",line:"892",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}exclude-result-prefixes"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"894","var":"Q{}discard",slot:"0",C:[{N:"applyT",line:"895",mode:"Q{}normalize",bSlot:"21",C:[{N:"dot",role:"select",type:"1NA",flags:"a"}]},{N:"subscript",line:"897",C:[{N:"varRef",name:"Q{}discard",slot:"0"},{N:"int",val:"100000"}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"23",rank:"0",minImp:"0",slots:"0",matches:"NC",flags:"s",line:"1189",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NC"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"23",part:"1", +rank:"0",minImp:"0",slots:"0",matches:"NP",flags:"s",line:"1189",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NP"},{N:"empty",role:"action"}]}]}]},{N:"co",id:"290",binds:"",C:[{N:"function",name:"Q{MyTypes}cardinalityCode",line:"46",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}indic",as:"?AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"66", +C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"*"}]},{N:"str",val:"Z1M"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"+"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}indic",slot:"0"}]}]},{N:"str",val:"1"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"?"}]},{N:"str",val:"Z1"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC", +C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]}]}]},{N:"co",id:"79",binds:"",C:[{N:"globalVariable",name:"Q{}roles",as:"1FM k[AS] v[1NA]",line:"577",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"587",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"literal",count:"31",C:[{N:"str",val:"action"},{N:"str",val:"select"},{N:"str",val:"match"},{N:"str",val:"body"},{N:"str",val:"content"},{N:"str",val:"sort"},{N:"str",val:"separator"},{N:"str",val:"caseOrder"},{N:"str",val:"dataType"},{N:"str",val:"collation"},{N:"str",val:"name"},{N:"str",val:"namespace"},{N:"str",val:"on-completion"},{N:"str",val:"baseUri"},{N:"str",val:"href"},{N:"str",val:"regex"},{N:"str",val:"flags"},{N:"str",val:"forEachItem"},{N:"str",val:"forEachStream"}, +{N:"str",val:"selectRows"},{N:"str",val:"startAt"},{N:"str",val:"format"},{N:"str",val:"count"},{N:"str",val:"gpSep"},{N:"str",val:"gpSize"},{N:"str",val:"stable"},{N:"str",val:"order"},{N:"str",val:"ordinal"},{N:"str",val:"lang"},{N:"str",val:"error"},{N:"str",val:"terminate"}]},{N:"ifCall",line:"588",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"att",line:"589",name:"role",C:[{N:"dot",type:"1AS"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, +{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"291",binds:"",C:[{N:"function",name:"Q{MyFunctions}comparableMergeKeys",line:"87",module:"merging.xsl",flags:"pU",as:"1AB",slots:"5",C:[{N:"arg",name:"Q{}k1",as:"1FA v[1FM]"},{N:"arg",name:"Q{}k2",as:"1FA v[1FM]"},{N:"and",role:"body",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"100",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"0"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k2",slot:"1"}]}]},{N:"every","var":"Q{}k",slot:"2",C:[{N:"to",C:[{N:"int",val:"1"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"0"}]}]}, +{N:"let","var":"Q{}a",slot:"3",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k1",slot:"0"},{N:"varRef",name:"Q{}k",slot:"2"}]},{N:"str",val:"p"}]},{N:"let","var":"Q{}b",slot:"4",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k2",slot:"1"},{N:"varRef",name:"Q{}k",slot:"2"}]},{N:"str",val:"p"}]},{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0", +comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}a",slot:"3"}]},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring", +C:[{N:"varRef",name:"Q{}a",slot:"3"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]},{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence", +C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}a",slot:"3"}]},{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]},{N:"co",id:"292",binds:"",C:[{N:"function",name:"Q{MyFunctions}lastCommon",line:"791",module:"type.xsl",flags:"pU",as:"1AS",slots:"5",C:[{N:"arg",name:"Q{}set1",as:"*AS"},{N:"arg",name:"Q{}set2",as:"*AS"},{N:"arg",name:"Q{}default",as:"1AS"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"796",card:"1",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"data",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"iterate",C:[{N:"varRef",role:"select",name:"Q{}set1",slot:"0"},{N:"params",role:"params",line:"797",C:[{N:"param",name:"Q{}common",slot:"3",C:[{N:"varRef",role:"select",name:"Q{}default",slot:"2"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param", +line:"798",name:"Q{}this2",slot:"4",C:[{N:"varRef",role:"select",name:"Q{}set2",slot:"1"},{N:"supplied",role:"conversion",slot:"4"}]}]},{N:"varRef",role:"on-completion",line:"799",name:"Q{}common",slot:"3"},{N:"choose",role:"action",line:"801",C:[{N:"vc",line:"802",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1AS"},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"first",C:[{N:"varRef",name:"Q{}this2",slot:"4"}]}]}]},{N:"nextIteration",line:"803", +C:[{N:"withParam",name:"Q{}common",as:"1",slot:"3",C:[{N:"dot",line:"804",type:"1AS"}]},{N:"withParam",name:"Q{}this2",slot:"4",C:[{N:"tail",line:"805",start:"2",C:[{N:"varRef",name:"Q{}this2",slot:"4"}]}]}]},{N:"true"},{N:"sequence",line:"809",C:[{N:"varRef",name:"Q{}common",slot:"3"},{N:"break"}]}]}]}]}]}]}]}]}]},{N:"co",id:"293",binds:"",C:[{N:"function",name:"Q{MyTypes}allowsZeroNEW",line:"131",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"1AS"},{N:"fn", +role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"133",name:"contains",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"133",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"133",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"133",name:"Q{}cardinality", +slot:"0"}]},{N:"str",val:"1"},{N:"compareToString",line:"133",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"133",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"str",val:"Z"}]}]}]},{N:"co",id:"294",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.EXACTLY_ONE",as:"1ADI",line:"112",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co", +id:"1",binds:"0",C:[{N:"function",name:"Q{MyTypes}unmarshalType",line:"68",module:"sequenceType.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"70",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType0",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]}]}]},{N:"co",id:"295",binds:"1 118",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_ITEM", +as:"1AS",line:"46",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"46",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_ITEM",bSlot:"1"}]}]}]},{N:"co",id:"296",binds:"1 278",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_UNTYPED_ATOMIC",as:"1AS",line:"61",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"61",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_UNTYPED_ATOMIC",bSlot:"1"}]}]}]},{N:"co",id:"245",binds:"106 106 48 170 29 190 22 22",C:[{N:"mode",name:"Q{}compile",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"1.5",seq:"374",rank:"1",minImp:"0",slots:"10",matches:"NE",flags:"s",line:"351",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"}, +{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"352",C:[{N:"param",name:"Q{}stylesheet-base-uri",slot:"0",flags:"t",as:"?AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot", +type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"353",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check", +card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"354",name:"Q{}defaultHTML5",slot:"2",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"356",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options", +slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"357",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting static processing for"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"baseURI:"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"359","var":"Q{}static-processed",as:"1ND",slot:"3",C:[{N:"doc",line:"360",C:[{N:"copy", +flags:"cinl",sit:"1NE",C:[{N:"let",role:"content",line:"361","var":"Q{}shadows",as:"*NA",slot:"4",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"362",C:[{N:"applyT",mode:"Q{}static",bSlot:"0",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"4"}]}]}]},{N:"applyT", +line:"364",mode:"Q{}static",bSlot:"1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"4"}]},{N:"att",line:"365",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef", +name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"2"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"choose",line:"366",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"att",line:"367",name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"let",line:"369","var":"Q{}temp",as:"1FM",slot:"6",C:[{N:"treat",line:"370",as:"FM",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"3",C:[{N:"dot",role:"select",type:"1NE",flags:"a"},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"check",line:"372",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri", +C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"0"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]}]}]}]},{N:"lookup",line:"375",C:[{N:"varRef",name:"Q{}temp",slot:"6"},{N:"str",val:"components"}]}]}]}]}]}]},{N:"sequence",line:"379",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"380",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Static processed:"},{N:"fn",name:"serialize", +C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"382",C:[{N:"lookup",line:"383",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justStatic"}]},{N:"copyOf",line:"384",flags:"c",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]},{N:"true"},{N:"sequence",line:"387",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"statistics"}]}, +{N:"message",line:"388",C:[{N:"sequence",role:"select",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",val:" declarations\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}, +{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"str",val:"\n attributes "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef", +name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}]}]}]},{N:"str",val:" ex:* attributes "}]}]},{N:"let",line:"392","var":"Q{}largest",as:"?ADI",slot:"7",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"sequence", +line:"388",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"\n "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}largest",slot:"7"}]}]},{N:"str",val:" largest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"varRef", +line:"389",name:"Q{}largest",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"let",line:"396","var":"Q{}deepest",as:"?ADI",slot:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor",nodeTest:"NE"}]}]}]},{N:"valueOf",line:"388",C:[{N:"fn",name:"concat",C:[{N:"str",val:" "},{N:"fn",name:"string", +C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}deepest",slot:"8"}]}]},{N:"str",val:"\n deepest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",comp:"CAVC",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"axis",name:"descendant",nodeTest:"NE"},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor",nodeTest:"NE"}]}]}]},{N:"varRef",line:"389", +name:"Q{}deepest",slot:"8"}]}]}]}]}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"400",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"401",C:[{N:"str",role:"select",val:"Starting Normalization"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"403","var":"Q{}normalized", +slot:"9",C:[{N:"applyT",line:"404",mode:"Q{}normalize",bSlot:"4",C:[{N:"varRef",role:"select",name:"Q{}static-processed",slot:"3"},{N:"withParam",name:"Q{}allowSyntaxExtensions",flags:"t",as:"1",C:[{N:"first",line:"408",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"allowSyntaxExtensions"}]},{N:"false"}]}]}]}]},{N:"choose",line:"411",C:[{N:"lookup",line:"412",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justNormalize"}]},{N:"varRef",line:"413", +name:"Q{}normalized",slot:"9"},{N:"true"},{N:"sequence",line:"416",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"417",C:[{N:"str",role:"select",val:"Starting XSLT compiling"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"419",mode:"Q{}sef.top",flags:"t",bSlot:"5",C:[{N:"varRef",role:"select",name:"Q{}normalized",slot:"9"}]}]}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"1.0",seq:"375",rank:"0",minImp:"0",slots:"6",matches:"NE",flags:"s",line:"427",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE"},{N:"p.nodeTest",test:"ND"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"428",C:[{N:"param", +name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"429",name:"Q{}defaultHTML5",slot:"1",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5", +C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"431","var":"Q{}embedded",as:"*NE",slot:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform]"},{N:"let",line:"432","var":"Q{}stylesheet-base-uri",as:"1AU",slot:"3",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|stylesheet-base-uri",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"choose", +line:"434",C:[{N:"fn",line:"435",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}embedded",slot:"2"}]}]},{N:"ufCall",line:"438",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"6",C:[{N:"str",val:"XTSE0150"},{N:"str",val:"There must not be more than one embedded stylesheet in a document"},{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",line:"440",name:"exists",C:[{N:"varRef",name:"Q{}embedded",slot:"2"}]},{N:"let",line:"449","var":"Q{}temp",as:"1ND",slot:"4",C:[{N:"doc",line:"450", +C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",line:"442",simple:"1",C:[{N:"doc",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}embedded",slot:"2"},{N:"copy",line:"443",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"444",C:[{N:"att",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"copyOf",line:"445",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf", +line:"445",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]},{N:"axis",line:"450",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"first",line:"452",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"3"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]}]},{N:"slash",line:"456",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"true"},{N:"sequence", +line:"459",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"ufCall",line:"467",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"7",C:[{N:"str",val:"XTSE0150"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}package"}]},{N:"str",val:"Supplied stylesheet is a SEF package"},{N:"true"},{N:"str",val:"Simplified stylesheet root element lacks @xsl:version"}]}, +{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"481","var":"Q{}processed",as:"1ND",slot:"5",C:[{N:"treat",line:"482",as:"ND",diag:"3|0|XTTE0570|processed",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",line:"470",simple:"1",C:[{N:"doc",C:[{N:"elem",line:"471",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"att",line:"472",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"474",name:"xsl:template",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"match",flags:"l",C:[{N:"str",val:"/"}]},{N:"copy",line:"475",flags:"cinl",sit:"1NE", +C:[{N:"sequence",role:"content",line:"476",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"axis",line:"482",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"varRef",line:"484",name:"Q{}stylesheet-base-uri",slot:"3"}]}]}]}]},{N:"slash",line:"487",simple:"1",C:[{N:"varRef",name:"Q{}processed",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"297",binds:"", +C:[{N:"globalVariable",name:"Q{}XTTE0510",as:"1AQ",line:"342",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"}]}]},{N:"co",id:"143",binds:"1 179",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_STRING",as:"1AS",line:"60",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"60",name:"Q{MyTypes}unmarshalType", +tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_STRING",bSlot:"1"}]}]}]},{N:"co",id:"192",binds:"22 237 43 11 11",C:[{N:"mode",name:"Q{}serialization-property",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.25",seq:"204",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}*",flags:"s",line:"112",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"empty",role:"action"}]}, +{N:"templateRule",prec:"0",prio:"-0.5",seq:"205",rank:"0",minImp:"0",slots:"1",matches:"NA",flags:"s",line:"114",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"115",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check", +card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"117",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]}]}]},{N:"ufCall",line:"120",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE1560"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output declarations contain conflicting values for property "}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:":"}]},{N:"fn",name:"string-join",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]},{N:"str",val:","}]}]},{N:"first",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]}]},{N:"choose",line:"122",C:[{N:"and",line:"123",op:"and",C:[{N:"compareToString",op:"eq",val:"version",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",name:"not",C:[{N:"fn", +name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"125",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"and",line:"127",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"1"},{N:"fn",name:"local-name", +C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"129",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"fn",line:"131",name:"namespace-uri",C:[{N:"dot", +type:"1NA",flags:"a"}]},{N:"elem",line:"133",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"2",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"206",part:"1",rank:"2",minImp:"0",slots:"7",matches:"NA nQ{}suppress-indentation",flags:"s",line:"138",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}suppress-indentation"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"139",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat", +role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check",card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"140","var":"Q{}decl",as:"*N u[NE,ND]",slot:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"5",flags:"l",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:EQName",C:[{N:"fn",name:"namespace-uri-for-prefix", +C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"4"}]}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"6",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"4"}]},{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA", +flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}group",slot:"0"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"3",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"6"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"206",rank:"2",minImp:"0",slots:"7",matches:"NA nQ{}cdata-section-elements",flags:"s",line:"138",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}cdata-section-elements"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"139",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check",card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"140","var":"Q{}decl",as:"*N u[NE,ND]",slot:"1",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"2",flags:"l",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped", +to:"AS",diag:"0|3||f:EQName",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"1"}]}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"3",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"1"}]},{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name", +flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}group",slot:"0"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"4",C:[{N:"dot", +type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"2"}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"31",binds:"",C:[{N:"function",name:"Q{MyFunctions}selectAndContent",line:"22",module:"normalize4.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}instruction",as:"1NE"},{N:"and",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"24",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}instruction",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"exists",C:[{N:"slash",C:[{N:"varRef",name:"Q{}instruction",slot:"0"},{N:"sequence",C:[{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}fallback]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string", +C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"298",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.OVERLAPS",as:"1AS",line:"166",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"OV"}]}]},{N:"co",id:"299",binds:"52",C:[{N:"function",name:"Q{MyFunctions}diagnostic",line:"284",module:"lib.xsl",flags:"pU",as:"1NA",slots:"4",C:[{N:"arg",name:"Q{}kind",as:"*"},{N:"arg",name:"Q{}operand",as:"*"},{N:"arg",name:"Q{}error.code",as:"*"},{N:"arg",name:"Q{}operation",as:"*"}, +{N:"att",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"atomSing",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}kind",slot:"0"}]}]}]},{N:"fn", +name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}operand",slot:"1"}]}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"varRef",name:"Q{}error.code",slot:"2"}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"varRef",name:"Q{}operation",slot:"3"}]}]},{N:"str",val:"|"}]}]}]}]},{N:"co",id:"261",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg418646126",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:remove-attribute/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"300",binds:"",C:[{N:"function",name:"Q{MyTypes}isNumeric",line:"436",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg", +name:"Q{}alphaCode",as:"1AS"},{N:"or",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"438",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str", +val:"AF"}]}]}]}]},{N:"co",id:"266",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg271588719",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-attribute/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"273",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1081126121",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE1100"},{N:"str",val:"group-adjacent"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"129",binds:"125 129 132 1 69 7 129 129 129",C:[{N:"template",name:"Q{}process-variables",flags:"os",line:"654",module:"xpath.xsl",slots:"14", +C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"655",C:[{N:"param",name:"Q{}no.slots",slot:"0",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data", +diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"656",name:"Q{}local.variables",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"657",name:"Q{}parts",slot:"2",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|parts",C:[{N:"supplied", +slot:"2"}]}]},{N:"param",line:"658",name:"Q{}make.baseUri.explicit",slot:"3",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"data",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"659",name:"Q{}static-base-uri",slot:"4",flags:"t",C:[{N:"str", +role:"select",val:"dummy-base-uri"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"let",line:"660","var":"Q{}h",slot:"5",C:[{N:"applyT",line:"661",mode:"Q{}process-xpath",bSlot:"0",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]},{N:"let",line:"665","var":"Q{}make.baseUri.explicit",as:"1AB",slot:"6",C:[{N:"or",op:"or",C:[{N:"varRef",name:"Q{}make.baseUri.explicit",slot:"3"},{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef", +name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}baseUri"}]}]}]},{N:"choose",line:"666",C:[{N:"fn",line:"667",name:"empty",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"empty"},{N:"filter",line:"669",flags:"b",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}let"}]},{N:"fn",name:"exists",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}var"}]}]}]}]},{N:"let",line:"675","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1ADI",slot:"7",flags:"l",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"0"},{N:"int",val:"1"}]},{N:"let",line:"674","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*NE",slot:"8",flags:"l",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]},{N:"forEach",line:"670",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"let",line:"671","var":"Q{}rest", +as:"*NE",slot:"9",C:[{N:"treat",line:"673",as:"NE",diag:"3|0|XTTE0570|rest",C:[{N:"callT",name:"Q{}process-variables",bSlot:"1",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"varRef",line:"674",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"varRef",line:"675",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"7"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"678",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", +type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",line:"672",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}var"}]}]},{N:"sequence",C:[{N:"dot"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"attVal",name:"Q{}slot"}]}]},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"679",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"let",line:"682","var":"Q{}rest",as:"*NE",slot:"10",C:[{N:"choose",line:"683",C:[{N:"fn",line:"685",name:"empty",C:[{N:"varRef",name:"Q{}rest",slot:"9"}]},{N:"elem",line:"686",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE", +bSlot:"2"}]}]},{N:"true"},{N:"varRef",line:"689",name:"Q{}rest",slot:"9"}]},{N:"let",line:"694","var":"Q{}slot",as:"?NA",slot:"11",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]},{N:"let",line:"703","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"?AZ",slot:"12",flags:"l",C:[{N:"data",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}slot",slot:"11"}]},{N:"let",line:"699","var":"Q{}compound-type",slot:"13",C:[{N:"ufCall", +name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"4",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"5",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"sequence",line:"701",C:[{N:"choose",line:"703",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:varRef"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}slot"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"12"}]}]}]},{N:"copy",line:"704",flags:"in",sit:"1", +C:[{N:"sequence",role:"content",line:"705",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"707",name:"sType",flags:"l",C:[{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"707",name:"Q{}compound-type",slot:"13"},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"slash",line:"708",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"choose",line:"709",C:[{N:"compareToInt",line:"710",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"filter",line:"711",flags:"b", +C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]},{N:"true"},{N:"elem",line:"714",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}compound-type",slot:"13"}]},{N:"filter",line:"715",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]}]}]}, +{N:"compareToInt",line:"723",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"filter",line:"724",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]},{N:"true"},{N:"elem",line:"727",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType", +flags:"l",C:[{N:"varRef",name:"Q{}compound-type",slot:"13"}]},{N:"filter",line:"728",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]},{N:"filter",line:"696",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]}]}]}]}]}]}]},{N:"filter",line:"737",flags:"b",C:[{N:"varRef", +name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}]}]}]},{N:"sequence",line:"738",C:[{N:"copyOf",flags:"c",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"callT",line:"740",name:"Q{}process-variables",bSlot:"6",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"741",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]}, +{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"check",line:"743",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}, +{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]}]},{N:"int",val:"1"}]}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"746",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",C:[{N:"dot", +flags:"a"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}slot"}]}]},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"747",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"filter",line:"750",flags:"b", +C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}param"}]}]}]},{N:"sequence",line:"752",C:[{N:"copyOf",flags:"c",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"callT",line:"754",name:"Q{}process-variables",bSlot:"7",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"755",start:"2",C:[{N:"varRef",name:"Q{}parts", +slot:"2"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"758",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",line:"753",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"cast",flags:"ae",as:"?ADI", +C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]}]}]}]}]},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists", +C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"check",line:"759",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"check",card:"?",diag:"1|0||+",C:[{N:"slash", +C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]}]},{N:"int",val:"1"}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"760",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"true"},{N:"sequence",line:"764",C:[{N:"choose",C:[{N:"varRef",line:"765",name:"Q{}make.baseUri.explicit",slot:"6"},{N:"forEach",line:"766",C:[{N:"check",card:"?",diag:"4|0|XTTE3180|xsl:copy/select", +C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"copy",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"767",C:[{N:"copyOf",flags:"c",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]}]},{N:"att",line:"768",name:"baseUri", +flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}static-base-uri",slot:"4"}]}]}]},{N:"str",val:" "}]}]},{N:"copyOf",line:"769",flags:"c",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}, +{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"773",name:"Q{}h",slot:"5"}]},{N:"callT",line:"776",name:"Q{}process-variables",bSlot:"8",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"777",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"778",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]}]}]}]}]}]}]},{N:"co",id:"26",binds:"301",C:[{N:"globalVariable", +name:"Q{http://saxon.sf.net/generated-variable}gg1033972644",as:"*NE",line:"130",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"slash",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",simple:"1",C:[{N:"gVarRef",name:"Q{}type.hierarchy.tree",bSlot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"co",id:"173",binds:"",C:[{N:"function",name:"Q{MyFunctions}isInstance",line:"607",module:"type.xsl",flags:"pU",as:"1AB",slots:"2", +C:[{N:"arg",name:"Q{}a",as:"1"},{N:"arg",name:"Q{}type",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"611",C:[{N:"compareToString",line:"612",op:"eq",val:"AB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"613",of:"1AB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"616",op:"eq",val:"AS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", +line:"617",of:"1AS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"619",op:"eq",val:"ASN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"620",of:"1ASN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"622",op:"eq",val:"ASNT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"623",of:"1ASNT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"625",op:"eq",val:"ASNTL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", +line:"626",of:"1ASNTL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"628",op:"eq",val:"ASNTM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"629",of:"1ASNTK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"631",op:"eq",val:"ASNTN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"632",of:"1ASNTN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"634",op:"eq",val:"ASNTNC",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", +line:"635",of:"1ASNTNC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"637",op:"eq",val:"ASNTNCR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"638",of:"1ASNTNCR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"640",op:"eq",val:"ASNTNCE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"641",of:"1ASNTNCE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"643",op:"eq",val:"ASNTNCI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]}, +{N:"instance",line:"644",of:"1ASNTNCI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"647",op:"eq",val:"AQ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"648",of:"1AQ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"650",op:"eq",val:"AU",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"651",of:"1AU",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"653",op:"eq",val:"AA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", +line:"654",of:"1AA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"656",op:"eq",val:"AM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"657",of:"1AM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"659",op:"eq",val:"AMP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"660",of:"1AMP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"662",op:"eq",val:"AT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"663", +of:"1AT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"665",op:"eq",val:"AR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"666",of:"1AR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"668",op:"eq",val:"ARD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"669",of:"1ARD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"671",op:"eq",val:"ARY",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"672",of:"1ARY", +C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"674",op:"eq",val:"AG",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"675",of:"1AG",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"677",op:"eq",val:"AH",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"678",of:"1AH",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"680",op:"eq",val:"AI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"681",of:"1AI",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"683",op:"eq",val:"AJ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"684",of:"1AJ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"686",op:"eq",val:"AK",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"687",of:"1AK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"690",op:"eq",val:"AD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"691",of:"1AD",C:[{N:"varRef",name:"Q{}a", +slot:"0"}]},{N:"compareToString",line:"693",op:"eq",val:"ADI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"694",of:"1ADI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"696",op:"eq",val:"ADIN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"697",of:"1ADIN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"699",op:"eq",val:"ADINN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"700",of:"1ADINN",C:[{N:"varRef",name:"Q{}a", +slot:"0"}]},{N:"compareToString",line:"702",op:"eq",val:"ADIP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"703",of:"1ADIP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"705",op:"eq",val:"ADIPP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"706",of:"1ADIPP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"708",op:"eq",val:"ADIPL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"709",of:"1ADIPL",C:[{N:"varRef",name:"Q{}a", +slot:"0"}]},{N:"compareToString",line:"711",op:"eq",val:"ADIPLI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"712",of:"1ADIPLI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"714",op:"eq",val:"ADIPLIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"715",of:"1ADIPLIS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"717",op:"eq",val:"ADIPLISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"718",of:"1ADIPLISB",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"720",op:"eq",val:"ADIL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"721",of:"1ADIL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"723",op:"eq",val:"ADILI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"724",of:"1ADILI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"726",op:"eq",val:"ADILIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"727",of:"1ADILIS",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"729",op:"eq",val:"ADILISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"730",of:"1ADILISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"733",op:"eq",val:"AO",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"734",of:"1AO",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"736",op:"eq",val:"AF",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"737",of:"1AF",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"739",op:"eq",val:"A2",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"740",of:"1A2",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"742",op:"eq",val:"AX",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"743",of:"1AX",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"745",op:"eq",val:"AZ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"746",of:"1AZ",C:[{N:"varRef",name:"Q{}a", +slot:"0"}]},{N:"compareToString",line:"749",op:"eq",val:"N",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"750",of:"1N",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"752",op:"eq",val:"NE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"753",of:"1NE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"755",op:"eq",val:"NA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"756",of:"1NA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]}, +{N:"compareToString",line:"758",op:"eq",val:"NT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"759",of:"1NT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"761",op:"eq",val:"NC",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"762",of:"1NC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"764",op:"eq",val:"NP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"765",of:"1NP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"767",op:"eq",val:"ND",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"768",of:"1ND",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"770",op:"eq",val:"NN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"771",of:"1NN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"774",op:"eq",val:"F",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"775",of:"1F",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"777", +op:"eq",val:"FM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"778",of:"1FM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"780",op:"eq",val:"FA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"781",of:"1FA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"true"},{N:"true"}]}]}]},{N:"co",id:"65",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_ATOMIC",as:"1FM k[AS] v[1AS]",line:"15",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2", +C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"302",binds:"",C:[{N:"function",name:"Q{MyFunctions}path",line:"403",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"405",C:[{N:"fn",line:"406",name:"exists",C:[{N:"slash", +simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}loc"}]}]},{N:"convert",line:"406",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"instance",line:"407",of:"1NA",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}, +{N:"convert",line:"407",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/@"},{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}]}]}]}]},{N:"true"},{N:"convert",line:"408", +from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}]}]}]}]}]}]},{N:"co",id:"303",binds:"",C:[{N:"function",name:"Q{MyTypes}withCardinality",line:"317",module:"type.xsl",flags:"pU",as:"1FM",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}indicator",as:"1AS"},{N:"ifCall",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"o"},{N:"varRef",name:"Q{}indicator",slot:"1"}]},{N:"str",val:"code"}]}]}]},{N:"co",id:"304",binds:"48",C:[{N:"function",name:"Q{MyFunctions}recover-namespaces",line:"63",module:"namespaces.xsl",flags:"pU",as:"?FM",slots:"4",C:[{N:"arg",name:"Q{}context",as:"*"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"65","var":"Q{}ns",as:"?NA",slot:"1",C:[{N:"lastOf",C:[{N:"slash",simple:"2",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, +{N:"choose",line:"72",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"1"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespaces"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"varRef",name:"Q{}ns", +slot:"1"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"2",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"3",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"2"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"varRef",name:"Q{}prefix",slot:"2"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"3"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]}]}]}]},{N:"co",id:"195",binds:"38 164 126 48 124 15 164 48 126 212 15 164",C:[{N:"mode",name:"Q{}sef.global",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"3.6",seq:"365", +rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"360",rank:"8",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"356",rank:"7",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"352",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"82",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"349",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"75",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"345",rank:"5",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"341",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute", +nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03", +seq:"337",rank:"3",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"333",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"382",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1607",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate", +role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1607",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1608",flags:"t",C:[{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"1610",op:"lt",comp:"CAVC",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"dec",val:"2"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"384",rank:"0",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1616",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate", +role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1616",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1617",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"1619","var":"Q{}has-uniform-static-context", +as:"1AB",slot:"3",C:[{N:"ufCall",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"elem",line:"1620",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context", +slot:"3"}]}]},{N:"elem",line:"1622",name:"globalParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef", +name:"Q{}SJ.ANY_SEQUENCE",bSlot:"2"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose", +line:"1623",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1624",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"choose",line:"1626",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]},{N:"str",val:"true"}]},{N:"att", +line:"1627",name:"flags",flags:"l",C:[{N:"str",val:"r"}]}]},{N:"choose",line:"1629",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}implicit-mandatory"}]},{N:"str",val:"true"}]},{N:"att",line:"1630",name:"flags",flags:"l",C:[{N:"str",val:"i"}]}]},{N:"att",line:"1632",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}, +{N:"axis",line:"1633",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"1634",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1", +C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"3"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1635",mode:"Q{}param.type",bSlot:"4",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"applyT",line:"1637",mode:"Q{}select.or.sequence",bSlot:"5",C:[{N:"dot", +role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"varRef",line:"1639",name:"Q{}has-uniform-static-context",slot:"3"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"385",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"1682",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}, +{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1682",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1683",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"1688",name:"co", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"ufCall",line:"1685",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]},{N:"elem",line:"1691",name:"globalVariable",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1", +C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"7"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}, +{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"8"},{N:"true"},{N:"gVarRef",name:"Q{}SJ.OPTIONAL_DOCUMENT",bSlot:"9"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"choose",line:"1692",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1693",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"axis",line:"1695",name:"attribute", +nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"axis",line:"1695",name:"attribute",nodeTest:"NA nQ{}as"},{N:"applyT",line:"1697",mode:"Q{}select.or.sequence",bSlot:"10",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"1698",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1700",name:"Q{MyFunctions}has-uniform-static-context", +tailCall:"false",bSlot:"11",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"305",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SUBSUMED_BY",as:"1AS",line:"164",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"LT"}]}]},{N:"co",id:"255",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}COLON",as:"1ADI",line:"19",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"58"}]}]},{N:"co",id:"58", +binds:"",C:[{N:"function",name:"Q{MyTypes}cardinalityRelationship",line:"69",module:"type.xsl",flags:"pU",as:"*",slots:"4",C:[{N:"arg",name:"Q{}required",as:"1AS"},{N:"arg",name:"Q{}supplied",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"72",C:[{N:"vc",line:"73",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"varRef",name:"Q{}supplied", +slot:"1"}]},{N:"str",val:"EQ"},{N:"compareToString",line:"76",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"GT"},{N:"true"},{N:"let",line:"80","var":"Q{}R",slot:"2",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"80",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"80",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"80",name:"Q{}required", +slot:"0"}]},{N:"str",val:"1"},{N:"compareToString",line:"80",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"80",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"let",line:"81","var":"Q{}S",slot:"3",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"81",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"81",op:"eq", +val:"+",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"81",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"1"},{N:"compareToString",line:"81",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"81",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"choose",line:"91",C:[{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}R",slot:"2"}, +{N:"varRef",name:"Q{}S",slot:"3"}]},{N:"str",val:"GT"},{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}S",slot:"3"},{N:"varRef",name:"Q{}R",slot:"2"}]},{N:"str",val:"LT"},{N:"true"},{N:"str",val:"OV"}]}]}]}]}]}]},{N:"co",id:"134",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg638404853",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE1020"},{N:"str",val:"sort"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"138",binds:"138",C:[{N:"function",name:"Q{MyFunctions}requiresNodeTest",line:"1180",module:"xpath.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg", +name:"Q{}node",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1191",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}axis,NE nQ{http://ns.saxonica.com/xslt/export}root]"}]}]},{N:"true"}, +{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}slash"}]}]},{N:"ufCall",name:"Q{MyFunctions}requiresNodeTest",tailCall:"self",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:requiresNodeTest",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"false"}]}]}]}]},{N:"co",id:"272",binds:"1 97",C:[{N:"globalVariable",name:"Q{}SJ.MULIPLE_ATTRIBUTE", +as:"1AS",line:"57",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"57",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_ATTRIBUTE",bSlot:"1"}]}]}]},{N:"co",id:"139",binds:"1 88",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_MAP",as:"1AS",line:"62",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"62",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_MAP",bSlot:"1"}]}]}]},{N:"co",id:"306",binds:"",C:[{N:"function",name:"Q{MyFunctions}is-last",line:"257",module:"lib.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}context",as:"*"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"259", +name:"empty",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"axis",name:"following-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}fallback,NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]}]}]}]}]},{N:"co",id:"117",binds:"301",C:[{N:"globalVariable",name:"Q{}types",as:"1FM k[AS] v[1FM]",line:"415",module:"type.xsl",slots:"6", +visibility:"PRIVATE",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"417",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"gVarRef",name:"Q{}type.hierarchy.tree",bSlot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"let",line:"418","var":"Q{}isAtomic",as:"1AB",slot:"2",C:[{N:"fn",name:"starts-with", +C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:"xs:"}]},{N:"let",line:"419","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"3",flags:"l",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isAtomic",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"filter",flags:"ib",C:[{N:"str",val:"()"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"3"}]}]},{N:"ifCall",line:"425",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"supertypes"},{N:"slash",C:[{N:"fn",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE"},{N:"axis",name:"ancestor",nodeTest:"NE"}]}]},{N:"let","var":"Q{}n",slot:"4",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1", +as:"1AB",slot:"5",flags:"l",C:[{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}n",slot:"4"},{N:"str",val:"xs:"}]}]},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}n",slot:"4"},{N:"filter",flags:"ib",C:[{N:"str",val:"()"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]}]}]}]}]},{N:"ifCall",line:"426",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"isPlain"},{N:"varRef",name:"Q{}isAtomic",slot:"2"}]}]},{N:"map", +size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"empty-sequence()"},{N:"map",size:"1",C:[{N:"str",val:"isPlain"},{N:"false"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"307",binds:"307",C:[{N:"function",name:"Q{MyFunctions}closure2",line:"631",module:"XSLT-SEF-compiler.xsl", +flags:"pU",as:"*",slots:"6",C:[{N:"arg",name:"Q{}current",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"arg",name:"Q{}found",as:"*AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"639","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"3",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}found", +slot:"2"},{N:"str",val:", "}]},{N:"let",line:"635","var":"Q{}next",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"varRef",name:"Q{}current",slot:"0"}]},{N:"sequence",line:"636",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}next",slot:"4"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"varRef", +name:"Q{}found",slot:"2"}]}]},{N:"fn",line:"639",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1600"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Circular definition of character map "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot"}]}]},{N:"str",val:" via character maps "}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]},{N:"choose",line:"647",C:[{N:"fn",name:"exists",C:[{N:"varRef", +name:"Q{}next",slot:"4"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"*AS",slot:"5",flags:"l",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}found",slot:"2"},{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|2||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:closure2",C:[{N:"data",diag:"0|2||f:closure2",C:[{N:"varRef",name:"Q{}next",slot:"4"}]}]}]}]},{N:"forEach",C:[{N:"varRef",name:"Q{}next",slot:"4"},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"0",C:[{N:"check", +card:"1",diag:"0|0||f:closure2",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"data",diag:"0|0||f:closure2",C:[{N:"dot"}]}]}]}]},{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}found",slot:"2"}]}]}]}]}]}]},{N:"co",id:"193",binds:"307",C:[{N:"function",name:"Q{MyFunctions}closure2",line:"625",module:"XSLT-SEF-compiler.xsl", +flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}current",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"628",C:[{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}current",slot:"0"},{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"empty"}]}]}]}]}, +{N:"co",id:"308",binds:"102",C:[{N:"globalVariable",name:"Q{}declaration-names",as:"*AS",line:"289",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"289",C:[{N:"gVarRef",name:"Q{}top-level-declarations",bSlot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"co",id:"309",binds:"48",C:[{N:"function",name:"Q{MyFunctions}encode-namespaces", +line:"44",module:"namespaces.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"46",C:[{N:"fn",line:"47",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48", +card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", +val:" "}]}]}]}]},{N:"co",id:"172",binds:"38",C:[{N:"function",name:"Q{MyFunctions}boolean-string",line:"50",module:"lib.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}input",as:"?NA"},{N:"arg",name:"Q{}default",as:"1AB"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"59",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef", +name:"Q{}input",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"foreign",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]},{N:"true"},{N:"varRef",name:"Q{}default",slot:"1"}]}]}]}]},{N:"co",id:"258",binds:"22",C:[{N:"function",name:"Q{MyFunctions}check-iterate",line:"138",module:"repetition.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}instruction",as:"*"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"140",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"ufCall",line:"141",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/", +C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1N"}]}]}]},{N:"str",val:" can only be the descendant of xsl:iterate"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]}]}]}]}]}]}]},{N:"co",id:"38",binds:"22",C:[{N:"function",name:"Q{MyFunctions}boolean-string",line:"36",module:"lib.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}input",as:"1NA"},{N:"choose", +role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"1"},{N:"str",val:"yes"},{N:"str",val:"true"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", +diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"true"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"no"},{N:"str",val:"false"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"false"},{N:"true"}, +{N:"treat",as:"AB",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"cvUntyped",to:"AB",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"data",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]},{N:"str",val:"' is not a valid boolean keyword"}]}, +{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]}]}]}]},{N:"co",id:"21",binds:"22 22",C:[{N:"template",name:"Q{}process-decimal-format",flags:"os",as:"*NA",line:"73",module:"decimal-format.xsl",slots:"0",C:[{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"76",C:[{N:"filter",flags:"b",C:[{N:"except",op:"except",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{http://ns.saxonica.com/xslt/export}*,NA nQ{}name]"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:":"},{N:"str",val:""}]}]}]},{N:"compAtt",line:"89",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"fn",role:"select", +name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"infinity"},{N:"str",val:"NaN"}]},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"data",C:[{N:"dot",type:"1NA"}]},{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"string-length",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-length",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-length",C:[{N:"data",diag:"0|0||fn:string-length", +C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Value must be a single character - value supplied is '"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:"'"}]},{N:"dot",type:"1NA"}]}]}]},{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"zero-digit",C:[{N:"fn",name:"local-name", +C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"str",val:"0\u0660\u06f0\u0966\u09e6\u0a66\u0ae6\u0b66\u0be6\u0c66\u0ce6\u0d66\u0e50\u0ed0\u0f20\u1040\u17e0\u1810\u1946\u19d0\uff10\ud801\udca0\ud835\udfce\ud835\udfd8\ud835\udfe2\ud835\udfec\ud835\udff6"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|1||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:contains",C:[{N:"data",diag:"0|1||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"data",C:[{N:"mergeAdj", +C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE1295"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:decimal-format/@zero-digit must be a digit character with value zero - value supplied is codepoint '"},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints", +C:[{N:"data",diag:"0|0||fn:string-to-codepoints",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"str",val:"'"}]},{N:"dot",type:"1NA"}]}]}]},{N:"true"},{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"data",diag:"0|0||fn:string-to-codepoints",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"co",id:"238",binds:"228 156 157 1 69 7 156 157",C:[{N:"function", +name:"Q{MyFunctions}typeCheckLiteral",line:"1034",module:"type.xsl",flags:"pU",as:"*",slots:"8",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"forEach",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1039",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"copy",line:"1040",flags:"cin",sit:"1NE",C:[{N:"let",role:"content", +line:"1041","var":"Q{}parts",as:"*NE",slot:"3",C:[{N:"treat",line:"1042",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"ufCall",line:"1043",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"0",C:[{N:"dot",type:"1NE"},{N:"let","var":"Q{}inst",as:"1NE",slot:"4",C:[{N:"dot",type:"1NE"},{N:"let",line:"1011","var":"Q{}name",as:"1AS",slot:"5",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"4"}]},{N:"choose",line:"1014",C:[{N:"compareToString", +op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"ifCall",line:"1015",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"}, +{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"ifCall",line:"1022",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"fn",name:"normalize-space", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"4"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str", +val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"1"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"2"},{N:"varRef",name:"Q{}name",slot:"5"}]}]}]}]}]},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]}]}]},{N:"sequence",line:"1047", +C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"1053",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"4",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}parts",slot:"3"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"5",C:[{N:"check", +card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"true"},{N:"let","var":"Q{}inst",as:"1NE",slot:"6",C:[{N:"dot",type:"1NE"},{N:"let",line:"1011","var":"Q{}name",as:"1AS",slot:"7",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"6"}]},{N:"choose",line:"1014",C:[{N:"compareToString",op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"7"}]}, +{N:"ifCall",line:"1015",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, +{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"7"}]},{N:"ifCall",line:"1022",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"6"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"7"}]}, +{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"6"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"7"},{N:"varRef",name:"Q{}name",slot:"7"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"1054",name:"Q{}parts",slot:"3"}]}]}]}]}]}]},{N:"co",id:"310",binds:"1 112",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_URI",as:"1AS",line:"55",module:"sequenceType.xsl", +visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"55",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_URI",bSlot:"1"}]}]}]},{N:"co",id:"126",binds:"1 85",C:[{N:"globalVariable",name:"Q{}SJ.ANY_SEQUENCE",as:"1AS",line:"43",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"43",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"1"}]}]}]},{N:"co",id:"140",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg938941445",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join", +C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE3375"},{N:"str",val:"xsl:map"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"311",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ONE",as:"1ADI",line:"106",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co", +id:"312",binds:"233",C:[{N:"function",name:"Q{MyTypes}allowsMany",line:"123",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"*"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"125",card:"1",diag:"5|0|XTTE0780|t:allowsMany#1",C:[{N:"vc",op:"ge",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?", +diag:"1|0||ge",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"gVarRef",name:"Q{}StaticProperty.ALLOWS_MANY",bSlot:"0"}]}]}]}]},{N:"co",id:"313",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_DOUBLE",as:"1FM k[AS] v[1AS]",line:"17",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AO"}]}]}]},{N:"co",id:"39",binds:"",C:[{N:"function",name:"Q{MyFunctions}isTopLevel",line:"775",module:"normalize.xsl",flags:"pU", +as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"slash",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"777",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}, +{N:"co",id:"264",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg19873741",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", +C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-style/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"259",binds:"15 79 150",C:[{N:"template",name:"Q{}constructSimpleContent",flags:"os",as:"1NE",line:"299",module:"creating-new-nodes.xsl",slots:"3",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"300",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"322","var":"Q{}parts",as:"1",slot:"1",C:[{N:"check",line:"323",card:"1",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",mode:"Q{}select.or.sequence",bSlot:"0",C:[{N:"dot",role:"select",flags:"a"}]}]},{N:"elem",line:"326", +name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string-join"}]},{N:"lookup",line:"327",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"1"},{N:"str",val:"select"}]},{N:"let",line:"328","var":"Q{}content",as:"1NE",slot:"2",C:[{N:"elem",line:"329",name:"constructSimpleContent",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"330",name:"Q{}parts",slot:"1"}]},{N:"sequence",line:"333",C:[{N:"choose",C:[{N:"and", +line:"334",op:"and",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"backward-compatibility"}]},{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]}]}]},{N:"elem",line:"335",name:"first",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"336",name:"Q{}content",slot:"2"}]},{N:"true"},{N:"varRef",line:"340",name:"Q{}content",slot:"2"}]}, +{N:"choose",line:"343",C:[{N:"fn",line:"344",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}comment,NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction],NE nQ{http://www.w3.org/1999/XSL/Transform}namespace]"}]}]},{N:"elem",line:"345",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str", +val:" "}]}]},{N:"fn",line:"347",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}separator"}]}]}]},{N:"str",val:"{"}]}]}]},{N:"forEach",line:"348",C:[{N:"slash", +simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"callT",line:"349",name:"Q{}value-template",bSlot:"2"}]},{N:"fn",line:"352",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]}]},{N:"elem",line:"353",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}separator"}]}]}]}]},{N:"true"},{N:"elem",line:"356",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"choose",C:[{N:"fn",line:"325",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"str",val:" "}, +{N:"true"},{N:"str",val:""}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"233",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_MANY",as:"1ADI",line:"107",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"4"}]}]},{N:"co",id:"196",binds:"",C:[{N:"function",name:"Q{MyFunctions}timestamp",line:"22",module:"lib.xsl",flags:"pU",as:"1AMP",slots:"0",C:[{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"23",name:"Q{http://saxon.sf.net/}timestamp",type:"1AMP"}]}]},{N:"co",id:"41",binds:"38",C:[{N:"function",name:"Q{MyFunctions}normalize-boolean",line:"34",module:"normalize.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}input",as:"1"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"36",name:"string",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string", +tailCall:"false",bSlot:"0",C:[{N:"treat",as:"NA",diag:"0|0||f:boolean-string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"co",id:"265",binds:"95 22",C:[{N:"function",name:"Q{MyFunctions}check-tail-position",line:"273",module:"lib.xsl",flags:"pU",as:"0",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"281",C:[{N:"ufCall",name:"Q{MyFunctions}is-tail-position",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"empty"},{N:"true"},{N:"check",card:"0",diag:"5|0|XTTE0780|f:check-tail-position#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE3120"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must be in a tail position"}]}, +{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"42",binds:"36 37",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1396801698",as:"+AU",line:"21",module:"sorting.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"0"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation", +bSlot:"1"}]}]}]},{N:"co",id:"270",binds:"18",C:[{N:"template",name:"Q{}parameters",flags:"os",line:"1551",module:"XSLT-SEF-compiler.xsl",slots:"0",C:[{N:"applyT",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1552",mode:"Q{}sef",flags:"t",bSlot:"0",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]}, +{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]}]},{N:"co",id:"314",binds:"",C:[{N:"globalVariable",name:"Q{}global-variables-as-pairs",as:"*",line:"179",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"253",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}RBRACE",as:"1ADI",line:"18",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"125"}]}]},{N:"co",id:"315",binds:"",C:[{N:"globalVariable", +name:"Q{MyTypes}ZERO",as:"1ADI",line:"101",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"301",binds:"",C:[{N:"globalVariable",name:"Q{}type.hierarchy.tree",as:"1ND",line:"331",module:"type.xsl",visibility:"PRIVATE",C:[{N:"doc",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"332",C:[{N:"elem",name:"item",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p", +flags:"l",C:[{N:"str",val:""}]},{N:"elem",line:"333",name:"error",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:""}]}]},{N:"elem",line:"334",name:"function",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"F"}]},{N:"elem",line:"335",name:"map",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"FM"}]}]},{N:"elem",line:"336",name:"array",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"FA"}]}]}]}]},{N:"elem",line:"338", +name:"node",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"N"}]},{N:"elem",line:"339",name:"document-node",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ND"}]}]},{N:"elem",line:"340",name:"element",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NE"}]}]},{N:"elem",line:"341",name:"attribute",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NA"}]}]},{N:"elem",line:"342",name:"text",nsuri:"",flags:"l",C:[{N:"att", +name:"p",flags:"l",C:[{N:"str",val:"NT"}]}]},{N:"elem",line:"343",name:"comment",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NC"}]}]},{N:"elem",line:"344",name:"processing-instruction",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NP"}]}]},{N:"elem",line:"345",name:"namespace-node",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NN"}]}]}]}]},{N:"elem",line:"347",name:"xs:anyAtomicType",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l", +C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"A"}]},{N:"elem",line:"348",name:"xs:boolean",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AB"}]}]},{N:"elem",line:"349",name:"xs:string",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AS"}]},{N:"elem",line:"350",name:"xs:normalizedString",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att", +name:"p",flags:"l",C:[{N:"str",val:"ASN"}]},{N:"elem",line:"351",name:"xs:token",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNT"}]},{N:"elem",line:"352",name:"xs:NMTOKEN",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTK"}]}]},{N:"elem",line:"353",name:"xs:Name",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", +val:"ASNTN"}]},{N:"elem",line:"354",name:"xs:NCName",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNC"}]},{N:"elem",line:"355",name:"xs:ID",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCI"}]}]},{N:"elem",line:"356",name:"xs:IDREF",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCR"}]}]},{N:"elem",line:"357",name:"xs:ENTITY", +nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCE"}]}]}]}]}]}]},{N:"elem",line:"360",name:"xs:language",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTL"}]}]}]}]}]}]}]}]},{N:"elem",line:"364",name:"xs:QName",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AQ"}]}]},{N:"elem",line:"365",name:"xs:anyURI",nsuri:"http://www.w3.org/2001/XMLSchema", +flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AU"}]}]},{N:"elem",line:"366",name:"xs:date",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AA"}]}]},{N:"elem",line:"367",name:"xs:dateTime",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AM"}]},{N:"elem",line:"368",name:"xs:dateTimeStamp",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l", +C:[{N:"str",val:"AMP"}]}]}]}]},{N:"elem",line:"370",name:"xs:time",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AT"}]}]},{N:"elem",line:"371",name:"xs:duration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AR"}]},{N:"elem",line:"372",name:"xs:dayTimeDuration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ARD"}]}]},{N:"elem", +line:"373",name:"xs:yearMonthDuration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ARY"}]}]}]}]},{N:"elem",line:"375",name:"xs:gYear",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AG"}]}]},{N:"elem",line:"376",name:"xs:gYearMonth",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AH"}]}]},{N:"elem",line:"377",name:"xs:gMonth",nsuri:"http://www.w3.org/2001/XMLSchema", +flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AI"}]}]},{N:"elem",line:"378",name:"xs:gMonthDay",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AJ"}]}]},{N:"elem",line:"379",name:"xs:gDay",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AK"}]}]},{N:"elem",line:"380",name:"xs:numeric",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", +val:"AD|AO|AF"}]},{N:"elem",line:"381",name:"xs:decimal",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AD"}]},{N:"elem",line:"382",name:"xs:integer",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADI"}]},{N:"elem",line:"383",name:"xs:nonPositiveInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", +val:"ADIN"}]},{N:"elem",line:"384",name:"xs:negativeInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADINN"}]}]}]}]},{N:"elem",line:"386",name:"xs:nonNegativeInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIP"}]},{N:"elem",line:"387",name:"xs:positiveInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPP"}]}]}, +{N:"elem",line:"388",name:"xs:unsignedLong",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPL"}]},{N:"elem",line:"389",name:"xs:unsignedInt",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLI"}]},{N:"elem",line:"390",name:"xs:unsignedShort",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLIS"}]}, +{N:"elem",line:"391",name:"xs:unsignedByte",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLISB"}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"396",name:"xs:long",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIL"}]},{N:"elem",line:"397",name:"xs:int",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILI"}]},{N:"elem", +line:"398",name:"xs:short",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILIS"}]},{N:"elem",line:"399",name:"xs:byte",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILISB"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"405",name:"xs:double",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AO"}]}]},{N:"elem",line:"406",name:"xs:float", +nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AF"}]}]}]}]},{N:"elem",line:"408",name:"xs:base64Binary",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"A2"}]}]},{N:"elem",line:"409",name:"xs:hexBinary",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AX"}]}]},{N:"elem",line:"410",name:"xs:NOTATION",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l", +C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AN"}]}]},{N:"elem",line:"411",name:"xs:untypedAtomic",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]},{N:"co",id:"316",binds:"16",C:[{N:"template",name:"Q{}nest-sorts",flags:"os",line:"15",module:"repetition.xsl",slots:"1",C:[{N:"iterate",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"17",C:[{N:"fn",role:"select",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]},{N:"params",role:"params",line:"19",C:[{N:"param",name:"Q{}inner",slot:"0",C:[{N:"doc",role:"select",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"0",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}select"}]}]}]},{N:"supplied",role:"conversion",line:"18",slot:"0"}]}]},{N:"varRef",role:"on-completion",line:"21",name:"Q{}inner",slot:"0"},{N:"nextIteration",role:"action",line:"22",C:[{N:"withParam",name:"Q{}inner",as:"1ND",slot:"0",C:[{N:"doc",line:"24",C:[{N:"elem",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"25",C:[{N:"varRef",name:"Q{}inner",slot:"0"},{N:"applyT",line:"26",flags:"c",bSlot:"-1",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]}]}]}]}]}, +{N:"co",id:"268",binds:"",C:[{N:"globalVariable",name:"Q{}on-no-match",as:"1FM k[AS] v[1AS]",line:"27",module:"rules.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"6",C:[{N:"str",val:"deep-skip"},{N:"str",val:"DS"},{N:"str",val:"shallow-copy"},{N:"str",val:"SC"},{N:"str",val:"text-only-copy"},{N:"str",val:"TC"},{N:"str",val:"deep-copy"},{N:"str",val:"DC"},{N:"str",val:"shallow-skip"},{N:"str",val:"SS"},{N:"str",val:"fail"},{N:"str",val:"FF"}]}]}]},{N:"co",id:"317",binds:"",C:[{N:"globalVariable", +name:"Q{}bind-with-accumulators",as:"1AB",line:"22",module:"component-bindings.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"true"}]}]},{N:"co",id:"260",binds:"1 184",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ELEMENT",as:"1AS",line:"50",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ELEMENT", +bSlot:"1"}]}]}]},{N:"co",id:"157",binds:"285 313 109 5 73 156 156",C:[{N:"globalVariable",name:"Q{}literalTypes",as:"1FM k[AS] v[1FM]",line:"1007",module:"type.xsl",visibility:"PRIVATE",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1007",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"dec"},{N:"gVarRef",name:"Q{}ST.SINGLE_DECIMAL",bSlot:"0"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"dbl"},{N:"gVarRef",name:"Q{}ST.SINGLE_DOUBLE",bSlot:"1"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"int"},{N:"gVarRef",name:"Q{}ST.SINGLE_INTEGER",bSlot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"flt"}, +{N:"gVarRef",name:"Q{}ST.SINGLE_FLOAT",bSlot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"str"},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"true"},{N:"gVarRef",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"false"},{N:"gVarRef",name:"Q{}ST.SINGLE_BOOLEAN", +bSlot:"6"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"co",id:"22",binds:"123",C:[{N:"function",name:"Q{MyFunctions}syntax-error-at",line:"384",module:"lib.xsl",flags:"pU",as:"*",slots:"3",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"arg",name:"Q{}node",as:"1N"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"388",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"388",name:"Q{}code",slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}node",slot:"2"}]}]}]}]},{N:"co",id:"33",binds:"40 3 75 203 224 209 22 204 308 204 204 204 204 22 22 203 34 34",C:[{N:"template",name:"Q{}check-syntax-primary",flags:"os",as:"*NE",line:"137",module:"XSLT-syntax.xsl", +slots:"8",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"138",C:[{N:"param",name:"Q{}forward-compatibility-mode",slot:"0",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode", +C:[{N:"data",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"let",line:"141","var":"Q{}context",as:"1",slot:"1",C:[{N:"dot",flags:"a"},{N:"let",line:"142","var":"Q{}schema",as:"?FM",slot:"2",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}xslt.schema",bSlot:"0"},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"dot",flags:"a"}]}]}]},{N:"choose",line:"144",C:[{N:"fn",line:"145", +name:"exists",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"let",line:"147","var":"Q{}provided",as:"*AS",slot:"3",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"let",line:"148","var":"Q{}missing-attributes",as:"*AS",slot:"4",C:[{N:"filter",flags:"b",C:[{N:"convert",line:"146",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|required.attributes", +C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|required.attributes",C:[{N:"data",diag:"3|0|XTTE0570|required.attributes",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"required.attributes"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}provided",slot:"3"},{N:"dot",type:"1AS"}]}]}]},{N:"let",line:"150","var":"Q{}pa.names",as:"*AS",slot:"5",C:[{N:"sequence",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|pa.names",C:[{N:"cvUntyped", +to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",line:"149",as:"FM",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"permitted.attributes"}]}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|pa.names",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"data", +diag:"3|0|XTTE0570|pa.names",C:[{N:"gVarRef",name:"Q{}standard.attributes",bSlot:"1"}]}]}]}]},{N:"sequence",line:"153",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}forward-compatibility-mode",slot:"0"}]},{N:"treat",line:"154",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"homCheck",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"normalize.xsl",line:"832",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"XSLT-syntax.xsl",line:"151",as:"NE",diag:"0|0||f:plainAtt",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc", +op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}pa.names",slot:"5"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongAttribute",tailCall:"false",bSlot:"2",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"let",line:"197","var":"Q{}permitted.children",as:"*A",slot:"6",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",as:"FM",diag:"0|0||map:keys",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema", +slot:"2"},{N:"str",val:"permitted.children"}]}]}]}]},{N:"sequence",line:"198",C:[{N:"choose",C:[{N:"choose",line:"190",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"check",card:"1",diag:"0|0||map:contains",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"str",val:"parents"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*A",slot:"7",flags:"l",C:[{N:"data",diag:"1|1||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str", +val:"parents"}]}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"local-name",C:[{N:"check",card:"?",diag:"0|0||fn:local-name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"7"},{N:"dot",type:"1AS"}]}]}]}]}]}, +{N:"true"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"dot",flags:"a"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]}]},{N:"choose",line:"206",C:[{N:"varRef",name:"Q{}forward-compatibility-mode", +slot:"0"},{N:"gVarRef",name:"Q{}XSL-ignore",bSlot:"3"},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}wrongParent",tailCall:"false",bSlot:"4",C:[{N:"treat",as:"NE",diag:"0|0||f:wrongParent",C:[{N:"varRef",name:"Q{}context",slot:"1"}]}]}]}]},{N:"varRef",line:"208",name:"Q{}missing-attributes",slot:"4"},{N:"treat",line:"209",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}missingAttribute",tailCall:"false", +bSlot:"5",C:[{N:"treat",as:"NE",diag:"0|0||f:missingAttribute",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"check",card:"1",diag:"0|1||f:missingAttribute",C:[{N:"first",C:[{N:"varRef",name:"Q{}missing-attributes",slot:"4"}]}]}]}]},{N:"gc",line:"211",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"sequence-constructor"}]},{N:"empty"},{N:"fn",line:"212",name:"empty",C:[{N:"varRef",name:"Q{}permitted.children", +slot:"6"}]},{N:"choose",line:"219",C:[{N:"fn",name:"has-children",C:[{N:"treat",as:"N",diag:"0|0||fn:has-children",C:[{N:"dot",flags:"a"}]}]},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"6",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" must be empty"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at", +C:[{N:"dot",flags:"a"}]}]}]}]},{N:"gc",line:"221",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"declarations"}]},{N:"sequence",line:"222",C:[{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean", +C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"7",C:[{N:"dot",type:"1NT"}]}]}]},{N:"choose",line:"228",C:[{N:"varRef",name:"Q{}forward-compatibility-mode",slot:"0"},{N:"empty"},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis", +name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}declaration-names",bSlot:"8"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"attVal",name:"Q{}version"}]}, +{N:"dec",val:"3"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"9",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]},{N:"treat",line:"229",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"ufCall", +name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"10",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"gc",line:"231",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"PCDATA"}]},{N:"treat",line:"232",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall", +name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"11",C:[{N:"dot",type:"1NE"}]}]}]},{N:"true"},{N:"treat",line:"236",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children", +slot:"6"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"12",C:[{N:"dot",type:"1N"}]}]}]}]},{N:"choose",line:"240",C:[{N:"and",op:"and",C:[{N:"and",op:"and", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"check",card:"1",diag:"0|0||map:contains",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"str",val:"selectAndContent"}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"except",op:"except",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}, +{N:"treat",line:"242",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:syntax-error-at",C:[{N:"data",diag:"0|0||f:syntax-error-at",C:[{N:"first",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"selectAndContent"}]},{N:"str", +val:"XTSE0840"}]}]}]}]}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" cannot have both @select and content"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]}]}]}]}]},{N:"fn",line:"246",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import-schema"}]}]}, +{N:"treat",line:"247",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE1650"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"The "},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]},{N:"str",val:" declaration cannot be handled by this XSLT compiler"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]},{N:"varRef",line:"249", +name:"Q{}forward-compatibility-mode",slot:"0"},{N:"choose",line:"259",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl",line:"777",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"XSLT-syntax.xsl",line:"259",as:"NE", +diag:"0|0||f:isTopLevel",C:[{N:"dot",flags:"a"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]},{N:"gVarRef",name:"Q{}XSL-ignore",bSlot:"15"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]}, +{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" is not a known XSLT element and has no xsl:fallback child"}]}, +{N:"treat",as:"N",diag:"0|1||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]},{N:"true"},{N:"treat",line:"262",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" is not a known XSLT element"}]},{N:"treat",as:"N",diag:"0|1||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]}]}]}]},{N:"co", +id:"34",binds:"22",C:[{N:"function",name:"Q{MyFunctions}syntax-error-at",line:"371",module:"lib.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}message",as:"1AS"},{N:"arg",name:"Q{}node",as:"1N"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"374",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0", +C:[{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{}message",slot:"0"},{N:"varRef",name:"Q{}node",slot:"1"}]}]}]}]},{N:"overridden"},{N:"accumulator",name:"Q{}coBinding",line:"0",as:"*AS",streamable:"0",slots:"0",binds:"176 176 176 176 176 176",C:[{N:"empty",role:"init"},{N:"pre",slots:"0",C:[{N:"accRule",slots:"8",rank:"0",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"}]},{N:"empty"}]}, +{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"187",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"3",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first", +C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"185",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"2",C:[{N:"supplied",slot:"0", +sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"V:"},{N:"attVal",name:"Q{}name"}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}callT"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"183",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"0",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn", +name:"concat",C:[{N:"str",val:"T:"},{N:"attVal",name:"Q{}name"}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"189",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"4",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"fn", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"191",name:"Q{coBindings}find-reference", +tailCall:"false",bSlot:"5",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}arity"}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"184",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"1",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"A:"},{N:"attVal",name:"Q{}name"}]}]}]}]},{N:"post",slots:"0",C:[{N:"accRule",slots:"8",rank:"0",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"}]},{N:"supplied",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"181",slot:"0",sType:"*AS"}]}]}]},{N:"accumulator",name:"Q{}number",line:"0",as:"*",streamable:"0",slots:"0",binds:"",C:[{N:"int",role:"init",val:"0"},{N:"pre",slots:"0",C:[{N:"accRule",slots:"1",rank:"0",C:[{N:"p.nodeTest",test:"NE"},{N:"arith",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"14",op:"+",calc:"a+a",C:[{N:"cvUntyped",to:"AO",C:[{N:"atomSing",card:"?", +diag:"1|0||+",C:[{N:"supplied",slot:"0",sType:"*"}]}]},{N:"int",val:"1"}]}]}]},{N:"post",slots:"0"}]},{N:"output",C:[{N:"property",name:"method",value:"xml"},{N:"property",name:"indent",value:"no"},{N:"property",name:"Q{http://saxon.sf.net/}stylesheet-version",value:"30"}]},{N:"decimalFormat"}],"\u03a3":"4869c939"},sa={IsBasicLatin:[["0000","007F"]],"IsLatin-1Supplement":[["0080","00FF"]],"IsLatinExtended-A":[["0100","017F"]],"IsLatinExtended-B":[["0180","024F"]],IsIPAExtensions:[["0250","02AF"]], +IsSpacingModifierLetters:[["02B0","02FF"]],IsCombiningDiacriticalMarks:[["0300","036F"]],IsGreek:[["0370","03FF"]],IsGreekandCoptic:[["0370","03FF"]],IsCyrillic:[["0400","04FF"]],IsCyrillicSupplementary:[["0500","052F"]],IsCyrillicSupplement:[["0500","052F"]],IsArmenian:[["0530","058F"]],IsHebrew:[["0590","05FF"]],IsArabic:[["0600","06FF"]],IsSyriac:[["0700","074F"]],IsArabicSupplement:[["0750","077F"]],IsThaana:[["0780","07BF"]],IsNKo:[["07C0","07FF"]],IsSamaritan:[["0800","083F"]],IsMandaic:[["0840", +"085F"]],IsDevanagari:[["0900","097F"]],IsBengali:[["0980","09FF"]],IsGurmukhi:[["0A00","0A7F"]],IsGujarati:[["0A80","0AFF"]],IsOriya:[["0B00","0B7F"]],IsTamil:[["0B80","0BFF"]],IsTelugu:[["0C00","0C7F"]],IsKannada:[["0C80","0CFF"]],IsMalayalam:[["0D00","0D7F"]],IsSinhala:[["0D80","0DFF"]],IsThai:[["0E00","0E7F"]],IsLao:[["0E80","0EFF"]],IsTibetan:[["0F00","0FFF"]],IsMyanmar:[["1000","109F"]],IsGeorgian:[["10A0","10FF"]],IsHangulJamo:[["1100","11FF"]],IsEthiopic:[["1200","137F"]],IsEthiopicSupplement:[["1380", +"139F"]],IsCherokee:[["13A0","13FF"]],IsUnifiedCanadianAboriginalSyllabics:[["1400","167F"]],IsOgham:[["1680","169F"]],IsRunic:[["16A0","16FF"]],IsTagalog:[["1700","171F"]],IsHanunoo:[["1720","173F"]],IsBuhid:[["1740","175F"]],IsTagbanwa:[["1760","177F"]],IsKhmer:[["1780","17FF"]],IsMongolian:[["1800","18AF"]],IsUnifiedCanadianAboriginalSyllabicsExtended:[["18B0","18FF"]],IsLimbu:[["1900","194F"]],IsTaiLe:[["1950","197F"]],IsNewTaiLue:[["1980","19DF"]],IsKhmerSymbols:[["19E0","19FF"]],IsBuginese:[["1A00", +"1A1F"]],IsTaiTham:[["1A20","1AAF"]],IsBalinese:[["1B00","1B7F"]],IsSundanese:[["1B80","1BBF"]],IsBatak:[["1BC0","1BFF"]],IsLepcha:[["1C00","1C4F"]],IsOlChiki:[["1C50","1C7F"]],IsVedicExtensions:[["1CD0","1CFF"]],IsPhoneticExtensions:[["1D00","1D7F"]],IsPhoneticExtensionsSupplement:[["1D80","1DBF"]],IsCombiningDiacriticalMarksSupplement:[["1DC0","1DFF"]],IsLatinExtendedAdditional:[["1E00","1EFF"]],IsGreekExtended:[["1F00","1FFF"]],IsGeneralPunctuation:[["2000","206F"]],IsSuperscriptsandSubscripts:[["2070", +"209F"]],IsCurrencySymbols:[["20A0","20CF"]],IsCombiningMarksforSymbols:[["20D0","20FF"]],IsCombiningDiacriticalMarksforSymbols:[["20D0","20FF"]],IsLetterlikeSymbols:[["2100","214F"]],IsNumberForms:[["2150","218F"]],IsArrows:[["2190","21FF"]],IsMathematicalOperators:[["2200","22FF"]],IsMiscellaneousTechnical:[["2300","23FF"]],IsControlPictures:[["2400","243F"]],IsOpticalCharacterRecognition:[["2440","245F"]],IsEnclosedAlphanumerics:[["2460","24FF"]],IsBoxDrawing:[["2500","257F"]],IsBlockElements:[["2580", +"259F"]],IsGeometricShapes:[["25A0","25FF"]],IsMiscellaneousSymbols:[["2600","26FF"]],IsDingbats:[["2700","27BF"]],"IsMiscellaneousMathematicalSymbols-A":[["27C0","27EF"]],"IsSupplementalArrows-A":[["27F0","27FF"]],IsBraillePatterns:[["2800","28FF"]],"IsSupplementalArrows-B":[["2900","297F"]],"IsMiscellaneousMathematicalSymbols-B":[["2980","29FF"]],IsSupplementalMathematicalOperators:[["2A00","2AFF"]],IsMiscellaneousSymbolsandArrows:[["2B00","2BFF"]],IsGlagolitic:[["2C00","2C5F"]],"IsLatinExtended-C":[["2C60", +"2C7F"]],IsCoptic:[["2C80","2CFF"]],IsGeorgianSupplement:[["2D00","2D2F"]],IsTifinagh:[["2D30","2D7F"]],IsEthiopicExtended:[["2D80","2DDF"]],"IsCyrillicExtended-A":[["2DE0","2DFF"]],IsSupplementalPunctuation:[["2E00","2E7F"]],IsCJKRadicalsSupplement:[["2E80","2EFF"]],IsKangxiRadicals:[["2F00","2FDF"]],IsIdeographicDescriptionCharacters:[["2FF0","2FFF"]],IsCJKSymbolsandPunctuation:[["3000","303F"]],IsHiragana:[["3040","309F"]],IsKatakana:[["30A0","30FF"]],IsBopomofo:[["3100","312F"]],IsHangulCompatibilityJamo:[["3130", +"318F"]],IsKanbun:[["3190","319F"]],IsBopomofoExtended:[["31A0","31BF"]],IsCJKStrokes:[["31C0","31EF"]],IsKatakanaPhoneticExtensions:[["31F0","31FF"]],IsEnclosedCJKLettersandMonths:[["3200","32FF"]],IsCJKCompatibility:[["3300","33FF"]],IsCJKUnifiedIdeographsExtensionA:[["3400","4DBF"]],IsYijingHexagramSymbols:[["4DC0","4DFF"]],IsCJKUnifiedIdeographs:[["4E00","9FFF"]],IsYiSyllables:[["A000","A48F"]],IsYiRadicals:[["A490","A4CF"]],IsLisu:[["A4D0","A4FF"]],IsVai:[["A500","A63F"]],"IsCyrillicExtended-B":[["A640", +"A69F"]],IsBamum:[["A6A0","A6FF"]],IsModifierToneLetters:[["A700","A71F"]],"IsLatinExtended-D":[["A720","A7FF"]],IsSylotiNagri:[["A800","A82F"]],IsCommonIndicNumberForms:[["A830","A83F"]],"IsPhags-pa":[["A840","A87F"]],IsSaurashtra:[["A880","A8DF"]],IsDevanagariExtended:[["A8E0","A8FF"]],IsKayahLi:[["A900","A92F"]],IsRejang:[["A930","A95F"]],"IsHangulJamoExtended-A":[["A960","A97F"]],IsJavanese:[["A980","A9DF"]],IsCham:[["AA00","AA5F"]],"IsMyanmarExtended-A":[["AA60","AA7F"]],IsTaiViet:[["AA80","AADF"]], +"IsEthiopicExtended-A":[["AB00","AB2F"]],IsMeeteiMayek:[["ABC0","ABFF"]],IsHangulSyllables:[["AC00","D7AF"]],"IsHangulJamoExtended-B":[["D7B0","D7FF"]],IsHighSurrogates:[["D800","DB7F"]],IsHighPrivateUseSurrogates:[["DB80","DBFF"]],IsLowSurrogates:[["DC00","DFFF"]],IsPrivateUse:[["E000","F8FF"],["F0000","FFFFD"],["100000","10FFFD"]],IsPrivateUseArea:[["E000","F8FF"]],IsCJKCompatibilityIdeographs:[["F900","FAFF"]],IsAlphabeticPresentationForms:[["FB00","FB4F"]],"IsArabicPresentationForms-A":[["FB50", +"FDFF"]],IsVariationSelectors:[["FE00","FE0F"]],IsVerticalForms:[["FE10","FE1F"]],IsCombiningHalfMarks:[["FE20","FE2F"]],IsCJKCompatibilityForms:[["FE30","FE4F"]],IsSmallFormVariants:[["FE50","FE6F"]],"IsArabicPresentationForms-B":[["FE70","FEFF"]],IsHalfwidthandFullwidthForms:[["FF00","FFEF"]],IsSpecials:[["FEFF","FEFF"],["FFF0","FFFF"]],IsLinearBSyllabary:[["10000","1007F"]],IsLinearBIdeograms:[["10080","100FF"]],IsAegeanNumbers:[["10100","1013F"]],IsAncientGreekNumbers:[["10140","1018F"]],IsAncientSymbols:[["10190", +"101CF"]],IsPhaistosDisc:[["101D0","101FF"]],IsLycian:[["10280","1029F"]],IsCarian:[["102A0","102DF"]],IsOldItalic:[["10300","1032F"]],IsGothic:[["10330","1034F"]],IsUgaritic:[["10380","1039F"]],IsOldPersian:[["103A0","103DF"]],IsDeseret:[["10400","1044F"]],IsShavian:[["10450","1047F"]],IsOsmanya:[["10480","104AF"]],IsCypriotSyllabary:[["10800","1083F"]],IsImperialAramaic:[["10840","1085F"]],IsPhoenician:[["10900","1091F"]],IsLydian:[["10920","1093F"]],IsKharoshthi:[["10A00","10A5F"]],IsOldSouthArabian:[["10A60", +"10A7F"]],IsAvestan:[["10B00","10B3F"]],IsInscriptionalParthian:[["10B40","10B5F"]],IsInscriptionalPahlavi:[["10B60","10B7F"]],IsOldTurkic:[["10C00","10C4F"]],IsRumiNumeralSymbols:[["10E60","10E7F"]],IsBrahmi:[["11000","1107F"]],IsKaithi:[["11080","110CF"]],IsCuneiform:[["12000","123FF"]],IsCuneiformNumbersandPunctuation:[["12400","1247F"]],IsEgyptianHieroglyphs:[["13000","1342F"]],IsBamumSupplement:[["16800","16A3F"]],IsKanaSupplement:[["1B000","1B0FF"]],IsByzantineMusicalSymbols:[["1D000","1D0FF"]], +IsMusicalSymbols:[["1D100","1D1FF"]],IsAncientGreekMusicalNotation:[["1D200","1D24F"]],IsTaiXuanJingSymbols:[["1D300","1D35F"]],IsCountingRodNumerals:[["1D360","1D37F"]],IsMathematicalAlphanumericSymbols:[["1D400","1D7FF"]],IsMahjongTiles:[["1F000","1F02F"]],IsDominoTiles:[["1F030","1F09F"]],IsPlayingCards:[["1F0A0","1F0FF"]],IsEnclosedAlphanumericSupplement:[["1F100","1F1FF"]],IsEnclosedIdeographicSupplement:[["1F200","1F2FF"]],IsMiscellaneousSymbolsAndPictographs:[["1F300","1F5FF"]],IsEmoticons:[["1F600", +"1F64F"]],IsTransportAndMapSymbols:[["1F680","1F6FF"]],IsAlchemicalSymbols:[["1F700","1F77F"]],IsCJKUnifiedIdeographsExtensionB:[["20000","2A6DF"]],IsCJKUnifiedIdeographsExtensionC:[["2A700","2B73F"]],IsCJKUnifiedIdeographsExtensionD:[["2B740","2B81F"]],IsCJKCompatibilityIdeographsSupplement:[["2F800","2FA1F"]],IsTags:[["E0000","E007F"]],IsVariationSelectorsSupplement:[["E0100","E01EF"]],"IsSupplementaryPrivateUseArea-A":[["F0000","FFFFF"]],"IsSupplementaryPrivateUseArea-B":[["100000","10FFFF"]], +C:"Cc|Cf|Cn|Co",Cc:[["0","1F"],["7F","9F"]],Cf:[["AD","AD"],["600","604"],["6DD","6DD"],["70F","70F"],["200B","200F"],["202A","202E"],["2060","2064"],["206A","206F"],["FEFF","FEFF"],["FFF9","FFFB"],["110BD","110BD"],["1D173","1D17A"],["E0001","E0001"],["E0020","E007F"]],Cn:[["378","379"],["37F","383"],["38B","38B"],["38D","38D"],["3A2","3A2"],["528","52F"],["530","530"],["557","558"],["560","560"],["588","588"],["58B","58E"],["590","590"],["5C8","5CF"],["5EB","5EF"],["5F5","5FF"],["605","605"],["61C", +"61D"],["70E","70E"],["74B","74C"],["7B2","7BF"],["7FB","7FF"],["82E","82F"],["83F","83F"],["85C","85D"],["85F","85F"],["860","89F"],["8A1","8A1"],["8AD","8E3"],["8FF","8FF"],["978","978"],["980","980"],["984","984"],["98D","98E"],["991","992"],["9A9","9A9"],["9B1","9B1"],["9B3","9B5"],["9BA","9BB"],["9C5","9C6"],["9C9","9CA"],["9CF","9D6"],["9D8","9DB"],["9DE","9DE"],["9E4","9E5"],["9FC","9FF"],["A00","A00"],["A04","A04"],["A0B","A0E"],["A11","A12"],["A29","A29"],["A31","A31"],["A34","A34"],["A37", +"A37"],["A3A","A3B"],["A3D","A3D"],["A43","A46"],["A49","A4A"],["A4E","A50"],["A52","A58"],["A5D","A5D"],["A5F","A65"],["A76","A7F"],["A80","A80"],["A84","A84"],["A8E","A8E"],["A92","A92"],["AA9","AA9"],["AB1","AB1"],["AB4","AB4"],["ABA","ABB"],["AC6","AC6"],["ACA","ACA"],["ACE","ACF"],["AD1","ADF"],["AE4","AE5"],["AF2","AFF"],["B00","B00"],["B04","B04"],["B0D","B0E"],["B11","B12"],["B29","B29"],["B31","B31"],["B34","B34"],["B3A","B3B"],["B45","B46"],["B49","B4A"],["B4E","B55"],["B58","B5B"],["B5E", +"B5E"],["B64","B65"],["B78","B7F"],["B80","B81"],["B84","B84"],["B8B","B8D"],["B91","B91"],["B96","B98"],["B9B","B9B"],["B9D","B9D"],["BA0","BA2"],["BA5","BA7"],["BAB","BAD"],["BBA","BBD"],["BC3","BC5"],["BC9","BC9"],["BCE","BCF"],["BD1","BD6"],["BD8","BE5"],["BFB","BFF"],["C00","C00"],["C04","C04"],["C0D","C0D"],["C11","C11"],["C29","C29"],["C34","C34"],["C3A","C3C"],["C45","C45"],["C49","C49"],["C4E","C54"],["C57","C57"],["C5A","C5F"],["C64","C65"],["C70","C77"],["C80","C81"],["C84","C84"],["C8D", +"C8D"],["C91","C91"],["CA9","CA9"],["CB4","CB4"],["CBA","CBB"],["CC5","CC5"],["CC9","CC9"],["CCE","CD4"],["CD7","CDD"],["CDF","CDF"],["CE4","CE5"],["CF0","CF0"],["CF3","CFF"],["D00","D01"],["D04","D04"],["D0D","D0D"],["D11","D11"],["D3B","D3C"],["D45","D45"],["D49","D49"],["D4F","D56"],["D58","D5F"],["D64","D65"],["D76","D78"],["D80","D81"],["D84","D84"],["D97","D99"],["DB2","DB2"],["DBC","DBC"],["DBE","DBF"],["DC7","DC9"],["DCB","DCE"],["DD5","DD5"],["DD7","DD7"],["DE0","DF1"],["DF5","DFF"],["E00", +"E00"],["E3B","E3E"],["E5C","E7F"],["E80","E80"],["E83","E83"],["E85","E86"],["E89","E89"],["E8B","E8C"],["E8E","E93"],["E98","E98"],["EA0","EA0"],["EA4","EA4"],["EA6","EA6"],["EA8","EA9"],["EAC","EAC"],["EBA","EBA"],["EBE","EBF"],["EC5","EC5"],["EC7","EC7"],["ECE","ECF"],["EDA","EDB"],["EE0","EFF"],["F48","F48"],["F6D","F70"],["F98","F98"],["FBD","FBD"],["FCD","FCD"],["FDB","FFF"],["10C6","10C6"],["10C8","10CC"],["10CE","10CF"],["1249","1249"],["124E","124F"],["1257","1257"],["1259","1259"],["125E", +"125F"],["1289","1289"],["128E","128F"],["12B1","12B1"],["12B6","12B7"],["12BF","12BF"],["12C1","12C1"],["12C6","12C7"],["12D7","12D7"],["1311","1311"],["1316","1317"],["135B","135C"],["137D","137F"],["139A","139F"],["13F5","13FF"],["169D","169F"],["16F1","16FF"],["170D","170D"],["1715","171F"],["1737","173F"],["1754","175F"],["176D","176D"],["1771","1771"],["1774","177F"],["17DE","17DF"],["17EA","17EF"],["17FA","17FF"],["180F","180F"],["181A","181F"],["1878","187F"],["18AB","18AF"],["18F6","18FF"], +["191D","191F"],["192C","192F"],["193C","193F"],["1941","1943"],["196E","196F"],["1975","197F"],["19AC","19AF"],["19CA","19CF"],["19DB","19DD"],["1A1C","1A1D"],["1A5F","1A5F"],["1A7D","1A7E"],["1A8A","1A8F"],["1A9A","1A9F"],["1AAE","1AAF"],["1AB0","1AFF"],["1B4C","1B4F"],["1B7D","1B7F"],["1BF4","1BFB"],["1C38","1C3A"],["1C4A","1C4C"],["1C80","1CBF"],["1CC8","1CCF"],["1CF7","1CFF"],["1DE7","1DFB"],["1F16","1F17"],["1F1E","1F1F"],["1F46","1F47"],["1F4E","1F4F"],["1F58","1F58"],["1F5A","1F5A"],["1F5C", +"1F5C"],["1F5E","1F5E"],["1F7E","1F7F"],["1FB5","1FB5"],["1FC5","1FC5"],["1FD4","1FD5"],["1FDC","1FDC"],["1FF0","1FF1"],["1FF5","1FF5"],["1FFF","1FFF"],["2065","2069"],["2072","2073"],["208F","208F"],["209D","209F"],["20BB","20CF"],["20F1","20FF"],["218A","218F"],["23F4","23FF"],["2427","243F"],["244B","245F"],["2700","2700"],["2B4D","2B4F"],["2B5A","2BFF"],["2C2F","2C2F"],["2C5F","2C5F"],["2CF4","2CF8"],["2D26","2D26"],["2D28","2D2C"],["2D2E","2D2F"],["2D68","2D6E"],["2D71","2D7E"],["2D97","2D9F"], +["2DA7","2DA7"],["2DAF","2DAF"],["2DB7","2DB7"],["2DBF","2DBF"],["2DC7","2DC7"],["2DCF","2DCF"],["2DD7","2DD7"],["2DDF","2DDF"],["2E3C","2E7F"],["2E9A","2E9A"],["2EF4","2EFF"],["2FD6","2FDF"],["2FE0","2FEF"],["2FFC","2FFF"],["3040","3040"],["3097","3098"],["3100","3104"],["312E","312F"],["3130","3130"],["318F","318F"],["31BB","31BF"],["31E4","31EF"],["321F","321F"],["32FF","32FF"],["4DB6","4DBF"],["9FCD","9FFF"],["A48D","A48F"],["A4C7","A4CF"],["A62C","A63F"],["A698","A69E"],["A6F8","A6FF"],["A78F", +"A78F"],["A794","A79F"],["A7AB","A7F7"],["A82C","A82F"],["A83A","A83F"],["A878","A87F"],["A8C5","A8CD"],["A8DA","A8DF"],["A8FC","A8FF"],["A954","A95E"],["A97D","A97F"],["A9CE","A9CE"],["A9DA","A9DD"],["A9E0","A9FF"],["AA37","AA3F"],["AA4E","AA4F"],["AA5A","AA5B"],["AA7C","AA7F"],["AAC3","AADA"],["AAF7","AAFF"],["AB00","AB00"],["AB07","AB08"],["AB0F","AB10"],["AB17","AB1F"],["AB27","AB27"],["AB2F","AB2F"],["AB30","ABBF"],["ABEE","ABEF"],["ABFA","ABFF"],["D7A4","D7AF"],["D7C7","D7CA"],["D7FC","D7FF"], +["FA6E","FA6F"],["FADA","FAFF"],["FB07","FB12"],["FB18","FB1C"],["FB37","FB37"],["FB3D","FB3D"],["FB3F","FB3F"],["FB42","FB42"],["FB45","FB45"],["FBC2","FBD2"],["FD40","FD4F"],["FD90","FD91"],["FDC8","FDCF"],["FDD0","FDEF"],["FDFE","FDFF"],["FE1A","FE1F"],["FE27","FE2F"],["FE53","FE53"],["FE67","FE67"],["FE6C","FE6F"],["FE75","FE75"],["FEFD","FEFE"],["FF00","FF00"],["FFBF","FFC1"],["FFC8","FFC9"],["FFD0","FFD1"],["FFD8","FFD9"],["FFDD","FFDF"],["FFE7","FFE7"],["FFEF","FFEF"],["FFF0","FFF8"],["FFFE", +"FFFF"],["1000C","1000C"],["10027","10027"],["1003B","1003B"],["1003E","1003E"],["1004E","1004F"],["1005E","1007F"],["100FB","100FF"],["10103","10106"],["10134","10136"],["1018B","1018F"],["1019C","101CF"],["101FE","101FF"],["10200","1027F"],["1029D","1029F"],["102D1","102DF"],["102E0","102FF"],["1031F","1031F"],["10324","1032F"],["1034B","1034F"],["10350","1037F"],["1039E","1039E"],["103C4","103C7"],["103D6","103DF"],["103E0","103FF"],["1049E","1049F"],["104AA","104AF"],["104B0","107FF"],["10806", +"10807"],["10809","10809"],["10836","10836"],["10839","1083B"],["1083D","1083E"],["10856","10856"],["10860","108FF"],["1091C","1091E"],["1093A","1093E"],["10940","1097F"],["109B8","109BD"],["109C0","109FF"],["10A04","10A04"],["10A07","10A0B"],["10A14","10A14"],["10A18","10A18"],["10A34","10A37"],["10A3B","10A3E"],["10A48","10A4F"],["10A59","10A5F"],["10A80","10AFF"],["10B36","10B38"],["10B56","10B57"],["10B73","10B77"],["10B80","10BFF"],["10C49","10C4F"],["10C50","10E5F"],["10E7F","10E7F"],["10E80", +"10FFF"],["1104E","11051"],["11070","1107F"],["110C2","110CF"],["110E9","110EF"],["110FA","110FF"],["11135","11135"],["11144","1114F"],["11150","1117F"],["111C9","111CF"],["111DA","111DF"],["111E0","1167F"],["116B8","116BF"],["116CA","116CF"],["116D0","11FFF"],["1236F","123FF"],["12463","1246F"],["12474","1247F"],["12480","12FFF"],["1342F","1342F"],["13430","167FF"],["16A39","16A3F"],["16A40","16EFF"],["16F45","16F4F"],["16F7F","16F8E"],["16FA0","1AFFF"],["1B002","1B0FF"],["1B100","1CFFF"],["1D0F6", +"1D0FF"],["1D127","1D128"],["1D1DE","1D1FF"],["1D246","1D24F"],["1D250","1D2FF"],["1D357","1D35F"],["1D372","1D37F"],["1D380","1D3FF"],["1D455","1D455"],["1D49D","1D49D"],["1D4A0","1D4A1"],["1D4A3","1D4A4"],["1D4A7","1D4A8"],["1D4AD","1D4AD"],["1D4BA","1D4BA"],["1D4BC","1D4BC"],["1D4C4","1D4C4"],["1D506","1D506"],["1D50B","1D50C"],["1D515","1D515"],["1D51D","1D51D"],["1D53A","1D53A"],["1D53F","1D53F"],["1D545","1D545"],["1D547","1D549"],["1D551","1D551"],["1D6A6","1D6A7"],["1D7CC","1D7CD"],["1D800", +"1E7FF"],["1E800","1EDFF"],["1EE04","1EE04"],["1EE20","1EE20"],["1EE23","1EE23"],["1EE25","1EE26"],["1EE28","1EE28"],["1EE33","1EE33"],["1EE38","1EE38"],["1EE3A","1EE3A"],["1EE3C","1EE41"],["1EE43","1EE46"],["1EE48","1EE48"],["1EE4A","1EE4A"],["1EE4C","1EE4C"],["1EE50","1EE50"],["1EE53","1EE53"],["1EE55","1EE56"],["1EE58","1EE58"],["1EE5A","1EE5A"],["1EE5C","1EE5C"],["1EE5E","1EE5E"],["1EE60","1EE60"],["1EE63","1EE63"],["1EE65","1EE66"],["1EE6B","1EE6B"],["1EE73","1EE73"],["1EE78","1EE78"],["1EE7D", +"1EE7D"],["1EE7F","1EE7F"],["1EE8A","1EE8A"],["1EE9C","1EEA0"],["1EEA4","1EEA4"],["1EEAA","1EEAA"],["1EEBC","1EEEF"],["1EEF2","1EEFF"],["1EF00","1EFFF"],["1F02C","1F02F"],["1F094","1F09F"],["1F0AF","1F0B0"],["1F0BF","1F0C0"],["1F0D0","1F0D0"],["1F0E0","1F0FF"],["1F10B","1F10F"],["1F12F","1F12F"],["1F16C","1F16F"],["1F19B","1F1E5"],["1F203","1F20F"],["1F23B","1F23F"],["1F249","1F24F"],["1F252","1F2FF"],["1F321","1F32F"],["1F336","1F336"],["1F37D","1F37F"],["1F394","1F39F"],["1F3C5","1F3C5"],["1F3CB", +"1F3DF"],["1F3F1","1F3FF"],["1F43F","1F43F"],["1F441","1F441"],["1F4F8","1F4F8"],["1F4FD","1F4FF"],["1F53E","1F53F"],["1F544","1F54F"],["1F568","1F5FA"],["1F641","1F644"],["1F650","1F67F"],["1F6C6","1F6FF"],["1F774","1F77F"],["1F780","1FFFD"],["1FFFE","1FFFF"],["2A6D7","2A6DF"],["2A6E0","2A6FF"],["2B735","2B73F"],["2B81E","2B81F"],["2B820","2F7FF"],["2FA1E","2FA1F"],["2FA20","2FFFD"],["2FFFE","2FFFF"],["30000","3FFFD"],["3FFFE","3FFFF"],["40000","4FFFD"],["4FFFE","4FFFF"],["50000","5FFFD"],["5FFFE", +"5FFFF"],["60000","6FFFD"],["6FFFE","6FFFF"],["70000","7FFFD"],["7FFFE","7FFFF"],["80000","8FFFD"],["8FFFE","8FFFF"],["90000","9FFFD"],["9FFFE","9FFFF"],["A0000","AFFFD"],["AFFFE","AFFFF"],["B0000","BFFFD"],["BFFFE","BFFFF"],["C0000","CFFFD"],["CFFFE","CFFFF"],["D0000","DFFFD"],["DFFFE","DFFFF"],["E0000","E0000"],["E0002","E001F"],["E0080","E00FF"],["E01F0","E0FFF"],["E1000","EFFFD"],["EFFFE","EFFFF"],["FFFFE","FFFFF"],["10FFFE","10FFFF"]],Co:[["E000","F8FF"],["F0000","FFFFD"],["100000","10FFFD"]], +L:"Ll|Lm|Lo|Lt|Lu",Ll:[["61","7A"],["B5","B5"],["DF","F6"],["F8","FF"],["101","101"],["103","103"],["105","105"],["107","107"],["109","109"],["10B","10B"],["10D","10D"],["10F","10F"],["111","111"],["113","113"],["115","115"],["117","117"],["119","119"],["11B","11B"],["11D","11D"],["11F","11F"],["121","121"],["123","123"],["125","125"],["127","127"],["129","129"],["12B","12B"],["12D","12D"],["12F","12F"],["131","131"],["133","133"],["135","135"],["137","138"],["13A","13A"],["13C","13C"],["13E","13E"], +["140","140"],["142","142"],["144","144"],["146","146"],["148","149"],["14B","14B"],["14D","14D"],["14F","14F"],["151","151"],["153","153"],["155","155"],["157","157"],["159","159"],["15B","15B"],["15D","15D"],["15F","15F"],["161","161"],["163","163"],["165","165"],["167","167"],["169","169"],["16B","16B"],["16D","16D"],["16F","16F"],["171","171"],["173","173"],["175","175"],["177","177"],["17A","17A"],["17C","17C"],["17E","180"],["183","183"],["185","185"],["188","188"],["18C","18D"],["192","192"], +["195","195"],["199","19B"],["19E","19E"],["1A1","1A1"],["1A3","1A3"],["1A5","1A5"],["1A8","1A8"],["1AA","1AB"],["1AD","1AD"],["1B0","1B0"],["1B4","1B4"],["1B6","1B6"],["1B9","1BA"],["1BD","1BF"],["1C6","1C6"],["1C9","1C9"],["1CC","1CC"],["1CE","1CE"],["1D0","1D0"],["1D2","1D2"],["1D4","1D4"],["1D6","1D6"],["1D8","1D8"],["1DA","1DA"],["1DC","1DD"],["1DF","1DF"],["1E1","1E1"],["1E3","1E3"],["1E5","1E5"],["1E7","1E7"],["1E9","1E9"],["1EB","1EB"],["1ED","1ED"],["1EF","1F0"],["1F3","1F3"],["1F5","1F5"], +["1F9","1F9"],["1FB","1FB"],["1FD","1FD"],["1FF","1FF"],["201","201"],["203","203"],["205","205"],["207","207"],["209","209"],["20B","20B"],["20D","20D"],["20F","20F"],["211","211"],["213","213"],["215","215"],["217","217"],["219","219"],["21B","21B"],["21D","21D"],["21F","21F"],["221","221"],["223","223"],["225","225"],["227","227"],["229","229"],["22B","22B"],["22D","22D"],["22F","22F"],["231","231"],["233","239"],["23C","23C"],["23F","240"],["242","242"],["247","247"],["249","249"],["24B","24B"], +["24D","24D"],["24F","293"],["295","2AF"],["371","371"],["373","373"],["377","377"],["37B","37D"],["390","390"],["3AC","3CE"],["3D0","3D1"],["3D5","3D7"],["3D9","3D9"],["3DB","3DB"],["3DD","3DD"],["3DF","3DF"],["3E1","3E1"],["3E3","3E3"],["3E5","3E5"],["3E7","3E7"],["3E9","3E9"],["3EB","3EB"],["3ED","3ED"],["3EF","3F3"],["3F5","3F5"],["3F8","3F8"],["3FB","3FC"],["430","45F"],["461","461"],["463","463"],["465","465"],["467","467"],["469","469"],["46B","46B"],["46D","46D"],["46F","46F"],["471","471"], +["473","473"],["475","475"],["477","477"],["479","479"],["47B","47B"],["47D","47D"],["47F","47F"],["481","481"],["48B","48B"],["48D","48D"],["48F","48F"],["491","491"],["493","493"],["495","495"],["497","497"],["499","499"],["49B","49B"],["49D","49D"],["49F","49F"],["4A1","4A1"],["4A3","4A3"],["4A5","4A5"],["4A7","4A7"],["4A9","4A9"],["4AB","4AB"],["4AD","4AD"],["4AF","4AF"],["4B1","4B1"],["4B3","4B3"],["4B5","4B5"],["4B7","4B7"],["4B9","4B9"],["4BB","4BB"],["4BD","4BD"],["4BF","4BF"],["4C2","4C2"], +["4C4","4C4"],["4C6","4C6"],["4C8","4C8"],["4CA","4CA"],["4CC","4CC"],["4CE","4CF"],["4D1","4D1"],["4D3","4D3"],["4D5","4D5"],["4D7","4D7"],["4D9","4D9"],["4DB","4DB"],["4DD","4DD"],["4DF","4DF"],["4E1","4E1"],["4E3","4E3"],["4E5","4E5"],["4E7","4E7"],["4E9","4E9"],["4EB","4EB"],["4ED","4ED"],["4EF","4EF"],["4F1","4F1"],["4F3","4F3"],["4F5","4F5"],["4F7","4F7"],["4F9","4F9"],["4FB","4FB"],["4FD","4FD"],["4FF","4FF"],["501","501"],["503","503"],["505","505"],["507","507"],["509","509"],["50B","50B"], +["50D","50D"],["50F","50F"],["511","511"],["513","513"],["515","515"],["517","517"],["519","519"],["51B","51B"],["51D","51D"],["51F","51F"],["521","521"],["523","523"],["525","525"],["527","527"],["561","587"],["1D00","1D2B"],["1D6B","1D77"],["1D79","1D9A"],["1E01","1E01"],["1E03","1E03"],["1E05","1E05"],["1E07","1E07"],["1E09","1E09"],["1E0B","1E0B"],["1E0D","1E0D"],["1E0F","1E0F"],["1E11","1E11"],["1E13","1E13"],["1E15","1E15"],["1E17","1E17"],["1E19","1E19"],["1E1B","1E1B"],["1E1D","1E1D"],["1E1F", +"1E1F"],["1E21","1E21"],["1E23","1E23"],["1E25","1E25"],["1E27","1E27"],["1E29","1E29"],["1E2B","1E2B"],["1E2D","1E2D"],["1E2F","1E2F"],["1E31","1E31"],["1E33","1E33"],["1E35","1E35"],["1E37","1E37"],["1E39","1E39"],["1E3B","1E3B"],["1E3D","1E3D"],["1E3F","1E3F"],["1E41","1E41"],["1E43","1E43"],["1E45","1E45"],["1E47","1E47"],["1E49","1E49"],["1E4B","1E4B"],["1E4D","1E4D"],["1E4F","1E4F"],["1E51","1E51"],["1E53","1E53"],["1E55","1E55"],["1E57","1E57"],["1E59","1E59"],["1E5B","1E5B"],["1E5D","1E5D"], +["1E5F","1E5F"],["1E61","1E61"],["1E63","1E63"],["1E65","1E65"],["1E67","1E67"],["1E69","1E69"],["1E6B","1E6B"],["1E6D","1E6D"],["1E6F","1E6F"],["1E71","1E71"],["1E73","1E73"],["1E75","1E75"],["1E77","1E77"],["1E79","1E79"],["1E7B","1E7B"],["1E7D","1E7D"],["1E7F","1E7F"],["1E81","1E81"],["1E83","1E83"],["1E85","1E85"],["1E87","1E87"],["1E89","1E89"],["1E8B","1E8B"],["1E8D","1E8D"],["1E8F","1E8F"],["1E91","1E91"],["1E93","1E93"],["1E95","1E9D"],["1E9F","1E9F"],["1EA1","1EA1"],["1EA3","1EA3"],["1EA5", +"1EA5"],["1EA7","1EA7"],["1EA9","1EA9"],["1EAB","1EAB"],["1EAD","1EAD"],["1EAF","1EAF"],["1EB1","1EB1"],["1EB3","1EB3"],["1EB5","1EB5"],["1EB7","1EB7"],["1EB9","1EB9"],["1EBB","1EBB"],["1EBD","1EBD"],["1EBF","1EBF"],["1EC1","1EC1"],["1EC3","1EC3"],["1EC5","1EC5"],["1EC7","1EC7"],["1EC9","1EC9"],["1ECB","1ECB"],["1ECD","1ECD"],["1ECF","1ECF"],["1ED1","1ED1"],["1ED3","1ED3"],["1ED5","1ED5"],["1ED7","1ED7"],["1ED9","1ED9"],["1EDB","1EDB"],["1EDD","1EDD"],["1EDF","1EDF"],["1EE1","1EE1"],["1EE3","1EE3"], +["1EE5","1EE5"],["1EE7","1EE7"],["1EE9","1EE9"],["1EEB","1EEB"],["1EED","1EED"],["1EEF","1EEF"],["1EF1","1EF1"],["1EF3","1EF3"],["1EF5","1EF5"],["1EF7","1EF7"],["1EF9","1EF9"],["1EFB","1EFB"],["1EFD","1EFD"],["1EFF","1F07"],["1F10","1F15"],["1F20","1F27"],["1F30","1F37"],["1F40","1F45"],["1F50","1F57"],["1F60","1F67"],["1F70","1F7D"],["1F80","1F87"],["1F90","1F97"],["1FA0","1FA7"],["1FB0","1FB4"],["1FB6","1FB7"],["1FBE","1FBE"],["1FC2","1FC4"],["1FC6","1FC7"],["1FD0","1FD3"],["1FD6","1FD7"],["1FE0", +"1FE7"],["1FF2","1FF4"],["1FF6","1FF7"],["210A","210A"],["210E","210F"],["2113","2113"],["212F","212F"],["2134","2134"],["2139","2139"],["213C","213D"],["2146","2149"],["214E","214E"],["2184","2184"],["2C30","2C5E"],["2C61","2C61"],["2C65","2C66"],["2C68","2C68"],["2C6A","2C6A"],["2C6C","2C6C"],["2C71","2C71"],["2C73","2C74"],["2C76","2C7B"],["2C81","2C81"],["2C83","2C83"],["2C85","2C85"],["2C87","2C87"],["2C89","2C89"],["2C8B","2C8B"],["2C8D","2C8D"],["2C8F","2C8F"],["2C91","2C91"],["2C93","2C93"], +["2C95","2C95"],["2C97","2C97"],["2C99","2C99"],["2C9B","2C9B"],["2C9D","2C9D"],["2C9F","2C9F"],["2CA1","2CA1"],["2CA3","2CA3"],["2CA5","2CA5"],["2CA7","2CA7"],["2CA9","2CA9"],["2CAB","2CAB"],["2CAD","2CAD"],["2CAF","2CAF"],["2CB1","2CB1"],["2CB3","2CB3"],["2CB5","2CB5"],["2CB7","2CB7"],["2CB9","2CB9"],["2CBB","2CBB"],["2CBD","2CBD"],["2CBF","2CBF"],["2CC1","2CC1"],["2CC3","2CC3"],["2CC5","2CC5"],["2CC7","2CC7"],["2CC9","2CC9"],["2CCB","2CCB"],["2CCD","2CCD"],["2CCF","2CCF"],["2CD1","2CD1"],["2CD3", +"2CD3"],["2CD5","2CD5"],["2CD7","2CD7"],["2CD9","2CD9"],["2CDB","2CDB"],["2CDD","2CDD"],["2CDF","2CDF"],["2CE1","2CE1"],["2CE3","2CE4"],["2CEC","2CEC"],["2CEE","2CEE"],["2CF3","2CF3"],["2D00","2D25"],["2D27","2D27"],["2D2D","2D2D"],["A641","A641"],["A643","A643"],["A645","A645"],["A647","A647"],["A649","A649"],["A64B","A64B"],["A64D","A64D"],["A64F","A64F"],["A651","A651"],["A653","A653"],["A655","A655"],["A657","A657"],["A659","A659"],["A65B","A65B"],["A65D","A65D"],["A65F","A65F"],["A661","A661"], +["A663","A663"],["A665","A665"],["A667","A667"],["A669","A669"],["A66B","A66B"],["A66D","A66D"],["A681","A681"],["A683","A683"],["A685","A685"],["A687","A687"],["A689","A689"],["A68B","A68B"],["A68D","A68D"],["A68F","A68F"],["A691","A691"],["A693","A693"],["A695","A695"],["A697","A697"],["A723","A723"],["A725","A725"],["A727","A727"],["A729","A729"],["A72B","A72B"],["A72D","A72D"],["A72F","A731"],["A733","A733"],["A735","A735"],["A737","A737"],["A739","A739"],["A73B","A73B"],["A73D","A73D"],["A73F", +"A73F"],["A741","A741"],["A743","A743"],["A745","A745"],["A747","A747"],["A749","A749"],["A74B","A74B"],["A74D","A74D"],["A74F","A74F"],["A751","A751"],["A753","A753"],["A755","A755"],["A757","A757"],["A759","A759"],["A75B","A75B"],["A75D","A75D"],["A75F","A75F"],["A761","A761"],["A763","A763"],["A765","A765"],["A767","A767"],["A769","A769"],["A76B","A76B"],["A76D","A76D"],["A76F","A76F"],["A771","A778"],["A77A","A77A"],["A77C","A77C"],["A77F","A77F"],["A781","A781"],["A783","A783"],["A785","A785"], +["A787","A787"],["A78C","A78C"],["A78E","A78E"],["A791","A791"],["A793","A793"],["A7A1","A7A1"],["A7A3","A7A3"],["A7A5","A7A5"],["A7A7","A7A7"],["A7A9","A7A9"],["A7FA","A7FA"],["FB00","FB06"],["FB13","FB17"],["FF41","FF5A"],["10428","1044F"],["1D41A","1D433"],["1D44E","1D454"],["1D456","1D467"],["1D482","1D49B"],["1D4B6","1D4B9"],["1D4BB","1D4BB"],["1D4BD","1D4C3"],["1D4C5","1D4CF"],["1D4EA","1D503"],["1D51E","1D537"],["1D552","1D56B"],["1D586","1D59F"],["1D5BA","1D5D3"],["1D5EE","1D607"],["1D622", +"1D63B"],["1D656","1D66F"],["1D68A","1D6A5"],["1D6C2","1D6DA"],["1D6DC","1D6E1"],["1D6FC","1D714"],["1D716","1D71B"],["1D736","1D74E"],["1D750","1D755"],["1D770","1D788"],["1D78A","1D78F"],["1D7AA","1D7C2"],["1D7C4","1D7C9"],["1D7CB","1D7CB"]],Lm:[["2B0","2C1"],["2C6","2D1"],["2E0","2E4"],["2EC","2EC"],["2EE","2EE"],["374","374"],["37A","37A"],["559","559"],["640","640"],["6E5","6E6"],["7F4","7F5"],["7FA","7FA"],["81A","81A"],["824","824"],["828","828"],["971","971"],["E46","E46"],["EC6","EC6"],["10FC", +"10FC"],["17D7","17D7"],["1843","1843"],["1AA7","1AA7"],["1C78","1C7D"],["1D2C","1D6A"],["1D78","1D78"],["1D9B","1DBF"],["2071","2071"],["207F","207F"],["2090","209C"],["2C7C","2C7D"],["2D6F","2D6F"],["2E2F","2E2F"],["3005","3005"],["3031","3035"],["303B","303B"],["309D","309E"],["30FC","30FE"],["A015","A015"],["A4F8","A4FD"],["A60C","A60C"],["A67F","A67F"],["A717","A71F"],["A770","A770"],["A788","A788"],["A7F8","A7F9"],["A9CF","A9CF"],["AA70","AA70"],["AADD","AADD"],["AAF3","AAF4"],["FF70","FF70"], +["FF9E","FF9F"],["16F93","16F9F"]],Lo:[["AA","AA"],["BA","BA"],["1BB","1BB"],["1C0","1C3"],["294","294"],["5D0","5EA"],["5F0","5F2"],["620","63F"],["641","64A"],["66E","66F"],["671","6D3"],["6D5","6D5"],["6EE","6EF"],["6FA","6FC"],["6FF","6FF"],["710","710"],["712","72F"],["74D","7A5"],["7B1","7B1"],["7CA","7EA"],["800","815"],["840","858"],["8A0","8A0"],["8A2","8AC"],["904","939"],["93D","93D"],["950","950"],["958","961"],["972","977"],["979","97F"],["985","98C"],["98F","990"],["993","9A8"],["9AA", +"9B0"],["9B2","9B2"],["9B6","9B9"],["9BD","9BD"],["9CE","9CE"],["9DC","9DD"],["9DF","9E1"],["9F0","9F1"],["A05","A0A"],["A0F","A10"],["A13","A28"],["A2A","A30"],["A32","A33"],["A35","A36"],["A38","A39"],["A59","A5C"],["A5E","A5E"],["A72","A74"],["A85","A8D"],["A8F","A91"],["A93","AA8"],["AAA","AB0"],["AB2","AB3"],["AB5","AB9"],["ABD","ABD"],["AD0","AD0"],["AE0","AE1"],["B05","B0C"],["B0F","B10"],["B13","B28"],["B2A","B30"],["B32","B33"],["B35","B39"],["B3D","B3D"],["B5C","B5D"],["B5F","B61"],["B71", +"B71"],["B83","B83"],["B85","B8A"],["B8E","B90"],["B92","B95"],["B99","B9A"],["B9C","B9C"],["B9E","B9F"],["BA3","BA4"],["BA8","BAA"],["BAE","BB9"],["BD0","BD0"],["C05","C0C"],["C0E","C10"],["C12","C28"],["C2A","C33"],["C35","C39"],["C3D","C3D"],["C58","C59"],["C60","C61"],["C85","C8C"],["C8E","C90"],["C92","CA8"],["CAA","CB3"],["CB5","CB9"],["CBD","CBD"],["CDE","CDE"],["CE0","CE1"],["CF1","CF2"],["D05","D0C"],["D0E","D10"],["D12","D3A"],["D3D","D3D"],["D4E","D4E"],["D60","D61"],["D7A","D7F"],["D85", +"D96"],["D9A","DB1"],["DB3","DBB"],["DBD","DBD"],["DC0","DC6"],["E01","E30"],["E32","E33"],["E40","E45"],["E81","E82"],["E84","E84"],["E87","E88"],["E8A","E8A"],["E8D","E8D"],["E94","E97"],["E99","E9F"],["EA1","EA3"],["EA5","EA5"],["EA7","EA7"],["EAA","EAB"],["EAD","EB0"],["EB2","EB3"],["EBD","EBD"],["EC0","EC4"],["EDC","EDF"],["F00","F00"],["F40","F47"],["F49","F6C"],["F88","F8C"],["1000","102A"],["103F","103F"],["1050","1055"],["105A","105D"],["1061","1061"],["1065","1066"],["106E","1070"],["1075", +"1081"],["108E","108E"],["10D0","10FA"],["10FD","1248"],["124A","124D"],["1250","1256"],["1258","1258"],["125A","125D"],["1260","1288"],["128A","128D"],["1290","12B0"],["12B2","12B5"],["12B8","12BE"],["12C0","12C0"],["12C2","12C5"],["12C8","12D6"],["12D8","1310"],["1312","1315"],["1318","135A"],["1380","138F"],["13A0","13F4"],["1401","166C"],["166F","167F"],["1681","169A"],["16A0","16EA"],["1700","170C"],["170E","1711"],["1720","1731"],["1740","1751"],["1760","176C"],["176E","1770"],["1780","17B3"], +["17DC","17DC"],["1820","1842"],["1844","1877"],["1880","18A8"],["18AA","18AA"],["18B0","18F5"],["1900","191C"],["1950","196D"],["1970","1974"],["1980","19AB"],["19C1","19C7"],["1A00","1A16"],["1A20","1A54"],["1B05","1B33"],["1B45","1B4B"],["1B83","1BA0"],["1BAE","1BAF"],["1BBA","1BE5"],["1C00","1C23"],["1C4D","1C4F"],["1C5A","1C77"],["1CE9","1CEC"],["1CEE","1CF1"],["1CF5","1CF6"],["2135","2138"],["2D30","2D67"],["2D80","2D96"],["2DA0","2DA6"],["2DA8","2DAE"],["2DB0","2DB6"],["2DB8","2DBE"],["2DC0", +"2DC6"],["2DC8","2DCE"],["2DD0","2DD6"],["2DD8","2DDE"],["3006","3006"],["303C","303C"],["3041","3096"],["309F","309F"],["30A1","30FA"],["30FF","30FF"],["3105","312D"],["3131","318E"],["31A0","31BA"],["31F0","31FF"],["3400","4DB5"],["4E00","9FCC"],["A000","A014"],["A016","A48C"],["A4D0","A4F7"],["A500","A60B"],["A610","A61F"],["A62A","A62B"],["A66E","A66E"],["A6A0","A6E5"],["A7FB","A801"],["A803","A805"],["A807","A80A"],["A80C","A822"],["A840","A873"],["A882","A8B3"],["A8F2","A8F7"],["A8FB","A8FB"], +["A90A","A925"],["A930","A946"],["A960","A97C"],["A984","A9B2"],["AA00","AA28"],["AA40","AA42"],["AA44","AA4B"],["AA60","AA6F"],["AA71","AA76"],["AA7A","AA7A"],["AA80","AAAF"],["AAB1","AAB1"],["AAB5","AAB6"],["AAB9","AABD"],["AAC0","AAC0"],["AAC2","AAC2"],["AADB","AADC"],["AAE0","AAEA"],["AAF2","AAF2"],["AB01","AB06"],["AB09","AB0E"],["AB11","AB16"],["AB20","AB26"],["AB28","AB2E"],["ABC0","ABE2"],["AC00","D7A3"],["D7B0","D7C6"],["D7CB","D7FB"],["F900","FA6D"],["FA70","FAD9"],["FB1D","FB1D"],["FB1F", +"FB28"],["FB2A","FB36"],["FB38","FB3C"],["FB3E","FB3E"],["FB40","FB41"],["FB43","FB44"],["FB46","FBB1"],["FBD3","FD3D"],["FD50","FD8F"],["FD92","FDC7"],["FDF0","FDFB"],["FE70","FE74"],["FE76","FEFC"],["FF66","FF6F"],["FF71","FF9D"],["FFA0","FFBE"],["FFC2","FFC7"],["FFCA","FFCF"],["FFD2","FFD7"],["FFDA","FFDC"],["10000","1000B"],["1000D","10026"],["10028","1003A"],["1003C","1003D"],["1003F","1004D"],["10050","1005D"],["10080","100FA"],["10280","1029C"],["102A0","102D0"],["10300","1031E"],["10330", +"10340"],["10342","10349"],["10380","1039D"],["103A0","103C3"],["103C8","103CF"],["10450","1049D"],["10800","10805"],["10808","10808"],["1080A","10835"],["10837","10838"],["1083C","1083C"],["1083F","10855"],["10900","10915"],["10920","10939"],["10980","109B7"],["109BE","109BF"],["10A00","10A00"],["10A10","10A13"],["10A15","10A17"],["10A19","10A33"],["10A60","10A7C"],["10B00","10B35"],["10B40","10B55"],["10B60","10B72"],["10C00","10C48"],["11003","11037"],["11083","110AF"],["110D0","110E8"],["11103", +"11126"],["11183","111B2"],["111C1","111C4"],["11680","116AA"],["12000","1236E"],["13000","1342E"],["16800","16A38"],["16F00","16F44"],["16F50","16F50"],["1B000","1B001"],["1EE00","1EE03"],["1EE05","1EE1F"],["1EE21","1EE22"],["1EE24","1EE24"],["1EE27","1EE27"],["1EE29","1EE32"],["1EE34","1EE37"],["1EE39","1EE39"],["1EE3B","1EE3B"],["1EE42","1EE42"],["1EE47","1EE47"],["1EE49","1EE49"],["1EE4B","1EE4B"],["1EE4D","1EE4F"],["1EE51","1EE52"],["1EE54","1EE54"],["1EE57","1EE57"],["1EE59","1EE59"],["1EE5B", +"1EE5B"],["1EE5D","1EE5D"],["1EE5F","1EE5F"],["1EE61","1EE62"],["1EE64","1EE64"],["1EE67","1EE6A"],["1EE6C","1EE72"],["1EE74","1EE77"],["1EE79","1EE7C"],["1EE7E","1EE7E"],["1EE80","1EE89"],["1EE8B","1EE9B"],["1EEA1","1EEA3"],["1EEA5","1EEA9"],["1EEAB","1EEBB"],["20000","2A6D6"],["2A700","2B734"],["2B740","2B81D"],["2F800","2FA1D"]],Lt:[["1C5","1C5"],["1C8","1C8"],["1CB","1CB"],["1F2","1F2"],["1F88","1F8F"],["1F98","1F9F"],["1FA8","1FAF"],["1FBC","1FBC"],["1FCC","1FCC"],["1FFC","1FFC"]],Lu:[["41", +"5A"],["C0","D6"],["D8","DE"],["100","100"],["102","102"],["104","104"],["106","106"],["108","108"],["10A","10A"],["10C","10C"],["10E","10E"],["110","110"],["112","112"],["114","114"],["116","116"],["118","118"],["11A","11A"],["11C","11C"],["11E","11E"],["120","120"],["122","122"],["124","124"],["126","126"],["128","128"],["12A","12A"],["12C","12C"],["12E","12E"],["130","130"],["132","132"],["134","134"],["136","136"],["139","139"],["13B","13B"],["13D","13D"],["13F","13F"],["141","141"],["143","143"], +["145","145"],["147","147"],["14A","14A"],["14C","14C"],["14E","14E"],["150","150"],["152","152"],["154","154"],["156","156"],["158","158"],["15A","15A"],["15C","15C"],["15E","15E"],["160","160"],["162","162"],["164","164"],["166","166"],["168","168"],["16A","16A"],["16C","16C"],["16E","16E"],["170","170"],["172","172"],["174","174"],["176","176"],["178","179"],["17B","17B"],["17D","17D"],["181","182"],["184","184"],["186","187"],["189","18B"],["18E","191"],["193","194"],["196","198"],["19C","19D"], +["19F","1A0"],["1A2","1A2"],["1A4","1A4"],["1A6","1A7"],["1A9","1A9"],["1AC","1AC"],["1AE","1AF"],["1B1","1B3"],["1B5","1B5"],["1B7","1B8"],["1BC","1BC"],["1C4","1C4"],["1C7","1C7"],["1CA","1CA"],["1CD","1CD"],["1CF","1CF"],["1D1","1D1"],["1D3","1D3"],["1D5","1D5"],["1D7","1D7"],["1D9","1D9"],["1DB","1DB"],["1DE","1DE"],["1E0","1E0"],["1E2","1E2"],["1E4","1E4"],["1E6","1E6"],["1E8","1E8"],["1EA","1EA"],["1EC","1EC"],["1EE","1EE"],["1F1","1F1"],["1F4","1F4"],["1F6","1F8"],["1FA","1FA"],["1FC","1FC"], +["1FE","1FE"],["200","200"],["202","202"],["204","204"],["206","206"],["208","208"],["20A","20A"],["20C","20C"],["20E","20E"],["210","210"],["212","212"],["214","214"],["216","216"],["218","218"],["21A","21A"],["21C","21C"],["21E","21E"],["220","220"],["222","222"],["224","224"],["226","226"],["228","228"],["22A","22A"],["22C","22C"],["22E","22E"],["230","230"],["232","232"],["23A","23B"],["23D","23E"],["241","241"],["243","246"],["248","248"],["24A","24A"],["24C","24C"],["24E","24E"],["370","370"], +["372","372"],["376","376"],["386","386"],["388","38A"],["38C","38C"],["38E","38F"],["391","3A1"],["3A3","3AB"],["3CF","3CF"],["3D2","3D4"],["3D8","3D8"],["3DA","3DA"],["3DC","3DC"],["3DE","3DE"],["3E0","3E0"],["3E2","3E2"],["3E4","3E4"],["3E6","3E6"],["3E8","3E8"],["3EA","3EA"],["3EC","3EC"],["3EE","3EE"],["3F4","3F4"],["3F7","3F7"],["3F9","3FA"],["3FD","42F"],["460","460"],["462","462"],["464","464"],["466","466"],["468","468"],["46A","46A"],["46C","46C"],["46E","46E"],["470","470"],["472","472"], +["474","474"],["476","476"],["478","478"],["47A","47A"],["47C","47C"],["47E","47E"],["480","480"],["48A","48A"],["48C","48C"],["48E","48E"],["490","490"],["492","492"],["494","494"],["496","496"],["498","498"],["49A","49A"],["49C","49C"],["49E","49E"],["4A0","4A0"],["4A2","4A2"],["4A4","4A4"],["4A6","4A6"],["4A8","4A8"],["4AA","4AA"],["4AC","4AC"],["4AE","4AE"],["4B0","4B0"],["4B2","4B2"],["4B4","4B4"],["4B6","4B6"],["4B8","4B8"],["4BA","4BA"],["4BC","4BC"],["4BE","4BE"],["4C0","4C1"],["4C3","4C3"], +["4C5","4C5"],["4C7","4C7"],["4C9","4C9"],["4CB","4CB"],["4CD","4CD"],["4D0","4D0"],["4D2","4D2"],["4D4","4D4"],["4D6","4D6"],["4D8","4D8"],["4DA","4DA"],["4DC","4DC"],["4DE","4DE"],["4E0","4E0"],["4E2","4E2"],["4E4","4E4"],["4E6","4E6"],["4E8","4E8"],["4EA","4EA"],["4EC","4EC"],["4EE","4EE"],["4F0","4F0"],["4F2","4F2"],["4F4","4F4"],["4F6","4F6"],["4F8","4F8"],["4FA","4FA"],["4FC","4FC"],["4FE","4FE"],["500","500"],["502","502"],["504","504"],["506","506"],["508","508"],["50A","50A"],["50C","50C"], +["50E","50E"],["510","510"],["512","512"],["514","514"],["516","516"],["518","518"],["51A","51A"],["51C","51C"],["51E","51E"],["520","520"],["522","522"],["524","524"],["526","526"],["531","556"],["10A0","10C5"],["10C7","10C7"],["10CD","10CD"],["1E00","1E00"],["1E02","1E02"],["1E04","1E04"],["1E06","1E06"],["1E08","1E08"],["1E0A","1E0A"],["1E0C","1E0C"],["1E0E","1E0E"],["1E10","1E10"],["1E12","1E12"],["1E14","1E14"],["1E16","1E16"],["1E18","1E18"],["1E1A","1E1A"],["1E1C","1E1C"],["1E1E","1E1E"],["1E20", +"1E20"],["1E22","1E22"],["1E24","1E24"],["1E26","1E26"],["1E28","1E28"],["1E2A","1E2A"],["1E2C","1E2C"],["1E2E","1E2E"],["1E30","1E30"],["1E32","1E32"],["1E34","1E34"],["1E36","1E36"],["1E38","1E38"],["1E3A","1E3A"],["1E3C","1E3C"],["1E3E","1E3E"],["1E40","1E40"],["1E42","1E42"],["1E44","1E44"],["1E46","1E46"],["1E48","1E48"],["1E4A","1E4A"],["1E4C","1E4C"],["1E4E","1E4E"],["1E50","1E50"],["1E52","1E52"],["1E54","1E54"],["1E56","1E56"],["1E58","1E58"],["1E5A","1E5A"],["1E5C","1E5C"],["1E5E","1E5E"], +["1E60","1E60"],["1E62","1E62"],["1E64","1E64"],["1E66","1E66"],["1E68","1E68"],["1E6A","1E6A"],["1E6C","1E6C"],["1E6E","1E6E"],["1E70","1E70"],["1E72","1E72"],["1E74","1E74"],["1E76","1E76"],["1E78","1E78"],["1E7A","1E7A"],["1E7C","1E7C"],["1E7E","1E7E"],["1E80","1E80"],["1E82","1E82"],["1E84","1E84"],["1E86","1E86"],["1E88","1E88"],["1E8A","1E8A"],["1E8C","1E8C"],["1E8E","1E8E"],["1E90","1E90"],["1E92","1E92"],["1E94","1E94"],["1E9E","1E9E"],["1EA0","1EA0"],["1EA2","1EA2"],["1EA4","1EA4"],["1EA6", +"1EA6"],["1EA8","1EA8"],["1EAA","1EAA"],["1EAC","1EAC"],["1EAE","1EAE"],["1EB0","1EB0"],["1EB2","1EB2"],["1EB4","1EB4"],["1EB6","1EB6"],["1EB8","1EB8"],["1EBA","1EBA"],["1EBC","1EBC"],["1EBE","1EBE"],["1EC0","1EC0"],["1EC2","1EC2"],["1EC4","1EC4"],["1EC6","1EC6"],["1EC8","1EC8"],["1ECA","1ECA"],["1ECC","1ECC"],["1ECE","1ECE"],["1ED0","1ED0"],["1ED2","1ED2"],["1ED4","1ED4"],["1ED6","1ED6"],["1ED8","1ED8"],["1EDA","1EDA"],["1EDC","1EDC"],["1EDE","1EDE"],["1EE0","1EE0"],["1EE2","1EE2"],["1EE4","1EE4"], +["1EE6","1EE6"],["1EE8","1EE8"],["1EEA","1EEA"],["1EEC","1EEC"],["1EEE","1EEE"],["1EF0","1EF0"],["1EF2","1EF2"],["1EF4","1EF4"],["1EF6","1EF6"],["1EF8","1EF8"],["1EFA","1EFA"],["1EFC","1EFC"],["1EFE","1EFE"],["1F08","1F0F"],["1F18","1F1D"],["1F28","1F2F"],["1F38","1F3F"],["1F48","1F4D"],["1F59","1F59"],["1F5B","1F5B"],["1F5D","1F5D"],["1F5F","1F5F"],["1F68","1F6F"],["1FB8","1FBB"],["1FC8","1FCB"],["1FD8","1FDB"],["1FE8","1FEC"],["1FF8","1FFB"],["2102","2102"],["2107","2107"],["210B","210D"],["2110", +"2112"],["2115","2115"],["2119","211D"],["2124","2124"],["2126","2126"],["2128","2128"],["212A","212D"],["2130","2133"],["213E","213F"],["2145","2145"],["2183","2183"],["2C00","2C2E"],["2C60","2C60"],["2C62","2C64"],["2C67","2C67"],["2C69","2C69"],["2C6B","2C6B"],["2C6D","2C70"],["2C72","2C72"],["2C75","2C75"],["2C7E","2C80"],["2C82","2C82"],["2C84","2C84"],["2C86","2C86"],["2C88","2C88"],["2C8A","2C8A"],["2C8C","2C8C"],["2C8E","2C8E"],["2C90","2C90"],["2C92","2C92"],["2C94","2C94"],["2C96","2C96"], +["2C98","2C98"],["2C9A","2C9A"],["2C9C","2C9C"],["2C9E","2C9E"],["2CA0","2CA0"],["2CA2","2CA2"],["2CA4","2CA4"],["2CA6","2CA6"],["2CA8","2CA8"],["2CAA","2CAA"],["2CAC","2CAC"],["2CAE","2CAE"],["2CB0","2CB0"],["2CB2","2CB2"],["2CB4","2CB4"],["2CB6","2CB6"],["2CB8","2CB8"],["2CBA","2CBA"],["2CBC","2CBC"],["2CBE","2CBE"],["2CC0","2CC0"],["2CC2","2CC2"],["2CC4","2CC4"],["2CC6","2CC6"],["2CC8","2CC8"],["2CCA","2CCA"],["2CCC","2CCC"],["2CCE","2CCE"],["2CD0","2CD0"],["2CD2","2CD2"],["2CD4","2CD4"],["2CD6", +"2CD6"],["2CD8","2CD8"],["2CDA","2CDA"],["2CDC","2CDC"],["2CDE","2CDE"],["2CE0","2CE0"],["2CE2","2CE2"],["2CEB","2CEB"],["2CED","2CED"],["2CF2","2CF2"],["A640","A640"],["A642","A642"],["A644","A644"],["A646","A646"],["A648","A648"],["A64A","A64A"],["A64C","A64C"],["A64E","A64E"],["A650","A650"],["A652","A652"],["A654","A654"],["A656","A656"],["A658","A658"],["A65A","A65A"],["A65C","A65C"],["A65E","A65E"],["A660","A660"],["A662","A662"],["A664","A664"],["A666","A666"],["A668","A668"],["A66A","A66A"], +["A66C","A66C"],["A680","A680"],["A682","A682"],["A684","A684"],["A686","A686"],["A688","A688"],["A68A","A68A"],["A68C","A68C"],["A68E","A68E"],["A690","A690"],["A692","A692"],["A694","A694"],["A696","A696"],["A722","A722"],["A724","A724"],["A726","A726"],["A728","A728"],["A72A","A72A"],["A72C","A72C"],["A72E","A72E"],["A732","A732"],["A734","A734"],["A736","A736"],["A738","A738"],["A73A","A73A"],["A73C","A73C"],["A73E","A73E"],["A740","A740"],["A742","A742"],["A744","A744"],["A746","A746"],["A748", +"A748"],["A74A","A74A"],["A74C","A74C"],["A74E","A74E"],["A750","A750"],["A752","A752"],["A754","A754"],["A756","A756"],["A758","A758"],["A75A","A75A"],["A75C","A75C"],["A75E","A75E"],["A760","A760"],["A762","A762"],["A764","A764"],["A766","A766"],["A768","A768"],["A76A","A76A"],["A76C","A76C"],["A76E","A76E"],["A779","A779"],["A77B","A77B"],["A77D","A77E"],["A780","A780"],["A782","A782"],["A784","A784"],["A786","A786"],["A78B","A78B"],["A78D","A78D"],["A790","A790"],["A792","A792"],["A7A0","A7A0"], +["A7A2","A7A2"],["A7A4","A7A4"],["A7A6","A7A6"],["A7A8","A7A8"],["A7AA","A7AA"],["FF21","FF3A"],["10400","10427"],["1D400","1D419"],["1D434","1D44D"],["1D468","1D481"],["1D49C","1D49C"],["1D49E","1D49F"],["1D4A2","1D4A2"],["1D4A5","1D4A6"],["1D4A9","1D4AC"],["1D4AE","1D4B5"],["1D4D0","1D4E9"],["1D504","1D505"],["1D507","1D50A"],["1D50D","1D514"],["1D516","1D51C"],["1D538","1D539"],["1D53B","1D53E"],["1D540","1D544"],["1D546","1D546"],["1D54A","1D550"],["1D56C","1D585"],["1D5A0","1D5B9"],["1D5D4", +"1D5ED"],["1D608","1D621"],["1D63C","1D655"],["1D670","1D689"],["1D6A8","1D6C0"],["1D6E2","1D6FA"],["1D71C","1D734"],["1D756","1D76E"],["1D790","1D7A8"],["1D7CA","1D7CA"]],M:"Mc|Me|Mn",Mc:[["903","903"],["93B","93B"],["93E","940"],["949","94C"],["94E","94F"],["982","983"],["9BE","9C0"],["9C7","9C8"],["9CB","9CC"],["9D7","9D7"],["A03","A03"],["A3E","A40"],["A83","A83"],["ABE","AC0"],["AC9","AC9"],["ACB","ACC"],["B02","B03"],["B3E","B3E"],["B40","B40"],["B47","B48"],["B4B","B4C"],["B57","B57"],["BBE", +"BBF"],["BC1","BC2"],["BC6","BC8"],["BCA","BCC"],["BD7","BD7"],["C01","C03"],["C41","C44"],["C82","C83"],["CBE","CBE"],["CC0","CC4"],["CC7","CC8"],["CCA","CCB"],["CD5","CD6"],["D02","D03"],["D3E","D40"],["D46","D48"],["D4A","D4C"],["D57","D57"],["D82","D83"],["DCF","DD1"],["DD8","DDF"],["DF2","DF3"],["F3E","F3F"],["F7F","F7F"],["102B","102C"],["1031","1031"],["1038","1038"],["103B","103C"],["1056","1057"],["1062","1064"],["1067","106D"],["1083","1084"],["1087","108C"],["108F","108F"],["109A","109C"], +["17B6","17B6"],["17BE","17C5"],["17C7","17C8"],["1923","1926"],["1929","192B"],["1930","1931"],["1933","1938"],["19B0","19C0"],["19C8","19C9"],["1A19","1A1B"],["1A55","1A55"],["1A57","1A57"],["1A61","1A61"],["1A63","1A64"],["1A6D","1A72"],["1B04","1B04"],["1B35","1B35"],["1B3B","1B3B"],["1B3D","1B41"],["1B43","1B44"],["1B82","1B82"],["1BA1","1BA1"],["1BA6","1BA7"],["1BAA","1BAA"],["1BAC","1BAD"],["1BE7","1BE7"],["1BEA","1BEC"],["1BEE","1BEE"],["1BF2","1BF3"],["1C24","1C2B"],["1C34","1C35"],["1CE1", +"1CE1"],["1CF2","1CF3"],["302E","302F"],["A823","A824"],["A827","A827"],["A880","A881"],["A8B4","A8C3"],["A952","A953"],["A983","A983"],["A9B4","A9B5"],["A9BA","A9BB"],["A9BD","A9C0"],["AA2F","AA30"],["AA33","AA34"],["AA4D","AA4D"],["AA7B","AA7B"],["AAEB","AAEB"],["AAEE","AAEF"],["AAF5","AAF5"],["ABE3","ABE4"],["ABE6","ABE7"],["ABE9","ABEA"],["ABEC","ABEC"],["11000","11000"],["11002","11002"],["11082","11082"],["110B0","110B2"],["110B7","110B8"],["1112C","1112C"],["11182","11182"],["111B3","111B5"], +["111BF","111C0"],["116AC","116AC"],["116AE","116AF"],["116B6","116B6"],["16F51","16F7E"],["1D165","1D166"],["1D16D","1D172"]],Me:[["488","489"],["20DD","20E0"],["20E2","20E4"],["A670","A672"]],Mn:[["300","36F"],["483","487"],["591","5BD"],["5BF","5BF"],["5C1","5C2"],["5C4","5C5"],["5C7","5C7"],["610","61A"],["64B","65F"],["670","670"],["6D6","6DC"],["6DF","6E4"],["6E7","6E8"],["6EA","6ED"],["711","711"],["730","74A"],["7A6","7B0"],["7EB","7F3"],["816","819"],["81B","823"],["825","827"],["829","82D"], +["859","85B"],["8E4","8FE"],["900","902"],["93A","93A"],["93C","93C"],["941","948"],["94D","94D"],["951","957"],["962","963"],["981","981"],["9BC","9BC"],["9C1","9C4"],["9CD","9CD"],["9E2","9E3"],["A01","A02"],["A3C","A3C"],["A41","A42"],["A47","A48"],["A4B","A4D"],["A51","A51"],["A70","A71"],["A75","A75"],["A81","A82"],["ABC","ABC"],["AC1","AC5"],["AC7","AC8"],["ACD","ACD"],["AE2","AE3"],["B01","B01"],["B3C","B3C"],["B3F","B3F"],["B41","B44"],["B4D","B4D"],["B56","B56"],["B62","B63"],["B82","B82"], +["BC0","BC0"],["BCD","BCD"],["C3E","C40"],["C46","C48"],["C4A","C4D"],["C55","C56"],["C62","C63"],["CBC","CBC"],["CBF","CBF"],["CC6","CC6"],["CCC","CCD"],["CE2","CE3"],["D41","D44"],["D4D","D4D"],["D62","D63"],["DCA","DCA"],["DD2","DD4"],["DD6","DD6"],["E31","E31"],["E34","E3A"],["E47","E4E"],["EB1","EB1"],["EB4","EB9"],["EBB","EBC"],["EC8","ECD"],["F18","F19"],["F35","F35"],["F37","F37"],["F39","F39"],["F71","F7E"],["F80","F84"],["F86","F87"],["F8D","F97"],["F99","FBC"],["FC6","FC6"],["102D","1030"], +["1032","1037"],["1039","103A"],["103D","103E"],["1058","1059"],["105E","1060"],["1071","1074"],["1082","1082"],["1085","1086"],["108D","108D"],["109D","109D"],["135D","135F"],["1712","1714"],["1732","1734"],["1752","1753"],["1772","1773"],["17B4","17B5"],["17B7","17BD"],["17C6","17C6"],["17C9","17D3"],["17DD","17DD"],["180B","180D"],["18A9","18A9"],["1920","1922"],["1927","1928"],["1932","1932"],["1939","193B"],["1A17","1A18"],["1A56","1A56"],["1A58","1A5E"],["1A60","1A60"],["1A62","1A62"],["1A65", +"1A6C"],["1A73","1A7C"],["1A7F","1A7F"],["1B00","1B03"],["1B34","1B34"],["1B36","1B3A"],["1B3C","1B3C"],["1B42","1B42"],["1B6B","1B73"],["1B80","1B81"],["1BA2","1BA5"],["1BA8","1BA9"],["1BAB","1BAB"],["1BE6","1BE6"],["1BE8","1BE9"],["1BED","1BED"],["1BEF","1BF1"],["1C2C","1C33"],["1C36","1C37"],["1CD0","1CD2"],["1CD4","1CE0"],["1CE2","1CE8"],["1CED","1CED"],["1CF4","1CF4"],["1DC0","1DE6"],["1DFC","1DFF"],["20D0","20DC"],["20E1","20E1"],["20E5","20F0"],["2CEF","2CF1"],["2D7F","2D7F"],["2DE0","2DFF"], +["302A","302D"],["3099","309A"],["A66F","A66F"],["A674","A67D"],["A69F","A69F"],["A6F0","A6F1"],["A802","A802"],["A806","A806"],["A80B","A80B"],["A825","A826"],["A8C4","A8C4"],["A8E0","A8F1"],["A926","A92D"],["A947","A951"],["A980","A982"],["A9B3","A9B3"],["A9B6","A9B9"],["A9BC","A9BC"],["AA29","AA2E"],["AA31","AA32"],["AA35","AA36"],["AA43","AA43"],["AA4C","AA4C"],["AAB0","AAB0"],["AAB2","AAB4"],["AAB7","AAB8"],["AABE","AABF"],["AAC1","AAC1"],["AAEC","AAED"],["AAF6","AAF6"],["ABE5","ABE5"],["ABE8", +"ABE8"],["ABED","ABED"],["FB1E","FB1E"],["FE00","FE0F"],["FE20","FE26"],["101FD","101FD"],["10A01","10A03"],["10A05","10A06"],["10A0C","10A0F"],["10A38","10A3A"],["10A3F","10A3F"],["11001","11001"],["11038","11046"],["11080","11081"],["110B3","110B6"],["110B9","110BA"],["11100","11102"],["11127","1112B"],["1112D","11134"],["11180","11181"],["111B6","111BE"],["116AB","116AB"],["116AD","116AD"],["116B0","116B5"],["116B7","116B7"],["16F8F","16F92"],["1D167","1D169"],["1D17B","1D182"],["1D185","1D18B"], +["1D1AA","1D1AD"],["1D242","1D244"],["E0100","E01EF"]],N:"Nd|Nl|No",Nd:[["30","39"],["660","669"],["6F0","6F9"],["7C0","7C9"],["966","96F"],["9E6","9EF"],["A66","A6F"],["AE6","AEF"],["B66","B6F"],["BE6","BEF"],["C66","C6F"],["CE6","CEF"],["D66","D6F"],["E50","E59"],["ED0","ED9"],["F20","F29"],["1040","1049"],["1090","1099"],["17E0","17E9"],["1810","1819"],["1946","194F"],["19D0","19D9"],["1A80","1A89"],["1A90","1A99"],["1B50","1B59"],["1BB0","1BB9"],["1C40","1C49"],["1C50","1C59"],["A620","A629"], +["A8D0","A8D9"],["A900","A909"],["A9D0","A9D9"],["AA50","AA59"],["ABF0","ABF9"],["FF10","FF19"],["104A0","104A9"],["11066","1106F"],["110F0","110F9"],["11136","1113F"],["111D0","111D9"],["116C0","116C9"],["1D7CE","1D7FF"]],Nl:[["16EE","16F0"],["2160","2182"],["2185","2188"],["3007","3007"],["3021","3029"],["3038","303A"],["A6E6","A6EF"],["10140","10174"],["10341","10341"],["1034A","1034A"],["103D1","103D5"],["12400","12462"]],No:[["B2","B3"],["B9","B9"],["BC","BE"],["9F4","9F9"],["B72","B77"],["BF0", +"BF2"],["C78","C7E"],["D70","D75"],["F2A","F33"],["1369","137C"],["17F0","17F9"],["19DA","19DA"],["2070","2070"],["2074","2079"],["2080","2089"],["2150","215F"],["2189","2189"],["2460","249B"],["24EA","24FF"],["2776","2793"],["2CFD","2CFD"],["3192","3195"],["3220","3229"],["3248","324F"],["3251","325F"],["3280","3289"],["32B1","32BF"],["A830","A835"],["10107","10133"],["10175","10178"],["1018A","1018A"],["10320","10323"],["10858","1085F"],["10916","1091B"],["10A40","10A47"],["10A7D","10A7E"],["10B58", +"10B5F"],["10B78","10B7F"],["10E60","10E7E"],["11052","11065"],["1D360","1D371"],["1F100","1F10A"]],P:"Pc|Pd|Pe|Pf|Pi|Po|Ps",Pc:[["5F","5F"],["203F","2040"],["2054","2054"],["FE33","FE34"],["FE4D","FE4F"],["FF3F","FF3F"]],Pd:[["2D","2D"],["58A","58A"],["5BE","5BE"],["1400","1400"],["1806","1806"],["2010","2015"],["2E17","2E17"],["2E1A","2E1A"],["2E3A","2E3B"],["301C","301C"],["3030","3030"],["30A0","30A0"],["FE31","FE32"],["FE58","FE58"],["FE63","FE63"],["FF0D","FF0D"]],Pe:[["29","29"],["5D","5D"], +["7D","7D"],["F3B","F3B"],["F3D","F3D"],["169C","169C"],["2046","2046"],["207E","207E"],["208E","208E"],["232A","232A"],["2769","2769"],["276B","276B"],["276D","276D"],["276F","276F"],["2771","2771"],["2773","2773"],["2775","2775"],["27C6","27C6"],["27E7","27E7"],["27E9","27E9"],["27EB","27EB"],["27ED","27ED"],["27EF","27EF"],["2984","2984"],["2986","2986"],["2988","2988"],["298A","298A"],["298C","298C"],["298E","298E"],["2990","2990"],["2992","2992"],["2994","2994"],["2996","2996"],["2998","2998"], +["29D9","29D9"],["29DB","29DB"],["29FD","29FD"],["2E23","2E23"],["2E25","2E25"],["2E27","2E27"],["2E29","2E29"],["3009","3009"],["300B","300B"],["300D","300D"],["300F","300F"],["3011","3011"],["3015","3015"],["3017","3017"],["3019","3019"],["301B","301B"],["301E","301F"],["FD3F","FD3F"],["FE18","FE18"],["FE36","FE36"],["FE38","FE38"],["FE3A","FE3A"],["FE3C","FE3C"],["FE3E","FE3E"],["FE40","FE40"],["FE42","FE42"],["FE44","FE44"],["FE48","FE48"],["FE5A","FE5A"],["FE5C","FE5C"],["FE5E","FE5E"],["FF09", +"FF09"],["FF3D","FF3D"],["FF5D","FF5D"],["FF60","FF60"],["FF63","FF63"]],Pf:[["BB","BB"],["2019","2019"],["201D","201D"],["203A","203A"],["2E03","2E03"],["2E05","2E05"],["2E0A","2E0A"],["2E0D","2E0D"],["2E1D","2E1D"],["2E21","2E21"]],Pi:[["AB","AB"],["2018","2018"],["201B","201C"],["201F","201F"],["2039","2039"],["2E02","2E02"],["2E04","2E04"],["2E09","2E09"],["2E0C","2E0C"],["2E1C","2E1C"],["2E20","2E20"]],Po:[["21","23"],["25","27"],["2A","2A"],["2C","2C"],["2E","2F"],["3A","3B"],["3F","40"],["5C", +"5C"],["A1","A1"],["A7","A7"],["B6","B7"],["BF","BF"],["37E","37E"],["387","387"],["55A","55F"],["589","589"],["5C0","5C0"],["5C3","5C3"],["5C6","5C6"],["5F3","5F4"],["609","60A"],["60C","60D"],["61B","61B"],["61E","61F"],["66A","66D"],["6D4","6D4"],["700","70D"],["7F7","7F9"],["830","83E"],["85E","85E"],["964","965"],["970","970"],["AF0","AF0"],["DF4","DF4"],["E4F","E4F"],["E5A","E5B"],["F04","F12"],["F14","F14"],["F85","F85"],["FD0","FD4"],["FD9","FDA"],["104A","104F"],["10FB","10FB"],["1360","1368"], +["166D","166E"],["16EB","16ED"],["1735","1736"],["17D4","17D6"],["17D8","17DA"],["1800","1805"],["1807","180A"],["1944","1945"],["1A1E","1A1F"],["1AA0","1AA6"],["1AA8","1AAD"],["1B5A","1B60"],["1BFC","1BFF"],["1C3B","1C3F"],["1C7E","1C7F"],["1CC0","1CC7"],["1CD3","1CD3"],["2016","2017"],["2020","2027"],["2030","2038"],["203B","203E"],["2041","2043"],["2047","2051"],["2053","2053"],["2055","205E"],["2CF9","2CFC"],["2CFE","2CFF"],["2D70","2D70"],["2E00","2E01"],["2E06","2E08"],["2E0B","2E0B"],["2E0E", +"2E16"],["2E18","2E19"],["2E1B","2E1B"],["2E1E","2E1F"],["2E2A","2E2E"],["2E30","2E39"],["3001","3003"],["303D","303D"],["30FB","30FB"],["A4FE","A4FF"],["A60D","A60F"],["A673","A673"],["A67E","A67E"],["A6F2","A6F7"],["A874","A877"],["A8CE","A8CF"],["A8F8","A8FA"],["A92E","A92F"],["A95F","A95F"],["A9C1","A9CD"],["A9DE","A9DF"],["AA5C","AA5F"],["AADE","AADF"],["AAF0","AAF1"],["ABEB","ABEB"],["FE10","FE16"],["FE19","FE19"],["FE30","FE30"],["FE45","FE46"],["FE49","FE4C"],["FE50","FE52"],["FE54","FE57"], +["FE5F","FE61"],["FE68","FE68"],["FE6A","FE6B"],["FF01","FF03"],["FF05","FF07"],["FF0A","FF0A"],["FF0C","FF0C"],["FF0E","FF0F"],["FF1A","FF1B"],["FF1F","FF20"],["FF3C","FF3C"],["FF61","FF61"],["FF64","FF65"],["10100","10102"],["1039F","1039F"],["103D0","103D0"],["10857","10857"],["1091F","1091F"],["1093F","1093F"],["10A50","10A58"],["10A7F","10A7F"],["10B39","10B3F"],["11047","1104D"],["110BB","110BC"],["110BE","110C1"],["11140","11143"],["111C5","111C8"],["12470","12473"]],Ps:[["28","28"],["5B", +"5B"],["7B","7B"],["F3A","F3A"],["F3C","F3C"],["169B","169B"],["201A","201A"],["201E","201E"],["2045","2045"],["207D","207D"],["208D","208D"],["2329","2329"],["2768","2768"],["276A","276A"],["276C","276C"],["276E","276E"],["2770","2770"],["2772","2772"],["2774","2774"],["27C5","27C5"],["27E6","27E6"],["27E8","27E8"],["27EA","27EA"],["27EC","27EC"],["27EE","27EE"],["2983","2983"],["2985","2985"],["2987","2987"],["2989","2989"],["298B","298B"],["298D","298D"],["298F","298F"],["2991","2991"],["2993", +"2993"],["2995","2995"],["2997","2997"],["29D8","29D8"],["29DA","29DA"],["29FC","29FC"],["2E22","2E22"],["2E24","2E24"],["2E26","2E26"],["2E28","2E28"],["3008","3008"],["300A","300A"],["300C","300C"],["300E","300E"],["3010","3010"],["3014","3014"],["3016","3016"],["3018","3018"],["301A","301A"],["301D","301D"],["FD3E","FD3E"],["FE17","FE17"],["FE35","FE35"],["FE37","FE37"],["FE39","FE39"],["FE3B","FE3B"],["FE3D","FE3D"],["FE3F","FE3F"],["FE41","FE41"],["FE43","FE43"],["FE47","FE47"],["FE59","FE59"], +["FE5B","FE5B"],["FE5D","FE5D"],["FF08","FF08"],["FF3B","FF3B"],["FF5B","FF5B"],["FF5F","FF5F"],["FF62","FF62"]],S:"Sc|Sk|Sm|So",Sc:[["24","24"],["A2","A5"],["58F","58F"],["60B","60B"],["9F2","9F3"],["9FB","9FB"],["AF1","AF1"],["BF9","BF9"],["E3F","E3F"],["17DB","17DB"],["20A0","20BA"],["A838","A838"],["FDFC","FDFC"],["FE69","FE69"],["FF04","FF04"],["FFE0","FFE1"],["FFE5","FFE6"]],Sk:[["5E","5E"],["60","60"],["A8","A8"],["AF","AF"],["B4","B4"],["B8","B8"],["2C2","2C5"],["2D2","2DF"],["2E5","2EB"], +["2ED","2ED"],["2EF","2FF"],["375","375"],["384","385"],["1FBD","1FBD"],["1FBF","1FC1"],["1FCD","1FCF"],["1FDD","1FDF"],["1FED","1FEF"],["1FFD","1FFE"],["309B","309C"],["A700","A716"],["A720","A721"],["A789","A78A"],["FBB2","FBC1"],["FF3E","FF3E"],["FF40","FF40"],["FFE3","FFE3"]],Sm:[["2B","2B"],["3C","3E"],["7C","7C"],["7E","7E"],["AC","AC"],["B1","B1"],["D7","D7"],["F7","F7"],["3F6","3F6"],["606","608"],["2044","2044"],["2052","2052"],["207A","207C"],["208A","208C"],["2118","2118"],["2140","2144"], +["214B","214B"],["2190","2194"],["219A","219B"],["21A0","21A0"],["21A3","21A3"],["21A6","21A6"],["21AE","21AE"],["21CE","21CF"],["21D2","21D2"],["21D4","21D4"],["21F4","22FF"],["2308","230B"],["2320","2321"],["237C","237C"],["239B","23B3"],["23DC","23E1"],["25B7","25B7"],["25C1","25C1"],["25F8","25FF"],["266F","266F"],["27C0","27C4"],["27C7","27E5"],["27F0","27FF"],["2900","2982"],["2999","29D7"],["29DC","29FB"],["29FE","2AFF"],["2B30","2B44"],["2B47","2B4C"],["FB29","FB29"],["FE62","FE62"],["FE64", +"FE66"],["FF0B","FF0B"],["FF1C","FF1E"],["FF5C","FF5C"],["FF5E","FF5E"],["FFE2","FFE2"],["FFE9","FFEC"],["1D6C1","1D6C1"],["1D6DB","1D6DB"],["1D6FB","1D6FB"],["1D715","1D715"],["1D735","1D735"],["1D74F","1D74F"],["1D76F","1D76F"],["1D789","1D789"],["1D7A9","1D7A9"],["1D7C3","1D7C3"],["1EEF0","1EEF1"]],So:[["A6","A6"],["A9","A9"],["AE","AE"],["B0","B0"],["482","482"],["60E","60F"],["6DE","6DE"],["6E9","6E9"],["6FD","6FE"],["7F6","7F6"],["9FA","9FA"],["B70","B70"],["BF3","BF8"],["BFA","BFA"],["C7F", +"C7F"],["D79","D79"],["F01","F03"],["F13","F13"],["F15","F17"],["F1A","F1F"],["F34","F34"],["F36","F36"],["F38","F38"],["FBE","FC5"],["FC7","FCC"],["FCE","FCF"],["FD5","FD8"],["109E","109F"],["1390","1399"],["1940","1940"],["19DE","19FF"],["1B61","1B6A"],["1B74","1B7C"],["2100","2101"],["2103","2106"],["2108","2109"],["2114","2114"],["2116","2117"],["211E","2123"],["2125","2125"],["2127","2127"],["2129","2129"],["212E","212E"],["213A","213B"],["214A","214A"],["214C","214D"],["214F","214F"],["2195", +"2199"],["219C","219F"],["21A1","21A2"],["21A4","21A5"],["21A7","21AD"],["21AF","21CD"],["21D0","21D1"],["21D3","21D3"],["21D5","21F3"],["2300","2307"],["230C","231F"],["2322","2328"],["232B","237B"],["237D","239A"],["23B4","23DB"],["23E2","23F3"],["2400","2426"],["2440","244A"],["249C","24E9"],["2500","25B6"],["25B8","25C0"],["25C2","25F7"],["2600","266E"],["2670","26FF"],["2701","2767"],["2794","27BF"],["2800","28FF"],["2B00","2B2F"],["2B45","2B46"],["2B50","2B59"],["2CE5","2CEA"],["2E80","2E99"], +["2E9B","2EF3"],["2F00","2FD5"],["2FF0","2FFB"],["3004","3004"],["3012","3013"],["3020","3020"],["3036","3037"],["303E","303F"],["3190","3191"],["3196","319F"],["31C0","31E3"],["3200","321E"],["322A","3247"],["3250","3250"],["3260","327F"],["328A","32B0"],["32C0","32FE"],["3300","33FF"],["4DC0","4DFF"],["A490","A4C6"],["A828","A82B"],["A836","A837"],["A839","A839"],["AA77","AA79"],["FDFD","FDFD"],["FFE4","FFE4"],["FFE8","FFE8"],["FFED","FFEE"],["FFFC","FFFD"],["10137","1013F"],["10179","10189"],["10190", +"1019B"],["101D0","101FC"],["1D000","1D0F5"],["1D100","1D126"],["1D129","1D164"],["1D16A","1D16C"],["1D183","1D184"],["1D18C","1D1A9"],["1D1AE","1D1DD"],["1D200","1D241"],["1D245","1D245"],["1D300","1D356"],["1F000","1F02B"],["1F030","1F093"],["1F0A0","1F0AE"],["1F0B1","1F0BE"],["1F0C1","1F0CF"],["1F0D1","1F0DF"],["1F110","1F12E"],["1F130","1F16B"],["1F170","1F19A"],["1F1E6","1F202"],["1F210","1F23A"],["1F240","1F248"],["1F250","1F251"],["1F300","1F320"],["1F330","1F335"],["1F337","1F37C"],["1F380", +"1F393"],["1F3A0","1F3C4"],["1F3C6","1F3CA"],["1F3E0","1F3F0"],["1F400","1F43E"],["1F440","1F440"],["1F442","1F4F7"],["1F4F9","1F4FC"],["1F500","1F53D"],["1F540","1F543"],["1F550","1F567"],["1F5FB","1F640"],["1F645","1F64F"],["1F680","1F6C5"],["1F700","1F773"]],Z:"Zl|Zp|Zs",Zl:[["2028","2028"]],Zp:[["2029","2029"]],Zs:[["20","20"],["A0","A0"],["1680","1680"],["180E","180E"],["2000","200A"],["202F","202F"],["205F","205F"],["3000","3000"]],"~i":[["3A","3A"],["41","5A"],["5F","5F"],["61","7A"],["C0", +"D6"],["D8","F6"],["F8","2FF"],["370","37D"],["37F","1FFF"],["200C","200D"],["2070","218F"],["2C00","2FEF"],["3001","D7FF"],["F900","FDCF"],["FDF0","FFFD"],["10000","EFFFF"]],"~c":[["2D","2E"],["30","3A"],["41","5A"],["5F","5F"],["61","7A"],["B7","B7"],["C0","D6"],["D8","F6"],["F8","37D"],["37F","1FFF"],["200C","200D"],["203F","2040"],["2070","218F"],["2C00","2FEF"],["3001","D7FF"],["F900","FDCF"],["FDF0","FFFD"],["10000","EFFFF"]],w:"Ll|Lm|Lo|Lt|Lu|Mc|Me|Mn|Nd|Nl|No|Sc|Sk|Sm|So"},wa={"http://www.w3.org/2005/xpath-functions":{QName:[2], +abs:[1],"accumulator-after":[1],"accumulator-before":[1],"adjust-date-to-timezone":[1,2],"adjust-dateTime-to-timezone":[1,2],"adjust-time-to-timezone":[1,2],"analyze-string":[2,3],apply:[2],"available-environment-variables":[0],"available-system-properties":[0],avg:[1],"base-uri":[0,1],"boolean":[1],ceiling:[1],"codepoint-equal":[2],"codepoints-to-string":[1],"collation-key":[1,2],collection:[0,1],compare:[2,3],concat:[3],contains:[2,3],"contains-token":[2,3],"copy-of":[0,1],count:[1],current:[0], +"current-date":[0],"current-dateTime":[0],"current-group":[0],"current-grouping-key":[0],"current-merge-group":[0,1],"current-merge-key":[0],"current-output-uri":[0],"current-time":[0],data:[0,1],dateTime:[2],"day-from-date":[1],"day-from-dateTime":[1],"days-from-duration":[1],"deep-equal":[2,3],"default-collation":[0],"default-language":[0],"distinct-values":[1,2],doc:[1],"doc-available":[1],document:[1,2],"document-uri":[0,1],"element-available":[1],"element-with-id":[1,2],empty:[1],"encode-for-uri":[1], +"ends-with":[2,3],"environment-variable":[1],error:[0,1,2,3],"escape-html-uri":[1],"exactly-one":[1],exists:[1],"false":[0],filter:[2],floor:[1],"fold-left":[3],"fold-right":[3],"for-each":[2],"for-each-pair":[3],"format-date":[2,5],"format-dateTime":[2,5],"format-integer":[2,3],"format-number":[2,3],"format-time":[2,5],"function-arity":[1],"function-available":[1,2],"function-lookup":[2],"function-name":[1],"generate-id":[0,1],"has-children":[0,1],head:[1],"hours-from-dateTime":[1],"hours-from-duration":[1], +"hours-from-time":[1],id:[1,2],idref:[1,2],"implicit-timezone":[0],"in-scope-prefixes":[1],"index-of":[2,3],innermost:[1],"insert-before":[3],"iri-to-uri":[1],"json-doc":[1,2],"json-to-xml":[1,2],key:[2,3],lang:[1,2],last:[0],"load-xquery-module":[1,2],"local-name":[0,1],"local-name-from-QName":[1],"lower-case":[1],matches:[2,3],max:[1,2],min:[1,2],"minutes-from-dateTime":[1],"minutes-from-duration":[1],"minutes-from-time":[1],"month-from-date":[1],"month-from-dateTime":[1],"months-from-duration":[1], +name:[0,1],"namespace-uri":[0,1],"namespace-uri-for-prefix":[2],"namespace-uri-from-QName":[1],nilled:[0,1],"node-name":[0,1],"normalize-space":[0,1],"normalize-unicode":[1,2],not:[1],number:[0,1],"one-or-more":[1],outermost:[1],"parse-ietf-date":[1],"parse-json":[1,2],"parse-xml":[1],"parse-xml-fragment":[1],path:[0,1],position:[0],"prefix-from-QName":[1],put:[2],"random-number-generator":[0,1],"regex-group":[1],remove:[2],replace:[3,4],"resolve-QName":[2],"resolve-uri":[1,2],reverse:[1],root:[0, +1],round:[1,2],"round-half-to-even":[1,2],"seconds-from-dateTime":[1],"seconds-from-duration":[1],"seconds-from-time":[1],serialize:[1,2],"serialize-json":[1,2],snapshot:[0,1],sort:[1,3],"starts-with":[2,3],"static-base-uri":[0],"stream-available":[1],string:[0,1],"string-join":[1,2],"string-length":[0,1],"string-to-codepoints":[1],subsequence:[2,3],substring:[2,3],"substring-after":[2,3],"substring-before":[2,3],sum:[1,2],"system-property":[1],tail:[1],"timezone-from-date":[1],"timezone-from-dateTime":[1], +"timezone-from-time":[1],tokenize:[1,2,3],trace:[1,2],transform:[1],translate:[3],"true":[0],"type-available":[1],unordered:[1],"unparsed-entity-public-id":[1,2],"unparsed-entity-uri":[1,2],"unparsed-text":[1,2],"unparsed-text-available":[1,2],"unparsed-text-lines":[1,2],"upper-case":[1],"uri-collection":[0,1],"xml-to-json":[1,2],"year-from-date":[1],"year-from-dateTime":[1],"years-from-duration":[1],"zero-or-one":[1]},"http://www.w3.org/2005/xpath-functions/array":{append:[2],filter:[2],flatten:[1], +"fold-left":[3],"fold-right":[3],"for-each":[2],"for-each-pair":[3],get:[2],head:[1],"insert-before":[3],join:[1],remove:[2],reverse:[1],size:[1],sort:[1,2],subarray:[2,3],tail:[1]},"http://www.w3.org/2005/xpath-functions/map":{contains:[2],entry:[2],"for-each":[2],get:[2],keys:[1],merge:[1],put:[3],remove:[2],size:[1]},"http://www.w3.org/2005/xpath-functions/math":{acos:[1],asin:[1],atan:[1],atan2:[2],cos:[1],exp:[1],exp10:[1],log:[1],log10:[1],pi:[0],pow:[2],sin:[1],sqrt:[1],tan:[1]},"http://www.w3.org/2001/XMLSchema":{numeric:[1], +string:[1],"boolean":[1],duration:[1],dateTime:[1],date:[1],time:[1],gYearMonth:[1],gMonth:[1],gMonthDay:[1],gYear:[1],gDay:[1],hexBinary:[1],base64Binary:[1],anyURI:[1],QName:[1],untypedAtomic:[1],decimal:[1],"float":[1],"double":[1],integer:[1],nonPositiveInteger:[1],negativeInteger:[1],"long":[1],"int":[1],"short":[1],"byte":[1],nonNegativeInteger:[1],positiveInteger:[1],unsignedLong:[1],unsignedInt:[1],unsignedShort:[1],unsignedByte:[1],yearMonthDuration:[1],dayTimeDuration:[1],dateTimeStamp:[1], +normalizedString:[1],token:[1],language:[1],Name:[1],NMTOKEN:[1],NCName:[1],ID:[1],IDREF:[1],ENTITY:[1],NMTOKENS:[1],ENTITIES:[1],IDREFS:[1],error:[1]},"http://saxonica.com/ns/interactiveXSLT":{apply:[2],call:[3],contains:[2],eval:[1],event:[0],get:[2],location:[0],page:[0],"query-params":[0],source:[0],style:[1],window:[0]}},xa={accept:{},accumulator:{},"accumulator-rule":{},"analyze-string":{},"apply-imports":{},"apply-templates":{},assert:{},attribute:{},"attribute-set":{},"break":{},"call-template":{}, +"catch":{},"character-map":{},choose:{},comment:{},"context-item":{},copy:{},"copy-of":{},"decimal-format":{},document:{},element:{},evaluate:{},expose:{},fallback:{},"for-each":{},"for-each-group":{},fork:{},"function":{},"global-context-item":{},"if":{},"import":{},include:{},iterate:{},key:{},map:{},"map-entry":{},"matching-substring":{},merge:{},"merge-action":{},"merge-key":{},"merge-source":{},message:{},mode:{},namespace:{},"namespace-alias":{},"next-iteration":{},"next-match":{},"non-matching-substring":{}, +number:{},"on-completion":{},"on-empty":{},"on-non-empty":{},otherwise:{},output:{},"output-character":{},override:{},"package":{},param:{},"perform-sort":{},"preserve-space":{},"processing-instruction":{},"result-document":{},sequence:{},sort:{},"source-document":{},"strip-space":{},stylesheet:{},template:{},text:{},transform:{},"try":{},"use-package":{},"value-of":{},variable:{},when:{},"where-populated":{},"with-param":{}};var ya=function(){var a;return{getPlatform:function(){return a},setPlatform:function(b){a=b},gj:function(b,h,A,P,q){return a.addMultipleDocs(b,h,A,P,q)},createDocument:function(){return a.createDocument()},ei:function(){return a.getDefaultDeliverMessage()},inBrowser:function(){return a.inBrowser()},isHTMLElement:function(b){return a.isHTMLElement(b)},makeBuffer:function(b,h){return a.makeBuffer(b,h)},makeHttpRequest:function(b,h,A,P){return a.makeHttpRequest(b,h,A,P)},parseXmlFromString:function(b, +h,A){return a.parseXmlFromString(b,h,A)},readFile:function(b,h){return a.readFile(b,h)},resource:function(b){return a.resource(b)},resourcePromise:function(b){return a.resourcePromise(b)},resolveUri:function(b,h){return a.resolveUri(b,h)},Qa:function(b){return a.saxonPrint(b)},newURL:function(b,h){return a.newURL(b,h)},fileURL:function(b){return a.fileURL(b)},baseURL:function(){return a.baseURL()},systemProperties:function(){return{version:"3.0",vendor:"Saxonica","vendor-url":"http://www.saxonica.com/", +"product-name":"SaxonJS","product-version":"2.7","is-schema-aware":"no","supports-serialization":"yes","supports-backwards-compatibility":"yes","supports-namespace-axis":"yes","supports-streaming":"no","supports-dynamic-evaluation":"yes","supports-higher-order-functions":"yes","xpath-version":"3.1","xsd-version":"1.1"}},extraProperties:function(){return a.extraProperties},toUTF8:function(b){return a.toUTF8(b)},fromUTF8:function(b){return a.fromUTF8(b)},Ij:function(){return a.globalObject}}}();function za(a,b){function h(A,P){for(;A;){if(A[P])return A[P];A=A.parentNode}return null}a.xsltLineNr=h(b,"line");a.xsltModule=h(b,"module")} +class J extends Error{constructor(a="SaxonJS run-time error",b="FORG0001",h=null){super();this.name="XError";this.message=a;this.code=b;h&&za(this,h)}toString(){return this.name+":"+this.message+"; code:"+this.code}getStackTrace(){return null.getStackTrace()}getMessage(){let a="Error "+this.code;null!=this.xsltLineNr&&(a+=" at "+this.xsltModule+"#"+this.xsltLineNr);return a+="\n "+this.message}Ad(){return this.code}}oa=J.prototype;oa.code=null;oa.errorObject=null;oa.xsltLineNr=null; +oa.xsltModule=null;oa.Le=!1;const Aa=function(){function a(e){P("Internal error: "+e+"\n"+Error().stack);throw new J("Internal error: "+e,"SXJS0004");}function b(e){if(null===e)return"#null";if("undefined"===typeof e)return"#undefined";let l;if(e.showValue)return e.showValue();if(e.N)return"expression "+e.N;if(q&&q.Q(e)){if(q.ke(e))return"attribute @"+e.name+"='"+e.value+"'";if(q.Cd(e))return"ns:"+e.prefix+"="+e.q;l={1:"element <"+e.tagName+">",2:"attribute @"+e.name,3:"text:"+(e.nodeValue?e.nodeValue.substring(0,8):"''"),7:"pi: "+ +e.target+"("+e.tagName+")",8:"comment ("+e.nodeValue+")",9:"document "+(e._saxonDocumentNumber?"#"+e._saxonDocumentNumber:"(No nr / #0)"),11:"docFrag"}[e.nodeType];if("9"===e.nodeType||"11"===e.nodeType){var z;for(z=0;z"+b(e.childNodes[z])}return l}if(e.code)return"atomic:"+e.code+"('"+e.toString()+"')";if("object"===typeof e&&"length"in e){if(1===e.length)return b(e[0]);l="(";for(z=0;zz;z++)0!==z&&(l+=","),l+=b(e[z]);4<=e.length&&(l+=",...("+e.length+")"); +return l+")"}return"function"===typeof e?e.toString():"("+typeof e+") "+e}function h(e){return"{'N':'"+e.N+"','C':["+(e.C||[]).map(l=>h(l)).join(",")+"]}"}function A(e,l){for(;e;){if(e[l])return e[l];e=e.parentNode}return null}function P(e,l=1,z){let v=g;z&&(v=z);l<=v&&ya.getPlatform().saxonPrint(e)}let q,g=1;Error.stackTraceLimit=100;return{ba:function(e,l="assertion failed"){e||a(l)},fa:a,location:function(e){return A(e,"module")+"#"+A(e,"line")},pk:function(e){q=e},Qa:P,showValue:b,Ji:function(e){return e.showValue? +e.showValue():q&&q.Q(e)?b(e):e.code?"atomic:"+e.code+"('"+e.toString()+"')":e.Cj?e.toString():"("+typeof e+") "+e},yk:function(e){if(!e)return"null expr";let l=e.N||"?";for(let z in e)e.hasOwnProperty(z)&&!["C","N","parentNode","ELAB","PUSH"].includes(z)&&(l+=" "+z+"="+e[z]);e.C&&(l+=" ("+e.C.map(z=>z.N).join(",")+")");return l+=" at "+this.location(e)},hm:h,getLogLevel:function(){return g},setLogLevel:function(e){"number"==typeof e&&(g=e)}}}();function Da(a){return a.replace(/[ \n\r\t]+/g," ").replace(/^[ ]|[ ]$/g,"")}function Ea(a){if(32>a&&![9,10,13].includes(a)||55295a||65533a||1114111a?-1:0===a?0:1}return a65535b.codePointAt(0))}function Ja(a){return String.fromCodePoint(...a.map(Ea))}class La{};var Ma=function(){function a(){null===h&&(h=ya.resource("regexCategories"));return h}function b(g,e,l=null,z=null){function v(x,E){function B(V){for(V=V.toString(16);4>V.length;)V="0"+V;return"\\u"+(A&&4=aa&&V.push([aa,ja])}w=w[w.length-1][1];(A||65535>w)&&V.push([w+1,A?1114111:65535])}w="";for(M=0;MV[M][1])w+=B(V[M][0]), +V[M][1]>V[M][0]&&(w+="-"+B(V[M][1]));V=w;ha||(V="["+V+"]");return V}function H(V){return V.sort(function(ha,w){return ha[0]-w[0]})}function S(V,ha,w,M){var aa=[];Array.isArray(V)||p("Ranges must be array");V.forEach(function(ja){aa.push([parseInt(ja[0],16),parseInt(ja[1],16)])});w&&M&&H(aa);return L(aa,ha,w)}var C=x.charAt(E+1);0>"nrt\\|.-^?*+{}()[]pPsSiIcCdDwW$".indexOf(C)&&(0!==m||!/[0-9]/.test(C))&&p("\\"+C+" is not allowed in XPath regular expressions");switch(C){case "p":case "P":var Z=x.indexOf("}", +E);x=x.substring(E+3,Z);G("x")&&(x=x.replace(/[ \n\r\t]+/g,""));var K=a();(E=K[x])||p("Unknown category "+x);if(1===x.length){var X=[];E.split("|").forEach(function(w){X=X.concat(K[w])})}else X=E;I+=S(X,0=n&&/[0-9]/.test(x.charAt(E+2))&&(I+="(?:)"),E++):(I+="\\"+C,E++)}return{lk:I,i:E}}function G(x){return 0<=e.indexOf(x)}function p(x){throw new J("Invalid XPath regular expression: "+x,"FORX0002");}let f=0;e=e?e.toString():"";if(!A&&l&&Ha(l))throw new J("Cannot handle non-BMP characters with regular expressions in this browser", +"SXJS0002");l=(G("i")?"i":"")+(G("m")?"m":"")+(G("g")?"g":"")+(A?"u":"");if(G("j"))return new RegExp(g,e.replace("j",""));if(G("q"))return new RegExp(g.replace(/[\[\]\/\{\}\(\)\*\+\?\.\\^$|]/g,"\\$&"),l);let I="";const D=[[58,58],[65,90],[95,95],[97,122],[192,214],[216,246],[248,767],[880,893],[895,8191],[8204,8205],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],r=[[45,46],[48,58],[65,90],[95,95],[97,122],[183,183],[192,214],[216,246],[248,893],[895,8191],[8204, +8205],[8255,8256],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],c=[],d=[];let n=1,m=0,u=!1;var Q=!1;for(var ma=0;maQ||!/^[0-9]+(,[0-9]*)?$/.test(g.substring(ma+1,Q)))&&p("Invalid quantifier {"+g.substring(ma+1,Q+1)),Q=!1);I+=x;break;case " ":case "\n":case "\r":case "\t":if(!G("x")||0=this.value.length)return this.value;let a=this.g;const b=this.value.length;if(0===a&&0b+h.toString(16).padStart(2,"0"),"").toUpperCase()} +class bb extends Ra{constructor(a,b="AX"){super(b);if(!(a instanceof Uint8Array))throw new J("Uint8Array expected");this.value=a}b(){return/^A[X2]$/}toString(){if("AX"===this.code)var a=ab(this.value);else{{a=this.value;var b=0;let g=0,e=[];if(0===a.length)a="";else{do{var h=a[b++];var A=a[b++];var P=a[b++];var q=h<<16|A<<8|P;h=q>>18&63;A=q>>12&63;P=q>>6&63;q&=63;e[g++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(h)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(A)+ +"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(P)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(q)}while(bh===b[A])}return Za(this.code, +a.code)}hashCode(){return(new Ya(ab(this.value.slice(0,8)))).hashCode()}matchKey(){return("AX"===this.code?"h":"i")+this.toString()}} +class Va extends Ta{constructor(a,b="AO"){super(b);this.value=a;"number"!==typeof a&&Aa.fa("type of value supplied to XdmDouble is not number: "+typeof a)}b(){return/^A[OF]$/}toString(){if(0===this.value)return 0>1/this.value?"-0":"0";if(this.value===Number.POSITIVE_INFINITY)return"INF";if(this.value===Number.NEGATIVE_INFINITY)return"-INF";var a=this.value,b=Math.abs(a);if(1E6<=b||1E-6>b){b=a.toExponential();const h=b.indexOf("e");a=b.substring(0,h);b=b.substring(h+1);"AF"===this.code&&(a=parseFloat(a), +a=(0>a?a-5E-8:a+5E-8).toString(),a=a.substring(0,a.indexOf(".")+8),a=a.replace(/\.?0+$/,""));a.includes(".")||(a+=".0");return a+"E"+b.replace("+","")}return"AF"===this.code&&0!==a%1?(b=(0>a?a-5E-8:a+5E-8).toString(),b=b.substring(0,b.indexOf(".")+6),b.replace(/0+$/,"")):a.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?(a=a.toNumber(),"AF"===this.code&&Math.fround&&(a=Math.fround(a)),this.valuethis.value?"-INF":"INF"}matchKey(){return"n"+this.hashCode()}toNumber(){return this.value}toDouble(){return this}abs(){return new Va(Math.abs(this.value),this.code)}tf(){return new Va(-this.value,this.code)}mg(){return new Va(Math.ceil(this.value),this.code)}floor(){return new Va(Math.floor(this.value), +this.code)}round(a){0===a?a=Math.round(this.value):(a=Math.pow(10,-a),a*=Math.round(this.value/a));return new Va(a,this.code)}wf(a){return isFinite(this.value)?(a=(new db(qa(this.value))).wf(a),0===a.toNumber()&&0>this.value&&(a=Sa.XS.double.fromString("-0")),Sa.codes[this.code].I(a)):this}} +class cb extends Ta{constructor(a){super("ADI");"number"!==typeof a&&Aa.fa("type of value supplied to XdmInteger is not number: "+typeof a);this.value=a}b(){return/^ADI/}toString(){return this.value.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?this.value-a.toNumber():Za(this.code,a.code)}hashCode(){return $a(this.value)}Qg(a){return a instanceof Va||a instanceof cb?this.value===a.value:a instanceof db?Sa.XS.$a.I(this).equals(a):!1}matchKey(){return"n"+this.hashCode()}toDouble(){return new Va(this.value)}toNumber(){return this.value}toBig(){return new qa(this.value)}abs(){return new cb(Math.abs(this.value))}tf(){return new cb(-this.value)}mg(){return this}floor(){return this}round(a){return 0> +a?(a=Math.pow(10,-a),new cb(Math.round(this.value/a)*a)):this}wf(a){return 0>a?(a=Math.pow(10,-a),new cb(parseInt(qa(this.value).Ib(a,100,2).round(0,2).times(a),10))):this}} +class db extends Ta{constructor(a,b="AD"){super(b);this.value=new qa(a)}b(){return/^AD/}toString(){return this.value.toFixed()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a instanceof db?this.value.eb(a.value):/^AD/.test(a.code)?this.value.eb(a.toBig()):a.isNumeric()?this.value.eb(new qa(a.toDouble())):Za(this.code,a.code)}hashCode(){const a=this.value;return a.sf(qa(1)).qj()&&a.abs().$j()?this.toNumber().toString(36):this.toString().substring(0,8)}Qg(a){return a instanceof Va||a instanceof +cb?0===this.compareTo(Sa.XS.$a.I(a)):a instanceof db?0===this.compareTo(a):!1}matchKey(){return"n"+this.hashCode()}toBig(){return this.value}toDouble(){return new Va(parseFloat(this.value.toFixed()))}toNumber(){return parseFloat(this.value.toFixed())}abs(){return new db(this.value.abs(),this.code)}tf(){var a=qa(this.value);a.ha=-a.ha;return new db(a,"AD"===this.code?"AD":"ADI")}mg(){return new db(this.value.round(0,0>this.value.ha?0:3),this.code)}floor(){return new db(this.value.round(0,0>this.value.ha? +3:0),this.code)}round(a){function b(q,g){q=new qa(q);q.e+=g;return q}let h=this.value,A=0;0>a&&(A=a,a=0,h=b(h,A));const P=0a?(a=qa(10).pow(-a),a=this.value.Ib(a,100,2).round(0,2).times(a)):a=this.value.round(a,2);return new db(a,"AD"===this.code?"AD":"ADI")}} +class eb extends Ra{constructor(a){super("AB");"boolean"!==typeof a&&Aa.fa("type of value supplied to XdmBoolean is not boolean: "+typeof a);this.value=a}b(){return/^AB$/}toString(){return this.value.toString()}toBoolean(){return this.value}compareTo(a){return a instanceof eb?(this.value?1:0)-(a.value?1:0):Za(this.code,a.code)}equals(a){return 0===this.compareTo(a)}hashCode(){return this.value.toString()}matchKey(){return"b"+this.toString()}} +class fb extends Ra{constructor(a,b,h){super("AQ");this.prefix=a=a?a:"";this.q=b?b:"";this.local=h;if(""!==a&&!Ma.isNCName(a))throw new J("Invalid prefix: '"+a+"'","FORG0001");if(!Ma.isNCName(h))throw new J("Invalid local name: '"+h+"' (prefix='"+a+"', uri='"+b+"')","FORG0001");}b(){return/^AQ$/}toEQName(){return"Q{"+this.q+"}"+this.local}toString(){return(0a?"-":"+")+(100+Math.floor(b/60)).toString().substring(1)+":"+(100+b%60).toString().substring(1)}return 0===a?"Z":""} +function kb(a,b){if(b instanceof lb&&(b.code.startsWith(a.code)||a.code.startsWith(b.code)))return+a.ya.getTime()-b.ya.getTime();Za(a.code,b.code)}function mb(a,b){return Sa.XS.dateTime.fromDate(new Date(a.ya.getTime()+6E4*b),a.ta)} +function nb(a,b){let h=a.toString(),A=parseInt(h.substring(5,7),10),P=parseInt(h.substring(8,10),10),q=parseInt(h.substring(0,4),10)+Math.floor((A+b-1)/12),g=0>q;b=(A+b-1)%12+1;for(0>=b&&(b+=12);!Sa.Xj([q,b,P,0,0,0]);)--P;return Sa.codes[a.code].fromString((g?"-"+(1E4+-q).toString().substring(1):(1E4+q).toString().substring(1))+"-"+(100+b).toString().substring(1)+"-"+(100+P).toString().substring(1)+h.substring(10))} +class lb extends Ra{constructor(a,b,h="AM"){super(h);this.ya=a;this.ta=b;a instanceof Date||Aa.fa("type of UTCdate supplied to XdmDateTime is not Date");b&&"number"!==typeof b&&Aa.fa("type of value for timezone offset supplied to XdmDateTime is not number: "+typeof b)}b(){return/^A([AGHIJKMT]|MP)$/}toString(){const a=ib(this,gb(this).toISOString()),b="-"===a.charAt(0)?1:0;return function(h){switch(h){case "AM":case "AMP":return a;case "AA":return a.substring(0,10+b);case "AT":return a.substring(11+ +b);case "AH":return a.substring(0,7+b);case "AG":return a.substring(0,4+b);case "AJ":return"-"+a.substring(4+b,10+b);case "AI":return"-"+a.substring(4+b,7+b);case "AK":return"--"+a.substring(7+b,10+b);default:throw"type not recognised "+h;}}(this.code)+jb(this)}compareTo(a){(/^A[GHIJK]/.test(this.code)||/^A[GHIJK]/.test(a.code))&&Za(this.code,a.code);return kb(this,a)}equals(a){return 0===kb(this,a)}hashCode(){return $a(this.ya.getTime()-1454346732296)}matchKey(){return"t"+this.hashCode()}} +function qb(a){function b(A,P){P.forEach(function(q){1E3!==q?(h.push(Math.floor(A/q)),A%=q):h.push(A/q)})}let h=[];b(Math.abs(a.Ha),[12,1]);b(Math.abs(a.Ca),[864E5,36E5,6E4,1E3]);return h}function rb(a){a=a.Ha+a.Ca;return 0>a?-1:0b||0>a&&0b?"-P":"P",qb(this).forEach(function(h,A){3===A&&(a+="T");0!==h&&(6===A?a+=h/1E3+"S":a+=h+"YMDHMS".split("")[A])}), +a=a.replace(/T$/,""));return a}compareTo(a){if(a instanceof sb){if(Sa.XS.yearMonthDuration.matches(this)&&Sa.XS.yearMonthDuration.matches(a))return this.Ha-a.Ha;if(Sa.XS.dayTimeDuration.matches(this)&&Sa.XS.dayTimeDuration.matches(a))return this.Ca-a.Ca;throw new J("Cannot compare durations that mix months and seconds","XPTY0004");}return Za(this.code,a.code)}equals(a){a instanceof sb||Za(this.code,a.code);return a instanceof sb&&this.Ha===a.Ha&&this.Ca===a.Ca}hashCode(){return this.Ha.toString()+ +":"+this.Ca.toString()}matchKey(){return"d"+this.hashCode()}}function $a(a){return Number.isInteger(a)&&Math.abs(a)U instanceof Ra&&U.code.startsWith(k),fc:function(U){T(U)||g(U.toString(),k);U.code=k;return U},fromString:function(U){return R.fc(t.fromString(U))},I:function(U){return R.fc(t.I(U))}}}function da(pa,k,F){const T=k.replace(/.$/,"");y(pa,k,T,F);const t=V[pa],R=ha[T];t.fromString=function(U){/INF|NaN/.test(U)&&g(U,k,null,"FOCA0002");return t.fc(R.fromString(U))};t.fromNumber=function(U){U= +R.fromNumber(U);const ia=U.toNumber();isFinite(ia)||g(U.toString(),k,null,"FOCA0002");F(U)||g(U.toString(),k);U.code=k;return U}}function W(pa,k,F,T){const t=k.replace(/.$/,"");y(pa,k,t,F);const R=ha[k],U=ha[t];R.fc=function(ia){ia=T(ia.toString());F(ia)||g(ia,k);return new Ya(ia,k)};R.fromString=function(ia){return R.fc(U.fromString(T(ia)))}}function ka(pa,k,F){y(pa,k,"AR",F);const T=V[pa];T.fc=function(t){if(t instanceof sb)return new sb("ARY"===k?t.Ha:0,"ARD"===k?t.Ca:0,k);F(t)||g(t.toString(), +k);t.code=k;return t};T.Jb=function(t,R){return T.fc(Z.Jb(t,R))};T.I=function(t){return Z.matches(t)?T.fc(t):Y.string.matches(t)||Y.untypedAtomic.matches(t)?r(t.toString(),k):T.fc(Z.I(t))}}function ea(pa,k){return function(F){F=F.toNumber();return F>=pa&&F<=k}}for(var va in V){const pa=V[va];ha[pa.code]=pa}v("gYear","AG");v("gYearMonth","AH");v("gMonth","AI");v("gMonthDay","AJ");v("gDay","AK");da("nonPositiveInteger","ADIN",pa=>0>=pa.toNumber());da("negativeInteger","ADINN",pa=>0>pa.toNumber());da("long", +"ADIL",function(pa){pa=pa.toBig();return 0<=pa.eb(qa("-9223372036854775808"))&&0>=pa.eb(qa("9223372036854775807"))});da("int","ADILI",ea(-2147483648,2147483647));da("short","ADILIS",ea(-32768,32767));da("byte","ADILISB",ea(-128,127));da("nonNegativeInteger","ADIP",pa=>0<=pa.toNumber());da("positiveInteger","ADIPP",pa=>0=pa.toBig().eb(qa("18446744073709551615"))});da("unsignedInt","ADIPLI",function(pa){return 0<=pa.toNumber()&& +0>=pa.toBig().eb(qa("4294967295"))});da("unsignedShort","ADIPLIS",ea(0,65535));da("unsignedByte","ADIPLISB",ea(0,255));va=()=>!0;W("normalizedString","ASN",va,pa=>pa.replace(/[ \r\t\n]/g," "));W("token","ASNT",va,Da);W("language","ASNTL",pa=>/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/.test(pa),Da);W("NMTOKEN","ASNTK",Ma.Tj,Da);W("Name","ASNTN",Ma.Uj,Da);W("NCName","ASNTNC",Ma.isNCName,Da);W("ID","ASNTNCI",Ma.isNCName,Da);W("IDREF","ASNTNCR",Ma.isNCName,Da);W("ENTITY","ASNTNCE",Ma.isNCName,Da);ka("yearMonthDuration", +"ARY",pa=>0===pa.Ca);ka("dayTimeDuration","ARD",pa=>0===pa.Ha);V.dayTimeDuration.Yh=function(pa){return new sb(0,6E4*pa,"ARD")};Y.Xb=V.language;Y.jh=V.NCName;Y.dayTimeDuration=V.dayTimeDuration;Y.yearMonthDuration=V.yearMonthDuration;Y.ci=V.gYearMonth;Y.bi=V.gYear;Y.ai=V.gMonthDay;Y.$h=V.gMonth;Y.Zh=V.gDay;a=function(){}}function b(y,da){return da?-y:y}function h(y,da){return da*(void 0===y?0:Math.round(1E3*parseFloat(y)))}function A(y,da){return da*(void 0===y?0:parseInt(y,10))}function P(y){return y.Ya&& +!["ADI","ARY","ARD"].includes(y.code)?P(y.Ya):y}function q(y,da){throw new J(`Casting from ${c(y.code)} to ${c(da)} is not allowed`,"XPTY0004");}function g(y,da,W=null,ka="FORG0001"){throw new J(`Supplied value "${y}" is not a valid ${c(da)}${W?` (${W})`:""}`,ka);}function e(y,da){y=Ma.trim(y);/.\.$/.test(y)&&(y+="0");if(/^[-+]?([0-9]+(\.[0-9]*)?|\.[0-9]+)([Ee][-+]?[0-9]+)?$/.test(y))return parseFloat(y);if(/^NaN$/.test(y))return NaN;if(/^-INF$/.test(y))return-Infinity;if(/^(\+)?INF$/.test(y))return Infinity; +da&&g(y,"AO");return NaN}function l(y){y=y.replace(/\s/g,"");/^(....)*$/.test(y)||g(y,"A2","length must be a multiple of 4");/^[A-Za-z0-9+/]*=?=?$/.test(y)||g(y,"A2","only [A-Za-z0-9+/] allowed, or '=' at the end");/^([^=]*|.*[AQgw]==|.*[AEIMQUYcgkosw048]=)$/.test(y)||g(y,"A2","invalid characters before '='");let da,W,ka=0,ea=[];if(0===y.length)return new Uint8Array(0);do{var va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++));var pa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++)); +da="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++));W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++));var k=va<<18|pa<<12|da<<6|W;va=k>>16&255;pa=k>>8&255;k&=255;64===da?ea.push(va):64===W?ea.push(va,pa):ea.push(va,pa,k)}while(kaparseInt(da,16))):new Uint8Array(0)} +function v(y,da){V[y]=ha[da]={name:y,code:da,matches:W=>W instanceof lb&&W.code.startsWith(da),fromString:W=>I(W,da),fromDate:(W,ka)=>new lb(W,ka,da),I:W=>{if(W instanceof lb&&W.code.startsWith(da))return W;if(Y.dateTime.matches(W)||Y.Oc.matches(W)){const ka=ha[da];return ka.fromString(ka.fromDate(W.ya,W.ta).toString())}if(/^A[SZ]/.test(W.code))return I(W.value,da);q(W,da)}}}function G(y){if(-1!==y.indexOf(".",y.length-4)){y=y.split(".");let da=y[1];for(;3>da.length;)da+="0";y=y[0]+"."+da}return y} +function p(y){const da=y[0],W=y[1],ka=y[2],ea=y[3],va=y[4];y=y[5];return!(1>W||12ka||ka>[31,0!==da%4||0===da%100&&0!==da%400?28:29,31,30,31,30,31,31,30,31,30,31][W-1]||24<=ea||60<=va||60<=y)}function f(y,da){y=y.split(/[\-T:]/).map(function(ka){return parseFloat(ka)});const W=y[0];if(-9999>W||9999y[0]&&ea.setUTCFullYear(va);ea=""===ka?new Date(ea.getTime()+6E4*(new Date).getTimezoneOffset()):new Date(ea.getTime()-6E4*D(ka));return new lb(ea, +D(W[2]?W[2]:""),da)}function D(y){if(""===y)return null;if("Z"===y)return 0;var da=y.split(":");const W=/^-.*/.test(da[0]),ka=Math.abs(parseInt(da[0],10));da=parseInt(da[1],10);if(14Number.MAX_SAFE_INTEGER?new db(new qa(y),"ADI"):new cb(y)},ab:function(y){return new db(y,"ADI")},mm:function(y){return 0===y.value.sf(1)},I:function(y){switch(y.code.substring(0, +2)){case "AS":case "AZ":return Y.integer.fromString(y.toString());case "AF":case "AO":return Y.integer.fromNumber(y.toNumber());case "AD":return Y.integer.ab(y.toBig().round(0,0));case "AB":return Y.integer.fromNumber(y.toBoolean()?1:0);default:q(y,"AB")}},Al:function(y){return"number"===typeof y?Y.integer.fromNumber(y):"boolean"===typeof y?Y.integer.fromNumber(y?1:0):"string"===typeof y?Y.integer.fromString(y):Y.integer.fromString(y.toString())}},x={name:"numeric",code:"Anumeric",Wl:["double","decimal", +"float"],matches:function(y){return y instanceof Va||y instanceof cb||y instanceof db},I:function(y){if(Y.string.matches(y)||Y.untypedAtomic.matches(y))return Y.double.fromString(y.toString());if(Y.numeric.matches(y))return y;if(Y.boolean.matches(y))return Y.double.fromNumber(y.toBoolean()?1:0);q(y,"Anumeric")},Fd:function(y){const da=Y.double;if(null===y)return da.fromNumber(Number.NaN);if(Y.boolean.matches(y))return da.fromNumber(y.toBoolean()?1:0);if(Y.numeric.matches(y))return da.I(y);if(Y.string.matches(y)|| +Y.untypedAtomic.matches(y))try{return da.fromString(y.toString())}catch(W){return da.fromNumber(Number.NaN)}else return da.fromNumber(Number.NaN)}},E={name:"QName",code:"AQ",matches:function(y){return y instanceof fb},fromParts:function(y,da,W){return new fb(y,da,W)},fromString:function(y,da){y=Ma.trim(y);if("Q{"===y.substring(0,2))return Y.QName.fromEQName(y);Ma.ji(y)||g(y,"AQ");y=y.split(":");if(1===y.length)return Y.QName.fromParts("",da(""),y[0]);da=da(y[0]);if(null===da)throw new J("Undeclared prefix: "+ +y[0],"FONS0004");return Y.QName.fromParts(y[0],da,y[1])},fromEQName:function(y){var da=y.indexOf("{");const W=y.indexOf("}");if(!(-1===da&&-1===W||-1I+D,(I,D)=>I.xe(D))},"i-i":function(p,f){return Sa.Gg(p,f,(I,D)=>I-D,(I,D)=>I.te(D))},"i*i":function(p,f){return Sa.Gg(p,f,(I,D)=>I*D,(I,D)=>I.times(D))},"i/i":function(p,f){f.equals(Sa.XS.integer.fromNumber(0))&&h();p=p.toBig();f=f.toBig();return l.ab(p.Ib(f))}, +"i%i":function(p,f){var I=p.toNumber();const D=f.toNumber();if(!isFinite(I)||isNaN(D)||0===D)return 0===D&&h(),z.fromNumber(NaN);if(!isFinite(D)||0===I)return p;I=p.toNumber()%f.toNumber();isFinite(I)||h();return a(I)?z.fromNumber(I):z.ab(qa(p.toBig().sf(f.toBig())))},"i~i":function(p,f){const I=p.toNumber()/f.toNumber();isFinite(I)||h();return a(I)?z.fromNumber(Math.trunc(I)):z.ab(qa(p.toBig().Ib(f.toBig())).round(0,0))},"c+c":function(p,f){const I=p.toBig(),D=f.toBig();return b(p,f).ab(I.xe(D))}, +"c-c":function(p,f){const I=p.toBig(),D=f.toBig();return b(p,f).ab(I.te(D))},"c*c":function(p,f){const I=p.toBig(),D=f.toBig();return b(p,f).ab(I.times(D))},"c/c":function(p,f){try{const I=p.toBig(),D=f.toBig();return l.ab(I.Ib(D))}catch(I){h()}},"c%c":function(p,f){try{const I=p.toBig(),D=f.toBig();return l.ab(I.sf(D))}catch(I){h()}},"c~c":function(p,f){try{const I=p.toBig(),D=f.toBig(),r=I.Ib(D).round(0,0);return z.ab(r)}catch(I){h()}},"a+a":function(p,f){return q(p,f,"+")},"a-a":function(p,f){return q(p, +f,"-")},"a*a":function(p,f){return q(p,f,"*")},"a/a":function(p,f){return q(p,f,"/")},"a%a":function(p,f){return q(p,f,"%")},"a~a":function(p,f){return q(p,f,"~")},"u+u":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)&&I.matches(f)||D.matches(p)&&D.matches(f)||P(p,f,"+");return D.matches(p)?D.Jb(p.Ha+f.Ha,0):I.Jb(0,p.Ca+f.Ca)},"u-u":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)&&I.matches(f)||D.matches(p)&&D.matches(f)||P(p,f,"-");return D.matches(p)? +D.Jb(p.Ha-f.Ha,0):I.Jb(0,p.Ca-f.Ca)},"u*n":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)||D.matches(p)||P(p,f,"*");f=f.toNumber();if(!isFinite(f))throw new J("Cannot multiply duration by "+isNaN(f)?"NaN":"+/-INF",isNaN(f)?"FOCA0005":"FODT0002");return D.matches(p)?D.Jb(Math.round(p.Ha*f),0):I.Jb(0,Math.round(p.Ca*f))},"n*u":function(p,f){return tb["u*n"](f,p)},"u/n":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)||D.matches(p)||P(p,f,"/");f= +f.toNumber();0===f&&h("FODT0002");if(isNaN(f))throw new J("Cannot divide duration by NaN","FOCA0005");f=D.matches(p)?p.Ha/f:p.Ca/f;isFinite(f)||A("FODT0002");return D.matches(p)?D.Jb(Math.round(f),0):I.Jb(0,Math.round(f))},"u/u":function(p,f){var I=g.dayTimeDuration;const D=g.yearMonthDuration;I.matches(p)&&I.matches(f)||D.matches(p)&&D.matches(f)||P(p,f,"/");I=new qa(0);p=new qa(D.matches(p)?p.Ha:p.Ca);f=new qa(D.matches(f)?f.Ha:f.Ca);0===f.eb(I)&&h();try{return l.ab(p.Ib(f))}catch(r){A()}},"t+u":function(p, +f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(f)||D.matches(f)||P(p,f,"+");return I.matches(f)?Sa.codes[p.code].fromDate(new Date(p.ya.getTime()+f.Ca),p.ta):nb(p,f.Ha)},"u+t":function(p,f){return tb["t+u"](f,p)},"t-u":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(f)||D.matches(f)||P(p,f,"-");return I.matches(f)?Sa.codes[p.code].fromDate(new Date(p.ya.getTime()-f.Ca),p.ta):nb(p,-f.Ha)},"t-t":function(p,f){return g.dayTimeDuration.Jb(0,p.ya.getTime()-f.ya.getTime())}}; +return G}();function ub(a){function b(){function q(G){throw new J("In alphaCode '"+a+"' @ "+A+": "+G);}function g(G){const p=A>=a.length?-1:a.charAt(A++);p!==G&&q("Expected '"+G+"', found '"+p+"'")}function e(){let G=0,p=A;for(;Aa?this.current=this.b.next():0h)this.b.next(),a=this.b.ma();else if(0b)return this.current=this.b.next();0this.g)if(this.b instanceof Pb)this.g=this.b.expand().length;else{const a=[];let b;for(;null!==(b=this.b.next());)a.push(b);this.g=this.position+a.length;this.b=Pb(a)}return this.g}showValue(){return"Tracker of "+this.b.showValue()}} +class Qb extends Ab{constructor(a){super();this.current=a;this.position=1}next(){return null}last(){return 1}}class Rb extends Ab{constructor(a){super();this.b=a}next(){const a=this.b.next();return a.done?null:a.value}}class Sb extends Ab{constructor(a,b,h){super();this.b=a;this.g=h;for(this.l=1;!(this.l++>=b);)if(null==this.b.next()){this.g=Number.NEGATIVE_INFINITY;break}}next(){return this.l++<=this.g?this.b.next():null}}const Tb=new Fb;function Ub(a){return new Eb(a)} +function Vb(a){return new Ib(a)}function Wb(a){return new Qb(a)}function Xb(a){return new Ob(a)}function Pb(a){return new Gb(a)}function Yb(a){return new Eb(zb.string.fromString(a))}function Zb(a){return new Eb(zb.integer.fromNumber(a))}function $b(a){return new Eb(zb.double.fromNumber(a))}function ac(a){return new Eb(zb.$a.ab(a))}function bc(a){return new Eb(zb.boolean.fromBoolean(a))}var cc={};cc.Jk=Ab;cc.Qk=Mb;cc.Empty=Tb;cc.Rk=Fb;cc.Uk=Bb;cc.ForArray=Pb;cc.Vk=Gb;cc.Wk=Rb;cc.Zk=Lb;cc.$k=Vb; +cc.al=Ib;cc.bl=Nb;cc.fl=Db;cc.gl=Cb;cc.Singleton=Ub;cc.kl=Eb;cc.ll=Wb;cc.ml=Qb;cc.nl=Hb;cc.pl=Sb;cc.Tracker=Xb;cc.sl=Ob;cc.vl=Jb;cc.oneBoolean=bc;cc.bm=ac;cc.cm=$b;cc.dm=function(a){return new Eb(zb.float.fromNumber(a))};cc.oneInteger=Zb;cc.oneString=Yb;var dc={Jc:"http://www.w3.org/1999/XSL/Transform",za:"http://www.w3.org/2005/xpath-functions",qi:"http://www.w3.org/2005/xpath-functions/math",map:"http://www.w3.org/2005/xpath-functions/map",Ye:"http://www.w3.org/2005/xpath-functions/array",oc:"http://www.w3.org/XML/1998/namespace",ac:"http://www.w3.org/2001/XMLSchema",om:"http://www.w3.org/2001/XMLSchema-instance",sj:"http://www.w3.org/2005/xqt-errors",Yc:"http://saxonica.com/ns/interactiveXSLT",mi:"http://saxonica.com/ns/globalJS",ib:"http://saxon.sf.net/", +vj:"http://ns.saxonica.com/xslt/export",withPrefix:{xsl:"http://www.w3.org/1999/XSL/Transform",fn:"http://www.w3.org/2005/xpath-functions",math:"http://www.w3.org/2005/xpath-functions/math",map:"http://www.w3.org/2005/xpath-functions/map",array:"http://www.w3.org/2005/xpath-functions/array",xml:"http://www.w3.org/XML/1998/namespace",xs:"http://www.w3.org/2001/XMLSchema",xsi:"http://www.w3.org/2001/XMLSchema-instance",err:"http://www.w3.org/2005/xqt-errors",ixsl:"http://saxonica.com/ns/interactiveXSLT", +js:"http://saxonica.com/ns/globalJS",saxon:"http://saxon.sf.net/",ex:"http://ns.saxonica.com/xslt/export"},Zg:"http://ns.saxonica.com/anonymous-type"};var fc=function(){function a(q){return q?9===q.nodeType?q:a(q.ownerDocument):null}const b=Sa.XS;let h=1;const A={Lc:function(q){switch(q.nodeType){case 9:case 11:return Tb;case 2:return q.parent?new Hb(q.parent,g=>g.parentNode):Tb;default:return(q=q.parentNode)?new Hb(q,g=>g.parentNode):Tb}},Ka:function(q){return Vb([Ub(q),A.Lc(q)])},attribute:function(q){if(1===q.nodeType){const g=q.attributes,e=q.ownerDocument.documentElement&&ya.isHTMLElement(q.ownerDocument.documentElement),l=[];for(let z=0;z< +g.length;z++){const v=g[z].name;if("xmlns"!==v.substring(0,5)||5!==v.length&&":"!==v.charAt(5))e&&"xml:"===g[z].localName.substring(0,4)?l.push(new ec(b.QName.fromParts("xml",dc.oc,g[z].localName.substring(4)),g[z].value,q)):l.push(new ec(b.QName.fromParts(g[z].prefix,g[z].namespaceURI,g[z].localName),g[z].value,q))}return Pb(l)}return Tb},wa:function(q){function g(e){return new Hb(e.firstChild,l=>l.nextSibling)}if(null===q)return Tb;switch(q.nodeType){case 9:return g(q).filter(function(e){return!(7=== +e.nodeType&&"xml"===e.target||3===e.nodeType||4===e.nodeType)});case 11:case 1:return g(q);default:return Tb}},gf:function(q){return A.wa(q).mapOneToMany(function(g){return A.he(g)})},he:function(q){return Vb([Ub(q),A.gf(q)])},Vh:function(q){switch(q.nodeType){case 9:case 11:return Tb;case 2:case 13:return q=fc.Oa(q),null===q?Tb:Vb([A.gf(q),A.Vh(q)]);default:return A.Ka(q).mapOneToMany(function(g){return A.Wh(g).mapOneToMany(A.he)})}},Wh:function(q){switch(q.nodeType){case 9:case 11:case 2:case 13:return Tb; +default:return new Hb(q.nextSibling,g=>g.nextSibling)}},namespace:function(q){return 1===q.nodeType?Pb(fc.inScopeNamespaces(q).map(function(g){return new gc(g.prefix,g.q,q)})):Tb},parent:function(q){return Ub(fc.Oa(q))},Og:function(q){return A.Ka(q).mapOneToMany(function(g){return A.Dc(g).mapOneToMany(function(e){return Pb(A.he(e).expand().reverse())})})},Dc:function(q){switch(q.nodeType){case 9:case 11:case 2:case 13:return Tb;default:return new Hb(q.previousSibling,g=>g.previousSibling)}},xf:function(q){return Ub(q)}}, +P={va:A,Ch:{ancestor:A.Lc,"ancestor-or-self":A.Ka,attribute:A.attribute,child:A.wa,descendant:A.gf,"descendant-or-self":A.he,following:A.Vh,"following-sibling":A.Wh,namespace:A.namespace,parent:A.parent,preceding:A.Og,"preceding-sibling":A.Dc,self:A.xf},xc:a,ic:function(q){return A.Ka(q).expand().pop()},lc:function(q){q._saxonDocumentNumber||(q._saxonDocumentNumber=h++);return q},pj:function(q){return fc.lc(q)._saxonDocumentNumber},X:function(q){if(!q||!q.nodeType)return null;switch(q.nodeType){case 1:return b.QName.fromParts(q.prefix, +q.namespaceURI,q.localName);case 2:if("xml"===q.prefix)return b.QName.fromParts(q.prefix,dc.oc,q.localName);if(!q.nc)throw new J("ATTRIBUTE_NODE not local","SXJS0004");return q.nc;case 7:return b.QName.fromParts("","",q.target);case 13:return q.prefix?b.QName.fromParts("","",q.prefix):null;default:return null}},Jl:function(q,g){if(!q||!q.nodeType)return!1;switch(q.nodeType){case 1:case 2:return q.localName===g;case 7:return q.target===g;case 13:return q.prefix===g;default:return!1}},hasURI:function(q, +g){if(!q||!q.nodeType)return!1;switch(q.nodeType){case 1:return(q.namespaceURI||"")===g;case 2:return"xml"===q.prefix?dc.oc===g:q.namespaceURI===g;default:return""===g}},wc:function(q,g){let e=[];for(q=q.firstChild;null!==q;)1!==q.nodeType||g&&g!==q.tagName||e.push(q),q=q.nextSibling;return e},Fl:function(q,g){for(q=q.firstChild;null!==q;){if(1===q.nodeType&&(!g||g===q.tagName))return q;q=q.nextSibling}return null},Vc:function(q){const g=q.expand();if(1{fc.Q(v)? +(z=!1,fc.Oa(v)?e=!1:v._saxonDocumentNumber?e=!1:fc.lc(v)):l=!1});if(!l&&!z)throw new J("Cannot sort a sequence including both nodes and non-nodes","XPTY0018");e||z||g.sort(fc.fb);return Pb(g).mapOneToOne(function(v,G){return 0v?fc.fb(e,g):fc.fb(q,l)}},Oa:function(q){return fc.ke(q)?q.parent:q.parentNode},ff:function(q,g,e){hc(q,"http://www.w3.org/2000/xmlns/",""===g?"xmlns":"xmlns:"+g,e)},inScopeNamespaces:function(q,g=A.Ka){let e=[{prefix:"xml",q:dc.oc}],l={xml:!0};for(q=g(q);null!==(g=q.next());)if(1===g.nodeType){var z=fc.X(g);""===z.prefix&&""===z.q&&(l[""]=!0);g=g.attributes;for(z=0;zh(A))}toString(){return this.K instanceof Mc&&1===this.ca?"empty-sequence()": +this.K.toString()+gd(this.ca)}equals(a){return this.ea()===a.ea()}};class id{constructor(a){Array.isArray(a)||Aa.fa("XdmArray value must be an array. Supplied:"+a);this.value=a}get(a){if("number"!=typeof a)throw new J("Array subscript is not numeric","XPTY0004");if(1>a||a>this.value.length)throw new J("Array index ("+a+") out of bounds (1 to "+this.value.length+")","FOAY0001");return this.value[a-1]}evaluate(a){return Pb(this.value[a[0][0]-1])}size(){return this.value.length}showValue(){let a="[";for(let b=0;bb;b++)0!==b&&(a+=","),a+=Aa.showValue(this.value[b]); +4<=this.value.length&&(a+=",...("+this.value.length+")");return a+"]"}flatten(a){for(let b=0;b"dynamic call of "+this.jc());return z}convertResult(l){return Pb(ld.pg(l,this.ja,()=>"result of dynamic call of "+this.jc()))}Dg(){return new md(this.g,this.ja)}}class b extends a{constructor(l,z,v,G,p){super(l,v);this.name=z;this.evaluator=[dc.qi,dc.map,dc.Ye,dc.ib, +dc.Yc].includes(z.q)?ld.uj:ld.tj;this.z=G;if(l.defaultToDot&&0===v||["accumulator-after","accumulator-before","lang"].includes(z.local))this.x=p.getCurrentFocus()}Wb(){return this.name}evaluate(l,z,v){var G=this.Wb().local;if("current"===G)throw new J("current() function cannot be evaluated dynamically","XTDE1360");if("current-output-uri"===G)return Tb;if("regex-group"===G)return Yb("");let p=z;this.x&&(p=z.newContext(),p.focus=Wb(this.x));z=["string-length","normalize-space"].includes(G);const f= +this.jb.defaultToDot;G="number"===G;if((z||f||G)&&0===l.length){p.failIfNoCurrentFocus("XPDY0002",". (dot)");v=p.getCurrentFocus();if(z||G)v=ld.atomize(v).next();z&&(v=Sa.XS.string.I(v));l.push([v])}else l=this.b(l,v);return this.evaluator(this.Wb(),l,p,this.z)}}const h={NMTOKENS:"NMTOKEN",IDREFS:"IDREF",ENTITIES:"ENTITY"};class A extends a{constructor(l,z,v){super(l,1);this.name=z;if(l=h[z.local]){const G=Sa.type[l].fromString;Aa.ba(G);this.evaluate=p=>{p=this.b(p,v)[0][0].toString();p=Da(p).split(" "); +return Pb(p.map(G))}}else if("QName"===z.local){const G=ld.stylesheetResolver(v,!0);this.evaluate=p=>{p=this.b(p,v)[0][0].toString();return Ub(Sa.XS.QName.fromString(p,G))}}else{const G=Sa.type[z.local].I;Aa.ba(G);this.evaluate=p=>Ub(G(this.b(p,v)[0][0]))}}Wb(){return this.name}}class P extends a{constructor(l,z){super(l,l.alphaTree.a.length);this.z=l.componentBinding;this.x=z.fixed.xa[this.z];this.rc=ld.$(this.x.actor,"body");this.name=Sa.XS.QName.fromEQName(this.x.actor.name)}Wb(){return this.name}evaluate(l, +z,v){l=this.b(l,v);z=z.newContext(!0);z.clearGrouping();z.tempOutputState="function";z.currentMode={};z.currentTemplate=null;z.focus=null;z.currentComponent=this.x;for(v=0;v!0}T(){if(!this.b)if(this.z)this.b=wb(this.z);else return null;return this.b}ea(){if(!this.z)if(this.b)od(this,xb(this.b));else return null;return this.z}ka(a="A"){return this.T().p.startsWith(a)}isNumeric(){return qd(this)||/^A[ODF]/.test(this.T().p.substring(0))}Bd(){return/^F/.test(this.T().p)}Qj(){return!0}l(){return null}x(){return null}U(){return null}toString(){return this.ea()}equals(a){return this.ea()===a.ea()}} +class yc extends uc{constructor(){super();od(this,"");this.b={p:""}}ga(){return()=>!0}toString(){return"item()"}}var xc;const cd=new yc;class Ac extends uc{constructor(){super();od(this,"N");this.b={p:"N"}}ga(){return a=>fc.Q(a)}toString(){return"node()"}}var zc;class Cc extends uc{constructor(){super();od(this,"N u[NT,NP,NC,NE]");this.b={p:"N",u:[{p:"NT"},{p:"NP"},{p:"NC"},{p:"NE"}]}}ga(){return a=>fc.Q(a)&&[1,3,4,8,7].includes(a.nodeType)}toString(){return"node()"}}var Bc; +function rd(a){switch(a){case 9:return Nc;case 1:return Pc;case 2:return Qc;case 8:return Sc;case 3:case 4:return Rc;case 7:return Tc;case 13:return Uc;default:throw new J("Unknown node kind "+a);}}function sd(a){switch(a){case 1:return"NE";case 3:return"NT";case 2:return"NA";case 9:return"ND";case 8:return"NC";case 4:return"NT";case 7:return"NP";case 13:return"NN";case 0:return"N";default:throw new J("Unknown node kind "+a+" in NodeKindTest");}} +class Oc extends uc{constructor(a){super();this.Ba=a;a=sd(a);od(this,a);this.b={p:a}}ga(){switch(this.Ba){case 9:return a=>fc.Q(a)&&(9===a.nodeType||11===a.nodeType);case 3:case 4:return a=>fc.Q(a)&&(3===a.nodeType||4===a.nodeType);default:return a=>fc.Q(a)&&a.nodeType===this.Ba}}toString(){switch(this.Ba){case 9:return"document-node()";case 1:return"element(*)";case 2:return"attribute(*)";case 8:return"comment()";case 3:case 4:return"text()";case 7:return"processing-instruction()";case 13:return"namespace-node()"; +case 0:return"node()";default:throw new J("Unknown node kind "+this.Ba+" in NodeKindTest");}}}var Nc,Pc,Qc,Sc,Rc,Tc,Uc;class td extends Oc{constructor(a,b){super(a);this.name=b;a=sd(a);od(this,a+" n"+b.toEQName());this.b={p:a,n:b.toEQName()}}ga(){const a=this.name;return b=>{var h;if(h=fc.Q(b)&&b.nodeType===this.Ba)h=(b=fc.X(b))&&a.equals(b);return h}}toString(){return super.toString().replace(/\(\*?\)/,"("+this.T().n+")")}} +class ud extends Oc{constructor(a,b){super(a);this.localName=b;a=sd(a);od(this,a+" n*:"+b);this.b={p:a,n:"*:"+b}}ga(){return a=>fc.Q(a)&&a.nodeType===this.Ba&&fc.X(a).local===this.localName}toString(){return super.toString().replace(/\(\*?\)/,"(*:"+this.localName+")")}} +class vd extends Oc{constructor(a,b){super(a);this.q=b;a=sd(a);od(this,a+" nQ{"+b+"}*");this.b={p:a,n:"Q{"+b+"}*"}}ga(){return a=>fc.Q(a)&&a.nodeType===this.Ba&&fc.X(a).q===this.q}toString(){return super.toString().replace(/\(\*?\)/,"Q{"+this.q+"}*)")}}class wd extends Oc{constructor(a){super(9);this.g=a;od(this,"ND e["+a.ea()+"]");this.b={p:"ND",e:a.T()}}ga(){return a=>fc.Q(a)&&(9===a.nodeType||11===a.nodeType)&&this.g.ga()(a.firstChild)}toString(){return"document-node("+this.g.toString()+")"}} +class wc extends uc{constructor(a){super();this.Ic=a;od(this,a.code);this.b={p:a.code}}ga(){return a=>this.Ic.matches(a)}toString(){return"xs:"+this.Ic.name}}class Ec extends uc{constructor(){super();od(this,"A m[AO,AD,AF]");this.b={p:"A",m:[{p:"AO"},{p:"AD"},{p:"AF"}]}}ga(){return a=>/^A[ODF]/.test(a.code)}toString(){return"xs:numeric"}}var Dc;class Mc extends uc{ea(){return"E"}T(){return{p:"E"}}ga(){return()=>!1}toString(){return"xs:error"}}var Lc; +class xd extends uc{constructor(){super();this.g=[];this.ja=null}Cb(a){if(!(a instanceof xd))return yd.Rb;if(a instanceof Ic||a instanceof Kc)return yd.Fb;if(!(a instanceof md||a instanceof zd||a instanceof Ad))return yd.dc;if(this.g.length!==a.g.length)return yd.Rb;const b=function(A,P,q){return A.map((g,e)=>q(g,P[e]))}(this.g,a.g,yd.Hi),h=yd.Hi(this.ja,a.ja);return b.every(A=>A===yd.kb)&&h===yd.kb?yd.kb:b.every(A=>[yd.kb,yd.dc].includes(A)&&[yd.kb,yd.Fb].includes(h))?yd.Fb:b.every(A=>[yd.kb,yd.Fb].includes(A)&& +[yd.kb,yd.dc].includes(h))?yd.dc:yd.oh}lf(){return mc.pa}}class Gc extends xd{constructor(){super();od(this,"F");this.b={p:"F"}}ga(){return a=>a instanceof jd.XdmFunction||a instanceof id||a instanceof lc||a instanceof ld.Tf}Cb(a){return a instanceof Gc?yd.kb:/^F/.test(a.T().p)?yd.Fb:yd.Rb}toString(){return"function(*)"}}var Fc;function Bd(a,b){let h=[];b.forEach(A=>{h.push(a.g[A])});return new md(h,a.ja)} +class md extends xd{constructor(a,b){super();Aa.ba(b instanceof pc);Aa.ba(a.every(h=>h instanceof pc));this.g=a;this.ja=b;od(this,"F a["+a.map(h=>h.ea()).join(",")+"] r["+b.ea()+"]");nd(this,{p:"F",a:a.map(h=>h.T()),r:b.T()})}ga(){const a=this;return function(b){return b instanceof id?1===a.g.length&&2===a.g[0].ca&&b.conforms(a.g[0].K.ga(),a.ja.K.ga(),Cd(a.ja.ca)):b instanceof lc?1===a.g.length&&2===a.g[0].ca&&a.g[0].K instanceof wc&&b.conforms(()=>!0,a.ja.K.ga(),Cd(a.ja.ca)):b instanceof jd.XdmFunction? +(b=a.Cb(b.Dg()),[yd.kb,yd.Fb].includes(b)):!1}}lf(){return this.ja}toString(){return"(function("+this.g.map(a=>a.toString()).join(",")+") as "+this.ja.toString()+")"}}class Ic extends xd{constructor(){super();od(this,"FM");this.b={p:"FM"}}x(){return ad}U(){return mc.pa}ga(){return a=>a instanceof lc||a instanceof ld.Tf}toString(){return"map(*)"}}var Hc; +class zd extends xd{constructor(a,b){super();Aa.ba(a instanceof uc);Aa.ba(b instanceof pc);this.O=a;this.Sd=b;od(this,"FM k["+a.ea()+"] v["+b.ea()+"]");this.b={p:"FM",k:a.T(),v:b.T()}}ga(){return a=>a instanceof lc&&a.conforms(this.O.ga(),this.Sd.K.ga(),Cd(this.Sd.ca))}toString(){return"map("+this.O.toString()+","+this.Sd.toString()+")"}x(){return this.O}U(){return this.Sd}lf(){return this.Sd}} +class Kc extends xd{constructor(){super();od(this,"FA");this.b={p:"FA"}}ga(){return a=>a instanceof id}toString(){return"array(*)"}l(){return mc.pa}}var Jc;class Ad extends xd{constructor(a){super();Aa.ba(a instanceof pc);this.O=a;od(this,"FA v["+a.ea()+"]");this.b={p:"FA",v:a.T()}}ga(){return a=>a instanceof id&&a.value.every(b=>this.O.matches(b))}toString(){return"array("+this.O.toString()+")"}l(){return this.O}lf(){return this.O}} +class Dd extends uc{constructor(a,b){super();this.g=a;this.O=b;var h=a.T();const A=b.T();h=yb(h.p,A.p);od(this,h+" u["+a.ea()+","+b.ea()+"]");this.b={p:h,u:[a.T(),b.T()]}}ga(){const a=this.g.ga(),b=this.O.ga();return h=>a(h)||b(h)}x(){const a=this.g.x(),b=this.O.x();return new Dd(a,b)}l(){const a=this.g.l(),b=this.O.l(),h=a.ca;return h===b.ca?new pc(new Dd(a.K,b.K),h):mc.pa}} +class Ed extends uc{constructor(a,b){super();this.g=a;this.O=b;var h=a.T();const A=b.T();h=h.p.startsWith(A.p)?h.p:A.p.startsWith(h.p)?A.p:h.p.charAt(0)===A.p.charAt(0)?h.p.charAt(0):"";od(this,h+" i["+a.ea()+","+b.ea()+"]");this.b={p:h,i:[a.T(),b.T()]}}ga(){const a=this.g.ga(),b=this.O.ga();return h=>a(h)&&b(h)}} +class Fd extends uc{constructor(a,b){super();this.g=a;this.O=b;var h=a.T();const A=b.T();h=h.p.startsWith(A.p)?h.p:A.p.startsWith(h.p)?A.p:h.p.charAt(0)===A.p.charAt(0)?h.p.charAt(0):"";od(this,h+" d["+a.ea()+","+b.ea()+"]");this.b={p:h,d:[a.T(),b.T()]}}ga(){const a=this.g.ga(),b=this.O.ga();return h=>a(h)&&!b(h)}}const Gd={};function oc(a){var b=Gd[a];if(b)return b;b=wb(a);b=sc(b);return Gd[a]=b} +function sc(a){var b=a.p;if(""===b)return xc;if(a.u)return b=sc(a.u[0]),a.u.slice(1).reduce((h,A)=>new Dd(h,sc(A)),b);if(a.i)return b=sc(a.i[0]),a.i.slice(1).reduce((h,A)=>new Ed(h,sc(A)),b);if(a.d)return new Fd(sc(a.d[0]),sc(a.d[1]));switch(b.charAt(0)){case "A":if("Q{http://www.w3.org/2001/XMLSchema}numeric"===a.n)return Dc;if(a.m){a=a.m;if(3===a.length&&a.some(h=>"AO"===h.p)&&a.some(h=>"AD"===h.p)&&a.some(h=>"AF"===h.p))return Dc;Aa.fa("Unhandled atomic union type")}else return new wc(Sa.codes[b]); +break;case "F":switch(b){case "FA":return a.v?new Ad(rc(a.v)):Jc;case "FM":return a.k&&a.v?new zd(sc(a.k),rc(a.v)):Hc;default:return a.a?(b=a.a.map(rc),a=a.r?rc(a.r):mc.pa,new md(b,a)):Fc}case "N":if("N"===b)return zc;b={ND:9,NE:1,NA:2,NT:3,NC:8,NP:7,NN:13}[b];return a.n?(a=a.n,/\}\*$/.test(a)?new vd(b,a.substring(2,a.length-2)):/^\*:/.test(a)?new ud(b,a.substring(2)):new td(b,Sa.XS.QName.fromEQName(a))):a.e?(a=sc(a.e),new wd(a)):new Oc(b);case "E":return Lc}} +const Hd={IDREFS:"ASNTNCR",ENTITIES:"ASNTNCE",NMTOKENS:"ASNTK"},bd={};var ad,Vc,Wc,Xc,Yc,Zc,$c;var yd=function(){function a(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);const z=e.ea()+"<>"+l.ea(),v=g[z];if(v)return v;e=P(e,l);return g[z]=e}function b(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);switch(a(e,l)){case 0:case 1:return e;case 2:return l;case 3:case 4:return e=e.T(),l=l.T(),sc({p:yb(e.p,l.p),u:[e,l]})}}function h(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);switch(a(e,l)){case 0:case 1:return l;case 2:return e;case 3:return e=e.T(),l=l.T(),sc({p:e.p.startsWith(l.p)? +e.p:l.p.startsWith(e.p)?l.p:e.p.charAt(0)===l.p.charAt(0)?e.p.charAt(0):"",i:[e,l]});case 4:return Lc}}function A(e,l){return 0===e&&0===l?0:0!==e&&1!==e||0!==l&&1!==l?0!==e&&2!==e||0!==l&&2!==l?4===e||4===l?4:3:2:1}function P(e,l){function z(r,c){return(r||"")===(c||"")?0:r&&!c?2:c&&!r?1:4}function v(r){return 1===r?2:2===r?1:r}function G(r){return r.n||r.e||r.u||r.i||r.d}var p=e.T();const f=l.T(),I=e.ea(),D=l.ea();if("F"===p.p){if(!(e instanceof xd&&l instanceof xd))return 3;Aa.ba(e.Cb);return e.Cb(l)}if(I=== +D)return 0;if(e instanceof Mc)return 2;if(l instanceof Mc)return 1;if(qd(e))return qd(l)?0:/^A[ODF]/.test(f.p)?1:"A"===f.p||""===f.p?2:4;if(qd(l))return v(P(l,e));if(p.p===f.p){if(pd(e))return p.u&&f.u?3:p.e&&f.e?z(p.e,f.e):p.n&&f.n?z(p.n,f.n):G(p)&&G(f)?4:G(p)&&!G(f)?2:G(f)&&!G(p)?1:0;if(e.ka())return 0;if("FA"===p.p)return e=e.l?e.l():mc.pa,l=l.l?l.l():mc.pa,q(e,l);if("FM"===p.p)return p=a(e.x(),l.x()),l=q(e.U(),l.U()),A(p,l);if(!(e instanceof xd&&l instanceof xd))return 3;Aa.ba(e.Cb);return e.Cb(l)}return p.p.startsWith(f.p)? +p.u?3:2:f.p.startsWith(p.p)?p.u?3:1:4}function q(e,l){Aa.ba(e instanceof pc);Aa.ba(l instanceof pc);var z=e.ca;var v=l.ca;z=z===v?yd.kb:(z|v)===z?yd.Fb:(z|v)===v?yd.dc:0===(z|v)?yd.Rb:yd.oh;e=a(e.K,l.K);return A(z,e)}const g={};return{kb:0,Fb:1,dc:2,oh:3,Rb:4,Cb:a,Wj:function(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);e=a(e,l);return 0===e||2===e},Pk:b,Ed:function(e){Aa.ba(0b(l,z),e[0])},Kj:function(e){Aa.ba(0h(l,z),e[0])},Hi:q}}();function hd(a){return 0!==(a&4)}function fd(a){return 0!==(a&1)}function Id(a){let b=0;a.forEach(h=>b|=h);5===b&&(b=7);return b}function qc(a){return{0:1,1:2,"?":3,"+":6,"*":7}[a]}function Jd(a,b){return(fd(a)&&fd(b)?1:0)+(1!==a||1!==b?2:0)+(1===a&&!hd(b)||1===b&&!hd(a)?0:4)}function Kd(a){switch(a){case "1":return b=>1===b;case "0":return b=>0===b;case "?":return b=>2>b;case "+":return b=>0!0}} +function Cd(a){switch(a){case 1:return b=>0===b;case 2:return b=>1===b;case 4:return b=>12>b;case 6:return b=>0!0}}function gd(a){switch(a){case 3:return"?";case 2:return"";case 7:return"*";case 6:return"+";case 4:return"+";case 1:return"0";default:return"*"}};function Ld(a,b,h){a=a.expand();b=b.expand();a=Pb(a);b=Pb(b);let A,P;for(;;){A=a.next();P=b.next();if(null===A)return null===P;if(null===P||!Md(A,P,h))return!1}} +function Md(a,b,h){var A=fc.va;if(a===b)return!0;if(fc.Q(a)){if(!fc.Q(b)||!fc.Vj(a.nodeType,b.nodeType))return!1;switch(a.nodeType){case 9:case 11:return Ld(A.wa(a),A.wa(b));case 1:if(!fc.X(a).equals(fc.X(b)))return!1;const P=A.attribute(a).expand();if(P.length!==A.attribute(b).count())return!1;for(let q=0;qB;case ">":case "gt":return 0=":case "ge":return 0<=B;case "<=":case "le":return 0>=B;case "!=":case "ne":return 0!==B;default:throw new J("Unknown operator "+E,"SXJS0003");}}function c(E,B){return E.map(function(L){var H=B.fixed.evaluator;L=H.$(L,"dataType");H=null===L?null:H.evaluate(L,B).next();return"number"===H?function(S){return null===S?null:x.double.hf(S.toString())}:"text"===H?function(S){return null===S?null:x.string.I(S)}:function(S){return S}})} +function d(E,B){return E.substring(0,B.length)===B}function n(E,B){return E.substring(E.length-B.length)===B}function m(E,B){return B&&(B=B.next())?B.toString():E.collation||ld.getInheritedProperty(E,"defaultCollation")}function u(E,B){B=E?d(E,"http://www.w3.org/2013/collation/UCA")&&36K(M)?C&&Z(aa)?x.numeric.Fd(M):K(aa)?x.string.I(M):Z(aa)?x.double.I(M):"AQ"===aa.code?Sa.XS.QName.I(M,ld.stylesheetResolver(S,!1)):Sa.codes[aa.code].I(M):M,V="="===L?H.equals:"!="===L?(M,aa)=>!H.equals(M,aa):(M,aa)=>r(L,H.compare(M,aa));let ha;for(var w;null!==(ha=E.next());){const M=Pb(B);for(;null!==(w=M.next());){const aa=X(ha,w);w=X(w,ha);if(!(Z(aa)&&isNaN(aa.value)||Z(w)&&isNaN(w.value))&&V(aa,w))return bc(!0)}}return bc(!1)},Bj:function(E){return{equals:function(B, +L){const H=x.numeric.matches;return H(B)||H(L)?x.numeric.Fd(B).toNumber()===x.numeric.Fd(L).toNumber():E.equals(B,L)},compare:E.compare}},jf:function(E,B,L){return u(m(E,B),L)},Bg:u,Kb:function(E,B,L,H){B=m(E,B);H=u(B,H)[L];if(!H)throw new J("Collation "+B+" has no "+L+" method","FOCH0002",E);return H},Dj:c,Fg:"http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive",itemIsNaN:A,zk:f,Ak:function(E){const B=ld.Fa(E),L=ld.db(E,"sortKey");return H=>{const S=Xb(B(H)),C=[],Z=L.map(w=> +I(w,H)),K=L.map(ld.Fa),X=c(L,H),V=H.newContext(!1);V.tempOutputState="sort key";V.focus=S;let ha=0;S.forEachItem(function(w){const M=L.map(function(aa,ja){return X[ja](K[ja](V).next())});C.push({item:w,keys:M,Hd:ha++})});C.sort(function(w,M){for(let ja=0;jaM.Hd?1:w.Hd===M.Hd?0:-1});return Pb(C.map(w=>w.item))}},Af:r,Oi:function(E, +B){switch(E){case "=":case "eq":return B;case "!=":case "ne":return!B;case "<":case "lt":case ">":case "gt":case ">=":case "ge":case "<=":case "le":throw new J("Operator "+E+" not allowed for unordered types","SXJS0003");default:throw new J("Unknown operator "+E,"SXJS0003");}},Ef:function(E,B){function L(K){return Oa(K)?S(K.matchKey()):K.matchKey()}const H=new lc,S=E.collationKey;if(!S)throw new J("Collation is unsuitable for keys and grouping","XTDE1110");const C={Fc:function(K,X){return Ld(Pb(K), +Pb(X),E.equals)},hash:function(K){return K.map(L).join()}},Z={Fc:function(K,X){return L(K)===L(X)},hash:function(K){return L(K)}};H.la=B?C:Z;return H},Ck:"http://www.w3.org/2013/collation/UCA",Ui:"http://www.w3.org/xslts/collation/caseblind"}}();var Pd=function(){var a={};return{register:function(b,h){a[b]=h},find:function(b){return a[b]},Xl:a}}();var Qd=function(){function a(b){const h=fc.va,A={"p.any":function(){return function(){return!0}},"p.never":function(){return function(){return!1}},"p.booleanExp":function(P){const q=ld.Fa(P);return function(g,e){e=e.newContext();e.focus=Wb(g);return ld.wd(q(e))}},"p.genNode":function(P){const q=ld.Fa(P);let g;if("slash"===P.C[0].N){P=ld.oj(P.C[0]);let e=P.C[0];for(;["filter","subscript"].includes(e.N);)e=e.C[0];"axis"===e.N&&"child"===e.name&&(e.name="self",g=ld.elaborate(P))}return function(e,l){if(!fc.Q(e))return!1; +const z=fc.va.Ka(e);let v;for(var G;;){v=z.next();if(null==v)return!fc.nf(G)&&g?(l=l.newContext(!1),l.focus=Wb(G),l.regexGroups=[],g(l).some(p=>fc.isSameNode(p,e))):!1;G=l.newContext(!1);G.focus=Wb(v);G.regexGroups=[];if(q(G).some(p=>fc.isSameNode(p,e)))return!0;G=v}}},"p.genPos":function(P){const q=oc(P.test).ga(),g=ld.Fa(P);return function(e,l){if(!q(e))return!1;const z=l.fixed.evaluator;l=l.newContext(!1);var v=h.wa(fc.Oa(e)).filter(q);l.focus=Xb(v);for(l.regexGroups=[];null!=(v=l.focus.next());)if(v=== +e&&z.wd(g(l)))return!0;return!1}},"p.nodeSet":function(P){const q=ld.Fa(P);return function(g,e){return q(e).some(l=>l===g)}},"p.nodeTest":function(P){return oc(P.test).ga()},"p.simPos":function(P){const q=oc(P.test).ga(),g=parseInt(P.pos,10);return function(e){return q(e)&&h.Dc(e).filter(q).count()===g-1}},"p.venn":function(P){var q=P.C,g=a(q[0]),e=a(q[1]);P=P.op;switch(P){case "union":return function(l,z){return g(l,z)||e(l,z)};case "intersect":return function(l,z){return g(l,z)&&e(l,z)};case "except":return function(l, +z){return g(l,z)&&!e(l,z)};default:throw new J("unknown op "+P,"SXJS0003");}},"p.withCurrent":function(P){const q=a(P.C[0]);return function(g,e){e=e.newContext(!0);e.localVars[0]=[g];return q(g,e)}},"p.withPredicate":function(P){P=P.C;const q=a(P[0]),g=ld.elaborate(P[1]);return function(e,l){if(!q(e,l))return!1;l=l.newContext(!1);l.focus=Wb(e);l.regexGroups=[];return ld.wd(g(l))}},"p.withUpper":function(P){const q=P.C,g=a(q[0]),e=a(q[1]),l=P.axis;return"parent"===l?"true"===P.upFirst?function(z,v){const G= +fc.Oa(z);return G&&e(G,v)&&g(z,v)}:function(z,v){const G=fc.Oa(z);return G&&g(z,v)&&e(G,v)}:function(z,v){if(!g(z,v))return!1;z=fc.Ch[l](z);let G;for(;null!==(G=z.next());)if(e(G,v))return!0;return!1}}}[b.N];if(A)return A(b);throw new J("Unimplemented pattern "+b.N,"SXJS0002");}return{Zc:a,matches:function(b,h,A){A.pushCurrentOutputURI(null);b=b(h,A);A.popCurrentOutputURI();return b}}}();var Rd=function(){function a(A,P,q,g){function e(n){for(var m=[],u=n.length-1;0<=u;u--)m.push({Id:n[u],Xa:n[u].C[1],ve:Qd.Zc(n[u].C[0])});return m}function l(n){n._saxonAccumulators||(n._saxonAccumulators={});n._saxonAccumulators[q]={};var m=z(D,n);m&&(d=G(m,n));n._saxonAccumulators[q].pre=d;h.wa(n).forEachItem(l);(m=z(r,n))&&(d=G(m,n));n._saxonAccumulators[q].post=d}function z(n,m){for(var u=0,Q=n.length;uI.indexOf(v[0].value))throw new J("Invalid value "+D+"="+v[0],"FOJS0005");return v[0].value}throw new J("Invalid option: "+G+": must be "+p,"XPTY0004");}return f}function b(v, +G){function p(u){throw new J(u,"FOJS0001");}function f(){return m=I()}function I(){for(m="";;){if(n>=v.length)return["eof"];var u=v.charAt(n++);if(!/[ \n\r\t]/.test(u))break}switch(u){case "[":case "{":case "]":case "}":case ":":case ",":return[u];case '"':for(u=!1;;){const Q=v.charAt(n++);if('"'!==Q||u)m+=Q,u="\\"===Q&&!u;else return["string",m];n>=v.length&&p("Unclosed quotes in string literal")}case "-":case "0":case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":for(m+= +u;n=u){if(m+=u,++n>=v.length)break}else break;if(["true","false","null"].includes(m))return[m];p("Unknown constant "+m);break;default:return p("Unexpected character '"+u+"' ("+Ia(u)+") at position "+n),-1}}function D(u){m[0]!==u&&p("Expected "+u+", found "+ +m[0])}function r(u){return m[0]===u?(f(),!0):!1}function c(u){return m[0]===u?(f(),!0):","===m[0]?(f(),!1):p("Expected ',' or '"+u+"', found '"+m[0]+"'")}function d(){switch(m[0]){case "[":f();G.Mi();if(!r("]")){do d();while(!c("]"))}G.Sh();break;case "{":f();G.Ni();if(!r("}")){do D("string"),G.Oh(m[1]),f(),D(":"),f(),d();while(!c("}"))}G.Th();break;case "string":G.Rh(m[1]);f();break;case "number":G.Qh(m[1]);f();break;case "true":case "false":G.Nh(m[0]);f();break;case "null":G.Ph();f();break;default:p("Unexpected token "+ +m[0])}}v=v.replace(/^[\uFEFF]/,"");let n=0,m=null;m=f();d();D("eof");return G.jd()}function h(v){try{return JSON.parse('"'+v+'"')}catch(G){throw new J(G.toString(),"FOJS0001");}}function A(v,G){const p=G.lb,f=G.td;let I;I=f?D=>f.evaluate([[Sa.XS.string.fromString(P(D))]],p).next().toString():()=>"\ufffd";v=v.replace(/[\x00-\x08\x0B\x0C\x0E-\x0F\x80-\x9F\uFFFF]/g,I);return v=v.replace(/[\uD800-\uDFFF]+/g,D=>{let r="";for(let c=0;cd||c===D.length- +1&&"\udc00">d?I(d):d}return r})}function P(v){for(v=v.charCodeAt(0).toString(16);4>v.length;)v="0"+v;return"\\u"+v.toUpperCase()}function q(v,G){this.b=[];this.x=[];this.lb=G;a(v,"liberal","boolean",!1);this.td=a(v,"fallback","function",null);this.l=a(v,"escape","boolean",!1);this.z=a(v,"duplicates","string","use-first",["reject","use-first","use-last"]);if(this.l&&this.td)throw new J("parse-json: cannot use fallback with escape:true()","FOJS0005");}function g(v,G){this.b=[];this.z=[];this.x=[];this.lb= +G;a(v,"liberal","boolean",!1);if(a(v,"validate","boolean",!1))throw new J("json-to-xml: validate option not supported in a non-schema-aware processor","FOJS0004");this.td=a(v,"fallback","function",null);this.l=a(v,"escape","boolean",!1);this.U=a(v,"duplicates","string","use-first",["reject","use-first","retain"]);if(this.l&&this.td)throw new J("json-to-xml: cannot use fallback with escape:true()","FOJS0005");}const e=dc.za,l=Sa.XS,z=fc.va;q.prototype={b:[],x:[],lb:null,l:!1,td:null,z:"use-first", +U:function(v){return this.l?JSON.stringify(v).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,P):A(v,this)},ma:function(){return this.b[this.b.length-1]},g:function(v){if(0===this.b.length)this.b.push(v);else if(this.ma()instanceof id)this.ma().value.push(v);else{const G=this.ma(),p=l.string.fromString(this.x.pop());if(G.containsKey(p))switch(this.z){case "reject":throw new J("json-to-xml: duplicate key '"+p.toString()+"'","FOJS0003");case "use-first":return}G.inSituPut(p,v)}}, +Ph:function(){this.g([])},Nh:function(v){this.g([l.boolean.fromString(v)])},Qh:function(v){this.g([l.double.fromNumber(parseFloat(v))])},Rh:function(v){this.g([l.string.fromString(this.U(h(v)))])},Oh:function(v){this.x.push(this.U(h(v)))},Mi:function(){this.b.push(new id([]))},Sh:function(){this.g([this.b.pop()])},Ni:function(){this.b.push(new lc)},Th:function(){this.g([this.b.pop()])},jd:function(){return void 0!==this.ma()[0]?this.ma()[0]:null}};g.prototype={b:[],z:[{}],x:[],lb:null,td:null,l:!1, +U:"use-first",O:function(v){return this.l?JSON.stringify(v).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,P):A(v,this)},ma:function(){return this.b[this.b.length-1]},g:function(v){if(0===this.b.length)v.setAttribute("xmlns",e),this.b.push(v);else{const G=this.ma();if("map"===G.tagName){const p=this.z.pop(),f=this.x[this.x.length-1];if(p in f)switch(this.U){case "reject":throw new J("parse-json: duplicate key '"+p.toString()+"'","FOJS0003");case "use-first":return}f[p]=v;v.setAttribute("key", +p);this.l&&/\\/.test(p.toString())&&v.setAttribute("escaped-key","true")}G.appendChild(v)}},Ph:function(){const v=this.lb.resultDocument.createElementNS(e,"null");this.g(v)},Nh:function(v){const G=this.lb.resultDocument.createElementNS(e,"boolean");v=this.lb.resultDocument.createTextNode(v.toString());G.appendChild(v);this.g(G)},Qh:function(v){const G=this.lb.resultDocument.createElementNS(e,"number");v=this.lb.resultDocument.createTextNode(v.toString());G.appendChild(v);this.g(G)},Rh:function(v){const G= +this.lb.resultDocument.createElementNS(e,"string");if(""!==v){v=this.O(h(v));const p=this.lb.resultDocument.createTextNode(v);this.l&&/\\/.test(v)&&G.setAttribute("escaped","true");G.appendChild(p)}this.g(G)},Oh:function(v){this.z.push(this.O(h(v)))},Mi:function(){const v=this.lb.resultDocument.createElementNS(e,"array");this.b.push(v)},Sh:function(){this.g(this.b.pop())},Ni:function(){const v=this.lb.resultDocument.createElementNS(e,"map");this.b.push(v);this.x.push({})},Th:function(){this.x.pop(); +this.g(this.b.pop())},jd:function(){return this.ma()}};return{Gd:function(v,G,p){return b(v,new q(G,p))},mk:function(v,G,p){return b(v,new g(G,p))},Fk:function(v,G){function p(m){throw new J("Invalid input to xml-to-json(): "+m,"FOJS0006");}function f(m){0!==d.wc(m).length&&p("node "+m.tagName+" must have no element children")}function I(m){z.wa(m).filter(function(u){return(3===u.nodeType||4===u.nodeType)&&u.nodeValue&&""!==Ma.trim(u.nodeValue)}).next()&&p("node "+m.tagName+" must have no text content")} +function D(m){try{return l.boolean.fromString(m).toBoolean()}catch(u){p("invalid boolean: '"+m+"'")}}function r(m){try{JSON.parse('"'+m+'"')}catch(u){throw new J("invalid escape sequence: "+u.toString(),"FOJS0007");}}function c(m,u=0){const Q=0===u,ma=n?" ".repeat(3*u):"";if(9===m.nodeType||11===m.nodeType){var na=d.wc(m);1!==na.length&&p("document node has "+na.length+" element children");return c(na[0],u)}if(1===m.nodeType){let O=!1;if(m.namespaceURI===e){let ca=null!==d.Oa(m)&&"map"===d.Oa(m).localName; +z.attribute(m).forEachItem(function(x){if(0>x.name.indexOf(":")||x.namespaceURI===e)"key"===x.name||"escaped-key"===x.name?"escaped-key"===x.name?(ca||Q||p("@escaped-key is allowed only on children of map, or on root element"),D(x.value)&&r(m.getAttribute("key"))):ca||Q||p("@key is allowed only on children of map, or on root element"):"escaped"===x.name?("string"!==m.localName&&p("@escaped is allowed only on string"),O=D(x.value)):p("invalid attribute "+x.name)});switch(m.localName){case "null":return z.wa(m).filter(function(S){return 8!== +S.nodeType&&7!==S.nodeType}).next()&&p("null element must have no content"),"null";case "string":f(m);na=m.textContent;if(O)na=na.replace(/^"/g,'\\"').replace(/^[\b]/g,"\\b").replace(/^\f/g,"\\f").replace(/^\n/g,"\\n").replace(/^\r/g,"\\r").replace(/^\t/g,"\\t").replace(/^\//g,"\\/").replace(/([^\\])"/g,'$1\\"').replace(/([^\\])[\b]/g,"$1\\b").replace(/([^\\])\f/g,"$1\\f").replace(/([^\\])\n/g,"$1\\n").replace(/([^\\])\r/g,"$1\\r").replace(/([^\\])\t/g,"$1\\t").replace(/([^\\])\//g,"$1\\/").replace(/[\u0001-\u001F\u007F-\u009F]/g, +P),r(na);else return JSON.stringify(na).replace(/\//g,"\\/");return'"'+na+'"';case "number":f(m);try{na=l.double.fromString(m.textContent)}catch(S){p("invalid number")}isFinite(na.toNumber())||p("NaN and INF not allowed");return na.toString();case "boolean":return f(m),D(m.textContent),l.boolean.fromString(m.textContent).toString();case "array":I(m);let x=n?"[\n":"[",E=n?ma:"";d.wc(m).forEach(function(S){x+=E+c(S,u+1);E=n?`,\n${ma}`:","});return x+"]";case "map":I(m);let B=n?"{\n":"{",L=n?ma:"";const H= +{};d.wc(m).forEach(function(S){null!=S.attributes.getNamedItem("key")||p("child element of map must have a key");const C=d.getAttribute(S,"key");let Z=C;const K=d.getAttribute(S,"escaped-key");let X=!1;K&&D(K)&&(X=!0,Z=h(C));H[Z]&&p("duplicate key '"+C+"'");H[Z]=!0;B+=L+(X?'"'+C+'"':JSON.stringify(C).replace(/\//g,"\\/"))+":"+c(S,u+1);L=n?`,\n${ma}`:","});return n?B+`\n${0{hc(P,g.q,g.toString(),q.value)});for(let q in h)h.hasOwnProperty(q)&&(a=h[q],""===q?hc(P,"http://www.w3.org/2000/xmlns/","xmlns",a):hc(P,"http://www.w3.org/2000/xmlns/","xmlns:"+q,a))}endElement(){0===--this.g?this.ec=null:this.ec=this.ec.parentNode;this.l=null}text(a){this.l?this.l.appendData(a):(a=this.Rc.createTextNode(a),Xd(this,a),0de(a,h));else{if(b instanceof jd.XdmFunction)throw new J("Cannot add a function item to an XDM node tree","SENR0001");if(b instanceof lc)throw new J("Cannot add a map to an XDM node tree","SENR0001");ee.Di(b,a);a.g=!1}} +class fe extends Wd{constructor(a){super();this.b=a;this.g=this.x=this.l=!1}startDoc(a={}){ce(this,a);this.l=!1}endDoc(){this.g=!1;this.b.endDoc()}startElement(a,b,h,A={}){ce(this,A);this.b.startElement(a,b,h,A)}endElement(){this.b.endElement();this.g=!1}text(a,b={}){ce(this,b);super.text(a,b);this.g=!1}comment(a,b={}){ce(this,b);super.comment(a,b);this.g=!1}pi(a,b,h={}){ce(this,h);super.pi(a,b,h);this.g=!1}append(a,b={}){ce(this,b);de(this,a)}close(){this.l&&this.endDoc();super.close()}} +function ge(a,b={}){a.l||(a.b.startDoc(b),a.l=!0,a.g=!0);a.x||a.b.append(a.z,{});a.x=!1} +class he extends Wd{constructor(a,b){super();this.b=a;this.l=this.g=!1;this.x=!0;this.z=Sa.XS.string.fromString(b)}startDoc(a={}){ge(this,a);this.g=!1}endDoc(){this.b.endDoc()}startElement(a,b,h,A={}){ge(this,A);this.b.startElement(a,b,h,A)}endElement(){this.b.endElement()}text(a,b={}){ge(this,b);super.text(a,b)}comment(a,b={}){ge(this,b);super.comment(a,b)}pi(a,b,h={}){ge(this,h);super.pi(a,b,h)}append(a,b={}){if(ld.isArray(a))a.flatten(h=>this.append(h,b));else{if(a instanceof jd.XdmFunction)throw new J("Cannot add a function item to an XDM node tree", +"SENR0001");if(a instanceof lc)throw new J("Cannot add a map to an XDM node tree","SENR0001");Sa.ka(a)?(ge(this,b),this.b.append(a,b)):(ge(this,b),ee.Di(a,this))}}close(){this.g&&this.endDoc();super.close()}}function ie(a,b){return a.b.findIndex(h=>h.equals(b))}class je{constructor(){this.b=[];this.g=[]}get(a){a=ie(this,a);return 0>a?void 0:this.g[a]}set(a,b){const h=ie(this,a);0<=h?this.g[h]=b:(this.b.push(a),this.g.push(b))}forEach(a){for(let b=0;bc.append(d))}}return I}}function b(f){let I=f.N;f.parentNode&&(I=b(f.parentNode)+"/"+I);return I}function h(f){if(f.C){const I=f.C.map(a);return function(D,r){I.forEach(c=>c(D,r))}}return()=>{}}function A(f,I,D,r,c,d){if(fc.Q(f))switch(f.nodeType){case 9:case 11:D.cb=fc.Za(f);q(f,D,c,d);break;case 1:if(null!=f.attributes.getNamedItem("xml:base")){const n= +f.getAttribute("xml:base");D.cb=fc.Wc(n)?n:ya.resolveUri(n.toString(),ld.staticBaseUri(r,I)).toString()}else D.cb=fc.Za(f);q(f,D,c,d);break;case 3:case 4:D.text(f.nodeValue);break;case 7:D.pi(f.target,f.data);break;case 8:D.comment(f.textContent);break;default:D.append(f)}else D.append(f)}function P(f,I,D){switch(f.nodeType){case 9:case 11:I.startDoc(D?{BASE_URI:D}:{});f=f.childNodes;for(D=0;Dn||D.index===n&&c)&&r.push({Ac:!1,string:d(f.substring(n,D.index))}),r.push({Ac:!0,groups:D,string:d(D[0])}),n=I.lastIndex,0===D[0].length&&I.lastIndex++,m++>10*f.length)throw new J("analyze-string looping???","SXJS0004");f.length>n&&r.push({Ac:!1,string:d(f.substring(n,f.length))}); +return r}function z(f){const I="compAtt"===f.N,D=ld.elaborate(ld.$(f,"name")),r=ld.elaborate(ld.$(f,"namespace"));return c=>{function d(){throw new J((I?"Attribute":"Element")+" name '"+n+"' is not a lexical QName",I?"XTDE0850":"XTDE0820",f);}let n=Ma.trim(D(c).next().toString());if(r){c=(c=r(c).next())?c.value:"";if(!ld.Ek(c))throw new J((I?"Attribute":"Element")+" namespace '"+c+"' is invalid",I?"XTDE0865":"XTDE0835",f);var m=Sa.XS.QName;if(""===c&&n.includes(":"))m=m.fromParts("","",n.replace(/^.*:/, +""));else if(n.includes(":")){const u=n.split(":");""!==u[0]&&""!==u[1]||d();m=m.fromParts(u[0],c,u[1])}else m=""===c?m.fromParts("","",n):m.fromParts(I?"ns0":"",c,n)}else{if(I&&"xmlns"===n)throw new J("Attribute must not be named xmlns","XTDE0855",f);try{m=ld.Ug(f,n,!I)}catch(u){if(u instanceof J){if("XTDE0290"===u.code)throw new J((I?"Attribute":"Element")+" name '"+n+"' has an unbound prefix",I?"XTDE0860":"XTDE0830",f);"FORG0001"===u.code&&d()}throw u;}}if("http://www.w3.org/2000/xmlns/"===m.q)throw new J("Disallowed namespace "+ +m.q,I?"XTDE0865":"XTDE0835",f);return m}}class v{constructor(){}startDoc(){}endDoc(){}startElement(){}attribute(){}namespace(){}endElement(){}text(){}comment(){}pi(){}append(){}close(){}}class G extends v{constructor(f){super();this.g=f;this.O=[];this.ub=[];this.cb=null;this.b=0;this.Ra=this.x=null;this.z={};this.Ea=null;this.l=this.ia=!1;this.qa={};this.Bc=null}na(f,I,D){var r=this.z[f];if(r&&r!==I)if("ns"===D){if(this.qa[f])throw new J("Two conflicting bindings for prefix '"+f+"'","XTDE0430");if(this.x.prefix=== +f){for(r=f+"_9";this.z[r];)r+="9";this.x=Sa.XS.QName.fromParts(r,this.x.q,this.x.local);this.z[r]=this.x.q}this.z[f]=I}else return""===f&&(f="NULL"),this.na(f+"0",I,D);"ns"===D&&(this.qa[f]=I);if("elem"===D&&""===I)for(r=this.O.length-1;0<=r;r--)if(""===this.O[r][0]){this.z[""]="";break}if(""!==f||""!==I){r=!1;for(let c=this.O.length-1;0<=c;c--){const d=this.O[c];if(d[0]===f){d[1]===I&&(r=!0);break}}if(!r){if(this.qa[f]&&this.qa[f]!==I)return this.na(f+"0",I,D);this.z[f]=I}}return f}startDoc(){0=== +this.b&&(this.g.startDoc({BASE_URI:this.cb,ORIGINAL_NODE:this.Bc}),this.O=[]);this.U();this.b++;this.l=this.ia=!1}endDoc(){this.b--;0===this.b&&this.g.endDoc();this.l=!1}startElement(f){this.U();this.b++;this.ia=!0;this.x=f;this.Ra=new je;this.z={};this.qa={};this.na(f.prefix,f.q,"elem");this.Ea=this.Bc;this.l=!1}attribute(f,I){if(0===this.b)this.g.append(new ec(f,I,null));else{if(!this.ia){if(this.x)throw new J("Cannot write attribute ("+f.toEQName()+"="+I+") after writing child nodes (level="+this.b+ +", start tag = "+this.x+")","XTDE0410");throw new J("Cannot attach an attribute ("+f.toEQName()+"="+I+") to a document node","XTDE0420");}if(""!==f.q){["","xmlns"].includes(f.prefix)&&(f=f.withPrefix("ns_"));const D=this.na(f.prefix,f.q,"att");D!==f.prefix&&(f=f.withPrefix(D))}this.Ra.set(f,{value:I,Wa:0})}}namespace(f,I){if(0===this.b)this.g.append(new gc(f,I));else{if(!this.ia)throw new J("Cannot write namespace after writing child nodes","XTDE0410");if(""===f&&""===this.x.q)throw new J("Cannot add default namespace declaration to a no-namespace element", +"XTDE0440");this.na(f,I,"ns")}}endElement(){this.U();this.g.endElement();this.b--;let f=this.ub.pop();for(;0this.append(I));break;default:this.U(),q(f,this,!0,!1)}this.l=!1}else if(0===this.b)this.g.append(f,{}),this.l=!1;else if(Sa.ka(f))this.U(),this.text((this.l?" ":"")+f.toString(),{}),this.l=!0;else if(ld.isArray(f)){f=f.value;for(let I=0;I{try{let u=I(n).next();if(null===u)return Tb;u=u.toString();const Q=D(n).next().toString(), +ma=r(n).next().toString(),na=l(u,Q,ma,!0,!1),O=n.newContext(!1),ca=na.map(x=>x.string);O.focus=Xb(Pb(ca));O.focus.forEachItem(()=>{const x=na[O.focus.position-1];x.Ac?c&&(O.regexGroups=x.groups,c(O,m)):d&&(O.regexGroups=[],d(O,m))})}catch(u){if(u instanceof J&&"FORX0002"===u.code)throw new J(u.message,"XTDE1140");if(u instanceof J&&"FORX0001"===u.code)throw new J(u.message,"XTDE1145");throw u;}}},applyImports:function(f){return function(I,D){const r=I.currentMode.mode;if(!r)throw new J("applyImports: no current mode", +"XTDE0560",f);I.failIfNoCurrentFocus("XTDE0560","xsl:apply-imports",f);const c=I.newContext(!0);c.currentComponent=I.currentMode;ld.Ze(f,I,c);c.focus=I.focus;return r.ij(c,D)}},applyT:function(f){const I=ld.Fa(f),D=ld.elaborate(ld.$(f,"separator"));return function(r,c){let d;const n=r.newContext(!0);if(ld.qb(f,"c"))d=r.currentMode.mode,["function","globalVariable","globalParam"].includes(r.currentComponent.actor.N)&&(d=ld.fe(f,r).Ri),n.currentComponent=r.currentMode;else{var m=ld.Eg(f,r,"mode");d= +m.mode;if(d.ti)throw new J("Mode "+d.Ve.name+" only handles typed nodes","XTTE3100",f);n.currentComponent=m}ld.Ze(f,r,n);m=D?D(r).next():null;n.focus=Xb(I(r));n.focus.regexGroups=r.focus?r.focus.regexGroups:null;d.xb(n,c,m)}},att:function(f){const I=f.name,D=I.split(":");let r;r=f.nsuri?2===D.length?Sa.XS.QName.fromParts(D[0],f.nsuri,D[1]):Sa.XS.QName.fromParts("",f.nsuri,I):Sa.XS.QName.fromString(I,ld.stylesheetResolver(f,!1));const c=ld.Fa(f);return function(d,n){d=g(c(d));n.attribute(r,d)}},"break":function(f){const I= +h(f);return function(D,r){I(D,r);D.focus.position=-999}},callT:function(f){return function(I,D){const r=ld.Eg(f,I,"template"),c=I.newContext(!0);c.currentMergeGroup=null;c.currentComponent=r;ld.og(r.actor,c);ld.Ze(f,I,c);I=r.actor;I.C&&h(I)(c,D)}},choose:function(f){f=f.C;const I=[],D=[];for(let r=0;r +I(D,r),r)}},copyOf:function(f){const I=ld.qb(f,"c"),D=ld.qb(f,"m"),r=ld.Fa(f);h(f);return function(c,d){r(c).forEachItem(n=>A(n,c,d,f,I,D))}},doc:function(f){const I=h(f);return function(D,r){r.cb=ld.staticBaseUri(f,D);r.startDoc();I(D,r);r.endDoc()}},elem:function(f){const I=f.name,D=I.split(":"),r=h(f);let c;c="undefined"!==typeof f.nsuri?2===D.length?Sa.XS.QName.fromParts(D[0],f.nsuri,D[1]):Sa.XS.QName.fromParts("",f.nsuri,I):Sa.XS.QName.fromString(I,ld.stylesheetResolver(f,!0));return function(d, +n){f.baseUri&&(n.cb=f.baseUri);n.startElement(c);if(f.namespaces){const u=f.namespaces.toString().split(" ");for(let Q=0;Q{m?m=!1:d.text(u.value,{});D(n,d)})}else n.focus.forEachItem(()=>D(n,d))}},forEachGroup:function(f){const I=ld.elaborate(ld.$(f,"select")),D=ee.elaborateForPush(ld.$(f,"content"));return(r,c)=>{function d(O){const ca=[];n.forEachItem(function(x){O(ca,x)});return ca}const n=Xb(I(r)),m=r.newContext(!1);m.focus=n;var u={starting:function(){const O=Qd.Zc(ld.$(f,"match"));return d(function(ca, +x){1===n.position||Qd.matches(O,x,m)?ca.push({pb:[x]}):ca[ca.length-1].pb.push(x)})},ending:function(){const O=Qd.Zc(ld.$(f,"match"));let ca=!1;return d(function(x,E){1===n.position||ca?x.push({pb:[E]}):x[x.length-1].pb.push(E);ca=Qd.matches(O,E,m)})},adjacent:function(){var O=ld.$(f,"collation");O=O?ld.evaluate(O,r).next().toString():Nd.Nc;const ca=Nd.Bg(O,r),x=ld.$(f,"key");let E=null;return d(function(B,L){var H=ld.evaluate(x,m).expand();1!==n.position&&Ld(Pb(H),Pb(E),ca.equals)?B[B.length-1].pb.push(L): +(B.push({pb:[L],Mb:H}),E=H)})},by:function(){var O=ld.$(f,"collation");O=O?ld.evaluate(O,r).next().toString():Nd.Nc;O=Nd.Bg(O,r);const ca=Nd.Ef(O,!1),x=ld.$(f,"key");return d(function(E,B){let L,H=[];ld.evaluate(x,m).forEachItem(function(S){ca.containsKey(S)?(L=ca.get(S),0>H.findIndex(function(C){return C===L})&&(E[L].pb.push(B),H.push(L))):(L=E.length,E.push({pb:[B],Mb:[S]}),ca.inSituPut(S,L),H.push(L))})})},by_c:function(){var O=ld.$(f,"collation");O=O?ld.evaluate(O,r).next().toString():Nd.Nc;O= +Nd.Bg(O,r);const ca=ld.$(f,"key"),x=Nd.Ef(O,!0);return d(function(E,B){let L,H=ld.evaluate(ca,m).expand();x.containsKey(H)?(L=x.get(H),E[L].pb.push(B)):(L=E.length,E.push({pb:[B],Mb:H}),x.inSituPut(H,L))})}};u.adjacent_c=u.adjacent;var Q=f.algorithm+(ld.qb(f,"c")?"_c":"");let ma;try{ma=u[Q]()}catch(O){if(O instanceof J&&"FOCH0002"===O.code)throw new J("Unknown collation:"+O.message,"XTDE1110");throw O;}const na=ld.db(f,"sortKey");if(0L)return-1;if(0Q(d));var m=d.newContext(!1);m.focus=Xb(D(d));m.currentTemplate=null;let u=!1;for(;null!==m.focus.next();)if(r(m,n),-999===m.focus.position){u=!0;break}!u&&c&&(m=d.newContext(!1),m.focus=null,c(m,n))}},let:function(f){const I=ld.Fa(f),D=a(f.C[1]),r=parseInt(f.slot,10);return function(c,d){const n=c.tempOutputState;c.tempOutputState= +"variable";const m=I(c).expand();c.tempOutputState=n;c.localVars[r]=m;D(c,d)}},nextIteration:function(f){const I=ld.db(f,"withParam").map(D=>({uk:ld.Fa(D),Db:parseInt(D.slot,10)}));return function(D){I.forEach(r=>r.value=r.uk(D).expand());I.forEach(r=>D.localVars[r.Db]=r.value)}},nextMatch:function(f){return function(I,D){const r=I.currentMode.mode;if(!r)throw new J("next-match: no current mode","XTDE0560",f);if(!I.currentTemplate)throw new J("next-match: no current template","XTDE0560",f);if(I.noCurrentFocus())throw new J("next-match: no context item", +"XTDE0560",f);const c=I.newContext(!0);c.currentComponent=I.currentMode;ld.Ze(f,I,c);return r.gk(c,D)}},procInst:function(f){const I=ld.Fa(f),D=ld.Mh(f);return function(r,c){const d=I(r).next().toString();if(!Ma.isNCName(d))throw new J("The name of a processing-instruction must be a valid NCName; supplied value: "+d.toString(),"XTDE0890",f);if(/^[Xx][Mm][Ll]$/.test(d))throw new J("The name of a processing-instruction must not be 'xml'","XTDE0890",f);r=D(r);r=g(r).replace(/\?>/g,"? >").replace(/^\s+/, +"");c.pi(d,r)}},sequence:h,sourceDoc:function(f){const I=ld.elaborate(ld.$(f,"href")),D=a(f.C[1]);return function(r,c){const d=r.newContext(!1);var n=null===I?"":I(r).next().toString();n=ya.resolveUri(n,ld.staticBaseUri(f,r));n=Td.uc(n,r);r=r.fixed.Ae;null!==r&&(n=r(n));d.focus=Wb(n);d.currentTemplate=null;D(d,c)}},useAS:function(f){return function(I,D){var r=ld.Eg(f,I,"attributeSet");I=I.newContext(!0);I.tempOutputState="attribute set";I.currentComponent=r;r=r.actor;r.C&&h(r)(I,D)}},valueOf:function(f){const I= +ld.Fa(f);let D={};ld.qb(f,"d")&&(D.DISABLE_ESCAPING=!0);return function(r,c){r=g(I(r));c.text(r,D)}}};return{kg:l,elaborateForPush:a,getComplexContentOutputter:function(f){return new G(f)},push:function(f,I,D){if("undefined"===typeof D)throw Aa.Qa(Error().stack,1,I.fixed.Ga),new J("No output for "+b(f));if(p[f.N]){var r=a(f);try{r(I,D)}catch(c){throw c instanceof J&&!c.xsltLineNr&&za(c,f),c;}}else{r=ld.elaborate(f);try{const c=r(I);let d;for(;null!=(d=c.next());)D.append(d)}catch(c){throw c instanceof +J&&!c.xsltLineNr&&za(c,f),c;}}},Di:P,vf:A,Rg:e}}();const ke=function(){function a(O,ca,x,E,B){function L(V){return null===n.Oa(V)}function H(V){return V.nodeType===S.nodeType&&(null===Z?!0:n.X(V).equals(Z))}let S;const C=B.fixed.evaluator;if(ca){if(S=C.evaluate(ca,B).next(),!S||!n.Q(S))throw new J("xsl:number/@select must yield a single node","XTTE1000");}else B.failIfNoCurrentFocus("XTTE0990","xsl:number"),S=B.getCurrentFocus();const Z=n.X(S);let K=H;if(null!==x){const V=Qd.Zc(x);K=function(ha){return Qd.matches(V,ha,B)}}if(null===E)ca=L;else{const V= +Qd.Zc(E);ca=function(ha){return L(ha)||Qd.matches(V,ha,B)}}let X;switch(O){case "simple":return O=m.Dc(S).filter(H),Zb(O.count()+1);case "single":O=m.Ka(S).filter(K).next();X=m.Ka(S).filter(ca).next();O=null===O?null:null!==m.Ka(O).filter(function(ha){return n.isSameNode(ha,X)}).next()?O:null;if(null===O)return Tb;O=m.Dc(O).filter(K);return Zb(O.count()+1);case "multi":O=Pb(m.Ka(S).filter(K).expand().reverse());X=m.Ka(S).filter(ca).next();O=O.filter(function(ha){return null!==m.Ka(ha).filter(function(w){return n.isSameNode(w, +X)}).next()});const V=u.integer.fromNumber;return O.mapOneToOne(ha=>V(m.Dc(ha).filter(K).count()+1));case "any":return x=function(ha,w){return n.fb(w,ha)},O=new Jb(m.Og(S).filter(K),m.Ka(S).filter(K),x),X=(new Jb(m.Og(S).filter(ca),m.Ka(S).filter(ca),x)).next(),null===X&&Aa.fa("from pattern selected empty"),O=O.filter(function(ha){return 0<=n.fb(ha,X)}),O=O.count(),0===O?Tb:Zb(O);default:return Aa.fa("unknown xsl:number/@level "+O),Tb}}function b(O,ca,x,E,B,L,H){function S(Z){let K;""===Z&&(Z="1"); +if(/^[\x01-\x7f]*$/.test(Z))Z=Z.split(/\b/),K=function(ha){return/\w+/.test(ha)};else{if(Z.length!==Ia(Z).length)throw new J("Cannot handle non-BMP characters in format-number picture","SXJS0002");const ha=ee.kg(Z,"[\\p{Nd}\\p{Nl}\\p{No}\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}]+","",!0,!1);K=function(w,M){return ha[M].Ac};Z=ha.map(function(w){return w.string.toString()})}const X={prefix:"",Qc:[],Rd:""};let V=".";for(let ha=0;ha=X.Qc.length?X.Qc[X.Qc.length-1]:X.Qc[w];0!==w&&(V+=M.sep);w=M.Fh;B&&(w+=";o");ha=ke.xg(ha.toNumber(),w);null!==x&&null!== +E&&(ha=ke.ig(ha,x,E));V+=ha});V+=X.Rd;return Yb(V)}(O.expand())}function h(O,ca,x,E,B){const L=B.fixed.evaluator;let H=[1];null!==x&&(H=L.evaluate(x,B).next().toString().split(/\s+/).map(function(S){if(!/^-?[0-9]+$/.test(S))throw new J("xsl:number/@start-at must be a sequence of integers. Offending value: "+S,"XTSE0020");return parseInt(S,10)}));if(ca&&E){O=O.next();if(null===O)return null;try{O=u.integer.I(O.round(0))}catch(S){return null}O=Pb([O])}return O.mapOneToOne(function(S,C){S=S.isNumeric()? +S.toDouble():u.double.hf(S.toString());if(0>S.toNumber())throw new J(`xsl:number/@value is less than zero (${S.toString()})`,"XTDE0980");try{S=u.integer.I(S.round(0))}catch(Z){throw Z.code="XTDE0980",Z;}C=C>=H.length?H[H.length-1]:H[C];1!==C&&(S=u.integer.fromNumber(S.toNumber()+(C-1)));return S})}function A(O){if(1>O||4999=E[B];)ca+=x[B], +O-=E[B];return ca}function P(O,ca){function x(B){return(B>E?x(Math.floor((B-1)/E)):"")+ca.charAt((B-1)%E)}if(1>O)return O.toString();const E=ca.length;return x(O)}function q(O,ca){return Ox?x.toString():qa(x).toFixed();x.lengthO&&(x="-"+x);return x}function e(O,ca="FODF1310"){const x=Ia(O),E={};let B=!0;var L=0;let H;const S=Ma.prepareRegex("\\p{Nd}",null);var C=O.search(S);if(0>C)B=!1;else{L=Ma.jk().Nd;for(let K= +0;Kx[C]||x[C]>H+10)throw new J("Picture string mixes digits from different digit families: "+O,ca);}else if(Ma.prepareRegex("\\p{N}\\p{L}",null).test(L))throw new J("Picture string is invalid: "+O,ca);const Z=[];L=H-48;x.forEach(function(K){H<=K&&K<=H+10?Z.push(48):Z.push(K)});O=Ja(Z)}E.Rj=B;E.format=O;E.sg=L;E.Gf=H;return E}function l(O,ca){const x=[];Ia(O).forEach(function(E){48<= +E&&57>=E?x.push(E+ca):x.push(E)});return Ja(x)}function z(O,ca,x,E="",B=!1){let L=0;for(let H=0;Hx[0]&&(H=!1);if(H)for(L=1;LO?ca[O]:100>O?x[Math.floor(O/ +10)]+(0===O%10?"":" "+ca[O%10]):1E3>O?G(Math.floor(O/100))+" Hundred"+(0===O%100?"":" and "+G(O%100)):1E6>O?G(Math.floor(O/1E3))+" Thousand"+(0===O%1E3?"":(100>O%1E3?" and ":" ")+G(O%1E3)):1E9>O?G(Math.floor(O/1E6))+" Million"+(0===O%1E3?"":(100>O%1E3?" and ":" ")+G(O%1E6)):O.toString()}function p(O){const ca="Zeroth First Second Third Fourth Fifth Sixth Seventh Eighth Ninth Tenth Eleventh Twelfth Thirteenth Fourteenth Fifteenth Sixteenth Seventeenth Eighteenth Nineteenth".split(" "),x=" Twent Thirt Fort Fift Sixt Sevent Eight Ninet".split(" "); +return 20>O?ca[O]:100>O?x[Math.floor(O/10)]+(0===O%10?"ieth":"y "+ca[O%10]):1E3>O?G(Math.floor(O/100))+" Hundred"+(0===O%100?"th":" and "+p(O%100)):1E6>O?G(Math.floor(O/1E3))+" Thousand"+(0===O%1E3?"th":(100>O%1E3?" and ":" ")+p(O%1E3)):1E9>O?G(Math.floor(O/1E6))+" Million"+(0===O%1E3?"th":(100>O%1E3?" and ":" ")+p(O%1E6)):O.toString()}function f(O){return 1===O%10&&11!==O%100?"st":2===O%10&&12!==O%100?"nd":3===O%10&&13!==O%100?"rd":"th"}function I(O,ca,x="FODF1310"){function E(H,S){let C="";for(let Z= +H.charCodeAt(0),K=0;KO?"-":"";if("o"===L)switch(ca.toString()){case "a":case "A":case "i":case "I":break;case "Ww":return B+p(Math.abs(O));case "W":return B+p(Math.abs(O)).toUpperCase(); +case "w":return B+p(Math.abs(O)).toLowerCase();default:return v(O,ca,x)+f(Math.abs(O))}switch(ca.toString()){case "a":return P(O,E("a",26));case "A":return P(O,E("A",26));case "\u03b1":return P(O,E("\u03b1",25));case "\u0391":return P(O,E("\u0391",25));case "i":return A(O);case "I":return A(O).toUpperCase();case "Ww":return B+G(Math.abs(O));case "W":return B+G(Math.abs(O)).toUpperCase();case "w":return B+G(Math.abs(O)).toLowerCase();case "\u2460":return q(O,"\u24ea"+E("\u2460",20)+E("\u3251",15)+ +E("\u32b1",15));case "\u2474":return q(O,"0"+E("\u2474",20));case "\u2488":return 0===O?"\ud83c\udd00":q(O,"0"+E("\u2488",20));case "\u2776":return q(O,"\u24ff"+E("\u2776",10)+E("\u24eb",10));case "\u2780":return 0===O?"\ud83c\udd0b":q(O,"0"+E("\u2780",10));case "\u278a":return 0===O?"\ud83c\udd0c":q(O,"0"+E("\u278a",10));case "\u24f5":return q(O,"0"+E("\u24f5",10));case "\u3220":return q(O,"0"+E("\u3220",10));case "\u3280":return q(O,"0"+E("\u3280",10));default:return v(O,ca,x)}}function D(O,ca){return String.fromCharCode(parseInt(O[ca]? +O[ca]:Q[ca],10))}function r(O,ca){function x(W){[["$gs","grouping separator"],["$es","exponent separator"],["$ds","decimal separator"],["$pc","non-prefix passive character"],["$pp","percent|permille"],["$od","optional digit"],["$md","mandatory digit"],["$ip","integer part"],["$fp","fractional part"]].forEach(function(ka){W=W.replace(ka[0],ka[1])});throw new J("Invalid picture: "+W,"FODF1310");}const E={};var B=O.indexOf(ca.ef),L=0<=B;const H=ca.Gf.charCodeAt(0);let S=0,C=0,Z=[];const K=[],X=[];let V= +-1,ha=-1,w=!1,M=!1;var aa=-1;let ja=0;var Y=L?B:O.length;for(var y=0;y=H&&daS&&0>V&&(V=y),S++,C++)):da===ca.Lh.charCodeAt(0)?(0V&&(V=y,M=!0),C++):da===ca.ie.charCodeAt(0)?(0V&&x("$pp before any digit"), +0ha&&(ha=y),da===ca.cd.charCodeAt(0)?E.cd=!0:E.we=!0):!L&&0<=V&&da===ca.tc.charCodeAt(0)&&0>ha?w?(X.push(da),0ha&&(ha=y):(X.push(da),w=!1,aa=-1,0>ha&&(ha=y-1))):(w=!0,aa=y):0<=V&&L?x("$pc before $ds"):w&&0===ja?(w=!1,aa=-1,X.push(ca.tc.charCodeAt(0)),X.push(da),0>ha&&(ha=y-1)):0<=V?(X.push(da),0>ha&&(ha=y)):K.push(da)}if(0=H&&kaha?ja++:0<=L||0<=ha?x("$md follows $od or $pc in $fp"):(Y++,y++):ka===ca.Lh.charCodeAt(0)?((0<=ha||w)&&x("$od follows $pc or $es"),0>L&&(L=W),y++):ka===ca.ie.charCodeAt(0)?((0<=ha||w)&&x("$gs follows $pc or $es"),da.push(W-B+1)):ka===ca.ef.charCodeAt(0)?x("more than one $ds"):ka===ca.cd.charCodeAt(0)|| +ka===ca.we.charCodeAt(0)?((0<=ha||w)&&x("$pp follows $pc or $es"),X.push(ka),ha=W,ka===ca.cd.charCodeAt(0)?E.cd=!0:E.we=!0):ka===ca.tc.charCodeAt(0)&&0>ha?w?(X.push(ka),0ha&&(ha=W):(X.push(ka),w=!1,aa=-1,0>ha&&(ha=W-1))):(w=!0,aa=W):w&&0===ja?(w=!1,aa=-1,X.push(ca.tc.charCodeAt(0)),X.push(ka),0>ha&&(ha=W-1)):(X.push(ka),0>ha&&(ha=W))}}0>V&&0===y&&x("mantissa contains no digits");if(0!==da.length)for(0===da[0]&&x("$gs at beginning of $fp"),B=0;B=E+x?d(new Date(O.getTime()-864E5),ca):Math.floor((x+E-2)/7)+ +(5>E?1:0)}const n=fc,m=n.va,u=Sa.XS,Q={"decimal-separator":"46","grouping-separator":"44",digit:"35","minus-sign":"45",percent:"37","per-mille":"8240","zero-digit":"48","exponent-separator":"101","pattern-separator":"59",infinity:"Infinity",NaN:"NaN"},ma={Y:"getUTCFullYear",M:"getUTCMonth",D:"getUTCDate",F:"getUTCDay",H:"getUTCHours",m:"getUTCMinutes",s:"getUTCSeconds",f:"getUTCMilliseconds"},na={d:c,W:function(O){return d(O,!0)},w:function(O){return d(O,!1)},h:function(O){return 13>O.getUTCHours()? +0===O.getUTCHours()?12:O.getUTCHours():O.getUTCHours()-12},P:function(O){return 12>O.getUTCHours()?"Am":"Pm"},E:function(O){return 0>O.getUTCFullYear()?"BC":"AD"}};return{hk:function(O,ca){const x=ca.fixed.evaluator,E=O.level,B=x.$(O,"select"),L=x.$(O,"count");O=x.$(O,"from");return a(E,B,L,O,ca)},ik:function(O,ca){var x=ca.fixed.evaluator;const E=x.$(O,"value"),B=x.$(O,"format"),L=x.hc(x.$(O,"gpSep"),ca).next(),H=x.hc(x.$(O,"gpSize"),ca).next();var S=x.hc(x.$(O,"ordinal"),ca).next();const C=x.hc(x.$(O, +"lang"),ca).next();var Z=O.flags||"";O=x.$(O,"startAt");Z=/1/.test(Z);x=x.evaluate(E,ca);x=h(x,Z,O,!0,ca);S=S?ld.Yj(S.toString()):!1;return null===x?Yb("NaN"):b(x,B,L,H,S,C,ca)},xg:I,ig:function(O,ca,x){let E="";for(let B=0;BO?!0:0===O?0>1/O:!1;x={ef:D(x,"decimal-separator"),ie:D(x,"grouping-separator"),Lh:D(x,"digit"),ek:D(x,"minus-sign"),cd:D(x,"percent"),we:D(x,"per-mille"),Gf:D(x, +"zero-digit"),tc:D(x,"exponent-separator"),Ai:D(x,"pattern-separator"),Lj:x.infinity||Q.infinity,fk:x.NaN||Q.NaN};if(isNaN(O))return x.fk;ca=ca.includes(x.Ai)?ca.split(x.Ai):[ca];if(2O?ca[1]:ca[0],x);if(isFinite(O)){if(0X&&(O=qa(O.toPrecision(X))); +(X=V!==O.e)&&(L+=1);1L)||Z&&X||(L=ha.join("").slice(L),H+="."+L)}else throw new J("Empty mantissa","SXJS0004");C=H+C+g(O.e,K)}else{K=Math.abs(O);B.cd&&(K=Math.abs(100*O));B.we&&(K=Math.abs(1E3*O));"Infinity"===K+""?C=K+"":C=999999>K?K.toString():qa(K).toFixed();K=C.indexOf(".");0>K&&(K=C.length,0C.indexOf(".")&&(C+=".0")):C=qa(C).round(0,1).toString());L=C.length-1-K;if(0L;L++)K+=String.fromCharCode(x.Gf.charCodeAt(0)+L);K+=x.ef;L="";for(S=0;SO?L+=Z:OL&&(L=K.length);C=K.substring(0,L);K=K.substring(L);if(0B.Lb[0]&&(L=!1);C=L?ke.ig(C,x.ie,B.Lb[0]):z(C,B.Lb,null,x.ie)}0K||"*"!==Z&&1>Z||"*"!==K&&"*"!==Z&&K>Z)throw new J("Invalid width modifier in date/time formatting picture","FOFD1340");}var X=null;1Z||12C.length;)C="0"+C;X=Ia(C);C=parseInt(Ja(X.reverse()),10);if(!H&&!S&&/^[0-9]$/.test(V))for(;X.length>V.length;)V+="#"; +if(H&&"*"!==H){ha=/^([0-9]*)(#*)$/.exec(V);V=ha[1]?ha[1]:"";for(ha=ha[2]?ha[2]:"";H>V.length;)V+="0",ha=ha.slice(0,-1);V+=ha}if(S)for("*"===S&&(S=X.length);V.lengthV.length;)C=C.slice(0,-1);H&&"*"!==H||0!==parseInt(C,10)||(C="0");Z||(C=l(C,K));H=C}else{if(/[nN]/.test(S))V="January February March April May June July August September October November December".split(" "),K="Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "), +X="M"===H?V[ha-1]:"F"===H?K[ha-1]:ha,"F"===H&&Z&&"*"!==Z&&6>Z&&(X=X.replace(/(ur)?day$/,""),X=X.replace(/nes$/,"s")),"n"===S?X=X.toLowerCase():"N"===S&&(X=X.toUpperCase()),Z&&"*"!==Z&&(X=X.substring(0,Z));else{V=/;/.test(S)?S+";":S;X&&(V+=(";"===V.charAt(V.length-1)?"":";")+X);X=I(ha,V,"FOFD1340");"Y"===H&&"-"===X.charAt(0)&&(X=X.substring(1));if("Y"===H&&/[^iIwWnN]/.test(S.charAt(S.length-1))&&(!K&&2===S.length||2==Z))for(;2ea[va]}const W={"<":"<",">":">","&":"&",'"':""","\n":" ","\r":" ","\t":" "},ka={"<":"<",">":">","&":"&"};return y?Y.replace(/&|<|>|"|\n|\r|\t/g,da(W)):Y.replace(/&|<|>/g,da(ka))}if(aa){aa="";w=w.split("\x00");for(let Y=0;Y=w:"US-ASCII"===M.toUpperCase()?127>=w: +!0}function h(w,M){return function(aa){var ja=!0;for(var Y=0;Y=w.min&&y<=w.max){ja=!1;break}}if(ja)return aa;ja="";Y=!1;for(y=0;y=W;ka&&(W=aa.codePointAt(y));w.oa[W]?(M&&!Y&&(ja+="\x00",Y=!0),ja+=w.oa[W],ka&&y++):(M&&Y&&(ja+="\x00",Y=!1),ja+=da)}return ja}}function A(w){return""===w.q||"http://www.w3.org/1999/xhtml"===w.q}function P(w){return["http://www.w3.org/1999/xhtml","http://www.w3.org/2000/svg", +"http://www.w3.org/1998/Math/MathML"].includes(w)}function q(w,M){return(M={action:["form"],archive:["object"],background:["body"],cite:["blockquote","del","ins","q"],classid:["object"],codebase:["applet","object"],data:["object"],datasrc:"button div input object select span table textarea".split(" "),"for":["script"],formaction:["button","input"],href:["a","area","base","link"],icon:["command"],longdesc:["frame","iframe","img"],manifest:["html"],name:["a"],poster:["video"],profile:["head"],src:"audio embed frame iframe img input script source track video".split(" "), +usemap:["img","input","object"]}[M.local])&&M.includes(w.local)}function g(w,M,aa=null){switch(w.method){case "xml":M=new Q(w,M);if(w.version&&"1.0"!==w.version)throw new J("Serializer does not support the requested XML version: "+w.version,"SESU0013");c(w);if(w["undeclare-prefixes"])throw new J("Cannot undeclare prefixes with XML 1.0 serializer","SEPM0010");w.indent&&(M=p(w,M));M=f(w,M);M=I(w,M);M=D(w,M);return G(w,M);case "html":return d(w,M);case "text":return c(w),M=new V(w,M),M=f(w,M),M=I(w, +M),G(w,M);case "xhtml":return d(w,M);case "json":return c(w),w.indent?new Z(w,M,aa):new C(w,M,aa);case "adaptive":return new K(w,M,aa);default:return new X(w,M)}}function e(w,M,aa){function ja(ea,va){va=va.trim();if(["yes","true","1"].includes(va))return!0;if(["no","false","0"].includes(va))return!1;throw new J("Value of "+ea+" must be yes(=true, 1) or no(=false, 0)","SEPM0016");}function Y(ea){return function(va,pa){pa=pa.trim();return pa.split(/\s+/).map(function(k){/^Q\{/.test(k)||/:/.test(k)|| +(k="Q{}"+k);return/^Q\{/.test(k)?k:m.QName.fromString(k,ea).toEQName()})}}function y(ea){return function(va,pa){pa=pa.trim();if(ea.includes(pa))return pa;throw new J("Value of "+va+"("+pa+"): must be one of "+ea.join("|"),"SEPM0016");}}function da(ea){return function(va,pa){if(ea.test(pa))return pa;throw new J("Invalid value for "+va+": must match the pattern "+ea,"SEPM0016");}}function W(ea,va){return va}function ka(ea,va){va=va.trim();if(/[0-9]+/.test(va))return 1*va;throw new J("Value of "+ea+ +" must be an integer (Actual value is "+Aa.showValue(va)+")","SEPM0016");}aa={"allow-duplicate-names":ja,"build-tree":ja,"byte-order-mark":ja,"cdata-section-elements":Y(aa),"doctype-public":da(/[\sa-zA-Z0-9\-'()+,.:=?;!*#@$_%\/]*/),"doctype-system":da(/[^']*|[^"]*/),encoding:da(/[\x21-\x7e]+/),"escape-uri-attributes":ja,"html-version":function(ea,va){if(/[0-9]+(\.[0-9]+)?/.test(va))return 1*va;throw new J("Value of "+ea+" must be a decimal number","SEPM0016");},"include-content-type":ja,indent:ja, +"item-separator":W,"json-node-output-method":y(["xml","xhtml","html","text"]),"media-type":W,method:function(ea,va){return function(pa,k){k=k.trim();!/^Q\{/.test(k)&&/:/.test(k)&&(k=m.QName.fromString(k,va).toEQName());if(ea.includes(k))return k;throw new J("Value of "+pa+"("+k+"): must be one of "+ea.join("|"),"SEPM0016");}}("xml xhtml html text json adaptive Q{http://saxonica.com/ns/interactiveXSLT}append-content Q{http://saxonica.com/ns/interactiveXSLT}replace-content".split(" "),aa),"normalization-form":y("NFC NFD NFKC NFKD fully-normalized none".split(" ")), +"omit-xml-declaration":ja,standalone:function(ea,va){return"omit"===va.trim()?null:ja(ea,va)},"suppress-indentation":Y(aa),"undeclare-prefixes":ja,"use-character-maps":Y(aa),version:W,"Q{http://saxon.sf.net/}indent-spaces":ka,"Q{http://saxon.sf.net/}line-length":ka,"Q{http://saxon.sf.net/}stylesheet-version":ka};/^\{/.test(w)&&(w="Q"+w);if("string"!==typeof M)throw new J("Value of "+w+" must be supplied as a string","SEPM0016");if(aa[w])return aa[w](w,M);if(!/^Q\{/.test(w))throw new J("Unknown serialization parameter "+ +w,"SEPM0017");}function l(w,M,aa){function ja(W,ka,ea){if(!Array.isArray(ka))throw new J("Value of "+W+" must be an array","SEPM0016");return(ea||[]).concat(ka)}function Y(W,ka){if("boolean"!==typeof ka)throw new J("Value of "+W+" must be boolean","SEPM0016");return ka}function y(W,ka){if("number"!==typeof ka)throw new J("Value of "+W+" must be an integer (actual value is "+Aa.showValue(ka)+")","SEPM0016");return ka}const da={"allow-duplicate-names":Y,"build-tree":Y,"byte-order-mark":Y,"cdata-section-elements":ja, +"escape-uri-attributes":Y,"html-version":function(W,ka){if("number"!==typeof ka)throw new J("Value of "+W+" must be a decimal number","SEPM0016");return ka},"include-content-type":Y,indent:Y,"omit-xml-declaration":Y,standalone:function(W,ka){return null===ka?null:Y(W,ka)},"suppress-indentation":ja,"undeclare-prefixes":Y,"use-character-maps":function(W,ka,ea){ea&&Array.isArray(ea)&&Aa.fa("Problem with existing character map supplied to overrideParam");if("object"!==typeof ka)throw new J("Value of "+ +W+" must be an object","SEPM0016");if(void 0===ka.oa)throw new J("Value of "+W+" must be a character map object","SEPM0016");(W=ea)?z(W,ka):W=ka;return W},"Q{http://saxon.sf.net/}indent-spaces":y,"Q{http://saxon.sf.net/}line-length":y,"Q{http://saxon.sf.net/}stylesheet-version":y};/^{/.test(w)&&(w="Q"+w);return da[w]?da[w](w,M,aa):e(w,M.toString())}function z(w,M){M.minw.max&&(w.max=M.max);for(let aa in M.oa)M.oa.hasOwnProperty(aa)&&(w.oa[aa]=M.oa[aa])}function v(w,M){let aa= +{};w.forEach(function(ja,Y){let y=M.Eh[ja];if(!y)throw new J("Unknown character map "+ja,"SEPM0016");0===Y?aa=y:z(aa,y)});return aa}function G(w,M){return w["item-separator"]&&"#absent"!==w["item-separator"]?new he(M,w["item-separator"]):new fe(M)}function p(w,M){const aa=w["Q{http://saxon.sf.net/}indent-spaces"],ja=w["suppress-indentation"];return Vd("xml"===w.method?new ma(aa,ja):new E(aa,ja),M)}function f(w,M){w["normalization-form"]&&"none"!==w["normalization-form"]&&(M=Vd(new na(w["normalization-form"]), +M));return M}function I(w,M){w["use-character-maps"]&&(M=Vd(new O(w["use-character-maps"]),M));return M}function D(w,M){w["cdata-section-elements"]&&(M=Vd(new ca(w["cdata-section-elements"],w.encoding||"UTF-8",w["normalization-form"]&&"none"!==w["normalization-form"]?w["normalization-form"]:null),M));return M}function r(w,M){return void 0===w[M]||w[M]}function c(w){if(w.encoding&&!["UTF-8","UTF-16","ISO-646","ISO-8859-1","US-ASCII"].includes(w.encoding.toUpperCase()))throw new J("Serializer does not support the requested encoding: "+ +w.encoding,"SESU0007");}function d(w,M){var aa="xhtml"===w.method;M=aa?new L(w,M):new x(w,M);if(aa&&w.version&&"1.0"!==w.version)throw new J("Serializer does not support the requested XML version: "+w.version,"SESU0013");if((aa=aa?w["html-version"]:w["html-version"]||w.version)&&5!==1*aa)throw new J("Serializer does not support the requested HTML version: "+aa,"SESU0013");c(w);r(w,"indent")&&(M=p(w,M));M=f(w,M);M=I(w,M);M=D(w,M);M=Vd(new B,M);r(w,"escape-uri-attributes")&&(M=Vd(new H,M));r(w,"include-content-type")&& +(M=Vd(new S(w),M));return G(w,M)}function n(w,M,aa,ja=null){function Y(ka,ea){switch(ka.nodeType){case 9:case 11:ea.startDoc(W);ka=ka.childNodes;for(var va=0;va{y(va,ea)}):fc.Q(ka)?Y(ka,ea):ea.append(ka, +W)}let da;aa||(da="",aa={write:function(ka){da+=ka}});aa.write||Aa.fa("writer supplied to Serialize.serialize() is not a writeable stream");M||={};M=g(M,aa,ja);let W={};w&&y(w,M);M.close();return da}const m=Sa.XS;class u extends Ud{constructor(w,M){super();this.b=M||null;this.Aa=w}close(){this.b.R&&!this.b.isTTY&&this.b.R()}}class Q extends u{constructor(w,M){super(w,M);this.g=this.l=this.na=this.O=this.Ra=!1;this.Ea=[];this.x=[];this.qd=0;this.encoding=w.encoding||"UTF-8"}startDoc(){}endDoc(){}close(){this.l|| +this.z();super.close()}startElement(w,M,aa){function ja(y){throw new J("When "+y+" is specified, there must only be one top-level element node","SEPM0004");}this.l||(this.z(),this.qa(w),this.O&&!this.na&&!0===this.Aa.indent&&this.b.write("\n"),this.l=!0);0===this.x.length&&(0"),this.g=!1):this.b.write("")}text(w,M={}){this.l||this.z();this.g&&this.U();this.b.write(M.DISABLE_ESCAPING?this.encode(w,!1):this.encode(a(w,!1,!1),!0))}comment(w){this.l||this.z();this.g&&this.U();this.b.write("\x3c!--"+this.encode(w,!1)+"--\x3e")}pi(w,M){this.l||this.z();this.g&&this.U();this.b.write("")}append(w,M={}){this.text(w.toString(),M)}z(){this.Ra||this.eg()}U(){this.b.write(">");this.g=!1}$i(w,M){let aa=[];for(let ja in w)if(M[ja]!==w[ja]){let Y="";"xml"!==ja&&(Y=""===ja?' xmlns="'+a(w[ja],!0,!1)+'"':" xmlns:"+ja+'="'+a(w[ja],!0,!1)+'"');""!==Y&&aa.push(Y)}aa.sort();aa.forEach(ja=>this.b.write(ja))}Zd(w,M){if(M){const aa=this;M.forEach((ja,Y)=>{aa.Yd(Y,ja)})}}Yd(w,M){const aa=!0===M.Wa.USE_NULL_MARKERS;M=M.Wa.DISABLE_ESCAPING? +this.encode(M.value,!1):this.encode(a(M.value,!0,aa),!0);this.b.write(" "+this.encode(w.toString(),!1)+'="'+M+'"')}eg(){var w=this.encoding.toUpperCase();this.Aa["byte-order-mark"]&&"UTF-8"===w&&this.b.write("\ufeff");this.Ra=!0;w=!0===this.Aa["omit-xml-declaration"]&&"UTF-8"===w;this.O=!w;let M=this.Aa.standalone;if(w&&void 0!==M&&null!==M)throw new J("Serializer values of 'standalone' and 'omit-xml-declaration' conflict","SEPM0009");w||this.b.write('")}qa(w){let M=this.Aa["doctype-system"]||null,aa=this.Aa["doctype-public"]||null;null!==M&&(this.O&&this.b.write("\n"),this.b.write("\n"):this.b.write(' PUBLIC "'+this.encode(aa,!1)+'" '+this.encode(w,!1)+">\n"),this.na=!0)}encode(w,M){function aa(Y){if(M)return"&#"+Y+";";throw new J("Character "+ +String.fromCodePoint(Y)+" (decimal "+Y+") is not available in the chosen encoding","SERE0008");}const ja=this.encoding;return function(Y){let y="";var da=0;const W=Y.length;if(0===W)return"";for(;daka)break;else if(127>ka)ea++;else if(160>ka||8232===ka||55296<=ka&&56320>=ka||!b(ka,ja))break;else ea++}if(ea>=W)return 0===da?Y:y+Y.substring(da,ea);ea>da&&(y+=Y.substring(da,ea));ka=Y.charCodeAt(ea);da=Y.charAt(ea); +if(0===ka)throw new J("Null marker","ZZZZ9999");160>ka||8232===ka?y+=M?aa(ka):da:55296<=ka&&56320>=ka?(ka=Y.codePointAt(ea++),y+=b(ka,ja)?da+Y.charAt(ea):aa(ka)):b(ka,ja)||(y+=aa(ka));da=++ea;if(da>=W)return y}}(w)}}class ma extends Wd{constructor(w,M){super();this.x=0;this.Zd=w||3;this.Ea="\n ";this.l=this.z=this.O=!1;this.Ra=M||null;this.g=-1;this.qa=null;this.ub={}}startElement(w,M,aa,ja={}){this.z||this.l?this.ia():this.U();if(0>this.g){let Y=M.get(m.QName.fromParts("","http://www.w3.org/XML/1998/namespace", +"space"));Y&&"preserve"===Y.value&&(this.g=this.x)}this.x++;this.Ra&&-1===this.g&&0<=this.Ra.indexOf(w.toEQName())&&(this.g=this.x);this.b.startElement(w,M,aa,ja);this.z=this.O=!0;this.l=!1}endElement(){this.x--;this.l&&!this.O?this.ia():this.z&&!this.l?this.qa=null:this.U();this.b.endElement();this.O=!1;this.l=!0;this.z=!1;this.x===this.g-1&&(this.g=-1)}text(w,M={}){const aa=!this.O||0<=w.indexOf("\n");0>this.g&&""===Ma.trim(w)&&aa?(this.qa=w,this.ub=M):(this.U(),0<=w.indexOf("\n")&&(this.O=!1), +this.b.text(w,M),this.l=this.z=!1)}comment(w,M={}){this.l?this.ia():this.U();this.b.comment(w,M);this.l=this.z=!1}pi(w,M,aa={}){this.l?this.ia():this.U();this.b.pi(w,M,aa);this.l=this.z=!1}ia(){0<=this.g?this.U():this.Ue()}Ue(){this.qa=null;let w=this.x*this.Zd;if(w+1>this.Ea.length){let M=5*this.Zd;w+1>this.Ea.length+M&&(M+=w+1);for(let aa=0;aa=da.min&&y<=da.max){ja=!1;break}}if(ja)W=w;else for(ja=0;ja=y;ka&&(y=w.codePointAt(ja));da.oa[y]?(aa||(""!==W&&(this.b.text(W,M),W=""), +aa=!0),W+=da.oa[y],ka&&ja++):(aa&&(aa=Object.assign({},M),aa.DISABLE_ESCAPING=!0,aa.NO_NORMALIZATION=!0,this.b.text(W,aa),W="",aa=!1),W+=Y)}aa?(w=Object.assign({},M),w.DISABLE_ESCAPING=!0,w.NO_NORMALIZATION=!0,this.b.text(W,w)):this.b.text(W,M)}}}class ca extends Wd{constructor(w,M,aa){super();this.ia=w||null;this.encoding=M;this.U=aa;this.x=[];this.g="";this.z={};if("fully-normalized"===aa)throw new J("Serializer does not support the requested normalization-form: fully-normalized","SESU0011");}startElement(w, +M,aa,ja={}){this.l();this.x.push(w.toEQName());this.b.startElement(w,M,aa,ja)}endElement(){this.l();this.x.pop();this.b.endElement()}text(w,M={}){0<=this.ia.indexOf(0===this.x.length?null:this.x[this.x.length-1])?M.DISABLE_ESCAPING?(this.l(),this.b.text(w,M)):(this.g+=w,this.z=M):this.b.text(w,M)}comment(w,M={}){this.l();this.b.comment(w,M)}pi(w,M,aa={}){this.l();this.b.pi(w,M,aa)}l(){if(""!==this.g){const M=this.U?this.g.normalize(this.U):this.g,aa=M.length;for(var w=0;ww&&this.O(M.substring(w,ja));ja"),this.g=!1);this.Te.includes(w.local.toLowerCase())&&A(w)||this.b.write("")}text(w,M={}){0"))throw new J("A processing instruction in HTML must not contain a > character","SERE0015");this.b.write("")}z(){this.Ra||(this.Aa["byte-order-mark"]&&"UTF-8"=== +this.Aa.encoding&&this.b.write("\ufeff"),this.Ra=!0)}Zd(w,M){if(M){const aa=this;M.forEach((ja,Y)=>{w.hasURI("")&&this.Ue(w,Y,ja.value)?aa.b.write(" "+Y.toString()):aa.Yd(Y,ja)})}}qa(w){let M=this.Aa["doctype-system"]||null,aa=this.Aa["doctype-public"]||null;null===M&&null===aa?A(w)&&"html"===w.local.toLowerCase()&&(this.O&&this.b.write("\n"),this.b.write("\n"),this.na=!0):null===M?(w=A(w)&&"html"===w.local.toLowerCase()?w.toString():"html",this.O&&this.b.write("\n"),this.b.write("\n'),this.na=!0):super.qa("html"===w.local.toLowerCase()?w:m.QName.fromParts("","","html"))}Ue(w,M,aa){M=M.local.toLowerCase();w=w.local.toLowerCase();return M===aa.toLowerCase()&&(this.ub[w]&&this.ub[w].includes(M)||this.ub["*"].includes(M))}}class E extends ma{constructor(w,M){super(w,M);this.eg="pre script style textarea title xmp".split(" ");this.Te="a abbr acronym applet area audio b basefont bdi bdo big br button canvas cite code data datalist del dfn em embed font i iframe img input ins kbd label map mark math meter noscript object output picture progress q ruby s samp script select small span strike strong sub sup svg template textarea time tt u var video wbr".split(" "); +this.na=this.qd=!1;this.Yd=[]}startElement(w,M,aa,ja={}){this.qd=this.Te.includes(w.local.toLowerCase())&&A(w);this.z||this.l?this.ia():this.U();this.x++;0>this.g&&this.eg.includes(w.local.toLowerCase())&&A(w)&&(this.g=this.x);this.Ra&&-1===this.g&&0<=this.Ra.indexOf(w.toEQName())&&(this.g=this.x);this.b.startElement(w,M,aa,ja);this.z=this.O=!0;this.qd=this.na=this.l=!1;this.Yd.push(w)}endElement(){let w=this.Yd.pop();this.x--;this.l&&!this.O?this.ia():this.U();this.b.endElement();this.O=!1;this.l= +!0;this.z=!1;this.na=this.Te.includes(w.local.toLowerCase())&&A(w);this.x===this.g-1&&(this.g=-1)}text(w,M={}){super.text(w,M);0>this.g&&""===Ma.trim(w)||(this.na=!1)}comment(w,M={}){super.comment(w,M);this.na=!1}pi(w,M,aa={}){super.pi(w,M,aa);this.na=!1}ia(){0<=this.g||this.qd||this.na?this.U():this.Ue()}}class B extends Wd{startElement(w,M,aa,ja={}){for(let Y in aa)P(aa[Y])&&delete aa[Y];P(w.q)&&(""!==w.prefix&&(w=m.QName.fromParts("",w.q,w.local)),aa[""]=w.q);M.forEach((Y,y)=>{P(y.q)&&(aa[y.prefix]= +y.q)});super.startElement(w,M,aa,ja)}}class L extends Q{constructor(w,M){super(w,M);this.ia="area base br col embed hr img input link meta param source track wbr".split(" ")}endElement(){this.x.pop();let w=this.Ea.pop();this.g&&this.ia.includes(w.local)&&A(w)?(this.b.write(" />"),this.g=!1):(this.g&&super.U(),this.b.write(""))}text(w,M={}){(this.l||""!==Ma.trim(w))&&super.text(w,M)}qa(w){let M=this.Aa["doctype-system"]||null;null===M&&A(w)&&"html"===w.local.toLowerCase()?(this.O&& +this.b.write("\n"),this.b.write("\n"),this.na=!0):null!==M&&super.qa(w)}}class H extends Wd{startElement(w,M,aa,ja){let Y=!1;M.forEach((y,da)=>Y=Y||q(w,da));if(Y){const y=new je;M.forEach((da,W)=>{if(q(w,W)){const ka=ld.escape(da.value.normalize("NFC"),ea=>32>ea||126=Y||127<=Y&&159>=Y||!b(Y,M)?aa+("\\u"+("0000"+Y.toString(16).toUpperCase()).slice(-4)):aa+y}}return aa}na(w){let M='"';if(this.oa){const y=this.oa;let da="",W=!1;var aa=!0;for(var ja= +0;ja=y.min&&Y<=y.max){aa=!1;break}}if(aa)da=w;else for(aa=0;aa=Y;ka&&(Y=w.codePointAt(aa));y.oa[Y]?(W||(""!==da&&(M+=this.Ea(da),da=""),W=!0),da+=y.oa[Y],ka&&aa++):(W&&(M+=da,da="",W=!1),da+=ja)}M=W?M+da:M+this.Ea(da)}else M+=this.Ea(w);return M+'"'}ub(w){function M(Y){switch(Y.length){case 0:ja.b.write("null");break;case 1:aa(Y[0]);break;default:throw new J("Cannot output a sequence of length "+ +Y.length+" as JSON","SERE0023");}}function aa(Y){var y=Sa.XS;if(Sa.ka(Y))if(y.boolean.matches(Y))ja.b.write(Y.toString());else if(y.numeric.matches(Y)){Y=Y.toString();if(["NaN","INF","-INF"].includes(Y))throw new J("Cannot output INF or NaN as JSON","SERE0020");ja.b.write(Y)}else ja.b.write(ja.na(Y.toString()));else if(fc.Q(Y)){y=Object.assign({},ja.x);y.method=y["json-node-output-method"]||"xml";y["item-separator"]=null;y["omit-xml-declaration"]=!0;y.encoding="UTF-8";const da=new ha;n(Y,y,da,ja.ia); +ja.b.write(ja.na(da.toString()))}else if(ld.isArray(Y))if(Y=Y.value,0===Y.length)ja.b.write("[]");else{ja.O("[");M(Y[0]);for(y=1;y{da?da=!1:ja.U();const ea=ja.na(ka.k.toString());if(!ja.x["allow-duplicate-names"]){if(W[ea])throw new J("Duplicate key '"+ea+"' in serialized JSON map","SERE0022");W[ea]=!0}ja.b.write(ea);ja.Ra();M(ka.v)});ja.z("}")}else throw new J("Cannot output "+Aa.showValue(Y)+ +" as JSON","SERE0021");}const ja=this;M(w)}O(w){this.b.write(w)}z(w){this.b.write(w)}U(){this.b.write(",")}Ra(){this.b.write(":")}}class Z extends C{constructor(w,M,aa){super(w,M,aa);this.g=0;this.qa=w["Q{http://saxon.sf.net/}indent-spaces"]||3}O(w){super.O(w);this.g++;this.b.write("\n".padEnd(this.g*this.qa+1," "))}z(w){this.g--;this.b.write("\n".padEnd(this.g*this.qa+1," "));super.z(w)}U(){super.U();this.b.write("\n".padEnd(this.g*this.qa+1," "))}Ra(){this.b.write(": ")}}class K extends Yd{constructor(w, +M,aa){super(aa);this.x=w;this.b=M;this.ia=aa;this.oa=w["use-character-maps"]||null}close(){function w(W,ka){for(let ea in["fn","math","map","array","xs"])if(dc.withPrefix[ea]===W)return ea+":"+ka;return"Q{"+W+"}"+ka}function M(W){return Y.oa?h(Y.oa,!1)(W):W}function aa(W,ka){if(1===W.length)ja(W[0],ka);else{ka.write("(");let ea=!0;for(let va=0;va{pa?pa=!1:ka.write(",");ja(k.k,ka);ka.write(":");aa(k.v,ka)});ka.write("}")}else W instanceof jd.XdmFunction?W.local?ka.write(w(W.q,W.local)+"#"+W.arity):ka.write("(anonymous function)#"+W.arity):ka.write("JS: "+Aa.showValue(W))} +const Y=this;let y=this.jd(),da=!0;for(let W=0;Wda(this.b));this.x=!0;this.g=[]}super.startElement(w,M,aa,ja)}text(w,M={}){this.x?super.text(w,M):this.g.push(function(aa){aa.text(w,M)})}comment(w,M={}){this.x?super.comment(w,M):this.g.push(function(aa){aa.comment(w,M)})}pi(w,M,aa={}){this.x?super.pi(w,M,aa):this.g.push(function(ja){ja.pi(w, +M,aa)})}append(w,M={}){this.x?super.append(w,M):this.g.push(function(aa){aa.append(w,M)})}endDoc(){this.x?super.endDoc():this.g.push(function(w){w.endDoc()})}close(){this.x||(this.l.method="xml",this.b=g(this.l,this.z),this.g.forEach(w=>w(this.b)));super.close()}}class V extends u{constructor(w,M){super(w,M);this.g=!1}text(w){this.g||this.l();this.b.write(w)}append(w){this.g||this.l();this.b.write(w.toString())}l(){this.Aa["byte-order-mark"]&&"UTF-8"===this.Aa.encoding&&this.b.write("\ufeff");this.g= +!0}}class ha{constructor(){this.ha=""}write(w){this.ha+=w}toString(){return this.ha}}return{serialize:n,gi:g,StringWriter:ha,parseParamDoc:function(w,M,aa=null){function ja(W,ka="SEPM0017"){throw new J("Serialization params: "+W,ka);}function Y(W,ka=[]){const ea=fc.X(W);fc.va.attribute(W).forEachItem(function(va){va=fc.X(va);""!==va.q||ka.includes(va.local)||ja("attribute @"+va.local+" must not appear on element "+ea.toString())})}function y(W,ka){let ea=fc.getAttribute(W,ka,null);null===ea&&ja("attribute @"+ +ka+" is missing on element "+fc.X(W).toString());return ea}"serialization-parameters"!==fc.X(w).local&&ja("root element name must be 'serialization-parameters'",aa||"SEPM0017");"http://www.w3.org/2010/xslt-xquery-serialization"!==fc.X(w).q&&ja("root element namespace must be http://www.w3.org/2010/xslt-xquery-serialization",aa||"SEPM0017");Y(w);let da=[];fc.wc(w).forEach(function(W){if(fc.hasURI(W,"http://www.w3.org/2010/xslt-xquery-serialization")){var ka=fc.X(W).local;let ea;da.includes(ka)&&ja("duplicated parameter "+ +ka,"SEPM0019");da.push(ka);"use-character-maps"===ka?(Y(W),ea={min:0,max:0,oa:{}},fc.wc(W).forEach(function(va){if(fc.hasURI(va,"http://www.w3.org/2010/xslt-xquery-serialization")&&"character-map"===fc.X(va).local){Y(va,["character","map-string"]);const pa=y(va,"character");1ea.max&&(ea.max=k))}else ja("invalid child of use-character-maps: "+fc.X(va).toString())}),55296ja&&(ja=W);55296"0"+Q.codePointAt(0))}const n=fc.va;c=n.Ka(c).expand().reverse();let m="";for(let u=0;um};return function(m,u,Q){let ma=m[0];u.fixed.evaluator.qb(Q,"i")&&(ma=ma.filter(function(X){return!Nd.itemIsNaN(X)}));m=Nd.Kb(Q,m[1],"compare",u);const na=Nd.cmpFn(m), +O=D.untypedAtomic.matches,ca=D.numeric.matches,x=D.double.matches,E=D.float.matches,B=D.anyURI.matches,L=D.string.matches;m=D.duration.matches;const H=D.yearMonthDuration.matches,S=D.dayTimeDuration.matches;u=D.QName.matches;const C=D.double.I,Z=D.float.I,K=D.string.I;ma=ma.mapOneToOne(function(X){return O(X)?C(X):X});Q=ma.next();if(null===Q)return Tb;u(Q)&&d(c+"() not defined over QName");!m(Q)||H(Q)||S(Q)||d(c+"() not defined over mixed durations");return Ub(q(ma,Q,function(X,V){(L(X)&&ca(V)||L(V)&& +ca(X))&&d("Cannot compare string with numeric");(H(X)&&!H(V)||S(X)&&!S(V))&&d("Cannot compare mixed durations");if(Nd.itemIsNaN(V))return x(X)?C(V):V;if(Nd.itemIsNaN(X))return x(V)?C(X):X;x(V)&&!L(X)?X=C(X):x(X)&&!L(V)?V=C(V):E(V)&&!L(X)?X=Z(X):E(X)&&!L(V)&&(V=Z(V));B(V)&&L(X)?V=K(V):B(X)&&L(V)&&(X=K(X));try{return n(na(X,V))?X:V}catch(ha){throw ha instanceof J&&"XPTY0004"===ha.code&&(ha.code="FORG0006"),ha;}}))}}function e(c,d){if(2!==d.length&&5!==d.length)throw new J("Wrong number of arguments ("+ +d.length+") for "+c,"XPST0017");}function l(c,d){c=c[0].next();if(null===c)return Tb;if("timezone"===d)return null===c.ta?Tb:Ub(D.dayTimeDuration.Yh(c.ta));if("seconds"===d)return d=gb(c),ac(d.getUTCSeconds()+d.getUTCMilliseconds()/1E3);c=gb(c)[d]();"getUTCMonth"===d&&c++;return Zb(c)}function z(c,d){c=c[0].next();return null===c?Tb:5!==d?Zb(qb(c)[d]*rb(c)):ac(qb(c)[d]*rb(c))}function v(c,d,n){function m(ma,na){return Ub(Sa.codes[d].fromDate(ma,na))}const u=c[0].next();if(!u)return Tb;n=n.fixed.zb.getTimezoneOffset(); +if(c[1]){var Q=c[1].next();c=null!==Q?Q.Ca/6E4:null;if(null!==c&&(-840>c||840{u=Q.evaluate(m?[u,[ma]]:[[ma],u],d,n).expand()});return Pb(u)}let p=null,f=null;const I=fc,D=Sa.XS,r=I.va;return{abs:function(c){c=c[0].next();return null===c?Tb:Ub(c.abs())},"accumulator-after":function(c,d,n){c=a(c[0],d,n,"XTDE3340");return Pb(Rd.dj(n,c,d.getCurrentFocus(),d))},"accumulator-before":function(c,d,n){c=a(c[0],d,n,"XTDE3340");return Pb(Rd.ej(n,c,d.getCurrentFocus(),d))},"adjust-date-to-timezone":function(c,d){return v(c,"AA",d)},"adjust-dateTime-to-timezone":function(c, +d){return v(c,"AM",d)},"adjust-time-to-timezone":function(c,d){return v(c,"AT",d)},"analyze-string":function(c,d){const n=b(c[0]);var m=d.resultDocument.createDocumentFragment();const u=dc.za,Q=d.resultDocument.createElementNS(u,"analyze-string-result");m.appendChild(Q);if(""===n)return Ub(Q);m=c[1].next().toString();c=c[2]?c[2].next().toString():"";ee.kg(n,m,c,!1,!1).forEach(function(ma){let na;if(ma.Ac){let ca;ma=ma.groups;na=d.resultDocument.createElementNS(u,"match");var O=0;for(let x=1;xO&&(O=d.resultDocument.createTextNode(ma[0].substring(O,ca)),na.appendChild(O));O=d.resultDocument.createElementNS(u,"group");O.setAttribute("nr",x);const E=d.resultDocument.createTextNode(ma[x]);O.appendChild(E);na.appendChild(O);O=ca+ma[x].length}Oee.vf(Q,d,u,n,!0,!0));u.close();return m.iter()},count:function(c){return Zb(c[0].count())},"current-date":function(c,d){return Ub(D.Oc.fromDate(d.fixed.zb,-d.fixed.zb.getTimezoneOffset()))},"current-dateTime":function(c,d){return Ub(D.vd.fromDate(d.fixed.zb,-d.fixed.zb.getTimezoneOffset()))},"current-group":function(){throw new J("The current-group() function cannot be invoked dynamicaly","XTDE1061");}, +"current-grouping-key":function(){throw new J("The current-grouping-key() function cannot be invoked dynamicaly","XTDE1071");},"current-merge-group":function(c,d){if(null===d.currentMergeGroup)throw new J("There is no current merge group","XTDE3480");if(c[0]){c=c[0].next().value;if(d=d.currentMergeGroup.groups[c])return Pb(d);throw new J("Unknown merge source "+c,"XTDE3490");}return Pb(d.currentMergeGroup.Ig)},"current-merge-key":function(c,d){if(null===d.currentMergeGroup)throw new J("There is no current merge group", +"XTDE3510");return Pb(d.currentMergeGroup.keys)},"current-output-uri":function(c,d){c=d.getCurrentOutputURI();return null==c||"function"===d.tempOutputState?Tb:Ub(c)},"current-time":function(c,d){return Ub(D.Bf.fromDate(d.fixed.zb,-d.fixed.zb.getTimezoneOffset()))},data:function(c,d){return c[0].mapOneToMany(d.fixed.evaluator.atomize)},dateTime:function(c){const d=c[0].next();c=c[1].next();if(null===d||null===c)return Tb;let n="";if(null!==d.ta)if(null===c.ta)n=jb(d);else if(d.ta!==c.ta)throw new J("timezones are incompatible ", +"FORG0008");return Ub(D.dateTime.fromString(d.toString().substring(0,10)+"T"+c.toString()+n))},"day-from-date":function(c){return l(c,"getUTCDate")},"day-from-dateTime":function(c){return l(c,"getUTCDate")},"days-from-duration":function(c){return z(c,2)},"deep-equal":function(c,d,n){d=Nd.Kb(n,c[2],"equals",d);return bc(Ld(c[0],c[1],d))},"default-collation":function(){return Yb(Nd.Nc)},"default-language":function(){return Ub(D.Xb.fromString("en"))},"distinct-values":function(c,d,n){d=Nd.jf(n,c[1], +d);const m=Nd.Ef(d);return c[0].filter(function(u){if(m.containsKey(u))return!1;m.inSituPut(u,!0);return!0})},doc:function(c,d,n){c=Td.yh(c,d,n);if(null===c)return Ub(null);try{let m=Td.uc(c,d);const u=d.fixed.Ae;u&&(m=u(m));return Ub(m)}catch(m){throw m;}},"doc-available":function(c,d,n){const m=Td.yh(c,d,n);return null===m?bc(!1):Td.Fi(function(){Td.uc(m,d)})},document:function(c,d,n){const m=d.fixed.evaluator;let u,Q;if(c[1]&&(u=I.Za(c[1].next()),!u))throw new J("No base URI available for second argument of document()", +"XTDE1162");u||(Q=m.staticBaseUri(n,d));const ma=d.fixed.Ae;return I.Vc(c[0].mapOneToMany(function(na){const O=u?u:I.Q(na)?I.Za(na):Q;return m.atomize(na).mapOneToOne(function(ca){if(null===O)throw new J("No base URI for document('"+ca+"')","XTDE1162");ca=Td.uc(ya.resolveUri(ca.toString(),O),d);null!==ma&&(ca=ma(ca));return ca})}))},"document-uri":function(c){c=c[0].next();return null!==c&&9===c.nodeType&&c._saxonDocUri?Ub(D.anyURI.fromString(c._saxonDocUri)):Tb},"element-available":function(c,d, +n){c=a(c[0],d,n,"XTDE1440","##local").split("}");if(d="http://www.w3.org/1999/XSL/Transform"===c[0].substring(2))null==f&&(f=ya.resource("elements")),f[c[1]]||(d=!1);return bc(d)},"element-with-id":function(c,d){return A(c,d,"element-with-id")},empty:function(c){return bc(null===c[0].next())},"encode-for-uri":function(c){c=encodeURIComponent(b(c[0])).replace(/[!'()*]/g,function(d){return"%"+d.charCodeAt(0).toString(16).toUpperCase()});return Yb(c)},"ends-with":function(c,d,n){const m=b(c[0]),u=b(c[1]); +c=Nd.Kb(n,c[2],"endsWith",d);return bc(c(m,u))},"environment-variable":function(){return Tb},error:function(c){if(void 0===c[0])throw new J("fn:error() invoked","FOER0000");var d=c[0].next();d=d?d.toEQName():"FOER0000";const n=c[1]?b(c[1]):"";d=new J(n,d);c[2]&&(d.errorObject=c[2].next());throw d;},"escape-html-uri":function(c){return Yb(ld.escape(b(c[0]),function(d){return 32>d||126Pb(u.get(m.atomize(Q).next())));if(u instanceof id)return c[0].mapOneToMany(function(Q){Q=m.atomize(Q).next();Q=D.numeric.matches(Q)? +Q.toNumber():D.double.I(Q).toNumber();return Pb(u.get(Q))});Aa.fa("for-each() function object not instance of XdmFunction | XdmArray | XdmMap")},"for-each-pair":function(c,d,n){let m=c[2].expand();if(1!==m.length)throw new J("for-each-pair() must have exactly one function item as the third argument. Supplied length "+m.length,"XPTY0004",n);m=m[0];m instanceof jd.XdmFunction||Aa.fa("Function object not instance of XdmFunction");let u=[];const Q=c[0];c=c[1];let ma=Q.next(),na=c.next();for(;ma&&na;)u= +u.concat(m.evaluate([[ma],[na]],d,n).expand()),ma=Q.next(),na=c.next();return Pb(u)},"function-arity":function(c){c=c[0].next();return Ub(D.integer.fromNumber(c instanceof lc||c instanceof id?1:c.arity))},"function-available":function(c,d,n){let m=!1;const u=a(c[0],d,n,"XTDE1400",dc.za),Q=c[1]?c[1].next().toNumber():-1,ma=d.fixed.xa;Object.keys(ma).forEach(function(na){na=ma[na];na.name===u&&na.actor&&"function"===na.actor.N&&(0>Q?m=!0:(na=ld.db(na.actor,"arg").length,Q===na&&(m=!0)))});m||(c=D.QName.fromEQName(u), +null==p&&(p=ya.resource("functions")),m=(d=p[c.q])&&d[c.local]?"concat"===c.local&&c.q===dc.za&&(-1===Q||2<=Q)?!0:0<=Q?0<=d[c.local].indexOf(Q):!0:!1);return bc(m)},"function-lookup":function(c,d,n){const m=c[0].next();c=c[1].next().toNumber();var u=Pd.find("SaxonJS").XPath;const Q=d.newContext(!0);Q.Pa=!0;u=u.getFnSignature(m,c,Q);if(!u)return Tb;d=u.isUserFunction?new jd.Vf(u,d):m.q===dc.ac?new jd.Qf(u,m,n):new jd.Ge(u,m,c,n,d);return Ub(d)},"function-name":function(c){c=c[0].next();if(!(c instanceof +jd.XdmFunction))throw new J("Input to function-name() is not an XdmFunction ","XXXX9999");return c.Wb()&&c.Wb().q!==dc.Zg?Ub(c.Wb()):Tb},"generate-id":function(c){c=c[0].next();return Yb(c?h(c):"")},"has-children":function(c){return bc(null!==r.wa(c[0].next()).next())},head:function(c){return Ub(c[0].next())},"hours-from-dateTime":function(c){return l(c,"getUTCHours")},"hours-from-duration":function(c){return z(c,3)},"hours-from-time":function(c){return l(c,"getUTCHours")},id:function(c,d){return A(c, +d,"id")},idref:function(){return Tb},"implicit-timezone":function(c,d){return Ub(D.dayTimeDuration.Yh(-d.fixed.zb.getTimezoneOffset()))},"index-of":function(c,d,n){const m=Xb(c[0]),u=c[1].next();c=Nd.Kb(n,c[2],"equals",d);const Q=Nd.rj(c);return m.mapOneToOne(function(ma){try{return Q(ma,u)?D.integer.fromNumber(m.position):null}catch(na){return null}})},innermost:function(c,d,n){const m=d.fixed.evaluator.qb(n,"p")?c[0]:I.Vc(c[0]);return new Rb(function*(){let u=null,Q;for(;null!=(Q=m.next());)if(u)if(r.Lc(Q).some(ma=> +ma===u))u=Q;else{const ma=u;u=Q;yield ma}else u=Q;u&&(yield u)}())},"in-scope-prefixes":function(c){c=c[0].next();return Pb(I.inScopeNamespaces(c).map(function(d){return D.string.fromString(d.prefix)}))},"insert-before":function(c){const d=c[1].next().value,n=c[2],m=Xb(c[0]);return 1>d?Vb([n,m]):d>m.last()?Vb([m,n]):m.mapOneToMany(function(u){return m.position===d?Vb([c[2],Ub(u)]):Ub(u)})},"iri-to-uri":function(c){return Yb(ld.escape(b(c[0]),function(d,n){return 32>=d||126"{}|\\^`]/.test(n)}))}, +"json-doc":function(c,d,n){n=Td.Xe(c,d,n);if(!n)return Tb;n=Td.wj(n,d);c=c[1]?c[1].next():null;return Ub(Sd.Gd(n,c,d))},"json-to-xml":function(c,d,n){const m=d.fixed.evaluator;var u=c[0].next();if(null===u)return Tb;c=c[1]?c[1].next():null;u=Sd.mk(u.toString(),c,d);c=d.resultDocument.createDocumentFragment();c.appendChild(u);c._saxonBaseUri=m.staticBaseUri(n,d);return Ub(c)},key:function(c,d,n){function m(V){V=S?D.string.I(V):V;return H.containsKey(V)?(V=Pb(H.get(V)),B===E?V:V.filter(function(ha){return null!== +r.Ka(ha).filter(function(w){return w===E}).next()})):Tb}function u(V){return{visibility:"PRIVATE",La:V,zi:na,actor:V,$e:V.binds.split(" ").map(function(ha){return parseInt(ha,10)})}}const Q=d.fixed.evaluator;var ma=a(c[0],d,n,"XTDE1260");const na=Q.fe(n,d),O=na.keys[ma];if(!O)throw new J("Unknown key "+ma,"XTDE1260");const ca=O.Wg,x=Q.qb(O.Dd[0],"c");let E,B;if(c[2])E=c[2].next(),I.Q(E)&&(B=I.ic(E));else{var L=d.getCurrentFocus();I.Q(L)&&(B=E=I.ic(L))}if(!B||9!==B.nodeType&&11!==B.nodeType)throw new J("No containing document for key()", +"XTDE1270",n);"_saxonIndexes"in B||(B._saxonIndexes={},B._saxonIndexesBC={});n=B._saxonIndexes;let H=n[ca];if("under construction"===H)throw new J("Definition of key "+ma+" is circular","XTDE0640");let S=!1;if(H)S=B._saxonIndexesBC[ca];else{ma=Nd.jf(O.Dd[0],null,d);H=Nd.Ef(ma,x);n[ca]="under construction";ma=function(ha){return Vb([r.xf(ha),r.namespace(ha),r.attribute(ha)])};L=function(ha){return Vb([r.xf(ha),r.attribute(ha)])};const V=function(ha){return Vb([r.xf(ha),r.namespace(ha)])};for(let ha= +0;haH.get(Y).indexOf(y)&&(H.get(Y).push(y),1c.length+1&&d.substring(0,c.length)===c&&"-"===d.charAt(c.length))},last:function(c,d){d.failIfNoCurrentFocus("XPDY0002","last()");return Zb(d.focus.last())},"load-xquery-module":function(){throw new J("No XQuery processor available","FOQM0006");},"local-name":function(c){c= +I.X(c[0].next());return Yb(c?c.local:"")},"local-name-from-QName":function(c){c=c[0].next();return null===c?Tb:Ub(Sa.type.NCName.fromString(c.local))},"lower-case":function(c){return Yb(b(c[0]).toLowerCase())},matches:function(c){const d=b(c[0]);var n=c[1].next().toString();c=Ma.Yg(c[2]?c[2].next().toString():"");n=Ma.prepareRegex(n,c,d);return bc(0<=d.search(n))},max:g("max"),min:g("min"),"minutes-from-dateTime":function(c){return l(c,"getUTCMinutes")},"minutes-from-duration":function(c){return z(c, +4)},"minutes-from-time":function(c){return l(c,"getUTCMinutes")},"month-from-date":function(c){return l(c,"getUTCMonth")},"month-from-dateTime":function(c){return l(c,"getUTCMonth")},"months-from-duration":function(c){return z(c,1)},name:function(c){c=I.X(c[0].next());return Yb(c?c.toString():"")},"namespace-uri":function(c){c=I.X(c[0].next());return Ub(D.anyURI.fromString(c?c.q:""))},"namespace-uri-for-prefix":function(c){var d=b(c[0]);c=c[1].next();d="xml"===d?dc.oc:kc(c,""===d?null:d);return null!== +d?Ub(D.anyURI.fromString(d)):Tb},"namespace-uri-from-QName":function(c){c=c[0].next();return null===c?Tb:Ub(D.anyURI.fromString(c.q))},nilled:function(c){return(c=c[0].next())&&1===c.nodeType?bc(!1):Tb},"node-name":function(c){return Ub(I.X(c[0].next()))},"normalize-space":function(c){c=b(c[0]);return Yb(Da(c))},"normalize-unicode":function(c){if(String.prototype.normalize){const d=b(c[0]);c=c[1]?c[1].next().toString().toUpperCase().trim():"NFC";if(["NFC","NFD","NFKC","NFKD"].includes(c))return Yb(d.normalize(c)); +if(""===c)return Yb(d)}throw new J("normalize-unicode(): not supported on this Javascript platform","FOCH0003");},not:function(c,d){return bc(!d.fixed.evaluator.wd(c[0]))},number:function(c){return Ub(Sa.XS.numeric.Fd(c[0].next()))},"one-or-more":function(c){c=Kb(c[0]);if(null===c.ma())throw new J("Required length >= 1, actual length zero","FORG0004");return c},outermost:function(c,d,n){d=d.fixed.evaluator.qb(n,"p");c=c[0];d||(c=I.Vc(c));let m=null;return c.filter(function(u){if(null===m)return m= +u,!0;if(r.Lc(u).some(Q=>Q===m))return!1;m=u;return!0})},"parse-ietf-date":function(c){return c[0].mapOneToOne(function(d){function n(E){return 1===E.length?"0"+E:E}function m(){throw new J("Invalid IETF date/time "+d.toString(),"FORG0010");}var u=d.toString().trim().toLowerCase();u=u.replace(/^(monday|tuesday|wednesday|thursday|friday|saturday|sunday|mon|tue|wed|thu|fri|sat|sun),?\s+/,"");let Q;let ma,na;if(/^[a-z]/.test(u))if(Q=/^([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?\s+(\d+)$/, +u=Q.exec(u),null!==u){var O=u[1];var ca=u[2];na=u[3];var x=u[4];ma=u[5]}else m();else Q=/^(\d+)(?:\s*-\s*|\s+)([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?$/,u=Q.exec(u),null!==u?(ca=u[1],O=u[2],ma=u[3],na=u[4],x=u[5]):m();2===ma.length&&(ma="19"+ma);O="jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec".indexOf(O||"*");0>O&&m();u={ut:"Z",utc:"Z",gmt:"Z",est:"-05:00",edt:"-04:00",cst:"-06:00",cdt:"-05:00",mst:"-07:00",mdt:"-06:00",pst:"-08:00", +pdt:"-07:00"};/^[0-9]:/.test(na)&&(na="0"+na);5===na.length&&(na+=":00");x&&(x=/([a-z]+)|([+\-]\d\d?:?(?:\d\d)?)(?:\s*\(\s*([a-z]+)\s*\))?$/.exec(x),(!x[3]||x[3]in u)&&(!x[1]||x[1]in u)||m(),x=x[1]?x[1]:x[2],/^[+\-][0-9]((:|$)|[0-9]{2}$)/.test(x)&&(x=x.charAt(0)+"0"+x.substring(1)),x in u?x=u[x]:3===x.length?x+=":00":4===x.length?x+="00":5===x.length&&(x=x.substring(0,3)+":"+x.substring(3)));ca=ma+"-"+n((O/4+1).toString())+"-"+n(ca)+"T"+na+(x||"Z");try{return D.dateTime.fromString(ca)}catch(E){throw new J("''"+ +d.toString()+"'' is not a valid IETF date","FORG0010");}})},"parse-json":function(c,d){const n=c[0].next();if(null===n)return Tb;c=c[1]?c[1].next():null;return Ub(Sd.Gd(n.toString(),c,d))},"parse-xml":function(c,d,n){c=c[0].next();if(null===c)return Tb;const m=d.fixed.evaluator;try{const u=ya.parseXmlFromString(c.toString());u._saxonBaseUri=m.staticBaseUri(n,d);return Ub(u)}catch(u){throw new J(u.message,"FODC0006");}},"parse-xml-fragment":function(c,d,n){const m=d.fixed.evaluator;return c[0].mapOneToOne(function(u){const Q= +/^<\?xml(?:\s+version\s*=\s*(['"])1.[0-9]+['"])?\s+encoding\s*=\s*(['"][A-Za-z](?:[A-Za-z0-9._\-])*)['"]\s*\?>/;u=u.toString();if(/^<\?xml/.test(u)&&!Q.test(u))throw new J("Invalid XML header for a text declaration","FODC0006");u=u.replace(Q,"");let ma;try{ma=ya.parseXmlFromString(""+u+"")}catch(O){throw new J(O.message,"FODC0006");}const na=d.resultDocument.createDocumentFragment();r.wa(ma.documentElement).forEachItem(function(O){na.appendChild(O)});na._saxonBaseUri=m.staticBaseUri(n,d);return na})}, +path:function(c){return c[0].mapOneToOne(function(d){function n(m){return r.Dc(m).filter(function(u){return m.nodeType===u.nodeType})}return D.string.fromString(function(m){if([9,11].includes(m.nodeType))return"/";let u="",Q=m;for(;Q;){m=I.Oa(Q);if(!m)return[9,11].includes(Q.nodeType)?u:"Q{http://www.w3.org/2005/xpath-functions}root()"+u;switch(Q.nodeType){case 9:case 11:return u;case 1:const ma=I.X(Q);u=`/${ma.toEQName()}[${1+n(Q).filter(na=>I.X(na).equals(ma)).count()}]${u}`;break;case 3:case 4:u= +`/text()[${1+n(Q).count()}]`;break;case 8:u=`/comment()[${1+n(Q).count()}]`;break;case 7:u=`/processing-instruction(${Q.target})[${1+n(Q).filter(na=>Q.target===na.target).count()}]`;break;case 2:u=`/@${0>Q.name.indexOf(":")?Q.name:I.X(Q).toEQName()}`;break;default:u=`/namespace::${""!==Q.prefix?Q.prefix:"*[Q{"+dc.za+'}local-name()=""]'}`}Q=m}}(d))})},"prefix-from-QName":function(c){return c[0].mapOneToOne(function(d){return""===d.prefix?null:D.jh.fromString(d.prefix)})},position:function(c,d){d.failIfNoCurrentFocus("XPDY0002", +"position()");return Zb(d.focus.position)},QName:function(c){var d=c[1].next().value;const n=d.split(":"),m=2===n.length?n[0]:"";c=b(c[0]);if(""!==m&&""===c)throw new J("Prefix but no URI for QName()","FOCA0002");if(2===n.length&&""===m||""!==m&&!Ma.isNCName(m))throw new J(d+" not valid for QName()","FOCA0002");d=2===n.length?n[1]:n[0];if(!Ma.isNCName(d))throw new J(d+" not valid local name for QName()","FOCA0002");return Ub(D.QName.fromParts(m,c,d))},"random-number-generator":function(c,d){c=new lc; +c.inSituPut(D.string.fromString("number"),[D.double.fromNumber(Math.random())]);var n=D.QName.fromParts("fn",dc.za,"random-number-generator"),m=Pd.find("SaxonJS").XPath,u=m.getFnSignature(n,0,d);n=new jd.Ge(u,n,0,{},d);c.inSituPut(D.string.fromString("next"),[n]);n=D.QName.fromParts("saxon",dc.ib,"permute");u=d.newContext();u.Pa=!0;m=m.getFnSignature(n,1,u);d=new jd.Ge(m,n,1,{},d);c.inSituPut(D.string.fromString("permute"),[d]);return Ub(c)},"regex-group":function(c,d){c=c[0].next().toNumber();try{return Yb(d.regexGroups[c]|| +"")}catch(n){return Yb("")}},remove:function(c){const d=c[1].next().toNumber(),n=Xb(c[0]);return n.filter(function(){return n.position!==d})},replace:function(c){const d=b(c[0]),n=Ma.Yg(c[3]?c[3].next().toString():"");let m=0;const u=Ma.prepareRegex(c[1].next().toString(),n+"g",null,Q=>{m=Q});if(u.test(""))throw new J("Regular expression matches zero-length string","FORX0003");c=Ma.nj(c[2].next().toString(),n,m);return Yb(d.replace(u,c))},"resolve-QName":function(c){const d=c[1].next();return c[0].mapOneToOne(function(n){try{return I.sk(d, +n.toString(),!0)}catch(m){throw m instanceof J&&"FORG0001"===m.code&&(m.code=Ma.ji(n)?"FONS0004":"FOCA0002"),m;}})},"resolve-uri":function(c,d,n){const m=d.fixed.evaluator;if(c[1]){let u=c[1].next();d=u?u.toString():m.staticBaseUri(n,d)}else d=m.staticBaseUri(n,d);c=c[0].next();if(null===c)return Tb;c=c.toString();n=I.Wc(c);if(null!==d&&(d=d.replace(/^file:\/(?!\/)/,"file:///"),/#/.test(d)))throw new J("Base URI "+d+" contains a fragment identifier","FORG0002");if(!n&&null!==d&&!I.Wc(d))throw new J("resolve-uri: invalid URI (base="+ +d+", relative="+c+")","FORG0002");c=n?c:ya.resolveUri(c,d).toString();return Ub(D.anyURI.fromString(c))},reverse:function(c){return Pb(c[0].expand().slice().reverse())},root:function(c){return c[0].mapOneToMany(d=>r.Ka(d)).filter(d=>!I.Oa(d))},round:function(c){return c[0].mapOneToOne(d=>d.round(c[1]?Math.min(c[1].next().value,1E4):0))},"round-half-to-even":function(c){return c[0].mapOneToOne(d=>d.wf(c[1]?Math.min(c[1].next().value,1E4):0))},"seconds-from-dateTime":function(c){return l(c,"seconds")}, +"seconds-from-duration":function(c){return z(c,5)},"seconds-from-time":function(c){return l(c,"seconds")},serialize:function(c,d){function n(Q){Q.method="xml";Q.indent=!1;Q["omit-xml-declaration"]=!0}const m=new le.StringWriter,u={};if(c[1]){const Q=c[1].next();if(null===Q)n(u);else if(fc.Q(Q)){if(!fc.Hg(Q))throw new J("Second argument supplied to serialize() is wrong kind of node","XPTY0004");le.parseParamDoc(Q,u,"XPTY0004")}else{if(!(Q instanceof lc))throw new J("Second argument supplied to serialize() does not match required type", +"XPTY0004");const ma=function(na,O,ca,x,E=!1){const B=Sa.XS.string.fromString(na);if(Q.containsKey(B)){let L=Q.get(B);if(0H.push(S));L=H}else throw new J("fn:serialize(): supplied value of "+B+" is invalid","XPTY0004");if(1!==L.length&&!ca&&!E||!L.every(H=>"AZ"===H.code||O.matches(H)))throw new J("fn:serialize(): supplied value of "+B+" is invalid","XPTY0004");u[na]=E&&0===L.length?null:x(ca?L:"AZ"===L[0].code?O.I(L[0]):L[0])}};"doctype-public doctype-system encoding item-separator json-node-output-method media-type method normalization-form version".split(" ").forEach(na=> +ma(na,Sa.XS.string,!1,O=>O.toString()));"allow-duplicate-names byte-order-mark escape-uri-attributes include-content-type indent omit-xml-declaration undeclare-prefixes".split(" ").forEach(na=>ma(na,Sa.XS.boolean,!1,O=>O.toBoolean()));ma("standalone",Sa.XS.boolean,!1,na=>na.toBoolean(),!0);ma("html-version",Sa.XS.$a,!1,na=>na.toNumber());["cdata-section-elements","suppress-indentation"].forEach(na=>ma(na,Sa.XS.QName,!0,O=>{let ca="";for(let x=0;xE instanceof lc))throw new J("fn:serialize(): supplied value of "+O+" is invalid","XPTY0004");ca=ca[0];var x=function(E){return D.string.matches(E)};if(!ca.conforms(x,x,function(E){return 1===E}))throw new J("fn:serialize(): supplied value of "+O+" is invalid","XPTY0004");O=ld.nb(ca,!0);ca={min:0,max:0,oa:{}};for(let E in O)if(O.hasOwnProperty(E)){if(1< +E.length)throw new J("fn:serialize(): Keys in a character map must all be one-character strings. Found "+E,"SEPM0016");x=E.codePointAt(0);0===ca.min?ca.min=x:xca.max&&(ca.max=x);ca.oa[x]=O[E]}u[na]=ca}})("use-character-maps")}}else n(u);le.serialize(c[0].expand(),u,m,d);return Yb(m.toString())},snapshot:function(c,d,n){return c[0].mapOneToOne(function(m){function u(L){if(0ma.append(S));0ma.append(S));r.namespace(ca).forEachItem(S=>ma.append(S))},ma):ee.vf(m,d,ma,n,!0,!0),E=Q.ec.lastChild)},ma)}}const Q=ae(d),ma=ee.getComplexContentOutputter(Q);if(!I.Oa(m))return ee.vf(m,d,ma,n,!0,!0),ma.close(),Q.iter().next();const na=m.nodeType,O=I.X(m);var ca=m,x=[2,13].includes(na);x&&(ca=I.Oa(ca));ma.startDoc();let E;const B=r.Lc(ca).expand();0I.X(L).equals(O)).next();case 13:return I.va.namespace(E).filter(L=>I.X(L).equals(O)).next();default:return E}})},sort:function(c,d,n){const m=Nd.jf(n,c[1],d);let u=ld.atomize;if(c[2]){const Q=c[2].next();u=function(ma){return Q.evaluate([[ma]],d,n)}}return Pb(c[0].expand().slice().sort(function(Q,ma){return c[1]?Od(u(Q),u(ma),m):Od(u(Q),u(ma))}))},"starts-with":function(c,d,n){const m=b(c[0]),u=b(c[1]);c=Nd.Kb(n,c[2],"startsWith",d);return bc(c(m, +u))},"static-base-uri":function(c,d,n){return(c=d.fixed.evaluator.staticBaseUri(n,d))?Ub(D.anyURI.fromString(c)):Tb},"stream-available":function(){return bc(!1)},string:function(c,d){d=d.fixed.evaluator;c=c[0].next();if(!c)return Yb("");if(d.isArray(c)||d.pe(c)||d.Bd(c))throw new J("Input to string() is a function item ","FOTY0014");return d.atomize(c).mapOneToOne(function(n){return D.string.I(n)})},"string-join":function(c){let d="";const n=c[1]?c[1].next().value:"";let m,u=!0;for(;null!==(m=c[0].next());)u|| +(d+=n),d+=m.toString(),u=!1;return Yb(d)},"string-length":function(c){return Zb(Ia(b(c[0])).length)},"string-to-codepoints":function(c){return Pb(Ia(b(c[0])).map(D.integer.fromNumber))},subsequence:function(c){const d=Math.round(c[1].next().toNumber()),n=c[2]?d+Math.round(c[2].next().toNumber()):Number.POSITIVE_INFINITY;return new Sb(c[0],d,n)},substring:function(c){var d=Math.round(c[1].next().toNumber());const n=c[2]?d+Math.round(c[2].next().toNumber()):Number.POSITIVE_INFINITY;c=new Rb(b(c[0])[Symbol.iterator]()); +d=new Sb(c,d,n);return Yb(d.expand().join(""))},"substring-after":function(c,d,n){let m="";const u=b(c[0]),Q=b(c[1]);let ma;-1!==(ma=Nd.Kb(n,c[2],"indexOf",d)(u,Q))&&(m=u.substring(ma+Q.length));return Yb(m)},"substring-before":function(c,d,n){let m="";const u=b(c[0]),Q=b(c[1]);let ma;-1!==(ma=Nd.Kb(n,c[2],"indexOf",d)(u,Q))&&(m=u.substring(0,ma));return Yb(m)},sum:function(c,d){d=c[0].mapOneToOne(d.fixed.evaluator.Si);const n=d.next();if(null===n)return 1===c.length?Zb(0):c[1];try{return tb["a+a"](n, +n),Ub(q(d,n,tb["a+a"]))}catch(m){throw m instanceof J&&"XPTY0004"===m.code&&(m.code="FORG0006"),m;}},"system-property":function(c,d,n){c=D.QName.fromEQName(a(c[0],d,n,"XTDE1390"));d="";c.q===dc.Jc&&(d=ya.systemProperties()[c.local]);c.q===dc.ib&&(d=ya.extraProperties()[c.local]);d||="";return Yb(d)},tail:function(c){const d=Xb(c[0]);return d.filter(function(){return 1!==d.position})},"timezone-from-date":function(c){return l(c,"timezone")},"timezone-from-dateTime":function(c){return l(c,"timezone")}, +"timezone-from-time":function(c){return l(c,"timezone")},tokenize:function(c){var d=b(c[0]);c[1]||(d=Da(d));if(""===d)return Tb;var n=c[1]?c[1].next().toString():"[ \\n\\r\\t]+";n=ee.kg(d,n,c[2]?c[2].next().toString():"",!1,!0);d=c[1]&&n[0].Ac;const m=n[n.length-1];c=c[1]&&m.Ac;n=n.filter(function(u){return!u.Ac}).map(function(u){return u.string});d&&n.unshift(D.string.fromString(""));c&&n.push(D.string.fromString(""));return Pb(n)},trace:function(c,d){const n=c[0].expand();Aa.Qa("fn:trace: "+(2=== +c.length?c[1].next().toString()+": ":"")+Aa.showValue(n),1,d.fixed.Ga);return Pb(n)},transform:function(c,d,n){function m(pa){pa=D.string.fromString(pa);return Z.get(pa)}function u(pa,k="FOXT0002"){throw new J(pa,k);}function Q(pa,k,F=null){if("matches"in k&&"name"in k){if(k.matches(pa))return pa;throw new J(null!==F?`The required item type of ${F} is ${k.name}`:`The required item type is ${k.name}`,"XPTY0004");}return pa}function ma(pa,k){if(Oa(pa))return pa;throw new J(`The required item type of ${k} is string|unTypedAtomic|anyURI`, +"XPTY0004");}function na(pa,k,F=T=>T){(pa=m(pa))&&(pa=Pb(pa).ma())&&(K[k]=F(pa))}function O(pa){return function(k){k instanceof lc||u("The value of the option "+pa+" in fn:transform() must be of type map(xs:QName,item()*)","XPTY0004");if(k.conforms(F=>{D.QName.matches(F)||u("The keys of the "+pa+" option in fn:transform() must be of type xs:QName. Supplied value:"+F.toString());return!0},()=>!0,()=>!0))return k}}function ca(pa,k){na(pa,k,O(pa))}function x(pa){pa.C&&pa.C.forEach(function(k){k.parentNode= +pa;x(k)})}function E(pa,k,F){if(!S.N)throw new J("No XSLT processor is available to support fn:transform(). If using SaxonJS2.rt.js, it does not contain an XSLT compiler ","FOXT0001",n);let T={stylesheetParams:new lc,tunnelParams:{},functionParams:{},isDynamicStylesheet:!0,destination:"application",initialMode:"compile-complete",templateParams:{"Q{}options":{noXPath:!1}}};for(let t in k)"compiler.options"===t?T.tunnelParams["Q{}compiler.options"]=k[t]:T.templateParams["Q{}options"][t]=k[t];T.stylesheetParams.inSituPut(Sa.XS.QName.fromParts("", +"","staticParameters"),[F]);T.stylesheetInternal=S;T.outputProperties={};x(S);"true"===S.relocatable&&(T.isRelocatableStylesheet=!0);k=L.checkOptions(T);L.internalTransform(S,pa,k);return k.principalResult}function B(pa){pa=H.atomize(pa).expand();if(1ma(B(pa),"stylesheet-location").toString());na("stylesheet-node","stylesheetNode");na("stylesheet-text","stylesheetText");na("package-location","packageLocation",pa=>ma(B(pa),"package-location").toString());na("package-node","packageNode");na("package-text","packageText");let ha=0;"stylesheetLocation stylesheetNode stylesheetText packageLocation packageNode packageText".split(" ").forEach(pa=>{K[pa]&&ha++});1!==ha&&u("A stylesheet must be supplied as an option to fn:transform(), by exactly one of 'stylesheet-location', 'stylesheet-node', 'stylesheet-text', 'package-location', 'package-node' or 'package-text'"); +na("source-node","sourceNode");na("global-context-item","globalContextItem");(c=m("source-node")[0])&&!m("global-context-item")[0]&&I.Oa(c)&&(K.globalContextItem=c.ownerDocument);(c=m("initial-match-selection"))&&0Q(pa,D.QName,"initial-template").toEQName());na("initial-mode","initialMode",function(pa){return["#unnamed","#default"].includes(pa.toString())?pa.toString():Q(pa,D.QName,"initial-mode").toEQName()});na("initial-function", +"initialFunction",pa=>Q(pa,D.QName,"initial-function").toEQName());na("static-params","staticParams");na("base-output-uri","baseOutputURI");na("stylesheet-base-uri","stylesheetBaseURI",pa=>pa.toString());na("delivery-format","destination",pa=>pa.toString());let w=K.destination;w&&!["raw","document","serialized"].includes(w)&&u("The value of the delivery-format option to fn:transform() must be one of 'raw', 'document' or 'serialized'. Supplied value is "+w);w||="document";c=(c=m("enable-messages"))&& +1===c.length?c[0].toBoolean():!1;let M=m("enable-assertions");M=M&&1===M.length?M[0].toBoolean():!1;var aa=null,ja=null;if(K.stylesheetNode){var Y=K.stylesheetNode._saxonBaseUri||"NoStylesheetBaseURI";if(9==K.stylesheetNode.nodeType)ja=K.stylesheetNode.cloneNode(!0);else if(11==K.stylesheetNode.nodeType){ja=ya.createDocument();var y=K.stylesheetNode.childNodes;for(var da=0;da10*X&&u("No suitable XSLT processor is available; requested XSLT version in fn:transform() is: "+ +(V/10).toString());K.sourceNode&&K.initialSelection&&u("Only one of 'source-node' or 'initial-match-selection' must be supplied to fn:transform() for apply-templates invocation");K.initialTemplate&&K.initialMode&&u("Only one of 'initial-template' or 'initial-mode' should be supplied to fn:transform()");if(K.sourceNode){V=K.sourceNode;var W=V.cloneNode(!0);W._saxonBaseUri=V._saxonBaseUri;W._saxonDocUri=V._saxonDocUri}K.baseOutputURI||(K.baseOutputURI="",C=!0);ca("stylesheet-params","stylesheetParams"); +ca("template-params","templateParams");ca("tunnel-params","tunnelParams");na("function-params","functionParams",function(pa){Aa.ba(pa instanceof id);return pa.value});"serialized"===w&&na("serialization-params","outputProperties",pa=>H.nb(pa,!0));K.deliverResultDocument=function(){let pa=this;return new ne(w,function(k,F){pa.resultDocuments[k.toString()]="serialized"===w?[Sa.XS.string.fromString(F)]:fc.Q(F)?[F]:null===F?[]:F})};K.deliverMessage=function(pa){ya.ei()(pa);this.ri.push([pa])};let ka= +{};V=Pb(m("collections")).ma();null!==V&&(ka=H.nb(V,!0));K.collectionFinder=function(pa){return"undefined"===typeof pa?null:ka[pa]};V=!["raw","serialized"].includes(w);let ea,va;try{x(aa);"true"===aa.relocatable&&(K.isRelocatableStylesheet=!0);if(K.stylesheetNode||K.packageText||K.packageNode)K.stylesheetInternal=aa;va=L.checkOptions(K);L.internalTransform(aa,W,va);ea=va.principalResult}catch(pa){if(pa instanceof J&&pa.Le)throw new J(pa.message,pa.code.toString());throw pa;}if(ea&&V){Aa.ba(Array.isArray(ea)); +W=ae(d);const pa=ee.getComplexContentOutputter(W);pa.startDoc();ea.forEach(k=>pa.append(k));pa.endDoc();pa.close();ea=W.kd}Array.isArray(ea)&&1===ea.length&&Array.isArray(ea[0])&&(ea=ea[0]);W=va.resultDocuments[""];if(void 0!==W){if(Array.isArray(ea)?0=q.length){for(;G=g.length){for(;v=e(q[v],g[G])?l(q[v++]):l(g[G++]);return z}function h(q,g){return g.fixed.evaluator.db(q,"sortKey").map(function(e){return Nd.zk(e,g)})}function A(q){return function(g,e){for(let l=0;ll){v={Ig:[p.item],keys:p.keys,groups:{}};for(l=0;lnew Rb(function*(){for(const t of F){const R=t(T);let U;for(;null!==(U=R.next());)yield U}}())}function h(k){function F(ia){switch(ia){case 1:return"first";case 2:return"second";case 3:return"third";default:return ia+"th"}}k=k.split("|");const T=k[0],t=k[1],R=""===k[2]?"XPTY0004":k[2],U=k[3];return{gd:function(){switch(parseInt(T,10)){case 0:return F(+t+1)+" argument of "+(""===U?"anonymous function":U+"()");case 1:return F(+t+ +1)+" operand of '"+U+"'";case 9:return"operand of '-'";case 2:return"value in '"+U+"' expression";case 3:return"saxon:context-item"===U?"context item":"value of variable $"+U;case 4:const ia=U.split("/");return"@"+ia[1]+" attribute of "+("LRE"===ia[0]?"a literal result element":ia[0]);case 5:return"result of call to "+(""===U?"anonymous function":"function "+U);case 7:return"result of template "+U;case 6:return F(+t+1)+" sort key";case 8:return"value of parameter $"+U;case 11:return"value of the grouping key"; +case 12:return"result of xsl:evaluate";case 13:return"the context item";case 14:return"the context item for the "+"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")[t]+" axis";case 15:return"the value of the "+U+" option";case 17:return"document-order sorter";default:return""}}(),code:R}}function A(k){k=k.trim();if(["true","yes","1"].includes(k))return!0;if(["false", +"no","0"].includes(k))return!1;throw new J("Value must be yes|true|1 or no|false|0","XTDE0030");}function P(k){if(W.Q(k))return Ub(q(k));if(K(k))return Vb(k.value.map(F=>Pb(F))).mapOneToMany(P);if(V(k))throw new J("Cannot atomize a "+(X(k)?"map":"function"),"FOTY0013");return Ub(k)}function q(k){const F=ea.string.fromString,T=ea.untypedAtomic.fromString;switch(k.nodeType){case 9:return T(k.documentElement.textContent);case 11:case 1:case 3:case 4:return T(k.textContent||"");case 2:return T(k.value); +case 8:return F(k.textContent);case 7:return F(k.textContent);case 13:return F(k.q);default:throw new J("Unknown node type "+k.nodeType,"SXJS0003");}}function g(k){return Pb(k).mapOneToMany(P).expand()}function e(k){function F(R){throw new J("Effective boolean value is not defined for "+R,"FORG0006");}function T(){if(null!==k.next())F("an atomic sequence of length > 1");else return!0}var t=k.next();if(null===t)return!1;if(W.Q(t))return!0;if(Sa.ka(t)){if("AB"===t.code)return T()&&t.toBoolean();if(t.isNumeric())return t= +t.toNumber(),T()&&!isNaN(t)&&0!==t;if(Oa(t))return T()&&0!==t.toString().length;F("type "+Sa.$c(t.code))}else X(t)?F("maps"):K(t)?F("arrays"):V(t)?F("functions"):F("value "+Aa.showValue(t))}function l(k,F){const T=tb["i+i"],t=ea.integer.fromNumber(1);return new Hb(k,R=>{R=T(R,t);return 0T.N===F):[]}function v(k,F,T){k=z(k,"withParam");const t=[new lc,new lc];F.tunnelParams.forAllPairs(U=>t[1].inSituPut(U.k,U.v));const R=F.tempOutputState; +F.tempOutputState="template parameter";k.forEach(function(U){const ia=U.name,ua=Q(U,"t")?1:0;t[ua].inSituPut(Sa.XS.QName.fromEQName(ia),d(U)(F).expand())});F.tempOutputState=R;T.localParams=t[0];T.tunnelParams=t[1]}function G(k){return!/[ \t\r\n]/.test(k)}function p(k,F,T){if(k){k=k.split(/\r?\n/);for(let R=0;R{try{const U=T(R).next(),ia=t(R).next();return null===U||null===ia?null:F(U,ia)}catch(U){C(U,k)}}}function I(k,F){if(F.fixed.staticBaseURI)return F.fixed.staticBaseURI;if(F.fixed.Xc)return null;for(;;){if(k.baseUri)return k.baseUri;k=k.parentNode;if(!k)return null}}function D(k,F,T=!1){var t=W.xc(F.resultDocument).createDocumentFragment();t=W.lc(t);t._saxonBaseUri=I(k, +F);const R=F.newContext(!1);T&&(R.resultDocument=F.masterDocument);kd.bk(t,m(k)(R),R);return t}function r(k){const F=d(k),T=n(k),t=k.op;return R=>{const U=F(R),ia=T(R).expand();R=Nd.be(k.comp,R);return Nd.Ag(U,ia,t,R,k)}}function c(k,F){throw new J("The "+k+" construct is not implemented in SaxonJS","SXJS0002",F);}function d(k){return m(k.C[0])}function n(k){return m(k.C[1])}function m(k){if(k){var F=k.ELAB;F||((F=pa[k.N])||Aa.fa("Unknown expr: "+k.N+" parent="+k.p),F=k.ELAB=F(k));return F}}function u(k, +F){k=k.C||[];for(let T=0;T{const T=ae(F),t=ee.getComplexContentOutputter(T);ee.push(k,F,t);t.close();return T.iter()}}function C(k,F){k instanceof J&&!k.xsltLineNr&&za(k,F);throw k;}function Z(k,F){function T(R){return"Context item for template "+k.name+" must be "+R}if(F.noCurrentFocus()&&-1===k.flags.indexOf("o"))throw new J(T("supplied"),"XTTE3090",k);F.noCurrentFocus()||-1!==k.flags.indexOf("s")||(F.focus={});let t=k.cxt;if(t&&!F.noCurrentFocus()&&!oc(t).ga()(F.getCurrentFocus()))throw new J(T("instance of "+ +oc(t).toString()),"XTTE0590",k);}function K(k){return k instanceof id}function X(k){return k instanceof lc||k instanceof M}function V(k){return k instanceof jd.XdmFunction||K(k)||X(k)}function ha(k){var F=Object.assign(k);F.ELAB=void 0;k.C&&(F.C=k.C.map(T=>ha(T)));return F}function w(k,F,T){Aa.ba(Array.isArray(k));Aa.ba(F instanceof pc);const t=F.T();let R=t.p;if(t.o&&!Kd(t.o)(k.length))throw new J("Supplied value "+Aa.showValue(k)+" does not match required cardinality "+t.o+(T?" in "+T():""),"XPTY0004"); +if(0ia.isNumeric()?ia:U.matches(ia)?Sa.XS.double.I(ia):ia instanceof M?Sa.XS.double.fromString(ia.value.toString()):ia);else{const ia=Sa.codes[R],ua=ia.I;"A"!==R&&(k=k.map(Ba=>U.matches(Ba)?ua(Ba):Ba instanceof M?ia.fromString(Ba.value.toString()):Ba));["AO","AF"].includes(R)&&(k=k.map(Ba=>Ba.isNumeric()?ia.I(Ba):Ba));"AS"===R&&(k=k.map(Ba=>Sa.XS.anyURI.matches(Ba)?ia.I(Ba):Ba))}}else if(F.K.Bd())if(["FM","FA"].includes(R))k= +Y(k);else if(F.K instanceof md){const U=F.K.ga();k.every(ia=>U(ia))||(k=k.map(ia=>{if(U(ia))return ia;if(ia instanceof jd.XdmFunction){var ua=F.K;const Ba=ua.g.length;ua={minArgs:Ba,maxArgs:Ba,sig:ua.ea(),alphaTree:ua.T()};return new jd.gh(ua,ia)}return ia}))}if(!F.matches(k))throw new J("Supplied value "+Aa.showValue(k)+" does not match required type "+F.toString()+(T?" in "+T():""),"XPTY0004");}return k}function M(k){this.value=k}function aa(k){this.value=k}function ja(k){function F(t){switch(typeof t){case "undefined":return[]; +case "string":return ea.untypedAtomic.fromString(t);case "number":return ea.double.fromNumber(t);case "boolean":return ea.boolean.fromBoolean(t);case "function":return new M(t);case "object":if(ea.lg.matches(t)||W.Q(t))return t;if(t instanceof id)return t;if(t instanceof jd.XdmFunction||t instanceof lc)return t;if(t instanceof M)return t;if(t instanceof Date)return ea.dateTime.fromString(t.toISOString());if(Array.isArray(t)){const R=[];t.forEach(function(U){R.push(ja(U))});return new id(R)}return null=== +t?[]:t instanceof aa?t.value:new M(t);default:return new M(t)}}function T(t){const R=[];t.forEach(function(U){U=F(U);Array.isArray(U)&&0===U.length||R.push(U)});return R}if(Array.isArray(k))return T(k);k=F(k);return Array.isArray(k)&&0===k.length?[]:[k]}function Y(k){function F(t){if(t instanceof id){const R=[];t.value.forEach(U=>R.push(T(U)));return new id(R)}if(t instanceof M){const R=t.value;if("object"===typeof R){t=new lc;for(const U in R)if(R.hasOwnProperty(U)){const ia=ja(U)[0],ua=ja(R[U]); +t.inSituPut(ia,Y(ua))}return t}}return t}function T(t){const R=[];t.forEach(function(U){U=F(U);Array.isArray(U)&&0===U.length||R.push(U)});return R}Aa.ba(Array.isArray(k));return T(k)}function y(k,F=!1){function T(R){if(Array.isArray(R))throw new J("convertItem() called for an array","SXJS0004");if(null===R)return null;if(ea.string.matches(R)||ea.anyURI.matches(R)||ea.duration.matches(R)||ea.hexBinary.matches(R)||ea.base64Binary.matches(R)||ea.untypedAtomic.matches(R))return R.toString();if(ea.numeric.matches(R))return R.toNumber(); +if(ea.boolean.matches(R))return R.toBoolean();if(ea.dateTime.matches(R)||ea.Oc.matches(R)||ea.vd.matches(R)||ea.Bf.matches(R)||ea.ci.matches(R)||ea.bi.matches(R)||ea.ai.matches(R)||ea.$h.matches(R)||ea.Zh.matches(R))return R.toString();if(ea.QName.matches(R))return R.toEQName();if(W.Q(R))return R;if(R instanceof id){const U=[];0!==R.value.length&&R.value.forEach(function(ia){U.push(y(ia,F))});return U}if(R instanceof lc){if(F){const U={};R.forAllPairs(function(ia){U[ia.k.toString()]=y(ia.v,F)});return U}return new aa(R)}return R instanceof +aa?R:R instanceof M?R.value:new aa(R)}function t(R){const U=[];if(0===R.length)return null;if(1===R.length)return T(R[0]);R.forEach(function(ia){U.push(T(ia))});return U}return Array.isArray(k)?t(k):T(k)}function da(k){return k.mapOneToMany(function(F){return K(F)?Vb(F.value.map(function(T){return da(Pb(T))})):Ub(F)})}const W=fc,ka=W.va,ea=Sa.XS;let va;const pa={acFnRef:function(k){const F=ea.QName.fromEQName(k.name),T=Pd.find("SaxonJS").XPath;return t=>{t=t.newContext(!0);t.Pa=!0;if(t=T.getFnSignature(F, +1,t))return t=new jd.Qf(t,F,k),Ub(t);throw new J("Reference to an unknown constructor function "+F+"#1","XPST0017",k);}},among:function(k){const F=d(k),T=n(k);return t=>{const R=F(t).next();return T(t).filter(U=>W.isSameNode(U,R))}},analyzeString:S,and:function(k){const F=d(k),T=n(k);return t=>bc(e(F(t))&&e(T(t)))},applyImports:S,applyT:S,arith:function(k){const F=tb[k.calc];F||c("arithmetic ("+k.calc+")",k);const T=f(k,F);return t=>Ub(T(t))},arith10:function(k){function F(U){U=U.next();return null=== +U?ea.double.fromNumber(NaN):Oa(U)?ea.double.hf(U.toString()):ea.double.I(U)}const T=d(k),t=n(k),R=tb[k.calc];return U=>Ub(R(F(T(U)),F(t(U))))},array:function(k){const F=(k.C||[]).map(m);return T=>{const t=F.map(R=>R(T).expand());return Ub(new id(t))}},arrayBlock:function(k){const F=(k.C||[]).map(m);return T=>{const t=F.map(R=>R(T).expand());return Ub(new id(t))}},atomic:function(k){const F=Sa.codes[k.type].fromString(k.val);return()=>Ub(F)},atomSing:function(k){const F=d(k);return k.card?T=>F(T).mapOneToMany(P): +T=>{T=F(T).mapOneToMany(P);T=Kb(T);if(null===T.ma())throw T=h(k.diag),new J("The "+T.gd+" is empty",T.code,k);return T}},att:S,attVal:function(k){const F=ea.QName.fromEQName(k.name);return T=>{T.failIfNoCurrentFocus("XPDY0002","@"+F,k);T=T.getCurrentFocus();if(!W.Q(T))throw new J("Context item for 'attVal' must be a node","XPTY0020",k);if(1!==T.nodeType)return Tb;T=""===F.q?null!=T.attributes.getNamedItem(F.local)?T.getAttribute(F.local):null:F.q===dc.oc?null!=T.attributes.getNamedItem("xml:"+F.local)? +T.getAttribute("xml:"+F.local):null:null!=ic(T,F.q,F.local)?jc(T,F.q,F.local):null;return null===T?Tb:Ub(ea.untypedAtomic.fromString(T))}},axis:function(k){const F=oc(k.nodeTest||"").ga(),T=k.name;return t=>{t.failIfNoCurrentFocus("XPDY0002",T+" axis",k);t=t.getCurrentFocus();if(!W.Q(t))throw new J("Context item for "+T+" axis is not a node - supplied:"+Aa.showValue(t),"XPTY0020",k);return W.Ch[T](t).filter(F)}},"break":S,callT:function(k){return F=>{const T=E(k,F,"template"),t=F.newContext(!0);t.currentMergeGroup= +null;t.currentComponent=T;Z(T.actor,t);v(k,F,t);return d(T.actor)(t)}},cast:function(k){const F=d(k),T=Q(k,"e"),t=R=>{R=F(R).next();if(null===R){if(T)return null;throw new J("Empty sequence casting to "+oc(k.as).toString(),"XPTY0004",k);}return R};if(Q(k,"a")){const R=wb(k.as),U="AQ"===R.p?O(k,!0):null,ia=Sa.codes[R.p].I;return ua=>{ua=t(ua);if(null===ua)return Tb;try{var Ba=ia(ua,U);return Ub(Ba)}catch(Fa){if("FORG0001"===Fa.code&&k.diag)throw Ba=h(k.diag),new J("Required item type of "+Ba.gd+" is "+ +oc(k.as).toString()+"; supplied value is "+Aa.Ji(ua),Ba.code,k);if(null!==Fa.code)throw Fa;throw new J("Failed to cast "+Aa.Ji(ua)+" to type "+oc(k.as).toString(),"XPTY0004",k);}}}if(Q(k,"l")){const R=Sa.XS.QName.fromEQName(k.as),U=bd[R.local].fromString;Aa.ba(R.q===dc.ac);Aa.ba(U);return ia=>{ia=t(ia);if(null===ia)return Tb;ia=Ma.cf(ia.toString()).split(" ").map(U);if(0===ia.length)throw new J("xs:"+R.local+" value must contain at least one token","FORG0001");return Pb(ia)}}if(Q(k,"u"))return R=> +{R=t(R);return null===R?Tb:Sa.XS.double.matches(R)||Sa.XS.$a.matches(R)||Sa.XS.float.matches(R)?Ub(R):Ub(Sa.XS.double.I(R))};throw new J("Unknown cast variety "+k.flags);},castable:function(k){const F=d(k),T=Q(k,"e");let t;if(Q(k,"a")){const R=wb(k.as),U="AQ"===R.p?O(k,!0):null,ia=Sa.codes[R.p].I;t=ua=>{ia(ua,U);return!0}}else if(Q(k,"l")){k=Sa.XS.QName.fromEQName(k.as);const R=bd[k.local].fromString;t=U=>0{Sa.XS.double.I(R);return!0}; +else throw new J("Unknown castable variety "+k.flags);return R=>{R=F(R);const U=R.next();if(null===U)return bc(T);if(null!==R.next())return bc(!1);R=P(U).next();try{return bc(t(R))}catch(ia){return bc(!1)}}},cfn:function(k){const F=k.name,T=d(k);let t;if("_format-number_1"===F)return t=pe["format-number"],R=>{const U=[T(R),Yb(k.pic)];null!=k.attributes.getNamedItem("format")&&U.push(Yb(k.format));return t(U,R,k)};if("_translate_1"===F)return t=pe.translate,R=>{const U=[T(R),Yb(k.a1),Yb(k.a2)];return t(U, +R)};Aa.fa("Unimplemented: cfn "+F,k)},check:function(k){function F(U){const ia=h(k.diag);throw new J("Required cardinality of "+ia.gd+" is "+t[T]+"; supplied value "+U,ia.code,k);}const T=k.card,t={"*":"zero or more","+":"one or more","?":"zero or one",0:"zero",1:"exactly one"},R=d(k);return U=>{U=R(U);if("*"===T)return U;var ia=Kb(U);U=ia.ma();if(null===U){if("?"===T||"0"===T)return Tb;F("is empty")}else"0"===T&&F("is not empty (first item "+Aa.showValue(U)+")");if("+"===T)return ia;ia.next();const ua= +ia.next();null!==ua&&(ia=ia.count()+2,F("contains "+ia+" items ("+Aa.showValue(U)+", "+Aa.showValue(ua)+(2{for(let t=0;tF(T)},comment:S,compareToInt:function(k){const F=k.op,T=ea.integer.fromString(k.val),t=d(k);return R=>{R=t(R);const U=R.next();if(null===U)return Tb;if(Nd.itemIsNaN(U))return bc("ne"===F);if(null!== +R.next())throw new J("Value comparison only applicable to single values","XPTY0004",k);return bc(Nd.Af(F,U.compareTo(T)))}},compareToString:function(k){const F=k.op,T=d(k),t=ea.string.fromString(k.val);return R=>{const U=T(R),ia=U.next();if(null===ia)return Tb;if(null!==U.next())throw new J("Value comparison only applicable to single values","XPTY0004",k);return k.comp?(R=Nd.be(k.comp,R),["=","eq","!=","ne"].includes(F)?bc(Nd.Oi(F,R.equals(ia,t))):bc(Nd.Af(F,R.compare(ia,t)))):bc(Nd.Af(F,ia.compareTo(t)))}}, +compAtt:S,compElem:S,condCont:function(k){const F=d(k);return T=>{function t(R){if(W.Q(R))switch(R.nodeType){case 9:case 11:case 1:return R.hasChildNodes();default:return""!==q(R).toString()}else return X(R)?0t(ia)).length}).length:""!==ea.string.I(R).toString()}return F(T).filter(t)}},condSeq:function(k){function F(t){if(W.Q(t)){if([9,11].includes(t.nodeType))return!t.hasChildNodes();if(3===t.nodeType||4==t.nodeType)return""=== +t.nodeValue}else{if(Sa.ka(t))return""===ea.string.I(t).toString();if(K(t))return!da(Ub(t)).some(function(R){return!F(R)})}return!1}const T=k.C.map(t=>({name:t.N,eval:m(t)}));return t=>{let R=[];const U=[];let ia=!0;T.map(function(ua){if("onEmpty"===ua.name)ia&&(R=ua.eval(t).expand());else if("onNonEmpty"===ua.name){const Ba=R.length;U.unshift(function(){R.splice.apply(R,[Ba,0].concat(ua.eval(t).expand()))})}else ua.eval(t).forEachItem(function(Ba){F(Ba)||(ia=!1);R.push(Ba)})});ia||U.forEach(function(ua){ua()}); +return Pb(R)}},conditionalSort:function(k){const F=d(k),T=n(k),t=d(k.C[1]);return R=>e(F(R))?T(R):t(R)},consume:function(k){throw new J("Stylesheet uses 'consume' which requires streaming","SXJS0002",k);},convert:function(k){const F=k.to,T=Sa.codes[F];T||Aa.fa("Unknown to-type "+k.to);const t=d(k);return Q(k,"p")?R=>t(R).mapOneToOne(U=>Sa.Pg(U,F)):R=>t(R).mapOneToOne(T.I)},copy:S,copyOf:S,currentGroup:function(k){return F=>{if(F&&F.currentGroup)return Pb(F.currentGroup);throw new J("There is no current group", +"XTDE1061",k);}},currentGroupingKey:function(k){return F=>{if(F&&F.currentGroupingKey)return Pb(F.currentGroupingKey);throw new J("There is no current grouping key","XTDE1071",k);}},cvUntyped:function(k){const F=d(k),T=Sa.codes[k.to],t=T.I,R="string"===T.name;return U=>F(U).mapOneToOne(function(ia){if(ea.double.matches(ia)&&"float"===T.name)throw new J("xs:double may not be promoted to xs:float","XTTE0570",k);if(ea.untypedAtomic.matches(ia)||R&&ea.anyURI.matches(ia))try{return t(ia)}catch(ua){if("FODT0001"=== +ua.code||!k.diag)throw ua;ia=h(k.diag);throw new J(ua.message,ia.code,k);}else return ia})},data:function(k){const F=d(k);return T=>F(T).mapOneToMany(P)},dbl:function(k){const F=ea.double.fromString(k.val);return()=>Ub(F)},dec:function(k){const F=qa(k.val);return()=>ac(F)},doc:S,docOrder:function(k){const F=d(k);return T=>W.Vc(F(T))},dot:function(k){return F=>{F.failIfNoCurrentFocus("XPDY0002",". (dot)",k);return Ub(F.getCurrentFocus())}},elem:S,empty:function(){return()=>Tb},emptyTextNodeRemover:function(k){const F= +d(k);return T=>F(T).filter(t=>!(W.Q(t)&&(3===t.nodeType||4===t.nodeType)&&""===t.textContent))},error:function(k){return()=>{throw new J(k.message,k.code,k);}},evaluate:function(k){const F={language:"XSLT",contextType:{o:"1",p:"",code:"1"}},T=m(u(k,"xpath")),t=m(u(k,"cxt")),R=m(u(k,"sa")),U=m(u(k,"nsCxt")),ia=z(k,"withParam").map(Ba=>({name:ea.string.fromString(Ba.name),eval:d(Ba)})),ua=m(u(k,"wp"));return Ba=>{const Fa=T(Ba).next().toString();u(k,"cxt");const Pa=t?t(Ba):Tb;let Ua=new lc;ia.forEach(function(ta){Ua.inSituPut(ta.name, +ta.eval(Ba).expand())});ua&&ua(Ba).next().forAllPairs(function(ta){if(!ea.QName.matches(ta.k))throw new J("Parameter names in xsl:evaluate/@with-params map must be QNames:"+ta.k.toString(),"XTTE3165",k);Ua.inSituPut(ta.k,ta.v)});Ua=Ub(Ua);if(R){var Na=R(Ba).next().toString();if(A(Na))throw new J("SaxonJS does not support schema-aware evaluation","XTDE1665",k);}(Na=k.as)&&(F.requiredType=Na.toString());(Na=k.dxns)&&"http://www.w3.org/1999/xhtml"!==Na.toString()&&(F.xpathDefaultNamespace=Na.toString()); +let Wa={};if(U){Na=U(Ba);var N=Na.next();if(null===N||null!==Na.next()||!W.Q(N))throw new J("xsl:evaluate/@namespace-context must evaluate to a single node","XTTE3170",k);Wa[""]="";fc.inScopeNamespaces(N).forEach(ta=>Wa[ta.prefix]=ta.q);F.xpathDefaultNamespace=Wa[""]}else Wa=ma(k);const ba={};N=Na=!1;const la={};var fa=u(k,"options");if(fa){fa=H(fa,Ba).next();let ta=ea.string.fromString("var-slots");fa.containsKey(ta)&&fa.get(ta)[0].forAllPairs(function(Ca){ba[Ca.k.toEQName()]=y(Ca.v)});ta=ea.string.fromString("allow-empty"); +fa.containsKey(ta)&&(Na=fa.get(ta)[0].toBoolean());ta=ea.string.fromString("isStatic");fa.containsKey(ta)&&(N=fa.get(ta)[0].toBoolean());ta=ea.string.fromString("staticContext");fa.containsKey(ta)&&fa.get(ta)[0].forAllPairs(function(Ca){la[Ca.k.toString()]=y(Ca.v,!0)})}F.params=Ua;F.namespaces=Wa;F.slotMap=ba;F.allowEmpty=Na;F.staticTyping=!0;F.isStatic=N;F.staticContext=la;F.dynamicEval=!0;(Na=u(k,"baseUri"))&&(F.staticBaseURI=H(Na,Ba).next().toString());(Na=na(k,"defaultCollation"))&&(F.defaultCollation= +Na);return Pd.find("SaxonJS").XPath.evaluateXDM(Fa,Pa,Ba,F)}},every:function(k){const F=parseInt(k.slot,10),T=d(k),t=n(k);return R=>{const U=T(R);return bc(!U.some(function(ia){R.localVars[F]=[ia];return!e(t(R))}))}},except:function(k){const F=d(k),T=n(k);return t=>new Mb(F(t),T(t),W.fb)},"false":function(){return()=>bc(!1)},filter:function(k){const F=d(k),T=n(k);return Q(k,"i")?t=>{const R=F(t);t=T(t).expand();if(1===t.length&&ea.numeric.matches(t[0])){const U=t[0].toNumber();if(R instanceof Pb)return Ub(R.expand()[U- +1]||null);const ia=Xb(R);return ia.filter(function(){return ia.position===U})}return e(Pb(t))?R:Tb}:t=>{const R=F(t),U=t.newContext(!1);U.focus=Xb(R);t=Q(k,"p")?function(){const ia=T(U).expand();return 1===ia.length&&ea.numeric.matches(ia[0])?U.focus.position===ia[0].toNumber():e(Pb(ia))}:function(){return e(T(U))};return U.focus.filter(t)}},first:function(k){const F=d(k);return T=>Ub(F(T).next())},flt:function(k){const F=ea.float.fromString(k.val);return()=>Ub(F)},fn:function(k){const F=pe[k.name]; +F||c(k.name+"()",k);const T=(k.C||[]).map(m);return t=>{const R=T.map(U=>U(t));return F(R,t,k)}},fnCoercer:function(k){const F=d(k),T=nc(k.to),t=T.K,R={alphaTree:T.T()};return U=>F(U).mapOneToOne(function(ia){if(!(ia instanceof jd.XdmFunction||ia instanceof id||ia instanceof lc)){var ua=h(k.diag);throw new J("Required item type of "+ua.gd+" is "+T.toString()+"; supplied value is "+Aa.showValue(ia),ua.code,k);}if((t instanceof md?t.g:[]).length!==(ia instanceof jd.XdmFunction?ia.arity:1))throw ua= +h(k.diag),new J("Required item type of "+ua.gd+" is "+T.toString()+"; supplied value is "+Aa.showValue(ia),ua.code,k);return new jd.gh(R,ia)})},fnRef:function(k){let F=k.name;F=/^Q{/.test(F)?ea.QName.fromEQName(F):ea.QName.fromParts("",dc.za,F);const T=parseInt(k.arity,10),t=Pd.find("SaxonJS").XPath;return R=>{var U=R.newContext(!0);U.Pa=!0;if(U=t.getFnSignature(F,T,U))return R=U.isUserFunction?new jd.Vf(U,R):F.q===dc.ac?new jd.Qf(U,F,k):new jd.Ge(U,F,T,k,R),Ub(R);throw new J("Reference to an unknown function and/or arity "+ +F.toEQName()+"#"+T,"XPST0017",k);}},follows:function(k){const F=f(k,function(T,t){return ea.boolean.fromBoolean(0Ub(F(T))},"for":function(k){const F=parseInt(k.slot,10),T=d(k),t=n(k);return R=>T(R).mapOneToMany(function(U){R.localVars[F]=[U];return t(R)})},forEach:function(k){const F=d(k),T=n(k);return u(k,"separator")?S(k):t=>{const R=t.newContext(!1);R.focus=Xb(F(t));R.currentTemplate=null;return R.focus.mapOneToMany(function(){return T(R)})}},forEachGroup:S,fork:b,functionCall:function(k){c(k.name+ +"()",k)},gc:r,gc10:function(k){let F=d(k),T=n(k);return t=>{let R=F(t).expand(),U=T(t).expand();1===R.length&&ea.boolean.matches(R[0])?U=[ea.boolean.fromBoolean(e(Pb(U)))]:1===U.length&&ea.boolean.matches(U[0])?R=[ea.boolean.fromBoolean(e(Pb(R)))]:(R=g(R),U=g(U));t=Nd.be(k.comp,t);const ia=k.op;"="!==ia&&"!="!==ia?(R=Pb(R).mapOneToOne(Sa.XS.numeric.Fd).expand(),U=Pb(U).mapOneToOne(Sa.XS.numeric.Fd).expand()):t=Nd.Bj(t);return Nd.Ag(Pb(R),U,ia,t,k,!0)}},gcEE:r,gVarRef:function(k){return F=>{const T= +E(k,F),t=T.actor,R=t.name;if(T.value===a)throw F=new J("Circularity in global variable "+R,"XTDE0640"),F.Le=!0,F;if(null===T.value||"undefined"===typeof T.value){if("globalParam"===t.N){var U=F.fixed.la.stylesheetParams,ia=Sa.XS.QName.fromEQName(R);if(U.containsKey(ia))U=U.get(ia),Aa.ba(Array.isArray(U)),ia=nc(t.as||"*"),U=w(U,ia,()=>"stylesheet parameter "+R),Aa.ba(Array.isArray(U)),T.value=U;else{if(Q(t,"r"))throw new J("Parameter "+R+" is required","XTDE0050",t);if(Q(t,"i"))throw new J("Parameter "+ +R+" cannot be empty","XTDE0700",t);t.C||(T.value=[])}}if(null===T.value||"undefined"===typeof T.value){U=!t.parentNode.parentNode.parentNode;ia=F.newContext(!0);ia.tempOutputState="variable";ia.pushCurrentOutputURI(null);ia.currentMode={};ia.currentTemplate=null;ia.currentComponent=T;ia.focus=U?Wb(F.fixed.Uc):null;try{const ua=d(t);T.value=a;T.value=ua(ia).expand()}catch(ua){throw ua instanceof J&&(T.value=[],ea.QName.fromEQName(R).q!==dc.ib+"generated-variable"&&(ua.Le=!0)),ua;}ia.popCurrentOutputURI()}}return Pb(T.value)}}, +homCheck:function(k){const F=d(k);return T=>{T=Kb(F(T));const t=T.ma();if(null===t)return Tb;const R=W.Q(t);T=T.filter(function(U){if(W.Q(U)!==R)throw new J("Cannot mix nodes and atomic values in the result of a path expression","XPTY0018",k);return!0});return R?W.Vc(T):T}},ifCall:function(k){const F=ea.QName.fromEQName(k.name);if("schedule-action"===F.local){const t=d(k),R=n(k),U=m(k.C[3]);return ia=>{var ua=4===k.C.length;if(4k.C.length||"empty"===k.C[2].N?Na=Wa=N=null:(Na=k.C[2],"bSlot"in Na?(Wa=E(Na,ia,"template"),N=Wa.actor):Wa=N=null);ia.noCurrentFocus()||(Ua.focus=Xb(Ub(ia.getCurrentFocus())),Ua.focus.next());Ua.currentMergeGroup=null;Ua.currentComponent=Wa;Ua.tempOutputState=!1;null===Pa&&null!==N&&Z(N,Ua);null!=Na&&v(Na,ia,Ua);let ba,la;null===N?(ba=null,la=function(){}): +(ba=d(N),la=function(){ba(Ua).expand()});if(null!==Pa)ua=ya.makeHttpRequest(Pa,function(fa){Ua.focus=Xb(Ub(fa[0]));Ua.focus.next();null!==N&&(Z(N,Ua),la())},Ba,ia.fixed.Ga);else if(null!==Fa)Fa=Fa.toString().split(" "),Pa=Fa.map(function(fa){return ya.resolveUri(fa,ld.staticBaseUri(k,ia))}),ya.inBrowser()?(ua=ya.gj(Pa,ia.fixed.hd,la,Ba,ia.fixed.Ga),ua=1===Fa.length?ua[Pa[0]]:ua):(Ba=Pa.map(fa=>Pd.find("SaxonJS").getResource({location:fa,type:"text"}).then(ta=>{try{return ia.fixed.hd[fa]=ta,la(),Promise.resolve(null)}catch(Ca){return ta= +Promise.reject(Ca),ia.fixed.rk.push(ta),ta}})),Ba=Promise.all(Ba),ia.fixed.nd.push(Ba));else if(0!==Ba)if(ya.inBrowser())setTimeout(la,Ba);else throw new J("ixsl:schedule-action/@wait is not supported on Node.js","SXJS0002");return ua?Ub(ua):Tb}}const T=(k.C||[]).map(m);return t=>{const R=T.map(U=>U(t));return va(F.q,F.local,R,t,k)}},indexedFilter2:function(k){const F=m(u(k,"base")),T=m(u(k,"use")),t=m(u(k,"search"));return R=>{const U=Nd.be(k.comp,R),ia=R.newContext(!1);ia.focus=Xb(F(R));const ua= +t(R).expand();return ia.focus.filter(function(){const Ba=T(ia);return Nd.Ag(Ba,ua,"=",U,k).next().toBoolean()})}},inlineFn:function(k){const F={sig:k.sType,alphaTree:wb(k.sType)};return T=>Ub(new jd.Yi(F,k,T))},instance:function(k){const F=d(k),T=nc(k.of);return t=>{t=F(t).expand();return bc(T.matches(t))}},"int":function(k){const F=ea.integer.fromString(k.val);return()=>Ub(F)},intersect:function(k){const F=d(k),T=n(k);return t=>new Lb(F(t),T(t),W.fb)},intRangeTest:function(k){const F=d(k);k=k.C; +const T=m(k[1]),t=m(k[2]);return R=>{const U=T(R).next(),ia=t(R).next();if(!U||!ia)return bc(!1);const ua=U.toNumber(),Ba=ia.toNumber();R=F(R).some(function(Fa){Fa=Fa.value;return Fa>=ua&&Fa<=Ba});return bc(R)}},is:function(k){const F=f(k,function(T,t){return ea.boolean.fromBoolean(W.isSameNode(T,t))});return T=>Ub(F(T))},isLast:function(k){const F="1"===k.test;return T=>bc(T.focus.position===T.focus.last()===F)},iterate:S,javaCall:function(k){const F=ea.QName.fromEQName(k.name),T=(k.C||[]).map(m); +return t=>{const R=T.map(U=>U(t));return va(F.q,F.local,R,t,k)}},lastOf:function(k){const F=d(k);return T=>{const t=Kb(F(T));return t.filter(function(){return null===t.ma()})}},let:function(k){const F=d(k),T=n(k),t=parseInt(k.slot,10);return R=>{const U=R.tempOutputState;R.tempOutputState="variable";const ia=F(R).expand();R.tempOutputState=U;R.localVars[t]=ia;return T(R)}},literal:b,lookup:function(k){const F=d(k),T=n(k);return t=>{function R(Na){Ba=Ba.concat(Fa[Na.toString()])}function U(Na){Ba= +Ba.concat(Fa.get(Na))}function ia(Na){return function(Wa){if(!ea.integer.matches(Wa))throw new J("Array lookup key must be of type xs:integer; supplied value is "+Aa.showValue(Wa),"XPTY0004",k);Wa=Wa.toNumber();if(1>Wa||Wa>Na.length)throw new J("Array index ("+Wa+") out of bounds (1 to "+Na.length+")","FOAY0001",k);Ba=Ba.concat(Na[Wa-1])}}const ua=F(t);let Ba=[],Fa;t=T(t).expand();const Pa=k.tuple;if(null!=Pa){const Na=Pa.split(/\s+/);for(var Ua of t)if(-1===Na.indexOf(Ua.toString()))throw new J("Tuple lookup key must be one of "+ +Pa+". Supplied key is "+Ua.toString(),"XPTY0004",k);}for(;null!==(Fa=ua.next());)if(ld.isArray(Fa))Ua=ia(Fa.value),t.forEach(Ua);else if(ld.pe(Fa))t.forEach(U);else if(null!=Pa&&ld.ki(Fa))t.forEach(R);else throw new J("The source for a lookup operator (?) must be of type array() or map(); supplied value is "+Aa.showValue(Fa),"XPTY0004",k);return Pb(Ba)}},lookupAll:function(k){const F=d(k);return T=>{function t(ua){U=U.concat(ua)}function R(ua){U=U.concat(ia.get(ua))}T=F(T);let U=[],ia;for(;null!== +(ia=T.next());)if(ld.isArray(ia))ia.value.forEach(t);else if(ld.pe(ia))ia.keys().forEach(R);else throw new J("The source for a lookup operator ('?') must be of type array() or map(); supplied value is "+Aa.showValue(ia),"XPTY0004",k);return Pb(U)}},lookupTuple:function(k){const F=d(k),T=k.key;return t=>{t=F(t);let R=[],U;for(;null!==(U=t.next());)if(null!=T&&ld.ki(U))R=R.concat(U[T]);else throw new J("The source for a lookupTuple operator (?) must be of type tuple(); supplied value is "+Aa.showValue(U), +"XPTY0004",k);return Pb(R)}},map:function(k){const F=(k.C||[]).map(m);return T=>{const t=new lc;let R=null;F.forEach(function(U){if(null===R)R=U(T).next();else{if(t.containsKey(R))throw new J("Duplicate map constructor entries for key:"+Aa.showValue(R),"XQDY0137",k);U=U(T).expand();t.inSituPut(R,U);R=null}});return Ub(t)}},merge:function(k){return F=>qe.ck(k,F)},mergeAdj:function(k){const F=d(k);return T=>{const t=[],R=F(T);let U=!1,ia;for(;null!==(ia=R.next());){var ua=W.Q(ia)&&(3===ia.nodeType|| +4===ia.nodeType);ua&&""===ia.nodeValue||(U&&ua?(ua=W.xc(T.resultDocument),t.push(ua.createTextNode(t.pop().nodeValue+ia.nodeValue))):(U=ua,t.push(ia)))}return Pb(t)}},message:function(k){const F=m(u(k,"terminate")),T=m(u(k,"error"));return t=>{const R=t.tempOutputState;t.tempOutputState="variable";var U=F(t).next();let ia=T(t).next().toString();try{ia=ca(k,ia,!0).toEQName()}catch(Pa){ia="Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}let ua;try{ua=A(U.toString())}catch(Pa){throw new J("The terminate attribute of xsl:message must be yes|no|true|false|1|0", +"XTDE0030",k);}U=ae(t);const Ba=new fe(U);try{var Fa=ee.getComplexContentOutputter(Ba);Fa.startDoc();ee.push(k.C[0],t,Fa);Fa.endDoc()}catch(Pa){Ba.append(Sa.XS.string.fromString("xsl:message evaluation at "+Aa.location(k)+" failed: "+Pa))}Fa=U.iter().next();t.fixed.la.rg||(t.fixed.la.rg=ya.ei());try{t.countMessage(ia),t.fixed.la.rg(Fa,ia)}catch(Pa){}if(ua)throw Aa.Qa(t.getStackTrace(),1,t.fixed.Ga),t=new J("Terminated with "+Fa,ia,k),t.errorObject=Fa,t;t.tempOutputState=R;return Tb}},minus:function(k){const F= +d(k);return T=>F(T).mapOneToOne(t=>t.tf())},namespace:function(k){const F=d(k),T=n(k);return t=>{const R=F(t).next().toString();t=T(t).next().toString();if(""!==R&&!Ma.isNCName(R))throw new J("Prefix "+R+" is not an NCName","XTDE0920",k);if(""===t)throw new J("Namespace is zero-length","XTDE0930",k);if("xmlns"===R)throw new J("Disallowed prefix xmlns","XTDE0920",k);if("http://www.w3.org/2000/xmlns/"===t)throw new J("Disallowed namespace "+t,"XTDE0905",k);if(!G(t))throw new J("Invalid namespace "+ +t,"XTDE0905",k);if("xml"===R!==(t===dc.oc))throw new J("The xml namespace prefix and uri can only be used together","XTDE0925",k);return Ub(new gc(R,t))}},nextIteration:S,nextMatch:S,nodeNum:function(k){return F=>ke.hk(k,F)},"null":function(k){return()=>Ub(k)},numSeqFmt:function(k){return F=>ke.ik(k,F)},onEmpty:b,onNonEmpty:b,or:function(k){const F=d(k),T=n(k);return t=>bc(e(F(t))||e(T(t)))},origFC:function(k){k.C||(k.C=[]);const F=k.C.map(m);return T=>{if(!k._target){const U=k.pack,ia=ca(k,k.name, +!1).toEQName(),ua=k.C.length,Ba=T.fixed.xa;Object.keys(Ba).forEach(function(Fa){Fa=Ba[Fa];Fa.zi.name===U&&Fa.name===ia&&Fa.actor&&"function"===Fa.actor.N&&z(Fa.actor,"arg").length===ua&&(k._target=Fa.id)})}const t=T.fixed.xa[k._target],R=F.map(U=>U(T).expand());return B(k,t,R,T)}},param:function(k){const F=k.name,T=parseInt(k.slot,10),t=Q(k,"t"),R=m(u(k,"select")),U=m(u(k,"conversion"));return ia=>{var ua=t?ia.tunnelParams:ia.localParams,Ba=Sa.XS.QName.fromEQName(F);if(ua.containsKey(Ba))ua=ua.get(Ba), +""!==nc(k.as||"*").T().p&&(ua=Y(ua));else if(R&&!Q(k,"r"))Ba=ia.tempOutputState,ia.tempOutputState="xsl:param",ua=R(ia).expand(),ia.tempOutputState=Ba;else throw new J("Required parameter $"+F+" not supplied","XTDE0700",k);Aa.ba(Array.isArray(ua));ia.localVars[T]=ua;if(U)try{ia.localVars[T]=U(ia).expand()}catch(Fa){throw new J("Supplied value for parameter $"+F+" could not be converted to required type","XTTE0590",k);}return Tb}},partialApply:function(k){const F=d(k),T=[],t=[];let R=0;const U=k.C.length- +1;for(let ia=1;ia{const ua=F(ia).next(),Ba=[];for(let Fa=0;FaW.fb(T,t))});return T=>Ub(F(T))},procInst:S,qName:function(k){const F=ea.QName.fromParts(k.pre,k.uri, +k.loc);return()=>Ub(F)},range:function(k){const F=ea.integer.fromString(k.from),T=ea.integer.fromString(k.to);return()=>l(F,T)},resultDoc:function(k){return F=>{try{if(F.tempOutputState)throw new J("Cannot call xsl:result-document while evaluating "+F.tempOutputState,"XTDE1480",k);var T=L(k,F);const t={};let R=function(){};const U=u(k,"format");if(U){let la=H(U,F).next().toString();la=ca(k,la,!0).toEQName();const fa=T.Mg[la];if(!fa)throw new J("Unknown xsl:output format "+la,"XTDE1460");let ta,Ca; +for(const Ka of fa.C){let Qa=Ka.name;"parameter-document"===Qa?ta=Ka.value:"Q{http://saxon.sf.net/}parameter-document-base-uri"===Qa?Ca=Ka.value:t[Qa]="use-character-maps"===Qa?le.Ff(Qa,Ka.value,T):le.validateParam(Qa,Ka.value)}if(ta){const Ka=ya.resolveUri(ta,Ca);let Qa=Td.uc(Ka,F);le.parseParamDoc(Qa.documentElement,t)}}p(k.global,t,T);p(k.local,t,T);for(const la of k.C){let fa=la.role.replace(/^Q{\}/,"");if(!["href","format","content","parameter-document"].includes(fa)){"output-version"===fa&& +(fa="version");let ta=H(la,F).next().toString();ta="use-character-maps"===fa?le.Ff(fa,ta,T):le.validateParam(fa,ta,O(k,!0));"undefined"!==typeof ta&&(t[fa]=le.uf(fa,ta,t[fa]))}}const ia=u(k,"Q{}parameter-document");if(null!==ia){const la=H(ia,F).next().toString(),fa=ya.resolveUri(la,ld.staticBaseUri(k,F));let ta=Td.uc(fa,F);le.parseParamDoc(ta.documentElement,t)}const ua=F.fixed.yb,Ba=u(k,"href"),Fa=null===Ba?"":H(Ba,F).next().toString();let Pa;Pa=ua?ya.newURL(Fa,ua):W.Wc(Fa)?ya.newURL(Fa):Fa;const Ua= +Pa.toString();if(F.fixed.yb&&Ua===F.fixed.yb.toString()&&1{F.failIfNoCurrentFocus("XPDY0002","/",k);F=F.getCurrentFocus();if(!W.Q(F))throw new J("Context item for '/' must be a node","XPTY0020",k);const T=W.ic(F);if(9!==T.nodeType&&11!==T.nodeType)throw new J("Root node for '/' must be a document node","XPDY0050",k);return Ub(W.ic(F))}},sequence:b,slash:function(k){const F=d(k),T=n(k);return t=>{const R=t.newContext(!1);R.focus=Xb(F(t));return R.focus.mapOneToMany(()=>T(R))}},some:function(k){const F=parseInt(k.slot,10), +T=d(k),t=n(k);return R=>{const U=T(R);return bc(U.some(function(ia){R.localVars[F]=[ia];return e(t(R))}))}},sort:function(k){const F=Nd.Ak(k);return T=>{try{return F(T)}catch(t){if(t instanceof J&&"FOCH0002"===t.code)throw new J(t.message,"XTDE1035",k);if(t instanceof J&&"XPTY0004"===t.code)throw new J(t.message,"XTDE1030",k);throw t;}}},sourceDoc:S,str:function(k){const F=k.val;return()=>Yb(F)},subscript:function(k){const F=d(k),T=n(k);return t=>{var R=F(t);t=T(t).next();if("ADI"===t.code)t=t.value; +else if(t.equals(t.round(0)))t=Sa.XS.integer.I(t).value;else return Tb;return(R=R.pf(t))?Ub(R):Tb}},supplied:function(k){const F=parseInt(k.slot,10);return T=>Pb(T.localVars[F])},tail:function(k){const F=parseInt(k.start,10)-1;let T=d(k);return t=>{let R=F;return T(t).filter(function(){return 0>=R--})}},tailCallLoop:b,to:function(k){const F=d(k),T=n(k);return t=>{const R=F(t).next();t=T(t).next();return null===R||null===t||0t(R).mapOneToOne(function(U){if(T(U))return U;const ia=h(k.diag);throw new J("Required item type of "+ia.gd+" is "+F.toString()+"; supplied value is "+Aa.showValue(U),ia.code,k);})},"true":function(){return()=>bc(!0)},"try":function(k){const F=d(k),T=z(k,"catch");T.forEach(t=>{const R=t.errors.split(" ").map(U=>{if("*"===U)return()=>!0;if(/^\*:/.test(U)){const ua=U.substring(2);return Ba=>Ba.local===ua}if(/}\*$/.test(U)){const ua=U.substring(2,U.length-2);return Ba=>Ba.q===ua}const ia= +ea.QName.fromEQName(U);return ua=>ua.equals(ia)});t.test=1===R.length?R[0]:U=>R.some(ia=>ia(U))});return t=>{try{return Pb(F(t).expand())}catch(R){if(R instanceof J&&!R.Le){t.currentError=R;R.xsltLineNr||za(R,k.C[0]);let U;U=R.code.match("^Q{")?ea.QName.fromEQName(R.code):ea.QName.fromParts("","http://www.w3.org/2005/xqt-errors",R.code);for(let ia=0;ia{const t=E(k,T,"function"),R=F.map(U=>U(T).expand());return B(k,t,R,T)}},ufRef:function(k){let F=k.name;F=/^[a-z]+:/.test(F)?ca(k,F,!0):/^Q\{/.test(F)?ea.QName.fromEQName(F):ea.QName.fromParts("",dc.za,F);const T=parseInt(k.arity,10),t=Pd.find("SaxonJS").XPath;return R=>{const U=t.getFnSignature(F,T,R);if(U&&U.isUserFunction)return R=new jd.Vf(U,R),Ub(R);Aa.fa("Named user function "+F+"#"+T+" not found")}},union:function(k){const F=d(k),T=n(k);return t=>new Jb(F(t),T(t), +W.fb)},useAS:S,valueOf:S,varRef:function(k){const F=parseInt(k.slot,10);return T=>Pb(T.localVars[F])},vc:function(k){function F(ia){return null===ia?null:ea.untypedAtomic.matches(ia)?ea.string.I(ia):ia}const T=k.op,t=k.onEmpty,R=d(k),U=n(k);return ia=>{const ua=R(ia),Ba=U(ia),Fa=F(ua.next()),Pa=F(Ba.next());if(null===Fa||null===Pa)return t?bc("1"===t):Tb;if(null!==ua.next()||null!==Ba.next())throw new J("Value comparison only applicable to single values","XPTY0004",k);if(Fa.isNumeric()&&isNaN(Fa.value)|| +Pa.isNumeric()&&isNaN(Pa.value))return bc("ne"===T);ia=Nd.be(k.comp,ia);return["=","eq","!=","ne"].includes(T)?bc(Nd.Oi(T,ia.equals(Fa,Pa))):bc(Nd.Af(T,ia.compare(Fa,Pa)))}}};M.prototype={value:null,containsKey:function(k){return"undefined"!==typeof this.value[k]},get:function(k){return ja(this.value[k])},inSituPut:function(){throw new J("inSituPut() not allowed for JSValue","SXJS0005");},put:function(){throw new J("put() not allowed for JSValue","SXJS0005");},remove:function(){throw new J("remove() not allowed for JSValue", +"SXJS0005");},keys:function(){throw new J("keys() not allowed for JSValue","SXJS0005");},forAllPairs:function(){throw new J("forEach() not allowed for JSValue","SXJS0005");},conforms:function(){throw new J("conforms() not allowed for JSValue","SXJS0005");},showValue:function(){return"JSValue "+Aa.showValue(this.value)}};aa.prototype={value:null,showValue:function(){return"XDMValue "+Aa.showValue(this.value)}};return{$:u,Ze:v,atomize:P,jj:g,yl:function(){return"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")}, +og:Z,db:z,oj:ha,pg:w,nb:y,fe:L,Eg:E,wd:e,Fa:d,Mh:n,elaborate:m,escape:function(k,F){let T="";Ia(k).forEach(function(t){const R=Ja([t]);T+=F(t,R)?encodeURIComponent(R):R});return T},evaluate:H,hc:function(k,F){return null===k?Tb:H(k,F)},tj:function(k,F,T,t){const R=pe[k.local];R||c(k.toString()+"()",t);return R(F.map(U=>Pb(U)),T,t)},uj:function(k,F,T,t){return va(k.q,k.local,F.map(R=>Pb(R)),T,t)},flatten:da,getInheritedProperty:na,Il:function(k){if("undefined"!==typeof k)return x(k,"module",20)+"#"+ +x(k,"line",10)},qb:Q,inScopeNamespaces:ma,isArray:K,pe:X,Bd:V,ki:function(k){return k instanceof re},Yj:A,Tf:M,am:c,tk:h,qk:function(k){va=k},fm:C,staticBaseUri:I,Be:Y,Ug:ca,stylesheetResolver:O,Si:function(k){return"AZ"===k.code?ea.double.I(k):k},Ek:G,Na:ja,xl:aa}}();function se(a,b){for(var h in a)b[h]=a[h]}function te(a,b){var h=a.prototype;if(Object.create){var A=Object.create(b.prototype);h.__proto__=A}if(!(h instanceof b)){function P(){}P.prototype=b.prototype;P=new P;se(h,P);a.prototype=h=P}h.constructor!=a&&(h.constructor=a)} +var ue={},ve=ue.ELEMENT_NODE=1,we=ue.ATTRIBUTE_NODE=2,xe=ue.TEXT_NODE=3,ye=ue.CDATA_SECTION_NODE=4,ze=ue.ENTITY_REFERENCE_NODE=5,Ae=ue.ENTITY_NODE=6,Be=ue.PROCESSING_INSTRUCTION_NODE=7,Ce=ue.COMMENT_NODE=8,De=ue.DOCUMENT_NODE=9,Ee=ue.DOCUMENT_TYPE_NODE=10,Fe=ue.DOCUMENT_FRAGMENT_NODE=11,Ge=ue.NOTATION_NODE=12,He={},Ie={};He.INDEX_SIZE_ERR=(Ie[1]="Index size error",1);He.DOMSTRING_SIZE_ERR=(Ie[2]="DOMString size error",2);He.HIERARCHY_REQUEST_ERR=(Ie[3]="Hierarchy request error",3); +He.WRONG_DOCUMENT_ERR=(Ie[4]="Wrong document",4);He.INVALID_CHARACTER_ERR=(Ie[5]="Invalid character",5);He.NO_DATA_ALLOWED_ERR=(Ie[6]="No data allowed",6);He.NO_MODIFICATION_ALLOWED_ERR=(Ie[7]="No modification allowed",7);var Je=He.NOT_FOUND_ERR=(Ie[8]="Not found",8);He.NOT_SUPPORTED_ERR=(Ie[9]="Not supported",9);var Ke=He.INUSE_ATTRIBUTE_ERR=(Ie[10]="Attribute in use",10);He.INVALID_STATE_ERR=(Ie[11]="Invalid state",11);He.SYNTAX_ERR=(Ie[12]="Syntax error",12); +He.INVALID_MODIFICATION_ERR=(Ie[13]="Invalid modification",13);He.NAMESPACE_ERR=(Ie[14]="Invalid namespace",14);He.INVALID_ACCESS_ERR=(Ie[15]="Invalid access",15);function Le(a,b=null){if(b instanceof Error)var h=b;else h=this,this.message=Ie[a],Error.captureStackTrace&&Error.captureStackTrace(this,Le);h.code=a;b&&(this.message=this.message+": "+b);return h}Le.prototype=Error.prototype;se(He,Le);function Me(){} +Me.prototype={length:0,item:function(a){return this[a]||null},forEach:function(a,b){b=b||this;for(var h=0;h"===a&&">"||"&"===a&&"&"||'"'===a&&"""||"&#"+a.charCodeAt()+";"}se(ue,Ve);se(ue,Ve.prototype);function $e(a,b){if(b(a))return!0;if(a=a.firstChild){do if($e(a,b))return!0;while(a=a.nextSibling)}}function af(){}af.prototype.nodeType=we;te(af,Ve);function Ue(){} +function Se(a,b,h){a&&a.pc++;"http://www.w3.org/2000/xmlns/"===h.namespaceURI&&delete b.ae[h.prefix?h.localName:""]}function bf(a,b,h=null){if(a&&a.pc)if(a.pc++,a=b.childNodes,h)a[a.length++]=h;else{b=b.firstChild;for(h=0;b;)a[h++]=b,b=b.nextSibling;a.length=h}}function Xe(a,b){var h=b.previousSibling,A=b.nextSibling;h?h.nextSibling=A:a.firstChild=A;A?A.previousSibling=h:a.lastChild=h;bf(a.ownerDocument,a);return b} +function We(a,b,h){var A=b.parentNode;A&&A.removeChild(b);if(b.nodeType===Fe){A=b.firstChild;if(null==A)return b;var P=b.lastChild}else A=P=b;var q=h?h.previousSibling:a.lastChild;A.previousSibling=q;P.nextSibling=h;q?q.nextSibling=A:a.firstChild=A;null==h?a.lastChild=P:h.previousSibling=P;do A.parentNode=a;while(A!==P&&(A=A.nextSibling));bf(a.ownerDocument||a,a);b.nodeType===Fe&&(b.firstChild=b.lastChild=null);return b} +Ue.prototype={nodeName:"#document",nodeType:De,doctype:null,documentElement:null,childNodes:[],pc:1,insertBefore:function(a,b){if(a.nodeType===Fe){for(var h=a.firstChild;h;){var A=h.nextSibling;this.insertBefore(h,b);h=A}return a}null==this.documentElement&&1==a.nodeType&&(this.documentElement=a);return We(this,a,b),a.ownerDocument=this,a},removeChild:function(a){this.documentElement===a&&(this.documentElement=null);return Xe(this,a)},importNode:function(a,b){return cf(this,a,b)},getElementById:function(a){var b= +null;$e(this.documentElement,function(h){if(1===h.nodeType&&(h.getAttribute("id")===a||h.getAttribute("xml:id")===a))return b=h,!0});return b},createElement:function(a){var b=new df;b.ownerDocument=this;b.nodeName=a;b.tagName=a;b.localName=a;b.namespaceURI="";b.childNodes=new Me;return(b.attributes=new Qe).b=b},createDocumentFragment:function(){var a=new ef;a.ownerDocument=this;a.childNodes=new Me;return a},createTextNode:function(a){var b=new ff;b.ownerDocument=this;b.appendData(a);return b},createComment:function(a){var b= +new gf;b.ownerDocument=this;b.appendData(a);return b},createProcessingInstruction:function(a,b){if("string"!==typeof a)throw Error("PI name must be a string");var h=new hf;h.ownerDocument=this;h.tagName=h.target=a;h.nodeValue=h.data=b;return h},createAttribute:function(a){var b=new af;b.ownerDocument=this;b.name=a;b.nodeName=a;b.localName=a;b.specified=!0;return b},createElementNS:function(a,b){var h=new df,A=b.split(":"),P=h.attributes=new Qe;h.childNodes=new Me;h.ownerDocument=this;h.nodeName=b; +h.tagName=b;h.namespaceURI=a;2==A.length?(h.prefix=A[0],h.localName=A[1]):h.localName=b;return P.b=h},createAttributeNS:function(a,b){var h=new af,A=b.split(":");h.ownerDocument=this;h.nodeName=b;h.name=b;h.namespaceURI=a;h.specified=!0;2==A.length?(h.prefix=A[0],h.localName=A[1]):h.localName=b;return h}};te(Ue,Ve);function df(){this.ae={}}function hc(a,b,h,A){b=a.ownerDocument.createAttributeNS(b,h);b.value=b.nodeValue=""+A;a.setAttributeNode(b)} +function jc(a,b,h){return(a=ic(a,b,h))&&a.value||""}function ic(a,b,h){a:{a=a.attributes;for(var A=a.length;A--;){var P=a[A];if(P.localName==h&&(P.namespaceURI==b||""==P.namespaceURI&&null==b)){b=P;break a}}b=null}return b} +df.prototype={nodeType:ve,getAttribute:function(a){return(a=this.attributes.getNamedItem(a))&&a.value||""},setAttribute:function(a,b){a=this.ownerDocument.createAttribute(a);a.value=a.nodeValue=""+b;this.setAttributeNode(a)},removeAttribute:function(a){(a=this.attributes.getNamedItem(a))&&this.attributes.removeNamedItem(a.nodeName)},appendChild:function(a){if(a.nodeType===Fe)a=this.insertBefore(a,null);else{var b=a.parentNode;b&&b.removeChild(a);b=this.lastChild;a.parentNode=this;a.previousSibling= +b;a.nextSibling=null;b?b.nextSibling=a:this.firstChild=a;this.lastChild=a;bf(this.ownerDocument,this,a)}return a},setAttributeNode:function(a){return this.attributes.setNamedItem(a)},getElementsByTagName:function(a){return new Ne(this,function(b){var h=[];$e(b,function(A){A===b||A.nodeType!=ve||"*"!==a&&A.tagName!=a||h.push(A)});return h})}};Ue.prototype.getElementsByTagName=df.prototype.getElementsByTagName;te(df,Ve);function jf(){} +jf.prototype={data:"",appendData:function(a){this.nodeValue=this.data=a=this.data+a;this.length=a.length},appendChild:function(){throw Error(Ie[3]);}};te(jf,Ve);function ff(){}ff.prototype={nodeName:"#text",nodeType:xe};te(ff,jf);function gf(){}gf.prototype={nodeName:"#comment",nodeType:Ce};te(gf,jf);function kf(){}kf.prototype={nodeName:"#cdata-section",nodeType:ye};te(kf,jf);function lf(){}lf.prototype.nodeType=Ee;te(lf,Ve);function mf(){}mf.prototype.nodeType=Ge;te(mf,Ve);function nf(){} +nf.prototype.nodeType=Ae;te(nf,Ve);function of(){}of.prototype.nodeType=ze;te(of,Ve);function ef(){}ef.prototype.nodeName="#document-fragment";ef.prototype.nodeType=Fe;te(ef,Ve);function hf(){}hf.prototype.nodeType=Be;hf.prototype.target=null;hf.prototype.data=null;te(hf,Ve);Ve.prototype.toString=function(a){var b=[];pf(this,b,a);return b.join("")}; +function pf(a,b,h,A=!1){switch(a.nodeType){case ve:var P=a.attributes,q=P.length,g=a.firstChild,e=a.tagName;A="http://www.w3.org/1999/xhtml"===a.namespaceURI||A;b.push("<",e);h&&b.sort.apply(P,h);for(a=0;a");if(A&&/^script$/i.test(e))g&&b.push(g.data);else for(;g;)pf(g,b,h,A),g=g.nextSibling;b.push("")}else b.push("/>");break;case De:case Fe:for(g=a.firstChild;g;)pf(g,b,h,A),g=g.nextSibling;break; +case we:b.push(" ",a.name,'="',a.value.replace(/[<&"]/g,Ze),'"');break;case xe:b.push(a.data.replace(/[<&]/g,Ze));break;case ye:b.push("')):A&&"."!=A?b.push(' SYSTEM "',A,'">'):((a=a.Ml)&&b.push(" [",a,"]"),b.push(">"));break;case Be:b.push("");break;case ze:b.push("&",a.nodeName, +";");break;default:b.push("??",a.nodeName)}}function cf(a,b,h){switch(b.nodeType){case ve:var A=b.cloneNode(!1);A.ownerDocument=a;case Fe:break;case we:h=!0}A||=b.cloneNode(!1);A.ownerDocument=a;A.parentNode=null;if(h)for(b=b.firstChild;b;)A.appendChild(cf(a,b,h)),b=b.nextSibling;return A} +function Ye(a,b,h){var A=new b.constructor;for(q in b){var P=b[q];"object"!=typeof P&&P!=A[q]&&(A[q]=P)}b.childNodes&&(A.childNodes=new Me);A.ownerDocument=a;switch(A.nodeType){case ve:var q=b.attributes;var g=A.attributes=new Qe;P=q.length;g.b=A;for(g=0;gD?Math.ceil(D):Math.floor(D)};Array.prototype.findIndex||Object.defineProperty(Array.prototype, +"findIndex",{value:function(D,r){if(null==this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!==typeof D)throw new TypeError("predicate must be a function");for(var c=Object(this),d=c.length>>>0,n,m=0;mthis.length?!1:-1!==this.indexOf(D,r)})}const e= +require("path"),{URL:l,fileURLToPath:z}=require("url"),v=require("fs"),G=require("axios"),p=require("util").TextEncoder,f=require("util").TextDecoder,I={regexCategories:sa,functions:wa,elements:xa,compiler:ra};return{name:"Node.js",init:function(){try{(new DOMParser).parseFromString("<","text/xml").getElementsByTagName("parsererror")}catch(D){}g()},inBrowser:function(){return!1},cwd:h,fileURL:b,makeBuffer:function(D,r){r=A(r);r=Buffer.isEncoding(r)?r:"utf-8";return Buffer.from(D,r)},makeHttpRequest:function(){throw new J("http-request is not supported under Node.js", +"SXJS0002");},expose:function(D){module.exports=D},parseXmlFromString:function(D,r=!0){D=D.replace(/\r\n|\r(?!\n)/g,"\n");try{return P(D,r)}catch(c){throw new J(c.message,"FODC0002");}},parseJsonFromString:function(D){return Sd.Gd(D,null)},getStdOut:function(){return process.stdout},readFile:function(D){Buffer.from([239,187,190]);Buffer.from([255,254]);Buffer.from([254,255]);let r,c,d;try{if(D instanceof l&&"file"!==D.protocol||/^http(s?)/.test(D))throw new J("Synchronous access to non-file resources is not allowed"); +D instanceof l||/^file:/.test(D)?(d=decodeURI(D),r=v.readFileSync(a(d))):r=v.readFileSync(D);const n=Buffer.from(''),m=Buffer.from('encoding="iso-8859-1');Buffer.from("");255===r[0]&&254===r[1]?c=r.slice(2).toString("utf16le"):254===r[0]&&255===r[1]?(q(r),c=r.slice(2).toString("utf16le")):c=239===r[0]&&187===r[1]&&191===r[2]?r.slice(3).toString("utf8"):r.includes(m)?r.toString("latin1"):r.includes(n)?r.toString("utf16le"):r.toString("utf8")}catch(n){throw new J("Cannot read file "+ +D+" - "+n.message,"FODC0002");}if(0<=c.indexOf("\ufffd")&&!r.includes("\ufffd"))throw new J("External file "+d+" contains badly encoded characters at line "+c.substring(0,c.indexOf("\ufffd")).split(/\n/).length,"FOUT1190");return c},writeFileAsync:function(D,r,c){if(!(D instanceof l))throw new J("writeFile('"+D+"'): expected URL");c=A(c);let d=decodeURIComponent(D.pathname);"win32"===process.platform&&(d=d.substring(1));return d.includes("/")?v.promises.mkdir(d.replace(/\/[^/]*$/,""),{recursive:!0}).then(()=> +v.promises.writeFile(d,r,{encoding:c||"utf8"})):v.promises.writeFile(D,r,{encoding:c||"utf8"})},writeFileSync:function(D,r,c){if(!(D instanceof l))throw new J("writeFileSync('"+D+"'): expected URL");D=decodeURIComponent(D.pathname);"win32"===process.platform&&(D=D.substring(1));if(D.includes("/")&&D.includes("/")){let d=D.replace(/\/[^/]*$/,"");v.existsSync(d)||v.mkdirSync(d,{recursive:!0});v.existsSync(d)||console.log("dir still doesn't exist "+d)}c=A(c);v.writeFileSync(D,r,{encoding:c||"utf8"})}, +resourcePromise:function(D){const r=D.encoding;let c="file";if(D.file){var d=D.file;d.startsWith("file:")&&(d=z(D.file));c=d;d=v.promises.readFile(d,r)}else if(D.location){var n=d=D.location;d instanceof l?d=d.toString():n=a(d);c=d;"file:"===n.protocol?d=v.promises.readFile(n,r):(n={method:"get",responseType:"text",encoding:r},D.headers&&(n.headers=D.headers),d=G.get(d,n).then(m=>{m=m.data;"string"!==typeof m&&(m=JSON.stringify(m));return m}))}return d.catch(m=>Promise.reject(new J("Failed to read "+ +c+" ("+(/ENOENT/.test(m.message)?"no such file":m.message)+")","FODC0002",D.expr))).then(m=>{if(m instanceof Buffer)if(r)m=m.toString(r);else{let u;try{const Q=Buffer.from('encoding="utf-16"'),ma=Buffer.from('encoding="iso-8859-1"');255===m[0]&&254===m[1]?u=m.slice(2).toString("utf16le"):254===m[0]&&255===m[1]?(q(m),u=m.slice(2).toString("utf16le")):u=239===m[0]&&187===m[1]&&191===m[2]?m.slice(3).toString("utf8"):m.includes(ma)?m.toString("latin1"):m.includes(Q)?m.toString("utf16le"):m.toString("utf8")}catch(Q){throw new J("Failed to decode "+ +e+" ("+Q.message+")","FODC0002");}if(0<=u.indexOf("\ufffd")&&!m.includes("\ufffd"))throw new J("External file undefined contains badly encoded characters at line "+u.substring(0,u.indexOf("\ufffd")).split(/\n/).length,"FOUT1190",D.expr);m=u}65279===m.codePointAt(0)&&(m=m.substring(1));return Promise.resolve(m)})},resolveUri:function(D,r){try{return(r||null!==r?a(D,r):a(D)).toString()}catch(c){throw new J("Failed URI resolution: href="+D+" base="+r+" -- "+c,"FODC0005");}},baseURL:function(){try{return b(h())+ +"/"}catch(D){throw new J("Failed baseURL"+D,"FODC0005");}},resource:function(D){"undefined"===typeof I[D]&&Aa.fa("Unknown resource request:"+D);return I[D]},getDefaultDeliverMessage:function(){return function(D){D=ld.atomize(D).expand().toString();console.warn(D)}},isHTMLElement:function(){return!1},saxonPrint:function(D){console.error(D)},createDocument:function(){return(new Te).createDocument(null,null,null)},setDocURI:function(D,r){D._saxonBaseUri=r;return D},newURL:a,extraProperties:{platform:"Node.js"}, +toUTF8:function(D){return(new p).encode(D)},fromUTF8:function(D){return(new f).decode(D)},globalObject:global}}();/* + http://mths.be/fromcodepoint v0.1.0 by @mathias */ +var qf={}; +(function(a){function b(C,Z){if(!(this instanceof b))return new b(C,Z);for(var K=0,X=n.length;KC.indexOf(":")?["",C]:C.split(":"),X=K[0];K=K[1];Z&&"xmlns"===C&&(X="xmlns",K="");return{prefix:X,local:K}}function f(C){C.Od||(C.attribName=C.attribName[C.Jg]());if(-1===C.qc.indexOf(C.attribName)&&!C.sb.attributes.hasOwnProperty(C.attribName))if(C.bb.Ce){var Z=p(C.attribName, +!0),K=Z.local;if("xmlns"===Z.prefix)if("xml"===K&&C.attribValue!==na)G(C,"xml: prefix must be bound to "+na+"\nActual: "+C.attribValue);else if("xmlns"===K&&C.attribValue!==O)G(C,"xmlns: prefix must be bound to "+O+"\nActual: "+C.attribValue);else{Z=C.sb;var X=C.tb[C.tb.length-1]||C;Z.Da===X.Da&&(Z.Da=Object.create(X.Da));Z.Da[K]=C.attribValue}C.qc.push([C.attribName,C.attribValue])}else C.sb.attributes[C.attribName]=C.attribValue,g(C,"onattribute",{name:C.attribName,value:C.attribValue});C.attribName= +C.attribValue=""}function I(C,Z){if(C.bb.Ce){var K=C.sb,X=p(C.tagName);K.prefix=X.prefix;K.local=X.local;K.q=K.Da[X.prefix]||"";K.prefix&&!K.q&&(G(C,"Unbound namespace prefix: "+JSON.stringify(C.tagName)),K.q=X.prefix);X=C.tb[C.tb.length-1]||C;K.Da&&X.Da!==K.Da&&Object.keys(K.Da).forEach(function(Y){g(C,"onopennamespace",{prefix:Y,q:K.Da[Y]})});X=0;for(var V=C.qc.length;X";C.tagName="";C.G=H.rd;return}g(C,"onscript",C.script);C.script=""}var Z=C.tb.length, +K=C.tagName;C.Od||(K=K[C.Jg]());for(var X=K;Z--;)if(C.tb[Z].name!==X)G(C,"Unexpected close tag");else break;if(0>Z)G(C,"Unmatched closing tag: "+C.tagName),C.textNode+="";else{C.tagName=K;for(K=C.tb.length;K-- >Z;){var V=C.sb=C.tb.pop();C.tagName=C.sb.name;g(C,"onclosetag",C.tagName);for(var ha in V.Da);X=C.tb[C.tb.length-1]||C;C.bb.Ce&&V.Da!==X.Da&&Object.keys(V.Da).forEach(function(w){g(C,"onclosenamespace",{prefix:w,q:V.Da[w]})})}0===Z&&(C.ce=!0);C.tagName=C.attribValue=C.attribName= +"";C.qc.length=0}}else G(C,"Weird empty close tag."),C.textNode+="";C.G=H.vb}function r(C){var Z=C.entity,K=Z.toLowerCase(),X="";if(C.bc[Z])return C.bc[Z];if(C.bc[K])return C.bc[K];Z=K;if("#"===Z.charAt(0))if("x"===Z.charAt(1)){Z=Z.slice(2);var V=parseInt(Z,16);X=V.toString(16)}else Z=Z.slice(1),V=parseInt(Z,10),X=V.toString(10);Z=Z.replace(/^0+/,"");return isNaN(V)||X.toLowerCase()!==Z?(G(C,"Reference to unknown entity &"+C.entity+";"),"&"+C.entity+";"):String.fromCodePoint(V)}function c(C,Z){"<"=== +Z?(C.G=H.Wf,C.Sg=C.position):A(Z)||(G(C,"Non-whitespace before first tag."),C.textNode=Z,C.G=H.vb)}function d(C,Z){var K="";Z"===K?(g(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.G=H.vb):(P(K)&&(this.G=H.rh),this.sgmlDecl+=K);continue;case H.rh:K===this.Nb&&(this.G=H.bg,this.Nb="");this.sgmlDecl+=K;continue;case H.He:">"===K?(this.G=H.vb, +g(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=K,"["===K?this.G=H.Rf:P(K)&&(this.G=H.ih,this.Nb=K));continue;case H.ih:this.doctype+=K;K===this.Nb&&(this.Nb="",this.G=H.He);continue;case H.Rf:this.doctype+=K;"]"===K?this.G=H.He:P(K)&&(this.G=H.hh,this.Nb=K);continue;case H.hh:this.doctype+=K;K===this.Nb&&(this.G=H.Rf,this.Nb="");continue;case H.Fe:"-"===K?this.G=H.fh:this.comment+=K;continue;case H.fh:"-"===K?(this.G=H.eh,this.comment=l(this.bb,this.comment),g(this,"oncomment",this.comment), +this.comment=""):(this.comment+="-"+K,this.G=H.Fe);continue;case H.eh:">"!==K?(G(this,"Malformed comment"),this.comment+="--"+K,this.G=H.Fe):this.G=H.vb;continue;case H.Ee:"]"===K?this.G=H.bh:this.cdata+=K;continue;case H.bh:"]"===K?this.G=H.ch:(this.cdata+="]"+K,this.G=H.Ee);continue;case H.ch:">"===K?(this.cdata&&g(this,"oncdata",this.cdata),g(this,"onclosecdata"),this.cdata="",this.G=H.vb):"]"===K?this.cdata+="]":(this.cdata+="]]"+K,this.G=H.Ee);continue;case H.ph:"?"===K?this.G=H.ag:A(K)?this.G= +H.$f:this.procInstName+=K;continue;case H.$f:if(!this.procInstBody&&A(K))continue;else"?"===K?this.G=H.ag:this.procInstBody+=K;continue;case H.ag:">"===K?(g(this,"onprocessinginstruction",{name:this.procInstName,rc:this.procInstBody}),this.procInstName=this.procInstBody="",this.G=H.vb):(this.procInstBody+="?"+K,this.G=H.$f);continue;case H.kh:if(E.test(K))this.tagName+=K;else{this.Od||(this.tagName=this.tagName[this.Jg]());X=this.tb[this.tb.length-1]||this;var V=this.sb={name:this.tagName,attributes:{}}; +this.bb.Ce&&(V.Da=X.Da);this.qc.length=0;g(this,"onopentagstart",V);">"===K?I(this):"/"===K?this.G=H.Ne:(A(K)||G(this,"Invalid character in tag name"),this.G=H.pd)}continue;case H.Ne:">"===K?(I(this,!0),D(this)):(G(this,"Forward-slash in opening tag not followed by >"),this.G=H.pd);continue;case H.pd:if(A(K))continue;else">"===K?I(this):"/"===K?this.G=H.Ne:x.test(K)?(this.attribName=K,this.attribValue="",this.G=H.De):G(this,"Invalid attribute name");continue;case H.De:"="===K?this.G=H.Hf:">"===K? +(G(this,"Attribute without value"),this.attribValue=this.attribName,f(this),I(this)):A(K)?this.G=H.$g:E.test(K)?this.attribName+=K:G(this,"Invalid attribute name");continue;case H.$g:if("="===K)this.G=H.Hf;else if(A(K))continue;else G(this,"Attribute without value"),this.attribValue=this.sb.attributes[this.attribName]="",g(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===K?I(this):x.test(K)?(this.attribName=K,this.G=H.De):(G(this,"Invalid attribute name"),this.G=H.pd); +continue;case H.Hf:if(A(K))continue;else P(K)?(this.Nb=K,this.G=H.Kf):(G(this,"Unquoted attribute value"),this.G=H.Lf,this.attribValue=K);continue;case H.Kf:if(K!==this.Nb){"&"===K?this.G=H.If:/[\t\r\n]/.test(K)?this.attribValue+=" ":this.attribValue+=K;continue}f(this);this.Nb="";this.G=H.ah;continue;case H.ah:A(K)?this.G=H.pd:">"===K?I(this):"/"===K?this.G=H.Ne:x.test(K)?(G(this,"No whitespace between attributes"),this.attribName=K,this.attribValue="",this.G=H.De):G(this,"Invalid attribute name"); +continue;case H.Lf:if(">"!==K&&!A(K)){"&"===K?this.G=H.Jf:this.attribValue+=K;continue}f(this);">"===K?I(this):this.G=H.pd;continue;case H.Of:if(this.tagName)">"===K?D(this):E.test(K)?this.tagName+=K:this.script?(this.script+=""===K?D(this):G(this,"Invalid characters in closing tag");continue;case H.dg:case H.If:case H.Jf:switch(this.G){case H.dg:var ha=H.vb;var w="textNode";break;case H.If:ha=H.Kf;w="attribValue";break;case H.Jf:ha=H.Lf,w="attribValue"}";"===K?(this[w]+=r(this),this.entity="",this.G=ha):(this.entity&&this.entity.length?L:B).test(K)?this.entity+=K:(G(this,"Invalid character in entity name"),this[w]+="&"+this.entity+K,this.entity="",this.G=ha);continue;default:throw Error(this,"Unknown state: "+this.G); +}}if(this.position>=this.Dh){C=Math.max(a.Uf,10);K=Z=0;for(ha=n.length;KC)switch(n[K]){case "textNode":e(this);break;case "cdata":g(this,"oncdata",this.cdata);this.cdata="";break;case "script":g(this,"onscript",this.script);this.script="";break;default:z(this,"Max buffer length exceeded: "+n[K])}Z=Math.max(Z,w)}this.Dh=a.Uf-Z+this.position}return this},resume:function(){this.error=null;return this},close:function(){return this.write(null)},flush:function(){e(this); +""!==this.cdata&&(g(this,"oncdata",this.cdata),this.cdata="");""!==this.script&&(g(this,"onscript",this.script),this.script="")}};try{var m=require("stream").Stream}catch(C){m=function(){}}var u=a.Wi.filter(function(C){return"error"!==C&&"end"!==C});h.prototype=Object.create(m.prototype,{constructor:{value:h}});h.prototype.write=function(C){this.b.write(C.toString());this.g("data",C);return!0};h.prototype.R=function(C){C&&C.length&&this.write(C);this.b.R();return!0};h.prototype.vi=function(C,Z){var K= +this;K.b["on"+C]||-1===u.indexOf(C)||(K.b["on"+C]=function(){var X=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);X.splice(0,0,C);K.g.apply(K,X)});return m.prototype.vi.call(K,C,Z)};var Q="[CDATA[",ma="DOCTYPE",na="http://www.w3.org/XML/1998/namespace",O="http://www.w3.org/2000/xmlns/",ca={xml:na,xmlns:O},x=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,E=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/, +B=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,L=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,H=0;a.Se={Mf:H++,Nf:H++,vb:H++,dg:H++,Wf:H++,bg:H++,rh:H++,He:H++,ih:H++,Rf:H++,hh:H++,Mk:H++,Fe:H++,fh:H++,eh:H++,Ee:H++,bh:H++,ch:H++,ph:H++,$f:H++, +ag:H++,kh:H++,Ne:H++,pd:H++,De:H++,$g:H++,Hf:H++,Kf:H++,ah:H++,Lf:H++,If:H++,Jf:H++,Of:H++,dh:H++,rd:H++,qh:H++};a.aj={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};a.bc={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220, +Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177, +sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949, +zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364, +image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,"int":8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839, +oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};Object.keys(a.bc).forEach(function(C){var Z=a.bc[C];a.bc[C]="number"===typeof Z?String.fromCharCode(Z):Z});for(var S in a.Se)a.Se[a.Se[S]]=S;H=a.Se;String.fromCodePoint||function(){function C(){var X=[],V=-1,ha=arguments.length;if(!ha)return"";for(var w="";++VM||1114111=M)X.push(M);else{M-=65536;var aa=(M>>10)+55296;M=M%1024+56320;X.push(aa,M)}if(V+1===ha||16384a+=b.k+":("+b.v+"),");a+="}";return"context: "+this.getCurrentFocus()+" localParams: "+a}newContext(a){const b=new rf;b.depth=this.depth+1;b.focus=this.focus;b.currentComponent=this.currentComponent;b.resultDocument=this.resultDocument;b.masterDocument=this.masterDocument;b.currentMode=this.currentMode;b.currentTemplate=this.currentTemplate;b.currentError=this.currentError;b.currentGroup=this.currentGroup;b.regexGroups=this.regexGroups;b.currentGroupingKey=this.currentGroupingKey; +b.fixed=this.fixed;b.tempOutputState=this.tempOutputState;b.outputURIs=this.outputURIs;b.currentEvent=this.currentEvent;b.useAccumulators=this.useAccumulators;b.messageCounts=this.messageCounts;b.b=this;a?(b.localParams=new lc,b.tunnelParams=new lc,b.localVars=[],b.currentMergeGroup=null):(b.localParams=this.localParams,b.tunnelParams=this.tunnelParams,b.localVars=this.localVars,b.currentMergeGroup=this.currentMergeGroup);return b}clearGrouping(){this.currentMergeGroup=this.currentGroupingKey=this.currentGroup= +null}createElement(a,b){const h=fc.xc(this.resultDocument),A=h.documentElement;""===a&&A&&ya.isHTMLElement(A)?b=h.createElement(b):"http://www.w3.org/1999/xhtml"===a&&A&&ya.isHTMLElement(A)?(a=b.indexOf(":"),b=h.createElement(-1===a?b:b.substring(a+1))):b=h.createElementNS(a,b);return b}createAttribute(a,b){return new ec(Sa.XS.QName.fromEQName("Q{"+a+"}"+b),null,null)}noCurrentFocus(){return!this.focus||!this.focus.current}failIfNoCurrentFocus(a,b,h=null){if(this.noCurrentFocus())throw new J("Focus for "+ +b+" is absent",a,h);}getCurrentFocus(){return this.noCurrentFocus()?null:this.focus.current}getCurrentOutputURI(){return 0===this.outputURIs.length?null:this.outputURIs[this.outputURIs.length-1]}pushCurrentOutputURI(a){this.outputURIs.push(a)}popCurrentOutputURI(){return this.outputURIs.pop()}countMessage(a){this.messageCounts[a]||(this.messageCounts[a]=0);this.messageCounts[a]++}getStackTrace(){let a="";this.noCurrentFocus()||(a=" Processing "+Aa.showValue(this.focus.current)+"\n");try{let b= +this.currentComponent.actor,h;"mode"===b.N?(h="template rule",b=this.currentTemplate.Xa):h=b.N+" "+b.name;a+=" at "+h+" in "+ld.getInheritedProperty(b,"module")+"#"+ld.getInheritedProperty(b,"line")}catch(b){a=""}this.b&&(a+="\n"+this.b.getStackTrace());return a}};var sf={},tf={};sf[0]="";sf[1]="|";sf[2]="/";sf[3]="@";sf[48]="~";sf[4]="[";sf[5]="(";sf[6]="=";sf[7]=",";sf[8]="//";sf[9]="or";sf[10]="and";sf[11]=">";sf[12]="<";sf[13]=">=";sf[14]="<=";sf[15]="+";sf[16]="-";sf[299]="-";sf[17]="*";sf[18]="div";sf[19]="mod";sf[20]="is";sf[21]="$";sf[22]="!=";sf[40]="!";sf[30]="||";sf[23]="intersect";sf[24]="except";sf[25]="return";sf[26]="then";sf[27]="else";sf[29]="to";sf[31]="in";sf[32]="some";sf[33]="every";sf[34]="satisfies";sf[35]="(";sf[36]=""; +sf[37]="if(";sf[38]="<<";sf[39]=">>";sf[41]="::";sf[42]=":*";sf[44]="#";sf[45]="instance of";sf[46]="cast as";sf[47]="treat as";sf[50]="eq";sf[51]="ne";sf[52]="gt";sf[54]="ge";sf[53]="lt";sf[55]="le";sf[56]="idiv";sf[57]="castable as";sf[58]=":=";sf[71]="as";sf[75]=":";sf[76]="=>";sf[79]="otherwise";sf[80]="andAlso";sf[81]="orElse";sf[201]="";sf[202]="";sf[203]="]";sf[204]=")";sf[205]=".";sf[206]="..";sf[207]="*";sf[208]="";sf[209]="";sf[69]="()"; +sf[211]="for";sf[70]="<*:local-name>";sf[213]="?";sf[59]="{";sf[60]=" {";sf[215]="}";sf[216]="let";sf[299]="-";function uf(a,b){tf[a]=b;sf[b]=a}uf("instance of",45);uf("cast as",46);uf("treat as",47);uf("castable as",57);var vf={El:function(){return null}};for(const a in dc)vf[a.toUpperCase()]=dc[a];vf.jl=dc.ac;vf.bj=dc.Jc;function wf(a){a=a.charCodeAt(0);return 65<=a&&90>=a||97<=a&&122>=a}var xf=Ma.isNCName;function yf(a){const b=a.charCodeAt(0);return wf(a)||48<=b&&57>=b}function zf(a,b="XPST0003"){return new J(a,b)}function Af(a="Illegal Argument"){return new J(a,"XPST0003")};function Bf(a,b){a.G=b;0===b?(a.O=-1,a.na="",a.y=-1):b===Cf&&(a.O=204,a.na=")",a.y=204)} +function Df(a){a.O=a.g;a.na=a.z;a.z=null;for(a.U=a.b;;){if(a.b>=a.x){a.g=0;break}var b=a.l.charAt(a.b++);switch(b){case "/":if(a.b"===a.l.charAt(a.b)){a.b++;a.g=76;return}a.g=6;return;case "!":if(a.b":if(a.b"===a.l.charAt(a.b)){a.b++;a.g=39;return}a.g=11;return;case ".":if(a.ba.l.charAt(a.b)||"9"=b||127=a.x)break;b=a.l.charAt(a.b++)}a.z=a.l.substring(a.U,a.b);a.g=209;return;case '"':case "'":for(a.z="";;){a.b=a.l.indexOf(b,a.b);if(0>a.b)throw a.b=a.U+1,new zf("Unmatched quote in expression");a.z+=a.l.substring(a.U+1,a.b++); +if(a.bb.charCodeAt(0)&&!wf(b))throw new zf("Invalid character '"+b+"' in expression");case "_":h=!1;a:for(;a.bb.charCodeAt(0)&&!yf(b))break a}a.z=a.l.substring(a.U,a.b);a.g=201;return}}} +function Hf(a,b){a.G=0;a.g=0;a.z=null;a.U=0;a.b=0;a.l=b;a.lineNumber=0;a.qa=0;a.x=b.length;Df(a);a.next()}function Gf(a){a={or:9,is:20,to:29,"in":31,eq:50,ne:51,le:55,lt:53,gt:52,ge:54,as:71,and:10,div:18,mod:19,idiv:56,then:26,"else":27,"case":67,where:28,union:1,except:24,"return":25,otherwise:79,orElse:81,"default":212,andAlso:80,intersect:23,satisfies:34}[a];return[81,80].includes(a)?-1:a||-1}function Ef(a,b=-1){a.lineNumber++;a.qa++;null===a.ia&&(a.ia=[]);a.ia.push(-1===b?a.b-1:b)} +function Ff(a,b=null){var h=b?b:a.b;return" at line:"+If(a,b)+" col:"+Jf(a,b)+" near '"+a.l.slice(5>h?0:h-5,h+5)+"'"}function Kf(a){a.b>a.x&&(a.b=a.x);return 34>a.b?a.l.substring(0,a.b):Ma.cf("..."+a.l.substring(a.b-30,a.b)).toString()}function Lf(a,b){if(null===a.ia)return b;for(var h=a.ia.length-1;0<=h;h--){var A=a.ia[h];if(b>A)return h+1<<16|b-A}return b}function If(a,b=null){return b?Lf(a,b)>>16:a.lineNumber}function Jf(a,b=null){return Lf(a,b?b:a.ee)&32767} +class Mf{constructor(){this.y=this.G=0;this.J=null;this.g=this.ee=0;this.z=null;this.U=0;this.l=null;this.x=this.b=0;this.qa=this.lineNumber=1;this.ia=null;this.O=-1;this.na=""}next(){this.O=this.y;this.na=this.J;this.y=this.g;this.J=this.z;null===this.J&&(this.J="");this.ee=this.U;this.lineNumber=this.qa;switch(this.y){case 201:var a=Gf(this.J);-1===a||150>=this.O||213===this.O||(this.y=a);break;case 207:150>=this.O||213===this.O||(this.y=17)}if(215!==this.y&&(a=this.O,Df(this),201===this.y&&this.G!== +Nf&&21!==a))switch(this.g){case 5:var b=Gf(this.J);-1===b||150>=a?(this.y=this.Dg(this.J),Df(this)):this.y=b;break;case 59:this.G!==Of&&(this.y=60,Df(this));break;case 41:Df(this);this.y=36;break;case 44:Df(this);this.y=43;break;case 42:Df(this);this.y=208;break;case 21:"for"===this.J?this.y=211:"some"===this.J?this.y=32:"every"===this.J?this.y=33:"let"===this.J&&(this.y=216);break;case 201:a=this.J+" "+this.z,b=tf[a],null!=b&&(this.y=b,this.J=a,Df(this))}}Dg(a){const b={"if":37,array:69,attribute:69, +comment:69,"document-node":69,element:69,"empty-sequence":69,"function":69,map:69,item:69,"namespace-node":69,node:69,"processing-instruction":69,"schema-attribute":69,"schema-element":69,"switch":69,otherwise:79,text:69,tuple:69,typeswitch:69,union:69}[a];return b?["tuple","union"].includes(a)?35:b:35}}var Nf=1,Of=2,Cf=3;var Pf=[!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!0,!1];function Qf(a){return"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")[a]}var Rf=[1,1,2,1,1,1,1,1,13,1,1,1,1,1],Sf=[4,5,9,9,0,1,10,11,9,3,6,7,12]; +function Tf(a){switch(a){case "self":return 12;case "child":return 3;case "parent":return 9;case "ancestor":return 0;case "attribute":return 2;case "following":return 6;case "namespace":return 8;case "preceding":return 10;case "descendant":return 4;case "ancestor-or-self":return 1;case "following-sibling":return 7;case "preceding-sibling":return 11;case "descendant-or-self":return 5}throw new zf("Unknown axis name: "+a);};function Uf(a,b,h,A="XPTY0004"){this.Ba=a;this.g=b;this.b=h;this.xd=A}Uf.prototype={Ad:function(){return this.xd},save:function(){let a=this.Ba+"|"+this.b+"|";a+=("XPTY0004"===this.xd?"":this.xd)+"|";return a+=this.g}};function Vf(a,b,h={}){a.V(b,h);b.R()}class Wf{constructor(){this.j=mc.pa}V(a,b={}){a.V(this.B,b);this.Yb&&a.ed("role",this.Yb);this.wg&&a.ed("sType",this.j.ea())}Bb(){return!hd(this.j.ca)}t(a){Vf(this,a)}}oa=Wf.prototype;oa.B="Expression";oa.Ba=null;oa.Yb=null;oa.wg=null;oa.sa=function(a,b="XPTY0004"){return new Uf(this.Ba,this.B,a,b)};oa.ua=function(){throw new zf(Aa.yk(this)+" is not a valid pattern","XTSE0340");};oa.yd=function(){return this}; +class Xf extends Wf{constructor(a,b,h){super();this.Ia=b;this.aa=a;this.da=h;if(this.aa.Ja||this.da.Ja)this.Ja=!0;this.aa.Ab&&this.da.Ab&&(this.Ab=!0)}t(a){super.V(a,this.Ia?{op:sf[this.Ia]}:{});this.aa.t(a);this.da.t(a);a.R()}}Xf.prototype.Ba=1;class Yf extends Wf{constructor(a){super();this.b=a;this.b.Ja&&(this.Ja=!0);this.b.Ab&&(this.Ab=!0)}t(a){super.V(a);this.b.t(a);a.R()}}Yf.prototype.Ba=9;class Zf extends Wf{constructor(){super();this.j=mc.cc}ua(){return this}t(a){Vf(this,a)}}class $f extends Zf{}$f.prototype.B="p.any";class ag extends Zf{constructor(a){super();this.message=a;this.Yb="match";this.j=mc.cc}t(a){Vf(this,a,{message:this.message})}}ag.prototype.B="p.warning";class bg extends Zf{constructor(a){super();this.b=a;this.j=mc.cc}t(a){super.V(a);this.b.t(a);a.R()}}bg.prototype.B="p.booleanExp"; +class cg extends Zf{constructor(a){super();Aa.ba(a instanceof uc);this.test=a;this.j=new pc(a,2)}t(a){Vf(this,a,{test:this.test.ea()})}}cg.prototype.B="p.nodeTest";class dg extends Zf{constructor(a,b){super();this.ve=a;this.b=b;this.j=a.j;a.code&&(this.code=a.code)}t(a){super.V(a);this.code&&a.ed("code",this.code);this.ve.t(a);this.b.t(a);a.R()}}dg.prototype.B="p.withPredicate";class eg extends Zf{constructor(a){super();this.b=a;this.j=dd(a.j,2)}t(a){super.V(a);this.b.t(a);a.R()}}eg.prototype.B="p.nodeSet"; +class fg extends Zf{constructor(a){super();this.b=a;this.j=dd(a.j,2)}t(a){super.V(a);this.b.t(a);a.R()}}fg.prototype.B="p.genNode";class gg extends Zf{constructor(a,b){super();this.b=b;this.code=a.j.ea();this.j=dd(a.j,2)}t(a){super.V(a,{test:this.code});this.b.t(a);a.R()}}gg.prototype.B="p.genPos";class hg extends Zf{constructor(a,b){super();this.code=a.ea();this.Hd=b;this.j=dd(a,2)}t(a){Vf(this,a,{test:this.code,pos:this.Hd})}}hg.prototype.B="p.simPos"; +class ig extends Zf{constructor(a,b,h){super();this.mb=Sf[a];this.Ya=b;this.b=h;this.j=b.j}t(a){super.V(a,{axis:Qf(this.mb)});this.Ya.t(a);this.b.t(a);a.R()}}ig.prototype.B="p.withUpper";class jg extends Zf{constructor(a,b,h,A){super();this.Ia=b;this.aa=a;this.da=h;this.j=dd(A,2)}t(a){super.V(a,{op:1===this.Ia?"union":sf[this.Ia]});this.aa.t(a);this.da.t(a);a.R()}}jg.prototype.B="p.venn"; +function kg(a){var b=[];a.aa instanceof lg?b=kg(a.aa):b.push(a.aa);a.da instanceof lg?b=b.concat(kg(a.da)):b.push(a.da);return b}class lg extends jg{constructor(a,b,h){super(a,1,b,h)}}class mg extends Zf{constructor(a){super();this.b=a;for(var b of this.b)b.wg=!0}t(a){super.V(a);for(var b of this.b)b.t(a);a.R()}}mg.prototype.B="UnionExprP";function ng(a){return a instanceof og&&1===a.value.length&&Dc.ga()(a.value[0])}function pg(a,b){return new og(a,b)}function qg(){return new og([],mc.Ie)} +class og extends Wf{constructor(a,b){super();Array.isArray(a)||Aa.fa("Literal value must be array");b instanceof pc&&b.K.ea||Aa.fa("Literal type must be a SequenceType");a&&(this.value=a,b&&(this.j=b));this.Yb=null}toString(){return this.value.toString()}t(a){function b(h,A){const P=h.code,q={};switch(P){case "AB":break;case "AQ":q.pre=h.prefix;q.uri=h.q;q.loc=h.local;break;default:q.val=h.toString()}A&&(q.role=A);switch(P){case "AS":a.V("str",q);break;case "AO":a.V("dbl",q);break;case "AB":a.V(h.value? +"true":"false",q);break;case "AD":a.V("dec",q);break;case "ADI":a.V("int",q);break;case "AQ":a.V("qName",q);break;default:q.type=P,a.V("atomic",q)}a.R()}if(0===this.value.length)a.V("empty",this.Yb?{role:this.Yb}:{}),a.R();else if(1===this.value.length)b(this.value[0],this.Yb);else{let h={count:this.value.length};this.Yb&&(h.role=this.Yb);a.V("atomic",h);for(const A of this.value)b(A);a.R()}}}og.prototype.B="literal";og.prototype.Ab=!0; +class rg extends og{constructor(a){super([Sa.XS.string.fromString(a)],mc.Tb);this.j=mc.Tb}};function sg(a,b,h,A,P){var q=tg(a,mc.Sb,a.sa(0,"XPTY0004"));q=new ug(q);if(/[lu]/.test(b))q.dd={flags:b+(P?"e":""),as:h.toEQName()};else{Aa.ba("a"===b);try{if(a instanceof og&&1===a.value.length&&Sa.ka(a.value[0])&&"AQ"!==A.T().p){const g=A.Ic.I(a.value[0]);return new og([g],new pc(A,2))}}catch(g){}q.dd={flags:P?"ae":"a",as:A.ea()}}return q}class ug extends Yf{constructor(a){super(a);this.B="cast";this.Ba=2;this.dd={}}t(a){super.V(a,this.dd);this.b.t(a);a.R()}} +function vg(a,b,h,A,P){var q=new wg(a);q=tg(q,mc.Sb,q.sa(0,"XPTY0004"));if(/[lu]/.test(b))q.dd={flags:b+(P?"e":""),as:h.toEQName()};else{Aa.ba("a"===b);if(a instanceof og&&1===a.value.length&&Sa.ka(a.value[0])&&"AQ"!==A.T().p)try{return A.Ic.I(a.value[0]),new og([Sa.XS.boolean.Kc],mc.Sa)}catch(g){return new og([Sa.XS.boolean.Vd],mc.Sa)}q.dd={flags:P?"ae":"a",as:A.ea()}}return q} +class wg extends Yf{constructor(a){super(a);this.j=mc.Sa;this.B="castable";this.Ba=2;this.dd={}}t(a){super.V(a,this.dd);this.b.t(a);a.R()}}class xg extends Yf{constructor(a,b){super(a);this.g=b;this.j=pd(a.j.K)?mc.wh:mc.od}t(a){super.V(a,{diag:this.g});this.b.t(a);a.R()}}xg.prototype.B="data";class yg extends xg{constructor(a,b,h){super(a,b);this.l=h;pd(a.j.K)?this.j=h?mc.Zf:mc.vh:this.j=h?mc.Sb:mc.Qe}t(a){super.V(a,{diag:this.g});this.l&&a.ed("card","?");this.b.t(a);a.R()}}yg.prototype.B="atomSing"; +class zg extends Wf{constructor(a){super();this.name=a.K.name.toEQName();this.j=mc.Zf}t(a){Vf(this,a,{name:this.name})}}zg.prototype.B="attVal";class Ag extends Yf{constructor(a,b,h){super(a);this.code=b;this.g=h;this.j=mc.od}t(a){super.V(a,{to:this.code,diag:this.g});this.b.t(a);a.R()}}Ag.prototype.B="cvUntyped"; +class Bg extends Yf{constructor(a,b){super(a);this.type=b;this.flags="";this.j=new pc(b.K,a.j.ca)}t(a){super.V(a,{to:this.type.ea().replace(/^[01?*+]/,""),flags:this.flags});this.b.t(a);a.R()}}Bg.prototype.B="convert";class Cg extends Yf{constructor(a,b,h){super(a);this.type=b;this.ja=a.ja;this.g=h;this.j=b}t(a){super.V(a,{to:this.type.ea().replace(/^[01?*+]/,""),diag:this.g});this.b.t(a);a.R()}}Cg.prototype.B="fnCoercer";const Dg="array attribute comment document-node element empty-sequence function if item map namespace-node node processing-instruction schema-attribute schema-element switch text typeswitch".split(" ");class Eg{constructor(a,b){if(""===a.prefix&&Dg.includes(a.local))throw new zf("The unprefixed function name '"+a.local+"' is reserved","XPST0003");this.name=a;this.arity=b}toEQName(){return this.name.toEQName()}toString(){return this.name.toEQName()+"#"+this.arity}};class Fg extends Wf{constructor(a,b,h){super();const A=a.name.local;if(a.name.q===dc.ac){if("NOTATION"===A)throw new J("No constructor function exists for xs:NOTATION","XPST0017");const q=b[0].j;if(2===q.ca&&q.K.ka()&&q.K.Ic&&A===q.K.Ic.name)a=b[0];else if(["NMTOKENS","ENTITIES","IDREFS"].includes(A))a=sg(b[0],"l",a.name,null,!0);else{var P;"numeric"===A?P=sg(b[0],"u",a.name,null,!0):P=sg(b[0],"a",null,h.K,!0);a=P}return a}this.name=a;this.b=b;this.j=h;switch(A){case "exactly-one":this.j=dd(b[0].j, +2);break;case "head":this.j=dd(b[0].j,fd(b[0].j.ca)?3:2);break;case "tail":case "subsequence":this.j=dd(b[0].j,7);break;case "ceiling":case "floor":case "reverse":case "snapshot":this.j=b[0].j;break;case "last":case "position":this.Ja=!0;break;case "string-length":case "normalize-space":0===b.length&&this.b.push(Gg("string",new Hg));break;case "fold-left":case "fold-right":this.j=b[2].ja;break;case "for-each":this.j=dd(b[1].j.K.lf(),7);break;case "filter":this.j=dd(b[0].j,7);break;case "current":this.Ab= +!0;break;case "boolean":if(b[0].j.equals(mc.Sa))return b[0]}}ua(){return new eg(this)}Bb(){if(this.name.q===dc.za)return"doc document element-with-id id innermost key outermost".split(" ").includes(this.name.local)?!0:"filter one-or-more subsequence remove tail trace unordered zero-or-more".split(" ").includes(this.name.local)?this.b[0].Bb():!1}t(a){super.V(a,{name:this.name.name.local});for(const b of this.b)b.t(a);a.R()}}Fg.prototype.B="fn"; +class Ig extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Ig.prototype.B="ifCall";class Jg extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h;if(a="merge"===a.name.local)a=b[0],a=!(a instanceof og&&0===a.value.length);a&&(this.j=dd(b[0].j,2))}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Jg.prototype.B="ifCall"; +class Kg extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Kg.prototype.B="ifCall";class Lg extends Ig{}class Mg extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Mg.prototype.B="ifCall"; +class Ng extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Ng.prototype.B="ifCall";class Og extends Ng{constructor(a,b,h){super(a,b,h);const A=new Eg(Sa.XS.QName.fromParts("ixsl",dc.Yc,"call"),3),P=new Eg(Sa.XS.QName.fromParts("ixsl",dc.Yc,"window"),0);this.name=A;this.b=[new Ng(P,[],mc.cc),new rg(a.name.local),new Pg(b)];this.j=h}} +class Qg extends Wf{constructor(a,b,h,A){super();this.name=a;this.b=b;this.j=h;this.g=A}t(a){super.V(a,{name:this.name.toEQName(),coId:this.g});for(const b of this.b)b.t(a);a.R()}}Qg.prototype.B="ufCall";class Rg extends Wf{constructor(a){super();this.name=a.name.name;this.jb=a.jb;this.arity=a.name.arity;this.j=a.j;this.ja=a.ja}t(a){Vf(this,a,{name:this.name.toEQName(),arity:this.arity,resultType:this.ja.ea()})}}Rg.prototype.B="fnRef"; +class Sg extends Rg{constructor(a){super(a);this.b=0}t(a){Vf(this,a,{name:this.name.toEQName(),arity:this.arity,resultType:this.ja.ea(),bSlot:this.b})}}Sg.prototype.B="ufRef";class Tg extends Wf{constructor(){super();this.j=mc.pa}t(a){Vf(this,a,{asCode:"*"})}}Tg.prototype.B="null";class Ug extends Wf{}Ug.prototype.b={};Ug.prototype.l={};Ug.prototype.g={}; +class Vg extends Wf{constructor(){super();this.j=mc.pa;this.Db=this.Ma=this.name=this.Qb=null}Tc(){return this.name}toString(){return"$"+this.name+" as "+this.j.toString()}t(a){Vf(this,a,{name:this.name,asCode:this.j.ea(),slot:this.Db})}}Vg.prototype.B="arg"; +class Wg extends Wf{constructor(a,b,h,A){super();this.b=a;this.params=b;this.ja=h;const P=[];b.forEach(q=>{P.push(q.j)});A=tg(A,h,this.sa("body"));this.j=tc(new md(P,h));this.arity=b.length;this.rc=A;A.Yb="body"}t(a){super.V(a,{arity:this.arity,name:this.name,as:this.ja.ea()});for(const b of this.params)b.t(a);this.rc.t(a);a.R()}}oa=Wg.prototype;oa.B="inlineFn";oa.Ba=5; +oa.sa=function(a,b="XPTY0004"){return new Uf(this.Ba,"("+this.params.map(h=>h.toString()).join(",")+")"+(this.ja?" as "+this.ja.toString():""),a,b)};oa.name="inline";oa.wg=!0; +class Xg extends Wf{constructor(a,b,h){super();if(a.j&&a.j.K instanceof md&&a.j.T().a.length!==b.length)throw new J("Partially-applied function requires "+a.arity+" arguments, but "+(b.length{var z=g.a[P];z=q?q:rc(z);l instanceof Tg?l.j=z:l=tg(l,z,this.sa(P));this.b.push(l);e&&(q=z);P++})}else b.forEach(g=>{this.b.push(g)});a.j.K instanceof md&&(this.j=tc(Bd(a.j.K,h)))}t(a){super.V(a);this.g.t(a);this.b.forEach(b=>{b.t(a)});a.R()}}Xg.prototype.B="partialApply";Xg.prototype.Ba=5; +class Zg extends Wf{constructor(a,b){super();this.Mb=a;this.value=b;this.j=nc("1FM")}toString(){return"map{"+this.Mb.toString+" : "+this.value.toString()+"}"}t(a){super.V(a);this.Mb.t(a);this.value.t(a);a.R()}}Zg.prototype.B="map"; +class $g extends Wf{constructor(a){super();this.entries=a;const b=yd.Ed(a.map(P=>P[0].j.K)),h=yd.Ed(a.map(P=>P[1].j.K));a=a.map(P=>P[1].j.ca);let A=2;a.some(P=>fd(P))&&(A+=1);a.some(P=>hd(P))&&(A+=4);this.j=tc(new zd(b,new pc(h,A)))}toString(){let a="map{";this.entries.forEach(b=>{a+=b[0].toString+" : "+b[1].toString()});return a+"}"}t(a){super.V(a);this.entries.forEach(b=>{b[0].t(a);b[1].t(a)});a.R()}}$g.prototype.B="map";class ah extends Wf{constructor(a,b){super();Aa.ba(!b||b instanceof uc);this.mb=a;this.B="axis";b=b||zc;2===a&&b instanceof Ac?b=Qc:3===a&&b instanceof Ac&&(b=Bc);this.b=b;9===a&&b instanceof Ac?this.j=mc.Xd:b?this.j=new pc(b,7):this.j=mc.Wd}ob(){return this.mb}Bb(){return[2,3,4,5,6,7,9,12].includes(this.mb)}ua(){return new cg(this.b)}t(a){Vf(this,a,{name:Qf(this.mb),nodeTest:this.j.ea()})}} +class bh extends Xf{constructor(a,b){super(a,2,b);this.aa=a=tg(a,mc.Wd,this.sa(0,"XPTY0019"));this.j=ed(b.j,a.j.ca)}Bb(){return!0}ua(){if(this.da instanceof Fg||this.da instanceof og)throw new zf("Not an axis step for a pattern","XTSE0340");return this.Ja||!this.da.ob||this.da instanceof ch?new fg(this):new ig(this.da.ob(),this.da.ua(),this.aa.ua())}t(a){super.V(a,this.Ia?{op:sf[this.Ia]}:{});this.aa.t(a);this.da.t(a);a.R()}}bh.prototype.B="slash"; +class dh extends Wf{constructor(){super();this.j=mc.Xd}ua(){return new cg(Nc)}}dh.prototype.B="root";const eh={ADI:"i",ADIL:"c",ADILI:"i",ADILIS:"i",ADILISB:"i",ADIN:"c",ADINN:"c",ADIP:"c",ADIPP:"c",ADIPL:"c",ADIPLI:"i",ADIPLIS:"i",ADIPLISB:"i",AD:"c",AO:"d",AF:"f",A:"a",AZ:"a",AT:"t",AA:"t",AM:"t",AMP:"t",AH:"t",AI:"t",AJ:"t",AG:"t",AK:"t",ARD:"u",ARY:"u",E:"a"};var fh={19:"%",18:"/",56:"~",15:"+",16:"-",299:"-",17:"*"};function gh(a,b){b=new Ag(a,"AO",b.save());b.j=2===a.j.ca?mc.$d:mc.mh;return b} +class hh extends Xf{constructor(a,b,h,A){function P(c){return c instanceof wc&&c.Ic.Ya?new wc(Sa.ok(c.Ic)):c}function q(){throw new zf("Cannot evaluate "+l.toString()+" "+sf[b]+" "+z.toString(),"XPTY0004");}super(a,b,h);const g=A.oe(),e=a.Ja||h.Ja;g&&(a=ih(a),h=ih(h));a=tg(a,mc.Sb,this.sa(0));h=tg(h,mc.Sb,this.sa(1));let l=P(a.j.K),z=P(h.j.K);var v=l.T().p,G=z.T().p;g||!/^AS/.test(v)&&!/^AS/.test(G)||q();"AZ"!==v||g||(a=gh(a,this.sa(0,"FORG0001")),l=Vc,v="AO");"AZ"!==G||g||(h=gh(h,this.sa(1,"FORG0001")), +z=Vc,G="AO");var p=eh[v];let f=eh[G];const I=l.isNumeric(),D=z.isNumeric();G=ad;v=fd(a.j.ca)||fd(a.j.ca);p||="a";f||="a";var r;g?(p=f="d",G=Vc):I&&D&&("d"===p||"d"===f?(p=f="d",G=r=Vc):"f"===p||"f"===f?(p=f="f",G=r=Wc):"c"===p||"c"===f?(p=f="c",G=r=Yc):"i"===p&&"i"===f&&18===b?(p=f="c",G=Yc):"i"!==p||"i"!==f||15!==b&&16!==b&&17!==b&&19!==b?"i"===p&&"i"===f&&18===b&&(G=Yc):G=Zc);56===b&&(G=Zc);G.isNumeric()&&r&&(r=new pc(r,3),a=tg(a instanceof jh?a.b:a,r,this.sa(0)),h=tg(h instanceof jh?h.b:h,r,this.sa(1))); +[p,f].includes("a")&&(p=f="a");(l.ka("ARY")&&z.ka("AT")||z.ka("ARY")&&l.ka("AT"))&&q();"t"===p&&"t"===f&&(16===b?G=$c:q());"u"===p&&"t"===f&&(15===b?G=z:q());"u"===p&&"u"===f&&(17===b&&q(),18===b?G=Yc:G=l);I&&"u"===f&&18===b&&q();"t"!==p||"u"!==f||16!==b&&15!==b?"i"===p&&"u"===f&&17===b?(p="n",G=z):"u"!==p||"d"!==f&&"i"!==f&&"c"!==f?"u"!==f||"d"!==p&&"i"!==p&&"c"!==p||(p="n",G=z):(G=l,f="n"):G=l;p=p+fh[b]+f;if(!A.oe()&&"AF"!==G.T().p&&!A.zc&&(A.lj?0===A.lj:1)&&ng(a)&&ng(h)&&(A=a.value[0],r=h.value[0], +18!==b||0!==r.toNumber()))return a=tb[p](A,r),pg([a],new pc(new wc(Sa.codes[a.code]),2));this.aa=a;this.da=h;a.j.equals(h.j)&&(this.j=a.j);G&&(this.j=new pc(G,v?3:2));this.b=p;e&&(this.Ja=!0);g&&(this.B="arith10");this.j||(this.j=mc.Qe)}ua(){throw new zf("The arithmetic expression "+sf[this.Ia]+" is not a patternXTSE0340");}t(a){super.V(a,this.Ia?{op:sf[this.Ia],calc:this.b}:{});this.aa.t(a);this.da.t(a);a.R()}}hh.prototype.B="arith";const kh={6:50,22:51,11:52,12:53,13:54,14:55};function lh(a,b){a=a.T().p;b.T();if("AZ"===a&&b.isNumeric())return!1;if("A"===a&&b.ka())return!0;""===a&&b.ka();return!0}function mh(a){return/^A[BAMT2XQ]/.test(a)}class nh extends Xf{constructor(a,b,h,A){super(a,b,h);a=A.Ej();b="GAC";switch(a){case Nd.Fg:b="CAC"}a.startsWith(Nd.Ck)&&(b="CAC");h.j===mc.uh&&(b="EQC");this.ud=b+"|"+a;this.j=mc.Sa}t(a){super.V(a,{op:sf[this.Ia],comp:this.ud});this.aa.t(a);this.da.t(a);a.R()}} +class oh extends nh{t(a){super.V(a,{op:sf[this.Ia],comp:this.ud,card:"1:1"});this.aa.t(a);this.da.t(a);a.R()}} +class ph extends oh{constructor(a,b,h,A){super(a,b,h,A);a=tg(a,mc.od,this.sa(0));h=tg(h,mc.od,this.sa(1));b=a.j.T();A=h.j.T();var P=b.p;var q=A.p;P===q||[P,q].includes("AZ")||[P,q].includes("A")?P=!0:(/^A[ODF]/.test(P)&&(P="AO"),/^A[ODF]/.test(q)&&(q="AO"),/^A[SU]/.test(P)&&(P="AS"),/^A[SU]/.test(q)&&(q="AS"),P="E"===P||"E"===q?!0:P===q);if(!P)if(P="Cannot compare items of types "+a.j.K.toString()+" and "+h.j.K.toString(),/[*?]/.test(b.o)||/[*?]/.test(A.o))Aa.Qa(P+": the comparison can succeed only if one of the values is an empty sequence", +1,null);else throw new zf(P,"XPTY0004");this.aa=a;this.da=h}}ph.prototype.B="gc";class qh extends oh{}qh.prototype.B="gc10"; +class rh extends nh{constructor(a,b,h,A,P=!0){super(a,b,h,A);var q=a.j.K,g=h.j.K;const e=q.T().p,l=g.T().p;if(!("A"===e&&g.ka()||"A"===l&&q.ka()||""===e||""===l||q.T().p.startsWith("AM")&&g.T().p.startsWith("AM")||(mh(e)||mh(l)?e===l:lh(q,g)||lh(g,q))))throw new zf("Cannot compare "+a.j.toString()+" "+sf[b]+" "+h.j.toString(),"XPTY0004");a=tg(a,mc.Sb,this.sa(0));h=tg(h,mc.Sb,this.sa(1));if(51!==b&&50!==b&&/^A[QGHIJK]/.test(a.j.K.T().p))throw new zf("Cannot order-compare "+a.j.toString()+" "+sf[b]+ +" "+h.j.toString(),"XPTY0004");if(P){if(ng(h)&&Sa.XS.integer.matches(h.value[0])&&"ADI"===a.j.T().p)return new sh(a,b,h,A);if(h instanceof rg)return new th(a,b,h,A)}this.aa=a;this.da=h}}rh.prototype.B="vc";class uh extends rh{constructor(a,b,h,A){super(a,b,h,A,!1)}t(a){super.V(a,{op:sf[this.Ia],val:this.da.value[0]});this.aa.t(a);a.R()}}class sh extends uh{}sh.prototype.B="compareToInt"; +class th extends uh{t(a){super.V(a,{op:sf[this.Ia],val:this.da.value[0].toString(),comp:this.ud});this.aa.t(a);a.R()}}th.prototype.B="compareToString";class vh extends nh{constructor(a,b,h,A){super(a,b,h,A);a=tg(a,mc.Xd,this.sa(0));h=tg(h,mc.Xd,this.sa(0));this.aa=a;this.da=h;this.B=38===b?"precedes":39===b?"follows":"is"}t(a){super.V(a);this.aa.t(a);this.da.t(a);a.R()}};function wh(a,b){return a instanceof Fg&&a.name.name.q===dc.za&&a.name.name.local===b}function xh(a,b){return a instanceof rh&&a.Ia===b&&wh(a.aa,"position")&&wh(a.da,"last")} +class yh extends Wf{constructor(a,b){super();if(b){let A=wh(b,"last")||xh(b,50);if(A)return new Ah(a);A=A||xh(b,53);var h=b.Ja||b instanceof hh;const P=b.Ab;if(!h&&P&&b.j.equals(mc.sd))return new Bh(a,b);h||(h=b.j.K.T().p,h="AB"===h||h.startsWith("N")?!1:"A"===h||/^A[ODF]/.test(h));this.b=a;this.j=a.j;b instanceof Ch?this.j=dd(b.type,this.j.ca):b instanceof og&&1===b.value.length&&Dc.ga()(b.value[0])&&(this.j=dd(this.j,3));h&&(this.Ja=!0);P&&(this.Ab=!0);this.g=A?new Dh(50===b.Ia?"1":"0"):b}}ob(){return this.b.ob()}Bb(){return super.Bb()|| +this.b.Bb()}ua(){if(!pd(this.j.K)){const a=Gg("exists",this);return new bg(a)}return this.Ja&&this.b instanceof ah&&!(this.g instanceof Dh)?new gg(this.b,this.g):this.Ja?new fg(this.yd()):new dg(this.b.ua(),this.g)}yd(){if(this.b instanceof Hg)return this.g;this.b=this.b instanceof ah?Eh(new Hg,this.b):this.b.yd();return this}t(a){super.V(a);let b="";this.Ab&&(b+="i");this.Ja&&(b+="p");""!==b&&a.ed("flags",b);this.b.t(a);this.g.t(a);a.R()}}yh.prototype.B="filter"; +class Bh extends yh{constructor(a,b){super(a,null);if(ng(b)&&Sa.XS.integer.matches(b.value[0])&&1===b.value[0].value)return new Fh(a);this.b=a;this.j=dd(a.j,3);this.g=b;this.Ja=!0}ua(){return this.b instanceof Hg?new ag("Numeric predicates other than 1 in PredicatePatterns never match. Value provided:"+this.g.value.value):this.b instanceof ah?new hg(this.b.j,this.g.value[0].value):new fg(this.yd())}}Bh.prototype.B="subscript"; +class Fh extends Bh{constructor(a){super(a,null);this.b=a;this.Ja=!0;this.j=dd(a.j,3)}ua(){return pd(this.j.K)?this.b instanceof ah?new fg(new Fh(Eh(new Hg,this.b))):new fg(this.yd()):new bg(this)}t(a){super.V(a);this.b.t(a);a.R()}}Fh.prototype.B="first"; +class Ah extends Bh{constructor(a){super(a,null);this.b=a;this.Ja=!0;this.j=dd(a.j,3)}ua(){if(!(this.b instanceof ah))return new fg(this.yd());if(3===this.b.mb){var a=new ah(7,this.b.b);return new dg(this.b.ua(),Gg("empty",[a]))}return new hg(this.b.j,1)}t(a){super.V(a);this.b.t(a);a.R()}}Ah.prototype.B="lastOf";class Dh extends Wf{constructor(a="1"){super();this.test=a;this.j=mc.Sa}t(a){Vf(this,a,{test:this.test})}}Dh.prototype.B="isLast";function Gh(a,b){if(a instanceof dh&&b instanceof ah&&9===b.ob())return qg();if(a instanceof bh&&a.aa instanceof dh&&5===a.da.mb&&b instanceof ah&&3===b.mb)return Gh(a.aa,new ah(4,b.b));if(b instanceof bh||b instanceof Hh&&b.b instanceof bh){const h=Ih(b);Jh(h.aa)instanceof ah&&Jh(h.da)instanceof ah&&(a=Eh(a,h.aa),b=h.da)}a=new bh(a,b);return Kh(a)?a:pd(a.da.j.K)?(a.aa=Lh(a.aa),a.da=Lh(a.da),new Hh(a)):a} +function Kh(a){if(!hd(a.aa.j.ca))return a.da.Bb();const b=Jh(a.aa);return b instanceof ah&&3===b.mb&&(a=Jh(a.da),a instanceof Hh&&(a=a.b),a instanceof ah&&[3,2,4,5,8].includes(a.mb)||a instanceof bh&&Kh(a))?!0:!1}function Ih(a){return a instanceof Hh?a.b:a}function Jh(a){return a instanceof yh?Jh(a.b):a instanceof Hh?Jh(a.b):a}var Eh=Gh,Lh=Ih;function Mh(a,b,h,A,P={}){Aa.ba(b);Aa.ba(b instanceof pc);Aa.ba(a.j);Aa.ba(a.j instanceof pc);var q=b.T(),g=a,e;const l=b.K,z=b.ca,v=hd(z);var G=null,p=-1;let f=7===z;f||(p=a.j.ca,f=(z|p)===z);q=""===q.p;1===z&&(q=!0);q||(G=a.j.K,p=a.j.ca,q=yd.Cb(l,G),q===yd.Rb&&(q=G===xc?yd.dc:l===xc?yd.Fb:q),q=q===yd.kb||q===yd.Fb);if(q&&f)return g;if(P.Gb&&!v&&(hd(p)&&(g=e=new Fh(g),p=3,f=(z|p)===z),!q)){if(l.ka("AS")){try{e=Mh(g,mc.Yf,h,A)}catch(I){throw I;}g=Gg("string",e);G=Xc;p=2;g.j=mc.Tb;f=(z|p)===z;q=!0}if(qd(l)|| +l.ka("AO")){try{e=Mh(g,mc.Yf,h,A)}catch(I){throw I;}g=Gg("number",e);G=Vc;p=2;g.j=mc.$d;f=(z|p)===z;q=!0}}if(!q)if(l.ka()){if(!G.ka()&&1!==p){if(!G.Qj)throw b=new J("An atomic value is required for the "+h.getMessage()+", but the supplied value (type "+G.toString()+") cannot be atomized","error()"===G.name?"FOER0000":"FOTY0013",a),b;G=!hd(p);p=!hd(z);G?(e=fd(z),g=g instanceof ah&&2===g.mb&&g.j.K instanceof td?new zg(g.j):new yg(g,A,e)):g=g instanceof ah&&2===g.mb&&g.j.K instanceof td?new zg(g.j): +new xg(g,A);e=g;p&&!G&&(e=Nh(e,z,A));g=e;G=g.j.K;p=g.j.ca;f=(z|p)===z}G.ka("AZ")&&(qd(l)||!l.ka("AZ")&&"A"!==l.T().p)&&(g=e=Oh(g,l,A),q=!0,G=l);"A"!==G.ea()||["A","AZ"].includes(l.ea())||(g=e=Oh(g,l,A),G=g.j.K);l.ka()&&(l.ka("AO")&&yd.Cb(G,Dc)!==yd.Rb?(g=e=new Bg(g,mc.$d),G=Vc,p=-1):l.ka("AF")&&yd.Cb(G,Dc)!==yd.Rb&&!yd.Wj(G,Vc)&&(g=e=new Bg(g,mc.th),G=Wc,p=-1),l.ka("AS")&&G.ka("AU")&&(q=!0,g=e=new Bg(g,mc.Tb),G=Xc))}else l.Bd()&&"F"===l.T().p&&(G.Bd()||(g=new Ph(g,Fc,A),G=Fc),l instanceof Gc||(q= +G.T(),("FM"===q.p||"FA"===q.p)&&1===l.g.length)||(g=new Cg(g,tc(l),A)),q=!0);if(q&&f)return g;-1===p&&(p=g.j.ca,f||=(z|p)===z);if(f&&1===p)return g;if(1===p&&!fd(z))throw b=new J("An empty sequence is not allowed as the "+h.getMessage(),h.Ad()),b;q=q?yd.dc:yd.Cb(G,l);q===yd.Rb&&(q=G===xc?yd.Fb:l===xc?yd.dc:q);1===z&&(q=yd.kb);if(q===yd.Rb)if(fd(p)&&fd(z))1!==p&&(e=h.qg(l,G),Aa.Qa(e+". The expression can succeed only if the supplied value is an empty sequence.",1,null));else throw e=h.qg(l,G),b=new J(e, +"error()"===G.name?"FOER0000":h.Ad()),b;if(q!==yd.kb&&q!==yd.dc){if(g.Sj){A=Sa.XS.string.fromString(g.getAttribute("val"));if(l.ka()&&b.matches(A))return g;e=h.qg(l,G);b=new J(e,h.Ad());throw b;}g=e=Qh(g,new pc(l,z),A);f=!0}if(!f){if(g.Sj)throw b=new J("Required cardinality of "+h.getMessage()+" is "+gd(z)+"; supplied value has cardinality "+gd(p),h.Ad()),b;g=e=Nh(g,z,A)}return g}function Oh(a,b,h){b=qd(b)?"AO":b.T().p;return new Ag(a,b,h)};function Gg(a,b){a=new Sa.XS.QName.fromParts("fn",dc.za,a);b=Array.isArray(b)?b:[b];a=new Eg(a,b.length);return new Fg(a,b,mc.pa)}function tg(a,b,h){const A=Rh(h.xd?h.xd:"XPTY0004",h.save());return Mh(a,b,A,h.save())}function ih(a){return hd(a.j.ca)?new Fh(a):a} +class Sh extends Wf{constructor(a){super();this.value=a;0===a.length?this.j=mc.Ie:this.j=new pc(yd.Ed(a.map(h=>h.j.K)),7);let b=!0;a.forEach(h=>{b=b&&h instanceof og});b&&(this.b=!0)}t(a){super.V(a);this.b&&a.ed("literal",!0);for(const b of this.value)b.t(a);a.R()}}Sh.prototype.B="sequence"; +class Pg extends Wf{constructor(a){super();this.value=a;if(0===a.length)this.j=tc(Jc);else{const b=yd.Ed(a.map(A=>A.j.K));let h=0;a.forEach(A=>h|=A.j.ca);this.j=tc(new Ad(new pc(b,h)))}}t(a){super.V(a);for(const b of this.value)b.t(a);a.R()}}Pg.prototype.B="arrayBlock"; +class Th extends Wf{constructor(a,b){super();this.Ia=a;this.B=sf[a];this.Ma=b;this.Xa=this.kd=void 0;this.Db=0;this.Qb=this.value=null;this.j=mc.Sa}Tc(){return this.Ma}t(a){super.V(a,{"var":this.Ma.toEQName(),slot:this.Db});this.value.t(a);this.Xa.t(a);a.R()}} +class ch extends Xf{constructor(a,b,h,A=!1){super(a,b,h);this.B=1===b?"union":sf[b];A=A?"XTSE0340":"XPTY0004";a=tg(a,mc.Wd,this.sa(0,A));h=tg(h,mc.Wd,this.sa(1,A));a=a.Bb()?a:new Hh(a);h=h.Bb()?h:new Hh(h);this.aa=a;this.da=h;Aa.ba(a.j);Aa.ba(h.j);switch(b){case 24:this.j=a.j;break;case 23:b=a.j.ca&h.j.ca|3;this.j=new pc(yd.Kj([a,h].map(P=>P.j.K)),b);break;case 1:this.j=new pc(yd.Ed([a,h].map(P=>P.j.K)),Jd(a.j.ca,h.j.ca))}}Bb(){return!0}ob(){return this.aa.ob&&this.da.ob&&this.aa.ob()===this.da.ob()? +this.aa.ob():-1}ua(){if(1===this.Ia)return new lg(this.aa.ua(),this.da.ua(),this.j);const a=this.ob();return 3===a||2===a||this.aa.Ab||this.da.Ab?new jg(this.aa.ua(),this.Ia,this.da.ua(),this.j):new fg(this)}}class Hg extends Wf{constructor(a=mc.cc){super();this.j=a}t(a){Vf(this,a)}ua(){return new $f}}Hg.prototype.B="dot";function Uh(a){return""===a.j.T().p?new Vh(a):a}class Vh extends Yf{constructor(a){super(a);this.j=a.j}}Vh.prototype.B="homCheck"; +function Wh(a){return a.global?new Xh(a):new Yh(a)}class Zh extends Wf{constructor(){super();this.b=null;this.j=mc.pa}}Zh.prototype.B="varRef";Zh.prototype.Ab=!0;class Yh extends Zh{constructor(a){super();this.b=a;this.j=a.Qb||mc.pa}Tc(){return this.b.Ma}t(a){Vf(this,a,{name:this.b.Ma.toEQName(),slot:this.b.Db})}}Yh.prototype.B="varRef"; +class Xh extends Zh{constructor(a){super();this.b=a;this.j=a.Qb}Tc(){return this.b.Ma}ua(){return new eg(this)}t(a){Vf(this,a,{name:this.b.Ma.toEQName(),bSlot:"?"})}}Xh.prototype.B="gVarRef";class $h extends Xf{constructor(a,b){super(a,213,b);this.aa=a=tg(a,mc.Sf,this.sa(0));a.j&&a.j.K&&a.j.K.ja&&(this.j=a.j.K.ja)}}$h.prototype.B="lookup";class ai extends Wf{constructor(a){super();this.aa=a=tg(a,mc.Sf,this.sa(0))}t(a){super.V(a);this.aa.t(a);a.R()}}ai.prototype.B="lookupAll"; +class bi extends Wf{constructor(){super();this.j=mc.pa}}bi.prototype.B="currentGroup";class ci extends Wf{constructor(){super();this.j=mc.od}}ci.prototype.B="currentGroupingKey";class Hh extends Yf{constructor(a){super(a);this.j=a.j}Bb(){return!0}ua(){return this.b.ua()}}Hh.prototype.B="docOrder";class di extends Yf{constructor(a){super(a);this.j=a.j}t(a){super.V(a,{flags:this.flags});this.b.t(a);a.R()}}di.prototype.B="copyOf";di.prototype.flags="cm"; +class Ch extends Wf{constructor(a,b){super();Aa.ba(b instanceof pc);this.aa=a;this.type=b;this.j=mc.Sa}t(a){super.V(a,{of:this.type.ea()});this.aa.t(a);a.R()}}Ch.prototype.B="instance";function Qh(a,b,h=null){h||(h=new Uf(2,"treat as",0),h.xd="XPDY0050",h=h.save());return new Ph(Nh(a,b.ca,h),b.K,h)}class jh extends Yf{constructor(a,b,h){super(a);this.j=new pc(a.j.K,b);this.g=b;this.l=h}t(a){super.V(a,{card:2===this.g?"1":gd(this.g),diag:this.l});this.b.t(a);a.R()}}jh.prototype.B="check"; +function Nh(a,b,h){return 7===b?a:a instanceof og&&(b|2)===b?a:new jh(a,b,h)}class Ph extends Yf{constructor(a,b,h){super(a);this.j=a.j;this.l=b;this.g=h}t(a){super.V(a,{as:this.l.ea(),diag:this.g});this.b.t(a);a.R()}}Ph.prototype.B="treat";function ei(a,b,h){a=[a,pg([Sa.XS.boolean.Kc],mc.Sa)];return new fi(a,[b,h])}class fi extends Wf{constructor(a,b){super();this.g=a;this.b=b;this.Ja=b.some(h=>h.Ja);a=yd.Ed(b.map(h=>h.j.K));b=Id(b.map(h=>h.j.ca));this.j=new pc(a,b)}t(a){super.V(a);let b=0;for(const h of this.g)h.t(a),this.b[b++].t(a);a.R()}}fi.prototype.B="choose";class gi extends Wf{constructor(){super();this.Xa=this.value=this.Qb=this.Ma=null;this.Db=0}Tc(){return this.Ma}b(a){this.Xa=a;this.j=a.j}g(a){this.value=a;this.Qb=a.j}t(a){super.V(a,{name:this.Ma.toEQName(),slot:this.Db});this.value.t(a);this.Xa.t(a);a.R()}}class hi extends gi{g(a){this.value=a;this.Qb=dd(a.j,2);this.Xa&&(this.j=ed(this.Xa.j,a.j.ca))}b(a){this.Xa=a;this.value&&(this.j=ed(a.j,this.value.j.ca))}}hi.prototype.B="for";class ii extends gi{}ii.prototype.B="let";class ji extends Xf{constructor(a,b){super(a,null,b);this.j=mc.Sa}}class ki extends ji{}ki.prototype.B="and";class li extends ji{}li.prototype.B="or";function mi(a){return ng(a)&&Sa.XS.integer.matches(a.value[0])&&1E7>a.value[0].value}class ni extends Xf{constructor(a,b,h=!1){super(a,null,b);h&&(a=ih(a),b=ih(b));this.aa=tg(a,mc.Xf,this.sa(0));this.da=tg(b,mc.Xf,this.sa(1));this.j=mc.Ke}}ni.prototype.B="to";class oi extends Wf{constructor(a,b){super();this.from=a;this.b=b;this.j=mc.Ke}t(a){Vf(this,a,{from:this.from.value,to:this.b.value})}}oi.prototype.B="range"; +class pi extends Wf{constructor(a,b){super();this.b=a;this.next=b;this.j=ed(b.j,a.j.ca)}t(a){super.V(a);this.b.t(a);this.next.t(a);a.R()}}pi.prototype.B="forEach";var qi={array:"http://www.w3.org/2005/xpath-functions/array",fn:"http://www.w3.org/2005/xpath-functions",ixsl:"http://saxonica.com/ns/interactiveXSLT",map:"http://www.w3.org/2005/xpath-functions/map",math:"http://www.w3.org/2005/xpath-functions/math",saxon:"http://saxon.sf.net/",xml:"http://www.w3.org/XML/1998/namespace",xs:"http://www.w3.org/2001/XMLSchema",xsl:"http://www.w3.org/1999/XSL/Transform"},ri={},si;for(si in qi)ri[qi[si]]=si;function ti(a,b){var h=new Eg(a.name,a.arity),A=mc.pa;switch(a.q){case dc.map:A=mc.cg;switch(a.name.local){case "get":A=b[0].j.Sd;break;case "merge":A=mc.cg;break;case "entry":A=tc(new zd(b[0].j,b[1].j))}return new Jg(h,b,A);case dc.Ye:switch(a.name.local){case "_from-sequence":A=tc(new Ad(b[0].j))}return new Kg(h,b,A);case dc.ib:switch(a.name.local){case "apply":a=b[0].j,a=a.K?a.K:a,A=a.ja?a.ja:mc.pa}return new Mg(h,b,A)}} +class ui extends Wf{constructor(a,b,h){var A=mc.pa;super();this.name=Sa.XS.QName.fromParts(ri[h],h,a);this.arity=b;this.q=h;this.j=mc.Re;this.ja=A}}ui.prototype.B="function";class vi{}vi.prototype.q=dc.za;class wi extends vi{constructor(){super()}}wi.prototype.q=dc.map;var xi=new wi;class yi extends vi{constructor(){super()}}yi.prototype.q=dc.Ye;var zi=new yi;class Ai extends vi{constructor(){super()}}Ai.prototype.q=dc.ib;class Ci extends Ai{}var Di=new Ci;const Ei={FUNCTION:0,Kk:1,rl:2,wl:3,Yk:4,Tk:5,el:6,ql:7,hl:8,tl:9,ul:10,Xk:11,EVALUATE_RESULT:12,Nk:13,Ik:14,dl:15,Lk:16,Ok:17},Fi=["doc","id","element-with-id","key","root"];function Gi(a,b,h,A){return Ei[a]+"|"+b+"|"+h+"|"+A}function Hi(a,b,h,A){return{getMessage:function(){return b},qg:A,Ad:function(){return a},save:function(){return h}}}function Rh(a,b){const h=ld.tk(b).gd;return Hi(a,h,b,function(A,P){return"Required type of "+h+" is "+A.toString()+": actual type is "+P.toString()})} +class Yg{constructor(a,b){var h=null;this.name=a;this.arity=a.arity;if(b){this.jb=b;h=b.alphaTree;const A=[];let P;b.variadic&&(P=rc(h.a[0]));for(b=0;b""){return Sa.XS.QName.fromString(N,fa=>""===fa?la():ba(fa))}function A(){const N=sf[t.y];return 201===t.y?'name "'+t.J+'"':-1===t.y?"(unknown token)":t.J&&t.J!==sf[t.y]?`${N} ("${t.J}")`:/^[a-z]+$/.test(N)?`"${N}"`:N}function P(N,ba="XPST0003"){Kf(t);throw new zf(N,ba);}function q(N){const ba=Kf(t);console.log((N.startsWith("...")? +"near":"in")+" "+ba+":\n "+N)}function g(){try{t.next()}catch(N){P(N.message)}}function e(N){t.y!==N&&P('expected "'+sf[N]+'", found '+A())}function l(N=!1){N=z(N);let ba=null;for(;7===t.y;){null==ba&&(ba=[],ba.push(N));g();const la=z();ba.push(la)}null!=ba&&(N=new Sh(ba));return N}function z(N=!1){switch(t.y){case 0:if(N)return qg();P("Expected an expression, but reached the end of the input");break;case 211:case 216:N=0;var ba=t.y,la=null,fa=null;do{g();e(21);g();e(201);var ta=t.J,Ca=void 0; +211===ba?Ca=new hi:Ca=new ii;N++;ta=pa(ta,"");Ca.Ma=ta;g();e(216===ba?58:31);g();ia.push(null);Ca.g(z());ia.pop();ka(Ca);null==fa?la=Ca:fa.b(Ca);fa=Ca}while(7===t.y);e(25);g();fa.b(z());for(Ca=0;Ca=ba;){const Qa=t.y;var la=v();switch(Qa){case 45:case 47:g();var fa=u();a:switch(Qa){case 45:N=new Ch(N,fa);break a;case 47:N=Qh(N,fa);break a;default:throw new Af(sf[Qa]);}v()>=la&&P("Left operand of '"+sf[t.y]+"' needs parentheses");break;case 46:case 57:g();var ta=void 0;if(69===t.y&&"union"===t.J)throw new J("Saxon union types not supported");e(201);if(t.J)a:{try{var Ca=h(t.J,U.hb, +U.Vb);break a}catch(Xa){P(Xa.message,Xa.code)}Ca=void 0}else Ca=P("Parser tokenization error NAME");fa=Ca;fa.q!==dc.ac&&P("Unknown simple type "+t.J+" in cast (SaxonJS is not schema-aware)");g();var Ka=213===t.y;Ka&&(t.y=204,g());const hb={numeric:"u",ENTITIES:"l",NMTOKENS:"l",IDREFS:"l"}[fa.local]||"a";if("a"===hb){["anyType","anyAtomicType","NOTATION"].includes(fa.local)&&P("Casting to xs:"+fa.local+" is not possible (it's an abstract type)","XPST0080");ta=Sa.type[fa.local];if(!ta)throw new J("Cannot find type "+ +fa.toEQName());ta=new wc(ta)}N=(57===Qa?vg:sg)(N,hb,fa,ta,Ka);v()>=la&&P("Left operand of '"+sf[t.y]+"' needs parentheses");break;case 76:N=O(N);break;default:Ka=40===Qa;g();Ka&&ua.push(dd(N.j,2));fa=I();for(Ka&&ua.pop();v()>la;)fa=p(fa,v());if(!(la=v()!==la))a:switch(t.y){case 50:case 51:case 55:case 53:case 54:case 52:case 6:case 22:case 14:case 12:case 13:case 11:case 20:case 38:case 39:case 29:la=!1;break a;default:la=!0}la||P("Left operand of '"+sf[t.y]+"' needs parentheses");N=f(N,Qa,fa)}}return N} +function f(N,ba,la){switch(ba){case 9:return new li(N,la);case 10:return new ki(N,la);case 50:case 51:case 55:case 53:case 54:case 52:return new rh(N,ba,la,U);case 6:case 22:case 14:case 12:case 13:case 11:if(U.oe())ba=new qh(N,ba,la,U);else{var fa=U;la=new ph(N,ba,la,fa);if(N=2===la.aa.j.ca&&2===la.da.j.ca&&kh[ba]){N=la.aa.j.K;var ta=la.da.j.K;const Ca=N.T().p,Ka=ta.T().p;N=mh(Ca)||mh(Ka)?Ca===Ka:N.isNumeric()&&ta.isNumeric()?!0:/^A[SZU]/.test(Ca)&&/^A[SZU]/.test(Ka)}ba=N?new rh(la.aa,kh[ba],la.da, +fa):la}return ba;case 20:case 38:case 39:return new vh(N,ba,la,U);case 29:return fa=new ni(N,la,U.oe()),mi(fa.aa)&&mi(fa.da)?(ba=fa.aa.value[0],fa=fa.da.value[0],ba=ba.value>fa.value?qg():ba.value===fa.value?new og([ba],mc.Ke):new oi(ba,fa)):ba=fa,ba;case 30:ba=[];if(N instanceof Fg&&"concat"===N.name.name.local&&N.name.name.q===dc.za)for(fa of N.b)ba.push(fa);else fa=Gi("BINARY_OP",0,"","concat"),ta=Rh("FOTY0013",fa),N=Mh(N,mc.Sb,ta,fa,U),ba.push(N);fa=Gi("BINARY_OP",1,"","concat");ta=Rh("FOTY0013", +fa);la=Mh(la,mc.Sb,ta,fa,U);ba.push(la);ba=Gg("concat",ba);ba.j=mc.Tb;return ba;case 15:case 16:case 17:case 18:case 56:case 19:return new hh(N,ba,la,U);case 79:return ba=la,la=Sa.XS.QName.fromParts("vv",dc.Zg,"otherwise"),fa=new ii,fa.Ma=la,fa.g(N),ka(fa),la=Wh(fa),N=[Gg("exists",[la]),pg([Sa.XS.boolean.Kc],mc.Sa)],fa.b(new fi(N,[la,ba])),fa;case 1:case 23:case 24:return new ch(N,ba,la,1===Ba);case 81:return la=Gg("boolean",la),ei(N,pg([Sa.XS.boolean.Kc],mc.Sa),la);case 80:return la=Gg("boolean", +la),ei(N,la,pg([Sa.XS.boolean.Vd],mc.Sa));default:throw new Af(sf[ba]);}}function I(){switch(t.y){case 16:g();var N=I();N=D(299,N);break;case 15:g();N=I();N=D(15,N);break;default:for(N=c();40===t.y;){g();ua.push(dd(N.j,2));const ba=c();ua.pop();N=new pi(N,ba)}}return N}function D(N,ba){if(ng(ba)){const la=ba.value[0];return 299===N?pg([la.tf()],ba.j):ba}return new hh(pg([Sa.XS.integer.fromNumber(0)],mc.sd),N,ba,U)}function r(){switch(t.y){case 36:case 3:case 201:case 208:case 70:case 207:case 69:case 205:case 206:case 35:case 202:case 209:case 5:case 21:case 43:case 4:return!0; +case 60:return["ordered","unordered","map","array"].includes(t.J);default:return!1}}function c(){var N=t.ee;switch(t.y){case 2:return g(),N=new dh,r()?d(N):N;case 8:g();N=new dh;var ba=new ah(5,null);N=Eh(N,ba);return d(N);default:201===t.y&&["true","false"].includes(t.J)&&q("The expression is looking for a child element named '"+t.J+"' - perhaps "+t.J+"() was intended? To avoid this warning, use child::"+t.J+" or ./"+t.J+".");201===t.y&&-1!==Gf(t.J)&&1!==Ba&&(0'");return null}function ca(N){function ba(fa){return fa instanceof Hg||fa instanceof yh&&ba(fa.b)}switch(t.y){case 21:return H();case 5:var la=x();N&&ba(la)&&P("Predicate pattern cannot be parenthesized","XTSE0340");return la;case 4:return M();case 202:return L(!0);case 209:return E(!0);case 35:return la=t.J,0===Pa&&1===Ba&&(U.Ng=!0,N?Fi.includes(la)||la.includes(":")||P("Function "+la+"() is not permitted at first position in pattern", +"XTSE0340"):P("Function call not at first position in pattern","XTSE0340")),la=ja(null),U.Ng=!1,la;case 213:return C(new Hg);case 205:return g(),new Hg(ua[ua.length-1]);case 206:return g(),new ah(9,null);case 69:if("function"===t.J)return K();case 201:case 208:case 70:case 207:return la=3,69===t.y&&["attribute","schema-attribute"].includes(t.J)?la=2:69===t.y&&"namespace-node"===t.J?la=8:N&&69===t.y&&"document-node"===t.J&&(la=12),N=V(1),new ah(la,N);case 3:g();switch(t.y){case 201:case 208:case 70:case 207:case 69:return la= +V(2),new ah(2,la);default:P("@ must be followed by a NodeTest")}break;case 36:try{la=Tf(t.J)}catch(fa){P(fa.message),la=3}N=Rf[la];g();switch(t.y){case 201:case 208:case 70:case 207:case 69:N=V(N);let fa=null;if(2===la){const ta=yd.Cb(N,new Oc(2));ta===yd.Rb?fa="attribute axis can never yield nodes of type "+N:ta===yd.Fb&&(N=new Oc(2))}3===la&&9===N.Ba&&(fa=N.name+" nodes can never be children");2!==N.Ba||[2,12].includes(la)||(fa="axis "+Qf(la)+" can never yield attribute nodes");if(fa){if(1===Ba)return new ag(fa); +q(fa);return qg()}return new ah(la,N);default:P("Unexpected token "+A()+" after axis name")}break;case 60:switch(t.J){case "map":return w();case "array":return aa();case ".":return X();case "_":P("Underscore functions not yet implemented")}break;case 43:return W();default:P("Unexpected token "+A()+" at start of expression")}}function x(){g();if(204===t.y)return g(),qg();const N=l();e(204);g();return N}function E(){const N=t.J?B(t.J):P("Parser tokenization error NUMBER");isNaN(N)&&P("Invalid numeric literal ("+ +t.J+")");g();return pg([N],"AO"===N.code?mc.$d:"AD"===N.code?mc.sh:mc.sd)}function B(N){try{return 0<=N.indexOf("e")||0<=N.indexOf("E")?Sa.XS.double.fromString(N):0<=N.indexOf(".")?Sa.XS.$a.fromString(N):Sa.XS.integer.fromString(N)}catch(ba){return NaN}}function L(){var N=new rg(t.J);g();return N}function H(){g();e(201);var N=t.J;g();const ba=pa(N,"");N=ea(ba);if(null!=N)var la=Wh(N);else if(ba.q===dc.sj&&0""));if(7===t.y){g();e(201);ta=!1;const Ka=h(t.J,U.hb,U.Vb);Ka.q===dc.ac?1===fa?["untyped","anyType"].includes(Ka.local)||(["untypedAtomic","anyAtomicType"].includes(Ka.local)?ta=!0:P("Unsupported type annotation "+ +t.J+" (SaxonJS is not schema-aware, so all nodes are untyped)")):["untypedAtomic","anyAtomicType"].includes(Ka.local)||P("Unsupported type annotation "+t.J+" (SaxonJS is not schema-aware, so all nodes are untyped)"):P("Unsupported type annotation "+t.J+" (SaxonJS is not schema-aware, so only built-in types are recognized)");g();213===t.y&&g();e(204);g();if(ta)return Lc;if("*"===Ca)return rd(fa);Ca=h(Ca,U.hb,1===fa?U.Vb:()=>"");return new td(fa,Ca)}P("Expected ')' or ',' in SequenceType");return null; +case "schema-attribute":case "schema-element":return P("Type "+ba+"() not allowed: SaxonJS is not schema-aware"),null;default:return P("Unknown node kind "+ba),null}}function w(){var N=[];g();var ba=[];let la=!0;if(215!==t.y)for(;;){var fa=z();e(75);g();const ta=z(),Ca=Gi("FUNCTION",0,"","map:entry"),Ka=Rh("XPTY0004",Ca);fa=Mh(fa,mc.Qe,Ka,Ca,U);!la||fa instanceof og?-1===ba.indexOf(fa)?ba.push(fa):la=!1:la=!1;fa=new Zg(fa,ta);N.push(fa);if(215===t.y)break;else e(7),g()}Df(t);g();if(0===N.length)return ti(new ui("_new", +1,xi.q),[]);if(1===N.length)return N[0];if(la){const ta=[];N.forEach(Ca=>{ta.push([Ca.Mb,Ca.value])});return new $g(ta)}N=new Sh(N);ba=[];ba=new $g([[new rg("duplicates"),new rg("reject")],[new rg("duplicates-error-code"),new rg("XQDY0137")]]);return ti(new ui("merge",2,xi.q),[N,ba])}function M(){const N=[];g();if(203===t.y)return g(),new Pg(N);for(;;){const ba=z();N.push(ba);if(7===t.y)g();else{if(203===t.y){g();break}P("Expected ',' or ']', found "+sf[t.y])}}return new Pg(N)}function aa(){g();const N= +new ui("_from-sequence",1,zi.q);if(215===t.y)return Df(t),g(),ti(N,[qg()]);const ba=l();e(215);Df(t);g();return ti(N,[ba])}function ja(N){function ba(){if(209===t.y)return E(!0);if(202===t.y)return L(t.J);if(21===t.y)return H();P("The arguments to a function call in a pattern must be literals or variable references","XTSE0340")}var la=t.J,fa=t.ee;const ta=[];null!=N&&ta.push(N);N=y(la);la=null;1===Ba&&N.q===dc.za&&["current-group","current-grouping-key","current-merge-group","current-merge-key"].includes(N.local)&& +P(N.local+"() is not permitted in a pattern","XTSE1060");g();if(204!==t.y){for(;;){var Ca=U.Ng?ba():da();if(null==Ca||Ca instanceof Tg)null==la&&(la=[]),la.push(ta.length);ta.push(Ca);if(7===t.y)g();else break}e(204)}g();Ca=new Eg(N,ta.length);if(null!=la)return fa=U.kf().Cg(Ca,U),null==fa&&P("No function "+N.toString()+"#"+ta.length+" is known for partial application","XPST0017"),new Xg(fa,ta,la);la=[];Ca=U.kf().bind(Ca,ta,U,la);return null==Ca?Y(U,fa,N,ta,la):Ca}function Y(N,ba,la,fa,ta){let Ca= +"Cannot find a "+fa.length+"-argument function named "+la.toEQName()+"()";for(var Ka of ta)Ca+=". "+Ka;ta=!1;for(Ka=0;KaN.value||N.value>Number.MAX_SAFE_INTEGER)&&P("Number following '#' is out of range","FOAR0002");N=N.value;g();let ta=null;try{ta=h(ba,fa.hb,fa.fi)}catch(Ka){P(Ka.message,Ka.code)}ba=fa.kf();const Ca=new Eg(ta,N);fa=ba.Cg(Ca,fa);null==fa&&P("Function "+ta.toEQName()+"#"+N+" not found","XPST0017",la);return fa.jb.li&&!ta.hasURI(vf.bj)?new Sg(fa):new Rg(fa)}function ka(N){N.Db= +ia.length;ia.push(N)}function ea(N){for(let ba=ia.length-1;0<=ba;ba--){const la=ia[ba];if(la&&la.Tc().equals(N))return la}}function va(N,ba){return h(N,U.hb,()=>ba)}function pa(N,ba){try{return va(N,ba)}catch(la){P(la.message,la.code)}}function k(N,ba){if(ba.startsWith("Q{"))return new vd(N,ba.substring(2,ba.length-2));try{const la=h(ba+":dummy",U.hb,()=>"");return new vd(N,la.getURI())}catch(la){return P(la.message,la.code),null}}function F(N,ba){xf(ba)||P("Local name ["+ba+"] contains invalid characters"); +return new ud(N,ba)}function T(N,ba,la,fa=!1){this.global=fa;this.Ma=this.name=N;this.Qb=ba;this.Db=la}let t,R,U={},ia=[],ua=[],Ba=0,Fa=0,Pa=0;const Ua=[],Na={Cg:function(N,ba){return(ba=Ii.getFnSignature(N.name,N.arity,ba.di()))?new Yg(N,ba):null},bind:function(N,ba,la){var fa=la.di(),ta=Ii.getFnSignature(N.name,N.arity,fa);if(ta){if(N.name.q===dc.za)switch(N.name.local){case "false":return pg([Sa.XS.boolean.Vd],mc.Sa);case "true":return pg([Sa.XS.boolean.Kc],mc.Sa);case "normalize-unicode":1=== +ba.length&&ba.push(new rg("NFC"));break;case "copy-of":return new di(ba[0]?ba[0]:new Hg(ua[ua.length-1]));case "current-group":return new bi;case "current-grouping-key":return new ci;default:ta.defaultToDot&&0===N.arity&&ta.arity.includes(0)&&(ba.push(new Hg(ua[ua.length-1])),N.arity++)}else if(ta.isIdempotent&&1===ba.length)return ba[0];fa=[];var Ca;const Qa=ta.alphaTree;Qa&&"F"===Qa.p&&!Qa.r&&(Qa.r={p:"",o:"*"});Qa&&"F"===Qa.p&&Qa.a&&Qa.r||Aa.fa("Bad function signature for "+N.name.local);ta.variadic&& +(Ca=Qa.a[0]);const hb=ta.collation||-1;for(let Xa=0;Xaba.length-1&&fa.push(new rg(la.Hb));ba=rc(Qa.r);if(ta.isUserFunction)return new Qg(N,fa,ba,ta.componentBinding);switch(N.name.q){case dc.za:case dc.ac:switch(N.name.local){case "current":ua[0]&& +(ba=ua[0]);break;case "accumulator-before":case "accumulator-after":if(fa[0]instanceof rg){ta=h(fa[0].value[0].value,la.hb,()=>"").toEQName();la=la.wb[ta];if(!la)throw new J("Unknown accumulator "+ta,"XTDE3340");ba=nc(la);fa[0]=new rg(ta)}}return new Fg(N,fa,ba);case dc.map:return new Jg(N,fa,ba);case dc.Ye:return new Kg(N,fa,ba);case dc.qi:return new Lg(N,fa,ba);case dc.ib:return new Mg(N,fa,ba);case dc.Yc:return new Ng(N,fa,ba);case dc.mi:return new Og(N,fa,ba);default:return ta.li?new Qg(N,fa, +ba,ta.zl):new Mg(N,fa,ba)}}else{if(ta=Ii.getFnSignature(N.name,null,fa))if(ta&&!ta.alphaTree&&(ta.alphaTree=wb(ta.sig)),fa=ba.length,Ca=ta.alphaTree.a.length,fa!==Ca&&(ta.variadic?ba.length +"",Hb:"http://www.w3.org/2005/xpath-functions/collation/codepoint",je:!1,Ta:{},wb:{},Pa:!1,zc:!1,zg:!1,Gb:!1,vk:function(){U.Vb=()=>"";U.Hb="http://www.w3.org/2005/xpath-functions/collation/codepoint";U.Ta={};U.wb={};U.Pa=!1;U.zc=!1;U.zg=!1;U.Gb=!1},di:function(){return{Pa:U.Pa,Pl:1===Ba,Ta:U.Ta}},Ej:function(){return U.Hb},fi:function(){return dc.za},kf:function(){return Na},Hl:function(){return null},Ol:function(){return!1},oe:function(){return U.Gb},Vl:function(){return null}};let Wa={};T.prototype.Tc= +function(){return this.name};return{process:function(N,ba,la,fa,ta=!1,Ca=!1,Ka=!1){a();R=N;Ba=ba?1:0;N=[];Wa={};U.vk();U.hb=b;ba&&(U.Pa=!0);Ka&&(U.zg=!0);if(fa){Fa=fa.mf?1:0;fa.zc&&(U.zc=!0);for(var Qa in fa.kc)Wa[Qa]=fa.kc[Qa];for(var hb in fa.yc){Qa=h(hb,U.hb,()=>"");const pb=fa.yc[hb],Oi=nc(pb.getAttribute("sType"));N.push(new T(Qa,Oi,pb,!0))}for(var Xa in fa.Pb)hb=h(Xa,U.hb,()=>""),N.push(new T(hb,fa.ld[Xa],fa.Pb[Xa]));ia=N;U.wb=fa.wb;fa.je&&(U.je=fa.je);fa.Hb&&(U.Hb=fa.Hb);fa.Ta&&(U.Ta=fa.Ta); +fa.Pa&&(U.Pa=fa.Pa);fa.Gb&&(U.Gb=fa.Gb);fa.ue&&(ua=[dd(fa.ue,2)]);fa.xpathDefaultNamespace&&(U.Vb=()=>fa.xpathDefaultNamespace);U.staticBaseUri=fa.staticBaseUri?fa.staticBaseUri:null}Xa="";for(const pb in Wa)N=Wa[pb],N=N===dc.withPrefix[pb]?"~":N,Xa+=pb+"="+N+" ";Hf(t,R);let ob;try{ob=l(Ca)}catch(pb){throw pb instanceof J&&fa&&fa.Bk&&(pb.code=fa.Bk,pb.message="Invalid XPath expression supplied to xsl:evaluate {"+R+"}: "+pb.message),pb;}0!==t.y&&P("Found "+A()+" beyond end of expression");ba?(ob=ob.ua(), +ob instanceof lg&&la&&(ob=new mg(kg(ob)))):fa&&fa.ye&&(ba=Gi("EVALUATE_RESULT",0,"",null),la=Rh("XPTY0004",ba),ob=Mh(ob,fa.ye,la,ba));ba=ta?new Ji:new Ki;ob.t(ba);ba=ba.current;ta?(ba=ba.documentElement,ob.j&&ba.setAttribute("sType",ob.j.ea()),""!==Xa&&ba.setAttribute("ns",Xa),fa&&fa.staticBaseUri&&ba.setAttribute("baseUri",fa.staticBaseUri)):(ba=ba.C[0],""!==Xa&&(ba.Da=Xa),fa&&fa.staticBaseUri&&(ba.cb=fa.staticBaseUri),Ka&&0pb.Ma.toEQName())));return ba},parseSequenceType:function(N, +ba,la){a();U.hb=ba;U.Vb=la;Ba=0;Wa={};Hf(t,N);N=u();0!==t.y&&P("Unexpected "+A()+" after SequenceType");return N},getTokenizer:function(){return t}}}();function Ki(){this.stack=[];this.current={C:[]}}Ki.prototype={V:function(a,b={}){a={N:a,C:[]};for(const h in b)a[h]=b[h];this.current.C.push(a);this.stack.push(this.current);this.current=a},ed:function(a,b){this.current[a]=b},R:function(){this.current=this.stack.pop()}}; +function Ji(){this.b=Pd.find("SaxonJS").getPlatform().createDocument();this.stack=[];this.current=this.b}Ji.prototype={V:function(a,b={}){a=this.b.createElement(a);for(const h in b)a.setAttribute(h,b[h]);this.current.appendChild(a);this.stack.push(this.current);this.current=a},ed:function(a,b){this.current.setAttribute(a,b)},R:function(){this.current=this.stack.pop()}};const Mi={nm:{QuantifiedExpr:"1AB",OrExpr:"1AB",AndExpr:"1AB",ComparisonExpr:"1AB",StringConcatExpr:"1AS",RangeExpr:"*ADI",AdditiveExpr:"?A",MultiplicativeExpr:"?A",IntersectExceptExpr:"*N",InstanceOfExpr:"1AB",CastableExpr:"1AB",UnaryExpr:"?A m[UO,UD,UF]",StringLiteral:"1AS",IntegerLiteral:"1ADI",DecimalLiteral:"1AD",DoubleLiteral:"1AO",NamedFunctionRef:"1F",InlineFunctionExpr:"1F",MapExpr:"1FM",Root:"1ND"},Gk:{"http://www.w3.org/2005/xpath-functions":{QName:{sig:"1F r[1AQ] a[?AS,1AS]"},abs:{sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF]]"}, +"accumulator-after":{XSLTonly:!0,sig:"1F a[1AS] r[*]"},"accumulator-before":{XSLTonly:!0,sig:"1F a[1AS] r[*]"},"adjust-date-to-timezone":{arity:[1,2],sig:"1F r[?AA] a[?AA,?ARD]"},"adjust-dateTime-to-timezone":{arity:[1,2],sig:"1F r[?AM] a[?AM,?ARD]"},"adjust-time-to-timezone":{arity:[1,2],sig:"1F r[?AT] a[?AT,?ARD]"},"analyze-string":{arity:[2,3],sig:"1F r[1NE nQ{http://www.w3.org/2005/xpath-functions}analyze-string-result] a[?AS,1AS,1AS]"},apply:{sig:"1F a[1F,1FA] r[*]"},"available-environment-variables":{sig:"1F r[*AS] a[]"}, +"available-system-properties":{XSLTonly:!0,sig:"1F r[*AQ] a[]"},avg:{sig:"1F r[?A] a[*A]"},"base-uri":{defaultToDot:!0,arity:[0,1],sig:"1F r[?AU] a[?N]"},"boolean":{sig:"1F r[1AB] a[*]"},ceiling:{sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF]]"},"codepoint-equal":{sig:"1F r[?AB] a[?AS,?AS]"},"codepoints-to-string":{sig:"1F r[1AS] a[*ADI]"},"collation-key":{arity:[1,2],collation:1,sig:"1F r[1A2] a[1AS,1AS]"},collection:{arity:[0,1],sig:"1F a[?AS] r[*]"},compare:{arity:[2,3],collation:2,sig:"1F r[?ADI] a[?AS,?AS,1AS]"}, +concat:{arity:[2,Infinity],sig:"1F r[1AS] a[?A,?A]",variadic:!0},contains:{arity:[2,3],collation:2,sig:"1F r[1AB] a[?AS,?AS,1AS]"},"contains-token":{arity:[2,3],collation:2,sig:"1F r[1AB] a[*AS,1AS,1AS]"},"copy-of":{XSLTonly:!0,defaultToDot:!0,arity:[0,1],sig:"1F a[*] r[*]"},count:{sig:"1F r[1ADI] a[*]"},current:{XSLTonly:!0,sig:"1F r[1] a[]"},"current-date":{sig:"1F r[1AA] a[]"},"current-dateTime":{sig:"1F r[1AMP] a[]"},"current-group":{XSLTonly:!0,sig:"1F a[] r[*]"},"current-grouping-key":{XSLTonly:!0, +sig:"1F r[*A] a[]"},"current-merge-group":{XSLTonly:!0,arity:[0,1],sig:"1F a[1AS] r[*]"},"current-merge-key":{XSLTonly:!0,sig:"1F r[*A] a[]"},"current-output-uri":{XSLTonly:!0,sig:"1F r[?AU] a[]"},"current-time":{sig:"1F r[1AT] a[]"},data:{defaultToDot:!0,arity:[0,1],sig:"1F r[*A] a[*]"},dateTime:{sig:"1F r[?AM] a[?AA,?AT]"},"day-from-date":{sig:"1F r[?ADI] a[?AA]"},"day-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"days-from-duration":{sig:"1F r[?ADI] a[?AR]"},"deep-equal":{arity:[2,3],collation:2,sig:"1F r[1AB] a[*,*,1AS]"}, +"default-collation":{sig:"1F r[1AS] a[]"},"default-language":{sig:"1F r[1ASNTL] a[]"},"distinct-values":{arity:[1,2],collation:1,sig:"1F r[*A] a[*A,1AS]"},doc:{sig:"1F r[?ND] a[?AS]"},"doc-available":{sig:"1F r[1AB] a[?AS]"},document:{XSLTonly:!0,arity:[1,2],sig:"1F r[*N] a[*,1N]"},"document-uri":{defaultToDot:!0,arity:[0,1],sig:"1F r[?AU] a[?N]"},"element-available":{XSLTonly:!0,sig:"1F r[1AB] a[1AS]"},"element-with-id":{defaultToDot:!0,arity:[1,2],sig:"1F r[*NE] a[*AS,1N]"},empty:{sig:"1F r[1AB] a[*]"}, +"encode-for-uri":{sig:"1F r[1AS] a[?AS]"},"ends-with":{arity:[2,3],collation:2,sig:"1F r[1AB] a[?AS,?AS,1AS]"},"environment-variable":{sig:"1F r[?AS] a[1AS]"},error:{arity:[0,1,2,3],sig:"1F r[0E] a[?AQ,1AS,*]"},"escape-html-uri":{sig:"1F r[1AS] a[?AS]"},"exactly-one":{sig:"1F r[1] a[*]"},exists:{sig:"1F r[1AB] a[*]"},"false":{sig:"1F r[1AB] a[]"},filter:{sig:"1F r[*] a[*,1F r[1AB] a[1]]"},floor:{sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF]]"},"fold-left":{sig:"1F a[*,*,1F a[*,1] r[*]] r[*]"},"fold-right":{sig:"1F a[*,*,1F a[1,*] r[*]] r[*]"}, +"for-each":{sig:"1F a[*,1F a[1] r[*]] r[*]"},"for-each-pair":{sig:"1F a[*,*,1F a[1,1] r[*]] r[*]"},"format-date":{arity:[2,5],sig:"1F r[?AS] a[?AA,1AS,?AS,?AS,?AS]"},"format-dateTime":{arity:[2,5],sig:"1F r[?AS] a[?AM,1AS,?AS,?AS,?AS]"},"format-integer":{arity:[2,3],sig:"1F r[1AS] a[?ADI,1AS,?AS]"},"format-number":{arity:[2,3],sig:"1F r[1AS] a[?A m[AO,AD,AF],1AS,?AS]"},"format-time":{arity:[2,5],sig:"1F r[?AS] a[?AT,1AS,?AS,?AS,?AS]"},"function-arity":{sig:"1F r[1ADI] a[1F]"},"function-available":{XSLTonly:!0, +arity:[1,2],sig:"1F r[1AB] a[1AS,1ADI]"},"function-lookup":{sig:"1F r[?F] a[1AQ,1ADI]"},"function-name":{sig:"1F r[?AQ] a[1F]"},"generate-id":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?N]"},"has-children":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AB] a[?N]"},head:{sig:"1F r[?] a[*]"},"hours-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"hours-from-duration":{sig:"1F r[?ADI] a[?AR]"},"hours-from-time":{sig:"1F r[?ADI] a[?AT]"},id:{defaultToDot:!0,arity:[1,2],sig:"1F r[*NE] a[*AS,1N]"},idref:{defaultToDot:!0, +arity:[1,2],sig:"1F r[*N] a[*AS,1N]"},"implicit-timezone":{sig:"1F r[1ARD] a[]"},"in-scope-prefixes":{sig:"1F r[*AS] a[1NE]"},"index-of":{arity:[2,3],collation:2,sig:"1F r[*ADI] a[*A,1A,1AS]"},innermost:{sig:"1F r[*N] a[*N]"},"insert-before":{sig:"1F a[*,1ADI,*] r[*]"},"iri-to-uri":{sig:"1F r[1AS] a[?AS]"},"json-doc":{arity:[1,2],sig:"1F r[?] a[?AS,1FM]"},"json-to-xml":{arity:[1,2],sig:"1F r[?ND] a[?AS,1FM]"},key:{XSLTonly:!0,arity:[2,3],sig:"1F r[*N] a[1AS,*A,1N]"},lang:{defaultToDot:!0,arity:[1, +2],sig:"1F r[1AB] a[?AS,1N]"},last:{sig:"1F r[1ADI] a[]"},"load-xquery-module":{arity:[1,2],sig:"1F r[1FM] a[1AS,1FM]"},"local-name":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?N]"},"local-name-from-QName":{sig:"1F r[?ASNTNC] a[?AQ]"},"lower-case":{sig:"1F r[1AS] a[?AS]"},matches:{arity:[2,3],sig:"1F r[1AB] a[?AS,1AS,1AS]"},max:{arity:[1,2],collation:1,sig:"1F r[?A] a[*A,1AS]"},min:{arity:[1,2],collation:1,sig:"1F r[?A] a[*A,1AS]"},"minutes-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"minutes-from-duration":{sig:"1F r[?ADI] a[?AR]"}, +"minutes-from-time":{sig:"1F r[?ADI] a[?AT]"},"month-from-date":{sig:"1F r[?ADI] a[?AA]"},"month-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"months-from-duration":{sig:"1F r[?ADI] a[?AR]"},name:{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?N]"},"namespace-uri":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AU] a[?N]"},"namespace-uri-for-prefix":{sig:"1F r[?AU] a[?AS,1NE]"},"namespace-uri-from-QName":{sig:"1F r[?AU] a[?AQ]"},nilled:{defaultToDot:!0,arity:[0,1],sig:"1F r[?AB] a[?N]"},"node-name":{defaultToDot:!0, +arity:[0,1],sig:"1F r[?AQ] a[?N]"},"normalize-space":{arity:[0,1],sig:"1F r[1AS] a[?AS]"},"normalize-unicode":{arity:[1,2],sig:"1F r[1AS] a[?AS,1AS]"},not:{sig:"1F r[1AB] a[*]"},number:{defaultToDot:!0,arity:[0,1],sig:"1F r[1AO] a[?A]"},"one-or-more":{sig:"1F r[+] a[*]"},outermost:{sig:"1F r[*N] a[*N]"},"parse-ietf-date":{sig:"1F r[?AM] a[?AS]"},"parse-json":{arity:[1,2],sig:"1F r[?] a[?AS,1FM]"},"parse-xml":{sig:"1F r[?ND e[NE]] a[?AS]"},"parse-xml-fragment":{sig:"1F r[?ND] a[?AS]"},path:{defaultToDot:!0, +arity:[0,1],sig:"1F r[?AS] a[?N]"},position:{sig:"1F r[1ADI] a[]"},"prefix-from-QName":{sig:"1F r[?ASNTNC] a[?AQ]"},"random-number-generator":{arity:[0,1],sig:"1F r[1FM k[AS] v[1]] a[?A]"},"regex-group":{XSLTonly:!0,sig:"1F r[1AS] a[1ADI]"},remove:{sig:"1F r[*] a[*,1ADI]"},replace:{arity:[3,4],sig:"1F r[1AS] a[?AS,1AS,1AS,1AS]"},"resolve-QName":{sig:"1F r[?AQ] a[?AS,1NE]"},"resolve-uri":{arity:[1,2],sig:"1F r[?AU] a[?AS,1AS]"},reverse:{sig:"1F a[*] r[*]"},root:{defaultToDot:!0,arity:[0,1],sig:"1F r[?N] a[?N]"}, +round:{arity:[1,2],sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF],1ADI]"},"round-half-to-even":{arity:[1,2],sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF],1ADI]"},"seconds-from-dateTime":{sig:"1F r[?AD] a[?AM]"},"seconds-from-duration":{sig:"1F r[?AD] a[?AR]"},"seconds-from-time":{sig:"1F r[?AD] a[?AT]"},serialize:{arity:[1,2],sig:"1F r[1AS] a[*,?]"},snapshot:{XSLTonly:!0,defaultToDot:!0,arity:[0,1],sig:"1F a[*] r[*]"},sort:{arity:[1,2,3],collation:1,sig:"1F r[*] a[*,?AS,1F r[*A] a[1]]"},"starts-with":{arity:[2, +3],collation:2,sig:"1F r[1AB] a[?AS,?AS,1AS]"},"static-base-uri":{sig:"1F r[?AU] a[]"},"stream-available":{XSLTonly:!0,sig:"1F r[1AB] a[?AS]"},string:{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?]"},"string-join":{arity:[1,2],sig:"1F r[1AS] a[*A,1AS]"},"string-length":{arity:[0,1],sig:"1F r[1ADI] a[?AS]"},"string-to-codepoints":{sig:"1F r[*ADI] a[?AS]"},subsequence:{arity:[2,3],sig:"1F a[*,1AO,1AO] r[*]"},substring:{arity:[2,3],sig:"1F r[1AS] a[?AS,1AO,1AO]"},"substring-after":{arity:[2,3],collation:2, +sig:"1F r[1AS] a[?AS,?AS,1AS]"},"substring-before":{arity:[2,3],collation:2,sig:"1F r[1AS] a[?AS,?AS,1AS]"},sum:{arity:[1,2],sig:"1F r[?A] a[*A,?A]"},"system-property":{XSLTonly:!0,sig:"1F r[1AS] a[1AS]"},tail:{sig:"1F a[*] r[*]"},"timezone-from-date":{sig:"1F r[?ARD] a[?AA]"},"timezone-from-dateTime":{sig:"1F r[?ARD] a[?AM]"},"timezone-from-time":{sig:"1F r[?ARD] a[?AT]"},tokenize:{arity:[1,2,3],sig:"1F r[*AS] a[?AS,1AS,1AS]"},trace:{arity:[1,2],sig:"1F a[*,1AS] r[*]"},transform:{sig:"1F r[1FM] a[1FM]"}, +translate:{sig:"1F r[1AS] a[?AS,1AS,1AS]"},"true":{sig:"1F r[1AB] a[]"},"type-available":{XSLTonly:!0,sig:"1F r[1AB] a[1AS]"},unordered:{sig:"1F r[*] a[*]"},"unparsed-entity-public-id":{XSLTonly:!0,arity:[1,2],sig:"1F r[1AS] a[1AS,1N]"},"unparsed-entity-uri":{XSLTonly:!0,arity:[1,2],sig:"1F r[1AU] a[1AS,1N]"},"unparsed-text":{arity:[1,2],sig:"1F r[?AS] a[?AS,1AS]"},"unparsed-text-available":{arity:[1,2],sig:"1F r[1AB] a[?AS,1AS]"},"unparsed-text-lines":{arity:[1,2],sig:"1F r[*AS] a[?AS,1AS]"},"upper-case":{sig:"1F r[1AS] a[?AS]"}, +"uri-collection":{arity:[0,1],sig:"1F r[*AU] a[?AS]"},"xml-to-json":{arity:[1,2],sig:"1F r[?AS] a[?N,1FM]"},"year-from-date":{sig:"1F r[?ADI] a[?AA]"},"year-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"years-from-duration":{sig:"1F r[?ADI] a[?AR]"},"zero-or-one":{sig:"1F r[?] a[*]"}},"http://www.w3.org/2005/xpath-functions/array":{append:{sig:"1F r[1FA] a[1FA,*]"},filter:{sig:"1F r[1FA] a[1FA,1F r[1AB] a[*]]"},flatten:{sig:"1F a[*] r[*]"},"fold-left":{sig:"1F a[1FA,*,1F a[*,*]] r[*]"},"fold-right":{sig:"1F a[1FA,*,1F a[*,*]] r[*]"}, +"for-each":{sig:"1F r[1FA] a[1FA,1F a[*]]"},"for-each-pair":{sig:"1F r[1FA] a[1FA,1FA,1F a[*,*]]"},get:{sig:"1F a[1FA,1ADI] r[*]"},head:{sig:"1F a[1FA] r[*]"},"insert-before":{sig:"1F r[1FA] a[1FA,1ADI,*]"},join:{sig:"1F r[1FA] a[*FA]"},put:{sig:"1F r[1FA] a[1FA,1ADI,*]"},remove:{sig:"1F r[1FA] a[1FA,*ADI]"},reverse:{sig:"1F r[1FA] a[1FA]"},size:{sig:"1F r[1ADI] a[1FA]"},sort:{arity:[1,2,3],collation:1,sig:"1F r[1FA] a[1FA,?AS,1F r[*A] a[*]]"},subarray:{arity:[2,3],sig:"1F r[1FA] a[1FA,1ADI,1ADI]"}, +tail:{sig:"1F r[1FA] a[1FA]"}},"http://www.w3.org/2005/xpath-functions/map":{contains:{sig:"1F r[1AB] a[1FM,1A]"},entry:{sig:"1F r[1FM] a[1A,*]"},find:{sig:"1F r[1FA] a[*,1A]"},"for-each":{sig:"1F r[*] a[1FM,1F a[1A,*]]"},get:{sig:"1F a[1FM,1A] r[*]"},keys:{sig:"1F r[*A] a[1FM]"},merge:{arity:[1,2],sig:"1F r[1FM] a[*FM,1FM]"},put:{sig:"1F r[1FM] a[1FM,1A,*]"},remove:{sig:"1F r[1FM] a[1FM,*A]"},size:{sig:"1F r[1ADI] a[1FM]"}},"http://www.w3.org/2005/xpath-functions/math":{acos:{sig:"1F r[?AO] a[?AO]"}, +asin:{sig:"1F r[?AO] a[?AO]"},atan:{sig:"1F r[?AO] a[?AO]"},atan2:{sig:"1F r[1AO] a[1AO,1AO]"},cos:{sig:"1F r[?AO] a[?AO]"},exp:{sig:"1F r[?AO] a[?AO]"},exp10:{sig:"1F r[?AO] a[?AO]"},log:{sig:"1F r[?AO] a[?AO]"},log10:{sig:"1F r[?AO] a[?AO]"},pi:{sig:"1F r[1AO] a[]"},pow:{sig:"1F r[?AO] a[?AO,1A m[AO,AD,AF]]"},sin:{sig:"1F r[?AO] a[?AO]"},sqrt:{sig:"1F r[?AO] a[?AO]"},tan:{sig:"1F r[?AO] a[?AO]"}}}};var Ni=function(){const a={};a[dc.ib]={apply:{sig:"1F r[*] a[1F,1FA]"},"column-number":{arity:[0,1],sig:"1F r[1ADI] a[1N]"},"compile-XPath":{arity:[1,2,3],sig:"1F r[1ND] a[1AS,?,?]"},"compile-GlobalContext":{sig:"1F r[1] a[1FM,1FM,1FM]"},"discard-document":{sig:"1F r[1ND] a[1ND]"},"has-uniform-namespaces":{sig:"1F r[1AB] a[1N]"},"line-number":{arity:[0,1],sig:"1F r[1ADI] a[1N]"},"marshal-type":{sig:"1F r[1FM] a[1AS]"},"message-count":{sig:"1F r[1ADI] a[?AQ]"},"parse-sequence-type":{arity:[2,3],sig:"1F r[1FM] a[1AS,1NE,?AS]"}, +"parse-XPath":{arity:[1,2,3],sig:"1F r[1ND] a[1AS,?AS,?]"},permute:{sig:"1F r[*] a[*]"},"system-id":{sig:"1F r[*AU] a[]"},timestamp:{sig:"1F r[1AMP] a[]"}};a[dc.Yc]={apply:{sig:"1F r[*] a[1F,1FA]"},call:{sig:"1F r[*] a[1,1AS,1FA]"},contains:{sig:"1F r[1AB] a[1,1AS]"},eval:{sig:"1F r[*] a[1AS]"},event:{sig:"1F r[?] a[]"},get:{sig:"1F r[*] a[1,1AS]"},location:{sig:"1F r[1AS] a[]"},page:{sig:"1F r[1N] a[]"},"query-params":{sig:"1F r[1FM] a[]"},source:{sig:"1F r[?N] a[]"},style:{sig:"1F r[1FM] a[?N]"}, +window:{sig:"1F r[1] a[]"}};a["http://exslt.org/common"]={"node-set":{sig:"1F r[?N] a[?N]",isIdempotent:!0}};return{Hj:function(b){return a[b]},jg:function(b){const h=b.namespace;b=b.signatures;let A=a[h];A||(A={},a[h]=A);Object.entries(b).forEach(P=>{A[P[0]]=P[1]})}}}();var Pi=function(){function a(r){var c;var d={};for(c in r){var n=r[c];d[c]=n}return d}function b(){}function h(r){const c={};if(r){r=r.split(" ");for(let n=0;nu?na:u;n.ad=u+1}n.wk(r);if(r=c.slotTypes)for(Q in r)n.ld[Q]=rc(r[Q]);for(ma in d)n.kc[ma]=d[ma];n.kc[""]="";if(d=c.staticTyping)n.zf=d;if(d=c.xpathDefaultNamespace)n.xpathDefaultNamespace=d;if(d= +c.defaultCollation)n.Hb=d;if(d=c.staticBaseURI)n.staticBaseURI=d;(d=c.contextType)?n.type=new pc(sc(d),2):n.type=n.Pa?null:mc.cc;n.ue=n.type;if(c=c.requiredType)n.ye=nc(c);return n}function q(r){const c=new b;c.type=mc.cc;c.U(r.params,r.inputConvert);"fn xs map array math saxon ixsl".split(" ").forEach(m=>c.kc[m]=qi[m]);for(var d in r.namespaceContext)c.kc[d]=r.namespaceContext[d];r.xpathDefaultNamespace&&(c.xpathDefaultNamespace=r.xpathDefaultNamespace);let n;if(r=r.slotMap){d=-1;let m;for(n in r)m= +r[n],c.Pb[n]=m,d=m>d?m:d;c.ad=d+1}return c}function g(r,c,d){r=Li.process(r,"pattern"===c.type,c.splitPattern,d,"XSLT"===c.language,c.allowEmpty,c.freeVariables);return Ub(r)}function e(r,c=!1){const d={"function":{},globalVariable:{},globalParam:{}};for(const m in r){if("PRIVATE"===r[m].visibility)continue;var n=r[m].actor;const u=fc.Q(n)?n.nodeName:n.N,Q=fc.Q(n)?n.getAttribute("name"):n.name;switch(u){case "function":if(c&&"PUBLIC"!==r[m].visibility&&"FINAL"!==r[m].visibility)break;n=(fc.Q(n)?fc.wc(n, +"arg"):A(n)).length;d[u][Q+"#"+n]=r[m];break;case "globalVariable":case "globalParam":d[u][Q]=r[m]}}return d}function l(r,c=!0){const d={N:r.nodeName};var n=r.attributes,m;for(m=0;mparseInt(n,10)),actor:c,C:[c]};return c.parentNode=r}function G(r){if(!fc.Q(r))return[];let c=[];r.childNodes.forEach(d=>c=c.concat(G(d)));return c}function p(r,c){"ufRef"===r.nodeName?r.setAttribute("bSlot",c[r.getAttribute("name")]):r.hasChildNodes()&&r.childNodes.forEach(d=>p(d,c))}function f(r,c,d){var n=Pd.find("SaxonJS");const m=n.XError,u=n.convertResult;var Q=n.getPlatform(),ma=Q.inBrowser();d||={};d.params||(d.params={});if(r.freeV){const B=d.params; +let L={};r.freeV.forEach(H=>{const S=H.startsWith("Q{}")?B[H.substring(3)]:B[H];if(!S)throw new m("A value for parameter "+H+" is required","SXJS9999");L[H]=S});d.params=L}n=d.inputConvert||"strong";const na=q(d);let O=r.C[0];O.parentNode=r;const ca={name:"evaluate",La:r,Ua:{}};r=new rf;r.resultDocument=Q.createDocument();r.fixed={runtimeFunctionLookupCache:{},gb:{},$b:{},hd:{},gg:0,zb:new Date,Ua:{"Q{}":r.resultDocument.createElement("decimal-format")},bd:{evaluate:ca},staticBaseURI:ma?window.location.href: +null,evaluator:ld};d.staticBaseURI&&(r.fixed.staticBaseURI=d.staticBaseURI);let x,E;if(d.namedDecimalFormats)for(const B in d.namedDecimalFormats){Q=d.namedDecimalFormats[B];ma=r.resultDocument.createElement("decimal-format");for(x in Q)E=Q[x],ma.setAttribute(x,["infinity","NaN"].includes(x)?E:Ia(E)[0]);ca.Ua[/^Q\{/.test(B)?B:"Q{}"+B]=l(ma)}if(d.defaultDecimalFormat){Q=d.defaultDecimalFormat;ma=r.resultDocument.createElement("decimal-format");for(x in Q)E=Q[x],ma.setAttribute(x,["infinity","NaN"].includes(x)? +E:Ia(E)[0]);ca.Ua["Q{}"]=l(ma)}r.localVars=na.mc;if(c)if(c instanceof Ab)r.focus=c;else{if(Array.isArray(c)&&1{Q.params[ma]="dummy"});c=q(Q);m=g(r,Q,c).next()}const u={N:"package",name:"evaluate",C:[m]};n&&(u.freeV=n);return d?u:function(Q,ma={}){return f(u,Q,{params:ma})}},evaluateOnly:f,compileGlobalContext:function(r,c,d){var n=new b;n.g(); +n.yc=r;n.O=c;n.wb=d;r={};d=0;for(let u in c){var m=c[u];const Q=fc.Q(m);m=Q?m.parentNode:m.parent;const ma=Q?m.parentNode:m.parent;r[d++]={actor:m,La:ma,id:parseInt(Q?ma.getAttribute("id"):ma.id,10)}}n.Ta=e(r);return Ub(n)},evaluateXDM:function(r,c,d,n){function m(Z=""){return ma[Z]}var u;const Q=Pd.find("SaxonJS").getPlatform();let ma;const na=P(n.params,n,n.namespaces);na.xa=d.fixed.xa;na.staticBaseURI||(na.staticBaseURI=d.fixed.staticBaseURI);const O=d.fixed.xa;na.Ta=e(d.fixed.xa,n.dynamicEval); +r=g(r,n,na).next();const ca={N:"package",name:"evaluate"};var x={name:"evaluate",La:ca,Ua:{}};r.parentNode=ca;let E=!1;var B=G(r);if(0{const ha=v(Z,l(V),"");V=V.getAttribute("name")+"#"+V.getAttribute("arity");ha.parentNode=ca;na.Ta["function"][V]={actor:ha,La:null,id:Z};X[V]=S++;O[Z]=ha;Z++;K.push(ha)});p(r,X);r=l(r);L=v(1E3,r,L.join(" "));L.parentNode=ca;O[1E3]=L;K.unshift(L);ca.C= +K}else fc.Q(r)?r=l(r):z(r),ca.C=[v(1E3,r,"")],r.parentNode=ca;H=ld.fe(d.currentComponent.actor,d);for(u in H.Ua)x.Ua[u]=H.Ua[u];B=new rf;B.fixed={runtimeFunctionLookupCache:{},gb:{},hd:{},$b:{},gg:0,zb:new Date,Ua:{},xa:d.fixed.xa,evaluator:ld,la:d.fixed.la,yb:d.fixed.yb,staticBaseURI:d.fixed.staticBaseURI,Ae:null,bd:{evaluate:x}};B.fixed.bd[H.name]=H;n.staticBaseURI&&(B.fixed.staticBaseURI=n.staticBaseURI);if(H=n.staticContext){var C=H.decimalFormats;if(C)for(u in C)x.Ua[u]=l(C[u]);if(x=H.resources)for(u in x)if(C= +x[u],C.hasOwnProperty("err")){let Z=C.err;Z=Z.replace(/Q{http:\/\/www\.w3\.org\/2005\/xqt-errors\}/,"");B.fixed.$b[u]=new J(Z+" "+C.description,Z)}else B.fixed.$b[u]=C;if(x=H.sources)for(u in x)if("."!==u)try{const Z=x[u];let K;if("string"==typeof Z){let X=Q.readFile(Z);X=Td.Hh(Td.Gh(X));K=fc.lc(Q.parseXmlFromString(X));K._saxonBaseUri=Z;K._saxonDocUri=Z}else K=Z;B.fixed.gb[u]=K}catch(Z){B.fixed.gb[u]=Z}if(u=H.collectionFinder)ma=u,B.fixed.la.Kh=m;u=H.staticBaseURI;"undefined"!=typeof u&&(B.fixed.staticBaseURI= +"#UNDEFINED"===u?null:u)}n.staticBaseURI&&(B.fixed.staticBaseURI=n.staticBaseURI);B.masterDocument=d.masterDocument;B.resultDocument=Q.createDocument();if(null!=c){n=c.next();if(null!=c.next())throw new J("Context item is a sequence of more than one item","XTTE3210");B.localVars=[];for(c=0;cna.as).join(",")+"] r["+ma.as+"]");return ma.sig}var m=null,u=Mi.Gk[r.q];u&&(m=u[r.local]);if(m&&!d.Pa&&m.XSLTonly)return null;m||r.q!==dc.ac||(Sa.type[r.local]?m={sig:"1F a[?A] r[?"+Sa.type[r.local].code+"]"}:Hd[r.local]&&(m={sig:"1F a[1AS] r[*"+Hd[r.local]+"]"}));if(!m&&d.Ta&&d.Ta["function"]){var Q=r.toEQName();if(d=d.Ta["function"][Q+"#"+c])r=Q,m=d.actor,fc.Q(m)?(fc.wc(m,"arg"),m={sig:m.getAttribute("sig")}):(A(m),m={sig:n(m)}), +m.isUserFunction=!0,m.componentBinding=d.id}else if(!m&&d.fixed&&d.fixed.xa)if(u=`{${r.q}}${r.local}#${c}`,u in d.fixed.runtimeFunctionLookupCache)m=d.fixed.runtimeFunctionLookupCache[u];else{const ma=r.toEQName();for(Q in d.fixed.xa){const na=d.fixed.xa[Q].actor;if("function"===na.N&&na.name===ma&&A(na).length===c){m={sig:n(na),isUserFunction:!0,componentBinding:Q};d.fixed.runtimeFunctionLookupCache[u]=m;break}}}if(!m&&((d=Ni.Hj(r.q))&&(m=d[r.local]),r.q===dc.mi)){r=0c.indexOf("`"))return c.split(".");let d=[""],n=0,m=0,u=!0;for(;mr||r>c)throw new J("Array index ("+r+") out of bounds (1 to "+ +c+")","FOAY0001",v);}function p(r){return r[0].next().value}function f(r){return Ub(new id(r))}function I(r,c,d,n){const m=c.fixed.evaluator;let u=r[1].expand();const Q=r[2].expand()[0],ma=Object.keys(c.localVars).length;if(Q instanceof jd.XdmFunction)r=p(r),n||(r=r.reverse()),r.forEach(na=>{u=Q.evaluate(n?[u,na]:[na,u],c,d).expand()});else{let na;"function"!==Q.N&&(na=Q);r[0].forEachItem(function(O){const ca=c.newContext(!0);na&&(ca.currentComponent=na);ca.clearGrouping();ca.tempOutputState="function"; +ca.currentMode={};ca.currentTemplate=null;ca.focus=null;n?(ca.localVars[ma]=u,ca.localVars[ma+1]=[O]):(ca.localVars[ma]=[O],ca.localVars[ma+1]=u);u=m.evaluate(void 0,ca).expand()})}return Pb(u)}const D={append:function(r){return f(p(r).concat([r[1].expand()]))},filter:function(r,c,d){const n=r[1].expand()[0];Object.keys(c.localVars);r=p(r);if(n.evaluate){const m=[];r.forEach(function(u){const Q=n.evaluate([u],c,d).expand();if(Array.isArray(Q)&&1!==Q.length||!q.boolean.matches(Q[0]))throw new J("Wrong type for function result in filter(). Expecting xs:boolean, supplied value is "+ +Aa.showValue(Q),"XPTY0004",d);Q[0].toBoolean()&&m.push(u)});return f(m)}throw new J("Argument supplied to array:filter is not a function","XPTY0004",d);},flatten:function(r){return ld.flatten(r[0])},"fold-left":function(r,c,d){return I(r,c,d,!0)},"fold-right":function(r,c,d){return I(r,c,d,!1)},"for-each":function(r,c,d){const n=r[1].expand()[0];r=p(r);Object.keys(c.localVars);if(n.evaluate){const m=[];r.forEach(function(u){m.push(n.evaluate([u],c,d).expand())});return f(m)}},"for-each-pair":function(r, +c,d){let n=r[2].expand();if(1!==n.length)throw new J("for-each-pair() must have exactly one function item as the third argument. Supplied length "+n.length,"XPTY0004",d);n=n[0];Object.keys(c.localVars);const m=[],u=r[0].next().value[Symbol.iterator]();r=r[1].next().value[Symbol.iterator]();let Q=u.next().value,ma=r.next().value;if(n instanceof jd.XdmFunction)for(;Q&&ma;)m.push(n.evaluate([Q,ma],c,d).expand()),Q=u.next().value,ma=r.next().value;return f(m)},"_from-sequence":function(r){const c=[]; +r[0].forEachItem(function(d){c.push([d])});return f(c)},get:function(r){const c=p(r);r=r[1].next().toNumber();G(r,c.length);return Pb(c[r-1])},head:function(r){r=p(r);G(1,r.length);return Pb(r[0])},"insert-before":function(r){const c=p(r),d=r[1].next().toNumber();G(d,c.length+1);r=r[2].expand();return f(c.slice(0,d-1).concat([r]).concat(c.slice(d-1)))},join:function(r){const c=[];r[0].forEachItem(function(d){d.value.forEach(function(n){c.push(n)})});return f(c)},put:function(r){const c=p(r),d=r[1].next().toNumber(); +G(d,c.length);r=r[2].expand();return f(c.slice(0,d-1).concat([r]).concat(c.slice(d)))},remove:function(r){const c=p(r),d=[];r[1].forEachItem(function(n){n=n.toNumber();G(n,c.length);d.push(n-1)});return f(c.filter(function(n,m){return 0>d.indexOf(m)}))},reverse:function(r){return f(p(r).slice().reverse())},size:function(r){return Zb(r[0].next().size())},sort:function(r,c,d){const n=Nd.jf(d,r[1],c);let m=ld.atomize;if(r[2]){const u=r[2].next();m=function(Q){return u.evaluate([[Q]],c,d)}}return f(p(r).slice().sort(function(u, +Q){return r[1]?Od(Pb(u).mapOneToMany(m),Pb(Q).mapOneToMany(m),n):Od(Pb(u).mapOneToMany(m),Pb(Q).mapOneToMany(m))}))},subarray:function(r){const c=p(r),d=r[1].next().toNumber();G(d,c.length+1);r=r[2]?r[2].next().toNumber():c.length-d+1;if(0>r)throw new J("Length is negative","FOAY0002");G(d+r,c.length+1);return f(c.slice(d-1,d+r-1))},tail:function(r){r=p(r);G(1,r.length);return f(r.slice(1))},"_to-sequence":function(r){const c=[];p(r).forEach(function(d){d.forEach(function(n){c.push(n)})});return Pb(c)}}; +if(!D[e])throw new J("Unknown array function: "+e,"SXJS0003",v);return D[e](l,z,v)}function A(e,l,z,v){const G={contains:function(p){const f=p[0].next();p=p[1].next();return bc(f.containsKey(p))},create:function(p){const f=new lc;p[0].forEachItem(function(I){I.forAllPairs(function(D){f.inSituPut(D.k,D.v)})});return Ub(f)},entry:function(p){const f=new lc;f.inSituPut(p[0].next(),p[1].expand());return Ub(f)},find:function(p){function f(c){ld.isArray(c)?c.value.forEach(I):ld.pe(c)&&(c.containsKey(r)&& +D.push(c.get(r)),c.keys().forEach(function(d){I(c.get(d))}))}function I(c){c.forEach(f)}const D=[],r=p[1].next();I(p[0].expand());return Ub(new id(D))},"for-each":function(p,f,I){const D=p[0].next(),r=D.keys(),c=p[1].expand()[0];if(c.evaluate){let d=[];r.forEach(function(n){d=d.concat(c.evaluate([[n],D.get(n)],f,I).expand())});return Pb(d)}throw new J("Argument to map:for-each is not a function","XPTY0004",I);},get:function(p){const f=p[0].next();p=p[1].next();return Pb(f.get(p))},keys:function(p){p= +p[0].next();return Pb(p.keys())},merge:function(p){const f=new lc,I=p[1]?p[1].next():null,D=q.string.fromString("duplicates"),r=I&&I.containsKey(D)?I.get(D).toString():"use-first";p[0].forEachItem(function(c){c.forAllPairs(function(d){if(!f.containsKey(d.k)||["use-last","unspecified","use-any"].includes(r))f.inSituPut(d.k,d.v);else{if("reject"===r){var n=q.string.fromString("duplicates-error-code");n=I.containsKey(n)?I.get(n).toString():"FOJS0003";throw new J("Duplicate key value '"+d.k.toString()+ +"'",n,v);}if("combine"===r){let m=[];f.get(d.k).forEach(function(u){m.push(u)});d.v.forEach(function(u){m.push(u)});f.inSituPut(d.k,m)}}})});return Ub(f)},_new:function(p){const f=new lc;p[0]&&p[0].forEachItem(function(I){I.forAllPairs(function(D){if(f.containsKey(D.k))throw new J("Duplicate key value '"+D.k.toString()+"'","XSLT"===z.fixed.la.Xb?"XTDE3365":"XQDY0137",v);f.inSituPut(D.k,D.v)})});return Ub(f)},put:function(p){const f=p[0].next(),I=p[1].next();p=p[2].expand();return Ub(f.put(I,p))}, +remove:function(p){let f=p[0].next();p[1].forEachItem(function(I){f=f.remove(I)});return Ub(f)},size:function(p){let f=0;p[0].next().forAllPairs(function(){f++});return Zb(f)},"untyped-contains":function(p){const f=p[0].next();p=p[1].next();return bc(f.containsKey(p))}};if(!G[e])throw new J("Unknown map function: "+e,"SXJS0003",v);return G[e](l,z,v)}function P(e,l,z,v){function G(r){return null===r?(I=!0,Number.NaN):r.toNumber()}function p(){const r=l[0].next();return G(r?r:ld.Fa(v)(z).next())}function f(){const r= +l[1].next();return G(r?r:ld.Mh(v)(z).next())}let I=!1;const D=function(){switch(e){case "pi":return Math.PI;case "exp":return Math.exp(p());case "exp10":return Math.pow(10,p());case "log":return Math.log(p());case "log10":return Math.log(p())/Math.LN10;case "pow":const r=p(),c=f();return-1===r&&(Infinity===c||-Infinity===c)||1===r?1:Math.pow(r,c);case "sqrt":return Math.sqrt(p());case "sin":return Math.sin(p());case "cos":return Math.cos(p());case "tan":return Math.tan(p());case "asin":return Math.asin(p()); +case "acos":return Math.acos(p());case "atan":return Math.atan(p());case "atan2":return Math.atan2(p(),f());default:throw new J("Unknown math function "+v.name,"XPST0017",v);}}();return I?Tb:$b(D)}const q=Sa.XS,g={};g[dc.ib]={apply:pe.apply,"compile-XPath":function(e,l,z){const v=e[0].next().toString();let G,p;1v[G]}else e=v=>kc(z,v);l= +Li.parseSequenceType(l,e,()=>{let v=z;for(;v&&1===v.nodeType;){if(fc.X(v).q===dc.Jc&&null!=ic(v,"","xpath-default-namespace"))return jc(v,"","xpath-default-namespace");if(null!=ic(v,dc.Jc,"xpath-default-namespace"))return jc(v,dc.Jc,"xpath-default-namespace");v=fc.Oa(v)}});return Ub(ld.Be(ld.Na(l.T()))[0])},"parse-XPath":function(e){const l=e[0].next().toString();let z="parse";1l.push({Mb:Math.random(),Dk:z}));l=l.sort(function(z,v){return z.Mb-v.Mb});e=l.map(z=>z.Dk);return Pb(e)},"system-id":function(e,l){e=l.getCurrentFocus();e=fc.Q(e)?fc.Za(e):null;return Ub(null===e?null:q.anyURI.fromString(e))},timestamp:function(e,l){return Ub(q.vd.fromDate(new Date,-l.fixed.zb.getTimezoneOffset()))}};g["http://exslt.org/common"]={"node-set":function(e){return e[0]}};ld.qk(a);return{evaluate:a,jg:function(e){const l=e.namespace;e=e.signatures;let z=g[l]; +z||=g[l]={};Object.entries(e).forEach(v=>{z[v[0]]=v[1].impl})}}}();var Ri={forceBaseURI:Pi.forceBaseURI};const Si=function(){function a(e,l){return e.rb===l.rb?e.Ec===l.Ec?e.Kd===l.Kd?l.Ei-e.Ei:e.Kd-l.Kd:e.Ec-l.Ec:e.rb-l.rb}function b(e,l){return e.rb===l.rb?e.Ec===l.Ec?0:e.Ec-l.Ec:e.rb-l.rb}function h(e,l){function z(v){return v.n?[v.n.replace(/^(\*:|Q\{.*\})/,"")]:v.u?z(v.u[0]).concat(z(v.u[1])):[]}this.Ve=e;this.wi=e.onNo;this.ti=l.qb(e,"t");l.qb(e,"F")&&(this.ug=!0);this.xh=(e.C||[]).map(function(v){return{Id:v,rb:parseInt(v.prec,10),Ec:parseFloat(v.prio),Kd:parseInt(v.seq,10),dk:parseInt(v.minImp, +10),Ei:parseInt(v.rank,10),ve:Qd.Zc(l.$(v,"match")),matches:oc(v.matches||"1"),Xa:l.$(v,"action")}}).sort(a).reverse();this.Ub={};this.xh.forEach(v=>{const G=v.matches.T();let p,f=[];/^N[EAP]/.test(G.p)?(p=G.p,G.n&&!/}\*$/.test(G.n)?(p+=" "+G.n.replace(/^(\*:|Q\{.*\})/,""),f=[p]):f=G.u?[...(new Set(z(G)))].map(I=>p+" "+I):[p]):f=["."];f.forEach(I=>{let D=this.Ub[I];D||(this.Ub[I]=D=[]);D.push(v)})})}const A=Sa.XS,P=fc.va,q={TC:function(e,l,z,v){if(fc.Q(e))switch(e.nodeType){case 9:case 11:case 1:z= +z.newContext(!1);z.focus=Xb(P.wa(e));l.xb(z,v);break;case 3:case 4:v.append(e);break;case 2:v.text(e.value)}else if(A.lg.matches(e))v.text(e.toString());else if(ld.isArray(e)){let G=[];e.value.forEach(p=>{G=G.concat(p)});e=z.newContext(!1);e.focus=Xb(Pb(G));l.xb(e,v)}},SC:function(e,l,z,v){return ee.Rg(e,z,"c",function(){const G=z.newContext(!1);G.focus=Xb(P.attribute(e));l.xb(G,v);G.focus=Xb(P.wa(e));l.xb(G,v)},v)},DC:function(e,l,z,v){fc.Q(e)&&(v.cb=fc.Za(e));v.append(e)},DS:function(e,l,z,v){if(fc.Q(e))switch(e.nodeType){case 9:case 11:z= +z.newContext(!1),z.focus=Xb(P.wa(e)),l.xb(z,v)}},SS:function(e,l,z,v){if(fc.Q(e))switch(e.nodeType){case 9:case 11:case 1:z=z.newContext(!1),z.focus=Xb(P.attribute(e)),l.xb(z,v),z.focus=Xb(P.wa(e)),l.xb(z,v)}else if(ld.isArray(e)){let G=[];e.value.forEach(p=>{G=G.concat(p)});e=z.newContext(!1);e.focus=Xb(Pb(G));l.xb(e,v)}},bubble:function(e,l,z,v){fc.Q(e)?1===e.nodeType&&(z=z.newContext(!1),z.focus=Xb(P.parent(e)),l.xb(z,v)):v.append(e)}};q.TO=q.TC;const g={1:"NE",2:"NA",3:"NT",7:"NP",8:"NC",9:"ND", +11:"ND",13:"NN"};h.prototype={Ve:null,xh:null,wi:"TC",ti:!1,ug:!1,xb:function(e,l,z){if(z){let v=!0;e.focus.forEachItem(G=>{v?v=!1:l.text(z.value,{});this.We(G,e,l)})}else e.focus.forEachItem(v=>this.We(v,e,l))},ij:function(e,l){const z=e.currentTemplate;if(!z)throw new J("No current template rule","XTDE0560");return this.We(e.getCurrentFocus(),e,l,function(v){return v.rb>=z.dk&&v.rba(v,z)})},xj:function(e,l,z){let v=null,G=null;const p=this.ug;var f=[];if(fc.Q(e)){const D=g[e.nodeType];var I=fc.X(e);if(I=I?I.local:null)I=D+" "+I,this.Ub[I]&&f.push(this.Ub[I]);this.Ub[D]&&f.push(this.Ub[D]);this.Ub.N&&f.push(this.Ub.N)}this.Ub["."]&&f.push(this.Ub["."]);(function(D){D.forEach(r=>{r.forEach(function(c){if(!z||z(c))if(!v||0!0;else if("strip.none"===x.N)B=()=>!1;else{let L={},H={},S={},C={},Z={},K=function(V,ha,w){V[ha]?parseInt(w.rb,10)>parseInt(V[ha].rb,10)&&(V[ha]=w):V[ha]=w};(x.C||[]).forEach(V=>{const ha=oc(V.test);ha instanceof td?(V.PREC=parseInt(V.prec,10),V.PRIO=2,K(L,ha.name.toEQName(),V)):ha instanceof vd?(V.PREC=parseInt(V.prec,10),V.PRIO=1,K(H,ha.q,V)):ha instanceof ud?(V.PREC=parseInt(V.prec,10),V.PRIO=1,K(S,ha.localName,V)):ha instanceof Oc?(V.PREC=parseInt(V.prec,10),V.PRIO= +0,K(C,"*",V)):Aa.fa("Unrecognised strip-space "+V.test)});const X=(V,ha)=>{const w=[],M=L["Q{"+V+"}"+ha];M&&w.push(M);(V=H[V])&&w.push(V);(ha=S[ha])&&w.push(ha);C["*"]&&w.push(C["*"]);w.sort((aa,ja)=>{const Y=aa.PREC,y=ja.PREC;return Y===y?ja.PRIO-aa.PRIO:y-Y});return 0{const w="Q{"+V+"}"+ha,M=Z[w];if(M)return"s"===M;V=X(V,ha);Z[w]=V?"s":"p";return V}}else B=()=>!1;return function(L){E(L);return L}}function h(x,E,B){function L(W){W=new $d(W);X.fixed.Aj=W;return new ee.getComplexContentOutputter(W)} +function H(){}function S(){Q&&!B.Kg&&p(X)}var C=ld.db(x,"strip")[0]||ld.db(x,"strip.all")[0];let Z=null;if(C||Q)Z=b(C),E&&Z&&(E=Z(E));B.Qi&&B.Qi(x);B.gm=null;const K=B.Bh,X=I(x,E,B);X.fixed.pm=X.fixed.md.La.version;D(X,function(W){return"globalParam"===W.N&&W.flags&&-1!==W.flags.indexOf("r")}).map(function(W){return W.name}).map(function(W){if("undefined"===typeof X.fixed.la.stylesheetParams.get(Sa.XS.QName.fromEQName(W)))throw new J("No value has been provided for required stylesheet parameter '"+ +W+"'","XTDE0050");});X.fixed.Ae=Z;E&&(fc.lc(E),X.fixed.gb[E._saxonBaseUri]=E);const V=B.destination||"application",ha=B.resultForm||"default";if(B.deliverResultDocument){let W=B.deliverResultDocument("testURI");["document","serialized","raw"].includes(W.destination)&&!W.save&&(B.deliverResultDocument=function(){return new oe(W.destination,B.resultDocuments)})}B.deliverResultDocument||(B.deliverResultDocument=Q?function(){return new ne("html-page",function(W,ka){B.resultDocuments[W.toString()]=ka})}: +K?function(){return new ne("file",function(W,ka,ea){ka=u.writeFileAsync(W,ka,ea);Aa.Qa("Promising to write to "+W,2,X.fixed.Ga);X.fixed.nd.push(ka)})}:function(){return new ne("file",function(W,ka,ea){Aa.Qa("Writing to "+W,2,X.fixed.Ga);u.writeFileSync(W,ka,ea)})});let w;const M={};C=X.fixed.md;var aa=C.Mg["#unnamed"];if(aa){aa=aa.C;var ja,Y;for(var y=0;yaa.indexOf("Q{")&& +(aa="Q{}"+aa);C=c(X,aa);if(!C)throw new J("Unknown initial mode "+aa,"XTDE0045");y="Q{"+dc.Jc+"}initial-template";E||ja||Y||d(X,y)&&(Y=y);let da=B.Mj;if(da){E=B.functionParams?B.functionParams:[];ja=E.length;Y=n(X,da.toString(),ja);if(!Y)throw new J("Unknown initial function "+da+"#"+ja,"XTDE0041");if("PUBLIC"!==Y.La.vis&&"FINAL"!==Y.La.vis)throw new J("Uninvocable initial function "+da+"#"+ja+" with visibility "+Y.La.vis,"XTDE0041");const W=Y.La.C[0];X.focus={};X.currentComponent=Y;X.clearGrouping(); +X.tempOutputState="function";X.currentMode=C;X.currentTemplate=null;let ka=0;X.localVars=E.map(function(ea){var va=W.C[ka++].as;va=nc(va||"*");return ld.pg(ld.Na(ea),va,()=>"function parameter for "+da)});E=H();ee.push(ld.$(W,"body"),X,E);E.close()}else if(Y){ja=d(X,Y);if(!ja)throw new J("Unknown initial template "+Y,"XTDE0040");Y=ja.actor;X.fixed.Uc?X.focus=Wb(E):(X.focus=Xb(Tb),X.focus.next());ld.og(Y,X);X.currentComponent=ja;X.currentMode=C;A(B,X);E=H();ee.push(Y.C[0],X,E);E.close()}else{Array.isArray(ja)&& +Z&&ja.filter(fc.Q).map(function(W){return fc.nf(W)?W:W.ownerDocument}).map(function(W){return Z(W)});if("PRIVATE"===C.visibility&&aa!==x.defaultMode&&""!==aa)throw new J("Uninvokable initial mode "+aa+" with visibility "+C.La.vis,"XTDE0045");if(!E&&!ja)throw new J("No source input supplied for apply-templates invocation","XTDE0044");Y=C.mode;X.currentComponent=C;X.focus=Xb(ja?Pb(Array.isArray(ja)?ja:[ja]):Ub(E));E=Y.Ve.useAcc;null!=E&&"#all"!==E&&(X.useAccumulators=E.split(/\s+/));A(B,X);E=H();Y.xb(X, +E);E.close()}S();if(K){function W(){const ka=X.fixed.nd;X.fixed.nd=[];return Promise.all(ka).then(()=>{if(0{throw ea;}).then(()=>Promise.resolve(new me(B.principalResult,B.resultDocuments,x,B.masterDocument)))}B.resultPromise=W()}}function A(x,E){x.templateParams&&(Aa.ba(x.templateParams instanceof lc,"options?templateParams must be an instance of HashTrie. Supplied:"+x.templateParams),E.localParams=x.templateParams);x.tunnelParams&&(Aa.ba(x.templateParams instanceof +lc,"options?tunnelParams must be an instance of HashTrie. Supplied:"+x.tunnelParams),E.tunnelParams=x.tunnelParams)}function P(x){let E="";for(const B in x)x.hasOwnProperty(B)&&x[B]&&(E+=B+"="+x[B].toString().substring(0,30)+"("+typeof B+"), ");return E}function q(x){let E=x.stylesheetInternal||null;if(!E){if(x.Eb)var B=u.readFile(x.Eb);else if(x.stylesheetText)B=x.stylesheetText;else if(x.Zb){if(Q)throw new J("Cannot supply stylesheetFileName in browser","SXJS0006");B=u.readFile(x.Zb)}else throw new J("No stylesheet supplied", +"SXJS0006");try{E=JSON.parse(B)}catch(H){throw new J("Supplied SEF is not in JSON format","SXJS0006");}}v(E,x);E.PRIMED||(G(E),g(E),E.PRIMED=!0);"true"===E.relocatable&&(x.Xc=!0);B=x.yf||null;let L;B&&(L=x.yf.Za||x.Md)&&(B._saxonBaseUri=L);if(!B){let H;if(x.Hc)L=x.Hc,H=u.readFile(L);else if(x.ze)L=x.Md,H=x.ze;else if(x.Gc){if(Q)throw new J("Cannot supply sourceFileName in browser","SXJS0006");L=x.Gc;H=u.readFile(L)}if(H)if("json"===x.Li)B=Sd.Gd(H,null);else{if("string"!==typeof H)throw new J("Supplied sourceText is not a string", +"SXJS0006");B=u.parseXmlFromString(H);L&&(B._saxonBaseUri=B._saxonDocUri=L)}}h(E,B,x);return new me(x.principalResult,x.resultDocuments,E,x.masterDocument)}function g(x){x.C&&x.C.forEach(function(E){E.parentNode=x;g(E)})}function e(x){if(x instanceof lc)return x;const E=new lc;x&&Object.keys(x).forEach(B=>E.inSituPut(Sa.XS.QName.fromEQName(B),ld.Na(x[B])));return E}function l(x){const E={};for(let [B,L]of Object.entries(x))E[B]="use-character-maps"===B?L:le.uf(B,L,null);return E}function z(x){const E= +(B,L)=>{let H=null;for(let S of L)if(B[S]){if(H)throw new J("The following transform options are mutually exclusive: "+L.toString(),"SXJS0006");H=S}return H};E(x,["stylesheetText","stylesheetInternal","stylesheetLocation","stylesheetFileName"]);E(x,["sourceNode","sourceText","sourceLocation","sourceFileName"]);return{stylesheetText:x.stylesheetText,stylesheetInternal:x.stylesheetInternal,Eb:x.stylesheetLocation,Zb:x.stylesheetFileName,Qd:x.stylesheetBaseURI,stylesheetParams:e(x.stylesheetParams), +yf:x.sourceNode,ze:x.sourceText,Hc:x.sourceLocation,Gc:x.sourceFileName,Li:x.sourceType||"xml",Md:x.sourceBaseURI,masterDocument:x.masterDocument,Pj:x.initialTemplate,Mj:x.initialFunction,functionParams:x.functionParams,templateParams:e(x.templateParams),tunnelParams:e(x.tunnelParams),Nj:x.initialMode,gb:x.documentPool,$b:x.textResourcePool,destination:x.destination,yb:x.baseOutputURI||(x.masterDocument?x.masterDocument._saxonBaseUri:void 0),Aa:x.outputProperties,principalResult:void 0,rg:x.deliverMessage, +deliverResultDocument:x.deliverResultDocument,sc:x.collations,Kh:x.collectionFinder,Ga:x.logLevel,Qi:x.traceInjector,Uc:x.globalContextItem,Oj:x.initialSelection,me:x.isDynamicStylesheet,Xc:x.isRelocatableStylesheet,Xb:x.language,ri:x.messages,resultDocuments:{},resultForm:x.resultForm,Dl:x.extraOptions,Kg:x.nonInteractive,kj:x.attachEventsTo,Bh:x.async}}function v(x,E){if("package"===x.N){const B=x.target||"not specified",L=x.targetVersion||"",H=x.saxonProduct;let S=x.saxonVersion||"9.8.0.5";H&& +!/Saxon/.test(S)&&(S=H+" "+S);Aa.Qa("SEF generated by "+S+" at "+(x.buildDateTime||"2000-01-01"),2,E.Ga);if("JS"!==B||"2"!==L)throw new J("Supplied SEF is not customized for use with SaxonJS. The option -target:JS should be set when generating the export. target is: "+B,"SXJS0006");if("9"===S.charAt(0))throw new J("For use with SaxonJS 2.x, SEF must be generated by SaxonJ-EE 10.0 or later. Supplied SEF is generated by SaxonJ-EE version "+S,"SXJS0006");if(x.expiry&&0>ma.Oc.fromString(x.expiry).compareTo(ma.Oc.fromDate(new Date, +0)))throw new J("Development license for supplied stylesheet has expired","SXJS0006");}else throw new J("Supplied SEF does not have correct format","SXJS0006");}function G(x){function E(Z,K){K<<=8;for(let X=0;XH?4294967295+H+1:H).toString(16);if(C!==x){if("unspecified"===x)throw new J("No checksum found in SEF","SXJS0006");throw new J("Invalid checksum in SEF "+x+" != "+C,"SXJS0006");}}function p(x,E=null){function B(H,S){function C(K){const X=K.target;var V=x.newContext(!0);V.tempOutputState=!1;V.currentEvent=K;V.focus=Xb(Ub(ld.Na(X)[0]));V.currentComponent=H;K= +ae(x);K=new ee.getComplexContentOutputter(K);(V=Z.xb(V,K))&&V.expand()}const Z=H.mode;-1==="httpabort afterprint beforeprint beforeunload hashchange languagechange message offline online pagehide pageshow popstate storage unhandledrejection unload resize".split(" ").indexOf(S)?E?E.zh(S,C,!1):window.document.zh(S,C,!1):window.zh(S,C,!1)}const L=x.fixed.xa;Object.keys(L).forEach(function(H){H=L[H];H.mode&&H.mode.ii()&&(H.name.split("}on")[1]?B(H,H.name.split("}on")[1]):console.log("Invalid event handler name:", +H.name))})}function f(x,E){return x.C?x.C.filter(function(B){return B.N===E}):[]}function I(x,E,B){function L(X,V){H(x,X,V)}function H(X,V,ha){X.N===V&&ha(X);X.C&&X.C.forEach(function(w){H(w,V,ha)})}function S(X){return(X=X.name)?/^Q\{/.test(X)?X:"Q{}"+X:null}function C(X,V){function ha(w){w=f(w,"co");for(let M=0;M{const ha=X[V];if(fc.nf(ha))K.fixed.gb[V]=ha;else throw new J("Supplied value for "+V+" is not a document node");})}if(B.$b){const X=B.$b;Object.keys(X).forEach(V=>{K.fixed.$b[V]=X[V].toString()})}B.sc|| +(B.sc={});B.sc[Nd.Nc]=Nd.codepointCollation();B.sc[Nd.Xh]=Nd.bf();B.sc[Nd.Fg]=Nd.Ah();B.sc[Nd.Ui]=Nd.bf();L("package",function(X){const V={name:X.name,La:X,wb:{},Eh:{},Ua:{},Mg:{},keys:{},Ri:null};K.fixed.bd[V.name]=V;K.fixed.md||(K.fixed.md=V);C(X,function(ha){const w=parseInt(ha.id,10);K.fixed.xa[w]={id:w,visibility:ha.vis,La:ha,zi:V,actor:null,$e:ha.binds.split(" ").map(function(M){return parseInt(M,10)})}})});L("package",function(X){const V=K.fixed.bd[X.name];C(X,function(Y){const y=K.fixed.xa[parseInt(Y.id, +10)];Y=y.actor=Z(Y,K);null!==Y&&(y.name=S(Y),"globalVariable"===Y.N||"globalParam"===Y.N?y.value=null:"mode"===Y.N&&(y.mode=new Si(Y,ld),null===S(Y)&&(V.Ri=y.mode)),"ABSTRACT"===Y.parentNode.vis&&(y.visibility="ABSTRACT"))});if(0Y.max&&(Y.max= +da);Y.oa[da]=y.s}),55296{Z=JSON.parse(V)}).catch(V=>Promise.reject(new J("Failed to read JSON input "+L.Zb+": "+V,"SXJS0006"))), +x.push(S)):L.Eb?(S=u.resourcePromise({location:L.Eb,encoding:"utf-8",type:"json"}).then(V=>{Z=JSON.parse(V)}).catch(V=>Promise.reject(new J("Failed to read JSON input "+L.Eb+": "+V,"SXJS0006"))),x.push(S)):x.push(Promise.reject(new J("No stylesheet supplied","SXJS0006")));K=L.yf||null;X=L.Li||"xml";K&&(S=L.yf.Za||L.Md)&&(K._saxonBaseUri=S);if(!K){S=(ha,w)=>{ha=Td.Hh(Td.Gh(ha));ha=u.parseXmlFromString(ha);w&&(ha._saxonBaseUri=ha._saxonDocUri=w);return ha};C=ha=>Sd.Gd(ha,null);const V="xml"===X?S:C; +L.ze?"string"!==typeof L.ze?x.push(Promise.reject(new J("Supplied sourceText is not a string","SXJS0006"))):K=V(L.ze,L.Md):L.Gc?(S=u.resourcePromise({file:L.Gc}).then(ha=>K=V(ha,L.Gc)).catch(ha=>Promise.reject(new J(`Failed to read ${X.toUpperCase()} source input (${ha.message})`,"SXJS0006"))),x.push(S)):L.Hc&&(S=u.resourcePromise({location:L.Hc}).then(ha=>{K=V(ha,L.Hc)}).catch(ha=>Promise.reject(new J(`Failed to read ${X.toUpperCase()} source input (${ha.message})`,"SXJS0006"))),x.push(S))}return Promise.all(x).then(()=> +{var V=Z,ha=K,w=L;if(!V)throw new J("No stylesheet supplied","SXJS0006");try{v(V,w);V.PRIMED||(G(V),g(V),V.PRIMED=!0);"true"===V.relocatable&&(w.Xc=!0);h(V,ha,w);var M=w.resultPromise}catch(aa){throw console.log("Transformation failure: "+(aa.getMessage?aa.getMessage():aa)),aa;}return M})},Serializer:le,serialize:function(x,E){const B={"iso-8859-1":"latin1","iso-646":"ascii"};x=le.serialize(x,E);return E&&E.encoding?(E=E.encoding,E=B[E]||E,ya.makeBuffer(x,E)):x},StringWriter:le.StringWriter,getProcessorInfo:function(){return{version:3, +vendor:"Saxonica",vendorURL:"https://www.saxonica.com/",productName:"SaxonJS",productVersion:"2.7",isSchemaAware:!1,supportsSerialization:!0,supportsBackwardsCompatibility:!0,supportsNamespaceAxis:!0,supportsStreaming:!1,supportsDynamicEvaluation:!0,supportsHigherOrderFunctions:!0,xPathVersion:3.1,xsdVersion:1.1,releaseDate:"2024-10-17"}},getResource:function(x){const E=x.type||"text";let B;if(x.file){var L=u.resourcePromise(x);B=u.fileURL(x.file)}else if(x.location)if(L=x.location, +L instanceof URL||(L=u.newURL(L,u.baseURL()),x.location=L.toString()),B=L.href,"file:"===L.protocol)L=u.resourcePromise(x);else if(["http:","https:"].includes(L.protocol))L=u.resourcePromise(x);else return Promise.reject(new J("Unsupported URL protocol "+L.protocol,"SXJS0006"));else if(x.text)L=Promise.resolve(x.text),x.baseURI&&(B=x.baseURI);else return Promise.reject(new J("No resource supplied","SXJS0006"));"xml"===E?L=L.then(H=>{try{const S=fc.lc(u.parseXmlFromString(H));S._saxonBaseUri=S._saxonDocUri= +B;return Promise.resolve(S)}catch(S){return Promise.reject(new J("Failed parsing XML in "+B+": "+S.message,S.code))}}):"json"===E&&(L=L.then(H=>{try{return Promise.resolve(Sd.Gd(H,new lc,new rf))}catch(S){return Promise.reject(new J("Failed parsing JSON in "+B+": "+S.message,S.code))}}));return L},setLogLevel:Aa.setLogLevel,getLogLevel:Aa.getLogLevel,setPlatform:a,getPlatform:function(){return u},getNavigator:function(){return window.$l.lm},timeStamp:Q&&window.Bi&&window.Bi.now?window.Bi.now:function(){return Date.now().valueOf()}, +internalTransform:h,checkOptions:z,convertResult:m,makeAtomicValue:function(x,E){return Sa.type[x].fromString(E)},registerExtensionFunctions:function(x){Ni.jg(x);Qi.jg(x)},getItemDetails:function(x){if(Sa.ka(x)){const E={variety:"atomic",type:x.type,value:x.toString()};"AQ"===x.code&&(E.prefix=x.prefix,E.uri=x.q,E.local=x.local);return E}return fc.Q(x)?{variety:"node",type:x.nodeType()}:{variety:x instanceof id?"array":"map"}},getConfigurationProperties:function(){const x={};Object.keys(O).forEach(E=> +{x[E]=O[E]});return x},getConfigurationProperty:function(x){if(x in O)return O[x]},setConfigurationProperties:function(x){const E={};Object.keys(O).forEach(B=>{E[B]=O[B]});Object.keys(x).forEach(B=>{"autoResetIndexes"==B||"nativeGetElementById"==B?O[B]=!!x[B]:Aa.Qa("The configuration property "+B+" is unrecognized")});return E},setConfigurationProperty:function(x,E){if("autoResetIndexes"==x||"nativeGetElementById"==x){let B=O[x];O[x]=!!E;return B}Aa.Qa("The configuration property "+x+" is unrecognized")}, +resetIndexes:function(x){Q&&!x&&(x=window.document);return x&&"_saxonIndexes"in x?(delete x._saxonIndexes,delete x._saxonIndexesBC,delete x._saxonXmlIdIndex,!0):!1},XdmArray:id,XdmAtomicValue:Ra,XdmAttributeNode:ec,XdmFunction:jd,XdmMap:lc,XError:J,XPath:Ii,XS:ma};Q||"undefined"!==typeof HostPlatform?(HostPlatform.entryPoint=ca,a(HostPlatform),u.expose(ca,"SaxonJS")):console.log("Platform binding delayed");ca.Developer=Ri;Sa.fg();Ma.fg();vc();Pd.register("SaxonJS",ca);return ca})(); diff --git a/Lombiq.EInvoiceValidator/node_modules/saxon-js/package.json b/Lombiq.EInvoiceValidator/node_modules/saxon-js/package.json new file mode 100644 index 0000000..e8ff7b7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/saxon-js/package.json @@ -0,0 +1,27 @@ +{ + "name": "saxon-js", + "version": "2.7.0", + "description": "SaxonJS XSLT 3.0 processor: a conformant high-performance implementation of XSLT 3.0 for Node.js", + "main": "SaxonJS2N.js", + "keywords": [ + "xslt", + "xslt3.0", + "xpath3.1", + "xpath", + "xml", + "saxon", + "dom", + "json", + "xsl", + "transform" + ], + "homepage": "http://www.saxonica.com/saxon-js/", + "bugs": { + "url": "https://saxonica.plan.io/projects/saxon-js/issues" + }, + "author": "Saxonica", + "license": "SEE LICENSE IN LICENSE.txt", + "dependencies" : { + "axios": "^1.5.1" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/saxon-js/readme.md b/Lombiq.EInvoiceValidator/node_modules/saxon-js/readme.md new file mode 100644 index 0000000..259d506 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/saxon-js/readme.md @@ -0,0 +1,144 @@ +# About SaxonJS + +SaxonJS is an XSLT 3.0 processor written mainly in JavaScript, and partly in XSLT. SaxonJS 2 is available for two JavaScript environments: the browser, and Node.js. We'll focus here on Node.js. + +The npm package **saxon-js** provides a JavaScript API that allows you to: + + * Invoke XSLT 3.0 transformations + * Run XPath 3.1 expressions against DOM trees + * Build DOM trees from XML resources held in filestore or accessed over HTTP + * Serialize DOM trees to XML or HTML + +A command-line interface for XSLT 3.0 transformation is provided in a separate package, **xslt3**. + +[Full documentation is available](http://www.saxonica.com/saxon-js/documentation/index.html), delivered using SaxonJS 2 running in your browser. + +## About XSLT 3.0 and XPath 3.1 + +XSLT 3.0 and XPath 3.1 are the latest versions of the XSLT and XPath specifications from W3C. + +The 1.0 versions of these languages are widely known and widely used, but they are now twenty years old, and the standards have come a long way since then. + +Version 2 of the specs introduced, among other things: + +* Grouping instructions (``) +* Regular expressions +* Date-and-time arithmetic and formatting +* A wider range of data types +* User-written functions in XSLT + +Version 3 added: + +* Support for JSON, including maps and arrays +* Higher-order functions +* Support for HTML5 +* Inline text templates: `

Written by {@author} on {@date}

` +* Separately-compiled XSLT packages + +SaxonJS implements all of the mandatory parts of the XSLT 3.0 and XPath 3.1 specifications, and most of the optional parts. The only major things it leaves out are: + +* Schema-awareness +* Streaming +* XSLT Packages (but see below) + +## Saxon compile time and run time + +The Saxon product effectively contains a compile time and a run time component. The compiler takes XSLT source code as input, and generates a Stylesheet Export File (SEF), which is an intermediate representation of the compiled and optimized stylesheet in a custom JSON format. In fact, Saxonica offers two XSLT compilers: + +* The XJ compiler is an XSLT-to-SEF compiler written in Java, and delivered as part of the Saxon-EE product, running under Java. +* The XX compiler is an XSLT-to-SEF compiler written in XSLT, making calls on an XPath parser written in JavaScript. It is delivered as part of SaxonJS, and can be invoked using the **xslt3** command line. + +SaxonJS will load SEF files generated by either compiler. For production work the XJ compiler is a better choice: it is faster, it produces better diagnostics, it generates smaller and faster run-time code, and it has fewer restrictions. But the XX compiler is available at no cost. + +XSLT 3.0 packages are partially supported: SaxonJS offers run-time support, but to compile them you will need the XJ compiler. + +## About Saxonica + +SaxonJS is developed by Saxonica, a company created in 2004 by Michael Kay, who was the editor of the XSLT 2.0 and 3.0 specifications in W3C. The original Saxon product on the Java platform has been continually developed for over 20 years, and has acquired a reputation for standards conformance, performance, and reliability. + +SaxonJS takes many of the successful design ideas of the original Java-based product and re-implements them in JavaScript. Although the Node.js version of the product is brand new, it benefits not only from the experience of the team creating it, but also from the existence of a vast test suite, ensuring a high level of reliability. + +## Examples + +### Compiling a stylesheet + +To compile a stylesheet held in `books.xsl` to a SEF file in `books.sef.json`, to be run either in the browser or Node.js, use the command line: + +**`xslt3 -xsl:books.xsl -export:books.sef.json -t -ns:##html5`** + +Here `-t` requests progress messages on the console, and `-ns:##html5` requests customized handling of namespaces in the HTML DOM (which is non-standard according to the W3C standards, but mimics the way XSLT 1.0 processors behave in the browser). + +### Running a transformation from the command line + +To execute the stylesheet against a source document `books.xml` and write the output to a file `books.html`, use: + +**`xslt3 -xsl:books.sef.json -s:books.xml -o:books.html -t`** + +Alternatively the XSLT stylesheet can be run directly against the source document, using: + +**`xslt3 -xsl:books.xsl -s:books.xml -o:books.html -t`** + + +### Running a transformation from JavaScript + +To run the same transformation from JavaScript within a Node.js application, sending the result to an HTTP response object `response`, use: + +``` + SaxonJS.transform({ + stylesheetFileName: "books.sef.json", + sourceFileName: "books.xml", + destination: "serialized" + }, "async") + .then (output => { + response.writeHead(200, {'Content-Type': 'text/html'}); + response.write(output.principalResult); + response.end(); + }) +``` + +### Running XPath from JavaScript + +The following example parses an XML document, executes a simple XPath expression, and serializes the result: + +``` + SaxonJS.getResource({ + location: '../../src/test.xml', + type: "xml" + }).then(doc => { + const result = SaxonJS.XPath.evaluate("//test[@id='abc']", doc); + const output = SaxonJS.serialize(result, {method: "xml", indent: true, "omit-xml-declaration":true}); + console.log(output); + }) +``` +The next example does the same with JSON input: + +``` + SaxonJS.getResource({ + location: '../../src/test.json', + type: "json" + }).then(doc => { + const result = SaxonJS.XPath.evaluate("?cities?*[?name='Berlin']", doc); + const output = SaxonJS.serialize(result, {method: "json", indent: true}); + console.log(output); + }) +``` + +## SaxonJS Components + +SaxonJS for Node.js includes the following deliverables, available free of charge (but the license is not open source): + +* saxon-js package (SaxonJS2N.js): this includes all the code needed to compile and execute XSLT 3.0 stylesheets under Node.js, including an API enabling applications to invoke stylesheet execution. The JavaScript module is around 3.7Mb in size. + +* xslt3 package (xslt3.js): this small module provides a command line interface, allowing XSLT 3.0 transformations to be compiled and run from a terminal/console. It makes use of the services provided by the saxon-js (SaxonJS2N.js) package.

+ +## SaxonJS in the Browser + +SaxonJS is also available to run in the browser, with innovative extensions allowing user interaction to be handled entirely from declarative XSLT code, without any need for low level Javascript event handling. For details, see the [Saxonica web site](http://www.saxonica.com/saxon-js/index.xml). + +## Support and Services + +SaxonJS is offered free of charge, but for serious users, a chargeable service package is available for an annual fee. The service package includes access to source code and build tools, debugging aids, and other resources such as tutorials and add-on utilities that may be published from time to time. For details, see the [Saxonica web site](http://www.saxonica.com/saxon-js/index.xml). + +All users are welcome to use the public [support site](http://saxonica.plan.io) for reporting issues and seeking help (registration required). In addition, many questions are asked and answered on [StackOverflow](https://stackoverflow.com): please use the **saxon-js** tag. + + diff --git a/Lombiq.EInvoiceValidator/node_modules/xslt3/LICENSE.txt b/Lombiq.EInvoiceValidator/node_modules/xslt3/LICENSE.txt new file mode 100644 index 0000000..cc88bb7 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/xslt3/LICENSE.txt @@ -0,0 +1,55 @@ + Version 1.0, June 2020 + + Software: This license applies to the packages "xslt3" and "saxon-js" + distributed via npm (https://www.npmjs.com) and to the modules SaxonJS2.js + and SaxonJS2.rt.js available for download from the Saxonica web site + (https://www.saxonica.com/). + + Copyright: The copyright in the Software belongs to Saxonica Ltd, except + for third-party components listed in the documentation that are distributed + under license. + + Binary form: In this license, "binary form" means the form in which the + Software is issued (this is technically a set of obfuscated Javascript files). + + Deployment and use. The Software may be copied to any computer where the + primary purpose is the execution of the software on that computer, or on + connected client computers. + + Redistribution. Redistribution in binary form, without + modification, is permitted as part of an application that makes use + of the Software, provided that the following conditions are + met: + + 1) Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + 2) Except to the extent explicitly permitted by law, no reverse + engineering, decompilation, or disassembly of this software is + permitted. + + 3) Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + 4) Copying the software to a site whose primary purpose is to make + it available to third parties is not permitted without specific + prior written permission. + + If you institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the software + itself infringes your patent(s), then your rights granted under this + license shall terminate as of the date such litigation is filed. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS." ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT + NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Lombiq.EInvoiceValidator/node_modules/xslt3/package.json b/Lombiq.EInvoiceValidator/node_modules/xslt3/package.json new file mode 100644 index 0000000..3d756bc --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/xslt3/package.json @@ -0,0 +1,32 @@ +{ + "name": "xslt3", + "version": "2.7.0", + "description": "SaxonJS XSLT 3.0 processor: command line interface to SaxonJS", + "main": "xslt3.js", + "keywords": [ + "xslt", + "xslt3.0", + "xpath3.1", + "xpath", + "xml", + "saxon", + "dom", + "json", + "xsl", + "transform", + "cli" + ], + "author": "Saxonica", + "license": "SEE LICENSE IN LICENSE.txt", + "bin": { + "xslt3": "./xslt3.js" + }, + "homepage": "http://www.saxonica.com/saxon-js/", + "bugs": { + "url": "https://saxonica.plan.io/projects/saxon-js/issues" + }, + "dependencies" : { + "saxon-js": "^2.7.0", + "axios": "^1.5.1" + } +} diff --git a/Lombiq.EInvoiceValidator/node_modules/xslt3/readme.md b/Lombiq.EInvoiceValidator/node_modules/xslt3/readme.md new file mode 100644 index 0000000..259d506 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/xslt3/readme.md @@ -0,0 +1,144 @@ +# About SaxonJS + +SaxonJS is an XSLT 3.0 processor written mainly in JavaScript, and partly in XSLT. SaxonJS 2 is available for two JavaScript environments: the browser, and Node.js. We'll focus here on Node.js. + +The npm package **saxon-js** provides a JavaScript API that allows you to: + + * Invoke XSLT 3.0 transformations + * Run XPath 3.1 expressions against DOM trees + * Build DOM trees from XML resources held in filestore or accessed over HTTP + * Serialize DOM trees to XML or HTML + +A command-line interface for XSLT 3.0 transformation is provided in a separate package, **xslt3**. + +[Full documentation is available](http://www.saxonica.com/saxon-js/documentation/index.html), delivered using SaxonJS 2 running in your browser. + +## About XSLT 3.0 and XPath 3.1 + +XSLT 3.0 and XPath 3.1 are the latest versions of the XSLT and XPath specifications from W3C. + +The 1.0 versions of these languages are widely known and widely used, but they are now twenty years old, and the standards have come a long way since then. + +Version 2 of the specs introduced, among other things: + +* Grouping instructions (``) +* Regular expressions +* Date-and-time arithmetic and formatting +* A wider range of data types +* User-written functions in XSLT + +Version 3 added: + +* Support for JSON, including maps and arrays +* Higher-order functions +* Support for HTML5 +* Inline text templates: `

Written by {@author} on {@date}

` +* Separately-compiled XSLT packages + +SaxonJS implements all of the mandatory parts of the XSLT 3.0 and XPath 3.1 specifications, and most of the optional parts. The only major things it leaves out are: + +* Schema-awareness +* Streaming +* XSLT Packages (but see below) + +## Saxon compile time and run time + +The Saxon product effectively contains a compile time and a run time component. The compiler takes XSLT source code as input, and generates a Stylesheet Export File (SEF), which is an intermediate representation of the compiled and optimized stylesheet in a custom JSON format. In fact, Saxonica offers two XSLT compilers: + +* The XJ compiler is an XSLT-to-SEF compiler written in Java, and delivered as part of the Saxon-EE product, running under Java. +* The XX compiler is an XSLT-to-SEF compiler written in XSLT, making calls on an XPath parser written in JavaScript. It is delivered as part of SaxonJS, and can be invoked using the **xslt3** command line. + +SaxonJS will load SEF files generated by either compiler. For production work the XJ compiler is a better choice: it is faster, it produces better diagnostics, it generates smaller and faster run-time code, and it has fewer restrictions. But the XX compiler is available at no cost. + +XSLT 3.0 packages are partially supported: SaxonJS offers run-time support, but to compile them you will need the XJ compiler. + +## About Saxonica + +SaxonJS is developed by Saxonica, a company created in 2004 by Michael Kay, who was the editor of the XSLT 2.0 and 3.0 specifications in W3C. The original Saxon product on the Java platform has been continually developed for over 20 years, and has acquired a reputation for standards conformance, performance, and reliability. + +SaxonJS takes many of the successful design ideas of the original Java-based product and re-implements them in JavaScript. Although the Node.js version of the product is brand new, it benefits not only from the experience of the team creating it, but also from the existence of a vast test suite, ensuring a high level of reliability. + +## Examples + +### Compiling a stylesheet + +To compile a stylesheet held in `books.xsl` to a SEF file in `books.sef.json`, to be run either in the browser or Node.js, use the command line: + +**`xslt3 -xsl:books.xsl -export:books.sef.json -t -ns:##html5`** + +Here `-t` requests progress messages on the console, and `-ns:##html5` requests customized handling of namespaces in the HTML DOM (which is non-standard according to the W3C standards, but mimics the way XSLT 1.0 processors behave in the browser). + +### Running a transformation from the command line + +To execute the stylesheet against a source document `books.xml` and write the output to a file `books.html`, use: + +**`xslt3 -xsl:books.sef.json -s:books.xml -o:books.html -t`** + +Alternatively the XSLT stylesheet can be run directly against the source document, using: + +**`xslt3 -xsl:books.xsl -s:books.xml -o:books.html -t`** + + +### Running a transformation from JavaScript + +To run the same transformation from JavaScript within a Node.js application, sending the result to an HTTP response object `response`, use: + +``` + SaxonJS.transform({ + stylesheetFileName: "books.sef.json", + sourceFileName: "books.xml", + destination: "serialized" + }, "async") + .then (output => { + response.writeHead(200, {'Content-Type': 'text/html'}); + response.write(output.principalResult); + response.end(); + }) +``` + +### Running XPath from JavaScript + +The following example parses an XML document, executes a simple XPath expression, and serializes the result: + +``` + SaxonJS.getResource({ + location: '../../src/test.xml', + type: "xml" + }).then(doc => { + const result = SaxonJS.XPath.evaluate("//test[@id='abc']", doc); + const output = SaxonJS.serialize(result, {method: "xml", indent: true, "omit-xml-declaration":true}); + console.log(output); + }) +``` +The next example does the same with JSON input: + +``` + SaxonJS.getResource({ + location: '../../src/test.json', + type: "json" + }).then(doc => { + const result = SaxonJS.XPath.evaluate("?cities?*[?name='Berlin']", doc); + const output = SaxonJS.serialize(result, {method: "json", indent: true}); + console.log(output); + }) +``` + +## SaxonJS Components + +SaxonJS for Node.js includes the following deliverables, available free of charge (but the license is not open source): + +* saxon-js package (SaxonJS2N.js): this includes all the code needed to compile and execute XSLT 3.0 stylesheets under Node.js, including an API enabling applications to invoke stylesheet execution. The JavaScript module is around 3.7Mb in size. + +* xslt3 package (xslt3.js): this small module provides a command line interface, allowing XSLT 3.0 transformations to be compiled and run from a terminal/console. It makes use of the services provided by the saxon-js (SaxonJS2N.js) package.

+ +## SaxonJS in the Browser + +SaxonJS is also available to run in the browser, with innovative extensions allowing user interaction to be handled entirely from declarative XSLT code, without any need for low level Javascript event handling. For details, see the [Saxonica web site](http://www.saxonica.com/saxon-js/index.xml). + +## Support and Services + +SaxonJS is offered free of charge, but for serious users, a chargeable service package is available for an annual fee. The service package includes access to source code and build tools, debugging aids, and other resources such as tutorials and add-on utilities that may be published from time to time. For details, see the [Saxonica web site](http://www.saxonica.com/saxon-js/index.xml). + +All users are welcome to use the public [support site](http://saxonica.plan.io) for reporting issues and seeking help (registration required). In addition, many questions are asked and answered on [StackOverflow](https://stackoverflow.com): please use the **saxon-js** tag. + + diff --git a/Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.js b/Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.js new file mode 100644 index 0000000..7d52a34 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.js @@ -0,0 +1,69 @@ +#!/usr/bin/env node + (function(){var CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions=function(){function a(c,f="HE"){c.addRecognizedOption("co",b.TYPE_ENUMERATION|b.VALUE_REQUIRED,"Set compiler option");c.setPermittedValues("co","justStatic justNormalize noXPath noBindings timing traceProgress enableAssertions internalCompile".split(" "),null);c.addRecognizedOption("tp",b.TYPE_BOOLEAN,"Trace compiler progress");c.addRecognizedOption("export",b.TYPE_FILENAME|b.VALUE_REQUIRED, +"Export the compiled stylesheet");c.addRecognizedOption("im",b.TYPE_QNAME|b.VALUE_REQUIRED,"Name of initial mode");c.addRecognizedOption("it",b.TYPE_QNAME,"Name of initial template");c.setPermittedValues("it",[],"Q{http://www.w3.org/1999/XSL/Transform}initial-template");c.addRecognizedOption("json",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Source file for primary JSON input");c.addRecognizedOption("master",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Master document for in-situ update");c.addRecognizedOption("nogo", +b.TYPE_BOOLEAN,"Compile only, no evaluation");c.addRecognizedOption("ns",b.TYPE_ENUMERATION|b.VALUE_REQUIRED,"Default namespace for element names");c.setPermittedValues("ns",["##html5"],null);c.addRecognizedOption("o",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Destination file for primary output");c.addRecognizedOption("relocate",b.TYPE_BOOLEAN,"Produce relocatable packages");c.addRecognizedOption("s",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Source file for primary XML input");c.addRecognizedOption("t",b.TYPE_BOOLEAN, +"Display version and timing information, and names of output files");c.addRecognizedOption("xp",b.TYPE_STRING,"XPath expression");c.addRecognizedOption("xsl",b.TYPE_FILENAME,"Main stylesheet file (XSLT or SEF)");c.addRecognizedOption("?",b.TYPE_BOOLEAN|b.VALUE_PROHIBITED,"Display command line help text");"EE"===f&&(c.addRecognizedOption("debug",b.TYPE_BOOLEAN,"Use diagnostic version of SaxonJS 2"),c.addRecognizedOption("T",b.TYPE_ENUMERATION,"Trace execution"),c.setPermittedValues("T",["none","low", +"normal","high"],"low"),c.addRecognizedOption("TP",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Write timing profile to specified output file"))}const b={TYPE_BOOLEAN:1,TYPE_FILENAME:2,TYPE_ENUMERATION:4,TYPE_INTEGER:5,TYPE_QNAME:6,TYPE_FILENAME_LIST:7,TYPE_DATETIME:8,TYPE_STRING:9,TYPE_INTEGER_PAIR:10,VALUE_REQUIRED:256,VALUE_PROHIBITED:512},d=["on","yes","true","1"],h=["off","no","false","0"];let e={TYPE_BOOLEAN:d.concat(h).join("|"),TYPE_FILENAME:"file name",TYPE_ENUMERATION:4,TYPE_INTEGER:"integer",TYPE_QNAME:"QName in URI qualified name form (Q{uri}local)", +TYPE_FILENAME_LIST:"list of file names, semicolon-separated",TYPE_DATETIME:"dateTime in ??? format",TYPE_STRING:"string",TYPE_INTEGER_PAIR:"int,int"};for(let c in b)e[b[c]]=e[c];class g{constructor(){this._recognized={};this.actualOptions={};this.extraOptions={}}addRecognizedOption(c,f,l){this._recognized[c]={type:f&255,required:f&768,help:l}}setPermittedValues(c,f,l){let r=this._recognized[c];r?(r.values=f,r.defaultValue=l):console.log("setPermittedValues - no record yet for option:",c)}displayPermittedOptions(){let c= +[];for(let f in this._recognized)c.push(f);c.sort((f,l)=>{f=f.toLowerCase();l=l.toLowerCase();return f" -"+f);return c.join()}setActualOptions(c){function f(m,k){throw Error("Command line option -"+m+" "+k);}const l=this._recognized;let r=this.actualOptions,t=this.extraOptions;c.filter(m=>m.startsWith("-")).forEach(function(m){var k=m.indexOf(":"),n=0>k?m.substring(1):m.substring(1,k);k=0>k?"":m.substring(k+1);if(m.startsWith("--"))t[n.substring(1)]=k;else{(m=l[n])||f(n, +"is not recognized");if("?"===k)throw n="Help for -"+n+" option:\nValue: "+(4==m.type?m.values.join("|"):e[m.type]),n+="\nMeaning: "+m.help,Error(n+"\n\nNo processing requested");256===m.required&&""===k&&f(n,"requires a value");512===m.required&&""!==k&&f(n,"must not have a value");""===k&&(k=m.defaultValue||"");switch(m.type){case 4:k&&-1===m.values.indexOf(k)&&f(n,"may only have values "+m.values.join("|"));break;case 5:/[0-9]+/.test(k)||f(n,"may only have value "+e.TYPE_INTEGER);k=parseInt(k, +10);break;case 1:0<=d.indexOf(k)?k=!0:0<=h.indexOf(k)?k=!1:""===k?k=!0:f(n,"may only have a boolean value "+e.TYPE_BOOLEAN);break;case 6:/{/.test(k)||/}/.test(k)||(k="Q{}"+k),/^Q{[^{}]*}[^{}]+$/.test(k)||f(n,"may only have value "+e.TYPE_QNAME)}r[n]=k}})}}return{OptionTypes:b,newCLOptions:function(c="HE"){let f=new g;a(f,c);return f}}}(),module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions={}; +module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions.CommandLine=CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions;const argv$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=process.argv;let finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!1,exitCode$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=0,failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!1,profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command; +function exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a=0){finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!0;a>exitCode$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command&&(exitCode$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=a,process.exitCode=a)} +function quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b=0){console.error(a);failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!0;exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b)} +function log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.saxonPrint(a)}function warn$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("*Warning*: "+a)} +function staticExceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return a instanceof SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XError?"Error "+a.code.replace(/^Q\{http:\/\/www.w3.org\/2005\/xqt-errors\}/,"")+(a.errorObject?a.errorObject.toString():"")+":\n "+a.message:a.hasOwnProperty("message")?a.message:a.toString()} +function exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return a instanceof SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XError?a.getMessage():a.hasOwnProperty("message")?a.message:a.toString()} +function hasArg$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return argv$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.includes(a)}const fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=require("fs"),{URL:URL$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command}=require("url"); +let extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={getTraceCodeInjector:function(){return null},getProfiler:function(){return null},registerExtensions:function(){}};"undefined"!==typeof Extensions&&(extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=Extensions);let RenderProfileSEF$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={}; +"undefined"!==typeof RenderProfile&&(RenderProfileSEF$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=RenderProfile.sef);let edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={getSaxonEdition:function(){return"HE"}};"undefined"!==typeof Edition&&(edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=Edition); +let SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=null;SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command="EE"===edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getSaxonEdition()?require(hasArg$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("-debug")?"./SaxonJS2N.debug.js":"saxon-js"):require("saxon-js"); +const platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getPlatform(); +function getParamsMap$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b={};a.filter(d=>!/^[-!]/.test(d)).forEach(function(d){const h=d.split("=");let [e,g]=h;1===h.length&&quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Missing '=' in parameter '"+d+"'",2);switch(e.charAt(0)){case "?":e=e.slice(1);try{g=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.evaluate(g, +null,{resultForm:"xdm"})}catch(c){throw c;}break;case "+":e=e.slice(1),g=getPathToFileSync$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g),fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.statSync(g).isDirectory()?quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g+" is a directory",2):g=[getXML$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g)]}/{/.test(e)|| +/}/.test(e)||(e="Q{}"+e);/^Q{[^{}]*}[^{}]+$/.test(e)||quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Invalid parameter key "+e,2);b[e]=g});return b} +function getXdmParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b=new SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XdmMap;for(const d in a){let h=a[d];Array.isArray(h)||(h=[SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XS.untypedAtomic.fromString(h)]);b.inSituPut(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XS.QName.fromEQName(d), +h)}return b}function getSerializationParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b={};a.filter(d=>d.startsWith("!")).forEach(function(d){d=d.split(/=/);let [h,e]=d;h=h.slice(1).replace(/^saxon:/,"Q{http://saxon.sf.net/}");b[h]=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.Serializer.validateParam(h,e)});return b} +function addParentPointers$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){a.C&&a.C.forEach(function(b){b.parentNode=a;addParentPointers$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b)})} +function checksum$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){function b(c,f){f<<=8;for(let l=0;le?4294967295+ +e+1:e).toString(16)}function TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(){}TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.prototype={stylesheetParams:{},templateParams:{},tunnelParams:{},functionParams:{},deliverResultDocument:void 0,stylesheetText:""}; +function invokeSEFTransform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){d.async=!0;const h=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.checkOptions(d);return b?SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getResource({file:b,type:"xml"}).catch(e=>Promise.reject(e)).then(e=>{SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.internalTransform(a, +e,h);return h.resultPromise}):Promise.reject(Error("Source filename missing"))} +function compileXSLT$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){let h=new TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command;h.destination="application";h.initialMode="compile-complete";h.templateParams={"Q{}options":{noXPath:!1}};for(let e in b)b.hasOwnProperty(e)&&(h.templateParams["Q{}options"][e]=b[e]);h.stylesheetParams=new SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XdmMap; +h.stylesheetParams.inSituPut(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XS.QName.fromParts("","","staticParameters"),[d]);b=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.resource("compiler");addParentPointers$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b);h.stylesheetInternal=b;return invokeSEFTransform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b, +a,h).then(e=>e.principalResult)}function getXML$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseXmlFromString(readFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a));b._saxonBaseUri=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a);return b} +function readFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){try{return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.readFileSync(a,"utf8")}catch(b){quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Unable to read "+a,2)}} +function getPathToFileSync$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.realpathSync(a)}function getPathToFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.promises.realpath(a)} +function filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.fileURL(a)} +function compile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d,h,e){return getPathToFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a.xsl).catch(g=>{g=g.message.replace("ENOENT: no such file or directory, realpath ","");return Promise.reject(new SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XError("Cannot locate stylesheet ("+g+")"))}).then(g=>{if(g.endsWith(".sef")|| +g.endsWith(".sef.json"))return d.stylesheetFileName=g,d;if(g.endsWith(".sef.xml")){let c,f=getXML$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g);try{c=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.sefToJSON(f.firstChild,!1)}catch(l){return Promise.reject(Error("Internal error: the intermediate XML form of the SEF file is invalid: "+l.message))}checksum$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(c); +d.stylesheetText=JSON.stringify(c);return d}a.t&&console.error("Compiling stylesheet "+g);return compileXSLT$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g,b,h).catch(c=>{console.error(staticExceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(c));return Promise.reject(Error("Failed to compile stylesheet"))}).then(c=>{Array.isArray(c)&&(c=c[0]);let f;try{f=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.sefToJSON(c.firstChild, +!1)}catch(l){return Promise.reject(Error("Internal error: the intermediate XML form of the SEF file is invalid: "+l.message))}checksum$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(f);d.stylesheetText=JSON.stringify(f);d.stylesheetBaseURI=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g);return d})})} +function executeTransformation$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){const h=process.hrtime();if(a.o){var e=a.o;try{fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.realpathSync(e)}catch(g){platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.writeFileSync(new URL$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e)), +"")}b.baseOutputURI=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e);b.destination="file"}else b.destination="stdout",b.baseOutputURI=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.baseURL();d&&(b.logLevel=2);a.T&&(b.traceInjector=extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getTraceCodeInjector(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command, +a.T));a.TP&&(profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getProfiler(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command),b.traceInjector=profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.injector);a.s&&(e=a.s,/^(http:|https:|file:)/.test(e)?b.sourceLocation=e:b.sourceFileName= +filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e).toString());a.json&&(a.s&&quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Cannot supply both -s and -json",2),e=a.json,/^(http:|https:|file:)/.test(e)?b.sourceLocation=e:b.sourceFileName=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e).toString(),b.sourceType="json");a.it&&(d&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Initial template: "+ +a.it),b.initialTemplate=a.it);a.im&&(d&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Initial mode: "+a.im),b.initialMode=a.im);d&&a.o&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Writing to "+filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a.o));return SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.transform(b,"async").then(()=> +{if(d){var g=process.hrtime(h);console.warn("\nExecution time: %d.%ds",g[0],Math.floor(g[1]/1E6));g=process.memoryUsage().heapUsed/1024/1024;console.warn(`Memory used: ${Math.round(100*g)/100}Mb`)}})} +function main$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(){var a=argv$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.slice(2);let b=CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions.newCLOptions(edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getSaxonEdition());try{b.setActualOptions(a)}catch(g){quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g), +2)}if(!finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command&&!failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command){var d=b.actualOptions,h=b.extraOptions,e=new TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command;a.forEach(g=>{finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command||/[=-]/g.test(g)||badUsage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Invalid command line input: "+ +g)});if(!finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command)try{const g=getParamsMap$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a),c=getSerializationParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a);if(d["?"])badUsage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("");else{const f=d.t,l=d.ns,r=d.relocate,t=d.tp,m=d.co;if(f){const k= +SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getProcessorInfo();log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(k.productName+" "+k.productVersion+" from Saxonica ");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Node.js version "+process.version)}if(d.xsl||d.xp)if(extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.registerExtensions(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command), +d.xsl){const k=getXdmParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g);a={traceProgress:!!t,timing:!!f};a.extraOptions=h;a.relocatable=!!r;l&&(a.ns=l);m&&(a[m]=!0);let n=compile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d,a,e,k,c);d["export"]&&(n=n.then(p=>platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.writeFileAsync(new URL$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d["export"])), +p.stylesheetText,"utf8")).then(()=>getPathToFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d["export"]).then(p=>{f&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Stylesheet exported to SEF file "+p)})));let q=n.then(()=>{d.nogo&&exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command()});if(!d.nogo){if(d.master)try{const p=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.readFile(d.master), +u=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseXmlFromString(p);e.masterDocument=u}catch(p){return log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Failed while reading and parsing master document "+d.master),Promise.reject(p)}q=q.then(()=>{e.stylesheetParams=k;e.outputProperties=c;e.extraOptions=h;return executeTransformation$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d, +e,f)}).then(()=>{f&&!failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Transformation complete ")})}q=q.catch(p=>quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(p),2));e.masterDocument&&(q=q.then(()=>{if(failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command)return Promise.reject("Transformation failed"); +const p=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.serialize(e.masterDocument,{method:"xml"});return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.promises.writeFile(d.master,p)}));d.TP&&(q=q.then(()=>{const p=d.TP,u=profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.report();return SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.transform({stylesheetText:JSON.stringify(RenderProfileSEF$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command), +stylesheetParams:{"Q{}metrics":JSON.stringify(u)},destination:"file",baseOutputURI:filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(p),outputProps:{method:"html",indent:!0}},"async").catch(v=>Promise.reject(v))}).catch(p=>Promise.reject(p)));q.finally(()=>{exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command()}).catch(p=>{quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(p), +1)})}else executeXPath$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d,g,c),exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command();else quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Saxon requires a stylesheet as -xsl: argument",2)}}catch(g){quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g), +2)}}} +function executeXPath$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){if("s"in a||"json"in a){const h=a.s||a.json;let e={};/^(http:|https:|file:)/.test(h)?e.location=h:e.file=h;platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.resourcePromise(e).then(g=>{g="s"in a?platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseXmlFromString(g):platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseJsonFromString(g);executeXPathOverData$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g, +a,b,d)}).catch(g=>{console.error(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g));exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(1)})}else try{executeXPathOverData$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(null,a,b,d)}catch(h){console.error(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(h)),exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(1)}} +function executeXPathOverData$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d,h){const e=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.baseURL();a=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.evaluate(b.xp,a,{resultForm:"xdm",params:d,staticBaseURI:e});d={method:"adaptive"};for(const g in h)d[g]=h[g];h=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.serialize(a, +d);"o"in b?(b=fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.openSync(b.o,"w"),fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.writeSync(b,h,0,"utf-8"),fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.closeSync(b)):process.stdout.write(h)} +function badUsage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){""!==a&&console.error(a);log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Usage: see http://www.saxonica.com/saxon-js/documentation/index.html#!nodejs/command-line");let b=CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions.newCLOptions();log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Options available:"+ +b.displayPermittedOptions());log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Use -XYZ:? for details of option XYZ");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Params: ");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" param=value Set stylesheet string parameter");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" +param=filename Set stylesheet document parameter"); +log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" ?param=expression Set stylesheet parameter using XPath");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" !param=value Set serialization parameter");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" (bindings and values containing punctuation may need to be quoted in some command shells,");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(' e.g. in PowerShell: "{NS}key=val" ?range="1 to 20" )'); +""===a?exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command():exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(2)}main$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command();(function wait(){finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command||setTimeout(wait,100)})(); +var module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={};}).call(this); + diff --git a/Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.min.js b/Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.min.js new file mode 100644 index 0000000..704c5d3 --- /dev/null +++ b/Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.min.js @@ -0,0 +1,75 @@ +/** + * Skipped minification because the original files appears to be already minified. + * Original file: /npm/xslt3@2.7.0/xslt3.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +#!/usr/bin/env node + (function(){var CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions=function(){function a(c,f="HE"){c.addRecognizedOption("co",b.TYPE_ENUMERATION|b.VALUE_REQUIRED,"Set compiler option");c.setPermittedValues("co","justStatic justNormalize noXPath noBindings timing traceProgress enableAssertions internalCompile".split(" "),null);c.addRecognizedOption("tp",b.TYPE_BOOLEAN,"Trace compiler progress");c.addRecognizedOption("export",b.TYPE_FILENAME|b.VALUE_REQUIRED, +"Export the compiled stylesheet");c.addRecognizedOption("im",b.TYPE_QNAME|b.VALUE_REQUIRED,"Name of initial mode");c.addRecognizedOption("it",b.TYPE_QNAME,"Name of initial template");c.setPermittedValues("it",[],"Q{http://www.w3.org/1999/XSL/Transform}initial-template");c.addRecognizedOption("json",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Source file for primary JSON input");c.addRecognizedOption("master",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Master document for in-situ update");c.addRecognizedOption("nogo", +b.TYPE_BOOLEAN,"Compile only, no evaluation");c.addRecognizedOption("ns",b.TYPE_ENUMERATION|b.VALUE_REQUIRED,"Default namespace for element names");c.setPermittedValues("ns",["##html5"],null);c.addRecognizedOption("o",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Destination file for primary output");c.addRecognizedOption("relocate",b.TYPE_BOOLEAN,"Produce relocatable packages");c.addRecognizedOption("s",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Source file for primary XML input");c.addRecognizedOption("t",b.TYPE_BOOLEAN, +"Display version and timing information, and names of output files");c.addRecognizedOption("xp",b.TYPE_STRING,"XPath expression");c.addRecognizedOption("xsl",b.TYPE_FILENAME,"Main stylesheet file (XSLT or SEF)");c.addRecognizedOption("?",b.TYPE_BOOLEAN|b.VALUE_PROHIBITED,"Display command line help text");"EE"===f&&(c.addRecognizedOption("debug",b.TYPE_BOOLEAN,"Use diagnostic version of SaxonJS 2"),c.addRecognizedOption("T",b.TYPE_ENUMERATION,"Trace execution"),c.setPermittedValues("T",["none","low", +"normal","high"],"low"),c.addRecognizedOption("TP",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Write timing profile to specified output file"))}const b={TYPE_BOOLEAN:1,TYPE_FILENAME:2,TYPE_ENUMERATION:4,TYPE_INTEGER:5,TYPE_QNAME:6,TYPE_FILENAME_LIST:7,TYPE_DATETIME:8,TYPE_STRING:9,TYPE_INTEGER_PAIR:10,VALUE_REQUIRED:256,VALUE_PROHIBITED:512},d=["on","yes","true","1"],h=["off","no","false","0"];let e={TYPE_BOOLEAN:d.concat(h).join("|"),TYPE_FILENAME:"file name",TYPE_ENUMERATION:4,TYPE_INTEGER:"integer",TYPE_QNAME:"QName in URI qualified name form (Q{uri}local)", +TYPE_FILENAME_LIST:"list of file names, semicolon-separated",TYPE_DATETIME:"dateTime in ??? format",TYPE_STRING:"string",TYPE_INTEGER_PAIR:"int,int"};for(let c in b)e[b[c]]=e[c];class g{constructor(){this._recognized={};this.actualOptions={};this.extraOptions={}}addRecognizedOption(c,f,l){this._recognized[c]={type:f&255,required:f&768,help:l}}setPermittedValues(c,f,l){let r=this._recognized[c];r?(r.values=f,r.defaultValue=l):console.log("setPermittedValues - no record yet for option:",c)}displayPermittedOptions(){let c= +[];for(let f in this._recognized)c.push(f);c.sort((f,l)=>{f=f.toLowerCase();l=l.toLowerCase();return f" -"+f);return c.join()}setActualOptions(c){function f(m,k){throw Error("Command line option -"+m+" "+k);}const l=this._recognized;let r=this.actualOptions,t=this.extraOptions;c.filter(m=>m.startsWith("-")).forEach(function(m){var k=m.indexOf(":"),n=0>k?m.substring(1):m.substring(1,k);k=0>k?"":m.substring(k+1);if(m.startsWith("--"))t[n.substring(1)]=k;else{(m=l[n])||f(n, +"is not recognized");if("?"===k)throw n="Help for -"+n+" option:\nValue: "+(4==m.type?m.values.join("|"):e[m.type]),n+="\nMeaning: "+m.help,Error(n+"\n\nNo processing requested");256===m.required&&""===k&&f(n,"requires a value");512===m.required&&""!==k&&f(n,"must not have a value");""===k&&(k=m.defaultValue||"");switch(m.type){case 4:k&&-1===m.values.indexOf(k)&&f(n,"may only have values "+m.values.join("|"));break;case 5:/[0-9]+/.test(k)||f(n,"may only have value "+e.TYPE_INTEGER);k=parseInt(k, +10);break;case 1:0<=d.indexOf(k)?k=!0:0<=h.indexOf(k)?k=!1:""===k?k=!0:f(n,"may only have a boolean value "+e.TYPE_BOOLEAN);break;case 6:/{/.test(k)||/}/.test(k)||(k="Q{}"+k),/^Q{[^{}]*}[^{}]+$/.test(k)||f(n,"may only have value "+e.TYPE_QNAME)}r[n]=k}})}}return{OptionTypes:b,newCLOptions:function(c="HE"){let f=new g;a(f,c);return f}}}(),module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions={}; +module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions.CommandLine=CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions;const argv$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=process.argv;let finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!1,exitCode$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=0,failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!1,profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command; +function exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a=0){finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!0;a>exitCode$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command&&(exitCode$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=a,process.exitCode=a)} +function quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b=0){console.error(a);failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!0;exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b)} +function log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.saxonPrint(a)}function warn$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("*Warning*: "+a)} +function staticExceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return a instanceof SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XError?"Error "+a.code.replace(/^Q\{http:\/\/www.w3.org\/2005\/xqt-errors\}/,"")+(a.errorObject?a.errorObject.toString():"")+":\n "+a.message:a.hasOwnProperty("message")?a.message:a.toString()} +function exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return a instanceof SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XError?a.getMessage():a.hasOwnProperty("message")?a.message:a.toString()} +function hasArg$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return argv$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.includes(a)}const fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=require("fs"),{URL:URL$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command}=require("url"); +let extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={getTraceCodeInjector:function(){return null},getProfiler:function(){return null},registerExtensions:function(){}};"undefined"!==typeof Extensions&&(extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=Extensions);let RenderProfileSEF$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={}; +"undefined"!==typeof RenderProfile&&(RenderProfileSEF$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=RenderProfile.sef);let edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={getSaxonEdition:function(){return"HE"}};"undefined"!==typeof Edition&&(edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=Edition); +let SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=null;SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command="EE"===edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getSaxonEdition()?require(hasArg$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("-debug")?"./SaxonJS2N.debug.js":"saxon-js"):require("saxon-js"); +const platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getPlatform(); +function getParamsMap$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b={};a.filter(d=>!/^[-!]/.test(d)).forEach(function(d){const h=d.split("=");let [e,g]=h;1===h.length&&quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Missing '=' in parameter '"+d+"'",2);switch(e.charAt(0)){case "?":e=e.slice(1);try{g=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.evaluate(g, +null,{resultForm:"xdm"})}catch(c){throw c;}break;case "+":e=e.slice(1),g=getPathToFileSync$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g),fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.statSync(g).isDirectory()?quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g+" is a directory",2):g=[getXML$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g)]}/{/.test(e)|| +/}/.test(e)||(e="Q{}"+e);/^Q{[^{}]*}[^{}]+$/.test(e)||quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Invalid parameter key "+e,2);b[e]=g});return b} +function getXdmParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b=new SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XdmMap;for(const d in a){let h=a[d];Array.isArray(h)||(h=[SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XS.untypedAtomic.fromString(h)]);b.inSituPut(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XS.QName.fromEQName(d), +h)}return b}function getSerializationParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b={};a.filter(d=>d.startsWith("!")).forEach(function(d){d=d.split(/=/);let [h,e]=d;h=h.slice(1).replace(/^saxon:/,"Q{http://saxon.sf.net/}");b[h]=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.Serializer.validateParam(h,e)});return b} +function addParentPointers$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){a.C&&a.C.forEach(function(b){b.parentNode=a;addParentPointers$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b)})} +function checksum$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){function b(c,f){f<<=8;for(let l=0;le?4294967295+ +e+1:e).toString(16)}function TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(){}TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.prototype={stylesheetParams:{},templateParams:{},tunnelParams:{},functionParams:{},deliverResultDocument:void 0,stylesheetText:""}; +function invokeSEFTransform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){d.async=!0;const h=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.checkOptions(d);return b?SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getResource({file:b,type:"xml"}).catch(e=>Promise.reject(e)).then(e=>{SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.internalTransform(a, +e,h);return h.resultPromise}):Promise.reject(Error("Source filename missing"))} +function compileXSLT$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){let h=new TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command;h.destination="application";h.initialMode="compile-complete";h.templateParams={"Q{}options":{noXPath:!1}};for(let e in b)b.hasOwnProperty(e)&&(h.templateParams["Q{}options"][e]=b[e]);h.stylesheetParams=new SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XdmMap; +h.stylesheetParams.inSituPut(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XS.QName.fromParts("","","staticParameters"),[d]);b=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.resource("compiler");addParentPointers$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b);h.stylesheetInternal=b;return invokeSEFTransform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b, +a,h).then(e=>e.principalResult)}function getXML$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseXmlFromString(readFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a));b._saxonBaseUri=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a);return b} +function readFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){try{return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.readFileSync(a,"utf8")}catch(b){quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Unable to read "+a,2)}} +function getPathToFileSync$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.realpathSync(a)}function getPathToFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.promises.realpath(a)} +function filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.fileURL(a)} +function compile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d,h,e){return getPathToFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a.xsl).catch(g=>{g=g.message.replace("ENOENT: no such file or directory, realpath ","");return Promise.reject(new SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XError("Cannot locate stylesheet ("+g+")"))}).then(g=>{if(g.endsWith(".sef")|| +g.endsWith(".sef.json"))return d.stylesheetFileName=g,d;if(g.endsWith(".sef.xml")){let c,f=getXML$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g);try{c=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.sefToJSON(f.firstChild,!1)}catch(l){return Promise.reject(Error("Internal error: the intermediate XML form of the SEF file is invalid: "+l.message))}checksum$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(c); +d.stylesheetText=JSON.stringify(c);return d}a.t&&console.error("Compiling stylesheet "+g);return compileXSLT$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g,b,h).catch(c=>{console.error(staticExceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(c));return Promise.reject(Error("Failed to compile stylesheet"))}).then(c=>{Array.isArray(c)&&(c=c[0]);let f;try{f=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.sefToJSON(c.firstChild, +!1)}catch(l){return Promise.reject(Error("Internal error: the intermediate XML form of the SEF file is invalid: "+l.message))}checksum$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(f);d.stylesheetText=JSON.stringify(f);d.stylesheetBaseURI=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g);return d})})} +function executeTransformation$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){const h=process.hrtime();if(a.o){var e=a.o;try{fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.realpathSync(e)}catch(g){platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.writeFileSync(new URL$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e)), +"")}b.baseOutputURI=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e);b.destination="file"}else b.destination="stdout",b.baseOutputURI=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.baseURL();d&&(b.logLevel=2);a.T&&(b.traceInjector=extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getTraceCodeInjector(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command, +a.T));a.TP&&(profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getProfiler(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command),b.traceInjector=profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.injector);a.s&&(e=a.s,/^(http:|https:|file:)/.test(e)?b.sourceLocation=e:b.sourceFileName= +filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e).toString());a.json&&(a.s&&quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Cannot supply both -s and -json",2),e=a.json,/^(http:|https:|file:)/.test(e)?b.sourceLocation=e:b.sourceFileName=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e).toString(),b.sourceType="json");a.it&&(d&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Initial template: "+ +a.it),b.initialTemplate=a.it);a.im&&(d&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Initial mode: "+a.im),b.initialMode=a.im);d&&a.o&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Writing to "+filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a.o));return SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.transform(b,"async").then(()=> +{if(d){var g=process.hrtime(h);console.warn("\nExecution time: %d.%ds",g[0],Math.floor(g[1]/1E6));g=process.memoryUsage().heapUsed/1024/1024;console.warn(`Memory used: ${Math.round(100*g)/100}Mb`)}})} +function main$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(){var a=argv$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.slice(2);let b=CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions.newCLOptions(edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getSaxonEdition());try{b.setActualOptions(a)}catch(g){quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g), +2)}if(!finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command&&!failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command){var d=b.actualOptions,h=b.extraOptions,e=new TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command;a.forEach(g=>{finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command||/[=-]/g.test(g)||badUsage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Invalid command line input: "+ +g)});if(!finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command)try{const g=getParamsMap$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a),c=getSerializationParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a);if(d["?"])badUsage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("");else{const f=d.t,l=d.ns,r=d.relocate,t=d.tp,m=d.co;if(f){const k= +SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getProcessorInfo();log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(k.productName+" "+k.productVersion+" from Saxonica ");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Node.js version "+process.version)}if(d.xsl||d.xp)if(extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.registerExtensions(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command), +d.xsl){const k=getXdmParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g);a={traceProgress:!!t,timing:!!f};a.extraOptions=h;a.relocatable=!!r;l&&(a.ns=l);m&&(a[m]=!0);let n=compile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d,a,e,k,c);d["export"]&&(n=n.then(p=>platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.writeFileAsync(new URL$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d["export"])), +p.stylesheetText,"utf8")).then(()=>getPathToFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d["export"]).then(p=>{f&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Stylesheet exported to SEF file "+p)})));let q=n.then(()=>{d.nogo&&exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command()});if(!d.nogo){if(d.master)try{const p=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.readFile(d.master), +u=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseXmlFromString(p);e.masterDocument=u}catch(p){return log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Failed while reading and parsing master document "+d.master),Promise.reject(p)}q=q.then(()=>{e.stylesheetParams=k;e.outputProperties=c;e.extraOptions=h;return executeTransformation$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d, +e,f)}).then(()=>{f&&!failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Transformation complete ")})}q=q.catch(p=>quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(p),2));e.masterDocument&&(q=q.then(()=>{if(failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command)return Promise.reject("Transformation failed"); +const p=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.serialize(e.masterDocument,{method:"xml"});return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.promises.writeFile(d.master,p)}));d.TP&&(q=q.then(()=>{const p=d.TP,u=profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.report();return SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.transform({stylesheetText:JSON.stringify(RenderProfileSEF$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command), +stylesheetParams:{"Q{}metrics":JSON.stringify(u)},destination:"file",baseOutputURI:filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(p),outputProps:{method:"html",indent:!0}},"async").catch(v=>Promise.reject(v))}).catch(p=>Promise.reject(p)));q.finally(()=>{exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command()}).catch(p=>{quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(p), +1)})}else executeXPath$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d,g,c),exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command();else quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Saxon requires a stylesheet as -xsl: argument",2)}}catch(g){quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g), +2)}}} +function executeXPath$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){if("s"in a||"json"in a){const h=a.s||a.json;let e={};/^(http:|https:|file:)/.test(h)?e.location=h:e.file=h;platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.resourcePromise(e).then(g=>{g="s"in a?platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseXmlFromString(g):platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseJsonFromString(g);executeXPathOverData$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g, +a,b,d)}).catch(g=>{console.error(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g));exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(1)})}else try{executeXPathOverData$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(null,a,b,d)}catch(h){console.error(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(h)),exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(1)}} +function executeXPathOverData$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d,h){const e=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.baseURL();a=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.evaluate(b.xp,a,{resultForm:"xdm",params:d,staticBaseURI:e});d={method:"adaptive"};for(const g in h)d[g]=h[g];h=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.serialize(a, +d);"o"in b?(b=fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.openSync(b.o,"w"),fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.writeSync(b,h,0,"utf-8"),fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.closeSync(b)):process.stdout.write(h)} +function badUsage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){""!==a&&console.error(a);log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Usage: see http://www.saxonica.com/saxon-js/documentation/index.html#!nodejs/command-line");let b=CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions.newCLOptions();log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Options available:"+ +b.displayPermittedOptions());log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Use -XYZ:? for details of option XYZ");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Params: ");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" param=value Set stylesheet string parameter");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" +param=filename Set stylesheet document parameter"); +log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" ?param=expression Set stylesheet parameter using XPath");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" !param=value Set serialization parameter");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" (bindings and values containing punctuation may need to be quoted in some command shells,");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(' e.g. in PowerShell: "{NS}key=val" ?range="1 to 20" )'); +""===a?exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command():exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(2)}main$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command();(function wait(){finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command||setTimeout(wait,100)})(); +var module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={};}).call(this); + From 2508952aaf83b262a9f3a5d2ba50dcca9ee18ff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Wed, 15 Jul 2026 17:52:49 +0200 Subject: [PATCH 47/61] revert --- .gitignore | 2 +- .../node_modules/agent-base/LICENSE | 22 - .../node_modules/agent-base/README.md | 69 - .../node_modules/agent-base/dist/helpers.d.ts | 10 - .../agent-base/dist/helpers.d.ts.map | 1 - .../node_modules/agent-base/dist/helpers.js | 37 - .../agent-base/dist/helpers.js.map | 1 - .../agent-base/dist/helpers.min.js | 8 - .../node_modules/agent-base/dist/index.d.ts | 37 - .../agent-base/dist/index.d.ts.map | 1 - .../node_modules/agent-base/dist/index.js | 146 - .../node_modules/agent-base/dist/index.js.map | 1 - .../node_modules/agent-base/dist/index.min.js | 8 - .../node_modules/agent-base/package.json | 46 - .../node_modules/asynckit/LICENSE | 21 - .../node_modules/asynckit/README.md | 227 - .../node_modules/asynckit/bench.js | 76 - .../node_modules/asynckit/bench.min.js | 8 - .../node_modules/asynckit/index.js | 6 - .../node_modules/asynckit/index.min.js | 8 - .../node_modules/asynckit/lib/abort.js | 29 - .../node_modules/asynckit/lib/abort.min.js | 8 - .../node_modules/asynckit/lib/async.js | 34 - .../node_modules/asynckit/lib/async.min.js | 8 - .../node_modules/asynckit/lib/defer.js | 26 - .../node_modules/asynckit/lib/defer.min.js | 8 - .../node_modules/asynckit/lib/iterate.js | 75 - .../node_modules/asynckit/lib/iterate.min.js | 8 - .../asynckit/lib/readable_asynckit.js | 91 - .../asynckit/lib/readable_asynckit.min.js | 8 - .../asynckit/lib/readable_parallel.js | 25 - .../asynckit/lib/readable_parallel.min.js | 8 - .../asynckit/lib/readable_serial.js | 25 - .../asynckit/lib/readable_serial.min.js | 8 - .../asynckit/lib/readable_serial_ordered.js | 29 - .../lib/readable_serial_ordered.min.js | 8 - .../node_modules/asynckit/lib/state.js | 37 - .../node_modules/asynckit/lib/state.min.js | 8 - .../node_modules/asynckit/lib/streamify.js | 141 - .../asynckit/lib/streamify.min.js | 8 - .../node_modules/asynckit/lib/terminator.js | 29 - .../asynckit/lib/terminator.min.js | 8 - .../node_modules/asynckit/package.json | 64 - .../node_modules/asynckit/parallel.js | 43 - .../node_modules/asynckit/parallel.min.js | 8 - .../node_modules/asynckit/serial.js | 17 - .../node_modules/asynckit/serial.min.js | 8 - .../node_modules/asynckit/serialOrdered.js | 75 - .../asynckit/serialOrdered.min.js | 8 - .../node_modules/asynckit/stream.js | 21 - .../node_modules/asynckit/stream.min.js | 8 - .../node_modules/axios/CHANGELOG.md | 1872 ---- .../node_modules/axios/LICENSE | 7 - .../node_modules/axios/MIGRATION_GUIDE.md | 877 -- .../node_modules/axios/README.md | 2559 ----- .../node_modules/axios/dist/axios.js | 5249 --------- .../node_modules/axios/dist/axios.min.js | 5 - .../node_modules/axios/dist/axios.min.js.map | 1 - .../node_modules/axios/dist/browser/axios.cjs | 5146 --------- .../node_modules/axios/dist/esm/axios.js | 5167 --------- .../node_modules/axios/dist/esm/axios.min.js | 3 - .../axios/dist/esm/axios.min.js.map | 1 - .../node_modules/axios/dist/node/axios.cjs | 5996 ----------- .../node_modules/axios/index.d.cts | 738 -- .../node_modules/axios/index.d.ts | 755 -- .../node_modules/axios/index.js | 45 - .../node_modules/axios/index.min.js | 8 - .../node_modules/axios/lib/adapters/README.md | 36 - .../axios/lib/adapters/adapters.js | 132 - .../axios/lib/adapters/adapters.min.js | 8 - .../node_modules/axios/lib/adapters/fetch.js | 643 -- .../axios/lib/adapters/fetch.min.js | 8 - .../node_modules/axios/lib/adapters/http.js | 1417 --- .../axios/lib/adapters/http.min.js | 8 - .../node_modules/axios/lib/adapters/xhr.js | 228 - .../axios/lib/adapters/xhr.min.js | 8 - .../node_modules/axios/lib/axios.js | 89 - .../node_modules/axios/lib/axios.min.js | 8 - .../axios/lib/cancel/CancelToken.js | 135 - .../axios/lib/cancel/CancelToken.min.js | 8 - .../axios/lib/cancel/CanceledError.js | 22 - .../axios/lib/cancel/CanceledError.min.js | 8 - .../node_modules/axios/lib/cancel/isCancel.js | 5 - .../axios/lib/cancel/isCancel.min.js | 8 - .../node_modules/axios/lib/core/Axios.js | 283 - .../node_modules/axios/lib/core/Axios.min.js | 8 - .../node_modules/axios/lib/core/AxiosError.js | 188 - .../axios/lib/core/AxiosError.min.js | 8 - .../axios/lib/core/AxiosHeaders.js | 351 - .../axios/lib/core/AxiosHeaders.min.js | 8 - .../axios/lib/core/InterceptorManager.js | 72 - .../axios/lib/core/InterceptorManager.min.js | 8 - .../node_modules/axios/lib/core/README.md | 8 - .../axios/lib/core/buildFullPath.js | 50 - .../axios/lib/core/buildFullPath.min.js | 8 - .../axios/lib/core/dispatchRequest.js | 89 - .../axios/lib/core/dispatchRequest.min.js | 8 - .../axios/lib/core/mergeConfig.js | 159 - .../axios/lib/core/mergeConfig.min.js | 8 - .../node_modules/axios/lib/core/settle.js | 27 - .../node_modules/axios/lib/core/settle.min.js | 8 - .../axios/lib/core/transformData.js | 28 - .../axios/lib/core/transformData.min.js | 8 - .../node_modules/axios/lib/defaults/index.js | 177 - .../axios/lib/defaults/index.min.js | 8 - .../axios/lib/defaults/transitional.js | 10 - .../axios/lib/defaults/transitional.min.js | 8 - .../node_modules/axios/lib/env/README.md | 3 - .../axios/lib/env/classes/FormData.js | 2 - .../axios/lib/env/classes/FormData.min.js | 8 - .../node_modules/axios/lib/env/data.js | 1 - .../node_modules/axios/lib/env/data.min.js | 7 - .../axios/lib/helpers/AxiosTransformStream.js | 156 - .../lib/helpers/AxiosTransformStream.min.js | 8 - .../axios/lib/helpers/AxiosURLSearchParams.js | 59 - .../lib/helpers/AxiosURLSearchParams.min.js | 8 - .../axios/lib/helpers/Http2Sessions.js | 119 - .../axios/lib/helpers/Http2Sessions.min.js | 8 - .../axios/lib/helpers/HttpStatusCode.js | 77 - .../axios/lib/helpers/HttpStatusCode.min.js | 8 - .../node_modules/axios/lib/helpers/README.md | 7 - .../lib/helpers/ZlibHeaderTransformStream.js | 29 - .../helpers/ZlibHeaderTransformStream.min.js | 8 - .../node_modules/axios/lib/helpers/bind.js | 14 - .../axios/lib/helpers/bind.min.js | 8 - .../axios/lib/helpers/buildURL.js | 69 - .../axios/lib/helpers/buildURL.min.js | 8 - .../axios/lib/helpers/callbackify.js | 18 - .../axios/lib/helpers/callbackify.min.js | 8 - .../axios/lib/helpers/combineURLs.js | 15 - .../axios/lib/helpers/combineURLs.min.js | 8 - .../axios/lib/helpers/composeSignals.js | 57 - .../axios/lib/helpers/composeSignals.min.js | 8 - .../node_modules/axios/lib/helpers/cookies.js | 64 - .../axios/lib/helpers/cookies.min.js | 8 - .../axios/lib/helpers/deprecatedMethod.js | 31 - .../axios/lib/helpers/deprecatedMethod.min.js | 8 - .../helpers/estimateDataURLDecodedBytes.js | 105 - .../estimateDataURLDecodedBytes.min.js | 8 - .../axios/lib/helpers/formDataToJSON.js | 119 - .../axios/lib/helpers/formDataToJSON.min.js | 8 - .../axios/lib/helpers/formDataToStream.js | 119 - .../axios/lib/helpers/formDataToStream.min.js | 8 - .../axios/lib/helpers/fromDataURI.js | 68 - .../axios/lib/helpers/fromDataURI.min.js | 8 - .../axios/lib/helpers/isAbsoluteURL.js | 19 - .../axios/lib/helpers/isAbsoluteURL.min.js | 8 - .../axios/lib/helpers/isAxiosError.js | 14 - .../axios/lib/helpers/isAxiosError.min.js | 8 - .../axios/lib/helpers/isURLSameOrigin.js | 16 - .../axios/lib/helpers/isURLSameOrigin.min.js | 8 - .../node_modules/axios/lib/helpers/null.js | 2 - .../axios/lib/helpers/null.min.js | 8 - .../axios/lib/helpers/parseHeaders.js | 69 - .../axios/lib/helpers/parseHeaders.min.js | 8 - .../axios/lib/helpers/parseProtocol.js | 6 - .../axios/lib/helpers/parseProtocol.min.js | 8 - .../axios/lib/helpers/progressEventReducer.js | 54 - .../lib/helpers/progressEventReducer.min.js | 8 - .../axios/lib/helpers/readBlob.js | 15 - .../axios/lib/helpers/readBlob.min.js | 8 - .../axios/lib/helpers/resolveConfig.js | 119 - .../axios/lib/helpers/resolveConfig.min.js | 8 - .../axios/lib/helpers/sanitizeHeaderValue.js | 60 - .../lib/helpers/sanitizeHeaderValue.min.js | 8 - .../axios/lib/helpers/shouldBypassProxy.js | 210 - .../lib/helpers/shouldBypassProxy.min.js | 8 - .../axios/lib/helpers/speedometer.js | 55 - .../axios/lib/helpers/speedometer.min.js | 8 - .../node_modules/axios/lib/helpers/spread.js | 28 - .../axios/lib/helpers/spread.min.js | 8 - .../axios/lib/helpers/throttle.js | 44 - .../axios/lib/helpers/throttle.min.js | 8 - .../axios/lib/helpers/toFormData.js | 285 - .../axios/lib/helpers/toFormData.min.js | 8 - .../axios/lib/helpers/toURLEncodedForm.js | 19 - .../axios/lib/helpers/toURLEncodedForm.min.js | 8 - .../axios/lib/helpers/trackStream.js | 89 - .../axios/lib/helpers/trackStream.min.js | 8 - .../axios/lib/helpers/validator.js | 112 - .../axios/lib/helpers/validator.min.js | 8 - .../lib/platform/browser/classes/Blob.js | 3 - .../lib/platform/browser/classes/Blob.min.js | 8 - .../lib/platform/browser/classes/FormData.js | 3 - .../platform/browser/classes/FormData.min.js | 8 - .../browser/classes/URLSearchParams.js | 4 - .../browser/classes/URLSearchParams.min.js | 8 - .../axios/lib/platform/browser/index.js | 13 - .../axios/lib/platform/browser/index.min.js | 8 - .../axios/lib/platform/common/utils.js | 52 - .../axios/lib/platform/common/utils.min.js | 8 - .../node_modules/axios/lib/platform/index.js | 7 - .../axios/lib/platform/index.min.js | 8 - .../lib/platform/node/classes/FormData.js | 3 - .../lib/platform/node/classes/FormData.min.js | 8 - .../platform/node/classes/URLSearchParams.js | 4 - .../node/classes/URLSearchParams.min.js | 8 - .../axios/lib/platform/node/index.js | 37 - .../axios/lib/platform/node/index.min.js | 8 - .../node_modules/axios/lib/utils.js | 1017 -- .../node_modules/axios/lib/utils.min.js | 8 - .../node_modules/axios/package.json | 201 - .../call-bind-apply-helpers/CHANGELOG.md | 30 - .../call-bind-apply-helpers/LICENSE | 21 - .../call-bind-apply-helpers/README.md | 62 - .../call-bind-apply-helpers/actualApply.d.ts | 1 - .../call-bind-apply-helpers/actualApply.js | 10 - .../actualApply.min.js | 8 - .../call-bind-apply-helpers/applyBind.d.ts | 19 - .../call-bind-apply-helpers/applyBind.js | 10 - .../call-bind-apply-helpers/applyBind.min.js | 8 - .../functionApply.d.ts | 1 - .../call-bind-apply-helpers/functionApply.js | 4 - .../functionApply.min.js | 8 - .../call-bind-apply-helpers/functionCall.d.ts | 1 - .../call-bind-apply-helpers/functionCall.js | 4 - .../functionCall.min.js | 8 - .../call-bind-apply-helpers/index.d.ts | 64 - .../call-bind-apply-helpers/index.js | 15 - .../call-bind-apply-helpers/index.min.js | 8 - .../call-bind-apply-helpers/package.json | 85 - .../call-bind-apply-helpers/reflectApply.d.ts | 3 - .../call-bind-apply-helpers/reflectApply.js | 4 - .../reflectApply.min.js | 8 - .../call-bind-apply-helpers/test/index.js | 63 - .../call-bind-apply-helpers/test/index.min.js | 8 - .../call-bind-apply-helpers/tsconfig.json | 9 - .../node_modules/combined-stream/License | 19 - .../node_modules/combined-stream/Readme.md | 138 - .../combined-stream/lib/combined_stream.js | 208 - .../lib/combined_stream.min.js | 8 - .../node_modules/combined-stream/package.json | 25 - .../node_modules/combined-stream/yarn.lock | 17 - .../node_modules/debug/LICENSE | 20 - .../node_modules/debug/README.md | 481 - .../node_modules/debug/package.json | 64 - .../node_modules/debug/src/browser.js | 272 - .../node_modules/debug/src/browser.min.js | 8 - .../node_modules/debug/src/common.js | 292 - .../node_modules/debug/src/common.min.js | 8 - .../node_modules/debug/src/index.js | 10 - .../node_modules/debug/src/index.min.js | 8 - .../node_modules/debug/src/node.js | 263 - .../node_modules/debug/src/node.min.js | 8 - .../node_modules/delayed-stream/License | 19 - .../node_modules/delayed-stream/Makefile | 7 - .../node_modules/delayed-stream/Readme.md | 141 - .../delayed-stream/lib/delayed_stream.js | 107 - .../delayed-stream/lib/delayed_stream.min.js | 8 - .../node_modules/delayed-stream/package.json | 27 - .../node_modules/dunder-proto/CHANGELOG.md | 24 - .../node_modules/dunder-proto/LICENSE | 21 - .../node_modules/dunder-proto/README.md | 54 - .../node_modules/dunder-proto/get.d.ts | 5 - .../node_modules/dunder-proto/get.js | 30 - .../node_modules/dunder-proto/get.min.js | 8 - .../node_modules/dunder-proto/package.json | 76 - .../node_modules/dunder-proto/set.d.ts | 5 - .../node_modules/dunder-proto/set.js | 35 - .../node_modules/dunder-proto/set.min.js | 8 - .../node_modules/dunder-proto/test/get.js | 34 - .../node_modules/dunder-proto/test/get.min.js | 8 - .../node_modules/dunder-proto/test/index.js | 4 - .../dunder-proto/test/index.min.js | 8 - .../node_modules/dunder-proto/test/set.js | 50 - .../node_modules/dunder-proto/test/set.min.js | 8 - .../node_modules/dunder-proto/tsconfig.json | 9 - .../es-define-property/CHANGELOG.md | 29 - .../node_modules/es-define-property/LICENSE | 21 - .../node_modules/es-define-property/README.md | 49 - .../es-define-property/index.d.ts | 3 - .../node_modules/es-define-property/index.js | 14 - .../es-define-property/index.min.js | 8 - .../es-define-property/package.json | 81 - .../es-define-property/test/index.js | 56 - .../es-define-property/test/index.min.js | 8 - .../es-define-property/tsconfig.json | 10 - .../node_modules/es-errors/CHANGELOG.md | 40 - .../node_modules/es-errors/LICENSE | 21 - .../node_modules/es-errors/README.md | 55 - .../node_modules/es-errors/eval.d.ts | 3 - .../node_modules/es-errors/eval.js | 4 - .../node_modules/es-errors/eval.min.js | 8 - .../node_modules/es-errors/index.d.ts | 3 - .../node_modules/es-errors/index.js | 4 - .../node_modules/es-errors/index.min.js | 8 - .../node_modules/es-errors/package.json | 80 - .../node_modules/es-errors/range.d.ts | 3 - .../node_modules/es-errors/range.js | 4 - .../node_modules/es-errors/range.min.js | 8 - .../node_modules/es-errors/ref.d.ts | 3 - .../node_modules/es-errors/ref.js | 4 - .../node_modules/es-errors/ref.min.js | 8 - .../node_modules/es-errors/syntax.d.ts | 3 - .../node_modules/es-errors/syntax.js | 4 - .../node_modules/es-errors/syntax.min.js | 8 - .../node_modules/es-errors/test/index.js | 19 - .../node_modules/es-errors/test/index.min.js | 8 - .../node_modules/es-errors/tsconfig.json | 49 - .../node_modules/es-errors/type.d.ts | 3 - .../node_modules/es-errors/type.js | 4 - .../node_modules/es-errors/type.min.js | 8 - .../node_modules/es-errors/uri.d.ts | 3 - .../node_modules/es-errors/uri.js | 4 - .../node_modules/es-errors/uri.min.js | 8 - .../node_modules/es-object-atoms/CHANGELOG.md | 44 - .../node_modules/es-object-atoms/LICENSE | 21 - .../node_modules/es-object-atoms/README.md | 63 - .../RequireObjectCoercible.d.ts | 3 - .../es-object-atoms/RequireObjectCoercible.js | 11 - .../RequireObjectCoercible.min.js | 8 - .../es-object-atoms/ToObject.d.ts | 7 - .../node_modules/es-object-atoms/ToObject.js | 10 - .../es-object-atoms/ToObject.min.js | 8 - .../node_modules/es-object-atoms/index.d.ts | 3 - .../node_modules/es-object-atoms/index.js | 4 - .../node_modules/es-object-atoms/index.min.js | 8 - .../es-object-atoms/isObject.d.ts | 3 - .../node_modules/es-object-atoms/isObject.js | 6 - .../es-object-atoms/isObject.min.js | 8 - .../node_modules/es-object-atoms/package.json | 79 - .../es-object-atoms/test/index.js | 38 - .../es-object-atoms/test/index.min.js | 8 - .../es-object-atoms/tsconfig.json | 7 - .../es-set-tostringtag/CHANGELOG.md | 67 - .../node_modules/es-set-tostringtag/LICENSE | 21 - .../node_modules/es-set-tostringtag/README.md | 53 - .../es-set-tostringtag/index.d.ts | 10 - .../node_modules/es-set-tostringtag/index.js | 35 - .../es-set-tostringtag/index.min.js | 8 - .../es-set-tostringtag/package.json | 78 - .../es-set-tostringtag/test/index.js | 85 - .../es-set-tostringtag/test/index.min.js | 8 - .../es-set-tostringtag/tsconfig.json | 9 - .../node_modules/follow-redirects/LICENSE | 18 - .../node_modules/follow-redirects/README.md | 157 - .../node_modules/follow-redirects/debug.js | 15 - .../follow-redirects/debug.min.js | 8 - .../node_modules/follow-redirects/http.js | 1 - .../node_modules/follow-redirects/http.min.js | 7 - .../node_modules/follow-redirects/https.js | 1 - .../follow-redirects/https.min.js | 7 - .../node_modules/follow-redirects/index.js | 709 -- .../follow-redirects/index.min.js | 8 - .../follow-redirects/package.json | 58 - .../node_modules/form-data/CHANGELOG.md | 686 -- .../node_modules/form-data/License | 19 - .../node_modules/form-data/README.md | 355 - .../node_modules/form-data/index.d.ts | 62 - .../node_modules/form-data/lib/browser.js | 4 - .../node_modules/form-data/lib/browser.min.js | 8 - .../node_modules/form-data/lib/form_data.js | 506 - .../form-data/lib/form_data.min.js | 8 - .../node_modules/form-data/lib/populate.js | 10 - .../form-data/lib/populate.min.js | 8 - .../node_modules/form-data/package.json | 82 - .../node_modules/function-bind/CHANGELOG.md | 136 - .../node_modules/function-bind/LICENSE | 20 - .../node_modules/function-bind/README.md | 46 - .../function-bind/implementation.js | 84 - .../function-bind/implementation.min.js | 8 - .../node_modules/function-bind/index.js | 5 - .../node_modules/function-bind/index.min.js | 8 - .../node_modules/function-bind/package.json | 87 - .../node_modules/function-bind/test/index.js | 252 - .../function-bind/test/index.min.js | 8 - .../node_modules/get-intrinsic/CHANGELOG.md | 186 - .../node_modules/get-intrinsic/LICENSE | 21 - .../node_modules/get-intrinsic/README.md | 71 - .../node_modules/get-intrinsic/index.js | 378 - .../node_modules/get-intrinsic/index.min.js | 8 - .../node_modules/get-intrinsic/package.json | 97 - .../get-intrinsic/test/GetIntrinsic.js | 274 - .../get-intrinsic/test/GetIntrinsic.min.js | 8 - .../node_modules/get-proto/CHANGELOG.md | 21 - .../node_modules/get-proto/LICENSE | 21 - .../get-proto/Object.getPrototypeOf.d.ts | 5 - .../get-proto/Object.getPrototypeOf.js | 6 - .../get-proto/Object.getPrototypeOf.min.js | 8 - .../node_modules/get-proto/README.md | 50 - .../get-proto/Reflect.getPrototypeOf.d.ts | 3 - .../get-proto/Reflect.getPrototypeOf.js | 4 - .../get-proto/Reflect.getPrototypeOf.min.js | 8 - .../node_modules/get-proto/index.d.ts | 5 - .../node_modules/get-proto/index.js | 27 - .../node_modules/get-proto/index.min.js | 8 - .../node_modules/get-proto/package.json | 81 - .../node_modules/get-proto/test/index.js | 68 - .../node_modules/get-proto/test/index.min.js | 8 - .../node_modules/get-proto/tsconfig.json | 9 - .../node_modules/gopd/CHANGELOG.md | 45 - .../node_modules/gopd/LICENSE | 21 - .../node_modules/gopd/README.md | 40 - .../node_modules/gopd/gOPD.d.ts | 1 - .../node_modules/gopd/gOPD.js | 4 - .../node_modules/gopd/gOPD.min.js | 8 - .../node_modules/gopd/index.d.ts | 5 - .../node_modules/gopd/index.js | 15 - .../node_modules/gopd/index.min.js | 8 - .../node_modules/gopd/package.json | 77 - .../node_modules/gopd/test/index.js | 36 - .../node_modules/gopd/test/index.min.js | 8 - .../node_modules/gopd/tsconfig.json | 9 - .../node_modules/has-symbols/CHANGELOG.md | 91 - .../node_modules/has-symbols/LICENSE | 21 - .../node_modules/has-symbols/README.md | 46 - .../node_modules/has-symbols/index.d.ts | 3 - .../node_modules/has-symbols/index.js | 14 - .../node_modules/has-symbols/index.min.js | 8 - .../node_modules/has-symbols/package.json | 111 - .../node_modules/has-symbols/shams.d.ts | 3 - .../node_modules/has-symbols/shams.js | 45 - .../node_modules/has-symbols/shams.min.js | 8 - .../node_modules/has-symbols/test/index.js | 22 - .../has-symbols/test/index.min.js | 8 - .../has-symbols/test/shams/core-js.js | 29 - .../has-symbols/test/shams/core-js.min.js | 35 - .../test/shams/get-own-property-symbols.js | 29 - .../shams/get-own-property-symbols.min.js | 35 - .../node_modules/has-symbols/test/tests.js | 58 - .../has-symbols/test/tests.min.js | 8 - .../node_modules/has-symbols/tsconfig.json | 10 - .../node_modules/has-tostringtag/CHANGELOG.md | 42 - .../node_modules/has-tostringtag/LICENSE | 21 - .../node_modules/has-tostringtag/README.md | 46 - .../node_modules/has-tostringtag/index.d.ts | 3 - .../node_modules/has-tostringtag/index.js | 8 - .../node_modules/has-tostringtag/index.min.js | 8 - .../node_modules/has-tostringtag/package.json | 108 - .../node_modules/has-tostringtag/shams.d.ts | 3 - .../node_modules/has-tostringtag/shams.js | 8 - .../node_modules/has-tostringtag/shams.min.js | 8 - .../has-tostringtag/test/index.js | 21 - .../has-tostringtag/test/index.min.js | 8 - .../has-tostringtag/test/shams/core-js.js | 31 - .../has-tostringtag/test/shams/core-js.min.js | 37 - .../test/shams/get-own-property-symbols.js | 30 - .../shams/get-own-property-symbols.min.js | 36 - .../has-tostringtag/test/tests.js | 15 - .../has-tostringtag/test/tests.min.js | 8 - .../has-tostringtag/tsconfig.json | 49 - .../node_modules/hasown/CHANGELOG.md | 58 - .../node_modules/hasown/LICENSE | 21 - .../node_modules/hasown/README.md | 40 - .../node_modules/hasown/eslint.config.mjs | 6 - .../node_modules/hasown/index.d.ts | 3 - .../node_modules/hasown/index.js | 8 - .../node_modules/hasown/index.min.js | 8 - .../node_modules/hasown/package.json | 91 - .../node_modules/hasown/tsconfig.json | 6 - .../node_modules/https-proxy-agent/LICENSE | 22 - .../node_modules/https-proxy-agent/README.md | 70 - .../https-proxy-agent/dist/index.d.ts | 51 - .../https-proxy-agent/dist/index.d.ts.map | 1 - .../https-proxy-agent/dist/index.js | 234 - .../https-proxy-agent/dist/index.js.map | 1 - .../https-proxy-agent/dist/index.min.js | 8 - .../dist/parse-proxy-response.d.ts | 12 - .../dist/parse-proxy-response.d.ts.map | 1 - .../dist/parse-proxy-response.js | 94 - .../dist/parse-proxy-response.js.map | 1 - .../dist/parse-proxy-response.min.js | 8 - .../https-proxy-agent/package.json | 51 - .../node_modules/math-intrinsics/CHANGELOG.md | 24 - .../node_modules/math-intrinsics/LICENSE | 21 - .../node_modules/math-intrinsics/README.md | 50 - .../node_modules/math-intrinsics/abs.d.ts | 1 - .../node_modules/math-intrinsics/abs.js | 4 - .../node_modules/math-intrinsics/abs.min.js | 8 - .../constants/maxArrayLength.d.ts | 3 - .../constants/maxArrayLength.js | 4 - .../constants/maxArrayLength.min.js | 8 - .../constants/maxSafeInteger.d.ts | 3 - .../constants/maxSafeInteger.js | 5 - .../constants/maxSafeInteger.min.js | 8 - .../math-intrinsics/constants/maxValue.d.ts | 3 - .../math-intrinsics/constants/maxValue.js | 5 - .../math-intrinsics/constants/maxValue.min.js | 8 - .../node_modules/math-intrinsics/floor.d.ts | 1 - .../node_modules/math-intrinsics/floor.js | 4 - .../node_modules/math-intrinsics/floor.min.js | 8 - .../math-intrinsics/isFinite.d.ts | 3 - .../node_modules/math-intrinsics/isFinite.js | 12 - .../math-intrinsics/isFinite.min.js | 8 - .../math-intrinsics/isInteger.d.ts | 3 - .../node_modules/math-intrinsics/isInteger.js | 16 - .../math-intrinsics/isInteger.min.js | 8 - .../node_modules/math-intrinsics/isNaN.d.ts | 1 - .../node_modules/math-intrinsics/isNaN.js | 6 - .../node_modules/math-intrinsics/isNaN.min.js | 8 - .../math-intrinsics/isNegativeZero.d.ts | 3 - .../math-intrinsics/isNegativeZero.js | 6 - .../math-intrinsics/isNegativeZero.min.js | 8 - .../node_modules/math-intrinsics/max.d.ts | 1 - .../node_modules/math-intrinsics/max.js | 4 - .../node_modules/math-intrinsics/max.min.js | 8 - .../node_modules/math-intrinsics/min.d.ts | 1 - .../node_modules/math-intrinsics/min.js | 4 - .../node_modules/math-intrinsics/min.min.js | 8 - .../node_modules/math-intrinsics/mod.d.ts | 3 - .../node_modules/math-intrinsics/mod.js | 9 - .../node_modules/math-intrinsics/mod.min.js | 8 - .../node_modules/math-intrinsics/package.json | 86 - .../node_modules/math-intrinsics/pow.d.ts | 1 - .../node_modules/math-intrinsics/pow.js | 4 - .../node_modules/math-intrinsics/pow.min.js | 8 - .../node_modules/math-intrinsics/round.d.ts | 1 - .../node_modules/math-intrinsics/round.js | 4 - .../node_modules/math-intrinsics/round.min.js | 8 - .../node_modules/math-intrinsics/sign.d.ts | 3 - .../node_modules/math-intrinsics/sign.js | 11 - .../node_modules/math-intrinsics/sign.min.js | 8 - .../math-intrinsics/test/index.js | 192 - .../math-intrinsics/test/index.min.js | 8 - .../math-intrinsics/tsconfig.json | 3 - .../node_modules/mime-db/HISTORY.md | 541 - .../node_modules/mime-db/LICENSE | 23 - .../node_modules/mime-db/README.md | 109 - .../node_modules/mime-db/db.json | 9342 ----------------- .../node_modules/mime-db/index.js | 12 - .../node_modules/mime-db/index.min.js | 18 - .../node_modules/mime-db/package.json | 56 - .../node_modules/mime-types/HISTORY.md | 428 - .../node_modules/mime-types/LICENSE | 23 - .../node_modules/mime-types/README.md | 126 - .../node_modules/mime-types/index.js | 211 - .../node_modules/mime-types/index.min.js | 14 - .../node_modules/mime-types/mimeScore.js | 57 - .../node_modules/mime-types/mimeScore.min.js | 8 - .../node_modules/mime-types/package.json | 49 - .../node_modules/ms/index.js | 162 - .../node_modules/ms/index.min.js | 8 - .../node_modules/ms/license.md | 21 - .../node_modules/ms/package.json | 38 - .../node_modules/ms/readme.md | 59 - .../proxy-agent-negotiate/dist/index.d.ts | 14 - .../proxy-agent-negotiate/dist/index.d.ts.map | 1 - .../proxy-agent-negotiate/dist/index.js | 35 - .../proxy-agent-negotiate/dist/index.js.map | 1 - .../proxy-agent-negotiate/dist/index.min.js | 8 - .../proxy-agent-negotiate/package.json | 47 - .../node_modules/proxy-from-env/LICENSE | 20 - .../node_modules/proxy-from-env/README.md | 163 - .../node_modules/proxy-from-env/index.cjs | 105 - .../node_modules/proxy-from-env/index.js | 103 - .../node_modules/proxy-from-env/index.min.js | 8 - .../node_modules/proxy-from-env/package.json | 43 - .../node_modules/saxon-js/LICENSE.txt | 55 - .../node_modules/saxon-js/SaxonJS2N.js | 4609 -------- .../node_modules/saxon-js/SaxonJS2N.min.js | 4615 -------- .../node_modules/saxon-js/package.json | 27 - .../node_modules/saxon-js/readme.md | 144 - .../node_modules/xslt3/LICENSE.txt | 55 - .../node_modules/xslt3/package.json | 32 - .../node_modules/xslt3/readme.md | 144 - .../node_modules/xslt3/xslt3.js | 69 - .../node_modules/xslt3/xslt3.min.js | 75 - 557 files changed, 1 insertion(+), 72003 deletions(-) delete mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts.map delete mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js.map delete mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts.map delete mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js.map delete mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/agent-base/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/bench.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/bench.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/serial.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/serial.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/stream.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/asynckit/stream.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/MIGRATION_GUIDE.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js.map delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/browser/axios.cjs delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js.map delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/dist/node/axios.cjs delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/index.d.cts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosError.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosError.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/dispatchRequest.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/dispatchRequest.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/mergeConfig.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/mergeConfig.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/env/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/spread.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/spread.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/throttle.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/throttle.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/utils.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/lib/utils.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/axios/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/tsconfig.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/combined-stream/License delete mode 100644 Lombiq.EInvoiceValidator/node_modules/combined-stream/Readme.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/combined-stream/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/combined-stream/yarn.lock delete mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/browser.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/browser.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/common.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/common.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/node.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/debug/src/node.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/delayed-stream/License delete mode 100644 Lombiq.EInvoiceValidator/node_modules/delayed-stream/Makefile delete mode 100644 Lombiq.EInvoiceValidator/node_modules/delayed-stream/Readme.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/delayed-stream/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/dunder-proto/tsconfig.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-define-property/tsconfig.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/eval.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/eval.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/eval.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/range.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/range.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/range.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/ref.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/ref.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/ref.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/tsconfig.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/type.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/type.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/type.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/uri.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/uri.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-errors/uri.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-object-atoms/tsconfig.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/tsconfig.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/follow-redirects/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/License delete mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/lib/populate.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/lib/populate.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/form-data/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/get-proto/tsconfig.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/test/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/test/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/gopd/tsconfig.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-symbols/tsconfig.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/has-tostringtag/tsconfig.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/eslint.config.mjs delete mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/hasown/tsconfig.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts.map delete mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js.map delete mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map delete mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map delete mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/CHANGELOG.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/math-intrinsics/tsconfig.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-db/HISTORY.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-db/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-db/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-db/db.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-db/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-db/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-db/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/HISTORY.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/mime-types/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/ms/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/ms/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/ms/license.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/ms/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/ms/readme.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts delete mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts.map delete mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js.map delete mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-from-env/LICENSE delete mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-from-env/README.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.cjs delete mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/proxy-from-env/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/saxon-js/LICENSE.txt delete mode 100644 Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.min.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/saxon-js/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/saxon-js/readme.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/xslt3/LICENSE.txt delete mode 100644 Lombiq.EInvoiceValidator/node_modules/xslt3/package.json delete mode 100644 Lombiq.EInvoiceValidator/node_modules/xslt3/readme.md delete mode 100644 Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.js delete mode 100644 Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.min.js diff --git a/.gitignore b/.gitignore index ad8542e..b767ac2 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,7 @@ obj/ bin/ artifacts/ wwwroot/ -!node_modules/ +node_modules/ *.user .pnpm-debug.log *.orig diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/LICENSE b/Lombiq.EInvoiceValidator/node_modules/agent-base/LICENSE deleted file mode 100644 index 008728c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/agent-base/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -(The MIT License) - -Copyright (c) 2013 Nathan Rajlich - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/README.md b/Lombiq.EInvoiceValidator/node_modules/agent-base/README.md deleted file mode 100644 index b8a86b9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/agent-base/README.md +++ /dev/null @@ -1,69 +0,0 @@ -agent-base -========== -### Turn a function into an [`http.Agent`][http.Agent] instance - -This module is a thin wrapper around the base `http.Agent` class. - -It provides an abstract class that must define a `connect()` function, -which is responsible for creating the underlying socket that the HTTP -client requests will use. - -The `connect()` function may return an arbitrary `Duplex` stream, or -another `http.Agent` instance to delegate the request to, and may be -asynchronous (by defining an `async` function). - -Instances of this agent can be used with the `http` and `https` -modules. To differentiate, the options parameter in the `connect()` -function includes a `secureEndpoint` property, which can be checked -to determine what type of socket should be returned. - -#### Some subclasses: - -Here are some more interesting uses of `agent-base`. -Send a pull request to list yours! - - * [`http-proxy-agent`][http-proxy-agent]: An HTTP(s) proxy `http.Agent` implementation for HTTP endpoints - * [`https-proxy-agent`][https-proxy-agent]: An HTTP(s) proxy `http.Agent` implementation for HTTPS endpoints - * [`pac-proxy-agent`][pac-proxy-agent]: A PAC file proxy `http.Agent` implementation for HTTP and HTTPS - * [`socks-proxy-agent`][socks-proxy-agent]: A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS - -Example -------- - -Here's a minimal example that creates a new `net.Socket` or `tls.Socket` -based on the `secureEndpoint` property. This agent can be used with both -the `http` and `https` modules. - -```ts -import * as net from 'net'; -import * as tls from 'tls'; -import * as http from 'http'; -import { Agent } from 'agent-base'; - -class MyAgent extends Agent { - connect(req, opts) { - // `secureEndpoint` is true when using the "https" module - if (opts.secureEndpoint) { - return tls.connect(opts); - } else { - return net.connect(opts); - } - } -}); - -// Keep alive enabled means that `connect()` will only be -// invoked when a new connection needs to be created -const agent = new MyAgent({ keepAlive: true }); - -// Pass the `agent` option when creating the HTTP request -http.get('http://nodejs.org/api/', { agent }, (res) => { - console.log('"response" event!', res.headers); - res.pipe(process.stdout); -}); -``` - -[http-proxy-agent]: ../http-proxy-agent -[https-proxy-agent]: ../https-proxy-agent -[pac-proxy-agent]: ../pac-proxy-agent -[socks-proxy-agent]: ../socks-proxy-agent -[http.Agent]: https://nodejs.org/api/http.html#http_class_http_agent diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts deleted file mode 100644 index 2a0e78b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import * as http from 'http'; -import * as https from 'https'; -import type { Readable } from 'stream'; -export type ThenableRequest = http.ClientRequest & { - then: Promise['then']; -}; -export declare function toBuffer(stream: Readable): Promise; -export declare function json(stream: Readable): Promise; -export declare function req(url: string | URL, opts?: https.RequestOptions): ThenableRequest; -//# sourceMappingURL=helpers.d.ts.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts.map b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts.map deleted file mode 100644 index bf42c8e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,aAAa,GAAG;IAClD,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;CAC5C,CAAC;AAEF,wBAAsB,QAAQ,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,CAQhE;AAGD,wBAAsB,IAAI,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,CAUzD;AAED,wBAAgB,GAAG,CAClB,GAAG,EAAE,MAAM,GAAG,GAAG,EACjB,IAAI,GAAE,KAAK,CAAC,cAAmB,GAC7B,eAAe,CAcjB"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js deleted file mode 100644 index 42c6ed2..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js +++ /dev/null @@ -1,37 +0,0 @@ -import * as http from 'http'; -import * as https from 'https'; -export async function toBuffer(stream) { - let length = 0; - const chunks = []; - for await (const chunk of stream) { - length += chunk.length; - chunks.push(chunk); - } - return Buffer.concat(chunks, length); -} -// eslint-disable-next-line @typescript-eslint/no-explicit-any -export async function json(stream) { - const buf = await toBuffer(stream); - const str = buf.toString('utf8'); - try { - return JSON.parse(str); - } - catch (_err) { - const err = _err; - err.message += ` (input: ${str})`; - throw err; - } -} -export function req(url, opts = {}) { - const href = typeof url === 'string' ? url : url.href; - const req = (href.startsWith('https:') ? https : http).request(url, opts); - const promise = new Promise((resolve, reject) => { - req - .once('response', resolve) - .once('error', reject) - .end(); - }); - req.then = promise.then.bind(promise); - return req; -} -//# sourceMappingURL=helpers.js.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js.map b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js.map deleted file mode 100644 index 78d040b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,CAAC,KAAK,UAAU,QAAQ,CAAC,MAAgB;IAC9C,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,IAAI,KAAK,EAAE,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAClC,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC;QACvB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC;IACD,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AACtC,CAAC;AAED,8DAA8D;AAC9D,MAAM,CAAC,KAAK,UAAU,IAAI,CAAC,MAAgB;IAC1C,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,CAAC;IACnC,MAAM,GAAG,GAAG,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IACjC,IAAI,CAAC;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACxB,CAAC;IAAC,OAAO,IAAa,EAAE,CAAC;QACxB,MAAM,GAAG,GAAG,IAAa,CAAC;QAC1B,GAAG,CAAC,OAAO,IAAI,YAAY,GAAG,GAAG,CAAC;QAClC,MAAM,GAAG,CAAC;IACX,CAAC;AACF,CAAC;AAED,MAAM,UAAU,GAAG,CAClB,GAAiB,EACjB,OAA6B,EAAE;IAE/B,MAAM,IAAI,GAAG,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;IACtD,MAAM,GAAG,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAC7D,GAAG,EACH,IAAI,CACe,CAAC;IACrB,MAAM,OAAO,GAAG,IAAI,OAAO,CAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrE,GAAG;aACD,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC;aACzB,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC;aACrB,GAAG,EAAqB,CAAC;IAC5B,CAAC,CAAC,CAAC;IACH,GAAG,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtC,OAAO,GAAG,CAAC;AACZ,CAAC"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.min.js b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.min.js deleted file mode 100644 index 9f95502..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/helpers.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/agent-base@9.0.0/dist/helpers.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import*as http from"http";import*as https from"https";export async function toBuffer(t){let r=0;const n=[];for await(const e of t)r+=e.length,n.push(e);return Buffer.concat(n,r)}export async function json(t){const r=(await toBuffer(t)).toString("utf8");try{return JSON.parse(r)}catch(t){const n=t;throw n.message+=` (input: ${r})`,n}}export function req(t,r={}){const n=(("string"==typeof t?t:t.href).startsWith("https:")?https:http).request(t,r),e=new Promise((t,r)=>{n.once("response",t).once("error",r).end()});return n.then=e.then.bind(e),n} -//# sourceMappingURL=/sm/d8b01bc74c7a22bf2e9f2eec8297b16edce9162f2733e3b552e127a3f938f4a0.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts deleted file mode 100644 index 0eb48b7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import * as net from 'net'; -import * as tls from 'tls'; -import * as http from 'http'; -import type { Duplex } from 'stream'; -export * from './helpers.js'; -interface HttpConnectOpts extends net.TcpNetConnectOpts { - secureEndpoint: false; - protocol?: string; -} -interface HttpsConnectOpts extends tls.ConnectionOptions { - secureEndpoint: true; - protocol?: string; - port: number; -} -export type AgentConnectOpts = HttpConnectOpts | HttpsConnectOpts; -declare const INTERNAL: unique symbol; -export declare abstract class Agent extends http.Agent { - private [INTERNAL]; - options: Partial; - keepAlive: boolean; - constructor(opts?: http.AgentOptions); - abstract connect(req: http.ClientRequest, options: AgentConnectOpts): Promise | Duplex | http.Agent; - /** - * Determine whether this is an `http` or `https` request. - */ - isSecureEndpoint(options?: AgentConnectOpts): boolean; - private incrementSockets; - private decrementSockets; - getName(options?: AgentConnectOpts): string; - createSocket(req: http.ClientRequest, options: AgentConnectOpts, cb: (err: Error | null, s?: Duplex) => void): void; - createConnection(): Duplex; - get defaultPort(): number; - set defaultPort(v: number); - get protocol(): string; - set protocol(v: string); -} -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts.map b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts.map deleted file mode 100644 index 86a33a7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,cAAc,cAAc,CAAC;AAE7B,UAAU,eAAgB,SAAQ,GAAG,CAAC,iBAAiB;IACtD,cAAc,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,gBAAiB,SAAQ,GAAG,CAAC,iBAAiB;IACvD,cAAc,EAAE,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACb;AAED,MAAM,MAAM,gBAAgB,GAAG,eAAe,GAAG,gBAAgB,CAAC;AAElE,QAAA,MAAM,QAAQ,eAAmC,CAAC;AAQlD,8BAAsB,KAAM,SAAQ,IAAI,CAAC,KAAK;IAC7C,OAAO,CAAC,CAAC,QAAQ,CAAC,CAAgB;IAGlC,OAAO,EAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,GAAG,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACjE,SAAS,EAAG,OAAO,CAAC;gBAER,IAAI,CAAC,EAAE,IAAI,CAAC,YAAY;IAKpC,QAAQ,CAAC,OAAO,CACf,GAAG,EAAE,IAAI,CAAC,aAAa,EACvB,OAAO,EAAE,gBAAgB,GACvB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC,KAAK;IAErD;;OAEG;IACH,gBAAgB,CAAC,OAAO,CAAC,EAAE,gBAAgB,GAAG,OAAO;IAqCrD,OAAO,CAAC,gBAAgB;IAqBxB,OAAO,CAAC,gBAAgB;IAmBxB,OAAO,CAAC,OAAO,CAAC,EAAE,gBAAgB,GAAG,MAAM;IAQ3C,YAAY,CACX,GAAG,EAAE,IAAI,CAAC,aAAa,EACvB,OAAO,EAAE,gBAAgB,EACzB,EAAE,EAAE,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;IAuC5C,gBAAgB,IAAI,MAAM;IAW1B,IAAI,WAAW,IAAI,MAAM,CAKxB;IAED,IAAI,WAAW,CAAC,CAAC,EAAE,MAAM,EAIxB;IAED,IAAI,QAAQ,IAAI,MAAM,CAKrB;IAED,IAAI,QAAQ,CAAC,CAAC,EAAE,MAAM,EAIrB;CACD"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js deleted file mode 100644 index 15aa6e9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js +++ /dev/null @@ -1,146 +0,0 @@ -import * as net from 'net'; -import * as http from 'http'; -import { Agent as HttpsAgent } from 'https'; -export * from './helpers.js'; -const INTERNAL = Symbol('AgentBaseInternalState'); -export class Agent extends http.Agent { - constructor(opts) { - super(opts); - this[INTERNAL] = {}; - } - /** - * Determine whether this is an `http` or `https` request. - */ - isSecureEndpoint(options) { - if (options) { - // First check the `secureEndpoint` property explicitly, since this - // means that a parent `Agent` is "passing through" to this instance. - // eslint-disable-next-line @typescript-eslint/no-explicit-any - if (typeof options.secureEndpoint === 'boolean') { - return options.secureEndpoint; - } - // If no explicit `secure` endpoint, check if `protocol` property is - // set. This will usually be the case since using a full string URL - // or `URL` instance should be the most common usage. - if (typeof options.protocol === 'string') { - return options.protocol === 'https:'; - } - } - // Finally, if no `protocol` property was set, then fall back to - // checking the stack trace of the current call stack, and try to - // detect the "https" module. - const { stack } = new Error(); - if (typeof stack !== 'string') - return false; - return stack - .split('\n') - .some((l) => l.indexOf('(https.js:') !== -1 || - l.indexOf('node:https:') !== -1); - } - // In order to support async signatures in `connect()` and Node's native - // connection pooling in `http.Agent`, the array of sockets for each origin - // has to be updated synchronously. This is so the length of the array is - // accurate when `addRequest()` is next called. We achieve this by creating a - // fake socket and adding it to `sockets[origin]` and incrementing - // `totalSocketCount`. - incrementSockets(name) { - // If `maxSockets` and `maxTotalSockets` are both Infinity then there is no - // need to create a fake socket because Node.js native connection pooling - // will never be invoked. - if (this.maxSockets === Infinity && this.maxTotalSockets === Infinity) { - return null; - } - // All instances of `sockets` are expected TypeScript errors. The - // alternative is to add it as a private property of this class but that - // will break TypeScript subclassing. - if (!this.sockets[name]) { - // @ts-expect-error `sockets` is readonly in `@types/node` - this.sockets[name] = []; - } - const fakeSocket = new net.Socket({ writable: false }); - this.sockets[name].push(fakeSocket); - // @ts-expect-error `totalSocketCount` isn't defined in `@types/node` - this.totalSocketCount++; - return fakeSocket; - } - decrementSockets(name, socket) { - if (!this.sockets[name] || socket === null) { - return; - } - const sockets = this.sockets[name]; - const index = sockets.indexOf(socket); - if (index !== -1) { - sockets.splice(index, 1); - // @ts-expect-error `totalSocketCount` isn't defined in `@types/node` - this.totalSocketCount--; - if (sockets.length === 0) { - // @ts-expect-error `sockets` is readonly in `@types/node` - delete this.sockets[name]; - } - } - } - // In order to properly update the socket pool, we need to call `getName()` on - // the core `https.Agent` if it is a secureEndpoint. - getName(options) { - const secureEndpoint = this.isSecureEndpoint(options); - if (secureEndpoint) { - return HttpsAgent.prototype.getName.call(this, options); - } - return super.getName(options); - } - createSocket(req, options, cb) { - const connectOpts = { - ...options, - secureEndpoint: this.isSecureEndpoint(options), - }; - const name = this.getName(connectOpts); - const fakeSocket = this.incrementSockets(name); - Promise.resolve() - .then(() => this.connect(req, connectOpts)) - .then((socket) => { - this.decrementSockets(name, fakeSocket); - if (typeof socket - .addRequest === 'function') { - try { - return socket.addRequest(req, connectOpts); - } - catch (err) { - return cb(err); - } - } - this[INTERNAL].currentSocket = socket; - // @ts-expect-error `createSocket()` isn't defined in `@types/node` - super.createSocket(req, options, cb); - }, (err) => { - this.decrementSockets(name, fakeSocket); - cb(err); - }); - } - createConnection() { - const socket = this[INTERNAL].currentSocket; - this[INTERNAL].currentSocket = undefined; - if (!socket) { - throw new Error('No socket was returned in the `connect()` function'); - } - return socket; - } - get defaultPort() { - return (this[INTERNAL].defaultPort ?? - (this.protocol === 'https:' ? 443 : 80)); - } - set defaultPort(v) { - if (this[INTERNAL]) { - this[INTERNAL].defaultPort = v; - } - } - get protocol() { - return (this[INTERNAL].protocol ?? - (this.isSecureEndpoint() ? 'https:' : 'http:')); - } - set protocol(v) { - if (this[INTERNAL]) { - this[INTERNAL].protocol = v; - } - } -} -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js.map b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js.map deleted file mode 100644 index 9716da9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,KAAK,IAAI,UAAU,EAAE,MAAM,OAAO,CAAC;AAG5C,cAAc,cAAc,CAAC;AAe7B,MAAM,QAAQ,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC;AAQlD,MAAM,OAAgB,KAAM,SAAQ,IAAI,CAAC,KAAK;IAO7C,YAAY,IAAwB;QACnC,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC;IACrB,CAAC;IAOD;;OAEG;IACH,gBAAgB,CAAC,OAA0B;QAC1C,IAAI,OAAO,EAAE,CAAC;YACb,mEAAmE;YACnE,qEAAqE;YACrE,8DAA8D;YAC9D,IAAI,OAAQ,OAAe,CAAC,cAAc,KAAK,SAAS,EAAE,CAAC;gBAC1D,OAAO,OAAO,CAAC,cAAc,CAAC;YAC/B,CAAC;YAED,oEAAoE;YACpE,mEAAmE;YACnE,qDAAqD;YACrD,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,QAAQ,EAAE,CAAC;gBAC1C,OAAO,OAAO,CAAC,QAAQ,KAAK,QAAQ,CAAC;YACtC,CAAC;QACF,CAAC;QAED,gEAAgE;QAChE,iEAAiE;QACjE,6BAA6B;QAC7B,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,KAAK,EAAE,CAAC;QAC9B,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,OAAO,KAAK,CAAC;QAC5C,OAAO,KAAK;aACV,KAAK,CAAC,IAAI,CAAC;aACX,IAAI,CACJ,CAAC,CAAC,EAAE,EAAE,CACL,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;YAC9B,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAChC,CAAC;IACJ,CAAC;IAED,wEAAwE;IACxE,2EAA2E;IAC3E,yEAAyE;IACzE,6EAA6E;IAC7E,kEAAkE;IAClE,sBAAsB;IACd,gBAAgB,CAAC,IAAY;QACpC,2EAA2E;QAC3E,yEAAyE;QACzE,yBAAyB;QACzB,IAAI,IAAI,CAAC,UAAU,KAAK,QAAQ,IAAI,IAAI,CAAC,eAAe,KAAK,QAAQ,EAAE,CAAC;YACvE,OAAO,IAAI,CAAC;QACb,CAAC;QACD,iEAAiE;QACjE,wEAAwE;QACxE,qCAAqC;QACrC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YACzB,0DAA0D;YAC1D,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QACzB,CAAC;QACD,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC;QACtD,IAAI,CAAC,OAAO,CAAC,IAAI,CAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACtD,qEAAqE;QACrE,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACxB,OAAO,UAAU,CAAC;IACnB,CAAC;IAEO,gBAAgB,CAAC,IAAY,EAAE,MAAyB;QAC/D,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;YAC5C,OAAO;QACR,CAAC;QACD,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAiB,CAAC;QACnD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACtC,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;YAClB,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;YACzB,sEAAsE;YACtE,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACxB,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC1B,0DAA0D;gBAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAC3B,CAAC;QACF,CAAC;IACF,CAAC;IAED,8EAA8E;IAC9E,oDAAoD;IACpD,OAAO,CAAC,OAA0B;QACjC,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACtD,IAAI,cAAc,EAAE,CAAC;YACpB,OAAO,UAAU,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACzD,CAAC;QACD,OAAO,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/B,CAAC;IAED,YAAY,CACX,GAAuB,EACvB,OAAyB,EACzB,EAA2C;QAE3C,MAAM,WAAW,GAAG;YACnB,GAAG,OAAO;YACV,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC;SAC9C,CAAC;QACF,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QACvC,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;QAC/C,OAAO,CAAC,OAAO,EAAE;aACf,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;aAC1C,IAAI,CACJ,CAAC,MAAM,EAAE,EAAE;YACV,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;YACxC,IACC,OAAQ,MAA6C;iBACnD,UAAU,KAAK,UAAU,EAC1B,CAAC;gBACF,IAAI,CAAC;oBACJ,OACC,MAIA,CAAC,UAAU,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;gBAChC,CAAC;gBAAC,OAAO,GAAY,EAAE,CAAC;oBACvB,OAAO,EAAE,CAAC,GAAY,CAAC,CAAC;gBACzB,CAAC;YACF,CAAC;YACD,IAAI,CAAC,QAAQ,CAAC,CAAC,aAAa,GAAG,MAAgB,CAAC;YAChD,mEAAmE;YACnE,KAAK,CAAC,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC;QACtC,CAAC,EACD,CAAC,GAAG,EAAE,EAAE;YACP,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;YACxC,EAAE,CAAC,GAAG,CAAC,CAAC;QACT,CAAC,CACD,CAAC;IACJ,CAAC;IAED,gBAAgB;QACf,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,aAAa,CAAC;QAC5C,IAAI,CAAC,QAAQ,CAAC,CAAC,aAAa,GAAG,SAAS,CAAC;QACzC,IAAI,CAAC,MAAM,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CACd,oDAAoD,CACpD,CAAC;QACH,CAAC;QACD,OAAO,MAAM,CAAC;IACf,CAAC;IAED,IAAI,WAAW;QACd,OAAO,CACN,IAAI,CAAC,QAAQ,CAAC,CAAC,WAAW;YAC1B,CAAC,IAAI,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CACvC,CAAC;IACH,CAAC;IAED,IAAI,WAAW,CAAC,CAAS;QACxB,IAAI,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YACpB,IAAI,CAAC,QAAQ,CAAC,CAAC,WAAW,GAAG,CAAC,CAAC;QAChC,CAAC;IACF,CAAC;IAED,IAAI,QAAQ;QACX,OAAO,CACN,IAAI,CAAC,QAAQ,CAAC,CAAC,QAAQ;YACvB,CAAC,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAC9C,CAAC;IACH,CAAC;IAED,IAAI,QAAQ,CAAC,CAAS;QACrB,IAAI,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YACpB,IAAI,CAAC,QAAQ,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC;QAC7B,CAAC;IACF,CAAC;CACD"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.min.js b/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.min.js deleted file mode 100644 index 40f0760..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/agent-base/dist/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/agent-base@9.0.0/dist/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import*as net from"net";import*as http from"http";import{Agent as HttpsAgent}from"https";export*from"./helpers.js";const INTERNAL=Symbol("AgentBaseInternalState");export class Agent extends http.Agent{constructor(t){super(t),this[INTERNAL]={}}isSecureEndpoint(t){if(t){if("boolean"==typeof t.secureEndpoint)return t.secureEndpoint;if("string"==typeof t.protocol)return"https:"===t.protocol}const{stack:e}=new Error;return"string"==typeof e&&e.split("\n").some(t=>-1!==t.indexOf("(https.js:")||-1!==t.indexOf("node:https:"))}incrementSockets(t){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[t]||(this.sockets[t]=[]);const e=new net.Socket({writable:!1});return this.sockets[t].push(e),this.totalSocketCount++,e}decrementSockets(t,e){if(!this.sockets[t]||null===e)return;const o=this.sockets[t],s=o.indexOf(e);-1!==s&&(o.splice(s,1),this.totalSocketCount--,0===o.length&&delete this.sockets[t])}getName(t){return this.isSecureEndpoint(t)?HttpsAgent.prototype.getName.call(this,t):super.getName(t)}createSocket(t,e,o){const s={...e,secureEndpoint:this.isSecureEndpoint(e)},r=this.getName(s),n=this.incrementSockets(r);Promise.resolve().then(()=>this.connect(t,s)).then(c=>{if(this.decrementSockets(r,n),"function"==typeof c.addRequest)try{return c.addRequest(t,s)}catch(t){return o(t)}this[INTERNAL].currentSocket=c,super.createSocket(t,e,o)},t=>{this.decrementSockets(r,n),o(t)})}createConnection(){const t=this[INTERNAL].currentSocket;if(this[INTERNAL].currentSocket=void 0,!t)throw new Error("No socket was returned in the `connect()` function");return t}get defaultPort(){return this[INTERNAL].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(t){this[INTERNAL]&&(this[INTERNAL].defaultPort=t)}get protocol(){return this[INTERNAL].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(t){this[INTERNAL]&&(this[INTERNAL].protocol=t)}} -//# sourceMappingURL=/sm/9e84b86dae86a0d45a514eeef0366cf0e06ba38dd23f005d09f082364e7e4fdb.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/agent-base/package.json b/Lombiq.EInvoiceValidator/node_modules/agent-base/package.json deleted file mode 100644 index 8ef80c2..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/agent-base/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "agent-base", - "version": "9.0.0", - "type": "module", - "description": "Turn a function into an `http.Agent` instance", - "exports": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - }, - "files": [ - "dist" - ], - "repository": { - "type": "git", - "url": "https://github.com/TooTallNate/proxy-agents.git", - "directory": "packages/agent-base" - }, - "keywords": [ - "http", - "agent", - "base", - "barebones", - "https" - ], - "author": "Nathan Rajlich (http://n8.io/)", - "license": "MIT", - "devDependencies": { - "@types/debug": "^4.1.7", - "@types/node": "^22.13.0", - "@types/semver": "^7.3.13", - "@types/ws": "^8.5.4", - "async-listen": "^3.0.0", - "typescript": "^5.1.6", - "ws": "^8.13.0", - "tsconfig": "0.0.0" - }, - "engines": { - "node": ">= 20" - }, - "scripts": { - "build": "tsc", - "test": "vitest", - "lint": "eslint . --ext .ts", - "pack": "node ../../scripts/pack.mjs" - } -} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/LICENSE b/Lombiq.EInvoiceValidator/node_modules/asynckit/LICENSE deleted file mode 100644 index c9eca5d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Alex Indigo - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/README.md b/Lombiq.EInvoiceValidator/node_modules/asynckit/README.md deleted file mode 100644 index 3eabaca..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/README.md +++ /dev/null @@ -1,227 +0,0 @@ -# asynckit [![NPM Module](https://img.shields.io/npm/v/asynckit.svg?style=flat)](https://www.npmjs.com/package/asynckit) - -Minimal async jobs utility library, with streams support. - -[![Coverage Status](https://img.shields.io/coveralls/alexindigo/asynckit/master.svg?label=code+coverage&style=flat)](https://coveralls.io/github/alexindigo/asynckit?branch=master) - - - -AsyncKit provides harness for `parallel` and `serial` iterators over list of items represented by arrays or objects. -Optionally it accepts abort function (should be synchronously return by iterator for each item), and terminates left over jobs upon an error event. For specific iteration order built-in (`ascending` and `descending`) and custom sort helpers also supported, via `asynckit.serialOrdered` method. - -It ensures async operations to keep behavior more stable and prevent `Maximum call stack size exceeded` errors, from sync iterators. - -| compression | size | -| :----------------- | -------: | -| asynckit.js | 12.34 kB | -| asynckit.min.js | 4.11 kB | -| asynckit.min.js.gz | 1.47 kB | - - -## Install - -```sh -$ npm install --save asynckit -``` - -## Examples - -### Parallel Jobs - -Runs iterator over provided array in parallel. Stores output in the `result` array, -on the matching positions. In unlikely event of an error from one of the jobs, -will terminate rest of the active jobs (if abort function is provided) -and return error along with salvaged data to the main callback function. - -#### Input Array - -```javascript -var parallel = require('asynckit').parallel - , assert = require('assert') - ; - -var source = [ 1, 1, 4, 16, 64, 32, 8, 2 ] - , expectedResult = [ 2, 2, 8, 32, 128, 64, 16, 4 ] - , expectedTarget = [ 1, 1, 2, 4, 8, 16, 32, 64 ] - , target = [] - ; - -parallel(source, asyncJob, function(err, result) -{ - assert.deepEqual(result, expectedResult); - assert.deepEqual(target, expectedTarget); -}); - -// async job accepts one element from the array -// and a callback function -function asyncJob(item, cb) -{ - // different delays (in ms) per item - var delay = item * 25; - - // pretend different jobs take different time to finish - // and not in consequential order - var timeoutId = setTimeout(function() { - target.push(item); - cb(null, item * 2); - }, delay); - - // allow to cancel "leftover" jobs upon error - // return function, invoking of which will abort this job - return clearTimeout.bind(null, timeoutId); -} -``` - -More examples could be found in [test/test-parallel-array.js](test/test-parallel-array.js). - -#### Input Object - -Also it supports named jobs, listed via object. - -```javascript -var parallel = require('asynckit/parallel') - , assert = require('assert') - ; - -var source = { first: 1, one: 1, four: 4, sixteen: 16, sixtyFour: 64, thirtyTwo: 32, eight: 8, two: 2 } - , expectedResult = { first: 2, one: 2, four: 8, sixteen: 32, sixtyFour: 128, thirtyTwo: 64, eight: 16, two: 4 } - , expectedTarget = [ 1, 1, 2, 4, 8, 16, 32, 64 ] - , expectedKeys = [ 'first', 'one', 'two', 'four', 'eight', 'sixteen', 'thirtyTwo', 'sixtyFour' ] - , target = [] - , keys = [] - ; - -parallel(source, asyncJob, function(err, result) -{ - assert.deepEqual(result, expectedResult); - assert.deepEqual(target, expectedTarget); - assert.deepEqual(keys, expectedKeys); -}); - -// supports full value, key, callback (shortcut) interface -function asyncJob(item, key, cb) -{ - // different delays (in ms) per item - var delay = item * 25; - - // pretend different jobs take different time to finish - // and not in consequential order - var timeoutId = setTimeout(function() { - keys.push(key); - target.push(item); - cb(null, item * 2); - }, delay); - - // allow to cancel "leftover" jobs upon error - // return function, invoking of which will abort this job - return clearTimeout.bind(null, timeoutId); -} -``` - -More examples could be found in [test/test-parallel-object.js](test/test-parallel-object.js). - -### Serial Jobs - -Runs iterator over provided array sequentially. Stores output in the `result` array, -on the matching positions. In unlikely event of an error from one of the jobs, -will not proceed to the rest of the items in the list -and return error along with salvaged data to the main callback function. - -#### Input Array - -```javascript -var serial = require('asynckit/serial') - , assert = require('assert') - ; - -var source = [ 1, 1, 4, 16, 64, 32, 8, 2 ] - , expectedResult = [ 2, 2, 8, 32, 128, 64, 16, 4 ] - , expectedTarget = [ 0, 1, 2, 3, 4, 5, 6, 7 ] - , target = [] - ; - -serial(source, asyncJob, function(err, result) -{ - assert.deepEqual(result, expectedResult); - assert.deepEqual(target, expectedTarget); -}); - -// extended interface (item, key, callback) -// also supported for arrays -function asyncJob(item, key, cb) -{ - target.push(key); - - // it will be automatically made async - // even it iterator "returns" in the same event loop - cb(null, item * 2); -} -``` - -More examples could be found in [test/test-serial-array.js](test/test-serial-array.js). - -#### Input Object - -Also it supports named jobs, listed via object. - -```javascript -var serial = require('asynckit').serial - , assert = require('assert') - ; - -var source = [ 1, 1, 4, 16, 64, 32, 8, 2 ] - , expectedResult = [ 2, 2, 8, 32, 128, 64, 16, 4 ] - , expectedTarget = [ 0, 1, 2, 3, 4, 5, 6, 7 ] - , target = [] - ; - -var source = { first: 1, one: 1, four: 4, sixteen: 16, sixtyFour: 64, thirtyTwo: 32, eight: 8, two: 2 } - , expectedResult = { first: 2, one: 2, four: 8, sixteen: 32, sixtyFour: 128, thirtyTwo: 64, eight: 16, two: 4 } - , expectedTarget = [ 1, 1, 4, 16, 64, 32, 8, 2 ] - , target = [] - ; - - -serial(source, asyncJob, function(err, result) -{ - assert.deepEqual(result, expectedResult); - assert.deepEqual(target, expectedTarget); -}); - -// shortcut interface (item, callback) -// works for object as well as for the arrays -function asyncJob(item, cb) -{ - target.push(item); - - // it will be automatically made async - // even it iterator "returns" in the same event loop - cb(null, item * 2); -} -``` - -More examples could be found in [test/test-serial-object.js](test/test-serial-object.js). - -_Note: Since _object_ is an _unordered_ collection of properties, -it may produce unexpected results with sequential iterations. -Whenever order of the jobs' execution is important please use `serialOrdered` method._ - -### Ordered Serial Iterations - -TBD - -For example [compare-property](compare-property) package. - -### Streaming interface - -TBD - -## Want to Know More? - -More examples can be found in [test folder](test/). - -Or open an [issue](https://github.com/alexindigo/asynckit/issues) with questions and/or suggestions. - -## License - -AsyncKit is licensed under the MIT license. diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/bench.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/bench.js deleted file mode 100644 index c612f1a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/bench.js +++ /dev/null @@ -1,76 +0,0 @@ -/* eslint no-console: "off" */ - -var asynckit = require('./') - , async = require('async') - , assert = require('assert') - , expected = 0 - ; - -var Benchmark = require('benchmark'); -var suite = new Benchmark.Suite; - -var source = []; -for (var z = 1; z < 100; z++) -{ - source.push(z); - expected += z; -} - -suite -// add tests - -.add('async.map', function(deferred) -{ - var total = 0; - - async.map(source, - function(i, cb) - { - setImmediate(function() - { - total += i; - cb(null, total); - }); - }, - function(err, result) - { - assert.ifError(err); - assert.equal(result[result.length - 1], expected); - deferred.resolve(); - }); -}, {'defer': true}) - - -.add('asynckit.parallel', function(deferred) -{ - var total = 0; - - asynckit.parallel(source, - function(i, cb) - { - setImmediate(function() - { - total += i; - cb(null, total); - }); - }, - function(err, result) - { - assert.ifError(err); - assert.equal(result[result.length - 1], expected); - deferred.resolve(); - }); -}, {'defer': true}) - - -// add listeners -.on('cycle', function(ev) -{ - console.log(String(ev.target)); -}) -.on('complete', function() -{ - console.log('Fastest is ' + this.filter('fastest').map('name')); -}) -// run async -.run({ 'async': true }); diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/bench.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/bench.min.js deleted file mode 100644 index c844788..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/bench.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/bench.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -for(var asynckit=require("./"),async=require("async"),assert=require("assert"),expected=0,Benchmark=require("benchmark"),suite=new Benchmark.Suite,source=[],z=1;z<100;z++)source.push(z),expected+=z;suite.add("async.map",(function(e){var n=0;async.map(source,(function(e,t){setImmediate((function(){t(null,n+=e)}))}),(function(n,t){assert.ifError(n),assert.equal(t[t.length-1],expected),e.resolve()}))}),{defer:!0}).add("asynckit.parallel",(function(e){var n=0;asynckit.parallel(source,(function(e,t){setImmediate((function(){t(null,n+=e)}))}),(function(n,t){assert.ifError(n),assert.equal(t[t.length-1],expected),e.resolve()}))}),{defer:!0}).on("cycle",(function(e){console.log(String(e.target))})).on("complete",(function(){console.log("Fastest is "+this.filter("fastest").map("name"))})).run({async:!0}); -//# sourceMappingURL=/sm/5d8a748bc59d1cf491c36b3a161c58ebbc9aa6e892886bb7b9871e07009f428f.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/index.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/index.js deleted file mode 100644 index 455f945..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/index.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = -{ - parallel : require('./parallel.js'), - serial : require('./serial.js'), - serialOrdered : require('./serialOrdered.js') -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/index.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/index.min.js deleted file mode 100644 index a383d75..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -module.exports={parallel:require("./parallel.js"),serial:require("./serial.js"),serialOrdered:require("./serialOrdered.js")}; -//# sourceMappingURL=/sm/f2adeb8dc843957dfbf3eae5900dbb337d10fcef2cf46ffca21ed3922adbdb46.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.js deleted file mode 100644 index 114367e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.js +++ /dev/null @@ -1,29 +0,0 @@ -// API -module.exports = abort; - -/** - * Aborts leftover active jobs - * - * @param {object} state - current state object - */ -function abort(state) -{ - Object.keys(state.jobs).forEach(clean.bind(state)); - - // reset leftover jobs - state.jobs = {}; -} - -/** - * Cleans up leftover job by invoking abort function for the provided job id - * - * @this state - * @param {string|number} key - job id to abort - */ -function clean(key) -{ - if (typeof this.jobs[key] == 'function') - { - this.jobs[key](); - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.min.js deleted file mode 100644 index a80d57c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/abort.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/lib/abort.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -function abort(o){Object.keys(o.jobs).forEach(clean.bind(o)),o.jobs={}}function clean(o){"function"==typeof this.jobs[o]&&this.jobs[o]()}module.exports=abort; -//# sourceMappingURL=/sm/afafbf357abc9f6cda25b4838d27a11927dab7e758ac49866b761850509441f8.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.js deleted file mode 100644 index 7f1288a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.js +++ /dev/null @@ -1,34 +0,0 @@ -var defer = require('./defer.js'); - -// API -module.exports = async; - -/** - * Runs provided callback asynchronously - * even if callback itself is not - * - * @param {function} callback - callback to invoke - * @returns {function} - augmented callback - */ -function async(callback) -{ - var isAsync = false; - - // check if async happened - defer(function() { isAsync = true; }); - - return function async_callback(err, result) - { - if (isAsync) - { - callback(err, result); - } - else - { - defer(function nextTick_callback() - { - callback(err, result); - }); - } - }; -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.min.js deleted file mode 100644 index 6034f99..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/async.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/lib/async.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var defer=require("./defer.js");function async(e){var n=!1;return defer((function(){n=!0})),function(r,f){n?e(r,f):defer((function(){e(r,f)}))}}module.exports=async; -//# sourceMappingURL=/sm/848c3cadaceeba12bc83e126d922e92052bfdb357f7b80767c81dd4e498c2ac7.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.js deleted file mode 100644 index b67110c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.js +++ /dev/null @@ -1,26 +0,0 @@ -module.exports = defer; - -/** - * Runs provided function on next iteration of the event loop - * - * @param {function} fn - function to run - */ -function defer(fn) -{ - var nextTick = typeof setImmediate == 'function' - ? setImmediate - : ( - typeof process == 'object' && typeof process.nextTick == 'function' - ? process.nextTick - : null - ); - - if (nextTick) - { - nextTick(fn); - } - else - { - setTimeout(fn, 0); - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.min.js deleted file mode 100644 index 06a31c1..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/defer.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/lib/defer.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -function defer(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}module.exports=defer; -//# sourceMappingURL=/sm/740c8cd3711c8b508c7cfb043316cf73e5a1c3a1259e7f1c8c18ec539bde89eb.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.js deleted file mode 100644 index 5d2839a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.js +++ /dev/null @@ -1,75 +0,0 @@ -var async = require('./async.js') - , abort = require('./abort.js') - ; - -// API -module.exports = iterate; - -/** - * Iterates over each job object - * - * @param {array|object} list - array or object (named list) to iterate over - * @param {function} iterator - iterator to run - * @param {object} state - current job status - * @param {function} callback - invoked when all elements processed - */ -function iterate(list, iterator, state, callback) -{ - // store current index - var key = state['keyedList'] ? state['keyedList'][state.index] : state.index; - - state.jobs[key] = runJob(iterator, key, list[key], function(error, output) - { - // don't repeat yourself - // skip secondary callbacks - if (!(key in state.jobs)) - { - return; - } - - // clean up jobs - delete state.jobs[key]; - - if (error) - { - // don't process rest of the results - // stop still active jobs - // and reset the list - abort(state); - } - else - { - state.results[key] = output; - } - - // return salvaged results - callback(error, state.results); - }); -} - -/** - * Runs iterator over provided job element - * - * @param {function} iterator - iterator to invoke - * @param {string|number} key - key/index of the element in the list of jobs - * @param {mixed} item - job description - * @param {function} callback - invoked after iterator is done with the job - * @returns {function|mixed} - job abort function or something else - */ -function runJob(iterator, key, item, callback) -{ - var aborter; - - // allow shortcut if iterator expects only two arguments - if (iterator.length == 2) - { - aborter = iterator(item, async(callback)); - } - // otherwise go with full three arguments - else - { - aborter = iterator(item, key, async(callback)); - } - - return aborter; -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.min.js deleted file mode 100644 index 048449b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/iterate.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/lib/iterate.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var async=require("./async.js"),abort=require("./abort.js");function iterate(e,r,t,n){var s=t.keyedList?t.keyedList[t.index]:t.index;t.jobs[s]=runJob(r,s,e[s],(function(e,r){s in t.jobs&&(delete t.jobs[s],e?abort(t):t.results[s]=r,n(e,t.results))}))}function runJob(e,r,t,n){return 2==e.length?e(t,async(n)):e(t,r,async(n))}module.exports=iterate; -//# sourceMappingURL=/sm/4dd8c5a149cf273224548c14ab38766dda281a2b9b2a095a79f8fc85ae40ac20.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.js deleted file mode 100644 index 78ad240..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.js +++ /dev/null @@ -1,91 +0,0 @@ -var streamify = require('./streamify.js') - , defer = require('./defer.js') - ; - -// API -module.exports = ReadableAsyncKit; - -/** - * Base constructor for all streams - * used to hold properties/methods - */ -function ReadableAsyncKit() -{ - ReadableAsyncKit.super_.apply(this, arguments); - - // list of active jobs - this.jobs = {}; - - // add stream methods - this.destroy = destroy; - this._start = _start; - this._read = _read; -} - -/** - * Destroys readable stream, - * by aborting outstanding jobs - * - * @returns {void} - */ -function destroy() -{ - if (this.destroyed) - { - return; - } - - this.destroyed = true; - - if (typeof this.terminator == 'function') - { - this.terminator(); - } -} - -/** - * Starts provided jobs in async manner - * - * @private - */ -function _start() -{ - // first argument – runner function - var runner = arguments[0] - // take away first argument - , args = Array.prototype.slice.call(arguments, 1) - // second argument - input data - , input = args[0] - // last argument - result callback - , endCb = streamify.callback.call(this, args[args.length - 1]) - ; - - args[args.length - 1] = endCb; - // third argument - iterator - args[1] = streamify.iterator.call(this, args[1]); - - // allow time for proper setup - defer(function() - { - if (!this.destroyed) - { - this.terminator = runner.apply(null, args); - } - else - { - endCb(null, Array.isArray(input) ? [] : {}); - } - }.bind(this)); -} - - -/** - * Implement _read to comply with Readable streams - * Doesn't really make sense for flowing object mode - * - * @private - */ -function _read() -{ - -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.min.js deleted file mode 100644 index e70078a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_asynckit.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/lib/readable_asynckit.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var streamify=require("./streamify.js"),defer=require("./defer.js");function ReadableAsyncKit(){ReadableAsyncKit.super_.apply(this,arguments),this.jobs={},this.destroy=destroy,this._start=_start,this._read=_read}function destroy(){this.destroyed||(this.destroyed=!0,"function"==typeof this.terminator&&this.terminator())}function _start(){var t=arguments[0],e=Array.prototype.slice.call(arguments,1),r=e[0],s=streamify.callback.call(this,e[e.length-1]);e[e.length-1]=s,e[1]=streamify.iterator.call(this,e[1]),defer(function(){this.destroyed?s(null,Array.isArray(r)?[]:{}):this.terminator=t.apply(null,e)}.bind(this))}function _read(){}module.exports=ReadableAsyncKit; -//# sourceMappingURL=/sm/dbbe92f66aaa33fb63db3c0bb238d0e0537f9018f352955e7edc4bbfef8a716d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.js deleted file mode 100644 index 5d2929f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.js +++ /dev/null @@ -1,25 +0,0 @@ -var parallel = require('../parallel.js'); - -// API -module.exports = ReadableParallel; - -/** - * Streaming wrapper to `asynckit.parallel` - * - * @param {array|object} list - array or object (named list) to iterate over - * @param {function} iterator - iterator to run - * @param {function} callback - invoked when all elements processed - * @returns {stream.Readable#} - */ -function ReadableParallel(list, iterator, callback) -{ - if (!(this instanceof ReadableParallel)) - { - return new ReadableParallel(list, iterator, callback); - } - - // turn on object mode - ReadableParallel.super_.call(this, {objectMode: true}); - - this._start(parallel, list, iterator, callback); -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.min.js deleted file mode 100644 index 84b8abd..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_parallel.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/lib/readable_parallel.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var parallel=require("../parallel.js");function ReadableParallel(l,a,e){if(!(this instanceof ReadableParallel))return new ReadableParallel(l,a,e);ReadableParallel.super_.call(this,{objectMode:!0}),this._start(parallel,l,a,e)}module.exports=ReadableParallel; -//# sourceMappingURL=/sm/0ff523a09553938348ef09669e2cc6afd4a929e3b2c2cb47ce0034b2a52906c1.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.js deleted file mode 100644 index 7822698..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.js +++ /dev/null @@ -1,25 +0,0 @@ -var serial = require('../serial.js'); - -// API -module.exports = ReadableSerial; - -/** - * Streaming wrapper to `asynckit.serial` - * - * @param {array|object} list - array or object (named list) to iterate over - * @param {function} iterator - iterator to run - * @param {function} callback - invoked when all elements processed - * @returns {stream.Readable#} - */ -function ReadableSerial(list, iterator, callback) -{ - if (!(this instanceof ReadableSerial)) - { - return new ReadableSerial(list, iterator, callback); - } - - // turn on object mode - ReadableSerial.super_.call(this, {objectMode: true}); - - this._start(serial, list, iterator, callback); -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.min.js deleted file mode 100644 index 3e3074a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/lib/readable_serial.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var serial=require("../serial.js");function ReadableSerial(e,a,l){if(!(this instanceof ReadableSerial))return new ReadableSerial(e,a,l);ReadableSerial.super_.call(this,{objectMode:!0}),this._start(serial,e,a,l)}module.exports=ReadableSerial; -//# sourceMappingURL=/sm/6968858dcba5c02891e38a24114ff45934b0838ba624c1e30818e61a6392ecc9.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.js deleted file mode 100644 index 3de89c4..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.js +++ /dev/null @@ -1,29 +0,0 @@ -var serialOrdered = require('../serialOrdered.js'); - -// API -module.exports = ReadableSerialOrdered; -// expose sort helpers -module.exports.ascending = serialOrdered.ascending; -module.exports.descending = serialOrdered.descending; - -/** - * Streaming wrapper to `asynckit.serialOrdered` - * - * @param {array|object} list - array or object (named list) to iterate over - * @param {function} iterator - iterator to run - * @param {function} sortMethod - custom sort function - * @param {function} callback - invoked when all elements processed - * @returns {stream.Readable#} - */ -function ReadableSerialOrdered(list, iterator, sortMethod, callback) -{ - if (!(this instanceof ReadableSerialOrdered)) - { - return new ReadableSerialOrdered(list, iterator, sortMethod, callback); - } - - // turn on object mode - ReadableSerialOrdered.super_.call(this, {objectMode: true}); - - this._start(serialOrdered, list, iterator, sortMethod, callback); -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.min.js deleted file mode 100644 index 688d7bb..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/readable_serial_ordered.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/lib/readable_serial_ordered.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var serialOrdered=require("../serialOrdered.js");function ReadableSerialOrdered(e,r,d,a){if(!(this instanceof ReadableSerialOrdered))return new ReadableSerialOrdered(e,r,d,a);ReadableSerialOrdered.super_.call(this,{objectMode:!0}),this._start(serialOrdered,e,r,d,a)}module.exports=ReadableSerialOrdered,module.exports.ascending=serialOrdered.ascending,module.exports.descending=serialOrdered.descending; -//# sourceMappingURL=/sm/056b623fbd8dfd0d5a6d5ac866b427455ef5d9a3a4443961a551eee056283f5a.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.js deleted file mode 100644 index cbea7ad..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.js +++ /dev/null @@ -1,37 +0,0 @@ -// API -module.exports = state; - -/** - * Creates initial state object - * for iteration over list - * - * @param {array|object} list - list to iterate over - * @param {function|null} sortMethod - function to use for keys sort, - * or `null` to keep them as is - * @returns {object} - initial state object - */ -function state(list, sortMethod) -{ - var isNamedList = !Array.isArray(list) - , initState = - { - index : 0, - keyedList: isNamedList || sortMethod ? Object.keys(list) : null, - jobs : {}, - results : isNamedList ? {} : [], - size : isNamedList ? Object.keys(list).length : list.length - } - ; - - if (sortMethod) - { - // sort array keys based on it's values - // sort object's keys just on own merit - initState.keyedList.sort(isNamedList ? sortMethod : function(a, b) - { - return sortMethod(list[a], list[b]); - }); - } - - return initState; -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.min.js deleted file mode 100644 index f8ad6ea..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/state.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/lib/state.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -function state(e,t){var s=!Array.isArray(e),r={index:0,keyedList:s||t?Object.keys(e):null,jobs:{},results:s?{}:[],size:s?Object.keys(e).length:e.length};return t&&r.keyedList.sort(s?t:function(s,r){return t(e[s],e[r])}),r}module.exports=state; -//# sourceMappingURL=/sm/f449622f48e353d51ecc5586b83ec3b1744bebab68dcfdc1b1cbf9bdee3061cc.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.js deleted file mode 100644 index f56a1c9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.js +++ /dev/null @@ -1,141 +0,0 @@ -var async = require('./async.js'); - -// API -module.exports = { - iterator: wrapIterator, - callback: wrapCallback -}; - -/** - * Wraps iterators with long signature - * - * @this ReadableAsyncKit# - * @param {function} iterator - function to wrap - * @returns {function} - wrapped function - */ -function wrapIterator(iterator) -{ - var stream = this; - - return function(item, key, cb) - { - var aborter - , wrappedCb = async(wrapIteratorCallback.call(stream, cb, key)) - ; - - stream.jobs[key] = wrappedCb; - - // it's either shortcut (item, cb) - if (iterator.length == 2) - { - aborter = iterator(item, wrappedCb); - } - // or long format (item, key, cb) - else - { - aborter = iterator(item, key, wrappedCb); - } - - return aborter; - }; -} - -/** - * Wraps provided callback function - * allowing to execute snitch function before - * real callback - * - * @this ReadableAsyncKit# - * @param {function} callback - function to wrap - * @returns {function} - wrapped function - */ -function wrapCallback(callback) -{ - var stream = this; - - var wrapped = function(error, result) - { - return finisher.call(stream, error, result, callback); - }; - - return wrapped; -} - -/** - * Wraps provided iterator callback function - * makes sure snitch only called once, - * but passes secondary calls to the original callback - * - * @this ReadableAsyncKit# - * @param {function} callback - callback to wrap - * @param {number|string} key - iteration key - * @returns {function} wrapped callback - */ -function wrapIteratorCallback(callback, key) -{ - var stream = this; - - return function(error, output) - { - // don't repeat yourself - if (!(key in stream.jobs)) - { - callback(error, output); - return; - } - - // clean up jobs - delete stream.jobs[key]; - - return streamer.call(stream, error, {key: key, value: output}, callback); - }; -} - -/** - * Stream wrapper for iterator callback - * - * @this ReadableAsyncKit# - * @param {mixed} error - error response - * @param {mixed} output - iterator output - * @param {function} callback - callback that expects iterator results - */ -function streamer(error, output, callback) -{ - if (error && !this.error) - { - this.error = error; - this.pause(); - this.emit('error', error); - // send back value only, as expected - callback(error, output && output.value); - return; - } - - // stream stuff - this.push(output); - - // back to original track - // send back value only, as expected - callback(error, output && output.value); -} - -/** - * Stream wrapper for finishing callback - * - * @this ReadableAsyncKit# - * @param {mixed} error - error response - * @param {mixed} output - iterator output - * @param {function} callback - callback that expects final results - */ -function finisher(error, output, callback) -{ - // signal end of the stream - // only for successfully finished streams - if (!error) - { - this.push(null); - } - - // back to original track - callback(error, output); -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.min.js deleted file mode 100644 index 09287dc..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/streamify.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/lib/streamify.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var async=require("./async.js");function wrapIterator(r){var t=this;return function(a,e,n){var i=async(wrapIteratorCallback.call(t,n,e));return t.jobs[e]=i,2==r.length?r(a,i):r(a,e,i)}}function wrapCallback(r){var t=this;return function(a,e){return finisher.call(t,a,e,r)}}function wrapIteratorCallback(r,t){var a=this;return function(e,n){if(t in a.jobs)return delete a.jobs[t],streamer.call(a,e,{key:t,value:n},r);r(e,n)}}function streamer(r,t,a){if(r&&!this.error)return this.error=r,this.pause(),this.emit("error",r),void a(r,t&&t.value);this.push(t),a(r,t&&t.value)}function finisher(r,t,a){r||this.push(null),a(r,t)}module.exports={iterator:wrapIterator,callback:wrapCallback}; -//# sourceMappingURL=/sm/e6e37fc28e41d1ec65499c6a1c13a58194737b4f8bbc8ae75f3f6aef80fe8cd6.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.js deleted file mode 100644 index d6eb992..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.js +++ /dev/null @@ -1,29 +0,0 @@ -var abort = require('./abort.js') - , async = require('./async.js') - ; - -// API -module.exports = terminator; - -/** - * Terminates jobs in the attached state context - * - * @this AsyncKitState# - * @param {function} callback - final callback to invoke after termination - */ -function terminator(callback) -{ - if (!Object.keys(this.jobs).length) - { - return; - } - - // fast forward iteration index - this.index = this.size; - - // abort jobs - abort(this); - - // send back results we have so far - async(callback)(null, this.results); -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.min.js deleted file mode 100644 index 3975314..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/lib/terminator.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/lib/terminator.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var abort=require("./abort.js"),async=require("./async.js");function terminator(t){Object.keys(this.jobs).length&&(this.index=this.size,abort(this),async(t)(null,this.results))}module.exports=terminator; -//# sourceMappingURL=/sm/26ef7b9c32be794b0078643e2c6c92b180b0bf24d303c6ea2946d526e812e1cb.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/package.json b/Lombiq.EInvoiceValidator/node_modules/asynckit/package.json deleted file mode 100644 index de07c45..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/package.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "name": "asynckit", - "version": "0.5.0", - "description": "Minimal async jobs utility library, with streams support", - "main": "index.js", - "scripts": { - "clean": "rimraf coverage", - "lint": "eslint *.js lib/*.js test/*.js", - "test": "istanbul cover --reporter=json tape -- 'test/test-*.js' | tap-spec", - "win-test": "tape test/test-*.js", - "browser": "browserify -t browserify-istanbul test/lib/browserify_adjustment.js test/test-*.js | obake --coverage | tap-spec", - "report": "istanbul report", - "size": "browserify index.js | size-table asynckit", - "debug": "tape test/test-*.js" - }, - "pre-commit": [ - "clean", - "lint", - "test", - "browser", - "report", - "size" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/alexindigo/asynckit.git" - }, - "keywords": [ - "async", - "jobs", - "parallel", - "serial", - "iterator", - "array", - "object", - "stream", - "destroy", - "terminate", - "abort" - ], - "author": "Alex Indigo ", - "license": "MIT", - "bugs": { - "url": "https://github.com/alexindigo/asynckit/issues" - }, - "homepage": "https://github.com/alexindigo/asynckit#readme", - "devDependencies": { - "browserify": "^13.0.0", - "browserify-istanbul": "^2.0.0", - "coveralls": "^2.11.9", - "eslint": "^2.9.0", - "istanbul": "^0.4.3", - "obake": "^0.1.2", - "phantomjs-prebuilt": "^2.1.7", - "pre-commit": "^1.1.3", - "reamde": "^1.1.0", - "rimraf": "^2.5.2", - "size-table": "^0.2.0", - "tap-spec": "^4.1.1", - "tape": "^4.5.1" - }, - "dependencies": {}, - "sideEffects": false -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.js deleted file mode 100644 index 3c50344..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.js +++ /dev/null @@ -1,43 +0,0 @@ -var iterate = require('./lib/iterate.js') - , initState = require('./lib/state.js') - , terminator = require('./lib/terminator.js') - ; - -// Public API -module.exports = parallel; - -/** - * Runs iterator over provided array elements in parallel - * - * @param {array|object} list - array or object (named list) to iterate over - * @param {function} iterator - iterator to run - * @param {function} callback - invoked when all elements processed - * @returns {function} - jobs terminator - */ -function parallel(list, iterator, callback) -{ - var state = initState(list); - - while (state.index < (state['keyedList'] || list).length) - { - iterate(list, iterator, state, function(error, result) - { - if (error) - { - callback(error, result); - return; - } - - // looks like it's the last one - if (Object.keys(state.jobs).length === 0) - { - callback(null, state.results); - return; - } - }); - - state.index++; - } - - return terminator.bind(state, callback); -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.min.js deleted file mode 100644 index 7d29780..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/parallel.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/parallel.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var iterate=require("./lib/iterate.js"),initState=require("./lib/state.js"),terminator=require("./lib/terminator.js");function parallel(e,t,r){for(var i=initState(e);i.index<(i.keyedList||e).length;)iterate(e,t,i,(function(e,t){e?r(e,t):0!==Object.keys(i.jobs).length||r(null,i.results)})),i.index++;return terminator.bind(i,r)}module.exports=parallel; -//# sourceMappingURL=/sm/27940261061d7b43452ba7bfb5bc6639cec96ad9ba232f5d66b8c15d624df2ce.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/serial.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/serial.js deleted file mode 100644 index 6cd949a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/serial.js +++ /dev/null @@ -1,17 +0,0 @@ -var serialOrdered = require('./serialOrdered.js'); - -// Public API -module.exports = serial; - -/** - * Runs iterator over provided array elements in series - * - * @param {array|object} list - array or object (named list) to iterate over - * @param {function} iterator - iterator to run - * @param {function} callback - invoked when all elements processed - * @returns {function} - jobs terminator - */ -function serial(list, iterator, callback) -{ - return serialOrdered(list, iterator, null, callback); -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/serial.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/serial.min.js deleted file mode 100644 index c238066..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/serial.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/serial.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var serialOrdered=require("./serialOrdered.js");function serial(r,e,l){return serialOrdered(r,e,null,l)}module.exports=serial; -//# sourceMappingURL=/sm/cd9ce33240d6d9c5ba45c1f3e46f73f503d8550772edef7cfeda39093088141e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.js deleted file mode 100644 index 607eafe..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.js +++ /dev/null @@ -1,75 +0,0 @@ -var iterate = require('./lib/iterate.js') - , initState = require('./lib/state.js') - , terminator = require('./lib/terminator.js') - ; - -// Public API -module.exports = serialOrdered; -// sorting helpers -module.exports.ascending = ascending; -module.exports.descending = descending; - -/** - * Runs iterator over provided sorted array elements in series - * - * @param {array|object} list - array or object (named list) to iterate over - * @param {function} iterator - iterator to run - * @param {function} sortMethod - custom sort function - * @param {function} callback - invoked when all elements processed - * @returns {function} - jobs terminator - */ -function serialOrdered(list, iterator, sortMethod, callback) -{ - var state = initState(list, sortMethod); - - iterate(list, iterator, state, function iteratorHandler(error, result) - { - if (error) - { - callback(error, result); - return; - } - - state.index++; - - // are we there yet? - if (state.index < (state['keyedList'] || list).length) - { - iterate(list, iterator, state, iteratorHandler); - return; - } - - // done here - callback(null, state.results); - }); - - return terminator.bind(state, callback); -} - -/* - * -- Sort methods - */ - -/** - * sort helper to sort array elements in ascending order - * - * @param {mixed} a - an item to compare - * @param {mixed} b - an item to compare - * @returns {number} - comparison result - */ -function ascending(a, b) -{ - return a < b ? -1 : a > b ? 1 : 0; -} - -/** - * sort helper to sort array elements in descending order - * - * @param {mixed} a - an item to compare - * @param {mixed} b - an item to compare - * @returns {number} - comparison result - */ -function descending(a, b) -{ - return -1 * ascending(a, b); -} diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.min.js deleted file mode 100644 index 6a681c7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/serialOrdered.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/serialOrdered.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var iterate=require("./lib/iterate.js"),initState=require("./lib/state.js"),terminator=require("./lib/terminator.js");function serialOrdered(e,n,t,i){var r=initState(e,t);return iterate(e,n,r,(function t(d,s){d?i(d,s):(r.index++,r.index<(r.keyedList||e).length?iterate(e,n,r,t):i(null,r.results))})),terminator.bind(r,i)}function ascending(e,n){return en?1:0}function descending(e,n){return-1*ascending(e,n)}module.exports=serialOrdered,module.exports.ascending=ascending,module.exports.descending=descending; -//# sourceMappingURL=/sm/d7b25aa8c103105e68d20bb63c93b742de6496fbfd022de2d955c89a1942f114.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/stream.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/stream.js deleted file mode 100644 index d43465f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/stream.js +++ /dev/null @@ -1,21 +0,0 @@ -var inherits = require('util').inherits - , Readable = require('stream').Readable - , ReadableAsyncKit = require('./lib/readable_asynckit.js') - , ReadableParallel = require('./lib/readable_parallel.js') - , ReadableSerial = require('./lib/readable_serial.js') - , ReadableSerialOrdered = require('./lib/readable_serial_ordered.js') - ; - -// API -module.exports = -{ - parallel : ReadableParallel, - serial : ReadableSerial, - serialOrdered : ReadableSerialOrdered, -}; - -inherits(ReadableAsyncKit, Readable); - -inherits(ReadableParallel, ReadableAsyncKit); -inherits(ReadableSerial, ReadableAsyncKit); -inherits(ReadableSerialOrdered, ReadableAsyncKit); diff --git a/Lombiq.EInvoiceValidator/node_modules/asynckit/stream.min.js b/Lombiq.EInvoiceValidator/node_modules/asynckit/stream.min.js deleted file mode 100644 index 2ef517f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/asynckit/stream.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/asynckit@0.5.0/stream.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var inherits=require("util").inherits,Readable=require("stream").Readable,ReadableAsyncKit=require("./lib/readable_asynckit.js"),ReadableParallel=require("./lib/readable_parallel.js"),ReadableSerial=require("./lib/readable_serial.js"),ReadableSerialOrdered=require("./lib/readable_serial_ordered.js");module.exports={parallel:ReadableParallel,serial:ReadableSerial,serialOrdered:ReadableSerialOrdered},inherits(ReadableAsyncKit,Readable),inherits(ReadableParallel,ReadableAsyncKit),inherits(ReadableSerial,ReadableAsyncKit),inherits(ReadableSerialOrdered,ReadableAsyncKit); -//# sourceMappingURL=/sm/1a4d9b6b601dd4974224d535dfb53a1e4a87906a769eddb154acb62a0d319161.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/axios/CHANGELOG.md deleted file mode 100644 index b190d0b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/CHANGELOG.md +++ /dev/null @@ -1,1872 +0,0 @@ -# Changelog - -## v1.18.0 — June 13, 2026 - -This release hardens redirect and URL handling, improves the validateStatus configuration semantics, and includes updates to documentation, dependencies, and release metadata. - -## 🔒 Security Fixes - -* **Redirect Header Safety:** Added Node HTTP adapter support for stripping caller-specified sensitive headers on cross-origin redirects, helping prevent custom auth headers such as API keys from leaking to another origin. (__#10892__) - -* **URL And Request Hardening:** Rejects malformed `http:` and `https:` URLs that omit `//` with `ERR_INVALID_URL`, while tightening prototype-pollution-safe config reads, stream size limits, FormData depth handling, data URL sizing, and local `NO_PROXY` matching. (__#11000__) - -## 🐛 Bug Fixes - -* **Status Validation:** Added `transitional.validateStatusUndefinedResolves` so applications can opt in to treating `validateStatus: undefined` like the option was omitted, while `validateStatus: null` remains the explicit way to accept every status. (__#10899__) - -## 🔧 Maintenance & Chores - -* **Documentation:** Published the v1.17.0 release notes, fixed a changelog typo, clarified the package update PR policy, and marked the `proxy` request config as Node.js-only in the advanced docs. (__#10984__, __#10988__, __#10992__, __#10995__) - -* **Dependencies:** Bumped `@babel/core`, `@babel/preset-env`, `@commitlint/cli`, `@commitlint/config-conventional`, `@rollup/plugin-babel`, `@rollup/plugin-commonjs`, `@vitest/browser`, `@vitest/browser-playwright`, `eslint`, `lint-staged`, `rollup`, `vitest`, and `actions/checkout`. (__#10989__, __#10996__, __#10997__) - -* **Release Metadata:** Prepared the 1.18.0 release by updating package metadata and the runtime `VERSION` value. (__#11003__) - -## 🌟 New Contributors - -We are thrilled to welcome our new contributors. Thank you for helping improve axios: - -* __@drori12__ (__#10984__) -* __@eyupcanakman__ (__#10899__) -* __@Adi-Beker__ (__#10995__) - -[Full Changelog](https://github.com/axios/axios/compare/v1.17.0...v1.18.0) - -## v1.17.0 — June 1, 2026 - -This release adds Node HTTP zstd decompression, hardens config and release workflows, and fixes authentication, header, proxy, and type-handling regressions. - -## 🔒 Security Fixes - -* **Config Hardening:** Guarded `socketPath`, `params`, and `paramsSerializer` reads with own-property checks to prevent inherited prototype values from affecting request behavior, including SSRF-sensitive paths. (__#10901__, __#10922__) -* **Release Publishing:** Switched the publish workflow to npm staged publishing for safer, auditable package releases with provenance. (__#10926__) - -## 🚀 New Features - -* **HTTP Compression:** Added Node HTTP adapter support for zstd response decompression, with `transitional.advertiseZstdAcceptEncoding` controlling whether `zstd` is advertised in `Accept-Encoding`. (__#6792__, __#10920__) - -## 🐛 Bug Fixes - -* **Authentication Handling:** Restored Basic auth on same-origin Node redirects while continuing to strip credentials cross-origin, and aligned the fetch adapter with HTTP adapter behavior for URL-embedded Basic auth. (__#10929__, __#10896__) -* **Proxy TLS:** Preserved user `httpsAgent` TLS options when tunneling HTTPS requests through HTTP CONNECT proxies. (__#10957__) -* **React Native FormData:** Cleared default `Content-Type` for React Native `FormData` so multipart boundaries can be generated correctly. (__#10898__) -* **Headers:** Silently skipped empty or whitespace-only header names instead of throwing, matching parsed-header behavior and avoiding React Native response crashes. (__#10875__) -* **Request Data Merging:** Preserved enumerable symbol keys when cloning plain request data through axios merge logic. (__#10812__) -* **Bundler Compatibility:** Converted `resolveConfig` from an arrow default export to a named function export to avoid webpack and Babel transform interop failures. (__#10891__) -* **Types:** Corrected `AxiosHeaders.toJSON()` return types and updated CommonJS `isCancel` typings to narrow to `CanceledError`. (__#10956__, __#10952__) -* **Build Tooling:** Avoided emitting a null `Authorization` header from the GitHub build helper when `GITHUB_TOKEN` is unset. (__#10931__) - -## 🔧 Maintenance & Chores - -* **HTTP/2 Internals:** Extracted `Http2Sessions` into its own helper module and added direct unit coverage for session pooling, timeout, and cleanup behavior. (__#10861__) -* **Package Publishing:** Reduced published package size by switching to a `files` allowlist and dropping unneeded unminified bundle source maps. (__#10939__) -* **CI and Release Automation:** Added bundle-size reporting, moved reports to the job summary, fixed bundle-size comparison coverage, added Node 26 to the matrix, pinned npm for staged publishing, and prepared the 1.17.0 release. (__#10907__, __#10911__, __#10916__, __#10927__, __#10935__, __#10983__) -* **Developer Workflow:** Added a dev container and iterated on OpenSpec workflow files before removing them from the release branch. (__#10925__, __#10914__, __#10958__) -* **Documentation and Policy:** Updated disclosure, contributor, collaboration, threat-model, advanced docs, README badges, release notes, moderator configuration, and project metadata. (__#10890__, __#10889__, __#10921__, __#10945__, __#10905__, __#10933__, __#10915__, __#10887__, __#10955__) -* **Dependencies:** Bumped Babel tooling, Commitlint, ESLint, Rollup, Globals, Vitest, Playwright, `fs-extra`, `qs`, docs dependencies, and GitHub Actions dependencies including `actions/dependency-review-action` and `zizmorcore/zizmor-action`. (__#10871__, __#10879__, __#10918__, __#10919__, __#10934__, __#10947__, __#10954__, __#10960__) - -## 🌟 New Contributors - -We are thrilled to welcome our new contributors. Thank you for helping improve axios: - -* __@BasixKOR__ (__#6792__) -* __@carladams1299-lab__ (__#10861__) -* __@LaplaceYoung__ (__#10812__) -* __@JamieMagee__ (__#10939__) -* __@RonGamzu__ (__#10905__) -* __@sapirbaruch__ (__#10891__) -* __@nezukoagent__ (__#10901__) -* __@devareddy05__ (__#10929__) -* __@Mohammad-Faiz-Cloud-Engineer__ (__#10922__) -* __@azandabot__ (__#10931__) -* __@niksy__ (__#10896__) - -[Full Changelog](https://github.com/axios/axios/compare/v1.16.1...v1.17.0) - -## v1.16.1 — May 13, 2026 - -This release ships a defence-in-depth fix for prototype pollution in `formDataToJSON`, hardens proxy and CI workflows, restores Webpack 4 compatibility for the fetch adapter, and includes several small bug fixes and maintenance improvements. - -## 🔒 Security Fixes - -* **Prototype Pollution Defence-in-Depth:** Hardened `formDataToJSON` against already-polluted `Object.prototype` by walking own properties only, so attacker-controlled keys inherited from a poisoned prototype cannot propagate through deserialization. (__#7413__) -* **Proxy Cleartext Leak:** Fixed an issue where HTTPS request data could be transmitted in cleartext to an HTTP proxy under certain configurations. (__#10858__) -* **CI Cache Removal:** Removed all GitHub Actions caches as a defence-in-depth measure against cache poisoning vectors in the build pipeline. (__#10882__) - -## 🐛 Bug Fixes - -* **Data URI Parsing:** Updated the `fromDataURI` regex to match RFC 2397 more strictly, fixing edge cases in `data:` URL handling. (__#10829__) -* **Unicode Headers:** Preserved Unicode header values when running through request interceptors, so non-ASCII header content is no longer corrupted before dispatch. (__#10850__) -* **XHR Upload Progress:** Guarded against malformed `ProgressEvent` payloads emitted by some environments during XHR upload, preventing crashes when `loaded` / `total` are missing or invalid. (__#10868__) -* **Webpack 4 Fetch Adapter:** Fixed an "unexpected token" error caused by syntax in the fetch adapter that Webpack 4 could not parse, restoring compatibility for legacy bundler users. (__#10864__) -* **Type Definitions:** Made `parseReviver` `context.source` optional in the type definitions to align with the ES2023 specification. (__#10837__) -* **URL Object Support Reverted:** Reverted the change that allowed passing a `URL` object as `config.url` (originally __#10866__) due to regressions; this support will be reintroduced in a later release once the underlying issues are addressed. (__#10874__) - -## 🔧 Maintenance & Chores - -* **Cycle Detection Refactor:** Replaced the array-based cycle tracker in `toJSONObject` with a `WeakSet`, improving performance and memory behaviour on large nested structures. (__#10832__) -* **composeSignals Cleanup:** Refactored `composeSignals` to use a clearer early-return structure, simplifying the cancellation/abort composition path. (__#10844__) -* **AI Readiness & Repo Docs:** Added `AGENTS.md` and related contributor-guide updates for both human and AI agents, plus post-release documentation improvements. (__#10835__, __#10841__) -* **Docs Improvements:** Clarified the GET request example, fixed the interceptor `eject` example to reference the correct instance, and corrected the Buzzoid sponsor description in the README. (__#10836__, __#10853__, __#10856__) -* **Sponsorship Tooling:** Fixed empty sponsor arrays in the sponsor processing script, added the ability to inject additional sponsors, updated the sponsorship link, and added a Twicsy advertisement entry. (__#10843__, __#10859__, __#10869__) -* **Dependencies:** Bumped `@commitlint/cli` from 20.5.0 to 20.5.2. (__#10846__) - -## 🌟 New Contributors - -We are thrilled to welcome our new contributors. Thank you for helping improve axios: - -* __@hpinmetaverse__ (__#10836__) -* __@tommyhgunz14__ (__#7413__) -* __@abhu85__ (__#10829__) -* __@divyanshuraj1095__ (__#10853__) -* __@sagodi97__ (__#10856__) -* __@rkdfx__ (__#10868__) -* __@Liuwei1125__ (__#10866__) - -[Full Changelog](https://github.com/axios/axios/compare/v1.16.0...v1.16.1) - -## v1.16.0 — May 2, 2026 - -This release adds support for the QUERY HTTP method and a new `ECONNREFUSED` error constant, lands a substantial wave of HTTP, fetch, and XHR adapter bug fixes around redirects, aborts, headers, and timeouts, and welcomes 23 new contributors. - -## ⚠️ Notable Changes - -A handful of fixes in this release are either security-adjacent or change observable behaviour. Please review before upgrading: - -- **Fetch adapter now enforces `maxBodyLength` and `maxContentLength`.** These limits were silently ignored on the fetch adapter prior to 1.16.0 — anyone relying on them as a safety net (DoS protection, accidental large uploads) had no protection. (**#10795**) -- **Proxy requests now preserve user-supplied `Host` headers.** Previously, the proxy path could overwrite a custom `Host`. Virtual-host-style routing through a proxy will now behave correctly. (**#10822**) -- **Basic auth credentials embedded in URLs are now URL-decoded.** If you have percent-encoded credentials in a URL (e.g. `https://user:p%40ss@host`), the decoded value is what now goes on the wire. (**#10825**) -- **`parseProtocol` now strictly requires a colon in the protocol separator.** Strings that loosely parsed as protocols before may no longer match. (**#10729**) -- **Deprecated `unescape()` replaced with modern UTF-8 encoding.** Non-ASCII URL handling is now spec-correct; consumers depending on legacy `unescape()` quirks may see different output bytes. (**#7378**) -- **`transformRequest` input typing change was reverted.** The typing change introduced in #10745 was reverted in #10810 after follow-up review — net behavior is unchanged from 1.15.2. (**#10745**, **#10810**) - -## 🚀 New Features - -- **QUERY HTTP Method:** Added support for the QUERY HTTP method across adapters and type definitions. (**#10802**) -- **ECONNREFUSED Error Constant:** Exposed `ECONNREFUSED` as a constant on `AxiosError` so callers can match connection-refused failures without comparing string literals (closes #6485). (**#10680**) -- **Encode Helper Export:** Exported the internal `encode` helper from `buildURL` so userland param serializers can reuse the same encoding logic that axios uses internally. (**#6897**) - -## 🐛 Bug Fixes - -- **HTTP Adapter — Redirects & Headers:** Cleared stale headers when a redirect targets a no-proxy host, fixed the redirect listener chain so listeners no longer stack across hops, restored the missing `requestDetails` argument on `beforeRedirect`, preserved user-supplied `Host` headers when forwarding through a proxy, and properly URL-decoded basic auth credentials. (**#10794**, **#10800**, **#6241**, **#10822**, **#10825**) -- **HTTP Adapter — Streams & Timeouts:** Preserved the partial response object on `AxiosError` when a stream is aborted after headers arrive, honoured the `timeout` option during the connect phase when redirects are disabled, and resolved an unsettled-promise hang when an aborted request was combined with compression and `maxRedirects: 0`. (**#10708**, **#10819**, **#7149**) -- **Fetch Adapter:** Enforced `maxBodyLength` / `maxContentLength` in the fetch adapter, set the `User-Agent` header to match the HTTP adapter, preserved the original abort reason instead of replacing it with a generic error, and deferred global access so importing the module no longer throws a `TypeError` in restricted environments. (**#10795**, **#10772**, **#10806**, **#7260**) -- **XHR Adapter:** Unsubscribed the `cancelToken` and `AbortSignal` listeners on the error, timeout, and abort code paths to prevent leaked subscriptions. (**#10787**) -- **Error Handling:** Attached the parsed response to `AxiosError` when `JSON.parse` fails inside `dispatchRequest`, prevented `settle` from emitting `undefined` error codes, and tightened the `parseProtocol` regex to require a colon in the protocol separator. (**#10724**, **#7276**, **#10729**) -- **Types & Exports:** Aligned the CommonJS `CancelToken` typings with the ESM build, fixed a compiler error caused by `RawAxiosHeaders`, and re-exported `create` from the package index. (**#7414**, **#6389**, **#6460**) -- **UTF-8 Encoding:** Replaced the deprecated `unescape()` call with a modern UTF-8 encoding implementation. (**#7378**) -- **Misc Cleanup:** Resolved a batch of small inconsistencies and gadget-level issues across the codebase. (**#10833**) - -## 🔧 Maintenance & Chores - -- **Refactor — ES6 Modernisation:** Modernised the `utils` module and XHR adapter to use ES6 features, and tidied the multipart boundary error message. (**#10588**, **#7419**) -- **Tests:** Hardened the HTTP test server lifecycle to fix flaky `FormData` EPIPE failures, fixed Win32 platform support for the pipe tests, and corrected an incorrect test assumption. (**#10820**, **#10791**, **#10796**) -- **Docs:** Documented `paramsSerializer.encode` for strict RFC 3986 query encoding, updated the `parseReviver` TypeScript definitions and configuration docs for ES2023, added timeout guidance to the README's first async example, and expanded notes around the recent type changes. (**#10821**, **#10782**, **#10759**, **#10804**) -- **Reverted:** Reverted the `transformRequest` input typing change from #10745 after follow-up review. (**#10745**, **#10810**) -- **Dependencies:** Bumped `actions/setup-node`, the `github-actions` group, and `postcss` (in `/docs`) to their latest versions. (**#10785**, **#10813**, **#10814**) -- **Release:** Updated changelog and packages, and prepared the 1.16.0 release. (**#10790**, **#10834**) - -## 🌟 New Contributors - -We are thrilled to welcome our new contributors. Thank you for helping improve axios: - -- **@singhankit001** (**#10588**) -- **@cuiweixie** (**#7419**) -- **@iruizsalinas** (**#10787**) -- **@MarcosNocetti** (**#10680**) -- **@deepview-autofix** (**#10729**) -- **@atharvasingh7007** (**#10745**) -- **@OfekDanny** (**#10772**) -- **@mnahkies** (**#7414**) -- **@tboyila** (**#10759**) -- **@Kingo64** (**#6897**) -- **@ramram1048** (**#6389**) -- **@FLNacif** (**#6460**) -- **@zozo123** (**#10806**) -- **@pierluigilenoci** (**#10802**) -- **@afurm** (**#10708**) -- **@karan-lrn** (**#7378**) -- **@ebeigarts** (**#7149**) -- **@Raymondo97** (**#10782**) -- **@mixelburg** (**#10821**) -- **@ashishkr96** (**#10822**) -- **@cyphercodes** (**#10819**) -- **@Jye10032** (**#7260**) -- **@VeerShah41** (**#7276**) - -[Full Changelog](https://github.com/axios/axios/compare/v1.15.2...v1.16.0) - -## v1.15.2 - April 21, 2026 - -This release delivers prototype-pollution hardening for the Node HTTP adapter, adds an opt-in `allowedSocketPaths` allowlist to mitigate SSRF via Unix domain sockets, fixes a keep-alive socket memory leak, and ships supply-chain hardening across CI and security docs. - -## 🔒 Security Fixes - -- **Prototype Pollution Hardening (HTTP Adapter):** Hardened the Node HTTP adapter and `resolveConfig`/`mergeConfig`/validator paths to read only own properties and use null-prototype config objects, preventing polluted `auth`, `baseURL`, `socketPath`, `beforeRedirect`, and `insecureHTTPParser` from influencing requests. (**#10779**) -- **SSRF via `socketPath`:** Rejects non-string `socketPath` values and adds an opt-in `allowedSocketPaths` config option to restrict permitted Unix domain socket paths, returning `AxiosError` `ERR_BAD_OPTION_VALUE` on mismatch. (**#10777**) -- **Supply-chain Hardening:** Added `.npmrc` with `ignore-scripts=true`, lockfile lint CI, non-blocking reproducible build diff, scoped CODEOWNERS, expanded `SECURITY.md`/`THREATMODEL.md` with provenance verification (`npm audit signatures`), 60-day resolution policy, and maintainer incident-response runbook. (**#10776**) - -## 🚀 New Features - -- **`allowedSocketPaths` Config Option:** New request config option (and TypeScript types) to allowlist Unix domain socket paths used by the Node http adapter; backwards compatible when unset. (**#10777**) - -## 🐛 Bug Fixes - -- **Keep-alive Socket Memory Leak:** Installs a single per-socket `error` listener tracking the active request via `kAxiosSocketListener`/`kAxiosCurrentReq`, eliminating per-request listener accumulation, `MaxListenersExceededWarning`, and linear heap growth under concurrent or long-running keep-alive workloads (fixes #10780). (**#10788**) - -## 🔧 Maintenance & Chores - -- **Changelog:** Updated `CHANGELOG.md` with v1.15.1 release notes. (**#10781**) - -[Full Changelog](https://github.com/axios/axios/compare/v1.15.1...v1.15.2) - ---- - -## v1.15.1 - April 19, 2026 - -This release ships a coordinated set of security hardening fixes across headers, body/redirect limits, multipart handling, and XSRF/prototype-pollution vectors, alongside a broad sweep of bug fixes, test migrations, and threat-model documentation updates. - -## 🔒 Security Fixes - -- **Header Injection Hardening:** Tightened validation and sanitisation across request header construction to close the header-injection attack surface. (**#10749**) - -- **CRLF Stripping in Multipart Headers:** Correctly strips CR/LF from multipart header values to prevent injection via field names and filenames. (**#10758**) - -- **Prototype Pollution / Auth Bypass:** Replaced unsafe `in` checks with `hasOwnProperty` to prevent authentication bypass via prototype pollution on config objects, with additional regression tests. (**#10761**, **#10760**) - -- **`withXSRFToken` Truthy Bypass:** Short-circuits on any truthy non-boolean value, so an ambiguous config no longer silently leaks the XSRF token cross-origin. (**#10762**) - -- **`maxBodyLength` With Zero Redirects:** Enforces `maxBodyLength` even when `maxRedirects` is set to `0`, closing a bypass path for oversized request bodies. (**#10753**) - -- **Streamed Response `maxContentLength` Bypass:** Applies `maxContentLength` to streamed responses that previously bypassed the cap. (**#10754**) - -- **Follow-up CVE Completion:** Completes an earlier incomplete CVE fix to fully close the regression window. (**#10755**) - -## 🚀 New Features - -- **AI-Based Docs Translations:** Initial scaffold for AI-assisted translations of the documentation site. (**#10705**) - -- **`Location` Request Header Type:** Adds `Location` to `CommonRequestHeadersList` for accurate typing of redirect-aware requests. (**#7528**) - -## 🐛 Bug Fixes - -- **FormData Handling:** Removes `Content-Type` when no boundary is present on `FormData` fetch requests, supports multi-select fields, cancels `request.body` instead of the source stream on fetch abort, and fixes a recursion bug in form-data serialisation. (**#7314**, **#10676**, **#10702**, **#10726**) - -- **HTTP Adapter:** Handles socket-only request errors without leaking keep-alive listeners. (**#10576**) - -- **Progress Events:** Clamps `loaded` to `total` for computable upload/download progress events. (**#7458**) - -- **Types:** Aligns `runWhen` type with the runtime behaviour in `InterceptorManager` and makes response header keys case-insensitive. (**#7529**, **#10677**) - -- **`buildFullPath`:** Uses strict equality in the base/relative URL check. (**#7252**) - -- **`AxiosURLSearchParams` Regex:** Improves the regex used for param serialisation to avoid edge-case mismatches. (**#10736**) - -- **Resilient Value Parsing:** Parses out header/config values instead of throwing on malformed input. (**#10687**) - -- **Docs Artefact Cleanup:** Removes the docs content that was incorrectly committed. (**#10727**) - -## 🔧 Maintenance & Chores - -- **Threat Model & Security Docs:** Ongoing refinement of `THREATMODEL.md`, including Hopper security update, TLS and tag-replay wording, mitigation descriptions, decompression-bomb guidance, and further cleanup. (**#10672**, **#10715**, **#10718**, **#10722**, **#10763**, **#10765**) - -- **Test Coverage & Migration:** Expanded `shouldBypassProxy` coverage for wildcard/IPv6/edge cases, documented and tested `AxiosError.status`, and migrated `progressEventReducer` tests to Vitest. (**#10723**, **#10725**, **#10741**) - -- **Type Refactor:** Uses TypeScript utility types to deduplicate literal unions. (**#7520**) - -- **Repo & CI:** Adds `CODEOWNERS`, switches v1.x releases to an ephemeral release branch, and removes orphaned Bower support. (**#10739**, **#10738**, **#10746**) - -## 🌟 New Contributors - -We are thrilled to welcome our new contributors. Thank you for helping improve axios: - -- **@curiouscoder-cmd** (**#7252**) -- **@tryonelove** (**#7520**) -- **@darwin808** (**#7314**) -- **@zoontek** (**#10702**) -- **@AKIB473** (**#10725**) - -[Full Changelog](https://github.com/axios/axios/compare/v1.15.0...v1.15.1) - ---- - -## v1.15.0 - April 7, 2026 - -This release delivers two critical security patches targeting header injection and SSRF via proxy bypass, adds official runtime support for Deno and Bun, and includes significant CI security hardening. - -## 🔒 Security Fixes - -- **Header Injection (CRLF):** Rejects any header value containing `\r` or `\n` characters to block CRLF injection chains that could be used to exfiltrate cloud metadata (IMDS). Behavior change: headers with CR/LF now throw `"Invalid character in header content"`. (**#10660**) - -- **SSRF via `no_proxy` Bypass:** Introduces a `shouldBypassProxy` helper that normalises hostnames (strips trailing dots, handles bracketed IPv6) before evaluating `no_proxy`/`NO_PROXY` rules, closing a gap that could cause loopback or internal hosts to be inadvertently proxied. (**#10661**) - -## 🚀 New Features - -- **Deno & Bun Runtime Support:** Added full smoke test suites for Deno and Bun, with CI workflows that run both runtimes before any release is cut. (**#10652**) - -## 🐛 Bug Fixes - -- **Node.js v22 Compatibility:** Replaced deprecated `url.parse()` calls with the WHATWG `URL`/`URLSearchParams` API across examples, sandbox, and tests, eliminating `DEP0169` deprecation warnings on Node.js v22+. (**#10625**) - -## 🔧 Maintenance & Chores - -- **CI Security Hardening:** Added [zizmor](https://github.com/zizmorcore/zizmor) GitHub Actions security scanner; switched npm publish to OIDC Trusted Publishing (removing the long-lived `NODE_AUTH_TOKEN`); pinned all action references to full commit SHAs; narrowed workflow permissions to least privilege; gated the publish step behind a dedicated `npm-publish` environment; and blocked the sponsor-block workflow from running on forks. (**#10618**, **#10619**, **#10627**, **#10637**, **#10641**, **#10666**) - -- **Docs:** Clarified HTTP/2 support and the unsupported `httpVersion` option; added documentation for header case preservation; improved the `beforeRedirect` example to prevent accidental credential leakage. (**#10644**, **#10654**, **#10624**) - -- **Dependencies:** Bumped `picomatch`, `handlebars`, `serialize-javascript`, `vite` (×3), `denoland/setup-deno`, and 4 additional dev dependencies to latest versions. (**#10564**, **#10565**, **#10567**, **#10568**, **#10572**, **#10574**, **#10663**, **#10664**, **#10665**, **#10669**, **#10670**) - -## 🌟 New Contributors - -We are thrilled to welcome our new contributors. Thank you for helping improve axios: - -- **@Kilros0817** (**#10625**) -- **@shaanmajid** (**#10616**, **#10617**, **#10618**, **#10619**, **#10637**, **#10641**, **#10666**) -- **@ashstrc** (**#10624**, **#10644**) -- **@Abhi3975** (**#10589**) -- **@raashish1601** (**#10573**) - -[Full Changelog](https://github.com/axios/axios/compare/v1.14.0...v1.15.0) - ---- - -## v1.14.0 - March 27, 2026 - -This release fixes a security vulnerability in the `formidable` dependency, resolves a CommonJS compatibility regression, hardens proxy and HTTP/2 handling, and modernises the build and test toolchain. - -## 🔒 Security Fixes - -- **Formidable Vulnerability:** Upgraded `formidable` from v2 to v3 to address a reported arbitrary-file vulnerability. Updated test server and assertions to align with the v3 API. (**#7533**) - -## 🐛 Bug Fixes - -- **CommonJS Compatibility:** Restored `require('axios')` in Node.js by correcting the `main` field in `package.json` to point to the built CJS bundle. (**#7532**) - -- **Fetch Adapter:** Cancel the `ReadableStream` body after the request stream capability probe to prevent resource leaks. (**#7515**) - -- **Proxy:** Upgraded `proxy-from-env` to v2 and switched to the named `getProxyForUrl` export, fixing proxy detection from environment variables and resolving CJS bundling errors. (**#7499**) - -- **HTTP/2:** Close detached HTTP/2 sessions on timeout to free resources when no new requests arrive. (**#7457**) - -- **Headers:** Trim trailing CRLF characters from normalised header values. (**#7456**) - -## 🔧 Maintenance & Chores - -- **Toolchain Modernisation:** Migrated test suite to Vitest, updated ESLint to v10, upgraded Rollup and `@rollup/plugin-babel`, migrated to Husky 9, upgraded TypeScript to latest, and modernised the Express test harness. (**#7484**, **#7489**, **#7498**, **#7505**, **#7506**, **#7507**, **#7508**, **#7509**, **#7510**, **#7516**, **#7522**) - -- **Dependencies:** Bumped `multer` to v2, `minimatch`, `tar`, `pacote`, `@babel/preset-env`, and additional dev dependencies. (**#7453**, **#7480**, **#7491**, **#7504**, **#7517**, **#7531**) - -## 🌟 New Contributors - -We are thrilled to welcome our new contributors. Thank you for helping improve axios: - -- **@penkzhou** (**#7515**) -- **@aviu16** (**#7456**) -- **@fedotov** (**#7457**) - -[Full Changelog](https://github.com/axios/axios/compare/v1.13.6...v1.14.0) - ---- - -## v1.13.6 - February 27, 2026 - -This release adds React Native Blob support, fixes several enumeration and export regressions, and patches FormData detection for WeChat Mini Program environments. - -## 🚀 New Features - -- **React Native Blob Support:** Axios now correctly handles native Blob objects in React Native environments. (**#5764**) - -## 🐛 Bug Fixes - -- **AxiosError:** Fixed `AxiosError.from` not copying the `status` field from the source error. (**#7403**) - -- **AxiosError:** Made the `message` property enumerable so it appears in `JSON.stringify` output and `Object.keys`. (**#7392**) - -- **FormData Detection:** Corrected safe FormData detection for WeChat Mini Program environments. (**#7324**) - -- **React Native / Browserify Export:** Fixed broken module export that caused import failures in React Native and Browserify. (**#7386**) - -## 🔧 Maintenance & Chores - -- **Dependencies:** Migrated `@rollup/plugin-babel` from v5 to v6 and bumped the development dependencies group. (**#7424**, **#7432**) - -## 🌟 New Contributors - -We are thrilled to welcome our new contributors. Thank you for helping improve axios: - -- **@moh3n9595** (**#5764**) -- **@skrtheboss** (**#7403**) -- **@ybbus** (**#7392**) -- **@Shiwaangee** (**#7324**) -- **@Gudahtt** (**#7386**) - -[Full Changelog](https://github.com/axios/axios/compare/v1.13.5...v1.13.6) - ---- - -## v1.13.5 - February 8, 2026 - -This release patches a prototype pollution denial-of-service vulnerability, fixes a missing `status` field regression in `AxiosError`, adds interceptor ordering control, and introduces URL validation for `isAbsoluteURL`. - -## 🔒 Security Fixes - -- **Prototype Pollution (DoS):** Hardened `mergeConfig` to ignore `__proto__`, `constructor`, and `prototype` keys, preventing denial-of-service via prototype pollution when merging user-supplied config. (**#7369**) - -## 🚀 New Features - -- **`isAbsoluteURL` Validation:** Added input validation to `isAbsoluteURL` to handle malformed or unexpected input gracefully. (**#7326**) - -## 🐛 Bug Fixes - -- **AxiosError `status`:** Restored the `status` field on `AxiosError` instances, which was missing in v1.13.3 and later. (**#7368**) - -- **Interceptor Ordering:** Added a `useLegacyInterceptorOrder` option to restore pre-v1.13 interceptor execution order for applications relying on the previous behaviour. ([569f028](https://github.com/axios/axios/commit/569f028a5878faaec8d7d138ba686aac407bda4c)) - -## 🔧 Maintenance & Chores - -- **CI:** Fixed run conditions and updated workflow YAMLs. (**#7372**, **#7373**) - -- **Dependencies:** Bumped `karma-sourcemap-loader` and minor package versions. (**#7356**, **#7360**) - -## 🌟 New Contributors - -We are thrilled to welcome our new contributors. Thank you for helping improve axios: - -- **@asmitha-16** (**#7326**) - -[Full Changelog](https://github.com/axios/axios/compare/v1.13.4...v1.13.5) - ---- - -## v1.13.4 - January 27, 2026 - -Patch release fixing regressions introduced in v1.13.3, including TypeScript export compatibility and CI/build stability. - -## 🐛 Bug Fixes - -- **v1.13.3 Regressions:** Fixed multiple issues introduced by the v1.13.3 release, including broken merge configs. (**#7352**) - -- **TypeScript Exports:** Corrected TypeScript export declarations to restore proper type resolution. (**#4884**) - -## 🔧 Maintenance & Chores - -- **CI & Build:** Refactored CI pipeline and build configuration for stability. (**#7340**) - -[Full Changelog](https://github.com/axios/axios/compare/v1.13.3...v1.13.4) - ---- - -## [1.13.3](https://github.com/axios/axios/compare/v1.13.2...v1.13.3) (2026-01-20) - -### Bug Fixes - -- **http2:** Use port 443 for HTTPS connections by default. ([#7256](https://github.com/axios/axios/issues/7256)) ([d7e6065](https://github.com/axios/axios/commit/d7e60653460480ffacecf85383012ca1baa6263e)) -- **interceptor:** handle the error in the same interceptor ([#6269](https://github.com/axios/axios/issues/6269)) ([5945e40](https://github.com/axios/axios/commit/5945e40bb171d4ac4fc195df276cf952244f0f89)) -- main field in package.json should correspond to cjs artifacts ([#5756](https://github.com/axios/axios/issues/5756)) ([7373fbf](https://github.com/axios/axios/commit/7373fbff24cd92ce650d99ff6f7fe08c2e2a0a04)) -- **package.json:** add 'bun' package.json 'exports' condition. Load the Node.js build in Bun instead of the browser build ([#5754](https://github.com/axios/axios/issues/5754)) ([b89217e](https://github.com/axios/axios/commit/b89217e3e91de17a3d55e2b8f39ceb0e9d8aeda8)) -- silentJSONParsing=false should throw on invalid JSON ([#7253](https://github.com/axios/axios/issues/7253)) ([#7257](https://github.com/axios/axios/issues/7257)) ([7d19335](https://github.com/axios/axios/commit/7d19335e43d6754a1a9a66e424f7f7da259895bf)) -- turn AxiosError into a native error ([#5394](https://github.com/axios/axios/issues/5394)) ([#5558](https://github.com/axios/axios/issues/5558)) ([1c6a86d](https://github.com/axios/axios/commit/1c6a86dd2c0623ee1af043a8491dbc96d40e883b)) -- **types:** add handlers to AxiosInterceptorManager interface ([#5551](https://github.com/axios/axios/issues/5551)) ([8d1271b](https://github.com/axios/axios/commit/8d1271b49fc226ed7defd07cd577bd69a55bb13a)) -- **types:** restore AxiosError.cause type from unknown to Error ([#7327](https://github.com/axios/axios/issues/7327)) ([d8233d9](https://github.com/axios/axios/commit/d8233d9e8e9a64bfba9bbe01d475ba417510b82b)) -- unclear error message is thrown when specifying an empty proxy authorization ([#6314](https://github.com/axios/axios/issues/6314)) ([6ef867e](https://github.com/axios/axios/commit/6ef867e684adf7fb2343e3b29a79078a3c76dc29)) - -### Features - -- add `undefined` as a value in AxiosRequestConfig ([#5560](https://github.com/axios/axios/issues/5560)) ([095033c](https://github.com/axios/axios/commit/095033c626895ecdcda2288050b63dcf948db3bd)) -- add automatic minor and patch upgrades to dependabot ([#6053](https://github.com/axios/axios/issues/6053)) ([65a7584](https://github.com/axios/axios/commit/65a7584eda6164980ddb8cf5372f0afa2a04c1ed)) -- add Node.js coverage script using c8 (closes [#7289](https://github.com/axios/axios/issues/7289)) ([#7294](https://github.com/axios/axios/issues/7294)) ([ec9d94e](https://github.com/axios/axios/commit/ec9d94e9f88da13e9219acadf65061fb38ce080a)) -- added copilot instructions ([3f83143](https://github.com/axios/axios/commit/3f83143bfe617eec17f9d7dcf8bafafeeae74c26)) -- compatibility with frozen prototypes ([#6265](https://github.com/axios/axios/issues/6265)) ([860e033](https://github.com/axios/axios/commit/860e03396a536e9b926dacb6570732489c9d7012)) -- enhance pipeFileToResponse with error handling ([#7169](https://github.com/axios/axios/issues/7169)) ([88d7884](https://github.com/axios/axios/commit/88d78842541610692a04282233933d078a8a2552)) -- **types:** Intellisense for string literals in a widened union ([#6134](https://github.com/axios/axios/issues/6134)) ([f73474d](https://github.com/axios/axios/commit/f73474d02c5aa957b2daeecee65508557fd3c6e5)), closes [/github.com/microsoft/TypeScript/issues/33471#issuecomment-1376364329](https://github.com//github.com/microsoft/TypeScript/issues/33471/issues/issuecomment-1376364329) - -### Reverts - -- Revert "fix: silentJSONParsing=false should throw on invalid JSON (#7253) (#7…" (#7298) ([a4230f5](https://github.com/axios/axios/commit/a4230f5581b3f58b6ff531b6dbac377a4fd7942a)), closes [#7253](https://github.com/axios/axios/issues/7253) [#7](https://github.com/axios/axios/issues/7) [#7298](https://github.com/axios/axios/issues/7298) -- **deps:** bump peter-evans/create-pull-request from 7 to 8 in the github-actions group ([#7334](https://github.com/axios/axios/issues/7334)) ([2d6ad5e](https://github.com/axios/axios/commit/2d6ad5e48bd29b0b2b5e7e95fb473df98301543a)) - -### Contributors to this release - -- avatar [Ashvin Tiwari](https://github.com/ashvin2005 '+1752/-4 (#7218 #7218 )') -- avatar [Nikunj Mochi](https://github.com/mochinikunj '+940/-12 (#7294 #7294 )') -- avatar [Anchal Singh](https://github.com/imanchalsingh '+544/-102 (#7169 #7185 )') -- avatar [jasonsaayman](https://github.com/jasonsaayman '+317/-73 (#7334 #7298 )') -- avatar [Julian Dax](https://github.com/brodo '+99/-120 (#5558 )') -- avatar [Akash Dhar Dubey](https://github.com/AKASHDHARDUBEY '+167/-0 (#7287 #7288 )') -- avatar [Madhumita](https://github.com/madhumitaaa '+20/-68 (#7198 )') -- avatar [Tackoil](https://github.com/Tackoil '+80/-2 (#6269 )') -- avatar [Justin Dhillon](https://github.com/justindhillon '+41/-41 (#6324 #6315 )') -- avatar [Rudransh](https://github.com/Rudrxxx '+71/-2 (#7257 )') -- avatar [WuMingDao](https://github.com/WuMingDao '+36/-36 (#7215 )') -- avatar [codenomnom](https://github.com/codenomnom '+70/-0 (#7201 #7201 )') -- avatar [Nandan Acharya](https://github.com/Nandann018-ux '+60/-10 (#7272 )') -- avatar [Eric Dubé](https://github.com/KernelDeimos '+22/-40 (#7042 )') -- avatar [Tibor Pilz](https://github.com/tiborpilz '+40/-4 (#5551 )') -- avatar [Gabriel Quaresma](https://github.com/joaoGabriel55 '+31/-4 (#6314 )') -- avatar [Turadg Aleahmad](https://github.com/turadg '+23/-6 (#6265 )') -- avatar [JohnTitor](https://github.com/kiritosan '+14/-14 (#6155 )') -- avatar [rohit miryala](https://github.com/rohitmiryala '+22/-0 (#7250 )') -- avatar [Wilson Mun](https://github.com/wmundev '+20/-0 (#6053 )') -- avatar [techcodie](https://github.com/techcodie '+7/-7 (#7236 )') -- avatar [Ved Vadnere](https://github.com/Archis009 '+5/-6 (#7283 )') -- avatar [svihpinc](https://github.com/svihpinc '+5/-3 (#6134 )') -- avatar [SANDESH LENDVE](https://github.com/mrsandy1965 '+3/-3 (#7246 )') -- avatar [Lubos](https://github.com/mrlubos '+5/-1 (#7312 )') -- avatar [Jarred Sumner](https://github.com/Jarred-Sumner '+5/-1 (#5754 )') -- avatar [Adam Hines](https://github.com/thebanjomatic '+2/-1 (#5756 )') -- avatar [Subhan Kumar Rai](https://github.com/Subhan030 '+2/-1 (#7256 )') -- avatar [Joseph Frazier](https://github.com/josephfrazier '+1/-1 (#7311 )') -- avatar [KT0803](https://github.com/KT0803 '+0/-2 (#7229 )') -- avatar [Albie](https://github.com/AlbertoSadoc '+1/-1 (#5560 )') -- avatar [Jake Hayes](https://github.com/thejayhaykid '+1/-0 (#5999 )') - -## [1.13.2](https://github.com/axios/axios/compare/v1.13.1...v1.13.2) (2025-11-04) - -### Bug Fixes - -- **http:** fix 'socket hang up' bug for keep-alive requests when using timeouts; ([#7206](https://github.com/axios/axios/issues/7206)) ([8d37233](https://github.com/axios/axios/commit/8d372335f5c50ecd01e8615f2468a9eb19703117)) -- **http:** use default export for http2 module to support stubs; ([#7196](https://github.com/axios/axios/issues/7196)) ([0588880](https://github.com/axios/axios/commit/0588880ac7ddba7594ef179930493884b7e90bf5)) - -### Performance Improvements - -- **http:** fix early loop exit; ([#7202](https://github.com/axios/axios/issues/7202)) ([12c314b](https://github.com/axios/axios/commit/12c314b603e7852a157e93e47edb626a471ba6c5)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+28/-9 (#7206 #7202 )') -- avatar [Kasper Isager Dalsgarð](https://github.com/kasperisager '+9/-9 (#7196 )') - -## [1.13.1](https://github.com/axios/axios/compare/v1.13.0...v1.13.1) (2025-10-28) - -### Bug Fixes - -- **http:** fixed a regression that caused the data stream to be interrupted for responses with non-OK HTTP statuses; ([#7193](https://github.com/axios/axios/issues/7193)) ([bcd5581](https://github.com/axios/axios/commit/bcd5581d208cd372055afdcb2fd10b68ca40613c)) - -### Contributors to this release - -- avatar [Anchal Singh](https://github.com/imanchalsingh '+220/-111 (#7173 )') -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+18/-1 (#7193 )') - -# [1.13.0](https://github.com/axios/axios/compare/v1.12.2...v1.13.0) (2025-10-27) - -### Bug Fixes - -- **fetch:** prevent TypeError when config.env is undefined ([#7155](https://github.com/axios/axios/issues/7155)) ([015faec](https://github.com/axios/axios/commit/015faeca9f26db76f9562760f04bb9f8229f4db1)) -- resolve issue [#7131](https://github.com/axios/axios/issues/7131) (added spacing in mergeConfig.js) ([#7133](https://github.com/axios/axios/issues/7133)) ([9b9ec98](https://github.com/axios/axios/commit/9b9ec98548d93e9f2204deea10a5f1528bf3ce62)) - -### Features - -- **http:** add HTTP2 support; ([#7150](https://github.com/axios/axios/issues/7150)) ([d676df7](https://github.com/axios/axios/commit/d676df772244726533ca320f42e967f5af056bac)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+794/-180 (#7186 #7150 #7039 )') -- avatar [Noritaka Kobayashi](https://github.com/noritaka1166 '+24/-509 (#7032 )') -- avatar [Aviraj2929](https://github.com/Aviraj2929 '+211/-93 (#7136 #7135 #7134 #7112 )') -- avatar [prasoon patel](https://github.com/Prasoon52 '+167/-6 (#7099 )') -- avatar [Samyak Dandge](https://github.com/Samy-in '+134/-0 (#7171 )') -- avatar [Anchal Singh](https://github.com/imanchalsingh '+53/-56 (#7170 )') -- avatar [Rahul Kumar](https://github.com/jaiyankargupta '+28/-28 (#7073 )') -- avatar [Amit Verma](https://github.com/Amitverma0509 '+24/-13 (#7129 )') -- avatar [Abhishek3880](https://github.com/abhishekmaniy '+23/-4 (#7119 #7117 #7116 #7115 )') -- avatar [Dhvani Maktuporia](https://github.com/Dhvani365 '+14/-5 (#7175 )') -- avatar [Usama Ayoub](https://github.com/sam3690 '+4/-4 (#7133 )') -- avatar [ikuy1203](https://github.com/ikuy1203 '+3/-3 (#7166 )') -- avatar [Nikhil Simon Toppo](https://github.com/Kirito-Excalibur '+1/-1 (#7172 )') -- avatar [Jane Wangari](https://github.com/Wangarijane '+1/-1 (#7155 )') -- avatar [Supakorn Ieamgomol](https://github.com/Supakornn '+1/-1 (#7065 )') -- avatar [Kian-Meng Ang](https://github.com/kianmeng '+1/-1 (#7046 )') -- avatar [UTSUMI Keiji](https://github.com/k-utsumi '+1/-1 (#7037 )') - -## [1.12.2](https://github.com/axios/axios/compare/v1.12.1...v1.12.2) (2025-09-14) - -### Bug Fixes - -- **fetch:** use current global fetch instead of cached one when env fetch is not specified to keep MSW support; ([#7030](https://github.com/axios/axios/issues/7030)) ([cf78825](https://github.com/axios/axios/commit/cf78825e1229b60d1629ad0bbc8a752ff43c3f53)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+247/-16 (#7030 #7022 #7024 )') -- avatar [Noritaka Kobayashi](https://github.com/noritaka1166 '+2/-6 (#7028 #7029 )') - -## [1.12.1](https://github.com/axios/axios/compare/v1.12.0...v1.12.1) (2025-09-12) - -### Bug Fixes - -- **types:** fixed env config types; ([#7020](https://github.com/axios/axios/issues/7020)) ([b5f26b7](https://github.com/axios/axios/commit/b5f26b75bdd9afa95016fb67d0cab15fc74cbf05)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+10/-4 (#7020 )') - -# [1.12.0](https://github.com/axios/axios/compare/v1.11.0...v1.12.0) (2025-09-11) - -### Bug Fixes - -- adding build artifacts ([9ec86de](https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd)) -- dont add dist on release ([a2edc36](https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11)) -- **fetch-adapter:** set correct Content-Type for Node FormData ([#6998](https://github.com/axios/axios/issues/6998)) ([a9f47af](https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d)) -- **node:** enforce maxContentLength for data: URLs ([#7011](https://github.com/axios/axios/issues/7011)) ([945435f](https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593)) -- package exports ([#5627](https://github.com/axios/axios/issues/5627)) ([aa78ac2](https://github.com/axios/axios/commit/aa78ac23fc9036163308c0f6bd2bb885e7af3f36)) -- **params:** removing '[' and ']' from URL encode exclude characters ([#3316](https://github.com/axios/axios/issues/3316)) ([#5715](https://github.com/axios/axios/issues/5715)) ([6d84189](https://github.com/axios/axios/commit/6d84189349c43b1dcdd977b522610660cc4c7042)) -- release pr run ([fd7f404](https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2)) -- **types:** change the type guard on isCancel ([#5595](https://github.com/axios/axios/issues/5595)) ([0dbb7fd](https://github.com/axios/axios/commit/0dbb7fd4f61dc568498cd13a681fa7f907d6ec7e)) - -### Features - -- **adapter:** surface low‑level network error details; attach original error via cause ([#6982](https://github.com/axios/axios/issues/6982)) ([78b290c](https://github.com/axios/axios/commit/78b290c57c978ed2ab420b90d97350231c9e5d74)) -- **fetch:** add fetch, Request, Response env config variables for the adapter; ([#7003](https://github.com/axios/axios/issues/7003)) ([c959ff2](https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b)) -- support reviver on JSON.parse ([#5926](https://github.com/axios/axios/issues/5926)) ([2a97634](https://github.com/axios/axios/commit/2a9763426e43d996fd60d01afe63fa6e1f5b4fca)), closes [#5924](https://github.com/axios/axios/issues/5924) -- **types:** extend AxiosResponse interface to include custom headers type ([#6782](https://github.com/axios/axios/issues/6782)) ([7960d34](https://github.com/axios/axios/commit/7960d34eded2de66ffd30b4687f8da0e46c4903e)) - -### Contributors to this release - -- avatar [Willian Agostini](https://github.com/WillianAgostini '+132/-16760 (#7002 #5926 #6782 )') -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+4263/-293 (#7006 #7003 )') -- avatar [khani](https://github.com/mkhani01 '+111/-15 (#6982 )') -- avatar [Ameer Assadi](https://github.com/AmeerAssadi '+123/-0 (#7011 )') -- avatar [Emiedonmokumo Dick-Boro](https://github.com/emiedonmokumo '+55/-35 (#6998 )') -- avatar [Zeroday BYTE](https://github.com/opsysdebug '+8/-8 (#6980 )') -- avatar [Jason Saayman](https://github.com/jasonsaayman '+7/-7 (#6985 #6985 )') -- avatar [최예찬](https://github.com/HealGaren '+5/-7 (#5715 )') -- avatar [Gligor Kotushevski](https://github.com/gligorkot '+3/-1 (#5627 )') -- avatar [Aleksandar Dimitrov](https://github.com/adimit '+2/-1 (#5595 )') - -# [1.11.0](https://github.com/axios/axios/compare/v1.10.0...v1.11.0) (2025-07-22) - -### Bug Fixes - -- form-data npm package ([#6970](https://github.com/axios/axios/issues/6970)) ([e72c193](https://github.com/axios/axios/commit/e72c193722530db538b19e5ddaaa4544d226b253)) -- prevent RangeError when using large Buffers ([#6961](https://github.com/axios/axios/issues/6961)) ([a2214ca](https://github.com/axios/axios/commit/a2214ca1bc60540baf2c80573cea3a0ff91ba9d1)) -- **types:** resolve type discrepancies between ESM and CJS TypeScript declaration files ([#6956](https://github.com/axios/axios/issues/6956)) ([8517aa1](https://github.com/axios/axios/commit/8517aa16f8d082fc1d5309c642220fa736159110)) - -### Contributors to this release - -- avatar [izzy goldman](https://github.com/izzygld '+186/-93 (#6970 )') -- avatar [Manish Sahani](https://github.com/manishsahanidev '+70/-0 (#6961 )') -- avatar [Noritaka Kobayashi](https://github.com/noritaka1166 '+12/-10 (#6938 #6939 )') -- avatar [James Nail](https://github.com/jrnail23 '+13/-2 (#6956 )') -- avatar [Tejaswi1305](https://github.com/Tejaswi1305 '+1/-1 (#6894 )') - -# [1.10.0](https://github.com/axios/axios/compare/v1.9.0...v1.10.0) (2025-06-14) - -### Bug Fixes - -- **adapter:** pass fetchOptions to fetch function ([#6883](https://github.com/axios/axios/issues/6883)) ([0f50af8](https://github.com/axios/axios/commit/0f50af8e076b7fb403844789bd5e812dedcaf4ed)) -- **form-data:** convert boolean values to strings in FormData serialization ([#6917](https://github.com/axios/axios/issues/6917)) ([5064b10](https://github.com/axios/axios/commit/5064b108de336ff34862650709761b8a96d26be0)) -- **package:** add module entry point for React Native; ([#6933](https://github.com/axios/axios/issues/6933)) ([3d343b8](https://github.com/axios/axios/commit/3d343b86dc4fd0eea0987059c5af04327c7ae304)) - -### Features - -- **types:** improved fetchOptions interface ([#6867](https://github.com/axios/axios/issues/6867)) ([63f1fce](https://github.com/axios/axios/commit/63f1fce233009f5db1abf2586c145825ac98c3d7)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+30/-19 (#6933 #6920 #6893 #6892 )') -- avatar [Noritaka Kobayashi](https://github.com/noritaka1166 '+2/-6 (#6922 #6923 )') -- avatar [Dimitrios Lazanas](https://github.com/dimitry-lzs '+4/-0 (#6917 )') -- avatar [Adrian Knapp](https://github.com/AdrianKnapp '+2/-2 (#6867 )') -- avatar [Howie Zhao](https://github.com/howiezhao '+3/-1 (#6872 )') -- avatar [Uhyeon Park](https://github.com/warpdev '+1/-1 (#6883 )') -- avatar [Sampo Silvennoinen](https://github.com/stscoundrel '+1/-1 (#6913 )') - -# [1.9.0](https://github.com/axios/axios/compare/v1.8.4...v1.9.0) (2025-04-24) - -### Bug Fixes - -- **core:** fix the Axios constructor implementation to treat the config argument as optional; ([#6881](https://github.com/axios/axios/issues/6881)) ([6c5d4cd](https://github.com/axios/axios/commit/6c5d4cd69286868059c5e52d45085cb9a894a983)) -- **fetch:** fixed ERR_NETWORK mapping for Safari browsers; ([#6767](https://github.com/axios/axios/issues/6767)) ([dfe8411](https://github.com/axios/axios/commit/dfe8411c9a082c3d068bdd1f8d6e73054f387f45)) -- **headers:** allow iterable objects to be a data source for the set method; ([#6873](https://github.com/axios/axios/issues/6873)) ([1b1f9cc](https://github.com/axios/axios/commit/1b1f9ccdc15f1ea745160ec9a5223de9db4673bc)) -- **headers:** fix `getSetCookie` by using 'get' method for caseless access; ([#6874](https://github.com/axios/axios/issues/6874)) ([d4f7df4](https://github.com/axios/axios/commit/d4f7df4b304af8b373488fdf8e830793ff843eb9)) -- **headers:** fixed support for setting multiple header values from an iterated source; ([#6885](https://github.com/axios/axios/issues/6885)) ([f7a3b5e](https://github.com/axios/axios/commit/f7a3b5e0f7e5e127b97defa92a132fbf1b55cf15)) -- **http:** send minimal end multipart boundary ([#6661](https://github.com/axios/axios/issues/6661)) ([987d2e2](https://github.com/axios/axios/commit/987d2e2dd3b362757550f36eab875e60640b6ddc)) -- **types:** fix autocomplete for adapter config ([#6855](https://github.com/axios/axios/issues/6855)) ([e61a893](https://github.com/axios/axios/commit/e61a8934d8f94dd429a2f309b48c67307c700df0)) - -### Features - -- **AxiosHeaders:** add getSetCookie method to retrieve set-cookie headers values ([#5707](https://github.com/axios/axios/issues/5707)) ([80ea756](https://github.com/axios/axios/commit/80ea756e72bcf53110fa792f5d7ab76e8b11c996)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+200/-34 (#6890 #6889 #6888 #6885 #6881 #6767 #6874 #6873 )') -- avatar [Jay](https://github.com/jasonsaayman '+26/-1 ()') -- avatar [Willian Agostini](https://github.com/WillianAgostini '+21/-0 (#5707 )') -- avatar [George Cheng](https://github.com/Gerhut '+3/-3 (#5096 )') -- avatar [FatahChan](https://github.com/FatahChan '+2/-2 (#6855 )') -- avatar [Ionuț G. Stan](https://github.com/igstan '+1/-1 (#6661 )') - -## [1.8.4](https://github.com/axios/axios/compare/v1.8.3...v1.8.4) (2025-03-19) - -### Bug Fixes - -- **buildFullPath:** handle `allowAbsoluteUrls: false` without `baseURL` ([#6833](https://github.com/axios/axios/issues/6833)) ([f10c2e0](https://github.com/axios/axios/commit/f10c2e0de7fde0051f848609a29c2906d0caa1d9)) - -### Contributors to this release - -- avatar [Marc Hassan](https://github.com/mhassan1 '+5/-1 (#6833 )') - -## [1.8.3](https://github.com/axios/axios/compare/v1.8.2...v1.8.3) (2025-03-10) - -### Bug Fixes - -- add missing type for allowAbsoluteUrls ([#6818](https://github.com/axios/axios/issues/6818)) ([10fa70e](https://github.com/axios/axios/commit/10fa70ef14fe39558b15a179f0e82f5f5e5d11b2)) -- **xhr/fetch:** pass `allowAbsoluteUrls` to `buildFullPath` in `xhr` and `fetch` adapters ([#6814](https://github.com/axios/axios/issues/6814)) ([ec159e5](https://github.com/axios/axios/commit/ec159e507bdf08c04ba1a10fe7710094e9e50ec9)) - -### Contributors to this release - -- avatar [Ashcon Partovi](https://github.com/Electroid '+6/-0 (#6811 )') -- avatar [StefanBRas](https://github.com/StefanBRas '+4/-0 (#6818 )') -- avatar [Marc Hassan](https://github.com/mhassan1 '+2/-2 (#6814 )') - -## [1.8.2](https://github.com/axios/axios/compare/v1.8.1...v1.8.2) (2025-03-07) - -### Bug Fixes - -- **http-adapter:** add allowAbsoluteUrls to path building ([#6810](https://github.com/axios/axios/issues/6810)) ([fb8eec2](https://github.com/axios/axios/commit/fb8eec214ce7744b5ca787f2c3b8339b2f54b00f)) - -### Contributors to this release - -- avatar [Fasoro-Joseph Alexander](https://github.com/lexcorp16 '+1/-1 (#6810 )') - -## [1.8.1](https://github.com/axios/axios/compare/v1.8.0...v1.8.1) (2025-02-26) - -### Bug Fixes - -- **utils:** move `generateString` to platform utils to avoid importing crypto module into client builds; ([#6789](https://github.com/axios/axios/issues/6789)) ([36a5a62](https://github.com/axios/axios/commit/36a5a620bec0b181451927f13ac85b9888b86cec)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+51/-47 (#6789 )') - -# [1.8.0](https://github.com/axios/axios/compare/v1.7.9...v1.8.0) (2025-02-25) - -### Bug Fixes - -- **examples:** application crashed when navigating examples in browser ([#5938](https://github.com/axios/axios/issues/5938)) ([1260ded](https://github.com/axios/axios/commit/1260ded634ec101dd5ed05d3b70f8e8f899dba6c)) -- missing word in SUPPORT_QUESTION.yml ([#6757](https://github.com/axios/axios/issues/6757)) ([1f890b1](https://github.com/axios/axios/commit/1f890b13f2c25a016f3c84ae78efb769f244133e)) -- **utils:** replace getRandomValues with crypto module ([#6788](https://github.com/axios/axios/issues/6788)) ([23a25af](https://github.com/axios/axios/commit/23a25af0688d1db2c396deb09229d2271cc24f6c)) - -### Features - -- Add config for ignoring absolute URLs ([#5902](https://github.com/axios/axios/issues/5902)) ([#6192](https://github.com/axios/axios/issues/6192)) ([32c7bcc](https://github.com/axios/axios/commit/32c7bcc0f233285ba27dec73a4b1e81fb7a219b3)) - -### Reverts - -- Revert "chore: expose fromDataToStream to be consumable (#6731)" (#6732) ([1317261](https://github.com/axios/axios/commit/1317261125e9c419fe9f126867f64d28f9c1efda)), closes [#6731](https://github.com/axios/axios/issues/6731) [#6732](https://github.com/axios/axios/issues/6732) - -### BREAKING CHANGES - -- code relying on the above will now combine the URLs instead of prefer request URL - -- feat: add config option for allowing absolute URLs - -- fix: add default value for allowAbsoluteUrls in buildFullPath - -- fix: typo in flow control when setting allowAbsoluteUrls - -### Contributors to this release - -- avatar [Michael Toscano](https://github.com/GethosTheWalrus '+42/-8 (#6192 )') -- avatar [Willian Agostini](https://github.com/WillianAgostini '+26/-3 (#6788 #6777 )') -- avatar [Naron](https://github.com/naronchen '+27/-0 (#5901 )') -- avatar [shravan || श्रvan](https://github.com/shravan20 '+7/-3 (#6116 )') -- avatar [Justin Dhillon](https://github.com/justindhillon '+0/-7 (#6312 )') -- avatar [yionr](https://github.com/yionr '+5/-1 (#6129 )') -- avatar [Shin'ya Ueoka](https://github.com/ueokande '+3/-3 (#5935 )') -- avatar [Dan Dascalescu](https://github.com/dandv '+3/-3 (#5908 #6757 )') -- avatar [Nitin Ramnani](https://github.com/NitinRamnani '+2/-2 (#5938 )') -- avatar [Shay Molcho](https://github.com/shaymolcho '+2/-2 (#6770 )') -- avatar [Jay](https://github.com/jasonsaayman '+0/-3 (#6732 )') -- fancy45daddy -- avatar [Habip Akyol](https://github.com/habipakyol '+1/-1 (#6030 )') -- avatar [Bailey Lissington](https://github.com/llamington '+1/-1 (#6771 )') -- avatar [Bernardo da Eira Duarte](https://github.com/bernardoduarte '+1/-1 (#6480 )') -- avatar [Shivam Batham](https://github.com/Shivam-Batham '+1/-1 (#5949 )') -- avatar [Lipin Kariappa](https://github.com/lipinnnnn '+1/-1 (#5936 )') - -## [1.7.9](https://github.com/axios/axios/compare/v1.7.8...v1.7.9) (2024-12-04) - -### Reverts - -- Revert "fix(types): export CJS types from ESM (#6218)" (#6729) ([c44d2f2](https://github.com/axios/axios/commit/c44d2f2316ad289b38997657248ba10de11deb6c)), closes [#6218](https://github.com/axios/axios/issues/6218) [#6729](https://github.com/axios/axios/issues/6729) - -### Contributors to this release - -- avatar [Jay](https://github.com/jasonsaayman '+596/-108 (#6729 )') - -## [1.7.8](https://github.com/axios/axios/compare/v1.7.7...v1.7.8) (2024-11-25) - -### Bug Fixes - -- allow passing a callback as paramsSerializer to buildURL ([#6680](https://github.com/axios/axios/issues/6680)) ([eac4619](https://github.com/axios/axios/commit/eac4619fe2e0926e876cd260ee21e3690381dbb5)) -- **core:** fixed config merging bug ([#6668](https://github.com/axios/axios/issues/6668)) ([5d99fe4](https://github.com/axios/axios/commit/5d99fe4491202a6268c71e5dcc09192359d73cea)) -- fixed width form to not shrink after 'Send Request' button is clicked ([#6644](https://github.com/axios/axios/issues/6644)) ([7ccd5fd](https://github.com/axios/axios/commit/7ccd5fd42402102d38712c32707bf055be72ab54)) -- **http:** add support for File objects as payload in http adapter ([#6588](https://github.com/axios/axios/issues/6588)) ([#6605](https://github.com/axios/axios/issues/6605)) ([6841d8d](https://github.com/axios/axios/commit/6841d8d18ddc71cc1bd202ffcfddb3f95622eef3)) -- **http:** fixed proxy-from-env module import ([#5222](https://github.com/axios/axios/issues/5222)) ([12b3295](https://github.com/axios/axios/commit/12b32957f1258aee94ef859809ed39f8f88f9dfa)) -- **http:** use `globalThis.TextEncoder` when available ([#6634](https://github.com/axios/axios/issues/6634)) ([df956d1](https://github.com/axios/axios/commit/df956d18febc9100a563298dfdf0f102c3d15410)) -- ios11 breaks when build ([#6608](https://github.com/axios/axios/issues/6608)) ([7638952](https://github.com/axios/axios/commit/763895270f7b50c7c780c3c9807ae8635de952cd)) -- **types:** add missing types for mergeConfig function ([#6590](https://github.com/axios/axios/issues/6590)) ([00de614](https://github.com/axios/axios/commit/00de614cd07b7149af335e202aef0e076c254f49)) -- **types:** export CJS types from ESM ([#6218](https://github.com/axios/axios/issues/6218)) ([c71811b](https://github.com/axios/axios/commit/c71811b00f2fcff558e4382ba913bdac4ad7200e)) -- updated stream aborted error message to be more clear ([#6615](https://github.com/axios/axios/issues/6615)) ([cc3217a](https://github.com/axios/axios/commit/cc3217a612024d83a663722a56d7a98d8759c6d5)) -- use URL API instead of DOM to fix a potential vulnerability warning; ([#6714](https://github.com/axios/axios/issues/6714)) ([0a8d6e1](https://github.com/axios/axios/commit/0a8d6e19da5b9899a2abafaaa06a75ee548597db)) - -### Contributors to this release - -- avatar [Remco Haszing](https://github.com/remcohaszing '+108/-596 (#6218 )') -- avatar [Jay](https://github.com/jasonsaayman '+281/-19 (#6640 #6619 )') -- avatar [Aayush Yadav](https://github.com/aayushyadav020 '+124/-111 (#6617 )') -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+12/-65 (#6714 )') -- avatar [Ell Bradshaw](https://github.com/cincodenada '+29/-0 (#6489 )') -- avatar [Amit Saini](https://github.com/amitsainii '+13/-3 (#5237 )') -- avatar [Tommaso Paulon](https://github.com/guuido '+14/-1 (#6680 )') -- avatar [Akki](https://github.com/Aakash-Rana '+5/-5 (#6668 )') -- avatar [Sampo Silvennoinen](https://github.com/stscoundrel '+3/-3 (#6633 )') -- avatar [Kasper Isager Dalsgarð](https://github.com/kasperisager '+2/-2 (#6634 )') -- avatar [Christian Clauss](https://github.com/cclauss '+4/-0 (#6683 )') -- avatar [Pavan Welihinda](https://github.com/pavan168 '+2/-2 (#5222 )') -- avatar [Taylor Flatt](https://github.com/taylorflatt '+2/-2 (#6615 )') -- avatar [Kenzo Wada](https://github.com/Kenzo-Wada '+2/-2 (#6608 )') -- avatar [Ngole Lawson](https://github.com/echelonnought '+3/-0 (#6644 )') -- avatar [Haven](https://github.com/Baoyx007 '+3/-0 (#6590 )') -- avatar [Shrivali Dutt](https://github.com/shrivalidutt '+1/-1 (#6637 )') -- avatar [Henco Appel](https://github.com/hencoappel '+1/-1 (#6605 )') - -## [1.7.7](https://github.com/axios/axios/compare/v1.7.6...v1.7.7) (2024-08-31) - -### Bug Fixes - -- **fetch:** fix stream handling in Safari by fallback to using a stream reader instead of an async iterator; ([#6584](https://github.com/axios/axios/issues/6584)) ([d198085](https://github.com/axios/axios/commit/d1980854fee1765cd02fa0787adf5d6e34dd9dcf)) -- **http:** fixed support for IPv6 literal strings in url ([#5731](https://github.com/axios/axios/issues/5731)) ([364993f](https://github.com/axios/axios/commit/364993f0d8bc6e0e06f76b8a35d2d0a35cab054c)) - -### Contributors to this release - -- avatar [Rishi556](https://github.com/Rishi556 '+39/-1 (#5731 )') -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+27/-7 (#6584 )') - -## [1.7.6](https://github.com/axios/axios/compare/v1.7.5...v1.7.6) (2024-08-30) - -### Bug Fixes - -- **fetch:** fix content length calculation for FormData payload; ([#6524](https://github.com/axios/axios/issues/6524)) ([085f568](https://github.com/axios/axios/commit/085f56861a83e9ac02c140ad9d68dac540dfeeaa)) -- **fetch:** optimize signals composing logic; ([#6582](https://github.com/axios/axios/issues/6582)) ([df9889b](https://github.com/axios/axios/commit/df9889b83c2cc37e9e6189675a73ab70c60f031f)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+98/-46 (#6582 )') -- avatar [Jacques Germishuys](https://github.com/jacquesg '+5/-1 (#6524 )') -- avatar [kuroino721](https://github.com/kuroino721 '+3/-1 (#6575 )') - -## [1.7.5](https://github.com/axios/axios/compare/v1.7.4...v1.7.5) (2024-08-23) - -### Bug Fixes - -- **adapter:** fix undefined reference to hasBrowserEnv ([#6572](https://github.com/axios/axios/issues/6572)) ([7004707](https://github.com/axios/axios/commit/7004707c4180b416341863bd86913fe4fc2f1df1)) -- **core:** add the missed implementation of AxiosError#status property; ([#6573](https://github.com/axios/axios/issues/6573)) ([6700a8a](https://github.com/axios/axios/commit/6700a8adac06942205f6a7a21421ecb36c4e0852)) -- **core:** fix `ReferenceError: navigator is not defined` for custom environments; ([#6567](https://github.com/axios/axios/issues/6567)) ([fed1a4b](https://github.com/axios/axios/commit/fed1a4b2d78ed4a588c84e09d32749ed01dc2794)) -- **fetch:** fix credentials handling in Cloudflare workers ([#6533](https://github.com/axios/axios/issues/6533)) ([550d885](https://github.com/axios/axios/commit/550d885eb90fd156add7b93bbdc54d30d2f9a98d)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+187/-83 (#6573 #6567 #6566 #6564 #6563 #6557 #6556 #6555 #6554 #6552 )') -- avatar [Antonin Bas](https://github.com/antoninbas '+6/-6 (#6572 )') -- avatar [Hans Otto Wirtz](https://github.com/hansottowirtz '+4/-1 (#6533 )') - -## [1.7.4](https://github.com/axios/axios/compare/v1.7.3...v1.7.4) (2024-08-13) - -### Bug Fixes - -- **sec:** CVE-2024-39338 ([#6539](https://github.com/axios/axios/issues/6539)) ([#6543](https://github.com/axios/axios/issues/6543)) ([6b6b605](https://github.com/axios/axios/commit/6b6b605eaf73852fb2dae033f1e786155959de3a)) -- **sec:** disregard protocol-relative URL to remediate SSRF ([#6539](https://github.com/axios/axios/issues/6539)) ([07a661a](https://github.com/axios/axios/commit/07a661a2a6b9092c4aa640dcc7f724ec5e65bdda)) - -### Contributors to this release - -- avatar [Lev Pachmanov](https://github.com/levpachmanov '+47/-11 (#6543 )') -- avatar [Đỗ Trọng Hải](https://github.com/hainenber '+49/-4 (#6539 )') - -## [1.7.3](https://github.com/axios/axios/compare/v1.7.2...v1.7.3) (2024-08-01) - -### Bug Fixes - -- **adapter:** fix progress event emitting; ([#6518](https://github.com/axios/axios/issues/6518)) ([e3c76fc](https://github.com/axios/axios/commit/e3c76fc9bdd03aa4d98afaf211df943e2031453f)) -- **fetch:** fix withCredentials request config ([#6505](https://github.com/axios/axios/issues/6505)) ([85d4d0e](https://github.com/axios/axios/commit/85d4d0ea0aae91082f04e303dec46510d1b4e787)) -- **xhr:** return original config on errors from XHR adapter ([#6515](https://github.com/axios/axios/issues/6515)) ([8966ee7](https://github.com/axios/axios/commit/8966ee7ea62ecbd6cfb39a905939bcdab5cf6388)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+211/-159 (#6518 #6519 )') -- avatar [Valerii Sidorenko](https://github.com/ValeraS '+3/-3 (#6515 )') -- avatar [prianYu](https://github.com/prianyu '+2/-2 (#6505 )') - -## [1.7.2](https://github.com/axios/axios/compare/v1.7.1...v1.7.2) (2024-05-21) - -### Bug Fixes - -- **fetch:** enhance fetch API detection; ([#6413](https://github.com/axios/axios/issues/6413)) ([4f79aef](https://github.com/axios/axios/commit/4f79aef81b7c4644328365bfc33acf0a9ef595bc)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+3/-3 (#6413 )') - -## [1.7.1](https://github.com/axios/axios/compare/v1.7.0...v1.7.1) (2024-05-20) - -### Bug Fixes - -- **fetch:** fixed ReferenceError issue when TextEncoder is not available in the environment; ([#6410](https://github.com/axios/axios/issues/6410)) ([733f15f](https://github.com/axios/axios/commit/733f15fe5bd2d67e1fadaee82e7913b70d45dc5e)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+14/-9 (#6410 )') - -# [1.7.0](https://github.com/axios/axios/compare/v1.7.0-beta.2...v1.7.0) (2024-05-19) - -### Features - -- **adapter:** add fetch adapter; ([#6371](https://github.com/axios/axios/issues/6371)) ([a3ff99b](https://github.com/axios/axios/commit/a3ff99b59d8ec2ab5dd049e68c043617a4072e42)) - -### Bug Fixes - -- **core/axios:** handle un-writable error stack ([#6362](https://github.com/axios/axios/issues/6362)) ([81e0455](https://github.com/axios/axios/commit/81e0455b7b57fbaf2be16a73ebe0e6591cc6d8f9)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+1015/-127 (#6371 )') -- avatar [Jay](https://github.com/jasonsaayman '+30/-14 ()') -- avatar [Alexandre ABRIOUX](https://github.com/alexandre-abrioux '+56/-6 (#6362 )') - -# [1.7.0-beta.2](https://github.com/axios/axios/compare/v1.7.0-beta.1...v1.7.0-beta.2) (2024-05-19) - -### Bug Fixes - -- **fetch:** capitalize HTTP method names; ([#6395](https://github.com/axios/axios/issues/6395)) ([ad3174a](https://github.com/axios/axios/commit/ad3174a3515c3c2573f4bcb94818d582826f3914)) -- **fetch:** fix & optimize progress capturing for cases when the request data has a nullish value or zero data length ([#6400](https://github.com/axios/axios/issues/6400)) ([95a3e8e](https://github.com/axios/axios/commit/95a3e8e346cfd6a5548e171f2341df3235d0e26b)) -- **fetch:** fix headers getting from a stream response; ([#6401](https://github.com/axios/axios/issues/6401)) ([870e0a7](https://github.com/axios/axios/commit/870e0a76f60d0094774a6a63fa606eec52a381af)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+99/-46 (#6405 #6404 #6401 #6400 #6395 )') - -# [1.7.0-beta.1](https://github.com/axios/axios/compare/v1.7.0-beta.0...v1.7.0-beta.1) (2024-05-07) - -### Bug Fixes - -- **core/axios:** handle un-writable error stack ([#6362](https://github.com/axios/axios/issues/6362)) ([81e0455](https://github.com/axios/axios/commit/81e0455b7b57fbaf2be16a73ebe0e6591cc6d8f9)) -- **fetch:** fix cases when ReadableStream or Response.body are not available; ([#6377](https://github.com/axios/axios/issues/6377)) ([d1d359d](https://github.com/axios/axios/commit/d1d359da347704e8b28d768e61515a3e96c5b072)) -- **fetch:** treat fetch-related TypeError as an AxiosError.ERR_NETWORK error; ([#6380](https://github.com/axios/axios/issues/6380)) ([bb5f9a5](https://github.com/axios/axios/commit/bb5f9a5ab768452de9e166dc28d0ffc234245ef1)) - -### Contributors to this release - -- avatar [Alexandre ABRIOUX](https://github.com/alexandre-abrioux '+56/-6 (#6362 )') -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+42/-17 (#6380 #6377 )') - -# [1.7.0-beta.0](https://github.com/axios/axios/compare/v1.6.8...v1.7.0-beta.0) (2024-04-28) - -### Features - -- **adapter:** add fetch adapter; ([#6371](https://github.com/axios/axios/issues/6371)) ([a3ff99b](https://github.com/axios/axios/commit/a3ff99b59d8ec2ab5dd049e68c043617a4072e42)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+1015/-127 (#6371 )') -- avatar [Jay](https://github.com/jasonsaayman '+30/-14 ()') - -## [1.6.8](https://github.com/axios/axios/compare/v1.6.7...v1.6.8) (2024-03-15) - -### Bug Fixes - -- **AxiosHeaders:** fix AxiosHeaders conversion to an object during config merging ([#6243](https://github.com/axios/axios/issues/6243)) ([2656612](https://github.com/axios/axios/commit/2656612bc10fe2757e9832b708ed773ab340b5cb)) -- **import:** use named export for EventEmitter; ([7320430](https://github.com/axios/axios/commit/7320430aef2e1ba2b89488a0eaf42681165498b1)) -- **vulnerability:** update follow-redirects to 1.15.6 ([#6300](https://github.com/axios/axios/issues/6300)) ([8786e0f](https://github.com/axios/axios/commit/8786e0ff55a8c68d4ca989801ad26df924042e27)) - -### Contributors to this release - -- avatar [Jay](https://github.com/jasonsaayman '+4572/-3446 (#6238 )') -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+30/-0 (#6231 )') -- avatar [Mitchell](https://github.com/Creaous '+9/-9 (#6300 )') -- avatar [Emmanuel](https://github.com/mannoeu '+2/-2 (#6196 )') -- avatar [Lucas Keller](https://github.com/ljkeller '+3/-0 (#6194 )') -- avatar [Aditya Mogili](https://github.com/ADITYA-176 '+1/-1 ()') -- avatar [Miroslav Petrov](https://github.com/petrovmiroslav '+1/-1 (#6243 )') - -## [1.6.7](https://github.com/axios/axios/compare/v1.6.6...v1.6.7) (2024-01-25) - -### Bug Fixes - -- capture async stack only for rejections with native error objects; ([#6203](https://github.com/axios/axios/issues/6203)) ([1a08f90](https://github.com/axios/axios/commit/1a08f90f402336e4d00e9ee82f211c6adb1640b0)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+30/-26 (#6203 )') -- avatar [zhoulixiang](https://github.com/zh-lx '+0/-3 (#6186 )') - -## [1.6.6](https://github.com/axios/axios/compare/v1.6.5...v1.6.6) (2024-01-24) - -### Bug Fixes - -- fixed missed dispatchBeforeRedirect argument ([#5778](https://github.com/axios/axios/issues/5778)) ([a1938ff](https://github.com/axios/axios/commit/a1938ff073fcb0f89011f001dfbc1fa1dc995e39)) -- wrap errors to improve async stack trace ([#5987](https://github.com/axios/axios/issues/5987)) ([123f354](https://github.com/axios/axios/commit/123f354b920f154a209ea99f76b7b2ef3d9ebbab)) - -### Contributors to this release - -- avatar [Ilya Priven](https://github.com/ikonst '+91/-8 (#5987 )') -- avatar [Zao Soula](https://github.com/zaosoula '+6/-6 (#5778 )') - -## [1.6.5](https://github.com/axios/axios/compare/v1.6.4...v1.6.5) (2024-01-05) - -### Bug Fixes - -- **ci:** refactor notify action as a job of publish action; ([#6176](https://github.com/axios/axios/issues/6176)) ([0736f95](https://github.com/axios/axios/commit/0736f95ce8776366dc9ca569f49ba505feb6373c)) -- **dns:** fixed lookup error handling; ([#6175](https://github.com/axios/axios/issues/6175)) ([f4f2b03](https://github.com/axios/axios/commit/f4f2b039dd38eb4829e8583caede4ed6d2dd59be)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+41/-6 (#6176 #6175 )') -- avatar [Jay](https://github.com/jasonsaayman '+6/-1 ()') - -## [1.6.4](https://github.com/axios/axios/compare/v1.6.3...v1.6.4) (2024-01-03) - -### Bug Fixes - -- **security:** fixed formToJSON prototype pollution vulnerability; ([#6167](https://github.com/axios/axios/issues/6167)) ([3c0c11c](https://github.com/axios/axios/commit/3c0c11cade045c4412c242b5727308cff9897a0e)) -- **security:** fixed security vulnerability in follow-redirects ([#6163](https://github.com/axios/axios/issues/6163)) ([75af1cd](https://github.com/axios/axios/commit/75af1cdff5b3a6ca3766d3d3afbc3115bb0811b8)) - -### Contributors to this release - -- avatar [Jay](https://github.com/jasonsaayman '+34/-6 ()') -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+34/-3 (#6172 #6167 )') -- avatar [Guy Nesher](https://github.com/gnesher '+10/-10 (#6163 )') - -## [1.6.3](https://github.com/axios/axios/compare/v1.6.2...v1.6.3) (2023-12-26) - -### Bug Fixes - -- Regular Expression Denial of Service (ReDoS) ([#6132](https://github.com/axios/axios/issues/6132)) ([5e7ad38](https://github.com/axios/axios/commit/5e7ad38fb0f819fceb19fb2ee5d5d38f56aa837d)) - -### Contributors to this release - -- avatar [Jay](https://github.com/jasonsaayman '+15/-6 (#6145 )') -- avatar [Willian Agostini](https://github.com/WillianAgostini '+17/-2 (#6132 )') -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+3/-0 (#6084 )') - -## [1.6.2](https://github.com/axios/axios/compare/v1.6.1...v1.6.2) (2023-11-14) - -### Features - -- **withXSRFToken:** added withXSRFToken option as a workaround to achieve the old `withCredentials` behavior; ([#6046](https://github.com/axios/axios/issues/6046)) ([cff9967](https://github.com/axios/axios/commit/cff996779b272a5e94c2b52f5503ccf668bc42dc)) - -### PRs - -- feat(withXSRFToken): added withXSRFToken option as a workaround to achieve the old `withCredentials` behavior; ( [#6046](https://api.github.com/repos/axios/axios/pulls/6046) ) - -``` - -📢 This PR added 'withXSRFToken' option as a replacement for old withCredentials behaviour. -You should now use withXSRFToken along with withCredential to get the old behavior. -This functionality is considered as a fix. -``` - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+271/-146 (#6081 #6080 #6079 #6078 #6046 #6064 #6063 )') -- avatar [Ng Choon Khon (CK)](https://github.com/ckng0221 '+4/-4 (#6073 )') -- avatar [Muhammad Noman](https://github.com/mnomanmemon '+2/-2 (#6048 )') - -## [1.6.1](https://github.com/axios/axios/compare/v1.6.0...v1.6.1) (2023-11-08) - -### Bug Fixes - -- **formdata:** fixed content-type header normalization for non-standard browser environments; ([#6056](https://github.com/axios/axios/issues/6056)) ([dd465ab](https://github.com/axios/axios/commit/dd465ab22bbfa262c6567be6574bf46a057d5288)) -- **platform:** fixed emulated browser detection in node.js environment; ([#6055](https://github.com/axios/axios/issues/6055)) ([3dc8369](https://github.com/axios/axios/commit/3dc8369e505e32a4e12c22f154c55fd63ac67fbb)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+432/-65 (#6059 #6056 #6055 )') -- avatar [Fabian Meyer](https://github.com/meyfa '+5/-2 (#5835 )') - -### PRs - -- feat(withXSRFToken): added withXSRFToken option as a workaround to achieve the old `withCredentials` behavior; ( [#6046](https://api.github.com/repos/axios/axios/pulls/6046) ) - -``` - -📢 This PR added 'withXSRFToken' option as a replacement for old withCredentials behaviour. -You should now use withXSRFToken along with withCredential to get the old behavior. -This functionality is considered as a fix. -``` - -# [1.6.0](https://github.com/axios/axios/compare/v1.5.1...v1.6.0) (2023-10-26) - -### Bug Fixes - -- **CSRF:** fixed CSRF vulnerability CVE-2023-45857 ([#6028](https://github.com/axios/axios/issues/6028)) ([96ee232](https://github.com/axios/axios/commit/96ee232bd3ee4de2e657333d4d2191cd389e14d0)) -- **dns:** fixed lookup function decorator to work properly in node v20; ([#6011](https://github.com/axios/axios/issues/6011)) ([5aaff53](https://github.com/axios/axios/commit/5aaff532a6b820bb9ab6a8cd0f77131b47e2adb8)) -- **types:** fix AxiosHeaders types; ([#5931](https://github.com/axios/axios/issues/5931)) ([a1c8ad0](https://github.com/axios/axios/commit/a1c8ad008b3c13d53e135bbd0862587fb9d3fc09)) - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+449/-114 (#6032 #6021 #6011 #5932 #5931 )') -- avatar [Valentin Panov](https://github.com/valentin-panov '+4/-4 (#6028 )') -- avatar [Rinku Chaudhari](https://github.com/therealrinku '+1/-1 (#5889 )') - -## [1.5.1](https://github.com/axios/axios/compare/v1.5.0...v1.5.1) (2023-09-26) - -### Bug Fixes - -- **adapters:** improved adapters loading logic to have clear error messages; ([#5919](https://github.com/axios/axios/issues/5919)) ([e410779](https://github.com/axios/axios/commit/e4107797a7a1376f6209fbecfbbce73d3faa7859)) -- **formdata:** fixed automatic addition of the `Content-Type` header for FormData in non-browser environments; ([#5917](https://github.com/axios/axios/issues/5917)) ([bc9af51](https://github.com/axios/axios/commit/bc9af51b1886d1b3529617702f2a21a6c0ed5d92)) -- **headers:** allow `content-encoding` header to handle case-insensitive values ([#5890](https://github.com/axios/axios/issues/5890)) ([#5892](https://github.com/axios/axios/issues/5892)) ([4c89f25](https://github.com/axios/axios/commit/4c89f25196525e90a6e75eda9cb31ae0a2e18acd)) -- **types:** removed duplicated code ([9e62056](https://github.com/axios/axios/commit/9e6205630e1c9cf863adf141c0edb9e6d8d4b149)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+89/-18 (#5919 #5917 )') -- avatar [David Dallas](https://github.com/DavidJDallas '+11/-5 ()') -- avatar [Sean Sattler](https://github.com/fb-sean '+2/-8 ()') -- avatar [Mustafa Ateş Uzun](https://github.com/0o001 '+4/-4 ()') -- avatar [Przemyslaw Motacki](https://github.com/sfc-gh-pmotacki '+2/-1 (#5892 )') -- avatar [Michael Di Prisco](https://github.com/Cadienvan '+1/-1 ()') - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -# [1.5.0](https://github.com/axios/axios/compare/v1.4.0...v1.5.0) (2023-08-26) - -### Bug Fixes - -- **adapter:** make adapter loading error more clear by using platform-specific adapters explicitly ([#5837](https://github.com/axios/axios/issues/5837)) ([9a414bb](https://github.com/axios/axios/commit/9a414bb6c81796a95c6c7fe668637825458e8b6d)) -- **dns:** fixed `cacheable-lookup` integration; ([#5836](https://github.com/axios/axios/issues/5836)) ([b3e327d](https://github.com/axios/axios/commit/b3e327dcc9277bdce34c7ef57beedf644b00d628)) -- **headers:** added support for setting header names that overlap with class methods; ([#5831](https://github.com/axios/axios/issues/5831)) ([d8b4ca0](https://github.com/axios/axios/commit/d8b4ca0ea5f2f05efa4edfe1e7684593f9f68273)) -- **headers:** fixed common Content-Type header merging; ([#5832](https://github.com/axios/axios/issues/5832)) ([8fda276](https://github.com/axios/axios/commit/8fda2766b1e6bcb72c3fabc146223083ef13ce17)) - -### Features - -- export getAdapter function ([#5324](https://github.com/axios/axios/issues/5324)) ([ca73eb8](https://github.com/axios/axios/commit/ca73eb878df0ae2dace81fe3a7f1fb5986231bf1)) -- **export:** export adapters without `unsafe` prefix ([#5839](https://github.com/axios/axios/issues/5839)) ([1601f4a](https://github.com/axios/axios/commit/1601f4a27a81ab47fea228f1e244b2c4e3ce28bf)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+66/-29 (#5839 #5837 #5836 #5832 #5831 )') -- avatar [夜葬](https://github.com/geekact '+42/-0 (#5324 )') -- avatar [Jonathan Budiman](https://github.com/JBudiman00 '+30/-0 (#5788 )') -- avatar [Michael Di Prisco](https://github.com/Cadienvan '+3/-5 (#5791 )') - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -# [1.4.0](https://github.com/axios/axios/compare/v1.3.6...v1.4.0) (2023-04-27) - -### Bug Fixes - -- **formdata:** add `multipart/form-data` content type for FormData payload on custom client environments; ([#5678](https://github.com/axios/axios/issues/5678)) ([bbb61e7](https://github.com/axios/axios/commit/bbb61e70cb1185adfb1cbbb86eaf6652c48d89d1)) -- **package:** export package internals with unsafe path prefix; ([#5677](https://github.com/axios/axios/issues/5677)) ([df38c94](https://github.com/axios/axios/commit/df38c949f26414d88ba29ec1e353c4d4f97eaf09)) - -### Features - -- **dns:** added support for a custom lookup function; ([#5339](https://github.com/axios/axios/issues/5339)) ([2701911](https://github.com/axios/axios/commit/2701911260a1faa5cc5e1afe437121b330a3b7bb)) -- **types:** export `AxiosHeaderValue` type. ([#5525](https://github.com/axios/axios/issues/5525)) ([726f1c8](https://github.com/axios/axios/commit/726f1c8e00cffa0461a8813a9bdcb8f8b9d762cf)) - -### Performance Improvements - -- **merge-config:** optimize mergeConfig performance by avoiding duplicate key visits; ([#5679](https://github.com/axios/axios/issues/5679)) ([e6f7053](https://github.com/axios/axios/commit/e6f7053bf1a3e87cf1f9da8677e12e3fe829d68e)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+151/-16 (#5684 #5339 #5679 #5678 #5677 )') -- avatar [Arthur Fiorette](https://github.com/arthurfiorette '+19/-19 (#5525 )') -- avatar [PIYUSH NEGI](https://github.com/npiyush97 '+2/-18 (#5670 )') - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.3.6](https://github.com/axios/axios/compare/v1.3.5...v1.3.6) (2023-04-19) - -### Bug Fixes - -- **types:** added transport to RawAxiosRequestConfig ([#5445](https://github.com/axios/axios/issues/5445)) ([6f360a2](https://github.com/axios/axios/commit/6f360a2531d8d70363fd9becef6a45a323f170e2)) -- **utils:** make isFormData detection logic stricter to avoid unnecessary calling of the `toString` method on the target; ([#5661](https://github.com/axios/axios/issues/5661)) ([aa372f7](https://github.com/axios/axios/commit/aa372f7306295dfd1100c1c2c77ce95c95808e76)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+48/-10 (#5665 #5661 #5663 )') -- avatar [Michael Di Prisco](https://github.com/Cadienvan '+2/-0 (#5445 )') - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.3.5](https://github.com/axios/axios/compare/v1.3.4...v1.3.5) (2023-04-05) - -### Bug Fixes - -- **headers:** fixed isValidHeaderName to support full list of allowed characters; ([#5584](https://github.com/axios/axios/issues/5584)) ([e7decef](https://github.com/axios/axios/commit/e7decef6a99f4627e27ed9ea5b00ce8e201c3841)) -- **params:** re-added the ability to set the function as `paramsSerializer` config; ([#5633](https://github.com/axios/axios/issues/5633)) ([a56c866](https://github.com/axios/axios/commit/a56c8661209d5ce5a645a05f294a0e08a6c1f6b3)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+28/-10 (#5633 #5584 )') - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.3.4](https://github.com/axios/axios/compare/v1.3.3...v1.3.4) (2023-02-22) - -### Bug Fixes - -- **blob:** added a check to make sure the Blob class is available in the browser's global scope; ([#5548](https://github.com/axios/axios/issues/5548)) ([3772c8f](https://github.com/axios/axios/commit/3772c8fe74112a56e3e9551f894d899bc3a9443a)) -- **http:** fixed regression bug when handling synchronous errors inside the adapter; ([#5564](https://github.com/axios/axios/issues/5564)) ([a3b246c](https://github.com/axios/axios/commit/a3b246c9de5c3bc4b5a742e15add55b375479451)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+38/-26 (#5564 )') -- avatar [lcysgsg](https://github.com/lcysgsg '+4/-0 (#5548 )') -- avatar [Michael Di Prisco](https://github.com/Cadienvan '+3/-0 (#5444 )') - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.3.3](https://github.com/axios/axios/compare/v1.3.2...v1.3.3) (2023-02-13) - -### Bug Fixes - -- **formdata:** added a check to make sure the FormData class is available in the browser's global scope; ([#5545](https://github.com/axios/axios/issues/5545)) ([a6dfa72](https://github.com/axios/axios/commit/a6dfa72010db5ad52db8bd13c0f98e537e8fd05d)) -- **formdata:** fixed setting NaN as Content-Length for form payload in some cases; ([#5535](https://github.com/axios/axios/issues/5535)) ([c19f7bf](https://github.com/axios/axios/commit/c19f7bf770f90ae8307f4ea3104f227056912da1)) -- **headers:** fixed the filtering logic of the clear method; ([#5542](https://github.com/axios/axios/issues/5542)) ([ea87ebf](https://github.com/axios/axios/commit/ea87ebfe6d1699af072b9e7cd40faf8f14b0ab93)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+11/-7 (#5545 #5535 #5542 )') -- avatar [陈若枫](https://github.com/ruofee '+2/-2 (#5467 )') - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.3.2](https://github.com/axios/axios/compare/v1.3.1...v1.3.2) (2023-02-03) - -### Bug Fixes - -- **http:** treat http://localhost as base URL for relative paths to avoid `ERR_INVALID_URL` error; ([#5528](https://github.com/axios/axios/issues/5528)) ([128d56f](https://github.com/axios/axios/commit/128d56f4a0fb8f5f2ed6e0dd80bc9225fee9538c)) -- **http:** use explicit import instead of TextEncoder global; ([#5530](https://github.com/axios/axios/issues/5530)) ([6b3c305](https://github.com/axios/axios/commit/6b3c305fc40c56428e0afabedc6f4d29c2830f6f)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+2/-1 (#5530 #5528 )') - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.3.1](https://github.com/axios/axios/compare/v1.3.0...v1.3.1) (2023-02-01) - -### Bug Fixes - -- **formdata:** add hotfix to use the asynchronous API to compute the content-length header value; ([#5521](https://github.com/axios/axios/issues/5521)) ([96d336f](https://github.com/axios/axios/commit/96d336f527619f21da012fe1f117eeb53e5a2120)) -- **serializer:** fixed serialization of array-like objects; ([#5518](https://github.com/axios/axios/issues/5518)) ([08104c0](https://github.com/axios/axios/commit/08104c028c0f9353897b1b6691d74c440fd0c32d)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+27/-8 (#5521 #5518 )') - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -# [1.3.0](https://github.com/axios/axios/compare/v1.2.6...v1.3.0) (2023-01-31) - -### Bug Fixes - -- **headers:** fixed & optimized clear method; ([#5507](https://github.com/axios/axios/issues/5507)) ([9915635](https://github.com/axios/axios/commit/9915635c69d0ab70daca5738488421f67ca60959)) -- **http:** add zlib headers if missing ([#5497](https://github.com/axios/axios/issues/5497)) ([65e8d1e](https://github.com/axios/axios/commit/65e8d1e28ce829f47a837e45129730e541950d3c)) - -### Features - -- **fomdata:** added support for spec-compliant FormData & Blob types; ([#5316](https://github.com/axios/axios/issues/5316)) ([6ac574e](https://github.com/axios/axios/commit/6ac574e00a06731288347acea1e8246091196953)) - -### Contributors to this release - -- avatar [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+352/-67 (#5514 #5512 #5510 #5509 #5508 #5316 #5507 )') -- avatar [ItsNotGoodName](https://github.com/ItsNotGoodName '+43/-2 (#5497 )') - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.2.6](https://github.com/axios/axios/compare/v1.2.5...v1.2.6) (2023-01-28) - -### Bug Fixes - -- **headers:** added missed Authorization accessor; ([#5502](https://github.com/axios/axios/issues/5502)) ([342c0ba](https://github.com/axios/axios/commit/342c0ba9a16ea50f5ed7d2366c5c1a2c877e3f26)) -- **types:** fixed `CommonRequestHeadersList` & `CommonResponseHeadersList` types to be private in commonJS; ([#5503](https://github.com/axios/axios/issues/5503)) ([5a3d0a3](https://github.com/axios/axios/commit/5a3d0a3234d77361a1bc7cedee2da1e11df08e2c)) - -### Contributors to this release - -- ![avatar](https://avatars.githubusercontent.com/u/12586868?v=4&s=16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+24/-9 (#5503 #5502 )') - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.2.5](https://github.com/axios/axios/compare/v1.2.4...v1.2.5) (2023-01-26) - -### Bug Fixes - -- **types:** fixed AxiosHeaders to handle spread syntax by making all methods non-enumerable; ([#5499](https://github.com/axios/axios/issues/5499)) ([580f1e8](https://github.com/axios/axios/commit/580f1e8033a61baa38149d59fd16019de3932c22)) - -### Contributors to this release - -- ![avatar](https://avatars.githubusercontent.com/u/12586868?v=4&s=16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+82/-54 (#5499 )') -- ![avatar](https://avatars.githubusercontent.com/u/20516159?v=4&s=16) [Elliot Ford](https://github.com/EFord36 '+1/-1 (#5462 )') - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.2.4](https://github.com/axios/axios/compare/v1.2.3...v1.2.4) (2023-01-22) - -### Bug Fixes - -- **types:** renamed `RawAxiosRequestConfig` back to `AxiosRequestConfig`; ([#5486](https://github.com/axios/axios/issues/5486)) ([2a71f49](https://github.com/axios/axios/commit/2a71f49bc6c68495fa419003a3107ed8bd703ad0)) -- **types:** fix `AxiosRequestConfig` generic; ([#5478](https://github.com/axios/axios/issues/5478)) ([9bce81b](https://github.com/axios/axios/commit/186ea062da8b7d578ae78b1a5c220986b9bce81b)) - -### Contributors to this release - -- ![avatar](https://avatars.githubusercontent.com/u/12586868?v=4&s=16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+242/-108 (#5486 #5482 )') -- ![avatar](https://avatars.githubusercontent.com/u/9430821?v=4&s=16) [Daniel Hillmann](https://github.com/hilleer '+1/-1 (#5478 )') - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.2.3](https://github.com/axios/axios/compare/1.2.2...1.2.3) (2023-01-10) - -### Bug Fixes - -- **types:** fixed AxiosRequestConfig header interface by refactoring it to RawAxiosRequestConfig; ([#5420](https://github.com/axios/axios/issues/5420)) ([0811963](https://github.com/axios/axios/commit/08119634a22f1d5b19f5c9ea0adccb6d3eebc3bc)) - -### Contributors to this release - -- ![avatar](https://avatars.githubusercontent.com/u/12586868?v=4&s=16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS '+938/-442 (#5456 #5455 #5453 #5451 #5449 #5447 #5446 #5443 #5442 #5439 #5420 )') - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.2.2] - 2022-12-29 - -### Fixed - -- fix(ci): fix release script inputs [#5392](https://github.com/axios/axios/pull/5392) -- fix(ci): prerelease scipts [#5377](https://github.com/axios/axios/pull/5377) -- fix(ci): release scripts [#5376](https://github.com/axios/axios/pull/5376) -- fix(ci): typescript tests [#5375](https://github.com/axios/axios/pull/5375) -- fix: Brotli decompression [#5353](https://github.com/axios/axios/pull/5353) -- fix: add missing HttpStatusCode [#5345](https://github.com/axios/axios/pull/5345) - -### Chores - -- chore(ci): set conventional-changelog header config [#5406](https://github.com/axios/axios/pull/5406) -- chore(ci): fix automatic contributors resolving [#5403](https://github.com/axios/axios/pull/5403) -- chore(ci): improved logging for the contributors list generator [#5398](https://github.com/axios/axios/pull/5398) -- chore(ci): fix release action [#5397](https://github.com/axios/axios/pull/5397) -- chore(ci): fix version bump script by adding bump argument for target version [#5393](https://github.com/axios/axios/pull/5393) -- chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 [#5342](https://github.com/axios/axios/pull/5342) -- chore(ci): GitHub Actions Release script [#5384](https://github.com/axios/axios/pull/5384) -- chore(ci): release scripts [#5364](https://github.com/axios/axios/pull/5364) - -### Contributors to this release - -- ![avatar](https://avatars.githubusercontent.com/u/12586868?v=4&s=16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS) -- ![avatar](https://avatars.githubusercontent.com/u/1652293?v=4&s=16) [Winnie](https://github.com/winniehell) - -## [1.2.1] - 2022-12-05 - -### Changed - -- feat(exports): export mergeConfig [#5151](https://github.com/axios/axios/pull/5151) - -### Fixed - -- fix(CancelledError): include config [#4922](https://github.com/axios/axios/pull/4922) -- fix(general): removing multiple/trailing/leading whitespace [#5022](https://github.com/axios/axios/pull/5022) -- fix(headers): decompression for responses without Content-Length header [#5306](https://github.com/axios/axios/pull/5306) -- fix(webWorker): exception to sending form data in web worker [#5139](https://github.com/axios/axios/pull/5139) - -### Refactors - -- refactor(types): AxiosProgressEvent.event type to any [#5308](https://github.com/axios/axios/pull/5308) -- refactor(types): add missing types for static AxiosError.from method [#4956](https://github.com/axios/axios/pull/4956) - -### Chores - -- chore(docs): remove README link to non-existent upgrade guide [#5307](https://github.com/axios/axios/pull/5307) -- chore(docs): typo in issue template name [#5159](https://github.com/axios/axios/pull/5159) - -### Contributors to this release - -- [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS) -- [Zachary Lysobey](https://github.com/zachlysobey) -- [Kevin Ennis](https://github.com/kevincennis) -- [Philipp Loose](https://github.com/phloose) -- [secondl1ght](https://github.com/secondl1ght) -- [wenzheng](https://github.com/0x30) -- [Ivan Barsukov](https://github.com/ovarn) -- [Arthur Fiorette](https://github.com/arthurfiorette) - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.2.0] - 2022-11-10 - -### Changed - -- changed: refactored module exports [#5162](https://github.com/axios/axios/pull/5162) -- change: re-added support for loading Axios with require('axios').default [#5225](https://github.com/axios/axios/pull/5225) - -### Fixed - -- fix: improve AxiosHeaders class [#5224](https://github.com/axios/axios/pull/5224) -- fix: TypeScript type definitions for commonjs [#5196](https://github.com/axios/axios/pull/5196) -- fix: type definition of use method on AxiosInterceptorManager to match the README [#5071](https://github.com/axios/axios/pull/5071) -- fix: \_\_dirname is not defined in the sandbox [#5269](https://github.com/axios/axios/pull/5269) -- fix: AxiosError.toJSON method to avoid circular references [#5247](https://github.com/axios/axios/pull/5247) -- fix: Z_BUF_ERROR when content-encoding is set but the response body is empty [#5250](https://github.com/axios/axios/pull/5250) - -### Refactors - -- refactor: allowing adapters to be loaded by name [#5277](https://github.com/axios/axios/pull/5277) - -### Chores - -- chore: force CI restart [#5243](https://github.com/axios/axios/pull/5243) -- chore: update ECOSYSTEM.md [#5077](https://github.com/axios/axios/pull/5077) -- chore: update get/index.html [#5116](https://github.com/axios/axios/pull/5116) -- chore: update Sandbox UI/UX [#5205](https://github.com/axios/axios/pull/5205) -- chore:(actions): remove git credentials after checkout [#5235](https://github.com/axios/axios/pull/5235) -- chore(actions): bump actions/dependency-review-action from 2 to 3 [#5266](https://github.com/axios/axios/pull/5266) -- chore(packages): bump loader-utils from 1.4.1 to 1.4.2 [#5295](https://github.com/axios/axios/pull/5295) -- chore(packages): bump engine.io from 6.2.0 to 6.2.1 [#5294](https://github.com/axios/axios/pull/5294) -- chore(packages): bump socket.io-parser from 4.0.4 to 4.0.5 [#5241](https://github.com/axios/axios/pull/5241) -- chore(packages): bump loader-utils from 1.4.0 to 1.4.1 [#5245](https://github.com/axios/axios/pull/5245) -- chore(docs): update Resources links in README [#5119](https://github.com/axios/axios/pull/5119) -- chore(docs): update the link for JSON url [#5265](https://github.com/axios/axios/pull/5265) -- chore(docs): fix broken links [#5218](https://github.com/axios/axios/pull/5218) -- chore(docs): update and rename UPGRADE_GUIDE.md to MIGRATION_GUIDE.md [#5170](https://github.com/axios/axios/pull/5170) -- chore(docs): typo fix line #856 and #920 [#5194](https://github.com/axios/axios/pull/5194) -- chore(docs): typo fix #800 [#5193](https://github.com/axios/axios/pull/5193) -- chore(docs): fix typos [#5184](https://github.com/axios/axios/pull/5184) -- chore(docs): fix punctuation in README.md [#5197](https://github.com/axios/axios/pull/5197) -- chore(docs): update readme in the Handling Errors section - issue reference #5260 [#5261](https://github.com/axios/axios/pull/5261) -- chore: remove \b from filename [#5207](https://github.com/axios/axios/pull/5207) -- chore(docs): update CHANGELOG.md [#5137](https://github.com/axios/axios/pull/5137) -- chore: add sideEffects false to package.json [#5025](https://github.com/axios/axios/pull/5025) - -### Contributors to this release - -- [Maddy Miller](https://github.com/me4502) -- [Amit Saini](https://github.com/amitsainii) -- [ecyrbe](https://github.com/ecyrbe) -- [Ikko Ashimine](https://github.com/eltociear) -- [Geeth Gunnampalli](https://github.com/thetechie7) -- [Shreem Asati](https://github.com/shreem-123) -- [Frieder Bluemle](https://github.com/friederbluemle) -- [윤세영](https://github.com/yunseyeong) -- [Claudio Busatto](https://github.com/cjcbusatto) -- [Remco Haszing](https://github.com/remcohaszing) -- [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS) -- [Csaba Maulis](https://github.com/om4csaba) -- [MoPaMo](https://github.com/MoPaMo) -- [Daniel Fjeldstad](https://github.com/w3bdesign) -- [Adrien Brunet](https://github.com/adrien-may) -- [Frazer Smith](https://github.com/Fdawgs) -- [HaiTao](https://github.com/836334258) -- [AZM](https://github.com/aziyatali) -- [relbns](https://github.com/relbns) - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.1.3] - 2022-10-15 - -### Added - -- Added custom params serializer support [#5113](https://github.com/axios/axios/pull/5113) - -### Fixed - -- Fixed top-level export to keep them in-line with static properties [#5109](https://github.com/axios/axios/pull/5109) -- Stopped including null values to query string. [#5108](https://github.com/axios/axios/pull/5108) -- Restored proxy config backwards compatibility with 0.x [#5097](https://github.com/axios/axios/pull/5097) -- Added back AxiosHeaders in AxiosHeaderValue [#5103](https://github.com/axios/axios/pull/5103) -- Pin CDN install instructions to a specific version [#5060](https://github.com/axios/axios/pull/5060) -- Handling of array values fixed for AxiosHeaders [#5085](https://github.com/axios/axios/pull/5085) - -### Chores - -- docs: match badge style, add link to them [#5046](https://github.com/axios/axios/pull/5046) -- chore: fixing comments typo [#5054](https://github.com/axios/axios/pull/5054) -- chore: update issue template [#5061](https://github.com/axios/axios/pull/5061) -- chore: added progress capturing section to the docs; [#5084](https://github.com/axios/axios/pull/5084) - -### Contributors to this release - -- [Jason Saayman](https://github.com/jasonsaayman) -- [scarf](https://github.com/scarf005) -- [Lenz Weber-Tronic](https://github.com/phryneas) -- [Arvindh](https://github.com/itsarvindh) -- [Félix Legrelle](https://github.com/FelixLgr) -- [Patrick Petrovic](https://github.com/ppati000) -- [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS) -- [littledian](https://github.com/littledian) -- [ChronosMasterOfAllTime](https://github.com/ChronosMasterOfAllTime) - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.1.2] - 2022-10-07 - -### Fixed - -- Fixed broken exports for UMD builds. - -### Contributors to this release - -- [Jason Saayman](https://github.com/jasonsaayman) - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.1.1] - 2022-10-07 - -### Fixed - -- Fixed broken exports for common js. This fix breaks a prior fix, I will fix both issues ASAP but the commonJS use is more impactful. - -### Contributors to this release - -- [Jason Saayman](https://github.com/jasonsaayman) - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.1.0] - 2022-10-06 - -### Fixed - -- Fixed missing exports in type definition index.d.ts [#5003](https://github.com/axios/axios/pull/5003) -- Fixed query params composing [#5018](https://github.com/axios/axios/pull/5018) -- Fixed GenericAbortSignal interface by making it more generic [#5021](https://github.com/axios/axios/pull/5021) -- Fixed adding "clear" to AxiosInterceptorManager [#5010](https://github.com/axios/axios/pull/5010) -- Fixed commonjs & umd exports [#5030](https://github.com/axios/axios/pull/5030) -- Fixed inability to access response headers when using axios 1.x with Jest [#5036](https://github.com/axios/axios/pull/5036) - -### Contributors to this release - -- [Trim21](https://github.com/trim21) -- [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS) -- [shingo.sasaki](https://github.com/s-sasaki-0529) -- [Ivan Pepelko](https://github.com/ivanpepelko) -- [Richard Kořínek](https://github.com/risa) - -### PRs - -- CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) ) - -``` - -⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 -``` - -## [1.0.0] - 2022-10-04 - -### Added - -- Added stack trace to AxiosError [#4624](https://github.com/axios/axios/pull/4624) -- Add AxiosError to AxiosStatic [#4654](https://github.com/axios/axios/pull/4654) -- Replaced Rollup as our build runner [#4596](https://github.com/axios/axios/pull/4596) -- Added generic TS types for the exposed toFormData helper [#4668](https://github.com/axios/axios/pull/4668) -- Added listen callback function [#4096](https://github.com/axios/axios/pull/4096) -- Added instructions for installing using PNPM [#4207](https://github.com/axios/axios/pull/4207) -- Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill [#4229](https://github.com/axios/axios/pull/4229) -- Added axios-url-template in ECOSYSTEM.md [#4238](https://github.com/axios/axios/pull/4238) -- Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an axios instance [#4248](https://github.com/axios/axios/pull/4248) -- Added react hook plugin [#4319](https://github.com/axios/axios/pull/4319) -- Adding HTTP status code for transformResponse [#4580](https://github.com/axios/axios/pull/4580) -- Added blob to the list of protocols supported by the browser [#4678](https://github.com/axios/axios/pull/4678) -- Resolving proxy from env on redirect [#4436](https://github.com/axios/axios/pull/4436) -- Added enhanced toFormData implementation with additional options [4704](https://github.com/axios/axios/pull/4704) -- Adding Canceler parameters config and request [#4711](https://github.com/axios/axios/pull/4711) -- Added automatic payload serialization to application/x-www-form-urlencoded [#4714](https://github.com/axios/axios/pull/4714) -- Added the ability for webpack users to overwrite built-ins [#4715](https://github.com/axios/axios/pull/4715) -- Added string[] to AxiosRequestHeaders type [#4322](https://github.com/axios/axios/pull/4322) -- Added the ability for the url-encoded-form serializer to respect the formSerializer config [#4721](https://github.com/axios/axios/pull/4721) -- Added isCancel type assert [#4293](https://github.com/axios/axios/pull/4293) -- Added data URL support for node.js [#4725](https://github.com/axios/axios/pull/4725) -- Adding types for progress event callbacks [#4675](https://github.com/axios/axios/pull/4675) -- URL params serializer [#4734](https://github.com/axios/axios/pull/4734) -- Added axios.formToJSON method [#4735](https://github.com/axios/axios/pull/4735) -- Bower platform add data protocol [#4804](https://github.com/axios/axios/pull/4804) -- Use WHATWG URL API instead of url.parse() [#4852](https://github.com/axios/axios/pull/4852) -- Add ENUM containing Http Status Codes to typings [#4903](https://github.com/axios/axios/pull/4903) -- Improve typing of timeout in index.d.ts [#4934](https://github.com/axios/axios/pull/4934) - -### Changed - -- Updated AxiosError.config to be optional in the type definition [#4665](https://github.com/axios/axios/pull/4665) -- Updated README emphasizing the URLSearchParam built-in interface over other solutions [#4590](https://github.com/axios/axios/pull/4590) -- Include request and config when creating a CanceledError instance [#4659](https://github.com/axios/axios/pull/4659) -- Changed func-names eslint rule to as-needed [#4492](https://github.com/axios/axios/pull/4492) -- Replacing deprecated substr() with slice() as substr() is deprecated [#4468](https://github.com/axios/axios/pull/4468) -- Updating HTTP links in README.md to use HTTPS [#4387](https://github.com/axios/axios/pull/4387) -- Updated to a better trim() polyfill [#4072](https://github.com/axios/axios/pull/4072) -- Updated types to allow specifying partial default headers on instance create [#4185](https://github.com/axios/axios/pull/4185) -- Expanded isAxiosError types [#4344](https://github.com/axios/axios/pull/4344) -- Updated type definition for axios instance methods [#4224](https://github.com/axios/axios/pull/4224) -- Updated eslint config [#4722](https://github.com/axios/axios/pull/4722) -- Updated Docs [#4742](https://github.com/axios/axios/pull/4742) -- Refactored Axios to use ES2017 [#4787](https://github.com/axios/axios/pull/4787) - -### Deprecated - -- There are multiple deprecations, refactors and fixes provided in this release. Please read through the full release notes to see how this may impact your project and use case. - -### Removed - -- Removed incorrect argument for NetworkError constructor [#4656](https://github.com/axios/axios/pull/4656) -- Removed Webpack [#4596](https://github.com/axios/axios/pull/4596) -- Removed function that transform arguments to array [#4544](https://github.com/axios/axios/pull/4544) - -### Fixed - -- Fixed grammar in README [#4649](https://github.com/axios/axios/pull/4649) -- Fixed code error in README [#4599](https://github.com/axios/axios/pull/4599) -- Optimized the code that checks cancellation [#4587](https://github.com/axios/axios/pull/4587) -- Fix url pointing to defaults.js in README [#4532](https://github.com/axios/axios/pull/4532) -- Use type alias instead of interface for AxiosPromise [#4505](https://github.com/axios/axios/pull/4505) -- Fix some word spelling and lint style in code comments [#4500](https://github.com/axios/axios/pull/4500) -- Edited readme with 3 updated browser icons of Chrome, FireFox and Safari [#4414](https://github.com/axios/axios/pull/4414) -- Bump follow-redirects from 1.14.9 to 1.15.0 [#4673](https://github.com/axios/axios/pull/4673) -- Fixing http tests to avoid hanging when assertions fail [#4435](https://github.com/axios/axios/pull/4435) -- Fix TS definition for AxiosRequestTransformer [#4201](https://github.com/axios/axios/pull/4201) -- Fix grammatical issues in README [#4232](https://github.com/axios/axios/pull/4232) -- Fixing instance.defaults.headers type [#4557](https://github.com/axios/axios/pull/4557) -- Fixed race condition on immediate requests cancellation [#4261](https://github.com/axios/axios/pull/4261) -- Fixing Z_BUF_ERROR when no content [#4701](https://github.com/axios/axios/pull/4701) -- Fixing proxy beforeRedirect regression [#4708](https://github.com/axios/axios/pull/4708) -- Fixed AxiosError status code type [#4717](https://github.com/axios/axios/pull/4717) -- Fixed AxiosError stack capturing [#4718](https://github.com/axios/axios/pull/4718) -- Fixing AxiosRequestHeaders typings [#4334](https://github.com/axios/axios/pull/4334) -- Fixed max body length defaults [#4731](https://github.com/axios/axios/pull/4731) -- Fixed toFormData Blob issue on node>v17 [#4728](https://github.com/axios/axios/pull/4728) -- Bump grunt from 1.5.2 to 1.5.3 [#4743](https://github.com/axios/axios/pull/4743) -- Fixing content-type header repeated [#4745](https://github.com/axios/axios/pull/4745) -- Fixed timeout error message for http [4738](https://github.com/axios/axios/pull/4738) -- Request ignores false, 0 and empty string as body values [#4785](https://github.com/axios/axios/pull/4785) -- Added back missing minified builds [#4805](https://github.com/axios/axios/pull/4805) -- Fixed a type error [#4815](https://github.com/axios/axios/pull/4815) -- Fixed a regression bug with unsubscribing from cancel token; [#4819](https://github.com/axios/axios/pull/4819) -- Remove repeated compression algorithm [#4820](https://github.com/axios/axios/pull/4820) -- The error of calling extend to pass parameters [#4857](https://github.com/axios/axios/pull/4857) -- SerializerOptions.indexes allows boolean | null | undefined [#4862](https://github.com/axios/axios/pull/4862) -- Require interceptors to return values [#4874](https://github.com/axios/axios/pull/4874) -- Removed unused imports [#4949](https://github.com/axios/axios/pull/4949) -- Allow null indexes on formSerializer and paramsSerializer [#4960](https://github.com/axios/axios/pull/4960) - -### Chores - -- Set permissions for GitHub actions [#4765](https://github.com/axios/axios/pull/4765) -- Included githubactions in the dependabot config [#4770](https://github.com/axios/axios/pull/4770) -- Included dependency review [#4771](https://github.com/axios/axios/pull/4771) -- Update security.md [#4784](https://github.com/axios/axios/pull/4784) -- Remove unnecessary spaces [#4854](https://github.com/axios/axios/pull/4854) -- Simplify the import path of AxiosError [#4875](https://github.com/axios/axios/pull/4875) -- Fix Gitpod dead link [#4941](https://github.com/axios/axios/pull/4941) -- Enable syntax highlighting for a code block [#4970](https://github.com/axios/axios/pull/4970) -- Using Logo Axios in Readme.md [#4993](https://github.com/axios/axios/pull/4993) -- Fix markup for note in README [#4825](https://github.com/axios/axios/pull/4825) -- Fix typo and formatting, add colons [#4853](https://github.com/axios/axios/pull/4853) -- Fix typo in readme [#4942](https://github.com/axios/axios/pull/4942) - -### Security - -- Update SECURITY.md [#4687](https://github.com/axios/axios/pull/4687) - -### Contributors to this release - -- [Bertrand Marron](https://github.com/tusbar) -- [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS) -- [Dan Mooney](https://github.com/danmooney) -- [Michael Li](https://github.com/xiaoyu-tamu) -- [aong](https://github.com/yxwzaxns) -- [Des Preston](https://github.com/despreston) -- [Ted Robertson](https://github.com/tredondo) -- [zhoulixiang](https://github.com/zh-lx) -- [Arthur Fiorette](https://github.com/arthurfiorette) -- [Kumar Shanu](https://github.com/Kr-Shanu) -- [JALAL](https://github.com/JLL32) -- [Jingyi Lin](https://github.com/MageeLin) -- [Philipp Loose](https://github.com/phloose) -- [Alexander Shchukin](https://github.com/sashsvamir) -- [Dave Cardwell](https://github.com/davecardwell) -- [Cat Scarlet](https://github.com/catscarlet) -- [Luca Pizzini](https://github.com/lpizzinidev) -- [Kai](https://github.com/Schweinepriester) -- [Maxime Bargiel](https://github.com/mbargiel) -- [Brian Helba](https://github.com/brianhelba) -- [reslear](https://github.com/reslear) -- [Jamie Slome](https://github.com/JamieSlome) -- [Landro3](https://github.com/Landro3) -- [rafw87](https://github.com/rafw87) -- [Afzal Sayed](https://github.com/afzalsayed96) -- [Koki Oyatsu](https://github.com/kaishuu0123) -- [Dave](https://github.com/wangcch) -- [暴走老七](https://github.com/baozouai) -- [Spencer](https://github.com/spalger) -- [Adrian Wieprzkowicz](https://github.com/Argeento) -- [Jamie Telin](https://github.com/lejahmie) -- [毛呆](https://github.com/aweikalee) -- [Kirill Shakirov](https://github.com/turisap) -- [Rraji Abdelbari](https://github.com/estarossa0) -- [Jelle Schutter](https://github.com/jelleschutter) -- [Tom Ceuppens](https://github.com/KyorCode) -- [Johann Cooper](https://github.com/JohannCooper) -- [Dimitris Halatsis](https://github.com/mitsos1os) -- [chenjigeng](https://github.com/chenjigeng) -- [João Gabriel Quaresma](https://github.com/joaoGabriel55) -- [Victor Augusto](https://github.com/VictorAugDB) -- [neilnaveen](https://github.com/neilnaveen) -- [Pavlos](https://github.com/psmoros) -- [Kiryl Valkovich](https://github.com/visortelle) -- [Naveen](https://github.com/naveensrinivasan) -- [wenzheng](https://github.com/0x30) -- [hcwhan](https://github.com/hcwhan) -- [Bassel Rachid](https://github.com/basselworkforce) -- [Grégoire Pineau](https://github.com/lyrixx) -- [felipedamin](https://github.com/felipedamin) -- [Karl Horky](https://github.com/karlhorky) -- [Yue JIN](https://github.com/kingyue737) -- [Usman Ali Siddiqui](https://github.com/usman250994) -- [WD](https://github.com/techbirds) -- [Günther Foidl](https://github.com/gfoidl) -- [Stephen Jennings](https://github.com/jennings) -- [C.T.Lin](https://github.com/chentsulin) -- [mia-z](https://github.com/mia-z) -- [Parth Banathia](https://github.com/Parth0105) -- [parth0105pluang](https://github.com/parth0105pluang) -- [Marco Weber](https://github.com/mrcwbr) -- [Luca Pizzini](https://github.com/lpizzinidev) -- [Willian Agostini](https://github.com/WillianAgostini) - -- [Huyen Nguyen](https://github.com/huyenltnguyen) diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/LICENSE b/Lombiq.EInvoiceValidator/node_modules/axios/LICENSE deleted file mode 100644 index 05006a5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright (c) 2014-present Matt Zabriskie & Collaborators - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/MIGRATION_GUIDE.md b/Lombiq.EInvoiceValidator/node_modules/axios/MIGRATION_GUIDE.md deleted file mode 100644 index 2e59d9d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/MIGRATION_GUIDE.md +++ /dev/null @@ -1,877 +0,0 @@ -# Axios Migration Guide - -> **Migrating from Axios 0.x to 1.x** -> -> This guide helps developers upgrade from Axios 0.x to 1.x by documenting breaking changes, providing migration strategies, and offering solutions to common upgrade challenges. - -## Table of Contents - -- [Overview](#overview) -- [Breaking Changes](#breaking-changes) -- [Error Handling Migration](#error-handling-migration) -- [API Changes](#api-changes) -- [Configuration Changes](#configuration-changes) -- [Migration Strategies](#migration-strategies) -- [Common Patterns](#common-patterns) -- [Troubleshooting](#troubleshooting) -- [Resources](#resources) - -## Overview - -Axios 1.x introduced several breaking changes to improve consistency, security, and developer experience. While these changes provide better error handling and more predictable behavior, they require code updates when migrating from 0.x versions. - -### Key Changes Summary - -| Area | 0.x Behavior | 1.x Behavior | Impact | -|------|--------------|--------------|--------| -| Error Handling | Selective throwing | Consistent throwing | High | -| JSON Parsing | Lenient | Strict | Medium | -| Browser Support | IE11+ | Modern browsers | Low-Medium | -| TypeScript | Partial | Full support | Low | - -### Migration Complexity - -- **Simple applications**: 1-2 hours -- **Medium applications**: 1-2 days -- **Large applications with complex error handling**: 3-5 days - -## Breaking Changes - -### 1. Error Handling Changes - -**The most significant change in Axios 1.x is how errors are handled.** - -#### 0.x Behavior -```javascript -// Axios 0.x - Some HTTP error codes didn't throw -axios.get('/api/data') - .then(response => { - // Response interceptor could handle all errors - console.log('Success:', response.data); - }); - -// Response interceptor handled everything -axios.interceptors.response.use( - response => response, - error => { - handleError(error); - // Error was "handled" and didn't propagate - } -); -``` - -#### 1.x Behavior -```javascript -// Axios 1.x - All HTTP errors throw consistently -axios.get('/api/data') - .then(response => { - console.log('Success:', response.data); - }) - .catch(error => { - // Must handle errors at call site or they propagate - console.error('Request failed:', error); - }); - -// Response interceptor must re-throw or return rejected promise -axios.interceptors.response.use( - response => response, - error => { - handleError(error); - // Must explicitly handle propagation - return Promise.reject(error); // or throw error; - } -); -``` - -#### Impact -- **Response interceptors** can no longer "swallow" errors silently -- **Every API call** must handle errors explicitly or they become unhandled promise rejections -- **Centralized error handling** requires new patterns - -### 2. JSON Parsing Changes - -#### 0.x Behavior -```javascript -// Axios 0.x - Lenient JSON parsing -// Would attempt to parse even invalid JSON -response.data; // Might contain partial data or fallbacks -``` - -#### 1.x Behavior -```javascript -// Axios 1.x - Strict JSON parsing -// Throws clear errors for invalid JSON -try { - const data = response.data; -} catch (error) { - // Handle JSON parsing errors explicitly -} -``` - -### 3. Request/Response Transform Changes - -#### 0.x Behavior -```javascript -// Implicit transformations with some edge cases -transformRequest: [function (data) { - // Less predictable behavior - return data; -}] -``` - -#### 1.x Behavior -```javascript -// More consistent transformation pipeline -transformRequest: [function (data, headers) { - // Headers parameter always available - // More predictable behavior - return data; -}] -``` - -### 4. Browser Support Changes - -- **0.x**: Supported IE11 and older browsers -- **1.x**: Requires modern browsers with Promise support -- **Polyfills**: May be needed for older browser support - -## Error Handling Migration - -The error handling changes are the most complex part of migrating to Axios 1.x. Here are proven strategies: - -### Strategy 1: Centralized Error Handling with Error Boundary - -```javascript -// Create a centralized error handler -class ApiErrorHandler { - constructor() { - this.setupInterceptors(); - } - - setupInterceptors() { - axios.interceptors.response.use( - response => response, - error => { - // Centralized error processing - this.processError(error); - - // Return a resolved promise with error info for handled errors - if (this.isHandledError(error)) { - return Promise.resolve({ - data: null, - error: this.normalizeError(error), - handled: true - }); - } - - // Re-throw unhandled errors - return Promise.reject(error); - } - ); - } - - processError(error) { - // Log errors - console.error('API Error:', error); - - // Show user notifications - if (error.response?.status === 401) { - this.handleAuthError(); - } else if (error.response?.status >= 500) { - this.showErrorNotification('Server error occurred'); - } - } - - isHandledError(error) { - // Define which errors are "handled" centrally - const handledStatuses = [401, 403, 404, 422, 500, 502, 503]; - return handledStatuses.includes(error.response?.status); - } - - normalizeError(error) { - return { - status: error.response?.status, - message: error.response?.data?.message || error.message, - code: error.response?.data?.code || error.code - }; - } - - handleAuthError() { - // Redirect to login, clear tokens, etc. - localStorage.removeItem('token'); - window.location.href = '/login'; - } - - showErrorNotification(message) { - // Show user-friendly error message - console.error(message); // Replace with your notification system - } -} - -// Initialize globally -const errorHandler = new ApiErrorHandler(); - -// Usage in components/services -async function fetchUserData(userId) { - try { - const response = await axios.get(`/api/users/${userId}`); - - // Check if error was handled centrally - if (response.handled) { - return { data: null, error: response.error }; - } - - return { data: response.data, error: null }; - } catch (error) { - // Unhandled errors still need local handling - return { data: null, error: { message: 'Unexpected error occurred' } }; - } -} -``` - -### Strategy 2: Wrapper Function Pattern - -```javascript -// Create a wrapper that provides 0.x-like behavior -function createApiWrapper() { - const api = axios.create(); - - // Add response interceptor for centralized handling - api.interceptors.response.use( - response => response, - error => { - // Handle common errors centrally - if (error.response?.status === 401) { - // Handle auth errors - handleAuthError(); - } - - if (error.response?.status >= 500) { - // Handle server errors - showServerErrorNotification(); - } - - // Always reject to maintain error propagation - return Promise.reject(error); - } - ); - - // Wrapper function that mimics 0.x behavior - function safeRequest(requestConfig, options = {}) { - return api(requestConfig) - .then(response => response) - .catch(error => { - if (options.suppressErrors) { - // Return error info instead of throwing - return { - data: null, - error: { - status: error.response?.status, - message: error.response?.data?.message || error.message - } - }; - } - throw error; - }); - } - - return { safeRequest, axios: api }; -} - -// Usage -const { safeRequest } = createApiWrapper(); - -// For calls where you want centralized error handling -const result = await safeRequest( - { method: 'get', url: '/api/data' }, - { suppressErrors: true } -); - -if (result.error) { - // Handle error case - console.log('Request failed:', result.error.message); -} else { - // Handle success case - console.log('Data:', result.data); -} -``` - -### Strategy 3: Global Error Handler with Custom Events - -```javascript -// Set up global error handling with events -class GlobalErrorHandler extends EventTarget { - constructor() { - super(); - this.setupInterceptors(); - } - - setupInterceptors() { - axios.interceptors.response.use( - response => response, - error => { - // Emit custom event for global handling - this.dispatchEvent(new CustomEvent('apiError', { - detail: { error, timestamp: new Date() } - })); - - // Always reject to maintain proper error flow - return Promise.reject(error); - } - ); - } -} - -const globalErrorHandler = new GlobalErrorHandler(); - -// Set up global listeners -globalErrorHandler.addEventListener('apiError', (event) => { - const { error } = event.detail; - - // Centralized error logic - if (error.response?.status === 401) { - handleAuthError(); - } - - if (error.response?.status >= 500) { - showErrorNotification('Server error occurred'); - } -}); - -// Usage remains clean -async function apiCall() { - try { - const response = await axios.get('/api/data'); - return response.data; - } catch (error) { - // Error was already handled globally - // Just handle component-specific logic - return null; - } -} -``` - -## API Changes - -### Request Configuration - -#### 0.x to 1.x Changes -```javascript -// 0.x - Some properties had different defaults -const config = { - timeout: 0, // No timeout by default - maxContentLength: -1, // No limit -}; - -// 1.x - More secure defaults -const config = { - timeout: 0, // Still no timeout, but easier to configure - maxContentLength: 2000, // Default limit for security - maxBodyLength: 2000, // New property -}; -``` - -### Response Object - -The response object structure remains largely the same, but error responses are more consistent: - -```javascript -// Both 0.x and 1.x -response = { - data: {}, // Response body - status: 200, // HTTP status - statusText: 'OK', // HTTP status message - headers: {}, // Response headers - config: {}, // Request config - request: {} // Request object -}; - -// Error responses are more consistent in 1.x -error.response = { - data: {}, // Error response body - status: 404, // HTTP error status - statusText: 'Not Found', - headers: {}, - config: {}, - request: {} -}; -``` - -## Configuration Changes - -### Default Configuration Updates - -```javascript -// 0.x defaults -axios.defaults.timeout = 0; // No timeout -axios.defaults.maxContentLength = -1; // No limit - -// 1.x defaults (more secure) -axios.defaults.timeout = 0; // Still no timeout -axios.defaults.maxContentLength = 2000; // 2MB limit -axios.defaults.maxBodyLength = 2000; // 2MB limit -``` - -### Instance Configuration - -```javascript -// 0.x - Instance creation -const api = axios.create({ - baseURL: 'https://api.example.com', - timeout: 1000, -}); - -// 1.x - Same API, but more options available -const api = axios.create({ - baseURL: 'https://api.example.com', - timeout: 1000, - maxBodyLength: Infinity, // Override default if needed - maxContentLength: Infinity, -}); -``` - -## Migration Strategies - -### Step-by-Step Migration Process - -#### Phase 1: Preparation -1. **Audit Current Error Handling** - ```bash - # Find all axios usage - grep -r "axios\." src/ - grep -r "\.catch" src/ - grep -r "interceptors" src/ - ``` - -2. **Identify Patterns** - - Response interceptors that handle errors - - Components that rely on centralized error handling - - Authentication and retry logic - -3. **Create Test Cases** - ```javascript - // Test current error handling behavior - describe('Error Handling Migration', () => { - it('should handle 401 errors consistently', async () => { - // Test authentication error flows - }); - - it('should handle 500 errors with user feedback', async () => { - // Test server error handling - }); - }); - ``` - -#### Phase 2: Implementation -1. **Update Dependencies** - ```bash - npm update axios - ``` - -2. **Implement New Error Handling** - - Choose one of the strategies above - - Update response interceptors - - Add error handling to API calls - -3. **Update Authentication Logic** - ```javascript - // 0.x pattern - axios.interceptors.response.use(null, error => { - if (error.response?.status === 401) { - logout(); - // Error was "handled" - } - }); - - // 1.x pattern - axios.interceptors.response.use( - response => response, - error => { - if (error.response?.status === 401) { - logout(); - } - return Promise.reject(error); // Always propagate - } - ); - ``` - -#### Phase 3: Testing and Validation -1. **Test Error Scenarios** - - Network failures - - HTTP error codes (401, 403, 404, 500, etc.) - - Timeout errors - - JSON parsing errors - -2. **Validate User Experience** - - Error messages are shown appropriately - - Authentication redirects work - - Loading states are handled correctly - -### Gradual Migration Approach - -For large applications, consider gradual migration: - -```javascript -// Create a compatibility layer -const axiosCompat = { - // Use new axios instance for new code - v1: axios.create({ - // 1.x configuration - }), - - // Wrapper for legacy code - legacy: createLegacyWrapper(axios.create({ - // Configuration that mimics 0.x behavior - })) -}; - -function createLegacyWrapper(axiosInstance) { - // Add interceptors that provide 0.x-like behavior - axiosInstance.interceptors.response.use( - response => response, - error => { - // Handle errors in 0.x style for legacy code - handleLegacyError(error); - // Don't propagate certain errors - if (shouldSuppressError(error)) { - return Promise.resolve({ data: null, error: true }); - } - return Promise.reject(error); - } - ); - - return axiosInstance; -} -``` - -## Common Patterns - -### Authentication Interceptors - -#### Updated Authentication Pattern -```javascript -// Token refresh interceptor for 1.x -let isRefreshing = false; -let refreshSubscribers = []; - -function subscribeTokenRefresh(cb) { - refreshSubscribers.push(cb); -} - -function onTokenRefreshed(token) { - refreshSubscribers.forEach(cb => cb(token)); - refreshSubscribers = []; -} - -axios.interceptors.response.use( - response => response, - async error => { - const originalRequest = error.config; - - if (error.response?.status === 401 && !originalRequest._retry) { - if (isRefreshing) { - // Wait for token refresh - return new Promise(resolve => { - subscribeTokenRefresh(token => { - originalRequest.headers.Authorization = `Bearer ${token}`; - resolve(axios(originalRequest)); - }); - }); - } - - originalRequest._retry = true; - isRefreshing = true; - - try { - const newToken = await refreshToken(); - onTokenRefreshed(newToken); - isRefreshing = false; - - originalRequest.headers.Authorization = `Bearer ${newToken}`; - return axios(originalRequest); - } catch (refreshError) { - isRefreshing = false; - logout(); - return Promise.reject(refreshError); - } - } - - return Promise.reject(error); - } -); -``` - -### Retry Logic - -```javascript -// Retry interceptor for 1.x -function createRetryInterceptor(maxRetries = 3, retryDelay = 1000) { - return axios.interceptors.response.use( - response => response, - async error => { - const config = error.config; - - if (!config || !config.retry) { - return Promise.reject(error); - } - - config.__retryCount = config.__retryCount || 0; - - if (config.__retryCount >= maxRetries) { - return Promise.reject(error); - } - - config.__retryCount += 1; - - // Exponential backoff - const delay = retryDelay * Math.pow(2, config.__retryCount - 1); - await new Promise(resolve => setTimeout(resolve, delay)); - - return axios(config); - } - ); -} - -// Usage -const api = axios.create(); -createRetryInterceptor(3, 1000); - -// Make request with retry -api.get('/api/data', { retry: true }); -``` - -### Loading State Management - -```javascript -// Loading interceptor for 1.x -class LoadingManager { - constructor() { - this.requests = new Set(); - this.setupInterceptors(); - } - - setupInterceptors() { - axios.interceptors.request.use(config => { - this.requests.add(config); - this.updateLoadingState(); - return config; - }); - - axios.interceptors.response.use( - response => { - this.requests.delete(response.config); - this.updateLoadingState(); - return response; - }, - error => { - this.requests.delete(error.config); - this.updateLoadingState(); - return Promise.reject(error); - } - ); - } - - updateLoadingState() { - const isLoading = this.requests.size > 0; - // Update your loading UI - document.body.classList.toggle('loading', isLoading); - } -} - -const loadingManager = new LoadingManager(); -``` - -## Troubleshooting - -### Common Migration Issues - -#### Issue 1: Unhandled Promise Rejections - -**Problem:** -```javascript -// This pattern worked in 0.x but causes unhandled rejections in 1.x -axios.get('/api/data'); // No .catch() handler -``` - -**Solution:** -```javascript -// Always handle promises -axios.get('/api/data') - .catch(error => { - // Handle error appropriately - console.error('Request failed:', error.message); - }); - -// Or use async/await with try/catch -async function fetchData() { - try { - const response = await axios.get('/api/data'); - return response.data; - } catch (error) { - console.error('Request failed:', error.message); - return null; - } -} -``` - -#### Issue 2: Response Interceptors Not "Handling" Errors - -**Problem:** -```javascript -// 0.x style - interceptor "handled" errors -axios.interceptors.response.use(null, error => { - showErrorMessage(error.message); - // Error was considered "handled" -}); -``` - -**Solution:** -```javascript -// 1.x style - explicitly control error propagation -axios.interceptors.response.use( - response => response, - error => { - showErrorMessage(error.message); - - // Choose whether to propagate the error - if (shouldPropagateError(error)) { - return Promise.reject(error); - } - - // Return success-like response for "handled" errors - return Promise.resolve({ - data: null, - handled: true, - error: normalizeError(error) - }); - } -); -``` - -#### Issue 3: JSON Parsing Errors - -**Problem:** -```javascript -// 1.x is stricter about JSON parsing -// This might throw where 0.x was lenient -const data = response.data; -``` - -**Solution:** -```javascript -// Add response transformer for better error handling -axios.defaults.transformResponse = [ - function (data) { - if (typeof data === 'string') { - try { - return JSON.parse(data); - } catch (e) { - // Handle JSON parsing errors gracefully - console.warn('Invalid JSON response:', data); - return { error: 'Invalid JSON', rawData: data }; - } - } - return data; - } -]; -``` - -#### Issue 4: TypeScript Errors After Upgrade - -**Problem:** -```typescript -// TypeScript errors after upgrade -const response = await axios.get('/api/data'); -// Property 'someProperty' does not exist on type 'any' -``` - -**Solution:** -```typescript -// Define proper interfaces -interface ApiResponse { - data: any; - message: string; - success: boolean; -} - -const response = await axios.get('/api/data'); -// Now properly typed -console.log(response.data.data); -``` - -### Debug Migration Issues - -#### Enable Debug Logging -```javascript -// Add request/response logging -axios.interceptors.request.use(config => { - console.log('Request:', config); - return config; -}); - -axios.interceptors.response.use( - response => { - console.log('Response:', response); - return response; - }, - error => { - console.log('Error:', error); - return Promise.reject(error); - } -); -``` - -#### Compare Behavior -```javascript -// Create side-by-side comparison during migration -const axios0x = require('axios-0x'); // Keep old version for testing -const axios1x = require('axios'); - -async function compareRequests(config) { - try { - const [result0x, result1x] = await Promise.allSettled([ - axios0x(config), - axios1x(config) - ]); - - console.log('0.x result:', result0x); - console.log('1.x result:', result1x); - } catch (error) { - console.log('Comparison error:', error); - } -} -``` - -## Resources - -### Official Documentation -- [Axios 1.x Documentation](https://axios-http.com/) -- [Axios GitHub Repository](https://github.com/axios/axios) -- [Axios Changelog](https://github.com/axios/axios/blob/main/CHANGELOG.md) - -### Migration Tools -- [Axios Migration Codemod](https://github.com/axios/axios-migration-codemod) *(if available)* -- [ESLint Rules for Axios 1.x](https://github.com/axios/eslint-plugin-axios) *(if available)* - -### Community Resources -- [Stack Overflow - Axios Migration Questions](https://stackoverflow.com/questions/tagged/axios+migration) -- [GitHub Discussions](https://github.com/axios/axios/discussions) -- [Axios Discord Community](https://discord.gg/axios) *(if available)* - -### Related Issues -- [Error Handling Changes Discussion](https://github.com/axios/axios/issues/7208) -- [Migration Guide Request](https://github.com/axios/axios/issues/xxxx) *(link to related issues)* - ---- - -## Need Help? - -If you encounter issues during migration that aren't covered in this guide: - -1. **Search existing issues** in the [Axios GitHub repository](https://github.com/axios/axios/issues) -2. **Ask questions** in [GitHub Discussions](https://github.com/axios/axios/discussions) -3. **Contribute improvements** to this migration guide - ---- - -*This migration guide is maintained by the community. If you find errors or have suggestions, please [open an issue](https://github.com/axios/axios/issues) or submit a pull request.* \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/README.md b/Lombiq.EInvoiceValidator/node_modules/axios/README.md deleted file mode 100644 index 7c3fa71..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/README.md +++ /dev/null @@ -1,2559 +0,0 @@ -

💎 Platinum sponsors

- - - - - -
- - Thanks.dev - -

- We're passionate about making open source sustainable. Scan your dependency tree to better understand which open source projects need funding. -

-

- thanks.dev -

-
- 💜 Become a sponsor -
- - - - - -
- 💜 Become a sponsor - - 💜 Become a sponsor -
-

🥇 Gold sponsors

- - - - - - - - - - - - - - - - -
- - Principal Financial Group - -

- Free tools to help with your financial planning needs! -

-

- principal.com -

-
- - SAP - -

- BSAP SE, a global software company, is one of the largest vendors of ERP and other enterprise applications. -

-

- opensource.sap.com -

-
- - Descope - -

- Reduce user friction, prevent account takeover, and get a 360° view of your customer and agentic identities with the Descope External IAM platform. -

-

- descope.com -

-
- - Stytch - -

- The identity platform for humans & AI agents -

-

- stytch.com -

-
- - RxDB - -

- RxDB is a NoSQL database for JavaScript that runs directly in your app. -

-

- rxdb.info -

-
- - Poprey - -

- Buy Instagram Likes -

-

- poprey.com -

-
- - Buzzoid - Buy Instagram Followers - -

- At Buzzoid, you can buy Instagram followers through a short checkout flow with safety controls. Rated world's #1 IG service since 2012. -

-

- buzzoid.com -

-
- - Buy Instagram Followers Twicsy - -

- Buy real Instagram followers from Twicsy. Twicsy has been voted the best site to buy followers from the likes of US Magazine. -

-

- twicsy.com -

-
- - Fun 88 - -

- Fun88 is a global online gambling and betting brand founded in 2009, offering a wide range of services including sports betting, live casino games, slots, and virtual gaming. -

-

- global.fun88.com -

-
- - - -

- -
- Axios
-
- -

Promise based HTTP client for the browser and node.js

- -

- Website • - Documentation -

- -
- -[![npm version](https://img.shields.io/npm/v/axios.svg?style=flat-square)](https://www.npmjs.org/package/axios) -[![Build status](https://img.shields.io/github/actions/workflow/status/axios/axios/ci.yml?branch=v1.x&label=CI&logo=github&style=flat-square)](https://github.com/axios/axios/actions/workflows/ci.yml) -[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/axios/axios) -[![install size](https://img.shields.io/badge/dynamic/json?url=https://packagephobia.com/v2/api.json?p=axios&query=$.install.pretty&label=install%20size&style=flat-square)](https://packagephobia.now.sh/result?p=axios) -[![npm bundle size](https://img.shields.io/bundlephobia/minzip/axios?style=flat-square)](https://bundlephobia.com/package/axios@latest) -[![npm downloads](https://img.shields.io/npm/dm/axios.svg?style=flat-square)](https://npm-stat.com/charts.html?package=axios) -[![gitter chat](https://img.shields.io/gitter/room/mzabriskie/axios.svg?style=flat-square)](https://gitter.im/mzabriskie/axios) -[![code helpers](https://www.codetriage.com/axios/axios/badges/users.svg)](https://www.codetriage.com/axios/axios) -[![Contributors](https://img.shields.io/github/contributors/axios/axios.svg?style=flat-square)](CONTRIBUTORS.md) -[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/axios/axios.svg)](https://agentfriendlycode.com/repo/32) - -
- -## Table of contents - -- [Features](#features) -- [Browser support](#browser-support) -- [Installing](#installing) - - [Package manager](#package-manager) - - [CDN](#cdn) -- [Example](#example) -- [Axios API](#axios-api) -- [Request method aliases](#request-method-aliases) -- [Concurrency](#concurrency-deprecated) -- [Creating an instance](#creating-an-instance) -- [Instance methods](#instance-methods) -- [Request config](#request-config) -- [Response schema](#response-schema) -- [Config defaults](#config-defaults) - - [Global axios defaults](#global-axios-defaults) - - [Custom instance defaults](#custom-instance-defaults) - - [Config order of precedence](#config-order-of-precedence) -- [Interceptors](#interceptors) - - [Multiple interceptors](#multiple-interceptors) -- [Handling errors](#handling-errors) -- [Handling timeouts](#handling-timeouts) -- [Cancellation](#cancellation) - - [AbortController](#abortcontroller) - - [CancelToken](#canceltoken-deprecated) -- [Using application/x-www-form-urlencoded format](#using-applicationx-www-form-urlencoded-format) - - [URLSearchParams](#urlsearchparams) - - [Query string](#query-string-older-browsers) - - [Automatic serialization](#automatic-serialization-to-urlsearchparams) -- [Using multipart/form-data format](#using-multipartform-data-format) - - [FormData](#formdata) - - [Automatic serialization](#automatic-serialization-to-formdata) -- [Posting files](#posting-files) -- [HTML form posting](#html-form-posting-browser) -- [Progress capturing](#progress-capturing) -- [Rate limiting](#rate-limiting) -- [AxiosHeaders](#axiosheaders) -- [Fetch adapter](#fetch-adapter) - - [Custom fetch](#custom-fetch) - - [Using with Tauri](#using-with-tauri) - - [Using with SvelteKit](#using-with-sveltekit) -- [HTTP/2 support](#http2-support) -- [Semver](#semver) -- [Promises](#promises) -- [TypeScript](#typescript) -- [Contributing](#contributing) - - [Local setup](#local-setup) -- [Resources](#resources) -- [Credits](#credits) -- [License](#license) - -## Features - -- Make [XMLHttpRequests](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) from the browser. -- Make [http](https://nodejs.org/api/http.html) requests from Node.js. -- Use the [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) API for asynchronous request handling. -- Intercept requests and responses to add custom logic or transform data. -- Transform request and response data. -- Cancel requests with built-in cancellation APIs. -- Serialize and parse [JSON](https://www.json.org/json-en.html) data. -- Serialize data objects to `multipart/form-data` or `application/x-www-form-urlencoded`. -- Add client-side protection against [Cross-Site Request Forgery](https://en.wikipedia.org/wiki/Cross-site_request_forgery). - -## Browser support - -| Chrome | Firefox | Safari | Opera | Edge | -| :------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------: | -| ![Chrome browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome/chrome_48x48.png) | ![Firefox browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/firefox/firefox_48x48.png) | ![Safari browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/safari/safari_48x48.png) | ![Opera browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/opera/opera_48x48.png) | ![Edge browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge/edge_48x48.png) | -| Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | - -[![Browser Matrix](https://saucelabs.com/open_sauce/build_matrix/axios.svg)](https://saucelabs.com/u/axios) - -## Installing - -### Package manager - -Using npm: - -```bash -$ npm install axios -``` - -Using yarn: - -```bash -$ yarn add axios -``` - -Using pnpm: - -```bash -$ pnpm add axios -``` - -Using bun: - -```bash -$ bun add axios -``` - -Using Deno: - -```bash -$ deno add axios -``` - -Once the package is installed, import it with `import` or `require`: - -```js -import axios, { isCancel, AxiosError } from 'axios'; -``` - -You can also use the default export, since the named export is just a re-export from the Axios factory: - -```js -import axios from 'axios'; - -console.log(axios.isCancel('something')); -``` - -If you use `require` for importing, **only the default export is available**: - -```js -const axios = require('axios'); - -console.log(axios.isCancel('something')); -``` - -Some bundlers and ES6 linters need this form: - -```js -import { default as axios } from 'axios'; -``` - -In custom or legacy environments, you can import the bundle directly: - -```js -const axios = require('axios/dist/browser/axios.cjs'); // browser commonJS bundle (ES2017) -// const axios = require('axios/dist/node/axios.cjs'); // node commonJS bundle (ES2017) -``` - -### CDN - -Using jsDelivr CDN (ES5 UMD browser module): - -```html - -``` - -Using unpkg CDN: - -```html - -``` - -## Example - -```js -import axios from 'axios'; -//const axios = require('axios'); // legacy way - -try { - const response = await axios.get('/user?ID=12345'); - console.log(response); -} catch (error) { - console.error(error); -} - -// Optionally the request above could also be done as -axios - .get('/user', { - params: { - ID: 12345, - }, - timeout: 5000, // 5 seconds. See "Handling Timeouts" below for matching error handling - }) - .then(function (response) { - console.log(response); - }) - .catch(function (error) { - console.log(error); - }) - .finally(function () { - // always executed - }); - -// Want to use async/await? Add the `async` keyword to your outer function/method. -async function getUser() { - try { - // Example: GET request with query parameters - const response = await axios.get('/user', { - params: { - ID: 12345, - }, - }); - - // Using the `params` option improves readability and automatically formats query strings - - console.log(response); - } catch (error) { - console.error(error); - } -} -``` - -> Note: Set a `timeout` in production. Without one, a stalled request can hang -> indefinitely. See [Handling Timeouts](#handling-timeouts) for the matching error handling. - -> Note: `async/await` is part of ECMAScript 2017 and is not supported in Internet -> Explorer and older browsers, so use with caution. - -Performing a `POST` request - -```js -const response = await axios.post('/user', { - firstName: 'Fred', - lastName: 'Flintstone', -}); -console.log(response); -``` - -Performing multiple concurrent requests - -```js -function getUserAccount() { - return axios.get('/user/12345'); -} - -function getUserPermissions() { - return axios.get('/user/12345/permissions'); -} - -Promise.all([getUserAccount(), getUserPermissions()]).then(function (results) { - const acct = results[0]; - const perm = results[1]; -}); -``` - -## axios API - -Requests can be made by passing the relevant config to `axios`. - -##### axios(config) - -```js -// Send a POST request -axios({ - method: 'post', - url: '/user/12345', - data: { - firstName: 'Fred', - lastName: 'Flintstone', - }, -}); -``` - -```js -// GET request for remote image in node.js -const response = await axios({ - method: 'get', - url: 'https://bit.ly/2mTM3nY', - responseType: 'stream', -}); -response.data.pipe(fs.createWriteStream('ada_lovelace.jpg')); -``` - -##### axios(url[, config]) - -```js -// Send a GET request (default method) -axios('/user/12345'); -``` - -### Request method aliases - -For convenience, aliases have been provided for all common request methods. - -##### axios.request(config) - -##### axios.get(url[, config]) - -##### axios.delete(url[, config]) - -##### axios.head(url[, config]) - -##### axios.options(url[, config]) - -##### axios.post(url[, data[, config]]) - -##### axios.put(url[, data[, config]]) - -##### axios.patch(url[, data[, config]]) - -###### Note - -When using the alias methods `url`, `method`, and `data` properties don't need to be specified in config. - -### Concurrency (deprecated) - -Use `Promise.all` instead of these helpers. - -Helper functions for dealing with concurrent requests. - -axios.all(iterable) -axios.spread(callback) - -### Creating an instance - -You can create a new instance of axios with a custom config. - -##### axios.create([config]) - -```js -const instance = axios.create({ - baseURL: 'https://some-domain.com/api/', - timeout: 1000, - headers: { 'X-Custom-Header': 'foobar' }, -}); -``` - -### Instance methods - -The following instance methods are available. Axios merges the specified config with the instance config. - -##### axios#request(config) - -##### axios#get(url[, config]) - -##### axios#delete(url[, config]) - -##### axios#head(url[, config]) - -##### axios#options(url[, config]) - -##### axios#post(url[, data[, config]]) - -##### axios#put(url[, data[, config]]) - -##### axios#patch(url[, data[, config]]) - -##### axios#getUri([config]) - -## Request config - -### Security notice: decompression-bomb protection is opt-in - -By default `maxContentLength` and `maxBodyLength` are `-1` (unlimited). A malicious or compromised server can return a tiny gzip/deflate/brotli/zstd body that expands to gigabytes and exhaust the Node.js process. - -If you call servers you do not fully trust, **set a cap**: - -```js -axios.defaults.maxContentLength = 10 * 1024 * 1024; // 10 MB -axios.defaults.maxBodyLength = 10 * 1024 * 1024; -``` - -See the [security guide](https://axios.rest/pages/misc/security.html) for details. - -These config options are available for requests. Only `url` is required. Requests default to `GET` when `method` is not set. - -```js -{ - // `url` is the server URL for the request - url: '/user', - - // `method` is the request method to be used when making the request - method: 'get', // default - - // Axios prepends `baseURL` to `url` unless `url` is absolute and `allowAbsoluteUrls` is set to true. - // It can be convenient to set `baseURL` for an instance of axios to pass relative URLs - // to the methods of that instance. - baseURL: 'https://some-domain.com/api/', - - // `allowAbsoluteUrls` determines whether or not absolute URLs will override a configured `baseUrl`. - // When set to true (default), absolute values for `url` will override `baseUrl`. - // When set to false, absolute values for `url` will always be prepended by `baseUrl`. - allowAbsoluteUrls: true, - - // `transformRequest` allows changes to the request data before it is sent to the server - // This is only applicable for request methods 'PUT', 'POST', 'PATCH' and 'DELETE' - // The last function in the array must return a string or an instance of Buffer, ArrayBuffer, - // FormData or Stream - // You may modify the headers object. - transformRequest: [function (data, headers) { - // Do whatever you want to transform the data - - return data; - }], - - // `transformResponse` allows changes to the response data to be made before - // it is passed to then/catch - transformResponse: [function (data) { - // Do whatever you want to transform the data - - return data; - }], - - // `parseReviver` is an optional function passed as the - // second argument (reviver) to JSON.parse() - parseReviver: function (key, value, context) { - // In modern environments, context.source provides the raw JSON string - // allowing for precision-safe parsing of BigInt - if (typeof value === 'number' && context?.source) { - const isInteger = Number.isInteger(value); - const isUnsafe = !Number.isSafeInteger(value); - const isValidIntegerString = /^-?\d+$/.test(context.source); - - if (isInteger && isUnsafe && isValidIntegerString) { - try { - return BigInt(context.source); - } catch { - // Fallback: return original value if parsing fails - } - } - } - return value; - }, - - // `headers` are custom headers to be sent - headers: {'X-Requested-With': 'XMLHttpRequest'}, - - // `params` are the URL parameters to be sent with the request - // Must be a plain object or a URLSearchParams object - params: { - ID: 12345 - }, - - // `paramsSerializer` is an optional config that allows you to customize serializing `params`. - paramsSerializer: { - - // Custom encoder function which sends key/value pairs in an iterative fashion. - encode?: (param: string): string => { /* Do custom operations here and return transformed string */ }, - - // Custom serializer function for the entire parameter. Allows the user to mimic pre 1.x behaviour. - serialize?: (params: Record, options?: ParamsSerializerOptions ), - - // Configuration for formatting array indexes in the params. - indexes: false, // Three available options: (1) indexes: null (leads to no brackets), (2) (default) indexes: false (leads to empty brackets), (3) indexes: true (leads to brackets with indexes). - - // Maximum object nesting depth when serializing params. Payloads deeper than this throw an - // AxiosError with code ERR_FORM_DATA_DEPTH_EXCEEDED. Default: 100. Set to Infinity to disable. - maxDepth: 100 - - }, - - // `data` is the data to be sent as the request body - // Only applicable for request methods 'PUT', 'POST', 'DELETE', and 'PATCH' - // `data` is request-specific: axios does not inherit or deep-merge it from defaults. - // To add shared body fields, use a request interceptor or transformRequest. - // When no `transformRequest` is set, it must be of one of the following types: - // - string, plain object, ArrayBuffer, ArrayBufferView, URLSearchParams - // - Browser only: FormData, File, Blob - // - React Native: FormData - // - Node only: Stream, Buffer, FormData (form-data package) - data: { - firstName: 'Fred' - }, - - // `formDataHeaderPolicy` controls how node.js FormData#getHeaders() is copied. - // 'legacy' (default) copies all returned headers for v1 compatibility. - // 'content-only' copies only Content-Type and Content-Length. - formDataHeaderPolicy: 'legacy', - - // syntax alternative to send data into the body - // method post - // only the value is sent, not the key - data: 'Country=Brasil&City=Belo Horizonte', - - // `timeout` specifies the number of milliseconds before the request times out. - // If the request takes longer than `timeout`, Axios aborts it. - timeout: 1000, // default is `0` (no timeout) - - // `withCredentials` indicates whether or not cross-site Access-Control requests - // should be made using credentials - // This only controls whether the browser sends credentials. - // It does not control whether the XSRF header is added. - withCredentials: false, // default - - // `adapter` allows custom handling of requests which makes testing easier. - // Return a promise and supply a valid response (see lib/adapters/README.md) - adapter: function (config) { - /* ... */ - }, - // Also, you can set the name of the built-in adapter, or provide an array with their names - // to choose the first available in the environment - adapter: 'xhr', // 'fetch' | 'http' | ['xhr', 'http', 'fetch'] - - // `auth` indicates that HTTP Basic auth should be used, and supplies credentials. - // This will set an `Authorization` header, overwriting any existing - // `Authorization` custom headers you have set using `headers`. - // If `auth` is omitted, the Node.js HTTP and fetch adapters can read - // HTTP Basic auth credentials from the request URL, for example - // `https://user:pass@example.com`. Axios decodes percent-encoded URL - // credentials, and `auth` takes precedence over URL-embedded credentials. - // The Node.js HTTP adapter preserves Basic auth on same-origin redirects - // and strips it on cross-origin redirects. - // Please note that only HTTP Basic auth is configurable through this parameter. - // For Bearer tokens and such, use `Authorization` custom headers instead. - auth: { - username: 'janedoe', - password: 's00pers3cret' - }, - - // `responseType` indicates the type of data that the server will respond with - // options are: 'arraybuffer', 'document', 'json', 'text', 'stream' - // browser only: 'blob' - responseType: 'json', // default - - // `responseEncoding` indicates encoding to use for decoding responses (Node.js only) - // Note: Ignored for `responseType` of 'stream' or client-side requests - // options are: 'ascii', 'ASCII', 'ansi', 'ANSI', 'binary', 'BINARY', 'base64', 'BASE64', 'base64url', - // 'BASE64URL', 'hex', 'HEX', 'latin1', 'LATIN1', 'ucs-2', 'UCS-2', 'ucs2', 'UCS2', 'utf-8', 'UTF-8', - // 'utf8', 'UTF8', 'utf16le', 'UTF16LE' - responseEncoding: 'utf8', // default - - // `xsrfCookieName` is the name of the cookie to use as a value for the xsrf token - xsrfCookieName: 'XSRF-TOKEN', // default - - // `xsrfHeaderName` is the name of the http header that carries the xsrf token value - xsrfHeaderName: 'X-XSRF-TOKEN', // default - - // `withXSRFToken` defines whether to send the XSRF header in browser requests. - // `undefined` (default) - set XSRF header only for the same origin requests - // `true` - always set XSRF header, including for cross-origin requests - // `false` - never set XSRF header - // function - resolve with custom logic; receives the internal config object - withXSRFToken: boolean | undefined | ((config: InternalAxiosRequestConfig) => boolean | undefined), - - // `withXSRFToken` controls whether Axios reads the XSRF cookie and sets the XSRF header. - // - `undefined` (default): the XSRF header is set only for same-origin requests. - // - `true`: attempt to set the XSRF header for all requests (including cross-origin). - // - `false`: never set the XSRF header. - // - function: a callback that receives the request `config` and returns `true`, - // `false`, or `undefined` to decide per-request behavior. - // - // Note about `withCredentials`: `withCredentials` controls whether cross-site - // requests include credentials (cookies and HTTP auth). In older Axios versions, - // setting `withCredentials: true` implicitly caused Axios to set the XSRF header - // for cross-origin requests. Newer Axios separates these concerns: to allow the - // XSRF header to be sent for cross-origin requests you should set both - // `withCredentials: true` and `withXSRFToken: true`. - // - // Example: - // axios.get('/user', { withCredentials: true, withXSRFToken: true }); - - // `onUploadProgress` allows handling of progress events for uploads - // browser & node.js - onUploadProgress: function ({loaded, total, progress, bytes, estimated, rate, upload = true}) { - // Do whatever you want with the Axios progress event - }, - - // `onDownloadProgress` allows handling of progress events for downloads - // browser & node.js - onDownloadProgress: function ({loaded, total, progress, bytes, estimated, rate, download = true}) { - // Do whatever you want with the Axios progress event - }, - - // `maxContentLength` defines the max size of the response content in bytes. - // It is enforced by the Node.js HTTP adapter and the fetch adapter. - maxContentLength: 2000, - - // `maxBodyLength` defines the max size of the request content in bytes. - // It is enforced by the Node.js HTTP adapter and the fetch adapter when the body length can be determined. - maxBodyLength: 2000, - - // `redact` masks matching config keys when AxiosError#toJSON() is called. - // Matching is case-insensitive and recursive. It does not change the request. - redact: ['authorization', 'password'], - - // `validateStatus` defines whether to resolve or reject the promise for a given - // HTTP response status code. If `validateStatus` returns `true` or is set to - // `null`, Axios resolves the promise; otherwise, Axios rejects it. - // Explicit `validateStatus: undefined` resolves every status by default for - // backward compatibility. Set `transitional.validateStatusUndefinedResolves` - // to `false` to make explicit `undefined` behave as if this option was omitted. - validateStatus: function (status) { - return status >= 200 && status < 300; // default - }, - - // `maxRedirects` defines the maximum number of redirects to follow in node.js. - // If set to 0, Axios follows no redirects. - maxRedirects: 21, // default - - // `sensitiveHeaders` (Node only option) lists custom secret-bearing headers - // (such as `X-API-Key`) to remove from cross-origin redirects. Matching is - // case-insensitive. Same-origin redirects keep these headers. If - // `maxRedirects` is 0, this option is not used. - sensitiveHeaders: ['X-API-Key'], - - // `beforeRedirect` defines a function that Axios calls before redirect. - // Use this to adjust the request options upon redirecting, - // to inspect the latest response headers, - // or to cancel the request by throwing an error - // If maxRedirects is set to 0, `beforeRedirect` is not used. - - beforeRedirect: (options, { headers }) => { - if ( - options.hostname === "example.com" && - options.protocol === "https:" - ) { - options.auth = "user:password"; - } - }, - // Security note: - // The `beforeRedirect` hook runs after sensitive headers are stripped during redirects. - // `follow-redirects` removes credentials on protocol downgrades - // (HTTPS to HTTP). Because `beforeRedirect` runs after that step, - // re-injecting credentials without checking the destination can expose - // sensitive data. Only add credentials for trusted HTTPS destinations. - - // `socketPath` defines a UNIX Socket to be used in node.js. - // e.g. '/var/run/docker.sock' to send requests to the docker daemon. - // Only either `socketPath` or `proxy` can be specified. - // If both are specified, `socketPath` is used. - // - // Security: when `socketPath` is set, hostname/port of the URL are ignored, - // which bypasses hostname-based SSRF protections. Never derive `socketPath` - // from untrusted input. Use `allowedSocketPaths` (below) to restrict accepted - // socket paths for defense-in-depth. - socketPath: null, // default - - // `allowedSocketPaths` restricts which `socketPath` values are accepted. - // Accepts a string or array of strings. Entries and the incoming socketPath - // are compared after path.resolve(). A mismatch throws AxiosError with code - // `ERR_BAD_OPTION_VALUE`. When null/undefined, no restriction is applied. - allowedSocketPaths: null, // default - - // `transport` determines the transport method for the request. - // If defined, Axios uses it. Otherwise, if `maxRedirects` is 0, - // Axios uses the default `http` or `https` library, depending on the protocol specified in `protocol`. - // Otherwise, Axios uses the `httpFollow` or `httpsFollow` library, again depending on the protocol, - // which can handle redirects. - transport: undefined, // default - - // `httpAgent` and `httpsAgent` define a custom agent to be used when performing http - // and https requests, respectively, in node.js. This allows options to be added like - // `keepAlive` that are not enabled by default before Node.js v19.0.0. After Node.js - // v19.0.0, you no longer need to customize the agent to enable `keepAlive` because - // `http.globalAgent` has `keepAlive` enabled by default. - httpAgent: new http.Agent({ keepAlive: true }), - httpsAgent: new https.Agent({ keepAlive: true }), - - // `proxy` defines the hostname, port, and protocol of the proxy server. - // You can also define your proxy using the conventional `http_proxy` and - // `https_proxy` environment variables. If you are using environment variables - // for your proxy configuration, you can also define a `no_proxy` environment - // variable as a comma-separated list of domains that should not be proxied. - // Use `false` to disable proxies, ignoring environment variables. - // On Node.js versions with native environment proxy support, axios defers - // environment proxy handling to Node when the selected agent has `proxyEnv` - // enabled, including processes started with `NODE_USE_ENV_PROXY=1`, - // `--use-env-proxy`, or `NODE_OPTIONS=--use-env-proxy`. Custom agents without - // `proxyEnv` continue to use axios environment proxy resolution. Explicit - // `proxy` config is still handled by axios. - // `auth` indicates that HTTP Basic auth should be used to connect to the proxy, and - // supplies credentials. - // For `http://` targets, axios sends the request to the proxy in - // forward-proxy mode and stamps `Proxy-Authorization` onto the request - // headers (overwriting any user-supplied `Proxy-Authorization` header). - // For `https://` targets, axios establishes a CONNECT tunnel through the - // proxy and performs TLS end-to-end with the origin; `Proxy-Authorization` - // is sent on the CONNECT request only, never on the wrapped TLS request, - // so the proxy never sees the URL, headers, or body. Axios forwards - // `httpsAgent` TLS options such as `ca`, `cert`, `key`, and - // `rejectUnauthorized` to the generated tunneling agent, so they still apply - // to the origin TLS connection. - // If you supply an `HttpsProxyAgent`, axios leaves tunneling to that agent. - // If the proxy server uses HTTPS, then you must set the protocol to `https`. - // A user-supplied `Host` header in `headers` is preserved when forwarding - // through a proxy (case-insensitive match on `host`/`Host`/`HOST`); this - // lets you target a virtual host that differs from the request URL, for - // example, hitting `127.0.0.1:4000` while having the proxy treat the - // request as `example.com`. If no `Host` header is supplied, axios - // defaults it to the request URL's `hostname:port` as before. The Host - // header is only set in forward-proxy mode (HTTP targets); for HTTPS - // tunneling the Host header is sent inside the TLS connection, not seen - // by the proxy. - proxy: { - protocol: 'https', - host: '127.0.0.1', - // hostname: '127.0.0.1' // Takes precedence over 'host' if both are defined - port: 9000, - auth: { - username: 'mikeymike', - password: 'rapunz3l' - } - }, - - // `cancelToken` specifies a cancel token that can be used to cancel the request - // (see Cancellation section below for details) - cancelToken: new CancelToken(function (cancel) { - }), - - // an alternative way to cancel Axios requests using AbortController - signal: new AbortController().signal, - - // `decompress` indicates whether or not the response body should be decompressed - // automatically. If set to `true` will also remove the 'content-encoding' header - // from the responses objects of all decompressed responses - // Axios supports gzip, deflate, brotli, and zstd when the current Node.js - // runtime provides the corresponding zlib decompressor. - // - Node only (XHR cannot turn off decompression) - decompress: true, // default - - // `insecureHTTPParser` boolean. - // Indicates where to use an insecure HTTP parser that accepts invalid HTTP headers. - // This may allow interoperability with non-conformant HTTP implementations. - // Using the insecure parser should be avoided. - // see options https://nodejs.org/dist/latest-v12.x/docs/api/http.html#http_http_request_url_options_callback - // see also https://nodejs.org/en/blog/vulnerability/february-2020-security-releases/#strict-http-header-parsing-none - insecureHTTPParser: undefined, // default - - // transitional options for backward compatibility that may be removed in the newer versions - transitional: { - // silent JSON parsing mode - // `true` - ignore JSON parsing errors and set response.data to null if parsing failed (old behaviour) - // `false` - throw SyntaxError if JSON parsing failed - // Important: this option only takes effect when `responseType` is explicitly set to 'json'. - // When `responseType` is omitted (defaults to no value), axios uses `forcedJSONParsing` - // to attempt JSON parsing, but will silently return the raw string on failure regardless - // of this setting. To have invalid JSON throw errors, use: - // { responseType: 'json', transitional: { silentJSONParsing: false } } - silentJSONParsing: true, // default value for the current Axios version - - // try to parse the response string as JSON even if `responseType` is not 'json' - forcedJSONParsing: true, - - // throw ETIMEDOUT error instead of generic ECONNABORTED on request timeouts - clarifyTimeoutError: false, - - // keep explicit `validateStatus: undefined` resolving every response status - // for backward compatibility. Set to false to make explicit undefined behave - // as if validateStatus was omitted. - validateStatusUndefinedResolves: true, - - // advertise `zstd` in the default Accept-Encoding header when the current - // Node.js runtime supports zstd decompression. Axios still decompresses - // zstd responses when support exists and `decompress` is true. - advertiseZstdAcceptEncoding: false, - - // use the legacy interceptor request/response ordering - legacyInterceptorReqResOrdering: true, // default - }, - - env: { - // The FormData class to be used to automatically serialize the payload into a FormData object - FormData: window?.FormData || global?.FormData - }, - - formSerializer: { - visitor: (value, key, path, helpers) => {}; // custom visitor function to serialize form values - dots: boolean; // use dots instead of brackets format - metaTokens: boolean; // keep special endings like {} in parameter key - indexes: boolean; // array indexes format null - no brackets, false - empty brackets, true - brackets with indexes - maxDepth: 100; // maximum object nesting depth; throws AxiosError (ERR_FORM_DATA_DEPTH_EXCEEDED) if exceeded. Set to Infinity to disable. - }, - - // http adapter only (node.js) - maxRate: [ - 100 * 1024, // 100KB/s upload limit, - 100 * 1024 // 100KB/s download limit - ] -} -``` - -For custom secret-bearing headers in Node.js, list them in `sensitiveHeaders` so Axios removes them when following a redirect to another origin: - -```js -axios.get('https://api.example.com/users', { - headers: { 'X-API-Key': 'secret' }, - sensitiveHeaders: ['X-API-Key'], -}); -``` - -### Strict RFC 3986 percent-encoding for query params - -By default, axios decodes `%3A`, `%24`, `%2C` and `%20` back to `:`, `$`, `,` and `+` for readability (the `+` follows the `application/x-www-form-urlencoded` convention for spaces in query strings). These characters are valid in a query component under [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986#section-3.4), so the default output is correct, but some backends require strict percent-encoding and reject the readable form. - -Override the default encoder via `paramsSerializer.encode`: - -```js -// Per-request: emit strict RFC 3986 percent-encoding for query values -axios.get('/foo', { - params: { filter: JSON.stringify({ startedAt: '2026-01-23' }) }, - paramsSerializer: { encode: encodeURIComponent }, -}); - -// Or set it on the instance defaults -const client = axios.create({ - paramsSerializer: { encode: encodeURIComponent }, -}); -``` - -## HTTP/2 support - -Axios has experimental HTTP/2 support in the Node.js HTTP adapter. - -Support depends on the runtime environment and Node.js version. Redirects and some adapter behavior may differ from HTTP/1.1. - -Options like `httpVersion` and `http2Options` are adapter-specific and may not work the same way in every environment. - -If you need HTTP/2, check runtime support or use a custom adapter. - -## Response schema - -The response to a request contains the following information. - -```js -{ - // `data` is the response that was provided by the server - data: {}, - - // `status` is the HTTP status code from the server response - status: 200, - - // `statusText` is the HTTP status message from the server response - statusText: 'OK', - - // `headers` the HTTP headers that the server responded with - // All header names are lowercase and can be accessed using the bracket notation. - // Example: `response.headers['content-type']` - headers: {}, - - // `config` is the config that was provided to `axios` for the request - config: {}, - - // `request` is the request that generated this response - // It is the last ClientRequest instance in node.js (in redirects) - // and an XMLHttpRequest instance in the browser - request: {} -} -``` - -When using `then`, you receive the response like this: - -```js -const response = await axios.get('/user/12345'); -console.log(response.data); -console.log(response.status); -console.log(response.statusText); -console.log(response.headers); -console.log(response.config); -``` - -When using `catch`, or passing a [rejection callback](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/then) as the second parameter of `then`, read the response from the `error` object. See [Handling errors](#handling-errors). - -## Config defaults - -Config defaults apply to every request. - -### Global axios defaults - -```js -axios.defaults.baseURL = 'https://api.example.com'; - -// Important: If you use axios with multiple domains, Axios sends AUTH_TOKEN to all of them. -// See below for an example using Custom instance defaults instead. -axios.defaults.headers.common['Authorization'] = AUTH_TOKEN; - -axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded'; -``` - -### Custom instance defaults - -```js -// Set config defaults when creating the instance -const instance = axios.create({ - baseURL: 'https://api.example.com', -}); - -// Alter defaults after instance has been created -instance.defaults.headers.common['Authorization'] = AUTH_TOKEN; -``` - -### Config order of precedence - -Axios merges config in this order: library defaults from [lib/defaults/index.js](https://github.com/axios/axios/blob/main/lib/defaults/index.js#L49), the instance `defaults` property, and the request `config` argument. Later values take precedence over earlier ones. - -Some options are request-specific and are only taken from the request `config`. `data` is one of those options: axios does not inherit or deep-merge request bodies from global or instance defaults. If every request needs shared body fields, add them with a request interceptor or `transformRequest`, and scope that logic carefully so sensitive values are not sent to the wrong endpoint. - -```js -// Create an instance using the config defaults provided by the library -// At this point the timeout config value is `0` as is the default for the library -const instance = axios.create(); - -// Override timeout default for the library -// Now all requests using this instance will wait 2.5 seconds before timing out -instance.defaults.timeout = 2500; - -// Override timeout for this request as it's known to take a long time -instance.get('/longRequest', { - timeout: 5000, -}); -``` - -## Interceptors - -You can intercept requests or responses before methods like `.get()` or `.post()` -resolve their promises (before code inside `then` or `catch`, or after `await`) - -```js -const instance = axios.create(); - -// Add a request interceptor -instance.interceptors.request.use( - function (config) { - // Do something before the request is sent - return config; - }, - function (error) { - // Do something with the request error - return Promise.reject(error); - } -); - -// Add a response interceptor -instance.interceptors.response.use( - function (response) { - // Any status code that lies within the range of 2xx causes this function to trigger - // Do something with response data - return response; - }, - function (error) { - // Any status codes that fall outside the range of 2xx cause this function to trigger - // Do something with response error - return Promise.reject(error); - } -); -``` - -If you need to remove an interceptor later you can. - -```js -const instance = axios.create(); -const myInterceptor = instance.interceptors.request.use(function () { - /*...*/ -}); -instance.interceptors.request.eject(myInterceptor); -``` - -You can also clear all interceptors for requests or responses. - -```js -const instance = axios.create(); -instance.interceptors.request.use(function () { - /*...*/ -}); -instance.interceptors.request.clear(); // Removes interceptors from requests -instance.interceptors.response.use(function () { - /*...*/ -}); -instance.interceptors.response.clear(); // Removes interceptors from responses -``` - -You can add interceptors to a custom instance of axios. - -```js -const instance = axios.create(); -instance.interceptors.request.use(function () { - /*...*/ -}); -``` - -When you add request interceptors, they are presumed to be asynchronous by default. This can cause a delay -in the execution of your axios request when the main thread is blocked (a promise is created under the hood for -the interceptor and your request gets put at the bottom of the call stack). If your request interceptors are synchronous you can add a flag -to the options object that will tell axios to run the code synchronously and avoid any delays in request execution. - -```js -axios.interceptors.request.use( - function (config) { - config.headers.test = 'I am only a header!'; - return config; - }, - null, - { synchronous: true } -); -``` - -If you want to execute a particular interceptor based on a runtime check, -you can add a `runWhen` function to the options object. The request interceptor will not run **if and only if** the return -of `runWhen` is `false`. Axios calls the function with the config -object (don't forget that you can bind your own arguments to it as well.) This can be handy when you have an -asynchronous request interceptor that only needs to run at certain times. - -```js -function onGetCall(config) { - return config.method === 'get'; -} -axios.interceptors.request.use( - function (config) { - config.headers.test = 'special get headers'; - return config; - }, - null, - { runWhen: onGetCall } -); -``` - -> Note: The options parameter (with `synchronous` and `runWhen` properties) is only supported for request interceptors at the moment. - -### Interceptor execution order - -Request and response interceptors use different execution orders. - -Request interceptors run in reverse order (LIFO: last in, first out). The last interceptor added runs first. - -Response interceptors run in the order they were added (FIFO: first in, first out). The first interceptor added runs first. - -Example: - -```js -const instance = axios.create(); - -const interceptor = (id) => (base) => { - console.log(id); - return base; -}; - -instance.interceptors.request.use(interceptor('Request Interceptor 1')); -instance.interceptors.request.use(interceptor('Request Interceptor 2')); -instance.interceptors.request.use(interceptor('Request Interceptor 3')); -instance.interceptors.response.use(interceptor('Response Interceptor 1')); -instance.interceptors.response.use(interceptor('Response Interceptor 2')); -instance.interceptors.response.use(interceptor('Response Interceptor 3')); - -// Console output: -// Request Interceptor 3 -// Request Interceptor 2 -// Request Interceptor 1 -// [HTTP request is made] -// Response Interceptor 1 -// Response Interceptor 2 -// Response Interceptor 3 -``` - -### Multiple interceptors - -When a response is fulfilled and multiple response interceptors are registered: - -- Each interceptor runs in registration order. -- Each interceptor receives the result from the previous interceptor. -- The chain returns the result from the last interceptor. -- If a fulfillment interceptor throws, Axios skips the next fulfillment interceptor and calls the next rejection interceptor. -- After the error is caught, later fulfillment interceptors run again, just like in a promise chain. - -Read [the interceptor tests](./test/specs/interceptors.spec.js) to see all this in code. - -## Error types - -Axios error messages include details that can help you debug the request. - -Axios errors use this structure: -| Property | Definition | -| -------- | ---------- | -| message | A quick summary of the error message and the status it failed with. | -| name | This defines where the error originated from. For axios, it will always be an 'AxiosError'. | -| stack | Stack trace for the error. | -| config | An axios config object with specific instance configurations defined by the user from when the request was made | -| code | Axios error code. The table below lists internal Axios error codes. | -| status | HTTP response status code. See [here](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes) for common HTTP response status code meanings. - -These are the internal Axios error codes: - -| Code | Definition | -| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| ERR_BAD_OPTION_VALUE | Invalid value provided in axios configuration. | -| ERR_BAD_OPTION | Invalid option provided in axios configuration. | -| ERR_NOT_SUPPORT | Feature or method not supported in the current axios environment. | -| ERR_DEPRECATED | Deprecated feature or method used in axios. | -| ERR_INVALID_URL | Invalid URL provided for axios request. | -| ECONNABORTED | Typically indicates that the request has been timed out (unless `transitional.clarifyTimeoutError` is set) or aborted by the browser or its plugin. | -| ERR_CANCELED | The user explicitly canceled the request with an AbortSignal or CancelToken. | -| ETIMEDOUT | Request timed out after exceeding the configured Axios timeout. Set `transitional.clarifyTimeoutError` to `true`; otherwise Axios throws a generic `ECONNABORTED` error. | -| ERR_NETWORK | Network-related issue. In the browser, this error can also be caused by a [CORS](https://developer.mozilla.org/ru/docs/Web/HTTP/Guides/CORS) or [Mixed Content](https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content) policy violation. The browser does not allow the JS code to clarify the real reason for the error caused by security issues, so please check the console. | -| ERR_FR_TOO_MANY_REDIRECTS | Request exceeded the configured maximum number of redirects. | -| ERR_BAD_RESPONSE | Response cannot be parsed properly or is in an unexpected format. Usually related to a response with `5xx` status code. | -| ERR_BAD_REQUEST | The request has an unexpected format or is missing required parameters. Usually related to a response with `4xx` status code. | - -## Handling errors - -By default, Axios rejects responses with status codes outside the 2xx range. - -```js -axios.get('/user/12345').catch(function (error) { - if (error.response) { - // The request was made and the server responded with a status code - // that falls out of the range of 2xx - console.log(error.response.data); - console.log(error.response.status); - console.log(error.response.headers); - } else if (error.request) { - // The request was made but no response was received - // `error.request` is an instance of XMLHttpRequest in the browser and an instance of - // http.ClientRequest in node.js - console.log(error.request); - } else { - // Something happened in setting up the request that triggered an Error - console.log('Error', error.message); - } - console.log(error.config); -}); -``` - -Use `validateStatus` to override the default condition (`status >= 200 && status < 300`) and choose which HTTP status codes should reject. - -```js -axios.get('/user/12345', { - validateStatus: function (status) { - return status < 500; // Resolve only if the status code is less than 500 - }, -}); -``` - -By default, explicit `validateStatus: undefined` keeps legacy behavior and resolves every response status because `transitional.validateStatusUndefinedResolves` defaults to `true`. Set it to `false` to make explicit `validateStatus: undefined` behave like the option was omitted, so Axios uses the configured/default validator and rejects non-2xx responses by default. - -`validateStatus: null` still accepts every response status. If you disable the transitional behavior and intentionally want all statuses to resolve, use `null` or `() => true`. - -```js -axios.get('/user/12345', { - validateStatus: undefined, - transitional: { - validateStatusUndefinedResolves: false, - }, -}); -``` - -Use `toJSON` to get more information about the HTTP error. - -```js -axios.get('/user/12345').catch(function (error) { - console.log(error.toJSON()); -}); -``` - -To avoid logging secrets from `error.config`, pass a `redact` array in the request config. Matching config keys are masked case-insensitively at any depth when `AxiosError#toJSON()` is called. - -```js -axios - .get('/user/12345', { - headers: { Authorization: 'Bearer token' }, - redact: ['authorization'], - }) - .catch(function (error) { - console.log(error.toJSON().config.headers.Authorization); // [REDACTED ****] - }); -``` - -## Handling timeouts - -```js -async function fetchWithTimeout() { - try { - const response = await axios.get('https://example.com/data', { - timeout: 5000, // 5 seconds - transitional: { - // set to true if you prefer ETIMEDOUT over ECONNABORTED - clarifyTimeoutError: false, - }, - }); - - console.log('Response:', response.data); - } catch (error) { - if (axios.isAxiosError(error)) { - if (error.code === 'ECONNABORTED' || error.code === 'ETIMEDOUT') { - console.error('Request timed out. Please try again.'); - return; - } - - console.error('Axios error:', error.message); - return; - } - - console.error('Unexpected error:', error); - } -} -``` - -## Cancellation - -### AbortController - -Since `v0.22.0`, Axios supports AbortController: - -```js -const controller = new AbortController(); - -axios - .get('/foo/bar', { - signal: controller.signal, - }) - .then(function (response) { - //... - }); -// cancel the request -controller.abort(); -``` - -### CancelToken (deprecated) - -You can also cancel a request using a _CancelToken_. - -> The axios cancel token API is based on the withdrawn [cancellable promises proposal](https://github.com/tc39/proposal-cancelable-promises). - -> This API is deprecated since v0.22.0 and should not be used in new projects. - -Create a cancel token with the `CancelToken.source` factory: - -```js -const CancelToken = axios.CancelToken; -const source = CancelToken.source(); - -axios - .get('/user/12345', { - cancelToken: source.token, - }) - .catch(function (thrown) { - if (axios.isCancel(thrown)) { - console.log('Request canceled', thrown.message); - } else { - // handle error - } - }); - -axios.post( - '/user/12345', - { - name: 'new name', - }, - { - cancelToken: source.token, - } -); - -// cancel the request (the message parameter is optional) -source.cancel('Operation canceled by the user.'); -``` - -You can also pass an executor function to the `CancelToken` constructor: - -```js -const CancelToken = axios.CancelToken; -let cancel; - -axios.get('/user/12345', { - cancelToken: new CancelToken(function executor(c) { - // An executor function receives a cancel function as a parameter - cancel = c; - }), -}); - -// cancel the request -cancel(); -``` - -`CancelToken` also exposes low-level helpers for legacy integrations: - -```js -const source = axios.CancelToken.source(); - -const listener = (cancel) => { - console.log(cancel.message); -}; - -source.token.subscribe(listener); - -const signal = source.token.toAbortSignal(); -// Pass `signal` to APIs that accept AbortSignal. - -source.cancel('Operation canceled by the user.'); -source.token.unsubscribe(listener); -``` - -Canceled requests reject with `axios.CanceledError`. The legacy `axios.Cancel` export is an alias of `axios.CanceledError`, and cancellation errors include `__CANCEL__` for `axios.isCancel` compatibility. - -> Note: You can cancel several requests with the same cancel token or abort controller. -> If a cancellation token is already cancelled when an Axios request starts, Axios cancels the request immediately without making a real request. - -> During the transition period, you can use both cancellation APIs, even for the same request: - -```js -const controller = new AbortController(); -const source = axios.CancelToken.source(); - -axios.get('/user/12345', { - cancelToken: source.token, - signal: controller.signal, -}); - -controller.abort(); -source.cancel('Operation canceled by the user.'); -``` - -## Using `application/x-www-form-urlencoded` format - -### URLSearchParams - -By default, axios serializes JavaScript objects to `JSON`. To send data as [`application/x-www-form-urlencoded`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST), use the [`URLSearchParams`](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams) API. It works in most browsers and in [Node](https://nodejs.org/api/url.html#url_class_urlsearchparams) v10 and later. - -```js -const params = new URLSearchParams({ foo: 'bar' }); -params.append('extraparam', 'value'); -axios.post('/foo', params); -``` - -### Query string (older browsers) - -For very old browsers, use a [polyfill](https://github.com/WebReflection/url-search-params) and make sure it patches the global environment. - -Alternatively, you can encode data using the [`qs`](https://github.com/ljharb/qs) library: - -```js -const qs = require('qs'); -axios.post('/foo', qs.stringify({ bar: 123 })); -``` - -With ES modules: - -```js -import qs from 'qs'; -const data = { bar: 123 }; -const options = { - method: 'POST', - headers: { 'content-type': 'application/x-www-form-urlencoded' }, - data: qs.stringify(data), - url, -}; -axios(options); -``` - -### Older Node.js versions - -For older Node.js engines, use the [`querystring`](https://nodejs.org/api/querystring.html) module: - -```js -const querystring = require('querystring'); -axios.post('https://something.com/', querystring.stringify({ foo: 'bar' })); -``` - -You can also use the [`qs`](https://github.com/ljharb/qs) library. - -> Note: The `qs` library is preferable if you need to stringify nested objects, as the `querystring` method has [known issues](https://github.com/nodejs/node-v0.x-archive/issues/1665) with that use case. - -### Automatic serialization to URLSearchParams - -Axios automatically serializes the data object to urlencoded format if the content-type header is set to "application/x-www-form-urlencoded". - -```js -const data = { - x: 1, - arr: [1, 2, 3], - arr2: [1, [2], 3], - users: [ - { name: 'Peter', surname: 'Griffin' }, - { name: 'Thomas', surname: 'Anderson' }, - ], -}; - -await axios.postForm('https://postman-echo.com/post', data, { - headers: { 'content-type': 'application/x-www-form-urlencoded' }, -}); -``` - -The server receives these fields: - -```js - { - x: '1', - 'arr[]': [ '1', '2', '3' ], - 'arr2[0]': '1', - 'arr2[1][0]': '2', - 'arr2[2]': '3', - 'arr3[]': [ '1', '2', '3' ], - 'users[0][name]': 'Peter', - 'users[0][surname]': 'griffin', - 'users[1][name]': 'Thomas', - 'users[1][surname]': 'Anderson' - } -``` - -If your backend body parser, such as `body-parser` for `express.js`, supports nested object decoding, the server receives the same object structure: - -```js -const app = express(); - -app.use(bodyParser.urlencoded({ extended: true })); // support encoded bodies - -app.post('/', function (req, res, next) { - // echo body as JSON - res.send(JSON.stringify(req.body)); -}); - -server = app.listen(3000); -``` - -## Using `multipart/form-data` format - -### FormData - -To send data as `multipart/form-data`, pass a FormData instance as the payload. -You do not need to set the `Content-Type` header. Axios detects it from the payload type. -For browser, web worker, and React Native `FormData`, leave `Content-Type` unset so the runtime can add the multipart boundary. - -```js -const formData = new FormData(); -formData.append('foo', 'bar'); - -axios.post('https://httpbin.org/post', formData); -``` - -In node.js, use the [`form-data`](https://github.com/form-data/form-data) library: - -```js -const FormData = require('form-data'); - -const form = new FormData(); -form.append('my_field', 'my value'); -form.append('my_buffer', Buffer.alloc(10)); -form.append('my_file', fs.createReadStream('/foo/bar.jpg')); - -axios.post('https://example.com', form); -``` - -In node.js, when a `FormData` object provides `getHeaders()`, axios copies all returned headers by default for v1 compatibility. If the `FormData` object is custom or not fully trusted, set `formDataHeaderPolicy: 'content-only'` to copy only `Content-Type` and `Content-Length`, and set any other request headers explicitly with the request `headers` config. - -### Automatic serialization to FormData - -Since `v0.27.0`, Axios can serialize an object to FormData if the request `Content-Type` -header is set to `multipart/form-data`. - -This request submits data as FormData in browsers and Node.js: - -```js -import axios from 'axios'; - -axios - .post( - 'https://httpbin.org/post', - { x: 1 }, - { - headers: { - 'Content-Type': 'multipart/form-data', - }, - } - ) - .then(({ data }) => console.log(data)); -``` - -The Node.js build uses the [`form-data`](https://github.com/form-data/form-data) polyfill by default. - -You can override the FormData class with the `env.FormData` config option, but most applications do not need this: - -```js -const axios = require('axios'); -var FormData = require('form-data'); - -axios - .post( - 'https://httpbin.org/post', - { x: 1, buf: Buffer.alloc(10) }, - { - headers: { - 'Content-Type': 'multipart/form-data', - }, - } - ) - .then(({ data }) => console.log(data)); -``` - -The Axios FormData serializer supports these special endings: - -- `{}` - serialize the value with JSON.stringify -- `[]` - unwrap the array-like object as separate fields with the same key - -> Note: Arrays and FileList objects are unwrapped by default. - -FormData serializer supports additional options via `config.formSerializer: object` property to handle rare cases: - -- `visitor: Function` - user-defined visitor function that Axios calls recursively to serialize the data object - to a `FormData` object by following custom rules. - -- `dots: boolean = false` - use dot notation instead of brackets to serialize arrays and objects; - -- `metaTokens: boolean = true` - add the special ending (e.g `user{}: '{"name": "John"}'`) in the FormData key. - A backend body parser can use this meta-information to parse the value as JSON. - -- `indexes: null|false|true = false` - controls how Axios adds indexes to unwrapped keys of `flat` array-like objects. - - `null` - don't add brackets (`arr: 1`, `arr: 2`, `arr: 3`) - - `false`(default) - add empty brackets (`arr[]: 1`, `arr[]: 2`, `arr[]: 3`) - - `true` - add brackets with indexes (`arr[0]: 1`, `arr[1]: 2`, `arr[2]: 3`) -- `maxDepth: number = 100` - maximum object nesting depth the serializer will recurse into. If the - input object exceeds this depth, an `AxiosError` with `code: 'ERR_FORM_DATA_DEPTH_EXCEEDED'` is - thrown instead of overflowing the call stack. This protects server applications from DoS - attacks via deeply nested payloads. Set to `Infinity` to disable the limit and restore pre-fix behaviour. -- `Blob: typeof Blob` - Blob constructor used when converting ArrayBuffer-like values for spec-compliant - `FormData`. Override it only for runtimes that provide a compatible `Blob` constructor under a - different binding. - -```js -// Raise the limit for a schema that genuinely nests deeper than 100 levels: -axios.postForm('/api', data, { formSerializer: { maxDepth: 200 } }); - -// Same protection applies to params serialization: -axios.get('/api', { params: data, paramsSerializer: { maxDepth: 200 } }); -``` - -Given this object: - -```js -const obj = { - x: 1, - arr: [1, 2, 3], - arr2: [1, [2], 3], - users: [ - { name: 'Peter', surname: 'Griffin' }, - { name: 'Thomas', surname: 'Anderson' }, - ], - 'obj2{}': [{ x: 1 }], -}; -``` - -The Axios serializer appends these fields: - -```js -const formData = new FormData(); -formData.append('x', '1'); -formData.append('arr[]', '1'); -formData.append('arr[]', '2'); -formData.append('arr[]', '3'); -formData.append('arr2[0]', '1'); -formData.append('arr2[1][0]', '2'); -formData.append('arr2[2]', '3'); -formData.append('users[0][name]', 'Peter'); -formData.append('users[0][surname]', 'Griffin'); -formData.append('users[1][name]', 'Thomas'); -formData.append('users[1][surname]', 'Anderson'); -formData.append('obj2{}', '[{"x":1}]'); -``` - -Axios supports `postForm`, `putForm`, and `patchForm` as shortcuts for the matching HTTP methods with the `Content-Type` header preset to `multipart/form-data`. - -## Posting files - -Submit a single file: - -```js -await axios.postForm('https://httpbin.org/post', { - myVar: 'foo', - file: document.querySelector('#fileInput').files[0], -}); -``` - -or multiple files as `multipart/form-data`: - -```js -await axios.postForm('https://httpbin.org/post', { - 'files[]': document.querySelector('#fileInput').files, -}); -``` - -`FileList` object can be passed directly: - -```js -await axios.postForm('https://httpbin.org/post', document.querySelector('#fileInput').files); -``` - -Axios sends all files with the same field name: `files[]`. - -## HTML form posting (browser) - -Pass an HTML Form element as a payload to submit it as `multipart/form-data` content. - -```js -await axios.postForm('https://httpbin.org/post', document.querySelector('#htmlForm')); -``` - -`FormData` and `HTMLForm` objects can also be posted as `JSON` by explicitly setting the `Content-Type` header to `application/json`: - -```js -await axios.post('https://httpbin.org/post', document.querySelector('#htmlForm'), { - headers: { - 'Content-Type': 'application/json', - }, -}); -``` - -For example, the Form - -```html -
- - - - - - - - - -
-``` - -submits this JSON object: - -```js -{ - "foo": "1", - "deep": { - "prop": { - "spaced": "3" - } - }, - "baz": [ - "4", - "5" - ], - "user": { - "age": "value2" - } -} -``` - -Sending `Blobs`/`Files` as JSON (`base64`) is not currently supported. - -## Progress capturing - -Axios can capture request upload and download progress in browsers and Node.js. -Progress events are limited to `3` times per second. - -```js -await axios.post(url, data, { - onUploadProgress: function (axiosProgressEvent) { - /*{ - loaded: number; - total?: number; - progress?: number; // in range [0..1] - bytes: number; // how many bytes have been transferred since the last trigger (delta) - estimated?: number; // estimated time in seconds - rate?: number; // upload speed in bytes - upload: true; // upload sign - }*/ - }, - - onDownloadProgress: function (axiosProgressEvent) { - /*{ - loaded: number; - total?: number; - progress?: number; - bytes: number; - estimated?: number; - rate?: number; // download speed in bytes - download: true; // download sign - }*/ - }, -}); -``` - -You can also track stream upload/download progress in node.js: - -```js -const { data } = await axios.post(SERVER_URL, readableStream, { - onUploadProgress: ({ progress }) => { - console.log((progress * 100).toFixed(2)); - }, - - headers: { - 'Content-Length': contentLength, - }, - - maxRedirects: 0, // avoid buffering the entire stream -}); -``` - -> Note: -> Capturing FormData upload progress is not currently supported in node.js environments. - -> Warning: -> Set `maxRedirects: 0` when uploading streams in node.js. -> The follow-redirects package buffers the entire stream in RAM and does not follow the "backpressure" algorithm. - -## Rate limiting - -Download and upload rate limits can only be set for the http adapter (node.js): - -```js -const { data } = await axios.post(LOCAL_SERVER_URL, myBuffer, { - onUploadProgress: ({ progress, rate }) => { - console.log(`Upload [${(progress * 100).toFixed(2)}%]: ${(rate / 1024).toFixed(2)}KB/s`); - }, - - maxRate: [100 * 1024], // 100KB/s limit -}); -``` - -## AxiosHeaders - -Axios includes an `AxiosHeaders` class for working with headers through a Map-like API. -HTTP header names are case-insensitive, but Axios keeps the original header case for style and for servers that incorrectly depend on case. -Directly manipulating the headers object still works, but it is deprecated. - -### Working with headers - -An `AxiosHeaders` instance can contain several internal value types that control setting and merging. -Axios gets the final headers object with string values by calling `toJSON`. - -> Note: By JSON here we mean an object consisting only of string values intended to be sent over the network. - -The header value can be one of the following types: - -- `string` - normal string value sent to the server -- `null` - skip header when rendering to JSON -- `false` - skip header when rendering to JSON. Also indicates that the `set` method must be called with `rewrite` set to `true` - to overwrite this value (Axios uses this internally to allow users to opt out of installing certain headers like `User-Agent` or `Content-Type`) -- `undefined` - value is not set - -> Note: The header value is considered set if it is not equal to undefined. - -The headers object is always initialized inside interceptors and transformers: - -```ts -axios.interceptors.request.use((request: InternalAxiosRequestConfig) => { - request.headers.set('My-header', 'value'); - - request.headers.set({ - 'My-set-header1': 'my-set-value1', - 'My-set-header2': 'my-set-value2', - }); - - request.headers.set('User-Agent', false); // prevent Axios from setting this header later - - request.headers.setContentType('text/plain'); - - request.headers['My-set-header2'] = 'newValue'; // direct access is deprecated - - return request; -}); -``` - -You can iterate over an `AxiosHeaders` instance using a `for...of` statement: - -```js -const headers = new AxiosHeaders({ - foo: '1', - bar: '2', - baz: '3', -}); - -for (const [header, value] of headers) { - console.log(header, value); -} - -// foo 1 -// bar 2 -// baz 3 -``` - -### Preserving a specific header case - -Header names are case-insensitive, but `AxiosHeaders` keeps the case of the first matching key it sees. -If you need a specific case for non-standard case-sensitive servers, define a case preset with `undefined` and then set the value later: - -```js -const api = axios.create(); - -api.defaults.headers.common = { - 'content-type': undefined, - accept: undefined, -}; - -await api.put(url, data, { - headers: { - 'Content-Type': 'application/octet-stream', - Accept: 'application/json', - }, -}); -``` - -You can also compose the same behavior with `AxiosHeaders.concat`: - -```js -const headers = axios.AxiosHeaders.concat( - { 'content-type': undefined }, - { 'Content-Type': 'application/octet-stream' } -); - -await axios.put(url, data, { headers }); -``` - -### new AxiosHeaders(headers?) - -Constructs a new `AxiosHeaders` instance. - -``` -constructor(headers?: RawAxiosHeaders | AxiosHeaders | string); -``` - -If the headers object is a string, Axios parses it as raw HTTP headers. - -```js -const headers = new AxiosHeaders(` -Host: www.bing.com -User-Agent: curl/7.54.0 -Accept: */*`); - -console.log(headers); - -// Object [AxiosHeaders] { -// host: 'www.bing.com', -// 'user-agent': 'curl/7.54.0', -// accept: '*/*' -// } -``` - -### AxiosHeaders#set - -```ts -set(headerName, value: Axios, rewrite?: boolean); -set(headerName, value, rewrite?: (this: AxiosHeaders, value: string, name: string, headers: RawAxiosHeaders) => boolean); -set(headers?: RawAxiosHeaders | AxiosHeaders | string, rewrite?: boolean); -set(headers?: Iterable<[string, AxiosHeaderValue]>, rewrite?: boolean); -``` - -The `rewrite` argument controls the overwriting behavior: - -- `false` - do not overwrite if the header's value is set (is not `undefined`) -- `undefined` (default) - overwrite the header unless its value is set to `false` -- `true` - rewrite anyway - -The option can also accept a user-defined function that determines whether to overwrite the value. - -Empty or whitespace-only header names are ignored. - -Iterable key/value pairs, such as a `Map`, are accepted: - -```js -const headers = new AxiosHeaders(); - -headers.set( - new Map([ - ['X-Trace-Id', 'abc123'], - ['Accept', 'application/json'], - ]) -); -``` - -Returns `this`. - -### AxiosHeaders#get(header) - -``` - get(headerName: string, matcher?: true | AxiosHeaderMatcher): AxiosHeaderValue; - get(headerName: string, parser: RegExp): RegExpExecArray | null; -``` - -Returns the internal value of the header. It can take an extra argument to parse the header's value with `RegExp.exec`, -matcher function or internal key-value parser. - -```ts -const headers = new AxiosHeaders({ - 'Content-Type': 'multipart/form-data; boundary=Asrf456BGe4h', -}); - -console.log(headers.get('Content-Type')); -// multipart/form-data; boundary=Asrf456BGe4h - -console.log(headers.get('Content-Type', true)); // parse key-value pairs from a string separated with \s,;= delimiters: -// [Object: null prototype] { -// 'multipart/form-data': undefined, -// boundary: 'Asrf456BGe4h' -// } - -console.log( - headers.get('Content-Type', (value, name, headers) => { - return String(value).replace(/a/g, 'ZZZ'); - }) -); -// multipZZZrt/form-dZZZtZZZ; boundZZZry=Asrf456BGe4h - -console.log(headers.get('Content-Type', /boundary=(\w+)/)?.[0]); -// boundary=Asrf456BGe4h -``` - -Returns the value of the header. - -### AxiosHeaders#has(header, matcher?) - -``` -has(header: string, matcher?: AxiosHeaderMatcher): boolean; -``` - -Returns `true` if the header is set (has no `undefined` value). - -### AxiosHeaders#delete(header, matcher?) - -``` -delete(header: string | string[], matcher?: AxiosHeaderMatcher): boolean; -``` - -Returns `true` if at least one header has been removed. - -### AxiosHeaders#clear(matcher?) - -``` -clear(matcher?: AxiosHeaderMatcher): boolean; -``` - -Removes all headers. -Unlike the `delete` method matcher, this optional matcher matches the header name rather than the value. - -```ts -const headers = new AxiosHeaders({ - foo: '1', - 'x-foo': '2', - 'x-bar': '3', -}); - -console.log(headers.clear(/^x-/)); // true - -console.log(headers.toJSON()); // [Object: null prototype] { foo: '1' } -``` - -Returns `true` if at least one header has been cleared. - -### AxiosHeaders#normalize(format); - -If the headers object was changed directly, it can have duplicates with the same name but in different cases. -This method normalizes the headers object by combining duplicate keys into one. -Axios uses this method internally after calling each interceptor. -Set `format` to true for converting header names to lowercase and capitalizing the initial letters (`cOntEnt-type` => `Content-Type`) - -```js -const headers = new AxiosHeaders({ - foo: '1', -}); - -headers.Foo = '2'; -headers.FOO = '3'; - -console.log(headers.toJSON()); // [Object: null prototype] { foo: '1', Foo: '2', FOO: '3' } -console.log(headers.normalize().toJSON()); // [Object: null prototype] { foo: '3' } -console.log(headers.normalize(true).toJSON()); // [Object: null prototype] { Foo: '3' } -``` - -Returns `this`. - -### AxiosHeaders#concat(...targets) - -``` -concat(...targets: Array): AxiosHeaders; -``` - -Merges the instance with targets into a new `AxiosHeaders` instance. If the target is a string, Axios parses it as raw HTTP headers. - -Returns a new `AxiosHeaders` instance. - -### AxiosHeaders#toJSON(asStrings?) - -``` -toJSON(asStrings: true): Record; -toJSON(asStrings?: false): Record; -``` - -Resolves all internal header values into a new null prototype object. -Set `asStrings` to true to resolve arrays as a string containing all elements, separated by commas. - -### AxiosHeaders#toString() - -``` -toString(): string; -``` - -Returns the headers as a CRLF-free HTTP header block, one `name: value` pair per line. - -### AxiosHeaders.from(thing?) - -``` -from(thing?: AxiosHeaders | RawAxiosHeaders | string): AxiosHeaders; -``` - -Returns a new `AxiosHeaders` instance created from the raw headers passed in, -or returns the given headers object if it's already an `AxiosHeaders` instance. - -### AxiosHeaders.concat(...targets) - -``` -concat(...targets: Array): AxiosHeaders; -``` - -Returns a new `AxiosHeaders` instance created by merging the target objects. - -### Shortcuts - -The following shortcuts are available: - -- `setContentType`, `getContentType`, `hasContentType` - -- `setContentLength`, `getContentLength`, `hasContentLength` - -- `setAccept`, `getAccept`, `hasAccept` - -- `setUserAgent`, `getUserAgent`, `hasUserAgent` - -- `setContentEncoding`, `getContentEncoding`, `hasContentEncoding` - -## Fetch adapter - -Axios introduced the fetch adapter in `v1.7.0`. By default, Axios uses it when the `xhr` and `http` adapters are not available in the build or not supported by the environment. -To use it by default, select it explicitly: - -```js -const { data } = axios.get(url, { - adapter: 'fetch', // by default ['xhr', 'http', 'fetch'] -}); -``` - -You can create a separate instance for this: - -```js -const fetchAxios = axios.create({ - adapter: 'fetch', -}); - -const { data } = fetchAxios.get(url); -``` - -The adapter supports the same features as the `xhr` adapter, including upload and download progress capturing. -It also supports response types such as `stream` and `formdata` when the environment supports them. - -When `auth` is omitted, the fetch adapter can read HTTP Basic auth credentials from the request URL, for example `https://user:pass@example.com`. Percent-encoded URL credentials are decoded before the `Authorization` header is generated, and `auth` takes precedence over URL-embedded credentials. - -### Custom fetch - -Since `v1.12.0`, you can configure the fetch adapter to use a custom fetch API instead of environment globals. -Pass a custom `fetch` function, `Request`, and `Response` constructors through `env` config. -This helps in custom environments and app frameworks. - -When using a custom fetch, you may also need to set custom `Request` and `Response` constructors. If you do not set them, Axios uses the global objects. -If your custom fetch API does not provide these objects and the globals are incompatible with it, pass `null` to disable them inside the fetch adapter. - -> Note: Setting `Request` and `Response` to `null` prevents the fetch adapter from capturing upload and download progress. - -Basic example: - -```js -import customFetchFunction from 'customFetchModule'; - -const instance = axios.create({ - adapter: 'fetch', - onDownloadProgress(e) { - console.log('downloadProgress', e); - }, - env: { - fetch: customFetchFunction, - Request: null, // undefined -> use the global constructor - Response: null, - }, -}); -``` - -#### Using with Tauri - -A minimal example of setting up Axios for use in a [Tauri](https://tauri.app/plugin/http-client/) app with a platform fetch function that ignores CORS policy for requests. - -```js -import { fetch } from '@tauri-apps/plugin-http'; -import axios from 'axios'; - -const instance = axios.create({ - adapter: 'fetch', - onDownloadProgress(e) { - console.log('downloadProgress', e); - }, - env: { - fetch, - }, -}); - -const { data } = await instance.get('https://google.com'); -``` - -#### Using with SvelteKit - -[SvelteKit](https://svelte.dev/docs/kit/web-standards#Fetch-APIs) uses a custom fetch function for server rendering in `load` functions. It also uses relative paths, which are incompatible with the standard URL API. Configure Axios to use SvelteKit's custom fetch API: - -```js -export async function load({ fetch }) { - const { data: post } = await axios.get('https://jsonplaceholder.typicode.com/posts/1', { - adapter: 'fetch', - env: { - fetch, - Request: null, - Response: null, - }, - }); - - return { post }; -} -``` - -#### HTTP/2 support - -Axios supports HTTP/2 through the Node.js `http` adapter, introduced in v1.13.0. - -Support depends on the runtime environment. Axios relies on Node.js APIs, so HTTP/2 works in supported Node.js versions but may not work in other environments such as Bun or Deno. - -Options like `httpVersion` and `http2Options` are adapter-specific and may not behave the same way in every environment. - -Note: HTTP/2 redirects are currently not supported by the HTTP/2 adapter. - -```js -const form = new FormData(); - -form.append('foo', '123'); - -const { data, headers, status } = await axios.post('https://httpbin.org/post', form, { - onUploadProgress(e) { - console.log('upload progress', e); - }, - onDownloadProgress(e) { - console.log('download progress', e); - }, - responseType: 'arraybuffer', -}); -``` - -## Semver - -Axios follows [semver](https://semver.org/) since `v1.0.0`. - -## Promises - -axios depends on a native ES6 Promise implementation to be [supported](https://caniuse.com/promises). -If your environment doesn't support ES6 Promises, you can [polyfill](https://github.com/jakearchibald/es6-promise). - -## TypeScript - -axios includes [TypeScript](https://typescriptlang.org) definitions and a type guard for axios errors. - -```typescript -let user: User = null; -try { - const { data } = await axios.get('/user?ID=12345'); - user = data.userDetails; -} catch (error) { - if (axios.isAxiosError(error)) { - handleAxiosError(error); - } else { - handleUnexpectedError(error); - } -} -``` - -Use `axios.isCancel()` to narrow cancellation errors to `CanceledError`: - -```typescript -const controller = new AbortController(); - -try { - await axios.get('/user?ID=12345', { signal: controller.signal }); -} catch (error) { - if (axios.isCancel(error)) { - handleCancellation(error); - } -} -``` - -Because axios publishes an ESM default export and a CJS `module.exports`, TypeScript has a few caveats. -The recommended setting is `"moduleResolution": "node16"`, which is implied by `"module": "node16"`. This requires TypeScript 4.7 or greater. -If you use ESM, your settings should be fine. -If you compile TypeScript to CJS and can't use `"moduleResolution": "node 16"`, enable `esModuleInterop`. -If you use TypeScript to type check CJS JavaScript code, your only option is to use `"moduleResolution": "node16"`. - -You can also create a custom instance with typed interceptors: - -```typescript -import axios, { AxiosInstance, InternalAxiosRequestConfig } from 'axios'; - -const apiClient: AxiosInstance = axios.create({ - baseURL: 'https://api.example.com', - timeout: 10000, -}); - -apiClient.interceptors.request.use((config: InternalAxiosRequestConfig) => { - // Add auth token - return config; -}); -``` - -## Online one-click setup - -You can use Gitpod, a free online IDE for open source projects, to contribute or run the examples online. - -[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/axios/axios/blob/main/examples/server.js) - -## Contributing - -### Local setup - -As a supply-chain hardening measure, this repository ships a project-level `.npmrc` that sets `ignore-scripts=true`. This blocks npm lifecycle scripts (`preinstall`, `install`, `postinstall`, `prepare`) from any direct or transitive dependency when you run `npm install` or `npm ci` inside the repo. See [THREATMODEL.md](./THREATMODEL.md) (threat T-S2) for the rationale. - -One consequence: the repository's own `prepare` hook (which installs Husky's git hooks) will **not** run automatically. After your first install, enable the git hooks manually: - -```bash -npm ci -npm rebuild husky && npx husky -``` - -Run those two commands once per fresh checkout. You do **not** need to re-run them after every subsequent `npm install`. - -Do not remove `ignore-scripts=true` from `.npmrc` to "fix" this. That reopens the lifecycle-script attack surface for every other package in the tree. All CI workflows already invoke npm with `--ignore-scripts`, so local behaviour matches CI. - -## Resources - -- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) -- [Ecosystem](https://github.com/axios/axios/blob/v1.x/ECOSYSTEM.md) -- [Contributing Guide](https://github.com/axios/axios/blob/v1.x/CONTRIBUTING.md) -- [Code of Conduct](https://github.com/axios/axios/blob/v1.x/CODE_OF_CONDUCT.md) - -## Credits - -axios is heavily inspired by the [$http service](https://docs.angularjs.org/api/ng/service/$http) in [AngularJS](https://angularjs.org/). It provides a standalone `$http`-like service for use outside AngularJS. - -## License - -[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.js b/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.js deleted file mode 100644 index eb223c1..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.js +++ /dev/null @@ -1,5249 +0,0 @@ -/*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define(factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.axios = factory()); -})(this, (function () { 'use strict'; - - function _OverloadYield(e, d) { - this.v = e, this.k = d; - } - function _arrayLikeToArray(r, a) { - (null == a || a > r.length) && (a = r.length); - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; - return n; - } - function _arrayWithHoles(r) { - if (Array.isArray(r)) return r; - } - function _arrayWithoutHoles(r) { - if (Array.isArray(r)) return _arrayLikeToArray(r); - } - function _assertThisInitialized(e) { - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - return e; - } - function _asyncGeneratorDelegate(t) { - var e = {}, - n = false; - function pump(e, r) { - return n = true, r = new Promise(function (n) { - n(t[e](r)); - }), { - done: false, - value: new _OverloadYield(r, 1) - }; - } - return e["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () { - return this; - }, e.next = function (t) { - return n ? (n = false, t) : pump("next", t); - }, "function" == typeof t.throw && (e.throw = function (t) { - if (n) throw n = false, t; - return pump("throw", t); - }), "function" == typeof t.return && (e.return = function (t) { - return n ? (n = false, t) : pump("return", t); - }), e; - } - function _asyncIterator(r) { - var n, - t, - o, - e = 2; - for ("undefined" != typeof Symbol && (t = Symbol.asyncIterator, o = Symbol.iterator); e--;) { - if (t && null != (n = r[t])) return n.call(r); - if (o && null != (n = r[o])) return new AsyncFromSyncIterator(n.call(r)); - t = "@@asyncIterator", o = "@@iterator"; - } - throw new TypeError("Object is not async iterable"); - } - function AsyncFromSyncIterator(r) { - function AsyncFromSyncIteratorContinuation(r) { - if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); - var n = r.done; - return Promise.resolve(r.value).then(function (r) { - return { - value: r, - done: n - }; - }); - } - return AsyncFromSyncIterator = function (r) { - this.s = r, this.n = r.next; - }, AsyncFromSyncIterator.prototype = { - s: null, - n: null, - next: function () { - return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); - }, - return: function (r) { - var n = this.s.return; - return void 0 === n ? Promise.resolve({ - value: r, - done: true - }) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); - }, - throw: function (r) { - var n = this.s.return; - return void 0 === n ? Promise.reject(r) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); - } - }, new AsyncFromSyncIterator(r); - } - function asyncGeneratorStep(n, t, e, r, o, a, c) { - try { - var i = n[a](c), - u = i.value; - } catch (n) { - return void e(n); - } - i.done ? t(u) : Promise.resolve(u).then(r, o); - } - function _asyncToGenerator(n) { - return function () { - var t = this, - e = arguments; - return new Promise(function (r, o) { - var a = n.apply(t, e); - function _next(n) { - asyncGeneratorStep(a, r, o, _next, _throw, "next", n); - } - function _throw(n) { - asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); - } - _next(void 0); - }); - }; - } - function _awaitAsyncGenerator(e) { - return new _OverloadYield(e, 0); - } - function _callSuper(t, o, e) { - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); - } - function _classCallCheck(a, n) { - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); - } - function _construct(t, e, r) { - if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); - var o = [null]; - o.push.apply(o, e); - var p = new (t.bind.apply(t, o))(); - return r && _setPrototypeOf(p, r.prototype), p; - } - function _defineProperties(e, r) { - for (var t = 0; t < r.length; t++) { - var o = r[t]; - o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o); - } - } - function _createClass(e, r, t) { - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { - writable: false - }), e; - } - function _createForOfIteratorHelper(r, e) { - var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; - if (!t) { - if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) { - t && (r = t); - var n = 0, - F = function () {}; - return { - s: F, - n: function () { - return n >= r.length ? { - done: true - } : { - done: false, - value: r[n++] - }; - }, - e: function (r) { - throw r; - }, - f: F - }; - } - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - var o, - a = true, - u = false; - return { - s: function () { - t = t.call(r); - }, - n: function () { - var r = t.next(); - return a = r.done, r; - }, - e: function (r) { - u = true, o = r; - }, - f: function () { - try { - a || null == t.return || t.return(); - } finally { - if (u) throw o; - } - } - }; - } - function _defineProperty(e, r, t) { - return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { - value: t, - enumerable: true, - configurable: true, - writable: true - }) : e[r] = t, e; - } - function _getPrototypeOf(t) { - return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { - return t.__proto__ || Object.getPrototypeOf(t); - }, _getPrototypeOf(t); - } - function _inherits(t, e) { - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); - t.prototype = Object.create(e && e.prototype, { - constructor: { - value: t, - writable: true, - configurable: true - } - }), Object.defineProperty(t, "prototype", { - writable: false - }), e && _setPrototypeOf(t, e); - } - function _isNativeFunction(t) { - try { - return -1 !== Function.toString.call(t).indexOf("[native code]"); - } catch (n) { - return "function" == typeof t; - } - } - function _isNativeReflectConstruct() { - try { - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - } catch (t) {} - return (_isNativeReflectConstruct = function () { - return !!t; - })(); - } - function _iterableToArray(r) { - if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); - } - function _iterableToArrayLimit(r, l) { - var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; - if (null != t) { - var e, - n, - i, - u, - a = [], - f = true, - o = false; - try { - if (i = (t = t.call(r)).next, 0 === l) { - if (Object(t) !== t) return; - f = !1; - } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); - } catch (r) { - o = true, n = r; - } finally { - try { - if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; - } finally { - if (o) throw n; - } - } - return a; - } - } - function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - function ownKeys(e, r) { - var t = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var o = Object.getOwnPropertySymbols(e); - r && (o = o.filter(function (r) { - return Object.getOwnPropertyDescriptor(e, r).enumerable; - })), t.push.apply(t, o); - } - return t; - } - function _objectSpread2(e) { - for (var r = 1; r < arguments.length; r++) { - var t = null != arguments[r] ? arguments[r] : {}; - r % 2 ? ownKeys(Object(t), true).forEach(function (r) { - _defineProperty(e, r, t[r]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); - }); - } - return e; - } - function _possibleConstructorReturn(t, e) { - if (e && ("object" == typeof e || "function" == typeof e)) return e; - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); - return _assertThisInitialized(t); - } - function _regenerator() { - /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ - var e, - t, - r = "function" == typeof Symbol ? Symbol : {}, - n = r.iterator || "@@iterator", - o = r.toStringTag || "@@toStringTag"; - function i(r, n, o, i) { - var c = n && n.prototype instanceof Generator ? n : Generator, - u = Object.create(c.prototype); - return _regeneratorDefine(u, "_invoke", function (r, n, o) { - var i, - c, - u, - f = 0, - p = o || [], - y = false, - G = { - p: 0, - n: 0, - v: e, - a: d, - f: d.bind(e, 4), - d: function (t, r) { - return i = t, c = 0, u = e, G.n = r, a; - } - }; - function d(r, n) { - for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { - var o, - i = p[t], - d = G.p, - l = i[2]; - r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); - } - if (o || r > 1) return a; - throw y = true, n; - } - return function (o, p, l) { - if (f > 1) throw TypeError("Generator is already running"); - for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { - i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); - try { - if (f = 2, i) { - if (c || (o = "next"), t = i[o]) { - if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); - if (!t.done) return t; - u = t.value, c < 2 && (c = 0); - } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); - i = e; - } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; - } catch (t) { - i = e, c = 1, u = t; - } finally { - f = 1; - } - } - return { - value: t, - done: y - }; - }; - }(r, o, i), true), u; - } - var a = {}; - function Generator() {} - function GeneratorFunction() {} - function GeneratorFunctionPrototype() {} - t = Object.getPrototypeOf; - var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () { - return this; - }), t), - u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); - function f(e) { - return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; - } - return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () { - return this; - }), _regeneratorDefine(u, "toString", function () { - return "[object Generator]"; - }), (_regenerator = function () { - return { - w: i, - m: f - }; - })(); - } - function _regeneratorDefine(e, r, n, t) { - var i = Object.defineProperty; - try { - i({}, "", {}); - } catch (e) { - i = 0; - } - _regeneratorDefine = function (e, r, n, t) { - function o(r, n) { - _regeneratorDefine(e, r, function (e) { - return this._invoke(r, n, e); - }); - } - r ? i ? i(e, r, { - value: n, - enumerable: !t, - configurable: !t, - writable: !t - }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); - }, _regeneratorDefine(e, r, n, t); - } - function _regeneratorValues(e) { - if (null != e) { - var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"], - r = 0; - if (t) return t.call(e); - if ("function" == typeof e.next) return e; - if (!isNaN(e.length)) return { - next: function () { - return e && r >= e.length && (e = void 0), { - value: e && e[r++], - done: !e - }; - } - }; - } - throw new TypeError(typeof e + " is not iterable"); - } - function _setPrototypeOf(t, e) { - return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { - return t.__proto__ = e, t; - }, _setPrototypeOf(t, e); - } - function _slicedToArray(r, e) { - return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); - } - function _toConsumableArray(r) { - return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); - } - function _toPrimitive(t, r) { - if ("object" != typeof t || !t) return t; - var e = t[Symbol.toPrimitive]; - if (void 0 !== e) { - var i = e.call(t, r); - if ("object" != typeof i) return i; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return ("string" === r ? String : Number)(t); - } - function _toPropertyKey(t) { - var i = _toPrimitive(t, "string"); - return "symbol" == typeof i ? i : i + ""; - } - function _typeof(o) { - "@babel/helpers - typeof"; - - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { - return typeof o; - } : function (o) { - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; - }, _typeof(o); - } - function _unsupportedIterableToArray(r, a) { - if (r) { - if ("string" == typeof r) return _arrayLikeToArray(r, a); - var t = {}.toString.call(r).slice(8, -1); - return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; - } - } - function _wrapAsyncGenerator(e) { - return function () { - return new AsyncGenerator(e.apply(this, arguments)); - }; - } - function AsyncGenerator(e) { - var t, n; - function resume(t, n) { - try { - var r = e[t](n), - o = r.value, - u = o instanceof _OverloadYield; - Promise.resolve(u ? o.v : o).then(function (n) { - if (u) { - var i = "return" === t && o.k ? t : "next"; - if (!o.k || n.done) return resume(i, n); - n = e[i](n).value; - } - settle(!!r.done, n); - }, function (e) { - resume("throw", e); - }); - } catch (e) { - settle(2, e); - } - } - function settle(e, r) { - 2 === e ? t.reject(r) : t.resolve({ - value: r, - done: e - }), (t = t.next) ? resume(t.key, t.arg) : n = null; - } - this._invoke = function (e, r) { - return new Promise(function (o, u) { - var i = { - key: e, - arg: r, - resolve: o, - reject: u, - next: null - }; - n ? n = n.next = i : (t = n = i, resume(e, r)); - }); - }, "function" != typeof e.return && (this.return = void 0); - } - AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { - return this; - }, AsyncGenerator.prototype.next = function (e) { - return this._invoke("next", e); - }, AsyncGenerator.prototype.throw = function (e) { - return this._invoke("throw", e); - }, AsyncGenerator.prototype.return = function (e) { - return this._invoke("return", e); - }; - function _wrapNativeSuper(t) { - var r = "function" == typeof Map ? new Map() : void 0; - return _wrapNativeSuper = function (t) { - if (null === t || !_isNativeFunction(t)) return t; - if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function"); - if (void 0 !== r) { - if (r.has(t)) return r.get(t); - r.set(t, Wrapper); - } - function Wrapper() { - return _construct(t, arguments, _getPrototypeOf(this).constructor); - } - return Wrapper.prototype = Object.create(t.prototype, { - constructor: { - value: Wrapper, - enumerable: false, - writable: true, - configurable: true - } - }), _setPrototypeOf(Wrapper, t); - }, _wrapNativeSuper(t); - } - - /** - * Create a bound version of a function with a specified `this` context - * - * @param {Function} fn - The function to bind - * @param {*} thisArg - The value to be passed as the `this` parameter - * @returns {Function} A new function that will call the original function with the specified `this` context - */ - function bind(fn, thisArg) { - return function wrap() { - return fn.apply(thisArg, arguments); - }; - } - - // utils is a library of generic helper functions non-specific to axios - - var toString = Object.prototype.toString; - var getPrototypeOf = Object.getPrototypeOf; - var iterator = Symbol.iterator, - toStringTag = Symbol.toStringTag; - - /* Creating a function that will check if an object has a property. */ - var hasOwnProperty = function (_ref) { - var hasOwnProperty = _ref.hasOwnProperty; - return function (obj, prop) { - return hasOwnProperty.call(obj, prop); - }; - }(Object.prototype); - - /** - * Walk the prototype chain (excluding the shared Object.prototype) looking for - * an own `prop`. This distinguishes genuine own/inherited members — including - * class accessors and template prototypes — from members injected via - * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which - * live on Object.prototype itself and are therefore never matched. - * - * @param {*} thing The value whose chain to inspect - * @param {string|symbol} prop The property key to look for - * - * @returns {boolean} True when `prop` is owned below Object.prototype - */ - var hasOwnInPrototypeChain = function hasOwnInPrototypeChain(thing, prop) { - var obj = thing; - var seen = []; - while (obj != null && obj !== Object.prototype) { - if (seen.indexOf(obj) !== -1) { - return false; - } - seen.push(obj); - if (hasOwnProperty(obj, prop)) { - return true; - } - obj = getPrototypeOf(obj); - } - return false; - }; - - /** - * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own - * properties and members inherited from a non-Object.prototype source (a class - * instance or template object) are honored; a value reachable only through a - * polluted Object.prototype is ignored and `undefined` is returned. - * - * @param {*} obj The source object - * @param {string|symbol} prop The property key to read - * - * @returns {*} The resolved value, or undefined when unsafe/absent - */ - var getSafeProp = function getSafeProp(obj, prop) { - return obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined; - }; - var kindOf = function (cache) { - return function (thing) { - var str = toString.call(thing); - return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase()); - }; - }(Object.create(null)); - var kindOfTest = function kindOfTest(type) { - type = type.toLowerCase(); - return function (thing) { - return kindOf(thing) === type; - }; - }; - var typeOfTest = function typeOfTest(type) { - return function (thing) { - return _typeof(thing) === type; - }; - }; - - /** - * Determine if a value is a non-null object - * - * @param {Object} val The value to test - * - * @returns {boolean} True if value is an Array, otherwise false - */ - var isArray = Array.isArray; - - /** - * Determine if a value is undefined - * - * @param {*} val The value to test - * - * @returns {boolean} True if the value is undefined, otherwise false - */ - var isUndefined = typeOfTest('undefined'); - - /** - * Determine if a value is a Buffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Buffer, otherwise false - */ - function isBuffer(val) { - return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction$1(val.constructor.isBuffer) && val.constructor.isBuffer(val); - } - - /** - * Determine if a value is an ArrayBuffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is an ArrayBuffer, otherwise false - */ - var isArrayBuffer = kindOfTest('ArrayBuffer'); - - /** - * Determine if a value is a view on an ArrayBuffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false - */ - function isArrayBufferView(val) { - var result; - if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) { - result = ArrayBuffer.isView(val); - } else { - result = val && val.buffer && isArrayBuffer(val.buffer); - } - return result; - } - - /** - * Determine if a value is a String - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a String, otherwise false - */ - var isString = typeOfTest('string'); - - /** - * Determine if a value is a Function - * - * @param {*} val The value to test - * @returns {boolean} True if value is a Function, otherwise false - */ - var isFunction$1 = typeOfTest('function'); - - /** - * Determine if a value is a Number - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Number, otherwise false - */ - var isNumber = typeOfTest('number'); - - /** - * Determine if a value is an Object - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value is an Object, otherwise false - */ - var isObject = function isObject(thing) { - return thing !== null && _typeof(thing) === 'object'; - }; - - /** - * Determine if a value is a Boolean - * - * @param {*} thing The value to test - * @returns {boolean} True if value is a Boolean, otherwise false - */ - var isBoolean = function isBoolean(thing) { - return thing === true || thing === false; - }; - - /** - * Determine if a value is a plain Object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a plain Object, otherwise false - */ - var isPlainObject = function isPlainObject(val) { - if (!isObject(val)) { - return false; - } - var prototype = getPrototypeOf(val); - return (prototype === null || prototype === Object.prototype || getPrototypeOf(prototype) === null) && - // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or - // Symbol.iterator as evidence the value is a tagged/iterable type rather - // than a plain object, while ignoring keys injected onto Object.prototype. - !hasOwnInPrototypeChain(val, toStringTag) && !hasOwnInPrototypeChain(val, iterator); - }; - - /** - * Determine if a value is an empty object (safely handles Buffers) - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is an empty object, otherwise false - */ - var isEmptyObject = function isEmptyObject(val) { - // Early return for non-objects or Buffers to prevent RangeError - if (!isObject(val) || isBuffer(val)) { - return false; - } - try { - return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype; - } catch (e) { - // Fallback for any other objects that might cause RangeError with Object.keys() - return false; - } - }; - - /** - * Determine if a value is a Date - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Date, otherwise false - */ - var isDate = kindOfTest('Date'); - - /** - * Determine if a value is a File - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a File, otherwise false - */ - var isFile = kindOfTest('File'); - - /** - * Determine if a value is a React Native Blob - * React Native "blob": an object with a `uri` attribute. Optionally, it can - * also have a `name` and `type` attribute to specify filename and content type - * - * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71 - * - * @param {*} value The value to test - * - * @returns {boolean} True if value is a React Native Blob, otherwise false - */ - var isReactNativeBlob = function isReactNativeBlob(value) { - return !!(value && typeof value.uri !== 'undefined'); - }; - - /** - * Determine if environment is React Native - * ReactNative `FormData` has a non-standard `getParts()` method - * - * @param {*} formData The formData to test - * - * @returns {boolean} True if environment is React Native, otherwise false - */ - var isReactNative = function isReactNative(formData) { - return formData && typeof formData.getParts !== 'undefined'; - }; - - /** - * Determine if a value is a Blob - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Blob, otherwise false - */ - var isBlob = kindOfTest('Blob'); - - /** - * Determine if a value is a FileList - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a FileList, otherwise false - */ - var isFileList = kindOfTest('FileList'); - - /** - * Determine if a value is a Stream - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Stream, otherwise false - */ - var isStream = function isStream(val) { - return isObject(val) && isFunction$1(val.pipe); - }; - - /** - * Determine if a value is a FormData - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value is an FormData, otherwise false - */ - function getGlobal() { - if (typeof globalThis !== 'undefined') return globalThis; - if (typeof self !== 'undefined') return self; - if (typeof window !== 'undefined') return window; - if (typeof global !== 'undefined') return global; - return {}; - } - var G = getGlobal(); - var FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined; - var isFormData = function isFormData(thing) { - if (!thing) return false; - if (FormDataCtor && thing instanceof FormDataCtor) return true; - // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData. - var proto = getPrototypeOf(thing); - if (!proto || proto === Object.prototype) return false; - if (!isFunction$1(thing.append)) return false; - var kind = kindOf(thing); - return kind === 'formdata' || - // detect form-data instance - kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]'; - }; - - /** - * Determine if a value is a URLSearchParams object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a URLSearchParams object, otherwise false - */ - var isURLSearchParams = kindOfTest('URLSearchParams'); - var _map = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest), - _map2 = _slicedToArray(_map, 4), - isReadableStream = _map2[0], - isRequest = _map2[1], - isResponse = _map2[2], - isHeaders = _map2[3]; - - /** - * Trim excess whitespace off the beginning and end of a string - * - * @param {String} str The String to trim - * - * @returns {String} The String freed of excess whitespace - */ - var trim = function trim(str) { - return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); - }; - /** - * Iterate over an Array or an Object invoking a function for each item. - * - * If `obj` is an Array callback will be called passing - * the value, index, and complete array for each item. - * - * If 'obj' is an Object callback will be called passing - * the value, key, and complete object for each property. - * - * @param {Object|Array} obj The object to iterate - * @param {Function} fn The callback to invoke for each item - * - * @param {Object} [options] - * @param {Boolean} [options.allOwnKeys = false] - * @returns {any} - */ - function forEach(obj, fn) { - var _ref2 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}, - _ref2$allOwnKeys = _ref2.allOwnKeys, - allOwnKeys = _ref2$allOwnKeys === void 0 ? false : _ref2$allOwnKeys; - // Don't bother if no value provided - if (obj === null || typeof obj === 'undefined') { - return; - } - var i; - var l; - - // Force an array if not already something iterable - if (_typeof(obj) !== 'object') { - /*eslint no-param-reassign:0*/ - obj = [obj]; - } - if (isArray(obj)) { - // Iterate over array values - for (i = 0, l = obj.length; i < l; i++) { - fn.call(null, obj[i], i, obj); - } - } else { - // Buffer check - if (isBuffer(obj)) { - return; - } - - // Iterate over object keys - var keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj); - var len = keys.length; - var key; - for (i = 0; i < len; i++) { - key = keys[i]; - fn.call(null, obj[key], key, obj); - } - } - } - - /** - * Finds a key in an object, case-insensitive, returning the actual key name. - * Returns null if the object is a Buffer or if no match is found. - * - * @param {Object} obj - The object to search. - * @param {string} key - The key to find (case-insensitive). - * @returns {?string} The actual key name if found, otherwise null. - */ - function findKey(obj, key) { - if (isBuffer(obj)) { - return null; - } - key = key.toLowerCase(); - var keys = Object.keys(obj); - var i = keys.length; - var _key; - while (i-- > 0) { - _key = keys[i]; - if (key === _key.toLowerCase()) { - return _key; - } - } - return null; - } - var _global = function () { - /*eslint no-undef:0*/ - if (typeof globalThis !== 'undefined') return globalThis; - return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global; - }(); - var isContextDefined = function isContextDefined(context) { - return !isUndefined(context) && context !== _global; - }; - - /** - * Accepts varargs expecting each argument to be an object, then - * immutably merges the properties of each object and returns result. - * - * When multiple objects contain the same key the later object in - * the arguments list will take precedence. - * - * Example: - * - * ```js - * const result = merge({foo: 123}, {foo: 456}); - * console.log(result.foo); // outputs 456 - * ``` - * - * @param {Object} obj1 Object to merge - * - * @returns {Object} Result of all merge properties - */ - function merge() { - var _ref3 = isContextDefined(this) && this || {}, - caseless = _ref3.caseless, - skipUndefined = _ref3.skipUndefined; - var result = {}; - var assignValue = function assignValue(val, key) { - // Skip dangerous property names to prevent prototype pollution - if (key === '__proto__' || key === 'constructor' || key === 'prototype') { - return; - } - - // findKey lowercases the key, so caseless lookup only applies to strings — - // symbol keys are identity-matched. - var targetKey = caseless && typeof key === 'string' && findKey(result, key) || key; - // Read via own-prop only — a bare `result[targetKey]` walks the prototype - // chain, so a polluted Object.prototype value could surface here and get - // copied into the merged result. - var existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined; - if (isPlainObject(existing) && isPlainObject(val)) { - result[targetKey] = merge(existing, val); - } else if (isPlainObject(val)) { - result[targetKey] = merge({}, val); - } else if (isArray(val)) { - result[targetKey] = val.slice(); - } else if (!skipUndefined || !isUndefined(val)) { - result[targetKey] = val; - } - }; - for (var i = 0, l = arguments.length; i < l; i++) { - var source = i < 0 || arguments.length <= i ? undefined : arguments[i]; - if (!source || isBuffer(source)) { - continue; - } - forEach(source, assignValue); - if (_typeof(source) !== 'object' || isArray(source)) { - continue; - } - var symbols = Object.getOwnPropertySymbols(source); - for (var j = 0; j < symbols.length; j++) { - var symbol = symbols[j]; - if (propertyIsEnumerable.call(source, symbol)) { - assignValue(source[symbol], symbol); - } - } - } - return result; - } - - /** - * Extends object a by mutably adding to it the properties of object b. - * - * @param {Object} a The object to be extended - * @param {Object} b The object to copy properties from - * @param {Object} thisArg The object to bind function to - * - * @param {Object} [options] - * @param {Boolean} [options.allOwnKeys] - * @returns {Object} The resulting value of object a - */ - var extend = function extend(a, b, thisArg) { - var _ref4 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}, - allOwnKeys = _ref4.allOwnKeys; - forEach(b, function (val, key) { - if (thisArg && isFunction$1(val)) { - Object.defineProperty(a, key, { - // Null-proto descriptor so a polluted Object.prototype.get cannot - // hijack defineProperty's accessor-vs-data resolution. - __proto__: null, - value: bind(val, thisArg), - writable: true, - enumerable: true, - configurable: true - }); - } else { - Object.defineProperty(a, key, { - __proto__: null, - value: val, - writable: true, - enumerable: true, - configurable: true - }); - } - }, { - allOwnKeys: allOwnKeys - }); - return a; - }; - - /** - * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) - * - * @param {string} content with BOM - * - * @returns {string} content value without BOM - */ - var stripBOM = function stripBOM(content) { - if (content.charCodeAt(0) === 0xfeff) { - content = content.slice(1); - } - return content; - }; - - /** - * Inherit the prototype methods from one constructor into another - * @param {function} constructor - * @param {function} superConstructor - * @param {object} [props] - * @param {object} [descriptors] - * - * @returns {void} - */ - var inherits = function inherits(constructor, superConstructor, props, descriptors) { - constructor.prototype = Object.create(superConstructor.prototype, descriptors); - Object.defineProperty(constructor.prototype, 'constructor', { - __proto__: null, - value: constructor, - writable: true, - enumerable: false, - configurable: true - }); - Object.defineProperty(constructor, 'super', { - __proto__: null, - value: superConstructor.prototype - }); - props && Object.assign(constructor.prototype, props); - }; - - /** - * Resolve object with deep prototype chain to a flat object - * @param {Object} sourceObj source object - * @param {Object} [destObj] - * @param {Function|Boolean} [filter] - * @param {Function} [propFilter] - * - * @returns {Object} - */ - var toFlatObject = function toFlatObject(sourceObj, destObj, filter, propFilter) { - var props; - var i; - var prop; - var merged = {}; - destObj = destObj || {}; - // eslint-disable-next-line no-eq-null,eqeqeq - if (sourceObj == null) return destObj; - do { - props = Object.getOwnPropertyNames(sourceObj); - i = props.length; - while (i-- > 0) { - prop = props[i]; - if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) { - destObj[prop] = sourceObj[prop]; - merged[prop] = true; - } - } - sourceObj = filter !== false && getPrototypeOf(sourceObj); - } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype); - return destObj; - }; - - /** - * Determines whether a string ends with the characters of a specified string - * - * @param {String} str - * @param {String} searchString - * @param {Number} [position= 0] - * - * @returns {boolean} - */ - var endsWith = function endsWith(str, searchString, position) { - str = String(str); - if (position === undefined || position > str.length) { - position = str.length; - } - position -= searchString.length; - var lastIndex = str.indexOf(searchString, position); - return lastIndex !== -1 && lastIndex === position; - }; - - /** - * Returns new array from array like object or null if failed - * - * @param {*} [thing] - * - * @returns {?Array} - */ - var toArray = function toArray(thing) { - if (!thing) return null; - if (isArray(thing)) return thing; - var i = thing.length; - if (!isNumber(i)) return null; - var arr = new Array(i); - while (i-- > 0) { - arr[i] = thing[i]; - } - return arr; - }; - - /** - * Checking if the Uint8Array exists and if it does, it returns a function that checks if the - * thing passed in is an instance of Uint8Array - * - * @param {TypedArray} - * - * @returns {Array} - */ - // eslint-disable-next-line func-names - var isTypedArray = function (TypedArray) { - // eslint-disable-next-line func-names - return function (thing) { - return TypedArray && thing instanceof TypedArray; - }; - }(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array)); - - /** - * For each entry in the object, call the function with the key and value. - * - * @param {Object} obj - The object to iterate over. - * @param {Function} fn - The function to call for each entry. - * - * @returns {void} - */ - var forEachEntry = function forEachEntry(obj, fn) { - var generator = obj && obj[iterator]; - var _iterator = generator.call(obj); - var result; - while ((result = _iterator.next()) && !result.done) { - var pair = result.value; - fn.call(obj, pair[0], pair[1]); - } - }; - - /** - * It takes a regular expression and a string, and returns an array of all the matches - * - * @param {string} regExp - The regular expression to match against. - * @param {string} str - The string to search. - * - * @returns {Array} - */ - var matchAll = function matchAll(regExp, str) { - var matches; - var arr = []; - while ((matches = regExp.exec(str)) !== null) { - arr.push(matches); - } - return arr; - }; - - /* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */ - var isHTMLForm = kindOfTest('HTMLFormElement'); - var toCamelCase = function toCamelCase(str) { - return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) { - return p1.toUpperCase() + p2; - }); - }; - var propertyIsEnumerable = Object.prototype.propertyIsEnumerable; - - /** - * Determine if a value is a RegExp object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a RegExp object, otherwise false - */ - var isRegExp = kindOfTest('RegExp'); - var reduceDescriptors = function reduceDescriptors(obj, reducer) { - var descriptors = Object.getOwnPropertyDescriptors(obj); - var reducedDescriptors = {}; - forEach(descriptors, function (descriptor, name) { - var ret; - if ((ret = reducer(descriptor, name, obj)) !== false) { - reducedDescriptors[name] = ret || descriptor; - } - }); - Object.defineProperties(obj, reducedDescriptors); - }; - - /** - * Makes all methods read-only - * @param {Object} obj - */ - - var freezeMethods = function freezeMethods(obj) { - reduceDescriptors(obj, function (descriptor, name) { - // skip restricted props in strict mode - if (isFunction$1(obj) && ['arguments', 'caller', 'callee'].includes(name)) { - return false; - } - var value = obj[name]; - if (!isFunction$1(value)) return; - descriptor.enumerable = false; - if ('writable' in descriptor) { - descriptor.writable = false; - return; - } - if (!descriptor.set) { - descriptor.set = function () { - throw Error("Can not rewrite read-only method '" + name + "'"); - }; - } - }); - }; - - /** - * Converts an array or a delimited string into an object set with values as keys and true as values. - * Useful for fast membership checks. - * - * @param {Array|string} arrayOrString - The array or string to convert. - * @param {string} delimiter - The delimiter to use if input is a string. - * @returns {Object} An object with keys from the array or string, values set to true. - */ - var toObjectSet = function toObjectSet(arrayOrString, delimiter) { - var obj = {}; - var define = function define(arr) { - arr.forEach(function (value) { - obj[value] = true; - }); - }; - isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter)); - return obj; - }; - var noop = function noop() {}; - var toFiniteNumber = function toFiniteNumber(value, defaultValue) { - return value != null && Number.isFinite(value = +value) ? value : defaultValue; - }; - - /** - * If the thing is a FormData object, return true, otherwise return false. - * - * @param {unknown} thing - The thing to check. - * - * @returns {boolean} - */ - function isSpecCompliantForm(thing) { - return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]); - } - - /** - * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers. - * - * @param {Object} obj - The object to convert. - * @returns {Object} The JSON-compatible object. - */ - var toJSONObject = function toJSONObject(obj) { - var visited = new WeakSet(); - var _visit = function visit(source) { - if (isObject(source)) { - if (visited.has(source)) { - return; - } - - //Buffer check - if (isBuffer(source)) { - return source; - } - if (!('toJSON' in source)) { - // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230). - visited.add(source); - var target = isArray(source) ? [] : {}; - forEach(source, function (value, key) { - var reducedValue = _visit(value); - !isUndefined(reducedValue) && (target[key] = reducedValue); - }); - visited["delete"](source); - return target; - } - } - return source; - }; - return _visit(obj); - }; - - /** - * Determines if a value is an async function. - * - * @param {*} thing - The value to test. - * @returns {boolean} True if value is an async function, otherwise false. - */ - var isAsyncFn = kindOfTest('AsyncFunction'); - - /** - * Determines if a value is thenable (has then and catch methods). - * - * @param {*} thing - The value to test. - * @returns {boolean} True if value is thenable, otherwise false. - */ - var isThenable = function isThenable(thing) { - return thing && (isObject(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing["catch"]); - }; - - // original code - // https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34 - - /** - * Provides a cross-platform setImmediate implementation. - * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout. - * - * @param {boolean} setImmediateSupported - Whether setImmediate is supported. - * @param {boolean} postMessageSupported - Whether postMessage is supported. - * @returns {Function} A function to schedule a callback asynchronously. - */ - var _setImmediate = function (setImmediateSupported, postMessageSupported) { - if (setImmediateSupported) { - return setImmediate; - } - return postMessageSupported ? function (token, callbacks) { - _global.addEventListener('message', function (_ref5) { - var source = _ref5.source, - data = _ref5.data; - if (source === _global && data === token) { - callbacks.length && callbacks.shift()(); - } - }, false); - return function (cb) { - callbacks.push(cb); - _global.postMessage(token, '*'); - }; - }("axios@".concat(Math.random()), []) : function (cb) { - return setTimeout(cb); - }; - }(typeof setImmediate === 'function', isFunction$1(_global.postMessage)); - - /** - * Schedules a microtask or asynchronous callback as soon as possible. - * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate. - * - * @type {Function} - */ - var asap = typeof queueMicrotask !== 'undefined' ? queueMicrotask.bind(_global) : typeof process !== 'undefined' && process.nextTick || _setImmediate; - - // ********************* - - var isIterable = function isIterable(thing) { - return thing != null && isFunction$1(thing[iterator]); - }; - - /** - * Determine if a value is iterable via an iterator that is NOT sourced solely - * from a polluted Object.prototype. Use this instead of `isIterable` whenever - * the iterable comes from untrusted input (e.g. user-supplied header sources), - * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object - * into an attacker-controlled entries iterator. - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value has a non-polluted iterator - */ - var isSafeIterable = function isSafeIterable(thing) { - return thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing); - }; - var utils$1 = { - isArray: isArray, - isArrayBuffer: isArrayBuffer, - isBuffer: isBuffer, - isFormData: isFormData, - isArrayBufferView: isArrayBufferView, - isString: isString, - isNumber: isNumber, - isBoolean: isBoolean, - isObject: isObject, - isPlainObject: isPlainObject, - isEmptyObject: isEmptyObject, - isReadableStream: isReadableStream, - isRequest: isRequest, - isResponse: isResponse, - isHeaders: isHeaders, - isUndefined: isUndefined, - isDate: isDate, - isFile: isFile, - isReactNativeBlob: isReactNativeBlob, - isReactNative: isReactNative, - isBlob: isBlob, - isRegExp: isRegExp, - isFunction: isFunction$1, - isStream: isStream, - isURLSearchParams: isURLSearchParams, - isTypedArray: isTypedArray, - isFileList: isFileList, - forEach: forEach, - merge: merge, - extend: extend, - trim: trim, - stripBOM: stripBOM, - inherits: inherits, - toFlatObject: toFlatObject, - kindOf: kindOf, - kindOfTest: kindOfTest, - endsWith: endsWith, - toArray: toArray, - forEachEntry: forEachEntry, - matchAll: matchAll, - isHTMLForm: isHTMLForm, - hasOwnProperty: hasOwnProperty, - hasOwnProp: hasOwnProperty, - // an alias to avoid ESLint no-prototype-builtins detection - hasOwnInPrototypeChain: hasOwnInPrototypeChain, - getSafeProp: getSafeProp, - reduceDescriptors: reduceDescriptors, - freezeMethods: freezeMethods, - toObjectSet: toObjectSet, - toCamelCase: toCamelCase, - noop: noop, - toFiniteNumber: toFiniteNumber, - findKey: findKey, - global: _global, - isContextDefined: isContextDefined, - isSpecCompliantForm: isSpecCompliantForm, - toJSONObject: toJSONObject, - isAsyncFn: isAsyncFn, - isThenable: isThenable, - setImmediate: _setImmediate, - asap: asap, - isIterable: isIterable, - isSafeIterable: isSafeIterable - }; - - // RawAxiosHeaders whose duplicates are ignored by node - // c.f. https://nodejs.org/api/http.html#http_message_headers - var ignoreDuplicateOf = utils$1.toObjectSet(['age', 'authorization', 'content-length', 'content-type', 'etag', 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 'referer', 'retry-after', 'user-agent']); - - /** - * Parse headers into an object - * - * ``` - * Date: Wed, 27 Aug 2014 08:58:49 GMT - * Content-Type: application/json - * Connection: keep-alive - * Transfer-Encoding: chunked - * ``` - * - * @param {String} rawHeaders Headers needing to be parsed - * - * @returns {Object} Headers parsed into an object - */ - var parseHeaders = (function (rawHeaders) { - var parsed = {}; - var key; - var val; - var i; - rawHeaders && rawHeaders.split('\n').forEach(function parser(line) { - i = line.indexOf(':'); - key = line.substring(0, i).trim().toLowerCase(); - val = line.substring(i + 1).trim(); - if (!key || parsed[key] && ignoreDuplicateOf[key]) { - return; - } - if (key === 'set-cookie') { - if (parsed[key]) { - parsed[key].push(val); - } else { - parsed[key] = [val]; - } - } else { - parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val; - } - }); - return parsed; - }); - - function trimSPorHTAB(str) { - var start = 0; - var end = str.length; - while (start < end) { - var code = str.charCodeAt(start); - if (code !== 0x09 && code !== 0x20) { - break; - } - start += 1; - } - while (end > start) { - var _code = str.charCodeAt(end - 1); - if (_code !== 0x09 && _code !== 0x20) { - break; - } - end -= 1; - } - return start === 0 && end === str.length ? str : str.slice(start, end); - } - - // The control-code ranges are intentional: header sanitization strips C0/DEL bytes. - // eslint-disable-next-line no-control-regex - var INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+", 'g'); - // eslint-disable-next-line no-control-regex - var INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+", 'g'); - function sanitizeValue(value, invalidChars) { - if (utils$1.isArray(value)) { - return value.map(function (item) { - return sanitizeValue(item, invalidChars); - }); - } - return trimSPorHTAB(String(value).replace(invalidChars, '')); - } - var sanitizeHeaderValue = function sanitizeHeaderValue(value) { - return sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS); - }; - var sanitizeByteStringHeaderValue = function sanitizeByteStringHeaderValue(value) { - return sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS); - }; - function toByteStringHeaderObject(headers) { - var byteStringHeaders = Object.create(null); - utils$1.forEach(headers.toJSON(), function (value, header) { - byteStringHeaders[header] = sanitizeByteStringHeaderValue(value); - }); - return byteStringHeaders; - } - - var $internals = Symbol('internals'); - function normalizeHeader(header) { - return header && String(header).trim().toLowerCase(); - } - function normalizeValue(value) { - if (value === false || value == null) { - return value; - } - return utils$1.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value)); - } - function parseTokens(str) { - var tokens = Object.create(null); - var tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; - var match; - while (match = tokensRE.exec(str)) { - tokens[match[1]] = match[2]; - } - return tokens; - } - var isValidHeaderName = function isValidHeaderName(str) { - return /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim()); - }; - function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) { - if (utils$1.isFunction(filter)) { - return filter.call(this, value, header); - } - if (isHeaderNameFilter) { - value = header; - } - if (!utils$1.isString(value)) return; - if (utils$1.isString(filter)) { - return value.indexOf(filter) !== -1; - } - if (utils$1.isRegExp(filter)) { - return filter.test(value); - } - } - function formatHeader(header) { - return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, function (w, _char, str) { - return _char.toUpperCase() + str; - }); - } - function buildAccessors(obj, header) { - var accessorName = utils$1.toCamelCase(' ' + header); - ['get', 'set', 'has'].forEach(function (methodName) { - Object.defineProperty(obj, methodName + accessorName, { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: function value(arg1, arg2, arg3) { - return this[methodName].call(this, header, arg1, arg2, arg3); - }, - configurable: true - }); - }); - } - var AxiosHeaders = /*#__PURE__*/function () { - function AxiosHeaders(headers) { - _classCallCheck(this, AxiosHeaders); - headers && this.set(headers); - } - return _createClass(AxiosHeaders, [{ - key: "set", - value: function set(header, valueOrRewrite, rewrite) { - var self = this; - function setHeader(_value, _header, _rewrite) { - var lHeader = normalizeHeader(_header); - if (!lHeader) { - return; - } - var key = utils$1.findKey(self, lHeader); - if (!key || self[key] === undefined || _rewrite === true || _rewrite === undefined && self[key] !== false) { - self[key || _header] = normalizeValue(_value); - } - } - var setHeaders = function setHeaders(headers, _rewrite) { - return utils$1.forEach(headers, function (_value, _header) { - return setHeader(_value, _header, _rewrite); - }); - }; - if (utils$1.isPlainObject(header) || header instanceof this.constructor) { - setHeaders(header, valueOrRewrite); - } else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) { - setHeaders(parseHeaders(header), valueOrRewrite); - } else if (utils$1.isObject(header) && utils$1.isSafeIterable(header)) { - var obj = Object.create(null), - dest, - key; - var _iterator = _createForOfIteratorHelper(header), - _step; - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var entry = _step.value; - if (!utils$1.isArray(entry)) { - throw new TypeError('Object iterator must return a key-value pair'); - } - key = entry[0]; - if (utils$1.hasOwnProp(obj, key)) { - dest = obj[key]; - obj[key] = utils$1.isArray(dest) ? [].concat(_toConsumableArray(dest), [entry[1]]) : [dest, entry[1]]; - } else { - obj[key] = entry[1]; - } - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - setHeaders(obj, valueOrRewrite); - } else { - header != null && setHeader(valueOrRewrite, header, rewrite); - } - return this; - } - }, { - key: "get", - value: function get(header, parser) { - header = normalizeHeader(header); - if (header) { - var key = utils$1.findKey(this, header); - if (key) { - var value = this[key]; - if (!parser) { - return value; - } - if (parser === true) { - return parseTokens(value); - } - if (utils$1.isFunction(parser)) { - return parser.call(this, value, key); - } - if (utils$1.isRegExp(parser)) { - return parser.exec(value); - } - throw new TypeError('parser must be boolean|regexp|function'); - } - } - } - }, { - key: "has", - value: function has(header, matcher) { - header = normalizeHeader(header); - if (header) { - var key = utils$1.findKey(this, header); - return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher))); - } - return false; - } - }, { - key: "delete", - value: function _delete(header, matcher) { - var self = this; - var deleted = false; - function deleteHeader(_header) { - _header = normalizeHeader(_header); - if (_header) { - var key = utils$1.findKey(self, _header); - if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) { - delete self[key]; - deleted = true; - } - } - } - if (utils$1.isArray(header)) { - header.forEach(deleteHeader); - } else { - deleteHeader(header); - } - return deleted; - } - }, { - key: "clear", - value: function clear(matcher) { - var keys = Object.keys(this); - var i = keys.length; - var deleted = false; - while (i--) { - var key = keys[i]; - if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) { - delete this[key]; - deleted = true; - } - } - return deleted; - } - }, { - key: "normalize", - value: function normalize(format) { - var self = this; - var headers = {}; - utils$1.forEach(this, function (value, header) { - var key = utils$1.findKey(headers, header); - if (key) { - self[key] = normalizeValue(value); - delete self[header]; - return; - } - var normalized = format ? formatHeader(header) : String(header).trim(); - if (normalized !== header) { - delete self[header]; - } - self[normalized] = normalizeValue(value); - headers[normalized] = true; - }); - return this; - } - }, { - key: "concat", - value: function concat() { - var _this$constructor; - for (var _len = arguments.length, targets = new Array(_len), _key = 0; _key < _len; _key++) { - targets[_key] = arguments[_key]; - } - return (_this$constructor = this.constructor).concat.apply(_this$constructor, [this].concat(targets)); - } - }, { - key: "toJSON", - value: function toJSON(asStrings) { - var obj = Object.create(null); - utils$1.forEach(this, function (value, header) { - value != null && value !== false && (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value); - }); - return obj; - } - }, { - key: Symbol.iterator, - value: function value() { - return Object.entries(this.toJSON())[Symbol.iterator](); - } - }, { - key: "toString", - value: function toString() { - return Object.entries(this.toJSON()).map(function (_ref) { - var _ref2 = _slicedToArray(_ref, 2), - header = _ref2[0], - value = _ref2[1]; - return header + ': ' + value; - }).join('\n'); - } - }, { - key: "getSetCookie", - value: function getSetCookie() { - return this.get('set-cookie') || []; - } - }, { - key: Symbol.toStringTag, - get: function get() { - return 'AxiosHeaders'; - } - }], [{ - key: "from", - value: function from(thing) { - return thing instanceof this ? thing : new this(thing); - } - }, { - key: "concat", - value: function concat(first) { - var computed = new this(first); - for (var _len2 = arguments.length, targets = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { - targets[_key2 - 1] = arguments[_key2]; - } - targets.forEach(function (target) { - return computed.set(target); - }); - return computed; - } - }, { - key: "accessor", - value: function accessor(header) { - var internals = this[$internals] = this[$internals] = { - accessors: {} - }; - var accessors = internals.accessors; - var prototype = this.prototype; - function defineAccessor(_header) { - var lHeader = normalizeHeader(_header); - if (!accessors[lHeader]) { - buildAccessors(prototype, _header); - accessors[lHeader] = true; - } - } - utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header); - return this; - } - }]); - }(); - AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']); - - // reserved names hotfix - utils$1.reduceDescriptors(AxiosHeaders.prototype, function (_ref3, key) { - var value = _ref3.value; - var mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set` - return { - get: function get() { - return value; - }, - set: function set(headerValue) { - this[mapped] = headerValue; - } - }; - }); - utils$1.freezeMethods(AxiosHeaders); - - var REDACTED = '[REDACTED ****]'; - function hasOwnOrPrototypeToJSON(source) { - if (utils$1.hasOwnProp(source, 'toJSON')) { - return true; - } - var prototype = Object.getPrototypeOf(source); - while (prototype && prototype !== Object.prototype) { - if (utils$1.hasOwnProp(prototype, 'toJSON')) { - return true; - } - prototype = Object.getPrototypeOf(prototype); - } - return false; - } - - // Build a plain-object snapshot of `config` and replace the value of any key - // (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays - // and AxiosHeaders, and short-circuits on circular references. - function redactConfig(config, redactKeys) { - var lowerKeys = new Set(redactKeys.map(function (k) { - return String(k).toLowerCase(); - })); - var seen = []; - var _visit = function visit(source) { - if (source === null || _typeof(source) !== 'object') return source; - if (utils$1.isBuffer(source)) return source; - if (seen.indexOf(source) !== -1) return undefined; - if (source instanceof AxiosHeaders) { - source = source.toJSON(); - } - seen.push(source); - var result; - if (utils$1.isArray(source)) { - result = []; - source.forEach(function (v, i) { - var reducedValue = _visit(v); - if (!utils$1.isUndefined(reducedValue)) { - result[i] = reducedValue; - } - }); - } else { - if (!utils$1.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) { - seen.pop(); - return source; - } - result = Object.create(null); - for (var _i = 0, _Object$entries = Object.entries(source); _i < _Object$entries.length; _i++) { - var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2), - key = _Object$entries$_i[0], - value = _Object$entries$_i[1]; - var reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : _visit(value); - if (!utils$1.isUndefined(reducedValue)) { - result[key] = reducedValue; - } - } - } - seen.pop(); - return result; - }; - return _visit(config); - } - var AxiosError = /*#__PURE__*/function (_Error) { - /** - * Create an Error with the specified message, config, error code, request and response. - * - * @param {string} message The error message. - * @param {string} [code] The error code (for example, 'ECONNABORTED'). - * @param {Object} [config] The config. - * @param {Object} [request] The request. - * @param {Object} [response] The response. - * - * @returns {Error} The created error. - */ - function AxiosError(message, code, config, request, response) { - var _this; - _classCallCheck(this, AxiosError); - _this = _callSuper(this, AxiosError, [message]); - - // Make message enumerable to maintain backward compatibility - // The native Error constructor sets message as non-enumerable, - // but axios < v1.13.3 had it as enumerable - Object.defineProperty(_this, 'message', { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: message, - enumerable: true, - writable: true, - configurable: true - }); - _this.name = 'AxiosError'; - _this.isAxiosError = true; - code && (_this.code = code); - config && (_this.config = config); - request && (_this.request = request); - if (response) { - _this.response = response; - _this.status = response.status; - } - return _this; - } - _inherits(AxiosError, _Error); - return _createClass(AxiosError, [{ - key: "toJSON", - value: function toJSON() { - // Opt-in redaction: when the request config carries a `redact` array, the - // value of any matching key (case-insensitive, at any depth) is replaced - // with REDACTED in the serialized snapshot. Undefined or empty leaves the - // existing serialization behavior unchanged. - var config = this.config; - var redactKeys = config && utils$1.hasOwnProp(config, 'redact') ? config.redact : undefined; - var serializedConfig = utils$1.isArray(redactKeys) && redactKeys.length > 0 ? redactConfig(config, redactKeys) : utils$1.toJSONObject(config); - return { - // Standard - message: this.message, - name: this.name, - // Microsoft - description: this.description, - number: this.number, - // Mozilla - fileName: this.fileName, - lineNumber: this.lineNumber, - columnNumber: this.columnNumber, - stack: this.stack, - // Axios - config: serializedConfig, - code: this.code, - status: this.status - }; - } - }], [{ - key: "from", - value: function from(error, code, config, request, response, customProps) { - var axiosError = new AxiosError(error.message, code || error.code, config, request, response); - // Match native `Error` `cause` semantics: non-enumerable. The wrapped - // error often carries circular internals (sockets, requests, agents), so - // an enumerable `cause` makes structured loggers (pino/winston) and any - // own-property walk throw "Converting circular structure to JSON". - // Regression from #6982; see #7205. `__proto__: null` mirrors the - // `message` descriptor below (prototype-pollution-safe descriptor). - Object.defineProperty(axiosError, 'cause', { - __proto__: null, - value: error, - writable: true, - enumerable: false, - configurable: true - }); - axiosError.name = error.name; - - // Preserve status from the original error if not already set from response - if (error.status != null && axiosError.status == null) { - axiosError.status = error.status; - } - customProps && Object.assign(axiosError, customProps); - return axiosError; - } - }]); - }(/*#__PURE__*/_wrapNativeSuper(Error)); // This can be changed to static properties as soon as the parser options in .eslint.cjs are updated. - AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE'; - AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION'; - AxiosError.ECONNABORTED = 'ECONNABORTED'; - AxiosError.ETIMEDOUT = 'ETIMEDOUT'; - AxiosError.ECONNREFUSED = 'ECONNREFUSED'; - AxiosError.ERR_NETWORK = 'ERR_NETWORK'; - AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS'; - AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED'; - AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE'; - AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST'; - AxiosError.ERR_CANCELED = 'ERR_CANCELED'; - AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT'; - AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL'; - AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED'; - - // eslint-disable-next-line strict - var httpAdapter = null; - - // Default nesting limit shared with the inverse transform (formDataToJSON) so - // the FormData <-> JSON round-trip stays symmetric. - var DEFAULT_FORM_DATA_MAX_DEPTH = 100; - - /** - * Determines if the given thing is a array or js object. - * - * @param {string} thing - The object or array to be visited. - * - * @returns {boolean} - */ - function isVisitable(thing) { - return utils$1.isPlainObject(thing) || utils$1.isArray(thing); - } - - /** - * It removes the brackets from the end of a string - * - * @param {string} key - The key of the parameter. - * - * @returns {string} the key without the brackets. - */ - function removeBrackets(key) { - return utils$1.endsWith(key, '[]') ? key.slice(0, -2) : key; - } - - /** - * It takes a path, a key, and a boolean, and returns a string - * - * @param {string} path - The path to the current key. - * @param {string} key - The key of the current object being iterated over. - * @param {string} dots - If true, the key will be rendered with dots instead of brackets. - * - * @returns {string} The path to the current key. - */ - function renderKey(path, key, dots) { - if (!path) return key; - return path.concat(key).map(function each(token, i) { - // eslint-disable-next-line no-param-reassign - token = removeBrackets(token); - return !dots && i ? '[' + token + ']' : token; - }).join(dots ? '.' : ''); - } - - /** - * If the array is an array and none of its elements are visitable, then it's a flat array. - * - * @param {Array} arr - The array to check - * - * @returns {boolean} - */ - function isFlatArray(arr) { - return utils$1.isArray(arr) && !arr.some(isVisitable); - } - var predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) { - return /^is[A-Z]/.test(prop); - }); - - /** - * Convert a data object to FormData - * - * @param {Object} obj - * @param {?Object} [formData] - * @param {?Object} [options] - * @param {Function} [options.visitor] - * @param {Boolean} [options.metaTokens = true] - * @param {Boolean} [options.dots = false] - * @param {?Boolean} [options.indexes = false] - * - * @returns {Object} - **/ - - /** - * It converts an object into a FormData object - * - * @param {Object} obj - The object to convert to form data. - * @param {string} formData - The FormData object to append to. - * @param {Object} options - * - * @returns - */ - function toFormData(obj, formData, options) { - if (!utils$1.isObject(obj)) { - throw new TypeError('target must be an object'); - } - - // eslint-disable-next-line no-param-reassign - formData = formData || new (FormData)(); - - // eslint-disable-next-line no-param-reassign - options = utils$1.toFlatObject(options, { - metaTokens: true, - dots: false, - indexes: false - }, false, function defined(option, source) { - // eslint-disable-next-line no-eq-null,eqeqeq - return !utils$1.isUndefined(source[option]); - }); - var metaTokens = options.metaTokens; - // eslint-disable-next-line no-use-before-define - var visitor = options.visitor || defaultVisitor; - var dots = options.dots; - var indexes = options.indexes; - var _Blob = options.Blob || typeof Blob !== 'undefined' && Blob; - var maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth; - var useBlob = _Blob && utils$1.isSpecCompliantForm(formData); - var stack = []; - if (!utils$1.isFunction(visitor)) { - throw new TypeError('visitor must be a function'); - } - function convertValue(value) { - if (value === null) return ''; - if (utils$1.isDate(value)) { - return value.toISOString(); - } - if (utils$1.isBoolean(value)) { - return value.toString(); - } - if (!useBlob && utils$1.isBlob(value)) { - throw new AxiosError('Blob is not supported. Use a Buffer instead.'); - } - if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) { - if (useBlob && typeof _Blob === 'function') { - return new _Blob([value]); - } - if (typeof Buffer !== 'undefined') { - return Buffer.from(value); - } - throw new AxiosError('Blob is not supported. Use a Buffer instead.', AxiosError.ERR_NOT_SUPPORT); - } - return value; - } - function throwIfMaxDepthExceeded(depth) { - if (depth > maxDepth) { - throw new AxiosError('Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth, AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED); - } - } - function stringifyWithDepthLimit(value, depth) { - if (maxDepth === Infinity) { - return JSON.stringify(value); - } - var ancestors = []; - return JSON.stringify(value, function limitDepth(_key, currentValue) { - if (!utils$1.isObject(currentValue)) { - return currentValue; - } - while (ancestors.length && ancestors[ancestors.length - 1] !== this) { - ancestors.pop(); - } - ancestors.push(currentValue); - throwIfMaxDepthExceeded(depth + ancestors.length - 1); - return currentValue; - }); - } - - /** - * Default visitor. - * - * @param {*} value - * @param {String|Number} key - * @param {Array} path - * @this {FormData} - * - * @returns {boolean} return true to visit the each prop of the value recursively - */ - function defaultVisitor(value, key, path) { - var arr = value; - if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) { - formData.append(renderKey(path, key, dots), convertValue(value)); - return false; - } - if (value && !path && _typeof(value) === 'object') { - if (utils$1.endsWith(key, '{}')) { - // eslint-disable-next-line no-param-reassign - key = metaTokens ? key : key.slice(0, -2); - // eslint-disable-next-line no-param-reassign - value = stringifyWithDepthLimit(value, 1); - } else if (utils$1.isArray(value) && isFlatArray(value) || (utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))) { - // eslint-disable-next-line no-param-reassign - key = removeBrackets(key); - arr.forEach(function each(el, index) { - !(utils$1.isUndefined(el) || el === null) && formData.append( - // eslint-disable-next-line no-nested-ternary - indexes === true ? renderKey([key], index, dots) : indexes === null ? key : key + '[]', convertValue(el)); - }); - return false; - } - } - if (isVisitable(value)) { - return true; - } - formData.append(renderKey(path, key, dots), convertValue(value)); - return false; - } - var exposedHelpers = Object.assign(predicates, { - defaultVisitor: defaultVisitor, - convertValue: convertValue, - isVisitable: isVisitable - }); - function build(value, path) { - var depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; - if (utils$1.isUndefined(value)) return; - throwIfMaxDepthExceeded(depth); - if (stack.indexOf(value) !== -1) { - throw new Error('Circular reference detected in ' + path.join('.')); - } - stack.push(value); - utils$1.forEach(value, function each(el, key) { - var result = !(utils$1.isUndefined(el) || el === null) && visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers); - if (result === true) { - build(el, path ? path.concat(key) : [key], depth + 1); - } - }); - stack.pop(); - } - if (!utils$1.isObject(obj)) { - throw new TypeError('data must be an object'); - } - build(obj); - return formData; - } - - /** - * It encodes a string by replacing all characters that are not in the unreserved set with - * their percent-encoded equivalents - * - * @param {string} str - The string to encode. - * - * @returns {string} The encoded string. - */ - function encode$1(str) { - var charMap = { - '!': '%21', - "'": '%27', - '(': '%28', - ')': '%29', - '~': '%7E', - '%20': '+' - }; - return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) { - return charMap[match]; - }); - } - - /** - * It takes a params object and converts it to a FormData object - * - * @param {Object} params - The parameters to be converted to a FormData object. - * @param {Object} options - The options object passed to the Axios constructor. - * - * @returns {void} - */ - function AxiosURLSearchParams(params, options) { - this._pairs = []; - params && toFormData(params, this, options); - } - var prototype = AxiosURLSearchParams.prototype; - prototype.append = function append(name, value) { - this._pairs.push([name, value]); - }; - prototype.toString = function toString(encoder) { - var _this = this; - var _encode = encoder ? function (value) { - return encoder.call(_this, value, encode$1); - } : encode$1; - return this._pairs.map(function each(pair) { - return _encode(pair[0]) + '=' + _encode(pair[1]); - }, '').join('&'); - }; - - /** - * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with - * their plain counterparts (`:`, `$`, `,`, `+`). - * - * @param {string} val The value to be encoded. - * - * @returns {string} The encoded value. - */ - function encode(val) { - return encodeURIComponent(val).replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+'); - } - - /** - * Build a URL by appending params to the end - * - * @param {string} url The base of the url (e.g., http://www.google.com) - * @param {object} [params] The params to be appended - * @param {?(object|Function)} options - * - * @returns {string} The formatted url - */ - function buildURL(url, params, options) { - if (!params) { - return url; - } - url = url || ''; - var _options = utils$1.isFunction(options) ? { - serialize: options - } : options; - - // Read serializer options pollution-safely: own properties and methods on a - // class/template prototype are honored, but values injected onto a polluted - // Object.prototype are ignored. - var _encode = utils$1.getSafeProp(_options, 'encode') || encode; - var serializeFn = utils$1.getSafeProp(_options, 'serialize'); - var serializedParams; - if (serializeFn) { - serializedParams = serializeFn(params, _options); - } else { - serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode); - } - if (serializedParams) { - var hashmarkIndex = url.indexOf('#'); - if (hashmarkIndex !== -1) { - url = url.slice(0, hashmarkIndex); - } - url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams; - } - return url; - } - - var InterceptorManager = /*#__PURE__*/function () { - function InterceptorManager() { - _classCallCheck(this, InterceptorManager); - this.handlers = []; - } - - /** - * Add a new interceptor to the stack - * - * @param {Function} fulfilled The function to handle `then` for a `Promise` - * @param {Function} rejected The function to handle `reject` for a `Promise` - * @param {Object} options The options for the interceptor, synchronous and runWhen - * - * @return {Number} An ID used to remove interceptor later - */ - return _createClass(InterceptorManager, [{ - key: "use", - value: function use(fulfilled, rejected, options) { - this.handlers.push({ - fulfilled: fulfilled, - rejected: rejected, - synchronous: options ? options.synchronous : false, - runWhen: options ? options.runWhen : null - }); - return this.handlers.length - 1; - } - - /** - * Remove an interceptor from the stack - * - * @param {Number} id The ID that was returned by `use` - * - * @returns {void} - */ - }, { - key: "eject", - value: function eject(id) { - if (this.handlers[id]) { - this.handlers[id] = null; - } - } - - /** - * Clear all interceptors from the stack - * - * @returns {void} - */ - }, { - key: "clear", - value: function clear() { - if (this.handlers) { - this.handlers = []; - } - } - - /** - * Iterate over all the registered interceptors - * - * This method is particularly useful for skipping over any - * interceptors that may have become `null` calling `eject`. - * - * @param {Function} fn The function to call for each interceptor - * - * @returns {void} - */ - }, { - key: "forEach", - value: function forEach(fn) { - utils$1.forEach(this.handlers, function forEachHandler(h) { - if (h !== null) { - fn(h); - } - }); - } - }]); - }(); - - var transitionalDefaults = { - silentJSONParsing: true, - forcedJSONParsing: true, - clarifyTimeoutError: false, - legacyInterceptorReqResOrdering: true, - advertiseZstdAcceptEncoding: false, - validateStatusUndefinedResolves: true - }; - - var URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams; - - var FormData$1 = typeof FormData !== 'undefined' ? FormData : null; - - var Blob$1 = typeof Blob !== 'undefined' ? Blob : null; - - var platform$1 = { - isBrowser: true, - classes: { - URLSearchParams: URLSearchParams$1, - FormData: FormData$1, - Blob: Blob$1 - }, - protocols: ['http', 'https', 'file', 'blob', 'url', 'data'] - }; - - var hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined'; - var _navigator = (typeof navigator === "undefined" ? "undefined" : _typeof(navigator)) === 'object' && navigator || undefined; - - /** - * Determine if we're running in a standard browser environment - * - * This allows axios to run in a web worker, and react-native. - * Both environments support XMLHttpRequest, but not fully standard globals. - * - * web workers: - * typeof window -> undefined - * typeof document -> undefined - * - * react-native: - * navigator.product -> 'ReactNative' - * nativescript - * navigator.product -> 'NativeScript' or 'NS' - * - * @returns {boolean} - */ - var hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0); - - /** - * Determine if we're running in a standard browser webWorker environment - * - * Although the `isStandardBrowserEnv` method indicates that - * `allows axios to run in a web worker`, the WebWorker will still be - * filtered out due to its judgment standard - * `typeof window !== 'undefined' && typeof document !== 'undefined'`. - * This leads to a problem when axios post `FormData` in webWorker - */ - var hasStandardBrowserWebWorkerEnv = function () { - return typeof WorkerGlobalScope !== 'undefined' && - // eslint-disable-next-line no-undef - self instanceof WorkerGlobalScope && typeof self.importScripts === 'function'; - }(); - var origin = hasBrowserEnv && window.location.href || 'http://localhost'; - - var utils = /*#__PURE__*/Object.freeze({ - __proto__: null, - hasBrowserEnv: hasBrowserEnv, - hasStandardBrowserEnv: hasStandardBrowserEnv, - hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv, - navigator: _navigator, - origin: origin - }); - - var platform = _objectSpread2(_objectSpread2({}, utils), platform$1); - - function toURLEncodedForm(data, options) { - return toFormData(data, new platform.classes.URLSearchParams(), _objectSpread2({ - visitor: function visitor(value, key, path, helpers) { - if (platform.isNode && utils$1.isBuffer(value)) { - this.append(key, value.toString('base64')); - return false; - } - return helpers.defaultVisitor.apply(this, arguments); - } - }, options)); - } - - var MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH; - function throwIfDepthExceeded(index) { - if (index > MAX_DEPTH) { - throw new AxiosError('FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH, AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED); - } - } - - /** - * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z'] - * - * @param {string} name - The name of the property to get. - * - * @returns An array of strings. - */ - function parsePropPath(name) { - // foo[x][y][z] - // foo.x.y.z - // foo-x-y-z - // foo x y z - var path = []; - var pattern = /\w+|\[(\w*)]/g; - var match; - while ((match = pattern.exec(name)) !== null) { - throwIfDepthExceeded(path.length); - path.push(match[0] === '[]' ? '' : match[1] || match[0]); - } - return path; - } - - /** - * Convert an array to an object. - * - * @param {Array} arr - The array to convert to an object. - * - * @returns An object with the same keys and values as the array. - */ - function arrayToObject(arr) { - var obj = {}; - var keys = Object.keys(arr); - var i; - var len = keys.length; - var key; - for (i = 0; i < len; i++) { - key = keys[i]; - obj[key] = arr[key]; - } - return obj; - } - - /** - * It takes a FormData object and returns a JavaScript object - * - * @param {string} formData The FormData object to convert to JSON. - * - * @returns {Object | null} The converted object. - */ - function formDataToJSON(formData) { - function buildPath(path, value, target, index) { - throwIfDepthExceeded(index); - var name = path[index++]; - if (name === '__proto__') return true; - var isNumericKey = Number.isFinite(+name); - var isLast = index >= path.length; - name = !name && utils$1.isArray(target) ? target.length : name; - if (isLast) { - if (utils$1.hasOwnProp(target, name)) { - target[name] = utils$1.isArray(target[name]) ? target[name].concat(value) : [target[name], value]; - } else { - target[name] = value; - } - return !isNumericKey; - } - if (!utils$1.hasOwnProp(target, name) || !utils$1.isObject(target[name])) { - target[name] = []; - } - var result = buildPath(path, value, target[name], index); - if (result && utils$1.isArray(target[name])) { - target[name] = arrayToObject(target[name]); - } - return !isNumericKey; - } - if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) { - var obj = {}; - utils$1.forEachEntry(formData, function (name, value) { - buildPath(parsePropPath(name), value, obj, 0); - }); - return obj; - } - return null; - } - - var own = function own(obj, key) { - return obj != null && utils$1.hasOwnProp(obj, key) ? obj[key] : undefined; - }; - - /** - * It takes a string, tries to parse it, and if it fails, it returns the stringified version - * of the input - * - * @param {any} rawValue - The value to be stringified. - * @param {Function} parser - A function that parses a string into a JavaScript object. - * @param {Function} encoder - A function that takes a value and returns a string. - * - * @returns {string} A stringified version of the rawValue. - */ - function stringifySafely(rawValue, parser, encoder) { - if (utils$1.isString(rawValue)) { - try { - (parser || JSON.parse)(rawValue); - return utils$1.trim(rawValue); - } catch (e) { - if (e.name !== 'SyntaxError') { - throw e; - } - } - } - return (encoder || JSON.stringify)(rawValue); - } - var defaults = { - transitional: transitionalDefaults, - adapter: ['xhr', 'http', 'fetch'], - transformRequest: [function transformRequest(data, headers) { - var contentType = headers.getContentType() || ''; - var hasJSONContentType = contentType.indexOf('application/json') > -1; - var isObjectPayload = utils$1.isObject(data); - if (isObjectPayload && utils$1.isHTMLForm(data)) { - data = new FormData(data); - } - var isFormData = utils$1.isFormData(data); - if (isFormData) { - return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data; - } - if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data) || utils$1.isReadableStream(data)) { - return data; - } - if (utils$1.isArrayBufferView(data)) { - return data.buffer; - } - if (utils$1.isURLSearchParams(data)) { - headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false); - return data.toString(); - } - var isFileList; - if (isObjectPayload) { - var formSerializer = own(this, 'formSerializer'); - if (contentType.indexOf('application/x-www-form-urlencoded') > -1) { - return toURLEncodedForm(data, formSerializer).toString(); - } - if ((isFileList = utils$1.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) { - var env = own(this, 'env'); - var _FormData = env && env.FormData; - return toFormData(isFileList ? { - 'files[]': data - } : data, _FormData && new _FormData(), formSerializer); - } - } - if (isObjectPayload || hasJSONContentType) { - headers.setContentType('application/json', false); - return stringifySafely(data); - } - return data; - }], - transformResponse: [function transformResponse(data) { - var transitional = own(this, 'transitional') || defaults.transitional; - var forcedJSONParsing = transitional && transitional.forcedJSONParsing; - var responseType = own(this, 'responseType'); - var JSONRequested = responseType === 'json'; - if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) { - return data; - } - if (data && utils$1.isString(data) && (forcedJSONParsing && !responseType || JSONRequested)) { - var silentJSONParsing = transitional && transitional.silentJSONParsing; - var strictJSONParsing = !silentJSONParsing && JSONRequested; - try { - return JSON.parse(data, own(this, 'parseReviver')); - } catch (e) { - if (strictJSONParsing) { - if (e.name === 'SyntaxError') { - throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response')); - } - throw e; - } - } - } - return data; - }], - /** - * A timeout in milliseconds to abort a request. If set to 0 (default) a - * timeout is not created. - */ - timeout: 0, - xsrfCookieName: 'XSRF-TOKEN', - xsrfHeaderName: 'X-XSRF-TOKEN', - maxContentLength: -1, - maxBodyLength: -1, - env: { - FormData: platform.classes.FormData, - Blob: platform.classes.Blob - }, - validateStatus: function validateStatus(status) { - return status >= 200 && status < 300; - }, - headers: { - common: { - Accept: 'application/json, text/plain, */*', - 'Content-Type': undefined - } - } - }; - utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], function (method) { - defaults.headers[method] = {}; - }); - - /** - * Transform the data for a request or a response - * - * @param {Array|Function} fns A single function or Array of functions - * @param {?Object} response The response object - * - * @returns {*} The resulting transformed data - */ - function transformData(fns, response) { - var config = this || defaults; - var context = response || config; - var headers = AxiosHeaders.from(context.headers); - var data = context.data; - utils$1.forEach(fns, function transform(fn) { - data = fn.call(config, data, headers.normalize(), response ? response.status : undefined); - }); - headers.normalize(); - return data; - } - - function isCancel(value) { - return !!(value && value.__CANCEL__); - } - - var CanceledError = /*#__PURE__*/function (_AxiosError) { - /** - * A `CanceledError` is an object that is thrown when an operation is canceled. - * - * @param {string=} message The message. - * @param {Object=} config The config. - * @param {Object=} request The request. - * - * @returns {CanceledError} The created error. - */ - function CanceledError(message, config, request) { - var _this; - _classCallCheck(this, CanceledError); - _this = _callSuper(this, CanceledError, [message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request]); - _this.name = 'CanceledError'; - _this.__CANCEL__ = true; - return _this; - } - _inherits(CanceledError, _AxiosError); - return _createClass(CanceledError); - }(AxiosError); - - /** - * Resolve or reject a Promise based on response status. - * - * @param {Function} resolve A function that resolves the promise. - * @param {Function} reject A function that rejects the promise. - * @param {object} response The response. - * - * @returns {object} The response. - */ - function settle(resolve, reject, response) { - var validateStatus = response.config.validateStatus; - if (!response.status || !validateStatus || validateStatus(response.status)) { - resolve(response); - } else { - reject(new AxiosError('Request failed with status code ' + response.status, response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE, response.config, response.request, response)); - } - } - - function parseProtocol(url) { - var match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url); - return match && match[1] || ''; - } - - /** - * Calculate data maxRate - * @param {Number} [samplesCount= 10] - * @param {Number} [min= 1000] - * @returns {Function} - */ - function speedometer(samplesCount, min) { - samplesCount = samplesCount || 10; - var bytes = new Array(samplesCount); - var timestamps = new Array(samplesCount); - var head = 0; - var tail = 0; - var firstSampleTS; - min = min !== undefined ? min : 1000; - return function push(chunkLength) { - var now = Date.now(); - var startedAt = timestamps[tail]; - if (!firstSampleTS) { - firstSampleTS = now; - } - bytes[head] = chunkLength; - timestamps[head] = now; - var i = tail; - var bytesCount = 0; - while (i !== head) { - bytesCount += bytes[i++]; - i = i % samplesCount; - } - head = (head + 1) % samplesCount; - if (head === tail) { - tail = (tail + 1) % samplesCount; - } - if (now - firstSampleTS < min) { - return; - } - var passed = startedAt && now - startedAt; - return passed ? Math.round(bytesCount * 1000 / passed) : undefined; - }; - } - - /** - * Throttle decorator - * @param {Function} fn - * @param {Number} freq - * @return {Function} - */ - function throttle(fn, freq) { - var timestamp = 0; - var threshold = 1000 / freq; - var lastArgs; - var timer; - var invoke = function invoke(args) { - var now = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Date.now(); - timestamp = now; - lastArgs = null; - if (timer) { - clearTimeout(timer); - timer = null; - } - fn.apply(void 0, _toConsumableArray(args)); - }; - var throttled = function throttled() { - var now = Date.now(); - var passed = now - timestamp; - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - if (passed >= threshold) { - invoke(args, now); - } else { - lastArgs = args; - if (!timer) { - timer = setTimeout(function () { - timer = null; - invoke(lastArgs); - }, threshold - passed); - } - } - }; - var flush = function flush() { - return lastArgs && invoke(lastArgs); - }; - return [throttled, flush]; - } - - var progressEventReducer = function progressEventReducer(listener, isDownloadStream) { - var freq = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3; - var bytesNotified = 0; - var _speedometer = speedometer(50, 250); - return throttle(function (e) { - if (!e || typeof e.loaded !== 'number') { - return; - } - var rawLoaded = e.loaded; - var total = e.lengthComputable ? e.total : undefined; - var loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded; - var progressBytes = Math.max(0, loaded - bytesNotified); - var rate = _speedometer(progressBytes); - bytesNotified = Math.max(bytesNotified, loaded); - var data = _defineProperty({ - loaded: loaded, - total: total, - progress: total ? loaded / total : undefined, - bytes: progressBytes, - rate: rate ? rate : undefined, - estimated: rate && total ? (total - loaded) / rate : undefined, - event: e, - lengthComputable: total != null - }, isDownloadStream ? 'download' : 'upload', true); - listener(data); - }, freq); - }; - var progressEventDecorator = function progressEventDecorator(total, throttled) { - var lengthComputable = total != null; - return [function (loaded) { - return throttled[0]({ - lengthComputable: lengthComputable, - total: total, - loaded: loaded - }); - }, throttled[1]]; - }; - var asyncDecorator = function asyncDecorator(fn) { - return function () { - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - return utils$1.asap(function () { - return fn.apply(void 0, args); - }); - }; - }; - - var isURLSameOrigin = platform.hasStandardBrowserEnv ? function (origin, isMSIE) { - return function (url) { - url = new URL(url, platform.origin); - return origin.protocol === url.protocol && origin.host === url.host && (isMSIE || origin.port === url.port); - }; - }(new URL(platform.origin), platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)) : function () { - return true; - }; - - var cookies = platform.hasStandardBrowserEnv ? - // Standard browser envs support document.cookie - { - write: function write(name, value, expires, path, domain, secure, sameSite) { - if (typeof document === 'undefined') return; - var cookie = ["".concat(name, "=").concat(encodeURIComponent(value))]; - if (utils$1.isNumber(expires)) { - cookie.push("expires=".concat(new Date(expires).toUTCString())); - } - if (utils$1.isString(path)) { - cookie.push("path=".concat(path)); - } - if (utils$1.isString(domain)) { - cookie.push("domain=".concat(domain)); - } - if (secure === true) { - cookie.push('secure'); - } - if (utils$1.isString(sameSite)) { - cookie.push("SameSite=".concat(sameSite)); - } - document.cookie = cookie.join('; '); - }, - read: function read(name) { - if (typeof document === 'undefined') return null; - // Match name=value by splitting on the semicolon separator instead of building a - // RegExp from `name` — interpolating an unescaped string into a RegExp would let - // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or - // match the wrong cookie. Browsers may serialize cookie pairs as either ";" or - // "; ", so ignore optional whitespace before each cookie name. - var cookies = document.cookie.split(';'); - for (var i = 0; i < cookies.length; i++) { - var cookie = cookies[i].replace(/^\s+/, ''); - var eq = cookie.indexOf('='); - if (eq !== -1 && cookie.slice(0, eq) === name) { - try { - return decodeURIComponent(cookie.slice(eq + 1)); - } catch (e) { - return cookie.slice(eq + 1); - } - } - } - return null; - }, - remove: function remove(name) { - this.write(name, '', Date.now() - 86400000, '/'); - } - } : - // Non-standard browser env (web workers, react-native) lack needed support. - { - write: function write() {}, - read: function read() { - return null; - }, - remove: function remove() {} - }; - - /** - * Determines whether the specified URL is absolute - * - * @param {string} url The URL to test - * - * @returns {boolean} True if the specified URL is absolute, otherwise false - */ - function isAbsoluteURL(url) { - // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). - // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed - // by any combination of letters, digits, plus, period, or hyphen. - if (typeof url !== 'string') { - return false; - } - return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url); - } - - /** - * Creates a new URL by combining the specified URLs - * - * @param {string} baseURL The base URL - * @param {string} relativeURL The relative URL - * - * @returns {string} The combined URL - */ - function combineURLs(baseURL, relativeURL) { - return relativeURL ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') : baseURL; - } - - var malformedHttpProtocol = /^https?:(?!\/\/)/i; - var httpProtocolControlCharacters = /[\t\n\r]/g; - function stripLeadingC0ControlOrSpace(url) { - var i = 0; - while (i < url.length && url.charCodeAt(i) <= 0x20) { - i++; - } - return url.slice(i); - } - function normalizeURLForProtocolCheck(url) { - return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, ''); - } - function assertValidHttpProtocolURL(url, config) { - if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) { - throw new AxiosError('Invalid URL: missing "//" after protocol', AxiosError.ERR_INVALID_URL, config); - } - } - - /** - * Creates a new URL by combining the baseURL with the requestedURL, - * only when the requestedURL is not already an absolute URL. - * If the requestURL is absolute, this function returns the requestedURL untouched. - * - * @param {string} baseURL The base URL - * @param {string} requestedURL Absolute or relative URL to combine - * - * @returns {string} The combined full path - */ - function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) { - assertValidHttpProtocolURL(requestedURL, config); - var isRelativeUrl = !isAbsoluteURL(requestedURL); - if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) { - assertValidHttpProtocolURL(baseURL, config); - return combineURLs(baseURL, requestedURL); - } - return requestedURL; - } - - var headersToObject = function headersToObject(thing) { - return thing instanceof AxiosHeaders ? _objectSpread2({}, thing) : thing; - }; - - /** - * Config-specific merge-function which creates a new config-object - * by merging two configuration objects together. - * - * @param {Object} config1 - * @param {Object} config2 - * - * @returns {Object} New object resulting from merging config2 to config1 - */ - function mergeConfig(config1, config2) { - // eslint-disable-next-line no-param-reassign - config1 = config1 || {}; - config2 = config2 || {}; - - // Use a null-prototype object so that downstream reads such as `config.auth` - // or `config.baseURL` cannot inherit polluted values from Object.prototype. - // `hasOwnProperty` is restored as a non-enumerable own slot to preserve - // ergonomics for user code that relies on it. - var config = Object.create(null); - Object.defineProperty(config, 'hasOwnProperty', { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: Object.prototype.hasOwnProperty, - enumerable: false, - writable: true, - configurable: true - }); - function getMergedValue(target, source, prop, caseless) { - if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) { - return utils$1.merge.call({ - caseless: caseless - }, target, source); - } else if (utils$1.isPlainObject(source)) { - return utils$1.merge({}, source); - } else if (utils$1.isArray(source)) { - return source.slice(); - } - return source; - } - function mergeDeepProperties(a, b, prop, caseless) { - if (!utils$1.isUndefined(b)) { - return getMergedValue(a, b, prop, caseless); - } else if (!utils$1.isUndefined(a)) { - return getMergedValue(undefined, a, prop, caseless); - } - } - - // eslint-disable-next-line consistent-return - function valueFromConfig2(a, b) { - if (!utils$1.isUndefined(b)) { - return getMergedValue(undefined, b); - } - } - - // eslint-disable-next-line consistent-return - function defaultToConfig2(a, b) { - if (!utils$1.isUndefined(b)) { - return getMergedValue(undefined, b); - } else if (!utils$1.isUndefined(a)) { - return getMergedValue(undefined, a); - } - } - function getMergedTransitionalOption(prop) { - var transitional2 = utils$1.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined; - if (!utils$1.isUndefined(transitional2)) { - if (utils$1.isPlainObject(transitional2)) { - if (utils$1.hasOwnProp(transitional2, prop)) { - return transitional2[prop]; - } - } else { - return undefined; - } - } - var transitional1 = utils$1.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined; - if (utils$1.isPlainObject(transitional1) && utils$1.hasOwnProp(transitional1, prop)) { - return transitional1[prop]; - } - return undefined; - } - - // eslint-disable-next-line consistent-return - function mergeDirectKeys(a, b, prop) { - if (utils$1.hasOwnProp(config2, prop)) { - return getMergedValue(a, b); - } else if (utils$1.hasOwnProp(config1, prop)) { - return getMergedValue(undefined, a); - } - } - var mergeMap = { - url: valueFromConfig2, - method: valueFromConfig2, - data: valueFromConfig2, - baseURL: defaultToConfig2, - transformRequest: defaultToConfig2, - transformResponse: defaultToConfig2, - paramsSerializer: defaultToConfig2, - timeout: defaultToConfig2, - timeoutMessage: defaultToConfig2, - withCredentials: defaultToConfig2, - withXSRFToken: defaultToConfig2, - adapter: defaultToConfig2, - responseType: defaultToConfig2, - xsrfCookieName: defaultToConfig2, - xsrfHeaderName: defaultToConfig2, - onUploadProgress: defaultToConfig2, - onDownloadProgress: defaultToConfig2, - decompress: defaultToConfig2, - maxContentLength: defaultToConfig2, - maxBodyLength: defaultToConfig2, - beforeRedirect: defaultToConfig2, - transport: defaultToConfig2, - httpAgent: defaultToConfig2, - httpsAgent: defaultToConfig2, - cancelToken: defaultToConfig2, - socketPath: defaultToConfig2, - allowedSocketPaths: defaultToConfig2, - responseEncoding: defaultToConfig2, - validateStatus: mergeDirectKeys, - headers: function headers(a, b, prop) { - return mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true); - } - }; - utils$1.forEach(Object.keys(_objectSpread2(_objectSpread2({}, config1), config2)), function computeConfigValue(prop) { - if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return; - var merge = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties; - var a = utils$1.hasOwnProp(config1, prop) ? config1[prop] : undefined; - var b = utils$1.hasOwnProp(config2, prop) ? config2[prop] : undefined; - var configValue = merge(a, b, prop); - utils$1.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue); - }); - if (utils$1.hasOwnProp(config2, 'validateStatus') && utils$1.isUndefined(config2.validateStatus) && getMergedTransitionalOption('validateStatusUndefinedResolves') === false) { - if (utils$1.hasOwnProp(config1, 'validateStatus')) { - config.validateStatus = getMergedValue(undefined, config1.validateStatus); - } else { - delete config.validateStatus; - } - } - return config; - } - - var FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length']; - function setFormDataHeaders(headers, formHeaders, policy) { - if (policy !== 'content-only') { - headers.set(formHeaders); - return; - } - Object.entries(formHeaders || {}).forEach(function (_ref) { - var _ref2 = _slicedToArray(_ref, 2), - key = _ref2[0], - val = _ref2[1]; - if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) { - headers.set(key, val); - } - }); - } - - /** - * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). - * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. - * - * @param {string} str The string to encode - * - * @returns {string} UTF-8 bytes as a Latin-1 string - */ - var encodeUTF8$1 = function encodeUTF8(str) { - return encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, function (_, hex) { - return String.fromCharCode(parseInt(hex, 16)); - }); - }; - function resolveConfig(config) { - var newConfig = mergeConfig({}, config); - - // Read only own properties to prevent prototype pollution gadgets - // (e.g. Object.prototype.baseURL = 'https://evil.com'). - var own = function own(key) { - return utils$1.hasOwnProp(newConfig, key) ? newConfig[key] : undefined; - }; - var data = own('data'); - var withXSRFToken = own('withXSRFToken'); - var xsrfHeaderName = own('xsrfHeaderName'); - var xsrfCookieName = own('xsrfCookieName'); - var headers = own('headers'); - var auth = own('auth'); - var baseURL = own('baseURL'); - var allowAbsoluteUrls = own('allowAbsoluteUrls'); - var url = own('url'); - newConfig.headers = headers = AxiosHeaders.from(headers); - newConfig.url = buildURL(buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig), own('params'), own('paramsSerializer')); - - // HTTP basic authentication - if (auth) { - var username = utils$1.getSafeProp(auth, 'username') || ''; - var password = utils$1.getSafeProp(auth, 'password') || ''; - try { - headers.set('Authorization', 'Basic ' + btoa(username + ':' + (password ? encodeUTF8$1(password) : ''))); - } catch (e) { - throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config); - } - } - if (utils$1.isFormData(data)) { - if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv || utils$1.isReactNative(data)) { - headers.setContentType(undefined); // browser/web worker/RN handles it - } else if (utils$1.isFunction(data.getHeaders)) { - // Node.js FormData (like form-data package) - setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy')); - } - } - - // Add xsrf header - // This is only done if running in a standard browser environment. - // Specifically not if we're in a web worker, or react-native. - - if (platform.hasStandardBrowserEnv) { - if (utils$1.isFunction(withXSRFToken)) { - withXSRFToken = withXSRFToken(newConfig); - } - - // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1) - // and misconfigurations (e.g. "false") from short-circuiting the same-origin check and leaking - // the XSRF token cross-origin. - var shouldSendXSRF = withXSRFToken === true || withXSRFToken == null && isURLSameOrigin(newConfig.url); - if (shouldSendXSRF) { - var xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName); - if (xsrfValue) { - headers.set(xsrfHeaderName, xsrfValue); - } - } - } - return newConfig; - } - - var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; - var xhrAdapter = isXHRAdapterSupported && function (config) { - return new Promise(function dispatchXhrRequest(resolve, reject) { - var _config = resolveConfig(config); - var requestData = _config.data; - var requestHeaders = AxiosHeaders.from(_config.headers).normalize(); - var responseType = _config.responseType, - onUploadProgress = _config.onUploadProgress, - onDownloadProgress = _config.onDownloadProgress; - var onCanceled; - var uploadThrottled, downloadThrottled; - var flushUpload, flushDownload; - function done() { - flushUpload && flushUpload(); // flush events - flushDownload && flushDownload(); // flush events - - _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled); - _config.signal && _config.signal.removeEventListener('abort', onCanceled); - } - var request = new XMLHttpRequest(); - request.open(_config.method.toUpperCase(), _config.url, true); - - // Set the request timeout in MS - request.timeout = _config.timeout; - function onloadend() { - if (!request) { - return; - } - // Prepare the response - var responseHeaders = AxiosHeaders.from('getAllResponseHeaders' in request && request.getAllResponseHeaders()); - var responseData = !responseType || responseType === 'text' || responseType === 'json' ? request.responseText : request.response; - var response = { - data: responseData, - status: request.status, - statusText: request.statusText, - headers: responseHeaders, - config: config, - request: request - }; - settle(function _resolve(value) { - resolve(value); - done(); - }, function _reject(err) { - reject(err); - done(); - }, response); - - // Clean up request - request = null; - } - if ('onloadend' in request) { - // Use onloadend if available - request.onloadend = onloadend; - } else { - // Listen for ready state to emulate onloadend - request.onreadystatechange = function handleLoad() { - if (!request || request.readyState !== 4) { - return; - } - - // The request errored out and we didn't get a response, this will be - // handled by onerror instead - // With one exception: request that using file: protocol, most browsers - // will return status as 0 even though it's a successful request - if (request.status === 0 && !(request.responseURL && request.responseURL.startsWith('file:'))) { - return; - } - // readystate handler is calling before onerror or ontimeout handlers, - // so we should call onloadend on the next 'tick' - setTimeout(onloadend); - }; - } - - // Handle browser request cancellation (as opposed to a manual cancellation) - request.onabort = function handleAbort() { - if (!request) { - return; - } - reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request)); - done(); - - // Clean up request - request = null; - }; - - // Handle low level network errors - request.onerror = function handleError(event) { - // Browsers deliver a ProgressEvent in XHR onerror - // (message may be empty; when present, surface it) - // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event - var msg = event && event.message ? event.message : 'Network Error'; - var err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request); - // attach the underlying event for consumers who want details - err.event = event || null; - reject(err); - done(); - request = null; - }; - - // Handle timeout - request.ontimeout = function handleTimeout() { - var timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded'; - var transitional = _config.transitional || transitionalDefaults; - if (_config.timeoutErrorMessage) { - timeoutErrorMessage = _config.timeoutErrorMessage; - } - reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, request)); - done(); - - // Clean up request - request = null; - }; - - // Remove Content-Type if data is undefined - requestData === undefined && requestHeaders.setContentType(null); - - // Add headers to the request - if ('setRequestHeader' in request) { - utils$1.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) { - request.setRequestHeader(key, val); - }); - } - - // Add withCredentials to request if needed - if (!utils$1.isUndefined(_config.withCredentials)) { - request.withCredentials = !!_config.withCredentials; - } - - // Add responseType to request if needed - if (responseType && responseType !== 'json') { - request.responseType = _config.responseType; - } - - // Handle progress if needed - if (onDownloadProgress) { - var _progressEventReducer = progressEventReducer(onDownloadProgress, true); - var _progressEventReducer2 = _slicedToArray(_progressEventReducer, 2); - downloadThrottled = _progressEventReducer2[0]; - flushDownload = _progressEventReducer2[1]; - request.addEventListener('progress', downloadThrottled); - } - - // Not all browsers support upload events - if (onUploadProgress && request.upload) { - var _progressEventReducer3 = progressEventReducer(onUploadProgress); - var _progressEventReducer4 = _slicedToArray(_progressEventReducer3, 2); - uploadThrottled = _progressEventReducer4[0]; - flushUpload = _progressEventReducer4[1]; - request.upload.addEventListener('progress', uploadThrottled); - request.upload.addEventListener('loadend', flushUpload); - } - if (_config.cancelToken || _config.signal) { - // Handle cancellation - // eslint-disable-next-line func-names - onCanceled = function onCanceled(cancel) { - if (!request) { - return; - } - reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel); - request.abort(); - done(); - request = null; - }; - _config.cancelToken && _config.cancelToken.subscribe(onCanceled); - if (_config.signal) { - _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled); - } - } - var protocol = parseProtocol(_config.url); - if (protocol && !platform.protocols.includes(protocol)) { - reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config)); - done(); - return; - } - - // Send the request - request.send(requestData || null); - }); - }; - - var composeSignals = function composeSignals(signals, timeout) { - signals = signals ? signals.filter(Boolean) : []; - if (!timeout && !signals.length) { - return; - } - var controller = new AbortController(); - var aborted = false; - var onabort = function onabort(reason) { - if (!aborted) { - aborted = true; - unsubscribe(); - var err = reason instanceof Error ? reason : this.reason; - controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err)); - } - }; - var timer = timeout && setTimeout(function () { - timer = null; - onabort(new AxiosError("timeout of ".concat(timeout, "ms exceeded"), AxiosError.ETIMEDOUT)); - }, timeout); - var unsubscribe = function unsubscribe() { - if (!signals) { - return; - } - timer && clearTimeout(timer); - timer = null; - signals.forEach(function (signal) { - signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort); - }); - signals = null; - }; - signals.forEach(function (signal) { - return signal.addEventListener('abort', onabort, { - once: true - }); - }); - var signal = controller.signal; - signal.unsubscribe = function () { - return utils$1.asap(unsubscribe); - }; - return signal; - }; - - var streamChunk = /*#__PURE__*/_regenerator().m(function streamChunk(chunk, chunkSize) { - var len, pos, end; - return _regenerator().w(function (_context) { - while (1) switch (_context.n) { - case 0: - len = chunk.byteLength; - if (!(!chunkSize || len < chunkSize)) { - _context.n = 2; - break; - } - _context.n = 1; - return chunk; - case 1: - return _context.a(2); - case 2: - pos = 0; - case 3: - if (!(pos < len)) { - _context.n = 5; - break; - } - end = pos + chunkSize; - _context.n = 4; - return chunk.slice(pos, end); - case 4: - pos = end; - _context.n = 3; - break; - case 5: - return _context.a(2); - } - }, streamChunk); - }); - var readBytes = /*#__PURE__*/function () { - var _ref = _wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee(iterable, chunkSize) { - var _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, chunk, _t; - return _regenerator().w(function (_context2) { - while (1) switch (_context2.p = _context2.n) { - case 0: - _iteratorAbruptCompletion = false; - _didIteratorError = false; - _context2.p = 1; - _iterator = _asyncIterator(readStream(iterable)); - case 2: - _context2.n = 3; - return _awaitAsyncGenerator(_iterator.next()); - case 3: - if (!(_iteratorAbruptCompletion = !(_step = _context2.v).done)) { - _context2.n = 5; - break; - } - chunk = _step.value; - return _context2.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(streamChunk(chunk, chunkSize)))), 4); - case 4: - _iteratorAbruptCompletion = false; - _context2.n = 2; - break; - case 5: - _context2.n = 7; - break; - case 6: - _context2.p = 6; - _t = _context2.v; - _didIteratorError = true; - _iteratorError = _t; - case 7: - _context2.p = 7; - _context2.p = 8; - if (!(_iteratorAbruptCompletion && _iterator["return"] != null)) { - _context2.n = 9; - break; - } - _context2.n = 9; - return _awaitAsyncGenerator(_iterator["return"]()); - case 9: - _context2.p = 9; - if (!_didIteratorError) { - _context2.n = 10; - break; - } - throw _iteratorError; - case 10: - return _context2.f(9); - case 11: - return _context2.f(7); - case 12: - return _context2.a(2); - } - }, _callee, null, [[8,, 9, 11], [1, 6, 7, 12]]); - })); - return function readBytes(_x, _x2) { - return _ref.apply(this, arguments); - }; - }(); - var readStream = /*#__PURE__*/function () { - var _ref2 = _wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee2(stream) { - var reader, _yield$_awaitAsyncGen, done, value; - return _regenerator().w(function (_context3) { - while (1) switch (_context3.p = _context3.n) { - case 0: - if (!stream[Symbol.asyncIterator]) { - _context3.n = 2; - break; - } - return _context3.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(stream))), 1); - case 1: - return _context3.a(2); - case 2: - reader = stream.getReader(); - _context3.p = 3; - case 4: - _context3.n = 5; - return _awaitAsyncGenerator(reader.read()); - case 5: - _yield$_awaitAsyncGen = _context3.v; - done = _yield$_awaitAsyncGen.done; - value = _yield$_awaitAsyncGen.value; - if (!done) { - _context3.n = 6; - break; - } - return _context3.a(3, 8); - case 6: - _context3.n = 7; - return value; - case 7: - _context3.n = 4; - break; - case 8: - _context3.p = 8; - _context3.n = 9; - return _awaitAsyncGenerator(reader.cancel()); - case 9: - return _context3.f(8); - case 10: - return _context3.a(2); - } - }, _callee2, null, [[3,, 8, 10]]); - })); - return function readStream(_x3) { - return _ref2.apply(this, arguments); - }; - }(); - var trackStream = function trackStream(stream, chunkSize, onProgress, onFinish) { - var iterator = readBytes(stream, chunkSize); - var bytes = 0; - var done; - var _onFinish = function _onFinish(e) { - if (!done) { - done = true; - onFinish && onFinish(e); - } - }; - return new ReadableStream({ - pull: function pull(controller) { - return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3() { - var _yield$iterator$next, _done, value, len, loadedBytes, _t2; - return _regenerator().w(function (_context4) { - while (1) switch (_context4.p = _context4.n) { - case 0: - _context4.p = 0; - _context4.n = 1; - return iterator.next(); - case 1: - _yield$iterator$next = _context4.v; - _done = _yield$iterator$next.done; - value = _yield$iterator$next.value; - if (!_done) { - _context4.n = 2; - break; - } - _onFinish(); - controller.close(); - return _context4.a(2); - case 2: - len = value.byteLength; - if (onProgress) { - loadedBytes = bytes += len; - onProgress(loadedBytes); - } - controller.enqueue(new Uint8Array(value)); - _context4.n = 4; - break; - case 3: - _context4.p = 3; - _t2 = _context4.v; - _onFinish(_t2); - throw _t2; - case 4: - return _context4.a(2); - } - }, _callee3, null, [[0, 3]]); - }))(); - }, - cancel: function cancel(reason) { - _onFinish(reason); - return iterator["return"](); - } - }, { - highWaterMark: 2 - }); - }; - - /** - * Estimate decoded byte length of a data:// URL *without* allocating large buffers. - * - For base64: compute exact decoded size using length and padding; - * handle %XX at the character-count level (no string allocation). - * - For non-base64: compute the exact percent-decoded UTF-8 byte length. - * - * @param {string} url - * @returns {number} - */ - var isHexDigit = function isHexDigit(charCode) { - return charCode >= 48 && charCode <= 57 || charCode >= 65 && charCode <= 70 || charCode >= 97 && charCode <= 102; - }; - var isPercentEncodedByte = function isPercentEncodedByte(str, i, len) { - return i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2)); - }; - function estimateDataURLDecodedBytes(url) { - if (!url || typeof url !== 'string') return 0; - if (!url.startsWith('data:')) return 0; - var comma = url.indexOf(','); - if (comma < 0) return 0; - var meta = url.slice(5, comma); - var body = url.slice(comma + 1); - var isBase64 = /;base64/i.test(meta); - if (isBase64) { - var effectiveLen = body.length; - var len = body.length; // cache length - - for (var i = 0; i < len; i++) { - if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) { - var a = body.charCodeAt(i + 1); - var b = body.charCodeAt(i + 2); - var isHex = isHexDigit(a) && isHexDigit(b); - if (isHex) { - effectiveLen -= 2; - i += 2; - } - } - } - var pad = 0; - var idx = len - 1; - var tailIsPct3D = function tailIsPct3D(j) { - return j >= 2 && body.charCodeAt(j - 2) === 37 && - // '%' - body.charCodeAt(j - 1) === 51 && ( - // '3' - body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); - }; // 'D' or 'd' - - if (idx >= 0) { - if (body.charCodeAt(idx) === 61 /* '=' */) { - pad++; - idx--; - } else if (tailIsPct3D(idx)) { - pad++; - idx -= 3; - } - } - if (pad === 1 && idx >= 0) { - if (body.charCodeAt(idx) === 61 /* '=' */) { - pad++; - } else if (tailIsPct3D(idx)) { - pad++; - } - } - var groups = Math.floor(effectiveLen / 4); - var _bytes = groups * 3 - (pad || 0); - return _bytes > 0 ? _bytes : 0; - } - - // Compute UTF-8 byte length directly from UTF-16 code units without allocating - // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies). - // Valid %XX triplets count as one decoded byte; this matches the bytes that - // decodeURIComponent(body) would produce before Buffer re-encodes the string. - var bytes = 0; - for (var _i = 0, _len = body.length; _i < _len; _i++) { - var c = body.charCodeAt(_i); - if (c === 37 /* '%' */ && isPercentEncodedByte(body, _i, _len)) { - bytes += 1; - _i += 2; - } else if (c < 0x80) { - bytes += 1; - } else if (c < 0x800) { - bytes += 2; - } else if (c >= 0xd800 && c <= 0xdbff && _i + 1 < _len) { - var next = body.charCodeAt(_i + 1); - if (next >= 0xdc00 && next <= 0xdfff) { - bytes += 4; - _i++; - } else { - bytes += 3; - } - } else { - bytes += 3; - } - } - return bytes; - } - - var VERSION = "1.18.1"; - - var DEFAULT_CHUNK_SIZE = 64 * 1024; - var isFunction = utils$1.isFunction; - - /** - * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). - * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. - * - * @param {string} str The string to encode - * - * @returns {string} UTF-8 bytes as a Latin-1 string - */ - var encodeUTF8 = function encodeUTF8(str) { - return encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, function (_, hex) { - return String.fromCharCode(parseInt(hex, 16)); - }); - }; - - // Node's WHATWG URL parser returns `username` and `password` percent-encoded. - // Decode before composing the `auth` option so credentials such as - // `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the - // original value for malformed input so a bad encoding never throws. - var decodeURIComponentSafe = function decodeURIComponentSafe(value) { - if (!utils$1.isString(value)) { - return value; - } - try { - return decodeURIComponent(value); - } catch (error) { - return value; - } - }; - var test = function test(fn) { - try { - for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - return !!fn.apply(void 0, args); - } catch (e) { - return false; - } - }; - var maybeWithAuthCredentials = function maybeWithAuthCredentials(url) { - var protocolIndex = url.indexOf('://'); - var urlToCheck = url; - if (protocolIndex !== -1) { - urlToCheck = urlToCheck.slice(protocolIndex + 3); - } - return urlToCheck.includes('@') || urlToCheck.includes(':'); - }; - var factory = function factory(env) { - var globalObject = utils$1.global !== undefined && utils$1.global !== null ? utils$1.global : globalThis; - var ReadableStream = globalObject.ReadableStream, - TextEncoder = globalObject.TextEncoder; - env = utils$1.merge.call({ - skipUndefined: true - }, { - Request: globalObject.Request, - Response: globalObject.Response - }, env); - var _env = env, - envFetch = _env.fetch, - Request = _env.Request, - Response = _env.Response; - var isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function'; - var isRequestSupported = isFunction(Request); - var isResponseSupported = isFunction(Response); - if (!isFetchSupported) { - return false; - } - var isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream); - var encodeText = isFetchSupported && (typeof TextEncoder === 'function' ? function (encoder) { - return function (str) { - return encoder.encode(str); - }; - }(new TextEncoder()) : (/*#__PURE__*/function () { - var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(str) { - var _t, _t2; - return _regenerator().w(function (_context) { - while (1) switch (_context.n) { - case 0: - _t = Uint8Array; - _context.n = 1; - return new Request(str).arrayBuffer(); - case 1: - _t2 = _context.v; - return _context.a(2, new _t(_t2)); - } - }, _callee); - })); - return function (_x) { - return _ref.apply(this, arguments); - }; - }())); - var supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(function () { - var duplexAccessed = false; - var request = new Request(platform.origin, { - body: new ReadableStream(), - method: 'POST', - get duplex() { - duplexAccessed = true; - return 'half'; - } - }); - var hasContentType = request.headers.has('Content-Type'); - if (request.body != null) { - request.body.cancel(); - } - return duplexAccessed && !hasContentType; - }); - var supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(function () { - return utils$1.isReadableStream(new Response('').body); - }); - var resolvers = { - stream: supportsResponseStream && function (res) { - return res.body; - } - }; - isFetchSupported && function () { - ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(function (type) { - !resolvers[type] && (resolvers[type] = function (res, config) { - var method = res && res[type]; - if (method) { - return method.call(res); - } - throw new AxiosError("Response type '".concat(type, "' is not supported"), AxiosError.ERR_NOT_SUPPORT, config); - }); - }); - }(); - var getBodyLength = /*#__PURE__*/function () { - var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(body) { - var _request; - return _regenerator().w(function (_context2) { - while (1) switch (_context2.n) { - case 0: - if (!(body == null)) { - _context2.n = 1; - break; - } - return _context2.a(2, 0); - case 1: - if (!utils$1.isBlob(body)) { - _context2.n = 2; - break; - } - return _context2.a(2, body.size); - case 2: - if (!utils$1.isSpecCompliantForm(body)) { - _context2.n = 4; - break; - } - _request = new Request(platform.origin, { - method: 'POST', - body: body - }); - _context2.n = 3; - return _request.arrayBuffer(); - case 3: - return _context2.a(2, _context2.v.byteLength); - case 4: - if (!(utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body))) { - _context2.n = 5; - break; - } - return _context2.a(2, body.byteLength); - case 5: - if (utils$1.isURLSearchParams(body)) { - body = body + ''; - } - if (!utils$1.isString(body)) { - _context2.n = 7; - break; - } - _context2.n = 6; - return encodeText(body); - case 6: - return _context2.a(2, _context2.v.byteLength); - case 7: - return _context2.a(2); - } - }, _callee2); - })); - return function getBodyLength(_x2) { - return _ref2.apply(this, arguments); - }; - }(); - var resolveBodyLength = /*#__PURE__*/function () { - var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(headers, body) { - var length; - return _regenerator().w(function (_context3) { - while (1) switch (_context3.n) { - case 0: - length = utils$1.toFiniteNumber(headers.getContentLength()); - return _context3.a(2, length == null ? getBodyLength(body) : length); - } - }, _callee3); - })); - return function resolveBodyLength(_x3, _x4) { - return _ref3.apply(this, arguments); - }; - }(); - return /*#__PURE__*/function () { - var _ref4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(config) { - var _resolveConfig, url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, _resolveConfig$withCr, withCredentials, fetchOptions, maxContentLength, maxBodyLength, hasMaxContentLength, hasMaxBodyLength, own, _fetch, composedSignal, request, unsubscribe, requestContentLength, pendingBodyError, maxBodyLengthError, auth, configAuth, username, password, parsedURL, urlUsername, urlPassword, estimated, outboundLength, mustEnforceStreamBody, trackRequestStream, _request, contentTypeHeader, _ref5, _ref6, onProgress, flush, isCredentialsSupported, contentType, resolvedOptions, response, responseHeaders, declaredLength, isStreamResponse, options, responseContentLength, _ref7, _ref8, _onProgress, _flush, bytesRead, onChunkProgress, responseData, materializedSize, canceledError, networkError, _t3, _t4; - return _regenerator().w(function (_context4) { - while (1) switch (_context4.p = _context4.n) { - case 0: - _resolveConfig = resolveConfig(config), url = _resolveConfig.url, method = _resolveConfig.method, data = _resolveConfig.data, signal = _resolveConfig.signal, cancelToken = _resolveConfig.cancelToken, timeout = _resolveConfig.timeout, onDownloadProgress = _resolveConfig.onDownloadProgress, onUploadProgress = _resolveConfig.onUploadProgress, responseType = _resolveConfig.responseType, headers = _resolveConfig.headers, _resolveConfig$withCr = _resolveConfig.withCredentials, withCredentials = _resolveConfig$withCr === void 0 ? 'same-origin' : _resolveConfig$withCr, fetchOptions = _resolveConfig.fetchOptions, maxContentLength = _resolveConfig.maxContentLength, maxBodyLength = _resolveConfig.maxBodyLength; - hasMaxContentLength = utils$1.isNumber(maxContentLength) && maxContentLength > -1; - hasMaxBodyLength = utils$1.isNumber(maxBodyLength) && maxBodyLength > -1; - own = function own(key) { - return utils$1.hasOwnProp(config, key) ? config[key] : undefined; - }; - _fetch = envFetch || fetch; - responseType = responseType ? (responseType + '').toLowerCase() : 'text'; - composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout); - request = null; - unsubscribe = composedSignal && composedSignal.unsubscribe && function () { - composedSignal.unsubscribe(); - }; - // AxiosError we raise while the request body is being streamed. Captured - // by identity so the catch block can surface it directly, regardless of - // how the runtime wraps the resulting fetch rejection (undici exposes it - // as `err.cause`; some browsers drop the original error entirely). - pendingBodyError = null; - maxBodyLengthError = function maxBodyLengthError() { - return new AxiosError('Request body larger than maxBodyLength limit', AxiosError.ERR_BAD_REQUEST, config, request); - }; - _context4.p = 1; - // HTTP basic authentication - auth = undefined; - configAuth = own('auth'); - if (configAuth) { - username = utils$1.getSafeProp(configAuth, 'username') || ''; - password = utils$1.getSafeProp(configAuth, 'password') || ''; - auth = { - username: username, - password: password - }; - } - if (maybeWithAuthCredentials(url)) { - parsedURL = new URL(url, platform.origin); - if (!auth && (parsedURL.username || parsedURL.password)) { - urlUsername = decodeURIComponentSafe(parsedURL.username); - urlPassword = decodeURIComponentSafe(parsedURL.password); - auth = { - username: urlUsername, - password: urlPassword - }; - } - if (parsedURL.username || parsedURL.password) { - parsedURL.username = ''; - parsedURL.password = ''; - url = parsedURL.href; - } - } - if (auth) { - headers["delete"]('authorization'); - headers.set('Authorization', 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || '')))); - } - - // Enforce maxContentLength for data: URLs up-front so we never materialize - // an oversized payload. The HTTP adapter applies the same check (see http.js - // "if (protocol === 'data:')" branch). - if (!(hasMaxContentLength && typeof url === 'string' && url.startsWith('data:'))) { - _context4.n = 2; - break; - } - estimated = estimateDataURLDecodedBytes(url); - if (!(estimated > maxContentLength)) { - _context4.n = 2; - break; - } - throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); - case 2: - if (!(hasMaxBodyLength && method !== 'get' && method !== 'head')) { - _context4.n = 4; - break; - } - _context4.n = 3; - return getBodyLength(data); - case 3: - outboundLength = _context4.v; - if (!(typeof outboundLength === 'number' && isFinite(outboundLength))) { - _context4.n = 4; - break; - } - requestContentLength = outboundLength; - if (!(outboundLength > maxBodyLength)) { - _context4.n = 4; - break; - } - throw maxBodyLengthError(); - case 4: - // A streamed body under maxBodyLength must be counted as fetch consumes - // it; its size is never trusted from a caller-declared Content-Length. - mustEnforceStreamBody = hasMaxBodyLength && (utils$1.isReadableStream(data) || utils$1.isStream(data)); - trackRequestStream = function trackRequestStream(stream, onProgress, flush) { - return trackStream(stream, DEFAULT_CHUNK_SIZE, function (loadedBytes) { - if (hasMaxBodyLength && loadedBytes > maxBodyLength) { - throw pendingBodyError = maxBodyLengthError(); - } - onProgress && onProgress(loadedBytes); - }, flush); - }; - if (!(supportsRequestStream && method !== 'get' && method !== 'head' && (onUploadProgress || mustEnforceStreamBody))) { - _context4.n = 8; - break; - } - if (!(requestContentLength == null)) { - _context4.n = 6; - break; - } - _context4.n = 5; - return resolveBodyLength(headers, data); - case 5: - _t3 = _context4.v; - _context4.n = 7; - break; - case 6: - _t3 = requestContentLength; - case 7: - requestContentLength = _t3; - // A declared length of 0 is only trusted to skip the wrap when we are - // not enforcing a stream limit (which must not rely on that header). - if (requestContentLength !== 0 || mustEnforceStreamBody) { - _request = new Request(url, { - method: 'POST', - body: data, - duplex: 'half' - }); - if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) { - headers.setContentType(contentTypeHeader); - } - if (_request.body) { - _ref5 = onUploadProgress && progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress))) || [], _ref6 = _slicedToArray(_ref5, 2), onProgress = _ref6[0], flush = _ref6[1]; - data = trackRequestStream(_request.body, onProgress, flush); - } - } - _context4.n = 10; - break; - case 8: - if (!(mustEnforceStreamBody && !isRequestSupported && isReadableStreamSupported && method !== 'get' && method !== 'head')) { - _context4.n = 9; - break; - } - data = trackRequestStream(data); - _context4.n = 10; - break; - case 9: - if (!(mustEnforceStreamBody && isRequestSupported && !supportsRequestStream && method !== 'get' && method !== 'head')) { - _context4.n = 10; - break; - } - throw new AxiosError('Stream request bodies are not supported by the current fetch implementation', AxiosError.ERR_NOT_SUPPORT, config, request); - case 10: - if (!utils$1.isString(withCredentials)) { - withCredentials = withCredentials ? 'include' : 'omit'; - } - - // Cloudflare Workers throws when credentials are defined - // see https://github.com/cloudflare/workerd/issues/902 - isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype; // If data is FormData and Content-Type is multipart/form-data without boundary, - // delete it so fetch can set it correctly with the boundary - if (utils$1.isFormData(data)) { - contentType = headers.getContentType(); - if (contentType && /^multipart\/form-data/i.test(contentType) && !/boundary=/i.test(contentType)) { - headers["delete"]('content-type'); - } - } - - // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js) - headers.set('User-Agent', 'axios/' + VERSION, false); - resolvedOptions = _objectSpread2(_objectSpread2({}, fetchOptions), {}, { - signal: composedSignal, - method: method.toUpperCase(), - headers: toByteStringHeaderObject(headers.normalize()), - body: data, - duplex: 'half', - credentials: isCredentialsSupported ? withCredentials : undefined - }); - request = isRequestSupported && new Request(url, resolvedOptions); - _context4.n = 11; - return isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions); - case 11: - response = _context4.v; - responseHeaders = AxiosHeaders.from(response.headers); // Cheap pre-check: if the server honestly declares a content-length that - // already exceeds the cap, reject before we start streaming. - if (!hasMaxContentLength) { - _context4.n = 12; - break; - } - declaredLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); - if (!(declaredLength != null && declaredLength > maxContentLength)) { - _context4.n = 12; - break; - } - throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); - case 12: - isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response'); - if (supportsResponseStream && response.body && (onDownloadProgress || hasMaxContentLength || isStreamResponse && unsubscribe)) { - options = {}; - ['status', 'statusText', 'headers'].forEach(function (prop) { - options[prop] = response[prop]; - }); - responseContentLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); - _ref7 = onDownloadProgress && progressEventDecorator(responseContentLength, progressEventReducer(asyncDecorator(onDownloadProgress), true)) || [], _ref8 = _slicedToArray(_ref7, 2), _onProgress = _ref8[0], _flush = _ref8[1]; - bytesRead = 0; - onChunkProgress = function onChunkProgress(loadedBytes) { - if (hasMaxContentLength) { - bytesRead = loadedBytes; - if (bytesRead > maxContentLength) { - throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); - } - } - _onProgress && _onProgress(loadedBytes); - }; - response = new Response(trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, function () { - _flush && _flush(); - unsubscribe && unsubscribe(); - }), options); - } - responseType = responseType || 'text'; - _context4.n = 13; - return resolvers[utils$1.findKey(resolvers, responseType) || 'text'](response, config); - case 13: - responseData = _context4.v; - if (!(hasMaxContentLength && !supportsResponseStream && !isStreamResponse)) { - _context4.n = 14; - break; - } - if (responseData != null) { - if (typeof responseData.byteLength === 'number') { - materializedSize = responseData.byteLength; - } else if (typeof responseData.size === 'number') { - materializedSize = responseData.size; - } else if (typeof responseData === 'string') { - materializedSize = typeof TextEncoder === 'function' ? new TextEncoder().encode(responseData).byteLength : responseData.length; - } - } - if (!(typeof materializedSize === 'number' && materializedSize > maxContentLength)) { - _context4.n = 14; - break; - } - throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); - case 14: - !isStreamResponse && unsubscribe && unsubscribe(); - _context4.n = 15; - return new Promise(function (resolve, reject) { - settle(resolve, reject, { - data: responseData, - headers: AxiosHeaders.from(response.headers), - status: response.status, - statusText: response.statusText, - config: config, - request: request - }); - }); - case 15: - return _context4.a(2, _context4.v); - case 16: - _context4.p = 16; - _t4 = _context4.v; - unsubscribe && unsubscribe(); - - // Safari can surface fetch aborts as a DOMException-like object whose - // branded getters throw. Prefer our composed signal reason before reading - // the caught error, preserving timeout vs cancellation semantics. - if (!(composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError)) { - _context4.n = 17; - break; - } - canceledError = composedSignal.reason; - canceledError.config = config; - request && (canceledError.request = request); - if (_t4 !== canceledError) { - // Non-enumerable to match native Error `cause` semantics so loggers - // don't recurse into circular fetch internals (see #7205). - Object.defineProperty(canceledError, 'cause', { - __proto__: null, - value: _t4, - writable: true, - enumerable: false, - configurable: true - }); - } - throw canceledError; - case 17: - if (!pendingBodyError) { - _context4.n = 18; - break; - } - request && !pendingBodyError.request && (pendingBodyError.request = request); - throw pendingBodyError; - case 18: - if (!(_t4 instanceof AxiosError)) { - _context4.n = 19; - break; - } - request && !_t4.request && (_t4.request = request); - throw _t4; - case 19: - if (!(_t4 && _t4.name === 'TypeError' && /Load failed|fetch/i.test(_t4.message))) { - _context4.n = 20; - break; - } - networkError = new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request, _t4 && _t4.response); // Non-enumerable to match native Error `cause` semantics so loggers - // don't recurse into circular fetch internals (see #7205). - Object.defineProperty(networkError, 'cause', { - __proto__: null, - value: _t4.cause || _t4, - writable: true, - enumerable: false, - configurable: true - }); - throw networkError; - case 20: - throw AxiosError.from(_t4, _t4 && _t4.code, config, request, _t4 && _t4.response); - case 21: - return _context4.a(2); - } - }, _callee4, null, [[1, 16]]); - })); - return function (_x5) { - return _ref4.apply(this, arguments); - }; - }(); - }; - var seedCache = new Map(); - var getFetch = function getFetch(config) { - var env = config && config.env || {}; - var fetch = env.fetch, - Request = env.Request, - Response = env.Response; - var seeds = [Request, Response, fetch]; - var len = seeds.length, - i = len, - seed, - target, - map = seedCache; - while (i--) { - seed = seeds[i]; - target = map.get(seed); - target === undefined && map.set(seed, target = i ? new Map() : factory(env)); - map = target; - } - return target; - }; - getFetch(); - - /** - * Known adapters mapping. - * Provides environment-specific adapters for Axios: - * - `http` for Node.js - * - `xhr` for browsers - * - `fetch` for fetch API-based requests - * - * @type {Object} - */ - var knownAdapters = { - http: httpAdapter, - xhr: xhrAdapter, - fetch: { - get: getFetch - } - }; - - // Assign adapter names for easier debugging and identification - utils$1.forEach(knownAdapters, function (fn, value) { - if (fn) { - try { - // Null-proto descriptors so a polluted Object.prototype.get cannot turn - // these data descriptors into accessor descriptors on the way in. - Object.defineProperty(fn, 'name', { - __proto__: null, - value: value - }); - } catch (e) { - // eslint-disable-next-line no-empty - } - Object.defineProperty(fn, 'adapterName', { - __proto__: null, - value: value - }); - } - }); - - /** - * Render a rejection reason string for unknown or unsupported adapters - * - * @param {string} reason - * @returns {string} - */ - var renderReason = function renderReason(reason) { - return "- ".concat(reason); - }; - - /** - * Check if the adapter is resolved (function, null, or false) - * - * @param {Function|null|false} adapter - * @returns {boolean} - */ - var isResolvedHandle = function isResolvedHandle(adapter) { - return utils$1.isFunction(adapter) || adapter === null || adapter === false; - }; - - /** - * Get the first suitable adapter from the provided list. - * Tries each adapter in order until a supported one is found. - * Throws an AxiosError if no adapter is suitable. - * - * @param {Array|string|Function} adapters - Adapter(s) by name or function. - * @param {Object} config - Axios request configuration - * @throws {AxiosError} If no suitable adapter is available - * @returns {Function} The resolved adapter function - */ - function getAdapter(adapters, config) { - adapters = utils$1.isArray(adapters) ? adapters : [adapters]; - var _adapters = adapters, - length = _adapters.length; - var nameOrAdapter; - var adapter; - var rejectedReasons = {}; - for (var i = 0; i < length; i++) { - nameOrAdapter = adapters[i]; - var id = void 0; - adapter = nameOrAdapter; - if (!isResolvedHandle(nameOrAdapter)) { - adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()]; - if (adapter === undefined) { - throw new AxiosError("Unknown adapter '".concat(id, "'")); - } - } - if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) { - break; - } - rejectedReasons[id || '#' + i] = adapter; - } - if (!adapter) { - var reasons = Object.entries(rejectedReasons).map(function (_ref) { - var _ref2 = _slicedToArray(_ref, 2), - id = _ref2[0], - state = _ref2[1]; - return "adapter ".concat(id, " ") + (state === false ? 'is not supported by the environment' : 'is not available in the build'); - }); - var s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified'; - throw new AxiosError("There is no suitable adapter to dispatch the request " + s, AxiosError.ERR_NOT_SUPPORT); - } - return adapter; - } - - /** - * Exports Axios adapters and utility to resolve an adapter - */ - var adapters = { - /** - * Resolve an adapter from a list of adapter names or functions. - * @type {Function} - */ - getAdapter: getAdapter, - /** - * Exposes all known adapters - * @type {Object} - */ - adapters: knownAdapters - }; - - /** - * Throws a `CanceledError` if cancellation has been requested. - * - * @param {Object} config The config that is to be used for the request - * - * @returns {void} - */ - function throwIfCancellationRequested(config) { - if (config.cancelToken) { - config.cancelToken.throwIfRequested(); - } - if (config.signal && config.signal.aborted) { - throw new CanceledError(null, config); - } - } - - /** - * Dispatch a request to the server using the configured adapter. - * - * @param {object} config The config that is to be used for the request - * - * @returns {Promise} The Promise to be fulfilled - */ - function dispatchRequest(config) { - throwIfCancellationRequested(config); - config.headers = AxiosHeaders.from(config.headers); - - // Transform request data - config.data = transformData.call(config, config.transformRequest); - if (['post', 'put', 'patch'].indexOf(config.method) !== -1) { - config.headers.setContentType('application/x-www-form-urlencoded', false); - } - var adapter = adapters.getAdapter(config.adapter || defaults.adapter, config); - return adapter(config).then(function onAdapterResolution(response) { - throwIfCancellationRequested(config); - - // Expose the current response on config so that transformResponse can - // attach it to any AxiosError it throws (e.g. on JSON parse failure). - // We clean it up afterwards to avoid polluting the config object. - config.response = response; - try { - response.data = transformData.call(config, config.transformResponse, response); - } finally { - delete config.response; - } - response.headers = AxiosHeaders.from(response.headers); - return response; - }, function onAdapterRejection(reason) { - if (!isCancel(reason)) { - throwIfCancellationRequested(config); - - // Transform response data - if (reason && reason.response) { - config.response = reason.response; - try { - reason.response.data = transformData.call(config, config.transformResponse, reason.response); - } finally { - delete config.response; - } - reason.response.headers = AxiosHeaders.from(reason.response.headers); - } - } - return Promise.reject(reason); - }); - } - - var validators$1 = {}; - - // eslint-disable-next-line func-names - ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function (type, i) { - validators$1[type] = function validator(thing) { - return _typeof(thing) === type || 'a' + (i < 1 ? 'n ' : ' ') + type; - }; - }); - var deprecatedWarnings = {}; - - /** - * Transitional option validator - * - * @param {function|boolean?} validator - set to false if the transitional option has been removed - * @param {string?} version - deprecated version / removed since version - * @param {string?} message - some message with additional info - * - * @returns {function} - */ - validators$1.transitional = function transitional(validator, version, message) { - function formatMessage(opt, desc) { - return '[Axios v' + VERSION + "] Transitional option '" + opt + "'" + desc + (message ? '. ' + message : ''); - } - - // eslint-disable-next-line func-names - return function (value, opt, opts) { - if (validator === false) { - throw new AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), AxiosError.ERR_DEPRECATED); - } - if (version && !deprecatedWarnings[opt]) { - deprecatedWarnings[opt] = true; - // eslint-disable-next-line no-console - console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future')); - } - return validator ? validator(value, opt, opts) : true; - }; - }; - validators$1.spelling = function spelling(correctSpelling) { - return function (value, opt) { - // eslint-disable-next-line no-console - console.warn("".concat(opt, " is likely a misspelling of ").concat(correctSpelling)); - return true; - }; - }; - - /** - * Assert object's properties type - * - * @param {object} options - * @param {object} schema - * @param {boolean?} allowUnknown - * - * @returns {object} - */ - - function assertOptions(options, schema, allowUnknown) { - if (_typeof(options) !== 'object' || options === null) { - throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE); - } - var keys = Object.keys(options); - var i = keys.length; - while (i-- > 0) { - var opt = keys[i]; - // Use hasOwnProperty so a polluted Object.prototype. cannot supply - // a non-function validator and cause a TypeError. - var validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined; - if (validator) { - var value = options[opt]; - var result = value === undefined || validator(value, opt, options); - if (result !== true) { - throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE); - } - continue; - } - if (allowUnknown !== true) { - throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION); - } - } - } - var validator = { - assertOptions: assertOptions, - validators: validators$1 - }; - - var validators = validator.validators; - - /** - * Create a new instance of Axios - * - * @param {Object} instanceConfig The default config for the instance - * - * @return {Axios} A new instance of Axios - */ - var Axios = /*#__PURE__*/function () { - function Axios(instanceConfig) { - _classCallCheck(this, Axios); - this.defaults = instanceConfig || {}; - this.interceptors = { - request: new InterceptorManager(), - response: new InterceptorManager() - }; - } - - /** - * Dispatch a request - * - * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) - * @param {?Object} config - * - * @returns {Promise} The Promise to be fulfilled - */ - return _createClass(Axios, [{ - key: "request", - value: (function () { - var _request2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(configOrUrl, config) { - var dummy, stack, firstNewlineIndex, secondNewlineIndex, stackWithoutTwoTopLines, _t; - return _regenerator().w(function (_context) { - while (1) switch (_context.p = _context.n) { - case 0: - _context.p = 0; - _context.n = 1; - return this._request(configOrUrl, config); - case 1: - return _context.a(2, _context.v); - case 2: - _context.p = 2; - _t = _context.v; - if (_t instanceof Error) { - dummy = {}; - Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error(); - - // slice off the Error: ... line - stack = function () { - if (!dummy.stack) { - return ''; - } - var firstNewlineIndex = dummy.stack.indexOf('\n'); - return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1); - }(); - try { - if (!_t.stack) { - _t.stack = stack; - // match without the 2 top stack lines - } else if (stack) { - firstNewlineIndex = stack.indexOf('\n'); - secondNewlineIndex = firstNewlineIndex === -1 ? -1 : stack.indexOf('\n', firstNewlineIndex + 1); - stackWithoutTwoTopLines = secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1); - if (!String(_t.stack).endsWith(stackWithoutTwoTopLines)) { - _t.stack += '\n' + stack; - } - } - } catch (e) { - // ignore the case where "stack" is an un-writable property - } - } - throw _t; - case 3: - return _context.a(2); - } - }, _callee, this, [[0, 2]]); - })); - function request(_x, _x2) { - return _request2.apply(this, arguments); - } - return request; - }()) - }, { - key: "_request", - value: function _request(configOrUrl, config) { - /*eslint no-param-reassign:0*/ - // Allow for axios('example/url'[, config]) a la fetch API - if (typeof configOrUrl === 'string') { - config = config || {}; - config.url = configOrUrl; - } else { - config = configOrUrl || {}; - } - config = mergeConfig(this.defaults, config); - var _config = config, - transitional = _config.transitional, - paramsSerializer = _config.paramsSerializer, - headers = _config.headers; - if (transitional !== undefined) { - validator.assertOptions(transitional, { - silentJSONParsing: validators.transitional(validators["boolean"]), - forcedJSONParsing: validators.transitional(validators["boolean"]), - clarifyTimeoutError: validators.transitional(validators["boolean"]), - legacyInterceptorReqResOrdering: validators.transitional(validators["boolean"]), - advertiseZstdAcceptEncoding: validators.transitional(validators["boolean"]), - validateStatusUndefinedResolves: validators.transitional(validators["boolean"]) - }, false); - } - if (paramsSerializer != null) { - if (utils$1.isFunction(paramsSerializer)) { - config.paramsSerializer = { - serialize: paramsSerializer - }; - } else { - validator.assertOptions(paramsSerializer, { - encode: validators["function"], - serialize: validators["function"] - }, true); - } - } - - // Set config.allowAbsoluteUrls - if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) { - config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls; - } else { - config.allowAbsoluteUrls = true; - } - validator.assertOptions(config, { - baseUrl: validators.spelling('baseURL'), - withXsrfToken: validators.spelling('withXSRFToken') - }, true); - - // Set config.method - config.method = (config.method || this.defaults.method || 'get').toLowerCase(); - - // Flatten headers - var contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]); - headers && utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], function (method) { - delete headers[method]; - }); - config.headers = AxiosHeaders.concat(contextHeaders, headers); - - // filter out skipped interceptors - var requestInterceptorChain = []; - var synchronousRequestInterceptors = true; - this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) { - if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) { - return; - } - synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous; - var transitional = config.transitional || transitionalDefaults; - var legacyInterceptorReqResOrdering = transitional && transitional.legacyInterceptorReqResOrdering; - if (legacyInterceptorReqResOrdering) { - requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected); - } else { - requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); - } - }); - var responseInterceptorChain = []; - this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) { - responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); - }); - var promise; - var i = 0; - var len; - if (!synchronousRequestInterceptors) { - var chain = [dispatchRequest.bind(this), undefined]; - chain.unshift.apply(chain, requestInterceptorChain); - chain.push.apply(chain, responseInterceptorChain); - len = chain.length; - promise = Promise.resolve(config); - while (i < len) { - promise = promise.then(chain[i++], chain[i++]); - } - return promise; - } - len = requestInterceptorChain.length; - var newConfig = config; - while (i < len) { - var onFulfilled = requestInterceptorChain[i++]; - var onRejected = requestInterceptorChain[i++]; - try { - newConfig = onFulfilled(newConfig); - } catch (error) { - onRejected.call(this, error); - break; - } - } - try { - promise = dispatchRequest.call(this, newConfig); - } catch (error) { - return Promise.reject(error); - } - i = 0; - len = responseInterceptorChain.length; - while (i < len) { - promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); - } - return promise; - } - }, { - key: "getUri", - value: function getUri(config) { - config = mergeConfig(this.defaults, config); - var fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config); - return buildURL(fullPath, config.params, config.paramsSerializer); - } - }]); - }(); // Provide aliases for supported request methods - utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) { - /*eslint func-names:0*/ - Axios.prototype[method] = function (url, config) { - return this.request(mergeConfig(config || {}, { - method: method, - url: url, - data: config && utils$1.hasOwnProp(config, 'data') ? config.data : undefined - })); - }; - }); - utils$1.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) { - function generateHTTPMethod(isForm) { - return function httpMethod(url, data, config) { - return this.request(mergeConfig(config || {}, { - method: method, - headers: isForm ? { - 'Content-Type': 'multipart/form-data' - } : {}, - url: url, - data: data - })); - }; - } - Axios.prototype[method] = generateHTTPMethod(); - - // QUERY is a safe/idempotent read method; multipart form bodies don't fit - // its semantics, so no queryForm shorthand is generated. - if (method !== 'query') { - Axios.prototype[method + 'Form'] = generateHTTPMethod(true); - } - }); - - /** - * A `CancelToken` is an object that can be used to request cancellation of an operation. - * - * @param {Function} executor The executor function. - * - * @returns {CancelToken} - */ - var CancelToken = /*#__PURE__*/function () { - function CancelToken(executor) { - _classCallCheck(this, CancelToken); - if (typeof executor !== 'function') { - throw new TypeError('executor must be a function.'); - } - var resolvePromise; - this.promise = new Promise(function promiseExecutor(resolve) { - resolvePromise = resolve; - }); - var token = this; - - // eslint-disable-next-line func-names - this.promise.then(function (cancel) { - if (!token._listeners) return; - var i = token._listeners.length; - while (i-- > 0) { - token._listeners[i](cancel); - } - token._listeners = null; - }); - - // eslint-disable-next-line func-names - this.promise.then = function (onfulfilled) { - var _resolve; - // eslint-disable-next-line func-names - var promise = new Promise(function (resolve) { - token.subscribe(resolve); - _resolve = resolve; - }).then(onfulfilled); - promise.cancel = function reject() { - token.unsubscribe(_resolve); - }; - return promise; - }; - executor(function cancel(message, config, request) { - if (token.reason) { - // Cancellation has already been requested - return; - } - token.reason = new CanceledError(message, config, request); - resolvePromise(token.reason); - }); - } - - /** - * Throws a `CanceledError` if cancellation has been requested. - */ - return _createClass(CancelToken, [{ - key: "throwIfRequested", - value: function throwIfRequested() { - if (this.reason) { - throw this.reason; - } - } - - /** - * Subscribe to the cancel signal - */ - }, { - key: "subscribe", - value: function subscribe(listener) { - if (this.reason) { - listener(this.reason); - return; - } - if (this._listeners) { - this._listeners.push(listener); - } else { - this._listeners = [listener]; - } - } - - /** - * Unsubscribe from the cancel signal - */ - }, { - key: "unsubscribe", - value: function unsubscribe(listener) { - if (!this._listeners) { - return; - } - var index = this._listeners.indexOf(listener); - if (index !== -1) { - this._listeners.splice(index, 1); - } - } - }, { - key: "toAbortSignal", - value: function toAbortSignal() { - var _this = this; - var controller = new AbortController(); - var abort = function abort(err) { - controller.abort(err); - }; - this.subscribe(abort); - controller.signal.unsubscribe = function () { - return _this.unsubscribe(abort); - }; - return controller.signal; - } - - /** - * Returns an object that contains a new `CancelToken` and a function that, when called, - * cancels the `CancelToken`. - */ - }], [{ - key: "source", - value: function source() { - var cancel; - var token = new CancelToken(function executor(c) { - cancel = c; - }); - return { - token: token, - cancel: cancel - }; - } - }]); - }(); - - /** - * Syntactic sugar for invoking a function and expanding an array for arguments. - * - * Common use case would be to use `Function.prototype.apply`. - * - * ```js - * function f(x, y, z) {} - * const args = [1, 2, 3]; - * f.apply(null, args); - * ``` - * - * With `spread` this example can be re-written. - * - * ```js - * spread(function(x, y, z) {})([1, 2, 3]); - * ``` - * - * @param {Function} callback - * - * @returns {Function} - */ - function spread(callback) { - return function wrap(arr) { - return callback.apply(null, arr); - }; - } - - /** - * Determines whether the payload is an error thrown by Axios - * - * @param {*} payload The value to test - * - * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false - */ - function isAxiosError(payload) { - return utils$1.isObject(payload) && payload.isAxiosError === true; - } - - var HttpStatusCode = { - Continue: 100, - SwitchingProtocols: 101, - Processing: 102, - EarlyHints: 103, - Ok: 200, - Created: 201, - Accepted: 202, - NonAuthoritativeInformation: 203, - NoContent: 204, - ResetContent: 205, - PartialContent: 206, - MultiStatus: 207, - AlreadyReported: 208, - ImUsed: 226, - MultipleChoices: 300, - MovedPermanently: 301, - Found: 302, - SeeOther: 303, - NotModified: 304, - UseProxy: 305, - Unused: 306, - TemporaryRedirect: 307, - PermanentRedirect: 308, - BadRequest: 400, - Unauthorized: 401, - PaymentRequired: 402, - Forbidden: 403, - NotFound: 404, - MethodNotAllowed: 405, - NotAcceptable: 406, - ProxyAuthenticationRequired: 407, - RequestTimeout: 408, - Conflict: 409, - Gone: 410, - LengthRequired: 411, - PreconditionFailed: 412, - PayloadTooLarge: 413, - UriTooLong: 414, - UnsupportedMediaType: 415, - RangeNotSatisfiable: 416, - ExpectationFailed: 417, - ImATeapot: 418, - MisdirectedRequest: 421, - UnprocessableEntity: 422, - Locked: 423, - FailedDependency: 424, - TooEarly: 425, - UpgradeRequired: 426, - PreconditionRequired: 428, - TooManyRequests: 429, - RequestHeaderFieldsTooLarge: 431, - UnavailableForLegalReasons: 451, - InternalServerError: 500, - NotImplemented: 501, - BadGateway: 502, - ServiceUnavailable: 503, - GatewayTimeout: 504, - HttpVersionNotSupported: 505, - VariantAlsoNegotiates: 506, - InsufficientStorage: 507, - LoopDetected: 508, - NotExtended: 510, - NetworkAuthenticationRequired: 511, - WebServerIsDown: 521, - ConnectionTimedOut: 522, - OriginIsUnreachable: 523, - TimeoutOccurred: 524, - SslHandshakeFailed: 525, - InvalidSslCertificate: 526 - }; - Object.entries(HttpStatusCode).forEach(function (_ref) { - var _ref2 = _slicedToArray(_ref, 2), - key = _ref2[0], - value = _ref2[1]; - HttpStatusCode[value] = key; - }); - - /** - * Create an instance of Axios - * - * @param {Object} defaultConfig The default config for the instance - * - * @returns {Axios} A new instance of Axios - */ - function createInstance(defaultConfig) { - var context = new Axios(defaultConfig); - var instance = bind(Axios.prototype.request, context); - - // Copy axios.prototype to instance - utils$1.extend(instance, Axios.prototype, context, { - allOwnKeys: true - }); - - // Copy context to instance - utils$1.extend(instance, context, null, { - allOwnKeys: true - }); - - // Factory for creating new instances - instance.create = function create(instanceConfig) { - return createInstance(mergeConfig(defaultConfig, instanceConfig)); - }; - return instance; - } - - // Create the default instance to be exported - var axios = createInstance(defaults); - - // Expose Axios class to allow class inheritance - axios.Axios = Axios; - - // Expose Cancel & CancelToken - axios.CanceledError = CanceledError; - axios.CancelToken = CancelToken; - axios.isCancel = isCancel; - axios.VERSION = VERSION; - axios.toFormData = toFormData; - - // Expose AxiosError class - axios.AxiosError = AxiosError; - - // alias for CanceledError for backward compatibility - axios.Cancel = axios.CanceledError; - - // Expose all/spread - axios.all = function all(promises) { - return Promise.all(promises); - }; - axios.spread = spread; - - // Expose isAxiosError - axios.isAxiosError = isAxiosError; - - // Expose mergeConfig - axios.mergeConfig = mergeConfig; - axios.AxiosHeaders = AxiosHeaders; - axios.formToJSON = function (thing) { - return formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing); - }; - axios.getAdapter = adapters.getAdapter; - axios.HttpStatusCode = HttpStatusCode; - axios["default"] = axios; - - return axios; - -})); -//# sourceMappingURL=axios.js.map diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js deleted file mode 100644 index 71f60f6..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js +++ /dev/null @@ -1,5 +0,0 @@ -/*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).axios=t()}(this,function(){"use strict";function e(e,t){this.v=e,this.k=t}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(o=h===r)&&(s=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&pr||r>h)&&(i[4]=n,i[5]=r,d.n=h,u=0))}if(o||n>1)return a;throw l=!0,r}return function(o,f,h){if(c>1)throw TypeError("Generator is already running");for(l&&1===f&&p(f,h),u=f,s=h;(t=u<2?e:s)||!l;){i||(u?u<3?(u>1&&(d.n=-1),p(u,s)):d.n=s:d.v=s);try{if(c=2,i){if(u||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(l=d.n<0)?s:n.call(r,d))!==a)break}catch(t){i=e,u=1,s=t}finally{c=1}}return{value:t,done:l}}}(n,o,i),!0),c}var a={};function u(){}function s(){}function c(){}t=Object.getPrototypeOf;var f=[][r]?t(t([][r]())):(g(t={},r,function(){return this}),t),l=c.prototype=u.prototype=Object.create(f);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,g(e,o,"GeneratorFunction")),e.prototype=Object.create(l),e}return s.prototype=c,g(l,"constructor",c),g(c,"constructor",s),s.displayName="GeneratorFunction",g(c,o,"GeneratorFunction"),g(l),g(l,o,"Generator"),g(l,r,function(){return this}),g(l,"toString",function(){return"[object Generator]"}),(m=function(){return{w:i,m:d}})()}function g(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}g=function(e,t,n,r){function i(t,n){g(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},g(e,t,n,r)}function w(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(typeof e+" is not iterable")}function O(e,t){return O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},O(e,t)}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(e,t)||A(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||A(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function A(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}function P(e){return function(){return new T(e.apply(this,arguments))}}function T(t){var n,r;function o(n,r){try{var a=t[n](r),u=a.value,s=u instanceof e;Promise.resolve(s?u.v:u).then(function(e){if(s){var r="return"===n&&u.k?n:"next";if(!u.k||e.done)return o(r,e);e=t[r](e).value}i(!!a.done,e)},function(e){o("throw",e)})}catch(e){i(2,e)}}function i(e,t){2===e?n.reject(t):n.resolve({value:t,done:e}),(n=n.next)?o(n.key,n.arg):r=null}this._invoke=function(e,t){return new Promise(function(i,a){var u={key:e,arg:t,resolve:i,reject:a,next:null};r?r=r.next=u:(n=r=u,o(e,t))})},"function"!=typeof t.return&&(this.return=void 0)}function j(e){var t="function"==typeof Map?new Map:void 0;return j=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(v())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&O(o,n.prototype),o}(e,arguments,p(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),O(n,e)},j(e)}function k(e,t){return function(){return e.apply(t,arguments)}}T.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},T.prototype.next=function(e){return this._invoke("next",e)},T.prototype.throw=function(e){return this._invoke("throw",e)},T.prototype.return=function(e){return this._invoke("return",e)};var C,x=Object.prototype.toString,N=Object.getPrototypeOf,U=Symbol.iterator,D=Symbol.toStringTag,L=function(){var e=Object.prototype.hasOwnProperty;return function(t,n){return e.call(t,n)}}(),F=function(e,t){for(var n=e,r=[];null!=n&&n!==Object.prototype;){if(-1!==r.indexOf(n))return!1;if(r.push(n),L(n,t))return!0;n=N(n)}return!1},B=(C=Object.create(null),function(e){var t=x.call(e);return C[t]||(C[t]=t.slice(8,-1).toLowerCase())}),I=function(e){return e=e.toLowerCase(),function(t){return B(t)===e}},q=function(e){return function(t){return _(t)===e}},M=Array.isArray,z=q("undefined");function H(e){return null!==e&&!z(e)&&null!==e.constructor&&!z(e.constructor)&&V(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var W=I("ArrayBuffer");var J=q("string"),V=q("function"),K=q("number"),X=function(e){return null!==e&&"object"===_(e)},G=function(e){if(!X(e))return!1;var t=N(e);return!(null!==t&&t!==Object.prototype&&null!==N(t)||F(e,D)||F(e,U))},$=I("Date"),Q=I("File"),Z=I("Blob"),Y=I("FileList");var ee="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},te=void 0!==ee.FormData?ee.FormData:void 0,ne=I("URLSearchParams"),re=E(["ReadableStream","Request","Response","Headers"].map(I),4),oe=re[0],ie=re[1],ae=re[2],ue=re[3];function se(e,t){var n,r,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!=e)if("object"!==_(e)&&(e=[e]),M(e))for(n=0,r=e.length;n0;)if(t===(n=r[o]).toLowerCase())return n;return null}var fe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,le=function(e){return!z(e)&&e!==fe};var de,pe=(de="undefined"!=typeof Uint8Array&&N(Uint8Array),function(e){return de&&e instanceof de}),he=I("HTMLFormElement"),ve=Object.prototype.propertyIsEnumerable,ye=I("RegExp"),be=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};se(n,function(n,o){var i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)};var me,ge,we,Oe,Ee=I("AsyncFunction"),Re=(me="function"==typeof setImmediate,ge=V(fe.postMessage),me?setImmediate:ge?(we="axios@".concat(Math.random()),Oe=[],fe.addEventListener("message",function(e){var t=e.source,n=e.data;t===fe&&n===we&&Oe.length&&Oe.shift()()},!1),function(e){Oe.push(e),fe.postMessage(we,"*")}):function(e){return setTimeout(e)}),Se="undefined"!=typeof queueMicrotask?queueMicrotask.bind(fe):"undefined"!=typeof process&&process.nextTick||Re,_e=function(e){return null!=e&&V(e[U])},Ae={isArray:M,isArrayBuffer:W,isBuffer:H,isFormData:function(e){if(!e)return!1;if(te&&e instanceof te)return!0;var t=N(e);if(!t||t===Object.prototype)return!1;if(!V(e.append))return!1;var n=B(e);return"formdata"===n||"object"===n&&V(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&W(e.buffer)},isString:J,isNumber:K,isBoolean:function(e){return!0===e||!1===e},isObject:X,isPlainObject:G,isEmptyObject:function(e){if(!X(e)||H(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:oe,isRequest:ie,isResponse:ae,isHeaders:ue,isUndefined:z,isDate:$,isFile:Q,isReactNativeBlob:function(e){return!(!e||void 0===e.uri)},isReactNative:function(e){return e&&void 0!==e.getParts},isBlob:Z,isRegExp:ye,isFunction:V,isStream:function(e){return X(e)&&V(e.pipe)},isURLSearchParams:ne,isTypedArray:pe,isFileList:Y,forEach:se,merge:function e(){for(var t=le(this)&&this||{},n=t.caseless,r=t.skipUndefined,o={},i=function(t,i){if("__proto__"!==i&&"constructor"!==i&&"prototype"!==i){var a=n&&"string"==typeof i&&ce(o,i)||i,u=L(o,a)?o[a]:void 0;G(u)&&G(t)?o[a]=e(u,t):G(t)?o[a]=e({},t):M(t)?o[a]=t.slice():r&&z(t)||(o[a]=t)}},a=0,u=arguments.length;a3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var o,i,a,u={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],r&&!r(a,e,t)||u[a]||(t[a]=e[a],u[a]=!0);e=!1!==n&&N(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:B,kindOfTest:I,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(M(e))return e;var t=e.length;if(!K(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[U]).call(e);(n=r.next())&&!n.done;){var o=n.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:he,hasOwnProperty:L,hasOwnProp:L,hasOwnInPrototypeChain:F,getSafeProp:function(e,t){return null!=e&&F(e,t)?e[t]:void 0},reduceDescriptors:be,freezeMethods:function(e){be(e,function(t,n){if(V(e)&&["arguments","caller","callee"].includes(n))return!1;var r=e[n];V(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:function(e,t){var n={},r=function(e){e.forEach(function(e){n[e]=!0})};return M(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n})},noop:function(){},toFiniteNumber:function(e,t){return null!=e&&Number.isFinite(e=+e)?e:t},findKey:ce,global:fe,isContextDefined:le,isSpecCompliantForm:function(e){return!!(e&&V(e.append)&&"FormData"===e[D]&&e[U])},toJSONObject:function(e){var t=new WeakSet,n=function(e){if(X(e)){if(t.has(e))return;if(H(e))return e;if(!("toJSON"in e)){t.add(e);var r=M(e)?[]:{};return se(e,function(e,t){var o=n(e);!z(o)&&(r[t]=o)}),t.delete(e),r}}return e};return n(e)},isAsyncFn:Ee,isThenable:function(e){return e&&(X(e)||V(e))&&V(e.then)&&V(e.catch)},setImmediate:Re,asap:Se,isIterable:_e,isSafeIterable:function(e){return null!=e&&F(e,U)&&_e(e)}},Pe=Ae.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var Te=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),je=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ke(e,t){return Ae.isArray(e)?e.map(function(e){return ke(e,t)}):function(e){for(var t=0,n=e.length;tt;){var o=e.charCodeAt(n-1);if(9!==o&&32!==o)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}(String(e).replace(t,""))}function Ce(e){var t=Object.create(null);return Ae.forEach(e.toJSON(),function(e,n){t[n]=function(e){return ke(e,je)}(e)}),t}var xe=Symbol("internals");function Ne(e){return e&&String(e).trim().toLowerCase()}function Ue(e){return!1===e||null==e?e:Ae.isArray(e)?e.map(Ue):function(e){return ke(e,Te)}(String(e))}function De(e,t,n,r,o){return Ae.isFunction(r)?r.call(this,t,n):(o&&(t=n),Ae.isString(t)?Ae.isString(r)?-1!==t.indexOf(r):Ae.isRegExp(r)?r.test(t):void 0:void 0)}var Le=function(){return l(function e(t){c(this,e),t&&this.set(t)},[{key:"set",value:function(e,t,n){var r=this;function o(e,t,n){var o=Ne(t);if(o){var i=Ae.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Ue(e))}}var i=function(e,t){return Ae.forEach(e,function(e,n){return o(e,n,t)})};if(Ae.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Ae.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i(function(e){var t,n,r,o={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||o[t]&&Pe[t]||("set-cookie"===t?o[t]?o[t].push(n):o[t]=[n]:o[t]=o[t]?o[t]+", "+n:n)}),o}(e),t);else if(Ae.isObject(e)&&Ae.isSafeIterable(e)){var a,u,s,c=Object.create(null),f=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=A(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(e);try{for(f.s();!(s=f.n()).done;){var l=s.value;if(!Ae.isArray(l))throw new TypeError("Object iterator must return a key-value pair");u=l[0],Ae.hasOwnProp(c,u)?(a=c[u],c[u]=Ae.isArray(a)?[].concat(R(a),[l[1]]):[a,l[1]]):c[u]=l[1]}}catch(e){f.e(e)}finally{f.f()}i(c,t)}else null!=e&&o(t,e,n);return this}},{key:"get",value:function(e,t){if(e=Ne(e)){var n=Ae.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(Ae.isFunction(t))return t.call(this,r,n);if(Ae.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Ne(e)){var n=Ae.findKey(this,e);return!(!n||void 0===this[n]||t&&!De(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function o(e){if(e=Ne(e)){var o=Ae.findKey(n,e);!o||t&&!De(0,n[o],o,t)||(delete n[o],r=!0)}}return Ae.isArray(e)?e.forEach(o):o(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var o=t[n];e&&!De(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return Ae.forEach(this,function(r,o){var i=Ae.findKey(n,o);if(i)return t[i]=Ue(r),void delete t[o];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n})}(o):String(o).trim();a!==o&&delete t[o],t[a]=Ue(r),n[a]=!0}),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r1?n-1:0),o=1;o0?Fe(e,t):Ae.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}}],[{key:"from",value:function(e,n,r,o,i,a){var u=new t(e.message,n||e.code,r,o,i);return Object.defineProperty(u,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),u.name=e.name,null!=e.status&&null==u.status&&(u.status=e.status),a&&Object.assign(u,a),u}}])}(j(Error));Be.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Be.ERR_BAD_OPTION="ERR_BAD_OPTION",Be.ECONNABORTED="ECONNABORTED",Be.ETIMEDOUT="ETIMEDOUT",Be.ECONNREFUSED="ECONNREFUSED",Be.ERR_NETWORK="ERR_NETWORK",Be.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Be.ERR_DEPRECATED="ERR_DEPRECATED",Be.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Be.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Be.ERR_CANCELED="ERR_CANCELED",Be.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Be.ERR_INVALID_URL="ERR_INVALID_URL",Be.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";function Ie(e){return Ae.isPlainObject(e)||Ae.isArray(e)}function qe(e){return Ae.endsWith(e,"[]")?e.slice(0,-2):e}function Me(e,t,n){return e?e.concat(t).map(function(e,t){return e=qe(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}var ze=Ae.toFlatObject(Ae,{},null,function(e){return/^is[A-Z]/.test(e)});function He(e,t,n){if(!Ae.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var r=(n=Ae.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Ae.isUndefined(t[e])})).metaTokens,o=n.visitor||p,i=n.dots,a=n.indexes,u=n.Blob||"undefined"!=typeof Blob&&Blob,s=void 0===n.maxDepth?100:n.maxDepth,c=u&&Ae.isSpecCompliantForm(t),f=[];if(!Ae.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Ae.isDate(e))return e.toISOString();if(Ae.isBoolean(e))return e.toString();if(!c&&Ae.isBlob(e))throw new Be("Blob is not supported. Use a Buffer instead.");if(Ae.isArrayBuffer(e)||Ae.isTypedArray(e)){if(c&&"function"==typeof u)return new u([e]);if("undefined"!=typeof Buffer)return Buffer.from(e);throw new Be("Blob is not supported. Use a Buffer instead.",Be.ERR_NOT_SUPPORT)}return e}function d(e){if(e>s)throw new Be("Object is too deeply nested ("+e+" levels). Max depth: "+s,Be.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,n,o){var u=e;if(Ae.isReactNative(t)&&Ae.isReactNativeBlob(e))return t.append(Me(o,n,i),l(e)),!1;if(e&&!o&&"object"===_(e))if(Ae.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=function(e,t){if(s===1/0)return JSON.stringify(e);var n=[];return JSON.stringify(e,function(e,r){if(!Ae.isObject(r))return r;for(;n.length&&n[n.length-1]!==this;)n.pop();return n.push(r),d(t+n.length-1),r})}(e,1);else if(Ae.isArray(e)&&function(e){return Ae.isArray(e)&&!e.some(Ie)}(e)||(Ae.isFileList(e)||Ae.endsWith(n,"[]"))&&(u=Ae.toArray(e)))return n=qe(n),u.forEach(function(e,r){!Ae.isUndefined(e)&&null!==e&&t.append(!0===a?Me([n],r,i):null===a?n:n+"[]",l(e))}),!1;return!!Ie(e)||(t.append(Me(o,n,i),l(e)),!1)}var h=Object.assign(ze,{defaultVisitor:p,convertValue:l,isVisitable:Ie});if(!Ae.isObject(e))throw new TypeError("data must be an object");return function e(n,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!Ae.isUndefined(n)){if(d(i),-1!==f.indexOf(n))throw new Error("Circular reference detected in "+r.join("."));f.push(n),Ae.forEach(n,function(n,a){!0===(!(Ae.isUndefined(n)||null===n)&&o.call(t,n,Ae.isString(a)?a.trim():a,r,h))&&e(n,r?r.concat(a):[a],i+1)}),f.pop()}}(e),t}function We(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function Je(e,t){this._pairs=[],e&&He(e,this,t)}var Ve=Je.prototype;function Ke(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Xe(e,t,n){if(!t)return e;e=e||"";var r,o=Ae.isFunction(n)?{serialize:n}:n,i=Ae.getSafeProp(o,"encode")||Ke,a=Ae.getSafeProp(o,"serialize");if(r=a?a(t,o):Ae.isURLSearchParams(t)?t.toString():new Je(t,o).toString(i)){var u=e.indexOf("#");-1!==u&&(e=e.slice(0,u)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}Ve.append=function(e,t){this._pairs.push([e,t])},Ve.toString=function(e){var t=this,n=e?function(n){return e.call(t,n,We)}:We;return this._pairs.map(function(e){return n(e[0])+"="+n(e[1])},"").join("&")};var Ge=function(){return l(function e(){c(this,e),this.handlers=[]},[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){Ae.forEach(this.handlers,function(t){null!==t&&e(t)})}}])}(),$e={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Qe={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Je,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Ze="undefined"!=typeof window&&"undefined"!=typeof document,Ye="object"===("undefined"==typeof navigator?"undefined":_(navigator))&&navigator||void 0,et=Ze&&(!Ye||["ReactNative","NativeScript","NS"].indexOf(Ye.product)<0),tt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,nt=Ze&&window.location.href||"http://localhost",rt=b(b({},Object.freeze({__proto__:null,hasBrowserEnv:Ze,hasStandardBrowserEnv:et,hasStandardBrowserWebWorkerEnv:tt,navigator:Ye,origin:nt})),Qe);function ot(e){if(e>100)throw new Be("FormData field is too deeply nested ("+e+" levels). Max depth: 100",Be.ERR_FORM_DATA_DEPTH_EXCEEDED)}function it(e){function t(e,n,r,o){ot(o);var i=e[o++];if("__proto__"===i)return!0;var a=Number.isFinite(+i),u=o>=e.length;return i=!i&&Ae.isArray(r)?r.length:i,u?(Ae.hasOwnProp(r,i)?r[i]=Ae.isArray(r[i])?r[i].concat(n):[r[i],n]:r[i]=n,!a):(Ae.hasOwnProp(r,i)&&Ae.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&Ae.isArray(r[i])&&(r[i]=function(e){var t,n,r={},o=Object.keys(e),i=o.length;for(t=0;t-1,i=Ae.isObject(e);if(i&&Ae.isHTMLForm(e)&&(e=new FormData(e)),Ae.isFormData(e))return o?JSON.stringify(it(e)):e;if(Ae.isArrayBuffer(e)||Ae.isBuffer(e)||Ae.isStream(e)||Ae.isFile(e)||Ae.isBlob(e)||Ae.isReadableStream(e))return e;if(Ae.isArrayBufferView(e))return e.buffer;if(Ae.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){var a=at(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return He(e,new rt.classes.URLSearchParams,b({visitor:function(e,t,n,r){return rt.isNode&&Ae.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,a).toString();if((n=Ae.isFileList(e))||r.indexOf("multipart/form-data")>-1){var u=at(this,"env"),s=u&&u.FormData;return He(n?{"files[]":e}:e,s&&new s,a)}}return i||o?(t.setContentType("application/json",!1),function(e,t,n){if(Ae.isString(e))try{return(t||JSON.parse)(e),Ae.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=at(this,"transitional")||ut.transitional,n=t&&t.forcedJSONParsing,r=at(this,"responseType"),o="json"===r;if(Ae.isResponse(e)||Ae.isReadableStream(e))return e;if(e&&Ae.isString(e)&&(n&&!r||o)){var i=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,at(this,"parseReviver"))}catch(e){if(i){if("SyntaxError"===e.name)throw Be.from(e,Be.ERR_BAD_RESPONSE,this,null,at(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:rt.classes.FormData,Blob:rt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};function st(e,t){var n=this||ut,r=t||n,o=Le.from(r.headers),i=r.data;return Ae.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function ct(e){return!(!e||!e.__CANCEL__)}Ae.forEach(["delete","get","head","post","put","patch","query"],function(e){ut.headers[e]={}});var ft=function(e){function t(e,n,r){var o;return c(this,t),(o=s(this,t,[null==e?"canceled":e,Be.ERR_CANCELED,n,r])).name="CanceledError",o.__CANCEL__=!0,o}return h(t,e),l(t)}(Be);function lt(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Be("Request failed with status code "+n.status,n.status>=400&&n.status<500?Be.ERR_BAD_REQUEST:Be.ERR_BAD_RESPONSE,n.config,n.request,n)):e(n)}var dt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=0,o=function(e,t){e=e||10;var n,r=new Array(e),o=new Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(u){var s=Date.now(),c=o[a];n||(n=s),r[i]=u,o[i]=s;for(var f=a,l=0;f!==i;)l+=r[f++],f%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),!(s-n1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(void 0,R(t))};return[function(){for(var e=Date.now(),t=e-o,u=arguments.length,s=new Array(u),c=0;c=i?a(s,e):(n=s,r||(r=setTimeout(function(){r=null,a(n)},i-t)))},function(){return n&&a(n)}]}(function(n){if(n&&"number"==typeof n.loaded){var i=n.loaded,a=n.lengthComputable?n.total:void 0,u=null!=a?Math.min(i,a):i,s=Math.max(0,u-r),c=o(s);r=Math.max(r,u);var f=d({loaded:u,total:a,progress:a?u/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a?(a-u)/c:void 0,event:n,lengthComputable:null!=a},t?"download":"upload",!0);e(f)}},n)},pt=function(e,t){var n=null!=e;return[function(r){return t[0]({lengthComputable:n,total:e,loaded:r})},t[1]]},ht=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102},xt=function(e,t,n){return t+2=2&&37===r.charCodeAt(e-2)&&51===r.charCodeAt(e-1)&&(68===r.charCodeAt(e)||100===r.charCodeAt(e))};f>=0&&(61===r.charCodeAt(f)?(c++,f--):l(f)&&(c++,f-=3)),1===c&&f>=0&&(61===r.charCodeAt(f)||l(f))&&c++;var d=3*Math.floor(o/4)-(c||0);return d>0?d:0}for(var p=0,h=0,v=r.length;h=55296&&y<=56319&&h+1=56320&&b<=57343?(p+=4,h++):p+=3}else p+=3}return p}var Ut="1.18.1",Dt=Ae.isFunction,Lt=function(e){return encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,function(e,t){return String.fromCharCode(parseInt(t,16))})},Ft=function(e){if(!Ae.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},Bt=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r-1,N=Ae.isNumber(C)&&C>-1,U=function(e){return Ae.hasOwnProp(t,e)?t[e]:void 0},D=i||fetch,_=_?(_+"").toLowerCase():"text",L=At([l,d&&d.toAbortSignal()],h),F=null,B=L&&L.unsubscribe&&function(){L.unsubscribe()},q=null,M=function(){return new Be("Request body larger than maxBodyLength limit",Be.ERR_BAD_REQUEST,t,F)},e.p=1,z=void 0,(H=U("auth"))&&(W=Ae.getSafeProp(H,"username")||"",J=Ae.getSafeProp(H,"password")||"",z={username:W,password:J}),It(o)&&(V=new URL(o,rt.origin),z||!V.username&&!V.password||(K=Ft(V.username),X=Ft(V.password),z={username:K,password:X}),(V.username||V.password)&&(V.username="",V.password="",o=V.href)),z&&(A.delete("authorization"),A.set("Authorization","Basic "+btoa(Lt((z.username||"")+":"+(z.password||""))))),!x||"string"!=typeof o||!o.startsWith("data:")){e.n=2;break}if(!(Nt(o)>k)){e.n=2;break}throw new Be("maxContentLength size of "+k+" exceeded",Be.ERR_BAD_RESPONSE,t,F);case 2:if(!N||"get"===a||"head"===a){e.n=4;break}return e.n=3,w(c);case 3:if("number"!=typeof(G=e.v)||!isFinite(G)){e.n=4;break}if(I=G,!(G>C)){e.n=4;break}throw M();case 4:if($=N&&(Ae.isReadableStream(c)||Ae.isStream(c)),Q=function(e,t,n){return kt(e,65536,function(e){if(N&&e>C)throw q=M();t&&t(e)},n)},!v||"get"===a||"head"===a||!S&&!$){e.n=8;break}if(null!=I){e.n=6;break}return e.n=5,O(A,c);case 5:Ee=e.v,e.n=7;break;case 6:Ee=I;case 7:(0!==(I=Ee)||$)&&(Z=new u(o,{method:"POST",body:c,duplex:"half"}),Ae.isFormData(c)&&(Y=Z.headers.get("content-type"))&&A.setContentType(Y),Z.body&&(ee=S&&pt(I,dt(ht(S)))||[],te=E(ee,2),ne=te[0],re=te[1],c=Q(Z.body,ne,re))),e.n=10;break;case 8:if(!$||f||!p||"get"===a||"head"===a){e.n=9;break}c=Q(c),e.n=10;break;case 9:if(!$||!f||v||"get"===a||"head"===a){e.n=10;break}throw new Be("Stream request bodies are not supported by the current fetch implementation",Be.ERR_NOT_SUPPORT,t,F);case 10:return Ae.isString(T)||(T=T?"include":"omit"),oe=f&&"credentials"in u.prototype,Ae.isFormData(c)&&(ie=A.getContentType())&&/^multipart\/form-data/i.test(ie)&&!/boundary=/i.test(ie)&&A.delete("content-type"),A.set("User-Agent","axios/"+Ut,!1),ae=b(b({},j),{},{signal:L,method:a.toUpperCase(),headers:Ce(A.normalize()),body:c,duplex:"half",credentials:oe?T:void 0}),F=f&&new u(o,ae),e.n=11,f?D(F,j):D(o,ae);case 11:if(ue=e.v,se=Le.from(ue.headers),!x){e.n=12;break}if(!(null!=(ce=Ae.toFiniteNumber(se.getContentLength()))&&ce>k)){e.n=12;break}throw new Be("maxContentLength size of "+k+" exceeded",Be.ERR_BAD_RESPONSE,t,F);case 12:return fe=y&&("stream"===_||"response"===_),y&&ue.body&&(R||x||fe&&B)&&(le={},["status","statusText","headers"].forEach(function(e){le[e]=ue[e]}),de=Ae.toFiniteNumber(se.getContentLength()),pe=R&&pt(de,dt(ht(R),!0))||[],he=E(pe,2),ve=he[0],ye=he[1],be=function(e){if(x&&e>k)throw new Be("maxContentLength size of "+k+" exceeded",Be.ERR_BAD_RESPONSE,t,F);ve&&ve(e)},ue=new s(kt(ue.body,65536,be,function(){ye&&ye(),B&&B()}),le)),_=_||"text",e.n=13,g[Ae.findKey(g,_)||"text"](ue,t);case 13:if(me=e.v,!x||y||fe){e.n=14;break}if(null!=me&&("number"==typeof me.byteLength?ge=me.byteLength:"number"==typeof me.size?ge=me.size:"string"==typeof me&&(ge="function"==typeof r?(new r).encode(me).byteLength:me.length)),!("number"==typeof ge&&ge>k)){e.n=14;break}throw new Be("maxContentLength size of "+k+" exceeded",Be.ERR_BAD_RESPONSE,t,F);case 14:return!fe&&B&&B(),e.n=15,new Promise(function(e,n){lt(e,n,{data:me,headers:Le.from(ue.headers),status:ue.status,statusText:ue.statusText,config:t,request:F})});case 15:return e.a(2,e.v);case 16:if(e.p=16,Re=e.v,B&&B(),!(L&&L.aborted&&L.reason instanceof Be)){e.n=17;break}throw(we=L.reason).config=t,F&&(we.request=F),Re!==we&&Object.defineProperty(we,"cause",{__proto__:null,value:Re,writable:!0,enumerable:!1,configurable:!0}),we;case 17:if(!q){e.n=18;break}throw F&&!q.request&&(q.request=F),q;case 18:if(!(Re instanceof Be)){e.n=19;break}throw F&&!Re.request&&(Re.request=F),Re;case 19:if(!Re||"TypeError"!==Re.name||!/Load failed|fetch/i.test(Re.message)){e.n=20;break}throw Oe=new Be("Network Error",Be.ERR_NETWORK,t,F,Re&&Re.response),Object.defineProperty(Oe,"cause",{__proto__:null,value:Re.cause||Re,writable:!0,enumerable:!1,configurable:!0}),Oe;case 20:throw Be.from(Re,Re&&Re.code,t,F,Re&&Re.response);case 21:return e.a(2)}},e,null,[[1,16]])}));return function(t){return e.apply(this,arguments)}}()},Mt=new Map,zt=function(e){for(var t,n,r=e&&e.env||{},o=r.fetch,i=[r.Request,r.Response,o],a=i.length,u=Mt;a--;)t=i[a],void 0===(n=u.get(t))&&u.set(t,n=a?new Map:qt(r)),u=n;return n};zt();var Ht={http:null,xhr:_t,fetch:{get:zt}};Ae.forEach(Ht,function(e,t){if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var Wt=function(e){return"- ".concat(e)},Jt=function(e){return Ae.isFunction(e)||null===e||!1===e};var Vt={getAdapter:function(e,t){for(var n,r,o=(e=Ae.isArray(e)?e:[e]).length,i={},a=0;a1?"since :\n"+s.map(Wt).join("\n"):" "+Wt(s[0]):"as no adapter specified";throw new Be("There is no suitable adapter to dispatch the request "+c,Be.ERR_NOT_SUPPORT)}return r},adapters:Ht};function Kt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ft(null,e)}function Xt(e){return Kt(e),e.headers=Le.from(e.headers),e.data=st.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Vt.getAdapter(e.adapter||ut.adapter,e)(e).then(function(t){Kt(e),e.response=t;try{t.data=st.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=Le.from(t.headers),t},function(t){if(!ct(t)&&(Kt(e),t&&t.response)){e.response=t.response;try{t.response.data=st.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=Le.from(t.response.headers)}return Promise.reject(t)})}var Gt={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Gt[e]=function(n){return _(n)===e||"a"+(t<1?"n ":" ")+e}});var $t={};Gt.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Ut+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,i){if(!1===e)throw new Be(r(o," has been removed"+(t?" in "+t:"")),Be.ERR_DEPRECATED);return t&&!$t[o]&&($t[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},Gt.spelling=function(e){return function(t,n){return console.warn("".concat(n," is likely a misspelling of ").concat(e)),!0}};var Qt={assertOptions:function(e,t,n){if("object"!==_(e)||null===e)throw new Be("options must be an object",Be.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(a){var u=e[i],s=void 0===u||a(u,i,e);if(!0!==s)throw new Be("option "+i+" must be "+s,Be.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Be("Unknown option "+i,Be.ERR_BAD_OPTION)}},validators:Gt},Zt=Qt.validators,Yt=function(){return l(function e(t){c(this,e),this.defaults=t||{},this.interceptors={request:new Ge,response:new Ge}},[{key:"request",value:(e=a(m().m(function e(t,n){var r,o,i,a,u,s;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,this._request(t,n);case 1:return e.a(2,e.v);case 2:if(e.p=2,(s=e.v)instanceof Error){r={},Error.captureStackTrace?Error.captureStackTrace(r):r=new Error,o=function(){if(!r.stack)return"";var e=r.stack.indexOf("\n");return-1===e?"":r.stack.slice(e+1)}();try{s.stack?o&&(i=o.indexOf("\n"),a=-1===i?-1:o.indexOf("\n",i+1),u=-1===a?"":o.slice(a+1),String(s.stack).endsWith(u)||(s.stack+="\n"+o)):s.stack=o}catch(e){}}throw s;case 3:return e.a(2)}},e,this,[[0,2]])})),function(t,n){return e.apply(this,arguments)})},{key:"_request",value:function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};var n=t=Et(this.defaults,t),r=n.transitional,o=n.paramsSerializer,i=n.headers;void 0!==r&&Qt.assertOptions(r,{silentJSONParsing:Zt.transitional(Zt.boolean),forcedJSONParsing:Zt.transitional(Zt.boolean),clarifyTimeoutError:Zt.transitional(Zt.boolean),legacyInterceptorReqResOrdering:Zt.transitional(Zt.boolean),advertiseZstdAcceptEncoding:Zt.transitional(Zt.boolean),validateStatusUndefinedResolves:Zt.transitional(Zt.boolean)},!1),null!=o&&(Ae.isFunction(o)?t.paramsSerializer={serialize:o}:Qt.assertOptions(o,{encode:Zt.function,serialize:Zt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Qt.assertOptions(t,{baseUrl:Zt.spelling("baseURL"),withXsrfToken:Zt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();var a=i&&Ae.merge(i.common,i[t.method]);i&&Ae.forEach(["delete","get","head","post","put","patch","query","common"],function(e){delete i[e]}),t.headers=Le.concat(a,i);var u=[],s=!0;this.interceptors.request.forEach(function(e){if("function"!=typeof e.runWhen||!1!==e.runWhen(t)){s=s&&e.synchronous;var n=t.transitional||$e;n&&n.legacyInterceptorReqResOrdering?u.unshift(e.fulfilled,e.rejected):u.push(e.fulfilled,e.rejected)}});var c,f=[];this.interceptors.response.forEach(function(e){f.push(e.fulfilled,e.rejected)});var l,d=0;if(!s){var p=[Xt.bind(this),void 0];for(p.unshift.apply(p,u),p.push.apply(p,f),l=p.length,c=Promise.resolve(t);d0;)r._listeners[t](e);r._listeners=null}}),this.promise.then=function(e){var t,n=new Promise(function(e){r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t(function(e,t,o){r.reason||(r.reason=new ft(e,t,o),n(r.reason))})}return l(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}},{key:"toAbortSignal",value:function(){var e=this,t=new AbortController,n=function(e){t.abort(e)};return this.subscribe(n),t.signal.unsubscribe=function(){return e.unsubscribe(n)},t.signal}}],[{key:"source",value:function(){var t;return{token:new e(function(e){t=e}),cancel:t}}}])}();var tn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(tn).forEach(function(e){var t=E(e,2),n=t[0],r=t[1];tn[r]=n});var nn=function e(t){var n=new Yt(t),r=k(Yt.prototype.request,n);return Ae.extend(r,Yt.prototype,n,{allOwnKeys:!0}),Ae.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Et(t,n))},r}(ut);return nn.Axios=Yt,nn.CanceledError=ft,nn.CancelToken=en,nn.isCancel=ct,nn.VERSION=Ut,nn.toFormData=He,nn.AxiosError=Be,nn.Cancel=nn.CanceledError,nn.all=function(e){return Promise.all(e)},nn.spread=function(e){return function(t){return e.apply(null,t)}},nn.isAxiosError=function(e){return Ae.isObject(e)&&!0===e.isAxiosError},nn.mergeConfig=Et,nn.AxiosHeaders=Le,nn.formToJSON=function(e){return it(Ae.isHTMLForm(e)?new FormData(e):e)},nn.getAdapter=Vt.getAdapter,nn.HttpStatusCode=tn,nn.default=nn,nn}); -//# sourceMappingURL=axios.min.js.map diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js.map b/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js.map deleted file mode 100644 index fc19a78..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/dist/axios.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"axios.min.js","sources":["../lib/helpers/bind.js","../lib/utils.js","../lib/helpers/parseHeaders.js","../lib/helpers/sanitizeHeaderValue.js","../lib/core/AxiosHeaders.js","../lib/core/AxiosError.js","../lib/helpers/toFormData.js","../lib/helpers/AxiosURLSearchParams.js","../lib/helpers/buildURL.js","../lib/core/InterceptorManager.js","../lib/defaults/transitional.js","../lib/platform/browser/index.js","../lib/platform/browser/classes/URLSearchParams.js","../lib/platform/browser/classes/FormData.js","../lib/platform/browser/classes/Blob.js","../lib/platform/common/utils.js","../lib/platform/index.js","../lib/helpers/formDataToJSON.js","../lib/defaults/index.js","../lib/helpers/toURLEncodedForm.js","../lib/core/transformData.js","../lib/cancel/isCancel.js","../lib/cancel/CanceledError.js","../lib/core/settle.js","../lib/helpers/progressEventReducer.js","../lib/helpers/speedometer.js","../lib/helpers/throttle.js","../lib/helpers/isURLSameOrigin.js","../lib/helpers/cookies.js","../lib/core/buildFullPath.js","../lib/helpers/isAbsoluteURL.js","../lib/helpers/combineURLs.js","../lib/core/mergeConfig.js","../lib/helpers/resolveConfig.js","../lib/adapters/xhr.js","../lib/helpers/parseProtocol.js","../lib/helpers/composeSignals.js","../lib/helpers/trackStream.js","../lib/helpers/estimateDataURLDecodedBytes.js","../lib/env/data.js","../lib/adapters/fetch.js","../lib/adapters/adapters.js","../lib/helpers/null.js","../lib/core/dispatchRequest.js","../lib/helpers/validator.js","../lib/core/Axios.js","../lib/cancel/CancelToken.js","../lib/helpers/HttpStatusCode.js","../lib/axios.js","../lib/helpers/spread.js","../lib/helpers/isAxiosError.js"],"sourcesContent":["'use strict';\n\n/**\n * Create a bound version of a function with a specified `this` context\n *\n * @param {Function} fn - The function to bind\n * @param {*} thisArg - The value to be passed as the `this` parameter\n * @returns {Function} A new function that will call the original function with the specified `this` context\n */\nexport default function bind(fn, thisArg) {\n return function wrap() {\n return fn.apply(thisArg, arguments);\n };\n}\n","'use strict';\n\nimport bind from './helpers/bind.js';\n\n// utils is a library of generic helper functions non-specific to axios\n\nconst { toString } = Object.prototype;\nconst { getPrototypeOf } = Object;\nconst { iterator, toStringTag } = Symbol;\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (\n ({ hasOwnProperty }) =>\n (obj, prop) =>\n hasOwnProperty.call(obj, prop)\n)(Object.prototype);\n\n/**\n * Walk the prototype chain (excluding the shared Object.prototype) looking for\n * an own `prop`. This distinguishes genuine own/inherited members — including\n * class accessors and template prototypes — from members injected via\n * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which\n * live on Object.prototype itself and are therefore never matched.\n *\n * @param {*} thing The value whose chain to inspect\n * @param {string|symbol} prop The property key to look for\n *\n * @returns {boolean} True when `prop` is owned below Object.prototype\n */\nconst hasOwnInPrototypeChain = (thing, prop) => {\n let obj = thing;\n const seen = [];\n\n while (obj != null && obj !== Object.prototype) {\n if (seen.indexOf(obj) !== -1) {\n return false;\n }\n seen.push(obj);\n\n if (hasOwnProperty(obj, prop)) {\n return true;\n }\n obj = getPrototypeOf(obj);\n }\n return false;\n};\n\n/**\n * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own\n * properties and members inherited from a non-Object.prototype source (a class\n * instance or template object) are honored; a value reachable only through a\n * polluted Object.prototype is ignored and `undefined` is returned.\n *\n * @param {*} obj The source object\n * @param {string|symbol} prop The property key to read\n *\n * @returns {*} The resolved value, or undefined when unsafe/absent\n */\nconst getSafeProp = (obj, prop) =>\n obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined;\n\nconst kindOf = ((cache) => (thing) => {\n const str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n})(Object.create(null));\n\nconst kindOfTest = (type) => {\n type = type.toLowerCase();\n return (thing) => kindOf(thing) === type;\n};\n\nconst typeOfTest = (type) => (thing) => typeof thing === type;\n\n/**\n * Determine if a value is a non-null object\n *\n * @param {Object} val The value to test\n *\n * @returns {boolean} True if value is an Array, otherwise false\n */\nconst { isArray } = Array;\n\n/**\n * Determine if a value is undefined\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nconst isUndefined = typeOfTest('undefined');\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return (\n val !== null &&\n !isUndefined(val) &&\n val.constructor !== null &&\n !isUndefined(val.constructor) &&\n isFunction(val.constructor.isBuffer) &&\n val.constructor.isBuffer(val)\n );\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nconst isArrayBuffer = kindOfTest('ArrayBuffer');\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n let result;\n if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {\n result = ArrayBuffer.isView(val);\n } else {\n result = val && val.buffer && isArrayBuffer(val.buffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a String, otherwise false\n */\nconst isString = typeOfTest('string');\n\n/**\n * Determine if a value is a Function\n *\n * @param {*} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nconst isFunction = typeOfTest('function');\n\n/**\n * Determine if a value is a Number\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Number, otherwise false\n */\nconst isNumber = typeOfTest('number');\n\n/**\n * Determine if a value is an Object\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an Object, otherwise false\n */\nconst isObject = (thing) => thing !== null && typeof thing === 'object';\n\n/**\n * Determine if a value is a Boolean\n *\n * @param {*} thing The value to test\n * @returns {boolean} True if value is a Boolean, otherwise false\n */\nconst isBoolean = (thing) => thing === true || thing === false;\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a plain Object, otherwise false\n */\nconst isPlainObject = (val) => {\n if (!isObject(val)) {\n return false;\n }\n\n const prototype = getPrototypeOf(val);\n return (\n (prototype === null ||\n prototype === Object.prototype ||\n getPrototypeOf(prototype) === null) &&\n // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or\n // Symbol.iterator as evidence the value is a tagged/iterable type rather\n // than a plain object, while ignoring keys injected onto Object.prototype.\n !hasOwnInPrototypeChain(val, toStringTag) &&\n !hasOwnInPrototypeChain(val, iterator)\n );\n};\n\n/**\n * Determine if a value is an empty object (safely handles Buffers)\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an empty object, otherwise false\n */\nconst isEmptyObject = (val) => {\n // Early return for non-objects or Buffers to prevent RangeError\n if (!isObject(val) || isBuffer(val)) {\n return false;\n }\n\n try {\n return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;\n } catch (e) {\n // Fallback for any other objects that might cause RangeError with Object.keys()\n return false;\n }\n};\n\n/**\n * Determine if a value is a Date\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Date, otherwise false\n */\nconst isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a React Native Blob\n * React Native \"blob\": an object with a `uri` attribute. Optionally, it can\n * also have a `name` and `type` attribute to specify filename and content type\n *\n * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71\n *\n * @param {*} value The value to test\n *\n * @returns {boolean} True if value is a React Native Blob, otherwise false\n */\nconst isReactNativeBlob = (value) => {\n return !!(value && typeof value.uri !== 'undefined');\n};\n\n/**\n * Determine if environment is React Native\n * ReactNative `FormData` has a non-standard `getParts()` method\n *\n * @param {*} formData The formData to test\n *\n * @returns {boolean} True if environment is React Native, otherwise false\n */\nconst isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';\n\n/**\n * Determine if a value is a Blob\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nconst isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a FileList, otherwise false\n */\nconst isFileList = kindOfTest('FileList');\n\n/**\n * Determine if a value is a Stream\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nconst isStream = (val) => isObject(val) && isFunction(val.pipe);\n\n/**\n * Determine if a value is a FormData\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction getGlobal() {\n if (typeof globalThis !== 'undefined') return globalThis;\n if (typeof self !== 'undefined') return self;\n if (typeof window !== 'undefined') return window;\n if (typeof global !== 'undefined') return global;\n return {};\n}\n\nconst G = getGlobal();\nconst FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;\n\nconst isFormData = (thing) => {\n if (!thing) return false;\n if (FormDataCtor && thing instanceof FormDataCtor) return true;\n // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData.\n const proto = getPrototypeOf(thing);\n if (!proto || proto === Object.prototype) return false;\n if (!isFunction(thing.append)) return false;\n const kind = kindOf(thing);\n return (\n kind === 'formdata' ||\n // detect form-data instance\n (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')\n );\n};\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nconst isURLSearchParams = kindOfTest('URLSearchParams');\n\nconst [isReadableStream, isRequest, isResponse, isHeaders] = [\n 'ReadableStream',\n 'Request',\n 'Response',\n 'Headers',\n].map(kindOfTest);\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n *\n * @returns {String} The String freed of excess whitespace\n */\nconst trim = (str) => {\n return str.trim ? str.trim() : str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n};\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n *\n * @param {Object} [options]\n * @param {Boolean} [options.allOwnKeys = false]\n * @returns {any}\n */\nfunction forEach(obj, fn, { allOwnKeys = false } = {}) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n let i;\n let l;\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Buffer check\n if (isBuffer(obj)) {\n return;\n }\n\n // Iterate over object keys\n const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);\n const len = keys.length;\n let key;\n\n for (i = 0; i < len; i++) {\n key = keys[i];\n fn.call(null, obj[key], key, obj);\n }\n }\n}\n\n/**\n * Finds a key in an object, case-insensitive, returning the actual key name.\n * Returns null if the object is a Buffer or if no match is found.\n *\n * @param {Object} obj - The object to search.\n * @param {string} key - The key to find (case-insensitive).\n * @returns {?string} The actual key name if found, otherwise null.\n */\nfunction findKey(obj, key) {\n if (isBuffer(obj)) {\n return null;\n }\n\n key = key.toLowerCase();\n const keys = Object.keys(obj);\n let i = keys.length;\n let _key;\n while (i-- > 0) {\n _key = keys[i];\n if (key === _key.toLowerCase()) {\n return _key;\n }\n }\n return null;\n}\n\nconst _global = (() => {\n /*eslint no-undef:0*/\n if (typeof globalThis !== 'undefined') return globalThis;\n return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;\n})();\n\nconst isContextDefined = (context) => !isUndefined(context) && context !== _global;\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * const result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n *\n * @returns {Object} Result of all merge properties\n */\nfunction merge(...objs) {\n const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};\n const result = {};\n const assignValue = (val, key) => {\n // Skip dangerous property names to prevent prototype pollution\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return;\n }\n\n // findKey lowercases the key, so caseless lookup only applies to strings —\n // symbol keys are identity-matched.\n const targetKey = (caseless && typeof key === 'string' && findKey(result, key)) || key;\n // Read via own-prop only — a bare `result[targetKey]` walks the prototype\n // chain, so a polluted Object.prototype value could surface here and get\n // copied into the merged result.\n const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined;\n if (isPlainObject(existing) && isPlainObject(val)) {\n result[targetKey] = merge(existing, val);\n } else if (isPlainObject(val)) {\n result[targetKey] = merge({}, val);\n } else if (isArray(val)) {\n result[targetKey] = val.slice();\n } else if (!skipUndefined || !isUndefined(val)) {\n result[targetKey] = val;\n }\n };\n\n for (let i = 0, l = objs.length; i < l; i++) {\n const source = objs[i];\n if (!source || isBuffer(source)) {\n continue;\n }\n\n forEach(source, assignValue);\n\n if (typeof source !== 'object' || isArray(source)) {\n continue;\n }\n\n const symbols = Object.getOwnPropertySymbols(source);\n for (let j = 0; j < symbols.length; j++) {\n const symbol = symbols[j];\n if (propertyIsEnumerable.call(source, symbol)) {\n assignValue(source[symbol], symbol);\n }\n }\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n *\n * @param {Object} [options]\n * @param {Boolean} [options.allOwnKeys]\n * @returns {Object} The resulting value of object a\n */\nconst extend = (a, b, thisArg, { allOwnKeys } = {}) => {\n forEach(\n b,\n (val, key) => {\n if (thisArg && isFunction(val)) {\n Object.defineProperty(a, key, {\n // Null-proto descriptor so a polluted Object.prototype.get cannot\n // hijack defineProperty's accessor-vs-data resolution.\n __proto__: null,\n value: bind(val, thisArg),\n writable: true,\n enumerable: true,\n configurable: true,\n });\n } else {\n Object.defineProperty(a, key, {\n __proto__: null,\n value: val,\n writable: true,\n enumerable: true,\n configurable: true,\n });\n }\n },\n { allOwnKeys }\n );\n return a;\n};\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n *\n * @returns {string} content value without BOM\n */\nconst stripBOM = (content) => {\n if (content.charCodeAt(0) === 0xfeff) {\n content = content.slice(1);\n }\n return content;\n};\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n *\n * @returns {void}\n */\nconst inherits = (constructor, superConstructor, props, descriptors) => {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n Object.defineProperty(constructor.prototype, 'constructor', {\n __proto__: null,\n value: constructor,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n Object.defineProperty(constructor, 'super', {\n __proto__: null,\n value: superConstructor.prototype,\n });\n props && Object.assign(constructor.prototype, props);\n};\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function|Boolean} [filter]\n * @param {Function} [propFilter]\n *\n * @returns {Object}\n */\nconst toFlatObject = (sourceObj, destObj, filter, propFilter) => {\n let props;\n let i;\n let prop;\n const merged = {};\n\n destObj = destObj || {};\n // eslint-disable-next-line no-eq-null,eqeqeq\n if (sourceObj == null) return destObj;\n\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = filter !== false && getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n\n return destObj;\n};\n\n/**\n * Determines whether a string ends with the characters of a specified string\n *\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n *\n * @returns {boolean}\n */\nconst endsWith = (str, searchString, position) => {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n const lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n};\n\n/**\n * Returns new array from array like object or null if failed\n *\n * @param {*} [thing]\n *\n * @returns {?Array}\n */\nconst toArray = (thing) => {\n if (!thing) return null;\n if (isArray(thing)) return thing;\n let i = thing.length;\n if (!isNumber(i)) return null;\n const arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n};\n\n/**\n * Checking if the Uint8Array exists and if it does, it returns a function that checks if the\n * thing passed in is an instance of Uint8Array\n *\n * @param {TypedArray}\n *\n * @returns {Array}\n */\n// eslint-disable-next-line func-names\nconst isTypedArray = ((TypedArray) => {\n // eslint-disable-next-line func-names\n return (thing) => {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));\n\n/**\n * For each entry in the object, call the function with the key and value.\n *\n * @param {Object} obj - The object to iterate over.\n * @param {Function} fn - The function to call for each entry.\n *\n * @returns {void}\n */\nconst forEachEntry = (obj, fn) => {\n const generator = obj && obj[iterator];\n\n const _iterator = generator.call(obj);\n\n let result;\n\n while ((result = _iterator.next()) && !result.done) {\n const pair = result.value;\n fn.call(obj, pair[0], pair[1]);\n }\n};\n\n/**\n * It takes a regular expression and a string, and returns an array of all the matches\n *\n * @param {string} regExp - The regular expression to match against.\n * @param {string} str - The string to search.\n *\n * @returns {Array}\n */\nconst matchAll = (regExp, str) => {\n let matches;\n const arr = [];\n\n while ((matches = regExp.exec(str)) !== null) {\n arr.push(matches);\n }\n\n return arr;\n};\n\n/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */\nconst isHTMLForm = kindOfTest('HTMLFormElement');\n\nconst toCamelCase = (str) => {\n return str.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g, function replacer(m, p1, p2) {\n return p1.toUpperCase() + p2;\n });\n};\n\nconst { propertyIsEnumerable } = Object.prototype;\n\n/**\n * Determine if a value is a RegExp object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a RegExp object, otherwise false\n */\nconst isRegExp = kindOfTest('RegExp');\n\nconst reduceDescriptors = (obj, reducer) => {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n const reducedDescriptors = {};\n\n forEach(descriptors, (descriptor, name) => {\n let ret;\n if ((ret = reducer(descriptor, name, obj)) !== false) {\n reducedDescriptors[name] = ret || descriptor;\n }\n });\n\n Object.defineProperties(obj, reducedDescriptors);\n};\n\n/**\n * Makes all methods read-only\n * @param {Object} obj\n */\n\nconst freezeMethods = (obj) => {\n reduceDescriptors(obj, (descriptor, name) => {\n // skip restricted props in strict mode\n if (isFunction(obj) && ['arguments', 'caller', 'callee'].includes(name)) {\n return false;\n }\n\n const value = obj[name];\n\n if (!isFunction(value)) return;\n\n descriptor.enumerable = false;\n\n if ('writable' in descriptor) {\n descriptor.writable = false;\n return;\n }\n\n if (!descriptor.set) {\n descriptor.set = () => {\n throw Error(\"Can not rewrite read-only method '\" + name + \"'\");\n };\n }\n });\n};\n\n/**\n * Converts an array or a delimited string into an object set with values as keys and true as values.\n * Useful for fast membership checks.\n *\n * @param {Array|string} arrayOrString - The array or string to convert.\n * @param {string} delimiter - The delimiter to use if input is a string.\n * @returns {Object} An object with keys from the array or string, values set to true.\n */\nconst toObjectSet = (arrayOrString, delimiter) => {\n const obj = {};\n\n const define = (arr) => {\n arr.forEach((value) => {\n obj[value] = true;\n });\n };\n\n isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));\n\n return obj;\n};\n\nconst noop = () => {};\n\nconst toFiniteNumber = (value, defaultValue) => {\n return value != null && Number.isFinite((value = +value)) ? value : defaultValue;\n};\n\n/**\n * If the thing is a FormData object, return true, otherwise return false.\n *\n * @param {unknown} thing - The thing to check.\n *\n * @returns {boolean}\n */\nfunction isSpecCompliantForm(thing) {\n return !!(\n thing &&\n isFunction(thing.append) &&\n thing[toStringTag] === 'FormData' &&\n thing[iterator]\n );\n}\n\n/**\n * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.\n *\n * @param {Object} obj - The object to convert.\n * @returns {Object} The JSON-compatible object.\n */\nconst toJSONObject = (obj) => {\n const visited = new WeakSet();\n\n const visit = (source) => {\n if (isObject(source)) {\n if (visited.has(source)) {\n return;\n }\n\n //Buffer check\n if (isBuffer(source)) {\n return source;\n }\n\n if (!('toJSON' in source)) {\n // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230).\n visited.add(source);\n const target = isArray(source) ? [] : {};\n\n forEach(source, (value, key) => {\n const reducedValue = visit(value);\n !isUndefined(reducedValue) && (target[key] = reducedValue);\n });\n\n visited.delete(source);\n\n return target;\n }\n }\n\n return source;\n };\n\n return visit(obj);\n};\n\n/**\n * Determines if a value is an async function.\n *\n * @param {*} thing - The value to test.\n * @returns {boolean} True if value is an async function, otherwise false.\n */\nconst isAsyncFn = kindOfTest('AsyncFunction');\n\n/**\n * Determines if a value is thenable (has then and catch methods).\n *\n * @param {*} thing - The value to test.\n * @returns {boolean} True if value is thenable, otherwise false.\n */\nconst isThenable = (thing) =>\n thing &&\n (isObject(thing) || isFunction(thing)) &&\n isFunction(thing.then) &&\n isFunction(thing.catch);\n\n// original code\n// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34\n\n/**\n * Provides a cross-platform setImmediate implementation.\n * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.\n *\n * @param {boolean} setImmediateSupported - Whether setImmediate is supported.\n * @param {boolean} postMessageSupported - Whether postMessage is supported.\n * @returns {Function} A function to schedule a callback asynchronously.\n */\nconst _setImmediate = ((setImmediateSupported, postMessageSupported) => {\n if (setImmediateSupported) {\n return setImmediate;\n }\n\n return postMessageSupported\n ? ((token, callbacks) => {\n _global.addEventListener(\n 'message',\n ({ source, data }) => {\n if (source === _global && data === token) {\n callbacks.length && callbacks.shift()();\n }\n },\n false\n );\n\n return (cb) => {\n callbacks.push(cb);\n _global.postMessage(token, '*');\n };\n })(`axios@${Math.random()}`, [])\n : (cb) => setTimeout(cb);\n})(typeof setImmediate === 'function', isFunction(_global.postMessage));\n\n/**\n * Schedules a microtask or asynchronous callback as soon as possible.\n * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.\n *\n * @type {Function}\n */\nconst asap =\n typeof queueMicrotask !== 'undefined'\n ? queueMicrotask.bind(_global)\n : (typeof process !== 'undefined' && process.nextTick) || _setImmediate;\n\n// *********************\n\nconst isIterable = (thing) => thing != null && isFunction(thing[iterator]);\n\n/**\n * Determine if a value is iterable via an iterator that is NOT sourced solely\n * from a polluted Object.prototype. Use this instead of `isIterable` whenever\n * the iterable comes from untrusted input (e.g. user-supplied header sources),\n * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object\n * into an attacker-controlled entries iterator.\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value has a non-polluted iterator\n */\nconst isSafeIterable = (thing) =>\n thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing);\n\nexport default {\n isArray,\n isArrayBuffer,\n isBuffer,\n isFormData,\n isArrayBufferView,\n isString,\n isNumber,\n isBoolean,\n isObject,\n isPlainObject,\n isEmptyObject,\n isReadableStream,\n isRequest,\n isResponse,\n isHeaders,\n isUndefined,\n isDate,\n isFile,\n isReactNativeBlob,\n isReactNative,\n isBlob,\n isRegExp,\n isFunction,\n isStream,\n isURLSearchParams,\n isTypedArray,\n isFileList,\n forEach,\n merge,\n extend,\n trim,\n stripBOM,\n inherits,\n toFlatObject,\n kindOf,\n kindOfTest,\n endsWith,\n toArray,\n forEachEntry,\n matchAll,\n isHTMLForm,\n hasOwnProperty,\n hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection\n hasOwnInPrototypeChain,\n getSafeProp,\n reduceDescriptors,\n freezeMethods,\n toObjectSet,\n toCamelCase,\n noop,\n toFiniteNumber,\n findKey,\n global: _global,\n isContextDefined,\n isSpecCompliantForm,\n toJSONObject,\n isAsyncFn,\n isThenable,\n setImmediate: _setImmediate,\n asap,\n isIterable,\n isSafeIterable,\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\n// RawAxiosHeaders whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nconst ignoreDuplicateOf = utils.toObjectSet([\n 'age',\n 'authorization',\n 'content-length',\n 'content-type',\n 'etag',\n 'expires',\n 'from',\n 'host',\n 'if-modified-since',\n 'if-unmodified-since',\n 'last-modified',\n 'location',\n 'max-forwards',\n 'proxy-authorization',\n 'referer',\n 'retry-after',\n 'user-agent',\n]);\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} rawHeaders Headers needing to be parsed\n *\n * @returns {Object} Headers parsed into an object\n */\nexport default (rawHeaders) => {\n const parsed = {};\n let key;\n let val;\n let i;\n\n rawHeaders &&\n rawHeaders.split('\\n').forEach(function parser(line) {\n i = line.indexOf(':');\n key = line.substring(0, i).trim().toLowerCase();\n val = line.substring(i + 1).trim();\n\n if (!key || (parsed[key] && ignoreDuplicateOf[key])) {\n return;\n }\n\n if (key === 'set-cookie') {\n if (parsed[key]) {\n parsed[key].push(val);\n } else {\n parsed[key] = [val];\n }\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\nfunction trimSPorHTAB(str) {\n let start = 0;\n let end = str.length;\n\n while (start < end) {\n const code = str.charCodeAt(start);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n start += 1;\n }\n\n while (end > start) {\n const code = str.charCodeAt(end - 1);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n end -= 1;\n }\n\n return start === 0 && end === str.length ? str : str.slice(start, end);\n}\n\n// The control-code ranges are intentional: header sanitization strips C0/DEL bytes.\n// eslint-disable-next-line no-control-regex\nconst INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\\\u0000-\\\\u0008\\\\u000a-\\\\u001f\\\\u007f]+', 'g');\n// eslint-disable-next-line no-control-regex\nconst INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\\\u0009\\\\u0020-\\\\u007e\\\\u0080-\\\\u00ff]+', 'g');\n\nfunction sanitizeValue(value, invalidChars) {\n if (utils.isArray(value)) {\n return value.map((item) => sanitizeValue(item, invalidChars));\n }\n\n return trimSPorHTAB(String(value).replace(invalidChars, ''));\n}\n\nexport const sanitizeHeaderValue = (value) =>\n sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS);\n\nexport const sanitizeByteStringHeaderValue = (value) =>\n sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS);\n\nexport function toByteStringHeaderObject(headers) {\n const byteStringHeaders = Object.create(null);\n\n utils.forEach(headers.toJSON(), (value, header) => {\n byteStringHeaders[header] = sanitizeByteStringHeaderValue(value);\n });\n\n return byteStringHeaders;\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport parseHeaders from '../helpers/parseHeaders.js';\nimport { sanitizeHeaderValue } from '../helpers/sanitizeHeaderValue.js';\n\nconst $internals = Symbol('internals');\n\nfunction normalizeHeader(header) {\n return header && String(header).trim().toLowerCase();\n}\n\nfunction normalizeValue(value) {\n if (value === false || value == null) {\n return value;\n }\n\n return utils.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value));\n}\n\nfunction parseTokens(str) {\n const tokens = Object.create(null);\n const tokensRE = /([^\\s,;=]+)\\s*(?:=\\s*([^,;]+))?/g;\n let match;\n\n while ((match = tokensRE.exec(str))) {\n tokens[match[1]] = match[2];\n }\n\n return tokens;\n}\n\nconst isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());\n\nfunction matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {\n if (utils.isFunction(filter)) {\n return filter.call(this, value, header);\n }\n\n if (isHeaderNameFilter) {\n value = header;\n }\n\n if (!utils.isString(value)) return;\n\n if (utils.isString(filter)) {\n return value.indexOf(filter) !== -1;\n }\n\n if (utils.isRegExp(filter)) {\n return filter.test(value);\n }\n}\n\nfunction formatHeader(header) {\n return header\n .trim()\n .toLowerCase()\n .replace(/([a-z\\d])(\\w*)/g, (w, char, str) => {\n return char.toUpperCase() + str;\n });\n}\n\nfunction buildAccessors(obj, header) {\n const accessorName = utils.toCamelCase(' ' + header);\n\n ['get', 'set', 'has'].forEach((methodName) => {\n Object.defineProperty(obj, methodName + accessorName, {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: function (arg1, arg2, arg3) {\n return this[methodName].call(this, header, arg1, arg2, arg3);\n },\n configurable: true,\n });\n });\n}\n\nclass AxiosHeaders {\n constructor(headers) {\n headers && this.set(headers);\n }\n\n set(header, valueOrRewrite, rewrite) {\n const self = this;\n\n function setHeader(_value, _header, _rewrite) {\n const lHeader = normalizeHeader(_header);\n\n if (!lHeader) {\n return;\n }\n\n const key = utils.findKey(self, lHeader);\n\n if (\n !key ||\n self[key] === undefined ||\n _rewrite === true ||\n (_rewrite === undefined && self[key] !== false)\n ) {\n self[key || _header] = normalizeValue(_value);\n }\n }\n\n const setHeaders = (headers, _rewrite) =>\n utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));\n\n if (utils.isPlainObject(header) || header instanceof this.constructor) {\n setHeaders(header, valueOrRewrite);\n } else if (utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {\n setHeaders(parseHeaders(header), valueOrRewrite);\n } else if (utils.isObject(header) && utils.isSafeIterable(header)) {\n let obj = Object.create(null),\n dest,\n key;\n for (const entry of header) {\n if (!utils.isArray(entry)) {\n throw new TypeError('Object iterator must return a key-value pair');\n }\n\n key = entry[0];\n\n if (utils.hasOwnProp(obj, key)) {\n dest = obj[key];\n obj[key] = utils.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]];\n } else {\n obj[key] = entry[1];\n }\n }\n\n setHeaders(obj, valueOrRewrite);\n } else {\n header != null && setHeader(valueOrRewrite, header, rewrite);\n }\n\n return this;\n }\n\n get(header, parser) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n if (key) {\n const value = this[key];\n\n if (!parser) {\n return value;\n }\n\n if (parser === true) {\n return parseTokens(value);\n }\n\n if (utils.isFunction(parser)) {\n return parser.call(this, value, key);\n }\n\n if (utils.isRegExp(parser)) {\n return parser.exec(value);\n }\n\n throw new TypeError('parser must be boolean|regexp|function');\n }\n }\n }\n\n has(header, matcher) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n return !!(\n key &&\n this[key] !== undefined &&\n (!matcher || matchHeaderValue(this, this[key], key, matcher))\n );\n }\n\n return false;\n }\n\n delete(header, matcher) {\n const self = this;\n let deleted = false;\n\n function deleteHeader(_header) {\n _header = normalizeHeader(_header);\n\n if (_header) {\n const key = utils.findKey(self, _header);\n\n if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {\n delete self[key];\n\n deleted = true;\n }\n }\n }\n\n if (utils.isArray(header)) {\n header.forEach(deleteHeader);\n } else {\n deleteHeader(header);\n }\n\n return deleted;\n }\n\n clear(matcher) {\n const keys = Object.keys(this);\n let i = keys.length;\n let deleted = false;\n\n while (i--) {\n const key = keys[i];\n if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {\n delete this[key];\n deleted = true;\n }\n }\n\n return deleted;\n }\n\n normalize(format) {\n const self = this;\n const headers = {};\n\n utils.forEach(this, (value, header) => {\n const key = utils.findKey(headers, header);\n\n if (key) {\n self[key] = normalizeValue(value);\n delete self[header];\n return;\n }\n\n const normalized = format ? formatHeader(header) : String(header).trim();\n\n if (normalized !== header) {\n delete self[header];\n }\n\n self[normalized] = normalizeValue(value);\n\n headers[normalized] = true;\n });\n\n return this;\n }\n\n concat(...targets) {\n return this.constructor.concat(this, ...targets);\n }\n\n toJSON(asStrings) {\n const obj = Object.create(null);\n\n utils.forEach(this, (value, header) => {\n value != null &&\n value !== false &&\n (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);\n });\n\n return obj;\n }\n\n [Symbol.iterator]() {\n return Object.entries(this.toJSON())[Symbol.iterator]();\n }\n\n toString() {\n return Object.entries(this.toJSON())\n .map(([header, value]) => header + ': ' + value)\n .join('\\n');\n }\n\n getSetCookie() {\n return this.get('set-cookie') || [];\n }\n\n get [Symbol.toStringTag]() {\n return 'AxiosHeaders';\n }\n\n static from(thing) {\n return thing instanceof this ? thing : new this(thing);\n }\n\n static concat(first, ...targets) {\n const computed = new this(first);\n\n targets.forEach((target) => computed.set(target));\n\n return computed;\n }\n\n static accessor(header) {\n const internals =\n (this[$internals] =\n this[$internals] =\n {\n accessors: {},\n });\n\n const accessors = internals.accessors;\n const prototype = this.prototype;\n\n function defineAccessor(_header) {\n const lHeader = normalizeHeader(_header);\n\n if (!accessors[lHeader]) {\n buildAccessors(prototype, _header);\n accessors[lHeader] = true;\n }\n }\n\n utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);\n\n return this;\n }\n}\n\nAxiosHeaders.accessor([\n 'Content-Type',\n 'Content-Length',\n 'Accept',\n 'Accept-Encoding',\n 'User-Agent',\n 'Authorization',\n]);\n\n// reserved names hotfix\nutils.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {\n let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`\n return {\n get: () => value,\n set(headerValue) {\n this[mapped] = headerValue;\n },\n };\n});\n\nutils.freezeMethods(AxiosHeaders);\n\nexport default AxiosHeaders;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst REDACTED = '[REDACTED ****]';\n\nfunction hasOwnOrPrototypeToJSON(source) {\n if (utils.hasOwnProp(source, 'toJSON')) {\n return true;\n }\n\n let prototype = Object.getPrototypeOf(source);\n\n while (prototype && prototype !== Object.prototype) {\n if (utils.hasOwnProp(prototype, 'toJSON')) {\n return true;\n }\n\n prototype = Object.getPrototypeOf(prototype);\n }\n\n return false;\n}\n\n// Build a plain-object snapshot of `config` and replace the value of any key\n// (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays\n// and AxiosHeaders, and short-circuits on circular references.\nfunction redactConfig(config, redactKeys) {\n const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase()));\n const seen = [];\n\n const visit = (source) => {\n if (source === null || typeof source !== 'object') return source;\n if (utils.isBuffer(source)) return source;\n if (seen.indexOf(source) !== -1) return undefined;\n\n if (source instanceof AxiosHeaders) {\n source = source.toJSON();\n }\n\n seen.push(source);\n\n let result;\n if (utils.isArray(source)) {\n result = [];\n source.forEach((v, i) => {\n const reducedValue = visit(v);\n if (!utils.isUndefined(reducedValue)) {\n result[i] = reducedValue;\n }\n });\n } else {\n if (!utils.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) {\n seen.pop();\n return source;\n }\n\n result = Object.create(null);\n for (const [key, value] of Object.entries(source)) {\n const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value);\n if (!utils.isUndefined(reducedValue)) {\n result[key] = reducedValue;\n }\n }\n }\n\n seen.pop();\n return result;\n };\n\n return visit(config);\n}\n\nclass AxiosError extends Error {\n static from(error, code, config, request, response, customProps) {\n const axiosError = new AxiosError(error.message, code || error.code, config, request, response);\n // Match native `Error` `cause` semantics: non-enumerable. The wrapped\n // error often carries circular internals (sockets, requests, agents), so\n // an enumerable `cause` makes structured loggers (pino/winston) and any\n // own-property walk throw \"Converting circular structure to JSON\".\n // Regression from #6982; see #7205. `__proto__: null` mirrors the\n // `message` descriptor below (prototype-pollution-safe descriptor).\n Object.defineProperty(axiosError, 'cause', {\n __proto__: null,\n value: error,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n axiosError.name = error.name;\n\n // Preserve status from the original error if not already set from response\n if (error.status != null && axiosError.status == null) {\n axiosError.status = error.status;\n }\n\n customProps && Object.assign(axiosError, customProps);\n return axiosError;\n }\n\n /**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n *\n * @returns {Error} The created error.\n */\n constructor(message, code, config, request, response) {\n super(message);\n\n // Make message enumerable to maintain backward compatibility\n // The native Error constructor sets message as non-enumerable,\n // but axios < v1.13.3 had it as enumerable\n Object.defineProperty(this, 'message', {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: message,\n enumerable: true,\n writable: true,\n configurable: true,\n });\n\n this.name = 'AxiosError';\n this.isAxiosError = true;\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n if (response) {\n this.response = response;\n this.status = response.status;\n }\n }\n\n toJSON() {\n // Opt-in redaction: when the request config carries a `redact` array, the\n // value of any matching key (case-insensitive, at any depth) is replaced\n // with REDACTED in the serialized snapshot. Undefined or empty leaves the\n // existing serialization behavior unchanged.\n const config = this.config;\n const redactKeys = config && utils.hasOwnProp(config, 'redact') ? config.redact : undefined;\n const serializedConfig =\n utils.isArray(redactKeys) && redactKeys.length > 0\n ? redactConfig(config, redactKeys)\n : utils.toJSONObject(config);\n\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: serializedConfig,\n code: this.code,\n status: this.status,\n };\n }\n}\n\n// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.\nAxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';\nAxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';\nAxiosError.ECONNABORTED = 'ECONNABORTED';\nAxiosError.ETIMEDOUT = 'ETIMEDOUT';\nAxiosError.ECONNREFUSED = 'ECONNREFUSED';\nAxiosError.ERR_NETWORK = 'ERR_NETWORK';\nAxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';\nAxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';\nAxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';\nAxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';\nAxiosError.ERR_CANCELED = 'ERR_CANCELED';\nAxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';\nAxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';\nAxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED';\n\nexport default AxiosError;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\n// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored\nimport PlatformFormData from '../platform/node/classes/FormData.js';\n\n// Default nesting limit shared with the inverse transform (formDataToJSON) so\n// the FormData <-> JSON round-trip stays symmetric.\nexport const DEFAULT_FORM_DATA_MAX_DEPTH = 100;\n\n/**\n * Determines if the given thing is a array or js object.\n *\n * @param {string} thing - The object or array to be visited.\n *\n * @returns {boolean}\n */\nfunction isVisitable(thing) {\n return utils.isPlainObject(thing) || utils.isArray(thing);\n}\n\n/**\n * It removes the brackets from the end of a string\n *\n * @param {string} key - The key of the parameter.\n *\n * @returns {string} the key without the brackets.\n */\nfunction removeBrackets(key) {\n return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;\n}\n\n/**\n * It takes a path, a key, and a boolean, and returns a string\n *\n * @param {string} path - The path to the current key.\n * @param {string} key - The key of the current object being iterated over.\n * @param {string} dots - If true, the key will be rendered with dots instead of brackets.\n *\n * @returns {string} The path to the current key.\n */\nfunction renderKey(path, key, dots) {\n if (!path) return key;\n return path\n .concat(key)\n .map(function each(token, i) {\n // eslint-disable-next-line no-param-reassign\n token = removeBrackets(token);\n return !dots && i ? '[' + token + ']' : token;\n })\n .join(dots ? '.' : '');\n}\n\n/**\n * If the array is an array and none of its elements are visitable, then it's a flat array.\n *\n * @param {Array} arr - The array to check\n *\n * @returns {boolean}\n */\nfunction isFlatArray(arr) {\n return utils.isArray(arr) && !arr.some(isVisitable);\n}\n\nconst predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {\n return /^is[A-Z]/.test(prop);\n});\n\n/**\n * Convert a data object to FormData\n *\n * @param {Object} obj\n * @param {?Object} [formData]\n * @param {?Object} [options]\n * @param {Function} [options.visitor]\n * @param {Boolean} [options.metaTokens = true]\n * @param {Boolean} [options.dots = false]\n * @param {?Boolean} [options.indexes = false]\n *\n * @returns {Object}\n **/\n\n/**\n * It converts an object into a FormData object\n *\n * @param {Object} obj - The object to convert to form data.\n * @param {string} formData - The FormData object to append to.\n * @param {Object} options\n *\n * @returns\n */\nfunction toFormData(obj, formData, options) {\n if (!utils.isObject(obj)) {\n throw new TypeError('target must be an object');\n }\n\n // eslint-disable-next-line no-param-reassign\n formData = formData || new (PlatformFormData || FormData)();\n\n // eslint-disable-next-line no-param-reassign\n options = utils.toFlatObject(\n options,\n {\n metaTokens: true,\n dots: false,\n indexes: false,\n },\n false,\n function defined(option, source) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n return !utils.isUndefined(source[option]);\n }\n );\n\n const metaTokens = options.metaTokens;\n // eslint-disable-next-line no-use-before-define\n const visitor = options.visitor || defaultVisitor;\n const dots = options.dots;\n const indexes = options.indexes;\n const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);\n const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth;\n const useBlob = _Blob && utils.isSpecCompliantForm(formData);\n const stack = [];\n\n if (!utils.isFunction(visitor)) {\n throw new TypeError('visitor must be a function');\n }\n\n function convertValue(value) {\n if (value === null) return '';\n\n if (utils.isDate(value)) {\n return value.toISOString();\n }\n\n if (utils.isBoolean(value)) {\n return value.toString();\n }\n\n if (!useBlob && utils.isBlob(value)) {\n throw new AxiosError('Blob is not supported. Use a Buffer instead.');\n }\n\n if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {\n if (useBlob && typeof _Blob === 'function') {\n return new _Blob([value]);\n }\n if (typeof Buffer !== 'undefined') {\n return Buffer.from(value);\n }\n throw new AxiosError('Blob is not supported. Use a Buffer instead.', AxiosError.ERR_NOT_SUPPORT);\n }\n\n return value;\n }\n\n function throwIfMaxDepthExceeded(depth) {\n if (depth > maxDepth) {\n throw new AxiosError(\n 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth,\n AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED\n );\n }\n }\n\n function stringifyWithDepthLimit(value, depth) {\n if (maxDepth === Infinity) {\n return JSON.stringify(value);\n }\n\n const ancestors = [];\n\n return JSON.stringify(value, function limitDepth(_key, currentValue) {\n if (!utils.isObject(currentValue)) {\n return currentValue;\n }\n\n while (ancestors.length && ancestors[ancestors.length - 1] !== this) {\n ancestors.pop();\n }\n\n ancestors.push(currentValue);\n throwIfMaxDepthExceeded(depth + ancestors.length - 1);\n\n return currentValue;\n });\n }\n\n /**\n * Default visitor.\n *\n * @param {*} value\n * @param {String|Number} key\n * @param {Array} path\n * @this {FormData}\n *\n * @returns {boolean} return true to visit the each prop of the value recursively\n */\n function defaultVisitor(value, key, path) {\n let arr = value;\n\n if (utils.isReactNative(formData) && utils.isReactNativeBlob(value)) {\n formData.append(renderKey(path, key, dots), convertValue(value));\n return false;\n }\n\n if (value && !path && typeof value === 'object') {\n if (utils.endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n key = metaTokens ? key : key.slice(0, -2);\n // eslint-disable-next-line no-param-reassign\n value = stringifyWithDepthLimit(value, 1);\n } else if (\n (utils.isArray(value) && isFlatArray(value)) ||\n ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value)))\n ) {\n // eslint-disable-next-line no-param-reassign\n key = removeBrackets(key);\n\n arr.forEach(function each(el, index) {\n !(utils.isUndefined(el) || el === null) &&\n formData.append(\n // eslint-disable-next-line no-nested-ternary\n indexes === true\n ? renderKey([key], index, dots)\n : indexes === null\n ? key\n : key + '[]',\n convertValue(el)\n );\n });\n return false;\n }\n }\n\n if (isVisitable(value)) {\n return true;\n }\n\n formData.append(renderKey(path, key, dots), convertValue(value));\n\n return false;\n }\n\n const exposedHelpers = Object.assign(predicates, {\n defaultVisitor,\n convertValue,\n isVisitable,\n });\n\n function build(value, path, depth = 0) {\n if (utils.isUndefined(value)) return;\n\n throwIfMaxDepthExceeded(depth);\n\n if (stack.indexOf(value) !== -1) {\n throw new Error('Circular reference detected in ' + path.join('.'));\n }\n\n stack.push(value);\n\n utils.forEach(value, function each(el, key) {\n const result =\n !(utils.isUndefined(el) || el === null) &&\n visitor.call(formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers);\n\n if (result === true) {\n build(el, path ? path.concat(key) : [key], depth + 1);\n }\n });\n\n stack.pop();\n }\n\n if (!utils.isObject(obj)) {\n throw new TypeError('data must be an object');\n }\n\n build(obj);\n\n return formData;\n}\n\nexport default toFormData;\n","'use strict';\n\nimport toFormData from './toFormData.js';\n\n/**\n * It encodes a string by replacing all characters that are not in the unreserved set with\n * their percent-encoded equivalents\n *\n * @param {string} str - The string to encode.\n *\n * @returns {string} The encoded string.\n */\nfunction encode(str) {\n const charMap = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+',\n };\n return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) {\n return charMap[match];\n });\n}\n\n/**\n * It takes a params object and converts it to a FormData object\n *\n * @param {Object} params - The parameters to be converted to a FormData object.\n * @param {Object} options - The options object passed to the Axios constructor.\n *\n * @returns {void}\n */\nfunction AxiosURLSearchParams(params, options) {\n this._pairs = [];\n\n params && toFormData(params, this, options);\n}\n\nconst prototype = AxiosURLSearchParams.prototype;\n\nprototype.append = function append(name, value) {\n this._pairs.push([name, value]);\n};\n\nprototype.toString = function toString(encoder) {\n const _encode = encoder\n ? (value) => encoder.call(this, value, encode)\n : encode;\n\n return this._pairs\n .map(function each(pair) {\n return _encode(pair[0]) + '=' + _encode(pair[1]);\n }, '')\n .join('&');\n};\n\nexport default AxiosURLSearchParams;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosURLSearchParams from './AxiosURLSearchParams.js';\n\n/**\n * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with\n * their plain counterparts (`:`, `$`, `,`, `+`).\n *\n * @param {string} val The value to be encoded.\n *\n * @returns {string} The encoded value.\n */\nexport function encode(val) {\n return encodeURIComponent(val)\n .replace(/%3A/gi, ':')\n .replace(/%24/g, '$')\n .replace(/%2C/gi, ',')\n .replace(/%20/g, '+');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @param {?(object|Function)} options\n *\n * @returns {string} The formatted url\n */\nexport default function buildURL(url, params, options) {\n if (!params) {\n return url;\n }\n url = url || '';\n\n const _options = utils.isFunction(options)\n ? {\n serialize: options,\n }\n : options;\n\n // Read serializer options pollution-safely: own properties and methods on a\n // class/template prototype are honored, but values injected onto a polluted\n // Object.prototype are ignored.\n const _encode = utils.getSafeProp(_options, 'encode') || encode;\n const serializeFn = utils.getSafeProp(_options, 'serialize');\n\n let serializedParams;\n\n if (serializeFn) {\n serializedParams = serializeFn(params, _options);\n } else {\n serializedParams = utils.isURLSearchParams(params)\n ? params.toString()\n : new AxiosURLSearchParams(params, _options).toString(_encode);\n }\n\n if (serializedParams) {\n const hashmarkIndex = url.indexOf('#');\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n * @param {Object} options The options for the interceptor, synchronous and runWhen\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null,\n });\n return this.handlers.length - 1;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {void}\n */\n eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n }\n}\n\nexport default InterceptorManager;\n","'use strict';\n\nexport default {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false,\n legacyInterceptorReqResOrdering: true,\n advertiseZstdAcceptEncoding: false,\n validateStatusUndefinedResolves: true,\n};\n","import URLSearchParams from './classes/URLSearchParams.js';\nimport FormData from './classes/FormData.js';\nimport Blob from './classes/Blob.js';\n\nexport default {\n isBrowser: true,\n classes: {\n URLSearchParams,\n FormData,\n Blob,\n },\n protocols: ['http', 'https', 'file', 'blob', 'url', 'data'],\n};\n","'use strict';\n\nimport AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';\nexport default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;\n","'use strict';\n\nexport default typeof FormData !== 'undefined' ? FormData : null;\n","'use strict';\n\nexport default typeof Blob !== 'undefined' ? Blob : null;\n","const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nconst _navigator = (typeof navigator === 'object' && navigator) || undefined;\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nconst hasStandardBrowserEnv =\n hasBrowserEnv &&\n (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);\n\n/**\n * Determine if we're running in a standard browser webWorker environment\n *\n * Although the `isStandardBrowserEnv` method indicates that\n * `allows axios to run in a web worker`, the WebWorker will still be\n * filtered out due to its judgment standard\n * `typeof window !== 'undefined' && typeof document !== 'undefined'`.\n * This leads to a problem when axios post `FormData` in webWorker\n */\nconst hasStandardBrowserWebWorkerEnv = (() => {\n return (\n typeof WorkerGlobalScope !== 'undefined' &&\n // eslint-disable-next-line no-undef\n self instanceof WorkerGlobalScope &&\n typeof self.importScripts === 'function'\n );\n})();\n\nconst origin = (hasBrowserEnv && window.location.href) || 'http://localhost';\n\nexport {\n hasBrowserEnv,\n hasStandardBrowserWebWorkerEnv,\n hasStandardBrowserEnv,\n _navigator as navigator,\n origin,\n};\n","import platform from './node/index.js';\nimport * as utils from './common/utils.js';\n\nexport default {\n ...utils,\n ...platform,\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport { DEFAULT_FORM_DATA_MAX_DEPTH } from './toFormData.js';\n\nconst MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH;\n\nfunction throwIfDepthExceeded(index) {\n if (index > MAX_DEPTH) {\n throw new AxiosError(\n 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH,\n AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED\n );\n }\n}\n\n/**\n * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']\n *\n * @param {string} name - The name of the property to get.\n *\n * @returns An array of strings.\n */\nfunction parsePropPath(name) {\n // foo[x][y][z]\n // foo.x.y.z\n // foo-x-y-z\n // foo x y z\n const path = [];\n const pattern = /\\w+|\\[(\\w*)]/g;\n let match;\n\n while ((match = pattern.exec(name)) !== null) {\n throwIfDepthExceeded(path.length);\n path.push(match[0] === '[]' ? '' : match[1] || match[0]);\n }\n\n return path;\n}\n\n/**\n * Convert an array to an object.\n *\n * @param {Array} arr - The array to convert to an object.\n *\n * @returns An object with the same keys and values as the array.\n */\nfunction arrayToObject(arr) {\n const obj = {};\n const keys = Object.keys(arr);\n let i;\n const len = keys.length;\n let key;\n for (i = 0; i < len; i++) {\n key = keys[i];\n obj[key] = arr[key];\n }\n return obj;\n}\n\n/**\n * It takes a FormData object and returns a JavaScript object\n *\n * @param {string} formData The FormData object to convert to JSON.\n *\n * @returns {Object | null} The converted object.\n */\nfunction formDataToJSON(formData) {\n function buildPath(path, value, target, index) {\n throwIfDepthExceeded(index);\n\n let name = path[index++];\n\n if (name === '__proto__') return true;\n\n const isNumericKey = Number.isFinite(+name);\n const isLast = index >= path.length;\n name = !name && utils.isArray(target) ? target.length : name;\n\n if (isLast) {\n if (utils.hasOwnProp(target, name)) {\n target[name] = utils.isArray(target[name])\n ? target[name].concat(value)\n : [target[name], value];\n } else {\n target[name] = value;\n }\n\n return !isNumericKey;\n }\n\n if (!utils.hasOwnProp(target, name) || !utils.isObject(target[name])) {\n target[name] = [];\n }\n\n const result = buildPath(path, value, target[name], index);\n\n if (result && utils.isArray(target[name])) {\n target[name] = arrayToObject(target[name]);\n }\n\n return !isNumericKey;\n }\n\n if (utils.isFormData(formData) && utils.isFunction(formData.entries)) {\n const obj = {};\n\n utils.forEachEntry(formData, (name, value) => {\n buildPath(parsePropPath(name), value, obj, 0);\n });\n\n return obj;\n }\n\n return null;\n}\n\nexport default formDataToJSON;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport transitionalDefaults from './transitional.js';\nimport toFormData from '../helpers/toFormData.js';\nimport toURLEncodedForm from '../helpers/toURLEncodedForm.js';\nimport platform from '../platform/index.js';\nimport formDataToJSON from '../helpers/formDataToJSON.js';\n\nconst own = (obj, key) => (obj != null && utils.hasOwnProp(obj, key) ? obj[key] : undefined);\n\n/**\n * It takes a string, tries to parse it, and if it fails, it returns the stringified version\n * of the input\n *\n * @param {any} rawValue - The value to be stringified.\n * @param {Function} parser - A function that parses a string into a JavaScript object.\n * @param {Function} encoder - A function that takes a value and returns a string.\n *\n * @returns {string} A stringified version of the rawValue.\n */\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nconst defaults = {\n transitional: transitionalDefaults,\n\n adapter: ['xhr', 'http', 'fetch'],\n\n transformRequest: [\n function transformRequest(data, headers) {\n const contentType = headers.getContentType() || '';\n const hasJSONContentType = contentType.indexOf('application/json') > -1;\n const isObjectPayload = utils.isObject(data);\n\n if (isObjectPayload && utils.isHTMLForm(data)) {\n data = new FormData(data);\n }\n\n const isFormData = utils.isFormData(data);\n\n if (isFormData) {\n return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;\n }\n\n if (\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data) ||\n utils.isReadableStream(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);\n return data.toString();\n }\n\n let isFileList;\n\n if (isObjectPayload) {\n const formSerializer = own(this, 'formSerializer');\n if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {\n return toURLEncodedForm(data, formSerializer).toString();\n }\n\n if (\n (isFileList = utils.isFileList(data)) ||\n contentType.indexOf('multipart/form-data') > -1\n ) {\n const env = own(this, 'env');\n const _FormData = env && env.FormData;\n\n return toFormData(\n isFileList ? { 'files[]': data } : data,\n _FormData && new _FormData(),\n formSerializer\n );\n }\n }\n\n if (isObjectPayload || hasJSONContentType) {\n headers.setContentType('application/json', false);\n return stringifySafely(data);\n }\n\n return data;\n },\n ],\n\n transformResponse: [\n function transformResponse(data) {\n const transitional = own(this, 'transitional') || defaults.transitional;\n const forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n const responseType = own(this, 'responseType');\n const JSONRequested = responseType === 'json';\n\n if (utils.isResponse(data) || utils.isReadableStream(data)) {\n return data;\n }\n\n if (\n data &&\n utils.isString(data) &&\n ((forcedJSONParsing && !responseType) || JSONRequested)\n ) {\n const silentJSONParsing = transitional && transitional.silentJSONParsing;\n const strictJSONParsing = !silentJSONParsing && JSONRequested;\n\n try {\n return JSON.parse(data, own(this, 'parseReviver'));\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response'));\n }\n throw e;\n }\n }\n }\n\n return data;\n },\n ],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n env: {\n FormData: platform.classes.FormData,\n Blob: platform.classes.Blob,\n },\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n Accept: 'application/json, text/plain, */*',\n 'Content-Type': undefined,\n },\n },\n};\n\nutils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => {\n defaults.headers[method] = {};\n});\n\nexport default defaults;\n","'use strict';\n\nimport utils from '../utils.js';\nimport toFormData from './toFormData.js';\nimport platform from '../platform/index.js';\n\nexport default function toURLEncodedForm(data, options) {\n return toFormData(data, new platform.classes.URLSearchParams(), {\n visitor: function (value, key, path, helpers) {\n if (platform.isNode && utils.isBuffer(value)) {\n this.append(key, value.toString('base64'));\n return false;\n }\n\n return helpers.defaultVisitor.apply(this, arguments);\n },\n ...options,\n });\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport defaults from '../defaults/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Array|Function} fns A single function or Array of functions\n * @param {?Object} response The response object\n *\n * @returns {*} The resulting transformed data\n */\nexport default function transformData(fns, response) {\n const config = this || defaults;\n const context = response || config;\n const headers = AxiosHeaders.from(context.headers);\n let data = context.data;\n\n utils.forEach(fns, function transform(fn) {\n data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);\n });\n\n headers.normalize();\n\n return data;\n}\n","'use strict';\n\nexport default function isCancel(value) {\n return !!(value && value.__CANCEL__);\n}\n","'use strict';\n\nimport AxiosError from '../core/AxiosError.js';\n\nclass CanceledError extends AxiosError {\n /**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @param {string=} message The message.\n * @param {Object=} config The config.\n * @param {Object=} request The request.\n *\n * @returns {CanceledError} The created error.\n */\n constructor(message, config, request) {\n super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);\n this.name = 'CanceledError';\n this.__CANCEL__ = true;\n }\n}\n\nexport default CanceledError;\n","'use strict';\n\nimport AxiosError from './AxiosError.js';\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n *\n * @returns {object} The response.\n */\nexport default function settle(resolve, reject, response) {\n const validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(new AxiosError(\n 'Request failed with status code ' + response.status,\n response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE,\n response.config,\n response.request,\n response\n ));\n }\n}\n","import speedometer from './speedometer.js';\nimport throttle from './throttle.js';\nimport utils from '../utils.js';\n\nexport const progressEventReducer = (listener, isDownloadStream, freq = 3) => {\n let bytesNotified = 0;\n const _speedometer = speedometer(50, 250);\n\n return throttle((e) => {\n if (!e || typeof e.loaded !== 'number') {\n return;\n }\n const rawLoaded = e.loaded;\n const total = e.lengthComputable ? e.total : undefined;\n const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded;\n const progressBytes = Math.max(0, loaded - bytesNotified);\n const rate = _speedometer(progressBytes);\n\n bytesNotified = Math.max(bytesNotified, loaded);\n\n const data = {\n loaded,\n total,\n progress: total ? loaded / total : undefined,\n bytes: progressBytes,\n rate: rate ? rate : undefined,\n estimated: rate && total ? (total - loaded) / rate : undefined,\n event: e,\n lengthComputable: total != null,\n [isDownloadStream ? 'download' : 'upload']: true,\n };\n\n listener(data);\n }, freq);\n};\n\nexport const progressEventDecorator = (total, throttled) => {\n const lengthComputable = total != null;\n\n return [\n (loaded) =>\n throttled[0]({\n lengthComputable,\n total,\n loaded,\n }),\n throttled[1],\n ];\n};\n\nexport const asyncDecorator =\n (fn) =>\n (...args) =>\n utils.asap(() => fn(...args));\n","'use strict';\n\n/**\n * Calculate data maxRate\n * @param {Number} [samplesCount= 10]\n * @param {Number} [min= 1000]\n * @returns {Function}\n */\nfunction speedometer(samplesCount, min) {\n samplesCount = samplesCount || 10;\n const bytes = new Array(samplesCount);\n const timestamps = new Array(samplesCount);\n let head = 0;\n let tail = 0;\n let firstSampleTS;\n\n min = min !== undefined ? min : 1000;\n\n return function push(chunkLength) {\n const now = Date.now();\n\n const startedAt = timestamps[tail];\n\n if (!firstSampleTS) {\n firstSampleTS = now;\n }\n\n bytes[head] = chunkLength;\n timestamps[head] = now;\n\n let i = tail;\n let bytesCount = 0;\n\n while (i !== head) {\n bytesCount += bytes[i++];\n i = i % samplesCount;\n }\n\n head = (head + 1) % samplesCount;\n\n if (head === tail) {\n tail = (tail + 1) % samplesCount;\n }\n\n if (now - firstSampleTS < min) {\n return;\n }\n\n const passed = startedAt && now - startedAt;\n\n return passed ? Math.round((bytesCount * 1000) / passed) : undefined;\n };\n}\n\nexport default speedometer;\n","/**\n * Throttle decorator\n * @param {Function} fn\n * @param {Number} freq\n * @return {Function}\n */\nfunction throttle(fn, freq) {\n let timestamp = 0;\n let threshold = 1000 / freq;\n let lastArgs;\n let timer;\n\n const invoke = (args, now = Date.now()) => {\n timestamp = now;\n lastArgs = null;\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n fn(...args);\n };\n\n const throttled = (...args) => {\n const now = Date.now();\n const passed = now - timestamp;\n if (passed >= threshold) {\n invoke(args, now);\n } else {\n lastArgs = args;\n if (!timer) {\n timer = setTimeout(() => {\n timer = null;\n invoke(lastArgs);\n }, threshold - passed);\n }\n }\n };\n\n const flush = () => lastArgs && invoke(lastArgs);\n\n return [throttled, flush];\n}\n\nexport default throttle;\n","import platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv\n ? ((origin, isMSIE) => (url) => {\n url = new URL(url, platform.origin);\n\n return (\n origin.protocol === url.protocol &&\n origin.host === url.host &&\n (isMSIE || origin.port === url.port)\n );\n })(\n new URL(platform.origin),\n platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)\n )\n : () => true;\n","import utils from '../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv\n ? // Standard browser envs support document.cookie\n {\n write(name, value, expires, path, domain, secure, sameSite) {\n if (typeof document === 'undefined') return;\n\n const cookie = [`${name}=${encodeURIComponent(value)}`];\n\n if (utils.isNumber(expires)) {\n cookie.push(`expires=${new Date(expires).toUTCString()}`);\n }\n if (utils.isString(path)) {\n cookie.push(`path=${path}`);\n }\n if (utils.isString(domain)) {\n cookie.push(`domain=${domain}`);\n }\n if (secure === true) {\n cookie.push('secure');\n }\n if (utils.isString(sameSite)) {\n cookie.push(`SameSite=${sameSite}`);\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read(name) {\n if (typeof document === 'undefined') return null;\n // Match name=value by splitting on the semicolon separator instead of building a\n // RegExp from `name` — interpolating an unescaped string into a RegExp would let\n // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or\n // match the wrong cookie. Browsers may serialize cookie pairs as either \";\" or\n // \"; \", so ignore optional whitespace before each cookie name.\n const cookies = document.cookie.split(';');\n for (let i = 0; i < cookies.length; i++) {\n const cookie = cookies[i].replace(/^\\s+/, '');\n const eq = cookie.indexOf('=');\n if (eq !== -1 && cookie.slice(0, eq) === name) {\n try {\n return decodeURIComponent(cookie.slice(eq + 1));\n } catch (e) {\n return cookie.slice(eq + 1);\n }\n }\n }\n return null;\n },\n\n remove(name) {\n this.write(name, '', Date.now() - 86400000, '/');\n },\n }\n : // Non-standard browser env (web workers, react-native) lack needed support.\n {\n write() {},\n read() {\n return null;\n },\n remove() {},\n };\n","'use strict';\n\nimport AxiosError from './AxiosError.js';\nimport isAbsoluteURL from '../helpers/isAbsoluteURL.js';\nimport combineURLs from '../helpers/combineURLs.js';\n\nconst malformedHttpProtocol = /^https?:(?!\\/\\/)/i;\nconst httpProtocolControlCharacters = /[\\t\\n\\r]/g;\n\nfunction stripLeadingC0ControlOrSpace(url) {\n let i = 0;\n while (i < url.length && url.charCodeAt(i) <= 0x20) {\n i++;\n }\n return url.slice(i);\n}\n\nfunction normalizeURLForProtocolCheck(url) {\n return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, '');\n}\n\nfunction assertValidHttpProtocolURL(url, config) {\n if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) {\n throw new AxiosError(\n 'Invalid URL: missing \"//\" after protocol',\n AxiosError.ERR_INVALID_URL,\n config\n );\n }\n}\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n *\n * @returns {string} The combined full path\n */\nexport default function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {\n assertValidHttpProtocolURL(requestedURL, config);\n let isRelativeUrl = !isAbsoluteURL(requestedURL);\n if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) {\n assertValidHttpProtocolURL(baseURL, config);\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n}\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n *\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nexport default function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n if (typeof url !== 'string') {\n return false;\n }\n\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n}\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n *\n * @returns {string} The combined URL\n */\nexport default function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/?\\/$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst headersToObject = (thing) => (thing instanceof AxiosHeaders ? { ...thing } : thing);\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n *\n * @returns {Object} New object resulting from merging config2 to config1\n */\nexport default function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config1 = config1 || {};\n config2 = config2 || {};\n\n // Use a null-prototype object so that downstream reads such as `config.auth`\n // or `config.baseURL` cannot inherit polluted values from Object.prototype.\n // `hasOwnProperty` is restored as a non-enumerable own slot to preserve\n // ergonomics for user code that relies on it.\n const config = Object.create(null);\n Object.defineProperty(config, 'hasOwnProperty', {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: Object.prototype.hasOwnProperty,\n enumerable: false,\n writable: true,\n configurable: true,\n });\n\n function getMergedValue(target, source, prop, caseless) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge.call({ caseless }, target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(a, b, prop, caseless) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(a, b, prop, caseless);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a, prop, caseless);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a);\n }\n }\n\n function getMergedTransitionalOption(prop) {\n const transitional2 = utils.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined;\n\n if (!utils.isUndefined(transitional2)) {\n if (utils.isPlainObject(transitional2)) {\n if (utils.hasOwnProp(transitional2, prop)) {\n return transitional2[prop];\n }\n } else {\n return undefined;\n }\n }\n\n const transitional1 = utils.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined;\n\n if (utils.isPlainObject(transitional1) && utils.hasOwnProp(transitional1, prop)) {\n return transitional1[prop];\n }\n\n return undefined;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(a, b, prop) {\n if (utils.hasOwnProp(config2, prop)) {\n return getMergedValue(a, b);\n } else if (utils.hasOwnProp(config1, prop)) {\n return getMergedValue(undefined, a);\n }\n }\n\n const mergeMap = {\n url: valueFromConfig2,\n method: valueFromConfig2,\n data: valueFromConfig2,\n baseURL: defaultToConfig2,\n transformRequest: defaultToConfig2,\n transformResponse: defaultToConfig2,\n paramsSerializer: defaultToConfig2,\n timeout: defaultToConfig2,\n timeoutMessage: defaultToConfig2,\n withCredentials: defaultToConfig2,\n withXSRFToken: defaultToConfig2,\n adapter: defaultToConfig2,\n responseType: defaultToConfig2,\n xsrfCookieName: defaultToConfig2,\n xsrfHeaderName: defaultToConfig2,\n onUploadProgress: defaultToConfig2,\n onDownloadProgress: defaultToConfig2,\n decompress: defaultToConfig2,\n maxContentLength: defaultToConfig2,\n maxBodyLength: defaultToConfig2,\n beforeRedirect: defaultToConfig2,\n transport: defaultToConfig2,\n httpAgent: defaultToConfig2,\n httpsAgent: defaultToConfig2,\n cancelToken: defaultToConfig2,\n socketPath: defaultToConfig2,\n allowedSocketPaths: defaultToConfig2,\n responseEncoding: defaultToConfig2,\n validateStatus: mergeDirectKeys,\n headers: (a, b, prop) =>\n mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),\n };\n\n utils.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {\n if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;\n const merge = utils.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;\n const a = utils.hasOwnProp(config1, prop) ? config1[prop] : undefined;\n const b = utils.hasOwnProp(config2, prop) ? config2[prop] : undefined;\n const configValue = merge(a, b, prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n if (\n utils.hasOwnProp(config2, 'validateStatus') &&\n utils.isUndefined(config2.validateStatus) &&\n getMergedTransitionalOption('validateStatusUndefinedResolves') === false\n ) {\n if (utils.hasOwnProp(config1, 'validateStatus')) {\n config.validateStatus = getMergedValue(undefined, config1.validateStatus);\n } else {\n delete config.validateStatus;\n }\n }\n\n return config;\n}\n","import platform from '../platform/index.js';\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport isURLSameOrigin from './isURLSameOrigin.js';\nimport cookies from './cookies.js';\nimport buildFullPath from '../core/buildFullPath.js';\nimport mergeConfig from '../core/mergeConfig.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport buildURL from './buildURL.js';\n\nconst FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length'];\n\nfunction setFormDataHeaders(headers, formHeaders, policy) {\n if (policy !== 'content-only') {\n headers.set(formHeaders);\n return;\n }\n\n Object.entries(formHeaders || {}).forEach(([key, val]) => {\n if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {\n headers.set(key, val);\n }\n });\n}\n\n/**\n * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().\n * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.\n *\n * @param {string} str The string to encode\n *\n * @returns {string} UTF-8 bytes as a Latin-1 string\n */\nconst encodeUTF8 = (str) =>\n encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>\n String.fromCharCode(parseInt(hex, 16))\n );\n\nfunction resolveConfig(config) {\n const newConfig = mergeConfig({}, config);\n\n // Read only own properties to prevent prototype pollution gadgets\n // (e.g. Object.prototype.baseURL = 'https://evil.com').\n const own = (key) => (utils.hasOwnProp(newConfig, key) ? newConfig[key] : undefined);\n\n const data = own('data');\n let withXSRFToken = own('withXSRFToken');\n const xsrfHeaderName = own('xsrfHeaderName');\n const xsrfCookieName = own('xsrfCookieName');\n let headers = own('headers');\n const auth = own('auth');\n const baseURL = own('baseURL');\n const allowAbsoluteUrls = own('allowAbsoluteUrls');\n const url = own('url');\n\n newConfig.headers = headers = AxiosHeaders.from(headers);\n\n newConfig.url = buildURL(\n buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig),\n own('params'),\n own('paramsSerializer')\n );\n\n // HTTP basic authentication\n if (auth) {\n const username = utils.getSafeProp(auth, 'username') || '';\n const password = utils.getSafeProp(auth, 'password') || '';\n\n try {\n headers.set(\n 'Authorization',\n 'Basic ' + btoa(username + ':' + (password ? encodeUTF8(password) : ''))\n );\n } catch (e) {\n throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config);\n }\n }\n\n if (utils.isFormData(data)) {\n if (\n platform.hasStandardBrowserEnv ||\n platform.hasStandardBrowserWebWorkerEnv ||\n utils.isReactNative(data)\n ) {\n headers.setContentType(undefined); // browser/web worker/RN handles it\n } else if (utils.isFunction(data.getHeaders)) {\n // Node.js FormData (like form-data package)\n setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy'));\n }\n }\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n\n if (platform.hasStandardBrowserEnv) {\n if (utils.isFunction(withXSRFToken)) {\n withXSRFToken = withXSRFToken(newConfig);\n }\n\n // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1)\n // and misconfigurations (e.g. \"false\") from short-circuiting the same-origin check and leaking\n // the XSRF token cross-origin.\n const shouldSendXSRF =\n withXSRFToken === true || (withXSRFToken == null && isURLSameOrigin(newConfig.url));\n\n if (shouldSendXSRF) {\n const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);\n\n if (xsrfValue) {\n headers.set(xsrfHeaderName, xsrfValue);\n }\n }\n }\n\n return newConfig;\n}\n\nexport default resolveConfig;\n","import utils from '../utils.js';\nimport settle from '../core/settle.js';\nimport transitionalDefaults from '../defaults/transitional.js';\nimport AxiosError from '../core/AxiosError.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport parseProtocol from '../helpers/parseProtocol.js';\nimport platform from '../platform/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport { progressEventReducer } from '../helpers/progressEventReducer.js';\nimport resolveConfig from '../helpers/resolveConfig.js';\nimport { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js';\n\nconst isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';\n\nexport default isXHRAdapterSupported &&\n function (config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n const _config = resolveConfig(config);\n let requestData = _config.data;\n const requestHeaders = AxiosHeaders.from(_config.headers).normalize();\n let { responseType, onUploadProgress, onDownloadProgress } = _config;\n let onCanceled;\n let uploadThrottled, downloadThrottled;\n let flushUpload, flushDownload;\n\n function done() {\n flushUpload && flushUpload(); // flush events\n flushDownload && flushDownload(); // flush events\n\n _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);\n\n _config.signal && _config.signal.removeEventListener('abort', onCanceled);\n }\n\n let request = new XMLHttpRequest();\n\n request.open(_config.method.toUpperCase(), _config.url, true);\n\n // Set the request timeout in MS\n request.timeout = _config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n const responseHeaders = AxiosHeaders.from(\n 'getAllResponseHeaders' in request && request.getAllResponseHeaders()\n );\n const responseData =\n !responseType || responseType === 'text' || responseType === 'json'\n ? request.responseText\n : request.response;\n const response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config,\n request,\n };\n\n settle(\n function _resolve(value) {\n resolve(value);\n done();\n },\n function _reject(err) {\n reject(err);\n done();\n },\n response\n );\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (\n request.status === 0 &&\n !(request.responseURL && request.responseURL.startsWith('file:'))\n ) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));\n done();\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError(event) {\n // Browsers deliver a ProgressEvent in XHR onerror\n // (message may be empty; when present, surface it)\n // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event\n const msg = event && event.message ? event.message : 'Network Error';\n const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);\n // attach the underlying event for consumers who want details\n err.event = event || null;\n reject(err);\n done();\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n let timeoutErrorMessage = _config.timeout\n ? 'timeout of ' + _config.timeout + 'ms exceeded'\n : 'timeout exceeded';\n const transitional = _config.transitional || transitionalDefaults;\n if (_config.timeoutErrorMessage) {\n timeoutErrorMessage = _config.timeoutErrorMessage;\n }\n reject(\n new AxiosError(\n timeoutErrorMessage,\n transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,\n config,\n request\n )\n );\n done();\n\n // Clean up request\n request = null;\n };\n\n // Remove Content-Type if data is undefined\n requestData === undefined && requestHeaders.setContentType(null);\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) {\n request.setRequestHeader(key, val);\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(_config.withCredentials)) {\n request.withCredentials = !!_config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = _config.responseType;\n }\n\n // Handle progress if needed\n if (onDownloadProgress) {\n [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);\n request.addEventListener('progress', downloadThrottled);\n }\n\n // Not all browsers support upload events\n if (onUploadProgress && request.upload) {\n [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);\n\n request.upload.addEventListener('progress', uploadThrottled);\n\n request.upload.addEventListener('loadend', flushUpload);\n }\n\n if (_config.cancelToken || _config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = (cancel) => {\n if (!request) {\n return;\n }\n reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);\n request.abort();\n done();\n request = null;\n };\n\n _config.cancelToken && _config.cancelToken.subscribe(onCanceled);\n if (_config.signal) {\n _config.signal.aborted\n ? onCanceled()\n : _config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n const protocol = parseProtocol(_config.url);\n\n if (protocol && !platform.protocols.includes(protocol)) {\n reject(\n new AxiosError(\n 'Unsupported protocol ' + protocol + ':',\n AxiosError.ERR_BAD_REQUEST,\n config\n )\n );\n done();\n return;\n }\n\n // Send the request\n request.send(requestData || null);\n });\n };\n","'use strict';\n\nexport default function parseProtocol(url) {\n const match = /^([-+\\w]{1,25}):(?:\\/\\/)?/.exec(url);\n return (match && match[1]) || '';\n}\n","import CanceledError from '../cancel/CanceledError.js';\nimport AxiosError from '../core/AxiosError.js';\nimport utils from '../utils.js';\n\nconst composeSignals = (signals, timeout) => {\n signals = signals ? signals.filter(Boolean) : [];\n\n if (!timeout && !signals.length) {\n return;\n }\n\n const controller = new AbortController();\n\n let aborted = false;\n\n const onabort = function (reason) {\n if (!aborted) {\n aborted = true;\n unsubscribe();\n const err = reason instanceof Error ? reason : this.reason;\n controller.abort(\n err instanceof AxiosError\n ? err\n : new CanceledError(err instanceof Error ? err.message : err)\n );\n }\n };\n\n let timer =\n timeout &&\n setTimeout(() => {\n timer = null;\n onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT));\n }, timeout);\n\n const unsubscribe = () => {\n if (!signals) { return; }\n timer && clearTimeout(timer);\n timer = null;\n signals.forEach((signal) => {\n signal.unsubscribe\n ? signal.unsubscribe(onabort)\n : signal.removeEventListener('abort', onabort);\n });\n signals = null;\n };\n\n signals.forEach((signal) => signal.addEventListener('abort', onabort, { once: true }));\n\n const { signal } = controller;\n\n signal.unsubscribe = () => utils.asap(unsubscribe);\n\n return signal;\n};\n\nexport default composeSignals;\n","export const streamChunk = function* (chunk, chunkSize) {\n let len = chunk.byteLength;\n\n if (!chunkSize || len < chunkSize) {\n yield chunk;\n return;\n }\n\n let pos = 0;\n let end;\n\n while (pos < len) {\n end = pos + chunkSize;\n yield chunk.slice(pos, end);\n pos = end;\n }\n};\n\nexport const readBytes = async function* (iterable, chunkSize) {\n for await (const chunk of readStream(iterable)) {\n yield* streamChunk(chunk, chunkSize);\n }\n};\n\nconst readStream = async function* (stream) {\n if (stream[Symbol.asyncIterator]) {\n yield* stream;\n return;\n }\n\n const reader = stream.getReader();\n try {\n for (;;) {\n const { done, value } = await reader.read();\n if (done) {\n break;\n }\n yield value;\n }\n } finally {\n await reader.cancel();\n }\n};\n\nexport const trackStream = (stream, chunkSize, onProgress, onFinish) => {\n const iterator = readBytes(stream, chunkSize);\n\n let bytes = 0;\n let done;\n let _onFinish = (e) => {\n if (!done) {\n done = true;\n onFinish && onFinish(e);\n }\n };\n\n return new ReadableStream(\n {\n async pull(controller) {\n try {\n const { done, value } = await iterator.next();\n\n if (done) {\n _onFinish();\n controller.close();\n return;\n }\n\n let len = value.byteLength;\n if (onProgress) {\n let loadedBytes = (bytes += len);\n onProgress(loadedBytes);\n }\n controller.enqueue(new Uint8Array(value));\n } catch (err) {\n _onFinish(err);\n throw err;\n }\n },\n cancel(reason) {\n _onFinish(reason);\n return iterator.return();\n },\n },\n {\n highWaterMark: 2,\n }\n );\n};\n","/**\n * Estimate decoded byte length of a data:// URL *without* allocating large buffers.\n * - For base64: compute exact decoded size using length and padding;\n * handle %XX at the character-count level (no string allocation).\n * - For non-base64: compute the exact percent-decoded UTF-8 byte length.\n *\n * @param {string} url\n * @returns {number}\n */\nconst isHexDigit = (charCode) =>\n (charCode >= 48 && charCode <= 57) ||\n (charCode >= 65 && charCode <= 70) ||\n (charCode >= 97 && charCode <= 102);\n\nconst isPercentEncodedByte = (str, i, len) =>\n i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2));\n\nexport default function estimateDataURLDecodedBytes(url) {\n if (!url || typeof url !== 'string') return 0;\n if (!url.startsWith('data:')) return 0;\n\n const comma = url.indexOf(',');\n if (comma < 0) return 0;\n\n const meta = url.slice(5, comma);\n const body = url.slice(comma + 1);\n const isBase64 = /;base64/i.test(meta);\n\n if (isBase64) {\n let effectiveLen = body.length;\n const len = body.length; // cache length\n\n for (let i = 0; i < len; i++) {\n if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) {\n const a = body.charCodeAt(i + 1);\n const b = body.charCodeAt(i + 2);\n const isHex = isHexDigit(a) && isHexDigit(b);\n\n if (isHex) {\n effectiveLen -= 2;\n i += 2;\n }\n }\n }\n\n let pad = 0;\n let idx = len - 1;\n\n const tailIsPct3D = (j) =>\n j >= 2 &&\n body.charCodeAt(j - 2) === 37 && // '%'\n body.charCodeAt(j - 1) === 51 && // '3'\n (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd'\n\n if (idx >= 0) {\n if (body.charCodeAt(idx) === 61 /* '=' */) {\n pad++;\n idx--;\n } else if (tailIsPct3D(idx)) {\n pad++;\n idx -= 3;\n }\n }\n\n if (pad === 1 && idx >= 0) {\n if (body.charCodeAt(idx) === 61 /* '=' */) {\n pad++;\n } else if (tailIsPct3D(idx)) {\n pad++;\n }\n }\n\n const groups = Math.floor(effectiveLen / 4);\n const bytes = groups * 3 - (pad || 0);\n return bytes > 0 ? bytes : 0;\n }\n\n // Compute UTF-8 byte length directly from UTF-16 code units without allocating\n // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies).\n // Valid %XX triplets count as one decoded byte; this matches the bytes that\n // decodeURIComponent(body) would produce before Buffer re-encodes the string.\n let bytes = 0;\n for (let i = 0, len = body.length; i < len; i++) {\n const c = body.charCodeAt(i);\n if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) {\n bytes += 1;\n i += 2;\n } else if (c < 0x80) {\n bytes += 1;\n } else if (c < 0x800) {\n bytes += 2;\n } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) {\n const next = body.charCodeAt(i + 1);\n if (next >= 0xdc00 && next <= 0xdfff) {\n bytes += 4;\n i++;\n } else {\n bytes += 3;\n }\n } else {\n bytes += 3;\n }\n }\n return bytes;\n}\n","export const VERSION = \"1.18.1\";","import platform from '../platform/index.js';\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport composeSignals from '../helpers/composeSignals.js';\nimport { trackStream } from '../helpers/trackStream.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport {\n progressEventReducer,\n progressEventDecorator,\n asyncDecorator,\n} from '../helpers/progressEventReducer.js';\nimport resolveConfig from '../helpers/resolveConfig.js';\nimport settle from '../core/settle.js';\nimport estimateDataURLDecodedBytes from '../helpers/estimateDataURLDecodedBytes.js';\nimport { VERSION } from '../env/data.js';\nimport { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js';\n\nconst DEFAULT_CHUNK_SIZE = 64 * 1024;\n\nconst { isFunction } = utils;\n\n/**\n * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().\n * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.\n *\n * @param {string} str The string to encode\n *\n * @returns {string} UTF-8 bytes as a Latin-1 string\n */\nconst encodeUTF8 = (str) =>\n encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>\n String.fromCharCode(parseInt(hex, 16))\n );\n\n// Node's WHATWG URL parser returns `username` and `password` percent-encoded.\n// Decode before composing the `auth` option so credentials such as\n// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the\n// original value for malformed input so a bad encoding never throws.\nconst decodeURIComponentSafe = (value) => {\n if (!utils.isString(value)) {\n return value;\n }\n\n try {\n return decodeURIComponent(value);\n } catch (error) {\n return value;\n }\n};\n\nconst test = (fn, ...args) => {\n try {\n return !!fn(...args);\n } catch (e) {\n return false;\n }\n};\n\nconst maybeWithAuthCredentials = (url) => {\n const protocolIndex = url.indexOf('://');\n let urlToCheck = url;\n if (protocolIndex !== -1) {\n urlToCheck = urlToCheck.slice(protocolIndex + 3);\n }\n return urlToCheck.includes('@') || urlToCheck.includes(':');\n};\n\nconst factory = (env) => {\n const globalObject =\n utils.global !== undefined && utils.global !== null\n ? utils.global\n : globalThis;\n const { ReadableStream, TextEncoder } = globalObject;\n\n env = utils.merge.call(\n {\n skipUndefined: true,\n },\n {\n Request: globalObject.Request,\n Response: globalObject.Response,\n },\n env\n );\n\n const { fetch: envFetch, Request, Response } = env;\n const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';\n const isRequestSupported = isFunction(Request);\n const isResponseSupported = isFunction(Response);\n\n if (!isFetchSupported) {\n return false;\n }\n\n const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream);\n\n const encodeText =\n isFetchSupported &&\n (typeof TextEncoder === 'function'\n ? (\n (encoder) => (str) =>\n encoder.encode(str)\n )(new TextEncoder())\n : async (str) => new Uint8Array(await new Request(str).arrayBuffer()));\n\n const supportsRequestStream =\n isRequestSupported &&\n isReadableStreamSupported &&\n test(() => {\n let duplexAccessed = false;\n\n const request = new Request(platform.origin, {\n body: new ReadableStream(),\n method: 'POST',\n get duplex() {\n duplexAccessed = true;\n return 'half';\n },\n });\n\n const hasContentType = request.headers.has('Content-Type');\n\n if (request.body != null) {\n request.body.cancel();\n }\n\n return duplexAccessed && !hasContentType;\n });\n\n const supportsResponseStream =\n isResponseSupported &&\n isReadableStreamSupported &&\n test(() => utils.isReadableStream(new Response('').body));\n\n const resolvers = {\n stream: supportsResponseStream && ((res) => res.body),\n };\n\n isFetchSupported &&\n (() => {\n ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => {\n !resolvers[type] &&\n (resolvers[type] = (res, config) => {\n let method = res && res[type];\n\n if (method) {\n return method.call(res);\n }\n\n throw new AxiosError(\n `Response type '${type}' is not supported`,\n AxiosError.ERR_NOT_SUPPORT,\n config\n );\n });\n });\n })();\n\n const getBodyLength = async (body) => {\n if (body == null) {\n return 0;\n }\n\n if (utils.isBlob(body)) {\n return body.size;\n }\n\n if (utils.isSpecCompliantForm(body)) {\n const _request = new Request(platform.origin, {\n method: 'POST',\n body,\n });\n return (await _request.arrayBuffer()).byteLength;\n }\n\n if (utils.isArrayBufferView(body) || utils.isArrayBuffer(body)) {\n return body.byteLength;\n }\n\n if (utils.isURLSearchParams(body)) {\n body = body + '';\n }\n\n if (utils.isString(body)) {\n return (await encodeText(body)).byteLength;\n }\n };\n\n const resolveBodyLength = async (headers, body) => {\n const length = utils.toFiniteNumber(headers.getContentLength());\n\n return length == null ? getBodyLength(body) : length;\n };\n\n return async (config) => {\n let {\n url,\n method,\n data,\n signal,\n cancelToken,\n timeout,\n onDownloadProgress,\n onUploadProgress,\n responseType,\n headers,\n withCredentials = 'same-origin',\n fetchOptions,\n maxContentLength,\n maxBodyLength,\n } = resolveConfig(config);\n\n const hasMaxContentLength = utils.isNumber(maxContentLength) && maxContentLength > -1;\n const hasMaxBodyLength = utils.isNumber(maxBodyLength) && maxBodyLength > -1;\n const own = (key) => (utils.hasOwnProp(config, key) ? config[key] : undefined);\n\n let _fetch = envFetch || fetch;\n\n responseType = responseType ? (responseType + '').toLowerCase() : 'text';\n\n let composedSignal = composeSignals(\n [signal, cancelToken && cancelToken.toAbortSignal()],\n timeout\n );\n\n let request = null;\n\n const unsubscribe =\n composedSignal &&\n composedSignal.unsubscribe &&\n (() => {\n composedSignal.unsubscribe();\n });\n\n let requestContentLength;\n\n // AxiosError we raise while the request body is being streamed. Captured\n // by identity so the catch block can surface it directly, regardless of\n // how the runtime wraps the resulting fetch rejection (undici exposes it\n // as `err.cause`; some browsers drop the original error entirely).\n let pendingBodyError = null;\n\n const maxBodyLengthError = () =>\n new AxiosError(\n 'Request body larger than maxBodyLength limit',\n AxiosError.ERR_BAD_REQUEST,\n config,\n request\n );\n\n try {\n // HTTP basic authentication\n let auth = undefined;\n const configAuth = own('auth');\n\n if (configAuth) {\n const username = utils.getSafeProp(configAuth, 'username') || '';\n const password = utils.getSafeProp(configAuth, 'password') || '';\n auth = {\n username,\n password\n };\n }\n\n if (maybeWithAuthCredentials(url)) {\n const parsedURL = new URL(url, platform.origin);\n\n if (!auth && (parsedURL.username || parsedURL.password)) {\n const urlUsername = decodeURIComponentSafe(parsedURL.username);\n const urlPassword = decodeURIComponentSafe(parsedURL.password);\n auth = {\n username: urlUsername,\n password: urlPassword\n };\n }\n\n if (parsedURL.username || parsedURL.password) {\n parsedURL.username = '';\n parsedURL.password = '';\n url = parsedURL.href;\n }\n }\n\n if (auth) {\n headers.delete('authorization');\n headers.set(\n 'Authorization',\n 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || '')))\n );\n }\n\n // Enforce maxContentLength for data: URLs up-front so we never materialize\n // an oversized payload. The HTTP adapter applies the same check (see http.js\n // \"if (protocol === 'data:')\" branch).\n if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) {\n const estimated = estimateDataURLDecodedBytes(url);\n if (estimated > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n // Enforce maxBodyLength against known-size bodies before dispatch using\n // the body's *actual* size — never a caller-declared Content-Length,\n // which could under-report to slip an oversized body past the check.\n // Unknown-size streams return undefined here and are counted per-chunk\n // below as fetch consumes them.\n if (hasMaxBodyLength && method !== 'get' && method !== 'head') {\n const outboundLength = await getBodyLength(data);\n if (typeof outboundLength === 'number' && isFinite(outboundLength)) {\n requestContentLength = outboundLength;\n if (outboundLength > maxBodyLength) {\n throw maxBodyLengthError();\n }\n }\n }\n\n // A streamed body under maxBodyLength must be counted as fetch consumes\n // it; its size is never trusted from a caller-declared Content-Length.\n const mustEnforceStreamBody =\n hasMaxBodyLength && (utils.isReadableStream(data) || utils.isStream(data));\n\n const trackRequestStream = (stream, onProgress, flush) =>\n trackStream(\n stream,\n DEFAULT_CHUNK_SIZE,\n (loadedBytes) => {\n if (hasMaxBodyLength && loadedBytes > maxBodyLength) {\n throw (pendingBodyError = maxBodyLengthError());\n }\n onProgress && onProgress(loadedBytes);\n },\n flush\n );\n\n if (\n supportsRequestStream &&\n method !== 'get' &&\n method !== 'head' &&\n (onUploadProgress || mustEnforceStreamBody)\n ) {\n requestContentLength =\n requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength;\n\n // A declared length of 0 is only trusted to skip the wrap when we are\n // not enforcing a stream limit (which must not rely on that header).\n if (requestContentLength !== 0 || mustEnforceStreamBody) {\n let _request = new Request(url, {\n method: 'POST',\n body: data,\n duplex: 'half',\n });\n\n let contentTypeHeader;\n\n if (utils.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {\n headers.setContentType(contentTypeHeader);\n }\n\n if (_request.body) {\n const [onProgress, flush] =\n (onUploadProgress &&\n progressEventDecorator(\n requestContentLength,\n progressEventReducer(asyncDecorator(onUploadProgress))\n )) ||\n [];\n\n data = trackRequestStream(_request.body, onProgress, flush);\n }\n }\n } else if (\n mustEnforceStreamBody &&\n !isRequestSupported &&\n isReadableStreamSupported &&\n method !== 'get' &&\n method !== 'head'\n ) {\n data = trackRequestStream(data);\n } else if (\n mustEnforceStreamBody &&\n isRequestSupported &&\n !supportsRequestStream &&\n method !== 'get' &&\n method !== 'head'\n ) {\n throw new AxiosError(\n 'Stream request bodies are not supported by the current fetch implementation',\n AxiosError.ERR_NOT_SUPPORT,\n config,\n request\n );\n }\n\n if (!utils.isString(withCredentials)) {\n withCredentials = withCredentials ? 'include' : 'omit';\n }\n\n // Cloudflare Workers throws when credentials are defined\n // see https://github.com/cloudflare/workerd/issues/902\n const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;\n\n // If data is FormData and Content-Type is multipart/form-data without boundary,\n // delete it so fetch can set it correctly with the boundary\n if (utils.isFormData(data)) {\n const contentType = headers.getContentType();\n if (\n contentType &&\n /^multipart\\/form-data/i.test(contentType) &&\n !/boundary=/i.test(contentType)\n ) {\n headers.delete('content-type');\n }\n }\n\n // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js)\n headers.set('User-Agent', 'axios/' + VERSION, false);\n\n const resolvedOptions = {\n ...fetchOptions,\n signal: composedSignal,\n method: method.toUpperCase(),\n headers: toByteStringHeaderObject(headers.normalize()),\n body: data,\n duplex: 'half',\n credentials: isCredentialsSupported ? withCredentials : undefined,\n };\n\n request = isRequestSupported && new Request(url, resolvedOptions);\n\n let response = await (isRequestSupported\n ? _fetch(request, fetchOptions)\n : _fetch(url, resolvedOptions));\n\n const responseHeaders = AxiosHeaders.from(response.headers);\n\n // Cheap pre-check: if the server honestly declares a content-length that\n // already exceeds the cap, reject before we start streaming.\n if (hasMaxContentLength) {\n const declaredLength = utils.toFiniteNumber(responseHeaders.getContentLength());\n if (declaredLength != null && declaredLength > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n const isStreamResponse =\n supportsResponseStream && (responseType === 'stream' || responseType === 'response');\n\n if (\n supportsResponseStream &&\n response.body &&\n (onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe))\n ) {\n const options = {};\n\n ['status', 'statusText', 'headers'].forEach((prop) => {\n options[prop] = response[prop];\n });\n\n const responseContentLength = utils.toFiniteNumber(responseHeaders.getContentLength());\n\n const [onProgress, flush] =\n (onDownloadProgress &&\n progressEventDecorator(\n responseContentLength,\n progressEventReducer(asyncDecorator(onDownloadProgress), true)\n )) ||\n [];\n\n let bytesRead = 0;\n const onChunkProgress = (loadedBytes) => {\n if (hasMaxContentLength) {\n bytesRead = loadedBytes;\n if (bytesRead > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n onProgress && onProgress(loadedBytes);\n };\n\n response = new Response(\n trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => {\n flush && flush();\n unsubscribe && unsubscribe();\n }),\n options\n );\n }\n\n responseType = responseType || 'text';\n\n let responseData = await resolvers[utils.findKey(resolvers, responseType) || 'text'](\n response,\n config\n );\n\n // Fallback enforcement for environments without ReadableStream support\n // (legacy runtimes). Detect materialized size from typed output; skip\n // streams/Response passthrough since the user will read those themselves.\n if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) {\n let materializedSize;\n if (responseData != null) {\n if (typeof responseData.byteLength === 'number') {\n materializedSize = responseData.byteLength;\n } else if (typeof responseData.size === 'number') {\n materializedSize = responseData.size;\n } else if (typeof responseData === 'string') {\n materializedSize =\n typeof TextEncoder === 'function'\n ? new TextEncoder().encode(responseData).byteLength\n : responseData.length;\n }\n }\n if (typeof materializedSize === 'number' && materializedSize > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n !isStreamResponse && unsubscribe && unsubscribe();\n\n return await new Promise((resolve, reject) => {\n settle(resolve, reject, {\n data: responseData,\n headers: AxiosHeaders.from(response.headers),\n status: response.status,\n statusText: response.statusText,\n config,\n request,\n });\n });\n } catch (err) {\n unsubscribe && unsubscribe();\n\n // Safari can surface fetch aborts as a DOMException-like object whose\n // branded getters throw. Prefer our composed signal reason before reading\n // the caught error, preserving timeout vs cancellation semantics.\n if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError) {\n const canceledError = composedSignal.reason;\n canceledError.config = config;\n request && (canceledError.request = request);\n if (err !== canceledError) {\n // Non-enumerable to match native Error `cause` semantics so loggers\n // don't recurse into circular fetch internals (see #7205).\n Object.defineProperty(canceledError, 'cause', {\n __proto__: null,\n value: err,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n }\n throw canceledError;\n }\n\n // Surface a maxBodyLength violation we raised while the request body was\n // being streamed. Matching by identity (rather than reading\n // `err.cause.isAxiosError`) keeps the error deterministic across runtimes\n // and avoids both prototype-pollution reads and mis-attributing a foreign\n // AxiosError that merely happened to land in `err.cause`.\n if (pendingBodyError) {\n request && !pendingBodyError.request && (pendingBodyError.request = request);\n throw pendingBodyError;\n }\n\n // Re-throw AxiosErrors we raised synchronously (data: URL / content-length\n // pre-checks, response size enforcement) without re-wrapping them.\n if (err instanceof AxiosError) {\n request && !err.request && (err.request = request);\n throw err;\n }\n\n if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {\n const networkError = new AxiosError(\n 'Network Error',\n AxiosError.ERR_NETWORK,\n config,\n request,\n err && err.response\n );\n // Non-enumerable to match native Error `cause` semantics so loggers\n // don't recurse into circular fetch internals (see #7205).\n Object.defineProperty(networkError, 'cause', {\n __proto__: null,\n value: err.cause || err,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n throw networkError;\n }\n\n throw AxiosError.from(err, err && err.code, config, request, err && err.response);\n }\n };\n};\n\nconst seedCache = new Map();\n\nexport const getFetch = (config) => {\n let env = (config && config.env) || {};\n const { fetch, Request, Response } = env;\n const seeds = [Request, Response, fetch];\n\n let len = seeds.length,\n i = len,\n seed,\n target,\n map = seedCache;\n\n while (i--) {\n seed = seeds[i];\n target = map.get(seed);\n\n target === undefined && map.set(seed, (target = i ? new Map() : factory(env)));\n\n map = target;\n }\n\n return target;\n};\n\nconst adapter = getFetch();\n\nexport default adapter;\n","import utils from '../utils.js';\nimport httpAdapter from './http.js';\nimport xhrAdapter from './xhr.js';\nimport * as fetchAdapter from './fetch.js';\nimport AxiosError from '../core/AxiosError.js';\n\n/**\n * Known adapters mapping.\n * Provides environment-specific adapters for Axios:\n * - `http` for Node.js\n * - `xhr` for browsers\n * - `fetch` for fetch API-based requests\n *\n * @type {Object}\n */\nconst knownAdapters = {\n http: httpAdapter,\n xhr: xhrAdapter,\n fetch: {\n get: fetchAdapter.getFetch,\n },\n};\n\n// Assign adapter names for easier debugging and identification\nutils.forEach(knownAdapters, (fn, value) => {\n if (fn) {\n try {\n // Null-proto descriptors so a polluted Object.prototype.get cannot turn\n // these data descriptors into accessor descriptors on the way in.\n Object.defineProperty(fn, 'name', { __proto__: null, value });\n } catch (e) {\n // eslint-disable-next-line no-empty\n }\n Object.defineProperty(fn, 'adapterName', { __proto__: null, value });\n }\n});\n\n/**\n * Render a rejection reason string for unknown or unsupported adapters\n *\n * @param {string} reason\n * @returns {string}\n */\nconst renderReason = (reason) => `- ${reason}`;\n\n/**\n * Check if the adapter is resolved (function, null, or false)\n *\n * @param {Function|null|false} adapter\n * @returns {boolean}\n */\nconst isResolvedHandle = (adapter) =>\n utils.isFunction(adapter) || adapter === null || adapter === false;\n\n/**\n * Get the first suitable adapter from the provided list.\n * Tries each adapter in order until a supported one is found.\n * Throws an AxiosError if no adapter is suitable.\n *\n * @param {Array|string|Function} adapters - Adapter(s) by name or function.\n * @param {Object} config - Axios request configuration\n * @throws {AxiosError} If no suitable adapter is available\n * @returns {Function} The resolved adapter function\n */\nfunction getAdapter(adapters, config) {\n adapters = utils.isArray(adapters) ? adapters : [adapters];\n\n const { length } = adapters;\n let nameOrAdapter;\n let adapter;\n\n const rejectedReasons = {};\n\n for (let i = 0; i < length; i++) {\n nameOrAdapter = adapters[i];\n let id;\n\n adapter = nameOrAdapter;\n\n if (!isResolvedHandle(nameOrAdapter)) {\n adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];\n\n if (adapter === undefined) {\n throw new AxiosError(`Unknown adapter '${id}'`);\n }\n }\n\n if (adapter && (utils.isFunction(adapter) || (adapter = adapter.get(config)))) {\n break;\n }\n\n rejectedReasons[id || '#' + i] = adapter;\n }\n\n if (!adapter) {\n const reasons = Object.entries(rejectedReasons).map(\n ([id, state]) =>\n `adapter ${id} ` +\n (state === false ? 'is not supported by the environment' : 'is not available in the build')\n );\n\n let s = length\n ? reasons.length > 1\n ? 'since :\\n' + reasons.map(renderReason).join('\\n')\n : ' ' + renderReason(reasons[0])\n : 'as no adapter specified';\n\n throw new AxiosError(\n `There is no suitable adapter to dispatch the request ` + s,\n AxiosError.ERR_NOT_SUPPORT\n );\n }\n\n return adapter;\n}\n\n/**\n * Exports Axios adapters and utility to resolve an adapter\n */\nexport default {\n /**\n * Resolve an adapter from a list of adapter names or functions.\n * @type {Function}\n */\n getAdapter,\n\n /**\n * Exposes all known adapters\n * @type {Object}\n */\n adapters: knownAdapters,\n};\n","// eslint-disable-next-line strict\nexport default null;\n","'use strict';\n\nimport transformData from './transformData.js';\nimport isCancel from '../cancel/isCancel.js';\nimport defaults from '../defaults/index.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport adapters from '../adapters/adapters.js';\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n *\n * @param {Object} config The config that is to be used for the request\n *\n * @returns {void}\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new CanceledError(null, config);\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n *\n * @returns {Promise} The Promise to be fulfilled\n */\nexport default function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n config.headers = AxiosHeaders.from(config.headers);\n\n // Transform request data\n config.data = transformData.call(config, config.transformRequest);\n\n if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {\n config.headers.setContentType('application/x-www-form-urlencoded', false);\n }\n\n const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config);\n\n return adapter(config).then(\n function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Expose the current response on config so that transformResponse can\n // attach it to any AxiosError it throws (e.g. on JSON parse failure).\n // We clean it up afterwards to avoid polluting the config object.\n config.response = response;\n try {\n response.data = transformData.call(config, config.transformResponse, response);\n } finally {\n delete config.response;\n }\n\n response.headers = AxiosHeaders.from(response.headers);\n\n return response;\n },\n function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n config.response = reason.response;\n try {\n reason.response.data = transformData.call(\n config,\n config.transformResponse,\n reason.response\n );\n } finally {\n delete config.response;\n }\n reason.response.headers = AxiosHeaders.from(reason.response.headers);\n }\n }\n\n return Promise.reject(reason);\n }\n );\n}\n","'use strict';\n\nimport { VERSION } from '../env/data.js';\nimport AxiosError from '../core/AxiosError.js';\n\nconst validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nconst deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n *\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n *\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return (\n '[Axios v' +\n VERSION +\n \"] Transitional option '\" +\n opt +\n \"'\" +\n desc +\n (message ? '. ' + message : '')\n );\n }\n\n // eslint-disable-next-line func-names\n return (value, opt, opts) => {\n if (validator === false) {\n throw new AxiosError(\n formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),\n AxiosError.ERR_DEPRECATED\n );\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\nvalidators.spelling = function spelling(correctSpelling) {\n return (value, opt) => {\n // eslint-disable-next-line no-console\n console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);\n return true;\n };\n};\n\n/**\n * Assert object's properties type\n *\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n *\n * @returns {object}\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object' || options === null) {\n throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);\n }\n const keys = Object.keys(options);\n let i = keys.length;\n while (i-- > 0) {\n const opt = keys[i];\n // Use hasOwnProperty so a polluted Object.prototype. cannot supply\n // a non-function validator and cause a TypeError.\n const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined;\n if (validator) {\n const value = options[opt];\n const result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new AxiosError(\n 'option ' + opt + ' must be ' + result,\n AxiosError.ERR_BAD_OPTION_VALUE\n );\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);\n }\n }\n}\n\nexport default {\n assertOptions,\n validators,\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport buildURL from '../helpers/buildURL.js';\nimport InterceptorManager from './InterceptorManager.js';\nimport dispatchRequest from './dispatchRequest.js';\nimport mergeConfig from './mergeConfig.js';\nimport buildFullPath from './buildFullPath.js';\nimport validator from '../helpers/validator.js';\nimport AxiosHeaders from './AxiosHeaders.js';\nimport transitionalDefaults from '../defaults/transitional.js';\n\nconst validators = validator.validators;\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n *\n * @return {Axios} A new instance of Axios\n */\nclass Axios {\n constructor(instanceConfig) {\n this.defaults = instanceConfig || {};\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager(),\n };\n }\n\n /**\n * Dispatch a request\n *\n * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)\n * @param {?Object} config\n *\n * @returns {Promise} The Promise to be fulfilled\n */\n async request(configOrUrl, config) {\n try {\n return await this._request(configOrUrl, config);\n } catch (err) {\n if (err instanceof Error) {\n let dummy = {};\n\n Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());\n\n // slice off the Error: ... line\n const stack = (() => {\n if (!dummy.stack) {\n return '';\n }\n\n const firstNewlineIndex = dummy.stack.indexOf('\\n');\n\n return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1);\n })();\n try {\n if (!err.stack) {\n err.stack = stack;\n // match without the 2 top stack lines\n } else if (stack) {\n const firstNewlineIndex = stack.indexOf('\\n');\n const secondNewlineIndex =\n firstNewlineIndex === -1 ? -1 : stack.indexOf('\\n', firstNewlineIndex + 1);\n const stackWithoutTwoTopLines =\n secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1);\n\n if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) {\n err.stack += '\\n' + stack;\n }\n }\n } catch (e) {\n // ignore the case where \"stack\" is an un-writable property\n }\n }\n\n throw err;\n }\n }\n\n _request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n const { transitional, paramsSerializer, headers } = config;\n\n if (transitional !== undefined) {\n validator.assertOptions(\n transitional,\n {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean),\n legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),\n advertiseZstdAcceptEncoding: validators.transitional(validators.boolean),\n validateStatusUndefinedResolves: validators.transitional(validators.boolean),\n },\n false\n );\n }\n\n if (paramsSerializer != null) {\n if (utils.isFunction(paramsSerializer)) {\n config.paramsSerializer = {\n serialize: paramsSerializer,\n };\n } else {\n validator.assertOptions(\n paramsSerializer,\n {\n encode: validators.function,\n serialize: validators.function,\n },\n true\n );\n }\n }\n\n // Set config.allowAbsoluteUrls\n if (config.allowAbsoluteUrls !== undefined) {\n // do nothing\n } else if (this.defaults.allowAbsoluteUrls !== undefined) {\n config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;\n } else {\n config.allowAbsoluteUrls = true;\n }\n\n validator.assertOptions(\n config,\n {\n baseUrl: validators.spelling('baseURL'),\n withXsrfToken: validators.spelling('withXSRFToken'),\n },\n true\n );\n\n // Set config.method\n config.method = (config.method || this.defaults.method || 'get').toLowerCase();\n\n // Flatten headers\n let contextHeaders = headers && utils.merge(headers.common, headers[config.method]);\n\n headers &&\n utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => {\n delete headers[method];\n });\n\n config.headers = AxiosHeaders.concat(contextHeaders, headers);\n\n // filter out skipped interceptors\n const requestInterceptorChain = [];\n let synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n const transitional = config.transitional || transitionalDefaults;\n const legacyInterceptorReqResOrdering =\n transitional && transitional.legacyInterceptorReqResOrdering;\n\n if (legacyInterceptorReqResOrdering) {\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n } else {\n requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n }\n });\n\n const responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n let promise;\n let i = 0;\n let len;\n\n if (!synchronousRequestInterceptors) {\n const chain = [dispatchRequest.bind(this), undefined];\n chain.unshift(...requestInterceptorChain);\n chain.push(...responseInterceptorChain);\n len = chain.length;\n\n promise = Promise.resolve(config);\n\n while (i < len) {\n promise = promise.then(chain[i++], chain[i++]);\n }\n\n return promise;\n }\n\n len = requestInterceptorChain.length;\n\n let newConfig = config;\n\n while (i < len) {\n const onFulfilled = requestInterceptorChain[i++];\n const onRejected = requestInterceptorChain[i++];\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected.call(this, error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest.call(this, newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n i = 0;\n len = responseInterceptorChain.length;\n\n while (i < len) {\n promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);\n }\n\n return promise;\n }\n\n getUri(config) {\n config = mergeConfig(this.defaults, config);\n const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config);\n return buildURL(fullPath, config.params, config.paramsSerializer);\n }\n}\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function (url, config) {\n return this.request(\n mergeConfig(config || {}, {\n method,\n url,\n data: config && utils.hasOwnProp(config, 'data') ? config.data : undefined,\n })\n );\n };\n});\n\nutils.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) {\n function generateHTTPMethod(isForm) {\n return function httpMethod(url, data, config) {\n return this.request(\n mergeConfig(config || {}, {\n method,\n headers: isForm\n ? {\n 'Content-Type': 'multipart/form-data',\n }\n : {},\n url,\n data,\n })\n );\n };\n }\n\n Axios.prototype[method] = generateHTTPMethod();\n\n // QUERY is a safe/idempotent read method; multipart form bodies don't fit\n // its semantics, so no queryForm shorthand is generated.\n if (method !== 'query') {\n Axios.prototype[method + 'Form'] = generateHTTPMethod(true);\n }\n});\n\nexport default Axios;\n","'use strict';\n\nimport CanceledError from './CanceledError.js';\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @param {Function} executor The executor function.\n *\n * @returns {CancelToken}\n */\nclass CancelToken {\n constructor(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n let resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n const token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then((cancel) => {\n if (!token._listeners) return;\n\n let i = token._listeners.length;\n\n while (i-- > 0) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = (onfulfilled) => {\n let _resolve;\n // eslint-disable-next-line func-names\n const promise = new Promise((resolve) => {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message, config, request) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new CanceledError(message, config, request);\n resolvePromise(token.reason);\n });\n }\n\n /**\n * Throws a `CanceledError` if cancellation has been requested.\n */\n throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n }\n\n /**\n * Subscribe to the cancel signal\n */\n\n subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n }\n\n /**\n * Unsubscribe from the cancel signal\n */\n\n unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n const index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n }\n\n toAbortSignal() {\n const controller = new AbortController();\n\n const abort = (err) => {\n controller.abort(err);\n };\n\n this.subscribe(abort);\n\n controller.signal.unsubscribe = () => this.unsubscribe(abort);\n\n return controller.signal;\n }\n\n /**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\n static source() {\n let cancel;\n const token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token,\n cancel,\n };\n }\n}\n\nexport default CancelToken;\n","const HttpStatusCode = {\n Continue: 100,\n SwitchingProtocols: 101,\n Processing: 102,\n EarlyHints: 103,\n Ok: 200,\n Created: 201,\n Accepted: 202,\n NonAuthoritativeInformation: 203,\n NoContent: 204,\n ResetContent: 205,\n PartialContent: 206,\n MultiStatus: 207,\n AlreadyReported: 208,\n ImUsed: 226,\n MultipleChoices: 300,\n MovedPermanently: 301,\n Found: 302,\n SeeOther: 303,\n NotModified: 304,\n UseProxy: 305,\n Unused: 306,\n TemporaryRedirect: 307,\n PermanentRedirect: 308,\n BadRequest: 400,\n Unauthorized: 401,\n PaymentRequired: 402,\n Forbidden: 403,\n NotFound: 404,\n MethodNotAllowed: 405,\n NotAcceptable: 406,\n ProxyAuthenticationRequired: 407,\n RequestTimeout: 408,\n Conflict: 409,\n Gone: 410,\n LengthRequired: 411,\n PreconditionFailed: 412,\n PayloadTooLarge: 413,\n UriTooLong: 414,\n UnsupportedMediaType: 415,\n RangeNotSatisfiable: 416,\n ExpectationFailed: 417,\n ImATeapot: 418,\n MisdirectedRequest: 421,\n UnprocessableEntity: 422,\n Locked: 423,\n FailedDependency: 424,\n TooEarly: 425,\n UpgradeRequired: 426,\n PreconditionRequired: 428,\n TooManyRequests: 429,\n RequestHeaderFieldsTooLarge: 431,\n UnavailableForLegalReasons: 451,\n InternalServerError: 500,\n NotImplemented: 501,\n BadGateway: 502,\n ServiceUnavailable: 503,\n GatewayTimeout: 504,\n HttpVersionNotSupported: 505,\n VariantAlsoNegotiates: 506,\n InsufficientStorage: 507,\n LoopDetected: 508,\n NotExtended: 510,\n NetworkAuthenticationRequired: 511,\n WebServerIsDown: 521,\n ConnectionTimedOut: 522,\n OriginIsUnreachable: 523,\n TimeoutOccurred: 524,\n SslHandshakeFailed: 525,\n InvalidSslCertificate: 526,\n};\n\nObject.entries(HttpStatusCode).forEach(([key, value]) => {\n HttpStatusCode[value] = key;\n});\n\nexport default HttpStatusCode;\n","'use strict';\n\nimport utils from './utils.js';\nimport bind from './helpers/bind.js';\nimport Axios from './core/Axios.js';\nimport mergeConfig from './core/mergeConfig.js';\nimport defaults from './defaults/index.js';\nimport formDataToJSON from './helpers/formDataToJSON.js';\nimport CanceledError from './cancel/CanceledError.js';\nimport CancelToken from './cancel/CancelToken.js';\nimport isCancel from './cancel/isCancel.js';\nimport { VERSION } from './env/data.js';\nimport toFormData from './helpers/toFormData.js';\nimport AxiosError from './core/AxiosError.js';\nimport spread from './helpers/spread.js';\nimport isAxiosError from './helpers/isAxiosError.js';\nimport AxiosHeaders from './core/AxiosHeaders.js';\nimport adapters from './adapters/adapters.js';\nimport HttpStatusCode from './helpers/HttpStatusCode.js';\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n *\n * @returns {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n const context = new Axios(defaultConfig);\n const instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context, { allOwnKeys: true });\n\n // Copy context to instance\n utils.extend(instance, context, null, { allOwnKeys: true });\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nconst axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.CanceledError = CanceledError;\naxios.CancelToken = CancelToken;\naxios.isCancel = isCancel;\naxios.VERSION = VERSION;\naxios.toFormData = toFormData;\n\n// Expose AxiosError class\naxios.AxiosError = AxiosError;\n\n// alias for CanceledError for backward compatibility\naxios.Cancel = axios.CanceledError;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\n\naxios.spread = spread;\n\n// Expose isAxiosError\naxios.isAxiosError = isAxiosError;\n\n// Expose mergeConfig\naxios.mergeConfig = mergeConfig;\n\naxios.AxiosHeaders = AxiosHeaders;\n\naxios.formToJSON = (thing) => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);\n\naxios.getAdapter = adapters.getAdapter;\n\naxios.HttpStatusCode = HttpStatusCode;\n\naxios.default = axios;\n\n// this module should only have a default export\nexport default axios;\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * const args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n *\n * @returns {Function}\n */\nexport default function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n *\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nexport default function isAxiosError(payload) {\n return utils.isObject(payload) && payload.isAxiosError === true;\n}\n"],"names":["bind","fn","thisArg","apply","arguments","cache","toString","Object","prototype","getPrototypeOf","iterator","Symbol","toStringTag","hasOwnProperty","obj","prop","call","hasOwnInPrototypeChain","thing","seen","indexOf","push","kindOf","create","str","slice","toLowerCase","kindOfTest","type","typeOfTest","_typeof","isArray","Array","isUndefined","isBuffer","val","constructor","isFunction","isArrayBuffer","isString","isNumber","isObject","isPlainObject","isDate","isFile","isBlob","isFileList","G","globalThis","self","window","global","FormDataCtor","FormData","undefined","isURLSearchParams","_map2","_slicedToArray","map","isReadableStream","isRequest","isResponse","isHeaders","forEach","i","l","_ref2$allOwnKeys","length","allOwnKeys","key","keys","getOwnPropertyNames","len","findKey","_key","_global","isContextDefined","context","TypedArray","isTypedArray","Uint8Array","isHTMLForm","propertyIsEnumerable","isRegExp","reduceDescriptors","reducer","descriptors","getOwnPropertyDescriptors","reducedDescriptors","descriptor","name","ret","defineProperties","setImmediateSupported","postMessageSupported","token","callbacks","isAsyncFn","_setImmediate","setImmediate","postMessage","concat","Math","random","addEventListener","_ref5","source","data","shift","cb","setTimeout","asap","queueMicrotask","process","nextTick","isIterable","utils$1","isFormData","proto","append","kind","isArrayBufferView","ArrayBuffer","isView","buffer","isBoolean","isEmptyObject","e","isReactNativeBlob","value","uri","isReactNative","formData","getParts","isStream","pipe","merge","_ref3","this","caseless","skipUndefined","result","assignValue","targetKey","existing","symbols","getOwnPropertySymbols","j","symbol","extend","a","b","defineProperty","__proto__","writable","enumerable","configurable","trim","replace","stripBOM","content","charCodeAt","inherits","superConstructor","props","assign","toFlatObject","sourceObj","destObj","filter","propFilter","merged","endsWith","searchString","position","String","lastIndex","toArray","arr","forEachEntry","_iterator","next","done","pair","matchAll","regExp","matches","exec","hasOwnProp","getSafeProp","freezeMethods","includes","set","Error","toObjectSet","arrayOrString","delimiter","define","split","toCamelCase","m","p1","p2","toUpperCase","noop","toFiniteNumber","defaultValue","Number","isFinite","isSpecCompliantForm","toJSONObject","visited","WeakSet","visit","has","add","target","reducedValue","isThenable","then","isSafeIterable","ignoreDuplicateOf","utils","INVALID_UNICODE_HEADER_VALUE_CHARS","RegExp","INVALID_BYTE_STRING_HEADER_VALUE_CHARS","sanitizeValue","invalidChars","item","start","end","code","trimSPorHTAB","toByteStringHeaderObject","headers","byteStringHeaders","toJSON","header","sanitizeByteStringHeaderValue","$internals","normalizeHeader","normalizeValue","sanitizeHeaderValue","matchHeaderValue","isHeaderNameFilter","test","AxiosHeaders","_createClass","_classCallCheck","valueOrRewrite","rewrite","setHeader","_value","_header","_rewrite","lHeader","setHeaders","rawHeaders","parsed","line","substring","parseHeaders","dest","_step","_createForOfIteratorHelper","s","n","entry","TypeError","_toConsumableArray","err","f","parser","match","tokens","tokensRE","parseTokens","matcher","deleted","deleteHeader","format","normalized","w","char","formatHeader","_this$constructor","_len","targets","asStrings","join","entries","_ref","_ref2","get","first","computed","_len2","_key2","accessors","defineAccessor","accessorName","methodName","arg1","arg2","arg3","buildAccessors","accessor","mapped","headerValue","redactConfig","config","redactKeys","lowerKeys","Set","k","v","hasOwnOrPrototypeToJSON","pop","_i","_Object$entries","_Object$entries$_i","AxiosError","_Error","message","request","response","_this","_callSuper","isAxiosError","status","_inherits","redact","serializedConfig","description","number","fileName","lineNumber","columnNumber","stack","error","customProps","axiosError","_wrapNativeSuper","ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ECONNREFUSED","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL","ERR_FORM_DATA_DEPTH_EXCEEDED","isVisitable","removeBrackets","renderKey","path","dots","predicates","toFormData","options","metaTokens","indexes","option","visitor","defaultVisitor","_Blob","Blob","maxDepth","useBlob","convertValue","toISOString","Buffer","from","throwIfMaxDepthExceeded","depth","Infinity","JSON","stringify","ancestors","currentValue","stringifyWithDepthLimit","some","isFlatArray","el","index","exposedHelpers","build","encode","charMap","encodeURIComponent","AxiosURLSearchParams","params","_pairs","buildURL","url","serializedParams","_options","serialize","_encode","serializeFn","hashmarkIndex","encoder","InterceptorManager","handlers","fulfilled","rejected","synchronous","runWhen","id","h","transitionalDefaults","silentJSONParsing","forcedJSONParsing","clarifyTimeoutError","legacyInterceptorReqResOrdering","advertiseZstdAcceptEncoding","validateStatusUndefinedResolves","platform$1","isBrowser","classes","URLSearchParams","protocols","hasBrowserEnv","document","_navigator","navigator","hasStandardBrowserEnv","product","hasStandardBrowserWebWorkerEnv","WorkerGlobalScope","importScripts","origin","location","href","platform","_objectSpread","throwIfDepthExceeded","formDataToJSON","buildPath","isNumericKey","isLast","arrayToObject","pattern","parsePropPath","own","defaults","transitional","adapter","transformRequest","contentType","getContentType","hasJSONContentType","isObjectPayload","setContentType","formSerializer","helpers","isNode","toURLEncodedForm","env","_FormData","rawValue","parse","stringifySafely","transformResponse","responseType","JSONRequested","strictJSONParsing","timeout","xsrfCookieName","xsrfHeaderName","maxContentLength","maxBodyLength","validateStatus","common","Accept","transformData","fns","normalize","isCancel","__CANCEL__","method","CanceledError","_AxiosError","settle","resolve","reject","progressEventReducer","listener","isDownloadStream","freq","bytesNotified","_speedometer","samplesCount","min","firstSampleTS","bytes","timestamps","head","tail","chunkLength","now","Date","startedAt","bytesCount","passed","round","speedometer","lastArgs","timer","timestamp","threshold","invoke","args","clearTimeout","throttle","loaded","rawLoaded","total","lengthComputable","progressBytes","max","rate","_defineProperty","progress","estimated","event","progressEventDecorator","throttled","asyncDecorator","isURLSameOrigin","isMSIE","URL","protocol","host","port","userAgent","cookies","write","expires","domain","secure","sameSite","cookie","toUTCString","read","eq","decodeURIComponent","remove","malformedHttpProtocol","httpProtocolControlCharacters","assertValidHttpProtocolURL","stripLeadingC0ControlOrSpace","normalizeURLForProtocolCheck","buildFullPath","baseURL","requestedURL","allowAbsoluteUrls","isRelativeUrl","relativeURL","combineURLs","headersToObject","mergeConfig","config1","config2","getMergedValue","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","paramsSerializer","timeoutMessage","withCredentials","withXSRFToken","onUploadProgress","onDownloadProgress","decompress","beforeRedirect","transport","httpAgent","httpsAgent","cancelToken","socketPath","allowedSocketPaths","responseEncoding","configValue","transitional2","transitional1","getMergedTransitionalOption","FORM_DATA_CONTENT_HEADERS","resolveConfig","newConfig","auth","username","password","btoa","_","hex","fromCharCode","parseInt","getHeaders","formHeaders","policy","setFormDataHeaders","xsrfValue","xhrAdapter","XMLHttpRequest","Promise","onCanceled","uploadThrottled","downloadThrottled","flushUpload","flushDownload","_config","requestData","requestHeaders","unsubscribe","signal","removeEventListener","onloadend","responseHeaders","getAllResponseHeaders","responseText","statusText","open","onreadystatechange","readyState","responseURL","startsWith","onabort","onerror","msg","ontimeout","timeoutErrorMessage","setRequestHeader","_progressEventReducer2","upload","_progressEventReducer4","cancel","abort","subscribe","aborted","send","composeSignals","signals","Boolean","controller","AbortController","reason","once","streamChunk","_regenerator","chunk","chunkSize","pos","_context","byteLength","readBytes","_wrapAsyncGenerator","_callee","iterable","_iteratorAbruptCompletion","_didIteratorError","_iteratorError","_t","_context2","p","_asyncIterator","readStream","_awaitAsyncGenerator","d","_regeneratorValues","_asyncGeneratorDelegate","_x","_x2","_callee2","stream","reader","_yield$_awaitAsyncGen","_context3","asyncIterator","getReader","_x3","trackStream","onProgress","onFinish","_onFinish","ReadableStream","pull","_asyncToGenerator","_callee3","_yield$iterator$next","_done","loadedBytes","_t2","_context4","close","enqueue","highWaterMark","isHexDigit","charCode","isPercentEncodedByte","estimateDataURLDecodedBytes","comma","meta","body","effectiveLen","pad","idx","tailIsPct3D","floor","c","VERSION","encodeUTF8","decodeURIComponentSafe","maybeWithAuthCredentials","protocolIndex","urlToCheck","factory","globalObject","TextEncoder","_env","Request","Response","envFetch","fetch","isFetchSupported","isRequestSupported","isResponseSupported","isReadableStreamSupported","encodeText","arrayBuffer","supportsRequestStream","duplexAccessed","duplex","hasContentType","supportsResponseStream","resolvers","res","getBodyLength","_request","size","resolveBodyLength","getContentLength","_x4","_ref4","_callee4","_resolveConfig","_resolveConfig$withCr","fetchOptions","hasMaxContentLength","hasMaxBodyLength","_fetch","composedSignal","requestContentLength","pendingBodyError","maxBodyLengthError","configAuth","parsedURL","urlUsername","urlPassword","outboundLength","mustEnforceStreamBody","trackRequestStream","contentTypeHeader","_ref6","flush","isCredentialsSupported","resolvedOptions","declaredLength","isStreamResponse","responseContentLength","_ref7","_ref8","_onProgress","_flush","onChunkProgress","responseData","materializedSize","canceledError","networkError","_t3","_t4","toAbortSignal","credentials","cause","_x5","seedCache","Map","getFetch","seed","seeds","knownAdapters","http","xhr","fetchAdapter","renderReason","isResolvedHandle","adapters","getAdapter","nameOrAdapter","rejectedReasons","reasons","state","throwIfCancellationRequested","throwIfRequested","dispatchRequest","validators","deprecatedWarnings","validator","version","formatMessage","opt","desc","opts","console","warn","spelling","correctSpelling","assertOptions","schema","allowUnknown","Axios","instanceConfig","interceptors","_request2","configOrUrl","dummy","firstNewlineIndex","secondNewlineIndex","stackWithoutTwoTopLines","captureStackTrace","baseUrl","withXsrfToken","contextHeaders","requestInterceptorChain","synchronousRequestInterceptors","interceptor","unshift","promise","responseInterceptorChain","chain","onFulfilled","onRejected","generateHTTPMethod","isForm","CancelToken","executor","resolvePromise","_listeners","onfulfilled","_resolve","splice","HttpStatusCode","Continue","SwitchingProtocols","Processing","EarlyHints","Ok","Created","Accepted","NonAuthoritativeInformation","NoContent","ResetContent","PartialContent","MultiStatus","AlreadyReported","ImUsed","MultipleChoices","MovedPermanently","Found","SeeOther","NotModified","UseProxy","Unused","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","LengthRequired","PreconditionFailed","PayloadTooLarge","UriTooLong","UnsupportedMediaType","RangeNotSatisfiable","ExpectationFailed","ImATeapot","MisdirectedRequest","UnprocessableEntity","Locked","FailedDependency","TooEarly","UpgradeRequired","PreconditionRequired","TooManyRequests","RequestHeaderFieldsTooLarge","UnavailableForLegalReasons","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpVersionNotSupported","VariantAlsoNegotiates","InsufficientStorage","LoopDetected","NotExtended","NetworkAuthenticationRequired","WebServerIsDown","ConnectionTimedOut","OriginIsUnreachable","TimeoutOccurred","SslHandshakeFailed","InvalidSslCertificate","axios","createInstance","defaultConfig","instance","Cancel","all","promises","spread","callback","payload","formToJSON"],"mappings":";;;kgLASe,SAASA,EAAKC,EAAIC,GAC/B,OAAO,WACL,OAAOD,EAAGE,MAAMD,EAASE,UAC3B,CACF,mSCPA,IAuDiBC,EAvDTC,EAAaC,OAAOC,UAApBF,SACAG,EAAmBF,OAAnBE,eACAC,EAA0BC,OAA1BD,SAAUE,EAAgBD,OAAhBC,YAGZC,EACJ,WAAA,IAAGA,EAGHN,OAAOC,UAHJK,eAAc,OACjB,SAACC,EAAKC,GAAI,OACRF,EAAeG,KAAKF,EAAKC,EAAK,CAAA,CAFhC,GAiBIE,EAAyB,SAACC,EAAOH,GAIrC,IAHA,IAAID,EAAMI,EACJC,EAAO,GAEC,MAAPL,GAAeA,IAAQP,OAAOC,WAAW,CAC9C,IAA0B,IAAtBW,EAAKC,QAAQN,GACf,OAAO,EAIT,GAFAK,EAAKE,KAAKP,GAEND,EAAeC,EAAKC,GACtB,OAAO,EAETD,EAAML,EAAeK,EACvB,CACA,OAAO,CACT,EAgBMQ,GAAWjB,EAGdE,OAAOgB,OAAO,MAHU,SAACL,GAC1B,IAAMM,EAAMlB,EAASU,KAAKE,GAC1B,OAAOb,EAAMmB,KAASnB,EAAMmB,GAAOA,EAAIC,MAAM,MAAOC,cACtD,GAEMC,EAAa,SAACC,GAElB,OADAA,EAAOA,EAAKF,cACL,SAACR,GAAK,OAAKI,EAAOJ,KAAWU,CAAI,CAC1C,EAEMC,EAAa,SAACD,GAAI,OAAK,SAACV,GAAK,OAAKY,EAAOZ,KAAUU,CAAI,CAAA,EASrDG,EAAYC,MAAZD,QASFE,EAAcJ,EAAW,aAS/B,SAASK,EAASC,GAChB,OACU,OAARA,IACCF,EAAYE,IACO,OAApBA,EAAIC,cACHH,EAAYE,EAAIC,cACjBC,EAAWF,EAAIC,YAAYF,WAC3BC,EAAIC,YAAYF,SAASC,EAE7B,CASA,IAAMG,EAAgBX,EAAW,eA0BjC,IAAMY,EAAWV,EAAW,UAQtBQ,EAAaR,EAAW,YASxBW,EAAWX,EAAW,UAStBY,EAAW,SAACvB,GAAK,OAAe,OAAVA,GAAmC,WAAjBY,EAAOZ,EAAkB,EAiBjEwB,EAAgB,SAACP,GACrB,IAAKM,EAASN,GACZ,OAAO,EAGT,IAAM3B,EAAYC,EAAe0B,GACjC,QACiB,OAAd3B,GACCA,IAAcD,OAAOC,WACS,OAA9BC,EAAeD,IAIhBS,EAAuBkB,EAAKvB,IAC5BK,EAAuBkB,EAAKzB,GAEjC,EA8BMiC,EAAShB,EAAW,QASpBiB,EAASjB,EAAW,QAkCpBkB,EAASlB,EAAW,QASpBmB,EAAanB,EAAW,YA0B9B,IAAMoB,GAPsB,oBAAfC,WAAmCA,WAC1B,oBAATC,KAA6BA,KAClB,oBAAXC,OAA+BA,OACpB,oBAAXC,OAA+BA,OACnC,CAAA,EAIHC,QAAqC,IAAfL,GAAEM,SAA2BN,GAAEM,cAAWC,EAwBhEC,GAAoB5B,EAAW,mBAOpB6B,GAAAC,EAL4C,CAC3D,iBACA,UACA,WACA,WACAC,IAAI/B,GAAW,GALVgC,GAAgBH,GAAA,GAAEI,GAASJ,GAAA,GAAEK,GAAUL,GAAA,GAAEM,GAASN,GAAA,GAiCzD,SAASO,GAAQjD,EAAKb,GAAiC,IAMjD+D,EACAC,EAP+CC,GAAE9D,UAAA+D,OAAA,QAAAb,IAAAlD,UAAA,GAAAA,UAAA,GAAJ,CAAA,GAAvBgE,WAAAA,WAAUF,GAAQA,EAE5C,GAAIpD,QAaJ,GALmB,WAAfgB,EAAOhB,KAETA,EAAM,CAACA,IAGLiB,EAAQjB,GAEV,IAAKkD,EAAI,EAAGC,EAAInD,EAAIqD,OAAQH,EAAIC,EAAGD,IACjC/D,EAAGe,KAAK,KAAMF,EAAIkD,GAAIA,EAAGlD,OAEtB,CAEL,GAAIoB,EAASpB,GACX,OAIF,IAEIuD,EAFEC,EAAOF,EAAa7D,OAAOgE,oBAAoBzD,GAAOP,OAAO+D,KAAKxD,GAClE0D,EAAMF,EAAKH,OAGjB,IAAKH,EAAI,EAAGA,EAAIQ,EAAKR,IACnBK,EAAMC,EAAKN,GACX/D,EAAGe,KAAK,KAAMF,EAAIuD,GAAMA,EAAKvD,EAEjC,CACF,CAUA,SAAS2D,GAAQ3D,EAAKuD,GACpB,GAAInC,EAASpB,GACX,OAAO,KAGTuD,EAAMA,EAAI3C,cAIV,IAHA,IAEIgD,EAFEJ,EAAO/D,OAAO+D,KAAKxD,GACrBkD,EAAIM,EAAKH,OAENH,KAAM,GAEX,GAAIK,KADJK,EAAOJ,EAAKN,IACKtC,cACf,OAAOgD,EAGX,OAAO,IACT,CAEA,IAAMC,GAEsB,oBAAf3B,WAAmCA,WACvB,oBAATC,KAAuBA,KAAyB,oBAAXC,OAAyBA,OAASC,OAGjFyB,GAAmB,SAACC,GAAO,OAAM5C,EAAY4C,IAAYA,IAAYF,EAAO,EAiFlF,IAsJuBG,GAAjBC,IAAiBD,GAKE,oBAAfE,YAA8BvE,EAAeuE,YAH9C,SAAC9D,GACN,OAAO4D,IAAc5D,aAAiB4D,EACxC,GA4CIG,GAAatD,EAAW,mBAQtBuD,GAAyB3E,OAAOC,UAAhC0E,qBASFC,GAAWxD,EAAW,UAEtByD,GAAoB,SAACtE,EAAKuE,GAC9B,IAAMC,EAAc/E,OAAOgF,0BAA0BzE,GAC/C0E,EAAqB,CAAA,EAE3BzB,GAAQuB,EAAa,SAACG,EAAYC,GAChC,IAAIC,GAC2C,KAA1CA,EAAMN,EAAQI,EAAYC,EAAM5E,MACnC0E,EAAmBE,GAAQC,GAAOF,EAEtC,GAEAlF,OAAOqF,iBAAiB9E,EAAK0E,EAC/B,EAmFA,IAmEwBK,GAAuBC,GAMvCC,GAAOC,GA/BTC,GAAYtE,EAAW,iBAyBvBuE,IAAkBL,GAuBG,mBAAjBM,aAvBqCL,GAuBRzD,EAAWsC,GAAQyB,aAtBpDP,GACKM,aAGFL,IACDC,GAeD,SAAAM,OAAWC,KAAKC,UAfRP,GAeoB,GAd3BrB,GAAQ6B,iBACN,UACA,SAAAC,GAAsB,IAAnBC,EAAMD,EAANC,OAAQC,EAAIF,EAAJE,KACLD,IAAW/B,IAAWgC,IAASZ,IACjCC,GAAU7B,QAAU6B,GAAUY,OAAVZ,EAExB,GACA,GAGK,SAACa,GACNb,GAAU3E,KAAKwF,GACflC,GAAQyB,YAAYL,GAAO,IAC7B,GAEF,SAACc,GAAE,OAAKC,WAAWD,EAAG,GAStBE,GACsB,oBAAnBC,eACHA,eAAehH,KAAK2E,IACA,oBAAZsC,SAA2BA,QAAQC,UAAahB,GAIxDiB,GAAa,SAACjG,GAAK,OAAc,MAATA,GAAiBmB,EAAWnB,EAAMR,GAAU,EAgB1E0G,GAAe,CACbrF,QAAAA,EACAO,cAAAA,EACAJ,SAAAA,EACAmF,WAroBiB,SAACnG,GAClB,IAAKA,EAAO,OAAO,EACnB,GAAIkC,IAAgBlC,aAAiBkC,GAAc,OAAO,EAE1D,IAAMkE,EAAQ7G,EAAeS,GAC7B,IAAKoG,GAASA,IAAU/G,OAAOC,UAAW,OAAO,EACjD,IAAK6B,EAAWnB,EAAMqG,QAAS,OAAO,EACtC,IAAMC,EAAOlG,EAAOJ,GACpB,MACW,aAATsG,GAEU,WAATA,GAAqBnF,EAAWnB,EAAMZ,WAAkC,sBAArBY,EAAMZ,UAE9D,EAynBEmH,kBAj0BF,SAA2BtF,GAOzB,MAL2B,oBAAhBuF,aAA+BA,YAAYC,OAC3CD,YAAYC,OAAOxF,GAEnBA,GAAOA,EAAIyF,QAAUtF,EAAcH,EAAIyF,OAGpD,EA0zBErF,SAAAA,EACAC,SAAAA,EACAqF,UAjxBgB,SAAC3G,GAAK,OAAe,IAAVA,IAA4B,IAAVA,CAAe,EAkxB5DuB,SAAAA,EACAC,cAAAA,EACAoF,cAlvBoB,SAAC3F,GAErB,IAAKM,EAASN,IAAQD,EAASC,GAC7B,OAAO,EAGT,IACE,OAAmC,IAA5B5B,OAAO+D,KAAKnC,GAAKgC,QAAgB5D,OAAOE,eAAe0B,KAAS5B,OAAOC,SAChF,CAAE,MAAOuH,GAEP,OAAO,CACT,CACF,EAuuBEpE,iBAAAA,GACAC,UAAAA,GACAC,WAAAA,GACAC,UAAAA,GACA7B,YAAAA,EACAU,OAAAA,EACAC,OAAAA,EACAoF,kBA/sBwB,SAACC,GACzB,SAAUA,QAA8B,IAAdA,EAAMC,IAClC,EA8sBEC,cApsBoB,SAACC,GAAQ,OAAKA,QAAyC,IAAtBA,EAASC,QAAwB,EAqsBtFxF,OAAAA,EACAsC,SAAAA,GACA9C,WAAAA,EACAiG,SA7qBe,SAACnG,GAAG,OAAKM,EAASN,IAAQE,EAAWF,EAAIoG,KAAK,EA8qB7DhF,kBAAAA,GACAwB,aAAAA,GACAjC,WAAAA,EACAiB,QAAAA,GACAyE,MA3gBF,SAASA,IA2BP,IA1BA,IAAAC,EAAqC7D,GAAiB8D,OAASA,MAAS,CAAA,EAAhEC,EAAQF,EAARE,SAAUC,EAAaH,EAAbG,cACZC,EAAS,CAAA,EACTC,EAAc,SAAC3G,EAAKkC,GAExB,GAAY,cAARA,GAA+B,gBAARA,GAAiC,cAARA,EAApD,CAMA,IAAM0E,EAAaJ,GAA2B,iBAARtE,GAAoBI,GAAQoE,EAAQxE,IAASA,EAI7E2E,EAAWnI,EAAegI,EAAQE,GAAaF,EAAOE,QAAazF,EACrEZ,EAAcsG,IAAatG,EAAcP,GAC3C0G,EAAOE,GAAaP,EAAMQ,EAAU7G,GAC3BO,EAAcP,GACvB0G,EAAOE,GAAaP,EAAM,CAAA,EAAIrG,GACrBJ,EAAQI,GACjB0G,EAAOE,GAAa5G,EAAIV,QACdmH,GAAkB3G,EAAYE,KACxC0G,EAAOE,GAAa5G,EAhBtB,CAkBF,EAES6B,EAAI,EAAGC,EAAI7D,UAAK+D,OAAQH,EAAIC,EAAGD,IAAK,CAC3C,IAAM0C,EAAc1C,EAAC,GAAA5D,UAAA+D,QAADH,OAACV,EAAAlD,UAAD4D,GACpB,GAAK0C,IAAUxE,EAASwE,KAIxB3C,GAAQ2C,EAAQoC,GAEM,WAAlBhH,EAAO4E,KAAuB3E,EAAQ2E,IAK1C,IADA,IAAMuC,EAAU1I,OAAO2I,sBAAsBxC,GACpCyC,EAAI,EAAGA,EAAIF,EAAQ9E,OAAQgF,IAAK,CACvC,IAAMC,EAASH,EAAQE,GACnBjE,GAAqBlE,KAAK0F,EAAQ0C,IACpCN,EAAYpC,EAAO0C,GAASA,EAEhC,CACF,CACA,OAAOP,CACT,EA4dEQ,OA/ca,SAACC,EAAGC,EAAGrJ,GA0BpB,OAzBA6D,GACEwF,EACA,SAACpH,EAAKkC,GACAnE,GAAWmC,EAAWF,GACxB5B,OAAOiJ,eAAeF,EAAGjF,EAAK,CAG5BoF,UAAW,KACXxB,MAAOjI,EAAKmC,EAAKjC,GACjBwJ,UAAU,EACVC,YAAY,EACZC,cAAc,IAGhBrJ,OAAOiJ,eAAeF,EAAGjF,EAAK,CAC5BoF,UAAW,KACXxB,MAAO9F,EACPuH,UAAU,EACVC,YAAY,EACZC,cAAc,GAGpB,EACA,CAAExF,YAxBiDhE,UAAA+D,OAAA,QAAAb,IAAAlD,UAAA,GAAAA,UAAA,GAAP,CAAA,GAAfgE,aA0BxBkF,CACT,EAqbEO,KA1nBW,SAACrI,GACZ,OAAOA,EAAIqI,KAAOrI,EAAIqI,OAASrI,EAAIsI,QAAQ,qCAAsC,GACnF,EAynBEC,SA7ae,SAACC,GAIhB,OAH8B,QAA1BA,EAAQC,WAAW,KACrBD,EAAUA,EAAQvI,MAAM,IAEnBuI,CACT,EAyaEE,SA9Ze,SAAC9H,EAAa+H,EAAkBC,EAAO9E,GACtDlD,EAAY5B,UAAYD,OAAOgB,OAAO4I,EAAiB3J,UAAW8E,GAClE/E,OAAOiJ,eAAepH,EAAY5B,UAAW,cAAe,CAC1DiJ,UAAW,KACXxB,MAAO7F,EACPsH,UAAU,EACVC,YAAY,EACZC,cAAc,IAEhBrJ,OAAOiJ,eAAepH,EAAa,QAAS,CAC1CqH,UAAW,KACXxB,MAAOkC,EAAiB3J,YAE1B4J,GAAS7J,OAAO8J,OAAOjI,EAAY5B,UAAW4J,EAChD,EAiZEE,aAtYmB,SAACC,EAAWC,EAASC,EAAQC,GAChD,IAAIN,EACApG,EACAjD,EACE4J,EAAS,CAAA,EAIf,GAFAH,EAAUA,GAAW,CAAA,EAEJ,MAAbD,EAAmB,OAAOC,EAE9B,EAAG,CAGD,IADAxG,GADAoG,EAAQ7J,OAAOgE,oBAAoBgG,IACzBpG,OACHH,KAAM,GACXjD,EAAOqJ,EAAMpG,GACP0G,IAAcA,EAAW3J,EAAMwJ,EAAWC,IAAcG,EAAO5J,KACnEyJ,EAAQzJ,GAAQwJ,EAAUxJ,GAC1B4J,EAAO5J,IAAQ,GAGnBwJ,GAAuB,IAAXE,GAAoBhK,EAAe8J,EACjD,OAASA,KAAeE,GAAUA,EAAOF,EAAWC,KAAaD,IAAchK,OAAOC,WAEtF,OAAOgK,CACT,EA+WElJ,OAAAA,EACAK,WAAAA,EACAiJ,SAtWe,SAACpJ,EAAKqJ,EAAcC,GACnCtJ,EAAMuJ,OAAOvJ,SACI8B,IAAbwH,GAA0BA,EAAWtJ,EAAI2C,UAC3C2G,EAAWtJ,EAAI2C,QAEjB2G,GAAYD,EAAa1G,OACzB,IAAM6G,EAAYxJ,EAAIJ,QAAQyJ,EAAcC,GAC5C,WAAOE,GAAoBA,IAAcF,CAC3C,EA+VEG,QAtVc,SAAC/J,GACf,IAAKA,EAAO,OAAO,KACnB,GAAIa,EAAQb,GAAQ,OAAOA,EAC3B,IAAI8C,EAAI9C,EAAMiD,OACd,IAAK3B,EAASwB,GAAI,OAAO,KAEzB,IADA,IAAMkH,EAAM,IAAIlJ,MAAMgC,GACfA,KAAM,GACXkH,EAAIlH,GAAK9C,EAAM8C,GAEjB,OAAOkH,CACT,EA6UEC,aAnTmB,SAACrK,EAAKb,GAOzB,IANA,IAII4I,EAFEuC,GAFYtK,GAAOA,EAAIJ,IAEDM,KAAKF,IAIzB+H,EAASuC,EAAUC,UAAYxC,EAAOyC,MAAM,CAClD,IAAMC,EAAO1C,EAAOZ,MACpBhI,EAAGe,KAAKF,EAAKyK,EAAK,GAAIA,EAAK,GAC7B,CACF,EAySEC,SA/Re,SAACC,EAAQjK,GAIxB,IAHA,IAAIkK,EACER,EAAM,GAE4B,QAAhCQ,EAAUD,EAAOE,KAAKnK,KAC5B0J,EAAI7J,KAAKqK,GAGX,OAAOR,CACT,EAuREjG,WAAAA,GACApE,eAAAA,EACA+K,WAAY/K,EACZI,uBAAAA,EACA4K,YA56BkB,SAAC/K,EAAKC,GAAI,OACrB,MAAPD,GAAeG,EAAuBH,EAAKC,GAAQD,EAAIC,QAAQuC,CAAS,EA46BxE8B,kBAAAA,GACA0G,cApPoB,SAAChL,GACrBsE,GAAkBtE,EAAK,SAAC2E,EAAYC,GAElC,GAAIrD,EAAWvB,IAAQ,CAAC,YAAa,SAAU,UAAUiL,SAASrG,GAChE,OAAO,EAGT,IAAMuC,EAAQnH,EAAI4E,GAEbrD,EAAW4F,KAEhBxC,EAAWkE,YAAa,EAEpB,aAAclE,EAChBA,EAAWiE,UAAW,EAInBjE,EAAWuG,MACdvG,EAAWuG,IAAM,WACf,MAAMC,MAAM,qCAAuCvG,EAAO,IAC5D,GAEJ,EACF,EA6NEwG,YAnNkB,SAACC,EAAeC,GAClC,IAAMtL,EAAM,CAAA,EAENuL,EAAS,SAACnB,GACdA,EAAInH,QAAQ,SAACkE,GACXnH,EAAImH,IAAS,CACf,EACF,EAIA,OAFAlG,EAAQoK,GAAiBE,EAAOF,GAAiBE,EAAOtB,OAAOoB,GAAeG,MAAMF,IAE7EtL,CACT,EAwMEyL,YA1RkB,SAAC/K,GACnB,OAAOA,EAAIE,cAAcoI,QAAQ,wBAAyB,SAAkB0C,EAAGC,EAAIC,GACjF,OAAOD,EAAGE,cAAgBD,CAC5B,EACF,EAuREE,KAvMW,WAAO,EAwMlBC,eAtMqB,SAAC5E,EAAO6E,GAC7B,OAAgB,MAAT7E,GAAiB8E,OAAOC,SAAU/E,GAASA,GAAUA,EAAQ6E,CACtE,EAqMErI,QAAAA,GACAtB,OAAQwB,GACRC,iBAAAA,GACAqI,oBA/LF,SAA6B/L,GAC3B,SACEA,GACAmB,EAAWnB,EAAMqG,SACM,aAAvBrG,EAAMN,IACNM,EAAMR,GAEV,EAyLEwM,aAjLmB,SAACpM,GACpB,IAAMqM,EAAU,IAAIC,QAEdC,EAAQ,SAAC3G,GACb,GAAIjE,EAASiE,GAAS,CACpB,GAAIyG,EAAQG,IAAI5G,GACd,OAIF,GAAIxE,EAASwE,GACX,OAAOA,EAGT,KAAM,WAAYA,GAAS,CAEzByG,EAAQI,IAAI7G,GACZ,IAAM8G,EAASzL,EAAQ2E,GAAU,GAAK,CAAA,EAStC,OAPA3C,GAAQ2C,EAAQ,SAACuB,EAAO5D,GACtB,IAAMoJ,EAAeJ,EAAMpF,IAC1BhG,EAAYwL,KAAkBD,EAAOnJ,GAAOoJ,EAC/C,GAEAN,EAAO,OAAQzG,GAER8G,CACT,CACF,CAEA,OAAO9G,CACT,EAEA,OAAO2G,EAAMvM,EACf,EAgJEmF,UAAAA,GACAyH,WAjIiB,SAACxM,GAAK,OACvBA,IACCuB,EAASvB,IAAUmB,EAAWnB,KAC/BmB,EAAWnB,EAAMyM,OACjBtL,EAAWnB,EAAK,MAAO,EA8HvBiF,aAAcD,GACda,KAAAA,GACAI,WAAAA,GACAyG,eAjEqB,SAAC1M,GAAK,OAClB,MAATA,GAAiBD,EAAuBC,EAAOR,IAAayG,GAAWjG,EAAM,GCj7BzE2M,GAAoBC,GAAM5B,YAAY,CAC1C,MACA,gBACA,iBACA,eACA,OACA,UACA,OACA,OACA,oBACA,sBACA,gBACA,WACA,eACA,sBACA,UACA,cACA,eCUF,IAAM6B,GAAqC,IAAIC,OAAO,2CAA4C,KAE5FC,GAAyC,IAAID,OAAO,4CAA6C,KAEvG,SAASE,GAAcjG,EAAOkG,GAC5B,OAAIL,GAAM/L,QAAQkG,GACTA,EAAMvE,IAAI,SAAC0K,GAAI,OAAKF,GAAcE,EAAMD,EAAa,GAnChE,SAAsB3M,GAIpB,IAHA,IAAI6M,EAAQ,EACRC,EAAM9M,EAAI2C,OAEPkK,EAAQC,GAAK,CAClB,IAAMC,EAAO/M,EAAIyI,WAAWoE,GAE5B,GAAa,IAATE,GAA0B,KAATA,EACnB,MAGFF,GAAS,CACX,CAEA,KAAOC,EAAMD,GAAO,CAClB,IAAME,EAAO/M,EAAIyI,WAAWqE,EAAM,GAElC,GAAa,IAATC,GAA0B,KAATA,EACnB,MAGFD,GAAO,CACT,CAEA,OAAiB,IAAVD,GAAeC,IAAQ9M,EAAI2C,OAAS3C,EAAMA,EAAIC,MAAM4M,EAAOC,EACpE,CAaSE,CAAazD,OAAO9C,GAAO6B,QAAQqE,EAAc,IAC1D,CAQO,SAASM,GAAyBC,GACvC,IAAMC,EAAoBpO,OAAOgB,OAAO,MAMxC,OAJAuM,GAAM/J,QAAQ2K,EAAQE,SAAU,SAAC3G,EAAO4G,GACtCF,EAAkBE,GAPuB,SAAC5G,GAAK,OACjDiG,GAAcjG,EAAOgG,GAAuC,CAM9Ba,CAA8B7G,EAC5D,GAEO0G,CACT,CCrDA,IAAMI,GAAapO,OAAO,aAE1B,SAASqO,GAAgBH,GACvB,OAAOA,GAAU9D,OAAO8D,GAAQhF,OAAOnI,aACzC,CAEA,SAASuN,GAAehH,GACtB,OAAc,IAAVA,GAA4B,MAATA,EACdA,EAGF6F,GAAM/L,QAAQkG,GAASA,EAAMvE,IAAIuL,ID4BP,SAAChH,GAAK,OACvCiG,GAAcjG,EAAO8F,GAAmC,CC7BEmB,CAAoBnE,OAAO9C,GACvF,CAgBA,SAASkH,GAAiBtK,EAASoD,EAAO4G,EAAQpE,EAAQ2E,GACxD,OAAItB,GAAMzL,WAAWoI,GACZA,EAAOzJ,KAAK0H,KAAMT,EAAO4G,IAG9BO,IACFnH,EAAQ4G,GAGLf,GAAMvL,SAAS0F,GAEhB6F,GAAMvL,SAASkI,IACgB,IAA1BxC,EAAM7G,QAAQqJ,GAGnBqD,GAAM3I,SAASsF,GACVA,EAAO4E,KAAKpH,QADrB,OANA,EASF,CAyBC,IAEKqH,GAAY,WAGf,OAAAC,EAFD,SAAAD,EAAYZ,GAASc,OAAAF,GACnBZ,GAAWhG,KAAKsD,IAAI0C,EACtB,EAAC,CAAA,CAAArK,IAAA,MAAA4D,MAED,SAAI4G,EAAQY,EAAgBC,GAC1B,IAAMzM,EAAOyF,KAEb,SAASiH,EAAUC,EAAQC,EAASC,GAClC,IAAMC,EAAUf,GAAgBa,GAEhC,GAAKE,EAAL,CAIA,IAAM1L,EAAMyJ,GAAMrJ,QAAQxB,EAAM8M,KAG7B1L,QACaf,IAAdL,EAAKoB,KACQ,IAAbyL,QACcxM,IAAbwM,IAAwC,IAAd7M,EAAKoB,MAEhCpB,EAAKoB,GAAOwL,GAAWZ,GAAeW,GAVxC,CAYF,CAEA,IAAMI,EAAa,SAACtB,EAASoB,GAAQ,OACnChC,GAAM/J,QAAQ2K,EAAS,SAACkB,EAAQC,GAAO,OAAKF,EAAUC,EAAQC,EAASC,EAAS,EAAC,EAEnF,GAAIhC,GAAMpL,cAAcmM,IAAWA,aAAkBnG,KAAKtG,YACxD4N,EAAWnB,EAAQY,QACd,GAAI3B,GAAMvL,SAASsM,KAAYA,EAASA,EAAOhF,UA/EvB,iCAAiCwF,KA+EoBR,EA/EXhF,QAgFvEmG,EFxEN,SAAgBC,GACd,IACI5L,EACAlC,EACA6B,EAHEkM,EAAS,CAAA,EA0Bf,OArBAD,GACEA,EAAW3D,MAAM,MAAMvI,QAAQ,SAAgBoM,GAC7CnM,EAAImM,EAAK/O,QAAQ,KACjBiD,EAAM8L,EAAKC,UAAU,EAAGpM,GAAG6F,OAAOnI,cAClCS,EAAMgO,EAAKC,UAAUpM,EAAI,GAAG6F,QAEvBxF,GAAQ6L,EAAO7L,IAAQwJ,GAAkBxJ,KAIlC,eAARA,EACE6L,EAAO7L,GACT6L,EAAO7L,GAAKhD,KAAKc,GAEjB+N,EAAO7L,GAAO,CAAClC,GAGjB+N,EAAO7L,GAAO6L,EAAO7L,GAAO6L,EAAO7L,GAAO,KAAOlC,EAAMA,EAE3D,GAEK+N,CACR,CE4CgBG,CAAaxB,GAASY,QAC5B,GAAI3B,GAAMrL,SAASoM,IAAWf,GAAMF,eAAeiB,GAAS,CACjE,IACEyB,EACAjM,EACwBkM,EAHtBzP,EAAMP,OAAOgB,OAAO,MAElB6J,omBAAAoF,CACc3B,GAAM,IAA1B,IAAAzD,EAAAqF,MAAAF,EAAAnF,EAAAsF,KAAApF,MAA4B,CAAA,IAAjBqF,EAAKJ,EAAAtI,MACd,IAAK6F,GAAM/L,QAAQ4O,GACjB,MAAM,IAAIC,UAAU,gDAGtBvM,EAAMsM,EAAM,GAER7C,GAAMlC,WAAW9K,EAAKuD,IACxBiM,EAAOxP,EAAIuD,GACXvD,EAAIuD,GAAOyJ,GAAM/L,QAAQuO,GAAK,GAAAjK,OAAAwK,EAAOP,GAAI,CAAEK,EAAM,KAAM,CAACL,EAAMK,EAAM,KAEpE7P,EAAIuD,GAAOsM,EAAM,EAErB,CAAC,CAAA,MAAAG,GAAA1F,EAAArD,EAAA+I,EAAA,CAAA,QAAA1F,EAAA2F,GAAA,CAEDf,EAAWlP,EAAK2O,EAClB,MACY,MAAVZ,GAAkBc,EAAUF,EAAgBZ,EAAQa,GAGtD,OAAOhH,IACT,GAAC,CAAArE,IAAA,MAAA4D,MAED,SAAI4G,EAAQmC,GAGV,GAFAnC,EAASG,GAAgBH,GAEb,CACV,IAAMxK,EAAMyJ,GAAMrJ,QAAQiE,KAAMmG,GAEhC,GAAIxK,EAAK,CACP,IAAM4D,EAAQS,KAAKrE,GAEnB,IAAK2M,EACH,OAAO/I,EAGT,IAAe,IAAX+I,EACF,OAtIV,SAAqBxP,GAKnB,IAJA,IAEIyP,EAFEC,EAAS3Q,OAAOgB,OAAO,MACvB4P,EAAW,mCAGTF,EAAQE,EAASxF,KAAKnK,IAC5B0P,EAAOD,EAAM,IAAMA,EAAM,GAG3B,OAAOC,CACT,CA4HiBE,CAAYnJ,GAGrB,GAAI6F,GAAMzL,WAAW2O,GACnB,OAAOA,EAAOhQ,KAAK0H,KAAMT,EAAO5D,GAGlC,GAAIyJ,GAAM3I,SAAS6L,GACjB,OAAOA,EAAOrF,KAAK1D,GAGrB,MAAM,IAAI2I,UAAU,yCACtB,CACF,CACF,GAAC,CAAAvM,IAAA,MAAA4D,MAED,SAAI4G,EAAQwC,GAGV,GAFAxC,EAASG,GAAgBH,GAEb,CACV,IAAMxK,EAAMyJ,GAAMrJ,QAAQiE,KAAMmG,GAEhC,SACExK,QACcf,IAAdoF,KAAKrE,IACHgN,IAAWlC,GAAiBzG,EAAMA,KAAKrE,GAAMA,EAAKgN,GAExD,CAEA,OAAO,CACT,GAAC,CAAAhN,IAAA,SAAA4D,MAED,SAAO4G,EAAQwC,GACb,IAAMpO,EAAOyF,KACT4I,GAAU,EAEd,SAASC,EAAa1B,GAGpB,GAFAA,EAAUb,GAAgBa,GAEb,CACX,IAAMxL,EAAMyJ,GAAMrJ,QAAQxB,EAAM4M,IAE5BxL,GAASgN,IAAWlC,GAAiBlM,EAAMA,EAAKoB,GAAMA,EAAKgN,YACtDpO,EAAKoB,GAEZiN,GAAU,EAEd,CACF,CAQA,OANIxD,GAAM/L,QAAQ8M,GAChBA,EAAO9K,QAAQwN,GAEfA,EAAa1C,GAGRyC,CACT,GAAC,CAAAjN,IAAA,QAAA4D,MAED,SAAMoJ,GAKJ,IAJA,IAAM/M,EAAO/D,OAAO+D,KAAKoE,MACrB1E,EAAIM,EAAKH,OACTmN,GAAU,EAEPtN,KAAK,CACV,IAAMK,EAAMC,EAAKN,GACZqN,IAAWlC,GAAiBzG,EAAMA,KAAKrE,GAAMA,EAAKgN,GAAS,YACvD3I,KAAKrE,GACZiN,GAAU,EAEd,CAEA,OAAOA,CACT,GAAC,CAAAjN,IAAA,YAAA4D,MAED,SAAUuJ,GACR,IAAMvO,EAAOyF,KACPgG,EAAU,CAAA,EAsBhB,OApBAZ,GAAM/J,QAAQ2E,KAAM,SAACT,EAAO4G,GAC1B,IAAMxK,EAAMyJ,GAAMrJ,QAAQiK,EAASG,GAEnC,GAAIxK,EAGF,OAFApB,EAAKoB,GAAO4K,GAAehH,eACpBhF,EAAK4L,GAId,IAAM4C,EAAaD,EA5LzB,SAAsB3C,GACpB,OAAOA,EACJhF,OACAnI,cACAoI,QAAQ,kBAAmB,SAAC4H,EAAGC,EAAMnQ,GACpC,OAAOmQ,EAAKhF,cAAgBnL,CAC9B,EACJ,CAqLkCoQ,CAAa/C,GAAU9D,OAAO8D,GAAQhF,OAE9D4H,IAAe5C,UACV5L,EAAK4L,GAGd5L,EAAKwO,GAAcxC,GAAehH,GAElCyG,EAAQ+C,IAAc,CACxB,GAEO/I,IACT,GAAC,CAAArE,IAAA,SAAA4D,MAED,WAAmB,IAAA,IAAA4J,EAAAC,EAAA1R,UAAA+D,OAAT4N,EAAO,IAAA/P,MAAA8P,GAAApN,EAAA,EAAAA,EAAAoN,EAAApN,IAAPqN,EAAOrN,GAAAtE,UAAAsE,GACf,OAAOmN,EAAAnJ,KAAKtG,aAAYiE,OAAMlG,MAAA0R,EAAA,CAACnJ,MAAIrC,OAAK0L,GAC1C,GAAC,CAAA1N,IAAA,SAAA4D,MAED,SAAO+J,GACL,IAAMlR,EAAMP,OAAOgB,OAAO,MAQ1B,OANAuM,GAAM/J,QAAQ2E,KAAM,SAACT,EAAO4G,GACjB,MAAT5G,IACY,IAAVA,IACCnH,EAAI+N,GAAUmD,GAAalE,GAAM/L,QAAQkG,GAASA,EAAMgK,KAAK,MAAQhK,EAC1E,GAEOnH,CACT,GAAC,CAAAuD,IAEA1D,OAAOD,SAAQuH,MAAhB,WACE,OAAO1H,OAAO2R,QAAQxJ,KAAKkG,UAAUjO,OAAOD,WAC9C,GAAC,CAAA2D,IAAA,WAAA4D,MAED,WACE,OAAO1H,OAAO2R,QAAQxJ,KAAKkG,UACxBlL,IAAI,SAAAyO,GAAA,IAAAC,EAAA3O,EAAA0O,EAAA,GAAe,OAAPC,EAAA,GAAsB,KAAfA,EAAA,EAA2B,GAC9CH,KAAK,KACV,GAAC,CAAA5N,IAAA,eAAA4D,MAED,WACE,OAAOS,KAAK2J,IAAI,eAAiB,EACnC,GAAC,CAAAhO,IAEI1D,OAAOC,YAAWyR,IAAvB,WACE,MAAO,cACT,IAAC,CAAA,CAAAhO,IAAA,OAAA4D,MAED,SAAY/G,GACV,OAAOA,aAAiBwH,KAAOxH,EAAQ,IAAIwH,KAAKxH,EAClD,GAAC,CAAAmD,IAAA,SAAA4D,MAED,SAAcqK,GACqB,IAAjC,IAAMC,EAAW,IAAI7J,KAAK4J,GAAOE,EAAApS,UAAA+D,OADX4N,MAAO/P,MAAAwQ,EAAA,EAAAA,OAAAC,EAAA,EAAAA,EAAAD,EAAAC,IAAPV,EAAOU,EAAA,GAAArS,UAAAqS,GAK7B,OAFAV,EAAQhO,QAAQ,SAACyJ,GAAM,OAAK+E,EAASvG,IAAIwB,EAAO,GAEzC+E,CACT,GAAC,CAAAlO,IAAA,WAAA4D,MAED,SAAgB4G,GACd,IAOM6D,GANHhK,KAAKqG,IACNrG,KAAKqG,IACH,CACE2D,UAAW,CAAA,IAGWA,UACtBlS,EAAYkI,KAAKlI,UAEvB,SAASmS,EAAe9C,GACtB,IAAME,EAAUf,GAAgBa,GAE3B6C,EAAU3C,MA7PrB,SAAwBjP,EAAK+N,GAC3B,IAAM+D,EAAe9E,GAAMvB,YAAY,IAAMsC,GAE7C,CAAC,MAAO,MAAO,OAAO9K,QAAQ,SAAC8O,GAC7BtS,OAAOiJ,eAAe1I,EAAK+R,EAAaD,EAAc,CAGpDnJ,UAAW,KACXxB,MAAO,SAAU6K,EAAMC,EAAMC,GAC3B,OAAOtK,KAAKmK,GAAY7R,KAAK0H,KAAMmG,EAAQiE,EAAMC,EAAMC,EACzD,EACApJ,cAAc,GAElB,EACF,CAgPQqJ,CAAezS,EAAWqP,GAC1B6C,EAAU3C,IAAW,EAEzB,CAIA,OAFAjC,GAAM/L,QAAQ8M,GAAUA,EAAO9K,QAAQ4O,GAAkBA,EAAe9D,GAEjEnG,IACT,IAAC,CAtPe,GAyPlB4G,GAAa4D,SAAS,CACpB,eACA,iBACA,SACA,kBACA,aACA,kBAIFpF,GAAM1I,kBAAkBkK,GAAa9O,UAAW,SAAAiI,EAAYpE,GAAQ,IAAjB4D,EAAKQ,EAALR,MAC7CkL,EAAS9O,EAAI,GAAGsI,cAAgBtI,EAAI5C,MAAM,GAC9C,MAAO,CACL4Q,IAAK,WAAF,OAAQpK,CAAK,EAChB+D,IAAG,SAACoH,GACF1K,KAAKyK,GAAUC,CACjB,EAEJ,GAEAtF,GAAMhC,cAAcwD,IChUpB,SAAS+D,GAAaC,EAAQC,GAC5B,IAAMC,EAAY,IAAIC,IAAIF,EAAW7P,IAAI,SAACgQ,GAAC,OAAK3I,OAAO2I,GAAGhS,aAAa,IACjEP,EAAO,GAEPkM,EAAQ,SAAC3G,GACb,GAAe,OAAXA,GAAqC,WAAlB5E,EAAO4E,GAAqB,OAAOA,EAC1D,GAAIoH,GAAM5L,SAASwE,GAAS,OAAOA,EACnC,IAA6B,IAAzBvF,EAAKC,QAAQsF,GAAjB,CAQA,IAAImC,EACJ,GAPInC,aAAkB4I,KACpB5I,EAASA,EAAOkI,UAGlBzN,EAAKE,KAAKqF,GAGNoH,GAAM/L,QAAQ2E,GAChBmC,EAAS,GACTnC,EAAO3C,QAAQ,SAAC4P,EAAG3P,GACjB,IAAMyJ,EAAeJ,EAAMsG,GACtB7F,GAAM7L,YAAYwL,KACrB5E,EAAO7E,GAAKyJ,EAEhB,OACK,CACL,IAAKK,GAAMpL,cAAcgE,IA9C/B,SAAiCA,GAC/B,GAAIoH,GAAMlC,WAAWlF,EAAQ,UAC3B,OAAO,EAKT,IAFA,IAAIlG,EAAYD,OAAOE,eAAeiG,GAE/BlG,GAAaA,IAAcD,OAAOC,WAAW,CAClD,GAAIsN,GAAMlC,WAAWpL,EAAW,UAC9B,OAAO,EAGTA,EAAYD,OAAOE,eAAeD,EACpC,CAEA,OAAO,CACT,CA8B0CoT,CAAwBlN,GAE1D,OADAvF,EAAK0S,MACEnN,EAGTmC,EAAStI,OAAOgB,OAAO,MACvB,IAAA,IAAAuS,EAAA,EAAAC,EAA2BxT,OAAO2R,QAAQxL,GAAOoN,EAAAC,EAAA5P,OAAA2P,IAAE,CAA9C,IAAAE,EAAAvQ,EAAAsQ,EAAAD,GAAA,GAAOzP,EAAG2P,EAAA,GAAE/L,EAAK+L,EAAA,GACdvG,EAAe+F,EAAUlG,IAAIjJ,EAAI3C,eAvD9B,kBAuD0D2L,EAAMpF,GACpE6F,GAAM7L,YAAYwL,KACrB5E,EAAOxE,GAAOoJ,EAElB,CACF,CAGA,OADAtM,EAAK0S,MACEhL,CAjC0C,CAkCnD,EAEA,OAAOwE,EAAMiG,EACf,CAAC,IAEKW,YAAUC,GAsCd,SAAAD,EAAYE,EAAS5F,EAAM+E,EAAQc,EAASC,GAAU,IAAAC,EAwBnD,OAxBmD9E,OAAAyE,GACpDK,EAAAC,EAAA7L,KAAAuL,GAAME,IAKN5T,OAAOiJ,eAAc8K,EAAO,UAAW,CAGrC7K,UAAW,KACXxB,MAAOkM,EACPxK,YAAY,EACZD,UAAU,EACVE,cAAc,IAGhB0K,EAAK5O,KAAO,aACZ4O,EAAKE,cAAe,EACpBjG,IAAS+F,EAAK/F,KAAOA,GACrB+E,IAAWgB,EAAKhB,OAASA,GACzBc,IAAYE,EAAKF,QAAUA,GACvBC,IACFC,EAAKD,SAAWA,EAChBC,EAAKG,OAASJ,EAASI,QACxBH,CACH,CAAC,OAAAI,EAAAT,EAAAC,GAAA3E,EAAA0E,EAAA,CAAA,CAAA5P,IAAA,SAAA4D,MAED,WAKE,IAAMqL,EAAS5K,KAAK4K,OACdC,EAAaD,GAAUxF,GAAMlC,WAAW0H,EAAQ,UAAYA,EAAOqB,YAASrR,EAC5EsR,EACJ9G,GAAM/L,QAAQwR,IAAeA,EAAWpP,OAAS,EAC7CkP,GAAaC,EAAQC,GACrBzF,GAAMZ,aAAaoG,GAEzB,MAAO,CAELa,QAASzL,KAAKyL,QACdzO,KAAMgD,KAAKhD,KAEXmP,YAAanM,KAAKmM,YAClBC,OAAQpM,KAAKoM,OAEbC,SAAUrM,KAAKqM,SACfC,WAAYtM,KAAKsM,WACjBC,aAAcvM,KAAKuM,aACnBC,MAAOxM,KAAKwM,MAEZ5B,OAAQsB,EACRrG,KAAM7F,KAAK6F,KACXkG,OAAQ/L,KAAK+L,OAEjB,IAAC,CAAA,CAAApQ,IAAA,OAAA4D,MA7FD,SAAYkN,EAAO5G,EAAM+E,EAAQc,EAASC,EAAUe,GAClD,IAAMC,EAAa,IAAIpB,EAAWkB,EAAMhB,QAAS5F,GAAQ4G,EAAM5G,KAAM+E,EAAQc,EAASC,GAsBtF,OAfA9T,OAAOiJ,eAAe6L,EAAY,QAAS,CACzC5L,UAAW,KACXxB,MAAOkN,EACPzL,UAAU,EACVC,YAAY,EACZC,cAAc,IAEhByL,EAAW3P,KAAOyP,EAAMzP,KAGJ,MAAhByP,EAAMV,QAAuC,MAArBY,EAAWZ,SACrCY,EAAWZ,OAASU,EAAMV,QAG5BW,GAAe7U,OAAO8J,OAAOgL,EAAYD,GAClCC,CACT,IAAC,EAAAC,EAzBsBrJ,QAkGzBgI,GAAWsB,qBAAuB,uBAClCtB,GAAWuB,eAAiB,iBAC5BvB,GAAWwB,aAAe,eAC1BxB,GAAWyB,UAAY,YACvBzB,GAAW0B,aAAe,eAC1B1B,GAAW2B,YAAc,cACzB3B,GAAW4B,0BAA4B,4BACvC5B,GAAW6B,eAAiB,iBAC5B7B,GAAW8B,iBAAmB,mBAC9B9B,GAAW+B,gBAAkB,kBAC7B/B,GAAWgC,aAAe,eAC1BhC,GAAWiC,gBAAkB,kBAC7BjC,GAAWkC,gBAAkB,kBAC7BlC,GAAWmC,6BAA+B,+BCvK1C,SAASC,GAAYnV,GACnB,OAAO4M,GAAMpL,cAAcxB,IAAU4M,GAAM/L,QAAQb,EACrD,CASA,SAASoV,GAAejS,GACtB,OAAOyJ,GAAMlD,SAASvG,EAAK,MAAQA,EAAI5C,MAAM,GAAG,GAAM4C,CACxD,CAWA,SAASkS,GAAUC,EAAMnS,EAAKoS,GAC5B,OAAKD,EACEA,EACJnQ,OAAOhC,GACPX,IAAI,SAAcqC,EAAO/B,GAGxB,OADA+B,EAAQuQ,GAAevQ,IACf0Q,GAAQzS,EAAI,IAAM+B,EAAQ,IAAMA,CAC1C,GACCkM,KAAKwE,EAAO,IAAM,IARHpS,CASpB,CAaA,IAAMqS,GAAa5I,GAAMxD,aAAawD,GAAO,CAAA,EAAI,KAAM,SAAgB/M,GACrE,MAAO,WAAWsO,KAAKtO,EACzB,GAyBA,SAAS4V,GAAW7V,EAAKsH,EAAUwO,GACjC,IAAK9I,GAAMrL,SAAS3B,GAClB,MAAM,IAAI8P,UAAU,4BAItBxI,EAAWA,GAAY,IAAA,SAiBvB,IAAMyO,GAdND,EAAU9I,GAAMxD,aACdsM,EACA,CACEC,YAAY,EACZJ,MAAM,EACNK,SAAS,IAEX,EACA,SAAiBC,EAAQrQ,GAEvB,OAAQoH,GAAM7L,YAAYyE,EAAOqQ,GACnC,IAGyBF,WAErBG,EAAUJ,EAAQI,SAAWC,EAC7BR,EAAOG,EAAQH,KACfK,EAAUF,EAAQE,QAClBI,EAAQN,EAAQO,MAAyB,oBAATA,MAAwBA,KACxDC,OAAgC9T,IAArBsT,EAAQQ,SAhHgB,IAgHuCR,EAAQQ,SAClFC,EAAUH,GAASpJ,GAAMb,oBAAoB7E,GAC7C8M,EAAQ,GAEd,IAAKpH,GAAMzL,WAAW2U,GACpB,MAAM,IAAIpG,UAAU,8BAGtB,SAAS0G,EAAarP,GACpB,GAAc,OAAVA,EAAgB,MAAO,GAE3B,GAAI6F,GAAMnL,OAAOsF,GACf,OAAOA,EAAMsP,cAGf,GAAIzJ,GAAMjG,UAAUI,GAClB,OAAOA,EAAM3H,WAGf,IAAK+W,GAAWvJ,GAAMjL,OAAOoF,GAC3B,MAAM,IAAIgM,GAAW,gDAGvB,GAAInG,GAAMxL,cAAc2F,IAAU6F,GAAM/I,aAAakD,GAAQ,CAC3D,GAAIoP,GAA4B,mBAAVH,EACpB,OAAO,IAAIA,EAAM,CAACjP,IAEpB,GAAsB,oBAAXuP,OACT,OAAOA,OAAOC,KAAKxP,GAErB,MAAM,IAAIgM,GAAW,+CAAgDA,GAAWiC,gBAClF,CAEA,OAAOjO,CACT,CAEA,SAASyP,EAAwBC,GAC/B,GAAIA,EAAQP,EACV,MAAM,IAAInD,GACR,gCAAkC0D,EAAQ,wBAA0BP,EACpEnD,GAAWmC,6BAGjB,CAmCA,SAASa,EAAehP,EAAO5D,EAAKmS,GAClC,IAAItL,EAAMjD,EAEV,GAAI6F,GAAM3F,cAAcC,IAAa0F,GAAM9F,kBAAkBC,GAE3D,OADAG,EAASb,OAAOgP,GAAUC,EAAMnS,EAAKoS,GAAOa,EAAarP,KAClD,EAGT,GAAIA,IAAUuO,GAAyB,WAAjB1U,EAAOmG,GAC3B,GAAI6F,GAAMlD,SAASvG,EAAK,MAEtBA,EAAMwS,EAAaxS,EAAMA,EAAI5C,MAAM,MAEnCwG,EA9CN,SAAiCA,EAAO0P,GACtC,GAAIP,IAAaQ,IACf,OAAOC,KAAKC,UAAU7P,GAGxB,IAAM8P,EAAY,GAElB,OAAOF,KAAKC,UAAU7P,EAAO,SAAoBvD,EAAMsT,GACrD,IAAKlK,GAAMrL,SAASuV,GAClB,OAAOA,EAGT,KAAOD,EAAU5T,QAAU4T,EAAUA,EAAU5T,OAAS,KAAOuE,MAC7DqP,EAAUlE,MAMZ,OAHAkE,EAAU1W,KAAK2W,GACfN,EAAwBC,EAAQI,EAAU5T,OAAS,GAE5C6T,CACT,EACF,CAyBcC,CAAwBhQ,EAAO,QAClC,GACJ6F,GAAM/L,QAAQkG,IAzJvB,SAAqBiD,GACnB,OAAO4C,GAAM/L,QAAQmJ,KAASA,EAAIgN,KAAK7B,GACzC,CAuJiC8B,CAAYlQ,KACnC6F,GAAMhL,WAAWmF,IAAU6F,GAAMlD,SAASvG,EAAK,SAAW6G,EAAM4C,GAAM7C,QAAQhD,IAiBhF,OAdA5D,EAAMiS,GAAejS,GAErB6G,EAAInH,QAAQ,SAAcqU,EAAIC,IAC1BvK,GAAM7L,YAAYmW,IAAc,OAAPA,GACzBhQ,EAASb,QAEK,IAAZuP,EACIP,GAAU,CAAClS,GAAMgU,EAAO5B,GACZ,OAAZK,EACEzS,EACAA,EAAM,KACZiT,EAAac,GAEnB,IACO,EAIX,QAAI/B,GAAYpO,KAIhBG,EAASb,OAAOgP,GAAUC,EAAMnS,EAAKoS,GAAOa,EAAarP,KAElD,EACT,CAEA,IAAMqQ,EAAiB/X,OAAO8J,OAAOqM,GAAY,CAC/CO,eAAAA,EACAK,aAAAA,EACAjB,YAAAA,KA2BF,IAAKvI,GAAMrL,SAAS3B,GAClB,MAAM,IAAI8P,UAAU,0BAKtB,OA9BA,SAAS2H,EAAMtQ,EAAOuO,GAAiB,IAAXmB,EAAKvX,UAAA+D,OAAA,QAAAb,IAAAlD,UAAA,GAAAA,UAAA,GAAG,EAClC,IAAI0N,GAAM7L,YAAYgG,GAAtB,CAIA,GAFAyP,EAAwBC,IAEK,IAAzBzC,EAAM9T,QAAQ6G,GAChB,MAAM,IAAIgE,MAAM,kCAAoCuK,EAAKvE,KAAK,MAGhEiD,EAAM7T,KAAK4G,GAEX6F,GAAM/J,QAAQkE,EAAO,SAAcmQ,EAAI/T,IAKtB,OAHXyJ,GAAM7L,YAAYmW,IAAc,OAAPA,IAC3BpB,EAAQhW,KAAKoH,EAAUgQ,EAAItK,GAAMvL,SAAS8B,GAAOA,EAAIwF,OAASxF,EAAKmS,EAAM8B,KAGzEC,EAAMH,EAAI5B,EAAOA,EAAKnQ,OAAOhC,GAAO,CAACA,GAAMsT,EAAQ,EAEvD,GAEAzC,EAAMrB,KApBwB,CAqBhC,CAMA0E,CAAMzX,GAECsH,CACT,CC9QA,SAASoQ,GAAOhX,GACd,IAAMiX,EAAU,CACd,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,MACL,MAAO,KAET,OAAOC,mBAAmBlX,GAAKsI,QAAQ,eAAgB,SAAkBmH,GACvE,OAAOwH,EAAQxH,EACjB,EACF,CAUA,SAAS0H,GAAqBC,EAAQhC,GACpClO,KAAKmQ,OAAS,GAEdD,GAAUjC,GAAWiC,EAAQlQ,KAAMkO,EACrC,CAEA,IAAMpW,GAAYmY,GAAqBnY,UC3BhC,SAASgY,GAAOrW,GACrB,OAAOuW,mBAAmBvW,GACvB2H,QAAQ,QAAS,KACjBA,QAAQ,OAAQ,KAChBA,QAAQ,QAAS,KACjBA,QAAQ,OAAQ,IACrB,CAWe,SAASgP,GAASC,EAAKH,EAAQhC,GAC5C,IAAKgC,EACH,OAAOG,EAETA,EAAMA,GAAO,GAEb,IAYIC,EAZEC,EAAWnL,GAAMzL,WAAWuU,GAC9B,CACEsC,UAAWtC,GAEbA,EAKEuC,EAAUrL,GAAMjC,YAAYoN,EAAU,WAAaT,GACnDY,EAActL,GAAMjC,YAAYoN,EAAU,aAYhD,GAPED,EADEI,EACiBA,EAAYR,EAAQK,GAEpBnL,GAAMvK,kBAAkBqV,GACvCA,EAAOtY,WACP,IAAIqY,GAAqBC,EAAQK,GAAU3Y,SAAS6Y,GAGpC,CACpB,IAAME,EAAgBN,EAAI3X,QAAQ,MAEZ,IAAlBiY,IACFN,EAAMA,EAAItX,MAAM,EAAG4X,IAErBN,SAAQA,EAAI3X,QAAQ,KAAc,IAAM,KAAO4X,CACjD,CAEA,OAAOD,CACT,CD1BAvY,GAAU+G,OAAS,SAAgB7B,EAAMuC,GACvCS,KAAKmQ,OAAOxX,KAAK,CAACqE,EAAMuC,GAC1B,EAEAzH,GAAUF,SAAW,SAAkBgZ,GAAS,IAAAhF,EAAA5L,KACxCyQ,EAAUG,EACZ,SAACrR,GAAK,OAAKqR,EAAQtY,KAAKsT,EAAMrM,EAAOuQ,GAAO,EAC5CA,GAEJ,OAAO9P,KAAKmQ,OACTnV,IAAI,SAAc6H,GACjB,OAAO4N,EAAQ5N,EAAK,IAAM,IAAM4N,EAAQ5N,EAAK,GAC/C,EAAG,IACF0G,KAAK,IACV,EEtDgC,IAE1BsH,GAAkB,WAKtB,OAAAhK,EAJA,SAAAgK,IAAc/J,OAAA+J,GACZ7Q,KAAK8Q,SAAW,EAClB,EAEA,CAAA,CAAAnV,IAAA,MAAA4D,MASA,SAAIwR,EAAWC,EAAU9C,GAOvB,OANAlO,KAAK8Q,SAASnY,KAAK,CACjBoY,UAAAA,EACAC,SAAAA,EACAC,cAAa/C,GAAUA,EAAQ+C,YAC/BC,QAAShD,EAAUA,EAAQgD,QAAU,OAEhClR,KAAK8Q,SAASrV,OAAS,CAChC,GAEA,CAAAE,IAAA,QAAA4D,MAOA,SAAM4R,GACAnR,KAAK8Q,SAASK,KAChBnR,KAAK8Q,SAASK,GAAM,KAExB,GAEA,CAAAxV,IAAA,QAAA4D,MAKA,WACMS,KAAK8Q,WACP9Q,KAAK8Q,SAAW,GAEpB,GAEA,CAAAnV,IAAA,UAAA4D,MAUA,SAAQhI,GACN6N,GAAM/J,QAAQ2E,KAAK8Q,SAAU,SAAwBM,GACzC,OAANA,GACF7Z,EAAG6Z,EAEP,EACF,IAAC,CAhEqB,GCFxBC,GAAe,CACbC,mBAAmB,EACnBC,mBAAmB,EACnBC,qBAAqB,EACrBC,iCAAiC,EACjCC,6BAA6B,EAC7BC,iCAAiC,GCJnCC,GAAe,CACbC,WAAW,EACXC,QAAS,CACPC,gBCJsC,oBAApBA,gBAAkCA,gBAAkB9B,GDKtEtV,SEN+B,oBAAbA,SAA2BA,SAAW,KFOxD8T,KGP2B,oBAATA,KAAuBA,KAAO,MHSlDuD,UAAW,CAAC,OAAQ,QAAS,OAAQ,OAAQ,MAAO,SIXhDC,GAAkC,oBAAXzX,QAA8C,oBAAb0X,SAExDC,GAAmC,YAAL,oBAATC,UAAS,YAAAhZ,EAATgZ,aAA0BA,gBAAcxX,EAmB7DyX,GACJJ,MACEE,IAAc,CAAC,cAAe,eAAgB,MAAMzZ,QAAQyZ,GAAWG,SAAW,GAWhFC,GAE2B,oBAAtBC,mBAEPjY,gBAAgBiY,mBACc,mBAAvBjY,KAAKkY,cAIVC,GAAUT,IAAiBzX,OAAOmY,SAASC,MAAS,mBCxC1DC,GAAAC,EAAAA,EAAA,CAAA,sIAEKD,ICGL,SAASE,GAAqBpD,GAC5B,GAAIA,EXAqC,IWCvC,MAAM,IAAIpE,GACR,wCAA0CoE,EAA1C,2BACApE,GAAWmC,6BAGjB,CAqDA,SAASsF,GAAetT,GACtB,SAASuT,EAAUnF,EAAMvO,EAAOuF,EAAQ6K,GACtCoD,GAAqBpD,GAErB,IAAI3S,EAAO8Q,EAAK6B,KAEhB,GAAa,cAAT3S,EAAsB,OAAO,EAEjC,IAAMkW,EAAe7O,OAAOC,UAAUtH,GAChCmW,EAASxD,GAAS7B,EAAKrS,OAG7B,OAFAuB,GAAQA,GAAQoI,GAAM/L,QAAQyL,GAAUA,EAAOrJ,OAASuB,EAEpDmW,GACE/N,GAAMlC,WAAW4B,EAAQ9H,GAC3B8H,EAAO9H,GAAQoI,GAAM/L,QAAQyL,EAAO9H,IAChC8H,EAAO9H,GAAMW,OAAO4B,GACpB,CAACuF,EAAO9H,GAAOuC,GAEnBuF,EAAO9H,GAAQuC,GAGT2T,IAGL9N,GAAMlC,WAAW4B,EAAQ9H,IAAUoI,GAAMrL,SAAS+K,EAAO9H,MAC5D8H,EAAO9H,GAAQ,IAGFiW,EAAUnF,EAAMvO,EAAOuF,EAAO9H,GAAO2S,IAEtCvK,GAAM/L,QAAQyL,EAAO9H,MACjC8H,EAAO9H,GAnDb,SAAuBwF,GACrB,IAEIlH,EAEAK,EAJEvD,EAAM,CAAA,EACNwD,EAAO/D,OAAO+D,KAAK4G,GAEnB1G,EAAMF,EAAKH,OAEjB,IAAKH,EAAI,EAAGA,EAAIQ,EAAKR,IAEnBlD,EADAuD,EAAMC,EAAKN,IACAkH,EAAI7G,GAEjB,OAAOvD,CACT,CAwCqBgb,CAActO,EAAO9H,MAG9BkW,EACV,CAEA,GAAI9N,GAAMzG,WAAWe,IAAa0F,GAAMzL,WAAW+F,EAAS8J,SAAU,CACpE,IAAMpR,EAAM,CAAA,EAMZ,OAJAgN,GAAM3C,aAAa/C,EAAU,SAAC1C,EAAMuC,GAClC0T,EArFN,SAAuBjW,GASrB,IAJA,IAEIuL,EAFEuF,EAAO,GACPuF,EAAU,gBAGwB,QAAhC9K,EAAQ8K,EAAQpQ,KAAKjG,KAC3B+V,GAAqBjF,EAAKrS,QAC1BqS,EAAKnV,KAAkB,OAAb4P,EAAM,GAAc,GAAKA,EAAM,IAAMA,EAAM,IAGvD,OAAOuF,CACT,CAsEgBwF,CAActW,GAAOuC,EAAOnH,EAAK,EAC7C,GAEOA,CACT,CAEA,OAAO,IACT,CC1GA,IAAMmb,GAAM,SAACnb,EAAKuD,GAAG,OAAa,MAAPvD,GAAegN,GAAMlC,WAAW9K,EAAKuD,GAAOvD,EAAIuD,QAAOf,CAAS,EA2B3F,IAAM4Y,GAAW,CACfC,aAAcpC,GAEdqC,QAAS,CAAC,MAAO,OAAQ,SAEzBC,iBAAkB,CAChB,SAA0B1V,EAAM+H,GAC9B,IAgCI5L,EAhCEwZ,EAAc5N,EAAQ6N,kBAAoB,GAC1CC,EAAqBF,EAAYlb,QAAQ,qBAAsB,EAC/Dqb,EAAkB3O,GAAMrL,SAASkE,GAQvC,GANI8V,GAAmB3O,GAAM7I,WAAW0B,KACtCA,EAAO,IAAItD,SAASsD,IAGHmH,GAAMzG,WAAWV,GAGlC,OAAO6V,EAAqB3E,KAAKC,UAAU4D,GAAe/U,IAASA,EAGrE,GACEmH,GAAMxL,cAAcqE,IACpBmH,GAAM5L,SAASyE,IACfmH,GAAMxF,SAAS3B,IACfmH,GAAMlL,OAAO+D,IACbmH,GAAMjL,OAAO8D,IACbmH,GAAMnK,iBAAiBgD,GAEvB,OAAOA,EAET,GAAImH,GAAMrG,kBAAkBd,GAC1B,OAAOA,EAAKiB,OAEd,GAAIkG,GAAMvK,kBAAkBoD,GAE1B,OADA+H,EAAQgO,eAAe,mDAAmD,GACnE/V,EAAKrG,WAKd,GAAImc,EAAiB,CACnB,IAAME,EAAiBV,GAAIvT,KAAM,kBACjC,GAAI4T,EAAYlb,QAAQ,sCAAuC,EAC7D,OC3EK,SAA0BuF,EAAMiQ,GAC7C,OAAOD,GAAWhQ,EAAM,IAAI4U,GAASf,QAAQC,gBAAiBe,EAAA,CAC5DxE,QAAS,SAAU/O,EAAO5D,EAAKmS,EAAMoG,GACnC,OAAIrB,GAASsB,QAAU/O,GAAM5L,SAAS+F,IACpCS,KAAKnB,OAAOlD,EAAK4D,EAAM3H,SAAS,YACzB,GAGFsc,EAAQ3F,eAAe9W,MAAMuI,KAAMtI,UAC5C,GACGwW,GAEP,CD+DiBkG,CAAiBnW,EAAMgW,GAAgBrc,WAGhD,IACGwC,EAAagL,GAAMhL,WAAW6D,KAC/B2V,EAAYlb,QAAQ,0BACpB,CACA,IAAM2b,EAAMd,GAAIvT,KAAM,OAChBsU,EAAYD,GAAOA,EAAI1Z,SAE7B,OAAOsT,GACL7T,EAAa,CAAE,UAAW6D,GAASA,EACnCqW,GAAa,IAAIA,EACjBL,EAEJ,CACF,CAEA,OAAIF,GAAmBD,GACrB9N,EAAQgO,eAAe,oBAAoB,GA9EnD,SAAyBO,EAAUjM,EAAQsI,GACzC,GAAIxL,GAAMvL,SAAS0a,GACjB,IAEE,OADCjM,GAAU6G,KAAKqF,OAAOD,GAChBnP,GAAMjE,KAAKoT,EACpB,CAAE,MAAOlV,GACP,GAAe,gBAAXA,EAAErC,KACJ,MAAMqC,CAEV,CAGF,OAAQuR,GAAWzB,KAAKC,WAAWmF,EACrC,CAkEeE,CAAgBxW,IAGlBA,CACT,GAGFyW,kBAAmB,CACjB,SAA2BzW,GACzB,IAAMwV,EAAeF,GAAIvT,KAAM,iBAAmBwT,GAASC,aACrDlC,EAAoBkC,GAAgBA,EAAalC,kBACjDoD,EAAepB,GAAIvT,KAAM,gBACzB4U,EAAiC,SAAjBD,EAEtB,GAAIvP,GAAMjK,WAAW8C,IAASmH,GAAMnK,iBAAiBgD,GACnD,OAAOA,EAGT,GACEA,GACAmH,GAAMvL,SAASoE,KACbsT,IAAsBoD,GAAiBC,GACzC,CACA,IACMC,IADoBpB,GAAgBA,EAAanC,oBACPsD,EAEhD,IACE,OAAOzF,KAAKqF,MAAMvW,EAAMsV,GAAIvT,KAAM,gBACpC,CAAE,MAAOX,GACP,GAAIwV,EAAmB,CACrB,GAAe,gBAAXxV,EAAErC,KACJ,MAAMuO,GAAWwD,KAAK1P,EAAGkM,GAAW8B,iBAAkBrN,KAAM,KAAMuT,GAAIvT,KAAM,aAE9E,MAAMX,CACR,CACF,CACF,CAEA,OAAOpB,CACT,GAOF6W,QAAS,EAETC,eAAgB,aAChBC,eAAgB,eAEhBC,kBAAkB,EAClBC,eAAe,EAEfb,IAAK,CACH1Z,SAAUkY,GAASf,QAAQnX,SAC3B8T,KAAMoE,GAASf,QAAQrD,MAGzB0G,eAAgB,SAAwBpJ,GACtC,OAAOA,GAAU,KAAOA,EAAS,GACnC,EAEA/F,QAAS,CACPoP,OAAQ,CACNC,OAAQ,oCACR,oBAAgBza,KEzJP,SAAS0a,GAAcC,EAAK5J,GACzC,IAAMf,EAAS5K,MAAQwT,GACjBrX,EAAUwP,GAAYf,EACtB5E,EAAUY,GAAamI,KAAK5S,EAAQ6J,SACtC/H,EAAO9B,EAAQ8B,KAQnB,OANAmH,GAAM/J,QAAQka,EAAK,SAAmBhe,GACpC0G,EAAO1G,EAAGe,KAAKsS,EAAQ3M,EAAM+H,EAAQwP,YAAa7J,EAAWA,EAASI,YAASnR,EACjF,GAEAoL,EAAQwP,YAEDvX,CACT,CCzBe,SAASwX,GAASlW,GAC/B,SAAUA,IAASA,EAAMmW,WAC3B,CHwKAtQ,GAAM/J,QAAQ,CAAC,SAAU,MAAO,OAAQ,OAAQ,MAAO,QAAS,SAAU,SAACsa,GACzEnC,GAASxN,QAAQ2P,GAAU,CAAA,CAC7B,GI5K+C,IAEzCC,YAAaC,GAUjB,SAAAD,EAAYnK,EAASb,EAAQc,GAAS,IAAAE,EAGb,OAHa9E,OAAA8O,IACpChK,EAAAC,EAAA7L,KAAA4V,EAAA,CAAiB,MAAXnK,EAAkB,WAAaA,EAASF,GAAWgC,aAAc3C,EAAQc,KAC1E1O,KAAO,gBACZ4O,EAAK8J,YAAa,EAAK9J,CACzB,CAAC,OAAAI,EAAA4J,EAAAC,GAAAhP,EAAA+O,EAAA,EAdyBrK,ICSb,SAASuK,GAAOC,EAASC,EAAQrK,GAC9C,IAAMwJ,EAAiBxJ,EAASf,OAAOuK,eAClCxJ,EAASI,QAAWoJ,IAAkBA,EAAexJ,EAASI,QAGjEiK,EAAO,IAAIzK,GACT,mCAAqCI,EAASI,OAC9CJ,EAASI,QAAU,KAAOJ,EAASI,OAAS,IAAMR,GAAW+B,gBAAkB/B,GAAW8B,iBAC1F1B,EAASf,OACTe,EAASD,QACTC,IAPFoK,EAAQpK,EAUZ,CCtBO,IAAMsK,GAAuB,SAACC,EAAUC,GAA+B,IAAbC,EAAI1e,UAAA+D,OAAA,QAAAb,IAAAlD,UAAA,GAAAA,UAAA,GAAG,EAClE2e,EAAgB,EACdC,ECER,SAAqBC,EAAcC,GACjCD,EAAeA,GAAgB,GAC/B,IAIIE,EAJEC,EAAQ,IAAIpd,MAAMid,GAClBI,EAAa,IAAIrd,MAAMid,GACzBK,EAAO,EACPC,EAAO,EAKX,OAFAL,OAAc5b,IAAR4b,EAAoBA,EAAM,IAEzB,SAAcM,GACnB,IAAMC,EAAMC,KAAKD,MAEXE,EAAYN,EAAWE,GAExBJ,IACHA,EAAgBM,GAGlBL,EAAME,GAAQE,EACdH,EAAWC,GAAQG,EAKnB,IAHA,IAAIzb,EAAIub,EACJK,EAAa,EAEV5b,IAAMsb,GACXM,GAAcR,EAAMpb,KACpBA,GAAQib,EASV,IANAK,GAAQA,EAAO,GAAKL,KAEPM,IACXA,GAAQA,EAAO,GAAKN,KAGlBQ,EAAMN,EAAgBD,GAA1B,CAIA,IAAMW,EAASF,GAAaF,EAAME,EAElC,OAAOE,EAASvZ,KAAKwZ,MAAoB,IAAbF,EAAqBC,QAAUvc,CAJ3D,CAKF,CACF,CD9CuByc,CAAY,GAAI,KAErC,OEFF,SAAkB9f,EAAI6e,GACpB,IAEIkB,EACAC,EAHAC,EAAY,EACZC,EAAY,IAAOrB,EAIjBsB,EAAS,SAACC,GAA2B,IAArBZ,EAAGrf,UAAA+D,eAAAb,IAAAlD,UAAA,GAAAA,UAAA,GAAGsf,KAAKD,MAC/BS,EAAYT,EACZO,EAAW,KACPC,IACFK,aAAaL,GACbA,EAAQ,MAEVhgB,EAAEE,WAAA,EAAA0Q,EAAIwP,GACR,EAoBA,MAAO,CAlBW,WAEe,IAD/B,IAAMZ,EAAMC,KAAKD,MACXI,EAASJ,EAAMS,EAAUpO,EAAA1R,UAAA+D,OAFXkc,EAAI,IAAAre,MAAA8P,GAAApN,EAAA,EAAAA,EAAAoN,EAAApN,IAAJ2b,EAAI3b,GAAAtE,UAAAsE,GAGpBmb,GAAUM,EACZC,EAAOC,EAAMZ,IAEbO,EAAWK,EACNJ,IACHA,EAAQnZ,WAAW,WACjBmZ,EAAQ,KACRG,EAAOJ,EACT,EAAGG,EAAYN,IAGrB,EAEc,WAAH,OAASG,GAAYI,EAAOJ,EAAS,EAGlD,CFjCSO,CAAS,SAACxY,GACf,GAAKA,GAAyB,iBAAbA,EAAEyY,OAAnB,CAGA,IAAMC,EAAY1Y,EAAEyY,OACdE,EAAQ3Y,EAAE4Y,iBAAmB5Y,EAAE2Y,WAAQpd,EACvCkd,EAAkB,MAATE,EAAgBpa,KAAK4Y,IAAIuB,EAAWC,GAASD,EACtDG,EAAgBta,KAAKua,IAAI,EAAGL,EAASzB,GACrC+B,EAAO9B,EAAa4B,GAE1B7B,EAAgBzY,KAAKua,IAAI9B,EAAeyB,GAExC,IAAM7Z,EAAIoa,EAAA,CACRP,OAAAA,EACAE,MAAAA,EACAM,SAAUN,EAAQF,EAASE,OAAQpd,EACnC8b,MAAOwB,EACPE,KAAMA,QAAcxd,EACpB2d,UAAWH,GAAQJ,GAASA,EAAQF,GAAUM,OAAOxd,EACrD4d,MAAOnZ,EACP4Y,iBAA2B,MAATD,GACjB7B,EAAmB,WAAa,UAAW,GAG9CD,EAASjY,EArBT,CAsBF,EAAGmY,EACL,EAEaqC,GAAyB,SAACT,EAAOU,GAC5C,IAAMT,EAA4B,MAATD,EAEzB,MAAO,CACL,SAACF,GAAM,OACLY,EAAU,GAAG,CACXT,iBAAAA,EACAD,MAAAA,EACAF,OAAAA,GACA,EACJY,EAAU,GAEd,EAEaC,GACX,SAACphB,GAAE,OACH,WAAA,IAAA,IAAA6R,EAAA1R,UAAA+D,OAAIkc,EAAI,IAAAre,MAAA8P,GAAApN,EAAA,EAAAA,EAAAoN,EAAApN,IAAJ2b,EAAI3b,GAAAtE,UAAAsE,GAAA,OACNoJ,GAAM/G,KAAK,WAAA,OAAM9G,EAAEE,WAAA,EAAIkgB,EAAK,EAAC,CAAA,EGnDjCiB,GAAe/F,GAASR,sBACnB,SAACK,EAAQmG,GAAM,OAAK,SAACxI,GAGpB,OAFAA,EAAM,IAAIyI,IAAIzI,EAAKwC,GAASH,QAG1BA,EAAOqG,WAAa1I,EAAI0I,UACxBrG,EAAOsG,OAAS3I,EAAI2I,OACnBH,GAAUnG,EAAOuG,OAAS5I,EAAI4I,KAEnC,CAAC,CARA,CASC,IAAIH,IAAIjG,GAASH,QACjBG,GAAST,WAAa,kBAAkBzL,KAAKkM,GAAST,UAAU8G,YAElE,WAAA,OAAM,CAAI,ECZdC,GAAetG,GAASR,sBAEpB,CACE+G,eAAMpc,EAAMuC,EAAO8Z,EAASvL,EAAMwL,EAAQC,EAAQC,GAChD,GAAwB,oBAAbtH,SAAX,CAEA,IAAMuH,EAAS,CAAA,GAAA9b,OAAIX,EAAI,KAAAW,OAAIqS,mBAAmBzQ,KAE1C6F,GAAMtL,SAASuf,IACjBI,EAAO9gB,KAAI,WAAAgF,OAAY,IAAIqZ,KAAKqC,GAASK,gBAEvCtU,GAAMvL,SAASiU,IACjB2L,EAAO9gB,KAAI,QAAAgF,OAASmQ,IAElB1I,GAAMvL,SAASyf,IACjBG,EAAO9gB,KAAI,UAAAgF,OAAW2b,KAET,IAAXC,GACFE,EAAO9gB,KAAK,UAEVyM,GAAMvL,SAAS2f,IACjBC,EAAO9gB,KAAI,YAAAgF,OAAa6b,IAG1BtH,SAASuH,OAASA,EAAOlQ,KAAK,KApBO,CAqBvC,EAEAoQ,KAAI,SAAC3c,GACH,GAAwB,oBAAbkV,SAA0B,OAAO,KAO5C,IADA,IAAMiH,EAAUjH,SAASuH,OAAO7V,MAAM,KAC7BtI,EAAI,EAAGA,EAAI6d,EAAQ1d,OAAQH,IAAK,CACvC,IAAMme,EAASN,EAAQ7d,GAAG8F,QAAQ,OAAQ,IACpCwY,EAAKH,EAAO/gB,QAAQ,KAC1B,IAAW,IAAPkhB,GAAaH,EAAO1gB,MAAM,EAAG6gB,KAAQ5c,EACvC,IACE,OAAO6c,mBAAmBJ,EAAO1gB,MAAM6gB,EAAK,GAC9C,CAAE,MAAOva,GACP,OAAOoa,EAAO1gB,MAAM6gB,EAAK,EAC3B,CAEJ,CACA,OAAO,IACT,EAEAE,OAAM,SAAC9c,GACLgD,KAAKoZ,MAAMpc,EAAM,GAAIga,KAAKD,MAAQ,MAAU,IAC9C,GAGF,CACEqC,MAAK,WAAI,EACTO,KAAI,WACF,OAAO,IACT,EACAG,OAAM,WAAI,GCxDhB,IAAMC,GAAwB,oBACxBC,GAAgC,YActC,SAASC,GAA2B5J,EAAKzF,GACvC,GAAmB,iBAARyF,GAAoB0J,GAAsBpT,KALvD,SAAsC0J,GACpC,OATF,SAAsCA,GAEpC,IADA,IAAI/U,EAAI,EACDA,EAAI+U,EAAI5U,QAAU4U,EAAI9O,WAAWjG,IAAM,IAC5CA,IAEF,OAAO+U,EAAItX,MAAMuC,EACnB,CAGS4e,CAA6B7J,GAAKjP,QAAQ4Y,GAA+B,GAClF,CAG4DG,CAA6B9J,IACrF,MAAM,IAAI9E,GACR,2CACAA,GAAWkC,gBACX7C,EAGN,CAYe,SAASwP,GAAcC,EAASC,EAAcC,EAAmB3P,GAC9EqP,GAA2BK,EAAc1P,GACzC,IClCoCyF,EDkChCmK,IC9Be,iBAJiBnK,EDkCDiK,IC1B5B,8BAA8B3T,KAAK0J,ID2B1C,OAAIgK,IAAYG,IAAuC,IAAtBD,IAC/BN,GAA2BI,EAASzP,GEnCzB,SAAqByP,EAASI,GAC3C,OAAOA,EACHJ,EAAQjZ,QAAQ,SAAU,IAAM,IAAMqZ,EAAYrZ,QAAQ,OAAQ,IAClEiZ,CACN,CFgCWK,CAAYL,EAASC,IAEvBA,CACT,CG5CA,IAAMK,GAAkB,SAACniB,GAAK,OAAMA,aAAiBoO,GAAYkM,EAAA,CAAA,EAAQta,GAAUA,CAAK,EAWzE,SAASoiB,GAAYC,EAASC,GAE3CD,EAAUA,GAAW,CAAA,EACrBC,EAAUA,GAAW,CAAA,EAMrB,IAAMlQ,EAAS/S,OAAOgB,OAAO,MAW7B,SAASkiB,EAAejW,EAAQ9G,EAAQ3F,EAAM4H,GAC5C,OAAImF,GAAMpL,cAAc8K,IAAWM,GAAMpL,cAAcgE,GAC9CoH,GAAMtF,MAAMxH,KAAK,CAAE2H,SAAAA,GAAY6E,EAAQ9G,GACrCoH,GAAMpL,cAAcgE,GACtBoH,GAAMtF,MAAM,CAAA,EAAI9B,GACdoH,GAAM/L,QAAQ2E,GAChBA,EAAOjF,QAETiF,CACT,CAEA,SAASgd,EAAoBpa,EAAGC,EAAGxI,EAAM4H,GACvC,OAAKmF,GAAM7L,YAAYsH,GAEXuE,GAAM7L,YAAYqH,QAAvB,EACEma,OAAengB,EAAWgG,EAAGvI,EAAM4H,GAFnC8a,EAAena,EAAGC,EAAGxI,EAAM4H,EAItC,CAGA,SAASgb,EAAiBra,EAAGC,GAC3B,IAAKuE,GAAM7L,YAAYsH,GACrB,OAAOka,OAAengB,EAAWiG,EAErC,CAGA,SAASqa,EAAiBta,EAAGC,GAC3B,OAAKuE,GAAM7L,YAAYsH,GAEXuE,GAAM7L,YAAYqH,QAAvB,EACEma,OAAengB,EAAWgG,GAF1Bma,OAAengB,EAAWiG,EAIrC,CAyBA,SAASsa,EAAgBva,EAAGC,EAAGxI,GAC7B,OAAI+M,GAAMlC,WAAW4X,EAASziB,GACrB0iB,EAAena,EAAGC,GAChBuE,GAAMlC,WAAW2X,EAASxiB,GAC5B0iB,OAAengB,EAAWgG,QAD5B,CAGT,CA1EA/I,OAAOiJ,eAAe8J,EAAQ,iBAAkB,CAG9C7J,UAAW,KACXxB,MAAO1H,OAAOC,UAAUK,eACxB8I,YAAY,EACZD,UAAU,EACVE,cAAc,IAqEhB,IAAMka,EAAW,CACf/K,IAAK4K,EACLtF,OAAQsF,EACRhd,KAAMgd,EACNZ,QAASa,EACTvH,iBAAkBuH,EAClBxG,kBAAmBwG,EACnBG,iBAAkBH,EAClBpG,QAASoG,EACTI,eAAgBJ,EAChBK,gBAAiBL,EACjBM,cAAeN,EACfxH,QAASwH,EACTvG,aAAcuG,EACdnG,eAAgBmG,EAChBlG,eAAgBkG,EAChBO,iBAAkBP,EAClBQ,mBAAoBR,EACpBS,WAAYT,EACZjG,iBAAkBiG,EAClBhG,cAAegG,EACfU,eAAgBV,EAChBW,UAAWX,EACXY,UAAWZ,EACXa,WAAYb,EACZc,YAAad,EACbe,WAAYf,EACZgB,mBAAoBhB,EACpBiB,iBAAkBjB,EAClB/F,eAAgBgG,EAChBnV,QAAS,SAACpF,EAAGC,EAAGxI,GAAI,OAClB2iB,EAAoBL,GAAgB/Z,GAAI+Z,GAAgB9Z,GAAIxI,GAAM,EAAK,GAwB3E,OArBA+M,GAAM/J,QAAQxD,OAAO+D,KAAIkX,EAAAA,KAAM+H,GAAYC,IAAY,SAA4BziB,GACjF,GAAa,cAATA,GAAiC,gBAATA,GAAmC,cAATA,EAAtD,CACA,IAAMyH,EAAQsF,GAAMlC,WAAWkY,EAAU/iB,GAAQ+iB,EAAS/iB,GAAQ2iB,EAG5DoB,EAActc,EAFVsF,GAAMlC,WAAW2X,EAASxiB,GAAQwiB,EAAQxiB,QAAQuC,EAClDwK,GAAMlC,WAAW4X,EAASziB,GAAQyiB,EAAQziB,QAAQuC,EAC5BvC,GAC/B+M,GAAM7L,YAAY6iB,IAAgBtc,IAAUqb,IAAqBvQ,EAAOvS,GAAQ+jB,EALL,CAM9E,GAGEhX,GAAMlC,WAAW4X,EAAS,mBAC1B1V,GAAM7L,YAAYuhB,EAAQ3F,kBACyC,IA7ErE,SAAqC9c,GACnC,IAAMgkB,EAAgBjX,GAAMlC,WAAW4X,EAAS,gBAAkBA,EAAQrH,kBAAe7Y,EAEzF,IAAKwK,GAAM7L,YAAY8iB,GAAgB,CACrC,IAAIjX,GAAMpL,cAAcqiB,GAKtB,OAJA,GAAIjX,GAAMlC,WAAWmZ,EAAehkB,GAClC,OAAOgkB,EAAchkB,EAK3B,CAEA,IAAMikB,EAAgBlX,GAAMlC,WAAW2X,EAAS,gBAAkBA,EAAQpH,kBAAe7Y,EAEzF,GAAIwK,GAAMpL,cAAcsiB,IAAkBlX,GAAMlC,WAAWoZ,EAAejkB,GACxE,OAAOikB,EAAcjkB,EAIzB,CAyDEkkB,CAA4B,qCAExBnX,GAAMlC,WAAW2X,EAAS,kBAC5BjQ,EAAOuK,eAAiB4F,OAAengB,EAAWigB,EAAQ1F,uBAEnDvK,EAAOuK,gBAIXvK,CACT,CCpJA,IAAM4R,GAA4B,CAAC,eAAgB,kBA4BnD,SAASC,GAAc7R,GACrB,IAAM8R,EAAY9B,GAAY,CAAA,EAAIhQ,GAI5B2I,EAAM,SAAC5X,GAAG,OAAMyJ,GAAMlC,WAAWwZ,EAAW/gB,GAAO+gB,EAAU/gB,QAAOf,CAAS,EAE7EqD,EAAOsV,EAAI,QACbiI,EAAgBjI,EAAI,iBAClByB,EAAiBzB,EAAI,kBACrBwB,EAAiBxB,EAAI,kBACvBvN,EAAUuN,EAAI,WACZoJ,EAAOpJ,EAAI,QACX8G,EAAU9G,EAAI,WACdgH,EAAoBhH,EAAI,qBACxBlD,EAAMkD,EAAI,OAWhB,GATAmJ,EAAU1W,QAAUA,EAAUY,GAAamI,KAAK/I,GAEhD0W,EAAUrM,IAAMD,GACdgK,GAAcC,EAAShK,EAAKkK,EAAmBmC,GAC/CnJ,EAAI,UACJA,EAAI,qBAIFoJ,EAAM,CACR,IAAMC,EAAWxX,GAAMjC,YAAYwZ,EAAM,aAAe,GAClDE,EAAWzX,GAAMjC,YAAYwZ,EAAM,aAAe,GAExD,IACE3W,EAAQ1C,IACN,gBACA,SAAWwZ,KAAKF,EAAW,KAAOC,EArCxC7M,mBAqC8D6M,GArCtCzb,QAAQ,mBAAoB,SAAC2b,EAAGC,GAAG,OACzD3a,OAAO4a,aAAaC,SAASF,EAAK,IAAI,GAoCkC,KAExE,CAAE,MAAO3d,GACP,MAAMkM,GAAWwD,KAAK1P,EAAGkM,GAAWsB,qBAAsBjC,EAC5D,CACF,CAmBA,IAjBIxF,GAAMzG,WAAWV,KAEjB4U,GAASR,uBACTQ,GAASN,gCACTnN,GAAM3F,cAAcxB,GAEpB+H,EAAQgO,oBAAepZ,GACdwK,GAAMzL,WAAWsE,EAAKkf,aAzErC,SAA4BnX,EAASoX,EAAaC,GACjC,iBAAXA,EAKJxlB,OAAO2R,QAAQ4T,GAAe,CAAA,GAAI/hB,QAAQ,SAAAoO,GAAgB,IAAAC,EAAA3O,EAAA0O,EAAA,GAAd9N,EAAG+N,EAAA,GAAEjQ,EAAGiQ,EAAA,GAC9C8S,GAA0BnZ,SAAS1H,EAAI3C,gBACzCgN,EAAQ1C,IAAI3H,EAAKlC,EAErB,GAREuM,EAAQ1C,IAAI8Z,EAShB,CAgEME,CAAmBtX,EAAS/H,EAAKkf,aAAc5J,EAAI,0BAQnDV,GAASR,yBACPjN,GAAMzL,WAAW6hB,KACnBA,EAAgBA,EAAckB,KAOZ,IAAlBlB,GAA4C,MAAjBA,GAAyB5C,GAAgB8D,EAAUrM,MAE5D,CAClB,IAAMkN,EAAYvI,GAAkBD,GAAkBoE,GAAQQ,KAAK5E,GAE/DwI,GACFvX,EAAQ1C,IAAI0R,EAAgBuI,EAEhC,CAGF,OAAOb,CACT,CCxGA,IAEAc,GAFwD,oBAAnBC,gBAGnC,SAAU7S,GACR,OAAO,IAAI8S,QAAQ,SAA4B3H,EAASC,GACtD,IAII2H,EACAC,EAAiBC,EACjBC,EAAaC,EANXC,EAAUvB,GAAc7R,GAC1BqT,EAAcD,EAAQ/f,KACpBigB,EAAiBtX,GAAamI,KAAKiP,EAAQhY,SAASwP,YACpDb,EAAuDqJ,EAAvDrJ,aAAc8G,EAAyCuC,EAAzCvC,iBAAkBC,EAAuBsC,EAAvBtC,mBAKtC,SAAS9Y,IACPkb,GAAeA,IACfC,GAAiBA,IAEjBC,EAAQhC,aAAegC,EAAQhC,YAAYmC,YAAYR,GAEvDK,EAAQI,QAAUJ,EAAQI,OAAOC,oBAAoB,QAASV,EAChE,CAEA,IAAIjS,EAAU,IAAI+R,eAOlB,SAASa,IACP,GAAK5S,EAAL,CAIA,IAAM6S,EAAkB3X,GAAamI,KACnC,0BAA2BrD,GAAWA,EAAQ8S,yBAehD1I,GACE,SAAkBvW,GAChBwW,EAAQxW,GACRqD,GACF,EACA,SAAiBwF,GACf4N,EAAO5N,GACPxF,GACF,EAjBe,CACf3E,KAJC0W,GAAiC,SAAjBA,GAA4C,SAAjBA,EAExCjJ,EAAQC,SADRD,EAAQ+S,aAIZ1S,OAAQL,EAAQK,OAChB2S,WAAYhT,EAAQgT,WACpB1Y,QAASuY,EACT3T,OAAAA,EACAc,QAAAA,IAgBFA,EAAU,IA/BV,CAgCF,CAmGA,GA3IAA,EAAQiT,KAAKX,EAAQrI,OAAO1R,cAAe+Z,EAAQ3N,KAAK,GAGxD3E,EAAQoJ,QAAUkJ,EAAQlJ,QAuCtB,cAAepJ,EAEjBA,EAAQ4S,UAAYA,EAGpB5S,EAAQkT,mBAAqB,WACtBlT,GAAkC,IAAvBA,EAAQmT,aASH,IAAnBnT,EAAQK,QACNL,EAAQoT,aAAepT,EAAQoT,YAAYC,WAAW,WAM1D3gB,WAAWkgB,EACb,EAIF5S,EAAQsT,QAAU,WACXtT,IAILsK,EAAO,IAAIzK,GAAW,kBAAmBA,GAAWwB,aAAcnC,EAAQc,IAC1E9I,IAGA8I,EAAU,KACZ,EAGAA,EAAQuT,QAAU,SAAqBzG,GAIrC,IAAM0G,EAAM1G,GAASA,EAAM/M,QAAU+M,EAAM/M,QAAU,gBAC/CrD,EAAM,IAAImD,GAAW2T,EAAK3T,GAAW2B,YAAatC,EAAQc,GAEhEtD,EAAIoQ,MAAQA,GAAS,KACrBxC,EAAO5N,GACPxF,IACA8I,EAAU,IACZ,EAGAA,EAAQyT,UAAY,WAClB,IAAIC,EAAsBpB,EAAQlJ,QAC9B,cAAgBkJ,EAAQlJ,QAAU,cAClC,mBACErB,EAAeuK,EAAQvK,cAAgBpC,GACzC2M,EAAQoB,sBACVA,EAAsBpB,EAAQoB,qBAEhCpJ,EACE,IAAIzK,GACF6T,EACA3L,EAAajC,oBAAsBjG,GAAWyB,UAAYzB,GAAWwB,aACrEnC,EACAc,IAGJ9I,IAGA8I,EAAU,IACZ,OAGgB9Q,IAAhBqjB,GAA6BC,EAAelK,eAAe,MAGvD,qBAAsBtI,GACxBtG,GAAM/J,QAAQ0K,GAAyBmY,GAAiB,SAA0BzkB,EAAKkC,GACrF+P,EAAQ2T,iBAAiB1jB,EAAKlC,EAChC,GAIG2L,GAAM7L,YAAYykB,EAAQzC,mBAC7B7P,EAAQ6P,kBAAoByC,EAAQzC,iBAIlC5G,GAAiC,SAAjBA,IAClBjJ,EAAQiJ,aAAeqJ,EAAQrJ,cAI7B+G,EAAoB,CAAA,IAC6D4D,EAAAvkB,EAA9Ckb,GAAqByF,GAAoB,GAAK,GAAlFmC,EAAiByB,EAAA,GAAEvB,EAAauB,EAAA,GACjC5T,EAAQ5N,iBAAiB,WAAY+f,EACvC,CAGA,GAAIpC,GAAoB/P,EAAQ6T,OAAQ,CAAA,IACiCC,EAAAzkB,EAAtCkb,GAAqBwF,GAAiB,GAAtEmC,EAAe4B,EAAA,GAAE1B,EAAW0B,EAAA,GAE7B9T,EAAQ6T,OAAOzhB,iBAAiB,WAAY8f,GAE5ClS,EAAQ6T,OAAOzhB,iBAAiB,UAAWggB,EAC7C,EAEIE,EAAQhC,aAAegC,EAAQI,UAGjCT,EAAa,SAAC8B,GACP/T,IAGLsK,GAAQyJ,GAAUA,EAAOvmB,KAAO,IAAI0c,GAAc,KAAMhL,EAAQc,GAAW+T,GAC3E/T,EAAQgU,QACR9c,IACA8I,EAAU,KACZ,EAEAsS,EAAQhC,aAAegC,EAAQhC,YAAY2D,UAAUhC,GACjDK,EAAQI,SACVJ,EAAQI,OAAOwB,QACXjC,IACAK,EAAQI,OAAOtgB,iBAAiB,QAAS6f,KAIjD,IChNgCtN,EAC9B9H,ED+MIwQ,GChN0B1I,EDgND2N,EAAQ3N,KC/MrC9H,EAAQ,4BAA4BtF,KAAKoN,KAC9B9H,EAAM,IAAO,IDgN1B,GAAIwQ,IAAalG,GAASb,UAAU3O,SAAS0V,GAS3C,OARA/C,EACE,IAAIzK,GACF,wBAA0BwN,EAAW,IACrCxN,GAAW+B,gBACX1C,SAGJhI,IAKF8I,EAAQmU,KAAK5B,GAAe,KAC9B,EACF,EE/NI6B,GAAiB,SAACC,EAASjL,GAG/B,GAFAiL,EAAUA,EAAUA,EAAQhe,OAAOie,SAAW,GAEzClL,GAAYiL,EAAQtkB,OAAzB,CAIA,IAAMwkB,EAAa,IAAIC,gBAEnBN,GAAU,EAERZ,EAAU,SAAUmB,GACxB,IAAKP,EAAS,CACZA,GAAU,EACVzB,IACA,IAAM/V,EAAM+X,aAAkB5c,MAAQ4c,EAASngB,KAAKmgB,OACpDF,EAAWP,MACTtX,aAAemD,GACXnD,EACA,IAAIwN,GAAcxN,aAAe7E,MAAQ6E,EAAIqD,QAAUrD,GAE/D,CACF,EAEImP,EACFzC,GACA1W,WAAW,WACTmZ,EAAQ,KACRyH,EAAQ,IAAIzT,GAAU,cAAA5N,OAAemX,EAAO,eAAevJ,GAAWyB,WACxE,EAAG8H,GAECqJ,EAAc,WACb4B,IACLxI,GAASK,aAAaL,GACtBA,EAAQ,KACRwI,EAAQ1kB,QAAQ,SAAC+iB,GACfA,EAAOD,YACHC,EAAOD,YAAYa,GACnBZ,EAAOC,oBAAoB,QAASW,EAC1C,GACAe,EAAU,KACZ,EAEAA,EAAQ1kB,QAAQ,SAAC+iB,GAAM,OAAKA,EAAOtgB,iBAAiB,QAASkhB,EAAS,CAAEoB,MAAM,GAAO,GAErF,IAAQhC,EAAW6B,EAAX7B,OAIR,OAFAA,EAAOD,YAAc,WAAA,OAAM/Y,GAAM/G,KAAK8f,EAAY,EAE3CC,CA5CP,CA6CF,ECtDaiC,GAAWC,IAAAxc,EAAG,SAAduc,EAAyBE,EAAOC,GAAS,IAAA1kB,EAAA2kB,EAAA7a,EAAA,OAAA0a,IAAAtX,EAAA,SAAA0X,GAAA,cAAAA,EAAA1Y,GAAA,KAAA,EAC1B,GAAtBlM,EAAMykB,EAAMI,WAEXH,KAAa1kB,EAAM0kB,GAAS,CAAAE,EAAA1Y,EAAA,EAAA,KAAA,CAC/B,OAD+B0Y,EAAA1Y,EAAA,EACzBuY,EAAK,KAAA,EAAA,OAAAG,EAAA9f,EAAA,GAAA,KAAA,EAIT6f,EAAM,EAAC,KAAA,EAAA,KAGJA,EAAM3kB,GAAG,CAAA4kB,EAAA1Y,EAAA,EAAA,KAAA,CAEd,OADApC,EAAM6a,EAAMD,EAAUE,EAAA1Y,EAAA,EAChBuY,EAAMxnB,MAAM0nB,EAAK7a,GAAI,KAAA,EAC3B6a,EAAM7a,EAAI8a,EAAA1Y,EAAA,EAAA,MAAA,KAAA,EAAA,OAAA0Y,EAAA9f,EAAA,GAAA,EAdDyf,EAAW,GAkBXO,GAAS,WAAA,IAAAnX,EAAAoX,EAAAP,IAAAxc,EAAG,SAAAgd,EAAiBC,EAAUP,GAAS,IAAAQ,EAAAC,EAAAC,EAAAxe,EAAAmF,EAAA0Y,EAAAY,EAAA,OAAAb,IAAAtX,EAAA,SAAAoY,GAAA,cAAAA,EAAAC,EAAAD,EAAApZ,GAAA,KAAA,EAAAgZ,GAAA,EAAAC,GAAA,EAAAG,EAAAC,EAAA,EAAA3e,EAAA4e,EACjCC,GAAWR,IAAS,KAAA,EAAA,OAAAK,EAAApZ,EAAA,EAAAwZ,EAAA9e,EAAAC,QAAA,KAAA,EAAA,KAAAqe,IAAAnZ,EAAAuZ,EAAAnW,GAAArI,MAAA,CAAAwe,EAAApZ,EAAA,EAAA,KAAA,CAC5C,OADeuY,EAAK1Y,EAAAtI,MACpB6hB,EAAAK,EAAAC,EAAAC,EAAAL,EAAOjB,GAAYE,EAAOC,MAAU,GAAA,KAAA,EAAAQ,GAAA,EAAAI,EAAApZ,EAAA,EAAA,MAAA,KAAA,EAAAoZ,EAAApZ,EAAA,EAAA,MAAA,KAAA,EAAAoZ,EAAAC,EAAA,EAAAF,EAAAC,EAAAnW,EAAAgW,GAAA,EAAAC,EAAAC,EAAA,KAAA,EAAA,GAAAC,EAAAC,EAAA,EAAAD,EAAAC,EAAA,GAAAL,GAAA,MAAAte,EAAA,OAAA,CAAA0e,EAAApZ,EAAA,EAAA,KAAA,CAAA,OAAAoZ,EAAApZ,EAAA,EAAAwZ,EAAA9e,EAAA,UAAA,KAAA,EAAA,GAAA0e,EAAAC,EAAA,GAAAJ,EAAA,CAAAG,EAAApZ,EAAA,GAAA,KAAA,CAAA,MAAAkZ,EAAA,KAAA,GAAA,OAAAE,EAAA/Y,EAAA,GAAA,KAAA,GAAA,OAAA+Y,EAAA/Y,EAAA,GAAA,KAAA,GAAA,OAAA+Y,EAAAxgB,EAAA,GAAA,EAAAkgB,EAAA,KAAA,CAAA,CAAA,EAAA,CAAA,EAAA,IAAA,CAAA,EAAA,EAAA,EAAA,KAAA,IAEvC,OAAA,SAJqBc,EAAAC,GAAA,OAAApY,EAAAhS,MAAAuI,KAAAtI,UAAA,CAAA,CAAA,GAMhB6pB,GAAU,WAAA,IAAA7X,EAAAmX,EAAAP,IAAAxc,EAAG,SAAAge,EAAiBC,GAAM,IAAAC,EAAAC,EAAArf,EAAArD,EAAA,OAAA+gB,IAAAtX,EAAA,SAAAkZ,GAAA,cAAAA,EAAAb,EAAAa,EAAAla,GAAA,KAAA,EAAA,IACpC+Z,EAAO9pB,OAAOkqB,eAAc,CAAAD,EAAAla,EAAA,EAAA,KAAA,CAC9B,OAAAka,EAAAT,EAAAC,EAAAC,EAAAL,EAAOS,KAAM,GAAA,KAAA,EAAA,OAAAG,EAAAthB,EAAA,GAAA,KAAA,EAITohB,EAASD,EAAOK,YAAWF,EAAAb,EAAA,EAAA,KAAA,EAAA,OAAAa,EAAAla,EAAA,EAAAwZ,EAGCQ,EAAOrI,QAAM,KAAA,EAAxB,GAAwBsI,EAAAC,EAAAjX,EAAnCrI,EAAIqf,EAAJrf,KAAMrD,EAAK0iB,EAAL1iB,OACVqD,EAAI,CAAAsf,EAAAla,EAAA,EAAA,KAAA,CAAA,OAAAka,EAAAthB,EAAA,EAAA,GAAA,KAAA,EAGR,OAHQshB,EAAAla,EAAA,EAGFzI,EAAK,KAAA,EAAA2iB,EAAAla,EAAA,EAAA,MAAA,KAAA,EAAA,OAAAka,EAAAb,EAAA,EAAAa,EAAAla,EAAA,EAAAwZ,EAGPQ,EAAOvC,UAAQ,KAAA,EAAA,OAAAyC,EAAA7Z,EAAA,GAAA,KAAA,GAAA,OAAA6Z,EAAAthB,EAAA,GAAA,EAAAkhB,EAAA,KAAA,CAAA,CAAA,GAAA,EAAA,KAAA,IAExB,OAAA,SAlBeO,GAAA,OAAA3Y,EAAAjS,MAAAuI,KAAAtI,UAAA,CAAA,CAAA,GAoBH4qB,GAAc,SAACP,EAAQvB,EAAW+B,EAAYC,GACzD,IAGI5f,EAHE5K,EAAW4oB,GAAUmB,EAAQvB,GAE/B9J,EAAQ,EAER+L,EAAY,SAACpjB,GACVuD,IACHA,GAAO,EACP4f,GAAYA,EAASnjB,GAEzB,EAEA,OAAO,IAAIqjB,eACT,CACQC,KAAI,SAAC1C,GAAY,OAAA2C,EAAAtC,IAAAxc,WAAA+e,IAAA,IAAAC,EAAAC,EAAAxjB,EAAAzD,EAAAknB,EAAAC,EAAA,OAAA3C,IAAAtX,EAAA,SAAAka,GAAA,cAAAA,EAAA7B,EAAA6B,EAAAlb,GAAA,KAAA,EAAA,OAAAkb,EAAA7B,EAAA,EAAA6B,EAAAlb,EAAA,EAEWhQ,EAAS2K,OAAM,KAAA,EAA1B,GAA0BmgB,EAAAI,EAAAjY,EAArCrI,EAAIkgB,EAAJlgB,KAAMrD,EAAKujB,EAALvjB,OAEVqD,EAAI,CAAAsgB,EAAAlb,EAAA,EAAA,KAAA,CAEa,OADnBya,IACAxC,EAAWkD,QAAQD,EAAAtiB,EAAA,GAAA,KAAA,EAIjB9E,EAAMyD,EAAMohB,WACZ4B,IACES,EAAetM,GAAS5a,EAC5BymB,EAAWS,IAEb/C,EAAWmD,QAAQ,IAAI9mB,WAAWiD,IAAQ2jB,EAAAlb,EAAA,EAAA,MAAA,KAAA,EAE3B,MAF2Bkb,EAAA7B,EAAA,EAAA4B,EAAAC,EAAAjY,EAE1CwX,EAASQ,GAAMA,EAAA,KAAA,EAAA,OAAAC,EAAAtiB,EAAA,GAAA,EAAAiiB,EAAA,KAAA,CAAA,CAAA,EAAA,IAAA,GAjBID,EAoBvB,EACAnD,OAAM,SAACU,GAEL,OADAsC,EAAUtC,GACHnoB,EAAQ,QACjB,GAEF,CACEqrB,cAAe,GAGrB,EC/EMC,GAAa,SAACC,GAAQ,OACzBA,GAAY,IAAMA,GAAY,IAC9BA,GAAY,IAAMA,GAAY,IAC9BA,GAAY,IAAMA,GAAY,GAAI,EAE/BC,GAAuB,SAAC1qB,EAAKwC,EAAGQ,GAAG,OACvCR,EAAI,EAAIQ,GAAOwnB,GAAWxqB,EAAIyI,WAAWjG,EAAI,KAAOgoB,GAAWxqB,EAAIyI,WAAWjG,EAAI,GAAG,EAExE,SAASmoB,GAA4BpT,GAClD,IAAKA,GAAsB,iBAARA,EAAkB,OAAO,EAC5C,IAAKA,EAAI0O,WAAW,SAAU,OAAO,EAErC,IAAM2E,EAAQrT,EAAI3X,QAAQ,KAC1B,GAAIgrB,EAAQ,EAAG,OAAO,EAEtB,IAAMC,EAAOtT,EAAItX,MAAM,EAAG2qB,GACpBE,EAAOvT,EAAItX,MAAM2qB,EAAQ,GAG/B,GAFiB,WAAW/c,KAAKgd,GAEnB,CAIZ,IAHA,IAAIE,EAAeD,EAAKnoB,OAClBK,EAAM8nB,EAAKnoB,OAERH,EAAI,EAAGA,EAAIQ,EAAKR,IACvB,GAA2B,KAAvBsoB,EAAKriB,WAAWjG,IAAuBA,EAAI,EAAIQ,EAAK,CACtD,IAAM8E,EAAIgjB,EAAKriB,WAAWjG,EAAI,GACxBuF,EAAI+iB,EAAKriB,WAAWjG,EAAI,GAChBgoB,GAAW1iB,IAAM0iB,GAAWziB,KAGxCgjB,GAAgB,EAChBvoB,GAAK,EAET,CAGF,IAAIwoB,EAAM,EACNC,EAAMjoB,EAAM,EAEVkoB,EAAc,SAACvjB,GAAC,OACpBA,GAAK,GACsB,KAA3BmjB,EAAKriB,WAAWd,EAAI,IACO,KAA3BmjB,EAAKriB,WAAWd,EAAI,KACI,KAAvBmjB,EAAKriB,WAAWd,IAAoC,MAAvBmjB,EAAKriB,WAAWd,GAAW,EAEvDsjB,GAAO,IACoB,KAAzBH,EAAKriB,WAAWwiB,IAClBD,IACAC,KACSC,EAAYD,KACrBD,IACAC,GAAO,IAIC,IAARD,GAAaC,GAAO,IACO,KAAzBH,EAAKriB,WAAWwiB,IAETC,EAAYD,KADrBD,IAMJ,IACMpN,EAAiB,EADR9Y,KAAKqmB,MAAMJ,EAAe,IACbC,GAAO,GACnC,OAAOpN,EAAQ,EAAIA,EAAQ,CAC7B,CAOA,IADA,IAAIA,EAAQ,EACHpb,EAAI,EAAGQ,EAAM8nB,EAAKnoB,OAAQH,EAAIQ,EAAKR,IAAK,CAC/C,IAAM4oB,EAAIN,EAAKriB,WAAWjG,GAC1B,GAAU,KAAN4oB,GAAsBV,GAAqBI,EAAMtoB,EAAGQ,GACtD4a,GAAS,EACTpb,GAAK,OACA,GAAI4oB,EAAI,IACbxN,GAAS,OACJ,GAAIwN,EAAI,KACbxN,GAAS,OACJ,GAAIwN,GAAK,OAAUA,GAAK,OAAU5oB,EAAI,EAAIQ,EAAK,CACpD,IAAM6G,EAAOihB,EAAKriB,WAAWjG,EAAI,GAC7BqH,GAAQ,OAAUA,GAAQ,OAC5B+T,GAAS,EACTpb,KAEAob,GAAS,CAEb,MACEA,GAAS,CAEb,CACA,OAAOA,CACT,CCxGO,IAAMyN,GAAU,SCmBfxqB,GAAeyL,GAAfzL,WAUFyqB,GAAa,SAACtrB,GAAG,OACrBkX,mBAAmBlX,GAAKsI,QAAQ,mBAAoB,SAAC2b,EAAGC,GAAG,OACzD3a,OAAO4a,aAAaC,SAASF,EAAK,IAAI,EACvC,EAMGqH,GAAyB,SAAC9kB,GAC9B,IAAK6F,GAAMvL,SAAS0F,GAClB,OAAOA,EAGT,IACE,OAAOsa,mBAAmBta,EAC5B,CAAE,MAAOkN,GACP,OAAOlN,CACT,CACF,EAEMoH,GAAO,SAACpP,GACZ,IAAI,IAAA,IAAA6R,EAAA1R,UAAA+D,OADekc,MAAIre,MAAA8P,EAAA,EAAAA,OAAApN,EAAA,EAAAA,EAAAoN,EAAApN,IAAJ2b,EAAI3b,EAAA,GAAAtE,UAAAsE,GAErB,QAASzE,EAAEE,WAAA,EAAIkgB,EACjB,CAAE,MAAOtY,GACP,OAAO,CACT,CACF,EAEMilB,GAA2B,SAACjU,GAChC,IAAMkU,EAAgBlU,EAAI3X,QAAQ,OAC9B8rB,EAAanU,EAIjB,OAHsB,IAAlBkU,IACFC,EAAaA,EAAWzrB,MAAMwrB,EAAgB,IAEzCC,EAAWnhB,SAAS,MAAQmhB,EAAWnhB,SAAS,IACzD,EAEMohB,GAAU,SAACpQ,GACf,IAAMqQ,OACa9pB,IAAjBwK,GAAM3K,QAAyC,OAAjB2K,GAAM3K,OAChC2K,GAAM3K,OACNH,WACEooB,EAAgCgC,EAAhChC,eAAgBiC,EAAgBD,EAAhBC,YAaxBC,EAXAvQ,EAAMjP,GAAMtF,MAAMxH,KAChB,CACE4H,eAAe,GAEjB,CACE2kB,QAASH,EAAaG,QACtBC,SAAUJ,EAAaI,UAEzBzQ,GAGa0Q,EAAQH,EAAfI,MAAiBH,EAAOD,EAAPC,QAASC,EAAQF,EAARE,SAC5BG,EAAmBF,EAAWprB,GAAWorB,GAA6B,mBAAVC,MAC5DE,EAAqBvrB,GAAWkrB,GAChCM,EAAsBxrB,GAAWmrB,GAEvC,IAAKG,EACH,OAAO,EAGT,IAMSrU,EANHwU,EAA4BH,GAAoBtrB,GAAW+oB,GAE3D2C,EACJJ,IACwB,mBAAhBN,GAED/T,EAED,IAAI+T,EAFS,SAAC7rB,GAAG,OACf8X,EAAQd,OAAOhX,EAAI,GACH,WAAA,IAAA2Q,EAAAmZ,EAAAtC,IAAAxc,EACpB,SAAAgd,EAAOhoB,GAAG,IAAAqoB,EAAA8B,EAAA,OAAA3C,IAAAtX,EAAA,SAAA0X,GAAA,cAAAA,EAAA1Y,GAAA,KAAA,EAAmB,OAAnBmZ,EAAS7kB,WAAUokB,EAAA1Y,EAAA,EAAO,IAAI6c,EAAQ/rB,GAAKwsB,cAAa,KAAA,EAAA,OAAArC,EAAAvC,EAAAzV,EAAAyV,EAAA9f,EAAA,EAAA,IAAAugB,EAAA8B,IAAA,EAAAnC,EAAA,IAAC,OAAA,SAAAc,GAAA,OAAAnY,EAAAhS,MAAAuI,KAAAtI,UAAA,CAAA,KAEnE6tB,EACJL,GACAE,GACAze,GAAK,WACH,IAAI6e,GAAiB,EAEf9Z,EAAU,IAAImZ,EAAQhS,GAASH,OAAQ,CAC3CkR,KAAM,IAAIlB,EACV/M,OAAQ,OACR,UAAI8P,GAEF,OADAD,GAAiB,EACV,MACT,IAGIE,EAAiBha,EAAQ1F,QAAQpB,IAAI,gBAM3C,OAJoB,MAAhB8G,EAAQkY,MACVlY,EAAQkY,KAAKnE,SAGR+F,IAAmBE,CAC5B,GAEIC,EACJR,GACAC,GACAze,GAAK,WAAA,OAAMvB,GAAMnK,iBAAiB,IAAI6pB,EAAS,IAAIlB,KAAK,GAEpDgC,EAAY,CAChB7D,OAAQ4D,GAA2B,SAACE,GAAG,OAAKA,EAAIjC,IAAI,GAGtDqB,GAEI,CAAC,OAAQ,cAAe,OAAQ,WAAY,UAAU5pB,QAAQ,SAACnC,IAC5D0sB,EAAU1sB,KACR0sB,EAAU1sB,GAAQ,SAAC2sB,EAAKjb,GACvB,IAAI+K,EAASkQ,GAAOA,EAAI3sB,GAExB,GAAIyc,EACF,OAAOA,EAAOrd,KAAKutB,GAGrB,MAAM,IAAIta,GAAU,kBAAA5N,OACAzE,EAAI,sBACtBqS,GAAWiC,gBACX5C,EAEJ,EACJ,GAGJ,IAAMkb,EAAa,WAAA,IAAApc,EAAAkZ,EAAAtC,IAAAxc,EAAG,SAAAge,EAAO8B,GAAI,IAAAmC,EAAA,OAAAzF,IAAAtX,EAAA,SAAAoY,GAAA,cAAAA,EAAApZ,GAAA,KAAA,EAAA,GACnB,MAAR4b,EAAY,CAAAxC,EAAApZ,EAAA,EAAA,KAAA,CAAA,OAAAoZ,EAAAxgB,EAAA,EACP,GAAC,KAAA,EAAA,IAGNwE,GAAMjL,OAAOypB,GAAK,CAAAxC,EAAApZ,EAAA,EAAA,KAAA,CAAA,OAAAoZ,EAAAxgB,EAAA,EACbgjB,EAAKoC,MAAI,KAAA,EAAA,IAGd5gB,GAAMb,oBAAoBqf,GAAK,CAAAxC,EAAApZ,EAAA,EAAA,KAAA,CAI/B,OAHI+d,EAAW,IAAIlB,EAAQhS,GAASH,OAAQ,CAC5CiD,OAAQ,OACRiO,KAAAA,IACAxC,EAAApZ,EAAA,EACY+d,EAAST,cAAa,KAAA,EAYN,KAAA,EAAA,OAAAlE,EAAAxgB,EAAA,EAAAwgB,EAAAnW,EAAE0V,YAZgB,KAAA,EAAA,IAG9Cvb,GAAMrG,kBAAkB6kB,KAASxe,GAAMxL,cAAcgqB,GAAK,CAAAxC,EAAApZ,EAAA,EAAA,KAAA,CAAA,OAAAoZ,EAAAxgB,EAAA,EACrDgjB,EAAKjD,YAAU,KAAA,EAKvB,GAFGvb,GAAMvK,kBAAkB+oB,KAC1BA,GAAc,KAGZxe,GAAMvL,SAAS+pB,GAAK,CAAAxC,EAAApZ,EAAA,EAAA,KAAA,CAAA,OAAAoZ,EAAApZ,EAAA,EACRqd,EAAWzB,GAAiB,KAAA,EAAA,OAAAxC,EAAAxgB,EAAA,GAAA,EAAAkhB,EAAA,IAE7C,OAAA,SA5BkBD,GAAA,OAAAnY,EAAAjS,MAAAuI,KAAAtI,UAAA,CAAA,CAAA,GA8BbuuB,EAAiB,WAAA,IAAAlmB,EAAA6iB,EAAAtC,IAAAxc,EAAG,SAAA+e,EAAO7c,EAAS4d,GAAI,IAAAnoB,EAAA,OAAA6kB,IAAAtX,EAAA,SAAAkZ,GAAA,UAAA,IAAAA,EAAAla,EACmB,OAAzDvM,EAAS2J,GAAMjB,eAAe6B,EAAQkgB,oBAAmBhE,EAAAthB,EAAA,EAE9C,MAAVnF,EAAiBqqB,EAAclC,GAAQnoB,EAAM,EAAAonB,EAAA,IACrD,OAAA,SAJsBR,EAAA8D,GAAA,OAAApmB,EAAAtI,MAAAuI,KAAAtI,UAAA,CAAA,CAAA,GAMvB,OAAA,WAAA,IAAA0uB,EAAAxD,EAAAtC,IAAAxc,EAAO,SAAAuiB,EAAOzb,GAAM,IAAA0b,EAAAjW,EAAAsF,EAAA1X,EAAAmgB,EAAApC,EAAAlH,EAAA4G,EAAAD,EAAA9G,EAAA3O,EAAAugB,EAAAhL,EAAAiL,EAAAvR,EAAAC,EAAAuR,EAAAC,EAAAnT,EAAAoT,EAAAC,EAAAlb,EAAAyS,EAAA0I,EAAAC,EAAAC,EAAApK,EAAAqK,EAAApK,EAAAC,EAAAoK,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAvB,EAAAwB,EAAAxpB,GAAAypB,GAAAjF,GAAAkF,GAAAC,GAAA9T,GAAA+T,GAAAhc,GAAA4S,GAAAqJ,GAAAC,GAAA3Z,GAAA4Z,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAA,OAAAnI,IAAAtX,EAAA,SAAAka,GAAA,cAAAA,EAAA7B,EAAA6B,EAAAlb,GAAA,KAAA,EAmGhB,GAnGgBse,EAgBd7J,GAAc7R,GAdhByF,EAAGiW,EAAHjW,IACAsF,EAAM2Q,EAAN3Q,OACA1X,EAAIqoB,EAAJroB,KACAmgB,EAAMkI,EAANlI,OACApC,EAAWsK,EAAXtK,YACAlH,EAAOwR,EAAPxR,QACA4G,EAAkB4K,EAAlB5K,mBACAD,EAAgB6K,EAAhB7K,iBACA9G,EAAY2R,EAAZ3R,aACA3O,EAAOsgB,EAAPtgB,QAAOugB,EAAAD,EACP/K,gBAAAA,OAAe,IAAAgL,EAAG,cAAaA,EAC/BC,EAAYF,EAAZE,aACAvR,EAAgBqR,EAAhBrR,iBACAC,EAAaoR,EAAbpR,cAGIuR,EAAsBrhB,GAAMtL,SAASmb,IAAqBA,GAAmB,EAC7EyR,EAAmBthB,GAAMtL,SAASob,IAAkBA,GAAgB,EACpE3B,EAAM,SAAC5X,GAAG,OAAMyJ,GAAMlC,WAAW0H,EAAQjP,GAAOiP,EAAOjP,QAAOf,CAAS,EAEzE+rB,EAAS5B,GAAYC,MAEzBrQ,EAAeA,GAAgBA,EAAe,IAAI3b,cAAgB,OAE9D4tB,EAAiB9G,GACnB,CAAC1B,EAAQpC,GAAeA,EAAY0M,iBACpC5T,GAGEpJ,EAAU,KAERyS,EACJyI,GACAA,EAAezI,aACd,WACCyI,EAAezI,aACjB,EAQE2I,EAAmB,KAEjBC,EAAqB,WAAH,OACtB,IAAIxb,GACF,+CACAA,GAAW+B,gBACX1C,EACAc,EACD,EAAAwX,EAAA7B,EAAA,EAIG1E,OAAO/hB,GACLosB,EAAazT,EAAI,WAGfqJ,EAAWxX,GAAMjC,YAAY6jB,EAAY,aAAe,GACxDnK,EAAWzX,GAAMjC,YAAY6jB,EAAY,aAAe,GAC9DrK,EAAO,CACLC,SAAAA,EACAC,SAAAA,IAIAyH,GAAyBjU,KACrB4W,EAAY,IAAInO,IAAIzI,EAAKwC,GAASH,QAEnCiK,IAASsK,EAAUrK,WAAYqK,EAAUpK,WACtCqK,EAAc7C,GAAuB4C,EAAUrK,UAC/CuK,EAAc9C,GAAuB4C,EAAUpK,UACrDF,EAAO,CACLC,SAAUsK,EACVrK,SAAUsK,KAIVF,EAAUrK,UAAYqK,EAAUpK,YAClCoK,EAAUrK,SAAW,GACrBqK,EAAUpK,SAAW,GACrBxM,EAAM4W,EAAUrU,OAIhB+J,IACF3W,EAAO,OAAQ,iBACfA,EAAQ1C,IACN,gBACA,SAAWwZ,KAAKsH,IAAYzH,EAAKC,UAAY,IAAM,KAAOD,EAAKE,UAAY,SAO3E4J,GAAsC,iBAARpW,IAAoBA,EAAI0O,WAAW,SAAQ,CAAAmE,EAAAlb,EAAA,EAAA,KAAA,CACzB,KAAhCyb,GAA4BpT,GAC9B4E,GAAgB,CAAAiO,EAAAlb,EAAA,EAAA,KAAA,CAAA,MACxB,IAAIuD,GACR,4BAA8B0J,EAAmB,YACjD1J,GAAW8B,iBACXzC,EACAc,GACD,KAAA,EAAA,IASDgb,GAA+B,QAAX/Q,GAA+B,SAAXA,EAAiB,CAAAuN,EAAAlb,EAAA,EAAA,KAAA,CAAA,OAAAkb,EAAAlb,EAAA,EAC9B8d,EAAc7nB,GAAK,KAAA,EAA5B,GACU,iBADxBmpB,EAAclE,EAAAjY,KACsB3G,SAAS8iB,GAAe,CAAAlE,EAAAlb,EAAA,EAAA,KAAA,CAC1B,GAAtC6e,EAAuBO,IACnBA,EAAiBlS,GAAa,CAAAgO,EAAAlb,EAAA,EAAA,KAAA,CAAA,MAC1B+e,IAAoB,KAAA,EAqB7B,GAdGM,EACJX,IAAqBthB,GAAMnK,iBAAiBgD,IAASmH,GAAMxF,SAAS3B,IAEhEqpB,EAAqB,SAACvF,EAAQQ,EAAYkF,GAAK,OACnDnF,GACEP,EAvTiB,MAyTjB,SAACiB,GACC,GAAI0D,GAAoB1D,EAAc9N,EACpC,MAAO4R,EAAmBC,IAE5BxE,GAAcA,EAAWS,EAC3B,EACAyE,EACD,GAGDlC,GACW,QAAX5P,GACW,SAAXA,IACC8F,IAAoB4L,EAAsB,CAAAnE,EAAAlb,EAAA,EAAA,KAAA,CAAA,GAGjB,MAAxB6e,EAA4B,CAAA3D,EAAAlb,EAAA,EAAA,KAAA,CAAA,OAAAkb,EAAAlb,EAAA,EAASie,EAAkBjgB,EAAS/H,GAAK,KAAA,EAAAuqB,GAAAtF,EAAAjY,EAAAiY,EAAAlb,EAAA,EAAA,MAAA,KAAA,EAAAwgB,GAAG3B,EAAoB,KAAA,GAIjE,KAL7BA,EAAoB2B,KAKcnB,KAC5BtB,EAAW,IAAIlB,EAAQxU,EAAK,CAC9BsF,OAAQ,OACRiO,KAAM3lB,EACNwnB,OAAQ,SAKNrgB,GAAMzG,WAAWV,KAAUspB,EAAoBxB,EAAS/f,QAAQ2D,IAAI,kBACtE3D,EAAQgO,eAAeuT,GAGrBxB,EAASnC,OAAM7lB,GAEd0d,GACChD,GACEoO,EACA5Q,GAAqB0C,GAAe8C,MAExC,GAAE+L,GAAAzsB,EAAAgD,GAAA,GANGwkB,GAAUiF,GAAA,GAAEC,GAAKD,GAAA,GAQxBvpB,EAAOqpB,EAAmBvB,EAASnC,KAAMrB,GAAYkF,MAExDvE,EAAAlb,EAAA,GAAA,MAAA,KAAA,EAAA,IAEDqf,GACCnC,IACDE,GACW,QAAXzP,GACW,SAAXA,EAAiB,CAAAuN,EAAAlb,EAAA,EAAA,KAAA,CAEjB/J,EAAOqpB,EAAmBrpB,GAAMilB,EAAAlb,EAAA,GAAA,MAAA,KAAA,EAAA,IAEhCqf,IACAnC,GACCK,GACU,QAAX5P,GACW,SAAXA,EAAiB,CAAAuN,EAAAlb,EAAA,GAAA,KAAA,CAAA,MAEX,IAAIuD,GACR,8EACAA,GAAWiC,gBACX5C,EACAc,GACD,KAAA,GAqC+D,OAlC7DtG,GAAMvL,SAAS0hB,KAClBA,EAAkBA,EAAkB,UAAY,QAK5CmM,GAAyBxC,GAAsB,gBAAiBL,EAAQ/sB,UAI1EsN,GAAMzG,WAAWV,KACb2V,GAAc5N,EAAQ6N,mBAG1B,yBAAyBlN,KAAKiN,MAC7B,aAAajN,KAAKiN,KAEnB5N,EAAO,OAAQ,gBAKnBA,EAAQ1C,IAAI,aAAc,SAAW6gB,IAAS,GAExCwD,GAAe7U,EAAAA,KAChB0T,GAAY,CAAA,EAAA,CACfpI,OAAQwI,EACRjR,OAAQA,EAAO1R,cACf+B,QAASD,GAAyBC,EAAQwP,aAC1CoO,KAAM3lB,EACNwnB,OAAQ,OACRkD,YAAajB,GAAyBnM,OAAkB3gB,IAG1D8Q,EAAUwZ,GAAsB,IAAIL,EAAQxU,EAAKsX,IAAiBzE,EAAAlb,EAAA,GAE5Ckd,EAClByB,EAAOjb,EAAS8a,GAChBG,EAAOtW,EAAKsX,IAAgB,KAAA,GAKhC,GAPIhc,GAAQuX,EAAAjY,EAINsT,GAAkB3X,GAAamI,KAAKpD,GAAS3F,UAI/CygB,EAAmB,CAAAvD,EAAAlb,EAAA,GAAA,KAAA,CAC0D,KACzD,OADhB4f,GAAiBxiB,GAAMjB,eAAeoa,GAAgB2H,sBAC9B0B,GAAiB3S,GAAgB,CAAAiO,EAAAlb,EAAA,GAAA,KAAA,CAAA,MACvD,IAAIuD,GACR,4BAA8B0J,EAAmB,YACjD1J,GAAW8B,iBACXzC,EACAc,GACD,KAAA,GAqDiC,OAjDhCmc,GACJlC,IAA4C,WAAjBhR,GAA8C,aAAjBA,GAGxDgR,GACAha,GAASiY,OACRlI,GAAsB+K,GAAwBoB,IAAoB1J,KAE7DjQ,GAAU,CAAA,EAEhB,CAAC,SAAU,aAAc,WAAW7S,QAAQ,SAAChD,GAC3C6V,GAAQ7V,GAAQsT,GAAStT,EAC3B,GAEMyvB,GAAwB1iB,GAAMjB,eAAeoa,GAAgB2H,oBAAmB6B,GAGnFrM,GACCjD,GACEqP,GACA7R,GAAqB0C,GAAe+C,IAAqB,KAE7D,GAAEsM,GAAAjtB,EAAAgtB,GAAA,GANGxF,GAAUyF,GAAA,GAAEP,GAAKO,GAAA,GASlBG,GAAkB,SAACnF,GACvB,GAAIyD,GACUzD,EACI/N,EACd,MAAM,IAAI1J,GACR,4BAA8B0J,EAAmB,YACjD1J,GAAW8B,iBACXzC,EACAc,GAIN6W,IAAcA,GAAWS,EAC3B,EAEArX,GAAW,IAAImZ,EACbxC,GAAY3W,GAASiY,KA9dJ,MA8d8BuE,GAAiB,WAC9DV,IAASA,KACTtJ,GAAeA,GACjB,GACAjQ,KAIJyG,EAAeA,GAAgB,OAAOuO,EAAAlb,EAAA,GAEb4d,EAAUxgB,GAAMrJ,QAAQ6pB,EAAWjR,IAAiB,QAC3EhJ,GACAf,GACD,KAAA,GAHe,GAAZwd,GAAYlF,EAAAjY,GAQZwb,GAAwBd,GAA2BkC,GAAgB,CAAA3E,EAAAlb,EAAA,GAAA,KAAA,CAapE,GAXmB,MAAhBogB,KACqC,iBAA5BA,GAAazH,WACtB0H,GAAmBD,GAAazH,WACM,iBAAtByH,GAAapC,KAC7BqC,GAAmBD,GAAapC,KACC,iBAAjBoC,KAChBC,GACyB,mBAAhB1D,GACH,IAAIA,GAAc7U,OAAOsY,IAAczH,WACvCyH,GAAa3sB,WAGS,iBAArB4sB,IAAiCA,GAAmBpT,GAAgB,CAAAiO,EAAAlb,EAAA,GAAA,KAAA,CAAA,MACvE,IAAIuD,GACR,4BAA8B0J,EAAmB,YACjD1J,GAAW8B,iBACXzC,EACAc,GACD,KAAA,GAI6C,OAAjDmc,IAAoB1J,GAAeA,IAAc+E,EAAAlb,EAAA,GAErC,IAAI0V,QAAQ,SAAC3H,EAASC,GACjCF,GAAOC,EAASC,EAAQ,CACtB/X,KAAMmqB,GACNpiB,QAASY,GAAamI,KAAKpD,GAAS3F,SACpC+F,OAAQJ,GAASI,OACjB2S,WAAY/S,GAAS+S,WACrB9T,OAAAA,EACAc,QAAAA,GAEJ,GAAE,KAAA,GAAA,OAAAwX,EAAAtiB,EAAA,EAAAsiB,EAAAjY,GAAA,KAAA,GAMF,GANEiY,EAAA7B,EAAA,GAAAoH,GAAAvF,EAAAjY,EAEFkT,GAAeA,MAKXyI,GAAkBA,EAAehH,SAAWgH,EAAezG,kBAAkB5U,IAAU,CAAA2X,EAAAlb,EAAA,GAAA,KAAA,CAcxF,MAbKsgB,GAAgB1B,EAAezG,QACvBvV,OAASA,EACvBc,IAAY4c,GAAc5c,QAAUA,GAChC+c,KAAQH,IAGVzwB,OAAOiJ,eAAewnB,GAAe,QAAS,CAC5CvnB,UAAW,KACXxB,MAAKkpB,GACLznB,UAAU,EACVC,YAAY,EACZC,cAAc,IAGZonB,GAAa,KAAA,GAAA,IAQjBxB,EAAgB,CAAA5D,EAAAlb,EAAA,GAAA,KAAA,CAC2D,MAA7E0D,IAAYob,EAAiBpb,UAAYob,EAAiBpb,QAAUA,GAC9Dob,EAAgB,KAAA,GAAA,KAKpB2B,cAAeld,IAAU,CAAA2X,EAAAlb,EAAA,GAAA,KAAA,CACwB,MAAnD0D,IAAY+c,GAAI/c,UAAY+c,GAAI/c,QAAUA,GAAS+c,GAAA,KAAA,GAAA,IAIjDA,IAAoB,cAAbA,GAAIzrB,OAAwB,qBAAqB2J,KAAK8hB,GAAIhd,SAAQ,CAAAyX,EAAAlb,EAAA,GAAA,KAAA,CAgBxE,MAfGugB,GAAe,IAAIhd,GACvB,gBACAA,GAAW2B,YACXtC,EACAc,EACA+c,IAAOA,GAAI9c,UAIb9T,OAAOiJ,eAAeynB,GAAc,QAAS,CAC3CxnB,UAAW,KACXxB,MAAOkpB,GAAIG,OAAKH,GAChBznB,UAAU,EACVC,YAAY,EACZC,cAAc,IAEVqnB,GAAY,KAAA,GAAA,MAGdhd,GAAWwD,KAAI0Z,GAAMA,IAAOA,GAAI5iB,KAAM+E,EAAQc,EAAS+c,IAAOA,GAAI9c,UAAS,KAAA,GAAA,OAAAuX,EAAAtiB,EAAA,GAAA,EAAAylB,EAAA,KAAA,CAAA,CAAA,EAAA,KAAA,IAEpF,OAAA,SAAAwC,GAAA,OAAAzC,EAAA3uB,MAAAuI,KAAAtI,UAAA,CAAA,CAlaD,EAmaF,EAEMoxB,GAAY,IAAIC,IAETC,GAAW,SAACpe,GAWvB,IAVA,IAMEqe,EACAnkB,EAPEuP,EAAOzJ,GAAUA,EAAOyJ,KAAQ,CAAA,EAC5B2Q,EAA6B3Q,EAA7B2Q,MACFkE,EAAQ,CADuB7U,EAAtBwQ,QAAsBxQ,EAAbyQ,SACUE,GAGhC1pB,EADQ4tB,EAAMztB,OAIdT,EAAM8tB,GAEDxtB,KACL2tB,EAAOC,EAAM5tB,QAGFV,KAFXkK,EAAS9J,EAAI2O,IAAIsf,KAEOjuB,EAAIsI,IAAI2lB,EAAOnkB,EAASxJ,EAAI,IAAIytB,IAAQtE,GAAQpQ,IAExErZ,EAAM8J,EAGR,OAAOA,CACT,EAEgBkkB,KCjnBhB,IAAMG,GAAgB,CACpBC,KCfa,KDgBbC,IAAK7L,GACLwH,MAAO,CACLrb,IAAK2f,KAKTlkB,GAAM/J,QAAQ8tB,GAAe,SAAC5xB,EAAIgI,GAChC,GAAIhI,EAAI,CACN,IAGEM,OAAOiJ,eAAevJ,EAAI,OAAQ,CAAEwJ,UAAW,KAAMxB,MAAAA,GACvD,CAAE,MAAOF,GACP,CAEFxH,OAAOiJ,eAAevJ,EAAI,cAAe,CAAEwJ,UAAW,KAAMxB,MAAAA,GAC9D,CACF,GAQA,IAAMgqB,GAAe,SAACpJ,GAAM,MAAA,KAAAxiB,OAAUwiB,EAAM,EAQtCqJ,GAAmB,SAAC9V,GAAO,OAC/BtO,GAAMzL,WAAW+Z,IAAwB,OAAZA,IAAgC,IAAZA,CAAiB,EAmEpE,IAAA+V,GAAe,CAKbC,WA5DF,SAAoBD,EAAU7e,GAS5B,IANA,IACI+e,EACAjW,EAFIjY,GAFRguB,EAAWrkB,GAAM/L,QAAQowB,GAAYA,EAAW,CAACA,IAEzChuB,OAIFmuB,EAAkB,CAAA,EAEftuB,EAAI,EAAGA,EAAIG,EAAQH,IAAK,CAE/B,IAAI6V,OAAE,EAIN,GAFAuC,EAHAiW,EAAgBF,EAASnuB,IAKpBkuB,GAAiBG,SAGJ/uB,KAFhB8Y,EAAUyV,IAAehY,EAAK9O,OAAOsnB,IAAgB3wB,gBAGnD,MAAM,IAAIuS,GAAU,oBAAA5N,OAAqBwT,QAI7C,GAAIuC,IAAYtO,GAAMzL,WAAW+Z,KAAaA,EAAUA,EAAQ/J,IAAIiB,KAClE,MAGFgf,EAAgBzY,GAAM,IAAM7V,GAAKoY,CACnC,CAEA,IAAKA,EAAS,CACZ,IAAMmW,EAAUhyB,OAAO2R,QAAQogB,GAAiB5uB,IAC9C,SAAAyO,GAAA,IAAAC,EAAA3O,EAAA0O,EAAA,GAAE0H,EAAEzH,EAAA,GAAEogB,EAAKpgB,EAAA,GAAA,MACT,WAAA/L,OAAWwT,EAAE,OACF,IAAV2Y,EAAkB,sCAAwC,gCAAgC,GAG3F/hB,EAAItM,EACJouB,EAAQpuB,OAAS,EACf,YAAcouB,EAAQ7uB,IAAIuuB,IAAchgB,KAAK,MAC7C,IAAMggB,GAAaM,EAAQ,IAC7B,0BAEJ,MAAM,IAAIte,GACR,wDAA0DxD,EAC1DwD,GAAWiC,gBAEf,CAEA,OAAOkG,CACT,EAgBE+V,SAAUN,IElHZ,SAASY,GAA6Bnf,GAKpC,GAJIA,EAAOoR,aACTpR,EAAOoR,YAAYgO,mBAGjBpf,EAAOwT,QAAUxT,EAAOwT,OAAOwB,QACjC,MAAM,IAAIhK,GAAc,KAAMhL,EAElC,CASe,SAASqf,GAAgBrf,GActC,OAbAmf,GAA6Bnf,GAE7BA,EAAO5E,QAAUY,GAAamI,KAAKnE,EAAO5E,SAG1C4E,EAAO3M,KAAOqX,GAAchd,KAAKsS,EAAQA,EAAO+I,uBAE5C,CAAC,OAAQ,MAAO,SAASjb,QAAQkS,EAAO+K,SAC1C/K,EAAO5E,QAAQgO,eAAe,qCAAqC,GAGrDyV,GAASC,WAAW9e,EAAO8I,SAAWF,GAASE,QAAS9I,EAEjE8I,CAAQ9I,GAAQ3F,KACrB,SAA6B0G,GAC3Boe,GAA6Bnf,GAK7BA,EAAOe,SAAWA,EAClB,IACEA,EAAS1N,KAAOqX,GAAchd,KAAKsS,EAAQA,EAAO8J,kBAAmB/I,EACvE,CAAC,eACQf,EAAOe,QAChB,CAIA,OAFAA,EAAS3F,QAAUY,GAAamI,KAAKpD,EAAS3F,SAEvC2F,CACT,EACA,SAA4BwU,GAC1B,IAAK1K,GAAS0K,KACZ4J,GAA6Bnf,GAGzBuV,GAAUA,EAAOxU,UAAU,CAC7Bf,EAAOe,SAAWwU,EAAOxU,SACzB,IACEwU,EAAOxU,SAAS1N,KAAOqX,GAAchd,KACnCsS,EACAA,EAAO8J,kBACPyL,EAAOxU,SAEX,CAAC,eACQf,EAAOe,QAChB,CACAwU,EAAOxU,SAAS3F,QAAUY,GAAamI,KAAKoR,EAAOxU,SAAS3F,QAC9D,CAGF,OAAO0X,QAAQ1H,OAAOmK,EACxB,EAEJ,CCnFA,IAAM+J,GAAa,CAAA,EAGnB,CAAC,SAAU,UAAW,SAAU,WAAY,SAAU,UAAU7uB,QAAQ,SAACnC,EAAMoC,GAC7E4uB,GAAWhxB,GAAQ,SAAmBV,GACpC,OAAOY,EAAOZ,KAAUU,GAAQ,KAAOoC,EAAI,EAAI,KAAO,KAAOpC,CAC/D,CACF,GAEA,IAAMixB,GAAqB,CAAA,EAW3BD,GAAWzW,aAAe,SAAsB2W,EAAWC,EAAS5e,GAClE,SAAS6e,EAAcC,EAAKC,GAC1B,MACE,WACArG,GACA,0BACAoG,EACA,IACAC,GACC/e,EAAU,KAAOA,EAAU,GAEhC,CAGA,OAAO,SAAClM,EAAOgrB,EAAKE,GAClB,IAAkB,IAAdL,EACF,MAAM,IAAI7e,GACR+e,EAAcC,EAAK,qBAAuBF,EAAU,OAASA,EAAU,KACvE9e,GAAW6B,gBAef,OAXIid,IAAYF,GAAmBI,KACjCJ,GAAmBI,IAAO,EAE1BG,QAAQC,KACNL,EACEC,EACA,+BAAiCF,EAAU,8CAK1CD,GAAYA,EAAU7qB,EAAOgrB,EAAKE,EAC3C,CACF,EAEAP,GAAWU,SAAW,SAAkBC,GACtC,OAAO,SAACtrB,EAAOgrB,GAGb,OADAG,QAAQC,KAAI,GAAAhtB,OAAI4sB,EAAG,gCAAA5sB,OAA+BktB,KAC3C,CACT,CACF,EAwCA,IAAAT,GAAe,CACbU,cA7BF,SAAuB5c,EAAS6c,EAAQC,GACtC,GAAuB,WAAnB5xB,EAAO8U,IAAoC,OAAZA,EACjC,MAAM,IAAI3C,GAAW,4BAA6BA,GAAWsB,sBAI/D,IAFA,IAAMjR,EAAO/D,OAAO+D,KAAKsS,GACrB5S,EAAIM,EAAKH,OACNH,KAAM,GAAG,CACd,IAAMivB,EAAM3uB,EAAKN,GAGX8uB,EAAYvyB,OAAOC,UAAUK,eAAeG,KAAKyyB,EAAQR,GAAOQ,EAAOR,QAAO3vB,EACpF,GAAIwvB,EAAJ,CACE,IAAM7qB,EAAQ2O,EAAQqc,GAChBpqB,OAAmBvF,IAAV2E,GAAuB6qB,EAAU7qB,EAAOgrB,EAAKrc,GAC5D,IAAe,IAAX/N,EACF,MAAM,IAAIoL,GACR,UAAYgf,EAAM,YAAcpqB,EAChCoL,GAAWsB,qBAIjB,MACA,IAAqB,IAAjBme,EACF,MAAM,IAAIzf,GAAW,kBAAoBgf,EAAKhf,GAAWuB,eAE7D,CACF,EAIEod,WAAAA,IClGIA,GAAaE,GAAUF,WASvBe,GAAK,WAST,OAAApkB,EARA,SAAAokB,EAAYC,GAAgBpkB,OAAAmkB,GAC1BjrB,KAAKwT,SAAW0X,GAAkB,CAAA,EAClClrB,KAAKmrB,aAAe,CAClBzf,QAAS,IAAImF,GACblF,SAAU,IAAIkF,GAElB,EAEA,CAAA,CAAAlV,IAAA,UAAA4D,OAAA6rB,EAAAxI,EAAAtC,IAAAxc,EAQA,SAAAgd,EAAcuK,EAAazgB,GAAM,IAAA0gB,EAAA9e,EAAA+e,EAAAC,EAAAC,EAAAtK,EAAA,OAAAb,IAAAtX,EAAA,SAAA0X,GAAA,cAAAA,EAAAW,EAAAX,EAAA1Y,GAAA,KAAA,EAAA,OAAA0Y,EAAAW,EAAA,EAAAX,EAAA1Y,EAAA,EAEhBhI,KAAK+lB,SAASsF,EAAazgB,GAAO,KAAA,EAAA,OAAA8V,EAAA9f,EAAA,EAAA8f,EAAAzV,GAAA,KAAA,EAE/C,GAF+CyV,EAAAW,EAAA,GAAAF,EAAAT,EAAAzV,aAE5B1H,MAAO,CACpB+nB,EAAQ,CAAA,EAEZ/nB,MAAMmoB,kBAAoBnoB,MAAMmoB,kBAAkBJ,GAAUA,EAAQ,IAAI/nB,MAGlEiJ,EAAS,WACb,IAAK8e,EAAM9e,MACT,MAAO,GAGT,IAAM+e,EAAoBD,EAAM9e,MAAM9T,QAAQ,MAE9C,OAA6B,IAAtB6yB,EAA2B,GAAKD,EAAM9e,MAAMzT,MAAMwyB,EAAoB,EAC/E,CARe,GASf,IACOpK,EAAI3U,MAGEA,IACH+e,EAAoB/e,EAAM9T,QAAQ,MAClC8yB,GACmB,IAAvBD,GAA4B,EAAI/e,EAAM9T,QAAQ,KAAM6yB,EAAoB,GACpEE,GACoB,IAAxBD,EAA4B,GAAKhf,EAAMzT,MAAMyyB,EAAqB,GAE/DnpB,OAAO8e,EAAI3U,OAAOtK,SAASupB,KAC9BtK,EAAI3U,OAAS,KAAOA,IAVtB2U,EAAI3U,MAAQA,CAahB,CAAE,MAAOnN,GACP,CAEJ,CAAC,MAAA8hB,EAAA,KAAA,EAAA,OAAAT,EAAA9f,EAAA,GAAA,EAAAkgB,EAAA9gB,KAAA,CAAA,CAAA,EAAA,IAAA,IAIJ,SAzCY4hB,EAAAC,GAAA,OAAAuJ,EAAA3zB,MAAAuI,KAAAtI,UAAA,IAAA,CAAAiE,IAAA,WAAA4D,MA2Cb,SAAS8rB,EAAazgB,GAGO,iBAAhBygB,GACTzgB,EAASA,GAAU,CAAA,GACZyF,IAAMgb,EAEbzgB,EAASygB,GAAe,CAAA,EAK1B,IAAArN,EAFApT,EAASgQ,GAAY5a,KAAKwT,SAAU5I,GAE5B6I,EAAYuK,EAAZvK,aAAc4H,EAAgB2C,EAAhB3C,iBAAkBrV,EAAOgY,EAAPhY,aAEnBpL,IAAjB6Y,GACF2W,GAAUU,cACRrX,EACA,CACEnC,kBAAmB4Y,GAAWzW,aAAayW,YAC3C3Y,kBAAmB2Y,GAAWzW,aAAayW,YAC3C1Y,oBAAqB0Y,GAAWzW,aAAayW,YAC7CzY,gCAAiCyY,GAAWzW,aAAayW,YACzDxY,4BAA6BwY,GAAWzW,aAAayW,YACrDvY,gCAAiCuY,GAAWzW,aAAayW,GAAU,WAErE,GAIoB,MAApB7O,IACEjW,GAAMzL,WAAW0hB,GACnBzQ,EAAOyQ,iBAAmB,CACxB7K,UAAW6K,GAGb+O,GAAUU,cACRzP,EACA,CACEvL,OAAQoa,GAAU,SAClB1Z,UAAW0Z,GAAU,WAEvB,SAM2BtvB,IAA7BgQ,EAAO2P,yBAEoC3f,IAApCoF,KAAKwT,SAAS+G,kBACvB3P,EAAO2P,kBAAoBva,KAAKwT,SAAS+G,kBAEzC3P,EAAO2P,mBAAoB,GAG7B6P,GAAUU,cACRlgB,EACA,CACE+gB,QAASzB,GAAWU,SAAS,WAC7BgB,cAAe1B,GAAWU,SAAS,mBAErC,GAIFhgB,EAAO+K,QAAU/K,EAAO+K,QAAU3V,KAAKwT,SAASmC,QAAU,OAAO3c,cAGjE,IAAI6yB,EAAiB7lB,GAAWZ,GAAMtF,MAAMkG,EAAQoP,OAAQpP,EAAQ4E,EAAO+K,SAE3E3P,GACEZ,GAAM/J,QAAQ,CAAC,SAAU,MAAO,OAAQ,OAAQ,MAAO,QAAS,QAAS,UAAW,SAACsa,UAC5E3P,EAAQ2P,EACjB,GAEF/K,EAAO5E,QAAUY,GAAajJ,OAAOkuB,EAAgB7lB,GAGrD,IAAM8lB,EAA0B,GAC5BC,GAAiC,EACrC/rB,KAAKmrB,aAAazf,QAAQrQ,QAAQ,SAAoC2wB,GACpE,GAAmC,mBAAxBA,EAAY9a,UAA0D,IAAhC8a,EAAY9a,QAAQtG,GAArE,CAIAmhB,EAAiCA,GAAkCC,EAAY/a,YAE/E,IAAMwC,EAAe7I,EAAO6I,cAAgBpC,GAE1CoC,GAAgBA,EAAahC,gCAG7Bqa,EAAwBG,QAAQD,EAAYjb,UAAWib,EAAYhb,UAEnE8a,EAAwBnzB,KAAKqzB,EAAYjb,UAAWib,EAAYhb,SAXlE,CAaF,GAEA,IAKIkb,EALEC,EAA2B,GACjCnsB,KAAKmrB,aAAaxf,SAAStQ,QAAQ,SAAkC2wB,GACnEG,EAAyBxzB,KAAKqzB,EAAYjb,UAAWib,EAAYhb,SACnE,GAGA,IACIlV,EADAR,EAAI,EAGR,IAAKywB,EAAgC,CACnC,IAAMK,EAAQ,CAACnC,GAAgB3yB,KAAK0I,WAAOpF,GAO3C,IANAwxB,EAAMH,QAAOx0B,MAAb20B,EAAiBN,GACjBM,EAAMzzB,KAAIlB,MAAV20B,EAAcD,GACdrwB,EAAMswB,EAAM3wB,OAEZywB,EAAUxO,QAAQ3H,QAAQnL,GAEnBtP,EAAIQ,GACTowB,EAAUA,EAAQjnB,KAAKmnB,EAAM9wB,KAAM8wB,EAAM9wB,MAG3C,OAAO4wB,CACT,CAEApwB,EAAMgwB,EAAwBrwB,OAI9B,IAFA,IAAIihB,EAAY9R,EAETtP,EAAIQ,GAAK,CACd,IAAMuwB,EAAcP,EAAwBxwB,KACtCgxB,EAAaR,EAAwBxwB,KAC3C,IACEohB,EAAY2P,EAAY3P,EAC1B,CAAE,MAAOjQ,GACP6f,EAAWh0B,KAAK0H,KAAMyM,GACtB,KACF,CACF,CAEA,IACEyf,EAAUjC,GAAgB3xB,KAAK0H,KAAM0c,EACvC,CAAE,MAAOjQ,GACP,OAAOiR,QAAQ1H,OAAOvJ,EACxB,CAKA,IAHAnR,EAAI,EACJQ,EAAMqwB,EAAyB1wB,OAExBH,EAAIQ,GACTowB,EAAUA,EAAQjnB,KAAKknB,EAAyB7wB,KAAM6wB,EAAyB7wB,MAGjF,OAAO4wB,CACT,GAAC,CAAAvwB,IAAA,SAAA4D,MAED,SAAOqL,GAGL,OAAOwF,GADUgK,IADjBxP,EAASgQ,GAAY5a,KAAKwT,SAAU5I,IACEyP,QAASzP,EAAOyF,IAAKzF,EAAO2P,kBAAmB3P,GAC3DA,EAAOsF,OAAQtF,EAAOyQ,iBAClD,KAhNA,IAAA+P,CAgNC,CAzNQ,GA6NXhmB,GAAM/J,QAAQ,CAAC,SAAU,MAAO,OAAQ,WAAY,SAA6Bsa,GAE/EsV,GAAMnzB,UAAU6d,GAAU,SAAUtF,EAAKzF,GACvC,OAAO5K,KAAK0L,QACVkP,GAAYhQ,GAAU,CAAA,EAAI,CACxB+K,OAAAA,EACAtF,IAAAA,EACApS,KAAM2M,GAAUxF,GAAMlC,WAAW0H,EAAQ,QAAUA,EAAO3M,UAAOrD,IAGvE,CACF,GAEAwK,GAAM/J,QAAQ,CAAC,OAAQ,MAAO,QAAS,SAAU,SAA+Bsa,GAC9E,SAAS4W,EAAmBC,GAC1B,OAAO,SAAoBnc,EAAKpS,EAAM2M,GACpC,OAAO5K,KAAK0L,QACVkP,GAAYhQ,GAAU,CAAA,EAAI,CACxB+K,OAAAA,EACA3P,QAASwmB,EACL,CACE,eAAgB,uBAElB,CAAA,EACJnc,IAAAA,EACApS,KAAAA,IAGN,CACF,CAEAgtB,GAAMnzB,UAAU6d,GAAU4W,IAIX,UAAX5W,IACFsV,GAAMnzB,UAAU6d,EAAS,QAAU4W,GAAmB,GAE1D,GCpRA,IAOME,GAAW,WACf,SAAAA,EAAYC,GACV,GADoB5lB,OAAA2lB,GACI,mBAAbC,EACT,MAAM,IAAIxkB,UAAU,gCAGtB,IAAIykB,EAEJ3sB,KAAKksB,QAAU,IAAIxO,QAAQ,SAAyB3H,GAClD4W,EAAiB5W,CACnB,GAEA,IAAM1Y,EAAQ2C,KAGdA,KAAKksB,QAAQjnB,KAAK,SAACwa,GACjB,GAAKpiB,EAAMuvB,WAAX,CAIA,IAFA,IAAItxB,EAAI+B,EAAMuvB,WAAWnxB,OAElBH,KAAM,GACX+B,EAAMuvB,WAAWtxB,GAAGmkB,GAEtBpiB,EAAMuvB,WAAa,IAPI,CAQzB,GAGA5sB,KAAKksB,QAAQjnB,KAAO,SAAC4nB,GACnB,IAAIC,EAEEZ,EAAU,IAAIxO,QAAQ,SAAC3H,GAC3B1Y,EAAMsiB,UAAU5J,GAChB+W,EAAW/W,CACb,GAAG9Q,KAAK4nB,GAMR,OAJAX,EAAQzM,OAAS,WACfpiB,EAAM8gB,YAAY2O,EACpB,EAEOZ,CACT,EAEAQ,EAAS,SAAgBjhB,EAASb,EAAQc,GACpCrO,EAAM8iB,SAKV9iB,EAAM8iB,OAAS,IAAIvK,GAAcnK,EAASb,EAAQc,GAClDihB,EAAetvB,EAAM8iB,QACvB,EACF,CAEA,OAAAtZ,EAAA4lB,EAAA,CAAA,CAAA9wB,IAAA,mBAAA4D,MAGA,WACE,GAAIS,KAAKmgB,OACP,MAAMngB,KAAKmgB,MAEf,GAEA,CAAAxkB,IAAA,YAAA4D,MAIA,SAAU2W,GACJlW,KAAKmgB,OACPjK,EAASlW,KAAKmgB,QAIZngB,KAAK4sB,WACP5sB,KAAK4sB,WAAWj0B,KAAKud,GAErBlW,KAAK4sB,WAAa,CAAC1W,EAEvB,GAEA,CAAAva,IAAA,cAAA4D,MAIA,SAAY2W,GACV,GAAKlW,KAAK4sB,WAAV,CAGA,IAAMjd,EAAQ3P,KAAK4sB,WAAWl0B,QAAQwd,IACxB,IAAVvG,GACF3P,KAAK4sB,WAAWG,OAAOpd,EAAO,EAHhC,CAKF,GAAC,CAAAhU,IAAA,gBAAA4D,MAED,WAAgB,IAAAqM,EAAA5L,KACRigB,EAAa,IAAIC,gBAEjBR,EAAQ,SAACtX,GACb6X,EAAWP,MAAMtX,EACnB,EAMA,OAJApI,KAAK2f,UAAUD,GAEfO,EAAW7B,OAAOD,YAAc,WAAA,OAAMvS,EAAKuS,YAAYuB,EAAM,EAEtDO,EAAW7B,MACpB,IAEA,CAAA,CAAAziB,IAAA,SAAA4D,MAIA,WACE,IAAIkgB,EAIJ,MAAO,CACLpiB,MAJY,IAAIovB,EAAY,SAAkBvI,GAC9CzE,EAASyE,CACX,GAGEzE,OAAAA,EAEJ,IAAC,CAxHc,GCXjB,IAAMuN,GAAiB,CACrBC,SAAU,IACVC,mBAAoB,IACpBC,WAAY,IACZC,WAAY,IACZC,GAAI,IACJC,QAAS,IACTC,SAAU,IACVC,4BAA6B,IAC7BC,UAAW,IACXC,aAAc,IACdC,eAAgB,IAChBC,YAAa,IACbC,gBAAiB,IACjBC,OAAQ,IACRC,gBAAiB,IACjBC,iBAAkB,IAClBC,MAAO,IACPC,SAAU,IACVC,YAAa,IACbC,SAAU,IACVC,OAAQ,IACRC,kBAAmB,IACnBC,kBAAmB,IACnBC,WAAY,IACZC,aAAc,IACdC,gBAAiB,IACjBC,UAAW,IACXC,SAAU,IACVC,iBAAkB,IAClBC,cAAe,IACfC,4BAA6B,IAC7BC,eAAgB,IAChBC,SAAU,IACVC,KAAM,IACNC,eAAgB,IAChBC,mBAAoB,IACpBC,gBAAiB,IACjBC,WAAY,IACZC,qBAAsB,IACtBC,oBAAqB,IACrBC,kBAAmB,IACnBC,UAAW,IACXC,mBAAoB,IACpBC,oBAAqB,IACrBC,OAAQ,IACRC,iBAAkB,IAClBC,SAAU,IACVC,gBAAiB,IACjBC,qBAAsB,IACtBC,gBAAiB,IACjBC,4BAA6B,IAC7BC,2BAA4B,IAC5BC,oBAAqB,IACrBC,eAAgB,IAChBC,WAAY,IACZC,mBAAoB,IACpBC,eAAgB,IAChBC,wBAAyB,IACzBC,sBAAuB,IACvBC,oBAAqB,IACrBC,aAAc,IACdC,YAAa,IACbC,8BAA+B,IAC/BC,gBAAiB,IACjBC,mBAAoB,IACpBC,oBAAqB,IACrBC,gBAAiB,IACjBC,mBAAoB,IACpBC,sBAAuB,KAGzBx5B,OAAO2R,QAAQwjB,IAAgB3xB,QAAQ,SAAAoO,GAAkB,IAAAC,EAAA3O,EAAA0O,EAAA,GAAhB9N,EAAG+N,EAAA,GAAEnK,EAAKmK,EAAA,GACjDsjB,GAAeztB,GAAS5D,CAC1B,GC5BA,IAAM21B,GAnBN,SAASC,EAAeC,GACtB,IAAMr1B,EAAU,IAAI8uB,GAAMuG,GACpBC,EAAWn6B,EAAK2zB,GAAMnzB,UAAU4T,QAASvP,GAa/C,OAVAiJ,GAAMzE,OAAO8wB,EAAUxG,GAAMnzB,UAAWqE,EAAS,CAAET,YAAY,IAG/D0J,GAAMzE,OAAO8wB,EAAUt1B,EAAS,KAAM,CAAET,YAAY,IAGpD+1B,EAAS54B,OAAS,SAAgBqyB,GAChC,OAAOqG,EAAe3W,GAAY4W,EAAetG,GACnD,EAEOuG,CACT,CAGcF,CAAe/d,WAG7B8d,GAAMrG,MAAQA,GAGdqG,GAAM1b,cAAgBA,GACtB0b,GAAM7E,YAAcA,GACpB6E,GAAM7b,SAAWA,GACjB6b,GAAMnN,QAAUA,GAChBmN,GAAMrjB,WAAaA,GAGnBqjB,GAAM/lB,WAAaA,GAGnB+lB,GAAMI,OAASJ,GAAM1b,cAGrB0b,GAAMK,IAAM,SAAaC,GACvB,OAAOlU,QAAQiU,IAAIC,EACrB,EAEAN,GAAMO,OC9CS,SAAgBC,GAC7B,OAAO,SAActvB,GACnB,OAAOsvB,EAASr6B,MAAM,KAAM+K,EAC9B,CACF,ED6CA8uB,GAAMxlB,aE7DS,SAAsBimB,GACnC,OAAO3sB,GAAMrL,SAASg4B,KAAqC,IAAzBA,EAAQjmB,YAC5C,EF8DAwlB,GAAM1W,YAAcA,GAEpB0W,GAAM1qB,aAAeA,GAErB0qB,GAAMU,WAAa,SAACx5B,GAAK,OAAKwa,GAAe5N,GAAM7I,WAAW/D,GAAS,IAAImC,SAASnC,GAASA,EAAM,EAEnG84B,GAAM5H,WAAaD,GAASC,WAE5B4H,GAAMtE,eAAiBA,GAEvBsE,GAAK,QAAWA"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/browser/axios.cjs b/Lombiq.EInvoiceValidator/node_modules/axios/dist/browser/axios.cjs deleted file mode 100644 index b39acfe..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/dist/browser/axios.cjs +++ /dev/null @@ -1,5146 +0,0 @@ -/*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */ -'use strict'; - -/** - * Create a bound version of a function with a specified `this` context - * - * @param {Function} fn - The function to bind - * @param {*} thisArg - The value to be passed as the `this` parameter - * @returns {Function} A new function that will call the original function with the specified `this` context - */ -function bind(fn, thisArg) { - return function wrap() { - return fn.apply(thisArg, arguments); - }; -} - -// utils is a library of generic helper functions non-specific to axios - -const { toString } = Object.prototype; -const { getPrototypeOf } = Object; -const { iterator, toStringTag } = Symbol; - -/* Creating a function that will check if an object has a property. */ -const hasOwnProperty = ( - ({ hasOwnProperty }) => - (obj, prop) => - hasOwnProperty.call(obj, prop) -)(Object.prototype); - -/** - * Walk the prototype chain (excluding the shared Object.prototype) looking for - * an own `prop`. This distinguishes genuine own/inherited members — including - * class accessors and template prototypes — from members injected via - * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which - * live on Object.prototype itself and are therefore never matched. - * - * @param {*} thing The value whose chain to inspect - * @param {string|symbol} prop The property key to look for - * - * @returns {boolean} True when `prop` is owned below Object.prototype - */ -const hasOwnInPrototypeChain = (thing, prop) => { - let obj = thing; - const seen = []; - - while (obj != null && obj !== Object.prototype) { - if (seen.indexOf(obj) !== -1) { - return false; - } - seen.push(obj); - - if (hasOwnProperty(obj, prop)) { - return true; - } - obj = getPrototypeOf(obj); - } - return false; -}; - -/** - * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own - * properties and members inherited from a non-Object.prototype source (a class - * instance or template object) are honored; a value reachable only through a - * polluted Object.prototype is ignored and `undefined` is returned. - * - * @param {*} obj The source object - * @param {string|symbol} prop The property key to read - * - * @returns {*} The resolved value, or undefined when unsafe/absent - */ -const getSafeProp = (obj, prop) => - obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined; - -const kindOf = ((cache) => (thing) => { - const str = toString.call(thing); - return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase()); -})(Object.create(null)); - -const kindOfTest = (type) => { - type = type.toLowerCase(); - return (thing) => kindOf(thing) === type; -}; - -const typeOfTest = (type) => (thing) => typeof thing === type; - -/** - * Determine if a value is a non-null object - * - * @param {Object} val The value to test - * - * @returns {boolean} True if value is an Array, otherwise false - */ -const { isArray } = Array; - -/** - * Determine if a value is undefined - * - * @param {*} val The value to test - * - * @returns {boolean} True if the value is undefined, otherwise false - */ -const isUndefined = typeOfTest('undefined'); - -/** - * Determine if a value is a Buffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Buffer, otherwise false - */ -function isBuffer(val) { - return ( - val !== null && - !isUndefined(val) && - val.constructor !== null && - !isUndefined(val.constructor) && - isFunction$1(val.constructor.isBuffer) && - val.constructor.isBuffer(val) - ); -} - -/** - * Determine if a value is an ArrayBuffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is an ArrayBuffer, otherwise false - */ -const isArrayBuffer = kindOfTest('ArrayBuffer'); - -/** - * Determine if a value is a view on an ArrayBuffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false - */ -function isArrayBufferView(val) { - let result; - if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) { - result = ArrayBuffer.isView(val); - } else { - result = val && val.buffer && isArrayBuffer(val.buffer); - } - return result; -} - -/** - * Determine if a value is a String - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a String, otherwise false - */ -const isString = typeOfTest('string'); - -/** - * Determine if a value is a Function - * - * @param {*} val The value to test - * @returns {boolean} True if value is a Function, otherwise false - */ -const isFunction$1 = typeOfTest('function'); - -/** - * Determine if a value is a Number - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Number, otherwise false - */ -const isNumber = typeOfTest('number'); - -/** - * Determine if a value is an Object - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value is an Object, otherwise false - */ -const isObject = (thing) => thing !== null && typeof thing === 'object'; - -/** - * Determine if a value is a Boolean - * - * @param {*} thing The value to test - * @returns {boolean} True if value is a Boolean, otherwise false - */ -const isBoolean = (thing) => thing === true || thing === false; - -/** - * Determine if a value is a plain Object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a plain Object, otherwise false - */ -const isPlainObject = (val) => { - if (!isObject(val)) { - return false; - } - - const prototype = getPrototypeOf(val); - return ( - (prototype === null || - prototype === Object.prototype || - getPrototypeOf(prototype) === null) && - // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or - // Symbol.iterator as evidence the value is a tagged/iterable type rather - // than a plain object, while ignoring keys injected onto Object.prototype. - !hasOwnInPrototypeChain(val, toStringTag) && - !hasOwnInPrototypeChain(val, iterator) - ); -}; - -/** - * Determine if a value is an empty object (safely handles Buffers) - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is an empty object, otherwise false - */ -const isEmptyObject = (val) => { - // Early return for non-objects or Buffers to prevent RangeError - if (!isObject(val) || isBuffer(val)) { - return false; - } - - try { - return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype; - } catch (e) { - // Fallback for any other objects that might cause RangeError with Object.keys() - return false; - } -}; - -/** - * Determine if a value is a Date - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Date, otherwise false - */ -const isDate = kindOfTest('Date'); - -/** - * Determine if a value is a File - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a File, otherwise false - */ -const isFile = kindOfTest('File'); - -/** - * Determine if a value is a React Native Blob - * React Native "blob": an object with a `uri` attribute. Optionally, it can - * also have a `name` and `type` attribute to specify filename and content type - * - * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71 - * - * @param {*} value The value to test - * - * @returns {boolean} True if value is a React Native Blob, otherwise false - */ -const isReactNativeBlob = (value) => { - return !!(value && typeof value.uri !== 'undefined'); -}; - -/** - * Determine if environment is React Native - * ReactNative `FormData` has a non-standard `getParts()` method - * - * @param {*} formData The formData to test - * - * @returns {boolean} True if environment is React Native, otherwise false - */ -const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined'; - -/** - * Determine if a value is a Blob - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Blob, otherwise false - */ -const isBlob = kindOfTest('Blob'); - -/** - * Determine if a value is a FileList - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a FileList, otherwise false - */ -const isFileList = kindOfTest('FileList'); - -/** - * Determine if a value is a Stream - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Stream, otherwise false - */ -const isStream = (val) => isObject(val) && isFunction$1(val.pipe); - -/** - * Determine if a value is a FormData - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value is an FormData, otherwise false - */ -function getGlobal() { - if (typeof globalThis !== 'undefined') return globalThis; - if (typeof self !== 'undefined') return self; - if (typeof window !== 'undefined') return window; - if (typeof global !== 'undefined') return global; - return {}; -} - -const G = getGlobal(); -const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined; - -const isFormData = (thing) => { - if (!thing) return false; - if (FormDataCtor && thing instanceof FormDataCtor) return true; - // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData. - const proto = getPrototypeOf(thing); - if (!proto || proto === Object.prototype) return false; - if (!isFunction$1(thing.append)) return false; - const kind = kindOf(thing); - return ( - kind === 'formdata' || - // detect form-data instance - (kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]') - ); -}; - -/** - * Determine if a value is a URLSearchParams object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a URLSearchParams object, otherwise false - */ -const isURLSearchParams = kindOfTest('URLSearchParams'); - -const [isReadableStream, isRequest, isResponse, isHeaders] = [ - 'ReadableStream', - 'Request', - 'Response', - 'Headers', -].map(kindOfTest); - -/** - * Trim excess whitespace off the beginning and end of a string - * - * @param {String} str The String to trim - * - * @returns {String} The String freed of excess whitespace - */ -const trim = (str) => { - return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); -}; -/** - * Iterate over an Array or an Object invoking a function for each item. - * - * If `obj` is an Array callback will be called passing - * the value, index, and complete array for each item. - * - * If 'obj' is an Object callback will be called passing - * the value, key, and complete object for each property. - * - * @param {Object|Array} obj The object to iterate - * @param {Function} fn The callback to invoke for each item - * - * @param {Object} [options] - * @param {Boolean} [options.allOwnKeys = false] - * @returns {any} - */ -function forEach(obj, fn, { allOwnKeys = false } = {}) { - // Don't bother if no value provided - if (obj === null || typeof obj === 'undefined') { - return; - } - - let i; - let l; - - // Force an array if not already something iterable - if (typeof obj !== 'object') { - /*eslint no-param-reassign:0*/ - obj = [obj]; - } - - if (isArray(obj)) { - // Iterate over array values - for (i = 0, l = obj.length; i < l; i++) { - fn.call(null, obj[i], i, obj); - } - } else { - // Buffer check - if (isBuffer(obj)) { - return; - } - - // Iterate over object keys - const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj); - const len = keys.length; - let key; - - for (i = 0; i < len; i++) { - key = keys[i]; - fn.call(null, obj[key], key, obj); - } - } -} - -/** - * Finds a key in an object, case-insensitive, returning the actual key name. - * Returns null if the object is a Buffer or if no match is found. - * - * @param {Object} obj - The object to search. - * @param {string} key - The key to find (case-insensitive). - * @returns {?string} The actual key name if found, otherwise null. - */ -function findKey(obj, key) { - if (isBuffer(obj)) { - return null; - } - - key = key.toLowerCase(); - const keys = Object.keys(obj); - let i = keys.length; - let _key; - while (i-- > 0) { - _key = keys[i]; - if (key === _key.toLowerCase()) { - return _key; - } - } - return null; -} - -const _global = (() => { - /*eslint no-undef:0*/ - if (typeof globalThis !== 'undefined') return globalThis; - return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global; -})(); - -const isContextDefined = (context) => !isUndefined(context) && context !== _global; - -/** - * Accepts varargs expecting each argument to be an object, then - * immutably merges the properties of each object and returns result. - * - * When multiple objects contain the same key the later object in - * the arguments list will take precedence. - * - * Example: - * - * ```js - * const result = merge({foo: 123}, {foo: 456}); - * console.log(result.foo); // outputs 456 - * ``` - * - * @param {Object} obj1 Object to merge - * - * @returns {Object} Result of all merge properties - */ -function merge(...objs) { - const { caseless, skipUndefined } = (isContextDefined(this) && this) || {}; - const result = {}; - const assignValue = (val, key) => { - // Skip dangerous property names to prevent prototype pollution - if (key === '__proto__' || key === 'constructor' || key === 'prototype') { - return; - } - - // findKey lowercases the key, so caseless lookup only applies to strings — - // symbol keys are identity-matched. - const targetKey = (caseless && typeof key === 'string' && findKey(result, key)) || key; - // Read via own-prop only — a bare `result[targetKey]` walks the prototype - // chain, so a polluted Object.prototype value could surface here and get - // copied into the merged result. - const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined; - if (isPlainObject(existing) && isPlainObject(val)) { - result[targetKey] = merge(existing, val); - } else if (isPlainObject(val)) { - result[targetKey] = merge({}, val); - } else if (isArray(val)) { - result[targetKey] = val.slice(); - } else if (!skipUndefined || !isUndefined(val)) { - result[targetKey] = val; - } - }; - - for (let i = 0, l = objs.length; i < l; i++) { - const source = objs[i]; - if (!source || isBuffer(source)) { - continue; - } - - forEach(source, assignValue); - - if (typeof source !== 'object' || isArray(source)) { - continue; - } - - const symbols = Object.getOwnPropertySymbols(source); - for (let j = 0; j < symbols.length; j++) { - const symbol = symbols[j]; - if (propertyIsEnumerable.call(source, symbol)) { - assignValue(source[symbol], symbol); - } - } - } - return result; -} - -/** - * Extends object a by mutably adding to it the properties of object b. - * - * @param {Object} a The object to be extended - * @param {Object} b The object to copy properties from - * @param {Object} thisArg The object to bind function to - * - * @param {Object} [options] - * @param {Boolean} [options.allOwnKeys] - * @returns {Object} The resulting value of object a - */ -const extend = (a, b, thisArg, { allOwnKeys } = {}) => { - forEach( - b, - (val, key) => { - if (thisArg && isFunction$1(val)) { - Object.defineProperty(a, key, { - // Null-proto descriptor so a polluted Object.prototype.get cannot - // hijack defineProperty's accessor-vs-data resolution. - __proto__: null, - value: bind(val, thisArg), - writable: true, - enumerable: true, - configurable: true, - }); - } else { - Object.defineProperty(a, key, { - __proto__: null, - value: val, - writable: true, - enumerable: true, - configurable: true, - }); - } - }, - { allOwnKeys } - ); - return a; -}; - -/** - * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) - * - * @param {string} content with BOM - * - * @returns {string} content value without BOM - */ -const stripBOM = (content) => { - if (content.charCodeAt(0) === 0xfeff) { - content = content.slice(1); - } - return content; -}; - -/** - * Inherit the prototype methods from one constructor into another - * @param {function} constructor - * @param {function} superConstructor - * @param {object} [props] - * @param {object} [descriptors] - * - * @returns {void} - */ -const inherits = (constructor, superConstructor, props, descriptors) => { - constructor.prototype = Object.create(superConstructor.prototype, descriptors); - Object.defineProperty(constructor.prototype, 'constructor', { - __proto__: null, - value: constructor, - writable: true, - enumerable: false, - configurable: true, - }); - Object.defineProperty(constructor, 'super', { - __proto__: null, - value: superConstructor.prototype, - }); - props && Object.assign(constructor.prototype, props); -}; - -/** - * Resolve object with deep prototype chain to a flat object - * @param {Object} sourceObj source object - * @param {Object} [destObj] - * @param {Function|Boolean} [filter] - * @param {Function} [propFilter] - * - * @returns {Object} - */ -const toFlatObject = (sourceObj, destObj, filter, propFilter) => { - let props; - let i; - let prop; - const merged = {}; - - destObj = destObj || {}; - // eslint-disable-next-line no-eq-null,eqeqeq - if (sourceObj == null) return destObj; - - do { - props = Object.getOwnPropertyNames(sourceObj); - i = props.length; - while (i-- > 0) { - prop = props[i]; - if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) { - destObj[prop] = sourceObj[prop]; - merged[prop] = true; - } - } - sourceObj = filter !== false && getPrototypeOf(sourceObj); - } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype); - - return destObj; -}; - -/** - * Determines whether a string ends with the characters of a specified string - * - * @param {String} str - * @param {String} searchString - * @param {Number} [position= 0] - * - * @returns {boolean} - */ -const endsWith = (str, searchString, position) => { - str = String(str); - if (position === undefined || position > str.length) { - position = str.length; - } - position -= searchString.length; - const lastIndex = str.indexOf(searchString, position); - return lastIndex !== -1 && lastIndex === position; -}; - -/** - * Returns new array from array like object or null if failed - * - * @param {*} [thing] - * - * @returns {?Array} - */ -const toArray = (thing) => { - if (!thing) return null; - if (isArray(thing)) return thing; - let i = thing.length; - if (!isNumber(i)) return null; - const arr = new Array(i); - while (i-- > 0) { - arr[i] = thing[i]; - } - return arr; -}; - -/** - * Checking if the Uint8Array exists and if it does, it returns a function that checks if the - * thing passed in is an instance of Uint8Array - * - * @param {TypedArray} - * - * @returns {Array} - */ -// eslint-disable-next-line func-names -const isTypedArray = ((TypedArray) => { - // eslint-disable-next-line func-names - return (thing) => { - return TypedArray && thing instanceof TypedArray; - }; -})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array)); - -/** - * For each entry in the object, call the function with the key and value. - * - * @param {Object} obj - The object to iterate over. - * @param {Function} fn - The function to call for each entry. - * - * @returns {void} - */ -const forEachEntry = (obj, fn) => { - const generator = obj && obj[iterator]; - - const _iterator = generator.call(obj); - - let result; - - while ((result = _iterator.next()) && !result.done) { - const pair = result.value; - fn.call(obj, pair[0], pair[1]); - } -}; - -/** - * It takes a regular expression and a string, and returns an array of all the matches - * - * @param {string} regExp - The regular expression to match against. - * @param {string} str - The string to search. - * - * @returns {Array} - */ -const matchAll = (regExp, str) => { - let matches; - const arr = []; - - while ((matches = regExp.exec(str)) !== null) { - arr.push(matches); - } - - return arr; -}; - -/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */ -const isHTMLForm = kindOfTest('HTMLFormElement'); - -const toCamelCase = (str) => { - return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) { - return p1.toUpperCase() + p2; - }); -}; - -const { propertyIsEnumerable } = Object.prototype; - -/** - * Determine if a value is a RegExp object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a RegExp object, otherwise false - */ -const isRegExp = kindOfTest('RegExp'); - -const reduceDescriptors = (obj, reducer) => { - const descriptors = Object.getOwnPropertyDescriptors(obj); - const reducedDescriptors = {}; - - forEach(descriptors, (descriptor, name) => { - let ret; - if ((ret = reducer(descriptor, name, obj)) !== false) { - reducedDescriptors[name] = ret || descriptor; - } - }); - - Object.defineProperties(obj, reducedDescriptors); -}; - -/** - * Makes all methods read-only - * @param {Object} obj - */ - -const freezeMethods = (obj) => { - reduceDescriptors(obj, (descriptor, name) => { - // skip restricted props in strict mode - if (isFunction$1(obj) && ['arguments', 'caller', 'callee'].includes(name)) { - return false; - } - - const value = obj[name]; - - if (!isFunction$1(value)) return; - - descriptor.enumerable = false; - - if ('writable' in descriptor) { - descriptor.writable = false; - return; - } - - if (!descriptor.set) { - descriptor.set = () => { - throw Error("Can not rewrite read-only method '" + name + "'"); - }; - } - }); -}; - -/** - * Converts an array or a delimited string into an object set with values as keys and true as values. - * Useful for fast membership checks. - * - * @param {Array|string} arrayOrString - The array or string to convert. - * @param {string} delimiter - The delimiter to use if input is a string. - * @returns {Object} An object with keys from the array or string, values set to true. - */ -const toObjectSet = (arrayOrString, delimiter) => { - const obj = {}; - - const define = (arr) => { - arr.forEach((value) => { - obj[value] = true; - }); - }; - - isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter)); - - return obj; -}; - -const noop = () => {}; - -const toFiniteNumber = (value, defaultValue) => { - return value != null && Number.isFinite((value = +value)) ? value : defaultValue; -}; - -/** - * If the thing is a FormData object, return true, otherwise return false. - * - * @param {unknown} thing - The thing to check. - * - * @returns {boolean} - */ -function isSpecCompliantForm(thing) { - return !!( - thing && - isFunction$1(thing.append) && - thing[toStringTag] === 'FormData' && - thing[iterator] - ); -} - -/** - * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers. - * - * @param {Object} obj - The object to convert. - * @returns {Object} The JSON-compatible object. - */ -const toJSONObject = (obj) => { - const visited = new WeakSet(); - - const visit = (source) => { - if (isObject(source)) { - if (visited.has(source)) { - return; - } - - //Buffer check - if (isBuffer(source)) { - return source; - } - - if (!('toJSON' in source)) { - // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230). - visited.add(source); - const target = isArray(source) ? [] : {}; - - forEach(source, (value, key) => { - const reducedValue = visit(value); - !isUndefined(reducedValue) && (target[key] = reducedValue); - }); - - visited.delete(source); - - return target; - } - } - - return source; - }; - - return visit(obj); -}; - -/** - * Determines if a value is an async function. - * - * @param {*} thing - The value to test. - * @returns {boolean} True if value is an async function, otherwise false. - */ -const isAsyncFn = kindOfTest('AsyncFunction'); - -/** - * Determines if a value is thenable (has then and catch methods). - * - * @param {*} thing - The value to test. - * @returns {boolean} True if value is thenable, otherwise false. - */ -const isThenable = (thing) => - thing && - (isObject(thing) || isFunction$1(thing)) && - isFunction$1(thing.then) && - isFunction$1(thing.catch); - -// original code -// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34 - -/** - * Provides a cross-platform setImmediate implementation. - * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout. - * - * @param {boolean} setImmediateSupported - Whether setImmediate is supported. - * @param {boolean} postMessageSupported - Whether postMessage is supported. - * @returns {Function} A function to schedule a callback asynchronously. - */ -const _setImmediate = ((setImmediateSupported, postMessageSupported) => { - if (setImmediateSupported) { - return setImmediate; - } - - return postMessageSupported - ? ((token, callbacks) => { - _global.addEventListener( - 'message', - ({ source, data }) => { - if (source === _global && data === token) { - callbacks.length && callbacks.shift()(); - } - }, - false - ); - - return (cb) => { - callbacks.push(cb); - _global.postMessage(token, '*'); - }; - })(`axios@${Math.random()}`, []) - : (cb) => setTimeout(cb); -})(typeof setImmediate === 'function', isFunction$1(_global.postMessage)); - -/** - * Schedules a microtask or asynchronous callback as soon as possible. - * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate. - * - * @type {Function} - */ -const asap = - typeof queueMicrotask !== 'undefined' - ? queueMicrotask.bind(_global) - : (typeof process !== 'undefined' && process.nextTick) || _setImmediate; - -// ********************* - -const isIterable = (thing) => thing != null && isFunction$1(thing[iterator]); - -/** - * Determine if a value is iterable via an iterator that is NOT sourced solely - * from a polluted Object.prototype. Use this instead of `isIterable` whenever - * the iterable comes from untrusted input (e.g. user-supplied header sources), - * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object - * into an attacker-controlled entries iterator. - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value has a non-polluted iterator - */ -const isSafeIterable = (thing) => - thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing); - -var utils$1 = { - isArray, - isArrayBuffer, - isBuffer, - isFormData, - isArrayBufferView, - isString, - isNumber, - isBoolean, - isObject, - isPlainObject, - isEmptyObject, - isReadableStream, - isRequest, - isResponse, - isHeaders, - isUndefined, - isDate, - isFile, - isReactNativeBlob, - isReactNative, - isBlob, - isRegExp, - isFunction: isFunction$1, - isStream, - isURLSearchParams, - isTypedArray, - isFileList, - forEach, - merge, - extend, - trim, - stripBOM, - inherits, - toFlatObject, - kindOf, - kindOfTest, - endsWith, - toArray, - forEachEntry, - matchAll, - isHTMLForm, - hasOwnProperty, - hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection - hasOwnInPrototypeChain, - getSafeProp, - reduceDescriptors, - freezeMethods, - toObjectSet, - toCamelCase, - noop, - toFiniteNumber, - findKey, - global: _global, - isContextDefined, - isSpecCompliantForm, - toJSONObject, - isAsyncFn, - isThenable, - setImmediate: _setImmediate, - asap, - isIterable, - isSafeIterable, -}; - -// RawAxiosHeaders whose duplicates are ignored by node -// c.f. https://nodejs.org/api/http.html#http_message_headers -const ignoreDuplicateOf = utils$1.toObjectSet([ - 'age', - 'authorization', - 'content-length', - 'content-type', - 'etag', - 'expires', - 'from', - 'host', - 'if-modified-since', - 'if-unmodified-since', - 'last-modified', - 'location', - 'max-forwards', - 'proxy-authorization', - 'referer', - 'retry-after', - 'user-agent', -]); - -/** - * Parse headers into an object - * - * ``` - * Date: Wed, 27 Aug 2014 08:58:49 GMT - * Content-Type: application/json - * Connection: keep-alive - * Transfer-Encoding: chunked - * ``` - * - * @param {String} rawHeaders Headers needing to be parsed - * - * @returns {Object} Headers parsed into an object - */ -var parseHeaders = (rawHeaders) => { - const parsed = {}; - let key; - let val; - let i; - - rawHeaders && - rawHeaders.split('\n').forEach(function parser(line) { - i = line.indexOf(':'); - key = line.substring(0, i).trim().toLowerCase(); - val = line.substring(i + 1).trim(); - - if (!key || (parsed[key] && ignoreDuplicateOf[key])) { - return; - } - - if (key === 'set-cookie') { - if (parsed[key]) { - parsed[key].push(val); - } else { - parsed[key] = [val]; - } - } else { - parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val; - } - }); - - return parsed; -}; - -function trimSPorHTAB(str) { - let start = 0; - let end = str.length; - - while (start < end) { - const code = str.charCodeAt(start); - - if (code !== 0x09 && code !== 0x20) { - break; - } - - start += 1; - } - - while (end > start) { - const code = str.charCodeAt(end - 1); - - if (code !== 0x09 && code !== 0x20) { - break; - } - - end -= 1; - } - - return start === 0 && end === str.length ? str : str.slice(start, end); -} - -// The control-code ranges are intentional: header sanitization strips C0/DEL bytes. -// eslint-disable-next-line no-control-regex -const INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+', 'g'); -// eslint-disable-next-line no-control-regex -const INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+', 'g'); - -function sanitizeValue(value, invalidChars) { - if (utils$1.isArray(value)) { - return value.map((item) => sanitizeValue(item, invalidChars)); - } - - return trimSPorHTAB(String(value).replace(invalidChars, '')); -} - -const sanitizeHeaderValue = (value) => - sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS); - -const sanitizeByteStringHeaderValue = (value) => - sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS); - -function toByteStringHeaderObject(headers) { - const byteStringHeaders = Object.create(null); - - utils$1.forEach(headers.toJSON(), (value, header) => { - byteStringHeaders[header] = sanitizeByteStringHeaderValue(value); - }); - - return byteStringHeaders; -} - -const $internals = Symbol('internals'); - -function normalizeHeader(header) { - return header && String(header).trim().toLowerCase(); -} - -function normalizeValue(value) { - if (value === false || value == null) { - return value; - } - - return utils$1.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value)); -} - -function parseTokens(str) { - const tokens = Object.create(null); - const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; - let match; - - while ((match = tokensRE.exec(str))) { - tokens[match[1]] = match[2]; - } - - return tokens; -} - -const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim()); - -function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) { - if (utils$1.isFunction(filter)) { - return filter.call(this, value, header); - } - - if (isHeaderNameFilter) { - value = header; - } - - if (!utils$1.isString(value)) return; - - if (utils$1.isString(filter)) { - return value.indexOf(filter) !== -1; - } - - if (utils$1.isRegExp(filter)) { - return filter.test(value); - } -} - -function formatHeader(header) { - return header - .trim() - .toLowerCase() - .replace(/([a-z\d])(\w*)/g, (w, char, str) => { - return char.toUpperCase() + str; - }); -} - -function buildAccessors(obj, header) { - const accessorName = utils$1.toCamelCase(' ' + header); - - ['get', 'set', 'has'].forEach((methodName) => { - Object.defineProperty(obj, methodName + accessorName, { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: function (arg1, arg2, arg3) { - return this[methodName].call(this, header, arg1, arg2, arg3); - }, - configurable: true, - }); - }); -} - -class AxiosHeaders { - constructor(headers) { - headers && this.set(headers); - } - - set(header, valueOrRewrite, rewrite) { - const self = this; - - function setHeader(_value, _header, _rewrite) { - const lHeader = normalizeHeader(_header); - - if (!lHeader) { - return; - } - - const key = utils$1.findKey(self, lHeader); - - if ( - !key || - self[key] === undefined || - _rewrite === true || - (_rewrite === undefined && self[key] !== false) - ) { - self[key || _header] = normalizeValue(_value); - } - } - - const setHeaders = (headers, _rewrite) => - utils$1.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite)); - - if (utils$1.isPlainObject(header) || header instanceof this.constructor) { - setHeaders(header, valueOrRewrite); - } else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) { - setHeaders(parseHeaders(header), valueOrRewrite); - } else if (utils$1.isObject(header) && utils$1.isSafeIterable(header)) { - let obj = Object.create(null), - dest, - key; - for (const entry of header) { - if (!utils$1.isArray(entry)) { - throw new TypeError('Object iterator must return a key-value pair'); - } - - key = entry[0]; - - if (utils$1.hasOwnProp(obj, key)) { - dest = obj[key]; - obj[key] = utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]; - } else { - obj[key] = entry[1]; - } - } - - setHeaders(obj, valueOrRewrite); - } else { - header != null && setHeader(valueOrRewrite, header, rewrite); - } - - return this; - } - - get(header, parser) { - header = normalizeHeader(header); - - if (header) { - const key = utils$1.findKey(this, header); - - if (key) { - const value = this[key]; - - if (!parser) { - return value; - } - - if (parser === true) { - return parseTokens(value); - } - - if (utils$1.isFunction(parser)) { - return parser.call(this, value, key); - } - - if (utils$1.isRegExp(parser)) { - return parser.exec(value); - } - - throw new TypeError('parser must be boolean|regexp|function'); - } - } - } - - has(header, matcher) { - header = normalizeHeader(header); - - if (header) { - const key = utils$1.findKey(this, header); - - return !!( - key && - this[key] !== undefined && - (!matcher || matchHeaderValue(this, this[key], key, matcher)) - ); - } - - return false; - } - - delete(header, matcher) { - const self = this; - let deleted = false; - - function deleteHeader(_header) { - _header = normalizeHeader(_header); - - if (_header) { - const key = utils$1.findKey(self, _header); - - if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) { - delete self[key]; - - deleted = true; - } - } - } - - if (utils$1.isArray(header)) { - header.forEach(deleteHeader); - } else { - deleteHeader(header); - } - - return deleted; - } - - clear(matcher) { - const keys = Object.keys(this); - let i = keys.length; - let deleted = false; - - while (i--) { - const key = keys[i]; - if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) { - delete this[key]; - deleted = true; - } - } - - return deleted; - } - - normalize(format) { - const self = this; - const headers = {}; - - utils$1.forEach(this, (value, header) => { - const key = utils$1.findKey(headers, header); - - if (key) { - self[key] = normalizeValue(value); - delete self[header]; - return; - } - - const normalized = format ? formatHeader(header) : String(header).trim(); - - if (normalized !== header) { - delete self[header]; - } - - self[normalized] = normalizeValue(value); - - headers[normalized] = true; - }); - - return this; - } - - concat(...targets) { - return this.constructor.concat(this, ...targets); - } - - toJSON(asStrings) { - const obj = Object.create(null); - - utils$1.forEach(this, (value, header) => { - value != null && - value !== false && - (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value); - }); - - return obj; - } - - [Symbol.iterator]() { - return Object.entries(this.toJSON())[Symbol.iterator](); - } - - toString() { - return Object.entries(this.toJSON()) - .map(([header, value]) => header + ': ' + value) - .join('\n'); - } - - getSetCookie() { - return this.get('set-cookie') || []; - } - - get [Symbol.toStringTag]() { - return 'AxiosHeaders'; - } - - static from(thing) { - return thing instanceof this ? thing : new this(thing); - } - - static concat(first, ...targets) { - const computed = new this(first); - - targets.forEach((target) => computed.set(target)); - - return computed; - } - - static accessor(header) { - const internals = - (this[$internals] = - this[$internals] = - { - accessors: {}, - }); - - const accessors = internals.accessors; - const prototype = this.prototype; - - function defineAccessor(_header) { - const lHeader = normalizeHeader(_header); - - if (!accessors[lHeader]) { - buildAccessors(prototype, _header); - accessors[lHeader] = true; - } - } - - utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header); - - return this; - } -} - -AxiosHeaders.accessor([ - 'Content-Type', - 'Content-Length', - 'Accept', - 'Accept-Encoding', - 'User-Agent', - 'Authorization', -]); - -// reserved names hotfix -utils$1.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => { - let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set` - return { - get: () => value, - set(headerValue) { - this[mapped] = headerValue; - }, - }; -}); - -utils$1.freezeMethods(AxiosHeaders); - -const REDACTED = '[REDACTED ****]'; - -function hasOwnOrPrototypeToJSON(source) { - if (utils$1.hasOwnProp(source, 'toJSON')) { - return true; - } - - let prototype = Object.getPrototypeOf(source); - - while (prototype && prototype !== Object.prototype) { - if (utils$1.hasOwnProp(prototype, 'toJSON')) { - return true; - } - - prototype = Object.getPrototypeOf(prototype); - } - - return false; -} - -// Build a plain-object snapshot of `config` and replace the value of any key -// (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays -// and AxiosHeaders, and short-circuits on circular references. -function redactConfig(config, redactKeys) { - const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase())); - const seen = []; - - const visit = (source) => { - if (source === null || typeof source !== 'object') return source; - if (utils$1.isBuffer(source)) return source; - if (seen.indexOf(source) !== -1) return undefined; - - if (source instanceof AxiosHeaders) { - source = source.toJSON(); - } - - seen.push(source); - - let result; - if (utils$1.isArray(source)) { - result = []; - source.forEach((v, i) => { - const reducedValue = visit(v); - if (!utils$1.isUndefined(reducedValue)) { - result[i] = reducedValue; - } - }); - } else { - if (!utils$1.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) { - seen.pop(); - return source; - } - - result = Object.create(null); - for (const [key, value] of Object.entries(source)) { - const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value); - if (!utils$1.isUndefined(reducedValue)) { - result[key] = reducedValue; - } - } - } - - seen.pop(); - return result; - }; - - return visit(config); -} - -class AxiosError extends Error { - static from(error, code, config, request, response, customProps) { - const axiosError = new AxiosError(error.message, code || error.code, config, request, response); - // Match native `Error` `cause` semantics: non-enumerable. The wrapped - // error often carries circular internals (sockets, requests, agents), so - // an enumerable `cause` makes structured loggers (pino/winston) and any - // own-property walk throw "Converting circular structure to JSON". - // Regression from #6982; see #7205. `__proto__: null` mirrors the - // `message` descriptor below (prototype-pollution-safe descriptor). - Object.defineProperty(axiosError, 'cause', { - __proto__: null, - value: error, - writable: true, - enumerable: false, - configurable: true, - }); - axiosError.name = error.name; - - // Preserve status from the original error if not already set from response - if (error.status != null && axiosError.status == null) { - axiosError.status = error.status; - } - - customProps && Object.assign(axiosError, customProps); - return axiosError; - } - - /** - * Create an Error with the specified message, config, error code, request and response. - * - * @param {string} message The error message. - * @param {string} [code] The error code (for example, 'ECONNABORTED'). - * @param {Object} [config] The config. - * @param {Object} [request] The request. - * @param {Object} [response] The response. - * - * @returns {Error} The created error. - */ - constructor(message, code, config, request, response) { - super(message); - - // Make message enumerable to maintain backward compatibility - // The native Error constructor sets message as non-enumerable, - // but axios < v1.13.3 had it as enumerable - Object.defineProperty(this, 'message', { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: message, - enumerable: true, - writable: true, - configurable: true, - }); - - this.name = 'AxiosError'; - this.isAxiosError = true; - code && (this.code = code); - config && (this.config = config); - request && (this.request = request); - if (response) { - this.response = response; - this.status = response.status; - } - } - - toJSON() { - // Opt-in redaction: when the request config carries a `redact` array, the - // value of any matching key (case-insensitive, at any depth) is replaced - // with REDACTED in the serialized snapshot. Undefined or empty leaves the - // existing serialization behavior unchanged. - const config = this.config; - const redactKeys = config && utils$1.hasOwnProp(config, 'redact') ? config.redact : undefined; - const serializedConfig = - utils$1.isArray(redactKeys) && redactKeys.length > 0 - ? redactConfig(config, redactKeys) - : utils$1.toJSONObject(config); - - return { - // Standard - message: this.message, - name: this.name, - // Microsoft - description: this.description, - number: this.number, - // Mozilla - fileName: this.fileName, - lineNumber: this.lineNumber, - columnNumber: this.columnNumber, - stack: this.stack, - // Axios - config: serializedConfig, - code: this.code, - status: this.status, - }; - } -} - -// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated. -AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE'; -AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION'; -AxiosError.ECONNABORTED = 'ECONNABORTED'; -AxiosError.ETIMEDOUT = 'ETIMEDOUT'; -AxiosError.ECONNREFUSED = 'ECONNREFUSED'; -AxiosError.ERR_NETWORK = 'ERR_NETWORK'; -AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS'; -AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED'; -AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE'; -AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST'; -AxiosError.ERR_CANCELED = 'ERR_CANCELED'; -AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT'; -AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL'; -AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED'; - -// eslint-disable-next-line strict -var httpAdapter = null; - -// Default nesting limit shared with the inverse transform (formDataToJSON) so -// the FormData <-> JSON round-trip stays symmetric. -const DEFAULT_FORM_DATA_MAX_DEPTH = 100; - -/** - * Determines if the given thing is a array or js object. - * - * @param {string} thing - The object or array to be visited. - * - * @returns {boolean} - */ -function isVisitable(thing) { - return utils$1.isPlainObject(thing) || utils$1.isArray(thing); -} - -/** - * It removes the brackets from the end of a string - * - * @param {string} key - The key of the parameter. - * - * @returns {string} the key without the brackets. - */ -function removeBrackets(key) { - return utils$1.endsWith(key, '[]') ? key.slice(0, -2) : key; -} - -/** - * It takes a path, a key, and a boolean, and returns a string - * - * @param {string} path - The path to the current key. - * @param {string} key - The key of the current object being iterated over. - * @param {string} dots - If true, the key will be rendered with dots instead of brackets. - * - * @returns {string} The path to the current key. - */ -function renderKey(path, key, dots) { - if (!path) return key; - return path - .concat(key) - .map(function each(token, i) { - // eslint-disable-next-line no-param-reassign - token = removeBrackets(token); - return !dots && i ? '[' + token + ']' : token; - }) - .join(dots ? '.' : ''); -} - -/** - * If the array is an array and none of its elements are visitable, then it's a flat array. - * - * @param {Array} arr - The array to check - * - * @returns {boolean} - */ -function isFlatArray(arr) { - return utils$1.isArray(arr) && !arr.some(isVisitable); -} - -const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) { - return /^is[A-Z]/.test(prop); -}); - -/** - * Convert a data object to FormData - * - * @param {Object} obj - * @param {?Object} [formData] - * @param {?Object} [options] - * @param {Function} [options.visitor] - * @param {Boolean} [options.metaTokens = true] - * @param {Boolean} [options.dots = false] - * @param {?Boolean} [options.indexes = false] - * - * @returns {Object} - **/ - -/** - * It converts an object into a FormData object - * - * @param {Object} obj - The object to convert to form data. - * @param {string} formData - The FormData object to append to. - * @param {Object} options - * - * @returns - */ -function toFormData(obj, formData, options) { - if (!utils$1.isObject(obj)) { - throw new TypeError('target must be an object'); - } - - // eslint-disable-next-line no-param-reassign - formData = formData || new (FormData)(); - - // eslint-disable-next-line no-param-reassign - options = utils$1.toFlatObject( - options, - { - metaTokens: true, - dots: false, - indexes: false, - }, - false, - function defined(option, source) { - // eslint-disable-next-line no-eq-null,eqeqeq - return !utils$1.isUndefined(source[option]); - } - ); - - const metaTokens = options.metaTokens; - // eslint-disable-next-line no-use-before-define - const visitor = options.visitor || defaultVisitor; - const dots = options.dots; - const indexes = options.indexes; - const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob); - const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth; - const useBlob = _Blob && utils$1.isSpecCompliantForm(formData); - const stack = []; - - if (!utils$1.isFunction(visitor)) { - throw new TypeError('visitor must be a function'); - } - - function convertValue(value) { - if (value === null) return ''; - - if (utils$1.isDate(value)) { - return value.toISOString(); - } - - if (utils$1.isBoolean(value)) { - return value.toString(); - } - - if (!useBlob && utils$1.isBlob(value)) { - throw new AxiosError('Blob is not supported. Use a Buffer instead.'); - } - - if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) { - if (useBlob && typeof _Blob === 'function') { - return new _Blob([value]); - } - if (typeof Buffer !== 'undefined') { - return Buffer.from(value); - } - throw new AxiosError('Blob is not supported. Use a Buffer instead.', AxiosError.ERR_NOT_SUPPORT); - } - - return value; - } - - function throwIfMaxDepthExceeded(depth) { - if (depth > maxDepth) { - throw new AxiosError( - 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth, - AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED - ); - } - } - - function stringifyWithDepthLimit(value, depth) { - if (maxDepth === Infinity) { - return JSON.stringify(value); - } - - const ancestors = []; - - return JSON.stringify(value, function limitDepth(_key, currentValue) { - if (!utils$1.isObject(currentValue)) { - return currentValue; - } - - while (ancestors.length && ancestors[ancestors.length - 1] !== this) { - ancestors.pop(); - } - - ancestors.push(currentValue); - throwIfMaxDepthExceeded(depth + ancestors.length - 1); - - return currentValue; - }); - } - - /** - * Default visitor. - * - * @param {*} value - * @param {String|Number} key - * @param {Array} path - * @this {FormData} - * - * @returns {boolean} return true to visit the each prop of the value recursively - */ - function defaultVisitor(value, key, path) { - let arr = value; - - if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) { - formData.append(renderKey(path, key, dots), convertValue(value)); - return false; - } - - if (value && !path && typeof value === 'object') { - if (utils$1.endsWith(key, '{}')) { - // eslint-disable-next-line no-param-reassign - key = metaTokens ? key : key.slice(0, -2); - // eslint-disable-next-line no-param-reassign - value = stringifyWithDepthLimit(value, 1); - } else if ( - (utils$1.isArray(value) && isFlatArray(value)) || - ((utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))) - ) { - // eslint-disable-next-line no-param-reassign - key = removeBrackets(key); - - arr.forEach(function each(el, index) { - !(utils$1.isUndefined(el) || el === null) && - formData.append( - // eslint-disable-next-line no-nested-ternary - indexes === true - ? renderKey([key], index, dots) - : indexes === null - ? key - : key + '[]', - convertValue(el) - ); - }); - return false; - } - } - - if (isVisitable(value)) { - return true; - } - - formData.append(renderKey(path, key, dots), convertValue(value)); - - return false; - } - - const exposedHelpers = Object.assign(predicates, { - defaultVisitor, - convertValue, - isVisitable, - }); - - function build(value, path, depth = 0) { - if (utils$1.isUndefined(value)) return; - - throwIfMaxDepthExceeded(depth); - - if (stack.indexOf(value) !== -1) { - throw new Error('Circular reference detected in ' + path.join('.')); - } - - stack.push(value); - - utils$1.forEach(value, function each(el, key) { - const result = - !(utils$1.isUndefined(el) || el === null) && - visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers); - - if (result === true) { - build(el, path ? path.concat(key) : [key], depth + 1); - } - }); - - stack.pop(); - } - - if (!utils$1.isObject(obj)) { - throw new TypeError('data must be an object'); - } - - build(obj); - - return formData; -} - -/** - * It encodes a string by replacing all characters that are not in the unreserved set with - * their percent-encoded equivalents - * - * @param {string} str - The string to encode. - * - * @returns {string} The encoded string. - */ -function encode$1(str) { - const charMap = { - '!': '%21', - "'": '%27', - '(': '%28', - ')': '%29', - '~': '%7E', - '%20': '+', - }; - return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) { - return charMap[match]; - }); -} - -/** - * It takes a params object and converts it to a FormData object - * - * @param {Object} params - The parameters to be converted to a FormData object. - * @param {Object} options - The options object passed to the Axios constructor. - * - * @returns {void} - */ -function AxiosURLSearchParams(params, options) { - this._pairs = []; - - params && toFormData(params, this, options); -} - -const prototype = AxiosURLSearchParams.prototype; - -prototype.append = function append(name, value) { - this._pairs.push([name, value]); -}; - -prototype.toString = function toString(encoder) { - const _encode = encoder - ? (value) => encoder.call(this, value, encode$1) - : encode$1; - - return this._pairs - .map(function each(pair) { - return _encode(pair[0]) + '=' + _encode(pair[1]); - }, '') - .join('&'); -}; - -/** - * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with - * their plain counterparts (`:`, `$`, `,`, `+`). - * - * @param {string} val The value to be encoded. - * - * @returns {string} The encoded value. - */ -function encode(val) { - return encodeURIComponent(val) - .replace(/%3A/gi, ':') - .replace(/%24/g, '$') - .replace(/%2C/gi, ',') - .replace(/%20/g, '+'); -} - -/** - * Build a URL by appending params to the end - * - * @param {string} url The base of the url (e.g., http://www.google.com) - * @param {object} [params] The params to be appended - * @param {?(object|Function)} options - * - * @returns {string} The formatted url - */ -function buildURL(url, params, options) { - if (!params) { - return url; - } - url = url || ''; - - const _options = utils$1.isFunction(options) - ? { - serialize: options, - } - : options; - - // Read serializer options pollution-safely: own properties and methods on a - // class/template prototype are honored, but values injected onto a polluted - // Object.prototype are ignored. - const _encode = utils$1.getSafeProp(_options, 'encode') || encode; - const serializeFn = utils$1.getSafeProp(_options, 'serialize'); - - let serializedParams; - - if (serializeFn) { - serializedParams = serializeFn(params, _options); - } else { - serializedParams = utils$1.isURLSearchParams(params) - ? params.toString() - : new AxiosURLSearchParams(params, _options).toString(_encode); - } - - if (serializedParams) { - const hashmarkIndex = url.indexOf('#'); - - if (hashmarkIndex !== -1) { - url = url.slice(0, hashmarkIndex); - } - url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams; - } - - return url; -} - -class InterceptorManager { - constructor() { - this.handlers = []; - } - - /** - * Add a new interceptor to the stack - * - * @param {Function} fulfilled The function to handle `then` for a `Promise` - * @param {Function} rejected The function to handle `reject` for a `Promise` - * @param {Object} options The options for the interceptor, synchronous and runWhen - * - * @return {Number} An ID used to remove interceptor later - */ - use(fulfilled, rejected, options) { - this.handlers.push({ - fulfilled, - rejected, - synchronous: options ? options.synchronous : false, - runWhen: options ? options.runWhen : null, - }); - return this.handlers.length - 1; - } - - /** - * Remove an interceptor from the stack - * - * @param {Number} id The ID that was returned by `use` - * - * @returns {void} - */ - eject(id) { - if (this.handlers[id]) { - this.handlers[id] = null; - } - } - - /** - * Clear all interceptors from the stack - * - * @returns {void} - */ - clear() { - if (this.handlers) { - this.handlers = []; - } - } - - /** - * Iterate over all the registered interceptors - * - * This method is particularly useful for skipping over any - * interceptors that may have become `null` calling `eject`. - * - * @param {Function} fn The function to call for each interceptor - * - * @returns {void} - */ - forEach(fn) { - utils$1.forEach(this.handlers, function forEachHandler(h) { - if (h !== null) { - fn(h); - } - }); - } -} - -var transitionalDefaults = { - silentJSONParsing: true, - forcedJSONParsing: true, - clarifyTimeoutError: false, - legacyInterceptorReqResOrdering: true, - advertiseZstdAcceptEncoding: false, - validateStatusUndefinedResolves: true, -}; - -var URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams; - -var FormData$1 = typeof FormData !== 'undefined' ? FormData : null; - -var Blob$1 = typeof Blob !== 'undefined' ? Blob : null; - -var platform$1 = { - isBrowser: true, - classes: { - URLSearchParams: URLSearchParams$1, - FormData: FormData$1, - Blob: Blob$1, - }, - protocols: ['http', 'https', 'file', 'blob', 'url', 'data'], -}; - -const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined'; - -const _navigator = (typeof navigator === 'object' && navigator) || undefined; - -/** - * Determine if we're running in a standard browser environment - * - * This allows axios to run in a web worker, and react-native. - * Both environments support XMLHttpRequest, but not fully standard globals. - * - * web workers: - * typeof window -> undefined - * typeof document -> undefined - * - * react-native: - * navigator.product -> 'ReactNative' - * nativescript - * navigator.product -> 'NativeScript' or 'NS' - * - * @returns {boolean} - */ -const hasStandardBrowserEnv = - hasBrowserEnv && - (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0); - -/** - * Determine if we're running in a standard browser webWorker environment - * - * Although the `isStandardBrowserEnv` method indicates that - * `allows axios to run in a web worker`, the WebWorker will still be - * filtered out due to its judgment standard - * `typeof window !== 'undefined' && typeof document !== 'undefined'`. - * This leads to a problem when axios post `FormData` in webWorker - */ -const hasStandardBrowserWebWorkerEnv = (() => { - return ( - typeof WorkerGlobalScope !== 'undefined' && - // eslint-disable-next-line no-undef - self instanceof WorkerGlobalScope && - typeof self.importScripts === 'function' - ); -})(); - -const origin = (hasBrowserEnv && window.location.href) || 'http://localhost'; - -var utils = /*#__PURE__*/Object.freeze({ - __proto__: null, - hasBrowserEnv: hasBrowserEnv, - hasStandardBrowserEnv: hasStandardBrowserEnv, - hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv, - navigator: _navigator, - origin: origin -}); - -var platform = { - ...utils, - ...platform$1, -}; - -function toURLEncodedForm(data, options) { - return toFormData(data, new platform.classes.URLSearchParams(), { - visitor: function (value, key, path, helpers) { - if (platform.isNode && utils$1.isBuffer(value)) { - this.append(key, value.toString('base64')); - return false; - } - - return helpers.defaultVisitor.apply(this, arguments); - }, - ...options, - }); -} - -const MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH; - -function throwIfDepthExceeded(index) { - if (index > MAX_DEPTH) { - throw new AxiosError( - 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH, - AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED - ); - } -} - -/** - * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z'] - * - * @param {string} name - The name of the property to get. - * - * @returns An array of strings. - */ -function parsePropPath(name) { - // foo[x][y][z] - // foo.x.y.z - // foo-x-y-z - // foo x y z - const path = []; - const pattern = /\w+|\[(\w*)]/g; - let match; - - while ((match = pattern.exec(name)) !== null) { - throwIfDepthExceeded(path.length); - path.push(match[0] === '[]' ? '' : match[1] || match[0]); - } - - return path; -} - -/** - * Convert an array to an object. - * - * @param {Array} arr - The array to convert to an object. - * - * @returns An object with the same keys and values as the array. - */ -function arrayToObject(arr) { - const obj = {}; - const keys = Object.keys(arr); - let i; - const len = keys.length; - let key; - for (i = 0; i < len; i++) { - key = keys[i]; - obj[key] = arr[key]; - } - return obj; -} - -/** - * It takes a FormData object and returns a JavaScript object - * - * @param {string} formData The FormData object to convert to JSON. - * - * @returns {Object | null} The converted object. - */ -function formDataToJSON(formData) { - function buildPath(path, value, target, index) { - throwIfDepthExceeded(index); - - let name = path[index++]; - - if (name === '__proto__') return true; - - const isNumericKey = Number.isFinite(+name); - const isLast = index >= path.length; - name = !name && utils$1.isArray(target) ? target.length : name; - - if (isLast) { - if (utils$1.hasOwnProp(target, name)) { - target[name] = utils$1.isArray(target[name]) - ? target[name].concat(value) - : [target[name], value]; - } else { - target[name] = value; - } - - return !isNumericKey; - } - - if (!utils$1.hasOwnProp(target, name) || !utils$1.isObject(target[name])) { - target[name] = []; - } - - const result = buildPath(path, value, target[name], index); - - if (result && utils$1.isArray(target[name])) { - target[name] = arrayToObject(target[name]); - } - - return !isNumericKey; - } - - if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) { - const obj = {}; - - utils$1.forEachEntry(formData, (name, value) => { - buildPath(parsePropPath(name), value, obj, 0); - }); - - return obj; - } - - return null; -} - -const own = (obj, key) => (obj != null && utils$1.hasOwnProp(obj, key) ? obj[key] : undefined); - -/** - * It takes a string, tries to parse it, and if it fails, it returns the stringified version - * of the input - * - * @param {any} rawValue - The value to be stringified. - * @param {Function} parser - A function that parses a string into a JavaScript object. - * @param {Function} encoder - A function that takes a value and returns a string. - * - * @returns {string} A stringified version of the rawValue. - */ -function stringifySafely(rawValue, parser, encoder) { - if (utils$1.isString(rawValue)) { - try { - (parser || JSON.parse)(rawValue); - return utils$1.trim(rawValue); - } catch (e) { - if (e.name !== 'SyntaxError') { - throw e; - } - } - } - - return (encoder || JSON.stringify)(rawValue); -} - -const defaults = { - transitional: transitionalDefaults, - - adapter: ['xhr', 'http', 'fetch'], - - transformRequest: [ - function transformRequest(data, headers) { - const contentType = headers.getContentType() || ''; - const hasJSONContentType = contentType.indexOf('application/json') > -1; - const isObjectPayload = utils$1.isObject(data); - - if (isObjectPayload && utils$1.isHTMLForm(data)) { - data = new FormData(data); - } - - const isFormData = utils$1.isFormData(data); - - if (isFormData) { - return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data; - } - - if ( - utils$1.isArrayBuffer(data) || - utils$1.isBuffer(data) || - utils$1.isStream(data) || - utils$1.isFile(data) || - utils$1.isBlob(data) || - utils$1.isReadableStream(data) - ) { - return data; - } - if (utils$1.isArrayBufferView(data)) { - return data.buffer; - } - if (utils$1.isURLSearchParams(data)) { - headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false); - return data.toString(); - } - - let isFileList; - - if (isObjectPayload) { - const formSerializer = own(this, 'formSerializer'); - if (contentType.indexOf('application/x-www-form-urlencoded') > -1) { - return toURLEncodedForm(data, formSerializer).toString(); - } - - if ( - (isFileList = utils$1.isFileList(data)) || - contentType.indexOf('multipart/form-data') > -1 - ) { - const env = own(this, 'env'); - const _FormData = env && env.FormData; - - return toFormData( - isFileList ? { 'files[]': data } : data, - _FormData && new _FormData(), - formSerializer - ); - } - } - - if (isObjectPayload || hasJSONContentType) { - headers.setContentType('application/json', false); - return stringifySafely(data); - } - - return data; - }, - ], - - transformResponse: [ - function transformResponse(data) { - const transitional = own(this, 'transitional') || defaults.transitional; - const forcedJSONParsing = transitional && transitional.forcedJSONParsing; - const responseType = own(this, 'responseType'); - const JSONRequested = responseType === 'json'; - - if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) { - return data; - } - - if ( - data && - utils$1.isString(data) && - ((forcedJSONParsing && !responseType) || JSONRequested) - ) { - const silentJSONParsing = transitional && transitional.silentJSONParsing; - const strictJSONParsing = !silentJSONParsing && JSONRequested; - - try { - return JSON.parse(data, own(this, 'parseReviver')); - } catch (e) { - if (strictJSONParsing) { - if (e.name === 'SyntaxError') { - throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response')); - } - throw e; - } - } - } - - return data; - }, - ], - - /** - * A timeout in milliseconds to abort a request. If set to 0 (default) a - * timeout is not created. - */ - timeout: 0, - - xsrfCookieName: 'XSRF-TOKEN', - xsrfHeaderName: 'X-XSRF-TOKEN', - - maxContentLength: -1, - maxBodyLength: -1, - - env: { - FormData: platform.classes.FormData, - Blob: platform.classes.Blob, - }, - - validateStatus: function validateStatus(status) { - return status >= 200 && status < 300; - }, - - headers: { - common: { - Accept: 'application/json, text/plain, */*', - 'Content-Type': undefined, - }, - }, -}; - -utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => { - defaults.headers[method] = {}; -}); - -/** - * Transform the data for a request or a response - * - * @param {Array|Function} fns A single function or Array of functions - * @param {?Object} response The response object - * - * @returns {*} The resulting transformed data - */ -function transformData(fns, response) { - const config = this || defaults; - const context = response || config; - const headers = AxiosHeaders.from(context.headers); - let data = context.data; - - utils$1.forEach(fns, function transform(fn) { - data = fn.call(config, data, headers.normalize(), response ? response.status : undefined); - }); - - headers.normalize(); - - return data; -} - -function isCancel(value) { - return !!(value && value.__CANCEL__); -} - -class CanceledError extends AxiosError { - /** - * A `CanceledError` is an object that is thrown when an operation is canceled. - * - * @param {string=} message The message. - * @param {Object=} config The config. - * @param {Object=} request The request. - * - * @returns {CanceledError} The created error. - */ - constructor(message, config, request) { - super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request); - this.name = 'CanceledError'; - this.__CANCEL__ = true; - } -} - -/** - * Resolve or reject a Promise based on response status. - * - * @param {Function} resolve A function that resolves the promise. - * @param {Function} reject A function that rejects the promise. - * @param {object} response The response. - * - * @returns {object} The response. - */ -function settle(resolve, reject, response) { - const validateStatus = response.config.validateStatus; - if (!response.status || !validateStatus || validateStatus(response.status)) { - resolve(response); - } else { - reject(new AxiosError( - 'Request failed with status code ' + response.status, - response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE, - response.config, - response.request, - response - )); - } -} - -function parseProtocol(url) { - const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url); - return (match && match[1]) || ''; -} - -/** - * Calculate data maxRate - * @param {Number} [samplesCount= 10] - * @param {Number} [min= 1000] - * @returns {Function} - */ -function speedometer(samplesCount, min) { - samplesCount = samplesCount || 10; - const bytes = new Array(samplesCount); - const timestamps = new Array(samplesCount); - let head = 0; - let tail = 0; - let firstSampleTS; - - min = min !== undefined ? min : 1000; - - return function push(chunkLength) { - const now = Date.now(); - - const startedAt = timestamps[tail]; - - if (!firstSampleTS) { - firstSampleTS = now; - } - - bytes[head] = chunkLength; - timestamps[head] = now; - - let i = tail; - let bytesCount = 0; - - while (i !== head) { - bytesCount += bytes[i++]; - i = i % samplesCount; - } - - head = (head + 1) % samplesCount; - - if (head === tail) { - tail = (tail + 1) % samplesCount; - } - - if (now - firstSampleTS < min) { - return; - } - - const passed = startedAt && now - startedAt; - - return passed ? Math.round((bytesCount * 1000) / passed) : undefined; - }; -} - -/** - * Throttle decorator - * @param {Function} fn - * @param {Number} freq - * @return {Function} - */ -function throttle(fn, freq) { - let timestamp = 0; - let threshold = 1000 / freq; - let lastArgs; - let timer; - - const invoke = (args, now = Date.now()) => { - timestamp = now; - lastArgs = null; - if (timer) { - clearTimeout(timer); - timer = null; - } - fn(...args); - }; - - const throttled = (...args) => { - const now = Date.now(); - const passed = now - timestamp; - if (passed >= threshold) { - invoke(args, now); - } else { - lastArgs = args; - if (!timer) { - timer = setTimeout(() => { - timer = null; - invoke(lastArgs); - }, threshold - passed); - } - } - }; - - const flush = () => lastArgs && invoke(lastArgs); - - return [throttled, flush]; -} - -const progressEventReducer = (listener, isDownloadStream, freq = 3) => { - let bytesNotified = 0; - const _speedometer = speedometer(50, 250); - - return throttle((e) => { - if (!e || typeof e.loaded !== 'number') { - return; - } - const rawLoaded = e.loaded; - const total = e.lengthComputable ? e.total : undefined; - const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded; - const progressBytes = Math.max(0, loaded - bytesNotified); - const rate = _speedometer(progressBytes); - - bytesNotified = Math.max(bytesNotified, loaded); - - const data = { - loaded, - total, - progress: total ? loaded / total : undefined, - bytes: progressBytes, - rate: rate ? rate : undefined, - estimated: rate && total ? (total - loaded) / rate : undefined, - event: e, - lengthComputable: total != null, - [isDownloadStream ? 'download' : 'upload']: true, - }; - - listener(data); - }, freq); -}; - -const progressEventDecorator = (total, throttled) => { - const lengthComputable = total != null; - - return [ - (loaded) => - throttled[0]({ - lengthComputable, - total, - loaded, - }), - throttled[1], - ]; -}; - -const asyncDecorator = - (fn) => - (...args) => - utils$1.asap(() => fn(...args)); - -var isURLSameOrigin = platform.hasStandardBrowserEnv - ? ((origin, isMSIE) => (url) => { - url = new URL(url, platform.origin); - - return ( - origin.protocol === url.protocol && - origin.host === url.host && - (isMSIE || origin.port === url.port) - ); - })( - new URL(platform.origin), - platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent) - ) - : () => true; - -var cookies = platform.hasStandardBrowserEnv - ? // Standard browser envs support document.cookie - { - write(name, value, expires, path, domain, secure, sameSite) { - if (typeof document === 'undefined') return; - - const cookie = [`${name}=${encodeURIComponent(value)}`]; - - if (utils$1.isNumber(expires)) { - cookie.push(`expires=${new Date(expires).toUTCString()}`); - } - if (utils$1.isString(path)) { - cookie.push(`path=${path}`); - } - if (utils$1.isString(domain)) { - cookie.push(`domain=${domain}`); - } - if (secure === true) { - cookie.push('secure'); - } - if (utils$1.isString(sameSite)) { - cookie.push(`SameSite=${sameSite}`); - } - - document.cookie = cookie.join('; '); - }, - - read(name) { - if (typeof document === 'undefined') return null; - // Match name=value by splitting on the semicolon separator instead of building a - // RegExp from `name` — interpolating an unescaped string into a RegExp would let - // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or - // match the wrong cookie. Browsers may serialize cookie pairs as either ";" or - // "; ", so ignore optional whitespace before each cookie name. - const cookies = document.cookie.split(';'); - for (let i = 0; i < cookies.length; i++) { - const cookie = cookies[i].replace(/^\s+/, ''); - const eq = cookie.indexOf('='); - if (eq !== -1 && cookie.slice(0, eq) === name) { - try { - return decodeURIComponent(cookie.slice(eq + 1)); - } catch (e) { - return cookie.slice(eq + 1); - } - } - } - return null; - }, - - remove(name) { - this.write(name, '', Date.now() - 86400000, '/'); - }, - } - : // Non-standard browser env (web workers, react-native) lack needed support. - { - write() {}, - read() { - return null; - }, - remove() {}, - }; - -/** - * Determines whether the specified URL is absolute - * - * @param {string} url The URL to test - * - * @returns {boolean} True if the specified URL is absolute, otherwise false - */ -function isAbsoluteURL(url) { - // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). - // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed - // by any combination of letters, digits, plus, period, or hyphen. - if (typeof url !== 'string') { - return false; - } - - return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url); -} - -/** - * Creates a new URL by combining the specified URLs - * - * @param {string} baseURL The base URL - * @param {string} relativeURL The relative URL - * - * @returns {string} The combined URL - */ -function combineURLs(baseURL, relativeURL) { - return relativeURL - ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') - : baseURL; -} - -const malformedHttpProtocol = /^https?:(?!\/\/)/i; -const httpProtocolControlCharacters = /[\t\n\r]/g; - -function stripLeadingC0ControlOrSpace(url) { - let i = 0; - while (i < url.length && url.charCodeAt(i) <= 0x20) { - i++; - } - return url.slice(i); -} - -function normalizeURLForProtocolCheck(url) { - return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, ''); -} - -function assertValidHttpProtocolURL(url, config) { - if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) { - throw new AxiosError( - 'Invalid URL: missing "//" after protocol', - AxiosError.ERR_INVALID_URL, - config - ); - } -} - -/** - * Creates a new URL by combining the baseURL with the requestedURL, - * only when the requestedURL is not already an absolute URL. - * If the requestURL is absolute, this function returns the requestedURL untouched. - * - * @param {string} baseURL The base URL - * @param {string} requestedURL Absolute or relative URL to combine - * - * @returns {string} The combined full path - */ -function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) { - assertValidHttpProtocolURL(requestedURL, config); - let isRelativeUrl = !isAbsoluteURL(requestedURL); - if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) { - assertValidHttpProtocolURL(baseURL, config); - return combineURLs(baseURL, requestedURL); - } - return requestedURL; -} - -const headersToObject = (thing) => (thing instanceof AxiosHeaders ? { ...thing } : thing); - -/** - * Config-specific merge-function which creates a new config-object - * by merging two configuration objects together. - * - * @param {Object} config1 - * @param {Object} config2 - * - * @returns {Object} New object resulting from merging config2 to config1 - */ -function mergeConfig(config1, config2) { - // eslint-disable-next-line no-param-reassign - config1 = config1 || {}; - config2 = config2 || {}; - - // Use a null-prototype object so that downstream reads such as `config.auth` - // or `config.baseURL` cannot inherit polluted values from Object.prototype. - // `hasOwnProperty` is restored as a non-enumerable own slot to preserve - // ergonomics for user code that relies on it. - const config = Object.create(null); - Object.defineProperty(config, 'hasOwnProperty', { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: Object.prototype.hasOwnProperty, - enumerable: false, - writable: true, - configurable: true, - }); - - function getMergedValue(target, source, prop, caseless) { - if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) { - return utils$1.merge.call({ caseless }, target, source); - } else if (utils$1.isPlainObject(source)) { - return utils$1.merge({}, source); - } else if (utils$1.isArray(source)) { - return source.slice(); - } - return source; - } - - function mergeDeepProperties(a, b, prop, caseless) { - if (!utils$1.isUndefined(b)) { - return getMergedValue(a, b, prop, caseless); - } else if (!utils$1.isUndefined(a)) { - return getMergedValue(undefined, a, prop, caseless); - } - } - - // eslint-disable-next-line consistent-return - function valueFromConfig2(a, b) { - if (!utils$1.isUndefined(b)) { - return getMergedValue(undefined, b); - } - } - - // eslint-disable-next-line consistent-return - function defaultToConfig2(a, b) { - if (!utils$1.isUndefined(b)) { - return getMergedValue(undefined, b); - } else if (!utils$1.isUndefined(a)) { - return getMergedValue(undefined, a); - } - } - - function getMergedTransitionalOption(prop) { - const transitional2 = utils$1.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined; - - if (!utils$1.isUndefined(transitional2)) { - if (utils$1.isPlainObject(transitional2)) { - if (utils$1.hasOwnProp(transitional2, prop)) { - return transitional2[prop]; - } - } else { - return undefined; - } - } - - const transitional1 = utils$1.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined; - - if (utils$1.isPlainObject(transitional1) && utils$1.hasOwnProp(transitional1, prop)) { - return transitional1[prop]; - } - - return undefined; - } - - // eslint-disable-next-line consistent-return - function mergeDirectKeys(a, b, prop) { - if (utils$1.hasOwnProp(config2, prop)) { - return getMergedValue(a, b); - } else if (utils$1.hasOwnProp(config1, prop)) { - return getMergedValue(undefined, a); - } - } - - const mergeMap = { - url: valueFromConfig2, - method: valueFromConfig2, - data: valueFromConfig2, - baseURL: defaultToConfig2, - transformRequest: defaultToConfig2, - transformResponse: defaultToConfig2, - paramsSerializer: defaultToConfig2, - timeout: defaultToConfig2, - timeoutMessage: defaultToConfig2, - withCredentials: defaultToConfig2, - withXSRFToken: defaultToConfig2, - adapter: defaultToConfig2, - responseType: defaultToConfig2, - xsrfCookieName: defaultToConfig2, - xsrfHeaderName: defaultToConfig2, - onUploadProgress: defaultToConfig2, - onDownloadProgress: defaultToConfig2, - decompress: defaultToConfig2, - maxContentLength: defaultToConfig2, - maxBodyLength: defaultToConfig2, - beforeRedirect: defaultToConfig2, - transport: defaultToConfig2, - httpAgent: defaultToConfig2, - httpsAgent: defaultToConfig2, - cancelToken: defaultToConfig2, - socketPath: defaultToConfig2, - allowedSocketPaths: defaultToConfig2, - responseEncoding: defaultToConfig2, - validateStatus: mergeDirectKeys, - headers: (a, b, prop) => - mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true), - }; - - utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) { - if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return; - const merge = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties; - const a = utils$1.hasOwnProp(config1, prop) ? config1[prop] : undefined; - const b = utils$1.hasOwnProp(config2, prop) ? config2[prop] : undefined; - const configValue = merge(a, b, prop); - (utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue); - }); - - if ( - utils$1.hasOwnProp(config2, 'validateStatus') && - utils$1.isUndefined(config2.validateStatus) && - getMergedTransitionalOption('validateStatusUndefinedResolves') === false - ) { - if (utils$1.hasOwnProp(config1, 'validateStatus')) { - config.validateStatus = getMergedValue(undefined, config1.validateStatus); - } else { - delete config.validateStatus; - } - } - - return config; -} - -const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length']; - -function setFormDataHeaders(headers, formHeaders, policy) { - if (policy !== 'content-only') { - headers.set(formHeaders); - return; - } - - Object.entries(formHeaders || {}).forEach(([key, val]) => { - if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) { - headers.set(key, val); - } - }); -} - -/** - * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). - * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. - * - * @param {string} str The string to encode - * - * @returns {string} UTF-8 bytes as a Latin-1 string - */ -const encodeUTF8$1 = (str) => - encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => - String.fromCharCode(parseInt(hex, 16)) - ); - -function resolveConfig(config) { - const newConfig = mergeConfig({}, config); - - // Read only own properties to prevent prototype pollution gadgets - // (e.g. Object.prototype.baseURL = 'https://evil.com'). - const own = (key) => (utils$1.hasOwnProp(newConfig, key) ? newConfig[key] : undefined); - - const data = own('data'); - let withXSRFToken = own('withXSRFToken'); - const xsrfHeaderName = own('xsrfHeaderName'); - const xsrfCookieName = own('xsrfCookieName'); - let headers = own('headers'); - const auth = own('auth'); - const baseURL = own('baseURL'); - const allowAbsoluteUrls = own('allowAbsoluteUrls'); - const url = own('url'); - - newConfig.headers = headers = AxiosHeaders.from(headers); - - newConfig.url = buildURL( - buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig), - own('params'), - own('paramsSerializer') - ); - - // HTTP basic authentication - if (auth) { - const username = utils$1.getSafeProp(auth, 'username') || ''; - const password = utils$1.getSafeProp(auth, 'password') || ''; - - try { - headers.set( - 'Authorization', - 'Basic ' + btoa(username + ':' + (password ? encodeUTF8$1(password) : '')) - ); - } catch (e) { - throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config); - } - } - - if (utils$1.isFormData(data)) { - if ( - platform.hasStandardBrowserEnv || - platform.hasStandardBrowserWebWorkerEnv || - utils$1.isReactNative(data) - ) { - headers.setContentType(undefined); // browser/web worker/RN handles it - } else if (utils$1.isFunction(data.getHeaders)) { - // Node.js FormData (like form-data package) - setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy')); - } - } - - // Add xsrf header - // This is only done if running in a standard browser environment. - // Specifically not if we're in a web worker, or react-native. - - if (platform.hasStandardBrowserEnv) { - if (utils$1.isFunction(withXSRFToken)) { - withXSRFToken = withXSRFToken(newConfig); - } - - // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1) - // and misconfigurations (e.g. "false") from short-circuiting the same-origin check and leaking - // the XSRF token cross-origin. - const shouldSendXSRF = - withXSRFToken === true || (withXSRFToken == null && isURLSameOrigin(newConfig.url)); - - if (shouldSendXSRF) { - const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName); - - if (xsrfValue) { - headers.set(xsrfHeaderName, xsrfValue); - } - } - } - - return newConfig; -} - -const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; - -var xhrAdapter = isXHRAdapterSupported && - function (config) { - return new Promise(function dispatchXhrRequest(resolve, reject) { - const _config = resolveConfig(config); - let requestData = _config.data; - const requestHeaders = AxiosHeaders.from(_config.headers).normalize(); - let { responseType, onUploadProgress, onDownloadProgress } = _config; - let onCanceled; - let uploadThrottled, downloadThrottled; - let flushUpload, flushDownload; - - function done() { - flushUpload && flushUpload(); // flush events - flushDownload && flushDownload(); // flush events - - _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled); - - _config.signal && _config.signal.removeEventListener('abort', onCanceled); - } - - let request = new XMLHttpRequest(); - - request.open(_config.method.toUpperCase(), _config.url, true); - - // Set the request timeout in MS - request.timeout = _config.timeout; - - function onloadend() { - if (!request) { - return; - } - // Prepare the response - const responseHeaders = AxiosHeaders.from( - 'getAllResponseHeaders' in request && request.getAllResponseHeaders() - ); - const responseData = - !responseType || responseType === 'text' || responseType === 'json' - ? request.responseText - : request.response; - const response = { - data: responseData, - status: request.status, - statusText: request.statusText, - headers: responseHeaders, - config, - request, - }; - - settle( - function _resolve(value) { - resolve(value); - done(); - }, - function _reject(err) { - reject(err); - done(); - }, - response - ); - - // Clean up request - request = null; - } - - if ('onloadend' in request) { - // Use onloadend if available - request.onloadend = onloadend; - } else { - // Listen for ready state to emulate onloadend - request.onreadystatechange = function handleLoad() { - if (!request || request.readyState !== 4) { - return; - } - - // The request errored out and we didn't get a response, this will be - // handled by onerror instead - // With one exception: request that using file: protocol, most browsers - // will return status as 0 even though it's a successful request - if ( - request.status === 0 && - !(request.responseURL && request.responseURL.startsWith('file:')) - ) { - return; - } - // readystate handler is calling before onerror or ontimeout handlers, - // so we should call onloadend on the next 'tick' - setTimeout(onloadend); - }; - } - - // Handle browser request cancellation (as opposed to a manual cancellation) - request.onabort = function handleAbort() { - if (!request) { - return; - } - - reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request)); - done(); - - // Clean up request - request = null; - }; - - // Handle low level network errors - request.onerror = function handleError(event) { - // Browsers deliver a ProgressEvent in XHR onerror - // (message may be empty; when present, surface it) - // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event - const msg = event && event.message ? event.message : 'Network Error'; - const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request); - // attach the underlying event for consumers who want details - err.event = event || null; - reject(err); - done(); - request = null; - }; - - // Handle timeout - request.ontimeout = function handleTimeout() { - let timeoutErrorMessage = _config.timeout - ? 'timeout of ' + _config.timeout + 'ms exceeded' - : 'timeout exceeded'; - const transitional = _config.transitional || transitionalDefaults; - if (_config.timeoutErrorMessage) { - timeoutErrorMessage = _config.timeoutErrorMessage; - } - reject( - new AxiosError( - timeoutErrorMessage, - transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, - config, - request - ) - ); - done(); - - // Clean up request - request = null; - }; - - // Remove Content-Type if data is undefined - requestData === undefined && requestHeaders.setContentType(null); - - // Add headers to the request - if ('setRequestHeader' in request) { - utils$1.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) { - request.setRequestHeader(key, val); - }); - } - - // Add withCredentials to request if needed - if (!utils$1.isUndefined(_config.withCredentials)) { - request.withCredentials = !!_config.withCredentials; - } - - // Add responseType to request if needed - if (responseType && responseType !== 'json') { - request.responseType = _config.responseType; - } - - // Handle progress if needed - if (onDownloadProgress) { - [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true); - request.addEventListener('progress', downloadThrottled); - } - - // Not all browsers support upload events - if (onUploadProgress && request.upload) { - [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress); - - request.upload.addEventListener('progress', uploadThrottled); - - request.upload.addEventListener('loadend', flushUpload); - } - - if (_config.cancelToken || _config.signal) { - // Handle cancellation - // eslint-disable-next-line func-names - onCanceled = (cancel) => { - if (!request) { - return; - } - reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel); - request.abort(); - done(); - request = null; - }; - - _config.cancelToken && _config.cancelToken.subscribe(onCanceled); - if (_config.signal) { - _config.signal.aborted - ? onCanceled() - : _config.signal.addEventListener('abort', onCanceled); - } - } - - const protocol = parseProtocol(_config.url); - - if (protocol && !platform.protocols.includes(protocol)) { - reject( - new AxiosError( - 'Unsupported protocol ' + protocol + ':', - AxiosError.ERR_BAD_REQUEST, - config - ) - ); - done(); - return; - } - - // Send the request - request.send(requestData || null); - }); - }; - -const composeSignals = (signals, timeout) => { - signals = signals ? signals.filter(Boolean) : []; - - if (!timeout && !signals.length) { - return; - } - - const controller = new AbortController(); - - let aborted = false; - - const onabort = function (reason) { - if (!aborted) { - aborted = true; - unsubscribe(); - const err = reason instanceof Error ? reason : this.reason; - controller.abort( - err instanceof AxiosError - ? err - : new CanceledError(err instanceof Error ? err.message : err) - ); - } - }; - - let timer = - timeout && - setTimeout(() => { - timer = null; - onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT)); - }, timeout); - - const unsubscribe = () => { - if (!signals) { return; } - timer && clearTimeout(timer); - timer = null; - signals.forEach((signal) => { - signal.unsubscribe - ? signal.unsubscribe(onabort) - : signal.removeEventListener('abort', onabort); - }); - signals = null; - }; - - signals.forEach((signal) => signal.addEventListener('abort', onabort, { once: true })); - - const { signal } = controller; - - signal.unsubscribe = () => utils$1.asap(unsubscribe); - - return signal; -}; - -const streamChunk = function* (chunk, chunkSize) { - let len = chunk.byteLength; - - if (len < chunkSize) { - yield chunk; - return; - } - - let pos = 0; - let end; - - while (pos < len) { - end = pos + chunkSize; - yield chunk.slice(pos, end); - pos = end; - } -}; - -const readBytes = async function* (iterable, chunkSize) { - for await (const chunk of readStream(iterable)) { - yield* streamChunk(chunk, chunkSize); - } -}; - -const readStream = async function* (stream) { - if (stream[Symbol.asyncIterator]) { - yield* stream; - return; - } - - const reader = stream.getReader(); - try { - for (;;) { - const { done, value } = await reader.read(); - if (done) { - break; - } - yield value; - } - } finally { - await reader.cancel(); - } -}; - -const trackStream = (stream, chunkSize, onProgress, onFinish) => { - const iterator = readBytes(stream, chunkSize); - - let bytes = 0; - let done; - let _onFinish = (e) => { - if (!done) { - done = true; - onFinish && onFinish(e); - } - }; - - return new ReadableStream( - { - async pull(controller) { - try { - const { done, value } = await iterator.next(); - - if (done) { - _onFinish(); - controller.close(); - return; - } - - let len = value.byteLength; - if (onProgress) { - let loadedBytes = (bytes += len); - onProgress(loadedBytes); - } - controller.enqueue(new Uint8Array(value)); - } catch (err) { - _onFinish(err); - throw err; - } - }, - cancel(reason) { - _onFinish(reason); - return iterator.return(); - }, - }, - { - highWaterMark: 2, - } - ); -}; - -/** - * Estimate decoded byte length of a data:// URL *without* allocating large buffers. - * - For base64: compute exact decoded size using length and padding; - * handle %XX at the character-count level (no string allocation). - * - For non-base64: compute the exact percent-decoded UTF-8 byte length. - * - * @param {string} url - * @returns {number} - */ -const isHexDigit = (charCode) => - (charCode >= 48 && charCode <= 57) || - (charCode >= 65 && charCode <= 70) || - (charCode >= 97 && charCode <= 102); - -const isPercentEncodedByte = (str, i, len) => - i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2)); - -function estimateDataURLDecodedBytes(url) { - if (!url || typeof url !== 'string') return 0; - if (!url.startsWith('data:')) return 0; - - const comma = url.indexOf(','); - if (comma < 0) return 0; - - const meta = url.slice(5, comma); - const body = url.slice(comma + 1); - const isBase64 = /;base64/i.test(meta); - - if (isBase64) { - let effectiveLen = body.length; - const len = body.length; // cache length - - for (let i = 0; i < len; i++) { - if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) { - const a = body.charCodeAt(i + 1); - const b = body.charCodeAt(i + 2); - const isHex = isHexDigit(a) && isHexDigit(b); - - if (isHex) { - effectiveLen -= 2; - i += 2; - } - } - } - - let pad = 0; - let idx = len - 1; - - const tailIsPct3D = (j) => - j >= 2 && - body.charCodeAt(j - 2) === 37 && // '%' - body.charCodeAt(j - 1) === 51 && // '3' - (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd' - - if (idx >= 0) { - if (body.charCodeAt(idx) === 61 /* '=' */) { - pad++; - idx--; - } else if (tailIsPct3D(idx)) { - pad++; - idx -= 3; - } - } - - if (pad === 1 && idx >= 0) { - if (body.charCodeAt(idx) === 61 /* '=' */) { - pad++; - } else if (tailIsPct3D(idx)) { - pad++; - } - } - - const groups = Math.floor(effectiveLen / 4); - const bytes = groups * 3 - (pad || 0); - return bytes > 0 ? bytes : 0; - } - - // Compute UTF-8 byte length directly from UTF-16 code units without allocating - // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies). - // Valid %XX triplets count as one decoded byte; this matches the bytes that - // decodeURIComponent(body) would produce before Buffer re-encodes the string. - let bytes = 0; - for (let i = 0, len = body.length; i < len; i++) { - const c = body.charCodeAt(i); - if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) { - bytes += 1; - i += 2; - } else if (c < 0x80) { - bytes += 1; - } else if (c < 0x800) { - bytes += 2; - } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) { - const next = body.charCodeAt(i + 1); - if (next >= 0xdc00 && next <= 0xdfff) { - bytes += 4; - i++; - } else { - bytes += 3; - } - } else { - bytes += 3; - } - } - return bytes; -} - -const VERSION = "1.18.1"; - -const DEFAULT_CHUNK_SIZE = 64 * 1024; - -const { isFunction } = utils$1; - -/** - * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). - * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. - * - * @param {string} str The string to encode - * - * @returns {string} UTF-8 bytes as a Latin-1 string - */ -const encodeUTF8 = (str) => - encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => - String.fromCharCode(parseInt(hex, 16)) - ); - -// Node's WHATWG URL parser returns `username` and `password` percent-encoded. -// Decode before composing the `auth` option so credentials such as -// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the -// original value for malformed input so a bad encoding never throws. -const decodeURIComponentSafe = (value) => { - if (!utils$1.isString(value)) { - return value; - } - - try { - return decodeURIComponent(value); - } catch (error) { - return value; - } -}; - -const test = (fn, ...args) => { - try { - return !!fn(...args); - } catch (e) { - return false; - } -}; - -const maybeWithAuthCredentials = (url) => { - const protocolIndex = url.indexOf('://'); - let urlToCheck = url; - if (protocolIndex !== -1) { - urlToCheck = urlToCheck.slice(protocolIndex + 3); - } - return urlToCheck.includes('@') || urlToCheck.includes(':'); -}; - -const factory = (env) => { - const globalObject = - utils$1.global !== undefined && utils$1.global !== null - ? utils$1.global - : globalThis; - const { ReadableStream, TextEncoder } = globalObject; - - env = utils$1.merge.call( - { - skipUndefined: true, - }, - { - Request: globalObject.Request, - Response: globalObject.Response, - }, - env - ); - - const { fetch: envFetch, Request, Response } = env; - const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function'; - const isRequestSupported = isFunction(Request); - const isResponseSupported = isFunction(Response); - - if (!isFetchSupported) { - return false; - } - - const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream); - - const encodeText = - isFetchSupported && - (typeof TextEncoder === 'function' - ? ( - (encoder) => (str) => - encoder.encode(str) - )(new TextEncoder()) - : async (str) => new Uint8Array(await new Request(str).arrayBuffer())); - - const supportsRequestStream = - isRequestSupported && - isReadableStreamSupported && - test(() => { - let duplexAccessed = false; - - const request = new Request(platform.origin, { - body: new ReadableStream(), - method: 'POST', - get duplex() { - duplexAccessed = true; - return 'half'; - }, - }); - - const hasContentType = request.headers.has('Content-Type'); - - if (request.body != null) { - request.body.cancel(); - } - - return duplexAccessed && !hasContentType; - }); - - const supportsResponseStream = - isResponseSupported && - isReadableStreamSupported && - test(() => utils$1.isReadableStream(new Response('').body)); - - const resolvers = { - stream: supportsResponseStream && ((res) => res.body), - }; - - isFetchSupported && - (() => { - ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => { - !resolvers[type] && - (resolvers[type] = (res, config) => { - let method = res && res[type]; - - if (method) { - return method.call(res); - } - - throw new AxiosError( - `Response type '${type}' is not supported`, - AxiosError.ERR_NOT_SUPPORT, - config - ); - }); - }); - })(); - - const getBodyLength = async (body) => { - if (body == null) { - return 0; - } - - if (utils$1.isBlob(body)) { - return body.size; - } - - if (utils$1.isSpecCompliantForm(body)) { - const _request = new Request(platform.origin, { - method: 'POST', - body, - }); - return (await _request.arrayBuffer()).byteLength; - } - - if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) { - return body.byteLength; - } - - if (utils$1.isURLSearchParams(body)) { - body = body + ''; - } - - if (utils$1.isString(body)) { - return (await encodeText(body)).byteLength; - } - }; - - const resolveBodyLength = async (headers, body) => { - const length = utils$1.toFiniteNumber(headers.getContentLength()); - - return length == null ? getBodyLength(body) : length; - }; - - return async (config) => { - let { - url, - method, - data, - signal, - cancelToken, - timeout, - onDownloadProgress, - onUploadProgress, - responseType, - headers, - withCredentials = 'same-origin', - fetchOptions, - maxContentLength, - maxBodyLength, - } = resolveConfig(config); - - const hasMaxContentLength = utils$1.isNumber(maxContentLength) && maxContentLength > -1; - const hasMaxBodyLength = utils$1.isNumber(maxBodyLength) && maxBodyLength > -1; - const own = (key) => (utils$1.hasOwnProp(config, key) ? config[key] : undefined); - - let _fetch = envFetch || fetch; - - responseType = responseType ? (responseType + '').toLowerCase() : 'text'; - - let composedSignal = composeSignals( - [signal, cancelToken && cancelToken.toAbortSignal()], - timeout - ); - - let request = null; - - const unsubscribe = - composedSignal && - composedSignal.unsubscribe && - (() => { - composedSignal.unsubscribe(); - }); - - let requestContentLength; - - // AxiosError we raise while the request body is being streamed. Captured - // by identity so the catch block can surface it directly, regardless of - // how the runtime wraps the resulting fetch rejection (undici exposes it - // as `err.cause`; some browsers drop the original error entirely). - let pendingBodyError = null; - - const maxBodyLengthError = () => - new AxiosError( - 'Request body larger than maxBodyLength limit', - AxiosError.ERR_BAD_REQUEST, - config, - request - ); - - try { - // HTTP basic authentication - let auth = undefined; - const configAuth = own('auth'); - - if (configAuth) { - const username = utils$1.getSafeProp(configAuth, 'username') || ''; - const password = utils$1.getSafeProp(configAuth, 'password') || ''; - auth = { - username, - password - }; - } - - if (maybeWithAuthCredentials(url)) { - const parsedURL = new URL(url, platform.origin); - - if (!auth && (parsedURL.username || parsedURL.password)) { - const urlUsername = decodeURIComponentSafe(parsedURL.username); - const urlPassword = decodeURIComponentSafe(parsedURL.password); - auth = { - username: urlUsername, - password: urlPassword - }; - } - - if (parsedURL.username || parsedURL.password) { - parsedURL.username = ''; - parsedURL.password = ''; - url = parsedURL.href; - } - } - - if (auth) { - headers.delete('authorization'); - headers.set( - 'Authorization', - 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || ''))) - ); - } - - // Enforce maxContentLength for data: URLs up-front so we never materialize - // an oversized payload. The HTTP adapter applies the same check (see http.js - // "if (protocol === 'data:')" branch). - if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) { - const estimated = estimateDataURLDecodedBytes(url); - if (estimated > maxContentLength) { - throw new AxiosError( - 'maxContentLength size of ' + maxContentLength + ' exceeded', - AxiosError.ERR_BAD_RESPONSE, - config, - request - ); - } - } - - // Enforce maxBodyLength against known-size bodies before dispatch using - // the body's *actual* size — never a caller-declared Content-Length, - // which could under-report to slip an oversized body past the check. - // Unknown-size streams return undefined here and are counted per-chunk - // below as fetch consumes them. - if (hasMaxBodyLength && method !== 'get' && method !== 'head') { - const outboundLength = await getBodyLength(data); - if (typeof outboundLength === 'number' && isFinite(outboundLength)) { - requestContentLength = outboundLength; - if (outboundLength > maxBodyLength) { - throw maxBodyLengthError(); - } - } - } - - // A streamed body under maxBodyLength must be counted as fetch consumes - // it; its size is never trusted from a caller-declared Content-Length. - const mustEnforceStreamBody = - hasMaxBodyLength && (utils$1.isReadableStream(data) || utils$1.isStream(data)); - - const trackRequestStream = (stream, onProgress, flush) => - trackStream( - stream, - DEFAULT_CHUNK_SIZE, - (loadedBytes) => { - if (hasMaxBodyLength && loadedBytes > maxBodyLength) { - throw (pendingBodyError = maxBodyLengthError()); - } - onProgress && onProgress(loadedBytes); - }, - flush - ); - - if ( - supportsRequestStream && - method !== 'get' && - method !== 'head' && - (onUploadProgress || mustEnforceStreamBody) - ) { - requestContentLength = - requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength; - - // A declared length of 0 is only trusted to skip the wrap when we are - // not enforcing a stream limit (which must not rely on that header). - if (requestContentLength !== 0 || mustEnforceStreamBody) { - let _request = new Request(url, { - method: 'POST', - body: data, - duplex: 'half', - }); - - let contentTypeHeader; - - if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) { - headers.setContentType(contentTypeHeader); - } - - if (_request.body) { - const [onProgress, flush] = - (onUploadProgress && - progressEventDecorator( - requestContentLength, - progressEventReducer(asyncDecorator(onUploadProgress)) - )) || - []; - - data = trackRequestStream(_request.body, onProgress, flush); - } - } - } else if ( - mustEnforceStreamBody && - !isRequestSupported && - isReadableStreamSupported && - method !== 'get' && - method !== 'head' - ) { - data = trackRequestStream(data); - } else if ( - mustEnforceStreamBody && - isRequestSupported && - !supportsRequestStream && - method !== 'get' && - method !== 'head' - ) { - throw new AxiosError( - 'Stream request bodies are not supported by the current fetch implementation', - AxiosError.ERR_NOT_SUPPORT, - config, - request - ); - } - - if (!utils$1.isString(withCredentials)) { - withCredentials = withCredentials ? 'include' : 'omit'; - } - - // Cloudflare Workers throws when credentials are defined - // see https://github.com/cloudflare/workerd/issues/902 - const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype; - - // If data is FormData and Content-Type is multipart/form-data without boundary, - // delete it so fetch can set it correctly with the boundary - if (utils$1.isFormData(data)) { - const contentType = headers.getContentType(); - if ( - contentType && - /^multipart\/form-data/i.test(contentType) && - !/boundary=/i.test(contentType) - ) { - headers.delete('content-type'); - } - } - - // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js) - headers.set('User-Agent', 'axios/' + VERSION, false); - - const resolvedOptions = { - ...fetchOptions, - signal: composedSignal, - method: method.toUpperCase(), - headers: toByteStringHeaderObject(headers.normalize()), - body: data, - duplex: 'half', - credentials: isCredentialsSupported ? withCredentials : undefined, - }; - - request = isRequestSupported && new Request(url, resolvedOptions); - - let response = await (isRequestSupported - ? _fetch(request, fetchOptions) - : _fetch(url, resolvedOptions)); - - const responseHeaders = AxiosHeaders.from(response.headers); - - // Cheap pre-check: if the server honestly declares a content-length that - // already exceeds the cap, reject before we start streaming. - if (hasMaxContentLength) { - const declaredLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); - if (declaredLength != null && declaredLength > maxContentLength) { - throw new AxiosError( - 'maxContentLength size of ' + maxContentLength + ' exceeded', - AxiosError.ERR_BAD_RESPONSE, - config, - request - ); - } - } - - const isStreamResponse = - supportsResponseStream && (responseType === 'stream' || responseType === 'response'); - - if ( - supportsResponseStream && - response.body && - (onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe)) - ) { - const options = {}; - - ['status', 'statusText', 'headers'].forEach((prop) => { - options[prop] = response[prop]; - }); - - const responseContentLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); - - const [onProgress, flush] = - (onDownloadProgress && - progressEventDecorator( - responseContentLength, - progressEventReducer(asyncDecorator(onDownloadProgress), true) - )) || - []; - - let bytesRead = 0; - const onChunkProgress = (loadedBytes) => { - if (hasMaxContentLength) { - bytesRead = loadedBytes; - if (bytesRead > maxContentLength) { - throw new AxiosError( - 'maxContentLength size of ' + maxContentLength + ' exceeded', - AxiosError.ERR_BAD_RESPONSE, - config, - request - ); - } - } - onProgress && onProgress(loadedBytes); - }; - - response = new Response( - trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => { - flush && flush(); - unsubscribe && unsubscribe(); - }), - options - ); - } - - responseType = responseType || 'text'; - - let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text']( - response, - config - ); - - // Fallback enforcement for environments without ReadableStream support - // (legacy runtimes). Detect materialized size from typed output; skip - // streams/Response passthrough since the user will read those themselves. - if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) { - let materializedSize; - if (responseData != null) { - if (typeof responseData.byteLength === 'number') { - materializedSize = responseData.byteLength; - } else if (typeof responseData.size === 'number') { - materializedSize = responseData.size; - } else if (typeof responseData === 'string') { - materializedSize = - typeof TextEncoder === 'function' - ? new TextEncoder().encode(responseData).byteLength - : responseData.length; - } - } - if (typeof materializedSize === 'number' && materializedSize > maxContentLength) { - throw new AxiosError( - 'maxContentLength size of ' + maxContentLength + ' exceeded', - AxiosError.ERR_BAD_RESPONSE, - config, - request - ); - } - } - - !isStreamResponse && unsubscribe && unsubscribe(); - - return await new Promise((resolve, reject) => { - settle(resolve, reject, { - data: responseData, - headers: AxiosHeaders.from(response.headers), - status: response.status, - statusText: response.statusText, - config, - request, - }); - }); - } catch (err) { - unsubscribe && unsubscribe(); - - // Safari can surface fetch aborts as a DOMException-like object whose - // branded getters throw. Prefer our composed signal reason before reading - // the caught error, preserving timeout vs cancellation semantics. - if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError) { - const canceledError = composedSignal.reason; - canceledError.config = config; - request && (canceledError.request = request); - if (err !== canceledError) { - // Non-enumerable to match native Error `cause` semantics so loggers - // don't recurse into circular fetch internals (see #7205). - Object.defineProperty(canceledError, 'cause', { - __proto__: null, - value: err, - writable: true, - enumerable: false, - configurable: true, - }); - } - throw canceledError; - } - - // Surface a maxBodyLength violation we raised while the request body was - // being streamed. Matching by identity (rather than reading - // `err.cause.isAxiosError`) keeps the error deterministic across runtimes - // and avoids both prototype-pollution reads and mis-attributing a foreign - // AxiosError that merely happened to land in `err.cause`. - if (pendingBodyError) { - request && !pendingBodyError.request && (pendingBodyError.request = request); - throw pendingBodyError; - } - - // Re-throw AxiosErrors we raised synchronously (data: URL / content-length - // pre-checks, response size enforcement) without re-wrapping them. - if (err instanceof AxiosError) { - request && !err.request && (err.request = request); - throw err; - } - - if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) { - const networkError = new AxiosError( - 'Network Error', - AxiosError.ERR_NETWORK, - config, - request, - err && err.response - ); - // Non-enumerable to match native Error `cause` semantics so loggers - // don't recurse into circular fetch internals (see #7205). - Object.defineProperty(networkError, 'cause', { - __proto__: null, - value: err.cause || err, - writable: true, - enumerable: false, - configurable: true, - }); - throw networkError; - } - - throw AxiosError.from(err, err && err.code, config, request, err && err.response); - } - }; -}; - -const seedCache = new Map(); - -const getFetch = (config) => { - let env = (config && config.env) || {}; - const { fetch, Request, Response } = env; - const seeds = [Request, Response, fetch]; - - let len = seeds.length, - i = len, - seed, - target, - map = seedCache; - - while (i--) { - seed = seeds[i]; - target = map.get(seed); - - target === undefined && map.set(seed, (target = i ? new Map() : factory(env))); - - map = target; - } - - return target; -}; - -getFetch(); - -/** - * Known adapters mapping. - * Provides environment-specific adapters for Axios: - * - `http` for Node.js - * - `xhr` for browsers - * - `fetch` for fetch API-based requests - * - * @type {Object} - */ -const knownAdapters = { - http: httpAdapter, - xhr: xhrAdapter, - fetch: { - get: getFetch, - }, -}; - -// Assign adapter names for easier debugging and identification -utils$1.forEach(knownAdapters, (fn, value) => { - if (fn) { - try { - // Null-proto descriptors so a polluted Object.prototype.get cannot turn - // these data descriptors into accessor descriptors on the way in. - Object.defineProperty(fn, 'name', { __proto__: null, value }); - } catch (e) { - // eslint-disable-next-line no-empty - } - Object.defineProperty(fn, 'adapterName', { __proto__: null, value }); - } -}); - -/** - * Render a rejection reason string for unknown or unsupported adapters - * - * @param {string} reason - * @returns {string} - */ -const renderReason = (reason) => `- ${reason}`; - -/** - * Check if the adapter is resolved (function, null, or false) - * - * @param {Function|null|false} adapter - * @returns {boolean} - */ -const isResolvedHandle = (adapter) => - utils$1.isFunction(adapter) || adapter === null || adapter === false; - -/** - * Get the first suitable adapter from the provided list. - * Tries each adapter in order until a supported one is found. - * Throws an AxiosError if no adapter is suitable. - * - * @param {Array|string|Function} adapters - Adapter(s) by name or function. - * @param {Object} config - Axios request configuration - * @throws {AxiosError} If no suitable adapter is available - * @returns {Function} The resolved adapter function - */ -function getAdapter(adapters, config) { - adapters = utils$1.isArray(adapters) ? adapters : [adapters]; - - const { length } = adapters; - let nameOrAdapter; - let adapter; - - const rejectedReasons = {}; - - for (let i = 0; i < length; i++) { - nameOrAdapter = adapters[i]; - let id; - - adapter = nameOrAdapter; - - if (!isResolvedHandle(nameOrAdapter)) { - adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()]; - - if (adapter === undefined) { - throw new AxiosError(`Unknown adapter '${id}'`); - } - } - - if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) { - break; - } - - rejectedReasons[id || '#' + i] = adapter; - } - - if (!adapter) { - const reasons = Object.entries(rejectedReasons).map( - ([id, state]) => - `adapter ${id} ` + - (state === false ? 'is not supported by the environment' : 'is not available in the build') - ); - - let s = length - ? reasons.length > 1 - ? 'since :\n' + reasons.map(renderReason).join('\n') - : ' ' + renderReason(reasons[0]) - : 'as no adapter specified'; - - throw new AxiosError( - `There is no suitable adapter to dispatch the request ` + s, - AxiosError.ERR_NOT_SUPPORT - ); - } - - return adapter; -} - -/** - * Exports Axios adapters and utility to resolve an adapter - */ -var adapters = { - /** - * Resolve an adapter from a list of adapter names or functions. - * @type {Function} - */ - getAdapter, - - /** - * Exposes all known adapters - * @type {Object} - */ - adapters: knownAdapters, -}; - -/** - * Throws a `CanceledError` if cancellation has been requested. - * - * @param {Object} config The config that is to be used for the request - * - * @returns {void} - */ -function throwIfCancellationRequested(config) { - if (config.cancelToken) { - config.cancelToken.throwIfRequested(); - } - - if (config.signal && config.signal.aborted) { - throw new CanceledError(null, config); - } -} - -/** - * Dispatch a request to the server using the configured adapter. - * - * @param {object} config The config that is to be used for the request - * - * @returns {Promise} The Promise to be fulfilled - */ -function dispatchRequest(config) { - throwIfCancellationRequested(config); - - config.headers = AxiosHeaders.from(config.headers); - - // Transform request data - config.data = transformData.call(config, config.transformRequest); - - if (['post', 'put', 'patch'].indexOf(config.method) !== -1) { - config.headers.setContentType('application/x-www-form-urlencoded', false); - } - - const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config); - - return adapter(config).then( - function onAdapterResolution(response) { - throwIfCancellationRequested(config); - - // Expose the current response on config so that transformResponse can - // attach it to any AxiosError it throws (e.g. on JSON parse failure). - // We clean it up afterwards to avoid polluting the config object. - config.response = response; - try { - response.data = transformData.call(config, config.transformResponse, response); - } finally { - delete config.response; - } - - response.headers = AxiosHeaders.from(response.headers); - - return response; - }, - function onAdapterRejection(reason) { - if (!isCancel(reason)) { - throwIfCancellationRequested(config); - - // Transform response data - if (reason && reason.response) { - config.response = reason.response; - try { - reason.response.data = transformData.call( - config, - config.transformResponse, - reason.response - ); - } finally { - delete config.response; - } - reason.response.headers = AxiosHeaders.from(reason.response.headers); - } - } - - return Promise.reject(reason); - } - ); -} - -const validators$1 = {}; - -// eslint-disable-next-line func-names -['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => { - validators$1[type] = function validator(thing) { - return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type; - }; -}); - -const deprecatedWarnings = {}; - -/** - * Transitional option validator - * - * @param {function|boolean?} validator - set to false if the transitional option has been removed - * @param {string?} version - deprecated version / removed since version - * @param {string?} message - some message with additional info - * - * @returns {function} - */ -validators$1.transitional = function transitional(validator, version, message) { - function formatMessage(opt, desc) { - return ( - '[Axios v' + - VERSION + - "] Transitional option '" + - opt + - "'" + - desc + - (message ? '. ' + message : '') - ); - } - - // eslint-disable-next-line func-names - return (value, opt, opts) => { - if (validator === false) { - throw new AxiosError( - formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), - AxiosError.ERR_DEPRECATED - ); - } - - if (version && !deprecatedWarnings[opt]) { - deprecatedWarnings[opt] = true; - // eslint-disable-next-line no-console - console.warn( - formatMessage( - opt, - ' has been deprecated since v' + version + ' and will be removed in the near future' - ) - ); - } - - return validator ? validator(value, opt, opts) : true; - }; -}; - -validators$1.spelling = function spelling(correctSpelling) { - return (value, opt) => { - // eslint-disable-next-line no-console - console.warn(`${opt} is likely a misspelling of ${correctSpelling}`); - return true; - }; -}; - -/** - * Assert object's properties type - * - * @param {object} options - * @param {object} schema - * @param {boolean?} allowUnknown - * - * @returns {object} - */ - -function assertOptions(options, schema, allowUnknown) { - if (typeof options !== 'object' || options === null) { - throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE); - } - const keys = Object.keys(options); - let i = keys.length; - while (i-- > 0) { - const opt = keys[i]; - // Use hasOwnProperty so a polluted Object.prototype. cannot supply - // a non-function validator and cause a TypeError. - const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined; - if (validator) { - const value = options[opt]; - const result = value === undefined || validator(value, opt, options); - if (result !== true) { - throw new AxiosError( - 'option ' + opt + ' must be ' + result, - AxiosError.ERR_BAD_OPTION_VALUE - ); - } - continue; - } - if (allowUnknown !== true) { - throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION); - } - } -} - -var validator = { - assertOptions, - validators: validators$1, -}; - -const validators = validator.validators; - -/** - * Create a new instance of Axios - * - * @param {Object} instanceConfig The default config for the instance - * - * @return {Axios} A new instance of Axios - */ -class Axios { - constructor(instanceConfig) { - this.defaults = instanceConfig || {}; - this.interceptors = { - request: new InterceptorManager(), - response: new InterceptorManager(), - }; - } - - /** - * Dispatch a request - * - * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) - * @param {?Object} config - * - * @returns {Promise} The Promise to be fulfilled - */ - async request(configOrUrl, config) { - try { - return await this._request(configOrUrl, config); - } catch (err) { - if (err instanceof Error) { - let dummy = {}; - - Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error()); - - // slice off the Error: ... line - const stack = (() => { - if (!dummy.stack) { - return ''; - } - - const firstNewlineIndex = dummy.stack.indexOf('\n'); - - return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1); - })(); - try { - if (!err.stack) { - err.stack = stack; - // match without the 2 top stack lines - } else if (stack) { - const firstNewlineIndex = stack.indexOf('\n'); - const secondNewlineIndex = - firstNewlineIndex === -1 ? -1 : stack.indexOf('\n', firstNewlineIndex + 1); - const stackWithoutTwoTopLines = - secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1); - - if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) { - err.stack += '\n' + stack; - } - } - } catch (e) { - // ignore the case where "stack" is an un-writable property - } - } - - throw err; - } - } - - _request(configOrUrl, config) { - /*eslint no-param-reassign:0*/ - // Allow for axios('example/url'[, config]) a la fetch API - if (typeof configOrUrl === 'string') { - config = config || {}; - config.url = configOrUrl; - } else { - config = configOrUrl || {}; - } - - config = mergeConfig(this.defaults, config); - - const { transitional, paramsSerializer, headers } = config; - - if (transitional !== undefined) { - validator.assertOptions( - transitional, - { - silentJSONParsing: validators.transitional(validators.boolean), - forcedJSONParsing: validators.transitional(validators.boolean), - clarifyTimeoutError: validators.transitional(validators.boolean), - legacyInterceptorReqResOrdering: validators.transitional(validators.boolean), - advertiseZstdAcceptEncoding: validators.transitional(validators.boolean), - validateStatusUndefinedResolves: validators.transitional(validators.boolean), - }, - false - ); - } - - if (paramsSerializer != null) { - if (utils$1.isFunction(paramsSerializer)) { - config.paramsSerializer = { - serialize: paramsSerializer, - }; - } else { - validator.assertOptions( - paramsSerializer, - { - encode: validators.function, - serialize: validators.function, - }, - true - ); - } - } - - // Set config.allowAbsoluteUrls - if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) { - config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls; - } else { - config.allowAbsoluteUrls = true; - } - - validator.assertOptions( - config, - { - baseUrl: validators.spelling('baseURL'), - withXsrfToken: validators.spelling('withXSRFToken'), - }, - true - ); - - // Set config.method - config.method = (config.method || this.defaults.method || 'get').toLowerCase(); - - // Flatten headers - let contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]); - - headers && - utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => { - delete headers[method]; - }); - - config.headers = AxiosHeaders.concat(contextHeaders, headers); - - // filter out skipped interceptors - const requestInterceptorChain = []; - let synchronousRequestInterceptors = true; - this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) { - if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) { - return; - } - - synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous; - - const transitional = config.transitional || transitionalDefaults; - const legacyInterceptorReqResOrdering = - transitional && transitional.legacyInterceptorReqResOrdering; - - if (legacyInterceptorReqResOrdering) { - requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected); - } else { - requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); - } - }); - - const responseInterceptorChain = []; - this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) { - responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); - }); - - let promise; - let i = 0; - let len; - - if (!synchronousRequestInterceptors) { - const chain = [dispatchRequest.bind(this), undefined]; - chain.unshift(...requestInterceptorChain); - chain.push(...responseInterceptorChain); - len = chain.length; - - promise = Promise.resolve(config); - - while (i < len) { - promise = promise.then(chain[i++], chain[i++]); - } - - return promise; - } - - len = requestInterceptorChain.length; - - let newConfig = config; - - while (i < len) { - const onFulfilled = requestInterceptorChain[i++]; - const onRejected = requestInterceptorChain[i++]; - try { - newConfig = onFulfilled(newConfig); - } catch (error) { - onRejected.call(this, error); - break; - } - } - - try { - promise = dispatchRequest.call(this, newConfig); - } catch (error) { - return Promise.reject(error); - } - - i = 0; - len = responseInterceptorChain.length; - - while (i < len) { - promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); - } - - return promise; - } - - getUri(config) { - config = mergeConfig(this.defaults, config); - const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config); - return buildURL(fullPath, config.params, config.paramsSerializer); - } -} - -// Provide aliases for supported request methods -utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) { - /*eslint func-names:0*/ - Axios.prototype[method] = function (url, config) { - return this.request( - mergeConfig(config || {}, { - method, - url, - data: config && utils$1.hasOwnProp(config, 'data') ? config.data : undefined, - }) - ); - }; -}); - -utils$1.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) { - function generateHTTPMethod(isForm) { - return function httpMethod(url, data, config) { - return this.request( - mergeConfig(config || {}, { - method, - headers: isForm - ? { - 'Content-Type': 'multipart/form-data', - } - : {}, - url, - data, - }) - ); - }; - } - - Axios.prototype[method] = generateHTTPMethod(); - - // QUERY is a safe/idempotent read method; multipart form bodies don't fit - // its semantics, so no queryForm shorthand is generated. - if (method !== 'query') { - Axios.prototype[method + 'Form'] = generateHTTPMethod(true); - } -}); - -/** - * A `CancelToken` is an object that can be used to request cancellation of an operation. - * - * @param {Function} executor The executor function. - * - * @returns {CancelToken} - */ -class CancelToken { - constructor(executor) { - if (typeof executor !== 'function') { - throw new TypeError('executor must be a function.'); - } - - let resolvePromise; - - this.promise = new Promise(function promiseExecutor(resolve) { - resolvePromise = resolve; - }); - - const token = this; - - // eslint-disable-next-line func-names - this.promise.then((cancel) => { - if (!token._listeners) return; - - let i = token._listeners.length; - - while (i-- > 0) { - token._listeners[i](cancel); - } - token._listeners = null; - }); - - // eslint-disable-next-line func-names - this.promise.then = (onfulfilled) => { - let _resolve; - // eslint-disable-next-line func-names - const promise = new Promise((resolve) => { - token.subscribe(resolve); - _resolve = resolve; - }).then(onfulfilled); - - promise.cancel = function reject() { - token.unsubscribe(_resolve); - }; - - return promise; - }; - - executor(function cancel(message, config, request) { - if (token.reason) { - // Cancellation has already been requested - return; - } - - token.reason = new CanceledError(message, config, request); - resolvePromise(token.reason); - }); - } - - /** - * Throws a `CanceledError` if cancellation has been requested. - */ - throwIfRequested() { - if (this.reason) { - throw this.reason; - } - } - - /** - * Subscribe to the cancel signal - */ - - subscribe(listener) { - if (this.reason) { - listener(this.reason); - return; - } - - if (this._listeners) { - this._listeners.push(listener); - } else { - this._listeners = [listener]; - } - } - - /** - * Unsubscribe from the cancel signal - */ - - unsubscribe(listener) { - if (!this._listeners) { - return; - } - const index = this._listeners.indexOf(listener); - if (index !== -1) { - this._listeners.splice(index, 1); - } - } - - toAbortSignal() { - const controller = new AbortController(); - - const abort = (err) => { - controller.abort(err); - }; - - this.subscribe(abort); - - controller.signal.unsubscribe = () => this.unsubscribe(abort); - - return controller.signal; - } - - /** - * Returns an object that contains a new `CancelToken` and a function that, when called, - * cancels the `CancelToken`. - */ - static source() { - let cancel; - const token = new CancelToken(function executor(c) { - cancel = c; - }); - return { - token, - cancel, - }; - } -} - -/** - * Syntactic sugar for invoking a function and expanding an array for arguments. - * - * Common use case would be to use `Function.prototype.apply`. - * - * ```js - * function f(x, y, z) {} - * const args = [1, 2, 3]; - * f.apply(null, args); - * ``` - * - * With `spread` this example can be re-written. - * - * ```js - * spread(function(x, y, z) {})([1, 2, 3]); - * ``` - * - * @param {Function} callback - * - * @returns {Function} - */ -function spread(callback) { - return function wrap(arr) { - return callback.apply(null, arr); - }; -} - -/** - * Determines whether the payload is an error thrown by Axios - * - * @param {*} payload The value to test - * - * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false - */ -function isAxiosError(payload) { - return utils$1.isObject(payload) && payload.isAxiosError === true; -} - -const HttpStatusCode = { - Continue: 100, - SwitchingProtocols: 101, - Processing: 102, - EarlyHints: 103, - Ok: 200, - Created: 201, - Accepted: 202, - NonAuthoritativeInformation: 203, - NoContent: 204, - ResetContent: 205, - PartialContent: 206, - MultiStatus: 207, - AlreadyReported: 208, - ImUsed: 226, - MultipleChoices: 300, - MovedPermanently: 301, - Found: 302, - SeeOther: 303, - NotModified: 304, - UseProxy: 305, - Unused: 306, - TemporaryRedirect: 307, - PermanentRedirect: 308, - BadRequest: 400, - Unauthorized: 401, - PaymentRequired: 402, - Forbidden: 403, - NotFound: 404, - MethodNotAllowed: 405, - NotAcceptable: 406, - ProxyAuthenticationRequired: 407, - RequestTimeout: 408, - Conflict: 409, - Gone: 410, - LengthRequired: 411, - PreconditionFailed: 412, - PayloadTooLarge: 413, - UriTooLong: 414, - UnsupportedMediaType: 415, - RangeNotSatisfiable: 416, - ExpectationFailed: 417, - ImATeapot: 418, - MisdirectedRequest: 421, - UnprocessableEntity: 422, - Locked: 423, - FailedDependency: 424, - TooEarly: 425, - UpgradeRequired: 426, - PreconditionRequired: 428, - TooManyRequests: 429, - RequestHeaderFieldsTooLarge: 431, - UnavailableForLegalReasons: 451, - InternalServerError: 500, - NotImplemented: 501, - BadGateway: 502, - ServiceUnavailable: 503, - GatewayTimeout: 504, - HttpVersionNotSupported: 505, - VariantAlsoNegotiates: 506, - InsufficientStorage: 507, - LoopDetected: 508, - NotExtended: 510, - NetworkAuthenticationRequired: 511, - WebServerIsDown: 521, - ConnectionTimedOut: 522, - OriginIsUnreachable: 523, - TimeoutOccurred: 524, - SslHandshakeFailed: 525, - InvalidSslCertificate: 526, -}; - -Object.entries(HttpStatusCode).forEach(([key, value]) => { - HttpStatusCode[value] = key; -}); - -/** - * Create an instance of Axios - * - * @param {Object} defaultConfig The default config for the instance - * - * @returns {Axios} A new instance of Axios - */ -function createInstance(defaultConfig) { - const context = new Axios(defaultConfig); - const instance = bind(Axios.prototype.request, context); - - // Copy axios.prototype to instance - utils$1.extend(instance, Axios.prototype, context, { allOwnKeys: true }); - - // Copy context to instance - utils$1.extend(instance, context, null, { allOwnKeys: true }); - - // Factory for creating new instances - instance.create = function create(instanceConfig) { - return createInstance(mergeConfig(defaultConfig, instanceConfig)); - }; - - return instance; -} - -// Create the default instance to be exported -const axios = createInstance(defaults); - -// Expose Axios class to allow class inheritance -axios.Axios = Axios; - -// Expose Cancel & CancelToken -axios.CanceledError = CanceledError; -axios.CancelToken = CancelToken; -axios.isCancel = isCancel; -axios.VERSION = VERSION; -axios.toFormData = toFormData; - -// Expose AxiosError class -axios.AxiosError = AxiosError; - -// alias for CanceledError for backward compatibility -axios.Cancel = axios.CanceledError; - -// Expose all/spread -axios.all = function all(promises) { - return Promise.all(promises); -}; - -axios.spread = spread; - -// Expose isAxiosError -axios.isAxiosError = isAxiosError; - -// Expose mergeConfig -axios.mergeConfig = mergeConfig; - -axios.AxiosHeaders = AxiosHeaders; - -axios.formToJSON = (thing) => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing); - -axios.getAdapter = adapters.getAdapter; - -axios.HttpStatusCode = HttpStatusCode; - -axios.default = axios; - -module.exports = axios; -//# sourceMappingURL=axios.cjs.map diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.js b/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.js deleted file mode 100644 index 004fd11..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.js +++ /dev/null @@ -1,5167 +0,0 @@ -/*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */ -/** - * Create a bound version of a function with a specified `this` context - * - * @param {Function} fn - The function to bind - * @param {*} thisArg - The value to be passed as the `this` parameter - * @returns {Function} A new function that will call the original function with the specified `this` context - */ -function bind(fn, thisArg) { - return function wrap() { - return fn.apply(thisArg, arguments); - }; -} - -// utils is a library of generic helper functions non-specific to axios - -const { toString } = Object.prototype; -const { getPrototypeOf } = Object; -const { iterator, toStringTag } = Symbol; - -/* Creating a function that will check if an object has a property. */ -const hasOwnProperty = ( - ({ hasOwnProperty }) => - (obj, prop) => - hasOwnProperty.call(obj, prop) -)(Object.prototype); - -/** - * Walk the prototype chain (excluding the shared Object.prototype) looking for - * an own `prop`. This distinguishes genuine own/inherited members — including - * class accessors and template prototypes — from members injected via - * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which - * live on Object.prototype itself and are therefore never matched. - * - * @param {*} thing The value whose chain to inspect - * @param {string|symbol} prop The property key to look for - * - * @returns {boolean} True when `prop` is owned below Object.prototype - */ -const hasOwnInPrototypeChain = (thing, prop) => { - let obj = thing; - const seen = []; - - while (obj != null && obj !== Object.prototype) { - if (seen.indexOf(obj) !== -1) { - return false; - } - seen.push(obj); - - if (hasOwnProperty(obj, prop)) { - return true; - } - obj = getPrototypeOf(obj); - } - return false; -}; - -/** - * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own - * properties and members inherited from a non-Object.prototype source (a class - * instance or template object) are honored; a value reachable only through a - * polluted Object.prototype is ignored and `undefined` is returned. - * - * @param {*} obj The source object - * @param {string|symbol} prop The property key to read - * - * @returns {*} The resolved value, or undefined when unsafe/absent - */ -const getSafeProp = (obj, prop) => - obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined; - -const kindOf = ((cache) => (thing) => { - const str = toString.call(thing); - return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase()); -})(Object.create(null)); - -const kindOfTest = (type) => { - type = type.toLowerCase(); - return (thing) => kindOf(thing) === type; -}; - -const typeOfTest = (type) => (thing) => typeof thing === type; - -/** - * Determine if a value is a non-null object - * - * @param {Object} val The value to test - * - * @returns {boolean} True if value is an Array, otherwise false - */ -const { isArray } = Array; - -/** - * Determine if a value is undefined - * - * @param {*} val The value to test - * - * @returns {boolean} True if the value is undefined, otherwise false - */ -const isUndefined = typeOfTest('undefined'); - -/** - * Determine if a value is a Buffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Buffer, otherwise false - */ -function isBuffer(val) { - return ( - val !== null && - !isUndefined(val) && - val.constructor !== null && - !isUndefined(val.constructor) && - isFunction$1(val.constructor.isBuffer) && - val.constructor.isBuffer(val) - ); -} - -/** - * Determine if a value is an ArrayBuffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is an ArrayBuffer, otherwise false - */ -const isArrayBuffer = kindOfTest('ArrayBuffer'); - -/** - * Determine if a value is a view on an ArrayBuffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false - */ -function isArrayBufferView(val) { - let result; - if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) { - result = ArrayBuffer.isView(val); - } else { - result = val && val.buffer && isArrayBuffer(val.buffer); - } - return result; -} - -/** - * Determine if a value is a String - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a String, otherwise false - */ -const isString = typeOfTest('string'); - -/** - * Determine if a value is a Function - * - * @param {*} val The value to test - * @returns {boolean} True if value is a Function, otherwise false - */ -const isFunction$1 = typeOfTest('function'); - -/** - * Determine if a value is a Number - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Number, otherwise false - */ -const isNumber = typeOfTest('number'); - -/** - * Determine if a value is an Object - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value is an Object, otherwise false - */ -const isObject = (thing) => thing !== null && typeof thing === 'object'; - -/** - * Determine if a value is a Boolean - * - * @param {*} thing The value to test - * @returns {boolean} True if value is a Boolean, otherwise false - */ -const isBoolean = (thing) => thing === true || thing === false; - -/** - * Determine if a value is a plain Object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a plain Object, otherwise false - */ -const isPlainObject = (val) => { - if (!isObject(val)) { - return false; - } - - const prototype = getPrototypeOf(val); - return ( - (prototype === null || - prototype === Object.prototype || - getPrototypeOf(prototype) === null) && - // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or - // Symbol.iterator as evidence the value is a tagged/iterable type rather - // than a plain object, while ignoring keys injected onto Object.prototype. - !hasOwnInPrototypeChain(val, toStringTag) && - !hasOwnInPrototypeChain(val, iterator) - ); -}; - -/** - * Determine if a value is an empty object (safely handles Buffers) - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is an empty object, otherwise false - */ -const isEmptyObject = (val) => { - // Early return for non-objects or Buffers to prevent RangeError - if (!isObject(val) || isBuffer(val)) { - return false; - } - - try { - return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype; - } catch (e) { - // Fallback for any other objects that might cause RangeError with Object.keys() - return false; - } -}; - -/** - * Determine if a value is a Date - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Date, otherwise false - */ -const isDate = kindOfTest('Date'); - -/** - * Determine if a value is a File - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a File, otherwise false - */ -const isFile = kindOfTest('File'); - -/** - * Determine if a value is a React Native Blob - * React Native "blob": an object with a `uri` attribute. Optionally, it can - * also have a `name` and `type` attribute to specify filename and content type - * - * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71 - * - * @param {*} value The value to test - * - * @returns {boolean} True if value is a React Native Blob, otherwise false - */ -const isReactNativeBlob = (value) => { - return !!(value && typeof value.uri !== 'undefined'); -}; - -/** - * Determine if environment is React Native - * ReactNative `FormData` has a non-standard `getParts()` method - * - * @param {*} formData The formData to test - * - * @returns {boolean} True if environment is React Native, otherwise false - */ -const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined'; - -/** - * Determine if a value is a Blob - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Blob, otherwise false - */ -const isBlob = kindOfTest('Blob'); - -/** - * Determine if a value is a FileList - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a FileList, otherwise false - */ -const isFileList = kindOfTest('FileList'); - -/** - * Determine if a value is a Stream - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Stream, otherwise false - */ -const isStream = (val) => isObject(val) && isFunction$1(val.pipe); - -/** - * Determine if a value is a FormData - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value is an FormData, otherwise false - */ -function getGlobal() { - if (typeof globalThis !== 'undefined') return globalThis; - if (typeof self !== 'undefined') return self; - if (typeof window !== 'undefined') return window; - if (typeof global !== 'undefined') return global; - return {}; -} - -const G = getGlobal(); -const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined; - -const isFormData = (thing) => { - if (!thing) return false; - if (FormDataCtor && thing instanceof FormDataCtor) return true; - // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData. - const proto = getPrototypeOf(thing); - if (!proto || proto === Object.prototype) return false; - if (!isFunction$1(thing.append)) return false; - const kind = kindOf(thing); - return ( - kind === 'formdata' || - // detect form-data instance - (kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]') - ); -}; - -/** - * Determine if a value is a URLSearchParams object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a URLSearchParams object, otherwise false - */ -const isURLSearchParams = kindOfTest('URLSearchParams'); - -const [isReadableStream, isRequest, isResponse, isHeaders] = [ - 'ReadableStream', - 'Request', - 'Response', - 'Headers', -].map(kindOfTest); - -/** - * Trim excess whitespace off the beginning and end of a string - * - * @param {String} str The String to trim - * - * @returns {String} The String freed of excess whitespace - */ -const trim = (str) => { - return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); -}; -/** - * Iterate over an Array or an Object invoking a function for each item. - * - * If `obj` is an Array callback will be called passing - * the value, index, and complete array for each item. - * - * If 'obj' is an Object callback will be called passing - * the value, key, and complete object for each property. - * - * @param {Object|Array} obj The object to iterate - * @param {Function} fn The callback to invoke for each item - * - * @param {Object} [options] - * @param {Boolean} [options.allOwnKeys = false] - * @returns {any} - */ -function forEach(obj, fn, { allOwnKeys = false } = {}) { - // Don't bother if no value provided - if (obj === null || typeof obj === 'undefined') { - return; - } - - let i; - let l; - - // Force an array if not already something iterable - if (typeof obj !== 'object') { - /*eslint no-param-reassign:0*/ - obj = [obj]; - } - - if (isArray(obj)) { - // Iterate over array values - for (i = 0, l = obj.length; i < l; i++) { - fn.call(null, obj[i], i, obj); - } - } else { - // Buffer check - if (isBuffer(obj)) { - return; - } - - // Iterate over object keys - const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj); - const len = keys.length; - let key; - - for (i = 0; i < len; i++) { - key = keys[i]; - fn.call(null, obj[key], key, obj); - } - } -} - -/** - * Finds a key in an object, case-insensitive, returning the actual key name. - * Returns null if the object is a Buffer or if no match is found. - * - * @param {Object} obj - The object to search. - * @param {string} key - The key to find (case-insensitive). - * @returns {?string} The actual key name if found, otherwise null. - */ -function findKey(obj, key) { - if (isBuffer(obj)) { - return null; - } - - key = key.toLowerCase(); - const keys = Object.keys(obj); - let i = keys.length; - let _key; - while (i-- > 0) { - _key = keys[i]; - if (key === _key.toLowerCase()) { - return _key; - } - } - return null; -} - -const _global = (() => { - /*eslint no-undef:0*/ - if (typeof globalThis !== 'undefined') return globalThis; - return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global; -})(); - -const isContextDefined = (context) => !isUndefined(context) && context !== _global; - -/** - * Accepts varargs expecting each argument to be an object, then - * immutably merges the properties of each object and returns result. - * - * When multiple objects contain the same key the later object in - * the arguments list will take precedence. - * - * Example: - * - * ```js - * const result = merge({foo: 123}, {foo: 456}); - * console.log(result.foo); // outputs 456 - * ``` - * - * @param {Object} obj1 Object to merge - * - * @returns {Object} Result of all merge properties - */ -function merge(...objs) { - const { caseless, skipUndefined } = (isContextDefined(this) && this) || {}; - const result = {}; - const assignValue = (val, key) => { - // Skip dangerous property names to prevent prototype pollution - if (key === '__proto__' || key === 'constructor' || key === 'prototype') { - return; - } - - // findKey lowercases the key, so caseless lookup only applies to strings — - // symbol keys are identity-matched. - const targetKey = (caseless && typeof key === 'string' && findKey(result, key)) || key; - // Read via own-prop only — a bare `result[targetKey]` walks the prototype - // chain, so a polluted Object.prototype value could surface here and get - // copied into the merged result. - const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined; - if (isPlainObject(existing) && isPlainObject(val)) { - result[targetKey] = merge(existing, val); - } else if (isPlainObject(val)) { - result[targetKey] = merge({}, val); - } else if (isArray(val)) { - result[targetKey] = val.slice(); - } else if (!skipUndefined || !isUndefined(val)) { - result[targetKey] = val; - } - }; - - for (let i = 0, l = objs.length; i < l; i++) { - const source = objs[i]; - if (!source || isBuffer(source)) { - continue; - } - - forEach(source, assignValue); - - if (typeof source !== 'object' || isArray(source)) { - continue; - } - - const symbols = Object.getOwnPropertySymbols(source); - for (let j = 0; j < symbols.length; j++) { - const symbol = symbols[j]; - if (propertyIsEnumerable.call(source, symbol)) { - assignValue(source[symbol], symbol); - } - } - } - return result; -} - -/** - * Extends object a by mutably adding to it the properties of object b. - * - * @param {Object} a The object to be extended - * @param {Object} b The object to copy properties from - * @param {Object} thisArg The object to bind function to - * - * @param {Object} [options] - * @param {Boolean} [options.allOwnKeys] - * @returns {Object} The resulting value of object a - */ -const extend = (a, b, thisArg, { allOwnKeys } = {}) => { - forEach( - b, - (val, key) => { - if (thisArg && isFunction$1(val)) { - Object.defineProperty(a, key, { - // Null-proto descriptor so a polluted Object.prototype.get cannot - // hijack defineProperty's accessor-vs-data resolution. - __proto__: null, - value: bind(val, thisArg), - writable: true, - enumerable: true, - configurable: true, - }); - } else { - Object.defineProperty(a, key, { - __proto__: null, - value: val, - writable: true, - enumerable: true, - configurable: true, - }); - } - }, - { allOwnKeys } - ); - return a; -}; - -/** - * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) - * - * @param {string} content with BOM - * - * @returns {string} content value without BOM - */ -const stripBOM = (content) => { - if (content.charCodeAt(0) === 0xfeff) { - content = content.slice(1); - } - return content; -}; - -/** - * Inherit the prototype methods from one constructor into another - * @param {function} constructor - * @param {function} superConstructor - * @param {object} [props] - * @param {object} [descriptors] - * - * @returns {void} - */ -const inherits = (constructor, superConstructor, props, descriptors) => { - constructor.prototype = Object.create(superConstructor.prototype, descriptors); - Object.defineProperty(constructor.prototype, 'constructor', { - __proto__: null, - value: constructor, - writable: true, - enumerable: false, - configurable: true, - }); - Object.defineProperty(constructor, 'super', { - __proto__: null, - value: superConstructor.prototype, - }); - props && Object.assign(constructor.prototype, props); -}; - -/** - * Resolve object with deep prototype chain to a flat object - * @param {Object} sourceObj source object - * @param {Object} [destObj] - * @param {Function|Boolean} [filter] - * @param {Function} [propFilter] - * - * @returns {Object} - */ -const toFlatObject = (sourceObj, destObj, filter, propFilter) => { - let props; - let i; - let prop; - const merged = {}; - - destObj = destObj || {}; - // eslint-disable-next-line no-eq-null,eqeqeq - if (sourceObj == null) return destObj; - - do { - props = Object.getOwnPropertyNames(sourceObj); - i = props.length; - while (i-- > 0) { - prop = props[i]; - if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) { - destObj[prop] = sourceObj[prop]; - merged[prop] = true; - } - } - sourceObj = filter !== false && getPrototypeOf(sourceObj); - } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype); - - return destObj; -}; - -/** - * Determines whether a string ends with the characters of a specified string - * - * @param {String} str - * @param {String} searchString - * @param {Number} [position= 0] - * - * @returns {boolean} - */ -const endsWith = (str, searchString, position) => { - str = String(str); - if (position === undefined || position > str.length) { - position = str.length; - } - position -= searchString.length; - const lastIndex = str.indexOf(searchString, position); - return lastIndex !== -1 && lastIndex === position; -}; - -/** - * Returns new array from array like object or null if failed - * - * @param {*} [thing] - * - * @returns {?Array} - */ -const toArray = (thing) => { - if (!thing) return null; - if (isArray(thing)) return thing; - let i = thing.length; - if (!isNumber(i)) return null; - const arr = new Array(i); - while (i-- > 0) { - arr[i] = thing[i]; - } - return arr; -}; - -/** - * Checking if the Uint8Array exists and if it does, it returns a function that checks if the - * thing passed in is an instance of Uint8Array - * - * @param {TypedArray} - * - * @returns {Array} - */ -// eslint-disable-next-line func-names -const isTypedArray = ((TypedArray) => { - // eslint-disable-next-line func-names - return (thing) => { - return TypedArray && thing instanceof TypedArray; - }; -})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array)); - -/** - * For each entry in the object, call the function with the key and value. - * - * @param {Object} obj - The object to iterate over. - * @param {Function} fn - The function to call for each entry. - * - * @returns {void} - */ -const forEachEntry = (obj, fn) => { - const generator = obj && obj[iterator]; - - const _iterator = generator.call(obj); - - let result; - - while ((result = _iterator.next()) && !result.done) { - const pair = result.value; - fn.call(obj, pair[0], pair[1]); - } -}; - -/** - * It takes a regular expression and a string, and returns an array of all the matches - * - * @param {string} regExp - The regular expression to match against. - * @param {string} str - The string to search. - * - * @returns {Array} - */ -const matchAll = (regExp, str) => { - let matches; - const arr = []; - - while ((matches = regExp.exec(str)) !== null) { - arr.push(matches); - } - - return arr; -}; - -/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */ -const isHTMLForm = kindOfTest('HTMLFormElement'); - -const toCamelCase = (str) => { - return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) { - return p1.toUpperCase() + p2; - }); -}; - -const { propertyIsEnumerable } = Object.prototype; - -/** - * Determine if a value is a RegExp object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a RegExp object, otherwise false - */ -const isRegExp = kindOfTest('RegExp'); - -const reduceDescriptors = (obj, reducer) => { - const descriptors = Object.getOwnPropertyDescriptors(obj); - const reducedDescriptors = {}; - - forEach(descriptors, (descriptor, name) => { - let ret; - if ((ret = reducer(descriptor, name, obj)) !== false) { - reducedDescriptors[name] = ret || descriptor; - } - }); - - Object.defineProperties(obj, reducedDescriptors); -}; - -/** - * Makes all methods read-only - * @param {Object} obj - */ - -const freezeMethods = (obj) => { - reduceDescriptors(obj, (descriptor, name) => { - // skip restricted props in strict mode - if (isFunction$1(obj) && ['arguments', 'caller', 'callee'].includes(name)) { - return false; - } - - const value = obj[name]; - - if (!isFunction$1(value)) return; - - descriptor.enumerable = false; - - if ('writable' in descriptor) { - descriptor.writable = false; - return; - } - - if (!descriptor.set) { - descriptor.set = () => { - throw Error("Can not rewrite read-only method '" + name + "'"); - }; - } - }); -}; - -/** - * Converts an array or a delimited string into an object set with values as keys and true as values. - * Useful for fast membership checks. - * - * @param {Array|string} arrayOrString - The array or string to convert. - * @param {string} delimiter - The delimiter to use if input is a string. - * @returns {Object} An object with keys from the array or string, values set to true. - */ -const toObjectSet = (arrayOrString, delimiter) => { - const obj = {}; - - const define = (arr) => { - arr.forEach((value) => { - obj[value] = true; - }); - }; - - isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter)); - - return obj; -}; - -const noop = () => {}; - -const toFiniteNumber = (value, defaultValue) => { - return value != null && Number.isFinite((value = +value)) ? value : defaultValue; -}; - -/** - * If the thing is a FormData object, return true, otherwise return false. - * - * @param {unknown} thing - The thing to check. - * - * @returns {boolean} - */ -function isSpecCompliantForm(thing) { - return !!( - thing && - isFunction$1(thing.append) && - thing[toStringTag] === 'FormData' && - thing[iterator] - ); -} - -/** - * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers. - * - * @param {Object} obj - The object to convert. - * @returns {Object} The JSON-compatible object. - */ -const toJSONObject = (obj) => { - const visited = new WeakSet(); - - const visit = (source) => { - if (isObject(source)) { - if (visited.has(source)) { - return; - } - - //Buffer check - if (isBuffer(source)) { - return source; - } - - if (!('toJSON' in source)) { - // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230). - visited.add(source); - const target = isArray(source) ? [] : {}; - - forEach(source, (value, key) => { - const reducedValue = visit(value); - !isUndefined(reducedValue) && (target[key] = reducedValue); - }); - - visited.delete(source); - - return target; - } - } - - return source; - }; - - return visit(obj); -}; - -/** - * Determines if a value is an async function. - * - * @param {*} thing - The value to test. - * @returns {boolean} True if value is an async function, otherwise false. - */ -const isAsyncFn = kindOfTest('AsyncFunction'); - -/** - * Determines if a value is thenable (has then and catch methods). - * - * @param {*} thing - The value to test. - * @returns {boolean} True if value is thenable, otherwise false. - */ -const isThenable = (thing) => - thing && - (isObject(thing) || isFunction$1(thing)) && - isFunction$1(thing.then) && - isFunction$1(thing.catch); - -// original code -// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34 - -/** - * Provides a cross-platform setImmediate implementation. - * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout. - * - * @param {boolean} setImmediateSupported - Whether setImmediate is supported. - * @param {boolean} postMessageSupported - Whether postMessage is supported. - * @returns {Function} A function to schedule a callback asynchronously. - */ -const _setImmediate = ((setImmediateSupported, postMessageSupported) => { - if (setImmediateSupported) { - return setImmediate; - } - - return postMessageSupported - ? ((token, callbacks) => { - _global.addEventListener( - 'message', - ({ source, data }) => { - if (source === _global && data === token) { - callbacks.length && callbacks.shift()(); - } - }, - false - ); - - return (cb) => { - callbacks.push(cb); - _global.postMessage(token, '*'); - }; - })(`axios@${Math.random()}`, []) - : (cb) => setTimeout(cb); -})(typeof setImmediate === 'function', isFunction$1(_global.postMessage)); - -/** - * Schedules a microtask or asynchronous callback as soon as possible. - * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate. - * - * @type {Function} - */ -const asap = - typeof queueMicrotask !== 'undefined' - ? queueMicrotask.bind(_global) - : (typeof process !== 'undefined' && process.nextTick) || _setImmediate; - -// ********************* - -const isIterable = (thing) => thing != null && isFunction$1(thing[iterator]); - -/** - * Determine if a value is iterable via an iterator that is NOT sourced solely - * from a polluted Object.prototype. Use this instead of `isIterable` whenever - * the iterable comes from untrusted input (e.g. user-supplied header sources), - * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object - * into an attacker-controlled entries iterator. - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value has a non-polluted iterator - */ -const isSafeIterable = (thing) => - thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing); - -var utils$1 = { - isArray, - isArrayBuffer, - isBuffer, - isFormData, - isArrayBufferView, - isString, - isNumber, - isBoolean, - isObject, - isPlainObject, - isEmptyObject, - isReadableStream, - isRequest, - isResponse, - isHeaders, - isUndefined, - isDate, - isFile, - isReactNativeBlob, - isReactNative, - isBlob, - isRegExp, - isFunction: isFunction$1, - isStream, - isURLSearchParams, - isTypedArray, - isFileList, - forEach, - merge, - extend, - trim, - stripBOM, - inherits, - toFlatObject, - kindOf, - kindOfTest, - endsWith, - toArray, - forEachEntry, - matchAll, - isHTMLForm, - hasOwnProperty, - hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection - hasOwnInPrototypeChain, - getSafeProp, - reduceDescriptors, - freezeMethods, - toObjectSet, - toCamelCase, - noop, - toFiniteNumber, - findKey, - global: _global, - isContextDefined, - isSpecCompliantForm, - toJSONObject, - isAsyncFn, - isThenable, - setImmediate: _setImmediate, - asap, - isIterable, - isSafeIterable, -}; - -// RawAxiosHeaders whose duplicates are ignored by node -// c.f. https://nodejs.org/api/http.html#http_message_headers -const ignoreDuplicateOf = utils$1.toObjectSet([ - 'age', - 'authorization', - 'content-length', - 'content-type', - 'etag', - 'expires', - 'from', - 'host', - 'if-modified-since', - 'if-unmodified-since', - 'last-modified', - 'location', - 'max-forwards', - 'proxy-authorization', - 'referer', - 'retry-after', - 'user-agent', -]); - -/** - * Parse headers into an object - * - * ``` - * Date: Wed, 27 Aug 2014 08:58:49 GMT - * Content-Type: application/json - * Connection: keep-alive - * Transfer-Encoding: chunked - * ``` - * - * @param {String} rawHeaders Headers needing to be parsed - * - * @returns {Object} Headers parsed into an object - */ -var parseHeaders = (rawHeaders) => { - const parsed = {}; - let key; - let val; - let i; - - rawHeaders && - rawHeaders.split('\n').forEach(function parser(line) { - i = line.indexOf(':'); - key = line.substring(0, i).trim().toLowerCase(); - val = line.substring(i + 1).trim(); - - if (!key || (parsed[key] && ignoreDuplicateOf[key])) { - return; - } - - if (key === 'set-cookie') { - if (parsed[key]) { - parsed[key].push(val); - } else { - parsed[key] = [val]; - } - } else { - parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val; - } - }); - - return parsed; -}; - -function trimSPorHTAB(str) { - let start = 0; - let end = str.length; - - while (start < end) { - const code = str.charCodeAt(start); - - if (code !== 0x09 && code !== 0x20) { - break; - } - - start += 1; - } - - while (end > start) { - const code = str.charCodeAt(end - 1); - - if (code !== 0x09 && code !== 0x20) { - break; - } - - end -= 1; - } - - return start === 0 && end === str.length ? str : str.slice(start, end); -} - -// The control-code ranges are intentional: header sanitization strips C0/DEL bytes. -// eslint-disable-next-line no-control-regex -const INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+', 'g'); -// eslint-disable-next-line no-control-regex -const INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+', 'g'); - -function sanitizeValue(value, invalidChars) { - if (utils$1.isArray(value)) { - return value.map((item) => sanitizeValue(item, invalidChars)); - } - - return trimSPorHTAB(String(value).replace(invalidChars, '')); -} - -const sanitizeHeaderValue = (value) => - sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS); - -const sanitizeByteStringHeaderValue = (value) => - sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS); - -function toByteStringHeaderObject(headers) { - const byteStringHeaders = Object.create(null); - - utils$1.forEach(headers.toJSON(), (value, header) => { - byteStringHeaders[header] = sanitizeByteStringHeaderValue(value); - }); - - return byteStringHeaders; -} - -const $internals = Symbol('internals'); - -function normalizeHeader(header) { - return header && String(header).trim().toLowerCase(); -} - -function normalizeValue(value) { - if (value === false || value == null) { - return value; - } - - return utils$1.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value)); -} - -function parseTokens(str) { - const tokens = Object.create(null); - const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; - let match; - - while ((match = tokensRE.exec(str))) { - tokens[match[1]] = match[2]; - } - - return tokens; -} - -const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim()); - -function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) { - if (utils$1.isFunction(filter)) { - return filter.call(this, value, header); - } - - if (isHeaderNameFilter) { - value = header; - } - - if (!utils$1.isString(value)) return; - - if (utils$1.isString(filter)) { - return value.indexOf(filter) !== -1; - } - - if (utils$1.isRegExp(filter)) { - return filter.test(value); - } -} - -function formatHeader(header) { - return header - .trim() - .toLowerCase() - .replace(/([a-z\d])(\w*)/g, (w, char, str) => { - return char.toUpperCase() + str; - }); -} - -function buildAccessors(obj, header) { - const accessorName = utils$1.toCamelCase(' ' + header); - - ['get', 'set', 'has'].forEach((methodName) => { - Object.defineProperty(obj, methodName + accessorName, { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: function (arg1, arg2, arg3) { - return this[methodName].call(this, header, arg1, arg2, arg3); - }, - configurable: true, - }); - }); -} - -let AxiosHeaders$1 = class AxiosHeaders { - constructor(headers) { - headers && this.set(headers); - } - - set(header, valueOrRewrite, rewrite) { - const self = this; - - function setHeader(_value, _header, _rewrite) { - const lHeader = normalizeHeader(_header); - - if (!lHeader) { - return; - } - - const key = utils$1.findKey(self, lHeader); - - if ( - !key || - self[key] === undefined || - _rewrite === true || - (_rewrite === undefined && self[key] !== false) - ) { - self[key || _header] = normalizeValue(_value); - } - } - - const setHeaders = (headers, _rewrite) => - utils$1.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite)); - - if (utils$1.isPlainObject(header) || header instanceof this.constructor) { - setHeaders(header, valueOrRewrite); - } else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) { - setHeaders(parseHeaders(header), valueOrRewrite); - } else if (utils$1.isObject(header) && utils$1.isSafeIterable(header)) { - let obj = Object.create(null), - dest, - key; - for (const entry of header) { - if (!utils$1.isArray(entry)) { - throw new TypeError('Object iterator must return a key-value pair'); - } - - key = entry[0]; - - if (utils$1.hasOwnProp(obj, key)) { - dest = obj[key]; - obj[key] = utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]; - } else { - obj[key] = entry[1]; - } - } - - setHeaders(obj, valueOrRewrite); - } else { - header != null && setHeader(valueOrRewrite, header, rewrite); - } - - return this; - } - - get(header, parser) { - header = normalizeHeader(header); - - if (header) { - const key = utils$1.findKey(this, header); - - if (key) { - const value = this[key]; - - if (!parser) { - return value; - } - - if (parser === true) { - return parseTokens(value); - } - - if (utils$1.isFunction(parser)) { - return parser.call(this, value, key); - } - - if (utils$1.isRegExp(parser)) { - return parser.exec(value); - } - - throw new TypeError('parser must be boolean|regexp|function'); - } - } - } - - has(header, matcher) { - header = normalizeHeader(header); - - if (header) { - const key = utils$1.findKey(this, header); - - return !!( - key && - this[key] !== undefined && - (!matcher || matchHeaderValue(this, this[key], key, matcher)) - ); - } - - return false; - } - - delete(header, matcher) { - const self = this; - let deleted = false; - - function deleteHeader(_header) { - _header = normalizeHeader(_header); - - if (_header) { - const key = utils$1.findKey(self, _header); - - if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) { - delete self[key]; - - deleted = true; - } - } - } - - if (utils$1.isArray(header)) { - header.forEach(deleteHeader); - } else { - deleteHeader(header); - } - - return deleted; - } - - clear(matcher) { - const keys = Object.keys(this); - let i = keys.length; - let deleted = false; - - while (i--) { - const key = keys[i]; - if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) { - delete this[key]; - deleted = true; - } - } - - return deleted; - } - - normalize(format) { - const self = this; - const headers = {}; - - utils$1.forEach(this, (value, header) => { - const key = utils$1.findKey(headers, header); - - if (key) { - self[key] = normalizeValue(value); - delete self[header]; - return; - } - - const normalized = format ? formatHeader(header) : String(header).trim(); - - if (normalized !== header) { - delete self[header]; - } - - self[normalized] = normalizeValue(value); - - headers[normalized] = true; - }); - - return this; - } - - concat(...targets) { - return this.constructor.concat(this, ...targets); - } - - toJSON(asStrings) { - const obj = Object.create(null); - - utils$1.forEach(this, (value, header) => { - value != null && - value !== false && - (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value); - }); - - return obj; - } - - [Symbol.iterator]() { - return Object.entries(this.toJSON())[Symbol.iterator](); - } - - toString() { - return Object.entries(this.toJSON()) - .map(([header, value]) => header + ': ' + value) - .join('\n'); - } - - getSetCookie() { - return this.get('set-cookie') || []; - } - - get [Symbol.toStringTag]() { - return 'AxiosHeaders'; - } - - static from(thing) { - return thing instanceof this ? thing : new this(thing); - } - - static concat(first, ...targets) { - const computed = new this(first); - - targets.forEach((target) => computed.set(target)); - - return computed; - } - - static accessor(header) { - const internals = - (this[$internals] = - this[$internals] = - { - accessors: {}, - }); - - const accessors = internals.accessors; - const prototype = this.prototype; - - function defineAccessor(_header) { - const lHeader = normalizeHeader(_header); - - if (!accessors[lHeader]) { - buildAccessors(prototype, _header); - accessors[lHeader] = true; - } - } - - utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header); - - return this; - } -}; - -AxiosHeaders$1.accessor([ - 'Content-Type', - 'Content-Length', - 'Accept', - 'Accept-Encoding', - 'User-Agent', - 'Authorization', -]); - -// reserved names hotfix -utils$1.reduceDescriptors(AxiosHeaders$1.prototype, ({ value }, key) => { - let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set` - return { - get: () => value, - set(headerValue) { - this[mapped] = headerValue; - }, - }; -}); - -utils$1.freezeMethods(AxiosHeaders$1); - -const REDACTED = '[REDACTED ****]'; - -function hasOwnOrPrototypeToJSON(source) { - if (utils$1.hasOwnProp(source, 'toJSON')) { - return true; - } - - let prototype = Object.getPrototypeOf(source); - - while (prototype && prototype !== Object.prototype) { - if (utils$1.hasOwnProp(prototype, 'toJSON')) { - return true; - } - - prototype = Object.getPrototypeOf(prototype); - } - - return false; -} - -// Build a plain-object snapshot of `config` and replace the value of any key -// (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays -// and AxiosHeaders, and short-circuits on circular references. -function redactConfig(config, redactKeys) { - const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase())); - const seen = []; - - const visit = (source) => { - if (source === null || typeof source !== 'object') return source; - if (utils$1.isBuffer(source)) return source; - if (seen.indexOf(source) !== -1) return undefined; - - if (source instanceof AxiosHeaders$1) { - source = source.toJSON(); - } - - seen.push(source); - - let result; - if (utils$1.isArray(source)) { - result = []; - source.forEach((v, i) => { - const reducedValue = visit(v); - if (!utils$1.isUndefined(reducedValue)) { - result[i] = reducedValue; - } - }); - } else { - if (!utils$1.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) { - seen.pop(); - return source; - } - - result = Object.create(null); - for (const [key, value] of Object.entries(source)) { - const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value); - if (!utils$1.isUndefined(reducedValue)) { - result[key] = reducedValue; - } - } - } - - seen.pop(); - return result; - }; - - return visit(config); -} - -let AxiosError$1 = class AxiosError extends Error { - static from(error, code, config, request, response, customProps) { - const axiosError = new AxiosError(error.message, code || error.code, config, request, response); - // Match native `Error` `cause` semantics: non-enumerable. The wrapped - // error often carries circular internals (sockets, requests, agents), so - // an enumerable `cause` makes structured loggers (pino/winston) and any - // own-property walk throw "Converting circular structure to JSON". - // Regression from #6982; see #7205. `__proto__: null` mirrors the - // `message` descriptor below (prototype-pollution-safe descriptor). - Object.defineProperty(axiosError, 'cause', { - __proto__: null, - value: error, - writable: true, - enumerable: false, - configurable: true, - }); - axiosError.name = error.name; - - // Preserve status from the original error if not already set from response - if (error.status != null && axiosError.status == null) { - axiosError.status = error.status; - } - - customProps && Object.assign(axiosError, customProps); - return axiosError; - } - - /** - * Create an Error with the specified message, config, error code, request and response. - * - * @param {string} message The error message. - * @param {string} [code] The error code (for example, 'ECONNABORTED'). - * @param {Object} [config] The config. - * @param {Object} [request] The request. - * @param {Object} [response] The response. - * - * @returns {Error} The created error. - */ - constructor(message, code, config, request, response) { - super(message); - - // Make message enumerable to maintain backward compatibility - // The native Error constructor sets message as non-enumerable, - // but axios < v1.13.3 had it as enumerable - Object.defineProperty(this, 'message', { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: message, - enumerable: true, - writable: true, - configurable: true, - }); - - this.name = 'AxiosError'; - this.isAxiosError = true; - code && (this.code = code); - config && (this.config = config); - request && (this.request = request); - if (response) { - this.response = response; - this.status = response.status; - } - } - - toJSON() { - // Opt-in redaction: when the request config carries a `redact` array, the - // value of any matching key (case-insensitive, at any depth) is replaced - // with REDACTED in the serialized snapshot. Undefined or empty leaves the - // existing serialization behavior unchanged. - const config = this.config; - const redactKeys = config && utils$1.hasOwnProp(config, 'redact') ? config.redact : undefined; - const serializedConfig = - utils$1.isArray(redactKeys) && redactKeys.length > 0 - ? redactConfig(config, redactKeys) - : utils$1.toJSONObject(config); - - return { - // Standard - message: this.message, - name: this.name, - // Microsoft - description: this.description, - number: this.number, - // Mozilla - fileName: this.fileName, - lineNumber: this.lineNumber, - columnNumber: this.columnNumber, - stack: this.stack, - // Axios - config: serializedConfig, - code: this.code, - status: this.status, - }; - } -}; - -// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated. -AxiosError$1.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE'; -AxiosError$1.ERR_BAD_OPTION = 'ERR_BAD_OPTION'; -AxiosError$1.ECONNABORTED = 'ECONNABORTED'; -AxiosError$1.ETIMEDOUT = 'ETIMEDOUT'; -AxiosError$1.ECONNREFUSED = 'ECONNREFUSED'; -AxiosError$1.ERR_NETWORK = 'ERR_NETWORK'; -AxiosError$1.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS'; -AxiosError$1.ERR_DEPRECATED = 'ERR_DEPRECATED'; -AxiosError$1.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE'; -AxiosError$1.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST'; -AxiosError$1.ERR_CANCELED = 'ERR_CANCELED'; -AxiosError$1.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT'; -AxiosError$1.ERR_INVALID_URL = 'ERR_INVALID_URL'; -AxiosError$1.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED'; - -// eslint-disable-next-line strict -var httpAdapter = null; - -// Default nesting limit shared with the inverse transform (formDataToJSON) so -// the FormData <-> JSON round-trip stays symmetric. -const DEFAULT_FORM_DATA_MAX_DEPTH = 100; - -/** - * Determines if the given thing is a array or js object. - * - * @param {string} thing - The object or array to be visited. - * - * @returns {boolean} - */ -function isVisitable(thing) { - return utils$1.isPlainObject(thing) || utils$1.isArray(thing); -} - -/** - * It removes the brackets from the end of a string - * - * @param {string} key - The key of the parameter. - * - * @returns {string} the key without the brackets. - */ -function removeBrackets(key) { - return utils$1.endsWith(key, '[]') ? key.slice(0, -2) : key; -} - -/** - * It takes a path, a key, and a boolean, and returns a string - * - * @param {string} path - The path to the current key. - * @param {string} key - The key of the current object being iterated over. - * @param {string} dots - If true, the key will be rendered with dots instead of brackets. - * - * @returns {string} The path to the current key. - */ -function renderKey(path, key, dots) { - if (!path) return key; - return path - .concat(key) - .map(function each(token, i) { - // eslint-disable-next-line no-param-reassign - token = removeBrackets(token); - return !dots && i ? '[' + token + ']' : token; - }) - .join(dots ? '.' : ''); -} - -/** - * If the array is an array and none of its elements are visitable, then it's a flat array. - * - * @param {Array} arr - The array to check - * - * @returns {boolean} - */ -function isFlatArray(arr) { - return utils$1.isArray(arr) && !arr.some(isVisitable); -} - -const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) { - return /^is[A-Z]/.test(prop); -}); - -/** - * Convert a data object to FormData - * - * @param {Object} obj - * @param {?Object} [formData] - * @param {?Object} [options] - * @param {Function} [options.visitor] - * @param {Boolean} [options.metaTokens = true] - * @param {Boolean} [options.dots = false] - * @param {?Boolean} [options.indexes = false] - * - * @returns {Object} - **/ - -/** - * It converts an object into a FormData object - * - * @param {Object} obj - The object to convert to form data. - * @param {string} formData - The FormData object to append to. - * @param {Object} options - * - * @returns - */ -function toFormData$1(obj, formData, options) { - if (!utils$1.isObject(obj)) { - throw new TypeError('target must be an object'); - } - - // eslint-disable-next-line no-param-reassign - formData = formData || new (FormData)(); - - // eslint-disable-next-line no-param-reassign - options = utils$1.toFlatObject( - options, - { - metaTokens: true, - dots: false, - indexes: false, - }, - false, - function defined(option, source) { - // eslint-disable-next-line no-eq-null,eqeqeq - return !utils$1.isUndefined(source[option]); - } - ); - - const metaTokens = options.metaTokens; - // eslint-disable-next-line no-use-before-define - const visitor = options.visitor || defaultVisitor; - const dots = options.dots; - const indexes = options.indexes; - const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob); - const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth; - const useBlob = _Blob && utils$1.isSpecCompliantForm(formData); - const stack = []; - - if (!utils$1.isFunction(visitor)) { - throw new TypeError('visitor must be a function'); - } - - function convertValue(value) { - if (value === null) return ''; - - if (utils$1.isDate(value)) { - return value.toISOString(); - } - - if (utils$1.isBoolean(value)) { - return value.toString(); - } - - if (!useBlob && utils$1.isBlob(value)) { - throw new AxiosError$1('Blob is not supported. Use a Buffer instead.'); - } - - if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) { - if (useBlob && typeof _Blob === 'function') { - return new _Blob([value]); - } - if (typeof Buffer !== 'undefined') { - return Buffer.from(value); - } - throw new AxiosError$1('Blob is not supported. Use a Buffer instead.', AxiosError$1.ERR_NOT_SUPPORT); - } - - return value; - } - - function throwIfMaxDepthExceeded(depth) { - if (depth > maxDepth) { - throw new AxiosError$1( - 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth, - AxiosError$1.ERR_FORM_DATA_DEPTH_EXCEEDED - ); - } - } - - function stringifyWithDepthLimit(value, depth) { - if (maxDepth === Infinity) { - return JSON.stringify(value); - } - - const ancestors = []; - - return JSON.stringify(value, function limitDepth(_key, currentValue) { - if (!utils$1.isObject(currentValue)) { - return currentValue; - } - - while (ancestors.length && ancestors[ancestors.length - 1] !== this) { - ancestors.pop(); - } - - ancestors.push(currentValue); - throwIfMaxDepthExceeded(depth + ancestors.length - 1); - - return currentValue; - }); - } - - /** - * Default visitor. - * - * @param {*} value - * @param {String|Number} key - * @param {Array} path - * @this {FormData} - * - * @returns {boolean} return true to visit the each prop of the value recursively - */ - function defaultVisitor(value, key, path) { - let arr = value; - - if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) { - formData.append(renderKey(path, key, dots), convertValue(value)); - return false; - } - - if (value && !path && typeof value === 'object') { - if (utils$1.endsWith(key, '{}')) { - // eslint-disable-next-line no-param-reassign - key = metaTokens ? key : key.slice(0, -2); - // eslint-disable-next-line no-param-reassign - value = stringifyWithDepthLimit(value, 1); - } else if ( - (utils$1.isArray(value) && isFlatArray(value)) || - ((utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))) - ) { - // eslint-disable-next-line no-param-reassign - key = removeBrackets(key); - - arr.forEach(function each(el, index) { - !(utils$1.isUndefined(el) || el === null) && - formData.append( - // eslint-disable-next-line no-nested-ternary - indexes === true - ? renderKey([key], index, dots) - : indexes === null - ? key - : key + '[]', - convertValue(el) - ); - }); - return false; - } - } - - if (isVisitable(value)) { - return true; - } - - formData.append(renderKey(path, key, dots), convertValue(value)); - - return false; - } - - const exposedHelpers = Object.assign(predicates, { - defaultVisitor, - convertValue, - isVisitable, - }); - - function build(value, path, depth = 0) { - if (utils$1.isUndefined(value)) return; - - throwIfMaxDepthExceeded(depth); - - if (stack.indexOf(value) !== -1) { - throw new Error('Circular reference detected in ' + path.join('.')); - } - - stack.push(value); - - utils$1.forEach(value, function each(el, key) { - const result = - !(utils$1.isUndefined(el) || el === null) && - visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers); - - if (result === true) { - build(el, path ? path.concat(key) : [key], depth + 1); - } - }); - - stack.pop(); - } - - if (!utils$1.isObject(obj)) { - throw new TypeError('data must be an object'); - } - - build(obj); - - return formData; -} - -/** - * It encodes a string by replacing all characters that are not in the unreserved set with - * their percent-encoded equivalents - * - * @param {string} str - The string to encode. - * - * @returns {string} The encoded string. - */ -function encode$1(str) { - const charMap = { - '!': '%21', - "'": '%27', - '(': '%28', - ')': '%29', - '~': '%7E', - '%20': '+', - }; - return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) { - return charMap[match]; - }); -} - -/** - * It takes a params object and converts it to a FormData object - * - * @param {Object} params - The parameters to be converted to a FormData object. - * @param {Object} options - The options object passed to the Axios constructor. - * - * @returns {void} - */ -function AxiosURLSearchParams(params, options) { - this._pairs = []; - - params && toFormData$1(params, this, options); -} - -const prototype = AxiosURLSearchParams.prototype; - -prototype.append = function append(name, value) { - this._pairs.push([name, value]); -}; - -prototype.toString = function toString(encoder) { - const _encode = encoder - ? (value) => encoder.call(this, value, encode$1) - : encode$1; - - return this._pairs - .map(function each(pair) { - return _encode(pair[0]) + '=' + _encode(pair[1]); - }, '') - .join('&'); -}; - -/** - * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with - * their plain counterparts (`:`, `$`, `,`, `+`). - * - * @param {string} val The value to be encoded. - * - * @returns {string} The encoded value. - */ -function encode(val) { - return encodeURIComponent(val) - .replace(/%3A/gi, ':') - .replace(/%24/g, '$') - .replace(/%2C/gi, ',') - .replace(/%20/g, '+'); -} - -/** - * Build a URL by appending params to the end - * - * @param {string} url The base of the url (e.g., http://www.google.com) - * @param {object} [params] The params to be appended - * @param {?(object|Function)} options - * - * @returns {string} The formatted url - */ -function buildURL(url, params, options) { - if (!params) { - return url; - } - url = url || ''; - - const _options = utils$1.isFunction(options) - ? { - serialize: options, - } - : options; - - // Read serializer options pollution-safely: own properties and methods on a - // class/template prototype are honored, but values injected onto a polluted - // Object.prototype are ignored. - const _encode = utils$1.getSafeProp(_options, 'encode') || encode; - const serializeFn = utils$1.getSafeProp(_options, 'serialize'); - - let serializedParams; - - if (serializeFn) { - serializedParams = serializeFn(params, _options); - } else { - serializedParams = utils$1.isURLSearchParams(params) - ? params.toString() - : new AxiosURLSearchParams(params, _options).toString(_encode); - } - - if (serializedParams) { - const hashmarkIndex = url.indexOf('#'); - - if (hashmarkIndex !== -1) { - url = url.slice(0, hashmarkIndex); - } - url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams; - } - - return url; -} - -class InterceptorManager { - constructor() { - this.handlers = []; - } - - /** - * Add a new interceptor to the stack - * - * @param {Function} fulfilled The function to handle `then` for a `Promise` - * @param {Function} rejected The function to handle `reject` for a `Promise` - * @param {Object} options The options for the interceptor, synchronous and runWhen - * - * @return {Number} An ID used to remove interceptor later - */ - use(fulfilled, rejected, options) { - this.handlers.push({ - fulfilled, - rejected, - synchronous: options ? options.synchronous : false, - runWhen: options ? options.runWhen : null, - }); - return this.handlers.length - 1; - } - - /** - * Remove an interceptor from the stack - * - * @param {Number} id The ID that was returned by `use` - * - * @returns {void} - */ - eject(id) { - if (this.handlers[id]) { - this.handlers[id] = null; - } - } - - /** - * Clear all interceptors from the stack - * - * @returns {void} - */ - clear() { - if (this.handlers) { - this.handlers = []; - } - } - - /** - * Iterate over all the registered interceptors - * - * This method is particularly useful for skipping over any - * interceptors that may have become `null` calling `eject`. - * - * @param {Function} fn The function to call for each interceptor - * - * @returns {void} - */ - forEach(fn) { - utils$1.forEach(this.handlers, function forEachHandler(h) { - if (h !== null) { - fn(h); - } - }); - } -} - -var transitionalDefaults = { - silentJSONParsing: true, - forcedJSONParsing: true, - clarifyTimeoutError: false, - legacyInterceptorReqResOrdering: true, - advertiseZstdAcceptEncoding: false, - validateStatusUndefinedResolves: true, -}; - -var URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams; - -var FormData$1 = typeof FormData !== 'undefined' ? FormData : null; - -var Blob$1 = typeof Blob !== 'undefined' ? Blob : null; - -var platform$1 = { - isBrowser: true, - classes: { - URLSearchParams: URLSearchParams$1, - FormData: FormData$1, - Blob: Blob$1, - }, - protocols: ['http', 'https', 'file', 'blob', 'url', 'data'], -}; - -const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined'; - -const _navigator = (typeof navigator === 'object' && navigator) || undefined; - -/** - * Determine if we're running in a standard browser environment - * - * This allows axios to run in a web worker, and react-native. - * Both environments support XMLHttpRequest, but not fully standard globals. - * - * web workers: - * typeof window -> undefined - * typeof document -> undefined - * - * react-native: - * navigator.product -> 'ReactNative' - * nativescript - * navigator.product -> 'NativeScript' or 'NS' - * - * @returns {boolean} - */ -const hasStandardBrowserEnv = - hasBrowserEnv && - (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0); - -/** - * Determine if we're running in a standard browser webWorker environment - * - * Although the `isStandardBrowserEnv` method indicates that - * `allows axios to run in a web worker`, the WebWorker will still be - * filtered out due to its judgment standard - * `typeof window !== 'undefined' && typeof document !== 'undefined'`. - * This leads to a problem when axios post `FormData` in webWorker - */ -const hasStandardBrowserWebWorkerEnv = (() => { - return ( - typeof WorkerGlobalScope !== 'undefined' && - // eslint-disable-next-line no-undef - self instanceof WorkerGlobalScope && - typeof self.importScripts === 'function' - ); -})(); - -const origin = (hasBrowserEnv && window.location.href) || 'http://localhost'; - -var utils = /*#__PURE__*/Object.freeze({ - __proto__: null, - hasBrowserEnv: hasBrowserEnv, - hasStandardBrowserEnv: hasStandardBrowserEnv, - hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv, - navigator: _navigator, - origin: origin -}); - -var platform = { - ...utils, - ...platform$1, -}; - -function toURLEncodedForm(data, options) { - return toFormData$1(data, new platform.classes.URLSearchParams(), { - visitor: function (value, key, path, helpers) { - if (platform.isNode && utils$1.isBuffer(value)) { - this.append(key, value.toString('base64')); - return false; - } - - return helpers.defaultVisitor.apply(this, arguments); - }, - ...options, - }); -} - -const MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH; - -function throwIfDepthExceeded(index) { - if (index > MAX_DEPTH) { - throw new AxiosError$1( - 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH, - AxiosError$1.ERR_FORM_DATA_DEPTH_EXCEEDED - ); - } -} - -/** - * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z'] - * - * @param {string} name - The name of the property to get. - * - * @returns An array of strings. - */ -function parsePropPath(name) { - // foo[x][y][z] - // foo.x.y.z - // foo-x-y-z - // foo x y z - const path = []; - const pattern = /\w+|\[(\w*)]/g; - let match; - - while ((match = pattern.exec(name)) !== null) { - throwIfDepthExceeded(path.length); - path.push(match[0] === '[]' ? '' : match[1] || match[0]); - } - - return path; -} - -/** - * Convert an array to an object. - * - * @param {Array} arr - The array to convert to an object. - * - * @returns An object with the same keys and values as the array. - */ -function arrayToObject(arr) { - const obj = {}; - const keys = Object.keys(arr); - let i; - const len = keys.length; - let key; - for (i = 0; i < len; i++) { - key = keys[i]; - obj[key] = arr[key]; - } - return obj; -} - -/** - * It takes a FormData object and returns a JavaScript object - * - * @param {string} formData The FormData object to convert to JSON. - * - * @returns {Object | null} The converted object. - */ -function formDataToJSON(formData) { - function buildPath(path, value, target, index) { - throwIfDepthExceeded(index); - - let name = path[index++]; - - if (name === '__proto__') return true; - - const isNumericKey = Number.isFinite(+name); - const isLast = index >= path.length; - name = !name && utils$1.isArray(target) ? target.length : name; - - if (isLast) { - if (utils$1.hasOwnProp(target, name)) { - target[name] = utils$1.isArray(target[name]) - ? target[name].concat(value) - : [target[name], value]; - } else { - target[name] = value; - } - - return !isNumericKey; - } - - if (!utils$1.hasOwnProp(target, name) || !utils$1.isObject(target[name])) { - target[name] = []; - } - - const result = buildPath(path, value, target[name], index); - - if (result && utils$1.isArray(target[name])) { - target[name] = arrayToObject(target[name]); - } - - return !isNumericKey; - } - - if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) { - const obj = {}; - - utils$1.forEachEntry(formData, (name, value) => { - buildPath(parsePropPath(name), value, obj, 0); - }); - - return obj; - } - - return null; -} - -const own = (obj, key) => (obj != null && utils$1.hasOwnProp(obj, key) ? obj[key] : undefined); - -/** - * It takes a string, tries to parse it, and if it fails, it returns the stringified version - * of the input - * - * @param {any} rawValue - The value to be stringified. - * @param {Function} parser - A function that parses a string into a JavaScript object. - * @param {Function} encoder - A function that takes a value and returns a string. - * - * @returns {string} A stringified version of the rawValue. - */ -function stringifySafely(rawValue, parser, encoder) { - if (utils$1.isString(rawValue)) { - try { - (parser || JSON.parse)(rawValue); - return utils$1.trim(rawValue); - } catch (e) { - if (e.name !== 'SyntaxError') { - throw e; - } - } - } - - return (encoder || JSON.stringify)(rawValue); -} - -const defaults = { - transitional: transitionalDefaults, - - adapter: ['xhr', 'http', 'fetch'], - - transformRequest: [ - function transformRequest(data, headers) { - const contentType = headers.getContentType() || ''; - const hasJSONContentType = contentType.indexOf('application/json') > -1; - const isObjectPayload = utils$1.isObject(data); - - if (isObjectPayload && utils$1.isHTMLForm(data)) { - data = new FormData(data); - } - - const isFormData = utils$1.isFormData(data); - - if (isFormData) { - return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data; - } - - if ( - utils$1.isArrayBuffer(data) || - utils$1.isBuffer(data) || - utils$1.isStream(data) || - utils$1.isFile(data) || - utils$1.isBlob(data) || - utils$1.isReadableStream(data) - ) { - return data; - } - if (utils$1.isArrayBufferView(data)) { - return data.buffer; - } - if (utils$1.isURLSearchParams(data)) { - headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false); - return data.toString(); - } - - let isFileList; - - if (isObjectPayload) { - const formSerializer = own(this, 'formSerializer'); - if (contentType.indexOf('application/x-www-form-urlencoded') > -1) { - return toURLEncodedForm(data, formSerializer).toString(); - } - - if ( - (isFileList = utils$1.isFileList(data)) || - contentType.indexOf('multipart/form-data') > -1 - ) { - const env = own(this, 'env'); - const _FormData = env && env.FormData; - - return toFormData$1( - isFileList ? { 'files[]': data } : data, - _FormData && new _FormData(), - formSerializer - ); - } - } - - if (isObjectPayload || hasJSONContentType) { - headers.setContentType('application/json', false); - return stringifySafely(data); - } - - return data; - }, - ], - - transformResponse: [ - function transformResponse(data) { - const transitional = own(this, 'transitional') || defaults.transitional; - const forcedJSONParsing = transitional && transitional.forcedJSONParsing; - const responseType = own(this, 'responseType'); - const JSONRequested = responseType === 'json'; - - if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) { - return data; - } - - if ( - data && - utils$1.isString(data) && - ((forcedJSONParsing && !responseType) || JSONRequested) - ) { - const silentJSONParsing = transitional && transitional.silentJSONParsing; - const strictJSONParsing = !silentJSONParsing && JSONRequested; - - try { - return JSON.parse(data, own(this, 'parseReviver')); - } catch (e) { - if (strictJSONParsing) { - if (e.name === 'SyntaxError') { - throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, own(this, 'response')); - } - throw e; - } - } - } - - return data; - }, - ], - - /** - * A timeout in milliseconds to abort a request. If set to 0 (default) a - * timeout is not created. - */ - timeout: 0, - - xsrfCookieName: 'XSRF-TOKEN', - xsrfHeaderName: 'X-XSRF-TOKEN', - - maxContentLength: -1, - maxBodyLength: -1, - - env: { - FormData: platform.classes.FormData, - Blob: platform.classes.Blob, - }, - - validateStatus: function validateStatus(status) { - return status >= 200 && status < 300; - }, - - headers: { - common: { - Accept: 'application/json, text/plain, */*', - 'Content-Type': undefined, - }, - }, -}; - -utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => { - defaults.headers[method] = {}; -}); - -/** - * Transform the data for a request or a response - * - * @param {Array|Function} fns A single function or Array of functions - * @param {?Object} response The response object - * - * @returns {*} The resulting transformed data - */ -function transformData(fns, response) { - const config = this || defaults; - const context = response || config; - const headers = AxiosHeaders$1.from(context.headers); - let data = context.data; - - utils$1.forEach(fns, function transform(fn) { - data = fn.call(config, data, headers.normalize(), response ? response.status : undefined); - }); - - headers.normalize(); - - return data; -} - -function isCancel$1(value) { - return !!(value && value.__CANCEL__); -} - -let CanceledError$1 = class CanceledError extends AxiosError$1 { - /** - * A `CanceledError` is an object that is thrown when an operation is canceled. - * - * @param {string=} message The message. - * @param {Object=} config The config. - * @param {Object=} request The request. - * - * @returns {CanceledError} The created error. - */ - constructor(message, config, request) { - super(message == null ? 'canceled' : message, AxiosError$1.ERR_CANCELED, config, request); - this.name = 'CanceledError'; - this.__CANCEL__ = true; - } -}; - -/** - * Resolve or reject a Promise based on response status. - * - * @param {Function} resolve A function that resolves the promise. - * @param {Function} reject A function that rejects the promise. - * @param {object} response The response. - * - * @returns {object} The response. - */ -function settle(resolve, reject, response) { - const validateStatus = response.config.validateStatus; - if (!response.status || !validateStatus || validateStatus(response.status)) { - resolve(response); - } else { - reject(new AxiosError$1( - 'Request failed with status code ' + response.status, - response.status >= 400 && response.status < 500 ? AxiosError$1.ERR_BAD_REQUEST : AxiosError$1.ERR_BAD_RESPONSE, - response.config, - response.request, - response - )); - } -} - -function parseProtocol(url) { - const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url); - return (match && match[1]) || ''; -} - -/** - * Calculate data maxRate - * @param {Number} [samplesCount= 10] - * @param {Number} [min= 1000] - * @returns {Function} - */ -function speedometer(samplesCount, min) { - samplesCount = samplesCount || 10; - const bytes = new Array(samplesCount); - const timestamps = new Array(samplesCount); - let head = 0; - let tail = 0; - let firstSampleTS; - - min = min !== undefined ? min : 1000; - - return function push(chunkLength) { - const now = Date.now(); - - const startedAt = timestamps[tail]; - - if (!firstSampleTS) { - firstSampleTS = now; - } - - bytes[head] = chunkLength; - timestamps[head] = now; - - let i = tail; - let bytesCount = 0; - - while (i !== head) { - bytesCount += bytes[i++]; - i = i % samplesCount; - } - - head = (head + 1) % samplesCount; - - if (head === tail) { - tail = (tail + 1) % samplesCount; - } - - if (now - firstSampleTS < min) { - return; - } - - const passed = startedAt && now - startedAt; - - return passed ? Math.round((bytesCount * 1000) / passed) : undefined; - }; -} - -/** - * Throttle decorator - * @param {Function} fn - * @param {Number} freq - * @return {Function} - */ -function throttle(fn, freq) { - let timestamp = 0; - let threshold = 1000 / freq; - let lastArgs; - let timer; - - const invoke = (args, now = Date.now()) => { - timestamp = now; - lastArgs = null; - if (timer) { - clearTimeout(timer); - timer = null; - } - fn(...args); - }; - - const throttled = (...args) => { - const now = Date.now(); - const passed = now - timestamp; - if (passed >= threshold) { - invoke(args, now); - } else { - lastArgs = args; - if (!timer) { - timer = setTimeout(() => { - timer = null; - invoke(lastArgs); - }, threshold - passed); - } - } - }; - - const flush = () => lastArgs && invoke(lastArgs); - - return [throttled, flush]; -} - -const progressEventReducer = (listener, isDownloadStream, freq = 3) => { - let bytesNotified = 0; - const _speedometer = speedometer(50, 250); - - return throttle((e) => { - if (!e || typeof e.loaded !== 'number') { - return; - } - const rawLoaded = e.loaded; - const total = e.lengthComputable ? e.total : undefined; - const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded; - const progressBytes = Math.max(0, loaded - bytesNotified); - const rate = _speedometer(progressBytes); - - bytesNotified = Math.max(bytesNotified, loaded); - - const data = { - loaded, - total, - progress: total ? loaded / total : undefined, - bytes: progressBytes, - rate: rate ? rate : undefined, - estimated: rate && total ? (total - loaded) / rate : undefined, - event: e, - lengthComputable: total != null, - [isDownloadStream ? 'download' : 'upload']: true, - }; - - listener(data); - }, freq); -}; - -const progressEventDecorator = (total, throttled) => { - const lengthComputable = total != null; - - return [ - (loaded) => - throttled[0]({ - lengthComputable, - total, - loaded, - }), - throttled[1], - ]; -}; - -const asyncDecorator = - (fn) => - (...args) => - utils$1.asap(() => fn(...args)); - -var isURLSameOrigin = platform.hasStandardBrowserEnv - ? ((origin, isMSIE) => (url) => { - url = new URL(url, platform.origin); - - return ( - origin.protocol === url.protocol && - origin.host === url.host && - (isMSIE || origin.port === url.port) - ); - })( - new URL(platform.origin), - platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent) - ) - : () => true; - -var cookies = platform.hasStandardBrowserEnv - ? // Standard browser envs support document.cookie - { - write(name, value, expires, path, domain, secure, sameSite) { - if (typeof document === 'undefined') return; - - const cookie = [`${name}=${encodeURIComponent(value)}`]; - - if (utils$1.isNumber(expires)) { - cookie.push(`expires=${new Date(expires).toUTCString()}`); - } - if (utils$1.isString(path)) { - cookie.push(`path=${path}`); - } - if (utils$1.isString(domain)) { - cookie.push(`domain=${domain}`); - } - if (secure === true) { - cookie.push('secure'); - } - if (utils$1.isString(sameSite)) { - cookie.push(`SameSite=${sameSite}`); - } - - document.cookie = cookie.join('; '); - }, - - read(name) { - if (typeof document === 'undefined') return null; - // Match name=value by splitting on the semicolon separator instead of building a - // RegExp from `name` — interpolating an unescaped string into a RegExp would let - // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or - // match the wrong cookie. Browsers may serialize cookie pairs as either ";" or - // "; ", so ignore optional whitespace before each cookie name. - const cookies = document.cookie.split(';'); - for (let i = 0; i < cookies.length; i++) { - const cookie = cookies[i].replace(/^\s+/, ''); - const eq = cookie.indexOf('='); - if (eq !== -1 && cookie.slice(0, eq) === name) { - try { - return decodeURIComponent(cookie.slice(eq + 1)); - } catch (e) { - return cookie.slice(eq + 1); - } - } - } - return null; - }, - - remove(name) { - this.write(name, '', Date.now() - 86400000, '/'); - }, - } - : // Non-standard browser env (web workers, react-native) lack needed support. - { - write() {}, - read() { - return null; - }, - remove() {}, - }; - -/** - * Determines whether the specified URL is absolute - * - * @param {string} url The URL to test - * - * @returns {boolean} True if the specified URL is absolute, otherwise false - */ -function isAbsoluteURL(url) { - // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). - // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed - // by any combination of letters, digits, plus, period, or hyphen. - if (typeof url !== 'string') { - return false; - } - - return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url); -} - -/** - * Creates a new URL by combining the specified URLs - * - * @param {string} baseURL The base URL - * @param {string} relativeURL The relative URL - * - * @returns {string} The combined URL - */ -function combineURLs(baseURL, relativeURL) { - return relativeURL - ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') - : baseURL; -} - -const malformedHttpProtocol = /^https?:(?!\/\/)/i; -const httpProtocolControlCharacters = /[\t\n\r]/g; - -function stripLeadingC0ControlOrSpace(url) { - let i = 0; - while (i < url.length && url.charCodeAt(i) <= 0x20) { - i++; - } - return url.slice(i); -} - -function normalizeURLForProtocolCheck(url) { - return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, ''); -} - -function assertValidHttpProtocolURL(url, config) { - if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) { - throw new AxiosError$1( - 'Invalid URL: missing "//" after protocol', - AxiosError$1.ERR_INVALID_URL, - config - ); - } -} - -/** - * Creates a new URL by combining the baseURL with the requestedURL, - * only when the requestedURL is not already an absolute URL. - * If the requestURL is absolute, this function returns the requestedURL untouched. - * - * @param {string} baseURL The base URL - * @param {string} requestedURL Absolute or relative URL to combine - * - * @returns {string} The combined full path - */ -function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) { - assertValidHttpProtocolURL(requestedURL, config); - let isRelativeUrl = !isAbsoluteURL(requestedURL); - if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) { - assertValidHttpProtocolURL(baseURL, config); - return combineURLs(baseURL, requestedURL); - } - return requestedURL; -} - -const headersToObject = (thing) => (thing instanceof AxiosHeaders$1 ? { ...thing } : thing); - -/** - * Config-specific merge-function which creates a new config-object - * by merging two configuration objects together. - * - * @param {Object} config1 - * @param {Object} config2 - * - * @returns {Object} New object resulting from merging config2 to config1 - */ -function mergeConfig$1(config1, config2) { - // eslint-disable-next-line no-param-reassign - config1 = config1 || {}; - config2 = config2 || {}; - - // Use a null-prototype object so that downstream reads such as `config.auth` - // or `config.baseURL` cannot inherit polluted values from Object.prototype. - // `hasOwnProperty` is restored as a non-enumerable own slot to preserve - // ergonomics for user code that relies on it. - const config = Object.create(null); - Object.defineProperty(config, 'hasOwnProperty', { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: Object.prototype.hasOwnProperty, - enumerable: false, - writable: true, - configurable: true, - }); - - function getMergedValue(target, source, prop, caseless) { - if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) { - return utils$1.merge.call({ caseless }, target, source); - } else if (utils$1.isPlainObject(source)) { - return utils$1.merge({}, source); - } else if (utils$1.isArray(source)) { - return source.slice(); - } - return source; - } - - function mergeDeepProperties(a, b, prop, caseless) { - if (!utils$1.isUndefined(b)) { - return getMergedValue(a, b, prop, caseless); - } else if (!utils$1.isUndefined(a)) { - return getMergedValue(undefined, a, prop, caseless); - } - } - - // eslint-disable-next-line consistent-return - function valueFromConfig2(a, b) { - if (!utils$1.isUndefined(b)) { - return getMergedValue(undefined, b); - } - } - - // eslint-disable-next-line consistent-return - function defaultToConfig2(a, b) { - if (!utils$1.isUndefined(b)) { - return getMergedValue(undefined, b); - } else if (!utils$1.isUndefined(a)) { - return getMergedValue(undefined, a); - } - } - - function getMergedTransitionalOption(prop) { - const transitional2 = utils$1.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined; - - if (!utils$1.isUndefined(transitional2)) { - if (utils$1.isPlainObject(transitional2)) { - if (utils$1.hasOwnProp(transitional2, prop)) { - return transitional2[prop]; - } - } else { - return undefined; - } - } - - const transitional1 = utils$1.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined; - - if (utils$1.isPlainObject(transitional1) && utils$1.hasOwnProp(transitional1, prop)) { - return transitional1[prop]; - } - - return undefined; - } - - // eslint-disable-next-line consistent-return - function mergeDirectKeys(a, b, prop) { - if (utils$1.hasOwnProp(config2, prop)) { - return getMergedValue(a, b); - } else if (utils$1.hasOwnProp(config1, prop)) { - return getMergedValue(undefined, a); - } - } - - const mergeMap = { - url: valueFromConfig2, - method: valueFromConfig2, - data: valueFromConfig2, - baseURL: defaultToConfig2, - transformRequest: defaultToConfig2, - transformResponse: defaultToConfig2, - paramsSerializer: defaultToConfig2, - timeout: defaultToConfig2, - timeoutMessage: defaultToConfig2, - withCredentials: defaultToConfig2, - withXSRFToken: defaultToConfig2, - adapter: defaultToConfig2, - responseType: defaultToConfig2, - xsrfCookieName: defaultToConfig2, - xsrfHeaderName: defaultToConfig2, - onUploadProgress: defaultToConfig2, - onDownloadProgress: defaultToConfig2, - decompress: defaultToConfig2, - maxContentLength: defaultToConfig2, - maxBodyLength: defaultToConfig2, - beforeRedirect: defaultToConfig2, - transport: defaultToConfig2, - httpAgent: defaultToConfig2, - httpsAgent: defaultToConfig2, - cancelToken: defaultToConfig2, - socketPath: defaultToConfig2, - allowedSocketPaths: defaultToConfig2, - responseEncoding: defaultToConfig2, - validateStatus: mergeDirectKeys, - headers: (a, b, prop) => - mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true), - }; - - utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) { - if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return; - const merge = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties; - const a = utils$1.hasOwnProp(config1, prop) ? config1[prop] : undefined; - const b = utils$1.hasOwnProp(config2, prop) ? config2[prop] : undefined; - const configValue = merge(a, b, prop); - (utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue); - }); - - if ( - utils$1.hasOwnProp(config2, 'validateStatus') && - utils$1.isUndefined(config2.validateStatus) && - getMergedTransitionalOption('validateStatusUndefinedResolves') === false - ) { - if (utils$1.hasOwnProp(config1, 'validateStatus')) { - config.validateStatus = getMergedValue(undefined, config1.validateStatus); - } else { - delete config.validateStatus; - } - } - - return config; -} - -const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length']; - -function setFormDataHeaders(headers, formHeaders, policy) { - if (policy !== 'content-only') { - headers.set(formHeaders); - return; - } - - Object.entries(formHeaders || {}).forEach(([key, val]) => { - if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) { - headers.set(key, val); - } - }); -} - -/** - * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). - * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. - * - * @param {string} str The string to encode - * - * @returns {string} UTF-8 bytes as a Latin-1 string - */ -const encodeUTF8$1 = (str) => - encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => - String.fromCharCode(parseInt(hex, 16)) - ); - -function resolveConfig(config) { - const newConfig = mergeConfig$1({}, config); - - // Read only own properties to prevent prototype pollution gadgets - // (e.g. Object.prototype.baseURL = 'https://evil.com'). - const own = (key) => (utils$1.hasOwnProp(newConfig, key) ? newConfig[key] : undefined); - - const data = own('data'); - let withXSRFToken = own('withXSRFToken'); - const xsrfHeaderName = own('xsrfHeaderName'); - const xsrfCookieName = own('xsrfCookieName'); - let headers = own('headers'); - const auth = own('auth'); - const baseURL = own('baseURL'); - const allowAbsoluteUrls = own('allowAbsoluteUrls'); - const url = own('url'); - - newConfig.headers = headers = AxiosHeaders$1.from(headers); - - newConfig.url = buildURL( - buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig), - own('params'), - own('paramsSerializer') - ); - - // HTTP basic authentication - if (auth) { - const username = utils$1.getSafeProp(auth, 'username') || ''; - const password = utils$1.getSafeProp(auth, 'password') || ''; - - try { - headers.set( - 'Authorization', - 'Basic ' + btoa(username + ':' + (password ? encodeUTF8$1(password) : '')) - ); - } catch (e) { - throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_OPTION_VALUE, config); - } - } - - if (utils$1.isFormData(data)) { - if ( - platform.hasStandardBrowserEnv || - platform.hasStandardBrowserWebWorkerEnv || - utils$1.isReactNative(data) - ) { - headers.setContentType(undefined); // browser/web worker/RN handles it - } else if (utils$1.isFunction(data.getHeaders)) { - // Node.js FormData (like form-data package) - setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy')); - } - } - - // Add xsrf header - // This is only done if running in a standard browser environment. - // Specifically not if we're in a web worker, or react-native. - - if (platform.hasStandardBrowserEnv) { - if (utils$1.isFunction(withXSRFToken)) { - withXSRFToken = withXSRFToken(newConfig); - } - - // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1) - // and misconfigurations (e.g. "false") from short-circuiting the same-origin check and leaking - // the XSRF token cross-origin. - const shouldSendXSRF = - withXSRFToken === true || (withXSRFToken == null && isURLSameOrigin(newConfig.url)); - - if (shouldSendXSRF) { - const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName); - - if (xsrfValue) { - headers.set(xsrfHeaderName, xsrfValue); - } - } - } - - return newConfig; -} - -const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; - -var xhrAdapter = isXHRAdapterSupported && - function (config) { - return new Promise(function dispatchXhrRequest(resolve, reject) { - const _config = resolveConfig(config); - let requestData = _config.data; - const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize(); - let { responseType, onUploadProgress, onDownloadProgress } = _config; - let onCanceled; - let uploadThrottled, downloadThrottled; - let flushUpload, flushDownload; - - function done() { - flushUpload && flushUpload(); // flush events - flushDownload && flushDownload(); // flush events - - _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled); - - _config.signal && _config.signal.removeEventListener('abort', onCanceled); - } - - let request = new XMLHttpRequest(); - - request.open(_config.method.toUpperCase(), _config.url, true); - - // Set the request timeout in MS - request.timeout = _config.timeout; - - function onloadend() { - if (!request) { - return; - } - // Prepare the response - const responseHeaders = AxiosHeaders$1.from( - 'getAllResponseHeaders' in request && request.getAllResponseHeaders() - ); - const responseData = - !responseType || responseType === 'text' || responseType === 'json' - ? request.responseText - : request.response; - const response = { - data: responseData, - status: request.status, - statusText: request.statusText, - headers: responseHeaders, - config, - request, - }; - - settle( - function _resolve(value) { - resolve(value); - done(); - }, - function _reject(err) { - reject(err); - done(); - }, - response - ); - - // Clean up request - request = null; - } - - if ('onloadend' in request) { - // Use onloadend if available - request.onloadend = onloadend; - } else { - // Listen for ready state to emulate onloadend - request.onreadystatechange = function handleLoad() { - if (!request || request.readyState !== 4) { - return; - } - - // The request errored out and we didn't get a response, this will be - // handled by onerror instead - // With one exception: request that using file: protocol, most browsers - // will return status as 0 even though it's a successful request - if ( - request.status === 0 && - !(request.responseURL && request.responseURL.startsWith('file:')) - ) { - return; - } - // readystate handler is calling before onerror or ontimeout handlers, - // so we should call onloadend on the next 'tick' - setTimeout(onloadend); - }; - } - - // Handle browser request cancellation (as opposed to a manual cancellation) - request.onabort = function handleAbort() { - if (!request) { - return; - } - - reject(new AxiosError$1('Request aborted', AxiosError$1.ECONNABORTED, config, request)); - done(); - - // Clean up request - request = null; - }; - - // Handle low level network errors - request.onerror = function handleError(event) { - // Browsers deliver a ProgressEvent in XHR onerror - // (message may be empty; when present, surface it) - // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event - const msg = event && event.message ? event.message : 'Network Error'; - const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request); - // attach the underlying event for consumers who want details - err.event = event || null; - reject(err); - done(); - request = null; - }; - - // Handle timeout - request.ontimeout = function handleTimeout() { - let timeoutErrorMessage = _config.timeout - ? 'timeout of ' + _config.timeout + 'ms exceeded' - : 'timeout exceeded'; - const transitional = _config.transitional || transitionalDefaults; - if (_config.timeoutErrorMessage) { - timeoutErrorMessage = _config.timeoutErrorMessage; - } - reject( - new AxiosError$1( - timeoutErrorMessage, - transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED, - config, - request - ) - ); - done(); - - // Clean up request - request = null; - }; - - // Remove Content-Type if data is undefined - requestData === undefined && requestHeaders.setContentType(null); - - // Add headers to the request - if ('setRequestHeader' in request) { - utils$1.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) { - request.setRequestHeader(key, val); - }); - } - - // Add withCredentials to request if needed - if (!utils$1.isUndefined(_config.withCredentials)) { - request.withCredentials = !!_config.withCredentials; - } - - // Add responseType to request if needed - if (responseType && responseType !== 'json') { - request.responseType = _config.responseType; - } - - // Handle progress if needed - if (onDownloadProgress) { - [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true); - request.addEventListener('progress', downloadThrottled); - } - - // Not all browsers support upload events - if (onUploadProgress && request.upload) { - [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress); - - request.upload.addEventListener('progress', uploadThrottled); - - request.upload.addEventListener('loadend', flushUpload); - } - - if (_config.cancelToken || _config.signal) { - // Handle cancellation - // eslint-disable-next-line func-names - onCanceled = (cancel) => { - if (!request) { - return; - } - reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel); - request.abort(); - done(); - request = null; - }; - - _config.cancelToken && _config.cancelToken.subscribe(onCanceled); - if (_config.signal) { - _config.signal.aborted - ? onCanceled() - : _config.signal.addEventListener('abort', onCanceled); - } - } - - const protocol = parseProtocol(_config.url); - - if (protocol && !platform.protocols.includes(protocol)) { - reject( - new AxiosError$1( - 'Unsupported protocol ' + protocol + ':', - AxiosError$1.ERR_BAD_REQUEST, - config - ) - ); - done(); - return; - } - - // Send the request - request.send(requestData || null); - }); - }; - -const composeSignals = (signals, timeout) => { - signals = signals ? signals.filter(Boolean) : []; - - if (!timeout && !signals.length) { - return; - } - - const controller = new AbortController(); - - let aborted = false; - - const onabort = function (reason) { - if (!aborted) { - aborted = true; - unsubscribe(); - const err = reason instanceof Error ? reason : this.reason; - controller.abort( - err instanceof AxiosError$1 - ? err - : new CanceledError$1(err instanceof Error ? err.message : err) - ); - } - }; - - let timer = - timeout && - setTimeout(() => { - timer = null; - onabort(new AxiosError$1(`timeout of ${timeout}ms exceeded`, AxiosError$1.ETIMEDOUT)); - }, timeout); - - const unsubscribe = () => { - if (!signals) { return; } - timer && clearTimeout(timer); - timer = null; - signals.forEach((signal) => { - signal.unsubscribe - ? signal.unsubscribe(onabort) - : signal.removeEventListener('abort', onabort); - }); - signals = null; - }; - - signals.forEach((signal) => signal.addEventListener('abort', onabort, { once: true })); - - const { signal } = controller; - - signal.unsubscribe = () => utils$1.asap(unsubscribe); - - return signal; -}; - -const streamChunk = function* (chunk, chunkSize) { - let len = chunk.byteLength; - - if (len < chunkSize) { - yield chunk; - return; - } - - let pos = 0; - let end; - - while (pos < len) { - end = pos + chunkSize; - yield chunk.slice(pos, end); - pos = end; - } -}; - -const readBytes = async function* (iterable, chunkSize) { - for await (const chunk of readStream(iterable)) { - yield* streamChunk(chunk, chunkSize); - } -}; - -const readStream = async function* (stream) { - if (stream[Symbol.asyncIterator]) { - yield* stream; - return; - } - - const reader = stream.getReader(); - try { - for (;;) { - const { done, value } = await reader.read(); - if (done) { - break; - } - yield value; - } - } finally { - await reader.cancel(); - } -}; - -const trackStream = (stream, chunkSize, onProgress, onFinish) => { - const iterator = readBytes(stream, chunkSize); - - let bytes = 0; - let done; - let _onFinish = (e) => { - if (!done) { - done = true; - onFinish && onFinish(e); - } - }; - - return new ReadableStream( - { - async pull(controller) { - try { - const { done, value } = await iterator.next(); - - if (done) { - _onFinish(); - controller.close(); - return; - } - - let len = value.byteLength; - if (onProgress) { - let loadedBytes = (bytes += len); - onProgress(loadedBytes); - } - controller.enqueue(new Uint8Array(value)); - } catch (err) { - _onFinish(err); - throw err; - } - }, - cancel(reason) { - _onFinish(reason); - return iterator.return(); - }, - }, - { - highWaterMark: 2, - } - ); -}; - -/** - * Estimate decoded byte length of a data:// URL *without* allocating large buffers. - * - For base64: compute exact decoded size using length and padding; - * handle %XX at the character-count level (no string allocation). - * - For non-base64: compute the exact percent-decoded UTF-8 byte length. - * - * @param {string} url - * @returns {number} - */ -const isHexDigit = (charCode) => - (charCode >= 48 && charCode <= 57) || - (charCode >= 65 && charCode <= 70) || - (charCode >= 97 && charCode <= 102); - -const isPercentEncodedByte = (str, i, len) => - i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2)); - -function estimateDataURLDecodedBytes(url) { - if (!url || typeof url !== 'string') return 0; - if (!url.startsWith('data:')) return 0; - - const comma = url.indexOf(','); - if (comma < 0) return 0; - - const meta = url.slice(5, comma); - const body = url.slice(comma + 1); - const isBase64 = /;base64/i.test(meta); - - if (isBase64) { - let effectiveLen = body.length; - const len = body.length; // cache length - - for (let i = 0; i < len; i++) { - if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) { - const a = body.charCodeAt(i + 1); - const b = body.charCodeAt(i + 2); - const isHex = isHexDigit(a) && isHexDigit(b); - - if (isHex) { - effectiveLen -= 2; - i += 2; - } - } - } - - let pad = 0; - let idx = len - 1; - - const tailIsPct3D = (j) => - j >= 2 && - body.charCodeAt(j - 2) === 37 && // '%' - body.charCodeAt(j - 1) === 51 && // '3' - (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd' - - if (idx >= 0) { - if (body.charCodeAt(idx) === 61 /* '=' */) { - pad++; - idx--; - } else if (tailIsPct3D(idx)) { - pad++; - idx -= 3; - } - } - - if (pad === 1 && idx >= 0) { - if (body.charCodeAt(idx) === 61 /* '=' */) { - pad++; - } else if (tailIsPct3D(idx)) { - pad++; - } - } - - const groups = Math.floor(effectiveLen / 4); - const bytes = groups * 3 - (pad || 0); - return bytes > 0 ? bytes : 0; - } - - // Compute UTF-8 byte length directly from UTF-16 code units without allocating - // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies). - // Valid %XX triplets count as one decoded byte; this matches the bytes that - // decodeURIComponent(body) would produce before Buffer re-encodes the string. - let bytes = 0; - for (let i = 0, len = body.length; i < len; i++) { - const c = body.charCodeAt(i); - if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) { - bytes += 1; - i += 2; - } else if (c < 0x80) { - bytes += 1; - } else if (c < 0x800) { - bytes += 2; - } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) { - const next = body.charCodeAt(i + 1); - if (next >= 0xdc00 && next <= 0xdfff) { - bytes += 4; - i++; - } else { - bytes += 3; - } - } else { - bytes += 3; - } - } - return bytes; -} - -const VERSION$1 = "1.18.1"; - -const DEFAULT_CHUNK_SIZE = 64 * 1024; - -const { isFunction } = utils$1; - -/** - * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). - * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. - * - * @param {string} str The string to encode - * - * @returns {string} UTF-8 bytes as a Latin-1 string - */ -const encodeUTF8 = (str) => - encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => - String.fromCharCode(parseInt(hex, 16)) - ); - -// Node's WHATWG URL parser returns `username` and `password` percent-encoded. -// Decode before composing the `auth` option so credentials such as -// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the -// original value for malformed input so a bad encoding never throws. -const decodeURIComponentSafe = (value) => { - if (!utils$1.isString(value)) { - return value; - } - - try { - return decodeURIComponent(value); - } catch (error) { - return value; - } -}; - -const test = (fn, ...args) => { - try { - return !!fn(...args); - } catch (e) { - return false; - } -}; - -const maybeWithAuthCredentials = (url) => { - const protocolIndex = url.indexOf('://'); - let urlToCheck = url; - if (protocolIndex !== -1) { - urlToCheck = urlToCheck.slice(protocolIndex + 3); - } - return urlToCheck.includes('@') || urlToCheck.includes(':'); -}; - -const factory = (env) => { - const globalObject = - utils$1.global !== undefined && utils$1.global !== null - ? utils$1.global - : globalThis; - const { ReadableStream, TextEncoder } = globalObject; - - env = utils$1.merge.call( - { - skipUndefined: true, - }, - { - Request: globalObject.Request, - Response: globalObject.Response, - }, - env - ); - - const { fetch: envFetch, Request, Response } = env; - const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function'; - const isRequestSupported = isFunction(Request); - const isResponseSupported = isFunction(Response); - - if (!isFetchSupported) { - return false; - } - - const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream); - - const encodeText = - isFetchSupported && - (typeof TextEncoder === 'function' - ? ( - (encoder) => (str) => - encoder.encode(str) - )(new TextEncoder()) - : async (str) => new Uint8Array(await new Request(str).arrayBuffer())); - - const supportsRequestStream = - isRequestSupported && - isReadableStreamSupported && - test(() => { - let duplexAccessed = false; - - const request = new Request(platform.origin, { - body: new ReadableStream(), - method: 'POST', - get duplex() { - duplexAccessed = true; - return 'half'; - }, - }); - - const hasContentType = request.headers.has('Content-Type'); - - if (request.body != null) { - request.body.cancel(); - } - - return duplexAccessed && !hasContentType; - }); - - const supportsResponseStream = - isResponseSupported && - isReadableStreamSupported && - test(() => utils$1.isReadableStream(new Response('').body)); - - const resolvers = { - stream: supportsResponseStream && ((res) => res.body), - }; - - isFetchSupported && - (() => { - ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => { - !resolvers[type] && - (resolvers[type] = (res, config) => { - let method = res && res[type]; - - if (method) { - return method.call(res); - } - - throw new AxiosError$1( - `Response type '${type}' is not supported`, - AxiosError$1.ERR_NOT_SUPPORT, - config - ); - }); - }); - })(); - - const getBodyLength = async (body) => { - if (body == null) { - return 0; - } - - if (utils$1.isBlob(body)) { - return body.size; - } - - if (utils$1.isSpecCompliantForm(body)) { - const _request = new Request(platform.origin, { - method: 'POST', - body, - }); - return (await _request.arrayBuffer()).byteLength; - } - - if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) { - return body.byteLength; - } - - if (utils$1.isURLSearchParams(body)) { - body = body + ''; - } - - if (utils$1.isString(body)) { - return (await encodeText(body)).byteLength; - } - }; - - const resolveBodyLength = async (headers, body) => { - const length = utils$1.toFiniteNumber(headers.getContentLength()); - - return length == null ? getBodyLength(body) : length; - }; - - return async (config) => { - let { - url, - method, - data, - signal, - cancelToken, - timeout, - onDownloadProgress, - onUploadProgress, - responseType, - headers, - withCredentials = 'same-origin', - fetchOptions, - maxContentLength, - maxBodyLength, - } = resolveConfig(config); - - const hasMaxContentLength = utils$1.isNumber(maxContentLength) && maxContentLength > -1; - const hasMaxBodyLength = utils$1.isNumber(maxBodyLength) && maxBodyLength > -1; - const own = (key) => (utils$1.hasOwnProp(config, key) ? config[key] : undefined); - - let _fetch = envFetch || fetch; - - responseType = responseType ? (responseType + '').toLowerCase() : 'text'; - - let composedSignal = composeSignals( - [signal, cancelToken && cancelToken.toAbortSignal()], - timeout - ); - - let request = null; - - const unsubscribe = - composedSignal && - composedSignal.unsubscribe && - (() => { - composedSignal.unsubscribe(); - }); - - let requestContentLength; - - // AxiosError we raise while the request body is being streamed. Captured - // by identity so the catch block can surface it directly, regardless of - // how the runtime wraps the resulting fetch rejection (undici exposes it - // as `err.cause`; some browsers drop the original error entirely). - let pendingBodyError = null; - - const maxBodyLengthError = () => - new AxiosError$1( - 'Request body larger than maxBodyLength limit', - AxiosError$1.ERR_BAD_REQUEST, - config, - request - ); - - try { - // HTTP basic authentication - let auth = undefined; - const configAuth = own('auth'); - - if (configAuth) { - const username = utils$1.getSafeProp(configAuth, 'username') || ''; - const password = utils$1.getSafeProp(configAuth, 'password') || ''; - auth = { - username, - password - }; - } - - if (maybeWithAuthCredentials(url)) { - const parsedURL = new URL(url, platform.origin); - - if (!auth && (parsedURL.username || parsedURL.password)) { - const urlUsername = decodeURIComponentSafe(parsedURL.username); - const urlPassword = decodeURIComponentSafe(parsedURL.password); - auth = { - username: urlUsername, - password: urlPassword - }; - } - - if (parsedURL.username || parsedURL.password) { - parsedURL.username = ''; - parsedURL.password = ''; - url = parsedURL.href; - } - } - - if (auth) { - headers.delete('authorization'); - headers.set( - 'Authorization', - 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || ''))) - ); - } - - // Enforce maxContentLength for data: URLs up-front so we never materialize - // an oversized payload. The HTTP adapter applies the same check (see http.js - // "if (protocol === 'data:')" branch). - if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) { - const estimated = estimateDataURLDecodedBytes(url); - if (estimated > maxContentLength) { - throw new AxiosError$1( - 'maxContentLength size of ' + maxContentLength + ' exceeded', - AxiosError$1.ERR_BAD_RESPONSE, - config, - request - ); - } - } - - // Enforce maxBodyLength against known-size bodies before dispatch using - // the body's *actual* size — never a caller-declared Content-Length, - // which could under-report to slip an oversized body past the check. - // Unknown-size streams return undefined here and are counted per-chunk - // below as fetch consumes them. - if (hasMaxBodyLength && method !== 'get' && method !== 'head') { - const outboundLength = await getBodyLength(data); - if (typeof outboundLength === 'number' && isFinite(outboundLength)) { - requestContentLength = outboundLength; - if (outboundLength > maxBodyLength) { - throw maxBodyLengthError(); - } - } - } - - // A streamed body under maxBodyLength must be counted as fetch consumes - // it; its size is never trusted from a caller-declared Content-Length. - const mustEnforceStreamBody = - hasMaxBodyLength && (utils$1.isReadableStream(data) || utils$1.isStream(data)); - - const trackRequestStream = (stream, onProgress, flush) => - trackStream( - stream, - DEFAULT_CHUNK_SIZE, - (loadedBytes) => { - if (hasMaxBodyLength && loadedBytes > maxBodyLength) { - throw (pendingBodyError = maxBodyLengthError()); - } - onProgress && onProgress(loadedBytes); - }, - flush - ); - - if ( - supportsRequestStream && - method !== 'get' && - method !== 'head' && - (onUploadProgress || mustEnforceStreamBody) - ) { - requestContentLength = - requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength; - - // A declared length of 0 is only trusted to skip the wrap when we are - // not enforcing a stream limit (which must not rely on that header). - if (requestContentLength !== 0 || mustEnforceStreamBody) { - let _request = new Request(url, { - method: 'POST', - body: data, - duplex: 'half', - }); - - let contentTypeHeader; - - if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) { - headers.setContentType(contentTypeHeader); - } - - if (_request.body) { - const [onProgress, flush] = - (onUploadProgress && - progressEventDecorator( - requestContentLength, - progressEventReducer(asyncDecorator(onUploadProgress)) - )) || - []; - - data = trackRequestStream(_request.body, onProgress, flush); - } - } - } else if ( - mustEnforceStreamBody && - !isRequestSupported && - isReadableStreamSupported && - method !== 'get' && - method !== 'head' - ) { - data = trackRequestStream(data); - } else if ( - mustEnforceStreamBody && - isRequestSupported && - !supportsRequestStream && - method !== 'get' && - method !== 'head' - ) { - throw new AxiosError$1( - 'Stream request bodies are not supported by the current fetch implementation', - AxiosError$1.ERR_NOT_SUPPORT, - config, - request - ); - } - - if (!utils$1.isString(withCredentials)) { - withCredentials = withCredentials ? 'include' : 'omit'; - } - - // Cloudflare Workers throws when credentials are defined - // see https://github.com/cloudflare/workerd/issues/902 - const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype; - - // If data is FormData and Content-Type is multipart/form-data without boundary, - // delete it so fetch can set it correctly with the boundary - if (utils$1.isFormData(data)) { - const contentType = headers.getContentType(); - if ( - contentType && - /^multipart\/form-data/i.test(contentType) && - !/boundary=/i.test(contentType) - ) { - headers.delete('content-type'); - } - } - - // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js) - headers.set('User-Agent', 'axios/' + VERSION$1, false); - - const resolvedOptions = { - ...fetchOptions, - signal: composedSignal, - method: method.toUpperCase(), - headers: toByteStringHeaderObject(headers.normalize()), - body: data, - duplex: 'half', - credentials: isCredentialsSupported ? withCredentials : undefined, - }; - - request = isRequestSupported && new Request(url, resolvedOptions); - - let response = await (isRequestSupported - ? _fetch(request, fetchOptions) - : _fetch(url, resolvedOptions)); - - const responseHeaders = AxiosHeaders$1.from(response.headers); - - // Cheap pre-check: if the server honestly declares a content-length that - // already exceeds the cap, reject before we start streaming. - if (hasMaxContentLength) { - const declaredLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); - if (declaredLength != null && declaredLength > maxContentLength) { - throw new AxiosError$1( - 'maxContentLength size of ' + maxContentLength + ' exceeded', - AxiosError$1.ERR_BAD_RESPONSE, - config, - request - ); - } - } - - const isStreamResponse = - supportsResponseStream && (responseType === 'stream' || responseType === 'response'); - - if ( - supportsResponseStream && - response.body && - (onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe)) - ) { - const options = {}; - - ['status', 'statusText', 'headers'].forEach((prop) => { - options[prop] = response[prop]; - }); - - const responseContentLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); - - const [onProgress, flush] = - (onDownloadProgress && - progressEventDecorator( - responseContentLength, - progressEventReducer(asyncDecorator(onDownloadProgress), true) - )) || - []; - - let bytesRead = 0; - const onChunkProgress = (loadedBytes) => { - if (hasMaxContentLength) { - bytesRead = loadedBytes; - if (bytesRead > maxContentLength) { - throw new AxiosError$1( - 'maxContentLength size of ' + maxContentLength + ' exceeded', - AxiosError$1.ERR_BAD_RESPONSE, - config, - request - ); - } - } - onProgress && onProgress(loadedBytes); - }; - - response = new Response( - trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => { - flush && flush(); - unsubscribe && unsubscribe(); - }), - options - ); - } - - responseType = responseType || 'text'; - - let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text']( - response, - config - ); - - // Fallback enforcement for environments without ReadableStream support - // (legacy runtimes). Detect materialized size from typed output; skip - // streams/Response passthrough since the user will read those themselves. - if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) { - let materializedSize; - if (responseData != null) { - if (typeof responseData.byteLength === 'number') { - materializedSize = responseData.byteLength; - } else if (typeof responseData.size === 'number') { - materializedSize = responseData.size; - } else if (typeof responseData === 'string') { - materializedSize = - typeof TextEncoder === 'function' - ? new TextEncoder().encode(responseData).byteLength - : responseData.length; - } - } - if (typeof materializedSize === 'number' && materializedSize > maxContentLength) { - throw new AxiosError$1( - 'maxContentLength size of ' + maxContentLength + ' exceeded', - AxiosError$1.ERR_BAD_RESPONSE, - config, - request - ); - } - } - - !isStreamResponse && unsubscribe && unsubscribe(); - - return await new Promise((resolve, reject) => { - settle(resolve, reject, { - data: responseData, - headers: AxiosHeaders$1.from(response.headers), - status: response.status, - statusText: response.statusText, - config, - request, - }); - }); - } catch (err) { - unsubscribe && unsubscribe(); - - // Safari can surface fetch aborts as a DOMException-like object whose - // branded getters throw. Prefer our composed signal reason before reading - // the caught error, preserving timeout vs cancellation semantics. - if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError$1) { - const canceledError = composedSignal.reason; - canceledError.config = config; - request && (canceledError.request = request); - if (err !== canceledError) { - // Non-enumerable to match native Error `cause` semantics so loggers - // don't recurse into circular fetch internals (see #7205). - Object.defineProperty(canceledError, 'cause', { - __proto__: null, - value: err, - writable: true, - enumerable: false, - configurable: true, - }); - } - throw canceledError; - } - - // Surface a maxBodyLength violation we raised while the request body was - // being streamed. Matching by identity (rather than reading - // `err.cause.isAxiosError`) keeps the error deterministic across runtimes - // and avoids both prototype-pollution reads and mis-attributing a foreign - // AxiosError that merely happened to land in `err.cause`. - if (pendingBodyError) { - request && !pendingBodyError.request && (pendingBodyError.request = request); - throw pendingBodyError; - } - - // Re-throw AxiosErrors we raised synchronously (data: URL / content-length - // pre-checks, response size enforcement) without re-wrapping them. - if (err instanceof AxiosError$1) { - request && !err.request && (err.request = request); - throw err; - } - - if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) { - const networkError = new AxiosError$1( - 'Network Error', - AxiosError$1.ERR_NETWORK, - config, - request, - err && err.response - ); - // Non-enumerable to match native Error `cause` semantics so loggers - // don't recurse into circular fetch internals (see #7205). - Object.defineProperty(networkError, 'cause', { - __proto__: null, - value: err.cause || err, - writable: true, - enumerable: false, - configurable: true, - }); - throw networkError; - } - - throw AxiosError$1.from(err, err && err.code, config, request, err && err.response); - } - }; -}; - -const seedCache = new Map(); - -const getFetch = (config) => { - let env = (config && config.env) || {}; - const { fetch, Request, Response } = env; - const seeds = [Request, Response, fetch]; - - let len = seeds.length, - i = len, - seed, - target, - map = seedCache; - - while (i--) { - seed = seeds[i]; - target = map.get(seed); - - target === undefined && map.set(seed, (target = i ? new Map() : factory(env))); - - map = target; - } - - return target; -}; - -getFetch(); - -/** - * Known adapters mapping. - * Provides environment-specific adapters for Axios: - * - `http` for Node.js - * - `xhr` for browsers - * - `fetch` for fetch API-based requests - * - * @type {Object} - */ -const knownAdapters = { - http: httpAdapter, - xhr: xhrAdapter, - fetch: { - get: getFetch, - }, -}; - -// Assign adapter names for easier debugging and identification -utils$1.forEach(knownAdapters, (fn, value) => { - if (fn) { - try { - // Null-proto descriptors so a polluted Object.prototype.get cannot turn - // these data descriptors into accessor descriptors on the way in. - Object.defineProperty(fn, 'name', { __proto__: null, value }); - } catch (e) { - // eslint-disable-next-line no-empty - } - Object.defineProperty(fn, 'adapterName', { __proto__: null, value }); - } -}); - -/** - * Render a rejection reason string for unknown or unsupported adapters - * - * @param {string} reason - * @returns {string} - */ -const renderReason = (reason) => `- ${reason}`; - -/** - * Check if the adapter is resolved (function, null, or false) - * - * @param {Function|null|false} adapter - * @returns {boolean} - */ -const isResolvedHandle = (adapter) => - utils$1.isFunction(adapter) || adapter === null || adapter === false; - -/** - * Get the first suitable adapter from the provided list. - * Tries each adapter in order until a supported one is found. - * Throws an AxiosError if no adapter is suitable. - * - * @param {Array|string|Function} adapters - Adapter(s) by name or function. - * @param {Object} config - Axios request configuration - * @throws {AxiosError} If no suitable adapter is available - * @returns {Function} The resolved adapter function - */ -function getAdapter$1(adapters, config) { - adapters = utils$1.isArray(adapters) ? adapters : [adapters]; - - const { length } = adapters; - let nameOrAdapter; - let adapter; - - const rejectedReasons = {}; - - for (let i = 0; i < length; i++) { - nameOrAdapter = adapters[i]; - let id; - - adapter = nameOrAdapter; - - if (!isResolvedHandle(nameOrAdapter)) { - adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()]; - - if (adapter === undefined) { - throw new AxiosError$1(`Unknown adapter '${id}'`); - } - } - - if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) { - break; - } - - rejectedReasons[id || '#' + i] = adapter; - } - - if (!adapter) { - const reasons = Object.entries(rejectedReasons).map( - ([id, state]) => - `adapter ${id} ` + - (state === false ? 'is not supported by the environment' : 'is not available in the build') - ); - - let s = length - ? reasons.length > 1 - ? 'since :\n' + reasons.map(renderReason).join('\n') - : ' ' + renderReason(reasons[0]) - : 'as no adapter specified'; - - throw new AxiosError$1( - `There is no suitable adapter to dispatch the request ` + s, - AxiosError$1.ERR_NOT_SUPPORT - ); - } - - return adapter; -} - -/** - * Exports Axios adapters and utility to resolve an adapter - */ -var adapters = { - /** - * Resolve an adapter from a list of adapter names or functions. - * @type {Function} - */ - getAdapter: getAdapter$1, - - /** - * Exposes all known adapters - * @type {Object} - */ - adapters: knownAdapters, -}; - -/** - * Throws a `CanceledError` if cancellation has been requested. - * - * @param {Object} config The config that is to be used for the request - * - * @returns {void} - */ -function throwIfCancellationRequested(config) { - if (config.cancelToken) { - config.cancelToken.throwIfRequested(); - } - - if (config.signal && config.signal.aborted) { - throw new CanceledError$1(null, config); - } -} - -/** - * Dispatch a request to the server using the configured adapter. - * - * @param {object} config The config that is to be used for the request - * - * @returns {Promise} The Promise to be fulfilled - */ -function dispatchRequest(config) { - throwIfCancellationRequested(config); - - config.headers = AxiosHeaders$1.from(config.headers); - - // Transform request data - config.data = transformData.call(config, config.transformRequest); - - if (['post', 'put', 'patch'].indexOf(config.method) !== -1) { - config.headers.setContentType('application/x-www-form-urlencoded', false); - } - - const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config); - - return adapter(config).then( - function onAdapterResolution(response) { - throwIfCancellationRequested(config); - - // Expose the current response on config so that transformResponse can - // attach it to any AxiosError it throws (e.g. on JSON parse failure). - // We clean it up afterwards to avoid polluting the config object. - config.response = response; - try { - response.data = transformData.call(config, config.transformResponse, response); - } finally { - delete config.response; - } - - response.headers = AxiosHeaders$1.from(response.headers); - - return response; - }, - function onAdapterRejection(reason) { - if (!isCancel$1(reason)) { - throwIfCancellationRequested(config); - - // Transform response data - if (reason && reason.response) { - config.response = reason.response; - try { - reason.response.data = transformData.call( - config, - config.transformResponse, - reason.response - ); - } finally { - delete config.response; - } - reason.response.headers = AxiosHeaders$1.from(reason.response.headers); - } - } - - return Promise.reject(reason); - } - ); -} - -const validators$1 = {}; - -// eslint-disable-next-line func-names -['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => { - validators$1[type] = function validator(thing) { - return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type; - }; -}); - -const deprecatedWarnings = {}; - -/** - * Transitional option validator - * - * @param {function|boolean?} validator - set to false if the transitional option has been removed - * @param {string?} version - deprecated version / removed since version - * @param {string?} message - some message with additional info - * - * @returns {function} - */ -validators$1.transitional = function transitional(validator, version, message) { - function formatMessage(opt, desc) { - return ( - '[Axios v' + - VERSION$1 + - "] Transitional option '" + - opt + - "'" + - desc + - (message ? '. ' + message : '') - ); - } - - // eslint-disable-next-line func-names - return (value, opt, opts) => { - if (validator === false) { - throw new AxiosError$1( - formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), - AxiosError$1.ERR_DEPRECATED - ); - } - - if (version && !deprecatedWarnings[opt]) { - deprecatedWarnings[opt] = true; - // eslint-disable-next-line no-console - console.warn( - formatMessage( - opt, - ' has been deprecated since v' + version + ' and will be removed in the near future' - ) - ); - } - - return validator ? validator(value, opt, opts) : true; - }; -}; - -validators$1.spelling = function spelling(correctSpelling) { - return (value, opt) => { - // eslint-disable-next-line no-console - console.warn(`${opt} is likely a misspelling of ${correctSpelling}`); - return true; - }; -}; - -/** - * Assert object's properties type - * - * @param {object} options - * @param {object} schema - * @param {boolean?} allowUnknown - * - * @returns {object} - */ - -function assertOptions(options, schema, allowUnknown) { - if (typeof options !== 'object' || options === null) { - throw new AxiosError$1('options must be an object', AxiosError$1.ERR_BAD_OPTION_VALUE); - } - const keys = Object.keys(options); - let i = keys.length; - while (i-- > 0) { - const opt = keys[i]; - // Use hasOwnProperty so a polluted Object.prototype. cannot supply - // a non-function validator and cause a TypeError. - const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined; - if (validator) { - const value = options[opt]; - const result = value === undefined || validator(value, opt, options); - if (result !== true) { - throw new AxiosError$1( - 'option ' + opt + ' must be ' + result, - AxiosError$1.ERR_BAD_OPTION_VALUE - ); - } - continue; - } - if (allowUnknown !== true) { - throw new AxiosError$1('Unknown option ' + opt, AxiosError$1.ERR_BAD_OPTION); - } - } -} - -var validator = { - assertOptions, - validators: validators$1, -}; - -const validators = validator.validators; - -/** - * Create a new instance of Axios - * - * @param {Object} instanceConfig The default config for the instance - * - * @return {Axios} A new instance of Axios - */ -let Axios$1 = class Axios { - constructor(instanceConfig) { - this.defaults = instanceConfig || {}; - this.interceptors = { - request: new InterceptorManager(), - response: new InterceptorManager(), - }; - } - - /** - * Dispatch a request - * - * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) - * @param {?Object} config - * - * @returns {Promise} The Promise to be fulfilled - */ - async request(configOrUrl, config) { - try { - return await this._request(configOrUrl, config); - } catch (err) { - if (err instanceof Error) { - let dummy = {}; - - Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error()); - - // slice off the Error: ... line - const stack = (() => { - if (!dummy.stack) { - return ''; - } - - const firstNewlineIndex = dummy.stack.indexOf('\n'); - - return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1); - })(); - try { - if (!err.stack) { - err.stack = stack; - // match without the 2 top stack lines - } else if (stack) { - const firstNewlineIndex = stack.indexOf('\n'); - const secondNewlineIndex = - firstNewlineIndex === -1 ? -1 : stack.indexOf('\n', firstNewlineIndex + 1); - const stackWithoutTwoTopLines = - secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1); - - if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) { - err.stack += '\n' + stack; - } - } - } catch (e) { - // ignore the case where "stack" is an un-writable property - } - } - - throw err; - } - } - - _request(configOrUrl, config) { - /*eslint no-param-reassign:0*/ - // Allow for axios('example/url'[, config]) a la fetch API - if (typeof configOrUrl === 'string') { - config = config || {}; - config.url = configOrUrl; - } else { - config = configOrUrl || {}; - } - - config = mergeConfig$1(this.defaults, config); - - const { transitional, paramsSerializer, headers } = config; - - if (transitional !== undefined) { - validator.assertOptions( - transitional, - { - silentJSONParsing: validators.transitional(validators.boolean), - forcedJSONParsing: validators.transitional(validators.boolean), - clarifyTimeoutError: validators.transitional(validators.boolean), - legacyInterceptorReqResOrdering: validators.transitional(validators.boolean), - advertiseZstdAcceptEncoding: validators.transitional(validators.boolean), - validateStatusUndefinedResolves: validators.transitional(validators.boolean), - }, - false - ); - } - - if (paramsSerializer != null) { - if (utils$1.isFunction(paramsSerializer)) { - config.paramsSerializer = { - serialize: paramsSerializer, - }; - } else { - validator.assertOptions( - paramsSerializer, - { - encode: validators.function, - serialize: validators.function, - }, - true - ); - } - } - - // Set config.allowAbsoluteUrls - if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) { - config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls; - } else { - config.allowAbsoluteUrls = true; - } - - validator.assertOptions( - config, - { - baseUrl: validators.spelling('baseURL'), - withXsrfToken: validators.spelling('withXSRFToken'), - }, - true - ); - - // Set config.method - config.method = (config.method || this.defaults.method || 'get').toLowerCase(); - - // Flatten headers - let contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]); - - headers && - utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => { - delete headers[method]; - }); - - config.headers = AxiosHeaders$1.concat(contextHeaders, headers); - - // filter out skipped interceptors - const requestInterceptorChain = []; - let synchronousRequestInterceptors = true; - this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) { - if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) { - return; - } - - synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous; - - const transitional = config.transitional || transitionalDefaults; - const legacyInterceptorReqResOrdering = - transitional && transitional.legacyInterceptorReqResOrdering; - - if (legacyInterceptorReqResOrdering) { - requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected); - } else { - requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); - } - }); - - const responseInterceptorChain = []; - this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) { - responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); - }); - - let promise; - let i = 0; - let len; - - if (!synchronousRequestInterceptors) { - const chain = [dispatchRequest.bind(this), undefined]; - chain.unshift(...requestInterceptorChain); - chain.push(...responseInterceptorChain); - len = chain.length; - - promise = Promise.resolve(config); - - while (i < len) { - promise = promise.then(chain[i++], chain[i++]); - } - - return promise; - } - - len = requestInterceptorChain.length; - - let newConfig = config; - - while (i < len) { - const onFulfilled = requestInterceptorChain[i++]; - const onRejected = requestInterceptorChain[i++]; - try { - newConfig = onFulfilled(newConfig); - } catch (error) { - onRejected.call(this, error); - break; - } - } - - try { - promise = dispatchRequest.call(this, newConfig); - } catch (error) { - return Promise.reject(error); - } - - i = 0; - len = responseInterceptorChain.length; - - while (i < len) { - promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); - } - - return promise; - } - - getUri(config) { - config = mergeConfig$1(this.defaults, config); - const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config); - return buildURL(fullPath, config.params, config.paramsSerializer); - } -}; - -// Provide aliases for supported request methods -utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) { - /*eslint func-names:0*/ - Axios$1.prototype[method] = function (url, config) { - return this.request( - mergeConfig$1(config || {}, { - method, - url, - data: config && utils$1.hasOwnProp(config, 'data') ? config.data : undefined, - }) - ); - }; -}); - -utils$1.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) { - function generateHTTPMethod(isForm) { - return function httpMethod(url, data, config) { - return this.request( - mergeConfig$1(config || {}, { - method, - headers: isForm - ? { - 'Content-Type': 'multipart/form-data', - } - : {}, - url, - data, - }) - ); - }; - } - - Axios$1.prototype[method] = generateHTTPMethod(); - - // QUERY is a safe/idempotent read method; multipart form bodies don't fit - // its semantics, so no queryForm shorthand is generated. - if (method !== 'query') { - Axios$1.prototype[method + 'Form'] = generateHTTPMethod(true); - } -}); - -/** - * A `CancelToken` is an object that can be used to request cancellation of an operation. - * - * @param {Function} executor The executor function. - * - * @returns {CancelToken} - */ -let CancelToken$1 = class CancelToken { - constructor(executor) { - if (typeof executor !== 'function') { - throw new TypeError('executor must be a function.'); - } - - let resolvePromise; - - this.promise = new Promise(function promiseExecutor(resolve) { - resolvePromise = resolve; - }); - - const token = this; - - // eslint-disable-next-line func-names - this.promise.then((cancel) => { - if (!token._listeners) return; - - let i = token._listeners.length; - - while (i-- > 0) { - token._listeners[i](cancel); - } - token._listeners = null; - }); - - // eslint-disable-next-line func-names - this.promise.then = (onfulfilled) => { - let _resolve; - // eslint-disable-next-line func-names - const promise = new Promise((resolve) => { - token.subscribe(resolve); - _resolve = resolve; - }).then(onfulfilled); - - promise.cancel = function reject() { - token.unsubscribe(_resolve); - }; - - return promise; - }; - - executor(function cancel(message, config, request) { - if (token.reason) { - // Cancellation has already been requested - return; - } - - token.reason = new CanceledError$1(message, config, request); - resolvePromise(token.reason); - }); - } - - /** - * Throws a `CanceledError` if cancellation has been requested. - */ - throwIfRequested() { - if (this.reason) { - throw this.reason; - } - } - - /** - * Subscribe to the cancel signal - */ - - subscribe(listener) { - if (this.reason) { - listener(this.reason); - return; - } - - if (this._listeners) { - this._listeners.push(listener); - } else { - this._listeners = [listener]; - } - } - - /** - * Unsubscribe from the cancel signal - */ - - unsubscribe(listener) { - if (!this._listeners) { - return; - } - const index = this._listeners.indexOf(listener); - if (index !== -1) { - this._listeners.splice(index, 1); - } - } - - toAbortSignal() { - const controller = new AbortController(); - - const abort = (err) => { - controller.abort(err); - }; - - this.subscribe(abort); - - controller.signal.unsubscribe = () => this.unsubscribe(abort); - - return controller.signal; - } - - /** - * Returns an object that contains a new `CancelToken` and a function that, when called, - * cancels the `CancelToken`. - */ - static source() { - let cancel; - const token = new CancelToken(function executor(c) { - cancel = c; - }); - return { - token, - cancel, - }; - } -}; - -/** - * Syntactic sugar for invoking a function and expanding an array for arguments. - * - * Common use case would be to use `Function.prototype.apply`. - * - * ```js - * function f(x, y, z) {} - * const args = [1, 2, 3]; - * f.apply(null, args); - * ``` - * - * With `spread` this example can be re-written. - * - * ```js - * spread(function(x, y, z) {})([1, 2, 3]); - * ``` - * - * @param {Function} callback - * - * @returns {Function} - */ -function spread$1(callback) { - return function wrap(arr) { - return callback.apply(null, arr); - }; -} - -/** - * Determines whether the payload is an error thrown by Axios - * - * @param {*} payload The value to test - * - * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false - */ -function isAxiosError$1(payload) { - return utils$1.isObject(payload) && payload.isAxiosError === true; -} - -const HttpStatusCode$1 = { - Continue: 100, - SwitchingProtocols: 101, - Processing: 102, - EarlyHints: 103, - Ok: 200, - Created: 201, - Accepted: 202, - NonAuthoritativeInformation: 203, - NoContent: 204, - ResetContent: 205, - PartialContent: 206, - MultiStatus: 207, - AlreadyReported: 208, - ImUsed: 226, - MultipleChoices: 300, - MovedPermanently: 301, - Found: 302, - SeeOther: 303, - NotModified: 304, - UseProxy: 305, - Unused: 306, - TemporaryRedirect: 307, - PermanentRedirect: 308, - BadRequest: 400, - Unauthorized: 401, - PaymentRequired: 402, - Forbidden: 403, - NotFound: 404, - MethodNotAllowed: 405, - NotAcceptable: 406, - ProxyAuthenticationRequired: 407, - RequestTimeout: 408, - Conflict: 409, - Gone: 410, - LengthRequired: 411, - PreconditionFailed: 412, - PayloadTooLarge: 413, - UriTooLong: 414, - UnsupportedMediaType: 415, - RangeNotSatisfiable: 416, - ExpectationFailed: 417, - ImATeapot: 418, - MisdirectedRequest: 421, - UnprocessableEntity: 422, - Locked: 423, - FailedDependency: 424, - TooEarly: 425, - UpgradeRequired: 426, - PreconditionRequired: 428, - TooManyRequests: 429, - RequestHeaderFieldsTooLarge: 431, - UnavailableForLegalReasons: 451, - InternalServerError: 500, - NotImplemented: 501, - BadGateway: 502, - ServiceUnavailable: 503, - GatewayTimeout: 504, - HttpVersionNotSupported: 505, - VariantAlsoNegotiates: 506, - InsufficientStorage: 507, - LoopDetected: 508, - NotExtended: 510, - NetworkAuthenticationRequired: 511, - WebServerIsDown: 521, - ConnectionTimedOut: 522, - OriginIsUnreachable: 523, - TimeoutOccurred: 524, - SslHandshakeFailed: 525, - InvalidSslCertificate: 526, -}; - -Object.entries(HttpStatusCode$1).forEach(([key, value]) => { - HttpStatusCode$1[value] = key; -}); - -/** - * Create an instance of Axios - * - * @param {Object} defaultConfig The default config for the instance - * - * @returns {Axios} A new instance of Axios - */ -function createInstance(defaultConfig) { - const context = new Axios$1(defaultConfig); - const instance = bind(Axios$1.prototype.request, context); - - // Copy axios.prototype to instance - utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true }); - - // Copy context to instance - utils$1.extend(instance, context, null, { allOwnKeys: true }); - - // Factory for creating new instances - instance.create = function create(instanceConfig) { - return createInstance(mergeConfig$1(defaultConfig, instanceConfig)); - }; - - return instance; -} - -// Create the default instance to be exported -const axios = createInstance(defaults); - -// Expose Axios class to allow class inheritance -axios.Axios = Axios$1; - -// Expose Cancel & CancelToken -axios.CanceledError = CanceledError$1; -axios.CancelToken = CancelToken$1; -axios.isCancel = isCancel$1; -axios.VERSION = VERSION$1; -axios.toFormData = toFormData$1; - -// Expose AxiosError class -axios.AxiosError = AxiosError$1; - -// alias for CanceledError for backward compatibility -axios.Cancel = axios.CanceledError; - -// Expose all/spread -axios.all = function all(promises) { - return Promise.all(promises); -}; - -axios.spread = spread$1; - -// Expose isAxiosError -axios.isAxiosError = isAxiosError$1; - -// Expose mergeConfig -axios.mergeConfig = mergeConfig$1; - -axios.AxiosHeaders = AxiosHeaders$1; - -axios.formToJSON = (thing) => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing); - -axios.getAdapter = adapters.getAdapter; - -axios.HttpStatusCode = HttpStatusCode$1; - -axios.default = axios; - -// This module is intended to unwrap Axios default export as named. -// Keep top-level export same with static properties -// so that it can keep same with es module or cjs -const { - Axios, - AxiosError, - CanceledError, - isCancel, - CancelToken, - VERSION, - all, - Cancel, - isAxiosError, - spread, - toFormData, - AxiosHeaders, - HttpStatusCode, - formToJSON, - getAdapter, - mergeConfig, - create, -} = axios; - -export { Axios, AxiosError, AxiosHeaders, Cancel, CancelToken, CanceledError, HttpStatusCode, VERSION, all, create, axios as default, formToJSON, getAdapter, isAxiosError, isCancel, mergeConfig, spread, toFormData }; -//# sourceMappingURL=axios.js.map diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js deleted file mode 100644 index 247e182..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */ -function e(e,t){return function(){return e.apply(t,arguments)}}const{toString:t}=Object.prototype,{getPrototypeOf:n}=Object,{iterator:r,toStringTag:o}=Symbol,s=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),i=(e,t)=>{let r=e;const o=[];for(;null!=r&&r!==Object.prototype;){if(-1!==o.indexOf(r))return!1;if(o.push(r),s(r,t))return!0;r=n(r)}return!1},a=(c=Object.create(null),e=>{const n=t.call(e);return c[n]||(c[n]=n.slice(8,-1).toLowerCase())});var c;const l=e=>(e=e.toLowerCase(),t=>a(t)===e),u=e=>t=>typeof t===e,{isArray:f}=Array,d=u("undefined");function p(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(e.constructor)&&b(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const h=l("ArrayBuffer");const m=u("string"),b=u("function"),g=u("number"),y=e=>null!==e&&"object"==typeof e,w=e=>{if(!y(e))return!1;const t=n(e);return!(null!==t&&t!==Object.prototype&&null!==n(t)||i(e,o)||i(e,r))},E=l("Date"),O=l("File"),R=l("Blob"),S=l("FileList");const _="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},A=void 0!==_.FormData?_.FormData:void 0,v=l("URLSearchParams"),[T,P,C,N]=["ReadableStream","Request","Response","Headers"].map(l);function x(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),f(e))for(r=0,o=e.length;r0;)if(r=n[o],t===r.toLowerCase())return r;return null}const U="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,D=e=>!d(e)&&e!==U;const L=(F="undefined"!=typeof Uint8Array&&n(Uint8Array),e=>F&&e instanceof F);var F;const B=l("HTMLFormElement"),{propertyIsEnumerable:k}=Object.prototype,q=l("RegExp"),I=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};x(n,(n,o)=>{let s;!1!==(s=t(n,o,e))&&(r[o]=s||n)}),Object.defineProperties(e,r)};const M=l("AsyncFunction"),z=(H="function"==typeof setImmediate,J=b(U.postMessage),H?setImmediate:J?(W=`axios@${Math.random()}`,V=[],U.addEventListener("message",({source:e,data:t})=>{e===U&&t===W&&V.length&&V.shift()()},!1),e=>{V.push(e),U.postMessage(W,"*")}):e=>setTimeout(e));var H,J,W,V;const $="undefined"!=typeof queueMicrotask?queueMicrotask.bind(U):"undefined"!=typeof process&&process.nextTick||z,K=e=>null!=e&&b(e[r]);var X={isArray:f,isArrayBuffer:h,isBuffer:p,isFormData:e=>{if(!e)return!1;if(A&&e instanceof A)return!0;const t=n(e);if(!t||t===Object.prototype)return!1;if(!b(e.append))return!1;const r=a(e);return"formdata"===r||"object"===r&&b(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer),t},isString:m,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:y,isPlainObject:w,isEmptyObject:e=>{if(!y(e)||p(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:T,isRequest:P,isResponse:C,isHeaders:N,isUndefined:d,isDate:E,isFile:O,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:R,isRegExp:q,isFunction:b,isStream:e=>y(e)&&b(e.pipe),isURLSearchParams:v,isTypedArray:L,isFileList:S,forEach:x,merge:function e(...t){const{caseless:n,skipUndefined:r}=D(this)&&this||{},o={},i=(t,i)=>{if("__proto__"===i||"constructor"===i||"prototype"===i)return;const a=n&&"string"==typeof i&&j(o,i)||i,c=s(o,a)?o[a]:void 0;w(c)&&w(t)?o[a]=e(c,t):w(t)?o[a]=e({},t):f(t)?o[a]=t.slice():r&&d(t)||(o[a]=t)};for(let e=0,n=t.length;e(x(n,(n,o)=>{r&&b(n)?Object.defineProperty(t,o,{__proto__:null,value:e(n,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,o,{__proto__:null,value:n,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:o}),t),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,r,o)=>{let s,i,a;const c={};if(t=t||{},null==e)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)a=s[i],o&&!o(a,e,t)||c[a]||(t[a]=e[a],c[a]=!0);e=!1!==r&&n(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:l,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(f(e))return e;let t=e.length;if(!g(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[r]).call(e);let o;for(;(o=n.next())&&!o.done;){const n=o.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:B,hasOwnProperty:s,hasOwnProp:s,hasOwnInPrototypeChain:i,getSafeProp:(e,t)=>null!=e&&i(e,t)?e[t]:void 0,reduceDescriptors:I,freezeMethods:e=>{I(e,(t,n)=>{if(b(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];b(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return f(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:j,global:U,isContextDefined:D,isSpecCompliantForm:function(e){return!!(e&&b(e.append)&&"FormData"===e[o]&&e[r])},toJSONObject:e=>{const t=new WeakSet,n=e=>{if(y(e)){if(t.has(e))return;if(p(e))return e;if(!("toJSON"in e)){t.add(e);const r=f(e)?[]:{};return x(e,(e,t)=>{const o=n(e);!d(o)&&(r[t]=o)}),t.delete(e),r}}return e};return n(e)},isAsyncFn:M,isThenable:e=>e&&(y(e)||b(e))&&b(e.then)&&b(e.catch),setImmediate:z,asap:$,isIterable:K,isSafeIterable:e=>null!=e&&i(e,r)&&K(e)};const G=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Q=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Z=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Y(e,t){return X.isArray(e)?e.map(e=>Y(e,t)):function(e){let t=0,n=e.length;for(;tt;){const t=e.charCodeAt(n-1);if(9!==t&&32!==t)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}(String(e).replace(t,""))}function ee(e){const t=Object.create(null);return X.forEach(e.toJSON(),(e,n)=>{t[n]=(e=>Y(e,Z))(e)}),t}const te=Symbol("internals");function ne(e){return e&&String(e).trim().toLowerCase()}function re(e){return!1===e||null==e?e:X.isArray(e)?e.map(re):(e=>Y(e,Q))(String(e))}function oe(e,t,n,r,o){return X.isFunction(r)?r.call(this,t,n):(o&&(t=n),X.isString(t)?X.isString(r)?-1!==t.indexOf(r):X.isRegExp(r)?r.test(t):void 0:void 0)}let se=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=ne(t);if(!o)return;const s=X.findKey(r,o);(!s||void 0===r[s]||!0===n||void 0===n&&!1!==r[s])&&(r[s||t]=re(e))}const s=(e,t)=>X.forEach(e,(e,n)=>o(e,n,t));if(X.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(X.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))s((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&G[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(X.isObject(e)&&X.isSafeIterable(e)){let n,r,o=Object.create(null);for(const t of e){if(!X.isArray(t))throw new TypeError("Object iterator must return a key-value pair");r=t[0],X.hasOwnProp(o,r)?(n=o[r],o[r]=X.isArray(n)?[...n,t[1]]:[n,t[1]]):o[r]=t[1]}s(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=ne(e)){const n=X.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(X.isFunction(t))return t.call(this,e,n);if(X.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ne(e)){const n=X.findKey(this,e);return!(!n||void 0===this[n]||t&&!oe(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=ne(e)){const o=X.findKey(n,e);!o||t&&!oe(0,n[o],o,t)||(delete n[o],r=!0)}}return X.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!oe(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return X.forEach(this,(r,o)=>{const s=X.findKey(n,o);if(s)return t[s]=re(r),void delete t[o];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();i!==o&&delete t[o],t[i]=re(r),n[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return X.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&X.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[te]=this[te]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=ne(e);t[r]||(!function(e,t){const n=X.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return X.isArray(e)?e.forEach(r):r(e),this}};se.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.reduceDescriptors(se.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),X.freezeMethods(se);function ie(e,t){const n=new Set(t.map(e=>String(e).toLowerCase())),r=[],o=e=>{if(null===e||"object"!=typeof e)return e;if(X.isBuffer(e))return e;if(-1!==r.indexOf(e))return;let t;if(e instanceof se&&(e=e.toJSON()),r.push(e),X.isArray(e))t=[],e.forEach((e,n)=>{const r=o(e);X.isUndefined(r)||(t[n]=r)});else{if(!X.isPlainObject(e)&&function(e){if(X.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(X.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return r.pop(),e;t=Object.create(null);for(const[r,s]of Object.entries(e)){const e=n.has(r.toLowerCase())?"[REDACTED ****]":o(s);X.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return o(e)}let ae=class e extends Error{static from(t,n,r,o,s,i){const a=new e(t.message,n||t.code,r,o,s);return Object.defineProperty(a,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),a.name=t.name,null!=t.status&&null==a.status&&(a.status=t.status),i&&Object.assign(a,i),a}constructor(e,t,n,r,o){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){const e=this.config,t=e&&X.hasOwnProp(e,"redact")?e.redact:void 0,n=X.isArray(t)&&t.length>0?ie(e,t):X.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};ae.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",ae.ERR_BAD_OPTION="ERR_BAD_OPTION",ae.ECONNABORTED="ECONNABORTED",ae.ETIMEDOUT="ETIMEDOUT",ae.ECONNREFUSED="ECONNREFUSED",ae.ERR_NETWORK="ERR_NETWORK",ae.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",ae.ERR_DEPRECATED="ERR_DEPRECATED",ae.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",ae.ERR_BAD_REQUEST="ERR_BAD_REQUEST",ae.ERR_CANCELED="ERR_CANCELED",ae.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",ae.ERR_INVALID_URL="ERR_INVALID_URL",ae.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";function ce(e){return X.isPlainObject(e)||X.isArray(e)}function le(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function ue(e,t,n){return e?e.concat(t).map(function(e,t){return e=le(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const fe=X.toFlatObject(X,{},null,function(e){return/^is[A-Z]/.test(e)});function de(e,t,n){if(!X.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=X.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!X.isUndefined(t[e])})).metaTokens,o=n.visitor||p,s=n.dots,i=n.indexes,a=n.Blob||"undefined"!=typeof Blob&&Blob,c=void 0===n.maxDepth?100:n.maxDepth,l=a&&X.isSpecCompliantForm(t),u=[];if(!X.isFunction(o))throw new TypeError("visitor must be a function");function f(e){if(null===e)return"";if(X.isDate(e))return e.toISOString();if(X.isBoolean(e))return e.toString();if(!l&&X.isBlob(e))throw new ae("Blob is not supported. Use a Buffer instead.");if(X.isArrayBuffer(e)||X.isTypedArray(e)){if(l&&"function"==typeof a)return new a([e]);if("undefined"!=typeof Buffer)return Buffer.from(e);throw new ae("Blob is not supported. Use a Buffer instead.",ae.ERR_NOT_SUPPORT)}return e}function d(e){if(e>c)throw new ae("Object is too deeply nested ("+e+" levels). Max depth: "+c,ae.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,n,o){let a=e;if(X.isReactNative(t)&&X.isReactNativeBlob(e))return t.append(ue(o,n,s),f(e)),!1;if(e&&!o&&"object"==typeof e)if(X.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=function(e,t){if(c===1/0)return JSON.stringify(e);const n=[];return JSON.stringify(e,function(e,r){if(!X.isObject(r))return r;for(;n.length&&n[n.length-1]!==this;)n.pop();return n.push(r),d(t+n.length-1),r})}(e,1);else if(X.isArray(e)&&function(e){return X.isArray(e)&&!e.some(ce)}(e)||(X.isFileList(e)||X.endsWith(n,"[]"))&&(a=X.toArray(e)))return n=le(n),a.forEach(function(e,r){!X.isUndefined(e)&&null!==e&&t.append(!0===i?ue([n],r,s):null===i?n:n+"[]",f(e))}),!1;return!!ce(e)||(t.append(ue(o,n,s),f(e)),!1)}const h=Object.assign(fe,{defaultVisitor:p,convertValue:f,isVisitable:ce});if(!X.isObject(e))throw new TypeError("data must be an object");return function e(n,r,s=0){if(!X.isUndefined(n)){if(d(s),-1!==u.indexOf(n))throw new Error("Circular reference detected in "+r.join("."));u.push(n),X.forEach(n,function(n,i){!0===(!(X.isUndefined(n)||null===n)&&o.call(t,n,X.isString(i)?i.trim():i,r,h))&&e(n,r?r.concat(i):[i],s+1)}),u.pop()}}(e),t}function pe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function he(e,t){this._pairs=[],e&&de(e,this,t)}const me=he.prototype;function be(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ge(e,t,n){if(!t)return e;e=e||"";const r=X.isFunction(n)?{serialize:n}:n,o=X.getSafeProp(r,"encode")||be,s=X.getSafeProp(r,"serialize");let i;if(i=s?s(t,r):X.isURLSearchParams(t)?t.toString():new he(t,r).toString(o),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}me.append=function(e,t){this._pairs.push([e,t])},me.toString=function(e){const t=e?t=>e.call(this,t,pe):pe;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ye{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){X.forEach(this.handlers,function(t){null!==t&&e(t)})}}var we={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Ee={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:he,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Oe="undefined"!=typeof window&&"undefined"!=typeof document,Re="object"==typeof navigator&&navigator||void 0,Se=Oe&&(!Re||["ReactNative","NativeScript","NS"].indexOf(Re.product)<0),_e="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ae=Oe&&window.location.href||"http://localhost";var ve={...Object.freeze({__proto__:null,hasBrowserEnv:Oe,hasStandardBrowserEnv:Se,hasStandardBrowserWebWorkerEnv:_e,navigator:Re,origin:Ae}),...Ee};function Te(e){if(e>100)throw new ae("FormData field is too deeply nested ("+e+" levels). Max depth: 100",ae.ERR_FORM_DATA_DEPTH_EXCEEDED)}function Pe(e){function t(e,n,r,o){Te(o);let s=e[o++];if("__proto__"===s)return!0;const i=Number.isFinite(+s),a=o>=e.length;if(s=!s&&X.isArray(r)?r.length:s,a)return X.hasOwnProp(r,s)?r[s]=X.isArray(r[s])?r[s].concat(n):[r[s],n]:r[s]=n,!i;X.hasOwnProp(r,s)&&X.isObject(r[s])||(r[s]=[]);return t(e,n,r[s],o)&&X.isArray(r[s])&&(r[s]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r{t(function(e){const t=[],n=/\w+|\[(\w*)]/g;let r;for(;null!==(r=n.exec(e));)Te(t.length),t.push("[]"===r[0]?"":r[1]||r[0]);return t}(e),r,n,0)}),n}return null}const Ce=(e,t)=>null!=e&&X.hasOwnProp(e,t)?e[t]:void 0;const Ne={transitional:we,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=X.isObject(e);o&&X.isHTMLForm(e)&&(e=new FormData(e));if(X.isFormData(e))return r?JSON.stringify(Pe(e)):e;if(X.isArrayBuffer(e)||X.isBuffer(e)||X.isStream(e)||X.isFile(e)||X.isBlob(e)||X.isReadableStream(e))return e;if(X.isArrayBufferView(e))return e.buffer;if(X.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){const t=Ce(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return de(e,new ve.classes.URLSearchParams,{visitor:function(e,t,n,r){return ve.isNode&&X.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((s=X.isFileList(e))||n.indexOf("multipart/form-data")>-1){const n=Ce(this,"env"),r=n&&n.FormData;return de(s?{"files[]":e}:e,r&&new r,t)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=Ce(this,"transitional")||Ne.transitional,n=t&&t.forcedJSONParsing,r=Ce(this,"responseType"),o="json"===r;if(X.isResponse(e)||X.isReadableStream(e))return e;if(e&&X.isString(e)&&(n&&!r||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,Ce(this,"parseReviver"))}catch(e){if(n){if("SyntaxError"===e.name)throw ae.from(e,ae.ERR_BAD_RESPONSE,this,null,Ce(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ve.classes.FormData,Blob:ve.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};function xe(e,t){const n=this||Ne,r=t||n,o=se.from(r.headers);let s=r.data;return X.forEach(e,function(e){s=e.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function je(e){return!(!e||!e.__CANCEL__)}X.forEach(["delete","get","head","post","put","patch","query"],e=>{Ne.headers[e]={}});let Ue=class extends ae{constructor(e,t,n){super(null==e?"canceled":e,ae.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function De(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ae("Request failed with status code "+n.status,n.status>=400&&n.status<500?ae.ERR_BAD_REQUEST:ae.ERR_BAD_RESPONSE,n.config,n.request,n)):e(n)}const Le=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,s=0,i=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),l=r[i];o||(o=c),n[s]=a,r[s]=c;let u=i,f=0;for(;u!==s;)f+=n[u++],u%=e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),c-o{o=s,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),a=t-o;a>=s?i(e,t):(n=e,r||(r=setTimeout(()=>{r=null,i(n)},s-a)))},()=>n&&i(n)]}(n=>{if(!n||"number"!=typeof n.loaded)return;const s=n.loaded,i=n.lengthComputable?n.total:void 0,a=null!=i?Math.min(s,i):s,c=Math.max(0,a-r),l=o(c);r=Math.max(r,a);e({loaded:a,total:i,progress:i?a/i:void 0,bytes:c,rate:l||void 0,estimated:l&&i?(i-a)/l:void 0,event:n,lengthComputable:null!=i,[t?"download":"upload"]:!0})},n)},Fe=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Be=e=>(...t)=>X.asap(()=>e(...t));var ke=ve.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ve.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ve.origin),ve.navigator&&/(msie|trident)/i.test(ve.navigator.userAgent)):()=>!0,qe=ve.hasStandardBrowserEnv?{write(e,t,n,r,o,s,i){if("undefined"==typeof document)return;const a=[`${e}=${encodeURIComponent(t)}`];X.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),X.isString(r)&&a.push(`path=${r}`),X.isString(o)&&a.push(`domain=${o}`),!0===s&&a.push("secure"),X.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let n=0;nnull,remove(){}};const Ie=/^https?:(?!\/\/)/i,Me=/[\t\n\r]/g;function ze(e,t){if("string"==typeof e&&Ie.test(function(e){return function(e){let t=0;for(;te instanceof se?{...e}:e;function We(e,t){e=e||{},t=t||{};const n=Object.create(null);function r(e,t,n,r){return X.isPlainObject(e)&&X.isPlainObject(t)?X.merge.call({caseless:r},e,t):X.isPlainObject(t)?X.merge({},t):X.isArray(t)?t.slice():t}function o(e,t,n,o){return X.isUndefined(t)?X.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function s(e,t){if(!X.isUndefined(t))return r(void 0,t)}function i(e,t){return X.isUndefined(t)?X.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,s){return X.hasOwnProp(t,s)?r(n,o):X.hasOwnProp(e,s)?r(void 0,n):void 0}Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const c={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:a,headers:(e,t,n)=>o(Je(e),Je(t),0,!0)};return X.forEach(Object.keys({...e,...t}),function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;const s=X.hasOwnProp(c,r)?c[r]:o,i=s(X.hasOwnProp(e,r)?e[r]:void 0,X.hasOwnProp(t,r)?t[r]:void 0,r);X.isUndefined(i)&&s!==a||(n[r]=i)}),X.hasOwnProp(t,"validateStatus")&&X.isUndefined(t.validateStatus)&&!1===function(n){const r=X.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!X.isUndefined(r)){if(!X.isPlainObject(r))return;if(X.hasOwnProp(r,n))return r[n]}const o=X.hasOwnProp(e,"transitional")?e.transitional:void 0;if(X.isPlainObject(o)&&X.hasOwnProp(o,n))return o[n]}("validateStatusUndefinedResolves")&&(X.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}const Ve=["content-type","content-length"];function $e(e){const t=We({},e),n=e=>X.hasOwnProp(t,e)?t[e]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),i=n("xsrfCookieName");let a=n("headers");const c=n("auth"),l=n("baseURL"),u=n("allowAbsoluteUrls"),f=n("url");if(t.headers=a=se.from(a),t.url=ge(He(l,f,u,t),n("params"),n("paramsSerializer")),c){const t=X.getSafeProp(c,"username")||"",n=X.getSafeProp(c,"password")||"";try{a.set("Authorization","Basic "+btoa(t+":"+(n?encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))):"")))}catch(t){throw ae.from(t,ae.ERR_BAD_OPTION_VALUE,e)}}if(X.isFormData(r)&&(ve.hasStandardBrowserEnv||ve.hasStandardBrowserWebWorkerEnv||X.isReactNative(r)?a.setContentType(void 0):X.isFunction(r.getHeaders)&&function(e,t,n){"content-only"===n?Object.entries(t||{}).forEach(([t,n])=>{Ve.includes(t.toLowerCase())&&e.set(t,n)}):e.set(t)}(a,r.getHeaders(),n("formDataHeaderPolicy"))),ve.hasStandardBrowserEnv){X.isFunction(o)&&(o=o(t));if(!0===o||null==o&&ke(t.url)){const e=s&&i&&qe.read(i);e&&a.set(s,e)}}return t}var Ke="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=$e(e);let o=r.data;const s=se.from(r.headers).normalize();let i,a,c,l,u,{responseType:f,onUploadProgress:d,onDownloadProgress:p}=r;function h(){l&&l(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(i),r.signal&&r.signal.removeEventListener("abort",i)}let m=new XMLHttpRequest;function b(){if(!m)return;const r=se.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());De(function(e){t(e),h()},function(e){n(e),h()},{data:f&&"text"!==f&&"json"!==f?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=b:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&m.responseURL.startsWith("file:"))&&setTimeout(b)},m.onabort=function(){m&&(n(new ae("Request aborted",ae.ECONNABORTED,e,m)),h(),m=null)},m.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new ae(r,ae.ERR_NETWORK,e,m);o.event=t||null,n(o),h(),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||we;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new ae(t,o.clarifyTimeoutError?ae.ETIMEDOUT:ae.ECONNABORTED,e,m)),h(),m=null},void 0===o&&s.setContentType(null),"setRequestHeader"in m&&X.forEach(ee(s),function(e,t){m.setRequestHeader(t,e)}),X.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),f&&"json"!==f&&(m.responseType=r.responseType),p&&([c,u]=Le(p,!0),m.addEventListener("progress",c)),d&&m.upload&&([a,l]=Le(d),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",l)),(r.cancelToken||r.signal)&&(i=t=>{m&&(n(!t||t.type?new Ue(null,e,m):t),m.abort(),h(),m=null)},r.cancelToken&&r.cancelToken.subscribe(i),r.signal&&(r.signal.aborted?i():r.signal.addEventListener("abort",i)));const g=function(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}(r.url);if(g&&!ve.protocols.includes(g))return n(new ae("Unsupported protocol "+g+":",ae.ERR_BAD_REQUEST,e)),void h();m.send(o||null)})};const Xe=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const o=function(e){if(!r){r=!0,i();const t=e instanceof Error?e:this.reason;n.abort(t instanceof ae?t:new Ue(t instanceof Error?t.message:t))}};let s=t&&setTimeout(()=>{s=null,o(new ae(`timeout of ${t}ms exceeded`,ae.ETIMEDOUT))},t);const i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o,{once:!0}));const{signal:a}=n;return a.unsubscribe=()=>X.asap(i),a},Ge=function*(e,t){let n=e.byteLength;if(n{const o=async function*(e,t){for await(const n of Qe(e))yield*Ge(n,t)}(e,t);let s,i=0,a=e=>{s||(s=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let s=r.byteLength;if(n){let e=i+=s;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},Ye=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,et=(e,t,n)=>t+2{if(!X.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},ot=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},st=e=>{const t=void 0!==X.global&&null!==X.global?X.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=X.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:s,Response:i}=e,a=o?nt(o):"function"==typeof fetch,c=nt(s),l=nt(i);if(!a)return!1;const u=a&&nt(n),f=a&&("function"==typeof r?(d=new r,e=>d.encode(e)):async e=>new Uint8Array(await new s(e).arrayBuffer()));var d;const p=c&&u&&ot(()=>{let e=!1;const t=new s(ve.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r}),h=l&&u&&ot(()=>X.isReadableStream(new i("").body)),m={stream:h&&(e=>e.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!m[e]&&(m[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new ae(`Response type '${e}' is not supported`,ae.ERR_NOT_SUPPORT,n)})});const b=async e=>{if(null==e)return 0;if(X.isBlob(e))return e.size;if(X.isSpecCompliantForm(e)){const t=new s(ve.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return X.isArrayBufferView(e)||X.isArrayBuffer(e)?e.byteLength:(X.isURLSearchParams(e)&&(e+=""),X.isString(e)?(await f(e)).byteLength:void 0)};return async e=>{let{url:t,method:n,data:a,signal:l,cancelToken:f,timeout:d,onDownloadProgress:g,onUploadProgress:y,responseType:w,headers:E,withCredentials:O="same-origin",fetchOptions:R,maxContentLength:S,maxBodyLength:_}=$e(e);const A=X.isNumber(S)&&S>-1,v=X.isNumber(_)&&_>-1;let T=o||fetch;w=w?(w+"").toLowerCase():"text";let P=Xe([l,f&&f.toAbortSignal()],d),C=null;const N=P&&P.unsubscribe&&(()=>{P.unsubscribe()});let x,j=null;const U=()=>new ae("Request body larger than maxBodyLength limit",ae.ERR_BAD_REQUEST,e,C);try{let o;const l=(L="auth",X.hasOwnProp(e,L)?e[L]:void 0);if(l){const e=X.getSafeProp(l,"username")||"";o={username:e,password:X.getSafeProp(l,"password")||""}}if((e=>{const t=e.indexOf("://");let n=e;return-1!==t&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")})(t)){const e=new URL(t,ve.origin);if(!o&&(e.username||e.password)){const t=rt(e.username);o={username:t,password:rt(e.password)}}(e.username||e.password)&&(e.username="",e.password="",t=e.href)}if(o&&(E.delete("authorization"),E.set("Authorization","Basic "+btoa((D=(o.username||"")+":"+(o.password||""),encodeURIComponent(D).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))))))),A&&"string"==typeof t&&t.startsWith("data:")){const n=function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length;const t=r.length;for(let n=0;ne>=2&&37===r.charCodeAt(e-2)&&51===r.charCodeAt(e-1)&&(68===r.charCodeAt(e)||100===r.charCodeAt(e));o>=0&&(61===r.charCodeAt(o)?(n++,o--):s(o)&&(n++,o-=3)),1===n&&o>=0&&(61===r.charCodeAt(o)||s(o))&&n++;const i=3*Math.floor(e/4)-(n||0);return i>0?i:0}let o=0;for(let e=0,t=r.length;e=55296&&n<=56319&&e+1=56320&&t<=57343?(o+=4,e++):o+=3}else o+=3}return o}(t);if(n>S)throw new ae("maxContentLength size of "+S+" exceeded",ae.ERR_BAD_RESPONSE,e,C)}if(v&&"get"!==n&&"head"!==n){const e=await b(a);if("number"==typeof e&&isFinite(e)&&(x=e,e>_))throw U()}const f=v&&(X.isReadableStream(a)||X.isStream(a)),d=(e,t,n)=>Ze(e,65536,e=>{if(v&&e>_)throw j=U();t&&t(e)},n);if(p&&"get"!==n&&"head"!==n&&(y||f)){if(x=null==x?await(async(e,t)=>{const n=X.toFiniteNumber(e.getContentLength());return null==n?b(t):n})(E,a):x,0!==x||f){let e,n=new s(t,{method:"POST",body:a,duplex:"half"});if(X.isFormData(a)&&(e=n.headers.get("content-type"))&&E.setContentType(e),n.body){const[e,t]=y&&Fe(x,Le(Be(y)))||[];a=d(n.body,e,t)}}}else if(f&&!c&&u&&"get"!==n&&"head"!==n)a=d(a);else if(f&&c&&!p&&"get"!==n&&"head"!==n)throw new ae("Stream request bodies are not supported by the current fetch implementation",ae.ERR_NOT_SUPPORT,e,C);X.isString(O)||(O=O?"include":"omit");const F=c&&"credentials"in s.prototype;if(X.isFormData(a)){const e=E.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&E.delete("content-type")}E.set("User-Agent","axios/"+tt,!1);const B={...R,signal:P,method:n.toUpperCase(),headers:ee(E.normalize()),body:a,duplex:"half",credentials:F?O:void 0};C=c&&new s(t,B);let k=await(c?T(C,R):T(t,B));const q=se.from(k.headers);if(A){const t=X.toFiniteNumber(q.getContentLength());if(null!=t&&t>S)throw new ae("maxContentLength size of "+S+" exceeded",ae.ERR_BAD_RESPONSE,e,C)}const I=h&&("stream"===w||"response"===w);if(h&&k.body&&(g||A||I&&N)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=k[e]});const n=X.toFiniteNumber(q.getContentLength()),[r,o]=g&&Fe(n,Le(Be(g),!0))||[];let s=0;const a=t=>{if(A&&(s=t,s>S))throw new ae("maxContentLength size of "+S+" exceeded",ae.ERR_BAD_RESPONSE,e,C);r&&r(t)};k=new i(Ze(k.body,65536,a,()=>{o&&o(),N&&N()}),t)}w=w||"text";let M=await m[X.findKey(m,w)||"text"](k,e);if(A&&!h&&!I){let t;if(null!=M&&("number"==typeof M.byteLength?t=M.byteLength:"number"==typeof M.size?t=M.size:"string"==typeof M&&(t="function"==typeof r?(new r).encode(M).byteLength:M.length)),"number"==typeof t&&t>S)throw new ae("maxContentLength size of "+S+" exceeded",ae.ERR_BAD_RESPONSE,e,C)}return!I&&N&&N(),await new Promise((t,n)=>{De(t,n,{data:M,headers:se.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:C})})}catch(t){if(N&&N(),P&&P.aborted&&P.reason instanceof ae){const n=P.reason;throw n.config=e,C&&(n.request=C),t!==n&&Object.defineProperty(n,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),n}if(j)throw C&&!j.request&&(j.request=C),j;if(t instanceof ae)throw C&&!t.request&&(t.request=C),t;if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)){const n=new ae("Network Error",ae.ERR_NETWORK,e,C,t&&t.response);throw Object.defineProperty(n,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),n}throw ae.from(t,t&&t.code,e,C,t&&t.response)}var D,L}},it=new Map,at=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let i,a,c=s.length,l=it;for(;c--;)i=s[c],a=l.get(i),void 0===a&&l.set(i,a=c?new Map:st(t)),l=a;return a};at();const ct={http:null,xhr:Ke,fetch:{get:at}};X.forEach(ct,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const lt=e=>`- ${e}`,ut=e=>X.isFunction(e)||null===e||!1===e;var ft={getAdapter:function(e,t){e=X.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let i=0;i`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(lt).join("\n"):" "+lt(e[0]):"as no adapter specified";throw new ae("There is no suitable adapter to dispatch the request "+t,ae.ERR_NOT_SUPPORT)}return o},adapters:ct};function dt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ue(null,e)}function pt(e){dt(e),e.headers=se.from(e.headers),e.data=xe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return ft.getAdapter(e.adapter||Ne.adapter,e)(e).then(function(t){dt(e),e.response=t;try{t.data=xe.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=se.from(t.headers),t},function(t){if(!je(t)&&(dt(e),t&&t.response)){e.response=t.response;try{t.response.data=xe.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=se.from(t.response.headers)}return Promise.reject(t)})}const ht={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ht[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const mt={};ht.transitional=function(e,t,n){function r(e,t){return"[Axios v"+tt+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,s)=>{if(!1===e)throw new ae(r(o," has been removed"+(t?" in "+t:"")),ae.ERR_DEPRECATED);return t&&!mt[o]&&(mt[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,s)}},ht.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var bt={assertOptions:function(e,t,n){if("object"!=typeof e||null===e)throw new ae("options must be an object",ae.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(i){const t=e[s],n=void 0===t||i(t,s,e);if(!0!==n)throw new ae("option "+s+" must be "+n,ae.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new ae("Unknown option "+s,ae.ERR_BAD_OPTION)}},validators:ht};const gt=bt.validators;let yt=class{constructor(e){this.defaults=e||{},this.interceptors={request:new ye,response:new ye}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(n){const t=n.indexOf("\n"),r=-1===t?-1:n.indexOf("\n",t+1),o=-1===r?"":n.slice(r+1);String(e.stack).endsWith(o)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=We(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&bt.assertOptions(n,{silentJSONParsing:gt.transitional(gt.boolean),forcedJSONParsing:gt.transitional(gt.boolean),clarifyTimeoutError:gt.transitional(gt.boolean),legacyInterceptorReqResOrdering:gt.transitional(gt.boolean),advertiseZstdAcceptEncoding:gt.transitional(gt.boolean),validateStatusUndefinedResolves:gt.transitional(gt.boolean)},!1),null!=r&&(X.isFunction(r)?t.paramsSerializer={serialize:r}:bt.assertOptions(r,{encode:gt.function,serialize:gt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),bt.assertOptions(t,{baseUrl:gt.spelling("baseURL"),withXsrfToken:gt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=o&&X.merge(o.common,o[t.method]);o&&X.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete o[e]}),t.headers=se.concat(s,o);const i=[];let a=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;a=a&&e.synchronous;const n=t.transitional||we;n&&n.legacyInterceptorReqResOrdering?i.unshift(e.fulfilled,e.rejected):i.push(e.fulfilled,e.rejected)});const c=[];let l;this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let u,f=0;if(!a){const e=[pt.bind(this),void 0];for(e.unshift(...i),e.push(...c),u=e.length,l=Promise.resolve(t);f{wt[t]=e});const Et=function t(n){const r=new yt(n),o=e(yt.prototype.request,r);return X.extend(o,yt.prototype,r,{allOwnKeys:!0}),X.extend(o,r,null,{allOwnKeys:!0}),o.create=function(e){return t(We(n,e))},o}(Ne);Et.Axios=yt,Et.CanceledError=Ue,Et.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new Ue(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}},Et.isCancel=je,Et.VERSION=tt,Et.toFormData=de,Et.AxiosError=ae,Et.Cancel=Et.CanceledError,Et.all=function(e){return Promise.all(e)},Et.spread=function(e){return function(t){return e.apply(null,t)}},Et.isAxiosError=function(e){return X.isObject(e)&&!0===e.isAxiosError},Et.mergeConfig=We,Et.AxiosHeaders=se,Et.formToJSON=e=>Pe(X.isHTMLForm(e)?new FormData(e):e),Et.getAdapter=ft.getAdapter,Et.HttpStatusCode=wt,Et.default=Et;const{Axios:Ot,AxiosError:Rt,CanceledError:St,isCancel:_t,CancelToken:At,VERSION:vt,all:Tt,Cancel:Pt,isAxiosError:Ct,spread:Nt,toFormData:xt,AxiosHeaders:jt,HttpStatusCode:Ut,formToJSON:Dt,getAdapter:Lt,mergeConfig:Ft,create:Bt}=Et;export{Ot as Axios,Rt as AxiosError,jt as AxiosHeaders,Pt as Cancel,At as CancelToken,St as CanceledError,Ut as HttpStatusCode,vt as VERSION,Tt as all,Bt as create,Et as default,Dt as formToJSON,Lt as getAdapter,Ct as isAxiosError,_t as isCancel,Ft as mergeConfig,Nt as spread,xt as toFormData}; -//# sourceMappingURL=axios.min.js.map diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js.map b/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js.map deleted file mode 100644 index 479cd49..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/dist/esm/axios.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"axios.min.js","sources":["../../lib/helpers/bind.js","../../lib/utils.js","../../lib/helpers/parseHeaders.js","../../lib/helpers/sanitizeHeaderValue.js","../../lib/core/AxiosHeaders.js","../../lib/core/AxiosError.js","../../lib/helpers/toFormData.js","../../lib/helpers/AxiosURLSearchParams.js","../../lib/helpers/buildURL.js","../../lib/core/InterceptorManager.js","../../lib/defaults/transitional.js","../../lib/platform/browser/index.js","../../lib/platform/browser/classes/URLSearchParams.js","../../lib/platform/browser/classes/FormData.js","../../lib/platform/browser/classes/Blob.js","../../lib/platform/common/utils.js","../../lib/platform/index.js","../../lib/helpers/formDataToJSON.js","../../lib/defaults/index.js","../../lib/helpers/toURLEncodedForm.js","../../lib/core/transformData.js","../../lib/cancel/isCancel.js","../../lib/cancel/CanceledError.js","../../lib/core/settle.js","../../lib/helpers/progressEventReducer.js","../../lib/helpers/speedometer.js","../../lib/helpers/throttle.js","../../lib/helpers/isURLSameOrigin.js","../../lib/helpers/cookies.js","../../lib/core/buildFullPath.js","../../lib/helpers/isAbsoluteURL.js","../../lib/helpers/combineURLs.js","../../lib/core/mergeConfig.js","../../lib/helpers/resolveConfig.js","../../lib/adapters/xhr.js","../../lib/helpers/parseProtocol.js","../../lib/helpers/composeSignals.js","../../lib/helpers/trackStream.js","../../lib/helpers/estimateDataURLDecodedBytes.js","../../lib/env/data.js","../../lib/adapters/fetch.js","../../lib/adapters/adapters.js","../../lib/helpers/null.js","../../lib/core/dispatchRequest.js","../../lib/helpers/validator.js","../../lib/core/Axios.js","../../lib/helpers/HttpStatusCode.js","../../lib/axios.js","../../lib/cancel/CancelToken.js","../../lib/helpers/spread.js","../../lib/helpers/isAxiosError.js","../../index.js"],"sourcesContent":["'use strict';\n\n/**\n * Create a bound version of a function with a specified `this` context\n *\n * @param {Function} fn - The function to bind\n * @param {*} thisArg - The value to be passed as the `this` parameter\n * @returns {Function} A new function that will call the original function with the specified `this` context\n */\nexport default function bind(fn, thisArg) {\n return function wrap() {\n return fn.apply(thisArg, arguments);\n };\n}\n","'use strict';\n\nimport bind from './helpers/bind.js';\n\n// utils is a library of generic helper functions non-specific to axios\n\nconst { toString } = Object.prototype;\nconst { getPrototypeOf } = Object;\nconst { iterator, toStringTag } = Symbol;\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (\n ({ hasOwnProperty }) =>\n (obj, prop) =>\n hasOwnProperty.call(obj, prop)\n)(Object.prototype);\n\n/**\n * Walk the prototype chain (excluding the shared Object.prototype) looking for\n * an own `prop`. This distinguishes genuine own/inherited members — including\n * class accessors and template prototypes — from members injected via\n * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which\n * live on Object.prototype itself and are therefore never matched.\n *\n * @param {*} thing The value whose chain to inspect\n * @param {string|symbol} prop The property key to look for\n *\n * @returns {boolean} True when `prop` is owned below Object.prototype\n */\nconst hasOwnInPrototypeChain = (thing, prop) => {\n let obj = thing;\n const seen = [];\n\n while (obj != null && obj !== Object.prototype) {\n if (seen.indexOf(obj) !== -1) {\n return false;\n }\n seen.push(obj);\n\n if (hasOwnProperty(obj, prop)) {\n return true;\n }\n obj = getPrototypeOf(obj);\n }\n return false;\n};\n\n/**\n * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own\n * properties and members inherited from a non-Object.prototype source (a class\n * instance or template object) are honored; a value reachable only through a\n * polluted Object.prototype is ignored and `undefined` is returned.\n *\n * @param {*} obj The source object\n * @param {string|symbol} prop The property key to read\n *\n * @returns {*} The resolved value, or undefined when unsafe/absent\n */\nconst getSafeProp = (obj, prop) =>\n obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined;\n\nconst kindOf = ((cache) => (thing) => {\n const str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n})(Object.create(null));\n\nconst kindOfTest = (type) => {\n type = type.toLowerCase();\n return (thing) => kindOf(thing) === type;\n};\n\nconst typeOfTest = (type) => (thing) => typeof thing === type;\n\n/**\n * Determine if a value is a non-null object\n *\n * @param {Object} val The value to test\n *\n * @returns {boolean} True if value is an Array, otherwise false\n */\nconst { isArray } = Array;\n\n/**\n * Determine if a value is undefined\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nconst isUndefined = typeOfTest('undefined');\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return (\n val !== null &&\n !isUndefined(val) &&\n val.constructor !== null &&\n !isUndefined(val.constructor) &&\n isFunction(val.constructor.isBuffer) &&\n val.constructor.isBuffer(val)\n );\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nconst isArrayBuffer = kindOfTest('ArrayBuffer');\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n let result;\n if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {\n result = ArrayBuffer.isView(val);\n } else {\n result = val && val.buffer && isArrayBuffer(val.buffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a String, otherwise false\n */\nconst isString = typeOfTest('string');\n\n/**\n * Determine if a value is a Function\n *\n * @param {*} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nconst isFunction = typeOfTest('function');\n\n/**\n * Determine if a value is a Number\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Number, otherwise false\n */\nconst isNumber = typeOfTest('number');\n\n/**\n * Determine if a value is an Object\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an Object, otherwise false\n */\nconst isObject = (thing) => thing !== null && typeof thing === 'object';\n\n/**\n * Determine if a value is a Boolean\n *\n * @param {*} thing The value to test\n * @returns {boolean} True if value is a Boolean, otherwise false\n */\nconst isBoolean = (thing) => thing === true || thing === false;\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a plain Object, otherwise false\n */\nconst isPlainObject = (val) => {\n if (!isObject(val)) {\n return false;\n }\n\n const prototype = getPrototypeOf(val);\n return (\n (prototype === null ||\n prototype === Object.prototype ||\n getPrototypeOf(prototype) === null) &&\n // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or\n // Symbol.iterator as evidence the value is a tagged/iterable type rather\n // than a plain object, while ignoring keys injected onto Object.prototype.\n !hasOwnInPrototypeChain(val, toStringTag) &&\n !hasOwnInPrototypeChain(val, iterator)\n );\n};\n\n/**\n * Determine if a value is an empty object (safely handles Buffers)\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an empty object, otherwise false\n */\nconst isEmptyObject = (val) => {\n // Early return for non-objects or Buffers to prevent RangeError\n if (!isObject(val) || isBuffer(val)) {\n return false;\n }\n\n try {\n return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;\n } catch (e) {\n // Fallback for any other objects that might cause RangeError with Object.keys()\n return false;\n }\n};\n\n/**\n * Determine if a value is a Date\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Date, otherwise false\n */\nconst isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a React Native Blob\n * React Native \"blob\": an object with a `uri` attribute. Optionally, it can\n * also have a `name` and `type` attribute to specify filename and content type\n *\n * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71\n *\n * @param {*} value The value to test\n *\n * @returns {boolean} True if value is a React Native Blob, otherwise false\n */\nconst isReactNativeBlob = (value) => {\n return !!(value && typeof value.uri !== 'undefined');\n};\n\n/**\n * Determine if environment is React Native\n * ReactNative `FormData` has a non-standard `getParts()` method\n *\n * @param {*} formData The formData to test\n *\n * @returns {boolean} True if environment is React Native, otherwise false\n */\nconst isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';\n\n/**\n * Determine if a value is a Blob\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nconst isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a FileList, otherwise false\n */\nconst isFileList = kindOfTest('FileList');\n\n/**\n * Determine if a value is a Stream\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nconst isStream = (val) => isObject(val) && isFunction(val.pipe);\n\n/**\n * Determine if a value is a FormData\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction getGlobal() {\n if (typeof globalThis !== 'undefined') return globalThis;\n if (typeof self !== 'undefined') return self;\n if (typeof window !== 'undefined') return window;\n if (typeof global !== 'undefined') return global;\n return {};\n}\n\nconst G = getGlobal();\nconst FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;\n\nconst isFormData = (thing) => {\n if (!thing) return false;\n if (FormDataCtor && thing instanceof FormDataCtor) return true;\n // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData.\n const proto = getPrototypeOf(thing);\n if (!proto || proto === Object.prototype) return false;\n if (!isFunction(thing.append)) return false;\n const kind = kindOf(thing);\n return (\n kind === 'formdata' ||\n // detect form-data instance\n (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')\n );\n};\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nconst isURLSearchParams = kindOfTest('URLSearchParams');\n\nconst [isReadableStream, isRequest, isResponse, isHeaders] = [\n 'ReadableStream',\n 'Request',\n 'Response',\n 'Headers',\n].map(kindOfTest);\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n *\n * @returns {String} The String freed of excess whitespace\n */\nconst trim = (str) => {\n return str.trim ? str.trim() : str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n};\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n *\n * @param {Object} [options]\n * @param {Boolean} [options.allOwnKeys = false]\n * @returns {any}\n */\nfunction forEach(obj, fn, { allOwnKeys = false } = {}) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n let i;\n let l;\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Buffer check\n if (isBuffer(obj)) {\n return;\n }\n\n // Iterate over object keys\n const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);\n const len = keys.length;\n let key;\n\n for (i = 0; i < len; i++) {\n key = keys[i];\n fn.call(null, obj[key], key, obj);\n }\n }\n}\n\n/**\n * Finds a key in an object, case-insensitive, returning the actual key name.\n * Returns null if the object is a Buffer or if no match is found.\n *\n * @param {Object} obj - The object to search.\n * @param {string} key - The key to find (case-insensitive).\n * @returns {?string} The actual key name if found, otherwise null.\n */\nfunction findKey(obj, key) {\n if (isBuffer(obj)) {\n return null;\n }\n\n key = key.toLowerCase();\n const keys = Object.keys(obj);\n let i = keys.length;\n let _key;\n while (i-- > 0) {\n _key = keys[i];\n if (key === _key.toLowerCase()) {\n return _key;\n }\n }\n return null;\n}\n\nconst _global = (() => {\n /*eslint no-undef:0*/\n if (typeof globalThis !== 'undefined') return globalThis;\n return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;\n})();\n\nconst isContextDefined = (context) => !isUndefined(context) && context !== _global;\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * const result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n *\n * @returns {Object} Result of all merge properties\n */\nfunction merge(...objs) {\n const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};\n const result = {};\n const assignValue = (val, key) => {\n // Skip dangerous property names to prevent prototype pollution\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return;\n }\n\n // findKey lowercases the key, so caseless lookup only applies to strings —\n // symbol keys are identity-matched.\n const targetKey = (caseless && typeof key === 'string' && findKey(result, key)) || key;\n // Read via own-prop only — a bare `result[targetKey]` walks the prototype\n // chain, so a polluted Object.prototype value could surface here and get\n // copied into the merged result.\n const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined;\n if (isPlainObject(existing) && isPlainObject(val)) {\n result[targetKey] = merge(existing, val);\n } else if (isPlainObject(val)) {\n result[targetKey] = merge({}, val);\n } else if (isArray(val)) {\n result[targetKey] = val.slice();\n } else if (!skipUndefined || !isUndefined(val)) {\n result[targetKey] = val;\n }\n };\n\n for (let i = 0, l = objs.length; i < l; i++) {\n const source = objs[i];\n if (!source || isBuffer(source)) {\n continue;\n }\n\n forEach(source, assignValue);\n\n if (typeof source !== 'object' || isArray(source)) {\n continue;\n }\n\n const symbols = Object.getOwnPropertySymbols(source);\n for (let j = 0; j < symbols.length; j++) {\n const symbol = symbols[j];\n if (propertyIsEnumerable.call(source, symbol)) {\n assignValue(source[symbol], symbol);\n }\n }\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n *\n * @param {Object} [options]\n * @param {Boolean} [options.allOwnKeys]\n * @returns {Object} The resulting value of object a\n */\nconst extend = (a, b, thisArg, { allOwnKeys } = {}) => {\n forEach(\n b,\n (val, key) => {\n if (thisArg && isFunction(val)) {\n Object.defineProperty(a, key, {\n // Null-proto descriptor so a polluted Object.prototype.get cannot\n // hijack defineProperty's accessor-vs-data resolution.\n __proto__: null,\n value: bind(val, thisArg),\n writable: true,\n enumerable: true,\n configurable: true,\n });\n } else {\n Object.defineProperty(a, key, {\n __proto__: null,\n value: val,\n writable: true,\n enumerable: true,\n configurable: true,\n });\n }\n },\n { allOwnKeys }\n );\n return a;\n};\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n *\n * @returns {string} content value without BOM\n */\nconst stripBOM = (content) => {\n if (content.charCodeAt(0) === 0xfeff) {\n content = content.slice(1);\n }\n return content;\n};\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n *\n * @returns {void}\n */\nconst inherits = (constructor, superConstructor, props, descriptors) => {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n Object.defineProperty(constructor.prototype, 'constructor', {\n __proto__: null,\n value: constructor,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n Object.defineProperty(constructor, 'super', {\n __proto__: null,\n value: superConstructor.prototype,\n });\n props && Object.assign(constructor.prototype, props);\n};\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function|Boolean} [filter]\n * @param {Function} [propFilter]\n *\n * @returns {Object}\n */\nconst toFlatObject = (sourceObj, destObj, filter, propFilter) => {\n let props;\n let i;\n let prop;\n const merged = {};\n\n destObj = destObj || {};\n // eslint-disable-next-line no-eq-null,eqeqeq\n if (sourceObj == null) return destObj;\n\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = filter !== false && getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n\n return destObj;\n};\n\n/**\n * Determines whether a string ends with the characters of a specified string\n *\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n *\n * @returns {boolean}\n */\nconst endsWith = (str, searchString, position) => {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n const lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n};\n\n/**\n * Returns new array from array like object or null if failed\n *\n * @param {*} [thing]\n *\n * @returns {?Array}\n */\nconst toArray = (thing) => {\n if (!thing) return null;\n if (isArray(thing)) return thing;\n let i = thing.length;\n if (!isNumber(i)) return null;\n const arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n};\n\n/**\n * Checking if the Uint8Array exists and if it does, it returns a function that checks if the\n * thing passed in is an instance of Uint8Array\n *\n * @param {TypedArray}\n *\n * @returns {Array}\n */\n// eslint-disable-next-line func-names\nconst isTypedArray = ((TypedArray) => {\n // eslint-disable-next-line func-names\n return (thing) => {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));\n\n/**\n * For each entry in the object, call the function with the key and value.\n *\n * @param {Object} obj - The object to iterate over.\n * @param {Function} fn - The function to call for each entry.\n *\n * @returns {void}\n */\nconst forEachEntry = (obj, fn) => {\n const generator = obj && obj[iterator];\n\n const _iterator = generator.call(obj);\n\n let result;\n\n while ((result = _iterator.next()) && !result.done) {\n const pair = result.value;\n fn.call(obj, pair[0], pair[1]);\n }\n};\n\n/**\n * It takes a regular expression and a string, and returns an array of all the matches\n *\n * @param {string} regExp - The regular expression to match against.\n * @param {string} str - The string to search.\n *\n * @returns {Array}\n */\nconst matchAll = (regExp, str) => {\n let matches;\n const arr = [];\n\n while ((matches = regExp.exec(str)) !== null) {\n arr.push(matches);\n }\n\n return arr;\n};\n\n/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */\nconst isHTMLForm = kindOfTest('HTMLFormElement');\n\nconst toCamelCase = (str) => {\n return str.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g, function replacer(m, p1, p2) {\n return p1.toUpperCase() + p2;\n });\n};\n\nconst { propertyIsEnumerable } = Object.prototype;\n\n/**\n * Determine if a value is a RegExp object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a RegExp object, otherwise false\n */\nconst isRegExp = kindOfTest('RegExp');\n\nconst reduceDescriptors = (obj, reducer) => {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n const reducedDescriptors = {};\n\n forEach(descriptors, (descriptor, name) => {\n let ret;\n if ((ret = reducer(descriptor, name, obj)) !== false) {\n reducedDescriptors[name] = ret || descriptor;\n }\n });\n\n Object.defineProperties(obj, reducedDescriptors);\n};\n\n/**\n * Makes all methods read-only\n * @param {Object} obj\n */\n\nconst freezeMethods = (obj) => {\n reduceDescriptors(obj, (descriptor, name) => {\n // skip restricted props in strict mode\n if (isFunction(obj) && ['arguments', 'caller', 'callee'].includes(name)) {\n return false;\n }\n\n const value = obj[name];\n\n if (!isFunction(value)) return;\n\n descriptor.enumerable = false;\n\n if ('writable' in descriptor) {\n descriptor.writable = false;\n return;\n }\n\n if (!descriptor.set) {\n descriptor.set = () => {\n throw Error(\"Can not rewrite read-only method '\" + name + \"'\");\n };\n }\n });\n};\n\n/**\n * Converts an array or a delimited string into an object set with values as keys and true as values.\n * Useful for fast membership checks.\n *\n * @param {Array|string} arrayOrString - The array or string to convert.\n * @param {string} delimiter - The delimiter to use if input is a string.\n * @returns {Object} An object with keys from the array or string, values set to true.\n */\nconst toObjectSet = (arrayOrString, delimiter) => {\n const obj = {};\n\n const define = (arr) => {\n arr.forEach((value) => {\n obj[value] = true;\n });\n };\n\n isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));\n\n return obj;\n};\n\nconst noop = () => {};\n\nconst toFiniteNumber = (value, defaultValue) => {\n return value != null && Number.isFinite((value = +value)) ? value : defaultValue;\n};\n\n/**\n * If the thing is a FormData object, return true, otherwise return false.\n *\n * @param {unknown} thing - The thing to check.\n *\n * @returns {boolean}\n */\nfunction isSpecCompliantForm(thing) {\n return !!(\n thing &&\n isFunction(thing.append) &&\n thing[toStringTag] === 'FormData' &&\n thing[iterator]\n );\n}\n\n/**\n * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.\n *\n * @param {Object} obj - The object to convert.\n * @returns {Object} The JSON-compatible object.\n */\nconst toJSONObject = (obj) => {\n const visited = new WeakSet();\n\n const visit = (source) => {\n if (isObject(source)) {\n if (visited.has(source)) {\n return;\n }\n\n //Buffer check\n if (isBuffer(source)) {\n return source;\n }\n\n if (!('toJSON' in source)) {\n // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230).\n visited.add(source);\n const target = isArray(source) ? [] : {};\n\n forEach(source, (value, key) => {\n const reducedValue = visit(value);\n !isUndefined(reducedValue) && (target[key] = reducedValue);\n });\n\n visited.delete(source);\n\n return target;\n }\n }\n\n return source;\n };\n\n return visit(obj);\n};\n\n/**\n * Determines if a value is an async function.\n *\n * @param {*} thing - The value to test.\n * @returns {boolean} True if value is an async function, otherwise false.\n */\nconst isAsyncFn = kindOfTest('AsyncFunction');\n\n/**\n * Determines if a value is thenable (has then and catch methods).\n *\n * @param {*} thing - The value to test.\n * @returns {boolean} True if value is thenable, otherwise false.\n */\nconst isThenable = (thing) =>\n thing &&\n (isObject(thing) || isFunction(thing)) &&\n isFunction(thing.then) &&\n isFunction(thing.catch);\n\n// original code\n// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34\n\n/**\n * Provides a cross-platform setImmediate implementation.\n * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.\n *\n * @param {boolean} setImmediateSupported - Whether setImmediate is supported.\n * @param {boolean} postMessageSupported - Whether postMessage is supported.\n * @returns {Function} A function to schedule a callback asynchronously.\n */\nconst _setImmediate = ((setImmediateSupported, postMessageSupported) => {\n if (setImmediateSupported) {\n return setImmediate;\n }\n\n return postMessageSupported\n ? ((token, callbacks) => {\n _global.addEventListener(\n 'message',\n ({ source, data }) => {\n if (source === _global && data === token) {\n callbacks.length && callbacks.shift()();\n }\n },\n false\n );\n\n return (cb) => {\n callbacks.push(cb);\n _global.postMessage(token, '*');\n };\n })(`axios@${Math.random()}`, [])\n : (cb) => setTimeout(cb);\n})(typeof setImmediate === 'function', isFunction(_global.postMessage));\n\n/**\n * Schedules a microtask or asynchronous callback as soon as possible.\n * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.\n *\n * @type {Function}\n */\nconst asap =\n typeof queueMicrotask !== 'undefined'\n ? queueMicrotask.bind(_global)\n : (typeof process !== 'undefined' && process.nextTick) || _setImmediate;\n\n// *********************\n\nconst isIterable = (thing) => thing != null && isFunction(thing[iterator]);\n\n/**\n * Determine if a value is iterable via an iterator that is NOT sourced solely\n * from a polluted Object.prototype. Use this instead of `isIterable` whenever\n * the iterable comes from untrusted input (e.g. user-supplied header sources),\n * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object\n * into an attacker-controlled entries iterator.\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value has a non-polluted iterator\n */\nconst isSafeIterable = (thing) =>\n thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing);\n\nexport default {\n isArray,\n isArrayBuffer,\n isBuffer,\n isFormData,\n isArrayBufferView,\n isString,\n isNumber,\n isBoolean,\n isObject,\n isPlainObject,\n isEmptyObject,\n isReadableStream,\n isRequest,\n isResponse,\n isHeaders,\n isUndefined,\n isDate,\n isFile,\n isReactNativeBlob,\n isReactNative,\n isBlob,\n isRegExp,\n isFunction,\n isStream,\n isURLSearchParams,\n isTypedArray,\n isFileList,\n forEach,\n merge,\n extend,\n trim,\n stripBOM,\n inherits,\n toFlatObject,\n kindOf,\n kindOfTest,\n endsWith,\n toArray,\n forEachEntry,\n matchAll,\n isHTMLForm,\n hasOwnProperty,\n hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection\n hasOwnInPrototypeChain,\n getSafeProp,\n reduceDescriptors,\n freezeMethods,\n toObjectSet,\n toCamelCase,\n noop,\n toFiniteNumber,\n findKey,\n global: _global,\n isContextDefined,\n isSpecCompliantForm,\n toJSONObject,\n isAsyncFn,\n isThenable,\n setImmediate: _setImmediate,\n asap,\n isIterable,\n isSafeIterable,\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\n// RawAxiosHeaders whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nconst ignoreDuplicateOf = utils.toObjectSet([\n 'age',\n 'authorization',\n 'content-length',\n 'content-type',\n 'etag',\n 'expires',\n 'from',\n 'host',\n 'if-modified-since',\n 'if-unmodified-since',\n 'last-modified',\n 'location',\n 'max-forwards',\n 'proxy-authorization',\n 'referer',\n 'retry-after',\n 'user-agent',\n]);\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} rawHeaders Headers needing to be parsed\n *\n * @returns {Object} Headers parsed into an object\n */\nexport default (rawHeaders) => {\n const parsed = {};\n let key;\n let val;\n let i;\n\n rawHeaders &&\n rawHeaders.split('\\n').forEach(function parser(line) {\n i = line.indexOf(':');\n key = line.substring(0, i).trim().toLowerCase();\n val = line.substring(i + 1).trim();\n\n if (!key || (parsed[key] && ignoreDuplicateOf[key])) {\n return;\n }\n\n if (key === 'set-cookie') {\n if (parsed[key]) {\n parsed[key].push(val);\n } else {\n parsed[key] = [val];\n }\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\nfunction trimSPorHTAB(str) {\n let start = 0;\n let end = str.length;\n\n while (start < end) {\n const code = str.charCodeAt(start);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n start += 1;\n }\n\n while (end > start) {\n const code = str.charCodeAt(end - 1);\n\n if (code !== 0x09 && code !== 0x20) {\n break;\n }\n\n end -= 1;\n }\n\n return start === 0 && end === str.length ? str : str.slice(start, end);\n}\n\n// The control-code ranges are intentional: header sanitization strips C0/DEL bytes.\n// eslint-disable-next-line no-control-regex\nconst INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\\\u0000-\\\\u0008\\\\u000a-\\\\u001f\\\\u007f]+', 'g');\n// eslint-disable-next-line no-control-regex\nconst INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\\\u0009\\\\u0020-\\\\u007e\\\\u0080-\\\\u00ff]+', 'g');\n\nfunction sanitizeValue(value, invalidChars) {\n if (utils.isArray(value)) {\n return value.map((item) => sanitizeValue(item, invalidChars));\n }\n\n return trimSPorHTAB(String(value).replace(invalidChars, ''));\n}\n\nexport const sanitizeHeaderValue = (value) =>\n sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS);\n\nexport const sanitizeByteStringHeaderValue = (value) =>\n sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS);\n\nexport function toByteStringHeaderObject(headers) {\n const byteStringHeaders = Object.create(null);\n\n utils.forEach(headers.toJSON(), (value, header) => {\n byteStringHeaders[header] = sanitizeByteStringHeaderValue(value);\n });\n\n return byteStringHeaders;\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport parseHeaders from '../helpers/parseHeaders.js';\nimport { sanitizeHeaderValue } from '../helpers/sanitizeHeaderValue.js';\n\nconst $internals = Symbol('internals');\n\nfunction normalizeHeader(header) {\n return header && String(header).trim().toLowerCase();\n}\n\nfunction normalizeValue(value) {\n if (value === false || value == null) {\n return value;\n }\n\n return utils.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value));\n}\n\nfunction parseTokens(str) {\n const tokens = Object.create(null);\n const tokensRE = /([^\\s,;=]+)\\s*(?:=\\s*([^,;]+))?/g;\n let match;\n\n while ((match = tokensRE.exec(str))) {\n tokens[match[1]] = match[2];\n }\n\n return tokens;\n}\n\nconst isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());\n\nfunction matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {\n if (utils.isFunction(filter)) {\n return filter.call(this, value, header);\n }\n\n if (isHeaderNameFilter) {\n value = header;\n }\n\n if (!utils.isString(value)) return;\n\n if (utils.isString(filter)) {\n return value.indexOf(filter) !== -1;\n }\n\n if (utils.isRegExp(filter)) {\n return filter.test(value);\n }\n}\n\nfunction formatHeader(header) {\n return header\n .trim()\n .toLowerCase()\n .replace(/([a-z\\d])(\\w*)/g, (w, char, str) => {\n return char.toUpperCase() + str;\n });\n}\n\nfunction buildAccessors(obj, header) {\n const accessorName = utils.toCamelCase(' ' + header);\n\n ['get', 'set', 'has'].forEach((methodName) => {\n Object.defineProperty(obj, methodName + accessorName, {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: function (arg1, arg2, arg3) {\n return this[methodName].call(this, header, arg1, arg2, arg3);\n },\n configurable: true,\n });\n });\n}\n\nclass AxiosHeaders {\n constructor(headers) {\n headers && this.set(headers);\n }\n\n set(header, valueOrRewrite, rewrite) {\n const self = this;\n\n function setHeader(_value, _header, _rewrite) {\n const lHeader = normalizeHeader(_header);\n\n if (!lHeader) {\n return;\n }\n\n const key = utils.findKey(self, lHeader);\n\n if (\n !key ||\n self[key] === undefined ||\n _rewrite === true ||\n (_rewrite === undefined && self[key] !== false)\n ) {\n self[key || _header] = normalizeValue(_value);\n }\n }\n\n const setHeaders = (headers, _rewrite) =>\n utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));\n\n if (utils.isPlainObject(header) || header instanceof this.constructor) {\n setHeaders(header, valueOrRewrite);\n } else if (utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {\n setHeaders(parseHeaders(header), valueOrRewrite);\n } else if (utils.isObject(header) && utils.isSafeIterable(header)) {\n let obj = Object.create(null),\n dest,\n key;\n for (const entry of header) {\n if (!utils.isArray(entry)) {\n throw new TypeError('Object iterator must return a key-value pair');\n }\n\n key = entry[0];\n\n if (utils.hasOwnProp(obj, key)) {\n dest = obj[key];\n obj[key] = utils.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]];\n } else {\n obj[key] = entry[1];\n }\n }\n\n setHeaders(obj, valueOrRewrite);\n } else {\n header != null && setHeader(valueOrRewrite, header, rewrite);\n }\n\n return this;\n }\n\n get(header, parser) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n if (key) {\n const value = this[key];\n\n if (!parser) {\n return value;\n }\n\n if (parser === true) {\n return parseTokens(value);\n }\n\n if (utils.isFunction(parser)) {\n return parser.call(this, value, key);\n }\n\n if (utils.isRegExp(parser)) {\n return parser.exec(value);\n }\n\n throw new TypeError('parser must be boolean|regexp|function');\n }\n }\n }\n\n has(header, matcher) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n return !!(\n key &&\n this[key] !== undefined &&\n (!matcher || matchHeaderValue(this, this[key], key, matcher))\n );\n }\n\n return false;\n }\n\n delete(header, matcher) {\n const self = this;\n let deleted = false;\n\n function deleteHeader(_header) {\n _header = normalizeHeader(_header);\n\n if (_header) {\n const key = utils.findKey(self, _header);\n\n if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {\n delete self[key];\n\n deleted = true;\n }\n }\n }\n\n if (utils.isArray(header)) {\n header.forEach(deleteHeader);\n } else {\n deleteHeader(header);\n }\n\n return deleted;\n }\n\n clear(matcher) {\n const keys = Object.keys(this);\n let i = keys.length;\n let deleted = false;\n\n while (i--) {\n const key = keys[i];\n if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {\n delete this[key];\n deleted = true;\n }\n }\n\n return deleted;\n }\n\n normalize(format) {\n const self = this;\n const headers = {};\n\n utils.forEach(this, (value, header) => {\n const key = utils.findKey(headers, header);\n\n if (key) {\n self[key] = normalizeValue(value);\n delete self[header];\n return;\n }\n\n const normalized = format ? formatHeader(header) : String(header).trim();\n\n if (normalized !== header) {\n delete self[header];\n }\n\n self[normalized] = normalizeValue(value);\n\n headers[normalized] = true;\n });\n\n return this;\n }\n\n concat(...targets) {\n return this.constructor.concat(this, ...targets);\n }\n\n toJSON(asStrings) {\n const obj = Object.create(null);\n\n utils.forEach(this, (value, header) => {\n value != null &&\n value !== false &&\n (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);\n });\n\n return obj;\n }\n\n [Symbol.iterator]() {\n return Object.entries(this.toJSON())[Symbol.iterator]();\n }\n\n toString() {\n return Object.entries(this.toJSON())\n .map(([header, value]) => header + ': ' + value)\n .join('\\n');\n }\n\n getSetCookie() {\n return this.get('set-cookie') || [];\n }\n\n get [Symbol.toStringTag]() {\n return 'AxiosHeaders';\n }\n\n static from(thing) {\n return thing instanceof this ? thing : new this(thing);\n }\n\n static concat(first, ...targets) {\n const computed = new this(first);\n\n targets.forEach((target) => computed.set(target));\n\n return computed;\n }\n\n static accessor(header) {\n const internals =\n (this[$internals] =\n this[$internals] =\n {\n accessors: {},\n });\n\n const accessors = internals.accessors;\n const prototype = this.prototype;\n\n function defineAccessor(_header) {\n const lHeader = normalizeHeader(_header);\n\n if (!accessors[lHeader]) {\n buildAccessors(prototype, _header);\n accessors[lHeader] = true;\n }\n }\n\n utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);\n\n return this;\n }\n}\n\nAxiosHeaders.accessor([\n 'Content-Type',\n 'Content-Length',\n 'Accept',\n 'Accept-Encoding',\n 'User-Agent',\n 'Authorization',\n]);\n\n// reserved names hotfix\nutils.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {\n let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`\n return {\n get: () => value,\n set(headerValue) {\n this[mapped] = headerValue;\n },\n };\n});\n\nutils.freezeMethods(AxiosHeaders);\n\nexport default AxiosHeaders;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst REDACTED = '[REDACTED ****]';\n\nfunction hasOwnOrPrototypeToJSON(source) {\n if (utils.hasOwnProp(source, 'toJSON')) {\n return true;\n }\n\n let prototype = Object.getPrototypeOf(source);\n\n while (prototype && prototype !== Object.prototype) {\n if (utils.hasOwnProp(prototype, 'toJSON')) {\n return true;\n }\n\n prototype = Object.getPrototypeOf(prototype);\n }\n\n return false;\n}\n\n// Build a plain-object snapshot of `config` and replace the value of any key\n// (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays\n// and AxiosHeaders, and short-circuits on circular references.\nfunction redactConfig(config, redactKeys) {\n const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase()));\n const seen = [];\n\n const visit = (source) => {\n if (source === null || typeof source !== 'object') return source;\n if (utils.isBuffer(source)) return source;\n if (seen.indexOf(source) !== -1) return undefined;\n\n if (source instanceof AxiosHeaders) {\n source = source.toJSON();\n }\n\n seen.push(source);\n\n let result;\n if (utils.isArray(source)) {\n result = [];\n source.forEach((v, i) => {\n const reducedValue = visit(v);\n if (!utils.isUndefined(reducedValue)) {\n result[i] = reducedValue;\n }\n });\n } else {\n if (!utils.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) {\n seen.pop();\n return source;\n }\n\n result = Object.create(null);\n for (const [key, value] of Object.entries(source)) {\n const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value);\n if (!utils.isUndefined(reducedValue)) {\n result[key] = reducedValue;\n }\n }\n }\n\n seen.pop();\n return result;\n };\n\n return visit(config);\n}\n\nclass AxiosError extends Error {\n static from(error, code, config, request, response, customProps) {\n const axiosError = new AxiosError(error.message, code || error.code, config, request, response);\n // Match native `Error` `cause` semantics: non-enumerable. The wrapped\n // error often carries circular internals (sockets, requests, agents), so\n // an enumerable `cause` makes structured loggers (pino/winston) and any\n // own-property walk throw \"Converting circular structure to JSON\".\n // Regression from #6982; see #7205. `__proto__: null` mirrors the\n // `message` descriptor below (prototype-pollution-safe descriptor).\n Object.defineProperty(axiosError, 'cause', {\n __proto__: null,\n value: error,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n axiosError.name = error.name;\n\n // Preserve status from the original error if not already set from response\n if (error.status != null && axiosError.status == null) {\n axiosError.status = error.status;\n }\n\n customProps && Object.assign(axiosError, customProps);\n return axiosError;\n }\n\n /**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n *\n * @returns {Error} The created error.\n */\n constructor(message, code, config, request, response) {\n super(message);\n\n // Make message enumerable to maintain backward compatibility\n // The native Error constructor sets message as non-enumerable,\n // but axios < v1.13.3 had it as enumerable\n Object.defineProperty(this, 'message', {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: message,\n enumerable: true,\n writable: true,\n configurable: true,\n });\n\n this.name = 'AxiosError';\n this.isAxiosError = true;\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n if (response) {\n this.response = response;\n this.status = response.status;\n }\n }\n\n toJSON() {\n // Opt-in redaction: when the request config carries a `redact` array, the\n // value of any matching key (case-insensitive, at any depth) is replaced\n // with REDACTED in the serialized snapshot. Undefined or empty leaves the\n // existing serialization behavior unchanged.\n const config = this.config;\n const redactKeys = config && utils.hasOwnProp(config, 'redact') ? config.redact : undefined;\n const serializedConfig =\n utils.isArray(redactKeys) && redactKeys.length > 0\n ? redactConfig(config, redactKeys)\n : utils.toJSONObject(config);\n\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: serializedConfig,\n code: this.code,\n status: this.status,\n };\n }\n}\n\n// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.\nAxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';\nAxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';\nAxiosError.ECONNABORTED = 'ECONNABORTED';\nAxiosError.ETIMEDOUT = 'ETIMEDOUT';\nAxiosError.ECONNREFUSED = 'ECONNREFUSED';\nAxiosError.ERR_NETWORK = 'ERR_NETWORK';\nAxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';\nAxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';\nAxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';\nAxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';\nAxiosError.ERR_CANCELED = 'ERR_CANCELED';\nAxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';\nAxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';\nAxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED';\n\nexport default AxiosError;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\n// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored\nimport PlatformFormData from '../platform/node/classes/FormData.js';\n\n// Default nesting limit shared with the inverse transform (formDataToJSON) so\n// the FormData <-> JSON round-trip stays symmetric.\nexport const DEFAULT_FORM_DATA_MAX_DEPTH = 100;\n\n/**\n * Determines if the given thing is a array or js object.\n *\n * @param {string} thing - The object or array to be visited.\n *\n * @returns {boolean}\n */\nfunction isVisitable(thing) {\n return utils.isPlainObject(thing) || utils.isArray(thing);\n}\n\n/**\n * It removes the brackets from the end of a string\n *\n * @param {string} key - The key of the parameter.\n *\n * @returns {string} the key without the brackets.\n */\nfunction removeBrackets(key) {\n return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;\n}\n\n/**\n * It takes a path, a key, and a boolean, and returns a string\n *\n * @param {string} path - The path to the current key.\n * @param {string} key - The key of the current object being iterated over.\n * @param {string} dots - If true, the key will be rendered with dots instead of brackets.\n *\n * @returns {string} The path to the current key.\n */\nfunction renderKey(path, key, dots) {\n if (!path) return key;\n return path\n .concat(key)\n .map(function each(token, i) {\n // eslint-disable-next-line no-param-reassign\n token = removeBrackets(token);\n return !dots && i ? '[' + token + ']' : token;\n })\n .join(dots ? '.' : '');\n}\n\n/**\n * If the array is an array and none of its elements are visitable, then it's a flat array.\n *\n * @param {Array} arr - The array to check\n *\n * @returns {boolean}\n */\nfunction isFlatArray(arr) {\n return utils.isArray(arr) && !arr.some(isVisitable);\n}\n\nconst predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {\n return /^is[A-Z]/.test(prop);\n});\n\n/**\n * Convert a data object to FormData\n *\n * @param {Object} obj\n * @param {?Object} [formData]\n * @param {?Object} [options]\n * @param {Function} [options.visitor]\n * @param {Boolean} [options.metaTokens = true]\n * @param {Boolean} [options.dots = false]\n * @param {?Boolean} [options.indexes = false]\n *\n * @returns {Object}\n **/\n\n/**\n * It converts an object into a FormData object\n *\n * @param {Object} obj - The object to convert to form data.\n * @param {string} formData - The FormData object to append to.\n * @param {Object} options\n *\n * @returns\n */\nfunction toFormData(obj, formData, options) {\n if (!utils.isObject(obj)) {\n throw new TypeError('target must be an object');\n }\n\n // eslint-disable-next-line no-param-reassign\n formData = formData || new (PlatformFormData || FormData)();\n\n // eslint-disable-next-line no-param-reassign\n options = utils.toFlatObject(\n options,\n {\n metaTokens: true,\n dots: false,\n indexes: false,\n },\n false,\n function defined(option, source) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n return !utils.isUndefined(source[option]);\n }\n );\n\n const metaTokens = options.metaTokens;\n // eslint-disable-next-line no-use-before-define\n const visitor = options.visitor || defaultVisitor;\n const dots = options.dots;\n const indexes = options.indexes;\n const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);\n const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth;\n const useBlob = _Blob && utils.isSpecCompliantForm(formData);\n const stack = [];\n\n if (!utils.isFunction(visitor)) {\n throw new TypeError('visitor must be a function');\n }\n\n function convertValue(value) {\n if (value === null) return '';\n\n if (utils.isDate(value)) {\n return value.toISOString();\n }\n\n if (utils.isBoolean(value)) {\n return value.toString();\n }\n\n if (!useBlob && utils.isBlob(value)) {\n throw new AxiosError('Blob is not supported. Use a Buffer instead.');\n }\n\n if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {\n if (useBlob && typeof _Blob === 'function') {\n return new _Blob([value]);\n }\n if (typeof Buffer !== 'undefined') {\n return Buffer.from(value);\n }\n throw new AxiosError('Blob is not supported. Use a Buffer instead.', AxiosError.ERR_NOT_SUPPORT);\n }\n\n return value;\n }\n\n function throwIfMaxDepthExceeded(depth) {\n if (depth > maxDepth) {\n throw new AxiosError(\n 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth,\n AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED\n );\n }\n }\n\n function stringifyWithDepthLimit(value, depth) {\n if (maxDepth === Infinity) {\n return JSON.stringify(value);\n }\n\n const ancestors = [];\n\n return JSON.stringify(value, function limitDepth(_key, currentValue) {\n if (!utils.isObject(currentValue)) {\n return currentValue;\n }\n\n while (ancestors.length && ancestors[ancestors.length - 1] !== this) {\n ancestors.pop();\n }\n\n ancestors.push(currentValue);\n throwIfMaxDepthExceeded(depth + ancestors.length - 1);\n\n return currentValue;\n });\n }\n\n /**\n * Default visitor.\n *\n * @param {*} value\n * @param {String|Number} key\n * @param {Array} path\n * @this {FormData}\n *\n * @returns {boolean} return true to visit the each prop of the value recursively\n */\n function defaultVisitor(value, key, path) {\n let arr = value;\n\n if (utils.isReactNative(formData) && utils.isReactNativeBlob(value)) {\n formData.append(renderKey(path, key, dots), convertValue(value));\n return false;\n }\n\n if (value && !path && typeof value === 'object') {\n if (utils.endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n key = metaTokens ? key : key.slice(0, -2);\n // eslint-disable-next-line no-param-reassign\n value = stringifyWithDepthLimit(value, 1);\n } else if (\n (utils.isArray(value) && isFlatArray(value)) ||\n ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value)))\n ) {\n // eslint-disable-next-line no-param-reassign\n key = removeBrackets(key);\n\n arr.forEach(function each(el, index) {\n !(utils.isUndefined(el) || el === null) &&\n formData.append(\n // eslint-disable-next-line no-nested-ternary\n indexes === true\n ? renderKey([key], index, dots)\n : indexes === null\n ? key\n : key + '[]',\n convertValue(el)\n );\n });\n return false;\n }\n }\n\n if (isVisitable(value)) {\n return true;\n }\n\n formData.append(renderKey(path, key, dots), convertValue(value));\n\n return false;\n }\n\n const exposedHelpers = Object.assign(predicates, {\n defaultVisitor,\n convertValue,\n isVisitable,\n });\n\n function build(value, path, depth = 0) {\n if (utils.isUndefined(value)) return;\n\n throwIfMaxDepthExceeded(depth);\n\n if (stack.indexOf(value) !== -1) {\n throw new Error('Circular reference detected in ' + path.join('.'));\n }\n\n stack.push(value);\n\n utils.forEach(value, function each(el, key) {\n const result =\n !(utils.isUndefined(el) || el === null) &&\n visitor.call(formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers);\n\n if (result === true) {\n build(el, path ? path.concat(key) : [key], depth + 1);\n }\n });\n\n stack.pop();\n }\n\n if (!utils.isObject(obj)) {\n throw new TypeError('data must be an object');\n }\n\n build(obj);\n\n return formData;\n}\n\nexport default toFormData;\n","'use strict';\n\nimport toFormData from './toFormData.js';\n\n/**\n * It encodes a string by replacing all characters that are not in the unreserved set with\n * their percent-encoded equivalents\n *\n * @param {string} str - The string to encode.\n *\n * @returns {string} The encoded string.\n */\nfunction encode(str) {\n const charMap = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+',\n };\n return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) {\n return charMap[match];\n });\n}\n\n/**\n * It takes a params object and converts it to a FormData object\n *\n * @param {Object} params - The parameters to be converted to a FormData object.\n * @param {Object} options - The options object passed to the Axios constructor.\n *\n * @returns {void}\n */\nfunction AxiosURLSearchParams(params, options) {\n this._pairs = [];\n\n params && toFormData(params, this, options);\n}\n\nconst prototype = AxiosURLSearchParams.prototype;\n\nprototype.append = function append(name, value) {\n this._pairs.push([name, value]);\n};\n\nprototype.toString = function toString(encoder) {\n const _encode = encoder\n ? (value) => encoder.call(this, value, encode)\n : encode;\n\n return this._pairs\n .map(function each(pair) {\n return _encode(pair[0]) + '=' + _encode(pair[1]);\n }, '')\n .join('&');\n};\n\nexport default AxiosURLSearchParams;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosURLSearchParams from './AxiosURLSearchParams.js';\n\n/**\n * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with\n * their plain counterparts (`:`, `$`, `,`, `+`).\n *\n * @param {string} val The value to be encoded.\n *\n * @returns {string} The encoded value.\n */\nexport function encode(val) {\n return encodeURIComponent(val)\n .replace(/%3A/gi, ':')\n .replace(/%24/g, '$')\n .replace(/%2C/gi, ',')\n .replace(/%20/g, '+');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @param {?(object|Function)} options\n *\n * @returns {string} The formatted url\n */\nexport default function buildURL(url, params, options) {\n if (!params) {\n return url;\n }\n url = url || '';\n\n const _options = utils.isFunction(options)\n ? {\n serialize: options,\n }\n : options;\n\n // Read serializer options pollution-safely: own properties and methods on a\n // class/template prototype are honored, but values injected onto a polluted\n // Object.prototype are ignored.\n const _encode = utils.getSafeProp(_options, 'encode') || encode;\n const serializeFn = utils.getSafeProp(_options, 'serialize');\n\n let serializedParams;\n\n if (serializeFn) {\n serializedParams = serializeFn(params, _options);\n } else {\n serializedParams = utils.isURLSearchParams(params)\n ? params.toString()\n : new AxiosURLSearchParams(params, _options).toString(_encode);\n }\n\n if (serializedParams) {\n const hashmarkIndex = url.indexOf('#');\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n * @param {Object} options The options for the interceptor, synchronous and runWhen\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null,\n });\n return this.handlers.length - 1;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {void}\n */\n eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n }\n}\n\nexport default InterceptorManager;\n","'use strict';\n\nexport default {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false,\n legacyInterceptorReqResOrdering: true,\n advertiseZstdAcceptEncoding: false,\n validateStatusUndefinedResolves: true,\n};\n","import URLSearchParams from './classes/URLSearchParams.js';\nimport FormData from './classes/FormData.js';\nimport Blob from './classes/Blob.js';\n\nexport default {\n isBrowser: true,\n classes: {\n URLSearchParams,\n FormData,\n Blob,\n },\n protocols: ['http', 'https', 'file', 'blob', 'url', 'data'],\n};\n","'use strict';\n\nimport AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';\nexport default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;\n","'use strict';\n\nexport default typeof FormData !== 'undefined' ? FormData : null;\n","'use strict';\n\nexport default typeof Blob !== 'undefined' ? Blob : null;\n","const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nconst _navigator = (typeof navigator === 'object' && navigator) || undefined;\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nconst hasStandardBrowserEnv =\n hasBrowserEnv &&\n (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);\n\n/**\n * Determine if we're running in a standard browser webWorker environment\n *\n * Although the `isStandardBrowserEnv` method indicates that\n * `allows axios to run in a web worker`, the WebWorker will still be\n * filtered out due to its judgment standard\n * `typeof window !== 'undefined' && typeof document !== 'undefined'`.\n * This leads to a problem when axios post `FormData` in webWorker\n */\nconst hasStandardBrowserWebWorkerEnv = (() => {\n return (\n typeof WorkerGlobalScope !== 'undefined' &&\n // eslint-disable-next-line no-undef\n self instanceof WorkerGlobalScope &&\n typeof self.importScripts === 'function'\n );\n})();\n\nconst origin = (hasBrowserEnv && window.location.href) || 'http://localhost';\n\nexport {\n hasBrowserEnv,\n hasStandardBrowserWebWorkerEnv,\n hasStandardBrowserEnv,\n _navigator as navigator,\n origin,\n};\n","import platform from './node/index.js';\nimport * as utils from './common/utils.js';\n\nexport default {\n ...utils,\n ...platform,\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport { DEFAULT_FORM_DATA_MAX_DEPTH } from './toFormData.js';\n\nconst MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH;\n\nfunction throwIfDepthExceeded(index) {\n if (index > MAX_DEPTH) {\n throw new AxiosError(\n 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH,\n AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED\n );\n }\n}\n\n/**\n * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']\n *\n * @param {string} name - The name of the property to get.\n *\n * @returns An array of strings.\n */\nfunction parsePropPath(name) {\n // foo[x][y][z]\n // foo.x.y.z\n // foo-x-y-z\n // foo x y z\n const path = [];\n const pattern = /\\w+|\\[(\\w*)]/g;\n let match;\n\n while ((match = pattern.exec(name)) !== null) {\n throwIfDepthExceeded(path.length);\n path.push(match[0] === '[]' ? '' : match[1] || match[0]);\n }\n\n return path;\n}\n\n/**\n * Convert an array to an object.\n *\n * @param {Array} arr - The array to convert to an object.\n *\n * @returns An object with the same keys and values as the array.\n */\nfunction arrayToObject(arr) {\n const obj = {};\n const keys = Object.keys(arr);\n let i;\n const len = keys.length;\n let key;\n for (i = 0; i < len; i++) {\n key = keys[i];\n obj[key] = arr[key];\n }\n return obj;\n}\n\n/**\n * It takes a FormData object and returns a JavaScript object\n *\n * @param {string} formData The FormData object to convert to JSON.\n *\n * @returns {Object | null} The converted object.\n */\nfunction formDataToJSON(formData) {\n function buildPath(path, value, target, index) {\n throwIfDepthExceeded(index);\n\n let name = path[index++];\n\n if (name === '__proto__') return true;\n\n const isNumericKey = Number.isFinite(+name);\n const isLast = index >= path.length;\n name = !name && utils.isArray(target) ? target.length : name;\n\n if (isLast) {\n if (utils.hasOwnProp(target, name)) {\n target[name] = utils.isArray(target[name])\n ? target[name].concat(value)\n : [target[name], value];\n } else {\n target[name] = value;\n }\n\n return !isNumericKey;\n }\n\n if (!utils.hasOwnProp(target, name) || !utils.isObject(target[name])) {\n target[name] = [];\n }\n\n const result = buildPath(path, value, target[name], index);\n\n if (result && utils.isArray(target[name])) {\n target[name] = arrayToObject(target[name]);\n }\n\n return !isNumericKey;\n }\n\n if (utils.isFormData(formData) && utils.isFunction(formData.entries)) {\n const obj = {};\n\n utils.forEachEntry(formData, (name, value) => {\n buildPath(parsePropPath(name), value, obj, 0);\n });\n\n return obj;\n }\n\n return null;\n}\n\nexport default formDataToJSON;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport transitionalDefaults from './transitional.js';\nimport toFormData from '../helpers/toFormData.js';\nimport toURLEncodedForm from '../helpers/toURLEncodedForm.js';\nimport platform from '../platform/index.js';\nimport formDataToJSON from '../helpers/formDataToJSON.js';\n\nconst own = (obj, key) => (obj != null && utils.hasOwnProp(obj, key) ? obj[key] : undefined);\n\n/**\n * It takes a string, tries to parse it, and if it fails, it returns the stringified version\n * of the input\n *\n * @param {any} rawValue - The value to be stringified.\n * @param {Function} parser - A function that parses a string into a JavaScript object.\n * @param {Function} encoder - A function that takes a value and returns a string.\n *\n * @returns {string} A stringified version of the rawValue.\n */\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nconst defaults = {\n transitional: transitionalDefaults,\n\n adapter: ['xhr', 'http', 'fetch'],\n\n transformRequest: [\n function transformRequest(data, headers) {\n const contentType = headers.getContentType() || '';\n const hasJSONContentType = contentType.indexOf('application/json') > -1;\n const isObjectPayload = utils.isObject(data);\n\n if (isObjectPayload && utils.isHTMLForm(data)) {\n data = new FormData(data);\n }\n\n const isFormData = utils.isFormData(data);\n\n if (isFormData) {\n return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;\n }\n\n if (\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data) ||\n utils.isReadableStream(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);\n return data.toString();\n }\n\n let isFileList;\n\n if (isObjectPayload) {\n const formSerializer = own(this, 'formSerializer');\n if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {\n return toURLEncodedForm(data, formSerializer).toString();\n }\n\n if (\n (isFileList = utils.isFileList(data)) ||\n contentType.indexOf('multipart/form-data') > -1\n ) {\n const env = own(this, 'env');\n const _FormData = env && env.FormData;\n\n return toFormData(\n isFileList ? { 'files[]': data } : data,\n _FormData && new _FormData(),\n formSerializer\n );\n }\n }\n\n if (isObjectPayload || hasJSONContentType) {\n headers.setContentType('application/json', false);\n return stringifySafely(data);\n }\n\n return data;\n },\n ],\n\n transformResponse: [\n function transformResponse(data) {\n const transitional = own(this, 'transitional') || defaults.transitional;\n const forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n const responseType = own(this, 'responseType');\n const JSONRequested = responseType === 'json';\n\n if (utils.isResponse(data) || utils.isReadableStream(data)) {\n return data;\n }\n\n if (\n data &&\n utils.isString(data) &&\n ((forcedJSONParsing && !responseType) || JSONRequested)\n ) {\n const silentJSONParsing = transitional && transitional.silentJSONParsing;\n const strictJSONParsing = !silentJSONParsing && JSONRequested;\n\n try {\n return JSON.parse(data, own(this, 'parseReviver'));\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response'));\n }\n throw e;\n }\n }\n }\n\n return data;\n },\n ],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n env: {\n FormData: platform.classes.FormData,\n Blob: platform.classes.Blob,\n },\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n Accept: 'application/json, text/plain, */*',\n 'Content-Type': undefined,\n },\n },\n};\n\nutils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => {\n defaults.headers[method] = {};\n});\n\nexport default defaults;\n","'use strict';\n\nimport utils from '../utils.js';\nimport toFormData from './toFormData.js';\nimport platform from '../platform/index.js';\n\nexport default function toURLEncodedForm(data, options) {\n return toFormData(data, new platform.classes.URLSearchParams(), {\n visitor: function (value, key, path, helpers) {\n if (platform.isNode && utils.isBuffer(value)) {\n this.append(key, value.toString('base64'));\n return false;\n }\n\n return helpers.defaultVisitor.apply(this, arguments);\n },\n ...options,\n });\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport defaults from '../defaults/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Array|Function} fns A single function or Array of functions\n * @param {?Object} response The response object\n *\n * @returns {*} The resulting transformed data\n */\nexport default function transformData(fns, response) {\n const config = this || defaults;\n const context = response || config;\n const headers = AxiosHeaders.from(context.headers);\n let data = context.data;\n\n utils.forEach(fns, function transform(fn) {\n data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);\n });\n\n headers.normalize();\n\n return data;\n}\n","'use strict';\n\nexport default function isCancel(value) {\n return !!(value && value.__CANCEL__);\n}\n","'use strict';\n\nimport AxiosError from '../core/AxiosError.js';\n\nclass CanceledError extends AxiosError {\n /**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @param {string=} message The message.\n * @param {Object=} config The config.\n * @param {Object=} request The request.\n *\n * @returns {CanceledError} The created error.\n */\n constructor(message, config, request) {\n super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);\n this.name = 'CanceledError';\n this.__CANCEL__ = true;\n }\n}\n\nexport default CanceledError;\n","'use strict';\n\nimport AxiosError from './AxiosError.js';\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n *\n * @returns {object} The response.\n */\nexport default function settle(resolve, reject, response) {\n const validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(new AxiosError(\n 'Request failed with status code ' + response.status,\n response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE,\n response.config,\n response.request,\n response\n ));\n }\n}\n","import speedometer from './speedometer.js';\nimport throttle from './throttle.js';\nimport utils from '../utils.js';\n\nexport const progressEventReducer = (listener, isDownloadStream, freq = 3) => {\n let bytesNotified = 0;\n const _speedometer = speedometer(50, 250);\n\n return throttle((e) => {\n if (!e || typeof e.loaded !== 'number') {\n return;\n }\n const rawLoaded = e.loaded;\n const total = e.lengthComputable ? e.total : undefined;\n const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded;\n const progressBytes = Math.max(0, loaded - bytesNotified);\n const rate = _speedometer(progressBytes);\n\n bytesNotified = Math.max(bytesNotified, loaded);\n\n const data = {\n loaded,\n total,\n progress: total ? loaded / total : undefined,\n bytes: progressBytes,\n rate: rate ? rate : undefined,\n estimated: rate && total ? (total - loaded) / rate : undefined,\n event: e,\n lengthComputable: total != null,\n [isDownloadStream ? 'download' : 'upload']: true,\n };\n\n listener(data);\n }, freq);\n};\n\nexport const progressEventDecorator = (total, throttled) => {\n const lengthComputable = total != null;\n\n return [\n (loaded) =>\n throttled[0]({\n lengthComputable,\n total,\n loaded,\n }),\n throttled[1],\n ];\n};\n\nexport const asyncDecorator =\n (fn) =>\n (...args) =>\n utils.asap(() => fn(...args));\n","'use strict';\n\n/**\n * Calculate data maxRate\n * @param {Number} [samplesCount= 10]\n * @param {Number} [min= 1000]\n * @returns {Function}\n */\nfunction speedometer(samplesCount, min) {\n samplesCount = samplesCount || 10;\n const bytes = new Array(samplesCount);\n const timestamps = new Array(samplesCount);\n let head = 0;\n let tail = 0;\n let firstSampleTS;\n\n min = min !== undefined ? min : 1000;\n\n return function push(chunkLength) {\n const now = Date.now();\n\n const startedAt = timestamps[tail];\n\n if (!firstSampleTS) {\n firstSampleTS = now;\n }\n\n bytes[head] = chunkLength;\n timestamps[head] = now;\n\n let i = tail;\n let bytesCount = 0;\n\n while (i !== head) {\n bytesCount += bytes[i++];\n i = i % samplesCount;\n }\n\n head = (head + 1) % samplesCount;\n\n if (head === tail) {\n tail = (tail + 1) % samplesCount;\n }\n\n if (now - firstSampleTS < min) {\n return;\n }\n\n const passed = startedAt && now - startedAt;\n\n return passed ? Math.round((bytesCount * 1000) / passed) : undefined;\n };\n}\n\nexport default speedometer;\n","/**\n * Throttle decorator\n * @param {Function} fn\n * @param {Number} freq\n * @return {Function}\n */\nfunction throttle(fn, freq) {\n let timestamp = 0;\n let threshold = 1000 / freq;\n let lastArgs;\n let timer;\n\n const invoke = (args, now = Date.now()) => {\n timestamp = now;\n lastArgs = null;\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n fn(...args);\n };\n\n const throttled = (...args) => {\n const now = Date.now();\n const passed = now - timestamp;\n if (passed >= threshold) {\n invoke(args, now);\n } else {\n lastArgs = args;\n if (!timer) {\n timer = setTimeout(() => {\n timer = null;\n invoke(lastArgs);\n }, threshold - passed);\n }\n }\n };\n\n const flush = () => lastArgs && invoke(lastArgs);\n\n return [throttled, flush];\n}\n\nexport default throttle;\n","import platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv\n ? ((origin, isMSIE) => (url) => {\n url = new URL(url, platform.origin);\n\n return (\n origin.protocol === url.protocol &&\n origin.host === url.host &&\n (isMSIE || origin.port === url.port)\n );\n })(\n new URL(platform.origin),\n platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)\n )\n : () => true;\n","import utils from '../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv\n ? // Standard browser envs support document.cookie\n {\n write(name, value, expires, path, domain, secure, sameSite) {\n if (typeof document === 'undefined') return;\n\n const cookie = [`${name}=${encodeURIComponent(value)}`];\n\n if (utils.isNumber(expires)) {\n cookie.push(`expires=${new Date(expires).toUTCString()}`);\n }\n if (utils.isString(path)) {\n cookie.push(`path=${path}`);\n }\n if (utils.isString(domain)) {\n cookie.push(`domain=${domain}`);\n }\n if (secure === true) {\n cookie.push('secure');\n }\n if (utils.isString(sameSite)) {\n cookie.push(`SameSite=${sameSite}`);\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read(name) {\n if (typeof document === 'undefined') return null;\n // Match name=value by splitting on the semicolon separator instead of building a\n // RegExp from `name` — interpolating an unescaped string into a RegExp would let\n // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or\n // match the wrong cookie. Browsers may serialize cookie pairs as either \";\" or\n // \"; \", so ignore optional whitespace before each cookie name.\n const cookies = document.cookie.split(';');\n for (let i = 0; i < cookies.length; i++) {\n const cookie = cookies[i].replace(/^\\s+/, '');\n const eq = cookie.indexOf('=');\n if (eq !== -1 && cookie.slice(0, eq) === name) {\n try {\n return decodeURIComponent(cookie.slice(eq + 1));\n } catch (e) {\n return cookie.slice(eq + 1);\n }\n }\n }\n return null;\n },\n\n remove(name) {\n this.write(name, '', Date.now() - 86400000, '/');\n },\n }\n : // Non-standard browser env (web workers, react-native) lack needed support.\n {\n write() {},\n read() {\n return null;\n },\n remove() {},\n };\n","'use strict';\n\nimport AxiosError from './AxiosError.js';\nimport isAbsoluteURL from '../helpers/isAbsoluteURL.js';\nimport combineURLs from '../helpers/combineURLs.js';\n\nconst malformedHttpProtocol = /^https?:(?!\\/\\/)/i;\nconst httpProtocolControlCharacters = /[\\t\\n\\r]/g;\n\nfunction stripLeadingC0ControlOrSpace(url) {\n let i = 0;\n while (i < url.length && url.charCodeAt(i) <= 0x20) {\n i++;\n }\n return url.slice(i);\n}\n\nfunction normalizeURLForProtocolCheck(url) {\n return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, '');\n}\n\nfunction assertValidHttpProtocolURL(url, config) {\n if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) {\n throw new AxiosError(\n 'Invalid URL: missing \"//\" after protocol',\n AxiosError.ERR_INVALID_URL,\n config\n );\n }\n}\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n *\n * @returns {string} The combined full path\n */\nexport default function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {\n assertValidHttpProtocolURL(requestedURL, config);\n let isRelativeUrl = !isAbsoluteURL(requestedURL);\n if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) {\n assertValidHttpProtocolURL(baseURL, config);\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n}\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n *\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nexport default function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n if (typeof url !== 'string') {\n return false;\n }\n\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n}\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n *\n * @returns {string} The combined URL\n */\nexport default function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/?\\/$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst headersToObject = (thing) => (thing instanceof AxiosHeaders ? { ...thing } : thing);\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n *\n * @returns {Object} New object resulting from merging config2 to config1\n */\nexport default function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config1 = config1 || {};\n config2 = config2 || {};\n\n // Use a null-prototype object so that downstream reads such as `config.auth`\n // or `config.baseURL` cannot inherit polluted values from Object.prototype.\n // `hasOwnProperty` is restored as a non-enumerable own slot to preserve\n // ergonomics for user code that relies on it.\n const config = Object.create(null);\n Object.defineProperty(config, 'hasOwnProperty', {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: Object.prototype.hasOwnProperty,\n enumerable: false,\n writable: true,\n configurable: true,\n });\n\n function getMergedValue(target, source, prop, caseless) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge.call({ caseless }, target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(a, b, prop, caseless) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(a, b, prop, caseless);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a, prop, caseless);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a);\n }\n }\n\n function getMergedTransitionalOption(prop) {\n const transitional2 = utils.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined;\n\n if (!utils.isUndefined(transitional2)) {\n if (utils.isPlainObject(transitional2)) {\n if (utils.hasOwnProp(transitional2, prop)) {\n return transitional2[prop];\n }\n } else {\n return undefined;\n }\n }\n\n const transitional1 = utils.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined;\n\n if (utils.isPlainObject(transitional1) && utils.hasOwnProp(transitional1, prop)) {\n return transitional1[prop];\n }\n\n return undefined;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(a, b, prop) {\n if (utils.hasOwnProp(config2, prop)) {\n return getMergedValue(a, b);\n } else if (utils.hasOwnProp(config1, prop)) {\n return getMergedValue(undefined, a);\n }\n }\n\n const mergeMap = {\n url: valueFromConfig2,\n method: valueFromConfig2,\n data: valueFromConfig2,\n baseURL: defaultToConfig2,\n transformRequest: defaultToConfig2,\n transformResponse: defaultToConfig2,\n paramsSerializer: defaultToConfig2,\n timeout: defaultToConfig2,\n timeoutMessage: defaultToConfig2,\n withCredentials: defaultToConfig2,\n withXSRFToken: defaultToConfig2,\n adapter: defaultToConfig2,\n responseType: defaultToConfig2,\n xsrfCookieName: defaultToConfig2,\n xsrfHeaderName: defaultToConfig2,\n onUploadProgress: defaultToConfig2,\n onDownloadProgress: defaultToConfig2,\n decompress: defaultToConfig2,\n maxContentLength: defaultToConfig2,\n maxBodyLength: defaultToConfig2,\n beforeRedirect: defaultToConfig2,\n transport: defaultToConfig2,\n httpAgent: defaultToConfig2,\n httpsAgent: defaultToConfig2,\n cancelToken: defaultToConfig2,\n socketPath: defaultToConfig2,\n allowedSocketPaths: defaultToConfig2,\n responseEncoding: defaultToConfig2,\n validateStatus: mergeDirectKeys,\n headers: (a, b, prop) =>\n mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),\n };\n\n utils.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {\n if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;\n const merge = utils.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;\n const a = utils.hasOwnProp(config1, prop) ? config1[prop] : undefined;\n const b = utils.hasOwnProp(config2, prop) ? config2[prop] : undefined;\n const configValue = merge(a, b, prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n if (\n utils.hasOwnProp(config2, 'validateStatus') &&\n utils.isUndefined(config2.validateStatus) &&\n getMergedTransitionalOption('validateStatusUndefinedResolves') === false\n ) {\n if (utils.hasOwnProp(config1, 'validateStatus')) {\n config.validateStatus = getMergedValue(undefined, config1.validateStatus);\n } else {\n delete config.validateStatus;\n }\n }\n\n return config;\n}\n","import platform from '../platform/index.js';\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport isURLSameOrigin from './isURLSameOrigin.js';\nimport cookies from './cookies.js';\nimport buildFullPath from '../core/buildFullPath.js';\nimport mergeConfig from '../core/mergeConfig.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport buildURL from './buildURL.js';\n\nconst FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length'];\n\nfunction setFormDataHeaders(headers, formHeaders, policy) {\n if (policy !== 'content-only') {\n headers.set(formHeaders);\n return;\n }\n\n Object.entries(formHeaders || {}).forEach(([key, val]) => {\n if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {\n headers.set(key, val);\n }\n });\n}\n\n/**\n * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().\n * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.\n *\n * @param {string} str The string to encode\n *\n * @returns {string} UTF-8 bytes as a Latin-1 string\n */\nconst encodeUTF8 = (str) =>\n encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>\n String.fromCharCode(parseInt(hex, 16))\n );\n\nfunction resolveConfig(config) {\n const newConfig = mergeConfig({}, config);\n\n // Read only own properties to prevent prototype pollution gadgets\n // (e.g. Object.prototype.baseURL = 'https://evil.com').\n const own = (key) => (utils.hasOwnProp(newConfig, key) ? newConfig[key] : undefined);\n\n const data = own('data');\n let withXSRFToken = own('withXSRFToken');\n const xsrfHeaderName = own('xsrfHeaderName');\n const xsrfCookieName = own('xsrfCookieName');\n let headers = own('headers');\n const auth = own('auth');\n const baseURL = own('baseURL');\n const allowAbsoluteUrls = own('allowAbsoluteUrls');\n const url = own('url');\n\n newConfig.headers = headers = AxiosHeaders.from(headers);\n\n newConfig.url = buildURL(\n buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig),\n own('params'),\n own('paramsSerializer')\n );\n\n // HTTP basic authentication\n if (auth) {\n const username = utils.getSafeProp(auth, 'username') || '';\n const password = utils.getSafeProp(auth, 'password') || '';\n\n try {\n headers.set(\n 'Authorization',\n 'Basic ' + btoa(username + ':' + (password ? encodeUTF8(password) : ''))\n );\n } catch (e) {\n throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config);\n }\n }\n\n if (utils.isFormData(data)) {\n if (\n platform.hasStandardBrowserEnv ||\n platform.hasStandardBrowserWebWorkerEnv ||\n utils.isReactNative(data)\n ) {\n headers.setContentType(undefined); // browser/web worker/RN handles it\n } else if (utils.isFunction(data.getHeaders)) {\n // Node.js FormData (like form-data package)\n setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy'));\n }\n }\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n\n if (platform.hasStandardBrowserEnv) {\n if (utils.isFunction(withXSRFToken)) {\n withXSRFToken = withXSRFToken(newConfig);\n }\n\n // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1)\n // and misconfigurations (e.g. \"false\") from short-circuiting the same-origin check and leaking\n // the XSRF token cross-origin.\n const shouldSendXSRF =\n withXSRFToken === true || (withXSRFToken == null && isURLSameOrigin(newConfig.url));\n\n if (shouldSendXSRF) {\n const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);\n\n if (xsrfValue) {\n headers.set(xsrfHeaderName, xsrfValue);\n }\n }\n }\n\n return newConfig;\n}\n\nexport default resolveConfig;\n","import utils from '../utils.js';\nimport settle from '../core/settle.js';\nimport transitionalDefaults from '../defaults/transitional.js';\nimport AxiosError from '../core/AxiosError.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport parseProtocol from '../helpers/parseProtocol.js';\nimport platform from '../platform/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport { progressEventReducer } from '../helpers/progressEventReducer.js';\nimport resolveConfig from '../helpers/resolveConfig.js';\nimport { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js';\n\nconst isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';\n\nexport default isXHRAdapterSupported &&\n function (config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n const _config = resolveConfig(config);\n let requestData = _config.data;\n const requestHeaders = AxiosHeaders.from(_config.headers).normalize();\n let { responseType, onUploadProgress, onDownloadProgress } = _config;\n let onCanceled;\n let uploadThrottled, downloadThrottled;\n let flushUpload, flushDownload;\n\n function done() {\n flushUpload && flushUpload(); // flush events\n flushDownload && flushDownload(); // flush events\n\n _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);\n\n _config.signal && _config.signal.removeEventListener('abort', onCanceled);\n }\n\n let request = new XMLHttpRequest();\n\n request.open(_config.method.toUpperCase(), _config.url, true);\n\n // Set the request timeout in MS\n request.timeout = _config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n const responseHeaders = AxiosHeaders.from(\n 'getAllResponseHeaders' in request && request.getAllResponseHeaders()\n );\n const responseData =\n !responseType || responseType === 'text' || responseType === 'json'\n ? request.responseText\n : request.response;\n const response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config,\n request,\n };\n\n settle(\n function _resolve(value) {\n resolve(value);\n done();\n },\n function _reject(err) {\n reject(err);\n done();\n },\n response\n );\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (\n request.status === 0 &&\n !(request.responseURL && request.responseURL.startsWith('file:'))\n ) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));\n done();\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError(event) {\n // Browsers deliver a ProgressEvent in XHR onerror\n // (message may be empty; when present, surface it)\n // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event\n const msg = event && event.message ? event.message : 'Network Error';\n const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);\n // attach the underlying event for consumers who want details\n err.event = event || null;\n reject(err);\n done();\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n let timeoutErrorMessage = _config.timeout\n ? 'timeout of ' + _config.timeout + 'ms exceeded'\n : 'timeout exceeded';\n const transitional = _config.transitional || transitionalDefaults;\n if (_config.timeoutErrorMessage) {\n timeoutErrorMessage = _config.timeoutErrorMessage;\n }\n reject(\n new AxiosError(\n timeoutErrorMessage,\n transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,\n config,\n request\n )\n );\n done();\n\n // Clean up request\n request = null;\n };\n\n // Remove Content-Type if data is undefined\n requestData === undefined && requestHeaders.setContentType(null);\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) {\n request.setRequestHeader(key, val);\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(_config.withCredentials)) {\n request.withCredentials = !!_config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = _config.responseType;\n }\n\n // Handle progress if needed\n if (onDownloadProgress) {\n [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);\n request.addEventListener('progress', downloadThrottled);\n }\n\n // Not all browsers support upload events\n if (onUploadProgress && request.upload) {\n [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);\n\n request.upload.addEventListener('progress', uploadThrottled);\n\n request.upload.addEventListener('loadend', flushUpload);\n }\n\n if (_config.cancelToken || _config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = (cancel) => {\n if (!request) {\n return;\n }\n reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);\n request.abort();\n done();\n request = null;\n };\n\n _config.cancelToken && _config.cancelToken.subscribe(onCanceled);\n if (_config.signal) {\n _config.signal.aborted\n ? onCanceled()\n : _config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n const protocol = parseProtocol(_config.url);\n\n if (protocol && !platform.protocols.includes(protocol)) {\n reject(\n new AxiosError(\n 'Unsupported protocol ' + protocol + ':',\n AxiosError.ERR_BAD_REQUEST,\n config\n )\n );\n done();\n return;\n }\n\n // Send the request\n request.send(requestData || null);\n });\n };\n","'use strict';\n\nexport default function parseProtocol(url) {\n const match = /^([-+\\w]{1,25}):(?:\\/\\/)?/.exec(url);\n return (match && match[1]) || '';\n}\n","import CanceledError from '../cancel/CanceledError.js';\nimport AxiosError from '../core/AxiosError.js';\nimport utils from '../utils.js';\n\nconst composeSignals = (signals, timeout) => {\n signals = signals ? signals.filter(Boolean) : [];\n\n if (!timeout && !signals.length) {\n return;\n }\n\n const controller = new AbortController();\n\n let aborted = false;\n\n const onabort = function (reason) {\n if (!aborted) {\n aborted = true;\n unsubscribe();\n const err = reason instanceof Error ? reason : this.reason;\n controller.abort(\n err instanceof AxiosError\n ? err\n : new CanceledError(err instanceof Error ? err.message : err)\n );\n }\n };\n\n let timer =\n timeout &&\n setTimeout(() => {\n timer = null;\n onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT));\n }, timeout);\n\n const unsubscribe = () => {\n if (!signals) { return; }\n timer && clearTimeout(timer);\n timer = null;\n signals.forEach((signal) => {\n signal.unsubscribe\n ? signal.unsubscribe(onabort)\n : signal.removeEventListener('abort', onabort);\n });\n signals = null;\n };\n\n signals.forEach((signal) => signal.addEventListener('abort', onabort, { once: true }));\n\n const { signal } = controller;\n\n signal.unsubscribe = () => utils.asap(unsubscribe);\n\n return signal;\n};\n\nexport default composeSignals;\n","export const streamChunk = function* (chunk, chunkSize) {\n let len = chunk.byteLength;\n\n if (!chunkSize || len < chunkSize) {\n yield chunk;\n return;\n }\n\n let pos = 0;\n let end;\n\n while (pos < len) {\n end = pos + chunkSize;\n yield chunk.slice(pos, end);\n pos = end;\n }\n};\n\nexport const readBytes = async function* (iterable, chunkSize) {\n for await (const chunk of readStream(iterable)) {\n yield* streamChunk(chunk, chunkSize);\n }\n};\n\nconst readStream = async function* (stream) {\n if (stream[Symbol.asyncIterator]) {\n yield* stream;\n return;\n }\n\n const reader = stream.getReader();\n try {\n for (;;) {\n const { done, value } = await reader.read();\n if (done) {\n break;\n }\n yield value;\n }\n } finally {\n await reader.cancel();\n }\n};\n\nexport const trackStream = (stream, chunkSize, onProgress, onFinish) => {\n const iterator = readBytes(stream, chunkSize);\n\n let bytes = 0;\n let done;\n let _onFinish = (e) => {\n if (!done) {\n done = true;\n onFinish && onFinish(e);\n }\n };\n\n return new ReadableStream(\n {\n async pull(controller) {\n try {\n const { done, value } = await iterator.next();\n\n if (done) {\n _onFinish();\n controller.close();\n return;\n }\n\n let len = value.byteLength;\n if (onProgress) {\n let loadedBytes = (bytes += len);\n onProgress(loadedBytes);\n }\n controller.enqueue(new Uint8Array(value));\n } catch (err) {\n _onFinish(err);\n throw err;\n }\n },\n cancel(reason) {\n _onFinish(reason);\n return iterator.return();\n },\n },\n {\n highWaterMark: 2,\n }\n );\n};\n","/**\n * Estimate decoded byte length of a data:// URL *without* allocating large buffers.\n * - For base64: compute exact decoded size using length and padding;\n * handle %XX at the character-count level (no string allocation).\n * - For non-base64: compute the exact percent-decoded UTF-8 byte length.\n *\n * @param {string} url\n * @returns {number}\n */\nconst isHexDigit = (charCode) =>\n (charCode >= 48 && charCode <= 57) ||\n (charCode >= 65 && charCode <= 70) ||\n (charCode >= 97 && charCode <= 102);\n\nconst isPercentEncodedByte = (str, i, len) =>\n i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2));\n\nexport default function estimateDataURLDecodedBytes(url) {\n if (!url || typeof url !== 'string') return 0;\n if (!url.startsWith('data:')) return 0;\n\n const comma = url.indexOf(',');\n if (comma < 0) return 0;\n\n const meta = url.slice(5, comma);\n const body = url.slice(comma + 1);\n const isBase64 = /;base64/i.test(meta);\n\n if (isBase64) {\n let effectiveLen = body.length;\n const len = body.length; // cache length\n\n for (let i = 0; i < len; i++) {\n if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) {\n const a = body.charCodeAt(i + 1);\n const b = body.charCodeAt(i + 2);\n const isHex = isHexDigit(a) && isHexDigit(b);\n\n if (isHex) {\n effectiveLen -= 2;\n i += 2;\n }\n }\n }\n\n let pad = 0;\n let idx = len - 1;\n\n const tailIsPct3D = (j) =>\n j >= 2 &&\n body.charCodeAt(j - 2) === 37 && // '%'\n body.charCodeAt(j - 1) === 51 && // '3'\n (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd'\n\n if (idx >= 0) {\n if (body.charCodeAt(idx) === 61 /* '=' */) {\n pad++;\n idx--;\n } else if (tailIsPct3D(idx)) {\n pad++;\n idx -= 3;\n }\n }\n\n if (pad === 1 && idx >= 0) {\n if (body.charCodeAt(idx) === 61 /* '=' */) {\n pad++;\n } else if (tailIsPct3D(idx)) {\n pad++;\n }\n }\n\n const groups = Math.floor(effectiveLen / 4);\n const bytes = groups * 3 - (pad || 0);\n return bytes > 0 ? bytes : 0;\n }\n\n // Compute UTF-8 byte length directly from UTF-16 code units without allocating\n // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies).\n // Valid %XX triplets count as one decoded byte; this matches the bytes that\n // decodeURIComponent(body) would produce before Buffer re-encodes the string.\n let bytes = 0;\n for (let i = 0, len = body.length; i < len; i++) {\n const c = body.charCodeAt(i);\n if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) {\n bytes += 1;\n i += 2;\n } else if (c < 0x80) {\n bytes += 1;\n } else if (c < 0x800) {\n bytes += 2;\n } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) {\n const next = body.charCodeAt(i + 1);\n if (next >= 0xdc00 && next <= 0xdfff) {\n bytes += 4;\n i++;\n } else {\n bytes += 3;\n }\n } else {\n bytes += 3;\n }\n }\n return bytes;\n}\n","export const VERSION = \"1.18.1\";","import platform from '../platform/index.js';\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport composeSignals from '../helpers/composeSignals.js';\nimport { trackStream } from '../helpers/trackStream.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport {\n progressEventReducer,\n progressEventDecorator,\n asyncDecorator,\n} from '../helpers/progressEventReducer.js';\nimport resolveConfig from '../helpers/resolveConfig.js';\nimport settle from '../core/settle.js';\nimport estimateDataURLDecodedBytes from '../helpers/estimateDataURLDecodedBytes.js';\nimport { VERSION } from '../env/data.js';\nimport { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js';\n\nconst DEFAULT_CHUNK_SIZE = 64 * 1024;\n\nconst { isFunction } = utils;\n\n/**\n * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().\n * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.\n *\n * @param {string} str The string to encode\n *\n * @returns {string} UTF-8 bytes as a Latin-1 string\n */\nconst encodeUTF8 = (str) =>\n encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>\n String.fromCharCode(parseInt(hex, 16))\n );\n\n// Node's WHATWG URL parser returns `username` and `password` percent-encoded.\n// Decode before composing the `auth` option so credentials such as\n// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the\n// original value for malformed input so a bad encoding never throws.\nconst decodeURIComponentSafe = (value) => {\n if (!utils.isString(value)) {\n return value;\n }\n\n try {\n return decodeURIComponent(value);\n } catch (error) {\n return value;\n }\n};\n\nconst test = (fn, ...args) => {\n try {\n return !!fn(...args);\n } catch (e) {\n return false;\n }\n};\n\nconst maybeWithAuthCredentials = (url) => {\n const protocolIndex = url.indexOf('://');\n let urlToCheck = url;\n if (protocolIndex !== -1) {\n urlToCheck = urlToCheck.slice(protocolIndex + 3);\n }\n return urlToCheck.includes('@') || urlToCheck.includes(':');\n};\n\nconst factory = (env) => {\n const globalObject =\n utils.global !== undefined && utils.global !== null\n ? utils.global\n : globalThis;\n const { ReadableStream, TextEncoder } = globalObject;\n\n env = utils.merge.call(\n {\n skipUndefined: true,\n },\n {\n Request: globalObject.Request,\n Response: globalObject.Response,\n },\n env\n );\n\n const { fetch: envFetch, Request, Response } = env;\n const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';\n const isRequestSupported = isFunction(Request);\n const isResponseSupported = isFunction(Response);\n\n if (!isFetchSupported) {\n return false;\n }\n\n const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream);\n\n const encodeText =\n isFetchSupported &&\n (typeof TextEncoder === 'function'\n ? (\n (encoder) => (str) =>\n encoder.encode(str)\n )(new TextEncoder())\n : async (str) => new Uint8Array(await new Request(str).arrayBuffer()));\n\n const supportsRequestStream =\n isRequestSupported &&\n isReadableStreamSupported &&\n test(() => {\n let duplexAccessed = false;\n\n const request = new Request(platform.origin, {\n body: new ReadableStream(),\n method: 'POST',\n get duplex() {\n duplexAccessed = true;\n return 'half';\n },\n });\n\n const hasContentType = request.headers.has('Content-Type');\n\n if (request.body != null) {\n request.body.cancel();\n }\n\n return duplexAccessed && !hasContentType;\n });\n\n const supportsResponseStream =\n isResponseSupported &&\n isReadableStreamSupported &&\n test(() => utils.isReadableStream(new Response('').body));\n\n const resolvers = {\n stream: supportsResponseStream && ((res) => res.body),\n };\n\n isFetchSupported &&\n (() => {\n ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => {\n !resolvers[type] &&\n (resolvers[type] = (res, config) => {\n let method = res && res[type];\n\n if (method) {\n return method.call(res);\n }\n\n throw new AxiosError(\n `Response type '${type}' is not supported`,\n AxiosError.ERR_NOT_SUPPORT,\n config\n );\n });\n });\n })();\n\n const getBodyLength = async (body) => {\n if (body == null) {\n return 0;\n }\n\n if (utils.isBlob(body)) {\n return body.size;\n }\n\n if (utils.isSpecCompliantForm(body)) {\n const _request = new Request(platform.origin, {\n method: 'POST',\n body,\n });\n return (await _request.arrayBuffer()).byteLength;\n }\n\n if (utils.isArrayBufferView(body) || utils.isArrayBuffer(body)) {\n return body.byteLength;\n }\n\n if (utils.isURLSearchParams(body)) {\n body = body + '';\n }\n\n if (utils.isString(body)) {\n return (await encodeText(body)).byteLength;\n }\n };\n\n const resolveBodyLength = async (headers, body) => {\n const length = utils.toFiniteNumber(headers.getContentLength());\n\n return length == null ? getBodyLength(body) : length;\n };\n\n return async (config) => {\n let {\n url,\n method,\n data,\n signal,\n cancelToken,\n timeout,\n onDownloadProgress,\n onUploadProgress,\n responseType,\n headers,\n withCredentials = 'same-origin',\n fetchOptions,\n maxContentLength,\n maxBodyLength,\n } = resolveConfig(config);\n\n const hasMaxContentLength = utils.isNumber(maxContentLength) && maxContentLength > -1;\n const hasMaxBodyLength = utils.isNumber(maxBodyLength) && maxBodyLength > -1;\n const own = (key) => (utils.hasOwnProp(config, key) ? config[key] : undefined);\n\n let _fetch = envFetch || fetch;\n\n responseType = responseType ? (responseType + '').toLowerCase() : 'text';\n\n let composedSignal = composeSignals(\n [signal, cancelToken && cancelToken.toAbortSignal()],\n timeout\n );\n\n let request = null;\n\n const unsubscribe =\n composedSignal &&\n composedSignal.unsubscribe &&\n (() => {\n composedSignal.unsubscribe();\n });\n\n let requestContentLength;\n\n // AxiosError we raise while the request body is being streamed. Captured\n // by identity so the catch block can surface it directly, regardless of\n // how the runtime wraps the resulting fetch rejection (undici exposes it\n // as `err.cause`; some browsers drop the original error entirely).\n let pendingBodyError = null;\n\n const maxBodyLengthError = () =>\n new AxiosError(\n 'Request body larger than maxBodyLength limit',\n AxiosError.ERR_BAD_REQUEST,\n config,\n request\n );\n\n try {\n // HTTP basic authentication\n let auth = undefined;\n const configAuth = own('auth');\n\n if (configAuth) {\n const username = utils.getSafeProp(configAuth, 'username') || '';\n const password = utils.getSafeProp(configAuth, 'password') || '';\n auth = {\n username,\n password\n };\n }\n\n if (maybeWithAuthCredentials(url)) {\n const parsedURL = new URL(url, platform.origin);\n\n if (!auth && (parsedURL.username || parsedURL.password)) {\n const urlUsername = decodeURIComponentSafe(parsedURL.username);\n const urlPassword = decodeURIComponentSafe(parsedURL.password);\n auth = {\n username: urlUsername,\n password: urlPassword\n };\n }\n\n if (parsedURL.username || parsedURL.password) {\n parsedURL.username = '';\n parsedURL.password = '';\n url = parsedURL.href;\n }\n }\n\n if (auth) {\n headers.delete('authorization');\n headers.set(\n 'Authorization',\n 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || '')))\n );\n }\n\n // Enforce maxContentLength for data: URLs up-front so we never materialize\n // an oversized payload. The HTTP adapter applies the same check (see http.js\n // \"if (protocol === 'data:')\" branch).\n if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) {\n const estimated = estimateDataURLDecodedBytes(url);\n if (estimated > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n // Enforce maxBodyLength against known-size bodies before dispatch using\n // the body's *actual* size — never a caller-declared Content-Length,\n // which could under-report to slip an oversized body past the check.\n // Unknown-size streams return undefined here and are counted per-chunk\n // below as fetch consumes them.\n if (hasMaxBodyLength && method !== 'get' && method !== 'head') {\n const outboundLength = await getBodyLength(data);\n if (typeof outboundLength === 'number' && isFinite(outboundLength)) {\n requestContentLength = outboundLength;\n if (outboundLength > maxBodyLength) {\n throw maxBodyLengthError();\n }\n }\n }\n\n // A streamed body under maxBodyLength must be counted as fetch consumes\n // it; its size is never trusted from a caller-declared Content-Length.\n const mustEnforceStreamBody =\n hasMaxBodyLength && (utils.isReadableStream(data) || utils.isStream(data));\n\n const trackRequestStream = (stream, onProgress, flush) =>\n trackStream(\n stream,\n DEFAULT_CHUNK_SIZE,\n (loadedBytes) => {\n if (hasMaxBodyLength && loadedBytes > maxBodyLength) {\n throw (pendingBodyError = maxBodyLengthError());\n }\n onProgress && onProgress(loadedBytes);\n },\n flush\n );\n\n if (\n supportsRequestStream &&\n method !== 'get' &&\n method !== 'head' &&\n (onUploadProgress || mustEnforceStreamBody)\n ) {\n requestContentLength =\n requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength;\n\n // A declared length of 0 is only trusted to skip the wrap when we are\n // not enforcing a stream limit (which must not rely on that header).\n if (requestContentLength !== 0 || mustEnforceStreamBody) {\n let _request = new Request(url, {\n method: 'POST',\n body: data,\n duplex: 'half',\n });\n\n let contentTypeHeader;\n\n if (utils.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {\n headers.setContentType(contentTypeHeader);\n }\n\n if (_request.body) {\n const [onProgress, flush] =\n (onUploadProgress &&\n progressEventDecorator(\n requestContentLength,\n progressEventReducer(asyncDecorator(onUploadProgress))\n )) ||\n [];\n\n data = trackRequestStream(_request.body, onProgress, flush);\n }\n }\n } else if (\n mustEnforceStreamBody &&\n !isRequestSupported &&\n isReadableStreamSupported &&\n method !== 'get' &&\n method !== 'head'\n ) {\n data = trackRequestStream(data);\n } else if (\n mustEnforceStreamBody &&\n isRequestSupported &&\n !supportsRequestStream &&\n method !== 'get' &&\n method !== 'head'\n ) {\n throw new AxiosError(\n 'Stream request bodies are not supported by the current fetch implementation',\n AxiosError.ERR_NOT_SUPPORT,\n config,\n request\n );\n }\n\n if (!utils.isString(withCredentials)) {\n withCredentials = withCredentials ? 'include' : 'omit';\n }\n\n // Cloudflare Workers throws when credentials are defined\n // see https://github.com/cloudflare/workerd/issues/902\n const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;\n\n // If data is FormData and Content-Type is multipart/form-data without boundary,\n // delete it so fetch can set it correctly with the boundary\n if (utils.isFormData(data)) {\n const contentType = headers.getContentType();\n if (\n contentType &&\n /^multipart\\/form-data/i.test(contentType) &&\n !/boundary=/i.test(contentType)\n ) {\n headers.delete('content-type');\n }\n }\n\n // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js)\n headers.set('User-Agent', 'axios/' + VERSION, false);\n\n const resolvedOptions = {\n ...fetchOptions,\n signal: composedSignal,\n method: method.toUpperCase(),\n headers: toByteStringHeaderObject(headers.normalize()),\n body: data,\n duplex: 'half',\n credentials: isCredentialsSupported ? withCredentials : undefined,\n };\n\n request = isRequestSupported && new Request(url, resolvedOptions);\n\n let response = await (isRequestSupported\n ? _fetch(request, fetchOptions)\n : _fetch(url, resolvedOptions));\n\n const responseHeaders = AxiosHeaders.from(response.headers);\n\n // Cheap pre-check: if the server honestly declares a content-length that\n // already exceeds the cap, reject before we start streaming.\n if (hasMaxContentLength) {\n const declaredLength = utils.toFiniteNumber(responseHeaders.getContentLength());\n if (declaredLength != null && declaredLength > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n const isStreamResponse =\n supportsResponseStream && (responseType === 'stream' || responseType === 'response');\n\n if (\n supportsResponseStream &&\n response.body &&\n (onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe))\n ) {\n const options = {};\n\n ['status', 'statusText', 'headers'].forEach((prop) => {\n options[prop] = response[prop];\n });\n\n const responseContentLength = utils.toFiniteNumber(responseHeaders.getContentLength());\n\n const [onProgress, flush] =\n (onDownloadProgress &&\n progressEventDecorator(\n responseContentLength,\n progressEventReducer(asyncDecorator(onDownloadProgress), true)\n )) ||\n [];\n\n let bytesRead = 0;\n const onChunkProgress = (loadedBytes) => {\n if (hasMaxContentLength) {\n bytesRead = loadedBytes;\n if (bytesRead > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n onProgress && onProgress(loadedBytes);\n };\n\n response = new Response(\n trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => {\n flush && flush();\n unsubscribe && unsubscribe();\n }),\n options\n );\n }\n\n responseType = responseType || 'text';\n\n let responseData = await resolvers[utils.findKey(resolvers, responseType) || 'text'](\n response,\n config\n );\n\n // Fallback enforcement for environments without ReadableStream support\n // (legacy runtimes). Detect materialized size from typed output; skip\n // streams/Response passthrough since the user will read those themselves.\n if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) {\n let materializedSize;\n if (responseData != null) {\n if (typeof responseData.byteLength === 'number') {\n materializedSize = responseData.byteLength;\n } else if (typeof responseData.size === 'number') {\n materializedSize = responseData.size;\n } else if (typeof responseData === 'string') {\n materializedSize =\n typeof TextEncoder === 'function'\n ? new TextEncoder().encode(responseData).byteLength\n : responseData.length;\n }\n }\n if (typeof materializedSize === 'number' && materializedSize > maxContentLength) {\n throw new AxiosError(\n 'maxContentLength size of ' + maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n request\n );\n }\n }\n\n !isStreamResponse && unsubscribe && unsubscribe();\n\n return await new Promise((resolve, reject) => {\n settle(resolve, reject, {\n data: responseData,\n headers: AxiosHeaders.from(response.headers),\n status: response.status,\n statusText: response.statusText,\n config,\n request,\n });\n });\n } catch (err) {\n unsubscribe && unsubscribe();\n\n // Safari can surface fetch aborts as a DOMException-like object whose\n // branded getters throw. Prefer our composed signal reason before reading\n // the caught error, preserving timeout vs cancellation semantics.\n if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError) {\n const canceledError = composedSignal.reason;\n canceledError.config = config;\n request && (canceledError.request = request);\n if (err !== canceledError) {\n // Non-enumerable to match native Error `cause` semantics so loggers\n // don't recurse into circular fetch internals (see #7205).\n Object.defineProperty(canceledError, 'cause', {\n __proto__: null,\n value: err,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n }\n throw canceledError;\n }\n\n // Surface a maxBodyLength violation we raised while the request body was\n // being streamed. Matching by identity (rather than reading\n // `err.cause.isAxiosError`) keeps the error deterministic across runtimes\n // and avoids both prototype-pollution reads and mis-attributing a foreign\n // AxiosError that merely happened to land in `err.cause`.\n if (pendingBodyError) {\n request && !pendingBodyError.request && (pendingBodyError.request = request);\n throw pendingBodyError;\n }\n\n // Re-throw AxiosErrors we raised synchronously (data: URL / content-length\n // pre-checks, response size enforcement) without re-wrapping them.\n if (err instanceof AxiosError) {\n request && !err.request && (err.request = request);\n throw err;\n }\n\n if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {\n const networkError = new AxiosError(\n 'Network Error',\n AxiosError.ERR_NETWORK,\n config,\n request,\n err && err.response\n );\n // Non-enumerable to match native Error `cause` semantics so loggers\n // don't recurse into circular fetch internals (see #7205).\n Object.defineProperty(networkError, 'cause', {\n __proto__: null,\n value: err.cause || err,\n writable: true,\n enumerable: false,\n configurable: true,\n });\n throw networkError;\n }\n\n throw AxiosError.from(err, err && err.code, config, request, err && err.response);\n }\n };\n};\n\nconst seedCache = new Map();\n\nexport const getFetch = (config) => {\n let env = (config && config.env) || {};\n const { fetch, Request, Response } = env;\n const seeds = [Request, Response, fetch];\n\n let len = seeds.length,\n i = len,\n seed,\n target,\n map = seedCache;\n\n while (i--) {\n seed = seeds[i];\n target = map.get(seed);\n\n target === undefined && map.set(seed, (target = i ? new Map() : factory(env)));\n\n map = target;\n }\n\n return target;\n};\n\nconst adapter = getFetch();\n\nexport default adapter;\n","import utils from '../utils.js';\nimport httpAdapter from './http.js';\nimport xhrAdapter from './xhr.js';\nimport * as fetchAdapter from './fetch.js';\nimport AxiosError from '../core/AxiosError.js';\n\n/**\n * Known adapters mapping.\n * Provides environment-specific adapters for Axios:\n * - `http` for Node.js\n * - `xhr` for browsers\n * - `fetch` for fetch API-based requests\n *\n * @type {Object}\n */\nconst knownAdapters = {\n http: httpAdapter,\n xhr: xhrAdapter,\n fetch: {\n get: fetchAdapter.getFetch,\n },\n};\n\n// Assign adapter names for easier debugging and identification\nutils.forEach(knownAdapters, (fn, value) => {\n if (fn) {\n try {\n // Null-proto descriptors so a polluted Object.prototype.get cannot turn\n // these data descriptors into accessor descriptors on the way in.\n Object.defineProperty(fn, 'name', { __proto__: null, value });\n } catch (e) {\n // eslint-disable-next-line no-empty\n }\n Object.defineProperty(fn, 'adapterName', { __proto__: null, value });\n }\n});\n\n/**\n * Render a rejection reason string for unknown or unsupported adapters\n *\n * @param {string} reason\n * @returns {string}\n */\nconst renderReason = (reason) => `- ${reason}`;\n\n/**\n * Check if the adapter is resolved (function, null, or false)\n *\n * @param {Function|null|false} adapter\n * @returns {boolean}\n */\nconst isResolvedHandle = (adapter) =>\n utils.isFunction(adapter) || adapter === null || adapter === false;\n\n/**\n * Get the first suitable adapter from the provided list.\n * Tries each adapter in order until a supported one is found.\n * Throws an AxiosError if no adapter is suitable.\n *\n * @param {Array|string|Function} adapters - Adapter(s) by name or function.\n * @param {Object} config - Axios request configuration\n * @throws {AxiosError} If no suitable adapter is available\n * @returns {Function} The resolved adapter function\n */\nfunction getAdapter(adapters, config) {\n adapters = utils.isArray(adapters) ? adapters : [adapters];\n\n const { length } = adapters;\n let nameOrAdapter;\n let adapter;\n\n const rejectedReasons = {};\n\n for (let i = 0; i < length; i++) {\n nameOrAdapter = adapters[i];\n let id;\n\n adapter = nameOrAdapter;\n\n if (!isResolvedHandle(nameOrAdapter)) {\n adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];\n\n if (adapter === undefined) {\n throw new AxiosError(`Unknown adapter '${id}'`);\n }\n }\n\n if (adapter && (utils.isFunction(adapter) || (adapter = adapter.get(config)))) {\n break;\n }\n\n rejectedReasons[id || '#' + i] = adapter;\n }\n\n if (!adapter) {\n const reasons = Object.entries(rejectedReasons).map(\n ([id, state]) =>\n `adapter ${id} ` +\n (state === false ? 'is not supported by the environment' : 'is not available in the build')\n );\n\n let s = length\n ? reasons.length > 1\n ? 'since :\\n' + reasons.map(renderReason).join('\\n')\n : ' ' + renderReason(reasons[0])\n : 'as no adapter specified';\n\n throw new AxiosError(\n `There is no suitable adapter to dispatch the request ` + s,\n AxiosError.ERR_NOT_SUPPORT\n );\n }\n\n return adapter;\n}\n\n/**\n * Exports Axios adapters and utility to resolve an adapter\n */\nexport default {\n /**\n * Resolve an adapter from a list of adapter names or functions.\n * @type {Function}\n */\n getAdapter,\n\n /**\n * Exposes all known adapters\n * @type {Object}\n */\n adapters: knownAdapters,\n};\n","// eslint-disable-next-line strict\nexport default null;\n","'use strict';\n\nimport transformData from './transformData.js';\nimport isCancel from '../cancel/isCancel.js';\nimport defaults from '../defaults/index.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport adapters from '../adapters/adapters.js';\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n *\n * @param {Object} config The config that is to be used for the request\n *\n * @returns {void}\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new CanceledError(null, config);\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n *\n * @returns {Promise} The Promise to be fulfilled\n */\nexport default function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n config.headers = AxiosHeaders.from(config.headers);\n\n // Transform request data\n config.data = transformData.call(config, config.transformRequest);\n\n if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {\n config.headers.setContentType('application/x-www-form-urlencoded', false);\n }\n\n const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config);\n\n return adapter(config).then(\n function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Expose the current response on config so that transformResponse can\n // attach it to any AxiosError it throws (e.g. on JSON parse failure).\n // We clean it up afterwards to avoid polluting the config object.\n config.response = response;\n try {\n response.data = transformData.call(config, config.transformResponse, response);\n } finally {\n delete config.response;\n }\n\n response.headers = AxiosHeaders.from(response.headers);\n\n return response;\n },\n function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n config.response = reason.response;\n try {\n reason.response.data = transformData.call(\n config,\n config.transformResponse,\n reason.response\n );\n } finally {\n delete config.response;\n }\n reason.response.headers = AxiosHeaders.from(reason.response.headers);\n }\n }\n\n return Promise.reject(reason);\n }\n );\n}\n","'use strict';\n\nimport { VERSION } from '../env/data.js';\nimport AxiosError from '../core/AxiosError.js';\n\nconst validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nconst deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n *\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n *\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return (\n '[Axios v' +\n VERSION +\n \"] Transitional option '\" +\n opt +\n \"'\" +\n desc +\n (message ? '. ' + message : '')\n );\n }\n\n // eslint-disable-next-line func-names\n return (value, opt, opts) => {\n if (validator === false) {\n throw new AxiosError(\n formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),\n AxiosError.ERR_DEPRECATED\n );\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\nvalidators.spelling = function spelling(correctSpelling) {\n return (value, opt) => {\n // eslint-disable-next-line no-console\n console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);\n return true;\n };\n};\n\n/**\n * Assert object's properties type\n *\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n *\n * @returns {object}\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object' || options === null) {\n throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);\n }\n const keys = Object.keys(options);\n let i = keys.length;\n while (i-- > 0) {\n const opt = keys[i];\n // Use hasOwnProperty so a polluted Object.prototype. cannot supply\n // a non-function validator and cause a TypeError.\n const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined;\n if (validator) {\n const value = options[opt];\n const result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new AxiosError(\n 'option ' + opt + ' must be ' + result,\n AxiosError.ERR_BAD_OPTION_VALUE\n );\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);\n }\n }\n}\n\nexport default {\n assertOptions,\n validators,\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport buildURL from '../helpers/buildURL.js';\nimport InterceptorManager from './InterceptorManager.js';\nimport dispatchRequest from './dispatchRequest.js';\nimport mergeConfig from './mergeConfig.js';\nimport buildFullPath from './buildFullPath.js';\nimport validator from '../helpers/validator.js';\nimport AxiosHeaders from './AxiosHeaders.js';\nimport transitionalDefaults from '../defaults/transitional.js';\n\nconst validators = validator.validators;\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n *\n * @return {Axios} A new instance of Axios\n */\nclass Axios {\n constructor(instanceConfig) {\n this.defaults = instanceConfig || {};\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager(),\n };\n }\n\n /**\n * Dispatch a request\n *\n * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)\n * @param {?Object} config\n *\n * @returns {Promise} The Promise to be fulfilled\n */\n async request(configOrUrl, config) {\n try {\n return await this._request(configOrUrl, config);\n } catch (err) {\n if (err instanceof Error) {\n let dummy = {};\n\n Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());\n\n // slice off the Error: ... line\n const stack = (() => {\n if (!dummy.stack) {\n return '';\n }\n\n const firstNewlineIndex = dummy.stack.indexOf('\\n');\n\n return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1);\n })();\n try {\n if (!err.stack) {\n err.stack = stack;\n // match without the 2 top stack lines\n } else if (stack) {\n const firstNewlineIndex = stack.indexOf('\\n');\n const secondNewlineIndex =\n firstNewlineIndex === -1 ? -1 : stack.indexOf('\\n', firstNewlineIndex + 1);\n const stackWithoutTwoTopLines =\n secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1);\n\n if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) {\n err.stack += '\\n' + stack;\n }\n }\n } catch (e) {\n // ignore the case where \"stack\" is an un-writable property\n }\n }\n\n throw err;\n }\n }\n\n _request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n const { transitional, paramsSerializer, headers } = config;\n\n if (transitional !== undefined) {\n validator.assertOptions(\n transitional,\n {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean),\n legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),\n advertiseZstdAcceptEncoding: validators.transitional(validators.boolean),\n validateStatusUndefinedResolves: validators.transitional(validators.boolean),\n },\n false\n );\n }\n\n if (paramsSerializer != null) {\n if (utils.isFunction(paramsSerializer)) {\n config.paramsSerializer = {\n serialize: paramsSerializer,\n };\n } else {\n validator.assertOptions(\n paramsSerializer,\n {\n encode: validators.function,\n serialize: validators.function,\n },\n true\n );\n }\n }\n\n // Set config.allowAbsoluteUrls\n if (config.allowAbsoluteUrls !== undefined) {\n // do nothing\n } else if (this.defaults.allowAbsoluteUrls !== undefined) {\n config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;\n } else {\n config.allowAbsoluteUrls = true;\n }\n\n validator.assertOptions(\n config,\n {\n baseUrl: validators.spelling('baseURL'),\n withXsrfToken: validators.spelling('withXSRFToken'),\n },\n true\n );\n\n // Set config.method\n config.method = (config.method || this.defaults.method || 'get').toLowerCase();\n\n // Flatten headers\n let contextHeaders = headers && utils.merge(headers.common, headers[config.method]);\n\n headers &&\n utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => {\n delete headers[method];\n });\n\n config.headers = AxiosHeaders.concat(contextHeaders, headers);\n\n // filter out skipped interceptors\n const requestInterceptorChain = [];\n let synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n const transitional = config.transitional || transitionalDefaults;\n const legacyInterceptorReqResOrdering =\n transitional && transitional.legacyInterceptorReqResOrdering;\n\n if (legacyInterceptorReqResOrdering) {\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n } else {\n requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n }\n });\n\n const responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n let promise;\n let i = 0;\n let len;\n\n if (!synchronousRequestInterceptors) {\n const chain = [dispatchRequest.bind(this), undefined];\n chain.unshift(...requestInterceptorChain);\n chain.push(...responseInterceptorChain);\n len = chain.length;\n\n promise = Promise.resolve(config);\n\n while (i < len) {\n promise = promise.then(chain[i++], chain[i++]);\n }\n\n return promise;\n }\n\n len = requestInterceptorChain.length;\n\n let newConfig = config;\n\n while (i < len) {\n const onFulfilled = requestInterceptorChain[i++];\n const onRejected = requestInterceptorChain[i++];\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected.call(this, error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest.call(this, newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n i = 0;\n len = responseInterceptorChain.length;\n\n while (i < len) {\n promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);\n }\n\n return promise;\n }\n\n getUri(config) {\n config = mergeConfig(this.defaults, config);\n const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config);\n return buildURL(fullPath, config.params, config.paramsSerializer);\n }\n}\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function (url, config) {\n return this.request(\n mergeConfig(config || {}, {\n method,\n url,\n data: config && utils.hasOwnProp(config, 'data') ? config.data : undefined,\n })\n );\n };\n});\n\nutils.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) {\n function generateHTTPMethod(isForm) {\n return function httpMethod(url, data, config) {\n return this.request(\n mergeConfig(config || {}, {\n method,\n headers: isForm\n ? {\n 'Content-Type': 'multipart/form-data',\n }\n : {},\n url,\n data,\n })\n );\n };\n }\n\n Axios.prototype[method] = generateHTTPMethod();\n\n // QUERY is a safe/idempotent read method; multipart form bodies don't fit\n // its semantics, so no queryForm shorthand is generated.\n if (method !== 'query') {\n Axios.prototype[method + 'Form'] = generateHTTPMethod(true);\n }\n});\n\nexport default Axios;\n","const HttpStatusCode = {\n Continue: 100,\n SwitchingProtocols: 101,\n Processing: 102,\n EarlyHints: 103,\n Ok: 200,\n Created: 201,\n Accepted: 202,\n NonAuthoritativeInformation: 203,\n NoContent: 204,\n ResetContent: 205,\n PartialContent: 206,\n MultiStatus: 207,\n AlreadyReported: 208,\n ImUsed: 226,\n MultipleChoices: 300,\n MovedPermanently: 301,\n Found: 302,\n SeeOther: 303,\n NotModified: 304,\n UseProxy: 305,\n Unused: 306,\n TemporaryRedirect: 307,\n PermanentRedirect: 308,\n BadRequest: 400,\n Unauthorized: 401,\n PaymentRequired: 402,\n Forbidden: 403,\n NotFound: 404,\n MethodNotAllowed: 405,\n NotAcceptable: 406,\n ProxyAuthenticationRequired: 407,\n RequestTimeout: 408,\n Conflict: 409,\n Gone: 410,\n LengthRequired: 411,\n PreconditionFailed: 412,\n PayloadTooLarge: 413,\n UriTooLong: 414,\n UnsupportedMediaType: 415,\n RangeNotSatisfiable: 416,\n ExpectationFailed: 417,\n ImATeapot: 418,\n MisdirectedRequest: 421,\n UnprocessableEntity: 422,\n Locked: 423,\n FailedDependency: 424,\n TooEarly: 425,\n UpgradeRequired: 426,\n PreconditionRequired: 428,\n TooManyRequests: 429,\n RequestHeaderFieldsTooLarge: 431,\n UnavailableForLegalReasons: 451,\n InternalServerError: 500,\n NotImplemented: 501,\n BadGateway: 502,\n ServiceUnavailable: 503,\n GatewayTimeout: 504,\n HttpVersionNotSupported: 505,\n VariantAlsoNegotiates: 506,\n InsufficientStorage: 507,\n LoopDetected: 508,\n NotExtended: 510,\n NetworkAuthenticationRequired: 511,\n WebServerIsDown: 521,\n ConnectionTimedOut: 522,\n OriginIsUnreachable: 523,\n TimeoutOccurred: 524,\n SslHandshakeFailed: 525,\n InvalidSslCertificate: 526,\n};\n\nObject.entries(HttpStatusCode).forEach(([key, value]) => {\n HttpStatusCode[value] = key;\n});\n\nexport default HttpStatusCode;\n","'use strict';\n\nimport utils from './utils.js';\nimport bind from './helpers/bind.js';\nimport Axios from './core/Axios.js';\nimport mergeConfig from './core/mergeConfig.js';\nimport defaults from './defaults/index.js';\nimport formDataToJSON from './helpers/formDataToJSON.js';\nimport CanceledError from './cancel/CanceledError.js';\nimport CancelToken from './cancel/CancelToken.js';\nimport isCancel from './cancel/isCancel.js';\nimport { VERSION } from './env/data.js';\nimport toFormData from './helpers/toFormData.js';\nimport AxiosError from './core/AxiosError.js';\nimport spread from './helpers/spread.js';\nimport isAxiosError from './helpers/isAxiosError.js';\nimport AxiosHeaders from './core/AxiosHeaders.js';\nimport adapters from './adapters/adapters.js';\nimport HttpStatusCode from './helpers/HttpStatusCode.js';\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n *\n * @returns {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n const context = new Axios(defaultConfig);\n const instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context, { allOwnKeys: true });\n\n // Copy context to instance\n utils.extend(instance, context, null, { allOwnKeys: true });\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nconst axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.CanceledError = CanceledError;\naxios.CancelToken = CancelToken;\naxios.isCancel = isCancel;\naxios.VERSION = VERSION;\naxios.toFormData = toFormData;\n\n// Expose AxiosError class\naxios.AxiosError = AxiosError;\n\n// alias for CanceledError for backward compatibility\naxios.Cancel = axios.CanceledError;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\n\naxios.spread = spread;\n\n// Expose isAxiosError\naxios.isAxiosError = isAxiosError;\n\n// Expose mergeConfig\naxios.mergeConfig = mergeConfig;\n\naxios.AxiosHeaders = AxiosHeaders;\n\naxios.formToJSON = (thing) => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);\n\naxios.getAdapter = adapters.getAdapter;\n\naxios.HttpStatusCode = HttpStatusCode;\n\naxios.default = axios;\n\n// this module should only have a default export\nexport default axios;\n","'use strict';\n\nimport CanceledError from './CanceledError.js';\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @param {Function} executor The executor function.\n *\n * @returns {CancelToken}\n */\nclass CancelToken {\n constructor(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n let resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n const token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then((cancel) => {\n if (!token._listeners) return;\n\n let i = token._listeners.length;\n\n while (i-- > 0) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = (onfulfilled) => {\n let _resolve;\n // eslint-disable-next-line func-names\n const promise = new Promise((resolve) => {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message, config, request) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new CanceledError(message, config, request);\n resolvePromise(token.reason);\n });\n }\n\n /**\n * Throws a `CanceledError` if cancellation has been requested.\n */\n throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n }\n\n /**\n * Subscribe to the cancel signal\n */\n\n subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n }\n\n /**\n * Unsubscribe from the cancel signal\n */\n\n unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n const index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n }\n\n toAbortSignal() {\n const controller = new AbortController();\n\n const abort = (err) => {\n controller.abort(err);\n };\n\n this.subscribe(abort);\n\n controller.signal.unsubscribe = () => this.unsubscribe(abort);\n\n return controller.signal;\n }\n\n /**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\n static source() {\n let cancel;\n const token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token,\n cancel,\n };\n }\n}\n\nexport default CancelToken;\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * const args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n *\n * @returns {Function}\n */\nexport default function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n *\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nexport default function isAxiosError(payload) {\n return utils.isObject(payload) && payload.isAxiosError === true;\n}\n","import axios from './lib/axios.js';\n\n// This module is intended to unwrap Axios default export as named.\n// Keep top-level export same with static properties\n// so that it can keep same with es module or cjs\nconst {\n Axios,\n AxiosError,\n CanceledError,\n isCancel,\n CancelToken,\n VERSION,\n all,\n Cancel,\n isAxiosError,\n spread,\n toFormData,\n AxiosHeaders,\n HttpStatusCode,\n formToJSON,\n getAdapter,\n mergeConfig,\n create,\n} = axios;\n\nexport {\n axios as default,\n create,\n Axios,\n AxiosError,\n CanceledError,\n isCancel,\n CancelToken,\n VERSION,\n all,\n Cancel,\n isAxiosError,\n spread,\n toFormData,\n AxiosHeaders,\n HttpStatusCode,\n formToJSON,\n getAdapter,\n mergeConfig,\n};\n"],"names":["bind","fn","thisArg","apply","arguments","toString","Object","prototype","getPrototypeOf","iterator","toStringTag","Symbol","hasOwnProperty","obj","prop","call","hasOwnInPrototypeChain","thing","seen","indexOf","push","kindOf","cache","create","str","slice","toLowerCase","kindOfTest","type","typeOfTest","isArray","Array","isUndefined","isBuffer","val","constructor","isFunction","isArrayBuffer","isString","isNumber","isObject","isPlainObject","isDate","isFile","isBlob","isFileList","G","globalThis","self","window","global","FormDataCtor","FormData","undefined","isURLSearchParams","isReadableStream","isRequest","isResponse","isHeaders","map","forEach","allOwnKeys","i","l","length","keys","getOwnPropertyNames","len","key","findKey","_key","_global","isContextDefined","context","isTypedArray","TypedArray","Uint8Array","isHTMLForm","propertyIsEnumerable","isRegExp","reduceDescriptors","reducer","descriptors","getOwnPropertyDescriptors","reducedDescriptors","descriptor","name","ret","defineProperties","isAsyncFn","_setImmediate","setImmediateSupported","setImmediate","postMessageSupported","postMessage","token","Math","random","callbacks","addEventListener","source","data","shift","cb","setTimeout","asap","queueMicrotask","process","nextTick","isIterable","utils$1","isFormData","proto","append","kind","isArrayBufferView","result","ArrayBuffer","isView","buffer","isBoolean","isEmptyObject","e","isReactNativeBlob","value","uri","isReactNative","formData","getParts","isStream","pipe","merge","objs","caseless","skipUndefined","this","assignValue","targetKey","existing","symbols","getOwnPropertySymbols","j","symbol","extend","a","b","defineProperty","__proto__","writable","enumerable","configurable","trim","replace","stripBOM","content","charCodeAt","inherits","superConstructor","props","assign","toFlatObject","sourceObj","destObj","filter","propFilter","merged","endsWith","searchString","position","String","lastIndex","toArray","arr","forEachEntry","_iterator","next","done","pair","matchAll","regExp","matches","exec","hasOwnProp","getSafeProp","freezeMethods","includes","set","Error","toObjectSet","arrayOrString","delimiter","define","split","toCamelCase","m","p1","p2","toUpperCase","noop","toFiniteNumber","defaultValue","Number","isFinite","isSpecCompliantForm","toJSONObject","visited","WeakSet","visit","has","add","target","reducedValue","delete","isThenable","then","catch","isSafeIterable","ignoreDuplicateOf","utils","INVALID_UNICODE_HEADER_VALUE_CHARS","RegExp","INVALID_BYTE_STRING_HEADER_VALUE_CHARS","sanitizeValue","invalidChars","item","start","end","code","trimSPorHTAB","toByteStringHeaderObject","headers","byteStringHeaders","toJSON","header","sanitizeByteStringHeaderValue","$internals","normalizeHeader","normalizeValue","sanitizeHeaderValue","matchHeaderValue","isHeaderNameFilter","test","AxiosHeaders$1","valueOrRewrite","rewrite","setHeader","_value","_header","_rewrite","lHeader","setHeaders","rawHeaders","parsed","line","substring","parseHeaders","dest","entry","TypeError","get","parser","tokens","tokensRE","match","parseTokens","matcher","deleted","deleteHeader","clear","normalize","format","normalized","w","char","formatHeader","concat","targets","asStrings","join","entries","getSetCookie","from","first","computed","accessor","accessors","defineAccessor","accessorName","methodName","arg1","arg2","arg3","buildAccessors","AxiosHeaders","mapped","headerValue","redactConfig","config","redactKeys","lowerKeys","Set","k","v","hasOwnOrPrototypeToJSON","pop","AxiosError","error","request","response","customProps","axiosError","message","status","super","isAxiosError","redact","serializedConfig","description","number","fileName","lineNumber","columnNumber","stack","ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ECONNREFUSED","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL","ERR_FORM_DATA_DEPTH_EXCEEDED","isVisitable","removeBrackets","renderKey","path","dots","predicates","toFormData","options","metaTokens","indexes","option","visitor","defaultVisitor","_Blob","Blob","maxDepth","useBlob","convertValue","toISOString","Buffer","throwIfMaxDepthExceeded","depth","Infinity","JSON","stringify","ancestors","currentValue","stringifyWithDepthLimit","some","isFlatArray","el","index","exposedHelpers","build","encode","charMap","encodeURIComponent","AxiosURLSearchParams","params","_pairs","buildURL","url","_options","serialize","_encode","serializeFn","serializedParams","hashmarkIndex","encoder","InterceptorManager","handlers","use","fulfilled","rejected","synchronous","runWhen","eject","id","h","transitionalDefaults","silentJSONParsing","forcedJSONParsing","clarifyTimeoutError","legacyInterceptorReqResOrdering","advertiseZstdAcceptEncoding","validateStatusUndefinedResolves","platform$1","isBrowser","classes","URLSearchParams","protocols","hasBrowserEnv","document","_navigator","navigator","hasStandardBrowserEnv","product","hasStandardBrowserWebWorkerEnv","WorkerGlobalScope","importScripts","origin","location","href","platform","throwIfDepthExceeded","formDataToJSON","buildPath","isNumericKey","isLast","arrayToObject","pattern","parsePropPath","own","defaults","transitional","adapter","transformRequest","contentType","getContentType","hasJSONContentType","isObjectPayload","setContentType","formSerializer","helpers","isNode","toURLEncodedForm","env","_FormData","rawValue","parse","stringifySafely","transformResponse","responseType","JSONRequested","strictJSONParsing","timeout","xsrfCookieName","xsrfHeaderName","maxContentLength","maxBodyLength","validateStatus","common","Accept","transformData","fns","isCancel","__CANCEL__","method","settle","resolve","reject","progressEventReducer","listener","isDownloadStream","freq","bytesNotified","_speedometer","samplesCount","min","bytes","timestamps","firstSampleTS","head","tail","chunkLength","now","Date","startedAt","bytesCount","passed","round","speedometer","lastArgs","timer","timestamp","threshold","invoke","args","clearTimeout","throttle","loaded","rawLoaded","total","lengthComputable","progressBytes","max","rate","progress","estimated","event","progressEventDecorator","throttled","asyncDecorator","isURLSameOrigin","isMSIE","URL","protocol","host","port","userAgent","cookies","write","expires","domain","secure","sameSite","cookie","toUTCString","read","eq","decodeURIComponent","remove","malformedHttpProtocol","httpProtocolControlCharacters","assertValidHttpProtocolURL","stripLeadingC0ControlOrSpace","normalizeURLForProtocolCheck","buildFullPath","baseURL","requestedURL","allowAbsoluteUrls","isRelativeUrl","relativeURL","combineURLs","headersToObject","mergeConfig","config1","config2","getMergedValue","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","paramsSerializer","timeoutMessage","withCredentials","withXSRFToken","onUploadProgress","onDownloadProgress","decompress","beforeRedirect","transport","httpAgent","httpsAgent","cancelToken","socketPath","allowedSocketPaths","responseEncoding","configValue","transitional2","transitional1","getMergedTransitionalOption","FORM_DATA_CONTENT_HEADERS","resolveConfig","newConfig","auth","username","password","btoa","_","hex","fromCharCode","parseInt","getHeaders","formHeaders","policy","setFormDataHeaders","xsrfValue","xhrAdapter","XMLHttpRequest","Promise","_config","requestData","requestHeaders","onCanceled","uploadThrottled","downloadThrottled","flushUpload","flushDownload","unsubscribe","signal","removeEventListener","onloadend","responseHeaders","getAllResponseHeaders","err","responseText","statusText","open","onreadystatechange","readyState","responseURL","startsWith","onabort","onerror","msg","ontimeout","timeoutErrorMessage","setRequestHeader","upload","cancel","CanceledError","abort","subscribe","aborted","parseProtocol","send","composeSignals","signals","Boolean","controller","AbortController","reason","once","streamChunk","chunk","chunkSize","byteLength","pos","readStream","async","stream","asyncIterator","reader","getReader","trackStream","onProgress","onFinish","iterable","readBytes","_onFinish","ReadableStream","pull","close","loadedBytes","enqueue","return","highWaterMark","isHexDigit","charCode","isPercentEncodedByte","VERSION","decodeURIComponentSafe","factory","globalObject","TextEncoder","Request","Response","fetch","envFetch","isFetchSupported","isRequestSupported","isResponseSupported","isReadableStreamSupported","encodeText","arrayBuffer","supportsRequestStream","duplexAccessed","body","duplex","hasContentType","supportsResponseStream","resolvers","res","getBodyLength","size","_request","fetchOptions","hasMaxContentLength","hasMaxBodyLength","_fetch","composedSignal","toAbortSignal","requestContentLength","pendingBodyError","maxBodyLengthError","configAuth","protocolIndex","urlToCheck","maybeWithAuthCredentials","parsedURL","urlUsername","comma","meta","effectiveLen","pad","idx","tailIsPct3D","floor","c","estimateDataURLDecodedBytes","outboundLength","mustEnforceStreamBody","trackRequestStream","flush","getContentLength","resolveBodyLength","contentTypeHeader","isCredentialsSupported","resolvedOptions","credentials","declaredLength","isStreamResponse","responseContentLength","bytesRead","onChunkProgress","responseData","materializedSize","canceledError","networkError","cause","seedCache","Map","getFetch","seeds","seed","knownAdapters","http","xhr","fetchAdapter.getFetch","renderReason","isResolvedHandle","adapters","getAdapter","nameOrAdapter","rejectedReasons","reasons","state","s","throwIfCancellationRequested","throwIfRequested","dispatchRequest","validators","deprecatedWarnings","validator","version","formatMessage","opt","desc","opts","console","warn","spelling","correctSpelling","assertOptions","schema","allowUnknown","Axios$1","instanceConfig","interceptors","configOrUrl","dummy","captureStackTrace","firstNewlineIndex","secondNewlineIndex","stackWithoutTwoTopLines","boolean","function","baseUrl","withXsrfToken","contextHeaders","requestInterceptorChain","synchronousRequestInterceptors","interceptor","unshift","responseInterceptorChain","promise","chain","onFulfilled","onRejected","getUri","Axios","generateHTTPMethod","isForm","HttpStatusCode","Continue","SwitchingProtocols","Processing","EarlyHints","Ok","Created","Accepted","NonAuthoritativeInformation","NoContent","ResetContent","PartialContent","MultiStatus","AlreadyReported","ImUsed","MultipleChoices","MovedPermanently","Found","SeeOther","NotModified","UseProxy","Unused","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","LengthRequired","PreconditionFailed","PayloadTooLarge","UriTooLong","UnsupportedMediaType","RangeNotSatisfiable","ExpectationFailed","ImATeapot","MisdirectedRequest","UnprocessableEntity","Locked","FailedDependency","TooEarly","UpgradeRequired","PreconditionRequired","TooManyRequests","RequestHeaderFieldsTooLarge","UnavailableForLegalReasons","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpVersionNotSupported","VariantAlsoNegotiates","InsufficientStorage","LoopDetected","NotExtended","NetworkAuthenticationRequired","WebServerIsDown","ConnectionTimedOut","OriginIsUnreachable","TimeoutOccurred","SslHandshakeFailed","InvalidSslCertificate","axios","createInstance","defaultConfig","instance","CancelToken","executor","resolvePromise","_listeners","onfulfilled","_resolve","splice","Cancel","all","promises","spread","callback","payload","formToJSON","default"],"mappings":";AASe,SAASA,EAAKC,EAAIC,GAC/B,OAAO,WACL,OAAOD,EAAGE,MAAMD,EAASE,UAC3B,CACF,CCPA,MAAMC,SAAEA,GAAaC,OAAOC,WACtBC,eAAEA,GAAmBF,QACrBG,SAAEA,EAAQC,YAAEA,GAAgBC,OAG5BC,EAAiB,GAClBA,oBACH,CAACC,EAAKC,IACJF,EAAeG,KAAKF,EAAKC,GAHN,CAIrBR,OAAOC,WAcHS,EAAyB,CAACC,EAAOH,KACrC,IAAID,EAAMI,EACV,MAAMC,EAAO,GAEb,KAAc,MAAPL,GAAeA,IAAQP,OAAOC,WAAW,CAC9C,IAA0B,IAAtBW,EAAKC,QAAQN,GACf,OAAO,EAIT,GAFAK,EAAKE,KAAKP,GAEND,EAAeC,EAAKC,GACtB,OAAO,EAETD,EAAML,EAAeK,EACvB,CACA,OAAO,GAiBHQ,GAAWC,EAGdhB,OAAOiB,OAAO,MAHWN,IAC1B,MAAMO,EAAMnB,EAASU,KAAKE,GAC1B,OAAOK,EAAME,KAASF,EAAME,GAAOA,EAAIC,MAAM,MAAOC,iBAFvC,IAAEJ,EAKjB,MAAMK,EAAcC,IAClBA,EAAOA,EAAKF,cACJT,GAAUI,EAAOJ,KAAWW,GAGhCC,EAAcD,GAAUX,UAAiBA,IAAUW,GASnDE,QAAEA,GAAYC,MASdC,EAAcH,EAAW,aAS/B,SAASI,EAASC,GAChB,OACU,OAARA,IACCF,EAAYE,IACO,OAApBA,EAAIC,cACHH,EAAYE,EAAIC,cACjBC,EAAWF,EAAIC,YAAYF,WAC3BC,EAAIC,YAAYF,SAASC,EAE7B,CASA,MAAMG,EAAgBV,EAAW,eA0BjC,MAAMW,EAAWT,EAAW,UAQtBO,EAAaP,EAAW,YASxBU,EAAWV,EAAW,UAStBW,EAAYvB,GAAoB,OAAVA,GAAmC,iBAAVA,EAiB/CwB,EAAiBP,IACrB,IAAKM,EAASN,GACZ,OAAO,EAGT,MAAM3B,EAAYC,EAAe0B,GACjC,QACiB,OAAd3B,GACCA,IAAcD,OAAOC,WACS,OAA9BC,EAAeD,IAIhBS,EAAuBkB,EAAKxB,IAC5BM,EAAuBkB,EAAKzB,KAgC3BiC,EAASf,EAAW,QASpBgB,EAAShB,EAAW,QAkCpBiB,EAASjB,EAAW,QASpBkB,EAAalB,EAAW,YA0B9B,MAAMmB,EAPsB,oBAAfC,WAAmCA,WAC1B,oBAATC,KAA6BA,KAClB,oBAAXC,OAA+BA,OACpB,oBAAXC,OAA+BA,OACnC,CAAA,EAIHC,OAAqC,IAAfL,EAAEM,SAA2BN,EAAEM,cAAWC,EAwBhEC,EAAoB3B,EAAW,oBAE9B4B,EAAkBC,EAAWC,EAAYC,GAAa,CAC3D,iBACA,UACA,WACA,WACAC,IAAIhC,GA4BN,SAASiC,EAAQ/C,EAAKZ,GAAI4D,WAAEA,GAAa,GAAU,IAEjD,GAAIhD,QACF,OAGF,IAAIiD,EACAC,EAQJ,GALmB,iBAARlD,IAETA,EAAM,CAACA,IAGLiB,EAAQjB,GAEV,IAAKiD,EAAI,EAAGC,EAAIlD,EAAImD,OAAQF,EAAIC,EAAGD,IACjC7D,EAAGc,KAAK,KAAMF,EAAIiD,GAAIA,EAAGjD,OAEtB,CAEL,GAAIoB,EAASpB,GACX,OAIF,MAAMoD,EAAOJ,EAAavD,OAAO4D,oBAAoBrD,GAAOP,OAAO2D,KAAKpD,GAClEsD,EAAMF,EAAKD,OACjB,IAAII,EAEJ,IAAKN,EAAI,EAAGA,EAAIK,EAAKL,IACnBM,EAAMH,EAAKH,GACX7D,EAAGc,KAAK,KAAMF,EAAIuD,GAAMA,EAAKvD,EAEjC,CACF,CAUA,SAASwD,EAAQxD,EAAKuD,GACpB,GAAInC,EAASpB,GACX,OAAO,KAGTuD,EAAMA,EAAI1C,cACV,MAAMuC,EAAO3D,OAAO2D,KAAKpD,GACzB,IACIyD,EADAR,EAAIG,EAAKD,OAEb,KAAOF,KAAM,GAEX,GADAQ,EAAOL,EAAKH,GACRM,IAAQE,EAAK5C,cACf,OAAO4C,EAGX,OAAO,IACT,CAEA,MAAMC,EAEsB,oBAAfxB,WAAmCA,WACvB,oBAATC,KAAuBA,KAAyB,oBAAXC,OAAyBA,OAASC,OAGjFsB,EAAoBC,IAAazC,EAAYyC,IAAYA,IAAYF,EAiF3E,MAsJMG,GAAiBC,EAKE,oBAAfC,YAA8BpE,EAAeoE,YAH7C3D,GACC0D,GAAc1D,aAAiB0D,GAHrB,IAAEA,EAevB,MAiCME,EAAalD,EAAW,oBAQxBmD,qBAAEA,GAAyBxE,OAAOC,UASlCwE,EAAWpD,EAAW,UAEtBqD,EAAoB,CAACnE,EAAKoE,KAC9B,MAAMC,EAAc5E,OAAO6E,0BAA0BtE,GAC/CuE,EAAqB,CAAA,EAE3BxB,EAAQsB,EAAa,CAACG,EAAYC,KAChC,IAAIC,GAC2C,KAA1CA,EAAMN,EAAQI,EAAYC,EAAMzE,MACnCuE,EAAmBE,GAAQC,GAAOF,KAItC/E,OAAOkF,iBAAiB3E,EAAKuE,IAoF/B,MA0CMK,EAAY9D,EAAW,iBAyBvB+D,GAAkBC,EAuBG,mBAAjBC,aAvBqCC,EAuBRzD,EAAWmC,EAAQuB,aAtBpDH,EACKC,aAGFC,GACDE,EAeC,SAASC,KAAKC,WAfRC,EAeoB,GAd3B3B,EAAQ4B,iBACN,UACA,EAAGC,SAAQC,WACLD,IAAW7B,GAAW8B,IAASN,GACjCG,EAAUlC,QAAUkC,EAAUI,OAAVJ,KAGxB,GAGMK,IACNL,EAAU9E,KAAKmF,GACfhC,EAAQuB,YAAYC,EAAO,OAG9BQ,GAAOC,WAAWD,IAtBH,IAAEZ,EAAuBE,EAMvCE,EAAOG,EAyBf,MAAMO,EACsB,oBAAnBC,eACHA,eAAe1G,KAAKuE,GACA,oBAAZoC,SAA2BA,QAAQC,UAAalB,EAIxDmB,EAAc5F,GAAmB,MAATA,GAAiBmB,EAAWnB,EAAMR,IAgBhE,IAAAqG,EAAe,CACbhF,UACAO,gBACAJ,WACA8E,WAroBkB9F,IAClB,IAAKA,EAAO,OAAO,EACnB,GAAIkC,GAAgBlC,aAAiBkC,EAAc,OAAO,EAE1D,MAAM6D,EAAQxG,EAAeS,GAC7B,IAAK+F,GAASA,IAAU1G,OAAOC,UAAW,OAAO,EACjD,IAAK6B,EAAWnB,EAAMgG,QAAS,OAAO,EACtC,MAAMC,EAAO7F,EAAOJ,GACpB,MACW,aAATiG,GAEU,WAATA,GAAqB9E,EAAWnB,EAAMZ,WAAkC,sBAArBY,EAAMZ,YA2nB5D8G,kBAj0BF,SAA2BjF,GACzB,IAAIkF,EAMJ,OAJEA,EADyB,oBAAhBC,aAA+BA,YAAYC,OAC3CD,YAAYC,OAAOpF,GAEnBA,GAAOA,EAAIqF,QAAUlF,EAAcH,EAAIqF,QAE3CH,CACT,EA0zBE9E,WACAC,WACAiF,UAjxBiBvG,IAAoB,IAAVA,IAA4B,IAAVA,EAkxB7CuB,WACAC,gBACAgF,cAlvBqBvF,IAErB,IAAKM,EAASN,IAAQD,EAASC,GAC7B,OAAO,EAGT,IACE,OAAmC,IAA5B5B,OAAO2D,KAAK/B,GAAK8B,QAAgB1D,OAAOE,eAAe0B,KAAS5B,OAAOC,SAChF,CAAE,MAAOmH,GAEP,OAAO,CACT,GAwuBAnE,mBACAC,YACAC,aACAC,YACA1B,cACAU,SACAC,SACAgF,kBA/sByBC,MACfA,QAA8B,IAAdA,EAAMC,KA+sBhCC,cApsBqBC,GAAaA,QAAyC,IAAtBA,EAASC,SAqsB9DpF,SACAmC,WACF3C,WAAEA,EACA6F,SA7qBgB/F,GAAQM,EAASN,IAAQE,EAAWF,EAAIgG,MA8qBxD5E,oBACAoB,eACA7B,aACAe,UACAuE,MA3gBF,SAASA,KAASC,GAChB,MAAMC,SAAEA,EAAQC,cAAEA,GAAmB9D,EAAiB+D,OAASA,MAAS,CAAA,EAClEnB,EAAS,CAAA,EACToB,EAAc,CAACtG,EAAKkC,KAExB,GAAY,cAARA,GAA+B,gBAARA,GAAiC,cAARA,EAClD,OAKF,MAAMqE,EAAaJ,GAA2B,iBAARjE,GAAoBC,EAAQ+C,EAAQhD,IAASA,EAI7EsE,EAAW9H,EAAewG,EAAQqB,GAAarB,EAAOqB,QAAapF,EACrEZ,EAAciG,IAAajG,EAAcP,GAC3CkF,EAAOqB,GAAaN,EAAMO,EAAUxG,GAC3BO,EAAcP,GACvBkF,EAAOqB,GAAaN,EAAM,CAAA,EAAIjG,GACrBJ,EAAQI,GACjBkF,EAAOqB,GAAavG,EAAIT,QACd6G,GAAkBtG,EAAYE,KACxCkF,EAAOqB,GAAavG,IAIxB,IAAK,IAAI4B,EAAI,EAAGC,EAAIqE,EAAKpE,OAAQF,EAAIC,EAAGD,IAAK,CAC3C,MAAMsC,EAASgC,EAAKtE,GACpB,IAAKsC,GAAUnE,EAASmE,GACtB,SAKF,GAFAxC,EAAQwC,EAAQoC,GAEM,iBAAXpC,GAAuBtE,EAAQsE,GACxC,SAGF,MAAMuC,EAAUrI,OAAOsI,sBAAsBxC,GAC7C,IAAK,IAAIyC,EAAI,EAAGA,EAAIF,EAAQ3E,OAAQ6E,IAAK,CACvC,MAAMC,EAASH,EAAQE,GACnB/D,EAAqB/D,KAAKqF,EAAQ0C,IACpCN,EAAYpC,EAAO0C,GAASA,EAEhC,CACF,CACA,OAAO1B,CACT,EA4dE2B,OA/ca,CAACC,EAAGC,EAAG/I,GAAW2D,cAAe,MAC9CD,EACEqF,EACA,CAAC/G,EAAKkC,KACAlE,GAAWkC,EAAWF,GACxB5B,OAAO4I,eAAeF,EAAG5E,EAAK,CAG5B+E,UAAW,KACXvB,MAAO5H,EAAKkC,EAAKhC,GACjBkJ,UAAU,EACVC,YAAY,EACZC,cAAc,IAGhBhJ,OAAO4I,eAAeF,EAAG5E,EAAK,CAC5B+E,UAAW,KACXvB,MAAO1F,EACPkH,UAAU,EACVC,YAAY,EACZC,cAAc,KAIpB,CAAEzF,eAEGmF,GAsbPO,KA1nBY/H,GACLA,EAAI+H,KAAO/H,EAAI+H,OAAS/H,EAAIgI,QAAQ,qCAAsC,IA0nBjFC,SA7agBC,IACc,QAA1BA,EAAQC,WAAW,KACrBD,EAAUA,EAAQjI,MAAM,IAEnBiI,GA0aPE,SA9Ze,CAACzH,EAAa0H,EAAkBC,EAAO5E,KACtD/C,EAAY5B,UAAYD,OAAOiB,OAAOsI,EAAiBtJ,UAAW2E,GAClE5E,OAAO4I,eAAe/G,EAAY5B,UAAW,cAAe,CAC1D4I,UAAW,KACXvB,MAAOzF,EACPiH,UAAU,EACVC,YAAY,EACZC,cAAc,IAEhBhJ,OAAO4I,eAAe/G,EAAa,QAAS,CAC1CgH,UAAW,KACXvB,MAAOiC,EAAiBtJ,YAE1BuJ,GAASxJ,OAAOyJ,OAAO5H,EAAY5B,UAAWuJ,IAkZ9CE,aAtYmB,CAACC,EAAWC,EAASC,EAAQC,KAChD,IAAIN,EACAhG,EACAhD,EACJ,MAAMuJ,EAAS,CAAA,EAIf,GAFAH,EAAUA,GAAW,CAAA,EAEJ,MAAbD,EAAmB,OAAOC,EAE9B,EAAG,CAGD,IAFAJ,EAAQxJ,OAAO4D,oBAAoB+F,GACnCnG,EAAIgG,EAAM9F,OACHF,KAAM,GACXhD,EAAOgJ,EAAMhG,GACPsG,IAAcA,EAAWtJ,EAAMmJ,EAAWC,IAAcG,EAAOvJ,KACnEoJ,EAAQpJ,GAAQmJ,EAAUnJ,GAC1BuJ,EAAOvJ,IAAQ,GAGnBmJ,GAAuB,IAAXE,GAAoB3J,EAAeyJ,EACjD,OAASA,KAAeE,GAAUA,EAAOF,EAAWC,KAAaD,IAAc3J,OAAOC,WAEtF,OAAO2J,GAgXP7I,SACAM,aACA2I,SAtWe,CAAC9I,EAAK+I,EAAcC,KACnChJ,EAAMiJ,OAAOjJ,SACI6B,IAAbmH,GAA0BA,EAAWhJ,EAAIwC,UAC3CwG,EAAWhJ,EAAIwC,QAEjBwG,GAAYD,EAAavG,OACzB,MAAM0G,EAAYlJ,EAAIL,QAAQoJ,EAAcC,GAC5C,WAAOE,GAAoBA,IAAcF,GAgWzCG,QAtVe1J,IACf,IAAKA,EAAO,OAAO,KACnB,GAAIa,EAAQb,GAAQ,OAAOA,EAC3B,IAAI6C,EAAI7C,EAAM+C,OACd,IAAKzB,EAASuB,GAAI,OAAO,KACzB,MAAM8G,EAAM,IAAI7I,MAAM+B,GACtB,KAAOA,KAAM,GACX8G,EAAI9G,GAAK7C,EAAM6C,GAEjB,OAAO8G,GA8UPC,aAnTmB,CAAChK,EAAKZ,KACzB,MAEM6K,GAFYjK,GAAOA,EAAIJ,IAEDM,KAAKF,GAEjC,IAAIuG,EAEJ,MAAQA,EAAS0D,EAAUC,UAAY3D,EAAO4D,MAAM,CAClD,MAAMC,EAAO7D,EAAOQ,MACpB3H,EAAGc,KAAKF,EAAKoK,EAAK,GAAIA,EAAK,GAC7B,GA0SAC,SA/Re,CAACC,EAAQ3J,KACxB,IAAI4J,EACJ,MAAMR,EAAM,GAEZ,KAAwC,QAAhCQ,EAAUD,EAAOE,KAAK7J,KAC5BoJ,EAAIxJ,KAAKgK,GAGX,OAAOR,GAwRP/F,aACAjE,iBACA0K,WAAY1K,EACZI,yBACAuK,YA56BkB,CAAC1K,EAAKC,IACjB,MAAPD,GAAeG,EAAuBH,EAAKC,GAAQD,EAAIC,QAAQuC,EA46B/D2B,oBACAwG,cApPqB3K,IACrBmE,EAAkBnE,EAAK,CAACwE,EAAYC,KAElC,GAAIlD,EAAWvB,IAAQ,CAAC,YAAa,SAAU,UAAU4K,SAASnG,GAChE,OAAO,EAGT,MAAMsC,EAAQ/G,EAAIyE,GAEblD,EAAWwF,KAEhBvC,EAAWgE,YAAa,EAEpB,aAAchE,EAChBA,EAAW+D,UAAW,EAInB/D,EAAWqG,MACdrG,EAAWqG,IAAM,KACf,MAAMC,MAAM,qCAAuCrG,EAAO,WAiOhEsG,YAnNkB,CAACC,EAAeC,KAClC,MAAMjL,EAAM,CAAA,EAENkL,EAAUnB,IACdA,EAAIhH,QAASgE,IACX/G,EAAI+G,IAAS,KAMjB,OAFA9F,EAAQ+J,GAAiBE,EAAOF,GAAiBE,EAAOtB,OAAOoB,GAAeG,MAAMF,IAE7EjL,GAyMPoL,YA1RmBzK,GACZA,EAAIE,cAAc8H,QAAQ,wBAAyB,SAAkB0C,EAAGC,EAAIC,GACjF,OAAOD,EAAGE,cAAgBD,CAC5B,GAwRAE,KAvMW,OAwMXC,eAtMqB,CAAC3E,EAAO4E,IACb,MAAT5E,GAAiB6E,OAAOC,SAAU9E,GAASA,GAAUA,EAAQ4E,EAsMpEnI,UACAnB,OAAQqB,EACRC,mBACAmI,oBA/LF,SAA6B1L,GAC3B,SACEA,GACAmB,EAAWnB,EAAMgG,SACM,aAAvBhG,EAAMP,IACNO,EAAMR,GAEV,EAyLEmM,aAjLoB/L,IACpB,MAAMgM,EAAU,IAAIC,QAEdC,EAAS3G,IACb,GAAI5D,EAAS4D,GAAS,CACpB,GAAIyG,EAAQG,IAAI5G,GACd,OAIF,GAAInE,EAASmE,GACX,OAAOA,EAGT,KAAM,WAAYA,GAAS,CAEzByG,EAAQI,IAAI7G,GACZ,MAAM8G,EAASpL,EAAQsE,GAAU,GAAK,CAAA,EAStC,OAPAxC,EAAQwC,EAAQ,CAACwB,EAAOxD,KACtB,MAAM+I,EAAeJ,EAAMnF,IAC1B5F,EAAYmL,KAAkBD,EAAO9I,GAAO+I,KAG/CN,EAAQO,OAAOhH,GAER8G,CACT,CACF,CAEA,OAAO9G,GAGT,OAAO2G,EAAMlM,IAiJb4E,YACA4H,WAjIkBpM,GAClBA,IACCuB,EAASvB,IAAUmB,EAAWnB,KAC/BmB,EAAWnB,EAAMqM,OACjBlL,EAAWnB,EAAMsM,OA8HjB3H,aAAcF,EACde,OACAI,aACA2G,eAjEsBvM,GACb,MAATA,GAAiBD,EAAuBC,EAAOR,IAAaoG,EAAW5F,ICj7BzE,MAAMwM,EAAoBC,EAAM9B,YAAY,CAC1C,MACA,gBACA,iBACA,eACA,OACA,UACA,OACA,OACA,oBACA,sBACA,gBACA,WACA,eACA,sBACA,UACA,cACA,eCUF,MAAM+B,EAAqC,IAAIC,OAAO,2CAA4C,KAE5FC,EAAyC,IAAID,OAAO,4CAA6C,KAEvG,SAASE,EAAclG,EAAOmG,GAC5B,OAAIL,EAAM5L,QAAQ8F,GACTA,EAAMjE,IAAKqK,GAASF,EAAcE,EAAMD,IAnCnD,SAAsBvM,GACpB,IAAIyM,EAAQ,EACRC,EAAM1M,EAAIwC,OAEd,KAAOiK,EAAQC,GAAK,CAClB,MAAMC,EAAO3M,EAAImI,WAAWsE,GAE5B,GAAa,IAATE,GAA0B,KAATA,EACnB,MAGFF,GAAS,CACX,CAEA,KAAOC,EAAMD,GAAO,CAClB,MAAME,EAAO3M,EAAImI,WAAWuE,EAAM,GAElC,GAAa,IAATC,GAA0B,KAATA,EACnB,MAGFD,GAAO,CACT,CAEA,OAAiB,IAAVD,GAAeC,IAAQ1M,EAAIwC,OAASxC,EAAMA,EAAIC,MAAMwM,EAAOC,EACpE,CAaSE,CAAa3D,OAAO7C,GAAO4B,QAAQuE,EAAc,IAC1D,CAQO,SAASM,GAAyBC,GACvC,MAAMC,EAAoBjO,OAAOiB,OAAO,MAMxC,OAJAmM,EAAM9J,QAAQ0K,EAAQE,SAAU,CAAC5G,EAAO6G,KACtCF,EAAkBE,GAPuB,CAAC7G,GAC5CkG,EAAclG,EAAOiG,GAMSa,CAA8B9G,KAGrD2G,CACT,CCrDA,MAAMI,GAAahO,OAAO,aAE1B,SAASiO,GAAgBH,GACvB,OAAOA,GAAUhE,OAAOgE,GAAQlF,OAAO7H,aACzC,CAEA,SAASmN,GAAejH,GACtB,OAAc,IAAVA,GAA4B,MAATA,EACdA,EAGF8F,EAAM5L,QAAQ8F,GAASA,EAAMjE,IAAIkL,ID4BP,CAACjH,GAClCkG,EAAclG,EAAO+F,GC7BqCmB,CAAoBrE,OAAO7C,GACvF,CAgBA,SAASmH,GAAiBtK,EAASmD,EAAO6G,EAAQtE,EAAQ6E,GACxD,OAAItB,EAAMtL,WAAW+H,GACZA,EAAOpJ,KAAKwH,KAAMX,EAAO6G,IAG9BO,IACFpH,EAAQ6G,GAGLf,EAAMpL,SAASsF,GAEhB8F,EAAMpL,SAAS6H,IACgB,IAA1BvC,EAAMzG,QAAQgJ,GAGnBuD,EAAM3I,SAASoF,GACVA,EAAO8E,KAAKrH,QADrB,OANA,EASF,CA2BA,IAAAsH,GAAA,MACE,WAAA/M,CAAYmM,GACVA,GAAW/F,KAAKmD,IAAI4C,EACtB,CAEA,GAAA5C,CAAI+C,EAAQU,EAAgBC,GAC1B,MAAMpM,EAAOuF,KAEb,SAAS8G,EAAUC,EAAQC,EAASC,GAClC,MAAMC,EAAUb,GAAgBW,GAEhC,IAAKE,EACH,OAGF,MAAMrL,EAAMsJ,EAAMrJ,QAAQrB,EAAMyM,KAG7BrL,QACaf,IAAdL,EAAKoB,KACQ,IAAboL,QACcnM,IAAbmM,IAAwC,IAAdxM,EAAKoB,MAEhCpB,EAAKoB,GAAOmL,GAAWV,GAAeS,GAE1C,CAEA,MAAMI,EAAa,CAACpB,EAASkB,IAC3B9B,EAAM9J,QAAQ0K,EAAS,CAACgB,EAAQC,IAAYF,EAAUC,EAAQC,EAASC,IAEzE,GAAI9B,EAAMjL,cAAcgM,IAAWA,aAAkBlG,KAAKpG,YACxDuN,EAAWjB,EAAQU,QACd,GAAIzB,EAAMpL,SAASmM,KAAYA,EAASA,EAAOlF,UA/EvB,iCAAiC0F,KA+EoBR,EA/EXlF,QAgFvEmG,EFxES,CAACC,IACd,MAAMC,EAAS,CAAA,EACf,IAAIxL,EACAlC,EACA4B,EAuBJ,OArBA6L,GACEA,EAAW3D,MAAM,MAAMpI,QAAQ,SAAgBiM,GAC7C/L,EAAI+L,EAAK1O,QAAQ,KACjBiD,EAAMyL,EAAKC,UAAU,EAAGhM,GAAGyF,OAAO7H,cAClCQ,EAAM2N,EAAKC,UAAUhM,EAAI,GAAGyF,QAEvBnF,GAAQwL,EAAOxL,IAAQqJ,EAAkBrJ,KAIlC,eAARA,EACEwL,EAAOxL,GACTwL,EAAOxL,GAAKhD,KAAKc,GAEjB0N,EAAOxL,GAAO,CAAClC,GAGjB0N,EAAOxL,GAAOwL,EAAOxL,GAAOwL,EAAOxL,GAAO,KAAOlC,EAAMA,EAE3D,GAEK0N,GE6CQG,CAAatB,GAASU,QAC5B,GAAIzB,EAAMlL,SAASiM,IAAWf,EAAMF,eAAeiB,GAAS,CACjE,IACEuB,EACA5L,EAFEvD,EAAMP,OAAOiB,OAAO,MAGxB,IAAK,MAAM0O,KAASxB,EAAQ,CAC1B,IAAKf,EAAM5L,QAAQmO,GACjB,MAAM,IAAIC,UAAU,gDAGtB9L,EAAM6L,EAAM,GAERvC,EAAMpC,WAAWzK,EAAKuD,IACxB4L,EAAOnP,EAAIuD,GACXvD,EAAIuD,GAAOsJ,EAAM5L,QAAQkO,GAAQ,IAAIA,EAAMC,EAAM,IAAM,CAACD,EAAMC,EAAM,KAEpEpP,EAAIuD,GAAO6L,EAAM,EAErB,CAEAP,EAAW7O,EAAKsO,EAClB,MACY,MAAVV,GAAkBY,EAAUF,EAAgBV,EAAQW,GAGtD,OAAO7G,IACT,CAEA,GAAA4H,CAAI1B,EAAQ2B,GAGV,GAFA3B,EAASG,GAAgBH,GAEb,CACV,MAAMrK,EAAMsJ,EAAMrJ,QAAQkE,KAAMkG,GAEhC,GAAIrK,EAAK,CACP,MAAMwD,EAAQW,KAAKnE,GAEnB,IAAKgM,EACH,OAAOxI,EAGT,IAAe,IAAXwI,EACF,OAtIV,SAAqB5O,GACnB,MAAM6O,EAAS/P,OAAOiB,OAAO,MACvB+O,EAAW,mCACjB,IAAIC,EAEJ,KAAQA,EAAQD,EAASjF,KAAK7J,IAC5B6O,EAAOE,EAAM,IAAMA,EAAM,GAG3B,OAAOF,CACT,CA4HiBG,CAAY5I,GAGrB,GAAI8F,EAAMtL,WAAWgO,GACnB,OAAOA,EAAOrP,KAAKwH,KAAMX,EAAOxD,GAGlC,GAAIsJ,EAAM3I,SAASqL,GACjB,OAAOA,EAAO/E,KAAKzD,GAGrB,MAAM,IAAIsI,UAAU,yCACtB,CACF,CACF,CAEA,GAAAlD,CAAIyB,EAAQgC,GAGV,GAFAhC,EAASG,GAAgBH,GAEb,CACV,MAAMrK,EAAMsJ,EAAMrJ,QAAQkE,KAAMkG,GAEhC,SACErK,QACcf,IAAdkF,KAAKnE,IACHqM,IAAW1B,GAAiBxG,EAAMA,KAAKnE,GAAMA,EAAKqM,GAExD,CAEA,OAAO,CACT,CAEA,OAAOhC,EAAQgC,GACb,MAAMzN,EAAOuF,KACb,IAAImI,GAAU,EAEd,SAASC,EAAapB,GAGpB,GAFAA,EAAUX,GAAgBW,GAEb,CACX,MAAMnL,EAAMsJ,EAAMrJ,QAAQrB,EAAMuM,IAE5BnL,GAASqM,IAAW1B,GAAiB/L,EAAMA,EAAKoB,GAAMA,EAAKqM,YACtDzN,EAAKoB,GAEZsM,GAAU,EAEd,CACF,CAQA,OANIhD,EAAM5L,QAAQ2M,GAChBA,EAAO7K,QAAQ+M,GAEfA,EAAalC,GAGRiC,CACT,CAEA,KAAAE,CAAMH,GACJ,MAAMxM,EAAO3D,OAAO2D,KAAKsE,MACzB,IAAIzE,EAAIG,EAAKD,OACT0M,GAAU,EAEd,KAAO5M,KAAK,CACV,MAAMM,EAAMH,EAAKH,GACZ2M,IAAW1B,GAAiBxG,EAAMA,KAAKnE,GAAMA,EAAKqM,GAAS,YACvDlI,KAAKnE,GACZsM,GAAU,EAEd,CAEA,OAAOA,CACT,CAEA,SAAAG,CAAUC,GACR,MAAM9N,EAAOuF,KACP+F,EAAU,CAAA,EAsBhB,OApBAZ,EAAM9J,QAAQ2E,KAAM,CAACX,EAAO6G,KAC1B,MAAMrK,EAAMsJ,EAAMrJ,QAAQiK,EAASG,GAEnC,GAAIrK,EAGF,OAFApB,EAAKoB,GAAOyK,GAAejH,eACpB5E,EAAKyL,GAId,MAAMsC,EAAaD,EA5LzB,SAAsBrC,GACpB,OAAOA,EACJlF,OACA7H,cACA8H,QAAQ,kBAAmB,CAACwH,EAAGC,EAAMzP,IAC7ByP,EAAK5E,cAAgB7K,EAElC,CAqLkC0P,CAAazC,GAAUhE,OAAOgE,GAAQlF,OAE9DwH,IAAetC,UACVzL,EAAKyL,GAGdzL,EAAK+N,GAAclC,GAAejH,GAElC0G,EAAQyC,IAAc,IAGjBxI,IACT,CAEA,MAAA4I,IAAUC,GACR,OAAO7I,KAAKpG,YAAYgP,OAAO5I,QAAS6I,EAC1C,CAEA,MAAA5C,CAAO6C,GACL,MAAMxQ,EAAMP,OAAOiB,OAAO,MAQ1B,OANAmM,EAAM9J,QAAQ2E,KAAM,CAACX,EAAO6G,KACjB,MAAT7G,IACY,IAAVA,IACC/G,EAAI4N,GAAU4C,GAAa3D,EAAM5L,QAAQ8F,GAASA,EAAM0J,KAAK,MAAQ1J,KAGnE/G,CACT,CAEA,CAACF,OAAOF,YACN,OAAOH,OAAOiR,QAAQhJ,KAAKiG,UAAU7N,OAAOF,WAC9C,CAEA,QAAAJ,GACE,OAAOC,OAAOiR,QAAQhJ,KAAKiG,UACxB7K,IAAI,EAAE8K,EAAQ7G,KAAW6G,EAAS,KAAO7G,GACzC0J,KAAK,KACV,CAEA,YAAAE,GACE,OAAOjJ,KAAK4H,IAAI,eAAiB,EACnC,CAEA,IAAKxP,OAAOD,eACV,MAAO,cACT,CAEA,WAAO+Q,CAAKxQ,GACV,OAAOA,aAAiBsH,KAAOtH,EAAQ,IAAIsH,KAAKtH,EAClD,CAEA,aAAOkQ,CAAOO,KAAUN,GACtB,MAAMO,EAAW,IAAIpJ,KAAKmJ,GAI1B,OAFAN,EAAQxN,QAASsJ,GAAWyE,EAASjG,IAAIwB,IAElCyE,CACT,CAEA,eAAOC,CAASnD,GACd,MAOMoD,GANHtJ,KAAKoG,IACNpG,KAAKoG,IACH,CACEkD,UAAW,CAAA,IAGWA,UACtBtR,EAAYgI,KAAKhI,UAEvB,SAASuR,EAAevC,GACtB,MAAME,EAAUb,GAAgBW,GAE3BsC,EAAUpC,MA7PrB,SAAwB5O,EAAK4N,GAC3B,MAAMsD,EAAerE,EAAMzB,YAAY,IAAMwC,GAE7C,CAAC,MAAO,MAAO,OAAO7K,QAASoO,IAC7B1R,OAAO4I,eAAerI,EAAKmR,EAAaD,EAAc,CAGpD5I,UAAW,KACXvB,MAAO,SAAUqK,EAAMC,EAAMC,GAC3B,OAAO5J,KAAKyJ,GAAYjR,KAAKwH,KAAMkG,EAAQwD,EAAMC,EAAMC,EACzD,EACA7I,cAAc,KAGpB,CAgPQ8I,CAAe7R,EAAWgP,GAC1BsC,EAAUpC,IAAW,EAEzB,CAIA,OAFA/B,EAAM5L,QAAQ2M,GAAUA,EAAO7K,QAAQkO,GAAkBA,EAAerD,GAEjElG,IACT,GAGF8J,GAAaT,SAAS,CACpB,eACA,iBACA,SACA,kBACA,aACA,kBAIFlE,EAAM1I,kBAAkBqN,GAAa9R,UAAW,EAAGqH,SAASxD,KAC1D,IAAIkO,EAASlO,EAAI,GAAGiI,cAAgBjI,EAAI3C,MAAM,GAC9C,MAAO,CACL0O,IAAK,IAAMvI,EACX,GAAA8D,CAAI6G,GACFhK,KAAK+J,GAAUC,CACjB,KAIJ7E,EAAMlC,cAAc6G,IChUpB,SAASG,GAAaC,EAAQC,GAC5B,MAAMC,EAAY,IAAIC,IAAIF,EAAW/O,IAAKkP,GAAMpI,OAAOoI,GAAGnR,gBACpDR,EAAO,GAEP6L,EAAS3G,IACb,GAAe,OAAXA,GAAqC,iBAAXA,EAAqB,OAAOA,EAC1D,GAAIsH,EAAMzL,SAASmE,GAAS,OAAOA,EACnC,IAA6B,IAAzBlF,EAAKC,QAAQiF,GAAgB,OAQjC,IAAIgB,EACJ,GAPIhB,aAAkBiM,KACpBjM,EAASA,EAAOoI,UAGlBtN,EAAKE,KAAKgF,GAGNsH,EAAM5L,QAAQsE,GAChBgB,EAAS,GACThB,EAAOxC,QAAQ,CAACkP,EAAGhP,KACjB,MAAMqJ,EAAeJ,EAAM+F,GACtBpF,EAAM1L,YAAYmL,KACrB/F,EAAOtD,GAAKqJ,SAGX,CACL,IAAKO,EAAMjL,cAAc2D,IA9C/B,SAAiCA,GAC/B,GAAIsH,EAAMpC,WAAWlF,EAAQ,UAC3B,OAAO,EAGT,IAAI7F,EAAYD,OAAOE,eAAe4F,GAEtC,KAAO7F,GAAaA,IAAcD,OAAOC,WAAW,CAClD,GAAImN,EAAMpC,WAAW/K,EAAW,UAC9B,OAAO,EAGTA,EAAYD,OAAOE,eAAeD,EACpC,CAEA,OAAO,CACT,CA8B0CwS,CAAwB3M,GAE1D,OADAlF,EAAK8R,MACE5M,EAGTgB,EAAS9G,OAAOiB,OAAO,MACvB,IAAK,MAAO6C,EAAKwD,KAAUtH,OAAOiR,QAAQnL,GAAS,CACjD,MAAM+G,EAAewF,EAAU3F,IAAI5I,EAAI1C,eAvD9B,kBAuD0DqL,EAAMnF,GACpE8F,EAAM1L,YAAYmL,KACrB/F,EAAOhD,GAAO+I,EAElB,CACF,CAGA,OADAjM,EAAK8R,MACE5L,GAGT,OAAO2F,EAAM0F,EACf,QAEA,MAAMQ,UAAmBtH,MACvB,WAAO8F,CAAKyB,EAAO/E,EAAMsE,EAAQU,EAASC,EAAUC,GAClD,MAAMC,EAAa,IAAIL,EAAWC,EAAMK,QAASpF,GAAQ+E,EAAM/E,KAAMsE,EAAQU,EAASC,GAsBtF,OAfA9S,OAAO4I,eAAeoK,EAAY,QAAS,CACzCnK,UAAW,KACXvB,MAAOsL,EACP9J,UAAU,EACVC,YAAY,EACZC,cAAc,IAEhBgK,EAAWhO,KAAO4N,EAAM5N,KAGJ,MAAhB4N,EAAMM,QAAuC,MAArBF,EAAWE,SACrCF,EAAWE,OAASN,EAAMM,QAG5BH,GAAe/S,OAAOyJ,OAAOuJ,EAAYD,GAClCC,CACT,CAaA,WAAAnR,CAAYoR,EAASpF,EAAMsE,EAAQU,EAASC,GAC1CK,MAAMF,GAKNjT,OAAO4I,eAAeX,KAAM,UAAW,CAGrCY,UAAW,KACXvB,MAAO2L,EACPlK,YAAY,EACZD,UAAU,EACVE,cAAc,IAGhBf,KAAKjD,KAAO,aACZiD,KAAKmL,cAAe,EACpBvF,IAAS5F,KAAK4F,KAAOA,GACrBsE,IAAWlK,KAAKkK,OAASA,GACzBU,IAAY5K,KAAK4K,QAAUA,GACvBC,IACF7K,KAAK6K,SAAWA,EAChB7K,KAAKiL,OAASJ,EAASI,OAE3B,CAEA,MAAAhF,GAKE,MAAMiE,EAASlK,KAAKkK,OACdC,EAAaD,GAAU/E,EAAMpC,WAAWmH,EAAQ,UAAYA,EAAOkB,YAAStQ,EAC5EuQ,EACJlG,EAAM5L,QAAQ4Q,IAAeA,EAAW1O,OAAS,EAC7CwO,GAAaC,EAAQC,GACrBhF,EAAMd,aAAa6F,GAEzB,MAAO,CAELc,QAAShL,KAAKgL,QACdjO,KAAMiD,KAAKjD,KAEXuO,YAAatL,KAAKsL,YAClBC,OAAQvL,KAAKuL,OAEbC,SAAUxL,KAAKwL,SACfC,WAAYzL,KAAKyL,WACjBC,aAAc1L,KAAK0L,aACnBC,MAAO3L,KAAK2L,MAEZzB,OAAQmB,EACRzF,KAAM5F,KAAK4F,KACXqF,OAAQjL,KAAKiL,OAEjB,GAIFP,GAAWkB,qBAAuB,uBAClClB,GAAWmB,eAAiB,iBAC5BnB,GAAWoB,aAAe,eAC1BpB,GAAWqB,UAAY,YACvBrB,GAAWsB,aAAe,eAC1BtB,GAAWuB,YAAc,cACzBvB,GAAWwB,0BAA4B,4BACvCxB,GAAWyB,eAAiB,iBAC5BzB,GAAW0B,iBAAmB,mBAC9B1B,GAAW2B,gBAAkB,kBAC7B3B,GAAW4B,aAAe,eAC1B5B,GAAW6B,gBAAkB,kBAC7B7B,GAAW8B,gBAAkB,kBAC7B9B,GAAW+B,6BAA+B,+BCvK1C,SAASC,GAAYhU,GACnB,OAAOyM,EAAMjL,cAAcxB,IAAUyM,EAAM5L,QAAQb,EACrD,CASA,SAASiU,GAAe9Q,GACtB,OAAOsJ,EAAMpD,SAASlG,EAAK,MAAQA,EAAI3C,MAAM,GAAG,GAAM2C,CACxD,CAWA,SAAS+Q,GAAUC,EAAMhR,EAAKiR,GAC5B,OAAKD,EACEA,EACJjE,OAAO/M,GACPT,IAAI,SAAcoC,EAAOjC,GAGxB,OADAiC,EAAQmP,GAAenP,IACfsP,GAAQvR,EAAI,IAAMiC,EAAQ,IAAMA,CAC1C,GACCuL,KAAK+D,EAAO,IAAM,IARHjR,CASpB,CAaA,MAAMkR,GAAa5H,EAAM1D,aAAa0D,EAAO,CAAA,EAAI,KAAM,SAAgB5M,GACrE,MAAO,WAAWmO,KAAKnO,EACzB,GAyBA,SAASyU,GAAW1U,EAAKkH,EAAUyN,GACjC,IAAK9H,EAAMlL,SAAS3B,GAClB,MAAM,IAAIqP,UAAU,4BAItBnI,EAAWA,GAAY,IAAA,SAiBvB,MAAM0N,GAdND,EAAU9H,EAAM1D,aACdwL,EACA,CACEC,YAAY,EACZJ,MAAM,EACNK,SAAS,IAEX,EACA,SAAiBC,EAAQvP,GAEvB,OAAQsH,EAAM1L,YAAYoE,EAAOuP,GACnC,IAGyBF,WAErBG,EAAUJ,EAAQI,SAAWC,EAC7BR,EAAOG,EAAQH,KACfK,EAAUF,EAAQE,QAClBI,EAAQN,EAAQO,MAAyB,oBAATA,MAAwBA,KACxDC,OAAgC3S,IAArBmS,EAAQQ,SAhHgB,IAgHuCR,EAAQQ,SAClFC,EAAUH,GAASpI,EAAMf,oBAAoB5E,GAC7CmM,EAAQ,GAEd,IAAKxG,EAAMtL,WAAWwT,GACpB,MAAM,IAAI1F,UAAU,8BAGtB,SAASgG,EAAatO,GACpB,GAAc,OAAVA,EAAgB,MAAO,GAE3B,GAAI8F,EAAMhL,OAAOkF,GACf,OAAOA,EAAMuO,cAGf,GAAIzI,EAAMlG,UAAUI,GAClB,OAAOA,EAAMvH,WAGf,IAAK4V,GAAWvI,EAAM9K,OAAOgF,GAC3B,MAAM,IAAIqL,GAAW,gDAGvB,GAAIvF,EAAMrL,cAAcuF,IAAU8F,EAAMhJ,aAAakD,GAAQ,CAC3D,GAAIqO,GAA4B,mBAAVH,EACpB,OAAO,IAAIA,EAAM,CAAClO,IAEpB,GAAsB,oBAAXwO,OACT,OAAOA,OAAO3E,KAAK7J,GAErB,MAAM,IAAIqL,GAAW,+CAAgDA,GAAW6B,gBAClF,CAEA,OAAOlN,CACT,CAEA,SAASyO,EAAwBC,GAC/B,GAAIA,EAAQN,EACV,MAAM,IAAI/C,GACR,gCAAkCqD,EAAQ,wBAA0BN,EACpE/C,GAAW+B,6BAGjB,CAmCA,SAASa,EAAejO,EAAOxD,EAAKgR,GAClC,IAAIxK,EAAMhD,EAEV,GAAI8F,EAAM5F,cAAcC,IAAa2F,EAAM/F,kBAAkBC,GAE3D,OADAG,EAASd,OAAOkO,GAAUC,EAAMhR,EAAKiR,GAAOa,EAAatO,KAClD,EAGT,GAAIA,IAAUwN,GAAyB,iBAAVxN,EAC3B,GAAI8F,EAAMpD,SAASlG,EAAK,MAEtBA,EAAMqR,EAAarR,EAAMA,EAAI3C,MAAM,MAEnCmG,EA9CN,SAAiCA,EAAO0O,GACtC,GAAIN,IAAaO,IACf,OAAOC,KAAKC,UAAU7O,GAGxB,MAAM8O,EAAY,GAElB,OAAOF,KAAKC,UAAU7O,EAAO,SAAoBtD,EAAMqS,GACrD,IAAKjJ,EAAMlL,SAASmU,GAClB,OAAOA,EAGT,KAAOD,EAAU1S,QAAU0S,EAAUA,EAAU1S,OAAS,KAAOuE,MAC7DmO,EAAU1D,MAMZ,OAHA0D,EAAUtV,KAAKuV,GACfN,EAAwBC,EAAQI,EAAU1S,OAAS,GAE5C2S,CACT,EACF,CAyBcC,CAAwBhP,EAAO,QAClC,GACJ8F,EAAM5L,QAAQ8F,IAzJvB,SAAqBgD,GACnB,OAAO8C,EAAM5L,QAAQ8I,KAASA,EAAIiM,KAAK5B,GACzC,CAuJiC6B,CAAYlP,KACnC8F,EAAM7K,WAAW+E,IAAU8F,EAAMpD,SAASlG,EAAK,SAAWwG,EAAM8C,EAAM/C,QAAQ/C,IAiBhF,OAdAxD,EAAM8Q,GAAe9Q,GAErBwG,EAAIhH,QAAQ,SAAcmT,EAAIC,IAC1BtJ,EAAM1L,YAAY+U,IAAc,OAAPA,GACzBhP,EAASd,QAEK,IAAZyO,EACIP,GAAU,CAAC/Q,GAAM4S,EAAO3B,GACZ,OAAZK,EACEtR,EACAA,EAAM,KACZ8R,EAAaa,GAEnB,IACO,EAIX,QAAI9B,GAAYrN,KAIhBG,EAASd,OAAOkO,GAAUC,EAAMhR,EAAKiR,GAAOa,EAAatO,KAElD,EACT,CAEA,MAAMqP,EAAiB3W,OAAOyJ,OAAOuL,GAAY,CAC/CO,iBACAK,eACAjB,iBA2BF,IAAKvH,EAAMlL,SAAS3B,GAClB,MAAM,IAAIqP,UAAU,0BAKtB,OA9BA,SAASgH,EAAMtP,EAAOwN,EAAMkB,EAAQ,GAClC,IAAI5I,EAAM1L,YAAY4F,GAAtB,CAIA,GAFAyO,EAAwBC,IAEK,IAAzBpC,EAAM/S,QAAQyG,GAChB,MAAM,IAAI+D,MAAM,kCAAoCyJ,EAAK9D,KAAK,MAGhE4C,EAAM9S,KAAKwG,GAEX8F,EAAM9J,QAAQgE,EAAO,SAAcmP,EAAI3S,IAKtB,OAHXsJ,EAAM1L,YAAY+U,IAAc,OAAPA,IAC3BnB,EAAQ7U,KAAKgH,EAAUgP,EAAIrJ,EAAMpL,SAAS8B,GAAOA,EAAImF,OAASnF,EAAKgR,EAAM6B,KAGzEC,EAAMH,EAAI3B,EAAOA,EAAKjE,OAAO/M,GAAO,CAACA,GAAMkS,EAAQ,EAEvD,GAEApC,EAAMlB,KApBwB,CAqBhC,CAMAkE,CAAMrW,GAECkH,CACT,CC9QA,SAASoP,GAAO3V,GACd,MAAM4V,EAAU,CACd,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,MACL,MAAO,KAET,OAAOC,mBAAmB7V,GAAKgI,QAAQ,eAAgB,SAAkB+G,GACvE,OAAO6G,EAAQ7G,EACjB,EACF,CAUA,SAAS+G,GAAqBC,EAAQ/B,GACpCjN,KAAKiP,OAAS,GAEdD,GAAUhC,GAAWgC,EAAQhP,KAAMiN,EACrC,CAEA,MAAMjV,GAAY+W,GAAqB/W,UC3BhC,SAAS4W,GAAOjV,GACrB,OAAOmV,mBAAmBnV,GACvBsH,QAAQ,QAAS,KACjBA,QAAQ,OAAQ,KAChBA,QAAQ,QAAS,KACjBA,QAAQ,OAAQ,IACrB,CAWe,SAASiO,GAASC,EAAKH,EAAQ/B,GAC5C,IAAK+B,EACH,OAAOG,EAETA,EAAMA,GAAO,GAEb,MAAMC,EAAWjK,EAAMtL,WAAWoT,GAC9B,CACEoC,UAAWpC,GAEbA,EAKEqC,EAAUnK,EAAMnC,YAAYoM,EAAU,WAAaR,GACnDW,EAAcpK,EAAMnC,YAAYoM,EAAU,aAEhD,IAAII,EAUJ,GAPEA,EADED,EACiBA,EAAYP,EAAQI,GAEpBjK,EAAMpK,kBAAkBiU,GACvCA,EAAOlX,WACP,IAAIiX,GAAqBC,EAAQI,GAAUtX,SAASwX,GAGtDE,EAAkB,CACpB,MAAMC,EAAgBN,EAAIvW,QAAQ,MAEZ,IAAlB6W,IACFN,EAAMA,EAAIjW,MAAM,EAAGuW,IAErBN,SAAQA,EAAIvW,QAAQ,KAAc,IAAM,KAAO4W,CACjD,CAEA,OAAOL,CACT,CD1BAnX,GAAU0G,OAAS,SAAgB3B,EAAMsC,GACvCW,KAAKiP,OAAOpW,KAAK,CAACkE,EAAMsC,GAC1B,EAEArH,GAAUF,SAAW,SAAkB4X,GACrC,MAAMJ,EAAUI,EACXrQ,GAAUqQ,EAAQlX,KAAKwH,KAAMX,EAAOuP,IACrCA,GAEJ,OAAO5O,KAAKiP,OACT7T,IAAI,SAAcsH,GACjB,OAAO4M,EAAQ5M,EAAK,IAAM,IAAM4M,EAAQ5M,EAAK,GAC/C,EAAG,IACFqG,KAAK,IACV,EEpDA,MAAM4G,GACJ,WAAA/V,GACEoG,KAAK4P,SAAW,EAClB,CAWA,GAAAC,CAAIC,EAAWC,EAAU9C,GAOvB,OANAjN,KAAK4P,SAAS/W,KAAK,CACjBiX,YACAC,WACAC,cAAa/C,GAAUA,EAAQ+C,YAC/BC,QAAShD,EAAUA,EAAQgD,QAAU,OAEhCjQ,KAAK4P,SAASnU,OAAS,CAChC,CASA,KAAAyU,CAAMC,GACAnQ,KAAK4P,SAASO,KAChBnQ,KAAK4P,SAASO,GAAM,KAExB,CAOA,KAAA9H,GACMrI,KAAK4P,WACP5P,KAAK4P,SAAW,GAEpB,CAYA,OAAAvU,CAAQ3D,GACNyN,EAAM9J,QAAQ2E,KAAK4P,SAAU,SAAwBQ,GACzC,OAANA,GACF1Y,EAAG0Y,EAEP,EACF,EClEF,IAAAC,GAAe,CACbC,mBAAmB,EACnBC,mBAAmB,EACnBC,qBAAqB,EACrBC,iCAAiC,EACjCC,6BAA6B,EAC7BC,iCAAiC,GCJnCC,GAAe,CACbC,WAAW,EACXC,QAAS,CACXC,gBCJ0C,oBAApBA,gBAAkCA,gBAAkBhC,GDK1ElU,SENmC,oBAAbA,SAA2BA,SAAW,KFO5D2S,KGP+B,oBAATA,KAAuBA,KAAO,MHSlDwD,UAAW,CAAC,OAAQ,QAAS,OAAQ,OAAQ,MAAO,SIXtD,MAAMC,GAAkC,oBAAXvW,QAA8C,oBAAbwW,SAExDC,GAAmC,iBAAdC,WAA0BA,gBAActW,EAmB7DuW,GACJJ,MACEE,IAAc,CAAC,cAAe,eAAgB,MAAMvY,QAAQuY,GAAWG,SAAW,GAWhFC,GAE2B,oBAAtBC,mBAEP/W,gBAAgB+W,mBACc,mBAAvB/W,KAAKgX,cAIVC,GAAUT,IAAiBvW,OAAOiX,SAASC,MAAS,uBCxC1DC,GAAe,0IAEVA,ICGL,SAASC,GAAqBrD,GAC5B,GAAIA,EXAqC,IWCvC,MAAM,IAAI/D,GACR,wCAA0C+D,EAA1C,2BACA/D,GAAW+B,6BAGjB,CAqDA,SAASsF,GAAevS,GACtB,SAASwS,EAAUnF,EAAMxN,EAAOsF,EAAQ8J,GACtCqD,GAAqBrD,GAErB,IAAI1R,EAAO8P,EAAK4B,KAEhB,GAAa,cAAT1R,EAAsB,OAAO,EAEjC,MAAMkV,EAAe/N,OAAOC,UAAUpH,GAChCmV,EAASzD,GAAS5B,EAAKpR,OAG7B,GAFAsB,GAAQA,GAAQoI,EAAM5L,QAAQoL,GAAUA,EAAOlJ,OAASsB,EAEpDmV,EASF,OARI/M,EAAMpC,WAAW4B,EAAQ5H,GAC3B4H,EAAO5H,GAAQoI,EAAM5L,QAAQoL,EAAO5H,IAChC4H,EAAO5H,GAAM6L,OAAOvJ,GACpB,CAACsF,EAAO5H,GAAOsC,GAEnBsF,EAAO5H,GAAQsC,GAGT4S,EAGL9M,EAAMpC,WAAW4B,EAAQ5H,IAAUoI,EAAMlL,SAAS0K,EAAO5H,MAC5D4H,EAAO5H,GAAQ,IASjB,OANeiV,EAAUnF,EAAMxN,EAAOsF,EAAO5H,GAAO0R,IAEtCtJ,EAAM5L,QAAQoL,EAAO5H,MACjC4H,EAAO5H,GAnDb,SAAuBsF,GACrB,MAAM/J,EAAM,CAAA,EACNoD,EAAO3D,OAAO2D,KAAK2G,GACzB,IAAI9G,EACJ,MAAMK,EAAMF,EAAKD,OACjB,IAAII,EACJ,IAAKN,EAAI,EAAGA,EAAIK,EAAKL,IACnBM,EAAMH,EAAKH,GACXjD,EAAIuD,GAAOwG,EAAIxG,GAEjB,OAAOvD,CACT,CAwCqB6Z,CAAcxN,EAAO5H,MAG9BkV,CACV,CAEA,GAAI9M,EAAM3G,WAAWgB,IAAa2F,EAAMtL,WAAW2F,EAASwJ,SAAU,CACpE,MAAM1Q,EAAM,CAAA,EAMZ,OAJA6M,EAAM7C,aAAa9C,EAAU,CAACzC,EAAMsC,KAClC2S,EArFN,SAAuBjV,GAKrB,MAAM8P,EAAO,GACPuF,EAAU,gBAChB,IAAIpK,EAEJ,KAAwC,QAAhCA,EAAQoK,EAAQtP,KAAK/F,KAC3B+U,GAAqBjF,EAAKpR,QAC1BoR,EAAKhU,KAAkB,OAAbmP,EAAM,GAAc,GAAKA,EAAM,IAAMA,EAAM,IAGvD,OAAO6E,CACT,CAsEgBwF,CAActV,GAAOsC,EAAO/G,EAAK,KAGtCA,CACT,CAEA,OAAO,IACT,CC1GA,MAAMga,GAAM,CAACha,EAAKuD,IAAgB,MAAPvD,GAAe6M,EAAMpC,WAAWzK,EAAKuD,GAAOvD,EAAIuD,QAAOf,EA2BlF,MAAMyX,GAAW,CACfC,aAAcnC,GAEdoC,QAAS,CAAC,MAAO,OAAQ,SAEzBC,iBAAkB,CAChB,SAA0B5U,EAAMiI,GAC9B,MAAM4M,EAAc5M,EAAQ6M,kBAAoB,GAC1CC,EAAqBF,EAAY/Z,QAAQ,qBAAsB,EAC/Dka,EAAkB3N,EAAMlL,SAAS6D,GAEnCgV,GAAmB3N,EAAM7I,WAAWwB,KACtCA,EAAO,IAAIjD,SAASiD,IAKtB,GAFmBqH,EAAM3G,WAAWV,GAGlC,OAAO+U,EAAqB5E,KAAKC,UAAU6D,GAAejU,IAASA,EAGrE,GACEqH,EAAMrL,cAAcgE,IACpBqH,EAAMzL,SAASoE,IACfqH,EAAMzF,SAAS5B,IACfqH,EAAM/K,OAAO0D,IACbqH,EAAM9K,OAAOyD,IACbqH,EAAMnK,iBAAiB8C,GAEvB,OAAOA,EAET,GAAIqH,EAAMvG,kBAAkBd,GAC1B,OAAOA,EAAKkB,OAEd,GAAImG,EAAMpK,kBAAkB+C,GAE1B,OADAiI,EAAQgN,eAAe,mDAAmD,GACnEjV,EAAKhG,WAGd,IAAIwC,EAEJ,GAAIwY,EAAiB,CACnB,MAAME,EAAiBV,GAAItS,KAAM,kBACjC,GAAI2S,EAAY/Z,QAAQ,sCAAuC,EAC7D,OC3EK,SAA0BkF,EAAMmP,GAC7C,OAAOD,GAAWlP,EAAM,IAAI+T,GAASf,QAAQC,gBAAmB,CAC9D1D,QAAS,SAAUhO,EAAOxD,EAAKgR,EAAMoG,GACnC,OAAIpB,GAASqB,QAAU/N,EAAMzL,SAAS2F,IACpCW,KAAKtB,OAAO7C,EAAKwD,EAAMvH,SAAS,YACzB,GAGFmb,EAAQ3F,eAAe1V,MAAMoI,KAAMnI,UAC5C,KACGoV,GAEP,CD+DiBkG,CAAiBrV,EAAMkV,GAAgBlb,WAGhD,IACGwC,EAAa6K,EAAM7K,WAAWwD,KAC/B6U,EAAY/Z,QAAQ,wBAAyB,EAC7C,CACA,MAAMwa,EAAMd,GAAItS,KAAM,OAChBqT,EAAYD,GAAOA,EAAIvY,SAE7B,OAAOmS,GACL1S,EAAa,CAAE,UAAWwD,GAASA,EACnCuV,GAAa,IAAIA,EACjBL,EAEJ,CACF,CAEA,OAAIF,GAAmBD,GACrB9M,EAAQgN,eAAe,oBAAoB,GA9EnD,SAAyBO,EAAUzL,EAAQ6H,GACzC,GAAIvK,EAAMpL,SAASuZ,GACjB,IAEE,OADCzL,GAAUoG,KAAKsF,OAAOD,GAChBnO,EAAMnE,KAAKsS,EACpB,CAAE,MAAOnU,GACP,GAAe,gBAAXA,EAAEpC,KACJ,MAAMoC,CAEV,CAGF,OAAQuQ,GAAWzB,KAAKC,WAAWoF,EACrC,CAkEeE,CAAgB1V,IAGlBA,CACT,GAGF2V,kBAAmB,CACjB,SAA2B3V,GACzB,MAAM0U,EAAeF,GAAItS,KAAM,iBAAmBuS,GAASC,aACrDjC,EAAoBiC,GAAgBA,EAAajC,kBACjDmD,EAAepB,GAAItS,KAAM,gBACzB2T,EAAiC,SAAjBD,EAEtB,GAAIvO,EAAMjK,WAAW4C,IAASqH,EAAMnK,iBAAiB8C,GACnD,OAAOA,EAGT,GACEA,GACAqH,EAAMpL,SAAS+D,KACbyS,IAAsBmD,GAAiBC,GACzC,CACA,MACMC,IADoBpB,GAAgBA,EAAalC,oBACPqD,EAEhD,IACE,OAAO1F,KAAKsF,MAAMzV,EAAMwU,GAAItS,KAAM,gBACpC,CAAE,MAAOb,GACP,GAAIyU,EAAmB,CACrB,GAAe,gBAAXzU,EAAEpC,KACJ,MAAM2N,GAAWxB,KAAK/J,EAAGuL,GAAW0B,iBAAkBpM,KAAM,KAAMsS,GAAItS,KAAM,aAE9E,MAAMb,CACR,CACF,CACF,CAEA,OAAOrB,CACT,GAOF+V,QAAS,EAETC,eAAgB,aAChBC,eAAgB,eAEhBC,kBAAkB,EAClBC,eAAe,EAEfb,IAAK,CACHvY,SAAUgX,GAASf,QAAQjW,SAC3B2S,KAAMqE,GAASf,QAAQtD,MAGzB0G,eAAgB,SAAwBjJ,GACtC,OAAOA,GAAU,KAAOA,EAAS,GACnC,EAEAlF,QAAS,CACPoO,OAAQ,CACNC,OAAQ,oCACR,oBAAgBtZ,KEzJP,SAASuZ,GAAcC,EAAKzJ,GACzC,MAAMX,EAASlK,MAAQuS,GACjBrW,EAAU2O,GAAYX,EACtBnE,EAAU+D,GAAaZ,KAAKhN,EAAQ6J,SAC1C,IAAIjI,EAAO5B,EAAQ4B,KAQnB,OANAqH,EAAM9J,QAAQiZ,EAAK,SAAmB5c,GACpCoG,EAAOpG,EAAGc,KAAK0R,EAAQpM,EAAMiI,EAAQuC,YAAauC,EAAWA,EAASI,YAASnQ,EACjF,GAEAiL,EAAQuC,YAEDxK,CACT,CCzBe,SAASyW,GAASlV,GAC/B,SAAUA,IAASA,EAAMmV,WAC3B,CHwKArP,EAAM9J,QAAQ,CAAC,SAAU,MAAO,OAAQ,OAAQ,MAAO,QAAS,SAAWoZ,IACzElC,GAASxM,QAAQ0O,GAAU,CAAA,WIzK7B,cAA4B/J,GAU1B,WAAA9Q,CAAYoR,EAASd,EAAQU,GAC3BM,MAAiB,MAAXF,EAAkB,WAAaA,EAASN,GAAW4B,aAAcpC,EAAQU,GAC/E5K,KAAKjD,KAAO,gBACZiD,KAAKwU,YAAa,CACpB,GCLa,SAASE,GAAOC,EAASC,EAAQ/J,GAC9C,MAAMqJ,EAAiBrJ,EAASX,OAAOgK,eAClCrJ,EAASI,QAAWiJ,IAAkBA,EAAerJ,EAASI,QAGjE2J,EAAO,IAAIlK,GACT,mCAAqCG,EAASI,OAC9CJ,EAASI,QAAU,KAAOJ,EAASI,OAAS,IAAMP,GAAW2B,gBAAkB3B,GAAW0B,iBAC1FvB,EAASX,OACTW,EAASD,QACTC,IAPF8J,EAAQ9J,EAUZ,CCtBO,MAAMgK,GAAuB,CAACC,EAAUC,EAAkBC,EAAO,KACtE,IAAIC,EAAgB,EACpB,MAAMC,ECER,SAAqBC,EAAcC,GACjCD,EAAeA,GAAgB,GAC/B,MAAME,EAAQ,IAAI7b,MAAM2b,GAClBG,EAAa,IAAI9b,MAAM2b,GAC7B,IAEII,EAFAC,EAAO,EACPC,EAAO,EAKX,OAFAL,OAActa,IAARsa,EAAoBA,EAAM,IAEzB,SAAcM,GACnB,MAAMC,EAAMC,KAAKD,MAEXE,EAAYP,EAAWG,GAExBF,IACHA,EAAgBI,GAGlBN,EAAMG,GAAQE,EACdJ,EAAWE,GAAQG,EAEnB,IAAIpa,EAAIka,EACJK,EAAa,EAEjB,KAAOva,IAAMia,GACXM,GAAcT,EAAM9Z,KACpBA,GAAQ4Z,EASV,GANAK,GAAQA,EAAO,GAAKL,EAEhBK,IAASC,IACXA,GAAQA,EAAO,GAAKN,GAGlBQ,EAAMJ,EAAgBH,EACxB,OAGF,MAAMW,EAASF,GAAaF,EAAME,EAElC,OAAOE,EAAStY,KAAKuY,MAAoB,IAAbF,EAAqBC,QAAUjb,CAC7D,CACF,CD9CuBmb,CAAY,GAAI,KAErC,OEFF,SAAkBve,EAAIsd,GACpB,IAEIkB,EACAC,EAHAC,EAAY,EACZC,EAAY,IAAOrB,EAIvB,MAAMsB,EAAS,CAACC,EAAMZ,EAAMC,KAAKD,SAC/BS,EAAYT,EACZO,EAAW,KACPC,IACFK,aAAaL,GACbA,EAAQ,MAEVze,KAAM6e,IAqBR,MAAO,CAlBW,IAAIA,KACpB,MAAMZ,EAAMC,KAAKD,MACXI,EAASJ,EAAMS,EACjBL,GAAUM,EACZC,EAAOC,EAAMZ,IAEbO,EAAWK,EACNJ,IACHA,EAAQlY,WAAW,KACjBkY,EAAQ,KACRG,EAAOJ,IACNG,EAAYN,MAKP,IAAMG,GAAYI,EAAOJ,GAGzC,CFjCSO,CAAUtX,IACf,IAAKA,GAAyB,iBAAbA,EAAEuX,OACjB,OAEF,MAAMC,EAAYxX,EAAEuX,OACdE,EAAQzX,EAAE0X,iBAAmB1X,EAAEyX,WAAQ9b,EACvC4b,EAAkB,MAATE,EAAgBnZ,KAAK2X,IAAIuB,EAAWC,GAASD,EACtDG,EAAgBrZ,KAAKsZ,IAAI,EAAGL,EAASzB,GACrC+B,EAAO9B,EAAa4B,GAE1B7B,EAAgBxX,KAAKsZ,IAAI9B,EAAeyB,GAcxC5B,EAZa,CACX4B,SACAE,QACAK,SAAUL,EAAQF,EAASE,OAAQ9b,EACnCua,MAAOyB,EACPE,KAAMA,QAAclc,EACpBoc,UAAWF,GAAQJ,GAASA,EAAQF,GAAUM,OAAOlc,EACrDqc,MAAOhY,EACP0X,iBAA2B,MAATD,EAClB,CAAC7B,EAAmB,WAAa,WAAW,KAI7CC,IAGQoC,GAAyB,CAACR,EAAOS,KAC5C,MAAMR,EAA4B,MAATD,EAEzB,MAAO,CACJF,GACCW,EAAU,GAAG,CACXR,mBACAD,QACAF,WAEJW,EAAU,KAIDC,GACV5f,GACD,IAAI6e,IACFpR,EAAMjH,KAAK,IAAMxG,KAAM6e,IGnD3B,IAAAgB,GAAe1F,GAASR,sBACpB,EAAEK,EAAQ8F,IAAYrI,IACpBA,EAAM,IAAIsI,IAAItI,EAAK0C,GAASH,QAG1BA,EAAOgG,WAAavI,EAAIuI,UACxBhG,EAAOiG,OAASxI,EAAIwI,OACnBH,GAAU9F,EAAOkG,OAASzI,EAAIyI,OANnC,CASE,IAAIH,IAAI5F,GAASH,QACjBG,GAAST,WAAa,kBAAkB1K,KAAKmL,GAAST,UAAUyG,YAElE,KAAM,ECZVC,GAAejG,GAASR,sBAEpB,CACE,KAAA0G,CAAMhb,EAAMsC,EAAO2Y,EAASnL,EAAMoL,EAAQC,EAAQC,GAChD,GAAwB,oBAAbjH,SAA0B,OAErC,MAAMkH,EAAS,CAAC,GAAGrb,KAAQ+R,mBAAmBzP,MAE1C8F,EAAMnL,SAASge,IACjBI,EAAOvf,KAAK,WAAW,IAAI+c,KAAKoC,GAASK,iBAEvClT,EAAMpL,SAAS8S,IACjBuL,EAAOvf,KAAK,QAAQgU,KAElB1H,EAAMpL,SAASke,IACjBG,EAAOvf,KAAK,UAAUof,MAET,IAAXC,GACFE,EAAOvf,KAAK,UAEVsM,EAAMpL,SAASoe,IACjBC,EAAOvf,KAAK,YAAYsf,KAG1BjH,SAASkH,OAASA,EAAOrP,KAAK,KAChC,EAEA,IAAAuP,CAAKvb,GACH,GAAwB,oBAAbmU,SAA0B,OAAO,KAM5C,MAAM4G,EAAU5G,SAASkH,OAAO3U,MAAM,KACtC,IAAK,IAAIlI,EAAI,EAAGA,EAAIuc,EAAQrc,OAAQF,IAAK,CACvC,MAAM6c,EAASN,EAAQvc,GAAG0F,QAAQ,OAAQ,IACpCsX,EAAKH,EAAOxf,QAAQ,KAC1B,IAAW,IAAP2f,GAAaH,EAAOlf,MAAM,EAAGqf,KAAQxb,EACvC,IACE,OAAOyb,mBAAmBJ,EAAOlf,MAAMqf,EAAK,GAC9C,CAAE,MAAOpZ,GACP,OAAOiZ,EAAOlf,MAAMqf,EAAK,EAC3B,CAEJ,CACA,OAAO,IACT,EAEA,MAAAE,CAAO1b,GACLiD,KAAK+X,MAAMhb,EAAM,GAAI6Y,KAAKD,MAAQ,MAAU,IAC9C,GAGF,CACE,KAAAoC,GAAS,EACTO,KAAI,IACK,KAET,MAAAG,GAAU,GCxDhB,MAAMC,GAAwB,oBACxBC,GAAgC,YActC,SAASC,GAA2BzJ,EAAKjF,GACvC,GAAmB,iBAARiF,GAAoBuJ,GAAsBhS,KALvD,SAAsCyI,GACpC,OATF,SAAsCA,GACpC,IAAI5T,EAAI,EACR,KAAOA,EAAI4T,EAAI1T,QAAU0T,EAAI/N,WAAW7F,IAAM,IAC5CA,IAEF,OAAO4T,EAAIjW,MAAMqC,EACnB,CAGSsd,CAA6B1J,GAAKlO,QAAQ0X,GAA+B,GAClF,CAG4DG,CAA6B3J,IACrF,MAAM,IAAIzE,GACR,2CACAA,GAAW8B,gBACXtC,EAGN,CAYe,SAAS6O,GAAcC,EAASC,EAAcC,EAAmBhP,GAC9E0O,GAA2BK,EAAc/O,GACzC,IAAIiP,IC9Be,iBAJiBhK,EDkCD8J,IC1B5B,8BAA8BvS,KAAKyI,IAR7B,IAAuBA,EDmCpC,OAAI6J,IAAYG,IAAuC,IAAtBD,IAC/BN,GAA2BI,EAAS9O,GEnCzB,SAAqB8O,EAASI,GAC3C,OAAOA,EACHJ,EAAQ/X,QAAQ,SAAU,IAAM,IAAMmY,EAAYnY,QAAQ,OAAQ,IAClE+X,CACN,CFgCWK,CAAYL,EAASC,IAEvBA,CACT,CG5CA,MAAMK,GAAmB5gB,GAAWA,aAAiBoR,GAAe,IAAKpR,GAAUA,EAWpE,SAAS6gB,GAAYC,EAASC,GAE3CD,EAAUA,GAAW,CAAA,EACrBC,EAAUA,GAAW,CAAA,EAMrB,MAAMvP,EAASnS,OAAOiB,OAAO,MAW7B,SAAS0gB,EAAe/U,EAAQ9G,EAAQtF,EAAMuH,GAC5C,OAAIqF,EAAMjL,cAAcyK,IAAWQ,EAAMjL,cAAc2D,GAC9CsH,EAAMvF,MAAMpH,KAAK,CAAEsH,YAAY6E,EAAQ9G,GACrCsH,EAAMjL,cAAc2D,GACtBsH,EAAMvF,MAAM,CAAA,EAAI/B,GACdsH,EAAM5L,QAAQsE,GAChBA,EAAO3E,QAET2E,CACT,CAEA,SAAS8b,EAAoBlZ,EAAGC,EAAGnI,EAAMuH,GACvC,OAAKqF,EAAM1L,YAAYiH,GAEXyE,EAAM1L,YAAYgH,QAAvB,EACEiZ,OAAe5e,EAAW2F,EAAGlI,EAAMuH,GAFnC4Z,EAAejZ,EAAGC,EAAGnI,EAAMuH,EAItC,CAGA,SAAS8Z,EAAiBnZ,EAAGC,GAC3B,IAAKyE,EAAM1L,YAAYiH,GACrB,OAAOgZ,OAAe5e,EAAW4F,EAErC,CAGA,SAASmZ,EAAiBpZ,EAAGC,GAC3B,OAAKyE,EAAM1L,YAAYiH,GAEXyE,EAAM1L,YAAYgH,QAAvB,EACEiZ,OAAe5e,EAAW2F,GAF1BiZ,OAAe5e,EAAW4F,EAIrC,CAyBA,SAASoZ,EAAgBrZ,EAAGC,EAAGnI,GAC7B,OAAI4M,EAAMpC,WAAW0W,EAASlhB,GACrBmhB,EAAejZ,EAAGC,GAChByE,EAAMpC,WAAWyW,EAASjhB,GAC5BmhB,OAAe5e,EAAW2F,QAD5B,CAGT,CA1EA1I,OAAO4I,eAAeuJ,EAAQ,iBAAkB,CAG9CtJ,UAAW,KACXvB,MAAOtH,OAAOC,UAAUK,eACxByI,YAAY,EACZD,UAAU,EACVE,cAAc,IAqEhB,MAAMgZ,EAAW,CACf5K,IAAKyK,EACLnF,OAAQmF,EACR9b,KAAM8b,EACNZ,QAASa,EACTnH,iBAAkBmH,EAClBpG,kBAAmBoG,EACnBG,iBAAkBH,EAClBhG,QAASgG,EACTI,eAAgBJ,EAChBK,gBAAiBL,EACjBM,cAAeN,EACfpH,QAASoH,EACTnG,aAAcmG,EACd/F,eAAgB+F,EAChB9F,eAAgB8F,EAChBO,iBAAkBP,EAClBQ,mBAAoBR,EACpBS,WAAYT,EACZ7F,iBAAkB6F,EAClB5F,cAAe4F,EACfU,eAAgBV,EAChBW,UAAWX,EACXY,UAAWZ,EACXa,WAAYb,EACZc,YAAad,EACbe,WAAYf,EACZgB,mBAAoBhB,EACpBiB,iBAAkBjB,EAClB3F,eAAgB4F,EAChB/T,QAAS,CAACtF,EAAGC,EAAGnI,IACdohB,EAAoBL,GAAgB7Y,GAAI6Y,GAAgB5Y,GAAInI,GAAM,IAwBtE,OArBA4M,EAAM9J,QAAQtD,OAAO2D,KAAK,IAAK8d,KAAYC,IAAY,SAA4BlhB,GACjF,GAAa,cAATA,GAAiC,gBAATA,GAAmC,cAATA,EAAsB,OAC5E,MAAMqH,EAAQuF,EAAMpC,WAAWgX,EAAUxhB,GAAQwhB,EAASxhB,GAAQohB,EAG5DoB,EAAcnb,EAFVuF,EAAMpC,WAAWyW,EAASjhB,GAAQihB,EAAQjhB,QAAQuC,EAClDqK,EAAMpC,WAAW0W,EAASlhB,GAAQkhB,EAAQlhB,QAAQuC,EAC5BvC,GAC/B4M,EAAM1L,YAAYshB,IAAgBnb,IAAUka,IAAqB5P,EAAO3R,GAAQwiB,EACnF,GAGE5V,EAAMpC,WAAW0W,EAAS,mBAC1BtU,EAAM1L,YAAYggB,EAAQvF,kBACyC,IA7ErE,SAAqC3b,GACnC,MAAMyiB,EAAgB7V,EAAMpC,WAAW0W,EAAS,gBAAkBA,EAAQjH,kBAAe1X,EAEzF,IAAKqK,EAAM1L,YAAYuhB,GAAgB,CACrC,IAAI7V,EAAMjL,cAAc8gB,GAKtB,OAJA,GAAI7V,EAAMpC,WAAWiY,EAAeziB,GAClC,OAAOyiB,EAAcziB,EAK3B,CAEA,MAAM0iB,EAAgB9V,EAAMpC,WAAWyW,EAAS,gBAAkBA,EAAQhH,kBAAe1X,EAEzF,GAAIqK,EAAMjL,cAAc+gB,IAAkB9V,EAAMpC,WAAWkY,EAAe1iB,GACxE,OAAO0iB,EAAc1iB,EAIzB,CAyDE2iB,CAA4B,qCAExB/V,EAAMpC,WAAWyW,EAAS,kBAC5BtP,EAAOgK,eAAiBwF,OAAe5e,EAAW0e,EAAQtF,uBAEnDhK,EAAOgK,gBAIXhK,CACT,CCpJA,MAAMiR,GAA4B,CAAC,eAAgB,kBA4BnD,SAASC,GAAclR,GACrB,MAAMmR,EAAY9B,GAAY,CAAA,EAAIrP,GAI5BoI,EAAOzW,GAASsJ,EAAMpC,WAAWsY,EAAWxf,GAAOwf,EAAUxf,QAAOf,EAEpEgD,EAAOwU,EAAI,QACjB,IAAI6H,EAAgB7H,EAAI,iBACxB,MAAMyB,EAAiBzB,EAAI,kBACrBwB,EAAiBxB,EAAI,kBAC3B,IAAIvM,EAAUuM,EAAI,WAClB,MAAMgJ,EAAOhJ,EAAI,QACX0G,EAAU1G,EAAI,WACd4G,EAAoB5G,EAAI,qBACxBnD,EAAMmD,EAAI,OAWhB,GATA+I,EAAUtV,QAAUA,EAAU+D,GAAaZ,KAAKnD,GAEhDsV,EAAUlM,IAAMD,GACd6J,GAAcC,EAAS7J,EAAK+J,EAAmBmC,GAC/C/I,EAAI,UACJA,EAAI,qBAIFgJ,EAAM,CACR,MAAMC,EAAWpW,EAAMnC,YAAYsY,EAAM,aAAe,GAClDE,EAAWrW,EAAMnC,YAAYsY,EAAM,aAAe,GAExD,IACEvV,EAAQ5C,IACN,gBACA,SAAWsY,KAAKF,EAAW,KAAOC,EArCxC1M,mBAqC8D0M,GArCtCva,QAAQ,mBAAoB,CAACya,EAAGC,IACtDzZ,OAAO0Z,aAAaC,SAASF,EAAK,MAoCsC,KAExE,CAAE,MAAOxc,GACP,MAAMuL,GAAWxB,KAAK/J,EAAGuL,GAAWkB,qBAAsB1B,EAC5D,CACF,CAmBA,GAjBI/E,EAAM3G,WAAWV,KAEjB+T,GAASR,uBACTQ,GAASN,gCACTpM,EAAM5F,cAAczB,GAEpBiI,EAAQgN,oBAAejY,GACdqK,EAAMtL,WAAWiE,EAAKge,aAzErC,SAA4B/V,EAASgW,EAAaC,GACjC,iBAAXA,EAKJjkB,OAAOiR,QAAQ+S,GAAe,CAAA,GAAI1gB,QAAQ,EAAEQ,EAAKlC,MAC3CwhB,GAA0BjY,SAASrH,EAAI1C,gBACzC4M,EAAQ5C,IAAItH,EAAKlC,KANnBoM,EAAQ5C,IAAI4Y,EAShB,CAgEME,CAAmBlW,EAASjI,EAAKge,aAAcxJ,EAAI,0BAQnDT,GAASR,sBAAuB,CAC9BlM,EAAMtL,WAAWsgB,KACnBA,EAAgBA,EAAckB,IAShC,IAFoB,IAAlBlB,GAA4C,MAAjBA,GAAyB5C,GAAgB8D,EAAUlM,KAE5D,CAClB,MAAM+M,EAAYnI,GAAkBD,GAAkBgE,GAAQQ,KAAKxE,GAE/DoI,GACFnW,EAAQ5C,IAAI4Q,EAAgBmI,EAEhC,CACF,CAEA,OAAOb,CACT,CCtGA,IAAAc,GAFwD,oBAAnBC,gBAGnC,SAAUlS,GACR,OAAO,IAAImS,QAAQ,SAA4B1H,EAASC,GACtD,MAAM0H,EAAUlB,GAAclR,GAC9B,IAAIqS,EAAcD,EAAQxe,KAC1B,MAAM0e,EAAiB1S,GAAaZ,KAAKoT,EAAQvW,SAASuC,YAC1D,IACImU,EACAC,EAAiBC,EACjBC,EAAaC,GAHbnJ,aAAEA,EAAY0G,iBAAEA,EAAgBC,mBAAEA,GAAuBiC,EAK7D,SAAS7Z,IACPma,GAAeA,IACfC,GAAiBA,IAEjBP,EAAQ3B,aAAe2B,EAAQ3B,YAAYmC,YAAYL,GAEvDH,EAAQS,QAAUT,EAAQS,OAAOC,oBAAoB,QAASP,EAChE,CAEA,IAAI7R,EAAU,IAAIwR,eAOlB,SAASa,IACP,IAAKrS,EACH,OAGF,MAAMsS,EAAkBpT,GAAaZ,KACnC,0BAA2B0B,GAAWA,EAAQuS,yBAehDzI,GACE,SAAkBrV,GAChBsV,EAAQtV,GACRoD,GACF,EACA,SAAiB2a,GACfxI,EAAOwI,GACP3a,GACF,EAjBe,CACf3E,KAJC4V,GAAiC,SAAjBA,GAA4C,SAAjBA,EAExC9I,EAAQC,SADRD,EAAQyS,aAIZpS,OAAQL,EAAQK,OAChBqS,WAAY1S,EAAQ0S,WACpBvX,QAASmX,EACThT,SACAU,YAgBFA,EAAU,IACZ,CAxCAA,EAAQ2S,KAAKjB,EAAQ7H,OAAO3Q,cAAewY,EAAQnN,KAAK,GAGxDvE,EAAQiJ,QAAUyI,EAAQzI,QAuCtB,cAAejJ,EAEjBA,EAAQqS,UAAYA,EAGpBrS,EAAQ4S,mBAAqB,WACtB5S,GAAkC,IAAvBA,EAAQ6S,aASH,IAAnB7S,EAAQK,QACNL,EAAQ8S,aAAe9S,EAAQ8S,YAAYC,WAAW,WAM1D1f,WAAWgf,EACb,EAIFrS,EAAQgT,QAAU,WACXhT,IAILgK,EAAO,IAAIlK,GAAW,kBAAmBA,GAAWoB,aAAc5B,EAAQU,IAC1EnI,IAGAmI,EAAU,KACZ,EAGAA,EAAQiT,QAAU,SAAqB1G,GAIrC,MAAM2G,EAAM3G,GAASA,EAAMnM,QAAUmM,EAAMnM,QAAU,gBAC/CoS,EAAM,IAAI1S,GAAWoT,EAAKpT,GAAWuB,YAAa/B,EAAQU,GAEhEwS,EAAIjG,MAAQA,GAAS,KACrBvC,EAAOwI,GACP3a,IACAmI,EAAU,IACZ,EAGAA,EAAQmT,UAAY,WAClB,IAAIC,EAAsB1B,EAAQzI,QAC9B,cAAgByI,EAAQzI,QAAU,cAClC,mBACJ,MAAMrB,EAAe8J,EAAQ9J,cAAgBnC,GACzCiM,EAAQ0B,sBACVA,EAAsB1B,EAAQ0B,qBAEhCpJ,EACE,IAAIlK,GACFsT,EACAxL,EAAahC,oBAAsB9F,GAAWqB,UAAYrB,GAAWoB,aACrE5B,EACAU,IAGJnI,IAGAmI,EAAU,IACZ,OAGgB9P,IAAhByhB,GAA6BC,EAAezJ,eAAe,MAGvD,qBAAsBnI,GACxBzF,EAAM9J,QAAQyK,GAAyB0W,GAAiB,SAA0B7iB,EAAKkC,GACrF+O,EAAQqT,iBAAiBpiB,EAAKlC,EAChC,GAIGwL,EAAM1L,YAAY6iB,EAAQpC,mBAC7BtP,EAAQsP,kBAAoBoC,EAAQpC,iBAIlCxG,GAAiC,SAAjBA,IAClB9I,EAAQ8I,aAAe4I,EAAQ5I,cAI7B2G,KACDsC,EAAmBE,GAAiBhI,GAAqBwF,GAAoB,GAC9EzP,EAAQhN,iBAAiB,WAAY+e,IAInCvC,GAAoBxP,EAAQsT,UAC7BxB,EAAiBE,GAAe/H,GAAqBuF,GAEtDxP,EAAQsT,OAAOtgB,iBAAiB,WAAY8e,GAE5C9R,EAAQsT,OAAOtgB,iBAAiB,UAAWgf,KAGzCN,EAAQ3B,aAAe2B,EAAQS,UAGjCN,EAAc0B,IACPvT,IAGLgK,GAAQuJ,GAAUA,EAAO9kB,KAAO,IAAI+kB,GAAc,KAAMlU,EAAQU,GAAWuT,GAC3EvT,EAAQyT,QACR5b,IACAmI,EAAU,OAGZ0R,EAAQ3B,aAAe2B,EAAQ3B,YAAY2D,UAAU7B,GACjDH,EAAQS,SACVT,EAAQS,OAAOwB,QACX9B,IACAH,EAAQS,OAAOnf,iBAAiB,QAAS6e,KAIjD,MAAM/E,EChNG,SAAuBvI,GACpC,MAAMnH,EAAQ,4BAA4BlF,KAAKqM,GAC/C,OAAQnH,GAASA,EAAM,IAAO,EAChC,CD6MuBwW,CAAclC,EAAQnN,KAEvC,GAAIuI,IAAa7F,GAASb,UAAU9N,SAASwU,GAS3C,OARA9C,EACE,IAAIlK,GACF,wBAA0BgN,EAAW,IACrChN,GAAW2B,gBACXnC,SAGJzH,IAKFmI,EAAQ6T,KAAKlC,GAAe,KAC9B,EACF,EE/NF,MAAMmC,GAAiB,CAACC,EAAS9K,KAG/B,GAFA8K,EAAUA,EAAUA,EAAQ/c,OAAOgd,SAAW,IAEzC/K,IAAY8K,EAAQljB,OACvB,OAGF,MAAMojB,EAAa,IAAIC,gBAEvB,IAAIP,GAAU,EAEd,MAAMX,EAAU,SAAUmB,GACxB,IAAKR,EAAS,CACZA,GAAU,EACVzB,IACA,MAAMM,EAAM2B,aAAkB3b,MAAQ2b,EAAS/e,KAAK+e,OACpDF,EAAWR,MACTjB,aAAe1S,GACX0S,EACA,IAAIgB,GAAchB,aAAeha,MAAQga,EAAIpS,QAAUoS,GAE/D,CACF,EAEA,IAAIjH,EACFtC,GACA5V,WAAW,KACTkY,EAAQ,KACRyH,EAAQ,IAAIlT,GAAW,cAAcmJ,eAAsBnJ,GAAWqB,aACrE8H,GAEL,MAAMiJ,EAAc,KACb6B,IACLxI,GAASK,aAAaL,GACtBA,EAAQ,KACRwI,EAAQtjB,QAAS0hB,IACfA,EAAOD,YACHC,EAAOD,YAAYc,GACnBb,EAAOC,oBAAoB,QAASY,KAE1Ce,EAAU,OAGZA,EAAQtjB,QAAS0hB,GAAWA,EAAOnf,iBAAiB,QAASggB,EAAS,CAAEoB,MAAM,KAE9E,MAAMjC,OAAEA,GAAW8B,EAInB,OAFA9B,EAAOD,YAAc,IAAM3X,EAAMjH,KAAK4e,GAE/BC,GCrDIkC,GAAc,UAAWC,EAAOC,GAC3C,IAAIvjB,EAAMsjB,EAAME,WAEhB,GAAkBxjB,EAAMujB,EAEtB,kBADMD,GAIR,IACIvZ,EADA0Z,EAAM,EAGV,KAAOA,EAAMzjB,GACX+J,EAAM0Z,EAAMF,QACND,EAAMhmB,MAAMmmB,EAAK1Z,GACvB0Z,EAAM1Z,CAEV,EAQM2Z,GAAaC,gBAAiBC,GAClC,GAAIA,EAAOpnB,OAAOqnB,eAEhB,kBADOD,GAIT,MAAME,EAASF,EAAOG,YACtB,IACE,OAAS,CACP,MAAMld,KAAEA,EAAIpD,MAAEA,SAAgBqgB,EAAOpH,OACrC,GAAI7V,EACF,YAEIpD,CACR,CACF,CAAC,cACOqgB,EAAOvB,QACf,CACF,EAEayB,GAAc,CAACJ,EAAQL,EAAWU,EAAYC,KACzD,MAAM5nB,EA3BiBqnB,gBAAiBQ,EAAUZ,GAClD,UAAW,MAAMD,KAASI,GAAWS,SAC5Bd,GAAYC,EAAOC,EAE9B,CAuBmBa,CAAUR,EAAQL,GAEnC,IACI1c,EADA4S,EAAQ,EAER4K,EAAa9gB,IACVsD,IACHA,GAAO,EACPqd,GAAYA,EAAS3gB,KAIzB,OAAO,IAAI+gB,eACT,CACE,UAAMC,CAAKtB,GACT,IACE,MAAMpc,KAAEA,EAAIpD,MAAEA,SAAgBnH,EAASsK,OAEvC,GAAIC,EAGF,OAFAwd,SACApB,EAAWuB,QAIb,IAAIxkB,EAAMyD,EAAM+f,WAChB,GAAIS,EAAY,CACd,IAAIQ,EAAehL,GAASzZ,EAC5BikB,EAAWQ,EACb,CACAxB,EAAWyB,QAAQ,IAAIjkB,WAAWgD,GACpC,CAAE,MAAO+d,GAEP,MADA6C,EAAU7C,GACJA,CACR,CACF,EACAe,OAAOY,IACLkB,EAAUlB,GACH7mB,EAASqoB,WAGpB,CACEC,cAAe,KC5EfC,GAAcC,GACjBA,GAAY,IAAMA,GAAY,IAC9BA,GAAY,IAAMA,GAAY,IAC9BA,GAAY,IAAMA,GAAY,IAE3BC,GAAuB,CAAC1nB,EAAKsC,EAAGK,IACpCL,EAAI,EAAIK,GAAO6kB,GAAWxnB,EAAImI,WAAW7F,EAAI,KAAOklB,GAAWxnB,EAAImI,WAAW7F,EAAI,ICf7E,MAAMqlB,GAAU,UCmBjB/mB,WAAEA,IAAesL,EAmBjB0b,GAA0BxhB,IAC9B,IAAK8F,EAAMpL,SAASsF,GAClB,OAAOA,EAGT,IACE,OAAOmZ,mBAAmBnZ,EAC5B,CAAE,MAAOsL,GACP,OAAOtL,CACT,GAGIqH,GAAO,CAAChP,KAAO6e,KACnB,IACE,QAAS7e,KAAM6e,EACjB,CAAE,MAAOpX,GACP,OAAO,CACT,GAYI2hB,GAAW1N,IACf,MAAM2N,OACajmB,IAAjBqK,EAAMxK,QAAyC,OAAjBwK,EAAMxK,OAChCwK,EAAMxK,OACNH,YACA0lB,eAAEA,EAAcc,YAAEA,GAAgBD,EAExC3N,EAAMjO,EAAMvF,MAAMpH,KAChB,CACEuH,eAAe,GAEjB,CACEkhB,QAASF,EAAaE,QACtBC,SAAUH,EAAaG,UAEzB9N,GAGF,MAAQ+N,MAAOC,EAAQH,QAAEA,EAAOC,SAAEA,GAAa9N,EACzCiO,EAAmBD,EAAWvnB,GAAWunB,GAA6B,mBAAVD,MAC5DG,EAAqBznB,GAAWonB,GAChCM,EAAsB1nB,GAAWqnB,GAEvC,IAAKG,EACH,OAAO,EAGT,MAAMG,EAA4BH,GAAoBxnB,GAAWqmB,GAE3DuB,EACJJ,IACwB,mBAAhBL,GAEDtR,EAED,IAAIsR,EAFU/nB,GACZyW,EAAQd,OAAO3V,IAEnBsmB,MAAOtmB,GAAQ,IAAIoD,iBAAiB,IAAI4kB,EAAQhoB,GAAKyoB,gBAJrD,IACGhS,EAKT,MAAMiS,EACJL,GACAE,GACA9a,GAAK,KACH,IAAIkb,GAAiB,EAErB,MAAMhX,EAAU,IAAIqW,EAAQpP,GAASH,OAAQ,CAC3CmQ,KAAM,IAAI3B,EACVzL,OAAQ,OACR,UAAIqN,GAEF,OADAF,GAAiB,EACV,MACT,IAGIG,EAAiBnX,EAAQ7E,QAAQtB,IAAI,gBAM3C,OAJoB,MAAhBmG,EAAQiX,MACVjX,EAAQiX,KAAK1D,SAGRyD,IAAmBG,IAGxBC,EACJT,GACAC,GACA9a,GAAK,IAAMvB,EAAMnK,iBAAiB,IAAIkmB,EAAS,IAAIW,OAE/CI,EAAY,CAChBzC,OAAQwC,GAAsB,CAAME,GAAQA,EAAIL,OAGlDR,GAEI,CAAC,OAAQ,cAAe,OAAQ,WAAY,UAAUhmB,QAAShC,KAC5D4oB,EAAU5oB,KACR4oB,EAAU5oB,GAAQ,CAAC6oB,EAAKhY,KACvB,IAAIuK,EAASyN,GAAOA,EAAI7oB,GAExB,GAAIob,EACF,OAAOA,EAAOjc,KAAK0pB,GAGrB,MAAM,IAAIxX,GACR,kBAAkBrR,sBAClBqR,GAAW6B,gBACXrC,OAMZ,MAAMiY,EAAgB5C,MAAOsC,IAC3B,GAAY,MAARA,EACF,OAAO,EAGT,GAAI1c,EAAM9K,OAAOwnB,GACf,OAAOA,EAAKO,KAGd,GAAIjd,EAAMf,oBAAoByd,GAAO,CACnC,MAAMQ,EAAW,IAAIpB,EAAQpP,GAASH,OAAQ,CAC5C+C,OAAQ,OACRoN,SAEF,aAAcQ,EAASX,eAAetC,UACxC,CAEA,OAAIja,EAAMvG,kBAAkBijB,IAAS1c,EAAMrL,cAAc+nB,GAChDA,EAAKzC,YAGVja,EAAMpK,kBAAkB8mB,KAC1BA,GAAc,IAGZ1c,EAAMpL,SAAS8nB,UACHJ,EAAWI,IAAOzC,gBADlC,IAWF,OAAOG,MAAOrV,IACZ,IAAIiF,IACFA,EAAGsF,OACHA,EAAM3W,KACNA,EAAIif,OACJA,EAAMpC,YACNA,EAAW9G,QACXA,EAAOwG,mBACPA,EAAkBD,iBAClBA,EAAgB1G,aAChBA,EAAY3N,QACZA,EAAOmU,gBACPA,EAAkB,cAAaoI,aAC/BA,EAAYtO,iBACZA,EAAgBC,cAChBA,GACEmH,GAAclR,GAElB,MAAMqY,EAAsBpd,EAAMnL,SAASga,IAAqBA,GAAmB,EAC7EwO,EAAmBrd,EAAMnL,SAASia,IAAkBA,GAAgB,EAG1E,IAAIwO,EAASrB,GAAYD,MAEzBzN,EAAeA,GAAgBA,EAAe,IAAIva,cAAgB,OAElE,IAAIupB,EAAiBhE,GACnB,CAAC3B,EAAQpC,GAAeA,EAAYgI,iBACpC9O,GAGEjJ,EAAU,KAEd,MAAMkS,EACJ4F,GACAA,EAAe5F,aACrB,MACQ4F,EAAe5F,aAChB,GAEH,IAAI8F,EAMAC,EAAmB,KAEvB,MAAMC,EAAqB,IACzB,IAAIpY,GACF,+CACAA,GAAW2B,gBACXnC,EACAU,GAGJ,IAEE,IAAI0Q,EACJ,MAAMyH,GAvCKlnB,EAuCY,OAvCHsJ,EAAMpC,WAAWmH,EAAQrO,GAAOqO,EAAOrO,QAAOf,GAyClE,GAAIioB,EAAY,CACd,MAAMxH,EAAWpW,EAAMnC,YAAY+f,EAAY,aAAe,GAE9DzH,EAAO,CACLC,WACAC,SAHerW,EAAMnC,YAAY+f,EAAY,aAAe,GAKhE,CAEA,GA9M2B,CAAC5T,IAChC,MAAM6T,EAAgB7T,EAAIvW,QAAQ,OAClC,IAAIqqB,EAAa9T,EAIjB,OAHsB,IAAlB6T,IACFC,EAAaA,EAAW/pB,MAAM8pB,EAAgB,IAEzCC,EAAW/f,SAAS,MAAQ+f,EAAW/f,SAAS,MAwM/CggB,CAAyB/T,GAAM,CACjC,MAAMgU,EAAY,IAAI1L,IAAItI,EAAK0C,GAASH,QAExC,IAAK4J,IAAS6H,EAAU5H,UAAY4H,EAAU3H,UAAW,CACvD,MAAM4H,EAAcvC,GAAuBsC,EAAU5H,UAErDD,EAAO,CACLC,SAAU6H,EACV5H,SAHkBqF,GAAuBsC,EAAU3H,UAKvD,EAEI2H,EAAU5H,UAAY4H,EAAU3H,YAClC2H,EAAU5H,SAAW,GACrB4H,EAAU3H,SAAW,GACrBrM,EAAMgU,EAAUvR,KAEpB,CAaA,GAXI0J,IACFvV,EAAQlB,OAAO,iBACfkB,EAAQ5C,IACN,gBACA,SAAWsY,MAlQDxiB,GAkQkBqiB,EAAKC,UAAY,IAAM,KAAOD,EAAKE,UAAY,IAjQnF1M,mBAAmB7V,GAAKgI,QAAQ,mBAAoB,CAACya,EAAGC,IACtDzZ,OAAO0Z,aAAaC,SAASF,EAAK,UAuQ5B4G,GAAsC,iBAARpT,GAAoBA,EAAIwO,WAAW,SAAU,CAC7E,MAAMzG,EFtRC,SAAqC/H,GAClD,IAAKA,GAAsB,iBAARA,EAAkB,OAAO,EAC5C,IAAKA,EAAIwO,WAAW,SAAU,OAAO,EAErC,MAAM0F,EAAQlU,EAAIvW,QAAQ,KAC1B,GAAIyqB,EAAQ,EAAG,OAAO,EAEtB,MAAMC,EAAOnU,EAAIjW,MAAM,EAAGmqB,GACpBxB,EAAO1S,EAAIjW,MAAMmqB,EAAQ,GAG/B,GAFiB,WAAW3c,KAAK4c,GAEnB,CACZ,IAAIC,EAAe1B,EAAKpmB,OACxB,MAAMG,EAAMimB,EAAKpmB,OAEjB,IAAK,IAAIF,EAAI,EAAGA,EAAIK,EAAKL,IACvB,GAA2B,KAAvBsmB,EAAKzgB,WAAW7F,IAAuBA,EAAI,EAAIK,EAAK,CACtD,MAAM6E,EAAIohB,EAAKzgB,WAAW7F,EAAI,GACxBmF,EAAImhB,EAAKzgB,WAAW7F,EAAI,GAChBklB,GAAWhgB,IAAMggB,GAAW/f,KAGxC6iB,GAAgB,EAChBhoB,GAAK,EAET,CAGF,IAAIioB,EAAM,EACNC,EAAM7nB,EAAM,EAEhB,MAAM8nB,EAAepjB,GACnBA,GAAK,GACsB,KAA3BuhB,EAAKzgB,WAAWd,EAAI,IACO,KAA3BuhB,EAAKzgB,WAAWd,EAAI,KACI,KAAvBuhB,EAAKzgB,WAAWd,IAAoC,MAAvBuhB,EAAKzgB,WAAWd,IAE5CmjB,GAAO,IACoB,KAAzB5B,EAAKzgB,WAAWqiB,IAClBD,IACAC,KACSC,EAAYD,KACrBD,IACAC,GAAO,IAIC,IAARD,GAAaC,GAAO,IACO,KAAzB5B,EAAKzgB,WAAWqiB,IAETC,EAAYD,KADrBD,IAMJ,MACMnO,EAAiB,EADR5X,KAAKkmB,MAAMJ,EAAe,IACbC,GAAO,GACnC,OAAOnO,EAAQ,EAAIA,EAAQ,CAC7B,CAMA,IAAIA,EAAQ,EACZ,IAAK,IAAI9Z,EAAI,EAAGK,EAAMimB,EAAKpmB,OAAQF,EAAIK,EAAKL,IAAK,CAC/C,MAAMqoB,EAAI/B,EAAKzgB,WAAW7F,GAC1B,GAAU,KAANqoB,GAAsBjD,GAAqBkB,EAAMtmB,EAAGK,GACtDyZ,GAAS,EACT9Z,GAAK,OACA,GAAIqoB,EAAI,IACbvO,GAAS,OACJ,GAAIuO,EAAI,KACbvO,GAAS,OACJ,GAAIuO,GAAK,OAAUA,GAAK,OAAUroB,EAAI,EAAIK,EAAK,CACpD,MAAM4G,EAAOqf,EAAKzgB,WAAW7F,EAAI,GAC7BiH,GAAQ,OAAUA,GAAQ,OAC5B6S,GAAS,EACT9Z,KAEA8Z,GAAS,CAEb,MACEA,GAAS,CAEb,CACA,OAAOA,CACT,CE+L0BwO,CAA4B1U,GAC9C,GAAI+H,EAAYlD,EACd,MAAM,IAAItJ,GACR,4BAA8BsJ,EAAmB,YACjDtJ,GAAW0B,iBACXlC,EACAU,EAGN,CAOA,GAAI4X,GAA+B,QAAX/N,GAA+B,SAAXA,EAAmB,CAC7D,MAAMqP,QAAuB3B,EAAcrkB,GAC3C,GAA8B,iBAAnBgmB,GAA+B3f,SAAS2f,KACjDlB,EAAuBkB,EACnBA,EAAiB7P,GACnB,MAAM6O,GAGZ,CAIA,MAAMiB,EACJvB,IAAqBrd,EAAMnK,iBAAiB8C,IAASqH,EAAMzF,SAAS5B,IAEhEkmB,EAAqB,CAACxE,EAAQK,EAAYoE,IAC9CrE,GACEJ,EAvTiB,MAyThBa,IACC,GAAImC,GAAoBnC,EAAcpM,EACpC,MAAO4O,EAAmBC,IAE5BjD,GAAcA,EAAWQ,IAE3B4D,GAGJ,GACEtC,GACW,QAAXlN,GACW,SAAXA,IACC2F,GAAoB2J,IAOrB,GALAnB,EAC0B,MAAxBA,OA9JkBrD,OAAOxZ,EAAS8b,KACxC,MAAMpmB,EAAS0J,EAAMnB,eAAe+B,EAAQme,oBAE5C,OAAiB,MAAVzoB,EAAiB0mB,EAAcN,GAAQpmB,GA2JH0oB,CAAkBpe,EAASjI,GAAQ8kB,EAI7C,IAAzBA,GAA8BmB,EAAuB,CACvD,IAMIK,EANA/B,EAAW,IAAIpB,EAAQ9R,EAAK,CAC9BsF,OAAQ,OACRoN,KAAM/jB,EACNgkB,OAAQ,SASV,GAJI3c,EAAM3G,WAAWV,KAAUsmB,EAAoB/B,EAAStc,QAAQ6B,IAAI,kBACtE7B,EAAQgN,eAAeqR,GAGrB/B,EAASR,KAAM,CACjB,MAAOhC,EAAYoE,GAChB7J,GACChD,GACEwL,EACA/N,GAAqByC,GAAe8C,MAExC,GAEFtc,EAAOkmB,EAAmB3B,EAASR,KAAMhC,EAAYoE,EACvD,CACF,OACK,GACLF,IACCzC,GACDE,GACW,QAAX/M,GACW,SAAXA,EAEA3W,EAAOkmB,EAAmBlmB,QACrB,GACLimB,GACAzC,IACCK,GACU,QAAXlN,GACW,SAAXA,EAEA,MAAM,IAAI/J,GACR,8EACAA,GAAW6B,gBACXrC,EACAU,GAICzF,EAAMpL,SAASmgB,KAClBA,EAAkBA,EAAkB,UAAY,QAKlD,MAAMmK,EAAyB/C,GAAsB,gBAAiBL,EAAQjpB,UAI9E,GAAImN,EAAM3G,WAAWV,GAAO,CAC1B,MAAM6U,EAAc5M,EAAQ6M,iBAE1BD,GACA,yBAAyBjM,KAAKiM,KAC7B,aAAajM,KAAKiM,IAEnB5M,EAAQlB,OAAO,eAEnB,CAGAkB,EAAQ5C,IAAI,aAAc,SAAWyd,IAAS,GAE9C,MAAM0D,EAAkB,IACnBhC,EACHvF,OAAQ2F,EACRjO,OAAQA,EAAO3Q,cACfiC,QAASD,GAAyBC,EAAQuC,aAC1CuZ,KAAM/jB,EACNgkB,OAAQ,OACRyC,YAAaF,EAAyBnK,OAAkBpf,GAG1D8P,EAAU0W,GAAsB,IAAIL,EAAQ9R,EAAKmV,GAEjD,IAAIzZ,QAAkByW,EAClBmB,EAAO7X,EAAS0X,GAChBG,EAAOtT,EAAKmV,IAEhB,MAAMpH,EAAkBpT,GAAaZ,KAAK2B,EAAS9E,SAInD,GAAIwc,EAAqB,CACvB,MAAMiC,EAAiBrf,EAAMnB,eAAekZ,EAAgBgH,oBAC5D,GAAsB,MAAlBM,GAA0BA,EAAiBxQ,EAC7C,MAAM,IAAItJ,GACR,4BAA8BsJ,EAAmB,YACjDtJ,GAAW0B,iBACXlC,EACAU,EAGN,CAEA,MAAM6Z,EACJzC,IAA4C,WAAjBtO,GAA8C,aAAjBA,GAE1D,GACEsO,GACAnX,EAASgX,OACRxH,GAAsBkI,GAAwBkC,GAAoB3H,GACnE,CACA,MAAM7P,EAAU,CAAA,EAEhB,CAAC,SAAU,aAAc,WAAW5R,QAAS9C,IAC3C0U,EAAQ1U,GAAQsS,EAAStS,KAG3B,MAAMmsB,EAAwBvf,EAAMnB,eAAekZ,EAAgBgH,qBAE5DrE,EAAYoE,GAChB5J,GACCjD,GACEsN,EACA7P,GAAqByC,GAAe+C,IAAqB,KAE7D,GAEF,IAAIsK,EAAY,EAChB,MAAMC,EAAmBvE,IACvB,GAAIkC,IACFoC,EAAYtE,EACRsE,EAAY3Q,GACd,MAAM,IAAItJ,GACR,4BAA8BsJ,EAAmB,YACjDtJ,GAAW0B,iBACXlC,EACAU,GAINiV,GAAcA,EAAWQ,IAG3BxV,EAAW,IAAIqW,EACbtB,GAAY/U,EAASgX,KA9dJ,MA8d8B+C,EAAiB,KAC9DX,GAASA,IACTnH,GAAeA,MAEjB7P,EAEJ,CAEAyG,EAAeA,GAAgB,OAE/B,IAAImR,QAAqB5C,EAAU9c,EAAMrJ,QAAQmmB,EAAWvO,IAAiB,QAC3E7I,EACAX,GAMF,GAAIqY,IAAwBP,IAA2ByC,EAAkB,CACvE,IAAIK,EAaJ,GAZoB,MAAhBD,IACqC,iBAA5BA,EAAazF,WACtB0F,EAAmBD,EAAazF,WACM,iBAAtByF,EAAazC,KAC7B0C,EAAmBD,EAAazC,KACC,iBAAjByC,IAChBC,EACyB,mBAAhB9D,GACH,IAAIA,GAAcpS,OAAOiW,GAAczF,WACvCyF,EAAappB,SAGS,iBAArBqpB,GAAiCA,EAAmB9Q,EAC7D,MAAM,IAAItJ,GACR,4BAA8BsJ,EAAmB,YACjDtJ,GAAW0B,iBACXlC,EACAU,EAGN,CAIA,OAFC6Z,GAAoB3H,GAAeA,UAEvB,IAAIT,QAAQ,CAAC1H,EAASC,KACjCF,GAAOC,EAASC,EAAQ,CACtB9W,KAAM+mB,EACN9e,QAAS+D,GAAaZ,KAAK2B,EAAS9E,SACpCkF,OAAQJ,EAASI,OACjBqS,WAAYzS,EAASyS,WACrBpT,SACAU,aAGN,CAAE,MAAOwS,GAMP,GALAN,GAAeA,IAKX4F,GAAkBA,EAAenE,SAAWmE,EAAe3D,kBAAkBrU,GAAY,CAC3F,MAAMqa,EAAgBrC,EAAe3D,OAcrC,MAbAgG,EAAc7a,OAASA,EACvBU,IAAYma,EAAcna,QAAUA,GAChCwS,IAAQ2H,GAGVhtB,OAAO4I,eAAeokB,EAAe,QAAS,CAC5CnkB,UAAW,KACXvB,MAAO+d,EACPvc,UAAU,EACVC,YAAY,EACZC,cAAc,IAGZgkB,CACR,CAOA,GAAIlC,EAEF,MADAjY,IAAYiY,EAAiBjY,UAAYiY,EAAiBjY,QAAUA,GAC9DiY,EAKR,GAAIzF,aAAe1S,GAEjB,MADAE,IAAYwS,EAAIxS,UAAYwS,EAAIxS,QAAUA,GACpCwS,EAGR,GAAIA,GAAoB,cAAbA,EAAIrgB,MAAwB,qBAAqB2J,KAAK0W,EAAIpS,SAAU,CAC7E,MAAMga,EAAe,IAAIta,GACvB,gBACAA,GAAWuB,YACX/B,EACAU,EACAwS,GAAOA,EAAIvS,UAWb,MAPA9S,OAAO4I,eAAeqkB,EAAc,QAAS,CAC3CpkB,UAAW,KACXvB,MAAO+d,EAAI6H,OAAS7H,EACpBvc,UAAU,EACVC,YAAY,EACZC,cAAc,IAEVikB,CACR,CAEA,MAAMta,GAAWxB,KAAKkU,EAAKA,GAAOA,EAAIxX,KAAMsE,EAAQU,EAASwS,GAAOA,EAAIvS,SAC1E,CAtkBe,IAAC5R,EAyLH4C,IAiZXqpB,GAAY,IAAIC,IAETC,GAAYlb,IACvB,IAAIkJ,EAAOlJ,GAAUA,EAAOkJ,KAAQ,CAAA,EACpC,MAAM+N,MAAEA,EAAKF,QAAEA,EAAOC,SAAEA,GAAa9N,EAC/BiS,EAAQ,CAACpE,EAASC,EAAUC,GAElC,IAEEmE,EACA3gB,EAFApJ,EADQ8pB,EAAM5pB,OAIdL,EAAM8pB,GAER,KAAO3pB,KACL+pB,EAAOD,EAAM9pB,GACboJ,EAASvJ,EAAIwM,IAAI0d,QAENxqB,IAAX6J,GAAwBvJ,EAAI+H,IAAImiB,EAAO3gB,EAASpJ,EAAI,IAAI4pB,IAAQrE,GAAQ1N,IAExEhY,EAAMuJ,EAGR,OAAOA,GAGOygB,KCjnBhB,MAAMG,GAAgB,CACpBC,KCfa,KDgBbC,IAAKtJ,GACLgF,MAAO,CACLvZ,IAAK8d,KAKTvgB,EAAM9J,QAAQkqB,GAAe,CAAC7tB,EAAI2H,KAChC,GAAI3H,EAAI,CACN,IAGEK,OAAO4I,eAAejJ,EAAI,OAAQ,CAAEkJ,UAAW,KAAMvB,SACvD,CAAE,MAAOF,GAET,CACApH,OAAO4I,eAAejJ,EAAI,cAAe,CAAEkJ,UAAW,KAAMvB,SAC9D,IASF,MAAMsmB,GAAgB5G,GAAW,KAAKA,IAQhC6G,GAAoBnT,GACxBtN,EAAMtL,WAAW4Y,IAAwB,OAAZA,IAAgC,IAAZA,EAmEnD,IAAAoT,GAAe,CAKfC,WA5DA,SAAoBD,EAAU3b,GAC5B2b,EAAW1gB,EAAM5L,QAAQssB,GAAYA,EAAW,CAACA,GAEjD,MAAMpqB,OAAEA,GAAWoqB,EACnB,IAAIE,EACAtT,EAEJ,MAAMuT,EAAkB,CAAA,EAExB,IAAK,IAAIzqB,EAAI,EAAGA,EAAIE,EAAQF,IAAK,CAE/B,IAAI4U,EAIJ,GALA4V,EAAgBF,EAAStqB,GAGzBkX,EAAUsT,GAELH,GAAiBG,KACpBtT,EAAU8S,IAAepV,EAAKjO,OAAO6jB,IAAgB5sB,oBAErC2B,IAAZ2X,GACF,MAAM,IAAI/H,GAAW,oBAAoByF,MAI7C,GAAIsC,IAAYtN,EAAMtL,WAAW4Y,KAAaA,EAAUA,EAAQ7K,IAAIsC,KAClE,MAGF8b,EAAgB7V,GAAM,IAAM5U,GAAKkX,CACnC,CAEA,IAAKA,EAAS,CACZ,MAAMwT,EAAUluB,OAAOiR,QAAQgd,GAAiB5qB,IAC9C,EAAE+U,EAAI+V,KACJ,WAAW/V,OACA,IAAV+V,EAAkB,sCAAwC,kCAG/D,IAAIC,EAAI1qB,EACJwqB,EAAQxqB,OAAS,EACf,YAAcwqB,EAAQ7qB,IAAIuqB,IAAc5c,KAAK,MAC7C,IAAM4c,GAAaM,EAAQ,IAC7B,0BAEJ,MAAM,IAAIvb,GACR,wDAA0Dyb,EAC1Dzb,GAAW6B,gBAEf,CAEA,OAAOkG,CACT,EAgBEoT,SAAUN,IElHZ,SAASa,GAA6Blc,GAKpC,GAJIA,EAAOyQ,aACTzQ,EAAOyQ,YAAY0L,mBAGjBnc,EAAO6S,QAAU7S,EAAO6S,OAAOwB,QACjC,MAAM,IAAIH,GAAc,KAAMlU,EAElC,CASe,SAASoc,GAAgBpc,GACtCkc,GAA6Blc,GAE7BA,EAAOnE,QAAU+D,GAAaZ,KAAKgB,EAAOnE,SAG1CmE,EAAOpM,KAAOuW,GAAc7b,KAAK0R,EAAQA,EAAOwI,uBAE5C,CAAC,OAAQ,MAAO,SAAS9Z,QAAQsR,EAAOuK,SAC1CvK,EAAOnE,QAAQgN,eAAe,qCAAqC,GAKrE,OAFgB8S,GAASC,WAAW5b,EAAOuI,SAAWF,GAASE,QAASvI,EAEjEuI,CAAQvI,GAAQnF,KACrB,SAA6B8F,GAC3Bub,GAA6Blc,GAK7BA,EAAOW,SAAWA,EAClB,IACEA,EAAS/M,KAAOuW,GAAc7b,KAAK0R,EAAQA,EAAOuJ,kBAAmB5I,EACvE,CAAC,eACQX,EAAOW,QAChB,CAIA,OAFAA,EAAS9E,QAAU+D,GAAaZ,KAAK2B,EAAS9E,SAEvC8E,CACT,EACA,SAA4BkU,GAC1B,IAAKxK,GAASwK,KACZqH,GAA6Blc,GAGzB6U,GAAUA,EAAOlU,UAAU,CAC7BX,EAAOW,SAAWkU,EAAOlU,SACzB,IACEkU,EAAOlU,SAAS/M,KAAOuW,GAAc7b,KACnC0R,EACAA,EAAOuJ,kBACPsL,EAAOlU,SAEX,CAAC,eACQX,EAAOW,QAChB,CACAkU,EAAOlU,SAAS9E,QAAU+D,GAAaZ,KAAK6V,EAAOlU,SAAS9E,QAC9D,CAGF,OAAOsW,QAAQzH,OAAOmK,EACxB,EAEJ,CCnFA,MAAMwH,GAAa,CAAA,EAGnB,CAAC,SAAU,UAAW,SAAU,WAAY,SAAU,UAAUlrB,QAAQ,CAAChC,EAAMkC,KAC7EgrB,GAAWltB,GAAQ,SAAmBX,GACpC,cAAcA,IAAUW,GAAQ,KAAOkC,EAAI,EAAI,KAAO,KAAOlC,CAC/D,IAGF,MAAMmtB,GAAqB,CAAA,EAW3BD,GAAW/T,aAAe,SAAsBiU,EAAWC,EAAS1b,GAClE,SAAS2b,EAAcC,EAAKC,GAC1B,MACE,WACAjG,GACA,0BACAgG,EACA,IACAC,GACC7b,EAAU,KAAOA,EAAU,GAEhC,CAGA,MAAO,CAAC3L,EAAOunB,EAAKE,KAClB,IAAkB,IAAdL,EACF,MAAM,IAAI/b,GACRic,EAAcC,EAAK,qBAAuBF,EAAU,OAASA,EAAU,KACvEhc,GAAWyB,gBAef,OAXIua,IAAYF,GAAmBI,KACjCJ,GAAmBI,IAAO,EAE1BG,QAAQC,KACNL,EACEC,EACA,+BAAiCF,EAAU,8CAK1CD,GAAYA,EAAUpnB,EAAOunB,EAAKE,GAE7C,EAEAP,GAAWU,SAAW,SAAkBC,GACtC,MAAO,CAAC7nB,EAAOunB,KAEbG,QAAQC,KAAK,GAAGJ,gCAAkCM,MAC3C,EAEX,EAwCA,IAAAT,GAAe,CACbU,cA7BF,SAAuBla,EAASma,EAAQC,GACtC,GAAuB,iBAAZpa,GAAoC,OAAZA,EACjC,MAAM,IAAIvC,GAAW,4BAA6BA,GAAWkB,sBAE/D,MAAMlQ,EAAO3D,OAAO2D,KAAKuR,GACzB,IAAI1R,EAAIG,EAAKD,OACb,KAAOF,KAAM,GAAG,CACd,MAAMqrB,EAAMlrB,EAAKH,GAGXkrB,EAAY1uB,OAAOC,UAAUK,eAAeG,KAAK4uB,EAAQR,GAAOQ,EAAOR,QAAO9rB,EACpF,GAAI2rB,EAAW,CACb,MAAMpnB,EAAQ4N,EAAQ2Z,GAChB/nB,OAAmB/D,IAAVuE,GAAuBonB,EAAUpnB,EAAOunB,EAAK3Z,GAC5D,IAAe,IAAXpO,EACF,MAAM,IAAI6L,GACR,UAAYkc,EAAM,YAAc/nB,EAChC6L,GAAWkB,sBAGf,QACF,CACA,IAAqB,IAAjByb,EACF,MAAM,IAAI3c,GAAW,kBAAoBkc,EAAKlc,GAAWmB,eAE7D,CACF,EAIA0a,WAAEA,IClGF,MAAMA,GAAaE,GAAUF,WAS7B,IAAAe,GAAA,MACE,WAAA1tB,CAAY2tB,GACVvnB,KAAKuS,SAAWgV,GAAkB,CAAA,EAClCvnB,KAAKwnB,aAAe,CAClB5c,QAAS,IAAI+E,GACb9E,SAAU,IAAI8E,GAElB,CAUA,aAAM/E,CAAQ6c,EAAavd,GACzB,IACE,aAAalK,KAAKqiB,SAASoF,EAAavd,EAC1C,CAAE,MAAOkT,GACP,GAAIA,aAAeha,MAAO,CACxB,IAAIskB,EAAQ,CAAA,EAEZtkB,MAAMukB,kBAAoBvkB,MAAMukB,kBAAkBD,GAAUA,EAAQ,IAAItkB,MAGxE,MAAMuI,EAAQ,MACZ,IAAK+b,EAAM/b,MACT,MAAO,GAGT,MAAMic,EAAoBF,EAAM/b,MAAM/S,QAAQ,MAE9C,OAA6B,IAAtBgvB,EAA2B,GAAKF,EAAM/b,MAAMzS,MAAM0uB,EAAoB,EAC9E,EARa,GASd,IACE,GAAKxK,EAAIzR,OAGF,GAAIA,EAAO,CAChB,MAAMic,EAAoBjc,EAAM/S,QAAQ,MAClCivB,GACmB,IAAvBD,GAA4B,EAAIjc,EAAM/S,QAAQ,KAAMgvB,EAAoB,GACpEE,GACoB,IAAxBD,EAA4B,GAAKlc,EAAMzS,MAAM2uB,EAAqB,GAE/D3lB,OAAOkb,EAAIzR,OAAO5J,SAAS+lB,KAC9B1K,EAAIzR,OAAS,KAAOA,EAExB,OAZEyR,EAAIzR,MAAQA,CAahB,CAAE,MAAOxM,GAET,CACF,CAEA,MAAMie,CACR,CACF,CAEA,QAAAiF,CAASoF,EAAavd,GAGO,iBAAhBud,GACTvd,EAASA,GAAU,CAAA,GACZiF,IAAMsY,EAEbvd,EAASud,GAAe,CAAA,EAG1Bvd,EAASqP,GAAYvZ,KAAKuS,SAAUrI,GAEpC,MAAMsI,aAAEA,EAAYwH,iBAAEA,EAAgBjU,QAAEA,GAAYmE,OAE/BpP,IAAjB0X,GACFiU,GAAUU,cACR3U,EACA,CACElC,kBAAmBiW,GAAW/T,aAAa+T,GAAWwB,SACtDxX,kBAAmBgW,GAAW/T,aAAa+T,GAAWwB,SACtDvX,oBAAqB+V,GAAW/T,aAAa+T,GAAWwB,SACxDtX,gCAAiC8V,GAAW/T,aAAa+T,GAAWwB,SACpErX,4BAA6B6V,GAAW/T,aAAa+T,GAAWwB,SAChEpX,gCAAiC4V,GAAW/T,aAAa+T,GAAWwB,WAEtE,GAIoB,MAApB/N,IACE7U,EAAMtL,WAAWmgB,GACnB9P,EAAO8P,iBAAmB,CACxB3K,UAAW2K,GAGbyM,GAAUU,cACRnN,EACA,CACEpL,OAAQ2X,GAAWyB,SACnB3Y,UAAWkX,GAAWyB,WAExB,SAM2BltB,IAA7BoP,EAAOgP,yBAEoCpe,IAApCkF,KAAKuS,SAAS2G,kBACvBhP,EAAOgP,kBAAoBlZ,KAAKuS,SAAS2G,kBAEzChP,EAAOgP,mBAAoB,GAG7BuN,GAAUU,cACRjd,EACA,CACE+d,QAAS1B,GAAWU,SAAS,WAC7BiB,cAAe3B,GAAWU,SAAS,mBAErC,GAIF/c,EAAOuK,QAAUvK,EAAOuK,QAAUzU,KAAKuS,SAASkC,QAAU,OAAOtb,cAGjE,IAAIgvB,EAAiBpiB,GAAWZ,EAAMvF,MAAMmG,EAAQoO,OAAQpO,EAAQmE,EAAOuK,SAE3E1O,GACEZ,EAAM9J,QAAQ,CAAC,SAAU,MAAO,OAAQ,OAAQ,MAAO,QAAS,QAAS,UAAYoZ,WAC5E1O,EAAQ0O,KAGnBvK,EAAOnE,QAAU+D,GAAalB,OAAOuf,EAAgBpiB,GAGrD,MAAMqiB,EAA0B,GAChC,IAAIC,GAAiC,EACrCroB,KAAKwnB,aAAa5c,QAAQvP,QAAQ,SAAoCitB,GACpE,GAAmC,mBAAxBA,EAAYrY,UAA0D,IAAhCqY,EAAYrY,QAAQ/F,GACnE,OAGFme,EAAiCA,GAAkCC,EAAYtY,YAE/E,MAAMwC,EAAetI,EAAOsI,cAAgBnC,GAE1CmC,GAAgBA,EAAa/B,gCAG7B2X,EAAwBG,QAAQD,EAAYxY,UAAWwY,EAAYvY,UAEnEqY,EAAwBvvB,KAAKyvB,EAAYxY,UAAWwY,EAAYvY,SAEpE,GAEA,MAAMyY,EAA2B,GAKjC,IAAIC,EAJJzoB,KAAKwnB,aAAa3c,SAASxP,QAAQ,SAAkCitB,GACnEE,EAAyB3vB,KAAKyvB,EAAYxY,UAAWwY,EAAYvY,SACnE,GAGA,IACInU,EADAL,EAAI,EAGR,IAAK8sB,EAAgC,CACnC,MAAMK,EAAQ,CAACpC,GAAgB7uB,KAAKuI,WAAOlF,GAO3C,IANA4tB,EAAMH,WAAWH,GACjBM,EAAM7vB,QAAQ2vB,GACd5sB,EAAM8sB,EAAMjtB,OAEZgtB,EAAUpM,QAAQ1H,QAAQzK,GAEnB3O,EAAIK,GACT6sB,EAAUA,EAAQ1jB,KAAK2jB,EAAMntB,KAAMmtB,EAAMntB,MAG3C,OAAOktB,CACT,CAEA7sB,EAAMwsB,EAAwB3sB,OAE9B,IAAI4f,EAAYnR,EAEhB,KAAO3O,EAAIK,GAAK,CACd,MAAM+sB,EAAcP,EAAwB7sB,KACtCqtB,EAAaR,EAAwB7sB,KAC3C,IACE8f,EAAYsN,EAAYtN,EAC1B,CAAE,MAAO1Q,GACPie,EAAWpwB,KAAKwH,KAAM2K,GACtB,KACF,CACF,CAEA,IACE8d,EAAUnC,GAAgB9tB,KAAKwH,KAAMqb,EACvC,CAAE,MAAO1Q,GACP,OAAO0R,QAAQzH,OAAOjK,EACxB,CAKA,IAHApP,EAAI,EACJK,EAAM4sB,EAAyB/sB,OAExBF,EAAIK,GACT6sB,EAAUA,EAAQ1jB,KAAKyjB,EAAyBjtB,KAAMitB,EAAyBjtB,MAGjF,OAAOktB,CACT,CAEA,MAAAI,CAAO3e,GAGL,OAAOgF,GADU6J,IADjB7O,EAASqP,GAAYvZ,KAAKuS,SAAUrI,IACE8O,QAAS9O,EAAOiF,IAAKjF,EAAOgP,kBAAmBhP,GAC3DA,EAAO8E,OAAQ9E,EAAO8P,iBAClD,GAIF7U,EAAM9J,QAAQ,CAAC,SAAU,MAAO,OAAQ,WAAY,SAA6BoZ,GAE/EqU,GAAM9wB,UAAUyc,GAAU,SAAUtF,EAAKjF,GACvC,OAAOlK,KAAK4K,QACV2O,GAAYrP,GAAU,GAAI,CACxBuK,SACAtF,MACArR,KAAMoM,GAAU/E,EAAMpC,WAAWmH,EAAQ,QAAUA,EAAOpM,UAAOhD,IAGvE,CACF,GAEAqK,EAAM9J,QAAQ,CAAC,OAAQ,MAAO,QAAS,SAAU,SAA+BoZ,GAC9E,SAASsU,EAAmBC,GAC1B,OAAO,SAAoB7Z,EAAKrR,EAAMoM,GACpC,OAAOlK,KAAK4K,QACV2O,GAAYrP,GAAU,GAAI,CACxBuK,SACA1O,QAASijB,EACL,CACE,eAAgB,uBAElB,CAAA,EACJ7Z,MACArR,SAGN,CACF,CAEAgrB,GAAM9wB,UAAUyc,GAAUsU,IAIX,UAAXtU,IACFqU,GAAM9wB,UAAUyc,EAAS,QAAUsU,GAAmB,GAE1D,GCxRA,MAAME,GAAiB,CACrBC,SAAU,IACVC,mBAAoB,IACpBC,WAAY,IACZC,WAAY,IACZC,GAAI,IACJC,QAAS,IACTC,SAAU,IACVC,4BAA6B,IAC7BC,UAAW,IACXC,aAAc,IACdC,eAAgB,IAChBC,YAAa,IACbC,gBAAiB,IACjBC,OAAQ,IACRC,gBAAiB,IACjBC,iBAAkB,IAClBC,MAAO,IACPC,SAAU,IACVC,YAAa,IACbC,SAAU,IACVC,OAAQ,IACRC,kBAAmB,IACnBC,kBAAmB,IACnBC,WAAY,IACZC,aAAc,IACdC,gBAAiB,IACjBC,UAAW,IACXC,SAAU,IACVC,iBAAkB,IAClBC,cAAe,IACfC,4BAA6B,IAC7BC,eAAgB,IAChBC,SAAU,IACVC,KAAM,IACNC,eAAgB,IAChBC,mBAAoB,IACpBC,gBAAiB,IACjBC,WAAY,IACZC,qBAAsB,IACtBC,oBAAqB,IACrBC,kBAAmB,IACnBC,UAAW,IACXC,mBAAoB,IACpBC,oBAAqB,IACrBC,OAAQ,IACRC,iBAAkB,IAClBC,SAAU,IACVC,gBAAiB,IACjBC,qBAAsB,IACtBC,gBAAiB,IACjBC,4BAA6B,IAC7BC,2BAA4B,IAC5BC,oBAAqB,IACrBC,eAAgB,IAChBC,WAAY,IACZC,mBAAoB,IACpBC,eAAgB,IAChBC,wBAAyB,IACzBC,sBAAuB,IACvBC,oBAAqB,IACrBC,aAAc,IACdC,YAAa,IACbC,8BAA+B,IAC/BC,gBAAiB,IACjBC,mBAAoB,IACpBC,oBAAqB,IACrBC,gBAAiB,IACjBC,mBAAoB,IACpBC,sBAAuB,KAGzBv1B,OAAOiR,QAAQigB,IAAgB5tB,QAAQ,EAAEQ,EAAKwD,MAC5C4pB,GAAe5pB,GAASxD,IC3BrB,MAAC0xB,GAnBN,SAASC,EAAeC,GACtB,MAAMvxB,EAAU,IAAI4sB,GAAM2E,GACpBC,EAAWj2B,EAAKqxB,GAAM9wB,UAAU4S,QAAS1O,GAa/C,OAVAiJ,EAAM3E,OAAOktB,EAAU5E,GAAM9wB,UAAWkE,EAAS,CAAEZ,YAAY,IAG/D6J,EAAM3E,OAAOktB,EAAUxxB,EAAS,KAAM,CAAEZ,YAAY,IAGpDoyB,EAAS10B,OAAS,SAAgBuuB,GAChC,OAAOiG,EAAejU,GAAYkU,EAAelG,GACnD,EAEOmG,CACT,CAGcF,CAAejb,IAG7Bgb,GAAMzE,MAAQA,GAGdyE,GAAMnP,cAAgBA,GACtBmP,GAAMI,YC1CN,MAAMA,EACJ,WAAA/zB,CAAYg0B,GACV,GAAwB,mBAAbA,EACT,MAAM,IAAIjmB,UAAU,gCAGtB,IAAIkmB,EAEJ7tB,KAAKyoB,QAAU,IAAIpM,QAAQ,SAAyB1H,GAClDkZ,EAAiBlZ,CACnB,GAEA,MAAMnX,EAAQwC,KAGdA,KAAKyoB,QAAQ1jB,KAAMoZ,IACjB,IAAK3gB,EAAMswB,WAAY,OAEvB,IAAIvyB,EAAIiC,EAAMswB,WAAWryB,OAEzB,KAAOF,KAAM,GACXiC,EAAMswB,WAAWvyB,GAAG4iB,GAEtB3gB,EAAMswB,WAAa,OAIrB9tB,KAAKyoB,QAAQ1jB,KAAQgpB,IACnB,IAAIC,EAEJ,MAAMvF,EAAU,IAAIpM,QAAS1H,IAC3BnX,EAAM8gB,UAAU3J,GAChBqZ,EAAWrZ,IACV5P,KAAKgpB,GAMR,OAJAtF,EAAQtK,OAAS,WACf3gB,EAAMsf,YAAYkR,EACpB,EAEOvF,GAGTmF,EAAS,SAAgB5iB,EAASd,EAAQU,GACpCpN,EAAMuhB,SAKVvhB,EAAMuhB,OAAS,IAAIX,GAAcpT,EAASd,EAAQU,GAClDijB,EAAerwB,EAAMuhB,QACvB,EACF,CAKA,gBAAAsH,GACE,GAAIrmB,KAAK+e,OACP,MAAM/e,KAAK+e,MAEf,CAMA,SAAAT,CAAUxJ,GACJ9U,KAAK+e,OACPjK,EAAS9U,KAAK+e,QAIZ/e,KAAK8tB,WACP9tB,KAAK8tB,WAAWj1B,KAAKic,GAErB9U,KAAK8tB,WAAa,CAAChZ,EAEvB,CAMA,WAAAgI,CAAYhI,GACV,IAAK9U,KAAK8tB,WACR,OAEF,MAAMrf,EAAQzO,KAAK8tB,WAAWl1B,QAAQkc,IACxB,IAAVrG,GACFzO,KAAK8tB,WAAWG,OAAOxf,EAAO,EAElC,CAEA,aAAAkU,GACE,MAAM9D,EAAa,IAAIC,gBAEjBT,EAASjB,IACbyB,EAAWR,MAAMjB,IAOnB,OAJApd,KAAKse,UAAUD,GAEfQ,EAAW9B,OAAOD,YAAc,IAAM9c,KAAK8c,YAAYuB,GAEhDQ,EAAW9B,MACpB,CAMA,aAAOlf,GACL,IAAIsgB,EAIJ,MAAO,CACL3gB,MAJY,IAAImwB,EAAY,SAAkB/J,GAC9CzF,EAASyF,CACX,GAGEzF,SAEJ,GD7EFoP,GAAMhZ,SAAWA,GACjBgZ,GAAM3M,QAAUA,GAChB2M,GAAMvgB,WAAaA,GAGnBugB,GAAM7iB,WAAaA,GAGnB6iB,GAAMW,OAASX,GAAMnP,cAGrBmP,GAAMY,IAAM,SAAaC,GACvB,OAAO/R,QAAQ8R,IAAIC,EACrB,EAEAb,GAAMc,OE9CS,SAAgBC,GAC7B,OAAO,SAAcjsB,GACnB,OAAOisB,EAAS12B,MAAM,KAAMyK,EAC9B,CACF,EF6CAkrB,GAAMpiB,aG7DS,SAAsBojB,GACnC,OAAOppB,EAAMlL,SAASs0B,KAAqC,IAAzBA,EAAQpjB,YAC5C,EH8DAoiB,GAAMhU,YAAcA,GAEpBgU,GAAMzjB,aAAeA,GAErByjB,GAAMiB,WAAc91B,GAAUqZ,GAAe5M,EAAM7I,WAAW5D,GAAS,IAAImC,SAASnC,GAASA,GAE7F60B,GAAMzH,WAAaD,GAASC,WAE5ByH,GAAMtE,eAAiBA,GAEvBsE,GAAMkB,QAAUlB,GIhFX,MAACzE,MACJA,GAAKpe,WACLA,GAAU0T,cACVA,GAAa7J,SACbA,GAAQoZ,YACRA,GAAW/M,QACXA,GAAOuN,IACPA,GAAGD,OACHA,GAAM/iB,aACNA,GAAYkjB,OACZA,GAAMrhB,WACNA,GAAUlD,aACVA,GAAYmf,eACZA,GAAcuF,WACdA,GAAU1I,WACVA,GAAUvM,YACVA,GAAWvgB,OACXA,IACEu0B"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/dist/node/axios.cjs b/Lombiq.EInvoiceValidator/node_modules/axios/dist/node/axios.cjs deleted file mode 100644 index 84d3441..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/dist/node/axios.cjs +++ /dev/null @@ -1,5996 +0,0 @@ -/*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */ -'use strict'; - -var FormData$1 = require('form-data'); -var crypto = require('crypto'); -var url = require('url'); -var HttpsProxyAgent = require('https-proxy-agent'); -var http = require('http'); -var https = require('https'); -var http2 = require('http2'); -var util = require('util'); -var path = require('path'); -var followRedirects = require('follow-redirects'); -var zlib = require('zlib'); -var stream = require('stream'); -var events = require('events'); - -/** - * Create a bound version of a function with a specified `this` context - * - * @param {Function} fn - The function to bind - * @param {*} thisArg - The value to be passed as the `this` parameter - * @returns {Function} A new function that will call the original function with the specified `this` context - */ -function bind(fn, thisArg) { - return function wrap() { - return fn.apply(thisArg, arguments); - }; -} - -// utils is a library of generic helper functions non-specific to axios - -const { - toString -} = Object.prototype; -const { - getPrototypeOf -} = Object; -const { - iterator, - toStringTag -} = Symbol; - -/* Creating a function that will check if an object has a property. */ -const hasOwnProperty = (({ - hasOwnProperty -}) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype); - -/** - * Walk the prototype chain (excluding the shared Object.prototype) looking for - * an own `prop`. This distinguishes genuine own/inherited members — including - * class accessors and template prototypes — from members injected via - * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which - * live on Object.prototype itself and are therefore never matched. - * - * @param {*} thing The value whose chain to inspect - * @param {string|symbol} prop The property key to look for - * - * @returns {boolean} True when `prop` is owned below Object.prototype - */ -const hasOwnInPrototypeChain = (thing, prop) => { - let obj = thing; - const seen = []; - while (obj != null && obj !== Object.prototype) { - if (seen.indexOf(obj) !== -1) { - return false; - } - seen.push(obj); - if (hasOwnProperty(obj, prop)) { - return true; - } - obj = getPrototypeOf(obj); - } - return false; -}; - -/** - * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own - * properties and members inherited from a non-Object.prototype source (a class - * instance or template object) are honored; a value reachable only through a - * polluted Object.prototype is ignored and `undefined` is returned. - * - * @param {*} obj The source object - * @param {string|symbol} prop The property key to read - * - * @returns {*} The resolved value, or undefined when unsafe/absent - */ -const getSafeProp = (obj, prop) => obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined; -const kindOf = (cache => thing => { - const str = toString.call(thing); - return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase()); -})(Object.create(null)); -const kindOfTest = type => { - type = type.toLowerCase(); - return thing => kindOf(thing) === type; -}; -const typeOfTest = type => thing => typeof thing === type; - -/** - * Determine if a value is a non-null object - * - * @param {Object} val The value to test - * - * @returns {boolean} True if value is an Array, otherwise false - */ -const { - isArray -} = Array; - -/** - * Determine if a value is undefined - * - * @param {*} val The value to test - * - * @returns {boolean} True if the value is undefined, otherwise false - */ -const isUndefined = typeOfTest('undefined'); - -/** - * Determine if a value is a Buffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Buffer, otherwise false - */ -function isBuffer(val) { - return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction$1(val.constructor.isBuffer) && val.constructor.isBuffer(val); -} - -/** - * Determine if a value is an ArrayBuffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is an ArrayBuffer, otherwise false - */ -const isArrayBuffer = kindOfTest('ArrayBuffer'); - -/** - * Determine if a value is a view on an ArrayBuffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false - */ -function isArrayBufferView(val) { - let result; - if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) { - result = ArrayBuffer.isView(val); - } else { - result = val && val.buffer && isArrayBuffer(val.buffer); - } - return result; -} - -/** - * Determine if a value is a String - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a String, otherwise false - */ -const isString = typeOfTest('string'); - -/** - * Determine if a value is a Function - * - * @param {*} val The value to test - * @returns {boolean} True if value is a Function, otherwise false - */ -const isFunction$1 = typeOfTest('function'); - -/** - * Determine if a value is a Number - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Number, otherwise false - */ -const isNumber = typeOfTest('number'); - -/** - * Determine if a value is an Object - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value is an Object, otherwise false - */ -const isObject = thing => thing !== null && typeof thing === 'object'; - -/** - * Determine if a value is a Boolean - * - * @param {*} thing The value to test - * @returns {boolean} True if value is a Boolean, otherwise false - */ -const isBoolean = thing => thing === true || thing === false; - -/** - * Determine if a value is a plain Object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a plain Object, otherwise false - */ -const isPlainObject = val => { - if (!isObject(val)) { - return false; - } - const prototype = getPrototypeOf(val); - return (prototype === null || prototype === Object.prototype || getPrototypeOf(prototype) === null) && - // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or - // Symbol.iterator as evidence the value is a tagged/iterable type rather - // than a plain object, while ignoring keys injected onto Object.prototype. - !hasOwnInPrototypeChain(val, toStringTag) && !hasOwnInPrototypeChain(val, iterator); -}; - -/** - * Determine if a value is an empty object (safely handles Buffers) - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is an empty object, otherwise false - */ -const isEmptyObject = val => { - // Early return for non-objects or Buffers to prevent RangeError - if (!isObject(val) || isBuffer(val)) { - return false; - } - try { - return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype; - } catch (e) { - // Fallback for any other objects that might cause RangeError with Object.keys() - return false; - } -}; - -/** - * Determine if a value is a Date - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Date, otherwise false - */ -const isDate = kindOfTest('Date'); - -/** - * Determine if a value is a File - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a File, otherwise false - */ -const isFile = kindOfTest('File'); - -/** - * Determine if a value is a React Native Blob - * React Native "blob": an object with a `uri` attribute. Optionally, it can - * also have a `name` and `type` attribute to specify filename and content type - * - * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71 - * - * @param {*} value The value to test - * - * @returns {boolean} True if value is a React Native Blob, otherwise false - */ -const isReactNativeBlob = value => { - return !!(value && typeof value.uri !== 'undefined'); -}; - -/** - * Determine if environment is React Native - * ReactNative `FormData` has a non-standard `getParts()` method - * - * @param {*} formData The formData to test - * - * @returns {boolean} True if environment is React Native, otherwise false - */ -const isReactNative = formData => formData && typeof formData.getParts !== 'undefined'; - -/** - * Determine if a value is a Blob - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Blob, otherwise false - */ -const isBlob = kindOfTest('Blob'); - -/** - * Determine if a value is a FileList - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a FileList, otherwise false - */ -const isFileList = kindOfTest('FileList'); - -/** - * Determine if a value is a Stream - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Stream, otherwise false - */ -const isStream = val => isObject(val) && isFunction$1(val.pipe); - -/** - * Determine if a value is a FormData - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value is an FormData, otherwise false - */ -function getGlobal() { - if (typeof globalThis !== 'undefined') return globalThis; - if (typeof self !== 'undefined') return self; - if (typeof window !== 'undefined') return window; - if (typeof global !== 'undefined') return global; - return {}; -} -const G = getGlobal(); -const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined; -const isFormData = thing => { - if (!thing) return false; - if (FormDataCtor && thing instanceof FormDataCtor) return true; - // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData. - const proto = getPrototypeOf(thing); - if (!proto || proto === Object.prototype) return false; - if (!isFunction$1(thing.append)) return false; - const kind = kindOf(thing); - return kind === 'formdata' || - // detect form-data instance - kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]'; -}; - -/** - * Determine if a value is a URLSearchParams object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a URLSearchParams object, otherwise false - */ -const isURLSearchParams = kindOfTest('URLSearchParams'); -const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest); - -/** - * Trim excess whitespace off the beginning and end of a string - * - * @param {String} str The String to trim - * - * @returns {String} The String freed of excess whitespace - */ -const trim = str => { - return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); -}; -/** - * Iterate over an Array or an Object invoking a function for each item. - * - * If `obj` is an Array callback will be called passing - * the value, index, and complete array for each item. - * - * If 'obj' is an Object callback will be called passing - * the value, key, and complete object for each property. - * - * @param {Object|Array} obj The object to iterate - * @param {Function} fn The callback to invoke for each item - * - * @param {Object} [options] - * @param {Boolean} [options.allOwnKeys = false] - * @returns {any} - */ -function forEach(obj, fn, { - allOwnKeys = false -} = {}) { - // Don't bother if no value provided - if (obj === null || typeof obj === 'undefined') { - return; - } - let i; - let l; - - // Force an array if not already something iterable - if (typeof obj !== 'object') { - /*eslint no-param-reassign:0*/ - obj = [obj]; - } - if (isArray(obj)) { - // Iterate over array values - for (i = 0, l = obj.length; i < l; i++) { - fn.call(null, obj[i], i, obj); - } - } else { - // Buffer check - if (isBuffer(obj)) { - return; - } - - // Iterate over object keys - const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj); - const len = keys.length; - let key; - for (i = 0; i < len; i++) { - key = keys[i]; - fn.call(null, obj[key], key, obj); - } - } -} - -/** - * Finds a key in an object, case-insensitive, returning the actual key name. - * Returns null if the object is a Buffer or if no match is found. - * - * @param {Object} obj - The object to search. - * @param {string} key - The key to find (case-insensitive). - * @returns {?string} The actual key name if found, otherwise null. - */ -function findKey(obj, key) { - if (isBuffer(obj)) { - return null; - } - key = key.toLowerCase(); - const keys = Object.keys(obj); - let i = keys.length; - let _key; - while (i-- > 0) { - _key = keys[i]; - if (key === _key.toLowerCase()) { - return _key; - } - } - return null; -} -const _global = (() => { - /*eslint no-undef:0*/ - if (typeof globalThis !== 'undefined') return globalThis; - return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global; -})(); -const isContextDefined = context => !isUndefined(context) && context !== _global; - -/** - * Accepts varargs expecting each argument to be an object, then - * immutably merges the properties of each object and returns result. - * - * When multiple objects contain the same key the later object in - * the arguments list will take precedence. - * - * Example: - * - * ```js - * const result = merge({foo: 123}, {foo: 456}); - * console.log(result.foo); // outputs 456 - * ``` - * - * @param {Object} obj1 Object to merge - * - * @returns {Object} Result of all merge properties - */ -function merge(...objs) { - const { - caseless, - skipUndefined - } = isContextDefined(this) && this || {}; - const result = {}; - const assignValue = (val, key) => { - // Skip dangerous property names to prevent prototype pollution - if (key === '__proto__' || key === 'constructor' || key === 'prototype') { - return; - } - - // findKey lowercases the key, so caseless lookup only applies to strings — - // symbol keys are identity-matched. - const targetKey = caseless && typeof key === 'string' && findKey(result, key) || key; - // Read via own-prop only — a bare `result[targetKey]` walks the prototype - // chain, so a polluted Object.prototype value could surface here and get - // copied into the merged result. - const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined; - if (isPlainObject(existing) && isPlainObject(val)) { - result[targetKey] = merge(existing, val); - } else if (isPlainObject(val)) { - result[targetKey] = merge({}, val); - } else if (isArray(val)) { - result[targetKey] = val.slice(); - } else if (!skipUndefined || !isUndefined(val)) { - result[targetKey] = val; - } - }; - for (let i = 0, l = objs.length; i < l; i++) { - const source = objs[i]; - if (!source || isBuffer(source)) { - continue; - } - forEach(source, assignValue); - if (typeof source !== 'object' || isArray(source)) { - continue; - } - const symbols = Object.getOwnPropertySymbols(source); - for (let j = 0; j < symbols.length; j++) { - const symbol = symbols[j]; - if (propertyIsEnumerable.call(source, symbol)) { - assignValue(source[symbol], symbol); - } - } - } - return result; -} - -/** - * Extends object a by mutably adding to it the properties of object b. - * - * @param {Object} a The object to be extended - * @param {Object} b The object to copy properties from - * @param {Object} thisArg The object to bind function to - * - * @param {Object} [options] - * @param {Boolean} [options.allOwnKeys] - * @returns {Object} The resulting value of object a - */ -const extend = (a, b, thisArg, { - allOwnKeys -} = {}) => { - forEach(b, (val, key) => { - if (thisArg && isFunction$1(val)) { - Object.defineProperty(a, key, { - // Null-proto descriptor so a polluted Object.prototype.get cannot - // hijack defineProperty's accessor-vs-data resolution. - __proto__: null, - value: bind(val, thisArg), - writable: true, - enumerable: true, - configurable: true - }); - } else { - Object.defineProperty(a, key, { - __proto__: null, - value: val, - writable: true, - enumerable: true, - configurable: true - }); - } - }, { - allOwnKeys - }); - return a; -}; - -/** - * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) - * - * @param {string} content with BOM - * - * @returns {string} content value without BOM - */ -const stripBOM = content => { - if (content.charCodeAt(0) === 0xfeff) { - content = content.slice(1); - } - return content; -}; - -/** - * Inherit the prototype methods from one constructor into another - * @param {function} constructor - * @param {function} superConstructor - * @param {object} [props] - * @param {object} [descriptors] - * - * @returns {void} - */ -const inherits = (constructor, superConstructor, props, descriptors) => { - constructor.prototype = Object.create(superConstructor.prototype, descriptors); - Object.defineProperty(constructor.prototype, 'constructor', { - __proto__: null, - value: constructor, - writable: true, - enumerable: false, - configurable: true - }); - Object.defineProperty(constructor, 'super', { - __proto__: null, - value: superConstructor.prototype - }); - props && Object.assign(constructor.prototype, props); -}; - -/** - * Resolve object with deep prototype chain to a flat object - * @param {Object} sourceObj source object - * @param {Object} [destObj] - * @param {Function|Boolean} [filter] - * @param {Function} [propFilter] - * - * @returns {Object} - */ -const toFlatObject = (sourceObj, destObj, filter, propFilter) => { - let props; - let i; - let prop; - const merged = {}; - destObj = destObj || {}; - // eslint-disable-next-line no-eq-null,eqeqeq - if (sourceObj == null) return destObj; - do { - props = Object.getOwnPropertyNames(sourceObj); - i = props.length; - while (i-- > 0) { - prop = props[i]; - if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) { - destObj[prop] = sourceObj[prop]; - merged[prop] = true; - } - } - sourceObj = filter !== false && getPrototypeOf(sourceObj); - } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype); - return destObj; -}; - -/** - * Determines whether a string ends with the characters of a specified string - * - * @param {String} str - * @param {String} searchString - * @param {Number} [position= 0] - * - * @returns {boolean} - */ -const endsWith = (str, searchString, position) => { - str = String(str); - if (position === undefined || position > str.length) { - position = str.length; - } - position -= searchString.length; - const lastIndex = str.indexOf(searchString, position); - return lastIndex !== -1 && lastIndex === position; -}; - -/** - * Returns new array from array like object or null if failed - * - * @param {*} [thing] - * - * @returns {?Array} - */ -const toArray = thing => { - if (!thing) return null; - if (isArray(thing)) return thing; - let i = thing.length; - if (!isNumber(i)) return null; - const arr = new Array(i); - while (i-- > 0) { - arr[i] = thing[i]; - } - return arr; -}; - -/** - * Checking if the Uint8Array exists and if it does, it returns a function that checks if the - * thing passed in is an instance of Uint8Array - * - * @param {TypedArray} - * - * @returns {Array} - */ -// eslint-disable-next-line func-names -const isTypedArray = (TypedArray => { - // eslint-disable-next-line func-names - return thing => { - return TypedArray && thing instanceof TypedArray; - }; -})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array)); - -/** - * For each entry in the object, call the function with the key and value. - * - * @param {Object} obj - The object to iterate over. - * @param {Function} fn - The function to call for each entry. - * - * @returns {void} - */ -const forEachEntry = (obj, fn) => { - const generator = obj && obj[iterator]; - const _iterator = generator.call(obj); - let result; - while ((result = _iterator.next()) && !result.done) { - const pair = result.value; - fn.call(obj, pair[0], pair[1]); - } -}; - -/** - * It takes a regular expression and a string, and returns an array of all the matches - * - * @param {string} regExp - The regular expression to match against. - * @param {string} str - The string to search. - * - * @returns {Array} - */ -const matchAll = (regExp, str) => { - let matches; - const arr = []; - while ((matches = regExp.exec(str)) !== null) { - arr.push(matches); - } - return arr; -}; - -/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */ -const isHTMLForm = kindOfTest('HTMLFormElement'); -const toCamelCase = str => { - return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) { - return p1.toUpperCase() + p2; - }); -}; -const { - propertyIsEnumerable -} = Object.prototype; - -/** - * Determine if a value is a RegExp object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a RegExp object, otherwise false - */ -const isRegExp = kindOfTest('RegExp'); -const reduceDescriptors = (obj, reducer) => { - const descriptors = Object.getOwnPropertyDescriptors(obj); - const reducedDescriptors = {}; - forEach(descriptors, (descriptor, name) => { - let ret; - if ((ret = reducer(descriptor, name, obj)) !== false) { - reducedDescriptors[name] = ret || descriptor; - } - }); - Object.defineProperties(obj, reducedDescriptors); -}; - -/** - * Makes all methods read-only - * @param {Object} obj - */ - -const freezeMethods = obj => { - reduceDescriptors(obj, (descriptor, name) => { - // skip restricted props in strict mode - if (isFunction$1(obj) && ['arguments', 'caller', 'callee'].includes(name)) { - return false; - } - const value = obj[name]; - if (!isFunction$1(value)) return; - descriptor.enumerable = false; - if ('writable' in descriptor) { - descriptor.writable = false; - return; - } - if (!descriptor.set) { - descriptor.set = () => { - throw Error("Can not rewrite read-only method '" + name + "'"); - }; - } - }); -}; - -/** - * Converts an array or a delimited string into an object set with values as keys and true as values. - * Useful for fast membership checks. - * - * @param {Array|string} arrayOrString - The array or string to convert. - * @param {string} delimiter - The delimiter to use if input is a string. - * @returns {Object} An object with keys from the array or string, values set to true. - */ -const toObjectSet = (arrayOrString, delimiter) => { - const obj = {}; - const define = arr => { - arr.forEach(value => { - obj[value] = true; - }); - }; - isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter)); - return obj; -}; -const noop = () => {}; -const toFiniteNumber = (value, defaultValue) => { - return value != null && Number.isFinite(value = +value) ? value : defaultValue; -}; - -/** - * If the thing is a FormData object, return true, otherwise return false. - * - * @param {unknown} thing - The thing to check. - * - * @returns {boolean} - */ -function isSpecCompliantForm(thing) { - return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]); -} - -/** - * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers. - * - * @param {Object} obj - The object to convert. - * @returns {Object} The JSON-compatible object. - */ -const toJSONObject = obj => { - const visited = new WeakSet(); - const visit = source => { - if (isObject(source)) { - if (visited.has(source)) { - return; - } - - //Buffer check - if (isBuffer(source)) { - return source; - } - if (!('toJSON' in source)) { - // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230). - visited.add(source); - const target = isArray(source) ? [] : {}; - forEach(source, (value, key) => { - const reducedValue = visit(value); - !isUndefined(reducedValue) && (target[key] = reducedValue); - }); - visited.delete(source); - return target; - } - } - return source; - }; - return visit(obj); -}; - -/** - * Determines if a value is an async function. - * - * @param {*} thing - The value to test. - * @returns {boolean} True if value is an async function, otherwise false. - */ -const isAsyncFn = kindOfTest('AsyncFunction'); - -/** - * Determines if a value is thenable (has then and catch methods). - * - * @param {*} thing - The value to test. - * @returns {boolean} True if value is thenable, otherwise false. - */ -const isThenable = thing => thing && (isObject(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch); - -// original code -// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34 - -/** - * Provides a cross-platform setImmediate implementation. - * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout. - * - * @param {boolean} setImmediateSupported - Whether setImmediate is supported. - * @param {boolean} postMessageSupported - Whether postMessage is supported. - * @returns {Function} A function to schedule a callback asynchronously. - */ -const _setImmediate = ((setImmediateSupported, postMessageSupported) => { - if (setImmediateSupported) { - return setImmediate; - } - return postMessageSupported ? ((token, callbacks) => { - _global.addEventListener('message', ({ - source, - data - }) => { - if (source === _global && data === token) { - callbacks.length && callbacks.shift()(); - } - }, false); - return cb => { - callbacks.push(cb); - _global.postMessage(token, '*'); - }; - })(`axios@${Math.random()}`, []) : cb => setTimeout(cb); -})(typeof setImmediate === 'function', isFunction$1(_global.postMessage)); - -/** - * Schedules a microtask or asynchronous callback as soon as possible. - * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate. - * - * @type {Function} - */ -const asap = typeof queueMicrotask !== 'undefined' ? queueMicrotask.bind(_global) : typeof process !== 'undefined' && process.nextTick || _setImmediate; - -// ********************* - -const isIterable = thing => thing != null && isFunction$1(thing[iterator]); - -/** - * Determine if a value is iterable via an iterator that is NOT sourced solely - * from a polluted Object.prototype. Use this instead of `isIterable` whenever - * the iterable comes from untrusted input (e.g. user-supplied header sources), - * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object - * into an attacker-controlled entries iterator. - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value has a non-polluted iterator - */ -const isSafeIterable = thing => thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing); -var utils$1 = { - isArray, - isArrayBuffer, - isBuffer, - isFormData, - isArrayBufferView, - isString, - isNumber, - isBoolean, - isObject, - isPlainObject, - isEmptyObject, - isReadableStream, - isRequest, - isResponse, - isHeaders, - isUndefined, - isDate, - isFile, - isReactNativeBlob, - isReactNative, - isBlob, - isRegExp, - isFunction: isFunction$1, - isStream, - isURLSearchParams, - isTypedArray, - isFileList, - forEach, - merge, - extend, - trim, - stripBOM, - inherits, - toFlatObject, - kindOf, - kindOfTest, - endsWith, - toArray, - forEachEntry, - matchAll, - isHTMLForm, - hasOwnProperty, - hasOwnProp: hasOwnProperty, - // an alias to avoid ESLint no-prototype-builtins detection - hasOwnInPrototypeChain, - getSafeProp, - reduceDescriptors, - freezeMethods, - toObjectSet, - toCamelCase, - noop, - toFiniteNumber, - findKey, - global: _global, - isContextDefined, - isSpecCompliantForm, - toJSONObject, - isAsyncFn, - isThenable, - setImmediate: _setImmediate, - asap, - isIterable, - isSafeIterable -}; - -// RawAxiosHeaders whose duplicates are ignored by node -// c.f. https://nodejs.org/api/http.html#http_message_headers -const ignoreDuplicateOf = utils$1.toObjectSet(['age', 'authorization', 'content-length', 'content-type', 'etag', 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 'referer', 'retry-after', 'user-agent']); - -/** - * Parse headers into an object - * - * ``` - * Date: Wed, 27 Aug 2014 08:58:49 GMT - * Content-Type: application/json - * Connection: keep-alive - * Transfer-Encoding: chunked - * ``` - * - * @param {String} rawHeaders Headers needing to be parsed - * - * @returns {Object} Headers parsed into an object - */ -var parseHeaders = rawHeaders => { - const parsed = {}; - let key; - let val; - let i; - rawHeaders && rawHeaders.split('\n').forEach(function parser(line) { - i = line.indexOf(':'); - key = line.substring(0, i).trim().toLowerCase(); - val = line.substring(i + 1).trim(); - if (!key || parsed[key] && ignoreDuplicateOf[key]) { - return; - } - if (key === 'set-cookie') { - if (parsed[key]) { - parsed[key].push(val); - } else { - parsed[key] = [val]; - } - } else { - parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val; - } - }); - return parsed; -}; - -function trimSPorHTAB(str) { - let start = 0; - let end = str.length; - while (start < end) { - const code = str.charCodeAt(start); - if (code !== 0x09 && code !== 0x20) { - break; - } - start += 1; - } - while (end > start) { - const code = str.charCodeAt(end - 1); - if (code !== 0x09 && code !== 0x20) { - break; - } - end -= 1; - } - return start === 0 && end === str.length ? str : str.slice(start, end); -} - -// The control-code ranges are intentional: header sanitization strips C0/DEL bytes. -// eslint-disable-next-line no-control-regex -const INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+', 'g'); -// eslint-disable-next-line no-control-regex -const INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+', 'g'); -function sanitizeValue(value, invalidChars) { - if (utils$1.isArray(value)) { - return value.map(item => sanitizeValue(item, invalidChars)); - } - return trimSPorHTAB(String(value).replace(invalidChars, '')); -} -const sanitizeHeaderValue = value => sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS); -const sanitizeByteStringHeaderValue = value => sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS); -function toByteStringHeaderObject(headers) { - const byteStringHeaders = Object.create(null); - utils$1.forEach(headers.toJSON(), (value, header) => { - byteStringHeaders[header] = sanitizeByteStringHeaderValue(value); - }); - return byteStringHeaders; -} - -const $internals = Symbol('internals'); -function normalizeHeader(header) { - return header && String(header).trim().toLowerCase(); -} -function normalizeValue(value) { - if (value === false || value == null) { - return value; - } - return utils$1.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value)); -} -function parseTokens(str) { - const tokens = Object.create(null); - const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; - let match; - while (match = tokensRE.exec(str)) { - tokens[match[1]] = match[2]; - } - return tokens; -} -const isValidHeaderName = str => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim()); -function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) { - if (utils$1.isFunction(filter)) { - return filter.call(this, value, header); - } - if (isHeaderNameFilter) { - value = header; - } - if (!utils$1.isString(value)) return; - if (utils$1.isString(filter)) { - return value.indexOf(filter) !== -1; - } - if (utils$1.isRegExp(filter)) { - return filter.test(value); - } -} -function formatHeader(header) { - return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str) => { - return char.toUpperCase() + str; - }); -} -function buildAccessors(obj, header) { - const accessorName = utils$1.toCamelCase(' ' + header); - ['get', 'set', 'has'].forEach(methodName => { - Object.defineProperty(obj, methodName + accessorName, { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: function (arg1, arg2, arg3) { - return this[methodName].call(this, header, arg1, arg2, arg3); - }, - configurable: true - }); - }); -} -class AxiosHeaders { - constructor(headers) { - headers && this.set(headers); - } - set(header, valueOrRewrite, rewrite) { - const self = this; - function setHeader(_value, _header, _rewrite) { - const lHeader = normalizeHeader(_header); - if (!lHeader) { - return; - } - const key = utils$1.findKey(self, lHeader); - if (!key || self[key] === undefined || _rewrite === true || _rewrite === undefined && self[key] !== false) { - self[key || _header] = normalizeValue(_value); - } - } - const setHeaders = (headers, _rewrite) => utils$1.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite)); - if (utils$1.isPlainObject(header) || header instanceof this.constructor) { - setHeaders(header, valueOrRewrite); - } else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) { - setHeaders(parseHeaders(header), valueOrRewrite); - } else if (utils$1.isObject(header) && utils$1.isSafeIterable(header)) { - let obj = Object.create(null), - dest, - key; - for (const entry of header) { - if (!utils$1.isArray(entry)) { - throw new TypeError('Object iterator must return a key-value pair'); - } - key = entry[0]; - if (utils$1.hasOwnProp(obj, key)) { - dest = obj[key]; - obj[key] = utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]; - } else { - obj[key] = entry[1]; - } - } - setHeaders(obj, valueOrRewrite); - } else { - header != null && setHeader(valueOrRewrite, header, rewrite); - } - return this; - } - get(header, parser) { - header = normalizeHeader(header); - if (header) { - const key = utils$1.findKey(this, header); - if (key) { - const value = this[key]; - if (!parser) { - return value; - } - if (parser === true) { - return parseTokens(value); - } - if (utils$1.isFunction(parser)) { - return parser.call(this, value, key); - } - if (utils$1.isRegExp(parser)) { - return parser.exec(value); - } - throw new TypeError('parser must be boolean|regexp|function'); - } - } - } - has(header, matcher) { - header = normalizeHeader(header); - if (header) { - const key = utils$1.findKey(this, header); - return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher))); - } - return false; - } - delete(header, matcher) { - const self = this; - let deleted = false; - function deleteHeader(_header) { - _header = normalizeHeader(_header); - if (_header) { - const key = utils$1.findKey(self, _header); - if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) { - delete self[key]; - deleted = true; - } - } - } - if (utils$1.isArray(header)) { - header.forEach(deleteHeader); - } else { - deleteHeader(header); - } - return deleted; - } - clear(matcher) { - const keys = Object.keys(this); - let i = keys.length; - let deleted = false; - while (i--) { - const key = keys[i]; - if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) { - delete this[key]; - deleted = true; - } - } - return deleted; - } - normalize(format) { - const self = this; - const headers = {}; - utils$1.forEach(this, (value, header) => { - const key = utils$1.findKey(headers, header); - if (key) { - self[key] = normalizeValue(value); - delete self[header]; - return; - } - const normalized = format ? formatHeader(header) : String(header).trim(); - if (normalized !== header) { - delete self[header]; - } - self[normalized] = normalizeValue(value); - headers[normalized] = true; - }); - return this; - } - concat(...targets) { - return this.constructor.concat(this, ...targets); - } - toJSON(asStrings) { - const obj = Object.create(null); - utils$1.forEach(this, (value, header) => { - value != null && value !== false && (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value); - }); - return obj; - } - [Symbol.iterator]() { - return Object.entries(this.toJSON())[Symbol.iterator](); - } - toString() { - return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\n'); - } - getSetCookie() { - return this.get('set-cookie') || []; - } - get [Symbol.toStringTag]() { - return 'AxiosHeaders'; - } - static from(thing) { - return thing instanceof this ? thing : new this(thing); - } - static concat(first, ...targets) { - const computed = new this(first); - targets.forEach(target => computed.set(target)); - return computed; - } - static accessor(header) { - const internals = this[$internals] = this[$internals] = { - accessors: {} - }; - const accessors = internals.accessors; - const prototype = this.prototype; - function defineAccessor(_header) { - const lHeader = normalizeHeader(_header); - if (!accessors[lHeader]) { - buildAccessors(prototype, _header); - accessors[lHeader] = true; - } - } - utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header); - return this; - } -} -AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']); - -// reserved names hotfix -utils$1.reduceDescriptors(AxiosHeaders.prototype, ({ - value -}, key) => { - let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set` - return { - get: () => value, - set(headerValue) { - this[mapped] = headerValue; - } - }; -}); -utils$1.freezeMethods(AxiosHeaders); - -const REDACTED = '[REDACTED ****]'; -function hasOwnOrPrototypeToJSON(source) { - if (utils$1.hasOwnProp(source, 'toJSON')) { - return true; - } - let prototype = Object.getPrototypeOf(source); - while (prototype && prototype !== Object.prototype) { - if (utils$1.hasOwnProp(prototype, 'toJSON')) { - return true; - } - prototype = Object.getPrototypeOf(prototype); - } - return false; -} - -// Build a plain-object snapshot of `config` and replace the value of any key -// (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays -// and AxiosHeaders, and short-circuits on circular references. -function redactConfig(config, redactKeys) { - const lowerKeys = new Set(redactKeys.map(k => String(k).toLowerCase())); - const seen = []; - const visit = source => { - if (source === null || typeof source !== 'object') return source; - if (utils$1.isBuffer(source)) return source; - if (seen.indexOf(source) !== -1) return undefined; - if (source instanceof AxiosHeaders) { - source = source.toJSON(); - } - seen.push(source); - let result; - if (utils$1.isArray(source)) { - result = []; - source.forEach((v, i) => { - const reducedValue = visit(v); - if (!utils$1.isUndefined(reducedValue)) { - result[i] = reducedValue; - } - }); - } else { - if (!utils$1.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) { - seen.pop(); - return source; - } - result = Object.create(null); - for (const [key, value] of Object.entries(source)) { - const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value); - if (!utils$1.isUndefined(reducedValue)) { - result[key] = reducedValue; - } - } - } - seen.pop(); - return result; - }; - return visit(config); -} -class AxiosError extends Error { - static from(error, code, config, request, response, customProps) { - const axiosError = new AxiosError(error.message, code || error.code, config, request, response); - // Match native `Error` `cause` semantics: non-enumerable. The wrapped - // error often carries circular internals (sockets, requests, agents), so - // an enumerable `cause` makes structured loggers (pino/winston) and any - // own-property walk throw "Converting circular structure to JSON". - // Regression from #6982; see #7205. `__proto__: null` mirrors the - // `message` descriptor below (prototype-pollution-safe descriptor). - Object.defineProperty(axiosError, 'cause', { - __proto__: null, - value: error, - writable: true, - enumerable: false, - configurable: true - }); - axiosError.name = error.name; - - // Preserve status from the original error if not already set from response - if (error.status != null && axiosError.status == null) { - axiosError.status = error.status; - } - customProps && Object.assign(axiosError, customProps); - return axiosError; - } - - /** - * Create an Error with the specified message, config, error code, request and response. - * - * @param {string} message The error message. - * @param {string} [code] The error code (for example, 'ECONNABORTED'). - * @param {Object} [config] The config. - * @param {Object} [request] The request. - * @param {Object} [response] The response. - * - * @returns {Error} The created error. - */ - constructor(message, code, config, request, response) { - super(message); - - // Make message enumerable to maintain backward compatibility - // The native Error constructor sets message as non-enumerable, - // but axios < v1.13.3 had it as enumerable - Object.defineProperty(this, 'message', { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: message, - enumerable: true, - writable: true, - configurable: true - }); - this.name = 'AxiosError'; - this.isAxiosError = true; - code && (this.code = code); - config && (this.config = config); - request && (this.request = request); - if (response) { - this.response = response; - this.status = response.status; - } - } - toJSON() { - // Opt-in redaction: when the request config carries a `redact` array, the - // value of any matching key (case-insensitive, at any depth) is replaced - // with REDACTED in the serialized snapshot. Undefined or empty leaves the - // existing serialization behavior unchanged. - const config = this.config; - const redactKeys = config && utils$1.hasOwnProp(config, 'redact') ? config.redact : undefined; - const serializedConfig = utils$1.isArray(redactKeys) && redactKeys.length > 0 ? redactConfig(config, redactKeys) : utils$1.toJSONObject(config); - return { - // Standard - message: this.message, - name: this.name, - // Microsoft - description: this.description, - number: this.number, - // Mozilla - fileName: this.fileName, - lineNumber: this.lineNumber, - columnNumber: this.columnNumber, - stack: this.stack, - // Axios - config: serializedConfig, - code: this.code, - status: this.status - }; - } -} - -// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated. -AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE'; -AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION'; -AxiosError.ECONNABORTED = 'ECONNABORTED'; -AxiosError.ETIMEDOUT = 'ETIMEDOUT'; -AxiosError.ECONNREFUSED = 'ECONNREFUSED'; -AxiosError.ERR_NETWORK = 'ERR_NETWORK'; -AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS'; -AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED'; -AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE'; -AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST'; -AxiosError.ERR_CANCELED = 'ERR_CANCELED'; -AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT'; -AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL'; -AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED'; - -// Default nesting limit shared with the inverse transform (formDataToJSON) so -// the FormData <-> JSON round-trip stays symmetric. -const DEFAULT_FORM_DATA_MAX_DEPTH = 100; - -/** - * Determines if the given thing is a array or js object. - * - * @param {string} thing - The object or array to be visited. - * - * @returns {boolean} - */ -function isVisitable(thing) { - return utils$1.isPlainObject(thing) || utils$1.isArray(thing); -} - -/** - * It removes the brackets from the end of a string - * - * @param {string} key - The key of the parameter. - * - * @returns {string} the key without the brackets. - */ -function removeBrackets(key) { - return utils$1.endsWith(key, '[]') ? key.slice(0, -2) : key; -} - -/** - * It takes a path, a key, and a boolean, and returns a string - * - * @param {string} path - The path to the current key. - * @param {string} key - The key of the current object being iterated over. - * @param {string} dots - If true, the key will be rendered with dots instead of brackets. - * - * @returns {string} The path to the current key. - */ -function renderKey(path, key, dots) { - if (!path) return key; - return path.concat(key).map(function each(token, i) { - // eslint-disable-next-line no-param-reassign - token = removeBrackets(token); - return !dots && i ? '[' + token + ']' : token; - }).join(dots ? '.' : ''); -} - -/** - * If the array is an array and none of its elements are visitable, then it's a flat array. - * - * @param {Array} arr - The array to check - * - * @returns {boolean} - */ -function isFlatArray(arr) { - return utils$1.isArray(arr) && !arr.some(isVisitable); -} -const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) { - return /^is[A-Z]/.test(prop); -}); - -/** - * Convert a data object to FormData - * - * @param {Object} obj - * @param {?Object} [formData] - * @param {?Object} [options] - * @param {Function} [options.visitor] - * @param {Boolean} [options.metaTokens = true] - * @param {Boolean} [options.dots = false] - * @param {?Boolean} [options.indexes = false] - * - * @returns {Object} - **/ - -/** - * It converts an object into a FormData object - * - * @param {Object} obj - The object to convert to form data. - * @param {string} formData - The FormData object to append to. - * @param {Object} options - * - * @returns - */ -function toFormData(obj, formData, options) { - if (!utils$1.isObject(obj)) { - throw new TypeError('target must be an object'); - } - - // eslint-disable-next-line no-param-reassign - formData = formData || new (FormData$1 || FormData)(); - - // eslint-disable-next-line no-param-reassign - options = utils$1.toFlatObject(options, { - metaTokens: true, - dots: false, - indexes: false - }, false, function defined(option, source) { - // eslint-disable-next-line no-eq-null,eqeqeq - return !utils$1.isUndefined(source[option]); - }); - const metaTokens = options.metaTokens; - // eslint-disable-next-line no-use-before-define - const visitor = options.visitor || defaultVisitor; - const dots = options.dots; - const indexes = options.indexes; - const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob; - const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth; - const useBlob = _Blob && utils$1.isSpecCompliantForm(formData); - const stack = []; - if (!utils$1.isFunction(visitor)) { - throw new TypeError('visitor must be a function'); - } - function convertValue(value) { - if (value === null) return ''; - if (utils$1.isDate(value)) { - return value.toISOString(); - } - if (utils$1.isBoolean(value)) { - return value.toString(); - } - if (!useBlob && utils$1.isBlob(value)) { - throw new AxiosError('Blob is not supported. Use a Buffer instead.'); - } - if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) { - if (useBlob && typeof _Blob === 'function') { - return new _Blob([value]); - } - if (typeof Buffer !== 'undefined') { - return Buffer.from(value); - } - throw new AxiosError('Blob is not supported. Use a Buffer instead.', AxiosError.ERR_NOT_SUPPORT); - } - return value; - } - function throwIfMaxDepthExceeded(depth) { - if (depth > maxDepth) { - throw new AxiosError('Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth, AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED); - } - } - function stringifyWithDepthLimit(value, depth) { - if (maxDepth === Infinity) { - return JSON.stringify(value); - } - const ancestors = []; - return JSON.stringify(value, function limitDepth(_key, currentValue) { - if (!utils$1.isObject(currentValue)) { - return currentValue; - } - while (ancestors.length && ancestors[ancestors.length - 1] !== this) { - ancestors.pop(); - } - ancestors.push(currentValue); - throwIfMaxDepthExceeded(depth + ancestors.length - 1); - return currentValue; - }); - } - - /** - * Default visitor. - * - * @param {*} value - * @param {String|Number} key - * @param {Array} path - * @this {FormData} - * - * @returns {boolean} return true to visit the each prop of the value recursively - */ - function defaultVisitor(value, key, path) { - let arr = value; - if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) { - formData.append(renderKey(path, key, dots), convertValue(value)); - return false; - } - if (value && !path && typeof value === 'object') { - if (utils$1.endsWith(key, '{}')) { - // eslint-disable-next-line no-param-reassign - key = metaTokens ? key : key.slice(0, -2); - // eslint-disable-next-line no-param-reassign - value = stringifyWithDepthLimit(value, 1); - } else if (utils$1.isArray(value) && isFlatArray(value) || (utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))) { - // eslint-disable-next-line no-param-reassign - key = removeBrackets(key); - arr.forEach(function each(el, index) { - !(utils$1.isUndefined(el) || el === null) && formData.append( - // eslint-disable-next-line no-nested-ternary - indexes === true ? renderKey([key], index, dots) : indexes === null ? key : key + '[]', convertValue(el)); - }); - return false; - } - } - if (isVisitable(value)) { - return true; - } - formData.append(renderKey(path, key, dots), convertValue(value)); - return false; - } - const exposedHelpers = Object.assign(predicates, { - defaultVisitor, - convertValue, - isVisitable - }); - function build(value, path, depth = 0) { - if (utils$1.isUndefined(value)) return; - throwIfMaxDepthExceeded(depth); - if (stack.indexOf(value) !== -1) { - throw new Error('Circular reference detected in ' + path.join('.')); - } - stack.push(value); - utils$1.forEach(value, function each(el, key) { - const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers); - if (result === true) { - build(el, path ? path.concat(key) : [key], depth + 1); - } - }); - stack.pop(); - } - if (!utils$1.isObject(obj)) { - throw new TypeError('data must be an object'); - } - build(obj); - return formData; -} - -/** - * It encodes a string by replacing all characters that are not in the unreserved set with - * their percent-encoded equivalents - * - * @param {string} str - The string to encode. - * - * @returns {string} The encoded string. - */ -function encode$1(str) { - const charMap = { - '!': '%21', - "'": '%27', - '(': '%28', - ')': '%29', - '~': '%7E', - '%20': '+' - }; - return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) { - return charMap[match]; - }); -} - -/** - * It takes a params object and converts it to a FormData object - * - * @param {Object} params - The parameters to be converted to a FormData object. - * @param {Object} options - The options object passed to the Axios constructor. - * - * @returns {void} - */ -function AxiosURLSearchParams(params, options) { - this._pairs = []; - params && toFormData(params, this, options); -} -const prototype = AxiosURLSearchParams.prototype; -prototype.append = function append(name, value) { - this._pairs.push([name, value]); -}; -prototype.toString = function toString(encoder) { - const _encode = encoder ? value => encoder.call(this, value, encode$1) : encode$1; - return this._pairs.map(function each(pair) { - return _encode(pair[0]) + '=' + _encode(pair[1]); - }, '').join('&'); -}; - -/** - * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with - * their plain counterparts (`:`, `$`, `,`, `+`). - * - * @param {string} val The value to be encoded. - * - * @returns {string} The encoded value. - */ -function encode(val) { - return encodeURIComponent(val).replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+'); -} - -/** - * Build a URL by appending params to the end - * - * @param {string} url The base of the url (e.g., http://www.google.com) - * @param {object} [params] The params to be appended - * @param {?(object|Function)} options - * - * @returns {string} The formatted url - */ -function buildURL(url, params, options) { - if (!params) { - return url; - } - url = url || ''; - const _options = utils$1.isFunction(options) ? { - serialize: options - } : options; - - // Read serializer options pollution-safely: own properties and methods on a - // class/template prototype are honored, but values injected onto a polluted - // Object.prototype are ignored. - const _encode = utils$1.getSafeProp(_options, 'encode') || encode; - const serializeFn = utils$1.getSafeProp(_options, 'serialize'); - let serializedParams; - if (serializeFn) { - serializedParams = serializeFn(params, _options); - } else { - serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode); - } - if (serializedParams) { - const hashmarkIndex = url.indexOf('#'); - if (hashmarkIndex !== -1) { - url = url.slice(0, hashmarkIndex); - } - url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams; - } - return url; -} - -class InterceptorManager { - constructor() { - this.handlers = []; - } - - /** - * Add a new interceptor to the stack - * - * @param {Function} fulfilled The function to handle `then` for a `Promise` - * @param {Function} rejected The function to handle `reject` for a `Promise` - * @param {Object} options The options for the interceptor, synchronous and runWhen - * - * @return {Number} An ID used to remove interceptor later - */ - use(fulfilled, rejected, options) { - this.handlers.push({ - fulfilled, - rejected, - synchronous: options ? options.synchronous : false, - runWhen: options ? options.runWhen : null - }); - return this.handlers.length - 1; - } - - /** - * Remove an interceptor from the stack - * - * @param {Number} id The ID that was returned by `use` - * - * @returns {void} - */ - eject(id) { - if (this.handlers[id]) { - this.handlers[id] = null; - } - } - - /** - * Clear all interceptors from the stack - * - * @returns {void} - */ - clear() { - if (this.handlers) { - this.handlers = []; - } - } - - /** - * Iterate over all the registered interceptors - * - * This method is particularly useful for skipping over any - * interceptors that may have become `null` calling `eject`. - * - * @param {Function} fn The function to call for each interceptor - * - * @returns {void} - */ - forEach(fn) { - utils$1.forEach(this.handlers, function forEachHandler(h) { - if (h !== null) { - fn(h); - } - }); - } -} - -var transitionalDefaults = { - silentJSONParsing: true, - forcedJSONParsing: true, - clarifyTimeoutError: false, - legacyInterceptorReqResOrdering: true, - advertiseZstdAcceptEncoding: false, - validateStatusUndefinedResolves: true -}; - -var URLSearchParams = url.URLSearchParams; - -const ALPHA = 'abcdefghijklmnopqrstuvwxyz'; -const DIGIT = '0123456789'; -const ALPHABET = { - DIGIT, - ALPHA, - ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT -}; -const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => { - let str = ''; - const { - length - } = alphabet; - const randomValues = new Uint32Array(size); - crypto.randomFillSync(randomValues); - for (let i = 0; i < size; i++) { - str += alphabet[randomValues[i] % length]; - } - return str; -}; -var platform$1 = { - isNode: true, - classes: { - URLSearchParams, - FormData: FormData$1, - Blob: typeof Blob !== 'undefined' && Blob || null - }, - ALPHABET, - generateString, - protocols: ['http', 'https', 'file', 'data'] -}; - -const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined'; -const _navigator = typeof navigator === 'object' && navigator || undefined; - -/** - * Determine if we're running in a standard browser environment - * - * This allows axios to run in a web worker, and react-native. - * Both environments support XMLHttpRequest, but not fully standard globals. - * - * web workers: - * typeof window -> undefined - * typeof document -> undefined - * - * react-native: - * navigator.product -> 'ReactNative' - * nativescript - * navigator.product -> 'NativeScript' or 'NS' - * - * @returns {boolean} - */ -const hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0); - -/** - * Determine if we're running in a standard browser webWorker environment - * - * Although the `isStandardBrowserEnv` method indicates that - * `allows axios to run in a web worker`, the WebWorker will still be - * filtered out due to its judgment standard - * `typeof window !== 'undefined' && typeof document !== 'undefined'`. - * This leads to a problem when axios post `FormData` in webWorker - */ -const hasStandardBrowserWebWorkerEnv = (() => { - return typeof WorkerGlobalScope !== 'undefined' && - // eslint-disable-next-line no-undef - self instanceof WorkerGlobalScope && typeof self.importScripts === 'function'; -})(); -const origin = hasBrowserEnv && window.location.href || 'http://localhost'; - -var utils = /*#__PURE__*/Object.freeze({ - __proto__: null, - hasBrowserEnv: hasBrowserEnv, - hasStandardBrowserEnv: hasStandardBrowserEnv, - hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv, - navigator: _navigator, - origin: origin -}); - -var platform = { - ...utils, - ...platform$1 -}; - -function toURLEncodedForm(data, options) { - return toFormData(data, new platform.classes.URLSearchParams(), { - visitor: function (value, key, path, helpers) { - if (platform.isNode && utils$1.isBuffer(value)) { - this.append(key, value.toString('base64')); - return false; - } - return helpers.defaultVisitor.apply(this, arguments); - }, - ...options - }); -} - -const MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH; -function throwIfDepthExceeded(index) { - if (index > MAX_DEPTH) { - throw new AxiosError('FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH, AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED); - } -} - -/** - * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z'] - * - * @param {string} name - The name of the property to get. - * - * @returns An array of strings. - */ -function parsePropPath(name) { - // foo[x][y][z] - // foo.x.y.z - // foo-x-y-z - // foo x y z - const path = []; - const pattern = /\w+|\[(\w*)]/g; - let match; - while ((match = pattern.exec(name)) !== null) { - throwIfDepthExceeded(path.length); - path.push(match[0] === '[]' ? '' : match[1] || match[0]); - } - return path; -} - -/** - * Convert an array to an object. - * - * @param {Array} arr - The array to convert to an object. - * - * @returns An object with the same keys and values as the array. - */ -function arrayToObject(arr) { - const obj = {}; - const keys = Object.keys(arr); - let i; - const len = keys.length; - let key; - for (i = 0; i < len; i++) { - key = keys[i]; - obj[key] = arr[key]; - } - return obj; -} - -/** - * It takes a FormData object and returns a JavaScript object - * - * @param {string} formData The FormData object to convert to JSON. - * - * @returns {Object | null} The converted object. - */ -function formDataToJSON(formData) { - function buildPath(path, value, target, index) { - throwIfDepthExceeded(index); - let name = path[index++]; - if (name === '__proto__') return true; - const isNumericKey = Number.isFinite(+name); - const isLast = index >= path.length; - name = !name && utils$1.isArray(target) ? target.length : name; - if (isLast) { - if (utils$1.hasOwnProp(target, name)) { - target[name] = utils$1.isArray(target[name]) ? target[name].concat(value) : [target[name], value]; - } else { - target[name] = value; - } - return !isNumericKey; - } - if (!utils$1.hasOwnProp(target, name) || !utils$1.isObject(target[name])) { - target[name] = []; - } - const result = buildPath(path, value, target[name], index); - if (result && utils$1.isArray(target[name])) { - target[name] = arrayToObject(target[name]); - } - return !isNumericKey; - } - if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) { - const obj = {}; - utils$1.forEachEntry(formData, (name, value) => { - buildPath(parsePropPath(name), value, obj, 0); - }); - return obj; - } - return null; -} - -const own = (obj, key) => obj != null && utils$1.hasOwnProp(obj, key) ? obj[key] : undefined; - -/** - * It takes a string, tries to parse it, and if it fails, it returns the stringified version - * of the input - * - * @param {any} rawValue - The value to be stringified. - * @param {Function} parser - A function that parses a string into a JavaScript object. - * @param {Function} encoder - A function that takes a value and returns a string. - * - * @returns {string} A stringified version of the rawValue. - */ -function stringifySafely(rawValue, parser, encoder) { - if (utils$1.isString(rawValue)) { - try { - (parser || JSON.parse)(rawValue); - return utils$1.trim(rawValue); - } catch (e) { - if (e.name !== 'SyntaxError') { - throw e; - } - } - } - return (encoder || JSON.stringify)(rawValue); -} -const defaults = { - transitional: transitionalDefaults, - adapter: ['xhr', 'http', 'fetch'], - transformRequest: [function transformRequest(data, headers) { - const contentType = headers.getContentType() || ''; - const hasJSONContentType = contentType.indexOf('application/json') > -1; - const isObjectPayload = utils$1.isObject(data); - if (isObjectPayload && utils$1.isHTMLForm(data)) { - data = new FormData(data); - } - const isFormData = utils$1.isFormData(data); - if (isFormData) { - return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data; - } - if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data) || utils$1.isReadableStream(data)) { - return data; - } - if (utils$1.isArrayBufferView(data)) { - return data.buffer; - } - if (utils$1.isURLSearchParams(data)) { - headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false); - return data.toString(); - } - let isFileList; - if (isObjectPayload) { - const formSerializer = own(this, 'formSerializer'); - if (contentType.indexOf('application/x-www-form-urlencoded') > -1) { - return toURLEncodedForm(data, formSerializer).toString(); - } - if ((isFileList = utils$1.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) { - const env = own(this, 'env'); - const _FormData = env && env.FormData; - return toFormData(isFileList ? { - 'files[]': data - } : data, _FormData && new _FormData(), formSerializer); - } - } - if (isObjectPayload || hasJSONContentType) { - headers.setContentType('application/json', false); - return stringifySafely(data); - } - return data; - }], - transformResponse: [function transformResponse(data) { - const transitional = own(this, 'transitional') || defaults.transitional; - const forcedJSONParsing = transitional && transitional.forcedJSONParsing; - const responseType = own(this, 'responseType'); - const JSONRequested = responseType === 'json'; - if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) { - return data; - } - if (data && utils$1.isString(data) && (forcedJSONParsing && !responseType || JSONRequested)) { - const silentJSONParsing = transitional && transitional.silentJSONParsing; - const strictJSONParsing = !silentJSONParsing && JSONRequested; - try { - return JSON.parse(data, own(this, 'parseReviver')); - } catch (e) { - if (strictJSONParsing) { - if (e.name === 'SyntaxError') { - throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response')); - } - throw e; - } - } - } - return data; - }], - /** - * A timeout in milliseconds to abort a request. If set to 0 (default) a - * timeout is not created. - */ - timeout: 0, - xsrfCookieName: 'XSRF-TOKEN', - xsrfHeaderName: 'X-XSRF-TOKEN', - maxContentLength: -1, - maxBodyLength: -1, - env: { - FormData: platform.classes.FormData, - Blob: platform.classes.Blob - }, - validateStatus: function validateStatus(status) { - return status >= 200 && status < 300; - }, - headers: { - common: { - Accept: 'application/json, text/plain, */*', - 'Content-Type': undefined - } - } -}; -utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], method => { - defaults.headers[method] = {}; -}); - -/** - * Transform the data for a request or a response - * - * @param {Array|Function} fns A single function or Array of functions - * @param {?Object} response The response object - * - * @returns {*} The resulting transformed data - */ -function transformData(fns, response) { - const config = this || defaults; - const context = response || config; - const headers = AxiosHeaders.from(context.headers); - let data = context.data; - utils$1.forEach(fns, function transform(fn) { - data = fn.call(config, data, headers.normalize(), response ? response.status : undefined); - }); - headers.normalize(); - return data; -} - -function isCancel(value) { - return !!(value && value.__CANCEL__); -} - -class CanceledError extends AxiosError { - /** - * A `CanceledError` is an object that is thrown when an operation is canceled. - * - * @param {string=} message The message. - * @param {Object=} config The config. - * @param {Object=} request The request. - * - * @returns {CanceledError} The created error. - */ - constructor(message, config, request) { - super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request); - this.name = 'CanceledError'; - this.__CANCEL__ = true; - } -} - -/** - * Resolve or reject a Promise based on response status. - * - * @param {Function} resolve A function that resolves the promise. - * @param {Function} reject A function that rejects the promise. - * @param {object} response The response. - * - * @returns {object} The response. - */ -function settle(resolve, reject, response) { - const validateStatus = response.config.validateStatus; - if (!response.status || !validateStatus || validateStatus(response.status)) { - resolve(response); - } else { - reject(new AxiosError('Request failed with status code ' + response.status, response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE, response.config, response.request, response)); - } -} - -/** - * Determines whether the specified URL is absolute - * - * @param {string} url The URL to test - * - * @returns {boolean} True if the specified URL is absolute, otherwise false - */ -function isAbsoluteURL(url) { - // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). - // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed - // by any combination of letters, digits, plus, period, or hyphen. - if (typeof url !== 'string') { - return false; - } - return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url); -} - -/** - * Creates a new URL by combining the specified URLs - * - * @param {string} baseURL The base URL - * @param {string} relativeURL The relative URL - * - * @returns {string} The combined URL - */ -function combineURLs(baseURL, relativeURL) { - return relativeURL ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') : baseURL; -} - -const malformedHttpProtocol = /^https?:(?!\/\/)/i; -const httpProtocolControlCharacters = /[\t\n\r]/g; -function stripLeadingC0ControlOrSpace(url) { - let i = 0; - while (i < url.length && url.charCodeAt(i) <= 0x20) { - i++; - } - return url.slice(i); -} -function normalizeURLForProtocolCheck(url) { - return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, ''); -} -function assertValidHttpProtocolURL(url, config) { - if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) { - throw new AxiosError('Invalid URL: missing "//" after protocol', AxiosError.ERR_INVALID_URL, config); - } -} - -/** - * Creates a new URL by combining the baseURL with the requestedURL, - * only when the requestedURL is not already an absolute URL. - * If the requestURL is absolute, this function returns the requestedURL untouched. - * - * @param {string} baseURL The base URL - * @param {string} requestedURL Absolute or relative URL to combine - * - * @returns {string} The combined full path - */ -function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) { - assertValidHttpProtocolURL(requestedURL, config); - let isRelativeUrl = !isAbsoluteURL(requestedURL); - if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) { - assertValidHttpProtocolURL(baseURL, config); - return combineURLs(baseURL, requestedURL); - } - return requestedURL; -} - -var DEFAULT_PORTS$1 = { - ftp: 21, - gopher: 70, - http: 80, - https: 443, - ws: 80, - wss: 443 -}; -function parseUrl(urlString) { - try { - return new URL(urlString); - } catch { - return null; - } -} - -/** - * @param {string|object|URL} url - The URL as a string or URL instance, or a - * compatible object (such as the result from legacy url.parse). - * @return {string} The URL of the proxy that should handle the request to the - * given URL. If no proxy is set, this will be an empty string. - */ -function getProxyForUrl(url) { - var parsedUrl = (typeof url === 'string' ? parseUrl(url) : url) || {}; - var proto = parsedUrl.protocol; - var hostname = parsedUrl.host; - var port = parsedUrl.port; - if (typeof hostname !== 'string' || !hostname || typeof proto !== 'string') { - return ''; // Don't proxy URLs without a valid scheme or host. - } - proto = proto.split(':', 1)[0]; - // Stripping ports in this way instead of using parsedUrl.hostname to make - // sure that the brackets around IPv6 addresses are kept. - hostname = hostname.replace(/:\d*$/, ''); - port = parseInt(port) || DEFAULT_PORTS$1[proto] || 0; - if (!shouldProxy(hostname, port)) { - return ''; // Don't proxy URLs that match NO_PROXY. - } - var proxy = getEnv(proto + '_proxy') || getEnv('all_proxy'); - if (proxy && proxy.indexOf('://') === -1) { - // Missing scheme in proxy, default to the requested URL's scheme. - proxy = proto + '://' + proxy; - } - return proxy; -} - -/** - * Determines whether a given URL should be proxied. - * - * @param {string} hostname - The host name of the URL. - * @param {number} port - The effective port of the URL. - * @returns {boolean} Whether the given URL should be proxied. - * @private - */ -function shouldProxy(hostname, port) { - var NO_PROXY = getEnv('no_proxy').toLowerCase(); - if (!NO_PROXY) { - return true; // Always proxy if NO_PROXY is not set. - } - if (NO_PROXY === '*') { - return false; // Never proxy if wildcard is set. - } - return NO_PROXY.split(/[,\s]/).every(function (proxy) { - if (!proxy) { - return true; // Skip zero-length hosts. - } - var parsedProxy = proxy.match(/^(.+):(\d+)$/); - var parsedProxyHostname = parsedProxy ? parsedProxy[1] : proxy; - var parsedProxyPort = parsedProxy ? parseInt(parsedProxy[2]) : 0; - if (parsedProxyPort && parsedProxyPort !== port) { - return true; // Skip if ports don't match. - } - if (!/^[.*]/.test(parsedProxyHostname)) { - // No wildcards, so stop proxying if there is an exact match. - return hostname !== parsedProxyHostname; - } - if (parsedProxyHostname.charAt(0) === '*') { - // Remove leading wildcard. - parsedProxyHostname = parsedProxyHostname.slice(1); - } - // Stop proxying if the hostname ends with the no_proxy host. - return !hostname.endsWith(parsedProxyHostname); - }); -} - -/** - * Get the value for an environment variable. - * - * @param {string} key - The name of the environment variable. - * @return {string} The value of the environment variable. - * @private - */ -function getEnv(key) { - return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || ''; -} - -const VERSION = "1.18.1"; - -function parseProtocol(url) { - const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url); - return match && match[1] || ''; -} - -// RFC 2397: data:[][;base64], -// mediatype = type/subtype followed by optional ;name=value parameters -const DATA_URL_PATTERN = /^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/; - -/** - * Parse data uri to a Buffer or Blob - * - * @param {String} uri - * @param {?Boolean} asBlob - * @param {?Object} options - * @param {?Function} options.Blob - * - * @returns {Buffer|Blob} - */ -function fromDataURI(uri, asBlob, options) { - const _Blob = options && options.Blob || platform.classes.Blob; - const protocol = parseProtocol(uri); - if (asBlob === undefined && _Blob) { - asBlob = true; - } - if (protocol === 'data') { - uri = protocol.length ? uri.slice(protocol.length + 1) : uri; - const match = DATA_URL_PATTERN.exec(uri); - if (!match) { - throw new AxiosError('Invalid URL', AxiosError.ERR_INVALID_URL); - } - const type = match[1]; - const params = match[2]; - const encoding = match[3] ? 'base64' : 'utf8'; - const body = match[4]; - - // RFC 2397 section 3: default mediatype is text/plain;charset=US-ASCII - // Bare `data:,` leaves mime undefined; Blob normalises that to "" per spec. - let mime = ''; - if (type) { - mime = params ? type + params : type; - } else if (params) { - mime = 'text/plain' + params; - } - const buffer = encoding === 'base64' ? Buffer.from(body, 'base64') : Buffer.from(decodeURIComponent(body), encoding); - if (asBlob) { - if (!_Blob) { - throw new AxiosError('Blob is not supported', AxiosError.ERR_NOT_SUPPORT); - } - return new _Blob([buffer], { - type: mime - }); - } - return buffer; - } - throw new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_NOT_SUPPORT); -} - -const kInternals = Symbol('internals'); -class AxiosTransformStream extends stream.Transform { - constructor(options) { - options = utils$1.toFlatObject(options, { - maxRate: 0, - chunkSize: 64 * 1024, - minChunkSize: 100, - timeWindow: 500, - ticksRate: 2, - samplesCount: 15 - }, null, (prop, source) => { - return !utils$1.isUndefined(source[prop]); - }); - super({ - readableHighWaterMark: options.chunkSize - }); - const internals = this[kInternals] = { - timeWindow: options.timeWindow, - chunkSize: options.chunkSize, - maxRate: options.maxRate, - minChunkSize: options.minChunkSize, - bytesSeen: 0, - isCaptured: false, - notifiedBytesLoaded: 0, - ts: Date.now(), - bytes: 0, - onReadCallback: null - }; - this.on('newListener', event => { - if (event === 'progress') { - if (!internals.isCaptured) { - internals.isCaptured = true; - } - } - }); - } - _read(size) { - const internals = this[kInternals]; - if (internals.onReadCallback) { - internals.onReadCallback(); - } - return super._read(size); - } - _transform(chunk, encoding, callback) { - const internals = this[kInternals]; - const maxRate = internals.maxRate; - const readableHighWaterMark = this.readableHighWaterMark; - const timeWindow = internals.timeWindow; - const divider = 1000 / timeWindow; - const bytesThreshold = maxRate / divider; - const minChunkSize = internals.minChunkSize !== false ? Math.max(internals.minChunkSize, bytesThreshold * 0.01) : 0; - const pushChunk = (_chunk, _callback) => { - const bytes = Buffer.byteLength(_chunk); - internals.bytesSeen += bytes; - internals.bytes += bytes; - internals.isCaptured && this.emit('progress', internals.bytesSeen); - if (this.push(_chunk)) { - process.nextTick(_callback); - } else { - internals.onReadCallback = () => { - internals.onReadCallback = null; - process.nextTick(_callback); - }; - } - }; - const transformChunk = (_chunk, _callback) => { - const chunkSize = Buffer.byteLength(_chunk); - let chunkRemainder = null; - let maxChunkSize = readableHighWaterMark; - let bytesLeft; - let passed = 0; - if (maxRate) { - const now = Date.now(); - if (!internals.ts || (passed = now - internals.ts) >= timeWindow) { - internals.ts = now; - bytesLeft = bytesThreshold - internals.bytes; - internals.bytes = bytesLeft < 0 ? -bytesLeft : 0; - passed = 0; - } - bytesLeft = bytesThreshold - internals.bytes; - } - if (maxRate) { - if (bytesLeft <= 0) { - // next time window - return setTimeout(() => { - _callback(null, _chunk); - }, timeWindow - passed); - } - if (bytesLeft < maxChunkSize) { - maxChunkSize = bytesLeft; - } - } - if (maxChunkSize && chunkSize > maxChunkSize && chunkSize - maxChunkSize > minChunkSize) { - chunkRemainder = _chunk.subarray(maxChunkSize); - _chunk = _chunk.subarray(0, maxChunkSize); - } - pushChunk(_chunk, chunkRemainder ? () => { - process.nextTick(_callback, null, chunkRemainder); - } : _callback); - }; - transformChunk(chunk, function transformNextChunk(err, _chunk) { - if (err) { - return callback(err); - } - if (_chunk) { - transformChunk(_chunk, transformNextChunk); - } else { - callback(null); - } - }); - } -} - -const { - asyncIterator -} = Symbol; -const readBlob = async function* (blob) { - if (blob.stream) { - yield* blob.stream(); - } else if (blob.arrayBuffer) { - yield await blob.arrayBuffer(); - } else if (blob[asyncIterator]) { - yield* blob[asyncIterator](); - } else { - yield blob; - } -}; - -const BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + '-_'; -const textEncoder = typeof TextEncoder === 'function' ? new TextEncoder() : new util.TextEncoder(); -const CRLF = '\r\n'; -const CRLF_BYTES = textEncoder.encode(CRLF); -const CRLF_BYTES_COUNT = 2; -class FormDataPart { - constructor(name, value) { - const { - escapeName - } = this.constructor; - const isStringValue = utils$1.isString(value); - let headers = `Content-Disposition: form-data; name="${escapeName(name)}"${!isStringValue && value.name ? `; filename="${escapeName(value.name)}"` : ''}${CRLF}`; - if (isStringValue) { - value = textEncoder.encode(String(value).replace(/\r?\n|\r\n?/g, CRLF)); - } else { - const safeType = String(value.type || 'application/octet-stream').replace(/[\r\n]/g, ''); - headers += `Content-Type: ${safeType}${CRLF}`; - } - this.headers = textEncoder.encode(headers + CRLF); - this.contentLength = isStringValue ? value.byteLength : value.size; - this.size = this.headers.byteLength + this.contentLength + CRLF_BYTES_COUNT; - this.name = name; - this.value = value; - } - async *encode() { - yield this.headers; - const { - value - } = this; - if (utils$1.isTypedArray(value)) { - yield value; - } else { - yield* readBlob(value); - } - yield CRLF_BYTES; - } - static escapeName(name) { - return String(name).replace(/[\r\n"]/g, match => ({ - '\r': '%0D', - '\n': '%0A', - '"': '%22' - })[match]); - } -} -const formDataToStream = (form, headersHandler, options) => { - const { - tag = 'form-data-boundary', - size = 25, - boundary = tag + '-' + platform.generateString(size, BOUNDARY_ALPHABET) - } = options || {}; - if (!utils$1.isFormData(form)) { - throw new TypeError('FormData instance required'); - } - if (boundary.length < 1 || boundary.length > 70) { - throw new Error('boundary must be 1-70 characters long'); - } - const boundaryBytes = textEncoder.encode('--' + boundary + CRLF); - const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF); - let contentLength = footerBytes.byteLength; - const parts = Array.from(form.entries()).map(([name, value]) => { - const part = new FormDataPart(name, value); - contentLength += part.size; - return part; - }); - contentLength += boundaryBytes.byteLength * parts.length; - contentLength = utils$1.toFiniteNumber(contentLength); - const computedHeaders = { - 'Content-Type': `multipart/form-data; boundary=${boundary}` - }; - if (Number.isFinite(contentLength)) { - computedHeaders['Content-Length'] = contentLength; - } - headersHandler && headersHandler(computedHeaders); - return stream.Readable.from(async function* () { - for (const part of parts) { - yield boundaryBytes; - yield* part.encode(); - } - yield footerBytes; - }()); -}; - -class ZlibHeaderTransformStream extends stream.Transform { - __transform(chunk, encoding, callback) { - this.push(chunk); - callback(); - } - _transform(chunk, encoding, callback) { - if (chunk.length !== 0) { - this._transform = this.__transform; - - // Add Default Compression headers if no zlib headers are present - if (chunk[0] !== 120) { - // Hex: 78 - const header = Buffer.alloc(2); - header[0] = 120; // Hex: 78 - header[1] = 156; // Hex: 9C - this.push(header, encoding); - } - } - this.__transform(chunk, encoding, callback); - } -} - -class Http2Sessions { - constructor() { - this.sessions = Object.create(null); - } - getSession(authority, options) { - options = Object.assign({ - sessionTimeout: 1000 - }, options); - let authoritySessions = this.sessions[authority]; - if (authoritySessions) { - let len = authoritySessions.length; - for (let i = 0; i < len; i++) { - const [sessionHandle, sessionOptions] = authoritySessions[i]; - if (!sessionHandle.destroyed && !sessionHandle.closed && util.isDeepStrictEqual(sessionOptions, options)) { - return sessionHandle; - } - } - } - const session = http2.connect(authority, options); - let removed; - let timer; - const removeSession = () => { - if (removed) { - return; - } - removed = true; - if (timer) { - clearTimeout(timer); - timer = null; - } - let entries = authoritySessions, - len = entries.length, - i = len; - while (i--) { - if (entries[i][0] === session) { - if (len === 1) { - delete this.sessions[authority]; - } else { - entries.splice(i, 1); - } - if (!session.closed) { - session.close(); - } - return; - } - } - }; - const originalRequestFn = session.request; - const { - sessionTimeout - } = options; - if (sessionTimeout != null) { - let streamsCount = 0; - session.request = function () { - const stream = originalRequestFn.apply(this, arguments); - streamsCount++; - if (timer) { - clearTimeout(timer); - timer = null; - } - stream.once('close', () => { - if (! --streamsCount) { - timer = setTimeout(() => { - timer = null; - removeSession(); - }, sessionTimeout); - } - }); - return stream; - }; - } - session.once('close', removeSession); - let entry = [session, options]; - authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [entry]; - return session; - } -} - -const callbackify = (fn, reducer) => { - return utils$1.isAsyncFn(fn) ? function (...args) { - const cb = args.pop(); - fn.apply(this, args).then(value => { - try { - reducer ? cb(null, ...reducer(value)) : cb(null, value); - } catch (err) { - cb(err); - } - }, cb); - } : fn; -}; - -const LOOPBACK_HOSTNAMES = new Set(['localhost', '0.0.0.0']); -const isIPv4Loopback = host => { - const parts = host.split('.'); - if (parts.length !== 4) return false; - if (parts[0] !== '127') return false; - return parts.every(p => /^\d+$/.test(p) && Number(p) >= 0 && Number(p) <= 255); -}; -const isIPv6ZeroGroup = group => /^0{1,4}$/.test(group); - -// The unspecified address (IPv4 0.0.0.0 / IPv6 ::) resolves to the local host -// for outbound connections, so treat it as loopback-equivalent for NO_PROXY -// matching. 0.0.0.0 is covered by LOOPBACK_HOSTNAMES; this handles compressed -// and full IPv6 all-zero forms so both families bypass symmetrically. -const isIPv6Unspecified = host => { - if (host === '::') return true; - const compressionIndex = host.indexOf('::'); - if (compressionIndex !== -1) { - if (compressionIndex !== host.lastIndexOf('::')) return false; - const left = host.slice(0, compressionIndex); - const right = host.slice(compressionIndex + 2); - const leftGroups = left ? left.split(':') : []; - const rightGroups = right ? right.split(':') : []; - const explicitGroups = leftGroups.length + rightGroups.length; - return explicitGroups < 8 && leftGroups.every(isIPv6ZeroGroup) && rightGroups.every(isIPv6ZeroGroup); - } - const groups = host.split(':'); - return groups.length === 8 && groups.every(isIPv6ZeroGroup); -}; -const isIPv6Loopback = host => { - // Collapse all-zero groups: any form of ::1 / 0:0:...:0:1 - // First, strip any leading "::" by normalising with Set lookup of common forms, - // then fall back to structural check. - if (host === '::1') return true; - - // Check IPv4-mapped IPv6 loopback: ::ffff: or ::ffff: - // Node's URL parser normalises ::ffff:127.0.0.1 → ::ffff:7f00:1 - const v4MappedDotted = host.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i); - if (v4MappedDotted) return isIPv4Loopback(v4MappedDotted[1]); - const v4MappedHex = host.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i); - if (v4MappedHex) { - const high = parseInt(v4MappedHex[1], 16); - // High 16 bits must start with 127 (0x7f) — i.e. 0x7f00..0x7fff - return high >= 0x7f00 && high <= 0x7fff; - } - - // Full-form ::1 variants: any number of zero groups followed by trailing 1 - // e.g. 0:0:0:0:0:0:0:1, 0000:...:0001 - const groups = host.split(':'); - if (groups.length === 8) { - for (let i = 0; i < 7; i++) { - if (!/^0+$/.test(groups[i])) return false; - } - return /^0*1$/.test(groups[7]); - } - return false; -}; -const isLoopback = host => { - if (!host) return false; - if (LOOPBACK_HOSTNAMES.has(host)) return true; - if (isIPv4Loopback(host)) return true; - if (isIPv6Unspecified(host)) return true; - return isIPv6Loopback(host); -}; -const DEFAULT_PORTS = { - http: 80, - https: 443, - ws: 80, - wss: 443, - ftp: 21 -}; -const parseNoProxyEntry = entry => { - let entryHost = entry; - let entryPort = 0; - if (entryHost.charAt(0) === '[') { - const bracketIndex = entryHost.indexOf(']'); - if (bracketIndex !== -1) { - const host = entryHost.slice(1, bracketIndex); - const rest = entryHost.slice(bracketIndex + 1); - if (rest.charAt(0) === ':' && /^\d+$/.test(rest.slice(1))) { - entryPort = Number.parseInt(rest.slice(1), 10); - } - return [host, entryPort]; - } - } - const firstColon = entryHost.indexOf(':'); - const lastColon = entryHost.lastIndexOf(':'); - if (firstColon !== -1 && firstColon === lastColon && /^\d+$/.test(entryHost.slice(lastColon + 1))) { - entryPort = Number.parseInt(entryHost.slice(lastColon + 1), 10); - entryHost = entryHost.slice(0, lastColon); - } - return [entryHost, entryPort]; -}; - -// Convert IPv4-mapped IPv6 (::ffff:0:0/96 prefix) to IPv4 dotted form so both -// sides of a NO_PROXY comparison see the same canonical address. Without this, -// `NO_PROXY=192.168.1.5` would not match a request to `http://[::ffff:192.168.1.5]/` -// (Node's URL parser normalises that to `[::ffff:c0a8:105]`), and vice-versa, -// allowing the proxy-bypass policy to be circumvented by using the alternate -// representation. Returns the input unchanged when not IPv4-mapped. -const IPV4_MAPPED_DOTTED_RE = /^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i; -const IPV4_MAPPED_HEX_RE = /^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i; -const unmapIPv4MappedIPv6 = host => { - if (typeof host !== 'string' || host.indexOf(':') === -1) return host; - const dotted = host.match(IPV4_MAPPED_DOTTED_RE); - if (dotted) return dotted[1]; - const hex = host.match(IPV4_MAPPED_HEX_RE); - if (hex) { - const high = parseInt(hex[1], 16); - const low = parseInt(hex[2], 16); - return `${high >> 8}.${high & 0xff}.${low >> 8}.${low & 0xff}`; - } - return host; -}; -const normalizeNoProxyHost = hostname => { - if (!hostname) { - return hostname; - } - if (hostname.charAt(0) === '[' && hostname.charAt(hostname.length - 1) === ']') { - hostname = hostname.slice(1, -1); - } - return unmapIPv4MappedIPv6(hostname.replace(/\.+$/, '')); -}; -function shouldBypassProxy(location) { - let parsed; - try { - parsed = new URL(location); - } catch (_err) { - return false; - } - const noProxy = (process.env.no_proxy || process.env.NO_PROXY || '').toLowerCase(); - if (!noProxy) { - return false; - } - if (noProxy === '*') { - return true; - } - const port = Number.parseInt(parsed.port, 10) || DEFAULT_PORTS[parsed.protocol.split(':', 1)[0]] || 0; - const hostname = normalizeNoProxyHost(parsed.hostname.toLowerCase()); - return noProxy.split(/[\s,]+/).some(entry => { - if (!entry) { - return false; - } - let [entryHost, entryPort] = parseNoProxyEntry(entry); - entryHost = normalizeNoProxyHost(entryHost); - if (!entryHost) { - return false; - } - if (entryPort && entryPort !== port) { - return false; - } - if (entryHost.charAt(0) === '*') { - entryHost = entryHost.slice(1); - } - if (entryHost.charAt(0) === '.') { - return hostname.endsWith(entryHost); - } - return hostname === entryHost || isLoopback(hostname) && isLoopback(entryHost); - }); -} - -/** - * Calculate data maxRate - * @param {Number} [samplesCount= 10] - * @param {Number} [min= 1000] - * @returns {Function} - */ -function speedometer(samplesCount, min) { - samplesCount = samplesCount || 10; - const bytes = new Array(samplesCount); - const timestamps = new Array(samplesCount); - let head = 0; - let tail = 0; - let firstSampleTS; - min = min !== undefined ? min : 1000; - return function push(chunkLength) { - const now = Date.now(); - const startedAt = timestamps[tail]; - if (!firstSampleTS) { - firstSampleTS = now; - } - bytes[head] = chunkLength; - timestamps[head] = now; - let i = tail; - let bytesCount = 0; - while (i !== head) { - bytesCount += bytes[i++]; - i = i % samplesCount; - } - head = (head + 1) % samplesCount; - if (head === tail) { - tail = (tail + 1) % samplesCount; - } - if (now - firstSampleTS < min) { - return; - } - const passed = startedAt && now - startedAt; - return passed ? Math.round(bytesCount * 1000 / passed) : undefined; - }; -} - -/** - * Throttle decorator - * @param {Function} fn - * @param {Number} freq - * @return {Function} - */ -function throttle(fn, freq) { - let timestamp = 0; - let threshold = 1000 / freq; - let lastArgs; - let timer; - const invoke = (args, now = Date.now()) => { - timestamp = now; - lastArgs = null; - if (timer) { - clearTimeout(timer); - timer = null; - } - fn(...args); - }; - const throttled = (...args) => { - const now = Date.now(); - const passed = now - timestamp; - if (passed >= threshold) { - invoke(args, now); - } else { - lastArgs = args; - if (!timer) { - timer = setTimeout(() => { - timer = null; - invoke(lastArgs); - }, threshold - passed); - } - } - }; - const flush = () => lastArgs && invoke(lastArgs); - return [throttled, flush]; -} - -const progressEventReducer = (listener, isDownloadStream, freq = 3) => { - let bytesNotified = 0; - const _speedometer = speedometer(50, 250); - return throttle(e => { - if (!e || typeof e.loaded !== 'number') { - return; - } - const rawLoaded = e.loaded; - const total = e.lengthComputable ? e.total : undefined; - const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded; - const progressBytes = Math.max(0, loaded - bytesNotified); - const rate = _speedometer(progressBytes); - bytesNotified = Math.max(bytesNotified, loaded); - const data = { - loaded, - total, - progress: total ? loaded / total : undefined, - bytes: progressBytes, - rate: rate ? rate : undefined, - estimated: rate && total ? (total - loaded) / rate : undefined, - event: e, - lengthComputable: total != null, - [isDownloadStream ? 'download' : 'upload']: true - }; - listener(data); - }, freq); -}; -const progressEventDecorator = (total, throttled) => { - const lengthComputable = total != null; - return [loaded => throttled[0]({ - lengthComputable, - total, - loaded - }), throttled[1]]; -}; -const asyncDecorator = fn => (...args) => utils$1.asap(() => fn(...args)); - -/** - * Estimate decoded byte length of a data:// URL *without* allocating large buffers. - * - For base64: compute exact decoded size using length and padding; - * handle %XX at the character-count level (no string allocation). - * - For non-base64: compute the exact percent-decoded UTF-8 byte length. - * - * @param {string} url - * @returns {number} - */ -const isHexDigit = charCode => charCode >= 48 && charCode <= 57 || charCode >= 65 && charCode <= 70 || charCode >= 97 && charCode <= 102; -const isPercentEncodedByte = (str, i, len) => i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2)); -function estimateDataURLDecodedBytes(url) { - if (!url || typeof url !== 'string') return 0; - if (!url.startsWith('data:')) return 0; - const comma = url.indexOf(','); - if (comma < 0) return 0; - const meta = url.slice(5, comma); - const body = url.slice(comma + 1); - const isBase64 = /;base64/i.test(meta); - if (isBase64) { - let effectiveLen = body.length; - const len = body.length; // cache length - - for (let i = 0; i < len; i++) { - if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) { - const a = body.charCodeAt(i + 1); - const b = body.charCodeAt(i + 2); - const isHex = isHexDigit(a) && isHexDigit(b); - if (isHex) { - effectiveLen -= 2; - i += 2; - } - } - } - let pad = 0; - let idx = len - 1; - const tailIsPct3D = j => j >= 2 && body.charCodeAt(j - 2) === 37 && - // '%' - body.charCodeAt(j - 1) === 51 && ( - // '3' - body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd' - - if (idx >= 0) { - if (body.charCodeAt(idx) === 61 /* '=' */) { - pad++; - idx--; - } else if (tailIsPct3D(idx)) { - pad++; - idx -= 3; - } - } - if (pad === 1 && idx >= 0) { - if (body.charCodeAt(idx) === 61 /* '=' */) { - pad++; - } else if (tailIsPct3D(idx)) { - pad++; - } - } - const groups = Math.floor(effectiveLen / 4); - const bytes = groups * 3 - (pad || 0); - return bytes > 0 ? bytes : 0; - } - - // Compute UTF-8 byte length directly from UTF-16 code units without allocating - // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies). - // Valid %XX triplets count as one decoded byte; this matches the bytes that - // decodeURIComponent(body) would produce before Buffer re-encodes the string. - let bytes = 0; - for (let i = 0, len = body.length; i < len; i++) { - const c = body.charCodeAt(i); - if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) { - bytes += 1; - i += 2; - } else if (c < 0x80) { - bytes += 1; - } else if (c < 0x800) { - bytes += 2; - } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) { - const next = body.charCodeAt(i + 1); - if (next >= 0xdc00 && next <= 0xdfff) { - bytes += 4; - i++; - } else { - bytes += 3; - } - } else { - bytes += 3; - } - } - return bytes; -} - -const zlibOptions = { - flush: zlib.constants.Z_SYNC_FLUSH, - finishFlush: zlib.constants.Z_SYNC_FLUSH -}; -const brotliOptions = { - flush: zlib.constants.BROTLI_OPERATION_FLUSH, - finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH -}; -const zstdOptions = { - flush: zlib.constants.ZSTD_e_flush, - finishFlush: zlib.constants.ZSTD_e_flush -}; -const isBrotliSupported = utils$1.isFunction(zlib.createBrotliDecompress); -const isZstdSupported = utils$1.isFunction(zlib.createZstdDecompress); -const ACCEPT_ENCODING = 'gzip, compress, deflate' + (isBrotliSupported ? ', br' : ''); -const ACCEPT_ENCODING_WITH_ZSTD = ACCEPT_ENCODING + (isZstdSupported ? ', zstd' : ''); -const { - http: httpFollow, - https: httpsFollow -} = followRedirects; -const isHttps = /https:?/; -const FORM_DATA_CONTENT_HEADERS$1 = ['content-type', 'content-length']; -function setFormDataHeaders$1(headers, formHeaders, policy) { - if (policy !== 'content-only') { - headers.set(formHeaders); - return; - } - Object.entries(formHeaders).forEach(([key, val]) => { - if (FORM_DATA_CONTENT_HEADERS$1.includes(key.toLowerCase())) { - headers.set(key, val); - } - }); -} - -// Symbols used to bind a single 'error' listener to a pooled socket and track -// the request currently owning that socket across keep-alive reuse (issue #10780). -const kAxiosSocketListener = Symbol('axios.http.socketListener'); -const kAxiosCurrentReq = Symbol('axios.http.currentReq'); - -// Tags HttpsProxyAgent instances installed by setProxy() so the redirect path -// can strip them without clobbering a user-supplied agent that happens to be -// an HttpsProxyAgent. -const kAxiosInstalledTunnel = Symbol('axios.http.installedTunnel'); - -// Cache of CONNECT-tunneling agents keyed by proxy config so repeat requests -// through the same proxy reuse a single agent (and its socket pool). The -// keyspace is bounded by the set of distinct proxy configs the process uses, -// so unbounded growth is not a concern in practice. -const tunnelingAgentCache = new Map(); -const tunnelingAgentCacheUser = new WeakMap(); -// Minimum minor versions where Node's HTTP Agent supports native proxyEnv -// handling. Checking the selected agent below also covers startup modes such -// as NODE_OPTIONS=--use-env-proxy and --no-use-env-proxy precedence. -const NODE_NATIVE_ENV_PROXY_SUPPORT = { - 22: 21, - 24: 5 -}; -function isNodeNativeEnvProxySupported(nodeVersion = process.versions && process.versions.node) { - if (!nodeVersion) { - return false; - } - const [major, minor] = nodeVersion.split('.').map(part => Number(part)); - if (!Number.isInteger(major) || !Number.isInteger(minor)) { - return false; - } - if (major > 24) { - return true; - } - return NODE_NATIVE_ENV_PROXY_SUPPORT[major] != null && minor >= NODE_NATIVE_ENV_PROXY_SUPPORT[major]; -} -function isNodeEnvProxyEnabled(agent, nodeVersion = process.versions && process.versions.node) { - if (!isNodeNativeEnvProxySupported(nodeVersion)) { - return false; - } - const agentOptions = agent && agent.options; - return Boolean(agentOptions && utils$1.hasOwnProp(agentOptions, 'proxyEnv') && agentOptions.proxyEnv != null); -} -function getProxyEnvAgent(options, configHttpAgent, configHttpsAgent) { - return isHttps.test(options.protocol) ? configHttpsAgent || https.globalAgent : configHttpAgent || http.globalAgent; -} -function getTunnelingAgent(agentOptions, userHttpsAgent) { - const key = agentOptions.protocol + '//' + agentOptions.hostname + ':' + (agentOptions.port || '') + '#' + (agentOptions.auth || ''); - const cache = userHttpsAgent ? tunnelingAgentCacheUser.get(userHttpsAgent) || tunnelingAgentCacheUser.set(userHttpsAgent, new Map()).get(userHttpsAgent) : tunnelingAgentCache; - let agent = cache.get(key); - if (agent) return agent; - // Forward the user's TLS options (custom CA, rejectUnauthorized, client cert, - // etc.) into the tunneling agent so they apply to the origin TLS upgrade - // performed after CONNECT. Our proxy fields take precedence on conflict. - const merged = userHttpsAgent && userHttpsAgent.options ? { - ...userHttpsAgent.options, - ...agentOptions - } : agentOptions; - agent = new HttpsProxyAgent(merged); - if (userHttpsAgent && userHttpsAgent.options) { - const originTLSOptions = { - ...userHttpsAgent.options - }; - const callback = agent.callback; - agent.callback = function axiosTunnelingAgentCallback(req, opts) { - // HttpsProxyAgent v5 reads callback opts for the post-CONNECT origin TLS upgrade. - return callback.call(this, req, { - ...originTLSOptions, - ...opts - }); - }; - } - agent[kAxiosInstalledTunnel] = true; - cache.set(key, agent); - return agent; -} -const supportedProtocols = platform.protocols.map(protocol => { - return protocol + ':'; -}); - -// Node's WHATWG URL parser returns `username` and `password` percent-encoded. -// Decode before composing the `auth` option so credentials such as -// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the -// original value for malformed input so a bad encoding never throws. -const decodeURIComponentSafe$1 = value => { - if (!utils$1.isString(value)) { - return value; - } - try { - return decodeURIComponent(value); - } catch (error) { - return value; - } -}; -const flushOnFinish = (stream, [throttled, flush]) => { - stream.on('end', flush).on('error', flush); - return throttled; -}; -const http2Sessions = new Http2Sessions(); - -/** - * If the proxy, auth, sensitive header, or config beforeRedirects functions are defined, - * call them with the options object. - * - * @param {Object} options - The options object that was passed to the request. - * - * @returns {Object} - */ -function dispatchBeforeRedirect(options, responseDetails, requestDetails) { - if (options.beforeRedirects.proxy) { - options.beforeRedirects.proxy(options); - } - if (options.beforeRedirects.auth) { - options.beforeRedirects.auth(options); - } - if (options.beforeRedirects.sensitiveHeaders) { - options.beforeRedirects.sensitiveHeaders(options, requestDetails); - } - if (options.beforeRedirects.config) { - options.beforeRedirects.config(options, responseDetails, requestDetails); - } -} -function stripMatchingHeaders(headers, sensitiveSet) { - if (!headers) { - return; - } - Object.keys(headers).forEach(header => { - if (sensitiveSet.has(header.toLowerCase())) { - delete headers[header]; - } - }); -} -function isSameOriginRedirect(redirectOptions, requestDetails) { - if (!requestDetails) { - return false; - } - try { - return new URL(requestDetails.url).origin === new URL(redirectOptions.href).origin; - } catch (e) { - // If origin comparison fails, treat the redirect as unsafe. - return false; - } -} - -/** - * If the proxy or config afterRedirects functions are defined, call them with the options - * - * @param {http.ClientRequestArgs} options - * @param {AxiosProxyConfig} configProxy configuration from Axios options object - * @param {string} location - * - * @returns {http.ClientRequestArgs} - */ -function setProxy(options, configProxy, location, isRedirect, configHttpsAgent, configHttpAgent) { - let proxy = configProxy; - const proxyEnvAgent = getProxyEnvAgent(options, configHttpAgent, configHttpsAgent); - if (!proxy && proxy !== false && !isNodeEnvProxyEnabled(proxyEnvAgent)) { - const proxyUrl = getProxyForUrl(location); - if (proxyUrl) { - if (!shouldBypassProxy(location)) { - proxy = new URL(proxyUrl); - } - } - } - // On redirect re-invocation, strip any stale Proxy-Authorization header carried - // over from the prior request (e.g. new target no longer uses a proxy, or uses - // a different proxy). Skip on the initial request so user-supplied headers are - // preserved. Header names are case-insensitive, so remove every case variant. - if (isRedirect && options.headers) { - for (const name of Object.keys(options.headers)) { - if (name.toLowerCase() === 'proxy-authorization') { - delete options.headers[name]; - } - } - } - // Strip any tunneling agent we installed for the previous hop so a redirect - // that drops the proxy or crosses an HTTPS↔HTTP boundary doesn't reuse a - // stale one. Match on our Symbol marker so a user-supplied HttpsProxyAgent - // (which won't carry the marker) is left alone. - if (isRedirect && options.agent && options.agent[kAxiosInstalledTunnel]) { - options.agent = undefined; - } - if (proxy) { - // Read proxy fields without traversing the prototype chain. URL instances expose - // username/password/hostname/host/port/protocol via getters on URL.prototype (so - // direct reads are shielded), but plain object proxies — and the `auth` field - // (which URL does not expose) — must be guarded so a polluted Object.prototype - // (e.g. Object.prototype.auth = { username, password }) cannot inject - // attacker-controlled credentials into the Proxy-Authorization header or - // redirect proxying to an attacker-controlled host. - const isProxyURL = proxy instanceof URL; - const readProxyField = key => isProxyURL || utils$1.hasOwnProp(proxy, key) ? proxy[key] : undefined; - const proxyUsername = readProxyField('username'); - const proxyPassword = readProxyField('password'); - let proxyAuth = utils$1.hasOwnProp(proxy, 'auth') ? proxy.auth : undefined; - - // Basic proxy authorization - if (proxyUsername) { - proxyAuth = (proxyUsername || '') + ':' + (proxyPassword || ''); - } - if (proxyAuth) { - // Support proxy auth object form. Read sub-fields via own-prop checks so a - // plain object inheriting from polluted Object.prototype cannot leak creds. - const authIsObject = typeof proxyAuth === 'object'; - const authUsername = authIsObject && utils$1.hasOwnProp(proxyAuth, 'username') ? proxyAuth.username : undefined; - const authPassword = authIsObject && utils$1.hasOwnProp(proxyAuth, 'password') ? proxyAuth.password : undefined; - const validProxyAuth = Boolean(authUsername || authPassword); - if (validProxyAuth) { - proxyAuth = (authUsername || '') + ':' + (authPassword || ''); - } else if (authIsObject) { - throw new AxiosError('Invalid proxy authorization', AxiosError.ERR_BAD_OPTION, { - proxy - }); - } - } - const targetIsHttps = isHttps.test(options.protocol); - if (targetIsHttps) { - // CONNECT-tunneling path for HTTPS targets. Preserves end-to-end TLS to - // the origin so the proxy cannot inspect the URL, headers, or body — the - // behavior already promised by THREATMODEL.md (T-R9). HttpsProxyAgent - // sends Proxy-Authorization on the CONNECT request only, never on the - // wrapped TLS request, which is why we don't stamp it onto - // options.headers here. If the user already supplied an HttpsProxyAgent, - // they own tunneling end-to-end and we leave them alone; otherwise we - // install our own tunneling agent and forward their TLS options (if any) - // so a custom httpsAgent for cert pinning / rejectUnauthorized still - // applies to the origin TLS upgrade. - if (!(configHttpsAgent instanceof HttpsProxyAgent)) { - const proxyHost = readProxyField('hostname') || readProxyField('host'); - const proxyPort = readProxyField('port'); - const rawProxyProtocol = readProxyField('protocol'); - const normalizedProtocol = rawProxyProtocol ? rawProxyProtocol.includes(':') ? rawProxyProtocol : `${rawProxyProtocol}:` : 'http:'; - // Bracket IPv6 literals for URL parsing; URL.hostname strips the - // brackets again on read so the agent receives the raw form. - const proxyHostForURL = proxyHost && proxyHost.includes(':') && !proxyHost.startsWith('[') ? `[${proxyHost}]` : proxyHost; - const proxyURL = new URL(`${normalizedProtocol}//${proxyHostForURL}${proxyPort ? ':' + proxyPort : ''}`); - const agentOptions = { - protocol: proxyURL.protocol, - hostname: proxyURL.hostname.replace(/^\[|\]$/g, ''), - port: proxyURL.port, - auth: proxyAuth && typeof proxyAuth === 'string' ? proxyAuth : undefined - }; - if (proxyURL.protocol === 'https:') { - agentOptions.ALPNProtocols = ['http/1.1']; - } - const tunnelingAgent = getTunnelingAgent(agentOptions, configHttpsAgent); - // Set both: `options.agent` is consumed by the native https.request path - // (maxRedirects === 0); `options.agents.https` is consumed by - // follow-redirects, which ignores `options.agent` when `options.agents` - // is present. - options.agent = tunnelingAgent; - if (options.agents) { - options.agents.https = tunnelingAgent; - } - } - } else { - // Forward-proxy mode for plaintext HTTP targets. The request line carries - // the absolute URL and the proxy sees everything — acceptable for plain - // HTTP since the wire was already plaintext. - if (proxyAuth) { - const base64 = Buffer.from(proxyAuth, 'utf8').toString('base64'); - options.headers['Proxy-Authorization'] = 'Basic ' + base64; - } - - // Preserve a user-supplied Host header (case-insensitive) so callers can override - // the value forwarded to the proxy; otherwise default to the request URL's host. - let hasUserHostHeader = false; - for (const name of Object.keys(options.headers)) { - if (name.toLowerCase() === 'host') { - hasUserHostHeader = true; - break; - } - } - if (!hasUserHostHeader) { - options.headers.host = options.hostname + (options.port ? ':' + options.port : ''); - } - const proxyHost = readProxyField('hostname') || readProxyField('host'); - options.hostname = proxyHost; - // Replace 'host' since options is not a URL object - options.host = proxyHost; - options.port = readProxyField('port'); - options.path = location; - const proxyProtocol = readProxyField('protocol'); - if (proxyProtocol) { - options.protocol = proxyProtocol.includes(':') ? proxyProtocol : `${proxyProtocol}:`; - } - } - } - options.beforeRedirects.proxy = function beforeRedirect(redirectOptions) { - // Configure proxy for redirected request, passing the original config proxy to apply - // the exact same logic as if the redirected request was performed by axios directly. - setProxy(redirectOptions, configProxy, redirectOptions.href, true, configHttpsAgent, configHttpAgent); - }; -} -const isHttpAdapterSupported = typeof process !== 'undefined' && utils$1.kindOf(process) === 'process'; - -// temporary hotfix - -const wrapAsync = asyncExecutor => { - return new Promise((resolve, reject) => { - let onDone; - let isDone; - const done = (value, isRejected) => { - if (isDone) return; - isDone = true; - onDone && onDone(value, isRejected); - }; - const _resolve = value => { - done(value); - resolve(value); - }; - const _reject = reason => { - done(reason, true); - reject(reason); - }; - asyncExecutor(_resolve, _reject, onDoneHandler => onDone = onDoneHandler).catch(_reject); - }); -}; -const resolveFamily = ({ - address, - family -}) => { - if (!utils$1.isString(address)) { - throw TypeError('address must be a string'); - } - return { - address, - family: family || (address.indexOf('.') < 0 ? 6 : 4) - }; -}; -const buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : { - address, - family -}); -const http2Transport = { - request(options, cb) { - const authority = options.protocol + '//' + options.hostname + ':' + (options.port || (options.protocol === 'https:' ? 443 : 80)); - const { - http2Options, - headers - } = options; - const session = http2Sessions.getSession(authority, http2Options); - const { - HTTP2_HEADER_SCHEME, - HTTP2_HEADER_METHOD, - HTTP2_HEADER_PATH, - HTTP2_HEADER_STATUS - } = http2.constants; - const http2Headers = { - [HTTP2_HEADER_SCHEME]: options.protocol.replace(':', ''), - [HTTP2_HEADER_METHOD]: options.method, - [HTTP2_HEADER_PATH]: options.path - }; - utils$1.forEach(headers, (header, name) => { - name.charAt(0) !== ':' && (http2Headers[name] = header); - }); - const req = session.request(http2Headers); - req.once('response', responseHeaders => { - const response = req; //duplex - - responseHeaders = Object.assign({}, responseHeaders); - const status = responseHeaders[HTTP2_HEADER_STATUS]; - delete responseHeaders[HTTP2_HEADER_STATUS]; - response.headers = responseHeaders; - response.statusCode = +status; - cb(response); - }); - return req; - } -}; - -/*eslint consistent-return:0*/ -var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) { - return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) { - // Read config pollution-safely: own properties and members inherited from - // a non-Object.prototype source (e.g. an Object.create(defaults) template) - // are honored, but values injected onto a polluted Object.prototype are - // ignored. All behavior-affecting reads in this adapter go through own() - // so the protection boundary stays consistent. - const own = key => utils$1.getSafeProp(config, key); - const transitional = own('transitional') || transitionalDefaults; - let data = own('data'); - let lookup = own('lookup'); - let family = own('family'); - let httpVersion = own('httpVersion'); - if (httpVersion === undefined) httpVersion = 1; - let http2Options = own('http2Options'); - const httpAgent = own('httpAgent'); - const httpsAgent = own('httpsAgent'); - const configProxy = own('proxy'); - const responseType = own('responseType'); - const responseEncoding = own('responseEncoding'); - const socketPath = own('socketPath'); - const method = own('method').toUpperCase(); - const maxRedirects = own('maxRedirects'); - const maxBodyLength = own('maxBodyLength'); - const maxContentLength = own('maxContentLength'); - const decompress = own('decompress'); - let isDone; - let rejected = false; - let req; - let connectPhaseTimer; - httpVersion = +httpVersion; - if (Number.isNaN(httpVersion)) { - throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`); - } - if (httpVersion !== 1 && httpVersion !== 2) { - throw TypeError(`Unsupported protocol version '${httpVersion}'`); - } - const isHttp2 = httpVersion === 2; - if (lookup) { - const _lookup = callbackify(lookup, value => utils$1.isArray(value) ? value : [value]); - // hotfix to support opt.all option which is required for node 20.x - lookup = (hostname, opt, cb) => { - _lookup(hostname, opt, (err, arg0, arg1) => { - if (err) { - return cb(err); - } - const addresses = utils$1.isArray(arg0) ? arg0.map(addr => buildAddressEntry(addr)) : [buildAddressEntry(arg0, arg1)]; - opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family); - }); - }; - } - const abortEmitter = new events.EventEmitter(); - function abort(reason) { - try { - abortEmitter.emit('abort', !reason || reason.type ? new CanceledError(null, config, req) : reason); - } catch (err) { - // ignore emit errors - } - } - function clearConnectPhaseTimer() { - if (connectPhaseTimer) { - clearTimeout(connectPhaseTimer); - connectPhaseTimer = null; - } - } - function createTimeoutError() { - const configTimeout = own('timeout'); - let timeoutErrorMessage = configTimeout ? 'timeout of ' + configTimeout + 'ms exceeded' : 'timeout exceeded'; - const configTimeoutErrorMessage = own('timeoutErrorMessage'); - if (configTimeoutErrorMessage) { - timeoutErrorMessage = configTimeoutErrorMessage; - } - return new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, req); - } - abortEmitter.once('abort', reject); - const onFinished = () => { - clearConnectPhaseTimer(); - if (config.cancelToken) { - config.cancelToken.unsubscribe(abort); - } - if (config.signal) { - config.signal.removeEventListener('abort', abort); - } - abortEmitter.removeAllListeners(); - }; - if (config.cancelToken || config.signal) { - config.cancelToken && config.cancelToken.subscribe(abort); - if (config.signal) { - config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort); - } - } - onDone((response, isRejected) => { - isDone = true; - clearConnectPhaseTimer(); - if (isRejected) { - rejected = true; - onFinished(); - return; - } - const { - data - } = response; - if (data instanceof stream.Readable || data instanceof stream.Duplex) { - const offListeners = stream.finished(data, () => { - offListeners(); - onFinished(); - }); - } else { - onFinished(); - } - }); - - // Parse url - const fullPath = buildFullPath(own('baseURL'), own('url'), own('allowAbsoluteUrls'), config); - // Unix-socket requests (own socketPath) commonly pass a path-only url - // like '/foo'; supply a synthetic base so new URL() can still parse it. - // Use the own-property value (not config.socketPath) so a polluted - // prototype cannot influence URL base selection. - const urlBase = socketPath ? 'http://localhost' : platform.hasBrowserEnv ? platform.origin : undefined; - const parsed = new URL(fullPath, urlBase); - const protocol = parsed.protocol || supportedProtocols[0]; - if (protocol === 'data:') { - // Apply the same semantics as HTTP: only enforce if a finite, non-negative cap is set. - if (maxContentLength > -1) { - // Use the exact string passed to fromDataURI (the configured url); fall back to fullPath if needed. - const dataUrl = String(own('url') || fullPath || ''); - const estimated = estimateDataURLDecodedBytes(dataUrl); - if (estimated > maxContentLength) { - return reject(new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config)); - } - } - let convertedData; - if (method !== 'GET') { - return settle(resolve, reject, { - status: 405, - statusText: 'method not allowed', - headers: {}, - config - }); - } - try { - convertedData = fromDataURI(own('url'), responseType === 'blob', { - Blob: config.env && config.env.Blob - }); - } catch (err) { - throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config); - } - if (responseType === 'text') { - convertedData = convertedData.toString(responseEncoding); - if (!responseEncoding || responseEncoding === 'utf8') { - convertedData = utils$1.stripBOM(convertedData); - } - } else if (responseType === 'stream') { - convertedData = stream.Readable.from(convertedData); - } - return settle(resolve, reject, { - data: convertedData, - status: 200, - statusText: 'OK', - headers: new AxiosHeaders(), - config - }); - } - if (supportedProtocols.indexOf(protocol) === -1) { - return reject(new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_BAD_REQUEST, config)); - } - const headers = AxiosHeaders.from(config.headers).normalize(); - - // Set User-Agent (required by some servers) - // See https://github.com/axios/axios/issues/69 - // User-Agent is specified; handle case where no UA header is desired - // Only set header if it hasn't been set in config - headers.set('User-Agent', 'axios/' + VERSION, false); - const { - onUploadProgress, - onDownloadProgress - } = config; - const maxRate = config.maxRate; - let maxUploadRate = undefined; - let maxDownloadRate = undefined; - - // support for spec compliant FormData objects - if (utils$1.isSpecCompliantForm(data)) { - const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i); - data = formDataToStream(data, formHeaders => { - headers.set(formHeaders); - }, { - tag: `axios-${VERSION}-boundary`, - boundary: userBoundary && userBoundary[1] || undefined - }); - // support for https://www.npmjs.com/package/form-data api - } else if (utils$1.isFormData(data) && utils$1.isFunction(data.getHeaders) && data.getHeaders !== Object.prototype.getHeaders) { - setFormDataHeaders$1(headers, data.getHeaders(), own('formDataHeaderPolicy')); - if (!headers.hasContentLength()) { - try { - const knownLength = await util.promisify(data.getLength).call(data); - Number.isFinite(knownLength) && knownLength >= 0 && headers.setContentLength(knownLength); - /*eslint no-empty:0*/ - } catch (e) {} - } - } else if (utils$1.isBlob(data) || utils$1.isFile(data)) { - data.size && headers.setContentType(data.type || 'application/octet-stream'); - headers.setContentLength(data.size || 0); - data = stream.Readable.from(readBlob(data)); - } else if (data && !utils$1.isStream(data)) { - if (Buffer.isBuffer(data)) ; else if (utils$1.isArrayBuffer(data)) { - data = Buffer.from(new Uint8Array(data)); - } else if (utils$1.isString(data)) { - data = Buffer.from(data, 'utf-8'); - } else { - return reject(new AxiosError('Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream', AxiosError.ERR_BAD_REQUEST, config)); - } - - // Add Content-Length header if data exists - headers.setContentLength(data.length, false); - if (maxBodyLength > -1 && data.length > maxBodyLength) { - return reject(new AxiosError('Request body larger than maxBodyLength limit', AxiosError.ERR_BAD_REQUEST, config)); - } - } - const contentLength = utils$1.toFiniteNumber(headers.getContentLength()); - if (utils$1.isArray(maxRate)) { - maxUploadRate = maxRate[0]; - maxDownloadRate = maxRate[1]; - } else { - maxUploadRate = maxDownloadRate = maxRate; - } - if (data && (onUploadProgress || maxUploadRate)) { - if (!utils$1.isStream(data)) { - data = stream.Readable.from(data, { - objectMode: false - }); - } - data = stream.pipeline([data, new AxiosTransformStream({ - maxRate: utils$1.toFiniteNumber(maxUploadRate) - })], utils$1.noop); - onUploadProgress && data.on('progress', flushOnFinish(data, progressEventDecorator(contentLength, progressEventReducer(asyncDecorator(onUploadProgress), false, 3)))); - } - - // HTTP basic authentication - let auth = undefined; - const configAuth = own('auth'); - if (configAuth) { - const username = utils$1.getSafeProp(configAuth, 'username') || ''; - const password = utils$1.getSafeProp(configAuth, 'password') || ''; - auth = username + ':' + password; - } - if (!auth && (parsed.username || parsed.password)) { - const urlUsername = decodeURIComponentSafe$1(parsed.username); - const urlPassword = decodeURIComponentSafe$1(parsed.password); - auth = urlUsername + ':' + urlPassword; - } - auth && headers.delete('authorization'); - let path$1; - try { - path$1 = buildURL(parsed.pathname + parsed.search, own('params'), own('paramsSerializer')).replace(/^\?/, ''); - } catch (err) { - return reject(AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config, null, null, { - url: own('url'), - exists: true - })); - } - headers.set('Accept-Encoding', utils$1.hasOwnProp(transitional, 'advertiseZstdAcceptEncoding') && transitional.advertiseZstdAcceptEncoding === true ? ACCEPT_ENCODING_WITH_ZSTD : ACCEPT_ENCODING, false); - - // Null-prototype to block prototype pollution gadgets on properties read - // directly by Node's http.request (e.g. insecureHTTPParser, lookup). - const options = Object.assign(Object.create(null), { - path: path$1, - method: method, - headers: toByteStringHeaderObject(headers), - agents: { - http: httpAgent, - https: httpsAgent - }, - auth, - protocol, - family, - beforeRedirect: dispatchBeforeRedirect, - beforeRedirects: Object.create(null), - http2Options - }); - - // cacheable-lookup integration hotfix - !utils$1.isUndefined(lookup) && (options.lookup = lookup); - if (socketPath) { - if (typeof socketPath !== 'string') { - return reject(new AxiosError('socketPath must be a string', AxiosError.ERR_BAD_OPTION_VALUE, config)); - } - const allowedSocketPaths = own('allowedSocketPaths'); - if (allowedSocketPaths != null) { - const allowed = Array.isArray(allowedSocketPaths) ? allowedSocketPaths : [allowedSocketPaths]; - const resolvedSocket = path.resolve(socketPath); - const isAllowed = allowed.some(entry => typeof entry === 'string' && path.resolve(entry) === resolvedSocket); - if (!isAllowed) { - return reject(new AxiosError(`socketPath "${socketPath}" is not permitted by allowedSocketPaths`, AxiosError.ERR_BAD_OPTION_VALUE, config)); - } - } - options.socketPath = socketPath; - } else { - options.hostname = parsed.hostname.startsWith('[') ? parsed.hostname.slice(1, -1) : parsed.hostname; - options.port = parsed.port; - setProxy(options, configProxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path, false, httpsAgent, httpAgent); - } - let transport; - let isNativeTransport = false; - // True only for the follow-redirects transport, which applies - // options.maxBodyLength itself. Every other transport (http2, native - // http/https, a user-supplied custom transport) needs the explicit - // byte-counting pipeline below to enforce maxBodyLength on streamed uploads. - let transportEnforcesMaxBodyLength = false; - const isHttpsRequest = isHttps.test(options.protocol); - // Don't clobber a CONNECT-tunneling agent installed by setProxy() for an - // HTTPS target. - if (options.agent == null) { - options.agent = isHttpsRequest ? httpsAgent : httpAgent; - } - if (isHttp2) { - transport = http2Transport; - } else { - const configTransport = own('transport'); - if (configTransport) { - transport = configTransport; - } else if (maxRedirects === 0) { - transport = isHttpsRequest ? https : http; - isNativeTransport = true; - } else { - transportEnforcesMaxBodyLength = true; - options.sensitiveHeaders = []; - if (maxRedirects) { - options.maxRedirects = maxRedirects; - } - const configBeforeRedirect = own('beforeRedirect'); - if (configBeforeRedirect) { - options.beforeRedirects.config = configBeforeRedirect; - } - if (auth) { - // Restore HTTP Basic credentials on same-origin redirects only. - // follow-redirects >= 1.15.8 strips Authorization on every redirect (see #6929); - // cross-origin stripping is the documented mitigation for T-R2 in THREATMODEL.md - // and is preserved by deliberately not restoring on origin change. - const requestOrigin = parsed.origin; - const authToRestore = auth; - options.beforeRedirects.auth = function beforeRedirectAuth(redirectOptions) { - try { - if (new URL(redirectOptions.href).origin === requestOrigin) { - redirectOptions.auth = authToRestore; - } - } catch (e) { - // ignore malformed URL: leaving auth stripped is fail-safe - } - }; - } - const sensitiveHeaders = own('sensitiveHeaders'); - if (sensitiveHeaders != null) { - if (!utils$1.isArray(sensitiveHeaders)) { - return reject(new AxiosError('sensitiveHeaders must be an array of strings', AxiosError.ERR_BAD_OPTION_VALUE, config)); - } - const sensitiveSet = new Set(); - for (const header of sensitiveHeaders) { - if (!utils$1.isString(header)) { - return reject(new AxiosError('sensitiveHeaders must be an array of strings', AxiosError.ERR_BAD_OPTION_VALUE, config)); - } - sensitiveSet.add(header.toLowerCase()); - } - if (sensitiveSet.size) { - options.sensitiveHeaders = Array.from(sensitiveSet); - options.beforeRedirects.sensitiveHeaders = function beforeRedirectSensitiveHeaders(redirectOptions, requestDetails) { - if (!isSameOriginRedirect(redirectOptions, requestDetails)) { - stripMatchingHeaders(redirectOptions.headers, sensitiveSet); - } - }; - } - } - transport = isHttpsRequest ? httpsFollow : httpFollow; - } - } - - // Set an explicit maxBodyLength option for transports that inspect it. - // When maxBodyLength is -1 (default/unlimited), use Infinity so - // follow-redirects does not fall back to its own 10MB default. - if (maxBodyLength > -1) { - options.maxBodyLength = maxBodyLength; - } else { - options.maxBodyLength = Infinity; - } - - // Always set an explicit own value so a polluted - // Object.prototype.insecureHTTPParser cannot enable the lenient parser - // through Node's internal options copy - options.insecureHTTPParser = Boolean(own('insecureHTTPParser')); - - // Create the request - req = transport.request(options, function handleResponse(res) { - clearConnectPhaseTimer(); - if (req.destroyed) return; - const streams = [res]; - const responseLength = utils$1.toFiniteNumber(res.headers['content-length']); - if (onDownloadProgress || maxDownloadRate) { - const transformStream = new AxiosTransformStream({ - maxRate: utils$1.toFiniteNumber(maxDownloadRate) - }); - onDownloadProgress && transformStream.on('progress', flushOnFinish(transformStream, progressEventDecorator(responseLength, progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)))); - streams.push(transformStream); - } - - // decompress the response body transparently if required - let responseStream = res; - - // return the last request in case of redirects - const lastRequest = res.req || req; - - // if decompress disabled we should not decompress - if (decompress !== false && res.headers['content-encoding']) { - // if no content, but headers still say that it is encoded, - // remove the header not confuse downstream operations - if (method === 'HEAD' || res.statusCode === 204) { - delete res.headers['content-encoding']; - } - switch ((res.headers['content-encoding'] || '').toLowerCase()) { - /*eslint default-case:0*/ - case 'gzip': - case 'x-gzip': - case 'compress': - case 'x-compress': - // add the unzipper to the body stream processing pipeline - streams.push(zlib.createUnzip(zlibOptions)); - - // remove the content-encoding in order to not confuse downstream operations - delete res.headers['content-encoding']; - break; - case 'deflate': - streams.push(new ZlibHeaderTransformStream()); - - // add the unzipper to the body stream processing pipeline - streams.push(zlib.createUnzip(zlibOptions)); - - // remove the content-encoding in order to not confuse downstream operations - delete res.headers['content-encoding']; - break; - case 'br': - if (isBrotliSupported) { - streams.push(zlib.createBrotliDecompress(brotliOptions)); - delete res.headers['content-encoding']; - } - break; - case 'zstd': - if (isZstdSupported) { - streams.push(zlib.createZstdDecompress(zstdOptions)); - delete res.headers['content-encoding']; - } - break; - } - } - responseStream = streams.length > 1 ? stream.pipeline(streams, utils$1.noop) : streams[0]; - const response = { - status: res.statusCode, - statusText: res.statusMessage, - headers: new AxiosHeaders(res.headers), - config, - request: lastRequest - }; - if (responseType === 'stream') { - // Enforce maxContentLength on streamed responses; previously this - // was applied only to buffered responses. - if (maxContentLength > -1) { - const limit = maxContentLength; - const source = responseStream; - async function* enforceMaxContentLength() { - let totalResponseBytes = 0; - for await (const chunk of source) { - totalResponseBytes += chunk.length; - if (totalResponseBytes > limit) { - throw new AxiosError('maxContentLength size of ' + limit + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, lastRequest); - } - yield chunk; - } - } - responseStream = stream.Readable.from(enforceMaxContentLength(), { - objectMode: false - }); - } - response.data = responseStream; - settle(resolve, reject, response); - } else { - const responseBuffer = []; - let totalResponseBytes = 0; - responseStream.on('data', function handleStreamData(chunk) { - responseBuffer.push(chunk); - totalResponseBytes += chunk.length; - - // make sure the content length is not over the maxContentLength if specified - if (maxContentLength > -1 && totalResponseBytes > maxContentLength) { - // stream.destroy() emit aborted event before calling reject() on Node.js v16 - rejected = true; - responseStream.destroy(); - abort(new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, lastRequest)); - } - }); - responseStream.on('aborted', function handlerStreamAborted() { - if (rejected) { - return; - } - const err = new AxiosError('stream has been aborted', AxiosError.ERR_BAD_RESPONSE, config, lastRequest, response); - responseStream.destroy(err); - reject(err); - }); - responseStream.on('error', function handleStreamError(err) { - if (rejected) return; - reject(AxiosError.from(err, null, config, lastRequest, response)); - }); - responseStream.on('end', function handleStreamEnd() { - try { - let responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer); - if (responseType !== 'arraybuffer') { - responseData = responseData.toString(responseEncoding); - if (!responseEncoding || responseEncoding === 'utf8') { - responseData = utils$1.stripBOM(responseData); - } - } - response.data = responseData; - } catch (err) { - return reject(AxiosError.from(err, null, config, response.request, response)); - } - settle(resolve, reject, response); - }); - } - abortEmitter.once('abort', err => { - if (!responseStream.destroyed) { - responseStream.emit('error', err); - responseStream.destroy(); - } - }); - }); - abortEmitter.once('abort', err => { - if (req.close) { - req.close(); - } else { - req.destroy(err); - } - }); - - // Handle errors - req.on('error', function handleRequestError(err) { - reject(AxiosError.from(err, null, config, req)); - }); - - // set tcp keep alive to prevent drop connection by peer - // Track every socket bound to this outer RedirectableRequest so a single - // 'close' listener can release ownership on all of them. follow-redirects - // re-emits the 'socket' event for each hop's native request onto the same - // outer request, so attaching per-request listeners inside this handler - // would accumulate across hops and trigger MaxListenersExceededWarning at - // >= 11 redirects. Clearing only the last-bound socket would leave stale - // kAxiosCurrentReq refs on earlier hop sockets returned to the keep-alive - // pool, causing an idle-pool 'error' to be attributed to a closed req. - const boundSockets = new Set(); - req.on('socket', function handleRequestSocket(socket) { - // default interval of sending ack packet is 1 minute - // proxy agents (e.g. agent-base) may return a generic Duplex stream - // that doesn't have setKeepAlive, so guard before calling - if (typeof socket.setKeepAlive === 'function') { - socket.setKeepAlive(true, 1000 * 60); - } - - // Install a single 'error' listener per socket (not per request) to avoid - // accumulating listeners on pooled keep-alive sockets that get reassigned - // to new requests before the previous request's 'close' fires (issue #10780). - // The listener is bound to the socket's currently-active request via a - // symbol, which is swapped as the socket is reassigned. - if (!socket[kAxiosSocketListener]) { - socket.on('error', function handleSocketError(err) { - const current = socket[kAxiosCurrentReq]; - if (current && !current.destroyed) { - current.destroy(err); - } - }); - socket[kAxiosSocketListener] = true; - } - socket[kAxiosCurrentReq] = req; - boundSockets.add(socket); - }); - req.once('close', function clearCurrentReq() { - clearConnectPhaseTimer(); - for (const socket of boundSockets) { - if (socket[kAxiosCurrentReq] === req) { - socket[kAxiosCurrentReq] = null; - } - } - boundSockets.clear(); - }); - - // Handle request timeout - if (own('timeout')) { - // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types. - const timeout = parseInt(own('timeout'), 10); - if (Number.isNaN(timeout)) { - abort(new AxiosError('error trying to parse `config.timeout` to int', AxiosError.ERR_BAD_OPTION_VALUE, config, req)); - return; - } - const handleTimeout = function handleTimeout() { - if (isDone) return; - abort(createTimeoutError()); - }; - if (isNativeTransport && timeout > 0) { - // Native ClientRequest#setTimeout starts from the socket lifecycle and - // may not fire while TCP connect is still pending. Mirror the - // follow-redirects wall-clock timer for the maxRedirects === 0 path. - connectPhaseTimer = setTimeout(handleTimeout, timeout); - } - - // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system. - // And timer callback will be fired, and abort() will be invoked before connection, then get "socket hang up" and code ECONNRESET. - // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up. - // And then these socket which be hang up will devouring CPU little by little. - // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect. - req.setTimeout(timeout, handleTimeout); - } else { - // explicitly reset the socket timeout value for a possible `keep-alive` request - req.setTimeout(0); - } - - // Send the request - if (utils$1.isStream(data)) { - let ended = false; - let errored = false; - data.on('end', () => { - ended = true; - }); - data.once('error', err => { - errored = true; - req.destroy(err); - }); - data.on('close', () => { - if (!ended && !errored) { - abort(new CanceledError('Request stream has been aborted', config, req)); - } - }); - - // Enforce maxBodyLength for streamed uploads on every transport that - // does not apply options.maxBodyLength itself (native http/https, http2, - // and user-supplied custom transports). The follow-redirects transport - // enforces it on the redirected HTTP/1 path. - let uploadStream = data; - if (maxBodyLength > -1 && !transportEnforcesMaxBodyLength) { - const limit = maxBodyLength; - let bytesSent = 0; - uploadStream = stream.pipeline([data, new stream.Transform({ - transform(chunk, _enc, cb) { - bytesSent += chunk.length; - if (bytesSent > limit) { - return cb(new AxiosError('Request body larger than maxBodyLength limit', AxiosError.ERR_BAD_REQUEST, config, req)); - } - cb(null, chunk); - } - })], utils$1.noop); - uploadStream.on('error', err => { - if (!req.destroyed) req.destroy(err); - }); - } - uploadStream.pipe(req); - } else { - data && req.write(data); - req.end(); - } - }); -}; - -var isURLSameOrigin = platform.hasStandardBrowserEnv ? ((origin, isMSIE) => url => { - url = new URL(url, platform.origin); - return origin.protocol === url.protocol && origin.host === url.host && (isMSIE || origin.port === url.port); -})(new URL(platform.origin), platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)) : () => true; - -var cookies = platform.hasStandardBrowserEnv ? -// Standard browser envs support document.cookie -{ - write(name, value, expires, path, domain, secure, sameSite) { - if (typeof document === 'undefined') return; - const cookie = [`${name}=${encodeURIComponent(value)}`]; - if (utils$1.isNumber(expires)) { - cookie.push(`expires=${new Date(expires).toUTCString()}`); - } - if (utils$1.isString(path)) { - cookie.push(`path=${path}`); - } - if (utils$1.isString(domain)) { - cookie.push(`domain=${domain}`); - } - if (secure === true) { - cookie.push('secure'); - } - if (utils$1.isString(sameSite)) { - cookie.push(`SameSite=${sameSite}`); - } - document.cookie = cookie.join('; '); - }, - read(name) { - if (typeof document === 'undefined') return null; - // Match name=value by splitting on the semicolon separator instead of building a - // RegExp from `name` — interpolating an unescaped string into a RegExp would let - // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or - // match the wrong cookie. Browsers may serialize cookie pairs as either ";" or - // "; ", so ignore optional whitespace before each cookie name. - const cookies = document.cookie.split(';'); - for (let i = 0; i < cookies.length; i++) { - const cookie = cookies[i].replace(/^\s+/, ''); - const eq = cookie.indexOf('='); - if (eq !== -1 && cookie.slice(0, eq) === name) { - try { - return decodeURIComponent(cookie.slice(eq + 1)); - } catch (e) { - return cookie.slice(eq + 1); - } - } - } - return null; - }, - remove(name) { - this.write(name, '', Date.now() - 86400000, '/'); - } -} : -// Non-standard browser env (web workers, react-native) lack needed support. -{ - write() {}, - read() { - return null; - }, - remove() {} -}; - -const headersToObject = thing => thing instanceof AxiosHeaders ? { - ...thing -} : thing; - -/** - * Config-specific merge-function which creates a new config-object - * by merging two configuration objects together. - * - * @param {Object} config1 - * @param {Object} config2 - * - * @returns {Object} New object resulting from merging config2 to config1 - */ -function mergeConfig(config1, config2) { - // eslint-disable-next-line no-param-reassign - config1 = config1 || {}; - config2 = config2 || {}; - - // Use a null-prototype object so that downstream reads such as `config.auth` - // or `config.baseURL` cannot inherit polluted values from Object.prototype. - // `hasOwnProperty` is restored as a non-enumerable own slot to preserve - // ergonomics for user code that relies on it. - const config = Object.create(null); - Object.defineProperty(config, 'hasOwnProperty', { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: Object.prototype.hasOwnProperty, - enumerable: false, - writable: true, - configurable: true - }); - function getMergedValue(target, source, prop, caseless) { - if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) { - return utils$1.merge.call({ - caseless - }, target, source); - } else if (utils$1.isPlainObject(source)) { - return utils$1.merge({}, source); - } else if (utils$1.isArray(source)) { - return source.slice(); - } - return source; - } - function mergeDeepProperties(a, b, prop, caseless) { - if (!utils$1.isUndefined(b)) { - return getMergedValue(a, b, prop, caseless); - } else if (!utils$1.isUndefined(a)) { - return getMergedValue(undefined, a, prop, caseless); - } - } - - // eslint-disable-next-line consistent-return - function valueFromConfig2(a, b) { - if (!utils$1.isUndefined(b)) { - return getMergedValue(undefined, b); - } - } - - // eslint-disable-next-line consistent-return - function defaultToConfig2(a, b) { - if (!utils$1.isUndefined(b)) { - return getMergedValue(undefined, b); - } else if (!utils$1.isUndefined(a)) { - return getMergedValue(undefined, a); - } - } - function getMergedTransitionalOption(prop) { - const transitional2 = utils$1.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined; - if (!utils$1.isUndefined(transitional2)) { - if (utils$1.isPlainObject(transitional2)) { - if (utils$1.hasOwnProp(transitional2, prop)) { - return transitional2[prop]; - } - } else { - return undefined; - } - } - const transitional1 = utils$1.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined; - if (utils$1.isPlainObject(transitional1) && utils$1.hasOwnProp(transitional1, prop)) { - return transitional1[prop]; - } - return undefined; - } - - // eslint-disable-next-line consistent-return - function mergeDirectKeys(a, b, prop) { - if (utils$1.hasOwnProp(config2, prop)) { - return getMergedValue(a, b); - } else if (utils$1.hasOwnProp(config1, prop)) { - return getMergedValue(undefined, a); - } - } - const mergeMap = { - url: valueFromConfig2, - method: valueFromConfig2, - data: valueFromConfig2, - baseURL: defaultToConfig2, - transformRequest: defaultToConfig2, - transformResponse: defaultToConfig2, - paramsSerializer: defaultToConfig2, - timeout: defaultToConfig2, - timeoutMessage: defaultToConfig2, - withCredentials: defaultToConfig2, - withXSRFToken: defaultToConfig2, - adapter: defaultToConfig2, - responseType: defaultToConfig2, - xsrfCookieName: defaultToConfig2, - xsrfHeaderName: defaultToConfig2, - onUploadProgress: defaultToConfig2, - onDownloadProgress: defaultToConfig2, - decompress: defaultToConfig2, - maxContentLength: defaultToConfig2, - maxBodyLength: defaultToConfig2, - beforeRedirect: defaultToConfig2, - transport: defaultToConfig2, - httpAgent: defaultToConfig2, - httpsAgent: defaultToConfig2, - cancelToken: defaultToConfig2, - socketPath: defaultToConfig2, - allowedSocketPaths: defaultToConfig2, - responseEncoding: defaultToConfig2, - validateStatus: mergeDirectKeys, - headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true) - }; - utils$1.forEach(Object.keys({ - ...config1, - ...config2 - }), function computeConfigValue(prop) { - if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return; - const merge = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties; - const a = utils$1.hasOwnProp(config1, prop) ? config1[prop] : undefined; - const b = utils$1.hasOwnProp(config2, prop) ? config2[prop] : undefined; - const configValue = merge(a, b, prop); - utils$1.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue); - }); - if (utils$1.hasOwnProp(config2, 'validateStatus') && utils$1.isUndefined(config2.validateStatus) && getMergedTransitionalOption('validateStatusUndefinedResolves') === false) { - if (utils$1.hasOwnProp(config1, 'validateStatus')) { - config.validateStatus = getMergedValue(undefined, config1.validateStatus); - } else { - delete config.validateStatus; - } - } - return config; -} - -const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length']; -function setFormDataHeaders(headers, formHeaders, policy) { - if (policy !== 'content-only') { - headers.set(formHeaders); - return; - } - Object.entries(formHeaders || {}).forEach(([key, val]) => { - if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) { - headers.set(key, val); - } - }); -} - -/** - * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). - * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. - * - * @param {string} str The string to encode - * - * @returns {string} UTF-8 bytes as a Latin-1 string - */ -const encodeUTF8$1 = str => encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => String.fromCharCode(parseInt(hex, 16))); -function resolveConfig(config) { - const newConfig = mergeConfig({}, config); - - // Read only own properties to prevent prototype pollution gadgets - // (e.g. Object.prototype.baseURL = 'https://evil.com'). - const own = key => utils$1.hasOwnProp(newConfig, key) ? newConfig[key] : undefined; - const data = own('data'); - let withXSRFToken = own('withXSRFToken'); - const xsrfHeaderName = own('xsrfHeaderName'); - const xsrfCookieName = own('xsrfCookieName'); - let headers = own('headers'); - const auth = own('auth'); - const baseURL = own('baseURL'); - const allowAbsoluteUrls = own('allowAbsoluteUrls'); - const url = own('url'); - newConfig.headers = headers = AxiosHeaders.from(headers); - newConfig.url = buildURL(buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig), own('params'), own('paramsSerializer')); - - // HTTP basic authentication - if (auth) { - const username = utils$1.getSafeProp(auth, 'username') || ''; - const password = utils$1.getSafeProp(auth, 'password') || ''; - try { - headers.set('Authorization', 'Basic ' + btoa(username + ':' + (password ? encodeUTF8$1(password) : ''))); - } catch (e) { - throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config); - } - } - if (utils$1.isFormData(data)) { - if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv || utils$1.isReactNative(data)) { - headers.setContentType(undefined); // browser/web worker/RN handles it - } else if (utils$1.isFunction(data.getHeaders)) { - // Node.js FormData (like form-data package) - setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy')); - } - } - - // Add xsrf header - // This is only done if running in a standard browser environment. - // Specifically not if we're in a web worker, or react-native. - - if (platform.hasStandardBrowserEnv) { - if (utils$1.isFunction(withXSRFToken)) { - withXSRFToken = withXSRFToken(newConfig); - } - - // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1) - // and misconfigurations (e.g. "false") from short-circuiting the same-origin check and leaking - // the XSRF token cross-origin. - const shouldSendXSRF = withXSRFToken === true || withXSRFToken == null && isURLSameOrigin(newConfig.url); - if (shouldSendXSRF) { - const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName); - if (xsrfValue) { - headers.set(xsrfHeaderName, xsrfValue); - } - } - } - return newConfig; -} - -const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; -var xhrAdapter = isXHRAdapterSupported && function (config) { - return new Promise(function dispatchXhrRequest(resolve, reject) { - const _config = resolveConfig(config); - let requestData = _config.data; - const requestHeaders = AxiosHeaders.from(_config.headers).normalize(); - let { - responseType, - onUploadProgress, - onDownloadProgress - } = _config; - let onCanceled; - let uploadThrottled, downloadThrottled; - let flushUpload, flushDownload; - function done() { - flushUpload && flushUpload(); // flush events - flushDownload && flushDownload(); // flush events - - _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled); - _config.signal && _config.signal.removeEventListener('abort', onCanceled); - } - let request = new XMLHttpRequest(); - request.open(_config.method.toUpperCase(), _config.url, true); - - // Set the request timeout in MS - request.timeout = _config.timeout; - function onloadend() { - if (!request) { - return; - } - // Prepare the response - const responseHeaders = AxiosHeaders.from('getAllResponseHeaders' in request && request.getAllResponseHeaders()); - const responseData = !responseType || responseType === 'text' || responseType === 'json' ? request.responseText : request.response; - const response = { - data: responseData, - status: request.status, - statusText: request.statusText, - headers: responseHeaders, - config, - request - }; - settle(function _resolve(value) { - resolve(value); - done(); - }, function _reject(err) { - reject(err); - done(); - }, response); - - // Clean up request - request = null; - } - if ('onloadend' in request) { - // Use onloadend if available - request.onloadend = onloadend; - } else { - // Listen for ready state to emulate onloadend - request.onreadystatechange = function handleLoad() { - if (!request || request.readyState !== 4) { - return; - } - - // The request errored out and we didn't get a response, this will be - // handled by onerror instead - // With one exception: request that using file: protocol, most browsers - // will return status as 0 even though it's a successful request - if (request.status === 0 && !(request.responseURL && request.responseURL.startsWith('file:'))) { - return; - } - // readystate handler is calling before onerror or ontimeout handlers, - // so we should call onloadend on the next 'tick' - setTimeout(onloadend); - }; - } - - // Handle browser request cancellation (as opposed to a manual cancellation) - request.onabort = function handleAbort() { - if (!request) { - return; - } - reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request)); - done(); - - // Clean up request - request = null; - }; - - // Handle low level network errors - request.onerror = function handleError(event) { - // Browsers deliver a ProgressEvent in XHR onerror - // (message may be empty; when present, surface it) - // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event - const msg = event && event.message ? event.message : 'Network Error'; - const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request); - // attach the underlying event for consumers who want details - err.event = event || null; - reject(err); - done(); - request = null; - }; - - // Handle timeout - request.ontimeout = function handleTimeout() { - let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded'; - const transitional = _config.transitional || transitionalDefaults; - if (_config.timeoutErrorMessage) { - timeoutErrorMessage = _config.timeoutErrorMessage; - } - reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, request)); - done(); - - // Clean up request - request = null; - }; - - // Remove Content-Type if data is undefined - requestData === undefined && requestHeaders.setContentType(null); - - // Add headers to the request - if ('setRequestHeader' in request) { - utils$1.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) { - request.setRequestHeader(key, val); - }); - } - - // Add withCredentials to request if needed - if (!utils$1.isUndefined(_config.withCredentials)) { - request.withCredentials = !!_config.withCredentials; - } - - // Add responseType to request if needed - if (responseType && responseType !== 'json') { - request.responseType = _config.responseType; - } - - // Handle progress if needed - if (onDownloadProgress) { - [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true); - request.addEventListener('progress', downloadThrottled); - } - - // Not all browsers support upload events - if (onUploadProgress && request.upload) { - [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress); - request.upload.addEventListener('progress', uploadThrottled); - request.upload.addEventListener('loadend', flushUpload); - } - if (_config.cancelToken || _config.signal) { - // Handle cancellation - // eslint-disable-next-line func-names - onCanceled = cancel => { - if (!request) { - return; - } - reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel); - request.abort(); - done(); - request = null; - }; - _config.cancelToken && _config.cancelToken.subscribe(onCanceled); - if (_config.signal) { - _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled); - } - } - const protocol = parseProtocol(_config.url); - if (protocol && !platform.protocols.includes(protocol)) { - reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config)); - done(); - return; - } - - // Send the request - request.send(requestData || null); - }); -}; - -const composeSignals = (signals, timeout) => { - signals = signals ? signals.filter(Boolean) : []; - if (!timeout && !signals.length) { - return; - } - const controller = new AbortController(); - let aborted = false; - const onabort = function (reason) { - if (!aborted) { - aborted = true; - unsubscribe(); - const err = reason instanceof Error ? reason : this.reason; - controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err)); - } - }; - let timer = timeout && setTimeout(() => { - timer = null; - onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT)); - }, timeout); - const unsubscribe = () => { - if (!signals) { - return; - } - timer && clearTimeout(timer); - timer = null; - signals.forEach(signal => { - signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort); - }); - signals = null; - }; - signals.forEach(signal => signal.addEventListener('abort', onabort, { - once: true - })); - const { - signal - } = controller; - signal.unsubscribe = () => utils$1.asap(unsubscribe); - return signal; -}; - -const streamChunk = function* (chunk, chunkSize) { - let len = chunk.byteLength; - if (len < chunkSize) { - yield chunk; - return; - } - let pos = 0; - let end; - while (pos < len) { - end = pos + chunkSize; - yield chunk.slice(pos, end); - pos = end; - } -}; -const readBytes = async function* (iterable, chunkSize) { - for await (const chunk of readStream(iterable)) { - yield* streamChunk(chunk, chunkSize); - } -}; -const readStream = async function* (stream) { - if (stream[Symbol.asyncIterator]) { - yield* stream; - return; - } - const reader = stream.getReader(); - try { - for (;;) { - const { - done, - value - } = await reader.read(); - if (done) { - break; - } - yield value; - } - } finally { - await reader.cancel(); - } -}; -const trackStream = (stream, chunkSize, onProgress, onFinish) => { - const iterator = readBytes(stream, chunkSize); - let bytes = 0; - let done; - let _onFinish = e => { - if (!done) { - done = true; - onFinish && onFinish(e); - } - }; - return new ReadableStream({ - async pull(controller) { - try { - const { - done, - value - } = await iterator.next(); - if (done) { - _onFinish(); - controller.close(); - return; - } - let len = value.byteLength; - if (onProgress) { - let loadedBytes = bytes += len; - onProgress(loadedBytes); - } - controller.enqueue(new Uint8Array(value)); - } catch (err) { - _onFinish(err); - throw err; - } - }, - cancel(reason) { - _onFinish(reason); - return iterator.return(); - } - }, { - highWaterMark: 2 - }); -}; - -const DEFAULT_CHUNK_SIZE = 64 * 1024; -const { - isFunction -} = utils$1; - -/** - * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). - * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. - * - * @param {string} str The string to encode - * - * @returns {string} UTF-8 bytes as a Latin-1 string - */ -const encodeUTF8 = str => encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => String.fromCharCode(parseInt(hex, 16))); - -// Node's WHATWG URL parser returns `username` and `password` percent-encoded. -// Decode before composing the `auth` option so credentials such as -// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the -// original value for malformed input so a bad encoding never throws. -const decodeURIComponentSafe = value => { - if (!utils$1.isString(value)) { - return value; - } - try { - return decodeURIComponent(value); - } catch (error) { - return value; - } -}; -const test = (fn, ...args) => { - try { - return !!fn(...args); - } catch (e) { - return false; - } -}; -const maybeWithAuthCredentials = url => { - const protocolIndex = url.indexOf('://'); - let urlToCheck = url; - if (protocolIndex !== -1) { - urlToCheck = urlToCheck.slice(protocolIndex + 3); - } - return urlToCheck.includes('@') || urlToCheck.includes(':'); -}; -const factory = env => { - const globalObject = utils$1.global !== undefined && utils$1.global !== null ? utils$1.global : globalThis; - const { - ReadableStream, - TextEncoder - } = globalObject; - env = utils$1.merge.call({ - skipUndefined: true - }, { - Request: globalObject.Request, - Response: globalObject.Response - }, env); - const { - fetch: envFetch, - Request, - Response - } = env; - const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function'; - const isRequestSupported = isFunction(Request); - const isResponseSupported = isFunction(Response); - if (!isFetchSupported) { - return false; - } - const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream); - const encodeText = isFetchSupported && (typeof TextEncoder === 'function' ? (encoder => str => encoder.encode(str))(new TextEncoder()) : async str => new Uint8Array(await new Request(str).arrayBuffer())); - const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => { - let duplexAccessed = false; - const request = new Request(platform.origin, { - body: new ReadableStream(), - method: 'POST', - get duplex() { - duplexAccessed = true; - return 'half'; - } - }); - const hasContentType = request.headers.has('Content-Type'); - if (request.body != null) { - request.body.cancel(); - } - return duplexAccessed && !hasContentType; - }); - const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response('').body)); - const resolvers = { - stream: supportsResponseStream && (res => res.body) - }; - isFetchSupported && (() => { - ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => { - !resolvers[type] && (resolvers[type] = (res, config) => { - let method = res && res[type]; - if (method) { - return method.call(res); - } - throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config); - }); - }); - })(); - const getBodyLength = async body => { - if (body == null) { - return 0; - } - if (utils$1.isBlob(body)) { - return body.size; - } - if (utils$1.isSpecCompliantForm(body)) { - const _request = new Request(platform.origin, { - method: 'POST', - body - }); - return (await _request.arrayBuffer()).byteLength; - } - if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) { - return body.byteLength; - } - if (utils$1.isURLSearchParams(body)) { - body = body + ''; - } - if (utils$1.isString(body)) { - return (await encodeText(body)).byteLength; - } - }; - const resolveBodyLength = async (headers, body) => { - const length = utils$1.toFiniteNumber(headers.getContentLength()); - return length == null ? getBodyLength(body) : length; - }; - return async config => { - let { - url, - method, - data, - signal, - cancelToken, - timeout, - onDownloadProgress, - onUploadProgress, - responseType, - headers, - withCredentials = 'same-origin', - fetchOptions, - maxContentLength, - maxBodyLength - } = resolveConfig(config); - const hasMaxContentLength = utils$1.isNumber(maxContentLength) && maxContentLength > -1; - const hasMaxBodyLength = utils$1.isNumber(maxBodyLength) && maxBodyLength > -1; - const own = key => utils$1.hasOwnProp(config, key) ? config[key] : undefined; - let _fetch = envFetch || fetch; - responseType = responseType ? (responseType + '').toLowerCase() : 'text'; - let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout); - let request = null; - const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => { - composedSignal.unsubscribe(); - }); - let requestContentLength; - - // AxiosError we raise while the request body is being streamed. Captured - // by identity so the catch block can surface it directly, regardless of - // how the runtime wraps the resulting fetch rejection (undici exposes it - // as `err.cause`; some browsers drop the original error entirely). - let pendingBodyError = null; - const maxBodyLengthError = () => new AxiosError('Request body larger than maxBodyLength limit', AxiosError.ERR_BAD_REQUEST, config, request); - try { - // HTTP basic authentication - let auth = undefined; - const configAuth = own('auth'); - if (configAuth) { - const username = utils$1.getSafeProp(configAuth, 'username') || ''; - const password = utils$1.getSafeProp(configAuth, 'password') || ''; - auth = { - username, - password - }; - } - if (maybeWithAuthCredentials(url)) { - const parsedURL = new URL(url, platform.origin); - if (!auth && (parsedURL.username || parsedURL.password)) { - const urlUsername = decodeURIComponentSafe(parsedURL.username); - const urlPassword = decodeURIComponentSafe(parsedURL.password); - auth = { - username: urlUsername, - password: urlPassword - }; - } - if (parsedURL.username || parsedURL.password) { - parsedURL.username = ''; - parsedURL.password = ''; - url = parsedURL.href; - } - } - if (auth) { - headers.delete('authorization'); - headers.set('Authorization', 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || '')))); - } - - // Enforce maxContentLength for data: URLs up-front so we never materialize - // an oversized payload. The HTTP adapter applies the same check (see http.js - // "if (protocol === 'data:')" branch). - if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) { - const estimated = estimateDataURLDecodedBytes(url); - if (estimated > maxContentLength) { - throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); - } - } - - // Enforce maxBodyLength against known-size bodies before dispatch using - // the body's *actual* size — never a caller-declared Content-Length, - // which could under-report to slip an oversized body past the check. - // Unknown-size streams return undefined here and are counted per-chunk - // below as fetch consumes them. - if (hasMaxBodyLength && method !== 'get' && method !== 'head') { - const outboundLength = await getBodyLength(data); - if (typeof outboundLength === 'number' && isFinite(outboundLength)) { - requestContentLength = outboundLength; - if (outboundLength > maxBodyLength) { - throw maxBodyLengthError(); - } - } - } - - // A streamed body under maxBodyLength must be counted as fetch consumes - // it; its size is never trusted from a caller-declared Content-Length. - const mustEnforceStreamBody = hasMaxBodyLength && (utils$1.isReadableStream(data) || utils$1.isStream(data)); - const trackRequestStream = (stream, onProgress, flush) => trackStream(stream, DEFAULT_CHUNK_SIZE, loadedBytes => { - if (hasMaxBodyLength && loadedBytes > maxBodyLength) { - throw pendingBodyError = maxBodyLengthError(); - } - onProgress && onProgress(loadedBytes); - }, flush); - if (supportsRequestStream && method !== 'get' && method !== 'head' && (onUploadProgress || mustEnforceStreamBody)) { - requestContentLength = requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength; - - // A declared length of 0 is only trusted to skip the wrap when we are - // not enforcing a stream limit (which must not rely on that header). - if (requestContentLength !== 0 || mustEnforceStreamBody) { - let _request = new Request(url, { - method: 'POST', - body: data, - duplex: 'half' - }); - let contentTypeHeader; - if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) { - headers.setContentType(contentTypeHeader); - } - if (_request.body) { - const [onProgress, flush] = onUploadProgress && progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress))) || []; - data = trackRequestStream(_request.body, onProgress, flush); - } - } - } else if (mustEnforceStreamBody && !isRequestSupported && isReadableStreamSupported && method !== 'get' && method !== 'head') { - data = trackRequestStream(data); - } else if (mustEnforceStreamBody && isRequestSupported && !supportsRequestStream && method !== 'get' && method !== 'head') { - throw new AxiosError('Stream request bodies are not supported by the current fetch implementation', AxiosError.ERR_NOT_SUPPORT, config, request); - } - if (!utils$1.isString(withCredentials)) { - withCredentials = withCredentials ? 'include' : 'omit'; - } - - // Cloudflare Workers throws when credentials are defined - // see https://github.com/cloudflare/workerd/issues/902 - const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype; - - // If data is FormData and Content-Type is multipart/form-data without boundary, - // delete it so fetch can set it correctly with the boundary - if (utils$1.isFormData(data)) { - const contentType = headers.getContentType(); - if (contentType && /^multipart\/form-data/i.test(contentType) && !/boundary=/i.test(contentType)) { - headers.delete('content-type'); - } - } - - // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js) - headers.set('User-Agent', 'axios/' + VERSION, false); - const resolvedOptions = { - ...fetchOptions, - signal: composedSignal, - method: method.toUpperCase(), - headers: toByteStringHeaderObject(headers.normalize()), - body: data, - duplex: 'half', - credentials: isCredentialsSupported ? withCredentials : undefined - }; - request = isRequestSupported && new Request(url, resolvedOptions); - let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions)); - const responseHeaders = AxiosHeaders.from(response.headers); - - // Cheap pre-check: if the server honestly declares a content-length that - // already exceeds the cap, reject before we start streaming. - if (hasMaxContentLength) { - const declaredLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); - if (declaredLength != null && declaredLength > maxContentLength) { - throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); - } - } - const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response'); - if (supportsResponseStream && response.body && (onDownloadProgress || hasMaxContentLength || isStreamResponse && unsubscribe)) { - const options = {}; - ['status', 'statusText', 'headers'].forEach(prop => { - options[prop] = response[prop]; - }); - const responseContentLength = utils$1.toFiniteNumber(responseHeaders.getContentLength()); - const [onProgress, flush] = onDownloadProgress && progressEventDecorator(responseContentLength, progressEventReducer(asyncDecorator(onDownloadProgress), true)) || []; - let bytesRead = 0; - const onChunkProgress = loadedBytes => { - if (hasMaxContentLength) { - bytesRead = loadedBytes; - if (bytesRead > maxContentLength) { - throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); - } - } - onProgress && onProgress(loadedBytes); - }; - response = new Response(trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => { - flush && flush(); - unsubscribe && unsubscribe(); - }), options); - } - responseType = responseType || 'text'; - let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text'](response, config); - - // Fallback enforcement for environments without ReadableStream support - // (legacy runtimes). Detect materialized size from typed output; skip - // streams/Response passthrough since the user will read those themselves. - if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) { - let materializedSize; - if (responseData != null) { - if (typeof responseData.byteLength === 'number') { - materializedSize = responseData.byteLength; - } else if (typeof responseData.size === 'number') { - materializedSize = responseData.size; - } else if (typeof responseData === 'string') { - materializedSize = typeof TextEncoder === 'function' ? new TextEncoder().encode(responseData).byteLength : responseData.length; - } - } - if (typeof materializedSize === 'number' && materializedSize > maxContentLength) { - throw new AxiosError('maxContentLength size of ' + maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, request); - } - } - !isStreamResponse && unsubscribe && unsubscribe(); - return await new Promise((resolve, reject) => { - settle(resolve, reject, { - data: responseData, - headers: AxiosHeaders.from(response.headers), - status: response.status, - statusText: response.statusText, - config, - request - }); - }); - } catch (err) { - unsubscribe && unsubscribe(); - - // Safari can surface fetch aborts as a DOMException-like object whose - // branded getters throw. Prefer our composed signal reason before reading - // the caught error, preserving timeout vs cancellation semantics. - if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError) { - const canceledError = composedSignal.reason; - canceledError.config = config; - request && (canceledError.request = request); - if (err !== canceledError) { - // Non-enumerable to match native Error `cause` semantics so loggers - // don't recurse into circular fetch internals (see #7205). - Object.defineProperty(canceledError, 'cause', { - __proto__: null, - value: err, - writable: true, - enumerable: false, - configurable: true - }); - } - throw canceledError; - } - - // Surface a maxBodyLength violation we raised while the request body was - // being streamed. Matching by identity (rather than reading - // `err.cause.isAxiosError`) keeps the error deterministic across runtimes - // and avoids both prototype-pollution reads and mis-attributing a foreign - // AxiosError that merely happened to land in `err.cause`. - if (pendingBodyError) { - request && !pendingBodyError.request && (pendingBodyError.request = request); - throw pendingBodyError; - } - - // Re-throw AxiosErrors we raised synchronously (data: URL / content-length - // pre-checks, response size enforcement) without re-wrapping them. - if (err instanceof AxiosError) { - request && !err.request && (err.request = request); - throw err; - } - if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) { - const networkError = new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request, err && err.response); - // Non-enumerable to match native Error `cause` semantics so loggers - // don't recurse into circular fetch internals (see #7205). - Object.defineProperty(networkError, 'cause', { - __proto__: null, - value: err.cause || err, - writable: true, - enumerable: false, - configurable: true - }); - throw networkError; - } - throw AxiosError.from(err, err && err.code, config, request, err && err.response); - } - }; -}; -const seedCache = new Map(); -const getFetch = config => { - let env = config && config.env || {}; - const { - fetch, - Request, - Response - } = env; - const seeds = [Request, Response, fetch]; - let len = seeds.length, - i = len, - seed, - target, - map = seedCache; - while (i--) { - seed = seeds[i]; - target = map.get(seed); - target === undefined && map.set(seed, target = i ? new Map() : factory(env)); - map = target; - } - return target; -}; -getFetch(); - -/** - * Known adapters mapping. - * Provides environment-specific adapters for Axios: - * - `http` for Node.js - * - `xhr` for browsers - * - `fetch` for fetch API-based requests - * - * @type {Object} - */ -const knownAdapters = { - http: httpAdapter, - xhr: xhrAdapter, - fetch: { - get: getFetch - } -}; - -// Assign adapter names for easier debugging and identification -utils$1.forEach(knownAdapters, (fn, value) => { - if (fn) { - try { - // Null-proto descriptors so a polluted Object.prototype.get cannot turn - // these data descriptors into accessor descriptors on the way in. - Object.defineProperty(fn, 'name', { - __proto__: null, - value - }); - } catch (e) { - // eslint-disable-next-line no-empty - } - Object.defineProperty(fn, 'adapterName', { - __proto__: null, - value - }); - } -}); - -/** - * Render a rejection reason string for unknown or unsupported adapters - * - * @param {string} reason - * @returns {string} - */ -const renderReason = reason => `- ${reason}`; - -/** - * Check if the adapter is resolved (function, null, or false) - * - * @param {Function|null|false} adapter - * @returns {boolean} - */ -const isResolvedHandle = adapter => utils$1.isFunction(adapter) || adapter === null || adapter === false; - -/** - * Get the first suitable adapter from the provided list. - * Tries each adapter in order until a supported one is found. - * Throws an AxiosError if no adapter is suitable. - * - * @param {Array|string|Function} adapters - Adapter(s) by name or function. - * @param {Object} config - Axios request configuration - * @throws {AxiosError} If no suitable adapter is available - * @returns {Function} The resolved adapter function - */ -function getAdapter(adapters, config) { - adapters = utils$1.isArray(adapters) ? adapters : [adapters]; - const { - length - } = adapters; - let nameOrAdapter; - let adapter; - const rejectedReasons = {}; - for (let i = 0; i < length; i++) { - nameOrAdapter = adapters[i]; - let id; - adapter = nameOrAdapter; - if (!isResolvedHandle(nameOrAdapter)) { - adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()]; - if (adapter === undefined) { - throw new AxiosError(`Unknown adapter '${id}'`); - } - } - if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) { - break; - } - rejectedReasons[id || '#' + i] = adapter; - } - if (!adapter) { - const reasons = Object.entries(rejectedReasons).map(([id, state]) => `adapter ${id} ` + (state === false ? 'is not supported by the environment' : 'is not available in the build')); - let s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified'; - throw new AxiosError(`There is no suitable adapter to dispatch the request ` + s, AxiosError.ERR_NOT_SUPPORT); - } - return adapter; -} - -/** - * Exports Axios adapters and utility to resolve an adapter - */ -var adapters = { - /** - * Resolve an adapter from a list of adapter names or functions. - * @type {Function} - */ - getAdapter, - /** - * Exposes all known adapters - * @type {Object} - */ - adapters: knownAdapters -}; - -/** - * Throws a `CanceledError` if cancellation has been requested. - * - * @param {Object} config The config that is to be used for the request - * - * @returns {void} - */ -function throwIfCancellationRequested(config) { - if (config.cancelToken) { - config.cancelToken.throwIfRequested(); - } - if (config.signal && config.signal.aborted) { - throw new CanceledError(null, config); - } -} - -/** - * Dispatch a request to the server using the configured adapter. - * - * @param {object} config The config that is to be used for the request - * - * @returns {Promise} The Promise to be fulfilled - */ -function dispatchRequest(config) { - throwIfCancellationRequested(config); - config.headers = AxiosHeaders.from(config.headers); - - // Transform request data - config.data = transformData.call(config, config.transformRequest); - if (['post', 'put', 'patch'].indexOf(config.method) !== -1) { - config.headers.setContentType('application/x-www-form-urlencoded', false); - } - const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config); - return adapter(config).then(function onAdapterResolution(response) { - throwIfCancellationRequested(config); - - // Expose the current response on config so that transformResponse can - // attach it to any AxiosError it throws (e.g. on JSON parse failure). - // We clean it up afterwards to avoid polluting the config object. - config.response = response; - try { - response.data = transformData.call(config, config.transformResponse, response); - } finally { - delete config.response; - } - response.headers = AxiosHeaders.from(response.headers); - return response; - }, function onAdapterRejection(reason) { - if (!isCancel(reason)) { - throwIfCancellationRequested(config); - - // Transform response data - if (reason && reason.response) { - config.response = reason.response; - try { - reason.response.data = transformData.call(config, config.transformResponse, reason.response); - } finally { - delete config.response; - } - reason.response.headers = AxiosHeaders.from(reason.response.headers); - } - } - return Promise.reject(reason); - }); -} - -const validators$1 = {}; - -// eslint-disable-next-line func-names -['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => { - validators$1[type] = function validator(thing) { - return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type; - }; -}); -const deprecatedWarnings = {}; - -/** - * Transitional option validator - * - * @param {function|boolean?} validator - set to false if the transitional option has been removed - * @param {string?} version - deprecated version / removed since version - * @param {string?} message - some message with additional info - * - * @returns {function} - */ -validators$1.transitional = function transitional(validator, version, message) { - function formatMessage(opt, desc) { - return '[Axios v' + VERSION + "] Transitional option '" + opt + "'" + desc + (message ? '. ' + message : ''); - } - - // eslint-disable-next-line func-names - return (value, opt, opts) => { - if (validator === false) { - throw new AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), AxiosError.ERR_DEPRECATED); - } - if (version && !deprecatedWarnings[opt]) { - deprecatedWarnings[opt] = true; - // eslint-disable-next-line no-console - console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future')); - } - return validator ? validator(value, opt, opts) : true; - }; -}; -validators$1.spelling = function spelling(correctSpelling) { - return (value, opt) => { - // eslint-disable-next-line no-console - console.warn(`${opt} is likely a misspelling of ${correctSpelling}`); - return true; - }; -}; - -/** - * Assert object's properties type - * - * @param {object} options - * @param {object} schema - * @param {boolean?} allowUnknown - * - * @returns {object} - */ - -function assertOptions(options, schema, allowUnknown) { - if (typeof options !== 'object' || options === null) { - throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE); - } - const keys = Object.keys(options); - let i = keys.length; - while (i-- > 0) { - const opt = keys[i]; - // Use hasOwnProperty so a polluted Object.prototype. cannot supply - // a non-function validator and cause a TypeError. - const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined; - if (validator) { - const value = options[opt]; - const result = value === undefined || validator(value, opt, options); - if (result !== true) { - throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE); - } - continue; - } - if (allowUnknown !== true) { - throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION); - } - } -} -var validator = { - assertOptions, - validators: validators$1 -}; - -const validators = validator.validators; - -/** - * Create a new instance of Axios - * - * @param {Object} instanceConfig The default config for the instance - * - * @return {Axios} A new instance of Axios - */ -class Axios { - constructor(instanceConfig) { - this.defaults = instanceConfig || {}; - this.interceptors = { - request: new InterceptorManager(), - response: new InterceptorManager() - }; - } - - /** - * Dispatch a request - * - * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) - * @param {?Object} config - * - * @returns {Promise} The Promise to be fulfilled - */ - async request(configOrUrl, config) { - try { - return await this._request(configOrUrl, config); - } catch (err) { - if (err instanceof Error) { - let dummy = {}; - Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error(); - - // slice off the Error: ... line - const stack = (() => { - if (!dummy.stack) { - return ''; - } - const firstNewlineIndex = dummy.stack.indexOf('\n'); - return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1); - })(); - try { - if (!err.stack) { - err.stack = stack; - // match without the 2 top stack lines - } else if (stack) { - const firstNewlineIndex = stack.indexOf('\n'); - const secondNewlineIndex = firstNewlineIndex === -1 ? -1 : stack.indexOf('\n', firstNewlineIndex + 1); - const stackWithoutTwoTopLines = secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1); - if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) { - err.stack += '\n' + stack; - } - } - } catch (e) { - // ignore the case where "stack" is an un-writable property - } - } - throw err; - } - } - _request(configOrUrl, config) { - /*eslint no-param-reassign:0*/ - // Allow for axios('example/url'[, config]) a la fetch API - if (typeof configOrUrl === 'string') { - config = config || {}; - config.url = configOrUrl; - } else { - config = configOrUrl || {}; - } - config = mergeConfig(this.defaults, config); - const { - transitional, - paramsSerializer, - headers - } = config; - if (transitional !== undefined) { - validator.assertOptions(transitional, { - silentJSONParsing: validators.transitional(validators.boolean), - forcedJSONParsing: validators.transitional(validators.boolean), - clarifyTimeoutError: validators.transitional(validators.boolean), - legacyInterceptorReqResOrdering: validators.transitional(validators.boolean), - advertiseZstdAcceptEncoding: validators.transitional(validators.boolean), - validateStatusUndefinedResolves: validators.transitional(validators.boolean) - }, false); - } - if (paramsSerializer != null) { - if (utils$1.isFunction(paramsSerializer)) { - config.paramsSerializer = { - serialize: paramsSerializer - }; - } else { - validator.assertOptions(paramsSerializer, { - encode: validators.function, - serialize: validators.function - }, true); - } - } - - // Set config.allowAbsoluteUrls - if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) { - config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls; - } else { - config.allowAbsoluteUrls = true; - } - validator.assertOptions(config, { - baseUrl: validators.spelling('baseURL'), - withXsrfToken: validators.spelling('withXSRFToken') - }, true); - - // Set config.method - config.method = (config.method || this.defaults.method || 'get').toLowerCase(); - - // Flatten headers - let contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]); - headers && utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], method => { - delete headers[method]; - }); - config.headers = AxiosHeaders.concat(contextHeaders, headers); - - // filter out skipped interceptors - const requestInterceptorChain = []; - let synchronousRequestInterceptors = true; - this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) { - if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) { - return; - } - synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous; - const transitional = config.transitional || transitionalDefaults; - const legacyInterceptorReqResOrdering = transitional && transitional.legacyInterceptorReqResOrdering; - if (legacyInterceptorReqResOrdering) { - requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected); - } else { - requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); - } - }); - const responseInterceptorChain = []; - this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) { - responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); - }); - let promise; - let i = 0; - let len; - if (!synchronousRequestInterceptors) { - const chain = [dispatchRequest.bind(this), undefined]; - chain.unshift(...requestInterceptorChain); - chain.push(...responseInterceptorChain); - len = chain.length; - promise = Promise.resolve(config); - while (i < len) { - promise = promise.then(chain[i++], chain[i++]); - } - return promise; - } - len = requestInterceptorChain.length; - let newConfig = config; - while (i < len) { - const onFulfilled = requestInterceptorChain[i++]; - const onRejected = requestInterceptorChain[i++]; - try { - newConfig = onFulfilled(newConfig); - } catch (error) { - onRejected.call(this, error); - break; - } - } - try { - promise = dispatchRequest.call(this, newConfig); - } catch (error) { - return Promise.reject(error); - } - i = 0; - len = responseInterceptorChain.length; - while (i < len) { - promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); - } - return promise; - } - getUri(config) { - config = mergeConfig(this.defaults, config); - const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config); - return buildURL(fullPath, config.params, config.paramsSerializer); - } -} - -// Provide aliases for supported request methods -utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) { - /*eslint func-names:0*/ - Axios.prototype[method] = function (url, config) { - return this.request(mergeConfig(config || {}, { - method, - url, - data: config && utils$1.hasOwnProp(config, 'data') ? config.data : undefined - })); - }; -}); -utils$1.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) { - function generateHTTPMethod(isForm) { - return function httpMethod(url, data, config) { - return this.request(mergeConfig(config || {}, { - method, - headers: isForm ? { - 'Content-Type': 'multipart/form-data' - } : {}, - url, - data - })); - }; - } - Axios.prototype[method] = generateHTTPMethod(); - - // QUERY is a safe/idempotent read method; multipart form bodies don't fit - // its semantics, so no queryForm shorthand is generated. - if (method !== 'query') { - Axios.prototype[method + 'Form'] = generateHTTPMethod(true); - } -}); - -/** - * A `CancelToken` is an object that can be used to request cancellation of an operation. - * - * @param {Function} executor The executor function. - * - * @returns {CancelToken} - */ -class CancelToken { - constructor(executor) { - if (typeof executor !== 'function') { - throw new TypeError('executor must be a function.'); - } - let resolvePromise; - this.promise = new Promise(function promiseExecutor(resolve) { - resolvePromise = resolve; - }); - const token = this; - - // eslint-disable-next-line func-names - this.promise.then(cancel => { - if (!token._listeners) return; - let i = token._listeners.length; - while (i-- > 0) { - token._listeners[i](cancel); - } - token._listeners = null; - }); - - // eslint-disable-next-line func-names - this.promise.then = onfulfilled => { - let _resolve; - // eslint-disable-next-line func-names - const promise = new Promise(resolve => { - token.subscribe(resolve); - _resolve = resolve; - }).then(onfulfilled); - promise.cancel = function reject() { - token.unsubscribe(_resolve); - }; - return promise; - }; - executor(function cancel(message, config, request) { - if (token.reason) { - // Cancellation has already been requested - return; - } - token.reason = new CanceledError(message, config, request); - resolvePromise(token.reason); - }); - } - - /** - * Throws a `CanceledError` if cancellation has been requested. - */ - throwIfRequested() { - if (this.reason) { - throw this.reason; - } - } - - /** - * Subscribe to the cancel signal - */ - - subscribe(listener) { - if (this.reason) { - listener(this.reason); - return; - } - if (this._listeners) { - this._listeners.push(listener); - } else { - this._listeners = [listener]; - } - } - - /** - * Unsubscribe from the cancel signal - */ - - unsubscribe(listener) { - if (!this._listeners) { - return; - } - const index = this._listeners.indexOf(listener); - if (index !== -1) { - this._listeners.splice(index, 1); - } - } - toAbortSignal() { - const controller = new AbortController(); - const abort = err => { - controller.abort(err); - }; - this.subscribe(abort); - controller.signal.unsubscribe = () => this.unsubscribe(abort); - return controller.signal; - } - - /** - * Returns an object that contains a new `CancelToken` and a function that, when called, - * cancels the `CancelToken`. - */ - static source() { - let cancel; - const token = new CancelToken(function executor(c) { - cancel = c; - }); - return { - token, - cancel - }; - } -} - -/** - * Syntactic sugar for invoking a function and expanding an array for arguments. - * - * Common use case would be to use `Function.prototype.apply`. - * - * ```js - * function f(x, y, z) {} - * const args = [1, 2, 3]; - * f.apply(null, args); - * ``` - * - * With `spread` this example can be re-written. - * - * ```js - * spread(function(x, y, z) {})([1, 2, 3]); - * ``` - * - * @param {Function} callback - * - * @returns {Function} - */ -function spread(callback) { - return function wrap(arr) { - return callback.apply(null, arr); - }; -} - -/** - * Determines whether the payload is an error thrown by Axios - * - * @param {*} payload The value to test - * - * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false - */ -function isAxiosError(payload) { - return utils$1.isObject(payload) && payload.isAxiosError === true; -} - -const HttpStatusCode = { - Continue: 100, - SwitchingProtocols: 101, - Processing: 102, - EarlyHints: 103, - Ok: 200, - Created: 201, - Accepted: 202, - NonAuthoritativeInformation: 203, - NoContent: 204, - ResetContent: 205, - PartialContent: 206, - MultiStatus: 207, - AlreadyReported: 208, - ImUsed: 226, - MultipleChoices: 300, - MovedPermanently: 301, - Found: 302, - SeeOther: 303, - NotModified: 304, - UseProxy: 305, - Unused: 306, - TemporaryRedirect: 307, - PermanentRedirect: 308, - BadRequest: 400, - Unauthorized: 401, - PaymentRequired: 402, - Forbidden: 403, - NotFound: 404, - MethodNotAllowed: 405, - NotAcceptable: 406, - ProxyAuthenticationRequired: 407, - RequestTimeout: 408, - Conflict: 409, - Gone: 410, - LengthRequired: 411, - PreconditionFailed: 412, - PayloadTooLarge: 413, - UriTooLong: 414, - UnsupportedMediaType: 415, - RangeNotSatisfiable: 416, - ExpectationFailed: 417, - ImATeapot: 418, - MisdirectedRequest: 421, - UnprocessableEntity: 422, - Locked: 423, - FailedDependency: 424, - TooEarly: 425, - UpgradeRequired: 426, - PreconditionRequired: 428, - TooManyRequests: 429, - RequestHeaderFieldsTooLarge: 431, - UnavailableForLegalReasons: 451, - InternalServerError: 500, - NotImplemented: 501, - BadGateway: 502, - ServiceUnavailable: 503, - GatewayTimeout: 504, - HttpVersionNotSupported: 505, - VariantAlsoNegotiates: 506, - InsufficientStorage: 507, - LoopDetected: 508, - NotExtended: 510, - NetworkAuthenticationRequired: 511, - WebServerIsDown: 521, - ConnectionTimedOut: 522, - OriginIsUnreachable: 523, - TimeoutOccurred: 524, - SslHandshakeFailed: 525, - InvalidSslCertificate: 526 -}; -Object.entries(HttpStatusCode).forEach(([key, value]) => { - HttpStatusCode[value] = key; -}); - -/** - * Create an instance of Axios - * - * @param {Object} defaultConfig The default config for the instance - * - * @returns {Axios} A new instance of Axios - */ -function createInstance(defaultConfig) { - const context = new Axios(defaultConfig); - const instance = bind(Axios.prototype.request, context); - - // Copy axios.prototype to instance - utils$1.extend(instance, Axios.prototype, context, { - allOwnKeys: true - }); - - // Copy context to instance - utils$1.extend(instance, context, null, { - allOwnKeys: true - }); - - // Factory for creating new instances - instance.create = function create(instanceConfig) { - return createInstance(mergeConfig(defaultConfig, instanceConfig)); - }; - return instance; -} - -// Create the default instance to be exported -const axios = createInstance(defaults); - -// Expose Axios class to allow class inheritance -axios.Axios = Axios; - -// Expose Cancel & CancelToken -axios.CanceledError = CanceledError; -axios.CancelToken = CancelToken; -axios.isCancel = isCancel; -axios.VERSION = VERSION; -axios.toFormData = toFormData; - -// Expose AxiosError class -axios.AxiosError = AxiosError; - -// alias for CanceledError for backward compatibility -axios.Cancel = axios.CanceledError; - -// Expose all/spread -axios.all = function all(promises) { - return Promise.all(promises); -}; -axios.spread = spread; - -// Expose isAxiosError -axios.isAxiosError = isAxiosError; - -// Expose mergeConfig -axios.mergeConfig = mergeConfig; -axios.AxiosHeaders = AxiosHeaders; -axios.formToJSON = thing => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing); -axios.getAdapter = adapters.getAdapter; -axios.HttpStatusCode = HttpStatusCode; -axios.default = axios; - -module.exports = axios; -//# sourceMappingURL=axios.cjs.map diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/index.d.cts b/Lombiq.EInvoiceValidator/node_modules/axios/index.d.cts deleted file mode 100644 index 626605c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/index.d.cts +++ /dev/null @@ -1,738 +0,0 @@ -type MethodsHeaders = Partial< - { - [Key in axios.Method as Lowercase]: AxiosHeaders; - } & { common: AxiosHeaders } ->; - -type AxiosHeaderMatcher = - | string - | RegExp - | ((this: AxiosHeaders, value: string, name: string) => boolean); - -type AxiosHeaderParser = (this: AxiosHeaders, value: axios.AxiosHeaderValue, header: string) => any; - -type CommonRequestHeadersList = - | 'Accept' - | 'Content-Length' - | 'User-Agent' - | 'Content-Encoding' - | 'Authorization' - | 'Location'; - -type ContentType = - | axios.AxiosHeaderValue - | 'text/html' - | 'text/plain' - | 'multipart/form-data' - | 'application/json' - | 'application/x-www-form-urlencoded' - | 'application/octet-stream'; - -type CommonResponseHeadersList = - | 'Server' - | 'Content-Type' - | 'Content-Length' - | 'Cache-Control' - | 'Content-Encoding'; - -type CommonResponseHeaderKey = CommonResponseHeadersList | Lowercase; - -type BrowserProgressEvent = any; - -declare class AxiosHeaders { - constructor(headers?: axios.RawAxiosHeaders | AxiosHeaders | string); - - [key: string]: any; - - set( - headerName?: string, - value?: axios.AxiosHeaderValue, - rewrite?: boolean | AxiosHeaderMatcher - ): AxiosHeaders; - set(headers?: axios.RawAxiosHeaders | AxiosHeaders | string, rewrite?: boolean): AxiosHeaders; - set(headers?: Iterable<[string, axios.AxiosHeaderValue]>, rewrite?: boolean): AxiosHeaders; - - get(headerName: string, parser: RegExp): RegExpExecArray | null; - get(headerName: string, matcher?: true | AxiosHeaderParser): axios.AxiosHeaderValue; - - has(header: string, matcher?: AxiosHeaderMatcher): boolean; - - delete(header: string | string[], matcher?: AxiosHeaderMatcher): boolean; - - clear(matcher?: AxiosHeaderMatcher): boolean; - - normalize(format: boolean): AxiosHeaders; - - concat( - ...targets: Array - ): AxiosHeaders; - - toJSON(asStrings: true): Record; - toJSON(asStrings?: false): Record; - toJSON(asStrings?: boolean): Record; - - static from(thing?: AxiosHeaders | axios.RawAxiosHeaders | string): AxiosHeaders; - - static accessor(header: string | string[]): AxiosHeaders; - - static concat( - ...targets: Array - ): AxiosHeaders; - - setContentType(value: ContentType, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; - getContentType(parser?: RegExp): RegExpExecArray | null; - getContentType(matcher?: AxiosHeaderMatcher): axios.AxiosHeaderValue; - hasContentType(matcher?: AxiosHeaderMatcher): boolean; - - setContentLength( - value: axios.AxiosHeaderValue, - rewrite?: boolean | AxiosHeaderMatcher - ): AxiosHeaders; - getContentLength(parser?: RegExp): RegExpExecArray | null; - getContentLength(matcher?: AxiosHeaderMatcher): axios.AxiosHeaderValue; - hasContentLength(matcher?: AxiosHeaderMatcher): boolean; - - setAccept(value: axios.AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; - getAccept(parser?: RegExp): RegExpExecArray | null; - getAccept(matcher?: AxiosHeaderMatcher): axios.AxiosHeaderValue; - hasAccept(matcher?: AxiosHeaderMatcher): boolean; - - setUserAgent(value: axios.AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; - getUserAgent(parser?: RegExp): RegExpExecArray | null; - getUserAgent(matcher?: AxiosHeaderMatcher): axios.AxiosHeaderValue; - hasUserAgent(matcher?: AxiosHeaderMatcher): boolean; - - setContentEncoding( - value: axios.AxiosHeaderValue, - rewrite?: boolean | AxiosHeaderMatcher - ): AxiosHeaders; - getContentEncoding(parser?: RegExp): RegExpExecArray | null; - getContentEncoding(matcher?: AxiosHeaderMatcher): axios.AxiosHeaderValue; - hasContentEncoding(matcher?: AxiosHeaderMatcher): boolean; - - setAuthorization( - value: axios.AxiosHeaderValue, - rewrite?: boolean | AxiosHeaderMatcher - ): AxiosHeaders; - getAuthorization(parser?: RegExp): RegExpExecArray | null; - getAuthorization(matcher?: AxiosHeaderMatcher): axios.AxiosHeaderValue; - hasAuthorization(matcher?: AxiosHeaderMatcher): boolean; - - getSetCookie(): string[]; - - toString(): string; - - [Symbol.iterator](): IterableIterator<[string, axios.AxiosHeaderValue]>; -} - -declare class AxiosError extends Error { - constructor( - message?: string, - code?: string, - config?: axios.InternalAxiosRequestConfig, - request?: any, - response?: axios.AxiosResponse - ); - - config?: axios.InternalAxiosRequestConfig; - code?: string; - request?: any; - response?: axios.AxiosResponse; - isAxiosError: boolean; - status?: number; - toJSON: () => object; - cause?: Error; - event?: BrowserProgressEvent; - static from( - error: Error | unknown, - code?: string, - config?: axios.InternalAxiosRequestConfig, - request?: any, - response?: axios.AxiosResponse, - customProps?: object - ): AxiosError; - static readonly ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS'; - static readonly ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE'; - static readonly ERR_BAD_OPTION = 'ERR_BAD_OPTION'; - static readonly ERR_NETWORK = 'ERR_NETWORK'; - static readonly ERR_DEPRECATED = 'ERR_DEPRECATED'; - static readonly ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE'; - static readonly ERR_BAD_REQUEST = 'ERR_BAD_REQUEST'; - static readonly ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT'; - static readonly ERR_INVALID_URL = 'ERR_INVALID_URL'; - static readonly ERR_CANCELED = 'ERR_CANCELED'; - static readonly ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED'; - static readonly ECONNABORTED = 'ECONNABORTED'; - static readonly ECONNREFUSED = 'ECONNREFUSED'; - static readonly ETIMEDOUT = 'ETIMEDOUT'; -} - -declare class CanceledError extends AxiosError { - constructor(message?: string, config?: axios.InternalAxiosRequestConfig, request?: any); - readonly name: 'CanceledError'; - __CANCEL__?: boolean; -} - -declare class Axios { - constructor(config?: axios.AxiosRequestConfig); - defaults: axios.AxiosDefaults; - interceptors: { - request: axios.AxiosInterceptorManager; - response: axios.AxiosInterceptorManager; - }; - getUri(config?: axios.AxiosRequestConfig): string; - request, D = any>( - config: axios.AxiosRequestConfig - ): Promise; - get, D = any>( - url: string, - config?: axios.AxiosRequestConfig - ): Promise; - delete, D = any>( - url: string, - config?: axios.AxiosRequestConfig - ): Promise; - head, D = any>( - url: string, - config?: axios.AxiosRequestConfig - ): Promise; - options, D = any>( - url: string, - config?: axios.AxiosRequestConfig - ): Promise; - post, D = any>( - url: string, - data?: D, - config?: axios.AxiosRequestConfig - ): Promise; - put, D = any>( - url: string, - data?: D, - config?: axios.AxiosRequestConfig - ): Promise; - patch, D = any>( - url: string, - data?: D, - config?: axios.AxiosRequestConfig - ): Promise; - postForm, D = any>( - url: string, - data?: D, - config?: axios.AxiosRequestConfig - ): Promise; - putForm, D = any>( - url: string, - data?: D, - config?: axios.AxiosRequestConfig - ): Promise; - patchForm, D = any>( - url: string, - data?: D, - config?: axios.AxiosRequestConfig - ): Promise; - query, D = any>( - url: string, - data?: D, - config?: axios.AxiosRequestConfig - ): Promise; -} - -declare enum HttpStatusCode { - Continue = 100, - SwitchingProtocols = 101, - Processing = 102, - EarlyHints = 103, - Ok = 200, - Created = 201, - Accepted = 202, - NonAuthoritativeInformation = 203, - NoContent = 204, - ResetContent = 205, - PartialContent = 206, - MultiStatus = 207, - AlreadyReported = 208, - ImUsed = 226, - MultipleChoices = 300, - MovedPermanently = 301, - Found = 302, - SeeOther = 303, - NotModified = 304, - UseProxy = 305, - Unused = 306, - TemporaryRedirect = 307, - PermanentRedirect = 308, - BadRequest = 400, - Unauthorized = 401, - PaymentRequired = 402, - Forbidden = 403, - NotFound = 404, - MethodNotAllowed = 405, - NotAcceptable = 406, - ProxyAuthenticationRequired = 407, - RequestTimeout = 408, - Conflict = 409, - Gone = 410, - LengthRequired = 411, - PreconditionFailed = 412, - PayloadTooLarge = 413, - UriTooLong = 414, - UnsupportedMediaType = 415, - RangeNotSatisfiable = 416, - ExpectationFailed = 417, - ImATeapot = 418, - MisdirectedRequest = 421, - UnprocessableEntity = 422, - Locked = 423, - FailedDependency = 424, - TooEarly = 425, - UpgradeRequired = 426, - PreconditionRequired = 428, - TooManyRequests = 429, - RequestHeaderFieldsTooLarge = 431, - UnavailableForLegalReasons = 451, - InternalServerError = 500, - NotImplemented = 501, - BadGateway = 502, - ServiceUnavailable = 503, - GatewayTimeout = 504, - HttpVersionNotSupported = 505, - VariantAlsoNegotiates = 506, - InsufficientStorage = 507, - LoopDetected = 508, - NotExtended = 510, - NetworkAuthenticationRequired = 511, - WebServerIsDown = 521, - ConnectionTimedOut = 522, - OriginIsUnreachable = 523, - TimeoutOccurred = 524, - SslHandshakeFailed = 525, - InvalidSslCertificate = 526, -} - -type InternalAxiosError = AxiosError; - -declare namespace axios { - type AxiosError = InternalAxiosError; - - interface RawAxiosHeaders { - [key: string]: AxiosHeaderValue; - } - - type RawAxiosRequestHeaders = Partial< - RawAxiosHeaders & { - [Key in CommonRequestHeadersList]: AxiosHeaderValue; - } & { - 'Content-Type': ContentType; - } - >; - - type AxiosRequestHeaders = RawAxiosRequestHeaders & AxiosHeaders; - - type AxiosHeaderValue = AxiosHeaders | string | string[] | number | boolean | null; - - type RawCommonResponseHeaders = { - [Key in CommonResponseHeaderKey]: AxiosHeaderValue; - } & { - 'set-cookie': string[]; - }; - - type RawAxiosResponseHeaders = Partial; - - type AxiosResponseHeaders = RawAxiosResponseHeaders & AxiosHeaders; - - interface AxiosRequestTransformer { - (this: InternalAxiosRequestConfig, data: any, headers: AxiosRequestHeaders): any; - } - - interface AxiosResponseTransformer { - ( - this: InternalAxiosRequestConfig, - data: any, - headers: AxiosResponseHeaders, - status?: number - ): any; - } - - interface AxiosAdapter { - (config: InternalAxiosRequestConfig): AxiosPromise; - } - - interface AxiosBasicCredentials { - username: string; - password: string; - } - - interface AxiosProxyConfig { - host: string; - port: number; - auth?: AxiosBasicCredentials; - protocol?: string; - } - - type UppercaseMethod = - | 'GET' - | 'DELETE' - | 'HEAD' - | 'OPTIONS' - | 'POST' - | 'PUT' - | 'PATCH' - | 'PURGE' - | 'LINK' - | 'UNLINK' - | 'QUERY'; - - type Method = (UppercaseMethod | Lowercase) & {}; - - type ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' | 'formdata'; - - type UppercaseResponseEncoding = - | 'ASCII' - | 'ANSI' - | 'BINARY' - | 'BASE64' - | 'BASE64URL' - | 'HEX' - | 'LATIN1' - | 'UCS-2' - | 'UCS2' - | 'UTF-8' - | 'UTF8' - | 'UTF16LE'; - - type responseEncoding = (UppercaseResponseEncoding | Lowercase) & {}; - - interface TransitionalOptions { - silentJSONParsing?: boolean; - forcedJSONParsing?: boolean; - clarifyTimeoutError?: boolean; - legacyInterceptorReqResOrdering?: boolean; - advertiseZstdAcceptEncoding?: boolean; - validateStatusUndefinedResolves?: boolean; - } - - interface GenericAbortSignal { - readonly aborted: boolean; - onabort?: ((...args: any) => any) | null; - addEventListener?: (...args: any) => any; - removeEventListener?: (...args: any) => any; - } - - interface FormDataVisitorHelpers { - defaultVisitor: SerializerVisitor; - convertValue: (value: any) => any; - isVisitable: (value: any) => boolean; - } - - interface SerializerVisitor { - ( - this: GenericFormData, - value: any, - key: string | number, - path: null | Array, - helpers: FormDataVisitorHelpers - ): boolean; - } - - interface SerializerOptions { - visitor?: SerializerVisitor; - dots?: boolean; - metaTokens?: boolean; - indexes?: boolean | null; - maxDepth?: number; - Blob?: { new (...args: any[]): any }; - } - - // tslint:disable-next-line - interface FormSerializerOptions extends SerializerOptions {} - - interface ParamEncoder { - (value: any, defaultEncoder: (value: any) => any): any; - } - - interface CustomParamsSerializer { - (params: Record, options?: ParamsSerializerOptions): string; - } - - interface ParamsSerializerOptions extends SerializerOptions { - encode?: ParamEncoder; - serialize?: CustomParamsSerializer; - } - - type MaxUploadRate = number; - - type MaxDownloadRate = number; - - interface AxiosProgressEvent { - loaded: number; - total?: number; - progress?: number; - bytes: number; - rate?: number; - estimated?: number; - upload?: boolean; - download?: boolean; - event?: BrowserProgressEvent; - lengthComputable: boolean; - } - - type Milliseconds = number; - - type AxiosAdapterName = 'fetch' | 'xhr' | 'http' | (string & {}); - - type AxiosAdapterConfig = AxiosAdapter | AxiosAdapterName; - - type AddressFamily = 4 | 6 | undefined; - - interface LookupAddressEntry { - address: string; - family?: AddressFamily; - } - - type LookupAddress = string | LookupAddressEntry; - - interface AxiosRequestConfig { - url?: string; - method?: Method | string; - baseURL?: string; - allowAbsoluteUrls?: boolean; - transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[]; - transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[]; - headers?: (RawAxiosRequestHeaders & MethodsHeaders) | AxiosHeaders; - params?: any; - paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer; - data?: D; - timeout?: Milliseconds; - timeoutErrorMessage?: string; - withCredentials?: boolean; - adapter?: AxiosAdapterConfig | AxiosAdapterConfig[]; - auth?: AxiosBasicCredentials; - responseType?: ResponseType; - responseEncoding?: responseEncoding | string; - xsrfCookieName?: string; - xsrfHeaderName?: string; - onUploadProgress?: (progressEvent: AxiosProgressEvent) => void; - onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void; - maxContentLength?: number; - validateStatus?: ((status: number) => boolean) | null; - maxBodyLength?: number; - maxRedirects?: number; - maxRate?: number | [MaxUploadRate, MaxDownloadRate]; - beforeRedirect?: ( - options: Record, - responseDetails: { headers: Record; statusCode: HttpStatusCode }, - requestDetails: { headers: Record; url: string; method: string }, - ) => void; - socketPath?: string | null; - allowedSocketPaths?: string | string[] | null; - transport?: any; - httpAgent?: any; - httpsAgent?: any; - proxy?: AxiosProxyConfig | false; - cancelToken?: CancelToken | undefined; - decompress?: boolean; - transitional?: TransitionalOptions; - signal?: GenericAbortSignal; - insecureHTTPParser?: boolean; - env?: { - FormData?: new (...args: any[]) => object; - fetch?: (input: URL | Request | string, init?: RequestInit) => Promise; - Request?: new (input: URL | Request | string, init?: RequestInit) => Request; - Response?: new ( - body?: ArrayBuffer | ArrayBufferView | Blob | FormData | URLSearchParams | string | null, - init?: ResponseInit - ) => Response; - }; - formSerializer?: FormSerializerOptions; - family?: AddressFamily; - lookup?: - | (( - hostname: string, - options: object, - cb: ( - err: Error | null, - address: LookupAddress | LookupAddress[], - family?: AddressFamily - ) => void - ) => void) - | (( - hostname: string, - options: object - ) => Promise< - | [address: LookupAddressEntry | LookupAddressEntry[], family?: AddressFamily] - | LookupAddress - >); - withXSRFToken?: boolean | ((config: InternalAxiosRequestConfig) => boolean | undefined); - parseReviver?: (this: any, key: string, value: any, context?: { source?: string }) => any; - fetchOptions?: - | Omit - | Record; - httpVersion?: 1 | 2; - http2Options?: Record & { - sessionTimeout?: number; - }; - formDataHeaderPolicy?: 'legacy' | 'content-only'; - redact?: string[]; - sensitiveHeaders?: string[]; - } - - // Alias - type RawAxiosRequestConfig = AxiosRequestConfig; - - interface InternalAxiosRequestConfig extends AxiosRequestConfig { - headers: AxiosRequestHeaders; - } - - interface HeadersDefaults { - common: RawAxiosRequestHeaders; - delete: RawAxiosRequestHeaders; - get: RawAxiosRequestHeaders; - head: RawAxiosRequestHeaders; - post: RawAxiosRequestHeaders; - put: RawAxiosRequestHeaders; - patch: RawAxiosRequestHeaders; - options?: RawAxiosRequestHeaders; - purge?: RawAxiosRequestHeaders; - link?: RawAxiosRequestHeaders; - unlink?: RawAxiosRequestHeaders; - query?: RawAxiosRequestHeaders; - } - - interface AxiosDefaults extends Omit, 'headers'> { - headers: HeadersDefaults; - } - - interface CreateAxiosDefaults extends Omit, 'headers'> { - headers?: RawAxiosRequestHeaders | AxiosHeaders | Partial; - } - - interface AxiosResponse { - data: T; - status: number; - statusText: string; - headers: (H & RawAxiosResponseHeaders) | AxiosResponseHeaders; - config: InternalAxiosRequestConfig; - request?: any; - } - - type AxiosPromise = Promise>; - - interface CancelStatic { - new (message?: string): Cancel; - } - - interface Cancel { - message: string | undefined; - } - - interface Canceler { - (message?: string, config?: AxiosRequestConfig, request?: any): void; - } - - interface CancelTokenStatic { - new (executor: (cancel: Canceler) => void): CancelToken; - source(): CancelTokenSource; - } - - interface CancelToken { - promise: Promise; - reason?: Cancel; - throwIfRequested(): void; - subscribe(listener: (cancel: Cancel | any) => void): void; - unsubscribe(listener: (cancel: Cancel | any) => void): void; - toAbortSignal(): AbortSignal; - } - - interface CancelTokenSource { - token: CancelToken; - cancel: Canceler; - } - - interface AxiosInterceptorOptions { - synchronous?: boolean; - runWhen?: ((config: InternalAxiosRequestConfig) => boolean) | null; - } - - type AxiosInterceptorFulfilled = (value: T) => T | Promise; - type AxiosInterceptorRejected = (error: any) => any; - - type AxiosRequestInterceptorUse = ( - onFulfilled?: AxiosInterceptorFulfilled | null, - onRejected?: AxiosInterceptorRejected | null, - options?: AxiosInterceptorOptions - ) => number; - - type AxiosResponseInterceptorUse = ( - onFulfilled?: AxiosInterceptorFulfilled | null, - onRejected?: AxiosInterceptorRejected | null - ) => number; - - interface AxiosInterceptorHandler { - fulfilled: AxiosInterceptorFulfilled; - rejected?: AxiosInterceptorRejected; - synchronous: boolean; - runWhen?: ((config: InternalAxiosRequestConfig) => boolean) | null; - } - - interface AxiosInterceptorManager { - use: V extends AxiosResponse ? AxiosResponseInterceptorUse : AxiosRequestInterceptorUse; - eject(id: number): void; - clear(): void; - handlers?: Array>; - } - - interface AxiosInstance extends Axios { - , D = any>(config: AxiosRequestConfig): Promise; - , D = any>( - url: string, - config?: AxiosRequestConfig - ): Promise; - - create(config?: CreateAxiosDefaults): AxiosInstance; - defaults: Omit & { - headers: HeadersDefaults & { - [key: string]: AxiosHeaderValue; - }; - }; - } - - interface GenericFormData { - append(name: string, value: any, options?: any): any; - } - - interface GenericHTMLFormElement { - name: string; - method: string; - submit(): void; - } - - interface AxiosStatic extends AxiosInstance { - Cancel: typeof CanceledError; - CancelToken: CancelTokenStatic; - Axios: typeof Axios; - AxiosError: typeof AxiosError; - CanceledError: typeof CanceledError; - HttpStatusCode: typeof HttpStatusCode; - readonly VERSION: string; - isCancel(value: any): value is CanceledError; - all(values: Array>): Promise; - spread(callback: (...args: T[]) => R): (array: T[]) => R; - isAxiosError(payload: any): payload is AxiosError; - toFormData( - sourceObj: object, - targetFormData?: GenericFormData, - options?: FormSerializerOptions - ): GenericFormData; - formToJSON(form: GenericFormData | GenericHTMLFormElement): object; - getAdapter(adapters: AxiosAdapterConfig | AxiosAdapterConfig[] | undefined): AxiosAdapter; - AxiosHeaders: typeof AxiosHeaders; - mergeConfig( - config1: AxiosRequestConfig, - config2: AxiosRequestConfig - ): AxiosRequestConfig; - } -} - -declare const axios: axios.AxiosStatic; - -export = axios; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/axios/index.d.ts deleted file mode 100644 index d63aa4f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/index.d.ts +++ /dev/null @@ -1,755 +0,0 @@ -// TypeScript Version: 4.7 -type StringLiteralsOrString = Literals | (string & {}); - -export type AxiosHeaderValue = AxiosHeaders | string | string[] | number | boolean | null; - -export interface RawAxiosHeaders { - [key: string]: AxiosHeaderValue; -} - -type MethodsHeaders = Partial< - { - [Key in Method as Lowercase]: AxiosHeaders; - } & { common: AxiosHeaders } ->; - -type AxiosHeaderMatcher = - | string - | RegExp - | ((this: AxiosHeaders, value: string, name: string) => boolean); - -type AxiosHeaderParser = (this: AxiosHeaders, value: AxiosHeaderValue, header: string) => any; - -export class AxiosHeaders { - constructor(headers?: RawAxiosHeaders | AxiosHeaders | string); - - [key: string]: any; - - set( - headerName?: string, - value?: AxiosHeaderValue, - rewrite?: boolean | AxiosHeaderMatcher - ): AxiosHeaders; - set(headers?: RawAxiosHeaders | AxiosHeaders | string, rewrite?: boolean): AxiosHeaders; - set(headers?: Iterable<[string, AxiosHeaderValue]>, rewrite?: boolean): AxiosHeaders; - - get(headerName: string, parser: RegExp): RegExpExecArray | null; - get(headerName: string, matcher?: true | AxiosHeaderParser): AxiosHeaderValue; - - has(header: string, matcher?: AxiosHeaderMatcher): boolean; - - delete(header: string | string[], matcher?: AxiosHeaderMatcher): boolean; - - clear(matcher?: AxiosHeaderMatcher): boolean; - - normalize(format: boolean): AxiosHeaders; - - concat( - ...targets: Array - ): AxiosHeaders; - - toJSON(asStrings: true): Record; - toJSON(asStrings?: false): Record; - toJSON(asStrings?: boolean): Record; - - static from(thing?: AxiosHeaders | RawAxiosHeaders | string): AxiosHeaders; - - static accessor(header: string | string[]): AxiosHeaders; - - static concat( - ...targets: Array - ): AxiosHeaders; - - setContentType(value: ContentType, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; - getContentType(parser?: RegExp): RegExpExecArray | null; - getContentType(matcher?: AxiosHeaderMatcher): AxiosHeaderValue; - hasContentType(matcher?: AxiosHeaderMatcher): boolean; - - setContentLength(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; - getContentLength(parser?: RegExp): RegExpExecArray | null; - getContentLength(matcher?: AxiosHeaderMatcher): AxiosHeaderValue; - hasContentLength(matcher?: AxiosHeaderMatcher): boolean; - - setAccept(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; - getAccept(parser?: RegExp): RegExpExecArray | null; - getAccept(matcher?: AxiosHeaderMatcher): AxiosHeaderValue; - hasAccept(matcher?: AxiosHeaderMatcher): boolean; - - setUserAgent(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; - getUserAgent(parser?: RegExp): RegExpExecArray | null; - getUserAgent(matcher?: AxiosHeaderMatcher): AxiosHeaderValue; - hasUserAgent(matcher?: AxiosHeaderMatcher): boolean; - - setContentEncoding(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; - getContentEncoding(parser?: RegExp): RegExpExecArray | null; - getContentEncoding(matcher?: AxiosHeaderMatcher): AxiosHeaderValue; - hasContentEncoding(matcher?: AxiosHeaderMatcher): boolean; - - setAuthorization(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders; - getAuthorization(parser?: RegExp): RegExpExecArray | null; - getAuthorization(matcher?: AxiosHeaderMatcher): AxiosHeaderValue; - hasAuthorization(matcher?: AxiosHeaderMatcher): boolean; - - getSetCookie(): string[]; - - toString(): string; - - [Symbol.iterator](): IterableIterator<[string, AxiosHeaderValue]>; -} - -type CommonRequestHeadersList = - | 'Accept' - | 'Content-Length' - | 'User-Agent' - | 'Content-Encoding' - | 'Authorization' - | 'Location'; - -type ContentType = - | AxiosHeaderValue - | 'text/html' - | 'text/plain' - | 'multipart/form-data' - | 'application/json' - | 'application/x-www-form-urlencoded' - | 'application/octet-stream'; - -export type RawAxiosRequestHeaders = Partial< - RawAxiosHeaders & { - [Key in CommonRequestHeadersList]: AxiosHeaderValue; - } & { - 'Content-Type': ContentType; - } ->; - -export type AxiosRequestHeaders = RawAxiosRequestHeaders & AxiosHeaders; - -type CommonResponseHeadersList = - | 'Server' - | 'Content-Type' - | 'Content-Length' - | 'Cache-Control' - | 'Content-Encoding'; - -type CommonResponseHeaderKey = CommonResponseHeadersList | Lowercase; - -type RawCommonResponseHeaders = { - [Key in CommonResponseHeaderKey]: AxiosHeaderValue; -} & { - 'set-cookie': string[]; -}; - -export type RawAxiosResponseHeaders = Partial; - -export type AxiosResponseHeaders = RawAxiosResponseHeaders & AxiosHeaders; - -export interface AxiosRequestTransformer { - (this: InternalAxiosRequestConfig, data: any, headers: AxiosRequestHeaders): any; -} - -export interface AxiosResponseTransformer { - ( - this: InternalAxiosRequestConfig, - data: any, - headers: AxiosResponseHeaders, - status?: number - ): any; -} - -export interface AxiosAdapter { - (config: InternalAxiosRequestConfig): AxiosPromise; -} - -export interface AxiosBasicCredentials { - username: string; - password: string; -} - -export interface AxiosProxyConfig { - host: string; - port: number; - auth?: AxiosBasicCredentials; - protocol?: string; -} - -export enum HttpStatusCode { - Continue = 100, - SwitchingProtocols = 101, - Processing = 102, - EarlyHints = 103, - Ok = 200, - Created = 201, - Accepted = 202, - NonAuthoritativeInformation = 203, - NoContent = 204, - ResetContent = 205, - PartialContent = 206, - MultiStatus = 207, - AlreadyReported = 208, - ImUsed = 226, - MultipleChoices = 300, - MovedPermanently = 301, - Found = 302, - SeeOther = 303, - NotModified = 304, - UseProxy = 305, - Unused = 306, - TemporaryRedirect = 307, - PermanentRedirect = 308, - BadRequest = 400, - Unauthorized = 401, - PaymentRequired = 402, - Forbidden = 403, - NotFound = 404, - MethodNotAllowed = 405, - NotAcceptable = 406, - ProxyAuthenticationRequired = 407, - RequestTimeout = 408, - Conflict = 409, - Gone = 410, - LengthRequired = 411, - PreconditionFailed = 412, - PayloadTooLarge = 413, - UriTooLong = 414, - UnsupportedMediaType = 415, - RangeNotSatisfiable = 416, - ExpectationFailed = 417, - ImATeapot = 418, - MisdirectedRequest = 421, - UnprocessableEntity = 422, - Locked = 423, - FailedDependency = 424, - TooEarly = 425, - UpgradeRequired = 426, - PreconditionRequired = 428, - TooManyRequests = 429, - RequestHeaderFieldsTooLarge = 431, - UnavailableForLegalReasons = 451, - InternalServerError = 500, - NotImplemented = 501, - BadGateway = 502, - ServiceUnavailable = 503, - GatewayTimeout = 504, - HttpVersionNotSupported = 505, - VariantAlsoNegotiates = 506, - InsufficientStorage = 507, - LoopDetected = 508, - NotExtended = 510, - NetworkAuthenticationRequired = 511, - WebServerIsDown = 521, - ConnectionTimedOut = 522, - OriginIsUnreachable = 523, - TimeoutOccurred = 524, - SslHandshakeFailed = 525, - InvalidSslCertificate = 526, -} - -type UppercaseMethod = - | 'GET' - | 'DELETE' - | 'HEAD' - | 'OPTIONS' - | 'POST' - | 'PUT' - | 'PATCH' - | 'PURGE' - | 'LINK' - | 'UNLINK' - | 'QUERY'; - -export type Method = (UppercaseMethod | Lowercase) & {}; - -export type ResponseType = - | 'arraybuffer' - | 'blob' - | 'document' - | 'json' - | 'text' - | 'stream' - | 'formdata'; - -type UppercaseResponseEncoding = - | 'ASCII' - | 'ANSI' - | 'BINARY' - | 'BASE64' - | 'BASE64URL' - | 'HEX' - | 'LATIN1' - | 'UCS-2' - | 'UCS2' - | 'UTF-8' - | 'UTF8' - | 'UTF16LE'; - -export type responseEncoding = ( - | UppercaseResponseEncoding - | Lowercase -) & {}; - -export interface TransitionalOptions { - silentJSONParsing?: boolean; - forcedJSONParsing?: boolean; - clarifyTimeoutError?: boolean; - legacyInterceptorReqResOrdering?: boolean; - advertiseZstdAcceptEncoding?: boolean; - validateStatusUndefinedResolves?: boolean; -} - -export interface GenericAbortSignal { - readonly aborted: boolean; - onabort?: ((...args: any) => any) | null; - addEventListener?: (...args: any) => any; - removeEventListener?: (...args: any) => any; -} - -export interface FormDataVisitorHelpers { - defaultVisitor: SerializerVisitor; - convertValue: (value: any) => any; - isVisitable: (value: any) => boolean; -} - -export interface SerializerVisitor { - ( - this: GenericFormData, - value: any, - key: string | number, - path: null | Array, - helpers: FormDataVisitorHelpers - ): boolean; -} - -export interface SerializerOptions { - visitor?: SerializerVisitor; - dots?: boolean; - metaTokens?: boolean; - indexes?: boolean | null; - maxDepth?: number; - Blob?: { new (...args: any[]): any }; -} - -// tslint:disable-next-line -export interface FormSerializerOptions extends SerializerOptions {} - -export interface ParamEncoder { - (value: any, defaultEncoder: (value: any) => any): any; -} - -export interface CustomParamsSerializer { - (params: Record, options?: ParamsSerializerOptions): string; -} - -export interface ParamsSerializerOptions extends SerializerOptions { - encode?: ParamEncoder; - serialize?: CustomParamsSerializer; -} - -type MaxUploadRate = number; - -type MaxDownloadRate = number; - -type BrowserProgressEvent = any; - -export interface AxiosProgressEvent { - loaded: number; - total?: number; - progress?: number; - bytes: number; - rate?: number; - estimated?: number; - upload?: boolean; - download?: boolean; - event?: BrowserProgressEvent; - lengthComputable: boolean; -} - -type Milliseconds = number; - -type AxiosAdapterName = StringLiteralsOrString<'xhr' | 'http' | 'fetch'>; - -type AxiosAdapterConfig = AxiosAdapter | AxiosAdapterName; - -export type AddressFamily = 4 | 6 | undefined; - -export interface LookupAddressEntry { - address: string; - family?: AddressFamily; -} - -export type LookupAddress = string | LookupAddressEntry; - -export interface AxiosRequestConfig { - url?: string; - method?: StringLiteralsOrString; - baseURL?: string; - allowAbsoluteUrls?: boolean; - transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[]; - transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[]; - headers?: (RawAxiosRequestHeaders & MethodsHeaders) | AxiosHeaders; - params?: any; - paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer; - data?: D; - timeout?: Milliseconds; - timeoutErrorMessage?: string; - withCredentials?: boolean; - adapter?: AxiosAdapterConfig | AxiosAdapterConfig[]; - auth?: AxiosBasicCredentials; - responseType?: ResponseType; - responseEncoding?: StringLiteralsOrString; - xsrfCookieName?: string; - xsrfHeaderName?: string; - onUploadProgress?: (progressEvent: AxiosProgressEvent) => void; - onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void; - maxContentLength?: number; - validateStatus?: ((status: number) => boolean) | null; - maxBodyLength?: number; - maxRedirects?: number; - maxRate?: number | [MaxUploadRate, MaxDownloadRate]; - beforeRedirect?: ( - options: Record, - responseDetails: { - headers: Record; - statusCode: HttpStatusCode; - }, - requestDetails: { - headers: Record; - url: string; - method: string; - }, - ) => void; - socketPath?: string | null; - allowedSocketPaths?: string | string[] | null; - transport?: any; - httpAgent?: any; - httpsAgent?: any; - proxy?: AxiosProxyConfig | false; - cancelToken?: CancelToken | undefined; - decompress?: boolean; - transitional?: TransitionalOptions; - signal?: GenericAbortSignal; - insecureHTTPParser?: boolean; - env?: { - FormData?: new (...args: any[]) => object; - fetch?: (input: URL | Request | string, init?: RequestInit) => Promise; - Request?: new (input: URL | Request | string, init?: RequestInit) => Request; - Response?: new ( - body?: ArrayBuffer | ArrayBufferView | Blob | FormData | URLSearchParams | string | null, - init?: ResponseInit - ) => Response; - }; - formSerializer?: FormSerializerOptions; - family?: AddressFamily; - lookup?: - | (( - hostname: string, - options: object, - cb: ( - err: Error | null, - address: LookupAddress | LookupAddress[], - family?: AddressFamily - ) => void - ) => void) - | (( - hostname: string, - options: object - ) => Promise< - [address: LookupAddressEntry | LookupAddressEntry[], family?: AddressFamily] | LookupAddress - >); - withXSRFToken?: boolean | ((config: InternalAxiosRequestConfig) => boolean | undefined); - parseReviver?: (this: any, key: string, value: any, context?: { source?: string }) => any; - fetchOptions?: Omit | Record; - httpVersion?: 1 | 2; - http2Options?: Record & { - sessionTimeout?: number; - }; - formDataHeaderPolicy?: 'legacy' | 'content-only'; - redact?: string[]; - sensitiveHeaders?: string[]; -} - -// Alias -export type RawAxiosRequestConfig = AxiosRequestConfig; - -export interface InternalAxiosRequestConfig extends AxiosRequestConfig { - headers: AxiosRequestHeaders; -} - -export interface HeadersDefaults { - common: RawAxiosRequestHeaders; - delete: RawAxiosRequestHeaders; - get: RawAxiosRequestHeaders; - head: RawAxiosRequestHeaders; - post: RawAxiosRequestHeaders; - put: RawAxiosRequestHeaders; - patch: RawAxiosRequestHeaders; - options?: RawAxiosRequestHeaders; - purge?: RawAxiosRequestHeaders; - link?: RawAxiosRequestHeaders; - unlink?: RawAxiosRequestHeaders; - query?: RawAxiosRequestHeaders; -} - -export interface AxiosDefaults extends Omit, 'headers'> { - headers: HeadersDefaults; -} - -export interface CreateAxiosDefaults extends Omit, 'headers'> { - headers?: RawAxiosRequestHeaders | AxiosHeaders | Partial; -} - -export interface AxiosResponse { - data: T; - status: number; - statusText: string; - headers: (H & RawAxiosResponseHeaders) | AxiosResponseHeaders; - config: InternalAxiosRequestConfig; - request?: any; -} - -export class AxiosError extends Error { - constructor( - message?: string, - code?: string, - config?: InternalAxiosRequestConfig, - request?: any, - response?: AxiosResponse - ); - - config?: InternalAxiosRequestConfig; - code?: string; - request?: any; - response?: AxiosResponse; - isAxiosError: boolean; - status?: number; - toJSON: () => object; - cause?: Error; - event?: BrowserProgressEvent; - static from( - error: Error | unknown, - code?: string, - config?: InternalAxiosRequestConfig, - request?: any, - response?: AxiosResponse, - customProps?: object - ): AxiosError; - static readonly ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS'; - static readonly ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE'; - static readonly ERR_BAD_OPTION = 'ERR_BAD_OPTION'; - static readonly ERR_NETWORK = 'ERR_NETWORK'; - static readonly ERR_DEPRECATED = 'ERR_DEPRECATED'; - static readonly ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE'; - static readonly ERR_BAD_REQUEST = 'ERR_BAD_REQUEST'; - static readonly ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT'; - static readonly ERR_INVALID_URL = 'ERR_INVALID_URL'; - static readonly ERR_CANCELED = 'ERR_CANCELED'; - static readonly ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED'; - static readonly ECONNABORTED = 'ECONNABORTED'; - static readonly ECONNREFUSED = 'ECONNREFUSED'; - static readonly ETIMEDOUT = 'ETIMEDOUT'; -} - -export class CanceledError extends AxiosError { - constructor(message?: string, config?: InternalAxiosRequestConfig, request?: any); - readonly name: 'CanceledError'; - __CANCEL__?: boolean; -} - -export type AxiosPromise = Promise>; - -export interface CancelStatic { - new (message?: string): Cancel; -} - -export interface Cancel { - message: string | undefined; -} - -export interface Canceler { - (message?: string, config?: AxiosRequestConfig, request?: any): void; -} - -export interface CancelTokenStatic { - new (executor: (cancel: Canceler) => void): CancelToken; - source(): CancelTokenSource; -} - -export interface CancelToken { - promise: Promise; - reason?: Cancel; - throwIfRequested(): void; - subscribe(listener: (cancel: Cancel | any) => void): void; - unsubscribe(listener: (cancel: Cancel | any) => void): void; - toAbortSignal(): AbortSignal; -} - -export interface CancelTokenSource { - token: CancelToken; - cancel: Canceler; -} - -export interface AxiosInterceptorOptions { - synchronous?: boolean; - runWhen?: ((config: InternalAxiosRequestConfig) => boolean) | null; -} - -type AxiosInterceptorFulfilled = (value: T) => T | Promise; -type AxiosInterceptorRejected = (error: any) => any; - -type AxiosRequestInterceptorUse = ( - onFulfilled?: AxiosInterceptorFulfilled | null, - onRejected?: AxiosInterceptorRejected | null, - options?: AxiosInterceptorOptions -) => number; - -type AxiosResponseInterceptorUse = ( - onFulfilled?: AxiosInterceptorFulfilled | null, - onRejected?: AxiosInterceptorRejected | null -) => number; - -interface AxiosInterceptorHandler { - fulfilled: AxiosInterceptorFulfilled; - rejected?: AxiosInterceptorRejected; - synchronous: boolean; - runWhen?: ((config: InternalAxiosRequestConfig) => boolean) | null; -} - -export interface AxiosInterceptorManager { - use: V extends AxiosResponse ? AxiosResponseInterceptorUse : AxiosRequestInterceptorUse; - eject(id: number): void; - clear(): void; - handlers?: Array>; -} - -export class Axios { - constructor(config?: AxiosRequestConfig); - defaults: AxiosDefaults; - interceptors: { - request: AxiosInterceptorManager; - response: AxiosInterceptorManager; - }; - getUri(config?: AxiosRequestConfig): string; - request, D = any>(config: AxiosRequestConfig): Promise; - get, D = any>( - url: string, - config?: AxiosRequestConfig - ): Promise; - delete, D = any>( - url: string, - config?: AxiosRequestConfig - ): Promise; - head, D = any>( - url: string, - config?: AxiosRequestConfig - ): Promise; - options, D = any>( - url: string, - config?: AxiosRequestConfig - ): Promise; - post, D = any>( - url: string, - data?: D, - config?: AxiosRequestConfig - ): Promise; - put, D = any>( - url: string, - data?: D, - config?: AxiosRequestConfig - ): Promise; - patch, D = any>( - url: string, - data?: D, - config?: AxiosRequestConfig - ): Promise; - postForm, D = any>( - url: string, - data?: D, - config?: AxiosRequestConfig - ): Promise; - putForm, D = any>( - url: string, - data?: D, - config?: AxiosRequestConfig - ): Promise; - patchForm, D = any>( - url: string, - data?: D, - config?: AxiosRequestConfig - ): Promise; - query, D = any>( - url: string, - data?: D, - config?: AxiosRequestConfig - ): Promise; -} - -export interface AxiosInstance extends Axios { - , D = any>(config: AxiosRequestConfig): Promise; - , D = any>(url: string, config?: AxiosRequestConfig): Promise; - - create(config?: CreateAxiosDefaults): AxiosInstance; - defaults: Omit & { - headers: HeadersDefaults & { - [key: string]: AxiosHeaderValue; - }; - }; -} - -export interface GenericFormData { - append(name: string, value: any, options?: any): any; -} - -export interface GenericHTMLFormElement { - name: string; - method: string; - submit(): void; -} - -export function getAdapter( - adapters: AxiosAdapterConfig | AxiosAdapterConfig[] | undefined -): AxiosAdapter; - -export function toFormData( - sourceObj: object, - targetFormData?: GenericFormData, - options?: FormSerializerOptions -): GenericFormData; - -export function formToJSON(form: GenericFormData | GenericHTMLFormElement): object; - -export function isAxiosError(payload: any): payload is AxiosError; - -export function spread(callback: (...args: T[]) => R): (array: T[]) => R; - -export function isCancel(value: any): value is CanceledError; - -export function all(values: Array>): Promise; - -export function mergeConfig( - config1: AxiosRequestConfig, - config2: AxiosRequestConfig -): AxiosRequestConfig; - -export function create(config?: CreateAxiosDefaults): AxiosInstance; - -export interface AxiosStatic extends AxiosInstance { - Cancel: typeof CanceledError; - CancelToken: CancelTokenStatic; - Axios: typeof Axios; - AxiosError: typeof AxiosError; - HttpStatusCode: typeof HttpStatusCode; - readonly VERSION: string; - isCancel: typeof isCancel; - all: typeof all; - spread: typeof spread; - isAxiosError: typeof isAxiosError; - toFormData: typeof toFormData; - formToJSON: typeof formToJSON; - getAdapter: typeof getAdapter; - CanceledError: typeof CanceledError; - AxiosHeaders: typeof AxiosHeaders; - mergeConfig: typeof mergeConfig; -} - -declare const axios: AxiosStatic; - -export default axios; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/index.js b/Lombiq.EInvoiceValidator/node_modules/axios/index.js deleted file mode 100644 index 5bc0365..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/index.js +++ /dev/null @@ -1,45 +0,0 @@ -import axios from './lib/axios.js'; - -// This module is intended to unwrap Axios default export as named. -// Keep top-level export same with static properties -// so that it can keep same with es module or cjs -const { - Axios, - AxiosError, - CanceledError, - isCancel, - CancelToken, - VERSION, - all, - Cancel, - isAxiosError, - spread, - toFormData, - AxiosHeaders, - HttpStatusCode, - formToJSON, - getAdapter, - mergeConfig, - create, -} = axios; - -export { - axios as default, - create, - Axios, - AxiosError, - CanceledError, - isCancel, - CancelToken, - VERSION, - all, - Cancel, - isAxiosError, - spread, - toFormData, - AxiosHeaders, - HttpStatusCode, - formToJSON, - getAdapter, - mergeConfig, -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/index.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/index.min.js deleted file mode 100644 index 5e2e6fd..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import axios from"./lib/axios.js";const{Axios:Axios,AxiosError:AxiosError,CanceledError:CanceledError,isCancel:isCancel,CancelToken:CancelToken,VERSION:VERSION,all:all,Cancel:Cancel,isAxiosError:isAxiosError,spread:spread,toFormData:toFormData,AxiosHeaders:AxiosHeaders,HttpStatusCode:HttpStatusCode,formToJSON:formToJSON,getAdapter:getAdapter,mergeConfig:mergeConfig,create:create}=axios;export{axios as default,create,Axios,AxiosError,CanceledError,isCancel,CancelToken,VERSION,all,Cancel,isAxiosError,spread,toFormData,AxiosHeaders,HttpStatusCode,formToJSON,getAdapter,mergeConfig}; -//# sourceMappingURL=/sm/2dad8e7281aecaef500e0dcd8e0bc625a3cf7e6e451163208893bfb54101aa8d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/README.md b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/README.md deleted file mode 100644 index 8d9dd97..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/README.md +++ /dev/null @@ -1,36 +0,0 @@ -# axios // adapters - -The modules under `adapters/` are modules that handle dispatching a request and settling a returned `Promise` once a response is received. - -## Example - -```js -var settle = require('../core/settle'); - -module.exports = function myAdapter(config) { - // At this point: - // - config has been merged with defaults - // - request transformers have already run - // - request interceptors have already run - - // Make the request using config provided - // Upon response settle the Promise - - return new Promise(function (resolve, reject) { - var response = { - data: responseData, - status: request.status, - statusText: request.statusText, - headers: responseHeaders, - config: config, - request: request, - }; - - settle(resolve, reject, response); - - // From here: - // - response transformers will run - // - response interceptors will run - }); -}; -``` diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.js deleted file mode 100644 index aa5da5e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.js +++ /dev/null @@ -1,132 +0,0 @@ -import utils from '../utils.js'; -import httpAdapter from './http.js'; -import xhrAdapter from './xhr.js'; -import * as fetchAdapter from './fetch.js'; -import AxiosError from '../core/AxiosError.js'; - -/** - * Known adapters mapping. - * Provides environment-specific adapters for Axios: - * - `http` for Node.js - * - `xhr` for browsers - * - `fetch` for fetch API-based requests - * - * @type {Object} - */ -const knownAdapters = { - http: httpAdapter, - xhr: xhrAdapter, - fetch: { - get: fetchAdapter.getFetch, - }, -}; - -// Assign adapter names for easier debugging and identification -utils.forEach(knownAdapters, (fn, value) => { - if (fn) { - try { - // Null-proto descriptors so a polluted Object.prototype.get cannot turn - // these data descriptors into accessor descriptors on the way in. - Object.defineProperty(fn, 'name', { __proto__: null, value }); - } catch (e) { - // eslint-disable-next-line no-empty - } - Object.defineProperty(fn, 'adapterName', { __proto__: null, value }); - } -}); - -/** - * Render a rejection reason string for unknown or unsupported adapters - * - * @param {string} reason - * @returns {string} - */ -const renderReason = (reason) => `- ${reason}`; - -/** - * Check if the adapter is resolved (function, null, or false) - * - * @param {Function|null|false} adapter - * @returns {boolean} - */ -const isResolvedHandle = (adapter) => - utils.isFunction(adapter) || adapter === null || adapter === false; - -/** - * Get the first suitable adapter from the provided list. - * Tries each adapter in order until a supported one is found. - * Throws an AxiosError if no adapter is suitable. - * - * @param {Array|string|Function} adapters - Adapter(s) by name or function. - * @param {Object} config - Axios request configuration - * @throws {AxiosError} If no suitable adapter is available - * @returns {Function} The resolved adapter function - */ -function getAdapter(adapters, config) { - adapters = utils.isArray(adapters) ? adapters : [adapters]; - - const { length } = adapters; - let nameOrAdapter; - let adapter; - - const rejectedReasons = {}; - - for (let i = 0; i < length; i++) { - nameOrAdapter = adapters[i]; - let id; - - adapter = nameOrAdapter; - - if (!isResolvedHandle(nameOrAdapter)) { - adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()]; - - if (adapter === undefined) { - throw new AxiosError(`Unknown adapter '${id}'`); - } - } - - if (adapter && (utils.isFunction(adapter) || (adapter = adapter.get(config)))) { - break; - } - - rejectedReasons[id || '#' + i] = adapter; - } - - if (!adapter) { - const reasons = Object.entries(rejectedReasons).map( - ([id, state]) => - `adapter ${id} ` + - (state === false ? 'is not supported by the environment' : 'is not available in the build') - ); - - let s = length - ? reasons.length > 1 - ? 'since :\n' + reasons.map(renderReason).join('\n') - : ' ' + renderReason(reasons[0]) - : 'as no adapter specified'; - - throw new AxiosError( - `There is no suitable adapter to dispatch the request ` + s, - AxiosError.ERR_NOT_SUPPORT - ); - } - - return adapter; -} - -/** - * Exports Axios adapters and utility to resolve an adapter - */ -export default { - /** - * Resolve an adapter from a list of adapter names or functions. - * @type {Function} - */ - getAdapter, - - /** - * Exposes all known adapters - * @type {Object} - */ - adapters: knownAdapters, -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.min.js deleted file mode 100644 index 520d024..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/adapters.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/adapters/adapters.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import utils from"../utils.js";import httpAdapter from"./http.js";import xhrAdapter from"./xhr.js";import*as fetchAdapter from"./fetch.js";import AxiosError from"../core/AxiosError.js";const knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:{get:fetchAdapter.getFetch}};utils.forEach(knownAdapters,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch(t){}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});const renderReason=t=>`- ${t}`,isResolvedHandle=t=>utils.isFunction(t)||null===t||!1===t;function getAdapter(t,e){t=utils.isArray(t)?t:[t];const{length:r}=t;let o,n;const a={};for(let s=0;s`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build"));let e=r?t.length>1?"since :\n"+t.map(renderReason).join("\n"):" "+renderReason(t[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+e,AxiosError.ERR_NOT_SUPPORT)}return n}export default{getAdapter:getAdapter,adapters:knownAdapters}; -//# sourceMappingURL=/sm/2d582753fd2f5e5876b68c29633b8eef32482dbdfad61303237a5b7be43bb781.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.js deleted file mode 100644 index 1a2bfd5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.js +++ /dev/null @@ -1,643 +0,0 @@ -import platform from '../platform/index.js'; -import utils from '../utils.js'; -import AxiosError from '../core/AxiosError.js'; -import composeSignals from '../helpers/composeSignals.js'; -import { trackStream } from '../helpers/trackStream.js'; -import AxiosHeaders from '../core/AxiosHeaders.js'; -import { - progressEventReducer, - progressEventDecorator, - asyncDecorator, -} from '../helpers/progressEventReducer.js'; -import resolveConfig from '../helpers/resolveConfig.js'; -import settle from '../core/settle.js'; -import estimateDataURLDecodedBytes from '../helpers/estimateDataURLDecodedBytes.js'; -import { VERSION } from '../env/data.js'; -import { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js'; - -const DEFAULT_CHUNK_SIZE = 64 * 1024; - -const { isFunction } = utils; - -/** - * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). - * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. - * - * @param {string} str The string to encode - * - * @returns {string} UTF-8 bytes as a Latin-1 string - */ -const encodeUTF8 = (str) => - encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => - String.fromCharCode(parseInt(hex, 16)) - ); - -// Node's WHATWG URL parser returns `username` and `password` percent-encoded. -// Decode before composing the `auth` option so credentials such as -// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the -// original value for malformed input so a bad encoding never throws. -const decodeURIComponentSafe = (value) => { - if (!utils.isString(value)) { - return value; - } - - try { - return decodeURIComponent(value); - } catch (error) { - return value; - } -}; - -const test = (fn, ...args) => { - try { - return !!fn(...args); - } catch (e) { - return false; - } -}; - -const maybeWithAuthCredentials = (url) => { - const protocolIndex = url.indexOf('://'); - let urlToCheck = url; - if (protocolIndex !== -1) { - urlToCheck = urlToCheck.slice(protocolIndex + 3); - } - return urlToCheck.includes('@') || urlToCheck.includes(':'); -}; - -const factory = (env) => { - const globalObject = - utils.global !== undefined && utils.global !== null - ? utils.global - : globalThis; - const { ReadableStream, TextEncoder } = globalObject; - - env = utils.merge.call( - { - skipUndefined: true, - }, - { - Request: globalObject.Request, - Response: globalObject.Response, - }, - env - ); - - const { fetch: envFetch, Request, Response } = env; - const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function'; - const isRequestSupported = isFunction(Request); - const isResponseSupported = isFunction(Response); - - if (!isFetchSupported) { - return false; - } - - const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream); - - const encodeText = - isFetchSupported && - (typeof TextEncoder === 'function' - ? ( - (encoder) => (str) => - encoder.encode(str) - )(new TextEncoder()) - : async (str) => new Uint8Array(await new Request(str).arrayBuffer())); - - const supportsRequestStream = - isRequestSupported && - isReadableStreamSupported && - test(() => { - let duplexAccessed = false; - - const request = new Request(platform.origin, { - body: new ReadableStream(), - method: 'POST', - get duplex() { - duplexAccessed = true; - return 'half'; - }, - }); - - const hasContentType = request.headers.has('Content-Type'); - - if (request.body != null) { - request.body.cancel(); - } - - return duplexAccessed && !hasContentType; - }); - - const supportsResponseStream = - isResponseSupported && - isReadableStreamSupported && - test(() => utils.isReadableStream(new Response('').body)); - - const resolvers = { - stream: supportsResponseStream && ((res) => res.body), - }; - - isFetchSupported && - (() => { - ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => { - !resolvers[type] && - (resolvers[type] = (res, config) => { - let method = res && res[type]; - - if (method) { - return method.call(res); - } - - throw new AxiosError( - `Response type '${type}' is not supported`, - AxiosError.ERR_NOT_SUPPORT, - config - ); - }); - }); - })(); - - const getBodyLength = async (body) => { - if (body == null) { - return 0; - } - - if (utils.isBlob(body)) { - return body.size; - } - - if (utils.isSpecCompliantForm(body)) { - const _request = new Request(platform.origin, { - method: 'POST', - body, - }); - return (await _request.arrayBuffer()).byteLength; - } - - if (utils.isArrayBufferView(body) || utils.isArrayBuffer(body)) { - return body.byteLength; - } - - if (utils.isURLSearchParams(body)) { - body = body + ''; - } - - if (utils.isString(body)) { - return (await encodeText(body)).byteLength; - } - }; - - const resolveBodyLength = async (headers, body) => { - const length = utils.toFiniteNumber(headers.getContentLength()); - - return length == null ? getBodyLength(body) : length; - }; - - return async (config) => { - let { - url, - method, - data, - signal, - cancelToken, - timeout, - onDownloadProgress, - onUploadProgress, - responseType, - headers, - withCredentials = 'same-origin', - fetchOptions, - maxContentLength, - maxBodyLength, - } = resolveConfig(config); - - const hasMaxContentLength = utils.isNumber(maxContentLength) && maxContentLength > -1; - const hasMaxBodyLength = utils.isNumber(maxBodyLength) && maxBodyLength > -1; - const own = (key) => (utils.hasOwnProp(config, key) ? config[key] : undefined); - - let _fetch = envFetch || fetch; - - responseType = responseType ? (responseType + '').toLowerCase() : 'text'; - - let composedSignal = composeSignals( - [signal, cancelToken && cancelToken.toAbortSignal()], - timeout - ); - - let request = null; - - const unsubscribe = - composedSignal && - composedSignal.unsubscribe && - (() => { - composedSignal.unsubscribe(); - }); - - let requestContentLength; - - // AxiosError we raise while the request body is being streamed. Captured - // by identity so the catch block can surface it directly, regardless of - // how the runtime wraps the resulting fetch rejection (undici exposes it - // as `err.cause`; some browsers drop the original error entirely). - let pendingBodyError = null; - - const maxBodyLengthError = () => - new AxiosError( - 'Request body larger than maxBodyLength limit', - AxiosError.ERR_BAD_REQUEST, - config, - request - ); - - try { - // HTTP basic authentication - let auth = undefined; - const configAuth = own('auth'); - - if (configAuth) { - const username = utils.getSafeProp(configAuth, 'username') || ''; - const password = utils.getSafeProp(configAuth, 'password') || ''; - auth = { - username, - password - }; - } - - if (maybeWithAuthCredentials(url)) { - const parsedURL = new URL(url, platform.origin); - - if (!auth && (parsedURL.username || parsedURL.password)) { - const urlUsername = decodeURIComponentSafe(parsedURL.username); - const urlPassword = decodeURIComponentSafe(parsedURL.password); - auth = { - username: urlUsername, - password: urlPassword - }; - } - - if (parsedURL.username || parsedURL.password) { - parsedURL.username = ''; - parsedURL.password = ''; - url = parsedURL.href; - } - } - - if (auth) { - headers.delete('authorization'); - headers.set( - 'Authorization', - 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || ''))) - ); - } - - // Enforce maxContentLength for data: URLs up-front so we never materialize - // an oversized payload. The HTTP adapter applies the same check (see http.js - // "if (protocol === 'data:')" branch). - if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) { - const estimated = estimateDataURLDecodedBytes(url); - if (estimated > maxContentLength) { - throw new AxiosError( - 'maxContentLength size of ' + maxContentLength + ' exceeded', - AxiosError.ERR_BAD_RESPONSE, - config, - request - ); - } - } - - // Enforce maxBodyLength against known-size bodies before dispatch using - // the body's *actual* size — never a caller-declared Content-Length, - // which could under-report to slip an oversized body past the check. - // Unknown-size streams return undefined here and are counted per-chunk - // below as fetch consumes them. - if (hasMaxBodyLength && method !== 'get' && method !== 'head') { - const outboundLength = await getBodyLength(data); - if (typeof outboundLength === 'number' && isFinite(outboundLength)) { - requestContentLength = outboundLength; - if (outboundLength > maxBodyLength) { - throw maxBodyLengthError(); - } - } - } - - // A streamed body under maxBodyLength must be counted as fetch consumes - // it; its size is never trusted from a caller-declared Content-Length. - const mustEnforceStreamBody = - hasMaxBodyLength && (utils.isReadableStream(data) || utils.isStream(data)); - - const trackRequestStream = (stream, onProgress, flush) => - trackStream( - stream, - DEFAULT_CHUNK_SIZE, - (loadedBytes) => { - if (hasMaxBodyLength && loadedBytes > maxBodyLength) { - throw (pendingBodyError = maxBodyLengthError()); - } - onProgress && onProgress(loadedBytes); - }, - flush - ); - - if ( - supportsRequestStream && - method !== 'get' && - method !== 'head' && - (onUploadProgress || mustEnforceStreamBody) - ) { - requestContentLength = - requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength; - - // A declared length of 0 is only trusted to skip the wrap when we are - // not enforcing a stream limit (which must not rely on that header). - if (requestContentLength !== 0 || mustEnforceStreamBody) { - let _request = new Request(url, { - method: 'POST', - body: data, - duplex: 'half', - }); - - let contentTypeHeader; - - if (utils.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) { - headers.setContentType(contentTypeHeader); - } - - if (_request.body) { - const [onProgress, flush] = - (onUploadProgress && - progressEventDecorator( - requestContentLength, - progressEventReducer(asyncDecorator(onUploadProgress)) - )) || - []; - - data = trackRequestStream(_request.body, onProgress, flush); - } - } - } else if ( - mustEnforceStreamBody && - !isRequestSupported && - isReadableStreamSupported && - method !== 'get' && - method !== 'head' - ) { - data = trackRequestStream(data); - } else if ( - mustEnforceStreamBody && - isRequestSupported && - !supportsRequestStream && - method !== 'get' && - method !== 'head' - ) { - throw new AxiosError( - 'Stream request bodies are not supported by the current fetch implementation', - AxiosError.ERR_NOT_SUPPORT, - config, - request - ); - } - - if (!utils.isString(withCredentials)) { - withCredentials = withCredentials ? 'include' : 'omit'; - } - - // Cloudflare Workers throws when credentials are defined - // see https://github.com/cloudflare/workerd/issues/902 - const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype; - - // If data is FormData and Content-Type is multipart/form-data without boundary, - // delete it so fetch can set it correctly with the boundary - if (utils.isFormData(data)) { - const contentType = headers.getContentType(); - if ( - contentType && - /^multipart\/form-data/i.test(contentType) && - !/boundary=/i.test(contentType) - ) { - headers.delete('content-type'); - } - } - - // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js) - headers.set('User-Agent', 'axios/' + VERSION, false); - - const resolvedOptions = { - ...fetchOptions, - signal: composedSignal, - method: method.toUpperCase(), - headers: toByteStringHeaderObject(headers.normalize()), - body: data, - duplex: 'half', - credentials: isCredentialsSupported ? withCredentials : undefined, - }; - - request = isRequestSupported && new Request(url, resolvedOptions); - - let response = await (isRequestSupported - ? _fetch(request, fetchOptions) - : _fetch(url, resolvedOptions)); - - const responseHeaders = AxiosHeaders.from(response.headers); - - // Cheap pre-check: if the server honestly declares a content-length that - // already exceeds the cap, reject before we start streaming. - if (hasMaxContentLength) { - const declaredLength = utils.toFiniteNumber(responseHeaders.getContentLength()); - if (declaredLength != null && declaredLength > maxContentLength) { - throw new AxiosError( - 'maxContentLength size of ' + maxContentLength + ' exceeded', - AxiosError.ERR_BAD_RESPONSE, - config, - request - ); - } - } - - const isStreamResponse = - supportsResponseStream && (responseType === 'stream' || responseType === 'response'); - - if ( - supportsResponseStream && - response.body && - (onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe)) - ) { - const options = {}; - - ['status', 'statusText', 'headers'].forEach((prop) => { - options[prop] = response[prop]; - }); - - const responseContentLength = utils.toFiniteNumber(responseHeaders.getContentLength()); - - const [onProgress, flush] = - (onDownloadProgress && - progressEventDecorator( - responseContentLength, - progressEventReducer(asyncDecorator(onDownloadProgress), true) - )) || - []; - - let bytesRead = 0; - const onChunkProgress = (loadedBytes) => { - if (hasMaxContentLength) { - bytesRead = loadedBytes; - if (bytesRead > maxContentLength) { - throw new AxiosError( - 'maxContentLength size of ' + maxContentLength + ' exceeded', - AxiosError.ERR_BAD_RESPONSE, - config, - request - ); - } - } - onProgress && onProgress(loadedBytes); - }; - - response = new Response( - trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => { - flush && flush(); - unsubscribe && unsubscribe(); - }), - options - ); - } - - responseType = responseType || 'text'; - - let responseData = await resolvers[utils.findKey(resolvers, responseType) || 'text']( - response, - config - ); - - // Fallback enforcement for environments without ReadableStream support - // (legacy runtimes). Detect materialized size from typed output; skip - // streams/Response passthrough since the user will read those themselves. - if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) { - let materializedSize; - if (responseData != null) { - if (typeof responseData.byteLength === 'number') { - materializedSize = responseData.byteLength; - } else if (typeof responseData.size === 'number') { - materializedSize = responseData.size; - } else if (typeof responseData === 'string') { - materializedSize = - typeof TextEncoder === 'function' - ? new TextEncoder().encode(responseData).byteLength - : responseData.length; - } - } - if (typeof materializedSize === 'number' && materializedSize > maxContentLength) { - throw new AxiosError( - 'maxContentLength size of ' + maxContentLength + ' exceeded', - AxiosError.ERR_BAD_RESPONSE, - config, - request - ); - } - } - - !isStreamResponse && unsubscribe && unsubscribe(); - - return await new Promise((resolve, reject) => { - settle(resolve, reject, { - data: responseData, - headers: AxiosHeaders.from(response.headers), - status: response.status, - statusText: response.statusText, - config, - request, - }); - }); - } catch (err) { - unsubscribe && unsubscribe(); - - // Safari can surface fetch aborts as a DOMException-like object whose - // branded getters throw. Prefer our composed signal reason before reading - // the caught error, preserving timeout vs cancellation semantics. - if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError) { - const canceledError = composedSignal.reason; - canceledError.config = config; - request && (canceledError.request = request); - if (err !== canceledError) { - // Non-enumerable to match native Error `cause` semantics so loggers - // don't recurse into circular fetch internals (see #7205). - Object.defineProperty(canceledError, 'cause', { - __proto__: null, - value: err, - writable: true, - enumerable: false, - configurable: true, - }); - } - throw canceledError; - } - - // Surface a maxBodyLength violation we raised while the request body was - // being streamed. Matching by identity (rather than reading - // `err.cause.isAxiosError`) keeps the error deterministic across runtimes - // and avoids both prototype-pollution reads and mis-attributing a foreign - // AxiosError that merely happened to land in `err.cause`. - if (pendingBodyError) { - request && !pendingBodyError.request && (pendingBodyError.request = request); - throw pendingBodyError; - } - - // Re-throw AxiosErrors we raised synchronously (data: URL / content-length - // pre-checks, response size enforcement) without re-wrapping them. - if (err instanceof AxiosError) { - request && !err.request && (err.request = request); - throw err; - } - - if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) { - const networkError = new AxiosError( - 'Network Error', - AxiosError.ERR_NETWORK, - config, - request, - err && err.response - ); - // Non-enumerable to match native Error `cause` semantics so loggers - // don't recurse into circular fetch internals (see #7205). - Object.defineProperty(networkError, 'cause', { - __proto__: null, - value: err.cause || err, - writable: true, - enumerable: false, - configurable: true, - }); - throw networkError; - } - - throw AxiosError.from(err, err && err.code, config, request, err && err.response); - } - }; -}; - -const seedCache = new Map(); - -export const getFetch = (config) => { - let env = (config && config.env) || {}; - const { fetch, Request, Response } = env; - const seeds = [Request, Response, fetch]; - - let len = seeds.length, - i = len, - seed, - target, - map = seedCache; - - while (i--) { - seed = seeds[i]; - target = map.get(seed); - - target === undefined && map.set(seed, (target = i ? new Map() : factory(env))); - - map = target; - } - - return target; -}; - -const adapter = getFetch(); - -export default adapter; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.min.js deleted file mode 100644 index 87c2f23..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/fetch.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/adapters/fetch.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import platform from"../platform/index.js";import utils from"../utils.js";import AxiosError from"../core/AxiosError.js";import composeSignals from"../helpers/composeSignals.js";import{trackStream}from"../helpers/trackStream.js";import AxiosHeaders from"../core/AxiosHeaders.js";import{progressEventReducer,progressEventDecorator,asyncDecorator}from"../helpers/progressEventReducer.js";import resolveConfig from"../helpers/resolveConfig.js";import settle from"../core/settle.js";import estimateDataURLDecodedBytes from"../helpers/estimateDataURLDecodedBytes.js";import{VERSION}from"../env/data.js";import{toByteStringHeaderObject}from"../helpers/sanitizeHeaderValue.js";const DEFAULT_CHUNK_SIZE=65536,{isFunction:isFunction}=utils,encodeUTF8=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),decodeURIComponentSafe=e=>{if(!utils.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},test=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},maybeWithAuthCredentials=e=>{const t=e.indexOf("://");let r=e;return-1!==t&&(r=r.slice(t+3)),r.includes("@")||r.includes(":")},factory=e=>{const t=void 0!==utils.global&&null!==utils.global?utils.global:globalThis,{ReadableStream:r,TextEncoder:o}=t;e=utils.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:s,Request:n,Response:i}=e,a=s?isFunction(s):"function"==typeof fetch,l=isFunction(n),u=isFunction(i);if(!a)return!1;const c=a&&isFunction(r),d=a&&("function"==typeof o?(f=new o,e=>f.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var f;const m=l&&c&&test(()=>{let e=!1;const t=new n(platform.origin,{body:new r,method:"POST",get duplex(){return e=!0,"half"}}),o=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!o}),p=u&&c&&test(()=>utils.isReadableStream(new i("").body)),h={stream:p&&(e=>e.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!h[e]&&(h[e]=(t,r)=>{let o=t&&t[e];if(o)return o.call(t);throw new AxiosError(`Response type '${e}' is not supported`,AxiosError.ERR_NOT_SUPPORT,r)})});const g=async e=>{if(null==e)return 0;if(utils.isBlob(e))return e.size;if(utils.isSpecCompliantForm(e)){const t=new n(platform.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return utils.isArrayBufferView(e)||utils.isArrayBuffer(e)?e.byteLength:(utils.isURLSearchParams(e)&&(e+=""),utils.isString(e)?(await d(e)).byteLength:void 0)};return async e=>{let{url:t,method:r,data:a,signal:u,cancelToken:d,timeout:f,onDownloadProgress:y,onUploadProgress:b,responseType:w,headers:E,withCredentials:R="same-origin",fetchOptions:x,maxContentLength:S,maxBodyLength:A}=resolveConfig(e);const C=utils.isNumber(S)&&S>-1,_=utils.isNumber(A)&&A>-1;let L=s||fetch;w=w?(w+"").toLowerCase():"text";let T=composeSignals([u,d&&d.toAbortSignal()],f),D=null;const U=T&&T.unsubscribe&&(()=>{T.unsubscribe()});let v,O=null;const P=()=>new AxiosError("Request body larger than maxBodyLength limit",AxiosError.ERR_BAD_REQUEST,e,D);try{let s;const u=(B="auth",utils.hasOwnProp(e,B)?e[B]:void 0);if(u){const e=utils.getSafeProp(u,"username")||"";s={username:e,password:utils.getSafeProp(u,"password")||""}}if(maybeWithAuthCredentials(t)){const e=new URL(t,platform.origin);if(!s&&(e.username||e.password)){const t=decodeURIComponentSafe(e.username);s={username:t,password:decodeURIComponentSafe(e.password)}}(e.username||e.password)&&(e.username="",e.password="",t=e.href)}if(s&&(E.delete("authorization"),E.set("Authorization","Basic "+btoa(encodeUTF8((s.username||"")+":"+(s.password||""))))),C&&"string"==typeof t&&t.startsWith("data:")){if(estimateDataURLDecodedBytes(t)>S)throw new AxiosError("maxContentLength size of "+S+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,D)}if(_&&"get"!==r&&"head"!==r){const e=await g(a);if("number"==typeof e&&isFinite(e)&&(v=e,e>A))throw P()}const d=_&&(utils.isReadableStream(a)||utils.isStream(a)),f=(e,t,r)=>trackStream(e,65536,e=>{if(_&&e>A)throw O=P();t&&t(e)},r);if(m&&"get"!==r&&"head"!==r&&(b||d)){if(v=null==v?await(async(e,t)=>{const r=utils.toFiniteNumber(e.getContentLength());return null==r?g(t):r})(E,a):v,0!==v||d){let e,r=new n(t,{method:"POST",body:a,duplex:"half"});if(utils.isFormData(a)&&(e=r.headers.get("content-type"))&&E.setContentType(e),r.body){const[e,t]=b&&progressEventDecorator(v,progressEventReducer(asyncDecorator(b)))||[];a=f(r.body,e,t)}}}else if(d&&!l&&c&&"get"!==r&&"head"!==r)a=f(a);else if(d&&l&&!m&&"get"!==r&&"head"!==r)throw new AxiosError("Stream request bodies are not supported by the current fetch implementation",AxiosError.ERR_NOT_SUPPORT,e,D);utils.isString(R)||(R=R?"include":"omit");const F=l&&"credentials"in n.prototype;if(utils.isFormData(a)){const e=E.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&E.delete("content-type")}E.set("User-Agent","axios/"+VERSION,!1);const j={...x,signal:T,method:r.toUpperCase(),headers:toByteStringHeaderObject(E.normalize()),body:a,duplex:"half",credentials:F?R:void 0};D=l&&new n(t,j);let N=await(l?L(D,x):L(t,j));const q=AxiosHeaders.from(N.headers);if(C){const t=utils.toFiniteNumber(q.getContentLength());if(null!=t&&t>S)throw new AxiosError("maxContentLength size of "+S+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,D)}const z=p&&("stream"===w||"response"===w);if(p&&N.body&&(y||C||z&&U)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=N[e]});const r=utils.toFiniteNumber(q.getContentLength()),[o,s]=y&&progressEventDecorator(r,progressEventReducer(asyncDecorator(y),!0))||[];let n=0;const a=t=>{if(C&&(n=t,n>S))throw new AxiosError("maxContentLength size of "+S+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,D);o&&o(t)};N=new i(trackStream(N.body,65536,a,()=>{s&&s(),U&&U()}),t)}w=w||"text";let I=await h[utils.findKey(h,w)||"text"](N,e);if(C&&!p&&!z){let t;if(null!=I&&("number"==typeof I.byteLength?t=I.byteLength:"number"==typeof I.size?t=I.size:"string"==typeof I&&(t="function"==typeof o?(new o).encode(I).byteLength:I.length)),"number"==typeof t&&t>S)throw new AxiosError("maxContentLength size of "+S+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,D)}return!z&&U&&U(),await new Promise((t,r)=>{settle(t,r,{data:I,headers:AxiosHeaders.from(N.headers),status:N.status,statusText:N.statusText,config:e,request:D})})}catch(t){if(U&&U(),T&&T.aborted&&T.reason instanceof AxiosError){const r=T.reason;throw r.config=e,D&&(r.request=D),t!==r&&Object.defineProperty(r,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),r}if(O)throw D&&!O.request&&(O.request=D),O;if(t instanceof AxiosError)throw D&&!t.request&&(t.request=D),t;if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)){const r=new AxiosError("Network Error",AxiosError.ERR_NETWORK,e,D,t&&t.response);throw Object.defineProperty(r,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),r}throw AxiosError.from(t,t&&t.code,e,D,t&&t.response)}var B}},seedCache=new Map;export const getFetch=e=>{let t=e&&e.env||{};const{fetch:r,Request:o,Response:s}=t,n=[o,s,r];let i,a,l=n.length,u=seedCache;for(;l--;)i=n[l],a=u.get(i),void 0===a&&u.set(i,a=l?new Map:factory(t)),u=a;return a};const adapter=getFetch();export default adapter; -//# sourceMappingURL=/sm/23f125ab1d4edfe067d62d3fec92f37382a0cbc90020cfbd26a55f8bb4eb625f.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.js deleted file mode 100644 index c016fc0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.js +++ /dev/null @@ -1,1417 +0,0 @@ -import utils from '../utils.js'; -import settle from '../core/settle.js'; -import buildFullPath from '../core/buildFullPath.js'; -import buildURL from '../helpers/buildURL.js'; -import { getProxyForUrl } from 'proxy-from-env'; -import HttpsProxyAgent from 'https-proxy-agent'; -import http from 'http'; -import https from 'https'; -import http2 from 'http2'; -import util from 'util'; -import { resolve as resolvePath } from 'path'; -import followRedirects from 'follow-redirects'; -import zlib from 'zlib'; -import { VERSION } from '../env/data.js'; -import transitionalDefaults from '../defaults/transitional.js'; -import AxiosError from '../core/AxiosError.js'; -import CanceledError from '../cancel/CanceledError.js'; -import platform from '../platform/index.js'; -import fromDataURI from '../helpers/fromDataURI.js'; -import stream from 'stream'; -import AxiosHeaders from '../core/AxiosHeaders.js'; -import AxiosTransformStream from '../helpers/AxiosTransformStream.js'; -import { EventEmitter } from 'events'; -import formDataToStream from '../helpers/formDataToStream.js'; -import readBlob from '../helpers/readBlob.js'; -import ZlibHeaderTransformStream from '../helpers/ZlibHeaderTransformStream.js'; -import Http2Sessions from '../helpers/Http2Sessions.js'; -import callbackify from '../helpers/callbackify.js'; -import shouldBypassProxy from '../helpers/shouldBypassProxy.js'; -import { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js'; -import { - progressEventReducer, - progressEventDecorator, - asyncDecorator, -} from '../helpers/progressEventReducer.js'; -import estimateDataURLDecodedBytes from '../helpers/estimateDataURLDecodedBytes.js'; - -const zlibOptions = { - flush: zlib.constants.Z_SYNC_FLUSH, - finishFlush: zlib.constants.Z_SYNC_FLUSH, -}; - -const brotliOptions = { - flush: zlib.constants.BROTLI_OPERATION_FLUSH, - finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH, -}; - -const zstdOptions = { - flush: zlib.constants.ZSTD_e_flush, - finishFlush: zlib.constants.ZSTD_e_flush, -}; - -const isBrotliSupported = utils.isFunction(zlib.createBrotliDecompress); -const isZstdSupported = utils.isFunction(zlib.createZstdDecompress); -const ACCEPT_ENCODING = 'gzip, compress, deflate' + (isBrotliSupported ? ', br' : ''); -const ACCEPT_ENCODING_WITH_ZSTD = ACCEPT_ENCODING + (isZstdSupported ? ', zstd' : ''); - -const { http: httpFollow, https: httpsFollow } = followRedirects; - -const isHttps = /https:?/; -const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length']; - -function setFormDataHeaders(headers, formHeaders, policy) { - if (policy !== 'content-only') { - headers.set(formHeaders); - return; - } - - Object.entries(formHeaders).forEach(([key, val]) => { - if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) { - headers.set(key, val); - } - }); -} - -// Symbols used to bind a single 'error' listener to a pooled socket and track -// the request currently owning that socket across keep-alive reuse (issue #10780). -const kAxiosSocketListener = Symbol('axios.http.socketListener'); -const kAxiosCurrentReq = Symbol('axios.http.currentReq'); - -// Tags HttpsProxyAgent instances installed by setProxy() so the redirect path -// can strip them without clobbering a user-supplied agent that happens to be -// an HttpsProxyAgent. -const kAxiosInstalledTunnel = Symbol('axios.http.installedTunnel'); - -// Cache of CONNECT-tunneling agents keyed by proxy config so repeat requests -// through the same proxy reuse a single agent (and its socket pool). The -// keyspace is bounded by the set of distinct proxy configs the process uses, -// so unbounded growth is not a concern in practice. -const tunnelingAgentCache = new Map(); -const tunnelingAgentCacheUser = new WeakMap(); -// Minimum minor versions where Node's HTTP Agent supports native proxyEnv -// handling. Checking the selected agent below also covers startup modes such -// as NODE_OPTIONS=--use-env-proxy and --no-use-env-proxy precedence. -const NODE_NATIVE_ENV_PROXY_SUPPORT = { - 22: 21, - 24: 5, -}; - -function isNodeNativeEnvProxySupported(nodeVersion = process.versions && process.versions.node) { - if (!nodeVersion) { - return false; - } - - const [major, minor] = nodeVersion.split('.').map((part) => Number(part)); - - if (!Number.isInteger(major) || !Number.isInteger(minor)) { - return false; - } - - if (major > 24) { - return true; - } - - return ( - NODE_NATIVE_ENV_PROXY_SUPPORT[major] != null && minor >= NODE_NATIVE_ENV_PROXY_SUPPORT[major] - ); -} - -function isNodeEnvProxyEnabled(agent, nodeVersion = process.versions && process.versions.node) { - if (!isNodeNativeEnvProxySupported(nodeVersion)) { - return false; - } - - const agentOptions = agent && agent.options; - - return Boolean( - agentOptions && - utils.hasOwnProp(agentOptions, 'proxyEnv') && - agentOptions.proxyEnv != null - ); -} - -function getProxyEnvAgent(options, configHttpAgent, configHttpsAgent) { - return isHttps.test(options.protocol) - ? (configHttpsAgent || https.globalAgent) - : (configHttpAgent || http.globalAgent); -} - -function getTunnelingAgent(agentOptions, userHttpsAgent) { - const key = - agentOptions.protocol + - '//' + - agentOptions.hostname + - ':' + - (agentOptions.port || '') + - '#' + - (agentOptions.auth || ''); - const cache = userHttpsAgent - ? (tunnelingAgentCacheUser.get(userHttpsAgent) || - tunnelingAgentCacheUser.set(userHttpsAgent, new Map()).get(userHttpsAgent)) - : tunnelingAgentCache; - let agent = cache.get(key); - if (agent) return agent; - // Forward the user's TLS options (custom CA, rejectUnauthorized, client cert, - // etc.) into the tunneling agent so they apply to the origin TLS upgrade - // performed after CONNECT. Our proxy fields take precedence on conflict. - const merged = userHttpsAgent && userHttpsAgent.options - ? { ...userHttpsAgent.options, ...agentOptions } - : agentOptions; - agent = new HttpsProxyAgent(merged); - if (userHttpsAgent && userHttpsAgent.options) { - const originTLSOptions = { ...userHttpsAgent.options }; - const callback = agent.callback; - agent.callback = function axiosTunnelingAgentCallback(req, opts) { - // HttpsProxyAgent v5 reads callback opts for the post-CONNECT origin TLS upgrade. - return callback.call(this, req, { ...originTLSOptions, ...opts }); - }; - } - agent[kAxiosInstalledTunnel] = true; - cache.set(key, agent); - return agent; -} - -const supportedProtocols = platform.protocols.map((protocol) => { - return protocol + ':'; -}); - -// Node's WHATWG URL parser returns `username` and `password` percent-encoded. -// Decode before composing the `auth` option so credentials such as -// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the -// original value for malformed input so a bad encoding never throws. -const decodeURIComponentSafe = (value) => { - if (!utils.isString(value)) { - return value; - } - - try { - return decodeURIComponent(value); - } catch (error) { - return value; - } -}; - -const flushOnFinish = (stream, [throttled, flush]) => { - stream.on('end', flush).on('error', flush); - - return throttled; -}; - -const http2Sessions = new Http2Sessions(); - -/** - * If the proxy, auth, sensitive header, or config beforeRedirects functions are defined, - * call them with the options object. - * - * @param {Object} options - The options object that was passed to the request. - * - * @returns {Object} - */ -function dispatchBeforeRedirect(options, responseDetails, requestDetails) { - if (options.beforeRedirects.proxy) { - options.beforeRedirects.proxy(options); - } - if (options.beforeRedirects.auth) { - options.beforeRedirects.auth(options); - } - if (options.beforeRedirects.sensitiveHeaders) { - options.beforeRedirects.sensitiveHeaders(options, requestDetails); - } - if (options.beforeRedirects.config) { - options.beforeRedirects.config(options, responseDetails, requestDetails); - } -} - -function stripMatchingHeaders(headers, sensitiveSet) { - if (!headers) { - return; - } - - Object.keys(headers).forEach((header) => { - if (sensitiveSet.has(header.toLowerCase())) { - delete headers[header]; - } - }); -} - -function isSameOriginRedirect(redirectOptions, requestDetails) { - if (!requestDetails) { - return false; - } - - try { - return new URL(requestDetails.url).origin === new URL(redirectOptions.href).origin; - } catch (e) { - // If origin comparison fails, treat the redirect as unsafe. - return false; - } -} - -/** - * If the proxy or config afterRedirects functions are defined, call them with the options - * - * @param {http.ClientRequestArgs} options - * @param {AxiosProxyConfig} configProxy configuration from Axios options object - * @param {string} location - * - * @returns {http.ClientRequestArgs} - */ -function setProxy(options, configProxy, location, isRedirect, configHttpsAgent, configHttpAgent) { - let proxy = configProxy; - const proxyEnvAgent = getProxyEnvAgent(options, configHttpAgent, configHttpsAgent); - if (!proxy && proxy !== false && !isNodeEnvProxyEnabled(proxyEnvAgent)) { - const proxyUrl = getProxyForUrl(location); - if (proxyUrl) { - if (!shouldBypassProxy(location)) { - proxy = new URL(proxyUrl); - } - } - } - // On redirect re-invocation, strip any stale Proxy-Authorization header carried - // over from the prior request (e.g. new target no longer uses a proxy, or uses - // a different proxy). Skip on the initial request so user-supplied headers are - // preserved. Header names are case-insensitive, so remove every case variant. - if (isRedirect && options.headers) { - for (const name of Object.keys(options.headers)) { - if (name.toLowerCase() === 'proxy-authorization') { - delete options.headers[name]; - } - } - } - // Strip any tunneling agent we installed for the previous hop so a redirect - // that drops the proxy or crosses an HTTPS↔HTTP boundary doesn't reuse a - // stale one. Match on our Symbol marker so a user-supplied HttpsProxyAgent - // (which won't carry the marker) is left alone. - if (isRedirect && options.agent && options.agent[kAxiosInstalledTunnel]) { - options.agent = undefined; - } - if (proxy) { - // Read proxy fields without traversing the prototype chain. URL instances expose - // username/password/hostname/host/port/protocol via getters on URL.prototype (so - // direct reads are shielded), but plain object proxies — and the `auth` field - // (which URL does not expose) — must be guarded so a polluted Object.prototype - // (e.g. Object.prototype.auth = { username, password }) cannot inject - // attacker-controlled credentials into the Proxy-Authorization header or - // redirect proxying to an attacker-controlled host. - const isProxyURL = proxy instanceof URL; - const readProxyField = (key) => - isProxyURL || utils.hasOwnProp(proxy, key) ? proxy[key] : undefined; - - const proxyUsername = readProxyField('username'); - const proxyPassword = readProxyField('password'); - let proxyAuth = utils.hasOwnProp(proxy, 'auth') ? proxy.auth : undefined; - - // Basic proxy authorization - if (proxyUsername) { - proxyAuth = (proxyUsername || '') + ':' + (proxyPassword || ''); - } - - if (proxyAuth) { - // Support proxy auth object form. Read sub-fields via own-prop checks so a - // plain object inheriting from polluted Object.prototype cannot leak creds. - const authIsObject = typeof proxyAuth === 'object'; - const authUsername = - authIsObject && utils.hasOwnProp(proxyAuth, 'username') ? proxyAuth.username : undefined; - const authPassword = - authIsObject && utils.hasOwnProp(proxyAuth, 'password') ? proxyAuth.password : undefined; - const validProxyAuth = Boolean(authUsername || authPassword); - - if (validProxyAuth) { - proxyAuth = (authUsername || '') + ':' + (authPassword || ''); - } else if (authIsObject) { - throw new AxiosError('Invalid proxy authorization', AxiosError.ERR_BAD_OPTION, { proxy }); - } - } - - const targetIsHttps = isHttps.test(options.protocol); - - if (targetIsHttps) { - // CONNECT-tunneling path for HTTPS targets. Preserves end-to-end TLS to - // the origin so the proxy cannot inspect the URL, headers, or body — the - // behavior already promised by THREATMODEL.md (T-R9). HttpsProxyAgent - // sends Proxy-Authorization on the CONNECT request only, never on the - // wrapped TLS request, which is why we don't stamp it onto - // options.headers here. If the user already supplied an HttpsProxyAgent, - // they own tunneling end-to-end and we leave them alone; otherwise we - // install our own tunneling agent and forward their TLS options (if any) - // so a custom httpsAgent for cert pinning / rejectUnauthorized still - // applies to the origin TLS upgrade. - if (!(configHttpsAgent instanceof HttpsProxyAgent)) { - const proxyHost = readProxyField('hostname') || readProxyField('host'); - const proxyPort = readProxyField('port'); - const rawProxyProtocol = readProxyField('protocol'); - const normalizedProtocol = rawProxyProtocol - ? rawProxyProtocol.includes(':') - ? rawProxyProtocol - : `${rawProxyProtocol}:` - : 'http:'; - // Bracket IPv6 literals for URL parsing; URL.hostname strips the - // brackets again on read so the agent receives the raw form. - const proxyHostForURL = - proxyHost && proxyHost.includes(':') && !proxyHost.startsWith('[') - ? `[${proxyHost}]` - : proxyHost; - const proxyURL = new URL( - `${normalizedProtocol}//${proxyHostForURL}${proxyPort ? ':' + proxyPort : ''}` - ); - const agentOptions = { - protocol: proxyURL.protocol, - hostname: proxyURL.hostname.replace(/^\[|\]$/g, ''), - port: proxyURL.port, - auth: proxyAuth && typeof proxyAuth === 'string' ? proxyAuth : undefined, - }; - if (proxyURL.protocol === 'https:') { - agentOptions.ALPNProtocols = ['http/1.1']; - } - const tunnelingAgent = getTunnelingAgent(agentOptions, configHttpsAgent); - // Set both: `options.agent` is consumed by the native https.request path - // (maxRedirects === 0); `options.agents.https` is consumed by - // follow-redirects, which ignores `options.agent` when `options.agents` - // is present. - options.agent = tunnelingAgent; - if (options.agents) { - options.agents.https = tunnelingAgent; - } - } - } else { - // Forward-proxy mode for plaintext HTTP targets. The request line carries - // the absolute URL and the proxy sees everything — acceptable for plain - // HTTP since the wire was already plaintext. - if (proxyAuth) { - const base64 = Buffer.from(proxyAuth, 'utf8').toString('base64'); - options.headers['Proxy-Authorization'] = 'Basic ' + base64; - } - - // Preserve a user-supplied Host header (case-insensitive) so callers can override - // the value forwarded to the proxy; otherwise default to the request URL's host. - let hasUserHostHeader = false; - for (const name of Object.keys(options.headers)) { - if (name.toLowerCase() === 'host') { - hasUserHostHeader = true; - break; - } - } - if (!hasUserHostHeader) { - options.headers.host = options.hostname + (options.port ? ':' + options.port : ''); - } - const proxyHost = readProxyField('hostname') || readProxyField('host'); - options.hostname = proxyHost; - // Replace 'host' since options is not a URL object - options.host = proxyHost; - options.port = readProxyField('port'); - options.path = location; - const proxyProtocol = readProxyField('protocol'); - if (proxyProtocol) { - options.protocol = proxyProtocol.includes(':') ? proxyProtocol : `${proxyProtocol}:`; - } - } - } - - options.beforeRedirects.proxy = function beforeRedirect(redirectOptions) { - // Configure proxy for redirected request, passing the original config proxy to apply - // the exact same logic as if the redirected request was performed by axios directly. - setProxy( - redirectOptions, - configProxy, - redirectOptions.href, - true, - configHttpsAgent, - configHttpAgent - ); - }; -} - -const isHttpAdapterSupported = - typeof process !== 'undefined' && utils.kindOf(process) === 'process'; - -// temporary hotfix - -const wrapAsync = (asyncExecutor) => { - return new Promise((resolve, reject) => { - let onDone; - let isDone; - - const done = (value, isRejected) => { - if (isDone) return; - isDone = true; - onDone && onDone(value, isRejected); - }; - - const _resolve = (value) => { - done(value); - resolve(value); - }; - - const _reject = (reason) => { - done(reason, true); - reject(reason); - }; - - asyncExecutor(_resolve, _reject, (onDoneHandler) => (onDone = onDoneHandler)).catch(_reject); - }); -}; - -const resolveFamily = ({ address, family }) => { - if (!utils.isString(address)) { - throw TypeError('address must be a string'); - } - return { - address, - family: family || (address.indexOf('.') < 0 ? 6 : 4), - }; -}; - -const buildAddressEntry = (address, family) => - resolveFamily(utils.isObject(address) ? address : { address, family }); - -const http2Transport = { - request(options, cb) { - const authority = - options.protocol + - '//' + - options.hostname + - ':' + - (options.port || (options.protocol === 'https:' ? 443 : 80)); - - const { http2Options, headers } = options; - - const session = http2Sessions.getSession(authority, http2Options); - - const { HTTP2_HEADER_SCHEME, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_STATUS } = - http2.constants; - - const http2Headers = { - [HTTP2_HEADER_SCHEME]: options.protocol.replace(':', ''), - [HTTP2_HEADER_METHOD]: options.method, - [HTTP2_HEADER_PATH]: options.path, - }; - - utils.forEach(headers, (header, name) => { - name.charAt(0) !== ':' && (http2Headers[name] = header); - }); - - const req = session.request(http2Headers); - - req.once('response', (responseHeaders) => { - const response = req; //duplex - - responseHeaders = Object.assign({}, responseHeaders); - - const status = responseHeaders[HTTP2_HEADER_STATUS]; - - delete responseHeaders[HTTP2_HEADER_STATUS]; - - response.headers = responseHeaders; - - response.statusCode = +status; - - cb(response); - }); - - return req; - }, -}; - -/*eslint consistent-return:0*/ -export default isHttpAdapterSupported && - function httpAdapter(config) { - return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) { - // Read config pollution-safely: own properties and members inherited from - // a non-Object.prototype source (e.g. an Object.create(defaults) template) - // are honored, but values injected onto a polluted Object.prototype are - // ignored. All behavior-affecting reads in this adapter go through own() - // so the protection boundary stays consistent. - const own = (key) => utils.getSafeProp(config, key); - const transitional = own('transitional') || transitionalDefaults; - let data = own('data'); - let lookup = own('lookup'); - let family = own('family'); - let httpVersion = own('httpVersion'); - if (httpVersion === undefined) httpVersion = 1; - let http2Options = own('http2Options'); - const httpAgent = own('httpAgent'); - const httpsAgent = own('httpsAgent'); - const configProxy = own('proxy'); - const responseType = own('responseType'); - const responseEncoding = own('responseEncoding'); - const socketPath = own('socketPath'); - const method = own('method').toUpperCase(); - const maxRedirects = own('maxRedirects'); - const maxBodyLength = own('maxBodyLength'); - const maxContentLength = own('maxContentLength'); - const decompress = own('decompress'); - let isDone; - let rejected = false; - let req; - let connectPhaseTimer; - - httpVersion = +httpVersion; - - if (Number.isNaN(httpVersion)) { - throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`); - } - - if (httpVersion !== 1 && httpVersion !== 2) { - throw TypeError(`Unsupported protocol version '${httpVersion}'`); - } - - const isHttp2 = httpVersion === 2; - - if (lookup) { - const _lookup = callbackify(lookup, (value) => (utils.isArray(value) ? value : [value])); - // hotfix to support opt.all option which is required for node 20.x - lookup = (hostname, opt, cb) => { - _lookup(hostname, opt, (err, arg0, arg1) => { - if (err) { - return cb(err); - } - - const addresses = utils.isArray(arg0) - ? arg0.map((addr) => buildAddressEntry(addr)) - : [buildAddressEntry(arg0, arg1)]; - - opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family); - }); - }; - } - - const abortEmitter = new EventEmitter(); - - function abort(reason) { - try { - abortEmitter.emit( - 'abort', - !reason || reason.type ? new CanceledError(null, config, req) : reason - ); - } catch (err) { - // ignore emit errors - } - } - - function clearConnectPhaseTimer() { - if (connectPhaseTimer) { - clearTimeout(connectPhaseTimer); - connectPhaseTimer = null; - } - } - - function createTimeoutError() { - const configTimeout = own('timeout'); - let timeoutErrorMessage = configTimeout - ? 'timeout of ' + configTimeout + 'ms exceeded' - : 'timeout exceeded'; - const configTimeoutErrorMessage = own('timeoutErrorMessage'); - if (configTimeoutErrorMessage) { - timeoutErrorMessage = configTimeoutErrorMessage; - } - return new AxiosError( - timeoutErrorMessage, - transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, - config, - req - ); - } - - abortEmitter.once('abort', reject); - - const onFinished = () => { - clearConnectPhaseTimer(); - - if (config.cancelToken) { - config.cancelToken.unsubscribe(abort); - } - - if (config.signal) { - config.signal.removeEventListener('abort', abort); - } - - abortEmitter.removeAllListeners(); - }; - - if (config.cancelToken || config.signal) { - config.cancelToken && config.cancelToken.subscribe(abort); - if (config.signal) { - config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort); - } - } - - onDone((response, isRejected) => { - isDone = true; - clearConnectPhaseTimer(); - - if (isRejected) { - rejected = true; - onFinished(); - return; - } - - const { data } = response; - - if (data instanceof stream.Readable || data instanceof stream.Duplex) { - const offListeners = stream.finished(data, () => { - offListeners(); - onFinished(); - }); - } else { - onFinished(); - } - }); - - // Parse url - const fullPath = buildFullPath(own('baseURL'), own('url'), own('allowAbsoluteUrls'), config); - // Unix-socket requests (own socketPath) commonly pass a path-only url - // like '/foo'; supply a synthetic base so new URL() can still parse it. - // Use the own-property value (not config.socketPath) so a polluted - // prototype cannot influence URL base selection. - const urlBase = socketPath - ? 'http://localhost' - : (platform.hasBrowserEnv ? platform.origin : undefined); - const parsed = new URL(fullPath, urlBase); - const protocol = parsed.protocol || supportedProtocols[0]; - - if (protocol === 'data:') { - // Apply the same semantics as HTTP: only enforce if a finite, non-negative cap is set. - if (maxContentLength > -1) { - // Use the exact string passed to fromDataURI (the configured url); fall back to fullPath if needed. - const dataUrl = String(own('url') || fullPath || ''); - const estimated = estimateDataURLDecodedBytes(dataUrl); - - if (estimated > maxContentLength) { - return reject( - new AxiosError( - 'maxContentLength size of ' + maxContentLength + ' exceeded', - AxiosError.ERR_BAD_RESPONSE, - config - ) - ); - } - } - - let convertedData; - - if (method !== 'GET') { - return settle(resolve, reject, { - status: 405, - statusText: 'method not allowed', - headers: {}, - config, - }); - } - - try { - convertedData = fromDataURI(own('url'), responseType === 'blob', { - Blob: config.env && config.env.Blob, - }); - } catch (err) { - throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config); - } - - if (responseType === 'text') { - convertedData = convertedData.toString(responseEncoding); - - if (!responseEncoding || responseEncoding === 'utf8') { - convertedData = utils.stripBOM(convertedData); - } - } else if (responseType === 'stream') { - convertedData = stream.Readable.from(convertedData); - } - - return settle(resolve, reject, { - data: convertedData, - status: 200, - statusText: 'OK', - headers: new AxiosHeaders(), - config, - }); - } - - if (supportedProtocols.indexOf(protocol) === -1) { - return reject( - new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_BAD_REQUEST, config) - ); - } - - const headers = AxiosHeaders.from(config.headers).normalize(); - - // Set User-Agent (required by some servers) - // See https://github.com/axios/axios/issues/69 - // User-Agent is specified; handle case where no UA header is desired - // Only set header if it hasn't been set in config - headers.set('User-Agent', 'axios/' + VERSION, false); - - const { onUploadProgress, onDownloadProgress } = config; - const maxRate = config.maxRate; - let maxUploadRate = undefined; - let maxDownloadRate = undefined; - - // support for spec compliant FormData objects - if (utils.isSpecCompliantForm(data)) { - const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i); - - data = formDataToStream( - data, - (formHeaders) => { - headers.set(formHeaders); - }, - { - tag: `axios-${VERSION}-boundary`, - boundary: (userBoundary && userBoundary[1]) || undefined, - } - ); - // support for https://www.npmjs.com/package/form-data api - } else if ( - utils.isFormData(data) && - utils.isFunction(data.getHeaders) && - data.getHeaders !== Object.prototype.getHeaders - ) { - setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy')); - - if (!headers.hasContentLength()) { - try { - const knownLength = await util.promisify(data.getLength).call(data); - Number.isFinite(knownLength) && - knownLength >= 0 && - headers.setContentLength(knownLength); - /*eslint no-empty:0*/ - } catch (e) {} - } - } else if (utils.isBlob(data) || utils.isFile(data)) { - data.size && headers.setContentType(data.type || 'application/octet-stream'); - headers.setContentLength(data.size || 0); - data = stream.Readable.from(readBlob(data)); - } else if (data && !utils.isStream(data)) { - if (Buffer.isBuffer(data)) { - // Nothing to do... - } else if (utils.isArrayBuffer(data)) { - data = Buffer.from(new Uint8Array(data)); - } else if (utils.isString(data)) { - data = Buffer.from(data, 'utf-8'); - } else { - return reject( - new AxiosError( - 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream', - AxiosError.ERR_BAD_REQUEST, - config - ) - ); - } - - // Add Content-Length header if data exists - headers.setContentLength(data.length, false); - - if (maxBodyLength > -1 && data.length > maxBodyLength) { - return reject( - new AxiosError( - 'Request body larger than maxBodyLength limit', - AxiosError.ERR_BAD_REQUEST, - config - ) - ); - } - } - - const contentLength = utils.toFiniteNumber(headers.getContentLength()); - - if (utils.isArray(maxRate)) { - maxUploadRate = maxRate[0]; - maxDownloadRate = maxRate[1]; - } else { - maxUploadRate = maxDownloadRate = maxRate; - } - - if (data && (onUploadProgress || maxUploadRate)) { - if (!utils.isStream(data)) { - data = stream.Readable.from(data, { objectMode: false }); - } - - data = stream.pipeline( - [ - data, - new AxiosTransformStream({ - maxRate: utils.toFiniteNumber(maxUploadRate), - }), - ], - utils.noop - ); - - onUploadProgress && - data.on( - 'progress', - flushOnFinish( - data, - progressEventDecorator( - contentLength, - progressEventReducer(asyncDecorator(onUploadProgress), false, 3) - ) - ) - ); - } - - // HTTP basic authentication - let auth = undefined; - const configAuth = own('auth'); - if (configAuth) { - const username = utils.getSafeProp(configAuth, 'username') || ''; - const password = utils.getSafeProp(configAuth, 'password') || ''; - auth = username + ':' + password; - } - - if (!auth && (parsed.username || parsed.password)) { - const urlUsername = decodeURIComponentSafe(parsed.username); - const urlPassword = decodeURIComponentSafe(parsed.password); - auth = urlUsername + ':' + urlPassword; - } - - auth && headers.delete('authorization'); - - let path; - - try { - path = buildURL( - parsed.pathname + parsed.search, - own('params'), - own('paramsSerializer') - ).replace(/^\?/, ''); - } catch (err) { - return reject( - AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config, null, null, { - url: own('url'), - exists: true - }) - ); - } - - headers.set( - 'Accept-Encoding', - utils.hasOwnProp(transitional, 'advertiseZstdAcceptEncoding') && - transitional.advertiseZstdAcceptEncoding === true ? ACCEPT_ENCODING_WITH_ZSTD : ACCEPT_ENCODING, - false - ); - - // Null-prototype to block prototype pollution gadgets on properties read - // directly by Node's http.request (e.g. insecureHTTPParser, lookup). - const options = Object.assign(Object.create(null), { - path, - method: method, - headers: toByteStringHeaderObject(headers), - agents: { http: httpAgent, https: httpsAgent }, - auth, - protocol, - family, - beforeRedirect: dispatchBeforeRedirect, - beforeRedirects: Object.create(null), - http2Options, - }); - - // cacheable-lookup integration hotfix - !utils.isUndefined(lookup) && (options.lookup = lookup); - - if (socketPath) { - if (typeof socketPath !== 'string') { - return reject( - new AxiosError('socketPath must be a string', AxiosError.ERR_BAD_OPTION_VALUE, config) - ); - } - - const allowedSocketPaths = own('allowedSocketPaths'); - if (allowedSocketPaths != null) { - const allowed = Array.isArray(allowedSocketPaths) - ? allowedSocketPaths - : [allowedSocketPaths]; - - const resolvedSocket = resolvePath(socketPath); - const isAllowed = allowed.some( - (entry) => typeof entry === 'string' && resolvePath(entry) === resolvedSocket - ); - - if (!isAllowed) { - return reject( - new AxiosError( - `socketPath "${socketPath}" is not permitted by allowedSocketPaths`, - AxiosError.ERR_BAD_OPTION_VALUE, - config - ) - ); - } - } - - options.socketPath = socketPath; - } else { - options.hostname = parsed.hostname.startsWith('[') - ? parsed.hostname.slice(1, -1) - : parsed.hostname; - options.port = parsed.port; - setProxy( - options, - configProxy, - protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path, - false, - httpsAgent, - httpAgent - ); - } - let transport; - let isNativeTransport = false; - // True only for the follow-redirects transport, which applies - // options.maxBodyLength itself. Every other transport (http2, native - // http/https, a user-supplied custom transport) needs the explicit - // byte-counting pipeline below to enforce maxBodyLength on streamed uploads. - let transportEnforcesMaxBodyLength = false; - const isHttpsRequest = isHttps.test(options.protocol); - // Don't clobber a CONNECT-tunneling agent installed by setProxy() for an - // HTTPS target. - if (options.agent == null) { - options.agent = isHttpsRequest ? httpsAgent : httpAgent; - } - - if (isHttp2) { - transport = http2Transport; - } else { - const configTransport = own('transport'); - if (configTransport) { - transport = configTransport; - } else if (maxRedirects === 0) { - transport = isHttpsRequest ? https : http; - isNativeTransport = true; - } else { - transportEnforcesMaxBodyLength = true; - options.sensitiveHeaders = []; - if (maxRedirects) { - options.maxRedirects = maxRedirects; - } - const configBeforeRedirect = own('beforeRedirect'); - if (configBeforeRedirect) { - options.beforeRedirects.config = configBeforeRedirect; - } - if (auth) { - // Restore HTTP Basic credentials on same-origin redirects only. - // follow-redirects >= 1.15.8 strips Authorization on every redirect (see #6929); - // cross-origin stripping is the documented mitigation for T-R2 in THREATMODEL.md - // and is preserved by deliberately not restoring on origin change. - const requestOrigin = parsed.origin; - const authToRestore = auth; - options.beforeRedirects.auth = function beforeRedirectAuth(redirectOptions) { - try { - if (new URL(redirectOptions.href).origin === requestOrigin) { - redirectOptions.auth = authToRestore; - } - } catch (e) { - // ignore malformed URL: leaving auth stripped is fail-safe - } - }; - } - const sensitiveHeaders = own('sensitiveHeaders'); - if (sensitiveHeaders != null) { - if (!utils.isArray(sensitiveHeaders)) { - return reject( - new AxiosError( - 'sensitiveHeaders must be an array of strings', - AxiosError.ERR_BAD_OPTION_VALUE, - config - ) - ); - } - - const sensitiveSet = new Set(); - for (const header of sensitiveHeaders) { - if (!utils.isString(header)) { - return reject( - new AxiosError( - 'sensitiveHeaders must be an array of strings', - AxiosError.ERR_BAD_OPTION_VALUE, - config - ) - ); - } - - sensitiveSet.add(header.toLowerCase()); - } - - if (sensitiveSet.size) { - options.sensitiveHeaders = Array.from(sensitiveSet); - options.beforeRedirects.sensitiveHeaders = function beforeRedirectSensitiveHeaders( - redirectOptions, - requestDetails - ) { - if (!isSameOriginRedirect(redirectOptions, requestDetails)) { - stripMatchingHeaders(redirectOptions.headers, sensitiveSet); - } - }; - } - } - transport = isHttpsRequest ? httpsFollow : httpFollow; - } - } - - // Set an explicit maxBodyLength option for transports that inspect it. - // When maxBodyLength is -1 (default/unlimited), use Infinity so - // follow-redirects does not fall back to its own 10MB default. - if (maxBodyLength > -1) { - options.maxBodyLength = maxBodyLength; - } else { - options.maxBodyLength = Infinity; - } - - // Always set an explicit own value so a polluted - // Object.prototype.insecureHTTPParser cannot enable the lenient parser - // through Node's internal options copy - options.insecureHTTPParser = Boolean(own('insecureHTTPParser')); - - // Create the request - req = transport.request(options, function handleResponse(res) { - clearConnectPhaseTimer(); - - if (req.destroyed) return; - - const streams = [res]; - - const responseLength = utils.toFiniteNumber(res.headers['content-length']); - - if (onDownloadProgress || maxDownloadRate) { - const transformStream = new AxiosTransformStream({ - maxRate: utils.toFiniteNumber(maxDownloadRate), - }); - - onDownloadProgress && - transformStream.on( - 'progress', - flushOnFinish( - transformStream, - progressEventDecorator( - responseLength, - progressEventReducer(asyncDecorator(onDownloadProgress), true, 3) - ) - ) - ); - - streams.push(transformStream); - } - - // decompress the response body transparently if required - let responseStream = res; - - // return the last request in case of redirects - const lastRequest = res.req || req; - - // if decompress disabled we should not decompress - if (decompress !== false && res.headers['content-encoding']) { - // if no content, but headers still say that it is encoded, - // remove the header not confuse downstream operations - if (method === 'HEAD' || res.statusCode === 204) { - delete res.headers['content-encoding']; - } - - switch ((res.headers['content-encoding'] || '').toLowerCase()) { - /*eslint default-case:0*/ - case 'gzip': - case 'x-gzip': - case 'compress': - case 'x-compress': - // add the unzipper to the body stream processing pipeline - streams.push(zlib.createUnzip(zlibOptions)); - - // remove the content-encoding in order to not confuse downstream operations - delete res.headers['content-encoding']; - break; - case 'deflate': - streams.push(new ZlibHeaderTransformStream()); - - // add the unzipper to the body stream processing pipeline - streams.push(zlib.createUnzip(zlibOptions)); - - // remove the content-encoding in order to not confuse downstream operations - delete res.headers['content-encoding']; - break; - case 'br': - if (isBrotliSupported) { - streams.push(zlib.createBrotliDecompress(brotliOptions)); - delete res.headers['content-encoding']; - } - break; - case 'zstd': - if (isZstdSupported) { - streams.push(zlib.createZstdDecompress(zstdOptions)); - delete res.headers['content-encoding']; - } - break; - } - } - - responseStream = streams.length > 1 ? stream.pipeline(streams, utils.noop) : streams[0]; - - const response = { - status: res.statusCode, - statusText: res.statusMessage, - headers: new AxiosHeaders(res.headers), - config, - request: lastRequest, - }; - - if (responseType === 'stream') { - // Enforce maxContentLength on streamed responses; previously this - // was applied only to buffered responses. - if (maxContentLength > -1) { - const limit = maxContentLength; - const source = responseStream; - async function* enforceMaxContentLength() { - let totalResponseBytes = 0; - for await (const chunk of source) { - totalResponseBytes += chunk.length; - if (totalResponseBytes > limit) { - throw new AxiosError( - 'maxContentLength size of ' + limit + ' exceeded', - AxiosError.ERR_BAD_RESPONSE, - config, - lastRequest - ); - } - yield chunk; - } - } - responseStream = stream.Readable.from(enforceMaxContentLength(), { - objectMode: false, - }); - } - response.data = responseStream; - settle(resolve, reject, response); - } else { - const responseBuffer = []; - let totalResponseBytes = 0; - - responseStream.on('data', function handleStreamData(chunk) { - responseBuffer.push(chunk); - totalResponseBytes += chunk.length; - - // make sure the content length is not over the maxContentLength if specified - if (maxContentLength > -1 && totalResponseBytes > maxContentLength) { - // stream.destroy() emit aborted event before calling reject() on Node.js v16 - rejected = true; - responseStream.destroy(); - abort( - new AxiosError( - 'maxContentLength size of ' + maxContentLength + ' exceeded', - AxiosError.ERR_BAD_RESPONSE, - config, - lastRequest - ) - ); - } - }); - - responseStream.on('aborted', function handlerStreamAborted() { - if (rejected) { - return; - } - - const err = new AxiosError( - 'stream has been aborted', - AxiosError.ERR_BAD_RESPONSE, - config, - lastRequest, - response - ); - responseStream.destroy(err); - reject(err); - }); - - responseStream.on('error', function handleStreamError(err) { - if (rejected) return; - reject(AxiosError.from(err, null, config, lastRequest, response)); - }); - - responseStream.on('end', function handleStreamEnd() { - try { - let responseData = - responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer); - if (responseType !== 'arraybuffer') { - responseData = responseData.toString(responseEncoding); - if (!responseEncoding || responseEncoding === 'utf8') { - responseData = utils.stripBOM(responseData); - } - } - response.data = responseData; - } catch (err) { - return reject(AxiosError.from(err, null, config, response.request, response)); - } - settle(resolve, reject, response); - }); - } - - abortEmitter.once('abort', (err) => { - if (!responseStream.destroyed) { - responseStream.emit('error', err); - responseStream.destroy(); - } - }); - }); - - abortEmitter.once('abort', (err) => { - if (req.close) { - req.close(); - } else { - req.destroy(err); - } - }); - - // Handle errors - req.on('error', function handleRequestError(err) { - reject(AxiosError.from(err, null, config, req)); - }); - - // set tcp keep alive to prevent drop connection by peer - // Track every socket bound to this outer RedirectableRequest so a single - // 'close' listener can release ownership on all of them. follow-redirects - // re-emits the 'socket' event for each hop's native request onto the same - // outer request, so attaching per-request listeners inside this handler - // would accumulate across hops and trigger MaxListenersExceededWarning at - // >= 11 redirects. Clearing only the last-bound socket would leave stale - // kAxiosCurrentReq refs on earlier hop sockets returned to the keep-alive - // pool, causing an idle-pool 'error' to be attributed to a closed req. - const boundSockets = new Set(); - - req.on('socket', function handleRequestSocket(socket) { - // default interval of sending ack packet is 1 minute - // proxy agents (e.g. agent-base) may return a generic Duplex stream - // that doesn't have setKeepAlive, so guard before calling - if (typeof socket.setKeepAlive === 'function') { - socket.setKeepAlive(true, 1000 * 60); - } - - // Install a single 'error' listener per socket (not per request) to avoid - // accumulating listeners on pooled keep-alive sockets that get reassigned - // to new requests before the previous request's 'close' fires (issue #10780). - // The listener is bound to the socket's currently-active request via a - // symbol, which is swapped as the socket is reassigned. - if (!socket[kAxiosSocketListener]) { - socket.on('error', function handleSocketError(err) { - const current = socket[kAxiosCurrentReq]; - if (current && !current.destroyed) { - current.destroy(err); - } - }); - socket[kAxiosSocketListener] = true; - } - - socket[kAxiosCurrentReq] = req; - boundSockets.add(socket); - }); - - req.once('close', function clearCurrentReq() { - clearConnectPhaseTimer(); - - for (const socket of boundSockets) { - if (socket[kAxiosCurrentReq] === req) { - socket[kAxiosCurrentReq] = null; - } - } - boundSockets.clear(); - }); - - // Handle request timeout - if (own('timeout')) { - // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types. - const timeout = parseInt(own('timeout'), 10); - - if (Number.isNaN(timeout)) { - abort( - new AxiosError( - 'error trying to parse `config.timeout` to int', - AxiosError.ERR_BAD_OPTION_VALUE, - config, - req - ) - ); - - return; - } - - const handleTimeout = function handleTimeout() { - if (isDone) return; - abort(createTimeoutError()); - }; - - if (isNativeTransport && timeout > 0) { - // Native ClientRequest#setTimeout starts from the socket lifecycle and - // may not fire while TCP connect is still pending. Mirror the - // follow-redirects wall-clock timer for the maxRedirects === 0 path. - connectPhaseTimer = setTimeout(handleTimeout, timeout); - } - - // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system. - // And timer callback will be fired, and abort() will be invoked before connection, then get "socket hang up" and code ECONNRESET. - // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up. - // And then these socket which be hang up will devouring CPU little by little. - // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect. - req.setTimeout(timeout, handleTimeout); - } else { - // explicitly reset the socket timeout value for a possible `keep-alive` request - req.setTimeout(0); - } - - // Send the request - if (utils.isStream(data)) { - let ended = false; - let errored = false; - - data.on('end', () => { - ended = true; - }); - - data.once('error', (err) => { - errored = true; - req.destroy(err); - }); - - data.on('close', () => { - if (!ended && !errored) { - abort(new CanceledError('Request stream has been aborted', config, req)); - } - }); - - // Enforce maxBodyLength for streamed uploads on every transport that - // does not apply options.maxBodyLength itself (native http/https, http2, - // and user-supplied custom transports). The follow-redirects transport - // enforces it on the redirected HTTP/1 path. - let uploadStream = data; - if (maxBodyLength > -1 && !transportEnforcesMaxBodyLength) { - const limit = maxBodyLength; - let bytesSent = 0; - uploadStream = stream.pipeline( - [ - data, - new stream.Transform({ - transform(chunk, _enc, cb) { - bytesSent += chunk.length; - if (bytesSent > limit) { - return cb( - new AxiosError( - 'Request body larger than maxBodyLength limit', - AxiosError.ERR_BAD_REQUEST, - config, - req - ) - ); - } - cb(null, chunk); - }, - }), - ], - utils.noop - ); - uploadStream.on('error', (err) => { - if (!req.destroyed) req.destroy(err); - }); - } - - uploadStream.pipe(req); - } else { - data && req.write(data); - req.end(); - } - }); - }; - -export const __setProxy = setProxy; -export const __isNodeEnvProxyEnabled = isNodeEnvProxyEnabled; -export const __isSameOriginRedirect = isSameOriginRedirect; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.min.js deleted file mode 100644 index 4ee6ac8..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/http.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/adapters/http.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import utils from"../utils.js";import settle from"../core/settle.js";import buildFullPath from"../core/buildFullPath.js";import buildURL from"../helpers/buildURL.js";import{getProxyForUrl}from"proxy-from-env";import HttpsProxyAgent from"https-proxy-agent";import http from"http";import https from"https";import http2 from"http2";import util from"util";import{resolve as resolvePath}from"path";import followRedirects from"follow-redirects";import zlib from"zlib";import{VERSION}from"../env/data.js";import transitionalDefaults from"../defaults/transitional.js";import AxiosError from"../core/AxiosError.js";import CanceledError from"../cancel/CanceledError.js";import platform from"../platform/index.js";import fromDataURI from"../helpers/fromDataURI.js";import stream from"stream";import AxiosHeaders from"../core/AxiosHeaders.js";import AxiosTransformStream from"../helpers/AxiosTransformStream.js";import{EventEmitter}from"events";import formDataToStream from"../helpers/formDataToStream.js";import readBlob from"../helpers/readBlob.js";import ZlibHeaderTransformStream from"../helpers/ZlibHeaderTransformStream.js";import Http2Sessions from"../helpers/Http2Sessions.js";import callbackify from"../helpers/callbackify.js";import shouldBypassProxy from"../helpers/shouldBypassProxy.js";import{toByteStringHeaderObject}from"../helpers/sanitizeHeaderValue.js";import{progressEventReducer,progressEventDecorator,asyncDecorator}from"../helpers/progressEventReducer.js";import estimateDataURLDecodedBytes from"../helpers/estimateDataURLDecodedBytes.js";const zlibOptions={flush:zlib.constants.Z_SYNC_FLUSH,finishFlush:zlib.constants.Z_SYNC_FLUSH},brotliOptions={flush:zlib.constants.BROTLI_OPERATION_FLUSH,finishFlush:zlib.constants.BROTLI_OPERATION_FLUSH},zstdOptions={flush:zlib.constants.ZSTD_e_flush,finishFlush:zlib.constants.ZSTD_e_flush},isBrotliSupported=utils.isFunction(zlib.createBrotliDecompress),isZstdSupported=utils.isFunction(zlib.createZstdDecompress),ACCEPT_ENCODING="gzip, compress, deflate"+(isBrotliSupported?", br":""),ACCEPT_ENCODING_WITH_ZSTD=ACCEPT_ENCODING+(isZstdSupported?", zstd":""),{http:httpFollow,https:httpsFollow}=followRedirects,isHttps=/https:?/,FORM_DATA_CONTENT_HEADERS=["content-type","content-length"];function setFormDataHeaders(e,t,r){"content-only"===r?Object.entries(t).forEach(([t,r])=>{FORM_DATA_CONTENT_HEADERS.includes(t.toLowerCase())&&e.set(t,r)}):e.set(t)}const kAxiosSocketListener=Symbol("axios.http.socketListener"),kAxiosCurrentReq=Symbol("axios.http.currentReq"),kAxiosInstalledTunnel=Symbol("axios.http.installedTunnel"),tunnelingAgentCache=new Map,tunnelingAgentCacheUser=new WeakMap,NODE_NATIVE_ENV_PROXY_SUPPORT={22:21,24:5};function isNodeNativeEnvProxySupported(e=process.versions&&process.versions.node){if(!e)return!1;const[t,r]=e.split(".").map(e=>Number(e));return!(!Number.isInteger(t)||!Number.isInteger(r))&&(t>24||null!=NODE_NATIVE_ENV_PROXY_SUPPORT[t]&&r>=NODE_NATIVE_ENV_PROXY_SUPPORT[t])}function isNodeEnvProxyEnabled(e,t=process.versions&&process.versions.node){if(!isNodeNativeEnvProxySupported(t))return!1;const r=e&&e.options;return Boolean(r&&utils.hasOwnProp(r,"proxyEnv")&&null!=r.proxyEnv)}function getProxyEnvAgent(e,t,r){return isHttps.test(e.protocol)?r||https.globalAgent:t||http.globalAgent}function getTunnelingAgent(e,t){const r=e.protocol+"//"+e.hostname+":"+(e.port||"")+"#"+(e.auth||""),o=t?tunnelingAgentCacheUser.get(t)||tunnelingAgentCacheUser.set(t,new Map).get(t):tunnelingAgentCache;let s=o.get(r);if(s)return s;const n=t&&t.options?{...t.options,...e}:e;if(s=new HttpsProxyAgent(n),t&&t.options){const e={...t.options},r=s.callback;s.callback=function(t,o){return r.call(this,t,{...e,...o})}}return s[kAxiosInstalledTunnel]=!0,o.set(r,s),s}const supportedProtocols=platform.protocols.map(e=>e+":"),decodeURIComponentSafe=e=>{if(!utils.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},flushOnFinish=(e,[t,r])=>(e.on("end",r).on("error",r),t),http2Sessions=new Http2Sessions;function dispatchBeforeRedirect(e,t,r){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.auth&&e.beforeRedirects.auth(e),e.beforeRedirects.sensitiveHeaders&&e.beforeRedirects.sensitiveHeaders(e,r),e.beforeRedirects.config&&e.beforeRedirects.config(e,t,r)}function stripMatchingHeaders(e,t){e&&Object.keys(e).forEach(r=>{t.has(r.toLowerCase())&&delete e[r]})}function isSameOriginRedirect(e,t){if(!t)return!1;try{return new URL(t.url).origin===new URL(e.href).origin}catch(e){return!1}}function setProxy(e,t,r,o,s,n){let i=t;const a=getProxyEnvAgent(e,n,s);if(!i&&!1!==i&&!isNodeEnvProxyEnabled(a)){const e=getProxyForUrl(r);e&&(shouldBypassProxy(r)||(i=new URL(e)))}if(o&&e.headers)for(const t of Object.keys(e.headers))"proxy-authorization"===t.toLowerCase()&&delete e.headers[t];if(o&&e.agent&&e.agent[kAxiosInstalledTunnel]&&(e.agent=void 0),i){const t=i instanceof URL,o=e=>t||utils.hasOwnProp(i,e)?i[e]:void 0,n=o("username"),a=o("password");let l=utils.hasOwnProp(i,"auth")?i.auth:void 0;if(n&&(l=(n||"")+":"+(a||"")),l){const e="object"==typeof l,t=e&&utils.hasOwnProp(l,"username")?l.username:void 0,r=e&&utils.hasOwnProp(l,"password")?l.password:void 0;if(Boolean(t||r))l=(t||"")+":"+(r||"");else if(e)throw new AxiosError("Invalid proxy authorization",AxiosError.ERR_BAD_OPTION,{proxy:i})}if(isHttps.test(e.protocol)){if(!(s instanceof HttpsProxyAgent)){const t=o("hostname")||o("host"),r=o("port"),n=o("protocol"),i=n?n.includes(":")?n:`${n}:`:"http:",a=t&&t.includes(":")&&!t.startsWith("[")?`[${t}]`:t,c=new URL(`${i}//${a}${r?":"+r:""}`),p={protocol:c.protocol,hostname:c.hostname.replace(/^\[|\]$/g,""),port:c.port,auth:l&&"string"==typeof l?l:void 0};"https:"===c.protocol&&(p.ALPNProtocols=["http/1.1"]);const d=getTunnelingAgent(p,s);e.agent=d,e.agents&&(e.agents.https=d)}}else{if(l){const t=Buffer.from(l,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}let t=!1;for(const r of Object.keys(e.headers))if("host"===r.toLowerCase()){t=!0;break}t||(e.headers.host=e.hostname+(e.port?":"+e.port:""));const s=o("hostname")||o("host");e.hostname=s,e.host=s,e.port=o("port"),e.path=r;const n=o("protocol");n&&(e.protocol=n.includes(":")?n:`${n}:`)}}e.beforeRedirects.proxy=function(e){setProxy(e,t,e.href,!0,s,n)}}const isHttpAdapterSupported="undefined"!=typeof process&&"process"===utils.kindOf(process),wrapAsync=e=>new Promise((t,r)=>{let o,s;const n=(e,t)=>{s||(s=!0,o&&o(e,t))},i=e=>{n(e,!0),r(e)};e(e=>{n(e),t(e)},i,e=>o=e).catch(i)}),resolveFamily=({address:e,family:t})=>{if(!utils.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}},buildAddressEntry=(e,t)=>resolveFamily(utils.isObject(e)?e:{address:e,family:t}),http2Transport={request(e,t){const r=e.protocol+"//"+e.hostname+":"+(e.port||("https:"===e.protocol?443:80)),{http2Options:o,headers:s}=e,n=http2Sessions.getSession(r,o),{HTTP2_HEADER_SCHEME:i,HTTP2_HEADER_METHOD:a,HTTP2_HEADER_PATH:l,HTTP2_HEADER_STATUS:c}=http2.constants,p={[i]:e.protocol.replace(":",""),[a]:e.method,[l]:e.path};utils.forEach(s,(e,t)=>{":"!==t.charAt(0)&&(p[t]=e)});const d=n.request(p);return d.once("response",e=>{const r=d,o=(e=Object.assign({},e))[c];delete e[c],r.headers=e,r.statusCode=+o,t(r)}),d}};export default isHttpAdapterSupported&&function(e){return wrapAsync(async function(t,r,o){const s=t=>utils.getSafeProp(e,t),n=s("transitional")||transitionalDefaults;let i=s("data"),a=s("lookup"),l=s("family"),c=s("httpVersion");void 0===c&&(c=1);let p=s("http2Options");const d=s("httpAgent"),u=s("httpsAgent"),f=s("proxy"),m=s("responseType"),h=s("responseEncoding"),E=s("socketPath"),g=s("method").toUpperCase(),A=s("maxRedirects"),b=s("maxBodyLength"),y=s("maxContentLength"),x=s("decompress");let R,S,T,_=!1;if(c=+c,Number.isNaN(c))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(1!==c&&2!==c)throw TypeError(`Unsupported protocol version '${c}'`);const O=2===c;if(a){const e=callbackify(a,e=>utils.isArray(e)?e:[e]);a=(t,r,o)=>{e(t,r,(e,t,s)=>{if(e)return o(e);const n=utils.isArray(t)?t.map(e=>buildAddressEntry(e)):[buildAddressEntry(t,s)];r.all?o(e,n):o(e,n[0].address,n[0].family)})}}const P=new EventEmitter;function w(t){try{P.emit("abort",!t||t.type?new CanceledError(null,e,S):t)}catch(e){}}function D(){T&&(clearTimeout(T),T=null)}P.once("abort",r);const v=()=>{D(),e.cancelToken&&e.cancelToken.unsubscribe(w),e.signal&&e.signal.removeEventListener("abort",w),P.removeAllListeners()};(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(w),e.signal&&(e.signal.aborted?w():e.signal.addEventListener("abort",w))),o((e,t)=>{if(R=!0,D(),t)return _=!0,void v();const{data:r}=e;if(r instanceof stream.Readable||r instanceof stream.Duplex){const e=stream.finished(r,()=>{e(),v()})}else v()});const N=buildFullPath(s("baseURL"),s("url"),s("allowAbsoluteUrls"),e),H=E?"http://localhost":platform.hasBrowserEnv?platform.origin:void 0,C=new URL(N,H),B=C.protocol||supportedProtocols[0];if("data:"===B){if(y>-1){const t=String(s("url")||N||"");if(estimateDataURLDecodedBytes(t)>y)return r(new AxiosError("maxContentLength size of "+y+" exceeded",AxiosError.ERR_BAD_RESPONSE,e))}let o;if("GET"!==g)return settle(t,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{o=fromDataURI(s("url"),"blob"===m,{Blob:e.env&&e.env.Blob})}catch(t){throw AxiosError.from(t,AxiosError.ERR_BAD_REQUEST,e)}return"text"===m?(o=o.toString(h),h&&"utf8"!==h||(o=utils.stripBOM(o))):"stream"===m&&(o=stream.Readable.from(o)),settle(t,r,{data:o,status:200,statusText:"OK",headers:new AxiosHeaders,config:e})}if(-1===supportedProtocols.indexOf(B))return r(new AxiosError("Unsupported protocol "+B,AxiosError.ERR_BAD_REQUEST,e));const U=AxiosHeaders.from(e.headers).normalize();U.set("User-Agent","axios/"+VERSION,!1);const{onUploadProgress:L,onDownloadProgress:k}=e,z=e.maxRate;let I,j;if(utils.isSpecCompliantForm(i)){const e=U.getContentType(/boundary=([-_\w\d]{10,70})/i);i=formDataToStream(i,e=>{U.set(e)},{tag:`axios-${VERSION}-boundary`,boundary:e&&e[1]||void 0})}else if(utils.isFormData(i)&&utils.isFunction(i.getHeaders)&&i.getHeaders!==Object.prototype.getHeaders){if(setFormDataHeaders(U,i.getHeaders(),s("formDataHeaderPolicy")),!U.hasContentLength())try{const e=await util.promisify(i.getLength).call(i);Number.isFinite(e)&&e>=0&&U.setContentLength(e)}catch(e){}}else if(utils.isBlob(i)||utils.isFile(i))i.size&&U.setContentType(i.type||"application/octet-stream"),U.setContentLength(i.size||0),i=stream.Readable.from(readBlob(i));else if(i&&!utils.isStream(i)){if(Buffer.isBuffer(i));else if(utils.isArrayBuffer(i))i=Buffer.from(new Uint8Array(i));else{if(!utils.isString(i))return r(new AxiosError("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",AxiosError.ERR_BAD_REQUEST,e));i=Buffer.from(i,"utf-8")}if(U.setContentLength(i.length,!1),b>-1&&i.length>b)return r(new AxiosError("Request body larger than maxBodyLength limit",AxiosError.ERR_BAD_REQUEST,e))}const F=utils.toFiniteNumber(U.getContentLength());let V;utils.isArray(z)?(I=z[0],j=z[1]):I=j=z,i&&(L||I)&&(utils.isStream(i)||(i=stream.Readable.from(i,{objectMode:!1})),i=stream.pipeline([i,new AxiosTransformStream({maxRate:utils.toFiniteNumber(I)})],utils.noop),L&&i.on("progress",flushOnFinish(i,progressEventDecorator(F,progressEventReducer(asyncDecorator(L),!1,3)))));const M=s("auth");if(M){V=(utils.getSafeProp(M,"username")||"")+":"+(utils.getSafeProp(M,"password")||"")}if(!V&&(C.username||C.password)){V=decodeURIComponentSafe(C.username)+":"+decodeURIComponentSafe(C.password)}let Z;V&&U.delete("authorization");try{Z=buildURL(C.pathname+C.search,s("params"),s("paramsSerializer")).replace(/^\?/,"")}catch(t){return r(AxiosError.from(t,AxiosError.ERR_BAD_REQUEST,e,null,null,{url:s("url"),exists:!0}))}U.set("Accept-Encoding",utils.hasOwnProp(n,"advertiseZstdAcceptEncoding")&&!0===n.advertiseZstdAcceptEncoding?ACCEPT_ENCODING_WITH_ZSTD:ACCEPT_ENCODING,!1);const q=Object.assign(Object.create(null),{path:Z,method:g,headers:toByteStringHeaderObject(U),agents:{http:d,https:u},auth:V,protocol:B,family:l,beforeRedirect:dispatchBeforeRedirect,beforeRedirects:Object.create(null),http2Options:p});if(!utils.isUndefined(a)&&(q.lookup=a),E){if("string"!=typeof E)return r(new AxiosError("socketPath must be a string",AxiosError.ERR_BAD_OPTION_VALUE,e));const t=s("allowedSocketPaths");if(null!=t){const o=Array.isArray(t)?t:[t],s=resolvePath(E);if(!o.some(e=>"string"==typeof e&&resolvePath(e)===s))return r(new AxiosError(`socketPath "${E}" is not permitted by allowedSocketPaths`,AxiosError.ERR_BAD_OPTION_VALUE,e))}q.socketPath=E}else q.hostname=C.hostname.startsWith("[")?C.hostname.slice(1,-1):C.hostname,q.port=C.port,setProxy(q,f,B+"//"+C.hostname+(C.port?":"+C.port:"")+q.path,!1,u,d);let $,G=!1,Q=!1;const W=isHttps.test(q.protocol);if(null==q.agent&&(q.agent=W?u:d),O)$=http2Transport;else{const t=s("transport");if(t)$=t;else if(0===A)$=W?https:http,G=!0;else{Q=!0,q.sensitiveHeaders=[],A&&(q.maxRedirects=A);const t=s("beforeRedirect");if(t&&(q.beforeRedirects.config=t),V){const e=C.origin,t=V;q.beforeRedirects.auth=function(r){try{new URL(r.href).origin===e&&(r.auth=t)}catch(e){}}}const o=s("sensitiveHeaders");if(null!=o){if(!utils.isArray(o))return r(new AxiosError("sensitiveHeaders must be an array of strings",AxiosError.ERR_BAD_OPTION_VALUE,e));const t=new Set;for(const s of o){if(!utils.isString(s))return r(new AxiosError("sensitiveHeaders must be an array of strings",AxiosError.ERR_BAD_OPTION_VALUE,e));t.add(s.toLowerCase())}t.size&&(q.sensitiveHeaders=Array.from(t),q.beforeRedirects.sensitiveHeaders=function(e,r){isSameOriginRedirect(e,r)||stripMatchingHeaders(e.headers,t)})}$=W?httpsFollow:httpFollow}}q.maxBodyLength=b>-1?b:1/0,q.insecureHTTPParser=Boolean(s("insecureHTTPParser")),S=$.request(q,function(o){if(D(),S.destroyed)return;const s=[o],n=utils.toFiniteNumber(o.headers["content-length"]);if(k||j){const e=new AxiosTransformStream({maxRate:utils.toFiniteNumber(j)});k&&e.on("progress",flushOnFinish(e,progressEventDecorator(n,progressEventReducer(asyncDecorator(k),!0,3)))),s.push(e)}let i=o;const a=o.req||S;if(!1!==x&&o.headers["content-encoding"])switch("HEAD"!==g&&204!==o.statusCode||delete o.headers["content-encoding"],(o.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":s.push(zlib.createUnzip(zlibOptions)),delete o.headers["content-encoding"];break;case"deflate":s.push(new ZlibHeaderTransformStream),s.push(zlib.createUnzip(zlibOptions)),delete o.headers["content-encoding"];break;case"br":isBrotliSupported&&(s.push(zlib.createBrotliDecompress(brotliOptions)),delete o.headers["content-encoding"]);break;case"zstd":isZstdSupported&&(s.push(zlib.createZstdDecompress(zstdOptions)),delete o.headers["content-encoding"])}i=s.length>1?stream.pipeline(s,utils.noop):s[0];const l={status:o.statusCode,statusText:o.statusMessage,headers:new AxiosHeaders(o.headers),config:e,request:a};if("stream"===m){if(y>-1){const t=y,r=i;i=stream.Readable.from(async function*(){let o=0;for await(const s of r){if(o+=s.length,o>t)throw new AxiosError("maxContentLength size of "+t+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,a);yield s}}(),{objectMode:!1})}l.data=i,settle(t,r,l)}else{const o=[];let s=0;i.on("data",function(t){o.push(t),s+=t.length,y>-1&&s>y&&(_=!0,i.destroy(),w(new AxiosError("maxContentLength size of "+y+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,a)))}),i.on("aborted",function(){if(_)return;const t=new AxiosError("stream has been aborted",AxiosError.ERR_BAD_RESPONSE,e,a,l);i.destroy(t),r(t)}),i.on("error",function(t){_||r(AxiosError.from(t,null,e,a,l))}),i.on("end",function(){try{let e=1===o.length?o[0]:Buffer.concat(o);"arraybuffer"!==m&&(e=e.toString(h),h&&"utf8"!==h||(e=utils.stripBOM(e))),l.data=e}catch(t){return r(AxiosError.from(t,null,e,l.request,l))}settle(t,r,l)})}P.once("abort",e=>{i.destroyed||(i.emit("error",e),i.destroy())})}),P.once("abort",e=>{S.close?S.close():S.destroy(e)}),S.on("error",function(t){r(AxiosError.from(t,null,e,S))});const Y=new Set;if(S.on("socket",function(e){"function"==typeof e.setKeepAlive&&e.setKeepAlive(!0,6e4),e[kAxiosSocketListener]||(e.on("error",function(t){const r=e[kAxiosCurrentReq];r&&!r.destroyed&&r.destroy(t)}),e[kAxiosSocketListener]=!0),e[kAxiosCurrentReq]=S,Y.add(e)}),S.once("close",function(){D();for(const e of Y)e[kAxiosCurrentReq]===S&&(e[kAxiosCurrentReq]=null);Y.clear()}),s("timeout")){const t=parseInt(s("timeout"),10);if(Number.isNaN(t))return void w(new AxiosError("error trying to parse `config.timeout` to int",AxiosError.ERR_BAD_OPTION_VALUE,e,S));const r=function(){R||w(function(){const t=s("timeout");let r=t?"timeout of "+t+"ms exceeded":"timeout exceeded";const o=s("timeoutErrorMessage");return o&&(r=o),new AxiosError(r,n.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,e,S)}())};G&&t>0&&(T=setTimeout(r,t)),S.setTimeout(t,r)}else S.setTimeout(0);if(utils.isStream(i)){let t=!1,r=!1;i.on("end",()=>{t=!0}),i.once("error",e=>{r=!0,S.destroy(e)}),i.on("close",()=>{t||r||w(new CanceledError("Request stream has been aborted",e,S))});let o=i;if(b>-1&&!Q){const t=b;let r=0;o=stream.pipeline([i,new stream.Transform({transform(o,s,n){if(r+=o.length,r>t)return n(new AxiosError("Request body larger than maxBodyLength limit",AxiosError.ERR_BAD_REQUEST,e,S));n(null,o)}})],utils.noop),o.on("error",e=>{S.destroyed||S.destroy(e)})}o.pipe(S)}else i&&S.write(i),S.end()})};export const __setProxy=setProxy;export const __isNodeEnvProxyEnabled=isNodeEnvProxyEnabled;export const __isSameOriginRedirect=isSameOriginRedirect; -//# sourceMappingURL=/sm/1d7e74a3ae3510c3057795d2192e981715ace940c77ec1c74edfe9a47fdcdceb.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.js deleted file mode 100644 index 5432ca9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.js +++ /dev/null @@ -1,228 +0,0 @@ -import utils from '../utils.js'; -import settle from '../core/settle.js'; -import transitionalDefaults from '../defaults/transitional.js'; -import AxiosError from '../core/AxiosError.js'; -import CanceledError from '../cancel/CanceledError.js'; -import parseProtocol from '../helpers/parseProtocol.js'; -import platform from '../platform/index.js'; -import AxiosHeaders from '../core/AxiosHeaders.js'; -import { progressEventReducer } from '../helpers/progressEventReducer.js'; -import resolveConfig from '../helpers/resolveConfig.js'; -import { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js'; - -const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; - -export default isXHRAdapterSupported && - function (config) { - return new Promise(function dispatchXhrRequest(resolve, reject) { - const _config = resolveConfig(config); - let requestData = _config.data; - const requestHeaders = AxiosHeaders.from(_config.headers).normalize(); - let { responseType, onUploadProgress, onDownloadProgress } = _config; - let onCanceled; - let uploadThrottled, downloadThrottled; - let flushUpload, flushDownload; - - function done() { - flushUpload && flushUpload(); // flush events - flushDownload && flushDownload(); // flush events - - _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled); - - _config.signal && _config.signal.removeEventListener('abort', onCanceled); - } - - let request = new XMLHttpRequest(); - - request.open(_config.method.toUpperCase(), _config.url, true); - - // Set the request timeout in MS - request.timeout = _config.timeout; - - function onloadend() { - if (!request) { - return; - } - // Prepare the response - const responseHeaders = AxiosHeaders.from( - 'getAllResponseHeaders' in request && request.getAllResponseHeaders() - ); - const responseData = - !responseType || responseType === 'text' || responseType === 'json' - ? request.responseText - : request.response; - const response = { - data: responseData, - status: request.status, - statusText: request.statusText, - headers: responseHeaders, - config, - request, - }; - - settle( - function _resolve(value) { - resolve(value); - done(); - }, - function _reject(err) { - reject(err); - done(); - }, - response - ); - - // Clean up request - request = null; - } - - if ('onloadend' in request) { - // Use onloadend if available - request.onloadend = onloadend; - } else { - // Listen for ready state to emulate onloadend - request.onreadystatechange = function handleLoad() { - if (!request || request.readyState !== 4) { - return; - } - - // The request errored out and we didn't get a response, this will be - // handled by onerror instead - // With one exception: request that using file: protocol, most browsers - // will return status as 0 even though it's a successful request - if ( - request.status === 0 && - !(request.responseURL && request.responseURL.startsWith('file:')) - ) { - return; - } - // readystate handler is calling before onerror or ontimeout handlers, - // so we should call onloadend on the next 'tick' - setTimeout(onloadend); - }; - } - - // Handle browser request cancellation (as opposed to a manual cancellation) - request.onabort = function handleAbort() { - if (!request) { - return; - } - - reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request)); - done(); - - // Clean up request - request = null; - }; - - // Handle low level network errors - request.onerror = function handleError(event) { - // Browsers deliver a ProgressEvent in XHR onerror - // (message may be empty; when present, surface it) - // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event - const msg = event && event.message ? event.message : 'Network Error'; - const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request); - // attach the underlying event for consumers who want details - err.event = event || null; - reject(err); - done(); - request = null; - }; - - // Handle timeout - request.ontimeout = function handleTimeout() { - let timeoutErrorMessage = _config.timeout - ? 'timeout of ' + _config.timeout + 'ms exceeded' - : 'timeout exceeded'; - const transitional = _config.transitional || transitionalDefaults; - if (_config.timeoutErrorMessage) { - timeoutErrorMessage = _config.timeoutErrorMessage; - } - reject( - new AxiosError( - timeoutErrorMessage, - transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, - config, - request - ) - ); - done(); - - // Clean up request - request = null; - }; - - // Remove Content-Type if data is undefined - requestData === undefined && requestHeaders.setContentType(null); - - // Add headers to the request - if ('setRequestHeader' in request) { - utils.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) { - request.setRequestHeader(key, val); - }); - } - - // Add withCredentials to request if needed - if (!utils.isUndefined(_config.withCredentials)) { - request.withCredentials = !!_config.withCredentials; - } - - // Add responseType to request if needed - if (responseType && responseType !== 'json') { - request.responseType = _config.responseType; - } - - // Handle progress if needed - if (onDownloadProgress) { - [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true); - request.addEventListener('progress', downloadThrottled); - } - - // Not all browsers support upload events - if (onUploadProgress && request.upload) { - [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress); - - request.upload.addEventListener('progress', uploadThrottled); - - request.upload.addEventListener('loadend', flushUpload); - } - - if (_config.cancelToken || _config.signal) { - // Handle cancellation - // eslint-disable-next-line func-names - onCanceled = (cancel) => { - if (!request) { - return; - } - reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel); - request.abort(); - done(); - request = null; - }; - - _config.cancelToken && _config.cancelToken.subscribe(onCanceled); - if (_config.signal) { - _config.signal.aborted - ? onCanceled() - : _config.signal.addEventListener('abort', onCanceled); - } - } - - const protocol = parseProtocol(_config.url); - - if (protocol && !platform.protocols.includes(protocol)) { - reject( - new AxiosError( - 'Unsupported protocol ' + protocol + ':', - AxiosError.ERR_BAD_REQUEST, - config - ) - ); - done(); - return; - } - - // Send the request - request.send(requestData || null); - }); - }; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.min.js deleted file mode 100644 index 924326b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/adapters/xhr.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/adapters/xhr.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import utils from"../utils.js";import settle from"../core/settle.js";import transitionalDefaults from"../defaults/transitional.js";import AxiosError from"../core/AxiosError.js";import CanceledError from"../cancel/CanceledError.js";import parseProtocol from"../helpers/parseProtocol.js";import platform from"../platform/index.js";import AxiosHeaders from"../core/AxiosHeaders.js";import{progressEventReducer}from"../helpers/progressEventReducer.js";import resolveConfig from"../helpers/resolveConfig.js";import{toByteStringHeaderObject}from"../helpers/sanitizeHeaderValue.js";const isXHRAdapterSupported="undefined"!=typeof XMLHttpRequest;export default isXHRAdapterSupported&&function(e){return new Promise(function(r,o){const t=resolveConfig(e);let s=t.data;const n=AxiosHeaders.from(t.headers).normalize();let i,a,l,u,d,{responseType:p,onUploadProgress:c,onDownloadProgress:m}=t;function f(){u&&u(),d&&d(),t.cancelToken&&t.cancelToken.unsubscribe(i),t.signal&&t.signal.removeEventListener("abort",i)}let E=new XMLHttpRequest;function g(){if(!E)return;const t=AxiosHeaders.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),s={data:p&&"text"!==p&&"json"!==p?E.response:E.responseText,status:E.status,statusText:E.statusText,headers:t,config:e,request:E};settle(function(e){r(e),f()},function(e){o(e),f()},s),E=null}E.open(t.method.toUpperCase(),t.url,!0),E.timeout=t.timeout,"onloadend"in E?E.onloadend=g:E.onreadystatechange=function(){E&&4===E.readyState&&(0!==E.status||E.responseURL&&E.responseURL.startsWith("file:"))&&setTimeout(g)},E.onabort=function(){E&&(o(new AxiosError("Request aborted",AxiosError.ECONNABORTED,e,E)),f(),E=null)},E.onerror=function(r){const t=r&&r.message?r.message:"Network Error",s=new AxiosError(t,AxiosError.ERR_NETWORK,e,E);s.event=r||null,o(s),f(),E=null},E.ontimeout=function(){let r=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const s=t.transitional||transitionalDefaults;t.timeoutErrorMessage&&(r=t.timeoutErrorMessage),o(new AxiosError(r,s.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,e,E)),f(),E=null},void 0===s&&n.setContentType(null),"setRequestHeader"in E&&utils.forEach(toByteStringHeaderObject(n),function(e,r){E.setRequestHeader(r,e)}),utils.isUndefined(t.withCredentials)||(E.withCredentials=!!t.withCredentials),p&&"json"!==p&&(E.responseType=t.responseType),m&&([l,d]=progressEventReducer(m,!0),E.addEventListener("progress",l)),c&&E.upload&&([a,u]=progressEventReducer(c),E.upload.addEventListener("progress",a),E.upload.addEventListener("loadend",u)),(t.cancelToken||t.signal)&&(i=r=>{E&&(o(!r||r.type?new CanceledError(null,e,E):r),E.abort(),f(),E=null)},t.cancelToken&&t.cancelToken.subscribe(i),t.signal&&(t.signal.aborted?i():t.signal.addEventListener("abort",i)));const x=parseProtocol(t.url);if(x&&!platform.protocols.includes(x))return o(new AxiosError("Unsupported protocol "+x+":",AxiosError.ERR_BAD_REQUEST,e)),void f();E.send(s||null)})}; -//# sourceMappingURL=/sm/424b195ca9504ea3d99d6f91b8cd2d90f53c5e2b3b9b8295a2c53fcc9a2710ab.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.js deleted file mode 100644 index 5a3a876..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.js +++ /dev/null @@ -1,89 +0,0 @@ -'use strict'; - -import utils from './utils.js'; -import bind from './helpers/bind.js'; -import Axios from './core/Axios.js'; -import mergeConfig from './core/mergeConfig.js'; -import defaults from './defaults/index.js'; -import formDataToJSON from './helpers/formDataToJSON.js'; -import CanceledError from './cancel/CanceledError.js'; -import CancelToken from './cancel/CancelToken.js'; -import isCancel from './cancel/isCancel.js'; -import { VERSION } from './env/data.js'; -import toFormData from './helpers/toFormData.js'; -import AxiosError from './core/AxiosError.js'; -import spread from './helpers/spread.js'; -import isAxiosError from './helpers/isAxiosError.js'; -import AxiosHeaders from './core/AxiosHeaders.js'; -import adapters from './adapters/adapters.js'; -import HttpStatusCode from './helpers/HttpStatusCode.js'; - -/** - * Create an instance of Axios - * - * @param {Object} defaultConfig The default config for the instance - * - * @returns {Axios} A new instance of Axios - */ -function createInstance(defaultConfig) { - const context = new Axios(defaultConfig); - const instance = bind(Axios.prototype.request, context); - - // Copy axios.prototype to instance - utils.extend(instance, Axios.prototype, context, { allOwnKeys: true }); - - // Copy context to instance - utils.extend(instance, context, null, { allOwnKeys: true }); - - // Factory for creating new instances - instance.create = function create(instanceConfig) { - return createInstance(mergeConfig(defaultConfig, instanceConfig)); - }; - - return instance; -} - -// Create the default instance to be exported -const axios = createInstance(defaults); - -// Expose Axios class to allow class inheritance -axios.Axios = Axios; - -// Expose Cancel & CancelToken -axios.CanceledError = CanceledError; -axios.CancelToken = CancelToken; -axios.isCancel = isCancel; -axios.VERSION = VERSION; -axios.toFormData = toFormData; - -// Expose AxiosError class -axios.AxiosError = AxiosError; - -// alias for CanceledError for backward compatibility -axios.Cancel = axios.CanceledError; - -// Expose all/spread -axios.all = function all(promises) { - return Promise.all(promises); -}; - -axios.spread = spread; - -// Expose isAxiosError -axios.isAxiosError = isAxiosError; - -// Expose mergeConfig -axios.mergeConfig = mergeConfig; - -axios.AxiosHeaders = AxiosHeaders; - -axios.formToJSON = (thing) => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing); - -axios.getAdapter = adapters.getAdapter; - -axios.HttpStatusCode = HttpStatusCode; - -axios.default = axios; - -// this module should only have a default export -export default axios; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.min.js deleted file mode 100644 index 0c91736..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/axios.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/axios.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"./utils.js";import bind from"./helpers/bind.js";import Axios from"./core/Axios.js";import mergeConfig from"./core/mergeConfig.js";import defaults from"./defaults/index.js";import formDataToJSON from"./helpers/formDataToJSON.js";import CanceledError from"./cancel/CanceledError.js";import CancelToken from"./cancel/CancelToken.js";import isCancel from"./cancel/isCancel.js";import{VERSION}from"./env/data.js";import toFormData from"./helpers/toFormData.js";import AxiosError from"./core/AxiosError.js";import spread from"./helpers/spread.js";import isAxiosError from"./helpers/isAxiosError.js";import AxiosHeaders from"./core/AxiosHeaders.js";import adapters from"./adapters/adapters.js";import HttpStatusCode from"./helpers/HttpStatusCode.js";function createInstance(o){const r=new Axios(o),e=bind(Axios.prototype.request,r);return utils.extend(e,Axios.prototype,r,{allOwnKeys:!0}),utils.extend(e,r,null,{allOwnKeys:!0}),e.create=function(r){return createInstance(mergeConfig(o,r))},e}const axios=createInstance(defaults);axios.Axios=Axios,axios.CanceledError=CanceledError,axios.CancelToken=CancelToken,axios.isCancel=isCancel,axios.VERSION=VERSION,axios.toFormData=toFormData,axios.AxiosError=AxiosError,axios.Cancel=axios.CanceledError,axios.all=function(o){return Promise.all(o)},axios.spread=spread,axios.isAxiosError=isAxiosError,axios.mergeConfig=mergeConfig,axios.AxiosHeaders=AxiosHeaders,axios.formToJSON=o=>formDataToJSON(utils.isHTMLForm(o)?new FormData(o):o),axios.getAdapter=adapters.getAdapter,axios.HttpStatusCode=HttpStatusCode,axios.default=axios;export default axios; -//# sourceMappingURL=/sm/6948fd57f18b8aa88e8204483d135f783af399bdb0489af0519431da6fcf4dd8.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.js deleted file mode 100644 index 357381e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.js +++ /dev/null @@ -1,135 +0,0 @@ -'use strict'; - -import CanceledError from './CanceledError.js'; - -/** - * A `CancelToken` is an object that can be used to request cancellation of an operation. - * - * @param {Function} executor The executor function. - * - * @returns {CancelToken} - */ -class CancelToken { - constructor(executor) { - if (typeof executor !== 'function') { - throw new TypeError('executor must be a function.'); - } - - let resolvePromise; - - this.promise = new Promise(function promiseExecutor(resolve) { - resolvePromise = resolve; - }); - - const token = this; - - // eslint-disable-next-line func-names - this.promise.then((cancel) => { - if (!token._listeners) return; - - let i = token._listeners.length; - - while (i-- > 0) { - token._listeners[i](cancel); - } - token._listeners = null; - }); - - // eslint-disable-next-line func-names - this.promise.then = (onfulfilled) => { - let _resolve; - // eslint-disable-next-line func-names - const promise = new Promise((resolve) => { - token.subscribe(resolve); - _resolve = resolve; - }).then(onfulfilled); - - promise.cancel = function reject() { - token.unsubscribe(_resolve); - }; - - return promise; - }; - - executor(function cancel(message, config, request) { - if (token.reason) { - // Cancellation has already been requested - return; - } - - token.reason = new CanceledError(message, config, request); - resolvePromise(token.reason); - }); - } - - /** - * Throws a `CanceledError` if cancellation has been requested. - */ - throwIfRequested() { - if (this.reason) { - throw this.reason; - } - } - - /** - * Subscribe to the cancel signal - */ - - subscribe(listener) { - if (this.reason) { - listener(this.reason); - return; - } - - if (this._listeners) { - this._listeners.push(listener); - } else { - this._listeners = [listener]; - } - } - - /** - * Unsubscribe from the cancel signal - */ - - unsubscribe(listener) { - if (!this._listeners) { - return; - } - const index = this._listeners.indexOf(listener); - if (index !== -1) { - this._listeners.splice(index, 1); - } - } - - toAbortSignal() { - const controller = new AbortController(); - - const abort = (err) => { - controller.abort(err); - }; - - this.subscribe(abort); - - controller.signal.unsubscribe = () => this.unsubscribe(abort); - - return controller.signal; - } - - /** - * Returns an object that contains a new `CancelToken` and a function that, when called, - * cancels the `CancelToken`. - */ - static source() { - let cancel; - const token = new CancelToken(function executor(c) { - cancel = c; - }); - return { - token, - cancel, - }; - } -} - -export default CancelToken; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.min.js deleted file mode 100644 index 736198b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CancelToken.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/cancel/CancelToken.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import CanceledError from"./CanceledError.js";class CancelToken{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(e){s=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](e);n._listeners=null}),this.promise.then=e=>{let s;const t=new Promise(e=>{n.subscribe(e),s=e}).then(e);return t.cancel=function(){n.unsubscribe(s)},t},e(function(e,t,r){n.reason||(n.reason=new CanceledError(e,t,r),s(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const s=this._listeners.indexOf(e);-1!==s&&this._listeners.splice(s,1)}toAbortSignal(){const e=new AbortController,s=s=>{e.abort(s)};return this.subscribe(s),e.signal.unsubscribe=()=>this.unsubscribe(s),e.signal}static source(){let e;return{token:new CancelToken(function(s){e=s}),cancel:e}}}export default CancelToken; -//# sourceMappingURL=/sm/b55c00e23656aec3427912f3d91cfd53219d3d6398c336f5f7a0d186a84dd386.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.js deleted file mode 100644 index e769b89..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -import AxiosError from '../core/AxiosError.js'; - -class CanceledError extends AxiosError { - /** - * A `CanceledError` is an object that is thrown when an operation is canceled. - * - * @param {string=} message The message. - * @param {Object=} config The config. - * @param {Object=} request The request. - * - * @returns {CanceledError} The created error. - */ - constructor(message, config, request) { - super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request); - this.name = 'CanceledError'; - this.__CANCEL__ = true; - } -} - -export default CanceledError; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.min.js deleted file mode 100644 index 56aaff1..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/CanceledError.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/cancel/CanceledError.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import AxiosError from"../core/AxiosError.js";class CanceledError extends AxiosError{constructor(r,o,e){super(null==r?"canceled":r,AxiosError.ERR_CANCELED,o,e),this.name="CanceledError",this.__CANCEL__=!0}}export default CanceledError; -//# sourceMappingURL=/sm/8423b5befdc17a1e5d0e5d5d5db7de37e6e7693a5342d5c433d912bdcdd78446.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.js deleted file mode 100644 index a444a12..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -export default function isCancel(value) { - return !!(value && value.__CANCEL__); -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.min.js deleted file mode 100644 index 305d2ba..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/cancel/isCancel.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/cancel/isCancel.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";export default function isCancel(t){return!(!t||!t.__CANCEL__)} -//# sourceMappingURL=/sm/1634eaf7f9503b19d4d3409fca26d600ac10f436cb40db5514de2c3e95194b58.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.js deleted file mode 100644 index 7fc529e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.js +++ /dev/null @@ -1,283 +0,0 @@ -'use strict'; - -import utils from '../utils.js'; -import buildURL from '../helpers/buildURL.js'; -import InterceptorManager from './InterceptorManager.js'; -import dispatchRequest from './dispatchRequest.js'; -import mergeConfig from './mergeConfig.js'; -import buildFullPath from './buildFullPath.js'; -import validator from '../helpers/validator.js'; -import AxiosHeaders from './AxiosHeaders.js'; -import transitionalDefaults from '../defaults/transitional.js'; - -const validators = validator.validators; - -/** - * Create a new instance of Axios - * - * @param {Object} instanceConfig The default config for the instance - * - * @return {Axios} A new instance of Axios - */ -class Axios { - constructor(instanceConfig) { - this.defaults = instanceConfig || {}; - this.interceptors = { - request: new InterceptorManager(), - response: new InterceptorManager(), - }; - } - - /** - * Dispatch a request - * - * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) - * @param {?Object} config - * - * @returns {Promise} The Promise to be fulfilled - */ - async request(configOrUrl, config) { - try { - return await this._request(configOrUrl, config); - } catch (err) { - if (err instanceof Error) { - let dummy = {}; - - Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error()); - - // slice off the Error: ... line - const stack = (() => { - if (!dummy.stack) { - return ''; - } - - const firstNewlineIndex = dummy.stack.indexOf('\n'); - - return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1); - })(); - try { - if (!err.stack) { - err.stack = stack; - // match without the 2 top stack lines - } else if (stack) { - const firstNewlineIndex = stack.indexOf('\n'); - const secondNewlineIndex = - firstNewlineIndex === -1 ? -1 : stack.indexOf('\n', firstNewlineIndex + 1); - const stackWithoutTwoTopLines = - secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1); - - if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) { - err.stack += '\n' + stack; - } - } - } catch (e) { - // ignore the case where "stack" is an un-writable property - } - } - - throw err; - } - } - - _request(configOrUrl, config) { - /*eslint no-param-reassign:0*/ - // Allow for axios('example/url'[, config]) a la fetch API - if (typeof configOrUrl === 'string') { - config = config || {}; - config.url = configOrUrl; - } else { - config = configOrUrl || {}; - } - - config = mergeConfig(this.defaults, config); - - const { transitional, paramsSerializer, headers } = config; - - if (transitional !== undefined) { - validator.assertOptions( - transitional, - { - silentJSONParsing: validators.transitional(validators.boolean), - forcedJSONParsing: validators.transitional(validators.boolean), - clarifyTimeoutError: validators.transitional(validators.boolean), - legacyInterceptorReqResOrdering: validators.transitional(validators.boolean), - advertiseZstdAcceptEncoding: validators.transitional(validators.boolean), - validateStatusUndefinedResolves: validators.transitional(validators.boolean), - }, - false - ); - } - - if (paramsSerializer != null) { - if (utils.isFunction(paramsSerializer)) { - config.paramsSerializer = { - serialize: paramsSerializer, - }; - } else { - validator.assertOptions( - paramsSerializer, - { - encode: validators.function, - serialize: validators.function, - }, - true - ); - } - } - - // Set config.allowAbsoluteUrls - if (config.allowAbsoluteUrls !== undefined) { - // do nothing - } else if (this.defaults.allowAbsoluteUrls !== undefined) { - config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls; - } else { - config.allowAbsoluteUrls = true; - } - - validator.assertOptions( - config, - { - baseUrl: validators.spelling('baseURL'), - withXsrfToken: validators.spelling('withXSRFToken'), - }, - true - ); - - // Set config.method - config.method = (config.method || this.defaults.method || 'get').toLowerCase(); - - // Flatten headers - let contextHeaders = headers && utils.merge(headers.common, headers[config.method]); - - headers && - utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => { - delete headers[method]; - }); - - config.headers = AxiosHeaders.concat(contextHeaders, headers); - - // filter out skipped interceptors - const requestInterceptorChain = []; - let synchronousRequestInterceptors = true; - this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) { - if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) { - return; - } - - synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous; - - const transitional = config.transitional || transitionalDefaults; - const legacyInterceptorReqResOrdering = - transitional && transitional.legacyInterceptorReqResOrdering; - - if (legacyInterceptorReqResOrdering) { - requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected); - } else { - requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); - } - }); - - const responseInterceptorChain = []; - this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) { - responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); - }); - - let promise; - let i = 0; - let len; - - if (!synchronousRequestInterceptors) { - const chain = [dispatchRequest.bind(this), undefined]; - chain.unshift(...requestInterceptorChain); - chain.push(...responseInterceptorChain); - len = chain.length; - - promise = Promise.resolve(config); - - while (i < len) { - promise = promise.then(chain[i++], chain[i++]); - } - - return promise; - } - - len = requestInterceptorChain.length; - - let newConfig = config; - - while (i < len) { - const onFulfilled = requestInterceptorChain[i++]; - const onRejected = requestInterceptorChain[i++]; - try { - newConfig = onFulfilled(newConfig); - } catch (error) { - onRejected.call(this, error); - break; - } - } - - try { - promise = dispatchRequest.call(this, newConfig); - } catch (error) { - return Promise.reject(error); - } - - i = 0; - len = responseInterceptorChain.length; - - while (i < len) { - promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); - } - - return promise; - } - - getUri(config) { - config = mergeConfig(this.defaults, config); - const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config); - return buildURL(fullPath, config.params, config.paramsSerializer); - } -} - -// Provide aliases for supported request methods -utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) { - /*eslint func-names:0*/ - Axios.prototype[method] = function (url, config) { - return this.request( - mergeConfig(config || {}, { - method, - url, - data: config && utils.hasOwnProp(config, 'data') ? config.data : undefined, - }) - ); - }; -}); - -utils.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) { - function generateHTTPMethod(isForm) { - return function httpMethod(url, data, config) { - return this.request( - mergeConfig(config || {}, { - method, - headers: isForm - ? { - 'Content-Type': 'multipart/form-data', - } - : {}, - url, - data, - }) - ); - }; - } - - Axios.prototype[method] = generateHTTPMethod(); - - // QUERY is a safe/idempotent read method; multipart form bodies don't fit - // its semantics, so no queryForm shorthand is generated. - if (method !== 'query') { - Axios.prototype[method + 'Form'] = generateHTTPMethod(true); - } -}); - -export default Axios; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.min.js deleted file mode 100644 index 998e06b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/Axios.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/core/Axios.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"../utils.js";import buildURL from"../helpers/buildURL.js";import InterceptorManager from"./InterceptorManager.js";import dispatchRequest from"./dispatchRequest.js";import mergeConfig from"./mergeConfig.js";import buildFullPath from"./buildFullPath.js";import validator from"../helpers/validator.js";import AxiosHeaders from"./AxiosHeaders.js";import transitionalDefaults from"../defaults/transitional.js";const validators=validator.validators;class Axios{constructor(t){this.defaults=t||{},this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const r=(()=>{if(!e.stack)return"";const t=e.stack.indexOf("\n");return-1===t?"":e.stack.slice(t+1)})();try{if(t.stack){if(r){const e=r.indexOf("\n"),s=-1===e?-1:r.indexOf("\n",e+1),o=-1===s?"":r.slice(s+1);String(t.stack).endsWith(o)||(t.stack+="\n"+r)}}else t.stack=r}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=mergeConfig(this.defaults,e);const{transitional:r,paramsSerializer:s,headers:o}=e;void 0!==r&&validator.assertOptions(r,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean),legacyInterceptorReqResOrdering:validators.transitional(validators.boolean),advertiseZstdAcceptEncoding:validators.transitional(validators.boolean),validateStatusUndefinedResolves:validators.transitional(validators.boolean)},!1),null!=s&&(utils.isFunction(s)?e.paramsSerializer={serialize:s}:validator.assertOptions(s,{encode:validators.function,serialize:validators.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),validator.assertOptions(e,{baseUrl:validators.spelling("baseURL"),withXsrfToken:validators.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let a=o&&utils.merge(o.common,o[e.method]);o&&utils.forEach(["delete","get","head","post","put","patch","query","common"],t=>{delete o[t]}),e.headers=AxiosHeaders.concat(a,o);const i=[];let l=!0;this.interceptors.request.forEach(function(t){if("function"==typeof t.runWhen&&!1===t.runWhen(e))return;l=l&&t.synchronous;const r=e.transitional||transitionalDefaults;r&&r.legacyInterceptorReqResOrdering?i.unshift(t.fulfilled,t.rejected):i.push(t.fulfilled,t.rejected)});const n=[];let u;this.interceptors.response.forEach(function(t){n.push(t.fulfilled,t.rejected)});let c,d=0;if(!l){const t=[dispatchRequest.bind(this),void 0];for(t.unshift(...i),t.push(...n),c=t.length,u=Promise.resolve(e);d String(k).toLowerCase())); - const seen = []; - - const visit = (source) => { - if (source === null || typeof source !== 'object') return source; - if (utils.isBuffer(source)) return source; - if (seen.indexOf(source) !== -1) return undefined; - - if (source instanceof AxiosHeaders) { - source = source.toJSON(); - } - - seen.push(source); - - let result; - if (utils.isArray(source)) { - result = []; - source.forEach((v, i) => { - const reducedValue = visit(v); - if (!utils.isUndefined(reducedValue)) { - result[i] = reducedValue; - } - }); - } else { - if (!utils.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) { - seen.pop(); - return source; - } - - result = Object.create(null); - for (const [key, value] of Object.entries(source)) { - const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value); - if (!utils.isUndefined(reducedValue)) { - result[key] = reducedValue; - } - } - } - - seen.pop(); - return result; - }; - - return visit(config); -} - -class AxiosError extends Error { - static from(error, code, config, request, response, customProps) { - const axiosError = new AxiosError(error.message, code || error.code, config, request, response); - // Match native `Error` `cause` semantics: non-enumerable. The wrapped - // error often carries circular internals (sockets, requests, agents), so - // an enumerable `cause` makes structured loggers (pino/winston) and any - // own-property walk throw "Converting circular structure to JSON". - // Regression from #6982; see #7205. `__proto__: null` mirrors the - // `message` descriptor below (prototype-pollution-safe descriptor). - Object.defineProperty(axiosError, 'cause', { - __proto__: null, - value: error, - writable: true, - enumerable: false, - configurable: true, - }); - axiosError.name = error.name; - - // Preserve status from the original error if not already set from response - if (error.status != null && axiosError.status == null) { - axiosError.status = error.status; - } - - customProps && Object.assign(axiosError, customProps); - return axiosError; - } - - /** - * Create an Error with the specified message, config, error code, request and response. - * - * @param {string} message The error message. - * @param {string} [code] The error code (for example, 'ECONNABORTED'). - * @param {Object} [config] The config. - * @param {Object} [request] The request. - * @param {Object} [response] The response. - * - * @returns {Error} The created error. - */ - constructor(message, code, config, request, response) { - super(message); - - // Make message enumerable to maintain backward compatibility - // The native Error constructor sets message as non-enumerable, - // but axios < v1.13.3 had it as enumerable - Object.defineProperty(this, 'message', { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: message, - enumerable: true, - writable: true, - configurable: true, - }); - - this.name = 'AxiosError'; - this.isAxiosError = true; - code && (this.code = code); - config && (this.config = config); - request && (this.request = request); - if (response) { - this.response = response; - this.status = response.status; - } - } - - toJSON() { - // Opt-in redaction: when the request config carries a `redact` array, the - // value of any matching key (case-insensitive, at any depth) is replaced - // with REDACTED in the serialized snapshot. Undefined or empty leaves the - // existing serialization behavior unchanged. - const config = this.config; - const redactKeys = config && utils.hasOwnProp(config, 'redact') ? config.redact : undefined; - const serializedConfig = - utils.isArray(redactKeys) && redactKeys.length > 0 - ? redactConfig(config, redactKeys) - : utils.toJSONObject(config); - - return { - // Standard - message: this.message, - name: this.name, - // Microsoft - description: this.description, - number: this.number, - // Mozilla - fileName: this.fileName, - lineNumber: this.lineNumber, - columnNumber: this.columnNumber, - stack: this.stack, - // Axios - config: serializedConfig, - code: this.code, - status: this.status, - }; - } -} - -// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated. -AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE'; -AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION'; -AxiosError.ECONNABORTED = 'ECONNABORTED'; -AxiosError.ETIMEDOUT = 'ETIMEDOUT'; -AxiosError.ECONNREFUSED = 'ECONNREFUSED'; -AxiosError.ERR_NETWORK = 'ERR_NETWORK'; -AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS'; -AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED'; -AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE'; -AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST'; -AxiosError.ERR_CANCELED = 'ERR_CANCELED'; -AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT'; -AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL'; -AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED'; - -export default AxiosError; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosError.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosError.min.js deleted file mode 100644 index 2e6ed49..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosError.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/core/AxiosError.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"../utils.js";import AxiosHeaders from"./AxiosHeaders.js";const REDACTED="[REDACTED ****]";function hasOwnOrPrototypeToJSON(r){if(utils.hasOwnProp(r,"toJSON"))return!0;let t=Object.getPrototypeOf(r);for(;t&&t!==Object.prototype;){if(utils.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function redactConfig(r,t){const s=new Set(t.map(r=>String(r).toLowerCase())),e=[],o=r=>{if(null===r||"object"!=typeof r)return r;if(utils.isBuffer(r))return r;if(-1!==e.indexOf(r))return;let t;if(r instanceof AxiosHeaders&&(r=r.toJSON()),e.push(r),utils.isArray(r))t=[],r.forEach((r,s)=>{const e=o(r);utils.isUndefined(e)||(t[s]=e)});else{if(!utils.isPlainObject(r)&&hasOwnOrPrototypeToJSON(r))return e.pop(),r;t=Object.create(null);for(const[e,i]of Object.entries(r)){const r=s.has(e.toLowerCase())?REDACTED:o(i);utils.isUndefined(r)||(t[e]=r)}}return e.pop(),t};return o(r)}class AxiosError extends Error{static from(r,t,s,e,o,i){const E=new AxiosError(r.message,t||r.code,s,e,o);return Object.defineProperty(E,"cause",{__proto__:null,value:r,writable:!0,enumerable:!1,configurable:!0}),E.name=r.name,null!=r.status&&null==E.status&&(E.status=r.status),i&&Object.assign(E,i),E}constructor(r,t,s,e,o){super(r),Object.defineProperty(this,"message",{__proto__:null,value:r,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),s&&(this.config=s),e&&(this.request=e),o&&(this.response=o,this.status=o.status)}toJSON(){const r=this.config,t=r&&utils.hasOwnProp(r,"redact")?r.redact:void 0,s=utils.isArray(t)&&t.length>0?redactConfig(r,t):utils.toJSONObject(r);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:s,code:this.code,status:this.status}}}AxiosError.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",AxiosError.ERR_BAD_OPTION="ERR_BAD_OPTION",AxiosError.ECONNABORTED="ECONNABORTED",AxiosError.ETIMEDOUT="ETIMEDOUT",AxiosError.ECONNREFUSED="ECONNREFUSED",AxiosError.ERR_NETWORK="ERR_NETWORK",AxiosError.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",AxiosError.ERR_DEPRECATED="ERR_DEPRECATED",AxiosError.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",AxiosError.ERR_BAD_REQUEST="ERR_BAD_REQUEST",AxiosError.ERR_CANCELED="ERR_CANCELED",AxiosError.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",AxiosError.ERR_INVALID_URL="ERR_INVALID_URL",AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";export default AxiosError; -//# sourceMappingURL=/sm/6d0e4c1e2824392ab818c15708eceec171654b8fcc0175e6decd42472e9a1f0a.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.js deleted file mode 100644 index 376f87a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.js +++ /dev/null @@ -1,351 +0,0 @@ -'use strict'; - -import utils from '../utils.js'; -import parseHeaders from '../helpers/parseHeaders.js'; -import { sanitizeHeaderValue } from '../helpers/sanitizeHeaderValue.js'; - -const $internals = Symbol('internals'); - -function normalizeHeader(header) { - return header && String(header).trim().toLowerCase(); -} - -function normalizeValue(value) { - if (value === false || value == null) { - return value; - } - - return utils.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value)); -} - -function parseTokens(str) { - const tokens = Object.create(null); - const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; - let match; - - while ((match = tokensRE.exec(str))) { - tokens[match[1]] = match[2]; - } - - return tokens; -} - -const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim()); - -function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) { - if (utils.isFunction(filter)) { - return filter.call(this, value, header); - } - - if (isHeaderNameFilter) { - value = header; - } - - if (!utils.isString(value)) return; - - if (utils.isString(filter)) { - return value.indexOf(filter) !== -1; - } - - if (utils.isRegExp(filter)) { - return filter.test(value); - } -} - -function formatHeader(header) { - return header - .trim() - .toLowerCase() - .replace(/([a-z\d])(\w*)/g, (w, char, str) => { - return char.toUpperCase() + str; - }); -} - -function buildAccessors(obj, header) { - const accessorName = utils.toCamelCase(' ' + header); - - ['get', 'set', 'has'].forEach((methodName) => { - Object.defineProperty(obj, methodName + accessorName, { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: function (arg1, arg2, arg3) { - return this[methodName].call(this, header, arg1, arg2, arg3); - }, - configurable: true, - }); - }); -} - -class AxiosHeaders { - constructor(headers) { - headers && this.set(headers); - } - - set(header, valueOrRewrite, rewrite) { - const self = this; - - function setHeader(_value, _header, _rewrite) { - const lHeader = normalizeHeader(_header); - - if (!lHeader) { - return; - } - - const key = utils.findKey(self, lHeader); - - if ( - !key || - self[key] === undefined || - _rewrite === true || - (_rewrite === undefined && self[key] !== false) - ) { - self[key || _header] = normalizeValue(_value); - } - } - - const setHeaders = (headers, _rewrite) => - utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite)); - - if (utils.isPlainObject(header) || header instanceof this.constructor) { - setHeaders(header, valueOrRewrite); - } else if (utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) { - setHeaders(parseHeaders(header), valueOrRewrite); - } else if (utils.isObject(header) && utils.isSafeIterable(header)) { - let obj = Object.create(null), - dest, - key; - for (const entry of header) { - if (!utils.isArray(entry)) { - throw new TypeError('Object iterator must return a key-value pair'); - } - - key = entry[0]; - - if (utils.hasOwnProp(obj, key)) { - dest = obj[key]; - obj[key] = utils.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]; - } else { - obj[key] = entry[1]; - } - } - - setHeaders(obj, valueOrRewrite); - } else { - header != null && setHeader(valueOrRewrite, header, rewrite); - } - - return this; - } - - get(header, parser) { - header = normalizeHeader(header); - - if (header) { - const key = utils.findKey(this, header); - - if (key) { - const value = this[key]; - - if (!parser) { - return value; - } - - if (parser === true) { - return parseTokens(value); - } - - if (utils.isFunction(parser)) { - return parser.call(this, value, key); - } - - if (utils.isRegExp(parser)) { - return parser.exec(value); - } - - throw new TypeError('parser must be boolean|regexp|function'); - } - } - } - - has(header, matcher) { - header = normalizeHeader(header); - - if (header) { - const key = utils.findKey(this, header); - - return !!( - key && - this[key] !== undefined && - (!matcher || matchHeaderValue(this, this[key], key, matcher)) - ); - } - - return false; - } - - delete(header, matcher) { - const self = this; - let deleted = false; - - function deleteHeader(_header) { - _header = normalizeHeader(_header); - - if (_header) { - const key = utils.findKey(self, _header); - - if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) { - delete self[key]; - - deleted = true; - } - } - } - - if (utils.isArray(header)) { - header.forEach(deleteHeader); - } else { - deleteHeader(header); - } - - return deleted; - } - - clear(matcher) { - const keys = Object.keys(this); - let i = keys.length; - let deleted = false; - - while (i--) { - const key = keys[i]; - if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) { - delete this[key]; - deleted = true; - } - } - - return deleted; - } - - normalize(format) { - const self = this; - const headers = {}; - - utils.forEach(this, (value, header) => { - const key = utils.findKey(headers, header); - - if (key) { - self[key] = normalizeValue(value); - delete self[header]; - return; - } - - const normalized = format ? formatHeader(header) : String(header).trim(); - - if (normalized !== header) { - delete self[header]; - } - - self[normalized] = normalizeValue(value); - - headers[normalized] = true; - }); - - return this; - } - - concat(...targets) { - return this.constructor.concat(this, ...targets); - } - - toJSON(asStrings) { - const obj = Object.create(null); - - utils.forEach(this, (value, header) => { - value != null && - value !== false && - (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value); - }); - - return obj; - } - - [Symbol.iterator]() { - return Object.entries(this.toJSON())[Symbol.iterator](); - } - - toString() { - return Object.entries(this.toJSON()) - .map(([header, value]) => header + ': ' + value) - .join('\n'); - } - - getSetCookie() { - return this.get('set-cookie') || []; - } - - get [Symbol.toStringTag]() { - return 'AxiosHeaders'; - } - - static from(thing) { - return thing instanceof this ? thing : new this(thing); - } - - static concat(first, ...targets) { - const computed = new this(first); - - targets.forEach((target) => computed.set(target)); - - return computed; - } - - static accessor(header) { - const internals = - (this[$internals] = - this[$internals] = - { - accessors: {}, - }); - - const accessors = internals.accessors; - const prototype = this.prototype; - - function defineAccessor(_header) { - const lHeader = normalizeHeader(_header); - - if (!accessors[lHeader]) { - buildAccessors(prototype, _header); - accessors[lHeader] = true; - } - } - - utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header); - - return this; - } -} - -AxiosHeaders.accessor([ - 'Content-Type', - 'Content-Length', - 'Accept', - 'Accept-Encoding', - 'User-Agent', - 'Authorization', -]); - -// reserved names hotfix -utils.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => { - let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set` - return { - get: () => value, - set(headerValue) { - this[mapped] = headerValue; - }, - }; -}); - -utils.freezeMethods(AxiosHeaders); - -export default AxiosHeaders; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.min.js deleted file mode 100644 index 039ae08..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/AxiosHeaders.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/core/AxiosHeaders.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"../utils.js";import parseHeaders from"../helpers/parseHeaders.js";import{sanitizeHeaderValue}from"../helpers/sanitizeHeaderValue.js";const $internals=Symbol("internals");function normalizeHeader(e){return e&&String(e).trim().toLowerCase()}function normalizeValue(e){return!1===e||null==e?e:utils.isArray(e)?e.map(normalizeValue):sanitizeHeaderValue(String(e))}function parseTokens(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=r.exec(e);)t[s[1]]=s[2];return t}const isValidHeaderName=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function matchHeaderValue(e,t,r,s,i){return utils.isFunction(s)?s.call(this,t,r):(i&&(t=r),utils.isString(t)?utils.isString(s)?-1!==t.indexOf(s):utils.isRegExp(s)?s.test(t):void 0:void 0)}function formatHeader(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}function buildAccessors(e,t){const r=utils.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+r,{__proto__:null,value:function(e,r,i){return this[s].call(this,t,e,r,i)},configurable:!0})})}class AxiosHeaders{constructor(e){e&&this.set(e)}set(e,t,r){const s=this;function i(e,t,r){const i=normalizeHeader(t);if(!i)return;const n=utils.findKey(s,i);(!n||void 0===s[n]||!0===r||void 0===r&&!1!==s[n])&&(s[n||t]=normalizeValue(e))}const n=(e,t)=>utils.forEach(e,(e,r)=>i(e,r,t));if(utils.isPlainObject(e)||e instanceof this.constructor)n(e,t);else if(utils.isString(e)&&(e=e.trim())&&!isValidHeaderName(e))n(parseHeaders(e),t);else if(utils.isObject(e)&&utils.isSafeIterable(e)){let r,s,i=Object.create(null);for(const t of e){if(!utils.isArray(t))throw new TypeError("Object iterator must return a key-value pair");s=t[0],utils.hasOwnProp(i,s)?(r=i[s],i[s]=utils.isArray(r)?[...r,t[1]]:[r,t[1]]):i[s]=t[1]}n(i,t)}else null!=e&&i(t,e,r);return this}get(e,t){if(e=normalizeHeader(e)){const r=utils.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return parseTokens(e);if(utils.isFunction(t))return t.call(this,e,r);if(utils.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=normalizeHeader(e)){const r=utils.findKey(this,e);return!(!r||void 0===this[r]||t&&!matchHeaderValue(this,this[r],r,t))}return!1}delete(e,t){const r=this;let s=!1;function i(e){if(e=normalizeHeader(e)){const i=utils.findKey(r,e);!i||t&&!matchHeaderValue(r,r[i],i,t)||(delete r[i],s=!0)}}return utils.isArray(e)?e.forEach(i):i(e),s}clear(e){const t=Object.keys(this);let r=t.length,s=!1;for(;r--;){const i=t[r];e&&!matchHeaderValue(this,this[i],i,e,!0)||(delete this[i],s=!0)}return s}normalize(e){const t=this,r={};return utils.forEach(this,(s,i)=>{const n=utils.findKey(r,i);if(n)return t[n]=normalizeValue(s),void delete t[i];const o=e?formatHeader(i):String(i).trim();o!==i&&delete t[i],t[o]=normalizeValue(s),r[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return utils.forEach(this,(r,s)=>{null!=r&&!1!==r&&(t[s]=e&&utils.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){const t=(this[$internals]=this[$internals]={accessors:{}}).accessors,r=this.prototype;function s(e){const s=normalizeHeader(e);t[s]||(buildAccessors(r,e),t[s]=!0)}return utils.isArray(e)?e.forEach(s):s(e),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),utils.reduceDescriptors(AxiosHeaders.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),utils.freezeMethods(AxiosHeaders);export default AxiosHeaders; -//# sourceMappingURL=/sm/4d16920acb89109ead0768404a06e53cd092c2779c8f52b292a55f048dbe4b2c.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.js deleted file mode 100644 index fe10f3d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.js +++ /dev/null @@ -1,72 +0,0 @@ -'use strict'; - -import utils from '../utils.js'; - -class InterceptorManager { - constructor() { - this.handlers = []; - } - - /** - * Add a new interceptor to the stack - * - * @param {Function} fulfilled The function to handle `then` for a `Promise` - * @param {Function} rejected The function to handle `reject` for a `Promise` - * @param {Object} options The options for the interceptor, synchronous and runWhen - * - * @return {Number} An ID used to remove interceptor later - */ - use(fulfilled, rejected, options) { - this.handlers.push({ - fulfilled, - rejected, - synchronous: options ? options.synchronous : false, - runWhen: options ? options.runWhen : null, - }); - return this.handlers.length - 1; - } - - /** - * Remove an interceptor from the stack - * - * @param {Number} id The ID that was returned by `use` - * - * @returns {void} - */ - eject(id) { - if (this.handlers[id]) { - this.handlers[id] = null; - } - } - - /** - * Clear all interceptors from the stack - * - * @returns {void} - */ - clear() { - if (this.handlers) { - this.handlers = []; - } - } - - /** - * Iterate over all the registered interceptors - * - * This method is particularly useful for skipping over any - * interceptors that may have become `null` calling `eject`. - * - * @param {Function} fn The function to call for each interceptor - * - * @returns {void} - */ - forEach(fn) { - utils.forEach(this.handlers, function forEachHandler(h) { - if (h !== null) { - fn(h); - } - }); - } -} - -export default InterceptorManager; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.min.js deleted file mode 100644 index 080ec97..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/InterceptorManager.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/core/InterceptorManager.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"../utils.js";class InterceptorManager{constructor(){this.handlers=[]}use(s,r,e){return this.handlers.push({fulfilled:s,rejected:r,synchronous:!!e&&e.synchronous,runWhen:e?e.runWhen:null}),this.handlers.length-1}eject(s){this.handlers[s]&&(this.handlers[s]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(s){utils.forEach(this.handlers,function(r){null!==r&&s(r)})}}export default InterceptorManager; -//# sourceMappingURL=/sm/51aa4f714fc556ba66fb9b142d7b4437e3107e32c0a6c886cc91a38c8714dffc.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/README.md b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/README.md deleted file mode 100644 index 84559ce..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# axios // core - -The modules found in `core/` should be modules that are specific to the domain logic of axios. These modules would most likely not make sense to be consumed outside of the axios module, as their logic is too specific. Some examples of core modules are: - -- Dispatching requests - - Requests sent via `adapters/` (see lib/adapters/README.md) -- Managing interceptors -- Handling config diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.js deleted file mode 100644 index e88cd6a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -import AxiosError from './AxiosError.js'; -import isAbsoluteURL from '../helpers/isAbsoluteURL.js'; -import combineURLs from '../helpers/combineURLs.js'; - -const malformedHttpProtocol = /^https?:(?!\/\/)/i; -const httpProtocolControlCharacters = /[\t\n\r]/g; - -function stripLeadingC0ControlOrSpace(url) { - let i = 0; - while (i < url.length && url.charCodeAt(i) <= 0x20) { - i++; - } - return url.slice(i); -} - -function normalizeURLForProtocolCheck(url) { - return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, ''); -} - -function assertValidHttpProtocolURL(url, config) { - if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) { - throw new AxiosError( - 'Invalid URL: missing "//" after protocol', - AxiosError.ERR_INVALID_URL, - config - ); - } -} - -/** - * Creates a new URL by combining the baseURL with the requestedURL, - * only when the requestedURL is not already an absolute URL. - * If the requestURL is absolute, this function returns the requestedURL untouched. - * - * @param {string} baseURL The base URL - * @param {string} requestedURL Absolute or relative URL to combine - * - * @returns {string} The combined full path - */ -export default function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) { - assertValidHttpProtocolURL(requestedURL, config); - let isRelativeUrl = !isAbsoluteURL(requestedURL); - if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) { - assertValidHttpProtocolURL(baseURL, config); - return combineURLs(baseURL, requestedURL); - } - return requestedURL; -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.min.js deleted file mode 100644 index a644bdd..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/buildFullPath.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/core/buildFullPath.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import AxiosError from"./AxiosError.js";import isAbsoluteURL from"../helpers/isAbsoluteURL.js";import combineURLs from"../helpers/combineURLs.js";const malformedHttpProtocol=/^https?:(?!\/\/)/i,httpProtocolControlCharacters=/[\t\n\r]/g;function stripLeadingC0ControlOrSpace(o){let t=0;for(;t (thing instanceof AxiosHeaders ? { ...thing } : thing); - -/** - * Config-specific merge-function which creates a new config-object - * by merging two configuration objects together. - * - * @param {Object} config1 - * @param {Object} config2 - * - * @returns {Object} New object resulting from merging config2 to config1 - */ -export default function mergeConfig(config1, config2) { - // eslint-disable-next-line no-param-reassign - config1 = config1 || {}; - config2 = config2 || {}; - - // Use a null-prototype object so that downstream reads such as `config.auth` - // or `config.baseURL` cannot inherit polluted values from Object.prototype. - // `hasOwnProperty` is restored as a non-enumerable own slot to preserve - // ergonomics for user code that relies on it. - const config = Object.create(null); - Object.defineProperty(config, 'hasOwnProperty', { - // Null-proto descriptor so a polluted Object.prototype.get cannot turn - // this data descriptor into an accessor descriptor on the way in. - __proto__: null, - value: Object.prototype.hasOwnProperty, - enumerable: false, - writable: true, - configurable: true, - }); - - function getMergedValue(target, source, prop, caseless) { - if (utils.isPlainObject(target) && utils.isPlainObject(source)) { - return utils.merge.call({ caseless }, target, source); - } else if (utils.isPlainObject(source)) { - return utils.merge({}, source); - } else if (utils.isArray(source)) { - return source.slice(); - } - return source; - } - - function mergeDeepProperties(a, b, prop, caseless) { - if (!utils.isUndefined(b)) { - return getMergedValue(a, b, prop, caseless); - } else if (!utils.isUndefined(a)) { - return getMergedValue(undefined, a, prop, caseless); - } - } - - // eslint-disable-next-line consistent-return - function valueFromConfig2(a, b) { - if (!utils.isUndefined(b)) { - return getMergedValue(undefined, b); - } - } - - // eslint-disable-next-line consistent-return - function defaultToConfig2(a, b) { - if (!utils.isUndefined(b)) { - return getMergedValue(undefined, b); - } else if (!utils.isUndefined(a)) { - return getMergedValue(undefined, a); - } - } - - function getMergedTransitionalOption(prop) { - const transitional2 = utils.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined; - - if (!utils.isUndefined(transitional2)) { - if (utils.isPlainObject(transitional2)) { - if (utils.hasOwnProp(transitional2, prop)) { - return transitional2[prop]; - } - } else { - return undefined; - } - } - - const transitional1 = utils.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined; - - if (utils.isPlainObject(transitional1) && utils.hasOwnProp(transitional1, prop)) { - return transitional1[prop]; - } - - return undefined; - } - - // eslint-disable-next-line consistent-return - function mergeDirectKeys(a, b, prop) { - if (utils.hasOwnProp(config2, prop)) { - return getMergedValue(a, b); - } else if (utils.hasOwnProp(config1, prop)) { - return getMergedValue(undefined, a); - } - } - - const mergeMap = { - url: valueFromConfig2, - method: valueFromConfig2, - data: valueFromConfig2, - baseURL: defaultToConfig2, - transformRequest: defaultToConfig2, - transformResponse: defaultToConfig2, - paramsSerializer: defaultToConfig2, - timeout: defaultToConfig2, - timeoutMessage: defaultToConfig2, - withCredentials: defaultToConfig2, - withXSRFToken: defaultToConfig2, - adapter: defaultToConfig2, - responseType: defaultToConfig2, - xsrfCookieName: defaultToConfig2, - xsrfHeaderName: defaultToConfig2, - onUploadProgress: defaultToConfig2, - onDownloadProgress: defaultToConfig2, - decompress: defaultToConfig2, - maxContentLength: defaultToConfig2, - maxBodyLength: defaultToConfig2, - beforeRedirect: defaultToConfig2, - transport: defaultToConfig2, - httpAgent: defaultToConfig2, - httpsAgent: defaultToConfig2, - cancelToken: defaultToConfig2, - socketPath: defaultToConfig2, - allowedSocketPaths: defaultToConfig2, - responseEncoding: defaultToConfig2, - validateStatus: mergeDirectKeys, - headers: (a, b, prop) => - mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true), - }; - - utils.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) { - if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return; - const merge = utils.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties; - const a = utils.hasOwnProp(config1, prop) ? config1[prop] : undefined; - const b = utils.hasOwnProp(config2, prop) ? config2[prop] : undefined; - const configValue = merge(a, b, prop); - (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue); - }); - - if ( - utils.hasOwnProp(config2, 'validateStatus') && - utils.isUndefined(config2.validateStatus) && - getMergedTransitionalOption('validateStatusUndefinedResolves') === false - ) { - if (utils.hasOwnProp(config1, 'validateStatus')) { - config.validateStatus = getMergedValue(undefined, config1.validateStatus); - } else { - delete config.validateStatus; - } - } - - return config; -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/mergeConfig.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/mergeConfig.min.js deleted file mode 100644 index 6c889a5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/mergeConfig.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/core/mergeConfig.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"../utils.js";import AxiosHeaders from"./AxiosHeaders.js";const headersToObject=t=>t instanceof AxiosHeaders?{...t}:t;export default function mergeConfig(t,e){t=t||{},e=e||{};const s=Object.create(null);function i(t,e,s,i){return utils.isPlainObject(t)&&utils.isPlainObject(e)?utils.merge.call({caseless:i},t,e):utils.isPlainObject(e)?utils.merge({},e):utils.isArray(e)?e.slice():e}function n(t,e,s,n){return utils.isUndefined(e)?utils.isUndefined(t)?void 0:i(void 0,t,0,n):i(t,e,0,n)}function o(t,e){if(!utils.isUndefined(e))return i(void 0,e)}function r(t,e){return utils.isUndefined(e)?utils.isUndefined(t)?void 0:i(void 0,t):i(void 0,e)}function a(s,n,o){return utils.hasOwnProp(e,o)?i(s,n):utils.hasOwnProp(t,o)?i(void 0,s):void 0}Object.defineProperty(s,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const l={url:o,method:o,data:o,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,allowedSocketPaths:r,responseEncoding:r,validateStatus:a,headers:(t,e,s)=>n(headersToObject(t),headersToObject(e),0,!0)};return utils.forEach(Object.keys({...t,...e}),function(i){if("__proto__"===i||"constructor"===i||"prototype"===i)return;const o=utils.hasOwnProp(l,i)?l[i]:n,r=o(utils.hasOwnProp(t,i)?t[i]:void 0,utils.hasOwnProp(e,i)?e[i]:void 0,i);utils.isUndefined(r)&&o!==a||(s[i]=r)}),utils.hasOwnProp(e,"validateStatus")&&utils.isUndefined(e.validateStatus)&&!1===function(s){const i=utils.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!utils.isUndefined(i)){if(!utils.isPlainObject(i))return;if(utils.hasOwnProp(i,s))return i[s]}const n=utils.hasOwnProp(t,"transitional")?t.transitional:void 0;if(utils.isPlainObject(n)&&utils.hasOwnProp(n,s))return n[s]}("validateStatusUndefinedResolves")&&(utils.hasOwnProp(t,"validateStatus")?s.validateStatus=i(void 0,t.validateStatus):delete s.validateStatus),s} -//# sourceMappingURL=/sm/8b29c44e256aa1cdcc7fd756a11195d3d00f513ada71e49d8635437bc36c286c.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.js deleted file mode 100644 index 782f571..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -import AxiosError from './AxiosError.js'; - -/** - * Resolve or reject a Promise based on response status. - * - * @param {Function} resolve A function that resolves the promise. - * @param {Function} reject A function that rejects the promise. - * @param {object} response The response. - * - * @returns {object} The response. - */ -export default function settle(resolve, reject, response) { - const validateStatus = response.config.validateStatus; - if (!response.status || !validateStatus || validateStatus(response.status)) { - resolve(response); - } else { - reject(new AxiosError( - 'Request failed with status code ' + response.status, - response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE, - response.config, - response.request, - response - )); - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.min.js deleted file mode 100644 index 4cb02fa..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/settle.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/core/settle.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import AxiosError from"./AxiosError.js";export default function settle(t,s,r){const o=r.config.validateStatus;r.status&&o&&!o(r.status)?s(new AxiosError("Request failed with status code "+r.status,r.status>=400&&r.status<500?AxiosError.ERR_BAD_REQUEST:AxiosError.ERR_BAD_RESPONSE,r.config,r.request,r)):t(r)} -//# sourceMappingURL=/sm/c096a642e3c1338e948d8b6d69835b80d5d95f9d625f2a48c403044bd0322b6e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.js deleted file mode 100644 index f22c474..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -import utils from '../utils.js'; -import defaults from '../defaults/index.js'; -import AxiosHeaders from '../core/AxiosHeaders.js'; - -/** - * Transform the data for a request or a response - * - * @param {Array|Function} fns A single function or Array of functions - * @param {?Object} response The response object - * - * @returns {*} The resulting transformed data - */ -export default function transformData(fns, response) { - const config = this || defaults; - const context = response || config; - const headers = AxiosHeaders.from(context.headers); - let data = context.data; - - utils.forEach(fns, function transform(fn) { - data = fn.call(config, data, headers.normalize(), response ? response.status : undefined); - }); - - headers.normalize(); - - return data; -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.min.js deleted file mode 100644 index 8e4b111..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/core/transformData.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/core/transformData.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"../utils.js";import defaults from"../defaults/index.js";import AxiosHeaders from"../core/AxiosHeaders.js";export default function transformData(t,s){const r=this||defaults,e=s||r,o=AxiosHeaders.from(e.headers);let a=e.data;return utils.forEach(t,function(t){a=t.call(r,a,o.normalize(),s?s.status:void 0)}),o.normalize(),a} -//# sourceMappingURL=/sm/1bbaf2e61a2bfcd2be2c5aaac6d981d712a25e265ccadcce9448afbd66db2a2e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.js deleted file mode 100644 index 642a089..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.js +++ /dev/null @@ -1,177 +0,0 @@ -'use strict'; - -import utils from '../utils.js'; -import AxiosError from '../core/AxiosError.js'; -import transitionalDefaults from './transitional.js'; -import toFormData from '../helpers/toFormData.js'; -import toURLEncodedForm from '../helpers/toURLEncodedForm.js'; -import platform from '../platform/index.js'; -import formDataToJSON from '../helpers/formDataToJSON.js'; - -const own = (obj, key) => (obj != null && utils.hasOwnProp(obj, key) ? obj[key] : undefined); - -/** - * It takes a string, tries to parse it, and if it fails, it returns the stringified version - * of the input - * - * @param {any} rawValue - The value to be stringified. - * @param {Function} parser - A function that parses a string into a JavaScript object. - * @param {Function} encoder - A function that takes a value and returns a string. - * - * @returns {string} A stringified version of the rawValue. - */ -function stringifySafely(rawValue, parser, encoder) { - if (utils.isString(rawValue)) { - try { - (parser || JSON.parse)(rawValue); - return utils.trim(rawValue); - } catch (e) { - if (e.name !== 'SyntaxError') { - throw e; - } - } - } - - return (encoder || JSON.stringify)(rawValue); -} - -const defaults = { - transitional: transitionalDefaults, - - adapter: ['xhr', 'http', 'fetch'], - - transformRequest: [ - function transformRequest(data, headers) { - const contentType = headers.getContentType() || ''; - const hasJSONContentType = contentType.indexOf('application/json') > -1; - const isObjectPayload = utils.isObject(data); - - if (isObjectPayload && utils.isHTMLForm(data)) { - data = new FormData(data); - } - - const isFormData = utils.isFormData(data); - - if (isFormData) { - return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data; - } - - if ( - utils.isArrayBuffer(data) || - utils.isBuffer(data) || - utils.isStream(data) || - utils.isFile(data) || - utils.isBlob(data) || - utils.isReadableStream(data) - ) { - return data; - } - if (utils.isArrayBufferView(data)) { - return data.buffer; - } - if (utils.isURLSearchParams(data)) { - headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false); - return data.toString(); - } - - let isFileList; - - if (isObjectPayload) { - const formSerializer = own(this, 'formSerializer'); - if (contentType.indexOf('application/x-www-form-urlencoded') > -1) { - return toURLEncodedForm(data, formSerializer).toString(); - } - - if ( - (isFileList = utils.isFileList(data)) || - contentType.indexOf('multipart/form-data') > -1 - ) { - const env = own(this, 'env'); - const _FormData = env && env.FormData; - - return toFormData( - isFileList ? { 'files[]': data } : data, - _FormData && new _FormData(), - formSerializer - ); - } - } - - if (isObjectPayload || hasJSONContentType) { - headers.setContentType('application/json', false); - return stringifySafely(data); - } - - return data; - }, - ], - - transformResponse: [ - function transformResponse(data) { - const transitional = own(this, 'transitional') || defaults.transitional; - const forcedJSONParsing = transitional && transitional.forcedJSONParsing; - const responseType = own(this, 'responseType'); - const JSONRequested = responseType === 'json'; - - if (utils.isResponse(data) || utils.isReadableStream(data)) { - return data; - } - - if ( - data && - utils.isString(data) && - ((forcedJSONParsing && !responseType) || JSONRequested) - ) { - const silentJSONParsing = transitional && transitional.silentJSONParsing; - const strictJSONParsing = !silentJSONParsing && JSONRequested; - - try { - return JSON.parse(data, own(this, 'parseReviver')); - } catch (e) { - if (strictJSONParsing) { - if (e.name === 'SyntaxError') { - throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response')); - } - throw e; - } - } - } - - return data; - }, - ], - - /** - * A timeout in milliseconds to abort a request. If set to 0 (default) a - * timeout is not created. - */ - timeout: 0, - - xsrfCookieName: 'XSRF-TOKEN', - xsrfHeaderName: 'X-XSRF-TOKEN', - - maxContentLength: -1, - maxBodyLength: -1, - - env: { - FormData: platform.classes.FormData, - Blob: platform.classes.Blob, - }, - - validateStatus: function validateStatus(status) { - return status >= 200 && status < 300; - }, - - headers: { - common: { - Accept: 'application/json, text/plain, */*', - 'Content-Type': undefined, - }, - }, -}; - -utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => { - defaults.headers[method] = {}; -}); - -export default defaults; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.min.js deleted file mode 100644 index 9abe095..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/defaults/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"../utils.js";import AxiosError from"../core/AxiosError.js";import transitionalDefaults from"./transitional.js";import toFormData from"../helpers/toFormData.js";import toURLEncodedForm from"../helpers/toURLEncodedForm.js";import platform from"../platform/index.js";import formDataToJSON from"../helpers/formDataToJSON.js";const own=(t,r)=>null!=t&&utils.hasOwnProp(t,r)?t[r]:void 0;function stringifySafely(t,r,i){if(utils.isString(t))try{return(r||JSON.parse)(t),utils.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(i||JSON.stringify)(t)}const defaults={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const i=r.getContentType()||"",o=i.indexOf("application/json")>-1,e=utils.isObject(t);e&&utils.isHTMLForm(t)&&(t=new FormData(t));if(utils.isFormData(t))return o?JSON.stringify(formDataToJSON(t)):t;if(utils.isArrayBuffer(t)||utils.isBuffer(t)||utils.isStream(t)||utils.isFile(t)||utils.isBlob(t)||utils.isReadableStream(t))return t;if(utils.isArrayBufferView(t))return t.buffer;if(utils.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(e){const r=own(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(t,r).toString();if((s=utils.isFileList(t))||i.indexOf("multipart/form-data")>-1){const i=own(this,"env"),o=i&&i.FormData;return toFormData(s?{"files[]":t}:t,o&&new o,r)}}return e||o?(r.setContentType("application/json",!1),stringifySafely(t)):t}],transformResponse:[function(t){const r=own(this,"transitional")||defaults.transitional,i=r&&r.forcedJSONParsing,o=own(this,"responseType"),e="json"===o;if(utils.isResponse(t)||utils.isReadableStream(t))return t;if(t&&utils.isString(t)&&(i&&!o||e)){const i=!(r&&r.silentJSONParsing)&&e;try{return JSON.parse(t,own(this,"parseReviver"))}catch(t){if(i){if("SyntaxError"===t.name)throw AxiosError.from(t,AxiosError.ERR_BAD_RESPONSE,this,null,own(this,"response"));throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils.forEach(["delete","get","head","post","put","patch","query"],t=>{defaults.headers[t]={}});export default defaults; -//# sourceMappingURL=/sm/17d17b8aec2a53a7f8270f490169012f4df5df4ae0d7396a534566368ae6089a.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.js deleted file mode 100644 index e64a6a9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -export default { - silentJSONParsing: true, - forcedJSONParsing: true, - clarifyTimeoutError: false, - legacyInterceptorReqResOrdering: true, - advertiseZstdAcceptEncoding: false, - validateStatusUndefinedResolves: true, -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.min.js deleted file mode 100644 index 122ac2e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/defaults/transitional.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/defaults/transitional.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";export default{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0}; -//# sourceMappingURL=/sm/2ac31c7608869278c898c08a55ea738c3dab2ec5e4851e6f7df63558cf4dec2d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/README.md b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/README.md deleted file mode 100644 index b41baff..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# axios // env - -The `data.js` file is updated automatically when the package version is upgrading. Please do not edit it manually. diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.js deleted file mode 100644 index 862adb9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.js +++ /dev/null @@ -1,2 +0,0 @@ -import _FormData from 'form-data'; -export default typeof FormData !== 'undefined' ? FormData : _FormData; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.min.js deleted file mode 100644 index 8b5a3c7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/classes/FormData.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/env/classes/FormData.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import _FormData from"form-data";export default"undefined"!=typeof FormData?FormData:_FormData; -//# sourceMappingURL=/sm/af7414079ffa713f2555272d93f97d33efc75efa20f9d039bdbfbbe6cc91e297.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.js deleted file mode 100644 index c690166..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "1.18.1"; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.min.js deleted file mode 100644 index 02e8715..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/env/data.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Skipped minification because the original files appears to be already minified. - * Original file: /npm/axios@1.18.1/lib/env/data.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -export const VERSION = "1.18.1"; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.js deleted file mode 100644 index 96e8acb..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.js +++ /dev/null @@ -1,156 +0,0 @@ -'use strict'; - -import stream from 'stream'; -import utils from '../utils.js'; - -const kInternals = Symbol('internals'); - -class AxiosTransformStream extends stream.Transform { - constructor(options) { - options = utils.toFlatObject( - options, - { - maxRate: 0, - chunkSize: 64 * 1024, - minChunkSize: 100, - timeWindow: 500, - ticksRate: 2, - samplesCount: 15, - }, - null, - (prop, source) => { - return !utils.isUndefined(source[prop]); - } - ); - - super({ - readableHighWaterMark: options.chunkSize, - }); - - const internals = (this[kInternals] = { - timeWindow: options.timeWindow, - chunkSize: options.chunkSize, - maxRate: options.maxRate, - minChunkSize: options.minChunkSize, - bytesSeen: 0, - isCaptured: false, - notifiedBytesLoaded: 0, - ts: Date.now(), - bytes: 0, - onReadCallback: null, - }); - - this.on('newListener', (event) => { - if (event === 'progress') { - if (!internals.isCaptured) { - internals.isCaptured = true; - } - } - }); - } - - _read(size) { - const internals = this[kInternals]; - - if (internals.onReadCallback) { - internals.onReadCallback(); - } - - return super._read(size); - } - - _transform(chunk, encoding, callback) { - const internals = this[kInternals]; - const maxRate = internals.maxRate; - - const readableHighWaterMark = this.readableHighWaterMark; - - const timeWindow = internals.timeWindow; - - const divider = 1000 / timeWindow; - const bytesThreshold = maxRate / divider; - const minChunkSize = - internals.minChunkSize !== false - ? Math.max(internals.minChunkSize, bytesThreshold * 0.01) - : 0; - - const pushChunk = (_chunk, _callback) => { - const bytes = Buffer.byteLength(_chunk); - internals.bytesSeen += bytes; - internals.bytes += bytes; - - internals.isCaptured && this.emit('progress', internals.bytesSeen); - - if (this.push(_chunk)) { - process.nextTick(_callback); - } else { - internals.onReadCallback = () => { - internals.onReadCallback = null; - process.nextTick(_callback); - }; - } - }; - - const transformChunk = (_chunk, _callback) => { - const chunkSize = Buffer.byteLength(_chunk); - let chunkRemainder = null; - let maxChunkSize = readableHighWaterMark; - let bytesLeft; - let passed = 0; - - if (maxRate) { - const now = Date.now(); - - if (!internals.ts || (passed = now - internals.ts) >= timeWindow) { - internals.ts = now; - bytesLeft = bytesThreshold - internals.bytes; - internals.bytes = bytesLeft < 0 ? -bytesLeft : 0; - passed = 0; - } - - bytesLeft = bytesThreshold - internals.bytes; - } - - if (maxRate) { - if (bytesLeft <= 0) { - // next time window - return setTimeout(() => { - _callback(null, _chunk); - }, timeWindow - passed); - } - - if (bytesLeft < maxChunkSize) { - maxChunkSize = bytesLeft; - } - } - - if (maxChunkSize && chunkSize > maxChunkSize && chunkSize - maxChunkSize > minChunkSize) { - chunkRemainder = _chunk.subarray(maxChunkSize); - _chunk = _chunk.subarray(0, maxChunkSize); - } - - pushChunk( - _chunk, - chunkRemainder - ? () => { - process.nextTick(_callback, null, chunkRemainder); - } - : _callback - ); - }; - - transformChunk(chunk, function transformNextChunk(err, _chunk) { - if (err) { - return callback(err); - } - - if (_chunk) { - transformChunk(_chunk, transformNextChunk); - } else { - callback(null); - } - }); - } -} - -export default AxiosTransformStream; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.min.js deleted file mode 100644 index 609585f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosTransformStream.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/AxiosTransformStream.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import stream from"stream";import utils from"../utils.js";const kInternals=Symbol("internals");class AxiosTransformStream extends stream.Transform{constructor(e){super({readableHighWaterMark:(e=utils.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(e,t)=>!utils.isUndefined(t[e]))).chunkSize});const t=this[kInternals]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",e=>{"progress"===e&&(t.isCaptured||(t.isCaptured=!0))})}_read(e){const t=this[kInternals];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,s){const n=this[kInternals],a=n.maxRate,i=this.readableHighWaterMark,r=n.timeWindow,o=a/(1e3/r),l=!1!==n.minChunkSize?Math.max(n.minChunkSize,.01*o):0,u=(e,t)=>{const s=Buffer.byteLength(e);n.bytesSeen+=s,n.bytes+=s,n.isCaptured&&this.emit("progress",n.bytesSeen),this.push(e)?process.nextTick(t):n.onReadCallback=()=>{n.onReadCallback=null,process.nextTick(t)}},m=(e,t)=>{const s=Buffer.byteLength(e);let m,c=null,d=i,k=0;if(a){const e=Date.now();(!n.ts||(k=e-n.ts)>=r)&&(n.ts=e,m=o-n.bytes,n.bytes=m<0?-m:0,k=0),m=o-n.bytes}if(a){if(m<=0)return setTimeout(()=>{t(null,e)},r-k);md&&s-d>l&&(c=e.subarray(d),e=e.subarray(0,d)),u(e,c?()=>{process.nextTick(t,null,c)}:t)};m(e,function e(t,n){if(t)return s(t);n?m(n,e):s(null)})}}export default AxiosTransformStream; -//# sourceMappingURL=/sm/a093a4d1062c3f30f9f27188c25d123500f96bbdb35d6b2c4d4a277a0e8bb5a1.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.js deleted file mode 100644 index b77b680..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +++ /dev/null @@ -1,59 +0,0 @@ -'use strict'; - -import toFormData from './toFormData.js'; - -/** - * It encodes a string by replacing all characters that are not in the unreserved set with - * their percent-encoded equivalents - * - * @param {string} str - The string to encode. - * - * @returns {string} The encoded string. - */ -function encode(str) { - const charMap = { - '!': '%21', - "'": '%27', - '(': '%28', - ')': '%29', - '~': '%7E', - '%20': '+', - }; - return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) { - return charMap[match]; - }); -} - -/** - * It takes a params object and converts it to a FormData object - * - * @param {Object} params - The parameters to be converted to a FormData object. - * @param {Object} options - The options object passed to the Axios constructor. - * - * @returns {void} - */ -function AxiosURLSearchParams(params, options) { - this._pairs = []; - - params && toFormData(params, this, options); -} - -const prototype = AxiosURLSearchParams.prototype; - -prototype.append = function append(name, value) { - this._pairs.push([name, value]); -}; - -prototype.toString = function toString(encoder) { - const _encode = encoder - ? (value) => encoder.call(this, value, encode) - : encode; - - return this._pairs - .map(function each(pair) { - return _encode(pair[0]) + '=' + _encode(pair[1]); - }, '') - .join('&'); -}; - -export default AxiosURLSearchParams; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.min.js deleted file mode 100644 index 4c2c492..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/AxiosURLSearchParams.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/AxiosURLSearchParams.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import toFormData from"./toFormData.js";function encode(t){const o={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(t){return o[t]})}function AxiosURLSearchParams(t,o){this._pairs=[],t&&toFormData(t,this,o)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(t,o){this._pairs.push([t,o])},prototype.toString=function(t){const o=t?o=>t.call(this,o,encode):encode;return this._pairs.map(function(t){return o(t[0])+"="+o(t[1])},"").join("&")};export default AxiosURLSearchParams; -//# sourceMappingURL=/sm/29565e6315f5d2cd34987febcecaefccae9f15d2d17634342a973ed1c44aa4ee.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.js deleted file mode 100644 index b3cf924..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.js +++ /dev/null @@ -1,119 +0,0 @@ -'use strict'; - -// Node-only: relies on the built-in `http2` module. Browser/react-native -// builds replace `lib/adapters/http.js` (the sole importer) with `lib/helpers/null.js` -// via the `browser` package.json field, so this module is never reached in -// those environments. Do not import it from any browser-reachable code path. - -import http2 from 'http2'; -import util from 'util'; - -class Http2Sessions { - constructor() { - this.sessions = Object.create(null); - } - - getSession(authority, options) { - options = Object.assign( - { - sessionTimeout: 1000, - }, - options - ); - - let authoritySessions = this.sessions[authority]; - - if (authoritySessions) { - let len = authoritySessions.length; - - for (let i = 0; i < len; i++) { - const [sessionHandle, sessionOptions] = authoritySessions[i]; - if ( - !sessionHandle.destroyed && - !sessionHandle.closed && - util.isDeepStrictEqual(sessionOptions, options) - ) { - return sessionHandle; - } - } - } - - const session = http2.connect(authority, options); - - let removed; - let timer; - - const removeSession = () => { - if (removed) { - return; - } - - removed = true; - - if (timer) { - clearTimeout(timer); - timer = null; - } - - let entries = authoritySessions, - len = entries.length, - i = len; - - while (i--) { - if (entries[i][0] === session) { - if (len === 1) { - delete this.sessions[authority]; - } else { - entries.splice(i, 1); - } - if (!session.closed) { - session.close(); - } - return; - } - } - }; - - const originalRequestFn = session.request; - - const { sessionTimeout } = options; - - if (sessionTimeout != null) { - let streamsCount = 0; - - session.request = function () { - const stream = originalRequestFn.apply(this, arguments); - - streamsCount++; - - if (timer) { - clearTimeout(timer); - timer = null; - } - - stream.once('close', () => { - if (!--streamsCount) { - timer = setTimeout(() => { - timer = null; - removeSession(); - }, sessionTimeout); - } - }); - - return stream; - }; - } - - session.once('close', removeSession); - - let entry = [session, options]; - - authoritySessions - ? authoritySessions.push(entry) - : (authoritySessions = this.sessions[authority] = [entry]); - - return session; - } -} - -export default Http2Sessions; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.min.js deleted file mode 100644 index 7896bcb..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/Http2Sessions.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/Http2Sessions.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import http2 from"http2";import util from"util";class Http2Sessions{constructor(){this.sessions=Object.create(null)}getSession(t,e){e=Object.assign({sessionTimeout:1e3},e);let s=this.sessions[t];if(s){let t=s.length;for(let o=0;o{if(i)return;i=!0,l&&(clearTimeout(l),l=null);let e=s,n=e.length,r=n;for(;r--;)if(e[r][0]===o)return 1===n?delete this.sessions[t]:e.splice(r,1),void(o.closed||o.close())},r=o.request,{sessionTimeout:u}=e;if(null!=u){let t=0;o.request=function(){const e=r.apply(this,arguments);return t++,l&&(clearTimeout(l),l=null),e.once("close",()=>{--t||(l=setTimeout(()=>{l=null,n()},u))}),e}}o.once("close",n);let c=[o,e];return s?s.push(c):s=this.sessions[t]=[c],o}}export default Http2Sessions; -//# sourceMappingURL=/sm/171458b06f9b421de193d334ee98ebeefe403195b5b7c4b3b9786685238f87d7.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.js deleted file mode 100644 index b68d08e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.js +++ /dev/null @@ -1,77 +0,0 @@ -const HttpStatusCode = { - Continue: 100, - SwitchingProtocols: 101, - Processing: 102, - EarlyHints: 103, - Ok: 200, - Created: 201, - Accepted: 202, - NonAuthoritativeInformation: 203, - NoContent: 204, - ResetContent: 205, - PartialContent: 206, - MultiStatus: 207, - AlreadyReported: 208, - ImUsed: 226, - MultipleChoices: 300, - MovedPermanently: 301, - Found: 302, - SeeOther: 303, - NotModified: 304, - UseProxy: 305, - Unused: 306, - TemporaryRedirect: 307, - PermanentRedirect: 308, - BadRequest: 400, - Unauthorized: 401, - PaymentRequired: 402, - Forbidden: 403, - NotFound: 404, - MethodNotAllowed: 405, - NotAcceptable: 406, - ProxyAuthenticationRequired: 407, - RequestTimeout: 408, - Conflict: 409, - Gone: 410, - LengthRequired: 411, - PreconditionFailed: 412, - PayloadTooLarge: 413, - UriTooLong: 414, - UnsupportedMediaType: 415, - RangeNotSatisfiable: 416, - ExpectationFailed: 417, - ImATeapot: 418, - MisdirectedRequest: 421, - UnprocessableEntity: 422, - Locked: 423, - FailedDependency: 424, - TooEarly: 425, - UpgradeRequired: 426, - PreconditionRequired: 428, - TooManyRequests: 429, - RequestHeaderFieldsTooLarge: 431, - UnavailableForLegalReasons: 451, - InternalServerError: 500, - NotImplemented: 501, - BadGateway: 502, - ServiceUnavailable: 503, - GatewayTimeout: 504, - HttpVersionNotSupported: 505, - VariantAlsoNegotiates: 506, - InsufficientStorage: 507, - LoopDetected: 508, - NotExtended: 510, - NetworkAuthenticationRequired: 511, - WebServerIsDown: 521, - ConnectionTimedOut: 522, - OriginIsUnreachable: 523, - TimeoutOccurred: 524, - SslHandshakeFailed: 525, - InvalidSslCertificate: 526, -}; - -Object.entries(HttpStatusCode).forEach(([key, value]) => { - HttpStatusCode[value] = key; -}); - -export default HttpStatusCode; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.min.js deleted file mode 100644 index b538492..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/HttpStatusCode.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/HttpStatusCode.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(HttpStatusCode).forEach(([e,t])=>{HttpStatusCode[t]=e});export default HttpStatusCode; -//# sourceMappingURL=/sm/898c72d301352c06f8f2943564027ed6f863722ba8e12f75b32e1e2c101c85cc.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/README.md b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/README.md deleted file mode 100644 index 4ae3419..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# axios // helpers - -The modules found in `helpers/` should be generic modules that are _not_ specific to the domain logic of axios. These modules could theoretically be published to npm on their own and consumed by other modules or apps. Some examples of generic modules are things like: - -- Browser polyfills -- Managing cookies -- Parsing HTTP headers diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js deleted file mode 100644 index c588ded..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -import stream from 'stream'; - -class ZlibHeaderTransformStream extends stream.Transform { - __transform(chunk, encoding, callback) { - this.push(chunk); - callback(); - } - - _transform(chunk, encoding, callback) { - if (chunk.length !== 0) { - this._transform = this.__transform; - - // Add Default Compression headers if no zlib headers are present - if (chunk[0] !== 120) { - // Hex: 78 - const header = Buffer.alloc(2); - header[0] = 120; // Hex: 78 - header[1] = 156; // Hex: 9C - this.push(header, encoding); - } - } - - this.__transform(chunk, encoding, callback); - } -} - -export default ZlibHeaderTransformStream; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.min.js deleted file mode 100644 index 5cf891e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/ZlibHeaderTransformStream.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import stream from"stream";class ZlibHeaderTransformStream extends stream.Transform{__transform(r,s,t){this.push(r),t()}_transform(r,s,t){if(0!==r.length&&(this._transform=this.__transform,120!==r[0])){const r=Buffer.alloc(2);r[0]=120,r[1]=156,this.push(r,s)}this.__transform(r,s,t)}}export default ZlibHeaderTransformStream; -//# sourceMappingURL=/sm/31ea892397f3c5f33e3bd53b6b63a3233df2a2c14a1893529c725ae697a6a1a9.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.js deleted file mode 100644 index 938da5c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -/** - * Create a bound version of a function with a specified `this` context - * - * @param {Function} fn - The function to bind - * @param {*} thisArg - The value to be passed as the `this` parameter - * @returns {Function} A new function that will call the original function with the specified `this` context - */ -export default function bind(fn, thisArg) { - return function wrap() { - return fn.apply(thisArg, arguments); - }; -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.min.js deleted file mode 100644 index 6665da4..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/bind.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/bind.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";export default function bind(t,n){return function(){return t.apply(n,arguments)}} -//# sourceMappingURL=/sm/2d07b1a7acf59436c68aa4bb8c56298ff1b5b3d6aa993e3e9174b66dc953c84e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.js deleted file mode 100644 index ba4f5f5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.js +++ /dev/null @@ -1,69 +0,0 @@ -'use strict'; - -import utils from '../utils.js'; -import AxiosURLSearchParams from './AxiosURLSearchParams.js'; - -/** - * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with - * their plain counterparts (`:`, `$`, `,`, `+`). - * - * @param {string} val The value to be encoded. - * - * @returns {string} The encoded value. - */ -export function encode(val) { - return encodeURIComponent(val) - .replace(/%3A/gi, ':') - .replace(/%24/g, '$') - .replace(/%2C/gi, ',') - .replace(/%20/g, '+'); -} - -/** - * Build a URL by appending params to the end - * - * @param {string} url The base of the url (e.g., http://www.google.com) - * @param {object} [params] The params to be appended - * @param {?(object|Function)} options - * - * @returns {string} The formatted url - */ -export default function buildURL(url, params, options) { - if (!params) { - return url; - } - url = url || ''; - - const _options = utils.isFunction(options) - ? { - serialize: options, - } - : options; - - // Read serializer options pollution-safely: own properties and methods on a - // class/template prototype are honored, but values injected onto a polluted - // Object.prototype are ignored. - const _encode = utils.getSafeProp(_options, 'encode') || encode; - const serializeFn = utils.getSafeProp(_options, 'serialize'); - - let serializedParams; - - if (serializeFn) { - serializedParams = serializeFn(params, _options); - } else { - serializedParams = utils.isURLSearchParams(params) - ? params.toString() - : new AxiosURLSearchParams(params, _options).toString(_encode); - } - - if (serializedParams) { - const hashmarkIndex = url.indexOf('#'); - - if (hashmarkIndex !== -1) { - url = url.slice(0, hashmarkIndex); - } - url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams; - } - - return url; -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.min.js deleted file mode 100644 index 7f619e5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/buildURL.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/buildURL.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"../utils.js";import AxiosURLSearchParams from"./AxiosURLSearchParams.js";export function encode(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}export default function buildURL(e,i,r){if(!i)return e;e=e||"";const t=utils.isFunction(r)?{serialize:r}:r,o=utils.getSafeProp(t,"encode")||encode,s=utils.getSafeProp(t,"serialize");let n;if(n=s?s(i,t):utils.isURLSearchParams(i)?i.toString():new AxiosURLSearchParams(i,t).toString(o),n){const i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e} -//# sourceMappingURL=/sm/56d26f34ea6a24385d44073343eeafde04275e177f0acd296b2897457ec3b835.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.js deleted file mode 100644 index e8cea68..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.js +++ /dev/null @@ -1,18 +0,0 @@ -import utils from '../utils.js'; - -const callbackify = (fn, reducer) => { - return utils.isAsyncFn(fn) - ? function (...args) { - const cb = args.pop(); - fn.apply(this, args).then((value) => { - try { - reducer ? cb(null, ...reducer(value)) : cb(null, value); - } catch (err) { - cb(err); - } - }, cb); - } - : fn; -}; - -export default callbackify; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.min.js deleted file mode 100644 index 7938438..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/callbackify.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/callbackify.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import utils from"../utils.js";const callbackify=(l,t)=>utils.isAsyncFn(l)?function(...c){const i=c.pop();l.apply(this,c).then(l=>{try{t?i(null,...t(l)):i(null,l)}catch(l){i(l)}},i)}:l;export default callbackify; -//# sourceMappingURL=/sm/e6dca05e6bf889ba28ed4c07f2e9b3198d1ee0b9e3f5449f36f18d2abd99b6a3.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.js deleted file mode 100644 index 9f04f02..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -/** - * Creates a new URL by combining the specified URLs - * - * @param {string} baseURL The base URL - * @param {string} relativeURL The relative URL - * - * @returns {string} The combined URL - */ -export default function combineURLs(baseURL, relativeURL) { - return relativeURL - ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') - : baseURL; -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.min.js deleted file mode 100644 index 21265fa..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/combineURLs.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/combineURLs.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";export default function combineURLs(e,r){return r?e.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):e} -//# sourceMappingURL=/sm/a317a3e55e6be27959859a2440e8ddb68451eeb13b4778e6bd8fd1e8da82a35c.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.js deleted file mode 100644 index 6ea734f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.js +++ /dev/null @@ -1,57 +0,0 @@ -import CanceledError from '../cancel/CanceledError.js'; -import AxiosError from '../core/AxiosError.js'; -import utils from '../utils.js'; - -const composeSignals = (signals, timeout) => { - signals = signals ? signals.filter(Boolean) : []; - - if (!timeout && !signals.length) { - return; - } - - const controller = new AbortController(); - - let aborted = false; - - const onabort = function (reason) { - if (!aborted) { - aborted = true; - unsubscribe(); - const err = reason instanceof Error ? reason : this.reason; - controller.abort( - err instanceof AxiosError - ? err - : new CanceledError(err instanceof Error ? err.message : err) - ); - } - }; - - let timer = - timeout && - setTimeout(() => { - timer = null; - onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT)); - }, timeout); - - const unsubscribe = () => { - if (!signals) { return; } - timer && clearTimeout(timer); - timer = null; - signals.forEach((signal) => { - signal.unsubscribe - ? signal.unsubscribe(onabort) - : signal.removeEventListener('abort', onabort); - }); - signals = null; - }; - - signals.forEach((signal) => signal.addEventListener('abort', onabort, { once: true })); - - const { signal } = controller; - - signal.unsubscribe = () => utils.asap(unsubscribe); - - return signal; -}; - -export default composeSignals; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.min.js deleted file mode 100644 index 90f66ac..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/composeSignals.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/composeSignals.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import CanceledError from"../cancel/CanceledError.js";import AxiosError from"../core/AxiosError.js";import utils from"../utils.js";const composeSignals=(r,o)=>{if(r=r?r.filter(Boolean):[],!o&&!r.length)return;const e=new AbortController;let n=!1;const s=function(r){if(!n){n=!0,i();const o=r instanceof Error?r:this.reason;e.abort(o instanceof AxiosError?o:new CanceledError(o instanceof Error?o.message:o))}};let t=o&&setTimeout(()=>{t=null,s(new AxiosError(`timeout of ${o}ms exceeded`,AxiosError.ETIMEDOUT))},o);const i=()=>{r&&(t&&clearTimeout(t),t=null,r.forEach(r=>{r.unsubscribe?r.unsubscribe(s):r.removeEventListener("abort",s)}),r=null)};r.forEach(r=>r.addEventListener("abort",s,{once:!0}));const{signal:c}=e;return c.unsubscribe=()=>utils.asap(i),c};export default composeSignals; -//# sourceMappingURL=/sm/48c6ce882f51fc08bd0313c36e019f6bbdc40e3b8b8f3e1e5b0451199227ea7a.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.js deleted file mode 100644 index c197875..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.js +++ /dev/null @@ -1,64 +0,0 @@ -import utils from '../utils.js'; -import platform from '../platform/index.js'; - -export default platform.hasStandardBrowserEnv - ? // Standard browser envs support document.cookie - { - write(name, value, expires, path, domain, secure, sameSite) { - if (typeof document === 'undefined') return; - - const cookie = [`${name}=${encodeURIComponent(value)}`]; - - if (utils.isNumber(expires)) { - cookie.push(`expires=${new Date(expires).toUTCString()}`); - } - if (utils.isString(path)) { - cookie.push(`path=${path}`); - } - if (utils.isString(domain)) { - cookie.push(`domain=${domain}`); - } - if (secure === true) { - cookie.push('secure'); - } - if (utils.isString(sameSite)) { - cookie.push(`SameSite=${sameSite}`); - } - - document.cookie = cookie.join('; '); - }, - - read(name) { - if (typeof document === 'undefined') return null; - // Match name=value by splitting on the semicolon separator instead of building a - // RegExp from `name` — interpolating an unescaped string into a RegExp would let - // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or - // match the wrong cookie. Browsers may serialize cookie pairs as either ";" or - // "; ", so ignore optional whitespace before each cookie name. - const cookies = document.cookie.split(';'); - for (let i = 0; i < cookies.length; i++) { - const cookie = cookies[i].replace(/^\s+/, ''); - const eq = cookie.indexOf('='); - if (eq !== -1 && cookie.slice(0, eq) === name) { - try { - return decodeURIComponent(cookie.slice(eq + 1)); - } catch (e) { - return cookie.slice(eq + 1); - } - } - } - return null; - }, - - remove(name) { - this.write(name, '', Date.now() - 86400000, '/'); - }, - } - : // Non-standard browser env (web workers, react-native) lack needed support. - { - write() {}, - read() { - return null; - }, - remove() {}, - }; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.min.js deleted file mode 100644 index d84866c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/cookies.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/cookies.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import utils from"../utils.js";import platform from"../platform/index.js";export default platform.hasStandardBrowserEnv?{write(e,t,r,i,n,o,s){if("undefined"==typeof document)return;const u=[`${e}=${encodeURIComponent(t)}`];utils.isNumber(r)&&u.push(`expires=${new Date(r).toUTCString()}`),utils.isString(i)&&u.push(`path=${i}`),utils.isString(n)&&u.push(`domain=${n}`),!0===o&&u.push("secure"),utils.isString(s)&&u.push(`SameSite=${s}`),document.cookie=u.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let r=0;rnull,remove(){}}; -//# sourceMappingURL=/sm/0f07893c33caefa57a717e2bb22e95e6f85f0dba6c200c183147382c804fd675.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.js deleted file mode 100644 index ec112de..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -/*eslint no-console:0*/ - -/** - * Supply a warning to the developer that a method they are using - * has been deprecated. - * - * @param {string} method The name of the deprecated method - * @param {string} [instead] The alternate method to use if applicable - * @param {string} [docs] The documentation URL to get further details - * - * @returns {void} - */ -export default function deprecatedMethod(method, instead, docs) { - try { - console.warn( - 'DEPRECATED method `' + - method + - '`.' + - (instead ? ' Use `' + instead + '` instead.' : '') + - ' This method will be removed in a future release.' - ); - - if (docs) { - console.warn('For more information about usage see ' + docs); - } - } catch (e) { - /* Ignore */ - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.min.js deleted file mode 100644 index e98bbcc..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/deprecatedMethod.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/deprecatedMethod.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";export default function deprecatedMethod(e,o,t){try{console.warn("DEPRECATED method `"+e+"`."+(o?" Use `"+o+"` instead.":"")+" This method will be removed in a future release."),t&&console.warn("For more information about usage see "+t)}catch(e){}} -//# sourceMappingURL=/sm/1971226277c0e2934d4e5c7a25c7a95e2190963a408ab86d5adc713a07e4ede9.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js deleted file mode 100644 index 927b755..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +++ /dev/null @@ -1,105 +0,0 @@ -/** - * Estimate decoded byte length of a data:// URL *without* allocating large buffers. - * - For base64: compute exact decoded size using length and padding; - * handle %XX at the character-count level (no string allocation). - * - For non-base64: compute the exact percent-decoded UTF-8 byte length. - * - * @param {string} url - * @returns {number} - */ -const isHexDigit = (charCode) => - (charCode >= 48 && charCode <= 57) || - (charCode >= 65 && charCode <= 70) || - (charCode >= 97 && charCode <= 102); - -const isPercentEncodedByte = (str, i, len) => - i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2)); - -export default function estimateDataURLDecodedBytes(url) { - if (!url || typeof url !== 'string') return 0; - if (!url.startsWith('data:')) return 0; - - const comma = url.indexOf(','); - if (comma < 0) return 0; - - const meta = url.slice(5, comma); - const body = url.slice(comma + 1); - const isBase64 = /;base64/i.test(meta); - - if (isBase64) { - let effectiveLen = body.length; - const len = body.length; // cache length - - for (let i = 0; i < len; i++) { - if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) { - const a = body.charCodeAt(i + 1); - const b = body.charCodeAt(i + 2); - const isHex = isHexDigit(a) && isHexDigit(b); - - if (isHex) { - effectiveLen -= 2; - i += 2; - } - } - } - - let pad = 0; - let idx = len - 1; - - const tailIsPct3D = (j) => - j >= 2 && - body.charCodeAt(j - 2) === 37 && // '%' - body.charCodeAt(j - 1) === 51 && // '3' - (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd' - - if (idx >= 0) { - if (body.charCodeAt(idx) === 61 /* '=' */) { - pad++; - idx--; - } else if (tailIsPct3D(idx)) { - pad++; - idx -= 3; - } - } - - if (pad === 1 && idx >= 0) { - if (body.charCodeAt(idx) === 61 /* '=' */) { - pad++; - } else if (tailIsPct3D(idx)) { - pad++; - } - } - - const groups = Math.floor(effectiveLen / 4); - const bytes = groups * 3 - (pad || 0); - return bytes > 0 ? bytes : 0; - } - - // Compute UTF-8 byte length directly from UTF-16 code units without allocating - // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies). - // Valid %XX triplets count as one decoded byte; this matches the bytes that - // decodeURIComponent(body) would produce before Buffer re-encodes the string. - let bytes = 0; - for (let i = 0, len = body.length; i < len; i++) { - const c = body.charCodeAt(i); - if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) { - bytes += 1; - i += 2; - } else if (c < 0x80) { - bytes += 1; - } else if (c < 0x800) { - bytes += 2; - } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) { - const next = body.charCodeAt(i + 1); - if (next >= 0xdc00 && next <= 0xdfff) { - bytes += 4; - i++; - } else { - bytes += 3; - } - } else { - bytes += 3; - } - } - return bytes; -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.min.js deleted file mode 100644 index 21a99ea..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/estimateDataURLDecodedBytes.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -const isHexDigit=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,isPercentEncodedByte=(e,t,i)=>t+2e>=2&&37===o.charCodeAt(e-2)&&51===o.charCodeAt(e-1)&&(68===o.charCodeAt(e)||100===o.charCodeAt(e));r>=0&&(61===o.charCodeAt(r)?(i++,r--):c(r)&&(i++,r-=3)),1===i&&r>=0&&(61===o.charCodeAt(r)||c(r))&&i++;const s=3*Math.floor(e/4)-(i||0);return s>0?s:0}let r=0;for(let e=0,t=o.length;e=55296&&i<=56319&&e+1=56320&&t<=57343?(r+=4,e++):r+=3}else r+=3}return r} -//# sourceMappingURL=/sm/223e3a17f2b71d301415cd8396f68f58ab99cfa97e3c3dd4c44d9b06aa54943b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.js deleted file mode 100644 index 36ef52f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.js +++ /dev/null @@ -1,119 +0,0 @@ -'use strict'; - -import utils from '../utils.js'; -import AxiosError from '../core/AxiosError.js'; -import { DEFAULT_FORM_DATA_MAX_DEPTH } from './toFormData.js'; - -const MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH; - -function throwIfDepthExceeded(index) { - if (index > MAX_DEPTH) { - throw new AxiosError( - 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH, - AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED - ); - } -} - -/** - * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z'] - * - * @param {string} name - The name of the property to get. - * - * @returns An array of strings. - */ -function parsePropPath(name) { - // foo[x][y][z] - // foo.x.y.z - // foo-x-y-z - // foo x y z - const path = []; - const pattern = /\w+|\[(\w*)]/g; - let match; - - while ((match = pattern.exec(name)) !== null) { - throwIfDepthExceeded(path.length); - path.push(match[0] === '[]' ? '' : match[1] || match[0]); - } - - return path; -} - -/** - * Convert an array to an object. - * - * @param {Array} arr - The array to convert to an object. - * - * @returns An object with the same keys and values as the array. - */ -function arrayToObject(arr) { - const obj = {}; - const keys = Object.keys(arr); - let i; - const len = keys.length; - let key; - for (i = 0; i < len; i++) { - key = keys[i]; - obj[key] = arr[key]; - } - return obj; -} - -/** - * It takes a FormData object and returns a JavaScript object - * - * @param {string} formData The FormData object to convert to JSON. - * - * @returns {Object | null} The converted object. - */ -function formDataToJSON(formData) { - function buildPath(path, value, target, index) { - throwIfDepthExceeded(index); - - let name = path[index++]; - - if (name === '__proto__') return true; - - const isNumericKey = Number.isFinite(+name); - const isLast = index >= path.length; - name = !name && utils.isArray(target) ? target.length : name; - - if (isLast) { - if (utils.hasOwnProp(target, name)) { - target[name] = utils.isArray(target[name]) - ? target[name].concat(value) - : [target[name], value]; - } else { - target[name] = value; - } - - return !isNumericKey; - } - - if (!utils.hasOwnProp(target, name) || !utils.isObject(target[name])) { - target[name] = []; - } - - const result = buildPath(path, value, target[name], index); - - if (result && utils.isArray(target[name])) { - target[name] = arrayToObject(target[name]); - } - - return !isNumericKey; - } - - if (utils.isFormData(formData) && utils.isFunction(formData.entries)) { - const obj = {}; - - utils.forEachEntry(formData, (name, value) => { - buildPath(parsePropPath(name), value, obj, 0); - }); - - return obj; - } - - return null; -} - -export default formDataToJSON; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.min.js deleted file mode 100644 index 8a3f6b7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToJSON.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/formDataToJSON.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"../utils.js";import AxiosError from"../core/AxiosError.js";import{DEFAULT_FORM_DATA_MAX_DEPTH}from"./toFormData.js";const MAX_DEPTH=DEFAULT_FORM_DATA_MAX_DEPTH;function throwIfDepthExceeded(t){if(t>MAX_DEPTH)throw new AxiosError("FormData field is too deeply nested ("+t+" levels). Max depth: "+MAX_DEPTH,AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED)}function parsePropPath(t){const r=[],o=/\w+|\[(\w*)]/g;let e;for(;null!==(e=o.exec(t));)throwIfDepthExceeded(r.length),r.push("[]"===e[0]?"":e[1]||e[0]);return r}function arrayToObject(t){const r={},o=Object.keys(t);let e;const s=o.length;let i;for(e=0;e=t.length;if(i=!i&&utils.isArray(e)?e.length:i,u)return utils.hasOwnProp(e,i)?e[i]=utils.isArray(e[i])?e[i].concat(o):[e[i],o]:e[i]=o,!n;utils.hasOwnProp(e,i)&&utils.isObject(e[i])||(e[i]=[]);return r(t,o,e[i],s)&&utils.isArray(e[i])&&(e[i]=arrayToObject(e[i])),!n}if(utils.isFormData(t)&&utils.isFunction(t.entries)){const o={};return utils.forEachEntry(t,(t,e)=>{r(parsePropPath(t),e,o,0)}),o}return null}export default formDataToJSON; -//# sourceMappingURL=/sm/df76468a0c17788db6e5108accc0248213e37a867ccf42b61a51c7ccad07542d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.js deleted file mode 100644 index 17f369d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.js +++ /dev/null @@ -1,119 +0,0 @@ -import util from 'util'; -import { Readable } from 'stream'; -import utils from '../utils.js'; -import readBlob from './readBlob.js'; -import platform from '../platform/index.js'; - -const BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + '-_'; - -const textEncoder = typeof TextEncoder === 'function' ? new TextEncoder() : new util.TextEncoder(); - -const CRLF = '\r\n'; -const CRLF_BYTES = textEncoder.encode(CRLF); -const CRLF_BYTES_COUNT = 2; - -class FormDataPart { - constructor(name, value) { - const { escapeName } = this.constructor; - const isStringValue = utils.isString(value); - - let headers = `Content-Disposition: form-data; name="${escapeName(name)}"${ - !isStringValue && value.name ? `; filename="${escapeName(value.name)}"` : '' - }${CRLF}`; - - if (isStringValue) { - value = textEncoder.encode(String(value).replace(/\r?\n|\r\n?/g, CRLF)); - } else { - const safeType = String(value.type || 'application/octet-stream').replace(/[\r\n]/g, ''); - headers += `Content-Type: ${safeType}${CRLF}`; - } - - this.headers = textEncoder.encode(headers + CRLF); - - this.contentLength = isStringValue ? value.byteLength : value.size; - - this.size = this.headers.byteLength + this.contentLength + CRLF_BYTES_COUNT; - - this.name = name; - this.value = value; - } - - async *encode() { - yield this.headers; - - const { value } = this; - - if (utils.isTypedArray(value)) { - yield value; - } else { - yield* readBlob(value); - } - - yield CRLF_BYTES; - } - - static escapeName(name) { - return String(name).replace( - /[\r\n"]/g, - (match) => - ({ - '\r': '%0D', - '\n': '%0A', - '"': '%22', - })[match] - ); - } -} - -const formDataToStream = (form, headersHandler, options) => { - const { - tag = 'form-data-boundary', - size = 25, - boundary = tag + '-' + platform.generateString(size, BOUNDARY_ALPHABET), - } = options || {}; - - if (!utils.isFormData(form)) { - throw new TypeError('FormData instance required'); - } - - if (boundary.length < 1 || boundary.length > 70) { - throw new Error('boundary must be 1-70 characters long'); - } - - const boundaryBytes = textEncoder.encode('--' + boundary + CRLF); - const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF); - let contentLength = footerBytes.byteLength; - - const parts = Array.from(form.entries()).map(([name, value]) => { - const part = new FormDataPart(name, value); - contentLength += part.size; - return part; - }); - - contentLength += boundaryBytes.byteLength * parts.length; - - contentLength = utils.toFiniteNumber(contentLength); - - const computedHeaders = { - 'Content-Type': `multipart/form-data; boundary=${boundary}`, - }; - - if (Number.isFinite(contentLength)) { - computedHeaders['Content-Length'] = contentLength; - } - - headersHandler && headersHandler(computedHeaders); - - return Readable.from( - (async function* () { - for (const part of parts) { - yield boundaryBytes; - yield* part.encode(); - } - - yield footerBytes; - })() - ); -}; - -export default formDataToStream; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.min.js deleted file mode 100644 index 4837e25..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/formDataToStream.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/formDataToStream.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import util from"util";import{Readable}from"stream";import utils from"../utils.js";import readBlob from"./readBlob.js";import platform from"../platform/index.js";const BOUNDARY_ALPHABET=platform.ALPHABET.ALPHA_DIGIT+"-_",textEncoder="function"==typeof TextEncoder?new TextEncoder:new util.TextEncoder,CRLF="\r\n",CRLF_BYTES=textEncoder.encode("\r\n"),CRLF_BYTES_COUNT=2;class FormDataPart{constructor(e,t){const{escapeName:r}=this.constructor,n=utils.isString(t);let o=`Content-Disposition: form-data; name="${r(e)}"${!n&&t.name?`; filename="${r(t.name)}"`:""}\r\n`;if(n)t=textEncoder.encode(String(t).replace(/\r?\n|\r\n?/g,"\r\n"));else{o+=`Content-Type: ${String(t.type||"application/octet-stream").replace(/[\r\n]/g,"")}\r\n`}this.headers=textEncoder.encode(o+"\r\n"),this.contentLength=n?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;utils.isTypedArray(e)?yield e:yield*readBlob(e),yield CRLF_BYTES}static escapeName(e){return String(e).replace(/[\r\n"]/g,e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e]))}}const formDataToStream=(e,t,r)=>{const{tag:n="form-data-boundary",size:o=25,boundary:a=n+"-"+platform.generateString(o,BOUNDARY_ALPHABET)}=r||{};if(!utils.isFormData(e))throw new TypeError("FormData instance required");if(a.length<1||a.length>70)throw new Error("boundary must be 1-70 characters long");const i=textEncoder.encode("--"+a+"\r\n"),s=textEncoder.encode("--"+a+"--\r\n");let c=s.byteLength;const d=Array.from(e.entries()).map(([e,t])=>{const r=new FormDataPart(e,t);return c+=r.size,r});c+=i.byteLength*d.length,c=utils.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${a}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),Readable.from(async function*(){for(const e of d)yield i,yield*e.encode();yield s}())};export default formDataToStream; -//# sourceMappingURL=/sm/f6b8de1119f279255ea0d5cbed4af00e84279d4a960b314c950436ba7d427e88.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.js deleted file mode 100644 index 81fcc6e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.js +++ /dev/null @@ -1,68 +0,0 @@ -'use strict'; - -import AxiosError from '../core/AxiosError.js'; -import parseProtocol from './parseProtocol.js'; -import platform from '../platform/index.js'; - -// RFC 2397: data:[][;base64], -// mediatype = type/subtype followed by optional ;name=value parameters -const DATA_URL_PATTERN = /^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/; - -/** - * Parse data uri to a Buffer or Blob - * - * @param {String} uri - * @param {?Boolean} asBlob - * @param {?Object} options - * @param {?Function} options.Blob - * - * @returns {Buffer|Blob} - */ -export default function fromDataURI(uri, asBlob, options) { - const _Blob = (options && options.Blob) || platform.classes.Blob; - const protocol = parseProtocol(uri); - - if (asBlob === undefined && _Blob) { - asBlob = true; - } - - if (protocol === 'data') { - uri = protocol.length ? uri.slice(protocol.length + 1) : uri; - - const match = DATA_URL_PATTERN.exec(uri); - - if (!match) { - throw new AxiosError('Invalid URL', AxiosError.ERR_INVALID_URL); - } - - const type = match[1]; - const params = match[2]; - const encoding = match[3] ? 'base64' : 'utf8'; - const body = match[4]; - - // RFC 2397 section 3: default mediatype is text/plain;charset=US-ASCII - // Bare `data:,` leaves mime undefined; Blob normalises that to "" per spec. - let mime = ''; - if (type) { - mime = params ? type + params : type; - } else if (params) { - mime = 'text/plain' + params; - } - - const buffer = encoding === 'base64' - ? Buffer.from(body, 'base64') - : Buffer.from(decodeURIComponent(body), encoding); - - if (asBlob) { - if (!_Blob) { - throw new AxiosError('Blob is not supported', AxiosError.ERR_NOT_SUPPORT); - } - - return new _Blob([buffer], { type: mime }); - } - - return buffer; - } - - throw new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_NOT_SUPPORT); -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.min.js deleted file mode 100644 index abe4ef5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/fromDataURI.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/fromDataURI.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import AxiosError from"../core/AxiosError.js";import parseProtocol from"./parseProtocol.js";import platform from"../platform/index.js";const DATA_URL_PATTERN=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;export default function fromDataURI(o,r,t){const e=t&&t.Blob||platform.classes.Blob,s=parseProtocol(o);if(void 0===r&&e&&(r=!0),"data"===s){o=s.length?o.slice(s.length+1):o;const t=DATA_URL_PATTERN.exec(o);if(!t)throw new AxiosError("Invalid URL",AxiosError.ERR_INVALID_URL);const i=t[1],n=t[2],f=t[3]?"base64":"utf8",a=t[4];let l="";i?l=n?i+n:i:n&&(l="text/plain"+n);const p="base64"===f?Buffer.from(a,"base64"):Buffer.from(decodeURIComponent(a),f);if(r){if(!e)throw new AxiosError("Blob is not supported",AxiosError.ERR_NOT_SUPPORT);return new e([p],{type:l})}return p}throw new AxiosError("Unsupported protocol "+s,AxiosError.ERR_NOT_SUPPORT)} -//# sourceMappingURL=/sm/698f523c044521a5891321be7ac534caad9c40a0e738ad350a60e3078cc109d0.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.js deleted file mode 100644 index c461900..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -/** - * Determines whether the specified URL is absolute - * - * @param {string} url The URL to test - * - * @returns {boolean} True if the specified URL is absolute, otherwise false - */ -export default function isAbsoluteURL(url) { - // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). - // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed - // by any combination of letters, digits, plus, period, or hyphen. - if (typeof url !== 'string') { - return false; - } - - return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url); -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.min.js deleted file mode 100644 index 94eb0cf..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAbsoluteURL.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/isAbsoluteURL.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";export default function isAbsoluteURL(t){return"string"==typeof t&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)} -//# sourceMappingURL=/sm/e010acacdd3e1421e2a5ed7b3186e3e1f92ad6b9e37c612854f6b1472c241c20.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.js deleted file mode 100644 index ffba610..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -import utils from '../utils.js'; - -/** - * Determines whether the payload is an error thrown by Axios - * - * @param {*} payload The value to test - * - * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false - */ -export default function isAxiosError(payload) { - return utils.isObject(payload) && payload.isAxiosError === true; -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.min.js deleted file mode 100644 index cd120b4..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isAxiosError.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/isAxiosError.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"../utils.js";export default function isAxiosError(r){return utils.isObject(r)&&!0===r.isAxiosError} -//# sourceMappingURL=/sm/00e3b275d545fe9cbbacea13cbd04ac93aaae2e51eb98ac35383225ba52e870b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.js deleted file mode 100644 index 66af274..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.js +++ /dev/null @@ -1,16 +0,0 @@ -import platform from '../platform/index.js'; - -export default platform.hasStandardBrowserEnv - ? ((origin, isMSIE) => (url) => { - url = new URL(url, platform.origin); - - return ( - origin.protocol === url.protocol && - origin.host === url.host && - (isMSIE || origin.port === url.port) - ); - })( - new URL(platform.origin), - platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent) - ) - : () => true; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.min.js deleted file mode 100644 index ab53473..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/isURLSameOrigin.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/isURLSameOrigin.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import platform from"../platform/index.js";export default platform.hasStandardBrowserEnv?((o,t)=>r=>(r=new URL(r,platform.origin),o.protocol===r.protocol&&o.host===r.host&&(t||o.port===r.port)))(new URL(platform.origin),platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent)):()=>!0; -//# sourceMappingURL=/sm/8e9df2a3a0355c83a5767d84f0b0fff673550a0f180852163a036c8e731ee84b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.js deleted file mode 100644 index b9f82c4..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.js +++ /dev/null @@ -1,2 +0,0 @@ -// eslint-disable-next-line strict -export default null; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.min.js deleted file mode 100644 index 236cc6b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/null.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Skipped minification because the original files appears to be already minified. - * Original file: /npm/axios@1.18.1/lib/helpers/null.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -// eslint-disable-next-line strict -export default null; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.js deleted file mode 100644 index fb0eba4..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.js +++ /dev/null @@ -1,69 +0,0 @@ -'use strict'; - -import utils from '../utils.js'; - -// RawAxiosHeaders whose duplicates are ignored by node -// c.f. https://nodejs.org/api/http.html#http_message_headers -const ignoreDuplicateOf = utils.toObjectSet([ - 'age', - 'authorization', - 'content-length', - 'content-type', - 'etag', - 'expires', - 'from', - 'host', - 'if-modified-since', - 'if-unmodified-since', - 'last-modified', - 'location', - 'max-forwards', - 'proxy-authorization', - 'referer', - 'retry-after', - 'user-agent', -]); - -/** - * Parse headers into an object - * - * ``` - * Date: Wed, 27 Aug 2014 08:58:49 GMT - * Content-Type: application/json - * Connection: keep-alive - * Transfer-Encoding: chunked - * ``` - * - * @param {String} rawHeaders Headers needing to be parsed - * - * @returns {Object} Headers parsed into an object - */ -export default (rawHeaders) => { - const parsed = {}; - let key; - let val; - let i; - - rawHeaders && - rawHeaders.split('\n').forEach(function parser(line) { - i = line.indexOf(':'); - key = line.substring(0, i).trim().toLowerCase(); - val = line.substring(i + 1).trim(); - - if (!key || (parsed[key] && ignoreDuplicateOf[key])) { - return; - } - - if (key === 'set-cookie') { - if (parsed[key]) { - parsed[key].push(val); - } else { - parsed[key] = [val]; - } - } else { - parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val; - } - }); - - return parsed; -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.min.js deleted file mode 100644 index 3d227d2..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseHeaders.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/parseHeaders.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"../utils.js";const ignoreDuplicateOf=utils.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);export default t=>{const e={};let i,o,r;return t&&t.split("\n").forEach(function(t){r=t.indexOf(":"),i=t.substring(0,r).trim().toLowerCase(),o=t.substring(r+1).trim(),!i||e[i]&&ignoreDuplicateOf[i]||("set-cookie"===i?e[i]?e[i].push(o):e[i]=[o]:e[i]=e[i]?e[i]+", "+o:o)}),e}; -//# sourceMappingURL=/sm/7355eea38cb746081c28cae68f7b7621e349beec64d95144739d9f8974de4136.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.js deleted file mode 100644 index 05a2d6d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; - -export default function parseProtocol(url) { - const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url); - return (match && match[1]) || ''; -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.min.js deleted file mode 100644 index 003d945..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/parseProtocol.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/parseProtocol.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";export default function parseProtocol(t){const e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""} -//# sourceMappingURL=/sm/eda4e1cd0e0ea7137787f284d67c63351424b2c5246b39c9eeb369f4242283a4.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.js deleted file mode 100644 index e2c15c0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.js +++ /dev/null @@ -1,54 +0,0 @@ -import speedometer from './speedometer.js'; -import throttle from './throttle.js'; -import utils from '../utils.js'; - -export const progressEventReducer = (listener, isDownloadStream, freq = 3) => { - let bytesNotified = 0; - const _speedometer = speedometer(50, 250); - - return throttle((e) => { - if (!e || typeof e.loaded !== 'number') { - return; - } - const rawLoaded = e.loaded; - const total = e.lengthComputable ? e.total : undefined; - const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded; - const progressBytes = Math.max(0, loaded - bytesNotified); - const rate = _speedometer(progressBytes); - - bytesNotified = Math.max(bytesNotified, loaded); - - const data = { - loaded, - total, - progress: total ? loaded / total : undefined, - bytes: progressBytes, - rate: rate ? rate : undefined, - estimated: rate && total ? (total - loaded) / rate : undefined, - event: e, - lengthComputable: total != null, - [isDownloadStream ? 'download' : 'upload']: true, - }; - - listener(data); - }, freq); -}; - -export const progressEventDecorator = (total, throttled) => { - const lengthComputable = total != null; - - return [ - (loaded) => - throttled[0]({ - lengthComputable, - total, - loaded, - }), - throttled[1], - ]; -}; - -export const asyncDecorator = - (fn) => - (...args) => - utils.asap(() => fn(...args)); diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.min.js deleted file mode 100644 index 6183bfd..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/progressEventReducer.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/progressEventReducer.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import speedometer from"./speedometer.js";import throttle from"./throttle.js";import utils from"../utils.js";export const progressEventReducer=(t,e,o=3)=>{let r=0;const l=speedometer(50,250);return throttle(o=>{if(!o||"number"!=typeof o.loaded)return;const s=o.loaded,a=o.lengthComputable?o.total:void 0,n=null!=a?Math.min(s,a):s,d=Math.max(0,n-r),p=l(d);r=Math.max(r,n);t({loaded:n,total:a,progress:a?n/a:void 0,bytes:d,rate:p||void 0,estimated:p&&a?(a-n)/p:void 0,event:o,lengthComputable:null!=a,[e?"download":"upload"]:!0})},o)};export const progressEventDecorator=(t,e)=>{const o=null!=t;return[r=>e[0]({lengthComputable:o,total:t,loaded:r}),e[1]]};export const asyncDecorator=t=>(...e)=>utils.asap(()=>t(...e)); -//# sourceMappingURL=/sm/32865d2bad314cc7b994f4e913ce66146909eb62b1ca2d8e2ceb62cd0e339d6d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.js deleted file mode 100644 index 87d0ea8..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.js +++ /dev/null @@ -1,15 +0,0 @@ -const { asyncIterator } = Symbol; - -const readBlob = async function* (blob) { - if (blob.stream) { - yield* blob.stream(); - } else if (blob.arrayBuffer) { - yield await blob.arrayBuffer(); - } else if (blob[asyncIterator]) { - yield* blob[asyncIterator](); - } else { - yield blob; - } -}; - -export default readBlob; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.min.js deleted file mode 100644 index 212b4a8..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/readBlob.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/readBlob.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -const{asyncIterator:asyncIterator}=Symbol,readBlob=async function*(a){a.stream?yield*a.stream():a.arrayBuffer?yield await a.arrayBuffer():a[asyncIterator]?yield*a[asyncIterator]():yield a};export default readBlob; -//# sourceMappingURL=/sm/0a830f7b1bbfe4ed37a265af0fe6abc8555f4a449c54f592378e719d8c50dbb9.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.js deleted file mode 100644 index 77718c2..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.js +++ /dev/null @@ -1,119 +0,0 @@ -import platform from '../platform/index.js'; -import utils from '../utils.js'; -import AxiosError from '../core/AxiosError.js'; -import isURLSameOrigin from './isURLSameOrigin.js'; -import cookies from './cookies.js'; -import buildFullPath from '../core/buildFullPath.js'; -import mergeConfig from '../core/mergeConfig.js'; -import AxiosHeaders from '../core/AxiosHeaders.js'; -import buildURL from './buildURL.js'; - -const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length']; - -function setFormDataHeaders(headers, formHeaders, policy) { - if (policy !== 'content-only') { - headers.set(formHeaders); - return; - } - - Object.entries(formHeaders || {}).forEach(([key, val]) => { - if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) { - headers.set(key, val); - } - }); -} - -/** - * Encode a UTF-8 string to a Latin-1 byte string for use with btoa(). - * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern. - * - * @param {string} str The string to encode - * - * @returns {string} UTF-8 bytes as a Latin-1 string - */ -const encodeUTF8 = (str) => - encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => - String.fromCharCode(parseInt(hex, 16)) - ); - -function resolveConfig(config) { - const newConfig = mergeConfig({}, config); - - // Read only own properties to prevent prototype pollution gadgets - // (e.g. Object.prototype.baseURL = 'https://evil.com'). - const own = (key) => (utils.hasOwnProp(newConfig, key) ? newConfig[key] : undefined); - - const data = own('data'); - let withXSRFToken = own('withXSRFToken'); - const xsrfHeaderName = own('xsrfHeaderName'); - const xsrfCookieName = own('xsrfCookieName'); - let headers = own('headers'); - const auth = own('auth'); - const baseURL = own('baseURL'); - const allowAbsoluteUrls = own('allowAbsoluteUrls'); - const url = own('url'); - - newConfig.headers = headers = AxiosHeaders.from(headers); - - newConfig.url = buildURL( - buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig), - own('params'), - own('paramsSerializer') - ); - - // HTTP basic authentication - if (auth) { - const username = utils.getSafeProp(auth, 'username') || ''; - const password = utils.getSafeProp(auth, 'password') || ''; - - try { - headers.set( - 'Authorization', - 'Basic ' + btoa(username + ':' + (password ? encodeUTF8(password) : '')) - ); - } catch (e) { - throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config); - } - } - - if (utils.isFormData(data)) { - if ( - platform.hasStandardBrowserEnv || - platform.hasStandardBrowserWebWorkerEnv || - utils.isReactNative(data) - ) { - headers.setContentType(undefined); // browser/web worker/RN handles it - } else if (utils.isFunction(data.getHeaders)) { - // Node.js FormData (like form-data package) - setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy')); - } - } - - // Add xsrf header - // This is only done if running in a standard browser environment. - // Specifically not if we're in a web worker, or react-native. - - if (platform.hasStandardBrowserEnv) { - if (utils.isFunction(withXSRFToken)) { - withXSRFToken = withXSRFToken(newConfig); - } - - // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1) - // and misconfigurations (e.g. "false") from short-circuiting the same-origin check and leaking - // the XSRF token cross-origin. - const shouldSendXSRF = - withXSRFToken === true || (withXSRFToken == null && isURLSameOrigin(newConfig.url)); - - if (shouldSendXSRF) { - const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName); - - if (xsrfValue) { - headers.set(xsrfHeaderName, xsrfValue); - } - } - } - - return newConfig; -} - -export default resolveConfig; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.min.js deleted file mode 100644 index cd4a7ec..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/resolveConfig.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/resolveConfig.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import platform from"../platform/index.js";import utils from"../utils.js";import AxiosError from"../core/AxiosError.js";import isURLSameOrigin from"./isURLSameOrigin.js";import cookies from"./cookies.js";import buildFullPath from"../core/buildFullPath.js";import mergeConfig from"../core/mergeConfig.js";import AxiosHeaders from"../core/AxiosHeaders.js";import buildURL from"./buildURL.js";const FORM_DATA_CONTENT_HEADERS=["content-type","content-length"];function setFormDataHeaders(r,o,e){"content-only"===e?Object.entries(o||{}).forEach(([o,e])=>{FORM_DATA_CONTENT_HEADERS.includes(o.toLowerCase())&&r.set(o,e)}):r.set(o)}const encodeUTF8=r=>encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(r,o)=>String.fromCharCode(parseInt(o,16)));function resolveConfig(r){const o=mergeConfig({},r),e=r=>utils.hasOwnProp(o,r)?o[r]:void 0,t=e("data");let s=e("withXSRFToken");const i=e("xsrfHeaderName"),a=e("xsrfCookieName");let n=e("headers");const l=e("auth"),m=e("baseURL"),d=e("allowAbsoluteUrls"),f=e("url");if(o.headers=n=AxiosHeaders.from(n),o.url=buildURL(buildFullPath(m,f,d,o),e("params"),e("paramsSerializer")),l){const o=utils.getSafeProp(l,"username")||"",e=utils.getSafeProp(l,"password")||"";try{n.set("Authorization","Basic "+btoa(o+":"+(e?encodeUTF8(e):"")))}catch(o){throw AxiosError.from(o,AxiosError.ERR_BAD_OPTION_VALUE,r)}}if(utils.isFormData(t)&&(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv||utils.isReactNative(t)?n.setContentType(void 0):utils.isFunction(t.getHeaders)&&setFormDataHeaders(n,t.getHeaders(),e("formDataHeaderPolicy"))),platform.hasStandardBrowserEnv){utils.isFunction(s)&&(s=s(o));if(!0===s||null==s&&isURLSameOrigin(o.url)){const r=i&&a&&cookies.read(a);r&&n.set(i,r)}}return o}export default resolveConfig; -//# sourceMappingURL=/sm/eb917da6a83de14aef3be06187f7680f04b1d4fe371fe157066cb3d01486415c.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.js deleted file mode 100644 index 0462fc0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +++ /dev/null @@ -1,60 +0,0 @@ -'use strict'; - -import utils from '../utils.js'; - -function trimSPorHTAB(str) { - let start = 0; - let end = str.length; - - while (start < end) { - const code = str.charCodeAt(start); - - if (code !== 0x09 && code !== 0x20) { - break; - } - - start += 1; - } - - while (end > start) { - const code = str.charCodeAt(end - 1); - - if (code !== 0x09 && code !== 0x20) { - break; - } - - end -= 1; - } - - return start === 0 && end === str.length ? str : str.slice(start, end); -} - -// The control-code ranges are intentional: header sanitization strips C0/DEL bytes. -// eslint-disable-next-line no-control-regex -const INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+', 'g'); -// eslint-disable-next-line no-control-regex -const INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+', 'g'); - -function sanitizeValue(value, invalidChars) { - if (utils.isArray(value)) { - return value.map((item) => sanitizeValue(item, invalidChars)); - } - - return trimSPorHTAB(String(value).replace(invalidChars, '')); -} - -export const sanitizeHeaderValue = (value) => - sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS); - -export const sanitizeByteStringHeaderValue = (value) => - sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS); - -export function toByteStringHeaderObject(headers) { - const byteStringHeaders = Object.create(null); - - utils.forEach(headers.toJSON(), (value, header) => { - byteStringHeaders[header] = sanitizeByteStringHeaderValue(value); - }); - - return byteStringHeaders; -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.min.js deleted file mode 100644 index 91c894a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/sanitizeHeaderValue.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/sanitizeHeaderValue.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"../utils.js";function trimSPorHTAB(e){let t=0,r=e.length;for(;tt;){const t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}const INVALID_UNICODE_HEADER_VALUE_CHARS=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),INVALID_BYTE_STRING_HEADER_VALUE_CHARS=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function sanitizeValue(e,t){return utils.isArray(e)?e.map(e=>sanitizeValue(e,t)):trimSPorHTAB(String(e).replace(t,""))}export const sanitizeHeaderValue=e=>sanitizeValue(e,INVALID_UNICODE_HEADER_VALUE_CHARS);export const sanitizeByteStringHeaderValue=e=>sanitizeValue(e,INVALID_BYTE_STRING_HEADER_VALUE_CHARS);export function toByteStringHeaderObject(e){const t=Object.create(null);return utils.forEach(e.toJSON(),(e,r)=>{t[r]=sanitizeByteStringHeaderValue(e)}),t} -//# sourceMappingURL=/sm/b7e568b81cb5b299e381b572b0e2617d03029ec25ecfdf667109f29dd194ab13.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.js deleted file mode 100644 index 0d5cc7f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.js +++ /dev/null @@ -1,210 +0,0 @@ -const LOOPBACK_HOSTNAMES = new Set(['localhost', '0.0.0.0']); - -const isIPv4Loopback = (host) => { - const parts = host.split('.'); - if (parts.length !== 4) return false; - if (parts[0] !== '127') return false; - return parts.every((p) => /^\d+$/.test(p) && Number(p) >= 0 && Number(p) <= 255); -}; - -const isIPv6ZeroGroup = (group) => /^0{1,4}$/.test(group); - -// The unspecified address (IPv4 0.0.0.0 / IPv6 ::) resolves to the local host -// for outbound connections, so treat it as loopback-equivalent for NO_PROXY -// matching. 0.0.0.0 is covered by LOOPBACK_HOSTNAMES; this handles compressed -// and full IPv6 all-zero forms so both families bypass symmetrically. -const isIPv6Unspecified = (host) => { - if (host === '::') return true; - - const compressionIndex = host.indexOf('::'); - - if (compressionIndex !== -1) { - if (compressionIndex !== host.lastIndexOf('::')) return false; - - const left = host.slice(0, compressionIndex); - const right = host.slice(compressionIndex + 2); - const leftGroups = left ? left.split(':') : []; - const rightGroups = right ? right.split(':') : []; - const explicitGroups = leftGroups.length + rightGroups.length; - - return ( - explicitGroups < 8 && - leftGroups.every(isIPv6ZeroGroup) && - rightGroups.every(isIPv6ZeroGroup) - ); - } - - const groups = host.split(':'); - return groups.length === 8 && groups.every(isIPv6ZeroGroup); -}; - -const isIPv6Loopback = (host) => { - // Collapse all-zero groups: any form of ::1 / 0:0:...:0:1 - // First, strip any leading "::" by normalising with Set lookup of common forms, - // then fall back to structural check. - if (host === '::1') return true; - - // Check IPv4-mapped IPv6 loopback: ::ffff: or ::ffff: - // Node's URL parser normalises ::ffff:127.0.0.1 → ::ffff:7f00:1 - const v4MappedDotted = host.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i); - if (v4MappedDotted) return isIPv4Loopback(v4MappedDotted[1]); - - const v4MappedHex = host.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i); - if (v4MappedHex) { - const high = parseInt(v4MappedHex[1], 16); - // High 16 bits must start with 127 (0x7f) — i.e. 0x7f00..0x7fff - return high >= 0x7f00 && high <= 0x7fff; - } - - // Full-form ::1 variants: any number of zero groups followed by trailing 1 - // e.g. 0:0:0:0:0:0:0:1, 0000:...:0001 - const groups = host.split(':'); - if (groups.length === 8) { - for (let i = 0; i < 7; i++) { - if (!/^0+$/.test(groups[i])) return false; - } - return /^0*1$/.test(groups[7]); - } - - return false; -}; - -const isLoopback = (host) => { - if (!host) return false; - if (LOOPBACK_HOSTNAMES.has(host)) return true; - if (isIPv4Loopback(host)) return true; - if (isIPv6Unspecified(host)) return true; - return isIPv6Loopback(host); -}; - -const DEFAULT_PORTS = { - http: 80, - https: 443, - ws: 80, - wss: 443, - ftp: 21, -}; - -const parseNoProxyEntry = (entry) => { - let entryHost = entry; - let entryPort = 0; - - if (entryHost.charAt(0) === '[') { - const bracketIndex = entryHost.indexOf(']'); - - if (bracketIndex !== -1) { - const host = entryHost.slice(1, bracketIndex); - const rest = entryHost.slice(bracketIndex + 1); - - if (rest.charAt(0) === ':' && /^\d+$/.test(rest.slice(1))) { - entryPort = Number.parseInt(rest.slice(1), 10); - } - - return [host, entryPort]; - } - } - - const firstColon = entryHost.indexOf(':'); - const lastColon = entryHost.lastIndexOf(':'); - - if ( - firstColon !== -1 && - firstColon === lastColon && - /^\d+$/.test(entryHost.slice(lastColon + 1)) - ) { - entryPort = Number.parseInt(entryHost.slice(lastColon + 1), 10); - entryHost = entryHost.slice(0, lastColon); - } - - return [entryHost, entryPort]; -}; - -// Convert IPv4-mapped IPv6 (::ffff:0:0/96 prefix) to IPv4 dotted form so both -// sides of a NO_PROXY comparison see the same canonical address. Without this, -// `NO_PROXY=192.168.1.5` would not match a request to `http://[::ffff:192.168.1.5]/` -// (Node's URL parser normalises that to `[::ffff:c0a8:105]`), and vice-versa, -// allowing the proxy-bypass policy to be circumvented by using the alternate -// representation. Returns the input unchanged when not IPv4-mapped. -const IPV4_MAPPED_DOTTED_RE = /^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i; -const IPV4_MAPPED_HEX_RE = /^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i; - -const unmapIPv4MappedIPv6 = (host) => { - if (typeof host !== 'string' || host.indexOf(':') === -1) return host; - - const dotted = host.match(IPV4_MAPPED_DOTTED_RE); - if (dotted) return dotted[1]; - - const hex = host.match(IPV4_MAPPED_HEX_RE); - if (hex) { - const high = parseInt(hex[1], 16); - const low = parseInt(hex[2], 16); - return `${high >> 8}.${high & 0xff}.${low >> 8}.${low & 0xff}`; - } - - return host; -}; - -const normalizeNoProxyHost = (hostname) => { - if (!hostname) { - return hostname; - } - - if (hostname.charAt(0) === '[' && hostname.charAt(hostname.length - 1) === ']') { - hostname = hostname.slice(1, -1); - } - - return unmapIPv4MappedIPv6(hostname.replace(/\.+$/, '')); -}; - -export default function shouldBypassProxy(location) { - let parsed; - - try { - parsed = new URL(location); - } catch (_err) { - return false; - } - - const noProxy = (process.env.no_proxy || process.env.NO_PROXY || '').toLowerCase(); - - if (!noProxy) { - return false; - } - - if (noProxy === '*') { - return true; - } - - const port = - Number.parseInt(parsed.port, 10) || DEFAULT_PORTS[parsed.protocol.split(':', 1)[0]] || 0; - - const hostname = normalizeNoProxyHost(parsed.hostname.toLowerCase()); - - return noProxy.split(/[\s,]+/).some((entry) => { - if (!entry) { - return false; - } - - let [entryHost, entryPort] = parseNoProxyEntry(entry); - - entryHost = normalizeNoProxyHost(entryHost); - - if (!entryHost) { - return false; - } - - if (entryPort && entryPort !== port) { - return false; - } - - if (entryHost.charAt(0) === '*') { - entryHost = entryHost.slice(1); - } - - if (entryHost.charAt(0) === '.') { - return hostname.endsWith(entryHost); - } - - return hostname === entryHost || (isLoopback(hostname) && isLoopback(entryHost)); - }); -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.min.js deleted file mode 100644 index 951cc0f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/shouldBypassProxy.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/shouldBypassProxy.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -const LOOPBACK_HOSTNAMES=new Set(["localhost","0.0.0.0"]),isIPv4Loopback=t=>{const e=t.split(".");return 4===e.length&&("127"===e[0]&&e.every(t=>/^\d+$/.test(t)&&Number(t)>=0&&Number(t)<=255))},isIPv6ZeroGroup=t=>/^0{1,4}$/.test(t),isIPv6Unspecified=t=>{if("::"===t)return!0;const e=t.indexOf("::");if(-1!==e){if(e!==t.lastIndexOf("::"))return!1;const r=t.slice(0,e),s=t.slice(e+2),o=r?r.split(":"):[],n=s?s.split(":"):[];return o.length+n.length<8&&o.every(isIPv6ZeroGroup)&&n.every(isIPv6ZeroGroup)}const r=t.split(":");return 8===r.length&&r.every(isIPv6ZeroGroup)},isIPv6Loopback=t=>{if("::1"===t)return!0;const e=t.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(e)return isIPv4Loopback(e[1]);const r=t.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(r){const t=parseInt(r[1],16);return t>=32512&&t<=32767}const s=t.split(":");if(8===s.length){for(let t=0;t<7;t++)if(!/^0+$/.test(s[t]))return!1;return/^0*1$/.test(s[7])}return!1},isLoopback=t=>!!t&&(!!LOOPBACK_HOSTNAMES.has(t)||(!!isIPv4Loopback(t)||(!!isIPv6Unspecified(t)||isIPv6Loopback(t)))),DEFAULT_PORTS={http:80,https:443,ws:80,wss:443,ftp:21},parseNoProxyEntry=t=>{let e=t,r=0;if("["===e.charAt(0)){const t=e.indexOf("]");if(-1!==t){const s=e.slice(1,t),o=e.slice(t+1);return":"===o.charAt(0)&&/^\d+$/.test(o.slice(1))&&(r=Number.parseInt(o.slice(1),10)),[s,r]}}const s=e.indexOf(":"),o=e.lastIndexOf(":");return-1!==s&&s===o&&/^\d+$/.test(e.slice(o+1))&&(r=Number.parseInt(e.slice(o+1),10),e=e.slice(0,o)),[e,r]},IPV4_MAPPED_DOTTED_RE=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,IPV4_MAPPED_HEX_RE=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,unmapIPv4MappedIPv6=t=>{if("string"!=typeof t||-1===t.indexOf(":"))return t;const e=t.match(IPV4_MAPPED_DOTTED_RE);if(e)return e[1];const r=t.match(IPV4_MAPPED_HEX_RE);if(r){const t=parseInt(r[1],16),e=parseInt(r[2],16);return`${t>>8}.${255&t}.${e>>8}.${255&e}`}return t},normalizeNoProxyHost=t=>t?("["===t.charAt(0)&&"]"===t.charAt(t.length-1)&&(t=t.slice(1,-1)),unmapIPv4MappedIPv6(t.replace(/\.+$/,""))):t;export default function shouldBypassProxy(t){let e;try{e=new URL(t)}catch(t){return!1}const r=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!r)return!1;if("*"===r)return!0;const s=Number.parseInt(e.port,10)||DEFAULT_PORTS[e.protocol.split(":",1)[0]]||0,o=normalizeNoProxyHost(e.hostname.toLowerCase());return r.split(/[\s,]+/).some(t=>{if(!t)return!1;let[e,r]=parseNoProxyEntry(t);return e=normalizeNoProxyHost(e),!!e&&((!r||r===s)&&("*"===e.charAt(0)&&(e=e.slice(1)),"."===e.charAt(0)?o.endsWith(e):o===e||isLoopback(o)&&isLoopback(e)))})} -//# sourceMappingURL=/sm/26bd553c0238223f80603f59da167147da2fdf923fc0deb34e9268fc05c5c68b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.js deleted file mode 100644 index 566a1ff..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.js +++ /dev/null @@ -1,55 +0,0 @@ -'use strict'; - -/** - * Calculate data maxRate - * @param {Number} [samplesCount= 10] - * @param {Number} [min= 1000] - * @returns {Function} - */ -function speedometer(samplesCount, min) { - samplesCount = samplesCount || 10; - const bytes = new Array(samplesCount); - const timestamps = new Array(samplesCount); - let head = 0; - let tail = 0; - let firstSampleTS; - - min = min !== undefined ? min : 1000; - - return function push(chunkLength) { - const now = Date.now(); - - const startedAt = timestamps[tail]; - - if (!firstSampleTS) { - firstSampleTS = now; - } - - bytes[head] = chunkLength; - timestamps[head] = now; - - let i = tail; - let bytesCount = 0; - - while (i !== head) { - bytesCount += bytes[i++]; - i = i % samplesCount; - } - - head = (head + 1) % samplesCount; - - if (head === tail) { - tail = (tail + 1) % samplesCount; - } - - if (now - firstSampleTS < min) { - return; - } - - const passed = startedAt && now - startedAt; - - return passed ? Math.round((bytesCount * 1000) / passed) : undefined; - }; -} - -export default speedometer; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.min.js deleted file mode 100644 index 0350f8b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/speedometer.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/speedometer.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";function speedometer(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,u=0,s=0;return t=void 0!==t?t:1e3,function(c){const d=Date.now(),i=n[s];o||(o=d),r[u]=c,n[u]=d;let a=s,f=0;for(;a!==u;)f+=r[a++],a%=e;if(u=(u+1)%e,u===s&&(s=(s+1)%e),d-o { - timestamp = now; - lastArgs = null; - if (timer) { - clearTimeout(timer); - timer = null; - } - fn(...args); - }; - - const throttled = (...args) => { - const now = Date.now(); - const passed = now - timestamp; - if (passed >= threshold) { - invoke(args, now); - } else { - lastArgs = args; - if (!timer) { - timer = setTimeout(() => { - timer = null; - invoke(lastArgs); - }, threshold - passed); - } - } - }; - - const flush = () => lastArgs && invoke(lastArgs); - - return [throttled, flush]; -} - -export default throttle; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/throttle.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/throttle.min.js deleted file mode 100644 index 498bfc8..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/throttle.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/throttle.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -function throttle(t,e){let l,n,o=0,u=1e3/e;const r=(e,u=Date.now())=>{o=u,l=null,n&&(clearTimeout(n),n=null),t(...e)};return[(...t)=>{const e=Date.now(),a=e-o;a>=u?r(t,e):(l=t,n||(n=setTimeout(()=>{n=null,r(l)},u-a)))},()=>l&&r(l)]}export default throttle; -//# sourceMappingURL=/sm/9213777ee35302c748829d5e324af211724253e110dc10b474630b09ae9cedbc.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.js deleted file mode 100644 index 335c1ad..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.js +++ /dev/null @@ -1,285 +0,0 @@ -'use strict'; - -import utils from '../utils.js'; -import AxiosError from '../core/AxiosError.js'; -// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored -import PlatformFormData from '../platform/node/classes/FormData.js'; - -// Default nesting limit shared with the inverse transform (formDataToJSON) so -// the FormData <-> JSON round-trip stays symmetric. -export const DEFAULT_FORM_DATA_MAX_DEPTH = 100; - -/** - * Determines if the given thing is a array or js object. - * - * @param {string} thing - The object or array to be visited. - * - * @returns {boolean} - */ -function isVisitable(thing) { - return utils.isPlainObject(thing) || utils.isArray(thing); -} - -/** - * It removes the brackets from the end of a string - * - * @param {string} key - The key of the parameter. - * - * @returns {string} the key without the brackets. - */ -function removeBrackets(key) { - return utils.endsWith(key, '[]') ? key.slice(0, -2) : key; -} - -/** - * It takes a path, a key, and a boolean, and returns a string - * - * @param {string} path - The path to the current key. - * @param {string} key - The key of the current object being iterated over. - * @param {string} dots - If true, the key will be rendered with dots instead of brackets. - * - * @returns {string} The path to the current key. - */ -function renderKey(path, key, dots) { - if (!path) return key; - return path - .concat(key) - .map(function each(token, i) { - // eslint-disable-next-line no-param-reassign - token = removeBrackets(token); - return !dots && i ? '[' + token + ']' : token; - }) - .join(dots ? '.' : ''); -} - -/** - * If the array is an array and none of its elements are visitable, then it's a flat array. - * - * @param {Array} arr - The array to check - * - * @returns {boolean} - */ -function isFlatArray(arr) { - return utils.isArray(arr) && !arr.some(isVisitable); -} - -const predicates = utils.toFlatObject(utils, {}, null, function filter(prop) { - return /^is[A-Z]/.test(prop); -}); - -/** - * Convert a data object to FormData - * - * @param {Object} obj - * @param {?Object} [formData] - * @param {?Object} [options] - * @param {Function} [options.visitor] - * @param {Boolean} [options.metaTokens = true] - * @param {Boolean} [options.dots = false] - * @param {?Boolean} [options.indexes = false] - * - * @returns {Object} - **/ - -/** - * It converts an object into a FormData object - * - * @param {Object} obj - The object to convert to form data. - * @param {string} formData - The FormData object to append to. - * @param {Object} options - * - * @returns - */ -function toFormData(obj, formData, options) { - if (!utils.isObject(obj)) { - throw new TypeError('target must be an object'); - } - - // eslint-disable-next-line no-param-reassign - formData = formData || new (PlatformFormData || FormData)(); - - // eslint-disable-next-line no-param-reassign - options = utils.toFlatObject( - options, - { - metaTokens: true, - dots: false, - indexes: false, - }, - false, - function defined(option, source) { - // eslint-disable-next-line no-eq-null,eqeqeq - return !utils.isUndefined(source[option]); - } - ); - - const metaTokens = options.metaTokens; - // eslint-disable-next-line no-use-before-define - const visitor = options.visitor || defaultVisitor; - const dots = options.dots; - const indexes = options.indexes; - const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob); - const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth; - const useBlob = _Blob && utils.isSpecCompliantForm(formData); - const stack = []; - - if (!utils.isFunction(visitor)) { - throw new TypeError('visitor must be a function'); - } - - function convertValue(value) { - if (value === null) return ''; - - if (utils.isDate(value)) { - return value.toISOString(); - } - - if (utils.isBoolean(value)) { - return value.toString(); - } - - if (!useBlob && utils.isBlob(value)) { - throw new AxiosError('Blob is not supported. Use a Buffer instead.'); - } - - if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) { - if (useBlob && typeof _Blob === 'function') { - return new _Blob([value]); - } - if (typeof Buffer !== 'undefined') { - return Buffer.from(value); - } - throw new AxiosError('Blob is not supported. Use a Buffer instead.', AxiosError.ERR_NOT_SUPPORT); - } - - return value; - } - - function throwIfMaxDepthExceeded(depth) { - if (depth > maxDepth) { - throw new AxiosError( - 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth, - AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED - ); - } - } - - function stringifyWithDepthLimit(value, depth) { - if (maxDepth === Infinity) { - return JSON.stringify(value); - } - - const ancestors = []; - - return JSON.stringify(value, function limitDepth(_key, currentValue) { - if (!utils.isObject(currentValue)) { - return currentValue; - } - - while (ancestors.length && ancestors[ancestors.length - 1] !== this) { - ancestors.pop(); - } - - ancestors.push(currentValue); - throwIfMaxDepthExceeded(depth + ancestors.length - 1); - - return currentValue; - }); - } - - /** - * Default visitor. - * - * @param {*} value - * @param {String|Number} key - * @param {Array} path - * @this {FormData} - * - * @returns {boolean} return true to visit the each prop of the value recursively - */ - function defaultVisitor(value, key, path) { - let arr = value; - - if (utils.isReactNative(formData) && utils.isReactNativeBlob(value)) { - formData.append(renderKey(path, key, dots), convertValue(value)); - return false; - } - - if (value && !path && typeof value === 'object') { - if (utils.endsWith(key, '{}')) { - // eslint-disable-next-line no-param-reassign - key = metaTokens ? key : key.slice(0, -2); - // eslint-disable-next-line no-param-reassign - value = stringifyWithDepthLimit(value, 1); - } else if ( - (utils.isArray(value) && isFlatArray(value)) || - ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))) - ) { - // eslint-disable-next-line no-param-reassign - key = removeBrackets(key); - - arr.forEach(function each(el, index) { - !(utils.isUndefined(el) || el === null) && - formData.append( - // eslint-disable-next-line no-nested-ternary - indexes === true - ? renderKey([key], index, dots) - : indexes === null - ? key - : key + '[]', - convertValue(el) - ); - }); - return false; - } - } - - if (isVisitable(value)) { - return true; - } - - formData.append(renderKey(path, key, dots), convertValue(value)); - - return false; - } - - const exposedHelpers = Object.assign(predicates, { - defaultVisitor, - convertValue, - isVisitable, - }); - - function build(value, path, depth = 0) { - if (utils.isUndefined(value)) return; - - throwIfMaxDepthExceeded(depth); - - if (stack.indexOf(value) !== -1) { - throw new Error('Circular reference detected in ' + path.join('.')); - } - - stack.push(value); - - utils.forEach(value, function each(el, key) { - const result = - !(utils.isUndefined(el) || el === null) && - visitor.call(formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers); - - if (result === true) { - build(el, path ? path.concat(key) : [key], depth + 1); - } - }); - - stack.pop(); - } - - if (!utils.isObject(obj)) { - throw new TypeError('data must be an object'); - } - - build(obj); - - return formData; -} - -export default toFormData; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.min.js deleted file mode 100644 index 3c694ff..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toFormData.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/toFormData.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"../utils.js";import AxiosError from"../core/AxiosError.js";import PlatformFormData from"../platform/node/classes/FormData.js";export const DEFAULT_FORM_DATA_MAX_DEPTH=100;function isVisitable(t){return utils.isPlainObject(t)||utils.isArray(t)}function removeBrackets(t){return utils.endsWith(t,"[]")?t.slice(0,-2):t}function renderKey(t,i,e){return t?t.concat(i).map(function(t,i){return t=removeBrackets(t),!e&&i?"["+t+"]":t}).join(e?".":""):i}function isFlatArray(t){return utils.isArray(t)&&!t.some(isVisitable)}const predicates=utils.toFlatObject(utils,{},null,function(t){return/^is[A-Z]/.test(t)});function toFormData(t,i,e){if(!utils.isObject(t))throw new TypeError("target must be an object");i=i||new(PlatformFormData||FormData);const r=(e=utils.toFlatObject(e,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,i){return!utils.isUndefined(i[t])})).metaTokens,n=e.visitor||p,s=e.dots,o=e.indexes,u=e.Blob||"undefined"!=typeof Blob&&Blob,l=void 0===e.maxDepth?100:e.maxDepth,a=u&&utils.isSpecCompliantForm(i),f=[];if(!utils.isFunction(n))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(utils.isDate(t))return t.toISOString();if(utils.isBoolean(t))return t.toString();if(!a&&utils.isBlob(t))throw new AxiosError("Blob is not supported. Use a Buffer instead.");if(utils.isArrayBuffer(t)||utils.isTypedArray(t)){if(a&&"function"==typeof u)return new u([t]);if("undefined"!=typeof Buffer)return Buffer.from(t);throw new AxiosError("Blob is not supported. Use a Buffer instead.",AxiosError.ERR_NOT_SUPPORT)}return t}function d(t){if(t>l)throw new AxiosError("Object is too deeply nested ("+t+" levels). Max depth: "+l,AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(t,e,n){let u=t;if(utils.isReactNative(i)&&utils.isReactNativeBlob(t))return i.append(renderKey(n,e,s),c(t)),!1;if(t&&!n&&"object"==typeof t)if(utils.endsWith(e,"{}"))e=r?e:e.slice(0,-2),t=function(t,i){if(l===1/0)return JSON.stringify(t);const e=[];return JSON.stringify(t,function(t,r){if(!utils.isObject(r))return r;for(;e.length&&e[e.length-1]!==this;)e.pop();return e.push(r),d(i+e.length-1),r})}(t,1);else if(utils.isArray(t)&&isFlatArray(t)||(utils.isFileList(t)||utils.endsWith(e,"[]"))&&(u=utils.toArray(t)))return e=removeBrackets(e),u.forEach(function(t,r){!utils.isUndefined(t)&&null!==t&&i.append(!0===o?renderKey([e],r,s):null===o?e:e+"[]",c(t))}),!1;return!!isVisitable(t)||(i.append(renderKey(n,e,s),c(t)),!1)}const m=Object.assign(predicates,{defaultVisitor:p,convertValue:c,isVisitable:isVisitable});if(!utils.isObject(t))throw new TypeError("data must be an object");return function t(e,r,s=0){if(!utils.isUndefined(e)){if(d(s),-1!==f.indexOf(e))throw new Error("Circular reference detected in "+r.join("."));f.push(e),utils.forEach(e,function(e,o){!0===(!(utils.isUndefined(e)||null===e)&&n.call(i,e,utils.isString(o)?o.trim():o,r,m))&&t(e,r?r.concat(o):[o],s+1)}),f.pop()}}(t),i}export default toFormData; -//# sourceMappingURL=/sm/e525e798b67234517c6b560d33c8e0a6b9b8dcf5277b309145aafa08e1722a1b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.js deleted file mode 100644 index 749e13a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -import utils from '../utils.js'; -import toFormData from './toFormData.js'; -import platform from '../platform/index.js'; - -export default function toURLEncodedForm(data, options) { - return toFormData(data, new platform.classes.URLSearchParams(), { - visitor: function (value, key, path, helpers) { - if (platform.isNode && utils.isBuffer(value)) { - this.append(key, value.toString('base64')); - return false; - } - - return helpers.defaultVisitor.apply(this, arguments); - }, - ...options, - }); -} diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.min.js deleted file mode 100644 index 5a3d2ee..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/toURLEncodedForm.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/toURLEncodedForm.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import utils from"../utils.js";import toFormData from"./toFormData.js";import platform from"../platform/index.js";export default function toURLEncodedForm(t,o){return toFormData(t,new platform.classes.URLSearchParams,{visitor:function(t,o,r,a){return platform.isNode&&utils.isBuffer(t)?(this.append(o,t.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...o})} -//# sourceMappingURL=/sm/35a5fa575ace0620b12eae8a80bdc52cf1528bcd1647a034f90429747278bb45.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.js deleted file mode 100644 index c75eace..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.js +++ /dev/null @@ -1,89 +0,0 @@ -export const streamChunk = function* (chunk, chunkSize) { - let len = chunk.byteLength; - - if (!chunkSize || len < chunkSize) { - yield chunk; - return; - } - - let pos = 0; - let end; - - while (pos < len) { - end = pos + chunkSize; - yield chunk.slice(pos, end); - pos = end; - } -}; - -export const readBytes = async function* (iterable, chunkSize) { - for await (const chunk of readStream(iterable)) { - yield* streamChunk(chunk, chunkSize); - } -}; - -const readStream = async function* (stream) { - if (stream[Symbol.asyncIterator]) { - yield* stream; - return; - } - - const reader = stream.getReader(); - try { - for (;;) { - const { done, value } = await reader.read(); - if (done) { - break; - } - yield value; - } - } finally { - await reader.cancel(); - } -}; - -export const trackStream = (stream, chunkSize, onProgress, onFinish) => { - const iterator = readBytes(stream, chunkSize); - - let bytes = 0; - let done; - let _onFinish = (e) => { - if (!done) { - done = true; - onFinish && onFinish(e); - } - }; - - return new ReadableStream( - { - async pull(controller) { - try { - const { done, value } = await iterator.next(); - - if (done) { - _onFinish(); - controller.close(); - return; - } - - let len = value.byteLength; - if (onProgress) { - let loadedBytes = (bytes += len); - onProgress(loadedBytes); - } - controller.enqueue(new Uint8Array(value)); - } catch (err) { - _onFinish(err); - throw err; - } - }, - cancel(reason) { - _onFinish(reason); - return iterator.return(); - }, - }, - { - highWaterMark: 2, - } - ); -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.min.js deleted file mode 100644 index 38bcc34..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/trackStream.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/trackStream.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -export const streamChunk=function*(e,t){let r=e.byteLength;if(!t||r{const n=readBytes(e,t);let o,c=0,i=e=>{o||(o=!0,a&&a(e))};return new ReadableStream({async pull(e){try{const{done:t,value:a}=await n.next();if(t)return i(),void e.close();let o=a.byteLength;if(r){let e=c+=o;r(e)}e.enqueue(new Uint8Array(a))}catch(e){throw i(e),e}},cancel:e=>(i(e),n.return())},{highWaterMark:2})}; -//# sourceMappingURL=/sm/f71c6a409830f72a6282a360b0badc6f0a23e9419341236dbd9995f26f874083.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.js deleted file mode 100644 index a152c8c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.js +++ /dev/null @@ -1,112 +0,0 @@ -'use strict'; - -import { VERSION } from '../env/data.js'; -import AxiosError from '../core/AxiosError.js'; - -const validators = {}; - -// eslint-disable-next-line func-names -['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => { - validators[type] = function validator(thing) { - return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type; - }; -}); - -const deprecatedWarnings = {}; - -/** - * Transitional option validator - * - * @param {function|boolean?} validator - set to false if the transitional option has been removed - * @param {string?} version - deprecated version / removed since version - * @param {string?} message - some message with additional info - * - * @returns {function} - */ -validators.transitional = function transitional(validator, version, message) { - function formatMessage(opt, desc) { - return ( - '[Axios v' + - VERSION + - "] Transitional option '" + - opt + - "'" + - desc + - (message ? '. ' + message : '') - ); - } - - // eslint-disable-next-line func-names - return (value, opt, opts) => { - if (validator === false) { - throw new AxiosError( - formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), - AxiosError.ERR_DEPRECATED - ); - } - - if (version && !deprecatedWarnings[opt]) { - deprecatedWarnings[opt] = true; - // eslint-disable-next-line no-console - console.warn( - formatMessage( - opt, - ' has been deprecated since v' + version + ' and will be removed in the near future' - ) - ); - } - - return validator ? validator(value, opt, opts) : true; - }; -}; - -validators.spelling = function spelling(correctSpelling) { - return (value, opt) => { - // eslint-disable-next-line no-console - console.warn(`${opt} is likely a misspelling of ${correctSpelling}`); - return true; - }; -}; - -/** - * Assert object's properties type - * - * @param {object} options - * @param {object} schema - * @param {boolean?} allowUnknown - * - * @returns {object} - */ - -function assertOptions(options, schema, allowUnknown) { - if (typeof options !== 'object' || options === null) { - throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE); - } - const keys = Object.keys(options); - let i = keys.length; - while (i-- > 0) { - const opt = keys[i]; - // Use hasOwnProperty so a polluted Object.prototype. cannot supply - // a non-function validator and cause a TypeError. - const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined; - if (validator) { - const value = options[opt]; - const result = value === undefined || validator(value, opt, options); - if (result !== true) { - throw new AxiosError( - 'option ' + opt + ' must be ' + result, - AxiosError.ERR_BAD_OPTION_VALUE - ); - } - continue; - } - if (allowUnknown !== true) { - throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION); - } - } -} - -export default { - assertOptions, - validators, -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.min.js deleted file mode 100644 index 143fce1..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/helpers/validator.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/helpers/validator.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import{VERSION}from"../env/data.js";import AxiosError from"../core/AxiosError.js";const validators={};["object","boolean","number","function","string","symbol"].forEach((o,r)=>{validators[o]=function(n){return typeof n===o||"a"+(r<1?"n ":" ")+o}});const deprecatedWarnings={};function assertOptions(o,r,n){if("object"!=typeof o||null===o)throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const t=Object.keys(o);let e=t.length;for(;e-- >0;){const i=t[e],s=Object.prototype.hasOwnProperty.call(r,i)?r[i]:void 0;if(s){const r=o[i],n=void 0===r||s(r,i,o);if(!0!==n)throw new AxiosError("option "+i+" must be "+n,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new AxiosError("Unknown option "+i,AxiosError.ERR_BAD_OPTION)}}validators.transitional=function(o,r,n){function t(o,r){return"[Axios v"+VERSION+"] Transitional option '"+o+"'"+r+(n?". "+n:"")}return(n,e,i)=>{if(!1===o)throw new AxiosError(t(e," has been removed"+(r?" in "+r:"")),AxiosError.ERR_DEPRECATED);return r&&!deprecatedWarnings[e]&&(deprecatedWarnings[e]=!0,console.warn(t(e," has been deprecated since v"+r+" and will be removed in the near future"))),!o||o(n,e,i)}},validators.spelling=function(o){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${o}`),!0)};export default{assertOptions:assertOptions,validators:validators}; -//# sourceMappingURL=/sm/25b4c55581d6bfc8e62a0bdd434842c3d723efbcb5510f023c0f88a9b4b8390d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.js deleted file mode 100644 index 9ec4af8..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -export default typeof Blob !== 'undefined' ? Blob : null; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.min.js deleted file mode 100644 index 328ba49..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/Blob.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/platform/browser/classes/Blob.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";export default"undefined"!=typeof Blob?Blob:null; -//# sourceMappingURL=/sm/cb46cd0d2bb1bf87760f3dd22d27ef8eea87b415915dbfbd659fa4c502f11932.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.js deleted file mode 100644 index f36d31b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -export default typeof FormData !== 'undefined' ? FormData : null; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.min.js deleted file mode 100644 index 1687392..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/FormData.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/platform/browser/classes/FormData.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";export default"undefined"!=typeof FormData?FormData:null; -//# sourceMappingURL=/sm/5b2ed6a8f36101250fa65cdfe5b1d7eff5d3c9c68c6c7bb42ce8bc4691e8e754.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js deleted file mode 100644 index b7dae95..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -import AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js'; -export default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.min.js deleted file mode 100644 index d4253b2..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/classes/URLSearchParams.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/platform/browser/classes/URLSearchParams.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import AxiosURLSearchParams from"../../../helpers/AxiosURLSearchParams.js";export default"undefined"!=typeof URLSearchParams?URLSearchParams:AxiosURLSearchParams; -//# sourceMappingURL=/sm/215583ed3e153d228e8d5becdbb2c4a7771574b6833bca29a043051d58477ed7.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.js deleted file mode 100644 index 8e5f99c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.js +++ /dev/null @@ -1,13 +0,0 @@ -import URLSearchParams from './classes/URLSearchParams.js'; -import FormData from './classes/FormData.js'; -import Blob from './classes/Blob.js'; - -export default { - isBrowser: true, - classes: { - URLSearchParams, - FormData, - Blob, - }, - protocols: ['http', 'https', 'file', 'blob', 'url', 'data'], -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.min.js deleted file mode 100644 index 9b8f28a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/browser/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/platform/browser/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import URLSearchParams from"./classes/URLSearchParams.js";import FormData from"./classes/FormData.js";import Blob from"./classes/Blob.js";export default{isBrowser:!0,classes:{URLSearchParams:URLSearchParams,FormData:FormData,Blob:Blob},protocols:["http","https","file","blob","url","data"]}; -//# sourceMappingURL=/sm/a83c19faec30e78538cc5a5a4b5ead0dd9e9bb7eba470d6ea1751f44ec03ec6a.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.js deleted file mode 100644 index e4dfe46..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.js +++ /dev/null @@ -1,52 +0,0 @@ -const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined'; - -const _navigator = (typeof navigator === 'object' && navigator) || undefined; - -/** - * Determine if we're running in a standard browser environment - * - * This allows axios to run in a web worker, and react-native. - * Both environments support XMLHttpRequest, but not fully standard globals. - * - * web workers: - * typeof window -> undefined - * typeof document -> undefined - * - * react-native: - * navigator.product -> 'ReactNative' - * nativescript - * navigator.product -> 'NativeScript' or 'NS' - * - * @returns {boolean} - */ -const hasStandardBrowserEnv = - hasBrowserEnv && - (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0); - -/** - * Determine if we're running in a standard browser webWorker environment - * - * Although the `isStandardBrowserEnv` method indicates that - * `allows axios to run in a web worker`, the WebWorker will still be - * filtered out due to its judgment standard - * `typeof window !== 'undefined' && typeof document !== 'undefined'`. - * This leads to a problem when axios post `FormData` in webWorker - */ -const hasStandardBrowserWebWorkerEnv = (() => { - return ( - typeof WorkerGlobalScope !== 'undefined' && - // eslint-disable-next-line no-undef - self instanceof WorkerGlobalScope && - typeof self.importScripts === 'function' - ); -})(); - -const origin = (hasBrowserEnv && window.location.href) || 'http://localhost'; - -export { - hasBrowserEnv, - hasStandardBrowserWebWorkerEnv, - hasStandardBrowserEnv, - _navigator as navigator, - origin, -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.min.js deleted file mode 100644 index 75246e7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/common/utils.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/platform/common/utils.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -const hasBrowserEnv="undefined"!=typeof window&&"undefined"!=typeof document,_navigator="object"==typeof navigator&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,origin=hasBrowserEnv&&window.location.href||"http://localhost";export{hasBrowserEnv,hasStandardBrowserWebWorkerEnv,hasStandardBrowserEnv,_navigator as navigator,origin}; -//# sourceMappingURL=/sm/dda767b95a93676c22996836596e33a93f199899d1219bf80e2d44ad261010d2.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.js deleted file mode 100644 index e1094ab..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.js +++ /dev/null @@ -1,7 +0,0 @@ -import platform from './node/index.js'; -import * as utils from './common/utils.js'; - -export default { - ...utils, - ...platform, -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.min.js deleted file mode 100644 index 8435916..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/platform/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import platform from"./node/index.js";import*as utils from"./common/utils.js";export default{...utils,...platform}; -//# sourceMappingURL=/sm/2dd0a605ef104714b8ee94d01bf098431bacc57f188c5e8d0abb9180169313d2.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.js deleted file mode 100644 index b07f947..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.js +++ /dev/null @@ -1,3 +0,0 @@ -import FormData from 'form-data'; - -export default FormData; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.min.js deleted file mode 100644 index 3e7d511..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/FormData.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/platform/node/classes/FormData.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import FormData from"form-data";export default FormData; -//# sourceMappingURL=/sm/5317ace7efe1eae23d1269a0622e55aaa5e54958e61163fac5b9222f1904cd72.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.js deleted file mode 100644 index fba5842..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -import url from 'url'; -export default url.URLSearchParams; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.min.js deleted file mode 100644 index ef928a6..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/classes/URLSearchParams.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/platform/node/classes/URLSearchParams.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import url from"url";export default url.URLSearchParams; -//# sourceMappingURL=/sm/2d94d4a8baeb2e0aabbd1cab17309e07b5b15db2fa124598ec4bf5881c2b680e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.js deleted file mode 100644 index 9979a71..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.js +++ /dev/null @@ -1,37 +0,0 @@ -import crypto from 'crypto'; -import URLSearchParams from './classes/URLSearchParams.js'; -import FormData from './classes/FormData.js'; - -const ALPHA = 'abcdefghijklmnopqrstuvwxyz'; - -const DIGIT = '0123456789'; - -const ALPHABET = { - DIGIT, - ALPHA, - ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT, -}; - -const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => { - let str = ''; - const { length } = alphabet; - const randomValues = new Uint32Array(size); - crypto.randomFillSync(randomValues); - for (let i = 0; i < size; i++) { - str += alphabet[randomValues[i] % length]; - } - - return str; -}; - -export default { - isNode: true, - classes: { - URLSearchParams, - FormData, - Blob: (typeof Blob !== 'undefined' && Blob) || null, - }, - ALPHABET, - generateString, - protocols: ['http', 'https', 'file', 'data'], -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.min.js deleted file mode 100644 index c41dbad..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/platform/node/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/platform/node/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import crypto from"crypto";import URLSearchParams from"./classes/URLSearchParams.js";import FormData from"./classes/FormData.js";const ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT:DIGIT,ALPHA:ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(r=16,t=ALPHABET.ALPHA_DIGIT)=>{let a="";const{length:e}=t,o=new Uint32Array(r);crypto.randomFillSync(o);for(let A=0;A - (obj, prop) => - hasOwnProperty.call(obj, prop) -)(Object.prototype); - -/** - * Walk the prototype chain (excluding the shared Object.prototype) looking for - * an own `prop`. This distinguishes genuine own/inherited members — including - * class accessors and template prototypes — from members injected via - * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which - * live on Object.prototype itself and are therefore never matched. - * - * @param {*} thing The value whose chain to inspect - * @param {string|symbol} prop The property key to look for - * - * @returns {boolean} True when `prop` is owned below Object.prototype - */ -const hasOwnInPrototypeChain = (thing, prop) => { - let obj = thing; - const seen = []; - - while (obj != null && obj !== Object.prototype) { - if (seen.indexOf(obj) !== -1) { - return false; - } - seen.push(obj); - - if (hasOwnProperty(obj, prop)) { - return true; - } - obj = getPrototypeOf(obj); - } - return false; -}; - -/** - * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own - * properties and members inherited from a non-Object.prototype source (a class - * instance or template object) are honored; a value reachable only through a - * polluted Object.prototype is ignored and `undefined` is returned. - * - * @param {*} obj The source object - * @param {string|symbol} prop The property key to read - * - * @returns {*} The resolved value, or undefined when unsafe/absent - */ -const getSafeProp = (obj, prop) => - obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined; - -const kindOf = ((cache) => (thing) => { - const str = toString.call(thing); - return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase()); -})(Object.create(null)); - -const kindOfTest = (type) => { - type = type.toLowerCase(); - return (thing) => kindOf(thing) === type; -}; - -const typeOfTest = (type) => (thing) => typeof thing === type; - -/** - * Determine if a value is a non-null object - * - * @param {Object} val The value to test - * - * @returns {boolean} True if value is an Array, otherwise false - */ -const { isArray } = Array; - -/** - * Determine if a value is undefined - * - * @param {*} val The value to test - * - * @returns {boolean} True if the value is undefined, otherwise false - */ -const isUndefined = typeOfTest('undefined'); - -/** - * Determine if a value is a Buffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Buffer, otherwise false - */ -function isBuffer(val) { - return ( - val !== null && - !isUndefined(val) && - val.constructor !== null && - !isUndefined(val.constructor) && - isFunction(val.constructor.isBuffer) && - val.constructor.isBuffer(val) - ); -} - -/** - * Determine if a value is an ArrayBuffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is an ArrayBuffer, otherwise false - */ -const isArrayBuffer = kindOfTest('ArrayBuffer'); - -/** - * Determine if a value is a view on an ArrayBuffer - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false - */ -function isArrayBufferView(val) { - let result; - if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) { - result = ArrayBuffer.isView(val); - } else { - result = val && val.buffer && isArrayBuffer(val.buffer); - } - return result; -} - -/** - * Determine if a value is a String - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a String, otherwise false - */ -const isString = typeOfTest('string'); - -/** - * Determine if a value is a Function - * - * @param {*} val The value to test - * @returns {boolean} True if value is a Function, otherwise false - */ -const isFunction = typeOfTest('function'); - -/** - * Determine if a value is a Number - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Number, otherwise false - */ -const isNumber = typeOfTest('number'); - -/** - * Determine if a value is an Object - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value is an Object, otherwise false - */ -const isObject = (thing) => thing !== null && typeof thing === 'object'; - -/** - * Determine if a value is a Boolean - * - * @param {*} thing The value to test - * @returns {boolean} True if value is a Boolean, otherwise false - */ -const isBoolean = (thing) => thing === true || thing === false; - -/** - * Determine if a value is a plain Object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a plain Object, otherwise false - */ -const isPlainObject = (val) => { - if (!isObject(val)) { - return false; - } - - const prototype = getPrototypeOf(val); - return ( - (prototype === null || - prototype === Object.prototype || - getPrototypeOf(prototype) === null) && - // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or - // Symbol.iterator as evidence the value is a tagged/iterable type rather - // than a plain object, while ignoring keys injected onto Object.prototype. - !hasOwnInPrototypeChain(val, toStringTag) && - !hasOwnInPrototypeChain(val, iterator) - ); -}; - -/** - * Determine if a value is an empty object (safely handles Buffers) - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is an empty object, otherwise false - */ -const isEmptyObject = (val) => { - // Early return for non-objects or Buffers to prevent RangeError - if (!isObject(val) || isBuffer(val)) { - return false; - } - - try { - return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype; - } catch (e) { - // Fallback for any other objects that might cause RangeError with Object.keys() - return false; - } -}; - -/** - * Determine if a value is a Date - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Date, otherwise false - */ -const isDate = kindOfTest('Date'); - -/** - * Determine if a value is a File - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a File, otherwise false - */ -const isFile = kindOfTest('File'); - -/** - * Determine if a value is a React Native Blob - * React Native "blob": an object with a `uri` attribute. Optionally, it can - * also have a `name` and `type` attribute to specify filename and content type - * - * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71 - * - * @param {*} value The value to test - * - * @returns {boolean} True if value is a React Native Blob, otherwise false - */ -const isReactNativeBlob = (value) => { - return !!(value && typeof value.uri !== 'undefined'); -}; - -/** - * Determine if environment is React Native - * ReactNative `FormData` has a non-standard `getParts()` method - * - * @param {*} formData The formData to test - * - * @returns {boolean} True if environment is React Native, otherwise false - */ -const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined'; - -/** - * Determine if a value is a Blob - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Blob, otherwise false - */ -const isBlob = kindOfTest('Blob'); - -/** - * Determine if a value is a FileList - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a FileList, otherwise false - */ -const isFileList = kindOfTest('FileList'); - -/** - * Determine if a value is a Stream - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a Stream, otherwise false - */ -const isStream = (val) => isObject(val) && isFunction(val.pipe); - -/** - * Determine if a value is a FormData - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value is an FormData, otherwise false - */ -function getGlobal() { - if (typeof globalThis !== 'undefined') return globalThis; - if (typeof self !== 'undefined') return self; - if (typeof window !== 'undefined') return window; - if (typeof global !== 'undefined') return global; - return {}; -} - -const G = getGlobal(); -const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined; - -const isFormData = (thing) => { - if (!thing) return false; - if (FormDataCtor && thing instanceof FormDataCtor) return true; - // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData. - const proto = getPrototypeOf(thing); - if (!proto || proto === Object.prototype) return false; - if (!isFunction(thing.append)) return false; - const kind = kindOf(thing); - return ( - kind === 'formdata' || - // detect form-data instance - (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]') - ); -}; - -/** - * Determine if a value is a URLSearchParams object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a URLSearchParams object, otherwise false - */ -const isURLSearchParams = kindOfTest('URLSearchParams'); - -const [isReadableStream, isRequest, isResponse, isHeaders] = [ - 'ReadableStream', - 'Request', - 'Response', - 'Headers', -].map(kindOfTest); - -/** - * Trim excess whitespace off the beginning and end of a string - * - * @param {String} str The String to trim - * - * @returns {String} The String freed of excess whitespace - */ -const trim = (str) => { - return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); -}; -/** - * Iterate over an Array or an Object invoking a function for each item. - * - * If `obj` is an Array callback will be called passing - * the value, index, and complete array for each item. - * - * If 'obj' is an Object callback will be called passing - * the value, key, and complete object for each property. - * - * @param {Object|Array} obj The object to iterate - * @param {Function} fn The callback to invoke for each item - * - * @param {Object} [options] - * @param {Boolean} [options.allOwnKeys = false] - * @returns {any} - */ -function forEach(obj, fn, { allOwnKeys = false } = {}) { - // Don't bother if no value provided - if (obj === null || typeof obj === 'undefined') { - return; - } - - let i; - let l; - - // Force an array if not already something iterable - if (typeof obj !== 'object') { - /*eslint no-param-reassign:0*/ - obj = [obj]; - } - - if (isArray(obj)) { - // Iterate over array values - for (i = 0, l = obj.length; i < l; i++) { - fn.call(null, obj[i], i, obj); - } - } else { - // Buffer check - if (isBuffer(obj)) { - return; - } - - // Iterate over object keys - const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj); - const len = keys.length; - let key; - - for (i = 0; i < len; i++) { - key = keys[i]; - fn.call(null, obj[key], key, obj); - } - } -} - -/** - * Finds a key in an object, case-insensitive, returning the actual key name. - * Returns null if the object is a Buffer or if no match is found. - * - * @param {Object} obj - The object to search. - * @param {string} key - The key to find (case-insensitive). - * @returns {?string} The actual key name if found, otherwise null. - */ -function findKey(obj, key) { - if (isBuffer(obj)) { - return null; - } - - key = key.toLowerCase(); - const keys = Object.keys(obj); - let i = keys.length; - let _key; - while (i-- > 0) { - _key = keys[i]; - if (key === _key.toLowerCase()) { - return _key; - } - } - return null; -} - -const _global = (() => { - /*eslint no-undef:0*/ - if (typeof globalThis !== 'undefined') return globalThis; - return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global; -})(); - -const isContextDefined = (context) => !isUndefined(context) && context !== _global; - -/** - * Accepts varargs expecting each argument to be an object, then - * immutably merges the properties of each object and returns result. - * - * When multiple objects contain the same key the later object in - * the arguments list will take precedence. - * - * Example: - * - * ```js - * const result = merge({foo: 123}, {foo: 456}); - * console.log(result.foo); // outputs 456 - * ``` - * - * @param {Object} obj1 Object to merge - * - * @returns {Object} Result of all merge properties - */ -function merge(...objs) { - const { caseless, skipUndefined } = (isContextDefined(this) && this) || {}; - const result = {}; - const assignValue = (val, key) => { - // Skip dangerous property names to prevent prototype pollution - if (key === '__proto__' || key === 'constructor' || key === 'prototype') { - return; - } - - // findKey lowercases the key, so caseless lookup only applies to strings — - // symbol keys are identity-matched. - const targetKey = (caseless && typeof key === 'string' && findKey(result, key)) || key; - // Read via own-prop only — a bare `result[targetKey]` walks the prototype - // chain, so a polluted Object.prototype value could surface here and get - // copied into the merged result. - const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined; - if (isPlainObject(existing) && isPlainObject(val)) { - result[targetKey] = merge(existing, val); - } else if (isPlainObject(val)) { - result[targetKey] = merge({}, val); - } else if (isArray(val)) { - result[targetKey] = val.slice(); - } else if (!skipUndefined || !isUndefined(val)) { - result[targetKey] = val; - } - }; - - for (let i = 0, l = objs.length; i < l; i++) { - const source = objs[i]; - if (!source || isBuffer(source)) { - continue; - } - - forEach(source, assignValue); - - if (typeof source !== 'object' || isArray(source)) { - continue; - } - - const symbols = Object.getOwnPropertySymbols(source); - for (let j = 0; j < symbols.length; j++) { - const symbol = symbols[j]; - if (propertyIsEnumerable.call(source, symbol)) { - assignValue(source[symbol], symbol); - } - } - } - return result; -} - -/** - * Extends object a by mutably adding to it the properties of object b. - * - * @param {Object} a The object to be extended - * @param {Object} b The object to copy properties from - * @param {Object} thisArg The object to bind function to - * - * @param {Object} [options] - * @param {Boolean} [options.allOwnKeys] - * @returns {Object} The resulting value of object a - */ -const extend = (a, b, thisArg, { allOwnKeys } = {}) => { - forEach( - b, - (val, key) => { - if (thisArg && isFunction(val)) { - Object.defineProperty(a, key, { - // Null-proto descriptor so a polluted Object.prototype.get cannot - // hijack defineProperty's accessor-vs-data resolution. - __proto__: null, - value: bind(val, thisArg), - writable: true, - enumerable: true, - configurable: true, - }); - } else { - Object.defineProperty(a, key, { - __proto__: null, - value: val, - writable: true, - enumerable: true, - configurable: true, - }); - } - }, - { allOwnKeys } - ); - return a; -}; - -/** - * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) - * - * @param {string} content with BOM - * - * @returns {string} content value without BOM - */ -const stripBOM = (content) => { - if (content.charCodeAt(0) === 0xfeff) { - content = content.slice(1); - } - return content; -}; - -/** - * Inherit the prototype methods from one constructor into another - * @param {function} constructor - * @param {function} superConstructor - * @param {object} [props] - * @param {object} [descriptors] - * - * @returns {void} - */ -const inherits = (constructor, superConstructor, props, descriptors) => { - constructor.prototype = Object.create(superConstructor.prototype, descriptors); - Object.defineProperty(constructor.prototype, 'constructor', { - __proto__: null, - value: constructor, - writable: true, - enumerable: false, - configurable: true, - }); - Object.defineProperty(constructor, 'super', { - __proto__: null, - value: superConstructor.prototype, - }); - props && Object.assign(constructor.prototype, props); -}; - -/** - * Resolve object with deep prototype chain to a flat object - * @param {Object} sourceObj source object - * @param {Object} [destObj] - * @param {Function|Boolean} [filter] - * @param {Function} [propFilter] - * - * @returns {Object} - */ -const toFlatObject = (sourceObj, destObj, filter, propFilter) => { - let props; - let i; - let prop; - const merged = {}; - - destObj = destObj || {}; - // eslint-disable-next-line no-eq-null,eqeqeq - if (sourceObj == null) return destObj; - - do { - props = Object.getOwnPropertyNames(sourceObj); - i = props.length; - while (i-- > 0) { - prop = props[i]; - if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) { - destObj[prop] = sourceObj[prop]; - merged[prop] = true; - } - } - sourceObj = filter !== false && getPrototypeOf(sourceObj); - } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype); - - return destObj; -}; - -/** - * Determines whether a string ends with the characters of a specified string - * - * @param {String} str - * @param {String} searchString - * @param {Number} [position= 0] - * - * @returns {boolean} - */ -const endsWith = (str, searchString, position) => { - str = String(str); - if (position === undefined || position > str.length) { - position = str.length; - } - position -= searchString.length; - const lastIndex = str.indexOf(searchString, position); - return lastIndex !== -1 && lastIndex === position; -}; - -/** - * Returns new array from array like object or null if failed - * - * @param {*} [thing] - * - * @returns {?Array} - */ -const toArray = (thing) => { - if (!thing) return null; - if (isArray(thing)) return thing; - let i = thing.length; - if (!isNumber(i)) return null; - const arr = new Array(i); - while (i-- > 0) { - arr[i] = thing[i]; - } - return arr; -}; - -/** - * Checking if the Uint8Array exists and if it does, it returns a function that checks if the - * thing passed in is an instance of Uint8Array - * - * @param {TypedArray} - * - * @returns {Array} - */ -// eslint-disable-next-line func-names -const isTypedArray = ((TypedArray) => { - // eslint-disable-next-line func-names - return (thing) => { - return TypedArray && thing instanceof TypedArray; - }; -})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array)); - -/** - * For each entry in the object, call the function with the key and value. - * - * @param {Object} obj - The object to iterate over. - * @param {Function} fn - The function to call for each entry. - * - * @returns {void} - */ -const forEachEntry = (obj, fn) => { - const generator = obj && obj[iterator]; - - const _iterator = generator.call(obj); - - let result; - - while ((result = _iterator.next()) && !result.done) { - const pair = result.value; - fn.call(obj, pair[0], pair[1]); - } -}; - -/** - * It takes a regular expression and a string, and returns an array of all the matches - * - * @param {string} regExp - The regular expression to match against. - * @param {string} str - The string to search. - * - * @returns {Array} - */ -const matchAll = (regExp, str) => { - let matches; - const arr = []; - - while ((matches = regExp.exec(str)) !== null) { - arr.push(matches); - } - - return arr; -}; - -/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */ -const isHTMLForm = kindOfTest('HTMLFormElement'); - -const toCamelCase = (str) => { - return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) { - return p1.toUpperCase() + p2; - }); -}; - -const { propertyIsEnumerable } = Object.prototype; - -/** - * Determine if a value is a RegExp object - * - * @param {*} val The value to test - * - * @returns {boolean} True if value is a RegExp object, otherwise false - */ -const isRegExp = kindOfTest('RegExp'); - -const reduceDescriptors = (obj, reducer) => { - const descriptors = Object.getOwnPropertyDescriptors(obj); - const reducedDescriptors = {}; - - forEach(descriptors, (descriptor, name) => { - let ret; - if ((ret = reducer(descriptor, name, obj)) !== false) { - reducedDescriptors[name] = ret || descriptor; - } - }); - - Object.defineProperties(obj, reducedDescriptors); -}; - -/** - * Makes all methods read-only - * @param {Object} obj - */ - -const freezeMethods = (obj) => { - reduceDescriptors(obj, (descriptor, name) => { - // skip restricted props in strict mode - if (isFunction(obj) && ['arguments', 'caller', 'callee'].includes(name)) { - return false; - } - - const value = obj[name]; - - if (!isFunction(value)) return; - - descriptor.enumerable = false; - - if ('writable' in descriptor) { - descriptor.writable = false; - return; - } - - if (!descriptor.set) { - descriptor.set = () => { - throw Error("Can not rewrite read-only method '" + name + "'"); - }; - } - }); -}; - -/** - * Converts an array or a delimited string into an object set with values as keys and true as values. - * Useful for fast membership checks. - * - * @param {Array|string} arrayOrString - The array or string to convert. - * @param {string} delimiter - The delimiter to use if input is a string. - * @returns {Object} An object with keys from the array or string, values set to true. - */ -const toObjectSet = (arrayOrString, delimiter) => { - const obj = {}; - - const define = (arr) => { - arr.forEach((value) => { - obj[value] = true; - }); - }; - - isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter)); - - return obj; -}; - -const noop = () => {}; - -const toFiniteNumber = (value, defaultValue) => { - return value != null && Number.isFinite((value = +value)) ? value : defaultValue; -}; - -/** - * If the thing is a FormData object, return true, otherwise return false. - * - * @param {unknown} thing - The thing to check. - * - * @returns {boolean} - */ -function isSpecCompliantForm(thing) { - return !!( - thing && - isFunction(thing.append) && - thing[toStringTag] === 'FormData' && - thing[iterator] - ); -} - -/** - * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers. - * - * @param {Object} obj - The object to convert. - * @returns {Object} The JSON-compatible object. - */ -const toJSONObject = (obj) => { - const visited = new WeakSet(); - - const visit = (source) => { - if (isObject(source)) { - if (visited.has(source)) { - return; - } - - //Buffer check - if (isBuffer(source)) { - return source; - } - - if (!('toJSON' in source)) { - // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230). - visited.add(source); - const target = isArray(source) ? [] : {}; - - forEach(source, (value, key) => { - const reducedValue = visit(value); - !isUndefined(reducedValue) && (target[key] = reducedValue); - }); - - visited.delete(source); - - return target; - } - } - - return source; - }; - - return visit(obj); -}; - -/** - * Determines if a value is an async function. - * - * @param {*} thing - The value to test. - * @returns {boolean} True if value is an async function, otherwise false. - */ -const isAsyncFn = kindOfTest('AsyncFunction'); - -/** - * Determines if a value is thenable (has then and catch methods). - * - * @param {*} thing - The value to test. - * @returns {boolean} True if value is thenable, otherwise false. - */ -const isThenable = (thing) => - thing && - (isObject(thing) || isFunction(thing)) && - isFunction(thing.then) && - isFunction(thing.catch); - -// original code -// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34 - -/** - * Provides a cross-platform setImmediate implementation. - * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout. - * - * @param {boolean} setImmediateSupported - Whether setImmediate is supported. - * @param {boolean} postMessageSupported - Whether postMessage is supported. - * @returns {Function} A function to schedule a callback asynchronously. - */ -const _setImmediate = ((setImmediateSupported, postMessageSupported) => { - if (setImmediateSupported) { - return setImmediate; - } - - return postMessageSupported - ? ((token, callbacks) => { - _global.addEventListener( - 'message', - ({ source, data }) => { - if (source === _global && data === token) { - callbacks.length && callbacks.shift()(); - } - }, - false - ); - - return (cb) => { - callbacks.push(cb); - _global.postMessage(token, '*'); - }; - })(`axios@${Math.random()}`, []) - : (cb) => setTimeout(cb); -})(typeof setImmediate === 'function', isFunction(_global.postMessage)); - -/** - * Schedules a microtask or asynchronous callback as soon as possible. - * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate. - * - * @type {Function} - */ -const asap = - typeof queueMicrotask !== 'undefined' - ? queueMicrotask.bind(_global) - : (typeof process !== 'undefined' && process.nextTick) || _setImmediate; - -// ********************* - -const isIterable = (thing) => thing != null && isFunction(thing[iterator]); - -/** - * Determine if a value is iterable via an iterator that is NOT sourced solely - * from a polluted Object.prototype. Use this instead of `isIterable` whenever - * the iterable comes from untrusted input (e.g. user-supplied header sources), - * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object - * into an attacker-controlled entries iterator. - * - * @param {*} thing The value to test - * - * @returns {boolean} True if value has a non-polluted iterator - */ -const isSafeIterable = (thing) => - thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing); - -export default { - isArray, - isArrayBuffer, - isBuffer, - isFormData, - isArrayBufferView, - isString, - isNumber, - isBoolean, - isObject, - isPlainObject, - isEmptyObject, - isReadableStream, - isRequest, - isResponse, - isHeaders, - isUndefined, - isDate, - isFile, - isReactNativeBlob, - isReactNative, - isBlob, - isRegExp, - isFunction, - isStream, - isURLSearchParams, - isTypedArray, - isFileList, - forEach, - merge, - extend, - trim, - stripBOM, - inherits, - toFlatObject, - kindOf, - kindOfTest, - endsWith, - toArray, - forEachEntry, - matchAll, - isHTMLForm, - hasOwnProperty, - hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection - hasOwnInPrototypeChain, - getSafeProp, - reduceDescriptors, - freezeMethods, - toObjectSet, - toCamelCase, - noop, - toFiniteNumber, - findKey, - global: _global, - isContextDefined, - isSpecCompliantForm, - toJSONObject, - isAsyncFn, - isThenable, - setImmediate: _setImmediate, - asap, - isIterable, - isSafeIterable, -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/lib/utils.min.js b/Lombiq.EInvoiceValidator/node_modules/axios/lib/utils.min.js deleted file mode 100644 index daac13b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/lib/utils.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/axios@1.18.1/lib/utils.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";import bind from"./helpers/bind.js";const{toString:toString}=Object.prototype,{getPrototypeOf:getPrototypeOf}=Object,{iterator:iterator,toStringTag:toStringTag}=Symbol,hasOwnProperty=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),hasOwnInPrototypeChain=(e,t)=>{let r=e;const i=[];for(;null!=r&&r!==Object.prototype;){if(-1!==i.indexOf(r))return!1;if(i.push(r),hasOwnProperty(r,t))return!0;r=getPrototypeOf(r)}return!1},getSafeProp=(e,t)=>null!=e&&hasOwnInPrototypeChain(e,t)?e[t]:void 0,kindOf=(e=>t=>{const r=toString.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=e=>(e=e.toLowerCase(),t=>kindOf(t)===e),typeOfTest=e=>t=>typeof t===e,{isArray:isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(e){return null!==e&&!isUndefined(e)&&null!==e.constructor&&!isUndefined(e.constructor)&&isFunction(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&isArrayBuffer(e.buffer),t}const isString=typeOfTest("string"),isFunction=typeOfTest("function"),isNumber=typeOfTest("number"),isObject=e=>null!==e&&"object"==typeof e,isBoolean=e=>!0===e||!1===e,isPlainObject=e=>{if(!isObject(e))return!1;const t=getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==getPrototypeOf(t)||hasOwnInPrototypeChain(e,toStringTag)||hasOwnInPrototypeChain(e,iterator))},isEmptyObject=e=>{if(!isObject(e)||isBuffer(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isReactNativeBlob=e=>!(!e||void 0===e.uri),isReactNative=e=>e&&void 0!==e.getParts,isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=e=>isObject(e)&&isFunction(e.pipe);function getGlobal(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}}const G=getGlobal(),FormDataCtor=void 0!==G.FormData?G.FormData:void 0,isFormData=e=>{if(!e)return!1;if(FormDataCtor&&e instanceof FormDataCtor)return!0;const t=getPrototypeOf(e);if(!t||t===Object.prototype)return!1;if(!isFunction(e.append))return!1;const r=kindOf(e);return"formdata"===r||"object"===r&&isFunction(e.toString)&&"[object FormData]"===e.toString()},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let i,n;if("object"!=typeof e&&(e=[e]),isArray(e))for(i=0,n=e.length;i0;)if(i=r[n],t===i.toLowerCase())return i;return null}const _global="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,isContextDefined=e=>!isUndefined(e)&&e!==_global;function merge(...e){const{caseless:t,skipUndefined:r}=isContextDefined(this)&&this||{},i={},n=(e,n)=>{if("__proto__"===n||"constructor"===n||"prototype"===n)return;const o=t&&"string"==typeof n&&findKey(i,n)||n,s=hasOwnProperty(i,o)?i[o]:void 0;isPlainObject(s)&&isPlainObject(e)?i[o]=merge(s,e):isPlainObject(e)?i[o]=merge({},e):isArray(e)?i[o]=e.slice():r&&isUndefined(e)||(i[o]=e)};for(let t=0,r=e.length;t(forEach(t,(t,i)=>{r&&isFunction(t)?Object.defineProperty(e,i,{__proto__:null,value:bind(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),e),stripBOM=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits=(e,t,r,i)=>{e.prototype=Object.create(t.prototype,i),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject=(e,t,r,i)=>{let n,o,s;const a={};if(t=t||{},null==e)return t;do{for(n=Object.getOwnPropertyNames(e),o=n.length;o-- >0;)s=n[o],i&&!i(s,e,t)||a[s]||(t[s]=e[s],a[s]=!0);e=!1!==r&&getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},endsWith=(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const i=e.indexOf(t,r);return-1!==i&&i===r},toArray=e=>{if(!e)return null;if(isArray(e))return e;let t=e.length;if(!isNumber(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},isTypedArray=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&getPrototypeOf(Uint8Array)),forEachEntry=(e,t)=>{const r=(e&&e[iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const r=i.value;t.call(e,r[0],r[1])}},matchAll=(e,t)=>{let r;const i=[];for(;null!==(r=e.exec(t));)i.push(r);return i},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),{propertyIsEnumerable:propertyIsEnumerable}=Object.prototype,isRegExp=kindOfTest("RegExp"),reduceDescriptors=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),i={};forEach(r,(r,n)=>{let o;!1!==(o=t(r,n,e))&&(i[n]=o||r)}),Object.defineProperties(e,i)},freezeMethods=e=>{reduceDescriptors(e,(t,r)=>{if(isFunction(e)&&["arguments","caller","callee"].includes(r))return!1;const i=e[r];isFunction(i)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},toObjectSet=(e,t)=>{const r={},i=e=>{e.forEach(e=>{r[e]=!0})};return isArray(e)?i(e):i(String(e).split(t)),r},noop=()=>{},toFiniteNumber=(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t;function isSpecCompliantForm(e){return!!(e&&isFunction(e.append)&&"FormData"===e[toStringTag]&&e[iterator])}const toJSONObject=e=>{const t=new WeakSet,r=e=>{if(isObject(e)){if(t.has(e))return;if(isBuffer(e))return e;if(!("toJSON"in e)){t.add(e);const i=isArray(e)?[]:{};return forEach(e,(e,t)=>{const n=r(e);!isUndefined(n)&&(i[t]=n)}),t.delete(e),i}}return e};return r(e)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=e=>e&&(isObject(e)||isFunction(e))&&isFunction(e.then)&&isFunction(e.catch),_setImmediate=((e,t)=>{return e?setImmediate:t?(r=`axios@${Math.random()}`,i=[],_global.addEventListener("message",({source:e,data:t})=>{e===_global&&t===r&&i.length&&i.shift()()},!1),e=>{i.push(e),_global.postMessage(r,"*")}):e=>setTimeout(e);var r,i})("function"==typeof setImmediate,isFunction(_global.postMessage)),asap="undefined"!=typeof queueMicrotask?queueMicrotask.bind(_global):"undefined"!=typeof process&&process.nextTick||_setImmediate,isIterable=e=>null!=e&&isFunction(e[iterator]),isSafeIterable=e=>null!=e&&hasOwnInPrototypeChain(e,iterator)&&isIterable(e);export default{isArray:isArray,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString,isNumber:isNumber,isBoolean:isBoolean,isObject:isObject,isPlainObject:isPlainObject,isEmptyObject:isEmptyObject,isReadableStream:isReadableStream,isRequest:isRequest,isResponse:isResponse,isHeaders:isHeaders,isUndefined:isUndefined,isDate:isDate,isFile:isFile,isReactNativeBlob:isReactNativeBlob,isReactNative:isReactNative,isBlob:isBlob,isRegExp:isRegExp,isFunction:isFunction,isStream:isStream,isURLSearchParams:isURLSearchParams,isTypedArray:isTypedArray,isFileList:isFileList,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:kindOf,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:isHTMLForm,hasOwnProperty:hasOwnProperty,hasOwnProp:hasOwnProperty,hasOwnInPrototypeChain:hasOwnInPrototypeChain,getSafeProp:getSafeProp,reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:_global,isContextDefined:isContextDefined,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:isAsyncFn,isThenable:isThenable,setImmediate:_setImmediate,asap:asap,isIterable:isIterable,isSafeIterable:isSafeIterable}; -//# sourceMappingURL=/sm/46942b35d09b72959193988b7d088b8f4c48c99afda27a5f392e56ea918de89d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/axios/package.json b/Lombiq.EInvoiceValidator/node_modules/axios/package.json deleted file mode 100644 index 27e2784..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/axios/package.json +++ /dev/null @@ -1,201 +0,0 @@ -{ - "name": "axios", - "version": "1.18.1", - "description": "Promise based HTTP client for the browser and node.js", - "main": "./dist/node/axios.cjs", - "module": "./index.js", - "type": "module", - "types": "index.d.ts", - "jsdelivr": "dist/axios.min.js", - "unpkg": "dist/axios.min.js", - "typings": "./index.d.ts", - "exports": { - ".": { - "types": { - "require": "./index.d.cts", - "default": "./index.d.ts" - }, - "bun": { - "require": "./dist/node/axios.cjs", - "default": "./index.js" - }, - "react-native": { - "require": "./dist/browser/axios.cjs", - "default": "./dist/esm/axios.js" - }, - "browser": { - "require": "./dist/browser/axios.cjs", - "default": "./index.js" - }, - "default": { - "require": "./dist/node/axios.cjs", - "default": "./index.js" - } - }, - "./lib/adapters/http.js": "./lib/adapters/http.js", - "./lib/adapters/xhr.js": "./lib/adapters/xhr.js", - "./unsafe/*": "./lib/*", - "./unsafe/core/settle.js": "./lib/core/settle.js", - "./unsafe/core/buildFullPath.js": "./lib/core/buildFullPath.js", - "./unsafe/helpers/isAbsoluteURL.js": "./lib/helpers/isAbsoluteURL.js", - "./unsafe/helpers/buildURL.js": "./lib/helpers/buildURL.js", - "./unsafe/helpers/combineURLs.js": "./lib/helpers/combineURLs.js", - "./unsafe/adapters/http.js": "./lib/adapters/http.js", - "./unsafe/adapters/xhr.js": "./lib/adapters/xhr.js", - "./unsafe/utils.js": "./lib/utils.js", - "./package.json": "./package.json", - "./dist/browser/axios.cjs": "./dist/browser/axios.cjs", - "./dist/node/axios.cjs": "./dist/node/axios.cjs" - }, - "browser": { - "./dist/node/axios.cjs": "./dist/browser/axios.cjs", - "./lib/adapters/http.js": "./lib/helpers/null.js", - "./lib/platform/node/index.js": "./lib/platform/browser/index.js", - "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js" - }, - "react-native": { - "./dist/node/axios.cjs": "./dist/browser/axios.cjs", - "./lib/adapters/http.js": "./lib/helpers/null.js", - "./lib/platform/node/index.js": "./lib/platform/browser/index.js", - "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js" - }, - "repository": { - "type": "git", - "url": "https://github.com/axios/axios.git" - }, - "keywords": [ - "xhr", - "http", - "ajax", - "promise", - "node", - "browser", - "fetch", - "rest", - "api", - "client" - ], - "author": "Matt Zabriskie", - "contributors": [ - "Matt Zabriskie (https://github.com/mzabriskie)", - "Jay (https://github.com/jasonsaayman)", - "Dmitriy Mozgovoy (https://github.com/DigitalBrainJS)", - "Nick Uraltsev (https://github.com/nickuraltsev)", - "Emily Morehouse (https://github.com/emilyemorehouse)", - "Rubén Norte (https://github.com/rubennorte)", - "Justin Beckwith (https://github.com/JustinBeckwith)", - "Martti Laine (https://github.com/codeclown)", - "Xianming Zhong (https://github.com/chinesedfan)", - "Shaan Majid (https://github.com/shaanmajid)", - "Remco Haszing (https://github.com/remcohaszing)", - "Willian Agostini (https://github.com/WillianAgostini)", - "Rikki Gibson (https://github.com/RikkiGibson)" - ], - "sideEffects": false, - "license": "MIT", - "bugs": { - "url": "https://github.com/axios/axios/issues" - }, - "homepage": "https://axios-http.com", - "files": [ - "index.js", - "index.d.ts", - "index.d.cts", - "CHANGELOG.md", - "MIGRATION_GUIDE.md", - "lib/", - "dist/axios.js", - "dist/axios.min.js", - "dist/axios.min.js.map", - "dist/esm/axios.js", - "dist/esm/axios.min.js", - "dist/esm/axios.min.js.map", - "dist/browser/axios.cjs", - "dist/node/axios.cjs" - ], - "scripts": { - "build": "gulp clear && cross-env NODE_ENV=production rollup -c -m", - "version": "npm run build && git add package.json", - "preversion": "gulp version", - "test": "npm run test:vitest", - "test:vitest": "vitest run", - "test:vitest:unit": "vitest run --project unit", - "test:vitest:browser": "vitest run --project browser", - "test:vitest:browser:headless": "vitest run --project browser-headless", - "test:vitest:watch": "vitest", - "test:smoke:cjs:vitest": "npm --prefix tests/smoke/cjs run test:smoke:cjs:mocha", - "test:smoke:esm:vitest": "npm --prefix tests/smoke/esm run test:smoke:esm:vitest", - "test:smoke:deno": "deno task --cwd tests/smoke/deno test", - "test:smoke:bun": "bun test --cwd tests/smoke/bun", - "test:module:cjs": "npm --prefix tests/module/cjs run test:module:cjs", - "test:module:esm": "npm --prefix tests/module/esm run test:module:esm", - "docs:dev": "cd docs && npm run docs:dev", - "start": "node ./sandbox/server.js", - "examples": "node ./examples/server.js", - "lint": "eslint lib/**/*.js", - "fix": "eslint --fix lib/**/*.js", - "prepare": "husky" - }, - "dependencies": { - "follow-redirects": "^1.16.0", - "form-data": "^4.0.5", - "https-proxy-agent": "^5.0.1", - "proxy-from-env": "^2.1.0" - }, - "devDependencies": { - "@babel/core": "^7.29.0", - "@babel/preset-env": "^7.29.5", - "@commitlint/cli": "^21.0.1", - "@commitlint/config-conventional": "^21.0.1", - "@eslint/js": "^10.0.1", - "@rollup/plugin-alias": "^6.0.0", - "@rollup/plugin-babel": "^7.0.0", - "@rollup/plugin-commonjs": "^29.0.2", - "@rollup/plugin-json": "^6.1.0", - "@rollup/plugin-node-resolve": "^16.0.3", - "@rollup/plugin-terser": "^1.0.0", - "@vitest/browser": "^4.1.7", - "@vitest/browser-playwright": "^4.1.7", - "abortcontroller-polyfill": "^1.7.8", - "acorn": "^8.16.0", - "body-parser": "^2.2.2", - "chalk": "^5.6.2", - "cross-env": "^10.1.0", - "dev-null": "^0.1.1", - "eslint": "^10.4.0", - "express": "^5.2.1", - "formdata-node": "^6.0.3", - "formidable": "^3.5.4", - "fs-extra": "^11.3.4", - "get-stream": "^9.0.1", - "globals": "^17.6.0", - "gulp": "^5.0.1", - "husky": "^9.1.7", - "lint-staged": "^17.0.5", - "minimist": "^1.2.8", - "multer": "^2.1.1", - "playwright": "^1.60.0", - "prettier": "^3.8.3", - "rollup": "^4.60.4", - "rollup-plugin-bundle-size": "^1.0.3", - "selfsigned": "^5.5.0", - "stream-throttle": "^0.1.3", - "typescript": "^5.9.3", - "vitest": "^4.1.7" - }, - "commitlint": { - "rules": { - "header-max-length": [ - 2, - "always", - 130 - ] - }, - "extends": [ - "@commitlint/config-conventional" - ] - }, - "lint-staged": { - "*.{js,cjs,mjs,ts,json,md,yml,yaml}": "prettier --write" - } -} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/CHANGELOG.md deleted file mode 100644 index 2484942..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/CHANGELOG.md +++ /dev/null @@ -1,30 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.0.2](https://github.com/ljharb/call-bind-apply-helpers/compare/v1.0.1...v1.0.2) - 2025-02-12 - -### Commits - -- [types] improve inferred types [`e6f9586`](https://github.com/ljharb/call-bind-apply-helpers/commit/e6f95860a3c72879cb861a858cdfb8138fbedec1) -- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/tsconfig`, `@types/tape`, `es-value-fixtures`, `for-each`, `has-strict-mode`, `object-inspect` [`e43d540`](https://github.com/ljharb/call-bind-apply-helpers/commit/e43d5409f97543bfbb11f345d47d8ce4e066d8c1) - -## [v1.0.1](https://github.com/ljharb/call-bind-apply-helpers/compare/v1.0.0...v1.0.1) - 2024-12-08 - -### Commits - -- [types] `reflectApply`: fix types [`4efc396`](https://github.com/ljharb/call-bind-apply-helpers/commit/4efc3965351a4f02cc55e836fa391d3d11ef2ef8) -- [Fix] `reflectApply`: oops, Reflect is not a function [`83cc739`](https://github.com/ljharb/call-bind-apply-helpers/commit/83cc7395de6b79b7730bdf092f1436f0b1263c75) -- [Dev Deps] update `@arethetypeswrong/cli` [`80bd5d3`](https://github.com/ljharb/call-bind-apply-helpers/commit/80bd5d3ae58b4f6b6995ce439dd5a1bcb178a940) - -## v1.0.0 - 2024-12-05 - -### Commits - -- Initial implementation, tests, readme [`7879629`](https://github.com/ljharb/call-bind-apply-helpers/commit/78796290f9b7430c9934d6f33d94ae9bc89fce04) -- Initial commit [`3f1dc16`](https://github.com/ljharb/call-bind-apply-helpers/commit/3f1dc164afc43285631b114a5f9dd9137b2b952f) -- npm init [`081df04`](https://github.com/ljharb/call-bind-apply-helpers/commit/081df048c312fcee400922026f6e97281200a603) -- Only apps should have lockfiles [`5b9ca0f`](https://github.com/ljharb/call-bind-apply-helpers/commit/5b9ca0fe8101ebfaf309c549caac4e0a017ed930) diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/LICENSE b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/LICENSE deleted file mode 100644 index f82f389..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2024 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/README.md b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/README.md deleted file mode 100644 index 8fc0dae..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/README.md +++ /dev/null @@ -1,62 +0,0 @@ -# call-bind-apply-helpers [![Version Badge][npm-version-svg]][package-url] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![dependency status][deps-svg]][deps-url] -[![dev dependency status][dev-deps-svg]][dev-deps-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -Helper functions around Function call/apply/bind, for use in `call-bind`. - -The only packages that should likely ever use this package directly are `call-bind` and `get-intrinsic`. -Please use `call-bind` unless you have a very good reason not to. - -## Getting started - -```sh -npm install --save call-bind-apply-helpers -``` - -## Usage/Examples - -```js -const assert = require('assert'); -const callBindBasic = require('call-bind-apply-helpers'); - -function f(a, b) { - assert.equal(this, 1); - assert.equal(a, 2); - assert.equal(b, 3); - assert.equal(arguments.length, 2); -} - -const fBound = callBindBasic([f, 1]); - -delete Function.prototype.call; -delete Function.prototype.bind; - -fBound(2, 3); -``` - -## Tests - -Clone the repo, `npm install`, and run `npm test` - -[package-url]: https://npmjs.org/package/call-bind-apply-helpers -[npm-version-svg]: https://versionbadg.es/ljharb/call-bind-apply-helpers.svg -[deps-svg]: https://david-dm.org/ljharb/call-bind-apply-helpers.svg -[deps-url]: https://david-dm.org/ljharb/call-bind-apply-helpers -[dev-deps-svg]: https://david-dm.org/ljharb/call-bind-apply-helpers/dev-status.svg -[dev-deps-url]: https://david-dm.org/ljharb/call-bind-apply-helpers#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/call-bind-apply-helpers.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/call-bind-apply-helpers.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/call-bind-apply-helpers.svg -[downloads-url]: https://npm-stat.com/charts.html?package=call-bind-apply-helpers -[codecov-image]: https://codecov.io/gh/ljharb/call-bind-apply-helpers/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/ljharb/call-bind-apply-helpers/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/call-bind-apply-helpers -[actions-url]: https://github.com/ljharb/call-bind-apply-helpers/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.d.ts b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.d.ts deleted file mode 100644 index b87286a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = Reflect.apply; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.js deleted file mode 100644 index ffa5135..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var bind = require('function-bind'); - -var $apply = require('./functionApply'); -var $call = require('./functionCall'); -var $reflectApply = require('./reflectApply'); - -/** @type {import('./actualApply')} */ -module.exports = $reflectApply || bind.call($call, $apply); diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.min.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.min.js deleted file mode 100644 index b0f75a5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/actualApply.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/call-bind-apply-helpers@1.0.2/actualApply.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var bind=require("function-bind"),$apply=require("./functionApply"),$call=require("./functionCall"),$reflectApply=require("./reflectApply");module.exports=$reflectApply||bind.call($call,$apply); -//# sourceMappingURL=/sm/0f8d8b7f3298c1860bc50c1f95003830c9e4bf45d09ca7956a488e63f4ca8f22.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.d.ts b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.d.ts deleted file mode 100644 index d176c1a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import actualApply from './actualApply'; - -type TupleSplitHead = T['length'] extends N - ? T - : T extends [...infer R, any] - ? TupleSplitHead - : never - -type TupleSplitTail = O['length'] extends N - ? T - : T extends [infer F, ...infer R] - ? TupleSplitTail<[...R], N, [...O, F]> - : never - -type TupleSplit = [TupleSplitHead, TupleSplitTail] - -declare function applyBind(...args: TupleSplit, 2>[1]): ReturnType; - -export = applyBind; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.js deleted file mode 100644 index d2b7723..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var bind = require('function-bind'); -var $apply = require('./functionApply'); -var actualApply = require('./actualApply'); - -/** @type {import('./applyBind')} */ -module.exports = function applyBind() { - return actualApply(bind, $apply, arguments); -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.min.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.min.js deleted file mode 100644 index f1707ac..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/applyBind.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/call-bind-apply-helpers@1.0.2/applyBind.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var bind=require("function-bind"),$apply=require("./functionApply"),actualApply=require("./actualApply");module.exports=function(){return actualApply(bind,$apply,arguments)}; -//# sourceMappingURL=/sm/94871c6e1c2a23b3483489386d528564b6c65c5915773189aca5a99a8ccdd21f.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.d.ts b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.d.ts deleted file mode 100644 index 1f6e11b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = Function.prototype.apply; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.js deleted file mode 100644 index c71df9c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./functionApply')} */ -module.exports = Function.prototype.apply; diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.min.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.min.js deleted file mode 100644 index 746ebeb..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionApply.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/call-bind-apply-helpers@1.0.2/functionApply.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=Function.prototype.apply; -//# sourceMappingURL=/sm/fa04aa78fea76c33419453d89d4523f21194cd583275e48c7238e356506c6e75.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.d.ts b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.d.ts deleted file mode 100644 index 15e93df..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = Function.prototype.call; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.js deleted file mode 100644 index 7a8d873..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./functionCall')} */ -module.exports = Function.prototype.call; diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.min.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.min.js deleted file mode 100644 index bf6c41b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/functionCall.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/call-bind-apply-helpers@1.0.2/functionCall.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=Function.prototype.call; -//# sourceMappingURL=/sm/a3661d99c72d160c512270f94c1155a2bfbe75189a94355b949016d6477675b2.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.d.ts deleted file mode 100644 index 541516b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -type RemoveFromTuple< - Tuple extends readonly unknown[], - RemoveCount extends number, - Index extends 1[] = [] -> = Index["length"] extends RemoveCount - ? Tuple - : Tuple extends [infer First, ...infer Rest] - ? RemoveFromTuple - : Tuple; - -type ConcatTuples< - Prefix extends readonly unknown[], - Suffix extends readonly unknown[] -> = [...Prefix, ...Suffix]; - -type ExtractFunctionParams = T extends (this: infer TThis, ...args: infer P extends readonly unknown[]) => infer R - ? { thisArg: TThis; params: P; returnType: R } - : never; - -type BindFunction< - T extends (this: any, ...args: any[]) => any, - TThis, - TBoundArgs extends readonly unknown[], - ReceiverBound extends boolean -> = ExtractFunctionParams extends { - thisArg: infer OrigThis; - params: infer P extends readonly unknown[]; - returnType: infer R; -} - ? ReceiverBound extends true - ? (...args: RemoveFromTuple>) => R extends [OrigThis, ...infer Rest] - ? [TThis, ...Rest] // Replace `this` with `thisArg` - : R - : >>( - thisArg: U, - ...args: RemainingArgs - ) => R extends [OrigThis, ...infer Rest] - ? [U, ...ConcatTuples] // Preserve bound args in return type - : R - : never; - -declare function callBind< - const T extends (this: any, ...args: any[]) => any, - Extracted extends ExtractFunctionParams, - const TBoundArgs extends Partial & readonly unknown[], - const TThis extends Extracted["thisArg"] ->( - args: [fn: T, thisArg: TThis, ...boundArgs: TBoundArgs] -): BindFunction; - -declare function callBind< - const T extends (this: any, ...args: any[]) => any, - Extracted extends ExtractFunctionParams, - const TBoundArgs extends Partial & readonly unknown[] ->( - args: [fn: T, ...boundArgs: TBoundArgs] -): BindFunction; - -declare function callBind( - args: [fn: Exclude, ...rest: TArgs] -): never; - -// export as namespace callBind; -export = callBind; diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.js deleted file mode 100644 index 2f6dab4..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var bind = require('function-bind'); -var $TypeError = require('es-errors/type'); - -var $call = require('./functionCall'); -var $actualApply = require('./actualApply'); - -/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */ -module.exports = function callBindBasic(args) { - if (args.length < 1 || typeof args[0] !== 'function') { - throw new $TypeError('a function is required'); - } - return $actualApply(bind, $call, args); -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.min.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.min.js deleted file mode 100644 index b197558..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.37.0. - * Original file: /npm/call-bind-apply-helpers@1.0.2/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var bind=require("function-bind"),$TypeError=require("es-errors/type"),$call=require("./functionCall"),$actualApply=require("./actualApply");module.exports=function(r){if(r.length<1||"function"!=typeof r[0])throw new $TypeError("a function is required");return $actualApply(bind,$call,r)}; -//# sourceMappingURL=/sm/311fa5faa4523c93519c95c8664597f65cd3c04c883c5df552a8f85dbf300f53.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/package.json b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/package.json deleted file mode 100644 index 923b8be..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/package.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "name": "call-bind-apply-helpers", - "version": "1.0.2", - "description": "Helper functions around Function call/apply/bind, for use in `call-bind`", - "main": "index.js", - "exports": { - ".": "./index.js", - "./actualApply": "./actualApply.js", - "./applyBind": "./applyBind.js", - "./functionApply": "./functionApply.js", - "./functionCall": "./functionCall.js", - "./reflectApply": "./reflectApply.js", - "./package.json": "./package.json" - }, - "scripts": { - "prepack": "npmignore --auto --commentLines=auto", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prepublishOnly": "safe-publish-latest", - "prelint": "evalmd README.md", - "lint": "eslint --ext=.js,.mjs .", - "postlint": "tsc -p . && attw -P", - "pretest": "npm run lint", - "tests-only": "nyc tape 'test/**/*.js'", - "test": "npm run tests-only", - "posttest": "npx npm@'>=10.2' audit --production", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/ljharb/call-bind-apply-helpers.git" - }, - "author": "Jordan Harband ", - "license": "MIT", - "bugs": { - "url": "https://github.com/ljharb/call-bind-apply-helpers/issues" - }, - "homepage": "https://github.com/ljharb/call-bind-apply-helpers#readme", - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2" - }, - "devDependencies": { - "@arethetypeswrong/cli": "^0.17.3", - "@ljharb/eslint-config": "^21.1.1", - "@ljharb/tsconfig": "^0.2.3", - "@types/for-each": "^0.3.3", - "@types/function-bind": "^1.1.10", - "@types/object-inspect": "^1.13.0", - "@types/tape": "^5.8.1", - "auto-changelog": "^2.5.0", - "encoding": "^0.1.13", - "es-value-fixtures": "^1.7.1", - "eslint": "=8.8.0", - "evalmd": "^0.0.19", - "for-each": "^0.3.5", - "has-strict-mode": "^1.1.0", - "in-publish": "^2.0.1", - "npmignore": "^0.3.1", - "nyc": "^10.3.2", - "object-inspect": "^1.13.4", - "safe-publish-latest": "^2.0.0", - "tape": "^5.9.0", - "typescript": "next" - }, - "testling": { - "files": "test/index.js" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "publishConfig": { - "ignore": [ - ".github/workflows" - ] - }, - "engines": { - "node": ">= 0.4" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.d.ts b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.d.ts deleted file mode 100644 index 6b2ae76..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const reflectApply: false | typeof Reflect.apply; - -export = reflectApply; diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.js deleted file mode 100644 index 3d03caa..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./reflectApply')} */ -module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply; diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.min.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.min.js deleted file mode 100644 index a61fcd5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/reflectApply.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/call-bind-apply-helpers@1.0.2/reflectApply.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply; -//# sourceMappingURL=/sm/23b8c1fda7c7c87bdc0d92e1332fdec593ec09b7c12627c8b8ed0cc9d118e372.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.js deleted file mode 100644 index 1cdc89e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.js +++ /dev/null @@ -1,63 +0,0 @@ -'use strict'; - -var callBind = require('../'); -var hasStrictMode = require('has-strict-mode')(); -var forEach = require('for-each'); -var inspect = require('object-inspect'); -var v = require('es-value-fixtures'); - -var test = require('tape'); - -test('callBindBasic', function (t) { - forEach(v.nonFunctions, function (nonFunction) { - t['throws']( - // @ts-expect-error - function () { callBind([nonFunction]); }, - TypeError, - inspect(nonFunction) + ' is not a function' - ); - }); - - var sentinel = { sentinel: true }; - /** @type {(this: T, a: A, b: B) => [T | undefined, A, B]} */ - var func = function (a, b) { - // eslint-disable-next-line no-invalid-this - return [!hasStrictMode && this === global ? undefined : this, a, b]; - }; - t.equal(func.length, 2, 'original function length is 2'); - - /** type {(thisArg: unknown, a: number, b: number) => [unknown, number, number]} */ - var bound = callBind([func]); - /** type {((a: number, b: number) => [typeof sentinel, typeof a, typeof b])} */ - var boundR = callBind([func, sentinel]); - /** type {((b: number) => [typeof sentinel, number, typeof b])} */ - var boundArg = callBind([func, sentinel, /** @type {const} */ (1)]); - - // @ts-expect-error - t.deepEqual(bound(), [undefined, undefined, undefined], 'bound func with no args'); - - // @ts-expect-error - t.deepEqual(func(), [undefined, undefined, undefined], 'unbound func with too few args'); - // @ts-expect-error - t.deepEqual(bound(1, 2), [hasStrictMode ? 1 : Object(1), 2, undefined], 'bound func too few args'); - // @ts-expect-error - t.deepEqual(boundR(), [sentinel, undefined, undefined], 'bound func with receiver, with too few args'); - // @ts-expect-error - t.deepEqual(boundArg(), [sentinel, 1, undefined], 'bound func with receiver and arg, with too few args'); - - t.deepEqual(func(1, 2), [undefined, 1, 2], 'unbound func with right args'); - t.deepEqual(bound(1, 2, 3), [hasStrictMode ? 1 : Object(1), 2, 3], 'bound func with right args'); - t.deepEqual(boundR(1, 2), [sentinel, 1, 2], 'bound func with receiver, with right args'); - t.deepEqual(boundArg(2), [sentinel, 1, 2], 'bound func with receiver and arg, with right arg'); - - // @ts-expect-error - t.deepEqual(func(1, 2, 3), [undefined, 1, 2], 'unbound func with too many args'); - // @ts-expect-error - t.deepEqual(bound(1, 2, 3, 4), [hasStrictMode ? 1 : Object(1), 2, 3], 'bound func with too many args'); - // @ts-expect-error - t.deepEqual(boundR(1, 2, 3), [sentinel, 1, 2], 'bound func with receiver, with too many args'); - // @ts-expect-error - t.deepEqual(boundArg(2, 3), [sentinel, 1, 2], 'bound func with receiver and arg, with too many args'); - - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.min.js deleted file mode 100644 index 95e3b5f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/test/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/call-bind-apply-helpers@1.0.2/test/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var callBind=require("../"),hasStrictMode=require("has-strict-mode")(),forEach=require("for-each"),inspect=require("object-inspect"),v=require("es-value-fixtures"),test=require("tape");test("callBindBasic",(function(e){forEach(v.nonFunctions,(function(i){e.throws((function(){callBind([i])}),TypeError,inspect(i)+" is not a function")}));var i={sentinel:!0},t=function(e,i){return[hasStrictMode||this!==global?this:void 0,e,i]};e.equal(t.length,2,"original function length is 2");var n=callBind([t]),o=callBind([t,i]),r=callBind([t,i,1]);e.deepEqual(n(),[void 0,void 0,void 0],"bound func with no args"),e.deepEqual(t(),[void 0,void 0,void 0],"unbound func with too few args"),e.deepEqual(n(1,2),[hasStrictMode?1:Object(1),2,void 0],"bound func too few args"),e.deepEqual(o(),[i,void 0,void 0],"bound func with receiver, with too few args"),e.deepEqual(r(),[i,1,void 0],"bound func with receiver and arg, with too few args"),e.deepEqual(t(1,2),[void 0,1,2],"unbound func with right args"),e.deepEqual(n(1,2,3),[hasStrictMode?1:Object(1),2,3],"bound func with right args"),e.deepEqual(o(1,2),[i,1,2],"bound func with receiver, with right args"),e.deepEqual(r(2),[i,1,2],"bound func with receiver and arg, with right arg"),e.deepEqual(t(1,2),[void 0,1,2],"unbound func with too many args"),e.deepEqual(n(1,2,3,4),[hasStrictMode?1:Object(1),2,3],"bound func with too many args"),e.deepEqual(o(1,2,3),[i,1,2],"bound func with receiver, with too many args"),e.deepEqual(r(2,3),[i,1,2],"bound func with receiver and arg, with too many args"),e.end()})); -//# sourceMappingURL=/sm/14486c19c17e5d16b5cdb2e6075c3cccc3bb757555b20ef7e2081a146c491670.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/tsconfig.json deleted file mode 100644 index aef9993..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/call-bind-apply-helpers/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "@ljharb/tsconfig", - "compilerOptions": { - "target": "es2021", - }, - "exclude": [ - "coverage", - ], -} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/combined-stream/License b/Lombiq.EInvoiceValidator/node_modules/combined-stream/License deleted file mode 100644 index 4804b7a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/combined-stream/License +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2011 Debuggable Limited - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/combined-stream/Readme.md b/Lombiq.EInvoiceValidator/node_modules/combined-stream/Readme.md deleted file mode 100644 index 9e367b5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/combined-stream/Readme.md +++ /dev/null @@ -1,138 +0,0 @@ -# combined-stream - -A stream that emits multiple other streams one after another. - -**NB** Currently `combined-stream` works with streams version 1 only. There is ongoing effort to switch this library to streams version 2. Any help is welcome. :) Meanwhile you can explore other libraries that provide streams2 support with more or less compatibility with `combined-stream`. - -- [combined-stream2](https://www.npmjs.com/package/combined-stream2): A drop-in streams2-compatible replacement for the combined-stream module. - -- [multistream](https://www.npmjs.com/package/multistream): A stream that emits multiple other streams one after another. - -## Installation - -``` bash -npm install combined-stream -``` - -## Usage - -Here is a simple example that shows how you can use combined-stream to combine -two files into one: - -``` javascript -var CombinedStream = require('combined-stream'); -var fs = require('fs'); - -var combinedStream = CombinedStream.create(); -combinedStream.append(fs.createReadStream('file1.txt')); -combinedStream.append(fs.createReadStream('file2.txt')); - -combinedStream.pipe(fs.createWriteStream('combined.txt')); -``` - -While the example above works great, it will pause all source streams until -they are needed. If you don't want that to happen, you can set `pauseStreams` -to `false`: - -``` javascript -var CombinedStream = require('combined-stream'); -var fs = require('fs'); - -var combinedStream = CombinedStream.create({pauseStreams: false}); -combinedStream.append(fs.createReadStream('file1.txt')); -combinedStream.append(fs.createReadStream('file2.txt')); - -combinedStream.pipe(fs.createWriteStream('combined.txt')); -``` - -However, what if you don't have all the source streams yet, or you don't want -to allocate the resources (file descriptors, memory, etc.) for them right away? -Well, in that case you can simply provide a callback that supplies the stream -by calling a `next()` function: - -``` javascript -var CombinedStream = require('combined-stream'); -var fs = require('fs'); - -var combinedStream = CombinedStream.create(); -combinedStream.append(function(next) { - next(fs.createReadStream('file1.txt')); -}); -combinedStream.append(function(next) { - next(fs.createReadStream('file2.txt')); -}); - -combinedStream.pipe(fs.createWriteStream('combined.txt')); -``` - -## API - -### CombinedStream.create([options]) - -Returns a new combined stream object. Available options are: - -* `maxDataSize` -* `pauseStreams` - -The effect of those options is described below. - -### combinedStream.pauseStreams = `true` - -Whether to apply back pressure to the underlaying streams. If set to `false`, -the underlaying streams will never be paused. If set to `true`, the -underlaying streams will be paused right after being appended, as well as when -`delayedStream.pipe()` wants to throttle. - -### combinedStream.maxDataSize = `2 * 1024 * 1024` - -The maximum amount of bytes (or characters) to buffer for all source streams. -If this value is exceeded, `combinedStream` emits an `'error'` event. - -### combinedStream.dataSize = `0` - -The amount of bytes (or characters) currently buffered by `combinedStream`. - -### combinedStream.append(stream) - -Appends the given `stream` to the combinedStream object. If `pauseStreams` is -set to `true, this stream will also be paused right away. - -`streams` can also be a function that takes one parameter called `next`. `next` -is a function that must be invoked in order to provide the `next` stream, see -example above. - -Regardless of how the `stream` is appended, combined-stream always attaches an -`'error'` listener to it, so you don't have to do that manually. - -Special case: `stream` can also be a String or Buffer. - -### combinedStream.write(data) - -You should not call this, `combinedStream` takes care of piping the appended -streams into itself for you. - -### combinedStream.resume() - -Causes `combinedStream` to start drain the streams it manages. The function is -idempotent, and also emits a `'resume'` event each time which usually goes to -the stream that is currently being drained. - -### combinedStream.pause(); - -If `combinedStream.pauseStreams` is set to `false`, this does nothing. -Otherwise a `'pause'` event is emitted, this goes to the stream that is -currently being drained, so you can use it to apply back pressure. - -### combinedStream.end(); - -Sets `combinedStream.writable` to false, emits an `'end'` event, and removes -all streams from the queue. - -### combinedStream.destroy(); - -Same as `combinedStream.end()`, except it emits a `'close'` event instead of -`'end'`. - -## License - -combined-stream is licensed under the MIT license. diff --git a/Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.js b/Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.js deleted file mode 100644 index 125f097..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.js +++ /dev/null @@ -1,208 +0,0 @@ -var util = require('util'); -var Stream = require('stream').Stream; -var DelayedStream = require('delayed-stream'); - -module.exports = CombinedStream; -function CombinedStream() { - this.writable = false; - this.readable = true; - this.dataSize = 0; - this.maxDataSize = 2 * 1024 * 1024; - this.pauseStreams = true; - - this._released = false; - this._streams = []; - this._currentStream = null; - this._insideLoop = false; - this._pendingNext = false; -} -util.inherits(CombinedStream, Stream); - -CombinedStream.create = function(options) { - var combinedStream = new this(); - - options = options || {}; - for (var option in options) { - combinedStream[option] = options[option]; - } - - return combinedStream; -}; - -CombinedStream.isStreamLike = function(stream) { - return (typeof stream !== 'function') - && (typeof stream !== 'string') - && (typeof stream !== 'boolean') - && (typeof stream !== 'number') - && (!Buffer.isBuffer(stream)); -}; - -CombinedStream.prototype.append = function(stream) { - var isStreamLike = CombinedStream.isStreamLike(stream); - - if (isStreamLike) { - if (!(stream instanceof DelayedStream)) { - var newStream = DelayedStream.create(stream, { - maxDataSize: Infinity, - pauseStream: this.pauseStreams, - }); - stream.on('data', this._checkDataSize.bind(this)); - stream = newStream; - } - - this._handleErrors(stream); - - if (this.pauseStreams) { - stream.pause(); - } - } - - this._streams.push(stream); - return this; -}; - -CombinedStream.prototype.pipe = function(dest, options) { - Stream.prototype.pipe.call(this, dest, options); - this.resume(); - return dest; -}; - -CombinedStream.prototype._getNext = function() { - this._currentStream = null; - - if (this._insideLoop) { - this._pendingNext = true; - return; // defer call - } - - this._insideLoop = true; - try { - do { - this._pendingNext = false; - this._realGetNext(); - } while (this._pendingNext); - } finally { - this._insideLoop = false; - } -}; - -CombinedStream.prototype._realGetNext = function() { - var stream = this._streams.shift(); - - - if (typeof stream == 'undefined') { - this.end(); - return; - } - - if (typeof stream !== 'function') { - this._pipeNext(stream); - return; - } - - var getStream = stream; - getStream(function(stream) { - var isStreamLike = CombinedStream.isStreamLike(stream); - if (isStreamLike) { - stream.on('data', this._checkDataSize.bind(this)); - this._handleErrors(stream); - } - - this._pipeNext(stream); - }.bind(this)); -}; - -CombinedStream.prototype._pipeNext = function(stream) { - this._currentStream = stream; - - var isStreamLike = CombinedStream.isStreamLike(stream); - if (isStreamLike) { - stream.on('end', this._getNext.bind(this)); - stream.pipe(this, {end: false}); - return; - } - - var value = stream; - this.write(value); - this._getNext(); -}; - -CombinedStream.prototype._handleErrors = function(stream) { - var self = this; - stream.on('error', function(err) { - self._emitError(err); - }); -}; - -CombinedStream.prototype.write = function(data) { - this.emit('data', data); -}; - -CombinedStream.prototype.pause = function() { - if (!this.pauseStreams) { - return; - } - - if(this.pauseStreams && this._currentStream && typeof(this._currentStream.pause) == 'function') this._currentStream.pause(); - this.emit('pause'); -}; - -CombinedStream.prototype.resume = function() { - if (!this._released) { - this._released = true; - this.writable = true; - this._getNext(); - } - - if(this.pauseStreams && this._currentStream && typeof(this._currentStream.resume) == 'function') this._currentStream.resume(); - this.emit('resume'); -}; - -CombinedStream.prototype.end = function() { - this._reset(); - this.emit('end'); -}; - -CombinedStream.prototype.destroy = function() { - this._reset(); - this.emit('close'); -}; - -CombinedStream.prototype._reset = function() { - this.writable = false; - this._streams = []; - this._currentStream = null; -}; - -CombinedStream.prototype._checkDataSize = function() { - this._updateDataSize(); - if (this.dataSize <= this.maxDataSize) { - return; - } - - var message = - 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.'; - this._emitError(new Error(message)); -}; - -CombinedStream.prototype._updateDataSize = function() { - this.dataSize = 0; - - var self = this; - this._streams.forEach(function(stream) { - if (!stream.dataSize) { - return; - } - - self.dataSize += stream.dataSize; - }); - - if (this._currentStream && this._currentStream.dataSize) { - this.dataSize += this._currentStream.dataSize; - } -}; - -CombinedStream.prototype._emitError = function(err) { - this._reset(); - this.emit('error', err); -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.min.js b/Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.min.js deleted file mode 100644 index 5daa7ce..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/combined-stream/lib/combined_stream.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/combined-stream@1.0.8/lib/combined_stream.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var util=require("util"),Stream=require("stream").Stream,DelayedStream=require("delayed-stream");function CombinedStream(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}module.exports=CombinedStream,util.inherits(CombinedStream,Stream),CombinedStream.create=function(t){var e=new this;for(var i in t=t||{})e[i]=t[i];return e},CombinedStream.isStreamLike=function(t){return"function"!=typeof t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t&&!Buffer.isBuffer(t)},CombinedStream.prototype.append=function(t){if(CombinedStream.isStreamLike(t)){if(!(t instanceof DelayedStream)){var e=DelayedStream.create(t,{maxDataSize:1/0,pauseStream:this.pauseStreams});t.on("data",this._checkDataSize.bind(this)),t=e}this._handleErrors(t),this.pauseStreams&&t.pause()}return this._streams.push(t),this},CombinedStream.prototype.pipe=function(t,e){return Stream.prototype.pipe.call(this,t,e),this.resume(),t},CombinedStream.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},CombinedStream.prototype._realGetNext=function(){var t=this._streams.shift();void 0!==t?"function"==typeof t?t(function(t){CombinedStream.isStreamLike(t)&&(t.on("data",this._checkDataSize.bind(this)),this._handleErrors(t)),this._pipeNext(t)}.bind(this)):this._pipeNext(t):this.end()},CombinedStream.prototype._pipeNext=function(t){if(this._currentStream=t,CombinedStream.isStreamLike(t))return t.on("end",this._getNext.bind(this)),void t.pipe(this,{end:!1});var e=t;this.write(e),this._getNext()},CombinedStream.prototype._handleErrors=function(t){var e=this;t.on("error",(function(t){e._emitError(t)}))},CombinedStream.prototype.write=function(t){this.emit("data",t)},CombinedStream.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},CombinedStream.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},CombinedStream.prototype.end=function(){this._reset(),this.emit("end")},CombinedStream.prototype.destroy=function(){this._reset(),this.emit("close")},CombinedStream.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},CombinedStream.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t))}},CombinedStream.prototype._updateDataSize=function(){this.dataSize=0;var t=this;this._streams.forEach((function(e){e.dataSize&&(t.dataSize+=e.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},CombinedStream.prototype._emitError=function(t){this._reset(),this.emit("error",t)}; -//# sourceMappingURL=/sm/b7376cffb887ea0ae2eecc83809b5ca5bf5199a44567343fcd5213bd5bc3dcd2.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/combined-stream/package.json b/Lombiq.EInvoiceValidator/node_modules/combined-stream/package.json deleted file mode 100644 index 6982b6d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/combined-stream/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "author": "Felix Geisendörfer (http://debuggable.com/)", - "name": "combined-stream", - "description": "A stream that emits multiple other streams one after another.", - "version": "1.0.8", - "homepage": "https://github.com/felixge/node-combined-stream", - "repository": { - "type": "git", - "url": "git://github.com/felixge/node-combined-stream.git" - }, - "main": "./lib/combined_stream", - "scripts": { - "test": "node test/run.js" - }, - "engines": { - "node": ">= 0.8" - }, - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "devDependencies": { - "far": "~0.0.7" - }, - "license": "MIT" -} diff --git a/Lombiq.EInvoiceValidator/node_modules/combined-stream/yarn.lock b/Lombiq.EInvoiceValidator/node_modules/combined-stream/yarn.lock deleted file mode 100644 index 7edf418..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/combined-stream/yarn.lock +++ /dev/null @@ -1,17 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - -far@~0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/far/-/far-0.0.7.tgz#01c1fd362bcd26ce9cf161af3938aa34619f79a7" - dependencies: - oop "0.0.3" - -oop@0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/oop/-/oop-0.0.3.tgz#70fa405a5650891a194fdc82ca68dad6dabf4401" diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/LICENSE b/Lombiq.EInvoiceValidator/node_modules/debug/LICENSE deleted file mode 100644 index 1a9820e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/debug/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -(The MIT License) - -Copyright (c) 2014-2017 TJ Holowaychuk -Copyright (c) 2018-2021 Josh Junon - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software -and associated documentation files (the 'Software'), to deal in the Software without restriction, -including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial -portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT -LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/README.md b/Lombiq.EInvoiceValidator/node_modules/debug/README.md deleted file mode 100644 index 9ebdfbf..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/debug/README.md +++ /dev/null @@ -1,481 +0,0 @@ -# debug -[![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers) -[![OpenCollective](https://opencollective.com/debug/sponsors/badge.svg)](#sponsors) - - - -A tiny JavaScript debugging utility modelled after Node.js core's debugging -technique. Works in Node.js and web browsers. - -## Installation - -```bash -$ npm install debug -``` - -## Usage - -`debug` exposes a function; simply pass this function the name of your module, and it will return a decorated version of `console.error` for you to pass debug statements to. This will allow you to toggle the debug output for different parts of your module as well as the module as a whole. - -Example [_app.js_](./examples/node/app.js): - -```js -var debug = require('debug')('http') - , http = require('http') - , name = 'My App'; - -// fake app - -debug('booting %o', name); - -http.createServer(function(req, res){ - debug(req.method + ' ' + req.url); - res.end('hello\n'); -}).listen(3000, function(){ - debug('listening'); -}); - -// fake worker of some kind - -require('./worker'); -``` - -Example [_worker.js_](./examples/node/worker.js): - -```js -var a = require('debug')('worker:a') - , b = require('debug')('worker:b'); - -function work() { - a('doing lots of uninteresting work'); - setTimeout(work, Math.random() * 1000); -} - -work(); - -function workb() { - b('doing some work'); - setTimeout(workb, Math.random() * 2000); -} - -workb(); -``` - -The `DEBUG` environment variable is then used to enable these based on space or -comma-delimited names. - -Here are some examples: - -screen shot 2017-08-08 at 12 53 04 pm -screen shot 2017-08-08 at 12 53 38 pm -screen shot 2017-08-08 at 12 53 25 pm - -#### Windows command prompt notes - -##### CMD - -On Windows the environment variable is set using the `set` command. - -```cmd -set DEBUG=*,-not_this -``` - -Example: - -```cmd -set DEBUG=* & node app.js -``` - -##### PowerShell (VS Code default) - -PowerShell uses different syntax to set environment variables. - -```cmd -$env:DEBUG = "*,-not_this" -``` - -Example: - -```cmd -$env:DEBUG='app';node app.js -``` - -Then, run the program to be debugged as usual. - -npm script example: -```js - "windowsDebug": "@powershell -Command $env:DEBUG='*';node app.js", -``` - -## Namespace Colors - -Every debug instance has a color generated for it based on its namespace name. -This helps when visually parsing the debug output to identify which debug instance -a debug line belongs to. - -#### Node.js - -In Node.js, colors are enabled when stderr is a TTY. You also _should_ install -the [`supports-color`](https://npmjs.org/supports-color) module alongside debug, -otherwise debug will only use a small handful of basic colors. - - - -#### Web Browser - -Colors are also enabled on "Web Inspectors" that understand the `%c` formatting -option. These are WebKit web inspectors, Firefox ([since version -31](https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/)) -and the Firebug plugin for Firefox (any version). - - - - -## Millisecond diff - -When actively developing an application it can be useful to see when the time spent between one `debug()` call and the next. Suppose for example you invoke `debug()` before requesting a resource, and after as well, the "+NNNms" will show you how much time was spent between calls. - - - -When stdout is not a TTY, `Date#toISOString()` is used, making it more useful for logging the debug information as shown below: - - - - -## Conventions - -If you're using this in one or more of your libraries, you _should_ use the name of your library so that developers may toggle debugging as desired without guessing names. If you have more than one debuggers you _should_ prefix them with your library name and use ":" to separate features. For example "bodyParser" from Connect would then be "connect:bodyParser". If you append a "*" to the end of your name, it will always be enabled regardless of the setting of the DEBUG environment variable. You can then use it for normal output as well as debug output. - -## Wildcards - -The `*` character may be used as a wildcard. Suppose for example your library has -debuggers named "connect:bodyParser", "connect:compress", "connect:session", -instead of listing all three with -`DEBUG=connect:bodyParser,connect:compress,connect:session`, you may simply do -`DEBUG=connect:*`, or to run everything using this module simply use `DEBUG=*`. - -You can also exclude specific debuggers by prefixing them with a "-" character. -For example, `DEBUG=*,-connect:*` would include all debuggers except those -starting with "connect:". - -## Environment Variables - -When running through Node.js, you can set a few environment variables that will -change the behavior of the debug logging: - -| Name | Purpose | -|-----------|-------------------------------------------------| -| `DEBUG` | Enables/disables specific debugging namespaces. | -| `DEBUG_HIDE_DATE` | Hide date from debug output (non-TTY). | -| `DEBUG_COLORS`| Whether or not to use colors in the debug output. | -| `DEBUG_DEPTH` | Object inspection depth. | -| `DEBUG_SHOW_HIDDEN` | Shows hidden properties on inspected objects. | - - -__Note:__ The environment variables beginning with `DEBUG_` end up being -converted into an Options object that gets used with `%o`/`%O` formatters. -See the Node.js documentation for -[`util.inspect()`](https://nodejs.org/api/util.html#util_util_inspect_object_options) -for the complete list. - -## Formatters - -Debug uses [printf-style](https://wikipedia.org/wiki/Printf_format_string) formatting. -Below are the officially supported formatters: - -| Formatter | Representation | -|-----------|----------------| -| `%O` | Pretty-print an Object on multiple lines. | -| `%o` | Pretty-print an Object all on a single line. | -| `%s` | String. | -| `%d` | Number (both integer and float). | -| `%j` | JSON. Replaced with the string '[Circular]' if the argument contains circular references. | -| `%%` | Single percent sign ('%'). This does not consume an argument. | - - -### Custom formatters - -You can add custom formatters by extending the `debug.formatters` object. -For example, if you wanted to add support for rendering a Buffer as hex with -`%h`, you could do something like: - -```js -const createDebug = require('debug') -createDebug.formatters.h = (v) => { - return v.toString('hex') -} - -// …elsewhere -const debug = createDebug('foo') -debug('this is hex: %h', new Buffer('hello world')) -// foo this is hex: 68656c6c6f20776f726c6421 +0ms -``` - - -## Browser Support - -You can build a browser-ready script using [browserify](https://github.com/substack/node-browserify), -or just use the [browserify-as-a-service](https://wzrd.in/) [build](https://wzrd.in/standalone/debug@latest), -if you don't want to build it yourself. - -Debug's enable state is currently persisted by `localStorage`. -Consider the situation shown below where you have `worker:a` and `worker:b`, -and wish to debug both. You can enable this using `localStorage.debug`: - -```js -localStorage.debug = 'worker:*' -``` - -And then refresh the page. - -```js -a = debug('worker:a'); -b = debug('worker:b'); - -setInterval(function(){ - a('doing some work'); -}, 1000); - -setInterval(function(){ - b('doing some work'); -}, 1200); -``` - -In Chromium-based web browsers (e.g. Brave, Chrome, and Electron), the JavaScript console will—by default—only show messages logged by `debug` if the "Verbose" log level is _enabled_. - - - -## Output streams - - By default `debug` will log to stderr, however this can be configured per-namespace by overriding the `log` method: - -Example [_stdout.js_](./examples/node/stdout.js): - -```js -var debug = require('debug'); -var error = debug('app:error'); - -// by default stderr is used -error('goes to stderr!'); - -var log = debug('app:log'); -// set this namespace to log via console.log -log.log = console.log.bind(console); // don't forget to bind to console! -log('goes to stdout'); -error('still goes to stderr!'); - -// set all output to go via console.info -// overrides all per-namespace log settings -debug.log = console.info.bind(console); -error('now goes to stdout via console.info'); -log('still goes to stdout, but via console.info now'); -``` - -## Extend -You can simply extend debugger -```js -const log = require('debug')('auth'); - -//creates new debug instance with extended namespace -const logSign = log.extend('sign'); -const logLogin = log.extend('login'); - -log('hello'); // auth hello -logSign('hello'); //auth:sign hello -logLogin('hello'); //auth:login hello -``` - -## Set dynamically - -You can also enable debug dynamically by calling the `enable()` method : - -```js -let debug = require('debug'); - -console.log(1, debug.enabled('test')); - -debug.enable('test'); -console.log(2, debug.enabled('test')); - -debug.disable(); -console.log(3, debug.enabled('test')); - -``` - -print : -``` -1 false -2 true -3 false -``` - -Usage : -`enable(namespaces)` -`namespaces` can include modes separated by a colon and wildcards. - -Note that calling `enable()` completely overrides previously set DEBUG variable : - -``` -$ DEBUG=foo node -e 'var dbg = require("debug"); dbg.enable("bar"); console.log(dbg.enabled("foo"))' -=> false -``` - -`disable()` - -Will disable all namespaces. The functions returns the namespaces currently -enabled (and skipped). This can be useful if you want to disable debugging -temporarily without knowing what was enabled to begin with. - -For example: - -```js -let debug = require('debug'); -debug.enable('foo:*,-foo:bar'); -let namespaces = debug.disable(); -debug.enable(namespaces); -``` - -Note: There is no guarantee that the string will be identical to the initial -enable string, but semantically they will be identical. - -## Checking whether a debug target is enabled - -After you've created a debug instance, you can determine whether or not it is -enabled by checking the `enabled` property: - -```javascript -const debug = require('debug')('http'); - -if (debug.enabled) { - // do stuff... -} -``` - -You can also manually toggle this property to force the debug instance to be -enabled or disabled. - -## Usage in child processes - -Due to the way `debug` detects if the output is a TTY or not, colors are not shown in child processes when `stderr` is piped. A solution is to pass the `DEBUG_COLORS=1` environment variable to the child process. -For example: - -```javascript -worker = fork(WORKER_WRAP_PATH, [workerPath], { - stdio: [ - /* stdin: */ 0, - /* stdout: */ 'pipe', - /* stderr: */ 'pipe', - 'ipc', - ], - env: Object.assign({}, process.env, { - DEBUG_COLORS: 1 // without this settings, colors won't be shown - }), -}); - -worker.stderr.pipe(process.stderr, { end: false }); -``` - - -## Authors - - - TJ Holowaychuk - - Nathan Rajlich - - Andrew Rhyne - - Josh Junon - -## Backers - -Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/debug#backer)] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -## Sponsors - -Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/debug#sponsor)] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -## License - -(The MIT License) - -Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca> -Copyright (c) 2018-2021 Josh Junon - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/package.json b/Lombiq.EInvoiceValidator/node_modules/debug/package.json deleted file mode 100644 index ee8abb5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/debug/package.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "name": "debug", - "version": "4.4.3", - "repository": { - "type": "git", - "url": "git://github.com/debug-js/debug.git" - }, - "description": "Lightweight debugging utility for Node.js and the browser", - "keywords": [ - "debug", - "log", - "debugger" - ], - "files": [ - "src", - "LICENSE", - "README.md" - ], - "author": "Josh Junon (https://github.com/qix-)", - "contributors": [ - "TJ Holowaychuk ", - "Nathan Rajlich (http://n8.io)", - "Andrew Rhyne " - ], - "license": "MIT", - "scripts": { - "lint": "xo", - "test": "npm run test:node && npm run test:browser && npm run lint", - "test:node": "mocha test.js test.node.js", - "test:browser": "karma start --single-run", - "test:coverage": "cat ./coverage/lcov.info | coveralls" - }, - "dependencies": { - "ms": "^2.1.3" - }, - "devDependencies": { - "brfs": "^2.0.1", - "browserify": "^16.2.3", - "coveralls": "^3.0.2", - "karma": "^3.1.4", - "karma-browserify": "^6.0.0", - "karma-chrome-launcher": "^2.2.0", - "karma-mocha": "^1.3.0", - "mocha": "^5.2.0", - "mocha-lcov-reporter": "^1.2.0", - "sinon": "^14.0.0", - "xo": "^0.23.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - }, - "main": "./src/index.js", - "browser": "./src/browser.js", - "engines": { - "node": ">=6.0" - }, - "xo": { - "rules": { - "import/extensions": "off" - } - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/src/browser.js b/Lombiq.EInvoiceValidator/node_modules/debug/src/browser.js deleted file mode 100644 index 5993451..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/debug/src/browser.js +++ /dev/null @@ -1,272 +0,0 @@ -/* eslint-env browser */ - -/** - * This is the web browser implementation of `debug()`. - */ - -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; -exports.storage = localstorage(); -exports.destroy = (() => { - let warned = false; - - return () => { - if (!warned) { - warned = true; - console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); - } - }; -})(); - -/** - * Colors. - */ - -exports.colors = [ - '#0000CC', - '#0000FF', - '#0033CC', - '#0033FF', - '#0066CC', - '#0066FF', - '#0099CC', - '#0099FF', - '#00CC00', - '#00CC33', - '#00CC66', - '#00CC99', - '#00CCCC', - '#00CCFF', - '#3300CC', - '#3300FF', - '#3333CC', - '#3333FF', - '#3366CC', - '#3366FF', - '#3399CC', - '#3399FF', - '#33CC00', - '#33CC33', - '#33CC66', - '#33CC99', - '#33CCCC', - '#33CCFF', - '#6600CC', - '#6600FF', - '#6633CC', - '#6633FF', - '#66CC00', - '#66CC33', - '#9900CC', - '#9900FF', - '#9933CC', - '#9933FF', - '#99CC00', - '#99CC33', - '#CC0000', - '#CC0033', - '#CC0066', - '#CC0099', - '#CC00CC', - '#CC00FF', - '#CC3300', - '#CC3333', - '#CC3366', - '#CC3399', - '#CC33CC', - '#CC33FF', - '#CC6600', - '#CC6633', - '#CC9900', - '#CC9933', - '#CCCC00', - '#CCCC33', - '#FF0000', - '#FF0033', - '#FF0066', - '#FF0099', - '#FF00CC', - '#FF00FF', - '#FF3300', - '#FF3333', - '#FF3366', - '#FF3399', - '#FF33CC', - '#FF33FF', - '#FF6600', - '#FF6633', - '#FF9900', - '#FF9933', - '#FFCC00', - '#FFCC33' -]; - -/** - * Currently only WebKit-based Web Inspectors, Firefox >= v31, - * and the Firebug extension (any Firefox version) are known - * to support "%c" CSS customizations. - * - * TODO: add a `localStorage` variable to explicitly enable/disable colors - */ - -// eslint-disable-next-line complexity -function useColors() { - // NB: In an Electron preload script, document will be defined but not fully - // initialized. Since we know we're in Chrome, we'll just detect this case - // explicitly - if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { - return true; - } - - // Internet Explorer and Edge do not support colors. - if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { - return false; - } - - let m; - - // Is webkit? http://stackoverflow.com/a/16459606/376773 - // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 - // eslint-disable-next-line no-return-assign - return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || - // Is firebug? http://stackoverflow.com/a/398120/376773 - (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || - // Is firefox >= v31? - // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages - (typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31) || - // Double check webkit in userAgent just in case we are in a worker - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); -} - -/** - * Colorize log arguments if enabled. - * - * @api public - */ - -function formatArgs(args) { - args[0] = (this.useColors ? '%c' : '') + - this.namespace + - (this.useColors ? ' %c' : ' ') + - args[0] + - (this.useColors ? '%c ' : ' ') + - '+' + module.exports.humanize(this.diff); - - if (!this.useColors) { - return; - } - - const c = 'color: ' + this.color; - args.splice(1, 0, c, 'color: inherit'); - - // The final "%c" is somewhat tricky, because there could be other - // arguments passed either before or after the %c, so we need to - // figure out the correct index to insert the CSS into - let index = 0; - let lastC = 0; - args[0].replace(/%[a-zA-Z%]/g, match => { - if (match === '%%') { - return; - } - index++; - if (match === '%c') { - // We only are interested in the *last* %c - // (the user may have provided their own) - lastC = index; - } - }); - - args.splice(lastC, 0, c); -} - -/** - * Invokes `console.debug()` when available. - * No-op when `console.debug` is not a "function". - * If `console.debug` is not available, falls back - * to `console.log`. - * - * @api public - */ -exports.log = console.debug || console.log || (() => {}); - -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ -function save(namespaces) { - try { - if (namespaces) { - exports.storage.setItem('debug', namespaces); - } else { - exports.storage.removeItem('debug'); - } - } catch (error) { - // Swallow - // XXX (@Qix-) should we be logging these? - } -} - -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ -function load() { - let r; - try { - r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ; - } catch (error) { - // Swallow - // XXX (@Qix-) should we be logging these? - } - - // If debug isn't set in LS, and we're in Electron, try to load $DEBUG - if (!r && typeof process !== 'undefined' && 'env' in process) { - r = process.env.DEBUG; - } - - return r; -} - -/** - * Localstorage attempts to return the localstorage. - * - * This is necessary because safari throws - * when a user disables cookies/localstorage - * and you attempt to access it. - * - * @return {LocalStorage} - * @api private - */ - -function localstorage() { - try { - // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context - // The Browser also has localStorage in the global context. - return localStorage; - } catch (error) { - // Swallow - // XXX (@Qix-) should we be logging these? - } -} - -module.exports = require('./common')(exports); - -const {formatters} = module.exports; - -/** - * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. - */ - -formatters.j = function (v) { - try { - return JSON.stringify(v); - } catch (error) { - return '[UnexpectedJSONParseError]: ' + error.message; - } -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/src/browser.min.js b/Lombiq.EInvoiceValidator/node_modules/debug/src/browser.min.js deleted file mode 100644 index a59dfdf..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/debug/src/browser.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/debug@4.4.3/src/browser.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -function useColors(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+module.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;e.splice(1,0,o,"color: inherit");let t=0,C=0;e[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(t++,"%c"===e&&(C=t))})),e.splice(C,0,o)}function save(e){try{e?exports.storage.setItem("debug",e):exports.storage.removeItem("debug")}catch(e){}}function load(){let e;try{e=exports.storage.getItem("debug")||exports.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}function localstorage(){try{return localStorage}catch(e){}}exports.formatArgs=formatArgs,exports.save=save,exports.load=load,exports.useColors=useColors,exports.storage=localstorage(),exports.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),exports.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],exports.log=console.debug||console.log||(()=>{}),module.exports=require("./common")(exports);const{formatters:formatters}=module.exports;formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}; -//# sourceMappingURL=/sm/66243548d8e06e3f94aef131cf6cc4510f8ab7ca30757e3e334acf02de983f09.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/src/common.js b/Lombiq.EInvoiceValidator/node_modules/debug/src/common.js deleted file mode 100644 index 141cb57..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/debug/src/common.js +++ /dev/null @@ -1,292 +0,0 @@ - -/** - * This is the common logic for both the Node.js and web browser - * implementations of `debug()`. - */ - -function setup(env) { - createDebug.debug = createDebug; - createDebug.default = createDebug; - createDebug.coerce = coerce; - createDebug.disable = disable; - createDebug.enable = enable; - createDebug.enabled = enabled; - createDebug.humanize = require('ms'); - createDebug.destroy = destroy; - - Object.keys(env).forEach(key => { - createDebug[key] = env[key]; - }); - - /** - * The currently active debug mode names, and names to skip. - */ - - createDebug.names = []; - createDebug.skips = []; - - /** - * Map of special "%n" handling functions, for the debug "format" argument. - * - * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". - */ - createDebug.formatters = {}; - - /** - * Selects a color for a debug namespace - * @param {String} namespace The namespace string for the debug instance to be colored - * @return {Number|String} An ANSI color code for the given namespace - * @api private - */ - function selectColor(namespace) { - let hash = 0; - - for (let i = 0; i < namespace.length; i++) { - hash = ((hash << 5) - hash) + namespace.charCodeAt(i); - hash |= 0; // Convert to 32bit integer - } - - return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; - } - createDebug.selectColor = selectColor; - - /** - * Create a debugger with the given `namespace`. - * - * @param {String} namespace - * @return {Function} - * @api public - */ - function createDebug(namespace) { - let prevTime; - let enableOverride = null; - let namespacesCache; - let enabledCache; - - function debug(...args) { - // Disabled? - if (!debug.enabled) { - return; - } - - const self = debug; - - // Set `diff` timestamp - const curr = Number(new Date()); - const ms = curr - (prevTime || curr); - self.diff = ms; - self.prev = prevTime; - self.curr = curr; - prevTime = curr; - - args[0] = createDebug.coerce(args[0]); - - if (typeof args[0] !== 'string') { - // Anything else let's inspect with %O - args.unshift('%O'); - } - - // Apply any `formatters` transformations - let index = 0; - args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => { - // If we encounter an escaped % then don't increase the array index - if (match === '%%') { - return '%'; - } - index++; - const formatter = createDebug.formatters[format]; - if (typeof formatter === 'function') { - const val = args[index]; - match = formatter.call(self, val); - - // Now we need to remove `args[index]` since it's inlined in the `format` - args.splice(index, 1); - index--; - } - return match; - }); - - // Apply env-specific formatting (colors, etc.) - createDebug.formatArgs.call(self, args); - - const logFn = self.log || createDebug.log; - logFn.apply(self, args); - } - - debug.namespace = namespace; - debug.useColors = createDebug.useColors(); - debug.color = createDebug.selectColor(namespace); - debug.extend = extend; - debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release. - - Object.defineProperty(debug, 'enabled', { - enumerable: true, - configurable: false, - get: () => { - if (enableOverride !== null) { - return enableOverride; - } - if (namespacesCache !== createDebug.namespaces) { - namespacesCache = createDebug.namespaces; - enabledCache = createDebug.enabled(namespace); - } - - return enabledCache; - }, - set: v => { - enableOverride = v; - } - }); - - // Env-specific initialization logic for debug instances - if (typeof createDebug.init === 'function') { - createDebug.init(debug); - } - - return debug; - } - - function extend(namespace, delimiter) { - const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); - newDebug.log = this.log; - return newDebug; - } - - /** - * Enables a debug mode by namespaces. This can include modes - * separated by a colon and wildcards. - * - * @param {String} namespaces - * @api public - */ - function enable(namespaces) { - createDebug.save(namespaces); - createDebug.namespaces = namespaces; - - createDebug.names = []; - createDebug.skips = []; - - const split = (typeof namespaces === 'string' ? namespaces : '') - .trim() - .replace(/\s+/g, ',') - .split(',') - .filter(Boolean); - - for (const ns of split) { - if (ns[0] === '-') { - createDebug.skips.push(ns.slice(1)); - } else { - createDebug.names.push(ns); - } - } - } - - /** - * Checks if the given string matches a namespace template, honoring - * asterisks as wildcards. - * - * @param {String} search - * @param {String} template - * @return {Boolean} - */ - function matchesTemplate(search, template) { - let searchIndex = 0; - let templateIndex = 0; - let starIndex = -1; - let matchIndex = 0; - - while (searchIndex < search.length) { - if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) { - // Match character or proceed with wildcard - if (template[templateIndex] === '*') { - starIndex = templateIndex; - matchIndex = searchIndex; - templateIndex++; // Skip the '*' - } else { - searchIndex++; - templateIndex++; - } - } else if (starIndex !== -1) { // eslint-disable-line no-negated-condition - // Backtrack to the last '*' and try to match more characters - templateIndex = starIndex + 1; - matchIndex++; - searchIndex = matchIndex; - } else { - return false; // No match - } - } - - // Handle trailing '*' in template - while (templateIndex < template.length && template[templateIndex] === '*') { - templateIndex++; - } - - return templateIndex === template.length; - } - - /** - * Disable debug output. - * - * @return {String} namespaces - * @api public - */ - function disable() { - const namespaces = [ - ...createDebug.names, - ...createDebug.skips.map(namespace => '-' + namespace) - ].join(','); - createDebug.enable(''); - return namespaces; - } - - /** - * Returns true if the given mode name is enabled, false otherwise. - * - * @param {String} name - * @return {Boolean} - * @api public - */ - function enabled(name) { - for (const skip of createDebug.skips) { - if (matchesTemplate(name, skip)) { - return false; - } - } - - for (const ns of createDebug.names) { - if (matchesTemplate(name, ns)) { - return true; - } - } - - return false; - } - - /** - * Coerce `val`. - * - * @param {Mixed} val - * @return {Mixed} - * @api private - */ - function coerce(val) { - if (val instanceof Error) { - return val.stack || val.message; - } - return val; - } - - /** - * XXX DO NOT USE. This is a temporary stub function. - * XXX It WILL be removed in the next major release. - */ - function destroy() { - console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); - } - - createDebug.enable(createDebug.load()); - - return createDebug; -} - -module.exports = setup; diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/src/common.min.js b/Lombiq.EInvoiceValidator/node_modules/debug/src/common.min.js deleted file mode 100644 index c9cc42d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/debug/src/common.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/debug@4.4.3/src/common.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -function setup(e){function n(e){let o,r,s,l=null;function a(...e){if(!a.enabled)return;const t=a,r=Number(new Date),s=r-(o||r);t.diff=s,t.prev=o,t.curr=r,o=r,e[0]=n.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let l=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((o,r)=>{if("%%"===o)return"%";l++;const s=n.formatters[r];if("function"==typeof s){const n=e[l];o=s.call(t,n),e.splice(l,1),l--}return o})),n.formatArgs.call(t,e);(t.log||n.log).apply(t,e)}return a.namespace=e,a.useColors=n.useColors(),a.color=n.selectColor(e),a.extend=t,a.destroy=n.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==l?l:(r!==n.namespaces&&(r=n.namespaces,s=n.enabled(e)),s),set:e=>{l=e}}),"function"==typeof n.init&&n.init(a),a}function t(e,t){const o=n(this.namespace+(void 0===t?":":t)+e);return o.log=this.log,o}function o(e,n){let t=0,o=0,r=-1,s=0;for(;t"-"+e))].join(",");return n.enable(""),e},n.enable=function(e){n.save(e),n.namespaces=e,n.names=[],n.skips=[];const t=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of t)"-"===e[0]?n.skips.push(e.slice(1)):n.names.push(e)},n.enabled=function(e){for(const t of n.skips)if(o(e,t))return!1;for(const t of n.names)if(o(e,t))return!0;return!1},n.humanize=require("ms"),n.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((t=>{n[t]=e[t]})),n.names=[],n.skips=[],n.formatters={},n.selectColor=function(e){let t=0;for(let n=0;n {}, - 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.' -); - -/** - * Colors. - */ - -exports.colors = [6, 2, 3, 4, 5, 1]; - -try { - // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json) - // eslint-disable-next-line import/no-extraneous-dependencies - const supportsColor = require('supports-color'); - - if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) { - exports.colors = [ - 20, - 21, - 26, - 27, - 32, - 33, - 38, - 39, - 40, - 41, - 42, - 43, - 44, - 45, - 56, - 57, - 62, - 63, - 68, - 69, - 74, - 75, - 76, - 77, - 78, - 79, - 80, - 81, - 92, - 93, - 98, - 99, - 112, - 113, - 128, - 129, - 134, - 135, - 148, - 149, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, - 168, - 169, - 170, - 171, - 172, - 173, - 178, - 179, - 184, - 185, - 196, - 197, - 198, - 199, - 200, - 201, - 202, - 203, - 204, - 205, - 206, - 207, - 208, - 209, - 214, - 215, - 220, - 221 - ]; - } -} catch (error) { - // Swallow - we only care if `supports-color` is available; it doesn't have to be. -} - -/** - * Build up the default `inspectOpts` object from the environment variables. - * - * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js - */ - -exports.inspectOpts = Object.keys(process.env).filter(key => { - return /^debug_/i.test(key); -}).reduce((obj, key) => { - // Camel-case - const prop = key - .substring(6) - .toLowerCase() - .replace(/_([a-z])/g, (_, k) => { - return k.toUpperCase(); - }); - - // Coerce string value into JS value - let val = process.env[key]; - if (/^(yes|on|true|enabled)$/i.test(val)) { - val = true; - } else if (/^(no|off|false|disabled)$/i.test(val)) { - val = false; - } else if (val === 'null') { - val = null; - } else { - val = Number(val); - } - - obj[prop] = val; - return obj; -}, {}); - -/** - * Is stdout a TTY? Colored output is enabled when `true`. - */ - -function useColors() { - return 'colors' in exports.inspectOpts ? - Boolean(exports.inspectOpts.colors) : - tty.isatty(process.stderr.fd); -} - -/** - * Adds ANSI color escape codes if enabled. - * - * @api public - */ - -function formatArgs(args) { - const {namespace: name, useColors} = this; - - if (useColors) { - const c = this.color; - const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c); - const prefix = ` ${colorCode};1m${name} \u001B[0m`; - - args[0] = prefix + args[0].split('\n').join('\n' + prefix); - args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m'); - } else { - args[0] = getDate() + name + ' ' + args[0]; - } -} - -function getDate() { - if (exports.inspectOpts.hideDate) { - return ''; - } - return new Date().toISOString() + ' '; -} - -/** - * Invokes `util.formatWithOptions()` with the specified arguments and writes to stderr. - */ - -function log(...args) { - return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + '\n'); -} - -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ -function save(namespaces) { - if (namespaces) { - process.env.DEBUG = namespaces; - } else { - // If you set a process.env field to null or undefined, it gets cast to the - // string 'null' or 'undefined'. Just delete instead. - delete process.env.DEBUG; - } -} - -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ - -function load() { - return process.env.DEBUG; -} - -/** - * Init logic for `debug` instances. - * - * Create a new `inspectOpts` object in case `useColors` is set - * differently for a particular `debug` instance. - */ - -function init(debug) { - debug.inspectOpts = {}; - - const keys = Object.keys(exports.inspectOpts); - for (let i = 0; i < keys.length; i++) { - debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; - } -} - -module.exports = require('./common')(exports); - -const {formatters} = module.exports; - -/** - * Map %o to `util.inspect()`, all on a single line. - */ - -formatters.o = function (v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts) - .split('\n') - .map(str => str.trim()) - .join(' '); -}; - -/** - * Map %O to `util.inspect()`, allowing multiple lines if needed. - */ - -formatters.O = function (v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts); -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/debug/src/node.min.js b/Lombiq.EInvoiceValidator/node_modules/debug/src/node.min.js deleted file mode 100644 index 0033e53..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/debug/src/node.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/debug@4.4.3/src/node.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -const tty=require("tty"),util=require("util");exports.init=init,exports.log=log,exports.formatArgs=formatArgs,exports.save=save,exports.load=load,exports.useColors=useColors,exports.destroy=util.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),exports.colors=[6,2,3,4,5,1];try{const t=require("supports-color");t&&(t.stderr||t).level>=2&&(exports.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(t){}function useColors(){return"colors"in exports.inspectOpts?Boolean(exports.inspectOpts.colors):tty.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:e,useColors:s}=this;if(s){const s=this.color,o="[3"+(s<8?s:"8;5;"+s),r=` ${o};1m${e} `;t[0]=r+t[0].split("\n").join("\n"+r),t.push(o+"m+"+module.exports.humanize(this.diff)+"")}else t[0]=getDate()+e+" "+t[0]}function getDate(){return exports.inspectOpts.hideDate?"":(new Date).toISOString()+" "}function log(...t){return process.stderr.write(util.formatWithOptions(exports.inspectOpts,...t)+"\n")}function save(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function load(){return process.env.DEBUG}function init(t){t.inspectOpts={};const e=Object.keys(exports.inspectOpts);for(let s=0;s/^debug_/i.test(t))).reduce(((t,e)=>{const s=e.substring(6).toLowerCase().replace(/_([a-z])/g,((t,e)=>e.toUpperCase()));let o=process.env[e];return o=!!/^(yes|on|true|enabled)$/i.test(o)||!/^(no|off|false|disabled)$/i.test(o)&&("null"===o?null:Number(o)),t[s]=o,t}),{}),module.exports=require("./common")(exports);const{formatters:formatters}=module.exports;formatters.o=function(t){return this.inspectOpts.colors=this.useColors,util.inspect(t,this.inspectOpts).split("\n").map((t=>t.trim())).join(" ")},formatters.O=function(t){return this.inspectOpts.colors=this.useColors,util.inspect(t,this.inspectOpts)}; -//# sourceMappingURL=/sm/f0cd85d573a1f2650c3c4aa22c580ec8221fac2674892d828965c1d24fe1fe60.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/License b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/License deleted file mode 100644 index 4804b7a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/License +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2011 Debuggable Limited - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/Makefile b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/Makefile deleted file mode 100644 index b4ff85a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -SHELL := /bin/bash - -test: - @./test/run.js - -.PHONY: test - diff --git a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/Readme.md b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/Readme.md deleted file mode 100644 index aca36f9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/Readme.md +++ /dev/null @@ -1,141 +0,0 @@ -# delayed-stream - -Buffers events from a stream until you are ready to handle them. - -## Installation - -``` bash -npm install delayed-stream -``` - -## Usage - -The following example shows how to write a http echo server that delays its -response by 1000 ms. - -``` javascript -var DelayedStream = require('delayed-stream'); -var http = require('http'); - -http.createServer(function(req, res) { - var delayed = DelayedStream.create(req); - - setTimeout(function() { - res.writeHead(200); - delayed.pipe(res); - }, 1000); -}); -``` - -If you are not using `Stream#pipe`, you can also manually release the buffered -events by calling `delayedStream.resume()`: - -``` javascript -var delayed = DelayedStream.create(req); - -setTimeout(function() { - // Emit all buffered events and resume underlaying source - delayed.resume(); -}, 1000); -``` - -## Implementation - -In order to use this meta stream properly, here are a few things you should -know about the implementation. - -### Event Buffering / Proxying - -All events of the `source` stream are hijacked by overwriting the `source.emit` -method. Until node implements a catch-all event listener, this is the only way. - -However, delayed-stream still continues to emit all events it captures on the -`source`, regardless of whether you have released the delayed stream yet or -not. - -Upon creation, delayed-stream captures all `source` events and stores them in -an internal event buffer. Once `delayedStream.release()` is called, all -buffered events are emitted on the `delayedStream`, and the event buffer is -cleared. After that, delayed-stream merely acts as a proxy for the underlaying -source. - -### Error handling - -Error events on `source` are buffered / proxied just like any other events. -However, `delayedStream.create` attaches a no-op `'error'` listener to the -`source`. This way you only have to handle errors on the `delayedStream` -object, rather than in two places. - -### Buffer limits - -delayed-stream provides a `maxDataSize` property that can be used to limit -the amount of data being buffered. In order to protect you from bad `source` -streams that don't react to `source.pause()`, this feature is enabled by -default. - -## API - -### DelayedStream.create(source, [options]) - -Returns a new `delayedStream`. Available options are: - -* `pauseStream` -* `maxDataSize` - -The description for those properties can be found below. - -### delayedStream.source - -The `source` stream managed by this object. This is useful if you are -passing your `delayedStream` around, and you still want to access properties -on the `source` object. - -### delayedStream.pauseStream = true - -Whether to pause the underlaying `source` when calling -`DelayedStream.create()`. Modifying this property afterwards has no effect. - -### delayedStream.maxDataSize = 1024 * 1024 - -The amount of data to buffer before emitting an `error`. - -If the underlaying source is emitting `Buffer` objects, the `maxDataSize` -refers to bytes. - -If the underlaying source is emitting JavaScript strings, the size refers to -characters. - -If you know what you are doing, you can set this property to `Infinity` to -disable this feature. You can also modify this property during runtime. - -### delayedStream.dataSize = 0 - -The amount of data buffered so far. - -### delayedStream.readable - -An ECMA5 getter that returns the value of `source.readable`. - -### delayedStream.resume() - -If the `delayedStream` has not been released so far, `delayedStream.release()` -is called. - -In either case, `source.resume()` is called. - -### delayedStream.pause() - -Calls `source.pause()`. - -### delayedStream.pipe(dest) - -Calls `delayedStream.resume()` and then proxies the arguments to `source.pipe`. - -### delayedStream.release() - -Emits and clears all events that have been buffered up so far. This does not -resume the underlaying source, use `delayedStream.resume()` instead. - -## License - -delayed-stream is licensed under the MIT license. diff --git a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.js b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.js deleted file mode 100644 index b38fc85..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.js +++ /dev/null @@ -1,107 +0,0 @@ -var Stream = require('stream').Stream; -var util = require('util'); - -module.exports = DelayedStream; -function DelayedStream() { - this.source = null; - this.dataSize = 0; - this.maxDataSize = 1024 * 1024; - this.pauseStream = true; - - this._maxDataSizeExceeded = false; - this._released = false; - this._bufferedEvents = []; -} -util.inherits(DelayedStream, Stream); - -DelayedStream.create = function(source, options) { - var delayedStream = new this(); - - options = options || {}; - for (var option in options) { - delayedStream[option] = options[option]; - } - - delayedStream.source = source; - - var realEmit = source.emit; - source.emit = function() { - delayedStream._handleEmit(arguments); - return realEmit.apply(source, arguments); - }; - - source.on('error', function() {}); - if (delayedStream.pauseStream) { - source.pause(); - } - - return delayedStream; -}; - -Object.defineProperty(DelayedStream.prototype, 'readable', { - configurable: true, - enumerable: true, - get: function() { - return this.source.readable; - } -}); - -DelayedStream.prototype.setEncoding = function() { - return this.source.setEncoding.apply(this.source, arguments); -}; - -DelayedStream.prototype.resume = function() { - if (!this._released) { - this.release(); - } - - this.source.resume(); -}; - -DelayedStream.prototype.pause = function() { - this.source.pause(); -}; - -DelayedStream.prototype.release = function() { - this._released = true; - - this._bufferedEvents.forEach(function(args) { - this.emit.apply(this, args); - }.bind(this)); - this._bufferedEvents = []; -}; - -DelayedStream.prototype.pipe = function() { - var r = Stream.prototype.pipe.apply(this, arguments); - this.resume(); - return r; -}; - -DelayedStream.prototype._handleEmit = function(args) { - if (this._released) { - this.emit.apply(this, args); - return; - } - - if (args[0] === 'data') { - this.dataSize += args[1].length; - this._checkIfMaxDataSizeExceeded(); - } - - this._bufferedEvents.push(args); -}; - -DelayedStream.prototype._checkIfMaxDataSizeExceeded = function() { - if (this._maxDataSizeExceeded) { - return; - } - - if (this.dataSize <= this.maxDataSize) { - return; - } - - this._maxDataSizeExceeded = true; - var message = - 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.' - this.emit('error', new Error(message)); -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.min.js b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.min.js deleted file mode 100644 index f271243..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/lib/delayed_stream.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/delayed-stream@1.0.0/lib/delayed_stream.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var Stream=require("stream").Stream,util=require("util");function DelayedStream(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}module.exports=DelayedStream,util.inherits(DelayedStream,Stream),DelayedStream.create=function(e,t){var a=new this;for(var r in t=t||{})a[r]=t[r];a.source=e;var i=e.emit;return e.emit=function(){return a._handleEmit(arguments),i.apply(e,arguments)},e.on("error",(function(){})),a.pauseStream&&e.pause(),a},Object.defineProperty(DelayedStream.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},DelayedStream.prototype.resume=function(){this._released||this.release(),this.source.resume()},DelayedStream.prototype.pause=function(){this.source.pause()},DelayedStream.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},DelayedStream.prototype.pipe=function(){var e=Stream.prototype.pipe.apply(this,arguments);return this.resume(),e},DelayedStream.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}; -//# sourceMappingURL=/sm/5f648fd33e401c05f73819d3256d7cd87066a8a5cc7d56665b1d3242eb0f99d4.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/package.json b/Lombiq.EInvoiceValidator/node_modules/delayed-stream/package.json deleted file mode 100644 index eea3291..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/delayed-stream/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "author": "Felix Geisendörfer (http://debuggable.com/)", - "contributors": [ - "Mike Atkins " - ], - "name": "delayed-stream", - "description": "Buffers events from a stream until you are ready to handle them.", - "license": "MIT", - "version": "1.0.0", - "homepage": "https://github.com/felixge/node-delayed-stream", - "repository": { - "type": "git", - "url": "git://github.com/felixge/node-delayed-stream.git" - }, - "main": "./lib/delayed_stream", - "engines": { - "node": ">=0.4.0" - }, - "scripts": { - "test": "make test" - }, - "dependencies": {}, - "devDependencies": { - "fake": "0.2.0", - "far": "0.0.1" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/CHANGELOG.md deleted file mode 100644 index 9b8b2f8..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/CHANGELOG.md +++ /dev/null @@ -1,24 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.0.1](https://github.com/es-shims/dunder-proto/compare/v1.0.0...v1.0.1) - 2024-12-16 - -### Commits - -- [Fix] do not crash when `--disable-proto=throw` [`6c367d9`](https://github.com/es-shims/dunder-proto/commit/6c367d919bc1604778689a297bbdbfea65752847) -- [Tests] ensure noproto tests only use the current version of dunder-proto [`b02365b`](https://github.com/es-shims/dunder-proto/commit/b02365b9cf889c4a2cac7be0c3cfc90a789af36c) -- [Dev Deps] update `@arethetypeswrong/cli`, `@types/tape` [`e3c5c3b`](https://github.com/es-shims/dunder-proto/commit/e3c5c3bd81cf8cef7dff2eca19e558f0e307f666) -- [Deps] update `call-bind-apply-helpers` [`19f1da0`](https://github.com/es-shims/dunder-proto/commit/19f1da028b8dd0d05c85bfd8f7eed2819b686450) - -## v1.0.0 - 2024-12-06 - -### Commits - -- Initial implementation, tests, readme, types [`a5b74b0`](https://github.com/es-shims/dunder-proto/commit/a5b74b0082f5270cb0905cd9a2e533cee7498373) -- Initial commit [`73fb5a3`](https://github.com/es-shims/dunder-proto/commit/73fb5a353b51ac2ab00c9fdeb0114daffd4c07a8) -- npm init [`80152dc`](https://github.com/es-shims/dunder-proto/commit/80152dc98155da4eb046d9f67a87ed96e8280a1d) -- Only apps should have lockfiles [`03e6660`](https://github.com/es-shims/dunder-proto/commit/03e6660a1d70dc401f3e217a031475ec537243dd) diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/LICENSE b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/LICENSE deleted file mode 100644 index 34995e7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2024 ECMAScript Shims - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/README.md b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/README.md deleted file mode 100644 index 44b80a2..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/README.md +++ /dev/null @@ -1,54 +0,0 @@ -# dunder-proto [![Version Badge][npm-version-svg]][package-url] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -If available, the `Object.prototype.__proto__` accessor and mutator, call-bound. - -## Getting started - -```sh -npm install --save dunder-proto -``` - -## Usage/Examples - -```js -const assert = require('assert'); -const getDunder = require('dunder-proto/get'); -const setDunder = require('dunder-proto/set'); - -const obj = {}; - -assert.equal('toString' in obj, true); -assert.equal(getDunder(obj), Object.prototype); - -setDunder(obj, null); - -assert.equal('toString' in obj, false); -assert.equal(getDunder(obj), null); -``` - -## Tests - -Clone the repo, `npm install`, and run `npm test` - -[package-url]: https://npmjs.org/package/dunder-proto -[npm-version-svg]: https://versionbadg.es/es-shims/dunder-proto.svg -[deps-svg]: https://david-dm.org/es-shims/dunder-proto.svg -[deps-url]: https://david-dm.org/es-shims/dunder-proto -[dev-deps-svg]: https://david-dm.org/es-shims/dunder-proto/dev-status.svg -[dev-deps-url]: https://david-dm.org/es-shims/dunder-proto#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/dunder-proto.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/dunder-proto.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/dunder-proto.svg -[downloads-url]: https://npm-stat.com/charts.html?package=dunder-proto -[codecov-image]: https://codecov.io/gh/es-shims/dunder-proto/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/es-shims/dunder-proto/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/dunder-proto -[actions-url]: https://github.com/es-shims/dunder-proto/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.d.ts b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.d.ts deleted file mode 100644 index c7e14d2..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare function getDunderProto(target: {}): object | null; - -declare const x: false | typeof getDunderProto; - -export = x; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.js deleted file mode 100644 index 45093df..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var callBind = require('call-bind-apply-helpers'); -var gOPD = require('gopd'); - -var hasProtoAccessor; -try { - // eslint-disable-next-line no-extra-parens, no-proto - hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype; -} catch (e) { - if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') { - throw e; - } -} - -// eslint-disable-next-line no-extra-parens -var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__')); - -var $Object = Object; -var $getPrototypeOf = $Object.getPrototypeOf; - -/** @type {import('./get')} */ -module.exports = desc && typeof desc.get === 'function' - ? callBind([desc.get]) - : typeof $getPrototypeOf === 'function' - ? /** @type {import('./get')} */ function getDunder(value) { - // eslint-disable-next-line eqeqeq - return $getPrototypeOf(value == null ? value : $Object(value)); - } - : false; diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.min.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.min.js deleted file mode 100644 index 6e31eba..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/get.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/dunder-proto@1.0.1/get.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var hasProtoAccessor,callBind=require("call-bind-apply-helpers"),gOPD=require("gopd");try{hasProtoAccessor=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var desc=!!hasProtoAccessor&&gOPD&&gOPD(Object.prototype,"__proto__"),$Object=Object,$getPrototypeOf=$Object.getPrototypeOf;module.exports=desc&&"function"==typeof desc.get?callBind([desc.get]):"function"==typeof $getPrototypeOf&&function(t){return $getPrototypeOf(null==t?t:$Object(t))}; -//# sourceMappingURL=/sm/38a53d71f27a89174aec1d006fca645d5dc9671b4b37ce562f118af69af94e38.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/package.json b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/package.json deleted file mode 100644 index 04a4036..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/package.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "name": "dunder-proto", - "version": "1.0.1", - "description": "If available, the `Object.prototype.__proto__` accessor and mutator, call-bound", - "main": false, - "exports": { - "./get": "./get.js", - "./set": "./set.js", - "./package.json": "./package.json" - }, - "sideEffects": false, - "scripts": { - "prepack": "npmignore --auto --commentLines=autogenerated", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prepublishOnly": "safe-publish-latest", - "prelint": "evalmd README.md", - "lint": "eslint --ext=.js,.mjs .", - "postlint": "tsc -p . && attw -P", - "pretest": "npm run lint", - "tests-only": "nyc tape 'test/**/*.js'", - "test": "npm run tests-only", - "posttest": "npx npm@'>= 10.2' audit --production", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/es-shims/dunder-proto.git" - }, - "author": "Jordan Harband ", - "license": "MIT", - "bugs": { - "url": "https://github.com/es-shims/dunder-proto/issues" - }, - "homepage": "https://github.com/es-shims/dunder-proto#readme", - "dependencies": { - "call-bind-apply-helpers": "^1.0.1", - "es-errors": "^1.3.0", - "gopd": "^1.2.0" - }, - "devDependencies": { - "@arethetypeswrong/cli": "^0.17.1", - "@ljharb/eslint-config": "^21.1.1", - "@ljharb/tsconfig": "^0.2.2", - "@types/tape": "^5.7.0", - "auto-changelog": "^2.5.0", - "encoding": "^0.1.13", - "eslint": "=8.8.0", - "evalmd": "^0.0.19", - "in-publish": "^2.0.1", - "npmignore": "^0.3.1", - "nyc": "^10.3.2", - "safe-publish-latest": "^2.0.0", - "tape": "^5.9.0", - "typescript": "next" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "testling": { - "files": "test/index.js" - }, - "publishConfig": { - "ignore": [ - ".github/workflows" - ] - }, - "engines": { - "node": ">= 0.4" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.d.ts b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.d.ts deleted file mode 100644 index 16bfdfe..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare function setDunderProto

(target: {}, proto: P): P; - -declare const x: false | typeof setDunderProto; - -export = x; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.js deleted file mode 100644 index 6085b6e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; - -var callBind = require('call-bind-apply-helpers'); -var gOPD = require('gopd'); -var $TypeError = require('es-errors/type'); - -/** @type {{ __proto__?: object | null }} */ -var obj = {}; -try { - obj.__proto__ = null; // eslint-disable-line no-proto -} catch (e) { - if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') { - throw e; - } -} - -var hasProtoMutator = !('toString' in obj); - -// eslint-disable-next-line no-extra-parens -var desc = gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__')); - -/** @type {import('./set')} */ -module.exports = hasProtoMutator && ( -// eslint-disable-next-line no-extra-parens - (!!desc && typeof desc.set === 'function' && /** @type {import('./set')} */ (callBind([desc.set]))) - || /** @type {import('./set')} */ function setDunder(object, proto) { - // this is node v0.10 or older, which doesn't have Object.setPrototypeOf and has undeniable __proto__ - if (object == null) { // eslint-disable-line eqeqeq - throw new $TypeError('set Object.prototype.__proto__ called on null or undefined'); - } - // eslint-disable-next-line no-proto, no-param-reassign, no-extra-parens - /** @type {{ __proto__?: object | null }} */ (object).__proto__ = proto; - return proto; - } -); diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.min.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.min.js deleted file mode 100644 index 2a16aab..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/set.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/dunder-proto@1.0.1/set.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var callBind=require("call-bind-apply-helpers"),gOPD=require("gopd"),$TypeError=require("es-errors/type"),obj={};try{obj.__proto__=null}catch(o){if(!o||"object"!=typeof o||!("code"in o)||"ERR_PROTO_ACCESS"!==o.code)throw o}var hasProtoMutator=!("toString"in obj),desc=gOPD&&gOPD(Object.prototype,"__proto__");module.exports=hasProtoMutator&&(!!desc&&"function"==typeof desc.set&&callBind([desc.set])||function(o,e){if(null==o)throw new $TypeError("set Object.prototype.__proto__ called on null or undefined");return o.__proto__=e,e}); -//# sourceMappingURL=/sm/3205813a68d50602d6b5e6e7d2ecae49dcc6c0b5669b51d8573332e267df7670.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.js deleted file mode 100644 index 253f183..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.js +++ /dev/null @@ -1,34 +0,0 @@ -'use strict'; - -var test = require('tape'); - -var getDunderProto = require('../get'); - -test('getDunderProto', { skip: !getDunderProto }, function (t) { - if (!getDunderProto) { - throw 'should never happen; this is just for type narrowing'; // eslint-disable-line no-throw-literal - } - - // @ts-expect-error - t['throws'](function () { getDunderProto(); }, TypeError, 'throws if no argument'); - // @ts-expect-error - t['throws'](function () { getDunderProto(undefined); }, TypeError, 'throws with undefined'); - // @ts-expect-error - t['throws'](function () { getDunderProto(null); }, TypeError, 'throws with null'); - - t.equal(getDunderProto({}), Object.prototype); - t.equal(getDunderProto([]), Array.prototype); - t.equal(getDunderProto(function () {}), Function.prototype); - t.equal(getDunderProto(/./g), RegExp.prototype); - t.equal(getDunderProto(42), Number.prototype); - t.equal(getDunderProto(true), Boolean.prototype); - t.equal(getDunderProto('foo'), String.prototype); - - t.end(); -}); - -test('no dunder proto', { skip: !!getDunderProto }, function (t) { - t.notOk('__proto__' in Object.prototype, 'no __proto__ in Object.prototype'); - - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.min.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.min.js deleted file mode 100644 index d52b894..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/get.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/dunder-proto@1.0.1/test/get.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var test=require("tape"),getDunderProto=require("../get");test("getDunderProto",{skip:!getDunderProto},(function(t){if(!getDunderProto)throw"should never happen; this is just for type narrowing";t.throws((function(){getDunderProto()}),TypeError,"throws if no argument"),t.throws((function(){getDunderProto(void 0)}),TypeError,"throws with undefined"),t.throws((function(){getDunderProto(null)}),TypeError,"throws with null"),t.equal(getDunderProto({}),Object.prototype),t.equal(getDunderProto([]),Array.prototype),t.equal(getDunderProto((function(){})),Function.prototype),t.equal(getDunderProto(/./g),RegExp.prototype),t.equal(getDunderProto(42),Number.prototype),t.equal(getDunderProto(!0),Boolean.prototype),t.equal(getDunderProto("foo"),String.prototype),t.end()})),test("no dunder proto",{skip:!!getDunderProto},(function(t){t.notOk("__proto__"in Object.prototype,"no __proto__ in Object.prototype"),t.end()})); -//# sourceMappingURL=/sm/4bd5d5b0299f9426e270cc504fa123ca2f924cfef13a42d57bba410475e7b72a.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.js deleted file mode 100644 index 08ff36f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -require('./get'); -require('./set'); diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.min.js deleted file mode 100644 index 59e27bf..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/dunder-proto@1.0.1/test/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";require("./get"),require("./set"); -//# sourceMappingURL=/sm/e2b6ac265edb74c3c6efc194eac200f4bd02b803f26668d56bdfcfe7dd637f89.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.js deleted file mode 100644 index c3bfe4d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -var test = require('tape'); - -var setDunderProto = require('../set'); - -test('setDunderProto', { skip: !setDunderProto }, function (t) { - if (!setDunderProto) { - throw 'should never happen; this is just for type narrowing'; // eslint-disable-line no-throw-literal - } - - // @ts-expect-error - t['throws'](function () { setDunderProto(); }, TypeError, 'throws if no arguments'); - // @ts-expect-error - t['throws'](function () { setDunderProto(undefined); }, TypeError, 'throws with undefined and nothing'); - // @ts-expect-error - t['throws'](function () { setDunderProto(undefined, undefined); }, TypeError, 'throws with undefined and undefined'); - // @ts-expect-error - t['throws'](function () { setDunderProto(null); }, TypeError, 'throws with null and undefined'); - // @ts-expect-error - t['throws'](function () { setDunderProto(null, undefined); }, TypeError, 'throws with null and undefined'); - - /** @type {{ inherited?: boolean }} */ - var obj = {}; - t.ok('toString' in obj, 'object initially has toString'); - - setDunderProto(obj, null); - t.notOk('toString' in obj, 'object no longer has toString'); - - t.notOk('inherited' in obj, 'object lacks inherited property'); - setDunderProto(obj, { inherited: true }); - t.equal(obj.inherited, true, 'object has inherited property'); - - t.end(); -}); - -test('no dunder proto', { skip: !!setDunderProto }, function (t) { - if ('__proto__' in Object.prototype) { - t['throws']( - // @ts-expect-error - function () { ({}).__proto__ = null; }, // eslint-disable-line no-proto - Error, - 'throws when setting Object.prototype.__proto__' - ); - } else { - t.notOk('__proto__' in Object.prototype, 'no __proto__ in Object.prototype'); - } - - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.min.js b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.min.js deleted file mode 100644 index f481856..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/test/set.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/dunder-proto@1.0.1/test/set.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var test=require("tape"),setDunderProto=require("../set");test("setDunderProto",{skip:!setDunderProto},(function(t){if(!setDunderProto)throw"should never happen; this is just for type narrowing";t.throws((function(){setDunderProto()}),TypeError,"throws if no arguments"),t.throws((function(){setDunderProto(void 0)}),TypeError,"throws with undefined and nothing"),t.throws((function(){setDunderProto(void 0,void 0)}),TypeError,"throws with undefined and undefined"),t.throws((function(){setDunderProto(null)}),TypeError,"throws with null and undefined"),t.throws((function(){setDunderProto(null,void 0)}),TypeError,"throws with null and undefined");var o={};t.ok("toString"in o,"object initially has toString"),setDunderProto(o,null),t.notOk("toString"in o,"object no longer has toString"),t.notOk("inherited"in o,"object lacks inherited property"),setDunderProto(o,{inherited:!0}),t.equal(o.inherited,!0,"object has inherited property"),t.end()})),test("no dunder proto",{skip:!!setDunderProto},(function(t){"__proto__"in Object.prototype?t.throws((function(){}),Error,"throws when setting Object.prototype.__proto__"):t.notOk("__proto__"in Object.prototype,"no __proto__ in Object.prototype"),t.end()})); -//# sourceMappingURL=/sm/027cb1f41a0ae3cafdb8a85f8fb463b3294998eeb0ca948ed3e2f09897634a95.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/dunder-proto/tsconfig.json deleted file mode 100644 index dabbe23..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/dunder-proto/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "@ljharb/tsconfig", - "compilerOptions": { - "target": "ES2021", - }, - "exclude": [ - "coverage", - ], -} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/es-define-property/CHANGELOG.md deleted file mode 100644 index 5f60cc0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-define-property/CHANGELOG.md +++ /dev/null @@ -1,29 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.0.1](https://github.com/ljharb/es-define-property/compare/v1.0.0...v1.0.1) - 2024-12-06 - -### Commits - -- [types] use shared tsconfig [`954a663`](https://github.com/ljharb/es-define-property/commit/954a66360326e508a0e5daa4b07493d58f5e110e) -- [actions] split out node 10-20, and 20+ [`3a8e84b`](https://github.com/ljharb/es-define-property/commit/3a8e84b23883f26ff37b3e82ff283834228e18c6) -- [Dev Deps] update `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/get-intrinsic`, `@types/tape`, `auto-changelog`, `gopd`, `tape` [`86ae27b`](https://github.com/ljharb/es-define-property/commit/86ae27bb8cc857b23885136fad9cbe965ae36612) -- [Refactor] avoid using `get-intrinsic` [`02480c0`](https://github.com/ljharb/es-define-property/commit/02480c0353ef6118965282977c3864aff53d98b1) -- [Tests] replace `aud` with `npm audit` [`f6093ff`](https://github.com/ljharb/es-define-property/commit/f6093ff74ab51c98015c2592cd393bd42478e773) -- [Tests] configure testling [`7139e66`](https://github.com/ljharb/es-define-property/commit/7139e66959247a56086d9977359caef27c6849e7) -- [Dev Deps] update `tape` [`b901b51`](https://github.com/ljharb/es-define-property/commit/b901b511a75e001a40ce1a59fef7d9ffcfc87482) -- [Tests] fix types in tests [`469d269`](https://github.com/ljharb/es-define-property/commit/469d269fd141b1e773ec053a9fa35843493583e0) -- [Dev Deps] add missing peer dep [`733acfb`](https://github.com/ljharb/es-define-property/commit/733acfb0c4c96edf337e470b89a25a5b3724c352) - -## v1.0.0 - 2024-02-12 - -### Commits - -- Initial implementation, tests, readme, types [`3e154e1`](https://github.com/ljharb/es-define-property/commit/3e154e11a2fee09127220f5e503bf2c0a31dd480) -- Initial commit [`07d98de`](https://github.com/ljharb/es-define-property/commit/07d98de34a4dc31ff5e83a37c0c3f49e0d85cd50) -- npm init [`c4eb634`](https://github.com/ljharb/es-define-property/commit/c4eb6348b0d3886aac36cef34ad2ee0665ea6f3e) -- Only apps should have lockfiles [`7af86ec`](https://github.com/ljharb/es-define-property/commit/7af86ec1d311ec0b17fdfe616a25f64276903856) diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/LICENSE b/Lombiq.EInvoiceValidator/node_modules/es-define-property/LICENSE deleted file mode 100644 index f82f389..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-define-property/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2024 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/README.md b/Lombiq.EInvoiceValidator/node_modules/es-define-property/README.md deleted file mode 100644 index 9b291bd..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-define-property/README.md +++ /dev/null @@ -1,49 +0,0 @@ -# es-define-property [![Version Badge][npm-version-svg]][package-url] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -`Object.defineProperty`, but not IE 8's broken one. - -## Example - -```js -const assert = require('assert'); - -const $defineProperty = require('es-define-property'); - -if ($defineProperty) { - assert.equal($defineProperty, Object.defineProperty); -} else if (Object.defineProperty) { - assert.equal($defineProperty, false, 'this is IE 8'); -} else { - assert.equal($defineProperty, false, 'this is an ES3 engine'); -} -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -## Security - -Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. - -[package-url]: https://npmjs.org/package/es-define-property -[npm-version-svg]: https://versionbadg.es/ljharb/es-define-property.svg -[deps-svg]: https://david-dm.org/ljharb/es-define-property.svg -[deps-url]: https://david-dm.org/ljharb/es-define-property -[dev-deps-svg]: https://david-dm.org/ljharb/es-define-property/dev-status.svg -[dev-deps-url]: https://david-dm.org/ljharb/es-define-property#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/es-define-property.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/es-define-property.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/es-define-property.svg -[downloads-url]: https://npm-stat.com/charts.html?package=es-define-property -[codecov-image]: https://codecov.io/gh/ljharb/es-define-property/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/ljharb/es-define-property/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-define-property -[actions-url]: https://github.com/ljharb/es-define-property/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.d.ts deleted file mode 100644 index 6012247..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const defineProperty: false | typeof Object.defineProperty; - -export = defineProperty; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.js b/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.js deleted file mode 100644 index e0a2925..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -/** @type {import('.')} */ -var $defineProperty = Object.defineProperty || false; -if ($defineProperty) { - try { - $defineProperty({}, 'a', { value: 1 }); - } catch (e) { - // IE 8 has a broken defineProperty - $defineProperty = false; - } -} - -module.exports = $defineProperty; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.min.js deleted file mode 100644 index 581d536..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-define-property/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.37.0. - * Original file: /npm/es-define-property@1.0.1/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var $defineProperty=Object.defineProperty||!1;if($defineProperty)try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=!1}module.exports=$defineProperty; -//# sourceMappingURL=/sm/559cae443e3a3488aec1fc26d7d703d2b449d3de6c0a2181a5de5b6c3ac9b939.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/package.json b/Lombiq.EInvoiceValidator/node_modules/es-define-property/package.json deleted file mode 100644 index fbed187..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-define-property/package.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "name": "es-define-property", - "version": "1.0.1", - "description": "`Object.defineProperty`, but not IE 8's broken one.", - "main": "index.js", - "types": "./index.d.ts", - "exports": { - ".": "./index.js", - "./package.json": "./package.json" - }, - "sideEffects": false, - "scripts": { - "prepack": "npmignore --auto --commentLines=autogenerated", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prepublishOnly": "safe-publish-latest", - "prelint": "evalmd README.md", - "lint": "eslint --ext=js,mjs .", - "postlint": "tsc -p .", - "pretest": "npm run lint", - "tests-only": "nyc tape 'test/**/*.js'", - "test": "npm run tests-only", - "posttest": "npx npm@'>= 10.2' audit --production", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/ljharb/es-define-property.git" - }, - "keywords": [ - "javascript", - "ecmascript", - "object", - "define", - "property", - "defineProperty", - "Object.defineProperty" - ], - "author": "Jordan Harband ", - "license": "MIT", - "bugs": { - "url": "https://github.com/ljharb/es-define-property/issues" - }, - "homepage": "https://github.com/ljharb/es-define-property#readme", - "devDependencies": { - "@ljharb/eslint-config": "^21.1.1", - "@ljharb/tsconfig": "^0.2.2", - "@types/gopd": "^1.0.3", - "@types/tape": "^5.6.5", - "auto-changelog": "^2.5.0", - "encoding": "^0.1.13", - "eslint": "^8.8.0", - "evalmd": "^0.0.19", - "gopd": "^1.2.0", - "in-publish": "^2.0.1", - "npmignore": "^0.3.1", - "nyc": "^10.3.2", - "safe-publish-latest": "^2.0.0", - "tape": "^5.9.0", - "typescript": "next" - }, - "engines": { - "node": ">= 0.4" - }, - "testling": { - "files": "test/index.js" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "publishConfig": { - "ignore": [ - ".github/workflows" - ] - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.js b/Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.js deleted file mode 100644 index b4b4688..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.js +++ /dev/null @@ -1,56 +0,0 @@ -'use strict'; - -var $defineProperty = require('../'); - -var test = require('tape'); -var gOPD = require('gopd'); - -test('defineProperty: supported', { skip: !$defineProperty }, function (t) { - t.plan(4); - - t.equal(typeof $defineProperty, 'function', 'defineProperty is supported'); - if ($defineProperty && gOPD) { // this `if` check is just to shut TS up - /** @type {{ a: number, b?: number, c?: number }} */ - var o = { a: 1 }; - - $defineProperty(o, 'b', { enumerable: true, value: 2 }); - t.deepEqual( - gOPD(o, 'b'), - { - configurable: false, - enumerable: true, - value: 2, - writable: false - }, - 'property descriptor is as expected' - ); - - $defineProperty(o, 'c', { enumerable: false, value: 3, writable: true }); - t.deepEqual( - gOPD(o, 'c'), - { - configurable: false, - enumerable: false, - value: 3, - writable: true - }, - 'property descriptor is as expected' - ); - } - - t.equal($defineProperty, Object.defineProperty, 'defineProperty is Object.defineProperty'); - - t.end(); -}); - -test('defineProperty: not supported', { skip: !!$defineProperty }, function (t) { - t.notOk($defineProperty, 'defineProperty is not supported'); - - t.match( - typeof $defineProperty, - /^(?:undefined|boolean)$/, - '`typeof defineProperty` is `undefined` or `boolean`' - ); - - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.min.js deleted file mode 100644 index 77a2a7e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-define-property/test/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/es-define-property@1.0.1/test/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var $defineProperty=require("../"),test=require("tape"),gOPD=require("gopd");test("defineProperty: supported",{skip:!$defineProperty},(function(e){if(e.plan(4),e.equal(typeof $defineProperty,"function","defineProperty is supported"),$defineProperty&&gOPD){var r={a:1};$defineProperty(r,"b",{enumerable:!0,value:2}),e.deepEqual(gOPD(r,"b"),{configurable:!1,enumerable:!0,value:2,writable:!1},"property descriptor is as expected"),$defineProperty(r,"c",{enumerable:!1,value:3,writable:!0}),e.deepEqual(gOPD(r,"c"),{configurable:!1,enumerable:!1,value:3,writable:!0},"property descriptor is as expected")}e.equal($defineProperty,Object.defineProperty,"defineProperty is Object.defineProperty"),e.end()})),test("defineProperty: not supported",{skip:!!$defineProperty},(function(e){e.notOk($defineProperty,"defineProperty is not supported"),e.match(typeof $defineProperty,/^(?:undefined|boolean)$/,"`typeof defineProperty` is `undefined` or `boolean`"),e.end()})); -//# sourceMappingURL=/sm/87b804736545e608462e2c76c65759a3382e0dbc5400264464f0b5d510693a15.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-define-property/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/es-define-property/tsconfig.json deleted file mode 100644 index 5a49992..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-define-property/tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "@ljharb/tsconfig", - "compilerOptions": { - "target": "es2022", - }, - "exclude": [ - "coverage", - "test/list-exports" - ], -} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/es-errors/CHANGELOG.md deleted file mode 100644 index 204a9e9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/CHANGELOG.md +++ /dev/null @@ -1,40 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.3.0](https://github.com/ljharb/es-errors/compare/v1.2.1...v1.3.0) - 2024-02-05 - -### Commits - -- [New] add `EvalError` and `URIError` [`1927627`](https://github.com/ljharb/es-errors/commit/1927627ba68cb6c829d307231376c967db53acdf) - -## [v1.2.1](https://github.com/ljharb/es-errors/compare/v1.2.0...v1.2.1) - 2024-02-04 - -### Commits - -- [Fix] add missing `exports` entry [`5bb5f28`](https://github.com/ljharb/es-errors/commit/5bb5f280f98922701109d6ebb82eea2257cecc7e) - -## [v1.2.0](https://github.com/ljharb/es-errors/compare/v1.1.0...v1.2.0) - 2024-02-04 - -### Commits - -- [New] add `ReferenceError` [`6d8cf5b`](https://github.com/ljharb/es-errors/commit/6d8cf5bbb6f3f598d02cf6f30e468ba2caa8e143) - -## [v1.1.0](https://github.com/ljharb/es-errors/compare/v1.0.0...v1.1.0) - 2024-02-04 - -### Commits - -- [New] add base Error [`2983ab6`](https://github.com/ljharb/es-errors/commit/2983ab65f7bc5441276cb021dc3aa03c78881698) - -## v1.0.0 - 2024-02-03 - -### Commits - -- Initial implementation, tests, readme, type [`8f47631`](https://github.com/ljharb/es-errors/commit/8f476317e9ad76f40ad648081829b1a1a3a1288b) -- Initial commit [`ea5d099`](https://github.com/ljharb/es-errors/commit/ea5d099ef18e550509ab9e2be000526afd81c385) -- npm init [`6f5ebf9`](https://github.com/ljharb/es-errors/commit/6f5ebf9cead474dadd72b9e63dad315820a089ae) -- Only apps should have lockfiles [`e1a0aeb`](https://github.com/ljharb/es-errors/commit/e1a0aeb7b80f5cfc56be54d6b2100e915d47def8) -- [meta] add `sideEffects` flag [`a9c7d46`](https://github.com/ljharb/es-errors/commit/a9c7d460a492f1d8a241c836bc25a322a19cc043) diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/LICENSE b/Lombiq.EInvoiceValidator/node_modules/es-errors/LICENSE deleted file mode 100644 index f82f389..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2024 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/README.md b/Lombiq.EInvoiceValidator/node_modules/es-errors/README.md deleted file mode 100644 index 8dbfacf..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/README.md +++ /dev/null @@ -1,55 +0,0 @@ -# es-errors [![Version Badge][npm-version-svg]][package-url] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -A simple cache for a few of the JS Error constructors. - -## Example - -```js -const assert = require('assert'); - -const Base = require('es-errors'); -const Eval = require('es-errors/eval'); -const Range = require('es-errors/range'); -const Ref = require('es-errors/ref'); -const Syntax = require('es-errors/syntax'); -const Type = require('es-errors/type'); -const URI = require('es-errors/uri'); - -assert.equal(Base, Error); -assert.equal(Eval, EvalError); -assert.equal(Range, RangeError); -assert.equal(Ref, ReferenceError); -assert.equal(Syntax, SyntaxError); -assert.equal(Type, TypeError); -assert.equal(URI, URIError); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -## Security - -Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. - -[package-url]: https://npmjs.org/package/es-errors -[npm-version-svg]: https://versionbadg.es/ljharb/es-errors.svg -[deps-svg]: https://david-dm.org/ljharb/es-errors.svg -[deps-url]: https://david-dm.org/ljharb/es-errors -[dev-deps-svg]: https://david-dm.org/ljharb/es-errors/dev-status.svg -[dev-deps-url]: https://david-dm.org/ljharb/es-errors#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/es-errors.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/es-errors.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/es-errors.svg -[downloads-url]: https://npm-stat.com/charts.html?package=es-errors -[codecov-image]: https://codecov.io/gh/ljharb/es-errors/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/ljharb/es-errors/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-errors -[actions-url]: https://github.com/ljharb/es-errors/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.d.ts deleted file mode 100644 index e4210e0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const EvalError: EvalErrorConstructor; - -export = EvalError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.js deleted file mode 100644 index 725ccb6..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./eval')} */ -module.exports = EvalError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.min.js deleted file mode 100644 index 27c9190..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/eval.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/es-errors@1.3.0/eval.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=EvalError; -//# sourceMappingURL=/sm/6a69d09cb5765584eaaa5b40c1984d21d337e40784112673b4422b91a0d748a5.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-errors/index.d.ts deleted file mode 100644 index 69bdbc9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const Error: ErrorConstructor; - -export = Error; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/index.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/index.js deleted file mode 100644 index cc0c521..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/index.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('.')} */ -module.exports = Error; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/index.min.js deleted file mode 100644 index e7baefd..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.37.0. - * Original file: /npm/es-errors@1.3.0/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=Error; -//# sourceMappingURL=/sm/3e60a1d216dd20342c0b7ec0c8010a17f77cbed38c32b853c07bf4c187d9ad39.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/package.json b/Lombiq.EInvoiceValidator/node_modules/es-errors/package.json deleted file mode 100644 index ff8c2a5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/package.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "name": "es-errors", - "version": "1.3.0", - "description": "A simple cache for a few of the JS Error constructors.", - "main": "index.js", - "exports": { - ".": "./index.js", - "./eval": "./eval.js", - "./range": "./range.js", - "./ref": "./ref.js", - "./syntax": "./syntax.js", - "./type": "./type.js", - "./uri": "./uri.js", - "./package.json": "./package.json" - }, - "sideEffects": false, - "scripts": { - "prepack": "npmignore --auto --commentLines=autogenerated", - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "pretest": "npm run lint", - "test": "npm run tests-only", - "tests-only": "nyc tape 'test/**/*.js'", - "posttest": "aud --production", - "prelint": "evalmd README.md", - "lint": "eslint --ext=js,mjs .", - "postlint": "tsc -p . && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/ljharb/es-errors.git" - }, - "keywords": [ - "javascript", - "ecmascript", - "error", - "typeerror", - "syntaxerror", - "rangeerror" - ], - "author": "Jordan Harband ", - "license": "MIT", - "bugs": { - "url": "https://github.com/ljharb/es-errors/issues" - }, - "homepage": "https://github.com/ljharb/es-errors#readme", - "devDependencies": { - "@ljharb/eslint-config": "^21.1.0", - "@types/tape": "^5.6.4", - "aud": "^2.0.4", - "auto-changelog": "^2.4.0", - "eclint": "^2.8.1", - "eslint": "^8.8.0", - "evalmd": "^0.0.19", - "in-publish": "^2.0.1", - "npmignore": "^0.3.1", - "nyc": "^10.3.2", - "safe-publish-latest": "^2.0.0", - "tape": "^5.7.4", - "typescript": "next" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "publishConfig": { - "ignore": [ - ".github/workflows" - ] - }, - "engines": { - "node": ">= 0.4" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/range.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-errors/range.d.ts deleted file mode 100644 index 3a12e86..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/range.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const RangeError: RangeErrorConstructor; - -export = RangeError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/range.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/range.js deleted file mode 100644 index 2044fe0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/range.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./range')} */ -module.exports = RangeError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/range.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/range.min.js deleted file mode 100644 index 7f3aa3a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/range.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/es-errors@1.3.0/range.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=RangeError; -//# sourceMappingURL=/sm/f71778660fc239a8d8930cfe4717722de8cb5b2feb56bb5e0cc32b197b4b0ca0.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.d.ts deleted file mode 100644 index a13107e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const ReferenceError: ReferenceErrorConstructor; - -export = ReferenceError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.js deleted file mode 100644 index d7c430f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./ref')} */ -module.exports = ReferenceError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.min.js deleted file mode 100644 index 259ab05..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/ref.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/es-errors@1.3.0/ref.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=ReferenceError; -//# sourceMappingURL=/sm/6845b601e0c270758304bb99ea045d81352e8520077ffe3aca063d56ea234f0e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.d.ts deleted file mode 100644 index 6a0c53c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const SyntaxError: SyntaxErrorConstructor; - -export = SyntaxError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.js deleted file mode 100644 index 5f5fdde..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./syntax')} */ -module.exports = SyntaxError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.min.js deleted file mode 100644 index 901b4db..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/syntax.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/es-errors@1.3.0/syntax.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=SyntaxError; -//# sourceMappingURL=/sm/8a56eebe2e4dc53de37ba3ba308b52cc0846fccb3f83f1f3e9b47b2df693d401.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.js deleted file mode 100644 index 1ff0277..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var test = require('tape'); - -var E = require('../'); -var R = require('../range'); -var Ref = require('../ref'); -var S = require('../syntax'); -var T = require('../type'); - -test('errors', function (t) { - t.equal(E, Error); - t.equal(R, RangeError); - t.equal(Ref, ReferenceError); - t.equal(S, SyntaxError); - t.equal(T, TypeError); - - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.min.js deleted file mode 100644 index df8fef6..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/test/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/es-errors@1.3.0/test/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var test=require("tape"),E=require("../"),R=require("../range"),Ref=require("../ref"),S=require("../syntax"),T=require("../type");test("errors",(function(r){r.equal(E,Error),r.equal(R,RangeError),r.equal(Ref,ReferenceError),r.equal(S,SyntaxError),r.equal(T,TypeError),r.end()})); -//# sourceMappingURL=/sm/f6f3766d27a1e5bf781411e70434e32381b49e992230a84b541653525ae38af2.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/es-errors/tsconfig.json deleted file mode 100644 index 99dfeb6..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/tsconfig.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "compilerOptions": { - /* Visit https://aka.ms/tsconfig.json to read more about this file */ - - /* Projects */ - - /* Language and Environment */ - "target": "es5", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ - // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ - // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ - "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ - // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ - - /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ - // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ - // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ - // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ - // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ - // "typeRoots": ["types"], /* Specify multiple folders that act like `./node_modules/@types`. */ - "resolveJsonModule": true, /* Enable importing .json files. */ - // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */ - - /* JavaScript Support */ - "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */ - "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ - "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */ - - /* Emit */ - "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ - "declarationMap": true, /* Create sourcemaps for d.ts files. */ - "noEmit": true, /* Disable emitting files from a compilation. */ - - /* Interop Constraints */ - "allowSyntheticDefaultImports": true, /* Allow `import x from y` when a module doesn't have a default export. */ - "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */ - "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ - - /* Type Checking */ - "strict": true, /* Enable all strict type-checking options. */ - - /* Completeness */ - // "skipLibCheck": true /* Skip type checking all .d.ts files. */ - }, - "exclude": [ - "coverage", - ], -} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/type.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-errors/type.d.ts deleted file mode 100644 index 576fb51..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/type.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const TypeError: TypeErrorConstructor - -export = TypeError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/type.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/type.js deleted file mode 100644 index 9769e44..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/type.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./type')} */ -module.exports = TypeError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/type.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/type.min.js deleted file mode 100644 index 59c4829..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/type.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/es-errors@1.3.0/type.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=TypeError; -//# sourceMappingURL=/sm/34732847fec899f92cddaece1da567374a5d230f6b72f1439a6c32351a1e455d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.d.ts deleted file mode 100644 index c3261c9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const URIError: URIErrorConstructor; - -export = URIError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.js deleted file mode 100644 index e9cd1c7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./uri')} */ -module.exports = URIError; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.min.js b/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.min.js deleted file mode 100644 index bec28e0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-errors/uri.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/es-errors@1.3.0/uri.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=URIError; -//# sourceMappingURL=/sm/c0fa0b5b6fd86a955fd86aa3e2adb1b87fc6561eb24b72ac0193ae4f5f5a0463.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/CHANGELOG.md deleted file mode 100644 index 8efc7ba..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/CHANGELOG.md +++ /dev/null @@ -1,44 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.1.2](https://github.com/es-shims/es-object-atoms/compare/v1.1.1...v1.1.2) - 2026-05-22 - -### Commits - -- [Dev Deps] update `@ljharb/eslint-config`, `@ljharb/tsconfig`, `auto-changelog`, `eslint`, `npmignore` [`41e3d94`](https://github.com/es-shims/es-object-atoms/commit/41e3d94f6b49237fa490ec598e068f170c8b161e) -- [types] improve `isObject` type [`758edc2`](https://github.com/es-shims/es-object-atoms/commit/758edc2280fa6993a294a55957a43cee5951bf51) - -## [v1.1.1](https://github.com/es-shims/es-object-atoms/compare/v1.1.0...v1.1.1) - 2025-01-14 - -### Commits - -- [types] `ToObject`: improve types [`cfe8c8a`](https://github.com/es-shims/es-object-atoms/commit/cfe8c8a105c44820cb22e26f62d12ef0ad9715c8) - -## [v1.1.0](https://github.com/es-shims/es-object-atoms/compare/v1.0.1...v1.1.0) - 2025-01-14 - -### Commits - -- [New] add `isObject` [`51e4042`](https://github.com/es-shims/es-object-atoms/commit/51e4042df722eb3165f40dc5f4bf33d0197ecb07) - -## [v1.0.1](https://github.com/es-shims/es-object-atoms/compare/v1.0.0...v1.0.1) - 2025-01-13 - -### Commits - -- [Dev Deps] update `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/tape`, `auto-changelog`, `tape` [`38ab9eb`](https://github.com/es-shims/es-object-atoms/commit/38ab9eb00b62c2f4668644f5e513d9b414ebd595) -- [types] improve types [`7d1beb8`](https://github.com/es-shims/es-object-atoms/commit/7d1beb887958b78b6a728a210a1c8370ab7e2aa1) -- [Tests] replace `aud` with `npm audit` [`25863ba`](https://github.com/es-shims/es-object-atoms/commit/25863baf99178f1d1ad33d1120498db28631907e) -- [Dev Deps] add missing peer dep [`c012309`](https://github.com/es-shims/es-object-atoms/commit/c0123091287e6132d6f4240496340c427433df28) - -## v1.0.0 - 2024-03-16 - -### Commits - -- Initial implementation, tests, readme, types [`f1499db`](https://github.com/es-shims/es-object-atoms/commit/f1499db7d3e1741e64979c61d645ab3137705e82) -- Initial commit [`99eedc7`](https://github.com/es-shims/es-object-atoms/commit/99eedc7b5fde38a50a28d3c8b724706e3e4c5f6a) -- [meta] rename repo [`fc851fa`](https://github.com/es-shims/es-object-atoms/commit/fc851fa70616d2d182aaf0bd02c2ed7084dea8fa) -- npm init [`b909377`](https://github.com/es-shims/es-object-atoms/commit/b909377c50049bd0ec575562d20b0f9ebae8947f) -- Only apps should have lockfiles [`7249edd`](https://github.com/es-shims/es-object-atoms/commit/7249edd2178c1b9ddfc66ffcc6d07fdf0d28efc1) diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/LICENSE b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/LICENSE deleted file mode 100644 index f82f389..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2024 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/README.md b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/README.md deleted file mode 100644 index 447695b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/README.md +++ /dev/null @@ -1,63 +0,0 @@ -# es-object-atoms [![Version Badge][npm-version-svg]][package-url] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -ES Object-related atoms: Object, ToObject, RequireObjectCoercible. - -## Example - -```js -const assert = require('assert'); - -const $Object = require('es-object-atoms'); -const isObject = require('es-object-atoms/isObject'); -const ToObject = require('es-object-atoms/ToObject'); -const RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible'); - -assert.equal($Object, Object); -assert.throws(() => ToObject(null), TypeError); -assert.throws(() => ToObject(undefined), TypeError); -assert.throws(() => RequireObjectCoercible(null), TypeError); -assert.throws(() => RequireObjectCoercible(undefined), TypeError); - -assert.equal(isObject(undefined), false); -assert.equal(isObject(null), false); -assert.equal(isObject({}), true); -assert.equal(isObject([]), true); -assert.equal(isObject(function () {}), true); - -assert.deepEqual(RequireObjectCoercible(true), true); -assert.deepEqual(ToObject(true), Object(true)); - -const obj = {}; -assert.equal(RequireObjectCoercible(obj), obj); -assert.equal(ToObject(obj), obj); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -## Security - -Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. - -[package-url]: https://npmjs.org/package/es-object-atoms -[npm-version-svg]: https://versionbadg.es/ljharb/es-object-atoms.svg -[deps-svg]: https://david-dm.org/ljharb/es-object-atoms.svg -[deps-url]: https://david-dm.org/ljharb/es-object-atoms -[dev-deps-svg]: https://david-dm.org/ljharb/es-object-atoms/dev-status.svg -[dev-deps-url]: https://david-dm.org/ljharb/es-object-atoms#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/es-object-atoms.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/es-object-atoms.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/es-object.svg -[downloads-url]: https://npm-stat.com/charts.html?package=es-object-atoms -[codecov-image]: https://codecov.io/gh/ljharb/es-object-atoms/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/ljharb/es-object-atoms/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-object-atoms -[actions-url]: https://github.com/ljharb/es-object-atoms/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.d.ts deleted file mode 100644 index 7e26c45..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function RequireObjectCoercible(value: T, optMessage?: string): T; - -export = RequireObjectCoercible; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.js deleted file mode 100644 index 8e191c6..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var $TypeError = require('es-errors/type'); - -/** @type {import('./RequireObjectCoercible')} */ -module.exports = function RequireObjectCoercible(value) { - if (value == null) { - throw new $TypeError((arguments.length > 0 && arguments[1]) || ('Cannot call method on ' + value)); - } - return value; -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.min.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.min.js deleted file mode 100644 index 665566e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/RequireObjectCoercible.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/es-object-atoms@1.1.2/RequireObjectCoercible.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var $TypeError=require("es-errors/type");module.exports=function(r){if(null==r)throw new $TypeError(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r}; -//# sourceMappingURL=/sm/d9a8744f9ddecbf09540dea8b480ab6c9ce0d7f2769521a217fd26da342d55e3.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.d.ts deleted file mode 100644 index d6dd302..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -declare function ToObject(value: number): Number; -declare function ToObject(value: boolean): Boolean; -declare function ToObject(value: string): String; -declare function ToObject(value: bigint): BigInt; -declare function ToObject(value: T): T; - -export = ToObject; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.js deleted file mode 100644 index 2b99a7d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var $Object = require('./'); -var RequireObjectCoercible = require('./RequireObjectCoercible'); - -/** @type {import('./ToObject')} */ -module.exports = function ToObject(value) { - RequireObjectCoercible(value); - return $Object(value); -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.min.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.min.js deleted file mode 100644 index bb97a6f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/ToObject.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/es-object-atoms@1.1.2/ToObject.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var $Object=require("./"),RequireObjectCoercible=require("./RequireObjectCoercible");module.exports=function(e){return RequireObjectCoercible(e),$Object(e)}; -//# sourceMappingURL=/sm/450ea05e333477f1489139ddcbd0b2426fc9c5918c23395904345a6a34de362b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.d.ts deleted file mode 100644 index 8bdbfc8..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const Object: ObjectConstructor; - -export = Object; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.js deleted file mode 100644 index 1d33cef..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('.')} */ -module.exports = Object; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.min.js deleted file mode 100644 index d954543..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/es-object-atoms@1.1.2/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=Object; -//# sourceMappingURL=/sm/c7b123691f1d52b526bae637002f84689acadb34b590df7fe0c71ee3a4584c93.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.d.ts deleted file mode 100644 index 9490fbb..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function isObject(x: T): x is T & object & Record; - -export = isObject; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.js deleted file mode 100644 index ec49bf1..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; - -/** @type {import('./isObject')} */ -module.exports = function isObject(x) { - return !!x && (typeof x === 'function' || typeof x === 'object'); -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.min.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.min.js deleted file mode 100644 index 98d0e5e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/isObject.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/es-object-atoms@1.1.2/isObject.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=function(t){return!!t&&("function"==typeof t||"object"==typeof t)}; -//# sourceMappingURL=/sm/7c8cec207feb4284cf6048d107e88e57cffbe6ecf98499687060a6dc1ddf0b74.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/package.json b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/package.json deleted file mode 100644 index cb6bc7b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/package.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "name": "es-object-atoms", - "version": "1.1.2", - "description": "ES Object-related atoms: Object, ToObject, RequireObjectCoercible", - "main": "index.js", - "exports": { - ".": "./index.js", - "./RequireObjectCoercible": "./RequireObjectCoercible.js", - "./isObject": "./isObject.js", - "./ToObject": "./ToObject.js", - "./package.json": "./package.json" - }, - "sideEffects": false, - "scripts": { - "prepack": "npmignore --auto --commentLines=autogenerated", - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "pretest": "npm run lint", - "test": "npm run tests-only", - "tests-only": "nyc tape 'test/**/*.js'", - "posttest": "npx npm@\">= 10.2\" audit --production", - "prelint": "evalmd README.md", - "lint": "eslint --ext=js,mjs .", - "postlint": "tsc -p . && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/ljharb/es-object-atoms.git" - }, - "keywords": [ - "javascript", - "ecmascript", - "object", - "toobject", - "coercible" - ], - "author": "Jordan Harband ", - "license": "MIT", - "bugs": { - "url": "https://github.com/ljharb/es-object-atoms/issues" - }, - "homepage": "https://github.com/ljharb/es-object-atoms#readme", - "dependencies": { - "es-errors": "^1.3.0" - }, - "devDependencies": { - "@ljharb/eslint-config": "^22.2.3", - "@ljharb/tsconfig": "^0.3.2", - "@types/tape": "^5.8.1", - "auto-changelog": "^2.5.1", - "eclint": "^2.8.1", - "eslint": "^8.57.1", - "evalmd": "^0.0.19", - "in-publish": "^2.0.1", - "npmignore": "^0.3.5", - "nyc": "^10.3.2", - "safe-publish-latest": "^2.0.0", - "tape": "^5.9.0", - "typescript": "next" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "publishConfig": { - "ignore": [ - ".github/workflows" - ] - }, - "engines": { - "node": ">= 0.4" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.js deleted file mode 100644 index 430b705..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.js +++ /dev/null @@ -1,38 +0,0 @@ -'use strict'; - -var test = require('tape'); - -var $Object = require('../'); -var isObject = require('../isObject'); -var ToObject = require('../ToObject'); -var RequireObjectCoercible = require('..//RequireObjectCoercible'); - -test('errors', function (t) { - t.equal($Object, Object); - // @ts-expect-error - t['throws'](function () { ToObject(null); }, TypeError); - // @ts-expect-error - t['throws'](function () { ToObject(undefined); }, TypeError); - // @ts-expect-error - t['throws'](function () { RequireObjectCoercible(null); }, TypeError); - // @ts-expect-error - t['throws'](function () { RequireObjectCoercible(undefined); }, TypeError); - - t.deepEqual(RequireObjectCoercible(true), true); - t.deepEqual(ToObject(true), Object(true)); - t.deepEqual(ToObject(42), Object(42)); - var f = function () {}; - t.equal(ToObject(f), f); - - t.equal(isObject(undefined), false); - t.equal(isObject(null), false); - t.equal(isObject({}), true); - t.equal(isObject([]), true); - t.equal(isObject(function () {}), true); - - var obj = {}; - t.equal(RequireObjectCoercible(obj), obj); - t.equal(ToObject(obj), obj); - - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.min.js deleted file mode 100644 index ac38a11..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/test/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/es-object-atoms@1.1.2/test/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var test=require("tape"),$Object=require("../"),isObject=require("../isObject"),ToObject=require("../ToObject"),RequireObjectCoercible=require("..//RequireObjectCoercible");test("errors",function(e){e.equal($Object,Object),e.throws(function(){ToObject(null)},TypeError),e.throws(function(){ToObject(void 0)},TypeError),e.throws(function(){RequireObjectCoercible(null)},TypeError),e.throws(function(){RequireObjectCoercible(void 0)},TypeError),e.deepEqual(RequireObjectCoercible(!0),!0),e.deepEqual(ToObject(!0),Object(!0)),e.deepEqual(ToObject(42),Object(42));var r=function(){};e.equal(ToObject(r),r),e.equal(isObject(void 0),!1),e.equal(isObject(null),!1),e.equal(isObject({}),!0),e.equal(isObject([]),!0),e.equal(isObject(function(){}),!0);var t={};e.equal(RequireObjectCoercible(t),t),e.equal(ToObject(t),t),e.end()}); -//# sourceMappingURL=/sm/a40dd4e2a4d0e25319e2479f9bc28a1cdfc1c6ad2f84227e93cf0ed183fd39fb.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/tsconfig.json deleted file mode 100644 index c1ef790..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-object-atoms/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "@ljharb/tsconfig", - "compilerOptions": { - "target": "es5", - "ignoreDeprecations": "6.0", - }, -} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/CHANGELOG.md deleted file mode 100644 index 00bdc03..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/CHANGELOG.md +++ /dev/null @@ -1,67 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v2.1.0](https://github.com/es-shims/es-set-tostringtag/compare/v2.0.3...v2.1.0) - 2025-01-01 - -### Commits - -- [actions] split out node 10-20, and 20+ [`ede033c`](https://github.com/es-shims/es-set-tostringtag/commit/ede033cc4e506c3966d2d482d4ac5987e329162a) -- [types] use shared config [`28ef164`](https://github.com/es-shims/es-set-tostringtag/commit/28ef164ad7c5bc21837c79f7ef25542a1f258ade) -- [New] add `nonConfigurable` option [`3bee3f0`](https://github.com/es-shims/es-set-tostringtag/commit/3bee3f04caddd318f3932912212ed20b2d62aad7) -- [Fix] validate boolean option argument [`3c8a609`](https://github.com/es-shims/es-set-tostringtag/commit/3c8a609c795a305ccca163f0ff6956caa88cdc0e) -- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/get-intrinsic`, `@types/tape`, `auto-changelog`, `tape` [`501a969`](https://github.com/es-shims/es-set-tostringtag/commit/501a96998484226e07f5ffd447e8f305a998f1d8) -- [Tests] add coverage [`18af289`](https://github.com/es-shims/es-set-tostringtag/commit/18af2897b4e937373c9b8c8831bc338932246470) -- [readme] document `force` option [`bd446a1`](https://github.com/es-shims/es-set-tostringtag/commit/bd446a107b71a2270278442e5124f45590d3ee64) -- [Tests] use `@arethetypeswrong/cli` [`7c2c2fa`](https://github.com/es-shims/es-set-tostringtag/commit/7c2c2fa3cca0f4d263603adb75426b239514598f) -- [Tests] replace `aud` with `npm audit` [`9e372d7`](https://github.com/es-shims/es-set-tostringtag/commit/9e372d7e6db3dab405599a14d9074a99a03b8242) -- [Deps] update `get-intrinsic` [`7df1216`](https://github.com/es-shims/es-set-tostringtag/commit/7df12167295385c2a547410e687cb0c04f3a34b9) -- [Deps] update `hasown` [`993a7d2`](https://github.com/es-shims/es-set-tostringtag/commit/993a7d200e2059fd857ec1a25d0a49c2c34ae6e2) -- [Dev Deps] add missing peer dep [`148ed8d`](https://github.com/es-shims/es-set-tostringtag/commit/148ed8db99a7a94f9af3823fd083e6e437fa1587) - -## [v2.0.3](https://github.com/es-shims/es-set-tostringtag/compare/v2.0.2...v2.0.3) - 2024-02-20 - -### Commits - -- add types [`d538513`](https://github.com/es-shims/es-set-tostringtag/commit/d5385133592a32a0a416cb535327918af7fbc4ad) -- [Deps] update `get-intrinsic`, `has-tostringtag`, `hasown` [`d129b29`](https://github.com/es-shims/es-set-tostringtag/commit/d129b29536bccc8a9d03a47887ca4d1f7ad0c5b9) -- [Dev Deps] update `aud`, `npmignore`, `tape` [`132ed23`](https://github.com/es-shims/es-set-tostringtag/commit/132ed23c964a41ed55e4ab4a5a2c3fe185e821c1) -- [Tests] fix hasOwn require [`f89c831`](https://github.com/es-shims/es-set-tostringtag/commit/f89c831fe5f3edf1f979c597b56fee1be6111f56) - -## [v2.0.2](https://github.com/es-shims/es-set-tostringtag/compare/v2.0.1...v2.0.2) - 2023-10-20 - -### Commits - -- [Refactor] use `hasown` instead of `has` [`0cc6c4e`](https://github.com/es-shims/es-set-tostringtag/commit/0cc6c4e61fd13e8f00b85424ae6e541ebf289e74) -- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`70e447c`](https://github.com/es-shims/es-set-tostringtag/commit/70e447cf9f82b896ddf359fda0a0498c16cf3ed2) -- [Deps] update `get-intrinsic` [`826aab7`](https://github.com/es-shims/es-set-tostringtag/commit/826aab76180392871c8efa99acc0f0bbf775c64e) - -## [v2.0.1](https://github.com/es-shims/es-set-tostringtag/compare/v2.0.0...v2.0.1) - 2023-01-05 - -### Fixed - -- [Fix] move `has` to prod deps [`#2`](https://github.com/es-shims/es-set-tostringtag/issues/2) - -### Commits - -- [Dev Deps] update `@ljharb/eslint-config` [`b9eecd2`](https://github.com/es-shims/es-set-tostringtag/commit/b9eecd23c10b7b43ba75089ac8ff8cc6b295798b) - -## [v2.0.0](https://github.com/es-shims/es-set-tostringtag/compare/v1.0.0...v2.0.0) - 2022-12-21 - -### Commits - -- [Tests] refactor tests [`168dcfb`](https://github.com/es-shims/es-set-tostringtag/commit/168dcfbb535c279dc48ccdc89419155125aaec18) -- [Breaking] do not set toStringTag if it is already set [`226ab87`](https://github.com/es-shims/es-set-tostringtag/commit/226ab874192c625d9e5f0e599d3f60d2b2aa83b5) -- [New] add `force` option to set even if already set [`1abd4ec`](https://github.com/es-shims/es-set-tostringtag/commit/1abd4ecb282f19718c4518284b0293a343564505) - -## v1.0.0 - 2022-12-21 - -### Commits - -- Initial implementation, tests, readme [`a0e1147`](https://github.com/es-shims/es-set-tostringtag/commit/a0e11473f79a233b46374525c962ea1b4d42418a) -- Initial commit [`ffd4aff`](https://github.com/es-shims/es-set-tostringtag/commit/ffd4afffbeebf29aff0d87a7cfc3f7844e09fe68) -- npm init [`fffe5bd`](https://github.com/es-shims/es-set-tostringtag/commit/fffe5bd1d1146d084730a387a9c672371f4a8fff) -- Only apps should have lockfiles [`d363871`](https://github.com/es-shims/es-set-tostringtag/commit/d36387139465623e161a15dbd39120537f150c62) diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/LICENSE b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/LICENSE deleted file mode 100644 index c2a8460..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 ECMAScript Shims - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/README.md b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/README.md deleted file mode 100644 index c27bc9f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/README.md +++ /dev/null @@ -1,53 +0,0 @@ -# es-set-tostringtag [![Version Badge][npm-version-svg]][package-url] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -A helper to optimistically set Symbol.toStringTag, when possible. - -## Example -Most common usage: -```js -var assert = require('assert'); -var setToStringTag = require('es-set-tostringtag'); - -var obj = {}; - -assert.equal(Object.prototype.toString.call(obj), '[object Object]'); - -setToStringTag(obj, 'tagged!'); - -assert.equal(Object.prototype.toString.call(obj), '[object tagged!]'); -``` - -## Options -An optional options argument can be provided as the third argument. The available options are: - -### `force` -If the `force` option is set to `true`, the toStringTag will be set even if it is already set. - -### `nonConfigurable` -If the `nonConfigurable` option is set to `true`, the toStringTag will be defined as non-configurable when possible. - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[package-url]: https://npmjs.com/package/es-set-tostringtag -[npm-version-svg]: https://versionbadg.es/es-shims/es-set-tostringtag.svg -[deps-svg]: https://david-dm.org/es-shims/es-set-tostringtag.svg -[deps-url]: https://david-dm.org/es-shims/es-set-tostringtag -[dev-deps-svg]: https://david-dm.org/es-shims/es-set-tostringtag/dev-status.svg -[dev-deps-url]: https://david-dm.org/es-shims/es-set-tostringtag#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/es-set-tostringtag.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/es-set-tostringtag.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/es-set-tostringtag.svg -[downloads-url]: https://npm-stat.com/charts.html?package=es-set-tostringtag -[codecov-image]: https://codecov.io/gh/es-shims/es-set-tostringtag/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/es-shims/es-set-tostringtag/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/es-set-tostringtag -[actions-url]: https://github.com/es-shims/es-set-tostringtag/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.d.ts deleted file mode 100644 index c9a8fc4..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -declare function setToStringTag( - object: object & { [Symbol.toStringTag]?: unknown }, - value: string | unknown, - options?: { - force?: boolean; - nonConfigurable?: boolean; - }, -): void; - -export = setToStringTag; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.js b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.js deleted file mode 100644 index 6b6b49c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); - -var hasToStringTag = require('has-tostringtag/shams')(); -var hasOwn = require('hasown'); -var $TypeError = require('es-errors/type'); - -var toStringTag = hasToStringTag ? Symbol.toStringTag : null; - -/** @type {import('.')} */ -module.exports = function setToStringTag(object, value) { - var overrideIfSet = arguments.length > 2 && !!arguments[2] && arguments[2].force; - var nonConfigurable = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable; - if ( - (typeof overrideIfSet !== 'undefined' && typeof overrideIfSet !== 'boolean') - || (typeof nonConfigurable !== 'undefined' && typeof nonConfigurable !== 'boolean') - ) { - throw new $TypeError('if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans'); - } - if (toStringTag && (overrideIfSet || !hasOwn(object, toStringTag))) { - if ($defineProperty) { - $defineProperty(object, toStringTag, { - configurable: !nonConfigurable, - enumerable: false, - value: value, - writable: false - }); - } else { - object[toStringTag] = value; // eslint-disable-line no-param-reassign - } - } -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.min.js deleted file mode 100644 index d605ecf..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.37.0. - * Original file: /npm/es-set-tostringtag@2.1.0/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var GetIntrinsic=require("get-intrinsic"),$defineProperty=GetIntrinsic("%Object.defineProperty%",!0),hasToStringTag=require("has-tostringtag/shams")(),hasOwn=require("hasown"),$TypeError=require("es-errors/type"),toStringTag=hasToStringTag?Symbol.toStringTag:null;module.exports=function(e,r){var t=arguments.length>2&&!!arguments[2]&&arguments[2].force,o=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(void 0!==t&&"boolean"!=typeof t||void 0!==o&&"boolean"!=typeof o)throw new $TypeError("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");!toStringTag||!t&&hasOwn(e,toStringTag)||($defineProperty?$defineProperty(e,toStringTag,{configurable:!o,enumerable:!1,value:r,writable:!1}):e[toStringTag]=r)}; -//# sourceMappingURL=/sm/530014cedbe689083a2b472274f30c30005b0ddd69bd7886c4665a40bcef788c.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/package.json b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/package.json deleted file mode 100644 index 277c3e5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/package.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "name": "es-set-tostringtag", - "version": "2.1.0", - "description": "A helper to optimistically set Symbol.toStringTag, when possible.", - "main": "index.js", - "exports": { - ".": "./index.js", - "./package.json": "./package.json" - }, - "sideEffects": false, - "scripts": { - "prepack": "npmignore --auto --commentLines=autogenerated", - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prelint": "evalmd README.md", - "lint": "eslint --ext=js,mjs .", - "postlint": "tsc -p . && attw -P", - "pretest": "npm run lint", - "tests-only": "nyc tape 'test/**/*.js'", - "test": "npm run tests-only", - "posttest": "npx npm@\">= 10.2\" audit --production", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/es-shims/es-set-tostringtag.git" - }, - "author": "Jordan Harband ", - "license": "MIT", - "bugs": { - "url": "https://github.com/es-shims/es-set-tostringtag/issues" - }, - "homepage": "https://github.com/es-shims/es-set-tostringtag#readme", - "devDependencies": { - "@arethetypeswrong/cli": "^0.17.2", - "@ljharb/eslint-config": "^21.1.1", - "@ljharb/tsconfig": "^0.2.3", - "@types/get-intrinsic": "^1.2.3", - "@types/has-symbols": "^1.0.2", - "@types/tape": "^5.8.0", - "auto-changelog": "^2.5.0", - "encoding": "^0.1.13", - "eslint": "=8.8.0", - "evalmd": "^0.0.19", - "in-publish": "^2.0.1", - "npmignore": "^0.3.1", - "nyc": "^10.3.2", - "safe-publish-latest": "^2.0.0", - "tape": "^5.9.0", - "typescript": "next" - }, - "dependencies": { - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.6", - "has-tostringtag": "^1.0.2", - "hasown": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "testling": { - "files": "./test/index.js" - }, - "publishConfig": { - "ignore": [ - ".github/workflows" - ] - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.js b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.js deleted file mode 100644 index f1757b3..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.js +++ /dev/null @@ -1,85 +0,0 @@ -'use strict'; - -var test = require('tape'); -var hasToStringTag = require('has-tostringtag/shams')(); -var hasOwn = require('hasown'); - -var setToStringTag = require('../'); - -test('setToStringTag', function (t) { - t.equal(typeof setToStringTag, 'function', 'is a function'); - - /** @type {{ [Symbol.toStringTag]?: typeof sentinel }} */ - var obj = {}; - var sentinel = {}; - - setToStringTag(obj, sentinel); - - t['throws']( - // @ts-expect-error - function () { setToStringTag(obj, sentinel, { force: 'yes' }); }, - TypeError, - 'throws if options is not an object' - ); - - t.test('has Symbol.toStringTag', { skip: !hasToStringTag }, function (st) { - st.ok(hasOwn(obj, Symbol.toStringTag), 'has toStringTag property'); - - st.equal(obj[Symbol.toStringTag], sentinel, 'toStringTag property is as expected'); - - st.equal(String(obj), '[object Object]', 'toStringTag works'); - - /** @type {{ [Symbol.toStringTag]?: string }} */ - var tagged = {}; - tagged[Symbol.toStringTag] = 'already tagged'; - st.equal(String(tagged), '[object already tagged]', 'toStringTag works'); - - setToStringTag(tagged, 'new tag'); - st.equal(String(tagged), '[object already tagged]', 'toStringTag is unchanged'); - - setToStringTag(tagged, 'new tag', { force: true }); - st.equal(String(tagged), '[object new tag]', 'toStringTag is changed with force: true'); - - st.deepEqual( - Object.getOwnPropertyDescriptor(tagged, Symbol.toStringTag), - { - configurable: true, - enumerable: false, - value: 'new tag', - writable: false - }, - 'has expected property descriptor' - ); - - setToStringTag(tagged, 'new tag', { force: true, nonConfigurable: true }); - st.deepEqual( - Object.getOwnPropertyDescriptor(tagged, Symbol.toStringTag), - { - configurable: false, - enumerable: false, - value: 'new tag', - writable: false - }, - 'is nonconfigurable' - ); - - st.end(); - }); - - t.test('does not have Symbol.toStringTag', { skip: hasToStringTag }, function (st) { - var passed = true; - for (var key in obj) { // eslint-disable-line no-restricted-syntax - if (hasOwn(obj, key)) { - st.fail('object has own key ' + key); - passed = false; - } - } - if (passed) { - st.ok(true, 'object has no enumerable own keys'); - } - - st.end(); - }); - - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.min.js deleted file mode 100644 index 78ae33f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/test/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/es-set-tostringtag@2.1.0/test/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var test=require("tape"),hasToStringTag=require("has-tostringtag/shams")(),hasOwn=require("hasown"),setToStringTag=require("../");test("setToStringTag",(function(t){t.equal(typeof setToStringTag,"function","is a function");var e={},a={};setToStringTag(e,a),t.throws((function(){setToStringTag(e,a,{force:"yes"})}),TypeError,"throws if options is not an object"),t.test("has Symbol.toStringTag",{skip:!hasToStringTag},(function(t){t.ok(hasOwn(e,Symbol.toStringTag),"has toStringTag property"),t.equal(e[Symbol.toStringTag],a,"toStringTag property is as expected"),t.equal(String(e),"[object Object]","toStringTag works");var r={};r[Symbol.toStringTag]="already tagged",t.equal(String(r),"[object already tagged]","toStringTag works"),setToStringTag(r,"new tag"),t.equal(String(r),"[object already tagged]","toStringTag is unchanged"),setToStringTag(r,"new tag",{force:!0}),t.equal(String(r),"[object new tag]","toStringTag is changed with force: true"),t.deepEqual(Object.getOwnPropertyDescriptor(r,Symbol.toStringTag),{configurable:!0,enumerable:!1,value:"new tag",writable:!1},"has expected property descriptor"),setToStringTag(r,"new tag",{force:!0,nonConfigurable:!0}),t.deepEqual(Object.getOwnPropertyDescriptor(r,Symbol.toStringTag),{configurable:!1,enumerable:!1,value:"new tag",writable:!1},"is nonconfigurable"),t.end()})),t.test("does not have Symbol.toStringTag",{skip:hasToStringTag},(function(t){var a=!0;for(var r in e)hasOwn(e,r)&&(t.fail("object has own key "+r),a=!1);a&&t.ok(!0,"object has no enumerable own keys"),t.end()})),t.end()})); -//# sourceMappingURL=/sm/7dee8a4dc54cee21e070c773cc579dfc242f84b93e39d608be67b79e14aa2520.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/tsconfig.json deleted file mode 100644 index d9a6668..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/es-set-tostringtag/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "@ljharb/tsconfig", - "compilerOptions": { - "target": "es2021", - }, - "exclude": [ - "coverage", - ], -} diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/LICENSE b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/LICENSE deleted file mode 100644 index 742cbad..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/LICENSE +++ /dev/null @@ -1,18 +0,0 @@ -Copyright 2014–present Olivier Lalonde , James Talmage , Ruben Verborgh - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/README.md b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/README.md deleted file mode 100644 index fd35b9e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/README.md +++ /dev/null @@ -1,157 +0,0 @@ -## Follow Redirects - -Drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. - -[![npm version](https://img.shields.io/npm/v/follow-redirects.svg)](https://www.npmjs.com/package/follow-redirects) -[![Build Status](https://github.com/follow-redirects/follow-redirects/workflows/CI/badge.svg)](https://github.com/follow-redirects/follow-redirects/actions) -[![Coverage Status](https://coveralls.io/repos/follow-redirects/follow-redirects/badge.svg?branch=master)](https://coveralls.io/r/follow-redirects/follow-redirects?branch=master) -[![npm downloads](https://img.shields.io/npm/dm/follow-redirects.svg)](https://www.npmjs.com/package/follow-redirects) -[![Sponsor on GitHub](https://img.shields.io/static/v1?label=Sponsor&message=%F0%9F%92%96&logo=GitHub)](https://github.com/sponsors/RubenVerborgh) - -`follow-redirects` provides [request](https://nodejs.org/api/http.html#http_http_request_options_callback) and [get](https://nodejs.org/api/http.html#http_http_get_options_callback) - methods that behave identically to those found on the native [http](https://nodejs.org/api/http.html#http_http_request_options_callback) and [https](https://nodejs.org/api/https.html#https_https_request_options_callback) - modules, with the exception that they will seamlessly follow redirects. - -```javascript -const { http, https } = require('follow-redirects'); - -http.get('http://en.wikipedia.org/', response => { - response.on('data', chunk => { - console.log(chunk); - }); -}).on('error', err => { - console.error(err); -}); -``` - -You can inspect the final redirected URL through the `responseUrl` property on the `response`. -If no redirection happened, `responseUrl` is the original request URL. - -```javascript -const request = https.request({ - host: 'en.wikipedia.org', - path: '/', -}, response => { - console.log(response.responseUrl); - // 'http://duckduckgo.com/robots.txt' -}); -request.end(); -``` - -## Options -### Global options -Global options are set directly on the `follow-redirects` module: - -```javascript -const followRedirects = require('follow-redirects'); -followRedirects.maxRedirects = 10; -followRedirects.maxBodyLength = 20 * 1024 * 1024; // 20 MB -``` - -The following global options are supported: - -- `maxRedirects` (default: `21`) – sets the maximum number of allowed redirects; if exceeded, an error will be emitted. - -- `maxBodyLength` (default: 10MB) – sets the maximum size of the request body; if exceeded, an error will be emitted. - -### Per-request options -Per-request options are set by passing an `options` object: - -```javascript -const url = require('url'); -const { http, https } = require('follow-redirects'); - -const options = url.parse('http://en.wikipedia.org/'); -options.maxRedirects = 10; -options.beforeRedirect = (options, response, request) => { - // Use this to adjust the request options upon redirecting, - // to inspect the latest response headers, - // or to cancel the request by throwing an error - - // response.headers = the redirect response headers - // response.statusCode = the redirect response code (eg. 301, 307, etc.) - - // request.url = the requested URL that resulted in a redirect - // request.headers = the headers in the request that resulted in a redirect - // request.method = the method of the request that resulted in a redirect - if (options.hostname === "example.org") { - options.auth = "user:password"; - } -}; -http.request(options); -``` - -In addition to the [standard HTTP](https://nodejs.org/api/http.html#http_http_request_options_callback) and [HTTPS options](https://nodejs.org/api/https.html#https_https_request_options_callback), -the following per-request options are supported: -- `followRedirects` (default: `true`) – whether redirects should be followed. - -- `maxRedirects` (default: `21`) – sets the maximum number of allowed redirects; if exceeded, an error will be emitted. - -- `maxBodyLength` (default: 10MB) – sets the maximum size of the request body; if exceeded, an error will be emitted. - -- `beforeRedirect` (default: `undefined`) – optionally change the request `options` on redirects, or abort the request by throwing an error. - -- `agents` (default: `undefined`) – sets the `agent` option per protocol, since HTTP and HTTPS use different agents. Example value: `{ http: new http.Agent(), https: new https.Agent() }` - -- `trackRedirects` (default: `false`) – whether to store the redirected response details into the `redirects` array on the response object. - -- `sensitiveHeaders` (default: `[]`) – names of headers to omit when making redirected requests (such as `X-API-Key`, `X-Auth-Token`…) - - -### Advanced usage -By default, `follow-redirects` will use the Node.js default implementations -of [`http`](https://nodejs.org/api/http.html) -and [`https`](https://nodejs.org/api/https.html). -To enable features such as caching and/or intermediate request tracking, -you might instead want to wrap `follow-redirects` around custom protocol implementations: - -```javascript -const { http, https } = require('follow-redirects').wrap({ - http: require('your-custom-http'), - https: require('your-custom-https'), -}); -``` - -Such custom protocols only need an implementation of the `request` method. - -## Browser Usage - -Due to the way the browser works, -the `http` and `https` browser equivalents perform redirects by default. - -By requiring `follow-redirects` this way: -```javascript -const http = require('follow-redirects/http'); -const https = require('follow-redirects/https'); -``` -you can easily tell webpack and friends to replace -`follow-redirect` by the built-in versions: - -```json -{ - "follow-redirects/http" : "http", - "follow-redirects/https" : "https" -} -``` - -## Contributing - -Pull Requests are always welcome. Please [file an issue](https://github.com/follow-redirects/follow-redirects/issues) - detailing your proposal before you invest your valuable time. Additional features and bug fixes should be accompanied - by tests. You can run the test suite locally with a simple `npm test` command. - -## Debug Logging - -`follow-redirects` uses the excellent [debug](https://www.npmjs.com/package/debug) for logging. To turn on logging - set the environment variable `DEBUG=follow-redirects` for debug output from just this module. When running the test - suite it is sometimes advantageous to set `DEBUG=*` to see output from the express server as well. - -## Authors - -- [Ruben Verborgh](https://ruben.verborgh.org/) -- [Olivier Lalonde](mailto:olalonde@gmail.com) -- [James Talmage](mailto:james@talmage.io) - -## License - -[MIT License](https://github.com/follow-redirects/follow-redirects/blob/master/LICENSE) diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.js deleted file mode 100644 index decb77d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.js +++ /dev/null @@ -1,15 +0,0 @@ -var debug; - -module.exports = function () { - if (!debug) { - try { - /* eslint global-require: off */ - debug = require("debug")("follow-redirects"); - } - catch (error) { /* */ } - if (typeof debug !== "function") { - debug = function () { /* */ }; - } - } - debug.apply(null, arguments); -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.min.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.min.js deleted file mode 100644 index 70e61c0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/debug.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/follow-redirects@1.16.0/debug.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var debug;module.exports=function(){if(!debug){try{debug=require("debug")("follow-redirects")}catch(e){}"function"!=typeof debug&&(debug=function(){})}debug.apply(null,arguments)}; -//# sourceMappingURL=/sm/0a26b6eb386a5bd7c1f78520ccc33d4e3a56d8885a8f14f4d192b34d66326b4e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.js deleted file mode 100644 index 695e356..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("./").http; diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.min.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.min.js deleted file mode 100644 index 44b186f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/http.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Skipped minification because the original files appears to be already minified. - * Original file: /npm/follow-redirects@1.16.0/http.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -module.exports = require("./").http; diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.js deleted file mode 100644 index d21c921..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("./").https; diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.min.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.min.js deleted file mode 100644 index bd30e37..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/https.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Skipped minification because the original files appears to be already minified. - * Original file: /npm/follow-redirects@1.16.0/https.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -module.exports = require("./").https; diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.js deleted file mode 100644 index 3d32523..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.js +++ /dev/null @@ -1,709 +0,0 @@ -var url = require("url"); -var URL = url.URL; -var http = require("http"); -var https = require("https"); -var Writable = require("stream").Writable; -var assert = require("assert"); -var debug = require("./debug"); - -// Preventive platform detection -// istanbul ignore next -(function detectUnsupportedEnvironment() { - var looksLikeNode = typeof process !== "undefined"; - var looksLikeBrowser = typeof window !== "undefined" && typeof document !== "undefined"; - var looksLikeV8 = isFunction(Error.captureStackTrace); - if (!looksLikeNode && (looksLikeBrowser || !looksLikeV8)) { - console.warn("The follow-redirects package should be excluded from browser builds."); - } -}()); - -// Whether to use the native URL object or the legacy url module -var useNativeURL = false; -try { - assert(new URL("")); -} -catch (error) { - useNativeURL = error.code === "ERR_INVALID_URL"; -} - -// HTTP headers to drop across HTTP/HTTPS and domain boundaries -var sensitiveHeaders = [ - "Authorization", - "Proxy-Authorization", - "Cookie", -]; - -// URL fields to preserve in copy operations -var preservedUrlFields = [ - "auth", - "host", - "hostname", - "href", - "path", - "pathname", - "port", - "protocol", - "query", - "search", - "hash", -]; - -// Create handlers that pass events from native requests -var events = ["abort", "aborted", "connect", "error", "socket", "timeout"]; -var eventHandlers = Object.create(null); -events.forEach(function (event) { - eventHandlers[event] = function (arg1, arg2, arg3) { - this._redirectable.emit(event, arg1, arg2, arg3); - }; -}); - -// Error types with codes -var InvalidUrlError = createErrorType( - "ERR_INVALID_URL", - "Invalid URL", - TypeError -); -var RedirectionError = createErrorType( - "ERR_FR_REDIRECTION_FAILURE", - "Redirected request failed" -); -var TooManyRedirectsError = createErrorType( - "ERR_FR_TOO_MANY_REDIRECTS", - "Maximum number of redirects exceeded", - RedirectionError -); -var MaxBodyLengthExceededError = createErrorType( - "ERR_FR_MAX_BODY_LENGTH_EXCEEDED", - "Request body larger than maxBodyLength limit" -); -var WriteAfterEndError = createErrorType( - "ERR_STREAM_WRITE_AFTER_END", - "write after end" -); - -// istanbul ignore next -var destroy = Writable.prototype.destroy || noop; - -// An HTTP(S) request that can be redirected -function RedirectableRequest(options, responseCallback) { - // Initialize the request - Writable.call(this); - this._sanitizeOptions(options); - this._options = options; - this._ended = false; - this._ending = false; - this._redirectCount = 0; - this._redirects = []; - this._requestBodyLength = 0; - this._requestBodyBuffers = []; - - // Attach a callback if passed - if (responseCallback) { - this.on("response", responseCallback); - } - - // React to responses of native requests - var self = this; - this._onNativeResponse = function (response) { - try { - self._processResponse(response); - } - catch (cause) { - self.emit("error", cause instanceof RedirectionError ? - cause : new RedirectionError({ cause: cause })); - } - }; - - // Create filter for sensitive HTTP headers - this._headerFilter = new RegExp("^(?:" + - sensitiveHeaders.concat(options.sensitiveHeaders).map(escapeRegex).join("|") + - ")$", "i"); - - // Perform the first request - this._performRequest(); -} -RedirectableRequest.prototype = Object.create(Writable.prototype); - -RedirectableRequest.prototype.abort = function () { - destroyRequest(this._currentRequest); - this._currentRequest.abort(); - this.emit("abort"); -}; - -RedirectableRequest.prototype.destroy = function (error) { - destroyRequest(this._currentRequest, error); - destroy.call(this, error); - return this; -}; - -// Writes buffered data to the current native request -RedirectableRequest.prototype.write = function (data, encoding, callback) { - // Writing is not allowed if end has been called - if (this._ending) { - throw new WriteAfterEndError(); - } - - // Validate input and shift parameters if necessary - if (!isString(data) && !isBuffer(data)) { - throw new TypeError("data should be a string, Buffer or Uint8Array"); - } - if (isFunction(encoding)) { - callback = encoding; - encoding = null; - } - - // Ignore empty buffers, since writing them doesn't invoke the callback - // https://github.com/nodejs/node/issues/22066 - if (data.length === 0) { - if (callback) { - callback(); - } - return; - } - // Only write when we don't exceed the maximum body length - if (this._requestBodyLength + data.length <= this._options.maxBodyLength) { - this._requestBodyLength += data.length; - this._requestBodyBuffers.push({ data: data, encoding: encoding }); - this._currentRequest.write(data, encoding, callback); - } - // Error when we exceed the maximum body length - else { - this.emit("error", new MaxBodyLengthExceededError()); - this.abort(); - } -}; - -// Ends the current native request -RedirectableRequest.prototype.end = function (data, encoding, callback) { - // Shift parameters if necessary - if (isFunction(data)) { - callback = data; - data = encoding = null; - } - else if (isFunction(encoding)) { - callback = encoding; - encoding = null; - } - - // Write data if needed and end - if (!data) { - this._ended = this._ending = true; - this._currentRequest.end(null, null, callback); - } - else { - var self = this; - var currentRequest = this._currentRequest; - this.write(data, encoding, function () { - self._ended = true; - currentRequest.end(null, null, callback); - }); - this._ending = true; - } -}; - -// Sets a header value on the current native request -RedirectableRequest.prototype.setHeader = function (name, value) { - this._options.headers[name] = value; - this._currentRequest.setHeader(name, value); -}; - -// Clears a header value on the current native request -RedirectableRequest.prototype.removeHeader = function (name) { - delete this._options.headers[name]; - this._currentRequest.removeHeader(name); -}; - -// Global timeout for all underlying requests -RedirectableRequest.prototype.setTimeout = function (msecs, callback) { - var self = this; - - // Destroys the socket on timeout - function destroyOnTimeout(socket) { - socket.setTimeout(msecs); - socket.removeListener("timeout", socket.destroy); - socket.addListener("timeout", socket.destroy); - } - - // Sets up a timer to trigger a timeout event - function startTimer(socket) { - if (self._timeout) { - clearTimeout(self._timeout); - } - self._timeout = setTimeout(function () { - self.emit("timeout"); - clearTimer(); - }, msecs); - destroyOnTimeout(socket); - } - - // Stops a timeout from triggering - function clearTimer() { - // Clear the timeout - if (self._timeout) { - clearTimeout(self._timeout); - self._timeout = null; - } - - // Clean up all attached listeners - self.removeListener("abort", clearTimer); - self.removeListener("error", clearTimer); - self.removeListener("response", clearTimer); - self.removeListener("close", clearTimer); - if (callback) { - self.removeListener("timeout", callback); - } - if (!self.socket) { - self._currentRequest.removeListener("socket", startTimer); - } - } - - // Attach callback if passed - if (callback) { - this.on("timeout", callback); - } - - // Start the timer if or when the socket is opened - if (this.socket) { - startTimer(this.socket); - } - else { - this._currentRequest.once("socket", startTimer); - } - - // Clean up on events - this.on("socket", destroyOnTimeout); - this.on("abort", clearTimer); - this.on("error", clearTimer); - this.on("response", clearTimer); - this.on("close", clearTimer); - - return this; -}; - -// Proxy all other public ClientRequest methods -[ - "flushHeaders", "getHeader", - "setNoDelay", "setSocketKeepAlive", -].forEach(function (method) { - RedirectableRequest.prototype[method] = function (a, b) { - return this._currentRequest[method](a, b); - }; -}); - -// Proxy all public ClientRequest properties -["aborted", "connection", "socket"].forEach(function (property) { - Object.defineProperty(RedirectableRequest.prototype, property, { - get: function () { return this._currentRequest[property]; }, - }); -}); - -RedirectableRequest.prototype._sanitizeOptions = function (options) { - // Ensure headers are always present - if (!options.headers) { - options.headers = {}; - } - if (!isArray(options.sensitiveHeaders)) { - options.sensitiveHeaders = []; - } - - // Since http.request treats host as an alias of hostname, - // but the url module interprets host as hostname plus port, - // eliminate the host property to avoid confusion. - if (options.host) { - // Use hostname if set, because it has precedence - if (!options.hostname) { - options.hostname = options.host; - } - delete options.host; - } - - // Complete the URL object when necessary - if (!options.pathname && options.path) { - var searchPos = options.path.indexOf("?"); - if (searchPos < 0) { - options.pathname = options.path; - } - else { - options.pathname = options.path.substring(0, searchPos); - options.search = options.path.substring(searchPos); - } - } -}; - - -// Executes the next native request (initial or redirect) -RedirectableRequest.prototype._performRequest = function () { - // Load the native protocol - var protocol = this._options.protocol; - var nativeProtocol = this._options.nativeProtocols[protocol]; - if (!nativeProtocol) { - throw new TypeError("Unsupported protocol " + protocol); - } - - // If specified, use the agent corresponding to the protocol - // (HTTP and HTTPS use different types of agents) - if (this._options.agents) { - var scheme = protocol.slice(0, -1); - this._options.agent = this._options.agents[scheme]; - } - - // Create the native request and set up its event handlers - var request = this._currentRequest = - nativeProtocol.request(this._options, this._onNativeResponse); - request._redirectable = this; - for (var event of events) { - request.on(event, eventHandlers[event]); - } - - // RFC7230§5.3.1: When making a request directly to an origin server, […] - // a client MUST send only the absolute path […] as the request-target. - this._currentUrl = /^\//.test(this._options.path) ? - url.format(this._options) : - // When making a request to a proxy, […] - // a client MUST send the target URI in absolute-form […]. - this._options.path; - - // End a redirected request - // (The first request must be ended explicitly with RedirectableRequest#end) - if (this._isRedirect) { - // Write the request entity and end - var i = 0; - var self = this; - var buffers = this._requestBodyBuffers; - (function writeNext(error) { - // Only write if this request has not been redirected yet - // istanbul ignore else - if (request === self._currentRequest) { - // Report any write errors - // istanbul ignore if - if (error) { - self.emit("error", error); - } - // Write the next buffer if there are still left - else if (i < buffers.length) { - var buffer = buffers[i++]; - // istanbul ignore else - if (!request.finished) { - request.write(buffer.data, buffer.encoding, writeNext); - } - } - // End the request if `end` has been called on us - else if (self._ended) { - request.end(); - } - } - }()); - } -}; - -// Processes a response from the current native request -RedirectableRequest.prototype._processResponse = function (response) { - // Store the redirected response - var statusCode = response.statusCode; - if (this._options.trackRedirects) { - this._redirects.push({ - url: this._currentUrl, - headers: response.headers, - statusCode: statusCode, - }); - } - - // RFC7231§6.4: The 3xx (Redirection) class of status code indicates - // that further action needs to be taken by the user agent in order to - // fulfill the request. If a Location header field is provided, - // the user agent MAY automatically redirect its request to the URI - // referenced by the Location field value, - // even if the specific status code is not understood. - - // If the response is not a redirect; return it as-is - var location = response.headers.location; - if (!location || this._options.followRedirects === false || - statusCode < 300 || statusCode >= 400) { - response.responseUrl = this._currentUrl; - response.redirects = this._redirects; - this.emit("response", response); - - // Clean up - this._requestBodyBuffers = []; - return; - } - - // The response is a redirect, so abort the current request - destroyRequest(this._currentRequest); - // Discard the remainder of the response to avoid waiting for data - response.destroy(); - - // RFC7231§6.4: A client SHOULD detect and intervene - // in cyclical redirections (i.e., "infinite" redirection loops). - if (++this._redirectCount > this._options.maxRedirects) { - throw new TooManyRedirectsError(); - } - - // Store the request headers if applicable - var requestHeaders; - var beforeRedirect = this._options.beforeRedirect; - if (beforeRedirect) { - requestHeaders = Object.assign({ - // The Host header was set by nativeProtocol.request - Host: response.req.getHeader("host"), - }, this._options.headers); - } - - // RFC7231§6.4: Automatic redirection needs to done with - // care for methods not known to be safe, […] - // RFC7231§6.4.2–3: For historical reasons, a user agent MAY change - // the request method from POST to GET for the subsequent request. - var method = this._options.method; - if ((statusCode === 301 || statusCode === 302) && this._options.method === "POST" || - // RFC7231§6.4.4: The 303 (See Other) status code indicates that - // the server is redirecting the user agent to a different resource […] - // A user agent can perform a retrieval request targeting that URI - // (a GET or HEAD request if using HTTP) […] - (statusCode === 303) && !/^(?:GET|HEAD)$/.test(this._options.method)) { - this._options.method = "GET"; - // Drop a possible entity and headers related to it - this._requestBodyBuffers = []; - removeMatchingHeaders(/^content-/i, this._options.headers); - } - - // Drop the Host header, as the redirect might lead to a different host - var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers); - - // If the redirect is relative, carry over the host of the last request - var currentUrlParts = parseUrl(this._currentUrl); - var currentHost = currentHostHeader || currentUrlParts.host; - var currentUrl = /^\w+:/.test(location) ? this._currentUrl : - url.format(Object.assign(currentUrlParts, { host: currentHost })); - - // Create the redirected request - var redirectUrl = resolveUrl(location, currentUrl); - debug("redirecting to", redirectUrl.href); - this._isRedirect = true; - spreadUrlObject(redirectUrl, this._options); - - // Drop confidential headers when redirecting to a less secure protocol - // or to a different domain that is not a superdomain - if (redirectUrl.protocol !== currentUrlParts.protocol && - redirectUrl.protocol !== "https:" || - redirectUrl.host !== currentHost && - !isSubdomain(redirectUrl.host, currentHost)) { - removeMatchingHeaders(this._headerFilter, this._options.headers); - } - - // Evaluate the beforeRedirect callback - if (isFunction(beforeRedirect)) { - var responseDetails = { - headers: response.headers, - statusCode: statusCode, - }; - var requestDetails = { - url: currentUrl, - method: method, - headers: requestHeaders, - }; - beforeRedirect(this._options, responseDetails, requestDetails); - this._sanitizeOptions(this._options); - } - - // Perform the redirected request - this._performRequest(); -}; - -// Wraps the key/value object of protocols with redirect functionality -function wrap(protocols) { - // Default settings - var exports = { - maxRedirects: 21, - maxBodyLength: 10 * 1024 * 1024, - }; - - // Wrap each protocol - var nativeProtocols = {}; - Object.keys(protocols).forEach(function (scheme) { - var protocol = scheme + ":"; - var nativeProtocol = nativeProtocols[protocol] = protocols[scheme]; - var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol); - - // Executes a request, following redirects - function request(input, options, callback) { - // Parse parameters, ensuring that input is an object - if (isURL(input)) { - input = spreadUrlObject(input); - } - else if (isString(input)) { - input = spreadUrlObject(parseUrl(input)); - } - else { - callback = options; - options = validateUrl(input); - input = { protocol: protocol }; - } - if (isFunction(options)) { - callback = options; - options = null; - } - - // Set defaults - options = Object.assign({ - maxRedirects: exports.maxRedirects, - maxBodyLength: exports.maxBodyLength, - }, input, options); - options.nativeProtocols = nativeProtocols; - if (!isString(options.host) && !isString(options.hostname)) { - options.hostname = "::1"; - } - - assert.equal(options.protocol, protocol, "protocol mismatch"); - debug("options", options); - return new RedirectableRequest(options, callback); - } - - // Executes a GET request, following redirects - function get(input, options, callback) { - var wrappedRequest = wrappedProtocol.request(input, options, callback); - wrappedRequest.end(); - return wrappedRequest; - } - - // Expose the properties on the wrapped protocol - Object.defineProperties(wrappedProtocol, { - request: { value: request, configurable: true, enumerable: true, writable: true }, - get: { value: get, configurable: true, enumerable: true, writable: true }, - }); - }); - return exports; -} - -function noop() { /* empty */ } - -function parseUrl(input) { - var parsed; - // istanbul ignore else - if (useNativeURL) { - parsed = new URL(input); - } - else { - // Ensure the URL is valid and absolute - parsed = validateUrl(url.parse(input)); - if (!isString(parsed.protocol)) { - throw new InvalidUrlError({ input }); - } - } - return parsed; -} - -function resolveUrl(relative, base) { - // istanbul ignore next - return useNativeURL ? new URL(relative, base) : parseUrl(url.resolve(base, relative)); -} - -function validateUrl(input) { - if (/^\[/.test(input.hostname) && !/^\[[:0-9a-f]+\]$/i.test(input.hostname)) { - throw new InvalidUrlError({ input: input.href || input }); - } - if (/^\[/.test(input.host) && !/^\[[:0-9a-f]+\](:\d+)?$/i.test(input.host)) { - throw new InvalidUrlError({ input: input.href || input }); - } - return input; -} - -function spreadUrlObject(urlObject, target) { - var spread = target || {}; - for (var key of preservedUrlFields) { - spread[key] = urlObject[key]; - } - - // Fix IPv6 hostname - if (spread.hostname.startsWith("[")) { - spread.hostname = spread.hostname.slice(1, -1); - } - // Ensure port is a number - if (spread.port !== "") { - spread.port = Number(spread.port); - } - // Concatenate path - spread.path = spread.search ? spread.pathname + spread.search : spread.pathname; - - return spread; -} - -function removeMatchingHeaders(regex, headers) { - var lastValue; - for (var header in headers) { - if (regex.test(header)) { - lastValue = headers[header]; - delete headers[header]; - } - } - return (lastValue === null || typeof lastValue === "undefined") ? - undefined : String(lastValue).trim(); -} - -function createErrorType(code, message, baseClass) { - // Create constructor - function CustomError(properties) { - // istanbul ignore else - if (isFunction(Error.captureStackTrace)) { - Error.captureStackTrace(this, this.constructor); - } - Object.assign(this, properties || {}); - this.code = code; - this.message = this.cause ? message + ": " + this.cause.message : message; - } - - // Attach constructor and set default properties - CustomError.prototype = new (baseClass || Error)(); - Object.defineProperties(CustomError.prototype, { - constructor: { - value: CustomError, - enumerable: false, - }, - name: { - value: "Error [" + code + "]", - enumerable: false, - }, - }); - return CustomError; -} - -function destroyRequest(request, error) { - for (var event of events) { - request.removeListener(event, eventHandlers[event]); - } - request.on("error", noop); - request.destroy(error); -} - -function isSubdomain(subdomain, domain) { - assert(isString(subdomain) && isString(domain)); - var dot = subdomain.length - domain.length - 1; - return dot > 0 && subdomain[dot] === "." && subdomain.endsWith(domain); -} - -function isArray(value) { - return value instanceof Array; -} - -function isString(value) { - return typeof value === "string" || value instanceof String; -} - -function isFunction(value) { - return typeof value === "function"; -} - -function isBuffer(value) { - return typeof value === "object" && ("length" in value); -} - -function isURL(value) { - return URL && value instanceof URL; -} - -function escapeRegex(regex) { - return regex.replace(/[\]\\/()*+?.$]/g, "\\$&"); -} - -// Exports -module.exports = wrap({ http: http, https: https }); -module.exports.wrap = wrap; diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.min.js b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.min.js deleted file mode 100644 index 8382ed2..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/follow-redirects@1.16.0/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var url=require("url"),URL=url.URL,http=require("http"),https=require("https"),Writable=require("stream").Writable,assert=require("assert"),debug=require("./debug");!function(){var e="undefined"!=typeof process,t="undefined"!=typeof window&&"undefined"!=typeof document,r=isFunction(Error.captureStackTrace);e||!t&&r||console.warn("The follow-redirects package should be excluded from browser builds.")}();var useNativeURL=!1;try{assert(new URL(""))}catch(e){useNativeURL="ERR_INVALID_URL"===e.code}var sensitiveHeaders=["Authorization","Proxy-Authorization","Cookie"],preservedUrlFields=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],events=["abort","aborted","connect","error","socket","timeout"],eventHandlers=Object.create(null);events.forEach((function(e){eventHandlers[e]=function(t,r,s){this._redirectable.emit(e,t,r,s)}}));var InvalidUrlError=createErrorType("ERR_INVALID_URL","Invalid URL",TypeError),RedirectionError=createErrorType("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),TooManyRedirectsError=createErrorType("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",RedirectionError),MaxBodyLengthExceededError=createErrorType("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),WriteAfterEndError=createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end"),destroy=Writable.prototype.destroy||noop;function RedirectableRequest(e,t){Writable.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var r=this;this._onNativeResponse=function(e){try{r._processResponse(e)}catch(e){r.emit("error",e instanceof RedirectionError?e:new RedirectionError({cause:e}))}},this._headerFilter=new RegExp("^(?:"+sensitiveHeaders.concat(e.sensitiveHeaders).map(escapeRegex).join("|")+")$","i"),this._performRequest()}function wrap(e){var t={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(e).forEach((function(s){var o=s+":",i=r[o]=e[s],n=t[s]=Object.create(i);Object.defineProperties(n,{request:{value:function(e,s,i){return isURL(e)?e=spreadUrlObject(e):isString(e)?e=spreadUrlObject(parseUrl(e)):(i=s,s=validateUrl(e),e={protocol:o}),isFunction(s)&&(i=s,s=null),(s=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,s)).nativeProtocols=r,isString(s.host)||isString(s.hostname)||(s.hostname="::1"),assert.equal(s.protocol,o,"protocol mismatch"),debug("options",s),new RedirectableRequest(s,i)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,r){var s=n.request(e,t,r);return s.end(),s},configurable:!0,enumerable:!0,writable:!0}})})),t}function noop(){}function parseUrl(e){var t;if(useNativeURL)t=new URL(e);else if(!isString((t=validateUrl(url.parse(e))).protocol))throw new InvalidUrlError({input:e});return t}function resolveUrl(e,t){return useNativeURL?new URL(e,t):parseUrl(url.resolve(t,e))}function validateUrl(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new InvalidUrlError({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new InvalidUrlError({input:e.href||e});return e}function spreadUrlObject(e,t){var r=t||{};for(var s of preservedUrlFields)r[s]=e[s];return r.hostname.startsWith("[")&&(r.hostname=r.hostname.slice(1,-1)),""!==r.port&&(r.port=Number(r.port)),r.path=r.search?r.pathname+r.search:r.pathname,r}function removeMatchingHeaders(e,t){var r;for(var s in t)e.test(s)&&(r=t[s],delete t[s]);return null==r?void 0:String(r).trim()}function createErrorType(e,t,r){function s(r){isFunction(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,r||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return s.prototype=new(r||Error),Object.defineProperties(s.prototype,{constructor:{value:s,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),s}function destroyRequest(e,t){for(var r of events)e.removeListener(r,eventHandlers[r]);e.on("error",noop),e.destroy(t)}function isSubdomain(e,t){assert(isString(e)&&isString(t));var r=e.length-t.length-1;return r>0&&"."===e[r]&&e.endsWith(t)}function isArray(e){return e instanceof Array}function isString(e){return"string"==typeof e||e instanceof String}function isFunction(e){return"function"==typeof e}function isBuffer(e){return"object"==typeof e&&"length"in e}function isURL(e){return URL&&e instanceof URL}function escapeRegex(e){return e.replace(/[\]\\/()*+?.$]/g,"\\$&")}RedirectableRequest.prototype=Object.create(Writable.prototype),RedirectableRequest.prototype.abort=function(){destroyRequest(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},RedirectableRequest.prototype.destroy=function(e){return destroyRequest(this._currentRequest,e),destroy.call(this,e),this},RedirectableRequest.prototype.write=function(e,t,r){if(this._ending)throw new WriteAfterEndError;if(!isString(e)&&!isBuffer(e))throw new TypeError("data should be a string, Buffer or Uint8Array");isFunction(t)&&(r=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,r)):(this.emit("error",new MaxBodyLengthExceededError),this.abort()):r&&r()},RedirectableRequest.prototype.end=function(e,t,r){if(isFunction(e)?(r=e,e=t=null):isFunction(t)&&(r=t,t=null),e){var s=this,o=this._currentRequest;this.write(e,t,(function(){s._ended=!0,o.end(null,null,r)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,r)},RedirectableRequest.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},RedirectableRequest.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},RedirectableRequest.prototype.setTimeout=function(e,t){var r=this;function s(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function o(t){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout((function(){r.emit("timeout"),i()}),e),s(t)}function i(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",i),r.removeListener("error",i),r.removeListener("response",i),r.removeListener("close",i),t&&r.removeListener("timeout",t),r.socket||r._currentRequest.removeListener("socket",o)}return t&&this.on("timeout",t),this.socket?o(this.socket):this._currentRequest.once("socket",o),this.on("socket",s),this.on("abort",i),this.on("error",i),this.on("response",i),this.on("close",i),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){RedirectableRequest.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(RedirectableRequest.prototype,e,{get:function(){return this._currentRequest[e]}})})),RedirectableRequest.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),isArray(e.sensitiveHeaders)||(e.sensitiveHeaders=[]),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},RedirectableRequest.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var r=e.slice(0,-1);this._options.agent=this._options.agents[r]}var s=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var o of(s._redirectable=this,events))s.on(o,eventHandlers[o]);if(this._currentUrl=/^\//.test(this._options.path)?url.format(this._options):this._options.path,this._isRedirect){var i=0,n=this,a=this._requestBodyBuffers;!function e(t){if(s===n._currentRequest)if(t)n.emit("error",t);else if(i=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(destroyRequest(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new TooManyRedirectsError;var o=this._options.beforeRedirect;o&&(r=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var i=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],removeMatchingHeaders(/^content-/i,this._options.headers));var n=removeMatchingHeaders(/^host$/i,this._options.headers),a=parseUrl(this._currentUrl),u=n||a.host,c=/^\w+:/.test(s)?this._currentUrl:url.format(Object.assign(a,{host:u})),h=resolveUrl(s,c);if(debug("redirecting to",h.href),this._isRedirect=!0,spreadUrlObject(h,this._options),(h.protocol!==a.protocol&&"https:"!==h.protocol||h.host!==u&&!isSubdomain(h.host,u))&&removeMatchingHeaders(this._headerFilter,this._options.headers),isFunction(o)){var d={headers:e.headers,statusCode:t},p={url:c,method:i,headers:r};o(this._options,d,p),this._sanitizeOptions(this._options)}this._performRequest()},module.exports=wrap({http:http,https:https}),module.exports.wrap=wrap; -//# sourceMappingURL=/sm/86d4e51107366b97f5ea24bad1953e2f7078e12ec146258205ac779ce476b08e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/package.json b/Lombiq.EInvoiceValidator/node_modules/follow-redirects/package.json deleted file mode 100644 index 1027c77..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/follow-redirects/package.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "name": "follow-redirects", - "version": "1.16.0", - "description": "HTTP and HTTPS modules that follow redirects.", - "license": "MIT", - "main": "index.js", - "files": [ - "*.js" - ], - "engines": { - "node": ">=4.0" - }, - "scripts": { - "lint": "eslint *.js test", - "test": "nyc mocha" - }, - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/follow-redirects/follow-redirects.git" - }, - "homepage": "https://github.com/follow-redirects/follow-redirects", - "bugs": { - "url": "https://github.com/follow-redirects/follow-redirects/issues" - }, - "keywords": [ - "http", - "https", - "url", - "redirect", - "client", - "location", - "utility" - ], - "author": "Ruben Verborgh (https://ruben.verborgh.org/)", - "contributors": [ - "Olivier Lalonde (http://www.syskall.com)", - "James Talmage " - ], - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "peerDependenciesMeta": { - "debug": { - "optional": true - } - }, - "devDependencies": { - "concat-stream": "^2.0.0", - "eslint": "^5.16.0", - "express": "^4.16.4", - "lolex": "^3.1.0", - "mocha": "^6.0.2", - "nyc": "^14.1.1" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/form-data/CHANGELOG.md deleted file mode 100644 index cf130d2..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/form-data/CHANGELOG.md +++ /dev/null @@ -1,686 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v4.0.6](https://github.com/form-data/form-data/compare/v4.0.5...v4.0.6) - 2026-06-12 - -### Commits - -- [Fix] escape CR, LF, and `"` in field names and filenames [`8dff42c`](https://github.com/form-data/form-data/commit/8dff42c6da654ed4e7ad4acb7f8ccd3831217c99) -- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `tape` [`f31d21e`](https://github.com/form-data/form-data/commit/f31d21ef10bf46e46344c3ee4f99acbef6be43e1) -- [Deps] update `hasown`, `mime-types` [`92ae0eb`](https://github.com/form-data/form-data/commit/92ae0eb5da94d6f01925d5f4fcffb2a1e50ed7cd) -- [Dev Deps] update `js-randomness-predictor` [`67b0f65`](https://github.com/form-data/form-data/commit/67b0f65c2e0b065a511d42227d35e4d367644e97) - -## [v4.0.5](https://github.com/form-data/form-data/compare/v4.0.4...v4.0.5) - 2025-11-17 - -### Commits - -- [Tests] Switch to newer v8 prediction library; enable node 24 testing [`16e0076`](https://github.com/form-data/form-data/commit/16e00765342106876f98a1c9703314006c9e937a) -- [Dev Deps] update `@ljharb/eslint-config`, `eslint` [`5822467`](https://github.com/form-data/form-data/commit/5822467f0ec21f6ad613c1c90856375e498793c7) -- [Fix] set Symbol.toStringTag in the proper place [`76d0dee`](https://github.com/form-data/form-data/commit/76d0dee43933b5e167f7f09e5d9cbbd1cf911aa7) - -## [v4.0.4](https://github.com/form-data/form-data/compare/v4.0.3...v4.0.4) - 2025-07-16 - -### Commits - -- [meta] add `auto-changelog` [`811f682`](https://github.com/form-data/form-data/commit/811f68282fab0315209d0e2d1c44b6c32ea0d479) -- [Tests] handle predict-v8-randomness failures in node < 17 and node > 23 [`1d11a76`](https://github.com/form-data/form-data/commit/1d11a76434d101f22fdb26b8aef8615f28b98402) -- [Fix] Switch to using `crypto` random for boundary values [`3d17230`](https://github.com/form-data/form-data/commit/3d1723080e6577a66f17f163ecd345a21d8d0fd0) -- [Tests] fix linting errors [`5e34080`](https://github.com/form-data/form-data/commit/5e340800b5f8914213e4e0378c084aae71cfd73a) -- [meta] actually ensure the readme backup isn’t published [`316c82b`](https://github.com/form-data/form-data/commit/316c82ba93fd4985af757b771b9a1f26d3b709ef) -- [Dev Deps] update `@ljharb/eslint-config` [`58c25d7`](https://github.com/form-data/form-data/commit/58c25d76406a5b0dfdf54045cf252563f2bbda8d) -- [meta] fix readme capitalization [`2300ca1`](https://github.com/form-data/form-data/commit/2300ca19595b0ee96431e868fe2a40db79e41c61) - -## [v4.0.3](https://github.com/form-data/form-data/compare/v4.0.2...v4.0.3) - 2025-06-05 - -### Fixed - -- [Fix] `append`: avoid a crash on nullish values [`#577`](https://github.com/form-data/form-data/issues/577) - -### Commits - -- [eslint] use a shared config [`426ba9a`](https://github.com/form-data/form-data/commit/426ba9ac440f95d1998dac9a5cd8d738043b048f) -- [eslint] fix some spacing issues [`2094191`](https://github.com/form-data/form-data/commit/20941917f0e9487e68c564ebc3157e23609e2939) -- [Refactor] use `hasown` [`81ab41b`](https://github.com/form-data/form-data/commit/81ab41b46fdf34f5d89d7ff30b513b0925febfaa) -- [Fix] validate boundary type in `setBoundary()` method [`8d8e469`](https://github.com/form-data/form-data/commit/8d8e4693093519f7f18e3c597d1e8df8c493de9e) -- [Tests] add tests to check the behavior of `getBoundary` with non-strings [`837b8a1`](https://github.com/form-data/form-data/commit/837b8a1f7562bfb8bda74f3fc538adb7a5858995) -- [Dev Deps] remove unused deps [`870e4e6`](https://github.com/form-data/form-data/commit/870e4e665935e701bf983a051244ab928e62d58e) -- [meta] remove local commit hooks [`e6e83cc`](https://github.com/form-data/form-data/commit/e6e83ccb545a5619ed6cd04f31d5c2f655eb633e) -- [Dev Deps] update `eslint` [`4066fd6`](https://github.com/form-data/form-data/commit/4066fd6f65992b62fa324a6474a9292a4f88c916) -- [meta] fix scripts to use prepublishOnly [`c4bbb13`](https://github.com/form-data/form-data/commit/c4bbb13c0ef669916657bc129341301b1d331d75) - -## [v4.0.2](https://github.com/form-data/form-data/compare/v4.0.1...v4.0.2) - 2025-02-14 - -### Merged - -- [Fix] set `Symbol.toStringTag` when available [`#573`](https://github.com/form-data/form-data/pull/573) -- [Fix] set `Symbol.toStringTag` when available [`#573`](https://github.com/form-data/form-data/pull/573) -- fix (npmignore): ignore temporary build files [`#532`](https://github.com/form-data/form-data/pull/532) -- fix (npmignore): ignore temporary build files [`#532`](https://github.com/form-data/form-data/pull/532) - -### Fixed - -- [Fix] set `Symbol.toStringTag` when available (#573) [`#396`](https://github.com/form-data/form-data/issues/396) -- [Fix] set `Symbol.toStringTag` when available (#573) [`#396`](https://github.com/form-data/form-data/issues/396) -- [Fix] set `Symbol.toStringTag` when available [`#396`](https://github.com/form-data/form-data/issues/396) - -### Commits - -- Merge tags v2.5.3 and v3.0.3 [`92613b9`](https://github.com/form-data/form-data/commit/92613b9208556eb4ebc482fdf599fae111626fb6) -- [Tests] migrate from travis to GHA [`806eda7`](https://github.com/form-data/form-data/commit/806eda77740e6e3c67c7815afb216f2e1f187ba5) -- [Tests] migrate from travis to GHA [`8fdb3bc`](https://github.com/form-data/form-data/commit/8fdb3bc6b5d001f8909a9fca391d1d1d97ef1d79) -- [Refactor] use `Object.prototype.hasOwnProperty.call` [`7fecefe`](https://github.com/form-data/form-data/commit/7fecefe4ba8f775634aff86a698776ad95ecffb5) -- [Refactor] use `Object.prototype.hasOwnProperty.call` [`6e682d4`](https://github.com/form-data/form-data/commit/6e682d4bd41de7e80de41e3c4ee10f23fcc3dd00) -- [Refactor] use `Object.prototype.hasOwnProperty.call` [`df3c1e6`](https://github.com/form-data/form-data/commit/df3c1e6f0937f47a782dc4573756a54987f31dde) -- [Dev Deps] update `@types/node`, `browserify`, `coveralls`, `cross-spawn`, `eslint`, `formidable`, `in-publish`, `pkgfiles`, `pre-commit`, `puppeteer`, `request`, `tape`, `typescript` [`8261fcb`](https://github.com/form-data/form-data/commit/8261fcb8bf5944d30ae3bd04b91b71d6a9932ef4) -- [Dev Deps] update `@types/node`, `browserify`, `coveralls`, `cross-spawn`, `eslint`, `formidable`, `in-publish`, `pkgfiles`, `pre-commit`, `puppeteer`, `request`, `tape`, `typescript` [`fb66cb7`](https://github.com/form-data/form-data/commit/fb66cb740e29fb170eee947d4be6fdf82d6659af) -- [Dev Deps] update `@types/node`, `browserify`, `coveralls`, `eslint`, `formidable`, `in-publish`, `phantomjs-prebuilt`, `pkgfiles`, `pre-commit`, `request`, `tape`, `typescript` [`819f6b7`](https://github.com/form-data/form-data/commit/819f6b7a543306a891fca37c3a06d0ff4a734422) -- [eslint] clean up ignores [`3217b3d`](https://github.com/form-data/form-data/commit/3217b3ded8e382e51171d5c74c6038a21cc54440) -- [eslint] clean up ignores [`3a9d480`](https://github.com/form-data/form-data/commit/3a9d480232dbcbc07260ad84c3da4975d9a3ae9e) -- [Fix] `Buffer.from` and `Buffer.alloc` require node 4+ [`c499f76`](https://github.com/form-data/form-data/commit/c499f76f1faac1ddbf210c45217038e4c1e02337) -- Only apps should have lockfiles [`b82f590`](https://github.com/form-data/form-data/commit/b82f59093cdbadb4b7ec0922d33ae7ab048b82ff) -- Only apps should have lockfiles [`b170ee2`](https://github.com/form-data/form-data/commit/b170ee2b22b4c695c363b811c0c553d2fb1bbd79) -- [Deps] update `combined-stream`, `mime-types` [`6b1ca1d`](https://github.com/form-data/form-data/commit/6b1ca1dc7362a1b1c3a99a885516cca4b7eb817f) -- [Dev Deps] pin `request` which via `tough-cookie` ^2.4 depends on `psl` [`e5df7f2`](https://github.com/form-data/form-data/commit/e5df7f24383342264bd73dee3274818a40d04065) -- [Deps] update `mime-types` [`5a5bafe`](https://github.com/form-data/form-data/commit/5a5bafee894fead10da49e1fa2b084e17f2e1034) -- Bumped version 2.5.3 [`9457283`](https://github.com/form-data/form-data/commit/9457283e1dce6122adc908fdd7442cfc54cabe7a) -- [Dev Deps] pin `request` which via `tough-cookie` ^2.4 depends on `psl` [`9dbe192`](https://github.com/form-data/form-data/commit/9dbe192be3db215eac4d9c0b980470a5c2c030c6) -- Merge tags v2.5.2 and v3.0.2 [`d53265d`](https://github.com/form-data/form-data/commit/d53265d86c5153f535ec68eb107548b1b2883576) -- Bumped version 2.5.2 [`7020dd4`](https://github.com/form-data/form-data/commit/7020dd4c1260370abc40e86e3dfe49c5d576fbda) -- [Dev Deps] downgrade `cross-spawn` [`3fc1a9b`](https://github.com/form-data/form-data/commit/3fc1a9b62ddf1fe77a2bd6bd3476e4c0a9e01a88) -- fix: move util.isArray to Array.isArray (#564) [`edb555a`](https://github.com/form-data/form-data/commit/edb555a811f6f7e4668db4831551cf41c1de1cac) -- fix: move util.isArray to Array.isArray (#564) [`10418d1`](https://github.com/form-data/form-data/commit/10418d1fe4b0d65fe020eafe3911feb5ad5e2bd6) - -## [v4.0.1](https://github.com/form-data/form-data/compare/v4.0.0...v4.0.1) - 2024-10-10 - -### Commits - -- [Tests] migrate from travis to GHA [`757b4e3`](https://github.com/form-data/form-data/commit/757b4e32e95726aec9bdcc771fb5a3b564d88034) -- [eslint] clean up ignores [`e8f0d80`](https://github.com/form-data/form-data/commit/e8f0d80cd7cd424d1488532621ec40a33218b30b) -- fix (npmignore): ignore temporary build files [`335ad19`](https://github.com/form-data/form-data/commit/335ad19c6e17dc2d7298ffe0e9b37ba63600e94b) -- fix: move util.isArray to Array.isArray [`440d3be`](https://github.com/form-data/form-data/commit/440d3bed752ac2f9213b4c2229dbccefe140e5fa) - -## [v4.0.0](https://github.com/form-data/form-data/compare/v3.0.5...v4.0.0) - 2021-02-15 - -### Merged - -- Handle custom stream [`#382`](https://github.com/form-data/form-data/pull/382) - -### Commits - -- Fix typo [`e705c0a`](https://github.com/form-data/form-data/commit/e705c0a1fdaf90d21501f56460b93e43a18bd435) -- Update README for custom stream behavior [`6dd8624`](https://github.com/form-data/form-data/commit/6dd8624b2999e32768d62752c9aae5845a803b0d) - -## [v3.0.5](https://github.com/form-data/form-data/compare/v3.0.4...v3.0.5) - 2026-06-12 - -### Commits - -- [Fix] escape CR, LF, and `"` in field names and filenames [`8777e67`](https://github.com/form-data/form-data/commit/8777e67fbd0282d3dcba81f974fbdd91062c5b23) -- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `eslint`, `tape` [`27c61a5`](https://github.com/form-data/form-data/commit/27c61a5deed84798be105c96605cb8bd00502dcd) -- [Deps] update `hasown` [`6a8a1c6`](https://github.com/form-data/form-data/commit/6a8a1c6d04da36e15c80b16ecc4c0265082b3213) - -## [v3.0.4](https://github.com/form-data/form-data/compare/v3.0.3...v3.0.4) - 2025-07-16 - -### Fixed - -- [Fix] `append`: avoid a crash on nullish values [`#577`](https://github.com/form-data/form-data/issues/577) - -### Commits - -- [eslint] update linting config [`f5e7eb0`](https://github.com/form-data/form-data/commit/f5e7eb024bc3fc7e2074ff80f143a4f4cbc1dbda) -- [meta] add `auto-changelog` [`d2eb290`](https://github.com/form-data/form-data/commit/d2eb290a3e47ed5bcad7020d027daa15b3cf5ef5) -- [Tests] handle predict-v8-randomness failures in node < 17 and node > 23 [`e8c574c`](https://github.com/form-data/form-data/commit/e8c574cb07ff3a0de2ecc0912d783ef22e190c1f) -- [Fix] Switch to using `crypto` random for boundary values [`c6ced61`](https://github.com/form-data/form-data/commit/c6ced61d4fae8f617ee2fd692133ed87baa5d0fd) -- [Refactor] use `hasown` [`1a78b5d`](https://github.com/form-data/form-data/commit/1a78b5dd05e508d67e97764d812ac7c6d92ea88d) -- [Fix] validate boundary type in `setBoundary()` method [`70bbaa0`](https://github.com/form-data/form-data/commit/70bbaa0b395ca0fb975c309de8d7286979254cc4) -- [Tests] add tests to check the behavior of `getBoundary` with non-strings [`b22a64e`](https://github.com/form-data/form-data/commit/b22a64ef94ba4f3f6ff7d1ac72a54cca128567df) -- [meta] actually ensure the readme backup isn’t published [`0150851`](https://github.com/form-data/form-data/commit/01508513ffb26fd662ae7027834b325af8efb9ea) -- [meta] remove local commit hooks [`fc42bb9`](https://github.com/form-data/form-data/commit/fc42bb9315b641bfa6dae51cb4e188a86bb04769) -- [Dev Deps] remove unused deps [`a14d09e`](https://github.com/form-data/form-data/commit/a14d09ea8ed7e0a2e1705269ce6fb54bb7ee6bdb) -- [meta] fix scripts to use prepublishOnly [`11d9f73`](https://github.com/form-data/form-data/commit/11d9f7338f18a59b431832a3562b49baece0a432) -- [meta] fix readme capitalization [`fc38b48`](https://github.com/form-data/form-data/commit/fc38b4834a117a1856f3d877eb2f5b7496a24932) - -## [v3.0.3](https://github.com/form-data/form-data/compare/v3.0.2...v3.0.3) - 2025-02-14 - -### Merged - -- [Fix] set `Symbol.toStringTag` when available [`#573`](https://github.com/form-data/form-data/pull/573) - -### Fixed - -- [Fix] set `Symbol.toStringTag` when available (#573) [`#396`](https://github.com/form-data/form-data/issues/396) - -### Commits - -- [Refactor] use `Object.prototype.hasOwnProperty.call` [`7fecefe`](https://github.com/form-data/form-data/commit/7fecefe4ba8f775634aff86a698776ad95ecffb5) -- [Dev Deps] update `@types/node`, `browserify`, `coveralls`, `cross-spawn`, `eslint`, `formidable`, `in-publish`, `pkgfiles`, `pre-commit`, `puppeteer`, `request`, `tape`, `typescript` [`8261fcb`](https://github.com/form-data/form-data/commit/8261fcb8bf5944d30ae3bd04b91b71d6a9932ef4) -- Only apps should have lockfiles [`b82f590`](https://github.com/form-data/form-data/commit/b82f59093cdbadb4b7ec0922d33ae7ab048b82ff) -- [Dev Deps] pin `request` which via `tough-cookie` ^2.4 depends on `psl` [`e5df7f2`](https://github.com/form-data/form-data/commit/e5df7f24383342264bd73dee3274818a40d04065) -- [Deps] update `mime-types` [`5a5bafe`](https://github.com/form-data/form-data/commit/5a5bafee894fead10da49e1fa2b084e17f2e1034) - -## [v3.0.2](https://github.com/form-data/form-data/compare/v3.0.1...v3.0.2) - 2024-10-10 - -### Merged - -- fix (npmignore): ignore temporary build files [`#532`](https://github.com/form-data/form-data/pull/532) - -### Commits - -- [Tests] migrate from travis to GHA [`8fdb3bc`](https://github.com/form-data/form-data/commit/8fdb3bc6b5d001f8909a9fca391d1d1d97ef1d79) -- [eslint] clean up ignores [`3217b3d`](https://github.com/form-data/form-data/commit/3217b3ded8e382e51171d5c74c6038a21cc54440) -- fix: move util.isArray to Array.isArray (#564) [`edb555a`](https://github.com/form-data/form-data/commit/edb555a811f6f7e4668db4831551cf41c1de1cac) - -## [v3.0.1](https://github.com/form-data/form-data/compare/v3.0.0...v3.0.1) - 2021-02-15 - -### Merged - -- Fix typo: ads -> adds [`#451`](https://github.com/form-data/form-data/pull/451) - -### Commits - -- feat: add setBoundary method [`55d90ce`](https://github.com/form-data/form-data/commit/55d90ce4a4c22b0ea0647991d85cb946dfb7395b) - -## [v3.0.0](https://github.com/form-data/form-data/compare/v2.5.6...v3.0.0) - 2019-11-05 - -### Merged - -- Update Readme.md [`#449`](https://github.com/form-data/form-data/pull/449) -- Update package.json [`#448`](https://github.com/form-data/form-data/pull/448) -- fix memory leak [`#447`](https://github.com/form-data/form-data/pull/447) -- form-data: Replaced PhantomJS Dependency [`#442`](https://github.com/form-data/form-data/pull/442) -- Fix constructor options in Typescript definitions [`#446`](https://github.com/form-data/form-data/pull/446) -- Fix the getHeaders method signatures [`#434`](https://github.com/form-data/form-data/pull/434) -- Update combined-stream (fixes #422) [`#424`](https://github.com/form-data/form-data/pull/424) - -### Fixed - -- Merge pull request #424 from botgram/update-combined-stream [`#422`](https://github.com/form-data/form-data/issues/422) -- Update combined-stream (fixes #422) [`#422`](https://github.com/form-data/form-data/issues/422) - -### Commits - -- Add readable stream options to constructor type [`80c8f74`](https://github.com/form-data/form-data/commit/80c8f746bcf4c0418ae35fbedde12fb8c01e2748) -- Fixed: getHeaders method signatures [`f4ca7f8`](https://github.com/form-data/form-data/commit/f4ca7f8e31f7e07df22c1aeb8e0a32a7055a64ca) -- Pass options to constructor if not used with new [`4bde68e`](https://github.com/form-data/form-data/commit/4bde68e12de1ba90fefad2e7e643f6375b902763) -- Make userHeaders optional [`2b4e478`](https://github.com/form-data/form-data/commit/2b4e4787031490942f2d1ee55c56b85a250875a7) - -## [v2.5.6](https://github.com/form-data/form-data/compare/v2.5.5...v2.5.6) - 2026-06-12 - -### Commits - -- [Fix] escape CR, LF, and `"` in field names and filenames [`b620316`](https://github.com/form-data/form-data/commit/b62031603c2d7c329b2a369b49466790f0ba6314) -- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `eslint`, `tape` [`12be578`](https://github.com/form-data/form-data/commit/12be578e936fd77eee75e2e656955f5343c4b80f) -- [Dev Deps] update `js-randomness-predictor` [`46cfd23`](https://github.com/form-data/form-data/commit/46cfd23bd40be14cfa0391e1c5357c4d74098f23) -- [Tests] use `safe-buffer` so the header-injection test runs on node < 4 [`633044a`](https://github.com/form-data/form-data/commit/633044a57a7b19f41cec2271ffd24afa2f6280af) -- [Deps] update `hasown` [`e3b96ee`](https://github.com/form-data/form-data/commit/e3b96eef1661bca8ea4297de057b78bf2734e900) - -## [v2.5.5](https://github.com/form-data/form-data/compare/v2.5.4...v2.5.5) - 2025-07-18 - -### Commits - -- [meta] actually ensure the readme backup isn’t published [`10626c0`](https://github.com/form-data/form-data/commit/10626c0a9b78c7d3fcaa51772265015ee0afc25c) -- [Fix] use proper dependency [`026abe5`](https://github.com/form-data/form-data/commit/026abe5c5c0489d8a2ccb59d5cfd14fb63078377) - -## [v2.5.4](https://github.com/form-data/form-data/compare/v2.5.3...v2.5.4) - 2025-07-17 - -### Fixed - -- [Fix] `append`: avoid a crash on nullish values [`#577`](https://github.com/form-data/form-data/issues/577) - -### Commits - -- [eslint] update linting config [`8bf2492`](https://github.com/form-data/form-data/commit/8bf2492e0555d41ff58fa04c91593af998f87a3c) -- [meta] add `auto-changelog` [`b5101ad`](https://github.com/form-data/form-data/commit/b5101ad3d5f73cfd0143aae3735b92826fd731ea) -- [Tests] handle predict-v8-randomness failures in node < 17 and node > 23 [`0e93122`](https://github.com/form-data/form-data/commit/0e93122358414942393d9c2dc434ae69e58be7c8) -- [Fix] Switch to using `crypto` random for boundary values [`b88316c`](https://github.com/form-data/form-data/commit/b88316c94bb004323669cd3639dc8bb8262539eb) -- [Fix] validate boundary type in `setBoundary()` method [`131ae5e`](https://github.com/form-data/form-data/commit/131ae5efa30b9c608add4faef3befb38aa2e1bf1) -- [Tests] Switch to newer v8 prediction library; enable node 24 testing [`c97cfbe`](https://github.com/form-data/form-data/commit/c97cfbed9eb6d2d4b5d53090f69ded4bf9fd8a21) -- [Refactor] use `hasown` [`97ac9c2`](https://github.com/form-data/form-data/commit/97ac9c208be0b83faeee04bb3faef1ed3474ee4c) -- [meta] remove local commit hooks [`be99d4e`](https://github.com/form-data/form-data/commit/be99d4eea5ce47139c23c1f0914596194019d7fb) -- [Dev Deps] remove unused deps [`ddbc89b`](https://github.com/form-data/form-data/commit/ddbc89b6d6d64f730bcb27cb33b7544068466a05) -- [meta] fix scripts to use prepublishOnly [`e351a97`](https://github.com/form-data/form-data/commit/e351a97e9f6c57c74ffd01625e83b09de805d08a) -- [Dev Deps] remove unused script [`8f23366`](https://github.com/form-data/form-data/commit/8f233664842da5bd605ce85541defc713d1d1e0a) -- [Dev Deps] add missing peer dep [`02ff026`](https://github.com/form-data/form-data/commit/02ff026fda71f9943cfdd5754727c628adb8d135) -- [meta] fix readme capitalization [`2fd5f61`](https://github.com/form-data/form-data/commit/2fd5f61ebfb526cd015fb8e7b8b8c1add4a38872) - -## [v2.5.3](https://github.com/form-data/form-data/compare/v2.5.2...v2.5.3) - 2025-02-14 - -### Merged - -- [Fix] set `Symbol.toStringTag` when available [`#573`](https://github.com/form-data/form-data/pull/573) - -### Fixed - -- [Fix] set `Symbol.toStringTag` when available (#573) [`#396`](https://github.com/form-data/form-data/issues/396) - -### Commits - -- [Refactor] use `Object.prototype.hasOwnProperty.call` [`6e682d4`](https://github.com/form-data/form-data/commit/6e682d4bd41de7e80de41e3c4ee10f23fcc3dd00) -- [Dev Deps] update `@types/node`, `browserify`, `coveralls`, `eslint`, `formidable`, `in-publish`, `phantomjs-prebuilt`, `pkgfiles`, `pre-commit`, `request`, `tape`, `typescript` [`819f6b7`](https://github.com/form-data/form-data/commit/819f6b7a543306a891fca37c3a06d0ff4a734422) -- Only apps should have lockfiles [`b170ee2`](https://github.com/form-data/form-data/commit/b170ee2b22b4c695c363b811c0c553d2fb1bbd79) -- [Deps] update `combined-stream`, `mime-types` [`6b1ca1d`](https://github.com/form-data/form-data/commit/6b1ca1dc7362a1b1c3a99a885516cca4b7eb817f) -- Bumped version 2.5.3 [`9457283`](https://github.com/form-data/form-data/commit/9457283e1dce6122adc908fdd7442cfc54cabe7a) -- [Dev Deps] pin `request` which via `tough-cookie` ^2.4 depends on `psl` [`9dbe192`](https://github.com/form-data/form-data/commit/9dbe192be3db215eac4d9c0b980470a5c2c030c6) - -## [v2.5.2](https://github.com/form-data/form-data/compare/v2.5.1...v2.5.2) - 2024-10-10 - -### Merged - -- fix (npmignore): ignore temporary build files [`#532`](https://github.com/form-data/form-data/pull/532) - -### Commits - -- [Tests] migrate from travis to GHA [`806eda7`](https://github.com/form-data/form-data/commit/806eda77740e6e3c67c7815afb216f2e1f187ba5) -- [eslint] clean up ignores [`3a9d480`](https://github.com/form-data/form-data/commit/3a9d480232dbcbc07260ad84c3da4975d9a3ae9e) -- [Fix] `Buffer.from` and `Buffer.alloc` require node 4+ [`c499f76`](https://github.com/form-data/form-data/commit/c499f76f1faac1ddbf210c45217038e4c1e02337) -- Bumped version 2.5.2 [`7020dd4`](https://github.com/form-data/form-data/commit/7020dd4c1260370abc40e86e3dfe49c5d576fbda) -- [Dev Deps] downgrade `cross-spawn` [`3fc1a9b`](https://github.com/form-data/form-data/commit/3fc1a9b62ddf1fe77a2bd6bd3476e4c0a9e01a88) -- fix: move util.isArray to Array.isArray (#564) [`10418d1`](https://github.com/form-data/form-data/commit/10418d1fe4b0d65fe020eafe3911feb5ad5e2bd6) - -## [v2.5.1](https://github.com/form-data/form-data/compare/v2.5.0...v2.5.1) - 2019-08-28 - -### Merged - -- Fix error in callback signatures [`#435`](https://github.com/form-data/form-data/pull/435) -- -Fixed: Eerror in the documentations as indicated in #439 [`#440`](https://github.com/form-data/form-data/pull/440) -- Add constructor options to TypeScript defs [`#437`](https://github.com/form-data/form-data/pull/437) - -### Commits - -- Add remaining combined-stream options to typedef [`4d41a32`](https://github.com/form-data/form-data/commit/4d41a32c0b3f85f8bbc9cf17df43befd2d5fc305) -- Bumped version 2.5.1 [`8ce81f5`](https://github.com/form-data/form-data/commit/8ce81f56cccf5466363a5eff135ad394a929f59b) -- Bump rimraf to 2.7.1 [`a6bc2d4`](https://github.com/form-data/form-data/commit/a6bc2d4296dbdee5d84cbab7c69bcd0eea7a12e2) - -## [v2.5.0](https://github.com/form-data/form-data/compare/v2.4.0...v2.5.0) - 2019-07-03 - -### Merged - -- - Added: public methods with information and examples to readme [`#429`](https://github.com/form-data/form-data/pull/429) -- chore: move @types/node to devDep [`#431`](https://github.com/form-data/form-data/pull/431) -- Switched windows tests from AppVeyor to Travis [`#430`](https://github.com/form-data/form-data/pull/430) -- feat(typings): migrate TS typings #427 [`#428`](https://github.com/form-data/form-data/pull/428) -- enhance the method of path.basename, handle undefined case [`#421`](https://github.com/form-data/form-data/pull/421) - -### Commits - -- - Added: public methods with information and examples to the readme file. [`21323f3`](https://github.com/form-data/form-data/commit/21323f3b4043a167046a4a2554c5f2825356c423) -- feat(typings): migrate TS typings [`a3c0142`](https://github.com/form-data/form-data/commit/a3c0142ed91b0c7dcaf89c4f618776708f1f70a9) -- - Fixed: Typos [`37350fa`](https://github.com/form-data/form-data/commit/37350fa250782f156a998ec1fa9671866d40ac49) -- Switched to Travis Windows from Appveyor [`fc61c73`](https://github.com/form-data/form-data/commit/fc61c7381fad12662df16dbc3e7621c91b886f03) -- - Fixed: rendering of subheaders [`e93ed8d`](https://github.com/form-data/form-data/commit/e93ed8df9d7f22078bc3a2c24889e9dfa11e192d) -- Updated deps and readme [`e3d8628`](https://github.com/form-data/form-data/commit/e3d8628728f6e4817ab97deeed92f0c822661b89) -- Updated dependencies [`19add50`](https://github.com/form-data/form-data/commit/19add50afb7de66c70d189f422d16f1b886616e2) -- Bumped version to 2.5.0 [`905f173`](https://github.com/form-data/form-data/commit/905f173a3f785e8d312998e765634ee451ca5f42) -- - Fixed: filesize is not a valid option? knownLength should be used for streams [`d88f912`](https://github.com/form-data/form-data/commit/d88f912b75b666b47f8674467516eade69d2d5be) -- Bump notion of modern node to node8 [`508b626`](https://github.com/form-data/form-data/commit/508b626bf1b460d3733d3420dc1cfd001617f6ac) -- enhance the method of path.basename [`faaa68a`](https://github.com/form-data/form-data/commit/faaa68a297be7d4fca0ac4709d5b93afc1f78b5c) - -## [v2.4.0](https://github.com/form-data/form-data/compare/v2.3.2...v2.4.0) - 2019-06-19 - -### Merged - -- Added "getBuffer" method and updated certificates [`#419`](https://github.com/form-data/form-data/pull/419) -- docs(readme): add axios integration document [`#425`](https://github.com/form-data/form-data/pull/425) -- Allow newer versions of combined-stream [`#402`](https://github.com/form-data/form-data/pull/402) - -### Commits - -- Updated: Certificate [`e90a76a`](https://github.com/form-data/form-data/commit/e90a76ab3dcaa63a6f3045f8255bfbb9c25a3e4e) -- Updated build/test/badges [`8512eef`](https://github.com/form-data/form-data/commit/8512eef436e28372f5bc88de3ca76a9cb46e6847) -- Bumped version 2.4.0 [`0f8da06`](https://github.com/form-data/form-data/commit/0f8da06c0b4c997bd2f6b09d78290d339616a950) -- docs(readme): remove unnecessary bracket [`4e3954d`](https://github.com/form-data/form-data/commit/4e3954dde304d27e3b95371d8c78002f3af5d5b2) -- Bumped version to 2.3.3 [`b16916a`](https://github.com/form-data/form-data/commit/b16916a568a0d06f3f8a16c31f9a8b89b7844094) - -## [v2.3.2](https://github.com/form-data/form-data/compare/v2.3.1...v2.3.2) - 2018-02-13 - -### Merged - -- Pulling in fixed combined-stream [`#379`](https://github.com/form-data/form-data/pull/379) - -### Commits - -- All the dev dependencies are breaking in old versions of node :'( [`c7dba6a`](https://github.com/form-data/form-data/commit/c7dba6a139d872d173454845e25e1850ed6b72b4) -- Updated badges [`19b6c7a`](https://github.com/form-data/form-data/commit/19b6c7a8a5c40f47f91c8a8da3e5e4dc3c449fa3) -- Try tests in node@4 [`872a326`](https://github.com/form-data/form-data/commit/872a326ab13e2740b660ff589b75232c3a85fcc9) -- Pull in final version [`9d44871`](https://github.com/form-data/form-data/commit/9d44871073d647995270b19dbc26f65671ce15c7) - -## [v2.3.1](https://github.com/form-data/form-data/compare/v2.3.0...v2.3.1) - 2017-08-24 - -### Commits - -- Updated readme with custom options example [`8e0a569`](https://github.com/form-data/form-data/commit/8e0a5697026016fe171e93bec43c2205279e23ca) -- Added support (tests) for node 8 [`d1d6f4a`](https://github.com/form-data/form-data/commit/d1d6f4ad4670d8ba84cc85b28e522ca0e93eb362) - -## [v2.3.0](https://github.com/form-data/form-data/compare/v2.2.0...v2.3.0) - 2017-08-24 - -### Merged - -- Added custom `options` support [`#368`](https://github.com/form-data/form-data/pull/368) -- Allow form.submit with url string param to use https [`#249`](https://github.com/form-data/form-data/pull/249) -- Proper header production [`#357`](https://github.com/form-data/form-data/pull/357) -- Fix wrong MIME type in example [`#285`](https://github.com/form-data/form-data/pull/285) - -### Commits - -- allow form.submit with url string param to use https [`c0390dc`](https://github.com/form-data/form-data/commit/c0390dcc623e15215308fa2bb0225aa431d9381e) -- update tests for url parsing [`eec0e80`](https://github.com/form-data/form-data/commit/eec0e807889d46697abd39a89ad9bf39996ba787) -- Uses for in to assign properties instead of Object.assign [`f6854ed`](https://github.com/form-data/form-data/commit/f6854edd85c708191bb9c89615a09fd0a9afe518) -- Adds test to check for option override [`61762f2`](https://github.com/form-data/form-data/commit/61762f2c5262e576d6a7f778b4ebab6546ef8582) -- Removes the 2mb maxDataSize limitation [`dc171c3`](https://github.com/form-data/form-data/commit/dc171c3ba49ac9b8813636fd4159d139b812315b) -- Ignore .DS_Store [`e8a05d3`](https://github.com/form-data/form-data/commit/e8a05d33361f7dca8927fe1d96433d049843de24) - -## [v2.2.0](https://github.com/form-data/form-data/compare/v2.1.4...v2.2.0) - 2017-06-11 - -### Merged - -- Filename can be a nested path [`#355`](https://github.com/form-data/form-data/pull/355) - -### Commits - -- Bumped version number. [`d7398c3`](https://github.com/form-data/form-data/commit/d7398c3e7cd81ed12ecc0b84363721bae467db02) - -## [v2.1.4](https://github.com/form-data/form-data/compare/2.1.3...v2.1.4) - 2017-04-08 - -## [2.1.3](https://github.com/form-data/form-data/compare/v2.1.3...2.1.3) - 2017-04-08 - -## [v2.1.3](https://github.com/form-data/form-data/compare/v2.1.2...v2.1.3) - 2017-04-08 - -### Merged - -- toString should output '[object FormData]' [`#346`](https://github.com/form-data/form-data/pull/346) - -## [v2.1.2](https://github.com/form-data/form-data/compare/v2.1.1...v2.1.2) - 2016-11-07 - -### Merged - -- #271 Added check for self and window objects + tests [`#282`](https://github.com/form-data/form-data/pull/282) - -### Commits - -- Added check for self and window objects + tests [`c99e4ec`](https://github.com/form-data/form-data/commit/c99e4ec32cd14d83776f2bdcc5a4e7384131c1b1) - -## [v2.1.1](https://github.com/form-data/form-data/compare/v2.1.0...v2.1.1) - 2016-10-03 - -### Merged - -- Bumped dependencies. [`#270`](https://github.com/form-data/form-data/pull/270) -- Update browser.js shim to use self instead of window [`#267`](https://github.com/form-data/form-data/pull/267) -- Boilerplate code rediction [`#265`](https://github.com/form-data/form-data/pull/265) -- eslint@3.7.0 [`#266`](https://github.com/form-data/form-data/pull/266) - -### Commits - -- code duplicates removed [`e9239fb`](https://github.com/form-data/form-data/commit/e9239fbe7d3c897b29fe3bde857d772469541c01) -- Changed according to requests [`aa99246`](https://github.com/form-data/form-data/commit/aa9924626bd9168334d73fea568c0ad9d8fbaa96) -- chore(package): update eslint to version 3.7.0 [`090a859`](https://github.com/form-data/form-data/commit/090a859835016cab0de49629140499e418db9c3a) - -## [v2.1.0](https://github.com/form-data/form-data/compare/v2.0.0...v2.1.0) - 2016-09-25 - -### Merged - -- Added `hasKnownLength` public method [`#263`](https://github.com/form-data/form-data/pull/263) - -### Commits - -- Added hasKnownLength public method [`655b959`](https://github.com/form-data/form-data/commit/655b95988ef2ed3399f8796b29b2a8673c1df11c) - -## [v2.0.0](https://github.com/form-data/form-data/compare/v1.0.0...v2.0.0) - 2016-09-16 - -### Merged - -- Replaced async with asynckit [`#258`](https://github.com/form-data/form-data/pull/258) -- Pre-release house cleaning [`#247`](https://github.com/form-data/form-data/pull/247) - -### Commits - -- Replaced async with asynckit. Modernized [`1749b78`](https://github.com/form-data/form-data/commit/1749b78d50580fbd080e65c1eb9702ad4f4fc0c0) -- Ignore .bak files [`c08190a`](https://github.com/form-data/form-data/commit/c08190a87d3e22a528b6e32b622193742a4c2672) -- Trying to be more chatty. :) [`c79eabb`](https://github.com/form-data/form-data/commit/c79eabb24eaf761069255a44abf4f540cfd47d40) - -## [v1.0.0](https://github.com/form-data/form-data/compare/v1.0.0-rc4...v1.0.0) - 2016-08-26 - -### Merged - -- Allow custom header fields to be set as an object. [`#190`](https://github.com/form-data/form-data/pull/190) -- v1.0.0-rc4 [`#182`](https://github.com/form-data/form-data/pull/182) -- Avoid undefined variable reference in older browsers [`#176`](https://github.com/form-data/form-data/pull/176) -- More housecleaning [`#164`](https://github.com/form-data/form-data/pull/164) -- More cleanup [`#159`](https://github.com/form-data/form-data/pull/159) -- Added windows testing. Some cleanup. [`#158`](https://github.com/form-data/form-data/pull/158) -- Housecleaning. Added test coverage. [`#156`](https://github.com/form-data/form-data/pull/156) -- Second iteration of cleanup. [`#145`](https://github.com/form-data/form-data/pull/145) - -### Commits - -- Pre-release house cleaning [`440d72b`](https://github.com/form-data/form-data/commit/440d72b5fd44dd132f42598c3183d46e5f35ce71) -- Updated deps, updated docs [`54b6114`](https://github.com/form-data/form-data/commit/54b61143e9ce66a656dd537a1e7b31319a4991be) -- make docs up-to-date [`5e383d7`](https://github.com/form-data/form-data/commit/5e383d7f1466713f7fcef58a6817e0cb466c8ba7) -- Added missing deps [`fe04862`](https://github.com/form-data/form-data/commit/fe04862000b2762245e2db69d5207696a08c1174) - -## [v1.0.0-rc4](https://github.com/form-data/form-data/compare/v1.0.0-rc3...v1.0.0-rc4) - 2016-03-15 - -### Merged - -- Housecleaning, preparing for the release [`#144`](https://github.com/form-data/form-data/pull/144) -- lib: emit error when failing to get length [`#127`](https://github.com/form-data/form-data/pull/127) -- Cleaning up for Codacity 2. [`#143`](https://github.com/form-data/form-data/pull/143) -- Cleaned up codacity concerns. [`#142`](https://github.com/form-data/form-data/pull/142) -- Should throw type error without new operator. [`#129`](https://github.com/form-data/form-data/pull/129) - -### Commits - -- More cleanup [`94b6565`](https://github.com/form-data/form-data/commit/94b6565bb98a387335c72feff5ed5c10da0a7f6f) -- Shuffling things around [`3c2f172`](https://github.com/form-data/form-data/commit/3c2f172eaddf0979b3eef5c73985d1a6fd3eee4a) -- Second iteration of cleanup. [`347c88e`](https://github.com/form-data/form-data/commit/347c88ef9a99a66b9bcf4278497425db2f0182b2) -- Housecleaning [`c335610`](https://github.com/form-data/form-data/commit/c3356100c054a4695e4dec8ed7072775cd745616) -- More housecleaning [`f573321`](https://github.com/form-data/form-data/commit/f573321824aae37ba2052a92cc889d533d9f8fb8) -- Trying to make far run on windows. + cleanup [`e426dfc`](https://github.com/form-data/form-data/commit/e426dfcefb07ee307d8a15dec04044cce62413e6) -- Playing with appveyor [`c9458a7`](https://github.com/form-data/form-data/commit/c9458a7c328782b19859bc1745e7d6b2005ede86) -- Updated dev dependencies. [`ceebe88`](https://github.com/form-data/form-data/commit/ceebe88872bb22da0a5a98daf384e3cc232928d3) -- Replaced win-spawn with cross-spawn [`405a69e`](https://github.com/form-data/form-data/commit/405a69ee34e235ee6561b5ff0140b561be40d1cc) -- Updated readme badges. [`12f282a`](https://github.com/form-data/form-data/commit/12f282a1310fcc2f70cc5669782283929c32a63d) -- Making paths windows friendly. [`f4bddc5`](https://github.com/form-data/form-data/commit/f4bddc5955e2472f8e23c892c9b4d7a08fcb85a3) -- [WIP] trying things for greater sanity [`8ad1f02`](https://github.com/form-data/form-data/commit/8ad1f02b0b3db4a0b00c5d6145ed69bcb7558213) -- Bending under Codacy [`bfff3bb`](https://github.com/form-data/form-data/commit/bfff3bb36052dc83f429949b4e6f9b146a49d996) -- Another attempt to make windows friendly [`f3eb628`](https://github.com/form-data/form-data/commit/f3eb628974ccb91ba0020f41df490207eeed77f6) -- Updated dependencies. [`f73996e`](https://github.com/form-data/form-data/commit/f73996e0508ee2d4b2b376276adfac1de4188ac2) -- Missed travis changes. [`67ee79f`](https://github.com/form-data/form-data/commit/67ee79f964fdabaf300bd41b0af0c1cfaca07687) -- Restructured badges. [`48444a1`](https://github.com/form-data/form-data/commit/48444a1ff156ba2c2c3cfd11047c2f2fd92d4474) -- Add similar type error as the browser for attempting to use form-data without new. [`5711320`](https://github.com/form-data/form-data/commit/5711320fb7c8cc620cfc79b24c7721526e23e539) -- Took out codeclimate-test-reporter [`a7e0c65`](https://github.com/form-data/form-data/commit/a7e0c6522afe85ca9974b0b4e1fca9c77c3e52b1) -- One more [`8e84cff`](https://github.com/form-data/form-data/commit/8e84cff3370526ecd3e175fd98e966242d81993c) - -## [v1.0.0-rc3](https://github.com/form-data/form-data/compare/v1.0.0-rc2...v1.0.0-rc3) - 2015-07-29 - -### Merged - -- House cleaning. Added `pre-commit`. [`#140`](https://github.com/form-data/form-data/pull/140) -- Allow custom content-type without setting a filename. [`#138`](https://github.com/form-data/form-data/pull/138) -- Add node-fetch to alternative submission methods. [`#132`](https://github.com/form-data/form-data/pull/132) -- Update dependencies [`#130`](https://github.com/form-data/form-data/pull/130) -- Switching to container based TravisCI [`#136`](https://github.com/form-data/form-data/pull/136) -- Default content-type to 'application/octect-stream' [`#128`](https://github.com/form-data/form-data/pull/128) -- Allow filename as third option of .append [`#125`](https://github.com/form-data/form-data/pull/125) - -### Commits - -- Allow custom content-type without setting a filename [`c8a77cc`](https://github.com/form-data/form-data/commit/c8a77cc0cf16d15f1ebf25272beaab639ce89f76) -- Fixed ranged test. [`a5ac58c`](https://github.com/form-data/form-data/commit/a5ac58cbafd0909f32fe8301998f689314fd4859) -- Allow filename as third option of #append [`d081005`](https://github.com/form-data/form-data/commit/d0810058c84764b3c463a18b15ebb37864de9260) -- Allow custom content-type without setting a filename [`8cb9709`](https://github.com/form-data/form-data/commit/8cb9709e5f1809cfde0cd707dbabf277138cd771) - -## [v1.0.0-rc2](https://github.com/form-data/form-data/compare/v1.0.0-rc1...v1.0.0-rc2) - 2015-07-21 - -### Merged - -- #109 Append proper line break [`#123`](https://github.com/form-data/form-data/pull/123) -- Add shim for browser (browserify/webpack). [`#122`](https://github.com/form-data/form-data/pull/122) -- Update license field [`#115`](https://github.com/form-data/form-data/pull/115) - -### Commits - -- Add shim for browser. [`87c33f4`](https://github.com/form-data/form-data/commit/87c33f4269a2211938f80ab3e53835362b1afee8) -- Bump version [`a3f5d88`](https://github.com/form-data/form-data/commit/a3f5d8872c810ce240c7d3838c69c3c9fcecc111) - -## [v1.0.0-rc1](https://github.com/form-data/form-data/compare/0.2...v1.0.0-rc1) - 2015-06-13 - -### Merged - -- v1.0.0-rc1 [`#114`](https://github.com/form-data/form-data/pull/114) -- Updated test targets [`#102`](https://github.com/form-data/form-data/pull/102) -- Remove duplicate plus sign [`#94`](https://github.com/form-data/form-data/pull/94) - -### Commits - -- Made https test local. Updated deps. [`afe1959`](https://github.com/form-data/form-data/commit/afe1959ec711f23e57038ab5cb20fedd86271f29) -- Proper self-signed ssl [`4d5ec50`](https://github.com/form-data/form-data/commit/4d5ec50e81109ad2addf3dbb56dc7c134df5ff87) -- Update HTTPS handling for modern days [`2c11b01`](https://github.com/form-data/form-data/commit/2c11b01ce2c06e205c84d7154fa2f27b66c94f3b) -- Made tests more local [`09633fa`](https://github.com/form-data/form-data/commit/09633fa249e7ce3ac581543aafe16ee9039a823b) -- Auto create tmp folder for Formidable [`28714b7`](https://github.com/form-data/form-data/commit/28714b7f71ad556064cdff88fabe6b92bd407ddd) -- remove duplicate plus sign [`36e09c6`](https://github.com/form-data/form-data/commit/36e09c695b0514d91a23f5cd64e6805404776fc7) - -## [0.2](https://github.com/form-data/form-data/compare/0.1.4...0.2) - 2014-12-06 - -### Merged - -- Bumped version [`#96`](https://github.com/form-data/form-data/pull/96) -- Replace mime library. [`#95`](https://github.com/form-data/form-data/pull/95) -- #71 Respect bytes range in a read stream. [`#73`](https://github.com/form-data/form-data/pull/73) - -## [0.1.4](https://github.com/form-data/form-data/compare/0.1.3...0.1.4) - 2014-06-23 - -### Merged - -- Updated version. [`#76`](https://github.com/form-data/form-data/pull/76) -- #71 Respect bytes range in a read stream. [`#75`](https://github.com/form-data/form-data/pull/75) - -## [0.1.3](https://github.com/form-data/form-data/compare/0.1.2...0.1.3) - 2014-06-17 - -### Merged - -- Updated versions. [`#69`](https://github.com/form-data/form-data/pull/69) -- Added custom headers support [`#60`](https://github.com/form-data/form-data/pull/60) -- Added test for Request. Small fixes. [`#56`](https://github.com/form-data/form-data/pull/56) - -### Commits - -- Added test for the custom header functionality [`bd50685`](https://github.com/form-data/form-data/commit/bd506855af62daf728ef1718cae88ed23bb732f3) -- Documented custom headers option [`77a024a`](https://github.com/form-data/form-data/commit/77a024a9375f93c246c35513d80f37d5e11d35ff) -- Removed 0.6 support. [`aee8dce`](https://github.com/form-data/form-data/commit/aee8dce604c595cfaacfc6efb12453d1691ac0d6) - -## [0.1.2](https://github.com/form-data/form-data/compare/0.1.1...0.1.2) - 2013-10-02 - -### Merged - -- Fixed default https port assignment, added tests. [`#52`](https://github.com/form-data/form-data/pull/52) -- #45 Added tests for multi-submit. Updated readme. [`#49`](https://github.com/form-data/form-data/pull/49) -- #47 return request from .submit() [`#48`](https://github.com/form-data/form-data/pull/48) - -### Commits - -- Bumped version. [`2b761b2`](https://github.com/form-data/form-data/commit/2b761b256ae607fc2121621f12c2e1042be26baf) - -## [0.1.1](https://github.com/form-data/form-data/compare/0.1.0...0.1.1) - 2013-08-21 - -### Merged - -- Added license type and reference to package.json [`#46`](https://github.com/form-data/form-data/pull/46) - -### Commits - -- #47 return request from .submit() [`1d61c2d`](https://github.com/form-data/form-data/commit/1d61c2da518bd5e136550faa3b5235bb540f1e06) -- #47 Updated readme. [`e3dae15`](https://github.com/form-data/form-data/commit/e3dae1526bd3c3b9d7aff6075abdaac12c3cc60f) - -## [0.1.0](https://github.com/form-data/form-data/compare/0.0.10...0.1.0) - 2013-07-08 - -### Merged - -- Update master to 0.1.0 [`#44`](https://github.com/form-data/form-data/pull/44) -- 0.1.0 - Added error handling. Streamlined edge cases behavior. [`#43`](https://github.com/form-data/form-data/pull/43) -- Pointed badges back to mothership. [`#39`](https://github.com/form-data/form-data/pull/39) -- Updated node-fake to support 0.11 tests. [`#37`](https://github.com/form-data/form-data/pull/37) -- Updated tests to play nice with 0.10 [`#36`](https://github.com/form-data/form-data/pull/36) -- #32 Added .npmignore [`#34`](https://github.com/form-data/form-data/pull/34) -- Spring cleaning [`#30`](https://github.com/form-data/form-data/pull/30) - -### Commits - -- Added error handling. Streamlined edge cases behavior. [`4da496e`](https://github.com/form-data/form-data/commit/4da496e577cb9bc0fd6c94cbf9333a0082ce353a) -- Made tests more deterministic. [`7fc009b`](https://github.com/form-data/form-data/commit/7fc009b8a2cc9232514a44b2808b9f89ce68f7d2) -- Fixed styling. [`d373b41`](https://github.com/form-data/form-data/commit/d373b417e779024bc3326073e176383cd08c0b18) -- #40 Updated Readme.md regarding getLengthSync() [`efb373f`](https://github.com/form-data/form-data/commit/efb373fd63814d977960e0299d23c92cd876cfef) -- Updated readme. [`527e3a6`](https://github.com/form-data/form-data/commit/527e3a63b032cb6f576f597ad7ff2ebcf8a0b9b4) - -## [0.0.10](https://github.com/form-data/form-data/compare/0.0.9...0.0.10) - 2013-05-08 - -### Commits - -- Updated tests to play nice with 0.10. [`932b39b`](https://github.com/form-data/form-data/commit/932b39b773e49edcb2c5d2e58fe389ab6c42f47c) -- Added dependency tracking. [`3131d7f`](https://github.com/form-data/form-data/commit/3131d7f6996cd519d50547e4de1587fd80d0fa07) - -## 0.0.9 - 2013-04-29 - -### Merged - -- Custom params for form.submit() should cover most edge cases. [`#22`](https://github.com/form-data/form-data/pull/22) -- Updated Readme and version number. [`#20`](https://github.com/form-data/form-data/pull/20) -- Allow custom headers and pre-known length in parts [`#17`](https://github.com/form-data/form-data/pull/17) -- Bumped version number. [`#12`](https://github.com/form-data/form-data/pull/12) -- Fix for #10 [`#11`](https://github.com/form-data/form-data/pull/11) -- Bumped version number. [`#8`](https://github.com/form-data/form-data/pull/8) -- Added support for https destination, http-response and mikeal's request streams. [`#7`](https://github.com/form-data/form-data/pull/7) -- Updated git url. [`#6`](https://github.com/form-data/form-data/pull/6) -- Version bump. [`#5`](https://github.com/form-data/form-data/pull/5) -- Changes to support custom content-type and getLengthSync. [`#4`](https://github.com/form-data/form-data/pull/4) -- make .submit(url) use host from url, not 'localhost' [`#2`](https://github.com/form-data/form-data/pull/2) -- Make package.json JSON [`#1`](https://github.com/form-data/form-data/pull/1) - -### Fixed - -- Add MIT license [`#14`](https://github.com/form-data/form-data/issues/14) - -### Commits - -- Spring cleaning. [`850ba1b`](https://github.com/form-data/form-data/commit/850ba1b649b6856b0fa87bbcb04bc70ece0137a6) -- Added custom request params to form.submit(). Made tests more stable. [`de3502f`](https://github.com/form-data/form-data/commit/de3502f6c4a509f6ed12a7dd9dc2ce9c2e0a8d23) -- Basic form (no files) working [`6ffdc34`](https://github.com/form-data/form-data/commit/6ffdc343e8594cfc2efe1e27653ea39d8980a14e) -- Got initial test to pass [`9a59d08`](https://github.com/form-data/form-data/commit/9a59d08c024479fd3c9d99ba2f0893a47b3980f0) -- Implement initial getLength [`9060c91`](https://github.com/form-data/form-data/commit/9060c91b861a6573b73beddd11e866db422b5830) -- Make getLength work with file streams [`6f6b1e9`](https://github.com/form-data/form-data/commit/6f6b1e9b65951e6314167db33b446351702f5558) -- Implemented a simplistic submit() function [`41e9cc1`](https://github.com/form-data/form-data/commit/41e9cc124124721e53bc1d1459d45db1410c44e6) -- added test for custom headers and content-length in parts (felixge/node-form-data/17) [`b16d14e`](https://github.com/form-data/form-data/commit/b16d14e693670f5d52babec32cdedd1aa07c1aa4) -- Fixed code styling. [`5847424`](https://github.com/form-data/form-data/commit/5847424c666970fc2060acd619e8a78678888a82) -- #29 Added custom filename and content-type options to support identity-less streams. [`adf8b4a`](https://github.com/form-data/form-data/commit/adf8b4a41530795682cd3e35ffaf26b30288ccda) -- Initial Readme and package.json [`8c744e5`](https://github.com/form-data/form-data/commit/8c744e58be4014bdf432e11b718ed87f03e217af) -- allow append() to completely override header and boundary [`3fb2ad4`](https://github.com/form-data/form-data/commit/3fb2ad491f66e4b4ff16130be25b462820b8c972) -- Syntax highlighting [`ab3a6a5`](https://github.com/form-data/form-data/commit/ab3a6a5ed1ab77a2943ce3befcb2bb3cd9ff0330) -- Updated Readme.md [`de8f441`](https://github.com/form-data/form-data/commit/de8f44122ca754cbfedc0d2748e84add5ff0b669) -- Added examples to Readme file. [`c406ac9`](https://github.com/form-data/form-data/commit/c406ac921d299cbc130464ed19338a9ef97cb650) -- pass options.knownLength to set length at beginning, w/o waiting for async size calculation [`e2ac039`](https://github.com/form-data/form-data/commit/e2ac0397ff7c37c3dca74fa9925b55f832e4fa0b) -- Updated dependencies and added test command. [`09bd7cd`](https://github.com/form-data/form-data/commit/09bd7cd86f1ad7a58df1b135eb6eef0d290894b4) -- Bumped version. Updated readme. [`4581140`](https://github.com/form-data/form-data/commit/4581140f322758c6fc92019d342c7d7d6c94af5c) -- Test runner [`1707ebb`](https://github.com/form-data/form-data/commit/1707ebbd180856e6ed44e80c46b02557e2425762) -- Added .npmignore, bumped version. [`2e033e0`](https://github.com/form-data/form-data/commit/2e033e0e4be7c1457be090cd9b2996f19d8fb665) -- FormData.prototype.append takes and passes along options (for header) [`b519203`](https://github.com/form-data/form-data/commit/b51920387ed4da7b4e106fc07b9459f26b5ae2f0) -- Make package.json JSON [`bf1b58d`](https://github.com/form-data/form-data/commit/bf1b58df794b10fda86ed013eb9237b1e5032085) -- Add dependencies to package.json [`7413d0b`](https://github.com/form-data/form-data/commit/7413d0b4cf5546312d47ea426db8180619083974) -- Add convenient submit() interface [`55855e4`](https://github.com/form-data/form-data/commit/55855e4bea14585d4a3faf9e7318a56696adbc7d) -- Fix content type [`08b6ae3`](https://github.com/form-data/form-data/commit/08b6ae337b23ef1ba457ead72c9b133047df213c) -- Combatting travis rvm calls. [`409adfd`](https://github.com/form-data/form-data/commit/409adfd100a3cf4968a632c05ba58d92d262d144) -- Fixed Issue #2 [`b3a5d66`](https://github.com/form-data/form-data/commit/b3a5d661739dcd6921b444b81d5cb3c32fab655d) -- Fix for #10. [`bab70b9`](https://github.com/form-data/form-data/commit/bab70b9e803e17287632762073d227d6c59989e0) -- Trying workarounds for formidable - 0.6 "love". [`25782a3`](https://github.com/form-data/form-data/commit/25782a3f183d9c30668ec2bca6247ed83f10611c) -- change whitespace to conform with felixge's style guide [`9fa34f4`](https://github.com/form-data/form-data/commit/9fa34f433bece85ef73086a874c6f0164ab7f1f6) -- Add async to deps [`b7d1a6b`](https://github.com/form-data/form-data/commit/b7d1a6b10ee74be831de24ed76843e5a6935f155) -- typo [`7860a9c`](https://github.com/form-data/form-data/commit/7860a9c8a582f0745ce0e4a0549f4bffc29c0b50) -- Bumped version. [`fa36c1b`](https://github.com/form-data/form-data/commit/fa36c1b4229c34b85d7efd41908429b6d1da3bfc) -- Updated .gitignore [`de567bd`](https://github.com/form-data/form-data/commit/de567bde620e53b8e9b0ed3506e79491525ec558) -- Don't rely on resume() being called by pipe [`1deae47`](https://github.com/form-data/form-data/commit/1deae47e042bcd170bd5dbe2b4a4fa5356bb8aa2) -- One more wrong content type [`28f166d`](https://github.com/form-data/form-data/commit/28f166d443e2eb77f2559324014670674b97e46e) -- Another typo [`b959b6a`](https://github.com/form-data/form-data/commit/b959b6a2be061cac17f8d329b89cea109f0f32be) -- Typo [`698fa0a`](https://github.com/form-data/form-data/commit/698fa0aa5dbf4eeb77377415acc202a6fbe3f4a2) -- Being simply dumb. [`b614db8`](https://github.com/form-data/form-data/commit/b614db85702061149fbd98418605106975e72ade) -- Fixed typo in the filename. [`30af6be`](https://github.com/form-data/form-data/commit/30af6be13fb0c9e92b32e935317680b9d7599928) diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/License b/Lombiq.EInvoiceValidator/node_modules/form-data/License deleted file mode 100644 index c7ff12a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/form-data/License +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/README.md b/Lombiq.EInvoiceValidator/node_modules/form-data/README.md deleted file mode 100644 index d71caea..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/form-data/README.md +++ /dev/null @@ -1,355 +0,0 @@ -# Form-Data [![NPM Module](https://img.shields.io/npm/v/form-data.svg)](https://www.npmjs.com/package/form-data) [![Join the chat at https://gitter.im/form-data/form-data](http://form-data.github.io/images/gitterbadge.svg)](https://gitter.im/form-data/form-data) - -A library to create readable ```"multipart/form-data"``` streams. Can be used to submit forms and file uploads to other web applications. - -The API of this library is inspired by the [XMLHttpRequest-2 FormData Interface][xhr2-fd]. - -[xhr2-fd]: http://dev.w3.org/2006/webapi/XMLHttpRequest-2/Overview.html#the-formdata-interface - -[![Linux Build](https://img.shields.io/travis/form-data/form-data/v4.0.6.svg?label=linux:6.x-12.x)](https://travis-ci.org/form-data/form-data) -[![MacOS Build](https://img.shields.io/travis/form-data/form-data/v4.0.6.svg?label=macos:6.x-12.x)](https://travis-ci.org/form-data/form-data) -[![Windows Build](https://img.shields.io/travis/form-data/form-data/v4.0.6.svg?label=windows:6.x-12.x)](https://travis-ci.org/form-data/form-data) - -[![Coverage Status](https://img.shields.io/coveralls/form-data/form-data/v4.0.6.svg?label=code+coverage)](https://coveralls.io/github/form-data/form-data?branch=master) -[![Dependency Status](https://img.shields.io/david/form-data/form-data.svg)](https://david-dm.org/form-data/form-data) - -## Install - -``` -npm install --save form-data -``` - -## Usage - -In this example we are constructing a form with 3 fields that contain a string, -a buffer and a file stream. - -``` javascript -var FormData = require('form-data'); -var fs = require('fs'); - -var form = new FormData(); -form.append('my_field', 'my value'); -form.append('my_buffer', new Buffer(10)); -form.append('my_file', fs.createReadStream('/foo/bar.jpg')); -``` - -Also you can use http-response stream: - -``` javascript -var FormData = require('form-data'); -var http = require('http'); - -var form = new FormData(); - -http.request('http://nodejs.org/images/logo.png', function (response) { - form.append('my_field', 'my value'); - form.append('my_buffer', new Buffer(10)); - form.append('my_logo', response); -}); -``` - -Or @mikeal's [request](https://github.com/request/request) stream: - -``` javascript -var FormData = require('form-data'); -var request = require('request'); - -var form = new FormData(); - -form.append('my_field', 'my value'); -form.append('my_buffer', new Buffer(10)); -form.append('my_logo', request('http://nodejs.org/images/logo.png')); -``` - -In order to submit this form to a web application, call ```submit(url, [callback])``` method: - -``` javascript -form.submit('http://example.org/', function (err, res) { - // res – response object (http.IncomingMessage) // - res.resume(); -}); - -``` - -For more advanced request manipulations ```submit()``` method returns ```http.ClientRequest``` object, or you can choose from one of the alternative submission methods. - -### Custom options - -You can provide custom options, such as `maxDataSize`: - -``` javascript -var FormData = require('form-data'); - -var form = new FormData({ maxDataSize: 20971520 }); -form.append('my_field', 'my value'); -form.append('my_buffer', /* something big */); -``` - -List of available options could be found in [combined-stream](https://github.com/felixge/node-combined-stream/blob/master/lib/combined_stream.js#L7-L15) - -### Alternative submission methods - -You can use node's http client interface: - -``` javascript -var http = require('http'); - -var request = http.request({ - method: 'post', - host: 'example.org', - path: '/upload', - headers: form.getHeaders() -}); - -form.pipe(request); - -request.on('response', function (res) { - console.log(res.statusCode); -}); -``` - -Or if you would prefer the `'Content-Length'` header to be set for you: - -``` javascript -form.submit('example.org/upload', function (err, res) { - console.log(res.statusCode); -}); -``` - -To use custom headers and pre-known length in parts: - -``` javascript -var CRLF = '\r\n'; -var form = new FormData(); - -var options = { - header: CRLF + '--' + form.getBoundary() + CRLF + 'X-Custom-Header: 123' + CRLF + CRLF, - knownLength: 1 -}; - -form.append('my_buffer', buffer, options); - -form.submit('http://example.com/', function (err, res) { - if (err) throw err; - console.log('Done'); -}); -``` - -Form-Data can recognize and fetch all the required information from common types of streams (```fs.readStream```, ```http.response``` and ```mikeal's request```), for some other types of streams you'd need to provide "file"-related information manually: - -``` javascript -someModule.stream(function (err, stdout, stderr) { - if (err) throw err; - - var form = new FormData(); - - form.append('file', stdout, { - filename: 'unicycle.jpg', // ... or: - filepath: 'photos/toys/unicycle.jpg', - contentType: 'image/jpeg', - knownLength: 19806 - }); - - form.submit('http://example.com/', function (err, res) { - if (err) throw err; - console.log('Done'); - }); -}); -``` - -The `filepath` property overrides `filename` and may contain a relative path. This is typically used when uploading [multiple files from a directory](https://wicg.github.io/entries-api/#dom-htmlinputelement-webkitdirectory). - -For edge cases, like POST request to URL with query string or to pass HTTP auth credentials, object can be passed to `form.submit()` as first parameter: - -``` javascript -form.submit({ - host: 'example.com', - path: '/probably.php?extra=params', - auth: 'username:password' -}, function (err, res) { - console.log(res.statusCode); -}); -``` - -In case you need to also send custom HTTP headers with the POST request, you can use the `headers` key in first parameter of `form.submit()`: - -``` javascript -form.submit({ - host: 'example.com', - path: '/surelynot.php', - headers: { 'x-test-header': 'test-header-value' } -}, function (err, res) { - console.log(res.statusCode); -}); -``` - -### Methods - -- [_Void_ append( **String** _field_, **Mixed** _value_ [, **Mixed** _options_] )](https://github.com/form-data/form-data#void-append-string-field-mixed-value--mixed-options-). -- [_Headers_ getHeaders( [**Headers** _userHeaders_] )](https://github.com/form-data/form-data#array-getheaders-array-userheaders-) -- [_String_ getBoundary()](https://github.com/form-data/form-data#string-getboundary) -- [_Void_ setBoundary()](https://github.com/form-data/form-data#void-setboundary) -- [_Buffer_ getBuffer()](https://github.com/form-data/form-data#buffer-getbuffer) -- [_Integer_ getLengthSync()](https://github.com/form-data/form-data#integer-getlengthsync) -- [_Integer_ getLength( **function** _callback_ )](https://github.com/form-data/form-data#integer-getlength-function-callback-) -- [_Boolean_ hasKnownLength()](https://github.com/form-data/form-data#boolean-hasknownlength) -- [_Request_ submit( _params_, **function** _callback_ )](https://github.com/form-data/form-data#request-submit-params-function-callback-) -- [_String_ toString()](https://github.com/form-data/form-data#string-tostring) - -#### _Void_ append( **String** _field_, **Mixed** _value_ [, **Mixed** _options_] ) -Append data to the form. You can submit about any format (string, integer, boolean, buffer, etc.). However, Arrays are not supported and need to be turned into strings by the user. -```javascript -var form = new FormData(); -form.append('my_string', 'my value'); -form.append('my_integer', 1); -form.append('my_boolean', true); -form.append('my_buffer', new Buffer(10)); -form.append('my_array_as_json', JSON.stringify(['bird', 'cute'])); -``` - -You may provide a string for options, or an object. -```javascript -// Set filename by providing a string for options -form.append('my_file', fs.createReadStream('/foo/bar.jpg'), 'bar.jpg'); - -// provide an object. -form.append('my_file', fs.createReadStream('/foo/bar.jpg'), { filename: 'bar.jpg', contentType: 'image/jpeg', knownLength: 19806 }); -``` - -#### _Headers_ getHeaders( [**Headers** _userHeaders_] ) -This method adds the correct `content-type` header to the provided array of `userHeaders`. - -#### _String_ getBoundary() -Return the boundary of the formData. By default, the boundary consists of 26 `-` followed by 24 numbers -for example: -```javascript ---------------------------515890814546601021194782 -``` - -#### _Void_ setBoundary(String _boundary_) -Set the boundary string, overriding the default behavior described above. - -_Note: The boundary must be unique and may not appear in the data._ - -#### _Buffer_ getBuffer() -Return the full formdata request package, as a Buffer. You can insert this Buffer in e.g. Axios to send multipart data. -```javascript -var form = new FormData(); -form.append('my_buffer', Buffer.from([0x4a,0x42,0x20,0x52,0x6f,0x63,0x6b,0x73])); -form.append('my_file', fs.readFileSync('/foo/bar.jpg')); - -axios.post('https://example.com/path/to/api', form.getBuffer(), form.getHeaders()); -``` -**Note:** Because the output is of type Buffer, you can only append types that are accepted by Buffer: *string, Buffer, ArrayBuffer, Array, or Array-like Object*. A ReadStream for example will result in an error. - -#### _Integer_ getLengthSync() -Same as `getLength` but synchronous. - -_Note: getLengthSync __doesn't__ calculate streams length._ - -#### _Integer_ getLength(**function** _callback_ ) -Returns the `Content-Length` async. The callback is used to handle errors and continue once the length has been calculated -```javascript -this.getLength(function (err, length) { - if (err) { - this._error(err); - return; - } - - // add content length - request.setHeader('Content-Length', length); - - ... -}.bind(this)); -``` - -#### _Boolean_ hasKnownLength() -Checks if the length of added values is known. - -#### _Request_ submit(_params_, **function** _callback_ ) -Submit the form to a web application. -```javascript -var form = new FormData(); -form.append('my_string', 'Hello World'); - -form.submit('http://example.com/', function (err, res) { - // res – response object (http.IncomingMessage) // - res.resume(); -} ); -``` - -#### _String_ toString() -Returns the form data as a string. Don't use this if you are sending files or buffers, use `getBuffer()` instead. - -### Integration with other libraries - -#### Request - -Form submission using [request](https://github.com/request/request): - -```javascript -var formData = { - my_field: 'my_value', - my_file: fs.createReadStream(__dirname + '/unicycle.jpg'), -}; - -request.post({url:'http://service.com/upload', formData: formData}, function (err, httpResponse, body) { - if (err) { - return console.error('upload failed:', err); - } - console.log('Upload successful! Server responded with:', body); -}); -``` - -For more details see [request readme](https://github.com/request/request#multipartform-data-multipart-form-uploads). - -#### node-fetch - -You can also submit a form using [node-fetch](https://github.com/bitinn/node-fetch): - -```javascript -var form = new FormData(); - -form.append('a', 1); - -fetch('http://example.com', { method: 'POST', body: form }) - .then(function (res) { - return res.json(); - }).then(function (json) { - console.log(json); - }); -``` - -#### axios - -In Node.js you can post a file using [axios](https://github.com/axios/axios): -```javascript -const form = new FormData(); -const stream = fs.createReadStream(PATH_TO_FILE); - -form.append('image', stream); - -// In Node.js environment you need to set boundary in the header field 'Content-Type' by calling method `getHeaders` -const formHeaders = form.getHeaders(); - -axios.post('http://example.com', form, { - headers: { - ...formHeaders, - }, -}) - .then(response => response) - .catch(error => error) -``` - -## Notes - -- ```getLengthSync()``` method DOESN'T calculate length for streams, use ```knownLength``` options as workaround. -- ```getLength(cb)``` will send an error as first parameter of callback if stream length cannot be calculated (e.g. send in custom streams w/o using ```knownLength```). -- ```submit``` will not add `content-length` if form length is unknown or not calculable. -- Starting version `2.x` FormData has dropped support for `node@0.10.x`. -- Starting version `3.x` FormData has dropped support for `node@4.x`. - -## License - -Form-Data is released under the [MIT](License) license. diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/form-data/index.d.ts deleted file mode 100644 index 295e9e9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/form-data/index.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -// Definitions by: Carlos Ballesteros Velasco -// Leon Yu -// BendingBender -// Maple Miao - -/// -import * as stream from 'stream'; -import * as http from 'http'; - -export = FormData; - -// Extracted because @types/node doesn't export interfaces. -interface ReadableOptions { - highWaterMark?: number; - encoding?: string; - objectMode?: boolean; - read?(this: stream.Readable, size: number): void; - destroy?(this: stream.Readable, error: Error | null, callback: (error: Error | null) => void): void; - autoDestroy?: boolean; -} - -interface Options extends ReadableOptions { - writable?: boolean; - readable?: boolean; - dataSize?: number; - maxDataSize?: number; - pauseStreams?: boolean; -} - -declare class FormData extends stream.Readable { - constructor(options?: Options); - append(key: string, value: any, options?: FormData.AppendOptions | string): void; - getHeaders(userHeaders?: FormData.Headers): FormData.Headers; - submit( - params: string | FormData.SubmitOptions, - callback?: (error: Error | null, response: http.IncomingMessage) => void - ): http.ClientRequest; - getBuffer(): Buffer; - setBoundary(boundary: string): void; - getBoundary(): string; - getLength(callback: (err: Error | null, length: number) => void): void; - getLengthSync(): number; - hasKnownLength(): boolean; -} - -declare namespace FormData { - interface Headers { - [key: string]: any; - } - - interface AppendOptions { - header?: string | Headers; - knownLength?: number; - filename?: string; - filepath?: string; - contentType?: string; - } - - interface SubmitOptions extends http.RequestOptions { - protocol?: 'https:' | 'http:'; - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.js b/Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.js deleted file mode 100644 index 8950a91..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/* eslint-env browser */ -module.exports = typeof self === 'object' ? self.FormData : window.FormData; diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.min.js b/Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.min.js deleted file mode 100644 index 7ba12dc..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/form-data/lib/browser.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/form-data@4.0.6/lib/browser.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports="object"==typeof self?self.FormData:window.FormData; -//# sourceMappingURL=/sm/53868193f5f617c495194ac577269795fe74418421322e4a8df6caa50b8ed46c.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.js b/Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.js deleted file mode 100644 index a05c8ce..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.js +++ /dev/null @@ -1,506 +0,0 @@ -'use strict'; - -var CombinedStream = require('combined-stream'); -var util = require('util'); -var path = require('path'); -var http = require('http'); -var https = require('https'); -var parseUrl = require('url').parse; -var fs = require('fs'); -var Stream = require('stream').Stream; -var crypto = require('crypto'); -var mime = require('mime-types'); -var asynckit = require('asynckit'); -var setToStringTag = require('es-set-tostringtag'); -var hasOwn = require('hasown'); -var populate = require('./populate.js'); - -/** - * Escape CR, LF, and `"` in a multipart `name`/`filename` parameter, so a field - * name or filename can not break out of its header line to inject headers or - * smuggle additional parts. Matches the WHATWG HTML multipart/form-data encoding. - * - * @param {string} str - the parameter value to escape - * @returns {string} the escaped value - */ -function escapeHeaderParam(str) { - return String(str).replace(/\r/g, '%0D').replace(/\n/g, '%0A').replace(/"/g, '%22'); -} - -/** - * Create readable "multipart/form-data" streams. - * Can be used to submit forms - * and file uploads to other web applications. - * - * @constructor - * @param {object} options - Properties to be added/overriden for FormData and CombinedStream - */ -function FormData(options) { - if (!(this instanceof FormData)) { - return new FormData(options); - } - - this._overheadLength = 0; - this._valueLength = 0; - this._valuesToMeasure = []; - - CombinedStream.call(this); - - options = options || {}; // eslint-disable-line no-param-reassign - for (var option in options) { // eslint-disable-line no-restricted-syntax - this[option] = options[option]; - } -} - -// make it a Stream -util.inherits(FormData, CombinedStream); - -FormData.LINE_BREAK = '\r\n'; -FormData.DEFAULT_CONTENT_TYPE = 'application/octet-stream'; - -FormData.prototype.append = function (field, value, options) { - options = options || {}; // eslint-disable-line no-param-reassign - - // allow filename as single option - if (typeof options === 'string') { - options = { filename: options }; // eslint-disable-line no-param-reassign - } - - var append = CombinedStream.prototype.append.bind(this); - - // all that streamy business can't handle numbers - if (typeof value === 'number' || value == null) { - value = String(value); // eslint-disable-line no-param-reassign - } - - // https://github.com/felixge/node-form-data/issues/38 - if (Array.isArray(value)) { - /* - * Please convert your array into string - * the way web server expects it - */ - this._error(new Error('Arrays are not supported.')); - return; - } - - var header = this._multiPartHeader(field, value, options); - var footer = this._multiPartFooter(); - - append(header); - append(value); - append(footer); - - // pass along options.knownLength - this._trackLength(header, value, options); -}; - -FormData.prototype._trackLength = function (header, value, options) { - var valueLength = 0; - - /* - * used w/ getLengthSync(), when length is known. - * e.g. for streaming directly from a remote server, - * w/ a known file a size, and not wanting to wait for - * incoming file to finish to get its size. - */ - if (options.knownLength != null) { - valueLength += Number(options.knownLength); - } else if (Buffer.isBuffer(value)) { - valueLength = value.length; - } else if (typeof value === 'string') { - valueLength = Buffer.byteLength(value); - } - - this._valueLength += valueLength; - - // @check why add CRLF? does this account for custom/multiple CRLFs? - this._overheadLength += Buffer.byteLength(header) + FormData.LINE_BREAK.length; - - // empty or either doesn't have path or not an http response or not a stream - if (!value || (!value.path && !(value.readable && hasOwn(value, 'httpVersion')) && !(value instanceof Stream))) { - return; - } - - // no need to bother with the length - if (!options.knownLength) { - this._valuesToMeasure.push(value); - } -}; - -FormData.prototype._lengthRetriever = function (value, callback) { - if (hasOwn(value, 'fd')) { - // take read range into a account - // `end` = Infinity –> read file till the end - // - // TODO: Looks like there is bug in Node fs.createReadStream - // it doesn't respect `end` options without `start` options - // Fix it when node fixes it. - // https://github.com/joyent/node/issues/7819 - if (value.end != undefined && value.end != Infinity && value.start != undefined) { - // when end specified - // no need to calculate range - // inclusive, starts with 0 - callback(null, value.end + 1 - (value.start ? value.start : 0)); // eslint-disable-line callback-return - - // not that fast snoopy - } else { - // still need to fetch file size from fs - fs.stat(value.path, function (err, stat) { - if (err) { - callback(err); - return; - } - - // update final size based on the range options - var fileSize = stat.size - (value.start ? value.start : 0); - callback(null, fileSize); - }); - } - - // or http response - } else if (hasOwn(value, 'httpVersion')) { - callback(null, Number(value.headers['content-length'])); // eslint-disable-line callback-return - - // or request stream http://github.com/mikeal/request - } else if (hasOwn(value, 'httpModule')) { - // wait till response come back - value.on('response', function (response) { - value.pause(); - callback(null, Number(response.headers['content-length'])); - }); - value.resume(); - - // something else - } else { - callback('Unknown stream'); // eslint-disable-line callback-return - } -}; - -FormData.prototype._multiPartHeader = function (field, value, options) { - /* - * custom header specified (as string)? - * it becomes responsible for boundary - * (e.g. to handle extra CRLFs on .NET servers) - */ - if (typeof options.header === 'string') { - return options.header; - } - - var contentDisposition = this._getContentDisposition(value, options); - var contentType = this._getContentType(value, options); - - var contents = ''; - var headers = { - // add custom disposition as third element or keep it two elements if not - 'Content-Disposition': ['form-data', 'name="' + escapeHeaderParam(field) + '"'].concat(contentDisposition || []), - // if no content type. allow it to be empty array - 'Content-Type': [].concat(contentType || []) - }; - - // allow custom headers. - if (typeof options.header === 'object') { - populate(headers, options.header); - } - - var header; - for (var prop in headers) { // eslint-disable-line no-restricted-syntax - if (hasOwn(headers, prop)) { - header = headers[prop]; - - // skip nullish headers. - if (header == null) { - continue; // eslint-disable-line no-restricted-syntax, no-continue - } - - // convert all headers to arrays. - if (!Array.isArray(header)) { - header = [header]; - } - - // add non-empty headers. - if (header.length) { - contents += prop + ': ' + header.join('; ') + FormData.LINE_BREAK; - } - } - } - - return '--' + this.getBoundary() + FormData.LINE_BREAK + contents + FormData.LINE_BREAK; -}; - -FormData.prototype._getContentDisposition = function (value, options) { // eslint-disable-line consistent-return - var filename; - - if (typeof options.filepath === 'string') { - // custom filepath for relative paths - filename = path.normalize(options.filepath).replace(/\\/g, '/'); - } else if (options.filename || (value && (value.name || value.path))) { - /* - * custom filename take precedence - * formidable and the browser add a name property - * fs- and request- streams have path property - */ - filename = path.basename(options.filename || (value && (value.name || value.path))); - } else if (value && value.readable && hasOwn(value, 'httpVersion')) { - // or try http response - filename = path.basename(value.client._httpMessage.path || ''); - } - - if (filename) { - return 'filename="' + escapeHeaderParam(filename) + '"'; - } -}; - -FormData.prototype._getContentType = function (value, options) { - // use custom content-type above all - var contentType = options.contentType; - - // or try `name` from formidable, browser - if (!contentType && value && value.name) { - contentType = mime.lookup(value.name); - } - - // or try `path` from fs-, request- streams - if (!contentType && value && value.path) { - contentType = mime.lookup(value.path); - } - - // or if it's http-reponse - if (!contentType && value && value.readable && hasOwn(value, 'httpVersion')) { - contentType = value.headers['content-type']; - } - - // or guess it from the filepath or filename - if (!contentType && (options.filepath || options.filename)) { - contentType = mime.lookup(options.filepath || options.filename); - } - - // fallback to the default content type if `value` is not simple value - if (!contentType && value && typeof value === 'object') { - contentType = FormData.DEFAULT_CONTENT_TYPE; - } - - return contentType; -}; - -FormData.prototype._multiPartFooter = function () { - return function (next) { - var footer = FormData.LINE_BREAK; - - var lastPart = this._streams.length === 0; - if (lastPart) { - footer += this._lastBoundary(); - } - - next(footer); - }.bind(this); -}; - -FormData.prototype._lastBoundary = function () { - return '--' + this.getBoundary() + '--' + FormData.LINE_BREAK; -}; - -FormData.prototype.getHeaders = function (userHeaders) { - var header; - var formHeaders = { - 'content-type': 'multipart/form-data; boundary=' + this.getBoundary() - }; - - for (header in userHeaders) { // eslint-disable-line no-restricted-syntax - if (hasOwn(userHeaders, header)) { - formHeaders[header.toLowerCase()] = userHeaders[header]; - } - } - - return formHeaders; -}; - -FormData.prototype.setBoundary = function (boundary) { - if (typeof boundary !== 'string') { - throw new TypeError('FormData boundary must be a string'); - } - this._boundary = boundary; -}; - -FormData.prototype.getBoundary = function () { - if (!this._boundary) { - this._generateBoundary(); - } - - return this._boundary; -}; - -FormData.prototype.getBuffer = function () { - var dataBuffer = new Buffer.alloc(0); // eslint-disable-line new-cap - var boundary = this.getBoundary(); - - // Create the form content. Add Line breaks to the end of data. - for (var i = 0, len = this._streams.length; i < len; i++) { - if (typeof this._streams[i] !== 'function') { - // Add content to the buffer. - if (Buffer.isBuffer(this._streams[i])) { - dataBuffer = Buffer.concat([dataBuffer, this._streams[i]]); - } else { - dataBuffer = Buffer.concat([dataBuffer, Buffer.from(this._streams[i])]); - } - - // Add break after content. - if (typeof this._streams[i] !== 'string' || this._streams[i].substring(2, boundary.length + 2) !== boundary) { - dataBuffer = Buffer.concat([dataBuffer, Buffer.from(FormData.LINE_BREAK)]); - } - } - } - - // Add the footer and return the Buffer object. - return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]); -}; - -FormData.prototype._generateBoundary = function () { - // This generates a 50 character boundary similar to those used by Firefox. - - // They are optimized for boyer-moore parsing. - this._boundary = '--------------------------' + crypto.randomBytes(12).toString('hex'); -}; - -// Note: getLengthSync DOESN'T calculate streams length -// As workaround one can calculate file size manually and add it as knownLength option -FormData.prototype.getLengthSync = function () { - var knownLength = this._overheadLength + this._valueLength; - - // Don't get confused, there are 3 "internal" streams for each keyval pair so it basically checks if there is any value added to the form - if (this._streams.length) { - knownLength += this._lastBoundary().length; - } - - // https://github.com/form-data/form-data/issues/40 - if (!this.hasKnownLength()) { - /* - * Some async length retrievers are present - * therefore synchronous length calculation is false. - * Please use getLength(callback) to get proper length - */ - this._error(new Error('Cannot calculate proper length in synchronous way.')); - } - - return knownLength; -}; - -// Public API to check if length of added values is known -// https://github.com/form-data/form-data/issues/196 -// https://github.com/form-data/form-data/issues/262 -FormData.prototype.hasKnownLength = function () { - var hasKnownLength = true; - - if (this._valuesToMeasure.length) { - hasKnownLength = false; - } - - return hasKnownLength; -}; - -FormData.prototype.getLength = function (cb) { - var knownLength = this._overheadLength + this._valueLength; - - if (this._streams.length) { - knownLength += this._lastBoundary().length; - } - - if (!this._valuesToMeasure.length) { - process.nextTick(cb.bind(this, null, knownLength)); - return; - } - - asynckit.parallel(this._valuesToMeasure, this._lengthRetriever, function (err, values) { - if (err) { - cb(err); - return; - } - - values.forEach(function (length) { - knownLength += length; - }); - - cb(null, knownLength); - }); -}; - -FormData.prototype.submit = function (params, cb) { - var request; - var options; - var defaults = { method: 'post' }; - - // parse provided url if it's string or treat it as options object - if (typeof params === 'string') { - params = parseUrl(params); // eslint-disable-line no-param-reassign - /* eslint sort-keys: 0 */ - options = populate({ - port: params.port, - path: params.pathname, - host: params.hostname, - protocol: params.protocol - }, defaults); - } else { // use custom params - options = populate(params, defaults); - // if no port provided use default one - if (!options.port) { - options.port = options.protocol === 'https:' ? 443 : 80; - } - } - - // put that good code in getHeaders to some use - options.headers = this.getHeaders(params.headers); - - // https if specified, fallback to http in any other case - if (options.protocol === 'https:') { - request = https.request(options); - } else { - request = http.request(options); - } - - // get content length and fire away - this.getLength(function (err, length) { - if (err && err !== 'Unknown stream') { - this._error(err); - return; - } - - // add content length - if (length) { - request.setHeader('Content-Length', length); - } - - this.pipe(request); - if (cb) { - var onResponse; - - var callback = function (error, responce) { - request.removeListener('error', callback); - request.removeListener('response', onResponse); - - return cb.call(this, error, responce); - }; - - onResponse = callback.bind(this, null); - - request.on('error', callback); - request.on('response', onResponse); - } - }.bind(this)); - - return request; -}; - -FormData.prototype._error = function (err) { - if (!this.error) { - this.error = err; - this.pause(); - this.emit('error', err); - } -}; - -FormData.prototype.toString = function () { - return '[object FormData]'; -}; -setToStringTag(FormData.prototype, 'FormData'); - -// Public API -module.exports = FormData; diff --git a/Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.min.js b/Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.min.js deleted file mode 100644 index 9f56a1a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/form-data/lib/form_data.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/form-data@4.0.6/lib/form_data.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var CombinedStream=require("combined-stream"),util=require("util"),path=require("path"),http=require("http"),https=require("https"),parseUrl=require("url").parse,fs=require("fs"),Stream=require("stream").Stream,crypto=require("crypto"),mime=require("mime-types"),asynckit=require("asynckit"),setToStringTag=require("es-set-tostringtag"),hasOwn=require("hasown"),populate=require("./populate.js");function escapeHeaderParam(t){return String(t).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}function FormData(t){if(!(this instanceof FormData))return new FormData(t);for(var e in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],CombinedStream.call(this),t=t||{})this[e]=t[e]}util.inherits(FormData,CombinedStream),FormData.LINE_BREAK="\r\n",FormData.DEFAULT_CONTENT_TYPE="application/octet-stream",FormData.prototype.append=function(t,e,r){"string"==typeof(r=r||{})&&(r={filename:r});var a=CombinedStream.prototype.append.bind(this);if("number"!=typeof e&&null!=e||(e=String(e)),Array.isArray(e))this._error(new Error("Arrays are not supported."));else{var n=this._multiPartHeader(t,e,r),o=this._multiPartFooter();a(n),a(e),a(o),this._trackLength(n,e,r)}},FormData.prototype._trackLength=function(t,e,r){var a=0;null!=r.knownLength?a+=Number(r.knownLength):Buffer.isBuffer(e)?a=e.length:"string"==typeof e&&(a=Buffer.byteLength(e)),this._valueLength+=a,this._overheadLength+=Buffer.byteLength(t)+FormData.LINE_BREAK.length,e&&(e.path||e.readable&&hasOwn(e,"httpVersion")||e instanceof Stream)&&(r.knownLength||this._valuesToMeasure.push(e))},FormData.prototype._lengthRetriever=function(t,e){hasOwn(t,"fd")?null!=t.end&&t.end!=1/0&&null!=t.start?e(null,t.end+1-(t.start?t.start:0)):fs.stat(t.path,function(r,a){if(r)e(r);else{var n=a.size-(t.start?t.start:0);e(null,n)}}):hasOwn(t,"httpVersion")?e(null,Number(t.headers["content-length"])):hasOwn(t,"httpModule")?(t.on("response",function(r){t.pause(),e(null,Number(r.headers["content-length"]))}),t.resume()):e("Unknown stream")},FormData.prototype._multiPartHeader=function(t,e,r){if("string"==typeof r.header)return r.header;var a,n=this._getContentDisposition(e,r),o=this._getContentType(e,r),s="",i={"Content-Disposition":["form-data",'name="'+escapeHeaderParam(t)+'"'].concat(n||[]),"Content-Type":[].concat(o||[])};for(var h in"object"==typeof r.header&&populate(i,r.header),i)if(hasOwn(i,h)){if(null==(a=i[h]))continue;Array.isArray(a)||(a=[a]),a.length&&(s+=h+": "+a.join("; ")+FormData.LINE_BREAK)}return"--"+this.getBoundary()+FormData.LINE_BREAK+s+FormData.LINE_BREAK},FormData.prototype._getContentDisposition=function(t,e){var r;if("string"==typeof e.filepath?r=path.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?r=path.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&hasOwn(t,"httpVersion")&&(r=path.basename(t.client._httpMessage.path||"")),r)return'filename="'+escapeHeaderParam(r)+'"'},FormData.prototype._getContentType=function(t,e){var r=e.contentType;return!r&&t&&t.name&&(r=mime.lookup(t.name)),!r&&t&&t.path&&(r=mime.lookup(t.path)),!r&&t&&t.readable&&hasOwn(t,"httpVersion")&&(r=t.headers["content-type"]),r||!e.filepath&&!e.filename||(r=mime.lookup(e.filepath||e.filename)),!r&&t&&"object"==typeof t&&(r=FormData.DEFAULT_CONTENT_TYPE),r},FormData.prototype._multiPartFooter=function(){return function(t){var e=FormData.LINE_BREAK;0===this._streams.length&&(e+=this._lastBoundary()),t(e)}.bind(this)},FormData.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+FormData.LINE_BREAK},FormData.prototype.getHeaders=function(t){var e,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)hasOwn(t,e)&&(r[e.toLowerCase()]=t[e]);return r},FormData.prototype.setBoundary=function(t){if("string"!=typeof t)throw new TypeError("FormData boundary must be a string");this._boundary=t},FormData.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},FormData.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),r=0,a=this._streams.length;r (http://debuggable.com/)", - "name": "form-data", - "description": "A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.", - "version": "4.0.6", - "repository": { - "type": "git", - "url": "git://github.com/form-data/form-data.git" - }, - "main": "./lib/form_data", - "browser": "./lib/browser", - "typings": "./index.d.ts", - "scripts": { - "pretest": "npm run lint", - "pretests-only": "rimraf coverage test/tmp", - "tests-only": "istanbul cover test/run.js", - "posttests-only": "istanbul report lcov text", - "test": "npm run tests-only", - "posttest": "npx npm@'>=10.2' audit --production", - "lint": "eslint --ext=js,mjs .", - "report": "istanbul report lcov text", - "ci-lint": "is-node-modern 8 && npm run lint || is-node-not-modern 8", - "ci-test": "npm run tests-only && npm run browser && npm run report", - "predebug": "rimraf coverage test/tmp", - "debug": "verbose=1 ./test/run.js", - "browser": "browserify -t browserify-istanbul test/run-browser.js | obake --coverage", - "check": "istanbul check-coverage coverage/coverage*.json", - "files": "pkgfiles --sort=name", - "get-version": "node -e \"console.log(require('./package.json').version)\"", - "update-readme": "sed -i.bak 's/\\/master\\.svg/\\/v'$(npm --silent run get-version)'.svg/g' README.md", - "postupdate-readme": "mv README.md.bak READ.ME.md.bak", - "restore-readme": "mv READ.ME.md.bak README.md", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prepack": "npm run update-readme", - "postpack": "npm run restore-readme", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "engines": { - "node": ">= 6" - }, - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "es-set-tostringtag": "^2.1.0", - "hasown": "^2.0.4", - "mime-types": "^2.1.35" - }, - "devDependencies": { - "@ljharb/eslint-config": "^22.2.3", - "auto-changelog": "^2.6.0", - "browserify": "^13.3.0", - "browserify-istanbul": "^2.0.0", - "coveralls": "^3.1.1", - "cross-spawn": "^6.0.6", - "eslint": "^8.57.1", - "fake": "^0.2.2", - "far": "^0.0.7", - "formidable": "^1.2.6", - "in-publish": "^2.0.1", - "is-node-modern": "^1.0.0", - "istanbul": "^0.4.5", - "js-randomness-predictor": "^3.6.0", - "obake": "^0.1.2", - "pkgfiles": "^2.3.2", - "pre-commit": "^1.2.2", - "puppeteer": "^1.20.0", - "request": "~2.87.0", - "rimraf": "^2.7.1", - "semver": "^6.3.1", - "tape": "^5.10.1" - }, - "license": "MIT", - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/function-bind/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/function-bind/CHANGELOG.md deleted file mode 100644 index f9e6cc0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/function-bind/CHANGELOG.md +++ /dev/null @@ -1,136 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.1.2](https://github.com/ljharb/function-bind/compare/v1.1.1...v1.1.2) - 2023-10-12 - -### Merged - -- Point to the correct file [`#16`](https://github.com/ljharb/function-bind/pull/16) - -### Commits - -- [Tests] migrate tests to Github Actions [`4f8b57c`](https://github.com/ljharb/function-bind/commit/4f8b57c02f2011fe9ae353d5e74e8745f0988af8) -- [Tests] remove `jscs` [`90eb2ed`](https://github.com/ljharb/function-bind/commit/90eb2edbeefd5b76cd6c3a482ea3454db169b31f) -- [meta] update `.gitignore` [`53fcdc3`](https://github.com/ljharb/function-bind/commit/53fcdc371cd66634d6e9b71c836a50f437e89fed) -- [Tests] up to `node` `v11.10`, `v10.15`, `v9.11`, `v8.15`, `v6.16`, `v4.9`; use `nvm install-latest-npm`; run audit script in tests [`1fe8f6e`](https://github.com/ljharb/function-bind/commit/1fe8f6e9aed0dfa8d8b3cdbd00c7f5ea0cd2b36e) -- [meta] add `auto-changelog` [`1921fcb`](https://github.com/ljharb/function-bind/commit/1921fcb5b416b63ffc4acad051b6aad5722f777d) -- [Robustness] remove runtime dependency on all builtins except `.apply` [`f743e61`](https://github.com/ljharb/function-bind/commit/f743e61aa6bb2360358c04d4884c9db853d118b7) -- Docs: enable badges; update wording [`503cb12`](https://github.com/ljharb/function-bind/commit/503cb12d998b5f91822776c73332c7adcd6355dd) -- [readme] update badges [`290c5db`](https://github.com/ljharb/function-bind/commit/290c5dbbbda7264efaeb886552a374b869a4bb48) -- [Tests] switch to nyc for coverage [`ea360ba`](https://github.com/ljharb/function-bind/commit/ea360ba907fc2601ed18d01a3827fa2d3533cdf8) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`cae5e9e`](https://github.com/ljharb/function-bind/commit/cae5e9e07a5578dc6df26c03ee22851ce05b943c) -- [meta] add `funding` field; create FUNDING.yml [`c9f4274`](https://github.com/ljharb/function-bind/commit/c9f4274aa80ea3aae9657a3938fdba41a3b04ca6) -- [Tests] fix eslint errors from #15 [`f69aaa2`](https://github.com/ljharb/function-bind/commit/f69aaa2beb2fdab4415bfb885760a699d0b9c964) -- [actions] fix permissions [`99a0cd9`](https://github.com/ljharb/function-bind/commit/99a0cd9f3b5bac223a0d572f081834cd73314be7) -- [meta] use `npmignore` to autogenerate an npmignore file [`f03b524`](https://github.com/ljharb/function-bind/commit/f03b524ca91f75a109a5d062f029122c86ecd1ae) -- [Dev Deps] update `@ljharb/eslint‑config`, `eslint`, `tape` [`7af9300`](https://github.com/ljharb/function-bind/commit/7af930023ae2ce7645489532821e4fbbcd7a2280) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `tape` [`64a9127`](https://github.com/ljharb/function-bind/commit/64a9127ab0bd331b93d6572eaf6e9971967fc08c) -- [Tests] use `aud` instead of `npm audit` [`e75069c`](https://github.com/ljharb/function-bind/commit/e75069c50010a8fcce2a9ce2324934c35fdb4386) -- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`d03555c`](https://github.com/ljharb/function-bind/commit/d03555ca59dea3b71ce710045e4303b9e2619e28) -- [meta] add `safe-publish-latest` [`9c8f809`](https://github.com/ljharb/function-bind/commit/9c8f8092aed027d7e80c94f517aa892385b64f09) -- [Dev Deps] update `@ljharb/eslint-config`, `tape` [`baf6893`](https://github.com/ljharb/function-bind/commit/baf6893e27f5b59abe88bc1995e6f6ed1e527397) -- [meta] create SECURITY.md [`4db1779`](https://github.com/ljharb/function-bind/commit/4db17799f1f28ae294cb95e0081ca2b591c3911b) -- [Tests] add `npm run audit` [`c8b38ec`](https://github.com/ljharb/function-bind/commit/c8b38ec40ed3f85dabdee40ed4148f1748375bc2) -- Revert "Point to the correct file" [`05cdf0f`](https://github.com/ljharb/function-bind/commit/05cdf0fa205c6a3c5ba40bbedd1dfa9874f915c9) - -## [v1.1.1](https://github.com/ljharb/function-bind/compare/v1.1.0...v1.1.1) - 2017-08-28 - -### Commits - -- [Tests] up to `node` `v8`; newer npm breaks on older node; fix scripts [`817f7d2`](https://github.com/ljharb/function-bind/commit/817f7d28470fdbff8ef608d4d565dd4d1430bc5e) -- [Dev Deps] update `eslint`, `jscs`, `tape`, `@ljharb/eslint-config` [`854288b`](https://github.com/ljharb/function-bind/commit/854288b1b6f5c555f89aceb9eff1152510262084) -- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`83e639f`](https://github.com/ljharb/function-bind/commit/83e639ff74e6cd6921285bccec22c1bcf72311bd) -- Only apps should have lockfiles [`5ed97f5`](https://github.com/ljharb/function-bind/commit/5ed97f51235c17774e0832e122abda0f3229c908) -- Use a SPDX-compliant “license” field. [`5feefea`](https://github.com/ljharb/function-bind/commit/5feefea0dc0193993e83e5df01ded424403a5381) - -## [v1.1.0](https://github.com/ljharb/function-bind/compare/v1.0.2...v1.1.0) - 2016-02-14 - -### Commits - -- Update `eslint`, `tape`; use my personal shared `eslint` config [`9c9062a`](https://github.com/ljharb/function-bind/commit/9c9062abbe9dd70b59ea2c3a3c3a81f29b457097) -- Add `npm run eslint` [`dd96c56`](https://github.com/ljharb/function-bind/commit/dd96c56720034a3c1ffee10b8a59a6f7c53e24ad) -- [New] return the native `bind` when available. [`82186e0`](https://github.com/ljharb/function-bind/commit/82186e03d73e580f95ff167e03f3582bed90ed72) -- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`a3dd767`](https://github.com/ljharb/function-bind/commit/a3dd76720c795cb7f4586b0544efabf8aa107b8b) -- Update `eslint` [`3dae2f7`](https://github.com/ljharb/function-bind/commit/3dae2f7423de30a2d20313ddb1edc19660142fe9) -- Update `tape`, `covert`, `jscs` [`a181eee`](https://github.com/ljharb/function-bind/commit/a181eee0cfa24eb229c6e843a971f36e060a2f6a) -- [Tests] up to `node` `v5.6`, `v4.3` [`964929a`](https://github.com/ljharb/function-bind/commit/964929a6a4ddb36fb128de2bcc20af5e4f22e1ed) -- Test up to `io.js` `v2.1` [`2be7310`](https://github.com/ljharb/function-bind/commit/2be7310f2f74886a7124ca925be411117d41d5ea) -- Update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`45f3d68`](https://github.com/ljharb/function-bind/commit/45f3d6865c6ca93726abcef54febe009087af101) -- [Dev Deps] update `tape`, `jscs` [`6e1340d`](https://github.com/ljharb/function-bind/commit/6e1340d94642deaecad3e717825db641af4f8b1f) -- [Tests] up to `io.js` `v3.3`, `node` `v4.1` [`d9bad2b`](https://github.com/ljharb/function-bind/commit/d9bad2b778b1b3a6dd2876087b88b3acf319f8cc) -- Update `eslint` [`935590c`](https://github.com/ljharb/function-bind/commit/935590caa024ab356102e4858e8fc315b2ccc446) -- [Dev Deps] update `jscs`, `eslint`, `@ljharb/eslint-config` [`8c9a1ef`](https://github.com/ljharb/function-bind/commit/8c9a1efd848e5167887aa8501857a0940a480c57) -- Test on `io.js` `v2.2` [`9a3a38c`](https://github.com/ljharb/function-bind/commit/9a3a38c92013aed6e108666e7bd40969b84ac86e) -- Run `travis-ci` tests on `iojs` and `node` v0.12; speed up builds; allow 0.8 failures. [`69afc26`](https://github.com/ljharb/function-bind/commit/69afc2617405b147dd2a8d8ae73ca9e9283f18b4) -- [Dev Deps] Update `tape`, `eslint` [`36c1be0`](https://github.com/ljharb/function-bind/commit/36c1be0ab12b45fe5df6b0fdb01a5d5137fd0115) -- Update `tape`, `jscs` [`98d8303`](https://github.com/ljharb/function-bind/commit/98d8303cd5ca1c6b8f985469f86b0d44d7d45f6e) -- Update `jscs` [`9633a4e`](https://github.com/ljharb/function-bind/commit/9633a4e9fbf82051c240855166e468ba8ba0846f) -- Update `tape`, `jscs` [`c80ef0f`](https://github.com/ljharb/function-bind/commit/c80ef0f46efc9791e76fa50de4414092ac147831) -- Test up to `io.js` `v3.0` [`7e2c853`](https://github.com/ljharb/function-bind/commit/7e2c8537d52ab9cf5a655755561d8917684c0df4) -- Test on `io.js` `v2.4` [`5a199a2`](https://github.com/ljharb/function-bind/commit/5a199a27ba46795ba5eaf0845d07d4b8232895c9) -- Test on `io.js` `v2.3` [`a511b88`](https://github.com/ljharb/function-bind/commit/a511b8896de0bddf3b56862daa416c701f4d0453) -- Fixing a typo from 822b4e1938db02dc9584aa434fd3a45cb20caf43 [`732d6b6`](https://github.com/ljharb/function-bind/commit/732d6b63a9b33b45230e630dbcac7a10855d3266) -- Update `jscs` [`da52a48`](https://github.com/ljharb/function-bind/commit/da52a4886c06d6490f46ae30b15e4163ba08905d) -- Lock covert to v1.0.0. [`d6150fd`](https://github.com/ljharb/function-bind/commit/d6150fda1e6f486718ebdeff823333d9e48e7430) - -## [v1.0.2](https://github.com/ljharb/function-bind/compare/v1.0.1...v1.0.2) - 2014-10-04 - -## [v1.0.1](https://github.com/ljharb/function-bind/compare/v1.0.0...v1.0.1) - 2014-10-03 - -### Merged - -- make CI build faster [`#3`](https://github.com/ljharb/function-bind/pull/3) - -### Commits - -- Using my standard jscs.json [`d8ee94c`](https://github.com/ljharb/function-bind/commit/d8ee94c993eff0a84cf5744fe6a29627f5cffa1a) -- Adding `npm run lint` [`7571ab7`](https://github.com/ljharb/function-bind/commit/7571ab7dfdbd99b25a1dbb2d232622bd6f4f9c10) -- Using consistent indentation [`e91a1b1`](https://github.com/ljharb/function-bind/commit/e91a1b13a61e99ec1e530e299b55508f74218a95) -- Updating jscs [`7e17892`](https://github.com/ljharb/function-bind/commit/7e1789284bc629bc9c1547a61c9b227bbd8c7a65) -- Using consistent quotes [`c50b57f`](https://github.com/ljharb/function-bind/commit/c50b57fcd1c5ec38320979c837006069ebe02b77) -- Adding keywords [`cb94631`](https://github.com/ljharb/function-bind/commit/cb946314eed35f21186a25fb42fc118772f9ee00) -- Directly export a function expression instead of using a declaration, and relying on hoisting. [`5a33c5f`](https://github.com/ljharb/function-bind/commit/5a33c5f45642de180e0d207110bf7d1843ceb87c) -- Naming npm URL and badge in README; use SVG [`2aef8fc`](https://github.com/ljharb/function-bind/commit/2aef8fcb79d54e63a58ae557c4e60949e05d5e16) -- Naming deps URLs in README [`04228d7`](https://github.com/ljharb/function-bind/commit/04228d766670ee45ca24e98345c1f6a7621065b5) -- Naming travis-ci URLs in README; using SVG [`62c810c`](https://github.com/ljharb/function-bind/commit/62c810c2f54ced956cd4d4ab7b793055addfe36e) -- Make sure functions are invoked correctly (also passing coverage tests) [`2b289b4`](https://github.com/ljharb/function-bind/commit/2b289b4dfbf037ffcfa4dc95eb540f6165e9e43a) -- Removing the strict mode pragmas; they make tests fail. [`1aa701d`](https://github.com/ljharb/function-bind/commit/1aa701d199ddc3782476e8f7eef82679be97b845) -- Adding myself as a contributor [`85fd57b`](https://github.com/ljharb/function-bind/commit/85fd57b0860e5a7af42de9a287f3f265fc6d72fc) -- Adding strict mode pragmas [`915b08e`](https://github.com/ljharb/function-bind/commit/915b08e084c86a722eafe7245e21db74aa21ca4c) -- Adding devDeps URLs to README [`4ccc731`](https://github.com/ljharb/function-bind/commit/4ccc73112c1769859e4ca3076caf4086b3cba2cd) -- Fixing the description. [`a7a472c`](https://github.com/ljharb/function-bind/commit/a7a472cf649af515c635cf560fc478fbe48999c8) -- Using a function expression instead of a function declaration. [`b5d3e4e`](https://github.com/ljharb/function-bind/commit/b5d3e4ea6aaffc63888953eeb1fbc7ff45f1fa14) -- Updating tape [`f086be6`](https://github.com/ljharb/function-bind/commit/f086be6029fb56dde61a258c1340600fa174d1e0) -- Updating jscs [`5f9bdb3`](https://github.com/ljharb/function-bind/commit/5f9bdb375ab13ba48f30852aab94029520c54d71) -- Updating jscs [`9b409ba`](https://github.com/ljharb/function-bind/commit/9b409ba6118e23395a4e5d83ef39152aab9d3bfc) -- Run coverage as part of tests. [`8e1b6d4`](https://github.com/ljharb/function-bind/commit/8e1b6d459f047d1bd4fee814e01247c984c80bd0) -- Run linter as part of tests [`c1ca83f`](https://github.com/ljharb/function-bind/commit/c1ca83f832df94587d09e621beba682fabfaa987) -- Updating covert [`701e837`](https://github.com/ljharb/function-bind/commit/701e83774b57b4d3ef631e1948143f43a72f4bb9) - -## [v1.0.0](https://github.com/ljharb/function-bind/compare/v0.2.0...v1.0.0) - 2014-08-09 - -### Commits - -- Make sure old and unstable nodes don't fail Travis [`27adca3`](https://github.com/ljharb/function-bind/commit/27adca34a4ab6ad67b6dfde43942a1b103ce4d75) -- Fixing an issue when the bound function is called as a constructor in ES3. [`e20122d`](https://github.com/ljharb/function-bind/commit/e20122d267d92ce553859b280cbbea5d27c07731) -- Adding `npm run coverage` [`a2e29c4`](https://github.com/ljharb/function-bind/commit/a2e29c4ecaef9e2f6cd1603e868c139073375502) -- Updating tape [`b741168`](https://github.com/ljharb/function-bind/commit/b741168b12b235b1717ff696087645526b69213c) -- Upgrading tape [`63631a0`](https://github.com/ljharb/function-bind/commit/63631a04c7fbe97cc2fa61829cc27246d6986f74) -- Updating tape [`363cb46`](https://github.com/ljharb/function-bind/commit/363cb46dafb23cb3e347729a22f9448051d78464) - -## v0.2.0 - 2014-03-23 - -### Commits - -- Updating test coverage to match es5-shim. [`aa94d44`](https://github.com/ljharb/function-bind/commit/aa94d44b8f9d7f69f10e060db7709aa7a694e5d4) -- initial [`942ee07`](https://github.com/ljharb/function-bind/commit/942ee07e94e542d91798137bc4b80b926137e066) -- Setting the bound function's length properly. [`079f46a`](https://github.com/ljharb/function-bind/commit/079f46a2d3515b7c0b308c2c13fceb641f97ca25) -- Ensuring that some older browsers will throw when given a regex. [`36ac55b`](https://github.com/ljharb/function-bind/commit/36ac55b87f460d4330253c92870aa26fbfe8227f) -- Removing npm scripts that don't have dependencies [`9d2be60`](https://github.com/ljharb/function-bind/commit/9d2be600002cb8bc8606f8f3585ad3e05868c750) -- Updating tape [`297a4ac`](https://github.com/ljharb/function-bind/commit/297a4acc5464db381940aafb194d1c88f4e678f3) -- Skipping length tests for now. [`d9891ea`](https://github.com/ljharb/function-bind/commit/d9891ea4d2aaffa69f408339cdd61ff740f70565) -- don't take my tea [`dccd930`](https://github.com/ljharb/function-bind/commit/dccd930bfd60ea10cb178d28c97550c3bc8c1e07) diff --git a/Lombiq.EInvoiceValidator/node_modules/function-bind/LICENSE b/Lombiq.EInvoiceValidator/node_modules/function-bind/LICENSE deleted file mode 100644 index 62d6d23..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/function-bind/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2013 Raynos. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - diff --git a/Lombiq.EInvoiceValidator/node_modules/function-bind/README.md b/Lombiq.EInvoiceValidator/node_modules/function-bind/README.md deleted file mode 100644 index 814c20b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/function-bind/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# function-bind [![Version Badge][npm-version-svg]][package-url] - -[![github actions][actions-image]][actions-url] - -[![dependency status][deps-svg]][deps-url] -[![dev dependency status][dev-deps-svg]][dev-deps-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -Implementation of function.prototype.bind - -Old versions of phantomjs, Internet Explorer < 9, and node < 0.6 don't support `Function.prototype.bind`. - -## Example - -```js -Function.prototype.bind = require("function-bind") -``` - -## Installation - -`npm install function-bind` - -## Contributors - - - Raynos - -## MIT Licenced - -[package-url]: https://npmjs.org/package/function-bind -[npm-version-svg]: https://versionbadg.es/Raynos/function-bind.svg -[deps-svg]: https://david-dm.org/Raynos/function-bind.svg -[deps-url]: https://david-dm.org/Raynos/function-bind -[dev-deps-svg]: https://david-dm.org/Raynos/function-bind/dev-status.svg -[dev-deps-url]: https://david-dm.org/Raynos/function-bind#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/function-bind.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/function-bind.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/function-bind.svg -[downloads-url]: https://npm-stat.com/charts.html?package=function-bind -[codecov-image]: https://codecov.io/gh/Raynos/function-bind/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/Raynos/function-bind/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/Raynos/function-bind -[actions-url]: https://github.com/Raynos/function-bind/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.js b/Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.js deleted file mode 100644 index fd4384c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.js +++ /dev/null @@ -1,84 +0,0 @@ -'use strict'; - -/* eslint no-invalid-this: 1 */ - -var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; -var toStr = Object.prototype.toString; -var max = Math.max; -var funcType = '[object Function]'; - -var concatty = function concatty(a, b) { - var arr = []; - - for (var i = 0; i < a.length; i += 1) { - arr[i] = a[i]; - } - for (var j = 0; j < b.length; j += 1) { - arr[j + a.length] = b[j]; - } - - return arr; -}; - -var slicy = function slicy(arrLike, offset) { - var arr = []; - for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) { - arr[j] = arrLike[i]; - } - return arr; -}; - -var joiny = function (arr, joiner) { - var str = ''; - for (var i = 0; i < arr.length; i += 1) { - str += arr[i]; - if (i + 1 < arr.length) { - str += joiner; - } - } - return str; -}; - -module.exports = function bind(that) { - var target = this; - if (typeof target !== 'function' || toStr.apply(target) !== funcType) { - throw new TypeError(ERROR_MESSAGE + target); - } - var args = slicy(arguments, 1); - - var bound; - var binder = function () { - if (this instanceof bound) { - var result = target.apply( - this, - concatty(args, arguments) - ); - if (Object(result) === result) { - return result; - } - return this; - } - return target.apply( - that, - concatty(args, arguments) - ); - - }; - - var boundLength = max(0, target.length - args.length); - var boundArgs = []; - for (var i = 0; i < boundLength; i++) { - boundArgs[i] = '$' + i; - } - - bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder); - - if (target.prototype) { - var Empty = function Empty() {}; - Empty.prototype = target.prototype; - bound.prototype = new Empty(); - Empty.prototype = null; - } - - return bound; -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.min.js b/Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.min.js deleted file mode 100644 index 0531129..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/function-bind/implementation.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/function-bind@1.1.2/implementation.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr=Object.prototype.toString,max=Math.max,funcType="[object Function]",concatty=function(t,n){for(var r=[],o=0;o", - "repository": { - "type": "git", - "url": "https://github.com/Raynos/function-bind.git" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "main": "index", - "homepage": "https://github.com/Raynos/function-bind", - "contributors": [ - { - "name": "Raynos" - }, - { - "name": "Jordan Harband", - "url": "https://github.com/ljharb" - } - ], - "bugs": { - "url": "https://github.com/Raynos/function-bind/issues", - "email": "raynos2@gmail.com" - }, - "devDependencies": { - "@ljharb/eslint-config": "^21.1.0", - "aud": "^2.0.3", - "auto-changelog": "^2.4.0", - "eslint": "=8.8.0", - "in-publish": "^2.0.1", - "npmignore": "^0.3.0", - "nyc": "^10.3.2", - "safe-publish-latest": "^2.0.0", - "tape": "^5.7.1" - }, - "license": "MIT", - "scripts": { - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prepack": "npmignore --auto --commentLines=autogenerated", - "pretest": "npm run lint", - "test": "npm run tests-only", - "posttest": "aud --production", - "tests-only": "nyc tape 'test/**/*.js'", - "lint": "eslint --ext=js,mjs .", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "testling": { - "files": "test/index.js", - "browsers": [ - "ie/8..latest", - "firefox/16..latest", - "firefox/nightly", - "chrome/22..latest", - "chrome/canary", - "opera/12..latest", - "opera/next", - "safari/5.1..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2..latest" - ] - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "publishConfig": { - "ignore": [ - ".github/workflows" - ] - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.js b/Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.js deleted file mode 100644 index 2edecce..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.js +++ /dev/null @@ -1,252 +0,0 @@ -// jscs:disable requireUseStrict - -var test = require('tape'); - -var functionBind = require('../implementation'); -var getCurrentContext = function () { return this; }; - -test('functionBind is a function', function (t) { - t.equal(typeof functionBind, 'function'); - t.end(); -}); - -test('non-functions', function (t) { - var nonFunctions = [true, false, [], {}, 42, 'foo', NaN, /a/g]; - t.plan(nonFunctions.length); - for (var i = 0; i < nonFunctions.length; ++i) { - try { functionBind.call(nonFunctions[i]); } catch (ex) { - t.ok(ex instanceof TypeError, 'throws when given ' + String(nonFunctions[i])); - } - } - t.end(); -}); - -test('without a context', function (t) { - t.test('binds properly', function (st) { - var args, context; - var namespace = { - func: functionBind.call(function () { - args = Array.prototype.slice.call(arguments); - context = this; - }) - }; - namespace.func(1, 2, 3); - st.deepEqual(args, [1, 2, 3]); - st.equal(context, getCurrentContext.call()); - st.end(); - }); - - t.test('binds properly, and still supplies bound arguments', function (st) { - var args, context; - var namespace = { - func: functionBind.call(function () { - args = Array.prototype.slice.call(arguments); - context = this; - }, undefined, 1, 2, 3) - }; - namespace.func(4, 5, 6); - st.deepEqual(args, [1, 2, 3, 4, 5, 6]); - st.equal(context, getCurrentContext.call()); - st.end(); - }); - - t.test('returns properly', function (st) { - var args; - var namespace = { - func: functionBind.call(function () { - args = Array.prototype.slice.call(arguments); - return this; - }, null) - }; - var context = namespace.func(1, 2, 3); - st.equal(context, getCurrentContext.call(), 'returned context is namespaced context'); - st.deepEqual(args, [1, 2, 3], 'passed arguments are correct'); - st.end(); - }); - - t.test('returns properly with bound arguments', function (st) { - var args; - var namespace = { - func: functionBind.call(function () { - args = Array.prototype.slice.call(arguments); - return this; - }, null, 1, 2, 3) - }; - var context = namespace.func(4, 5, 6); - st.equal(context, getCurrentContext.call(), 'returned context is namespaced context'); - st.deepEqual(args, [1, 2, 3, 4, 5, 6], 'passed arguments are correct'); - st.end(); - }); - - t.test('called as a constructor', function (st) { - var thunkify = function (value) { - return function () { return value; }; - }; - st.test('returns object value', function (sst) { - var expectedReturnValue = [1, 2, 3]; - var Constructor = functionBind.call(thunkify(expectedReturnValue), null); - var result = new Constructor(); - sst.equal(result, expectedReturnValue); - sst.end(); - }); - - st.test('does not return primitive value', function (sst) { - var Constructor = functionBind.call(thunkify(42), null); - var result = new Constructor(); - sst.notEqual(result, 42); - sst.end(); - }); - - st.test('object from bound constructor is instance of original and bound constructor', function (sst) { - var A = function (x) { - this.name = x || 'A'; - }; - var B = functionBind.call(A, null, 'B'); - - var result = new B(); - sst.ok(result instanceof B, 'result is instance of bound constructor'); - sst.ok(result instanceof A, 'result is instance of original constructor'); - sst.end(); - }); - - st.end(); - }); - - t.end(); -}); - -test('with a context', function (t) { - t.test('with no bound arguments', function (st) { - var args, context; - var boundContext = {}; - var namespace = { - func: functionBind.call(function () { - args = Array.prototype.slice.call(arguments); - context = this; - }, boundContext) - }; - namespace.func(1, 2, 3); - st.equal(context, boundContext, 'binds a context properly'); - st.deepEqual(args, [1, 2, 3], 'supplies passed arguments'); - st.end(); - }); - - t.test('with bound arguments', function (st) { - var args, context; - var boundContext = {}; - var namespace = { - func: functionBind.call(function () { - args = Array.prototype.slice.call(arguments); - context = this; - }, boundContext, 1, 2, 3) - }; - namespace.func(4, 5, 6); - st.equal(context, boundContext, 'binds a context properly'); - st.deepEqual(args, [1, 2, 3, 4, 5, 6], 'supplies bound and passed arguments'); - st.end(); - }); - - t.test('returns properly', function (st) { - var boundContext = {}; - var args; - var namespace = { - func: functionBind.call(function () { - args = Array.prototype.slice.call(arguments); - return this; - }, boundContext) - }; - var context = namespace.func(1, 2, 3); - st.equal(context, boundContext, 'returned context is bound context'); - st.notEqual(context, getCurrentContext.call(), 'returned context is not lexical context'); - st.deepEqual(args, [1, 2, 3], 'passed arguments are correct'); - st.end(); - }); - - t.test('returns properly with bound arguments', function (st) { - var boundContext = {}; - var args; - var namespace = { - func: functionBind.call(function () { - args = Array.prototype.slice.call(arguments); - return this; - }, boundContext, 1, 2, 3) - }; - var context = namespace.func(4, 5, 6); - st.equal(context, boundContext, 'returned context is bound context'); - st.notEqual(context, getCurrentContext.call(), 'returned context is not lexical context'); - st.deepEqual(args, [1, 2, 3, 4, 5, 6], 'passed arguments are correct'); - st.end(); - }); - - t.test('passes the correct arguments when called as a constructor', function (st) { - var expected = { name: 'Correct' }; - var namespace = { - Func: functionBind.call(function (arg) { - return arg; - }, { name: 'Incorrect' }) - }; - var returned = new namespace.Func(expected); - st.equal(returned, expected, 'returns the right arg when called as a constructor'); - st.end(); - }); - - t.test('has the new instance\'s context when called as a constructor', function (st) { - var actualContext; - var expectedContext = { foo: 'bar' }; - var namespace = { - Func: functionBind.call(function () { - actualContext = this; - }, expectedContext) - }; - var result = new namespace.Func(); - st.equal(result instanceof namespace.Func, true); - st.notEqual(actualContext, expectedContext); - st.end(); - }); - - t.end(); -}); - -test('bound function length', function (t) { - t.test('sets a correct length without thisArg', function (st) { - var subject = functionBind.call(function (a, b, c) { return a + b + c; }); - st.equal(subject.length, 3); - st.equal(subject(1, 2, 3), 6); - st.end(); - }); - - t.test('sets a correct length with thisArg', function (st) { - var subject = functionBind.call(function (a, b, c) { return a + b + c; }, {}); - st.equal(subject.length, 3); - st.equal(subject(1, 2, 3), 6); - st.end(); - }); - - t.test('sets a correct length without thisArg and first argument', function (st) { - var subject = functionBind.call(function (a, b, c) { return a + b + c; }, undefined, 1); - st.equal(subject.length, 2); - st.equal(subject(2, 3), 6); - st.end(); - }); - - t.test('sets a correct length with thisArg and first argument', function (st) { - var subject = functionBind.call(function (a, b, c) { return a + b + c; }, {}, 1); - st.equal(subject.length, 2); - st.equal(subject(2, 3), 6); - st.end(); - }); - - t.test('sets a correct length without thisArg and too many arguments', function (st) { - var subject = functionBind.call(function (a, b, c) { return a + b + c; }, undefined, 1, 2, 3, 4); - st.equal(subject.length, 0); - st.equal(subject(), 6); - st.end(); - }); - - t.test('sets a correct length with thisArg and too many arguments', function (st) { - var subject = functionBind.call(function (a, b, c) { return a + b + c; }, {}, 1, 2, 3, 4); - st.equal(subject.length, 0); - st.equal(subject(), 6); - st.end(); - }); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.min.js deleted file mode 100644 index ba45c32..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/function-bind/test/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/function-bind@1.1.2/test/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var test=require("tape"),functionBind=require("../implementation"),getCurrentContext=function(){return this};test("functionBind is a function",(function(n){n.equal(typeof functionBind,"function"),n.end()})),test("non-functions",(function(n){var t=[!0,!1,[],{},42,"foo",NaN,/a/g];n.plan(t.length);for(var e=0;e[![Version Badge][npm-version-svg]][package-url] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![dependency status][deps-svg]][deps-url] -[![dev dependency status][dev-deps-svg]][dev-deps-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -Get and robustly cache all JS language-level intrinsics at first require time. - -See the syntax described [in the JS spec](https://tc39.es/ecma262/#sec-well-known-intrinsic-objects) for reference. - -## Example - -```js -var GetIntrinsic = require('get-intrinsic'); -var assert = require('assert'); - -// static methods -assert.equal(GetIntrinsic('%Math.pow%'), Math.pow); -assert.equal(Math.pow(2, 3), 8); -assert.equal(GetIntrinsic('%Math.pow%')(2, 3), 8); -delete Math.pow; -assert.equal(GetIntrinsic('%Math.pow%')(2, 3), 8); - -// instance methods -var arr = [1]; -assert.equal(GetIntrinsic('%Array.prototype.push%'), Array.prototype.push); -assert.deepEqual(arr, [1]); - -arr.push(2); -assert.deepEqual(arr, [1, 2]); - -GetIntrinsic('%Array.prototype.push%').call(arr, 3); -assert.deepEqual(arr, [1, 2, 3]); - -delete Array.prototype.push; -GetIntrinsic('%Array.prototype.push%').call(arr, 4); -assert.deepEqual(arr, [1, 2, 3, 4]); - -// missing features -delete JSON.parse; // to simulate a real intrinsic that is missing in the environment -assert.throws(() => GetIntrinsic('%JSON.parse%')); -assert.equal(undefined, GetIntrinsic('%JSON.parse%', true)); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -## Security - -Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. - -[package-url]: https://npmjs.org/package/get-intrinsic -[npm-version-svg]: https://versionbadg.es/ljharb/get-intrinsic.svg -[deps-svg]: https://david-dm.org/ljharb/get-intrinsic.svg -[deps-url]: https://david-dm.org/ljharb/get-intrinsic -[dev-deps-svg]: https://david-dm.org/ljharb/get-intrinsic/dev-status.svg -[dev-deps-url]: https://david-dm.org/ljharb/get-intrinsic#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/get-intrinsic.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/get-intrinsic.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/get-intrinsic.svg -[downloads-url]: https://npm-stat.com/charts.html?package=get-intrinsic -[codecov-image]: https://codecov.io/gh/ljharb/get-intrinsic/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/ljharb/get-intrinsic/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/get-intrinsic -[actions-url]: https://github.com/ljharb/get-intrinsic/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.js b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.js deleted file mode 100644 index bd1d94b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.js +++ /dev/null @@ -1,378 +0,0 @@ -'use strict'; - -var undefined; - -var $Object = require('es-object-atoms'); - -var $Error = require('es-errors'); -var $EvalError = require('es-errors/eval'); -var $RangeError = require('es-errors/range'); -var $ReferenceError = require('es-errors/ref'); -var $SyntaxError = require('es-errors/syntax'); -var $TypeError = require('es-errors/type'); -var $URIError = require('es-errors/uri'); - -var abs = require('math-intrinsics/abs'); -var floor = require('math-intrinsics/floor'); -var max = require('math-intrinsics/max'); -var min = require('math-intrinsics/min'); -var pow = require('math-intrinsics/pow'); -var round = require('math-intrinsics/round'); -var sign = require('math-intrinsics/sign'); - -var $Function = Function; - -// eslint-disable-next-line consistent-return -var getEvalledConstructor = function (expressionSyntax) { - try { - return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); - } catch (e) {} -}; - -var $gOPD = require('gopd'); -var $defineProperty = require('es-define-property'); - -var throwTypeError = function () { - throw new $TypeError(); -}; -var ThrowTypeError = $gOPD - ? (function () { - try { - // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties - arguments.callee; // IE 8 does not throw here - return throwTypeError; - } catch (calleeThrows) { - try { - // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') - return $gOPD(arguments, 'callee').get; - } catch (gOPDthrows) { - return throwTypeError; - } - } - }()) - : throwTypeError; - -var hasSymbols = require('has-symbols')(); - -var getProto = require('get-proto'); -var $ObjectGPO = require('get-proto/Object.getPrototypeOf'); -var $ReflectGPO = require('get-proto/Reflect.getPrototypeOf'); - -var $apply = require('call-bind-apply-helpers/functionApply'); -var $call = require('call-bind-apply-helpers/functionCall'); - -var needsEval = {}; - -var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array); - -var INTRINSICS = { - __proto__: null, - '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, - '%Array%': Array, - '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, - '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined, - '%AsyncFromSyncIteratorPrototype%': undefined, - '%AsyncFunction%': needsEval, - '%AsyncGenerator%': needsEval, - '%AsyncGeneratorFunction%': needsEval, - '%AsyncIteratorPrototype%': needsEval, - '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, - '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, - '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array, - '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array, - '%Boolean%': Boolean, - '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, - '%Date%': Date, - '%decodeURI%': decodeURI, - '%decodeURIComponent%': decodeURIComponent, - '%encodeURI%': encodeURI, - '%encodeURIComponent%': encodeURIComponent, - '%Error%': $Error, - '%eval%': eval, // eslint-disable-line no-eval - '%EvalError%': $EvalError, - '%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array, - '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, - '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, - '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, - '%Function%': $Function, - '%GeneratorFunction%': needsEval, - '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, - '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, - '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, - '%isFinite%': isFinite, - '%isNaN%': isNaN, - '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined, - '%JSON%': typeof JSON === 'object' ? JSON : undefined, - '%Map%': typeof Map === 'undefined' ? undefined : Map, - '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()), - '%Math%': Math, - '%Number%': Number, - '%Object%': $Object, - '%Object.getOwnPropertyDescriptor%': $gOPD, - '%parseFloat%': parseFloat, - '%parseInt%': parseInt, - '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, - '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, - '%RangeError%': $RangeError, - '%ReferenceError%': $ReferenceError, - '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, - '%RegExp%': RegExp, - '%Set%': typeof Set === 'undefined' ? undefined : Set, - '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()), - '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, - '%String%': String, - '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined, - '%Symbol%': hasSymbols ? Symbol : undefined, - '%SyntaxError%': $SyntaxError, - '%ThrowTypeError%': ThrowTypeError, - '%TypedArray%': TypedArray, - '%TypeError%': $TypeError, - '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, - '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, - '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, - '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, - '%URIError%': $URIError, - '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, - '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, - '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet, - - '%Function.prototype.call%': $call, - '%Function.prototype.apply%': $apply, - '%Object.defineProperty%': $defineProperty, - '%Object.getPrototypeOf%': $ObjectGPO, - '%Math.abs%': abs, - '%Math.floor%': floor, - '%Math.max%': max, - '%Math.min%': min, - '%Math.pow%': pow, - '%Math.round%': round, - '%Math.sign%': sign, - '%Reflect.getPrototypeOf%': $ReflectGPO -}; - -if (getProto) { - try { - null.error; // eslint-disable-line no-unused-expressions - } catch (e) { - // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229 - var errorProto = getProto(getProto(e)); - INTRINSICS['%Error.prototype%'] = errorProto; - } -} - -var doEval = function doEval(name) { - var value; - if (name === '%AsyncFunction%') { - value = getEvalledConstructor('async function () {}'); - } else if (name === '%GeneratorFunction%') { - value = getEvalledConstructor('function* () {}'); - } else if (name === '%AsyncGeneratorFunction%') { - value = getEvalledConstructor('async function* () {}'); - } else if (name === '%AsyncGenerator%') { - var fn = doEval('%AsyncGeneratorFunction%'); - if (fn) { - value = fn.prototype; - } - } else if (name === '%AsyncIteratorPrototype%') { - var gen = doEval('%AsyncGenerator%'); - if (gen && getProto) { - value = getProto(gen.prototype); - } - } - - INTRINSICS[name] = value; - - return value; -}; - -var LEGACY_ALIASES = { - __proto__: null, - '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], - '%ArrayPrototype%': ['Array', 'prototype'], - '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], - '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], - '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], - '%ArrayProto_values%': ['Array', 'prototype', 'values'], - '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], - '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], - '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], - '%BooleanPrototype%': ['Boolean', 'prototype'], - '%DataViewPrototype%': ['DataView', 'prototype'], - '%DatePrototype%': ['Date', 'prototype'], - '%ErrorPrototype%': ['Error', 'prototype'], - '%EvalErrorPrototype%': ['EvalError', 'prototype'], - '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], - '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], - '%FunctionPrototype%': ['Function', 'prototype'], - '%Generator%': ['GeneratorFunction', 'prototype'], - '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], - '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], - '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], - '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], - '%JSONParse%': ['JSON', 'parse'], - '%JSONStringify%': ['JSON', 'stringify'], - '%MapPrototype%': ['Map', 'prototype'], - '%NumberPrototype%': ['Number', 'prototype'], - '%ObjectPrototype%': ['Object', 'prototype'], - '%ObjProto_toString%': ['Object', 'prototype', 'toString'], - '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], - '%PromisePrototype%': ['Promise', 'prototype'], - '%PromiseProto_then%': ['Promise', 'prototype', 'then'], - '%Promise_all%': ['Promise', 'all'], - '%Promise_reject%': ['Promise', 'reject'], - '%Promise_resolve%': ['Promise', 'resolve'], - '%RangeErrorPrototype%': ['RangeError', 'prototype'], - '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], - '%RegExpPrototype%': ['RegExp', 'prototype'], - '%SetPrototype%': ['Set', 'prototype'], - '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], - '%StringPrototype%': ['String', 'prototype'], - '%SymbolPrototype%': ['Symbol', 'prototype'], - '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], - '%TypedArrayPrototype%': ['TypedArray', 'prototype'], - '%TypeErrorPrototype%': ['TypeError', 'prototype'], - '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], - '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], - '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], - '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], - '%URIErrorPrototype%': ['URIError', 'prototype'], - '%WeakMapPrototype%': ['WeakMap', 'prototype'], - '%WeakSetPrototype%': ['WeakSet', 'prototype'] -}; - -var bind = require('function-bind'); -var hasOwn = require('hasown'); -var $concat = bind.call($call, Array.prototype.concat); -var $spliceApply = bind.call($apply, Array.prototype.splice); -var $replace = bind.call($call, String.prototype.replace); -var $strSlice = bind.call($call, String.prototype.slice); -var $exec = bind.call($call, RegExp.prototype.exec); - -/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ -var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; -var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ -var stringToPath = function stringToPath(string) { - var first = $strSlice(string, 0, 1); - var last = $strSlice(string, -1); - if (first === '%' && last !== '%') { - throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); - } else if (last === '%' && first !== '%') { - throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); - } - var result = []; - $replace(string, rePropName, function (match, number, quote, subString) { - result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; - }); - return result; -}; -/* end adaptation */ - -var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { - var intrinsicName = name; - var alias; - if (hasOwn(LEGACY_ALIASES, intrinsicName)) { - alias = LEGACY_ALIASES[intrinsicName]; - intrinsicName = '%' + alias[0] + '%'; - } - - if (hasOwn(INTRINSICS, intrinsicName)) { - var value = INTRINSICS[intrinsicName]; - if (value === needsEval) { - value = doEval(intrinsicName); - } - if (typeof value === 'undefined' && !allowMissing) { - throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); - } - - return { - alias: alias, - name: intrinsicName, - value: value - }; - } - - throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); -}; - -module.exports = function GetIntrinsic(name, allowMissing) { - if (typeof name !== 'string' || name.length === 0) { - throw new $TypeError('intrinsic name must be a non-empty string'); - } - if (arguments.length > 1 && typeof allowMissing !== 'boolean') { - throw new $TypeError('"allowMissing" argument must be a boolean'); - } - - if ($exec(/^%?[^%]*%?$/, name) === null) { - throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); - } - var parts = stringToPath(name); - var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; - - var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); - var intrinsicRealName = intrinsic.name; - var value = intrinsic.value; - var skipFurtherCaching = false; - - var alias = intrinsic.alias; - if (alias) { - intrinsicBaseName = alias[0]; - $spliceApply(parts, $concat([0, 1], alias)); - } - - for (var i = 1, isOwn = true; i < parts.length; i += 1) { - var part = parts[i]; - var first = $strSlice(part, 0, 1); - var last = $strSlice(part, -1); - if ( - ( - (first === '"' || first === "'" || first === '`') - || (last === '"' || last === "'" || last === '`') - ) - && first !== last - ) { - throw new $SyntaxError('property names with quotes must have matching quotes'); - } - if (part === 'constructor' || !isOwn) { - skipFurtherCaching = true; - } - - intrinsicBaseName += '.' + part; - intrinsicRealName = '%' + intrinsicBaseName + '%'; - - if (hasOwn(INTRINSICS, intrinsicRealName)) { - value = INTRINSICS[intrinsicRealName]; - } else if (value != null) { - if (!(part in value)) { - if (!allowMissing) { - throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); - } - return void undefined; - } - if ($gOPD && (i + 1) >= parts.length) { - var desc = $gOPD(value, part); - isOwn = !!desc; - - // By convention, when a data property is converted to an accessor - // property to emulate a data property that does not suffer from - // the override mistake, that accessor's getter is marked with - // an `originalValue` property. Here, when we detect this, we - // uphold the illusion by pretending to see that original data - // property, i.e., returning the value rather than the getter - // itself. - if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { - value = desc.get; - } else { - value = value[part]; - } - } else { - isOwn = hasOwn(value, part); - value = value[part]; - } - - if (isOwn && !skipFurtherCaching) { - INTRINSICS[intrinsicRealName] = value; - } - } - } - return value; -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.min.js b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.min.js deleted file mode 100644 index efd54ce..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.37.0. - * Original file: /npm/get-intrinsic@1.3.0/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var undefined,$Object=require("es-object-atoms"),$Error=require("es-errors"),$EvalError=require("es-errors/eval"),$RangeError=require("es-errors/range"),$ReferenceError=require("es-errors/ref"),$SyntaxError=require("es-errors/syntax"),$TypeError=require("es-errors/type"),$URIError=require("es-errors/uri"),abs=require("math-intrinsics/abs"),floor=require("math-intrinsics/floor"),max=require("math-intrinsics/max"),min=require("math-intrinsics/min"),pow=require("math-intrinsics/pow"),round=require("math-intrinsics/round"),sign=require("math-intrinsics/sign"),$Function=Function,getEvalledConstructor=function(r){try{return $Function('"use strict"; return ('+r+").constructor;")()}catch(r){}},$gOPD=require("gopd"),$defineProperty=require("es-define-property"),throwTypeError=function(){throw new $TypeError},ThrowTypeError=$gOPD?function(){try{return throwTypeError}catch(r){try{return $gOPD(arguments,"callee").get}catch(r){return throwTypeError}}}():throwTypeError,hasSymbols=require("has-symbols")(),getProto=require("get-proto"),$ObjectGPO=require("get-proto/Object.getPrototypeOf"),$ReflectGPO=require("get-proto/Reflect.getPrototypeOf"),$apply=require("call-bind-apply-helpers/functionApply"),$call=require("call-bind-apply-helpers/functionCall"),needsEval={},TypedArray="undefined"!=typeof Uint8Array&&getProto?getProto(Uint8Array):undefined,INTRINSICS={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":"undefined"==typeof Atomics?undefined:Atomics,"%BigInt%":"undefined"==typeof BigInt?undefined:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?undefined:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?undefined:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float16Array%":"undefined"==typeof Float16Array?undefined:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?undefined:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?undefined:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":"undefined"==typeof Int8Array?undefined:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?undefined:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":"undefined"==typeof Map?undefined:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hasSymbols&&getProto?getProto((new Map)[Symbol.iterator]()):undefined,"%Math%":Math,"%Number%":Number,"%Object%":$Object,"%Object.getOwnPropertyDescriptor%":$gOPD,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?undefined:Promise,"%Proxy%":"undefined"==typeof Proxy?undefined:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":"undefined"==typeof Reflect?undefined:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?undefined:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hasSymbols&&getProto?getProto((new Set)[Symbol.iterator]()):undefined,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":"undefined"==typeof Uint8Array?undefined:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?undefined:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?undefined:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?undefined:Uint32Array,"%URIError%":$URIError,"%WeakMap%":"undefined"==typeof WeakMap?undefined:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?undefined:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?undefined:WeakSet,"%Function.prototype.call%":$call,"%Function.prototype.apply%":$apply,"%Object.defineProperty%":$defineProperty,"%Object.getPrototypeOf%":$ObjectGPO,"%Math.abs%":abs,"%Math.floor%":floor,"%Math.max%":max,"%Math.min%":min,"%Math.pow%":pow,"%Math.round%":round,"%Math.sign%":sign,"%Reflect.getPrototypeOf%":$ReflectGPO};if(getProto)try{null.error}catch(r){var errorProto=getProto(getProto(r));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function r(e){var t;if("%AsyncFunction%"===e)t=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===e)t=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===e)t=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===e){var o=r("%AsyncGeneratorFunction%");o&&(t=o.prototype)}else if("%AsyncIteratorPrototype%"===e){var n=r("%AsyncGenerator%");n&&getProto&&(t=getProto(n.prototype))}return INTRINSICS[e]=t,t},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=require("function-bind"),hasOwn=require("hasown"),$concat=bind.call($call,Array.prototype.concat),$spliceApply=bind.call($apply,Array.prototype.splice),$replace=bind.call($call,String.prototype.replace),$strSlice=bind.call($call,String.prototype.slice),$exec=bind.call($call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(r){var e=$strSlice(r,0,1),t=$strSlice(r,-1);if("%"===e&&"%"!==t)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===t&&"%"!==e)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var o=[];return $replace(r,rePropName,(function(r,e,t,n){o[o.length]=t?$replace(n,reEscapeChar,"$1"):e||r})),o},getBaseIntrinsic=function(r,e){var t,o=r;if(hasOwn(LEGACY_ALIASES,o)&&(o="%"+(t=LEGACY_ALIASES[o])[0]+"%"),hasOwn(INTRINSICS,o)){var n=INTRINSICS[o];if(n===needsEval&&(n=doEval(o)),void 0===n&&!e)throw new $TypeError("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:t,name:o,value:n}}throw new $SyntaxError("intrinsic "+r+" does not exist!")};module.exports=function(r,e){if("string"!=typeof r||0===r.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new $TypeError('"allowMissing" argument must be a boolean');if(null===$exec(/^%?[^%]*%?$/,r))throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=stringToPath(r),o=t.length>0?t[0]:"",n=getBaseIntrinsic("%"+o+"%",e),a=n.name,i=n.value,y=!1,p=n.alias;p&&(o=p[0],$spliceApply(t,$concat([0,1],p)));for(var d=1,s=!0;d=t.length){var c=$gOPD(i,f);i=(s=!!c)&&"get"in c&&!("originalValue"in c.get)?c.get:i[f]}else s=hasOwn(i,f),i=i[f];s&&!y&&(INTRINSICS[a]=i)}}return i}; -//# sourceMappingURL=/sm/59d120b2359f5a4d4dce4a995b01ebd150a9589c184bc9b0cb830569facf94ee.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/package.json b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/package.json deleted file mode 100644 index 2828e73..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/package.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "name": "get-intrinsic", - "version": "1.3.0", - "description": "Get and robustly cache all JS language-level intrinsics at first require time", - "main": "index.js", - "exports": { - ".": "./index.js", - "./package.json": "./package.json" - }, - "sideEffects": false, - "scripts": { - "prepack": "npmignore --auto --commentLines=autogenerated", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prepublishOnly": "safe-publish-latest", - "prelint": "evalmd README.md", - "lint": "eslint --ext=.js,.mjs .", - "pretest": "npm run lint", - "tests-only": "nyc tape 'test/**/*.js'", - "test": "npm run tests-only", - "posttest": "npx npm@'>= 10.2' audit --production", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/ljharb/get-intrinsic.git" - }, - "keywords": [ - "javascript", - "ecmascript", - "es", - "js", - "intrinsic", - "getintrinsic", - "es-abstract" - ], - "author": "Jordan Harband ", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "license": "MIT", - "bugs": { - "url": "https://github.com/ljharb/get-intrinsic/issues" - }, - "homepage": "https://github.com/ljharb/get-intrinsic#readme", - "dependencies": { - "call-bind-apply-helpers": "^1.0.2", - "es-define-property": "^1.0.1", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.1.1", - "function-bind": "^1.1.2", - "get-proto": "^1.0.1", - "gopd": "^1.2.0", - "has-symbols": "^1.1.0", - "hasown": "^2.0.2", - "math-intrinsics": "^1.1.0" - }, - "devDependencies": { - "@ljharb/eslint-config": "^21.1.1", - "auto-changelog": "^2.5.0", - "call-bound": "^1.0.3", - "encoding": "^0.1.13", - "es-abstract": "^1.23.9", - "es-value-fixtures": "^1.7.1", - "eslint": "=8.8.0", - "evalmd": "^0.0.19", - "for-each": "^0.3.5", - "make-async-function": "^1.0.0", - "make-async-generator-function": "^1.0.0", - "make-generator-function": "^2.0.0", - "mock-property": "^1.1.0", - "npmignore": "^0.3.1", - "nyc": "^10.3.2", - "object-inspect": "^1.13.4", - "safe-publish-latest": "^2.0.0", - "tape": "^5.9.0" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "testling": { - "files": "test/GetIntrinsic.js" - }, - "publishConfig": { - "ignore": [ - ".github/workflows" - ] - }, - "engines": { - "node": ">= 0.4" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.js b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.js deleted file mode 100644 index d9c0f30..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.js +++ /dev/null @@ -1,274 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('../'); - -var test = require('tape'); -var forEach = require('for-each'); -var debug = require('object-inspect'); -var generatorFns = require('make-generator-function')(); -var asyncFns = require('make-async-function').list(); -var asyncGenFns = require('make-async-generator-function')(); -var mockProperty = require('mock-property'); - -var callBound = require('call-bound'); -var v = require('es-value-fixtures'); -var $gOPD = require('gopd'); -var DefinePropertyOrThrow = require('es-abstract/2023/DefinePropertyOrThrow'); - -var $isProto = callBound('%Object.prototype.isPrototypeOf%'); - -test('export', function (t) { - t.equal(typeof GetIntrinsic, 'function', 'it is a function'); - t.equal(GetIntrinsic.length, 2, 'function has length of 2'); - - t.end(); -}); - -test('throws', function (t) { - t['throws']( - function () { GetIntrinsic('not an intrinsic'); }, - SyntaxError, - 'nonexistent intrinsic throws a syntax error' - ); - - t['throws']( - function () { GetIntrinsic(''); }, - TypeError, - 'empty string intrinsic throws a type error' - ); - - t['throws']( - function () { GetIntrinsic('.'); }, - SyntaxError, - '"just a dot" intrinsic throws a syntax error' - ); - - t['throws']( - function () { GetIntrinsic('%String'); }, - SyntaxError, - 'Leading % without trailing % throws a syntax error' - ); - - t['throws']( - function () { GetIntrinsic('String%'); }, - SyntaxError, - 'Trailing % without leading % throws a syntax error' - ); - - t['throws']( - function () { GetIntrinsic("String['prototype]"); }, - SyntaxError, - 'Dynamic property access is disallowed for intrinsics (unterminated string)' - ); - - t['throws']( - function () { GetIntrinsic('%Proxy.prototype.undefined%'); }, - TypeError, - "Throws when middle part doesn't exist (%Proxy.prototype.undefined%)" - ); - - t['throws']( - function () { GetIntrinsic('%Array.prototype%garbage%'); }, - SyntaxError, - 'Throws with extra percent signs' - ); - - t['throws']( - function () { GetIntrinsic('%Array.prototype%push%'); }, - SyntaxError, - 'Throws with extra percent signs, even on an existing intrinsic' - ); - - forEach(v.nonStrings, function (nonString) { - t['throws']( - function () { GetIntrinsic(nonString); }, - TypeError, - debug(nonString) + ' is not a String' - ); - }); - - forEach(v.nonBooleans, function (nonBoolean) { - t['throws']( - function () { GetIntrinsic('%', nonBoolean); }, - TypeError, - debug(nonBoolean) + ' is not a Boolean' - ); - }); - - forEach([ - 'toString', - 'propertyIsEnumerable', - 'hasOwnProperty' - ], function (objectProtoMember) { - t['throws']( - function () { GetIntrinsic(objectProtoMember); }, - SyntaxError, - debug(objectProtoMember) + ' is not an intrinsic' - ); - }); - - t.end(); -}); - -test('base intrinsics', function (t) { - t.equal(GetIntrinsic('%Object%'), Object, '%Object% yields Object'); - t.equal(GetIntrinsic('Object'), Object, 'Object yields Object'); - t.equal(GetIntrinsic('%Array%'), Array, '%Array% yields Array'); - t.equal(GetIntrinsic('Array'), Array, 'Array yields Array'); - - t.end(); -}); - -test('dotted paths', function (t) { - t.equal(GetIntrinsic('%Object.prototype.toString%'), Object.prototype.toString, '%Object.prototype.toString% yields Object.prototype.toString'); - t.equal(GetIntrinsic('Object.prototype.toString'), Object.prototype.toString, 'Object.prototype.toString yields Object.prototype.toString'); - t.equal(GetIntrinsic('%Array.prototype.push%'), Array.prototype.push, '%Array.prototype.push% yields Array.prototype.push'); - t.equal(GetIntrinsic('Array.prototype.push'), Array.prototype.push, 'Array.prototype.push yields Array.prototype.push'); - - test('underscore paths are aliases for dotted paths', { skip: !Object.isFrozen || Object.isFrozen(Object.prototype) }, function (st) { - var original = GetIntrinsic('%ObjProto_toString%'); - - forEach([ - '%Object.prototype.toString%', - 'Object.prototype.toString', - '%ObjectPrototype.toString%', - 'ObjectPrototype.toString', - '%ObjProto_toString%', - 'ObjProto_toString' - ], function (name) { - DefinePropertyOrThrow(Object.prototype, 'toString', { - '[[Value]]': function toString() { - return original.apply(this, arguments); - } - }); - st.equal(GetIntrinsic(name), original, name + ' yields original Object.prototype.toString'); - }); - - DefinePropertyOrThrow(Object.prototype, 'toString', { '[[Value]]': original }); - st.end(); - }); - - test('dotted paths cache', { skip: !Object.isFrozen || Object.isFrozen(Object.prototype) }, function (st) { - var original = GetIntrinsic('%Object.prototype.propertyIsEnumerable%'); - - forEach([ - '%Object.prototype.propertyIsEnumerable%', - 'Object.prototype.propertyIsEnumerable', - '%ObjectPrototype.propertyIsEnumerable%', - 'ObjectPrototype.propertyIsEnumerable' - ], function (name) { - var restore = mockProperty(Object.prototype, 'propertyIsEnumerable', { - value: function propertyIsEnumerable() { - return original.apply(this, arguments); - } - }); - st.equal(GetIntrinsic(name), original, name + ' yields cached Object.prototype.propertyIsEnumerable'); - - restore(); - }); - - st.end(); - }); - - test('dotted path reports correct error', function (st) { - st['throws'](function () { - GetIntrinsic('%NonExistentIntrinsic.prototype.property%'); - }, /%NonExistentIntrinsic%/, 'The base intrinsic of %NonExistentIntrinsic.prototype.property% is %NonExistentIntrinsic%'); - - st['throws'](function () { - GetIntrinsic('%NonExistentIntrinsicPrototype.property%'); - }, /%NonExistentIntrinsicPrototype%/, 'The base intrinsic of %NonExistentIntrinsicPrototype.property% is %NonExistentIntrinsicPrototype%'); - - st.end(); - }); - - t.end(); -}); - -test('accessors', { skip: !$gOPD || typeof Map !== 'function' }, function (t) { - var actual = $gOPD(Map.prototype, 'size'); - t.ok(actual, 'Map.prototype.size has a descriptor'); - t.equal(typeof actual.get, 'function', 'Map.prototype.size has a getter function'); - t.equal(GetIntrinsic('%Map.prototype.size%'), actual.get, '%Map.prototype.size% yields the getter for it'); - t.equal(GetIntrinsic('Map.prototype.size'), actual.get, 'Map.prototype.size yields the getter for it'); - - t.end(); -}); - -test('generator functions', { skip: !generatorFns.length }, function (t) { - var $GeneratorFunction = GetIntrinsic('%GeneratorFunction%'); - var $GeneratorFunctionPrototype = GetIntrinsic('%Generator%'); - var $GeneratorPrototype = GetIntrinsic('%GeneratorPrototype%'); - - forEach(generatorFns, function (genFn) { - var fnName = genFn.name; - fnName = fnName ? "'" + fnName + "'" : 'genFn'; - - t.ok(genFn instanceof $GeneratorFunction, fnName + ' instanceof %GeneratorFunction%'); - t.ok($isProto($GeneratorFunctionPrototype, genFn), '%Generator% is prototype of ' + fnName); - t.ok($isProto($GeneratorPrototype, genFn.prototype), '%GeneratorPrototype% is prototype of ' + fnName + '.prototype'); - }); - - t.end(); -}); - -test('async functions', { skip: !asyncFns.length }, function (t) { - var $AsyncFunction = GetIntrinsic('%AsyncFunction%'); - var $AsyncFunctionPrototype = GetIntrinsic('%AsyncFunctionPrototype%'); - - forEach(asyncFns, function (asyncFn) { - var fnName = asyncFn.name; - fnName = fnName ? "'" + fnName + "'" : 'asyncFn'; - - t.ok(asyncFn instanceof $AsyncFunction, fnName + ' instanceof %AsyncFunction%'); - t.ok($isProto($AsyncFunctionPrototype, asyncFn), '%AsyncFunctionPrototype% is prototype of ' + fnName); - }); - - t.end(); -}); - -test('async generator functions', { skip: asyncGenFns.length === 0 }, function (t) { - var $AsyncGeneratorFunction = GetIntrinsic('%AsyncGeneratorFunction%'); - var $AsyncGeneratorFunctionPrototype = GetIntrinsic('%AsyncGenerator%'); - var $AsyncGeneratorPrototype = GetIntrinsic('%AsyncGeneratorPrototype%'); - - forEach(asyncGenFns, function (asyncGenFn) { - var fnName = asyncGenFn.name; - fnName = fnName ? "'" + fnName + "'" : 'asyncGenFn'; - - t.ok(asyncGenFn instanceof $AsyncGeneratorFunction, fnName + ' instanceof %AsyncGeneratorFunction%'); - t.ok($isProto($AsyncGeneratorFunctionPrototype, asyncGenFn), '%AsyncGenerator% is prototype of ' + fnName); - t.ok($isProto($AsyncGeneratorPrototype, asyncGenFn.prototype), '%AsyncGeneratorPrototype% is prototype of ' + fnName + '.prototype'); - }); - - t.end(); -}); - -test('%ThrowTypeError%', function (t) { - var $ThrowTypeError = GetIntrinsic('%ThrowTypeError%'); - - t.equal(typeof $ThrowTypeError, 'function', 'is a function'); - t['throws']( - $ThrowTypeError, - TypeError, - '%ThrowTypeError% throws a TypeError' - ); - - t.end(); -}); - -test('allowMissing', { skip: asyncGenFns.length > 0 }, function (t) { - t['throws']( - function () { GetIntrinsic('%AsyncGeneratorPrototype%'); }, - TypeError, - 'throws when missing' - ); - - t.equal( - GetIntrinsic('%AsyncGeneratorPrototype%', true), - undefined, - 'does not throw when allowMissing' - ); - - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.min.js b/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.min.js deleted file mode 100644 index ab8b4f9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-intrinsic/test/GetIntrinsic.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/get-intrinsic@1.3.0/test/GetIntrinsic.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var GetIntrinsic=require("../"),test=require("tape"),forEach=require("for-each"),debug=require("object-inspect"),generatorFns=require("make-generator-function")(),asyncFns=require("make-async-function").list(),asyncGenFns=require("make-async-generator-function")(),mockProperty=require("mock-property"),callBound=require("call-bound"),v=require("es-value-fixtures"),$gOPD=require("gopd"),DefinePropertyOrThrow=require("es-abstract/2023/DefinePropertyOrThrow"),$isProto=callBound("%Object.prototype.isPrototypeOf%");test("export",(function(t){t.equal(typeof GetIntrinsic,"function","it is a function"),t.equal(GetIntrinsic.length,2,"function has length of 2"),t.end()})),test("throws",(function(t){t.throws((function(){GetIntrinsic("not an intrinsic")}),SyntaxError,"nonexistent intrinsic throws a syntax error"),t.throws((function(){GetIntrinsic("")}),TypeError,"empty string intrinsic throws a type error"),t.throws((function(){GetIntrinsic(".")}),SyntaxError,'"just a dot" intrinsic throws a syntax error'),t.throws((function(){GetIntrinsic("%String")}),SyntaxError,"Leading % without trailing % throws a syntax error"),t.throws((function(){GetIntrinsic("String%")}),SyntaxError,"Trailing % without leading % throws a syntax error"),t.throws((function(){GetIntrinsic("String['prototype]")}),SyntaxError,"Dynamic property access is disallowed for intrinsics (unterminated string)"),t.throws((function(){GetIntrinsic("%Proxy.prototype.undefined%")}),TypeError,"Throws when middle part doesn't exist (%Proxy.prototype.undefined%)"),t.throws((function(){GetIntrinsic("%Array.prototype%garbage%")}),SyntaxError,"Throws with extra percent signs"),t.throws((function(){GetIntrinsic("%Array.prototype%push%")}),SyntaxError,"Throws with extra percent signs, even on an existing intrinsic"),forEach(v.nonStrings,(function(r){t.throws((function(){GetIntrinsic(r)}),TypeError,debug(r)+" is not a String")})),forEach(v.nonBooleans,(function(r){t.throws((function(){GetIntrinsic("%",r)}),TypeError,debug(r)+" is not a Boolean")})),forEach(["toString","propertyIsEnumerable","hasOwnProperty"],(function(r){t.throws((function(){GetIntrinsic(r)}),SyntaxError,debug(r)+" is not an intrinsic")})),t.end()})),test("base intrinsics",(function(t){t.equal(GetIntrinsic("%Object%"),Object,"%Object% yields Object"),t.equal(GetIntrinsic("Object"),Object,"Object yields Object"),t.equal(GetIntrinsic("%Array%"),Array,"%Array% yields Array"),t.equal(GetIntrinsic("Array"),Array,"Array yields Array"),t.end()})),test("dotted paths",(function(t){t.equal(GetIntrinsic("%Object.prototype.toString%"),Object.prototype.toString,"%Object.prototype.toString% yields Object.prototype.toString"),t.equal(GetIntrinsic("Object.prototype.toString"),Object.prototype.toString,"Object.prototype.toString yields Object.prototype.toString"),t.equal(GetIntrinsic("%Array.prototype.push%"),Array.prototype.push,"%Array.prototype.push% yields Array.prototype.push"),t.equal(GetIntrinsic("Array.prototype.push"),Array.prototype.push,"Array.prototype.push yields Array.prototype.push"),test("underscore paths are aliases for dotted paths",{skip:!Object.isFrozen||Object.isFrozen(Object.prototype)},(function(t){var r=GetIntrinsic("%ObjProto_toString%");forEach(["%Object.prototype.toString%","Object.prototype.toString","%ObjectPrototype.toString%","ObjectPrototype.toString","%ObjProto_toString%","ObjProto_toString"],(function(e){DefinePropertyOrThrow(Object.prototype,"toString",{"[[Value]]":function(){return r.apply(this,arguments)}}),t.equal(GetIntrinsic(e),r,e+" yields original Object.prototype.toString")})),DefinePropertyOrThrow(Object.prototype,"toString",{"[[Value]]":r}),t.end()})),test("dotted paths cache",{skip:!Object.isFrozen||Object.isFrozen(Object.prototype)},(function(t){var r=GetIntrinsic("%Object.prototype.propertyIsEnumerable%");forEach(["%Object.prototype.propertyIsEnumerable%","Object.prototype.propertyIsEnumerable","%ObjectPrototype.propertyIsEnumerable%","ObjectPrototype.propertyIsEnumerable"],(function(e){var n=mockProperty(Object.prototype,"propertyIsEnumerable",{value:function(){return r.apply(this,arguments)}});t.equal(GetIntrinsic(e),r,e+" yields cached Object.prototype.propertyIsEnumerable"),n()})),t.end()})),test("dotted path reports correct error",(function(t){t.throws((function(){GetIntrinsic("%NonExistentIntrinsic.prototype.property%")}),/%NonExistentIntrinsic%/,"The base intrinsic of %NonExistentIntrinsic.prototype.property% is %NonExistentIntrinsic%"),t.throws((function(){GetIntrinsic("%NonExistentIntrinsicPrototype.property%")}),/%NonExistentIntrinsicPrototype%/,"The base intrinsic of %NonExistentIntrinsicPrototype.property% is %NonExistentIntrinsicPrototype%"),t.end()})),t.end()})),test("accessors",{skip:!$gOPD||"function"!=typeof Map},(function(t){var r=$gOPD(Map.prototype,"size");t.ok(r,"Map.prototype.size has a descriptor"),t.equal(typeof r.get,"function","Map.prototype.size has a getter function"),t.equal(GetIntrinsic("%Map.prototype.size%"),r.get,"%Map.prototype.size% yields the getter for it"),t.equal(GetIntrinsic("Map.prototype.size"),r.get,"Map.prototype.size yields the getter for it"),t.end()})),test("generator functions",{skip:!generatorFns.length},(function(t){var r=GetIntrinsic("%GeneratorFunction%"),e=GetIntrinsic("%Generator%"),n=GetIntrinsic("%GeneratorPrototype%");forEach(generatorFns,(function(o){var i=o.name;i=i?"'"+i+"'":"genFn",t.ok(o instanceof r,i+" instanceof %GeneratorFunction%"),t.ok($isProto(e,o),"%Generator% is prototype of "+i),t.ok($isProto(n,o.prototype),"%GeneratorPrototype% is prototype of "+i+".prototype")})),t.end()})),test("async functions",{skip:!asyncFns.length},(function(t){var r=GetIntrinsic("%AsyncFunction%"),e=GetIntrinsic("%AsyncFunctionPrototype%");forEach(asyncFns,(function(n){var o=n.name;o=o?"'"+o+"'":"asyncFn",t.ok(n instanceof r,o+" instanceof %AsyncFunction%"),t.ok($isProto(e,n),"%AsyncFunctionPrototype% is prototype of "+o)})),t.end()})),test("async generator functions",{skip:0===asyncGenFns.length},(function(t){var r=GetIntrinsic("%AsyncGeneratorFunction%"),e=GetIntrinsic("%AsyncGenerator%"),n=GetIntrinsic("%AsyncGeneratorPrototype%");forEach(asyncGenFns,(function(o){var i=o.name;i=i?"'"+i+"'":"asyncGenFn",t.ok(o instanceof r,i+" instanceof %AsyncGeneratorFunction%"),t.ok($isProto(e,o),"%AsyncGenerator% is prototype of "+i),t.ok($isProto(n,o.prototype),"%AsyncGeneratorPrototype% is prototype of "+i+".prototype")})),t.end()})),test("%ThrowTypeError%",(function(t){var r=GetIntrinsic("%ThrowTypeError%");t.equal(typeof r,"function","is a function"),t.throws(r,TypeError,"%ThrowTypeError% throws a TypeError"),t.end()})),test("allowMissing",{skip:asyncGenFns.length>0},(function(t){t.throws((function(){GetIntrinsic("%AsyncGeneratorPrototype%")}),TypeError,"throws when missing"),t.equal(GetIntrinsic("%AsyncGeneratorPrototype%",!0),void 0,"does not throw when allowMissing"),t.end()})); -//# sourceMappingURL=/sm/22aad20ba657a1343107b3c1a1e9d3d74a71b9497c89d9575aa376eeda076ebc.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/get-proto/CHANGELOG.md deleted file mode 100644 index 5860229..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/CHANGELOG.md +++ /dev/null @@ -1,21 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.0.1](https://github.com/ljharb/get-proto/compare/v1.0.0...v1.0.1) - 2025-01-02 - -### Commits - -- [Fix] for the `Object.getPrototypeOf` window, throw for non-objects [`7fe6508`](https://github.com/ljharb/get-proto/commit/7fe6508b71419ebe1976bedb86001d1feaeaa49a) - -## v1.0.0 - 2025-01-01 - -### Commits - -- Initial implementation, tests, readme, types [`5c70775`](https://github.com/ljharb/get-proto/commit/5c707751e81c3deeb2cf980d185fc7fd43611415) -- Initial commit [`7c65c2a`](https://github.com/ljharb/get-proto/commit/7c65c2ad4e33d5dae2f219ebe1a046ae2256972c) -- npm init [`0b8cf82`](https://github.com/ljharb/get-proto/commit/0b8cf824c9634e4a34ef7dd2a2cdc5be6ac79518) -- Only apps should have lockfiles [`a6d1bff`](https://github.com/ljharb/get-proto/commit/a6d1bffc364f5828377cea7194558b2dbef7aea2) diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/LICENSE b/Lombiq.EInvoiceValidator/node_modules/get-proto/LICENSE deleted file mode 100644 index eeabd1c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2025 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.d.ts b/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.d.ts deleted file mode 100644 index 028b3ff..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare function getProto(object: O): object | null; - -declare const x: typeof getProto | null; - -export = x; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.js deleted file mode 100644 index c2cbbdf..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; - -var $Object = require('es-object-atoms'); - -/** @type {import('./Object.getPrototypeOf')} */ -module.exports = $Object.getPrototypeOf || null; diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.min.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.min.js deleted file mode 100644 index b550bb2..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/Object.getPrototypeOf.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/get-proto@1.0.1/Object.getPrototypeOf.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var $Object=require("es-object-atoms");module.exports=$Object.getPrototypeOf||null; -//# sourceMappingURL=/sm/8df67df1fc24c29814704c0b5f6b4243280c45e319f4a5fcd1a17cec26bf2c2b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/README.md b/Lombiq.EInvoiceValidator/node_modules/get-proto/README.md deleted file mode 100644 index f8b4cce..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/README.md +++ /dev/null @@ -1,50 +0,0 @@ -# get-proto [![Version Badge][npm-version-svg]][package-url] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -Robustly get the [[Prototype]] of an object. Uses the best available method. - -## Getting started - -```sh -npm install --save get-proto -``` - -## Usage/Examples - -```js -const assert = require('assert'); -const getProto = require('get-proto'); - -const a = { a: 1, b: 2, [Symbol.toStringTag]: 'foo' }; -const b = { c: 3, __proto__: a }; - -assert.equal(getProto(b), a); -assert.equal(getProto(a), Object.prototype); -assert.equal(getProto({ __proto__: null }), null); -``` - -## Tests - -Clone the repo, `npm install`, and run `npm test` - -[package-url]: https://npmjs.org/package/get-proto -[npm-version-svg]: https://versionbadg.es/ljharb/get-proto.svg -[deps-svg]: https://david-dm.org/ljharb/get-proto.svg -[deps-url]: https://david-dm.org/ljharb/get-proto -[dev-deps-svg]: https://david-dm.org/ljharb/get-proto/dev-status.svg -[dev-deps-url]: https://david-dm.org/ljharb/get-proto#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/get-proto.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/get-proto.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/get-proto.svg -[downloads-url]: https://npm-stat.com/charts.html?package=get-proto -[codecov-image]: https://codecov.io/gh/ljharb/get-proto/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/ljharb/get-proto/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/get-proto -[actions-url]: https://github.com/ljharb/get-proto/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.d.ts b/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.d.ts deleted file mode 100644 index 2388fe0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const x: typeof Reflect.getPrototypeOf | null; - -export = x; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.js deleted file mode 100644 index e6c51be..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./Reflect.getPrototypeOf')} */ -module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null; diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.min.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.min.js deleted file mode 100644 index f2f6bf9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/Reflect.getPrototypeOf.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/get-proto@1.0.1/Reflect.getPrototypeOf.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null; -//# sourceMappingURL=/sm/592e3ce0936b47b921a33e4dec06c77c21eed397ddd0ccbd558ba8a73e909f4b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/get-proto/index.d.ts deleted file mode 100644 index 2c021f3..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare function getProto(object: O): object | null; - -declare const x: typeof getProto | null; - -export = x; diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/index.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/index.js deleted file mode 100644 index 7e5747b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/index.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -var reflectGetProto = require('./Reflect.getPrototypeOf'); -var originalGetProto = require('./Object.getPrototypeOf'); - -var getDunderProto = require('dunder-proto/get'); - -/** @type {import('.')} */ -module.exports = reflectGetProto - ? function getProto(O) { - // @ts-expect-error TS can't narrow inside a closure, for some reason - return reflectGetProto(O); - } - : originalGetProto - ? function getProto(O) { - if (!O || (typeof O !== 'object' && typeof O !== 'function')) { - throw new TypeError('getProto: not an object'); - } - // @ts-expect-error TS can't narrow inside a closure, for some reason - return originalGetProto(O); - } - : getDunderProto - ? function getProto(O) { - // @ts-expect-error TS can't narrow inside a closure, for some reason - return getDunderProto(O); - } - : null; diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/index.min.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/index.min.js deleted file mode 100644 index 855f356..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.37.0. - * Original file: /npm/get-proto@1.0.1/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var reflectGetProto=require("./Reflect.getPrototypeOf"),originalGetProto=require("./Object.getPrototypeOf"),getDunderProto=require("dunder-proto/get");module.exports=reflectGetProto?function(t){return reflectGetProto(t)}:originalGetProto?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("getProto: not an object");return originalGetProto(t)}:getDunderProto?function(t){return getDunderProto(t)}:null; -//# sourceMappingURL=/sm/f22e873b8dfd9d114c3ab33a6ca619c4c53bcb72201634837681c8b3e6eea153.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/package.json b/Lombiq.EInvoiceValidator/node_modules/get-proto/package.json deleted file mode 100644 index 9c35cec..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/package.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "name": "get-proto", - "version": "1.0.1", - "description": "Robustly get the [[Prototype]] of an object", - "main": "index.js", - "exports": { - ".": "./index.js", - "./Reflect.getPrototypeOf": "./Reflect.getPrototypeOf.js", - "./Object.getPrototypeOf": "./Object.getPrototypeOf.js", - "./package.json": "./package.json" - }, - "scripts": { - "prepack": "npmignore --auto --commentLines=autogenerated", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prepublishOnly": "safe-publish-latest", - "pretest": "npm run --silent lint", - "test": "npm run tests-only", - "posttest": "npx npm@\">=10.2\" audit --production", - "tests-only": "nyc tape 'test/**/*.js'", - "prelint": "evalmd README.md", - "lint": "eslint --ext=js,mjs .", - "postlint": "tsc && attw -P", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/ljharb/get-proto.git" - }, - "keywords": [ - "get", - "proto", - "prototype", - "getPrototypeOf", - "[[Prototype]]" - ], - "author": "Jordan Harband ", - "license": "MIT", - "bugs": { - "url": "https://github.com/ljharb/get-proto/issues" - }, - "homepage": "https://github.com/ljharb/get-proto#readme", - "dependencies": { - "dunder-proto": "^1.0.1", - "es-object-atoms": "^1.0.0" - }, - "devDependencies": { - "@arethetypeswrong/cli": "^0.17.2", - "@ljharb/eslint-config": "^21.1.1", - "@ljharb/tsconfig": "^0.2.3", - "@types/tape": "^5.8.0", - "auto-changelog": "^2.5.0", - "eslint": "=8.8.0", - "evalmd": "^0.0.19", - "in-publish": "^2.0.1", - "npmignore": "^0.3.1", - "nyc": "^10.3.2", - "safe-publish-latest": "^2.0.0", - "tape": "^5.9.0", - "typescript": "next" - }, - "engines": { - "node": ">= 0.4" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "publishConfig": { - "ignore": [ - ".github/workflows" - ] - }, - "testling": { - "files": "test/index.js" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.js deleted file mode 100644 index 5a2ece2..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.js +++ /dev/null @@ -1,68 +0,0 @@ -'use strict'; - -var test = require('tape'); - -var getProto = require('../'); - -test('getProto', function (t) { - t.equal(typeof getProto, 'function', 'is a function'); - - t.test('can get', { skip: !getProto }, function (st) { - if (getProto) { // TS doesn't understand tape's skip - var proto = { b: 2 }; - st.equal(getProto(proto), Object.prototype, 'proto: returns the [[Prototype]]'); - - st.test('nullish value', function (s2t) { - // @ts-expect-error - s2t['throws'](function () { return getProto(undefined); }, TypeError, 'undefined is not an object'); - // @ts-expect-error - s2t['throws'](function () { return getProto(null); }, TypeError, 'null is not an object'); - s2t.end(); - }); - - // @ts-expect-error - st['throws'](function () { getProto(true); }, 'throws for true'); - // @ts-expect-error - st['throws'](function () { getProto(false); }, 'throws for false'); - // @ts-expect-error - st['throws'](function () { getProto(42); }, 'throws for 42'); - // @ts-expect-error - st['throws'](function () { getProto(NaN); }, 'throws for NaN'); - // @ts-expect-error - st['throws'](function () { getProto(0); }, 'throws for +0'); - // @ts-expect-error - st['throws'](function () { getProto(-0); }, 'throws for -0'); - // @ts-expect-error - st['throws'](function () { getProto(Infinity); }, 'throws for ∞'); - // @ts-expect-error - st['throws'](function () { getProto(-Infinity); }, 'throws for -∞'); - // @ts-expect-error - st['throws'](function () { getProto(''); }, 'throws for empty string'); - // @ts-expect-error - st['throws'](function () { getProto('foo'); }, 'throws for non-empty string'); - st.equal(getProto(/a/g), RegExp.prototype); - st.equal(getProto(new Date()), Date.prototype); - st.equal(getProto(function () {}), Function.prototype); - st.equal(getProto([]), Array.prototype); - st.equal(getProto({}), Object.prototype); - - var nullObject = { __proto__: null }; - if ('toString' in nullObject) { - st.comment('no null objects in this engine'); - st.equal(getProto(nullObject), Object.prototype, '"null" object has Object.prototype as [[Prototype]]'); - } else { - st.equal(getProto(nullObject), null, 'null object has null [[Prototype]]'); - } - } - - st.end(); - }); - - t.test('can not get', { skip: !!getProto }, function (st) { - st.equal(getProto, null); - - st.end(); - }); - - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.min.js deleted file mode 100644 index d9bf966..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/test/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/get-proto@1.0.1/test/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var test=require("tape"),getProto=require("../");test("getProto",(function(t){t.equal(typeof getProto,"function","is a function"),t.test("can get",{skip:!getProto},(function(t){if(getProto){t.equal(getProto({b:2}),Object.prototype,"proto: returns the [[Prototype]]"),t.test("nullish value",(function(t){t.throws((function(){return getProto(void 0)}),TypeError,"undefined is not an object"),t.throws((function(){return getProto(null)}),TypeError,"null is not an object"),t.end()})),t.throws((function(){getProto(!0)}),"throws for true"),t.throws((function(){getProto(!1)}),"throws for false"),t.throws((function(){getProto(42)}),"throws for 42"),t.throws((function(){getProto(NaN)}),"throws for NaN"),t.throws((function(){getProto(0)}),"throws for +0"),t.throws((function(){getProto(-0)}),"throws for -0"),t.throws((function(){getProto(1/0)}),"throws for ∞"),t.throws((function(){getProto(-1/0)}),"throws for -∞"),t.throws((function(){getProto("")}),"throws for empty string"),t.throws((function(){getProto("foo")}),"throws for non-empty string"),t.equal(getProto(/a/g),RegExp.prototype),t.equal(getProto(new Date),Date.prototype),t.equal(getProto((function(){})),Function.prototype),t.equal(getProto([]),Array.prototype),t.equal(getProto({}),Object.prototype);var o={__proto__:null};"toString"in o?(t.comment("no null objects in this engine"),t.equal(getProto(o),Object.prototype,'"null" object has Object.prototype as [[Prototype]]')):t.equal(getProto(o),null,"null object has null [[Prototype]]")}t.end()})),t.test("can not get",{skip:!!getProto},(function(t){t.equal(getProto,null),t.end()})),t.end()})); -//# sourceMappingURL=/sm/3dca82ed62b91542572550f7cb92309c981fe929d3cc31ec884a94c23bb79832.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/get-proto/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/get-proto/tsconfig.json deleted file mode 100644 index 60fb90e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/get-proto/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "@ljharb/tsconfig", - "compilerOptions": { - //"target": "es2021", - }, - "exclude": [ - "coverage", - ], -} diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/gopd/CHANGELOG.md deleted file mode 100644 index 87f5727..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/gopd/CHANGELOG.md +++ /dev/null @@ -1,45 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.2.0](https://github.com/ljharb/gopd/compare/v1.1.0...v1.2.0) - 2024-12-03 - -### Commits - -- [New] add `gOPD` entry point; remove `get-intrinsic` [`5b61232`](https://github.com/ljharb/gopd/commit/5b61232dedea4591a314bcf16101b1961cee024e) - -## [v1.1.0](https://github.com/ljharb/gopd/compare/v1.0.1...v1.1.0) - 2024-11-29 - -### Commits - -- [New] add types [`f585e39`](https://github.com/ljharb/gopd/commit/f585e397886d270e4ba84e53d226e4f9ca2eb0e6) -- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `tape` [`0b8e4fd`](https://github.com/ljharb/gopd/commit/0b8e4fded64397a7726a9daa144a6cc9a5e2edfa) -- [Dev Deps] update `aud`, `npmignore`, `tape` [`48378b2`](https://github.com/ljharb/gopd/commit/48378b2443f09a4f7efbd0fb6c3ee845a6cabcf3) -- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`78099ee`](https://github.com/ljharb/gopd/commit/78099eeed41bfdc134c912280483689cc8861c31) -- [Tests] replace `aud` with `npm audit` [`4e0d0ac`](https://github.com/ljharb/gopd/commit/4e0d0ac47619d24a75318a8e1f543ee04b2a2632) -- [meta] add missing `engines.node` [`1443316`](https://github.com/ljharb/gopd/commit/14433165d07835c680155b3dfd62d9217d735eca) -- [Deps] update `get-intrinsic` [`eee5f51`](https://github.com/ljharb/gopd/commit/eee5f51769f3dbaf578b70e2a3199116b01aa670) -- [Deps] update `get-intrinsic` [`550c378`](https://github.com/ljharb/gopd/commit/550c3780e3a9c77b62565712a001b4ed64ea61f5) -- [Dev Deps] add missing peer dep [`8c2ecf8`](https://github.com/ljharb/gopd/commit/8c2ecf848122e4e30abfc5b5086fb48b390dce75) - -## [v1.0.1](https://github.com/ljharb/gopd/compare/v1.0.0...v1.0.1) - 2022-11-01 - -### Commits - -- [Fix] actually export gOPD instead of dP [`4b624bf`](https://github.com/ljharb/gopd/commit/4b624bfbeff788c5e3ff16d9443a83627847234f) - -## v1.0.0 - 2022-11-01 - -### Commits - -- Initial implementation, tests, readme [`0911e01`](https://github.com/ljharb/gopd/commit/0911e012cd642092bd88b732c161c58bf4f20bea) -- Initial commit [`b84e33f`](https://github.com/ljharb/gopd/commit/b84e33f5808a805ac57ff88d4247ad935569acbe) -- [actions] add reusable workflows [`12ae28a`](https://github.com/ljharb/gopd/commit/12ae28ae5f50f86e750215b6e2188901646d0119) -- npm init [`280118b`](https://github.com/ljharb/gopd/commit/280118badb45c80b4483836b5cb5315bddf6e582) -- [meta] add `auto-changelog` [`bb78de5`](https://github.com/ljharb/gopd/commit/bb78de5639a180747fb290c28912beaaf1615709) -- [meta] create FUNDING.yml; add `funding` in package.json [`11c22e6`](https://github.com/ljharb/gopd/commit/11c22e6355bb01f24e7fac4c9bb3055eb5b25002) -- [meta] use `npmignore` to autogenerate an npmignore file [`4f4537a`](https://github.com/ljharb/gopd/commit/4f4537a843b39f698c52f072845092e6fca345bb) -- Only apps should have lockfiles [`c567022`](https://github.com/ljharb/gopd/commit/c567022a18573aa7951cf5399445d9840e23e98b) diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/LICENSE b/Lombiq.EInvoiceValidator/node_modules/gopd/LICENSE deleted file mode 100644 index 6abfe14..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/gopd/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/README.md b/Lombiq.EInvoiceValidator/node_modules/gopd/README.md deleted file mode 100644 index 784e56a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/gopd/README.md +++ /dev/null @@ -1,40 +0,0 @@ -# gopd [![Version Badge][npm-version-svg]][package-url] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation. - -## Usage - -```javascript -var gOPD = require('gopd'); -var assert = require('assert'); - -if (gOPD) { - assert.equal(typeof gOPD, 'function', 'descriptors supported'); - // use gOPD like Object.getOwnPropertyDescriptor here -} else { - assert.ok(!gOPD, 'descriptors not supported'); -} -``` - -[package-url]: https://npmjs.org/package/gopd -[npm-version-svg]: https://versionbadg.es/ljharb/gopd.svg -[deps-svg]: https://david-dm.org/ljharb/gopd.svg -[deps-url]: https://david-dm.org/ljharb/gopd -[dev-deps-svg]: https://david-dm.org/ljharb/gopd/dev-status.svg -[dev-deps-url]: https://david-dm.org/ljharb/gopd#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/gopd.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/gopd.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/gopd.svg -[downloads-url]: https://npm-stat.com/charts.html?package=gopd -[codecov-image]: https://codecov.io/gh/ljharb/gopd/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/ljharb/gopd/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/gopd -[actions-url]: https://github.com/ljharb/gopd/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.d.ts b/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.d.ts deleted file mode 100644 index def48a3..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = Object.getOwnPropertyDescriptor; diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.js b/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.js deleted file mode 100644 index cf9616c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./gOPD')} */ -module.exports = Object.getOwnPropertyDescriptor; diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.min.js b/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.min.js deleted file mode 100644 index 5b45fea..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/gopd/gOPD.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/gopd@1.2.0/gOPD.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=Object.getOwnPropertyDescriptor; -//# sourceMappingURL=/sm/9aa3214849b964a25a62a0b2db99c6284d28331cb26aae737f5380f72e6b4d69.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/gopd/index.d.ts deleted file mode 100644 index e228065..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/gopd/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare function gOPD(obj: O, prop: K): PropertyDescriptor | undefined; - -declare const fn: typeof gOPD | undefined | null; - -export = fn; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/index.js b/Lombiq.EInvoiceValidator/node_modules/gopd/index.js deleted file mode 100644 index a4081b0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/gopd/index.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -/** @type {import('.')} */ -var $gOPD = require('./gOPD'); - -if ($gOPD) { - try { - $gOPD([], 'length'); - } catch (e) { - // IE 8 has a broken gOPD - $gOPD = null; - } -} - -module.exports = $gOPD; diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/index.min.js b/Lombiq.EInvoiceValidator/node_modules/gopd/index.min.js deleted file mode 100644 index ecb2d82..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/gopd/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.19.2. - * Original file: /npm/gopd@1.2.0/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var $gOPD=require("./gOPD");if($gOPD)try{$gOPD([],"length")}catch(g){$gOPD=null}module.exports=$gOPD; -//# sourceMappingURL=/sm/c171efa16e3bfbf9452eeb429bfbc58cbb839fada49fee2a68b121c08dc20d3e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/package.json b/Lombiq.EInvoiceValidator/node_modules/gopd/package.json deleted file mode 100644 index 01c5ffa..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/gopd/package.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "name": "gopd", - "version": "1.2.0", - "description": "`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.", - "main": "index.js", - "exports": { - ".": "./index.js", - "./gOPD": "./gOPD.js", - "./package.json": "./package.json" - }, - "sideEffects": false, - "scripts": { - "prepack": "npmignore --auto --commentLines=autogenerated", - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prelint": "tsc -p . && attw -P", - "lint": "eslint --ext=js,mjs .", - "postlint": "evalmd README.md", - "pretest": "npm run lint", - "tests-only": "tape 'test/**/*.js'", - "test": "npm run tests-only", - "posttest": "npx npm@'>=10.2' audit --production", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/ljharb/gopd.git" - }, - "keywords": [ - "ecmascript", - "javascript", - "getownpropertydescriptor", - "property", - "descriptor" - ], - "author": "Jordan Harband ", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "license": "MIT", - "bugs": { - "url": "https://github.com/ljharb/gopd/issues" - }, - "homepage": "https://github.com/ljharb/gopd#readme", - "devDependencies": { - "@arethetypeswrong/cli": "^0.17.0", - "@ljharb/eslint-config": "^21.1.1", - "@ljharb/tsconfig": "^0.2.0", - "@types/tape": "^5.6.5", - "auto-changelog": "^2.5.0", - "encoding": "^0.1.13", - "eslint": "=8.8.0", - "evalmd": "^0.0.19", - "in-publish": "^2.0.1", - "npmignore": "^0.3.1", - "safe-publish-latest": "^2.0.0", - "tape": "^5.9.0", - "typescript": "next" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "publishConfig": { - "ignore": [ - ".github/workflows" - ] - }, - "engines": { - "node": ">= 0.4" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/test/index.js b/Lombiq.EInvoiceValidator/node_modules/gopd/test/index.js deleted file mode 100644 index 6f43453..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/gopd/test/index.js +++ /dev/null @@ -1,36 +0,0 @@ -'use strict'; - -var test = require('tape'); -var gOPD = require('../'); - -test('gOPD', function (t) { - t.test('supported', { skip: !gOPD }, function (st) { - st.equal(typeof gOPD, 'function', 'is a function'); - - var obj = { x: 1 }; - st.ok('x' in obj, 'property exists'); - - // @ts-expect-error TS can't figure out narrowing from `skip` - var desc = gOPD(obj, 'x'); - st.deepEqual( - desc, - { - configurable: true, - enumerable: true, - value: 1, - writable: true - }, - 'descriptor is as expected' - ); - - st.end(); - }); - - t.test('not supported', { skip: !!gOPD }, function (st) { - st.notOk(gOPD, 'is falsy'); - - st.end(); - }); - - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/gopd/test/index.min.js deleted file mode 100644 index b7575d1..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/gopd/test/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/gopd@1.2.0/test/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var test=require("tape"),gOPD=require("../");test("gOPD",(function(e){e.test("supported",{skip:!gOPD},(function(e){e.equal(typeof gOPD,"function","is a function");var t={x:1};e.ok("x"in t,"property exists");var i=gOPD(t,"x");e.deepEqual(i,{configurable:!0,enumerable:!0,value:1,writable:!0},"descriptor is as expected"),e.end()})),e.test("not supported",{skip:!!gOPD},(function(e){e.notOk(gOPD,"is falsy"),e.end()})),e.end()})); -//# sourceMappingURL=/sm/e88f71d901b2e366736a616765c1fd176080d4717dcb31b8b3085826a527e8fc.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/gopd/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/gopd/tsconfig.json deleted file mode 100644 index d9a6668..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/gopd/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "@ljharb/tsconfig", - "compilerOptions": { - "target": "es2021", - }, - "exclude": [ - "coverage", - ], -} diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/has-symbols/CHANGELOG.md deleted file mode 100644 index cc3cf83..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/CHANGELOG.md +++ /dev/null @@ -1,91 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.1.0](https://github.com/inspect-js/has-symbols/compare/v1.0.3...v1.1.0) - 2024-12-02 - -### Commits - -- [actions] update workflows [`548c0bf`](https://github.com/inspect-js/has-symbols/commit/548c0bf8c9b1235458df7a1c0490b0064647a282) -- [actions] further shard; update action deps [`bec56bb`](https://github.com/inspect-js/has-symbols/commit/bec56bb0fb44b43a786686b944875a3175cf3ff3) -- [meta] use `npmignore` to autogenerate an npmignore file [`ac81032`](https://github.com/inspect-js/has-symbols/commit/ac81032809157e0a079e5264e9ce9b6f1275777e) -- [New] add types [`6469cbf`](https://github.com/inspect-js/has-symbols/commit/6469cbff1866cfe367b2b3d181d9296ec14b2a3d) -- [actions] update rebase action to use reusable workflow [`9c9d4d0`](https://github.com/inspect-js/has-symbols/commit/9c9d4d0d8938e4b267acdf8e421f4e92d1716d72) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`adb5887`](https://github.com/inspect-js/has-symbols/commit/adb5887ca9444849b08beb5caaa9e1d42320cdfb) -- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`13ec198`](https://github.com/inspect-js/has-symbols/commit/13ec198ec80f1993a87710af1606a1970b22c7cb) -- [Dev Deps] update `auto-changelog`, `core-js`, `tape` [`941be52`](https://github.com/inspect-js/has-symbols/commit/941be5248387cab1da72509b22acf3fdb223f057) -- [Tests] replace `aud` with `npm audit` [`74f49e9`](https://github.com/inspect-js/has-symbols/commit/74f49e9a9d17a443020784234a1c53ce765b3559) -- [Dev Deps] update `npmignore` [`9c0ac04`](https://github.com/inspect-js/has-symbols/commit/9c0ac0452a834f4c2a4b54044f2d6a89f17e9a70) -- [Dev Deps] add missing peer dep [`52337a5`](https://github.com/inspect-js/has-symbols/commit/52337a5621cced61f846f2afdab7707a8132cc12) - -## [v1.0.3](https://github.com/inspect-js/has-symbols/compare/v1.0.2...v1.0.3) - 2022-03-01 - -### Commits - -- [actions] use `node/install` instead of `node/run`; use `codecov` action [`518b28f`](https://github.com/inspect-js/has-symbols/commit/518b28f6c5a516cbccae30794e40aa9f738b1693) -- [meta] add `bugs` and `homepage` fields; reorder package.json [`c480b13`](https://github.com/inspect-js/has-symbols/commit/c480b13fd6802b557e1cef9749872cb5fdeef744) -- [actions] reuse common workflows [`01d0ee0`](https://github.com/inspect-js/has-symbols/commit/01d0ee0a8d97c0947f5edb73eb722027a77b2b07) -- [actions] update codecov uploader [`6424ebe`](https://github.com/inspect-js/has-symbols/commit/6424ebe86b2c9c7c3d2e9bd4413a4e4f168cb275) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`dfa7e7f`](https://github.com/inspect-js/has-symbols/commit/dfa7e7ff38b594645d8c8222aab895157fa7e282) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`0c8d436`](https://github.com/inspect-js/has-symbols/commit/0c8d43685c45189cea9018191d4fd7eca91c9d02) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`9026554`](https://github.com/inspect-js/has-symbols/commit/902655442a1bf88e72b42345494ef0c60f5d36ab) -- [readme] add actions and codecov badges [`eaa9682`](https://github.com/inspect-js/has-symbols/commit/eaa9682f990f481d3acf7a1c7600bec36f7b3adc) -- [Dev Deps] update `eslint`, `tape` [`bc7a3ba`](https://github.com/inspect-js/has-symbols/commit/bc7a3ba46f27b7743f8a2579732d59d1b9ac791e) -- [Dev Deps] update `eslint`, `auto-changelog` [`0ace00a`](https://github.com/inspect-js/has-symbols/commit/0ace00af08a88cdd1e6ce0d60357d941c60c2d9f) -- [meta] use `prepublishOnly` script for npm 7+ [`093f72b`](https://github.com/inspect-js/has-symbols/commit/093f72bc2b0ed00c781f444922a5034257bf561d) -- [Tests] test on all 16 minors [`9b80d3d`](https://github.com/inspect-js/has-symbols/commit/9b80d3d9102529f04c20ec5b1fcc6e38426c6b03) - -## [v1.0.2](https://github.com/inspect-js/has-symbols/compare/v1.0.1...v1.0.2) - 2021-02-27 - -### Fixed - -- [Fix] use a universal way to get the original Symbol [`#11`](https://github.com/inspect-js/has-symbols/issues/11) - -### Commits - -- [Tests] migrate tests to Github Actions [`90ae798`](https://github.com/inspect-js/has-symbols/commit/90ae79820bdfe7bc703d67f5f3c5e205f98556d3) -- [meta] do not publish github action workflow files [`29e60a1`](https://github.com/inspect-js/has-symbols/commit/29e60a1b7c25c7f1acf7acff4a9320d0d10c49b4) -- [Tests] run `nyc` on all tests [`8476b91`](https://github.com/inspect-js/has-symbols/commit/8476b915650d360915abe2522505abf4b0e8f0ae) -- [readme] fix repo URLs, remove defunct badges [`126288e`](https://github.com/inspect-js/has-symbols/commit/126288ecc1797c0a40247a6b78bcb2e0bc5d7036) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `core-js`, `get-own-property-symbols` [`d84bdfa`](https://github.com/inspect-js/has-symbols/commit/d84bdfa48ac5188abbb4904b42614cd6c030940a) -- [Tests] fix linting errors [`0df3070`](https://github.com/inspect-js/has-symbols/commit/0df3070b981b6c9f2ee530c09189a7f5c6def839) -- [actions] add "Allow Edits" workflow [`1e6bc29`](https://github.com/inspect-js/has-symbols/commit/1e6bc29b188f32b9648657b07eda08504be5aa9c) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`36cea2a`](https://github.com/inspect-js/has-symbols/commit/36cea2addd4e6ec435f35a2656b4e9ef82498e9b) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`1278338`](https://github.com/inspect-js/has-symbols/commit/127833801865fbc2cc8979beb9ca869c7bfe8222) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`1493254`](https://github.com/inspect-js/has-symbols/commit/1493254eda13db5fb8fc5e4a3e8324b3d196029d) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js` [`b090bf2`](https://github.com/inspect-js/has-symbols/commit/b090bf214d3679a30edc1e2d729d466ab5183e1d) -- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`4addb7a`](https://github.com/inspect-js/has-symbols/commit/4addb7ab4dc73f927ae99928d68817554fc21dc0) -- [Dev Deps] update `auto-changelog`, `tape` [`81d0baf`](https://github.com/inspect-js/has-symbols/commit/81d0baf3816096a89a8558e8043895f7a7d10d8b) -- [Dev Deps] update `auto-changelog`; add `aud` [`1a4e561`](https://github.com/inspect-js/has-symbols/commit/1a4e5612c25d91c3a03d509721d02630bc4fe3da) -- [readme] remove unused testling URLs [`3000941`](https://github.com/inspect-js/has-symbols/commit/3000941f958046e923ed8152edb1ef4a599e6fcc) -- [Tests] only audit prod deps [`692e974`](https://github.com/inspect-js/has-symbols/commit/692e9743c912410e9440207631a643a34b4741a1) -- [Dev Deps] update `@ljharb/eslint-config` [`51c946c`](https://github.com/inspect-js/has-symbols/commit/51c946c7f6baa793ec5390bb5a45cdce16b4ba76) - -## [v1.0.1](https://github.com/inspect-js/has-symbols/compare/v1.0.0...v1.0.1) - 2019-11-16 - -### Commits - -- [Tests] use shared travis-ci configs [`ce396c9`](https://github.com/inspect-js/has-symbols/commit/ce396c9419ff11c43d0da5d05cdbb79f7fb42229) -- [Tests] up to `node` `v12.4`, `v11.15`, `v10.15`, `v9.11`, `v8.15`, `v7.10`, `v6.17`, `v4.9`; use `nvm install-latest-npm` [`0690732`](https://github.com/inspect-js/has-symbols/commit/0690732801f47ab429f39ba1962f522d5c462d6b) -- [meta] add `auto-changelog` [`2163d0b`](https://github.com/inspect-js/has-symbols/commit/2163d0b7f36343076b8f947cd1667dd1750f26fc) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `safe-publish-latest`, `tape` [`8e0951f`](https://github.com/inspect-js/has-symbols/commit/8e0951f1a7a2e52068222b7bb73511761e6e4d9c) -- [actions] add automatic rebasing / merge commit blocking [`b09cdb7`](https://github.com/inspect-js/has-symbols/commit/b09cdb7cd7ee39e7a769878f56e2d6066f5ccd1d) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `core-js`, `get-own-property-symbols`, `tape` [`1dd42cd`](https://github.com/inspect-js/has-symbols/commit/1dd42cd86183ed0c50f99b1062345c458babca91) -- [meta] create FUNDING.yml [`aa57a17`](https://github.com/inspect-js/has-symbols/commit/aa57a17b19708906d1927f821ea8e73394d84ca4) -- Only apps should have lockfiles [`a2d8bea`](https://github.com/inspect-js/has-symbols/commit/a2d8bea23a97d15c09eaf60f5b107fcf9a4d57aa) -- [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops [`9e96cb7`](https://github.com/inspect-js/has-symbols/commit/9e96cb783746cbed0c10ef78e599a8eaa7ebe193) -- [meta] add `funding` field [`a0b32cf`](https://github.com/inspect-js/has-symbols/commit/a0b32cf68e803f963c1639b6d47b0a9d6440bab0) -- [Dev Deps] update `safe-publish-latest` [`cb9f0a5`](https://github.com/inspect-js/has-symbols/commit/cb9f0a521a3a1790f1064d437edd33bb6c3d6af0) - -## v1.0.0 - 2016-09-19 - -### Commits - -- Tests. [`ecb6eb9`](https://github.com/inspect-js/has-symbols/commit/ecb6eb934e4883137f3f93b965ba5e0a98df430d) -- package.json [`88a337c`](https://github.com/inspect-js/has-symbols/commit/88a337cee0864a0da35f5d19e69ff0ef0150e46a) -- Initial commit [`42e1e55`](https://github.com/inspect-js/has-symbols/commit/42e1e5502536a2b8ac529c9443984acd14836b1c) -- Initial implementation. [`33f5cc6`](https://github.com/inspect-js/has-symbols/commit/33f5cc6cdff86e2194b081ee842bfdc63caf43fb) -- read me [`01f1170`](https://github.com/inspect-js/has-symbols/commit/01f1170188ff7cb1558aa297f6ba5b516c6d7b0c) diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/LICENSE b/Lombiq.EInvoiceValidator/node_modules/has-symbols/LICENSE deleted file mode 100644 index df31cbf..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2016 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/README.md b/Lombiq.EInvoiceValidator/node_modules/has-symbols/README.md deleted file mode 100644 index 33905f0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# has-symbols [![Version Badge][2]][1] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![dependency status][5]][6] -[![dev dependency status][7]][8] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][11]][1] - -Determine if the JS environment has Symbol support. Supports spec, or shams. - -## Example - -```js -var hasSymbols = require('has-symbols'); - -hasSymbols() === true; // if the environment has native Symbol support. Not polyfillable, not forgeable. - -var hasSymbolsKinda = require('has-symbols/shams'); -hasSymbolsKinda() === true; // if the environment has a Symbol sham that mostly follows the spec. -``` - -## Supported Symbol shams - - get-own-property-symbols [npm](https://www.npmjs.com/package/get-own-property-symbols) | [github](https://github.com/WebReflection/get-own-property-symbols) - - core-js [npm](https://www.npmjs.com/package/core-js) | [github](https://github.com/zloirock/core-js) - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[1]: https://npmjs.org/package/has-symbols -[2]: https://versionbadg.es/inspect-js/has-symbols.svg -[5]: https://david-dm.org/inspect-js/has-symbols.svg -[6]: https://david-dm.org/inspect-js/has-symbols -[7]: https://david-dm.org/inspect-js/has-symbols/dev-status.svg -[8]: https://david-dm.org/inspect-js/has-symbols#info=devDependencies -[11]: https://nodei.co/npm/has-symbols.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/has-symbols.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/has-symbols.svg -[downloads-url]: https://npm-stat.com/charts.html?package=has-symbols -[codecov-image]: https://codecov.io/gh/inspect-js/has-symbols/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/inspect-js/has-symbols/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/has-symbols -[actions-url]: https://github.com/inspect-js/has-symbols/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.d.ts deleted file mode 100644 index 9b98595..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function hasNativeSymbols(): boolean; - -export = hasNativeSymbols; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.js deleted file mode 100644 index fa65265..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var origSymbol = typeof Symbol !== 'undefined' && Symbol; -var hasSymbolSham = require('./shams'); - -/** @type {import('.')} */ -module.exports = function hasNativeSymbols() { - if (typeof origSymbol !== 'function') { return false; } - if (typeof Symbol !== 'function') { return false; } - if (typeof origSymbol('foo') !== 'symbol') { return false; } - if (typeof Symbol('bar') !== 'symbol') { return false; } - - return hasSymbolSham(); -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.min.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.min.js deleted file mode 100644 index 36e53d4..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.19.2. - * Original file: /npm/has-symbols@1.1.0/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var origSymbol="undefined"!=typeof Symbol&&Symbol,hasSymbolSham=require("./shams");module.exports=function(){return"function"==typeof origSymbol&&("function"==typeof Symbol&&("symbol"==typeof origSymbol("foo")&&("symbol"==typeof Symbol("bar")&&hasSymbolSham())))}; -//# sourceMappingURL=/sm/714f9ac2371fe94e9977bf4f4d0f50104bba6e1a52d2501977b17e2e0728b62c.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/package.json b/Lombiq.EInvoiceValidator/node_modules/has-symbols/package.json deleted file mode 100644 index d835e20..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/package.json +++ /dev/null @@ -1,111 +0,0 @@ -{ - "name": "has-symbols", - "version": "1.1.0", - "description": "Determine if the JS environment has Symbol support. Supports spec, or shams.", - "main": "index.js", - "scripts": { - "prepack": "npmignore --auto --commentLines=autogenerated", - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "pretest": "npm run --silent lint", - "test": "npm run tests-only", - "posttest": "npx npm@'>=10.2' audit --production", - "tests-only": "npm run test:stock && npm run test:shams", - "test:stock": "nyc node test", - "test:staging": "nyc node --harmony --es-staging test", - "test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs", - "test:shams:corejs": "nyc node test/shams/core-js.js", - "test:shams:getownpropertysymbols": "nyc node test/shams/get-own-property-symbols.js", - "lint": "eslint --ext=js,mjs .", - "postlint": "tsc -p . && attw -P", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git://github.com/inspect-js/has-symbols.git" - }, - "keywords": [ - "Symbol", - "symbols", - "typeof", - "sham", - "polyfill", - "native", - "core-js", - "ES6" - ], - "author": { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" - }, - "contributors": [ - { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" - } - ], - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "license": "MIT", - "bugs": { - "url": "https://github.com/ljharb/has-symbols/issues" - }, - "homepage": "https://github.com/ljharb/has-symbols#readme", - "devDependencies": { - "@arethetypeswrong/cli": "^0.17.0", - "@ljharb/eslint-config": "^21.1.1", - "@ljharb/tsconfig": "^0.2.0", - "@types/core-js": "^2.5.8", - "@types/tape": "^5.6.5", - "auto-changelog": "^2.5.0", - "core-js": "^2.6.12", - "encoding": "^0.1.13", - "eslint": "=8.8.0", - "get-own-property-symbols": "^0.9.5", - "in-publish": "^2.0.1", - "npmignore": "^0.3.1", - "nyc": "^10.3.2", - "safe-publish-latest": "^2.0.0", - "tape": "^5.9.0", - "typescript": "next" - }, - "testling": { - "files": "test/index.js", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/20.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - }, - "engines": { - "node": ">= 0.4" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "publishConfig": { - "ignore": [ - ".github/workflows", - "types" - ] - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.d.ts b/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.d.ts deleted file mode 100644 index 8d0bf24..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function hasSymbolShams(): boolean; - -export = hasSymbolShams; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.js deleted file mode 100644 index f97b474..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.js +++ /dev/null @@ -1,45 +0,0 @@ -'use strict'; - -/** @type {import('./shams')} */ -/* eslint complexity: [2, 18], max-statements: [2, 33] */ -module.exports = function hasSymbols() { - if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } - if (typeof Symbol.iterator === 'symbol') { return true; } - - /** @type {{ [k in symbol]?: unknown }} */ - var obj = {}; - var sym = Symbol('test'); - var symObj = Object(sym); - if (typeof sym === 'string') { return false; } - - if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } - if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } - - // temp disabled per https://github.com/ljharb/object.assign/issues/17 - // if (sym instanceof Symbol) { return false; } - // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 - // if (!(symObj instanceof Symbol)) { return false; } - - // if (typeof Symbol.prototype.toString !== 'function') { return false; } - // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } - - var symVal = 42; - obj[sym] = symVal; - for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop - if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } - - if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } - - var syms = Object.getOwnPropertySymbols(obj); - if (syms.length !== 1 || syms[0] !== sym) { return false; } - - if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } - - if (typeof Object.getOwnPropertyDescriptor === 'function') { - // eslint-disable-next-line no-extra-parens - var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym)); - if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } - } - - return true; -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.min.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.min.js deleted file mode 100644 index 0386082..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/shams.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.37.0. - * Original file: /npm/has-symbols@1.1.0/shams.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var o in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var y=Object.getOwnPropertyDescriptor(t,e);if(42!==y.value||!0!==y.enumerable)return!1}return!0}; -//# sourceMappingURL=/sm/3f8193921186bf87e938b2ecbc5ece736ff3a472849ecb754a258f3e113bad5f.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.js deleted file mode 100644 index 352129c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var test = require('tape'); -var hasSymbols = require('../'); -var runSymbolTests = require('./tests'); - -test('interface', function (t) { - t.equal(typeof hasSymbols, 'function', 'is a function'); - t.equal(typeof hasSymbols(), 'boolean', 'returns a boolean'); - t.end(); -}); - -test('Symbols are supported', { skip: !hasSymbols() }, function (t) { - runSymbolTests(t); - t.end(); -}); - -test('Symbols are not supported', { skip: hasSymbols() }, function (t) { - t.equal(typeof Symbol, 'undefined', 'global Symbol is undefined'); - t.equal(typeof Object.getOwnPropertySymbols, 'undefined', 'Object.getOwnPropertySymbols does not exist'); - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.min.js deleted file mode 100644 index 7fb3a5b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/has-symbols@1.1.0/test/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var test=require("tape"),hasSymbols=require("../"),runSymbolTests=require("./tests");test("interface",(function(e){e.equal(typeof hasSymbols,"function","is a function"),e.equal(typeof hasSymbols(),"boolean","returns a boolean"),e.end()})),test("Symbols are supported",{skip:!hasSymbols()},(function(e){runSymbolTests(e),e.end()})),test("Symbols are not supported",{skip:hasSymbols()},(function(e){e.equal(typeof Symbol,"undefined","global Symbol is undefined"),e.equal(typeof Object.getOwnPropertySymbols,"undefined","Object.getOwnPropertySymbols does not exist"),e.end()})); -//# sourceMappingURL=/sm/2047d2ee1fb45479ee6d9425d18b73dd75487e86be013e115da8907601db3c43.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.js deleted file mode 100644 index 1a29024..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -var test = require('tape'); - -if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { - test('has native Symbol support', function (t) { - t.equal(typeof Symbol, 'function'); - t.equal(typeof Symbol(), 'symbol'); - t.end(); - }); - // @ts-expect-error TS is stupid and doesn't know about top level return - return; -} - -var hasSymbols = require('../../shams'); - -test('polyfilled Symbols', function (t) { - /* eslint-disable global-require */ - t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling'); - require('core-js/fn/symbol'); - require('core-js/fn/symbol/to-string-tag'); - - require('../tests')(t); - - var hasSymbolsAfter = hasSymbols(); - t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling'); - /* eslint-enable global-require */ - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.min.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.min.js deleted file mode 100644 index 4720daf..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/core-js.min.js +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Failed to minify the file using Terser v5.39.0. Serving the original version. - * Original file: /npm/has-symbols@1.1.0/test/shams/core-js.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -'use strict'; - -var test = require('tape'); - -if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { - test('has native Symbol support', function (t) { - t.equal(typeof Symbol, 'function'); - t.equal(typeof Symbol(), 'symbol'); - t.end(); - }); - // @ts-expect-error TS is stupid and doesn't know about top level return - return; -} - -var hasSymbols = require('../../shams'); - -test('polyfilled Symbols', function (t) { - /* eslint-disable global-require */ - t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling'); - require('core-js/fn/symbol'); - require('core-js/fn/symbol/to-string-tag'); - - require('../tests')(t); - - var hasSymbolsAfter = hasSymbols(); - t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling'); - /* eslint-enable global-require */ - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.js deleted file mode 100644 index e0296f8..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -var test = require('tape'); - -if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { - test('has native Symbol support', function (t) { - t.equal(typeof Symbol, 'function'); - t.equal(typeof Symbol(), 'symbol'); - t.end(); - }); - // @ts-expect-error TS is stupid and doesn't know about top level return - return; -} - -var hasSymbols = require('../../shams'); - -test('polyfilled Symbols', function (t) { - /* eslint-disable global-require */ - t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling'); - - require('get-own-property-symbols'); - - require('../tests')(t); - - var hasSymbolsAfter = hasSymbols(); - t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling'); - /* eslint-enable global-require */ - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.min.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.min.js deleted file mode 100644 index f97c433..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/shams/get-own-property-symbols.min.js +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Failed to minify the file using Terser v5.39.0. Serving the original version. - * Original file: /npm/has-symbols@1.1.0/test/shams/get-own-property-symbols.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -'use strict'; - -var test = require('tape'); - -if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { - test('has native Symbol support', function (t) { - t.equal(typeof Symbol, 'function'); - t.equal(typeof Symbol(), 'symbol'); - t.end(); - }); - // @ts-expect-error TS is stupid and doesn't know about top level return - return; -} - -var hasSymbols = require('../../shams'); - -test('polyfilled Symbols', function (t) { - /* eslint-disable global-require */ - t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling'); - - require('get-own-property-symbols'); - - require('../tests')(t); - - var hasSymbolsAfter = hasSymbols(); - t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling'); - /* eslint-enable global-require */ - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.js deleted file mode 100644 index 66a2cb8..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.js +++ /dev/null @@ -1,58 +0,0 @@ -'use strict'; - -/** @type {(t: import('tape').Test) => false | void} */ -// eslint-disable-next-line consistent-return -module.exports = function runSymbolTests(t) { - t.equal(typeof Symbol, 'function', 'global Symbol is a function'); - - if (typeof Symbol !== 'function') { return false; } - - t.notEqual(Symbol(), Symbol(), 'two symbols are not equal'); - - /* - t.equal( - Symbol.prototype.toString.call(Symbol('foo')), - Symbol.prototype.toString.call(Symbol('foo')), - 'two symbols with the same description stringify the same' - ); - */ - - /* - var foo = Symbol('foo'); - - t.notEqual( - String(foo), - String(Symbol('bar')), - 'two symbols with different descriptions do not stringify the same' - ); - */ - - t.equal(typeof Symbol.prototype.toString, 'function', 'Symbol#toString is a function'); - // t.equal(String(foo), Symbol.prototype.toString.call(foo), 'Symbol#toString equals String of the same symbol'); - - t.equal(typeof Object.getOwnPropertySymbols, 'function', 'Object.getOwnPropertySymbols is a function'); - - /** @type {{ [k in symbol]?: unknown }} */ - var obj = {}; - var sym = Symbol('test'); - var symObj = Object(sym); - t.notEqual(typeof sym, 'string', 'Symbol is not a string'); - t.equal(Object.prototype.toString.call(sym), '[object Symbol]', 'symbol primitive Object#toStrings properly'); - t.equal(Object.prototype.toString.call(symObj), '[object Symbol]', 'symbol primitive Object#toStrings properly'); - - var symVal = 42; - obj[sym] = symVal; - // eslint-disable-next-line no-restricted-syntax, no-unused-vars - for (var _ in obj) { t.fail('symbol property key was found in for..in of object'); } - - t.deepEqual(Object.keys(obj), [], 'no enumerable own keys on symbol-valued object'); - t.deepEqual(Object.getOwnPropertyNames(obj), [], 'no own names on symbol-valued object'); - t.deepEqual(Object.getOwnPropertySymbols(obj), [sym], 'one own symbol on symbol-valued object'); - t.equal(Object.prototype.propertyIsEnumerable.call(obj, sym), true, 'symbol is enumerable'); - t.deepEqual(Object.getOwnPropertyDescriptor(obj, sym), { - configurable: true, - enumerable: true, - value: 42, - writable: true - }, 'property descriptor is correct'); -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.min.js b/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.min.js deleted file mode 100644 index 7695e45..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/test/tests.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/has-symbols@1.1.0/test/tests.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=function(e){if(e.equal(typeof Symbol,"function","global Symbol is a function"),"function"!=typeof Symbol)return!1;e.notEqual(Symbol(),Symbol(),"two symbols are not equal"),e.equal(typeof Symbol.prototype.toString,"function","Symbol#toString is a function"),e.equal(typeof Object.getOwnPropertySymbols,"function","Object.getOwnPropertySymbols is a function");var o={},t=Symbol("test"),l=Object(t);e.notEqual(typeof t,"string","Symbol is not a string"),e.equal(Object.prototype.toString.call(t),"[object Symbol]","symbol primitive Object#toStrings properly"),e.equal(Object.prototype.toString.call(l),"[object Symbol]","symbol primitive Object#toStrings properly");for(var r in o[t]=42,o)e.fail("symbol property key was found in for..in of object");e.deepEqual(Object.keys(o),[],"no enumerable own keys on symbol-valued object"),e.deepEqual(Object.getOwnPropertyNames(o),[],"no own names on symbol-valued object"),e.deepEqual(Object.getOwnPropertySymbols(o),[t],"one own symbol on symbol-valued object"),e.equal(Object.prototype.propertyIsEnumerable.call(o,t),!0,"symbol is enumerable"),e.deepEqual(Object.getOwnPropertyDescriptor(o,t),{configurable:!0,enumerable:!0,value:42,writable:!0},"property descriptor is correct")}; -//# sourceMappingURL=/sm/96e9b3b58a183501b23ba256bc8df893c7c4a790828ccb2995dedd85703f7985.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-symbols/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/has-symbols/tsconfig.json deleted file mode 100644 index ba99af4..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-symbols/tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "@ljharb/tsconfig", - "compilerOptions": { - "target": "ES2021", - "maxNodeModuleJsDepth": 0, - }, - "exclude": [ - "coverage" - ] -} diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/CHANGELOG.md deleted file mode 100644 index eb186ec..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/CHANGELOG.md +++ /dev/null @@ -1,42 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.0.2](https://github.com/inspect-js/has-tostringtag/compare/v1.0.1...v1.0.2) - 2024-02-01 - -### Fixed - -- [Fix] move `has-symbols` back to prod deps [`#3`](https://github.com/inspect-js/has-tostringtag/issues/3) - -## [v1.0.1](https://github.com/inspect-js/has-tostringtag/compare/v1.0.0...v1.0.1) - 2024-02-01 - -### Commits - -- [patch] add types [`9276414`](https://github.com/inspect-js/has-tostringtag/commit/9276414b22fab3eeb234688841722c4be113201f) -- [meta] use `npmignore` to autogenerate an npmignore file [`5c0dcd1`](https://github.com/inspect-js/has-tostringtag/commit/5c0dcd1ff66419562a30d1fd88b966cc36bce5fc) -- [actions] reuse common workflows [`dee9509`](https://github.com/inspect-js/has-tostringtag/commit/dee950904ab5719b62cf8d73d2ac950b09093266) -- [actions] update codecov uploader [`b8cb3a0`](https://github.com/inspect-js/has-tostringtag/commit/b8cb3a0b8ffbb1593012c4c2daa45fb25642825d) -- [Tests] generate coverage [`be5b288`](https://github.com/inspect-js/has-tostringtag/commit/be5b28889e2735cdbcef387f84c2829995f2f05e) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`69a0827`](https://github.com/inspect-js/has-tostringtag/commit/69a0827974e9b877b2c75b70b057555da8f25a65) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`4c9e210`](https://github.com/inspect-js/has-tostringtag/commit/4c9e210a5682f0557a3235d36b68ce809d7fb825) -- [actions] update rebase action to use reusable workflow [`ca8dcd3`](https://github.com/inspect-js/has-tostringtag/commit/ca8dcd3a6f3f5805d7e3fd461b654aedba0946e7) -- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `npmignore`, `tape` [`07f3eaf`](https://github.com/inspect-js/has-tostringtag/commit/07f3eafa45dd98208c94479737da77f9a69b94c4) -- [Deps] update `has-symbols` [`999e009`](https://github.com/inspect-js/has-tostringtag/commit/999e0095a7d1749a58f55472ec8bf8108cdfdcf3) -- [Tests] remove staging tests since they fail on modern node [`9d9526b`](https://github.com/inspect-js/has-tostringtag/commit/9d9526b1dc1ca7f2292b52efda4c3d857b0e39bd) - -## v1.0.0 - 2021-08-05 - -### Commits - -- Tests [`6b6f573`](https://github.com/inspect-js/has-tostringtag/commit/6b6f5734dc2058badb300ff0783efdad95fe1a65) -- Initial commit [`2f8190e`](https://github.com/inspect-js/has-tostringtag/commit/2f8190e799fac32ba9b95a076c0255e01d7ce475) -- [meta] do not publish github action workflow files [`6e08cc4`](https://github.com/inspect-js/has-tostringtag/commit/6e08cc4e0fea7ec71ef66e70734b2af2c4a8b71b) -- readme [`94bed6c`](https://github.com/inspect-js/has-tostringtag/commit/94bed6c9560cbbfda034f8d6c260bb7b0db33c1a) -- npm init [`be67840`](https://github.com/inspect-js/has-tostringtag/commit/be67840ab92ee7adb98bcc65261975543f815fa5) -- Implementation [`c4914ec`](https://github.com/inspect-js/has-tostringtag/commit/c4914ecc51ddee692c85b471ae0a5d8123030fbf) -- [meta] use `auto-changelog` [`4aaf768`](https://github.com/inspect-js/has-tostringtag/commit/4aaf76895ae01d7b739f2b19f967ef2372506cd7) -- Only apps should have lockfiles [`bc4d99e`](https://github.com/inspect-js/has-tostringtag/commit/bc4d99e4bf494afbaa235c5f098df6e642edf724) -- [meta] add `safe-publish-latest` [`6523c05`](https://github.com/inspect-js/has-tostringtag/commit/6523c05c9b87140f3ae74c9daf91633dd9ff4e1f) diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/LICENSE b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/LICENSE deleted file mode 100644 index 7948bc0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021 Inspect JS - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/README.md b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/README.md deleted file mode 100644 index 67a5e92..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# has-tostringtag [![Version Badge][2]][1] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![dependency status][5]][6] -[![dev dependency status][7]][8] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][11]][1] - -Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams. - -## Example - -```js -var hasSymbolToStringTag = require('has-tostringtag'); - -hasSymbolToStringTag() === true; // if the environment has native Symbol.toStringTag support. Not polyfillable, not forgeable. - -var hasSymbolToStringTagKinda = require('has-tostringtag/shams'); -hasSymbolToStringTagKinda() === true; // if the environment has a Symbol.toStringTag sham that mostly follows the spec. -``` - -## Supported Symbol shams - - get-own-property-symbols [npm](https://www.npmjs.com/package/get-own-property-symbols) | [github](https://github.com/WebReflection/get-own-property-symbols) - - core-js [npm](https://www.npmjs.com/package/core-js) | [github](https://github.com/zloirock/core-js) - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[1]: https://npmjs.org/package/has-tostringtag -[2]: https://versionbadg.es/inspect-js/has-tostringtag.svg -[5]: https://david-dm.org/inspect-js/has-tostringtag.svg -[6]: https://david-dm.org/inspect-js/has-tostringtag -[7]: https://david-dm.org/inspect-js/has-tostringtag/dev-status.svg -[8]: https://david-dm.org/inspect-js/has-tostringtag#info=devDependencies -[11]: https://nodei.co/npm/has-tostringtag.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/has-tostringtag.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/has-tostringtag.svg -[downloads-url]: https://npm-stat.com/charts.html?package=has-tostringtag -[codecov-image]: https://codecov.io/gh/inspect-js/has-tostringtag/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/inspect-js/has-tostringtag/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/has-tostringtag -[actions-url]: https://github.com/inspect-js/has-tostringtag/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.d.ts deleted file mode 100644 index a61bc60..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function hasToStringTag(): boolean; - -export = hasToStringTag; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.js deleted file mode 100644 index 77bfa00..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -var hasSymbols = require('has-symbols'); - -/** @type {import('.')} */ -module.exports = function hasToStringTag() { - return hasSymbols() && typeof Symbol.toStringTag === 'symbol'; -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.min.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.min.js deleted file mode 100644 index a9926fc..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.37.0. - * Original file: /npm/has-tostringtag@1.0.2/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var hasSymbols=require("has-symbols");module.exports=function(){return hasSymbols()&&"symbol"==typeof Symbol.toStringTag}; -//# sourceMappingURL=/sm/c19534893fd11d8a01ff45f739d19549c9e7b2ce0eb5310c00cbd8ba0b0d7b6e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/package.json b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/package.json deleted file mode 100644 index e5b0300..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/package.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "name": "has-tostringtag", - "version": "1.0.2", - "author": { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "contributors": [ - { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" - } - ], - "description": "Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.", - "license": "MIT", - "main": "index.js", - "types": "./index.d.ts", - "exports": { - ".": [ - { - "types": "./index.d.ts", - "default": "./index.js" - }, - "./index.js" - ], - "./shams": [ - { - "types": "./shams.d.ts", - "default": "./shams.js" - }, - "./shams.js" - ], - "./package.json": "./package.json" - }, - "scripts": { - "prepack": "npmignore --auto --commentLines=autogenerated", - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "pretest": "npm run --silent lint", - "test": "npm run tests-only", - "posttest": "aud --production", - "tests-only": "npm run test:stock && npm run test:shams", - "test:stock": "nyc node test", - "test:staging": "nyc node --harmony --es-staging test", - "test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs", - "test:shams:corejs": "nyc node test/shams/core-js.js", - "test:shams:getownpropertysymbols": "nyc node test/shams/get-own-property-symbols.js", - "lint": "eslint --ext=js,mjs .", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/inspect-js/has-tostringtag.git" - }, - "bugs": { - "url": "https://github.com/inspect-js/has-tostringtag/issues" - }, - "homepage": "https://github.com/inspect-js/has-tostringtag#readme", - "keywords": [ - "javascript", - "ecmascript", - "symbol", - "symbols", - "tostringtag", - "Symbol.toStringTag" - ], - "devDependencies": { - "@ljharb/eslint-config": "^21.1.0", - "@types/has-symbols": "^1.0.2", - "@types/tape": "^5.6.4", - "aud": "^2.0.4", - "auto-changelog": "^2.4.0", - "core-js": "^2.6.12", - "eslint": "=8.8.0", - "get-own-property-symbols": "^0.9.5", - "in-publish": "^2.0.1", - "npmignore": "^0.3.1", - "nyc": "^10.3.2", - "safe-publish-latest": "^2.0.0", - "tape": "^5.7.4", - "typescript": "next" - }, - "engines": { - "node": ">= 0.4" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "publishConfig": { - "ignore": [ - ".github/workflows" - ] - }, - "dependencies": { - "has-symbols": "^1.0.3" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.d.ts b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.d.ts deleted file mode 100644 index ea4aeec..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function hasToStringTagShams(): boolean; - -export = hasToStringTagShams; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.js deleted file mode 100644 index 809580d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -var hasSymbols = require('has-symbols/shams'); - -/** @type {import('.')} */ -module.exports = function hasToStringTagShams() { - return hasSymbols() && !!Symbol.toStringTag; -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.min.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.min.js deleted file mode 100644 index ba66341..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/shams.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/has-tostringtag@1.0.2/shams.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var hasSymbols=require("has-symbols/shams");module.exports=function(){return hasSymbols()&&!!Symbol.toStringTag}; -//# sourceMappingURL=/sm/74b74fcf67d326c0e3c2308c1fbd3816dc9b895004c27e0b00a35af601c9cadf.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.js deleted file mode 100644 index 0679afd..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var test = require('tape'); -var hasSymbolToStringTag = require('../'); -var runSymbolTests = require('./tests'); - -test('interface', function (t) { - t.equal(typeof hasSymbolToStringTag, 'function', 'is a function'); - t.equal(typeof hasSymbolToStringTag(), 'boolean', 'returns a boolean'); - t.end(); -}); - -test('Symbol.toStringTag exists', { skip: !hasSymbolToStringTag() }, function (t) { - runSymbolTests(t); - t.end(); -}); - -test('Symbol.toStringTag does not exist', { skip: hasSymbolToStringTag() }, function (t) { - t.equal(typeof Symbol === 'undefined' ? 'undefined' : typeof Symbol.toStringTag, 'undefined', 'global Symbol.toStringTag is undefined'); - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.min.js deleted file mode 100644 index 07b2527..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/has-tostringtag@1.0.2/test/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var test=require("tape"),hasSymbolToStringTag=require("../"),runSymbolTests=require("./tests");test("interface",(function(t){t.equal(typeof hasSymbolToStringTag,"function","is a function"),t.equal(typeof hasSymbolToStringTag(),"boolean","returns a boolean"),t.end()})),test("Symbol.toStringTag exists",{skip:!hasSymbolToStringTag()},(function(t){runSymbolTests(t),t.end()})),test("Symbol.toStringTag does not exist",{skip:hasSymbolToStringTag()},(function(t){t.equal("undefined"==typeof Symbol?"undefined":typeof Symbol.toStringTag,"undefined","global Symbol.toStringTag is undefined"),t.end()})); -//# sourceMappingURL=/sm/0965c2fe1d4b21d33c917ed2a3f9c8a580b9b54ca7d432927e0e15efe362559b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.js deleted file mode 100644 index 7ab214d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -var test = require('tape'); - -if (typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol') { - test('has native Symbol.toStringTag support', function (t) { - t.equal(typeof Symbol, 'function'); - t.equal(typeof Symbol.toStringTag, 'symbol'); - t.end(); - }); - // @ts-expect-error CJS has top-level return - return; -} - -var hasSymbolToStringTag = require('../../shams'); - -test('polyfilled Symbols', function (t) { - /* eslint-disable global-require */ - t.equal(hasSymbolToStringTag(), false, 'hasSymbolToStringTag is false before polyfilling'); - // @ts-expect-error no types defined - require('core-js/fn/symbol'); - // @ts-expect-error no types defined - require('core-js/fn/symbol/to-string-tag'); - - require('../tests')(t); - - var hasToStringTagAfter = hasSymbolToStringTag(); - t.equal(hasToStringTagAfter, true, 'hasSymbolToStringTag is true after polyfilling'); - /* eslint-enable global-require */ - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.min.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.min.js deleted file mode 100644 index 1d8e2e7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/core-js.min.js +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Failed to minify the file using Terser v5.39.0. Serving the original version. - * Original file: /npm/has-tostringtag@1.0.2/test/shams/core-js.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -'use strict'; - -var test = require('tape'); - -if (typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol') { - test('has native Symbol.toStringTag support', function (t) { - t.equal(typeof Symbol, 'function'); - t.equal(typeof Symbol.toStringTag, 'symbol'); - t.end(); - }); - // @ts-expect-error CJS has top-level return - return; -} - -var hasSymbolToStringTag = require('../../shams'); - -test('polyfilled Symbols', function (t) { - /* eslint-disable global-require */ - t.equal(hasSymbolToStringTag(), false, 'hasSymbolToStringTag is false before polyfilling'); - // @ts-expect-error no types defined - require('core-js/fn/symbol'); - // @ts-expect-error no types defined - require('core-js/fn/symbol/to-string-tag'); - - require('../tests')(t); - - var hasToStringTagAfter = hasSymbolToStringTag(); - t.equal(hasToStringTagAfter, true, 'hasSymbolToStringTag is true after polyfilling'); - /* eslint-enable global-require */ - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js deleted file mode 100644 index c8af44c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var test = require('tape'); - -if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { - test('has native Symbol support', function (t) { - t.equal(typeof Symbol, 'function'); - t.equal(typeof Symbol(), 'symbol'); - t.end(); - }); - // @ts-expect-error CJS has top-level return - return; -} - -var hasSymbolToStringTag = require('../../shams'); - -test('polyfilled Symbols', function (t) { - /* eslint-disable global-require */ - t.equal(hasSymbolToStringTag(), false, 'hasSymbolToStringTag is false before polyfilling'); - - // @ts-expect-error no types defined - require('get-own-property-symbols'); - - require('../tests')(t); - - var hasToStringTagAfter = hasSymbolToStringTag(); - t.equal(hasToStringTagAfter, true, 'hasSymbolToStringTag is true after polyfilling'); - /* eslint-enable global-require */ - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.min.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.min.js deleted file mode 100644 index 66c161c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/shams/get-own-property-symbols.min.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * Failed to minify the file using Terser v5.39.0. Serving the original version. - * Original file: /npm/has-tostringtag@1.0.2/test/shams/get-own-property-symbols.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -'use strict'; - -var test = require('tape'); - -if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { - test('has native Symbol support', function (t) { - t.equal(typeof Symbol, 'function'); - t.equal(typeof Symbol(), 'symbol'); - t.end(); - }); - // @ts-expect-error CJS has top-level return - return; -} - -var hasSymbolToStringTag = require('../../shams'); - -test('polyfilled Symbols', function (t) { - /* eslint-disable global-require */ - t.equal(hasSymbolToStringTag(), false, 'hasSymbolToStringTag is false before polyfilling'); - - // @ts-expect-error no types defined - require('get-own-property-symbols'); - - require('../tests')(t); - - var hasToStringTagAfter = hasSymbolToStringTag(); - t.equal(hasToStringTagAfter, true, 'hasSymbolToStringTag is true after polyfilling'); - /* eslint-enable global-require */ - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.js deleted file mode 100644 index 2aa0d48..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -// eslint-disable-next-line consistent-return -module.exports = /** @type {(t: import('tape').Test) => void | false} */ function runSymbolTests(t) { - t.equal(typeof Symbol, 'function', 'global Symbol is a function'); - t.ok(Symbol.toStringTag, 'Symbol.toStringTag exists'); - - if (typeof Symbol !== 'function' || !Symbol.toStringTag) { return false; } - - /** @type {{ [Symbol.toStringTag]?: 'test'}} */ - var obj = {}; - obj[Symbol.toStringTag] = 'test'; - - t.equal(Object.prototype.toString.call(obj), '[object test]'); -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.min.js b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.min.js deleted file mode 100644 index 9e45161..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/test/tests.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/has-tostringtag@1.0.2/test/tests.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=function(t){if(t.equal(typeof Symbol,"function","global Symbol is a function"),t.ok(Symbol.toStringTag,"Symbol.toStringTag exists"),"function"!=typeof Symbol||!Symbol.toStringTag)return!1;var o={};o[Symbol.toStringTag]="test",t.equal(Object.prototype.toString.call(o),"[object test]")}; -//# sourceMappingURL=/sm/f81c237c0311650ff5231363df7a7a684dc3908f9b4bbcb2a05b38f94ade1d2b.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/tsconfig.json deleted file mode 100644 index 2002ce5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/has-tostringtag/tsconfig.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "compilerOptions": { - /* Visit https://aka.ms/tsconfig to read more about this file */ - - /* Projects */ - - /* Language and Environment */ - "target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ - // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ - // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ - "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ - // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ - - /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ - // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ - // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ - // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ - // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ - "typeRoots": ["types"], /* Specify multiple folders that act like './node_modules/@types'. */ - "resolveJsonModule": true, /* Enable importing .json files. */ - // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */ - - /* JavaScript Support */ - "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ - "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ - "maxNodeModuleJsDepth": 0, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ - - /* Emit */ - "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ - "declarationMap": true, /* Create sourcemaps for d.ts files. */ - "noEmit": true, /* Disable emitting files from a compilation. */ - - /* Interop Constraints */ - "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ - "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ - "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ - - /* Type Checking */ - "strict": true, /* Enable all strict type-checking options. */ - - /* Completeness */ - //"skipLibCheck": true /* Skip type checking all .d.ts files. */ - }, - "exclude": [ - "coverage" - ] -} diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/hasown/CHANGELOG.md deleted file mode 100644 index 90a43dc..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/hasown/CHANGELOG.md +++ /dev/null @@ -1,58 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v2.0.4](https://github.com/inspect-js/hasOwn/compare/v2.0.3...v2.0.4) - 2026-05-28 - -### Commits - -- [types] drop the dead key-narrowing overload [`fdab00e`](https://github.com/inspect-js/hasOwn/commit/fdab00e2703e65411424e19bf86a7e72a8f10da9) -- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `eslint` [`91f6247`](https://github.com/inspect-js/hasOwn/commit/91f624768dd0f7db0d019b89d4d86bd66e20ec30) - -## [v2.0.3](https://github.com/inspect-js/hasOwn/compare/v2.0.2...v2.0.3) - 2026-04-17 - -### Commits - -- [actions] update workflows [`fb837b8`](https://github.com/inspect-js/hasOwn/commit/fb837b849bcdb8416fdc8fd344edfacd5574696c) -- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/tape`, `auto-changelog`, `eslint`, `mock-property`, `npmignore`, `tape` [`f4b279b`](https://github.com/inspect-js/hasOwn/commit/f4b279bd682be34b3f0ede2a58d4e8acb58d6d47) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`; migrate to flat config [`7e415ce`](https://github.com/inspect-js/hasOwn/commit/7e415cee55ebf43b3c34d7fd86db73a9928b05f7) -- [Dev Deps] update `eslint` [`ef313da`](https://github.com/inspect-js/hasOwn/commit/ef313da342d33b60e23e738b9f5a86f6065f39ef) -- [meta] use `npm audit` instead of `aud` [`d5c6d4d`](https://github.com/inspect-js/hasOwn/commit/d5c6d4d7a19c6ca4f14ac173b30d8bf25abcabee) -- [types] add overload that narrows the key [`cc03a09`](https://github.com/inspect-js/hasOwn/commit/cc03a097e9402fb8b86d413050e67f790dd6c8c5) - -## [v2.0.2](https://github.com/inspect-js/hasOwn/compare/v2.0.1...v2.0.2) - 2024-03-10 - -### Commits - -- [types] use shared config [`68e9d4d`](https://github.com/inspect-js/hasOwn/commit/68e9d4dab6facb4f05f02c6baea94a3f2a4e44b2) -- [actions] remove redundant finisher; use reusable workflow [`241a68e`](https://github.com/inspect-js/hasOwn/commit/241a68e13ea1fe52bec5ba7f74144befc31fae7b) -- [Tests] increase coverage [`4125c0d`](https://github.com/inspect-js/hasOwn/commit/4125c0d6121db56ae30e38346dfb0c000b04f0a7) -- [Tests] skip `npm ls` in old node due to TS [`01b9282`](https://github.com/inspect-js/hasOwn/commit/01b92822f9971dea031eafdd14767df41d61c202) -- [types] improve predicate type [`d340f85`](https://github.com/inspect-js/hasOwn/commit/d340f85ce02e286ef61096cbbb6697081d40a12b) -- [Dev Deps] update `tape` [`70089fc`](https://github.com/inspect-js/hasOwn/commit/70089fcf544e64acc024cbe60f5a9b00acad86de) -- [Tests] use `@arethetypeswrong/cli` [`50b272c`](https://github.com/inspect-js/hasOwn/commit/50b272c829f40d053a3dd91c9796e0ac0b2af084) - -## [v2.0.1](https://github.com/inspect-js/hasOwn/compare/v2.0.0...v2.0.1) - 2024-02-10 - -### Commits - -- [types] use a handwritten d.ts file; fix exported type [`012b989`](https://github.com/inspect-js/hasOwn/commit/012b9898ccf91dc441e2ebf594ff70270a5fda58) -- [Dev Deps] update `@types/function-bind`, `@types/mock-property`, `@types/tape`, `aud`, `mock-property`, `npmignore`, `tape`, `typescript` [`977a56f`](https://github.com/inspect-js/hasOwn/commit/977a56f51a1f8b20566f3c471612137894644025) -- [meta] add `sideEffects` flag [`3a60b7b`](https://github.com/inspect-js/hasOwn/commit/3a60b7bf42fccd8c605e5f145a6fcc83b13cb46f) - -## [v2.0.0](https://github.com/inspect-js/hasOwn/compare/v1.0.1...v2.0.0) - 2023-10-19 - -### Commits - -- revamped implementation, tests, readme [`72bf8b3`](https://github.com/inspect-js/hasOwn/commit/72bf8b338e77a638f0a290c63ffaed18339c36b4) -- [meta] revamp package.json [`079775f`](https://github.com/inspect-js/hasOwn/commit/079775fb1ec72c1c6334069593617a0be3847458) -- Only apps should have lockfiles [`6640e23`](https://github.com/inspect-js/hasOwn/commit/6640e233d1bb8b65260880f90787637db157d215) - -## v1.0.1 - 2023-10-10 - -### Commits - -- Initial commit [`8dbfde6`](https://github.com/inspect-js/hasOwn/commit/8dbfde6e8fb0ebb076fab38d138f2984eb340a62) diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/LICENSE b/Lombiq.EInvoiceValidator/node_modules/hasown/LICENSE deleted file mode 100644 index 0314929..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/hasown/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Jordan Harband and contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/README.md b/Lombiq.EInvoiceValidator/node_modules/hasown/README.md deleted file mode 100644 index f759b8a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/hasown/README.md +++ /dev/null @@ -1,40 +0,0 @@ -# hasown [![Version Badge][npm-version-svg]][package-url] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -A robust, ES3 compatible, "has own property" predicate. - -## Example - -```js -const assert = require('assert'); -const hasOwn = require('hasown'); - -assert.equal(hasOwn({}, 'toString'), false); -assert.equal(hasOwn([], 'length'), true); -assert.equal(hasOwn({ a: 42 }, 'a'), true); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[package-url]: https://npmjs.org/package/hasown -[npm-version-svg]: https://versionbadg.es/inspect-js/hasown.svg -[deps-svg]: https://david-dm.org/inspect-js/hasOwn.svg -[deps-url]: https://david-dm.org/inspect-js/hasOwn -[dev-deps-svg]: https://david-dm.org/inspect-js/hasOwn/dev-status.svg -[dev-deps-url]: https://david-dm.org/inspect-js/hasOwn#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/hasown.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/hasown.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/hasown.svg -[downloads-url]: https://npm-stat.com/charts.html?package=hasown -[codecov-image]: https://codecov.io/gh/inspect-js/hasOwn/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/inspect-js/hasOwn/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/hasOwn -[actions-url]: https://github.com/inspect-js/hasOwn/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/eslint.config.mjs b/Lombiq.EInvoiceValidator/node_modules/hasown/eslint.config.mjs deleted file mode 100644 index 3d634a0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/hasown/eslint.config.mjs +++ /dev/null @@ -1,6 +0,0 @@ -import ljharbConfig from '@ljharb/eslint-config/flat'; - -export default [ - ...ljharbConfig, - { rules: { 'no-extra-parens': 'off' } }, -]; diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/hasown/index.d.ts deleted file mode 100644 index aafdf3b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/hasown/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function hasOwn(o: O, p: K): o is O & Record; - -export = hasOwn; diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/index.js b/Lombiq.EInvoiceValidator/node_modules/hasown/index.js deleted file mode 100644 index 34e6059..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/hasown/index.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -var call = Function.prototype.call; -var $hasOwn = Object.prototype.hasOwnProperty; -var bind = require('function-bind'); - -/** @type {import('.')} */ -module.exports = bind.call(call, $hasOwn); diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/index.min.js b/Lombiq.EInvoiceValidator/node_modules/hasown/index.min.js deleted file mode 100644 index c2d508b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/hasown/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/hasown@2.0.4/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var call=Function.prototype.call,$hasOwn=Object.prototype.hasOwnProperty,bind=require("function-bind");module.exports=bind.call(call,$hasOwn); -//# sourceMappingURL=/sm/b9923ab81e10f78ce95fce3cc4667298efc564f576c338fae516ac24577d33e9.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/package.json b/Lombiq.EInvoiceValidator/node_modules/hasown/package.json deleted file mode 100644 index fb86cc3..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/hasown/package.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "name": "hasown", - "version": "2.0.4", - "description": "A robust, ES3 compatible, \"has own property\" predicate.", - "main": "index.js", - "exports": { - ".": "./index.js", - "./package.json": "./package.json" - }, - "types": "index.d.ts", - "sideEffects": false, - "scripts": { - "prepack": "npmignore --auto --commentLines=autogenerated", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prepublishOnly": "safe-publish-latest", - "prelint": "evalmd README.md", - "lint": "eslint .", - "postlint": "npm run tsc", - "pretest": "npm run lint", - "tsc": "tsc -p .", - "posttsc": "attw -P", - "tests-only": "nyc tape 'test/**/*.js'", - "test": "npm run tests-only", - "posttest": "npx npm@\">= 10.2\" audit --production", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/inspect-js/hasOwn.git" - }, - "keywords": [ - "has", - "hasOwnProperty", - "hasOwn", - "has-own", - "own", - "has", - "property", - "in", - "javascript", - "ecmascript" - ], - "author": "Jordan Harband ", - "license": "MIT", - "bugs": { - "url": "https://github.com/inspect-js/hasOwn/issues" - }, - "homepage": "https://github.com/inspect-js/hasOwn#readme", - "dependencies": { - "function-bind": "^1.1.2" - }, - "devDependencies": { - "@arethetypeswrong/cli": "^0.18.2", - "@ljharb/eslint-config": "^22.2.3", - "@ljharb/tsconfig": "^0.3.2", - "@types/function-bind": "^1.1.10", - "@types/tape": "^5.8.1", - "auto-changelog": "^2.5.1", - "eslint": "^10.4.0", - "evalmd": "^0.0.19", - "in-publish": "^2.0.1", - "jiti": "^0.0.0", - "mock-property": "^1.1.0", - "npmignore": "^0.3.5", - "nyc": "^10.3.2", - "safe-publish-latest": "^2.0.0", - "tape": "^5.9.0", - "typescript": "next" - }, - "engines": { - "node": ">= 0.4" - }, - "testling": { - "files": "test/index.js" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "publishConfig": { - "ignore": [ - ".github/workflows", - "test" - ] - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/hasown/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/hasown/tsconfig.json deleted file mode 100644 index 0930c56..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/hasown/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "@ljharb/tsconfig", - "exclude": [ - "coverage", - ], -} diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/LICENSE b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/LICENSE deleted file mode 100644 index 008728c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -(The MIT License) - -Copyright (c) 2013 Nathan Rajlich - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/README.md b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/README.md deleted file mode 100644 index ebc53cf..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/README.md +++ /dev/null @@ -1,70 +0,0 @@ -https-proxy-agent -================ -### An HTTP(s) proxy `http.Agent` implementation for HTTPS - -This module provides an `http.Agent` implementation that connects to a specified -HTTP or HTTPS proxy server, and can be used with the built-in `https` module. - -Specifically, this `Agent` implementation connects to an intermediary "proxy" -server and issues the [CONNECT HTTP method][CONNECT], which tells the proxy to -open a direct TCP connection to the destination server. - -Since this agent implements the CONNECT HTTP method, it also works with other -protocols that use this method when connecting over proxies (i.e. WebSockets). -See the "Examples" section below for more. - -Examples --------- - -#### `https` module example - -```ts -import * as https from 'https'; -import { HttpsProxyAgent } from 'https-proxy-agent'; - -const agent = new HttpsProxyAgent('http://168.63.76.32:3128'); - -https.get('https://example.com', { agent }, (res) => { - console.log('"response" event!', res.headers); - res.pipe(process.stdout); -}); -``` - -#### `ws` WebSocket connection example - -```ts -import WebSocket from 'ws'; -import { HttpsProxyAgent } from 'https-proxy-agent'; - -const agent = new HttpsProxyAgent('http://168.63.76.32:3128'); -const socket = new WebSocket('ws://echo.websocket.org', { agent }); - -socket.on('open', function () { - console.log('"open" event!'); - socket.send('hello world'); -}); - -socket.on('message', function (data, flags) { - console.log('"message" event! %j %j', data, flags); - socket.close(); -}); -``` - -API ---- - -### new HttpsProxyAgent(proxy: string | URL, options?: HttpsProxyAgentOptions) - -The `HttpsProxyAgent` class implements an `http.Agent` subclass that connects -to the specified "HTTP(s) proxy server" in order to proxy HTTPS and/or WebSocket -requests. This is achieved by using the [HTTP `CONNECT` method][CONNECT]. - -The `proxy` argument is the URL for the proxy server. - -The `options` argument accepts the usual `http.Agent` constructor options, and -some additional properties: - - * `headers` - Object containing additional headers to send to the proxy server - in the `CONNECT` request. - -[CONNECT]: http://en.wikipedia.org/wiki/HTTP_tunnel#HTTP_CONNECT_Tunneling diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts deleted file mode 100644 index 457668a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import * as net from 'net'; -import * as tls from 'tls'; -import * as http from 'http'; -import { Agent, AgentConnectOpts } from 'agent-base'; -import { URL } from 'url'; -import type { OutgoingHttpHeaders } from 'http'; -import { type OnProxyAuthCallback, type ProxyAuthResponse } from 'proxy-agent-negotiate'; -export type { OnProxyAuthCallback, ProxyAuthResponse }; -type Protocol = T extends `${infer Protocol}:${infer _}` ? Protocol : never; -type ConnectOptsMap = { - http: Omit; - https: Omit; -}; -type ConnectOpts = { - [P in keyof ConnectOptsMap]: Protocol extends P ? ConnectOptsMap[P] : never; -}[keyof ConnectOptsMap]; -export type HttpsProxyAgentOptions = ConnectOpts & http.AgentOptions & { - headers?: OutgoingHttpHeaders | (() => OutgoingHttpHeaders); - onProxyAuth?: OnProxyAuthCallback; - negotiate?: boolean; -}; -/** - * The `HttpsProxyAgent` implements an HTTP Agent subclass that connects to - * the specified "HTTP(s) proxy server" in order to proxy HTTPS requests. - * - * Outgoing HTTP requests are first tunneled through the proxy server using the - * `CONNECT` HTTP request method to establish a connection to the proxy server, - * and then the proxy server connects to the destination target and issues the - * HTTP request from the proxy server. - * - * `https:` requests have their socket connection upgraded to TLS once - * the connection to the proxy server has been established. - */ -export declare class HttpsProxyAgent extends Agent { - static protocols: readonly ["http", "https"]; - readonly proxy: URL; - proxyHeaders: OutgoingHttpHeaders | (() => OutgoingHttpHeaders); - connectOpts: net.TcpNetConnectOpts & tls.ConnectionOptions; - onProxyAuth?: OnProxyAuthCallback; - constructor(proxy: Uri | URL, opts?: HttpsProxyAgentOptions); - /** - * Called when the node-core HTTP client library is creating a - * new HTTP request. - */ - connect(req: http.ClientRequest, opts: AgentConnectOpts): Promise; - /** - * Retry a CONNECT request with additional auth headers. - */ - private _connectWithAuth; -} -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts.map b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts.map deleted file mode 100644 index b7ed483..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAG7B,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAChD,OAAO,EAEN,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,MAAM,uBAAuB,CAAC;AAE/B,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,CAAC;AAuBvD,KAAK,QAAQ,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,MAAM,QAAQ,IAAI,MAAM,CAAC,EAAE,GAAG,QAAQ,GAAG,KAAK,CAAC;AAE/E,KAAK,cAAc,GAAG;IACrB,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,iBAAiB,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IACnD,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,iBAAiB,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CACpD,CAAC;AAEF,KAAK,WAAW,CAAC,CAAC,IAAI;KACpB,CAAC,IAAI,MAAM,cAAc,GAAG,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,GAC/C,cAAc,CAAC,CAAC,CAAC,GACjB,KAAK;CACR,CAAC,MAAM,cAAc,CAAC,CAAC;AAExB,MAAM,MAAM,sBAAsB,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,GACrD,IAAI,CAAC,YAAY,GAAG;IACnB,OAAO,CAAC,EAAE,mBAAmB,GAAG,CAAC,MAAM,mBAAmB,CAAC,CAAC;IAC5D,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEH;;;;;;;;;;;GAWG;AACH,qBAAa,eAAe,CAAC,GAAG,SAAS,MAAM,CAAE,SAAQ,KAAK;IAC7D,MAAM,CAAC,SAAS,6BAA8B;IAE9C,QAAQ,CAAC,KAAK,EAAE,GAAG,CAAC;IACpB,YAAY,EAAE,mBAAmB,GAAG,CAAC,MAAM,mBAAmB,CAAC,CAAC;IAChE,WAAW,EAAE,GAAG,CAAC,iBAAiB,GAAG,GAAG,CAAC,iBAAiB,CAAC;IAC3D,WAAW,CAAC,EAAE,mBAAmB,CAAC;gBAEtB,KAAK,EAAE,GAAG,GAAG,GAAG,EAAE,IAAI,CAAC,EAAE,sBAAsB,CAAC,GAAG,CAAC;IAkChE;;;OAGG;IACG,OAAO,CACZ,GAAG,EAAE,IAAI,CAAC,aAAa,EACvB,IAAI,EAAE,gBAAgB,GACpB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;IA8HtB;;OAEG;YACW,gBAAgB;CA4E9B"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js deleted file mode 100644 index 207a134..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js +++ /dev/null @@ -1,234 +0,0 @@ -import * as net from 'net'; -import * as tls from 'tls'; -import assert from 'assert'; -import createDebug from 'debug'; -import { Agent } from 'agent-base'; -import { URL } from 'url'; -import { parseProxyResponse } from './parse-proxy-response.js'; -import { createNegotiateAuth, } from 'proxy-agent-negotiate'; -const debug = createDebug('https-proxy-agent'); -const setServernameFromNonIpHost = (options) => { - if (options.servername === undefined && - options.host && - !net.isIP(options.host)) { - return { - ...options, - servername: options.host, - }; - } - return options; -}; -/** - * The `HttpsProxyAgent` implements an HTTP Agent subclass that connects to - * the specified "HTTP(s) proxy server" in order to proxy HTTPS requests. - * - * Outgoing HTTP requests are first tunneled through the proxy server using the - * `CONNECT` HTTP request method to establish a connection to the proxy server, - * and then the proxy server connects to the destination target and issues the - * HTTP request from the proxy server. - * - * `https:` requests have their socket connection upgraded to TLS once - * the connection to the proxy server has been established. - */ -export class HttpsProxyAgent extends Agent { - constructor(proxy, opts) { - super(opts); - this.options = { path: undefined }; - this.proxy = typeof proxy === 'string' ? new URL(proxy) : proxy; - this.proxyHeaders = opts?.headers ?? {}; - debug('Creating new HttpsProxyAgent instance: %o', this.proxy.href); - if (opts?.negotiate) { - this.onProxyAuth = createNegotiateAuth(); - } - else if (opts?.onProxyAuth) { - this.onProxyAuth = opts.onProxyAuth; - } - // Trim off the brackets from IPv6 addresses - const host = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, ''); - const port = this.proxy.port - ? parseInt(this.proxy.port, 10) - : this.proxy.protocol === 'https:' - ? 443 - : 80; - this.connectOpts = { - // Attempt to negotiate http/1.1 for proxy servers that support http/2 - ALPNProtocols: ['http/1.1'], - ...(opts - ? omit(opts, 'headers', 'onProxyAuth', 'negotiate') - : null), - host, - port, - }; - } - /** - * Called when the node-core HTTP client library is creating a - * new HTTP request. - */ - async connect(req, opts) { - const { proxy } = this; - if (!opts.host) { - throw new TypeError('No "host" provided'); - } - // Create a socket connection to the proxy server. - let socket; - if (proxy.protocol === 'https:') { - debug('Creating `tls.Socket`: %o', this.connectOpts); - socket = tls.connect(setServernameFromNonIpHost(this.connectOpts)); - } - else { - debug('Creating `net.Socket`: %o', this.connectOpts); - socket = net.connect(this.connectOpts); - } - const headers = typeof this.proxyHeaders === 'function' - ? this.proxyHeaders() - : { ...this.proxyHeaders }; - const host = net.isIPv6(opts.host) ? `[${opts.host}]` : opts.host; - let payload = `CONNECT ${host}:${opts.port} HTTP/1.1\r\n`; - // Inject the `Proxy-Authorization` header if necessary. - if (proxy.username || proxy.password) { - const auth = `${decodeURIComponent(proxy.username)}:${decodeURIComponent(proxy.password)}`; - headers['Proxy-Authorization'] = `Basic ${Buffer.from(auth).toString('base64')}`; - } - headers.Host = `${host}:${opts.port}`; - if (!headers['Proxy-Connection']) { - headers['Proxy-Connection'] = this.keepAlive - ? 'Keep-Alive' - : 'close'; - } - for (const name of Object.keys(headers)) { - payload += `${name}: ${headers[name]}\r\n`; - } - const proxyResponsePromise = parseProxyResponse(socket); - socket.write(`${payload}\r\n`); - const { connect, buffered } = await proxyResponsePromise; - req.emit('proxyConnect', connect); - this.emit('proxyConnect', connect, req); - req.emit('proxy', { proxy: this.proxy.href, socket }); - if (connect.statusCode === 200) { - req.once('socket', resume); - if (opts.secureEndpoint) { - // The proxy is connecting to a TLS server, so upgrade - // this socket connection to a TLS connection. - debug('Upgrading socket connection to TLS'); - return tls.connect({ - ...omit(setServernameFromNonIpHost(opts), 'host', 'path', 'port'), - socket, - }); - } - return socket; - } - // Handle 407 Proxy Authentication Required - if (connect.statusCode === 407 && this.onProxyAuth) { - debug('Got 407 response, invoking onProxyAuth callback'); - socket.destroy(); - const proxyAuthenticate = connect.headers['proxy-authenticate'] || ''; - const scheme = Array.isArray(proxyAuthenticate) - ? proxyAuthenticate[0].split(/\s/)[0] - : proxyAuthenticate.split(/\s/)[0]; - const authResponse = await this.onProxyAuth({ - response: connect, - scheme, - }); - // Retry with the auth headers - return this._connectWithAuth(req, opts, authResponse.headers); - } - // Some other status code that's not 200... need to re-play the HTTP - // header "data" events onto the socket once the HTTP machinery is - // attached so that the node core `http` can parse and handle the - // error status code. - // Close the original socket, and a new "fake" socket is returned - // instead, so that the proxy doesn't get the HTTP request - // written to it (which may contain `Authorization` headers or other - // sensitive data). - // - // See: https://hackerone.com/reports/541502 - socket.destroy(); - const fakeSocket = new net.Socket({ writable: false }); - fakeSocket.readable = true; - // Need to wait for the "socket" event to re-play the "data" events. - req.once('socket', (s) => { - debug('Replaying proxy buffer for failed request'); - assert(s.listenerCount('data') > 0); - // Replay the "buffered" Buffer onto the fake `socket`, since at - // this point the HTTP module machinery has been hooked up for - // the user. - s.push(buffered); - s.push(null); - }); - return fakeSocket; - } - /** - * Retry a CONNECT request with additional auth headers. - */ - async _connectWithAuth(req, opts, authHeaders) { - const { proxy } = this; - let socket; - if (proxy.protocol === 'https:') { - socket = tls.connect(setServernameFromNonIpHost(this.connectOpts)); - } - else { - socket = net.connect(this.connectOpts); - } - const headers = typeof this.proxyHeaders === 'function' - ? this.proxyHeaders() - : { ...this.proxyHeaders }; - const host = net.isIPv6(opts.host) ? `[${opts.host}]` : opts.host; - let payload = `CONNECT ${host}:${opts.port} HTTP/1.1\r\n`; - if (proxy.username || proxy.password) { - const auth = `${decodeURIComponent(proxy.username)}:${decodeURIComponent(proxy.password)}`; - headers['Proxy-Authorization'] = `Basic ${Buffer.from(auth).toString('base64')}`; - } - // Merge auth headers (overrides existing) - Object.assign(headers, authHeaders); - headers.Host = `${host}:${opts.port}`; - if (!headers['Proxy-Connection']) { - headers['Proxy-Connection'] = this.keepAlive - ? 'Keep-Alive' - : 'close'; - } - for (const name of Object.keys(headers)) { - payload += `${name}: ${headers[name]}\r\n`; - } - const proxyResponsePromise = parseProxyResponse(socket); - socket.write(`${payload}\r\n`); - const { connect } = await proxyResponsePromise; - req.emit('proxyConnect', connect); - this.emit('proxyConnect', connect, req); - if (connect.statusCode === 200) { - req.once('socket', resume); - if (opts.secureEndpoint) { - debug('Upgrading socket connection to TLS'); - return tls.connect({ - ...omit(setServernameFromNonIpHost(opts), 'host', 'path', 'port'), - socket, - }); - } - return socket; - } - // If still not 200, throw - socket.destroy(); - throw new Error(`Proxy authentication failed with status ${connect.statusCode} after retry`); - } -} -HttpsProxyAgent.protocols = ['http', 'https']; -function resume(socket) { - // Defer the resume so that all 'socket' event handlers have a chance - // to attach their listeners (e.g. the HTTP client's 'data' handler) - // before data starts flowing. Without this, buffered proxy-response - // data can be emitted synchronously before listeners are ready. - // See: https://github.com/nicolo-ribaudo/tc39-proposal-await-dictionary/issues/7 - setImmediate(() => { - socket.resume(); - }); -} -function omit(obj, ...keys) { - const ret = {}; - let key; - for (key in obj) { - if (!keys.includes(key)) { - ret[key] = obj[key]; - } - } - return ret; -} -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js.map b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js.map deleted file mode 100644 index 4ae712c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,WAAW,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,KAAK,EAAoB,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAmB,MAAM,2BAA2B,CAAC;AAEhF,OAAO,EACN,mBAAmB,GAGnB,MAAM,uBAAuB,CAAC;AAI/B,MAAM,KAAK,GAAG,WAAW,CAAC,mBAAmB,CAAC,CAAC;AAE/C,MAAM,0BAA0B,GAAG,CAGlC,OAAU,EACT,EAAE;IACH,IACC,OAAO,CAAC,UAAU,KAAK,SAAS;QAChC,OAAO,CAAC,IAAI;QACZ,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EACtB,CAAC;QACF,OAAO;YACN,GAAG,OAAO;YACV,UAAU,EAAE,OAAO,CAAC,IAAI;SACxB,CAAC;IACH,CAAC;IACD,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC;AAuBF;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,eAAoC,SAAQ,KAAK;IAQ7D,YAAY,KAAgB,EAAE,IAAkC;QAC/D,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,CAAC,OAAO,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACnC,IAAI,CAAC,KAAK,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;QAChE,IAAI,CAAC,YAAY,GAAG,IAAI,EAAE,OAAO,IAAI,EAAE,CAAC;QACxC,KAAK,CAAC,2CAA2C,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAEpE,IAAI,IAAI,EAAE,SAAS,EAAE,CAAC;YACrB,IAAI,CAAC,WAAW,GAAG,mBAAmB,EAAE,CAAC;QAC1C,CAAC;aAAM,IAAI,IAAI,EAAE,WAAW,EAAE,CAAC;YAC9B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,CAAC;QAED,4CAA4C;QAC5C,MAAM,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,CAC5D,UAAU,EACV,EAAE,CACF,CAAC;QACF,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI;YAC3B,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;YAC/B,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,QAAQ;gBAClC,CAAC,CAAC,GAAG;gBACL,CAAC,CAAC,EAAE,CAAC;QACN,IAAI,CAAC,WAAW,GAAG;YAClB,sEAAsE;YACtE,aAAa,EAAE,CAAC,UAAU,CAAC;YAC3B,GAAG,CAAC,IAAI;gBACP,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,WAAW,CAAC;gBACnD,CAAC,CAAC,IAAI,CAAC;YACR,IAAI;YACJ,IAAI;SACJ,CAAC;IACH,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,OAAO,CACZ,GAAuB,EACvB,IAAsB;QAEtB,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;QAEvB,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;YAChB,MAAM,IAAI,SAAS,CAAC,oBAAoB,CAAC,CAAC;QAC3C,CAAC;QAED,kDAAkD;QAClD,IAAI,MAAkB,CAAC;QACvB,IAAI,KAAK,CAAC,QAAQ,KAAK,QAAQ,EAAE,CAAC;YACjC,KAAK,CAAC,2BAA2B,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;YACrD,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,0BAA0B,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QACpE,CAAC;aAAM,CAAC;YACP,KAAK,CAAC,2BAA2B,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;YACrD,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACxC,CAAC;QAED,MAAM,OAAO,GACZ,OAAO,IAAI,CAAC,YAAY,KAAK,UAAU;YACtC,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE;YACrB,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAC7B,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QAClE,IAAI,OAAO,GAAG,WAAW,IAAI,IAAI,IAAI,CAAC,IAAI,eAAe,CAAC;QAE1D,wDAAwD;QACxD,IAAI,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;YACtC,MAAM,IAAI,GAAG,GAAG,kBAAkB,CACjC,KAAK,CAAC,QAAQ,CACd,IAAI,kBAAkB,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC1C,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAS,MAAM,CAAC,IAAI,CACpD,IAAI,CACJ,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QACxB,CAAC;QAED,OAAO,CAAC,IAAI,GAAG,GAAG,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;QAEtC,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAAC,EAAE,CAAC;YAClC,OAAO,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,SAAS;gBAC3C,CAAC,CAAC,YAAY;gBACd,CAAC,CAAC,OAAO,CAAC;QACZ,CAAC;QACD,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YACzC,OAAO,IAAI,GAAG,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;QAC5C,CAAC;QAED,MAAM,oBAAoB,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC;QAExD,MAAM,CAAC,KAAK,CAAC,GAAG,OAAO,MAAM,CAAC,CAAC;QAE/B,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,MAAM,oBAAoB,CAAC;QACzD,GAAG,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;QAClC,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC;QACxC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;QAEtD,IAAI,OAAO,CAAC,UAAU,KAAK,GAAG,EAAE,CAAC;YAChC,GAAG,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;YAE3B,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;gBACzB,sDAAsD;gBACtD,8CAA8C;gBAC9C,KAAK,CAAC,oCAAoC,CAAC,CAAC;gBAC5C,OAAO,GAAG,CAAC,OAAO,CAAC;oBAClB,GAAG,IAAI,CACN,0BAA0B,CAAC,IAAI,CAAC,EAChC,MAAM,EACN,MAAM,EACN,MAAM,CACN;oBACD,MAAM;iBACN,CAAC,CAAC;YACJ,CAAC;YAED,OAAO,MAAM,CAAC;QACf,CAAC;QAED,2CAA2C;QAC3C,IAAI,OAAO,CAAC,UAAU,KAAK,GAAG,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACpD,KAAK,CAAC,iDAAiD,CAAC,CAAC;YACzD,MAAM,CAAC,OAAO,EAAE,CAAC;YAEjB,MAAM,iBAAiB,GACtB,OAAO,CAAC,OAAO,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC;YAC7C,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC;gBAC9C,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;gBACrC,CAAC,CAAC,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;YAEpC,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC;gBAC3C,QAAQ,EAAE,OAAO;gBACjB,MAAM;aACN,CAAC,CAAC;YAEH,8BAA8B;YAC9B,OAAO,IAAI,CAAC,gBAAgB,CAAC,GAAG,EAAE,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;QAC/D,CAAC;QAED,oEAAoE;QACpE,kEAAkE;QAClE,iEAAiE;QACjE,qBAAqB;QAErB,iEAAiE;QACjE,0DAA0D;QAC1D,oEAAoE;QACpE,mBAAmB;QACnB,EAAE;QACF,4CAA4C;QAC5C,MAAM,CAAC,OAAO,EAAE,CAAC;QAEjB,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC;QACvD,UAAU,CAAC,QAAQ,GAAG,IAAI,CAAC;QAE3B,oEAAoE;QACpE,GAAG,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAa,EAAE,EAAE;YACpC,KAAK,CAAC,2CAA2C,CAAC,CAAC;YACnD,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;YAEpC,gEAAgE;YAChE,8DAA8D;YAC9D,YAAY;YACZ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACjB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACd,CAAC,CAAC,CAAC;QAEH,OAAO,UAAU,CAAC;IACnB,CAAC;IAED;;OAEG;IACK,KAAK,CAAC,gBAAgB,CAC7B,GAAuB,EACvB,IAAsB,EACtB,WAAgC;QAEhC,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;QAEvB,IAAI,MAAkB,CAAC;QACvB,IAAI,KAAK,CAAC,QAAQ,KAAK,QAAQ,EAAE,CAAC;YACjC,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,0BAA0B,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QACpE,CAAC;aAAM,CAAC;YACP,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACxC,CAAC;QAED,MAAM,OAAO,GACZ,OAAO,IAAI,CAAC,YAAY,KAAK,UAAU;YACtC,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE;YACrB,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAC7B,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,IAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAK,CAAC;QACpE,IAAI,OAAO,GAAG,WAAW,IAAI,IAAI,IAAI,CAAC,IAAI,eAAe,CAAC;QAE1D,IAAI,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;YACtC,MAAM,IAAI,GAAG,GAAG,kBAAkB,CACjC,KAAK,CAAC,QAAQ,CACd,IAAI,kBAAkB,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC1C,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAS,MAAM,CAAC,IAAI,CACpD,IAAI,CACJ,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QACxB,CAAC;QAED,0CAA0C;QAC1C,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QAEpC,OAAO,CAAC,IAAI,GAAG,GAAG,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;QAEtC,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAAC,EAAE,CAAC;YAClC,OAAO,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,SAAS;gBAC3C,CAAC,CAAC,YAAY;gBACd,CAAC,CAAC,OAAO,CAAC;QACZ,CAAC;QACD,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YACzC,OAAO,IAAI,GAAG,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;QAC5C,CAAC;QAED,MAAM,oBAAoB,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC;QACxD,MAAM,CAAC,KAAK,CAAC,GAAG,OAAO,MAAM,CAAC,CAAC;QAE/B,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,oBAAoB,CAAC;QAC/C,GAAG,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;QAClC,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC;QAExC,IAAI,OAAO,CAAC,UAAU,KAAK,GAAG,EAAE,CAAC;YAChC,GAAG,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;YAE3B,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;gBACzB,KAAK,CAAC,oCAAoC,CAAC,CAAC;gBAC5C,OAAO,GAAG,CAAC,OAAO,CAAC;oBAClB,GAAG,IAAI,CACN,0BAA0B,CAAC,IAAI,CAAC,EAChC,MAAM,EACN,MAAM,EACN,MAAM,CACN;oBACD,MAAM;iBACN,CAAC,CAAC;YACJ,CAAC;YAED,OAAO,MAAM,CAAC;QACf,CAAC;QAED,0BAA0B;QAC1B,MAAM,CAAC,OAAO,EAAE,CAAC;QACjB,MAAM,IAAI,KAAK,CACd,2CAA2C,OAAO,CAAC,UAAU,cAAc,CAC3E,CAAC;IACH,CAAC;;AA5PM,yBAAS,GAAG,CAAC,MAAM,EAAE,OAAO,CAAU,CAAC;AA+P/C,SAAS,MAAM,CAAC,MAAkC;IACjD,qEAAqE;IACrE,oEAAoE;IACpE,oEAAoE;IACpE,gEAAgE;IAChE,iFAAiF;IACjF,YAAY,CAAC,GAAG,EAAE;QACjB,MAAM,CAAC,MAAM,EAAE,CAAC;IACjB,CAAC,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,IAAI,CACZ,GAAM,EACN,GAAG,IAAO;IAIV,MAAM,GAAG,GAAG,EAEX,CAAC;IACF,IAAI,GAAqB,CAAC;IAC1B,KAAK,GAAG,IAAI,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YACzB,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QACrB,CAAC;IACF,CAAC;IACD,OAAO,GAAG,CAAC;AACZ,CAAC"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.min.js b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.min.js deleted file mode 100644 index c83db57..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/https-proxy-agent@9.1.0/dist/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import*as net from"net";import*as tls from"tls";import assert from"assert";import createDebug from"debug";import{Agent}from"agent-base";import{URL}from"url";import{parseProxyResponse}from"./parse-proxy-response.js";import{createNegotiateAuth}from"proxy-agent-negotiate";const debug=createDebug("https-proxy-agent"),setServernameFromNonIpHost=t=>void 0===t.servername&&t.host&&!net.isIP(t.host)?{...t,servername:t.host}:t;export class HttpsProxyAgent extends Agent{constructor(t,e){super(e),this.options={path:void 0},this.proxy="string"==typeof t?new URL(t):t,this.proxyHeaders=e?.headers??{},debug("Creating new HttpsProxyAgent instance: %o",this.proxy.href),e?.negotiate?this.onProxyAuth=createNegotiateAuth():e?.onProxyAuth&&(this.onProxyAuth=e.onProxyAuth);const o=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),s=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...e?omit(e,"headers","onProxyAuth","negotiate"):null,host:o,port:s}}async connect(t,e){const{proxy:o}=this;if(!e.host)throw new TypeError('No "host" provided');let s;"https:"===o.protocol?(debug("Creating `tls.Socket`: %o",this.connectOpts),s=tls.connect(setServernameFromNonIpHost(this.connectOpts))):(debug("Creating `net.Socket`: %o",this.connectOpts),s=net.connect(this.connectOpts));const r="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},n=net.isIPv6(e.host)?`[${e.host}]`:e.host;let i=`CONNECT ${n}:${e.port} HTTP/1.1\r\n`;if(o.username||o.password){const t=`${decodeURIComponent(o.username)}:${decodeURIComponent(o.password)}`;r["Proxy-Authorization"]=`Basic ${Buffer.from(t).toString("base64")}`}r.Host=`${n}:${e.port}`,r["Proxy-Connection"]||(r["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(const t of Object.keys(r))i+=`${t}: ${r[t]}\r\n`;const c=parseProxyResponse(s);s.write(`${i}\r\n`);const{connect:p,buffered:a}=await c;if(t.emit("proxyConnect",p),this.emit("proxyConnect",p,t),t.emit("proxy",{proxy:this.proxy.href,socket:s}),200===p.statusCode)return t.once("socket",resume),e.secureEndpoint?(debug("Upgrading socket connection to TLS"),tls.connect({...omit(setServernameFromNonIpHost(e),"host","path","port"),socket:s})):s;if(407===p.statusCode&&this.onProxyAuth){debug("Got 407 response, invoking onProxyAuth callback"),s.destroy();const o=p.headers["proxy-authenticate"]||"",r=Array.isArray(o)?o[0].split(/\s/)[0]:o.split(/\s/)[0],n=await this.onProxyAuth({response:p,scheme:r});return this._connectWithAuth(t,e,n.headers)}s.destroy();const h=new net.Socket({writable:!1});return h.readable=!0,t.once("socket",t=>{debug("Replaying proxy buffer for failed request"),assert(t.listenerCount("data")>0),t.push(a),t.push(null)}),h}async _connectWithAuth(t,e,o){const{proxy:s}=this;let r;r="https:"===s.protocol?tls.connect(setServernameFromNonIpHost(this.connectOpts)):net.connect(this.connectOpts);const n="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},i=net.isIPv6(e.host)?`[${e.host}]`:e.host;let c=`CONNECT ${i}:${e.port} HTTP/1.1\r\n`;if(s.username||s.password){const t=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;n["Proxy-Authorization"]=`Basic ${Buffer.from(t).toString("base64")}`}Object.assign(n,o),n.Host=`${i}:${e.port}`,n["Proxy-Connection"]||(n["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(const t of Object.keys(n))c+=`${t}: ${n[t]}\r\n`;const p=parseProxyResponse(r);r.write(`${c}\r\n`);const{connect:a}=await p;if(t.emit("proxyConnect",a),this.emit("proxyConnect",a,t),200===a.statusCode)return t.once("socket",resume),e.secureEndpoint?(debug("Upgrading socket connection to TLS"),tls.connect({...omit(setServernameFromNonIpHost(e),"host","path","port"),socket:r})):r;throw r.destroy(),new Error(`Proxy authentication failed with status ${a.statusCode} after retry`)}}function resume(t){setImmediate(()=>{t.resume()})}function omit(t,...e){const o={};let s;for(s in t)e.includes(s)||(o[s]=t[s]);return o}HttpsProxyAgent.protocols=["http","https"]; -//# sourceMappingURL=/sm/8ca4cee9a01b929824c7bc371e3d1349e5f00d7f94c585cc962359b868a270f0.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts deleted file mode 100644 index ad54186..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IncomingHttpHeaders } from 'http'; -import { Readable } from 'stream'; -export interface ConnectResponse { - statusCode: number; - statusText: string; - headers: IncomingHttpHeaders; -} -export declare function parseProxyResponse(socket: Readable): Promise<{ - connect: ConnectResponse; - buffered: Buffer; -}>; -//# sourceMappingURL=parse-proxy-response.d.ts.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map deleted file mode 100644 index f928adf..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"parse-proxy-response.d.ts","sourceRoot":"","sources":["../src/parse-proxy-response.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAIlC,MAAM,WAAW,eAAe;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,mBAAmB,CAAC;CAC7B;AAED,wBAAgB,kBAAkB,CACjC,MAAM,EAAE,QAAQ,GACd,OAAO,CAAC;IAAE,OAAO,EAAE,eAAe,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,CAyGzD"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js deleted file mode 100644 index 6ecc13a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js +++ /dev/null @@ -1,94 +0,0 @@ -import createDebug from 'debug'; -const debug = createDebug('https-proxy-agent:parse-proxy-response'); -export function parseProxyResponse(socket) { - return new Promise((resolve, reject) => { - // we need to buffer any HTTP traffic that happens with the proxy before we get - // the CONNECT response, so that if the response is anything other than an "200" - // response code, then we can re-play the "data" events on the socket once the - // HTTP parser is hooked up... - let buffersLength = 0; - const buffers = []; - function read() { - const b = socket.read(); - if (b) - ondata(b); - else - socket.once('readable', read); - } - function cleanup() { - socket.removeListener('end', onend); - socket.removeListener('error', onerror); - socket.removeListener('readable', read); - } - function onend() { - cleanup(); - debug('onend'); - reject(new Error('Proxy connection ended before receiving CONNECT response')); - } - function onerror(err) { - cleanup(); - debug('onerror %o', err); - reject(err); - } - function ondata(b) { - buffers.push(b); - buffersLength += b.length; - const buffered = Buffer.concat(buffers, buffersLength); - const endOfHeaders = buffered.indexOf('\r\n\r\n'); - if (endOfHeaders === -1) { - // keep buffering - debug('have not received end of HTTP headers yet...'); - read(); - return; - } - const headerParts = buffered - .slice(0, endOfHeaders) - .toString('ascii') - .split('\r\n'); - const firstLine = headerParts.shift(); - if (!firstLine) { - socket.destroy(); - return reject(new Error('No header received from proxy CONNECT response')); - } - const firstLineParts = firstLine.split(' '); - const statusCode = +firstLineParts[1]; - const statusText = firstLineParts.slice(2).join(' '); - const headers = {}; - for (const header of headerParts) { - if (!header) - continue; - const firstColon = header.indexOf(':'); - if (firstColon === -1) { - socket.destroy(); - return reject(new Error(`Invalid header from proxy CONNECT response: "${header}"`)); - } - const key = header.slice(0, firstColon).toLowerCase(); - const value = header.slice(firstColon + 1).trimStart(); - const current = headers[key]; - if (typeof current === 'string') { - headers[key] = [current, value]; - } - else if (Array.isArray(current)) { - current.push(value); - } - else { - headers[key] = value; - } - } - debug('got proxy server response: %o %o', firstLine, headers); - cleanup(); - resolve({ - connect: { - statusCode, - statusText, - headers, - }, - buffered, - }); - } - socket.on('error', onerror); - socket.on('end', onend); - read(); - }); -} -//# sourceMappingURL=parse-proxy-response.js.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map deleted file mode 100644 index 3545309..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"parse-proxy-response.js","sourceRoot":"","sources":["../src/parse-proxy-response.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,OAAO,CAAC;AAIhC,MAAM,KAAK,GAAG,WAAW,CAAC,wCAAwC,CAAC,CAAC;AAQpE,MAAM,UAAU,kBAAkB,CACjC,MAAgB;IAEhB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACtC,+EAA+E;QAC/E,gFAAgF;QAChF,8EAA8E;QAC9E,8BAA8B;QAC9B,IAAI,aAAa,GAAG,CAAC,CAAC;QACtB,MAAM,OAAO,GAAa,EAAE,CAAC;QAE7B,SAAS,IAAI;YACZ,MAAM,CAAC,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC;YACxB,IAAI,CAAC;gBAAE,MAAM,CAAC,CAAC,CAAC,CAAC;;gBACZ,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QACpC,CAAC;QAED,SAAS,OAAO;YACf,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACpC,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;YACxC,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QACzC,CAAC;QAED,SAAS,KAAK;YACb,OAAO,EAAE,CAAC;YACV,KAAK,CAAC,OAAO,CAAC,CAAC;YACf,MAAM,CACL,IAAI,KAAK,CACR,0DAA0D,CAC1D,CACD,CAAC;QACH,CAAC;QAED,SAAS,OAAO,CAAC,GAAU;YAC1B,OAAO,EAAE,CAAC;YACV,KAAK,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;YACzB,MAAM,CAAC,GAAG,CAAC,CAAC;QACb,CAAC;QAED,SAAS,MAAM,CAAC,CAAS;YACxB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAChB,aAAa,IAAI,CAAC,CAAC,MAAM,CAAC;YAE1B,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;YACvD,MAAM,YAAY,GAAG,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;YAElD,IAAI,YAAY,KAAK,CAAC,CAAC,EAAE,CAAC;gBACzB,iBAAiB;gBACjB,KAAK,CAAC,8CAA8C,CAAC,CAAC;gBACtD,IAAI,EAAE,CAAC;gBACP,OAAO;YACR,CAAC;YAED,MAAM,WAAW,GAAG,QAAQ;iBAC1B,KAAK,CAAC,CAAC,EAAE,YAAY,CAAC;iBACtB,QAAQ,CAAC,OAAO,CAAC;iBACjB,KAAK,CAAC,MAAM,CAAC,CAAC;YAChB,MAAM,SAAS,GAAG,WAAW,CAAC,KAAK,EAAE,CAAC;YACtC,IAAI,CAAC,SAAS,EAAE,CAAC;gBAChB,MAAM,CAAC,OAAO,EAAE,CAAC;gBACjB,OAAO,MAAM,CACZ,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAC3D,CAAC;YACH,CAAC;YACD,MAAM,cAAc,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5C,MAAM,UAAU,GAAG,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;YACtC,MAAM,UAAU,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACrD,MAAM,OAAO,GAAwB,EAAE,CAAC;YACxC,KAAK,MAAM,MAAM,IAAI,WAAW,EAAE,CAAC;gBAClC,IAAI,CAAC,MAAM;oBAAE,SAAS;gBACtB,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;gBACvC,IAAI,UAAU,KAAK,CAAC,CAAC,EAAE,CAAC;oBACvB,MAAM,CAAC,OAAO,EAAE,CAAC;oBACjB,OAAO,MAAM,CACZ,IAAI,KAAK,CACR,gDAAgD,MAAM,GAAG,CACzD,CACD,CAAC;gBACH,CAAC;gBACD,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,WAAW,EAAE,CAAC;gBACtD,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;gBACvD,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;gBAC7B,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;oBACjC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBACjC,CAAC;qBAAM,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;oBACnC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBACrB,CAAC;qBAAM,CAAC;oBACP,OAAO,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;gBACtB,CAAC;YACF,CAAC;YACD,KAAK,CAAC,kCAAkC,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;YAC9D,OAAO,EAAE,CAAC;YACV,OAAO,CAAC;gBACP,OAAO,EAAE;oBACR,UAAU;oBACV,UAAU;oBACV,OAAO;iBACP;gBACD,QAAQ;aACR,CAAC,CAAC;QACJ,CAAC;QAED,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAC5B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QAExB,IAAI,EAAE,CAAC;IACR,CAAC,CAAC,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.min.js b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.min.js deleted file mode 100644 index 172b544..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/dist/parse-proxy-response.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/https-proxy-agent@9.1.0/dist/parse-proxy-response.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -import createDebug from"debug";const debug=createDebug("https-proxy-agent:parse-proxy-response");export function parseProxyResponse(e){return new Promise((r,o)=>{let n=0;const t=[];function s(){const c=e.read();c?function(c){t.push(c),n+=c.length;const d=Buffer.concat(t,n),f=d.indexOf("\r\n\r\n");if(-1===f)return debug("have not received end of HTTP headers yet..."),void s();const u=d.slice(0,f).toString("ascii").split("\r\n"),a=u.shift();if(!a)return e.destroy(),o(new Error("No header received from proxy CONNECT response"));const p=a.split(" "),g=+p[1],y=p.slice(2).join(" "),b={};for(const r of u){if(!r)continue;const n=r.indexOf(":");if(-1===n)return e.destroy(),o(new Error(`Invalid header from proxy CONNECT response: "${r}"`));const t=r.slice(0,n).toLowerCase(),s=r.slice(n+1).trimStart(),i=b[t];"string"==typeof i?b[t]=[i,s]:Array.isArray(i)?i.push(s):b[t]=s}debug("got proxy server response: %o %o",a,b),i(),r({connect:{statusCode:g,statusText:y,headers:b},buffered:d})}(c):e.once("readable",s)}function i(){e.removeListener("end",c),e.removeListener("error",d),e.removeListener("readable",s)}function c(){i(),debug("onend"),o(new Error("Proxy connection ended before receiving CONNECT response"))}function d(e){i(),debug("onerror %o",e),o(e)}e.on("error",d),e.on("end",c),s()})} -//# sourceMappingURL=/sm/b9f6ebcb8217df7dc3eca74c07c9a4917799e7c1e37430730e447090d7b9a835.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/package.json b/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/package.json deleted file mode 100644 index ae575a2..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/https-proxy-agent/package.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "name": "https-proxy-agent", - "version": "9.1.0", - "type": "module", - "description": "An HTTP(s) proxy `http.Agent` implementation for HTTPS", - "exports": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - }, - "files": [ - "dist" - ], - "repository": { - "type": "git", - "url": "https://github.com/TooTallNate/proxy-agents.git", - "directory": "packages/https-proxy-agent" - }, - "keywords": [ - "https", - "proxy", - "endpoint", - "agent" - ], - "author": "Nathan Rajlich (http://n8.io/)", - "license": "MIT", - "dependencies": { - "debug": "^4.3.4", - "agent-base": "9.0.0", - "proxy-agent-negotiate": "1.1.0" - }, - "devDependencies": { - "@types/async-retry": "^1.4.5", - "@types/debug": "^4.1.7", - "@types/node": "^22.13.0", - "async-listen": "^3.0.0", - "async-retry": "^1.3.3", - "typescript": "^5.1.6", - "proxy": "4.1.0", - "tsconfig": "0.0.0" - }, - "engines": { - "node": ">= 20" - }, - "scripts": { - "build": "tsc", - "test": "vitest --exclude test/e2e.test.ts", - "test-e2e": "vitest run test/e2e.test.ts", - "lint": "eslint --ext .ts", - "pack": "node ../../scripts/pack.mjs" - } -} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/CHANGELOG.md b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/CHANGELOG.md deleted file mode 100644 index 9cf48f5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/CHANGELOG.md +++ /dev/null @@ -1,24 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.1.0](https://github.com/es-shims/math-intrinsics/compare/v1.0.0...v1.1.0) - 2024-12-18 - -### Commits - -- [New] add `round` [`7cfb044`](https://github.com/es-shims/math-intrinsics/commit/7cfb04460c0fbdf1ca101eecbac3f59d11994130) -- [Tests] add attw [`e96be8f`](https://github.com/es-shims/math-intrinsics/commit/e96be8fbf58449eafe976446a0470e6ea561ad8d) -- [Dev Deps] update `@types/tape` [`30d0023`](https://github.com/es-shims/math-intrinsics/commit/30d00234ce8a3fa0094a61cd55d6686eb91e36ec) - -## v1.0.0 - 2024-12-11 - -### Commits - -- Initial implementation, tests, readme, types [`b898caa`](https://github.com/es-shims/math-intrinsics/commit/b898caae94e9994a94a42b8740f7bbcfd0a868fe) -- Initial commit [`02745b0`](https://github.com/es-shims/math-intrinsics/commit/02745b03a62255af8a332771987b55d127538d9c) -- [New] add `constants/maxArrayLength`, `mod` [`b978178`](https://github.com/es-shims/math-intrinsics/commit/b978178a57685bd23ed1c7efe2137f3784f5fcc5) -- npm init [`a39fc57`](https://github.com/es-shims/math-intrinsics/commit/a39fc57e5639a645d0bd52a0dc56202480223be2) -- Only apps should have lockfiles [`9451580`](https://github.com/es-shims/math-intrinsics/commit/94515800fb34db4f3cc7e99290042d45609ac7bd) diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/LICENSE b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/LICENSE deleted file mode 100644 index 34995e7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2024 ECMAScript Shims - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/README.md b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/README.md deleted file mode 100644 index 4a66dcf..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/README.md +++ /dev/null @@ -1,50 +0,0 @@ -# math-intrinsics [![Version Badge][npm-version-svg]][package-url] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -ES Math-related intrinsics and helpers, robustly cached. - - - `abs` - - `floor` - - `isFinite` - - `isInteger` - - `isNaN` - - `isNegativeZero` - - `max` - - `min` - - `mod` - - `pow` - - `round` - - `sign` - - `constants/maxArrayLength` - - `constants/maxSafeInteger` - - `constants/maxValue` - - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -## Security - -Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. - -[package-url]: https://npmjs.org/package/math-intrinsics -[npm-version-svg]: https://versionbadg.es/es-shims/math-intrinsics.svg -[deps-svg]: https://david-dm.org/es-shims/math-intrinsics.svg -[deps-url]: https://david-dm.org/es-shims/math-intrinsics -[dev-deps-svg]: https://david-dm.org/es-shims/math-intrinsics/dev-status.svg -[dev-deps-url]: https://david-dm.org/es-shims/math-intrinsics#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/math-intrinsics.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/math-intrinsics.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/es-object.svg -[downloads-url]: https://npm-stat.com/charts.html?package=math-intrinsics -[codecov-image]: https://codecov.io/gh/es-shims/math-intrinsics/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/es-shims/math-intrinsics/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/math-intrinsics -[actions-url]: https://github.com/es-shims/math-intrinsics/actions diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.d.ts deleted file mode 100644 index 14ad9c6..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = Math.abs; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.js deleted file mode 100644 index a751424..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./abs')} */ -module.exports = Math.abs; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.min.js deleted file mode 100644 index 7f93503..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/abs.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/abs.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=Math.abs; -//# sourceMappingURL=/sm/33e891b996ed4ef340ba6cea5fa8fe85f6c89d962e617d7a4d62ad3e67969892.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.d.ts deleted file mode 100644 index b92d46b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const MAX_ARRAY_LENGTH: 4294967295; - -export = MAX_ARRAY_LENGTH; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.js deleted file mode 100644 index cfc6aff..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./maxArrayLength')} */ -module.exports = 4294967295; // Math.pow(2, 32) - 1; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.min.js deleted file mode 100644 index 080d19c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxArrayLength.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/constants/maxArrayLength.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=4294967295; -//# sourceMappingURL=/sm/2300e1fe6a05341c65566caad3df094f1b755e4c4a0cd4b87bed2e1393f8a500.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts deleted file mode 100644 index fee3f62..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const MAX_SAFE_INTEGER: 9007199254740991; - -export = MAX_SAFE_INTEGER; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.js deleted file mode 100644 index b568ad3..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -/** @type {import('./maxSafeInteger')} */ -// eslint-disable-next-line no-extra-parens -module.exports = /** @type {import('./maxSafeInteger')} */ (Number.MAX_SAFE_INTEGER) || 9007199254740991; // Math.pow(2, 53) - 1; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.min.js deleted file mode 100644 index 8c00f6f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxSafeInteger.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/constants/maxSafeInteger.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=Number.MAX_SAFE_INTEGER||9007199254740991; -//# sourceMappingURL=/sm/0fae714ecf89ca31c2395b1695357e54a9e577b938301d6e7d3baa519677fc0d.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.d.ts deleted file mode 100644 index 292cb82..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const MAX_VALUE: 1.7976931348623157e+308; - -export = MAX_VALUE; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.js deleted file mode 100644 index a2202dc..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -/** @type {import('./maxValue')} */ -// eslint-disable-next-line no-extra-parens -module.exports = /** @type {import('./maxValue')} */ (Number.MAX_VALUE) || 1.7976931348623157e+308; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.min.js deleted file mode 100644 index 3cf1b10..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/constants/maxValue.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/constants/maxValue.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=Number.MAX_VALUE||17976931348623157e292; -//# sourceMappingURL=/sm/7e483da12299df0ddef1a9e441d6d9bfc734dc11860d99a26b2f65ff5b20656e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.d.ts deleted file mode 100644 index 9265236..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = Math.floor; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.js deleted file mode 100644 index ab0e5d7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./floor')} */ -module.exports = Math.floor; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.min.js deleted file mode 100644 index f9c4d76..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/floor.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/floor.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=Math.floor; -//# sourceMappingURL=/sm/5576ba47fd18d33a0d6e9680602b9cae853b2d2f64117a2700671831ee8d9c71.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.d.ts deleted file mode 100644 index 6daae33..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function isFinite(x: unknown): x is number | bigint; - -export = isFinite; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.js deleted file mode 100644 index b201a5a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var $isNaN = require('./isNaN'); - -/** @type {import('./isFinite')} */ -module.exports = function isFinite(x) { - return (typeof x === 'number' || typeof x === 'bigint') - && !$isNaN(x) - && x !== Infinity - && x !== -Infinity; -}; - diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.min.js deleted file mode 100644 index 635cdc9..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isFinite.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/isFinite.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var $isNaN=require("./isNaN");module.exports=function(e){return("number"==typeof e||"bigint"==typeof e)&&!$isNaN(e)&&e!==1/0&&e!==-1/0}; -//# sourceMappingURL=/sm/d659b3b09b37b1d5a62ad895af2c63431e9de5623abeab8716dd2cc920efe929.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.d.ts deleted file mode 100644 index 13935a8..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function isInteger(argument: unknown): argument is number; - -export = isInteger; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.js deleted file mode 100644 index 4b1b9a5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var $abs = require('./abs'); -var $floor = require('./floor'); - -var $isNaN = require('./isNaN'); -var $isFinite = require('./isFinite'); - -/** @type {import('./isInteger')} */ -module.exports = function isInteger(argument) { - if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { - return false; - } - var absValue = $abs(argument); - return $floor(absValue) === absValue; -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.min.js deleted file mode 100644 index df82854..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isInteger.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/isInteger.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var $abs=require("./abs"),$floor=require("./floor"),$isNaN=require("./isNaN"),$isFinite=require("./isFinite");module.exports=function(r){if("number"!=typeof r||$isNaN(r)||!$isFinite(r))return!1;var i=$abs(r);return $floor(i)===i}; -//# sourceMappingURL=/sm/7a1ba4d0f9624cd4fd8ca94eaabd34d85a8b311cd63fb62ef6f77af5bb16e511.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.d.ts deleted file mode 100644 index c1d4c55..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = Number.isNaN; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.js deleted file mode 100644 index e36475c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; - -/** @type {import('./isNaN')} */ -module.exports = Number.isNaN || function isNaN(a) { - return a !== a; -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.min.js deleted file mode 100644 index 8bdc1d4..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNaN.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/isNaN.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=Number.isNaN||function(e){return e!=e}; -//# sourceMappingURL=/sm/aeee4ea7ac00a90f4fbcd5d7868c121a54c8685f4e5591ef7fba714a297ba2a4.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.d.ts deleted file mode 100644 index 7ad8819..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function isNegativeZero(x: unknown): boolean; - -export = isNegativeZero; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.js deleted file mode 100644 index b69adcc..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; - -/** @type {import('./isNegativeZero')} */ -module.exports = function isNegativeZero(x) { - return x === 0 && 1 / x === 1 / -0; -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.min.js deleted file mode 100644 index bb99d68..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/isNegativeZero.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/isNegativeZero.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=function(t){return 0===t&&1/t==-1/0}; -//# sourceMappingURL=/sm/f22f1df512dfd19100c4b1b81fd22394a8ac8ff2c173d2dd2961c5892a67dcdb.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.d.ts deleted file mode 100644 index ad6f43e..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = Math.max; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.js deleted file mode 100644 index edb55df..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./max')} */ -module.exports = Math.max; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.min.js deleted file mode 100644 index 3fd0cc2..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/max.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/max.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=Math.max; -//# sourceMappingURL=/sm/30c159e404d0e82e3d68c36d009b3fab6be09c420e093a7d733d90118cd812e2.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.d.ts deleted file mode 100644 index fd90f2d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = Math.min; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.js deleted file mode 100644 index 5a4a7c7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./min')} */ -module.exports = Math.min; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.min.js deleted file mode 100644 index 1e1f47d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/min.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/min.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=Math.min; -//# sourceMappingURL=/sm/82f7fd958e5eb80e0fd2248f42903a4319cac99ef768f3b200a3b61d03121854.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.d.ts deleted file mode 100644 index 549dbd4..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function mod(number: number, modulo: number): number; - -export = mod; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.js deleted file mode 100644 index 4a98362..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var $floor = require('./floor'); - -/** @type {import('./mod')} */ -module.exports = function mod(number, modulo) { - var remain = number % modulo; - return $floor(remain >= 0 ? remain : remain + modulo); -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.min.js deleted file mode 100644 index db68169..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/mod.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/mod.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var $floor=require("./floor");module.exports=function(r,o){var e=r%o;return $floor(e>=0?e:e+o)}; -//# sourceMappingURL=/sm/7e3550bfa086151e2561c0be4c4240e236f132aaf823613e0413352d7eb1ae8a.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/package.json b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/package.json deleted file mode 100644 index 0676273..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/package.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "name": "math-intrinsics", - "version": "1.1.0", - "description": "ES Math-related intrinsics and helpers, robustly cached.", - "main": false, - "exports": { - "./abs": "./abs.js", - "./floor": "./floor.js", - "./isFinite": "./isFinite.js", - "./isInteger": "./isInteger.js", - "./isNaN": "./isNaN.js", - "./isNegativeZero": "./isNegativeZero.js", - "./max": "./max.js", - "./min": "./min.js", - "./mod": "./mod.js", - "./pow": "./pow.js", - "./sign": "./sign.js", - "./round": "./round.js", - "./constants/maxArrayLength": "./constants/maxArrayLength.js", - "./constants/maxSafeInteger": "./constants/maxSafeInteger.js", - "./constants/maxValue": "./constants/maxValue.js", - "./package.json": "./package.json" - }, - "sideEffects": false, - "scripts": { - "prepack": "npmignore --auto --commentLines=autogenerated", - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "pretest": "npm run lint", - "test": "npm run tests-only", - "tests-only": "nyc tape 'test/**/*.js'", - "posttest": "npx npm@'>= 10.2' audit --production", - "prelint": "evalmd README.md && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)", - "lint": "eslint --ext=js,mjs .", - "postlint": "tsc && attw -P", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/es-shims/math-intrinsics.git" - }, - "author": "Jordan Harband ", - "license": "MIT", - "bugs": { - "url": "https://github.com/es-shims/math-intrinsics/issues" - }, - "homepage": "https://github.com/es-shims/math-intrinsics#readme", - "devDependencies": { - "@arethetypeswrong/cli": "^0.17.1", - "@ljharb/eslint-config": "^21.1.1", - "@ljharb/tsconfig": "^0.2.2", - "@types/for-each": "^0.3.3", - "@types/object-inspect": "^1.13.0", - "@types/tape": "^5.8.0", - "auto-changelog": "^2.5.0", - "eclint": "^2.8.1", - "es-value-fixtures": "^1.5.0", - "eslint": "^8.8.0", - "evalmd": "^0.0.19", - "for-each": "^0.3.3", - "in-publish": "^2.0.1", - "npmignore": "^0.3.1", - "nyc": "^10.3.2", - "object-inspect": "^1.13.3", - "safe-publish-latest": "^2.0.0", - "tape": "^5.9.0", - "typescript": "next" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "publishConfig": { - "ignore": [ - ".github/workflows" - ] - }, - "engines": { - "node": ">= 0.4" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.d.ts deleted file mode 100644 index 5873c44..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = Math.pow; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.js deleted file mode 100644 index c0a4103..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./pow')} */ -module.exports = Math.pow; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.min.js deleted file mode 100644 index a83c43d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/pow.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/pow.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=Math.pow; -//# sourceMappingURL=/sm/4fa459010dc511770069c47494945424f9a0bcffd6d35debc6b1a7c2ef90b50e.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.d.ts deleted file mode 100644 index da1fde3..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = Math.round; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.js deleted file mode 100644 index b792156..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -/** @type {import('./round')} */ -module.exports = Math.round; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.min.js deleted file mode 100644 index 3107234..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/round.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/round.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";module.exports=Math.round; -//# sourceMappingURL=/sm/7695509f0550bbaa09b38a8b859663089415cde5d315fced97e4a0f6510e78c6.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.d.ts b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.d.ts deleted file mode 100644 index c49ceca..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function sign(x: number): number; - -export = sign; \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.js deleted file mode 100644 index 9e5173c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var $isNaN = require('./isNaN'); - -/** @type {import('./sign')} */ -module.exports = function sign(number) { - if ($isNaN(number) || number === 0) { - return number; - } - return number < 0 ? -1 : +1; -}; diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.min.js deleted file mode 100644 index 8e013c7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/sign.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/sign.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var $isNaN=require("./isNaN");module.exports=function(r){return $isNaN(r)||0===r?r:r<0?-1:1}; -//# sourceMappingURL=/sm/5a5f3227e9cfbbe6d7021d07d8e2b2de4c2bd11319166837a641e7163e5d1c41.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.js deleted file mode 100644 index 0f90a5d..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.js +++ /dev/null @@ -1,192 +0,0 @@ -'use strict'; - -var test = require('tape'); -var v = require('es-value-fixtures'); -var forEach = require('for-each'); -var inspect = require('object-inspect'); - -var abs = require('../abs'); -var floor = require('../floor'); -var isFinite = require('../isFinite'); -var isInteger = require('../isInteger'); -var isNaN = require('../isNaN'); -var isNegativeZero = require('../isNegativeZero'); -var max = require('../max'); -var min = require('../min'); -var mod = require('../mod'); -var pow = require('../pow'); -var round = require('../round'); -var sign = require('../sign'); - -var maxArrayLength = require('../constants/maxArrayLength'); -var maxSafeInteger = require('../constants/maxSafeInteger'); -var maxValue = require('../constants/maxValue'); - -test('abs', function (t) { - t.equal(abs(-1), 1, 'abs(-1) === 1'); - t.equal(abs(+1), 1, 'abs(+1) === 1'); - t.equal(abs(+0), +0, 'abs(+0) === +0'); - t.equal(abs(-0), +0, 'abs(-0) === +0'); - - t.end(); -}); - -test('floor', function (t) { - t.equal(floor(-1.1), -2, 'floor(-1.1) === -2'); - t.equal(floor(+1.1), 1, 'floor(+1.1) === 1'); - t.equal(floor(+0), +0, 'floor(+0) === +0'); - t.equal(floor(-0), -0, 'floor(-0) === -0'); - t.equal(floor(-Infinity), -Infinity, 'floor(-Infinity) === -Infinity'); - t.equal(floor(Number(Infinity)), Number(Infinity), 'floor(+Infinity) === +Infinity'); - t.equal(floor(NaN), NaN, 'floor(NaN) === NaN'); - t.equal(floor(0), +0, 'floor(0) === +0'); - t.equal(floor(-0), -0, 'floor(-0) === -0'); - t.equal(floor(1), 1, 'floor(1) === 1'); - t.equal(floor(-1), -1, 'floor(-1) === -1'); - t.equal(floor(1.1), 1, 'floor(1.1) === 1'); - t.equal(floor(-1.1), -2, 'floor(-1.1) === -2'); - t.equal(floor(maxValue), maxValue, 'floor(maxValue) === maxValue'); - t.equal(floor(maxSafeInteger), maxSafeInteger, 'floor(maxSafeInteger) === maxSafeInteger'); - - t.end(); -}); - -test('isFinite', function (t) { - t.equal(isFinite(0), true, 'isFinite(+0) === true'); - t.equal(isFinite(-0), true, 'isFinite(-0) === true'); - t.equal(isFinite(1), true, 'isFinite(1) === true'); - t.equal(isFinite(Infinity), false, 'isFinite(Infinity) === false'); - t.equal(isFinite(-Infinity), false, 'isFinite(-Infinity) === false'); - t.equal(isFinite(NaN), false, 'isFinite(NaN) === false'); - - forEach(v.nonNumbers, function (nonNumber) { - t.equal(isFinite(nonNumber), false, 'isFinite(' + inspect(nonNumber) + ') === false'); - }); - - t.end(); -}); - -test('isInteger', function (t) { - forEach([].concat( - // @ts-expect-error TS sucks with concat - v.nonNumbers, - v.nonIntegerNumbers - ), function (nonInteger) { - t.equal(isInteger(nonInteger), false, 'isInteger(' + inspect(nonInteger) + ') === false'); - }); - - t.end(); -}); - -test('isNaN', function (t) { - forEach([].concat( - // @ts-expect-error TS sucks with concat - v.nonNumbers, - v.infinities, - v.zeroes, - v.integerNumbers - ), function (nonNaN) { - t.equal(isNaN(nonNaN), false, 'isNaN(' + inspect(nonNaN) + ') === false'); - }); - - t.equal(isNaN(NaN), true, 'isNaN(NaN) === true'); - - t.end(); -}); - -test('isNegativeZero', function (t) { - t.equal(isNegativeZero(-0), true, 'isNegativeZero(-0) === true'); - t.equal(isNegativeZero(+0), false, 'isNegativeZero(+0) === false'); - t.equal(isNegativeZero(1), false, 'isNegativeZero(1) === false'); - t.equal(isNegativeZero(-1), false, 'isNegativeZero(-1) === false'); - t.equal(isNegativeZero(NaN), false, 'isNegativeZero(NaN) === false'); - t.equal(isNegativeZero(Infinity), false, 'isNegativeZero(Infinity) === false'); - t.equal(isNegativeZero(-Infinity), false, 'isNegativeZero(-Infinity) === false'); - - forEach(v.nonNumbers, function (nonNumber) { - t.equal(isNegativeZero(nonNumber), false, 'isNegativeZero(' + inspect(nonNumber) + ') === false'); - }); - - t.end(); -}); - -test('max', function (t) { - t.equal(max(1, 2), 2, 'max(1, 2) === 2'); - t.equal(max(1, 2, 3), 3, 'max(1, 2, 3) === 3'); - t.equal(max(1, 2, 3, 4), 4, 'max(1, 2, 3, 4) === 4'); - t.equal(max(1, 2, 3, 4, 5), 5, 'max(1, 2, 3, 4, 5) === 5'); - t.equal(max(1, 2, 3, 4, 5, 6), 6, 'max(1, 2, 3, 4, 5, 6) === 6'); - t.equal(max(1, 2, 3, 4, 5, 6, 7), 7, 'max(1, 2, 3, 4, 5, 6, 7) === 7'); - - t.end(); -}); - -test('min', function (t) { - t.equal(min(1, 2), 1, 'min(1, 2) === 1'); - t.equal(min(1, 2, 3), 1, 'min(1, 2, 3) === 1'); - t.equal(min(1, 2, 3, 4), 1, 'min(1, 2, 3, 4) === 1'); - t.equal(min(1, 2, 3, 4, 5), 1, 'min(1, 2, 3, 4, 5) === 1'); - t.equal(min(1, 2, 3, 4, 5, 6), 1, 'min(1, 2, 3, 4, 5, 6) === 1'); - - t.end(); -}); - -test('mod', function (t) { - t.equal(mod(1, 2), 1, 'mod(1, 2) === 1'); - t.equal(mod(2, 2), 0, 'mod(2, 2) === 0'); - t.equal(mod(3, 2), 1, 'mod(3, 2) === 1'); - t.equal(mod(4, 2), 0, 'mod(4, 2) === 0'); - t.equal(mod(5, 2), 1, 'mod(5, 2) === 1'); - t.equal(mod(6, 2), 0, 'mod(6, 2) === 0'); - t.equal(mod(7, 2), 1, 'mod(7, 2) === 1'); - t.equal(mod(8, 2), 0, 'mod(8, 2) === 0'); - t.equal(mod(9, 2), 1, 'mod(9, 2) === 1'); - t.equal(mod(10, 2), 0, 'mod(10, 2) === 0'); - t.equal(mod(11, 2), 1, 'mod(11, 2) === 1'); - - t.end(); -}); - -test('pow', function (t) { - t.equal(pow(2, 2), 4, 'pow(2, 2) === 4'); - t.equal(pow(2, 3), 8, 'pow(2, 3) === 8'); - t.equal(pow(2, 4), 16, 'pow(2, 4) === 16'); - t.equal(pow(2, 5), 32, 'pow(2, 5) === 32'); - t.equal(pow(2, 6), 64, 'pow(2, 6) === 64'); - t.equal(pow(2, 7), 128, 'pow(2, 7) === 128'); - t.equal(pow(2, 8), 256, 'pow(2, 8) === 256'); - t.equal(pow(2, 9), 512, 'pow(2, 9) === 512'); - t.equal(pow(2, 10), 1024, 'pow(2, 10) === 1024'); - - t.end(); -}); - -test('round', function (t) { - t.equal(round(1.1), 1, 'round(1.1) === 1'); - t.equal(round(1.5), 2, 'round(1.5) === 2'); - t.equal(round(1.9), 2, 'round(1.9) === 2'); - - t.end(); -}); - -test('sign', function (t) { - t.equal(sign(-1), -1, 'sign(-1) === -1'); - t.equal(sign(+1), +1, 'sign(+1) === +1'); - t.equal(sign(+0), +0, 'sign(+0) === +0'); - t.equal(sign(-0), -0, 'sign(-0) === -0'); - t.equal(sign(NaN), NaN, 'sign(NaN) === NaN'); - t.equal(sign(Infinity), +1, 'sign(Infinity) === +1'); - t.equal(sign(-Infinity), -1, 'sign(-Infinity) === -1'); - t.equal(sign(maxValue), +1, 'sign(maxValue) === +1'); - t.equal(sign(maxSafeInteger), +1, 'sign(maxSafeInteger) === +1'); - - t.end(); -}); - -test('constants', function (t) { - t.equal(typeof maxArrayLength, 'number', 'typeof maxArrayLength === "number"'); - t.equal(typeof maxSafeInteger, 'number', 'typeof maxSafeInteger === "number"'); - t.equal(typeof maxValue, 'number', 'typeof maxValue === "number"'); - - t.end(); -}); diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.min.js b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.min.js deleted file mode 100644 index c873bfa..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/test/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/math-intrinsics@1.1.0/test/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var test=require("tape"),v=require("es-value-fixtures"),forEach=require("for-each"),inspect=require("object-inspect"),abs=require("../abs"),floor=require("../floor"),isFinite=require("../isFinite"),isInteger=require("../isInteger"),isNaN=require("../isNaN"),isNegativeZero=require("../isNegativeZero"),max=require("../max"),min=require("../min"),mod=require("../mod"),pow=require("../pow"),round=require("../round"),sign=require("../sign"),maxArrayLength=require("../constants/maxArrayLength"),maxSafeInteger=require("../constants/maxSafeInteger"),maxValue=require("../constants/maxValue");test("abs",(function(e){e.equal(abs(-1),1,"abs(-1) === 1"),e.equal(abs(1),1,"abs(+1) === 1"),e.equal(abs(0),0,"abs(+0) === +0"),e.equal(abs(-0),0,"abs(-0) === +0"),e.end()})),test("floor",(function(e){e.equal(floor(-1.1),-2,"floor(-1.1) === -2"),e.equal(floor(1.1),1,"floor(+1.1) === 1"),e.equal(floor(0),0,"floor(+0) === +0"),e.equal(floor(-0),-0,"floor(-0) === -0"),e.equal(floor(-1/0),-1/0,"floor(-Infinity) === -Infinity"),e.equal(floor(Number(1/0)),Number(1/0),"floor(+Infinity) === +Infinity"),e.equal(floor(NaN),NaN,"floor(NaN) === NaN"),e.equal(floor(0),0,"floor(0) === +0"),e.equal(floor(-0),-0,"floor(-0) === -0"),e.equal(floor(1),1,"floor(1) === 1"),e.equal(floor(-1),-1,"floor(-1) === -1"),e.equal(floor(1.1),1,"floor(1.1) === 1"),e.equal(floor(-1.1),-2,"floor(-1.1) === -2"),e.equal(floor(maxValue),maxValue,"floor(maxValue) === maxValue"),e.equal(floor(maxSafeInteger),maxSafeInteger,"floor(maxSafeInteger) === maxSafeInteger"),e.end()})),test("isFinite",(function(e){e.equal(isFinite(0),!0,"isFinite(+0) === true"),e.equal(isFinite(-0),!0,"isFinite(-0) === true"),e.equal(isFinite(1),!0,"isFinite(1) === true"),e.equal(isFinite(1/0),!1,"isFinite(Infinity) === false"),e.equal(isFinite(-1/0),!1,"isFinite(-Infinity) === false"),e.equal(isFinite(NaN),!1,"isFinite(NaN) === false"),forEach(v.nonNumbers,(function(a){e.equal(isFinite(a),!1,"isFinite("+inspect(a)+") === false")})),e.end()})),test("isInteger",(function(e){forEach([].concat(v.nonNumbers,v.nonIntegerNumbers),(function(a){e.equal(isInteger(a),!1,"isInteger("+inspect(a)+") === false")})),e.end()})),test("isNaN",(function(e){forEach([].concat(v.nonNumbers,v.infinities,v.zeroes,v.integerNumbers),(function(a){e.equal(isNaN(a),!1,"isNaN("+inspect(a)+") === false")})),e.equal(isNaN(NaN),!0,"isNaN(NaN) === true"),e.end()})),test("isNegativeZero",(function(e){e.equal(isNegativeZero(-0),!0,"isNegativeZero(-0) === true"),e.equal(isNegativeZero(0),!1,"isNegativeZero(+0) === false"),e.equal(isNegativeZero(1),!1,"isNegativeZero(1) === false"),e.equal(isNegativeZero(-1),!1,"isNegativeZero(-1) === false"),e.equal(isNegativeZero(NaN),!1,"isNegativeZero(NaN) === false"),e.equal(isNegativeZero(1/0),!1,"isNegativeZero(Infinity) === false"),e.equal(isNegativeZero(-1/0),!1,"isNegativeZero(-Infinity) === false"),forEach(v.nonNumbers,(function(a){e.equal(isNegativeZero(a),!1,"isNegativeZero("+inspect(a)+") === false")})),e.end()})),test("max",(function(e){e.equal(max(1,2),2,"max(1, 2) === 2"),e.equal(max(1,2,3),3,"max(1, 2, 3) === 3"),e.equal(max(1,2,3,4),4,"max(1, 2, 3, 4) === 4"),e.equal(max(1,2,3,4,5),5,"max(1, 2, 3, 4, 5) === 5"),e.equal(max(1,2,3,4,5,6),6,"max(1, 2, 3, 4, 5, 6) === 6"),e.equal(max(1,2,3,4,5,6,7),7,"max(1, 2, 3, 4, 5, 6, 7) === 7"),e.end()})),test("min",(function(e){e.equal(min(1,2),1,"min(1, 2) === 1"),e.equal(min(1,2,3),1,"min(1, 2, 3) === 1"),e.equal(min(1,2,3,4),1,"min(1, 2, 3, 4) === 1"),e.equal(min(1,2,3,4,5),1,"min(1, 2, 3, 4, 5) === 1"),e.equal(min(1,2,3,4,5,6),1,"min(1, 2, 3, 4, 5, 6) === 1"),e.end()})),test("mod",(function(e){e.equal(mod(1,2),1,"mod(1, 2) === 1"),e.equal(mod(2,2),0,"mod(2, 2) === 0"),e.equal(mod(3,2),1,"mod(3, 2) === 1"),e.equal(mod(4,2),0,"mod(4, 2) === 0"),e.equal(mod(5,2),1,"mod(5, 2) === 1"),e.equal(mod(6,2),0,"mod(6, 2) === 0"),e.equal(mod(7,2),1,"mod(7, 2) === 1"),e.equal(mod(8,2),0,"mod(8, 2) === 0"),e.equal(mod(9,2),1,"mod(9, 2) === 1"),e.equal(mod(10,2),0,"mod(10, 2) === 0"),e.equal(mod(11,2),1,"mod(11, 2) === 1"),e.end()})),test("pow",(function(e){e.equal(pow(2,2),4,"pow(2, 2) === 4"),e.equal(pow(2,3),8,"pow(2, 3) === 8"),e.equal(pow(2,4),16,"pow(2, 4) === 16"),e.equal(pow(2,5),32,"pow(2, 5) === 32"),e.equal(pow(2,6),64,"pow(2, 6) === 64"),e.equal(pow(2,7),128,"pow(2, 7) === 128"),e.equal(pow(2,8),256,"pow(2, 8) === 256"),e.equal(pow(2,9),512,"pow(2, 9) === 512"),e.equal(pow(2,10),1024,"pow(2, 10) === 1024"),e.end()})),test("round",(function(e){e.equal(round(1.1),1,"round(1.1) === 1"),e.equal(round(1.5),2,"round(1.5) === 2"),e.equal(round(1.9),2,"round(1.9) === 2"),e.end()})),test("sign",(function(e){e.equal(sign(-1),-1,"sign(-1) === -1"),e.equal(sign(1),1,"sign(+1) === +1"),e.equal(sign(0),0,"sign(+0) === +0"),e.equal(sign(-0),-0,"sign(-0) === -0"),e.equal(sign(NaN),NaN,"sign(NaN) === NaN"),e.equal(sign(1/0),1,"sign(Infinity) === +1"),e.equal(sign(-1/0),-1,"sign(-Infinity) === -1"),e.equal(sign(maxValue),1,"sign(maxValue) === +1"),e.equal(sign(maxSafeInteger),1,"sign(maxSafeInteger) === +1"),e.end()})),test("constants",(function(e){e.equal(typeof maxArrayLength,"number",'typeof maxArrayLength === "number"'),e.equal(typeof maxSafeInteger,"number",'typeof maxSafeInteger === "number"'),e.equal(typeof maxValue,"number",'typeof maxValue === "number"'),e.end()})); -//# sourceMappingURL=/sm/4c926470fb7dd50bb0d695177c432ec336f648770a5a85ea09b06b2a1b37f357.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/tsconfig.json b/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/tsconfig.json deleted file mode 100644 index b131000..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/math-intrinsics/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "@ljharb/tsconfig", -} diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-db/HISTORY.md b/Lombiq.EInvoiceValidator/node_modules/mime-db/HISTORY.md deleted file mode 100644 index fb35bec..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-db/HISTORY.md +++ /dev/null @@ -1,541 +0,0 @@ -1.54.0 / 2025-03-17 -=================== - - * Update mime type for DCM format (#362) - * mark application/octet-stream as compressible (#163) - * Fix typo in application/x-zip-compressed mimetype (#359) - * Add mime-type for Jupyter notebooks (#282) - * Add Google Drive MIME types (#311) - * Add .blend file type (#338) - * Add support for the FBX file extension (#342) - * Add Adobe DNG file (#340) - * Add Procreate Brush and Brush Set file Types (#339) - * Add support for Procreate Dreams (#341) - * replace got with undici (#352) - * Added extensions list for model/step (#293) - * Add m4b as a type of audio/mp4 (#357) - * windows 11 application/x-zip-compressed (#346) - * add dotLottie mime type (#351) - * Add some MS-related extensions and types (#336) - -1.53.0 / 2024-07-12 -=================== - - * Add extension `.sql` to `application/sql` - * Add extensions `.aac` and `.adts` to `audio/aac` - * Add extensions `.js` and `.mjs` to `text/javascript` - * Add extensions for `application/mp4` from IANA - * Add extensions from IANA for more MIME types - * Add Microsoft app installer types and extensions - * Add new upstream MIME types - * Fix extensions for `text/markdown` to match IANA - * Remove extension `.mjs` from `application/javascript` - * Remove obsolete MIME types from IANA data - -1.52.0 / 2022-02-21 -=================== - - * Add extensions from IANA for more `image/*` types - * Add extension `.asc` to `application/pgp-keys` - * Add extensions to various XML types - * Add new upstream MIME types - -1.51.0 / 2021-11-08 -=================== - - * Add new upstream MIME types - * Mark `image/vnd.microsoft.icon` as compressible - * Mark `image/vnd.ms-dds` as compressible - -1.50.0 / 2021-09-15 -=================== - - * Add deprecated iWorks mime types and extensions - * Add new upstream MIME types - -1.49.0 / 2021-07-26 -=================== - - * Add extension `.trig` to `application/trig` - * Add new upstream MIME types - -1.48.0 / 2021-05-30 -=================== - - * Add extension `.mvt` to `application/vnd.mapbox-vector-tile` - * Add new upstream MIME types - * Mark `text/yaml` as compressible - -1.47.0 / 2021-04-01 -=================== - - * Add new upstream MIME types - * Remove ambiguous extensions from IANA for `application/*+xml` types - * Update primary extension to `.es` for `application/ecmascript` - -1.46.0 / 2021-02-13 -=================== - - * Add extension `.amr` to `audio/amr` - * Add extension `.m4s` to `video/iso.segment` - * Add extension `.opus` to `audio/ogg` - * Add new upstream MIME types - -1.45.0 / 2020-09-22 -=================== - - * Add `application/ubjson` with extension `.ubj` - * Add `image/avif` with extension `.avif` - * Add `image/ktx2` with extension `.ktx2` - * Add extension `.dbf` to `application/vnd.dbf` - * Add extension `.rar` to `application/vnd.rar` - * Add extension `.td` to `application/urc-targetdesc+xml` - * Add new upstream MIME types - * Fix extension of `application/vnd.apple.keynote` to be `.key` - -1.44.0 / 2020-04-22 -=================== - - * Add charsets from IANA - * Add extension `.cjs` to `application/node` - * Add new upstream MIME types - -1.43.0 / 2020-01-05 -=================== - - * Add `application/x-keepass2` with extension `.kdbx` - * Add extension `.mxmf` to `audio/mobile-xmf` - * Add extensions from IANA for `application/*+xml` types - * Add new upstream MIME types - -1.42.0 / 2019-09-25 -=================== - - * Add `image/vnd.ms-dds` with extension `.dds` - * Add new upstream MIME types - * Remove compressible from `multipart/mixed` - -1.41.0 / 2019-08-30 -=================== - - * Add new upstream MIME types - * Add `application/toml` with extension `.toml` - * Mark `font/ttf` as compressible - -1.40.0 / 2019-04-20 -=================== - - * Add extensions from IANA for `model/*` types - * Add `text/mdx` with extension `.mdx` - -1.39.0 / 2019-04-04 -=================== - - * Add extensions `.siv` and `.sieve` to `application/sieve` - * Add new upstream MIME types - -1.38.0 / 2019-02-04 -=================== - - * Add extension `.nq` to `application/n-quads` - * Add extension `.nt` to `application/n-triples` - * Add new upstream MIME types - * Mark `text/less` as compressible - -1.37.0 / 2018-10-19 -=================== - - * Add extensions to HEIC image types - * Add new upstream MIME types - -1.36.0 / 2018-08-20 -=================== - - * Add Apple file extensions from IANA - * Add extensions from IANA for `image/*` types - * Add new upstream MIME types - -1.35.0 / 2018-07-15 -=================== - - * Add extension `.owl` to `application/rdf+xml` - * Add new upstream MIME types - - Removes extension `.woff` from `application/font-woff` - -1.34.0 / 2018-06-03 -=================== - - * Add extension `.csl` to `application/vnd.citationstyles.style+xml` - * Add extension `.es` to `application/ecmascript` - * Add new upstream MIME types - * Add `UTF-8` as default charset for `text/turtle` - * Mark all XML-derived types as compressible - -1.33.0 / 2018-02-15 -=================== - - * Add extensions from IANA for `message/*` types - * Add new upstream MIME types - * Fix some incorrect OOXML types - * Remove `application/font-woff2` - -1.32.0 / 2017-11-29 -=================== - - * Add new upstream MIME types - * Update `text/hjson` to registered `application/hjson` - * Add `text/shex` with extension `.shex` - -1.31.0 / 2017-10-25 -=================== - - * Add `application/raml+yaml` with extension `.raml` - * Add `application/wasm` with extension `.wasm` - * Add new `font` type from IANA - * Add new upstream font extensions - * Add new upstream MIME types - * Add extensions for JPEG-2000 images - -1.30.0 / 2017-08-27 -=================== - - * Add `application/vnd.ms-outlook` - * Add `application/x-arj` - * Add extension `.mjs` to `application/javascript` - * Add glTF types and extensions - * Add new upstream MIME types - * Add `text/x-org` - * Add VirtualBox MIME types - * Fix `source` records for `video/*` types that are IANA - * Update `font/opentype` to registered `font/otf` - -1.29.0 / 2017-07-10 -=================== - - * Add `application/fido.trusted-apps+json` - * Add extension `.wadl` to `application/vnd.sun.wadl+xml` - * Add new upstream MIME types - * Add `UTF-8` as default charset for `text/css` - -1.28.0 / 2017-05-14 -=================== - - * Add new upstream MIME types - * Add extension `.gz` to `application/gzip` - * Update extensions `.md` and `.markdown` to be `text/markdown` - -1.27.0 / 2017-03-16 -=================== - - * Add new upstream MIME types - * Add `image/apng` with extension `.apng` - -1.26.0 / 2017-01-14 -=================== - - * Add new upstream MIME types - * Add extension `.geojson` to `application/geo+json` - -1.25.0 / 2016-11-11 -=================== - - * Add new upstream MIME types - -1.24.0 / 2016-09-18 -=================== - - * Add `audio/mp3` - * Add new upstream MIME types - -1.23.0 / 2016-05-01 -=================== - - * Add new upstream MIME types - * Add extension `.3gpp` to `audio/3gpp` - -1.22.0 / 2016-02-15 -=================== - - * Add `text/slim` - * Add extension `.rng` to `application/xml` - * Add new upstream MIME types - * Fix extension of `application/dash+xml` to be `.mpd` - * Update primary extension to `.m4a` for `audio/mp4` - -1.21.0 / 2016-01-06 -=================== - - * Add Google document types - * Add new upstream MIME types - -1.20.0 / 2015-11-10 -=================== - - * Add `text/x-suse-ymp` - * Add new upstream MIME types - -1.19.0 / 2015-09-17 -=================== - - * Add `application/vnd.apple.pkpass` - * Add new upstream MIME types - -1.18.0 / 2015-09-03 -=================== - - * Add new upstream MIME types - -1.17.0 / 2015-08-13 -=================== - - * Add `application/x-msdos-program` - * Add `audio/g711-0` - * Add `image/vnd.mozilla.apng` - * Add extension `.exe` to `application/x-msdos-program` - -1.16.0 / 2015-07-29 -=================== - - * Add `application/vnd.uri-map` - -1.15.0 / 2015-07-13 -=================== - - * Add `application/x-httpd-php` - -1.14.0 / 2015-06-25 -=================== - - * Add `application/scim+json` - * Add `application/vnd.3gpp.ussd+xml` - * Add `application/vnd.biopax.rdf+xml` - * Add `text/x-processing` - -1.13.0 / 2015-06-07 -=================== - - * Add nginx as a source - * Add `application/x-cocoa` - * Add `application/x-java-archive-diff` - * Add `application/x-makeself` - * Add `application/x-perl` - * Add `application/x-pilot` - * Add `application/x-redhat-package-manager` - * Add `application/x-sea` - * Add `audio/x-m4a` - * Add `audio/x-realaudio` - * Add `image/x-jng` - * Add `text/mathml` - -1.12.0 / 2015-06-05 -=================== - - * Add `application/bdoc` - * Add `application/vnd.hyperdrive+json` - * Add `application/x-bdoc` - * Add extension `.rtf` to `text/rtf` - -1.11.0 / 2015-05-31 -=================== - - * Add `audio/wav` - * Add `audio/wave` - * Add extension `.litcoffee` to `text/coffeescript` - * Add extension `.sfd-hdstx` to `application/vnd.hydrostatix.sof-data` - * Add extension `.n-gage` to `application/vnd.nokia.n-gage.symbian.install` - -1.10.0 / 2015-05-19 -=================== - - * Add `application/vnd.balsamiq.bmpr` - * Add `application/vnd.microsoft.portable-executable` - * Add `application/x-ns-proxy-autoconfig` - -1.9.1 / 2015-04-19 -================== - - * Remove `.json` extension from `application/manifest+json` - - This is causing bugs downstream - -1.9.0 / 2015-04-19 -================== - - * Add `application/manifest+json` - * Add `application/vnd.micro+json` - * Add `image/vnd.zbrush.pcx` - * Add `image/x-ms-bmp` - -1.8.0 / 2015-03-13 -================== - - * Add `application/vnd.citationstyles.style+xml` - * Add `application/vnd.fastcopy-disk-image` - * Add `application/vnd.gov.sk.xmldatacontainer+xml` - * Add extension `.jsonld` to `application/ld+json` - -1.7.0 / 2015-02-08 -================== - - * Add `application/vnd.gerber` - * Add `application/vnd.msa-disk-image` - -1.6.1 / 2015-02-05 -================== - - * Community extensions ownership transferred from `node-mime` - -1.6.0 / 2015-01-29 -================== - - * Add `application/jose` - * Add `application/jose+json` - * Add `application/json-seq` - * Add `application/jwk+json` - * Add `application/jwk-set+json` - * Add `application/jwt` - * Add `application/rdap+json` - * Add `application/vnd.gov.sk.e-form+xml` - * Add `application/vnd.ims.imsccv1p3` - -1.5.0 / 2014-12-30 -================== - - * Add `application/vnd.oracle.resource+json` - * Fix various invalid MIME type entries - - `application/mbox+xml` - - `application/oscp-response` - - `application/vwg-multiplexed` - - `audio/g721` - -1.4.0 / 2014-12-21 -================== - - * Add `application/vnd.ims.imsccv1p2` - * Fix various invalid MIME type entries - - `application/vnd-acucobol` - - `application/vnd-curl` - - `application/vnd-dart` - - `application/vnd-dxr` - - `application/vnd-fdf` - - `application/vnd-mif` - - `application/vnd-sema` - - `application/vnd-wap-wmlc` - - `application/vnd.adobe.flash-movie` - - `application/vnd.dece-zip` - - `application/vnd.dvb_service` - - `application/vnd.micrografx-igx` - - `application/vnd.sealed-doc` - - `application/vnd.sealed-eml` - - `application/vnd.sealed-mht` - - `application/vnd.sealed-ppt` - - `application/vnd.sealed-tiff` - - `application/vnd.sealed-xls` - - `application/vnd.sealedmedia.softseal-html` - - `application/vnd.sealedmedia.softseal-pdf` - - `application/vnd.wap-slc` - - `application/vnd.wap-wbxml` - - `audio/vnd.sealedmedia.softseal-mpeg` - - `image/vnd-djvu` - - `image/vnd-svf` - - `image/vnd-wap-wbmp` - - `image/vnd.sealed-png` - - `image/vnd.sealedmedia.softseal-gif` - - `image/vnd.sealedmedia.softseal-jpg` - - `model/vnd-dwf` - - `model/vnd.parasolid.transmit-binary` - - `model/vnd.parasolid.transmit-text` - - `text/vnd-a` - - `text/vnd-curl` - - `text/vnd.wap-wml` - * Remove example template MIME types - - `application/example` - - `audio/example` - - `image/example` - - `message/example` - - `model/example` - - `multipart/example` - - `text/example` - - `video/example` - -1.3.1 / 2014-12-16 -================== - - * Fix missing extensions - - `application/json5` - - `text/hjson` - -1.3.0 / 2014-12-07 -================== - - * Add `application/a2l` - * Add `application/aml` - * Add `application/atfx` - * Add `application/atxml` - * Add `application/cdfx+xml` - * Add `application/dii` - * Add `application/json5` - * Add `application/lxf` - * Add `application/mf4` - * Add `application/vnd.apache.thrift.compact` - * Add `application/vnd.apache.thrift.json` - * Add `application/vnd.coffeescript` - * Add `application/vnd.enphase.envoy` - * Add `application/vnd.ims.imsccv1p1` - * Add `text/csv-schema` - * Add `text/hjson` - * Add `text/markdown` - * Add `text/yaml` - -1.2.0 / 2014-11-09 -================== - - * Add `application/cea` - * Add `application/dit` - * Add `application/vnd.gov.sk.e-form+zip` - * Add `application/vnd.tmd.mediaflex.api+xml` - * Type `application/epub+zip` is now IANA-registered - -1.1.2 / 2014-10-23 -================== - - * Rebuild database for `application/x-www-form-urlencoded` change - -1.1.1 / 2014-10-20 -================== - - * Mark `application/x-www-form-urlencoded` as compressible. - -1.1.0 / 2014-09-28 -================== - - * Add `application/font-woff2` - -1.0.3 / 2014-09-25 -================== - - * Fix engine requirement in package - -1.0.2 / 2014-09-25 -================== - - * Add `application/coap-group+json` - * Add `application/dcd` - * Add `application/vnd.apache.thrift.binary` - * Add `image/vnd.tencent.tap` - * Mark all JSON-derived types as compressible - * Update `text/vtt` data - -1.0.1 / 2014-08-30 -================== - - * Fix extension ordering - -1.0.0 / 2014-08-30 -================== - - * Add `application/atf` - * Add `application/merge-patch+json` - * Add `multipart/x-mixed-replace` - * Add `source: 'apache'` metadata - * Add `source: 'iana'` metadata - * Remove badly-assumed charset data diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-db/LICENSE b/Lombiq.EInvoiceValidator/node_modules/mime-db/LICENSE deleted file mode 100644 index 0751cb1..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-db/LICENSE +++ /dev/null @@ -1,23 +0,0 @@ -(The MIT License) - -Copyright (c) 2014 Jonathan Ong -Copyright (c) 2015-2022 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-db/README.md b/Lombiq.EInvoiceValidator/node_modules/mime-db/README.md deleted file mode 100644 index ee93fa0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-db/README.md +++ /dev/null @@ -1,109 +0,0 @@ -# mime-db - -[![NPM Version][npm-version-image]][npm-url] -[![NPM Downloads][npm-downloads-image]][npm-url] -[![Node.js Version][node-image]][node-url] -[![Build Status][ci-image]][ci-url] -[![Coverage Status][coveralls-image]][coveralls-url] - -This is a large database of mime types and information about them. -It consists of a single, public JSON file and does not include any logic, -allowing it to remain as un-opinionated as possible with an API. -It aggregates data from the following sources: - -- https://www.iana.org/assignments/media-types/media-types.xhtml -- https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types -- https://hg.nginx.org/nginx/raw-file/default/conf/mime.types - -## Installation - -```bash -npm install mime-db -``` - -### Database Download - -If you intend to use this in a web browser, you can conveniently access the JSON file via [jsDelivr](https://www.jsdelivr.com/), a popular CDN (Content Delivery Network). To ensure stability and compatibility, it is advisable to specify [a release tag](https://github.com/jshttp/mime-db/tags) instead of using the 'master' branch. This is because the JSON file's format might change in future updates, and relying on a specific release tag will prevent potential issues arising from these changes. - -``` -https://cdn.jsdelivr.net/gh/jshttp/mime-db@master/db.json -``` - -## Usage - -```js -var db = require('mime-db') - -// grab data on .js files -var data = db['application/javascript'] -``` - -## Data Structure - -The JSON file is a map lookup for lowercased mime types. -Each mime type has the following properties: - -- `.source` - where the mime type is defined. - If not set, it's probably a custom media type. - - `apache` - [Apache common media types](https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types) - - `iana` - [IANA-defined media types](https://www.iana.org/assignments/media-types/media-types.xhtml) - - `nginx` - [nginx media types](https://hg.nginx.org/nginx/raw-file/default/conf/mime.types) -- `.extensions[]` - known extensions associated with this mime type. -- `.compressible` - whether a file of this type can be gzipped. -- `.charset` - the default charset associated with this type, if any. - -If unknown, every property could be `undefined`. - -## Note on MIME Type Data and Semver - -This package considers the programmatic api as the semver compatibility. This means the MIME type resolution is *not* considered -in the semver bumps. This means that if you want to pin your `mime-db` data you will need to do it in your application. While -this expectation was not set in docs until now, it is how the pacakge operated, so we do not feel this is a breaking change. - -## Contributing - -The primary way to contribute to this database is by updating the data in -one of the upstream sources. The database is updated from the upstreams -periodically and will pull in any changes. - -### Registering Media Types - -The best way to get new media types included in this library is to register -them with the IANA. The community registration procedure is outlined in -[RFC 6838 section 5](https://tools.ietf.org/html/rfc6838#section-5). Types -registered with the IANA are automatically pulled into this library. - -### Direct Inclusion - -If that is not possible / feasible, they can be added directly here as a -"custom" type. To do this, it is required to have a primary source that -definitively lists the media type. If an extension is going to be listed as -associated with this media type, the source must definitively link the -media type and extension as well. - -To edit the database, only make PRs against `src/custom-types.json` or -`src/custom-suffix.json`. - -The `src/custom-types.json` file is a JSON object with the MIME type as the -keys and the values being an object with the following keys: - -- `compressible` - leave out if you don't know, otherwise `true`/`false` to - indicate whether the data represented by the type is typically compressible. -- `extensions` - include an array of file extensions that are associated with - the type. -- `notes` - human-readable notes about the type, typically what the type is. -- `sources` - include an array of URLs of where the MIME type and the associated - extensions are sourced from. This needs to be a [primary source](https://en.wikipedia.org/wiki/Primary_source); - links to type aggregating sites and Wikipedia are _not acceptable_. - -To update the build, run `npm run build`. - -[ci-image]: https://badgen.net/github/checks/jshttp/mime-db/master?label=ci -[ci-url]: https://github.com/jshttp/mime-db/actions/workflows/ci.yml -[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/mime-db/master -[coveralls-url]: https://coveralls.io/r/jshttp/mime-db?branch=master -[node-image]: https://badgen.net/npm/node/mime-db -[node-url]: https://nodejs.org/en/download -[npm-downloads-image]: https://badgen.net/npm/dm/mime-db -[npm-url]: https://npmjs.org/package/mime-db -[npm-version-image]: https://badgen.net/npm/v/mime-db diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-db/db.json b/Lombiq.EInvoiceValidator/node_modules/mime-db/db.json deleted file mode 100644 index 7e74733..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-db/db.json +++ /dev/null @@ -1,9342 +0,0 @@ -{ - "application/1d-interleaved-parityfec": { - "source": "iana" - }, - "application/3gpdash-qoe-report+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/3gpp-ims+xml": { - "source": "iana", - "compressible": true - }, - "application/3gpphal+json": { - "source": "iana", - "compressible": true - }, - "application/3gpphalforms+json": { - "source": "iana", - "compressible": true - }, - "application/a2l": { - "source": "iana" - }, - "application/ace+cbor": { - "source": "iana" - }, - "application/ace+json": { - "source": "iana", - "compressible": true - }, - "application/ace-groupcomm+cbor": { - "source": "iana" - }, - "application/ace-trl+cbor": { - "source": "iana" - }, - "application/activemessage": { - "source": "iana" - }, - "application/activity+json": { - "source": "iana", - "compressible": true - }, - "application/aif+cbor": { - "source": "iana" - }, - "application/aif+json": { - "source": "iana", - "compressible": true - }, - "application/alto-cdni+json": { - "source": "iana", - "compressible": true - }, - "application/alto-cdnifilter+json": { - "source": "iana", - "compressible": true - }, - "application/alto-costmap+json": { - "source": "iana", - "compressible": true - }, - "application/alto-costmapfilter+json": { - "source": "iana", - "compressible": true - }, - "application/alto-directory+json": { - "source": "iana", - "compressible": true - }, - "application/alto-endpointcost+json": { - "source": "iana", - "compressible": true - }, - "application/alto-endpointcostparams+json": { - "source": "iana", - "compressible": true - }, - "application/alto-endpointprop+json": { - "source": "iana", - "compressible": true - }, - "application/alto-endpointpropparams+json": { - "source": "iana", - "compressible": true - }, - "application/alto-error+json": { - "source": "iana", - "compressible": true - }, - "application/alto-networkmap+json": { - "source": "iana", - "compressible": true - }, - "application/alto-networkmapfilter+json": { - "source": "iana", - "compressible": true - }, - "application/alto-propmap+json": { - "source": "iana", - "compressible": true - }, - "application/alto-propmapparams+json": { - "source": "iana", - "compressible": true - }, - "application/alto-tips+json": { - "source": "iana", - "compressible": true - }, - "application/alto-tipsparams+json": { - "source": "iana", - "compressible": true - }, - "application/alto-updatestreamcontrol+json": { - "source": "iana", - "compressible": true - }, - "application/alto-updatestreamparams+json": { - "source": "iana", - "compressible": true - }, - "application/aml": { - "source": "iana" - }, - "application/andrew-inset": { - "source": "iana", - "extensions": ["ez"] - }, - "application/appinstaller": { - "compressible": false, - "extensions": ["appinstaller"] - }, - "application/applefile": { - "source": "iana" - }, - "application/applixware": { - "source": "apache", - "extensions": ["aw"] - }, - "application/appx": { - "compressible": false, - "extensions": ["appx"] - }, - "application/appxbundle": { - "compressible": false, - "extensions": ["appxbundle"] - }, - "application/at+jwt": { - "source": "iana" - }, - "application/atf": { - "source": "iana" - }, - "application/atfx": { - "source": "iana" - }, - "application/atom+xml": { - "source": "iana", - "compressible": true, - "extensions": ["atom"] - }, - "application/atomcat+xml": { - "source": "iana", - "compressible": true, - "extensions": ["atomcat"] - }, - "application/atomdeleted+xml": { - "source": "iana", - "compressible": true, - "extensions": ["atomdeleted"] - }, - "application/atomicmail": { - "source": "iana" - }, - "application/atomsvc+xml": { - "source": "iana", - "compressible": true, - "extensions": ["atomsvc"] - }, - "application/atsc-dwd+xml": { - "source": "iana", - "compressible": true, - "extensions": ["dwd"] - }, - "application/atsc-dynamic-event-message": { - "source": "iana" - }, - "application/atsc-held+xml": { - "source": "iana", - "compressible": true, - "extensions": ["held"] - }, - "application/atsc-rdt+json": { - "source": "iana", - "compressible": true - }, - "application/atsc-rsat+xml": { - "source": "iana", - "compressible": true, - "extensions": ["rsat"] - }, - "application/atxml": { - "source": "iana" - }, - "application/auth-policy+xml": { - "source": "iana", - "compressible": true - }, - "application/automationml-aml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["aml"] - }, - "application/automationml-amlx+zip": { - "source": "iana", - "compressible": false, - "extensions": ["amlx"] - }, - "application/bacnet-xdd+zip": { - "source": "iana", - "compressible": false - }, - "application/batch-smtp": { - "source": "iana" - }, - "application/bdoc": { - "compressible": false, - "extensions": ["bdoc"] - }, - "application/beep+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/bufr": { - "source": "iana" - }, - "application/c2pa": { - "source": "iana" - }, - "application/calendar+json": { - "source": "iana", - "compressible": true - }, - "application/calendar+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xcs"] - }, - "application/call-completion": { - "source": "iana" - }, - "application/cals-1840": { - "source": "iana" - }, - "application/captive+json": { - "source": "iana", - "compressible": true - }, - "application/cbor": { - "source": "iana" - }, - "application/cbor-seq": { - "source": "iana" - }, - "application/cccex": { - "source": "iana" - }, - "application/ccmp+xml": { - "source": "iana", - "compressible": true - }, - "application/ccxml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["ccxml"] - }, - "application/cda+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/cdfx+xml": { - "source": "iana", - "compressible": true, - "extensions": ["cdfx"] - }, - "application/cdmi-capability": { - "source": "iana", - "extensions": ["cdmia"] - }, - "application/cdmi-container": { - "source": "iana", - "extensions": ["cdmic"] - }, - "application/cdmi-domain": { - "source": "iana", - "extensions": ["cdmid"] - }, - "application/cdmi-object": { - "source": "iana", - "extensions": ["cdmio"] - }, - "application/cdmi-queue": { - "source": "iana", - "extensions": ["cdmiq"] - }, - "application/cdni": { - "source": "iana" - }, - "application/ce+cbor": { - "source": "iana" - }, - "application/cea": { - "source": "iana" - }, - "application/cea-2018+xml": { - "source": "iana", - "compressible": true - }, - "application/cellml+xml": { - "source": "iana", - "compressible": true - }, - "application/cfw": { - "source": "iana" - }, - "application/cid-edhoc+cbor-seq": { - "source": "iana" - }, - "application/city+json": { - "source": "iana", - "compressible": true - }, - "application/city+json-seq": { - "source": "iana" - }, - "application/clr": { - "source": "iana" - }, - "application/clue+xml": { - "source": "iana", - "compressible": true - }, - "application/clue_info+xml": { - "source": "iana", - "compressible": true - }, - "application/cms": { - "source": "iana" - }, - "application/cnrp+xml": { - "source": "iana", - "compressible": true - }, - "application/coap-eap": { - "source": "iana" - }, - "application/coap-group+json": { - "source": "iana", - "compressible": true - }, - "application/coap-payload": { - "source": "iana" - }, - "application/commonground": { - "source": "iana" - }, - "application/concise-problem-details+cbor": { - "source": "iana" - }, - "application/conference-info+xml": { - "source": "iana", - "compressible": true - }, - "application/cose": { - "source": "iana" - }, - "application/cose-key": { - "source": "iana" - }, - "application/cose-key-set": { - "source": "iana" - }, - "application/cose-x509": { - "source": "iana" - }, - "application/cpl+xml": { - "source": "iana", - "compressible": true, - "extensions": ["cpl"] - }, - "application/csrattrs": { - "source": "iana" - }, - "application/csta+xml": { - "source": "iana", - "compressible": true - }, - "application/cstadata+xml": { - "source": "iana", - "compressible": true - }, - "application/csvm+json": { - "source": "iana", - "compressible": true - }, - "application/cu-seeme": { - "source": "apache", - "extensions": ["cu"] - }, - "application/cwl": { - "source": "iana", - "extensions": ["cwl"] - }, - "application/cwl+json": { - "source": "iana", - "compressible": true - }, - "application/cwl+yaml": { - "source": "iana" - }, - "application/cwt": { - "source": "iana" - }, - "application/cybercash": { - "source": "iana" - }, - "application/dart": { - "compressible": true - }, - "application/dash+xml": { - "source": "iana", - "compressible": true, - "extensions": ["mpd"] - }, - "application/dash-patch+xml": { - "source": "iana", - "compressible": true, - "extensions": ["mpp"] - }, - "application/dashdelta": { - "source": "iana" - }, - "application/davmount+xml": { - "source": "iana", - "compressible": true, - "extensions": ["davmount"] - }, - "application/dca-rft": { - "source": "iana" - }, - "application/dcd": { - "source": "iana" - }, - "application/dec-dx": { - "source": "iana" - }, - "application/dialog-info+xml": { - "source": "iana", - "compressible": true - }, - "application/dicom": { - "source": "iana", - "extensions": ["dcm"] - }, - "application/dicom+json": { - "source": "iana", - "compressible": true - }, - "application/dicom+xml": { - "source": "iana", - "compressible": true - }, - "application/dii": { - "source": "iana" - }, - "application/dit": { - "source": "iana" - }, - "application/dns": { - "source": "iana" - }, - "application/dns+json": { - "source": "iana", - "compressible": true - }, - "application/dns-message": { - "source": "iana" - }, - "application/docbook+xml": { - "source": "apache", - "compressible": true, - "extensions": ["dbk"] - }, - "application/dots+cbor": { - "source": "iana" - }, - "application/dpop+jwt": { - "source": "iana" - }, - "application/dskpp+xml": { - "source": "iana", - "compressible": true - }, - "application/dssc+der": { - "source": "iana", - "extensions": ["dssc"] - }, - "application/dssc+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xdssc"] - }, - "application/dvcs": { - "source": "iana" - }, - "application/eat+cwt": { - "source": "iana" - }, - "application/eat+jwt": { - "source": "iana" - }, - "application/eat-bun+cbor": { - "source": "iana" - }, - "application/eat-bun+json": { - "source": "iana", - "compressible": true - }, - "application/eat-ucs+cbor": { - "source": "iana" - }, - "application/eat-ucs+json": { - "source": "iana", - "compressible": true - }, - "application/ecmascript": { - "source": "apache", - "compressible": true, - "extensions": ["ecma"] - }, - "application/edhoc+cbor-seq": { - "source": "iana" - }, - "application/edi-consent": { - "source": "iana" - }, - "application/edi-x12": { - "source": "iana", - "compressible": false - }, - "application/edifact": { - "source": "iana", - "compressible": false - }, - "application/efi": { - "source": "iana" - }, - "application/elm+json": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/elm+xml": { - "source": "iana", - "compressible": true - }, - "application/emergencycalldata.cap+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/emergencycalldata.comment+xml": { - "source": "iana", - "compressible": true - }, - "application/emergencycalldata.control+xml": { - "source": "iana", - "compressible": true - }, - "application/emergencycalldata.deviceinfo+xml": { - "source": "iana", - "compressible": true - }, - "application/emergencycalldata.ecall.msd": { - "source": "iana" - }, - "application/emergencycalldata.legacyesn+json": { - "source": "iana", - "compressible": true - }, - "application/emergencycalldata.providerinfo+xml": { - "source": "iana", - "compressible": true - }, - "application/emergencycalldata.serviceinfo+xml": { - "source": "iana", - "compressible": true - }, - "application/emergencycalldata.subscriberinfo+xml": { - "source": "iana", - "compressible": true - }, - "application/emergencycalldata.veds+xml": { - "source": "iana", - "compressible": true - }, - "application/emma+xml": { - "source": "iana", - "compressible": true, - "extensions": ["emma"] - }, - "application/emotionml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["emotionml"] - }, - "application/encaprtp": { - "source": "iana" - }, - "application/entity-statement+jwt": { - "source": "iana" - }, - "application/epp+xml": { - "source": "iana", - "compressible": true - }, - "application/epub+zip": { - "source": "iana", - "compressible": false, - "extensions": ["epub"] - }, - "application/eshop": { - "source": "iana" - }, - "application/exi": { - "source": "iana", - "extensions": ["exi"] - }, - "application/expect-ct-report+json": { - "source": "iana", - "compressible": true - }, - "application/express": { - "source": "iana", - "extensions": ["exp"] - }, - "application/fastinfoset": { - "source": "iana" - }, - "application/fastsoap": { - "source": "iana" - }, - "application/fdf": { - "source": "iana", - "extensions": ["fdf"] - }, - "application/fdt+xml": { - "source": "iana", - "compressible": true, - "extensions": ["fdt"] - }, - "application/fhir+json": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/fhir+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/fido.trusted-apps+json": { - "compressible": true - }, - "application/fits": { - "source": "iana" - }, - "application/flexfec": { - "source": "iana" - }, - "application/font-sfnt": { - "source": "iana" - }, - "application/font-tdpfr": { - "source": "iana", - "extensions": ["pfr"] - }, - "application/font-woff": { - "source": "iana", - "compressible": false - }, - "application/framework-attributes+xml": { - "source": "iana", - "compressible": true - }, - "application/geo+json": { - "source": "iana", - "compressible": true, - "extensions": ["geojson"] - }, - "application/geo+json-seq": { - "source": "iana" - }, - "application/geopackage+sqlite3": { - "source": "iana" - }, - "application/geopose+json": { - "source": "iana", - "compressible": true - }, - "application/geoxacml+json": { - "source": "iana", - "compressible": true - }, - "application/geoxacml+xml": { - "source": "iana", - "compressible": true - }, - "application/gltf-buffer": { - "source": "iana" - }, - "application/gml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["gml"] - }, - "application/gnap-binding-jws": { - "source": "iana" - }, - "application/gnap-binding-jwsd": { - "source": "iana" - }, - "application/gnap-binding-rotation-jws": { - "source": "iana" - }, - "application/gnap-binding-rotation-jwsd": { - "source": "iana" - }, - "application/gpx+xml": { - "source": "apache", - "compressible": true, - "extensions": ["gpx"] - }, - "application/grib": { - "source": "iana" - }, - "application/gxf": { - "source": "apache", - "extensions": ["gxf"] - }, - "application/gzip": { - "source": "iana", - "compressible": false, - "extensions": ["gz"] - }, - "application/h224": { - "source": "iana" - }, - "application/held+xml": { - "source": "iana", - "compressible": true - }, - "application/hjson": { - "extensions": ["hjson"] - }, - "application/hl7v2+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/http": { - "source": "iana" - }, - "application/hyperstudio": { - "source": "iana", - "extensions": ["stk"] - }, - "application/ibe-key-request+xml": { - "source": "iana", - "compressible": true - }, - "application/ibe-pkg-reply+xml": { - "source": "iana", - "compressible": true - }, - "application/ibe-pp-data": { - "source": "iana" - }, - "application/iges": { - "source": "iana" - }, - "application/im-iscomposing+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/index": { - "source": "iana" - }, - "application/index.cmd": { - "source": "iana" - }, - "application/index.obj": { - "source": "iana" - }, - "application/index.response": { - "source": "iana" - }, - "application/index.vnd": { - "source": "iana" - }, - "application/inkml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["ink","inkml"] - }, - "application/iotp": { - "source": "iana" - }, - "application/ipfix": { - "source": "iana", - "extensions": ["ipfix"] - }, - "application/ipp": { - "source": "iana" - }, - "application/isup": { - "source": "iana" - }, - "application/its+xml": { - "source": "iana", - "compressible": true, - "extensions": ["its"] - }, - "application/java-archive": { - "source": "iana", - "compressible": false, - "extensions": ["jar","war","ear"] - }, - "application/java-serialized-object": { - "source": "apache", - "compressible": false, - "extensions": ["ser"] - }, - "application/java-vm": { - "source": "apache", - "compressible": false, - "extensions": ["class"] - }, - "application/javascript": { - "source": "apache", - "charset": "UTF-8", - "compressible": true, - "extensions": ["js"] - }, - "application/jf2feed+json": { - "source": "iana", - "compressible": true - }, - "application/jose": { - "source": "iana" - }, - "application/jose+json": { - "source": "iana", - "compressible": true - }, - "application/jrd+json": { - "source": "iana", - "compressible": true - }, - "application/jscalendar+json": { - "source": "iana", - "compressible": true - }, - "application/jscontact+json": { - "source": "iana", - "compressible": true - }, - "application/json": { - "source": "iana", - "charset": "UTF-8", - "compressible": true, - "extensions": ["json","map"] - }, - "application/json-patch+json": { - "source": "iana", - "compressible": true - }, - "application/json-seq": { - "source": "iana" - }, - "application/json5": { - "extensions": ["json5"] - }, - "application/jsonml+json": { - "source": "apache", - "compressible": true, - "extensions": ["jsonml"] - }, - "application/jsonpath": { - "source": "iana" - }, - "application/jwk+json": { - "source": "iana", - "compressible": true - }, - "application/jwk-set+json": { - "source": "iana", - "compressible": true - }, - "application/jwk-set+jwt": { - "source": "iana" - }, - "application/jwt": { - "source": "iana" - }, - "application/kpml-request+xml": { - "source": "iana", - "compressible": true - }, - "application/kpml-response+xml": { - "source": "iana", - "compressible": true - }, - "application/ld+json": { - "source": "iana", - "compressible": true, - "extensions": ["jsonld"] - }, - "application/lgr+xml": { - "source": "iana", - "compressible": true, - "extensions": ["lgr"] - }, - "application/link-format": { - "source": "iana" - }, - "application/linkset": { - "source": "iana" - }, - "application/linkset+json": { - "source": "iana", - "compressible": true - }, - "application/load-control+xml": { - "source": "iana", - "compressible": true - }, - "application/logout+jwt": { - "source": "iana" - }, - "application/lost+xml": { - "source": "iana", - "compressible": true, - "extensions": ["lostxml"] - }, - "application/lostsync+xml": { - "source": "iana", - "compressible": true - }, - "application/lpf+zip": { - "source": "iana", - "compressible": false - }, - "application/lxf": { - "source": "iana" - }, - "application/mac-binhex40": { - "source": "iana", - "extensions": ["hqx"] - }, - "application/mac-compactpro": { - "source": "apache", - "extensions": ["cpt"] - }, - "application/macwriteii": { - "source": "iana" - }, - "application/mads+xml": { - "source": "iana", - "compressible": true, - "extensions": ["mads"] - }, - "application/manifest+json": { - "source": "iana", - "charset": "UTF-8", - "compressible": true, - "extensions": ["webmanifest"] - }, - "application/marc": { - "source": "iana", - "extensions": ["mrc"] - }, - "application/marcxml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["mrcx"] - }, - "application/mathematica": { - "source": "iana", - "extensions": ["ma","nb","mb"] - }, - "application/mathml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["mathml"] - }, - "application/mathml-content+xml": { - "source": "iana", - "compressible": true - }, - "application/mathml-presentation+xml": { - "source": "iana", - "compressible": true - }, - "application/mbms-associated-procedure-description+xml": { - "source": "iana", - "compressible": true - }, - "application/mbms-deregister+xml": { - "source": "iana", - "compressible": true - }, - "application/mbms-envelope+xml": { - "source": "iana", - "compressible": true - }, - "application/mbms-msk+xml": { - "source": "iana", - "compressible": true - }, - "application/mbms-msk-response+xml": { - "source": "iana", - "compressible": true - }, - "application/mbms-protection-description+xml": { - "source": "iana", - "compressible": true - }, - "application/mbms-reception-report+xml": { - "source": "iana", - "compressible": true - }, - "application/mbms-register+xml": { - "source": "iana", - "compressible": true - }, - "application/mbms-register-response+xml": { - "source": "iana", - "compressible": true - }, - "application/mbms-schedule+xml": { - "source": "iana", - "compressible": true - }, - "application/mbms-user-service-description+xml": { - "source": "iana", - "compressible": true - }, - "application/mbox": { - "source": "iana", - "extensions": ["mbox"] - }, - "application/media-policy-dataset+xml": { - "source": "iana", - "compressible": true, - "extensions": ["mpf"] - }, - "application/media_control+xml": { - "source": "iana", - "compressible": true - }, - "application/mediaservercontrol+xml": { - "source": "iana", - "compressible": true, - "extensions": ["mscml"] - }, - "application/merge-patch+json": { - "source": "iana", - "compressible": true - }, - "application/metalink+xml": { - "source": "apache", - "compressible": true, - "extensions": ["metalink"] - }, - "application/metalink4+xml": { - "source": "iana", - "compressible": true, - "extensions": ["meta4"] - }, - "application/mets+xml": { - "source": "iana", - "compressible": true, - "extensions": ["mets"] - }, - "application/mf4": { - "source": "iana" - }, - "application/mikey": { - "source": "iana" - }, - "application/mipc": { - "source": "iana" - }, - "application/missing-blocks+cbor-seq": { - "source": "iana" - }, - "application/mmt-aei+xml": { - "source": "iana", - "compressible": true, - "extensions": ["maei"] - }, - "application/mmt-usd+xml": { - "source": "iana", - "compressible": true, - "extensions": ["musd"] - }, - "application/mods+xml": { - "source": "iana", - "compressible": true, - "extensions": ["mods"] - }, - "application/moss-keys": { - "source": "iana" - }, - "application/moss-signature": { - "source": "iana" - }, - "application/mosskey-data": { - "source": "iana" - }, - "application/mosskey-request": { - "source": "iana" - }, - "application/mp21": { - "source": "iana", - "extensions": ["m21","mp21"] - }, - "application/mp4": { - "source": "iana", - "extensions": ["mp4","mpg4","mp4s","m4p"] - }, - "application/mpeg4-generic": { - "source": "iana" - }, - "application/mpeg4-iod": { - "source": "iana" - }, - "application/mpeg4-iod-xmt": { - "source": "iana" - }, - "application/mrb-consumer+xml": { - "source": "iana", - "compressible": true - }, - "application/mrb-publish+xml": { - "source": "iana", - "compressible": true - }, - "application/msc-ivr+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/msc-mixer+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/msix": { - "compressible": false, - "extensions": ["msix"] - }, - "application/msixbundle": { - "compressible": false, - "extensions": ["msixbundle"] - }, - "application/msword": { - "source": "iana", - "compressible": false, - "extensions": ["doc","dot"] - }, - "application/mud+json": { - "source": "iana", - "compressible": true - }, - "application/multipart-core": { - "source": "iana" - }, - "application/mxf": { - "source": "iana", - "extensions": ["mxf"] - }, - "application/n-quads": { - "source": "iana", - "extensions": ["nq"] - }, - "application/n-triples": { - "source": "iana", - "extensions": ["nt"] - }, - "application/nasdata": { - "source": "iana" - }, - "application/news-checkgroups": { - "source": "iana", - "charset": "US-ASCII" - }, - "application/news-groupinfo": { - "source": "iana", - "charset": "US-ASCII" - }, - "application/news-transmission": { - "source": "iana" - }, - "application/nlsml+xml": { - "source": "iana", - "compressible": true - }, - "application/node": { - "source": "iana", - "extensions": ["cjs"] - }, - "application/nss": { - "source": "iana" - }, - "application/oauth-authz-req+jwt": { - "source": "iana" - }, - "application/oblivious-dns-message": { - "source": "iana" - }, - "application/ocsp-request": { - "source": "iana" - }, - "application/ocsp-response": { - "source": "iana" - }, - "application/octet-stream": { - "source": "iana", - "compressible": true, - "extensions": ["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"] - }, - "application/oda": { - "source": "iana", - "extensions": ["oda"] - }, - "application/odm+xml": { - "source": "iana", - "compressible": true - }, - "application/odx": { - "source": "iana" - }, - "application/oebps-package+xml": { - "source": "iana", - "compressible": true, - "extensions": ["opf"] - }, - "application/ogg": { - "source": "iana", - "compressible": false, - "extensions": ["ogx"] - }, - "application/ohttp-keys": { - "source": "iana" - }, - "application/omdoc+xml": { - "source": "apache", - "compressible": true, - "extensions": ["omdoc"] - }, - "application/onenote": { - "source": "apache", - "extensions": ["onetoc","onetoc2","onetmp","onepkg","one","onea"] - }, - "application/opc-nodeset+xml": { - "source": "iana", - "compressible": true - }, - "application/oscore": { - "source": "iana" - }, - "application/oxps": { - "source": "iana", - "extensions": ["oxps"] - }, - "application/p21": { - "source": "iana" - }, - "application/p21+zip": { - "source": "iana", - "compressible": false - }, - "application/p2p-overlay+xml": { - "source": "iana", - "compressible": true, - "extensions": ["relo"] - }, - "application/parityfec": { - "source": "iana" - }, - "application/passport": { - "source": "iana" - }, - "application/patch-ops-error+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xer"] - }, - "application/pdf": { - "source": "iana", - "compressible": false, - "extensions": ["pdf"] - }, - "application/pdx": { - "source": "iana" - }, - "application/pem-certificate-chain": { - "source": "iana" - }, - "application/pgp-encrypted": { - "source": "iana", - "compressible": false, - "extensions": ["pgp"] - }, - "application/pgp-keys": { - "source": "iana", - "extensions": ["asc"] - }, - "application/pgp-signature": { - "source": "iana", - "extensions": ["sig","asc"] - }, - "application/pics-rules": { - "source": "apache", - "extensions": ["prf"] - }, - "application/pidf+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/pidf-diff+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/pkcs10": { - "source": "iana", - "extensions": ["p10"] - }, - "application/pkcs12": { - "source": "iana" - }, - "application/pkcs7-mime": { - "source": "iana", - "extensions": ["p7m","p7c"] - }, - "application/pkcs7-signature": { - "source": "iana", - "extensions": ["p7s"] - }, - "application/pkcs8": { - "source": "iana", - "extensions": ["p8"] - }, - "application/pkcs8-encrypted": { - "source": "iana" - }, - "application/pkix-attr-cert": { - "source": "iana", - "extensions": ["ac"] - }, - "application/pkix-cert": { - "source": "iana", - "extensions": ["cer"] - }, - "application/pkix-crl": { - "source": "iana", - "extensions": ["crl"] - }, - "application/pkix-pkipath": { - "source": "iana", - "extensions": ["pkipath"] - }, - "application/pkixcmp": { - "source": "iana", - "extensions": ["pki"] - }, - "application/pls+xml": { - "source": "iana", - "compressible": true, - "extensions": ["pls"] - }, - "application/poc-settings+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/postscript": { - "source": "iana", - "compressible": true, - "extensions": ["ai","eps","ps"] - }, - "application/ppsp-tracker+json": { - "source": "iana", - "compressible": true - }, - "application/private-token-issuer-directory": { - "source": "iana" - }, - "application/private-token-request": { - "source": "iana" - }, - "application/private-token-response": { - "source": "iana" - }, - "application/problem+json": { - "source": "iana", - "compressible": true - }, - "application/problem+xml": { - "source": "iana", - "compressible": true - }, - "application/provenance+xml": { - "source": "iana", - "compressible": true, - "extensions": ["provx"] - }, - "application/provided-claims+jwt": { - "source": "iana" - }, - "application/prs.alvestrand.titrax-sheet": { - "source": "iana" - }, - "application/prs.cww": { - "source": "iana", - "extensions": ["cww"] - }, - "application/prs.cyn": { - "source": "iana", - "charset": "7-BIT" - }, - "application/prs.hpub+zip": { - "source": "iana", - "compressible": false - }, - "application/prs.implied-document+xml": { - "source": "iana", - "compressible": true - }, - "application/prs.implied-executable": { - "source": "iana" - }, - "application/prs.implied-object+json": { - "source": "iana", - "compressible": true - }, - "application/prs.implied-object+json-seq": { - "source": "iana" - }, - "application/prs.implied-object+yaml": { - "source": "iana" - }, - "application/prs.implied-structure": { - "source": "iana" - }, - "application/prs.mayfile": { - "source": "iana" - }, - "application/prs.nprend": { - "source": "iana" - }, - "application/prs.plucker": { - "source": "iana" - }, - "application/prs.rdf-xml-crypt": { - "source": "iana" - }, - "application/prs.vcfbzip2": { - "source": "iana" - }, - "application/prs.xsf+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xsf"] - }, - "application/pskc+xml": { - "source": "iana", - "compressible": true, - "extensions": ["pskcxml"] - }, - "application/pvd+json": { - "source": "iana", - "compressible": true - }, - "application/qsig": { - "source": "iana" - }, - "application/raml+yaml": { - "compressible": true, - "extensions": ["raml"] - }, - "application/raptorfec": { - "source": "iana" - }, - "application/rdap+json": { - "source": "iana", - "compressible": true - }, - "application/rdf+xml": { - "source": "iana", - "compressible": true, - "extensions": ["rdf","owl"] - }, - "application/reginfo+xml": { - "source": "iana", - "compressible": true, - "extensions": ["rif"] - }, - "application/relax-ng-compact-syntax": { - "source": "iana", - "extensions": ["rnc"] - }, - "application/remote-printing": { - "source": "apache" - }, - "application/reputon+json": { - "source": "iana", - "compressible": true - }, - "application/resolve-response+jwt": { - "source": "iana" - }, - "application/resource-lists+xml": { - "source": "iana", - "compressible": true, - "extensions": ["rl"] - }, - "application/resource-lists-diff+xml": { - "source": "iana", - "compressible": true, - "extensions": ["rld"] - }, - "application/rfc+xml": { - "source": "iana", - "compressible": true - }, - "application/riscos": { - "source": "iana" - }, - "application/rlmi+xml": { - "source": "iana", - "compressible": true - }, - "application/rls-services+xml": { - "source": "iana", - "compressible": true, - "extensions": ["rs"] - }, - "application/route-apd+xml": { - "source": "iana", - "compressible": true, - "extensions": ["rapd"] - }, - "application/route-s-tsid+xml": { - "source": "iana", - "compressible": true, - "extensions": ["sls"] - }, - "application/route-usd+xml": { - "source": "iana", - "compressible": true, - "extensions": ["rusd"] - }, - "application/rpki-checklist": { - "source": "iana" - }, - "application/rpki-ghostbusters": { - "source": "iana", - "extensions": ["gbr"] - }, - "application/rpki-manifest": { - "source": "iana", - "extensions": ["mft"] - }, - "application/rpki-publication": { - "source": "iana" - }, - "application/rpki-roa": { - "source": "iana", - "extensions": ["roa"] - }, - "application/rpki-signed-tal": { - "source": "iana" - }, - "application/rpki-updown": { - "source": "iana" - }, - "application/rsd+xml": { - "source": "apache", - "compressible": true, - "extensions": ["rsd"] - }, - "application/rss+xml": { - "source": "apache", - "compressible": true, - "extensions": ["rss"] - }, - "application/rtf": { - "source": "iana", - "compressible": true, - "extensions": ["rtf"] - }, - "application/rtploopback": { - "source": "iana" - }, - "application/rtx": { - "source": "iana" - }, - "application/samlassertion+xml": { - "source": "iana", - "compressible": true - }, - "application/samlmetadata+xml": { - "source": "iana", - "compressible": true - }, - "application/sarif+json": { - "source": "iana", - "compressible": true - }, - "application/sarif-external-properties+json": { - "source": "iana", - "compressible": true - }, - "application/sbe": { - "source": "iana" - }, - "application/sbml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["sbml"] - }, - "application/scaip+xml": { - "source": "iana", - "compressible": true - }, - "application/scim+json": { - "source": "iana", - "compressible": true - }, - "application/scvp-cv-request": { - "source": "iana", - "extensions": ["scq"] - }, - "application/scvp-cv-response": { - "source": "iana", - "extensions": ["scs"] - }, - "application/scvp-vp-request": { - "source": "iana", - "extensions": ["spq"] - }, - "application/scvp-vp-response": { - "source": "iana", - "extensions": ["spp"] - }, - "application/sdp": { - "source": "iana", - "extensions": ["sdp"] - }, - "application/secevent+jwt": { - "source": "iana" - }, - "application/senml+cbor": { - "source": "iana" - }, - "application/senml+json": { - "source": "iana", - "compressible": true - }, - "application/senml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["senmlx"] - }, - "application/senml-etch+cbor": { - "source": "iana" - }, - "application/senml-etch+json": { - "source": "iana", - "compressible": true - }, - "application/senml-exi": { - "source": "iana" - }, - "application/sensml+cbor": { - "source": "iana" - }, - "application/sensml+json": { - "source": "iana", - "compressible": true - }, - "application/sensml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["sensmlx"] - }, - "application/sensml-exi": { - "source": "iana" - }, - "application/sep+xml": { - "source": "iana", - "compressible": true - }, - "application/sep-exi": { - "source": "iana" - }, - "application/session-info": { - "source": "iana" - }, - "application/set-payment": { - "source": "iana" - }, - "application/set-payment-initiation": { - "source": "iana", - "extensions": ["setpay"] - }, - "application/set-registration": { - "source": "iana" - }, - "application/set-registration-initiation": { - "source": "iana", - "extensions": ["setreg"] - }, - "application/sgml": { - "source": "iana" - }, - "application/sgml-open-catalog": { - "source": "iana" - }, - "application/shf+xml": { - "source": "iana", - "compressible": true, - "extensions": ["shf"] - }, - "application/sieve": { - "source": "iana", - "extensions": ["siv","sieve"] - }, - "application/simple-filter+xml": { - "source": "iana", - "compressible": true - }, - "application/simple-message-summary": { - "source": "iana" - }, - "application/simplesymbolcontainer": { - "source": "iana" - }, - "application/sipc": { - "source": "iana" - }, - "application/slate": { - "source": "iana" - }, - "application/smil": { - "source": "apache" - }, - "application/smil+xml": { - "source": "iana", - "compressible": true, - "extensions": ["smi","smil"] - }, - "application/smpte336m": { - "source": "iana" - }, - "application/soap+fastinfoset": { - "source": "iana" - }, - "application/soap+xml": { - "source": "iana", - "compressible": true - }, - "application/sparql-query": { - "source": "iana", - "extensions": ["rq"] - }, - "application/sparql-results+xml": { - "source": "iana", - "compressible": true, - "extensions": ["srx"] - }, - "application/spdx+json": { - "source": "iana", - "compressible": true - }, - "application/spirits-event+xml": { - "source": "iana", - "compressible": true - }, - "application/sql": { - "source": "iana", - "extensions": ["sql"] - }, - "application/srgs": { - "source": "iana", - "extensions": ["gram"] - }, - "application/srgs+xml": { - "source": "iana", - "compressible": true, - "extensions": ["grxml"] - }, - "application/sru+xml": { - "source": "iana", - "compressible": true, - "extensions": ["sru"] - }, - "application/ssdl+xml": { - "source": "apache", - "compressible": true, - "extensions": ["ssdl"] - }, - "application/sslkeylogfile": { - "source": "iana" - }, - "application/ssml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["ssml"] - }, - "application/st2110-41": { - "source": "iana" - }, - "application/stix+json": { - "source": "iana", - "compressible": true - }, - "application/stratum": { - "source": "iana" - }, - "application/swid+cbor": { - "source": "iana" - }, - "application/swid+xml": { - "source": "iana", - "compressible": true, - "extensions": ["swidtag"] - }, - "application/tamp-apex-update": { - "source": "iana" - }, - "application/tamp-apex-update-confirm": { - "source": "iana" - }, - "application/tamp-community-update": { - "source": "iana" - }, - "application/tamp-community-update-confirm": { - "source": "iana" - }, - "application/tamp-error": { - "source": "iana" - }, - "application/tamp-sequence-adjust": { - "source": "iana" - }, - "application/tamp-sequence-adjust-confirm": { - "source": "iana" - }, - "application/tamp-status-query": { - "source": "iana" - }, - "application/tamp-status-response": { - "source": "iana" - }, - "application/tamp-update": { - "source": "iana" - }, - "application/tamp-update-confirm": { - "source": "iana" - }, - "application/tar": { - "compressible": true - }, - "application/taxii+json": { - "source": "iana", - "compressible": true - }, - "application/td+json": { - "source": "iana", - "compressible": true - }, - "application/tei+xml": { - "source": "iana", - "compressible": true, - "extensions": ["tei","teicorpus"] - }, - "application/tetra_isi": { - "source": "iana" - }, - "application/thraud+xml": { - "source": "iana", - "compressible": true, - "extensions": ["tfi"] - }, - "application/timestamp-query": { - "source": "iana" - }, - "application/timestamp-reply": { - "source": "iana" - }, - "application/timestamped-data": { - "source": "iana", - "extensions": ["tsd"] - }, - "application/tlsrpt+gzip": { - "source": "iana" - }, - "application/tlsrpt+json": { - "source": "iana", - "compressible": true - }, - "application/tm+json": { - "source": "iana", - "compressible": true - }, - "application/tnauthlist": { - "source": "iana" - }, - "application/toc+cbor": { - "source": "iana" - }, - "application/token-introspection+jwt": { - "source": "iana" - }, - "application/toml": { - "source": "iana", - "compressible": true, - "extensions": ["toml"] - }, - "application/trickle-ice-sdpfrag": { - "source": "iana" - }, - "application/trig": { - "source": "iana", - "extensions": ["trig"] - }, - "application/trust-chain+json": { - "source": "iana", - "compressible": true - }, - "application/trust-mark+jwt": { - "source": "iana" - }, - "application/trust-mark-delegation+jwt": { - "source": "iana" - }, - "application/ttml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["ttml"] - }, - "application/tve-trigger": { - "source": "iana" - }, - "application/tzif": { - "source": "iana" - }, - "application/tzif-leap": { - "source": "iana" - }, - "application/ubjson": { - "compressible": false, - "extensions": ["ubj"] - }, - "application/uccs+cbor": { - "source": "iana" - }, - "application/ujcs+json": { - "source": "iana", - "compressible": true - }, - "application/ulpfec": { - "source": "iana" - }, - "application/urc-grpsheet+xml": { - "source": "iana", - "compressible": true - }, - "application/urc-ressheet+xml": { - "source": "iana", - "compressible": true, - "extensions": ["rsheet"] - }, - "application/urc-targetdesc+xml": { - "source": "iana", - "compressible": true, - "extensions": ["td"] - }, - "application/urc-uisocketdesc+xml": { - "source": "iana", - "compressible": true - }, - "application/vc": { - "source": "iana" - }, - "application/vc+cose": { - "source": "iana" - }, - "application/vc+jwt": { - "source": "iana" - }, - "application/vcard+json": { - "source": "iana", - "compressible": true - }, - "application/vcard+xml": { - "source": "iana", - "compressible": true - }, - "application/vemmi": { - "source": "iana" - }, - "application/vividence.scriptfile": { - "source": "apache" - }, - "application/vnd.1000minds.decision-model+xml": { - "source": "iana", - "compressible": true, - "extensions": ["1km"] - }, - "application/vnd.1ob": { - "source": "iana" - }, - "application/vnd.3gpp-prose+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp-prose-pc3a+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp-prose-pc3ach+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp-prose-pc3ch+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp-prose-pc8+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp-v2x-local-service-information": { - "source": "iana" - }, - "application/vnd.3gpp.5gnas": { - "source": "iana" - }, - "application/vnd.3gpp.5gsa2x": { - "source": "iana" - }, - "application/vnd.3gpp.5gsa2x-local-service-information": { - "source": "iana" - }, - "application/vnd.3gpp.5gsv2x": { - "source": "iana" - }, - "application/vnd.3gpp.5gsv2x-local-service-information": { - "source": "iana" - }, - "application/vnd.3gpp.access-transfer-events+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.bsf+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.crs+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.current-location-discovery+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.gmop+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.gtpc": { - "source": "iana" - }, - "application/vnd.3gpp.interworking-data": { - "source": "iana" - }, - "application/vnd.3gpp.lpp": { - "source": "iana" - }, - "application/vnd.3gpp.mc-signalling-ear": { - "source": "iana" - }, - "application/vnd.3gpp.mcdata-affiliation-command+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcdata-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcdata-msgstore-ctrl-request+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcdata-payload": { - "source": "iana" - }, - "application/vnd.3gpp.mcdata-regroup+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcdata-service-config+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcdata-signalling": { - "source": "iana" - }, - "application/vnd.3gpp.mcdata-ue-config+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcdata-user-profile+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcptt-affiliation-command+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcptt-floor-request+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcptt-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcptt-location-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcptt-mbms-usage-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcptt-regroup+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcptt-service-config+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcptt-signed+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcptt-ue-config+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcptt-ue-init-config+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcptt-user-profile+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcvideo-affiliation-command+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcvideo-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcvideo-location-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcvideo-mbms-usage-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcvideo-regroup+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcvideo-service-config+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcvideo-transmission-request+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcvideo-ue-config+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mcvideo-user-profile+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.mid-call+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.ngap": { - "source": "iana" - }, - "application/vnd.3gpp.pfcp": { - "source": "iana" - }, - "application/vnd.3gpp.pic-bw-large": { - "source": "iana", - "extensions": ["plb"] - }, - "application/vnd.3gpp.pic-bw-small": { - "source": "iana", - "extensions": ["psb"] - }, - "application/vnd.3gpp.pic-bw-var": { - "source": "iana", - "extensions": ["pvb"] - }, - "application/vnd.3gpp.pinapp-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.s1ap": { - "source": "iana" - }, - "application/vnd.3gpp.seal-group-doc+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.seal-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.seal-location-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.seal-mbms-usage-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.seal-network-qos-management-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.seal-ue-config-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.seal-unicast-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.seal-user-profile-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.sms": { - "source": "iana" - }, - "application/vnd.3gpp.sms+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.srvcc-ext+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.srvcc-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.state-and-event-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.ussd+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp.v2x": { - "source": "iana" - }, - "application/vnd.3gpp.vae-info+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp2.bcmcsinfo+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.3gpp2.sms": { - "source": "iana" - }, - "application/vnd.3gpp2.tcap": { - "source": "iana", - "extensions": ["tcap"] - }, - "application/vnd.3lightssoftware.imagescal": { - "source": "iana" - }, - "application/vnd.3m.post-it-notes": { - "source": "iana", - "extensions": ["pwn"] - }, - "application/vnd.accpac.simply.aso": { - "source": "iana", - "extensions": ["aso"] - }, - "application/vnd.accpac.simply.imp": { - "source": "iana", - "extensions": ["imp"] - }, - "application/vnd.acm.addressxfer+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.acm.chatbot+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.acucobol": { - "source": "iana", - "extensions": ["acu"] - }, - "application/vnd.acucorp": { - "source": "iana", - "extensions": ["atc","acutc"] - }, - "application/vnd.adobe.air-application-installer-package+zip": { - "source": "apache", - "compressible": false, - "extensions": ["air"] - }, - "application/vnd.adobe.flash.movie": { - "source": "iana" - }, - "application/vnd.adobe.formscentral.fcdt": { - "source": "iana", - "extensions": ["fcdt"] - }, - "application/vnd.adobe.fxp": { - "source": "iana", - "extensions": ["fxp","fxpl"] - }, - "application/vnd.adobe.partial-upload": { - "source": "iana" - }, - "application/vnd.adobe.xdp+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xdp"] - }, - "application/vnd.adobe.xfdf": { - "source": "apache", - "extensions": ["xfdf"] - }, - "application/vnd.aether.imp": { - "source": "iana" - }, - "application/vnd.afpc.afplinedata": { - "source": "iana" - }, - "application/vnd.afpc.afplinedata-pagedef": { - "source": "iana" - }, - "application/vnd.afpc.cmoca-cmresource": { - "source": "iana" - }, - "application/vnd.afpc.foca-charset": { - "source": "iana" - }, - "application/vnd.afpc.foca-codedfont": { - "source": "iana" - }, - "application/vnd.afpc.foca-codepage": { - "source": "iana" - }, - "application/vnd.afpc.modca": { - "source": "iana" - }, - "application/vnd.afpc.modca-cmtable": { - "source": "iana" - }, - "application/vnd.afpc.modca-formdef": { - "source": "iana" - }, - "application/vnd.afpc.modca-mediummap": { - "source": "iana" - }, - "application/vnd.afpc.modca-objectcontainer": { - "source": "iana" - }, - "application/vnd.afpc.modca-overlay": { - "source": "iana" - }, - "application/vnd.afpc.modca-pagesegment": { - "source": "iana" - }, - "application/vnd.age": { - "source": "iana", - "extensions": ["age"] - }, - "application/vnd.ah-barcode": { - "source": "apache" - }, - "application/vnd.ahead.space": { - "source": "iana", - "extensions": ["ahead"] - }, - "application/vnd.airzip.filesecure.azf": { - "source": "iana", - "extensions": ["azf"] - }, - "application/vnd.airzip.filesecure.azs": { - "source": "iana", - "extensions": ["azs"] - }, - "application/vnd.amadeus+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.amazon.ebook": { - "source": "apache", - "extensions": ["azw"] - }, - "application/vnd.amazon.mobi8-ebook": { - "source": "iana" - }, - "application/vnd.americandynamics.acc": { - "source": "iana", - "extensions": ["acc"] - }, - "application/vnd.amiga.ami": { - "source": "iana", - "extensions": ["ami"] - }, - "application/vnd.amundsen.maze+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.android.ota": { - "source": "iana" - }, - "application/vnd.android.package-archive": { - "source": "apache", - "compressible": false, - "extensions": ["apk"] - }, - "application/vnd.anki": { - "source": "iana" - }, - "application/vnd.anser-web-certificate-issue-initiation": { - "source": "iana", - "extensions": ["cii"] - }, - "application/vnd.anser-web-funds-transfer-initiation": { - "source": "apache", - "extensions": ["fti"] - }, - "application/vnd.antix.game-component": { - "source": "iana", - "extensions": ["atx"] - }, - "application/vnd.apache.arrow.file": { - "source": "iana" - }, - "application/vnd.apache.arrow.stream": { - "source": "iana" - }, - "application/vnd.apache.parquet": { - "source": "iana" - }, - "application/vnd.apache.thrift.binary": { - "source": "iana" - }, - "application/vnd.apache.thrift.compact": { - "source": "iana" - }, - "application/vnd.apache.thrift.json": { - "source": "iana" - }, - "application/vnd.apexlang": { - "source": "iana" - }, - "application/vnd.api+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.aplextor.warrp+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.apothekende.reservation+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.apple.installer+xml": { - "source": "iana", - "compressible": true, - "extensions": ["mpkg"] - }, - "application/vnd.apple.keynote": { - "source": "iana", - "extensions": ["key"] - }, - "application/vnd.apple.mpegurl": { - "source": "iana", - "extensions": ["m3u8"] - }, - "application/vnd.apple.numbers": { - "source": "iana", - "extensions": ["numbers"] - }, - "application/vnd.apple.pages": { - "source": "iana", - "extensions": ["pages"] - }, - "application/vnd.apple.pkpass": { - "compressible": false, - "extensions": ["pkpass"] - }, - "application/vnd.arastra.swi": { - "source": "apache" - }, - "application/vnd.aristanetworks.swi": { - "source": "iana", - "extensions": ["swi"] - }, - "application/vnd.artisan+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.artsquare": { - "source": "iana" - }, - "application/vnd.astraea-software.iota": { - "source": "iana", - "extensions": ["iota"] - }, - "application/vnd.audiograph": { - "source": "iana", - "extensions": ["aep"] - }, - "application/vnd.autodesk.fbx": { - "extensions": ["fbx"] - }, - "application/vnd.autopackage": { - "source": "iana" - }, - "application/vnd.avalon+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.avistar+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.balsamiq.bmml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["bmml"] - }, - "application/vnd.balsamiq.bmpr": { - "source": "iana" - }, - "application/vnd.banana-accounting": { - "source": "iana" - }, - "application/vnd.bbf.usp.error": { - "source": "iana" - }, - "application/vnd.bbf.usp.msg": { - "source": "iana" - }, - "application/vnd.bbf.usp.msg+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.bekitzur-stech+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.belightsoft.lhzd+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.belightsoft.lhzl+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.bint.med-content": { - "source": "iana" - }, - "application/vnd.biopax.rdf+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.blink-idb-value-wrapper": { - "source": "iana" - }, - "application/vnd.blueice.multipass": { - "source": "iana", - "extensions": ["mpm"] - }, - "application/vnd.bluetooth.ep.oob": { - "source": "iana" - }, - "application/vnd.bluetooth.le.oob": { - "source": "iana" - }, - "application/vnd.bmi": { - "source": "iana", - "extensions": ["bmi"] - }, - "application/vnd.bpf": { - "source": "iana" - }, - "application/vnd.bpf3": { - "source": "iana" - }, - "application/vnd.businessobjects": { - "source": "iana", - "extensions": ["rep"] - }, - "application/vnd.byu.uapi+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.bzip3": { - "source": "iana" - }, - "application/vnd.c3voc.schedule+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.cab-jscript": { - "source": "iana" - }, - "application/vnd.canon-cpdl": { - "source": "iana" - }, - "application/vnd.canon-lips": { - "source": "iana" - }, - "application/vnd.capasystems-pg+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.cendio.thinlinc.clientconf": { - "source": "iana" - }, - "application/vnd.century-systems.tcp_stream": { - "source": "iana" - }, - "application/vnd.chemdraw+xml": { - "source": "iana", - "compressible": true, - "extensions": ["cdxml"] - }, - "application/vnd.chess-pgn": { - "source": "iana" - }, - "application/vnd.chipnuts.karaoke-mmd": { - "source": "iana", - "extensions": ["mmd"] - }, - "application/vnd.ciedi": { - "source": "iana" - }, - "application/vnd.cinderella": { - "source": "iana", - "extensions": ["cdy"] - }, - "application/vnd.cirpack.isdn-ext": { - "source": "iana" - }, - "application/vnd.citationstyles.style+xml": { - "source": "iana", - "compressible": true, - "extensions": ["csl"] - }, - "application/vnd.claymore": { - "source": "iana", - "extensions": ["cla"] - }, - "application/vnd.cloanto.rp9": { - "source": "iana", - "extensions": ["rp9"] - }, - "application/vnd.clonk.c4group": { - "source": "iana", - "extensions": ["c4g","c4d","c4f","c4p","c4u"] - }, - "application/vnd.cluetrust.cartomobile-config": { - "source": "iana", - "extensions": ["c11amc"] - }, - "application/vnd.cluetrust.cartomobile-config-pkg": { - "source": "iana", - "extensions": ["c11amz"] - }, - "application/vnd.cncf.helm.chart.content.v1.tar+gzip": { - "source": "iana" - }, - "application/vnd.cncf.helm.chart.provenance.v1.prov": { - "source": "iana" - }, - "application/vnd.cncf.helm.config.v1+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.coffeescript": { - "source": "iana" - }, - "application/vnd.collabio.xodocuments.document": { - "source": "iana" - }, - "application/vnd.collabio.xodocuments.document-template": { - "source": "iana" - }, - "application/vnd.collabio.xodocuments.presentation": { - "source": "iana" - }, - "application/vnd.collabio.xodocuments.presentation-template": { - "source": "iana" - }, - "application/vnd.collabio.xodocuments.spreadsheet": { - "source": "iana" - }, - "application/vnd.collabio.xodocuments.spreadsheet-template": { - "source": "iana" - }, - "application/vnd.collection+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.collection.doc+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.collection.next+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.comicbook+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.comicbook-rar": { - "source": "iana" - }, - "application/vnd.commerce-battelle": { - "source": "iana" - }, - "application/vnd.commonspace": { - "source": "iana", - "extensions": ["csp"] - }, - "application/vnd.contact.cmsg": { - "source": "iana", - "extensions": ["cdbcmsg"] - }, - "application/vnd.coreos.ignition+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.cosmocaller": { - "source": "iana", - "extensions": ["cmc"] - }, - "application/vnd.crick.clicker": { - "source": "iana", - "extensions": ["clkx"] - }, - "application/vnd.crick.clicker.keyboard": { - "source": "iana", - "extensions": ["clkk"] - }, - "application/vnd.crick.clicker.palette": { - "source": "iana", - "extensions": ["clkp"] - }, - "application/vnd.crick.clicker.template": { - "source": "iana", - "extensions": ["clkt"] - }, - "application/vnd.crick.clicker.wordbank": { - "source": "iana", - "extensions": ["clkw"] - }, - "application/vnd.criticaltools.wbs+xml": { - "source": "iana", - "compressible": true, - "extensions": ["wbs"] - }, - "application/vnd.cryptii.pipe+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.crypto-shade-file": { - "source": "iana" - }, - "application/vnd.cryptomator.encrypted": { - "source": "iana" - }, - "application/vnd.cryptomator.vault": { - "source": "iana" - }, - "application/vnd.ctc-posml": { - "source": "iana", - "extensions": ["pml"] - }, - "application/vnd.ctct.ws+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.cups-pdf": { - "source": "iana" - }, - "application/vnd.cups-postscript": { - "source": "iana" - }, - "application/vnd.cups-ppd": { - "source": "iana", - "extensions": ["ppd"] - }, - "application/vnd.cups-raster": { - "source": "iana" - }, - "application/vnd.cups-raw": { - "source": "iana" - }, - "application/vnd.curl": { - "source": "iana" - }, - "application/vnd.curl.car": { - "source": "apache", - "extensions": ["car"] - }, - "application/vnd.curl.pcurl": { - "source": "apache", - "extensions": ["pcurl"] - }, - "application/vnd.cyan.dean.root+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.cybank": { - "source": "iana" - }, - "application/vnd.cyclonedx+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.cyclonedx+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.d2l.coursepackage1p0+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.d3m-dataset": { - "source": "iana" - }, - "application/vnd.d3m-problem": { - "source": "iana" - }, - "application/vnd.dart": { - "source": "iana", - "compressible": true, - "extensions": ["dart"] - }, - "application/vnd.data-vision.rdz": { - "source": "iana", - "extensions": ["rdz"] - }, - "application/vnd.datalog": { - "source": "iana" - }, - "application/vnd.datapackage+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.dataresource+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.dbf": { - "source": "iana", - "extensions": ["dbf"] - }, - "application/vnd.dcmp+xml": { - "source": "iana", - "compressible": true, - "extensions": ["dcmp"] - }, - "application/vnd.debian.binary-package": { - "source": "iana" - }, - "application/vnd.dece.data": { - "source": "iana", - "extensions": ["uvf","uvvf","uvd","uvvd"] - }, - "application/vnd.dece.ttml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["uvt","uvvt"] - }, - "application/vnd.dece.unspecified": { - "source": "iana", - "extensions": ["uvx","uvvx"] - }, - "application/vnd.dece.zip": { - "source": "iana", - "extensions": ["uvz","uvvz"] - }, - "application/vnd.denovo.fcselayout-link": { - "source": "iana", - "extensions": ["fe_launch"] - }, - "application/vnd.desmume.movie": { - "source": "iana" - }, - "application/vnd.dir-bi.plate-dl-nosuffix": { - "source": "iana" - }, - "application/vnd.dm.delegation+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.dna": { - "source": "iana", - "extensions": ["dna"] - }, - "application/vnd.document+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.dolby.mlp": { - "source": "apache", - "extensions": ["mlp"] - }, - "application/vnd.dolby.mobile.1": { - "source": "iana" - }, - "application/vnd.dolby.mobile.2": { - "source": "iana" - }, - "application/vnd.doremir.scorecloud-binary-document": { - "source": "iana" - }, - "application/vnd.dpgraph": { - "source": "iana", - "extensions": ["dpg"] - }, - "application/vnd.dreamfactory": { - "source": "iana", - "extensions": ["dfac"] - }, - "application/vnd.drive+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.ds-keypoint": { - "source": "apache", - "extensions": ["kpxx"] - }, - "application/vnd.dtg.local": { - "source": "iana" - }, - "application/vnd.dtg.local.flash": { - "source": "iana" - }, - "application/vnd.dtg.local.html": { - "source": "iana" - }, - "application/vnd.dvb.ait": { - "source": "iana", - "extensions": ["ait"] - }, - "application/vnd.dvb.dvbisl+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.dvb.dvbj": { - "source": "iana" - }, - "application/vnd.dvb.esgcontainer": { - "source": "iana" - }, - "application/vnd.dvb.ipdcdftnotifaccess": { - "source": "iana" - }, - "application/vnd.dvb.ipdcesgaccess": { - "source": "iana" - }, - "application/vnd.dvb.ipdcesgaccess2": { - "source": "iana" - }, - "application/vnd.dvb.ipdcesgpdd": { - "source": "iana" - }, - "application/vnd.dvb.ipdcroaming": { - "source": "iana" - }, - "application/vnd.dvb.iptv.alfec-base": { - "source": "iana" - }, - "application/vnd.dvb.iptv.alfec-enhancement": { - "source": "iana" - }, - "application/vnd.dvb.notif-aggregate-root+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.dvb.notif-container+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.dvb.notif-generic+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.dvb.notif-ia-msglist+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.dvb.notif-ia-registration-request+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.dvb.notif-ia-registration-response+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.dvb.notif-init+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.dvb.pfr": { - "source": "iana" - }, - "application/vnd.dvb.service": { - "source": "iana", - "extensions": ["svc"] - }, - "application/vnd.dxr": { - "source": "iana" - }, - "application/vnd.dynageo": { - "source": "iana", - "extensions": ["geo"] - }, - "application/vnd.dzr": { - "source": "iana" - }, - "application/vnd.easykaraoke.cdgdownload": { - "source": "iana" - }, - "application/vnd.ecdis-update": { - "source": "iana" - }, - "application/vnd.ecip.rlp": { - "source": "iana" - }, - "application/vnd.eclipse.ditto+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.ecowin.chart": { - "source": "iana", - "extensions": ["mag"] - }, - "application/vnd.ecowin.filerequest": { - "source": "iana" - }, - "application/vnd.ecowin.fileupdate": { - "source": "iana" - }, - "application/vnd.ecowin.series": { - "source": "iana" - }, - "application/vnd.ecowin.seriesrequest": { - "source": "iana" - }, - "application/vnd.ecowin.seriesupdate": { - "source": "iana" - }, - "application/vnd.efi.img": { - "source": "iana" - }, - "application/vnd.efi.iso": { - "source": "iana" - }, - "application/vnd.eln+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.emclient.accessrequest+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.enliven": { - "source": "iana", - "extensions": ["nml"] - }, - "application/vnd.enphase.envoy": { - "source": "iana" - }, - "application/vnd.eprints.data+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.epson.esf": { - "source": "iana", - "extensions": ["esf"] - }, - "application/vnd.epson.msf": { - "source": "iana", - "extensions": ["msf"] - }, - "application/vnd.epson.quickanime": { - "source": "iana", - "extensions": ["qam"] - }, - "application/vnd.epson.salt": { - "source": "iana", - "extensions": ["slt"] - }, - "application/vnd.epson.ssf": { - "source": "iana", - "extensions": ["ssf"] - }, - "application/vnd.ericsson.quickcall": { - "source": "iana" - }, - "application/vnd.erofs": { - "source": "iana" - }, - "application/vnd.espass-espass+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.eszigno3+xml": { - "source": "iana", - "compressible": true, - "extensions": ["es3","et3"] - }, - "application/vnd.etsi.aoc+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.asic-e+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.etsi.asic-s+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.etsi.cug+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.iptvcommand+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.iptvdiscovery+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.iptvprofile+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.iptvsad-bc+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.iptvsad-cod+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.iptvsad-npvr+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.iptvservice+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.iptvsync+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.iptvueprofile+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.mcid+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.mheg5": { - "source": "iana" - }, - "application/vnd.etsi.overload-control-policy-dataset+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.pstn+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.sci+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.simservs+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.timestamp-token": { - "source": "iana" - }, - "application/vnd.etsi.tsl+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.etsi.tsl.der": { - "source": "iana" - }, - "application/vnd.eu.kasparian.car+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.eudora.data": { - "source": "iana" - }, - "application/vnd.evolv.ecig.profile": { - "source": "iana" - }, - "application/vnd.evolv.ecig.settings": { - "source": "iana" - }, - "application/vnd.evolv.ecig.theme": { - "source": "iana" - }, - "application/vnd.exstream-empower+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.exstream-package": { - "source": "iana" - }, - "application/vnd.ezpix-album": { - "source": "iana", - "extensions": ["ez2"] - }, - "application/vnd.ezpix-package": { - "source": "iana", - "extensions": ["ez3"] - }, - "application/vnd.f-secure.mobile": { - "source": "iana" - }, - "application/vnd.familysearch.gedcom+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.fastcopy-disk-image": { - "source": "iana" - }, - "application/vnd.fdf": { - "source": "apache", - "extensions": ["fdf"] - }, - "application/vnd.fdsn.mseed": { - "source": "iana", - "extensions": ["mseed"] - }, - "application/vnd.fdsn.seed": { - "source": "iana", - "extensions": ["seed","dataless"] - }, - "application/vnd.fdsn.stationxml+xml": { - "source": "iana", - "charset": "XML-BASED", - "compressible": true - }, - "application/vnd.ffsns": { - "source": "iana" - }, - "application/vnd.ficlab.flb+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.filmit.zfc": { - "source": "iana" - }, - "application/vnd.fints": { - "source": "iana" - }, - "application/vnd.firemonkeys.cloudcell": { - "source": "iana" - }, - "application/vnd.flographit": { - "source": "iana", - "extensions": ["gph"] - }, - "application/vnd.fluxtime.clip": { - "source": "iana", - "extensions": ["ftc"] - }, - "application/vnd.font-fontforge-sfd": { - "source": "iana" - }, - "application/vnd.framemaker": { - "source": "iana", - "extensions": ["fm","frame","maker","book"] - }, - "application/vnd.freelog.comic": { - "source": "iana" - }, - "application/vnd.frogans.fnc": { - "source": "apache", - "extensions": ["fnc"] - }, - "application/vnd.frogans.ltf": { - "source": "apache", - "extensions": ["ltf"] - }, - "application/vnd.fsc.weblaunch": { - "source": "iana", - "extensions": ["fsc"] - }, - "application/vnd.fujifilm.fb.docuworks": { - "source": "iana" - }, - "application/vnd.fujifilm.fb.docuworks.binder": { - "source": "iana" - }, - "application/vnd.fujifilm.fb.docuworks.container": { - "source": "iana" - }, - "application/vnd.fujifilm.fb.jfi+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.fujitsu.oasys": { - "source": "iana", - "extensions": ["oas"] - }, - "application/vnd.fujitsu.oasys2": { - "source": "iana", - "extensions": ["oa2"] - }, - "application/vnd.fujitsu.oasys3": { - "source": "iana", - "extensions": ["oa3"] - }, - "application/vnd.fujitsu.oasysgp": { - "source": "iana", - "extensions": ["fg5"] - }, - "application/vnd.fujitsu.oasysprs": { - "source": "iana", - "extensions": ["bh2"] - }, - "application/vnd.fujixerox.art-ex": { - "source": "iana" - }, - "application/vnd.fujixerox.art4": { - "source": "iana" - }, - "application/vnd.fujixerox.ddd": { - "source": "iana", - "extensions": ["ddd"] - }, - "application/vnd.fujixerox.docuworks": { - "source": "iana", - "extensions": ["xdw"] - }, - "application/vnd.fujixerox.docuworks.binder": { - "source": "iana", - "extensions": ["xbd"] - }, - "application/vnd.fujixerox.docuworks.container": { - "source": "iana" - }, - "application/vnd.fujixerox.hbpl": { - "source": "iana" - }, - "application/vnd.fut-misnet": { - "source": "iana" - }, - "application/vnd.futoin+cbor": { - "source": "iana" - }, - "application/vnd.futoin+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.fuzzysheet": { - "source": "iana", - "extensions": ["fzs"] - }, - "application/vnd.ga4gh.passport+jwt": { - "source": "iana" - }, - "application/vnd.genomatix.tuxedo": { - "source": "iana", - "extensions": ["txd"] - }, - "application/vnd.genozip": { - "source": "iana" - }, - "application/vnd.gentics.grd+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.gentoo.catmetadata+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.gentoo.ebuild": { - "source": "iana" - }, - "application/vnd.gentoo.eclass": { - "source": "iana" - }, - "application/vnd.gentoo.gpkg": { - "source": "iana" - }, - "application/vnd.gentoo.manifest": { - "source": "iana" - }, - "application/vnd.gentoo.pkgmetadata+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.gentoo.xpak": { - "source": "iana" - }, - "application/vnd.geo+json": { - "source": "apache", - "compressible": true - }, - "application/vnd.geocube+xml": { - "source": "apache", - "compressible": true - }, - "application/vnd.geogebra.file": { - "source": "iana", - "extensions": ["ggb"] - }, - "application/vnd.geogebra.pinboard": { - "source": "iana" - }, - "application/vnd.geogebra.slides": { - "source": "iana", - "extensions": ["ggs"] - }, - "application/vnd.geogebra.tool": { - "source": "iana", - "extensions": ["ggt"] - }, - "application/vnd.geometry-explorer": { - "source": "iana", - "extensions": ["gex","gre"] - }, - "application/vnd.geonext": { - "source": "iana", - "extensions": ["gxt"] - }, - "application/vnd.geoplan": { - "source": "iana", - "extensions": ["g2w"] - }, - "application/vnd.geospace": { - "source": "iana", - "extensions": ["g3w"] - }, - "application/vnd.gerber": { - "source": "iana" - }, - "application/vnd.globalplatform.card-content-mgt": { - "source": "iana" - }, - "application/vnd.globalplatform.card-content-mgt-response": { - "source": "iana" - }, - "application/vnd.gmx": { - "source": "iana", - "extensions": ["gmx"] - }, - "application/vnd.gnu.taler.exchange+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.gnu.taler.merchant+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.google-apps.audio": {}, - "application/vnd.google-apps.document": { - "compressible": false, - "extensions": ["gdoc"] - }, - "application/vnd.google-apps.drawing": { - "compressible": false, - "extensions": ["gdraw"] - }, - "application/vnd.google-apps.drive-sdk": { - "compressible": false - }, - "application/vnd.google-apps.file": {}, - "application/vnd.google-apps.folder": { - "compressible": false - }, - "application/vnd.google-apps.form": { - "compressible": false, - "extensions": ["gform"] - }, - "application/vnd.google-apps.fusiontable": {}, - "application/vnd.google-apps.jam": { - "compressible": false, - "extensions": ["gjam"] - }, - "application/vnd.google-apps.mail-layout": {}, - "application/vnd.google-apps.map": { - "compressible": false, - "extensions": ["gmap"] - }, - "application/vnd.google-apps.photo": {}, - "application/vnd.google-apps.presentation": { - "compressible": false, - "extensions": ["gslides"] - }, - "application/vnd.google-apps.script": { - "compressible": false, - "extensions": ["gscript"] - }, - "application/vnd.google-apps.shortcut": {}, - "application/vnd.google-apps.site": { - "compressible": false, - "extensions": ["gsite"] - }, - "application/vnd.google-apps.spreadsheet": { - "compressible": false, - "extensions": ["gsheet"] - }, - "application/vnd.google-apps.unknown": {}, - "application/vnd.google-apps.video": {}, - "application/vnd.google-earth.kml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["kml"] - }, - "application/vnd.google-earth.kmz": { - "source": "iana", - "compressible": false, - "extensions": ["kmz"] - }, - "application/vnd.gov.sk.e-form+xml": { - "source": "apache", - "compressible": true - }, - "application/vnd.gov.sk.e-form+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.gov.sk.xmldatacontainer+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xdcf"] - }, - "application/vnd.gpxsee.map+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.grafeq": { - "source": "iana", - "extensions": ["gqf","gqs"] - }, - "application/vnd.gridmp": { - "source": "iana" - }, - "application/vnd.groove-account": { - "source": "iana", - "extensions": ["gac"] - }, - "application/vnd.groove-help": { - "source": "iana", - "extensions": ["ghf"] - }, - "application/vnd.groove-identity-message": { - "source": "iana", - "extensions": ["gim"] - }, - "application/vnd.groove-injector": { - "source": "iana", - "extensions": ["grv"] - }, - "application/vnd.groove-tool-message": { - "source": "iana", - "extensions": ["gtm"] - }, - "application/vnd.groove-tool-template": { - "source": "iana", - "extensions": ["tpl"] - }, - "application/vnd.groove-vcard": { - "source": "iana", - "extensions": ["vcg"] - }, - "application/vnd.hal+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.hal+xml": { - "source": "iana", - "compressible": true, - "extensions": ["hal"] - }, - "application/vnd.handheld-entertainment+xml": { - "source": "iana", - "compressible": true, - "extensions": ["zmm"] - }, - "application/vnd.hbci": { - "source": "iana", - "extensions": ["hbci"] - }, - "application/vnd.hc+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.hcl-bireports": { - "source": "iana" - }, - "application/vnd.hdt": { - "source": "iana" - }, - "application/vnd.heroku+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.hhe.lesson-player": { - "source": "iana", - "extensions": ["les"] - }, - "application/vnd.hp-hpgl": { - "source": "iana", - "extensions": ["hpgl"] - }, - "application/vnd.hp-hpid": { - "source": "iana", - "extensions": ["hpid"] - }, - "application/vnd.hp-hps": { - "source": "iana", - "extensions": ["hps"] - }, - "application/vnd.hp-jlyt": { - "source": "iana", - "extensions": ["jlt"] - }, - "application/vnd.hp-pcl": { - "source": "iana", - "extensions": ["pcl"] - }, - "application/vnd.hp-pclxl": { - "source": "iana", - "extensions": ["pclxl"] - }, - "application/vnd.hsl": { - "source": "iana" - }, - "application/vnd.httphone": { - "source": "iana" - }, - "application/vnd.hydrostatix.sof-data": { - "source": "iana", - "extensions": ["sfd-hdstx"] - }, - "application/vnd.hyper+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.hyper-item+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.hyperdrive+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.hzn-3d-crossword": { - "source": "iana" - }, - "application/vnd.ibm.afplinedata": { - "source": "apache" - }, - "application/vnd.ibm.electronic-media": { - "source": "iana" - }, - "application/vnd.ibm.minipay": { - "source": "iana", - "extensions": ["mpy"] - }, - "application/vnd.ibm.modcap": { - "source": "apache", - "extensions": ["afp","listafp","list3820"] - }, - "application/vnd.ibm.rights-management": { - "source": "iana", - "extensions": ["irm"] - }, - "application/vnd.ibm.secure-container": { - "source": "iana", - "extensions": ["sc"] - }, - "application/vnd.iccprofile": { - "source": "iana", - "extensions": ["icc","icm"] - }, - "application/vnd.ieee.1905": { - "source": "iana" - }, - "application/vnd.igloader": { - "source": "iana", - "extensions": ["igl"] - }, - "application/vnd.imagemeter.folder+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.imagemeter.image+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.immervision-ivp": { - "source": "iana", - "extensions": ["ivp"] - }, - "application/vnd.immervision-ivu": { - "source": "iana", - "extensions": ["ivu"] - }, - "application/vnd.ims.imsccv1p1": { - "source": "iana" - }, - "application/vnd.ims.imsccv1p2": { - "source": "iana" - }, - "application/vnd.ims.imsccv1p3": { - "source": "iana" - }, - "application/vnd.ims.lis.v2.result+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.ims.lti.v2.toolconsumerprofile+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.ims.lti.v2.toolproxy+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.ims.lti.v2.toolproxy.id+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.ims.lti.v2.toolsettings+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.ims.lti.v2.toolsettings.simple+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.informedcontrol.rms+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.informix-visionary": { - "source": "apache" - }, - "application/vnd.infotech.project": { - "source": "iana" - }, - "application/vnd.infotech.project+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.innopath.wamp.notification": { - "source": "iana" - }, - "application/vnd.insors.igm": { - "source": "iana", - "extensions": ["igm"] - }, - "application/vnd.intercon.formnet": { - "source": "iana", - "extensions": ["xpw","xpx"] - }, - "application/vnd.intergeo": { - "source": "iana", - "extensions": ["i2g"] - }, - "application/vnd.intertrust.digibox": { - "source": "iana" - }, - "application/vnd.intertrust.nncp": { - "source": "iana" - }, - "application/vnd.intu.qbo": { - "source": "iana", - "extensions": ["qbo"] - }, - "application/vnd.intu.qfx": { - "source": "iana", - "extensions": ["qfx"] - }, - "application/vnd.ipfs.ipns-record": { - "source": "iana" - }, - "application/vnd.ipld.car": { - "source": "iana" - }, - "application/vnd.ipld.dag-cbor": { - "source": "iana" - }, - "application/vnd.ipld.dag-json": { - "source": "iana" - }, - "application/vnd.ipld.raw": { - "source": "iana" - }, - "application/vnd.iptc.g2.catalogitem+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.iptc.g2.conceptitem+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.iptc.g2.knowledgeitem+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.iptc.g2.newsitem+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.iptc.g2.newsmessage+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.iptc.g2.packageitem+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.iptc.g2.planningitem+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.ipunplugged.rcprofile": { - "source": "iana", - "extensions": ["rcprofile"] - }, - "application/vnd.irepository.package+xml": { - "source": "iana", - "compressible": true, - "extensions": ["irp"] - }, - "application/vnd.is-xpr": { - "source": "iana", - "extensions": ["xpr"] - }, - "application/vnd.isac.fcs": { - "source": "iana", - "extensions": ["fcs"] - }, - "application/vnd.iso11783-10+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.jam": { - "source": "iana", - "extensions": ["jam"] - }, - "application/vnd.japannet-directory-service": { - "source": "iana" - }, - "application/vnd.japannet-jpnstore-wakeup": { - "source": "iana" - }, - "application/vnd.japannet-payment-wakeup": { - "source": "iana" - }, - "application/vnd.japannet-registration": { - "source": "iana" - }, - "application/vnd.japannet-registration-wakeup": { - "source": "iana" - }, - "application/vnd.japannet-setstore-wakeup": { - "source": "iana" - }, - "application/vnd.japannet-verification": { - "source": "iana" - }, - "application/vnd.japannet-verification-wakeup": { - "source": "iana" - }, - "application/vnd.jcp.javame.midlet-rms": { - "source": "iana", - "extensions": ["rms"] - }, - "application/vnd.jisp": { - "source": "iana", - "extensions": ["jisp"] - }, - "application/vnd.joost.joda-archive": { - "source": "iana", - "extensions": ["joda"] - }, - "application/vnd.jsk.isdn-ngn": { - "source": "iana" - }, - "application/vnd.kahootz": { - "source": "iana", - "extensions": ["ktz","ktr"] - }, - "application/vnd.kde.karbon": { - "source": "iana", - "extensions": ["karbon"] - }, - "application/vnd.kde.kchart": { - "source": "iana", - "extensions": ["chrt"] - }, - "application/vnd.kde.kformula": { - "source": "iana", - "extensions": ["kfo"] - }, - "application/vnd.kde.kivio": { - "source": "iana", - "extensions": ["flw"] - }, - "application/vnd.kde.kontour": { - "source": "iana", - "extensions": ["kon"] - }, - "application/vnd.kde.kpresenter": { - "source": "iana", - "extensions": ["kpr","kpt"] - }, - "application/vnd.kde.kspread": { - "source": "iana", - "extensions": ["ksp"] - }, - "application/vnd.kde.kword": { - "source": "iana", - "extensions": ["kwd","kwt"] - }, - "application/vnd.kdl": { - "source": "iana" - }, - "application/vnd.kenameaapp": { - "source": "iana", - "extensions": ["htke"] - }, - "application/vnd.keyman.kmp+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.keyman.kmx": { - "source": "iana" - }, - "application/vnd.kidspiration": { - "source": "iana", - "extensions": ["kia"] - }, - "application/vnd.kinar": { - "source": "iana", - "extensions": ["kne","knp"] - }, - "application/vnd.koan": { - "source": "iana", - "extensions": ["skp","skd","skt","skm"] - }, - "application/vnd.kodak-descriptor": { - "source": "iana", - "extensions": ["sse"] - }, - "application/vnd.las": { - "source": "iana" - }, - "application/vnd.las.las+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.las.las+xml": { - "source": "iana", - "compressible": true, - "extensions": ["lasxml"] - }, - "application/vnd.laszip": { - "source": "iana" - }, - "application/vnd.ldev.productlicensing": { - "source": "iana" - }, - "application/vnd.leap+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.liberty-request+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.llamagraphics.life-balance.desktop": { - "source": "iana", - "extensions": ["lbd"] - }, - "application/vnd.llamagraphics.life-balance.exchange+xml": { - "source": "iana", - "compressible": true, - "extensions": ["lbe"] - }, - "application/vnd.logipipe.circuit+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.loom": { - "source": "iana" - }, - "application/vnd.lotus-1-2-3": { - "source": "iana", - "extensions": ["123"] - }, - "application/vnd.lotus-approach": { - "source": "iana", - "extensions": ["apr"] - }, - "application/vnd.lotus-freelance": { - "source": "iana", - "extensions": ["pre"] - }, - "application/vnd.lotus-notes": { - "source": "iana", - "extensions": ["nsf"] - }, - "application/vnd.lotus-organizer": { - "source": "iana", - "extensions": ["org"] - }, - "application/vnd.lotus-screencam": { - "source": "iana", - "extensions": ["scm"] - }, - "application/vnd.lotus-wordpro": { - "source": "iana", - "extensions": ["lwp"] - }, - "application/vnd.macports.portpkg": { - "source": "iana", - "extensions": ["portpkg"] - }, - "application/vnd.mapbox-vector-tile": { - "source": "iana", - "extensions": ["mvt"] - }, - "application/vnd.marlin.drm.actiontoken+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.marlin.drm.conftoken+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.marlin.drm.license+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.marlin.drm.mdcf": { - "source": "iana" - }, - "application/vnd.mason+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.maxar.archive.3tz+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.maxmind.maxmind-db": { - "source": "iana" - }, - "application/vnd.mcd": { - "source": "iana", - "extensions": ["mcd"] - }, - "application/vnd.mdl": { - "source": "iana" - }, - "application/vnd.mdl-mbsdf": { - "source": "iana" - }, - "application/vnd.medcalcdata": { - "source": "iana", - "extensions": ["mc1"] - }, - "application/vnd.mediastation.cdkey": { - "source": "iana", - "extensions": ["cdkey"] - }, - "application/vnd.medicalholodeck.recordxr": { - "source": "iana" - }, - "application/vnd.meridian-slingshot": { - "source": "iana" - }, - "application/vnd.mermaid": { - "source": "iana" - }, - "application/vnd.mfer": { - "source": "iana", - "extensions": ["mwf"] - }, - "application/vnd.mfmp": { - "source": "iana", - "extensions": ["mfm"] - }, - "application/vnd.micro+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.micrografx.flo": { - "source": "iana", - "extensions": ["flo"] - }, - "application/vnd.micrografx.igx": { - "source": "iana", - "extensions": ["igx"] - }, - "application/vnd.microsoft.portable-executable": { - "source": "iana" - }, - "application/vnd.microsoft.windows.thumbnail-cache": { - "source": "iana" - }, - "application/vnd.miele+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.mif": { - "source": "iana", - "extensions": ["mif"] - }, - "application/vnd.minisoft-hp3000-save": { - "source": "iana" - }, - "application/vnd.mitsubishi.misty-guard.trustweb": { - "source": "iana" - }, - "application/vnd.mobius.daf": { - "source": "iana", - "extensions": ["daf"] - }, - "application/vnd.mobius.dis": { - "source": "iana", - "extensions": ["dis"] - }, - "application/vnd.mobius.mbk": { - "source": "iana", - "extensions": ["mbk"] - }, - "application/vnd.mobius.mqy": { - "source": "iana", - "extensions": ["mqy"] - }, - "application/vnd.mobius.msl": { - "source": "iana", - "extensions": ["msl"] - }, - "application/vnd.mobius.plc": { - "source": "iana", - "extensions": ["plc"] - }, - "application/vnd.mobius.txf": { - "source": "iana", - "extensions": ["txf"] - }, - "application/vnd.modl": { - "source": "iana" - }, - "application/vnd.mophun.application": { - "source": "iana", - "extensions": ["mpn"] - }, - "application/vnd.mophun.certificate": { - "source": "iana", - "extensions": ["mpc"] - }, - "application/vnd.motorola.flexsuite": { - "source": "iana" - }, - "application/vnd.motorola.flexsuite.adsi": { - "source": "iana" - }, - "application/vnd.motorola.flexsuite.fis": { - "source": "iana" - }, - "application/vnd.motorola.flexsuite.gotap": { - "source": "iana" - }, - "application/vnd.motorola.flexsuite.kmr": { - "source": "iana" - }, - "application/vnd.motorola.flexsuite.ttc": { - "source": "iana" - }, - "application/vnd.motorola.flexsuite.wem": { - "source": "iana" - }, - "application/vnd.motorola.iprm": { - "source": "iana" - }, - "application/vnd.mozilla.xul+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xul"] - }, - "application/vnd.ms-3mfdocument": { - "source": "iana" - }, - "application/vnd.ms-artgalry": { - "source": "iana", - "extensions": ["cil"] - }, - "application/vnd.ms-asf": { - "source": "iana" - }, - "application/vnd.ms-cab-compressed": { - "source": "iana", - "extensions": ["cab"] - }, - "application/vnd.ms-color.iccprofile": { - "source": "apache" - }, - "application/vnd.ms-excel": { - "source": "iana", - "compressible": false, - "extensions": ["xls","xlm","xla","xlc","xlt","xlw"] - }, - "application/vnd.ms-excel.addin.macroenabled.12": { - "source": "iana", - "extensions": ["xlam"] - }, - "application/vnd.ms-excel.sheet.binary.macroenabled.12": { - "source": "iana", - "extensions": ["xlsb"] - }, - "application/vnd.ms-excel.sheet.macroenabled.12": { - "source": "iana", - "extensions": ["xlsm"] - }, - "application/vnd.ms-excel.template.macroenabled.12": { - "source": "iana", - "extensions": ["xltm"] - }, - "application/vnd.ms-fontobject": { - "source": "iana", - "compressible": true, - "extensions": ["eot"] - }, - "application/vnd.ms-htmlhelp": { - "source": "iana", - "extensions": ["chm"] - }, - "application/vnd.ms-ims": { - "source": "iana", - "extensions": ["ims"] - }, - "application/vnd.ms-lrm": { - "source": "iana", - "extensions": ["lrm"] - }, - "application/vnd.ms-office.activex+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.ms-officetheme": { - "source": "iana", - "extensions": ["thmx"] - }, - "application/vnd.ms-opentype": { - "source": "apache", - "compressible": true - }, - "application/vnd.ms-outlook": { - "compressible": false, - "extensions": ["msg"] - }, - "application/vnd.ms-package.obfuscated-opentype": { - "source": "apache" - }, - "application/vnd.ms-pki.seccat": { - "source": "apache", - "extensions": ["cat"] - }, - "application/vnd.ms-pki.stl": { - "source": "apache", - "extensions": ["stl"] - }, - "application/vnd.ms-playready.initiator+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.ms-powerpoint": { - "source": "iana", - "compressible": false, - "extensions": ["ppt","pps","pot"] - }, - "application/vnd.ms-powerpoint.addin.macroenabled.12": { - "source": "iana", - "extensions": ["ppam"] - }, - "application/vnd.ms-powerpoint.presentation.macroenabled.12": { - "source": "iana", - "extensions": ["pptm"] - }, - "application/vnd.ms-powerpoint.slide.macroenabled.12": { - "source": "iana", - "extensions": ["sldm"] - }, - "application/vnd.ms-powerpoint.slideshow.macroenabled.12": { - "source": "iana", - "extensions": ["ppsm"] - }, - "application/vnd.ms-powerpoint.template.macroenabled.12": { - "source": "iana", - "extensions": ["potm"] - }, - "application/vnd.ms-printdevicecapabilities+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.ms-printing.printticket+xml": { - "source": "apache", - "compressible": true - }, - "application/vnd.ms-printschematicket+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.ms-project": { - "source": "iana", - "extensions": ["mpp","mpt"] - }, - "application/vnd.ms-tnef": { - "source": "iana" - }, - "application/vnd.ms-visio.viewer": { - "extensions": ["vdx"] - }, - "application/vnd.ms-windows.devicepairing": { - "source": "iana" - }, - "application/vnd.ms-windows.nwprinting.oob": { - "source": "iana" - }, - "application/vnd.ms-windows.printerpairing": { - "source": "iana" - }, - "application/vnd.ms-windows.wsd.oob": { - "source": "iana" - }, - "application/vnd.ms-wmdrm.lic-chlg-req": { - "source": "iana" - }, - "application/vnd.ms-wmdrm.lic-resp": { - "source": "iana" - }, - "application/vnd.ms-wmdrm.meter-chlg-req": { - "source": "iana" - }, - "application/vnd.ms-wmdrm.meter-resp": { - "source": "iana" - }, - "application/vnd.ms-word.document.macroenabled.12": { - "source": "iana", - "extensions": ["docm"] - }, - "application/vnd.ms-word.template.macroenabled.12": { - "source": "iana", - "extensions": ["dotm"] - }, - "application/vnd.ms-works": { - "source": "iana", - "extensions": ["wps","wks","wcm","wdb"] - }, - "application/vnd.ms-wpl": { - "source": "iana", - "extensions": ["wpl"] - }, - "application/vnd.ms-xpsdocument": { - "source": "iana", - "compressible": false, - "extensions": ["xps"] - }, - "application/vnd.msa-disk-image": { - "source": "iana" - }, - "application/vnd.mseq": { - "source": "iana", - "extensions": ["mseq"] - }, - "application/vnd.msgpack": { - "source": "iana" - }, - "application/vnd.msign": { - "source": "iana" - }, - "application/vnd.multiad.creator": { - "source": "iana" - }, - "application/vnd.multiad.creator.cif": { - "source": "iana" - }, - "application/vnd.music-niff": { - "source": "iana" - }, - "application/vnd.musician": { - "source": "iana", - "extensions": ["mus"] - }, - "application/vnd.muvee.style": { - "source": "iana", - "extensions": ["msty"] - }, - "application/vnd.mynfc": { - "source": "iana", - "extensions": ["taglet"] - }, - "application/vnd.nacamar.ybrid+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.nato.bindingdataobject+cbor": { - "source": "iana" - }, - "application/vnd.nato.bindingdataobject+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.nato.bindingdataobject+xml": { - "source": "iana", - "compressible": true, - "extensions": ["bdo"] - }, - "application/vnd.nato.openxmlformats-package.iepd+zip": { - "source": "iana", - "compressible": false - }, - "application/vnd.ncd.control": { - "source": "iana" - }, - "application/vnd.ncd.reference": { - "source": "iana" - }, - "application/vnd.nearst.inv+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.nebumind.line": { - "source": "iana" - }, - "application/vnd.nervana": { - "source": "iana" - }, - "application/vnd.netfpx": { - "source": "iana" - }, - "application/vnd.neurolanguage.nlu": { - "source": "iana", - "extensions": ["nlu"] - }, - "application/vnd.nimn": { - "source": "iana" - }, - "application/vnd.nintendo.nitro.rom": { - "source": "iana" - }, - "application/vnd.nintendo.snes.rom": { - "source": "iana" - }, - "application/vnd.nitf": { - "source": "iana", - "extensions": ["ntf","nitf"] - }, - "application/vnd.noblenet-directory": { - "source": "iana", - "extensions": ["nnd"] - }, - "application/vnd.noblenet-sealer": { - "source": "iana", - "extensions": ["nns"] - }, - "application/vnd.noblenet-web": { - "source": "iana", - "extensions": ["nnw"] - }, - "application/vnd.nokia.catalogs": { - "source": "iana" - }, - "application/vnd.nokia.conml+wbxml": { - "source": "iana" - }, - "application/vnd.nokia.conml+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.nokia.iptv.config+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.nokia.isds-radio-presets": { - "source": "iana" - }, - "application/vnd.nokia.landmark+wbxml": { - "source": "iana" - }, - "application/vnd.nokia.landmark+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.nokia.landmarkcollection+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.nokia.n-gage.ac+xml": { - "source": "iana", - "compressible": true, - "extensions": ["ac"] - }, - "application/vnd.nokia.n-gage.data": { - "source": "iana", - "extensions": ["ngdat"] - }, - "application/vnd.nokia.n-gage.symbian.install": { - "source": "apache", - "extensions": ["n-gage"] - }, - "application/vnd.nokia.ncd": { - "source": "iana" - }, - "application/vnd.nokia.pcd+wbxml": { - "source": "iana" - }, - "application/vnd.nokia.pcd+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.nokia.radio-preset": { - "source": "iana", - "extensions": ["rpst"] - }, - "application/vnd.nokia.radio-presets": { - "source": "iana", - "extensions": ["rpss"] - }, - "application/vnd.novadigm.edm": { - "source": "iana", - "extensions": ["edm"] - }, - "application/vnd.novadigm.edx": { - "source": "iana", - "extensions": ["edx"] - }, - "application/vnd.novadigm.ext": { - "source": "iana", - "extensions": ["ext"] - }, - "application/vnd.ntt-local.content-share": { - "source": "iana" - }, - "application/vnd.ntt-local.file-transfer": { - "source": "iana" - }, - "application/vnd.ntt-local.ogw_remote-access": { - "source": "iana" - }, - "application/vnd.ntt-local.sip-ta_remote": { - "source": "iana" - }, - "application/vnd.ntt-local.sip-ta_tcp_stream": { - "source": "iana" - }, - "application/vnd.oai.workflows": { - "source": "iana" - }, - "application/vnd.oai.workflows+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.oai.workflows+yaml": { - "source": "iana" - }, - "application/vnd.oasis.opendocument.base": { - "source": "iana" - }, - "application/vnd.oasis.opendocument.chart": { - "source": "iana", - "extensions": ["odc"] - }, - "application/vnd.oasis.opendocument.chart-template": { - "source": "iana", - "extensions": ["otc"] - }, - "application/vnd.oasis.opendocument.database": { - "source": "apache", - "extensions": ["odb"] - }, - "application/vnd.oasis.opendocument.formula": { - "source": "iana", - "extensions": ["odf"] - }, - "application/vnd.oasis.opendocument.formula-template": { - "source": "iana", - "extensions": ["odft"] - }, - "application/vnd.oasis.opendocument.graphics": { - "source": "iana", - "compressible": false, - "extensions": ["odg"] - }, - "application/vnd.oasis.opendocument.graphics-template": { - "source": "iana", - "extensions": ["otg"] - }, - "application/vnd.oasis.opendocument.image": { - "source": "iana", - "extensions": ["odi"] - }, - "application/vnd.oasis.opendocument.image-template": { - "source": "iana", - "extensions": ["oti"] - }, - "application/vnd.oasis.opendocument.presentation": { - "source": "iana", - "compressible": false, - "extensions": ["odp"] - }, - "application/vnd.oasis.opendocument.presentation-template": { - "source": "iana", - "extensions": ["otp"] - }, - "application/vnd.oasis.opendocument.spreadsheet": { - "source": "iana", - "compressible": false, - "extensions": ["ods"] - }, - "application/vnd.oasis.opendocument.spreadsheet-template": { - "source": "iana", - "extensions": ["ots"] - }, - "application/vnd.oasis.opendocument.text": { - "source": "iana", - "compressible": false, - "extensions": ["odt"] - }, - "application/vnd.oasis.opendocument.text-master": { - "source": "iana", - "extensions": ["odm"] - }, - "application/vnd.oasis.opendocument.text-master-template": { - "source": "iana" - }, - "application/vnd.oasis.opendocument.text-template": { - "source": "iana", - "extensions": ["ott"] - }, - "application/vnd.oasis.opendocument.text-web": { - "source": "iana", - "extensions": ["oth"] - }, - "application/vnd.obn": { - "source": "iana" - }, - "application/vnd.ocf+cbor": { - "source": "iana" - }, - "application/vnd.oci.image.manifest.v1+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.oftn.l10n+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.oipf.contentaccessdownload+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oipf.contentaccessstreaming+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oipf.cspg-hexbinary": { - "source": "iana" - }, - "application/vnd.oipf.dae.svg+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oipf.dae.xhtml+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oipf.mippvcontrolmessage+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oipf.pae.gem": { - "source": "iana" - }, - "application/vnd.oipf.spdiscovery+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oipf.spdlist+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oipf.ueprofile+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oipf.userprofile+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.olpc-sugar": { - "source": "iana", - "extensions": ["xo"] - }, - "application/vnd.oma-scws-config": { - "source": "iana" - }, - "application/vnd.oma-scws-http-request": { - "source": "iana" - }, - "application/vnd.oma-scws-http-response": { - "source": "iana" - }, - "application/vnd.oma.bcast.associated-procedure-parameter+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.bcast.drm-trigger+xml": { - "source": "apache", - "compressible": true - }, - "application/vnd.oma.bcast.imd+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.bcast.ltkm": { - "source": "iana" - }, - "application/vnd.oma.bcast.notification+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.bcast.provisioningtrigger": { - "source": "iana" - }, - "application/vnd.oma.bcast.sgboot": { - "source": "iana" - }, - "application/vnd.oma.bcast.sgdd+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.bcast.sgdu": { - "source": "iana" - }, - "application/vnd.oma.bcast.simple-symbol-container": { - "source": "iana" - }, - "application/vnd.oma.bcast.smartcard-trigger+xml": { - "source": "apache", - "compressible": true - }, - "application/vnd.oma.bcast.sprov+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.bcast.stkm": { - "source": "iana" - }, - "application/vnd.oma.cab-address-book+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.cab-feature-handler+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.cab-pcc+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.cab-subs-invite+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.cab-user-prefs+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.dcd": { - "source": "iana" - }, - "application/vnd.oma.dcdc": { - "source": "iana" - }, - "application/vnd.oma.dd2+xml": { - "source": "iana", - "compressible": true, - "extensions": ["dd2"] - }, - "application/vnd.oma.drm.risd+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.group-usage-list+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.lwm2m+cbor": { - "source": "iana" - }, - "application/vnd.oma.lwm2m+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.lwm2m+tlv": { - "source": "iana" - }, - "application/vnd.oma.pal+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.poc.detailed-progress-report+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.poc.final-report+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.poc.groups+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.poc.invocation-descriptor+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.poc.optimized-progress-report+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.push": { - "source": "iana" - }, - "application/vnd.oma.scidm.messages+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oma.xcap-directory+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.omads-email+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/vnd.omads-file+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/vnd.omads-folder+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/vnd.omaloc-supl-init": { - "source": "iana" - }, - "application/vnd.onepager": { - "source": "iana" - }, - "application/vnd.onepagertamp": { - "source": "iana" - }, - "application/vnd.onepagertamx": { - "source": "iana" - }, - "application/vnd.onepagertat": { - "source": "iana" - }, - "application/vnd.onepagertatp": { - "source": "iana" - }, - "application/vnd.onepagertatx": { - "source": "iana" - }, - "application/vnd.onvif.metadata": { - "source": "iana" - }, - "application/vnd.openblox.game+xml": { - "source": "iana", - "compressible": true, - "extensions": ["obgx"] - }, - "application/vnd.openblox.game-binary": { - "source": "iana" - }, - "application/vnd.openeye.oeb": { - "source": "iana" - }, - "application/vnd.openofficeorg.extension": { - "source": "apache", - "extensions": ["oxt"] - }, - "application/vnd.openstreetmap.data+xml": { - "source": "iana", - "compressible": true, - "extensions": ["osm"] - }, - "application/vnd.opentimestamps.ots": { - "source": "iana" - }, - "application/vnd.openvpi.dspx+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.custom-properties+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.customxmlproperties+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.drawing+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.drawingml.chart+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.extended-properties+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.comments+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.presentation": { - "source": "iana", - "compressible": false, - "extensions": ["pptx"] - }, - "application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.presprops+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.slide": { - "source": "iana", - "extensions": ["sldx"] - }, - "application/vnd.openxmlformats-officedocument.presentationml.slide+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.slideshow": { - "source": "iana", - "extensions": ["ppsx"] - }, - "application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.tags+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.template": { - "source": "iana", - "extensions": ["potx"] - }, - "application/vnd.openxmlformats-officedocument.presentationml.template.main+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": { - "source": "iana", - "compressible": false, - "extensions": ["xlsx"] - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.template": { - "source": "iana", - "extensions": ["xltx"] - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.theme+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.themeoverride+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.vmldrawing": { - "source": "iana" - }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.document": { - "source": "iana", - "compressible": false, - "extensions": ["docx"] - }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.template": { - "source": "iana", - "extensions": ["dotx"] - }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-package.core-properties+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.openxmlformats-package.relationships+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oracle.resource+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.orange.indata": { - "source": "iana" - }, - "application/vnd.osa.netdeploy": { - "source": "iana" - }, - "application/vnd.osgeo.mapguide.package": { - "source": "iana", - "extensions": ["mgp"] - }, - "application/vnd.osgi.bundle": { - "source": "iana" - }, - "application/vnd.osgi.dp": { - "source": "iana", - "extensions": ["dp"] - }, - "application/vnd.osgi.subsystem": { - "source": "iana", - "extensions": ["esa"] - }, - "application/vnd.otps.ct-kip+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.oxli.countgraph": { - "source": "iana" - }, - "application/vnd.pagerduty+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.palm": { - "source": "iana", - "extensions": ["pdb","pqa","oprc"] - }, - "application/vnd.panoply": { - "source": "iana" - }, - "application/vnd.paos.xml": { - "source": "iana" - }, - "application/vnd.patentdive": { - "source": "iana" - }, - "application/vnd.patientecommsdoc": { - "source": "iana" - }, - "application/vnd.pawaafile": { - "source": "iana", - "extensions": ["paw"] - }, - "application/vnd.pcos": { - "source": "iana" - }, - "application/vnd.pg.format": { - "source": "iana", - "extensions": ["str"] - }, - "application/vnd.pg.osasli": { - "source": "iana", - "extensions": ["ei6"] - }, - "application/vnd.piaccess.application-licence": { - "source": "iana" - }, - "application/vnd.picsel": { - "source": "iana", - "extensions": ["efif"] - }, - "application/vnd.pmi.widget": { - "source": "iana", - "extensions": ["wg"] - }, - "application/vnd.poc.group-advertisement+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.pocketlearn": { - "source": "iana", - "extensions": ["plf"] - }, - "application/vnd.powerbuilder6": { - "source": "iana", - "extensions": ["pbd"] - }, - "application/vnd.powerbuilder6-s": { - "source": "iana" - }, - "application/vnd.powerbuilder7": { - "source": "iana" - }, - "application/vnd.powerbuilder7-s": { - "source": "iana" - }, - "application/vnd.powerbuilder75": { - "source": "iana" - }, - "application/vnd.powerbuilder75-s": { - "source": "iana" - }, - "application/vnd.preminet": { - "source": "iana" - }, - "application/vnd.previewsystems.box": { - "source": "iana", - "extensions": ["box"] - }, - "application/vnd.procrate.brushset": { - "extensions": ["brushset"] - }, - "application/vnd.procreate.brush": { - "extensions": ["brush"] - }, - "application/vnd.procreate.dream": { - "extensions": ["drm"] - }, - "application/vnd.proteus.magazine": { - "source": "iana", - "extensions": ["mgz"] - }, - "application/vnd.psfs": { - "source": "iana" - }, - "application/vnd.pt.mundusmundi": { - "source": "iana" - }, - "application/vnd.publishare-delta-tree": { - "source": "iana", - "extensions": ["qps"] - }, - "application/vnd.pvi.ptid1": { - "source": "iana", - "extensions": ["ptid"] - }, - "application/vnd.pwg-multiplexed": { - "source": "iana" - }, - "application/vnd.pwg-xhtml-print+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xhtm"] - }, - "application/vnd.qualcomm.brew-app-res": { - "source": "iana" - }, - "application/vnd.quarantainenet": { - "source": "iana" - }, - "application/vnd.quark.quarkxpress": { - "source": "iana", - "extensions": ["qxd","qxt","qwd","qwt","qxl","qxb"] - }, - "application/vnd.quobject-quoxdocument": { - "source": "iana" - }, - "application/vnd.radisys.moml+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.radisys.msml+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.radisys.msml-audit+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.radisys.msml-audit-conf+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.radisys.msml-audit-conn+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.radisys.msml-audit-dialog+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.radisys.msml-audit-stream+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.radisys.msml-conf+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.radisys.msml-dialog+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.radisys.msml-dialog-base+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.radisys.msml-dialog-fax-detect+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.radisys.msml-dialog-fax-sendrecv+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.radisys.msml-dialog-group+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.radisys.msml-dialog-speech+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.radisys.msml-dialog-transform+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.rainstor.data": { - "source": "iana" - }, - "application/vnd.rapid": { - "source": "iana" - }, - "application/vnd.rar": { - "source": "iana", - "extensions": ["rar"] - }, - "application/vnd.realvnc.bed": { - "source": "iana", - "extensions": ["bed"] - }, - "application/vnd.recordare.musicxml": { - "source": "iana", - "extensions": ["mxl"] - }, - "application/vnd.recordare.musicxml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["musicxml"] - }, - "application/vnd.relpipe": { - "source": "iana" - }, - "application/vnd.renlearn.rlprint": { - "source": "iana" - }, - "application/vnd.resilient.logic": { - "source": "iana" - }, - "application/vnd.restful+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.rig.cryptonote": { - "source": "iana", - "extensions": ["cryptonote"] - }, - "application/vnd.rim.cod": { - "source": "apache", - "extensions": ["cod"] - }, - "application/vnd.rn-realmedia": { - "source": "apache", - "extensions": ["rm"] - }, - "application/vnd.rn-realmedia-vbr": { - "source": "apache", - "extensions": ["rmvb"] - }, - "application/vnd.route66.link66+xml": { - "source": "iana", - "compressible": true, - "extensions": ["link66"] - }, - "application/vnd.rs-274x": { - "source": "iana" - }, - "application/vnd.ruckus.download": { - "source": "iana" - }, - "application/vnd.s3sms": { - "source": "iana" - }, - "application/vnd.sailingtracker.track": { - "source": "iana", - "extensions": ["st"] - }, - "application/vnd.sar": { - "source": "iana" - }, - "application/vnd.sbm.cid": { - "source": "iana" - }, - "application/vnd.sbm.mid2": { - "source": "iana" - }, - "application/vnd.scribus": { - "source": "iana" - }, - "application/vnd.sealed.3df": { - "source": "iana" - }, - "application/vnd.sealed.csf": { - "source": "iana" - }, - "application/vnd.sealed.doc": { - "source": "iana" - }, - "application/vnd.sealed.eml": { - "source": "iana" - }, - "application/vnd.sealed.mht": { - "source": "iana" - }, - "application/vnd.sealed.net": { - "source": "iana" - }, - "application/vnd.sealed.ppt": { - "source": "iana" - }, - "application/vnd.sealed.tiff": { - "source": "iana" - }, - "application/vnd.sealed.xls": { - "source": "iana" - }, - "application/vnd.sealedmedia.softseal.html": { - "source": "iana" - }, - "application/vnd.sealedmedia.softseal.pdf": { - "source": "iana" - }, - "application/vnd.seemail": { - "source": "iana", - "extensions": ["see"] - }, - "application/vnd.seis+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.sema": { - "source": "iana", - "extensions": ["sema"] - }, - "application/vnd.semd": { - "source": "iana", - "extensions": ["semd"] - }, - "application/vnd.semf": { - "source": "iana", - "extensions": ["semf"] - }, - "application/vnd.shade-save-file": { - "source": "iana" - }, - "application/vnd.shana.informed.formdata": { - "source": "iana", - "extensions": ["ifm"] - }, - "application/vnd.shana.informed.formtemplate": { - "source": "iana", - "extensions": ["itp"] - }, - "application/vnd.shana.informed.interchange": { - "source": "iana", - "extensions": ["iif"] - }, - "application/vnd.shana.informed.package": { - "source": "iana", - "extensions": ["ipk"] - }, - "application/vnd.shootproof+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.shopkick+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.shp": { - "source": "iana" - }, - "application/vnd.shx": { - "source": "iana" - }, - "application/vnd.sigrok.session": { - "source": "iana" - }, - "application/vnd.simtech-mindmapper": { - "source": "iana", - "extensions": ["twd","twds"] - }, - "application/vnd.siren+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.sketchometry": { - "source": "iana" - }, - "application/vnd.smaf": { - "source": "iana", - "extensions": ["mmf"] - }, - "application/vnd.smart.notebook": { - "source": "iana" - }, - "application/vnd.smart.teacher": { - "source": "iana", - "extensions": ["teacher"] - }, - "application/vnd.smintio.portals.archive": { - "source": "iana" - }, - "application/vnd.snesdev-page-table": { - "source": "iana" - }, - "application/vnd.software602.filler.form+xml": { - "source": "iana", - "compressible": true, - "extensions": ["fo"] - }, - "application/vnd.software602.filler.form-xml-zip": { - "source": "iana" - }, - "application/vnd.solent.sdkm+xml": { - "source": "iana", - "compressible": true, - "extensions": ["sdkm","sdkd"] - }, - "application/vnd.spotfire.dxp": { - "source": "iana", - "extensions": ["dxp"] - }, - "application/vnd.spotfire.sfs": { - "source": "iana", - "extensions": ["sfs"] - }, - "application/vnd.sqlite3": { - "source": "iana" - }, - "application/vnd.sss-cod": { - "source": "iana" - }, - "application/vnd.sss-dtf": { - "source": "iana" - }, - "application/vnd.sss-ntf": { - "source": "iana" - }, - "application/vnd.stardivision.calc": { - "source": "apache", - "extensions": ["sdc"] - }, - "application/vnd.stardivision.draw": { - "source": "apache", - "extensions": ["sda"] - }, - "application/vnd.stardivision.impress": { - "source": "apache", - "extensions": ["sdd"] - }, - "application/vnd.stardivision.math": { - "source": "apache", - "extensions": ["smf"] - }, - "application/vnd.stardivision.writer": { - "source": "apache", - "extensions": ["sdw","vor"] - }, - "application/vnd.stardivision.writer-global": { - "source": "apache", - "extensions": ["sgl"] - }, - "application/vnd.stepmania.package": { - "source": "iana", - "extensions": ["smzip"] - }, - "application/vnd.stepmania.stepchart": { - "source": "iana", - "extensions": ["sm"] - }, - "application/vnd.street-stream": { - "source": "iana" - }, - "application/vnd.sun.wadl+xml": { - "source": "iana", - "compressible": true, - "extensions": ["wadl"] - }, - "application/vnd.sun.xml.calc": { - "source": "apache", - "extensions": ["sxc"] - }, - "application/vnd.sun.xml.calc.template": { - "source": "apache", - "extensions": ["stc"] - }, - "application/vnd.sun.xml.draw": { - "source": "apache", - "extensions": ["sxd"] - }, - "application/vnd.sun.xml.draw.template": { - "source": "apache", - "extensions": ["std"] - }, - "application/vnd.sun.xml.impress": { - "source": "apache", - "extensions": ["sxi"] - }, - "application/vnd.sun.xml.impress.template": { - "source": "apache", - "extensions": ["sti"] - }, - "application/vnd.sun.xml.math": { - "source": "apache", - "extensions": ["sxm"] - }, - "application/vnd.sun.xml.writer": { - "source": "apache", - "extensions": ["sxw"] - }, - "application/vnd.sun.xml.writer.global": { - "source": "apache", - "extensions": ["sxg"] - }, - "application/vnd.sun.xml.writer.template": { - "source": "apache", - "extensions": ["stw"] - }, - "application/vnd.sus-calendar": { - "source": "iana", - "extensions": ["sus","susp"] - }, - "application/vnd.svd": { - "source": "iana", - "extensions": ["svd"] - }, - "application/vnd.swiftview-ics": { - "source": "iana" - }, - "application/vnd.sybyl.mol2": { - "source": "iana" - }, - "application/vnd.sycle+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.syft+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.symbian.install": { - "source": "apache", - "extensions": ["sis","sisx"] - }, - "application/vnd.syncml+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true, - "extensions": ["xsm"] - }, - "application/vnd.syncml.dm+wbxml": { - "source": "iana", - "charset": "UTF-8", - "extensions": ["bdm"] - }, - "application/vnd.syncml.dm+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true, - "extensions": ["xdm"] - }, - "application/vnd.syncml.dm.notification": { - "source": "iana" - }, - "application/vnd.syncml.dmddf+wbxml": { - "source": "iana" - }, - "application/vnd.syncml.dmddf+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true, - "extensions": ["ddf"] - }, - "application/vnd.syncml.dmtnds+wbxml": { - "source": "iana" - }, - "application/vnd.syncml.dmtnds+xml": { - "source": "iana", - "charset": "UTF-8", - "compressible": true - }, - "application/vnd.syncml.ds.notification": { - "source": "iana" - }, - "application/vnd.tableschema+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.tao.intent-module-archive": { - "source": "iana", - "extensions": ["tao"] - }, - "application/vnd.tcpdump.pcap": { - "source": "iana", - "extensions": ["pcap","cap","dmp"] - }, - "application/vnd.think-cell.ppttc+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.tmd.mediaflex.api+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.tml": { - "source": "iana" - }, - "application/vnd.tmobile-livetv": { - "source": "iana", - "extensions": ["tmo"] - }, - "application/vnd.tri.onesource": { - "source": "iana" - }, - "application/vnd.trid.tpt": { - "source": "iana", - "extensions": ["tpt"] - }, - "application/vnd.triscape.mxs": { - "source": "iana", - "extensions": ["mxs"] - }, - "application/vnd.trueapp": { - "source": "iana", - "extensions": ["tra"] - }, - "application/vnd.truedoc": { - "source": "iana" - }, - "application/vnd.ubisoft.webplayer": { - "source": "iana" - }, - "application/vnd.ufdl": { - "source": "iana", - "extensions": ["ufd","ufdl"] - }, - "application/vnd.uic.osdm+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.uiq.theme": { - "source": "iana", - "extensions": ["utz"] - }, - "application/vnd.umajin": { - "source": "iana", - "extensions": ["umj"] - }, - "application/vnd.unity": { - "source": "iana", - "extensions": ["unityweb"] - }, - "application/vnd.uoml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["uoml","uo"] - }, - "application/vnd.uplanet.alert": { - "source": "iana" - }, - "application/vnd.uplanet.alert-wbxml": { - "source": "iana" - }, - "application/vnd.uplanet.bearer-choice": { - "source": "iana" - }, - "application/vnd.uplanet.bearer-choice-wbxml": { - "source": "iana" - }, - "application/vnd.uplanet.cacheop": { - "source": "iana" - }, - "application/vnd.uplanet.cacheop-wbxml": { - "source": "iana" - }, - "application/vnd.uplanet.channel": { - "source": "iana" - }, - "application/vnd.uplanet.channel-wbxml": { - "source": "iana" - }, - "application/vnd.uplanet.list": { - "source": "iana" - }, - "application/vnd.uplanet.list-wbxml": { - "source": "iana" - }, - "application/vnd.uplanet.listcmd": { - "source": "iana" - }, - "application/vnd.uplanet.listcmd-wbxml": { - "source": "iana" - }, - "application/vnd.uplanet.signal": { - "source": "iana" - }, - "application/vnd.uri-map": { - "source": "iana" - }, - "application/vnd.valve.source.material": { - "source": "iana" - }, - "application/vnd.vcx": { - "source": "iana", - "extensions": ["vcx"] - }, - "application/vnd.vd-study": { - "source": "iana" - }, - "application/vnd.vectorworks": { - "source": "iana" - }, - "application/vnd.vel+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.veraison.tsm-report+cbor": { - "source": "iana" - }, - "application/vnd.veraison.tsm-report+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.verimatrix.vcas": { - "source": "iana" - }, - "application/vnd.veritone.aion+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.veryant.thin": { - "source": "iana" - }, - "application/vnd.ves.encrypted": { - "source": "iana" - }, - "application/vnd.vidsoft.vidconference": { - "source": "iana" - }, - "application/vnd.visio": { - "source": "iana", - "extensions": ["vsd","vst","vss","vsw","vsdx","vtx"] - }, - "application/vnd.visionary": { - "source": "iana", - "extensions": ["vis"] - }, - "application/vnd.vividence.scriptfile": { - "source": "iana" - }, - "application/vnd.vocalshaper.vsp4": { - "source": "iana" - }, - "application/vnd.vsf": { - "source": "iana", - "extensions": ["vsf"] - }, - "application/vnd.wap.sic": { - "source": "iana" - }, - "application/vnd.wap.slc": { - "source": "iana" - }, - "application/vnd.wap.wbxml": { - "source": "iana", - "charset": "UTF-8", - "extensions": ["wbxml"] - }, - "application/vnd.wap.wmlc": { - "source": "iana", - "extensions": ["wmlc"] - }, - "application/vnd.wap.wmlscriptc": { - "source": "iana", - "extensions": ["wmlsc"] - }, - "application/vnd.wasmflow.wafl": { - "source": "iana" - }, - "application/vnd.webturbo": { - "source": "iana", - "extensions": ["wtb"] - }, - "application/vnd.wfa.dpp": { - "source": "iana" - }, - "application/vnd.wfa.p2p": { - "source": "iana" - }, - "application/vnd.wfa.wsc": { - "source": "iana" - }, - "application/vnd.windows.devicepairing": { - "source": "iana" - }, - "application/vnd.wmc": { - "source": "iana" - }, - "application/vnd.wmf.bootstrap": { - "source": "iana" - }, - "application/vnd.wolfram.mathematica": { - "source": "iana" - }, - "application/vnd.wolfram.mathematica.package": { - "source": "iana" - }, - "application/vnd.wolfram.player": { - "source": "iana", - "extensions": ["nbp"] - }, - "application/vnd.wordlift": { - "source": "iana" - }, - "application/vnd.wordperfect": { - "source": "iana", - "extensions": ["wpd"] - }, - "application/vnd.wqd": { - "source": "iana", - "extensions": ["wqd"] - }, - "application/vnd.wrq-hp3000-labelled": { - "source": "iana" - }, - "application/vnd.wt.stf": { - "source": "iana", - "extensions": ["stf"] - }, - "application/vnd.wv.csp+wbxml": { - "source": "iana" - }, - "application/vnd.wv.csp+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.wv.ssp+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.xacml+json": { - "source": "iana", - "compressible": true - }, - "application/vnd.xara": { - "source": "iana", - "extensions": ["xar"] - }, - "application/vnd.xarin.cpj": { - "source": "iana" - }, - "application/vnd.xecrets-encrypted": { - "source": "iana" - }, - "application/vnd.xfdl": { - "source": "iana", - "extensions": ["xfdl"] - }, - "application/vnd.xfdl.webform": { - "source": "iana" - }, - "application/vnd.xmi+xml": { - "source": "iana", - "compressible": true - }, - "application/vnd.xmpie.cpkg": { - "source": "iana" - }, - "application/vnd.xmpie.dpkg": { - "source": "iana" - }, - "application/vnd.xmpie.plan": { - "source": "iana" - }, - "application/vnd.xmpie.ppkg": { - "source": "iana" - }, - "application/vnd.xmpie.xlim": { - "source": "iana" - }, - "application/vnd.yamaha.hv-dic": { - "source": "iana", - "extensions": ["hvd"] - }, - "application/vnd.yamaha.hv-script": { - "source": "iana", - "extensions": ["hvs"] - }, - "application/vnd.yamaha.hv-voice": { - "source": "iana", - "extensions": ["hvp"] - }, - "application/vnd.yamaha.openscoreformat": { - "source": "iana", - "extensions": ["osf"] - }, - "application/vnd.yamaha.openscoreformat.osfpvg+xml": { - "source": "iana", - "compressible": true, - "extensions": ["osfpvg"] - }, - "application/vnd.yamaha.remote-setup": { - "source": "iana" - }, - "application/vnd.yamaha.smaf-audio": { - "source": "iana", - "extensions": ["saf"] - }, - "application/vnd.yamaha.smaf-phrase": { - "source": "iana", - "extensions": ["spf"] - }, - "application/vnd.yamaha.through-ngn": { - "source": "iana" - }, - "application/vnd.yamaha.tunnel-udpencap": { - "source": "iana" - }, - "application/vnd.yaoweme": { - "source": "iana" - }, - "application/vnd.yellowriver-custom-menu": { - "source": "iana", - "extensions": ["cmp"] - }, - "application/vnd.zul": { - "source": "iana", - "extensions": ["zir","zirz"] - }, - "application/vnd.zzazz.deck+xml": { - "source": "iana", - "compressible": true, - "extensions": ["zaz"] - }, - "application/voicexml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["vxml"] - }, - "application/voucher-cms+json": { - "source": "iana", - "compressible": true - }, - "application/voucher-jws+json": { - "source": "iana", - "compressible": true - }, - "application/vp": { - "source": "iana" - }, - "application/vp+cose": { - "source": "iana" - }, - "application/vp+jwt": { - "source": "iana" - }, - "application/vq-rtcpxr": { - "source": "iana" - }, - "application/wasm": { - "source": "iana", - "compressible": true, - "extensions": ["wasm"] - }, - "application/watcherinfo+xml": { - "source": "iana", - "compressible": true, - "extensions": ["wif"] - }, - "application/webpush-options+json": { - "source": "iana", - "compressible": true - }, - "application/whoispp-query": { - "source": "iana" - }, - "application/whoispp-response": { - "source": "iana" - }, - "application/widget": { - "source": "iana", - "extensions": ["wgt"] - }, - "application/winhlp": { - "source": "apache", - "extensions": ["hlp"] - }, - "application/wita": { - "source": "iana" - }, - "application/wordperfect5.1": { - "source": "iana" - }, - "application/wsdl+xml": { - "source": "iana", - "compressible": true, - "extensions": ["wsdl"] - }, - "application/wspolicy+xml": { - "source": "iana", - "compressible": true, - "extensions": ["wspolicy"] - }, - "application/x-7z-compressed": { - "source": "apache", - "compressible": false, - "extensions": ["7z"] - }, - "application/x-abiword": { - "source": "apache", - "extensions": ["abw"] - }, - "application/x-ace-compressed": { - "source": "apache", - "extensions": ["ace"] - }, - "application/x-amf": { - "source": "apache" - }, - "application/x-apple-diskimage": { - "source": "apache", - "extensions": ["dmg"] - }, - "application/x-arj": { - "compressible": false, - "extensions": ["arj"] - }, - "application/x-authorware-bin": { - "source": "apache", - "extensions": ["aab","x32","u32","vox"] - }, - "application/x-authorware-map": { - "source": "apache", - "extensions": ["aam"] - }, - "application/x-authorware-seg": { - "source": "apache", - "extensions": ["aas"] - }, - "application/x-bcpio": { - "source": "apache", - "extensions": ["bcpio"] - }, - "application/x-bdoc": { - "compressible": false, - "extensions": ["bdoc"] - }, - "application/x-bittorrent": { - "source": "apache", - "extensions": ["torrent"] - }, - "application/x-blender": { - "extensions": ["blend"] - }, - "application/x-blorb": { - "source": "apache", - "extensions": ["blb","blorb"] - }, - "application/x-bzip": { - "source": "apache", - "compressible": false, - "extensions": ["bz"] - }, - "application/x-bzip2": { - "source": "apache", - "compressible": false, - "extensions": ["bz2","boz"] - }, - "application/x-cbr": { - "source": "apache", - "extensions": ["cbr","cba","cbt","cbz","cb7"] - }, - "application/x-cdlink": { - "source": "apache", - "extensions": ["vcd"] - }, - "application/x-cfs-compressed": { - "source": "apache", - "extensions": ["cfs"] - }, - "application/x-chat": { - "source": "apache", - "extensions": ["chat"] - }, - "application/x-chess-pgn": { - "source": "apache", - "extensions": ["pgn"] - }, - "application/x-chrome-extension": { - "extensions": ["crx"] - }, - "application/x-cocoa": { - "source": "nginx", - "extensions": ["cco"] - }, - "application/x-compress": { - "source": "apache" - }, - "application/x-compressed": { - "extensions": ["rar"] - }, - "application/x-conference": { - "source": "apache", - "extensions": ["nsc"] - }, - "application/x-cpio": { - "source": "apache", - "extensions": ["cpio"] - }, - "application/x-csh": { - "source": "apache", - "extensions": ["csh"] - }, - "application/x-deb": { - "compressible": false - }, - "application/x-debian-package": { - "source": "apache", - "extensions": ["deb","udeb"] - }, - "application/x-dgc-compressed": { - "source": "apache", - "extensions": ["dgc"] - }, - "application/x-director": { - "source": "apache", - "extensions": ["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"] - }, - "application/x-doom": { - "source": "apache", - "extensions": ["wad"] - }, - "application/x-dtbncx+xml": { - "source": "apache", - "compressible": true, - "extensions": ["ncx"] - }, - "application/x-dtbook+xml": { - "source": "apache", - "compressible": true, - "extensions": ["dtb"] - }, - "application/x-dtbresource+xml": { - "source": "apache", - "compressible": true, - "extensions": ["res"] - }, - "application/x-dvi": { - "source": "apache", - "compressible": false, - "extensions": ["dvi"] - }, - "application/x-envoy": { - "source": "apache", - "extensions": ["evy"] - }, - "application/x-eva": { - "source": "apache", - "extensions": ["eva"] - }, - "application/x-font-bdf": { - "source": "apache", - "extensions": ["bdf"] - }, - "application/x-font-dos": { - "source": "apache" - }, - "application/x-font-framemaker": { - "source": "apache" - }, - "application/x-font-ghostscript": { - "source": "apache", - "extensions": ["gsf"] - }, - "application/x-font-libgrx": { - "source": "apache" - }, - "application/x-font-linux-psf": { - "source": "apache", - "extensions": ["psf"] - }, - "application/x-font-pcf": { - "source": "apache", - "extensions": ["pcf"] - }, - "application/x-font-snf": { - "source": "apache", - "extensions": ["snf"] - }, - "application/x-font-speedo": { - "source": "apache" - }, - "application/x-font-sunos-news": { - "source": "apache" - }, - "application/x-font-type1": { - "source": "apache", - "extensions": ["pfa","pfb","pfm","afm"] - }, - "application/x-font-vfont": { - "source": "apache" - }, - "application/x-freearc": { - "source": "apache", - "extensions": ["arc"] - }, - "application/x-futuresplash": { - "source": "apache", - "extensions": ["spl"] - }, - "application/x-gca-compressed": { - "source": "apache", - "extensions": ["gca"] - }, - "application/x-glulx": { - "source": "apache", - "extensions": ["ulx"] - }, - "application/x-gnumeric": { - "source": "apache", - "extensions": ["gnumeric"] - }, - "application/x-gramps-xml": { - "source": "apache", - "extensions": ["gramps"] - }, - "application/x-gtar": { - "source": "apache", - "extensions": ["gtar"] - }, - "application/x-gzip": { - "source": "apache" - }, - "application/x-hdf": { - "source": "apache", - "extensions": ["hdf"] - }, - "application/x-httpd-php": { - "compressible": true, - "extensions": ["php"] - }, - "application/x-install-instructions": { - "source": "apache", - "extensions": ["install"] - }, - "application/x-ipynb+json": { - "compressible": true, - "extensions": ["ipynb"] - }, - "application/x-iso9660-image": { - "source": "apache", - "extensions": ["iso"] - }, - "application/x-iwork-keynote-sffkey": { - "extensions": ["key"] - }, - "application/x-iwork-numbers-sffnumbers": { - "extensions": ["numbers"] - }, - "application/x-iwork-pages-sffpages": { - "extensions": ["pages"] - }, - "application/x-java-archive-diff": { - "source": "nginx", - "extensions": ["jardiff"] - }, - "application/x-java-jnlp-file": { - "source": "apache", - "compressible": false, - "extensions": ["jnlp"] - }, - "application/x-javascript": { - "compressible": true - }, - "application/x-keepass2": { - "extensions": ["kdbx"] - }, - "application/x-latex": { - "source": "apache", - "compressible": false, - "extensions": ["latex"] - }, - "application/x-lua-bytecode": { - "extensions": ["luac"] - }, - "application/x-lzh-compressed": { - "source": "apache", - "extensions": ["lzh","lha"] - }, - "application/x-makeself": { - "source": "nginx", - "extensions": ["run"] - }, - "application/x-mie": { - "source": "apache", - "extensions": ["mie"] - }, - "application/x-mobipocket-ebook": { - "source": "apache", - "extensions": ["prc","mobi"] - }, - "application/x-mpegurl": { - "compressible": false - }, - "application/x-ms-application": { - "source": "apache", - "extensions": ["application"] - }, - "application/x-ms-shortcut": { - "source": "apache", - "extensions": ["lnk"] - }, - "application/x-ms-wmd": { - "source": "apache", - "extensions": ["wmd"] - }, - "application/x-ms-wmz": { - "source": "apache", - "extensions": ["wmz"] - }, - "application/x-ms-xbap": { - "source": "apache", - "extensions": ["xbap"] - }, - "application/x-msaccess": { - "source": "apache", - "extensions": ["mdb"] - }, - "application/x-msbinder": { - "source": "apache", - "extensions": ["obd"] - }, - "application/x-mscardfile": { - "source": "apache", - "extensions": ["crd"] - }, - "application/x-msclip": { - "source": "apache", - "extensions": ["clp"] - }, - "application/x-msdos-program": { - "extensions": ["exe"] - }, - "application/x-msdownload": { - "source": "apache", - "extensions": ["exe","dll","com","bat","msi"] - }, - "application/x-msmediaview": { - "source": "apache", - "extensions": ["mvb","m13","m14"] - }, - "application/x-msmetafile": { - "source": "apache", - "extensions": ["wmf","wmz","emf","emz"] - }, - "application/x-msmoney": { - "source": "apache", - "extensions": ["mny"] - }, - "application/x-mspublisher": { - "source": "apache", - "extensions": ["pub"] - }, - "application/x-msschedule": { - "source": "apache", - "extensions": ["scd"] - }, - "application/x-msterminal": { - "source": "apache", - "extensions": ["trm"] - }, - "application/x-mswrite": { - "source": "apache", - "extensions": ["wri"] - }, - "application/x-netcdf": { - "source": "apache", - "extensions": ["nc","cdf"] - }, - "application/x-ns-proxy-autoconfig": { - "compressible": true, - "extensions": ["pac"] - }, - "application/x-nzb": { - "source": "apache", - "extensions": ["nzb"] - }, - "application/x-perl": { - "source": "nginx", - "extensions": ["pl","pm"] - }, - "application/x-pilot": { - "source": "nginx", - "extensions": ["prc","pdb"] - }, - "application/x-pkcs12": { - "source": "apache", - "compressible": false, - "extensions": ["p12","pfx"] - }, - "application/x-pkcs7-certificates": { - "source": "apache", - "extensions": ["p7b","spc"] - }, - "application/x-pkcs7-certreqresp": { - "source": "apache", - "extensions": ["p7r"] - }, - "application/x-pki-message": { - "source": "iana" - }, - "application/x-rar-compressed": { - "source": "apache", - "compressible": false, - "extensions": ["rar"] - }, - "application/x-redhat-package-manager": { - "source": "nginx", - "extensions": ["rpm"] - }, - "application/x-research-info-systems": { - "source": "apache", - "extensions": ["ris"] - }, - "application/x-sea": { - "source": "nginx", - "extensions": ["sea"] - }, - "application/x-sh": { - "source": "apache", - "compressible": true, - "extensions": ["sh"] - }, - "application/x-shar": { - "source": "apache", - "extensions": ["shar"] - }, - "application/x-shockwave-flash": { - "source": "apache", - "compressible": false, - "extensions": ["swf"] - }, - "application/x-silverlight-app": { - "source": "apache", - "extensions": ["xap"] - }, - "application/x-sql": { - "source": "apache", - "extensions": ["sql"] - }, - "application/x-stuffit": { - "source": "apache", - "compressible": false, - "extensions": ["sit"] - }, - "application/x-stuffitx": { - "source": "apache", - "extensions": ["sitx"] - }, - "application/x-subrip": { - "source": "apache", - "extensions": ["srt"] - }, - "application/x-sv4cpio": { - "source": "apache", - "extensions": ["sv4cpio"] - }, - "application/x-sv4crc": { - "source": "apache", - "extensions": ["sv4crc"] - }, - "application/x-t3vm-image": { - "source": "apache", - "extensions": ["t3"] - }, - "application/x-tads": { - "source": "apache", - "extensions": ["gam"] - }, - "application/x-tar": { - "source": "apache", - "compressible": true, - "extensions": ["tar"] - }, - "application/x-tcl": { - "source": "apache", - "extensions": ["tcl","tk"] - }, - "application/x-tex": { - "source": "apache", - "extensions": ["tex"] - }, - "application/x-tex-tfm": { - "source": "apache", - "extensions": ["tfm"] - }, - "application/x-texinfo": { - "source": "apache", - "extensions": ["texinfo","texi"] - }, - "application/x-tgif": { - "source": "apache", - "extensions": ["obj"] - }, - "application/x-ustar": { - "source": "apache", - "extensions": ["ustar"] - }, - "application/x-virtualbox-hdd": { - "compressible": true, - "extensions": ["hdd"] - }, - "application/x-virtualbox-ova": { - "compressible": true, - "extensions": ["ova"] - }, - "application/x-virtualbox-ovf": { - "compressible": true, - "extensions": ["ovf"] - }, - "application/x-virtualbox-vbox": { - "compressible": true, - "extensions": ["vbox"] - }, - "application/x-virtualbox-vbox-extpack": { - "compressible": false, - "extensions": ["vbox-extpack"] - }, - "application/x-virtualbox-vdi": { - "compressible": true, - "extensions": ["vdi"] - }, - "application/x-virtualbox-vhd": { - "compressible": true, - "extensions": ["vhd"] - }, - "application/x-virtualbox-vmdk": { - "compressible": true, - "extensions": ["vmdk"] - }, - "application/x-wais-source": { - "source": "apache", - "extensions": ["src"] - }, - "application/x-web-app-manifest+json": { - "compressible": true, - "extensions": ["webapp"] - }, - "application/x-www-form-urlencoded": { - "source": "iana", - "compressible": true - }, - "application/x-x509-ca-cert": { - "source": "iana", - "extensions": ["der","crt","pem"] - }, - "application/x-x509-ca-ra-cert": { - "source": "iana" - }, - "application/x-x509-next-ca-cert": { - "source": "iana" - }, - "application/x-xfig": { - "source": "apache", - "extensions": ["fig"] - }, - "application/x-xliff+xml": { - "source": "apache", - "compressible": true, - "extensions": ["xlf"] - }, - "application/x-xpinstall": { - "source": "apache", - "compressible": false, - "extensions": ["xpi"] - }, - "application/x-xz": { - "source": "apache", - "extensions": ["xz"] - }, - "application/x-zip-compressed": { - "extensions": ["zip"] - }, - "application/x-zmachine": { - "source": "apache", - "extensions": ["z1","z2","z3","z4","z5","z6","z7","z8"] - }, - "application/x400-bp": { - "source": "iana" - }, - "application/xacml+xml": { - "source": "iana", - "compressible": true - }, - "application/xaml+xml": { - "source": "apache", - "compressible": true, - "extensions": ["xaml"] - }, - "application/xcap-att+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xav"] - }, - "application/xcap-caps+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xca"] - }, - "application/xcap-diff+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xdf"] - }, - "application/xcap-el+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xel"] - }, - "application/xcap-error+xml": { - "source": "iana", - "compressible": true - }, - "application/xcap-ns+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xns"] - }, - "application/xcon-conference-info+xml": { - "source": "iana", - "compressible": true - }, - "application/xcon-conference-info-diff+xml": { - "source": "iana", - "compressible": true - }, - "application/xenc+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xenc"] - }, - "application/xfdf": { - "source": "iana", - "extensions": ["xfdf"] - }, - "application/xhtml+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xhtml","xht"] - }, - "application/xhtml-voice+xml": { - "source": "apache", - "compressible": true - }, - "application/xliff+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xlf"] - }, - "application/xml": { - "source": "iana", - "compressible": true, - "extensions": ["xml","xsl","xsd","rng"] - }, - "application/xml-dtd": { - "source": "iana", - "compressible": true, - "extensions": ["dtd"] - }, - "application/xml-external-parsed-entity": { - "source": "iana" - }, - "application/xml-patch+xml": { - "source": "iana", - "compressible": true - }, - "application/xmpp+xml": { - "source": "iana", - "compressible": true - }, - "application/xop+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xop"] - }, - "application/xproc+xml": { - "source": "apache", - "compressible": true, - "extensions": ["xpl"] - }, - "application/xslt+xml": { - "source": "iana", - "compressible": true, - "extensions": ["xsl","xslt"] - }, - "application/xspf+xml": { - "source": "apache", - "compressible": true, - "extensions": ["xspf"] - }, - "application/xv+xml": { - "source": "iana", - "compressible": true, - "extensions": ["mxml","xhvml","xvml","xvm"] - }, - "application/yaml": { - "source": "iana" - }, - "application/yang": { - "source": "iana", - "extensions": ["yang"] - }, - "application/yang-data+cbor": { - "source": "iana" - }, - "application/yang-data+json": { - "source": "iana", - "compressible": true - }, - "application/yang-data+xml": { - "source": "iana", - "compressible": true - }, - "application/yang-patch+json": { - "source": "iana", - "compressible": true - }, - "application/yang-patch+xml": { - "source": "iana", - "compressible": true - }, - "application/yang-sid+json": { - "source": "iana", - "compressible": true - }, - "application/yin+xml": { - "source": "iana", - "compressible": true, - "extensions": ["yin"] - }, - "application/zip": { - "source": "iana", - "compressible": false, - "extensions": ["zip"] - }, - "application/zip+dotlottie": { - "extensions": ["lottie"] - }, - "application/zlib": { - "source": "iana" - }, - "application/zstd": { - "source": "iana" - }, - "audio/1d-interleaved-parityfec": { - "source": "iana" - }, - "audio/32kadpcm": { - "source": "iana" - }, - "audio/3gpp": { - "source": "iana", - "compressible": false, - "extensions": ["3gpp"] - }, - "audio/3gpp2": { - "source": "iana" - }, - "audio/aac": { - "source": "iana", - "extensions": ["adts","aac"] - }, - "audio/ac3": { - "source": "iana" - }, - "audio/adpcm": { - "source": "apache", - "extensions": ["adp"] - }, - "audio/amr": { - "source": "iana", - "extensions": ["amr"] - }, - "audio/amr-wb": { - "source": "iana" - }, - "audio/amr-wb+": { - "source": "iana" - }, - "audio/aptx": { - "source": "iana" - }, - "audio/asc": { - "source": "iana" - }, - "audio/atrac-advanced-lossless": { - "source": "iana" - }, - "audio/atrac-x": { - "source": "iana" - }, - "audio/atrac3": { - "source": "iana" - }, - "audio/basic": { - "source": "iana", - "compressible": false, - "extensions": ["au","snd"] - }, - "audio/bv16": { - "source": "iana" - }, - "audio/bv32": { - "source": "iana" - }, - "audio/clearmode": { - "source": "iana" - }, - "audio/cn": { - "source": "iana" - }, - "audio/dat12": { - "source": "iana" - }, - "audio/dls": { - "source": "iana" - }, - "audio/dsr-es201108": { - "source": "iana" - }, - "audio/dsr-es202050": { - "source": "iana" - }, - "audio/dsr-es202211": { - "source": "iana" - }, - "audio/dsr-es202212": { - "source": "iana" - }, - "audio/dv": { - "source": "iana" - }, - "audio/dvi4": { - "source": "iana" - }, - "audio/eac3": { - "source": "iana" - }, - "audio/encaprtp": { - "source": "iana" - }, - "audio/evrc": { - "source": "iana" - }, - "audio/evrc-qcp": { - "source": "iana" - }, - "audio/evrc0": { - "source": "iana" - }, - "audio/evrc1": { - "source": "iana" - }, - "audio/evrcb": { - "source": "iana" - }, - "audio/evrcb0": { - "source": "iana" - }, - "audio/evrcb1": { - "source": "iana" - }, - "audio/evrcnw": { - "source": "iana" - }, - "audio/evrcnw0": { - "source": "iana" - }, - "audio/evrcnw1": { - "source": "iana" - }, - "audio/evrcwb": { - "source": "iana" - }, - "audio/evrcwb0": { - "source": "iana" - }, - "audio/evrcwb1": { - "source": "iana" - }, - "audio/evs": { - "source": "iana" - }, - "audio/flac": { - "source": "iana" - }, - "audio/flexfec": { - "source": "iana" - }, - "audio/fwdred": { - "source": "iana" - }, - "audio/g711-0": { - "source": "iana" - }, - "audio/g719": { - "source": "iana" - }, - "audio/g722": { - "source": "iana" - }, - "audio/g7221": { - "source": "iana" - }, - "audio/g723": { - "source": "iana" - }, - "audio/g726-16": { - "source": "iana" - }, - "audio/g726-24": { - "source": "iana" - }, - "audio/g726-32": { - "source": "iana" - }, - "audio/g726-40": { - "source": "iana" - }, - "audio/g728": { - "source": "iana" - }, - "audio/g729": { - "source": "iana" - }, - "audio/g7291": { - "source": "iana" - }, - "audio/g729d": { - "source": "iana" - }, - "audio/g729e": { - "source": "iana" - }, - "audio/gsm": { - "source": "iana" - }, - "audio/gsm-efr": { - "source": "iana" - }, - "audio/gsm-hr-08": { - "source": "iana" - }, - "audio/ilbc": { - "source": "iana" - }, - "audio/ip-mr_v2.5": { - "source": "iana" - }, - "audio/isac": { - "source": "apache" - }, - "audio/l16": { - "source": "iana" - }, - "audio/l20": { - "source": "iana" - }, - "audio/l24": { - "source": "iana", - "compressible": false - }, - "audio/l8": { - "source": "iana" - }, - "audio/lpc": { - "source": "iana" - }, - "audio/matroska": { - "source": "iana" - }, - "audio/melp": { - "source": "iana" - }, - "audio/melp1200": { - "source": "iana" - }, - "audio/melp2400": { - "source": "iana" - }, - "audio/melp600": { - "source": "iana" - }, - "audio/mhas": { - "source": "iana" - }, - "audio/midi": { - "source": "apache", - "extensions": ["mid","midi","kar","rmi"] - }, - "audio/midi-clip": { - "source": "iana" - }, - "audio/mobile-xmf": { - "source": "iana", - "extensions": ["mxmf"] - }, - "audio/mp3": { - "compressible": false, - "extensions": ["mp3"] - }, - "audio/mp4": { - "source": "iana", - "compressible": false, - "extensions": ["m4a","mp4a","m4b"] - }, - "audio/mp4a-latm": { - "source": "iana" - }, - "audio/mpa": { - "source": "iana" - }, - "audio/mpa-robust": { - "source": "iana" - }, - "audio/mpeg": { - "source": "iana", - "compressible": false, - "extensions": ["mpga","mp2","mp2a","mp3","m2a","m3a"] - }, - "audio/mpeg4-generic": { - "source": "iana" - }, - "audio/musepack": { - "source": "apache" - }, - "audio/ogg": { - "source": "iana", - "compressible": false, - "extensions": ["oga","ogg","spx","opus"] - }, - "audio/opus": { - "source": "iana" - }, - "audio/parityfec": { - "source": "iana" - }, - "audio/pcma": { - "source": "iana" - }, - "audio/pcma-wb": { - "source": "iana" - }, - "audio/pcmu": { - "source": "iana" - }, - "audio/pcmu-wb": { - "source": "iana" - }, - "audio/prs.sid": { - "source": "iana" - }, - "audio/qcelp": { - "source": "iana" - }, - "audio/raptorfec": { - "source": "iana" - }, - "audio/red": { - "source": "iana" - }, - "audio/rtp-enc-aescm128": { - "source": "iana" - }, - "audio/rtp-midi": { - "source": "iana" - }, - "audio/rtploopback": { - "source": "iana" - }, - "audio/rtx": { - "source": "iana" - }, - "audio/s3m": { - "source": "apache", - "extensions": ["s3m"] - }, - "audio/scip": { - "source": "iana" - }, - "audio/silk": { - "source": "apache", - "extensions": ["sil"] - }, - "audio/smv": { - "source": "iana" - }, - "audio/smv-qcp": { - "source": "iana" - }, - "audio/smv0": { - "source": "iana" - }, - "audio/sofa": { - "source": "iana" - }, - "audio/sp-midi": { - "source": "iana" - }, - "audio/speex": { - "source": "iana" - }, - "audio/t140c": { - "source": "iana" - }, - "audio/t38": { - "source": "iana" - }, - "audio/telephone-event": { - "source": "iana" - }, - "audio/tetra_acelp": { - "source": "iana" - }, - "audio/tetra_acelp_bb": { - "source": "iana" - }, - "audio/tone": { - "source": "iana" - }, - "audio/tsvcis": { - "source": "iana" - }, - "audio/uemclip": { - "source": "iana" - }, - "audio/ulpfec": { - "source": "iana" - }, - "audio/usac": { - "source": "iana" - }, - "audio/vdvi": { - "source": "iana" - }, - "audio/vmr-wb": { - "source": "iana" - }, - "audio/vnd.3gpp.iufp": { - "source": "iana" - }, - "audio/vnd.4sb": { - "source": "iana" - }, - "audio/vnd.audiokoz": { - "source": "iana" - }, - "audio/vnd.celp": { - "source": "iana" - }, - "audio/vnd.cisco.nse": { - "source": "iana" - }, - "audio/vnd.cmles.radio-events": { - "source": "iana" - }, - "audio/vnd.cns.anp1": { - "source": "iana" - }, - "audio/vnd.cns.inf1": { - "source": "iana" - }, - "audio/vnd.dece.audio": { - "source": "iana", - "extensions": ["uva","uvva"] - }, - "audio/vnd.digital-winds": { - "source": "iana", - "extensions": ["eol"] - }, - "audio/vnd.dlna.adts": { - "source": "iana" - }, - "audio/vnd.dolby.heaac.1": { - "source": "iana" - }, - "audio/vnd.dolby.heaac.2": { - "source": "iana" - }, - "audio/vnd.dolby.mlp": { - "source": "iana" - }, - "audio/vnd.dolby.mps": { - "source": "iana" - }, - "audio/vnd.dolby.pl2": { - "source": "iana" - }, - "audio/vnd.dolby.pl2x": { - "source": "iana" - }, - "audio/vnd.dolby.pl2z": { - "source": "iana" - }, - "audio/vnd.dolby.pulse.1": { - "source": "iana" - }, - "audio/vnd.dra": { - "source": "iana", - "extensions": ["dra"] - }, - "audio/vnd.dts": { - "source": "iana", - "extensions": ["dts"] - }, - "audio/vnd.dts.hd": { - "source": "iana", - "extensions": ["dtshd"] - }, - "audio/vnd.dts.uhd": { - "source": "iana" - }, - "audio/vnd.dvb.file": { - "source": "iana" - }, - "audio/vnd.everad.plj": { - "source": "iana" - }, - "audio/vnd.hns.audio": { - "source": "iana" - }, - "audio/vnd.lucent.voice": { - "source": "iana", - "extensions": ["lvp"] - }, - "audio/vnd.ms-playready.media.pya": { - "source": "iana", - "extensions": ["pya"] - }, - "audio/vnd.nokia.mobile-xmf": { - "source": "iana" - }, - "audio/vnd.nortel.vbk": { - "source": "iana" - }, - "audio/vnd.nuera.ecelp4800": { - "source": "iana", - "extensions": ["ecelp4800"] - }, - "audio/vnd.nuera.ecelp7470": { - "source": "iana", - "extensions": ["ecelp7470"] - }, - "audio/vnd.nuera.ecelp9600": { - "source": "iana", - "extensions": ["ecelp9600"] - }, - "audio/vnd.octel.sbc": { - "source": "iana" - }, - "audio/vnd.presonus.multitrack": { - "source": "iana" - }, - "audio/vnd.qcelp": { - "source": "apache" - }, - "audio/vnd.rhetorex.32kadpcm": { - "source": "iana" - }, - "audio/vnd.rip": { - "source": "iana", - "extensions": ["rip"] - }, - "audio/vnd.rn-realaudio": { - "compressible": false - }, - "audio/vnd.sealedmedia.softseal.mpeg": { - "source": "iana" - }, - "audio/vnd.vmx.cvsd": { - "source": "iana" - }, - "audio/vnd.wave": { - "compressible": false - }, - "audio/vorbis": { - "source": "iana", - "compressible": false - }, - "audio/vorbis-config": { - "source": "iana" - }, - "audio/wav": { - "compressible": false, - "extensions": ["wav"] - }, - "audio/wave": { - "compressible": false, - "extensions": ["wav"] - }, - "audio/webm": { - "source": "apache", - "compressible": false, - "extensions": ["weba"] - }, - "audio/x-aac": { - "source": "apache", - "compressible": false, - "extensions": ["aac"] - }, - "audio/x-aiff": { - "source": "apache", - "extensions": ["aif","aiff","aifc"] - }, - "audio/x-caf": { - "source": "apache", - "compressible": false, - "extensions": ["caf"] - }, - "audio/x-flac": { - "source": "apache", - "extensions": ["flac"] - }, - "audio/x-m4a": { - "source": "nginx", - "extensions": ["m4a"] - }, - "audio/x-matroska": { - "source": "apache", - "extensions": ["mka"] - }, - "audio/x-mpegurl": { - "source": "apache", - "extensions": ["m3u"] - }, - "audio/x-ms-wax": { - "source": "apache", - "extensions": ["wax"] - }, - "audio/x-ms-wma": { - "source": "apache", - "extensions": ["wma"] - }, - "audio/x-pn-realaudio": { - "source": "apache", - "extensions": ["ram","ra"] - }, - "audio/x-pn-realaudio-plugin": { - "source": "apache", - "extensions": ["rmp"] - }, - "audio/x-realaudio": { - "source": "nginx", - "extensions": ["ra"] - }, - "audio/x-tta": { - "source": "apache" - }, - "audio/x-wav": { - "source": "apache", - "extensions": ["wav"] - }, - "audio/xm": { - "source": "apache", - "extensions": ["xm"] - }, - "chemical/x-cdx": { - "source": "apache", - "extensions": ["cdx"] - }, - "chemical/x-cif": { - "source": "apache", - "extensions": ["cif"] - }, - "chemical/x-cmdf": { - "source": "apache", - "extensions": ["cmdf"] - }, - "chemical/x-cml": { - "source": "apache", - "extensions": ["cml"] - }, - "chemical/x-csml": { - "source": "apache", - "extensions": ["csml"] - }, - "chemical/x-pdb": { - "source": "apache" - }, - "chemical/x-xyz": { - "source": "apache", - "extensions": ["xyz"] - }, - "font/collection": { - "source": "iana", - "extensions": ["ttc"] - }, - "font/otf": { - "source": "iana", - "compressible": true, - "extensions": ["otf"] - }, - "font/sfnt": { - "source": "iana" - }, - "font/ttf": { - "source": "iana", - "compressible": true, - "extensions": ["ttf"] - }, - "font/woff": { - "source": "iana", - "extensions": ["woff"] - }, - "font/woff2": { - "source": "iana", - "extensions": ["woff2"] - }, - "image/aces": { - "source": "iana", - "extensions": ["exr"] - }, - "image/apng": { - "source": "iana", - "compressible": false, - "extensions": ["apng"] - }, - "image/avci": { - "source": "iana", - "extensions": ["avci"] - }, - "image/avcs": { - "source": "iana", - "extensions": ["avcs"] - }, - "image/avif": { - "source": "iana", - "compressible": false, - "extensions": ["avif"] - }, - "image/bmp": { - "source": "iana", - "compressible": true, - "extensions": ["bmp","dib"] - }, - "image/cgm": { - "source": "iana", - "extensions": ["cgm"] - }, - "image/dicom-rle": { - "source": "iana", - "extensions": ["drle"] - }, - "image/dpx": { - "source": "iana", - "extensions": ["dpx"] - }, - "image/emf": { - "source": "iana", - "extensions": ["emf"] - }, - "image/fits": { - "source": "iana", - "extensions": ["fits"] - }, - "image/g3fax": { - "source": "iana", - "extensions": ["g3"] - }, - "image/gif": { - "source": "iana", - "compressible": false, - "extensions": ["gif"] - }, - "image/heic": { - "source": "iana", - "extensions": ["heic"] - }, - "image/heic-sequence": { - "source": "iana", - "extensions": ["heics"] - }, - "image/heif": { - "source": "iana", - "extensions": ["heif"] - }, - "image/heif-sequence": { - "source": "iana", - "extensions": ["heifs"] - }, - "image/hej2k": { - "source": "iana", - "extensions": ["hej2"] - }, - "image/ief": { - "source": "iana", - "extensions": ["ief"] - }, - "image/j2c": { - "source": "iana" - }, - "image/jaii": { - "source": "iana", - "extensions": ["jaii"] - }, - "image/jais": { - "source": "iana", - "extensions": ["jais"] - }, - "image/jls": { - "source": "iana", - "extensions": ["jls"] - }, - "image/jp2": { - "source": "iana", - "compressible": false, - "extensions": ["jp2","jpg2"] - }, - "image/jpeg": { - "source": "iana", - "compressible": false, - "extensions": ["jpg","jpeg","jpe"] - }, - "image/jph": { - "source": "iana", - "extensions": ["jph"] - }, - "image/jphc": { - "source": "iana", - "extensions": ["jhc"] - }, - "image/jpm": { - "source": "iana", - "compressible": false, - "extensions": ["jpm","jpgm"] - }, - "image/jpx": { - "source": "iana", - "compressible": false, - "extensions": ["jpx","jpf"] - }, - "image/jxl": { - "source": "iana", - "extensions": ["jxl"] - }, - "image/jxr": { - "source": "iana", - "extensions": ["jxr"] - }, - "image/jxra": { - "source": "iana", - "extensions": ["jxra"] - }, - "image/jxrs": { - "source": "iana", - "extensions": ["jxrs"] - }, - "image/jxs": { - "source": "iana", - "extensions": ["jxs"] - }, - "image/jxsc": { - "source": "iana", - "extensions": ["jxsc"] - }, - "image/jxsi": { - "source": "iana", - "extensions": ["jxsi"] - }, - "image/jxss": { - "source": "iana", - "extensions": ["jxss"] - }, - "image/ktx": { - "source": "iana", - "extensions": ["ktx"] - }, - "image/ktx2": { - "source": "iana", - "extensions": ["ktx2"] - }, - "image/naplps": { - "source": "iana" - }, - "image/pjpeg": { - "compressible": false, - "extensions": ["jfif"] - }, - "image/png": { - "source": "iana", - "compressible": false, - "extensions": ["png"] - }, - "image/prs.btif": { - "source": "iana", - "extensions": ["btif","btf"] - }, - "image/prs.pti": { - "source": "iana", - "extensions": ["pti"] - }, - "image/pwg-raster": { - "source": "iana" - }, - "image/sgi": { - "source": "apache", - "extensions": ["sgi"] - }, - "image/svg+xml": { - "source": "iana", - "compressible": true, - "extensions": ["svg","svgz"] - }, - "image/t38": { - "source": "iana", - "extensions": ["t38"] - }, - "image/tiff": { - "source": "iana", - "compressible": false, - "extensions": ["tif","tiff"] - }, - "image/tiff-fx": { - "source": "iana", - "extensions": ["tfx"] - }, - "image/vnd.adobe.photoshop": { - "source": "iana", - "compressible": true, - "extensions": ["psd"] - }, - "image/vnd.airzip.accelerator.azv": { - "source": "iana", - "extensions": ["azv"] - }, - "image/vnd.clip": { - "source": "iana" - }, - "image/vnd.cns.inf2": { - "source": "iana" - }, - "image/vnd.dece.graphic": { - "source": "iana", - "extensions": ["uvi","uvvi","uvg","uvvg"] - }, - "image/vnd.djvu": { - "source": "iana", - "extensions": ["djvu","djv"] - }, - "image/vnd.dvb.subtitle": { - "source": "iana", - "extensions": ["sub"] - }, - "image/vnd.dwg": { - "source": "iana", - "extensions": ["dwg"] - }, - "image/vnd.dxf": { - "source": "iana", - "extensions": ["dxf"] - }, - "image/vnd.fastbidsheet": { - "source": "iana", - "extensions": ["fbs"] - }, - "image/vnd.fpx": { - "source": "iana", - "extensions": ["fpx"] - }, - "image/vnd.fst": { - "source": "iana", - "extensions": ["fst"] - }, - "image/vnd.fujixerox.edmics-mmr": { - "source": "iana", - "extensions": ["mmr"] - }, - "image/vnd.fujixerox.edmics-rlc": { - "source": "iana", - "extensions": ["rlc"] - }, - "image/vnd.globalgraphics.pgb": { - "source": "iana" - }, - "image/vnd.microsoft.icon": { - "source": "iana", - "compressible": true, - "extensions": ["ico"] - }, - "image/vnd.mix": { - "source": "iana" - }, - "image/vnd.mozilla.apng": { - "source": "iana" - }, - "image/vnd.ms-dds": { - "compressible": true, - "extensions": ["dds"] - }, - "image/vnd.ms-modi": { - "source": "iana", - "extensions": ["mdi"] - }, - "image/vnd.ms-photo": { - "source": "apache", - "extensions": ["wdp"] - }, - "image/vnd.net-fpx": { - "source": "iana", - "extensions": ["npx"] - }, - "image/vnd.pco.b16": { - "source": "iana", - "extensions": ["b16"] - }, - "image/vnd.radiance": { - "source": "iana" - }, - "image/vnd.sealed.png": { - "source": "iana" - }, - "image/vnd.sealedmedia.softseal.gif": { - "source": "iana" - }, - "image/vnd.sealedmedia.softseal.jpg": { - "source": "iana" - }, - "image/vnd.svf": { - "source": "iana" - }, - "image/vnd.tencent.tap": { - "source": "iana", - "extensions": ["tap"] - }, - "image/vnd.valve.source.texture": { - "source": "iana", - "extensions": ["vtf"] - }, - "image/vnd.wap.wbmp": { - "source": "iana", - "extensions": ["wbmp"] - }, - "image/vnd.xiff": { - "source": "iana", - "extensions": ["xif"] - }, - "image/vnd.zbrush.pcx": { - "source": "iana", - "extensions": ["pcx"] - }, - "image/webp": { - "source": "iana", - "extensions": ["webp"] - }, - "image/wmf": { - "source": "iana", - "extensions": ["wmf"] - }, - "image/x-3ds": { - "source": "apache", - "extensions": ["3ds"] - }, - "image/x-adobe-dng": { - "extensions": ["dng"] - }, - "image/x-cmu-raster": { - "source": "apache", - "extensions": ["ras"] - }, - "image/x-cmx": { - "source": "apache", - "extensions": ["cmx"] - }, - "image/x-emf": { - "source": "iana" - }, - "image/x-freehand": { - "source": "apache", - "extensions": ["fh","fhc","fh4","fh5","fh7"] - }, - "image/x-icon": { - "source": "apache", - "compressible": true, - "extensions": ["ico"] - }, - "image/x-jng": { - "source": "nginx", - "extensions": ["jng"] - }, - "image/x-mrsid-image": { - "source": "apache", - "extensions": ["sid"] - }, - "image/x-ms-bmp": { - "source": "nginx", - "compressible": true, - "extensions": ["bmp"] - }, - "image/x-pcx": { - "source": "apache", - "extensions": ["pcx"] - }, - "image/x-pict": { - "source": "apache", - "extensions": ["pic","pct"] - }, - "image/x-portable-anymap": { - "source": "apache", - "extensions": ["pnm"] - }, - "image/x-portable-bitmap": { - "source": "apache", - "extensions": ["pbm"] - }, - "image/x-portable-graymap": { - "source": "apache", - "extensions": ["pgm"] - }, - "image/x-portable-pixmap": { - "source": "apache", - "extensions": ["ppm"] - }, - "image/x-rgb": { - "source": "apache", - "extensions": ["rgb"] - }, - "image/x-tga": { - "source": "apache", - "extensions": ["tga"] - }, - "image/x-wmf": { - "source": "iana" - }, - "image/x-xbitmap": { - "source": "apache", - "extensions": ["xbm"] - }, - "image/x-xcf": { - "compressible": false - }, - "image/x-xpixmap": { - "source": "apache", - "extensions": ["xpm"] - }, - "image/x-xwindowdump": { - "source": "apache", - "extensions": ["xwd"] - }, - "message/bhttp": { - "source": "iana" - }, - "message/cpim": { - "source": "iana" - }, - "message/delivery-status": { - "source": "iana" - }, - "message/disposition-notification": { - "source": "iana", - "extensions": [ - "disposition-notification" - ] - }, - "message/external-body": { - "source": "iana" - }, - "message/feedback-report": { - "source": "iana" - }, - "message/global": { - "source": "iana", - "extensions": ["u8msg"] - }, - "message/global-delivery-status": { - "source": "iana", - "extensions": ["u8dsn"] - }, - "message/global-disposition-notification": { - "source": "iana", - "extensions": ["u8mdn"] - }, - "message/global-headers": { - "source": "iana", - "extensions": ["u8hdr"] - }, - "message/http": { - "source": "iana", - "compressible": false - }, - "message/imdn+xml": { - "source": "iana", - "compressible": true - }, - "message/mls": { - "source": "iana" - }, - "message/news": { - "source": "apache" - }, - "message/ohttp-req": { - "source": "iana" - }, - "message/ohttp-res": { - "source": "iana" - }, - "message/partial": { - "source": "iana", - "compressible": false - }, - "message/rfc822": { - "source": "iana", - "compressible": true, - "extensions": ["eml","mime","mht","mhtml"] - }, - "message/s-http": { - "source": "apache" - }, - "message/sip": { - "source": "iana" - }, - "message/sipfrag": { - "source": "iana" - }, - "message/tracking-status": { - "source": "iana" - }, - "message/vnd.si.simp": { - "source": "apache" - }, - "message/vnd.wfa.wsc": { - "source": "iana", - "extensions": ["wsc"] - }, - "model/3mf": { - "source": "iana", - "extensions": ["3mf"] - }, - "model/e57": { - "source": "iana" - }, - "model/gltf+json": { - "source": "iana", - "compressible": true, - "extensions": ["gltf"] - }, - "model/gltf-binary": { - "source": "iana", - "compressible": true, - "extensions": ["glb"] - }, - "model/iges": { - "source": "iana", - "compressible": false, - "extensions": ["igs","iges"] - }, - "model/jt": { - "source": "iana", - "extensions": ["jt"] - }, - "model/mesh": { - "source": "iana", - "compressible": false, - "extensions": ["msh","mesh","silo"] - }, - "model/mtl": { - "source": "iana", - "extensions": ["mtl"] - }, - "model/obj": { - "source": "iana", - "extensions": ["obj"] - }, - "model/prc": { - "source": "iana", - "extensions": ["prc"] - }, - "model/step": { - "source": "iana", - "extensions": ["step","stp","stpnc","p21","210"] - }, - "model/step+xml": { - "source": "iana", - "compressible": true, - "extensions": ["stpx"] - }, - "model/step+zip": { - "source": "iana", - "compressible": false, - "extensions": ["stpz"] - }, - "model/step-xml+zip": { - "source": "iana", - "compressible": false, - "extensions": ["stpxz"] - }, - "model/stl": { - "source": "iana", - "extensions": ["stl"] - }, - "model/u3d": { - "source": "iana", - "extensions": ["u3d"] - }, - "model/vnd.bary": { - "source": "iana", - "extensions": ["bary"] - }, - "model/vnd.cld": { - "source": "iana", - "extensions": ["cld"] - }, - "model/vnd.collada+xml": { - "source": "iana", - "compressible": true, - "extensions": ["dae"] - }, - "model/vnd.dwf": { - "source": "iana", - "extensions": ["dwf"] - }, - "model/vnd.flatland.3dml": { - "source": "iana" - }, - "model/vnd.gdl": { - "source": "iana", - "extensions": ["gdl"] - }, - "model/vnd.gs-gdl": { - "source": "apache" - }, - "model/vnd.gs.gdl": { - "source": "iana" - }, - "model/vnd.gtw": { - "source": "iana", - "extensions": ["gtw"] - }, - "model/vnd.moml+xml": { - "source": "iana", - "compressible": true - }, - "model/vnd.mts": { - "source": "iana", - "extensions": ["mts"] - }, - "model/vnd.opengex": { - "source": "iana", - "extensions": ["ogex"] - }, - "model/vnd.parasolid.transmit.binary": { - "source": "iana", - "extensions": ["x_b"] - }, - "model/vnd.parasolid.transmit.text": { - "source": "iana", - "extensions": ["x_t"] - }, - "model/vnd.pytha.pyox": { - "source": "iana", - "extensions": ["pyo","pyox"] - }, - "model/vnd.rosette.annotated-data-model": { - "source": "iana" - }, - "model/vnd.sap.vds": { - "source": "iana", - "extensions": ["vds"] - }, - "model/vnd.usda": { - "source": "iana", - "extensions": ["usda"] - }, - "model/vnd.usdz+zip": { - "source": "iana", - "compressible": false, - "extensions": ["usdz"] - }, - "model/vnd.valve.source.compiled-map": { - "source": "iana", - "extensions": ["bsp"] - }, - "model/vnd.vtu": { - "source": "iana", - "extensions": ["vtu"] - }, - "model/vrml": { - "source": "iana", - "compressible": false, - "extensions": ["wrl","vrml"] - }, - "model/x3d+binary": { - "source": "apache", - "compressible": false, - "extensions": ["x3db","x3dbz"] - }, - "model/x3d+fastinfoset": { - "source": "iana", - "extensions": ["x3db"] - }, - "model/x3d+vrml": { - "source": "apache", - "compressible": false, - "extensions": ["x3dv","x3dvz"] - }, - "model/x3d+xml": { - "source": "iana", - "compressible": true, - "extensions": ["x3d","x3dz"] - }, - "model/x3d-vrml": { - "source": "iana", - "extensions": ["x3dv"] - }, - "multipart/alternative": { - "source": "iana", - "compressible": false - }, - "multipart/appledouble": { - "source": "iana" - }, - "multipart/byteranges": { - "source": "iana" - }, - "multipart/digest": { - "source": "iana" - }, - "multipart/encrypted": { - "source": "iana", - "compressible": false - }, - "multipart/form-data": { - "source": "iana", - "compressible": false - }, - "multipart/header-set": { - "source": "iana" - }, - "multipart/mixed": { - "source": "iana" - }, - "multipart/multilingual": { - "source": "iana" - }, - "multipart/parallel": { - "source": "iana" - }, - "multipart/related": { - "source": "iana", - "compressible": false - }, - "multipart/report": { - "source": "iana" - }, - "multipart/signed": { - "source": "iana", - "compressible": false - }, - "multipart/vnd.bint.med-plus": { - "source": "iana" - }, - "multipart/voice-message": { - "source": "iana" - }, - "multipart/x-mixed-replace": { - "source": "iana" - }, - "text/1d-interleaved-parityfec": { - "source": "iana" - }, - "text/cache-manifest": { - "source": "iana", - "compressible": true, - "extensions": ["appcache","manifest"] - }, - "text/calendar": { - "source": "iana", - "extensions": ["ics","ifb"] - }, - "text/calender": { - "compressible": true - }, - "text/cmd": { - "compressible": true - }, - "text/coffeescript": { - "extensions": ["coffee","litcoffee"] - }, - "text/cql": { - "source": "iana" - }, - "text/cql-expression": { - "source": "iana" - }, - "text/cql-identifier": { - "source": "iana" - }, - "text/css": { - "source": "iana", - "charset": "UTF-8", - "compressible": true, - "extensions": ["css"] - }, - "text/csv": { - "source": "iana", - "compressible": true, - "extensions": ["csv"] - }, - "text/csv-schema": { - "source": "iana" - }, - "text/directory": { - "source": "iana" - }, - "text/dns": { - "source": "iana" - }, - "text/ecmascript": { - "source": "apache" - }, - "text/encaprtp": { - "source": "iana" - }, - "text/enriched": { - "source": "iana" - }, - "text/fhirpath": { - "source": "iana" - }, - "text/flexfec": { - "source": "iana" - }, - "text/fwdred": { - "source": "iana" - }, - "text/gff3": { - "source": "iana" - }, - "text/grammar-ref-list": { - "source": "iana" - }, - "text/hl7v2": { - "source": "iana" - }, - "text/html": { - "source": "iana", - "compressible": true, - "extensions": ["html","htm","shtml"] - }, - "text/jade": { - "extensions": ["jade"] - }, - "text/javascript": { - "source": "iana", - "charset": "UTF-8", - "compressible": true, - "extensions": ["js","mjs"] - }, - "text/jcr-cnd": { - "source": "iana" - }, - "text/jsx": { - "compressible": true, - "extensions": ["jsx"] - }, - "text/less": { - "compressible": true, - "extensions": ["less"] - }, - "text/markdown": { - "source": "iana", - "compressible": true, - "extensions": ["md","markdown"] - }, - "text/mathml": { - "source": "nginx", - "extensions": ["mml"] - }, - "text/mdx": { - "compressible": true, - "extensions": ["mdx"] - }, - "text/mizar": { - "source": "iana" - }, - "text/n3": { - "source": "iana", - "charset": "UTF-8", - "compressible": true, - "extensions": ["n3"] - }, - "text/parameters": { - "source": "iana", - "charset": "UTF-8" - }, - "text/parityfec": { - "source": "iana" - }, - "text/plain": { - "source": "iana", - "compressible": true, - "extensions": ["txt","text","conf","def","list","log","in","ini"] - }, - "text/provenance-notation": { - "source": "iana", - "charset": "UTF-8" - }, - "text/prs.fallenstein.rst": { - "source": "iana" - }, - "text/prs.lines.tag": { - "source": "iana", - "extensions": ["dsc"] - }, - "text/prs.prop.logic": { - "source": "iana" - }, - "text/prs.texi": { - "source": "iana" - }, - "text/raptorfec": { - "source": "iana" - }, - "text/red": { - "source": "iana" - }, - "text/rfc822-headers": { - "source": "iana" - }, - "text/richtext": { - "source": "iana", - "compressible": true, - "extensions": ["rtx"] - }, - "text/rtf": { - "source": "iana", - "compressible": true, - "extensions": ["rtf"] - }, - "text/rtp-enc-aescm128": { - "source": "iana" - }, - "text/rtploopback": { - "source": "iana" - }, - "text/rtx": { - "source": "iana" - }, - "text/sgml": { - "source": "iana", - "extensions": ["sgml","sgm"] - }, - "text/shaclc": { - "source": "iana" - }, - "text/shex": { - "source": "iana", - "extensions": ["shex"] - }, - "text/slim": { - "extensions": ["slim","slm"] - }, - "text/spdx": { - "source": "iana", - "extensions": ["spdx"] - }, - "text/strings": { - "source": "iana" - }, - "text/stylus": { - "extensions": ["stylus","styl"] - }, - "text/t140": { - "source": "iana" - }, - "text/tab-separated-values": { - "source": "iana", - "compressible": true, - "extensions": ["tsv"] - }, - "text/troff": { - "source": "iana", - "extensions": ["t","tr","roff","man","me","ms"] - }, - "text/turtle": { - "source": "iana", - "charset": "UTF-8", - "extensions": ["ttl"] - }, - "text/ulpfec": { - "source": "iana" - }, - "text/uri-list": { - "source": "iana", - "compressible": true, - "extensions": ["uri","uris","urls"] - }, - "text/vcard": { - "source": "iana", - "compressible": true, - "extensions": ["vcard"] - }, - "text/vnd.a": { - "source": "iana" - }, - "text/vnd.abc": { - "source": "iana" - }, - "text/vnd.ascii-art": { - "source": "iana" - }, - "text/vnd.curl": { - "source": "iana", - "extensions": ["curl"] - }, - "text/vnd.curl.dcurl": { - "source": "apache", - "extensions": ["dcurl"] - }, - "text/vnd.curl.mcurl": { - "source": "apache", - "extensions": ["mcurl"] - }, - "text/vnd.curl.scurl": { - "source": "apache", - "extensions": ["scurl"] - }, - "text/vnd.debian.copyright": { - "source": "iana", - "charset": "UTF-8" - }, - "text/vnd.dmclientscript": { - "source": "iana" - }, - "text/vnd.dvb.subtitle": { - "source": "iana", - "extensions": ["sub"] - }, - "text/vnd.esmertec.theme-descriptor": { - "source": "iana", - "charset": "UTF-8" - }, - "text/vnd.exchangeable": { - "source": "iana" - }, - "text/vnd.familysearch.gedcom": { - "source": "iana", - "extensions": ["ged"] - }, - "text/vnd.ficlab.flt": { - "source": "iana" - }, - "text/vnd.fly": { - "source": "iana", - "extensions": ["fly"] - }, - "text/vnd.fmi.flexstor": { - "source": "iana", - "extensions": ["flx"] - }, - "text/vnd.gml": { - "source": "iana" - }, - "text/vnd.graphviz": { - "source": "iana", - "extensions": ["gv"] - }, - "text/vnd.hans": { - "source": "iana" - }, - "text/vnd.hgl": { - "source": "iana" - }, - "text/vnd.in3d.3dml": { - "source": "iana", - "extensions": ["3dml"] - }, - "text/vnd.in3d.spot": { - "source": "iana", - "extensions": ["spot"] - }, - "text/vnd.iptc.newsml": { - "source": "iana" - }, - "text/vnd.iptc.nitf": { - "source": "iana" - }, - "text/vnd.latex-z": { - "source": "iana" - }, - "text/vnd.motorola.reflex": { - "source": "iana" - }, - "text/vnd.ms-mediapackage": { - "source": "iana" - }, - "text/vnd.net2phone.commcenter.command": { - "source": "iana" - }, - "text/vnd.radisys.msml-basic-layout": { - "source": "iana" - }, - "text/vnd.senx.warpscript": { - "source": "iana" - }, - "text/vnd.si.uricatalogue": { - "source": "apache" - }, - "text/vnd.sosi": { - "source": "iana" - }, - "text/vnd.sun.j2me.app-descriptor": { - "source": "iana", - "charset": "UTF-8", - "extensions": ["jad"] - }, - "text/vnd.trolltech.linguist": { - "source": "iana", - "charset": "UTF-8" - }, - "text/vnd.vcf": { - "source": "iana" - }, - "text/vnd.wap.si": { - "source": "iana" - }, - "text/vnd.wap.sl": { - "source": "iana" - }, - "text/vnd.wap.wml": { - "source": "iana", - "extensions": ["wml"] - }, - "text/vnd.wap.wmlscript": { - "source": "iana", - "extensions": ["wmls"] - }, - "text/vnd.zoo.kcl": { - "source": "iana" - }, - "text/vtt": { - "source": "iana", - "charset": "UTF-8", - "compressible": true, - "extensions": ["vtt"] - }, - "text/wgsl": { - "source": "iana", - "extensions": ["wgsl"] - }, - "text/x-asm": { - "source": "apache", - "extensions": ["s","asm"] - }, - "text/x-c": { - "source": "apache", - "extensions": ["c","cc","cxx","cpp","h","hh","dic"] - }, - "text/x-component": { - "source": "nginx", - "extensions": ["htc"] - }, - "text/x-fortran": { - "source": "apache", - "extensions": ["f","for","f77","f90"] - }, - "text/x-gwt-rpc": { - "compressible": true - }, - "text/x-handlebars-template": { - "extensions": ["hbs"] - }, - "text/x-java-source": { - "source": "apache", - "extensions": ["java"] - }, - "text/x-jquery-tmpl": { - "compressible": true - }, - "text/x-lua": { - "extensions": ["lua"] - }, - "text/x-markdown": { - "compressible": true, - "extensions": ["mkd"] - }, - "text/x-nfo": { - "source": "apache", - "extensions": ["nfo"] - }, - "text/x-opml": { - "source": "apache", - "extensions": ["opml"] - }, - "text/x-org": { - "compressible": true, - "extensions": ["org"] - }, - "text/x-pascal": { - "source": "apache", - "extensions": ["p","pas"] - }, - "text/x-processing": { - "compressible": true, - "extensions": ["pde"] - }, - "text/x-sass": { - "extensions": ["sass"] - }, - "text/x-scss": { - "extensions": ["scss"] - }, - "text/x-setext": { - "source": "apache", - "extensions": ["etx"] - }, - "text/x-sfv": { - "source": "apache", - "extensions": ["sfv"] - }, - "text/x-suse-ymp": { - "compressible": true, - "extensions": ["ymp"] - }, - "text/x-uuencode": { - "source": "apache", - "extensions": ["uu"] - }, - "text/x-vcalendar": { - "source": "apache", - "extensions": ["vcs"] - }, - "text/x-vcard": { - "source": "apache", - "extensions": ["vcf"] - }, - "text/xml": { - "source": "iana", - "compressible": true, - "extensions": ["xml"] - }, - "text/xml-external-parsed-entity": { - "source": "iana" - }, - "text/yaml": { - "compressible": true, - "extensions": ["yaml","yml"] - }, - "video/1d-interleaved-parityfec": { - "source": "iana" - }, - "video/3gpp": { - "source": "iana", - "extensions": ["3gp","3gpp"] - }, - "video/3gpp-tt": { - "source": "iana" - }, - "video/3gpp2": { - "source": "iana", - "extensions": ["3g2"] - }, - "video/av1": { - "source": "iana" - }, - "video/bmpeg": { - "source": "iana" - }, - "video/bt656": { - "source": "iana" - }, - "video/celb": { - "source": "iana" - }, - "video/dv": { - "source": "iana" - }, - "video/encaprtp": { - "source": "iana" - }, - "video/evc": { - "source": "iana" - }, - "video/ffv1": { - "source": "iana" - }, - "video/flexfec": { - "source": "iana" - }, - "video/h261": { - "source": "iana", - "extensions": ["h261"] - }, - "video/h263": { - "source": "iana", - "extensions": ["h263"] - }, - "video/h263-1998": { - "source": "iana" - }, - "video/h263-2000": { - "source": "iana" - }, - "video/h264": { - "source": "iana", - "extensions": ["h264"] - }, - "video/h264-rcdo": { - "source": "iana" - }, - "video/h264-svc": { - "source": "iana" - }, - "video/h265": { - "source": "iana" - }, - "video/h266": { - "source": "iana" - }, - "video/iso.segment": { - "source": "iana", - "extensions": ["m4s"] - }, - "video/jpeg": { - "source": "iana", - "extensions": ["jpgv"] - }, - "video/jpeg2000": { - "source": "iana" - }, - "video/jpm": { - "source": "apache", - "extensions": ["jpm","jpgm"] - }, - "video/jxsv": { - "source": "iana" - }, - "video/lottie+json": { - "source": "iana", - "compressible": true - }, - "video/matroska": { - "source": "iana" - }, - "video/matroska-3d": { - "source": "iana" - }, - "video/mj2": { - "source": "iana", - "extensions": ["mj2","mjp2"] - }, - "video/mp1s": { - "source": "iana" - }, - "video/mp2p": { - "source": "iana" - }, - "video/mp2t": { - "source": "iana", - "extensions": ["ts","m2t","m2ts","mts"] - }, - "video/mp4": { - "source": "iana", - "compressible": false, - "extensions": ["mp4","mp4v","mpg4"] - }, - "video/mp4v-es": { - "source": "iana" - }, - "video/mpeg": { - "source": "iana", - "compressible": false, - "extensions": ["mpeg","mpg","mpe","m1v","m2v"] - }, - "video/mpeg4-generic": { - "source": "iana" - }, - "video/mpv": { - "source": "iana" - }, - "video/nv": { - "source": "iana" - }, - "video/ogg": { - "source": "iana", - "compressible": false, - "extensions": ["ogv"] - }, - "video/parityfec": { - "source": "iana" - }, - "video/pointer": { - "source": "iana" - }, - "video/quicktime": { - "source": "iana", - "compressible": false, - "extensions": ["qt","mov"] - }, - "video/raptorfec": { - "source": "iana" - }, - "video/raw": { - "source": "iana" - }, - "video/rtp-enc-aescm128": { - "source": "iana" - }, - "video/rtploopback": { - "source": "iana" - }, - "video/rtx": { - "source": "iana" - }, - "video/scip": { - "source": "iana" - }, - "video/smpte291": { - "source": "iana" - }, - "video/smpte292m": { - "source": "iana" - }, - "video/ulpfec": { - "source": "iana" - }, - "video/vc1": { - "source": "iana" - }, - "video/vc2": { - "source": "iana" - }, - "video/vnd.cctv": { - "source": "iana" - }, - "video/vnd.dece.hd": { - "source": "iana", - "extensions": ["uvh","uvvh"] - }, - "video/vnd.dece.mobile": { - "source": "iana", - "extensions": ["uvm","uvvm"] - }, - "video/vnd.dece.mp4": { - "source": "iana" - }, - "video/vnd.dece.pd": { - "source": "iana", - "extensions": ["uvp","uvvp"] - }, - "video/vnd.dece.sd": { - "source": "iana", - "extensions": ["uvs","uvvs"] - }, - "video/vnd.dece.video": { - "source": "iana", - "extensions": ["uvv","uvvv"] - }, - "video/vnd.directv.mpeg": { - "source": "iana" - }, - "video/vnd.directv.mpeg-tts": { - "source": "iana" - }, - "video/vnd.dlna.mpeg-tts": { - "source": "iana" - }, - "video/vnd.dvb.file": { - "source": "iana", - "extensions": ["dvb"] - }, - "video/vnd.fvt": { - "source": "iana", - "extensions": ["fvt"] - }, - "video/vnd.hns.video": { - "source": "iana" - }, - "video/vnd.iptvforum.1dparityfec-1010": { - "source": "iana" - }, - "video/vnd.iptvforum.1dparityfec-2005": { - "source": "iana" - }, - "video/vnd.iptvforum.2dparityfec-1010": { - "source": "iana" - }, - "video/vnd.iptvforum.2dparityfec-2005": { - "source": "iana" - }, - "video/vnd.iptvforum.ttsavc": { - "source": "iana" - }, - "video/vnd.iptvforum.ttsmpeg2": { - "source": "iana" - }, - "video/vnd.motorola.video": { - "source": "iana" - }, - "video/vnd.motorola.videop": { - "source": "iana" - }, - "video/vnd.mpegurl": { - "source": "iana", - "extensions": ["mxu","m4u"] - }, - "video/vnd.ms-playready.media.pyv": { - "source": "iana", - "extensions": ["pyv"] - }, - "video/vnd.nokia.interleaved-multimedia": { - "source": "iana" - }, - "video/vnd.nokia.mp4vr": { - "source": "iana" - }, - "video/vnd.nokia.videovoip": { - "source": "iana" - }, - "video/vnd.objectvideo": { - "source": "iana" - }, - "video/vnd.planar": { - "source": "iana" - }, - "video/vnd.radgamettools.bink": { - "source": "iana" - }, - "video/vnd.radgamettools.smacker": { - "source": "apache" - }, - "video/vnd.sealed.mpeg1": { - "source": "iana" - }, - "video/vnd.sealed.mpeg4": { - "source": "iana" - }, - "video/vnd.sealed.swf": { - "source": "iana" - }, - "video/vnd.sealedmedia.softseal.mov": { - "source": "iana" - }, - "video/vnd.uvvu.mp4": { - "source": "iana", - "extensions": ["uvu","uvvu"] - }, - "video/vnd.vivo": { - "source": "iana", - "extensions": ["viv"] - }, - "video/vnd.youtube.yt": { - "source": "iana" - }, - "video/vp8": { - "source": "iana" - }, - "video/vp9": { - "source": "iana" - }, - "video/webm": { - "source": "apache", - "compressible": false, - "extensions": ["webm"] - }, - "video/x-f4v": { - "source": "apache", - "extensions": ["f4v"] - }, - "video/x-fli": { - "source": "apache", - "extensions": ["fli"] - }, - "video/x-flv": { - "source": "apache", - "compressible": false, - "extensions": ["flv"] - }, - "video/x-m4v": { - "source": "apache", - "extensions": ["m4v"] - }, - "video/x-matroska": { - "source": "apache", - "compressible": false, - "extensions": ["mkv","mk3d","mks"] - }, - "video/x-mng": { - "source": "apache", - "extensions": ["mng"] - }, - "video/x-ms-asf": { - "source": "apache", - "extensions": ["asf","asx"] - }, - "video/x-ms-vob": { - "source": "apache", - "extensions": ["vob"] - }, - "video/x-ms-wm": { - "source": "apache", - "extensions": ["wm"] - }, - "video/x-ms-wmv": { - "source": "apache", - "compressible": false, - "extensions": ["wmv"] - }, - "video/x-ms-wmx": { - "source": "apache", - "extensions": ["wmx"] - }, - "video/x-ms-wvx": { - "source": "apache", - "extensions": ["wvx"] - }, - "video/x-msvideo": { - "source": "apache", - "extensions": ["avi"] - }, - "video/x-sgi-movie": { - "source": "apache", - "extensions": ["movie"] - }, - "video/x-smv": { - "source": "apache", - "extensions": ["smv"] - }, - "x-conference/x-cooltalk": { - "source": "apache", - "extensions": ["ice"] - }, - "x-shader/x-fragment": { - "compressible": true - }, - "x-shader/x-vertex": { - "compressible": true - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-db/index.js b/Lombiq.EInvoiceValidator/node_modules/mime-db/index.js deleted file mode 100644 index ec2be30..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-db/index.js +++ /dev/null @@ -1,12 +0,0 @@ -/*! - * mime-db - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015-2022 Douglas Christopher Wilson - * MIT Licensed - */ - -/** - * Module exports. - */ - -module.exports = require('./db.json') diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-db/index.min.js b/Lombiq.EInvoiceValidator/node_modules/mime-db/index.min.js deleted file mode 100644 index e8cbd13..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-db/index.min.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Skipped minification because the original files appears to be already minified. - * Original file: /npm/mime-db@1.54.0/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -/*! - * mime-db - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015-2022 Douglas Christopher Wilson - * MIT Licensed - */ - -/** - * Module exports. - */ - -module.exports = require('./db.json') diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-db/package.json b/Lombiq.EInvoiceValidator/node_modules/mime-db/package.json deleted file mode 100644 index 289a370..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-db/package.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "name": "mime-db", - "description": "Media Type Database", - "version": "1.54.0", - "contributors": [ - "Douglas Christopher Wilson ", - "Jonathan Ong (http://jongleberry.com)", - "Robert Kieffer (http://github.com/broofa)" - ], - "license": "MIT", - "keywords": [ - "mime", - "db", - "type", - "types", - "database", - "charset", - "charsets" - ], - "repository": "jshttp/mime-db", - "devDependencies": { - "csv-parse": "4.16.3", - "eslint": "8.32.0", - "eslint-config-standard": "15.0.1", - "eslint-plugin-import": "2.27.5", - "eslint-plugin-markdown": "3.0.0", - "eslint-plugin-node": "11.1.0", - "eslint-plugin-promise": "6.1.1", - "eslint-plugin-standard": "4.1.0", - "media-typer": "1.1.0", - "mocha": "10.2.0", - "nyc": "15.1.0", - "stream-to-array": "2.3.0", - "undici": "7.1.0" - }, - "files": [ - "HISTORY.md", - "LICENSE", - "README.md", - "db.json", - "index.js" - ], - "engines": { - "node": ">= 0.6" - }, - "scripts": { - "build": "node scripts/build", - "fetch": "node scripts/fetch-apache && node scripts/fetch-iana && node scripts/fetch-nginx", - "lint": "eslint .", - "test": "mocha --reporter spec --check-leaks test/", - "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", - "test-cov": "nyc --reporter=html --reporter=text npm test", - "update": "npm run fetch && npm run build", - "version": "node scripts/version-history.js && git add HISTORY.md" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/HISTORY.md b/Lombiq.EInvoiceValidator/node_modules/mime-types/HISTORY.md deleted file mode 100644 index 9ba2dc0..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-types/HISTORY.md +++ /dev/null @@ -1,428 +0,0 @@ -3.0.2 / 2025-11-20 -=================== - -* Fix: update JSDoc to reflect that functions return only `false` or `string`, not `boolean|string`. -* Fix: refined mime-score logic so `.mp4` resolves correctly -* Fix:reflect the current Node.js version supported to ≥ 18 (See 3.0.0 for more details). - -3.0.1 / 2025-03-26 -=================== - -* deps: mime-db@1.54.0 - -3.0.0 / 2024-08-31 -=================== - -* Drop support for node <18 -* deps: mime-db@1.53.0 -* resolve extension conflicts with mime-score (#119) - * asc -> application/pgp-signature is now application/pgp-keys - * mpp -> application/vnd.ms-project is now application/dash-patch+xml - * ac -> application/vnd.nokia.n-gage.ac+xml is now application/pkix-attr-cert - * bdoc -> application/x-bdoc is now application/bdoc - * wmz -> application/x-msmetafile is now application/x-ms-wmz - * xsl -> application/xslt+xml is now application/xml - * wav -> audio/wave is now audio/wav - * rtf -> text/rtf is now application/rtf - * xml -> text/xml is now application/xml - * mp4 -> video/mp4 is now application/mp4 - * mpg4 -> video/mp4 is now application/mp4 - - -2.1.35 / 2022-03-12 -=================== - - * deps: mime-db@1.52.0 - - Add extensions from IANA for more `image/*` types - - Add extension `.asc` to `application/pgp-keys` - - Add extensions to various XML types - - Add new upstream MIME types - -2.1.34 / 2021-11-08 -=================== - - * deps: mime-db@1.51.0 - - Add new upstream MIME types - -2.1.33 / 2021-10-01 -=================== - - * deps: mime-db@1.50.0 - - Add deprecated iWorks mime types and extensions - - Add new upstream MIME types - -2.1.32 / 2021-07-27 -=================== - - * deps: mime-db@1.49.0 - - Add extension `.trig` to `application/trig` - - Add new upstream MIME types - -2.1.31 / 2021-06-01 -=================== - - * deps: mime-db@1.48.0 - - Add extension `.mvt` to `application/vnd.mapbox-vector-tile` - - Add new upstream MIME types - -2.1.30 / 2021-04-02 -=================== - - * deps: mime-db@1.47.0 - - Add extension `.amr` to `audio/amr` - - Remove ambigious extensions from IANA for `application/*+xml` types - - Update primary extension to `.es` for `application/ecmascript` - -2.1.29 / 2021-02-17 -=================== - - * deps: mime-db@1.46.0 - - Add extension `.amr` to `audio/amr` - - Add extension `.m4s` to `video/iso.segment` - - Add extension `.opus` to `audio/ogg` - - Add new upstream MIME types - -2.1.28 / 2021-01-01 -=================== - - * deps: mime-db@1.45.0 - - Add `application/ubjson` with extension `.ubj` - - Add `image/avif` with extension `.avif` - - Add `image/ktx2` with extension `.ktx2` - - Add extension `.dbf` to `application/vnd.dbf` - - Add extension `.rar` to `application/vnd.rar` - - Add extension `.td` to `application/urc-targetdesc+xml` - - Add new upstream MIME types - - Fix extension of `application/vnd.apple.keynote` to be `.key` - -2.1.27 / 2020-04-23 -=================== - - * deps: mime-db@1.44.0 - - Add charsets from IANA - - Add extension `.cjs` to `application/node` - - Add new upstream MIME types - -2.1.26 / 2020-01-05 -=================== - - * deps: mime-db@1.43.0 - - Add `application/x-keepass2` with extension `.kdbx` - - Add extension `.mxmf` to `audio/mobile-xmf` - - Add extensions from IANA for `application/*+xml` types - - Add new upstream MIME types - -2.1.25 / 2019-11-12 -=================== - - * deps: mime-db@1.42.0 - - Add new upstream MIME types - - Add `application/toml` with extension `.toml` - - Add `image/vnd.ms-dds` with extension `.dds` - -2.1.24 / 2019-04-20 -=================== - - * deps: mime-db@1.40.0 - - Add extensions from IANA for `model/*` types - - Add `text/mdx` with extension `.mdx` - -2.1.23 / 2019-04-17 -=================== - - * deps: mime-db@~1.39.0 - - Add extensions `.siv` and `.sieve` to `application/sieve` - - Add new upstream MIME types - -2.1.22 / 2019-02-14 -=================== - - * deps: mime-db@~1.38.0 - - Add extension `.nq` to `application/n-quads` - - Add extension `.nt` to `application/n-triples` - - Add new upstream MIME types - -2.1.21 / 2018-10-19 -=================== - - * deps: mime-db@~1.37.0 - - Add extensions to HEIC image types - - Add new upstream MIME types - -2.1.20 / 2018-08-26 -=================== - - * deps: mime-db@~1.36.0 - - Add Apple file extensions from IANA - - Add extensions from IANA for `image/*` types - - Add new upstream MIME types - -2.1.19 / 2018-07-17 -=================== - - * deps: mime-db@~1.35.0 - - Add extension `.csl` to `application/vnd.citationstyles.style+xml` - - Add extension `.es` to `application/ecmascript` - - Add extension `.owl` to `application/rdf+xml` - - Add new upstream MIME types - - Add UTF-8 as default charset for `text/turtle` - -2.1.18 / 2018-02-16 -=================== - - * deps: mime-db@~1.33.0 - - Add `application/raml+yaml` with extension `.raml` - - Add `application/wasm` with extension `.wasm` - - Add `text/shex` with extension `.shex` - - Add extensions for JPEG-2000 images - - Add extensions from IANA for `message/*` types - - Add new upstream MIME types - - Update font MIME types - - Update `text/hjson` to registered `application/hjson` - -2.1.17 / 2017-09-01 -=================== - - * deps: mime-db@~1.30.0 - - Add `application/vnd.ms-outlook` - - Add `application/x-arj` - - Add extension `.mjs` to `application/javascript` - - Add glTF types and extensions - - Add new upstream MIME types - - Add `text/x-org` - - Add VirtualBox MIME types - - Fix `source` records for `video/*` types that are IANA - - Update `font/opentype` to registered `font/otf` - -2.1.16 / 2017-07-24 -=================== - - * deps: mime-db@~1.29.0 - - Add `application/fido.trusted-apps+json` - - Add extension `.wadl` to `application/vnd.sun.wadl+xml` - - Add extension `.gz` to `application/gzip` - - Add new upstream MIME types - - Update extensions `.md` and `.markdown` to be `text/markdown` - -2.1.15 / 2017-03-23 -=================== - - * deps: mime-db@~1.27.0 - - Add new mime types - - Add `image/apng` - -2.1.14 / 2017-01-14 -=================== - - * deps: mime-db@~1.26.0 - - Add new mime types - -2.1.13 / 2016-11-18 -=================== - - * deps: mime-db@~1.25.0 - - Add new mime types - -2.1.12 / 2016-09-18 -=================== - - * deps: mime-db@~1.24.0 - - Add new mime types - - Add `audio/mp3` - -2.1.11 / 2016-05-01 -=================== - - * deps: mime-db@~1.23.0 - - Add new mime types - -2.1.10 / 2016-02-15 -=================== - - * deps: mime-db@~1.22.0 - - Add new mime types - - Fix extension of `application/dash+xml` - - Update primary extension for `audio/mp4` - -2.1.9 / 2016-01-06 -================== - - * deps: mime-db@~1.21.0 - - Add new mime types - -2.1.8 / 2015-11-30 -================== - - * deps: mime-db@~1.20.0 - - Add new mime types - -2.1.7 / 2015-09-20 -================== - - * deps: mime-db@~1.19.0 - - Add new mime types - -2.1.6 / 2015-09-03 -================== - - * deps: mime-db@~1.18.0 - - Add new mime types - -2.1.5 / 2015-08-20 -================== - - * deps: mime-db@~1.17.0 - - Add new mime types - -2.1.4 / 2015-07-30 -================== - - * deps: mime-db@~1.16.0 - - Add new mime types - -2.1.3 / 2015-07-13 -================== - - * deps: mime-db@~1.15.0 - - Add new mime types - -2.1.2 / 2015-06-25 -================== - - * deps: mime-db@~1.14.0 - - Add new mime types - -2.1.1 / 2015-06-08 -================== - - * perf: fix deopt during mapping - -2.1.0 / 2015-06-07 -================== - - * Fix incorrectly treating extension-less file name as extension - - i.e. `'path/to/json'` will no longer return `application/json` - * Fix `.charset(type)` to accept parameters - * Fix `.charset(type)` to match case-insensitive - * Improve generation of extension to MIME mapping - * Refactor internals for readability and no argument reassignment - * Prefer `application/*` MIME types from the same source - * Prefer any type over `application/octet-stream` - * deps: mime-db@~1.13.0 - - Add nginx as a source - - Add new mime types - -2.0.14 / 2015-06-06 -=================== - - * deps: mime-db@~1.12.0 - - Add new mime types - -2.0.13 / 2015-05-31 -=================== - - * deps: mime-db@~1.11.0 - - Add new mime types - -2.0.12 / 2015-05-19 -=================== - - * deps: mime-db@~1.10.0 - - Add new mime types - -2.0.11 / 2015-05-05 -=================== - - * deps: mime-db@~1.9.1 - - Add new mime types - -2.0.10 / 2015-03-13 -=================== - - * deps: mime-db@~1.8.0 - - Add new mime types - -2.0.9 / 2015-02-09 -================== - - * deps: mime-db@~1.7.0 - - Add new mime types - - Community extensions ownership transferred from `node-mime` - -2.0.8 / 2015-01-29 -================== - - * deps: mime-db@~1.6.0 - - Add new mime types - -2.0.7 / 2014-12-30 -================== - - * deps: mime-db@~1.5.0 - - Add new mime types - - Fix various invalid MIME type entries - -2.0.6 / 2014-12-30 -================== - - * deps: mime-db@~1.4.0 - - Add new mime types - - Fix various invalid MIME type entries - - Remove example template MIME types - -2.0.5 / 2014-12-29 -================== - - * deps: mime-db@~1.3.1 - - Fix missing extensions - -2.0.4 / 2014-12-10 -================== - - * deps: mime-db@~1.3.0 - - Add new mime types - -2.0.3 / 2014-11-09 -================== - - * deps: mime-db@~1.2.0 - - Add new mime types - -2.0.2 / 2014-09-28 -================== - - * deps: mime-db@~1.1.0 - - Add new mime types - - Update charsets - -2.0.1 / 2014-09-07 -================== - - * Support Node.js 0.6 - -2.0.0 / 2014-09-02 -================== - - * Use `mime-db` - * Remove `.define()` - -1.0.2 / 2014-08-04 -================== - - * Set charset=utf-8 for `text/javascript` - -1.0.1 / 2014-06-24 -================== - - * Add `text/jsx` type - -1.0.0 / 2014-05-12 -================== - - * Return `false` for unknown types - * Set charset=utf-8 for `application/json` - -0.1.0 / 2014-05-02 -================== - - * Initial release diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/LICENSE b/Lombiq.EInvoiceValidator/node_modules/mime-types/LICENSE deleted file mode 100644 index 0616607..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-types/LICENSE +++ /dev/null @@ -1,23 +0,0 @@ -(The MIT License) - -Copyright (c) 2014 Jonathan Ong -Copyright (c) 2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/README.md b/Lombiq.EInvoiceValidator/node_modules/mime-types/README.md deleted file mode 100644 index 222d2b5..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-types/README.md +++ /dev/null @@ -1,126 +0,0 @@ -# mime-types - -[![NPM Version][npm-version-image]][npm-url] -[![NPM Downloads][npm-downloads-image]][npm-url] -[![Node.js Version][node-version-image]][node-version-url] -[![Build Status][ci-image]][ci-url] -[![Test Coverage][coveralls-image]][coveralls-url] - -The ultimate javascript content-type utility. - -Similar to [the `mime@1.x` module](https://www.npmjs.com/package/mime), except: - -- __No fallbacks.__ Instead of naively returning the first available type, - `mime-types` simply returns `false`, so do - `var type = mime.lookup('unrecognized') || 'application/octet-stream'`. -- No `new Mime()` business, so you could do `var lookup = require('mime-types').lookup`. -- No `.define()` functionality -- Bug fixes for `.lookup(path)` - -Otherwise, the API is compatible with `mime` 1.x. - -## Install - -This is a [Node.js](https://nodejs.org/en/) module available through the -[npm registry](https://www.npmjs.com/). Installation is done using the -[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): - -```sh -$ npm install mime-types -``` - -## Note on MIME Type Data and Semver - -This package considers the programmatic api as the semver compatibility. Additionally, the package which provides the MIME data -for this package (`mime-db`) *also* considers it's programmatic api as the semver contract. This means the MIME type resolution is *not* considered -in the semver bumps. - -In the past the version of `mime-db` was pinned to give two decision points when adopting MIME data changes. This is no longer true. We still update the -`mime-db` package here as a `minor` release when necessary, but will use a `^` range going forward. This means that if you want to pin your `mime-db` data -you will need to do it in your application. While this expectation was not set in docs until now, it is how the pacakge operated, so we do not feel this is -a breaking change. - -If you wish to pin your `mime-db` version you can do that with overrides via your package manager of choice. See their documentation for how to correctly configure that. - -## Adding Types - -All mime types are based on [mime-db](https://www.npmjs.com/package/mime-db), -so open a PR there if you'd like to add mime types. - -## API - -```js -var mime = require('mime-types') -``` - -All functions return `false` if input is invalid or not found. - -### mime.lookup(path) - -Lookup the content-type associated with a file. - -```js -mime.lookup('json') // 'application/json' -mime.lookup('.md') // 'text/markdown' -mime.lookup('file.html') // 'text/html' -mime.lookup('folder/file.js') // 'application/javascript' -mime.lookup('folder/.htaccess') // false - -mime.lookup('cats') // false -``` - -### mime.contentType(type) - -Create a full content-type header given a content-type or extension. -When given an extension, `mime.lookup` is used to get the matching -content-type, otherwise the given content-type is used. Then if the -content-type does not already have a `charset` parameter, `mime.charset` -is used to get the default charset and add to the returned content-type. - -```js -mime.contentType('markdown') // 'text/x-markdown; charset=utf-8' -mime.contentType('file.json') // 'application/json; charset=utf-8' -mime.contentType('text/html') // 'text/html; charset=utf-8' -mime.contentType('text/html; charset=iso-8859-1') // 'text/html; charset=iso-8859-1' - -// from a full path -mime.contentType(path.extname('/path/to/file.json')) // 'application/json; charset=utf-8' -``` - -### mime.extension(type) - -Get the default extension for a content-type. - -```js -mime.extension('application/octet-stream') // 'bin' -``` - -### mime.charset(type) - -Lookup the implied default charset of a content-type. - -```js -mime.charset('text/markdown') // 'UTF-8' -``` - -### var type = mime.types[extension] - -A map of content-types by extension. - -### [extensions...] = mime.extensions[type] - -A map of extensions by content-type. - -## License - -[MIT](LICENSE) - -[ci-image]: https://badgen.net/github/checks/jshttp/mime-types/master?label=ci -[ci-url]: https://github.com/jshttp/mime-types/actions/workflows/ci.yml -[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/mime-types/master -[coveralls-url]: https://coveralls.io/r/jshttp/mime-types?branch=master -[node-version-image]: https://badgen.net/npm/node/mime-types -[node-version-url]: https://nodejs.org/en/download -[npm-downloads-image]: https://badgen.net/npm/dm/mime-types -[npm-url]: https://npmjs.org/package/mime-types -[npm-version-image]: https://badgen.net/npm/v/mime-types diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/index.js b/Lombiq.EInvoiceValidator/node_modules/mime-types/index.js deleted file mode 100644 index 9725ddf..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-types/index.js +++ /dev/null @@ -1,211 +0,0 @@ -/*! - * mime-types - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ - -'use strict' - -/** - * Module dependencies. - * @private - */ - -var db = require('mime-db') -var extname = require('path').extname -var mimeScore = require('./mimeScore') - -/** - * Module variables. - * @private - */ - -var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/ -var TEXT_TYPE_REGEXP = /^text\//i - -/** - * Module exports. - * @public - */ - -exports.charset = charset -exports.charsets = { lookup: charset } -exports.contentType = contentType -exports.extension = extension -exports.extensions = Object.create(null) -exports.lookup = lookup -exports.types = Object.create(null) -exports._extensionConflicts = [] - -// Populate the extensions/types maps -populateMaps(exports.extensions, exports.types) - -/** - * Get the default charset for a MIME type. - * - * @param {string} type - * @return {false|string} - */ - -function charset (type) { - if (!type || typeof type !== 'string') { - return false - } - - // TODO: use media-typer - var match = EXTRACT_TYPE_REGEXP.exec(type) - var mime = match && db[match[1].toLowerCase()] - - if (mime && mime.charset) { - return mime.charset - } - - // default text/* to utf-8 - if (match && TEXT_TYPE_REGEXP.test(match[1])) { - return 'UTF-8' - } - - return false -} - -/** - * Create a full Content-Type header given a MIME type or extension. - * - * @param {string} str - * @return {false|string} - */ - -function contentType (str) { - // TODO: should this even be in this module? - if (!str || typeof str !== 'string') { - return false - } - - var mime = str.indexOf('/') === -1 ? exports.lookup(str) : str - - if (!mime) { - return false - } - - // TODO: use content-type or other module - if (mime.indexOf('charset') === -1) { - var charset = exports.charset(mime) - if (charset) mime += '; charset=' + charset.toLowerCase() - } - - return mime -} - -/** - * Get the default extension for a MIME type. - * - * @param {string} type - * @return {false|string} - */ - -function extension (type) { - if (!type || typeof type !== 'string') { - return false - } - - // TODO: use media-typer - var match = EXTRACT_TYPE_REGEXP.exec(type) - - // get extensions - var exts = match && exports.extensions[match[1].toLowerCase()] - - if (!exts || !exts.length) { - return false - } - - return exts[0] -} - -/** - * Lookup the MIME type for a file path/extension. - * - * @param {string} path - * @return {false|string} - */ - -function lookup (path) { - if (!path || typeof path !== 'string') { - return false - } - - // get the extension ("ext" or ".ext" or full path) - var extension = extname('x.' + path) - .toLowerCase() - .slice(1) - - if (!extension) { - return false - } - - return exports.types[extension] || false -} - -/** - * Populate the extensions and types maps. - * @private - */ - -function populateMaps (extensions, types) { - Object.keys(db).forEach(function forEachMimeType (type) { - var mime = db[type] - var exts = mime.extensions - - if (!exts || !exts.length) { - return - } - - // mime -> extensions - extensions[type] = exts - - // extension -> mime - for (var i = 0; i < exts.length; i++) { - var extension = exts[i] - types[extension] = _preferredType(extension, types[extension], type) - - // DELETE (eventually): Capture extension->type maps that change as a - // result of switching to mime-score. This is just to help make reviewing - // PR #119 easier, and can be removed once that PR is approved. - const legacyType = _preferredTypeLegacy( - extension, - types[extension], - type - ) - if (legacyType !== types[extension]) { - exports._extensionConflicts.push([extension, legacyType, types[extension]]) - } - } - }) -} - -// Resolve type conflict using mime-score -function _preferredType (ext, type0, type1) { - var score0 = type0 ? mimeScore(type0, db[type0].source) : 0 - var score1 = type1 ? mimeScore(type1, db[type1].source) : 0 - - return score0 > score1 ? type0 : type1 -} - -// Resolve type conflict using pre-mime-score logic -function _preferredTypeLegacy (ext, type0, type1) { - var SOURCE_RANK = ['nginx', 'apache', undefined, 'iana'] - - var score0 = type0 ? SOURCE_RANK.indexOf(db[type0].source) : 0 - var score1 = type1 ? SOURCE_RANK.indexOf(db[type1].source) : 0 - - if ( - exports.types[extension] !== 'application/octet-stream' && - (score0 > score1 || - (score0 === score1 && - exports.types[extension]?.slice(0, 12) === 'application/')) - ) { - return type0 - } - - return score0 > score1 ? type0 : type1 -} diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/index.min.js b/Lombiq.EInvoiceValidator/node_modules/mime-types/index.min.js deleted file mode 100644 index ca80d60..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-types/index.min.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/mime-types@3.0.2/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -/*! - * mime-types - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ -"use strict";var db=require("mime-db"),extname=require("path").extname,mimeScore=require("./mimeScore"),EXTRACT_TYPE_REGEXP=/^\s*([^;\s]*)(?:;|\s|$)/,TEXT_TYPE_REGEXP=/^text\//i;function charset(e){if(!e||"string"!=typeof e)return!1;var t=EXTRACT_TYPE_REGEXP.exec(e),r=t&&db[t[1].toLowerCase()];return r&&r.charset?r.charset:!(!t||!TEXT_TYPE_REGEXP.test(t[1]))&&"UTF-8"}function contentType(e){if(!e||"string"!=typeof e)return!1;var t=-1===e.indexOf("/")?exports.lookup(e):e;if(!t)return!1;if(-1===t.indexOf("charset")){var r=exports.charset(t);r&&(t+="; charset="+r.toLowerCase())}return t}function extension(e){if(!e||"string"!=typeof e)return!1;var t=EXTRACT_TYPE_REGEXP.exec(e),r=t&&exports.extensions[t[1].toLowerCase()];return!(!r||!r.length)&&r[0]}function lookup(e){if(!e||"string"!=typeof e)return!1;var t=extname("x."+e).toLowerCase().slice(1);return t&&exports.types[t]||!1}function populateMaps(e,t){Object.keys(db).forEach((function(r){var o=db[r].extensions;if(o&&o.length){e[r]=o;for(var n=0;n(r?mimeScore(r,db[r].source):0)?t:r}function _preferredTypeLegacy(e,t,r){var o=["nginx","apache",void 0,"iana"],n=t?o.indexOf(db[t].source):0,s=r?o.indexOf(db[r].source):0;return"application/octet-stream"!==exports.types[extension]&&(n>s||n===s&&"application/"===exports.types[extension]?.slice(0,12))||n>s?t:r}exports.charset=charset,exports.charsets={lookup:charset},exports.contentType=contentType,exports.extension=extension,exports.extensions=Object.create(null),exports.lookup=lookup,exports.types=Object.create(null),exports._extensionConflicts=[],populateMaps(exports.extensions,exports.types); -//# sourceMappingURL=/sm/88a9bdfab1fbcc85fcf1cb936cb7c785670ff4b5775017c645422fa318fa440f.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.js b/Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.js deleted file mode 100644 index fc2e665..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.js +++ /dev/null @@ -1,57 +0,0 @@ -// 'mime-score' back-ported to CommonJS - -// Score RFC facets (see https://tools.ietf.org/html/rfc6838#section-3) -var FACET_SCORES = { - 'prs.': 100, - 'x-': 200, - 'x.': 300, - 'vnd.': 400, - default: 900 -} - -// Score mime source (Logic originally from `jshttp/mime-types` module) -var SOURCE_SCORES = { - nginx: 10, - apache: 20, - iana: 40, - default: 30 // definitions added by `jshttp/mime-db` project? -} - -var TYPE_SCORES = { - // prefer application/xml over text/xml - // prefer application/rtf over text/rtf - application: 1, - - // prefer font/woff over application/font-woff - font: 2, - - // prefer video/mp4 over audio/mp4 over application/mp4 - // See https://www.rfc-editor.org/rfc/rfc4337.html#section-2 - audio: 2, - video: 3, - - default: 0 -} - -/** - * Get each component of the score for a mime type. The sum of these is the - * total score. The higher the score, the more "official" the type. - */ -module.exports = function mimeScore (mimeType, source = 'default') { - if (mimeType === 'application/octet-stream') { - return 0 - } - - const [type, subtype] = mimeType.split('/') - - const facet = subtype.replace(/(\.|x-).*/, '$1') - - const facetScore = FACET_SCORES[facet] || FACET_SCORES.default - const sourceScore = SOURCE_SCORES[source] || SOURCE_SCORES.default - const typeScore = TYPE_SCORES[type] || TYPE_SCORES.default - - // All else being equal prefer shorter types - const lengthScore = 1 - mimeType.length / 100 - - return facetScore + sourceScore + typeScore + lengthScore -} diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.min.js b/Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.min.js deleted file mode 100644 index 034d6d7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-types/mimeScore.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/mime-types@3.0.2/mimeScore.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var FACET_SCORES={"prs.":100,"x-":200,"x.":300,"vnd.":400,default:900},SOURCE_SCORES={nginx:10,apache:20,iana:40,default:30},TYPE_SCORES={application:1,font:2,audio:2,video:3,default:0};module.exports=function(S,t="default"){if("application/octet-stream"===S)return 0;const[a,e]=S.split("/"),E=e.replace(/(\.|x-).*/,"$1");return(FACET_SCORES[E]||FACET_SCORES.default)+(SOURCE_SCORES[t]||SOURCE_SCORES.default)+(TYPE_SCORES[a]||TYPE_SCORES.default)+(1-S.length/100)}; -//# sourceMappingURL=/sm/5ac08751971cd1370f7a9891e2626a373324fb29ca8285c0eb239a97431f4a35.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/mime-types/package.json b/Lombiq.EInvoiceValidator/node_modules/mime-types/package.json deleted file mode 100644 index 6c58c27..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/mime-types/package.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "mime-types", - "description": "The ultimate javascript content-type utility.", - "version": "3.0.2", - "contributors": [ - "Douglas Christopher Wilson ", - "Jeremiah Senkpiel (https://searchbeam.jit.su)", - "Jonathan Ong (http://jongleberry.com)" - ], - "license": "MIT", - "keywords": [ - "mime", - "types" - ], - "repository": "jshttp/mime-types", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - }, - "dependencies": { - "mime-db": "^1.54.0" - }, - "devDependencies": { - "eslint": "8.33.0", - "eslint-config-standard": "14.1.1", - "eslint-plugin-import": "2.32.0", - "eslint-plugin-markdown": "3.0.1", - "eslint-plugin-node": "11.1.0", - "eslint-plugin-promise": "6.6.0", - "eslint-plugin-standard": "4.1.0", - "mocha": "10.8.2", - "nyc": "15.1.0" - }, - "files": [ - "HISTORY.md", - "LICENSE", - "index.js", - "mimeScore.js" - ], - "engines": { - "node": ">=18" - }, - "scripts": { - "lint": "eslint .", - "test": "mocha --reporter spec test/test.js", - "test-ci": "nyc --reporter=lcov --reporter=text npm test", - "test-cov": "nyc --reporter=html --reporter=text npm test" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/ms/index.js b/Lombiq.EInvoiceValidator/node_modules/ms/index.js deleted file mode 100644 index ea734fb..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/ms/index.js +++ /dev/null @@ -1,162 +0,0 @@ -/** - * Helpers. - */ - -var s = 1000; -var m = s * 60; -var h = m * 60; -var d = h * 24; -var w = d * 7; -var y = d * 365.25; - -/** - * Parse or format the given `val`. - * - * Options: - * - * - `long` verbose formatting [false] - * - * @param {String|Number} val - * @param {Object} [options] - * @throws {Error} throw an error if val is not a non-empty string or a number - * @return {String|Number} - * @api public - */ - -module.exports = function (val, options) { - options = options || {}; - var type = typeof val; - if (type === 'string' && val.length > 0) { - return parse(val); - } else if (type === 'number' && isFinite(val)) { - return options.long ? fmtLong(val) : fmtShort(val); - } - throw new Error( - 'val is not a non-empty string or a valid number. val=' + - JSON.stringify(val) - ); -}; - -/** - * Parse the given `str` and return milliseconds. - * - * @param {String} str - * @return {Number} - * @api private - */ - -function parse(str) { - str = String(str); - if (str.length > 100) { - return; - } - var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( - str - ); - if (!match) { - return; - } - var n = parseFloat(match[1]); - var type = (match[2] || 'ms').toLowerCase(); - switch (type) { - case 'years': - case 'year': - case 'yrs': - case 'yr': - case 'y': - return n * y; - case 'weeks': - case 'week': - case 'w': - return n * w; - case 'days': - case 'day': - case 'd': - return n * d; - case 'hours': - case 'hour': - case 'hrs': - case 'hr': - case 'h': - return n * h; - case 'minutes': - case 'minute': - case 'mins': - case 'min': - case 'm': - return n * m; - case 'seconds': - case 'second': - case 'secs': - case 'sec': - case 's': - return n * s; - case 'milliseconds': - case 'millisecond': - case 'msecs': - case 'msec': - case 'ms': - return n; - default: - return undefined; - } -} - -/** - * Short format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ - -function fmtShort(ms) { - var msAbs = Math.abs(ms); - if (msAbs >= d) { - return Math.round(ms / d) + 'd'; - } - if (msAbs >= h) { - return Math.round(ms / h) + 'h'; - } - if (msAbs >= m) { - return Math.round(ms / m) + 'm'; - } - if (msAbs >= s) { - return Math.round(ms / s) + 's'; - } - return ms + 'ms'; -} - -/** - * Long format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ - -function fmtLong(ms) { - var msAbs = Math.abs(ms); - if (msAbs >= d) { - return plural(ms, msAbs, d, 'day'); - } - if (msAbs >= h) { - return plural(ms, msAbs, h, 'hour'); - } - if (msAbs >= m) { - return plural(ms, msAbs, m, 'minute'); - } - if (msAbs >= s) { - return plural(ms, msAbs, s, 'second'); - } - return ms + ' ms'; -} - -/** - * Pluralization helper. - */ - -function plural(ms, msAbs, n, name) { - var isPlural = msAbs >= n * 1.5; - return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); -} diff --git a/Lombiq.EInvoiceValidator/node_modules/ms/index.min.js b/Lombiq.EInvoiceValidator/node_modules/ms/index.min.js deleted file mode 100644 index b92d9ea..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/ms/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/ms@2.1.3/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var s=1e3,m=60*s,h=60*m,d=24*h,w=7*d,y=365.25*d;function parse(e){if(!((e=String(e)).length>100)){var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(r){var a=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*y;case"weeks":case"week":case"w":return a*w;case"days":case"day":case"d":return a*d;case"hours":case"hour":case"hrs":case"hr":case"h":return a*h;case"minutes":case"minute":case"mins":case"min":case"m":return a*m;case"seconds":case"second":case"secs":case"sec":case"s":return a*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}function fmtShort(e){var r=Math.abs(e);return r>=d?Math.round(e/d)+"d":r>=h?Math.round(e/h)+"h":r>=m?Math.round(e/m)+"m":r>=s?Math.round(e/s)+"s":e+"ms"}function fmtLong(e){var r=Math.abs(e);return r>=d?plural(e,r,d,"day"):r>=h?plural(e,r,h,"hour"):r>=m?plural(e,r,m,"minute"):r>=s?plural(e,r,s,"second"):e+" ms"}function plural(s,e,r,a){var n=e>=1.5*r;return Math.round(s/r)+" "+a+(n?"s":"")}module.exports=function(s,e){e=e||{};var r=typeof s;if("string"===r&&s.length>0)return parse(s);if("number"===r&&isFinite(s))return e.long?fmtLong(s):fmtShort(s);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))}; -//# sourceMappingURL=/sm/ece95cba7ad43e9f9032f849cb38665a809bab51e03df69d4baa7cbdaec40fc4.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/ms/license.md b/Lombiq.EInvoiceValidator/node_modules/ms/license.md deleted file mode 100644 index fa5d39b..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/ms/license.md +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2020 Vercel, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/ms/package.json b/Lombiq.EInvoiceValidator/node_modules/ms/package.json deleted file mode 100644 index 4997189..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/ms/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "ms", - "version": "2.1.3", - "description": "Tiny millisecond conversion utility", - "repository": "vercel/ms", - "main": "./index", - "files": [ - "index.js" - ], - "scripts": { - "precommit": "lint-staged", - "lint": "eslint lib/* bin/*", - "test": "mocha tests.js" - }, - "eslintConfig": { - "extends": "eslint:recommended", - "env": { - "node": true, - "es6": true - } - }, - "lint-staged": { - "*.js": [ - "npm run lint", - "prettier --single-quote --write", - "git add" - ] - }, - "license": "MIT", - "devDependencies": { - "eslint": "4.18.2", - "expect.js": "0.3.1", - "husky": "0.14.3", - "lint-staged": "5.0.0", - "mocha": "4.0.1", - "prettier": "2.0.5" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/ms/readme.md b/Lombiq.EInvoiceValidator/node_modules/ms/readme.md deleted file mode 100644 index 0fc1abb..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/ms/readme.md +++ /dev/null @@ -1,59 +0,0 @@ -# ms - -![CI](https://github.com/vercel/ms/workflows/CI/badge.svg) - -Use this package to easily convert various time formats to milliseconds. - -## Examples - -```js -ms('2 days') // 172800000 -ms('1d') // 86400000 -ms('10h') // 36000000 -ms('2.5 hrs') // 9000000 -ms('2h') // 7200000 -ms('1m') // 60000 -ms('5s') // 5000 -ms('1y') // 31557600000 -ms('100') // 100 -ms('-3 days') // -259200000 -ms('-1h') // -3600000 -ms('-200') // -200 -``` - -### Convert from Milliseconds - -```js -ms(60000) // "1m" -ms(2 * 60000) // "2m" -ms(-3 * 60000) // "-3m" -ms(ms('10 hours')) // "10h" -``` - -### Time Format Written-Out - -```js -ms(60000, { long: true }) // "1 minute" -ms(2 * 60000, { long: true }) // "2 minutes" -ms(-3 * 60000, { long: true }) // "-3 minutes" -ms(ms('10 hours'), { long: true }) // "10 hours" -``` - -## Features - -- Works both in [Node.js](https://nodejs.org) and in the browser -- If a number is supplied to `ms`, a string with a unit is returned -- If a string that contains the number is supplied, it returns it as a number (e.g.: it returns `100` for `'100'`) -- If you pass a string with a number and a valid unit, the number of equivalent milliseconds is returned - -## Related Packages - -- [ms.macro](https://github.com/knpwrs/ms.macro) - Run `ms` as a macro at build-time. - -## Caught a Bug? - -1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device -2. Link the package to the global module directory: `npm link` -3. Within the module you want to test your local development instance of ms, just link it to the dependencies: `npm link ms`. Instead of the default one from npm, Node.js will now use your clone of ms! - -As always, you can run the tests using: `npm test` diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts deleted file mode 100644 index d4a5d6c..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import type { OutgoingHttpHeaders, IncomingHttpHeaders } from 'http'; -export interface ProxyAuthResponse { - headers: OutgoingHttpHeaders; -} -export interface ProxyAuthParams { - response: { - statusCode: number; - headers: IncomingHttpHeaders; - }; - scheme: string; -} -export type OnProxyAuthCallback = (params: ProxyAuthParams) => Promise; -export declare function createNegotiateAuth(): OnProxyAuthCallback; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts.map b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts.map deleted file mode 100644 index c61e735..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAErE,MAAM,WAAW,iBAAiB;IACjC,OAAO,EAAE,mBAAmB,CAAC;CAC7B;AAED,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE;QACT,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,mBAAmB,CAAC;KAC7B,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,mBAAmB,GAAG,CACjC,MAAM,EAAE,eAAe,KACnB,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEhC,wBAAgB,mBAAmB,IAAI,mBAAmB,CAwCzD"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js deleted file mode 100644 index a6f7219..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js +++ /dev/null @@ -1,35 +0,0 @@ -export function createNegotiateAuth() { - return async ({ response, scheme }) => { - if (scheme.toLowerCase() !== 'negotiate') { - throw new Error(`Expected Negotiate scheme but got "${scheme}"`); - } - let kerberos; - try { - kerberos = await import('kerberos'); - } - catch { - throw new Error('The "kerberos" package is required for Negotiate proxy authentication. ' + - 'Install it with: npm install kerberos'); - } - const proxyAuthenticate = response.headers['proxy-authenticate'] || ''; - const challengeHeader = Array.isArray(proxyAuthenticate) - ? proxyAuthenticate[0] - : proxyAuthenticate; - const serverToken = typeof challengeHeader === 'string' && challengeHeader.includes(' ') - ? challengeHeader.split(' ').slice(1).join(' ') - : undefined; - const client = await kerberos.initializeClient('HTTP@proxy', { - mechOID: kerberos.GSS_MECH_OID_SPNEGO, - }); - const token = await client.step(serverToken || ''); - if (!token) { - throw new Error('Kerberos client.step() returned no token'); - } - return { - headers: { - 'Proxy-Authorization': `Negotiate ${token}`, - }, - }; - }; -} -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js.map b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js.map deleted file mode 100644 index 5a59b27..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAkBA,MAAM,UAAU,mBAAmB;IAClC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE;QACrC,IAAI,MAAM,CAAC,WAAW,EAAE,KAAK,WAAW,EAAE,CAAC;YAC1C,MAAM,IAAI,KAAK,CAAC,sCAAsC,MAAM,GAAG,CAAC,CAAC;QAClE,CAAC;QAED,IAAI,QAAQ,CAAC;QACb,IAAI,CAAC;YACJ,QAAQ,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,CAAC;QACrC,CAAC;QAAC,MAAM,CAAC;YACR,MAAM,IAAI,KAAK,CACd,yEAAyE;gBACxE,uCAAuC,CACxC,CAAC;QACH,CAAC;QAED,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC;QACvE,MAAM,eAAe,GAAG,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC;YACvD,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC;YACtB,CAAC,CAAC,iBAAiB,CAAC;QACrB,MAAM,WAAW,GAChB,OAAO,eAAe,KAAK,QAAQ,IAAI,eAAe,CAAC,QAAQ,CAAC,GAAG,CAAC;YACnE,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;YAC/C,CAAC,CAAC,SAAS,CAAC;QAEd,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,gBAAgB,CAAC,YAAY,EAAE;YAC5D,OAAO,EAAE,QAAQ,CAAC,mBAAmB;SACrC,CAAC,CAAC;QAEH,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC;QACnD,IAAI,CAAC,KAAK,EAAE,CAAC;YACZ,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;QAC7D,CAAC;QAED,OAAO;YACN,OAAO,EAAE;gBACR,qBAAqB,EAAE,aAAa,KAAK,EAAE;aAC3C;SACD,CAAC;IACH,CAAC,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.min.js b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.min.js deleted file mode 100644 index 83e4998..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/dist/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.48.0. - * Original file: /npm/proxy-agent-negotiate@1.1.0/dist/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -export function createNegotiateAuth(){return async({response:e,scheme:t})=>{if("negotiate"!==t.toLowerCase())throw new Error(`Expected Negotiate scheme but got "${t}"`);let r;try{r=await import("kerberos")}catch{throw new Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}const o=e.headers["proxy-authenticate"]||"",i=Array.isArray(o)?o[0]:o,a="string"==typeof i&&i.includes(" ")?i.split(" ").slice(1).join(" "):void 0,n=await r.initializeClient("HTTP@proxy",{mechOID:r.GSS_MECH_OID_SPNEGO}),s=await n.step(a||"");if(!s)throw new Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${s}`}}}} -//# sourceMappingURL=/sm/fb25ec3430ddc9f35945dbcebed283d962ce7d2ecd92b12c8486cb49cecf57e3.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/package.json b/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/package.json deleted file mode 100644 index 2e5697a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/proxy-agent-negotiate/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "proxy-agent-negotiate", - "version": "1.1.0", - "type": "module", - "description": "Negotiate/SPNEGO proxy authentication for proxy-agents", - "exports": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - }, - "files": [ - "dist" - ], - "repository": { - "type": "git", - "url": "https://github.com/TooTallNate/proxy-agents.git", - "directory": "packages/negotiate" - }, - "keywords": [ - "proxy", - "negotiate", - "kerberos", - "spnego", - "authentication" - ], - "author": "Nathan Rajlich (http://n8.io/)", - "license": "MIT", - "devDependencies": { - "@types/node": "^22.13.0", - "typescript": "^5.1.6", - "tsconfig": "0.0.0" - }, - "engines": { - "node": ">= 20" - }, - "peerDependencies": { - "kerberos": "^2.0.0" - }, - "peerDependenciesMeta": { - "kerberos": { - "optional": true - } - }, - "scripts": { - "build": "tsc", - "pack": "node ../../scripts/pack.mjs" - } -} \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/LICENSE b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/LICENSE deleted file mode 100644 index 8f25097..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License - -Copyright (C) 2016-2018 Rob Wu - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/README.md b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/README.md deleted file mode 100644 index 1c00ecf..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/README.md +++ /dev/null @@ -1,163 +0,0 @@ -# proxy-from-env - -![Build Status](https://github.com/Rob--W/proxy-from-env/actions/workflows/run-tests.yaml/badge.svg?branch=master) -[![Coverage Status](https://coveralls.io/repos/github/Rob--W/proxy-from-env/badge.svg?branch=master)](https://coveralls.io/github/Rob--W/proxy-from-env?branch=master) - -`proxy-from-env` is a Node.js package that exports a function (`getProxyForUrl`) -that takes an input URL (a string, an instance of -[`URL`](https://nodejs.org/docs/latest/api/url.html#the-whatwg-url-api), -or [`url.parse`](https://nodejs.org/docs/latest/api/url.html#url_url_parsing)'s -return value) and returns the desired proxy URL (also a string) based on -standard proxy environment variables. If no proxy is set, an empty string is -returned. - -If your application makes important (security) decisions based on the URL, be -consistent in the mechanism to parse and validate URLs, as differences in URL -parsing behavior can affect the outcome of proxy resolution. -Strings are parsed with the standard `URL` API, as of `proxy-from-env@2.0.0`. -Older versions relied on the (now deprecated) `url.parse` method instead. - -Invalid values in environment variables are not handled by the library -([#41](https://github.com/Rob--W/proxy-from-env/issues/41)). - -It is your responsibility to actually proxy the request using the given URL. - -Installation: - -```sh -npm install proxy-from-env -``` - -## Example -This example shows how the data for a URL can be fetched via the -[`http` module](https://nodejs.org/api/http.html), in a proxy-aware way. - -warning: this simple example works for http requests only. To support https, -you must establish a proxy tunnel via the -[http `connect` method](https://developer.mozilla.org/en-us/docs/web/http/reference/methods/connect). - -```javascript -import http from 'node:test'; -import { getProxyForUrl } from 'proxy-from-env'; -// ^ or: var getProxyForUrl = require('proxy-from-env').getProxyForUrl; - -var some_url = 'http://example.com/something'; - -// // Example, if there is a proxy server at 10.0.0.1:1234, then setting the -// // http_proxy environment variable causes the request to go through a proxy. -// process.env.http_proxy = 'http://10.0.0.1:1234'; -// -// // But if the host to be proxied is listed in NO_PROXY, then the request is -// // not proxied (but a direct request is made). -// process.env.no_proxy = 'example.com'; - -var proxy_url = getProxyForUrl(some_url); // <-- Our magic. -if (proxy_url) { - // Should be proxied through proxy_url. - var parsed_some_url = new URL(some_url); - var parsed_proxy_url = new URL(proxy_url); - // A HTTP proxy is quite simple. It is similar to a normal request, except the - // path is an absolute URL, and the proxied URL's host is put in the header - // instead of the server's actual host. - httpOptions = { - protocol: parsed_proxy_url.protocol, - hostname: parsed_proxy_url.hostname, - port: parsed_proxy_url.port, - path: parsed_some_url.href, - headers: { - Host: parsed_some_url.host, // = host name + optional port. - }, - }; -} else { - // Direct request. - httpOptions = some_url; -} -http.get(httpOptions, function(res) { - var responses = []; - res.on('data', function(chunk) { responses.push(chunk); }); - res.on('end', function() { console.log(responses.join('')); }); -}); -``` - -### Full proxy support -The simple example above works for http requests only. To support https, you -must establish a proxy tunnel via the -[http `connect` method](https://developer.mozilla.org/en-us/docs/web/http/reference/methods/connect). - -An example of that is shown in the -[`https-proxy-agent` npm package](https://www.npmjs.com/package/https-proxy-agent). -The [`proxy-agent` npm package](https://www.npmjs.com/package/proxy-agent) -combines `https-proxy-agent` and `proxy-from-env` to offer a `http.Agent` that -supports proxies from environment variables. - -### Built-in proxy support -Node.js is working on built-in support for proxy environment variables, -currently behind `NODE_USE_ENV_PROXY=1` or `--use-env-proxy`. For details, see: - -- https://github.com/nodejs/node/issues/57872 -- https://nodejs.org/api/http.html#built-in-proxy-support - - -## Environment variables -The environment variables can be specified in all lowercase or all uppercase, -with lowercase taking precedence over the uppercase variant. A variable that is -not set has the same meaning as a variable that is set but has no value. - -### NO\_PROXY - -`NO_PROXY` is a list of host names (optionally with a port). If the input URL -matches any of the entries in `NO_PROXY`, then the input URL should be fetched -by a direct request (i.e. without a proxy). - -Matching follows the following rules: - -- `NO_PROXY=*` disables all proxies. -- Space and commas may be used to separate the entries in the `NO_PROXY` list. -- If `NO_PROXY` does not contain any entries, then proxies are never disabled. -- If a port is added after the host name, then the ports must match. If the URL - does not have an explicit port name, the protocol's default port is used. -- Generally, the proxy is only disabled if the host name is an exact match for - an entry in the `NO_PROXY` list. The only exceptions are entries that start - with a dot or with a wildcard; then the proxy is disabled if the host name - ends with the entry. - -See `test.js` for examples of what should match and what does not. - -### \*\_PROXY - -The environment variable used for the proxy depends on the protocol of the URL. -For example, `https://example.com` uses the "https" protocol, and therefore the -proxy to be used is `HTTPS_PROXY` (_NOT_ `HTTP_PROXY`, which is _only_ used for -http:-URLs). - -The library is not limited to http(s), other schemes such as -`FTP_PROXY` (ftp:), -`WSS_PROXY` (wss:), -`WS_PROXY` (ws:) -are also supported. - -If present, `ALL_PROXY` is used as fallback if there is no other match. - - -## External resources -The exact way of parsing the environment variables is not codified in any -standard. This library is designed to be compatible with formats as expected by -existing software. -The following resources were used to determine the desired behavior: - -- cURL: - https://curl.haxx.se/docs/manpage.html#ENVIRONMENT - https://github.com/curl/curl/blob/4af40b3646d3b09f68e419f7ca866ff395d1f897/lib/url.c#L4446-L4514 - https://github.com/curl/curl/blob/4af40b3646d3b09f68e419f7ca866ff395d1f897/lib/url.c#L4608-L4638 - -- wget: - https://www.gnu.org/software/wget/manual/wget.html#Proxies - http://git.savannah.gnu.org/cgit/wget.git/tree/src/init.c?id=636a5f9a1c508aa39e35a3a8e9e54520a284d93d#n383 - http://git.savannah.gnu.org/cgit/wget.git/tree/src/retr.c?id=93c1517c4071c4288ba5a4b038e7634e4c6b5482#n1278 - -- W3: - https://www.w3.org/Daemon/User/Proxies/ProxyClients.html - -- Python's urllib: - https://github.com/python/cpython/blob/936135bb97fe04223aa30ca6e98eac8f3ed6b349/Lib/urllib/request.py#L755-L782 - https://github.com/python/cpython/blob/936135bb97fe04223aa30ca6e98eac8f3ed6b349/Lib/urllib/request.py#L2444-L2479 diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.cjs b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.cjs deleted file mode 100644 index ede2a9f..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.cjs +++ /dev/null @@ -1,105 +0,0 @@ -'use strict'; - -var DEFAULT_PORTS = { - ftp: 21, - gopher: 70, - http: 80, - https: 443, - ws: 80, - wss: 443, -}; - -function parseUrl(urlString) { - try { - return new URL(urlString); - } catch { - return null; - } -} - -/** - * @param {string|object|URL} url - The URL as a string or URL instance, or a - * compatible object (such as the result from legacy url.parse). - * @return {string} The URL of the proxy that should handle the request to the - * given URL. If no proxy is set, this will be an empty string. - */ -function getProxyForUrl(url) { - var parsedUrl = (typeof url === 'string' ? parseUrl(url) : url) || {}; - var proto = parsedUrl.protocol; - var hostname = parsedUrl.host; - var port = parsedUrl.port; - if (typeof hostname !== 'string' || !hostname || typeof proto !== 'string') { - return ''; // Don't proxy URLs without a valid scheme or host. - } - - proto = proto.split(':', 1)[0]; - // Stripping ports in this way instead of using parsedUrl.hostname to make - // sure that the brackets around IPv6 addresses are kept. - hostname = hostname.replace(/:\d*$/, ''); - port = parseInt(port) || DEFAULT_PORTS[proto] || 0; - if (!shouldProxy(hostname, port)) { - return ''; // Don't proxy URLs that match NO_PROXY. - } - - var proxy = getEnv(proto + '_proxy') || getEnv('all_proxy'); - if (proxy && proxy.indexOf('://') === -1) { - // Missing scheme in proxy, default to the requested URL's scheme. - proxy = proto + '://' + proxy; - } - return proxy; -} - -/** - * Determines whether a given URL should be proxied. - * - * @param {string} hostname - The host name of the URL. - * @param {number} port - The effective port of the URL. - * @returns {boolean} Whether the given URL should be proxied. - * @private - */ -function shouldProxy(hostname, port) { - var NO_PROXY = getEnv('no_proxy').toLowerCase(); - if (!NO_PROXY) { - return true; // Always proxy if NO_PROXY is not set. - } - if (NO_PROXY === '*') { - return false; // Never proxy if wildcard is set. - } - - return NO_PROXY.split(/[,\s]/).every(function(proxy) { - if (!proxy) { - return true; // Skip zero-length hosts. - } - var parsedProxy = proxy.match(/^(.+):(\d+)$/); - var parsedProxyHostname = parsedProxy ? parsedProxy[1] : proxy; - var parsedProxyPort = parsedProxy ? parseInt(parsedProxy[2]) : 0; - if (parsedProxyPort && parsedProxyPort !== port) { - return true; // Skip if ports don't match. - } - - if (!/^[.*]/.test(parsedProxyHostname)) { - // No wildcards, so stop proxying if there is an exact match. - return hostname !== parsedProxyHostname; - } - - if (parsedProxyHostname.charAt(0) === '*') { - // Remove leading wildcard. - parsedProxyHostname = parsedProxyHostname.slice(1); - } - // Stop proxying if the hostname ends with the no_proxy host. - return !hostname.endsWith(parsedProxyHostname); - }); -} - -/** - * Get the value for an environment variable. - * - * @param {string} key - The name of the environment variable. - * @return {string} The value of the environment variable. - * @private - */ -function getEnv(key) { - return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || ''; -} - -exports.getProxyForUrl = getProxyForUrl; diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.js b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.js deleted file mode 100644 index 333f45a..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.js +++ /dev/null @@ -1,103 +0,0 @@ -'use strict'; - -var DEFAULT_PORTS = { - ftp: 21, - gopher: 70, - http: 80, - https: 443, - ws: 80, - wss: 443, -}; - -function parseUrl(urlString) { - try { - return new URL(urlString); - } catch { - return null; - } -} - -/** - * @param {string|object|URL} url - The URL as a string or URL instance, or a - * compatible object (such as the result from legacy url.parse). - * @return {string} The URL of the proxy that should handle the request to the - * given URL. If no proxy is set, this will be an empty string. - */ -export function getProxyForUrl(url) { - var parsedUrl = (typeof url === 'string' ? parseUrl(url) : url) || {}; - var proto = parsedUrl.protocol; - var hostname = parsedUrl.host; - var port = parsedUrl.port; - if (typeof hostname !== 'string' || !hostname || typeof proto !== 'string') { - return ''; // Don't proxy URLs without a valid scheme or host. - } - - proto = proto.split(':', 1)[0]; - // Stripping ports in this way instead of using parsedUrl.hostname to make - // sure that the brackets around IPv6 addresses are kept. - hostname = hostname.replace(/:\d*$/, ''); - port = parseInt(port) || DEFAULT_PORTS[proto] || 0; - if (!shouldProxy(hostname, port)) { - return ''; // Don't proxy URLs that match NO_PROXY. - } - - var proxy = getEnv(proto + '_proxy') || getEnv('all_proxy'); - if (proxy && proxy.indexOf('://') === -1) { - // Missing scheme in proxy, default to the requested URL's scheme. - proxy = proto + '://' + proxy; - } - return proxy; -} - -/** - * Determines whether a given URL should be proxied. - * - * @param {string} hostname - The host name of the URL. - * @param {number} port - The effective port of the URL. - * @returns {boolean} Whether the given URL should be proxied. - * @private - */ -function shouldProxy(hostname, port) { - var NO_PROXY = getEnv('no_proxy').toLowerCase(); - if (!NO_PROXY) { - return true; // Always proxy if NO_PROXY is not set. - } - if (NO_PROXY === '*') { - return false; // Never proxy if wildcard is set. - } - - return NO_PROXY.split(/[,\s]/).every(function(proxy) { - if (!proxy) { - return true; // Skip zero-length hosts. - } - var parsedProxy = proxy.match(/^(.+):(\d+)$/); - var parsedProxyHostname = parsedProxy ? parsedProxy[1] : proxy; - var parsedProxyPort = parsedProxy ? parseInt(parsedProxy[2]) : 0; - if (parsedProxyPort && parsedProxyPort !== port) { - return true; // Skip if ports don't match. - } - - if (!/^[.*]/.test(parsedProxyHostname)) { - // No wildcards, so stop proxying if there is an exact match. - return hostname !== parsedProxyHostname; - } - - if (parsedProxyHostname.charAt(0) === '*') { - // Remove leading wildcard. - parsedProxyHostname = parsedProxyHostname.slice(1); - } - // Stop proxying if the hostname ends with the no_proxy host. - return !hostname.endsWith(parsedProxyHostname); - }); -} - -/** - * Get the value for an environment variable. - * - * @param {string} key - The name of the environment variable. - * @return {string} The value of the environment variable. - * @private - */ -function getEnv(key) { - return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || ''; -} diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.min.js b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.min.js deleted file mode 100644 index fec6a94..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/index.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.39.0. - * Original file: /npm/proxy-from-env@2.1.0/index.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -"use strict";var DEFAULT_PORTS={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function parseUrl(r){try{return new URL(r)}catch{return null}}export function getProxyForUrl(r){var t=("string"==typeof r?parseUrl(r):r)||{},e=t.protocol,n=t.host,o=t.port;if("string"!=typeof n||!n||"string"!=typeof e)return"";if(e=e.split(":",1)[0],!shouldProxy(n=n.replace(/:\d*$/,""),o=parseInt(o)||DEFAULT_PORTS[e]||0))return"";var s=getEnv(e+"_proxy")||getEnv("all_proxy");return s&&-1===s.indexOf("://")&&(s=e+"://"+s),s}function shouldProxy(r,t){var e=getEnv("no_proxy").toLowerCase();return!e||"*"!==e&&e.split(/[,\s]/).every((function(e){if(!e)return!0;var n=e.match(/^(.+):(\d+)$/),o=n?n[1]:e,s=n?parseInt(n[2]):0;return!(!s||s===t)||(/^[.*]/.test(o)?("*"===o.charAt(0)&&(o=o.slice(1)),!r.endsWith(o)):r!==o)}))}function getEnv(r){return process.env[r.toLowerCase()]||process.env[r.toUpperCase()]||""} -//# sourceMappingURL=/sm/10a8727f54175a87b96d1dce6288436748890440ea8b7f7b73a001272b1298d8.map \ No newline at end of file diff --git a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/package.json b/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/package.json deleted file mode 100644 index 3960f35..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/proxy-from-env/package.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "proxy-from-env", - "version": "2.1.0", - "description": "Offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables.", - "main": "index.cjs", - "exports": { - "import": "./index.js", - "require": "./index.cjs" - }, - "files": ["index.js", "index.cjs"], - "scripts": { - "lint": "eslint *.js *.mjs *.cjs", - "test": "node --test ./test.js", - "test-require": "node ./test-require.cjs", - "test-coverage": "node --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info ./test.js", - "test-coverage-as-html": "npm run test-coverage && genhtml lcov.info -o coverage/" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/Rob--W/proxy-from-env.git" - }, - "keywords": [ - "proxy", - "http_proxy", - "https_proxy", - "no_proxy", - "environment" - ], - "author": "Rob Wu (https://robwu.nl/)", - "license": "MIT", - "bugs": { - "url": "https://github.com/Rob--W/proxy-from-env/issues" - }, - "homepage": "https://github.com/Rob--W/proxy-from-env#readme", - "devDependencies": { - "eslint": "^9.39.2" - }, - "type": "module", - "engines": { - "node": ">=10" - }, - "sideEffects": false -} diff --git a/Lombiq.EInvoiceValidator/node_modules/saxon-js/LICENSE.txt b/Lombiq.EInvoiceValidator/node_modules/saxon-js/LICENSE.txt deleted file mode 100644 index cc88bb7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/saxon-js/LICENSE.txt +++ /dev/null @@ -1,55 +0,0 @@ - Version 1.0, June 2020 - - Software: This license applies to the packages "xslt3" and "saxon-js" - distributed via npm (https://www.npmjs.com) and to the modules SaxonJS2.js - and SaxonJS2.rt.js available for download from the Saxonica web site - (https://www.saxonica.com/). - - Copyright: The copyright in the Software belongs to Saxonica Ltd, except - for third-party components listed in the documentation that are distributed - under license. - - Binary form: In this license, "binary form" means the form in which the - Software is issued (this is technically a set of obfuscated Javascript files). - - Deployment and use. The Software may be copied to any computer where the - primary purpose is the execution of the software on that computer, or on - connected client computers. - - Redistribution. Redistribution in binary form, without - modification, is permitted as part of an application that makes use - of the Software, provided that the following conditions are - met: - - 1) Redistributions must reproduce the above copyright notice and the - following disclaimer in the documentation and/or other materials - provided with the distribution. - - 2) Except to the extent explicitly permitted by law, no reverse - engineering, decompilation, or disassembly of this software is - permitted. - - 3) Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - 4) Copying the software to a site whose primary purpose is to make - it available to third parties is not permitted without specific - prior written permission. - - If you institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the software - itself infringes your patent(s), then your rights granted under this - license shall terminate as of the date such litigation is filed. - - DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS." ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT - NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED - TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.js b/Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.js deleted file mode 100644 index 6055e73..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.js +++ /dev/null @@ -1,4609 +0,0 @@ -var oa,qa=function(){function a(){function g(e){if(!(this instanceof g))return void 0===e?a():new g(e);if(e instanceof g)this.ha=e.ha,this.e=e.e,this.c=e.c.slice();else{var l,z,v;0===e&&0>1/e?e="-0":q.test(e=""+e)||A(NaN);this.ha="-"==e.charAt(0)?(e=e.slice(1),-1):1;-1<(l=e.indexOf("."))&&(e=e.replace(".",""));0<(z=e.search(/e/i))?(0>l&&(l=z),l+=+e.slice(z+1),e=e.substring(0,z)):0>l&&(l=e.length);for(z=0;"0"==e.charAt(z);z++);if(z==(v=e.length))this.c=[this.e=0];else{for(;"0"==e.charAt(--v););this.e= -l-z-1;this.c=[];for(l=0;z<=v;this.c[l++]=+e.charAt(z++));}}this.constructor=g}g.prototype=P;g.Td=20;g.Oe=1;g.Ud=-7;g.Je=21;return g}function b(g,e,l){var z=g.constructor,v=e-(g=new z(g)).e,G=g.c;G.length>++e&&h(g,v,z.Oe);G[0]?l?v=e:(G=g.c,v=g.e+v+1):++v;for(;G.lengthg.ha&&G[0]?"-":"")+(1v?"e":"e+")+v:g.toString()}function h(g,e,l,z=!1){var v=g.c,G=g.e+e+1;1===l?z=5<=v[G]:2===l?z=5G||void 0!==v[G+1]||v[G-1]&1):3===l?z=z||void 0!==v[G]||0>G:(z=!1,0!==l&&A("!Big.RM!"));if(1>G||!v[0])z?(g.e=-e,g.c=[1]):g.c=[g.e=0];else{v.length=G--;if(z)for(;9<++v[G];)v[G]=0,G--||(++g.e,v.unshift(1));for(G=v.length;!v[--G];v.pop());}return g}function A(g){g=Error(g);g.name="BigError";throw g;}var P={},q=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;P.abs=function(){var g=new this.constructor(this);g.ha=1;return g};P.eb=function(g){var e=this.c,l=(g=new this.constructor(g)).c,z=this.ha,v=g.ha,G= -this.e,p=g.e;if(!e[0]||!l[0])return e[0]?z:l[0]?-v:0;if(z!=v)return z;g=0>z;if(G!=p)return G>p^g?1:-1;z=-1;for(v=(G=e.length)<(p=l.length)?G:p;++zl[z]^g?1:-1;return G==p?0:G>p^g?1:-1};P.Ib=function(g,e,l){var z=this.constructor,v=this.c,G=(g=new z(g)).c,p=this.ha===g.ha?1:-1;e="undefined"!==typeof e?e:z.Td;l="undefined"!==typeof l?l:z.Oe;(e!==~~e||0>e||1E6Q?0:Q;for(I.unshift(0);d++f;f++){if(z!=(d=c.length))var ma=z>d?1:-1;else{var na=-1;for(ma=0;++nac[na]?1:-1;break}}if(0>ma){for(g=d==z?G:I;d;){if(c[--d]Q&&h(n,e,l,void 0!==c[0]);return n};P.qj=function(){var g=qa(0);return!this.eb(g)};P.g=function(g){return 0this.eb(g)};P.x=function(g){return 1>this.eb(g)};P.sub=P.te=function(g){var e=this.constructor;var l=this.ha,z=(g=new e(g)).ha;if(l!=z)return g.ha=-z,this.xe(g);var v=this.c.slice();var G=this.e;var p=g.c,f=g.e;if(!v[0]||!p[0])return p[0]?(g.ha=-z,g):new e(v[0]?this:0);if(l=G-f){(e=0>l)?(l= --l,G=v):(f=G,G=p);G.reverse();for(z=l;z--;G.push(0));G.reverse()}else for(G=((e=v.lengthl;){if(v[--G]v.length-p.length&&(e=p,p=v,v=e);l=p.length;for(z=0;l;)z=(v[--l]=v[l]+p[l]+z)/10|0,v[l]%=10;z&&(v.unshift(z), -++G);for(l=v.length;0===v[--l];v.pop());g.c=v;g.e=G;return g};P.pow=function(g){var e=this,l=new e.constructor(1),z=l,v=0>g;(g!==~~g||-1E6>g||1E6>=1;if(!g)break;e=e.times(e)}return v?l.Ib(z):z};P.round=function(g,e){var l=this,z=l.constructor;null==g?g=0:(g!==~~g||0>g||1E6l&&A(NaN);l=Math.sqrt(this.toString());0===l||l===1/0?(l=e.join(""),l.length+z&1||(l+="0"),e=new g(Math.sqrt(l).toString()),e.e=((z+1)/2|0)-(0>z||z&1)):e=new g(l.toString());l=e.e+(g.Td+=4);do z=e,e=v.times(z.xe(this.Ib(z)));while(z.c.slice(0,l).join("")!==e.c.slice(0,l).join(""));h(e,g.Td-=4,g.Oe);return e};P.z=P.times=function(g){var e=this.constructor;var l=this.c,z=(g=new e(g)).c,v=l.length,G=z.length,p=this.e,f=g.e;g.ha=this.ha==g.ha?1:-1;if(!l[0]||!z[0])return new e(0*g.ha);g.e=p+f;vp;)G=e[f]+z[p]*l[f-p-1]+G,e[f--]=G%10,G=G/10|0;e[f]=(e[f]+G)%10}G&&++g.e;e[0]||e.shift();for(p=e.length;!e[--p];e.pop());g.c=e;return g};P.toString=P.valueOf=P.toJSON=function(){var g=this.constructor,e=this.e,l=this.c.join(""),z=l.length;if(e<=g.Ud||e>=g.Je)l=l.charAt(0)+(1e?"e":"e+")+e;else if(0>e){for(;++e;l="0"+l);l="0."+l}else if(0z)for(e-=z;e--;l+="0");else ethis.ha&&this.c[0]?"-"+l:l};P.b=function(g){null==g?g=this.c.length-1:(g!==~~g||0>g||1E6=g&&(v=b(this,this.e+g),0>this.ha&&this.c[0]&&0>v.indexOf("-")&&(v="-"+v));e.Ud=l;e.Je=z;v||A("!toFix!");return v};P.toPrecision=function(g){if(null==g)return this.toString(); -(g!==~~g||1>g||1E6=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||>=",C:[{N:"varRef", -name:"Q{}lineAtt",slot:"3"}]},{N:"int",val:"0"}]},{N:"check",line:"422",card:"1",diag:"3|0|XTTE0570|lineNumber",C:[{N:"cast",flags:"ae",as:"?ADI",C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"varRef",name:"Q{}lineAtt",slot:"3"}]}]}]},{N:"true"},{N:"check",line:"426",card:"1",diag:"3|0|XTTE0570|lineNumber",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"check",card:"?",diag:"0|0||saxon:line-number",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"}]}]}]}]}]},{N:"sequence", -line:"433",C:[{N:"choose",C:[{N:"compareToInt",op:"ge",val:"0",C:[{N:"varRef",name:"Q{}lineNumber",slot:"2"}]},{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:" on line "},{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}lineNumber",slot:"2"}]}]}]}]},{N:"let",line:"436","var":"Q{}module",as:"?",slot:"4",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"},{N:"lastOf",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"fn",name:"reverse",C:[{N:"axis", -name:"ancestor-or-self",nodeTest:"NE"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}baseUri"}]}]}]}]}]},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"}]}]}]}]},{N:"choose",line:"437",C:[{N:"varRef",name:"Q{}module",slot:"4"},{N:"valueOf",C:[{N:"fn",line:"443",name:"concat",C:[{N:"str",val:" in "},{N:"let","var":"Q{}tokens", -as:"*AS",slot:"5",C:[{N:"fn",name:"tokenize",C:[{N:"check",line:"437",card:"1",diag:"0|0||f:abbreviated-module-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:abbreviated-module-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:abbreviated-module-uri",C:[{N:"data",diag:"0|0||f:abbreviated-module-uri",C:[{N:"varRef",name:"Q{}module",slot:"4"}]}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]},{N:"let",line:"444","var":"Q{}n",as:"1ADI",slot:"6",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}tokens", -slot:"5"}]},{N:"fn",line:"445",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}tokens",slot:"5"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}n",slot:"6"},{N:"int",val:"1"}]}]},{N:"str",val:"/"}]},{N:"subscript",C:[{N:"varRef",name:"Q{}tokens",slot:"5"},{N:"varRef",name:"Q{}n",slot:"6"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]}]},{N:"co",id:"124",binds:"",C:[{N:"mode",name:"Q{}param.type",onNo:"TC",flags:"We",patternSlots:"0"}]},{N:"co",id:"125", -binds:"7 7 7 126 127 52 128 126 129 73 127 73 51 1 69 7 7 7 7 130 62 127 73 52 66 129 131 132 69 7 1 1 1 69 7 22 126 127 133 134 7 22 7 1 7 135 7 127 136 72 137 7 7 137 137 7 126 137 22 22 7 22 25 7 127 65 99 137 48 101 137 123 123 25 138 127 7 50 1 69 7 137 7 66 139 127 61 140 126 126 141 126 7 127 52 127 52 66 137 101 137 123 142 54 7 135 7 127 143 64 144 72 7 22 25 7 1 69 7 66 67 67 67 127 7 145 132 1 7 146 146 137 22 1 137 7 127 52 126 132 69 7 1 1 137 7 1 69 7 132 69 7 1 1 126 141 127 7 52", -C:[{N:"mode",name:"Q{}process-xpath",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"3.0",seq:"291",rank:"5",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"853",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"853",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"854",flags:"t",C:[{N:"withParam",name:"Q{}nsAttribute",flags:"t",as:"1NA",C:[{N:"check",line:"855",card:"1",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ns"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"282",rank:"4",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"561",module:"xpath.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"561",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"literal",count:"2",C:[{N:"str",val:"count"},{N:"str",val:"from"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nodeNum"}]},{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"561",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"match"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"}]}]},{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"561",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"match"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"562","var":"Q{}temp", -as:"*NE",slot:"1",C:[{N:"treat",line:"563",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]},{N:"iterate",line:"565",C:[{N:"tail",role:"select",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"params",role:"params",line:"566",C:[{N:"param",name:"Q{}partial",slot:"0",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"supplied",role:"conversion",slot:"0"}]}]},{N:"varRef",role:"on-completion",line:"567",name:"Q{}partial",slot:"0"},{N:"nextIteration",role:"action", -line:"568",C:[{N:"withParam",name:"Q{}partial",as:"1NE",slot:"0",C:[{N:"elem",line:"570",name:"p.venn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"op",flags:"l",C:[{N:"str",val:"union"}]},{N:"docOrder",line:"571",intra:"0",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}partial",slot:"0"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"varRef", -line:"571",name:"Q{}partial",slot:"0"},{N:"dot",line:"571",type:"1NE"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"275",rank:"3",minImp:"0",slots:"5",matches:"NE",flags:"s",line:"252",module:"xpath.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}template"}]}, -{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"254",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables", -C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"262",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"263",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"},{N:"choose",line:"264",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"att",line:"266",name:"slot",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"subscript", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"int",val:"2"}]},{N:"int",val:"0"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"let",line:"270","var":"Q{}def",as:"1NE",slot:"1",C:[{N:"choose",line:"271",C:[{N:"compareToInt",line:"272",op:"le",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence", -C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"treat",line:"273",as:"NE",diag:"3|0|XTTE0570|def",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|def",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"276",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"body"}]},{N:"applyT",line:"277",flags:"c",bSlot:"-1", -C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"282",C:[{N:"choose",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1887583512",as:"1",slot:"2",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"3",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1887583512",slot:"2"},{N:"attVal",name:"Q{}name"}]},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis", -name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]}]}]}]},{N:"fn",line:"285",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors", -loc:"XPST0008"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Global variable "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot refer to itself in its definition"}]}]}]},{N:"let",line:"293","var":"Q{}requiredType",as:"?FM",slot:"4",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false", -bSlot:"0",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", -C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{}sType"}]}]}]}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"forEach",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, -{N:"int",val:"3"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"2",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot"}]}]}]}]}]}]}]}]}]},{N:"choose",line:"296",C:[{N:"and",line:"297",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data", -diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"3"}]}]},{N:"ufCall",line:"300",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"4",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck", -C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"5"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"300",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}type-error-map",bSlot:"6"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"300",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}, -{N:"choose",line:"260",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:' match="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"str",val:'"'}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:' name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]}]}]},{N:"str", -val:"|"}]}]}]}]}]}]},{N:"fn",line:"302",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"sequence",line:"303",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"varRef",name:"Q{}def",slot:"1"}]},{N:"true"},{N:"sequence",line:"307",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"vc", -op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"dot",type:"1NA nQ{}sType"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"7"}]}]},{N:"varRef",name:"Q{}def",slot:"1"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"288",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"639",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"union",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"639",op:"|",C:[{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}VARDEF,NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}ZZZparams"},{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]}]}]}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"641",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"642",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"643","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"644",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"callT",name:"Q{}process-variables",bSlot:"8",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"axis",line:"645",name:"child",nodeTest:"NE"}]}]}]},{N:"sequence",line:"648",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef", -name:"Q{}temp",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"varRef",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"262",rank:"2",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"83",module:"regular-expressions.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"83",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"literal",count:"2",C:[{N:"str",val:"matching"},{N:"str",val:"nonMatching"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}analyzeString"}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"84", -flags:"t",C:[{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM k[AS] v[1AS]",C:[{N:"gVarRef",line:"85",name:"Q{}ST.SINGLE_STRING",bSlot:"9"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"234",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"116",module:"numbering.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"116",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"lang"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"117","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"118",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"120",name:"Q{MyFunctions}typeCheck", -tailCall:"false",bSlot:"10",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"11"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1486277532",bSlot:"12"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.25",seq:"259",rank:"0",minImp:"0",slots:"1", -matches:"NE n*:analyzeString",flags:"s",line:"53",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE n*:analyzeString"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"55","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"56",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", -name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"60",flags:"cin",sit:"1NE n*:analyzeString",C:[{N:"sequence",role:"content",line:"61",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",line:"58",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"13",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"14",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC", -C:[{N:"literal",count:"2",C:[{N:"str",val:"matching"},{N:"str",val:"nonMatching"}]},{N:"attVal",name:"Q{}role"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"15",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"62", -name:"attribute",nodeTest:"NA"},{N:"varRef",line:"62",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"156",rank:"4",minImp:"0",slots:"4",matches:"NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"s",line:"208",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"209",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"210","var":"Q{}parts",as:"*NE",slot:"1",C:[{N:"treat",line:"211",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"213","var":"Q{}select", -as:"*NE",slot:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"select"}]}]},{N:"copy",line:"214",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",C:[{N:"sequence",role:"content",line:"215",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"217",C:[{N:"and",line:"218",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"},{N:"axis", -name:"self",nodeTest:"NE n*:slash"}]}]},{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"3",C:[{N:"lookup",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"rules.xsl",line:"218",name:"Q{MyTypes}marshalType", -tailCall:"false",bSlot:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]}, -{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"3"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode", -slot:"3"}]}]}]}]},{N:"str",val:"N"}]}]}]}]},{N:"elem",line:"219",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"varRef",line:"220",name:"Q{}select",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"224",name:"Q{}select",slot:"2"}]},{N:"except",line:"227",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}parts",slot:"1"}]},{N:"docOrder", -intra:"0",C:[{N:"varRef",name:"Q{}select",slot:"2"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"277",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://ns.saxonica.com/xslt/export}treat",flags:"s",line:"353",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}treat"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"355","var":"Q{}required-type",slot:"0",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"17",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"let",line:"356","var":"Q{}required-cardinality",as:"1AS",slot:"1",C:[{N:"fn", -name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"str",val:"o"}]}]}]},{N:"let",line:"357","var":"Q{}required-baseType",slot:"2",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"str",val:"p"}]},{N:"let",line:"358","var":"Q{}attributes",as:"*NA",slot:"3",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"359","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, -{N:"let",line:"360","var":"Q{}source",as:"*NE",slot:"5",C:[{N:"treat",line:"361",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"363","var":"Q{}sourceSequenceType",slot:"6",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"18",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", -C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}source",slot:"5"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}source",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"364","var":"Q{}sourceType",slot:"7",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}sourceSequenceType",slot:"6"},{N:"str",val:"p"}]},{N:"choose",line:"365",C:[{N:"and",line:"367", -op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}required-baseType",slot:"2"}]}]}]}]},{N:"str",val:"A"}]},{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped", -to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}sourceType",slot:"7"}]}]}]}]},{N:"str",val:"N"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}sourceType",slot:"7"}]},{N:"str",val:""}]}]}]},{N:"copy",line:"368",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content",line:"369",C:[{N:"varRef",name:"Q{}attributes", -slot:"3"},{N:"elem",line:"370",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"axis",line:"371",name:"attribute",nodeTest:"NA nQ{}diag"},{N:"elem",line:"373",name:"cvUntyped",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"to",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj", -C:[{N:"varRef",name:"Q{}required-baseType",slot:"2"}]}]}]},{N:"str",val:" "}]}]},{N:"elem",line:"375",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"376",name:"Q{}source",slot:"5"}]}]}]}]}]}]}]},{N:"compareToString",line:"382",op:"ne",val:"*",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"copy",line:"383",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content",line:"384",C:[{N:"varRef",name:"Q{}attributes", -slot:"3"},{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg409114060", -bSlot:"19"}]},{N:"elem",line:"385",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"except",line:"386",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attributes",slot:"3"}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{http://ns.saxonica.com/xslt/export}asJ,NA nQ{}jsTest]"}]},{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1317395634",bSlot:"20"}]},{N:"varRef",line:"391",name:"Q{}source",slot:"5"}]}]}]}]},{N:"fn",line:"395",name:"deep-equal",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"varRef",name:"Q{}sourceSequenceType", -slot:"6"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]},{N:"forEach",line:"396",C:[{N:"varRef",name:"Q{}source",slot:"5"},{N:"copy",line:"397",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"398",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"403",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content", -line:"404",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"varRef",name:"Q{}attributes",slot:"3"},{N:"varRef",name:"Q{}source",slot:"5"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"285",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}namespace",flags:"s",line:"593",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}namespace"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"595",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}namespace",C:[{N:"sequence",role:"content",line:"597",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"598","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"599",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"sequence",line:"603",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"21",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck", -C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]}]},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"22"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn", -name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"23"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTDE0920"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"603", -name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'namespace name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]},{N:"subscript",line:"604",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"int",val:"2"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"276",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co",flags:"s",line:"339",module:"xpath.xsl",C:[{N:"p.nodeTest", -role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"340",C:[{N:"choose",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}options",bSlot:"24"},{N:"str",val:"traceProgress"}]},{N:"message",line:"348",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting XPath on component"},{N:"fn", -name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE n*:mode"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"string", -C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",val:" templates"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"nextMatch",line:"350",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"287",rank:"3",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"s",line:"623",module:"xpath.xsl",C:[{N:"p.withPredicate", -role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"union",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"623",op:"|",C:[{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}VARDEF,NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}, -{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]}]}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"626","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"627",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"callT",name:"Q{}process-variables",bSlot:"25",C:[{N:"withParam",name:"Q{}parts", -flags:"c",as:"*NE",C:[{N:"axis",line:"628",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-base-uri",flags:"t",as:"1AS",C:[{N:"check",line:"631",card:"1",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"slash", -simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"a"},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:baseUri"}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA n*:baseUri"}]},{N:"str",val:"dummy-base-uri"}]}]}]}]}]}]}]}]}]},{N:"callT",line:"634",name:"Q{}Sequence-and-type",bSlot:"26",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"varRef",line:"635",name:"Q{}temp",slot:"0"}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"281",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"444","var":"Q{}parts", -as:"*NE",slot:"0",C:[{N:"treat",line:"445",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"448",C:[{N:"fn",line:"449",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"27"}]},{N:"axis",line:"451",name:"attribute", -nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"1",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"28",C:[{N:"check",card:"+",diag:"0|0||t:commonType", -C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"29",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"2",C:[{N:"ufCall", -name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"30",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"1"}]},{N:"choose",line:"458",C:[{N:"every",line:"461","var":"Q{}p",slot:"3",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"3"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att", -name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"0"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE",C:[{N:"sequence", -role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"0"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, -{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType", -tailCall:"false",bSlot:"31",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"1"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"0"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"183",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}try",flags:"s",line:"279",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}try"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"280","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"281",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"285",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"286",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"287",name:"sType",flags:"l",C:[{N:"ufCall",line:"284",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"32",C:[{N:"ufCall",name:"Q{MyTypes}commonType", -tailCall:"false",bSlot:"33",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"34",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]}, -{N:"varRef",line:"288",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"266",rank:"4",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator",flags:"s",line:"59",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"60","var":"Q{}init",as:"1NE",slot:"0",C:[{N:"treat",line:"61",as:"NE",diag:"3|0|XTTE0570|init",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|init",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let",line:"65","var":"Q{}rules",as:"*NE",slot:"1",C:[{N:"treat",line:"66",as:"NE",diag:"3|0|XTTE0570|rules",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam", -name:"Q{}valueType",flags:"t",as:"1AS",C:[{N:"check",line:"67",card:"1",diag:"8|0|XTTE0590|valueType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|valueType",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|valueType",C:[{N:"data",diag:"8|0|XTTE0590|valueType",C:[{N:"first",line:"64",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}init",slot:"0"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}sType"}]},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"dot",type:"1NA nQ{}sType"}]}]}]},{N:"str",val:"0"}]}]}]},{N:"str",val:"*"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"73",C:[{N:"choose",C:[{N:"gc",line:"72",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"distinct-values", -C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}rules",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"accumulator-before"},{N:"str",val:"accumulator-after"}]},{N:"attVal",name:"Q{}name"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]},{N:"data",line:"73",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ufCall",line:"76",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"35",C:[{N:"str",val:"XTDE3400"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Accumulator "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" refers to itself"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}accumulator", -flags:"a"}]}]},{N:"copy",line:"78",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}accumulator",C:[{N:"sequence",role:"content",line:"79",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}init",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"axis",line:"80",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"88",name:"Q{}init",slot:"0"},{N:"varRef",line:"91",name:"Q{}rules",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", -seq:"165",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration",flags:"s",line:"217",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"218",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}nextIteration", -C:[{N:"sequence",role:"content",line:"219",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"36"}]},{N:"axis",line:"220",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"221",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"149",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mode",flags:"s",line:"68",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}, -{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mode",C:[{N:"sequence",role:"content",line:"70",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"71","var":"Q{}templates",as:"*NE",slot:"0",C:[{N:"treat",line:"72",as:"NE",diag:"3|0|XTTE0570|templates",C:[{N:"applyT",flags:"c", -bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"forEach",line:"74",C:[{N:"sort",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"0"},{N:"sortKey",line:"75",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}, -{N:"sortKey",line:"76",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prio"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]},{N:"sortKey",line:"77",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}seq"}]}, -{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"copy",line:"78",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"79",C:[{N:"att",name:"rank",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int", -val:"1"}]}]}]},{N:"axis",line:"80",name:"attribute",nodeTest:"NA"},{N:"axis",line:"80",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"243",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey",flags:"s",line:"158",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"159",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"160","var":"Q{}input",as:"1NE",slot:"1",C:[{N:"treat",line:"161",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}, -{N:"let",line:"164","var":"Q{}properties",as:"*NE",slot:"2",C:[{N:"sequence",line:"165",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|properties",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"choose",line:"166",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"collation"},{N:"str",val:"lang"},{N:"str",val:"caseOrder"}]}, -{N:"attVal",name:"Q{}role"}]}]}]},{N:"elem",line:"167",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"collation"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{N:"let",line:"175","var":"Q{}dataType",as:"*NE",slot:"3",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}properties",slot:"2"}, -{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"dataType"}]}]},{N:"let",line:"178","var":"Q{}atomizedInput",slot:"4",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"37",C:[{N:"varRef",name:"Q{}input",slot:"1"},{N:"gVarRef",name:"Q{}ST.OPTIONAL_ATOMIC",bSlot:"38"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289", -name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg638404853",bSlot:"39"}]}]}]}]}]},{N:"let",line:"179","var":"Q{}input",as:"1NE",slot:"5",C:[{N:"choose",line:"180",C:[{N:"fn",line:"200",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"select"}]}]},{N:"treat", -line:"201",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"forEach",C:[{N:"check",card:"?",diag:"4|0|XTTE3180|xsl:copy/select",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]},{N:"copy",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"202",C:[{N:"copyOf",flags:"c",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]},{N:"att",line:"203",name:"role",flags:"l",C:[{N:"str", -val:"select"}]},{N:"copyOf",line:"204",flags:"c",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"208",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]}]}]},{N:"let",line:"214","var":"Q{}principal",slot:"6",C:[{N:"lookup",C:[{N:"ufCall",line:"213",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"40", -C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"p"}]},{N:"let",line:"216","var":"Q{}sortNumeric",slot:"7",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}alphaCode", -as:"1AS",slot:"8",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||t:isNumeric",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:isNumeric",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:isNumeric",C:[{N:"data",diag:"0|0||t:isNumeric",C:[{N:"varRef",name:"Q{}principal",slot:"6"}]}]}]}]},{N:"or",module:"type.xsl",line:"438",op:"or",C:[{N:"or", -op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AF"}]}]}]},{N:"let",line:"219","var":"Q{}sortTemporal",as:"1AB",slot:"9",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}principal", -slot:"6"}]},{N:"literal",count:"3",C:[{N:"str",val:"AM"},{N:"str",val:"AA"},{N:"str",val:"AT"}]}]},{N:"copy",line:"222",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}sortKey",C:[{N:"sequence",role:"content",line:"223",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"224",C:[{N:"fn",line:"172",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}properties",slot:"2"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}, -{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"caseOrder"},{N:"str",val:"lang"}]},{N:"attVal",name:"Q{}role"}]}]}]}]},{N:"att",line:"245",name:"comp",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",line:"174",flags:"",C:[{N:"varRef",name:"Q{}properties",slot:"2"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal", -name:"Q{}role"},{N:"str",val:"order"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]},{N:"str",val:"descending"}]},{N:"str",val:"DESC"}]},{N:"choose",C:[{N:"varRef",name:"Q{}sortNumeric",slot:"7"},{N:"str",val:"DblSC"},{N:"vc",line:"218",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef", -name:"Q{}dataType",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]}]},{N:"str",val:"number"}]},{N:"str",val:"NC"},{N:"varRef",name:"Q{}sortTemporal",slot:"9"},{N:"str",val:"CalVC"},{N:"true"},{N:"str",val:"CCC"}]}]},{N:"str",val:"|"}]}]}]},{N:"choose",line:"248",C:[{N:"vc",line:"249",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]},{N:"str",val:"xs:duration"}]},{N:"ufCall",line:"251", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"41",C:[{N:"str",val:"XTDE1030"},{N:"str",val:"xs:duration types are not comparable and may not be used in xsl:sort/@select"},{N:"varRef",name:"Q{}input",slot:"5"}]},{N:"true"},{N:"sequence",line:"282",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}input",slot:"5"}]}]},{N:"except",line:"295",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef", -name:"Q{}properties",slot:"2"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]}]},{N:"choose",line:"296",C:[{N:"and",line:"297",op:"and",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]},{N:"fn",line:"220",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}principal", -slot:"6"}]}]}]}]},{N:"str",val:"A"}]}]},{N:"empty"},{N:"fn",line:"298",name:"empty",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]},{N:"elem",line:"299",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"varRef",name:"Q{}sortNumeric",slot:"7"},{N:"varRef",name:"Q{}sortTemporal",slot:"9"}]},{N:"str",val:"number"},{N:"true"},{N:"str",val:"text"}]}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"dataType"}]}]}]}, -{N:"true"},{N:"varRef",line:"305",name:"Q{}dataType",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"242",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sort",flags:"s",line:"144",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sort"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"145",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}sort",C:[{N:"sequence",role:"content",line:"146",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"147","var":"Q{}for",as:"1NE",slot:"0",C:[{N:"treat",line:"148",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"150",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"varRef",line:"151",name:"Q{}for",slot:"0"},{N:"applyT",line:"152",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl", -line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"sorting.xsl",line:"153",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"42",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert", -from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"179",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condCont",flags:"s",line:"211",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condCont"}, -{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"212","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"213",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"215",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}condCont", -C:[{N:"sequence",role:"content",line:"216",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"217",name:"sType",flags:"l",C:[{N:"fn",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"sequenceType.xsl",line:"196",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"conditionals.xsl",line:"217",card:"1",diag:"0|0||t:makeOptional",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:makeOptional",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:makeOptional",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"^1"},{N:"str",val:"?"},{N:"str",val:""}]},{N:"str",val:"^\\+"},{N:"str",val:"*"},{N:"str",val:""}]}]},{N:"varRef",line:"218",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", -seq:"284",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}dot",flags:"s",line:"585",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}dot"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"586",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"ti",as:"1FM", -C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"587",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}dot",C:[{N:"sequence",role:"content",line:"588",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"43",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]}]},{N:"axis",line:"589",name:"attribute",nodeTest:"NA"}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"2.0",seq:"157",rank:"4",minImp:"0",slots:"14",matches:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule",flags:"s",line:"232",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"233",C:[{N:"param", -name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"234",name:"Q{}defaultXPathNamespace",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|defaultXPathNamespace", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"data",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"237","var":"Q{}priority",as:"?NA",slot:"2",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"},{N:"let",line:"264","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"3",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}priority",slot:"2"}]},{N:"let",line:"238","var":"Q{}attributes",as:"*NA",slot:"4", -C:[{N:"treat",line:"239",as:"NA",diag:"3|0|XTTE0570|attributes",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA nQ{}priority]"}]}]},{N:"let",line:"241","var":"Q{}requiredType",as:"?FM",slot:"5",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|requiredType",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"44",C:[{N:"convert",from:"AZ", -to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]}]},{N:"let",line:"294","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"6",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}requiredType",slot:"5"}]},{N:"let",line:"242","var":"Q{}match",as:"*NE",slot:"7",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"}, -{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]},{N:"let",line:"267","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"8",flags:"l",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}match",slot:"7"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"node()"}]},{N:"let",line:"251","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"1AS",slot:"9",flags:"l",C:[{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}match",slot:"7"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]},{N:"let",line:"243","var":"Q{}action",as:"*NE",slot:"10",C:[{N:"except",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}match",slot:"7"}]}]},{N:"let",line:"245","var":"Q{}patterns",as:"*NE",slot:"11",C:[{N:"treat",line:"246",as:"NE", -diag:"3|0|XTTE0570|patterns",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}match",slot:"7"}]}]},{N:"let",line:"249","var":"Q{}warnings",as:"*NE",slot:"12",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}patterns",slot:"11"},{N:"fn",name:"exists",C:[{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:p.warning"}]}]},{N:"sequence",line:"250",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}warnings",slot:"12"},{N:"message",line:"251",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Warning:"}, -{N:"forEach",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:p.warning"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}message"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}message"}]}]},{N:"str",val:"in pattern"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEach",line:"254",C:[{N:"except",op:"except",C:[{N:"docOrder", -intra:"0",C:[{N:"varRef",name:"Q{}patterns",slot:"11"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}warnings",slot:"12"}]}]},{N:"sequence",line:"255",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"message",line:"256",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Missing @sType"},{N:"fn",name:"serialize",C:[{N:"dot",type:"1NE"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, -{N:"elem",line:"260",name:"templateRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"261",C:[{N:"varRef",name:"Q{}attributes",slot:"4"},{N:"att",line:"262",name:"prio",flags:"l",C:[{N:"fn",line:"263",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"varRef",line:"264",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"3"},{N:"cast",line:"265",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef", -name:"Q{}priority",slot:"2"}]}]}]}]},{N:"varRef",line:"267",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"8"},{N:"atomic",val:"-0.5",type:"AZ"},{N:"true"},{N:"data",line:"269",C:[{N:"mergeAdj",C:[{N:"applyT",mode:"Q{}pattern-priority",bSlot:"45",C:[{N:"dot",role:"select",type:"1NE"}]}]}]}]}]},{N:"str",val:""}]}]},{N:"att",line:"274",name:"matches",flags:"l",C:[{N:"fn",name:"substring",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring", -C:[{N:"attVal",name:"Q{}sType"}]}]},{N:"int",val:"2"}]}]},{N:"copy",line:"275",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"276",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"277",name:"role",flags:"l",C:[{N:"str",val:"match"}]},{N:"axis",line:"278",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"283","var":"Q{}body",as:"1NE",slot:"13",C:[{N:"treat",line:"284",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1", -C:[{N:"varRef",role:"select",name:"Q{}action",slot:"10"},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"rules.xsl",line:"285",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"46",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]},{N:"choose",line:"294",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"6"},{N:"ufCall",name:"Q{MyFunctions}typeCheck", -tailCall:"false",bSlot:"47",C:[{N:"varRef",name:"Q{}body",slot:"13"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"5"}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg2135267024",bSlot:"48"}]}]}]}]}]},{N:"true"},{N:"varRef",name:"Q{}body", -slot:"13"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"283",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}str",flags:"s",line:"578",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}str"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"579",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}str",C:[{N:"sequence",role:"content",line:"580",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"49"}]},{N:"axis",line:"581",name:"attribute",nodeTest:"NA"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"256",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc",flags:"s",line:"103",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"104",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"50"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]}, -{N:"param",line:"105",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"1FM",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|focus-context-type",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"106","var":"Q{}forEach",as:"*NE",slot:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc", -op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"forEachItem"},{N:"str",val:"forEachSource"}]},{N:"attVal",name:"Q{}role"}]}]},{N:"let",line:"107","var":"Q{}select",as:"*NE",slot:"3",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"selectRows"}]}]},{N:"let",line:"108","var":"Q{}source",as:"?NE",slot:"4",C:[{N:"treat",line:"109",as:"NE",diag:"3|0|XTTE0570|source", -C:[{N:"check",card:"?",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}forEach",slot:"2"}]}]}]},{N:"copy",line:"111",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc",C:[{N:"let",role:"content",line:"112","var":"Q{}for",as:"1NE",slot:"5",C:[{N:"treat",line:"113",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}select",slot:"3"}, -{N:"withParam",name:"Q{}context-type",flags:"t",as:"?FM",C:[{N:"choose",line:"120",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}source",slot:"4"}]},{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall", -ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"merging.xsl",line:"120",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"51",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"4"}, -{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"0"}]}]}]}]}]},{N:"let",line:"124","var":"Q{}body",as:"*NE",slot:"6",C:[{N:"treat",line:"125",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"union",op:"|",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}select",slot:"3"}]},{N:"docOrder",intra:"0", -C:[{N:"varRef",name:"Q{}forEach",slot:"2"}]}]}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"126",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ufCall",line:"123",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"52",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef", -name:"Q{}for",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"sequence",line:"130",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"axis",line:"131",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"132",name:"Q{}source",slot:"4"},{N:"varRef",line:"132",name:"Q{}for",slot:"5"},{N:"varRef",line:"132",name:"Q{}body",slot:"6"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", -seq:"159",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}forEach",flags:"s",line:"70",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEach"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"71",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t", -as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"53"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"72",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"54"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type", -C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"75","var":"Q{}for",as:"1NE",slot:"2",C:[{N:"treat",line:"76",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let",line:"79","var":"Q{}forItemType",as:"1FM",slot:"3",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"repetition.xsl",line:"79",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"55",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]},{N:"let",line:"80","var":"Q{}body",as:"1NE",slot:"4",C:[{N:"treat",line:"81",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2", -C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"82",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"varRef",line:"83",name:"Q{}forItemType",slot:"3"}]}]}]}]},{N:"copy",line:"87",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}forEach",C:[{N:"sequence",role:"content",line:"89",C:[{N:"att",name:"sType",flags:"l",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash", -simple:"1",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"repetition.xsl",line:"89",card:"1",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"slash",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"true"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"56"}]}]},{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}role"}, -{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}module"},{N:"choose",line:"91",C:[{N:"and",line:"92",op:"and",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"5",C:[{N:"lookup",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"repetition.xsl",line:"92",name:"Q{}forItemType",slot:"3"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", -C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]}]}]}]},{N:"str",val:"N"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}for",slot:"2"},{N:"axis",name:"self",nodeTest:"NE n*:slash"}]}]}]},{N:"elem",line:"93",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"varRef",line:"94",name:"Q{}for",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"98", -name:"Q{}for",slot:"2"}]},{N:"varRef",line:"101",name:"Q{}body",slot:"4"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"236",rank:"4",minImp:"0",slots:"5",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"133",module:"numbering.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"133",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"select"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nodeNum"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"134",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef", -role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"57"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"135",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}needsNode"}]}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]}]}, -{N:"fn",name:"not",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"numbering.xsl",line:"135",card:"1",diag:"0|0||t:isNode", -C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data", -diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"N"}]}]}]}]}]},{N:"ufCall",line:"136",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"58",C:[{N:"str",val:"XTTE0990"},{N:"str",val:"xsl:number without @select or @value must have a node() as context"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"let",line:"138","var":"Q{}outer",as:"1NE",slot:"2",C:[{N:"treat",line:"140",as:"NE",diag:"3|0|XTTE0570|outer",C:[{N:"check", -card:"1",diag:"3|0|XTTE0570|outer",C:[{N:"try",flags:"r",C:[{N:"let","var":"Q{}temp",as:"1NE",slot:"3",C:[{N:"treat",line:"141",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"varRef",line:"143",name:"Q{}temp",slot:"3"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0002 Q{http://www.w3.org/2005/xqt-errors}XPTY0020",C:[{N:"ufCall",line:"145",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"59",C:[{N:"str", -val:"XTTE0990"},{N:"str",val:"xsl:number without @select or @value must have a node() as context"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]}]}]}]},{N:"sequence",line:"148",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"4",C:[{N:"lookup",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"numbering.xsl",line:"148",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"60",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}outer",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"4"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"4"}]}]}]}]},{N:"str",val:"N"}]}]}]}]},{N:"ufCall",line:"149",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"61",C:[{N:"str", -val:"XTTE1000"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:number/@select must yield a result of type node(), not "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"62",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"63",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}outer",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}, -{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"varRef",line:"151",name:"Q{}outer",slot:"2"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"235",rank:"4",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"123",module:"numbering.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"123",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"value"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}numSeqFmt"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"124","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"125",as:"NE",diag:"3|0|XTTE0570|temp", -C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"128",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"64",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"gVarRef",name:"Q{}ST.MULTIPLE_ATOMIC",bSlot:"65"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1542155234", -bSlot:"66"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"298",rank:"1",minImp:"0",slots:"29",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"964",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"966",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"967",name:"Q{}local.variables",slot:"1",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"968",name:"Q{}globals",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]}, -{N:"param",line:"969",name:"Q{}global.functions",slot:"3",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"970",name:"Q{}accumulators",slot:"4",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"971",name:"Q{}context-type",slot:"5",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"67"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"972",name:"Q{}focus-context-type",slot:"6",flags:"t",as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"5"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"6"}]}]}]},{N:"param",line:"973",name:"Q{}nsAttribute",slot:"7",flags:"t",as:"?NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"supplied",slot:"7"}]}]}]},{N:"param",line:"974",name:"Q{}defaultHTML5",slot:"8",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied", -slot:"8"}]}]}]}]}]},{N:"let",line:"981","var":"Q{}slotMap",as:"1FM v[?]",slot:"9",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",as:"FM",diag:"0|0||map:keys",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot", -type:"1A"},{N:"subscript",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:"21|0||$local.variables",C:[{N:"check",card:"1",diag:"21|0||$local.variables",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]},{N:"arrayBlock",C:[{N:"dot",type:"1A"}]}]},{N:"int",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"982","var":"Q{}role",as:"?NA",slot:"10", -flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"let",line:"983","var":"Q{}line",as:"?NA",slot:"11",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}line"},{N:"let",line:"984","var":"Q{}allow-empty",as:"?AB",slot:"12",flags:"e",C:[{N:"vc",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}allow-empty"}]},{N:"str",val:"true"}]},{N:"let",line:"986","var":"Q{}ns",as:"?FM k[AS] v[1AS]",slot:"13",flags:"e",C:[{N:"choose",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xpathDefaultNamespace"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]},{N:"let",line:"988","var":"Q{}collation",as:"?FM k[AS] v[?AS]",slot:"14",flags:"e",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"defaultCollation"},{N:"first",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]}]}]}]},{N:"let",line:"989","var":"Q{}backward-compatibility",as:"1AB",slot:"15",flags:"e",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}BC"}]},{N:"let",line:"991","var":"Q{}checkType",as:"?AS",slot:"16",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|checkType",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|checkType",C:[{N:"data",diag:"3|0|XTTE0570|checkType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}checkType"}]}]}]},{N:"let",line:"999","var":"Q{}namespaces",slot:"17",flags:"e",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"namespaces.xsl",line:"65","var":"Q{}ns",as:"?NA",slot:"18",C:[{N:"lastOf",C:[{N:"slash",simple:"2",C:[{N:"slash",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"999",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"choose",line:"72",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"18"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespaces"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize", -C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"varRef",name:"Q{}ns",slot:"18"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"19",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"20",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"19"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef", -name:"Q{}uri",slot:"20"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"68"},{N:"varRef",name:"Q{}prefix",slot:"19"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"20"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]}]},{N:"let",line:"1006","var":"Q{}context-type",as:"?FM",slot:"21",flags:"e",C:[{N:"choose",C:[{N:"and", -op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"select"}]}]},{N:"varRef",name:"Q{}focus-context-type",slot:"6"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"5"}]},{N:"let",line:"1011","var":"Q{}temp",as:"1",slot:"22",C:[{N:"check",line:"1042",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"try", -flags:"r",C:[{N:"applyT",line:"1044",mode:"Q{}exportNS",bSlot:"69",C:[{N:"ifCall",role:"select",line:"1042",name:"Q{http://saxon.sf.net/}compile-XPath",type:"1",C:[{N:"check",card:"1",diag:"0|0||saxon:compile-XPath",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||saxon:compile-XPath",C:[{N:"cvUntyped",to:"AS",diag:"0|0||saxon:compile-XPath",C:[{N:"data",diag:"0|0||saxon:compile-XPath",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"language"},{N:"str",val:"XSLT"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"html5Mode"},{N:"varRef",name:"Q{}defaultHTML5",slot:"8"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backwardCompatibility"},{N:"varRef",name:"Q{}backward-compatibility", -slot:"15"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"inCatch"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}catch"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"inTry"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot", -type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}try"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"allowEmpty"},{N:"varRef",name:"Q{}allow-empty",slot:"12"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"globals"},{N:"varRef",name:"Q{}globals",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"globalFunctions"},{N:"varRef",name:"Q{}global.functions",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"accumulators"},{N:"varRef",name:"Q{}accumulators",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"slotMap"},{N:"varRef",name:"Q{}slotMap",slot:"9"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"contextType"}, -{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}role",slot:"10"}]}]},{N:"str",val:"match"}]},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"70"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"21"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"nsAttribute"},{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}nsAttribute",slot:"7"}]}]}]},{N:"map",size:"2",C:[{N:"str", -val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}ns",slot:"13"},{N:"varRef",name:"Q{}namespaces",slot:"17"},{N:"varRef",name:"Q{}collation",slot:"14"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"check",card:"?",diag:"0|2||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPTY0020", -C:[{N:"fn",line:"1052",name:"error",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultedSelect"}]},{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"},{N:"true"},{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]},{N:"fn",name:"concat", -C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in XPath"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"71",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"str",val:" {"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"1061",C:[{N:"elem",name:"ex:empty",nsuri:"http://ns.saxonica.com/xslt/export",C:[{N:"empty"}]},{N:"fn",line:"1064",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error", -C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in XPath"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"72",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"str",val:" {"}]}, -{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]}]},{N:"let",line:"1069","var":"Q{}temp",as:"1NE", -slot:"23",C:[{N:"choose",line:"1070",C:[{N:"instance",line:"1071",of:"1FM",C:[{N:"varRef",name:"Q{}temp",slot:"22"}]},{N:"let",line:"1072","var":"Q{}type",slot:"24",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"22"},{N:"str",val:"type"}]},{N:"let",line:"1076","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"25",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}type",slot:"24"}]}]}]},{N:"str",val:" "}]}, -{N:"treat",line:"1073",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"22"},{N:"str",val:"expr"}]},{N:"copy",line:"1074",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"1075",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"1076",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", -slot:"25"}]},{N:"slash",line:"1077",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"1082",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"varRef",name:"Q{}temp",slot:"22"}]}]},{N:"sequence",line:"1086",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultedSelect"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"check", -card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"N"}]}]},{N:"fn",name:"not",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]},{N:"str",val:""}]}]}]}]},{N:"fn",line:"1089",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"The required item type of the context item for xpath '"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"' is node(), but the supplied expression has type "}]},{N:"ufCall", -name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"73",C:[{N:"check",card:"1",diag:"0|0||t:displayType",C:[{N:"varRef",name:"Q{}context-type",slot:"21"}]}]}]}]}]},{N:"let",line:"1091","var":"Q{}temp",as:"1NE",slot:"26",C:[{N:"choose",line:"1092",C:[{N:"choose",line:"1093",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]}, -{N:"str",val:""}]},{N:"ufCall",name:"Q{MyFunctions}requiresNodeTest",tailCall:"false",bSlot:"74",C:[{N:"varRef",name:"Q{}temp",slot:"23"}]},{N:"true"},{N:"false"}]},{N:"elem",line:"1094",name:"slash",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"simple",flags:"l",C:[{N:"str",val:"1"}]},{N:"docOrder",line:"1095",intra:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"23"},{N:"sequence", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"elem",line:"1096",name:"treat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"str",val:"N"}]},{N:"att",name:"diag",flags:"l",C:[{N:"str",val:"13|0|XTTE0510|"}]},{N:"elem",line:"1097",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"empty"}]}]}]},{N:"varRef",line:"1099", -name:"Q{}temp",slot:"23"}]}]},{N:"true"},{N:"varRef",line:"1103",name:"Q{}temp",slot:"23"}]},{N:"let",line:"1107","var":"Q{}temp",as:"1NE",slot:"27",C:[{N:"choose",line:"1112",C:[{N:"and",line:"1111",op:"and",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"^(\\+|\\*)N"},{N:"str",val:""}]},{N:"fn",name:"empty", -C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"union",op:"|",C:[{N:"union",op:"|",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE u[NE u[NE u[NE u[NE u[NE n*:sequence,NE n*:axis],NE n*:filter],NE n*:except],NE n*:for],NE n*:forEach],NE n*:varRef],NE n*:gVarRef],NE n*:copyOf]"},{N:"filter",flags:"",C:[{N:"axis",name:"self",nodeTest:"NE n*:fn"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"reverse"}]}]}]},{N:"axis",name:"self",nodeTest:"NE n*:ufCall"}]}]}]}]}, -{N:"elem",line:"1115",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1116",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}temp",slot:"26"}]}]},{N:"and",line:"1119",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}slash"}]}]}, -{N:"fn",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"attVal",name:"Q{}type"}]}]}]},{N:"str",val:"item("}]}]},{N:"elem",line:"1120",name:"homCheck",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1121",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}, -{N:"varRef",name:"Q{}temp",slot:"26"}]}]},{N:"true"},{N:"varRef",line:"1125",name:"Q{}temp",slot:"26"}]},{N:"let",line:"1129","var":"Q{}temp",as:"1NE",slot:"28",C:[{N:"choose",line:"1130",C:[{N:"varRef",line:"1131",name:"Q{}checkType",slot:"16"},{N:"treat",line:"1132",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"75",C:[{N:"varRef",name:"Q{}temp",slot:"27"},{N:"ufCall",name:"Q{MyTypes}marshalType", -tailCall:"false",bSlot:"76",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"varRef",name:"Q{}checkType",slot:"16"}]}]},{N:"check",card:"1",diag:"0|2||f:typeCheck",C:[{N:"convert",line:"992",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|diagnostic",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|diagnostic",C:[{N:"data",diag:"3|0|XTTE0570|diagnostic",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}diagnostic"}]}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"1135",name:"Q{}temp",slot:"27"}]},{N:"choose", -line:"1139",C:[{N:"fn",line:"1140",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"axis",name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"current"}]}]}]},{N:"choose",line:"1141",C:[{N:"fn",line:"1142",name:"empty",C:[{N:"varRef",name:"Q{}context-type",slot:"21"}]},{N:"elem",line:"1143",name:"error",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"code",flags:"l",C:[{N:"str",val:"XTDE1360"}]},{N:"att",name:"message",flags:"l",C:[{N:"str",val:"context absent for current()"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"1144",name:"Q{}role",slot:"10"}]}]},{N:"true"},{N:"elem",line:"1152",name:"let",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"var",flags:"l",C:[{N:"str",val:"fn-current"}]},{N:"att", -name:"slot",flags:"l",C:[{N:"str",val:"199"}]},{N:"axis",line:"1153",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"1153",name:"Q{}role",slot:"10"},{N:"varRef",line:"1153",name:"Q{}line",slot:"11"},{N:"slash",line:"1153",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"elem",line:"1154",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"empty"}]},{N:"applyT",line:"1155",mode:"Q{}xpath-with-current", -bSlot:"77",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"28"}]}]}]}]},{N:"true"},{N:"forEach",line:"1171",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"copy",line:"1172",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"1173",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"10"},{N:"varRef",name:"Q{}line",slot:"11"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"167",rank:"1",minImp:"0", -slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}choose",flags:"s",line:"29",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}choose"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"30","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"31",as:"NE",diag:"3|0|XTTE0570|parts", -C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"35",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}choose",C:[{N:"sequence",role:"content",line:"36",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"78",C:[{N:"ufCall",line:"34",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"79",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b", -C:[{N:"filter",flags:"pb",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"compareToInt",op:"eq",val:"0",C:[{N:"arith",op:"mod",calc:"i%i",C:[{N:"fn",name:"position"},{N:"int",val:"2"}]}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"80",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", -C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"37",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"37",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"248",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup",flags:"s",line:"117",module:"grouping.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"118",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"81"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"119",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"1"}]}]}]},{N:"copy",line:"121",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup",C:[{N:"let",role:"content",line:"122","var":"Q{}population",as:"1NE",slot:"2",C:[{N:"treat",line:"123",as:"NE",diag:"3|0|XTTE0570|population",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|population",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let", -line:"125","var":"Q{}populationType",slot:"3",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"82",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}population",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"let",line:"127","var":"Q{}body",as:"+NE",slot:"4",C:[{N:"treat",line:"128",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check", -card:"+",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"129",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320", -name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"grouping.xsl",line:"126",name:"Q{}populationType",slot:"3"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]},{N:"sequence",line:"133", -C:[{N:"att",name:"sType",flags:"l",C:[{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"grouping.xsl",line:"133",card:"1", -diag:"0|0||t:withOccurrenceIndicator",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"data",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"content"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}, -{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"axis",line:"134",name:"attribute",nodeTest:"NA"},{N:"choose",line:"135",C:[{N:"and",line:"136",op:"and",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"5",C:[{N:"lookup",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"grouping.xsl",line:"136",name:"Q{}populationType",slot:"3"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", -C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]}]}]}]},{N:"str",val:"N"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}population",slot:"2"},{N:"axis",name:"self",nodeTest:"NE n*:slash"}]}]}]},{N:"elem",line:"137",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"slash",line:"138",simple:"1",C:[{N:"varRef",name:"Q{}population",slot:"2"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"138",name:"Q{}population",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"142",name:"Q{}population",slot:"2"}]},{N:"varRef",line:"145",name:"Q{}body",slot:"4"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"293",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}valueOf",flags:"s",line:"866",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}valueOf"}, -{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"866",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"string-join"}]}]}]},{N:"elem",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"867",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"copy",line:"868",flags:"inl",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}valueOf",C:[{N:"sequence",role:"content",line:"869",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"870",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", -name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"272",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}MAP",flags:"s",line:"49",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}MAP"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50", -C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"83"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"51",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map}"}, -{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"target"}]}]},{N:"str",val:"JS"}]},{N:"str",val:"_new"},{N:"true"},{N:"str",val:"merge"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_MAP",bSlot:"84"}]},{N:"axis",line:"52",name:"attribute",nodeTest:"NA"},{N:"let",line:"53","var":"Q{}entries",as:"*NE", -slot:"1",C:[{N:"treat",line:"54",as:"NE",diag:"3|0|XTTE0570|entries",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"sequence",line:"56",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"85",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"varRef",name:"Q{}entries",slot:"1"}]},{N:"gVarRef",name:"Q{}ST.MULTIPLE_MAP",bSlot:"86"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck", -C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg938941445",bSlot:"87"}]}]}]}]}]},{N:"elem",line:"57",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map}"},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"target"}]}]},{N:"str",val:"JS"}]},{N:"str",val:"_new"},{N:"true"},{N:"str",val:"merge"}]}]}]},{N:"elem",line:"58",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"59",C:[{N:"elem",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]}, -{N:"att",name:"type",flags:"l",C:[{N:"str",val:"map()"}]},{N:"elem",line:"60",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"duplicates"}]}]}]},{N:"elem",line:"61",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:"reject"}]}]}]}]},{N:"elem",line:"63",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"map()"}]},{N:"elem",line:"64",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"duplicates-error-code"}]}]}]},{N:"elem",line:"65",name:"str",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:"XTDE3365"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"178",part:"1",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty",flags:"s",line:"202",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"204","var":"Q{}source",as:"1NE",slot:"1",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"206",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"207",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef", -name:"Q{}source",slot:"1"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"278",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}copyOf",flags:"s",line:"410",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}copyOf"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"411","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"412",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"414",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}copyOf",C:[{N:"sequence",role:"content",line:"415",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"axis", -name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"294",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fn",flags:"s",line:"875",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"875",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"string-join"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"876","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"877",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", -name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"879",C:[{N:"fn",line:"880",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"elem",line:"881",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"882",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}name]"},{N:"slash",simple:"1",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]}, -{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"true"},{N:"copy",line:"886",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}fn",C:[{N:"sequence",role:"content",line:"887",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"888",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"290",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF",flags:"s",as:"1NE",line:"812", -module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"813",card:"1",diag:'7|0|XTTE0505|match="ex:PARAMDEF" mode="process-xpath"',C:[{N:"sequence",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select", -size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"814",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied", -slot:"1"}]}]}]}]}]},{N:"param",line:"815",name:"Q{}version",slot:"2",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"30"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|version",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"data",diag:"8|0|XTTE0590|version",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"let",line:"818","var":"Q{}init",as:"1NE",slot:"3",C:[{N:"treat",line:"819",as:"NE",diag:"3|0|XTTE0570|init",C:[{N:"check", -card:"1",diag:"3|0|XTTE0570|init",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"823",name:"param",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",line:"816",name:"Q{}no.slots",slot:"1"}]}]}, -{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"88"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, -{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"89"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]},{N:"str",val:"true"}]},{N:"str",val:"t"}]}]},{N:"fn",name:"string",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}, -{N:"str",val:"true"}]},{N:"str",val:"r"}]}]}]}]},{N:"applyT",line:"824",mode:"Q{}attribute-sans-prefix",bSlot:"90",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"axis",line:"825",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"825", -name:"attribute",nodeTest:"NA nQ{}module"},{N:"let",line:"828","var":"Q{}supplied",as:"1NE",slot:"4",C:[{N:"elem",line:"829",name:"supplied",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"conversion"}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",line:"816",name:"Q{}no.slots",slot:"1"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"91"}]}]}]},{N:"choose", -line:"831",C:[{N:"fn",line:"832",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"834","var":"Q{}required",slot:"5",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"92",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]}, -{N:"sequence",line:"841",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"93",C:[{N:"varRef",name:"Q{}init",slot:"3"},{N:"varRef",name:"Q{}required",slot:"5"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"94"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"choose",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"841", -C:[{N:"compareToInt",op:"eq",val:"20",C:[{N:"varRef",name:"Q{}version",slot:"2"}]},{N:"str",val:"XTTE0600"},{N:"true"},{N:"str",val:"XTTE0570"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"841",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:param name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]},{N:"ufCall",line:"844",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"95",C:[{N:"varRef",name:"Q{}supplied",slot:"4"},{N:"varRef",name:"Q{}required",slot:"5"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"96"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"1"},{N:"str",val:"XTTE0590"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"844",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:param name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"847",C:[{N:"varRef",name:"Q{}init",slot:"3"},{N:"varRef",name:"Q{}supplied",slot:"4"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"299",rank:"1",minImp:"0",slots:"18",matches:"NE nQ{http://ns.saxonica.com/xslt/export}pattern", -flags:"s",as:"*NE",line:"1297",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1299",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"97"},{N:"treat",role:"conversion", -as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1300",name:"Q{}local.variables",slot:"1",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"1301",name:"Q{}globals",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"param",line:"1302",name:"Q{}global.functions",slot:"3",flags:"t",C:[{N:"map",role:"select", -size:"0"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"1303",name:"Q{}accumulators",slot:"4",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"1304",name:"Q{}context-type",slot:"5",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"98"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param", -line:"1305",name:"Q{}nsAttribute",slot:"6",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"supplied",slot:"6"}]}]}]},{N:"param",line:"1306",name:"Q{}defaultHTML5",slot:"7",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB", -diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"let",line:"1307","var":"Q{}priority",as:"*NA",slot:"8",flags:"e",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"}]},{N:"let",line:"1309","var":"Q{}slotMap",as:"1FM v[?]",slot:"9",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",as:"FM",diag:"0|0||map:keys",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1A"},{N:"subscript",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:"21|0||$local.variables",C:[{N:"check",card:"1", -diag:"21|0||$local.variables",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]},{N:"arrayBlock",C:[{N:"dot",type:"1A"}]}]},{N:"int",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"1310","var":"Q{}role",as:"?NA",slot:"10",flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"let",line:"1312","var":"Q{}ns",as:"?FM k[AS] v[1AS]",slot:"11",flags:"e",C:[{N:"choose", -C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xpathDefaultNamespace"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]},{N:"let",line:"1314","var":"Q{}xpath",as:"?NA",slot:"12",flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"},{N:"let",line:"1329","var":"Q{}temp",as:"1",slot:"13",C:[{N:"check", -line:"1359",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"try",flags:"r",C:[{N:"applyT",mode:"Q{}exportNS",bSlot:"99",C:[{N:"ifCall",role:"select",name:"Q{http://saxon.sf.net/}compile-XPath",type:"1",C:[{N:"check",card:"1",diag:"0|0||saxon:compile-XPath",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||saxon:compile-XPath",C:[{N:"cvUntyped",to:"AS",diag:"0|0||saxon:compile-XPath",C:[{N:"data",diag:"0|0||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}xpath",slot:"12"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"literal",count:"2",C:[{N:"map",size:"1",C:[{N:"str",val:"language"},{N:"str",val:"XSLT"}]},{N:"map",size:"1",C:[{N:"str",val:"type"},{N:"str",val:"pattern"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"splitPattern"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}priority",slot:"8"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"globals"},{N:"varRef",name:"Q{}globals",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"globalFunctions"},{N:"varRef",name:"Q{}global.functions",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"accumulators"},{N:"varRef",name:"Q{}accumulators",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"nsAttribute"}, -{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}nsAttribute",slot:"6"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"html5Mode"},{N:"varRef",name:"Q{}defaultHTML5",slot:"7"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"slotMap"},{N:"varRef",name:"Q{}slotMap",slot:"9"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"contextType"},{N:"choose", -C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}role",slot:"10"}]}]},{N:"str",val:"match"}]},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"100"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"5"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}ns",slot:"11"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, -{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"check",card:"?",diag:"0|2||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"catch",errors:"*",C:[{N:"fn",line:"1368",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"choose",line:"1366",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"local-name-from-QName",C:[{N:"treat",as:"AQ", -diag:"0|0||fn:local-name-from-QName",C:[{N:"check",card:"?",diag:"0|0||fn:local-name-from-QName",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:local-name-from-QName",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]},{N:"str",val:"XPST0003"}]},{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0340"},{N:"true"},{N:"data",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]}, -{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in pattern"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"101",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}pattern",flags:"a"}]}]},{N:"str",val:" {"}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall", -name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"let",line:"1373","var":"Q{}temp",as:"1NE",slot:"14",C:[{N:"choose",line:"1374",C:[{N:"instance",line:"1375",of:"1FM",C:[{N:"varRef",name:"Q{}temp",slot:"13"}]},{N:"let",line:"1376","var":"Q{}type",slot:"15",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"13"},{N:"str",val:"type"}]},{N:"let",line:"1382","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"16",flags:"l",C:[{N:"fn", -name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}type",slot:"15"}]}]}]},{N:"str",val:" "}]},{N:"treat",line:"1377",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"13"},{N:"str",val:"expr"}]},{N:"copy",line:"1378",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"1379",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"1382",name:"type",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"16"}]},{N:"slash",line:"1384",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"1389",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"varRef",name:"Q{}temp",slot:"13"}]}]},{N:"let",line:"1393","var":"Q{}attr",as:"?NA",slot:"17",C:[{N:"varRef", -name:"Q{}role",slot:"10"},{N:"forEach",line:"1401",C:[{N:"choose",line:"1399",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"14"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}UnionExprP"}]}]},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"14"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"true"},{N:"varRef",name:"Q{}temp",slot:"14"}]},{N:"choose",line:"1410",C:[{N:"fn",line:"1411",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis", -name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"current"}]}]}]},{N:"elem",line:"1412",name:"p.withCurrent",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1413",C:[{N:"varRef",name:"Q{}attr",slot:"17"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"applyT",line:"1414",mode:"Q{}pattern-with-current", -bSlot:"102",C:[{N:"dot",role:"select",type:"1NE"}]}]}]},{N:"true"},{N:"copy",line:"1418",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"1419",C:[{N:"varRef",name:"Q{}attr",slot:"17"},{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"267",rank:"4",minImp:"0",slots:"12",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accRule",flags:"s",line:"95",module:"streaming.xsl",C:[{N:"p.nodeTest", -role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accRule"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AS",slot:"2",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck", -C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg159823385",bSlot:"103"}]}]}]}]},{N:"sequence",line:"96",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"97",name:"Q{}valueType",slot:"1",flags:"ti",as:"1AS",C:[{N:"check", -role:"conversion",card:"1",diag:"8|0|XTTE0590|valueType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|valueType",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|valueType",C:[{N:"data",diag:"8|0|XTTE0590|valueType",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"98","var":"Q{}this",as:"1",slot:"3",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}accRule",flags:"a"},{N:"let",line:"135","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1FM k[AS] v[+]",slot:"4",flags:"l", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"Q{}value"},{N:"sequence",C:[{N:"varRef",name:"Q{}this",slot:"3"},{N:"int",val:"0"},{N:"varRef",name:"Q{}valueType",slot:"1"}]}]},{N:"let",line:"99","var":"Q{}priority",as:"?NA",slot:"5",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"},{N:"let",line:"117","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"6",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}priority", -slot:"5"}]},{N:"let",line:"100","var":"Q{}attributes",as:"*NA",slot:"7",C:[{N:"treat",line:"101",as:"NA",diag:"3|0|XTTE0570|attributes",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA nQ{}priority]"}]}]},{N:"let",line:"104","var":"Q{}action",as:"*NE",slot:"8",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"let",line:"106","var":"Q{}typeAsMap",slot:"9",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"104", -C:[{N:"varRef",name:"Q{}valueType",slot:"1"}]},{N:"let",line:"107","var":"Q{}patterns",as:"+NE",slot:"10",C:[{N:"treat",line:"108",as:"NE",diag:"3|0|XTTE0570|patterns",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|patterns",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]}]}]}]},{N:"forEach",line:"112",C:[{N:"varRef", -name:"Q{}patterns",slot:"10"},{N:"elem",line:"113",name:"accRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"valueType",flags:"l",C:[{N:"varRef",name:"Q{}valueType",slot:"1"}]},{N:"varRef",line:"114",name:"Q{}attributes",slot:"7"},{N:"att",line:"115",name:"prio",flags:"l",C:[{N:"fn",line:"116",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"varRef",line:"117",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"},{N:"cast", -line:"118",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}priority",slot:"5"}]}]}]}]},{N:"true"},{N:"data",line:"121",C:[{N:"mergeAdj",C:[{N:"applyT",mode:"Q{}pattern-priority",bSlot:"105",C:[{N:"dot",role:"select",type:"1NE"}]}]}]}]}]},{N:"str",val:""}]}]},{N:"copy",line:"125",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"126",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"127",name:"role",flags:"l",C:[{N:"str", -val:"match"}]},{N:"axis",line:"128",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"130","var":"Q{}processedAction",as:"1NE",slot:"11",C:[{N:"treat",line:"131",as:"NE",diag:"3|0|XTTE0570|processedAction",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processedAction",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}action",slot:"8"},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"streaming.xsl",line:"133",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"106",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM k[AS] v[+]",C:[{N:"varRef",line:"135",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"4"}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"int",val:"1"}]}]}]}]},{N:"ufCall",line:"142",name:"Q{MyFunctions}typeCheck", -tailCall:"false",bSlot:"107",C:[{N:"varRef",name:"Q{}processedAction",slot:"11"},{N:"varRef",name:"Q{}typeAsMap",slot:"9"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"2"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"223",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}constructSimpleContent",flags:"s",line:"362",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}constructSimpleContent"}, -{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"363","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"364",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"366",C:[{N:"fn",line:"367",name:"matches",C:[{N:"check",card:"?",diag:"0|0||fn:matches",C:[{N:"convert", -from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]},{N:"str",val:"^xs:string|^[1+?*]AS"},{N:"str",val:""}]},{N:"varRef",line:"368",name:"Q{}parts", -slot:"0"},{N:"true"},{N:"let",line:"371","var":"Q{}on-empty",as:"*NE n*:onEmpty",slot:"1",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"axis",name:"child",nodeTest:"NE n*:onEmpty"}]}]}]},{N:"let",line:"379","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*NE n*:onEmpty",slot:"2",flags:"l",C:[{N:"docOrder",intra:"0",C:[{N:"varRef", -name:"Q{}on-empty",slot:"1"}]},{N:"sequence",line:"372",C:[{N:"elem",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_STRING",bSlot:"108"}]},{N:"forEach",line:"374",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"elem",line:"375",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"109"}]}, -{N:"elem",line:"376",name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"copy",line:"377",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"378",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ITEM",bSlot:"110"}]},{N:"axis",line:"379",name:"attribute",nodeTest:"NA"},{N:"except",line:"379",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"}]}]}]}]}]}]}]},{N:"elem",line:"384", -name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"111"}]},{N:"elem",line:"385",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]},{N:"varRef",line:"388",name:"Q{}on-empty",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"255",rank:"1",minImp:"0",slots:"11",matches:"NE nQ{http://ns.saxonica.com/xslt/export}merge", -flags:"s",line:"58",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}merge"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"59","var":"Q{}sources",as:"*NE",slot:"0",C:[{N:"treat",line:"60",as:"NE",diag:"3|0|XTTE0570|sources",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", -name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc"}]}]},{N:"let",line:"64","var":"Q{}keyTypes",as:"*FA",slot:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}sources",slot:"0"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}_from-sequence",type:"1FA",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"112",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]},{N:"sequence",line:"74",C:[{N:"let","var":"Q{}h",slot:"2",C:[{N:"first",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1FA v[1FM]",slot:"3",flags:"l",C:[{N:"treat",as:"FA v[1FM]",diag:"0|0||f:comparableMergeKeys",C:[{N:"check",card:"1",diag:"0|0||f:comparableMergeKeys", -C:[{N:"varRef",name:"Q{}h",slot:"2"}]}]},{N:"choose",C:[{N:"some","var":"Q{}t",slot:"4",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"}]},{N:"fn",name:"not",C:[{N:"let","var":"Q{}k1",as:"1FA v[1FM]",slot:"5",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"},{N:"let","var":"Q{}k2",as:"1FA v[1FM]",slot:"6",C:[{N:"treat",as:"FA v[1FM]",diag:"0|1||f:comparableMergeKeys",C:[{N:"varRef",name:"Q{}t",slot:"4"}]},{N:"and",line:"100",op:"and",C:[{N:"vc",op:"eq", -onEmpty:"0",comp:"CAVC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k2",slot:"6"}]}]},{N:"every","var":"Q{}k",slot:"7",C:[{N:"to",C:[{N:"int",val:"1"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"5"}]}]},{N:"let","var":"Q{}a",slot:"8",C:[{N:"lookup", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k1",slot:"5"},{N:"varRef",name:"Q{}k",slot:"7"}]},{N:"str",val:"p"}]},{N:"let","var":"Q{}b",slot:"9",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k2",slot:"6"},{N:"varRef",name:"Q{}k",slot:"7"}]},{N:"str",val:"p"}]},{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}a",slot:"8"}]},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}a",slot:"8"}]}]}]}]},{N:"int",val:"1"},{N:"int", -val:"2"}]},{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}a",slot:"8"}]}, -{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"113",C:[{N:"str",val:"XTTE2230"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Merge key types "},{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"},{N:"forEach",C:[{N:"lookupAll",C:[{N:"dot",type:"1FA"}]},{N:"ufCall",name:"Q{MyTypes}displayType", -tailCall:"false",bSlot:"114",C:[{N:"treat",as:"FM",diag:"0|0||t:displayType",C:[{N:"dot"}]}]}]}]},{N:"str",val:","}]}]},{N:"str",val:" are not comparable"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}merge",flags:"a"}]}]}]}]},{N:"let",line:"76","var":"Q{}parts",as:"*NE",slot:"10",C:[{N:"treat",line:"77",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE d[NE,NE n*:mergeSrc]"},{N:"withParam",name:"Q{}context-type", -flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"merging.xsl",line:"78",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"115",C:[{N:"check",line:"63",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"first",C:[{N:"varRef",name:"Q{}sources",slot:"0"}]},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]},{N:"copy",line:"81",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}merge", -C:[{N:"sequence",role:"content",line:"82",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"action"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]}]},{N:"varRef",name:"Q{}sources",slot:"0"},{N:"varRef",name:"Q{}parts",slot:"10"}]}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"1.0",seq:"296",rank:"3",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}convert",flags:"s",line:"905",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}convert"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",op:"eq", -onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}to"}]},{N:"str",val:"xs:string"}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}data"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"906","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"907",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}data"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"choose",line:"909",C:[{N:"fn",line:"910",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"self", -nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"varRef",line:"911",name:"Q{}temp",slot:"0"},{N:"true"},{N:"copy",line:"914",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}convert",C:[{N:"sequence",role:"content",line:"915",C:[{N:"att",name:"type",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}to"}]},{N:"str",val:"*"}]}]},{N:"axis",line:"916",name:"attribute",nodeTest:"NA"},{N:"elem",line:"917",name:"data", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"choose",line:"918",C:[{N:"fn",line:"919",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"*NT"}]},{N:"elem",line:"920",name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"921",name:"Q{}temp",slot:"0"}]},{N:"true"}, -{N:"varRef",line:"925",name:"Q{}temp",slot:"0"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"295",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}convert",flags:"s",line:"898",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}convert"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"898",name:"attribute",nodeTest:"NA nQ{}to"}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"899",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}convert",C:[{N:"sequence",role:"content",line:"900",C:[{N:"att",name:"type",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}to"}]},{N:"str",val:"*"}]}]},{N:"axis",line:"901",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"902",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"183",part:"1",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}catch",flags:"s",line:"279",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}catch"},{N:"let",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"281","var":"Q{}parts",as:"*NE",slot:"1",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"285",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"286",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att", -line:"287",name:"sType",flags:"l",C:[{N:"ufCall",line:"284",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"116",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"117",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"118",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"288",name:"Q{}parts",slot:"1"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"274",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}package",flags:"s",line:"117",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}package"},{N:"copy", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"118",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}package",C:[{N:"sequence",role:"content",line:"119",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"177","var":"Q{}accumulators",as:"1FM v[1AS]",slot:"0",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"string",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"str",val:"*"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, -{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"187","var":"Q{}global.functions",as:"1FM",slot:"1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}name"}, -{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"body"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"194", -"var":"Q{}typed-globals",as:"*NE",slot:"2",C:[{N:"treat",line:"196",as:"NE",diag:"3|0|XTTE0570|typed-globals",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalVariable,NE nQ{http://ns.saxonica.com/xslt/export}globalParam]"}]},{N:"withParam",name:"Q{}globals",flags:"t",as:"1FM k[AZ] v[1NE]",C:[{N:"ifCall",line:"200",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]}]}, -{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str", -val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}global.functions",flags:"t",as:"1FM",C:[{N:"varRef",line:"201",name:"Q{}global.functions",slot:"1"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"1FM v[1AS]",C:[{N:"varRef",line:"203",name:"Q{}accumulators",slot:"0"}]}]}]},{N:"sequence",line:"207",C:[{N:"choose",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}options",bSlot:"119"},{N:"str",val:"traceProgress"}]},{N:"message",line:"208",C:[{N:"sequence",role:"select", -C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}typed-globals",slot:"2"}]},{N:"str",val:"global variables/params"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"221",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"int",val:"0"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM k[* n~error] v[** n~error]",C:[{N:"map", -size:"0"}]},{N:"withParam",name:"Q{}globals",flags:"t",as:"1FM v[1]",C:[{N:"ifCall",line:"215",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}typed-globals",slot:"2"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"dot", -type:"1NE"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}global.functions",flags:"t",as:"1FM",C:[{N:"varRef",line:"229",name:"Q{}global.functions",slot:"1"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"1FM v[1AS]",C:[{N:"varRef",line:"231",name:"Q{}accumulators",slot:"0"}]},{N:"withParam",name:"Q{}named-template-params",flags:"t",as:"1FM v[1FM v[1A]]",C:[{N:"ifCall", -line:"212",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE n*:template"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"slash", -simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"}, -{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}version",flags:"t",as:"1ADI",C:[{N:"check",line:"233",card:"1",diag:"8|0|XTTE0590|version",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"data",diag:"8|0|XTTE0590|version",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]}]},{N:"choose", -line:"235",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"120"}]}]},{N:"fn",line:"238",name:"error",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"121"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"XPath compilation stage failed with "},{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"122"}]}]}]}, -{N:"str",val:" errors - see message console for details"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"297",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj",flags:"s",line:"934",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"935","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"936",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"938",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj",C:[{N:"sequence",role:"content",line:"939",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}sType"}]},{N:"choose",line:"940",C:[{N:"fn",line:"941",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"}]}]},{N:"varRef",line:"942",name:"Q{}temp",slot:"0"},{N:"fn",line:"944",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"0"}, -{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"item("}]},{N:"elem",line:"945",name:"homCheck",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"946",name:"Q{}temp",slot:"0"}]},{N:"true"},{N:"varRef",line:"950",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"193",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}evaluate",flags:"s",line:"88",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE nQ{http://ns.saxonica.com/xslt/export}evaluate"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"88",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"89",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"process-xpath ex:evaluate @ex:asJ = "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"let",line:"91","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"92",as:"NE",diag:"3|0|XTTE0570|temp", -C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"95",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"123",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"ufCall",line:"90",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"124",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -name:"Q{http://saxon.sf.net/generated-variable}gg519751097",bSlot:"125"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"280",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}empty",flags:"s",line:"436",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}empty"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"437",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}empty",C:[{N:"sequence",role:"content",line:"438",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"126"}]},{N:"axis",line:"439",name:"attribute",nodeTest:"NA"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"286",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}first",flags:"s",line:"610",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE nQ{http://ns.saxonica.com/xslt/export}first"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"610",name:"attribute",nodeTest:"NA nQ{}BC"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"611","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"612",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"614",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}first",C:[{N:"sequence",role:"content",line:"615",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}BC]"},{N:"att",line:"617",name:"sType",flags:"l",C:[{N:"ufCall", -name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"127",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"617",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"128",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"?"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"618",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"269",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}key",flags:"s",line:"46",module:"key.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"47","var":"Q{}match",as:"*NE",slot:"0",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child", -nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"match"}]}]},{N:"let",line:"48","var":"Q{}processed-match",as:"1NE",slot:"1",C:[{N:"treat",line:"49",as:"NE",diag:"3|0|XTTE0570|processed-match",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processed-match",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}match",slot:"0"}]}]}]},{N:"copy",line:"60",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}key",C:[{N:"sequence",role:"content", -line:"61",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"62",name:"flags",flags:"l",C:[{N:"convert",line:"54",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|flags",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|flags",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}flags"},{N:"choose",line:"55",C:[{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind", -tailCall:"false",bSlot:"129",C:[{N:"varRef",name:"Q{}processed-match",slot:"1"},{N:"str",val:"NA"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"a"}]}]},{N:"choose",line:"56",C:[{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"false",bSlot:"130",C:[{N:"varRef",name:"Q{}processed-match",slot:"1"},{N:"str",val:"NN"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"n"}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]},{N:"varRef",line:"63",name:"Q{}processed-match",slot:"1"},{N:"applyT",line:"64",flags:"c", -bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}match",slot:"0"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"178",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty",flags:"s",line:"202",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"203","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"204",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"206",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"207",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}, -{N:"varRef",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"279",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}copy",flags:"s",line:"419",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}copy"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"420",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"131"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"426",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"132",C:[{N:"str",val:"XTTE0945"}, -{N:"str",val:"No context item for xsl:copy"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}copy",flags:"a"}]}]},{N:"let",line:"427","var":"Q{}source",as:"1NE",slot:"1",C:[{N:"treat",line:"428",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"430",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}copy",C:[{N:"sequence",role:"content", -line:"431",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"133",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}context-type",slot:"0"},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"134"}]}]}]}]},{N:"axis",line:"432",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"432",name:"Q{}source",slot:"1"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"196",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function", -flags:"s",line:"178",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"178",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"179","var":"Q{}type",slot:"0",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"135",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"let",line:"180","var":"Q{}temp",as:"1NE",slot:"1",C:[{N:"treat",line:"181",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check", -card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"forEach",line:"185",C:[{N:"varRef",name:"Q{}temp",slot:"1"},{N:"copy",line:"186",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"189",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE n*:arg"},{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"136",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq", -comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"body"}]}]}]},{N:"treat",as:"FM",diag:"0|1||f:typeCheck",C:[{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"r"}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"137"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0780"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"callable-components.xsl",line:"189",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"function "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"()"}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"292",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function",flags:"s",line:"859",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"nextMatch",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"860",flags:"t",C:[{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"empty"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"197",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function",flags:"s",line:"194",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match", -test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"195",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables", -C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"196",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"copy",line:"202",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}function",C:[{N:"sequence",role:"content", -line:"203",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE n*:arg"},{N:"applyT",line:"204",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"body"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"207",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"axis", -name:"child",nodeTest:"NE n*:arg"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE n*:arg"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"fn",name:"string",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}, -{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"138"}]}]}]}]}]}]},{N:"varRef",name:"Q{}local.variables",slot:"0"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"arith",line:"208",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"1"},{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE n*:arg"}]}]}]},{N:"withParam",name:"Q{}context-type", -flags:"t",C:[{N:"empty"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"281",part:"2",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fork",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}fork"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"445","var":"Q{}parts",as:"*NE",slot:"10",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"449",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"10"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"139"}]},{N:"axis",line:"451",name:"attribute", -nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"11",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"140",C:[{N:"check",card:"+",diag:"0|0||t:commonType", -C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"141",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"12", -C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"142",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"11"}]},{N:"choose",line:"461",C:[{N:"every","var":"Q{}p",slot:"13",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"13"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"10"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"12"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"10"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE", -C:[{N:"sequence",role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"12"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"10"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"14",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}role"},{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"14"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall", -name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"143",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"11"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"10"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"164",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://ns.saxonica.com/xslt/export}iterate",flags:"s",line:"179",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"180",C:[{N:"param",name:"Q{}no.slots",slot:"0",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"181",name:"Q{}local.variables",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", -as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"182",name:"Q{}context-type",slot:"2",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"144"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"183",name:"Q{}focus-context-type",slot:"3",flags:"t", -as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"2"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"3"}]}]}]},{N:"copy",line:"184",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}iterate",C:[{N:"let",role:"content",line:"186","var":"Q{}for",as:"1NE",slot:"4",C:[{N:"treat",line:"187",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for", -C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"select"}]}]}]}]}]},{N:"let",line:"189","var":"Q{}bindings",as:"*NE nQ{http://ns.saxonica.com/xslt/export}for",slot:"5",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}for",slot:"4"},{N:"axis",name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}for"}]},{N:"let",line:"190","var":"Q{}new.local.variables", -as:"1FM",slot:"6",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"varRef",name:"Q{}bindings",slot:"5"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}for"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"str", -val:""}]}]}]},{N:"varRef",name:"Q{}local.variables",slot:"1"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"191","var":"Q{}no.slots",as:"1ADI",slot:"7",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"0"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}bindings",slot:"5"}]}]},{N:"let",line:"193","var":"Q{}params",as:"1NE",slot:"8",C:[{N:"treat",line:"194",as:"NE",diag:"3|0|XTTE0570|params", -C:[{N:"check",card:"1",diag:"3|0|XTTE0570|params",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"params"}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"varRef",line:"195",name:"Q{}no.slots",slot:"7"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"varRef",line:"196",name:"Q{}new.local.variables",slot:"6"}]}]}]}]},{N:"let", -line:"201","var":"Q{}body",as:"*NE",slot:"9",C:[{N:"treat",line:"202",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"select"},{N:"str",val:"params"}]},{N:"attVal",name:"Q{}role"}]}]}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef", -line:"203",name:"Q{}context-type",slot:"2"}]},{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"repetition.xsl",line:"199",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"145",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"4"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"205", -name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}params",slot:"8"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"fn",name:"string", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]},{N:"varRef",name:"Q{}new.local.variables",slot:"6"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"arith",line:"206",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"7"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}params",slot:"8"},{N:"axis",name:"child", -nodeTest:"NE"}]}]}]}]}]}]},{N:"sequence",line:"212",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",line:"211",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"146",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"147",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}body",slot:"9"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"action"},{N:"str",val:"on-completion"}]},{N:"attVal", -name:"Q{}role"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"148",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"213",name:"attribute",nodeTest:"NA nQ{}role"},{N:"varRef",line:"214",name:"Q{}for",slot:"4"},{N:"varRef",line:"214",name:"Q{}params",slot:"8"},{N:"varRef",line:"214",name:"Q{}body", -slot:"9"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"281",part:"1",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"445","var":"Q{}parts",as:"*NE",slot:"5",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"449",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"149"}]},{N:"axis",line:"451",name:"attribute", -nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"6",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"150",C:[{N:"check",card:"+",diag:"0|0||t:commonType", -C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"151",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"7", -C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"152",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"6"}]},{N:"choose",line:"461",C:[{N:"every","var":"Q{}p",slot:"8",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"8"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"7"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"5"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE", -C:[{N:"sequence",role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"7"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"5"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"9",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, -{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"9"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType", -tailCall:"false",bSlot:"153",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"6"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"5"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"289",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}VARDEF",flags:"s",as:"1NE",line:"784",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}VARDEF"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"785",card:"1",diag:'7|0|XTTE0505|match="ex:VARDEF" mode="process-xpath"',C:[{N:"sequence",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"786",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI", -diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"elem",line:"789",name:"let",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"var",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert", -from:"ADI",to:"AS",C:[{N:"varRef",line:"787",name:"Q{}no.slots",slot:"1"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"154"}]},{N:"applyT",line:"790",mode:"Q{}attribute-sans-prefix",bSlot:"155",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}, -{N:"axis",line:"791",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"791",name:"attribute",nodeTest:"NA nQ{}module"},{N:"let",line:"792","var":"Q{}temp",as:"*NE",slot:"2",C:[{N:"treat",line:"793",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"796",C:[{N:"fn",line:"797",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"sequence",line:"799",C:[{N:"att",name:"sType",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"ufCall",line:"803",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"156",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]},{N:"ufCall",line:"800",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"157",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"158"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0570"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"803",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:variable name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"806",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"},{N:"axis", -name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"varRef",name:"Q{}temp",slot:"2"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"273",rank:"2",minImp:"0",slots:"0",matches:"NT",flags:"s",line:"111", -module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NT"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"111",name:"not",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"empty",role:"action"}]}]}]},{N:"co",id:"147",binds:"22",C:[{N:"template",name:"Q{}strip-space",flags:"os", -as:"*NE",line:"1465",module:"XSLT-SEF-compiler.xsl",slots:"10",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1467",C:[{N:"param",name:"Q{}precedence-map",slot:"0",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]",diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map", -C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1468",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"choose",line:"1469",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]}]}, -{N:"let",line:"1470","var":"Q{}first",as:"?NE",slot:"2",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]}]},{N:"elem",line:"1532",name:"strip",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"forEach",line:"1533",C:[{N:"forEachGroup",line:"1472",algorithm:"by",C:[{N:"treat",role:"select", -as:"NE",diag:"3|0|XTTE0570|unique",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",C:[{N:"forEach",role:"select",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]},{N:"let",line:"1475","var":"Q{}isStrip",as:"1AB",slot:"3",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space"}]}, -{N:"let",line:"1479","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AS",slot:"4",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}isStrip",slot:"3"},{N:"str",val:"s"},{N:"true"},{N:"str",val:"p"}]},{N:"let",line:"1481","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"5",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}isStrip",slot:"3"}]},{N:"let",line:"1477","var":"Q{}precedence",as:"1ADI",slot:"6",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|precedence", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"0"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"1488","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"7",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}precedence",slot:"6"}]},{N:"forEach",line:"1478",C:[{N:"fn",name:"tokenize",C:[{N:"convert", -from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}elements"}]}]}]},{N:"compElem",line:"1479",C:[{N:"varRef",role:"name",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"4"},{N:"sequence",role:"content",line:"1480",C:[{N:"att",name:"elements",flags:"l",C:[{N:"dot",type:"1AS"}]},{N:"att",line:"1481",name:"strip",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"5"}]},{N:"att",line:"1487", -name:"test",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"NE"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"dot",type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:" n"},{N:"dot",type:"1AS"}]}]}]}]},{N:"att",line:"1488",name:"prec",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"7"}]},{N:"att",line:"1497",name:"priority",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"*", -C:[{N:"dot",type:"1AS"}]},{N:"dec",val:"-0.5"},{N:"fn",name:"contains",C:[{N:"dot",type:"1AS"},{N:"str",val:"*"}]},{N:"dec",val:"-0.25"},{N:"true"},{N:"int",val:"0"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sortKey",line:"1505",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}, -{N:"sortKey",line:"1506",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}priority"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",line:"1510",name:"Q{}elements"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"let",role:"content",line:"1512","var":"Q{}highest-precedence",as:"?AO",slot:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"currentGroup"},{N:"fn",name:"number",C:[{N:"attVal",name:"Q{}prec"}]}]}]},{N:"let",line:"1514","var":"Q{}active",slot:"9",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"gc",op:"=",card:"1:1",comp:"QUNC",C:[{N:"attVal",name:"Q{}prec"},{N:"varRef",name:"Q{}highest-precedence",slot:"8"}]}]},{N:"sequence",line:"1515",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists", -C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}active",slot:"9"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}s"}]}]}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}active",slot:"9"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p"}]}]}]}]},{N:"ufCall",line:"1518",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0270"},{N:"fn",name:"concat", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting strip and preserve space declarations for "},{N:"attVal",name:"Q{}elements"}]},{N:"str",val:" at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}first",slot:"2"}]}]}]},{N:"first",line:"1520",C:[{N:"varRef",name:"Q{}active",slot:"9"}]}]}]}]}]}]},{N:"attVal",role:"key",line:"1525",name:"Q{}prec"},{N:"sortKey",role:"sort",line:"1526",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal", -name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sort",role:"content",line:"1527",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1528",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number", -C:[{N:"attVal",name:"Q{}priority"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"copy",line:"1534",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1535",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}prec"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}code"}]}]}]}]}]}]}]}]}]},{N:"co",id:"148",binds:"22",C:[{N:"function",name:"Q{MyFunctions}wrongValue",line:"813",module:"normalize.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"+NA"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"816",C:[{N:"first",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]},{N:"str",val:" is not a permitted value for "}]},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"dot",type:"1NA"}]}]}]}]},{N:"co",id:"149",binds:"79 150",C:[{N:"template",name:"Q{}role-value-template",flags:"os",line:"177",module:"creating-new-nodes.xsl",slots:"2",C:[{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"178","var":"Q{}role",slot:"0",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"0"},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]},{N:"let",line:"180","var":"Q{}AVT",as:"1NE",slot:"1",C:[{N:"check",line:"181",card:"1",diag:"3|0|XTTE0570|AVT",C:[{N:"callT",name:"Q{}value-template",bSlot:"1"}]},{N:"forEach",line:"184",C:[{N:"varRef",name:"Q{}AVT",slot:"1"},{N:"copy",line:"185",flags:"cin", -sit:"1NE",C:[{N:"sequence",role:"content",line:"186",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"co",id:"151",binds:"1 61",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_MAP",as:"1AS",line:"63",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"63",name:"Q{MyTypes}unmarshalType",tailCall:"false", -bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_MAP",bSlot:"1"}]}]}]},{N:"co",id:"152",binds:"34",C:[{N:"function",name:"Q{MyFunctions}check-sort",line:"247",module:"lib.xsl",flags:"pU",as:"0",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"255",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"check",card:"0",diag:"5|0|XTTE0780|f:check-sort#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:sort+ must be the first children of "},{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"153",binds:"",C:[{N:"function",name:"Q{MyFunctions}EQNameToQName",line:"166",module:"lib.xsl",flags:"pU",as:"1AQ",slots:"2",C:[{N:"arg",name:"Q{}eqname",as:"1AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"168","var":"Q{}parts",as:"*AS",slot:"1",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}eqname",slot:"0"},{N:"int",val:"3"}]},{N:"str",val:"\\}"},{N:"str",val:""}]},{N:"fn",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"fn",line:"169",name:"QName",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"1"}]},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"int",val:"2"}]}]}]}]}]}]},{N:"co", -id:"135",binds:"154 7 154 7",C:[{N:"mode",name:"Q{}pattern-priority",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"304",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"22",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"22",flags:"S", -C:[{N:"str",val:"0"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"3",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.genPos",flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.genPos"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"308",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent",flags:"s",line:"31",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent"},{N:"applyT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"32",flags:"ct",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"306",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate",flags:"s",line:"29",module:"pattern.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"29",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}code"}]},{N:"str",val:""}]}]},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"29",flags:"S",C:[{N:"str",val:"1"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate", -flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"5",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.simPos", -flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.simPos"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"2",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.genNode", -flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.genNode"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"305",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.booleanExp", -flags:"s",line:"28",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.booleanExp"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"28",flags:"S",C:[{N:"str",val:"1"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"311",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn", -flags:"s",line:"57",module:"pattern.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"57",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"intersect"},{N:"str",val:"except"}]},{N:"attVal",name:"Q{}op"}]}]},{N:"applyT",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"58",flags:"ct",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"310",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn",flags:"s",line:"37",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"}, -{N:"fn",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",name:"string",C:[{N:"ufCall",line:"41",name:"Q{MyFunctions}nodeTestPriority",tailCall:"false",bSlot:"0",C:[{N:"choose",line:"39",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"1",C:[{N:"check",card:"1", -diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]}]}]}]},{N:"true"},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"int",val:"1"},{N:"str",val:"p"},{N:"str",val:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"4",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeSet", -flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeSet"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"307",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.any", -flags:"s",line:"30",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.any"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"30",flags:"S",C:[{N:"str",val:"-1"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper", -flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"310",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeTest", -flags:"s",line:"37",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeTest"},{N:"fn",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",name:"string",C:[{N:"ufCall",line:"41",name:"Q{MyFunctions}nodeTestPriority",tailCall:"false",bSlot:"2",C:[{N:"choose",line:"39",C:[{N:"fn",name:"exists",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"3",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]}]}]}]},{N:"true"},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"int",val:"1"},{N:"str",val:"p"},{N:"str",val:"N"}]}]}]}]}]}]}]}, -{N:"co",id:"155",binds:"156 157",C:[{N:"function",name:"Q{MyFunctions}literalType",line:"1009",module:"type.xsl",flags:"pU",as:"1FM",slots:"2",C:[{N:"arg",name:"Q{}inst",as:"1NE"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1011","var":"Q{}name",as:"1AS",slot:"1",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"0"}]},{N:"choose",line:"1013",C:[{N:"compareToString", -line:"1014",op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"ifCall",line:"1015",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str", -val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"ifCall",line:"1022",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"fn",name:"normalize-space", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"0"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str", -val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"0"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"1"},{N:"varRef",name:"Q{}name",slot:"1"}]}]}]}]}]}]},{N:"co",id:"158",binds:"",C:[{N:"function",name:"Q{MyTypes}isAtomic",line:"458",module:"type.xsl",flags:"pU", -as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"460","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]},{N:"or",line:"461",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef", -name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"A"}]}]}]}]}]},{N:"co",id:"159",binds:"",C:[{N:"function",name:"Q{MyFunctions}cast",line:"465",module:"type.xsl",flags:"pU",as:"?A",slots:"2",C:[{N:"arg", -name:"Q{}a",as:"1A"},{N:"arg",name:"Q{}type",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"468",C:[{N:"compareToString",line:"469",op:"eq",val:"AB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"470",flags:"a",as:"1AB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"472",op:"eq",val:"ASNTNCR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", -line:"473",flags:"a",as:"1ASNTNCR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"475",op:"eq",val:"ASNTNCE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"476",flags:"a",as:"1ASNTNCE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"478",op:"eq",val:"ASNTNCI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"479",flags:"a",as:"1ASNTNCI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"481",op:"eq",val:"ASNTNC",C:[{N:"varRef", -name:"Q{}type",slot:"1"}]},{N:"cast",line:"482",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"484",op:"eq",val:"ASNTN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"485",flags:"a",as:"1ASNTN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"487",op:"eq",val:"ASNT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"488",flags:"a",as:"1ASNT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"490",op:"eq",val:"ASNTL", -C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"491",flags:"a",as:"1ASNTL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"493",op:"eq",val:"ASNTM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"494",flags:"a",as:"1ASNTK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"496",op:"eq",val:"ASN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"497",flags:"a",as:"1ASN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"499", -op:"eq",val:"AS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"500",flags:"a",as:"1AS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"502",op:"eq",val:"AQ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"503",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"505",op:"eq",val:"AU",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"506",flags:"a",as:"1AU",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"508", -op:"eq",val:"AA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"509",flags:"a",as:"1AA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"511",op:"eq",val:"AM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"512",flags:"a",as:"1AM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"514",op:"eq",val:"AMP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"515",flags:"a",as:"1AMP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"517",op:"eq",val:"AT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"518",flags:"a",as:"1AT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"520",op:"eq",val:"AR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"521",flags:"a",as:"1AR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"523",op:"eq",val:"ARD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"524",flags:"a",as:"1ARD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"526",op:"eq",val:"ARY",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"527",flags:"a",as:"1ARY",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"529",op:"eq",val:"AG",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"530",flags:"a",as:"1AG",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"532",op:"eq",val:"AH",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"533",flags:"a",as:"1AH",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"535",op:"eq",val:"AI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"536",flags:"a",as:"1AI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"538",op:"eq",val:"AJ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"539",flags:"a",as:"1AJ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"541",op:"eq",val:"AK",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"542",flags:"a",as:"1AK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"544",op:"eq",val:"AD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"545",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"547",op:"eq",val:"ADI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"548",flags:"a",as:"1ADI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"550",op:"eq",val:"ADIN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"551",flags:"a",as:"1ADIN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"553",op:"eq",val:"ADINN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"554",flags:"a",as:"1ADINN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"556",op:"eq",val:"ADIP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"557",flags:"a",as:"1ADIP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"559",op:"eq",val:"ADIPP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"560",flags:"a",as:"1ADIPP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]}, -{N:"compareToString",line:"562",op:"eq",val:"ADIPL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"563",flags:"a",as:"1ADIPL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"565",op:"eq",val:"ADIPLI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"566",flags:"a",as:"1ADIPLI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"568",op:"eq",val:"ADIPLIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"569",flags:"a",as:"1ADIPLIS",C:[{N:"varRef", -name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"571",op:"eq",val:"ADIPLISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"572",flags:"a",as:"1ADIPLISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"574",op:"eq",val:"ADIL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"575",flags:"a",as:"1ADIL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"577",op:"eq",val:"ADILI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"578",flags:"a", -as:"1ADILI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"580",op:"eq",val:"ADILIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"581",flags:"a",as:"1ADILIS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"583",op:"eq",val:"ADILISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"584",flags:"a",as:"1ADILISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"586",op:"eq",val:"AO",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", -line:"587",flags:"a",as:"1AO",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"589",op:"eq",val:"AF",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"590",flags:"a",as:"1AF",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"592",op:"eq",val:"A2",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"593",flags:"a",as:"1A2",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"595",op:"eq",val:"AX",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", -line:"596",flags:"a",as:"1AX",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"598",op:"eq",val:"AZ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"599",flags:"a",as:"1AZ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"true"},{N:"varRef",line:"602",name:"Q{}a",slot:"0"}]}]}]},{N:"co",id:"160",binds:"",C:[{N:"mode",name:"Q{}form.schema",onNo:"DS",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"27",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s", -as:"*FM",line:"397",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"398",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"\\..$"},{N:"str",val:""},{N:"str",val:""}]},{N:"str", -val:"AAA"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"28",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{}sequence-constructor",flags:"s",as:"*FM",line:"400",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{}sequence-constructor"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"401",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{}sequence-constructor",flags:"a"}]},{N:"str",val:"AAA"}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"26",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"388",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"389",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:"\\..+$"},{N:"str",val:""},{N:"str",val:""}]},{N:"ifCall",line:"391",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"isAVT"},{N:"fn",name:"matches",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:"\\.R?A$"},{N:"str",val:""}]}]},{N:"ifCall", -line:"392",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"values"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"str",val:"\\s*\\|\\s*"},{N:"str",val:""}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"}, -{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"25",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{MyFunctions}selectAndContent",flags:"s",line:"384",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{MyFunctions}selectAndContent"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"385",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA nQ{MyFunctions}selectAndContent",flags:"a"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{MyFunctions}selectAndContent",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"24",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{MyFunctions}parents",flags:"s",line:"375",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{MyFunctions}parents"},{N:"ifCall", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"382",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"parents"},{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", -diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{MyFunctions}parents",flags:"a"}]}]}]}]},{N:"str",val:"\\s*\\|\\s*"},{N:"str",val:""}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"top-level",C:[{N:"dot",type:"1AS"}]},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"true"},{N:"dot",type:"1AS"}]}]}]}]}]}]},{N:"co",id:"161",binds:"",C:[{N:"function",name:"Q{MyFunctions}map-aliased-name",line:"540",module:"creating-new-nodes.xsl", -flags:"pU",as:"*",slots:"5",C:[{N:"arg",name:"Q{}original-name",as:"1AQ"},{N:"arg",name:"Q{}namespace-aliases",as:"1FM"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"544","var":"Q{}original-uri",as:"1AU",slot:"2",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"0"}]},{N:"let",line:"545","var":"Q{}new-uri",as:"1AS", -slot:"3",C:[{N:"choose",line:"546",C:[{N:"or",line:"547",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]}]}]},{N:"convert",line:"548",from:"AU",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef", -name:"Q{}original-uri",slot:"2"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]},{N:"int",val:"2"}]}]}]}]}]}]}, -{N:"choose",line:"555",C:[{N:"vc",line:"556",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"2"},{N:"varRef",name:"Q{}new-uri",slot:"3"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"0"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"4",C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]}]},{N:"fn",line:"567", -name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"3"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"str",val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName", -C:[{N:"varRef",name:"Q{}original-name",slot:"0"}]}]}]}]}]}]}]}]}]},{N:"co",id:"46",binds:"",C:[{N:"function",name:"Q{MyFunctions}NCName",line:"148",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"156",C:[{N:"fn",name:"matches",C:[{N:"check",card:"?",diag:"0|0||fn:matches", -C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]},{N:"str",val:"^\\i\\c*$"},{N:"str",val:""}]},{N:"check",card:"1",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"data",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"varRef",name:"Q{}input", -slot:"0"}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"data",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}, -{N:"str",val:"' is not a valid NCName"}]}]}]}]}]}]}]}]}]},{N:"co",id:"162",binds:"74",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg607192333",as:"1AS",line:"240",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"240",name:"concat",C:[{N:"str",val:"This is the XSLT3 compiler version "}, -{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"gVarRef",name:"Q{}compiler.version",bSlot:"0"}]}]}]}]}]},{N:"co",id:"32",binds:"11",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"90",module:"lib.xsl",flags:"pU",as:"1AS",slots:"3",C:[{N:"arg",name:"Q{}name",as:"1AS"},{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}error-code",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"94",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}name",slot:"0"},{N:"varRef",name:"Q{}context",slot:"1"},{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"empty"}]}]}]}]},{N:"co",id:"43",binds:"11",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"85",module:"lib.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}name",as:"1AS"},{N:"arg",name:"Q{}context",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"88",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}name",slot:"0"},{N:"varRef",name:"Q{}context",slot:"1"},{N:"str",val:"XTSE0020"},{N:"empty"}]}]}]}]},{N:"co",id:"45",binds:"22",C:[{N:"function",name:"Q{MyFunctions}not-reserved",line:"72",module:"lib.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}eqName",as:"1AS"},{N:"arg",name:"Q{}location",as:"?N"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"75",C:[{N:"fn",line:"76",name:"matches",C:[{N:"varRef",name:"Q{}eqName",slot:"0"},{N:"str",val:"^Q\\{http://www.w3.org/(1999/XSL/Transform|2005/xpath-functions(/map|/math|/array)?|XML/1998/namespace|2001/XMLSchema(-instance)?|2005/xqt-errors|2000/xmlns/)\\}"},{N:"str",val:""}]},{N:"check",line:"77",card:"1",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"data", -diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0080"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Namespace "},{N:"fn",name:"substring-before",C:[{N:"fn",name:"substring-after",C:[{N:"varRef",name:"Q{}eqName",slot:"0"},{N:"str",val:"Q{"}]},{N:"str",val:"}"}]}]},{N:"str",val:" is reserved for system use"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}location", -slot:"1"}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"80",name:"Q{}eqName",slot:"0"}]}]}]},{N:"co",id:"163",binds:"38 28 15 79 164 17 15 15 28 15 164 28 18 18 19 79",C:[{N:"mode",name:"Q{}sef.named-templates",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"5.0",seq:"327",rank:"13",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", -role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6",seq:"366",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*", -flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"361",rank:"11",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"357",rank:"10",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"353",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"82",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"350",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"75",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"346",rank:"8",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"342",rank:"7",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute", -nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03", -seq:"338",rank:"6",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"334",rank:"5",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"228",rank:"3",minImp:"0",slots:"4",matches:"NE",flags:"s",line:"448",module:"creating-new-nodes.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate", -C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"448",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"448",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"449",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"450",name:"Q{}static-context",slot:"1",flags:"t", -as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"456","var":"Q{}version",as:"?AD",slot:"3",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}, -{N:"true"},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"nextMatch",line:"458",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM",C:[{N:"ifCall",line:"463",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"3"},{N:"dec",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"}, -{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}static-context",slot:"1"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"?AD",C:[{N:"varRef",line:"464",name:"Q{}version",slot:"3"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"465",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"3"},{N:"dec",val:"2"}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"189",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"29",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"32",name:"PARAMDEF", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"33",name:"Q{}record-location",bSlot:"1"},{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"2",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"35",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"3"},{N:"str",val:"select"}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall", -line:"36",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"191",rank:"0",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"41",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"42",C:[{N:"param",name:"Q{}named-template-signatures",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"45",name:"withParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose", -line:"46",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]}]},{N:"str",val:"true"}]},{N:"att",line:"47",name:"flags",flags:"l",C:[{N:"str",val:"t"}]}]},{N:"choose",line:"49",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}]},{N:"let",line:"50","var":"Q{}param",slot:"4",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply", -type:"*",C:[{N:"treat",as:"F",diag:'21|0||map:get(...) ? "params"',C:[{N:"check",card:"1",diag:'21|0||map:get(...) ? "params"',C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str", -val:"params"}]}]}]},{N:"arrayBlock",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"52",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"4"},{N:"str",val:"type"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"4"},{N:"str",val:"typeJ"}]}]}]}]},{N:"choose",line:"54",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"}]},{N:"slash",line:"57",simple:"2",C:[{N:"let",line:"55", -"var":"Q{http://saxon.sf.net/generated-variable}current1896874222",as:"1",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"6",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1896874222",slot:"5"},{N:"attVal",name:"Q{}name"}]},{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", -flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}as,NA nQ{http://ns.saxonica.com/xslt/export}asJ]"}]}]},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis", -line:"59",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"60",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"att",line:"61",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"choose",line:"64",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}, -{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"65",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"5"}]},{N:"applyT",line:"66",mode:"Q{}select.or.sequence",bSlot:"6",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]},{N:"true"},{N:"applyT",line:"70",mode:"Q{}select.or.sequence", -bSlot:"7",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"185",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"14",module:"variables-and-parameters.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"14",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"15",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:" has no following sibling so it will have no effect"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"nextMatch",line:"16",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"0.0", -seq:"187",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"18",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"20",name:"VARDEF",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"21",name:"Q{}record-location",bSlot:"8"},{N:"applyT",line:"22",flags:"c",bSlot:"-1",C:[{N:"axis", -role:"select",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"applyT",line:"23",mode:"Q{}select.or.sequence",bSlot:"9",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"24",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"25",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"10",C:[{N:"dot", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"199",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"268",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"268",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"269",C:[{N:"param",name:"Q{}location",slot:"0",flags:"t",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"270",name:"Q{}has-uniform-static-context",slot:"1",flags:"ti",as:"1AB",C:[{N:"treat", -role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"271",name:"Q{}options",slot:"2",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1", -diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"273",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"uniform",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"1"}]}]},{N:"elem",line:"275",name:"template",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1", -comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"required"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"o"}]},{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"absent"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"s"}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"slots",flags:"l", -C:[{N:"str",val:"200"}]},{N:"choose",line:"276",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"2"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"277",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"applyT",line:"279",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose",line:"280",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"sequence",line:"281",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"282",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"callT",line:"284",name:"Q{}record-location",bSlot:"11"},{N:"applyT",line:"285",mode:"Q{}sef",bSlot:"12",C:[{N:"except", -role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"1",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/XML/1998/namespace}base"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/XML/1998/namespace}space"}]}]}]}]}, -{N:"applyT",line:"287",mode:"Q{}sef",bSlot:"13",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]},{N:"callT",line:"290",name:"Q{}sequence-constructor",bSlot:"14",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"291",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"15"},{N:"str",val:"body"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"388",rank:"2",minImp:"0",slots:"0", -matches:"NA nQ{}as",flags:"s",line:"1710",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1711",C:[{N:"fn",role:"name",name:"name", -C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]},{N:"fn",role:"select",name:"replace",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"201",rank:"4",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"298",module:"callable-components.xsl",C:[{N:"p.withUpper", -role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"298",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"xsl:initial-template"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]}, -{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"299",name:"name",C:[{N:"str",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template"}]}]}]}]},{N:"co",id:"11",binds:"22 22 22 22 22 22",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"106",module:"lib.xsl",flags:"pU",as:"1AS",slots:"7",C:[{N:"arg",name:"Q{}name.in",as:"1AS"},{N:"arg", -name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}error-code",as:"1AS"},{N:"arg",name:"Q{}xpath-default-namespace",as:"?AS"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"112",card:"1",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:EQName#4", -C:[{N:"data",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"try",flags:"r",C:[{N:"let","var":"Q{}name",as:"1AS",slot:"4",C:[{N:"fn",name:"normalize-space",C:[{N:"varRef",name:"Q{}name.in",slot:"0"}]},{N:"choose",line:"113",C:[{N:"fn",line:"114",name:"starts-with",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:"Q{"}]},{N:"varRef",line:"115",name:"Q{}name",slot:"4"},{N:"fn",line:"117",name:"contains",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"let",line:"119","var":"Q{}local",as:"1AS", -slot:"5",C:[{N:"fn",name:"substring-after",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"sequence",line:"120",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"castable",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}local",slot:"5"}]}]},{N:"ufCall",line:"121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"str",val:"Invalid local name: "},{N:"varRef",name:"Q{}name",slot:"4"}]},{N:"varRef",name:"Q{}context", -slot:"1"}]}]},{N:"let",line:"123","var":"Q{}uri",as:"?AU",slot:"6",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"fn",line:"118",name:"substring-before",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"sequence",line:"124",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"ufCall",line:"125",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE0280"},{N:"fn",name:"concat",C:[{N:"str", -val:"Unbound prefix in QName: "},{N:"varRef",name:"Q{}name",slot:"4"}]},{N:"varRef",name:"Q{}context",slot:"1"}]}]},{N:"fn",line:"127",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"str",val:"}"}]},{N:"varRef",name:"Q{}local",slot:"5"}]}]}]}]}]},{N:"fn",line:"129",name:"not",C:[{N:"castable",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}name",slot:"4"}]}]},{N:"sequence",line:"130",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"2",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:" is not a valid name"}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]},{N:"true"},{N:"fn",line:"133",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"varRef",name:"Q{}xpath-default-namespace",slot:"3"}]},{N:"str",val:"}"}]},{N:"varRef",name:"Q{}name",slot:"4"}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}FOCA0002", -C:[{N:"sequence",line:"136",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",C:[{N:"str",val:"XTSE0280"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}context", -slot:"1"}]},{N:"str",val:"Q{}error"}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTSE0080 Q{http://www.w3.org/2005/xqt-errors}XTSE0280 Q{http://www.w3.org/2005/xqt-errors}XTSE0808",C:[{N:"sequence",line:"138",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"fn",name:"local-name-from-QName",C:[{N:"treat",as:"AQ",diag:"0|0||fn:local-name-from-QName",C:[{N:"check",card:"?",diag:"0|0||fn:local-name-from-QName", -C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:local-name-from-QName",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}, -{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"139",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"5",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]},{N:"str",val:" code:"}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat", -C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]}]}]}]}]}]}]}]}]},{N:"co",id:"165",binds:"",C:[{N:"function",name:"Q{MyTypes}withOccurrenceIndicator",line:"1198",module:"type.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"arg",name:"Q{}indicator",as:"1AS"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1201",name:"concat",C:[{N:"varRef",name:"Q{}indicator",slot:"1"},{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]}]},{N:"co",id:"141",binds:"",C:[{N:"mode",name:"Q{}attribute-sans-prefix",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"394",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"1758",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"compAtt", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1759",C:[{N:"fn",role:"name",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"convert",role:"select",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]},{N:"co",id:"166",binds:"162",C:[{N:"template",name:"Q{http://www.w3.org/1999/XSL/Transform}initial-template", -flags:"os",line:"239",module:"XSLT-SEF-compiler.xsl",slots:"0",C:[{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"240",name:"Desc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"valueOf",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg607192333",bSlot:"0"}]}]}]}]},{N:"co",id:"145",binds:"52",C:[{N:"globalVariable", -name:"Q{http://saxon.sf.net/generated-variable}gg519751097",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"}, -{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:""},{N:"str",val:"xsl:evaluate"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"48",binds:"",C:[{N:"globalVariable",name:"Q{}known-namespaces",as:"1FM k[AS] v[1AS]",line:"549",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"12",C:[{N:"str",val:"err"},{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"str",val:"fn"},{N:"str",val:"http://www.w3.org/2005/xpath-functions"},{N:"str",val:"math"}, -{N:"str",val:"http://www.w3.org/2005/xpath-functions/math"},{N:"str",val:"ixsl"},{N:"str",val:"http://saxonica.com/ns/interactiveXSLT"},{N:"str",val:"js"},{N:"str",val:"http://saxonica.com/ns/globalJS"},{N:"str",val:"saxon"},{N:"str",val:"http://saxon.sf.net/"},{N:"str",val:"xsi"},{N:"str",val:"http://www.w3.org/2001/XMLSchema-instance"},{N:"str",val:"xsl"},{N:"str",val:"http://www.w3.org/1999/XSL/Transform"},{N:"str",val:"xml"},{N:"str",val:"http://www.w3.org/XML/1998/namespace"},{N:"str",val:"array"}, -{N:"str",val:"http://www.w3.org/2005/xpath-functions/array"},{N:"str",val:"xs"},{N:"str",val:"http://www.w3.org/2001/XMLSchema"},{N:"str",val:"map"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map"}]}]}]},{N:"co",id:"37",binds:"",C:[{N:"globalVariable",name:"Q{}html-ascii-case-insensitive.collation",as:"1AU",line:"28",module:"sorting.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"atomic",val:"http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive",type:"AU"}]}]},{N:"co", -id:"167",binds:"168 111 40",C:[{N:"template",name:"Q{}compileXSLTschema",flags:"os",line:"361",module:"XSLT-syntax.xsl",slots:"0",C:[{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"362",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",line:"363",C:[{N:"att",name:"version",flags:"l",C:[{N:"str",val:"3.0"}]},{N:"namespace",line:"364", -flags:"l",C:[{N:"str",role:"name",val:"f"},{N:"str",role:"select",val:"MyFunctions"}]},{N:"comment",line:"365",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1960031800",bSlot:"0"}]},{N:"elem",line:"366",name:"xsl:variable",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",line:"367",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"xslt.schema"}]},{N:"att",line:"368",name:"select",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"ufCall",name:"Q{MyFunctions}serialize", -tailCall:"false",bSlot:"1",C:[{N:"gVarRef",name:"Q{}xslt.schema",bSlot:"2"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]},{N:"co",id:"128",binds:"",C:[{N:"globalVariable",name:"Q{}type-error-map",as:"1FM k[AS] v[1AS]",line:"249",module:"xpath.xsl",visibility:"PRIVATE",C:[{N:"map",size:"4",C:[{N:"str",val:"withParam"},{N:"str",val:"XTTE0590"},{N:"str",val:"globalParam"},{N:"str",val:"XTTE0590"},{N:"str",val:"template"},{N:"str",val:"XTTE0505"},{N:"str",val:"globalVariable"},{N:"str",val:"XTTE0570"}]}]}]},{N:"co", -id:"169",vis:"PRIVATE",binds:"",C:[{N:"function",name:"Q{MyFunctions}pvt-emit-literal",line:"23",module:"XSLT-value-template.xsl",flags:"pU",as:"1NA",slots:"1",C:[{N:"arg",name:"Q{}in",as:"1AS"},{N:"att",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation f=MyFunctions xs=~ xsl=~ xml=~",line:"26",name:"literal",C:[{N:"varRef",name:"Q{}in",slot:"0"}]}]}]},{N:"co",id:"170",binds:"120 22 22 90 171 106 164 172 172 172 22 22 22 22 159 173 22 22 25 22 22 111 111 22 174 174 174 174 174 174 174 174 174 174 174 174 174 174 174 34 22 75 90 175 170 34 34 22", -C:[{N:"mode",name:"Q{}process-module",onNo:"FF",flags:"F",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"1.5",seq:"3",rank:"2",minImp:"0",slots:"74",matches:"NE",flags:"s",line:"129",module:"static.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"ND"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}, -{N:"p.nodeTest",test:"ND"}]}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"p.nodeTest",test:"ND"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM", -diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"137",name:"Q{}moduleLabel",slot:"1",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"data",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"supplied",slot:"1"}]}]}]}]}]}, -{N:"param",line:"145",name:"Q{}precLabel",slot:"2",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|precLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|precLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"data",diag:"8|0|XTTE0590|precLabel",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"146",name:"Q{}static-vars",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat", -role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"147",name:"Q{}static-isParam",slot:"4",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied",slot:"4"}]}]}]},{N:"param",line:"148",name:"Q{}var-slots",slot:"5",flags:"t",as:"1FM",C:[{N:"map", -role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"149",name:"Q{}next-slot",slot:"6",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot", -C:[{N:"supplied",slot:"6"}]}]}]}]}]},{N:"param",line:"150",name:"Q{}imported",slot:"7",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|imported",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"data",diag:"8|0|XTTE0590|imported",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"param",line:"151",name:"Q{}top-level",slot:"8",flags:"t",as:"1AB",C:[{N:"true",role:"select"},{N:"treat",role:"conversion", -as:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|top-level",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"data",diag:"8|0|XTTE0590|top-level",C:[{N:"supplied",slot:"8"}]}]}]}]}]},{N:"param",line:"152",name:"Q{}params",slot:"9",flags:"t",as:"1FM k[AQ]",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM k[AQ]",diag:"8|0|XTTE0590|params",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|params",C:[{N:"supplied",slot:"9"}]}]}]},{N:"param",line:"153", -name:"Q{}stylesheet-stack",slot:"10",flags:"t",as:"*AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"supplied",slot:"10"}]}]}]}]},{N:"param",line:"154",name:"Q{}stylesheet-base-uri",slot:"11",flags:"t",as:"1AU",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|stylesheet-base-uri", -C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"11"}]}]}]}]}]},{N:"param",line:"155",name:"Q{}parent-version",slot:"12",flags:"t",as:"?AD",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AD", -diag:"8|0|XTTE0590|parent-version",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|parent-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|parent-version",C:[{N:"data",diag:"8|0|XTTE0590|parent-version",C:[{N:"supplied",slot:"12"}]}]}]}]}]},{N:"let",line:"159","var":"Q{}version",as:"1AD",slot:"20",C:[{N:"callT",line:"160",name:"Q{}XSLT-version",bSlot:"0"},{N:"let",line:"162","var":"Q{}xpath-default-namespace",as:"?NA",slot:"21",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}, -{N:"let",line:"163","var":"Q{}stylesheet-properties",as:"*NA",slot:"22",C:[{N:"sequence",line:"164",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"choose",line:"165",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"att",line:"166",name:"expand-text",C:[{N:"str",val:"no"}]}]},{N:"choose",line:"168",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}parent-version", -slot:"12"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"20"},{N:"varRef",name:"Q{}parent-version",slot:"12"}]}]},{N:"axis",line:"169",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",line:"175",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"ufCall",line:"187",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"1",C:[{N:"str",val:"XTSE0120"},{N:"convert",line:"178",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|message",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|message",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"valueOf",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"valueOf",line:"179",C:[{N:"str",val:" cannot have non-whitespace text node children. "}]}, -{N:"choose",line:"181",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]},{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str",val:"' just after "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"23",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]}]},{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}loc"}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"true"},{N:"convert",line:"408",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a", -as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"23"}]}]}]}]}]}]}]}]},{N:"fn",line:"182",name:"exists",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]},{N:"valueOf",line:"182",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str", -val:"' just before "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"24",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]}]}, -{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}loc"}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"true"}, -{N:"convert",line:"408",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"24"}]}]}]}]}]}]}]}]},{N:"true"},{N:"valueOf",line:"183",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", -diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str",val:"'"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"forEach",line:"190",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"ufCall",line:"191",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",C:[{N:"str",val:"XTSE0130"}, -{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"name",C:[{N:"dot",type:"1N u[NE,ND]"}]}]}]},{N:"str",val:" cannot have a no-namespace child element:"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"dot",type:"1NE"}]}]},{N:"choose",line:"194",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}]}]}, -{N:"ufCall",line:"195",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"3",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"A stylesheet module may not contain more than one xsl:global-context-item element"}]}]},{N:"let",line:"203","var":"Q{}not-discarded",as:"1AB",slot:"25",C:[{N:"choose",line:"204",C:[{N:"fn",line:"205",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}]},{N:"callT",line:"206",name:"Q{}check-use-when",bSlot:"4"},{N:"true"},{N:"true"}]},{N:"let",line:"214", -"var":"Q{}result",as:"1FM",slot:"26",flags:"e",C:[{N:"treat",line:"220",as:"FM",diag:"3|0|XTTE0570|result",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|result",C:[{N:"iterate",C:[{N:"choose",role:"select",C:[{N:"varRef",name:"Q{}not-discarded",slot:"25"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"params",role:"params",line:"221",C:[{N:"param",name:"Q{}components",slot:"13",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|components", -C:[{N:"supplied",slot:"13"}]}]},{N:"param",line:"222",name:"Q{}inner-static-vars",slot:"14",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-vars",slot:"3"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"supplied",slot:"14"}]}]}]},{N:"param",line:"223",name:"Q{}static-isParam",slot:"15",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-isParam",slot:"4"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied",slot:"15"}]}]}]},{N:"param",line:"225",name:"Q{}vars-in-import",slot:"16",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"supplied",slot:"16"}]}]}]},{N:"param",line:"226",name:"Q{}isParam-in-import",slot:"17",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|isParam-in-import", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|isParam-in-import",C:[{N:"supplied",slot:"17"}]}]}]},{N:"param",line:"227",name:"Q{}var-slots",slot:"18",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}var-slots",slot:"5"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"18"}]}]}]},{N:"param",line:"228",name:"Q{}next-slot",slot:"19",as:"1ADI",C:[{N:"varRef",role:"select",name:"Q{}next-slot",slot:"6"},{N:"treat", -role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"supplied",slot:"19"}]}]}]}]}]}]},{N:"ifCall",role:"on-completion",line:"256",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"components"},{N:"varRef", -name:"Q{}components",slot:"13"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-vars"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-isParam"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots", -slot:"18"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"next-slot"},{N:"varRef",name:"Q{}next-slot",slot:"19"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",role:"action",line:"263","var":"Q{}possible.component",as:"?NE",slot:"27",C:[{N:"treat",line:"264",as:"NE",diag:"3|0|XTTE0570|possible.component",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|possible.component", -C:[{N:"applyT",mode:"Q{}static",bSlot:"5",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"withParam",name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"265",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"266",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot",flags:"t",as:"1ADI",C:[{N:"varRef",line:"267",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam", -flags:"t",as:"1FM",C:[{N:"varRef",line:"268",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA",C:[{N:"varRef",line:"269",name:"Q{}xpath-default-namespace",slot:"21"}]},{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"270",name:"Q{}version",slot:"20"}]},{N:"withParam",name:"Q{}stylesheet-properties",flags:"t",as:"*NA",C:[{N:"varRef",line:"271",name:"Q{}stylesheet-properties",slot:"22"}]},{N:"withParam",name:"Q{}has-uniform-static-context", -flags:"t",as:"1AB",C:[{N:"ufCall",line:"272",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]}]},{N:"let",line:"277","var":"Q{}isStaticVariable",as:"1AB",slot:"28",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"7",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"let",line:"278","var":"Q{}isStaticParam",as:"1AB",slot:"29",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"8",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"choose", -line:"280",C:[{N:"or",line:"279",op:"or",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isStaticVariable",slot:"28"}]},{N:"let",line:"287","var":"Q{}name",as:"?AQ",slot:"30",C:[{N:"choose",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:":"}]},{N:"fn",name:"resolve-QName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:resolve-QName", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:resolve-QName",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"true"},{N:"fn",name:"QName",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|1||fn:QName",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:QName",C:[{N:"attVal",name:"Q{}name"}]}]}]}]}]},{N:"let",line:"288","var":"Q{}value",slot:"31",C:[{N:"forEach",line:"291",C:[{N:"varRef",name:"Q{}possible.component", -slot:"27"},{N:"let",line:"292","var":"Q{}isRequired",slot:"32",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"9",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"},{N:"false"}]},{N:"let",line:"293","var":"Q{}isSupplied",as:"1AB",slot:"33",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}params",slot:"9"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose", -line:"296",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"choose",line:"311",C:[{N:"fn",line:"298",name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"10",C:[{N:"choose",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"str",val:"XTSE0620"},{N:"true"},{N:"str",val:"XTSE0010"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must not have a sequence constructor"}]},{N:"dot",type:"1NE"}]}]},{N:"and",line:"313",op:"and",C:[{N:"varRef",name:"Q{}isRequired",slot:"32"}, -{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"ufCall",line:"316",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Required static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE"}]}, -{N:"and",line:"318",op:"and",C:[{N:"varRef",name:"Q{}isStaticVariable",slot:"28"},{N:"gc",op:"!=",card:"N:1",comp:"CCC",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"},{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}visibility"}]}]}]},{N:"str",val:"private"}]}]},{N:"ufCall",line:"322",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must have private visibility"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"325",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied", -slot:"33"}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"attVal",name:"Q{}as"}]}]},{N:"str",val:"(\\*|\\?)\\s*?"},{N:"str",val:""}]}]}]},{N:"ufCall",line:"329",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTDE0700"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat", -C:[{N:"str",val:"No value for implicitly mandatory static parameter "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"331",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isSupplied",slot:"33"}]},{N:"let",line:"332","var":"Q{}supplied",slot:"34",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}params",slot:"9"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef", -name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"334",C:[{N:"and",line:"335",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}supplied",slot:"34"}]}]},{N:"let",line:"337","var":"Q{}targetType",slot:"35",C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"337",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type", -C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"337",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"338","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"36",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:cast",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:cast",C:[{N:"cvUntyped",to:"AS", -diag:"0|1||f:cast",C:[{N:"data",diag:"0|1||f:cast",C:[{N:"varRef",name:"Q{}targetType",slot:"35"}]}]}]}]},{N:"forEach",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall",name:"Q{MyFunctions}cast",tailCall:"false",bSlot:"14",C:[{N:"atomSing",diag:"0|0||f:cast",C:[{N:"dot"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"36"}]}]}]}]},{N:"fn",line:"340",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"342","var":"Q{}targetType",slot:"37", -C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"342",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type",C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"342",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"344", -"var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"38",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:isInstance",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:isInstance",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:isInstance",C:[{N:"data",diag:"0|1||f:isInstance",C:[{N:"varRef",name:"Q{}targetType",slot:"37"}]}]}]}]},{N:"choose",line:"343",C:[{N:"every",line:"344","var":"Q{}item",slot:"39",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall",name:"Q{MyFunctions}isInstance", -tailCall:"false",bSlot:"15",C:[{N:"varRef",name:"Q{}item",slot:"39"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"38"}]}]},{N:"varRef",line:"345",name:"Q{}supplied",slot:"34"},{N:"true"},{N:"ufCall",line:"350",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Supplied value of static parameter "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" does not match the required type"}]}, -{N:"dot",type:"1NE"}]}]}]}]},{N:"true"},{N:"varRef",line:"355",name:"Q{}supplied",slot:"34"}]}]},{N:"and",line:"360",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isRequired",slot:"32"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied",slot:"33"}]}]},{N:"ufCall",line:"363",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"No value for required static parameter "}, -{N:"attVal",name:"Q{}name"}]},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"fn",line:"365",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"let",line:"369","var":"Q{}xpath",as:"1AS",slot:"40",flags:"e",C:[{N:"choose",line:"370",C:[{N:"fn",line:"371",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"372","var":"Q{}type",slot:"41",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"372",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type", -C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"372",type:"1NE"},{N:"str",val:""}]}]},{N:"choose",line:"373",C:[{N:"and",line:"375",op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", -C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str",val:"1"}]}]},{N:"convert",line:"375",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast", -flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]},{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:")"}]}]}]}]},{N:"and",line:"377",op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", -C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str",val:"?"}]}]},{N:"convert",line:"377",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast", -flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:") cast as "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]}]}]}]}]},{N:"fn",line:"378",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data", -diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"convert",line:"378",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:") ! "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false", -bSlot:"18",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"378",name:"Q{}type",slot:"41"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"str",val:"(.)"}]}]}]}]},{N:"true"},{N:"convert",line:"379",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:") treat as "},{N:"fn",name:"string", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]}]}]}]}]}]}]},{N:"true"},{N:"convert",line:"382",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]}]}]}]}]},{N:"let",line:"385","var":"Q{}nsContext",as:"1NE c~untyped",slot:"42",flags:"e",C:[{N:"let",line:"386","var":"Q{}dot",as:"1",slot:"43",C:[{N:"dot", -type:"1NE"},{N:"compElem",line:"387",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"21"}]}]}]},{N:"forEach",role:"content",line:"388",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"390",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str", -val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"43"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"try",line:"398",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}xpath",slot:"40"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"varRef", -role:"nsCxt",name:"Q{}nsContext",slot:"42"},{N:"str",role:"sa",val:"no"},{N:"ifCall",role:"options",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"18"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"}, -{N:"str",val:"XQDY0137"}]}]},{N:"varRef",role:"wp",name:"Q{}inner-static-vars",slot:"14"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"400",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050X"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info", -type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"ufCall",line:"405",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",C:[{N:"str",val:"XTDE3160"},{N:"fn",line:"404",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info", -type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:"Static error in XPath expression supplied to xsl:evaluate:"},{N:"str",val:"Error in static expression:"},{N:"str",val:""}]},{N:"dot",type:"1NE"}]}]}]}]}]},{N:"fn",line:"416",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"empty"},{N:"true"},{N:"str",val:""}]}]}]}]},{N:"let",line:"426","var":"Q{}m",as:"1FM",slot:"44",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}vars-in-import", -slot:"16"},{N:"true"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"sequence",line:"427",C:[{N:"choose",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"428",C:[{N:"and",line:"429",op:"and",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"instance", -of:"1FA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"fn",name:"not",C:[{N:"instance",of:"1FM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"message",line:"430",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Warning: unable to check consistency of multiply-defined variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AQ",to:"AS",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"str",val:" with function(*) type\n "}]}]},{N:"str", -role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"fn",line:"433",name:"not",C:[{N:"fn",name:"deep-equal",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"varRef",name:"Q{}value",slot:"31"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}, -{N:"ufCall",line:"436",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"20",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting values for static variable "},{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"str",val:"\n"}]},{N:"check",line:"437",card:"?",diag:"0|1||fn:concat",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"21", -C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:"\nand:\n"}]},{N:"check",line:"439",card:"?",diag:"0|1||fn:concat",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"22",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]}]},{N:"str",val:"*#xA;"}]},{N:"check",line:"439",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef", -name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"choose",line:"448",C:[{N:"let","var":"Q{}m",slot:"45",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"true"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"and",op:"and",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}, -{N:"or",op:"or",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", -name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]}]},{N:"ufCall",line:"451",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"23",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting declarations for static param/variable "},{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component", -slot:"27"}]}]}]},{N:"let",line:"462","var":"Q{}this-slot",as:"1A",slot:"46",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}next-slot",slot:"19"},{N:"choose",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"fn",name:"function-arity",C:[{N:"treat",as:"F",diag:"0|0||fn:function-arity",C:[{N:"check",card:"1",diag:"0|0||fn:function-arity",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"true"},{N:"int",val:"0"}]}]},{N:"let",line:"466","var":"Q{}grounded-value",as:"1AB", -slot:"47",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1A",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"nextIteration",line:"565",C:[{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",line:"567",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}inner-static-vars",slot:"14"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef", -name:"Q{}value",slot:"31"}]}]},{N:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"568",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}static-isParam",slot:"15"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}isStaticParam",slot:"29"}]}]},{N:"withParam",name:"Q{}vars-in-import",as:"1FM",slot:"16",C:[{N:"choose",line:"574",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}vars-in-import",slot:"16"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}vars-in-import",slot:"16"}]}]},{N:"withParam",name:"Q{}isParam-in-import",as:"1FM",slot:"17",C:[{N:"choose",line:"580",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", -type:"1FM",C:[{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"}]}]},{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"587",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"choose",C:[{N:"varRef",name:"Q{}grounded-value",slot:"47"},{N:"choose",line:"469",C:[{N:"varRef",name:"Q{}grounded-value", -slot:"47"},{N:"let",line:"540","var":"Q{http://saxon.sf.net/generated-variable}v21",as:"1AB",slot:"48",flags:"l",C:[{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"537","var":"Q{http://saxon.sf.net/generated-variable}v20",as:"1AB",slot:"49",flags:"l",C:[{N:"instance",of:"1AN",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"534","var":"Q{http://saxon.sf.net/generated-variable}v19",as:"1AB",slot:"50",flags:"l",C:[{N:"instance",of:"1AQ",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"531","var":"Q{http://saxon.sf.net/generated-variable}v18",as:"1AB",slot:"51",flags:"l",C:[{N:"instance",of:"1AX",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"528","var":"Q{http://saxon.sf.net/generated-variable}v17",as:"1AB",slot:"52",flags:"l",C:[{N:"instance",of:"1A2",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"525","var":"Q{http://saxon.sf.net/generated-variable}v16",as:"1AB",slot:"53",flags:"l",C:[{N:"instance",of:"1AK",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"522","var":"Q{http://saxon.sf.net/generated-variable}v15",as:"1AB",slot:"54",flags:"l",C:[{N:"instance",of:"1AI",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"519","var":"Q{http://saxon.sf.net/generated-variable}v14",as:"1AB",slot:"55",flags:"l",C:[{N:"instance",of:"1AJ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"516","var":"Q{http://saxon.sf.net/generated-variable}v13",as:"1AB",slot:"56",flags:"l",C:[{N:"instance",of:"1AG",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"513","var":"Q{http://saxon.sf.net/generated-variable}v12",as:"1AB",slot:"57",flags:"l",C:[{N:"instance",of:"1AH",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"510","var":"Q{http://saxon.sf.net/generated-variable}v11",as:"1AB",slot:"58",flags:"l",C:[{N:"instance",of:"1AT",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"507","var":"Q{http://saxon.sf.net/generated-variable}v10",as:"1AB",slot:"59",flags:"l",C:[{N:"instance",of:"1ARD",C:[{N:"varRef", -name:"Q{}value",slot:"31"}]},{N:"let",line:"504","var":"Q{http://saxon.sf.net/generated-variable}v9",as:"1AB",slot:"60",flags:"l",C:[{N:"instance",of:"1ARY",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"501","var":"Q{http://saxon.sf.net/generated-variable}v8",as:"1AB",slot:"61",flags:"l",C:[{N:"instance",of:"1AA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"498","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"1AB",slot:"62",flags:"l",C:[{N:"instance",of:"1AMP",C:[{N:"varRef", -name:"Q{}value",slot:"31"}]},{N:"let",line:"495","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"63",flags:"l",C:[{N:"instance",of:"1AM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"492","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"1AB",slot:"64",flags:"l",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AS",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AU",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"488","var":"Q{http://saxon.sf.net/generated-variable}v4", -as:"1AB",slot:"65",flags:"l",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AD",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AO",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"instance",of:"1AF",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"477","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"66",flags:"l",C:[{N:"instance",of:"1AB",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"474","var":"Q{http://saxon.sf.net/generated-variable}v2", -as:"1AB",slot:"67",flags:"l",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"check",line:"470",card:"?",diag:"3|0|XTTE0570|variable.component",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"copy",line:"471",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"472",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"474",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"67"},{N:"att",line:"475",name:"select", -flags:"l",C:[{N:"str",val:"()"}]},{N:"varRef",line:"477",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"66"},{N:"att",line:"484",name:"select",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}value",slot:"31"},{N:"str",val:"true()"},{N:"true"},{N:"str",val:"false()"}]}]},{N:"varRef",line:"488",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"65"},{N:"att",line:"489",name:"select",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj", -C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"varRef",line:"492",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"64"},{N:"att",line:"493",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data", -diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]},{N:"varRef",line:"495",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"63"},{N:"att",line:"496",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}, -{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"24",C:[{N:"str",val:"dateTime"}]}]}]}]}]},{N:"varRef",line:"498",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"62"},{N:"att",line:"499",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "}, -{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"25",C:[{N:"str",val:"dateTimeStamp"}]}]}]}]}]},{N:"varRef",line:"501",name:"Q{http://saxon.sf.net/generated-variable}v8",slot:"61"},{N:"att",line:"502",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall", -name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"26",C:[{N:"str",val:"date"}]}]}]}]}]},{N:"varRef",line:"504",name:"Q{http://saxon.sf.net/generated-variable}v9",slot:"60"},{N:"att",line:"505",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq", -tailCall:"false",bSlot:"27",C:[{N:"str",val:"yearMonthDuration"}]}]}]}]}]},{N:"varRef",line:"507",name:"Q{http://saxon.sf.net/generated-variable}v10",slot:"59"},{N:"att",line:"508",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false", -bSlot:"28",C:[{N:"str",val:"dayTimeDuration"}]}]}]}]}]},{N:"varRef",line:"510",name:"Q{http://saxon.sf.net/generated-variable}v11",slot:"58"},{N:"att",line:"511",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"29", -C:[{N:"str",val:"time"}]}]}]}]}]},{N:"varRef",line:"513",name:"Q{http://saxon.sf.net/generated-variable}v12",slot:"57"},{N:"att",line:"514",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"30",C:[{N:"str",val:"gYearMonth"}]}]}]}]}]}, -{N:"varRef",line:"516",name:"Q{http://saxon.sf.net/generated-variable}v13",slot:"56"},{N:"att",line:"517",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"31",C:[{N:"str",val:"gYear"}]}]}]}]}]},{N:"varRef",line:"519", -name:"Q{http://saxon.sf.net/generated-variable}v14",slot:"55"},{N:"att",line:"520",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"32",C:[{N:"str",val:"gMonthDay"}]}]}]}]}]},{N:"varRef",line:"522",name:"Q{http://saxon.sf.net/generated-variable}v15", -slot:"54"},{N:"att",line:"523",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"33",C:[{N:"str",val:"gMonth"}]}]}]}]}]},{N:"varRef",line:"525",name:"Q{http://saxon.sf.net/generated-variable}v16",slot:"53"},{N:"att", -line:"526",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"34",C:[{N:"str",val:"gDay"}]}]}]}]}]},{N:"varRef",line:"528",name:"Q{http://saxon.sf.net/generated-variable}v17",slot:"52"},{N:"att",line:"529",name:"select", -flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"35",C:[{N:"str",val:"base64Binary"}]}]}]}]}]},{N:"varRef",line:"531",name:"Q{http://saxon.sf.net/generated-variable}v18",slot:"51"},{N:"att",line:"532",name:"select",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"36",C:[{N:"str",val:"hexBinary"}]}]}]}]}]},{N:"varRef",line:"534",name:"Q{http://saxon.sf.net/generated-variable}v19",slot:"50"},{N:"att",line:"535",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS", -C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"37",C:[{N:"str",val:"QName"}]}]}]}]}]},{N:"varRef",line:"537",name:"Q{http://saxon.sf.net/generated-variable}v20",slot:"49"},{N:"att",line:"538",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a", -as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"38",C:[{N:"str",val:"NOTATION"}]}]}]}]}]},{N:"varRef",line:"540",name:"Q{http://saxon.sf.net/generated-variable}v21",slot:"48"},{N:"choose",line:"544",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as", -C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"castable",flags:"a",as:"1AO",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"castable",flags:"a",as:"1AF",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"att",line:"545",name:"select",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"att", -line:"549",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]}, -{N:"true"},{N:"sequence",line:"554",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Unexpected atomic type; treating as string: "},{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:" "}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"att",line:"555",name:"select",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}, -{N:"true"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]},{N:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18",C:[{N:"ifCall",line:"588",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}var-slots",slot:"18"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}this-slot",slot:"46"}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"arith",line:"589",op:"+",calc:"i+i",C:[{N:"varRef", -name:"Q{}this-slot",slot:"46"},{N:"int",val:"1"}]}]}]}]}]}]}]}]}]},{N:"fn",line:"592",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}import,NE nQ{http://www.w3.org/1999/XSL/Transform}include]"}]}]},{N:"let",line:"594","var":"Q{}imported",as:"1AB",slot:"68",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"}]}]},{N:"let",line:"595","var":"Q{}doc",as:"1ND",slot:"69",C:[{N:"check",line:"596",card:"1",diag:"3|0|XTTE0570|doc",C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]},{N:"treat",line:"598",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"39",C:[{N:"fn", -name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"str",val:" must have an @href attribute"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"choose",line:"600",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}, -{N:"treat",line:"602",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"40",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must be empty"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"let",line:"607","var":"Q{}bad-attributes",as:"*NA", -slot:"70",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"except",op:"except",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]},{N:"docOrder",intra:"1",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-validation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]},{N:"sequence",line:"608",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"70"}]}, -{N:"treat",line:"609",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}wrongAttribute",tailCall:"false",bSlot:"41",C:[{N:"check",card:"+",diag:"0|0||f:wrongAttribute",C:[{N:"first",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"70"}]}]}]}]}]},{N:"let",line:"611","var":"Q{}uri",as:"?AU",slot:"71",C:[{N:"fn",name:"resolve-uri",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:resolve-uri",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component", -slot:"27"},{N:"attVal",name:"Q{}href"}]}]}]},{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|1||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:resolve-uri",C:[{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"11"}]}]}]}]}]},{N:"sequence",line:"612",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"varRef",name:"Q{}uri", -slot:"71"}]},{N:"treat",line:"619",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"42",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"str",val:"XTSE0210"},{N:"true"},{N:"str",val:"XTSE0180"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Document "},{N:"varRef",name:"Q{}uri",slot:"71"}]},{N:"str",val:" is recursively including or importing itself"}]}]}]}]},{N:"choose",line:"621",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"treat",line:"622",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Import/Include static processing for"},{N:"varRef",name:"Q{}uri",slot:"71"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"callT",line:"625",name:"Q{}collect-doc",bSlot:"43",C:[{N:"withParam",name:"Q{}uri",flags:"c",as:"?AU",C:[{N:"varRef",line:"626", -name:"Q{}uri",slot:"71"}]}]}]}]}]}]}]}]},{N:"sequence",line:"630",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"sequence",line:"631",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$doc:"},{N:"fn",name:"serialize",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}, -{N:"message",line:"632",C:[{N:"sequence",role:"select",C:[{N:"str",val:"base-uri($doc):"},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"let",line:"635","var":"Q{}collected",as:"1FM",slot:"72",C:[{N:"let",line:"639","var":"Q{}suffix",as:"1AS",slot:"73", -C:[{N:"fn",name:"codepoints-to-string",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"int",val:"50000"},{N:"cvUntyped",line:"637",to:"ADI",diag:"3|0|XTTE0570|index",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"numSeqFmt",C:[{N:"nodeNum",role:"value",level:"single",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.venn",role:"count",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"}]}]}, -{N:"str",role:"startAt",val:"0"}]}]}]}]}]},{N:"treat",line:"640",as:"FM",diag:"3|0|XTTE0570|collected",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|collected",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"44",C:[{N:"slash",role:"select",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}imported",as:"1AB",C:[{N:"varRef",line:"643",name:"Q{}imported",slot:"68"}]},{N:"withParam",name:"Q{}top-level",flags:"t",as:"1AB",C:[{N:"false"}]},{N:"withParam", -name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"644",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"645",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot",flags:"t",as:"1ADI",C:[{N:"varRef",line:"646",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam",flags:"t",as:"1FM",C:[{N:"varRef",line:"647",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}stylesheet-stack",flags:"t", -as:"*AU",C:[{N:"sequence",line:"648",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"fn",name:"base-uri",C:[{N:"varRef",name:"Q{}doc",slot:"69"}]}]}]},{N:"withParam",name:"Q{}parent-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"649",name:"Q{}version",slot:"20"}]},{N:"withParam",name:"Q{}precLabel",flags:"t",as:"1AS",C:[{N:"choose",line:"655",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"73"}]}, -{N:"true"},{N:"varRef",name:"Q{}precLabel",slot:"2"}]}]},{N:"withParam",name:"Q{}moduleLabel",flags:"t",as:"1AS",C:[{N:"fn",line:"656",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"73"}]}]}]}]}]}]},{N:"sequence",line:"659",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"message",line:"660",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$collected:"},{N:"fn",name:"serialize",C:[{N:"varRef", -name:"Q{}collected",slot:"72"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"adaptive"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"nextIteration",line:"663",C:[{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"664",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"treat",as:"NE",diag:"8|0|XTTE0590|components",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str", -val:"components"}]}]}]}]},{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",line:"670",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"static-vars"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str", -val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"676",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"static-isParam"}]}]}]}, -{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18",C:[{N:"treat",line:"677",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"var-slots"}]}]}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"treat",line:"678",as:"ADI",diag:"8|0|XTTE0590|next-slot", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"next-slot"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"nextIteration",line:"684",C:[{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"685",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]}]}]}]}]}]}]}, -{N:"varRef",line:"691",name:"Q{}result",slot:"26"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.45",seq:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"113",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.nodeTest",test:"ND"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"114",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"45",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"str",val:" must not appear at the outermost level of a stylesheet module"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.4",seq:"2",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"117",module:"static.xsl",C:[{N:"p.venn", -role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"118",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"46",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" can only be a child of a document-node, not a '"}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"' element"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.4",seq:"0",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",as:"1FM", -line:"89",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE"},{N:"p.nodeTest",test:"ND"}]},{N:"check",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"91",card:"1",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}, -{N:"treat",line:"93",as:"FM",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"47",C:[{N:"str",val:"XTSE0150"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}package"}]},{N:"str",val:"Supplied stylesheet is a SEF package"},{N:"true"},{N:"str",val:"Simplified stylesheet root element lacks @xsl:version"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"treat",line:"108", -as:"FM",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"applyT",flags:"ct",bSlot:"-1",C:[{N:"slash",role:"select",line:"96",simple:"1",C:[{N:"doc",C:[{N:"elem",line:"97",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"att",line:"98",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace", -flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"100",name:"xsl:template",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"match",flags:"l",C:[{N:"str",val:"/"}]},{N:"copy",line:"101",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"102",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"axis",line:"108", -name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"co",id:"156",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_BOOLEAN",as:"1FM k[AS] v[1AS]",line:"28",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AB"}]}]}]},{N:"co",id:"154",binds:"154",C:[{N:"function",name:"Q{MyFunctions}nodeTestPriority",line:"61",module:"pattern.xsl",flags:"pU",as:"1AD",slots:"4",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"tailCallLoop", -role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"63",C:[{N:"let","var":"Q{}p",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|p",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|p",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|p",C:[{N:"data",diag:"3|0|XTTE0570|p",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]}]}]}]}]}, -{N:"let",line:"64","var":"Q{}n",as:"?AS",slot:"2",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|n",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|n",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|n",C:[{N:"data",diag:"3|0|XTTE0570|n",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"n"}]}]}]}]}]},{N:"let",line:"65","var":"Q{}c",as:"?AS",slot:"3",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|c",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|c",C:[{N:"cvUntyped", -to:"AS",diag:"3|0|XTTE0570|c",C:[{N:"data",diag:"3|0|XTTE0570|c",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"c"}]}]}]}]}]},{N:"choose",line:"67",C:[{N:"fn",line:"68",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"e"}]}]},{N:"ufCall",line:"70",name:"Q{MyFunctions}nodeTestPriority",tailCall:"self",bSlot:"0",C:[{N:"treat",as:"FM",diag:"0|0||f:nodeTestPriority",C:[{N:"check",card:"1",diag:"0|0||f:nodeTestPriority",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}type",slot:"0"},{N:"str",val:"e"}]}]}]}]},{N:"and",line:"72",op:"and",C:[{N:"compareToString",op:"eq",val:"N",C:[{N:"varRef",name:"Q{}p",slot:"1"}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"u"}]}]}]},{N:"dec",val:"-0.5"},{N:"and",line:"74",op:"and",C:[{N:"compareToString",op:"eq",val:"NE",C:[{N:"varRef",name:"Q{}p",slot:"1"}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"u"}]}]}]},{N:"dec",val:"0"}, -{N:"and",line:"75",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}n",slot:"2"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}c",slot:"3"}]}]},{N:"dec",val:"0.25"},{N:"fn",line:"76",name:"exists",C:[{N:"varRef",name:"Q{}c",slot:"3"}]},{N:"dec",val:"0"},{N:"fn",line:"77",name:"exists",C:[{N:"varRef",name:"Q{}n",slot:"2"}]},{N:"choose",line:"78",C:[{N:"or",line:"79",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"str",val:"*:"}]},{N:"fn",name:"ends-with",C:[{N:"varRef", -name:"Q{}n",slot:"2"},{N:"str",val:"}*"}]}]},{N:"dec",val:"-0.25"},{N:"vc",line:"80",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"str",val:"*"}]},{N:"dec",val:"-0.5"},{N:"true"},{N:"dec",val:"0"}]},{N:"true"},{N:"dec",val:"-0.5"}]}]}]}]}]}]}]},{N:"co",id:"176",binds:"",C:[{N:"function",name:"Q{coBindings}find-reference",line:"196",module:"component-bindings.xsl",flags:"pU",as:"*AS",slots:"2",C:[{N:"arg",name:"Q{}bindings",as:"*AS"},{N:"arg",name:"Q{}name",as:"1AS"},{N:"choose", -role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"205",C:[{N:"fn",name:"exists",C:[{N:"fn",name:"index-of",C:[{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"true"},{N:"sequence",C:[{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]}]}]}]},{N:"co",id:"177", -binds:"1",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",as:"1AS",line:"52",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"52",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"NP"}]}]}]}]},{N:"co",id:"178",binds:"",C:[{N:"function",name:"Q{MyFunctions}innermostExNs",line:"163",module:"namespaces.xsl", -flags:"pU",as:"?NA",slots:"1",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"co",id:"179",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_STRING",as:"1FM k[AS] v[1AS]",line:"25",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"AS"}]}]}]},{N:"co",id:"180",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg330224683", -as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str", -val:"0"},{N:"str",val:"XTTE3180"},{N:"str",val:"xsl:copy/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"181",binds:"",C:[{N:"function",name:"Q{MyFunctions}precedence-sort",line:"652",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*NE",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*NE"},{N:"sort",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"654", -C:[{N:"varRef",role:"select",name:"Q{}input",slot:"0"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]},{N:"co",id:"182",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SAME_TYPE", -as:"1AS",line:"162",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"EQ"}]}]},{N:"co",id:"183",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ONE_OR_MORE",as:"1ADI",line:"108",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"6"}]}]},{N:"co",id:"184",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ELEMENT",as:"1FM k[AS] v[1AS]",line:"34",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str", -val:"p"},{N:"str",val:"NE"}]}]}]},{N:"co",id:"185",binds:"",C:[{N:"function",name:"Q{MyFunctions}stackTrace",line:"503",module:"lib.xsl",flags:"pU",as:"*",slots:"0",C:[{N:"empty",role:"body"}]}]},{N:"co",id:"186",binds:"",C:[{N:"function",name:"Q{MyFunctions}plainAtt",line:"830",module:"normalize.xsl",flags:"pU",as:"*NA",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"832",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"co",id:"187",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_FLOAT",as:"1FM k[AS] v[1AS]",line:"18",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"AF"}]}]}]},{N:"co",id:"188",binds:"",C:[{N:"function", -name:"Q{MyFunctions}notify",line:"397",module:"lib.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"400",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"400",name:"Q{}code", -slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"}]}]}]},{N:"co",id:"35",binds:"34",C:[{N:"function",name:"Q{MyFunctions}missingChild",line:"819",module:"normalize.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}child",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"822",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"foreign",bSlot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"str",val:" requires a child element "}]},{N:"varRef",name:"Q{}child",slot:"1"}]},{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]},{N:"co",id:"189",binds:"",C:[{N:"function",name:"Q{MyFunctions}combinedRelationship",line:"296",module:"type.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}rel1",as:"1AS"},{N:"arg",name:"Q{}rel2",as:"1AS"},{N:"choose", -role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"314",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"str",val:"DJ"}]},{N:"str",val:"DJ"},{N:"compareToString", -op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel1",slot:"0"}]},{N:"varRef",name:"Q{}rel2",slot:"1"},{N:"compareToString",op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"true"},{N:"str",val:"OV"}]}]}]},{N:"co",id:"190",binds:"38 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147", -C:[{N:"mode",name:"Q{}sef.top",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"5.0",seq:"326",rank:"8",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6",seq:"364",rank:"7",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"359",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"355",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"344",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"340",rank:"3",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA", -C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data", -diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03",seq:"336",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t", -C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"332",rank:"1",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"376",part:"1",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"87",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"88",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"89",flags:"l", -C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"88"}]},{N:"let",line:"679","var":"Q{}location",as:"1NA",slot:"90",C:[{N:"att",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"91",C:[{N:"choose", -C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"},{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"92",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", -slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"93",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"94",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS", -slot:"95",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"96",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"97",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"ufCall",name:"Q{MyFunctions}boolean-string", -tailCall:"false",bSlot:"1",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"98",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"702",C:[{N:"choose",C:[{N:"lookup", -C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"711","var":"Q{}sorted-precedence-labels",as:"*AS",slot:"99",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels", -C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]},{N:"let",line:"716","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"100",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse", -C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"764","var":"Q{}named-template-signatures",as:"1FM",slot:"101",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str", -role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"102",C:[{N:"let","var":"Q{}highest-precedence", -slot:"103",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+",diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"varRef",name:"Q{}highest-precedence",slot:"103"}]}]}]}]},{N:"sequence", -line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"102"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at", -C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"104",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest",slot:"102"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"105",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}, -{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"104"}]}]}]},{N:"str",role:"terminate", -val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"105"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"map",size:"2",C:[{N:"str", -val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}params",slot:"105"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"}, -{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"3"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, -{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795",C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"106",C:[{N:"treat",as:"FM", -diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"4",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence",line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select",C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false", -bSlot:"5",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"106"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps",as:"*A",slot:"107",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}, -{N:"let",line:"808","var":"Q{}output-declarations",as:"+NE",slot:"108",flags:"e",C:[{N:"condSeq",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"}, -{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name",as:"*A",slot:"109",C:[{N:"currentGroupingKey"}, -{N:"elem",line:"811",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]},{N:"str",val:" "}]}]}]}, -{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"95"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]}, -{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"110",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}, -{N:"let",line:"826","var":"Q{}active",as:"+NA",slot:"111",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"110"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property", -bSlot:"6",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"111"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"111"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation", -val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"112",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property",bSlot:"7",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"112"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"112"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]},{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps", -slot:"113",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}in",as:"*A",slot:"114",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",C:[{N:"let","var":"Q{}input",as:"*NE",slot:"115",C:[{N:"filter",flags:"b", -C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]},{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"115"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder", -val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"114"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation", -val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"116",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"113"},{N:"choose",role:"return",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"107"},{N:"varRef",name:"Q{}c",slot:"116"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]}]},{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"116"}]}]}]}]}, -{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"113"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"864",C:[{N:"elem",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"property", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"872","var":"Q{}character-maps",as:"*NE",slot:"117",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"118",flags:"e",C:[{N:"treat", -as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation", -val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"873","var":"Q{}group-name",as:"*A",slot:"119",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"120",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}, -{N:"let",line:"877","var":"Q{}active",slot:"121",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"120"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active",slot:"121"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"8",C:[{N:"str",val:"XTSE1580"},{N:"fn", -name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]}]},{N:"str",val:" is defined more than once"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join", -C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]},{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"107"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"9",C:[{N:"str",val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1", -diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"},{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped", -to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"122",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"118"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE", -diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}character-map-dependency",slot:"122"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"10",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency", -slot:"122"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"118"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at", -C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"118"}]}]}]}]}]}]}]}]},{N:"let",line:"915","var":"Q{}expanded-character-maps",as:"*NE",slot:"123",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps", -bSlot:"12",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"117"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"117"}]}]}]},{N:"let",line:"921","var":"Q{}global-context-item",as:"?NE",slot:"124",C:[{N:"let","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",slot:"125",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?", -diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]},{N:"let","var":"Q{}h",slot:"126",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"127",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"127"},{N:"varRef",name:"Q{}h", -slot:"126"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item", -C:[{N:"applyT",mode:"Q{}sef",bSlot:"14",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]}]}]}]}]},{N:"let",line:"944","var":"Q{}static-context",as:"1FM k[AS]",slot:"128",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"96"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"91"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"90"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"106"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str", -val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"108"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",line:"953","var":"Q{}keys",as:"*NE",slot:"129",C:[{N:"sequence",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose", -role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956","var":"Q{}highest-precedence",as:"?AS",slot:"130",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"958","var":"Q{}highest",slot:"131",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, -{N:"varRef",name:"Q{}highest-precedence",slot:"130"}]}]},{N:"sequence",line:"959",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]}, -{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at", -C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"16",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail", -start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"978","var":"Q{}processed",as:"*NE",slot:"132",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"18",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam", -name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"982",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"98"}]}, -{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"132"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"133",C:[{N:"fn",name:"exists", -C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"995",C:[{N:"currentGroup"},{N:"copy",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"133"}, -{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"},{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options", -slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1011","var":"Q{}global.varPars",as:"*NE",slot:"134",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.varPars",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", -role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, -{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]}, -{N:"let",line:"1022","var":"Q{}global.params",as:"*NE",slot:"135",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"20",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"134"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"128"}]}, -{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A", -C:[{N:"varRef",line:"1029",name:"Q{}defined-attribute-sets",slot:"98"}]}]}]},{N:"let",line:"1033","var":"Q{}global.variables",as:"*NE",slot:"136",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"21",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"134"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t", -as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures", -slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"98"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let", -line:"1048","var":"Q{}global.functions",as:"*NE",slot:"137",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str", -role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat", -C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1054",algorithm:"by",C:[{N:"currentGroup",role:"select"},{N:"fn",role:"key",line:"1052",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"sequence",role:"content",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, -{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"22",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let", -line:"1059","var":"Q{}head",as:"1N",slot:"138",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"23",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"138"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility", -flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"94"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context", -tailCall:"false",bSlot:"24",C:[{N:"varRef",name:"Q{}head",slot:"138"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select",val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1082","var":"Q{}attribute-sets",as:"*NE",slot:"139",C:[{N:"let","var":"Q{}temp", -as:"*NE",slot:"140",flags:"e",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"elem",role:"content",line:"1086",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence", -C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"141",C:[{N:"dot", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1", -diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, -{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"25"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", -val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"26",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem",line:"1090",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091",comp:"DESC|CCC", -C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"applyT",line:"1092",mode:"Q{}sef",bSlot:"27",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}, -{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}has-uniform-static-context", -flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"28",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"142",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"140"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}, -{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"142"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"29",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot",type:"1A"}]}]},{N:"varRef", -name:"Q{}direct-dependency",slot:"142"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"140"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"30",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}, -{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"87"}]}]}]}]}]}]},{N:"let",line:"1135","var":"Q{}named.templates",as:"*NE", -slot:"143",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order", -val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc", -op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"31",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "}, -{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"144",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"32",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"144"},{N:"withParam",name:"Q{}static-context", -flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"93"}]},{N:"withParam",name:"Q{}variables", -flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1153",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1155",name:"Q{MyFunctions}has-uniform-static-context", -tailCall:"false",bSlot:"33",C:[{N:"varRef",name:"Q{}head",slot:"144"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1165","var":"Q{}accumulators",as:"*NE",slot:"145",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|accumulators", -C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder", -val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]}, -{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"34",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str", -val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"35",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"90"}]}, -{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"92"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures", -slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"36",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message", -line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1206","var":"Q{}templates",as:"*NE",slot:"146",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"147", -C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209", -"var":"Q{}mode",as:"1",slot:"148",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"147"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence",role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1215",C:[{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"148"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]}, -{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"148"}]}]},{N:"axis",line:"1223",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"149",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates",slot:"146"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", -diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"150",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes", -slot:"97"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal", -name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"37",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and", -C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"97"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"149"},{N:"varRef",name:"Q{}used-modes",slot:"150"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"38",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1274","var":"Q{}mode.decl",as:"*NE",slot:"151",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup", -algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter",line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute", -as:"A",slot:"152",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"153",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1", -comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute",slot:"152"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"154",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"153"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a",slot:"153"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn", -name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"155",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"153"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, -{N:"varRef",name:"Q{}max-prec",slot:"154"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"155"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"152"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values", -C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"156",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"155"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"157", -C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"156"},{N:"varRef",name:"Q{}t",slot:"157"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"}, -{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"152"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"str",val:","}]}]},{N:"str", -val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1312",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"}, -{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select", -C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"158",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data", -diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes",as:"*A",slot:"159",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"149"},{N:"varRef",name:"Q{}declared-modes",slot:"158"},{N:"varRef",name:"Q{}used-modes",slot:"150"},{N:"data",diag:"0|0||fn:distinct-values", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes",slot:"158"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"97"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error", -tailCall:"false",bSlot:"39",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"}]}]},{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1355","var":"Q{}processed-templates",as:"*NE",slot:"160",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"40",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"146"}, -{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"}, -{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]", -C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"100"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]",diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5", -as:"?ADI",slot:"161",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"100"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"162",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels", -slot:"99"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]}]},{N:"let",line:"737","var":"Q{}index",as:"1ADI",slot:"163",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"164",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"varRef",name:"Q{}index",slot:"163"}]},{N:"iterate", -line:"739",C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"163"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"162"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"164"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"161"}]},{N:"choose",role:"action",line:"745",C:[{N:"let", -"var":"Q{http://saxon.sf.net/generated-variable}current1506840194",as:"1",slot:"165",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194",slot:"165"}]},{N:"varRef",name:"Q{}start",slot:"164"}]}]}]},{N:"sequence",line:"749",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1", -diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"164"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"166",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"100"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"arith",op:"-",calc:"i-i", -C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309",slot:"166"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"41",C:[{N:"dot",type:"1NE", -flags:"a"}]}]}]}]},{N:"let",line:"1375","var":"Q{}modes",as:"*NE",slot:"167",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]}, -{N:"elem",line:"1377",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"let","var":"Q{}name",as:"?NA",slot:"168",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"att",line:"1385",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose", -line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"89"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"169",C:[{N:"choose", -C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"168"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"160"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"}, -{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"+A",slot:"170",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"168"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"160"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"170"}]}]}]}]},{N:"let",line:"1404","var":"Q{}temp",as:"1NE",slot:"171",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}sef",bSlot:"42",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version", -slot:"91"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1407",name:"Q{}precedence-map",slot:"100"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"145"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp",slot:"171"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416", -C:[{N:"varRef",name:"Q{}mode-templates",slot:"169"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef", -name:"Q{}modes",slot:"167"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"96"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec", -val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att",name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", -val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l",C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"43"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select",val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}, -{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]},{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix",bSlot:"44",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"124"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"143"},{N:"varRef",name:"Q{}global.functions",slot:"137"},{N:"varRef",name:"Q{}global.params",slot:"135"},{N:"varRef",name:"Q{}global.variables",slot:"136"},{N:"varRef",name:"Q{}attribute-sets", -slot:"139"},{N:"varRef",name:"Q{}modes",slot:"167"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis",line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}, -{N:"varRef",line:"1454",name:"Q{}keys",slot:"129"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"108"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps",slot:"123"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"145"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"45"},{N:"callT",line:"1457",name:"Q{}strip-space",bSlot:"46",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"100"}]}, -{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"376",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"sequence",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t", -as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"2",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"3",C:[{N:"fn",name:"exists",C:[{N:"axis", -name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"4",flags:"l",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"3"}]},{N:"let",line:"678","var":"Q{}location",as:"1NA",slot:"5",C:[{N:"att",line:"679",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize", -C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"6",C:[{N:"choose",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"}, -{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"7",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"8",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"9", -flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"10",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"11",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"}, -{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"12",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"47",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"13",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2", -C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"702",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"710", -"var":"Q{}sorted-precedence-labels",as:"*AS",slot:"14",C:[{N:"convert",line:"711",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]}, -{N:"let",line:"714","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"15",C:[{N:"ifCall",line:"716",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str", -val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"762","var":"Q{}named-template-signatures",as:"1FM",slot:"16",C:[{N:"ifCall",line:"764",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, -{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"17",C:[{N:"let","var":"Q{}highest-precedence",slot:"18",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+", -diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"varRef",name:"Q{}highest-precedence",slot:"18"}]}]}]}]},{N:"sequence",line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"17"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"48", -C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"19",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest", -slot:"17"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"20",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest", -slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"19"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str", -val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash", -simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}, -{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"49"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795", -C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"21",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"50",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence", -line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select",C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"51",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps", -as:"*A",slot:"22",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"806","var":"Q{}output-declarations",as:"+NE",slot:"23",flags:"e",C:[{N:"condSeq",line:"808",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name",as:"*A",slot:"24",C:[{N:"currentGroupingKey"},{N:"elem",line:"810",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"811",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:" "}]}]}]},{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att", -name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"10"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]}, -{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"25",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"826","var":"Q{}active",as:"+NA", -slot:"26",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"25"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property",bSlot:"52",C:[{N:"first",role:"select",C:[{N:"varRef", -name:"Q{}active",slot:"26"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"26"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"27",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property",bSlot:"53",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"27"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"27"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]}, -{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps",slot:"28",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}in",as:"*A",slot:"29",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",C:[{N:"let","var":"Q{}input",as:"*NE",slot:"30",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}, -{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"30"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS", -flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"29"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"31",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"28"},{N:"choose",role:"return",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"22"},{N:"varRef",name:"Q{}c",slot:"31"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors", -loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]}]},{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"31"}]}]}]}]},{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att", -name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"28"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"862",C:[{N:"elem",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"864",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value", -flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"870","var":"Q{}character-maps",as:"*NE",slot:"32",C:[{N:"let",line:"871","var":"Q{}temp",as:"*NE",slot:"33",flags:"e",C:[{N:"treat",line:"872",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content", -line:"873","var":"Q{}group-name",as:"*A",slot:"34",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"35",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"877","var":"Q{}active",slot:"36",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, -{N:"varRef",name:"Q{}highest-precedence",slot:"35"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active",slot:"36"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"54",C:[{N:"str",val:"XTSE1580"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]}]},{N:"str",val:" is defined more than once"}]}, -{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn", -name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]},{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"22"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"55",C:[{N:"str", -val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"}, -{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]}, -{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"37",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"33"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", -diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE",diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef", -name:"Q{}character-map-dependency",slot:"37"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"56",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency",slot:"37"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef", -name:"Q{}temp",slot:"33"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"57",C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}, -{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"33"}]}]}]}]}]}]}]}]},{N:"let",line:"914","var":"Q{}expanded-character-maps",as:"*NE",slot:"38",C:[{N:"treat",line:"915",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps",bSlot:"58",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"32"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"32"}]}]}]}, -{N:"let",line:"920","var":"Q{}global-context-item",as:"?NE",slot:"39",C:[{N:"let",line:"921","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",slot:"40",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?",diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions", -slot:"40"}]}]},{N:"let","var":"Q{}h",slot:"41",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"42",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"42"},{N:"varRef",name:"Q{}h",slot:"41"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item", -C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"59",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"applyT",mode:"Q{}sef",bSlot:"60",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]}]},{N:"let",line:"944", -"var":"Q{}static-context",as:"1FM k[AS]",slot:"43",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"11"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"6"}]},{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"23"}]}]},{N:"map",size:"2", -C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",line:"952","var":"Q{}keys",as:"*NE",slot:"44",C:[{N:"sequence",line:"953",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, -{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose",role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956", -"var":"Q{}highest-precedence",as:"?AS",slot:"45",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"958","var":"Q{}highest",slot:"46",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"45"}]}]},{N:"sequence",line:"959", -C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]},{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"61",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"}, -{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"62",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"63",C:[{N:"str", -val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest", -slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"977","var":"Q{}processed",as:"*NE",slot:"47",C:[{N:"treat",line:"978",as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"64",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam",name:"Q{}static-context",flags:"t", -as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"982",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}default-collation", -flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"47"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"48",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"}, -{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"994",C:[{N:"currentGroup"},{N:"copy",line:"995",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"48"},{N:"fn",name:"not",C:[{N:"fn",name:"contains", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"},{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message", -line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1009","var":"Q{}global.varPars",as:"*NE",slot:"49",C:[{N:"treat",line:"1011",as:"NE",diag:"3|0|XTTE0570|global.varPars",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", -role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, -{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"65",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]}, -{N:"let",line:"1021","var":"Q{}global.params",as:"*NE",slot:"50",C:[{N:"treat",line:"1022",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"66",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"43"}]}, -{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef", -line:"1029",name:"Q{}defined-attribute-sets",slot:"13"}]}]}]},{N:"let",line:"1032","var":"Q{}global.variables",as:"*NE",slot:"51",C:[{N:"treat",line:"1033",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"67",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t", -as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures",slot:"16"}]}, -{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"13"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1047", -"var":"Q{}global.functions",as:"*NE",slot:"52",C:[{N:"treat",line:"1048",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str", -role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat", -C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1052",algorithm:"by",C:[{N:"currentGroup",role:"select"},{N:"fn",role:"key",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"sequence",role:"content",line:"1054",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, -{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"68",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let", -line:"1059","var":"Q{}head",as:"1N",slot:"53",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"69",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"53"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility", -flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"9"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context", -tailCall:"false",bSlot:"70",C:[{N:"varRef",name:"Q{}head",slot:"53"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select",val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1080","var":"Q{}attribute-sets",as:"*NE",slot:"54",C:[{N:"let",line:"1081","var":"Q{}temp", -as:"*NE",slot:"55",flags:"e",C:[{N:"forEachGroup",line:"1082",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"elem",role:"content",line:"1083",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"1086",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context", -as:"1NE",slot:"56",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, -{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"namespace", -nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"71"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, -{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"72",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem",line:"1089",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",line:"1090",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091", -comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"applyT",line:"1092",mode:"Q{}sef",bSlot:"73",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam", -name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"74",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"57",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"55"},{N:"axis", -name:"child",nodeTest:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"}, -{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"75",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot", -type:"1A"}]}]},{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"55"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"76",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"}, -{N:"dec",val:"2"}]},{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"2"}]}]}]}]}]}]},{N:"let",line:"1134","var":"Q{}named.templates", -as:"*NE",slot:"58",C:[{N:"treat",line:"1135",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, -{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]}, -{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"77",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str", -val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"59",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"78",C:[{N:"varRef",role:"select",name:"Q{}head", -slot:"59"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2", -slot:"8"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1153",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall", -line:"1155",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"79",C:[{N:"varRef",name:"Q{}head",slot:"59"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1164","var":"Q{}accumulators", -as:"*NE",slot:"60",C:[{N:"treat",line:"1165",as:"NE",diag:"3|0|XTTE0570|accumulators",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, -{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]}, -{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"80",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str", -val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"81",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location", -flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"7"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures", -flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"82",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1205","var":"Q{}templates",as:"*NE",slot:"61",C:[{N:"forEach",line:"1206",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"62",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]}, -{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209","var":"Q{}mode",as:"1",slot:"63",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"62"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence",role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1213",C:[{N:"and",line:"1215",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"63"}]}, -{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"63"}]}]},{N:"axis",line:"1223",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"64",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates", -slot:"61"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"65",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values", -C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"}, -{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"12"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"}, -{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"83",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]}, -{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes", -slot:"12"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}used-modes",slot:"65"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"84",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1271","var":"Q{}mode.decl", -as:"*NE",slot:"66",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter",line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute",as:"A",slot:"67",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"68",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"}, -{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute",slot:"67"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"69",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"68"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a", -slot:"68"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"70",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"68"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, -{N:"varRef",name:"Q{}max-prec",slot:"69"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"70"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"67"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values", -C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"71",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"70"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"72", -C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"71"},{N:"varRef",name:"Q{}t",slot:"72"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"}, -{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"67"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"str",val:","}]}]},{N:"str", -val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1311",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",line:"1312",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"}, -{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select", -C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"73",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data", -diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes",as:"*A",slot:"74",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"varRef",name:"Q{}used-modes",slot:"65"},{N:"data",diag:"0|0||fn:distinct-values", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"12"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error", -tailCall:"false",bSlot:"85",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]}]},{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1354","var":"Q{}processed-templates",as:"*NE",slot:"75",C:[{N:"treat",line:"1355",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"86",C:[{N:"varRef",role:"select",name:"Q{}templates", -slot:"61"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", -slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]", -C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]",diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5", -as:"?ADI",slot:"76",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"77",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels", -slot:"14"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]},{N:"let",line:"737","var":"Q{}index",as:"1ADI",slot:"78",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"79",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{}index",slot:"78"}]},{N:"iterate",line:"739", -C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"78"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"77"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"79"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"76"}]},{N:"choose",role:"action",line:"745",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1506840194", -as:"1",slot:"80",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194",slot:"80"}]},{N:"varRef",name:"Q{}start",slot:"79"}]}]}]},{N:"sequence",line:"749",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"79"}]}, -{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"81",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309", -slot:"81"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"87",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"let",line:"1374","var":"Q{}modes",as:"*NE",slot:"82",C:[{N:"forEach", -line:"1375",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"elem",line:"1376",name:"co",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"let",line:"1377","var":"Q{}name",as:"?NA",slot:"83",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"att",line:"1385",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose",line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6", -slot:"4"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"84",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"filter",flags:"b",C:[{N:"varRef", -name:"Q{}processed-templates",slot:"75"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7", -as:"+A",slot:"85",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"75"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef", -name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"85"}]}]}]}]},{N:"let",line:"1403","var":"Q{}temp",as:"1NE",slot:"86",C:[{N:"treat",line:"1404",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}sef",bSlot:"88",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef", -line:"1407",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"60"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp",slot:"86"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416",C:[{N:"varRef",name:"Q{}mode-templates",slot:"84"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence", -role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error", -val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"11"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str", -val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att",name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l", -C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"89"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select",val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]}, -{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix",bSlot:"90",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}, -{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"39"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"58"},{N:"varRef",name:"Q{}global.functions",slot:"52"},{N:"varRef",name:"Q{}global.params",slot:"50"},{N:"varRef",name:"Q{}global.variables",slot:"51"},{N:"varRef",name:"Q{}attribute-sets",slot:"54"},{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id", -flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis",line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"varRef",line:"1454",name:"Q{}keys",slot:"44"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"23"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps", -slot:"38"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"60"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"91"},{N:"callT",line:"1457",name:"Q{}strip-space",bSlot:"92",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"376",part:"2",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"172",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"173",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"174",flags:"l", -C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"173"}]},{N:"let",line:"679","var":"Q{}location",as:"1NA",slot:"175",C:[{N:"att",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"176",C:[{N:"choose", -C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"},{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"177",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", -slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"178",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"179",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"1AS",slot:"180",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"181",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"182",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"ufCall", -name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"93",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"183",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence", -line:"702",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"711","var":"Q{}sorted-precedence-labels",as:"*AS",slot:"184",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped", -to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]},{N:"let",line:"716","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"185",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"764","var":"Q{}named-template-signatures", -as:"1FM",slot:"186",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC", -C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest", -as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"187",C:[{N:"let","var":"Q{}highest-precedence",slot:"188",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+",diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}, -{N:"varRef",name:"Q{}highest-precedence",slot:"188"}]}]}]}]},{N:"sequence",line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"187"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"94",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]}, -{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"189",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest",slot:"187"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"190",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest", -slot:"189"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "}, -{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"189"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"190"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef", -name:"Q{}params",slot:"190"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"95"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str", -val:"XQDY0137"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795",C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, -{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"191",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"96",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence",line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select", -C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"97",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"191"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps",as:"*A",slot:"192",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"808","var":"Q{}output-declarations",as:"+NE",slot:"193",flags:"e",C:[{N:"condSeq",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str", -role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name", -as:"*A",slot:"194",C:[{N:"currentGroupingKey"},{N:"elem",line:"811",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"194"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef", -name:"Q{}group-name",slot:"194"}]},{N:"str",val:" "}]}]}]},{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"180"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"}, -{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"195",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder", -intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"826","var":"Q{}active",as:"+NA",slot:"196",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent", -nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"195"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property",bSlot:"98",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"196"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"196"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0", -C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"197",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property", -bSlot:"99",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"197"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"197"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]},{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]}, -{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps",slot:"198",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}in",as:"*A",slot:"199",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -C:[{N:"let","var":"Q{}input",as:"*NE",slot:"200",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]},{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"200"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order", -val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select", -name:"Q{}in",slot:"199"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"201",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"198"},{N:"choose",role:"return", -C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"192"},{N:"varRef",name:"Q{}c",slot:"201"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"194"}]}]}, -{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"201"}]}]}]}]},{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"198"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"864",C:[{N:"elem", -name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"872","var":"Q{}character-maps", -as:"*NE",slot:"202",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"203",flags:"e",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""}, -{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"873","var":"Q{}group-name",as:"*A",slot:"204",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"205",C:[{N:"fn",name:"min",C:[{N:"forEach", -C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"877","var":"Q{}active",slot:"206",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"205"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active", -slot:"206"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"100",C:[{N:"str",val:"XTSE1580"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"204"}]}]},{N:"str",val:" is defined more than once"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"204"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}, -{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"192"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"101",C:[{N:"str",val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef", -name:"Q{}group-name",slot:"204"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"},{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first", -C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"207",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"203"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str", -val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE",diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}character-map-dependency",slot:"207"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"102",C:[{N:"convert",from:"A",to:"AS", -flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency",slot:"207"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"203"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"103", -C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"203"}]}]}]}]}]}]}]}]},{N:"let",line:"915", -"var":"Q{}expanded-character-maps",as:"*NE",slot:"208",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps",bSlot:"104",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"202"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"202"}]}]}]},{N:"let",line:"921","var":"Q{}global-context-item",as:"?NE",slot:"209",C:[{N:"let","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item", -slot:"210",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?",diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]},{N:"let","var":"Q{}h",slot:"211",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"212",C:[{N:"tail", -start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"212"},{N:"varRef",name:"Q{}h",slot:"211"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"105",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check", -card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"applyT",mode:"Q{}sef",bSlot:"106",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]}]}]}]}]},{N:"let",line:"944","var":"Q{}static-context",as:"1FM k[AS]",slot:"213",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"181"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"176"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"175"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM", -C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"191"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"193"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",line:"953","var":"Q{}keys",as:"*NE",slot:"214",C:[{N:"sequence",C:[{N:"treat",as:"NE", -diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, -{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose",role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956","var":"Q{}highest-precedence",as:"?AS",slot:"215",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let", -line:"958","var":"Q{}highest",slot:"216",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"215"}]}]},{N:"sequence",line:"959",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest", -slot:"216"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]},{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"107",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]}, -{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"ufCall", -name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"108",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"109",C:[{N:"str",val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]}, -{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"978","var":"Q{}processed",as:"*NE",slot:"217",C:[{N:"treat", -as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"110",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef", -line:"982",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"217"},{N:"attVal",role:"key",name:"Q{}name"}, -{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"218",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"995",C:[{N:"currentGroup"},{N:"copy",flags:"cin", -sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"218"},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"}, -{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1011","var":"Q{}global.varPars",as:"*NE",slot:"219",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.varPars", -C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"}, -{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]}, -{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"111",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name", -C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]},{N:"let",line:"1022","var":"Q{}global.params",as:"*NE",slot:"220",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"112",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars", -slot:"219"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", -slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1029",name:"Q{}defined-attribute-sets",slot:"183"}]}]}]},{N:"let",line:"1033","var":"Q{}global.variables",as:"*NE",slot:"221",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"113", -C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"219"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t", -as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"183"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"}, -{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1048","var":"Q{}global.functions",as:"*NE",slot:"222",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", -role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat",C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1054",algorithm:"by",C:[{N:"currentGroup",role:"select"}, -{N:"fn",role:"key",line:"1052",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, -{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"114",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]}, -{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1059","var":"Q{}head",as:"1N",slot:"223",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"115",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"223"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061", -name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"179"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets", -flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"116",C:[{N:"varRef",name:"Q{}head",slot:"223"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select", -val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1082","var":"Q{}attribute-sets",as:"*NE",slot:"224",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"225",flags:"e",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"elem",role:"content",line:"1086",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"226",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47", -C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}, -{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"117"},{N:"fn",name:"name", -C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"118",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem", -line:"1090",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, -{N:"applyT",line:"1092",mode:"Q{}sef",bSlot:"119",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}named-template-signatures", -flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"120",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"227",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"225"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}, -{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"227"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"121",C:[{N:"convert", -from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}direct-dependency",slot:"227"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"225"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"122",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str", -val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"172"}]}]}]}]}]}]},{N:"let",line:"1135","var":"Q{}named.templates",as:"*NE",slot:"228",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", -role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"123",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"229",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first", -C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"124",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"229"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"176"}]}, -{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"178"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef", -line:"1153",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1155",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"125",C:[{N:"varRef",name:"Q{}head",slot:"229"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"}, -{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1165","var":"Q{}accumulators",as:"*NE",slot:"230",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|accumulators",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"126",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"127",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam", -name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"177"}]}, -{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184", -name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"128",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1206","var":"Q{}templates",as:"*NE",slot:"231", -C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"232",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209","var":"Q{}mode",as:"1",slot:"233",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"232"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence", -role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1215",C:[{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"233"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"233"}]}]},{N:"axis",line:"1223",name:"child", -nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"234",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates",slot:"231"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"235",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data", -diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"182"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter", -flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"129",C:[{N:"str", -val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter", -flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"182"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"234"},{N:"varRef",name:"Q{}used-modes",slot:"235"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"130",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1274","var":"Q{}mode.decl",as:"*NE",slot:"236",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter", -line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]}, -{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute",as:"A",slot:"237",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis", -name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"238",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute", -slot:"237"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"239",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"238"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a",slot:"238"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"240",C:[{N:"fn", -name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"238"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}max-prec",slot:"239"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"240"}]}]}, -{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"237"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int", -val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"241",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"240"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"242",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}, -{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"241"},{N:"varRef",name:"Q{}t",slot:"242"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", -C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"237"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"str",val:","}]}]},{N:"str",val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1312",name:"xsl:mode", -nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, -{N:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate", -val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"243",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data",diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes", -as:"*A",slot:"244",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"234"},{N:"varRef",name:"Q{}declared-modes",slot:"243"},{N:"varRef",name:"Q{}used-modes",slot:"235"},{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes", -slot:"243"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"182"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"131",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"}]}]}, -{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1355","var":"Q{}processed-templates",as:"*NE",slot:"245",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"132",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"231"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357", -name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t", -as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]", -diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"?ADI",slot:"246",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"185"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function", -C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"247",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]}]},{N:"let",line:"737", -"var":"Q{}index",as:"1ADI",slot:"248",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"249",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"varRef",name:"Q{}index",slot:"248"}]},{N:"iterate",line:"739",C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"248"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"247"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"249"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"246"}]},{N:"choose",role:"action",line:"745",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1506840194",as:"1",slot:"250",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194", -slot:"250"}]},{N:"varRef",name:"Q{}start",slot:"249"}]}]}]},{N:"sequence",line:"749",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"249"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"251",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"185"}, -{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309",slot:"251"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]}, -{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"133",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"let",line:"1375","var":"Q{}modes",as:"*NE",slot:"252",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform", -C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"elem",line:"1377",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"let","var":"Q{}name",as:"?NA",slot:"253",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"att",line:"1385", -name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose",line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"174"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0", -comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"254",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"253"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"245"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn", -name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"+A",slot:"255",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"253"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates", -slot:"245"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"255"}]}]}]}]},{N:"let",line:"1404","var":"Q{}temp",as:"1NE",slot:"256",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp", -C:[{N:"applyT",mode:"Q{}sef",bSlot:"134",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1407",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"230"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp", -slot:"256"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416",C:[{N:"varRef",name:"Q{}mode-templates",slot:"254"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup", -C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"252"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose", -C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"181"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att", -name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l",C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"135"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select", -val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]},{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix", -bSlot:"136",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"209"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"228"},{N:"varRef",name:"Q{}global.functions", -slot:"222"},{N:"varRef",name:"Q{}global.params",slot:"220"},{N:"varRef",name:"Q{}global.variables",slot:"221"},{N:"varRef",name:"Q{}attribute-sets",slot:"224"},{N:"varRef",name:"Q{}modes",slot:"252"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis", -line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"varRef",line:"1454",name:"Q{}keys",slot:"214"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"193"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps",slot:"208"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"230"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"137"},{N:"callT",line:"1457",name:"Q{}strip-space", -bSlot:"138",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"197",binds:"1 94",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_NAMESPACE",as:"1AS",line:"54",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall", -ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"54",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_NAMESPACE",bSlot:"1"}]}]}]},{N:"co",id:"198",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}RPAREN",as:"1ADI",line:"16",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"41"}]}]},{N:"co",id:"199",binds:"",C:[{N:"mode",name:"Q{}on-empty",onNo:"SC",flags:"W",patternSlots:"0", -C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"177",rank:"0",minImp:"0",slots:"3",matches:"NE",flags:"s",line:"184",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"184",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"axis", -name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"185",C:[{N:"param",name:"Q{}element.attributes",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|element.attributes",C:[{N:"cvUntyped", -to:"AS",diag:"8|0|XTTE0590|element.attributes",C:[{N:"data",diag:"8|0|XTTE0590|element.attributes",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"copy",line:"186",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"187",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"188","var":"Q{}attributes",as:"*NE",slot:"1",C:[{N:"union",op:"|",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}att"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef", -name:"Q{}element.attributes",slot:"0"},{N:"attVal",name:"Q{}name"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"}]},{N:"let",line:"189","var":"Q{}onEmpty",as:"*NE nQ{http://ns.saxonica.com/xslt/export}onEmpty",slot:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"elem",line:"190",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"191",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef", -role:"select",name:"Q{}attributes",slot:"1"}]},{N:"elem",line:"192",name:"condSeq",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"194",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"union",op:"|",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attributes",slot:"1"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}onEmpty",slot:"2"}]}]}]}]},{N:"applyT",line:"196",flags:"c",bSlot:"-1",C:[{N:"varRef", -role:"select",name:"Q{}onEmpty",slot:"2"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"176",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"s",line:"181",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"182",type:"1NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"a"}]}]}]},{N:"co",id:"200",binds:"107",C:[{N:"function",name:"Q{MyFunctions}isKnownCollation",line:"18",module:"sorting.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}uri",as:"1AS"},{N:"or",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",op:"or",C:[{N:"gc",op:"=",card:"N:1", -comp:"CCC",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg728602192",bSlot:"0"},{N:"varRef",name:"Q{}uri",slot:"0"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}uri",slot:"0"},{N:"str",val:"http://www.w3.org/2013/collation/UCA"}]}]}]}]},{N:"co",id:"201",binds:"",C:[{N:"function",name:"Q{MyTypes}isNode",line:"453",module:"type.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"455","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS", -diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"N"}]}]}]}]}]},{N:"co",id:"168",binds:"",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1960031800",as:"1AS",line:"365",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"365", -name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"sequence",C:[{N:"str",val:"DO NOT EDIT: compiled with initial template compileXSLTschema "},{N:"fn",name:"current-dateTime"}]}]},{N:"str",val:" "}]}]}]},{N:"co",id:"202",binds:"",C:[{N:"function",name:"Q{MyFunctions}increasing-precedence-sort",line:"660",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*NE",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*NE"},{N:"sort",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"0"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]},{N:"co",id:"203",binds:"",C:[{N:"globalVariable",name:"Q{}XSL-ignore", -as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}ignore c~untyped",line:"131",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"132",name:"xsl:ignore",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"empty"}]}]}]},{N:"co",id:"204",binds:"22",C:[{N:"function",name:"Q{MyFunctions}wrongChild",line:"785",module:"normalize.xsl", -flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"+N"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"787",C:[{N:"first",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"ufCall",line:"800",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"choose",line:"793",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis", -name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"str",val:"XTSE0130"},{N:"true"},{N:"str",val:"XTSE0010"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]},{N:"str",val:" cannot contain "}]},{N:"choose",C:[{N:"instance",of:"1NE",C:[{N:"dot",type:"1N"}]}, -{N:"fn",name:"concat",C:[{N:"str",val:"element "},{N:"fn",name:"name",C:[{N:"dot",type:"1N"}]}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:"non-whitespace text:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1N"}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"205",binds:"",C:[{N:"function",name:"Q{MyFunctions}has-uniform-namespaces",line:"131",module:"namespaces.xsl",flags:"pU",as:"1AB",slots:"1", -C:[{N:"arg",name:"Q{}element",as:"1N"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"133",name:"Q{http://saxon.sf.net/}has-uniform-namespaces",type:"1AB",C:[{N:"treat",as:"NE",diag:"0|0||saxon:has-uniform-namespaces",C:[{N:"varRef",name:"Q{}element",slot:"0"}]}]}]}]},{N:"co",id:"206",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}card-symbols",as:"1FM k[ADI] v[1]", -line:"121",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"5",C:[{N:"int",val:"1"},{N:"str",val:"0"},{N:"int",val:"2"},{N:"str",val:"1"},{N:"int",val:"3"},{N:"str",val:"?"},{N:"int",val:"6"},{N:"str",val:"+"},{N:"int",val:"7"},{N:"str",val:"*"}]}]}]},{N:"co",id:"207",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}card-values",as:"1FM k[AS] v[1ADI]",line:"120",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"5",C:[{N:"str",val:"*"},{N:"int",val:"7"},{N:"str",val:"+"}, -{N:"int",val:"6"},{N:"str",val:"0"},{N:"int",val:"1"},{N:"str",val:"1"},{N:"int",val:"2"},{N:"str",val:"?"},{N:"int",val:"3"}]}]}]},{N:"co",id:"208",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}APOS",as:"1ADI",line:"20",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"39"}]}]},{N:"co",id:"171",binds:"",C:[{N:"template",name:"Q{}check-use-when",flags:"os",as:"1AB",line:"1097",module:"static.xsl",slots:"7",C:[{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1098",card:"1",diag:"7|0|XTTE0505|check-use-when",C:[{N:"sequence",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1099",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1100","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose",line:"1101",C:[{N:"fn",line:"1102",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]},{N:"check",line:"1103",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p", -diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]}]}]}]}]},{N:"true"},{N:"check",line:"1106",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression", -C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}use-when"}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1111","var":"Q{}dot",as:"1",slot:"4",C:[{N:"dot",flags:"a"},{N:"let",line:"1115","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE",slot:"5",flags:"l",C:[{N:"treat",as:"NE",diag:"0|1||fn:namespace-uri-for-prefix", -C:[{N:"varRef",name:"Q{}dot",slot:"4"}]},{N:"compElem",line:"1112",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1113",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"treat",as:"NE",diag:"0|0||fn:in-scope-prefixes",C:[{N:"dot",flags:"a"}]}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt", -line:"1115",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"5"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]}]},{N:"treat",line:"1123",as:"AB",diag:"7|0|XTTE0505|check-use-when",C:[{N:"cvUntyped",to:"AB",diag:"7|0|XTTE0505|check-use-when",C:[{N:"data", -diag:"7|0|XTTE0505|check-use-when",C:[{N:"try",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri",C:[{N:"dot",flags:"a"}]}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]}, -{N:"withParam",name:"Q{}compileSyntax",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}errorsAsMessages",as:"1AB",C:[{N:"false"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1131",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Y"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error", -C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"let",line:"1136","var":"Q{}possibleCode",as:"1AS",slot:"6",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before", -C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]},{N:"choose",line:"1143",C:[{N:"castable",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"substring-after",C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A", -to:"AS",flags:"p",diag:"0|0||fn:substring-after",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"fn",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info", -type:"*",C:[{N:"str",val:"code"}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"209",binds:"22",C:[{N:"function",name:"Q{MyFunctions}missingAttribute",line:"824",module:"normalize.xsl",flags:"pU",as:"*", -slots:"2",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}attribute",as:"1AS"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"827",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", -C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" requires an @"}]},{N:"varRef",name:"Q{}attribute",slot:"1"}]},{N:"str",val:" attribute"}]},{N:"dot",type:"1NE"}]}]}]}]},{N:"co",id:"210",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}MANY",as:"1ADI",line:"103",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"4"}]}]},{N:"co",id:"211",binds:"206 1",C:[{N:"function",name:"Q{MyTypes}cardCheck",line:"964",module:"type.xsl",flags:"pU",as:"1NE",slots:"4",C:[{N:"arg",name:"Q{}expression", -as:"1NE"},{N:"arg",name:"Q{}reqCard",as:"1ADI"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"970",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A", -to:"AS",C:[{N:"data",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{MyTypes}card-symbols",bSlot:"0"},{N:"varRef",name:"Q{}reqCard",slot:"1"}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"slash",line:"971",simple:"1",C:[{N:"varRef", -name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"971",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"146",binds:"146 146 146 146",C:[{N:"function",name:"Q{MyFunctions}pattern-matches-node-kind",line:"88",module:"pattern.xsl",flags:"pU",as:"1AB",slots:"4",C:[{N:"arg",name:"Q{}pattern",as:"?NE"},{N:"arg",name:"Q{}node-kind",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"91",C:[{N:"choose",C:[{N:"fn",line:"92",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]},{N:"or",line:"93",op:"or",C:[{N:"compareToString",op:"eq",val:"N",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"attVal",name:"Q{}test"}]}]}]}]}]}, -{N:"fn",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"attVal",name:"Q{}test"}]}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"95",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"}]}]}]}, -{N:"choose",line:"97",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"union"}]}]}]},{N:"some",line:"98","var":"Q{}operand",slot:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"false",bSlot:"0",C:[{N:"varRef", -name:"Q{}operand",slot:"2"},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"100",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"intersect"}]}]}]},{N:"every",line:"101","var":"Q{}operand",slot:"3",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind", -tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}operand",slot:"3"},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"103",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"except"}]}]}]},{N:"ufCall",line:"104",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"self",bSlot:"2",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"}, -{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]},{N:"true"},{N:"error",line:"96",message:"Conditional expression: None of the conditions is satisfied, so an empty sequence is returned, but this is not allowed as the result of a call to f:pattern-matches-node-kind#2",code:"XTTE0780",isTypeErr:"0"}]},{N:"fn",line:"108",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"axis", -name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper"}]}]}]}]},{N:"ufCall",line:"109",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"self",bSlot:"3",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]},{N:"true"},{N:"true"}]}]}]}]},{N:"co",id:"212",binds:"1 60",C:[{N:"globalVariable", -name:"Q{}SJ.OPTIONAL_DOCUMENT",as:"1AS",line:"47",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.OPTIONAL_DOCUMENT",bSlot:"1"}]}]}]},{N:"co",id:"213",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ATOMIC",as:"1FM k[AS] v[1AS]",line:"14",module:"sequenceType.xsl",visibility:"PRIVATE", -C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"214",binds:"1",C:[{N:"function",name:"Q{MyTypes}cardCheck",line:"954",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"958",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"},{N:"str",val:"o"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"}]}]},{N:"att",name:"diag", -flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"959",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"959",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"215",binds:"",C:[{N:"function",name:"Q{MyFunctions}message-count",line:"26",module:"lib.xsl",flags:"pU",as:"1ADI",slots:"1",C:[{N:"arg",name:"Q{}code",as:"?AQ"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"28",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"varRef",name:"Q{}code",slot:"0"}]}]}]},{N:"co",id:"216",binds:"216",C:[{N:"template",name:"Q{}expandCharMapRef",flags:"os",line:"170",module:"output.xsl",slots:"3",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"171",C:[{N:"param",name:"Q{}charMapRef",slot:"0",flags:"i",as:"1AS", -C:[{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|charMapRef",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|charMapRef",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|charMapRef",C:[{N:"data",diag:"8|0|XTTE0590|charMapRef",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"172",name:"Q{}charMaps",slot:"1",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|charMaps",C:[{N:"supplied",slot:"1"}]}]},{N:"let",line:"174","var":"Q{}usedCharMap", -as:"*NE",slot:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}charMaps",slot:"1"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{}charMapRef",slot:"0"}]}]},{N:"choose",line:"175",C:[{N:"fn",line:"176",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"177",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}]}]}]}]}]},{N:"callT",line:"178",name:"Q{}expandCharMapRef", -bSlot:"0",C:[{N:"withParam",name:"Q{}charMapRef",flags:"c",as:"1AS",C:[{N:"fn",line:"179",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"withParam",name:"Q{}charMaps",flags:"c",as:"*NE",C:[{N:"varRef",line:"180",name:"Q{}charMaps",slot:"1"}]}]}]},{N:"conditionalSort",line:"183",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"child", -nodeTest:"NE n*:m"}]}]}]}]},{N:"true"},{N:"conditionalSort",line:"186",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"child",nodeTest:"NE n*:m"}]}]}]}]}]}]}]}]},{N:"co",id:"217",binds:"",C:[{N:"function",name:"Q{MyTypes}type-error",line:"1174",module:"type.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg", -name:"Q{}requiredType",as:"1FM"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1179",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Wrong type "},{N:"fn",line:"325",name:"serialize",C:[{N:"varRef",line:"1179",name:"Q{}suppliedType",slot:"0"},{N:"map", -size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]},{N:"str",val:" for ??? - expecting "}]},{N:"fn",line:"325",name:"serialize",C:[{N:"varRef",line:"1179",name:"Q{}requiredType",slot:"1"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]}]}]}]},{N:"co",id:"218",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_NCNAME",as:"1FM k[AS] v[1AS]",line:"29",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"}, -{N:"str",val:"ASNTNC"}]}]}]},{N:"co",id:"175",binds:"22",C:[{N:"template",name:"Q{}collect-doc",flags:"os",as:"1ND",line:"961",module:"static.xsl",slots:"2",C:[{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"962",card:"1",diag:"7|0|XTTE0505|collect-doc",C:[{N:"sequence",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", -as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"963",name:"Q{}uri",slot:"1",C:[{N:"fn",role:"select",name:"resolve-uri",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:resolve-uri",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}href"}]}]}]},{N:"check",card:"1",diag:"0|1||fn:resolve-uri",C:[{N:"convert", -from:"AU",to:"AS",flags:"p",diag:"0|1||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:resolve-uri",C:[{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"supplied",role:"conversion",slot:"1"}]},{N:"choose",line:"964",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"sequence",line:"965",C:[{N:"treat",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str", -val:"href:"},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"treat",line:"966",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"BASE-URI:"},{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri", -C:[{N:"dot",flags:"a"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"treat",line:"967",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"resolved-URI:"},{N:"varRef",name:"Q{}uri",slot:"1"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]}]},{N:"treat",line:"970",as:"ND",diag:"7|0|XTTE0505|collect-doc", -C:[{N:"try",flags:"r",C:[{N:"fn",name:"doc",C:[{N:"check",card:"?",diag:"0|0||fn:doc",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:doc",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:doc",C:[{N:"data",diag:"0|0||fn:doc",C:[{N:"varRef",name:"Q{}uri",slot:"1"}]}]}]}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"972",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0165"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", -C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" of "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}uri",slot:"1"}]}]},{N:"str",val:" failed:"}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N", -diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]},{N:"doc",line:"973",C:[{N:"elem",line:"975",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"att",line:"976",name:"version",flags:"l",C:[{N:"str",val:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"219",binds:"219",C:[{N:"function",name:"Q{MyTypes}itemTypeRelationship",line:"234",module:"type.xsl",flags:"pU",as:"1AS",slots:"10",C:[{N:"arg",name:"Q{}required",as:"1FM"}, -{N:"arg",name:"Q{}supplied",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"245",C:[{N:"let","var":"Q{}primaryRel",slot:"2",C:[{N:"let","var":"Q{}R",as:"1AS",slot:"3",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data", -diag:"0|0||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"4",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"p"}]}]}]}]}]},{N:"choose",line:"185", -C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"3"},{N:"varRef",name:"Q{}S",slot:"4"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"3"},{N:"varRef",name:"Q{}S",slot:"4"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"4"},{N:"varRef",name:"Q{}R",slot:"3"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]},{N:"choose",line:"247",C:[{N:"or",line:"248",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString", -op:"ne",val:"EQ",C:[{N:"varRef",name:"Q{}primaryRel",slot:"2"}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]},{N:"str",val:""}]}]},{N:"varRef",line:"249",name:"Q{}primaryRel",slot:"2"},{N:"true"},{N:"let",line:"252","var":"Q{}R",slot:"5",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"n"}]},{N:"let",line:"253","var":"Q{}S",slot:"6",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"n"}]},{N:"let",line:"266","var":"Q{}nameRel",as:"1AS",slot:"7", -C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}R",slot:"5"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}S",slot:"6"}]}]},{N:"str",val:"LT"},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}S",slot:"6"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}R",slot:"5"}]}]},{N:"str",val:"GT"},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}R",slot:"5"},{N:"varRef",name:"Q{}S",slot:"6"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"map",size:"0"}]},{N:"str",val:"EQ"},{N:"true"},{N:"str",val:"DJ"}]},{N:"choose",line:"267",C:[{N:"compareToString",line:"268",op:"ne",val:"EQ",C:[{N:"varRef",name:"Q{}nameRel",slot:"7"}]},{N:"varRef",line:"269",name:"Q{}nameRel",slot:"7"},{N:"true"},{N:"let",line:"272","var":"Q{}R",slot:"8",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"e"}]},{N:"let",line:"273","var":"Q{}S",slot:"9",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"e"}]},{N:"choose", -line:"285",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}R",slot:"8"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]},{N:"str",val:"LT"},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}S",slot:"9"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}R",slot:"8"}]}]},{N:"str",val:"GT"},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}R",slot:"8"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]},{N:"str",val:"EQ"},{N:"true"}, -{N:"ufCall",name:"Q{MyTypes}itemTypeRelationship",tailCall:"self",bSlot:"0",C:[{N:"treat",as:"FM",diag:"0|0||t:itemTypeRelationship",C:[{N:"check",card:"1",diag:"0|0||t:itemTypeRelationship",C:[{N:"varRef",name:"Q{}R",slot:"8"}]}]},{N:"treat",as:"FM",diag:"0|1||t:itemTypeRelationship",C:[{N:"check",card:"1",diag:"0|1||t:itemTypeRelationship",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"220",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SUBSUMES",as:"1AS", -line:"163",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"GT"}]}]},{N:"co",id:"221",binds:"",C:[{N:"mode",name:"Q{}process-bindings",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.0",seq:"319",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"s",line:"297",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"300",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",C:[{N:"sequence",role:"content",line:"301",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"308",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"choose",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}flags"}]}]}]},{N:"str", -val:"c"},{N:"str",val:""}]},{N:"int",val:"-1"},{N:"true"},{N:"let",line:"299","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"M:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"308",type:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn", -name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]}]},{N:"applyT",line:"316",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"316",rank:"0",minImp:"0",slots:"4",matches:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"s",line:"254",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"256",C:[{N:"param",name:"Q{}global-shadows",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|global-shadows",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|global-shadows",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"257","var":"Q{}name",as:"1AS",slot:"1", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"V:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"copy",line:"258",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",C:[{N:"sequence",role:"content",line:"259",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"261",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}name",as:"1AS",slot:"2",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"check",line:"212",card:"?", -diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"261",type:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"2"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"let",line:"264","var":"Q{}shadow",slot:"3",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}global-shadows", -slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"sequence",line:"265",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}shadow",slot:"3"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}shadow",slot:"3"}]}]}]}]},{N:"att",line:"266",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}shadow",slot:"3"}]}]}]},{N:"str",val:" "}]}]}]},{N:"applyT",line:"270",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"313",rank:"1", -minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co",flags:"s",line:"85",module:"component-bindings.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"85",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]}, -{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"86","var":"Q{}patterns",as:"*NE",slot:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"}]},{N:"axis", -name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]},{N:"nextMatch",line:"87",flags:"t",C:[{N:"withParam",name:"Q{}patternSlots",flags:"t",as:"1ADI",C:[{N:"arith",line:"92",op:"+",calc:"i+i",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"cast",flags:"a",as:"1ADI",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}patterns",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"self", -nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent"}]}]}]}]},{N:"fn",name:"max",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}patterns",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}varRef"}]},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]},{N:"int",val:"-1"}]}]}]},{N:"int",val:"1"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"315",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co", -flags:"s",line:"119",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1", -diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots", -C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS", -C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"130",C:[{N:"and",line:"132",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis", -name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy",line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute", -nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"315",part:"1",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator",flags:"s",line:"119",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120", -C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI", -C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str", -val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"132",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]}, -{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy",line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child", -nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"}, -{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"314",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mode",flags:"s",line:"96",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mode"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"97",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"99",name:"Q{}patternSlots",slot:"1",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots", -C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"choose",line:"100",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"sequence",line:"101",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing mode "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str", -role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"message",line:"102",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"PatternSlots: "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}patternSlots",slot:"1"}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"copy",line:"104",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mode",C:[{N:"sequence", -role:"content",line:"105",C:[{N:"copyOf",flags:"c",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"106",name:"patternSlots",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}patternSlots",slot:"1"}]}]},{N:"applyT",line:"107",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"322",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"s",line:"346", -module:"component-bindings.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration"}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"347",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam", -C:[{N:"sequence",role:"content",line:"348",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"349",name:"slot",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current-541312609",as:"1",slot:"0",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AS",slot:"1",flags:"l",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash", -C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current-541312609",slot:"0"},{N:"attVal",name:"Q{}name"}]}]},{N:"data",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}]}, -{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}param"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"1"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"350",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"321", -rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}callT",flags:"s",line:"333",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}callT"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"336",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}callT", -C:[{N:"sequence",role:"content",line:"337",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"339",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",line:"335","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"T:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"339",type:"1NE nQ{http://ns.saxonica.com/xslt/export}callT", -flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"342",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"317",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall",flags:"s",line:"273",module:"component-bindings.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"276",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}ufCall",C:[{N:"sequence",role:"content",line:"277",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"279",name:"bSlot",flags:"l",C:[{N:"convert", -from:"ADI",to:"AS",C:[{N:"let",line:"275","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"279",type:"1NE nQ{http://ns.saxonica.com/xslt/export}ufCall", -flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"282",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"318",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef",flags:"s",line:"285",module:"component-bindings.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"288",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}ufRef",C:[{N:"sequence",role:"content",line:"289",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"291",name:"bSlot",flags:"l",C:[{N:"convert", -from:"ADI",to:"AS",C:[{N:"let",line:"287","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}arity"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"291",type:"1NE nQ{http://ns.saxonica.com/xslt/export}ufRef", -flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"294",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"312",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}package",flags:"s",line:"32",module:"component-bindings.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}package"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"33",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]}, -{N:"let",line:"35","var":"Q{}globals",slot:"1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"ifCall",line:"58",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:symbolic-name#1",C:[{N:"forEach",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|actor",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"choose", -line:"61",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalParam,NE nQ{http://ns.saxonica.com/xslt/export}globalVariable]"}]},{N:"fn",line:"62",name:"concat",C:[{N:"str",val:"V:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"64",name:"exists",C:[{N:"axis", -name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}attributeSet"}]},{N:"fn",line:"65",name:"concat",C:[{N:"str",val:"A:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"67",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}template"},{N:"fn", -name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"fn",line:"68",name:"concat",C:[{N:"str",val:"T:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"70",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]},{N:"fn",line:"71",name:"concat",C:[{N:"str", -val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"fn",line:"73",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"}]},{N:"fn",line:"74",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]}, -{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"true"},{N:"str",val:"???"}]}]}]},{N:"fn",line:"35",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"sequence",line:"36",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", -val:"traceProgress"}]},{N:"message",line:"37",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Globals:"},{N:"fn",name:"count",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}globals",slot:"1"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"copy",line:"39",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}package",C:[{N:"sequence",role:"content",line:"40", -C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"41",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}globals",flags:"t",C:[{N:"varRef",line:"42",name:"Q{}globals",slot:"1"}]},{N:"withParam",name:"Q{}global-shadows",flags:"t",as:"1FM",C:[{N:"ifCall",line:"51",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}, -{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.0",seq:"320",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}useAS",flags:"s",line:"320",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"323",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}useAS", -C:[{N:"sequence",role:"content",line:"324",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"326",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",line:"322","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"A:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"326",type:"1NE nQ{http://ns.saxonica.com/xslt/export}useAS", -flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"329",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"315",part:"2",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}key",flags:"s",line:"119",module:"component-bindings.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]}, -{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots", -C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]}, -{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"132",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy", -line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join", -C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"co",id:"164",binds:"",C:[{N:"function",name:"Q{MyFunctions}has-uniform-static-context", -line:"153",module:"namespaces.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}element",as:"1N"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"157","var":"Q{http://saxon.sf.net/generated-variable}cc393138250",as:"*NE",slot:"1",flags:"l",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}element",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"and", -line:"160",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",line:"156",name:"empty",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}element",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"fn",line:"157",name:"empty",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}cc393138250", -slot:"1"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]},{N:"ifCall",line:"133",name:"Q{http://saxon.sf.net/}has-uniform-namespaces",type:"1AB",C:[{N:"treat",as:"NE",diag:"0|0||saxon:has-uniform-namespaces",C:[{N:"varRef",line:"155",name:"Q{}element",slot:"0"}]}]}]},{N:"fn",line:"159",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"varRef", -name:"Q{http://saxon.sf.net/generated-variable}cc393138250",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"co",id:"222",binds:"22 25 25",C:[{N:"function",name:"Q{MyTypes}type-error",line:"1182",module:"type.xsl",flags:"pU",as:"*",slots:"5",C:[{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"arg",name:"Q{}expression",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1187",C:[{N:"let","var":"Q{}parts",as:"*AS",slot:"4",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}diag",slot:"2"},{N:"str",val:"\\|"},{N:"str",val:""}]},{N:"ufCall",line:"1192",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"4"},{N:"int",val:"3"}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", -C:[{N:"str",val:"Required type of "},{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"4"},{N:"int",val:"4"}]}]},{N:"str",val:" is "}]},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"}]}]},{N:"str",val:"; actual type is "}]},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"2",C:[{N:"varRef",name:"Q{}suppliedType",slot:"0"}]}]},{N:"varRef",name:"Q{}expression",slot:"3"}]}]}]}]}]},{N:"co",id:"223",binds:"",C:[{N:"globalVariable", -name:"Q{}errInfo",as:"1AQ",line:"344",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"info"}]}]},{N:"co",id:"40",binds:"",C:[{N:"globalVariable",name:"Q{}xslt.schema",as:"1FM k[AS] v[1FM]",line:"1",module:"XSLT-schema.xsl",visibility:"PRIVATE",C:[{N:"map",size:"77",C:[{N:"str",val:"use-package"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str", -val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"package-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"accept"},{N:"str",val:"AAA"},{N:"str",val:"override"}, -{N:"str",val:"AAA"}]}]},{N:"str",val:"matching-substring"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"map-entry"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"key"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"select"},{N:"map",size:"2", -C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"key"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3280"}]},{N:"str",val:"output"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"}, -{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"24",C:[{N:"str",val:"omit-xml-declaration"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"method"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"json"}, -{N:"str",val:"adaptive"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"allow-duplicate-names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"media-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str", -val:"doctype-public"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"escape-uri-attributes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"standalone"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"boolean"},{N:"str",val:"omit"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"json-node-output-method"},{N:"map",size:"2", -C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"doctype-system"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"item-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2", -C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"indent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"suppress-indentation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"byte-order-mark"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"include-content-type"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"encoding"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"normalization-form"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"NFC"},{N:"str",val:"NFD"},{N:"str",val:"NFKC"},{N:"str",val:"NFKD"},{N:"str",val:"fully-normalized"},{N:"str",val:"none"},{N:"str",val:"nmtoken"}]},{N:"str", -val:"isAVT"},{N:"false"}]},{N:"str",val:"html-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"nmtoken"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"undeclare-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"build-tree"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", -val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"cdata-section-elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"parameter-document"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"non-matching-substring"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str", -val:"parents"},{N:"str",val:"analyze-string"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"sequence"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]}, -{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]},{N:"str",val:"fork"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"sequence"},{N:"str",val:"AAA"},{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"for-each-group"},{N:"str", -val:"AAA"}]}]},{N:"str",val:"fallback"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"next-iteration"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str", -val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"mode"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"9",C:[{N:"str",val:"warning-on-multiple-match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"on-no-match"},{N:"map", -size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"deep-copy"},{N:"str",val:"shallow-copy"},{N:"str",val:"deep-skip"},{N:"str",val:"shallow-skip"},{N:"str",val:"text-only-copy"},{N:"str",val:"fail"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"typed"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"boolean"},{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"on-multiple-match"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"use-last"},{N:"str",val:"fail"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"warning-on-no-match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"accumulator-rule"},{N:"map",size:"4", -C:[{N:"str",val:"required.attributes"},{N:"str",val:"match"},{N:"str",val:"parents"},{N:"str",val:"accumulator"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"phase"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"start"},{N:"str",val:"end"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map", -size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"expose"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"3",C:[{N:"str",val:"component"},{N:"str",val:"names"},{N:"str",val:"visibility"}]},{N:"str",val:"parents"},{N:"str",val:"package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3", -C:[{N:"str",val:"names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"component"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"template"},{N:"str",val:"function"}, -{N:"str",val:"attribute-set"},{N:"str",val:"variable"},{N:"str",val:"mode"},{N:"str",val:"*"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"for-each"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, -{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"preserve-space"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"elements"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", -val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"import"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"}, -{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"package"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"14",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str", -val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"package-version"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"id"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"declared-modes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"expose"},{N:"str",val:"AAA"},{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"accumulator"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2", -C:[{N:"str",val:"name"},{N:"str",val:"initial-value"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"initial-value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"accumulator-rule"},{N:"str",val:"AAA"}]}]},{N:"str",val:"with-param"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"}, -{N:"literal",count:"6",C:[{N:"str",val:"apply-templates"},{N:"str",val:"call-template"},{N:"str",val:"apply-imports"},{N:"str",val:"next-match"},{N:"str",val:"next-iteration"},{N:"str",val:"evaluate"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"tunnel"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"assert"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, -{N:"str",val:"test"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"test"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"error-code"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, -{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"message"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"terminate"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"error-code"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"include"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map", -size:"1",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"accept"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"3",C:[{N:"str",val:"component"},{N:"str",val:"names"},{N:"str",val:"visibility"}]},{N:"str",val:"parents"},{N:"str",val:"use-package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"names"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"},{N:"str",val:"hidden"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"component"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"template"},{N:"str",val:"function"}, -{N:"str",val:"attribute-set"},{N:"str",val:"variable"},{N:"str",val:"mode"},{N:"str",val:"*"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"call-template"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, -{N:"map",size:"1",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"number"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"12",C:[{N:"str",val:"level"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"single"},{N:"str",val:"multiple"},{N:"str",val:"any"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"letter-value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal", -count:"2",C:[{N:"str",val:"alphabetic"},{N:"str",val:"traditional"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"from"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"grouping-size"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"integer"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"count"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"ordinal"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"format"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"grouping-separator"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"start-at"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"perform-sort"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, -{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"on-completion"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"iterate"}, -{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3125"}]},{N:"str",val:"merge-key"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"merge-source"}, -{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"ascending"},{N:"str",val:"descending"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"case-order"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"upper-first"},{N:"str",val:"lower-first"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"data-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"text"},{N:"str",val:"number"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str", -val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3200"}]},{N:"str",val:"result-document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"27",C:[{N:"str",val:"omit-xml-declaration"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"method"},{N:"map",size:"2", -C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"json"},{N:"str",val:"adaptive"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"allow-duplicate-names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, -{N:"true"}]},{N:"str",val:"media-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"doctype-public"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"escape-uri-attributes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"standalone"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2", -C:[{N:"str",val:"boolean"},{N:"str",val:"omit"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"json-node-output-method"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"doctype-system"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"item-separator"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"output-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"nmtoken"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"indent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"suppress-indentation"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"byte-order-mark"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"include-content-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"encoding"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]}, -{N:"str",val:"normalization-form"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"NFC"},{N:"str",val:"NFD"},{N:"str",val:"MFKC"},{N:"str",val:"MFKD"},{N:"str",val:"fully-normalized"},{N:"str",val:"none"},{N:"str",val:"nmtoken"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"html-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"format"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"undeclare-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, -{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"build-tree"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"cdata-section-elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"parameter-document"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str", -val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"merge-action"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"merge"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"next-match"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"}, -{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"transform"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"11",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map", -size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"id"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, -{N:"map",size:"1",C:[{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"override"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"use-package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"5",C:[{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"attribute-set"},{N:"str",val:"AAA"},{N:"str",val:"function"},{N:"str",val:"AAA"},{N:"str",val:"template"},{N:"str", -val:"AAA"},{N:"str",val:"variable"},{N:"str",val:"AAA"}]}]},{N:"str",val:"param"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"7",C:[{N:"str",val:"package"},{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"override"},{N:"str",val:"template"},{N:"str",val:"function"},{N:"str",val:"iterate"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"tunnel"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"static"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"required"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"text"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map", -size:"1",C:[{N:"str",val:"disable-output-escaping"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"PCDATA"},{N:"str",val:"AAA"}]}]},{N:"str",val:"source-document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", -val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, -{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"stylesheet"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"11",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str", -val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"id"}, -{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"apply-imports"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"copy-of"},{N:"map", -size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"copy-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"copy-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"}, -{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"merge-source"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, -{N:"str",val:"select"},{N:"str",val:"parents"},{N:"str",val:"merge"},{N:"str",val:"permitted.attributes"},{N:"map",size:"9",C:[{N:"str",val:"for-each-source"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, -{N:"false"}]},{N:"str",val:"sort-before-merge"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"for-each-item"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"merge-key"},{N:"str",val:"AAA"}]}]},{N:"str", -val:"context-item"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"template"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"required"},{N:"str",val:"optiona"},{N:"str",val:"absent"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"item-type"},{N:"str",val:"isAVT"}, -{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"attribute-set"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, -{N:"map",size:"1",C:[{N:"str",val:"attribute"},{N:"str",val:"AAA"}]}]},{N:"str",val:"strip-space"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, -{N:"map",size:"0"}]},{N:"str",val:"analyze-string"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"select"},{N:"str",val:"regex"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"regex"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"flags"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"matching-substring"},{N:"str",val:"AAA"},{N:"str",val:"non-matching-substring"},{N:"str",val:"AAA"},{N:"str",val:"fallback"},{N:"str",val:"AAA"}]}]},{N:"str",val:"decimal-format"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"}, -{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"12",C:[{N:"str",val:"percent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exponent-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"pattern-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"zero-digit"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"infinity"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"decimal-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"}, -{N:"false"}]},{N:"str",val:"digit"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"per-mille"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"minus-sign"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"NaN"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"}, -{N:"false"}]},{N:"str",val:"grouping-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"value-of"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"disable-output-escaping"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0870"}]},{N:"str",val:"processing-instruction"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, -{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0880"}]}, -{N:"str",val:"where-populated"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"otherwise"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"choose"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"}, -{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"copy"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"inherit-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"copy-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"choose"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"otherwise"},{N:"str",val:"AAA"},{N:"str",val:"when"},{N:"str", -val:"AAA"}]}]},{N:"str",val:"for-each-group"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"group-by"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"group-starting-with"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"composite"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"group-adjacent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"group-ending-with"},{N:"map", -size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"merge"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"}, -{N:"str",val:"merge-action"},{N:"str",val:"AAA"},{N:"str",val:"merge-source"},{N:"str",val:"AAA"}]}]},{N:"str",val:"character-map"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str", -val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"output-character"},{N:"str",val:"AAA"}]}]},{N:"str",val:"function"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str", -val:"permitted.attributes"},{N:"map",size:"8",C:[{N:"str",val:"cache"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"override-extension-function"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamability"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"8",C:[{N:"str",val:"unclassified"},{N:"str",val:"absorbing"},{N:"str",val:"inspection"}, -{N:"str",val:"filter"},{N:"str",val:"shallow-descent"},{N:"str",val:"deep-descent"},{N:"str",val:"ascent"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"new-each-time"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"yes"},{N:"str",val:"true"},{N:"str",val:"1"},{N:"str",val:"no"},{N:"str",val:"false"},{N:"str", -val:"0"},{N:"str",val:"maybe"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"override"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str", -val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"evaluate"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"xpath"},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"with-params"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"base-uri"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"context-item"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"schema-aware"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, -{N:"false"}]},{N:"str",val:"xpath"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace-context"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"iterate"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, -{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"on-completion"},{N:"str",val:"AAA"},{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"template"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, -{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"priority"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str", -val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"content-item"},{N:"str",val:"AAA"},{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"when"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"test"},{N:"str",val:"parents"},{N:"str",val:"choose"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"test"},{N:"map",size:"2", -C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"apply-templates"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"token"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4", -C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"namespace"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"}, -{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0910"}]},{N:"str",val:"try"},{N:"map",size:"3",C:[{N:"str", -val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"rollback-output"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"}, -{N:"str",val:"AAA"},{N:"str",val:"catch"},{N:"str",val:"AAA"}]}]},{N:"str",val:"global-context-item"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"required"},{N:"str",val:"optional"},{N:"str", -val:"absent"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"item-type"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"catch"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"try"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"errors"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", -val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3150"}]},{N:"str",val:"map"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"}, -{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"variable"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"static"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str", -val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"}, -{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"attribute"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"name"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"qname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0840"}]},{N:"str",val:"element"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"}, -{N:"map",size:"6",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"inherit-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"qname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal", -count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]}, -{N:"str",val:"if"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"test"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"test"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"output-character"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal", -count:"2",C:[{N:"str",val:"character"},{N:"str",val:"string"}]},{N:"str",val:"parents"},{N:"str",val:"character-map"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"character"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"string"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"sort"}, -{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"4",C:[{N:"str",val:"for-each"},{N:"str",val:"for-each-group"},{N:"str",val:"apply-templates"},{N:"str",val:"perform-sort"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"}, -{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"ascending"},{N:"str",val:"descending"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"case-order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"upper-first"},{N:"str",val:"lower-first"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"stable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, -{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"data-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"text"},{N:"str",val:"number"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"}, -{N:"str",val:"XTSE1015"}]},{N:"str",val:"namespace-alias"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"stylesheet-prefix"},{N:"str",val:"result-prefix"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"result-prefix"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str", -val:"prefix"},{N:"str",val:"#default"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"stylesheet-prefix"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"prefix"},{N:"str",val:"#default"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"break"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map", -size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3125"}]},{N:"str",val:"key"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"name"},{N:"str",val:"match"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str", -val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"composite"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"collation"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"comment"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str", -val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0940"}]},{N:"str",val:"on-empty"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]},{N:"str",val:"on-non-empty"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"}, -{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]}]}]}]},{N:"co",id:"224",binds:"34",C:[{N:"function",name:"Q{MyFunctions}wrongParent",line:"780",module:"normalize.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"homCheck",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"782",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" cannot be a child of "}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"dot",type:"1NE"}]}]}]}]}]},{N:"co",id:"225",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}ONE",as:"1ADI", -line:"102",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co",id:"226",binds:"74",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1965472536",as:"+",line:"254",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"254",C:[{N:"str",val:"XSLT compiler version:"}, -{N:"gVarRef",name:"Q{}compiler.version",bSlot:"0"}]}]}]},{N:"co",id:"227",binds:"",C:[{N:"function",name:"Q{MyFunctions}escapeAVT",line:"143",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}s",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"145",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}s",slot:"0"}, -{N:"str",val:"\\{"},{N:"str",val:"{{"},{N:"str",val:""}]},{N:"str",val:"\\}"},{N:"str",val:"}}"},{N:"str",val:""}]}]}]},{N:"co",id:"228",binds:"58 219 214 64 229 9 7 222 230 214 230 214 230 214",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"1065",module:"type.xsl",flags:"pU",as:"*",slots:"20",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1074",C:[{N:"let","var":"Q{}suppliedItemType",slot:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"p"}]},{N:"let",line:"1075","var":"Q{}suppliedCard",slot:"5",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"o"}]},{N:"let",line:"1076","var":"Q{}reqItemType",slot:"6",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"p"}]},{N:"let",line:"1080","var":"Q{}cardOK",as:"1AB",slot:"7",C:[{N:"gc",op:"=",card:"N:1", -comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"EQ"},{N:"str",val:"GT"}]},{N:"check",line:"1079",card:"1",diag:"3|0|XTTE0570|cardRel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|cardRel",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|cardRel",C:[{N:"data",diag:"3|0|XTTE0570|cardRel",C:[{N:"ufCall",name:"Q{MyTypes}cardinalityRelationship",tailCall:"false",bSlot:"0",C:[{N:"check",line:"1077",card:"1",diag:"0|0||t:cardinalityRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p", -diag:"0|0||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:cardinalityRelationship",C:[{N:"data",diag:"0|0||t:cardinalityRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"o"}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||t:cardinalityRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:cardinalityRelationship",C:[{N:"data",diag:"0|1||t:cardinalityRelationship",C:[{N:"varRef", -name:"Q{}suppliedCard",slot:"5"}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"1087","var":"Q{}itemTypeOK",as:"1AB",slot:"8",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"EQ"},{N:"str",val:"GT"}]},{N:"choose",line:"1086",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"n"}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str", -val:"n"}]}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"e"}]}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"e"}]}]}]},{N:"ufCall",name:"Q{MyTypes}itemTypeRelationship",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}suppliedType",slot:"1"}]},{N:"true"},{N:"let","var":"Q{}R",as:"1AS",slot:"9",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship", -C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"10",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship", -C:[{N:"varRef",name:"Q{}suppliedItemType",slot:"4"}]}]}]}]},{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"9"},{N:"varRef",name:"Q{}S",slot:"10"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"9"},{N:"varRef",name:"Q{}S",slot:"10"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"10"},{N:"varRef",name:"Q{}R",slot:"9"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]}]}]},{N:"choose", -line:"1089",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}itemTypeOK",slot:"8"},{N:"varRef",name:"Q{}cardOK",slot:"7"}]},{N:"varRef",line:"1090",name:"Q{}expression",slot:"0"},{N:"varRef",line:"1092",name:"Q{}itemTypeOK",slot:"8"},{N:"ufCall",line:"1093",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"2",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"and",line:"1095",op:"and",C:[{N:"varRef",name:"Q{}cardOK", -slot:"7"},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}suppliedCard",slot:"5"}]},{N:"str",val:"0"}]}]},{N:"varRef",line:"1096",name:"Q{}expression",slot:"0"},{N:"fn",line:"1100",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data", -diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"str",val:"A"}]},{N:"let",line:"1106","var":"Q{}expression.1",slot:"11",C:[{N:"choose",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}suppliedItemType",slot:"4"}]}]}]}]},{N:"str",val:"A"}]},{N:"varRef", -name:"Q{}expression",slot:"0"},{N:"true"},{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"904",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"3"}]},{N:"slash",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1106",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1106",name:"Q{}expression",slot:"0"}]}]}]}, -{N:"let",line:"1112","var":"Q{}expression.2",slot:"12",C:[{N:"choose",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]},{N:"varRef",name:"Q{}expression.1",slot:"11"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cvUntyped",tailCall:"false",bSlot:"4",C:[{N:"varRef",name:"Q{}expression.1",slot:"11"},{N:"varRef",name:"Q{}requiredType", -slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]},{N:"let",line:"1118","var":"Q{}expression.3",slot:"13",C:[{N:"choose",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]},{N:"literal",count:"2",C:[{N:"str",val:"AO"},{N:"str",val:"AF"}]}]},{N:"ufCall",name:"Q{MyTypes}convert",tailCall:"false",bSlot:"5",C:[{N:"varRef",name:"Q{}expression.2",slot:"12"},{N:"varRef",name:"Q{}requiredType", -slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"true"},{N:"varRef",name:"Q{}expression.2",slot:"12"}]},{N:"let",line:"1120","var":"Q{}expression.4",as:"?NE",slot:"14",C:[{N:"let",line:"1121","var":"Q{}convertedType",as:"1FM",slot:"15",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"6",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef", -name:"Q{}expression.3",slot:"13"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"choose",line:"1122",C:[{N:"fn",line:"1123",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}convertedType",slot:"15"},{N:"str",val:"p"}]}]}]}]}]},{N:"check",card:"?",diag:"0|1||fn:starts-with",C:[{N:"convert", -from:"A",to:"AS",flags:"p",diag:"0|1||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:starts-with",C:[{N:"data",diag:"0|1||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]}]},{N:"varRef",line:"1124",name:"Q{}expression.3",slot:"13"},{N:"compareToString",line:"1126",op:"eq",val:"DJ",C:[{N:"let","var":"Q{}R",as:"1AS",slot:"16",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped", -to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}convertedType",slot:"15"},{N:"str",val:"p"}]}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"17",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]}, -{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"16"},{N:"varRef",name:"Q{}S",slot:"17"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"16"},{N:"varRef",name:"Q{}S",slot:"17"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"17"},{N:"varRef",name:"Q{}R",slot:"16"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]}]},{N:"treat",line:"1127",as:"NE",diag:"3|0|XTTE0570|expression.4", -C:[{N:"check",card:"?",diag:"3|0|XTTE0570|expression.4",C:[{N:"ufCall",name:"Q{MyTypes}type-error",tailCall:"false",bSlot:"7",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"},{N:"varRef",name:"Q{}expression",slot:"0"}]}]}]},{N:"true"},{N:"ufCall",line:"1130",name:"Q{MyTypes}treat",tailCall:"false",bSlot:"8",C:[{N:"varRef",name:"Q{}expression.3",slot:"13"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag", -slot:"3"}]}]}]},{N:"choose",line:"1139",C:[{N:"varRef",name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.4",slot:"14"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"9",C:[{N:"check",card:"1",diag:"0|0||t:cardCheck",C:[{N:"varRef",name:"Q{}expression.4",slot:"14"}]},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]}]}]}]},{N:"fn",line:"1142",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert", -from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"str",val:"F"}]},{N:"let",line:"1144","var":"Q{}expression.1",slot:"18",C:[{N:"ufCall",name:"Q{MyTypes}treat",tailCall:"false",bSlot:"10",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"choose",line:"1150",C:[{N:"varRef", -name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.1",slot:"18"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"11",C:[{N:"varRef",name:"Q{}expression.1",slot:"18"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]},{N:"true"},{N:"let",line:"1159","var":"Q{}expression.1",slot:"19",C:[{N:"choose",C:[{N:"varRef",name:"Q{}itemTypeOK",slot:"8"},{N:"varRef",name:"Q{}expression",slot:"0"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}treat", -tailCall:"false",bSlot:"12",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]},{N:"choose",line:"1165",C:[{N:"varRef",name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.1",slot:"19"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"13",C:[{N:"varRef",name:"Q{}expression.1",slot:"19"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}, -{N:"co",id:"231",binds:"",C:[{N:"function",name:"Q{MyFunctions}empty",line:"229",module:"lib.xsl",flags:"pU",as:"?NE",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"231",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis", -name:"child",nodeTest:"NE"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"\\S"},{N:"str",val:""}]}]}]}]},{N:"elem",line:"232",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"empty"}]}]}]}]},{N:"co",id:"232",binds:"233",C:[{N:"function",name:"Q{MyTypes}allowsZeroOrOne",line:"135",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"*"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"137",card:"1",diag:"5|0|XTTE0780|t:allowsZeroOrOne#1",C:[{N:"vc",op:"ne",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"arith",op:"mod",calc:"a%a",C:[{N:"cvUntyped",to:"AO",C:[{N:"atomSing",card:"?",diag:"1|0||mod",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]}]},{N:"gVarRef",name:"Q{}StaticProperty.ALLOWS_MANY",bSlot:"0"}]},{N:"int",val:"0"}]}]}]}]},{N:"co",id:"234",binds:"",C:[{N:"globalVariable",name:"Q{}nodeTypeMap",as:"1FM k[AS] v[1ADI]",line:"573",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"11",C:[{N:"str",val:"text"},{N:"int",val:"3"},{N:"str",val:"processing-instruction"}, -{N:"int",val:"7"},{N:"str",val:"document_fragment"},{N:"int",val:"11"},{N:"str",val:"namespace-node"},{N:"int",val:"13"},{N:"str",val:"document-node"},{N:"int",val:"9"},{N:"str",val:"document"},{N:"int",val:"9"},{N:"str",val:"namespace"},{N:"int",val:"13"},{N:"str",val:"attribute"},{N:"int",val:"2"},{N:"str",val:"element"},{N:"int",val:"1"},{N:"str",val:"document_type"},{N:"int",val:"10"},{N:"str",val:"comment"},{N:"int",val:"8"}]}]}]},{N:"co",id:"235",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ZERO", -as:"1ADI",line:"105",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"236",binds:"127",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"1059",module:"type.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1062",C:[{N:"ufCall", -name:"Q{MyFunctions}typeCheck",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}required",slot:"1"},{N:"str",val:"0|0||"}]}]}]}]},{N:"co",id:"237",binds:"",C:[{N:"globalVariable",name:"Q{}serialization-properties",as:"*AS",line:"21",module:"output.xsl",visibility:"PRIVATE",C:[{N:"literal",count:"22",C:[{N:"str",val:"method"},{N:"str",val:"allow-duplicate-names"},{N:"str",val:"build-tree"},{N:"str",val:"byte-order-mark"},{N:"str",val:"cdata-section-elements"}, -{N:"str",val:"doctype-public"},{N:"str",val:"doctype-system"},{N:"str",val:"encoding"},{N:"str",val:"escape-uri-attributes"},{N:"str",val:"html-version"},{N:"str",val:"include-content-type"},{N:"str",val:"indent"},{N:"str",val:"item-separator"},{N:"str",val:"json-node-output-method"},{N:"str",val:"media-type"},{N:"str",val:"normalization-form"},{N:"str",val:"omit-xml-declaration"},{N:"str",val:"parameter-document"},{N:"str",val:"standalone"},{N:"str",val:"suppress-indentation"},{N:"str",val:"undeclare-prefixes"}, -{N:"str",val:"output-version"}]}]}]},{N:"co",id:"127",binds:"238 228 239 7 118",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"975",module:"type.xsl",flags:"pU",as:"*",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"996",C:[{N:"choose",C:[{N:"fn", -name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}literal"}]}]},{N:"ufCall",name:"Q{MyFunctions}typeCheckLiteral",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"foreign",bSlot:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"choose",C:[{N:"fn",name:"exists", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}empty"}]}]},{N:"gVarRef",name:"Q{}ST.EMPTY_SEQUENCE",bSlot:"2"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"3",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS", -flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.MULTIPLE_ITEM",bSlot:"4"}]},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]}]}]}]}]},{N:"co",id:"133",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_ATOMIC",as:"1FM k[AS] v[1AS]",line:"13",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map", -size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"130",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg409114060",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn", -name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0570"},{N:"str",val:"check"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"132",binds:"1 239",C:[{N:"globalVariable",name:"Q{}SJ.EMPTY_SEQUENCE",as:"1AS",line:"44",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"44",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.EMPTY_SEQUENCE",bSlot:"1"}]}]}]},{N:"co",id:"240",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg2078175306",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join", -C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-style/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"241",binds:"",C:[{N:"function",name:"Q{MyFunctions}typeCardinality",line:"32",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"}, -{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"43",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"empty-sequence()"},{N:"str",val:"error()0"}]},{N:"varRef",name:"Q{}type",slot:"0"}]},{N:"str",val:"0"},{N:"fn",name:"matches",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"[*?+]$"},{N:"str",val:""}]},{N:"fn",name:"substring",C:[{N:"varRef", -name:"Q{}type",slot:"0"},{N:"fn",name:"string-length",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]},{N:"true"},{N:"str",val:"1"}]}]}]},{N:"co",id:"242",binds:"1 218",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_NCNAME",as:"1AS",line:"56",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"56",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_NCNAME", -bSlot:"1"}]}]}]},{N:"co",id:"144",binds:"1 137",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ITEM",as:"1AS",line:"45",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"45",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"1"}]}]}]},{N:"co",id:"243",binds:"",C:[{N:"globalVariable",name:"Q{}support-XSLT4",as:"1AB",line:"170",module:"XSLT-SEF-compiler.xsl", -visibility:"PUBLIC",flags:"s",C:[{N:"true"}]}]},{N:"co",id:"244",binds:"66 196 226 245 246 125 221 196 215 67",C:[{N:"mode",name:"Q{}compile-complete",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"373",rank:"0",minImp:"0",slots:"13",matches:"ND",flags:"s",line:"243",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"ND"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"244",C:[{N:"param",name:"Q{}options",slot:"0",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"245","var":"Q{}nsOption",as:"?AS",slot:"1",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|nsOption",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|nsOption",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|nsOption", -C:[{N:"data",diag:"3|0|XTTE0570|nsOption",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"ns"}]}]}]}]}]},{N:"let",line:"246","var":"Q{}defaultHTML5",as:"1AB",slot:"2",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}nsOption",slot:"1"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}nsOption",slot:"1"},{N:"str",val:"##html5"}]}]},{N:"let",line:"249","var":"Q{}start.time",slot:"3",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false", -bSlot:"1"},{N:"sequence",line:"252",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"timing"}]},{N:"fn",name:"exists",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}start.time",slot:"3"},{N:"int",val:"2"}]}]}]},{N:"sequence",line:"254",C:[{N:"message",C:[{N:"gVarRef",role:"select",name:"Q{http://saxon.sf.net/generated-variable}gg1965472536",bSlot:"2"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}, -{N:"message",line:"255",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Started @"},{N:"varRef",name:"Q{}start.time",slot:"3"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"let",line:"263","var":"Q{}tempFromComp",as:"1ND",slot:"4",C:[{N:"doc",line:"264",C:[{N:"applyT",mode:"Q{}compile",bSlot:"3",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}options",flags:"t",as:"1FM",C:[{N:"varRef",line:"265", -name:"Q{}options",slot:"0"}]},{N:"withParam",name:"Q{}params",flags:"t",as:"1FM k[AQ]",C:[{N:"gVarRef",line:"267",name:"Q{}staticParameters",bSlot:"4"}]},{N:"withParam",name:"Q{}defaultHTML5",flags:"t",as:"1AB",C:[{N:"varRef",line:"268",name:"Q{}defaultHTML5",slot:"2"}]}]}]},{N:"sequence",line:"272",C:[{N:"choose",C:[{N:"or",line:"273",op:"or",C:[{N:"or",op:"or",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"justStatic"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"}, -{N:"str",val:"justNormalize"}]}]},{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"noXPath"}]}]},{N:"varRef",line:"274",name:"Q{}tempFromComp",slot:"4"},{N:"true"},{N:"sequence",line:"277",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"statistics"}]},{N:"message",line:"278",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"XPath statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}]}]},{N:"str",val:" components\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}, -{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute", -nodeTest:"NA"}]}]}]},{N:"str",val:" attributes\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"}]}]}]},{N:"str",val:" XPath expressions\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant", -nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"}]}]}]},{N:"str",val:" patterns "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"284",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"289",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting XPath compiling:"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp", -slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"}]}]},{N:"str",val:"expressions"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"}]}]},{N:"str",val:"patterns"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"291","var":"Q{}temp",as:"1ND", -slot:"5",C:[{N:"doc",line:"292",C:[{N:"applyT",mode:"Q{}process-xpath",bSlot:"5",C:[{N:"varRef",role:"select",name:"Q{}tempFromComp",slot:"4"},{N:"withParam",name:"Q{}options",flags:"t",as:"1FM",C:[{N:"varRef",line:"293",name:"Q{}options",slot:"0"}]},{N:"withParam",name:"Q{}defaultHTML5",flags:"t",as:"1AB",C:[{N:"varRef",line:"295",name:"Q{}defaultHTML5",slot:"2"}]}]}]},{N:"sequence",line:"298",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"statistics"}]},{N:"message", -line:"299",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Final statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}]}]},{N:"str",val:" components\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2", -C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child", -nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"str",val:" attributes\n "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"303",C:[{N:"lookup",line:"304",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"noBindings"}]},{N:"varRef",line:"305", -name:"Q{}temp",slot:"5"},{N:"true"},{N:"sequence",line:"308",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"309",C:[{N:"str",role:"select",val:"Starting Component binding"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"311",mode:"Q{}process-bindings",bSlot:"6",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"5"},{N:"withParam",name:"Q{}options", -flags:"t",as:"1FM",C:[{N:"varRef",line:"313",name:"Q{}options",slot:"0"}]}]}]}]}]}]}]}]},{N:"let",line:"320","var":"Q{}duration",as:"1AR",slot:"6",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|duration",C:[{N:"arith",op:"-",calc:"t-t",C:[{N:"ufCall",line:"319",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"7"},{N:"check",card:"?",diag:"1|1||-",C:[{N:"varRef",name:"Q{}start.time",slot:"3"}]}]}]},{N:"sequence",line:"321",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", -val:"timing"}]},{N:"message",line:"330",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Stylesheet compilation time:"},{N:"let","var":"Q{}h",slot:"7",C:[{N:"fn",name:"hours-from-duration",C:[{N:"varRef",name:"Q{}duration",slot:"6"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"8",flags:"l",C:[{N:"compareToInt",op:"ne",val:"0",C:[{N:"varRef",name:"Q{}h",slot:"7"}]},{N:"let","var":"Q{}m",slot:"9",C:[{N:"fn",name:"minutes-from-duration",C:[{N:"varRef",name:"Q{}duration", -slot:"6"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"10",flags:"l",C:[{N:"compareToInt",op:"ne",val:"0",C:[{N:"varRef",name:"Q{}m",slot:"9"}]},{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"filter",flags:"ib",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}h",slot:"7"},{N:"str",val:"h"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]},{N:"filter",flags:"ib",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}m",slot:"9"},{N:"str",val:"m"}]}, -{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"10"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"seconds-from-duration",C:[{N:"varRef",name:"Q{}duration",slot:"6"}]},{N:"str",val:"s"}]}]},{N:"str",val:" "}]}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"333","var":"Q{}errorCount",slot:"11",C:[{N:"ufCall",name:"Q{MyFunctions}message-count",tailCall:"false",bSlot:"8",C:[{N:"gVarRef",name:"Q{}XTSE0010", -bSlot:"9"}]},{N:"choose",line:"334",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"let",line:"335","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"12",flags:"l",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"str",val:" error"},{N:"fn",name:"string", -C:[{N:"filter",flags:"ib",C:[{N:"str",val:"s"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"12"}]}]},{N:"str",val:" during compilation"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"247",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.EMPTY",as:"1ADI",line:"111",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"248",binds:"", -C:[{N:"globalVariable",name:"Q{}COMPILE_GLOBAL",as:"1AB",line:"104",module:"xpath.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"191",binds:"22",C:[{N:"function",name:"Q{MyFunctions}make-namespace-alias-map",line:"1873",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*",slots:"8",C:[{N:"arg",name:"Q{}root",as:"1NE"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1880",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"slash",role:"select",line:"1880",simple:"1",C:[{N:"varRef",name:"Q{}root",slot:"0"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, -{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"let",role:"key",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}prefix",as:"1AS",slot:"6",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -card:"1",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"attVal",name:"Q{}stylesheet-prefix"}]}]}]},{N:"let","var":"Q{}element",as:"1NE",slot:"7",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"},{N:"choose",module:"namespaces.xsl",line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"6"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"7"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"6"},{N:"varRef",name:"Q{}element",slot:"7"}]}]}]}]}, -{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"1883","var":"Q{}highest-precedence",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|highest-precedence",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"let",line:"1885","var":"Q{}active-declarations",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias", -slot:"2",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active-declarations",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"1"}]}]}]},{N:"let",line:"1887","var":"Q{}result-uris",slot:"3",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}active-declarations",slot:"2"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -"var":"Q{}prefix",as:"1AS",slot:"4",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"attVal",name:"Q{}result-prefix"}]}]}]}, -{N:"let","var":"Q{}element",as:"1NE",slot:"5",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"},{N:"choose",module:"namespaces.xsl",line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix", -C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"5"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"4"},{N:"varRef",name:"Q{}element",slot:"5"}]}]}]}]}]},{N:"sequence",line:"1889",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"varRef",name:"Q{}result-uris",slot:"3"}]}]}]},{N:"ufCall",line:"1892",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str", -val:"XTSE0810"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple conflicting declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" for namespace "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]},{N:"ifCall",line:"1896",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check", -card:"1",diag:"0|0||map:entry",C:[{N:"currentGroupingKey"}]},{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}active-declarations",slot:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}result-prefix"}]}]},{N:"lastOf",C:[{N:"varRef",name:"Q{}result-uris",slot:"3"}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"249",binds:"52", -C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1733439693",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind", -bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:remove-property/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"250",binds:"",C:[{N:"globalVariable",name:"Q{}errorsAsMessages",as:"1AB",line:"187",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"44",binds:"36 37",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg438493423",as:"+AU",line:"21",module:"sorting.xsl", -visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"0"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation",bSlot:"1"}]}]}]},{N:"co",id:"251",vis:"PUBLIC",binds:"252 253 208 98 208 98 254 255 255 198 252 253 252 253 22 22",C:[{N:"function",name:"Q{MyFunctions}parse-value-template", -line:"51",module:"XSLT-value-template.xsl",flags:"pU",as:"*NA",slots:"13",C:[{N:"arg",name:"Q{}in",as:"1AS"},{N:"arg",name:"Q{}location",as:"1N"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation f=MyFunctions xs=~ xsl=~ xml=~",line:"55","var":"Q{}codepoints-in",as:"*ADI",slot:"9",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"varRef",name:"Q{}in",slot:"0"}]},{N:"treat",line:"56",as:"NA",diag:"5|0|XTTE0780|f:parse-value-template#2",C:[{N:"iterate",C:[{N:"to",role:"select",C:[{N:"int", -val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"}]}]},{N:"params",role:"params",line:"57",C:[{N:"param",name:"Q{}in-expression",slot:"2",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-expression",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|in-expression",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-expression",C:[{N:"data",diag:"8|0|XTTE0590|in-expression",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"58",name:"Q{}comment-depth", -slot:"3",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|comment-depth",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|comment-depth",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|comment-depth",C:[{N:"data",diag:"8|0|XTTE0590|comment-depth",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"59",name:"Q{}in-single-quotes",slot:"4",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"check", -card:"1",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"data",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"supplied",slot:"4"}]}]}]}]}]},{N:"param",line:"60",name:"Q{}in-double-quotes",slot:"5",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"data", -diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"supplied",slot:"5"}]}]}]}]}]},{N:"param",line:"61",name:"Q{}brace-depth",slot:"6",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|brace-depth",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|brace-depth",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|brace-depth",C:[{N:"data",diag:"8|0|XTTE0590|brace-depth",C:[{N:"supplied",slot:"6"}]}]}]}]}]},{N:"param",line:"62",name:"Q{}start-of-part",slot:"7",as:"1ADI", -C:[{N:"int",role:"select",val:"1"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|start-of-part",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|start-of-part",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|start-of-part",C:[{N:"data",diag:"8|0|XTTE0590|start-of-part",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"param",line:"63",name:"Q{}skip-char",slot:"8",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|skip-char",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|skip-char", -C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|skip-char",C:[{N:"data",diag:"8|0|XTTE0590|skip-char",C:[{N:"supplied",slot:"8"}]}]}]}]}]}]},{N:"choose",role:"on-completion",line:"65",C:[{N:"varRef",line:"66",name:"Q{}in-expression",slot:"2"},{N:"ufCall",line:"67",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE0350"},{N:"fn",name:"concat",C:[{N:"str",val:"Missing closing brace after expression:"},{N:"varRef",name:"Q{}in",slot:"0"}]},{N:"varRef",name:"Q{}location", -slot:"1"}]},{N:"vc",line:"69",op:"le",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"}]}]},{N:"att",line:"26",name:"literal",C:[{N:"fn",line:"76",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"}]},{N:"str",val:"{{"},{N:"str",val:"{"},{N:"str",val:"q"}]},{N:"str",val:"}}"},{N:"str",val:"}"},{N:"str",val:"q"}]}]}]}, -{N:"let",role:"action",line:"80","var":"Q{}i",as:"1ADI",slot:"10",C:[{N:"dot",type:"1ADI"},{N:"let",line:"81","var":"Q{}c1",as:"*ADI",slot:"11",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"},{N:"varRef",name:"Q{}i",slot:"10"}]},{N:"let",line:"82","var":"Q{}c2",as:"*ADI",slot:"12",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"},{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]},{N:"choose",line:"84",C:[{N:"varRef",name:"Q{}skip-char", -slot:"8"},{N:"nextIteration",line:"85",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"false"}]}]},{N:"varRef",line:"89",name:"Q{}in-expression",slot:"2"},{N:"choose",line:"90",C:[{N:"and",line:"91",op:"and",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}APOS",bSlot:"2"}]}]},{N:"nextIteration",line:"92",C:[{N:"withParam",name:"Q{}in-single-quotes",as:"1AB",slot:"4",C:[{N:"false"}]}]}, -{N:"and",line:"96",op:"and",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}QUOT",bSlot:"3"}]}]},{N:"nextIteration",line:"97",C:[{N:"withParam",name:"Q{}in-double-quotes",as:"1AB",slot:"5",C:[{N:"false"}]}]},{N:"and",line:"101",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}APOS",bSlot:"4"}]},{N:"compareToInt", -op:"eq",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"nextIteration",line:"102",C:[{N:"withParam",name:"Q{}in-single-quotes",as:"1AB",slot:"4",C:[{N:"true"}]}]},{N:"and",line:"106",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}QUOT",bSlot:"5"}]},{N:"compareToInt",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}comment-depth", -slot:"3"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]}]},{N:"nextIteration",line:"107",C:[{N:"withParam",name:"Q{}in-double-quotes",as:"1AB",slot:"5",C:[{N:"true"}]}]},{N:"and",line:"111",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LPAREN",bSlot:"6"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}COLON",bSlot:"7"}]}]},{N:"and", -op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]}]},{N:"nextIteration",line:"112",C:[{N:"withParam",name:"Q{}comment-depth",as:"1ADI",slot:"3",C:[{N:"arith",line:"113",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"},{N:"int",val:"1"}]}]},{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"and",line:"117",op:"and",C:[{N:"and",op:"and",C:[{N:"compareToInt", -op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}COLON",bSlot:"8"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}RPAREN",bSlot:"9"}]}]},{N:"nextIteration",line:"118",C:[{N:"withParam",name:"Q{}comment-depth",as:"1ADI",slot:"3",C:[{N:"arith",line:"119",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"},{N:"int", -val:"1"}]}]},{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"and",line:"123",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"10"}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"fn",name:"not",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth", -slot:"3"}]}]}]}]},{N:"nextIteration",line:"124",C:[{N:"withParam",name:"Q{}brace-depth",as:"1ADI",slot:"6",C:[{N:"arith",line:"125",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"},{N:"int",val:"1"}]}]}]},{N:"and",line:"128",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}RBRACE",bSlot:"11"}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not", -C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"fn",name:"not",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]}]}]}]},{N:"choose",line:"129",C:[{N:"compareToInt",line:"130",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"}]},{N:"sequence",line:"134",C:[{N:"att",line:"32",name:"expression",C:[{N:"fn",line:"134",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"arith",op:"-",calc:"i-i", -C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"varRef",name:"Q{}start-of-part",slot:"7"}]}]}]},{N:"nextIteration",line:"135",C:[{N:"withParam",name:"Q{}in-expression",as:"1AB",slot:"2",C:[{N:"false"}]},{N:"withParam",name:"Q{}start-of-part",as:"1ADI",slot:"7",C:[{N:"arith",line:"137",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]}]}]},{N:"true"},{N:"nextIteration",line:"141",C:[{N:"withParam",name:"Q{}brace-depth",as:"1ADI",slot:"6",C:[{N:"fn",line:"142",name:"max",C:[{N:"sequence", -C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"},{N:"int",val:"1"}]},{N:"int",val:"0"}]}]}]}]}]}]},{N:"vc",line:"151",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"0"}]},{N:"choose",line:"152",C:[{N:"vc",line:"153",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"12"}]},{N:"nextIteration",line:"154",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8", -C:[{N:"true"}]}]},{N:"true"},{N:"sequence",line:"159",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"varRef",name:"Q{}i",slot:"10"}]},{N:"att",line:"26",name:"literal",C:[{N:"fn",line:"166",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"varRef",name:"Q{}start-of-part", -slot:"7"}]}]},{N:"str",val:"{{"},{N:"str",val:"{"},{N:"str",val:"q"}]},{N:"str",val:"}}"},{N:"str",val:"}"},{N:"str",val:"q"}]}]}]},{N:"nextIteration",line:"168",C:[{N:"withParam",name:"Q{}in-expression",as:"1AB",slot:"2",C:[{N:"true"}]},{N:"withParam",name:"Q{}start-of-part",as:"1ADI",slot:"7",C:[{N:"arith",line:"170",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]}]}]}]},{N:"vc",line:"175",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef", -name:"Q{}RBRACE",bSlot:"1"}]},{N:"choose",line:"176",C:[{N:"vc",line:"177",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}RBRACE",bSlot:"13"}]},{N:"nextIteration",line:"178",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"true"},{N:"ufCall",line:"183",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE0370"},{N:"str",val:"Closing brace must be doubled"},{N:"varRef",name:"Q{}location",slot:"1"}]}]}]}]}]}]}]}]}]}]}]}, -{N:"co",id:"84",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_COMMENT",as:"1FM k[AS] v[1AS]",line:"37",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NC"}]}]}]},{N:"co",id:"256",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_TEXT",as:"1FM k[AS] v[1AS]",line:"33",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NT"}]}]}]}, -{N:"co",id:"257",binds:"",C:[{N:"function",name:"Q{MyTypes}isNumericType",line:"441",module:"type.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"443","var":"Q{}alphaCode",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"0|0||t:isNumeric",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:isNumeric",C:[{N:"cvUntyped", -to:"AS",diag:"0|0||t:isNumeric",C:[{N:"data",diag:"0|0||t:isNumeric",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"base"}]}]}]}]}]},{N:"or",line:"438",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AF"}]}]}]}]}]},{N:"co", -id:"174",binds:"",C:[{N:"function",name:"Q{MyFunctions}xseq",line:"696",module:"static.xsl",flags:"pmU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"698",name:"concat",C:[{N:"str",val:"Q{http://www.w3.org/2001/XMLSchema}"},{N:"varRef",name:"Q{}type",slot:"0"}]}]}]},{N:"co",id:"18",binds:"38 199 1 49 141 28 132 16 78 79 78 79 28 149 18 132 28 16 132 16 78 79 17 78 19 126 28 28 16 16 19 16 19 15 77 258 15 79 28 149 249 126 28 16 77 78 79 132 28 18 237 10 32 78 79 237 78 79 237 78 19 79 16 180 28 19 28 19 28 15 197 150 259 19 260 28 149 79 79 79 48 141 260 22 141 28 19 28 149 261 16 15 16 15 19 16 152 28 141 262 263 152 38 28 16 79 77 77 19 79 15 28 149 240 264 43 48 28 16 77 77 258 265 22 28 164 126 48 124 15 22 1 126 38 38 22 39 22 28 15 79 164 22 22 28 22 15 79 48 1 7 85 28 16 16 16 16 16 150 79 15 19 28 149 266 267 126 28 22 17 15 15 177 150 79 259 177 259 268 16 269 28 149 259 48 269 48 22 141 28 259 139 16 15 17 28 19 16 28 15 164 16 16 22 16 16 48 28 18 16 19 79 164 263 152 16 28 77 78 79 19 15 28 149 113 263 28 16 270 22 22 19 79 15 48 28 15 262 28 141 259 43 48 172 172 172 7 85 7 1 1 1 28 19 79 258 265 28 15 126 48 262 22 22 271 22 22 22 16 121 78 79 78 79 19 83 259 22 272 269 150 172 273 78 79 78 79 16 150 262", -C:[{N:"mode",name:"Q{}sef",onNo:"SC",flags:"W",patternSlots:"1",C:[{N:"templateRule",prec:"0",prio:"5.01",seq:"328",rank:"17",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"25",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"25",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"26",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"27",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"31",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}xpath-default-namespace",flags:"t",as:"1NA",C:[{N:"att",line:"29",name:"xpath-default-namespace",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"5.0",seq:"323",rank:"16",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param", -name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"20",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"22",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6", -seq:"363",rank:"15",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"143",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"145",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode", -flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"358",rank:"14",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100", -module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"102",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"104",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"354",rank:"13",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"94",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA", -C:[{N:"varRef",line:"96",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"351",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"80",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"82",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0", -prio:"3.1",seq:"348",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"73",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"75",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation", -flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"343",rank:"11",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"59",flags:"t", -C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"62",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"339",rank:"10",minImp:"0",slots:"1",matches:"NE",flags:"s", -line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"51",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"53",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03",seq:"335",rank:"9",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"43",flags:"t", -C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"45",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"331",rank:"8",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"36",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"38",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"227",rank:"6",minImp:"0",slots:"4",matches:"NE",flags:"s",line:"448",module:"creating-new-nodes.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"448",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"448",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"449",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"450",name:"Q{}static-context",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"456","var":"Q{}version",as:"?AD", -slot:"2",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"true"},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"nextMatch",line:"457",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"458",name:"Q{}attr", -slot:"0"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM",C:[{N:"ifCall",line:"463",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"2"},{N:"dec",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}static-context",slot:"1"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}xsl-version", -flags:"t",as:"?AD",C:[{N:"varRef",line:"464",name:"Q{}version",slot:"2"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"465",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"2"},{N:"dec",val:"2"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"175",rank:"3",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"161",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"161",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"162",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", -as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"164","var":"Q{}temp",as:"*NE",slot:"1",C:[{N:"treat",line:"165",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"166",name:"Q{}attr",slot:"0"}]}]}]},{N:"applyT",line:"169",mode:"Q{}on-empty",flags:"t",bSlot:"1",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"1"},{N:"withParam",name:"Q{}element.attributes",flags:"t",as:"*AS",C:[{N:"choose",line:"176", -C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"1"},{N:"axis",name:"self",nodeTest:"NE n*:elem"}]}]},{N:"slash",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"229",rank:"0",minImp:"0",slots:"11",matches:"NE",flags:"s",as:"1NE",line:"470",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"471",card:"1",diag:'7|0|XTTE0505|match="*" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"472",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied", -slot:"1"}]}]}]},{N:"param",line:"473",name:"Q{}static-context",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"let",line:"474","var":"Q{}namespace-aliases",as:"?FM",slot:"3",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"namespace-aliases"}]}]}]},{N:"let",line:"481","var":"Q{}element-name",as:"1AQ", -slot:"4",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]},{N:"let","var":"Q{}original-name",as:"1AQ",slot:"5",C:[{N:"check",card:"1",diag:"0|0||f:map-aliased-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let","var":"Q{}namespace-aliases",as:"1FM",slot:"6",C:[{N:"check",card:"1",diag:"0|1||f:map-aliased-name",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]},{N:"let",line:"544","var":"Q{}original-uri",as:"1AU",slot:"7", -C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"5"}]},{N:"let",line:"547","var":"Q{}new-uri",as:"1AS",slot:"8",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"6"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]}]},{N:"convert",line:"548",from:"AU", -to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", -name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]},{N:"int",val:"2"}]}]}]}]}]}]},{N:"choose",line:"556",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"7"},{N:"varRef",name:"Q{}new-uri",slot:"8"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"5"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"9",C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", -name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]},{N:"fn",line:"567",name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"8"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"9"}]},{N:"str",val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat", -C:[{N:"varRef",name:"Q{}prefix",slot:"9"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"5"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"3|0|XTTE0570|element-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"491",name:"elem",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}element-name", -slot:"4"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"2",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"n"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"creating-new-nodes.xsl",line:"491",name:"Q{}element-name",slot:"4"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"creating-new-nodes.xsl",line:"491",name:"Q{}element-name",slot:"4"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"att",name:"nsuri",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}element-name",slot:"4"}]}]}]},{N:"att",name:"namespaces",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}record-namespaces",tailCall:"false",bSlot:"3", -C:[{N:"dot",type:"1NE",flags:"a"},{N:"sequence",line:"486",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}exclude"}]}]}]}]},{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|excluded-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|excluded-namespaces",C:[{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]}]}]}]},{N:"str",val:"http://www.w3.org/1999/XSL/Transform"}]}]}]},{N:"applyT",line:"492",mode:"Q{}attribute-sans-prefix",bSlot:"4",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"choose",line:"493",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"494",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"forEach",line:"496",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}, -{N:"att",line:"497",name:"defaultElementNS",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]},{N:"forEach",line:"499",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"},{N:"att",line:"500",name:"defaultCollation",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]}]}]}]}, -{N:"let",line:"502","var":"Q{}default-collation",as:"?NA",slot:"10",C:[{N:"choose",line:"503",C:[{N:"fn",line:"504",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]},{N:"att",line:"505",name:"defaultCollation",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]}]}]},{N:"true"},{N:"varRef",line:"508",name:"Q{}default-collation",slot:"1"}]}, -{N:"sequence",line:"512",C:[{N:"except",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"callT",line:"513",name:"Q{}record-location",bSlot:"5"},{N:"choose",line:"514",C:[{N:"and",line:"515",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"516",name:"empty", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"and",line:"518",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"519",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"},{N:"withParam",name:"Q{}default-collation",flags:"t", -as:"?NA",C:[{N:"varRef",line:"520",name:"Q{}default-collation",slot:"10"}]}]},{N:"true"},{N:"elem",line:"524",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"525",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets"}]},{N:"applyT",line:"529",flags:"c",bSlot:"-1",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}, -{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets,NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation],NA nQ{http://ns.saxonica.com/xslt/export}*]]"}]}]},{N:"applyT",line:"530",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA",C:[{N:"varRef",line:"531",name:"Q{}default-collation",slot:"10"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.0",seq:"378",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}message",flags:"s",line:"1561",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}message"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1562",C:[{N:"param", -name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"1563",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"1564",name:"Q{}default-collation", -slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"1566",name:"message",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"6"}]},{N:"att",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"XSLT-SEF-compiler.xsl", -line:"1565",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}message",flags:"a"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}]},{N:"varRef",line:"1568",name:"Q{}attr",slot:"0"},{N:"elem",line:"1569",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"applyT",line:"1570",mode:"Q{}create.xpath",bSlot:"7",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"1571",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]},{N:"callT",line:"1573",name:"Q{MyFunctions}AVT",bSlot:"8",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}terminate",C:[{N:"axis",line:"1574",name:"attribute",nodeTest:"NA nQ{}terminate"}]}, -{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"false"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"1576",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"9"},{N:"str",val:"terminate"}]}]}]}]}]},{N:"callT",line:"1578",name:"Q{MyFunctions}AVT",bSlot:"10",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}error-code",C:[{N:"axis",line:"1579",name:"attribute", -nodeTest:"NA nQ{}error-code"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"1582",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"11"},{N:"str",val:"error"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"389",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}output", -flags:"s",line:"1716",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"372",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"s",line:"99",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -line:"100",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"101",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}schedule-action"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"102",name:"Q{}attr", -slot:"0"},{N:"callT",line:"103",name:"Q{}record-location",bSlot:"12"},{N:"elem",line:"104",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}wait"},{N:"str",val:"0"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS", -C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"a"},{N:"treat",module:"lib.xsl", -line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"2",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", -C:[{N:"varRef",name:"Q{}node",slot:"1"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"2"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"1"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"2"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"forEach",line:"105",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}document"},{N:"callT",line:"106",name:"Q{}role-value-template",bSlot:"13"}]}, -{N:"choose",line:"108",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}document"}]},{N:"elem",line:"109",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"empty"}]}]},{N:"applyT",line:"111",mode:"Q{}sef",flags:"i",bSlot:"14",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]},{N:"choose",line:"112",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}http-request"}]},{N:"elem",line:"113",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}http-request"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"4",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"3"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"4"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"3"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"4"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", -seq:"171",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}assert",flags:"s",line:"104",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}assert"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"105",C:[{N:"param",name:"Q{}options",slot:"0",flags:"tr", -as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"106",name:"Q{}compiler.options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|compiler.options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|compiler.options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"107",name:"Q{}attr",slot:"2",as:"*NA",C:[{N:"empty", -role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"108",C:[{N:"or",line:"109",op:"or",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"enable-assertions"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}compiler.options",slot:"1"},{N:"str",val:"enable-assertions"}]}]},{N:"elem",line:"111",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef", -name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"15"}]},{N:"att",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"conditionals.xsl",line:"110",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}assert",flags:"a"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}]},{N:"varRef",line:"112",name:"Q{}attr",slot:"2"},{N:"callT",line:"113",name:"Q{}record-location",bSlot:"16"}, -{N:"applyT",line:"114",mode:"Q{}create.xpath",bSlot:"17",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"elem",line:"115",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"116",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"117",name:"message",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE", -bSlot:"18"}]},{N:"elem",line:"118",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"applyT",line:"119",mode:"Q{}create.xpath",bSlot:"19",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"120",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]},{N:"elem",line:"122",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", -C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"terminate"}]}]},{N:"callT",line:"123",name:"Q{MyFunctions}AVT",bSlot:"20",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}error-code",C:[{N:"axis",line:"124",name:"attribute",nodeTest:"NA nQ{}error-code"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9001"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"126",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check", -card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"21"},{N:"str",val:"error"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"elem",line:"132",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"270",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}map",flags:"s",line:"14",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}map"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"15",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"16",name:"MAP",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"17",C:[{N:"varRef", -name:"Q{}attr",slot:"0"},{N:"elem",line:"18",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"19",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"263",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}source-document",flags:"s",line:"17",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}source-document"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"18",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"19",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", -as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"20",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"21",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"elem",line:"22",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"doc"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT", -bSlot:"22"}]},{N:"choose",line:"23",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"24",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}source-document",flags:"a"},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}, -{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"callT",line:"26",name:"Q{MyFunctions}AVT",bSlot:"23",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}href",C:[{N:"axis",line:"27",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]}]},{N:"callT",line:"30",name:"Q{}sequence-constructor",bSlot:"24"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"154",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-match",flags:"s",line:"190", -module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-match"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"191",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem", -line:"192",name:"nextMatch",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"25"}]},{N:"varRef",line:"193",name:"Q{}attr",slot:"0"},{N:"callT",line:"194",name:"Q{}record-location",bSlot:"26"},{N:"applyT",line:"195",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"170",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}if", -flags:"s",line:"68",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}if"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check", -card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"71",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"72",C:[{N:"varRef",name:"Q{}attr",slot:"1"},{N:"callT",line:"73",name:"Q{}record-location",bSlot:"27"},{N:"applyT",line:"74",mode:"Q{}create.xpath", -bSlot:"28",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"choose",line:"75",C:[{N:"and",line:"76",op:"and",C:[{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}then,NA nQ{}else]"}]}]},{N:"sequence", -line:"77",C:[{N:"choose",C:[{N:"fn",line:"78",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}then"}]},{N:"applyT",line:"79",mode:"Q{}create.xpath",bSlot:"29",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}then"}]},{N:"true"},{N:"callT",line:"82",name:"Q{}sequence-constructor",bSlot:"30"}]},{N:"elem",line:"85",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"choose",line:"86",C:[{N:"fn",line:"87",name:"exists",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}else"}]},{N:"applyT",line:"88",mode:"Q{}create.xpath",bSlot:"31",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}else"}]},{N:"true"},{N:"elem",line:"91",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]},{N:"true"},{N:"sequence",line:"96",C:[{N:"callT",name:"Q{}sequence-constructor",bSlot:"32"},{N:"elem",line:"97",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"98",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"182",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"s",line:"241",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"242",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"243","var":"Q{}context",as:"1",slot:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"a"},{N:"let",line:"244","var":"Q{}errors",as:"*AS",slot:"2",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}errors"},{N:"str",val:"*"}]}]}]}]}]}]}]},{N:"elem",line:"245",name:"catch",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"err",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}errors",slot:"2"},{N:"str",val:" "}]}]},{N:"att",line:"246",name:"errors",flags:"l",C:[{N:"fn",line:"247", -name:"string-join",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}errors",slot:"2"},{N:"choose",line:"248",C:[{N:"or",line:"249",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"dot",type:"1AS"}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"*:"}]}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"Q{"}]}]},{N:"dot",line:"250",type:"1AS"},{N:"fn",line:"252",name:"ends-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"}*"}]},{N:"fn",line:"253",name:"replace", -C:[{N:"let","var":"Q{}qname",as:"1AQ",slot:"3",C:[{N:"fn",name:"resolve-QName",C:[{N:"fn",name:"replace",C:[{N:"dot",type:"1AS"},{N:"str",val:"*$"},{N:"str",val:"Z"},{N:"str",val:""}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"fn",module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"3"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef", -name:"Q{}qname",slot:"3"}]}]}]},{N:"str",val:"Z$"},{N:"str",val:"*"},{N:"str",val:""}]},{N:"true"},{N:"let",line:"256","var":"Q{}qname",as:"1AQ",slot:"4",C:[{N:"fn",name:"resolve-QName",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"fn",module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"4"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName", -C:[{N:"varRef",name:"Q{}qname",slot:"4"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"varRef",line:"274",name:"Q{}attr",slot:"0"},{N:"applyT",line:"275",mode:"Q{}select.or.sequence",bSlot:"33",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"252",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key",flags:"s",line:"46",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",name:"Q{}make-sort-key",bSlot:"34",flags:"t"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"377",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback",flags:"s",line:"1555",module:"XSLT-SEF-compiler.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"163",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"s",line:"171",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"172",C:[{N:"ufCall",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"35",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"a"}]},{N:"applyT",line:"173",mode:"Q{}select.or.sequence",flags:"t",bSlot:"36",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"174",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"37"},{N:"str",val:"on-completion"}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.0",seq:"369",rank:"1",minImp:"0",slots:"4",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property",flags:"s",line:"48",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"49",C:[{N:"param",name:"Q{}xpath-default-namespace", -slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"50",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"51",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d", -namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}remove-property"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"52",name:"Q{}attr",slot:"1"},{N:"callT",line:"53",name:"Q{}record-location",bSlot:"38"},{N:"forEach",line:"54",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"55",name:"Q{}role-value-template",bSlot:"39"}]},{N:"elem",line:"58",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"ixsl:window()"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data", -diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash", -C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1733439693",bSlot:"40"}]}]}]}]},{N:"varRef",line:"59",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"151",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates", -flags:"s",line:"115",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"116",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"param",line:"117",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"118",name:"Q{}default-mode",slot:"2",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"elem",line:"119",name:"applyT",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"41"}]},{N:"callT",line:"120",name:"Q{}record-location",bSlot:"42"},{N:"applyT",line:"121",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}mode"}]}, -{N:"choose",line:"122",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"}]}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"},{N:"str",val:"#unnamed"}]}]},{N:"att",line:"123",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"}]}]},{N:"varRef",line:"125",name:"Q{}attr",slot:"0"},{N:"let",line:"126","var":"Q{}source", -as:"*NE",slot:"3",C:[{N:"choose",line:"127",C:[{N:"fn",line:"128",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"elem",line:"129",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"str",val:"node()"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates", -flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number", -type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"defaultedSelect",flags:"l",C:[{N:"str",val:""}]}]}]},{N:"true"},{N:"treat",line:"132",as:"NE",diag:"3|0|XTTE0570|source", -C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"43",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"sequence",line:"136",C:[{N:"choose",C:[{N:"fn",line:"137",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"138",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"varRef",line:"139",name:"Q{}source",slot:"3"}, -{N:"forEach",line:"140",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"141",name:"Q{}make-sort-key",bSlot:"44"}]}]}]},{N:"true"},{N:"varRef",line:"146",name:"Q{}source",slot:"3"}]},{N:"choose",line:"149",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt", -C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]}]},{N:"callT",line:"150",name:"Q{MyFunctions}AVT",bSlot:"45",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}separator",C:[{N:"axis",line:"151",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"152",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef", -name:"Q{}roles",bSlot:"46"},{N:"str",val:"separator"}]}]}]}]}]}]},{N:"applyT",line:"171",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"203",rank:"1",minImp:"0",slots:"12",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document",flags:"s",line:"23",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"24",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"25",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"26",name:"resultDoc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"47"}]},{N:"varRef",line:"27",name:"Q{}attr",slot:"0"},{N:"callT",line:"28",name:"Q{}record-location",bSlot:"48"},{N:"applyT",line:"29",mode:"Q{}sef",bSlot:"49",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}, -{N:"let",line:"31","var":"Q{}local-fixed-properties",as:"1FM k[AS]",slot:"2",C:[{N:"ifCall",line:"33",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"union",op:"|",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"50"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"convert", -from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"{"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]},{N:"ifCall",line:"35",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"output-version",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:"version"},{N:"true"}, -{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"applyT",line:"36",mode:"Q{}normalize-serialization-property",bSlot:"51",C:[{N:"dot",role:"select",type:"1NA"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"41",C:[{N:"att",name:"local",flags:"l",C:[{N:"let","var":"Q{}map",as:"1FM",slot:"3",C:[{N:"varRef",name:"Q{}local-fixed-properties",slot:"2"},{N:"convert",line:"196",from:"AZ", -to:"AS",flags:"p",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}map",slot:"3"}]},{N:"let",line:"197","var":"Q{}value",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"varRef",name:"Q{}map",slot:"3"},{N:"dot",type:"1A"}]},{N:"valueOf",line:"199",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"choose",line:"198",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"item-separator"}]},{N:"fn",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"check", -card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"4"}]}]}]}]},{N:"str",val:"%"},{N:"str",val:"%%"},{N:"str",val:""}]},{N:"str",val:"\n"},{N:"str",val:"%n"},{N:"str",val:""}]},{N:"true"},{N:"varRef",line:"199",name:"Q{}value",slot:"4"}]}]}]},{N:"str",val:"\n"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]},{N:"let",line:"44","var":"Q{}formatExpr", -as:"?NE",slot:"5",C:[{N:"choose",line:"45",C:[{N:"fn",line:"46",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"empty"},{N:"castable",line:"47",flags:"a",as:"1ASNTN",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]}]},{N:"elem",line:"48",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"format"}]},{N:"att",name:"val",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName", -tailCall:"false",bSlot:"52",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}result-document",flags:"a"},{N:"str",val:"XTSE0010"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]}]}]},{N:"true"},{N:"callT",line:"54",name:"Q{MyFunctions}AVT", -bSlot:"53",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}format",C:[{N:"axis",line:"55",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"56",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"54"},{N:"str",val:"format"}]}]}]}]}]}]},{N:"let",line:"62","var":"Q{}decl",as:"?NE nQ{http://ns.saxonica.com/xslt/export}output",slot:"6",C:[{N:"choose", -line:"64",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"let",line:"65","var":"Q{}formatName",as:"?NA",slot:"7",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]},{N:"let",line:"66","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"8",flags:"l",C:[{N:"data",diag:"1|1||eq",C:[{N:"varRef", -name:"Q{}formatName",slot:"7"}]},{N:"treat",as:"NE nQ{http://ns.saxonica.com/xslt/export}output",diag:"3|0|XTTE0570|decl",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|decl",C:[{N:"filter",flags:"",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"output-declarations"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"attVal",name:"Q{}name"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]}]}]}]}]}]}, -{N:"fn",line:"68",name:"empty",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"}]},{N:"treat",line:"69",as:"NE nQ{http://ns.saxonica.com/xslt/export}output",diag:"3|0|XTTE0570|decl",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|decl",C:[{N:"filter",flags:"b",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"output-declarations"}]},{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]}, -{N:"sequence",line:"75",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}decl",slot:"6"}]},{N:"att",line:"83",name:"global",flags:"l",C:[{N:"let",line:"78","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"+AS",slot:"9",flags:"l",C:[{N:"sequence",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"55"},{N:"str",val:"use-character-maps"}]},{N:"let","var":"Q{}map",as:"1FM",slot:"10",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach", -C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}decl",slot:"6"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}property"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"},{N:"attVal",name:"Q{}name"}]}]},{N:"ifCall",line:"79",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"}, -{N:"str",val:"output-version"}]},{N:"str",val:"version"},{N:"true"},{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"convert",line:"196",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:makeProperties#1", -C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}map",slot:"10"}]},{N:"let",line:"197","var":"Q{}value",slot:"11",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}map",slot:"10"},{N:"dot",type:"1A"}]},{N:"valueOf",line:"199",C:[{N:"fn",name:"concat", -C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"choose",line:"198",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"item-separator"}]},{N:"fn",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace", -C:[{N:"varRef",name:"Q{}value",slot:"11"}]}]}]},{N:"str",val:"%"},{N:"str",val:"%%"},{N:"str",val:""}]},{N:"str",val:"\n"},{N:"str",val:"%n"},{N:"str",val:""}]},{N:"true"},{N:"varRef",line:"199",name:"Q{}value",slot:"11"}]}]}]},{N:"str",val:"\n"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]}]}]},{N:"choose",line:"86",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]},{N:"callT",line:"87",name:"Q{MyFunctions}AVT",bSlot:"56",C:[{N:"withParam",name:"Q{}avt-string",flags:"c", -as:"?NA nQ{}href",C:[{N:"axis",line:"88",name:"attribute",nodeTest:"NA nQ{}href"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"89",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"57"},{N:"str",val:"href"}]}]}]}]}]}]},{N:"choose",line:"93",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"copyOf",line:"94",flags:"c",C:[{N:"varRef",name:"Q{}formatExpr", -slot:"5"}]}]},{N:"forEach",line:"97",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"58"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"{"}]}]}]}, -{N:"callT",line:"98",name:"Q{MyFunctions}AVT",bSlot:"59",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"1NA",C:[{N:"dot",line:"99",type:"1NA"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"1NA",C:[{N:"att",line:"101",name:"role",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{}"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"callT",line:"106",name:"Q{}sequence-constructor",bSlot:"60",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"107",as:"NA",diag:"8|0|XTTE0590|attr", -C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"61"},{N:"str",val:"content"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"224",rank:"2",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"s",as:"1NE",line:"394",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"394",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"395",card:"1",diag:'7|0|XTTE0505|match="xsl:copy[@select]" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"396",name:"Q{}xsl-version",slot:"1",flags:"t",as:"1AD",C:[{N:"dec",role:"select",val:"3"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|xsl-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|xsl-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|xsl-version",C:[{N:"data",diag:"8|0|XTTE0590|xsl-version",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"397",name:"Q{}attr",slot:"2", -as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"398",C:[{N:"vc",line:"399",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}xsl-version",slot:"1"},{N:"dec",val:"3"}]},{N:"elem",line:"400",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"401",C:[{N:"varRef",name:"Q{}attr",slot:"2"},{N:"applyT",line:"402",mode:"Q{}create.xpath",bSlot:"62",C:[{N:"axis", -role:"select",name:"attribute",nodeTest:"NA nQ{}select"},{N:"withParam",name:"Q{}checkType",as:"1AS",C:[{N:"str",val:"?"}]},{N:"withParam",name:"Q{}diagnostic",as:"1NA",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -name:"Q{http://saxon.sf.net/generated-variable}gg330224683",bSlot:"63"}]}]}]},{N:"elem",line:"406",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"str", -val:"in"}]}]},{N:"callT",line:"408",name:"Q{}record-location",bSlot:"64"},{N:"callT",line:"409",name:"Q{}sequence-constructor",bSlot:"65"}]}]}]}]},{N:"true"},{N:"elem",line:"414",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]}, -{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"str",val:"in"}]}]},{N:"varRef",line:"415",name:"Q{}attr",slot:"2"},{N:"callT",line:"416",name:"Q{}record-location",bSlot:"66"},{N:"callT",line:"418",name:"Q{}sequence-constructor",bSlot:"67"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"225",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"s",as:"1NE",line:"423",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"424",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"425",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}, -{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"i"}]},{N:"str",val:"n"}]}]},{N:"varRef",line:"426",name:"Q{}attr",slot:"0"},{N:"callT",line:"427",name:"Q{}record-location",bSlot:"68"},{N:"elem",line:"428",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"429",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}]},{N:"applyT",line:"430",mode:"Q{}select.or.sequence",bSlot:"69", -C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"219",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace",flags:"s",as:"1NE",line:"242",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"243",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"244",name:"namespace",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_NAMESPACE",bSlot:"70"}]},{N:"varRef",line:"245",name:"Q{}attr",slot:"0"},{N:"forEach",line:"246",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}, -{N:"callT",line:"247",name:"Q{}value-template",bSlot:"71"}]},{N:"callT",line:"249",name:"Q{}constructSimpleContent",bSlot:"72"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"257",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}fork",flags:"s",line:"15",module:"splitting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}fork"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"17",name:"fork",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"18",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"19",name:"Q{}sequence-constructor",bSlot:"73"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"260",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring", -flags:"s",line:"66",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"67",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"matching"}]}, -{N:"choose",line:"68",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"69",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"applyT",line:"71",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"211",rank:"2",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"s",as:"1NE",line:"31",module:"creating-new-nodes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"31",op:"or",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}namespace"}]}]},{N:"str", -val:"{"}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:"{"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"32",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat", -role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"33",name:"compElem",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ELEMENT",bSlot:"74"}]},{N:"varRef",line:"34",name:"Q{}attr",slot:"0"},{N:"callT",line:"36",name:"Q{}record-location",bSlot:"75"},{N:"choose",line:"37",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"38",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"forEach",line:"40",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"callT",line:"41",name:"Q{}role-value-template",bSlot:"76"}]},{N:"let",line:"43","var":"Q{}content",as:"*NE",slot:"1",C:[{N:"treat",line:"44",as:"NE",diag:"3|0|XTTE0570|content",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"sequence", -role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]},{N:"choose",line:"46",C:[{N:"fn",line:"47",name:"empty",C:[{N:"varRef",name:"Q{}content",slot:"1"}]},{N:"elem",line:"48",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"lookup",line:"49",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"77"},{N:"str",val:"content"}]}]},{N:"compareToInt",line:"52",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn", -name:"subsequence",C:[{N:"varRef",name:"Q{}content",slot:"1"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"55","var":"Q{http://saxon.sf.net/generated-variable}v0",slot:"2",flags:"l",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"78"},{N:"str",val:"content"}]},{N:"forEach",line:"53",C:[{N:"varRef",name:"Q{}content",slot:"1"},{N:"copy",line:"54",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"55",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", -slot:"2"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"elem",line:"60",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"61",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"79"},{N:"str",val:"content"}]},{N:"varRef",name:"Q{}content",slot:"1"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"212",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"s",as:"1NE",line:"69",module:"creating-new-nodes.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"70",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"71","var":"Q{}name", -as:"1AS",slot:"1",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"74","var":"Q{}ns",as:"1FM",slot:"2",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"namespaces.xsl",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"creating-new-nodes.xsl",line:"72",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}element", -flags:"a"},{N:"first",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"namespaces.xsl",line:"165",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"3",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"4",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"3"},{N:"choose",C:[{N:"compareToString", -op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"80"},{N:"varRef",name:"Q{}prefix",slot:"3"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"4"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"elem",line:"76",name:"elem",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type",flags:"l",C:[{N:"str",val:"element()"}]},{N:"varRef",line:"77",name:"Q{}attr",slot:"0"},{N:"let",line:"78","var":"Q{}parts",as:"*AS",slot:"5",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]},{N:"sequence",line:"79",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA nQ{http://ns.saxonica.com/xslt/export}*,NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS]"}]}, -{N:"applyT",line:"80",mode:"Q{}attribute-sans-prefix",bSlot:"81",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]},{N:"att",line:"86",name:"name",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]}]},{N:"str",val:""}]},{N:"lastOf",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]},{N:"true"},{N:"varRef",name:"Q{}name", -slot:"1"}]}]},{N:"att",line:"87",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ELEMENT",bSlot:"82"}]},{N:"applyT",line:"88",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"choose",line:"89",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"90",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"let",line:"92", -"var":"Q{}prefix",as:"1AS",slot:"6",C:[{N:"choose",line:"93",C:[{N:"compareToInt",line:"94",op:"eq",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"choose",line:"95",C:[{N:"castable",line:"96",flags:"a",as:"1ASNTNC",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]},{N:"convert",line:"96",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|prefix",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|prefix", -C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]}]}]}]},{N:"true"},{N:"convert",line:"97",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|prefix",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|prefix",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"83",C:[{N:"str",val:"XTDE0820"},{N:"fn", -name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'Invalid prefix "'},{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"true"},{N:"str",val:""}]},{N:"sequence",line:"108",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"att",line:"115",name:"nsuri",flags:"l",C:[{N:"fn", -name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"choose",line:"114",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}ns",slot:"2"},{N:"varRef",name:"Q{}prefix",slot:"6"}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"6"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"a"}]}]}]}]}]}, -{N:"str",val:" "}]}]}]},{N:"applyT",line:"118",mode:"Q{}attribute-sans-prefix",bSlot:"84",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"callT",line:"120",name:"Q{}record-location",bSlot:"85"},{N:"callT",line:"121",name:"Q{}sequence-constructor", -bSlot:"86",C:[{N:"withParam",name:"Q{}others",flags:"c",as:"*NE",C:[{N:"treat",line:"123",as:"NE",diag:"3|0|XTTE0570|others",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"367",rank:"1",minImp:"0",slots:"4",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute",flags:"s",line:"14",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"15",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param", -line:"16",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"17",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}remove-attribute"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"18",name:"Q{}attr",slot:"1"}, -{N:"callT",line:"19",name:"Q{}record-location",bSlot:"87"},{N:"forEach",line:"20",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"21",name:"Q{}role-value-template",bSlot:"88"}]},{N:"elem",line:"24",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"}, -{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", -val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -name:"Q{http://saxon.sf.net/generated-variable}gg418646126",bSlot:"89"}]}]}]}]},{N:"varRef",line:"25",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"265",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule",flags:"s",line:"52",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"53",name:"accRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"5"}]},{N:"applyT",line:"54",mode:"Q{}create.xpath",bSlot:"90",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"applyT",line:"55",mode:"Q{}select.or.sequence",bSlot:"91",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"168", -rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}when",flags:"s",line:"41",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}when"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM", -C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"applyT",line:"43",mode:"Q{}create.xpath",bSlot:"92",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"choose",line:"44",C:[{N:"vc",line:"45",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context", -slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"applyT",line:"46",mode:"Q{}select.or.sequence",flags:"t",bSlot:"93",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}when",flags:"a"}]},{N:"true"},{N:"callT",line:"49",name:"Q{}sequence-constructor",bSlot:"94",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"240",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"s",line:"123",module:"sorting.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"123",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]}]},{N:"sequence", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"124",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"125",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"126",name:"Q{}attr",slot:"0"}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"239",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"s",line:"115",module:"sorting.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"115", -name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"116",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"117",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",line:"118",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"119",mode:"Q{}create.xpath",bSlot:"95",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"120",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"241",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort", -flags:"s",line:"129",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"ufCall",line:"131",name:"Q{MyFunctions}check-sort",tailCall:"false",bSlot:"96",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"a"}]},{N:"elem",line:"132",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"133",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"elem",line:"135",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"136",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", -name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]},{N:"applyT",line:"138",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"166",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose",flags:"s",line:"16",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"17",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"18",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type", -flags:"l",C:[{N:"str",val:"item()*"}]},{N:"varRef",line:"19",name:"Q{}attr",slot:"0"},{N:"callT",line:"20",name:"Q{}record-location",bSlot:"97"},{N:"applyT",line:"21",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]},{N:"choose",line:"22",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"}]},{N:"sequence",line:"23",C:[{N:"elem",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}, -{N:"elem",line:"24",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"221",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",as:"*NE",line:"264",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"264",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"265",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]}, -{N:"let",line:"266","var":"Q{}attrs",as:"*NA",slot:"1",C:[{N:"sequence",line:"267",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"choose",line:"268",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"269",name:"flags",C:[{N:"str",val:"d"}]}]},{N:"treat",line:"271",as:"NA",diag:"3|0|XTTE0570|attrs",C:[{N:"applyT",mode:"Q{}attribute-sans-prefix", -bSlot:"98",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}]}]},{N:"treat",line:"274",as:"NE",diag:'7|0|XTTE0505|match="xsl:text[normalize-space()]" mode="sef"',C:[{N:"applyT",flags:"ct",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NT"}, -{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"275",name:"Q{}attrs",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"220",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",as:"1NE",line:"253",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"254",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"255",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"99"}]},{N:"choose",line:"256",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"257",name:"flags",flags:"l",C:[{N:"str",val:"d"}]}]},{N:"varRef",line:"259",name:"Q{}attr",slot:"0"},{N:"elem",line:"260",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"244",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"s",line:"17",module:"grouping.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"18",C:[{N:"param",name:"Q{}default-collation", -slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"19",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"callT",line:"20",name:"Q{}check-select",bSlot:"100"},{N:"ufCall",line:"21",name:"Q{MyFunctions}check-sort", -tailCall:"false",bSlot:"101",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]},{N:"let",line:"22","var":"Q{}key",as:"*NA",slot:"2",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-by"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-starting-with"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-ending-with"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-adjacent"}]},{N:"elem",line:"31",name:"forEachGroup",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"algorithm",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"slash",C:[{N:"varRef",name:"Q{}key",slot:"2"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"group-|-with"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"choose",line:"32",C:[{N:"choose",line:"29",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false", -bSlot:"102",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]},{N:"true"},{N:"false"}]},{N:"att",line:"33",name:"flags",flags:"l",C:[{N:"str",val:"c"}]}]},{N:"varRef",line:"35",name:"Q{}attr",slot:"1"},{N:"callT",line:"36",name:"Q{}record-location",bSlot:"103"},{N:"let",line:"37","var":"Q{}source",as:"*NE",slot:"3",C:[{N:"treat",line:"38",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"104",C:[{N:"axis", -role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"sequence",line:"40",C:[{N:"choose",C:[{N:"compareToInt",line:"41",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"45","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?NA",slot:"4",flags:"l",C:[{N:"treat",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role", -C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"105"},{N:"str",val:"sort"}]}]}]},{N:"sequence",line:"42",C:[{N:"varRef",name:"Q{}source",slot:"3"},{N:"forEach",line:"43",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"44",name:"Q{}make-sort-key",bSlot:"106",C:[{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"varRef",line:"45",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"4"}]}]}]}]}]},{N:"fn",line:"49",name:"exists",C:[{N:"axis", -name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"50",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"varRef",line:"51",name:"Q{}source",slot:"3"},{N:"forEach",line:"52",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"53",name:"Q{}make-sort-key",bSlot:"107"}]}]}]},{N:"true"},{N:"varRef",line:"58",name:"Q{}source", -slot:"3"}]},{N:"applyT",line:"61",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}key",slot:"2"}]},{N:"callT",line:"62",name:"Q{}sequence-constructor",bSlot:"108",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"63",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"109"},{N:"str",val:"content"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"174",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty", -flags:"s",line:"153",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"154",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"elem",line:"155",name:"onNonEmpty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"156",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"157",mode:"Q{}select.or.sequence",bSlot:"110",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"371",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"s", -line:"81",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"82",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"83",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"84",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-style"}]}, -{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"85",name:"Q{}attr",slot:"1"},{N:"callT",line:"86",name:"Q{}record-location",bSlot:"111"},{N:"forEach",line:"87",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"88",name:"Q{}role-value-template",bSlot:"112"}]},{N:"elem",line:"91",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", -val:"1AS"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -name:"Q{http://saxon.sf.net/generated-variable}gg2078175306",bSlot:"113"}]}]}]}]}]}]},{N:"elem",line:"93",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI", -to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"a"},{N:"treat",module:"lib.xsl", -line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", -C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg19873741",bSlot:"114"}]}]}]}]},{N:"varRef", -line:"94",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"268",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"s",line:"14",module:"key.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"15",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"16",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation", -C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"17",name:"Q{}xpath-default-namespace",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"18",name:"Q{}options",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check", -card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"3"}]}]}]},{N:"let",line:"19","var":"Q{}composite",as:"1AB",slot:"4",C:[{N:"treat",as:"AB",diag:"3|0|XTTE0570|composite",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|composite",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|composite",C:[{N:"data",diag:"3|0|XTTE0570|composite",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]}]},{N:"elem",line:"21",name:"key",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"115",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"a"}]}]},{N:"att",name:"binds",flags:"l",C:[{N:"str", -val:""}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"u"},{N:"fn",name:"string",C:[{N:"filter",flags:"ip",C:[{N:"str",val:"b"},{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"backward-compatibility"}]}]}]},{N:"fn",name:"string",C:[{N:"filter",flags:"ib",C:[{N:"str",val:"c"},{N:"varRef",name:"Q{}composite",slot:"4"}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", -diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let","var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1", -C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58", -name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"116"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]}, -{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"choose",line:"22",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"3"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"23",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"forEach", -line:"25",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"},{N:"varRef",name:"Q{}default-collation",slot:"1"}]}]},{N:"att",line:"26",name:"collation",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"callT",line:"28",name:"Q{}record-location",bSlot:"117"},{N:"elem",line:"29",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"match"}]}, -{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]}]},{N:"varRef",line:"30",name:"Q{}xpath-default-namespace",slot:"2"}]}]},{N:"elem",line:"32",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"use"}]},{N:"choose",line:"33",C:[{N:"fn",line:"34",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"elem",line:"35", -name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"36",mode:"Q{}create.xpath",bSlot:"118",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"true"},{N:"applyT",line:"40",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"238",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort",flags:"s",line:"111",module:"sorting.xsl", -C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"}]},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"112",name:"Q{}make-sort-key",bSlot:"119",flags:"t"}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"237",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort",flags:"s",line:"108",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"109",name:"Q{}make-sort-key",bSlot:"120",flags:"t"}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"161",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"s",line:"144",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"145", -C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"ufCall",line:"146",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"121",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"a"}]},{N:"ufCall",line:"146",name:"Q{MyFunctions}check-tail-position",tailCall:"false",bSlot:"122",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration", -flags:"a"}]},{N:"let",line:"147","var":"Q{}iteration-params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"1",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"let",line:"149","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"*AZ",slot:"2",flags:"l",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}iteration-params",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",line:"148",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"choose",line:"149",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"attVal",name:"Q{}name"}]}]}, -{N:"ufCall",line:"152",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"123",C:[{N:"str",val:"XTSE3130"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:next-iteration parameter '"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"' is not a parameter of the enclosing xsl:iterate"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]}]}]},{N:"elem",line:"155",name:"nextIteration",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -line:"156",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"157",name:"Q{}record-location",bSlot:"124"},{N:"applyT",line:"158",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"381",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",flags:"s",as:"1NE",line:"1599",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}, -{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1602",name:"glob",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"use",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"str",val:"absent"}]}, -{N:"str",val:"pro"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"str",val:"required"}]},{N:"str",val:"req"},{N:"true"},{N:"str",val:"opt"}]}]},{N:"att",name:"code",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",line:"1603",name:"cxt",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, -{N:"str",val:"1"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"383",rank:"2",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1616",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1616",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1617",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"1619","var":"Q{}has-uniform-static-context",as:"1AB",slot:"1",C:[{N:"ufCall",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"125",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}, -{N:"elem",line:"1620",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"1"}]}]},{N:"elem",line:"1622",name:"globalParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"126"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf", -C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose",line:"1623",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1624",name:"baseUri",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"choose",line:"1626",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]},{N:"str",val:"true"}]},{N:"att",line:"1627",name:"flags",flags:"l",C:[{N:"str",val:"r"}]}]},{N:"choose",line:"1629",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}implicit-mandatory"}]},{N:"str",val:"true"}]},{N:"att",line:"1630",name:"flags",flags:"l",C:[{N:"str",val:"i"}]}]},{N:"att",line:"1632",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"axis",line:"1633",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"1634",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -"var":"Q{}context",as:"1NE",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, -{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"axis",name:"namespace", -nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"127"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, -{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1635",mode:"Q{}param.type",bSlot:"128",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"applyT",line:"1637",mode:"Q{}select.or.sequence",bSlot:"129",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"varRef",line:"1639",name:"Q{}has-uniform-static-context",slot:"1"}]}]}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"195",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"155",module:"callable-components.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"157",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]},{N:"str",val:"false"}]},{N:"ufCall",line:"162",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"130",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"@required can only be yes|true|1 on parameter "},{N:"data", -diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" of function "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:"()"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"elem",line:"165",name:"arg",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att", -name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"172","var":"Q{}alphacode",slot:"0",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"131",C:[{N:"treat", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"callable-components.xsl",line:"172",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type",C:[{N:"data",diag:"0|0||f:parse-sequence-type",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]}]}]},{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"callable-components.xsl",line:"172",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"str",val:""}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"132"}]},{N:"sequence",line:"173",C:[{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}alphacode",slot:"0"},{N:"str",val:" "}]}]},{N:"att",line:"174",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}alphacode",slot:"0"},{N:"str",val:" "}]}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"131",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"981",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"981",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"981",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"133",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]}]},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"981",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"fn",name:"not",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"134",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]}]}]}]}]},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"981", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"982",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"135",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"required xsl:param "},{N:"data", -diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"129",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"975",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}, -{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"975",name:"not",C:[{N:"ufCall",name:"Q{MyFunctions}isTopLevel",tailCall:"false",bSlot:"136",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"975",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"976",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"137",C:[{N:"str",val:"XTSE0580"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, -{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"188",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"29",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"30",name:"PARAMDEF",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"32",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}required"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"33",name:"Q{}record-location",bSlot:"138"},{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"139",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"35",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"140"},{N:"str",val:"select"}]}]},{N:"withParam",name:"Q{}has-uniform-static-context", -flags:"t",as:"1AB",C:[{N:"ufCall",line:"36",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"141",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"198",rank:"2",minImp:"0",slots:"11",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"s",as:"1NE",line:"217",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"217",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"218",card:"1",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"', -C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"219",name:"Q{}named-template-signatures",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"220",name:"Q{}static-context", -slot:"2",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"2"}]}]}]},{N:"let",line:"221","var":"Q{}name",as:"1AS",slot:"3",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|name",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|name",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|name",C:[{N:"data",diag:"3|0|XTTE0570|name",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]}]}]},{N:"choose",line:"222",C:[{N:"ifCall",line:"223",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"1"},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"let",line:"224","var":"Q{}signature",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"1"},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"let",line:"227", -"var":"Q{}supplied.params",as:"*AS",slot:"5",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|supplied.params",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|supplied.params",C:[{N:"data",diag:"3|0|XTTE0570|supplied.params",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}tunnel"}]},{N:"str",val:"true"}]}]}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"228","var":"Q{}template",as:"1FM",slot:"6",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|template",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|template",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}signature",slot:"4"},{N:"str",val:"params"}]}]}]},{N:"let",line:"229","var":"Q{}param.names",as:"*A",slot:"7",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}template",slot:"6"}]},{N:"let", -line:"231","var":"Q{}unknown.params",as:"*AS",slot:"8",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}supplied.params",slot:"5"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}param.names",slot:"7"},{N:"dot",type:"1AS"}]}]}]},{N:"let",line:"232","var":"Q{}unsupplied.params",as:"*AS",slot:"9",C:[{N:"filter",flags:"b",C:[{N:"convert",line:"230",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|required.params", -C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|required.params",C:[{N:"filter",flags:"p",C:[{N:"varRef",name:"Q{}param.names",slot:"7"},{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}template",slot:"6"},{N:"dot",type:"1A"}]},{N:"str",val:"required"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}supplied.params",slot:"5"},{N:"dot",type:"1AS"}]}]}]},{N:"choose",line:"233",C:[{N:"and",line:"234", -op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"}]},{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"backward-compatibility"}]}]}]},{N:"let",line:"238","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"10",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"}]}]},{N:"sequence",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"', -C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"142",C:[{N:"str",val:"XTSE0680"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" does not declare parameter"}]},{N:"filter",flags:"ib",C:[{N:"str",val:"s"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"10"}]}]},{N:"str",val:" "}]},{N:"fn", -name:"string-join",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"},{N:"str",val:", "}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"239",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]},{N:"fn",line:"241",name:"exists",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"}]},{N:"sequence",line:"247",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"',C:[{N:"ufCall", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"143",C:[{N:"str",val:"XTSE0690"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"A call to named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" requires "}]},{N:"cast",line:"242",flags:"a",as:"1AZ",C:[{N:"choose",C:[{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"}, -{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"str",val:"a supplied value for "},{N:"true"},{N:"str",val:"supplied values for\n "}]}]}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"},{N:"str",val:", "}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"248",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]},{N:"true"},{N:"elem",line:"251",name:"callT", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"bSlot",flags:"l",C:[{N:"str",val:"??"}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}signature",slot:"4"},{N:"str",val:"typeJ"}]}]}]}]},{N:"str",val:" "}]}]},{N:"axis",line:"252",name:"attribute",nodeTest:"NA nQ{}name"},{N:"varRef",line:"253",name:"Q{}attr",slot:"0"},{N:"callT",line:"254",name:"Q{}record-location", -bSlot:"144"},{N:"applyT",line:"255",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"261",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"',C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"145",C:[{N:"str",val:"XTSE0650"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" does not exist"}]}, -{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"262",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"253",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action",flags:"s",line:"49",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action"},{N:"applyT",role:"action", -ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50",mode:"Q{}select.or.sequence",flags:"t",bSlot:"146",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"51",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"147"},{N:"str",val:"action"}]}]}]}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"192",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate",flags:"s",line:"15",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr", -slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"17",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"18",name:"Q{}default-collation",slot:"2",flags:"t", -as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"26",name:"evaluate",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -"var":"Q{}context",as:"1NE",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, -{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"namespace", -nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"148"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, -{N:"str",val:" "}]}]}]}]},{N:"varRef",line:"27",name:"Q{}attr",slot:"0"},{N:"att",line:"28",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"att",line:"29",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"149",C:[{N:"choose",line:"25",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}, -{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"150",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"151"}]}]}]},{N:"callT",line:"31",name:"Q{}record-location",bSlot:"152"}, -{N:"choose",line:"32",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]},{N:"str",val:"http://www.w3.org/1999/xhtml"}]}]},{N:"att",line:"33",name:"dxns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]}]},{N:"elem",line:"35",name:"cast",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"str",val:"AS"}]},{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"a"}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"xpath"}]},{N:"elem",line:"36",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"37",mode:"Q{}create.xpath",bSlot:"153",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]},{N:"elem",line:"40",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", -C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"sa"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"no"}]}]}]},{N:"choose",line:"41",C:[{N:"fn",line:"42",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}context-item"}]},{N:"applyT",line:"43",mode:"Q{}create.xpath",bSlot:"154",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}context-item"}]},{N:"true"},{N:"elem",line:"46",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role", -flags:"l",C:[{N:"str",val:"cxt"}]}]}]},{N:"choose",line:"49",C:[{N:"fn",line:"50",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}with-params"}]},{N:"applyT",line:"51",mode:"Q{}create.xpath",bSlot:"155",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}with-params"}]},{N:"true"},{N:"elem",line:"54",name:"map",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"wp"}]}]}]},{N:"choose",line:"57",C:[{N:"fn",line:"58",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace-context"}]},{N:"applyT",line:"59",mode:"Q{}create.xpath",bSlot:"156",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}namespace-context"}]}]},{N:"applyT",line:"62",mode:"Q{}create.xpath",bSlot:"157",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://saxon.sf.net/}options"}]},{N:"choose",line:"64",C:[{N:"fn",line:"65",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}base-uri"}]},{N:"let",line:"66","var":"Q{}temp", -as:"1NE",slot:"4",C:[{N:"check",line:"67",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}base-uri"},{N:"callT",line:"68",name:"Q{}value-template",bSlot:"158"}]}]},{N:"forEach",line:"71",C:[{N:"varRef",name:"Q{}temp",slot:"4"},{N:"copy",line:"72",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"73",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"159"},{N:"str",val:"baseUri"}]},{N:"axis",name:"child", -nodeTest:"NE"}]}]}]}]}]},{N:"applyT",line:"78",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"169",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise",flags:"s",line:"55",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"56",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"57",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]},{N:"choose",line:"58",C:[{N:"vc",line:"59",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?", -diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"applyT",line:"60",mode:"Q{}select.or.sequence",flags:"t",bSlot:"160",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise",flags:"a"}]},{N:"true"},{N:"callT",line:"63",name:"Q{}sequence-constructor",bSlot:"161",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"368",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute", -flags:"s",line:"30",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"31",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"32",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"33",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-attribute"}]}, -{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"34",name:"Q{}attr",slot:"1"},{N:"callT",line:"35",name:"Q{}record-location",bSlot:"162"},{N:"forEach",line:"36",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"37",name:"Q{}role-value-template",bSlot:"163"}]},{N:"elem",line:"40",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", -val:"1AS"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -name:"Q{http://saxon.sf.net/generated-variable}gg271588719",bSlot:"164"}]}]}]}]}]}]},{N:"elem",line:"42",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI", -to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute",flags:"a"},{N:"treat",module:"lib.xsl", -line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", -C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1557557661",bSlot:"165"}]}]}]}]},{N:"varRef", -line:"43",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"155",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports",flags:"s",line:"199",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"200",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"201",name:"applyImports",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"166"}]},{N:"varRef",line:"202",name:"Q{}attr",slot:"0"},{N:"callT",line:"203",name:"Q{}record-location",bSlot:"167"},{N:"applyT", -line:"204",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"139",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"1009",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"1009",flags:"",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"data",diag:"1|1||eq",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"1010",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"168",C:[{N:"str",val:"XTSE0670"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:with-param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"190",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", -flags:"s",line:"41",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}named-template-signatures",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"44",name:"withParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"45",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose",line:"46",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]}]}, -{N:"str",val:"true"}]},{N:"att",line:"47",name:"flags",flags:"l",C:[{N:"str",val:"t"}]}]},{N:"choose",line:"49",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}]},{N:"let",line:"50","var":"Q{}param",slot:"1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:'21|0||map:get(...) ? "params"',C:[{N:"check",card:"1",diag:'21|0||map:get(...) ? "params"',C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:"params"}]}]}]},{N:"arrayBlock",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"52",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"1"},{N:"str",val:"type"}]}, -{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"1"},{N:"str",val:"typeJ"}]}]}]}]},{N:"choose",line:"54",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"}]},{N:"slash",line:"57",simple:"2",C:[{N:"let",line:"55","var":"Q{http://saxon.sf.net/generated-variable}current1896874222",as:"1",slot:"2",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"?AZ",slot:"3",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1896874222",slot:"2"},{N:"attVal",name:"Q{}name"}]},{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}, -{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}as,NA nQ{http://ns.saxonica.com/xslt/export}asJ]"}]}]},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"60",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}, -{N:"att",line:"61",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"choose",line:"63",C:[{N:"and",line:"64",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"65",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att", -name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"169"}]},{N:"applyT",line:"66",mode:"Q{}select.or.sequence",bSlot:"170",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]},{N:"true"},{N:"applyT",line:"70",mode:"Q{}select.or.sequence",bSlot:"171",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"218",rank:"2",minImp:"0", -slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction",flags:"s",as:"1NE",line:"224",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"224",name:"matches",C:[{N:"convert",from:"AZ", -to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:"\\{"},{N:"str",val:""}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"225",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr", -C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"226",name:"procInst",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",bSlot:"172"}]},{N:"varRef",line:"227",name:"Q{}attr",slot:"0"},{N:"let",line:"228","var":"Q{}nameAVT",as:"1NE",slot:"1",C:[{N:"check",line:"229",card:"1",diag:"3|0|XTTE0570|nameAVT",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"230", -name:"Q{}value-template",bSlot:"173"}]}]},{N:"sequence",line:"233",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}nameAVT",slot:"1"},{N:"copy",line:"234",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"235",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"174"},{N:"str",val:"name"}]},{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"callT",line:"238",name:"Q{}constructSimpleContent",bSlot:"175"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"217", -rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction",flags:"s",as:"1NE",line:"215",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"216",C:[{N:"param",name:"Q{}attr", -slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"217",name:"procInst",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",bSlot:"176"}]},{N:"varRef",line:"218",name:"Q{}attr",slot:"0"},{N:"elem",line:"219",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att", -name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"callT",line:"220",name:"Q{}constructSimpleContent",bSlot:"177"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"380",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"s",as:"*NA",line:"1595",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}, -{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1596",name:"cxt",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"str",val:"1"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"147",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode",flags:"s",line:"30",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"31",C:[{N:"param",name:"Q{}xsl-version",slot:"0",flags:"t", -C:[{N:"dec",role:"select",val:"3"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"32",name:"Q{}compiler.options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|compiler.options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|compiler.options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"33",name:"Q{}precedence-map",slot:"2",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]", -diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"45",name:"mode",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"onNo",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}on-no-match",bSlot:"178"},{N:"atomSing",diag:"0|1||map:get",C:[{N:"first",C:[{N:"sequence", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}on-no-match"},{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}warning-on-no-match"}]},{N:"str",val:"true"}]},{N:"str",val:"+W"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"or",line:"38",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}on-multiple-match"}]},{N:"str",val:"fail"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}compiler.options",slot:"1"},{N:"str",val:"on-multiple-match"}]}]},{N:"str",val:"error"}]}]},{N:"str",val:"F"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}typed"}]},{N:"str",val:"true"}]},{N:"str",val:"t"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}untyped"}]},{N:"str",val:"true"}]},{N:"str",val:"u"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}warning-on-multiple-match"}]},{N:"str",val:"true"}]}, -{N:"str",val:"W"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"patternSlots",flags:"l",C:[{N:"str",val:"0"}]},{N:"choose",line:"46",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:"#unnamed"}]},{N:"axis",line:"47",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"axis",line:"49",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"},{N:"att",line:"50",name:"prec",flags:"l",C:[{N:"convert", -from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"2"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"applyT",line:"51",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"180",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}try", -flags:"s",line:"222",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}try"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"222",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"223",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"224",name:"try",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}rollback-output"}]}]}, -{N:"str",val:"false"}]},{N:"str",val:"r"},{N:"true"},{N:"str",val:""}]}]},{N:"varRef",line:"225",name:"Q{}attr",slot:"0"},{N:"applyT",line:"226",mode:"Q{}create.xpath",bSlot:"179",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"227",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"181",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}try", -flags:"s",line:"230",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}try"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"231",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"elem",line:"232",name:"try",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}rollback-output"}]}]},{N:"str",val:"false"}]},{N:"str",val:"r"},{N:"true"},{N:"str",val:""}]}]},{N:"varRef",line:"233",name:"Q{}attr",slot:"0"},{N:"elem",line:"234",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"applyT",line:"235",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N d[N u[NT,NC,NE,NP],NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]}]},{N:"applyT",line:"237",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"215",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"s",line:"192", -module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"192",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", -diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:"{"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"193",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]}, -{N:"elem",line:"194",name:"compAtt",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"180"}]},{N:"varRef",line:"195",name:"Q{}attr",slot:"0"},{N:"choose",line:"197",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}, -{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"callT",line:"199",name:"Q{}record-location",bSlot:"181"},{N:"forEach",line:"200",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"callT", -line:"201",name:"Q{}role-value-template",bSlot:"182"}]},{N:"callT",line:"203",name:"Q{}constructSimpleContent",bSlot:"183"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"214",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"s",as:"1NE",line:"133",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"134",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"136","var":"Q{}name",as:"1AS",slot:"1",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}, -{N:"let",line:"137","var":"Q{}namespaces",slot:"2",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"creating-new-nodes.xsl",line:"135",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"a"},{N:"first",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"3",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let", -"var":"Q{}uri",slot:"4",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"3"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"184"},{N:"varRef",name:"Q{}prefix",slot:"3"}]},{N:"true"}, -{N:"varRef",name:"Q{}uri",slot:"4"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"elem",line:"138",name:"att",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"185"}]},{N:"choose",line:"139",C:[{N:"fn",name:"matches", -C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]},{N:"let",line:"140","var":"Q{}prefix",as:"?AS",slot:"5",C:[{N:"first",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]}]},{N:"let",line:"148","var":"Q{}uri",slot:"6",C:[{N:"let","var":"Q{}n",slot:"7",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"check",card:"1",diag:"21|0||$namespaces",C:[{N:"varRef",name:"Q{}namespaces",slot:"2"}]}, -{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}prefix",slot:"5"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}n",slot:"7"}]},{N:"str",val:"~"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"186"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function", -C:[{N:"varRef",name:"Q{}prefix",slot:"5"}]}]},{N:"true"},{N:"varRef",name:"Q{}n",slot:"7"}]}]},{N:"choose",line:"149",C:[{N:"fn",line:"150",name:"exists",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"sequence",line:"151",C:[{N:"att",name:"nsuri",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]}]}]},{N:"str",val:" "}]}]},{N:"namespace",line:"152",flags:"l",C:[{N:"fn",role:"name",name:"string",C:[{N:"varRef", -name:"Q{}prefix",slot:"5"}]},{N:"convert",role:"select",from:"AU",to:"AS",C:[{N:"cast",flags:"ae",as:"?AU",C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]}]}]}]}]},{N:"true"},{N:"ufCall",line:"156",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"187",C:[{N:"str",val:"ERRRRR"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"No namespace binding for prefix "},{N:"varRef",name:"Q{}prefix",slot:"5"}]},{N:"str", -val:" in attribute "}]},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"a"}]}]}]}]}]},{N:"applyT",line:"162",mode:"Q{}attribute-sans-prefix",bSlot:"188",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"choose",line:"161",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}, -{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"163",name:"Q{}attr",slot:"0"},{N:"att",line:"169",name:"name",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]}]},{N:"str",val:""}]},{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:"^.+:"},{N:"str",val:""},{N:"str",val:""}]}, -{N:"true"},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"axis",line:"170",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"callT",line:"172",name:"Q{}record-location",bSlot:"189"},{N:"callT",line:"173",name:"Q{}constructSimpleContent",bSlot:"190"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"271",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry",flags:"s",line:"27",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"28",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"29",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name", -flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_MAP",bSlot:"191"}]},{N:"varRef",line:"30",name:"Q{}attr",slot:"0"},{N:"elem",line:"31",name:"atomSing",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"diag",flags:"l",C:[{N:"str",val:"0|0||map:entry"}]},{N:"applyT",line:"32",mode:"Q{}create.xpath",bSlot:"192",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}key"}]}]}]}, -{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"193",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"210",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}document",flags:"s",line:"17",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}document"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"18",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"19",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type",flags:"l",C:[{N:"str",val:"document-node()"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"194"}]},{N:"varRef",line:"20",name:"Q{}attr",slot:"0"},{N:"callT", -line:"21",name:"Q{}record-location",bSlot:"195"},{N:"choose",line:"22",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"23",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"callT",line:"25",name:"Q{}sequence-constructor",bSlot:"196"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"261",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring",flags:"s",line:"74", -module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"75",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"nonMatching"}]}, -{N:"choose",line:"76",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"77",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"applyT",line:"79",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"264",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator",flags:"s",line:"34",module:"streaming.xsl",C:[{N:"p.nodeTest", -role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options", -C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"36",name:"accumulator",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"5"}]},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"38",C:[{N:"fn", -name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"39",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"applyT",line:"41",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA nQ{http://ns.saxonica.com/xslt/export}*,NA u[NA nQ{http://ns.saxonica.com/xslt/export}asJ,NA nQ{http://ns.saxonica.com/xslt/export}baseUri]]"}]}, -{N:"applyT",line:"42",mode:"Q{}create.xpath",bSlot:"197",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}initial-value"}]},{N:"elem",line:"43",name:"pre",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"applyT",line:"44",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"},{N:"or",op:"or",C:[{N:"fn", -name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}phase"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}phase"}]},{N:"str",val:"start"}]}]}]}]}]}]},{N:"elem",line:"46",name:"post",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"applyT",line:"47",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"}, -{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}phase"}]},{N:"str",val:"end"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"184",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"14",module:"variables-and-parameters.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"14",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"15",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:" has no following sibling so it will have no effect"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"nextMatch",line:"16",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"0.0", -seq:"186",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"18",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"19",name:"VARDEF",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",line:"20",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"21",name:"Q{}record-location",bSlot:"198"},{N:"applyT",line:"22",flags:"c",bSlot:"-1", -C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"applyT",line:"23",mode:"Q{}select.or.sequence",bSlot:"199",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"24",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"25",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"200", -C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"250",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"22",module:"merging.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"22",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}sort-before-merge"},{N:"str",val:"true"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"23",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"24", -name:"mergeSrc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"25",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"applyT",line:"26",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]},{N:"elem",line:"27",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"selectRows"}]},{N:"applyT",line:"28", -mode:"Q{}create.xpath",bSlot:"201",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"29",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key"}]}]}]},{N:"applyT",line:"31",mode:"Q{}create.xpath",bSlot:"202",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-source"}]}]},{N:"applyT",line:"32",flags:"c", -bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"119",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"923",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"923",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"924",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"203",C:[{N:"str",val:"XTSE3190"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:merge-source siblings cannot have the same name:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, -{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"251",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"36",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"37",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"38",name:"mergeSrc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"39",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"applyT",line:"40",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]}, -{N:"applyT",line:"41",mode:"Q{}create.xpath",bSlot:"204",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"42",mode:"Q{}create.xpath",bSlot:"205",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-source"}]}]},{N:"applyT",line:"43",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"150", -rank:"7",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"87",module:"rules.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"87",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"sequence", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"88",C:[{N:"param",name:"Q{}location",slot:"0",flags:"t",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"89",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"90",name:"Q{}default-collation",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"91",name:"Q{}precedence-map",slot:"3",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]", -diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"92",name:"Q{}minimum-import-precedence-map",slot:"4",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]",diag:"8|0|XTTE0590|minimum-import-precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|minimum-import-precedence-map",C:[{N:"supplied",slot:"4"}]}]}]},{N:"param",line:"93",name:"Q{}options",slot:"5",flags:"t",as:"1FM", -C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"5"}]}]}]},{N:"elem",line:"98",name:"templateRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"prec",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"3"},{N:"fn", -name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"att",name:"seq",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"data",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"true"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"6",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template", -flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context", -slot:"6"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", -C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"206"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"minImp",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}minimum-import-precedence-map", -slot:"4"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",line:"94",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"absent"}]},{N:"str",val:"s"}]}]},{N:"att", -name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"choose",line:"99",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"5"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"100",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"callT",line:"102",name:"Q{}record-location",bSlot:"207"},{N:"axis",line:"103",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, -{N:"varRef",line:"103",name:"Q{}xpath-default-namespace",slot:"1"},{N:"varRef",line:"103",name:"Q{}default-collation",slot:"2"},{N:"applyT",line:"104",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{http://www.w3.org/XML/1998/namespace}*]]"}]},{N:"applyT",line:"105",mode:"Q{}sef",bSlot:"208",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]}, -{N:"applyT",line:"107",mode:"Q{}create.xpath",bSlot:"209",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"nextMatch",line:"108",flags:"i"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"379",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"1587",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1588",name:"Q{}sequence-constructor",bSlot:"210",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"1589",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"211"},{N:"str",val:"action"}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1591",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"212",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template", -flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"158",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each",flags:"s",line:"35",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"36", -C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"37",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"callT",line:"38",name:"Q{}check-select",bSlot:"213"},{N:"ufCall",line:"39",name:"Q{MyFunctions}check-sort", -tailCall:"false",bSlot:"214",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each",flags:"a"}]},{N:"let",line:"40","var":"Q{}source",as:"*NE",slot:"2",C:[{N:"treat",line:"41",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"215",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"elem",line:"43",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"44",C:[{N:"callT",name:"Q{}record-location", -bSlot:"216"},{N:"applyT",line:"45",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}]},{N:"varRef",line:"46",name:"Q{}attr",slot:"0"},{N:"choose",line:"47",C:[{N:"fn",line:"48",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"49",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"50",C:[{N:"varRef",name:"Q{}source",slot:"2"}, -{N:"forEach",line:"51",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"52",name:"Q{}make-sort-key",bSlot:"217"}]}]}]},{N:"true"},{N:"varRef",line:"57",name:"Q{}source",slot:"2"}]},{N:"choose",line:"60",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt", -C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]}]},{N:"callT",line:"61",name:"Q{MyFunctions}AVT",bSlot:"218",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}separator",C:[{N:"axis",line:"62",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"63",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef", -name:"Q{}roles",bSlot:"219"},{N:"str",val:"separator"}]}]}]}]}]}]},{N:"callT",line:"66",name:"Q{}sequence-constructor",bSlot:"220"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"173",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"s",line:"145",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"146",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"147",name:"onEmpty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"148",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"149",mode:"Q{}select.or.sequence",bSlot:"221",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"a"}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"370",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"s",line:"64",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"65",C:[{N:"param", -name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"66",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"67",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-property"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"68",name:"Q{}attr",slot:"1"},{N:"callT",line:"69",name:"Q{}record-location",bSlot:"222"},{N:"forEach",line:"70",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"71",name:"Q{}role-value-template",bSlot:"223"}]},{N:"elem",line:"73",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"75",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"ixsl:window()"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data", -diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash", -C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg411425835",bSlot:"224"}]}]}]}]},{N:"varRef",line:"76",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"160",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate", -flags:"s",line:"109",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"110",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"callT",line:"111",name:"Q{}check-select",bSlot:"225"},{N:"elem",line:"112",name:"iterate",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"113",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"114",name:"Q{}record-location",bSlot:"226"},{N:"applyT",line:"115",mode:"Q{}create.xpath",bSlot:"227",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"elem",line:"116",name:"params",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", -C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"params"}]},{N:"callT",line:"117",name:"Q{}parameters",bSlot:"228"}]}]},{N:"choose",line:"119",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}]},{N:"ufCall",line:"121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"229",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:iterate may only have one xsl:on-completion child"},{N:"check", -card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"int",val:"2"}]}]}]}]},{N:"choose",line:"123",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]}, -{N:"ufCall",line:"126",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"230",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:on-completion may only be proceeded by xsl:param* as children of xsl:iterate"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}]}]}]},{N:"applyT",line:"128",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}, -{N:"choose",line:"129",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]},{N:"elem",line:"130",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"on-completion"}]}]}]},{N:"callT",line:"132",name:"Q{}sequence-constructor",bSlot:"231",C:[{N:"withParam",name:"Q{}include-params",flags:"c",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat", -line:"134",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"232"},{N:"str",val:"action"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"146",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence",flags:"s",line:"77",module:"select-sequence.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"78",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"applyT",line:"79",mode:"Q{}select.or.sequence",flags:"t",bSlot:"233",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}sequence",flags:"a"},{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"80",name:"Q{}attr",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"226",rank:"1", -minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"s",as:"1NE",line:"435",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"436",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", -role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"438",name:"copyOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"}, -{N:"str",val:"c"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-accumulators"}]}]},{N:"str",val:"true"}]},{N:"str",val:"m"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context", -as:"1NE",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check", -line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, -{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"234"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", -val:" "}]}]}]}]},{N:"varRef",line:"439",name:"Q{}attr",slot:"0"},{N:"callT",line:"440",name:"Q{}record-location",bSlot:"235"},{N:"applyT",line:"441",mode:"Q{}select.or.sequence",bSlot:"236",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"222",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}value-of",flags:"s",as:"1NE",line:"280",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest", -role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}value-of"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"281",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"283",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"l"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"237"}]},{N:"choose",line:"284",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"285",name:"flags",flags:"l",C:[{N:"str",val:"d"}]}]},{N:"varRef",line:"287",name:"Q{}attr", -slot:"0"},{N:"callT",line:"288",name:"Q{}record-location",bSlot:"238"},{N:"applyT",line:"289",mode:"Q{}attribute-sans-prefix",bSlot:"239",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}, -{N:"callT",line:"290",name:"Q{}constructSimpleContent",bSlot:"240"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"194",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}function",flags:"s",line:"98",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"99",C:[{N:"param",name:"Q{}has-uniform-static-context",slot:"0",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"100",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select", -size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"101","var":"Q{}params",as:"*NE",slot:"2",C:[{N:"treat",line:"102",as:"NE",diag:"3|0|XTTE0570|params",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"elem",line:"105",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -C:[{N:"att",name:"vis",flags:"l",C:[{N:"fn",name:"upper-case",C:[{N:"check",card:"?",diag:"0|0||fn:upper-case",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:upper-case",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:upper-case",C:[{N:"data",diag:"0|0||fn:upper-case",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"},{N:"str",val:"private"}]}]}]}]}]}]}]}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB", -to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"0"}]}]},{N:"elem",line:"107",name:"function",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"241",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}function",flags:"a"}]}]},{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"str",val:"item()*"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}params", -slot:"2"}]},{N:"int",val:"200"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}function", -flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context", -slot:"3"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", -C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"242"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose",line:"108",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"109",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"let",line:"112","var":"Q{}flags", -as:"1NT",slot:"4",C:[{N:"valueOf",line:"113",C:[{N:"fn",line:"114",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"choose",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"243",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}cache"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"m"}]}]},{N:"choose",line:"115",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"244",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://saxon.sf.net/}updating"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"u"}]}]},{N:"choose",line:"116",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"245",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://saxonica.com/ns/interactiveXSLT}updating"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"u"}]}]}]}]}]}]},{N:"str",val:""}]}]},{N:"sequence",line:"119",C:[{N:"choose",C:[{N:"data",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}flags",slot:"4"}]}, -{N:"att",line:"120",name:"flags",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}flags",slot:"4"}]}]}]}]},{N:"let",line:"127","var":"Q{}returnType",as:"1FM",slot:"5",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"246",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"247"}]},{N:"let",line:"131","var":"Q{}signature",as:"1FM k[AS] v[1]",slot:"6",C:[{N:"ifCall",line:"133",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"literal",count:"2",C:[{N:"map",size:"1",C:[{N:"str",val:"o"}, -{N:"str",val:"1"}]},{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"F"}]}]},{N:"ifCall",line:"135",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"r"},{N:"varRef",name:"Q{}returnType",slot:"5"}]},{N:"ifCall",line:"136",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"a"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}_from-sequence",type:"1FA",C:[{N:"for","var":"Q{}p",as:"NE",slot:"7",C:[{N:"varRef", -role:"in",name:"Q{}params",slot:"2"},{N:"ufCall",role:"return",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"248",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}p",slot:"7"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str", -val:"XTDE3365"}]}]},{N:"sequence",line:"141",C:[{N:"att",name:"as",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"249",C:[{N:"varRef",name:"Q{}returnType",slot:"5"}]}]},{N:"att",line:"142",name:"sig",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"250",C:[{N:"varRef",name:"Q{}signature",slot:"6"}]}]},{N:"att",line:"143",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"251",C:[{N:"varRef",name:"Q{}signature", -slot:"6"}]}]},{N:"callT",line:"145",name:"Q{}record-location",bSlot:"252"},{N:"varRef",line:"146",name:"Q{}params",slot:"2"},{N:"callT",line:"147",name:"Q{}sequence-constructor",bSlot:"253",C:[{N:"withParam",name:"Q{}include-params",flags:"c",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"149",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"254"},{N:"str",val:"body"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.0",seq:"162",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"s",line:"161",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}break"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"162",C:[{N:"param",name:"Q{}attr",slot:"0", -as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"ufCall",line:"163",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"255",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"ufCall",line:"163",name:"Q{MyFunctions}check-tail-position",tailCall:"false",bSlot:"256",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"elem",line:"164",name:"sequence", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"165",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"166",name:"Q{}record-location",bSlot:"257"},{N:"applyT",line:"167",mode:"Q{}select.or.sequence",bSlot:"258",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"elem",line:"168",name:"break",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"249", -rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge",flags:"s",line:"15",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", -role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"17",name:"merge",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"259"}]},{N:"varRef",line:"18",name:"Q{}attr",slot:"0"},{N:"applyT",line:"19",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"233", -rank:"1",minImp:"0",slots:"14",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"s",line:"15",module:"numbering.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}number"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"17",name:"Q{}static-context",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"18",name:"Q{}xpath-default-namespace",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", -as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"19",name:"Q{}ns",slot:"3",flags:"t",as:"?AS",C:[{N:"let",role:"select",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"4",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -as:"NE",diag:"0|0||f:encode-namespaces",C:[{N:"check",card:"1",diag:"0|0||f:encode-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1", -C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc", -op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"260"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|ns",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|ns", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"data",diag:"8|0|XTTE0590|ns",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"elem",line:"21",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"l"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"261"}]},{N:"varRef",line:"22",name:"Q{}attr",slot:"0"},{N:"elem",line:"23",name:"numSeqFmt",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", -C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"backward-compatibility"}]},{N:"int",val:"1"}]}]}]},{N:"choose",line:"24",C:[{N:"fn",line:"26",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]},{N:"sequence",line:"27",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA u[NA u[NA nQ{}select,NA nQ{}level],NA nQ{}count],NA nQ{}from]"}]}, -{N:"ufCall",line:"30",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"262",C:[{N:"str",val:"XTSE0975"},{N:"str",val:"xsl:number with @value must not have @select, @level, @count, or @from attributes"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"}]}]},{N:"elem",line:"32",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"value"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped", -to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"6",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"5"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln", -slot:"6"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"5"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"6"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"33",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]},{N:"true"},{N:"let",line:"37","var":"Q{}level",as:"1",slot:"7",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}level"},{N:"str",val:"single"}]}]},{N:"sequence",line:"38", -C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}level",slot:"7"}]},{N:"literal",count:"3",C:[{N:"str",val:"any"},{N:"str",val:"multiple"},{N:"str",val:"single"}]}]}]},{N:"ufCall",line:"41",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"263",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:number/@level must have a value single|multiple|any, given value:'"}, -{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}level",slot:"7"}]}]},{N:"str",val:"'"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}level"}]}]}]},{N:"elem",line:"43",name:"nodeNum",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"value"}]},{N:"att",name:"level",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"gc", -op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}level",slot:"7"}]},{N:"str",val:"multiple"}]},{N:"str",val:"multi"},{N:"true"},{N:"data",C:[{N:"varRef",name:"Q{}level",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"choose",line:"44",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}select,NA nQ{}value]"}]},{N:"att",line:"45",name:"needsNode",flags:"l",C:[{N:"str",val:"true"}]}]},{N:"elem", -line:"47",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert", -from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"8",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"9",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"8"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"9"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln", -slot:"9"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"48",name:"Q{}xpath-default-namespace",slot:"2"}]}]},{N:"choose",line:"50",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}count"}]},{N:"elem",line:"51",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"count"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}count"}]}]}]}, -{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"10",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1", -C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"10"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"11",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"10"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"11"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node", -slot:"10"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"11"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"52",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]},{N:"choose",line:"55",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}from"}]},{N:"elem",line:"56",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"from"}]},{N:"att",name:"xpath", -flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}from"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"12",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1", -C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"12"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"13",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"12"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef", -name:"Q{}ln",slot:"13"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"12"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"13"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"57",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]}]}]}]}]}]},{N:"callT",line:"63",name:"Q{}numberFormat",bSlot:"264"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"258",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string", -flags:"s",line:"16",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"17",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA", -diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"18",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"19",name:"Q{}attr",slot:"2",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"23",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"}]}]},{N:"ufCall",line:"25",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"265",C:[{N:"str",val:"XTSE1130"}, -{N:"str",val:"xsl:analyze-string must contain either xsl:matching-substring or xsl:non-matching-substring"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string",flags:"a"}]}]},{N:"choose",line:"27",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"},{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"}]}]},{N:"ufCall",line:"28", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"266",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:non-matching-substring must follow xsl:matching-substring"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"}]}]}]},{N:"choose",line:"30",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"},{N:"axis",name:"following-sibling", -nodeTest:"NE"}]}]},{N:"ufCall",line:"31",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"267",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:fallback must be the last child of xsl:analyze-string"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]}]},{N:"elem",line:"33",name:"analyzeString",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"34",C:[{N:"varRef",name:"Q{}attr", -slot:"2"},{N:"applyT",line:"35",mode:"Q{}create.xpath",bSlot:"268",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"},{N:"withParam",name:"Q{}checkType",as:"1AS",C:[{N:"str",val:"?AS"}]},{N:"withParam",name:"Q{}diagnostic",as:"1NA",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1307630072",bSlot:"269"}]}]}]},{N:"callT",line:"39",name:"Q{MyFunctions}AVT",bSlot:"270",C:[{N:"withParam",name:"Q{}avt-string",flags:"c", -as:"?NA nQ{}regex",C:[{N:"axis",line:"40",name:"attribute",nodeTest:"NA nQ{}regex"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"42",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"271"},{N:"str",val:"regex"}]}]}]}]}]},{N:"callT",line:"44",name:"Q{MyFunctions}AVT",bSlot:"272",C:[{N:"withParam",name:"Q{}avt-string", -flags:"c",as:"?NA nQ{}flags",C:[{N:"axis",line:"45",name:"attribute",nodeTest:"NA nQ{}flags"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"47",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"273"},{N:"str",val:"flags"}]}]}]}]}]},{N:"applyT",line:"49",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"172",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}where-populated",flags:"s",line:"137",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}where-populated"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"138", -C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"139",name:"condCont",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"140",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"141",name:"Q{}sequence-constructor",bSlot:"274"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"216",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}comment", -flags:"s",as:"1NE",line:"207",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}comment"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"208",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr", -C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"209",name:"comment",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_COMMENT",bSlot:"275"}]},{N:"varRef",line:"210",name:"Q{}attr",slot:"0"},{N:"callT",line:"211",name:"Q{}constructSimpleContent",bSlot:"276"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"393",rank:"3",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"1752",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.venn", -role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}minImp"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"247",rank:"3",minImp:"0",slots:"1",matches:"NA",flags:"s", -line:"108",module:"grouping.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-starting-with"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-ending-with"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"109",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"110",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"match"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"varRef",line:"111",name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"elem",line:"113",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"collation"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"202",rank:"3",minImp:"0",slots:"2", -matches:"NA",flags:"s",line:"305",module:"callable-components.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.nodeTest",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets"},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-attribute-sets"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"306",C:[{N:"param",name:"Q{}defined-attribute-sets",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"data",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"let",line:"307","var":"Q{}this",as:"1",slot:"1",C:[{N:"dot",type:"1NA",flags:"a"},{N:"forEach",line:"308",C:[{N:"fn",name:"tokenize", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"sequence",line:"309",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}defined-attribute-sets",slot:"0"},{N:"dot",type:"1AS"}]}]},{N:"ufCall",line:"310",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"277",C:[{N:"str",val:"XTSE0710"},{N:"fn", -name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'Undefined attribute set "'},{N:"dot",type:"1AS"}]},{N:"str",val:'"'}]},{N:"varRef",name:"Q{}this",slot:"1"}]}]},{N:"elem",line:"312",name:"useAS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"dot",type:"1AS"}]},{N:"att",name:"bSlot",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULIPLE_ATTRIBUTE",bSlot:"278"}]}]}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.5",seq:"390",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}*",flags:"s",line:"1736",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}*"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1737",type:"1NA nQ{}*",flags:"a"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"230",rank:"0",minImp:"0",slots:"12",matches:"NA",flags:"s",as:"1NE",line:"580",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"581",card:"1",diag:'7|0|XTTE0505|match="@*" mode="sef"',C:[{N:"sequence", -C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"582",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"583",name:"Q{}static-context", -slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"param",line:"584",name:"Q{}namespace-aliases",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|namespace-aliases",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|namespace-aliases",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"585",name:"Q{}default-collation",slot:"4",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", -as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"4"}]}]}]},{N:"let",line:"593","var":"Q{}namespace-aliases",as:"?FM",slot:"5",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"namespace-aliases"}]}]}]},{N:"let",line:"599","var":"Q{}attribute-name",as:"1AQ",slot:"6",C:[{N:"choose", -C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"fn",name:"prefix-from-QName",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"5"}]}]},{N:"let","var":"Q{}original-name",as:"1AQ",slot:"7",C:[{N:"check",card:"1",diag:"0|0||f:map-aliased-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"let","var":"Q{}namespace-aliases",as:"1FM",slot:"8",C:[{N:"check",card:"1",diag:"0|1||f:map-aliased-name", -C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"5"}]},{N:"let",line:"544","var":"Q{}original-uri",as:"1AU",slot:"9",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"7"}]},{N:"let",line:"547","var":"Q{}new-uri",as:"1AS",slot:"10",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef", -name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]}]},{N:"convert",line:"548",from:"AU",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri", -C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]},{N:"int",val:"2"}]}]}]}]}]}]},{N:"choose",line:"556",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"9"},{N:"varRef",name:"Q{}new-uri",slot:"10"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"7"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"11", -C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]},{N:"fn",line:"567",name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"10"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"11"}]},{N:"str", -val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"varRef",name:"Q{}prefix",slot:"11"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"7"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"3|0|XTTE0570|attribute-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"600",name:"att",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d", -C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}attribute-name",slot:"6"}]}]},{N:"att",name:"nsuri",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}attribute-name",slot:"6"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"279"}]},{N:"varRef",line:"601",name:"Q{}attr",slot:"0"},{N:"callT",line:"602",name:"Q{}value-template",bSlot:"280"}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"4",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"246",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}group-adjacent",flags:"s",line:"82",module:"grouping.xsl", -C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-adjacent"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"83",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty", -role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"84",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"85",name:"data", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"choose",line:"86",C:[{N:"ufCall",line:"87",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"281",C:[{N:"check",card:"?",diag:"0|0||f:boolean-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]},{N:"false"}]},{N:"elem",line:"88",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"88",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]}]},{N:"varRef",line:"89", -name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"true"},{N:"elem",line:"93",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1081126121",bSlot:"282"}]},{N:"elem",line:"95",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"95",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]}]},{N:"varRef",line:"96",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]}]},{N:"callT", -line:"102",name:"Q{MyFunctions}AVT",bSlot:"283",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}collation",C:[{N:"check",line:"103",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"?AS",C:[{N:"check",line:"104",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-collation",slot:"1"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]}]}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"105",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"284"},{N:"str",val:"collation"}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"1.0",seq:"392",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS",flags:"s",line:"1747",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1748",name:"defaultElementNS",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.15",seq:"152",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{}mode",flags:"s",line:"175",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"175",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]},{N:"str",val:"#current"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"176",C:[{N:"fn",line:"177",name:"exists",C:[{N:"sequence", -C:[{N:"fn",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]}]},{N:"fn",name:"reverse",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]},{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"normalize.xsl",line:"777",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"rules.xsl",line:"177",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}]}]}, -{N:"att",line:"178",name:"mode",C:[{N:"str",val:"#unnamed"}]},{N:"true"},{N:"att",line:"181",name:"flags",C:[{N:"str",val:"c"}]}]}]},{N:"templateRule",prec:"0",prio:"1.1",seq:"153",rank:"4",minImp:"0",slots:"0",matches:"NA nQ{}mode",flags:"s",line:"185",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"copyOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"186",flags:"c",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text", -flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"231",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}exclude",flags:"s",line:"606",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}exclude"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"347",part:"6",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"387",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}as",flags:"s",line:"1710",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", -C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1711",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]},{N:"fn",role:"select",name:"replace",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:replace", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"391",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"s",line:"1741",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1742",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"a"}]}]}]},{N:"att",line:"1743",name:"ns",C:[{N:"convert",from:"AZ",to:"AS", -C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"2",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"213",rank:"3",minImp:"0",slots:"0", -matches:"NA nQ{}namespace",flags:"s",line:"128",module:"creating-new-nodes.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}namespace"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"129",name:"nsuri",C:[{N:"convert",from:"AZ", -to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}namespace",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"7",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}version",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"245",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}group-by",flags:"s", -line:"68",module:"grouping.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-by"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t", -as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem", -line:"73",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"data(("},{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-by",flags:"a"}]}]},{N:"str",val:"))"}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1", -C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"73",type:"1NA nQ{}group-by",flags:"a"}]}]}]}]},{N:"varRef",line:"74",name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"callT",line:"76",name:"Q{MyFunctions}AVT",bSlot:"285",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}collation",C:[{N:"check",line:"77",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"?AS",C:[{N:"check",line:"78",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-collation",slot:"1"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]}]}]}, -{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"79",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"286"},{N:"str",val:"collation"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"5",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"}, -{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"386",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}select",flags:"s",line:"1706",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}select"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"applyT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1707",mode:"Q{}create.xpath",flags:"t",bSlot:"287",C:[{N:"dot",role:"select",type:"1NA nQ{}select",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"3",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"200",rank:"7", -minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"298",module:"callable-components.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"298",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data", -diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"xsl:initial-template"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"299",name:"name",C:[{N:"str",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template"}]}]},{N:"templateRule",prec:"0", -prio:"1.0",seq:"254",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}use-accumulators",flags:"s",line:"54",module:"merging.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"55",name:"accum",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"148",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}use-accumulators",flags:"s",line:"56",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"57",C:[{N:"param",name:"Q{}accumulators",slot:"0",flags:"t",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|accumulators",C:[{N:"supplied",slot:"0"}]}]},{N:"att",line:"64",name:"useAcc",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]},{N:"fn",name:"string-join", -C:[{N:"data",diag:"0|0||fn:string-join",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}accumulators",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}accumulators",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"str",val:" "}]},{N:"true"},{N:"data",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"232",rank:"0", -minImp:"0",slots:"2",matches:"NT",flags:"s",as:"1NE",line:"608",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NT"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"609",card:"1",diag:'7|0|XTTE0505|match="text()" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat", -role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"611",name:"Q{}expand-text",slot:"1",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|expand-text",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|expand-text",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|expand-text",C:[{N:"data",diag:"8|0|XTTE0590|expand-text",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"choose",line:"615",C:[{N:"varRef",line:"616",name:"Q{}expand-text", -slot:"1"},{N:"callT",line:"617",name:"Q{}value-template",bSlot:"288",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"varRef",line:"618",name:"Q{}attr",slot:"0"}]}]},{N:"true"},{N:"elem",line:"627",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"289"}]},{N:"varRef",line:"628",name:"Q{}attr",slot:"0"},{N:"elem",line:"629",name:"str",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NT",flags:"a"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"274",binds:"",C:[{N:"function",name:"Q{coBindings}bind",line:"209",module:"component-bindings.xsl",flags:"pU",as:"?ADI",slots:"2",C:[{N:"arg",name:"Q{}context",as:"1N"},{N:"arg",name:"Q{}name",as:"1AS"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"int",val:"1"}]}]}]}]}]},{N:"co",id:"252",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}LBRACE",as:"1ADI",line:"17",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"123"}]}]}, -{N:"co",id:"4",binds:"",C:[{N:"globalVariable",name:"Q{}xslt.standard.attributes",as:"+NE",line:"309",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"310",C:[{N:"elem",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-collation"}]}, -{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:uri-list"}]}]}]},{N:"elem",line:"311",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-mode"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:default-mode-type"}]}]}]},{N:"elem",line:"312",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-validation"}]},{N:"att",name:"type", -flags:"l",C:[{N:"str",val:"xsl:validation-strip-or-preserve"}]},{N:"att",name:"default",flags:"l",C:[{N:"str",val:"strip"}]}]}]},{N:"elem",line:"313",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"exclude-result-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefix-list-or-all"}]}]}]},{N:"elem",line:"314",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name", -flags:"l",C:[{N:"str",val:"expand-text"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:yes-or-no"}]}]}]},{N:"elem",line:"315",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"extension-element-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefix-list"}]}]}]},{N:"elem",line:"316",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str", -val:"use-when"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:expression"}]}]}]},{N:"elem",line:"317",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"version"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:decimal"}]}]}]},{N:"elem",line:"318",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"xpath-default-namespace"}]},{N:"att", -name:"type",flags:"l",C:[{N:"str",val:"xs:anyURI"}]}]}]},{N:"elem",line:"319",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-collation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"320",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-mode"}]},{N:"att",name:"type",flags:"l",C:[{N:"str", -val:"xs:string"}]}]}]},{N:"elem",line:"321",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-validation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"322",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_exclude-result-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]}, -{N:"elem",line:"323",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_expand-text"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"324",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_extension-element-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"325", -name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_use-when"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"326",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_version"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:decimal"}]}]}]},{N:"elem",line:"327",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema", -C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_xpath-default-namespace"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"328",name:"xs:anyAttribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"namespace",flags:"l",C:[{N:"str",val:"##other"}]},{N:"att",name:"processContents",flags:"l",C:[{N:"str",val:"lax"}]}]}]}]}]}]},{N:"co",id:"262",binds:"1 256",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_TEXT",as:"1AS",line:"49", -module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"49",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_TEXT",bSlot:"1"}]}]}]},{N:"co",id:"275",binds:"",C:[{N:"function",name:"Q{MyTypes}toString",line:"323",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"325",name:"serialize",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]}]},{N:"co",id:"136",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg2135267024",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289", -name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0505"},{N:"str",val:"template result"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"137",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ITEM",as:"1FM k[AS] v[1AS]",line:"11",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map", -size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"131",binds:"132 69 7 1 1",C:[{N:"template",name:"Q{}Sequence-and-type",flags:"os",line:"498",module:"xpath.xsl",slots:"5",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"499",C:[{N:"param",name:"Q{}parts",slot:"0",flags:"r",as:"*NE", -C:[{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|parts",C:[{N:"supplied",slot:"0"}]}]},{N:"choose",line:"503",C:[{N:"fn",line:"504",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]},{N:"elem",line:"505",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"0"}]},{N:"slash",line:"506",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis", -name:"attribute",nodeTest:"NA"}]}]}]},{N:"true"},{N:"let",line:"513","var":"Q{}commonTypeAsMap",as:"1FM",slot:"1",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"1",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"2",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]},{N:"let",line:"514","var":"Q{}commonType",slot:"2",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"1"}]},{N:"choose",line:"517",C:[{N:"every",line:"520","var":"Q{}p",slot:"3",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1", -C:[{N:"varRef",name:"Q{}p",slot:"3"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"521",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]}]},{N:"slash",line:"522",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}, -{N:"att",line:"523",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"524",name:"Q{}parts",slot:"0"}]}]},{N:"fn",line:"527",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]}]},{N:"copy",line:"528",flags:"in",sit:"1",C:[{N:"sequence",role:"content",line:"529",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"530",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"531",name:"Q{}parts",slot:"0"}]}]},{N:"compareToInt",line:"534",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"535","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"forEach",line:"536",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"copy",line:"537",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"538",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"543",flags:"in",sit:"1",C:[{N:"sequence",role:"content",line:"545",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"548",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"4",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", -type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"548",name:"Q{}commonTypeAsMap",slot:"1"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"549",name:"Q{}parts",slot:"0"}]}]}]}]}]}]}]}]}]},{N:"co",id:"36",binds:"",C:[{N:"globalVariable",name:"Q{}codepoint.collation",as:"1AU",line:"25", -module:"sorting.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"atomic",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint",type:"AU"}]}]},{N:"co",id:"276",binds:"",C:[{N:"function",name:"Q{MyTypes}typeOf",line:"1204",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}item",as:"1"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1206",C:[{N:"instance", -line:"1207",of:"1N",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1208",C:[{N:"instance",line:"1209",of:"1NE",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NE"},{N:"instance",line:"1210",of:"1NA",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NA"},{N:"instance",line:"1211",of:"1NT",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NT"},{N:"instance",line:"1212",of:"1NC",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NC"},{N:"instance",line:"1213",of:"1NP", -C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NP"},{N:"instance",line:"1214",of:"1ND",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"ND"},{N:"true"},{N:"str",val:"N"}]},{N:"instance",line:"1218",of:"1A",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1219",C:[{N:"instance",line:"1220",of:"1AS",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AS"},{N:"instance",line:"1221",of:"1AB",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AB"},{N:"instance",line:"1222", -of:"1AD",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AD"},{N:"instance",line:"1223",of:"1ADI",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"ADI"},{N:"instance",line:"1224",of:"1AQ",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AQ"},{N:"instance",line:"1225",of:"1AU",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AU"},{N:"instance",line:"1226",of:"1AA",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AA"},{N:"instance",line:"1227",of:"1AM",C:[{N:"varRef", -name:"Q{}item",slot:"0"}]},{N:"str",val:"AM"},{N:"instance",line:"1228",of:"1AT",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AT"},{N:"instance",line:"1229",of:"1AR",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AR"},{N:"instance",line:"1230",of:"1AO",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AO"},{N:"instance",line:"1231",of:"1AF",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AF"},{N:"instance",line:"1232",of:"1A2",C:[{N:"varRef",name:"Q{}item",slot:"0"}]}, -{N:"str",val:"A2"},{N:"instance",line:"1233",of:"1AX",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AX"},{N:"instance",line:"1234",of:"1AZ",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AZ"},{N:"true"},{N:"str",val:"A"}]},{N:"instance",line:"1238",of:"1F",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1239",C:[{N:"instance",line:"1240",of:"1FM",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"FM"},{N:"instance",line:"1241",of:"1FM",C:[{N:"varRef",name:"Q{}item", -slot:"0"}]},{N:"str",val:"FA"},{N:"true"},{N:"str",val:"F"}]},{N:"true"},{N:"str",val:"J"}]}]}]},{N:"co",id:"277",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.ANY_ITEM_TYPE",as:"1AS",line:"160",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"item()"}]}]},{N:"co",id:"194",binds:"216",C:[{N:"mode",name:"Q{}expand-character-maps",onNo:"DC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"209",rank:"0",minImp:"0",slots:"1",matches:"NE n*:charMap",flags:"s", -as:"1NE",line:"156",module:"output.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE n*:charMap"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"156",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"157",C:[{N:"param",name:"Q{}charMaps",slot:"0",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|charMaps",C:[{N:"supplied",slot:"0"}]}]},{N:"copy",line:"158",flags:"cin",sit:"1NE n*:charMap",C:[{N:"sequence",role:"content",line:"159",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"forEach",line:"160",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize", -C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}]},{N:"callT",line:"161",name:"Q{}expandCharMapRef",bSlot:"0",C:[{N:"withParam",name:"Q{}charMapRef",flags:"c",as:"1AS",C:[{N:"fn",line:"162",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"withParam",name:"Q{}charMaps",flags:"c",as:"*NE",C:[{N:"varRef",line:"163",name:"Q{}charMaps",slot:"0"}]}]}]},{N:"axis",line:"166",name:"child",nodeTest:"NE n*:m"}]}]}]}]}]}]},{N:"co",id:"229",binds:"64", -C:[{N:"function",name:"Q{MyTypes}cvUntyped",line:"909",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"915",name:"cvUntyped",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -C:[{N:"att",name:"to",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"p"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"0"}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"916",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}, -{N:"varRef",line:"916",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"267",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1557557661",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-attribute/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"78",binds:"150",C:[{N:"template",name:"Q{MyFunctions}AVT",flags:"os",as:"1NE",line:"14",module:"value-templates.xsl",slots:"3",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~", -line:"15",card:"1",diag:"7|0|XTTE0505|f:AVT",C:[{N:"sequence",C:[{N:"param",name:"Q{}avt-string",slot:"0",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|avt-string",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"16",name:"Q{}default",slot:"1",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"17",name:"Q{}role",slot:"2",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"supplied",slot:"2"}]}]}]},{N:"choose",line:"18",C:[{N:"fn",line:"19",name:"exists",C:[{N:"varRef",name:"Q{}avt-string",slot:"0"}]},{N:"forEach",line:"20",flags:"t",C:[{N:"varRef", -name:"Q{}avt-string",slot:"0"},{N:"callT",line:"21",name:"Q{}value-template",bSlot:"0",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"?NA",C:[{N:"varRef",line:"22",name:"Q{}role",slot:"2"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"false"}]}]}]},{N:"fn",line:"27",name:"exists",C:[{N:"varRef",name:"Q{}default",slot:"1"}]},{N:"elem",line:"28",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l", -C:[{N:"varRef",name:"Q{}default",slot:"1"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"copyOf",line:"29",flags:"c",C:[{N:"varRef",name:"Q{}role",slot:"2"}]}]}]},{N:"true"},{N:"elem",line:"33",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"copyOf",line:"34",flags:"c",C:[{N:"varRef",name:"Q{}role",slot:"2"}]}]}]}]}]}]}]}]},{N:"co", -id:"278",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_UNTYPED_ATOMIC",as:"1FM k[AS] v[1AS]",line:"26",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"AZ"}]}]}]},{N:"co",id:"254",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}LPAREN",as:"1ADI",line:"15",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"40"}]}]},{N:"co",id:"246",binds:"",C:[{N:"globalParam",name:"Q{}staticParameters", -as:"1FM k[AQ]",line:"174",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",C:[{N:"map",size:"0"}]}]},{N:"co",id:"279",binds:"",C:[{N:"function",name:"Q{MyFunctions}namespace-uri-for-prefix-or-default",line:"168",module:"namespaces.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}prefix",as:"1AS"},{N:"arg",name:"Q{}element",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"0"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"1"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"0"},{N:"varRef",name:"Q{}element",slot:"1"}]}]}]}]},{N:"co",id:"280",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_DECIMAL",as:"1FM k[AS] v[1AS]",line:"20", -module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"AD"}]}]}]},{N:"co",id:"281",binds:"281",C:[{N:"function",name:"Q{MyFunctions}import-index",line:"704",module:"static.xsl",flags:"pmU",as:"1ADI",slots:"2",C:[{N:"arg",name:"Q{}in",as:"1NE"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"706","var":"Q{}next", -as:"?NE nQ{http://www.w3.org/1999/XSL/Transform}import",slot:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"first",C:[{N:"axis",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"}]}]},{N:"choose",line:"713",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}next",slot:"1"}]},{N:"arith",op:"+",calc:"i+i",C:[{N:"ufCall",name:"Q{MyFunctions}import-index",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:import-index",C:[{N:"varRef",name:"Q{}next", -slot:"1"}]}]},{N:"int",val:"1"}]},{N:"true"},{N:"int",val:"1"}]}]}]}]},{N:"co",id:"282",binds:"",C:[{N:"function",name:"Q{MyFunctions}symbolic-name",line:"56",module:"component-bindings.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}component",as:"1NE"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"59",card:"1",diag:"5|0|XTTE0780|f:symbolic-name#1", -C:[{N:"forEach",C:[{N:"check",line:"58",card:"1",diag:"3|0|XTTE0570|actor",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}component",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"60",C:[{N:"fn",line:"61",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalParam,NE nQ{http://ns.saxonica.com/xslt/export}globalVariable]"}]},{N:"fn",line:"62",name:"concat",C:[{N:"str",val:"V:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first", -C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"64",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}attributeSet"}]},{N:"fn",line:"65",name:"concat",C:[{N:"str",val:"A:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"67",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"fn",line:"68",name:"concat",C:[{N:"str",val:"T:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}, -{N:"str",val:""}]}]}]}]},{N:"fn",line:"70",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]},{N:"fn",line:"71",name:"concat",C:[{N:"str",val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"fn",line:"73",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"}]}, -{N:"fn",line:"74",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"true"},{N:"str",val:"???"}]}]}]}]}]},{N:"co",id:"271",binds:"78 79 78 79 78 79 78 79 78 79 78 79",C:[{N:"template",name:"Q{}numberFormat",flags:"os",as:"*NE",line:"68",module:"numbering.xsl",slots:"2",C:[{N:"sequence", -role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70", -name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"callT",line:"72",name:"Q{MyFunctions}AVT",bSlot:"0",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}format",C:[{N:"slash",line:"73",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}format"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"1"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"75",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"1"},{N:"str",val:"format"}]}]}]}]}]},{N:"callT",line:"77",name:"Q{MyFunctions}AVT",bSlot:"2",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}start-at",C:[{N:"slash",line:"78", -simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}start-at"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"1"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"80",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"3"},{N:"str",val:"startAt"}]}]}]}]}]},{N:"choose",line:"82",C:[{N:"fn",name:"exists", -C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-separator"}]}]},{N:"callT",line:"83",name:"Q{MyFunctions}AVT",bSlot:"4",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}grouping-separator",C:[{N:"slash",line:"84",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-separator"}]}]},{N:"withParam",name:"Q{}default", -flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"86",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"5"},{N:"str",val:"gpSep"}]}]}]}]}]}]},{N:"choose",line:"89",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-size"}]}]},{N:"callT", -line:"90",name:"Q{MyFunctions}AVT",bSlot:"6",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}grouping-size",C:[{N:"slash",line:"91",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-size"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"0"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"93",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role", -C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"7"},{N:"str",val:"gpSize"}]}]}]}]}]}]},{N:"choose",line:"96",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ordinal"}]}]},{N:"callT",line:"97",name:"Q{MyFunctions}AVT",bSlot:"8",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}ordinal",C:[{N:"slash",line:"98",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot", -flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ordinal"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"false"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"100",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"9"},{N:"str",val:"ordinal"}]}]}]}]}]}]},{N:"choose",line:"103",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}lang"}]}]},{N:"callT",line:"107",name:"Q{MyFunctions}AVT",bSlot:"10",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}lang",C:[{N:"slash",line:"108",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}lang"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"en"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat", -line:"110",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"11"},{N:"str",val:"lang"}]}]}]}]}]}]}]}]}]},{N:"co",id:"239",binds:"",C:[{N:"globalVariable",name:"Q{}ST.EMPTY_SEQUENCE",as:"1FM k[AS] v[1AS]",line:"10",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"0"},{N:"str",val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"142",binds:"",C:[{N:"mode",name:"Q{}pattern-with-current", -onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"300",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fn",flags:"s",line:"1538",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1538",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"current"}]}]},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1539",name:"varRef",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions}current"}]}, -{N:"att",name:"slot",flags:"l",C:[{N:"str",val:"0"}]},{N:"axis",line:"1540",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"co",id:"283",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ZERO_OR_ONE",as:"1ADI",line:"110",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"3"}]}]},{N:"co",id:"284",binds:"",C:[{N:"function",name:"Q{MyFunctions}QNameToEQ",line:"161",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}qname",as:"1AQ"},{N:"fn",role:"body", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"0"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"0"}]}]}]}]},{N:"co",id:"285",binds:"",C:[{N:"globalVariable", -name:"Q{}ST.SINGLE_DECIMAL",as:"1FM k[AS] v[1AS]",line:"21",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AD"}]}]}]},{N:"co",id:"150",binds:"251 72 72 72 262 262",C:[{N:"template",name:"Q{}value-template",flags:"os",as:"?NE",line:"41",module:"value-templates.xsl",slots:"13",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~", -line:"42",card:"?",diag:"7|0|XTTE0505|value-template",C:[{N:"sequence",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"43",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check", -card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"44",name:"Q{}has-uniform-static-context",slot:"2",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param", -line:"45",name:"Q{}default-collation",slot:"3",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"47",name:"Q{}backward-compatibility",slot:"4",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|backward-compatibility", -C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"data",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"supplied",slot:"4"}]}]}]}]}]},{N:"param",line:"48",name:"Q{}attr",slot:"5",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"5"}]}]},{N:"let",line:"56","var":"Q{}text.value",as:"1",slot:"6",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat", -as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NA"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NT"}]}]}]},{N:"dot",flags:"a"},{N:"true"},{N:"fn",name:"normalize-space", -C:[{N:"check",card:"?",diag:"0|0||fn:normalize-space",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"let",line:"57","var":"Q{}lineNr",as:"1ADI",slot:"7",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"8",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:line-number",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|1|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]},{N:"treat",module:"lib.xsl", -line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"9",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", -C:[{N:"varRef",name:"Q{}node",slot:"8"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"9"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"9"}]}]}]}]}]}]}]}]}]},{N:"let",line:"58","var":"Q{}loc",as:"1AS",slot:"10",C:[{N:"choose",line:"59",C:[{N:"instance",line:"60",of:"1NA",C:[{N:"dot",flags:"a"}]},{N:"convert", -line:"60",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/@"},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"instance", -line:"61",of:"1NT",C:[{N:"dot",flags:"a"}]},{N:"convert",line:"61",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/text()"}]}]}]}]},{N:"true"},{N:"convert",line:"62", -from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|1|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"let",line:"66","var":"Q{}parts",as:"*NE",slot:"11",C:[{N:"choose",line:"67",C:[{N:"fn",line:"68",name:"contains",C:[{N:"check",card:"?",diag:"0|0||fn:contains",C:[{N:"convert", -from:"A",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"str",val:"{"}]},{N:"forEach",line:"69",C:[{N:"ufCall",name:"Q{MyFunctions}parse-value-template",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:parse-value-template",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:parse-value-template",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-value-template", -C:[{N:"data",diag:"0|0||f:parse-value-template",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"treat",as:"N",diag:"0|1||f:parse-value-template",C:[{N:"dot",flags:"a"}]}]},{N:"choose",line:"70",C:[{N:"compareToString",line:"71",op:"eq",val:"literal",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"elem",line:"72",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]}, -{N:"and",line:"74",op:"and",C:[{N:"compareToString",op:"eq",val:"expression",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"\\S+"},{N:"str",val:""}]}]},{N:"elem",line:"75",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l", -C:[{N:"str",val:"string-join"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"1"}]},{N:"let",line:"76","var":"Q{}content",as:"1NE",slot:"12",C:[{N:"elem",line:"77",name:"convert",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"from",flags:"l",C:[{N:"str",val:"AZ"}]},{N:"att",name:"to",flags:"l",C:[{N:"str",val:"AS"}]},{N:"elem",line:"78",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"elem",line:"79", -name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"elem",line:"80",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]},{N:"att",name:"loc",flags:"l",C:[{N:"varRef",name:"Q{}loc",slot:"10"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}lineNr",slot:"7"}]}]},{N:"att",name:"allow-empty", -flags:"l",C:[{N:"str",val:"true"}]},{N:"choose",line:"81",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"4"},{N:"att",line:"82",name:"BC",flags:"l",C:[{N:"str",val:"true"}]}]},{N:"varRef",line:"85",name:"Q{}xpath-default-namespace",slot:"1"},{N:"varRef",line:"85",name:"Q{}default-collation",slot:"3"}]}]}]}]}]}]},{N:"sequence",line:"92",C:[{N:"choose",C:[{N:"varRef",line:"93",name:"Q{}backward-compatibility",slot:"4"},{N:"elem",line:"94",name:"first",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"varRef",line:"95",name:"Q{}content",slot:"12"}]},{N:"true"},{N:"varRef",line:"99",name:"Q{}content",slot:"12"}]},{N:"elem",line:"102",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:" "}]}]}]}]}]}]},{N:"true"},{N:"elem",line:"106",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]},{N:"true"},{N:"elem",line:"112",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att", -name:"val",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"str",val:"\\}\\}"},{N:"str",val:"}"},{N:"str",val:""}]}]}]}]},{N:"choose",line:"117",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]}, -{N:"axis",name:"self",nodeTest:"NA"}]}]},{N:"choose",line:"118",C:[{N:"fn",line:"119",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"11"}]},{N:"elem",line:"120",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"2"}]},{N:"varRef",line:"121",name:"Q{}attr",slot:"5"}]}]},{N:"compareToInt",line:"124",op:"lt",val:"2",C:[{N:"fn",name:"count", -C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"forEach",line:"125",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"copy",line:"126",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"127",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}attr",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"132",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"concat"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"3"}]},{N:"varRef",line:"133",name:"Q{}attr",slot:"5"},{N:"varRef",line:"135",name:"Q{}parts",slot:"11"},{N:"elem",line:"137",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]}]}]}]}]},{N:"fn",line:"144",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"11"}]},{N:"empty"},{N:"compareToInt", -line:"145",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"elem",line:"146",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"4"}]},{N:"varRef",line:"147",name:"Q{}attr",slot:"5"},{N:"varRef",line:"148",name:"Q{}parts",slot:"11"}]}]},{N:"true"},{N:"elem",line:"152",name:"valueOf", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"5"}]},{N:"varRef",line:"153",name:"Q{}attr",slot:"5"},{N:"elem",line:"154",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string-join"}]},{N:"elem",line:"155",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"156",name:"Q{}parts", -slot:"11"}]},{N:"elem",line:"158",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"230",binds:"1",C:[{N:"function",name:"Q{MyTypes}treat",line:"879",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"886",name:"treat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"ufCall",line:"885",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"str",val:"^[01*+?]"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"choose",line:"887",C:[{N:"gc",line:"888",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"o"}]}]},{N:"str",val:"*"}]},{N:"sequence",line:"889",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",name:"Q{}expression",slot:"0"}]},{N:"true"},{N:"sequence",line:"892",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"elem",line:"893",name:"check", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"o"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"894",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}, -{N:"varRef",line:"894",name:"Q{}expression",slot:"0"}]}]}]}]}]}]}]}]},{N:"co",id:"286",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_INTEGER",as:"1FM k[AS] v[1AS]",line:"22",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"ADI"}]}]}]},{N:"co",id:"287",binds:"",C:[{N:"function",name:"Q{MyFunctions}error-code",line:"31",module:"lib.xsl",flags:"pU",as:"1AQ",slots:"1",C:[{N:"arg",name:"Q{}code",as:"*"},{N:"fn", -role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:QName",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:QName",C:[{N:"data",diag:"0|1||fn:QName",C:[{N:"varRef",name:"Q{}code",slot:"0"}]}]}]}]}]}]}]}, -{N:"co",id:"288",binds:"",C:[{N:"globalVariable",name:"Q{}saxonjsVersion",as:"1AS",line:"171",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"str",val:"2.7"}]}]},{N:"co",id:"263",binds:"22",C:[{N:"template",name:"Q{}check-select",flags:"os",as:"0",line:"62",module:"lib.xsl",slots:"0",C:[{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"63",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"check",line:"64",card:"0",diag:"7|0|XTTE0505|check-select",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" must have an @select attribute"}]}, -{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"co",id:"269",binds:"1 108",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ATTRIBUTE",as:"1AS",line:"53",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"53",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ATTRIBUTE",bSlot:"1"}]}]}]},{N:"co",id:"289",binds:"", -C:[{N:"globalVariable",name:"Q{}END_OF_ALPHABET",as:"1ADI",line:"125",module:"static.xsl",visibility:"PRIVATE",C:[{N:"int",val:"50000"}]}]},{N:"co",id:"106",binds:"102 22 120 48 22 105 164 22 105 48 105 34 22 22 22 22 22 22 22 251 29 29",C:[{N:"mode",name:"Q{}static",onNo:"SC",flags:"W",patternSlots:"1",C:[{N:"templateRule",prec:"0",prio:"5.01",seq:"329",rank:"10",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"25",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"25",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"26",C:[{N:"param", -name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"31",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"1NA",C:[{N:"att",line:"29",name:"xpath-default-namespace",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"5.0",seq:"324",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"5.0",seq:"4",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"718",module:"static.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"718",flags:"",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"union",op:"|",C:[{N:"union",op:"|",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]}]}]}, -{N:"gc",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"718",op:">",card:"M:N",comp:"QUNC",C:[{N:"data",diag:"1|0||>",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"},{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]},{N:"dec",val:"3"}]}]},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"718",name:"not",C:[{N:"filter",flags:"b",C:[{N:"gVarRef",name:"Q{}top-level-declarations",bSlot:"0"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]}]}]}]}]}]}]},{N:"message",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"719",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"IGNORING "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"templateRule",prec:"0",prio:"3.5",seq:"362",rank:"8",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"130",module:"attributes.xsl",C:[{N:"p.withPredicate", -role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"130",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"131",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"132",name:"Q{}extension-element-prefixes",slot:"1",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|extension-element-prefixes",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-prefixes",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-prefixes", -C:[{N:"supplied",slot:"1"}]}]}]}]},{N:"nextMatch",line:"133",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"136",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}extension-element-prefixes",flags:"t",as:"*AS",C:[{N:"sequence",line:"135",C:[{N:"varRef",name:"Q{}extension-element-prefixes",slot:"1"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"20",rank:"7",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1028",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1028",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1029",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1", -diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1030",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1032","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose",line:"1033",C:[{N:"fn",line:"1034",name:"exists",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}_use-when"}]},{N:"check",line:"1035",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]}]}]}]},{N:"true"},{N:"check",line:"1038",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert", -from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}]}]}]}]}]},{N:"let",line:"1042","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1043","var":"Q{}dot",as:"1",slot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"compElem",line:"1044",C:[{N:"str",role:"name", -val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1045",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"1047",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]}, -{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"4"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"let",line:"1052","var":"Q{}use",as:"1AB",slot:"5",C:[{N:"treat",line:"1055",as:"AB",diag:"3|0|XTTE0570|use",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|use",C:[{N:"data",diag:"3|0|XTTE0570|use",C:[{N:"try",flags:"r",C:[{N:"evaluate", -dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"withParam",name:"Q{}compileSyntax",as:"1AB",C:[{N:"false"}]}, -{N:"withParam",name:"Q{}errorsAsMessages",as:"1AB",C:[{N:"false"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1063",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Y"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall", -name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"let",line:"1068","var":"Q{}possibleCode",as:"1AS",slot:"6",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before",C:[{N:"data",diag:"0|0||fn:substring-before", -C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]},{N:"choose",line:"1075",C:[{N:"castable",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"substring-after",C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-after", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"fn",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str", -val:"code"}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"choose",line:"1079",C:[{N:"varRef",line:"1080",name:"Q{}use",slot:"5"},{N:"sequence",line:"1081",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b", -C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]}]}]},{N:"fn",line:"1082",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"str",val:"@xsl:use-when cannot be used on XSL element "}, -{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]}]},{N:"nextMatch",line:"1084",flags:"t"}]},{N:"fn",line:"1086",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]},{N:"applyT",line:"1092",flags:"ct",bSlot:"-1",C:[{N:"copy",role:"select",line:"1088",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*", -C:[{N:"axis",role:"content",line:"1089",name:"attribute",nodeTest:"NA d[NA,NA u[NA nQ{}use-when,NA nQ{}_use-when]]"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"5",rank:"7",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"723",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"vc",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"723",op:"eq",onEmpty:"0",comp:"CCC", -C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{http://www.w3.org/XML/1998/namespace}space"}]},{N:"str",val:"preserve"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"724",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"725",flags:"t", -C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"727",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xml-space-preserve",flags:"t",as:"1AB",C:[{N:"true"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"19",rank:"6",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1023",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"1023",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1024",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"str",val:"@xsl:use-when cannot be used on XSL element "}, -{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"3.0",seq:"21",rank:"5",minImp:"0",slots:"6",matches:"NE",flags:"s",line:"1149",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1149",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1150",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", -as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1151",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1153","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose", -line:"1154",C:[{N:"fn",line:"1155",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]},{N:"check",line:"1156",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]}]}]}]}, -{N:"true"},{N:"check",line:"1159",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"}]}]}]}]}]},{N:"let",line:"1163","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1164","var":"Q{}dot",as:"1",slot:"4", -C:[{N:"dot",type:"1NE",flags:"a"},{N:"compElem",line:"1165",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1166",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"1167",flags:"l",C:[{N:"fn",role:"name",name:"concat", -C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"4"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"let",line:"1171","var":"Q{}use",as:"1AB",slot:"5",C:[{N:"treat",line:"1174",as:"AB",diag:"3|0|XTTE0570|use",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|use",C:[{N:"data",diag:"3|0|XTTE0570|use", -C:[{N:"try",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch", -errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1176",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Z"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160", -C:[{N:"fn",line:"1179",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before",C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"fn",name:"substring-after", -C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-after",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]},{N:"choose",line:"1183",C:[{N:"varRef",name:"Q{}use",slot:"5"},{N:"nextMatch",line:"1184",flags:"t"}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"3.0",seq:"6",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"731",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"731",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"732","var":"Q{}version",as:"1AD",slot:"0",C:[{N:"callT",line:"733",name:"Q{}XSLT-version",bSlot:"2"},{N:"nextMatch",line:"735",flags:"t",C:[{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"736",name:"Q{}version",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"16",rank:"4",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"984",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"984",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"985",C:[{N:"param",name:"Q{}xml-space-preserve",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"986",name:"Q{}import-precedence",slot:"1",flags:"t",C:[{N:"int",role:"select",val:"1"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"987",name:"Q{}moduleLabel",slot:"2",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"convert",from:"A",to:"AS", -flags:"p",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"data",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"988",name:"Q{}precLabel",slot:"3",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|precLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|precLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"data",diag:"8|0|XTTE0590|precLabel", -C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"989",name:"Q{}stylesheet-properties",slot:"4",flags:"t",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|stylesheet-properties",C:[{N:"supplied",slot:"4"}]}]},{N:"copy",line:"990",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",C:[{N:"sequence",role:"content",line:"992",C:[{N:"att",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -"var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat", -C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"3"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",line:"994",name:"ex:baseUri", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"att",line:"995",name:"ex:precLabel",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"varRef",name:"Q{}precLabel",slot:"3"}]},{N:"choose",line:"996",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}decimal-format,NE nQ{http://www.w3.org/1999/XSL/Transform}import],NE nQ{http://www.w3.org/1999/XSL/Transform}include],NE nQ{http://www.w3.org/1999/XSL/Transform}output]"}]}, -{N:"varRef",line:"997",name:"Q{}stylesheet-properties",slot:"4"}]},{N:"att",line:"999",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"6",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"7",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"6"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"7"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"7"}]}]}]}]}]}]}]}]}]}]}]},{N:"choose",line:"1000",C:[{N:"fn",name:"exists", -C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"ufCall",line:"1005",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"An XSLT element cannot have attribute(s) "},{N:"fn",name:"string-join",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"axis", -name:"attribute",nodeTest:"NA"},{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:","}]}]},{N:"str",val:" in the XSLT namespace"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"applyT",line:"1007",flags:"c",bSlot:"-1",C:[{N:"docOrder",role:"select",intra:"1",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}, -{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"applyT",line:"1010",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"4",C:[{N:"str",val:""},{N:"str",val:"http://saxon.sf.net/"},{N:"str",val:"http://ns.saxonica.com/xslt/export"},{N:"str",val:"http://www.w3.org/XML/1998/namespace"}]}, -{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"callT",line:"1011",name:"Q{}staticText",bSlot:"5",C:[{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1012",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"10",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"782",module:"static.xsl", -C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"NE"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"},{N:"p.nodeTest",test:"NE"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"783",C:[{N:"param",name:"Q{}XSLT-version",slot:"0",flags:"t",as:"1AD",C:[{N:"dec",role:"select",val:"3"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"data",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"choose",line:"784",C:[{N:"or",line:"785",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]}, -{N:"vc",op:"gt",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}XSLT-version",slot:"0"},{N:"dec",val:"3"}]}]},{N:"nextMatch",line:"786",flags:"t"},{N:"true"},{N:"ufCall",line:"790",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"7",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" must be the root element of a document, or the child of xsl:package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0", -prio:"0.9",seq:"17",rank:"3",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"1017",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1017",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, -{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"14",rank:"0",minImp:"0",slots:"26",matches:"NE",flags:"s",line:"834",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"835",C:[{N:"param",name:"Q{}required-version",slot:"0",as:"?AD",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|required-version", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|required-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|required-version",C:[{N:"data",diag:"8|0|XTTE0590|required-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"836",name:"Q{}has-uniform-static-context",slot:"1",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context", -C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"837",name:"Q{}extension-element-namespaces",slot:"2",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"supplied",slot:"2"}]}]}]}]},{N:"choose", -line:"841",C:[{N:"varRef",line:"842",name:"Q{}has-uniform-static-context",slot:"1"},{N:"copy",line:"843",flags:"in",sit:"1NE",C:[{N:"let",role:"content",line:"844","var":"Q{}lineNo",slot:"3",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall", -name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"845",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"compareToInt",op:"ne",val:"-1", -C:[{N:"varRef",name:"Q{}lineNo",slot:"3"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}lineNo",slot:"3"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"6",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:line-number", -C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln", -slot:"7",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"6"}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"7"},{N:"int",val:"-1"}]},{N:"instance",of:"1NE",C:[{N:"varRef",name:"Q{}node",slot:"6"}]}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"7"}]}]}]}]}]}]}]}]}]}]}]}, -{N:"att",line:"846",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}lineNo",slot:"3"}]}]}]},{N:"choose",line:"848",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"att",line:"849",name:"ex:baseUri",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l", -C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"851",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",line:"852",name:"ex:exclude",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",line:"909",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"slash",C:[{N:"dot",line:"852",type:"1NE",flags:"a"},{N:"fn",name:"reverse", -C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"true"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]}]}]}, -{N:"let",line:"910","var":"Q{}owner",as:"*N u[NE,ND]",slot:"8",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"choose",line:"912",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]}]}]},{N:"forEach",line:"913",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}owner",slot:"8"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NN"}]}]},{N:"true"},{N:"let",line:"923","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"1NE i[NE,N u[NE,ND]]",slot:"9",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}owner",slot:"8"}]},{N:"forEach",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot", -type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"}]}]},{N:"fn",name:"string",C:[{N:"dot",type:"1AU"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"forEach",line:"854",C:[{N:"union",op:"|",C:[{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis", -name:"child",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]},{N:"att",line:"855",name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"let",line:"857","var":"Q{}shadows",as:"*NA",slot:"10",C:[{N:"filter",flags:"b", -C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"858",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"10"}]}]}]},{N:"applyT",line:"859",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"10"}]},{N:"callT",line:"860",name:"Q{}staticText", -bSlot:"8"}]}]}]}]}]},{N:"true"},{N:"copy",line:"864",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"866",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"fn",name:"not",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}n1",as:"1NE",slot:"11",C:[{N:"dot", -ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"},{N:"let","var":"Q{}n2",as:"1NE",slot:"12",C:[{N:"treat",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",as:"NE",diag:"0|1||f:has-same-namespaces",C:[{N:"check",card:"1",diag:"0|1||f:has-same-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"let",module:"namespaces.xsl", -line:"120","var":"Q{}n1.prefixes",as:"*AS",slot:"13",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n1",slot:"11"}]},{N:"let",line:"121","var":"Q{}n2.prefixes",as:"*AS",slot:"14",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n2",slot:"12"}]},{N:"and",line:"127",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"13"}]},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"14"}]}]},{N:"every","var":"Q{}p", -slot:"15",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"13"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"14"},{N:"varRef",name:"Q{}p",slot:"15"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"15"},{N:"varRef",name:"Q{}n1",slot:"11"}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"15"},{N:"varRef",name:"Q{}n2",slot:"12"}]}]}]}]}]}]}]}]}]}]}]},{N:"att", -line:"867",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"16",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn", -name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}, -{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"9"},{N:"fn",name:"name", -C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"let",line:"869","var":"Q{}base",as:"?AU",slot:"17",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"sequence",line:"870",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"varRef",name:"Q{}base",slot:"17"},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri", -C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"att",line:"871",name:"ex:baseUri",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"varRef",name:"Q{}base",slot:"17"}]}]}]},{N:"choose",line:"873",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",line:"874",name:"ex:exclude",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",line:"909", -C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"slash",C:[{N:"dot",line:"874",type:"1NE",flags:"a"},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"true"},{N:"sequence",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]}]}]},{N:"let",line:"910","var":"Q{}owner",as:"*N u[NE,ND]",slot:"18",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"choose",line:"912",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]}]}]},{N:"forEach",line:"913",C:[{N:"slash", -simple:"2",C:[{N:"varRef",name:"Q{}owner",slot:"18"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NN"}]}]},{N:"true"},{N:"let",line:"923","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"19",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}owner",slot:"18"}]},{N:"forEach",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot",type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"19"}]}]},{N:"fn",name:"string",C:[{N:"dot",type:"1AU"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"forEach",line:"876",C:[{N:"union",op:"|", -C:[{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]},{N:"att",line:"877", -name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"let",line:"879","var":"Q{}lineNo",slot:"20",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"21",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"21"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"22",C:[{N:"ifCall", -name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"21"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"22"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"21"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"22"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"880",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"compareToInt",op:"ne", -val:"-1",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"23",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",card:"1", -diag:"0|0||f:line-number",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"24",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"23"}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"24"},{N:"int",val:"-1"}]},{N:"instance",of:"1NE",C:[{N:"varRef",name:"Q{}node",slot:"23"}]}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef", -name:"Q{}ln",slot:"24"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",line:"881",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"}]}]}]},{N:"let",line:"883","var":"Q{}shadows",as:"*NA",slot:"25",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"884",C:[{N:"applyT",flags:"c",bSlot:"-1", -C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"25"}]}]}]},{N:"applyT",line:"885",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"25"}]},{N:"callT",line:"886",name:"Q{}staticText",bSlot:"10"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"8",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",line:"770",module:"static.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"771",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",line:"772",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]},{N:"str",val:" cannot contain element "}]},{N:"slash",C:[{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]}]},{N:"nextMatch",line:"774",flags:"t",C:[{N:"withParam",name:"Q{}xml-space-preserve",flags:"t",as:"1AB",C:[{N:"true"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"18",part:"1",rank:"2",minImp:"0", -slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1019",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1019",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"1020",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Non-global "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",val:" "}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot be static"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5", -seq:"18",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"1019",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1019",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"1020",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Non-global "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",val:" "}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot be static"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5", -seq:"13",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"s",line:"802",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"802",name:"not",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"normalize.xsl",line:"777",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"802",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}, -{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"803",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE0190"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"a"}]},{N:"str",val:" must be a top-level component"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import", -flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"11",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"s",line:"796",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"796",C:[{N:"axis",name:"child",nodeTest:"NE"}, -{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"797",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE", -flags:"a"}]},{N:"str",val:" cannot have any content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"9",rank:"4",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"779",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"p.nodeTest",test:"NE"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"780",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"a"}]},{N:"str",val:" must be a the root element of a document"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"12",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}include", -flags:"s",line:"799",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"799",name:"not",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl", -line:"777",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"799",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]},{N:"ufCall",role:"action", -ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"800",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTSE0170"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"a"}]},{N:"str",val:" must be a top-level component"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"a"}]}]},{N:"templateRule", -prec:"0",prio:"0.5",seq:"11",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"s",line:"796",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"796",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b", -C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"797",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"18",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str", -val:" cannot have any content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"7",rank:"2",minImp:"0",slots:"7",matches:"NA",flags:"s",line:"740",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"740",name:"starts-with",C:[{N:"fn", -name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"741",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1", -diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"742",name:"Q{}var-slots",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"743",name:"Q{}stylesheet-base-uri",slot:"2",flags:"t",as:"1AU",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|stylesheet-base-uri",C:[{N:"fn",name:"base-uri", -C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"744",name:"Q{}xpath-default-namespace",slot:"3",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"3"}]}]}]},{N:"let",line:"745","var":"Q{}container",as:"1NE c~untyped",slot:"4",C:[{N:"let",line:"746","var":"Q{}dot",as:"*N u[NE,ND]",slot:"5",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"750","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"6",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}dot",slot:"5"}]}, -{N:"compElem",line:"747",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"3"}]}]}]},{N:"forEach",role:"content",line:"748",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"check",card:"1",diag:"0|0||fn:in-scope-prefixes",C:[{N:"varRef",name:"Q{}dot",slot:"5"}]}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"750",flags:"l",C:[{N:"fn", -role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]}]},{N:"compAtt",line:"755",C:[{N:"fn",role:"name",name:"substring",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"int",val:"2"}]},{N:"fn",role:"select",line:"757", -name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",line:"758",C:[{N:"ufCall",line:"757",name:"Q{MyFunctions}parse-value-template",tailCall:"false",bSlot:"19",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-value-template",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-value-template",C:[{N:"data",diag:"0|0||f:parse-value-template",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"dot",type:"1NA",flags:"a"}]},{N:"choose",line:"759",C:[{N:"compareToString", -line:"760",op:"eq",val:"literal",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"valueOf",line:"760",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]},{N:"true"},{N:"evaluate",line:"763",dxns:"",C:[{N:"convert",role:"xpath",from:"AZ",to:"AS",flags:"p",diag:"4|0||xsl:evaluate/xpath",C:[{N:"cvUntyped",to:"AS",diag:"4|0||xsl:evaluate/xpath",C:[{N:"data",diag:"4|0||xsl:evaluate/xpath",C:[{N:"dot",type:"1NA"}]}]}]},{N:"empty",role:"cxt"},{N:"convert",role:"baseUri", -from:"AU",to:"AS",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"2"}]},{N:"varRef",role:"nsCxt",name:"Q{}container",slot:"4"},{N:"str",role:"sa",val:"no"},{N:"ifCall",role:"options",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"1"}]},{N:"map", -size:"1",C:[{N:"str",val:"allow-empty"},{N:"true"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"22",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}use-when",flags:"s",line:"1188",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", -C:[{N:"p.nodeTest",test:"NA nQ{}use-when"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"22",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when",flags:"s",line:"1188",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"15",part:"1",rank:"1", -minImp:"0",slots:"2",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes",flags:"s",line:"892",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"895","var":"Q{}discard",slot:"1",C:[{N:"applyT",mode:"Q{}normalize",bSlot:"20",C:[{N:"dot",role:"select", -type:"1NA",flags:"a"}]},{N:"subscript",line:"897",C:[{N:"varRef",name:"Q{}discard",slot:"1"},{N:"int",val:"100000"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"15",rank:"2",minImp:"0",slots:"2",matches:"NA nQ{}exclude-result-prefixes",flags:"s",line:"892",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}exclude-result-prefixes"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"894","var":"Q{}discard",slot:"0",C:[{N:"applyT",line:"895",mode:"Q{}normalize",bSlot:"21",C:[{N:"dot",role:"select",type:"1NA",flags:"a"}]},{N:"subscript",line:"897",C:[{N:"varRef",name:"Q{}discard",slot:"0"},{N:"int",val:"100000"}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"23",rank:"0",minImp:"0",slots:"0",matches:"NC",flags:"s",line:"1189",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NC"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"23",part:"1", -rank:"0",minImp:"0",slots:"0",matches:"NP",flags:"s",line:"1189",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NP"},{N:"empty",role:"action"}]}]}]},{N:"co",id:"290",binds:"",C:[{N:"function",name:"Q{MyTypes}cardinalityCode",line:"46",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}indic",as:"?AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"66", -C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"*"}]},{N:"str",val:"Z1M"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"+"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}indic",slot:"0"}]}]},{N:"str",val:"1"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"?"}]},{N:"str",val:"Z1"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC", -C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]}]}]},{N:"co",id:"79",binds:"",C:[{N:"globalVariable",name:"Q{}roles",as:"1FM k[AS] v[1NA]",line:"577",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"587",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"literal",count:"31",C:[{N:"str",val:"action"},{N:"str",val:"select"},{N:"str",val:"match"},{N:"str",val:"body"},{N:"str",val:"content"},{N:"str",val:"sort"},{N:"str",val:"separator"},{N:"str",val:"caseOrder"},{N:"str",val:"dataType"},{N:"str",val:"collation"},{N:"str",val:"name"},{N:"str",val:"namespace"},{N:"str",val:"on-completion"},{N:"str",val:"baseUri"},{N:"str",val:"href"},{N:"str",val:"regex"},{N:"str",val:"flags"},{N:"str",val:"forEachItem"},{N:"str",val:"forEachStream"}, -{N:"str",val:"selectRows"},{N:"str",val:"startAt"},{N:"str",val:"format"},{N:"str",val:"count"},{N:"str",val:"gpSep"},{N:"str",val:"gpSize"},{N:"str",val:"stable"},{N:"str",val:"order"},{N:"str",val:"ordinal"},{N:"str",val:"lang"},{N:"str",val:"error"},{N:"str",val:"terminate"}]},{N:"ifCall",line:"588",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"att",line:"589",name:"role",C:[{N:"dot",type:"1AS"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, -{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"291",binds:"",C:[{N:"function",name:"Q{MyFunctions}comparableMergeKeys",line:"87",module:"merging.xsl",flags:"pU",as:"1AB",slots:"5",C:[{N:"arg",name:"Q{}k1",as:"1FA v[1FM]"},{N:"arg",name:"Q{}k2",as:"1FA v[1FM]"},{N:"and",role:"body",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"100",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"0"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k2",slot:"1"}]}]},{N:"every","var":"Q{}k",slot:"2",C:[{N:"to",C:[{N:"int",val:"1"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"0"}]}]}, -{N:"let","var":"Q{}a",slot:"3",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k1",slot:"0"},{N:"varRef",name:"Q{}k",slot:"2"}]},{N:"str",val:"p"}]},{N:"let","var":"Q{}b",slot:"4",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k2",slot:"1"},{N:"varRef",name:"Q{}k",slot:"2"}]},{N:"str",val:"p"}]},{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0", -comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}a",slot:"3"}]},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring", -C:[{N:"varRef",name:"Q{}a",slot:"3"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]},{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence", -C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}a",slot:"3"}]},{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]},{N:"co",id:"292",binds:"",C:[{N:"function",name:"Q{MyFunctions}lastCommon",line:"791",module:"type.xsl",flags:"pU",as:"1AS",slots:"5",C:[{N:"arg",name:"Q{}set1",as:"*AS"},{N:"arg",name:"Q{}set2",as:"*AS"},{N:"arg",name:"Q{}default",as:"1AS"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"796",card:"1",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"data",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"iterate",C:[{N:"varRef",role:"select",name:"Q{}set1",slot:"0"},{N:"params",role:"params",line:"797",C:[{N:"param",name:"Q{}common",slot:"3",C:[{N:"varRef",role:"select",name:"Q{}default",slot:"2"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param", -line:"798",name:"Q{}this2",slot:"4",C:[{N:"varRef",role:"select",name:"Q{}set2",slot:"1"},{N:"supplied",role:"conversion",slot:"4"}]}]},{N:"varRef",role:"on-completion",line:"799",name:"Q{}common",slot:"3"},{N:"choose",role:"action",line:"801",C:[{N:"vc",line:"802",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1AS"},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"first",C:[{N:"varRef",name:"Q{}this2",slot:"4"}]}]}]},{N:"nextIteration",line:"803", -C:[{N:"withParam",name:"Q{}common",as:"1",slot:"3",C:[{N:"dot",line:"804",type:"1AS"}]},{N:"withParam",name:"Q{}this2",slot:"4",C:[{N:"tail",line:"805",start:"2",C:[{N:"varRef",name:"Q{}this2",slot:"4"}]}]}]},{N:"true"},{N:"sequence",line:"809",C:[{N:"varRef",name:"Q{}common",slot:"3"},{N:"break"}]}]}]}]}]}]}]}]}]},{N:"co",id:"293",binds:"",C:[{N:"function",name:"Q{MyTypes}allowsZeroNEW",line:"131",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"1AS"},{N:"fn", -role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"133",name:"contains",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"133",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"133",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"133",name:"Q{}cardinality", -slot:"0"}]},{N:"str",val:"1"},{N:"compareToString",line:"133",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"133",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"str",val:"Z"}]}]}]},{N:"co",id:"294",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.EXACTLY_ONE",as:"1ADI",line:"112",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co", -id:"1",binds:"0",C:[{N:"function",name:"Q{MyTypes}unmarshalType",line:"68",module:"sequenceType.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"70",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType0",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]}]}]},{N:"co",id:"295",binds:"1 118",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_ITEM", -as:"1AS",line:"46",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"46",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_ITEM",bSlot:"1"}]}]}]},{N:"co",id:"296",binds:"1 278",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_UNTYPED_ATOMIC",as:"1AS",line:"61",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"61",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_UNTYPED_ATOMIC",bSlot:"1"}]}]}]},{N:"co",id:"245",binds:"106 106 48 170 29 190 22 22",C:[{N:"mode",name:"Q{}compile",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"1.5",seq:"374",rank:"1",minImp:"0",slots:"10",matches:"NE",flags:"s",line:"351",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"}, -{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"352",C:[{N:"param",name:"Q{}stylesheet-base-uri",slot:"0",flags:"t",as:"?AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot", -type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"353",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check", -card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"354",name:"Q{}defaultHTML5",slot:"2",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"356",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options", -slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"357",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting static processing for"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"baseURI:"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"359","var":"Q{}static-processed",as:"1ND",slot:"3",C:[{N:"doc",line:"360",C:[{N:"copy", -flags:"cinl",sit:"1NE",C:[{N:"let",role:"content",line:"361","var":"Q{}shadows",as:"*NA",slot:"4",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"362",C:[{N:"applyT",mode:"Q{}static",bSlot:"0",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"4"}]}]}]},{N:"applyT", -line:"364",mode:"Q{}static",bSlot:"1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"4"}]},{N:"att",line:"365",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef", -name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"2"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"choose",line:"366",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"att",line:"367",name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"let",line:"369","var":"Q{}temp",as:"1FM",slot:"6",C:[{N:"treat",line:"370",as:"FM",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"3",C:[{N:"dot",role:"select",type:"1NE",flags:"a"},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"check",line:"372",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri", -C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"0"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]}]}]}]},{N:"lookup",line:"375",C:[{N:"varRef",name:"Q{}temp",slot:"6"},{N:"str",val:"components"}]}]}]}]}]}]},{N:"sequence",line:"379",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"380",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Static processed:"},{N:"fn",name:"serialize", -C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"382",C:[{N:"lookup",line:"383",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justStatic"}]},{N:"copyOf",line:"384",flags:"c",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]},{N:"true"},{N:"sequence",line:"387",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"statistics"}]}, -{N:"message",line:"388",C:[{N:"sequence",role:"select",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",val:" declarations\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}, -{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"str",val:"\n attributes "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef", -name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}]}]}]},{N:"str",val:" ex:* attributes "}]}]},{N:"let",line:"392","var":"Q{}largest",as:"?ADI",slot:"7",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"sequence", -line:"388",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"\n "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}largest",slot:"7"}]}]},{N:"str",val:" largest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"varRef", -line:"389",name:"Q{}largest",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"let",line:"396","var":"Q{}deepest",as:"?ADI",slot:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor",nodeTest:"NE"}]}]}]},{N:"valueOf",line:"388",C:[{N:"fn",name:"concat",C:[{N:"str",val:" "},{N:"fn",name:"string", -C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}deepest",slot:"8"}]}]},{N:"str",val:"\n deepest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",comp:"CAVC",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"axis",name:"descendant",nodeTest:"NE"},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor",nodeTest:"NE"}]}]}]},{N:"varRef",line:"389", -name:"Q{}deepest",slot:"8"}]}]}]}]}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"400",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"401",C:[{N:"str",role:"select",val:"Starting Normalization"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"403","var":"Q{}normalized", -slot:"9",C:[{N:"applyT",line:"404",mode:"Q{}normalize",bSlot:"4",C:[{N:"varRef",role:"select",name:"Q{}static-processed",slot:"3"},{N:"withParam",name:"Q{}allowSyntaxExtensions",flags:"t",as:"1",C:[{N:"first",line:"408",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"allowSyntaxExtensions"}]},{N:"false"}]}]}]}]},{N:"choose",line:"411",C:[{N:"lookup",line:"412",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justNormalize"}]},{N:"varRef",line:"413", -name:"Q{}normalized",slot:"9"},{N:"true"},{N:"sequence",line:"416",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"417",C:[{N:"str",role:"select",val:"Starting XSLT compiling"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"419",mode:"Q{}sef.top",flags:"t",bSlot:"5",C:[{N:"varRef",role:"select",name:"Q{}normalized",slot:"9"}]}]}]}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"1.0",seq:"375",rank:"0",minImp:"0",slots:"6",matches:"NE",flags:"s",line:"427",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE"},{N:"p.nodeTest",test:"ND"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"428",C:[{N:"param", -name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"429",name:"Q{}defaultHTML5",slot:"1",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5", -C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"431","var":"Q{}embedded",as:"*NE",slot:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform]"},{N:"let",line:"432","var":"Q{}stylesheet-base-uri",as:"1AU",slot:"3",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|stylesheet-base-uri",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"choose", -line:"434",C:[{N:"fn",line:"435",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}embedded",slot:"2"}]}]},{N:"ufCall",line:"438",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"6",C:[{N:"str",val:"XTSE0150"},{N:"str",val:"There must not be more than one embedded stylesheet in a document"},{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",line:"440",name:"exists",C:[{N:"varRef",name:"Q{}embedded",slot:"2"}]},{N:"let",line:"449","var":"Q{}temp",as:"1ND",slot:"4",C:[{N:"doc",line:"450", -C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",line:"442",simple:"1",C:[{N:"doc",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}embedded",slot:"2"},{N:"copy",line:"443",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"444",C:[{N:"att",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"copyOf",line:"445",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf", -line:"445",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]},{N:"axis",line:"450",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"first",line:"452",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"3"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]}]},{N:"slash",line:"456",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"true"},{N:"sequence", -line:"459",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"ufCall",line:"467",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"7",C:[{N:"str",val:"XTSE0150"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}package"}]},{N:"str",val:"Supplied stylesheet is a SEF package"},{N:"true"},{N:"str",val:"Simplified stylesheet root element lacks @xsl:version"}]}, -{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"481","var":"Q{}processed",as:"1ND",slot:"5",C:[{N:"treat",line:"482",as:"ND",diag:"3|0|XTTE0570|processed",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",line:"470",simple:"1",C:[{N:"doc",C:[{N:"elem",line:"471",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"att",line:"472",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"474",name:"xsl:template",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"match",flags:"l",C:[{N:"str",val:"/"}]},{N:"copy",line:"475",flags:"cinl",sit:"1NE", -C:[{N:"sequence",role:"content",line:"476",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"axis",line:"482",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"varRef",line:"484",name:"Q{}stylesheet-base-uri",slot:"3"}]}]}]}]},{N:"slash",line:"487",simple:"1",C:[{N:"varRef",name:"Q{}processed",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"297",binds:"", -C:[{N:"globalVariable",name:"Q{}XTTE0510",as:"1AQ",line:"342",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"}]}]},{N:"co",id:"143",binds:"1 179",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_STRING",as:"1AS",line:"60",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"60",name:"Q{MyTypes}unmarshalType", -tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_STRING",bSlot:"1"}]}]}]},{N:"co",id:"192",binds:"22 237 43 11 11",C:[{N:"mode",name:"Q{}serialization-property",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.25",seq:"204",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}*",flags:"s",line:"112",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"empty",role:"action"}]}, -{N:"templateRule",prec:"0",prio:"-0.5",seq:"205",rank:"0",minImp:"0",slots:"1",matches:"NA",flags:"s",line:"114",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"115",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check", -card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"117",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]}]}]},{N:"ufCall",line:"120",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE1560"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output declarations contain conflicting values for property "}, -{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:":"}]},{N:"fn",name:"string-join",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]},{N:"str",val:","}]}]},{N:"first",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]}]},{N:"choose",line:"122",C:[{N:"and",line:"123",op:"and",C:[{N:"compareToString",op:"eq",val:"version",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",name:"not",C:[{N:"fn", -name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"125",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"and",line:"127",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"1"},{N:"fn",name:"local-name", -C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"129",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"fn",line:"131",name:"namespace-uri",C:[{N:"dot", -type:"1NA",flags:"a"}]},{N:"elem",line:"133",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"2",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"206",part:"1",rank:"2",minImp:"0",slots:"7",matches:"NA nQ{}suppress-indentation",flags:"s",line:"138",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}suppress-indentation"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"139",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat", -role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check",card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"140","var":"Q{}decl",as:"*N u[NE,ND]",slot:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"5",flags:"l",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:EQName",C:[{N:"fn",name:"namespace-uri-for-prefix", -C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"4"}]}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"6",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"4"}]},{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA", -flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}group",slot:"0"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"3",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", -slot:"6"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"206",rank:"2",minImp:"0",slots:"7",matches:"NA nQ{}cdata-section-elements",flags:"s",line:"138",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}cdata-section-elements"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"139",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check",card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"140","var":"Q{}decl",as:"*N u[NE,ND]",slot:"1",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"2",flags:"l",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped", -to:"AS",diag:"0|3||f:EQName",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"1"}]}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"3",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"1"}]},{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name", -flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}group",slot:"0"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"4",C:[{N:"dot", -type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"2"}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"31",binds:"",C:[{N:"function",name:"Q{MyFunctions}selectAndContent",line:"22",module:"normalize4.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}instruction",as:"1NE"},{N:"and",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"24",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}instruction",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"exists",C:[{N:"slash",C:[{N:"varRef",name:"Q{}instruction",slot:"0"},{N:"sequence",C:[{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}fallback]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string", -C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"298",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.OVERLAPS",as:"1AS",line:"166",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"OV"}]}]},{N:"co",id:"299",binds:"52",C:[{N:"function",name:"Q{MyFunctions}diagnostic",line:"284",module:"lib.xsl",flags:"pU",as:"1NA",slots:"4",C:[{N:"arg",name:"Q{}kind",as:"*"},{N:"arg",name:"Q{}operand",as:"*"},{N:"arg",name:"Q{}error.code",as:"*"},{N:"arg",name:"Q{}operation",as:"*"}, -{N:"att",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"atomSing",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}kind",slot:"0"}]}]}]},{N:"fn", -name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}operand",slot:"1"}]}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"varRef",name:"Q{}error.code",slot:"2"}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"varRef",name:"Q{}operation",slot:"3"}]}]},{N:"str",val:"|"}]}]}]}]},{N:"co",id:"261",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg418646126",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:remove-attribute/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"300",binds:"",C:[{N:"function",name:"Q{MyTypes}isNumeric",line:"436",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg", -name:"Q{}alphaCode",as:"1AS"},{N:"or",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"438",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str", -val:"AF"}]}]}]}]},{N:"co",id:"266",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg271588719",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-attribute/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"273",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1081126121",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE1100"},{N:"str",val:"group-adjacent"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"129",binds:"125 129 132 1 69 7 129 129 129",C:[{N:"template",name:"Q{}process-variables",flags:"os",line:"654",module:"xpath.xsl",slots:"14", -C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"655",C:[{N:"param",name:"Q{}no.slots",slot:"0",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data", -diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"656",name:"Q{}local.variables",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"657",name:"Q{}parts",slot:"2",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|parts",C:[{N:"supplied", -slot:"2"}]}]},{N:"param",line:"658",name:"Q{}make.baseUri.explicit",slot:"3",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"data",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"659",name:"Q{}static-base-uri",slot:"4",flags:"t",C:[{N:"str", -role:"select",val:"dummy-base-uri"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"let",line:"660","var":"Q{}h",slot:"5",C:[{N:"applyT",line:"661",mode:"Q{}process-xpath",bSlot:"0",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]},{N:"let",line:"665","var":"Q{}make.baseUri.explicit",as:"1AB",slot:"6",C:[{N:"or",op:"or",C:[{N:"varRef",name:"Q{}make.baseUri.explicit",slot:"3"},{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef", -name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}baseUri"}]}]}]},{N:"choose",line:"666",C:[{N:"fn",line:"667",name:"empty",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"empty"},{N:"filter",line:"669",flags:"b",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}let"}]},{N:"fn",name:"exists",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}var"}]}]}]}]},{N:"let",line:"675","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1ADI",slot:"7",flags:"l",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"0"},{N:"int",val:"1"}]},{N:"let",line:"674","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*NE",slot:"8",flags:"l",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]},{N:"forEach",line:"670",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"let",line:"671","var":"Q{}rest", -as:"*NE",slot:"9",C:[{N:"treat",line:"673",as:"NE",diag:"3|0|XTTE0570|rest",C:[{N:"callT",name:"Q{}process-variables",bSlot:"1",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"varRef",line:"674",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"varRef",line:"675",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"7"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"678",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", -type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",line:"672",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}var"}]}]},{N:"sequence",C:[{N:"dot"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"attVal",name:"Q{}slot"}]}]},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"679",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"let",line:"682","var":"Q{}rest",as:"*NE",slot:"10",C:[{N:"choose",line:"683",C:[{N:"fn",line:"685",name:"empty",C:[{N:"varRef",name:"Q{}rest",slot:"9"}]},{N:"elem",line:"686",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE", -bSlot:"2"}]}]},{N:"true"},{N:"varRef",line:"689",name:"Q{}rest",slot:"9"}]},{N:"let",line:"694","var":"Q{}slot",as:"?NA",slot:"11",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]},{N:"let",line:"703","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"?AZ",slot:"12",flags:"l",C:[{N:"data",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}slot",slot:"11"}]},{N:"let",line:"699","var":"Q{}compound-type",slot:"13",C:[{N:"ufCall", -name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"4",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"5",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"sequence",line:"701",C:[{N:"choose",line:"703",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:varRef"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}slot"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"12"}]}]}]},{N:"copy",line:"704",flags:"in",sit:"1", -C:[{N:"sequence",role:"content",line:"705",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"707",name:"sType",flags:"l",C:[{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"707",name:"Q{}compound-type",slot:"13"},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"slash",line:"708",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"choose",line:"709",C:[{N:"compareToInt",line:"710",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"filter",line:"711",flags:"b", -C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]},{N:"true"},{N:"elem",line:"714",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}compound-type",slot:"13"}]},{N:"filter",line:"715",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]}]}]}, -{N:"compareToInt",line:"723",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"filter",line:"724",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]},{N:"true"},{N:"elem",line:"727",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType", -flags:"l",C:[{N:"varRef",name:"Q{}compound-type",slot:"13"}]},{N:"filter",line:"728",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]},{N:"filter",line:"696",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]}]}]}]}]}]}]},{N:"filter",line:"737",flags:"b",C:[{N:"varRef", -name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}]}]}]},{N:"sequence",line:"738",C:[{N:"copyOf",flags:"c",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"callT",line:"740",name:"Q{}process-variables",bSlot:"6",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"741",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]}, -{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"check",line:"743",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}, -{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]}]},{N:"int",val:"1"}]}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"746",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",C:[{N:"dot", -flags:"a"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}slot"}]}]},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"747",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"filter",line:"750",flags:"b", -C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}param"}]}]}]},{N:"sequence",line:"752",C:[{N:"copyOf",flags:"c",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"callT",line:"754",name:"Q{}process-variables",bSlot:"7",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"755",start:"2",C:[{N:"varRef",name:"Q{}parts", -slot:"2"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"758",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",line:"753",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"cast",flags:"ae",as:"?ADI", -C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]}]}]}]}]},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists", -C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"check",line:"759",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"check",card:"?",diag:"1|0||+",C:[{N:"slash", -C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]}]},{N:"int",val:"1"}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"760",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"true"},{N:"sequence",line:"764",C:[{N:"choose",C:[{N:"varRef",line:"765",name:"Q{}make.baseUri.explicit",slot:"6"},{N:"forEach",line:"766",C:[{N:"check",card:"?",diag:"4|0|XTTE3180|xsl:copy/select", -C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"copy",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"767",C:[{N:"copyOf",flags:"c",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]}]},{N:"att",line:"768",name:"baseUri", -flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}static-base-uri",slot:"4"}]}]}]},{N:"str",val:" "}]}]},{N:"copyOf",line:"769",flags:"c",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}, -{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"773",name:"Q{}h",slot:"5"}]},{N:"callT",line:"776",name:"Q{}process-variables",bSlot:"8",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"777",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"778",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]}]}]}]}]}]}]},{N:"co",id:"26",binds:"301",C:[{N:"globalVariable", -name:"Q{http://saxon.sf.net/generated-variable}gg1033972644",as:"*NE",line:"130",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"slash",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",simple:"1",C:[{N:"gVarRef",name:"Q{}type.hierarchy.tree",bSlot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"co",id:"173",binds:"",C:[{N:"function",name:"Q{MyFunctions}isInstance",line:"607",module:"type.xsl",flags:"pU",as:"1AB",slots:"2", -C:[{N:"arg",name:"Q{}a",as:"1"},{N:"arg",name:"Q{}type",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"611",C:[{N:"compareToString",line:"612",op:"eq",val:"AB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"613",of:"1AB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"616",op:"eq",val:"AS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", -line:"617",of:"1AS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"619",op:"eq",val:"ASN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"620",of:"1ASN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"622",op:"eq",val:"ASNT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"623",of:"1ASNT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"625",op:"eq",val:"ASNTL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", -line:"626",of:"1ASNTL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"628",op:"eq",val:"ASNTM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"629",of:"1ASNTK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"631",op:"eq",val:"ASNTN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"632",of:"1ASNTN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"634",op:"eq",val:"ASNTNC",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", -line:"635",of:"1ASNTNC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"637",op:"eq",val:"ASNTNCR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"638",of:"1ASNTNCR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"640",op:"eq",val:"ASNTNCE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"641",of:"1ASNTNCE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"643",op:"eq",val:"ASNTNCI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]}, -{N:"instance",line:"644",of:"1ASNTNCI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"647",op:"eq",val:"AQ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"648",of:"1AQ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"650",op:"eq",val:"AU",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"651",of:"1AU",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"653",op:"eq",val:"AA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", -line:"654",of:"1AA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"656",op:"eq",val:"AM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"657",of:"1AM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"659",op:"eq",val:"AMP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"660",of:"1AMP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"662",op:"eq",val:"AT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"663", -of:"1AT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"665",op:"eq",val:"AR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"666",of:"1AR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"668",op:"eq",val:"ARD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"669",of:"1ARD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"671",op:"eq",val:"ARY",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"672",of:"1ARY", -C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"674",op:"eq",val:"AG",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"675",of:"1AG",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"677",op:"eq",val:"AH",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"678",of:"1AH",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"680",op:"eq",val:"AI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"681",of:"1AI",C:[{N:"varRef", -name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"683",op:"eq",val:"AJ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"684",of:"1AJ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"686",op:"eq",val:"AK",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"687",of:"1AK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"690",op:"eq",val:"AD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"691",of:"1AD",C:[{N:"varRef",name:"Q{}a", -slot:"0"}]},{N:"compareToString",line:"693",op:"eq",val:"ADI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"694",of:"1ADI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"696",op:"eq",val:"ADIN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"697",of:"1ADIN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"699",op:"eq",val:"ADINN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"700",of:"1ADINN",C:[{N:"varRef",name:"Q{}a", -slot:"0"}]},{N:"compareToString",line:"702",op:"eq",val:"ADIP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"703",of:"1ADIP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"705",op:"eq",val:"ADIPP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"706",of:"1ADIPP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"708",op:"eq",val:"ADIPL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"709",of:"1ADIPL",C:[{N:"varRef",name:"Q{}a", -slot:"0"}]},{N:"compareToString",line:"711",op:"eq",val:"ADIPLI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"712",of:"1ADIPLI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"714",op:"eq",val:"ADIPLIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"715",of:"1ADIPLIS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"717",op:"eq",val:"ADIPLISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"718",of:"1ADIPLISB",C:[{N:"varRef", -name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"720",op:"eq",val:"ADIL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"721",of:"1ADIL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"723",op:"eq",val:"ADILI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"724",of:"1ADILI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"726",op:"eq",val:"ADILIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"727",of:"1ADILIS",C:[{N:"varRef", -name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"729",op:"eq",val:"ADILISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"730",of:"1ADILISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"733",op:"eq",val:"AO",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"734",of:"1AO",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"736",op:"eq",val:"AF",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"737",of:"1AF",C:[{N:"varRef", -name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"739",op:"eq",val:"A2",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"740",of:"1A2",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"742",op:"eq",val:"AX",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"743",of:"1AX",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"745",op:"eq",val:"AZ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"746",of:"1AZ",C:[{N:"varRef",name:"Q{}a", -slot:"0"}]},{N:"compareToString",line:"749",op:"eq",val:"N",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"750",of:"1N",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"752",op:"eq",val:"NE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"753",of:"1NE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"755",op:"eq",val:"NA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"756",of:"1NA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]}, -{N:"compareToString",line:"758",op:"eq",val:"NT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"759",of:"1NT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"761",op:"eq",val:"NC",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"762",of:"1NC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"764",op:"eq",val:"NP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"765",of:"1NP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"767",op:"eq",val:"ND",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"768",of:"1ND",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"770",op:"eq",val:"NN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"771",of:"1NN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"774",op:"eq",val:"F",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"775",of:"1F",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"777", -op:"eq",val:"FM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"778",of:"1FM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"780",op:"eq",val:"FA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"781",of:"1FA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"true"},{N:"true"}]}]}]},{N:"co",id:"65",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_ATOMIC",as:"1FM k[AS] v[1AS]",line:"15",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2", -C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"302",binds:"",C:[{N:"function",name:"Q{MyFunctions}path",line:"403",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"405",C:[{N:"fn",line:"406",name:"exists",C:[{N:"slash", -simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}loc"}]}]},{N:"convert",line:"406",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"instance",line:"407",of:"1NA",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}, -{N:"convert",line:"407",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/@"},{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}]}]}]}]},{N:"true"},{N:"convert",line:"408", -from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}]}]}]}]}]}]},{N:"co",id:"303",binds:"",C:[{N:"function",name:"Q{MyTypes}withCardinality",line:"317",module:"type.xsl",flags:"pU",as:"1FM",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}indicator",as:"1AS"},{N:"ifCall",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"o"},{N:"varRef",name:"Q{}indicator",slot:"1"}]},{N:"str",val:"code"}]}]}]},{N:"co",id:"304",binds:"48",C:[{N:"function",name:"Q{MyFunctions}recover-namespaces",line:"63",module:"namespaces.xsl",flags:"pU",as:"?FM",slots:"4",C:[{N:"arg",name:"Q{}context",as:"*"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"65","var":"Q{}ns",as:"?NA",slot:"1",C:[{N:"lastOf",C:[{N:"slash",simple:"2",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, -{N:"choose",line:"72",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"1"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespaces"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"varRef",name:"Q{}ns", -slot:"1"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"2",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"3",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"2"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"varRef",name:"Q{}prefix",slot:"2"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"3"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]}]}]}]},{N:"co",id:"195",binds:"38 164 126 48 124 15 164 48 126 212 15 164",C:[{N:"mode",name:"Q{}sef.global",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"3.6",seq:"365", -rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"360",rank:"8",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"356",rank:"7",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"352",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"82",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"349",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"75",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"345",rank:"5",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"341",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute", -nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03", -seq:"337",rank:"3",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"333",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"382",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1607",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate", -role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1607",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1608",flags:"t",C:[{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"1610",op:"lt",comp:"CAVC",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"dec",val:"2"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"384",rank:"0",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1616",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate", -role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1616",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1617",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"1619","var":"Q{}has-uniform-static-context", -as:"1AB",slot:"3",C:[{N:"ufCall",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"elem",line:"1620",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context", -slot:"3"}]}]},{N:"elem",line:"1622",name:"globalParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef", -name:"Q{}SJ.ANY_SEQUENCE",bSlot:"2"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose", -line:"1623",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1624",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"choose",line:"1626",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]},{N:"str",val:"true"}]},{N:"att", -line:"1627",name:"flags",flags:"l",C:[{N:"str",val:"r"}]}]},{N:"choose",line:"1629",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}implicit-mandatory"}]},{N:"str",val:"true"}]},{N:"att",line:"1630",name:"flags",flags:"l",C:[{N:"str",val:"i"}]}]},{N:"att",line:"1632",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}, -{N:"axis",line:"1633",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"1634",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1", -C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"3"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1635",mode:"Q{}param.type",bSlot:"4",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"applyT",line:"1637",mode:"Q{}select.or.sequence",bSlot:"5",C:[{N:"dot", -role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"varRef",line:"1639",name:"Q{}has-uniform-static-context",slot:"3"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"385",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"1682",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}, -{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1682",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1683",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"1688",name:"co", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"ufCall",line:"1685",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]},{N:"elem",line:"1691",name:"globalVariable",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1", -C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"7"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}, -{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"8"},{N:"true"},{N:"gVarRef",name:"Q{}SJ.OPTIONAL_DOCUMENT",bSlot:"9"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"choose",line:"1692",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1693",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"axis",line:"1695",name:"attribute", -nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"axis",line:"1695",name:"attribute",nodeTest:"NA nQ{}as"},{N:"applyT",line:"1697",mode:"Q{}select.or.sequence",bSlot:"10",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"1698",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1700",name:"Q{MyFunctions}has-uniform-static-context", -tailCall:"false",bSlot:"11",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"305",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SUBSUMED_BY",as:"1AS",line:"164",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"LT"}]}]},{N:"co",id:"255",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}COLON",as:"1ADI",line:"19",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"58"}]}]},{N:"co",id:"58", -binds:"",C:[{N:"function",name:"Q{MyTypes}cardinalityRelationship",line:"69",module:"type.xsl",flags:"pU",as:"*",slots:"4",C:[{N:"arg",name:"Q{}required",as:"1AS"},{N:"arg",name:"Q{}supplied",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"72",C:[{N:"vc",line:"73",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"varRef",name:"Q{}supplied", -slot:"1"}]},{N:"str",val:"EQ"},{N:"compareToString",line:"76",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"GT"},{N:"true"},{N:"let",line:"80","var":"Q{}R",slot:"2",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"80",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"80",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"80",name:"Q{}required", -slot:"0"}]},{N:"str",val:"1"},{N:"compareToString",line:"80",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"80",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"let",line:"81","var":"Q{}S",slot:"3",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"81",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"81",op:"eq", -val:"+",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"81",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"1"},{N:"compareToString",line:"81",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"81",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"choose",line:"91",C:[{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}R",slot:"2"}, -{N:"varRef",name:"Q{}S",slot:"3"}]},{N:"str",val:"GT"},{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}S",slot:"3"},{N:"varRef",name:"Q{}R",slot:"2"}]},{N:"str",val:"LT"},{N:"true"},{N:"str",val:"OV"}]}]}]}]}]}]},{N:"co",id:"134",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg638404853",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE1020"},{N:"str",val:"sort"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"138",binds:"138",C:[{N:"function",name:"Q{MyFunctions}requiresNodeTest",line:"1180",module:"xpath.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg", -name:"Q{}node",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1191",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}axis,NE nQ{http://ns.saxonica.com/xslt/export}root]"}]}]},{N:"true"}, -{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}slash"}]}]},{N:"ufCall",name:"Q{MyFunctions}requiresNodeTest",tailCall:"self",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:requiresNodeTest",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"false"}]}]}]}]},{N:"co",id:"272",binds:"1 97",C:[{N:"globalVariable",name:"Q{}SJ.MULIPLE_ATTRIBUTE", -as:"1AS",line:"57",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"57",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_ATTRIBUTE",bSlot:"1"}]}]}]},{N:"co",id:"139",binds:"1 88",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_MAP",as:"1AS",line:"62",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"62",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_MAP",bSlot:"1"}]}]}]},{N:"co",id:"306",binds:"",C:[{N:"function",name:"Q{MyFunctions}is-last",line:"257",module:"lib.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}context",as:"*"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"259", -name:"empty",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"axis",name:"following-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}fallback,NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]}]}]}]}]},{N:"co",id:"117",binds:"301",C:[{N:"globalVariable",name:"Q{}types",as:"1FM k[AS] v[1FM]",line:"415",module:"type.xsl",slots:"6", -visibility:"PRIVATE",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"417",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"gVarRef",name:"Q{}type.hierarchy.tree",bSlot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"let",line:"418","var":"Q{}isAtomic",as:"1AB",slot:"2",C:[{N:"fn",name:"starts-with", -C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:"xs:"}]},{N:"let",line:"419","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"3",flags:"l",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isAtomic",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"filter",flags:"ib",C:[{N:"str",val:"()"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", -slot:"3"}]}]},{N:"ifCall",line:"425",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"supertypes"},{N:"slash",C:[{N:"fn",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE"},{N:"axis",name:"ancestor",nodeTest:"NE"}]}]},{N:"let","var":"Q{}n",slot:"4",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1", -as:"1AB",slot:"5",flags:"l",C:[{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}n",slot:"4"},{N:"str",val:"xs:"}]}]},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}n",slot:"4"},{N:"filter",flags:"ib",C:[{N:"str",val:"()"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]}]}]}]}]},{N:"ifCall",line:"426",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"isPlain"},{N:"varRef",name:"Q{}isAtomic",slot:"2"}]}]},{N:"map", -size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"empty-sequence()"},{N:"map",size:"1",C:[{N:"str",val:"isPlain"},{N:"false"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"307",binds:"307",C:[{N:"function",name:"Q{MyFunctions}closure2",line:"631",module:"XSLT-SEF-compiler.xsl", -flags:"pU",as:"*",slots:"6",C:[{N:"arg",name:"Q{}current",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"arg",name:"Q{}found",as:"*AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"639","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"3",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}found", -slot:"2"},{N:"str",val:", "}]},{N:"let",line:"635","var":"Q{}next",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"varRef",name:"Q{}current",slot:"0"}]},{N:"sequence",line:"636",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}next",slot:"4"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"varRef", -name:"Q{}found",slot:"2"}]}]},{N:"fn",line:"639",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1600"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Circular definition of character map "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot"}]}]},{N:"str",val:" via character maps "}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]},{N:"choose",line:"647",C:[{N:"fn",name:"exists",C:[{N:"varRef", -name:"Q{}next",slot:"4"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"*AS",slot:"5",flags:"l",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}found",slot:"2"},{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|2||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:closure2",C:[{N:"data",diag:"0|2||f:closure2",C:[{N:"varRef",name:"Q{}next",slot:"4"}]}]}]}]},{N:"forEach",C:[{N:"varRef",name:"Q{}next",slot:"4"},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"0",C:[{N:"check", -card:"1",diag:"0|0||f:closure2",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"data",diag:"0|0||f:closure2",C:[{N:"dot"}]}]}]}]},{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}found",slot:"2"}]}]}]}]}]}]},{N:"co",id:"193",binds:"307",C:[{N:"function",name:"Q{MyFunctions}closure2",line:"625",module:"XSLT-SEF-compiler.xsl", -flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}current",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"628",C:[{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}current",slot:"0"},{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"empty"}]}]}]}]}, -{N:"co",id:"308",binds:"102",C:[{N:"globalVariable",name:"Q{}declaration-names",as:"*AS",line:"289",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"289",C:[{N:"gVarRef",name:"Q{}top-level-declarations",bSlot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"co",id:"309",binds:"48",C:[{N:"function",name:"Q{MyFunctions}encode-namespaces", -line:"44",module:"namespaces.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"46",C:[{N:"fn",line:"47",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48", -card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, -{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", -val:" "}]}]}]}]},{N:"co",id:"172",binds:"38",C:[{N:"function",name:"Q{MyFunctions}boolean-string",line:"50",module:"lib.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}input",as:"?NA"},{N:"arg",name:"Q{}default",as:"1AB"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"59",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef", -name:"Q{}input",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"foreign",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]},{N:"true"},{N:"varRef",name:"Q{}default",slot:"1"}]}]}]}]},{N:"co",id:"258",binds:"22",C:[{N:"function",name:"Q{MyFunctions}check-iterate",line:"138",module:"repetition.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}instruction",as:"*"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"140",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"ufCall",line:"141",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/", -C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1N"}]}]}]},{N:"str",val:" can only be the descendant of xsl:iterate"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]}]}]}]}]}]}]},{N:"co",id:"38",binds:"22",C:[{N:"function",name:"Q{MyFunctions}boolean-string",line:"36",module:"lib.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}input",as:"1NA"},{N:"choose", -role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"1"},{N:"str",val:"yes"},{N:"str",val:"true"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", -diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"true"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"no"},{N:"str",val:"false"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"false"},{N:"true"}, -{N:"treat",as:"AB",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"cvUntyped",to:"AB",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"data",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]},{N:"str",val:"' is not a valid boolean keyword"}]}, -{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]}]}]}]},{N:"co",id:"21",binds:"22 22",C:[{N:"template",name:"Q{}process-decimal-format",flags:"os",as:"*NA",line:"73",module:"decimal-format.xsl",slots:"0",C:[{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"76",C:[{N:"filter",flags:"b",C:[{N:"except",op:"except",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{http://ns.saxonica.com/xslt/export}*,NA nQ{}name]"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:":"},{N:"str",val:""}]}]}]},{N:"compAtt",line:"89",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"fn",role:"select", -name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"infinity"},{N:"str",val:"NaN"}]},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"data",C:[{N:"dot",type:"1NA"}]},{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"string-length",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-length",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-length",C:[{N:"data",diag:"0|0||fn:string-length", -C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Value must be a single character - value supplied is '"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:"'"}]},{N:"dot",type:"1NA"}]}]}]},{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"zero-digit",C:[{N:"fn",name:"local-name", -C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"str",val:"0\u0660\u06f0\u0966\u09e6\u0a66\u0ae6\u0b66\u0be6\u0c66\u0ce6\u0d66\u0e50\u0ed0\u0f20\u1040\u17e0\u1810\u1946\u19d0\uff10\ud801\udca0\ud835\udfce\ud835\udfd8\ud835\udfe2\ud835\udfec\ud835\udff6"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|1||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:contains",C:[{N:"data",diag:"0|1||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"data",C:[{N:"mergeAdj", -C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE1295"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:decimal-format/@zero-digit must be a digit character with value zero - value supplied is codepoint '"},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints", -C:[{N:"data",diag:"0|0||fn:string-to-codepoints",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"str",val:"'"}]},{N:"dot",type:"1NA"}]}]}]},{N:"true"},{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"data",diag:"0|0||fn:string-to-codepoints",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"co",id:"238",binds:"228 156 157 1 69 7 156 157",C:[{N:"function", -name:"Q{MyFunctions}typeCheckLiteral",line:"1034",module:"type.xsl",flags:"pU",as:"*",slots:"8",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"forEach",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1039",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"copy",line:"1040",flags:"cin",sit:"1NE",C:[{N:"let",role:"content", -line:"1041","var":"Q{}parts",as:"*NE",slot:"3",C:[{N:"treat",line:"1042",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"ufCall",line:"1043",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"0",C:[{N:"dot",type:"1NE"},{N:"let","var":"Q{}inst",as:"1NE",slot:"4",C:[{N:"dot",type:"1NE"},{N:"let",line:"1011","var":"Q{}name",as:"1AS",slot:"5",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"4"}]},{N:"choose",line:"1014",C:[{N:"compareToString", -op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"ifCall",line:"1015",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"}, -{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"ifCall",line:"1022",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"fn",name:"normalize-space", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"4"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str", -val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"1"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"2"},{N:"varRef",name:"Q{}name",slot:"5"}]}]}]}]}]},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]}]}]},{N:"sequence",line:"1047", -C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"1053",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"4",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}parts",slot:"3"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"5",C:[{N:"check", -card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"true"},{N:"let","var":"Q{}inst",as:"1NE",slot:"6",C:[{N:"dot",type:"1NE"},{N:"let",line:"1011","var":"Q{}name",as:"1AS",slot:"7",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"6"}]},{N:"choose",line:"1014",C:[{N:"compareToString",op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"7"}]}, -{N:"ifCall",line:"1015",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, -{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"7"}]},{N:"ifCall",line:"1022",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"6"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"7"}]}, -{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"6"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"7"},{N:"varRef",name:"Q{}name",slot:"7"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"1054",name:"Q{}parts",slot:"3"}]}]}]}]}]}]},{N:"co",id:"310",binds:"1 112",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_URI",as:"1AS",line:"55",module:"sequenceType.xsl", -visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"55",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_URI",bSlot:"1"}]}]}]},{N:"co",id:"126",binds:"1 85",C:[{N:"globalVariable",name:"Q{}SJ.ANY_SEQUENCE",as:"1AS",line:"43",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"43",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"1"}]}]}]},{N:"co",id:"140",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg938941445",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join", -C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE3375"},{N:"str",val:"xsl:map"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"311",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ONE",as:"1ADI",line:"106",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co", -id:"312",binds:"233",C:[{N:"function",name:"Q{MyTypes}allowsMany",line:"123",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"*"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"125",card:"1",diag:"5|0|XTTE0780|t:allowsMany#1",C:[{N:"vc",op:"ge",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?", -diag:"1|0||ge",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"gVarRef",name:"Q{}StaticProperty.ALLOWS_MANY",bSlot:"0"}]}]}]}]},{N:"co",id:"313",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_DOUBLE",as:"1FM k[AS] v[1AS]",line:"17",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AO"}]}]}]},{N:"co",id:"39",binds:"",C:[{N:"function",name:"Q{MyFunctions}isTopLevel",line:"775",module:"normalize.xsl",flags:"pU", -as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"slash",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"777",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}, -{N:"co",id:"264",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg19873741",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", -C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-style/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"259",binds:"15 79 150",C:[{N:"template",name:"Q{}constructSimpleContent",flags:"os",as:"1NE",line:"299",module:"creating-new-nodes.xsl",slots:"3",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"300",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"322","var":"Q{}parts",as:"1",slot:"1",C:[{N:"check",line:"323",card:"1",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",mode:"Q{}select.or.sequence",bSlot:"0",C:[{N:"dot",role:"select",flags:"a"}]}]},{N:"elem",line:"326", -name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string-join"}]},{N:"lookup",line:"327",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"1"},{N:"str",val:"select"}]},{N:"let",line:"328","var":"Q{}content",as:"1NE",slot:"2",C:[{N:"elem",line:"329",name:"constructSimpleContent",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"330",name:"Q{}parts",slot:"1"}]},{N:"sequence",line:"333",C:[{N:"choose",C:[{N:"and", -line:"334",op:"and",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"backward-compatibility"}]},{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]}]}]},{N:"elem",line:"335",name:"first",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"336",name:"Q{}content",slot:"2"}]},{N:"true"},{N:"varRef",line:"340",name:"Q{}content",slot:"2"}]}, -{N:"choose",line:"343",C:[{N:"fn",line:"344",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}comment,NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction],NE nQ{http://www.w3.org/1999/XSL/Transform}namespace]"}]}]},{N:"elem",line:"345",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str", -val:" "}]}]},{N:"fn",line:"347",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}separator"}]}]}]},{N:"str",val:"{"}]}]}]},{N:"forEach",line:"348",C:[{N:"slash", -simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"callT",line:"349",name:"Q{}value-template",bSlot:"2"}]},{N:"fn",line:"352",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]}]},{N:"elem",line:"353",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}separator"}]}]}]}]},{N:"true"},{N:"elem",line:"356",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"choose",C:[{N:"fn",line:"325",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"str",val:" "}, -{N:"true"},{N:"str",val:""}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"233",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_MANY",as:"1ADI",line:"107",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"4"}]}]},{N:"co",id:"196",binds:"",C:[{N:"function",name:"Q{MyFunctions}timestamp",line:"22",module:"lib.xsl",flags:"pU",as:"1AMP",slots:"0",C:[{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"23",name:"Q{http://saxon.sf.net/}timestamp",type:"1AMP"}]}]},{N:"co",id:"41",binds:"38",C:[{N:"function",name:"Q{MyFunctions}normalize-boolean",line:"34",module:"normalize.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}input",as:"1"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"36",name:"string",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string", -tailCall:"false",bSlot:"0",C:[{N:"treat",as:"NA",diag:"0|0||f:boolean-string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"co",id:"265",binds:"95 22",C:[{N:"function",name:"Q{MyFunctions}check-tail-position",line:"273",module:"lib.xsl",flags:"pU",as:"0",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"281",C:[{N:"ufCall",name:"Q{MyFunctions}is-tail-position",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"empty"},{N:"true"},{N:"check",card:"0",diag:"5|0|XTTE0780|f:check-tail-position#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE3120"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must be in a tail position"}]}, -{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"42",binds:"36 37",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1396801698",as:"+AU",line:"21",module:"sorting.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"0"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation", -bSlot:"1"}]}]}]},{N:"co",id:"270",binds:"18",C:[{N:"template",name:"Q{}parameters",flags:"os",line:"1551",module:"XSLT-SEF-compiler.xsl",slots:"0",C:[{N:"applyT",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1552",mode:"Q{}sef",flags:"t",bSlot:"0",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]}, -{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]}]},{N:"co",id:"314",binds:"",C:[{N:"globalVariable",name:"Q{}global-variables-as-pairs",as:"*",line:"179",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"253",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}RBRACE",as:"1ADI",line:"18",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"125"}]}]},{N:"co",id:"315",binds:"",C:[{N:"globalVariable", -name:"Q{MyTypes}ZERO",as:"1ADI",line:"101",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"301",binds:"",C:[{N:"globalVariable",name:"Q{}type.hierarchy.tree",as:"1ND",line:"331",module:"type.xsl",visibility:"PRIVATE",C:[{N:"doc",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"332",C:[{N:"elem",name:"item",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p", -flags:"l",C:[{N:"str",val:""}]},{N:"elem",line:"333",name:"error",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:""}]}]},{N:"elem",line:"334",name:"function",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"F"}]},{N:"elem",line:"335",name:"map",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"FM"}]}]},{N:"elem",line:"336",name:"array",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"FA"}]}]}]}]},{N:"elem",line:"338", -name:"node",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"N"}]},{N:"elem",line:"339",name:"document-node",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ND"}]}]},{N:"elem",line:"340",name:"element",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NE"}]}]},{N:"elem",line:"341",name:"attribute",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NA"}]}]},{N:"elem",line:"342",name:"text",nsuri:"",flags:"l",C:[{N:"att", -name:"p",flags:"l",C:[{N:"str",val:"NT"}]}]},{N:"elem",line:"343",name:"comment",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NC"}]}]},{N:"elem",line:"344",name:"processing-instruction",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NP"}]}]},{N:"elem",line:"345",name:"namespace-node",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NN"}]}]}]}]},{N:"elem",line:"347",name:"xs:anyAtomicType",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l", -C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"A"}]},{N:"elem",line:"348",name:"xs:boolean",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AB"}]}]},{N:"elem",line:"349",name:"xs:string",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AS"}]},{N:"elem",line:"350",name:"xs:normalizedString",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att", -name:"p",flags:"l",C:[{N:"str",val:"ASN"}]},{N:"elem",line:"351",name:"xs:token",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNT"}]},{N:"elem",line:"352",name:"xs:NMTOKEN",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTK"}]}]},{N:"elem",line:"353",name:"xs:Name",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", -val:"ASNTN"}]},{N:"elem",line:"354",name:"xs:NCName",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNC"}]},{N:"elem",line:"355",name:"xs:ID",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCI"}]}]},{N:"elem",line:"356",name:"xs:IDREF",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCR"}]}]},{N:"elem",line:"357",name:"xs:ENTITY", -nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCE"}]}]}]}]}]}]},{N:"elem",line:"360",name:"xs:language",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTL"}]}]}]}]}]}]}]}]},{N:"elem",line:"364",name:"xs:QName",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AQ"}]}]},{N:"elem",line:"365",name:"xs:anyURI",nsuri:"http://www.w3.org/2001/XMLSchema", -flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AU"}]}]},{N:"elem",line:"366",name:"xs:date",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AA"}]}]},{N:"elem",line:"367",name:"xs:dateTime",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AM"}]},{N:"elem",line:"368",name:"xs:dateTimeStamp",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l", -C:[{N:"str",val:"AMP"}]}]}]}]},{N:"elem",line:"370",name:"xs:time",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AT"}]}]},{N:"elem",line:"371",name:"xs:duration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AR"}]},{N:"elem",line:"372",name:"xs:dayTimeDuration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ARD"}]}]},{N:"elem", -line:"373",name:"xs:yearMonthDuration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ARY"}]}]}]}]},{N:"elem",line:"375",name:"xs:gYear",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AG"}]}]},{N:"elem",line:"376",name:"xs:gYearMonth",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AH"}]}]},{N:"elem",line:"377",name:"xs:gMonth",nsuri:"http://www.w3.org/2001/XMLSchema", -flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AI"}]}]},{N:"elem",line:"378",name:"xs:gMonthDay",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AJ"}]}]},{N:"elem",line:"379",name:"xs:gDay",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AK"}]}]},{N:"elem",line:"380",name:"xs:numeric",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", -val:"AD|AO|AF"}]},{N:"elem",line:"381",name:"xs:decimal",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AD"}]},{N:"elem",line:"382",name:"xs:integer",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADI"}]},{N:"elem",line:"383",name:"xs:nonPositiveInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", -val:"ADIN"}]},{N:"elem",line:"384",name:"xs:negativeInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADINN"}]}]}]}]},{N:"elem",line:"386",name:"xs:nonNegativeInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIP"}]},{N:"elem",line:"387",name:"xs:positiveInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPP"}]}]}, -{N:"elem",line:"388",name:"xs:unsignedLong",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPL"}]},{N:"elem",line:"389",name:"xs:unsignedInt",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLI"}]},{N:"elem",line:"390",name:"xs:unsignedShort",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLIS"}]}, -{N:"elem",line:"391",name:"xs:unsignedByte",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLISB"}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"396",name:"xs:long",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIL"}]},{N:"elem",line:"397",name:"xs:int",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILI"}]},{N:"elem", -line:"398",name:"xs:short",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILIS"}]},{N:"elem",line:"399",name:"xs:byte",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILISB"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"405",name:"xs:double",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AO"}]}]},{N:"elem",line:"406",name:"xs:float", -nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AF"}]}]}]}]},{N:"elem",line:"408",name:"xs:base64Binary",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"A2"}]}]},{N:"elem",line:"409",name:"xs:hexBinary",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AX"}]}]},{N:"elem",line:"410",name:"xs:NOTATION",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l", -C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AN"}]}]},{N:"elem",line:"411",name:"xs:untypedAtomic",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]},{N:"co",id:"316",binds:"16",C:[{N:"template",name:"Q{}nest-sorts",flags:"os",line:"15",module:"repetition.xsl",slots:"1",C:[{N:"iterate",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"17",C:[{N:"fn",role:"select",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]},{N:"params",role:"params",line:"19",C:[{N:"param",name:"Q{}inner",slot:"0",C:[{N:"doc",role:"select",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"0",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}select"}]}]}]},{N:"supplied",role:"conversion",line:"18",slot:"0"}]}]},{N:"varRef",role:"on-completion",line:"21",name:"Q{}inner",slot:"0"},{N:"nextIteration",role:"action",line:"22",C:[{N:"withParam",name:"Q{}inner",as:"1ND",slot:"0",C:[{N:"doc",line:"24",C:[{N:"elem",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"25",C:[{N:"varRef",name:"Q{}inner",slot:"0"},{N:"applyT",line:"26",flags:"c",bSlot:"-1",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]}]}]}]}]}, -{N:"co",id:"268",binds:"",C:[{N:"globalVariable",name:"Q{}on-no-match",as:"1FM k[AS] v[1AS]",line:"27",module:"rules.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"6",C:[{N:"str",val:"deep-skip"},{N:"str",val:"DS"},{N:"str",val:"shallow-copy"},{N:"str",val:"SC"},{N:"str",val:"text-only-copy"},{N:"str",val:"TC"},{N:"str",val:"deep-copy"},{N:"str",val:"DC"},{N:"str",val:"shallow-skip"},{N:"str",val:"SS"},{N:"str",val:"fail"},{N:"str",val:"FF"}]}]}]},{N:"co",id:"317",binds:"",C:[{N:"globalVariable", -name:"Q{}bind-with-accumulators",as:"1AB",line:"22",module:"component-bindings.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"true"}]}]},{N:"co",id:"260",binds:"1 184",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ELEMENT",as:"1AS",line:"50",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ELEMENT", -bSlot:"1"}]}]}]},{N:"co",id:"157",binds:"285 313 109 5 73 156 156",C:[{N:"globalVariable",name:"Q{}literalTypes",as:"1FM k[AS] v[1FM]",line:"1007",module:"type.xsl",visibility:"PRIVATE",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1007",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"dec"},{N:"gVarRef",name:"Q{}ST.SINGLE_DECIMAL",bSlot:"0"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"dbl"},{N:"gVarRef",name:"Q{}ST.SINGLE_DOUBLE",bSlot:"1"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"int"},{N:"gVarRef",name:"Q{}ST.SINGLE_INTEGER",bSlot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"flt"}, -{N:"gVarRef",name:"Q{}ST.SINGLE_FLOAT",bSlot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"str"},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"true"},{N:"gVarRef",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"false"},{N:"gVarRef",name:"Q{}ST.SINGLE_BOOLEAN", -bSlot:"6"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"co",id:"22",binds:"123",C:[{N:"function",name:"Q{MyFunctions}syntax-error-at",line:"384",module:"lib.xsl",flags:"pU",as:"*",slots:"3",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"arg",name:"Q{}node",as:"1N"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"388",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"388",name:"Q{}code",slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}node",slot:"2"}]}]}]}]},{N:"co",id:"33",binds:"40 3 75 203 224 209 22 204 308 204 204 204 204 22 22 203 34 34",C:[{N:"template",name:"Q{}check-syntax-primary",flags:"os",as:"*NE",line:"137",module:"XSLT-syntax.xsl", -slots:"8",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"138",C:[{N:"param",name:"Q{}forward-compatibility-mode",slot:"0",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode", -C:[{N:"data",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"let",line:"141","var":"Q{}context",as:"1",slot:"1",C:[{N:"dot",flags:"a"},{N:"let",line:"142","var":"Q{}schema",as:"?FM",slot:"2",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}xslt.schema",bSlot:"0"},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"dot",flags:"a"}]}]}]},{N:"choose",line:"144",C:[{N:"fn",line:"145", -name:"exists",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"let",line:"147","var":"Q{}provided",as:"*AS",slot:"3",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"let",line:"148","var":"Q{}missing-attributes",as:"*AS",slot:"4",C:[{N:"filter",flags:"b",C:[{N:"convert",line:"146",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|required.attributes", -C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|required.attributes",C:[{N:"data",diag:"3|0|XTTE0570|required.attributes",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"required.attributes"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}provided",slot:"3"},{N:"dot",type:"1AS"}]}]}]},{N:"let",line:"150","var":"Q{}pa.names",as:"*AS",slot:"5",C:[{N:"sequence",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|pa.names",C:[{N:"cvUntyped", -to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",line:"149",as:"FM",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"permitted.attributes"}]}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|pa.names",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"data", -diag:"3|0|XTTE0570|pa.names",C:[{N:"gVarRef",name:"Q{}standard.attributes",bSlot:"1"}]}]}]}]},{N:"sequence",line:"153",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}forward-compatibility-mode",slot:"0"}]},{N:"treat",line:"154",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"homCheck",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"normalize.xsl",line:"832",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"XSLT-syntax.xsl",line:"151",as:"NE",diag:"0|0||f:plainAtt",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc", -op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}pa.names",slot:"5"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongAttribute",tailCall:"false",bSlot:"2",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"let",line:"197","var":"Q{}permitted.children",as:"*A",slot:"6",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",as:"FM",diag:"0|0||map:keys",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema", -slot:"2"},{N:"str",val:"permitted.children"}]}]}]}]},{N:"sequence",line:"198",C:[{N:"choose",C:[{N:"choose",line:"190",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"check",card:"1",diag:"0|0||map:contains",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"str",val:"parents"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*A",slot:"7",flags:"l",C:[{N:"data",diag:"1|1||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str", -val:"parents"}]}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"local-name",C:[{N:"check",card:"?",diag:"0|0||fn:local-name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"7"},{N:"dot",type:"1AS"}]}]}]}]}]}, -{N:"true"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"dot",flags:"a"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]}]},{N:"choose",line:"206",C:[{N:"varRef",name:"Q{}forward-compatibility-mode", -slot:"0"},{N:"gVarRef",name:"Q{}XSL-ignore",bSlot:"3"},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}wrongParent",tailCall:"false",bSlot:"4",C:[{N:"treat",as:"NE",diag:"0|0||f:wrongParent",C:[{N:"varRef",name:"Q{}context",slot:"1"}]}]}]}]},{N:"varRef",line:"208",name:"Q{}missing-attributes",slot:"4"},{N:"treat",line:"209",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}missingAttribute",tailCall:"false", -bSlot:"5",C:[{N:"treat",as:"NE",diag:"0|0||f:missingAttribute",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"check",card:"1",diag:"0|1||f:missingAttribute",C:[{N:"first",C:[{N:"varRef",name:"Q{}missing-attributes",slot:"4"}]}]}]}]},{N:"gc",line:"211",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"sequence-constructor"}]},{N:"empty"},{N:"fn",line:"212",name:"empty",C:[{N:"varRef",name:"Q{}permitted.children", -slot:"6"}]},{N:"choose",line:"219",C:[{N:"fn",name:"has-children",C:[{N:"treat",as:"N",diag:"0|0||fn:has-children",C:[{N:"dot",flags:"a"}]}]},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"6",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" must be empty"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at", -C:[{N:"dot",flags:"a"}]}]}]}]},{N:"gc",line:"221",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"declarations"}]},{N:"sequence",line:"222",C:[{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean", -C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"7",C:[{N:"dot",type:"1NT"}]}]}]},{N:"choose",line:"228",C:[{N:"varRef",name:"Q{}forward-compatibility-mode",slot:"0"},{N:"empty"},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis", -name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}declaration-names",bSlot:"8"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"attVal",name:"Q{}version"}]}, -{N:"dec",val:"3"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"9",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]},{N:"treat",line:"229",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"ufCall", -name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"10",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"gc",line:"231",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"PCDATA"}]},{N:"treat",line:"232",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall", -name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"11",C:[{N:"dot",type:"1NE"}]}]}]},{N:"true"},{N:"treat",line:"236",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children", -slot:"6"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"12",C:[{N:"dot",type:"1N"}]}]}]}]},{N:"choose",line:"240",C:[{N:"and",op:"and",C:[{N:"and",op:"and", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"check",card:"1",diag:"0|0||map:contains",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"str",val:"selectAndContent"}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"except",op:"except",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}, -{N:"treat",line:"242",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:syntax-error-at",C:[{N:"data",diag:"0|0||f:syntax-error-at",C:[{N:"first",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"selectAndContent"}]},{N:"str", -val:"XTSE0840"}]}]}]}]}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" cannot have both @select and content"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]}]}]}]}]},{N:"fn",line:"246",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import-schema"}]}]}, -{N:"treat",line:"247",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE1650"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"The "},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]},{N:"str",val:" declaration cannot be handled by this XSLT compiler"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]},{N:"varRef",line:"249", -name:"Q{}forward-compatibility-mode",slot:"0"},{N:"choose",line:"259",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl",line:"777",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"XSLT-syntax.xsl",line:"259",as:"NE", -diag:"0|0||f:isTopLevel",C:[{N:"dot",flags:"a"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]},{N:"gVarRef",name:"Q{}XSL-ignore",bSlot:"15"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]}, -{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" is not a known XSLT element and has no xsl:fallback child"}]}, -{N:"treat",as:"N",diag:"0|1||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]},{N:"true"},{N:"treat",line:"262",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" is not a known XSLT element"}]},{N:"treat",as:"N",diag:"0|1||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]}]}]}]},{N:"co", -id:"34",binds:"22",C:[{N:"function",name:"Q{MyFunctions}syntax-error-at",line:"371",module:"lib.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}message",as:"1AS"},{N:"arg",name:"Q{}node",as:"1N"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"374",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0", -C:[{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{}message",slot:"0"},{N:"varRef",name:"Q{}node",slot:"1"}]}]}]}]},{N:"overridden"},{N:"accumulator",name:"Q{}coBinding",line:"0",as:"*AS",streamable:"0",slots:"0",binds:"176 176 176 176 176 176",C:[{N:"empty",role:"init"},{N:"pre",slots:"0",C:[{N:"accRule",slots:"8",rank:"0",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"}]},{N:"empty"}]}, -{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"187",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"3",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first", -C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"185",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"2",C:[{N:"supplied",slot:"0", -sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"V:"},{N:"attVal",name:"Q{}name"}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}callT"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"183",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"0",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn", -name:"concat",C:[{N:"str",val:"T:"},{N:"attVal",name:"Q{}name"}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"189",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"4",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"fn", -name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"191",name:"Q{coBindings}find-reference", -tailCall:"false",bSlot:"5",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}arity"}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"184",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"1",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"A:"},{N:"attVal",name:"Q{}name"}]}]}]}]},{N:"post",slots:"0",C:[{N:"accRule",slots:"8",rank:"0",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"}]},{N:"supplied",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"181",slot:"0",sType:"*AS"}]}]}]},{N:"accumulator",name:"Q{}number",line:"0",as:"*",streamable:"0",slots:"0",binds:"",C:[{N:"int",role:"init",val:"0"},{N:"pre",slots:"0",C:[{N:"accRule",slots:"1",rank:"0",C:[{N:"p.nodeTest",test:"NE"},{N:"arith",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"14",op:"+",calc:"a+a",C:[{N:"cvUntyped",to:"AO",C:[{N:"atomSing",card:"?", -diag:"1|0||+",C:[{N:"supplied",slot:"0",sType:"*"}]}]},{N:"int",val:"1"}]}]}]},{N:"post",slots:"0"}]},{N:"output",C:[{N:"property",name:"method",value:"xml"},{N:"property",name:"indent",value:"no"},{N:"property",name:"Q{http://saxon.sf.net/}stylesheet-version",value:"30"}]},{N:"decimalFormat"}],"\u03a3":"4869c939"},sa={IsBasicLatin:[["0000","007F"]],"IsLatin-1Supplement":[["0080","00FF"]],"IsLatinExtended-A":[["0100","017F"]],"IsLatinExtended-B":[["0180","024F"]],IsIPAExtensions:[["0250","02AF"]], -IsSpacingModifierLetters:[["02B0","02FF"]],IsCombiningDiacriticalMarks:[["0300","036F"]],IsGreek:[["0370","03FF"]],IsGreekandCoptic:[["0370","03FF"]],IsCyrillic:[["0400","04FF"]],IsCyrillicSupplementary:[["0500","052F"]],IsCyrillicSupplement:[["0500","052F"]],IsArmenian:[["0530","058F"]],IsHebrew:[["0590","05FF"]],IsArabic:[["0600","06FF"]],IsSyriac:[["0700","074F"]],IsArabicSupplement:[["0750","077F"]],IsThaana:[["0780","07BF"]],IsNKo:[["07C0","07FF"]],IsSamaritan:[["0800","083F"]],IsMandaic:[["0840", -"085F"]],IsDevanagari:[["0900","097F"]],IsBengali:[["0980","09FF"]],IsGurmukhi:[["0A00","0A7F"]],IsGujarati:[["0A80","0AFF"]],IsOriya:[["0B00","0B7F"]],IsTamil:[["0B80","0BFF"]],IsTelugu:[["0C00","0C7F"]],IsKannada:[["0C80","0CFF"]],IsMalayalam:[["0D00","0D7F"]],IsSinhala:[["0D80","0DFF"]],IsThai:[["0E00","0E7F"]],IsLao:[["0E80","0EFF"]],IsTibetan:[["0F00","0FFF"]],IsMyanmar:[["1000","109F"]],IsGeorgian:[["10A0","10FF"]],IsHangulJamo:[["1100","11FF"]],IsEthiopic:[["1200","137F"]],IsEthiopicSupplement:[["1380", -"139F"]],IsCherokee:[["13A0","13FF"]],IsUnifiedCanadianAboriginalSyllabics:[["1400","167F"]],IsOgham:[["1680","169F"]],IsRunic:[["16A0","16FF"]],IsTagalog:[["1700","171F"]],IsHanunoo:[["1720","173F"]],IsBuhid:[["1740","175F"]],IsTagbanwa:[["1760","177F"]],IsKhmer:[["1780","17FF"]],IsMongolian:[["1800","18AF"]],IsUnifiedCanadianAboriginalSyllabicsExtended:[["18B0","18FF"]],IsLimbu:[["1900","194F"]],IsTaiLe:[["1950","197F"]],IsNewTaiLue:[["1980","19DF"]],IsKhmerSymbols:[["19E0","19FF"]],IsBuginese:[["1A00", -"1A1F"]],IsTaiTham:[["1A20","1AAF"]],IsBalinese:[["1B00","1B7F"]],IsSundanese:[["1B80","1BBF"]],IsBatak:[["1BC0","1BFF"]],IsLepcha:[["1C00","1C4F"]],IsOlChiki:[["1C50","1C7F"]],IsVedicExtensions:[["1CD0","1CFF"]],IsPhoneticExtensions:[["1D00","1D7F"]],IsPhoneticExtensionsSupplement:[["1D80","1DBF"]],IsCombiningDiacriticalMarksSupplement:[["1DC0","1DFF"]],IsLatinExtendedAdditional:[["1E00","1EFF"]],IsGreekExtended:[["1F00","1FFF"]],IsGeneralPunctuation:[["2000","206F"]],IsSuperscriptsandSubscripts:[["2070", -"209F"]],IsCurrencySymbols:[["20A0","20CF"]],IsCombiningMarksforSymbols:[["20D0","20FF"]],IsCombiningDiacriticalMarksforSymbols:[["20D0","20FF"]],IsLetterlikeSymbols:[["2100","214F"]],IsNumberForms:[["2150","218F"]],IsArrows:[["2190","21FF"]],IsMathematicalOperators:[["2200","22FF"]],IsMiscellaneousTechnical:[["2300","23FF"]],IsControlPictures:[["2400","243F"]],IsOpticalCharacterRecognition:[["2440","245F"]],IsEnclosedAlphanumerics:[["2460","24FF"]],IsBoxDrawing:[["2500","257F"]],IsBlockElements:[["2580", -"259F"]],IsGeometricShapes:[["25A0","25FF"]],IsMiscellaneousSymbols:[["2600","26FF"]],IsDingbats:[["2700","27BF"]],"IsMiscellaneousMathematicalSymbols-A":[["27C0","27EF"]],"IsSupplementalArrows-A":[["27F0","27FF"]],IsBraillePatterns:[["2800","28FF"]],"IsSupplementalArrows-B":[["2900","297F"]],"IsMiscellaneousMathematicalSymbols-B":[["2980","29FF"]],IsSupplementalMathematicalOperators:[["2A00","2AFF"]],IsMiscellaneousSymbolsandArrows:[["2B00","2BFF"]],IsGlagolitic:[["2C00","2C5F"]],"IsLatinExtended-C":[["2C60", -"2C7F"]],IsCoptic:[["2C80","2CFF"]],IsGeorgianSupplement:[["2D00","2D2F"]],IsTifinagh:[["2D30","2D7F"]],IsEthiopicExtended:[["2D80","2DDF"]],"IsCyrillicExtended-A":[["2DE0","2DFF"]],IsSupplementalPunctuation:[["2E00","2E7F"]],IsCJKRadicalsSupplement:[["2E80","2EFF"]],IsKangxiRadicals:[["2F00","2FDF"]],IsIdeographicDescriptionCharacters:[["2FF0","2FFF"]],IsCJKSymbolsandPunctuation:[["3000","303F"]],IsHiragana:[["3040","309F"]],IsKatakana:[["30A0","30FF"]],IsBopomofo:[["3100","312F"]],IsHangulCompatibilityJamo:[["3130", -"318F"]],IsKanbun:[["3190","319F"]],IsBopomofoExtended:[["31A0","31BF"]],IsCJKStrokes:[["31C0","31EF"]],IsKatakanaPhoneticExtensions:[["31F0","31FF"]],IsEnclosedCJKLettersandMonths:[["3200","32FF"]],IsCJKCompatibility:[["3300","33FF"]],IsCJKUnifiedIdeographsExtensionA:[["3400","4DBF"]],IsYijingHexagramSymbols:[["4DC0","4DFF"]],IsCJKUnifiedIdeographs:[["4E00","9FFF"]],IsYiSyllables:[["A000","A48F"]],IsYiRadicals:[["A490","A4CF"]],IsLisu:[["A4D0","A4FF"]],IsVai:[["A500","A63F"]],"IsCyrillicExtended-B":[["A640", -"A69F"]],IsBamum:[["A6A0","A6FF"]],IsModifierToneLetters:[["A700","A71F"]],"IsLatinExtended-D":[["A720","A7FF"]],IsSylotiNagri:[["A800","A82F"]],IsCommonIndicNumberForms:[["A830","A83F"]],"IsPhags-pa":[["A840","A87F"]],IsSaurashtra:[["A880","A8DF"]],IsDevanagariExtended:[["A8E0","A8FF"]],IsKayahLi:[["A900","A92F"]],IsRejang:[["A930","A95F"]],"IsHangulJamoExtended-A":[["A960","A97F"]],IsJavanese:[["A980","A9DF"]],IsCham:[["AA00","AA5F"]],"IsMyanmarExtended-A":[["AA60","AA7F"]],IsTaiViet:[["AA80","AADF"]], -"IsEthiopicExtended-A":[["AB00","AB2F"]],IsMeeteiMayek:[["ABC0","ABFF"]],IsHangulSyllables:[["AC00","D7AF"]],"IsHangulJamoExtended-B":[["D7B0","D7FF"]],IsHighSurrogates:[["D800","DB7F"]],IsHighPrivateUseSurrogates:[["DB80","DBFF"]],IsLowSurrogates:[["DC00","DFFF"]],IsPrivateUse:[["E000","F8FF"],["F0000","FFFFD"],["100000","10FFFD"]],IsPrivateUseArea:[["E000","F8FF"]],IsCJKCompatibilityIdeographs:[["F900","FAFF"]],IsAlphabeticPresentationForms:[["FB00","FB4F"]],"IsArabicPresentationForms-A":[["FB50", -"FDFF"]],IsVariationSelectors:[["FE00","FE0F"]],IsVerticalForms:[["FE10","FE1F"]],IsCombiningHalfMarks:[["FE20","FE2F"]],IsCJKCompatibilityForms:[["FE30","FE4F"]],IsSmallFormVariants:[["FE50","FE6F"]],"IsArabicPresentationForms-B":[["FE70","FEFF"]],IsHalfwidthandFullwidthForms:[["FF00","FFEF"]],IsSpecials:[["FEFF","FEFF"],["FFF0","FFFF"]],IsLinearBSyllabary:[["10000","1007F"]],IsLinearBIdeograms:[["10080","100FF"]],IsAegeanNumbers:[["10100","1013F"]],IsAncientGreekNumbers:[["10140","1018F"]],IsAncientSymbols:[["10190", -"101CF"]],IsPhaistosDisc:[["101D0","101FF"]],IsLycian:[["10280","1029F"]],IsCarian:[["102A0","102DF"]],IsOldItalic:[["10300","1032F"]],IsGothic:[["10330","1034F"]],IsUgaritic:[["10380","1039F"]],IsOldPersian:[["103A0","103DF"]],IsDeseret:[["10400","1044F"]],IsShavian:[["10450","1047F"]],IsOsmanya:[["10480","104AF"]],IsCypriotSyllabary:[["10800","1083F"]],IsImperialAramaic:[["10840","1085F"]],IsPhoenician:[["10900","1091F"]],IsLydian:[["10920","1093F"]],IsKharoshthi:[["10A00","10A5F"]],IsOldSouthArabian:[["10A60", -"10A7F"]],IsAvestan:[["10B00","10B3F"]],IsInscriptionalParthian:[["10B40","10B5F"]],IsInscriptionalPahlavi:[["10B60","10B7F"]],IsOldTurkic:[["10C00","10C4F"]],IsRumiNumeralSymbols:[["10E60","10E7F"]],IsBrahmi:[["11000","1107F"]],IsKaithi:[["11080","110CF"]],IsCuneiform:[["12000","123FF"]],IsCuneiformNumbersandPunctuation:[["12400","1247F"]],IsEgyptianHieroglyphs:[["13000","1342F"]],IsBamumSupplement:[["16800","16A3F"]],IsKanaSupplement:[["1B000","1B0FF"]],IsByzantineMusicalSymbols:[["1D000","1D0FF"]], -IsMusicalSymbols:[["1D100","1D1FF"]],IsAncientGreekMusicalNotation:[["1D200","1D24F"]],IsTaiXuanJingSymbols:[["1D300","1D35F"]],IsCountingRodNumerals:[["1D360","1D37F"]],IsMathematicalAlphanumericSymbols:[["1D400","1D7FF"]],IsMahjongTiles:[["1F000","1F02F"]],IsDominoTiles:[["1F030","1F09F"]],IsPlayingCards:[["1F0A0","1F0FF"]],IsEnclosedAlphanumericSupplement:[["1F100","1F1FF"]],IsEnclosedIdeographicSupplement:[["1F200","1F2FF"]],IsMiscellaneousSymbolsAndPictographs:[["1F300","1F5FF"]],IsEmoticons:[["1F600", -"1F64F"]],IsTransportAndMapSymbols:[["1F680","1F6FF"]],IsAlchemicalSymbols:[["1F700","1F77F"]],IsCJKUnifiedIdeographsExtensionB:[["20000","2A6DF"]],IsCJKUnifiedIdeographsExtensionC:[["2A700","2B73F"]],IsCJKUnifiedIdeographsExtensionD:[["2B740","2B81F"]],IsCJKCompatibilityIdeographsSupplement:[["2F800","2FA1F"]],IsTags:[["E0000","E007F"]],IsVariationSelectorsSupplement:[["E0100","E01EF"]],"IsSupplementaryPrivateUseArea-A":[["F0000","FFFFF"]],"IsSupplementaryPrivateUseArea-B":[["100000","10FFFF"]], -C:"Cc|Cf|Cn|Co",Cc:[["0","1F"],["7F","9F"]],Cf:[["AD","AD"],["600","604"],["6DD","6DD"],["70F","70F"],["200B","200F"],["202A","202E"],["2060","2064"],["206A","206F"],["FEFF","FEFF"],["FFF9","FFFB"],["110BD","110BD"],["1D173","1D17A"],["E0001","E0001"],["E0020","E007F"]],Cn:[["378","379"],["37F","383"],["38B","38B"],["38D","38D"],["3A2","3A2"],["528","52F"],["530","530"],["557","558"],["560","560"],["588","588"],["58B","58E"],["590","590"],["5C8","5CF"],["5EB","5EF"],["5F5","5FF"],["605","605"],["61C", -"61D"],["70E","70E"],["74B","74C"],["7B2","7BF"],["7FB","7FF"],["82E","82F"],["83F","83F"],["85C","85D"],["85F","85F"],["860","89F"],["8A1","8A1"],["8AD","8E3"],["8FF","8FF"],["978","978"],["980","980"],["984","984"],["98D","98E"],["991","992"],["9A9","9A9"],["9B1","9B1"],["9B3","9B5"],["9BA","9BB"],["9C5","9C6"],["9C9","9CA"],["9CF","9D6"],["9D8","9DB"],["9DE","9DE"],["9E4","9E5"],["9FC","9FF"],["A00","A00"],["A04","A04"],["A0B","A0E"],["A11","A12"],["A29","A29"],["A31","A31"],["A34","A34"],["A37", -"A37"],["A3A","A3B"],["A3D","A3D"],["A43","A46"],["A49","A4A"],["A4E","A50"],["A52","A58"],["A5D","A5D"],["A5F","A65"],["A76","A7F"],["A80","A80"],["A84","A84"],["A8E","A8E"],["A92","A92"],["AA9","AA9"],["AB1","AB1"],["AB4","AB4"],["ABA","ABB"],["AC6","AC6"],["ACA","ACA"],["ACE","ACF"],["AD1","ADF"],["AE4","AE5"],["AF2","AFF"],["B00","B00"],["B04","B04"],["B0D","B0E"],["B11","B12"],["B29","B29"],["B31","B31"],["B34","B34"],["B3A","B3B"],["B45","B46"],["B49","B4A"],["B4E","B55"],["B58","B5B"],["B5E", -"B5E"],["B64","B65"],["B78","B7F"],["B80","B81"],["B84","B84"],["B8B","B8D"],["B91","B91"],["B96","B98"],["B9B","B9B"],["B9D","B9D"],["BA0","BA2"],["BA5","BA7"],["BAB","BAD"],["BBA","BBD"],["BC3","BC5"],["BC9","BC9"],["BCE","BCF"],["BD1","BD6"],["BD8","BE5"],["BFB","BFF"],["C00","C00"],["C04","C04"],["C0D","C0D"],["C11","C11"],["C29","C29"],["C34","C34"],["C3A","C3C"],["C45","C45"],["C49","C49"],["C4E","C54"],["C57","C57"],["C5A","C5F"],["C64","C65"],["C70","C77"],["C80","C81"],["C84","C84"],["C8D", -"C8D"],["C91","C91"],["CA9","CA9"],["CB4","CB4"],["CBA","CBB"],["CC5","CC5"],["CC9","CC9"],["CCE","CD4"],["CD7","CDD"],["CDF","CDF"],["CE4","CE5"],["CF0","CF0"],["CF3","CFF"],["D00","D01"],["D04","D04"],["D0D","D0D"],["D11","D11"],["D3B","D3C"],["D45","D45"],["D49","D49"],["D4F","D56"],["D58","D5F"],["D64","D65"],["D76","D78"],["D80","D81"],["D84","D84"],["D97","D99"],["DB2","DB2"],["DBC","DBC"],["DBE","DBF"],["DC7","DC9"],["DCB","DCE"],["DD5","DD5"],["DD7","DD7"],["DE0","DF1"],["DF5","DFF"],["E00", -"E00"],["E3B","E3E"],["E5C","E7F"],["E80","E80"],["E83","E83"],["E85","E86"],["E89","E89"],["E8B","E8C"],["E8E","E93"],["E98","E98"],["EA0","EA0"],["EA4","EA4"],["EA6","EA6"],["EA8","EA9"],["EAC","EAC"],["EBA","EBA"],["EBE","EBF"],["EC5","EC5"],["EC7","EC7"],["ECE","ECF"],["EDA","EDB"],["EE0","EFF"],["F48","F48"],["F6D","F70"],["F98","F98"],["FBD","FBD"],["FCD","FCD"],["FDB","FFF"],["10C6","10C6"],["10C8","10CC"],["10CE","10CF"],["1249","1249"],["124E","124F"],["1257","1257"],["1259","1259"],["125E", -"125F"],["1289","1289"],["128E","128F"],["12B1","12B1"],["12B6","12B7"],["12BF","12BF"],["12C1","12C1"],["12C6","12C7"],["12D7","12D7"],["1311","1311"],["1316","1317"],["135B","135C"],["137D","137F"],["139A","139F"],["13F5","13FF"],["169D","169F"],["16F1","16FF"],["170D","170D"],["1715","171F"],["1737","173F"],["1754","175F"],["176D","176D"],["1771","1771"],["1774","177F"],["17DE","17DF"],["17EA","17EF"],["17FA","17FF"],["180F","180F"],["181A","181F"],["1878","187F"],["18AB","18AF"],["18F6","18FF"], -["191D","191F"],["192C","192F"],["193C","193F"],["1941","1943"],["196E","196F"],["1975","197F"],["19AC","19AF"],["19CA","19CF"],["19DB","19DD"],["1A1C","1A1D"],["1A5F","1A5F"],["1A7D","1A7E"],["1A8A","1A8F"],["1A9A","1A9F"],["1AAE","1AAF"],["1AB0","1AFF"],["1B4C","1B4F"],["1B7D","1B7F"],["1BF4","1BFB"],["1C38","1C3A"],["1C4A","1C4C"],["1C80","1CBF"],["1CC8","1CCF"],["1CF7","1CFF"],["1DE7","1DFB"],["1F16","1F17"],["1F1E","1F1F"],["1F46","1F47"],["1F4E","1F4F"],["1F58","1F58"],["1F5A","1F5A"],["1F5C", -"1F5C"],["1F5E","1F5E"],["1F7E","1F7F"],["1FB5","1FB5"],["1FC5","1FC5"],["1FD4","1FD5"],["1FDC","1FDC"],["1FF0","1FF1"],["1FF5","1FF5"],["1FFF","1FFF"],["2065","2069"],["2072","2073"],["208F","208F"],["209D","209F"],["20BB","20CF"],["20F1","20FF"],["218A","218F"],["23F4","23FF"],["2427","243F"],["244B","245F"],["2700","2700"],["2B4D","2B4F"],["2B5A","2BFF"],["2C2F","2C2F"],["2C5F","2C5F"],["2CF4","2CF8"],["2D26","2D26"],["2D28","2D2C"],["2D2E","2D2F"],["2D68","2D6E"],["2D71","2D7E"],["2D97","2D9F"], -["2DA7","2DA7"],["2DAF","2DAF"],["2DB7","2DB7"],["2DBF","2DBF"],["2DC7","2DC7"],["2DCF","2DCF"],["2DD7","2DD7"],["2DDF","2DDF"],["2E3C","2E7F"],["2E9A","2E9A"],["2EF4","2EFF"],["2FD6","2FDF"],["2FE0","2FEF"],["2FFC","2FFF"],["3040","3040"],["3097","3098"],["3100","3104"],["312E","312F"],["3130","3130"],["318F","318F"],["31BB","31BF"],["31E4","31EF"],["321F","321F"],["32FF","32FF"],["4DB6","4DBF"],["9FCD","9FFF"],["A48D","A48F"],["A4C7","A4CF"],["A62C","A63F"],["A698","A69E"],["A6F8","A6FF"],["A78F", -"A78F"],["A794","A79F"],["A7AB","A7F7"],["A82C","A82F"],["A83A","A83F"],["A878","A87F"],["A8C5","A8CD"],["A8DA","A8DF"],["A8FC","A8FF"],["A954","A95E"],["A97D","A97F"],["A9CE","A9CE"],["A9DA","A9DD"],["A9E0","A9FF"],["AA37","AA3F"],["AA4E","AA4F"],["AA5A","AA5B"],["AA7C","AA7F"],["AAC3","AADA"],["AAF7","AAFF"],["AB00","AB00"],["AB07","AB08"],["AB0F","AB10"],["AB17","AB1F"],["AB27","AB27"],["AB2F","AB2F"],["AB30","ABBF"],["ABEE","ABEF"],["ABFA","ABFF"],["D7A4","D7AF"],["D7C7","D7CA"],["D7FC","D7FF"], -["FA6E","FA6F"],["FADA","FAFF"],["FB07","FB12"],["FB18","FB1C"],["FB37","FB37"],["FB3D","FB3D"],["FB3F","FB3F"],["FB42","FB42"],["FB45","FB45"],["FBC2","FBD2"],["FD40","FD4F"],["FD90","FD91"],["FDC8","FDCF"],["FDD0","FDEF"],["FDFE","FDFF"],["FE1A","FE1F"],["FE27","FE2F"],["FE53","FE53"],["FE67","FE67"],["FE6C","FE6F"],["FE75","FE75"],["FEFD","FEFE"],["FF00","FF00"],["FFBF","FFC1"],["FFC8","FFC9"],["FFD0","FFD1"],["FFD8","FFD9"],["FFDD","FFDF"],["FFE7","FFE7"],["FFEF","FFEF"],["FFF0","FFF8"],["FFFE", -"FFFF"],["1000C","1000C"],["10027","10027"],["1003B","1003B"],["1003E","1003E"],["1004E","1004F"],["1005E","1007F"],["100FB","100FF"],["10103","10106"],["10134","10136"],["1018B","1018F"],["1019C","101CF"],["101FE","101FF"],["10200","1027F"],["1029D","1029F"],["102D1","102DF"],["102E0","102FF"],["1031F","1031F"],["10324","1032F"],["1034B","1034F"],["10350","1037F"],["1039E","1039E"],["103C4","103C7"],["103D6","103DF"],["103E0","103FF"],["1049E","1049F"],["104AA","104AF"],["104B0","107FF"],["10806", -"10807"],["10809","10809"],["10836","10836"],["10839","1083B"],["1083D","1083E"],["10856","10856"],["10860","108FF"],["1091C","1091E"],["1093A","1093E"],["10940","1097F"],["109B8","109BD"],["109C0","109FF"],["10A04","10A04"],["10A07","10A0B"],["10A14","10A14"],["10A18","10A18"],["10A34","10A37"],["10A3B","10A3E"],["10A48","10A4F"],["10A59","10A5F"],["10A80","10AFF"],["10B36","10B38"],["10B56","10B57"],["10B73","10B77"],["10B80","10BFF"],["10C49","10C4F"],["10C50","10E5F"],["10E7F","10E7F"],["10E80", -"10FFF"],["1104E","11051"],["11070","1107F"],["110C2","110CF"],["110E9","110EF"],["110FA","110FF"],["11135","11135"],["11144","1114F"],["11150","1117F"],["111C9","111CF"],["111DA","111DF"],["111E0","1167F"],["116B8","116BF"],["116CA","116CF"],["116D0","11FFF"],["1236F","123FF"],["12463","1246F"],["12474","1247F"],["12480","12FFF"],["1342F","1342F"],["13430","167FF"],["16A39","16A3F"],["16A40","16EFF"],["16F45","16F4F"],["16F7F","16F8E"],["16FA0","1AFFF"],["1B002","1B0FF"],["1B100","1CFFF"],["1D0F6", -"1D0FF"],["1D127","1D128"],["1D1DE","1D1FF"],["1D246","1D24F"],["1D250","1D2FF"],["1D357","1D35F"],["1D372","1D37F"],["1D380","1D3FF"],["1D455","1D455"],["1D49D","1D49D"],["1D4A0","1D4A1"],["1D4A3","1D4A4"],["1D4A7","1D4A8"],["1D4AD","1D4AD"],["1D4BA","1D4BA"],["1D4BC","1D4BC"],["1D4C4","1D4C4"],["1D506","1D506"],["1D50B","1D50C"],["1D515","1D515"],["1D51D","1D51D"],["1D53A","1D53A"],["1D53F","1D53F"],["1D545","1D545"],["1D547","1D549"],["1D551","1D551"],["1D6A6","1D6A7"],["1D7CC","1D7CD"],["1D800", -"1E7FF"],["1E800","1EDFF"],["1EE04","1EE04"],["1EE20","1EE20"],["1EE23","1EE23"],["1EE25","1EE26"],["1EE28","1EE28"],["1EE33","1EE33"],["1EE38","1EE38"],["1EE3A","1EE3A"],["1EE3C","1EE41"],["1EE43","1EE46"],["1EE48","1EE48"],["1EE4A","1EE4A"],["1EE4C","1EE4C"],["1EE50","1EE50"],["1EE53","1EE53"],["1EE55","1EE56"],["1EE58","1EE58"],["1EE5A","1EE5A"],["1EE5C","1EE5C"],["1EE5E","1EE5E"],["1EE60","1EE60"],["1EE63","1EE63"],["1EE65","1EE66"],["1EE6B","1EE6B"],["1EE73","1EE73"],["1EE78","1EE78"],["1EE7D", -"1EE7D"],["1EE7F","1EE7F"],["1EE8A","1EE8A"],["1EE9C","1EEA0"],["1EEA4","1EEA4"],["1EEAA","1EEAA"],["1EEBC","1EEEF"],["1EEF2","1EEFF"],["1EF00","1EFFF"],["1F02C","1F02F"],["1F094","1F09F"],["1F0AF","1F0B0"],["1F0BF","1F0C0"],["1F0D0","1F0D0"],["1F0E0","1F0FF"],["1F10B","1F10F"],["1F12F","1F12F"],["1F16C","1F16F"],["1F19B","1F1E5"],["1F203","1F20F"],["1F23B","1F23F"],["1F249","1F24F"],["1F252","1F2FF"],["1F321","1F32F"],["1F336","1F336"],["1F37D","1F37F"],["1F394","1F39F"],["1F3C5","1F3C5"],["1F3CB", -"1F3DF"],["1F3F1","1F3FF"],["1F43F","1F43F"],["1F441","1F441"],["1F4F8","1F4F8"],["1F4FD","1F4FF"],["1F53E","1F53F"],["1F544","1F54F"],["1F568","1F5FA"],["1F641","1F644"],["1F650","1F67F"],["1F6C6","1F6FF"],["1F774","1F77F"],["1F780","1FFFD"],["1FFFE","1FFFF"],["2A6D7","2A6DF"],["2A6E0","2A6FF"],["2B735","2B73F"],["2B81E","2B81F"],["2B820","2F7FF"],["2FA1E","2FA1F"],["2FA20","2FFFD"],["2FFFE","2FFFF"],["30000","3FFFD"],["3FFFE","3FFFF"],["40000","4FFFD"],["4FFFE","4FFFF"],["50000","5FFFD"],["5FFFE", -"5FFFF"],["60000","6FFFD"],["6FFFE","6FFFF"],["70000","7FFFD"],["7FFFE","7FFFF"],["80000","8FFFD"],["8FFFE","8FFFF"],["90000","9FFFD"],["9FFFE","9FFFF"],["A0000","AFFFD"],["AFFFE","AFFFF"],["B0000","BFFFD"],["BFFFE","BFFFF"],["C0000","CFFFD"],["CFFFE","CFFFF"],["D0000","DFFFD"],["DFFFE","DFFFF"],["E0000","E0000"],["E0002","E001F"],["E0080","E00FF"],["E01F0","E0FFF"],["E1000","EFFFD"],["EFFFE","EFFFF"],["FFFFE","FFFFF"],["10FFFE","10FFFF"]],Co:[["E000","F8FF"],["F0000","FFFFD"],["100000","10FFFD"]], -L:"Ll|Lm|Lo|Lt|Lu",Ll:[["61","7A"],["B5","B5"],["DF","F6"],["F8","FF"],["101","101"],["103","103"],["105","105"],["107","107"],["109","109"],["10B","10B"],["10D","10D"],["10F","10F"],["111","111"],["113","113"],["115","115"],["117","117"],["119","119"],["11B","11B"],["11D","11D"],["11F","11F"],["121","121"],["123","123"],["125","125"],["127","127"],["129","129"],["12B","12B"],["12D","12D"],["12F","12F"],["131","131"],["133","133"],["135","135"],["137","138"],["13A","13A"],["13C","13C"],["13E","13E"], -["140","140"],["142","142"],["144","144"],["146","146"],["148","149"],["14B","14B"],["14D","14D"],["14F","14F"],["151","151"],["153","153"],["155","155"],["157","157"],["159","159"],["15B","15B"],["15D","15D"],["15F","15F"],["161","161"],["163","163"],["165","165"],["167","167"],["169","169"],["16B","16B"],["16D","16D"],["16F","16F"],["171","171"],["173","173"],["175","175"],["177","177"],["17A","17A"],["17C","17C"],["17E","180"],["183","183"],["185","185"],["188","188"],["18C","18D"],["192","192"], -["195","195"],["199","19B"],["19E","19E"],["1A1","1A1"],["1A3","1A3"],["1A5","1A5"],["1A8","1A8"],["1AA","1AB"],["1AD","1AD"],["1B0","1B0"],["1B4","1B4"],["1B6","1B6"],["1B9","1BA"],["1BD","1BF"],["1C6","1C6"],["1C9","1C9"],["1CC","1CC"],["1CE","1CE"],["1D0","1D0"],["1D2","1D2"],["1D4","1D4"],["1D6","1D6"],["1D8","1D8"],["1DA","1DA"],["1DC","1DD"],["1DF","1DF"],["1E1","1E1"],["1E3","1E3"],["1E5","1E5"],["1E7","1E7"],["1E9","1E9"],["1EB","1EB"],["1ED","1ED"],["1EF","1F0"],["1F3","1F3"],["1F5","1F5"], -["1F9","1F9"],["1FB","1FB"],["1FD","1FD"],["1FF","1FF"],["201","201"],["203","203"],["205","205"],["207","207"],["209","209"],["20B","20B"],["20D","20D"],["20F","20F"],["211","211"],["213","213"],["215","215"],["217","217"],["219","219"],["21B","21B"],["21D","21D"],["21F","21F"],["221","221"],["223","223"],["225","225"],["227","227"],["229","229"],["22B","22B"],["22D","22D"],["22F","22F"],["231","231"],["233","239"],["23C","23C"],["23F","240"],["242","242"],["247","247"],["249","249"],["24B","24B"], -["24D","24D"],["24F","293"],["295","2AF"],["371","371"],["373","373"],["377","377"],["37B","37D"],["390","390"],["3AC","3CE"],["3D0","3D1"],["3D5","3D7"],["3D9","3D9"],["3DB","3DB"],["3DD","3DD"],["3DF","3DF"],["3E1","3E1"],["3E3","3E3"],["3E5","3E5"],["3E7","3E7"],["3E9","3E9"],["3EB","3EB"],["3ED","3ED"],["3EF","3F3"],["3F5","3F5"],["3F8","3F8"],["3FB","3FC"],["430","45F"],["461","461"],["463","463"],["465","465"],["467","467"],["469","469"],["46B","46B"],["46D","46D"],["46F","46F"],["471","471"], -["473","473"],["475","475"],["477","477"],["479","479"],["47B","47B"],["47D","47D"],["47F","47F"],["481","481"],["48B","48B"],["48D","48D"],["48F","48F"],["491","491"],["493","493"],["495","495"],["497","497"],["499","499"],["49B","49B"],["49D","49D"],["49F","49F"],["4A1","4A1"],["4A3","4A3"],["4A5","4A5"],["4A7","4A7"],["4A9","4A9"],["4AB","4AB"],["4AD","4AD"],["4AF","4AF"],["4B1","4B1"],["4B3","4B3"],["4B5","4B5"],["4B7","4B7"],["4B9","4B9"],["4BB","4BB"],["4BD","4BD"],["4BF","4BF"],["4C2","4C2"], -["4C4","4C4"],["4C6","4C6"],["4C8","4C8"],["4CA","4CA"],["4CC","4CC"],["4CE","4CF"],["4D1","4D1"],["4D3","4D3"],["4D5","4D5"],["4D7","4D7"],["4D9","4D9"],["4DB","4DB"],["4DD","4DD"],["4DF","4DF"],["4E1","4E1"],["4E3","4E3"],["4E5","4E5"],["4E7","4E7"],["4E9","4E9"],["4EB","4EB"],["4ED","4ED"],["4EF","4EF"],["4F1","4F1"],["4F3","4F3"],["4F5","4F5"],["4F7","4F7"],["4F9","4F9"],["4FB","4FB"],["4FD","4FD"],["4FF","4FF"],["501","501"],["503","503"],["505","505"],["507","507"],["509","509"],["50B","50B"], -["50D","50D"],["50F","50F"],["511","511"],["513","513"],["515","515"],["517","517"],["519","519"],["51B","51B"],["51D","51D"],["51F","51F"],["521","521"],["523","523"],["525","525"],["527","527"],["561","587"],["1D00","1D2B"],["1D6B","1D77"],["1D79","1D9A"],["1E01","1E01"],["1E03","1E03"],["1E05","1E05"],["1E07","1E07"],["1E09","1E09"],["1E0B","1E0B"],["1E0D","1E0D"],["1E0F","1E0F"],["1E11","1E11"],["1E13","1E13"],["1E15","1E15"],["1E17","1E17"],["1E19","1E19"],["1E1B","1E1B"],["1E1D","1E1D"],["1E1F", -"1E1F"],["1E21","1E21"],["1E23","1E23"],["1E25","1E25"],["1E27","1E27"],["1E29","1E29"],["1E2B","1E2B"],["1E2D","1E2D"],["1E2F","1E2F"],["1E31","1E31"],["1E33","1E33"],["1E35","1E35"],["1E37","1E37"],["1E39","1E39"],["1E3B","1E3B"],["1E3D","1E3D"],["1E3F","1E3F"],["1E41","1E41"],["1E43","1E43"],["1E45","1E45"],["1E47","1E47"],["1E49","1E49"],["1E4B","1E4B"],["1E4D","1E4D"],["1E4F","1E4F"],["1E51","1E51"],["1E53","1E53"],["1E55","1E55"],["1E57","1E57"],["1E59","1E59"],["1E5B","1E5B"],["1E5D","1E5D"], -["1E5F","1E5F"],["1E61","1E61"],["1E63","1E63"],["1E65","1E65"],["1E67","1E67"],["1E69","1E69"],["1E6B","1E6B"],["1E6D","1E6D"],["1E6F","1E6F"],["1E71","1E71"],["1E73","1E73"],["1E75","1E75"],["1E77","1E77"],["1E79","1E79"],["1E7B","1E7B"],["1E7D","1E7D"],["1E7F","1E7F"],["1E81","1E81"],["1E83","1E83"],["1E85","1E85"],["1E87","1E87"],["1E89","1E89"],["1E8B","1E8B"],["1E8D","1E8D"],["1E8F","1E8F"],["1E91","1E91"],["1E93","1E93"],["1E95","1E9D"],["1E9F","1E9F"],["1EA1","1EA1"],["1EA3","1EA3"],["1EA5", -"1EA5"],["1EA7","1EA7"],["1EA9","1EA9"],["1EAB","1EAB"],["1EAD","1EAD"],["1EAF","1EAF"],["1EB1","1EB1"],["1EB3","1EB3"],["1EB5","1EB5"],["1EB7","1EB7"],["1EB9","1EB9"],["1EBB","1EBB"],["1EBD","1EBD"],["1EBF","1EBF"],["1EC1","1EC1"],["1EC3","1EC3"],["1EC5","1EC5"],["1EC7","1EC7"],["1EC9","1EC9"],["1ECB","1ECB"],["1ECD","1ECD"],["1ECF","1ECF"],["1ED1","1ED1"],["1ED3","1ED3"],["1ED5","1ED5"],["1ED7","1ED7"],["1ED9","1ED9"],["1EDB","1EDB"],["1EDD","1EDD"],["1EDF","1EDF"],["1EE1","1EE1"],["1EE3","1EE3"], -["1EE5","1EE5"],["1EE7","1EE7"],["1EE9","1EE9"],["1EEB","1EEB"],["1EED","1EED"],["1EEF","1EEF"],["1EF1","1EF1"],["1EF3","1EF3"],["1EF5","1EF5"],["1EF7","1EF7"],["1EF9","1EF9"],["1EFB","1EFB"],["1EFD","1EFD"],["1EFF","1F07"],["1F10","1F15"],["1F20","1F27"],["1F30","1F37"],["1F40","1F45"],["1F50","1F57"],["1F60","1F67"],["1F70","1F7D"],["1F80","1F87"],["1F90","1F97"],["1FA0","1FA7"],["1FB0","1FB4"],["1FB6","1FB7"],["1FBE","1FBE"],["1FC2","1FC4"],["1FC6","1FC7"],["1FD0","1FD3"],["1FD6","1FD7"],["1FE0", -"1FE7"],["1FF2","1FF4"],["1FF6","1FF7"],["210A","210A"],["210E","210F"],["2113","2113"],["212F","212F"],["2134","2134"],["2139","2139"],["213C","213D"],["2146","2149"],["214E","214E"],["2184","2184"],["2C30","2C5E"],["2C61","2C61"],["2C65","2C66"],["2C68","2C68"],["2C6A","2C6A"],["2C6C","2C6C"],["2C71","2C71"],["2C73","2C74"],["2C76","2C7B"],["2C81","2C81"],["2C83","2C83"],["2C85","2C85"],["2C87","2C87"],["2C89","2C89"],["2C8B","2C8B"],["2C8D","2C8D"],["2C8F","2C8F"],["2C91","2C91"],["2C93","2C93"], -["2C95","2C95"],["2C97","2C97"],["2C99","2C99"],["2C9B","2C9B"],["2C9D","2C9D"],["2C9F","2C9F"],["2CA1","2CA1"],["2CA3","2CA3"],["2CA5","2CA5"],["2CA7","2CA7"],["2CA9","2CA9"],["2CAB","2CAB"],["2CAD","2CAD"],["2CAF","2CAF"],["2CB1","2CB1"],["2CB3","2CB3"],["2CB5","2CB5"],["2CB7","2CB7"],["2CB9","2CB9"],["2CBB","2CBB"],["2CBD","2CBD"],["2CBF","2CBF"],["2CC1","2CC1"],["2CC3","2CC3"],["2CC5","2CC5"],["2CC7","2CC7"],["2CC9","2CC9"],["2CCB","2CCB"],["2CCD","2CCD"],["2CCF","2CCF"],["2CD1","2CD1"],["2CD3", -"2CD3"],["2CD5","2CD5"],["2CD7","2CD7"],["2CD9","2CD9"],["2CDB","2CDB"],["2CDD","2CDD"],["2CDF","2CDF"],["2CE1","2CE1"],["2CE3","2CE4"],["2CEC","2CEC"],["2CEE","2CEE"],["2CF3","2CF3"],["2D00","2D25"],["2D27","2D27"],["2D2D","2D2D"],["A641","A641"],["A643","A643"],["A645","A645"],["A647","A647"],["A649","A649"],["A64B","A64B"],["A64D","A64D"],["A64F","A64F"],["A651","A651"],["A653","A653"],["A655","A655"],["A657","A657"],["A659","A659"],["A65B","A65B"],["A65D","A65D"],["A65F","A65F"],["A661","A661"], -["A663","A663"],["A665","A665"],["A667","A667"],["A669","A669"],["A66B","A66B"],["A66D","A66D"],["A681","A681"],["A683","A683"],["A685","A685"],["A687","A687"],["A689","A689"],["A68B","A68B"],["A68D","A68D"],["A68F","A68F"],["A691","A691"],["A693","A693"],["A695","A695"],["A697","A697"],["A723","A723"],["A725","A725"],["A727","A727"],["A729","A729"],["A72B","A72B"],["A72D","A72D"],["A72F","A731"],["A733","A733"],["A735","A735"],["A737","A737"],["A739","A739"],["A73B","A73B"],["A73D","A73D"],["A73F", -"A73F"],["A741","A741"],["A743","A743"],["A745","A745"],["A747","A747"],["A749","A749"],["A74B","A74B"],["A74D","A74D"],["A74F","A74F"],["A751","A751"],["A753","A753"],["A755","A755"],["A757","A757"],["A759","A759"],["A75B","A75B"],["A75D","A75D"],["A75F","A75F"],["A761","A761"],["A763","A763"],["A765","A765"],["A767","A767"],["A769","A769"],["A76B","A76B"],["A76D","A76D"],["A76F","A76F"],["A771","A778"],["A77A","A77A"],["A77C","A77C"],["A77F","A77F"],["A781","A781"],["A783","A783"],["A785","A785"], -["A787","A787"],["A78C","A78C"],["A78E","A78E"],["A791","A791"],["A793","A793"],["A7A1","A7A1"],["A7A3","A7A3"],["A7A5","A7A5"],["A7A7","A7A7"],["A7A9","A7A9"],["A7FA","A7FA"],["FB00","FB06"],["FB13","FB17"],["FF41","FF5A"],["10428","1044F"],["1D41A","1D433"],["1D44E","1D454"],["1D456","1D467"],["1D482","1D49B"],["1D4B6","1D4B9"],["1D4BB","1D4BB"],["1D4BD","1D4C3"],["1D4C5","1D4CF"],["1D4EA","1D503"],["1D51E","1D537"],["1D552","1D56B"],["1D586","1D59F"],["1D5BA","1D5D3"],["1D5EE","1D607"],["1D622", -"1D63B"],["1D656","1D66F"],["1D68A","1D6A5"],["1D6C2","1D6DA"],["1D6DC","1D6E1"],["1D6FC","1D714"],["1D716","1D71B"],["1D736","1D74E"],["1D750","1D755"],["1D770","1D788"],["1D78A","1D78F"],["1D7AA","1D7C2"],["1D7C4","1D7C9"],["1D7CB","1D7CB"]],Lm:[["2B0","2C1"],["2C6","2D1"],["2E0","2E4"],["2EC","2EC"],["2EE","2EE"],["374","374"],["37A","37A"],["559","559"],["640","640"],["6E5","6E6"],["7F4","7F5"],["7FA","7FA"],["81A","81A"],["824","824"],["828","828"],["971","971"],["E46","E46"],["EC6","EC6"],["10FC", -"10FC"],["17D7","17D7"],["1843","1843"],["1AA7","1AA7"],["1C78","1C7D"],["1D2C","1D6A"],["1D78","1D78"],["1D9B","1DBF"],["2071","2071"],["207F","207F"],["2090","209C"],["2C7C","2C7D"],["2D6F","2D6F"],["2E2F","2E2F"],["3005","3005"],["3031","3035"],["303B","303B"],["309D","309E"],["30FC","30FE"],["A015","A015"],["A4F8","A4FD"],["A60C","A60C"],["A67F","A67F"],["A717","A71F"],["A770","A770"],["A788","A788"],["A7F8","A7F9"],["A9CF","A9CF"],["AA70","AA70"],["AADD","AADD"],["AAF3","AAF4"],["FF70","FF70"], -["FF9E","FF9F"],["16F93","16F9F"]],Lo:[["AA","AA"],["BA","BA"],["1BB","1BB"],["1C0","1C3"],["294","294"],["5D0","5EA"],["5F0","5F2"],["620","63F"],["641","64A"],["66E","66F"],["671","6D3"],["6D5","6D5"],["6EE","6EF"],["6FA","6FC"],["6FF","6FF"],["710","710"],["712","72F"],["74D","7A5"],["7B1","7B1"],["7CA","7EA"],["800","815"],["840","858"],["8A0","8A0"],["8A2","8AC"],["904","939"],["93D","93D"],["950","950"],["958","961"],["972","977"],["979","97F"],["985","98C"],["98F","990"],["993","9A8"],["9AA", -"9B0"],["9B2","9B2"],["9B6","9B9"],["9BD","9BD"],["9CE","9CE"],["9DC","9DD"],["9DF","9E1"],["9F0","9F1"],["A05","A0A"],["A0F","A10"],["A13","A28"],["A2A","A30"],["A32","A33"],["A35","A36"],["A38","A39"],["A59","A5C"],["A5E","A5E"],["A72","A74"],["A85","A8D"],["A8F","A91"],["A93","AA8"],["AAA","AB0"],["AB2","AB3"],["AB5","AB9"],["ABD","ABD"],["AD0","AD0"],["AE0","AE1"],["B05","B0C"],["B0F","B10"],["B13","B28"],["B2A","B30"],["B32","B33"],["B35","B39"],["B3D","B3D"],["B5C","B5D"],["B5F","B61"],["B71", -"B71"],["B83","B83"],["B85","B8A"],["B8E","B90"],["B92","B95"],["B99","B9A"],["B9C","B9C"],["B9E","B9F"],["BA3","BA4"],["BA8","BAA"],["BAE","BB9"],["BD0","BD0"],["C05","C0C"],["C0E","C10"],["C12","C28"],["C2A","C33"],["C35","C39"],["C3D","C3D"],["C58","C59"],["C60","C61"],["C85","C8C"],["C8E","C90"],["C92","CA8"],["CAA","CB3"],["CB5","CB9"],["CBD","CBD"],["CDE","CDE"],["CE0","CE1"],["CF1","CF2"],["D05","D0C"],["D0E","D10"],["D12","D3A"],["D3D","D3D"],["D4E","D4E"],["D60","D61"],["D7A","D7F"],["D85", -"D96"],["D9A","DB1"],["DB3","DBB"],["DBD","DBD"],["DC0","DC6"],["E01","E30"],["E32","E33"],["E40","E45"],["E81","E82"],["E84","E84"],["E87","E88"],["E8A","E8A"],["E8D","E8D"],["E94","E97"],["E99","E9F"],["EA1","EA3"],["EA5","EA5"],["EA7","EA7"],["EAA","EAB"],["EAD","EB0"],["EB2","EB3"],["EBD","EBD"],["EC0","EC4"],["EDC","EDF"],["F00","F00"],["F40","F47"],["F49","F6C"],["F88","F8C"],["1000","102A"],["103F","103F"],["1050","1055"],["105A","105D"],["1061","1061"],["1065","1066"],["106E","1070"],["1075", -"1081"],["108E","108E"],["10D0","10FA"],["10FD","1248"],["124A","124D"],["1250","1256"],["1258","1258"],["125A","125D"],["1260","1288"],["128A","128D"],["1290","12B0"],["12B2","12B5"],["12B8","12BE"],["12C0","12C0"],["12C2","12C5"],["12C8","12D6"],["12D8","1310"],["1312","1315"],["1318","135A"],["1380","138F"],["13A0","13F4"],["1401","166C"],["166F","167F"],["1681","169A"],["16A0","16EA"],["1700","170C"],["170E","1711"],["1720","1731"],["1740","1751"],["1760","176C"],["176E","1770"],["1780","17B3"], -["17DC","17DC"],["1820","1842"],["1844","1877"],["1880","18A8"],["18AA","18AA"],["18B0","18F5"],["1900","191C"],["1950","196D"],["1970","1974"],["1980","19AB"],["19C1","19C7"],["1A00","1A16"],["1A20","1A54"],["1B05","1B33"],["1B45","1B4B"],["1B83","1BA0"],["1BAE","1BAF"],["1BBA","1BE5"],["1C00","1C23"],["1C4D","1C4F"],["1C5A","1C77"],["1CE9","1CEC"],["1CEE","1CF1"],["1CF5","1CF6"],["2135","2138"],["2D30","2D67"],["2D80","2D96"],["2DA0","2DA6"],["2DA8","2DAE"],["2DB0","2DB6"],["2DB8","2DBE"],["2DC0", -"2DC6"],["2DC8","2DCE"],["2DD0","2DD6"],["2DD8","2DDE"],["3006","3006"],["303C","303C"],["3041","3096"],["309F","309F"],["30A1","30FA"],["30FF","30FF"],["3105","312D"],["3131","318E"],["31A0","31BA"],["31F0","31FF"],["3400","4DB5"],["4E00","9FCC"],["A000","A014"],["A016","A48C"],["A4D0","A4F7"],["A500","A60B"],["A610","A61F"],["A62A","A62B"],["A66E","A66E"],["A6A0","A6E5"],["A7FB","A801"],["A803","A805"],["A807","A80A"],["A80C","A822"],["A840","A873"],["A882","A8B3"],["A8F2","A8F7"],["A8FB","A8FB"], -["A90A","A925"],["A930","A946"],["A960","A97C"],["A984","A9B2"],["AA00","AA28"],["AA40","AA42"],["AA44","AA4B"],["AA60","AA6F"],["AA71","AA76"],["AA7A","AA7A"],["AA80","AAAF"],["AAB1","AAB1"],["AAB5","AAB6"],["AAB9","AABD"],["AAC0","AAC0"],["AAC2","AAC2"],["AADB","AADC"],["AAE0","AAEA"],["AAF2","AAF2"],["AB01","AB06"],["AB09","AB0E"],["AB11","AB16"],["AB20","AB26"],["AB28","AB2E"],["ABC0","ABE2"],["AC00","D7A3"],["D7B0","D7C6"],["D7CB","D7FB"],["F900","FA6D"],["FA70","FAD9"],["FB1D","FB1D"],["FB1F", -"FB28"],["FB2A","FB36"],["FB38","FB3C"],["FB3E","FB3E"],["FB40","FB41"],["FB43","FB44"],["FB46","FBB1"],["FBD3","FD3D"],["FD50","FD8F"],["FD92","FDC7"],["FDF0","FDFB"],["FE70","FE74"],["FE76","FEFC"],["FF66","FF6F"],["FF71","FF9D"],["FFA0","FFBE"],["FFC2","FFC7"],["FFCA","FFCF"],["FFD2","FFD7"],["FFDA","FFDC"],["10000","1000B"],["1000D","10026"],["10028","1003A"],["1003C","1003D"],["1003F","1004D"],["10050","1005D"],["10080","100FA"],["10280","1029C"],["102A0","102D0"],["10300","1031E"],["10330", -"10340"],["10342","10349"],["10380","1039D"],["103A0","103C3"],["103C8","103CF"],["10450","1049D"],["10800","10805"],["10808","10808"],["1080A","10835"],["10837","10838"],["1083C","1083C"],["1083F","10855"],["10900","10915"],["10920","10939"],["10980","109B7"],["109BE","109BF"],["10A00","10A00"],["10A10","10A13"],["10A15","10A17"],["10A19","10A33"],["10A60","10A7C"],["10B00","10B35"],["10B40","10B55"],["10B60","10B72"],["10C00","10C48"],["11003","11037"],["11083","110AF"],["110D0","110E8"],["11103", -"11126"],["11183","111B2"],["111C1","111C4"],["11680","116AA"],["12000","1236E"],["13000","1342E"],["16800","16A38"],["16F00","16F44"],["16F50","16F50"],["1B000","1B001"],["1EE00","1EE03"],["1EE05","1EE1F"],["1EE21","1EE22"],["1EE24","1EE24"],["1EE27","1EE27"],["1EE29","1EE32"],["1EE34","1EE37"],["1EE39","1EE39"],["1EE3B","1EE3B"],["1EE42","1EE42"],["1EE47","1EE47"],["1EE49","1EE49"],["1EE4B","1EE4B"],["1EE4D","1EE4F"],["1EE51","1EE52"],["1EE54","1EE54"],["1EE57","1EE57"],["1EE59","1EE59"],["1EE5B", -"1EE5B"],["1EE5D","1EE5D"],["1EE5F","1EE5F"],["1EE61","1EE62"],["1EE64","1EE64"],["1EE67","1EE6A"],["1EE6C","1EE72"],["1EE74","1EE77"],["1EE79","1EE7C"],["1EE7E","1EE7E"],["1EE80","1EE89"],["1EE8B","1EE9B"],["1EEA1","1EEA3"],["1EEA5","1EEA9"],["1EEAB","1EEBB"],["20000","2A6D6"],["2A700","2B734"],["2B740","2B81D"],["2F800","2FA1D"]],Lt:[["1C5","1C5"],["1C8","1C8"],["1CB","1CB"],["1F2","1F2"],["1F88","1F8F"],["1F98","1F9F"],["1FA8","1FAF"],["1FBC","1FBC"],["1FCC","1FCC"],["1FFC","1FFC"]],Lu:[["41", -"5A"],["C0","D6"],["D8","DE"],["100","100"],["102","102"],["104","104"],["106","106"],["108","108"],["10A","10A"],["10C","10C"],["10E","10E"],["110","110"],["112","112"],["114","114"],["116","116"],["118","118"],["11A","11A"],["11C","11C"],["11E","11E"],["120","120"],["122","122"],["124","124"],["126","126"],["128","128"],["12A","12A"],["12C","12C"],["12E","12E"],["130","130"],["132","132"],["134","134"],["136","136"],["139","139"],["13B","13B"],["13D","13D"],["13F","13F"],["141","141"],["143","143"], -["145","145"],["147","147"],["14A","14A"],["14C","14C"],["14E","14E"],["150","150"],["152","152"],["154","154"],["156","156"],["158","158"],["15A","15A"],["15C","15C"],["15E","15E"],["160","160"],["162","162"],["164","164"],["166","166"],["168","168"],["16A","16A"],["16C","16C"],["16E","16E"],["170","170"],["172","172"],["174","174"],["176","176"],["178","179"],["17B","17B"],["17D","17D"],["181","182"],["184","184"],["186","187"],["189","18B"],["18E","191"],["193","194"],["196","198"],["19C","19D"], -["19F","1A0"],["1A2","1A2"],["1A4","1A4"],["1A6","1A7"],["1A9","1A9"],["1AC","1AC"],["1AE","1AF"],["1B1","1B3"],["1B5","1B5"],["1B7","1B8"],["1BC","1BC"],["1C4","1C4"],["1C7","1C7"],["1CA","1CA"],["1CD","1CD"],["1CF","1CF"],["1D1","1D1"],["1D3","1D3"],["1D5","1D5"],["1D7","1D7"],["1D9","1D9"],["1DB","1DB"],["1DE","1DE"],["1E0","1E0"],["1E2","1E2"],["1E4","1E4"],["1E6","1E6"],["1E8","1E8"],["1EA","1EA"],["1EC","1EC"],["1EE","1EE"],["1F1","1F1"],["1F4","1F4"],["1F6","1F8"],["1FA","1FA"],["1FC","1FC"], -["1FE","1FE"],["200","200"],["202","202"],["204","204"],["206","206"],["208","208"],["20A","20A"],["20C","20C"],["20E","20E"],["210","210"],["212","212"],["214","214"],["216","216"],["218","218"],["21A","21A"],["21C","21C"],["21E","21E"],["220","220"],["222","222"],["224","224"],["226","226"],["228","228"],["22A","22A"],["22C","22C"],["22E","22E"],["230","230"],["232","232"],["23A","23B"],["23D","23E"],["241","241"],["243","246"],["248","248"],["24A","24A"],["24C","24C"],["24E","24E"],["370","370"], -["372","372"],["376","376"],["386","386"],["388","38A"],["38C","38C"],["38E","38F"],["391","3A1"],["3A3","3AB"],["3CF","3CF"],["3D2","3D4"],["3D8","3D8"],["3DA","3DA"],["3DC","3DC"],["3DE","3DE"],["3E0","3E0"],["3E2","3E2"],["3E4","3E4"],["3E6","3E6"],["3E8","3E8"],["3EA","3EA"],["3EC","3EC"],["3EE","3EE"],["3F4","3F4"],["3F7","3F7"],["3F9","3FA"],["3FD","42F"],["460","460"],["462","462"],["464","464"],["466","466"],["468","468"],["46A","46A"],["46C","46C"],["46E","46E"],["470","470"],["472","472"], -["474","474"],["476","476"],["478","478"],["47A","47A"],["47C","47C"],["47E","47E"],["480","480"],["48A","48A"],["48C","48C"],["48E","48E"],["490","490"],["492","492"],["494","494"],["496","496"],["498","498"],["49A","49A"],["49C","49C"],["49E","49E"],["4A0","4A0"],["4A2","4A2"],["4A4","4A4"],["4A6","4A6"],["4A8","4A8"],["4AA","4AA"],["4AC","4AC"],["4AE","4AE"],["4B0","4B0"],["4B2","4B2"],["4B4","4B4"],["4B6","4B6"],["4B8","4B8"],["4BA","4BA"],["4BC","4BC"],["4BE","4BE"],["4C0","4C1"],["4C3","4C3"], -["4C5","4C5"],["4C7","4C7"],["4C9","4C9"],["4CB","4CB"],["4CD","4CD"],["4D0","4D0"],["4D2","4D2"],["4D4","4D4"],["4D6","4D6"],["4D8","4D8"],["4DA","4DA"],["4DC","4DC"],["4DE","4DE"],["4E0","4E0"],["4E2","4E2"],["4E4","4E4"],["4E6","4E6"],["4E8","4E8"],["4EA","4EA"],["4EC","4EC"],["4EE","4EE"],["4F0","4F0"],["4F2","4F2"],["4F4","4F4"],["4F6","4F6"],["4F8","4F8"],["4FA","4FA"],["4FC","4FC"],["4FE","4FE"],["500","500"],["502","502"],["504","504"],["506","506"],["508","508"],["50A","50A"],["50C","50C"], -["50E","50E"],["510","510"],["512","512"],["514","514"],["516","516"],["518","518"],["51A","51A"],["51C","51C"],["51E","51E"],["520","520"],["522","522"],["524","524"],["526","526"],["531","556"],["10A0","10C5"],["10C7","10C7"],["10CD","10CD"],["1E00","1E00"],["1E02","1E02"],["1E04","1E04"],["1E06","1E06"],["1E08","1E08"],["1E0A","1E0A"],["1E0C","1E0C"],["1E0E","1E0E"],["1E10","1E10"],["1E12","1E12"],["1E14","1E14"],["1E16","1E16"],["1E18","1E18"],["1E1A","1E1A"],["1E1C","1E1C"],["1E1E","1E1E"],["1E20", -"1E20"],["1E22","1E22"],["1E24","1E24"],["1E26","1E26"],["1E28","1E28"],["1E2A","1E2A"],["1E2C","1E2C"],["1E2E","1E2E"],["1E30","1E30"],["1E32","1E32"],["1E34","1E34"],["1E36","1E36"],["1E38","1E38"],["1E3A","1E3A"],["1E3C","1E3C"],["1E3E","1E3E"],["1E40","1E40"],["1E42","1E42"],["1E44","1E44"],["1E46","1E46"],["1E48","1E48"],["1E4A","1E4A"],["1E4C","1E4C"],["1E4E","1E4E"],["1E50","1E50"],["1E52","1E52"],["1E54","1E54"],["1E56","1E56"],["1E58","1E58"],["1E5A","1E5A"],["1E5C","1E5C"],["1E5E","1E5E"], -["1E60","1E60"],["1E62","1E62"],["1E64","1E64"],["1E66","1E66"],["1E68","1E68"],["1E6A","1E6A"],["1E6C","1E6C"],["1E6E","1E6E"],["1E70","1E70"],["1E72","1E72"],["1E74","1E74"],["1E76","1E76"],["1E78","1E78"],["1E7A","1E7A"],["1E7C","1E7C"],["1E7E","1E7E"],["1E80","1E80"],["1E82","1E82"],["1E84","1E84"],["1E86","1E86"],["1E88","1E88"],["1E8A","1E8A"],["1E8C","1E8C"],["1E8E","1E8E"],["1E90","1E90"],["1E92","1E92"],["1E94","1E94"],["1E9E","1E9E"],["1EA0","1EA0"],["1EA2","1EA2"],["1EA4","1EA4"],["1EA6", -"1EA6"],["1EA8","1EA8"],["1EAA","1EAA"],["1EAC","1EAC"],["1EAE","1EAE"],["1EB0","1EB0"],["1EB2","1EB2"],["1EB4","1EB4"],["1EB6","1EB6"],["1EB8","1EB8"],["1EBA","1EBA"],["1EBC","1EBC"],["1EBE","1EBE"],["1EC0","1EC0"],["1EC2","1EC2"],["1EC4","1EC4"],["1EC6","1EC6"],["1EC8","1EC8"],["1ECA","1ECA"],["1ECC","1ECC"],["1ECE","1ECE"],["1ED0","1ED0"],["1ED2","1ED2"],["1ED4","1ED4"],["1ED6","1ED6"],["1ED8","1ED8"],["1EDA","1EDA"],["1EDC","1EDC"],["1EDE","1EDE"],["1EE0","1EE0"],["1EE2","1EE2"],["1EE4","1EE4"], -["1EE6","1EE6"],["1EE8","1EE8"],["1EEA","1EEA"],["1EEC","1EEC"],["1EEE","1EEE"],["1EF0","1EF0"],["1EF2","1EF2"],["1EF4","1EF4"],["1EF6","1EF6"],["1EF8","1EF8"],["1EFA","1EFA"],["1EFC","1EFC"],["1EFE","1EFE"],["1F08","1F0F"],["1F18","1F1D"],["1F28","1F2F"],["1F38","1F3F"],["1F48","1F4D"],["1F59","1F59"],["1F5B","1F5B"],["1F5D","1F5D"],["1F5F","1F5F"],["1F68","1F6F"],["1FB8","1FBB"],["1FC8","1FCB"],["1FD8","1FDB"],["1FE8","1FEC"],["1FF8","1FFB"],["2102","2102"],["2107","2107"],["210B","210D"],["2110", -"2112"],["2115","2115"],["2119","211D"],["2124","2124"],["2126","2126"],["2128","2128"],["212A","212D"],["2130","2133"],["213E","213F"],["2145","2145"],["2183","2183"],["2C00","2C2E"],["2C60","2C60"],["2C62","2C64"],["2C67","2C67"],["2C69","2C69"],["2C6B","2C6B"],["2C6D","2C70"],["2C72","2C72"],["2C75","2C75"],["2C7E","2C80"],["2C82","2C82"],["2C84","2C84"],["2C86","2C86"],["2C88","2C88"],["2C8A","2C8A"],["2C8C","2C8C"],["2C8E","2C8E"],["2C90","2C90"],["2C92","2C92"],["2C94","2C94"],["2C96","2C96"], -["2C98","2C98"],["2C9A","2C9A"],["2C9C","2C9C"],["2C9E","2C9E"],["2CA0","2CA0"],["2CA2","2CA2"],["2CA4","2CA4"],["2CA6","2CA6"],["2CA8","2CA8"],["2CAA","2CAA"],["2CAC","2CAC"],["2CAE","2CAE"],["2CB0","2CB0"],["2CB2","2CB2"],["2CB4","2CB4"],["2CB6","2CB6"],["2CB8","2CB8"],["2CBA","2CBA"],["2CBC","2CBC"],["2CBE","2CBE"],["2CC0","2CC0"],["2CC2","2CC2"],["2CC4","2CC4"],["2CC6","2CC6"],["2CC8","2CC8"],["2CCA","2CCA"],["2CCC","2CCC"],["2CCE","2CCE"],["2CD0","2CD0"],["2CD2","2CD2"],["2CD4","2CD4"],["2CD6", -"2CD6"],["2CD8","2CD8"],["2CDA","2CDA"],["2CDC","2CDC"],["2CDE","2CDE"],["2CE0","2CE0"],["2CE2","2CE2"],["2CEB","2CEB"],["2CED","2CED"],["2CF2","2CF2"],["A640","A640"],["A642","A642"],["A644","A644"],["A646","A646"],["A648","A648"],["A64A","A64A"],["A64C","A64C"],["A64E","A64E"],["A650","A650"],["A652","A652"],["A654","A654"],["A656","A656"],["A658","A658"],["A65A","A65A"],["A65C","A65C"],["A65E","A65E"],["A660","A660"],["A662","A662"],["A664","A664"],["A666","A666"],["A668","A668"],["A66A","A66A"], -["A66C","A66C"],["A680","A680"],["A682","A682"],["A684","A684"],["A686","A686"],["A688","A688"],["A68A","A68A"],["A68C","A68C"],["A68E","A68E"],["A690","A690"],["A692","A692"],["A694","A694"],["A696","A696"],["A722","A722"],["A724","A724"],["A726","A726"],["A728","A728"],["A72A","A72A"],["A72C","A72C"],["A72E","A72E"],["A732","A732"],["A734","A734"],["A736","A736"],["A738","A738"],["A73A","A73A"],["A73C","A73C"],["A73E","A73E"],["A740","A740"],["A742","A742"],["A744","A744"],["A746","A746"],["A748", -"A748"],["A74A","A74A"],["A74C","A74C"],["A74E","A74E"],["A750","A750"],["A752","A752"],["A754","A754"],["A756","A756"],["A758","A758"],["A75A","A75A"],["A75C","A75C"],["A75E","A75E"],["A760","A760"],["A762","A762"],["A764","A764"],["A766","A766"],["A768","A768"],["A76A","A76A"],["A76C","A76C"],["A76E","A76E"],["A779","A779"],["A77B","A77B"],["A77D","A77E"],["A780","A780"],["A782","A782"],["A784","A784"],["A786","A786"],["A78B","A78B"],["A78D","A78D"],["A790","A790"],["A792","A792"],["A7A0","A7A0"], -["A7A2","A7A2"],["A7A4","A7A4"],["A7A6","A7A6"],["A7A8","A7A8"],["A7AA","A7AA"],["FF21","FF3A"],["10400","10427"],["1D400","1D419"],["1D434","1D44D"],["1D468","1D481"],["1D49C","1D49C"],["1D49E","1D49F"],["1D4A2","1D4A2"],["1D4A5","1D4A6"],["1D4A9","1D4AC"],["1D4AE","1D4B5"],["1D4D0","1D4E9"],["1D504","1D505"],["1D507","1D50A"],["1D50D","1D514"],["1D516","1D51C"],["1D538","1D539"],["1D53B","1D53E"],["1D540","1D544"],["1D546","1D546"],["1D54A","1D550"],["1D56C","1D585"],["1D5A0","1D5B9"],["1D5D4", -"1D5ED"],["1D608","1D621"],["1D63C","1D655"],["1D670","1D689"],["1D6A8","1D6C0"],["1D6E2","1D6FA"],["1D71C","1D734"],["1D756","1D76E"],["1D790","1D7A8"],["1D7CA","1D7CA"]],M:"Mc|Me|Mn",Mc:[["903","903"],["93B","93B"],["93E","940"],["949","94C"],["94E","94F"],["982","983"],["9BE","9C0"],["9C7","9C8"],["9CB","9CC"],["9D7","9D7"],["A03","A03"],["A3E","A40"],["A83","A83"],["ABE","AC0"],["AC9","AC9"],["ACB","ACC"],["B02","B03"],["B3E","B3E"],["B40","B40"],["B47","B48"],["B4B","B4C"],["B57","B57"],["BBE", -"BBF"],["BC1","BC2"],["BC6","BC8"],["BCA","BCC"],["BD7","BD7"],["C01","C03"],["C41","C44"],["C82","C83"],["CBE","CBE"],["CC0","CC4"],["CC7","CC8"],["CCA","CCB"],["CD5","CD6"],["D02","D03"],["D3E","D40"],["D46","D48"],["D4A","D4C"],["D57","D57"],["D82","D83"],["DCF","DD1"],["DD8","DDF"],["DF2","DF3"],["F3E","F3F"],["F7F","F7F"],["102B","102C"],["1031","1031"],["1038","1038"],["103B","103C"],["1056","1057"],["1062","1064"],["1067","106D"],["1083","1084"],["1087","108C"],["108F","108F"],["109A","109C"], -["17B6","17B6"],["17BE","17C5"],["17C7","17C8"],["1923","1926"],["1929","192B"],["1930","1931"],["1933","1938"],["19B0","19C0"],["19C8","19C9"],["1A19","1A1B"],["1A55","1A55"],["1A57","1A57"],["1A61","1A61"],["1A63","1A64"],["1A6D","1A72"],["1B04","1B04"],["1B35","1B35"],["1B3B","1B3B"],["1B3D","1B41"],["1B43","1B44"],["1B82","1B82"],["1BA1","1BA1"],["1BA6","1BA7"],["1BAA","1BAA"],["1BAC","1BAD"],["1BE7","1BE7"],["1BEA","1BEC"],["1BEE","1BEE"],["1BF2","1BF3"],["1C24","1C2B"],["1C34","1C35"],["1CE1", -"1CE1"],["1CF2","1CF3"],["302E","302F"],["A823","A824"],["A827","A827"],["A880","A881"],["A8B4","A8C3"],["A952","A953"],["A983","A983"],["A9B4","A9B5"],["A9BA","A9BB"],["A9BD","A9C0"],["AA2F","AA30"],["AA33","AA34"],["AA4D","AA4D"],["AA7B","AA7B"],["AAEB","AAEB"],["AAEE","AAEF"],["AAF5","AAF5"],["ABE3","ABE4"],["ABE6","ABE7"],["ABE9","ABEA"],["ABEC","ABEC"],["11000","11000"],["11002","11002"],["11082","11082"],["110B0","110B2"],["110B7","110B8"],["1112C","1112C"],["11182","11182"],["111B3","111B5"], -["111BF","111C0"],["116AC","116AC"],["116AE","116AF"],["116B6","116B6"],["16F51","16F7E"],["1D165","1D166"],["1D16D","1D172"]],Me:[["488","489"],["20DD","20E0"],["20E2","20E4"],["A670","A672"]],Mn:[["300","36F"],["483","487"],["591","5BD"],["5BF","5BF"],["5C1","5C2"],["5C4","5C5"],["5C7","5C7"],["610","61A"],["64B","65F"],["670","670"],["6D6","6DC"],["6DF","6E4"],["6E7","6E8"],["6EA","6ED"],["711","711"],["730","74A"],["7A6","7B0"],["7EB","7F3"],["816","819"],["81B","823"],["825","827"],["829","82D"], -["859","85B"],["8E4","8FE"],["900","902"],["93A","93A"],["93C","93C"],["941","948"],["94D","94D"],["951","957"],["962","963"],["981","981"],["9BC","9BC"],["9C1","9C4"],["9CD","9CD"],["9E2","9E3"],["A01","A02"],["A3C","A3C"],["A41","A42"],["A47","A48"],["A4B","A4D"],["A51","A51"],["A70","A71"],["A75","A75"],["A81","A82"],["ABC","ABC"],["AC1","AC5"],["AC7","AC8"],["ACD","ACD"],["AE2","AE3"],["B01","B01"],["B3C","B3C"],["B3F","B3F"],["B41","B44"],["B4D","B4D"],["B56","B56"],["B62","B63"],["B82","B82"], -["BC0","BC0"],["BCD","BCD"],["C3E","C40"],["C46","C48"],["C4A","C4D"],["C55","C56"],["C62","C63"],["CBC","CBC"],["CBF","CBF"],["CC6","CC6"],["CCC","CCD"],["CE2","CE3"],["D41","D44"],["D4D","D4D"],["D62","D63"],["DCA","DCA"],["DD2","DD4"],["DD6","DD6"],["E31","E31"],["E34","E3A"],["E47","E4E"],["EB1","EB1"],["EB4","EB9"],["EBB","EBC"],["EC8","ECD"],["F18","F19"],["F35","F35"],["F37","F37"],["F39","F39"],["F71","F7E"],["F80","F84"],["F86","F87"],["F8D","F97"],["F99","FBC"],["FC6","FC6"],["102D","1030"], -["1032","1037"],["1039","103A"],["103D","103E"],["1058","1059"],["105E","1060"],["1071","1074"],["1082","1082"],["1085","1086"],["108D","108D"],["109D","109D"],["135D","135F"],["1712","1714"],["1732","1734"],["1752","1753"],["1772","1773"],["17B4","17B5"],["17B7","17BD"],["17C6","17C6"],["17C9","17D3"],["17DD","17DD"],["180B","180D"],["18A9","18A9"],["1920","1922"],["1927","1928"],["1932","1932"],["1939","193B"],["1A17","1A18"],["1A56","1A56"],["1A58","1A5E"],["1A60","1A60"],["1A62","1A62"],["1A65", -"1A6C"],["1A73","1A7C"],["1A7F","1A7F"],["1B00","1B03"],["1B34","1B34"],["1B36","1B3A"],["1B3C","1B3C"],["1B42","1B42"],["1B6B","1B73"],["1B80","1B81"],["1BA2","1BA5"],["1BA8","1BA9"],["1BAB","1BAB"],["1BE6","1BE6"],["1BE8","1BE9"],["1BED","1BED"],["1BEF","1BF1"],["1C2C","1C33"],["1C36","1C37"],["1CD0","1CD2"],["1CD4","1CE0"],["1CE2","1CE8"],["1CED","1CED"],["1CF4","1CF4"],["1DC0","1DE6"],["1DFC","1DFF"],["20D0","20DC"],["20E1","20E1"],["20E5","20F0"],["2CEF","2CF1"],["2D7F","2D7F"],["2DE0","2DFF"], -["302A","302D"],["3099","309A"],["A66F","A66F"],["A674","A67D"],["A69F","A69F"],["A6F0","A6F1"],["A802","A802"],["A806","A806"],["A80B","A80B"],["A825","A826"],["A8C4","A8C4"],["A8E0","A8F1"],["A926","A92D"],["A947","A951"],["A980","A982"],["A9B3","A9B3"],["A9B6","A9B9"],["A9BC","A9BC"],["AA29","AA2E"],["AA31","AA32"],["AA35","AA36"],["AA43","AA43"],["AA4C","AA4C"],["AAB0","AAB0"],["AAB2","AAB4"],["AAB7","AAB8"],["AABE","AABF"],["AAC1","AAC1"],["AAEC","AAED"],["AAF6","AAF6"],["ABE5","ABE5"],["ABE8", -"ABE8"],["ABED","ABED"],["FB1E","FB1E"],["FE00","FE0F"],["FE20","FE26"],["101FD","101FD"],["10A01","10A03"],["10A05","10A06"],["10A0C","10A0F"],["10A38","10A3A"],["10A3F","10A3F"],["11001","11001"],["11038","11046"],["11080","11081"],["110B3","110B6"],["110B9","110BA"],["11100","11102"],["11127","1112B"],["1112D","11134"],["11180","11181"],["111B6","111BE"],["116AB","116AB"],["116AD","116AD"],["116B0","116B5"],["116B7","116B7"],["16F8F","16F92"],["1D167","1D169"],["1D17B","1D182"],["1D185","1D18B"], -["1D1AA","1D1AD"],["1D242","1D244"],["E0100","E01EF"]],N:"Nd|Nl|No",Nd:[["30","39"],["660","669"],["6F0","6F9"],["7C0","7C9"],["966","96F"],["9E6","9EF"],["A66","A6F"],["AE6","AEF"],["B66","B6F"],["BE6","BEF"],["C66","C6F"],["CE6","CEF"],["D66","D6F"],["E50","E59"],["ED0","ED9"],["F20","F29"],["1040","1049"],["1090","1099"],["17E0","17E9"],["1810","1819"],["1946","194F"],["19D0","19D9"],["1A80","1A89"],["1A90","1A99"],["1B50","1B59"],["1BB0","1BB9"],["1C40","1C49"],["1C50","1C59"],["A620","A629"], -["A8D0","A8D9"],["A900","A909"],["A9D0","A9D9"],["AA50","AA59"],["ABF0","ABF9"],["FF10","FF19"],["104A0","104A9"],["11066","1106F"],["110F0","110F9"],["11136","1113F"],["111D0","111D9"],["116C0","116C9"],["1D7CE","1D7FF"]],Nl:[["16EE","16F0"],["2160","2182"],["2185","2188"],["3007","3007"],["3021","3029"],["3038","303A"],["A6E6","A6EF"],["10140","10174"],["10341","10341"],["1034A","1034A"],["103D1","103D5"],["12400","12462"]],No:[["B2","B3"],["B9","B9"],["BC","BE"],["9F4","9F9"],["B72","B77"],["BF0", -"BF2"],["C78","C7E"],["D70","D75"],["F2A","F33"],["1369","137C"],["17F0","17F9"],["19DA","19DA"],["2070","2070"],["2074","2079"],["2080","2089"],["2150","215F"],["2189","2189"],["2460","249B"],["24EA","24FF"],["2776","2793"],["2CFD","2CFD"],["3192","3195"],["3220","3229"],["3248","324F"],["3251","325F"],["3280","3289"],["32B1","32BF"],["A830","A835"],["10107","10133"],["10175","10178"],["1018A","1018A"],["10320","10323"],["10858","1085F"],["10916","1091B"],["10A40","10A47"],["10A7D","10A7E"],["10B58", -"10B5F"],["10B78","10B7F"],["10E60","10E7E"],["11052","11065"],["1D360","1D371"],["1F100","1F10A"]],P:"Pc|Pd|Pe|Pf|Pi|Po|Ps",Pc:[["5F","5F"],["203F","2040"],["2054","2054"],["FE33","FE34"],["FE4D","FE4F"],["FF3F","FF3F"]],Pd:[["2D","2D"],["58A","58A"],["5BE","5BE"],["1400","1400"],["1806","1806"],["2010","2015"],["2E17","2E17"],["2E1A","2E1A"],["2E3A","2E3B"],["301C","301C"],["3030","3030"],["30A0","30A0"],["FE31","FE32"],["FE58","FE58"],["FE63","FE63"],["FF0D","FF0D"]],Pe:[["29","29"],["5D","5D"], -["7D","7D"],["F3B","F3B"],["F3D","F3D"],["169C","169C"],["2046","2046"],["207E","207E"],["208E","208E"],["232A","232A"],["2769","2769"],["276B","276B"],["276D","276D"],["276F","276F"],["2771","2771"],["2773","2773"],["2775","2775"],["27C6","27C6"],["27E7","27E7"],["27E9","27E9"],["27EB","27EB"],["27ED","27ED"],["27EF","27EF"],["2984","2984"],["2986","2986"],["2988","2988"],["298A","298A"],["298C","298C"],["298E","298E"],["2990","2990"],["2992","2992"],["2994","2994"],["2996","2996"],["2998","2998"], -["29D9","29D9"],["29DB","29DB"],["29FD","29FD"],["2E23","2E23"],["2E25","2E25"],["2E27","2E27"],["2E29","2E29"],["3009","3009"],["300B","300B"],["300D","300D"],["300F","300F"],["3011","3011"],["3015","3015"],["3017","3017"],["3019","3019"],["301B","301B"],["301E","301F"],["FD3F","FD3F"],["FE18","FE18"],["FE36","FE36"],["FE38","FE38"],["FE3A","FE3A"],["FE3C","FE3C"],["FE3E","FE3E"],["FE40","FE40"],["FE42","FE42"],["FE44","FE44"],["FE48","FE48"],["FE5A","FE5A"],["FE5C","FE5C"],["FE5E","FE5E"],["FF09", -"FF09"],["FF3D","FF3D"],["FF5D","FF5D"],["FF60","FF60"],["FF63","FF63"]],Pf:[["BB","BB"],["2019","2019"],["201D","201D"],["203A","203A"],["2E03","2E03"],["2E05","2E05"],["2E0A","2E0A"],["2E0D","2E0D"],["2E1D","2E1D"],["2E21","2E21"]],Pi:[["AB","AB"],["2018","2018"],["201B","201C"],["201F","201F"],["2039","2039"],["2E02","2E02"],["2E04","2E04"],["2E09","2E09"],["2E0C","2E0C"],["2E1C","2E1C"],["2E20","2E20"]],Po:[["21","23"],["25","27"],["2A","2A"],["2C","2C"],["2E","2F"],["3A","3B"],["3F","40"],["5C", -"5C"],["A1","A1"],["A7","A7"],["B6","B7"],["BF","BF"],["37E","37E"],["387","387"],["55A","55F"],["589","589"],["5C0","5C0"],["5C3","5C3"],["5C6","5C6"],["5F3","5F4"],["609","60A"],["60C","60D"],["61B","61B"],["61E","61F"],["66A","66D"],["6D4","6D4"],["700","70D"],["7F7","7F9"],["830","83E"],["85E","85E"],["964","965"],["970","970"],["AF0","AF0"],["DF4","DF4"],["E4F","E4F"],["E5A","E5B"],["F04","F12"],["F14","F14"],["F85","F85"],["FD0","FD4"],["FD9","FDA"],["104A","104F"],["10FB","10FB"],["1360","1368"], -["166D","166E"],["16EB","16ED"],["1735","1736"],["17D4","17D6"],["17D8","17DA"],["1800","1805"],["1807","180A"],["1944","1945"],["1A1E","1A1F"],["1AA0","1AA6"],["1AA8","1AAD"],["1B5A","1B60"],["1BFC","1BFF"],["1C3B","1C3F"],["1C7E","1C7F"],["1CC0","1CC7"],["1CD3","1CD3"],["2016","2017"],["2020","2027"],["2030","2038"],["203B","203E"],["2041","2043"],["2047","2051"],["2053","2053"],["2055","205E"],["2CF9","2CFC"],["2CFE","2CFF"],["2D70","2D70"],["2E00","2E01"],["2E06","2E08"],["2E0B","2E0B"],["2E0E", -"2E16"],["2E18","2E19"],["2E1B","2E1B"],["2E1E","2E1F"],["2E2A","2E2E"],["2E30","2E39"],["3001","3003"],["303D","303D"],["30FB","30FB"],["A4FE","A4FF"],["A60D","A60F"],["A673","A673"],["A67E","A67E"],["A6F2","A6F7"],["A874","A877"],["A8CE","A8CF"],["A8F8","A8FA"],["A92E","A92F"],["A95F","A95F"],["A9C1","A9CD"],["A9DE","A9DF"],["AA5C","AA5F"],["AADE","AADF"],["AAF0","AAF1"],["ABEB","ABEB"],["FE10","FE16"],["FE19","FE19"],["FE30","FE30"],["FE45","FE46"],["FE49","FE4C"],["FE50","FE52"],["FE54","FE57"], -["FE5F","FE61"],["FE68","FE68"],["FE6A","FE6B"],["FF01","FF03"],["FF05","FF07"],["FF0A","FF0A"],["FF0C","FF0C"],["FF0E","FF0F"],["FF1A","FF1B"],["FF1F","FF20"],["FF3C","FF3C"],["FF61","FF61"],["FF64","FF65"],["10100","10102"],["1039F","1039F"],["103D0","103D0"],["10857","10857"],["1091F","1091F"],["1093F","1093F"],["10A50","10A58"],["10A7F","10A7F"],["10B39","10B3F"],["11047","1104D"],["110BB","110BC"],["110BE","110C1"],["11140","11143"],["111C5","111C8"],["12470","12473"]],Ps:[["28","28"],["5B", -"5B"],["7B","7B"],["F3A","F3A"],["F3C","F3C"],["169B","169B"],["201A","201A"],["201E","201E"],["2045","2045"],["207D","207D"],["208D","208D"],["2329","2329"],["2768","2768"],["276A","276A"],["276C","276C"],["276E","276E"],["2770","2770"],["2772","2772"],["2774","2774"],["27C5","27C5"],["27E6","27E6"],["27E8","27E8"],["27EA","27EA"],["27EC","27EC"],["27EE","27EE"],["2983","2983"],["2985","2985"],["2987","2987"],["2989","2989"],["298B","298B"],["298D","298D"],["298F","298F"],["2991","2991"],["2993", -"2993"],["2995","2995"],["2997","2997"],["29D8","29D8"],["29DA","29DA"],["29FC","29FC"],["2E22","2E22"],["2E24","2E24"],["2E26","2E26"],["2E28","2E28"],["3008","3008"],["300A","300A"],["300C","300C"],["300E","300E"],["3010","3010"],["3014","3014"],["3016","3016"],["3018","3018"],["301A","301A"],["301D","301D"],["FD3E","FD3E"],["FE17","FE17"],["FE35","FE35"],["FE37","FE37"],["FE39","FE39"],["FE3B","FE3B"],["FE3D","FE3D"],["FE3F","FE3F"],["FE41","FE41"],["FE43","FE43"],["FE47","FE47"],["FE59","FE59"], -["FE5B","FE5B"],["FE5D","FE5D"],["FF08","FF08"],["FF3B","FF3B"],["FF5B","FF5B"],["FF5F","FF5F"],["FF62","FF62"]],S:"Sc|Sk|Sm|So",Sc:[["24","24"],["A2","A5"],["58F","58F"],["60B","60B"],["9F2","9F3"],["9FB","9FB"],["AF1","AF1"],["BF9","BF9"],["E3F","E3F"],["17DB","17DB"],["20A0","20BA"],["A838","A838"],["FDFC","FDFC"],["FE69","FE69"],["FF04","FF04"],["FFE0","FFE1"],["FFE5","FFE6"]],Sk:[["5E","5E"],["60","60"],["A8","A8"],["AF","AF"],["B4","B4"],["B8","B8"],["2C2","2C5"],["2D2","2DF"],["2E5","2EB"], -["2ED","2ED"],["2EF","2FF"],["375","375"],["384","385"],["1FBD","1FBD"],["1FBF","1FC1"],["1FCD","1FCF"],["1FDD","1FDF"],["1FED","1FEF"],["1FFD","1FFE"],["309B","309C"],["A700","A716"],["A720","A721"],["A789","A78A"],["FBB2","FBC1"],["FF3E","FF3E"],["FF40","FF40"],["FFE3","FFE3"]],Sm:[["2B","2B"],["3C","3E"],["7C","7C"],["7E","7E"],["AC","AC"],["B1","B1"],["D7","D7"],["F7","F7"],["3F6","3F6"],["606","608"],["2044","2044"],["2052","2052"],["207A","207C"],["208A","208C"],["2118","2118"],["2140","2144"], -["214B","214B"],["2190","2194"],["219A","219B"],["21A0","21A0"],["21A3","21A3"],["21A6","21A6"],["21AE","21AE"],["21CE","21CF"],["21D2","21D2"],["21D4","21D4"],["21F4","22FF"],["2308","230B"],["2320","2321"],["237C","237C"],["239B","23B3"],["23DC","23E1"],["25B7","25B7"],["25C1","25C1"],["25F8","25FF"],["266F","266F"],["27C0","27C4"],["27C7","27E5"],["27F0","27FF"],["2900","2982"],["2999","29D7"],["29DC","29FB"],["29FE","2AFF"],["2B30","2B44"],["2B47","2B4C"],["FB29","FB29"],["FE62","FE62"],["FE64", -"FE66"],["FF0B","FF0B"],["FF1C","FF1E"],["FF5C","FF5C"],["FF5E","FF5E"],["FFE2","FFE2"],["FFE9","FFEC"],["1D6C1","1D6C1"],["1D6DB","1D6DB"],["1D6FB","1D6FB"],["1D715","1D715"],["1D735","1D735"],["1D74F","1D74F"],["1D76F","1D76F"],["1D789","1D789"],["1D7A9","1D7A9"],["1D7C3","1D7C3"],["1EEF0","1EEF1"]],So:[["A6","A6"],["A9","A9"],["AE","AE"],["B0","B0"],["482","482"],["60E","60F"],["6DE","6DE"],["6E9","6E9"],["6FD","6FE"],["7F6","7F6"],["9FA","9FA"],["B70","B70"],["BF3","BF8"],["BFA","BFA"],["C7F", -"C7F"],["D79","D79"],["F01","F03"],["F13","F13"],["F15","F17"],["F1A","F1F"],["F34","F34"],["F36","F36"],["F38","F38"],["FBE","FC5"],["FC7","FCC"],["FCE","FCF"],["FD5","FD8"],["109E","109F"],["1390","1399"],["1940","1940"],["19DE","19FF"],["1B61","1B6A"],["1B74","1B7C"],["2100","2101"],["2103","2106"],["2108","2109"],["2114","2114"],["2116","2117"],["211E","2123"],["2125","2125"],["2127","2127"],["2129","2129"],["212E","212E"],["213A","213B"],["214A","214A"],["214C","214D"],["214F","214F"],["2195", -"2199"],["219C","219F"],["21A1","21A2"],["21A4","21A5"],["21A7","21AD"],["21AF","21CD"],["21D0","21D1"],["21D3","21D3"],["21D5","21F3"],["2300","2307"],["230C","231F"],["2322","2328"],["232B","237B"],["237D","239A"],["23B4","23DB"],["23E2","23F3"],["2400","2426"],["2440","244A"],["249C","24E9"],["2500","25B6"],["25B8","25C0"],["25C2","25F7"],["2600","266E"],["2670","26FF"],["2701","2767"],["2794","27BF"],["2800","28FF"],["2B00","2B2F"],["2B45","2B46"],["2B50","2B59"],["2CE5","2CEA"],["2E80","2E99"], -["2E9B","2EF3"],["2F00","2FD5"],["2FF0","2FFB"],["3004","3004"],["3012","3013"],["3020","3020"],["3036","3037"],["303E","303F"],["3190","3191"],["3196","319F"],["31C0","31E3"],["3200","321E"],["322A","3247"],["3250","3250"],["3260","327F"],["328A","32B0"],["32C0","32FE"],["3300","33FF"],["4DC0","4DFF"],["A490","A4C6"],["A828","A82B"],["A836","A837"],["A839","A839"],["AA77","AA79"],["FDFD","FDFD"],["FFE4","FFE4"],["FFE8","FFE8"],["FFED","FFEE"],["FFFC","FFFD"],["10137","1013F"],["10179","10189"],["10190", -"1019B"],["101D0","101FC"],["1D000","1D0F5"],["1D100","1D126"],["1D129","1D164"],["1D16A","1D16C"],["1D183","1D184"],["1D18C","1D1A9"],["1D1AE","1D1DD"],["1D200","1D241"],["1D245","1D245"],["1D300","1D356"],["1F000","1F02B"],["1F030","1F093"],["1F0A0","1F0AE"],["1F0B1","1F0BE"],["1F0C1","1F0CF"],["1F0D1","1F0DF"],["1F110","1F12E"],["1F130","1F16B"],["1F170","1F19A"],["1F1E6","1F202"],["1F210","1F23A"],["1F240","1F248"],["1F250","1F251"],["1F300","1F320"],["1F330","1F335"],["1F337","1F37C"],["1F380", -"1F393"],["1F3A0","1F3C4"],["1F3C6","1F3CA"],["1F3E0","1F3F0"],["1F400","1F43E"],["1F440","1F440"],["1F442","1F4F7"],["1F4F9","1F4FC"],["1F500","1F53D"],["1F540","1F543"],["1F550","1F567"],["1F5FB","1F640"],["1F645","1F64F"],["1F680","1F6C5"],["1F700","1F773"]],Z:"Zl|Zp|Zs",Zl:[["2028","2028"]],Zp:[["2029","2029"]],Zs:[["20","20"],["A0","A0"],["1680","1680"],["180E","180E"],["2000","200A"],["202F","202F"],["205F","205F"],["3000","3000"]],"~i":[["3A","3A"],["41","5A"],["5F","5F"],["61","7A"],["C0", -"D6"],["D8","F6"],["F8","2FF"],["370","37D"],["37F","1FFF"],["200C","200D"],["2070","218F"],["2C00","2FEF"],["3001","D7FF"],["F900","FDCF"],["FDF0","FFFD"],["10000","EFFFF"]],"~c":[["2D","2E"],["30","3A"],["41","5A"],["5F","5F"],["61","7A"],["B7","B7"],["C0","D6"],["D8","F6"],["F8","37D"],["37F","1FFF"],["200C","200D"],["203F","2040"],["2070","218F"],["2C00","2FEF"],["3001","D7FF"],["F900","FDCF"],["FDF0","FFFD"],["10000","EFFFF"]],w:"Ll|Lm|Lo|Lt|Lu|Mc|Me|Mn|Nd|Nl|No|Sc|Sk|Sm|So"},wa={"http://www.w3.org/2005/xpath-functions":{QName:[2], -abs:[1],"accumulator-after":[1],"accumulator-before":[1],"adjust-date-to-timezone":[1,2],"adjust-dateTime-to-timezone":[1,2],"adjust-time-to-timezone":[1,2],"analyze-string":[2,3],apply:[2],"available-environment-variables":[0],"available-system-properties":[0],avg:[1],"base-uri":[0,1],"boolean":[1],ceiling:[1],"codepoint-equal":[2],"codepoints-to-string":[1],"collation-key":[1,2],collection:[0,1],compare:[2,3],concat:[3],contains:[2,3],"contains-token":[2,3],"copy-of":[0,1],count:[1],current:[0], -"current-date":[0],"current-dateTime":[0],"current-group":[0],"current-grouping-key":[0],"current-merge-group":[0,1],"current-merge-key":[0],"current-output-uri":[0],"current-time":[0],data:[0,1],dateTime:[2],"day-from-date":[1],"day-from-dateTime":[1],"days-from-duration":[1],"deep-equal":[2,3],"default-collation":[0],"default-language":[0],"distinct-values":[1,2],doc:[1],"doc-available":[1],document:[1,2],"document-uri":[0,1],"element-available":[1],"element-with-id":[1,2],empty:[1],"encode-for-uri":[1], -"ends-with":[2,3],"environment-variable":[1],error:[0,1,2,3],"escape-html-uri":[1],"exactly-one":[1],exists:[1],"false":[0],filter:[2],floor:[1],"fold-left":[3],"fold-right":[3],"for-each":[2],"for-each-pair":[3],"format-date":[2,5],"format-dateTime":[2,5],"format-integer":[2,3],"format-number":[2,3],"format-time":[2,5],"function-arity":[1],"function-available":[1,2],"function-lookup":[2],"function-name":[1],"generate-id":[0,1],"has-children":[0,1],head:[1],"hours-from-dateTime":[1],"hours-from-duration":[1], -"hours-from-time":[1],id:[1,2],idref:[1,2],"implicit-timezone":[0],"in-scope-prefixes":[1],"index-of":[2,3],innermost:[1],"insert-before":[3],"iri-to-uri":[1],"json-doc":[1,2],"json-to-xml":[1,2],key:[2,3],lang:[1,2],last:[0],"load-xquery-module":[1,2],"local-name":[0,1],"local-name-from-QName":[1],"lower-case":[1],matches:[2,3],max:[1,2],min:[1,2],"minutes-from-dateTime":[1],"minutes-from-duration":[1],"minutes-from-time":[1],"month-from-date":[1],"month-from-dateTime":[1],"months-from-duration":[1], -name:[0,1],"namespace-uri":[0,1],"namespace-uri-for-prefix":[2],"namespace-uri-from-QName":[1],nilled:[0,1],"node-name":[0,1],"normalize-space":[0,1],"normalize-unicode":[1,2],not:[1],number:[0,1],"one-or-more":[1],outermost:[1],"parse-ietf-date":[1],"parse-json":[1,2],"parse-xml":[1],"parse-xml-fragment":[1],path:[0,1],position:[0],"prefix-from-QName":[1],put:[2],"random-number-generator":[0,1],"regex-group":[1],remove:[2],replace:[3,4],"resolve-QName":[2],"resolve-uri":[1,2],reverse:[1],root:[0, -1],round:[1,2],"round-half-to-even":[1,2],"seconds-from-dateTime":[1],"seconds-from-duration":[1],"seconds-from-time":[1],serialize:[1,2],"serialize-json":[1,2],snapshot:[0,1],sort:[1,3],"starts-with":[2,3],"static-base-uri":[0],"stream-available":[1],string:[0,1],"string-join":[1,2],"string-length":[0,1],"string-to-codepoints":[1],subsequence:[2,3],substring:[2,3],"substring-after":[2,3],"substring-before":[2,3],sum:[1,2],"system-property":[1],tail:[1],"timezone-from-date":[1],"timezone-from-dateTime":[1], -"timezone-from-time":[1],tokenize:[1,2,3],trace:[1,2],transform:[1],translate:[3],"true":[0],"type-available":[1],unordered:[1],"unparsed-entity-public-id":[1,2],"unparsed-entity-uri":[1,2],"unparsed-text":[1,2],"unparsed-text-available":[1,2],"unparsed-text-lines":[1,2],"upper-case":[1],"uri-collection":[0,1],"xml-to-json":[1,2],"year-from-date":[1],"year-from-dateTime":[1],"years-from-duration":[1],"zero-or-one":[1]},"http://www.w3.org/2005/xpath-functions/array":{append:[2],filter:[2],flatten:[1], -"fold-left":[3],"fold-right":[3],"for-each":[2],"for-each-pair":[3],get:[2],head:[1],"insert-before":[3],join:[1],remove:[2],reverse:[1],size:[1],sort:[1,2],subarray:[2,3],tail:[1]},"http://www.w3.org/2005/xpath-functions/map":{contains:[2],entry:[2],"for-each":[2],get:[2],keys:[1],merge:[1],put:[3],remove:[2],size:[1]},"http://www.w3.org/2005/xpath-functions/math":{acos:[1],asin:[1],atan:[1],atan2:[2],cos:[1],exp:[1],exp10:[1],log:[1],log10:[1],pi:[0],pow:[2],sin:[1],sqrt:[1],tan:[1]},"http://www.w3.org/2001/XMLSchema":{numeric:[1], -string:[1],"boolean":[1],duration:[1],dateTime:[1],date:[1],time:[1],gYearMonth:[1],gMonth:[1],gMonthDay:[1],gYear:[1],gDay:[1],hexBinary:[1],base64Binary:[1],anyURI:[1],QName:[1],untypedAtomic:[1],decimal:[1],"float":[1],"double":[1],integer:[1],nonPositiveInteger:[1],negativeInteger:[1],"long":[1],"int":[1],"short":[1],"byte":[1],nonNegativeInteger:[1],positiveInteger:[1],unsignedLong:[1],unsignedInt:[1],unsignedShort:[1],unsignedByte:[1],yearMonthDuration:[1],dayTimeDuration:[1],dateTimeStamp:[1], -normalizedString:[1],token:[1],language:[1],Name:[1],NMTOKEN:[1],NCName:[1],ID:[1],IDREF:[1],ENTITY:[1],NMTOKENS:[1],ENTITIES:[1],IDREFS:[1],error:[1]},"http://saxonica.com/ns/interactiveXSLT":{apply:[2],call:[3],contains:[2],eval:[1],event:[0],get:[2],location:[0],page:[0],"query-params":[0],source:[0],style:[1],window:[0]}},xa={accept:{},accumulator:{},"accumulator-rule":{},"analyze-string":{},"apply-imports":{},"apply-templates":{},assert:{},attribute:{},"attribute-set":{},"break":{},"call-template":{}, -"catch":{},"character-map":{},choose:{},comment:{},"context-item":{},copy:{},"copy-of":{},"decimal-format":{},document:{},element:{},evaluate:{},expose:{},fallback:{},"for-each":{},"for-each-group":{},fork:{},"function":{},"global-context-item":{},"if":{},"import":{},include:{},iterate:{},key:{},map:{},"map-entry":{},"matching-substring":{},merge:{},"merge-action":{},"merge-key":{},"merge-source":{},message:{},mode:{},namespace:{},"namespace-alias":{},"next-iteration":{},"next-match":{},"non-matching-substring":{}, -number:{},"on-completion":{},"on-empty":{},"on-non-empty":{},otherwise:{},output:{},"output-character":{},override:{},"package":{},param:{},"perform-sort":{},"preserve-space":{},"processing-instruction":{},"result-document":{},sequence:{},sort:{},"source-document":{},"strip-space":{},stylesheet:{},template:{},text:{},transform:{},"try":{},"use-package":{},"value-of":{},variable:{},when:{},"where-populated":{},"with-param":{}};var ya=function(){var a;return{getPlatform:function(){return a},setPlatform:function(b){a=b},gj:function(b,h,A,P,q){return a.addMultipleDocs(b,h,A,P,q)},createDocument:function(){return a.createDocument()},ei:function(){return a.getDefaultDeliverMessage()},inBrowser:function(){return a.inBrowser()},isHTMLElement:function(b){return a.isHTMLElement(b)},makeBuffer:function(b,h){return a.makeBuffer(b,h)},makeHttpRequest:function(b,h,A,P){return a.makeHttpRequest(b,h,A,P)},parseXmlFromString:function(b, -h,A){return a.parseXmlFromString(b,h,A)},readFile:function(b,h){return a.readFile(b,h)},resource:function(b){return a.resource(b)},resourcePromise:function(b){return a.resourcePromise(b)},resolveUri:function(b,h){return a.resolveUri(b,h)},Qa:function(b){return a.saxonPrint(b)},newURL:function(b,h){return a.newURL(b,h)},fileURL:function(b){return a.fileURL(b)},baseURL:function(){return a.baseURL()},systemProperties:function(){return{version:"3.0",vendor:"Saxonica","vendor-url":"http://www.saxonica.com/", -"product-name":"SaxonJS","product-version":"2.7","is-schema-aware":"no","supports-serialization":"yes","supports-backwards-compatibility":"yes","supports-namespace-axis":"yes","supports-streaming":"no","supports-dynamic-evaluation":"yes","supports-higher-order-functions":"yes","xpath-version":"3.1","xsd-version":"1.1"}},extraProperties:function(){return a.extraProperties},toUTF8:function(b){return a.toUTF8(b)},fromUTF8:function(b){return a.fromUTF8(b)},Ij:function(){return a.globalObject}}}();function za(a,b){function h(A,P){for(;A;){if(A[P])return A[P];A=A.parentNode}return null}a.xsltLineNr=h(b,"line");a.xsltModule=h(b,"module")} -class J extends Error{constructor(a="SaxonJS run-time error",b="FORG0001",h=null){super();this.name="XError";this.message=a;this.code=b;h&&za(this,h)}toString(){return this.name+":"+this.message+"; code:"+this.code}getStackTrace(){return null.getStackTrace()}getMessage(){let a="Error "+this.code;null!=this.xsltLineNr&&(a+=" at "+this.xsltModule+"#"+this.xsltLineNr);return a+="\n "+this.message}Ad(){return this.code}}oa=J.prototype;oa.code=null;oa.errorObject=null;oa.xsltLineNr=null; -oa.xsltModule=null;oa.Le=!1;const Aa=function(){function a(e){P("Internal error: "+e+"\n"+Error().stack);throw new J("Internal error: "+e,"SXJS0004");}function b(e){if(null===e)return"#null";if("undefined"===typeof e)return"#undefined";let l;if(e.showValue)return e.showValue();if(e.N)return"expression "+e.N;if(q&&q.Q(e)){if(q.ke(e))return"attribute @"+e.name+"='"+e.value+"'";if(q.Cd(e))return"ns:"+e.prefix+"="+e.q;l={1:"element <"+e.tagName+">",2:"attribute @"+e.name,3:"text:"+(e.nodeValue?e.nodeValue.substring(0,8):"''"),7:"pi: "+ -e.target+"("+e.tagName+")",8:"comment ("+e.nodeValue+")",9:"document "+(e._saxonDocumentNumber?"#"+e._saxonDocumentNumber:"(No nr / #0)"),11:"docFrag"}[e.nodeType];if("9"===e.nodeType||"11"===e.nodeType){var z;for(z=0;z"+b(e.childNodes[z])}return l}if(e.code)return"atomic:"+e.code+"('"+e.toString()+"')";if("object"===typeof e&&"length"in e){if(1===e.length)return b(e[0]);l="(";for(z=0;zz;z++)0!==z&&(l+=","),l+=b(e[z]);4<=e.length&&(l+=",...("+e.length+")"); -return l+")"}return"function"===typeof e?e.toString():"("+typeof e+") "+e}function h(e){return"{'N':'"+e.N+"','C':["+(e.C||[]).map(l=>h(l)).join(",")+"]}"}function A(e,l){for(;e;){if(e[l])return e[l];e=e.parentNode}return null}function P(e,l=1,z){let v=g;z&&(v=z);l<=v&&ya.getPlatform().saxonPrint(e)}let q,g=1;Error.stackTraceLimit=100;return{ba:function(e,l="assertion failed"){e||a(l)},fa:a,location:function(e){return A(e,"module")+"#"+A(e,"line")},pk:function(e){q=e},Qa:P,showValue:b,Ji:function(e){return e.showValue? -e.showValue():q&&q.Q(e)?b(e):e.code?"atomic:"+e.code+"('"+e.toString()+"')":e.Cj?e.toString():"("+typeof e+") "+e},yk:function(e){if(!e)return"null expr";let l=e.N||"?";for(let z in e)e.hasOwnProperty(z)&&!["C","N","parentNode","ELAB","PUSH"].includes(z)&&(l+=" "+z+"="+e[z]);e.C&&(l+=" ("+e.C.map(z=>z.N).join(",")+")");return l+=" at "+this.location(e)},hm:h,getLogLevel:function(){return g},setLogLevel:function(e){"number"==typeof e&&(g=e)}}}();function Da(a){return a.replace(/[ \n\r\t]+/g," ").replace(/^[ ]|[ ]$/g,"")}function Ea(a){if(32>a&&![9,10,13].includes(a)||55295a||65533a||1114111a?-1:0===a?0:1}return a65535b.codePointAt(0))}function Ja(a){return String.fromCodePoint(...a.map(Ea))}class La{};var Ma=function(){function a(){null===h&&(h=ya.resource("regexCategories"));return h}function b(g,e,l=null,z=null){function v(x,E){function B(V){for(V=V.toString(16);4>V.length;)V="0"+V;return"\\u"+(A&&4=aa&&V.push([aa,ja])}w=w[w.length-1][1];(A||65535>w)&&V.push([w+1,A?1114111:65535])}w="";for(M=0;MV[M][1])w+=B(V[M][0]), -V[M][1]>V[M][0]&&(w+="-"+B(V[M][1]));V=w;ha||(V="["+V+"]");return V}function H(V){return V.sort(function(ha,w){return ha[0]-w[0]})}function S(V,ha,w,M){var aa=[];Array.isArray(V)||p("Ranges must be array");V.forEach(function(ja){aa.push([parseInt(ja[0],16),parseInt(ja[1],16)])});w&&M&&H(aa);return L(aa,ha,w)}var C=x.charAt(E+1);0>"nrt\\|.-^?*+{}()[]pPsSiIcCdDwW$".indexOf(C)&&(0!==m||!/[0-9]/.test(C))&&p("\\"+C+" is not allowed in XPath regular expressions");switch(C){case "p":case "P":var Z=x.indexOf("}", -E);x=x.substring(E+3,Z);G("x")&&(x=x.replace(/[ \n\r\t]+/g,""));var K=a();(E=K[x])||p("Unknown category "+x);if(1===x.length){var X=[];E.split("|").forEach(function(w){X=X.concat(K[w])})}else X=E;I+=S(X,0=n&&/[0-9]/.test(x.charAt(E+2))&&(I+="(?:)"),E++):(I+="\\"+C,E++)}return{lk:I,i:E}}function G(x){return 0<=e.indexOf(x)}function p(x){throw new J("Invalid XPath regular expression: "+x,"FORX0002");}let f=0;e=e?e.toString():"";if(!A&&l&&Ha(l))throw new J("Cannot handle non-BMP characters with regular expressions in this browser", -"SXJS0002");l=(G("i")?"i":"")+(G("m")?"m":"")+(G("g")?"g":"")+(A?"u":"");if(G("j"))return new RegExp(g,e.replace("j",""));if(G("q"))return new RegExp(g.replace(/[\[\]\/\{\}\(\)\*\+\?\.\\^$|]/g,"\\$&"),l);let I="";const D=[[58,58],[65,90],[95,95],[97,122],[192,214],[216,246],[248,767],[880,893],[895,8191],[8204,8205],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],r=[[45,46],[48,58],[65,90],[95,95],[97,122],[183,183],[192,214],[216,246],[248,893],[895,8191],[8204, -8205],[8255,8256],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],c=[],d=[];let n=1,m=0,u=!1;var Q=!1;for(var ma=0;maQ||!/^[0-9]+(,[0-9]*)?$/.test(g.substring(ma+1,Q)))&&p("Invalid quantifier {"+g.substring(ma+1,Q+1)),Q=!1);I+=x;break;case " ":case "\n":case "\r":case "\t":if(!G("x")||0=this.value.length)return this.value;let a=this.g;const b=this.value.length;if(0===a&&0b+h.toString(16).padStart(2,"0"),"").toUpperCase()} -class bb extends Ra{constructor(a,b="AX"){super(b);if(!(a instanceof Uint8Array))throw new J("Uint8Array expected");this.value=a}b(){return/^A[X2]$/}toString(){if("AX"===this.code)var a=ab(this.value);else{{a=this.value;var b=0;let g=0,e=[];if(0===a.length)a="";else{do{var h=a[b++];var A=a[b++];var P=a[b++];var q=h<<16|A<<8|P;h=q>>18&63;A=q>>12&63;P=q>>6&63;q&=63;e[g++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(h)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(A)+ -"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(P)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(q)}while(bh===b[A])}return Za(this.code, -a.code)}hashCode(){return(new Ya(ab(this.value.slice(0,8)))).hashCode()}matchKey(){return("AX"===this.code?"h":"i")+this.toString()}} -class Va extends Ta{constructor(a,b="AO"){super(b);this.value=a;"number"!==typeof a&&Aa.fa("type of value supplied to XdmDouble is not number: "+typeof a)}b(){return/^A[OF]$/}toString(){if(0===this.value)return 0>1/this.value?"-0":"0";if(this.value===Number.POSITIVE_INFINITY)return"INF";if(this.value===Number.NEGATIVE_INFINITY)return"-INF";var a=this.value,b=Math.abs(a);if(1E6<=b||1E-6>b){b=a.toExponential();const h=b.indexOf("e");a=b.substring(0,h);b=b.substring(h+1);"AF"===this.code&&(a=parseFloat(a), -a=(0>a?a-5E-8:a+5E-8).toString(),a=a.substring(0,a.indexOf(".")+8),a=a.replace(/\.?0+$/,""));a.includes(".")||(a+=".0");return a+"E"+b.replace("+","")}return"AF"===this.code&&0!==a%1?(b=(0>a?a-5E-8:a+5E-8).toString(),b=b.substring(0,b.indexOf(".")+6),b.replace(/0+$/,"")):a.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?(a=a.toNumber(),"AF"===this.code&&Math.fround&&(a=Math.fround(a)),this.valuethis.value?"-INF":"INF"}matchKey(){return"n"+this.hashCode()}toNumber(){return this.value}toDouble(){return this}abs(){return new Va(Math.abs(this.value),this.code)}tf(){return new Va(-this.value,this.code)}mg(){return new Va(Math.ceil(this.value),this.code)}floor(){return new Va(Math.floor(this.value), -this.code)}round(a){0===a?a=Math.round(this.value):(a=Math.pow(10,-a),a*=Math.round(this.value/a));return new Va(a,this.code)}wf(a){return isFinite(this.value)?(a=(new db(qa(this.value))).wf(a),0===a.toNumber()&&0>this.value&&(a=Sa.XS.double.fromString("-0")),Sa.codes[this.code].I(a)):this}} -class cb extends Ta{constructor(a){super("ADI");"number"!==typeof a&&Aa.fa("type of value supplied to XdmInteger is not number: "+typeof a);this.value=a}b(){return/^ADI/}toString(){return this.value.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?this.value-a.toNumber():Za(this.code,a.code)}hashCode(){return $a(this.value)}Qg(a){return a instanceof Va||a instanceof cb?this.value===a.value:a instanceof db?Sa.XS.$a.I(this).equals(a):!1}matchKey(){return"n"+this.hashCode()}toDouble(){return new Va(this.value)}toNumber(){return this.value}toBig(){return new qa(this.value)}abs(){return new cb(Math.abs(this.value))}tf(){return new cb(-this.value)}mg(){return this}floor(){return this}round(a){return 0> -a?(a=Math.pow(10,-a),new cb(Math.round(this.value/a)*a)):this}wf(a){return 0>a?(a=Math.pow(10,-a),new cb(parseInt(qa(this.value).Ib(a,100,2).round(0,2).times(a),10))):this}} -class db extends Ta{constructor(a,b="AD"){super(b);this.value=new qa(a)}b(){return/^AD/}toString(){return this.value.toFixed()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a instanceof db?this.value.eb(a.value):/^AD/.test(a.code)?this.value.eb(a.toBig()):a.isNumeric()?this.value.eb(new qa(a.toDouble())):Za(this.code,a.code)}hashCode(){const a=this.value;return a.sf(qa(1)).qj()&&a.abs().$j()?this.toNumber().toString(36):this.toString().substring(0,8)}Qg(a){return a instanceof Va||a instanceof -cb?0===this.compareTo(Sa.XS.$a.I(a)):a instanceof db?0===this.compareTo(a):!1}matchKey(){return"n"+this.hashCode()}toBig(){return this.value}toDouble(){return new Va(parseFloat(this.value.toFixed()))}toNumber(){return parseFloat(this.value.toFixed())}abs(){return new db(this.value.abs(),this.code)}tf(){var a=qa(this.value);a.ha=-a.ha;return new db(a,"AD"===this.code?"AD":"ADI")}mg(){return new db(this.value.round(0,0>this.value.ha?0:3),this.code)}floor(){return new db(this.value.round(0,0>this.value.ha? -3:0),this.code)}round(a){function b(q,g){q=new qa(q);q.e+=g;return q}let h=this.value,A=0;0>a&&(A=a,a=0,h=b(h,A));const P=0a?(a=qa(10).pow(-a),a=this.value.Ib(a,100,2).round(0,2).times(a)):a=this.value.round(a,2);return new db(a,"AD"===this.code?"AD":"ADI")}} -class eb extends Ra{constructor(a){super("AB");"boolean"!==typeof a&&Aa.fa("type of value supplied to XdmBoolean is not boolean: "+typeof a);this.value=a}b(){return/^AB$/}toString(){return this.value.toString()}toBoolean(){return this.value}compareTo(a){return a instanceof eb?(this.value?1:0)-(a.value?1:0):Za(this.code,a.code)}equals(a){return 0===this.compareTo(a)}hashCode(){return this.value.toString()}matchKey(){return"b"+this.toString()}} -class fb extends Ra{constructor(a,b,h){super("AQ");this.prefix=a=a?a:"";this.q=b?b:"";this.local=h;if(""!==a&&!Ma.isNCName(a))throw new J("Invalid prefix: '"+a+"'","FORG0001");if(!Ma.isNCName(h))throw new J("Invalid local name: '"+h+"' (prefix='"+a+"', uri='"+b+"')","FORG0001");}b(){return/^AQ$/}toEQName(){return"Q{"+this.q+"}"+this.local}toString(){return(0a?"-":"+")+(100+Math.floor(b/60)).toString().substring(1)+":"+(100+b%60).toString().substring(1)}return 0===a?"Z":""} -function kb(a,b){if(b instanceof lb&&(b.code.startsWith(a.code)||a.code.startsWith(b.code)))return+a.ya.getTime()-b.ya.getTime();Za(a.code,b.code)}function mb(a,b){return Sa.XS.dateTime.fromDate(new Date(a.ya.getTime()+6E4*b),a.ta)} -function nb(a,b){let h=a.toString(),A=parseInt(h.substring(5,7),10),P=parseInt(h.substring(8,10),10),q=parseInt(h.substring(0,4),10)+Math.floor((A+b-1)/12),g=0>q;b=(A+b-1)%12+1;for(0>=b&&(b+=12);!Sa.Xj([q,b,P,0,0,0]);)--P;return Sa.codes[a.code].fromString((g?"-"+(1E4+-q).toString().substring(1):(1E4+q).toString().substring(1))+"-"+(100+b).toString().substring(1)+"-"+(100+P).toString().substring(1)+h.substring(10))} -class lb extends Ra{constructor(a,b,h="AM"){super(h);this.ya=a;this.ta=b;a instanceof Date||Aa.fa("type of UTCdate supplied to XdmDateTime is not Date");b&&"number"!==typeof b&&Aa.fa("type of value for timezone offset supplied to XdmDateTime is not number: "+typeof b)}b(){return/^A([AGHIJKMT]|MP)$/}toString(){const a=ib(this,gb(this).toISOString()),b="-"===a.charAt(0)?1:0;return function(h){switch(h){case "AM":case "AMP":return a;case "AA":return a.substring(0,10+b);case "AT":return a.substring(11+ -b);case "AH":return a.substring(0,7+b);case "AG":return a.substring(0,4+b);case "AJ":return"-"+a.substring(4+b,10+b);case "AI":return"-"+a.substring(4+b,7+b);case "AK":return"--"+a.substring(7+b,10+b);default:throw"type not recognised "+h;}}(this.code)+jb(this)}compareTo(a){(/^A[GHIJK]/.test(this.code)||/^A[GHIJK]/.test(a.code))&&Za(this.code,a.code);return kb(this,a)}equals(a){return 0===kb(this,a)}hashCode(){return $a(this.ya.getTime()-1454346732296)}matchKey(){return"t"+this.hashCode()}} -function qb(a){function b(A,P){P.forEach(function(q){1E3!==q?(h.push(Math.floor(A/q)),A%=q):h.push(A/q)})}let h=[];b(Math.abs(a.Ha),[12,1]);b(Math.abs(a.Ca),[864E5,36E5,6E4,1E3]);return h}function rb(a){a=a.Ha+a.Ca;return 0>a?-1:0b||0>a&&0b?"-P":"P",qb(this).forEach(function(h,A){3===A&&(a+="T");0!==h&&(6===A?a+=h/1E3+"S":a+=h+"YMDHMS".split("")[A])}), -a=a.replace(/T$/,""));return a}compareTo(a){if(a instanceof sb){if(Sa.XS.yearMonthDuration.matches(this)&&Sa.XS.yearMonthDuration.matches(a))return this.Ha-a.Ha;if(Sa.XS.dayTimeDuration.matches(this)&&Sa.XS.dayTimeDuration.matches(a))return this.Ca-a.Ca;throw new J("Cannot compare durations that mix months and seconds","XPTY0004");}return Za(this.code,a.code)}equals(a){a instanceof sb||Za(this.code,a.code);return a instanceof sb&&this.Ha===a.Ha&&this.Ca===a.Ca}hashCode(){return this.Ha.toString()+ -":"+this.Ca.toString()}matchKey(){return"d"+this.hashCode()}}function $a(a){return Number.isInteger(a)&&Math.abs(a)U instanceof Ra&&U.code.startsWith(k),fc:function(U){T(U)||g(U.toString(),k);U.code=k;return U},fromString:function(U){return R.fc(t.fromString(U))},I:function(U){return R.fc(t.I(U))}}}function da(pa,k,F){const T=k.replace(/.$/,"");y(pa,k,T,F);const t=V[pa],R=ha[T];t.fromString=function(U){/INF|NaN/.test(U)&&g(U,k,null,"FOCA0002");return t.fc(R.fromString(U))};t.fromNumber=function(U){U= -R.fromNumber(U);const ia=U.toNumber();isFinite(ia)||g(U.toString(),k,null,"FOCA0002");F(U)||g(U.toString(),k);U.code=k;return U}}function W(pa,k,F,T){const t=k.replace(/.$/,"");y(pa,k,t,F);const R=ha[k],U=ha[t];R.fc=function(ia){ia=T(ia.toString());F(ia)||g(ia,k);return new Ya(ia,k)};R.fromString=function(ia){return R.fc(U.fromString(T(ia)))}}function ka(pa,k,F){y(pa,k,"AR",F);const T=V[pa];T.fc=function(t){if(t instanceof sb)return new sb("ARY"===k?t.Ha:0,"ARD"===k?t.Ca:0,k);F(t)||g(t.toString(), -k);t.code=k;return t};T.Jb=function(t,R){return T.fc(Z.Jb(t,R))};T.I=function(t){return Z.matches(t)?T.fc(t):Y.string.matches(t)||Y.untypedAtomic.matches(t)?r(t.toString(),k):T.fc(Z.I(t))}}function ea(pa,k){return function(F){F=F.toNumber();return F>=pa&&F<=k}}for(var va in V){const pa=V[va];ha[pa.code]=pa}v("gYear","AG");v("gYearMonth","AH");v("gMonth","AI");v("gMonthDay","AJ");v("gDay","AK");da("nonPositiveInteger","ADIN",pa=>0>=pa.toNumber());da("negativeInteger","ADINN",pa=>0>pa.toNumber());da("long", -"ADIL",function(pa){pa=pa.toBig();return 0<=pa.eb(qa("-9223372036854775808"))&&0>=pa.eb(qa("9223372036854775807"))});da("int","ADILI",ea(-2147483648,2147483647));da("short","ADILIS",ea(-32768,32767));da("byte","ADILISB",ea(-128,127));da("nonNegativeInteger","ADIP",pa=>0<=pa.toNumber());da("positiveInteger","ADIPP",pa=>0=pa.toBig().eb(qa("18446744073709551615"))});da("unsignedInt","ADIPLI",function(pa){return 0<=pa.toNumber()&& -0>=pa.toBig().eb(qa("4294967295"))});da("unsignedShort","ADIPLIS",ea(0,65535));da("unsignedByte","ADIPLISB",ea(0,255));va=()=>!0;W("normalizedString","ASN",va,pa=>pa.replace(/[ \r\t\n]/g," "));W("token","ASNT",va,Da);W("language","ASNTL",pa=>/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/.test(pa),Da);W("NMTOKEN","ASNTK",Ma.Tj,Da);W("Name","ASNTN",Ma.Uj,Da);W("NCName","ASNTNC",Ma.isNCName,Da);W("ID","ASNTNCI",Ma.isNCName,Da);W("IDREF","ASNTNCR",Ma.isNCName,Da);W("ENTITY","ASNTNCE",Ma.isNCName,Da);ka("yearMonthDuration", -"ARY",pa=>0===pa.Ca);ka("dayTimeDuration","ARD",pa=>0===pa.Ha);V.dayTimeDuration.Yh=function(pa){return new sb(0,6E4*pa,"ARD")};Y.Xb=V.language;Y.jh=V.NCName;Y.dayTimeDuration=V.dayTimeDuration;Y.yearMonthDuration=V.yearMonthDuration;Y.ci=V.gYearMonth;Y.bi=V.gYear;Y.ai=V.gMonthDay;Y.$h=V.gMonth;Y.Zh=V.gDay;a=function(){}}function b(y,da){return da?-y:y}function h(y,da){return da*(void 0===y?0:Math.round(1E3*parseFloat(y)))}function A(y,da){return da*(void 0===y?0:parseInt(y,10))}function P(y){return y.Ya&& -!["ADI","ARY","ARD"].includes(y.code)?P(y.Ya):y}function q(y,da){throw new J(`Casting from ${c(y.code)} to ${c(da)} is not allowed`,"XPTY0004");}function g(y,da,W=null,ka="FORG0001"){throw new J(`Supplied value "${y}" is not a valid ${c(da)}${W?` (${W})`:""}`,ka);}function e(y,da){y=Ma.trim(y);/.\.$/.test(y)&&(y+="0");if(/^[-+]?([0-9]+(\.[0-9]*)?|\.[0-9]+)([Ee][-+]?[0-9]+)?$/.test(y))return parseFloat(y);if(/^NaN$/.test(y))return NaN;if(/^-INF$/.test(y))return-Infinity;if(/^(\+)?INF$/.test(y))return Infinity; -da&&g(y,"AO");return NaN}function l(y){y=y.replace(/\s/g,"");/^(....)*$/.test(y)||g(y,"A2","length must be a multiple of 4");/^[A-Za-z0-9+/]*=?=?$/.test(y)||g(y,"A2","only [A-Za-z0-9+/] allowed, or '=' at the end");/^([^=]*|.*[AQgw]==|.*[AEIMQUYcgkosw048]=)$/.test(y)||g(y,"A2","invalid characters before '='");let da,W,ka=0,ea=[];if(0===y.length)return new Uint8Array(0);do{var va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++));var pa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++)); -da="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++));W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++));var k=va<<18|pa<<12|da<<6|W;va=k>>16&255;pa=k>>8&255;k&=255;64===da?ea.push(va):64===W?ea.push(va,pa):ea.push(va,pa,k)}while(kaparseInt(da,16))):new Uint8Array(0)} -function v(y,da){V[y]=ha[da]={name:y,code:da,matches:W=>W instanceof lb&&W.code.startsWith(da),fromString:W=>I(W,da),fromDate:(W,ka)=>new lb(W,ka,da),I:W=>{if(W instanceof lb&&W.code.startsWith(da))return W;if(Y.dateTime.matches(W)||Y.Oc.matches(W)){const ka=ha[da];return ka.fromString(ka.fromDate(W.ya,W.ta).toString())}if(/^A[SZ]/.test(W.code))return I(W.value,da);q(W,da)}}}function G(y){if(-1!==y.indexOf(".",y.length-4)){y=y.split(".");let da=y[1];for(;3>da.length;)da+="0";y=y[0]+"."+da}return y} -function p(y){const da=y[0],W=y[1],ka=y[2],ea=y[3],va=y[4];y=y[5];return!(1>W||12ka||ka>[31,0!==da%4||0===da%100&&0!==da%400?28:29,31,30,31,30,31,31,30,31,30,31][W-1]||24<=ea||60<=va||60<=y)}function f(y,da){y=y.split(/[\-T:]/).map(function(ka){return parseFloat(ka)});const W=y[0];if(-9999>W||9999y[0]&&ea.setUTCFullYear(va);ea=""===ka?new Date(ea.getTime()+6E4*(new Date).getTimezoneOffset()):new Date(ea.getTime()-6E4*D(ka));return new lb(ea, -D(W[2]?W[2]:""),da)}function D(y){if(""===y)return null;if("Z"===y)return 0;var da=y.split(":");const W=/^-.*/.test(da[0]),ka=Math.abs(parseInt(da[0],10));da=parseInt(da[1],10);if(14Number.MAX_SAFE_INTEGER?new db(new qa(y),"ADI"):new cb(y)},ab:function(y){return new db(y,"ADI")},mm:function(y){return 0===y.value.sf(1)},I:function(y){switch(y.code.substring(0, -2)){case "AS":case "AZ":return Y.integer.fromString(y.toString());case "AF":case "AO":return Y.integer.fromNumber(y.toNumber());case "AD":return Y.integer.ab(y.toBig().round(0,0));case "AB":return Y.integer.fromNumber(y.toBoolean()?1:0);default:q(y,"AB")}},Al:function(y){return"number"===typeof y?Y.integer.fromNumber(y):"boolean"===typeof y?Y.integer.fromNumber(y?1:0):"string"===typeof y?Y.integer.fromString(y):Y.integer.fromString(y.toString())}},x={name:"numeric",code:"Anumeric",Wl:["double","decimal", -"float"],matches:function(y){return y instanceof Va||y instanceof cb||y instanceof db},I:function(y){if(Y.string.matches(y)||Y.untypedAtomic.matches(y))return Y.double.fromString(y.toString());if(Y.numeric.matches(y))return y;if(Y.boolean.matches(y))return Y.double.fromNumber(y.toBoolean()?1:0);q(y,"Anumeric")},Fd:function(y){const da=Y.double;if(null===y)return da.fromNumber(Number.NaN);if(Y.boolean.matches(y))return da.fromNumber(y.toBoolean()?1:0);if(Y.numeric.matches(y))return da.I(y);if(Y.string.matches(y)|| -Y.untypedAtomic.matches(y))try{return da.fromString(y.toString())}catch(W){return da.fromNumber(Number.NaN)}else return da.fromNumber(Number.NaN)}},E={name:"QName",code:"AQ",matches:function(y){return y instanceof fb},fromParts:function(y,da,W){return new fb(y,da,W)},fromString:function(y,da){y=Ma.trim(y);if("Q{"===y.substring(0,2))return Y.QName.fromEQName(y);Ma.ji(y)||g(y,"AQ");y=y.split(":");if(1===y.length)return Y.QName.fromParts("",da(""),y[0]);da=da(y[0]);if(null===da)throw new J("Undeclared prefix: "+ -y[0],"FONS0004");return Y.QName.fromParts(y[0],da,y[1])},fromEQName:function(y){var da=y.indexOf("{");const W=y.indexOf("}");if(!(-1===da&&-1===W||-1I+D,(I,D)=>I.xe(D))},"i-i":function(p,f){return Sa.Gg(p,f,(I,D)=>I-D,(I,D)=>I.te(D))},"i*i":function(p,f){return Sa.Gg(p,f,(I,D)=>I*D,(I,D)=>I.times(D))},"i/i":function(p,f){f.equals(Sa.XS.integer.fromNumber(0))&&h();p=p.toBig();f=f.toBig();return l.ab(p.Ib(f))}, -"i%i":function(p,f){var I=p.toNumber();const D=f.toNumber();if(!isFinite(I)||isNaN(D)||0===D)return 0===D&&h(),z.fromNumber(NaN);if(!isFinite(D)||0===I)return p;I=p.toNumber()%f.toNumber();isFinite(I)||h();return a(I)?z.fromNumber(I):z.ab(qa(p.toBig().sf(f.toBig())))},"i~i":function(p,f){const I=p.toNumber()/f.toNumber();isFinite(I)||h();return a(I)?z.fromNumber(Math.trunc(I)):z.ab(qa(p.toBig().Ib(f.toBig())).round(0,0))},"c+c":function(p,f){const I=p.toBig(),D=f.toBig();return b(p,f).ab(I.xe(D))}, -"c-c":function(p,f){const I=p.toBig(),D=f.toBig();return b(p,f).ab(I.te(D))},"c*c":function(p,f){const I=p.toBig(),D=f.toBig();return b(p,f).ab(I.times(D))},"c/c":function(p,f){try{const I=p.toBig(),D=f.toBig();return l.ab(I.Ib(D))}catch(I){h()}},"c%c":function(p,f){try{const I=p.toBig(),D=f.toBig();return l.ab(I.sf(D))}catch(I){h()}},"c~c":function(p,f){try{const I=p.toBig(),D=f.toBig(),r=I.Ib(D).round(0,0);return z.ab(r)}catch(I){h()}},"a+a":function(p,f){return q(p,f,"+")},"a-a":function(p,f){return q(p, -f,"-")},"a*a":function(p,f){return q(p,f,"*")},"a/a":function(p,f){return q(p,f,"/")},"a%a":function(p,f){return q(p,f,"%")},"a~a":function(p,f){return q(p,f,"~")},"u+u":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)&&I.matches(f)||D.matches(p)&&D.matches(f)||P(p,f,"+");return D.matches(p)?D.Jb(p.Ha+f.Ha,0):I.Jb(0,p.Ca+f.Ca)},"u-u":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)&&I.matches(f)||D.matches(p)&&D.matches(f)||P(p,f,"-");return D.matches(p)? -D.Jb(p.Ha-f.Ha,0):I.Jb(0,p.Ca-f.Ca)},"u*n":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)||D.matches(p)||P(p,f,"*");f=f.toNumber();if(!isFinite(f))throw new J("Cannot multiply duration by "+isNaN(f)?"NaN":"+/-INF",isNaN(f)?"FOCA0005":"FODT0002");return D.matches(p)?D.Jb(Math.round(p.Ha*f),0):I.Jb(0,Math.round(p.Ca*f))},"n*u":function(p,f){return tb["u*n"](f,p)},"u/n":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)||D.matches(p)||P(p,f,"/");f= -f.toNumber();0===f&&h("FODT0002");if(isNaN(f))throw new J("Cannot divide duration by NaN","FOCA0005");f=D.matches(p)?p.Ha/f:p.Ca/f;isFinite(f)||A("FODT0002");return D.matches(p)?D.Jb(Math.round(f),0):I.Jb(0,Math.round(f))},"u/u":function(p,f){var I=g.dayTimeDuration;const D=g.yearMonthDuration;I.matches(p)&&I.matches(f)||D.matches(p)&&D.matches(f)||P(p,f,"/");I=new qa(0);p=new qa(D.matches(p)?p.Ha:p.Ca);f=new qa(D.matches(f)?f.Ha:f.Ca);0===f.eb(I)&&h();try{return l.ab(p.Ib(f))}catch(r){A()}},"t+u":function(p, -f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(f)||D.matches(f)||P(p,f,"+");return I.matches(f)?Sa.codes[p.code].fromDate(new Date(p.ya.getTime()+f.Ca),p.ta):nb(p,f.Ha)},"u+t":function(p,f){return tb["t+u"](f,p)},"t-u":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(f)||D.matches(f)||P(p,f,"-");return I.matches(f)?Sa.codes[p.code].fromDate(new Date(p.ya.getTime()-f.Ca),p.ta):nb(p,-f.Ha)},"t-t":function(p,f){return g.dayTimeDuration.Jb(0,p.ya.getTime()-f.ya.getTime())}}; -return G}();function ub(a){function b(){function q(G){throw new J("In alphaCode '"+a+"' @ "+A+": "+G);}function g(G){const p=A>=a.length?-1:a.charAt(A++);p!==G&&q("Expected '"+G+"', found '"+p+"'")}function e(){let G=0,p=A;for(;Aa?this.current=this.b.next():0h)this.b.next(),a=this.b.ma();else if(0b)return this.current=this.b.next();0this.g)if(this.b instanceof Pb)this.g=this.b.expand().length;else{const a=[];let b;for(;null!==(b=this.b.next());)a.push(b);this.g=this.position+a.length;this.b=Pb(a)}return this.g}showValue(){return"Tracker of "+this.b.showValue()}} -class Qb extends Ab{constructor(a){super();this.current=a;this.position=1}next(){return null}last(){return 1}}class Rb extends Ab{constructor(a){super();this.b=a}next(){const a=this.b.next();return a.done?null:a.value}}class Sb extends Ab{constructor(a,b,h){super();this.b=a;this.g=h;for(this.l=1;!(this.l++>=b);)if(null==this.b.next()){this.g=Number.NEGATIVE_INFINITY;break}}next(){return this.l++<=this.g?this.b.next():null}}const Tb=new Fb;function Ub(a){return new Eb(a)} -function Vb(a){return new Ib(a)}function Wb(a){return new Qb(a)}function Xb(a){return new Ob(a)}function Pb(a){return new Gb(a)}function Yb(a){return new Eb(zb.string.fromString(a))}function Zb(a){return new Eb(zb.integer.fromNumber(a))}function $b(a){return new Eb(zb.double.fromNumber(a))}function ac(a){return new Eb(zb.$a.ab(a))}function bc(a){return new Eb(zb.boolean.fromBoolean(a))}var cc={};cc.Jk=Ab;cc.Qk=Mb;cc.Empty=Tb;cc.Rk=Fb;cc.Uk=Bb;cc.ForArray=Pb;cc.Vk=Gb;cc.Wk=Rb;cc.Zk=Lb;cc.$k=Vb; -cc.al=Ib;cc.bl=Nb;cc.fl=Db;cc.gl=Cb;cc.Singleton=Ub;cc.kl=Eb;cc.ll=Wb;cc.ml=Qb;cc.nl=Hb;cc.pl=Sb;cc.Tracker=Xb;cc.sl=Ob;cc.vl=Jb;cc.oneBoolean=bc;cc.bm=ac;cc.cm=$b;cc.dm=function(a){return new Eb(zb.float.fromNumber(a))};cc.oneInteger=Zb;cc.oneString=Yb;var dc={Jc:"http://www.w3.org/1999/XSL/Transform",za:"http://www.w3.org/2005/xpath-functions",qi:"http://www.w3.org/2005/xpath-functions/math",map:"http://www.w3.org/2005/xpath-functions/map",Ye:"http://www.w3.org/2005/xpath-functions/array",oc:"http://www.w3.org/XML/1998/namespace",ac:"http://www.w3.org/2001/XMLSchema",om:"http://www.w3.org/2001/XMLSchema-instance",sj:"http://www.w3.org/2005/xqt-errors",Yc:"http://saxonica.com/ns/interactiveXSLT",mi:"http://saxonica.com/ns/globalJS",ib:"http://saxon.sf.net/", -vj:"http://ns.saxonica.com/xslt/export",withPrefix:{xsl:"http://www.w3.org/1999/XSL/Transform",fn:"http://www.w3.org/2005/xpath-functions",math:"http://www.w3.org/2005/xpath-functions/math",map:"http://www.w3.org/2005/xpath-functions/map",array:"http://www.w3.org/2005/xpath-functions/array",xml:"http://www.w3.org/XML/1998/namespace",xs:"http://www.w3.org/2001/XMLSchema",xsi:"http://www.w3.org/2001/XMLSchema-instance",err:"http://www.w3.org/2005/xqt-errors",ixsl:"http://saxonica.com/ns/interactiveXSLT", -js:"http://saxonica.com/ns/globalJS",saxon:"http://saxon.sf.net/",ex:"http://ns.saxonica.com/xslt/export"},Zg:"http://ns.saxonica.com/anonymous-type"};var fc=function(){function a(q){return q?9===q.nodeType?q:a(q.ownerDocument):null}const b=Sa.XS;let h=1;const A={Lc:function(q){switch(q.nodeType){case 9:case 11:return Tb;case 2:return q.parent?new Hb(q.parent,g=>g.parentNode):Tb;default:return(q=q.parentNode)?new Hb(q,g=>g.parentNode):Tb}},Ka:function(q){return Vb([Ub(q),A.Lc(q)])},attribute:function(q){if(1===q.nodeType){const g=q.attributes,e=q.ownerDocument.documentElement&&ya.isHTMLElement(q.ownerDocument.documentElement),l=[];for(let z=0;z< -g.length;z++){const v=g[z].name;if("xmlns"!==v.substring(0,5)||5!==v.length&&":"!==v.charAt(5))e&&"xml:"===g[z].localName.substring(0,4)?l.push(new ec(b.QName.fromParts("xml",dc.oc,g[z].localName.substring(4)),g[z].value,q)):l.push(new ec(b.QName.fromParts(g[z].prefix,g[z].namespaceURI,g[z].localName),g[z].value,q))}return Pb(l)}return Tb},wa:function(q){function g(e){return new Hb(e.firstChild,l=>l.nextSibling)}if(null===q)return Tb;switch(q.nodeType){case 9:return g(q).filter(function(e){return!(7=== -e.nodeType&&"xml"===e.target||3===e.nodeType||4===e.nodeType)});case 11:case 1:return g(q);default:return Tb}},gf:function(q){return A.wa(q).mapOneToMany(function(g){return A.he(g)})},he:function(q){return Vb([Ub(q),A.gf(q)])},Vh:function(q){switch(q.nodeType){case 9:case 11:return Tb;case 2:case 13:return q=fc.Oa(q),null===q?Tb:Vb([A.gf(q),A.Vh(q)]);default:return A.Ka(q).mapOneToMany(function(g){return A.Wh(g).mapOneToMany(A.he)})}},Wh:function(q){switch(q.nodeType){case 9:case 11:case 2:case 13:return Tb; -default:return new Hb(q.nextSibling,g=>g.nextSibling)}},namespace:function(q){return 1===q.nodeType?Pb(fc.inScopeNamespaces(q).map(function(g){return new gc(g.prefix,g.q,q)})):Tb},parent:function(q){return Ub(fc.Oa(q))},Og:function(q){return A.Ka(q).mapOneToMany(function(g){return A.Dc(g).mapOneToMany(function(e){return Pb(A.he(e).expand().reverse())})})},Dc:function(q){switch(q.nodeType){case 9:case 11:case 2:case 13:return Tb;default:return new Hb(q.previousSibling,g=>g.previousSibling)}},xf:function(q){return Ub(q)}}, -P={va:A,Ch:{ancestor:A.Lc,"ancestor-or-self":A.Ka,attribute:A.attribute,child:A.wa,descendant:A.gf,"descendant-or-self":A.he,following:A.Vh,"following-sibling":A.Wh,namespace:A.namespace,parent:A.parent,preceding:A.Og,"preceding-sibling":A.Dc,self:A.xf},xc:a,ic:function(q){return A.Ka(q).expand().pop()},lc:function(q){q._saxonDocumentNumber||(q._saxonDocumentNumber=h++);return q},pj:function(q){return fc.lc(q)._saxonDocumentNumber},X:function(q){if(!q||!q.nodeType)return null;switch(q.nodeType){case 1:return b.QName.fromParts(q.prefix, -q.namespaceURI,q.localName);case 2:if("xml"===q.prefix)return b.QName.fromParts(q.prefix,dc.oc,q.localName);if(!q.nc)throw new J("ATTRIBUTE_NODE not local","SXJS0004");return q.nc;case 7:return b.QName.fromParts("","",q.target);case 13:return q.prefix?b.QName.fromParts("","",q.prefix):null;default:return null}},Jl:function(q,g){if(!q||!q.nodeType)return!1;switch(q.nodeType){case 1:case 2:return q.localName===g;case 7:return q.target===g;case 13:return q.prefix===g;default:return!1}},hasURI:function(q, -g){if(!q||!q.nodeType)return!1;switch(q.nodeType){case 1:return(q.namespaceURI||"")===g;case 2:return"xml"===q.prefix?dc.oc===g:q.namespaceURI===g;default:return""===g}},wc:function(q,g){let e=[];for(q=q.firstChild;null!==q;)1!==q.nodeType||g&&g!==q.tagName||e.push(q),q=q.nextSibling;return e},Fl:function(q,g){for(q=q.firstChild;null!==q;){if(1===q.nodeType&&(!g||g===q.tagName))return q;q=q.nextSibling}return null},Vc:function(q){const g=q.expand();if(1{fc.Q(v)? -(z=!1,fc.Oa(v)?e=!1:v._saxonDocumentNumber?e=!1:fc.lc(v)):l=!1});if(!l&&!z)throw new J("Cannot sort a sequence including both nodes and non-nodes","XPTY0018");e||z||g.sort(fc.fb);return Pb(g).mapOneToOne(function(v,G){return 0v?fc.fb(e,g):fc.fb(q,l)}},Oa:function(q){return fc.ke(q)?q.parent:q.parentNode},ff:function(q,g,e){hc(q,"http://www.w3.org/2000/xmlns/",""===g?"xmlns":"xmlns:"+g,e)},inScopeNamespaces:function(q,g=A.Ka){let e=[{prefix:"xml",q:dc.oc}],l={xml:!0};for(q=g(q);null!==(g=q.next());)if(1===g.nodeType){var z=fc.X(g);""===z.prefix&&""===z.q&&(l[""]=!0);g=g.attributes;for(z=0;zh(A))}toString(){return this.K instanceof Mc&&1===this.ca?"empty-sequence()": -this.K.toString()+gd(this.ca)}equals(a){return this.ea()===a.ea()}};class id{constructor(a){Array.isArray(a)||Aa.fa("XdmArray value must be an array. Supplied:"+a);this.value=a}get(a){if("number"!=typeof a)throw new J("Array subscript is not numeric","XPTY0004");if(1>a||a>this.value.length)throw new J("Array index ("+a+") out of bounds (1 to "+this.value.length+")","FOAY0001");return this.value[a-1]}evaluate(a){return Pb(this.value[a[0][0]-1])}size(){return this.value.length}showValue(){let a="[";for(let b=0;bb;b++)0!==b&&(a+=","),a+=Aa.showValue(this.value[b]); -4<=this.value.length&&(a+=",...("+this.value.length+")");return a+"]"}flatten(a){for(let b=0;b"dynamic call of "+this.jc());return z}convertResult(l){return Pb(ld.pg(l,this.ja,()=>"result of dynamic call of "+this.jc()))}Dg(){return new md(this.g,this.ja)}}class b extends a{constructor(l,z,v,G,p){super(l,v);this.name=z;this.evaluator=[dc.qi,dc.map,dc.Ye,dc.ib, -dc.Yc].includes(z.q)?ld.uj:ld.tj;this.z=G;if(l.defaultToDot&&0===v||["accumulator-after","accumulator-before","lang"].includes(z.local))this.x=p.getCurrentFocus()}Wb(){return this.name}evaluate(l,z,v){var G=this.Wb().local;if("current"===G)throw new J("current() function cannot be evaluated dynamically","XTDE1360");if("current-output-uri"===G)return Tb;if("regex-group"===G)return Yb("");let p=z;this.x&&(p=z.newContext(),p.focus=Wb(this.x));z=["string-length","normalize-space"].includes(G);const f= -this.jb.defaultToDot;G="number"===G;if((z||f||G)&&0===l.length){p.failIfNoCurrentFocus("XPDY0002",". (dot)");v=p.getCurrentFocus();if(z||G)v=ld.atomize(v).next();z&&(v=Sa.XS.string.I(v));l.push([v])}else l=this.b(l,v);return this.evaluator(this.Wb(),l,p,this.z)}}const h={NMTOKENS:"NMTOKEN",IDREFS:"IDREF",ENTITIES:"ENTITY"};class A extends a{constructor(l,z,v){super(l,1);this.name=z;if(l=h[z.local]){const G=Sa.type[l].fromString;Aa.ba(G);this.evaluate=p=>{p=this.b(p,v)[0][0].toString();p=Da(p).split(" "); -return Pb(p.map(G))}}else if("QName"===z.local){const G=ld.stylesheetResolver(v,!0);this.evaluate=p=>{p=this.b(p,v)[0][0].toString();return Ub(Sa.XS.QName.fromString(p,G))}}else{const G=Sa.type[z.local].I;Aa.ba(G);this.evaluate=p=>Ub(G(this.b(p,v)[0][0]))}}Wb(){return this.name}}class P extends a{constructor(l,z){super(l,l.alphaTree.a.length);this.z=l.componentBinding;this.x=z.fixed.xa[this.z];this.rc=ld.$(this.x.actor,"body");this.name=Sa.XS.QName.fromEQName(this.x.actor.name)}Wb(){return this.name}evaluate(l, -z,v){l=this.b(l,v);z=z.newContext(!0);z.clearGrouping();z.tempOutputState="function";z.currentMode={};z.currentTemplate=null;z.focus=null;z.currentComponent=this.x;for(v=0;v!0}T(){if(!this.b)if(this.z)this.b=wb(this.z);else return null;return this.b}ea(){if(!this.z)if(this.b)od(this,xb(this.b));else return null;return this.z}ka(a="A"){return this.T().p.startsWith(a)}isNumeric(){return qd(this)||/^A[ODF]/.test(this.T().p.substring(0))}Bd(){return/^F/.test(this.T().p)}Qj(){return!0}l(){return null}x(){return null}U(){return null}toString(){return this.ea()}equals(a){return this.ea()===a.ea()}} -class yc extends uc{constructor(){super();od(this,"");this.b={p:""}}ga(){return()=>!0}toString(){return"item()"}}var xc;const cd=new yc;class Ac extends uc{constructor(){super();od(this,"N");this.b={p:"N"}}ga(){return a=>fc.Q(a)}toString(){return"node()"}}var zc;class Cc extends uc{constructor(){super();od(this,"N u[NT,NP,NC,NE]");this.b={p:"N",u:[{p:"NT"},{p:"NP"},{p:"NC"},{p:"NE"}]}}ga(){return a=>fc.Q(a)&&[1,3,4,8,7].includes(a.nodeType)}toString(){return"node()"}}var Bc; -function rd(a){switch(a){case 9:return Nc;case 1:return Pc;case 2:return Qc;case 8:return Sc;case 3:case 4:return Rc;case 7:return Tc;case 13:return Uc;default:throw new J("Unknown node kind "+a);}}function sd(a){switch(a){case 1:return"NE";case 3:return"NT";case 2:return"NA";case 9:return"ND";case 8:return"NC";case 4:return"NT";case 7:return"NP";case 13:return"NN";case 0:return"N";default:throw new J("Unknown node kind "+a+" in NodeKindTest");}} -class Oc extends uc{constructor(a){super();this.Ba=a;a=sd(a);od(this,a);this.b={p:a}}ga(){switch(this.Ba){case 9:return a=>fc.Q(a)&&(9===a.nodeType||11===a.nodeType);case 3:case 4:return a=>fc.Q(a)&&(3===a.nodeType||4===a.nodeType);default:return a=>fc.Q(a)&&a.nodeType===this.Ba}}toString(){switch(this.Ba){case 9:return"document-node()";case 1:return"element(*)";case 2:return"attribute(*)";case 8:return"comment()";case 3:case 4:return"text()";case 7:return"processing-instruction()";case 13:return"namespace-node()"; -case 0:return"node()";default:throw new J("Unknown node kind "+this.Ba+" in NodeKindTest");}}}var Nc,Pc,Qc,Sc,Rc,Tc,Uc;class td extends Oc{constructor(a,b){super(a);this.name=b;a=sd(a);od(this,a+" n"+b.toEQName());this.b={p:a,n:b.toEQName()}}ga(){const a=this.name;return b=>{var h;if(h=fc.Q(b)&&b.nodeType===this.Ba)h=(b=fc.X(b))&&a.equals(b);return h}}toString(){return super.toString().replace(/\(\*?\)/,"("+this.T().n+")")}} -class ud extends Oc{constructor(a,b){super(a);this.localName=b;a=sd(a);od(this,a+" n*:"+b);this.b={p:a,n:"*:"+b}}ga(){return a=>fc.Q(a)&&a.nodeType===this.Ba&&fc.X(a).local===this.localName}toString(){return super.toString().replace(/\(\*?\)/,"(*:"+this.localName+")")}} -class vd extends Oc{constructor(a,b){super(a);this.q=b;a=sd(a);od(this,a+" nQ{"+b+"}*");this.b={p:a,n:"Q{"+b+"}*"}}ga(){return a=>fc.Q(a)&&a.nodeType===this.Ba&&fc.X(a).q===this.q}toString(){return super.toString().replace(/\(\*?\)/,"Q{"+this.q+"}*)")}}class wd extends Oc{constructor(a){super(9);this.g=a;od(this,"ND e["+a.ea()+"]");this.b={p:"ND",e:a.T()}}ga(){return a=>fc.Q(a)&&(9===a.nodeType||11===a.nodeType)&&this.g.ga()(a.firstChild)}toString(){return"document-node("+this.g.toString()+")"}} -class wc extends uc{constructor(a){super();this.Ic=a;od(this,a.code);this.b={p:a.code}}ga(){return a=>this.Ic.matches(a)}toString(){return"xs:"+this.Ic.name}}class Ec extends uc{constructor(){super();od(this,"A m[AO,AD,AF]");this.b={p:"A",m:[{p:"AO"},{p:"AD"},{p:"AF"}]}}ga(){return a=>/^A[ODF]/.test(a.code)}toString(){return"xs:numeric"}}var Dc;class Mc extends uc{ea(){return"E"}T(){return{p:"E"}}ga(){return()=>!1}toString(){return"xs:error"}}var Lc; -class xd extends uc{constructor(){super();this.g=[];this.ja=null}Cb(a){if(!(a instanceof xd))return yd.Rb;if(a instanceof Ic||a instanceof Kc)return yd.Fb;if(!(a instanceof md||a instanceof zd||a instanceof Ad))return yd.dc;if(this.g.length!==a.g.length)return yd.Rb;const b=function(A,P,q){return A.map((g,e)=>q(g,P[e]))}(this.g,a.g,yd.Hi),h=yd.Hi(this.ja,a.ja);return b.every(A=>A===yd.kb)&&h===yd.kb?yd.kb:b.every(A=>[yd.kb,yd.dc].includes(A)&&[yd.kb,yd.Fb].includes(h))?yd.Fb:b.every(A=>[yd.kb,yd.Fb].includes(A)&& -[yd.kb,yd.dc].includes(h))?yd.dc:yd.oh}lf(){return mc.pa}}class Gc extends xd{constructor(){super();od(this,"F");this.b={p:"F"}}ga(){return a=>a instanceof jd.XdmFunction||a instanceof id||a instanceof lc||a instanceof ld.Tf}Cb(a){return a instanceof Gc?yd.kb:/^F/.test(a.T().p)?yd.Fb:yd.Rb}toString(){return"function(*)"}}var Fc;function Bd(a,b){let h=[];b.forEach(A=>{h.push(a.g[A])});return new md(h,a.ja)} -class md extends xd{constructor(a,b){super();Aa.ba(b instanceof pc);Aa.ba(a.every(h=>h instanceof pc));this.g=a;this.ja=b;od(this,"F a["+a.map(h=>h.ea()).join(",")+"] r["+b.ea()+"]");nd(this,{p:"F",a:a.map(h=>h.T()),r:b.T()})}ga(){const a=this;return function(b){return b instanceof id?1===a.g.length&&2===a.g[0].ca&&b.conforms(a.g[0].K.ga(),a.ja.K.ga(),Cd(a.ja.ca)):b instanceof lc?1===a.g.length&&2===a.g[0].ca&&a.g[0].K instanceof wc&&b.conforms(()=>!0,a.ja.K.ga(),Cd(a.ja.ca)):b instanceof jd.XdmFunction? -(b=a.Cb(b.Dg()),[yd.kb,yd.Fb].includes(b)):!1}}lf(){return this.ja}toString(){return"(function("+this.g.map(a=>a.toString()).join(",")+") as "+this.ja.toString()+")"}}class Ic extends xd{constructor(){super();od(this,"FM");this.b={p:"FM"}}x(){return ad}U(){return mc.pa}ga(){return a=>a instanceof lc||a instanceof ld.Tf}toString(){return"map(*)"}}var Hc; -class zd extends xd{constructor(a,b){super();Aa.ba(a instanceof uc);Aa.ba(b instanceof pc);this.O=a;this.Sd=b;od(this,"FM k["+a.ea()+"] v["+b.ea()+"]");this.b={p:"FM",k:a.T(),v:b.T()}}ga(){return a=>a instanceof lc&&a.conforms(this.O.ga(),this.Sd.K.ga(),Cd(this.Sd.ca))}toString(){return"map("+this.O.toString()+","+this.Sd.toString()+")"}x(){return this.O}U(){return this.Sd}lf(){return this.Sd}} -class Kc extends xd{constructor(){super();od(this,"FA");this.b={p:"FA"}}ga(){return a=>a instanceof id}toString(){return"array(*)"}l(){return mc.pa}}var Jc;class Ad extends xd{constructor(a){super();Aa.ba(a instanceof pc);this.O=a;od(this,"FA v["+a.ea()+"]");this.b={p:"FA",v:a.T()}}ga(){return a=>a instanceof id&&a.value.every(b=>this.O.matches(b))}toString(){return"array("+this.O.toString()+")"}l(){return this.O}lf(){return this.O}} -class Dd extends uc{constructor(a,b){super();this.g=a;this.O=b;var h=a.T();const A=b.T();h=yb(h.p,A.p);od(this,h+" u["+a.ea()+","+b.ea()+"]");this.b={p:h,u:[a.T(),b.T()]}}ga(){const a=this.g.ga(),b=this.O.ga();return h=>a(h)||b(h)}x(){const a=this.g.x(),b=this.O.x();return new Dd(a,b)}l(){const a=this.g.l(),b=this.O.l(),h=a.ca;return h===b.ca?new pc(new Dd(a.K,b.K),h):mc.pa}} -class Ed extends uc{constructor(a,b){super();this.g=a;this.O=b;var h=a.T();const A=b.T();h=h.p.startsWith(A.p)?h.p:A.p.startsWith(h.p)?A.p:h.p.charAt(0)===A.p.charAt(0)?h.p.charAt(0):"";od(this,h+" i["+a.ea()+","+b.ea()+"]");this.b={p:h,i:[a.T(),b.T()]}}ga(){const a=this.g.ga(),b=this.O.ga();return h=>a(h)&&b(h)}} -class Fd extends uc{constructor(a,b){super();this.g=a;this.O=b;var h=a.T();const A=b.T();h=h.p.startsWith(A.p)?h.p:A.p.startsWith(h.p)?A.p:h.p.charAt(0)===A.p.charAt(0)?h.p.charAt(0):"";od(this,h+" d["+a.ea()+","+b.ea()+"]");this.b={p:h,d:[a.T(),b.T()]}}ga(){const a=this.g.ga(),b=this.O.ga();return h=>a(h)&&!b(h)}}const Gd={};function oc(a){var b=Gd[a];if(b)return b;b=wb(a);b=sc(b);return Gd[a]=b} -function sc(a){var b=a.p;if(""===b)return xc;if(a.u)return b=sc(a.u[0]),a.u.slice(1).reduce((h,A)=>new Dd(h,sc(A)),b);if(a.i)return b=sc(a.i[0]),a.i.slice(1).reduce((h,A)=>new Ed(h,sc(A)),b);if(a.d)return new Fd(sc(a.d[0]),sc(a.d[1]));switch(b.charAt(0)){case "A":if("Q{http://www.w3.org/2001/XMLSchema}numeric"===a.n)return Dc;if(a.m){a=a.m;if(3===a.length&&a.some(h=>"AO"===h.p)&&a.some(h=>"AD"===h.p)&&a.some(h=>"AF"===h.p))return Dc;Aa.fa("Unhandled atomic union type")}else return new wc(Sa.codes[b]); -break;case "F":switch(b){case "FA":return a.v?new Ad(rc(a.v)):Jc;case "FM":return a.k&&a.v?new zd(sc(a.k),rc(a.v)):Hc;default:return a.a?(b=a.a.map(rc),a=a.r?rc(a.r):mc.pa,new md(b,a)):Fc}case "N":if("N"===b)return zc;b={ND:9,NE:1,NA:2,NT:3,NC:8,NP:7,NN:13}[b];return a.n?(a=a.n,/\}\*$/.test(a)?new vd(b,a.substring(2,a.length-2)):/^\*:/.test(a)?new ud(b,a.substring(2)):new td(b,Sa.XS.QName.fromEQName(a))):a.e?(a=sc(a.e),new wd(a)):new Oc(b);case "E":return Lc}} -const Hd={IDREFS:"ASNTNCR",ENTITIES:"ASNTNCE",NMTOKENS:"ASNTK"},bd={};var ad,Vc,Wc,Xc,Yc,Zc,$c;var yd=function(){function a(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);const z=e.ea()+"<>"+l.ea(),v=g[z];if(v)return v;e=P(e,l);return g[z]=e}function b(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);switch(a(e,l)){case 0:case 1:return e;case 2:return l;case 3:case 4:return e=e.T(),l=l.T(),sc({p:yb(e.p,l.p),u:[e,l]})}}function h(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);switch(a(e,l)){case 0:case 1:return l;case 2:return e;case 3:return e=e.T(),l=l.T(),sc({p:e.p.startsWith(l.p)? -e.p:l.p.startsWith(e.p)?l.p:e.p.charAt(0)===l.p.charAt(0)?e.p.charAt(0):"",i:[e,l]});case 4:return Lc}}function A(e,l){return 0===e&&0===l?0:0!==e&&1!==e||0!==l&&1!==l?0!==e&&2!==e||0!==l&&2!==l?4===e||4===l?4:3:2:1}function P(e,l){function z(r,c){return(r||"")===(c||"")?0:r&&!c?2:c&&!r?1:4}function v(r){return 1===r?2:2===r?1:r}function G(r){return r.n||r.e||r.u||r.i||r.d}var p=e.T();const f=l.T(),I=e.ea(),D=l.ea();if("F"===p.p){if(!(e instanceof xd&&l instanceof xd))return 3;Aa.ba(e.Cb);return e.Cb(l)}if(I=== -D)return 0;if(e instanceof Mc)return 2;if(l instanceof Mc)return 1;if(qd(e))return qd(l)?0:/^A[ODF]/.test(f.p)?1:"A"===f.p||""===f.p?2:4;if(qd(l))return v(P(l,e));if(p.p===f.p){if(pd(e))return p.u&&f.u?3:p.e&&f.e?z(p.e,f.e):p.n&&f.n?z(p.n,f.n):G(p)&&G(f)?4:G(p)&&!G(f)?2:G(f)&&!G(p)?1:0;if(e.ka())return 0;if("FA"===p.p)return e=e.l?e.l():mc.pa,l=l.l?l.l():mc.pa,q(e,l);if("FM"===p.p)return p=a(e.x(),l.x()),l=q(e.U(),l.U()),A(p,l);if(!(e instanceof xd&&l instanceof xd))return 3;Aa.ba(e.Cb);return e.Cb(l)}return p.p.startsWith(f.p)? -p.u?3:2:f.p.startsWith(p.p)?p.u?3:1:4}function q(e,l){Aa.ba(e instanceof pc);Aa.ba(l instanceof pc);var z=e.ca;var v=l.ca;z=z===v?yd.kb:(z|v)===z?yd.Fb:(z|v)===v?yd.dc:0===(z|v)?yd.Rb:yd.oh;e=a(e.K,l.K);return A(z,e)}const g={};return{kb:0,Fb:1,dc:2,oh:3,Rb:4,Cb:a,Wj:function(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);e=a(e,l);return 0===e||2===e},Pk:b,Ed:function(e){Aa.ba(0b(l,z),e[0])},Kj:function(e){Aa.ba(0h(l,z),e[0])},Hi:q}}();function hd(a){return 0!==(a&4)}function fd(a){return 0!==(a&1)}function Id(a){let b=0;a.forEach(h=>b|=h);5===b&&(b=7);return b}function qc(a){return{0:1,1:2,"?":3,"+":6,"*":7}[a]}function Jd(a,b){return(fd(a)&&fd(b)?1:0)+(1!==a||1!==b?2:0)+(1===a&&!hd(b)||1===b&&!hd(a)?0:4)}function Kd(a){switch(a){case "1":return b=>1===b;case "0":return b=>0===b;case "?":return b=>2>b;case "+":return b=>0!0}} -function Cd(a){switch(a){case 1:return b=>0===b;case 2:return b=>1===b;case 4:return b=>12>b;case 6:return b=>0!0}}function gd(a){switch(a){case 3:return"?";case 2:return"";case 7:return"*";case 6:return"+";case 4:return"+";case 1:return"0";default:return"*"}};function Ld(a,b,h){a=a.expand();b=b.expand();a=Pb(a);b=Pb(b);let A,P;for(;;){A=a.next();P=b.next();if(null===A)return null===P;if(null===P||!Md(A,P,h))return!1}} -function Md(a,b,h){var A=fc.va;if(a===b)return!0;if(fc.Q(a)){if(!fc.Q(b)||!fc.Vj(a.nodeType,b.nodeType))return!1;switch(a.nodeType){case 9:case 11:return Ld(A.wa(a),A.wa(b));case 1:if(!fc.X(a).equals(fc.X(b)))return!1;const P=A.attribute(a).expand();if(P.length!==A.attribute(b).count())return!1;for(let q=0;qB;case ">":case "gt":return 0=":case "ge":return 0<=B;case "<=":case "le":return 0>=B;case "!=":case "ne":return 0!==B;default:throw new J("Unknown operator "+E,"SXJS0003");}}function c(E,B){return E.map(function(L){var H=B.fixed.evaluator;L=H.$(L,"dataType");H=null===L?null:H.evaluate(L,B).next();return"number"===H?function(S){return null===S?null:x.double.hf(S.toString())}:"text"===H?function(S){return null===S?null:x.string.I(S)}:function(S){return S}})} -function d(E,B){return E.substring(0,B.length)===B}function n(E,B){return E.substring(E.length-B.length)===B}function m(E,B){return B&&(B=B.next())?B.toString():E.collation||ld.getInheritedProperty(E,"defaultCollation")}function u(E,B){B=E?d(E,"http://www.w3.org/2013/collation/UCA")&&36K(M)?C&&Z(aa)?x.numeric.Fd(M):K(aa)?x.string.I(M):Z(aa)?x.double.I(M):"AQ"===aa.code?Sa.XS.QName.I(M,ld.stylesheetResolver(S,!1)):Sa.codes[aa.code].I(M):M,V="="===L?H.equals:"!="===L?(M,aa)=>!H.equals(M,aa):(M,aa)=>r(L,H.compare(M,aa));let ha;for(var w;null!==(ha=E.next());){const M=Pb(B);for(;null!==(w=M.next());){const aa=X(ha,w);w=X(w,ha);if(!(Z(aa)&&isNaN(aa.value)||Z(w)&&isNaN(w.value))&&V(aa,w))return bc(!0)}}return bc(!1)},Bj:function(E){return{equals:function(B, -L){const H=x.numeric.matches;return H(B)||H(L)?x.numeric.Fd(B).toNumber()===x.numeric.Fd(L).toNumber():E.equals(B,L)},compare:E.compare}},jf:function(E,B,L){return u(m(E,B),L)},Bg:u,Kb:function(E,B,L,H){B=m(E,B);H=u(B,H)[L];if(!H)throw new J("Collation "+B+" has no "+L+" method","FOCH0002",E);return H},Dj:c,Fg:"http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive",itemIsNaN:A,zk:f,Ak:function(E){const B=ld.Fa(E),L=ld.db(E,"sortKey");return H=>{const S=Xb(B(H)),C=[],Z=L.map(w=> -I(w,H)),K=L.map(ld.Fa),X=c(L,H),V=H.newContext(!1);V.tempOutputState="sort key";V.focus=S;let ha=0;S.forEachItem(function(w){const M=L.map(function(aa,ja){return X[ja](K[ja](V).next())});C.push({item:w,keys:M,Hd:ha++})});C.sort(function(w,M){for(let ja=0;jaM.Hd?1:w.Hd===M.Hd?0:-1});return Pb(C.map(w=>w.item))}},Af:r,Oi:function(E, -B){switch(E){case "=":case "eq":return B;case "!=":case "ne":return!B;case "<":case "lt":case ">":case "gt":case ">=":case "ge":case "<=":case "le":throw new J("Operator "+E+" not allowed for unordered types","SXJS0003");default:throw new J("Unknown operator "+E,"SXJS0003");}},Ef:function(E,B){function L(K){return Oa(K)?S(K.matchKey()):K.matchKey()}const H=new lc,S=E.collationKey;if(!S)throw new J("Collation is unsuitable for keys and grouping","XTDE1110");const C={Fc:function(K,X){return Ld(Pb(K), -Pb(X),E.equals)},hash:function(K){return K.map(L).join()}},Z={Fc:function(K,X){return L(K)===L(X)},hash:function(K){return L(K)}};H.la=B?C:Z;return H},Ck:"http://www.w3.org/2013/collation/UCA",Ui:"http://www.w3.org/xslts/collation/caseblind"}}();var Pd=function(){var a={};return{register:function(b,h){a[b]=h},find:function(b){return a[b]},Xl:a}}();var Qd=function(){function a(b){const h=fc.va,A={"p.any":function(){return function(){return!0}},"p.never":function(){return function(){return!1}},"p.booleanExp":function(P){const q=ld.Fa(P);return function(g,e){e=e.newContext();e.focus=Wb(g);return ld.wd(q(e))}},"p.genNode":function(P){const q=ld.Fa(P);let g;if("slash"===P.C[0].N){P=ld.oj(P.C[0]);let e=P.C[0];for(;["filter","subscript"].includes(e.N);)e=e.C[0];"axis"===e.N&&"child"===e.name&&(e.name="self",g=ld.elaborate(P))}return function(e,l){if(!fc.Q(e))return!1; -const z=fc.va.Ka(e);let v;for(var G;;){v=z.next();if(null==v)return!fc.nf(G)&&g?(l=l.newContext(!1),l.focus=Wb(G),l.regexGroups=[],g(l).some(p=>fc.isSameNode(p,e))):!1;G=l.newContext(!1);G.focus=Wb(v);G.regexGroups=[];if(q(G).some(p=>fc.isSameNode(p,e)))return!0;G=v}}},"p.genPos":function(P){const q=oc(P.test).ga(),g=ld.Fa(P);return function(e,l){if(!q(e))return!1;const z=l.fixed.evaluator;l=l.newContext(!1);var v=h.wa(fc.Oa(e)).filter(q);l.focus=Xb(v);for(l.regexGroups=[];null!=(v=l.focus.next());)if(v=== -e&&z.wd(g(l)))return!0;return!1}},"p.nodeSet":function(P){const q=ld.Fa(P);return function(g,e){return q(e).some(l=>l===g)}},"p.nodeTest":function(P){return oc(P.test).ga()},"p.simPos":function(P){const q=oc(P.test).ga(),g=parseInt(P.pos,10);return function(e){return q(e)&&h.Dc(e).filter(q).count()===g-1}},"p.venn":function(P){var q=P.C,g=a(q[0]),e=a(q[1]);P=P.op;switch(P){case "union":return function(l,z){return g(l,z)||e(l,z)};case "intersect":return function(l,z){return g(l,z)&&e(l,z)};case "except":return function(l, -z){return g(l,z)&&!e(l,z)};default:throw new J("unknown op "+P,"SXJS0003");}},"p.withCurrent":function(P){const q=a(P.C[0]);return function(g,e){e=e.newContext(!0);e.localVars[0]=[g];return q(g,e)}},"p.withPredicate":function(P){P=P.C;const q=a(P[0]),g=ld.elaborate(P[1]);return function(e,l){if(!q(e,l))return!1;l=l.newContext(!1);l.focus=Wb(e);l.regexGroups=[];return ld.wd(g(l))}},"p.withUpper":function(P){const q=P.C,g=a(q[0]),e=a(q[1]),l=P.axis;return"parent"===l?"true"===P.upFirst?function(z,v){const G= -fc.Oa(z);return G&&e(G,v)&&g(z,v)}:function(z,v){const G=fc.Oa(z);return G&&g(z,v)&&e(G,v)}:function(z,v){if(!g(z,v))return!1;z=fc.Ch[l](z);let G;for(;null!==(G=z.next());)if(e(G,v))return!0;return!1}}}[b.N];if(A)return A(b);throw new J("Unimplemented pattern "+b.N,"SXJS0002");}return{Zc:a,matches:function(b,h,A){A.pushCurrentOutputURI(null);b=b(h,A);A.popCurrentOutputURI();return b}}}();var Rd=function(){function a(A,P,q,g){function e(n){for(var m=[],u=n.length-1;0<=u;u--)m.push({Id:n[u],Xa:n[u].C[1],ve:Qd.Zc(n[u].C[0])});return m}function l(n){n._saxonAccumulators||(n._saxonAccumulators={});n._saxonAccumulators[q]={};var m=z(D,n);m&&(d=G(m,n));n._saxonAccumulators[q].pre=d;h.wa(n).forEachItem(l);(m=z(r,n))&&(d=G(m,n));n._saxonAccumulators[q].post=d}function z(n,m){for(var u=0,Q=n.length;uI.indexOf(v[0].value))throw new J("Invalid value "+D+"="+v[0],"FOJS0005");return v[0].value}throw new J("Invalid option: "+G+": must be "+p,"XPTY0004");}return f}function b(v, -G){function p(u){throw new J(u,"FOJS0001");}function f(){return m=I()}function I(){for(m="";;){if(n>=v.length)return["eof"];var u=v.charAt(n++);if(!/[ \n\r\t]/.test(u))break}switch(u){case "[":case "{":case "]":case "}":case ":":case ",":return[u];case '"':for(u=!1;;){const Q=v.charAt(n++);if('"'!==Q||u)m+=Q,u="\\"===Q&&!u;else return["string",m];n>=v.length&&p("Unclosed quotes in string literal")}case "-":case "0":case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":for(m+= -u;n=u){if(m+=u,++n>=v.length)break}else break;if(["true","false","null"].includes(m))return[m];p("Unknown constant "+m);break;default:return p("Unexpected character '"+u+"' ("+Ia(u)+") at position "+n),-1}}function D(u){m[0]!==u&&p("Expected "+u+", found "+ -m[0])}function r(u){return m[0]===u?(f(),!0):!1}function c(u){return m[0]===u?(f(),!0):","===m[0]?(f(),!1):p("Expected ',' or '"+u+"', found '"+m[0]+"'")}function d(){switch(m[0]){case "[":f();G.Mi();if(!r("]")){do d();while(!c("]"))}G.Sh();break;case "{":f();G.Ni();if(!r("}")){do D("string"),G.Oh(m[1]),f(),D(":"),f(),d();while(!c("}"))}G.Th();break;case "string":G.Rh(m[1]);f();break;case "number":G.Qh(m[1]);f();break;case "true":case "false":G.Nh(m[0]);f();break;case "null":G.Ph();f();break;default:p("Unexpected token "+ -m[0])}}v=v.replace(/^[\uFEFF]/,"");let n=0,m=null;m=f();d();D("eof");return G.jd()}function h(v){try{return JSON.parse('"'+v+'"')}catch(G){throw new J(G.toString(),"FOJS0001");}}function A(v,G){const p=G.lb,f=G.td;let I;I=f?D=>f.evaluate([[Sa.XS.string.fromString(P(D))]],p).next().toString():()=>"\ufffd";v=v.replace(/[\x00-\x08\x0B\x0C\x0E-\x0F\x80-\x9F\uFFFF]/g,I);return v=v.replace(/[\uD800-\uDFFF]+/g,D=>{let r="";for(let c=0;cd||c===D.length- -1&&"\udc00">d?I(d):d}return r})}function P(v){for(v=v.charCodeAt(0).toString(16);4>v.length;)v="0"+v;return"\\u"+v.toUpperCase()}function q(v,G){this.b=[];this.x=[];this.lb=G;a(v,"liberal","boolean",!1);this.td=a(v,"fallback","function",null);this.l=a(v,"escape","boolean",!1);this.z=a(v,"duplicates","string","use-first",["reject","use-first","use-last"]);if(this.l&&this.td)throw new J("parse-json: cannot use fallback with escape:true()","FOJS0005");}function g(v,G){this.b=[];this.z=[];this.x=[];this.lb= -G;a(v,"liberal","boolean",!1);if(a(v,"validate","boolean",!1))throw new J("json-to-xml: validate option not supported in a non-schema-aware processor","FOJS0004");this.td=a(v,"fallback","function",null);this.l=a(v,"escape","boolean",!1);this.U=a(v,"duplicates","string","use-first",["reject","use-first","retain"]);if(this.l&&this.td)throw new J("json-to-xml: cannot use fallback with escape:true()","FOJS0005");}const e=dc.za,l=Sa.XS,z=fc.va;q.prototype={b:[],x:[],lb:null,l:!1,td:null,z:"use-first", -U:function(v){return this.l?JSON.stringify(v).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,P):A(v,this)},ma:function(){return this.b[this.b.length-1]},g:function(v){if(0===this.b.length)this.b.push(v);else if(this.ma()instanceof id)this.ma().value.push(v);else{const G=this.ma(),p=l.string.fromString(this.x.pop());if(G.containsKey(p))switch(this.z){case "reject":throw new J("json-to-xml: duplicate key '"+p.toString()+"'","FOJS0003");case "use-first":return}G.inSituPut(p,v)}}, -Ph:function(){this.g([])},Nh:function(v){this.g([l.boolean.fromString(v)])},Qh:function(v){this.g([l.double.fromNumber(parseFloat(v))])},Rh:function(v){this.g([l.string.fromString(this.U(h(v)))])},Oh:function(v){this.x.push(this.U(h(v)))},Mi:function(){this.b.push(new id([]))},Sh:function(){this.g([this.b.pop()])},Ni:function(){this.b.push(new lc)},Th:function(){this.g([this.b.pop()])},jd:function(){return void 0!==this.ma()[0]?this.ma()[0]:null}};g.prototype={b:[],z:[{}],x:[],lb:null,td:null,l:!1, -U:"use-first",O:function(v){return this.l?JSON.stringify(v).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,P):A(v,this)},ma:function(){return this.b[this.b.length-1]},g:function(v){if(0===this.b.length)v.setAttribute("xmlns",e),this.b.push(v);else{const G=this.ma();if("map"===G.tagName){const p=this.z.pop(),f=this.x[this.x.length-1];if(p in f)switch(this.U){case "reject":throw new J("parse-json: duplicate key '"+p.toString()+"'","FOJS0003");case "use-first":return}f[p]=v;v.setAttribute("key", -p);this.l&&/\\/.test(p.toString())&&v.setAttribute("escaped-key","true")}G.appendChild(v)}},Ph:function(){const v=this.lb.resultDocument.createElementNS(e,"null");this.g(v)},Nh:function(v){const G=this.lb.resultDocument.createElementNS(e,"boolean");v=this.lb.resultDocument.createTextNode(v.toString());G.appendChild(v);this.g(G)},Qh:function(v){const G=this.lb.resultDocument.createElementNS(e,"number");v=this.lb.resultDocument.createTextNode(v.toString());G.appendChild(v);this.g(G)},Rh:function(v){const G= -this.lb.resultDocument.createElementNS(e,"string");if(""!==v){v=this.O(h(v));const p=this.lb.resultDocument.createTextNode(v);this.l&&/\\/.test(v)&&G.setAttribute("escaped","true");G.appendChild(p)}this.g(G)},Oh:function(v){this.z.push(this.O(h(v)))},Mi:function(){const v=this.lb.resultDocument.createElementNS(e,"array");this.b.push(v)},Sh:function(){this.g(this.b.pop())},Ni:function(){const v=this.lb.resultDocument.createElementNS(e,"map");this.b.push(v);this.x.push({})},Th:function(){this.x.pop(); -this.g(this.b.pop())},jd:function(){return this.ma()}};return{Gd:function(v,G,p){return b(v,new q(G,p))},mk:function(v,G,p){return b(v,new g(G,p))},Fk:function(v,G){function p(m){throw new J("Invalid input to xml-to-json(): "+m,"FOJS0006");}function f(m){0!==d.wc(m).length&&p("node "+m.tagName+" must have no element children")}function I(m){z.wa(m).filter(function(u){return(3===u.nodeType||4===u.nodeType)&&u.nodeValue&&""!==Ma.trim(u.nodeValue)}).next()&&p("node "+m.tagName+" must have no text content")} -function D(m){try{return l.boolean.fromString(m).toBoolean()}catch(u){p("invalid boolean: '"+m+"'")}}function r(m){try{JSON.parse('"'+m+'"')}catch(u){throw new J("invalid escape sequence: "+u.toString(),"FOJS0007");}}function c(m,u=0){const Q=0===u,ma=n?" ".repeat(3*u):"";if(9===m.nodeType||11===m.nodeType){var na=d.wc(m);1!==na.length&&p("document node has "+na.length+" element children");return c(na[0],u)}if(1===m.nodeType){let O=!1;if(m.namespaceURI===e){let ca=null!==d.Oa(m)&&"map"===d.Oa(m).localName; -z.attribute(m).forEachItem(function(x){if(0>x.name.indexOf(":")||x.namespaceURI===e)"key"===x.name||"escaped-key"===x.name?"escaped-key"===x.name?(ca||Q||p("@escaped-key is allowed only on children of map, or on root element"),D(x.value)&&r(m.getAttribute("key"))):ca||Q||p("@key is allowed only on children of map, or on root element"):"escaped"===x.name?("string"!==m.localName&&p("@escaped is allowed only on string"),O=D(x.value)):p("invalid attribute "+x.name)});switch(m.localName){case "null":return z.wa(m).filter(function(S){return 8!== -S.nodeType&&7!==S.nodeType}).next()&&p("null element must have no content"),"null";case "string":f(m);na=m.textContent;if(O)na=na.replace(/^"/g,'\\"').replace(/^[\b]/g,"\\b").replace(/^\f/g,"\\f").replace(/^\n/g,"\\n").replace(/^\r/g,"\\r").replace(/^\t/g,"\\t").replace(/^\//g,"\\/").replace(/([^\\])"/g,'$1\\"').replace(/([^\\])[\b]/g,"$1\\b").replace(/([^\\])\f/g,"$1\\f").replace(/([^\\])\n/g,"$1\\n").replace(/([^\\])\r/g,"$1\\r").replace(/([^\\])\t/g,"$1\\t").replace(/([^\\])\//g,"$1\\/").replace(/[\u0001-\u001F\u007F-\u009F]/g, -P),r(na);else return JSON.stringify(na).replace(/\//g,"\\/");return'"'+na+'"';case "number":f(m);try{na=l.double.fromString(m.textContent)}catch(S){p("invalid number")}isFinite(na.toNumber())||p("NaN and INF not allowed");return na.toString();case "boolean":return f(m),D(m.textContent),l.boolean.fromString(m.textContent).toString();case "array":I(m);let x=n?"[\n":"[",E=n?ma:"";d.wc(m).forEach(function(S){x+=E+c(S,u+1);E=n?`,\n${ma}`:","});return x+"]";case "map":I(m);let B=n?"{\n":"{",L=n?ma:"";const H= -{};d.wc(m).forEach(function(S){null!=S.attributes.getNamedItem("key")||p("child element of map must have a key");const C=d.getAttribute(S,"key");let Z=C;const K=d.getAttribute(S,"escaped-key");let X=!1;K&&D(K)&&(X=!0,Z=h(C));H[Z]&&p("duplicate key '"+C+"'");H[Z]=!0;B+=L+(X?'"'+C+'"':JSON.stringify(C).replace(/\//g,"\\/"))+":"+c(S,u+1);L=n?`,\n${ma}`:","});return n?B+`\n${0{hc(P,g.q,g.toString(),q.value)});for(let q in h)h.hasOwnProperty(q)&&(a=h[q],""===q?hc(P,"http://www.w3.org/2000/xmlns/","xmlns",a):hc(P,"http://www.w3.org/2000/xmlns/","xmlns:"+q,a))}endElement(){0===--this.g?this.ec=null:this.ec=this.ec.parentNode;this.l=null}text(a){this.l?this.l.appendData(a):(a=this.Rc.createTextNode(a),Xd(this,a),0de(a,h));else{if(b instanceof jd.XdmFunction)throw new J("Cannot add a function item to an XDM node tree","SENR0001");if(b instanceof lc)throw new J("Cannot add a map to an XDM node tree","SENR0001");ee.Di(b,a);a.g=!1}} -class fe extends Wd{constructor(a){super();this.b=a;this.g=this.x=this.l=!1}startDoc(a={}){ce(this,a);this.l=!1}endDoc(){this.g=!1;this.b.endDoc()}startElement(a,b,h,A={}){ce(this,A);this.b.startElement(a,b,h,A)}endElement(){this.b.endElement();this.g=!1}text(a,b={}){ce(this,b);super.text(a,b);this.g=!1}comment(a,b={}){ce(this,b);super.comment(a,b);this.g=!1}pi(a,b,h={}){ce(this,h);super.pi(a,b,h);this.g=!1}append(a,b={}){ce(this,b);de(this,a)}close(){this.l&&this.endDoc();super.close()}} -function ge(a,b={}){a.l||(a.b.startDoc(b),a.l=!0,a.g=!0);a.x||a.b.append(a.z,{});a.x=!1} -class he extends Wd{constructor(a,b){super();this.b=a;this.l=this.g=!1;this.x=!0;this.z=Sa.XS.string.fromString(b)}startDoc(a={}){ge(this,a);this.g=!1}endDoc(){this.b.endDoc()}startElement(a,b,h,A={}){ge(this,A);this.b.startElement(a,b,h,A)}endElement(){this.b.endElement()}text(a,b={}){ge(this,b);super.text(a,b)}comment(a,b={}){ge(this,b);super.comment(a,b)}pi(a,b,h={}){ge(this,h);super.pi(a,b,h)}append(a,b={}){if(ld.isArray(a))a.flatten(h=>this.append(h,b));else{if(a instanceof jd.XdmFunction)throw new J("Cannot add a function item to an XDM node tree", -"SENR0001");if(a instanceof lc)throw new J("Cannot add a map to an XDM node tree","SENR0001");Sa.ka(a)?(ge(this,b),this.b.append(a,b)):(ge(this,b),ee.Di(a,this))}}close(){this.g&&this.endDoc();super.close()}}function ie(a,b){return a.b.findIndex(h=>h.equals(b))}class je{constructor(){this.b=[];this.g=[]}get(a){a=ie(this,a);return 0>a?void 0:this.g[a]}set(a,b){const h=ie(this,a);0<=h?this.g[h]=b:(this.b.push(a),this.g.push(b))}forEach(a){for(let b=0;bc.append(d))}}return I}}function b(f){let I=f.N;f.parentNode&&(I=b(f.parentNode)+"/"+I);return I}function h(f){if(f.C){const I=f.C.map(a);return function(D,r){I.forEach(c=>c(D,r))}}return()=>{}}function A(f,I,D,r,c,d){if(fc.Q(f))switch(f.nodeType){case 9:case 11:D.cb=fc.Za(f);q(f,D,c,d);break;case 1:if(null!=f.attributes.getNamedItem("xml:base")){const n= -f.getAttribute("xml:base");D.cb=fc.Wc(n)?n:ya.resolveUri(n.toString(),ld.staticBaseUri(r,I)).toString()}else D.cb=fc.Za(f);q(f,D,c,d);break;case 3:case 4:D.text(f.nodeValue);break;case 7:D.pi(f.target,f.data);break;case 8:D.comment(f.textContent);break;default:D.append(f)}else D.append(f)}function P(f,I,D){switch(f.nodeType){case 9:case 11:I.startDoc(D?{BASE_URI:D}:{});f=f.childNodes;for(D=0;Dn||D.index===n&&c)&&r.push({Ac:!1,string:d(f.substring(n,D.index))}),r.push({Ac:!0,groups:D,string:d(D[0])}),n=I.lastIndex,0===D[0].length&&I.lastIndex++,m++>10*f.length)throw new J("analyze-string looping???","SXJS0004");f.length>n&&r.push({Ac:!1,string:d(f.substring(n,f.length))}); -return r}function z(f){const I="compAtt"===f.N,D=ld.elaborate(ld.$(f,"name")),r=ld.elaborate(ld.$(f,"namespace"));return c=>{function d(){throw new J((I?"Attribute":"Element")+" name '"+n+"' is not a lexical QName",I?"XTDE0850":"XTDE0820",f);}let n=Ma.trim(D(c).next().toString());if(r){c=(c=r(c).next())?c.value:"";if(!ld.Ek(c))throw new J((I?"Attribute":"Element")+" namespace '"+c+"' is invalid",I?"XTDE0865":"XTDE0835",f);var m=Sa.XS.QName;if(""===c&&n.includes(":"))m=m.fromParts("","",n.replace(/^.*:/, -""));else if(n.includes(":")){const u=n.split(":");""!==u[0]&&""!==u[1]||d();m=m.fromParts(u[0],c,u[1])}else m=""===c?m.fromParts("","",n):m.fromParts(I?"ns0":"",c,n)}else{if(I&&"xmlns"===n)throw new J("Attribute must not be named xmlns","XTDE0855",f);try{m=ld.Ug(f,n,!I)}catch(u){if(u instanceof J){if("XTDE0290"===u.code)throw new J((I?"Attribute":"Element")+" name '"+n+"' has an unbound prefix",I?"XTDE0860":"XTDE0830",f);"FORG0001"===u.code&&d()}throw u;}}if("http://www.w3.org/2000/xmlns/"===m.q)throw new J("Disallowed namespace "+ -m.q,I?"XTDE0865":"XTDE0835",f);return m}}class v{constructor(){}startDoc(){}endDoc(){}startElement(){}attribute(){}namespace(){}endElement(){}text(){}comment(){}pi(){}append(){}close(){}}class G extends v{constructor(f){super();this.g=f;this.O=[];this.ub=[];this.cb=null;this.b=0;this.Ra=this.x=null;this.z={};this.Ea=null;this.l=this.ia=!1;this.qa={};this.Bc=null}na(f,I,D){var r=this.z[f];if(r&&r!==I)if("ns"===D){if(this.qa[f])throw new J("Two conflicting bindings for prefix '"+f+"'","XTDE0430");if(this.x.prefix=== -f){for(r=f+"_9";this.z[r];)r+="9";this.x=Sa.XS.QName.fromParts(r,this.x.q,this.x.local);this.z[r]=this.x.q}this.z[f]=I}else return""===f&&(f="NULL"),this.na(f+"0",I,D);"ns"===D&&(this.qa[f]=I);if("elem"===D&&""===I)for(r=this.O.length-1;0<=r;r--)if(""===this.O[r][0]){this.z[""]="";break}if(""!==f||""!==I){r=!1;for(let c=this.O.length-1;0<=c;c--){const d=this.O[c];if(d[0]===f){d[1]===I&&(r=!0);break}}if(!r){if(this.qa[f]&&this.qa[f]!==I)return this.na(f+"0",I,D);this.z[f]=I}}return f}startDoc(){0=== -this.b&&(this.g.startDoc({BASE_URI:this.cb,ORIGINAL_NODE:this.Bc}),this.O=[]);this.U();this.b++;this.l=this.ia=!1}endDoc(){this.b--;0===this.b&&this.g.endDoc();this.l=!1}startElement(f){this.U();this.b++;this.ia=!0;this.x=f;this.Ra=new je;this.z={};this.qa={};this.na(f.prefix,f.q,"elem");this.Ea=this.Bc;this.l=!1}attribute(f,I){if(0===this.b)this.g.append(new ec(f,I,null));else{if(!this.ia){if(this.x)throw new J("Cannot write attribute ("+f.toEQName()+"="+I+") after writing child nodes (level="+this.b+ -", start tag = "+this.x+")","XTDE0410");throw new J("Cannot attach an attribute ("+f.toEQName()+"="+I+") to a document node","XTDE0420");}if(""!==f.q){["","xmlns"].includes(f.prefix)&&(f=f.withPrefix("ns_"));const D=this.na(f.prefix,f.q,"att");D!==f.prefix&&(f=f.withPrefix(D))}this.Ra.set(f,{value:I,Wa:0})}}namespace(f,I){if(0===this.b)this.g.append(new gc(f,I));else{if(!this.ia)throw new J("Cannot write namespace after writing child nodes","XTDE0410");if(""===f&&""===this.x.q)throw new J("Cannot add default namespace declaration to a no-namespace element", -"XTDE0440");this.na(f,I,"ns")}}endElement(){this.U();this.g.endElement();this.b--;let f=this.ub.pop();for(;0this.append(I));break;default:this.U(),q(f,this,!0,!1)}this.l=!1}else if(0===this.b)this.g.append(f,{}),this.l=!1;else if(Sa.ka(f))this.U(),this.text((this.l?" ":"")+f.toString(),{}),this.l=!0;else if(ld.isArray(f)){f=f.value;for(let I=0;I{try{let u=I(n).next();if(null===u)return Tb;u=u.toString();const Q=D(n).next().toString(), -ma=r(n).next().toString(),na=l(u,Q,ma,!0,!1),O=n.newContext(!1),ca=na.map(x=>x.string);O.focus=Xb(Pb(ca));O.focus.forEachItem(()=>{const x=na[O.focus.position-1];x.Ac?c&&(O.regexGroups=x.groups,c(O,m)):d&&(O.regexGroups=[],d(O,m))})}catch(u){if(u instanceof J&&"FORX0002"===u.code)throw new J(u.message,"XTDE1140");if(u instanceof J&&"FORX0001"===u.code)throw new J(u.message,"XTDE1145");throw u;}}},applyImports:function(f){return function(I,D){const r=I.currentMode.mode;if(!r)throw new J("applyImports: no current mode", -"XTDE0560",f);I.failIfNoCurrentFocus("XTDE0560","xsl:apply-imports",f);const c=I.newContext(!0);c.currentComponent=I.currentMode;ld.Ze(f,I,c);c.focus=I.focus;return r.ij(c,D)}},applyT:function(f){const I=ld.Fa(f),D=ld.elaborate(ld.$(f,"separator"));return function(r,c){let d;const n=r.newContext(!0);if(ld.qb(f,"c"))d=r.currentMode.mode,["function","globalVariable","globalParam"].includes(r.currentComponent.actor.N)&&(d=ld.fe(f,r).Ri),n.currentComponent=r.currentMode;else{var m=ld.Eg(f,r,"mode");d= -m.mode;if(d.ti)throw new J("Mode "+d.Ve.name+" only handles typed nodes","XTTE3100",f);n.currentComponent=m}ld.Ze(f,r,n);m=D?D(r).next():null;n.focus=Xb(I(r));n.focus.regexGroups=r.focus?r.focus.regexGroups:null;d.xb(n,c,m)}},att:function(f){const I=f.name,D=I.split(":");let r;r=f.nsuri?2===D.length?Sa.XS.QName.fromParts(D[0],f.nsuri,D[1]):Sa.XS.QName.fromParts("",f.nsuri,I):Sa.XS.QName.fromString(I,ld.stylesheetResolver(f,!1));const c=ld.Fa(f);return function(d,n){d=g(c(d));n.attribute(r,d)}},"break":function(f){const I= -h(f);return function(D,r){I(D,r);D.focus.position=-999}},callT:function(f){return function(I,D){const r=ld.Eg(f,I,"template"),c=I.newContext(!0);c.currentMergeGroup=null;c.currentComponent=r;ld.og(r.actor,c);ld.Ze(f,I,c);I=r.actor;I.C&&h(I)(c,D)}},choose:function(f){f=f.C;const I=[],D=[];for(let r=0;r -I(D,r),r)}},copyOf:function(f){const I=ld.qb(f,"c"),D=ld.qb(f,"m"),r=ld.Fa(f);h(f);return function(c,d){r(c).forEachItem(n=>A(n,c,d,f,I,D))}},doc:function(f){const I=h(f);return function(D,r){r.cb=ld.staticBaseUri(f,D);r.startDoc();I(D,r);r.endDoc()}},elem:function(f){const I=f.name,D=I.split(":"),r=h(f);let c;c="undefined"!==typeof f.nsuri?2===D.length?Sa.XS.QName.fromParts(D[0],f.nsuri,D[1]):Sa.XS.QName.fromParts("",f.nsuri,I):Sa.XS.QName.fromString(I,ld.stylesheetResolver(f,!0));return function(d, -n){f.baseUri&&(n.cb=f.baseUri);n.startElement(c);if(f.namespaces){const u=f.namespaces.toString().split(" ");for(let Q=0;Q{m?m=!1:d.text(u.value,{});D(n,d)})}else n.focus.forEachItem(()=>D(n,d))}},forEachGroup:function(f){const I=ld.elaborate(ld.$(f,"select")),D=ee.elaborateForPush(ld.$(f,"content"));return(r,c)=>{function d(O){const ca=[];n.forEachItem(function(x){O(ca,x)});return ca}const n=Xb(I(r)),m=r.newContext(!1);m.focus=n;var u={starting:function(){const O=Qd.Zc(ld.$(f,"match"));return d(function(ca, -x){1===n.position||Qd.matches(O,x,m)?ca.push({pb:[x]}):ca[ca.length-1].pb.push(x)})},ending:function(){const O=Qd.Zc(ld.$(f,"match"));let ca=!1;return d(function(x,E){1===n.position||ca?x.push({pb:[E]}):x[x.length-1].pb.push(E);ca=Qd.matches(O,E,m)})},adjacent:function(){var O=ld.$(f,"collation");O=O?ld.evaluate(O,r).next().toString():Nd.Nc;const ca=Nd.Bg(O,r),x=ld.$(f,"key");let E=null;return d(function(B,L){var H=ld.evaluate(x,m).expand();1!==n.position&&Ld(Pb(H),Pb(E),ca.equals)?B[B.length-1].pb.push(L): -(B.push({pb:[L],Mb:H}),E=H)})},by:function(){var O=ld.$(f,"collation");O=O?ld.evaluate(O,r).next().toString():Nd.Nc;O=Nd.Bg(O,r);const ca=Nd.Ef(O,!1),x=ld.$(f,"key");return d(function(E,B){let L,H=[];ld.evaluate(x,m).forEachItem(function(S){ca.containsKey(S)?(L=ca.get(S),0>H.findIndex(function(C){return C===L})&&(E[L].pb.push(B),H.push(L))):(L=E.length,E.push({pb:[B],Mb:[S]}),ca.inSituPut(S,L),H.push(L))})})},by_c:function(){var O=ld.$(f,"collation");O=O?ld.evaluate(O,r).next().toString():Nd.Nc;O= -Nd.Bg(O,r);const ca=ld.$(f,"key"),x=Nd.Ef(O,!0);return d(function(E,B){let L,H=ld.evaluate(ca,m).expand();x.containsKey(H)?(L=x.get(H),E[L].pb.push(B)):(L=E.length,E.push({pb:[B],Mb:H}),x.inSituPut(H,L))})}};u.adjacent_c=u.adjacent;var Q=f.algorithm+(ld.qb(f,"c")?"_c":"");let ma;try{ma=u[Q]()}catch(O){if(O instanceof J&&"FOCH0002"===O.code)throw new J("Unknown collation:"+O.message,"XTDE1110");throw O;}const na=ld.db(f,"sortKey");if(0L)return-1;if(0Q(d));var m=d.newContext(!1);m.focus=Xb(D(d));m.currentTemplate=null;let u=!1;for(;null!==m.focus.next();)if(r(m,n),-999===m.focus.position){u=!0;break}!u&&c&&(m=d.newContext(!1),m.focus=null,c(m,n))}},let:function(f){const I=ld.Fa(f),D=a(f.C[1]),r=parseInt(f.slot,10);return function(c,d){const n=c.tempOutputState;c.tempOutputState= -"variable";const m=I(c).expand();c.tempOutputState=n;c.localVars[r]=m;D(c,d)}},nextIteration:function(f){const I=ld.db(f,"withParam").map(D=>({uk:ld.Fa(D),Db:parseInt(D.slot,10)}));return function(D){I.forEach(r=>r.value=r.uk(D).expand());I.forEach(r=>D.localVars[r.Db]=r.value)}},nextMatch:function(f){return function(I,D){const r=I.currentMode.mode;if(!r)throw new J("next-match: no current mode","XTDE0560",f);if(!I.currentTemplate)throw new J("next-match: no current template","XTDE0560",f);if(I.noCurrentFocus())throw new J("next-match: no context item", -"XTDE0560",f);const c=I.newContext(!0);c.currentComponent=I.currentMode;ld.Ze(f,I,c);return r.gk(c,D)}},procInst:function(f){const I=ld.Fa(f),D=ld.Mh(f);return function(r,c){const d=I(r).next().toString();if(!Ma.isNCName(d))throw new J("The name of a processing-instruction must be a valid NCName; supplied value: "+d.toString(),"XTDE0890",f);if(/^[Xx][Mm][Ll]$/.test(d))throw new J("The name of a processing-instruction must not be 'xml'","XTDE0890",f);r=D(r);r=g(r).replace(/\?>/g,"? >").replace(/^\s+/, -"");c.pi(d,r)}},sequence:h,sourceDoc:function(f){const I=ld.elaborate(ld.$(f,"href")),D=a(f.C[1]);return function(r,c){const d=r.newContext(!1);var n=null===I?"":I(r).next().toString();n=ya.resolveUri(n,ld.staticBaseUri(f,r));n=Td.uc(n,r);r=r.fixed.Ae;null!==r&&(n=r(n));d.focus=Wb(n);d.currentTemplate=null;D(d,c)}},useAS:function(f){return function(I,D){var r=ld.Eg(f,I,"attributeSet");I=I.newContext(!0);I.tempOutputState="attribute set";I.currentComponent=r;r=r.actor;r.C&&h(r)(I,D)}},valueOf:function(f){const I= -ld.Fa(f);let D={};ld.qb(f,"d")&&(D.DISABLE_ESCAPING=!0);return function(r,c){r=g(I(r));c.text(r,D)}}};return{kg:l,elaborateForPush:a,getComplexContentOutputter:function(f){return new G(f)},push:function(f,I,D){if("undefined"===typeof D)throw Aa.Qa(Error().stack,1,I.fixed.Ga),new J("No output for "+b(f));if(p[f.N]){var r=a(f);try{r(I,D)}catch(c){throw c instanceof J&&!c.xsltLineNr&&za(c,f),c;}}else{r=ld.elaborate(f);try{const c=r(I);let d;for(;null!=(d=c.next());)D.append(d)}catch(c){throw c instanceof -J&&!c.xsltLineNr&&za(c,f),c;}}},Di:P,vf:A,Rg:e}}();const ke=function(){function a(O,ca,x,E,B){function L(V){return null===n.Oa(V)}function H(V){return V.nodeType===S.nodeType&&(null===Z?!0:n.X(V).equals(Z))}let S;const C=B.fixed.evaluator;if(ca){if(S=C.evaluate(ca,B).next(),!S||!n.Q(S))throw new J("xsl:number/@select must yield a single node","XTTE1000");}else B.failIfNoCurrentFocus("XTTE0990","xsl:number"),S=B.getCurrentFocus();const Z=n.X(S);let K=H;if(null!==x){const V=Qd.Zc(x);K=function(ha){return Qd.matches(V,ha,B)}}if(null===E)ca=L;else{const V= -Qd.Zc(E);ca=function(ha){return L(ha)||Qd.matches(V,ha,B)}}let X;switch(O){case "simple":return O=m.Dc(S).filter(H),Zb(O.count()+1);case "single":O=m.Ka(S).filter(K).next();X=m.Ka(S).filter(ca).next();O=null===O?null:null!==m.Ka(O).filter(function(ha){return n.isSameNode(ha,X)}).next()?O:null;if(null===O)return Tb;O=m.Dc(O).filter(K);return Zb(O.count()+1);case "multi":O=Pb(m.Ka(S).filter(K).expand().reverse());X=m.Ka(S).filter(ca).next();O=O.filter(function(ha){return null!==m.Ka(ha).filter(function(w){return n.isSameNode(w, -X)}).next()});const V=u.integer.fromNumber;return O.mapOneToOne(ha=>V(m.Dc(ha).filter(K).count()+1));case "any":return x=function(ha,w){return n.fb(w,ha)},O=new Jb(m.Og(S).filter(K),m.Ka(S).filter(K),x),X=(new Jb(m.Og(S).filter(ca),m.Ka(S).filter(ca),x)).next(),null===X&&Aa.fa("from pattern selected empty"),O=O.filter(function(ha){return 0<=n.fb(ha,X)}),O=O.count(),0===O?Tb:Zb(O);default:return Aa.fa("unknown xsl:number/@level "+O),Tb}}function b(O,ca,x,E,B,L,H){function S(Z){let K;""===Z&&(Z="1"); -if(/^[\x01-\x7f]*$/.test(Z))Z=Z.split(/\b/),K=function(ha){return/\w+/.test(ha)};else{if(Z.length!==Ia(Z).length)throw new J("Cannot handle non-BMP characters in format-number picture","SXJS0002");const ha=ee.kg(Z,"[\\p{Nd}\\p{Nl}\\p{No}\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}]+","",!0,!1);K=function(w,M){return ha[M].Ac};Z=ha.map(function(w){return w.string.toString()})}const X={prefix:"",Qc:[],Rd:""};let V=".";for(let ha=0;ha=X.Qc.length?X.Qc[X.Qc.length-1]:X.Qc[w];0!==w&&(V+=M.sep);w=M.Fh;B&&(w+=";o");ha=ke.xg(ha.toNumber(),w);null!==x&&null!== -E&&(ha=ke.ig(ha,x,E));V+=ha});V+=X.Rd;return Yb(V)}(O.expand())}function h(O,ca,x,E,B){const L=B.fixed.evaluator;let H=[1];null!==x&&(H=L.evaluate(x,B).next().toString().split(/\s+/).map(function(S){if(!/^-?[0-9]+$/.test(S))throw new J("xsl:number/@start-at must be a sequence of integers. Offending value: "+S,"XTSE0020");return parseInt(S,10)}));if(ca&&E){O=O.next();if(null===O)return null;try{O=u.integer.I(O.round(0))}catch(S){return null}O=Pb([O])}return O.mapOneToOne(function(S,C){S=S.isNumeric()? -S.toDouble():u.double.hf(S.toString());if(0>S.toNumber())throw new J(`xsl:number/@value is less than zero (${S.toString()})`,"XTDE0980");try{S=u.integer.I(S.round(0))}catch(Z){throw Z.code="XTDE0980",Z;}C=C>=H.length?H[H.length-1]:H[C];1!==C&&(S=u.integer.fromNumber(S.toNumber()+(C-1)));return S})}function A(O){if(1>O||4999=E[B];)ca+=x[B], -O-=E[B];return ca}function P(O,ca){function x(B){return(B>E?x(Math.floor((B-1)/E)):"")+ca.charAt((B-1)%E)}if(1>O)return O.toString();const E=ca.length;return x(O)}function q(O,ca){return Ox?x.toString():qa(x).toFixed();x.lengthO&&(x="-"+x);return x}function e(O,ca="FODF1310"){const x=Ia(O),E={};let B=!0;var L=0;let H;const S=Ma.prepareRegex("\\p{Nd}",null);var C=O.search(S);if(0>C)B=!1;else{L=Ma.jk().Nd;for(let K= -0;Kx[C]||x[C]>H+10)throw new J("Picture string mixes digits from different digit families: "+O,ca);}else if(Ma.prepareRegex("\\p{N}\\p{L}",null).test(L))throw new J("Picture string is invalid: "+O,ca);const Z=[];L=H-48;x.forEach(function(K){H<=K&&K<=H+10?Z.push(48):Z.push(K)});O=Ja(Z)}E.Rj=B;E.format=O;E.sg=L;E.Gf=H;return E}function l(O,ca){const x=[];Ia(O).forEach(function(E){48<= -E&&57>=E?x.push(E+ca):x.push(E)});return Ja(x)}function z(O,ca,x,E="",B=!1){let L=0;for(let H=0;Hx[0]&&(H=!1);if(H)for(L=1;LO?ca[O]:100>O?x[Math.floor(O/ -10)]+(0===O%10?"":" "+ca[O%10]):1E3>O?G(Math.floor(O/100))+" Hundred"+(0===O%100?"":" and "+G(O%100)):1E6>O?G(Math.floor(O/1E3))+" Thousand"+(0===O%1E3?"":(100>O%1E3?" and ":" ")+G(O%1E3)):1E9>O?G(Math.floor(O/1E6))+" Million"+(0===O%1E3?"":(100>O%1E3?" and ":" ")+G(O%1E6)):O.toString()}function p(O){const ca="Zeroth First Second Third Fourth Fifth Sixth Seventh Eighth Ninth Tenth Eleventh Twelfth Thirteenth Fourteenth Fifteenth Sixteenth Seventeenth Eighteenth Nineteenth".split(" "),x=" Twent Thirt Fort Fift Sixt Sevent Eight Ninet".split(" "); -return 20>O?ca[O]:100>O?x[Math.floor(O/10)]+(0===O%10?"ieth":"y "+ca[O%10]):1E3>O?G(Math.floor(O/100))+" Hundred"+(0===O%100?"th":" and "+p(O%100)):1E6>O?G(Math.floor(O/1E3))+" Thousand"+(0===O%1E3?"th":(100>O%1E3?" and ":" ")+p(O%1E3)):1E9>O?G(Math.floor(O/1E6))+" Million"+(0===O%1E3?"th":(100>O%1E3?" and ":" ")+p(O%1E6)):O.toString()}function f(O){return 1===O%10&&11!==O%100?"st":2===O%10&&12!==O%100?"nd":3===O%10&&13!==O%100?"rd":"th"}function I(O,ca,x="FODF1310"){function E(H,S){let C="";for(let Z= -H.charCodeAt(0),K=0;KO?"-":"";if("o"===L)switch(ca.toString()){case "a":case "A":case "i":case "I":break;case "Ww":return B+p(Math.abs(O));case "W":return B+p(Math.abs(O)).toUpperCase(); -case "w":return B+p(Math.abs(O)).toLowerCase();default:return v(O,ca,x)+f(Math.abs(O))}switch(ca.toString()){case "a":return P(O,E("a",26));case "A":return P(O,E("A",26));case "\u03b1":return P(O,E("\u03b1",25));case "\u0391":return P(O,E("\u0391",25));case "i":return A(O);case "I":return A(O).toUpperCase();case "Ww":return B+G(Math.abs(O));case "W":return B+G(Math.abs(O)).toUpperCase();case "w":return B+G(Math.abs(O)).toLowerCase();case "\u2460":return q(O,"\u24ea"+E("\u2460",20)+E("\u3251",15)+ -E("\u32b1",15));case "\u2474":return q(O,"0"+E("\u2474",20));case "\u2488":return 0===O?"\ud83c\udd00":q(O,"0"+E("\u2488",20));case "\u2776":return q(O,"\u24ff"+E("\u2776",10)+E("\u24eb",10));case "\u2780":return 0===O?"\ud83c\udd0b":q(O,"0"+E("\u2780",10));case "\u278a":return 0===O?"\ud83c\udd0c":q(O,"0"+E("\u278a",10));case "\u24f5":return q(O,"0"+E("\u24f5",10));case "\u3220":return q(O,"0"+E("\u3220",10));case "\u3280":return q(O,"0"+E("\u3280",10));default:return v(O,ca,x)}}function D(O,ca){return String.fromCharCode(parseInt(O[ca]? -O[ca]:Q[ca],10))}function r(O,ca){function x(W){[["$gs","grouping separator"],["$es","exponent separator"],["$ds","decimal separator"],["$pc","non-prefix passive character"],["$pp","percent|permille"],["$od","optional digit"],["$md","mandatory digit"],["$ip","integer part"],["$fp","fractional part"]].forEach(function(ka){W=W.replace(ka[0],ka[1])});throw new J("Invalid picture: "+W,"FODF1310");}const E={};var B=O.indexOf(ca.ef),L=0<=B;const H=ca.Gf.charCodeAt(0);let S=0,C=0,Z=[];const K=[],X=[];let V= --1,ha=-1,w=!1,M=!1;var aa=-1;let ja=0;var Y=L?B:O.length;for(var y=0;y=H&&daS&&0>V&&(V=y),S++,C++)):da===ca.Lh.charCodeAt(0)?(0V&&(V=y,M=!0),C++):da===ca.ie.charCodeAt(0)?(0V&&x("$pp before any digit"), -0ha&&(ha=y),da===ca.cd.charCodeAt(0)?E.cd=!0:E.we=!0):!L&&0<=V&&da===ca.tc.charCodeAt(0)&&0>ha?w?(X.push(da),0ha&&(ha=y):(X.push(da),w=!1,aa=-1,0>ha&&(ha=y-1))):(w=!0,aa=y):0<=V&&L?x("$pc before $ds"):w&&0===ja?(w=!1,aa=-1,X.push(ca.tc.charCodeAt(0)),X.push(da),0>ha&&(ha=y-1)):0<=V?(X.push(da),0>ha&&(ha=y)):K.push(da)}if(0=H&&kaha?ja++:0<=L||0<=ha?x("$md follows $od or $pc in $fp"):(Y++,y++):ka===ca.Lh.charCodeAt(0)?((0<=ha||w)&&x("$od follows $pc or $es"),0>L&&(L=W),y++):ka===ca.ie.charCodeAt(0)?((0<=ha||w)&&x("$gs follows $pc or $es"),da.push(W-B+1)):ka===ca.ef.charCodeAt(0)?x("more than one $ds"):ka===ca.cd.charCodeAt(0)|| -ka===ca.we.charCodeAt(0)?((0<=ha||w)&&x("$pp follows $pc or $es"),X.push(ka),ha=W,ka===ca.cd.charCodeAt(0)?E.cd=!0:E.we=!0):ka===ca.tc.charCodeAt(0)&&0>ha?w?(X.push(ka),0ha&&(ha=W):(X.push(ka),w=!1,aa=-1,0>ha&&(ha=W-1))):(w=!0,aa=W):w&&0===ja?(w=!1,aa=-1,X.push(ca.tc.charCodeAt(0)),X.push(ka),0>ha&&(ha=W-1)):(X.push(ka),0>ha&&(ha=W))}}0>V&&0===y&&x("mantissa contains no digits");if(0!==da.length)for(0===da[0]&&x("$gs at beginning of $fp"),B=0;B=E+x?d(new Date(O.getTime()-864E5),ca):Math.floor((x+E-2)/7)+ -(5>E?1:0)}const n=fc,m=n.va,u=Sa.XS,Q={"decimal-separator":"46","grouping-separator":"44",digit:"35","minus-sign":"45",percent:"37","per-mille":"8240","zero-digit":"48","exponent-separator":"101","pattern-separator":"59",infinity:"Infinity",NaN:"NaN"},ma={Y:"getUTCFullYear",M:"getUTCMonth",D:"getUTCDate",F:"getUTCDay",H:"getUTCHours",m:"getUTCMinutes",s:"getUTCSeconds",f:"getUTCMilliseconds"},na={d:c,W:function(O){return d(O,!0)},w:function(O){return d(O,!1)},h:function(O){return 13>O.getUTCHours()? -0===O.getUTCHours()?12:O.getUTCHours():O.getUTCHours()-12},P:function(O){return 12>O.getUTCHours()?"Am":"Pm"},E:function(O){return 0>O.getUTCFullYear()?"BC":"AD"}};return{hk:function(O,ca){const x=ca.fixed.evaluator,E=O.level,B=x.$(O,"select"),L=x.$(O,"count");O=x.$(O,"from");return a(E,B,L,O,ca)},ik:function(O,ca){var x=ca.fixed.evaluator;const E=x.$(O,"value"),B=x.$(O,"format"),L=x.hc(x.$(O,"gpSep"),ca).next(),H=x.hc(x.$(O,"gpSize"),ca).next();var S=x.hc(x.$(O,"ordinal"),ca).next();const C=x.hc(x.$(O, -"lang"),ca).next();var Z=O.flags||"";O=x.$(O,"startAt");Z=/1/.test(Z);x=x.evaluate(E,ca);x=h(x,Z,O,!0,ca);S=S?ld.Yj(S.toString()):!1;return null===x?Yb("NaN"):b(x,B,L,H,S,C,ca)},xg:I,ig:function(O,ca,x){let E="";for(let B=0;BO?!0:0===O?0>1/O:!1;x={ef:D(x,"decimal-separator"),ie:D(x,"grouping-separator"),Lh:D(x,"digit"),ek:D(x,"minus-sign"),cd:D(x,"percent"),we:D(x,"per-mille"),Gf:D(x, -"zero-digit"),tc:D(x,"exponent-separator"),Ai:D(x,"pattern-separator"),Lj:x.infinity||Q.infinity,fk:x.NaN||Q.NaN};if(isNaN(O))return x.fk;ca=ca.includes(x.Ai)?ca.split(x.Ai):[ca];if(2O?ca[1]:ca[0],x);if(isFinite(O)){if(0X&&(O=qa(O.toPrecision(X))); -(X=V!==O.e)&&(L+=1);1L)||Z&&X||(L=ha.join("").slice(L),H+="."+L)}else throw new J("Empty mantissa","SXJS0004");C=H+C+g(O.e,K)}else{K=Math.abs(O);B.cd&&(K=Math.abs(100*O));B.we&&(K=Math.abs(1E3*O));"Infinity"===K+""?C=K+"":C=999999>K?K.toString():qa(K).toFixed();K=C.indexOf(".");0>K&&(K=C.length,0C.indexOf(".")&&(C+=".0")):C=qa(C).round(0,1).toString());L=C.length-1-K;if(0L;L++)K+=String.fromCharCode(x.Gf.charCodeAt(0)+L);K+=x.ef;L="";for(S=0;SO?L+=Z:OL&&(L=K.length);C=K.substring(0,L);K=K.substring(L);if(0B.Lb[0]&&(L=!1);C=L?ke.ig(C,x.ie,B.Lb[0]):z(C,B.Lb,null,x.ie)}0K||"*"!==Z&&1>Z||"*"!==K&&"*"!==Z&&K>Z)throw new J("Invalid width modifier in date/time formatting picture","FOFD1340");}var X=null;1Z||12C.length;)C="0"+C;X=Ia(C);C=parseInt(Ja(X.reverse()),10);if(!H&&!S&&/^[0-9]$/.test(V))for(;X.length>V.length;)V+="#"; -if(H&&"*"!==H){ha=/^([0-9]*)(#*)$/.exec(V);V=ha[1]?ha[1]:"";for(ha=ha[2]?ha[2]:"";H>V.length;)V+="0",ha=ha.slice(0,-1);V+=ha}if(S)for("*"===S&&(S=X.length);V.lengthV.length;)C=C.slice(0,-1);H&&"*"!==H||0!==parseInt(C,10)||(C="0");Z||(C=l(C,K));H=C}else{if(/[nN]/.test(S))V="January February March April May June July August September October November December".split(" "),K="Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "), -X="M"===H?V[ha-1]:"F"===H?K[ha-1]:ha,"F"===H&&Z&&"*"!==Z&&6>Z&&(X=X.replace(/(ur)?day$/,""),X=X.replace(/nes$/,"s")),"n"===S?X=X.toLowerCase():"N"===S&&(X=X.toUpperCase()),Z&&"*"!==Z&&(X=X.substring(0,Z));else{V=/;/.test(S)?S+";":S;X&&(V+=(";"===V.charAt(V.length-1)?"":";")+X);X=I(ha,V,"FOFD1340");"Y"===H&&"-"===X.charAt(0)&&(X=X.substring(1));if("Y"===H&&/[^iIwWnN]/.test(S.charAt(S.length-1))&&(!K&&2===S.length||2==Z))for(;2ea[va]}const W={"<":"<",">":">","&":"&",'"':""","\n":" ","\r":" ","\t":" "},ka={"<":"<",">":">","&":"&"};return y?Y.replace(/&|<|>|"|\n|\r|\t/g,da(W)):Y.replace(/&|<|>/g,da(ka))}if(aa){aa="";w=w.split("\x00");for(let Y=0;Y=w:"US-ASCII"===M.toUpperCase()?127>=w: -!0}function h(w,M){return function(aa){var ja=!0;for(var Y=0;Y=w.min&&y<=w.max){ja=!1;break}}if(ja)return aa;ja="";Y=!1;for(y=0;y=W;ka&&(W=aa.codePointAt(y));w.oa[W]?(M&&!Y&&(ja+="\x00",Y=!0),ja+=w.oa[W],ka&&y++):(M&&Y&&(ja+="\x00",Y=!1),ja+=da)}return ja}}function A(w){return""===w.q||"http://www.w3.org/1999/xhtml"===w.q}function P(w){return["http://www.w3.org/1999/xhtml","http://www.w3.org/2000/svg", -"http://www.w3.org/1998/Math/MathML"].includes(w)}function q(w,M){return(M={action:["form"],archive:["object"],background:["body"],cite:["blockquote","del","ins","q"],classid:["object"],codebase:["applet","object"],data:["object"],datasrc:"button div input object select span table textarea".split(" "),"for":["script"],formaction:["button","input"],href:["a","area","base","link"],icon:["command"],longdesc:["frame","iframe","img"],manifest:["html"],name:["a"],poster:["video"],profile:["head"],src:"audio embed frame iframe img input script source track video".split(" "), -usemap:["img","input","object"]}[M.local])&&M.includes(w.local)}function g(w,M,aa=null){switch(w.method){case "xml":M=new Q(w,M);if(w.version&&"1.0"!==w.version)throw new J("Serializer does not support the requested XML version: "+w.version,"SESU0013");c(w);if(w["undeclare-prefixes"])throw new J("Cannot undeclare prefixes with XML 1.0 serializer","SEPM0010");w.indent&&(M=p(w,M));M=f(w,M);M=I(w,M);M=D(w,M);return G(w,M);case "html":return d(w,M);case "text":return c(w),M=new V(w,M),M=f(w,M),M=I(w, -M),G(w,M);case "xhtml":return d(w,M);case "json":return c(w),w.indent?new Z(w,M,aa):new C(w,M,aa);case "adaptive":return new K(w,M,aa);default:return new X(w,M)}}function e(w,M,aa){function ja(ea,va){va=va.trim();if(["yes","true","1"].includes(va))return!0;if(["no","false","0"].includes(va))return!1;throw new J("Value of "+ea+" must be yes(=true, 1) or no(=false, 0)","SEPM0016");}function Y(ea){return function(va,pa){pa=pa.trim();return pa.split(/\s+/).map(function(k){/^Q\{/.test(k)||/:/.test(k)|| -(k="Q{}"+k);return/^Q\{/.test(k)?k:m.QName.fromString(k,ea).toEQName()})}}function y(ea){return function(va,pa){pa=pa.trim();if(ea.includes(pa))return pa;throw new J("Value of "+va+"("+pa+"): must be one of "+ea.join("|"),"SEPM0016");}}function da(ea){return function(va,pa){if(ea.test(pa))return pa;throw new J("Invalid value for "+va+": must match the pattern "+ea,"SEPM0016");}}function W(ea,va){return va}function ka(ea,va){va=va.trim();if(/[0-9]+/.test(va))return 1*va;throw new J("Value of "+ea+ -" must be an integer (Actual value is "+Aa.showValue(va)+")","SEPM0016");}aa={"allow-duplicate-names":ja,"build-tree":ja,"byte-order-mark":ja,"cdata-section-elements":Y(aa),"doctype-public":da(/[\sa-zA-Z0-9\-'()+,.:=?;!*#@$_%\/]*/),"doctype-system":da(/[^']*|[^"]*/),encoding:da(/[\x21-\x7e]+/),"escape-uri-attributes":ja,"html-version":function(ea,va){if(/[0-9]+(\.[0-9]+)?/.test(va))return 1*va;throw new J("Value of "+ea+" must be a decimal number","SEPM0016");},"include-content-type":ja,indent:ja, -"item-separator":W,"json-node-output-method":y(["xml","xhtml","html","text"]),"media-type":W,method:function(ea,va){return function(pa,k){k=k.trim();!/^Q\{/.test(k)&&/:/.test(k)&&(k=m.QName.fromString(k,va).toEQName());if(ea.includes(k))return k;throw new J("Value of "+pa+"("+k+"): must be one of "+ea.join("|"),"SEPM0016");}}("xml xhtml html text json adaptive Q{http://saxonica.com/ns/interactiveXSLT}append-content Q{http://saxonica.com/ns/interactiveXSLT}replace-content".split(" "),aa),"normalization-form":y("NFC NFD NFKC NFKD fully-normalized none".split(" ")), -"omit-xml-declaration":ja,standalone:function(ea,va){return"omit"===va.trim()?null:ja(ea,va)},"suppress-indentation":Y(aa),"undeclare-prefixes":ja,"use-character-maps":Y(aa),version:W,"Q{http://saxon.sf.net/}indent-spaces":ka,"Q{http://saxon.sf.net/}line-length":ka,"Q{http://saxon.sf.net/}stylesheet-version":ka};/^\{/.test(w)&&(w="Q"+w);if("string"!==typeof M)throw new J("Value of "+w+" must be supplied as a string","SEPM0016");if(aa[w])return aa[w](w,M);if(!/^Q\{/.test(w))throw new J("Unknown serialization parameter "+ -w,"SEPM0017");}function l(w,M,aa){function ja(W,ka,ea){if(!Array.isArray(ka))throw new J("Value of "+W+" must be an array","SEPM0016");return(ea||[]).concat(ka)}function Y(W,ka){if("boolean"!==typeof ka)throw new J("Value of "+W+" must be boolean","SEPM0016");return ka}function y(W,ka){if("number"!==typeof ka)throw new J("Value of "+W+" must be an integer (actual value is "+Aa.showValue(ka)+")","SEPM0016");return ka}const da={"allow-duplicate-names":Y,"build-tree":Y,"byte-order-mark":Y,"cdata-section-elements":ja, -"escape-uri-attributes":Y,"html-version":function(W,ka){if("number"!==typeof ka)throw new J("Value of "+W+" must be a decimal number","SEPM0016");return ka},"include-content-type":Y,indent:Y,"omit-xml-declaration":Y,standalone:function(W,ka){return null===ka?null:Y(W,ka)},"suppress-indentation":ja,"undeclare-prefixes":Y,"use-character-maps":function(W,ka,ea){ea&&Array.isArray(ea)&&Aa.fa("Problem with existing character map supplied to overrideParam");if("object"!==typeof ka)throw new J("Value of "+ -W+" must be an object","SEPM0016");if(void 0===ka.oa)throw new J("Value of "+W+" must be a character map object","SEPM0016");(W=ea)?z(W,ka):W=ka;return W},"Q{http://saxon.sf.net/}indent-spaces":y,"Q{http://saxon.sf.net/}line-length":y,"Q{http://saxon.sf.net/}stylesheet-version":y};/^{/.test(w)&&(w="Q"+w);return da[w]?da[w](w,M,aa):e(w,M.toString())}function z(w,M){M.minw.max&&(w.max=M.max);for(let aa in M.oa)M.oa.hasOwnProperty(aa)&&(w.oa[aa]=M.oa[aa])}function v(w,M){let aa= -{};w.forEach(function(ja,Y){let y=M.Eh[ja];if(!y)throw new J("Unknown character map "+ja,"SEPM0016");0===Y?aa=y:z(aa,y)});return aa}function G(w,M){return w["item-separator"]&&"#absent"!==w["item-separator"]?new he(M,w["item-separator"]):new fe(M)}function p(w,M){const aa=w["Q{http://saxon.sf.net/}indent-spaces"],ja=w["suppress-indentation"];return Vd("xml"===w.method?new ma(aa,ja):new E(aa,ja),M)}function f(w,M){w["normalization-form"]&&"none"!==w["normalization-form"]&&(M=Vd(new na(w["normalization-form"]), -M));return M}function I(w,M){w["use-character-maps"]&&(M=Vd(new O(w["use-character-maps"]),M));return M}function D(w,M){w["cdata-section-elements"]&&(M=Vd(new ca(w["cdata-section-elements"],w.encoding||"UTF-8",w["normalization-form"]&&"none"!==w["normalization-form"]?w["normalization-form"]:null),M));return M}function r(w,M){return void 0===w[M]||w[M]}function c(w){if(w.encoding&&!["UTF-8","UTF-16","ISO-646","ISO-8859-1","US-ASCII"].includes(w.encoding.toUpperCase()))throw new J("Serializer does not support the requested encoding: "+ -w.encoding,"SESU0007");}function d(w,M){var aa="xhtml"===w.method;M=aa?new L(w,M):new x(w,M);if(aa&&w.version&&"1.0"!==w.version)throw new J("Serializer does not support the requested XML version: "+w.version,"SESU0013");if((aa=aa?w["html-version"]:w["html-version"]||w.version)&&5!==1*aa)throw new J("Serializer does not support the requested HTML version: "+aa,"SESU0013");c(w);r(w,"indent")&&(M=p(w,M));M=f(w,M);M=I(w,M);M=D(w,M);M=Vd(new B,M);r(w,"escape-uri-attributes")&&(M=Vd(new H,M));r(w,"include-content-type")&& -(M=Vd(new S(w),M));return G(w,M)}function n(w,M,aa,ja=null){function Y(ka,ea){switch(ka.nodeType){case 9:case 11:ea.startDoc(W);ka=ka.childNodes;for(var va=0;va{y(va,ea)}):fc.Q(ka)?Y(ka,ea):ea.append(ka, -W)}let da;aa||(da="",aa={write:function(ka){da+=ka}});aa.write||Aa.fa("writer supplied to Serialize.serialize() is not a writeable stream");M||={};M=g(M,aa,ja);let W={};w&&y(w,M);M.close();return da}const m=Sa.XS;class u extends Ud{constructor(w,M){super();this.b=M||null;this.Aa=w}close(){this.b.R&&!this.b.isTTY&&this.b.R()}}class Q extends u{constructor(w,M){super(w,M);this.g=this.l=this.na=this.O=this.Ra=!1;this.Ea=[];this.x=[];this.qd=0;this.encoding=w.encoding||"UTF-8"}startDoc(){}endDoc(){}close(){this.l|| -this.z();super.close()}startElement(w,M,aa){function ja(y){throw new J("When "+y+" is specified, there must only be one top-level element node","SEPM0004");}this.l||(this.z(),this.qa(w),this.O&&!this.na&&!0===this.Aa.indent&&this.b.write("\n"),this.l=!0);0===this.x.length&&(0"),this.g=!1):this.b.write("")}text(w,M={}){this.l||this.z();this.g&&this.U();this.b.write(M.DISABLE_ESCAPING?this.encode(w,!1):this.encode(a(w,!1,!1),!0))}comment(w){this.l||this.z();this.g&&this.U();this.b.write("\x3c!--"+this.encode(w,!1)+"--\x3e")}pi(w,M){this.l||this.z();this.g&&this.U();this.b.write("")}append(w,M={}){this.text(w.toString(),M)}z(){this.Ra||this.eg()}U(){this.b.write(">");this.g=!1}$i(w,M){let aa=[];for(let ja in w)if(M[ja]!==w[ja]){let Y="";"xml"!==ja&&(Y=""===ja?' xmlns="'+a(w[ja],!0,!1)+'"':" xmlns:"+ja+'="'+a(w[ja],!0,!1)+'"');""!==Y&&aa.push(Y)}aa.sort();aa.forEach(ja=>this.b.write(ja))}Zd(w,M){if(M){const aa=this;M.forEach((ja,Y)=>{aa.Yd(Y,ja)})}}Yd(w,M){const aa=!0===M.Wa.USE_NULL_MARKERS;M=M.Wa.DISABLE_ESCAPING? -this.encode(M.value,!1):this.encode(a(M.value,!0,aa),!0);this.b.write(" "+this.encode(w.toString(),!1)+'="'+M+'"')}eg(){var w=this.encoding.toUpperCase();this.Aa["byte-order-mark"]&&"UTF-8"===w&&this.b.write("\ufeff");this.Ra=!0;w=!0===this.Aa["omit-xml-declaration"]&&"UTF-8"===w;this.O=!w;let M=this.Aa.standalone;if(w&&void 0!==M&&null!==M)throw new J("Serializer values of 'standalone' and 'omit-xml-declaration' conflict","SEPM0009");w||this.b.write('")}qa(w){let M=this.Aa["doctype-system"]||null,aa=this.Aa["doctype-public"]||null;null!==M&&(this.O&&this.b.write("\n"),this.b.write("\n"):this.b.write(' PUBLIC "'+this.encode(aa,!1)+'" '+this.encode(w,!1)+">\n"),this.na=!0)}encode(w,M){function aa(Y){if(M)return"&#"+Y+";";throw new J("Character "+ -String.fromCodePoint(Y)+" (decimal "+Y+") is not available in the chosen encoding","SERE0008");}const ja=this.encoding;return function(Y){let y="";var da=0;const W=Y.length;if(0===W)return"";for(;daka)break;else if(127>ka)ea++;else if(160>ka||8232===ka||55296<=ka&&56320>=ka||!b(ka,ja))break;else ea++}if(ea>=W)return 0===da?Y:y+Y.substring(da,ea);ea>da&&(y+=Y.substring(da,ea));ka=Y.charCodeAt(ea);da=Y.charAt(ea); -if(0===ka)throw new J("Null marker","ZZZZ9999");160>ka||8232===ka?y+=M?aa(ka):da:55296<=ka&&56320>=ka?(ka=Y.codePointAt(ea++),y+=b(ka,ja)?da+Y.charAt(ea):aa(ka)):b(ka,ja)||(y+=aa(ka));da=++ea;if(da>=W)return y}}(w)}}class ma extends Wd{constructor(w,M){super();this.x=0;this.Zd=w||3;this.Ea="\n ";this.l=this.z=this.O=!1;this.Ra=M||null;this.g=-1;this.qa=null;this.ub={}}startElement(w,M,aa,ja={}){this.z||this.l?this.ia():this.U();if(0>this.g){let Y=M.get(m.QName.fromParts("","http://www.w3.org/XML/1998/namespace", -"space"));Y&&"preserve"===Y.value&&(this.g=this.x)}this.x++;this.Ra&&-1===this.g&&0<=this.Ra.indexOf(w.toEQName())&&(this.g=this.x);this.b.startElement(w,M,aa,ja);this.z=this.O=!0;this.l=!1}endElement(){this.x--;this.l&&!this.O?this.ia():this.z&&!this.l?this.qa=null:this.U();this.b.endElement();this.O=!1;this.l=!0;this.z=!1;this.x===this.g-1&&(this.g=-1)}text(w,M={}){const aa=!this.O||0<=w.indexOf("\n");0>this.g&&""===Ma.trim(w)&&aa?(this.qa=w,this.ub=M):(this.U(),0<=w.indexOf("\n")&&(this.O=!1), -this.b.text(w,M),this.l=this.z=!1)}comment(w,M={}){this.l?this.ia():this.U();this.b.comment(w,M);this.l=this.z=!1}pi(w,M,aa={}){this.l?this.ia():this.U();this.b.pi(w,M,aa);this.l=this.z=!1}ia(){0<=this.g?this.U():this.Ue()}Ue(){this.qa=null;let w=this.x*this.Zd;if(w+1>this.Ea.length){let M=5*this.Zd;w+1>this.Ea.length+M&&(M+=w+1);for(let aa=0;aa=da.min&&y<=da.max){ja=!1;break}}if(ja)W=w;else for(ja=0;ja=y;ka&&(y=w.codePointAt(ja));da.oa[y]?(aa||(""!==W&&(this.b.text(W,M),W=""), -aa=!0),W+=da.oa[y],ka&&ja++):(aa&&(aa=Object.assign({},M),aa.DISABLE_ESCAPING=!0,aa.NO_NORMALIZATION=!0,this.b.text(W,aa),W="",aa=!1),W+=Y)}aa?(w=Object.assign({},M),w.DISABLE_ESCAPING=!0,w.NO_NORMALIZATION=!0,this.b.text(W,w)):this.b.text(W,M)}}}class ca extends Wd{constructor(w,M,aa){super();this.ia=w||null;this.encoding=M;this.U=aa;this.x=[];this.g="";this.z={};if("fully-normalized"===aa)throw new J("Serializer does not support the requested normalization-form: fully-normalized","SESU0011");}startElement(w, -M,aa,ja={}){this.l();this.x.push(w.toEQName());this.b.startElement(w,M,aa,ja)}endElement(){this.l();this.x.pop();this.b.endElement()}text(w,M={}){0<=this.ia.indexOf(0===this.x.length?null:this.x[this.x.length-1])?M.DISABLE_ESCAPING?(this.l(),this.b.text(w,M)):(this.g+=w,this.z=M):this.b.text(w,M)}comment(w,M={}){this.l();this.b.comment(w,M)}pi(w,M,aa={}){this.l();this.b.pi(w,M,aa)}l(){if(""!==this.g){const M=this.U?this.g.normalize(this.U):this.g,aa=M.length;for(var w=0;ww&&this.O(M.substring(w,ja));ja"),this.g=!1);this.Te.includes(w.local.toLowerCase())&&A(w)||this.b.write("")}text(w,M={}){0"))throw new J("A processing instruction in HTML must not contain a > character","SERE0015");this.b.write("")}z(){this.Ra||(this.Aa["byte-order-mark"]&&"UTF-8"=== -this.Aa.encoding&&this.b.write("\ufeff"),this.Ra=!0)}Zd(w,M){if(M){const aa=this;M.forEach((ja,Y)=>{w.hasURI("")&&this.Ue(w,Y,ja.value)?aa.b.write(" "+Y.toString()):aa.Yd(Y,ja)})}}qa(w){let M=this.Aa["doctype-system"]||null,aa=this.Aa["doctype-public"]||null;null===M&&null===aa?A(w)&&"html"===w.local.toLowerCase()&&(this.O&&this.b.write("\n"),this.b.write("\n"),this.na=!0):null===M?(w=A(w)&&"html"===w.local.toLowerCase()?w.toString():"html",this.O&&this.b.write("\n"),this.b.write("\n'),this.na=!0):super.qa("html"===w.local.toLowerCase()?w:m.QName.fromParts("","","html"))}Ue(w,M,aa){M=M.local.toLowerCase();w=w.local.toLowerCase();return M===aa.toLowerCase()&&(this.ub[w]&&this.ub[w].includes(M)||this.ub["*"].includes(M))}}class E extends ma{constructor(w,M){super(w,M);this.eg="pre script style textarea title xmp".split(" ");this.Te="a abbr acronym applet area audio b basefont bdi bdo big br button canvas cite code data datalist del dfn em embed font i iframe img input ins kbd label map mark math meter noscript object output picture progress q ruby s samp script select small span strike strong sub sup svg template textarea time tt u var video wbr".split(" "); -this.na=this.qd=!1;this.Yd=[]}startElement(w,M,aa,ja={}){this.qd=this.Te.includes(w.local.toLowerCase())&&A(w);this.z||this.l?this.ia():this.U();this.x++;0>this.g&&this.eg.includes(w.local.toLowerCase())&&A(w)&&(this.g=this.x);this.Ra&&-1===this.g&&0<=this.Ra.indexOf(w.toEQName())&&(this.g=this.x);this.b.startElement(w,M,aa,ja);this.z=this.O=!0;this.qd=this.na=this.l=!1;this.Yd.push(w)}endElement(){let w=this.Yd.pop();this.x--;this.l&&!this.O?this.ia():this.U();this.b.endElement();this.O=!1;this.l= -!0;this.z=!1;this.na=this.Te.includes(w.local.toLowerCase())&&A(w);this.x===this.g-1&&(this.g=-1)}text(w,M={}){super.text(w,M);0>this.g&&""===Ma.trim(w)||(this.na=!1)}comment(w,M={}){super.comment(w,M);this.na=!1}pi(w,M,aa={}){super.pi(w,M,aa);this.na=!1}ia(){0<=this.g||this.qd||this.na?this.U():this.Ue()}}class B extends Wd{startElement(w,M,aa,ja={}){for(let Y in aa)P(aa[Y])&&delete aa[Y];P(w.q)&&(""!==w.prefix&&(w=m.QName.fromParts("",w.q,w.local)),aa[""]=w.q);M.forEach((Y,y)=>{P(y.q)&&(aa[y.prefix]= -y.q)});super.startElement(w,M,aa,ja)}}class L extends Q{constructor(w,M){super(w,M);this.ia="area base br col embed hr img input link meta param source track wbr".split(" ")}endElement(){this.x.pop();let w=this.Ea.pop();this.g&&this.ia.includes(w.local)&&A(w)?(this.b.write(" />"),this.g=!1):(this.g&&super.U(),this.b.write(""))}text(w,M={}){(this.l||""!==Ma.trim(w))&&super.text(w,M)}qa(w){let M=this.Aa["doctype-system"]||null;null===M&&A(w)&&"html"===w.local.toLowerCase()?(this.O&& -this.b.write("\n"),this.b.write("\n"),this.na=!0):null!==M&&super.qa(w)}}class H extends Wd{startElement(w,M,aa,ja){let Y=!1;M.forEach((y,da)=>Y=Y||q(w,da));if(Y){const y=new je;M.forEach((da,W)=>{if(q(w,W)){const ka=ld.escape(da.value.normalize("NFC"),ea=>32>ea||126=Y||127<=Y&&159>=Y||!b(Y,M)?aa+("\\u"+("0000"+Y.toString(16).toUpperCase()).slice(-4)):aa+y}}return aa}na(w){let M='"';if(this.oa){const y=this.oa;let da="",W=!1;var aa=!0;for(var ja= -0;ja=y.min&&Y<=y.max){aa=!1;break}}if(aa)da=w;else for(aa=0;aa=Y;ka&&(Y=w.codePointAt(aa));y.oa[Y]?(W||(""!==da&&(M+=this.Ea(da),da=""),W=!0),da+=y.oa[Y],ka&&aa++):(W&&(M+=da,da="",W=!1),da+=ja)}M=W?M+da:M+this.Ea(da)}else M+=this.Ea(w);return M+'"'}ub(w){function M(Y){switch(Y.length){case 0:ja.b.write("null");break;case 1:aa(Y[0]);break;default:throw new J("Cannot output a sequence of length "+ -Y.length+" as JSON","SERE0023");}}function aa(Y){var y=Sa.XS;if(Sa.ka(Y))if(y.boolean.matches(Y))ja.b.write(Y.toString());else if(y.numeric.matches(Y)){Y=Y.toString();if(["NaN","INF","-INF"].includes(Y))throw new J("Cannot output INF or NaN as JSON","SERE0020");ja.b.write(Y)}else ja.b.write(ja.na(Y.toString()));else if(fc.Q(Y)){y=Object.assign({},ja.x);y.method=y["json-node-output-method"]||"xml";y["item-separator"]=null;y["omit-xml-declaration"]=!0;y.encoding="UTF-8";const da=new ha;n(Y,y,da,ja.ia); -ja.b.write(ja.na(da.toString()))}else if(ld.isArray(Y))if(Y=Y.value,0===Y.length)ja.b.write("[]");else{ja.O("[");M(Y[0]);for(y=1;y{da?da=!1:ja.U();const ea=ja.na(ka.k.toString());if(!ja.x["allow-duplicate-names"]){if(W[ea])throw new J("Duplicate key '"+ea+"' in serialized JSON map","SERE0022");W[ea]=!0}ja.b.write(ea);ja.Ra();M(ka.v)});ja.z("}")}else throw new J("Cannot output "+Aa.showValue(Y)+ -" as JSON","SERE0021");}const ja=this;M(w)}O(w){this.b.write(w)}z(w){this.b.write(w)}U(){this.b.write(",")}Ra(){this.b.write(":")}}class Z extends C{constructor(w,M,aa){super(w,M,aa);this.g=0;this.qa=w["Q{http://saxon.sf.net/}indent-spaces"]||3}O(w){super.O(w);this.g++;this.b.write("\n".padEnd(this.g*this.qa+1," "))}z(w){this.g--;this.b.write("\n".padEnd(this.g*this.qa+1," "));super.z(w)}U(){super.U();this.b.write("\n".padEnd(this.g*this.qa+1," "))}Ra(){this.b.write(": ")}}class K extends Yd{constructor(w, -M,aa){super(aa);this.x=w;this.b=M;this.ia=aa;this.oa=w["use-character-maps"]||null}close(){function w(W,ka){for(let ea in["fn","math","map","array","xs"])if(dc.withPrefix[ea]===W)return ea+":"+ka;return"Q{"+W+"}"+ka}function M(W){return Y.oa?h(Y.oa,!1)(W):W}function aa(W,ka){if(1===W.length)ja(W[0],ka);else{ka.write("(");let ea=!0;for(let va=0;va{pa?pa=!1:ka.write(",");ja(k.k,ka);ka.write(":");aa(k.v,ka)});ka.write("}")}else W instanceof jd.XdmFunction?W.local?ka.write(w(W.q,W.local)+"#"+W.arity):ka.write("(anonymous function)#"+W.arity):ka.write("JS: "+Aa.showValue(W))} -const Y=this;let y=this.jd(),da=!0;for(let W=0;Wda(this.b));this.x=!0;this.g=[]}super.startElement(w,M,aa,ja)}text(w,M={}){this.x?super.text(w,M):this.g.push(function(aa){aa.text(w,M)})}comment(w,M={}){this.x?super.comment(w,M):this.g.push(function(aa){aa.comment(w,M)})}pi(w,M,aa={}){this.x?super.pi(w,M,aa):this.g.push(function(ja){ja.pi(w, -M,aa)})}append(w,M={}){this.x?super.append(w,M):this.g.push(function(aa){aa.append(w,M)})}endDoc(){this.x?super.endDoc():this.g.push(function(w){w.endDoc()})}close(){this.x||(this.l.method="xml",this.b=g(this.l,this.z),this.g.forEach(w=>w(this.b)));super.close()}}class V extends u{constructor(w,M){super(w,M);this.g=!1}text(w){this.g||this.l();this.b.write(w)}append(w){this.g||this.l();this.b.write(w.toString())}l(){this.Aa["byte-order-mark"]&&"UTF-8"===this.Aa.encoding&&this.b.write("\ufeff");this.g= -!0}}class ha{constructor(){this.ha=""}write(w){this.ha+=w}toString(){return this.ha}}return{serialize:n,gi:g,StringWriter:ha,parseParamDoc:function(w,M,aa=null){function ja(W,ka="SEPM0017"){throw new J("Serialization params: "+W,ka);}function Y(W,ka=[]){const ea=fc.X(W);fc.va.attribute(W).forEachItem(function(va){va=fc.X(va);""!==va.q||ka.includes(va.local)||ja("attribute @"+va.local+" must not appear on element "+ea.toString())})}function y(W,ka){let ea=fc.getAttribute(W,ka,null);null===ea&&ja("attribute @"+ -ka+" is missing on element "+fc.X(W).toString());return ea}"serialization-parameters"!==fc.X(w).local&&ja("root element name must be 'serialization-parameters'",aa||"SEPM0017");"http://www.w3.org/2010/xslt-xquery-serialization"!==fc.X(w).q&&ja("root element namespace must be http://www.w3.org/2010/xslt-xquery-serialization",aa||"SEPM0017");Y(w);let da=[];fc.wc(w).forEach(function(W){if(fc.hasURI(W,"http://www.w3.org/2010/xslt-xquery-serialization")){var ka=fc.X(W).local;let ea;da.includes(ka)&&ja("duplicated parameter "+ -ka,"SEPM0019");da.push(ka);"use-character-maps"===ka?(Y(W),ea={min:0,max:0,oa:{}},fc.wc(W).forEach(function(va){if(fc.hasURI(va,"http://www.w3.org/2010/xslt-xquery-serialization")&&"character-map"===fc.X(va).local){Y(va,["character","map-string"]);const pa=y(va,"character");1ea.max&&(ea.max=k))}else ja("invalid child of use-character-maps: "+fc.X(va).toString())}),55296ja&&(ja=W);55296"0"+Q.codePointAt(0))}const n=fc.va;c=n.Ka(c).expand().reverse();let m="";for(let u=0;um};return function(m,u,Q){let ma=m[0];u.fixed.evaluator.qb(Q,"i")&&(ma=ma.filter(function(X){return!Nd.itemIsNaN(X)}));m=Nd.Kb(Q,m[1],"compare",u);const na=Nd.cmpFn(m), -O=D.untypedAtomic.matches,ca=D.numeric.matches,x=D.double.matches,E=D.float.matches,B=D.anyURI.matches,L=D.string.matches;m=D.duration.matches;const H=D.yearMonthDuration.matches,S=D.dayTimeDuration.matches;u=D.QName.matches;const C=D.double.I,Z=D.float.I,K=D.string.I;ma=ma.mapOneToOne(function(X){return O(X)?C(X):X});Q=ma.next();if(null===Q)return Tb;u(Q)&&d(c+"() not defined over QName");!m(Q)||H(Q)||S(Q)||d(c+"() not defined over mixed durations");return Ub(q(ma,Q,function(X,V){(L(X)&&ca(V)||L(V)&& -ca(X))&&d("Cannot compare string with numeric");(H(X)&&!H(V)||S(X)&&!S(V))&&d("Cannot compare mixed durations");if(Nd.itemIsNaN(V))return x(X)?C(V):V;if(Nd.itemIsNaN(X))return x(V)?C(X):X;x(V)&&!L(X)?X=C(X):x(X)&&!L(V)?V=C(V):E(V)&&!L(X)?X=Z(X):E(X)&&!L(V)&&(V=Z(V));B(V)&&L(X)?V=K(V):B(X)&&L(V)&&(X=K(X));try{return n(na(X,V))?X:V}catch(ha){throw ha instanceof J&&"XPTY0004"===ha.code&&(ha.code="FORG0006"),ha;}}))}}function e(c,d){if(2!==d.length&&5!==d.length)throw new J("Wrong number of arguments ("+ -d.length+") for "+c,"XPST0017");}function l(c,d){c=c[0].next();if(null===c)return Tb;if("timezone"===d)return null===c.ta?Tb:Ub(D.dayTimeDuration.Yh(c.ta));if("seconds"===d)return d=gb(c),ac(d.getUTCSeconds()+d.getUTCMilliseconds()/1E3);c=gb(c)[d]();"getUTCMonth"===d&&c++;return Zb(c)}function z(c,d){c=c[0].next();return null===c?Tb:5!==d?Zb(qb(c)[d]*rb(c)):ac(qb(c)[d]*rb(c))}function v(c,d,n){function m(ma,na){return Ub(Sa.codes[d].fromDate(ma,na))}const u=c[0].next();if(!u)return Tb;n=n.fixed.zb.getTimezoneOffset(); -if(c[1]){var Q=c[1].next();c=null!==Q?Q.Ca/6E4:null;if(null!==c&&(-840>c||840{u=Q.evaluate(m?[u,[ma]]:[[ma],u],d,n).expand()});return Pb(u)}let p=null,f=null;const I=fc,D=Sa.XS,r=I.va;return{abs:function(c){c=c[0].next();return null===c?Tb:Ub(c.abs())},"accumulator-after":function(c,d,n){c=a(c[0],d,n,"XTDE3340");return Pb(Rd.dj(n,c,d.getCurrentFocus(),d))},"accumulator-before":function(c,d,n){c=a(c[0],d,n,"XTDE3340");return Pb(Rd.ej(n,c,d.getCurrentFocus(),d))},"adjust-date-to-timezone":function(c,d){return v(c,"AA",d)},"adjust-dateTime-to-timezone":function(c, -d){return v(c,"AM",d)},"adjust-time-to-timezone":function(c,d){return v(c,"AT",d)},"analyze-string":function(c,d){const n=b(c[0]);var m=d.resultDocument.createDocumentFragment();const u=dc.za,Q=d.resultDocument.createElementNS(u,"analyze-string-result");m.appendChild(Q);if(""===n)return Ub(Q);m=c[1].next().toString();c=c[2]?c[2].next().toString():"";ee.kg(n,m,c,!1,!1).forEach(function(ma){let na;if(ma.Ac){let ca;ma=ma.groups;na=d.resultDocument.createElementNS(u,"match");var O=0;for(let x=1;xO&&(O=d.resultDocument.createTextNode(ma[0].substring(O,ca)),na.appendChild(O));O=d.resultDocument.createElementNS(u,"group");O.setAttribute("nr",x);const E=d.resultDocument.createTextNode(ma[x]);O.appendChild(E);na.appendChild(O);O=ca+ma[x].length}Oee.vf(Q,d,u,n,!0,!0));u.close();return m.iter()},count:function(c){return Zb(c[0].count())},"current-date":function(c,d){return Ub(D.Oc.fromDate(d.fixed.zb,-d.fixed.zb.getTimezoneOffset()))},"current-dateTime":function(c,d){return Ub(D.vd.fromDate(d.fixed.zb,-d.fixed.zb.getTimezoneOffset()))},"current-group":function(){throw new J("The current-group() function cannot be invoked dynamicaly","XTDE1061");}, -"current-grouping-key":function(){throw new J("The current-grouping-key() function cannot be invoked dynamicaly","XTDE1071");},"current-merge-group":function(c,d){if(null===d.currentMergeGroup)throw new J("There is no current merge group","XTDE3480");if(c[0]){c=c[0].next().value;if(d=d.currentMergeGroup.groups[c])return Pb(d);throw new J("Unknown merge source "+c,"XTDE3490");}return Pb(d.currentMergeGroup.Ig)},"current-merge-key":function(c,d){if(null===d.currentMergeGroup)throw new J("There is no current merge group", -"XTDE3510");return Pb(d.currentMergeGroup.keys)},"current-output-uri":function(c,d){c=d.getCurrentOutputURI();return null==c||"function"===d.tempOutputState?Tb:Ub(c)},"current-time":function(c,d){return Ub(D.Bf.fromDate(d.fixed.zb,-d.fixed.zb.getTimezoneOffset()))},data:function(c,d){return c[0].mapOneToMany(d.fixed.evaluator.atomize)},dateTime:function(c){const d=c[0].next();c=c[1].next();if(null===d||null===c)return Tb;let n="";if(null!==d.ta)if(null===c.ta)n=jb(d);else if(d.ta!==c.ta)throw new J("timezones are incompatible ", -"FORG0008");return Ub(D.dateTime.fromString(d.toString().substring(0,10)+"T"+c.toString()+n))},"day-from-date":function(c){return l(c,"getUTCDate")},"day-from-dateTime":function(c){return l(c,"getUTCDate")},"days-from-duration":function(c){return z(c,2)},"deep-equal":function(c,d,n){d=Nd.Kb(n,c[2],"equals",d);return bc(Ld(c[0],c[1],d))},"default-collation":function(){return Yb(Nd.Nc)},"default-language":function(){return Ub(D.Xb.fromString("en"))},"distinct-values":function(c,d,n){d=Nd.jf(n,c[1], -d);const m=Nd.Ef(d);return c[0].filter(function(u){if(m.containsKey(u))return!1;m.inSituPut(u,!0);return!0})},doc:function(c,d,n){c=Td.yh(c,d,n);if(null===c)return Ub(null);try{let m=Td.uc(c,d);const u=d.fixed.Ae;u&&(m=u(m));return Ub(m)}catch(m){throw m;}},"doc-available":function(c,d,n){const m=Td.yh(c,d,n);return null===m?bc(!1):Td.Fi(function(){Td.uc(m,d)})},document:function(c,d,n){const m=d.fixed.evaluator;let u,Q;if(c[1]&&(u=I.Za(c[1].next()),!u))throw new J("No base URI available for second argument of document()", -"XTDE1162");u||(Q=m.staticBaseUri(n,d));const ma=d.fixed.Ae;return I.Vc(c[0].mapOneToMany(function(na){const O=u?u:I.Q(na)?I.Za(na):Q;return m.atomize(na).mapOneToOne(function(ca){if(null===O)throw new J("No base URI for document('"+ca+"')","XTDE1162");ca=Td.uc(ya.resolveUri(ca.toString(),O),d);null!==ma&&(ca=ma(ca));return ca})}))},"document-uri":function(c){c=c[0].next();return null!==c&&9===c.nodeType&&c._saxonDocUri?Ub(D.anyURI.fromString(c._saxonDocUri)):Tb},"element-available":function(c,d, -n){c=a(c[0],d,n,"XTDE1440","##local").split("}");if(d="http://www.w3.org/1999/XSL/Transform"===c[0].substring(2))null==f&&(f=ya.resource("elements")),f[c[1]]||(d=!1);return bc(d)},"element-with-id":function(c,d){return A(c,d,"element-with-id")},empty:function(c){return bc(null===c[0].next())},"encode-for-uri":function(c){c=encodeURIComponent(b(c[0])).replace(/[!'()*]/g,function(d){return"%"+d.charCodeAt(0).toString(16).toUpperCase()});return Yb(c)},"ends-with":function(c,d,n){const m=b(c[0]),u=b(c[1]); -c=Nd.Kb(n,c[2],"endsWith",d);return bc(c(m,u))},"environment-variable":function(){return Tb},error:function(c){if(void 0===c[0])throw new J("fn:error() invoked","FOER0000");var d=c[0].next();d=d?d.toEQName():"FOER0000";const n=c[1]?b(c[1]):"";d=new J(n,d);c[2]&&(d.errorObject=c[2].next());throw d;},"escape-html-uri":function(c){return Yb(ld.escape(b(c[0]),function(d){return 32>d||126Pb(u.get(m.atomize(Q).next())));if(u instanceof id)return c[0].mapOneToMany(function(Q){Q=m.atomize(Q).next();Q=D.numeric.matches(Q)? -Q.toNumber():D.double.I(Q).toNumber();return Pb(u.get(Q))});Aa.fa("for-each() function object not instance of XdmFunction | XdmArray | XdmMap")},"for-each-pair":function(c,d,n){let m=c[2].expand();if(1!==m.length)throw new J("for-each-pair() must have exactly one function item as the third argument. Supplied length "+m.length,"XPTY0004",n);m=m[0];m instanceof jd.XdmFunction||Aa.fa("Function object not instance of XdmFunction");let u=[];const Q=c[0];c=c[1];let ma=Q.next(),na=c.next();for(;ma&&na;)u= -u.concat(m.evaluate([[ma],[na]],d,n).expand()),ma=Q.next(),na=c.next();return Pb(u)},"function-arity":function(c){c=c[0].next();return Ub(D.integer.fromNumber(c instanceof lc||c instanceof id?1:c.arity))},"function-available":function(c,d,n){let m=!1;const u=a(c[0],d,n,"XTDE1400",dc.za),Q=c[1]?c[1].next().toNumber():-1,ma=d.fixed.xa;Object.keys(ma).forEach(function(na){na=ma[na];na.name===u&&na.actor&&"function"===na.actor.N&&(0>Q?m=!0:(na=ld.db(na.actor,"arg").length,Q===na&&(m=!0)))});m||(c=D.QName.fromEQName(u), -null==p&&(p=ya.resource("functions")),m=(d=p[c.q])&&d[c.local]?"concat"===c.local&&c.q===dc.za&&(-1===Q||2<=Q)?!0:0<=Q?0<=d[c.local].indexOf(Q):!0:!1);return bc(m)},"function-lookup":function(c,d,n){const m=c[0].next();c=c[1].next().toNumber();var u=Pd.find("SaxonJS").XPath;const Q=d.newContext(!0);Q.Pa=!0;u=u.getFnSignature(m,c,Q);if(!u)return Tb;d=u.isUserFunction?new jd.Vf(u,d):m.q===dc.ac?new jd.Qf(u,m,n):new jd.Ge(u,m,c,n,d);return Ub(d)},"function-name":function(c){c=c[0].next();if(!(c instanceof -jd.XdmFunction))throw new J("Input to function-name() is not an XdmFunction ","XXXX9999");return c.Wb()&&c.Wb().q!==dc.Zg?Ub(c.Wb()):Tb},"generate-id":function(c){c=c[0].next();return Yb(c?h(c):"")},"has-children":function(c){return bc(null!==r.wa(c[0].next()).next())},head:function(c){return Ub(c[0].next())},"hours-from-dateTime":function(c){return l(c,"getUTCHours")},"hours-from-duration":function(c){return z(c,3)},"hours-from-time":function(c){return l(c,"getUTCHours")},id:function(c,d){return A(c, -d,"id")},idref:function(){return Tb},"implicit-timezone":function(c,d){return Ub(D.dayTimeDuration.Yh(-d.fixed.zb.getTimezoneOffset()))},"index-of":function(c,d,n){const m=Xb(c[0]),u=c[1].next();c=Nd.Kb(n,c[2],"equals",d);const Q=Nd.rj(c);return m.mapOneToOne(function(ma){try{return Q(ma,u)?D.integer.fromNumber(m.position):null}catch(na){return null}})},innermost:function(c,d,n){const m=d.fixed.evaluator.qb(n,"p")?c[0]:I.Vc(c[0]);return new Rb(function*(){let u=null,Q;for(;null!=(Q=m.next());)if(u)if(r.Lc(Q).some(ma=> -ma===u))u=Q;else{const ma=u;u=Q;yield ma}else u=Q;u&&(yield u)}())},"in-scope-prefixes":function(c){c=c[0].next();return Pb(I.inScopeNamespaces(c).map(function(d){return D.string.fromString(d.prefix)}))},"insert-before":function(c){const d=c[1].next().value,n=c[2],m=Xb(c[0]);return 1>d?Vb([n,m]):d>m.last()?Vb([m,n]):m.mapOneToMany(function(u){return m.position===d?Vb([c[2],Ub(u)]):Ub(u)})},"iri-to-uri":function(c){return Yb(ld.escape(b(c[0]),function(d,n){return 32>=d||126"{}|\\^`]/.test(n)}))}, -"json-doc":function(c,d,n){n=Td.Xe(c,d,n);if(!n)return Tb;n=Td.wj(n,d);c=c[1]?c[1].next():null;return Ub(Sd.Gd(n,c,d))},"json-to-xml":function(c,d,n){const m=d.fixed.evaluator;var u=c[0].next();if(null===u)return Tb;c=c[1]?c[1].next():null;u=Sd.mk(u.toString(),c,d);c=d.resultDocument.createDocumentFragment();c.appendChild(u);c._saxonBaseUri=m.staticBaseUri(n,d);return Ub(c)},key:function(c,d,n){function m(V){V=S?D.string.I(V):V;return H.containsKey(V)?(V=Pb(H.get(V)),B===E?V:V.filter(function(ha){return null!== -r.Ka(ha).filter(function(w){return w===E}).next()})):Tb}function u(V){return{visibility:"PRIVATE",La:V,zi:na,actor:V,$e:V.binds.split(" ").map(function(ha){return parseInt(ha,10)})}}const Q=d.fixed.evaluator;var ma=a(c[0],d,n,"XTDE1260");const na=Q.fe(n,d),O=na.keys[ma];if(!O)throw new J("Unknown key "+ma,"XTDE1260");const ca=O.Wg,x=Q.qb(O.Dd[0],"c");let E,B;if(c[2])E=c[2].next(),I.Q(E)&&(B=I.ic(E));else{var L=d.getCurrentFocus();I.Q(L)&&(B=E=I.ic(L))}if(!B||9!==B.nodeType&&11!==B.nodeType)throw new J("No containing document for key()", -"XTDE1270",n);"_saxonIndexes"in B||(B._saxonIndexes={},B._saxonIndexesBC={});n=B._saxonIndexes;let H=n[ca];if("under construction"===H)throw new J("Definition of key "+ma+" is circular","XTDE0640");let S=!1;if(H)S=B._saxonIndexesBC[ca];else{ma=Nd.jf(O.Dd[0],null,d);H=Nd.Ef(ma,x);n[ca]="under construction";ma=function(ha){return Vb([r.xf(ha),r.namespace(ha),r.attribute(ha)])};L=function(ha){return Vb([r.xf(ha),r.attribute(ha)])};const V=function(ha){return Vb([r.xf(ha),r.namespace(ha)])};for(let ha= -0;haH.get(Y).indexOf(y)&&(H.get(Y).push(y),1c.length+1&&d.substring(0,c.length)===c&&"-"===d.charAt(c.length))},last:function(c,d){d.failIfNoCurrentFocus("XPDY0002","last()");return Zb(d.focus.last())},"load-xquery-module":function(){throw new J("No XQuery processor available","FOQM0006");},"local-name":function(c){c= -I.X(c[0].next());return Yb(c?c.local:"")},"local-name-from-QName":function(c){c=c[0].next();return null===c?Tb:Ub(Sa.type.NCName.fromString(c.local))},"lower-case":function(c){return Yb(b(c[0]).toLowerCase())},matches:function(c){const d=b(c[0]);var n=c[1].next().toString();c=Ma.Yg(c[2]?c[2].next().toString():"");n=Ma.prepareRegex(n,c,d);return bc(0<=d.search(n))},max:g("max"),min:g("min"),"minutes-from-dateTime":function(c){return l(c,"getUTCMinutes")},"minutes-from-duration":function(c){return z(c, -4)},"minutes-from-time":function(c){return l(c,"getUTCMinutes")},"month-from-date":function(c){return l(c,"getUTCMonth")},"month-from-dateTime":function(c){return l(c,"getUTCMonth")},"months-from-duration":function(c){return z(c,1)},name:function(c){c=I.X(c[0].next());return Yb(c?c.toString():"")},"namespace-uri":function(c){c=I.X(c[0].next());return Ub(D.anyURI.fromString(c?c.q:""))},"namespace-uri-for-prefix":function(c){var d=b(c[0]);c=c[1].next();d="xml"===d?dc.oc:kc(c,""===d?null:d);return null!== -d?Ub(D.anyURI.fromString(d)):Tb},"namespace-uri-from-QName":function(c){c=c[0].next();return null===c?Tb:Ub(D.anyURI.fromString(c.q))},nilled:function(c){return(c=c[0].next())&&1===c.nodeType?bc(!1):Tb},"node-name":function(c){return Ub(I.X(c[0].next()))},"normalize-space":function(c){c=b(c[0]);return Yb(Da(c))},"normalize-unicode":function(c){if(String.prototype.normalize){const d=b(c[0]);c=c[1]?c[1].next().toString().toUpperCase().trim():"NFC";if(["NFC","NFD","NFKC","NFKD"].includes(c))return Yb(d.normalize(c)); -if(""===c)return Yb(d)}throw new J("normalize-unicode(): not supported on this Javascript platform","FOCH0003");},not:function(c,d){return bc(!d.fixed.evaluator.wd(c[0]))},number:function(c){return Ub(Sa.XS.numeric.Fd(c[0].next()))},"one-or-more":function(c){c=Kb(c[0]);if(null===c.ma())throw new J("Required length >= 1, actual length zero","FORG0004");return c},outermost:function(c,d,n){d=d.fixed.evaluator.qb(n,"p");c=c[0];d||(c=I.Vc(c));let m=null;return c.filter(function(u){if(null===m)return m= -u,!0;if(r.Lc(u).some(Q=>Q===m))return!1;m=u;return!0})},"parse-ietf-date":function(c){return c[0].mapOneToOne(function(d){function n(E){return 1===E.length?"0"+E:E}function m(){throw new J("Invalid IETF date/time "+d.toString(),"FORG0010");}var u=d.toString().trim().toLowerCase();u=u.replace(/^(monday|tuesday|wednesday|thursday|friday|saturday|sunday|mon|tue|wed|thu|fri|sat|sun),?\s+/,"");let Q;let ma,na;if(/^[a-z]/.test(u))if(Q=/^([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?\s+(\d+)$/, -u=Q.exec(u),null!==u){var O=u[1];var ca=u[2];na=u[3];var x=u[4];ma=u[5]}else m();else Q=/^(\d+)(?:\s*-\s*|\s+)([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?$/,u=Q.exec(u),null!==u?(ca=u[1],O=u[2],ma=u[3],na=u[4],x=u[5]):m();2===ma.length&&(ma="19"+ma);O="jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec".indexOf(O||"*");0>O&&m();u={ut:"Z",utc:"Z",gmt:"Z",est:"-05:00",edt:"-04:00",cst:"-06:00",cdt:"-05:00",mst:"-07:00",mdt:"-06:00",pst:"-08:00", -pdt:"-07:00"};/^[0-9]:/.test(na)&&(na="0"+na);5===na.length&&(na+=":00");x&&(x=/([a-z]+)|([+\-]\d\d?:?(?:\d\d)?)(?:\s*\(\s*([a-z]+)\s*\))?$/.exec(x),(!x[3]||x[3]in u)&&(!x[1]||x[1]in u)||m(),x=x[1]?x[1]:x[2],/^[+\-][0-9]((:|$)|[0-9]{2}$)/.test(x)&&(x=x.charAt(0)+"0"+x.substring(1)),x in u?x=u[x]:3===x.length?x+=":00":4===x.length?x+="00":5===x.length&&(x=x.substring(0,3)+":"+x.substring(3)));ca=ma+"-"+n((O/4+1).toString())+"-"+n(ca)+"T"+na+(x||"Z");try{return D.dateTime.fromString(ca)}catch(E){throw new J("''"+ -d.toString()+"'' is not a valid IETF date","FORG0010");}})},"parse-json":function(c,d){const n=c[0].next();if(null===n)return Tb;c=c[1]?c[1].next():null;return Ub(Sd.Gd(n.toString(),c,d))},"parse-xml":function(c,d,n){c=c[0].next();if(null===c)return Tb;const m=d.fixed.evaluator;try{const u=ya.parseXmlFromString(c.toString());u._saxonBaseUri=m.staticBaseUri(n,d);return Ub(u)}catch(u){throw new J(u.message,"FODC0006");}},"parse-xml-fragment":function(c,d,n){const m=d.fixed.evaluator;return c[0].mapOneToOne(function(u){const Q= -/^<\?xml(?:\s+version\s*=\s*(['"])1.[0-9]+['"])?\s+encoding\s*=\s*(['"][A-Za-z](?:[A-Za-z0-9._\-])*)['"]\s*\?>/;u=u.toString();if(/^<\?xml/.test(u)&&!Q.test(u))throw new J("Invalid XML header for a text declaration","FODC0006");u=u.replace(Q,"");let ma;try{ma=ya.parseXmlFromString(""+u+"")}catch(O){throw new J(O.message,"FODC0006");}const na=d.resultDocument.createDocumentFragment();r.wa(ma.documentElement).forEachItem(function(O){na.appendChild(O)});na._saxonBaseUri=m.staticBaseUri(n,d);return na})}, -path:function(c){return c[0].mapOneToOne(function(d){function n(m){return r.Dc(m).filter(function(u){return m.nodeType===u.nodeType})}return D.string.fromString(function(m){if([9,11].includes(m.nodeType))return"/";let u="",Q=m;for(;Q;){m=I.Oa(Q);if(!m)return[9,11].includes(Q.nodeType)?u:"Q{http://www.w3.org/2005/xpath-functions}root()"+u;switch(Q.nodeType){case 9:case 11:return u;case 1:const ma=I.X(Q);u=`/${ma.toEQName()}[${1+n(Q).filter(na=>I.X(na).equals(ma)).count()}]${u}`;break;case 3:case 4:u= -`/text()[${1+n(Q).count()}]`;break;case 8:u=`/comment()[${1+n(Q).count()}]`;break;case 7:u=`/processing-instruction(${Q.target})[${1+n(Q).filter(na=>Q.target===na.target).count()}]`;break;case 2:u=`/@${0>Q.name.indexOf(":")?Q.name:I.X(Q).toEQName()}`;break;default:u=`/namespace::${""!==Q.prefix?Q.prefix:"*[Q{"+dc.za+'}local-name()=""]'}`}Q=m}}(d))})},"prefix-from-QName":function(c){return c[0].mapOneToOne(function(d){return""===d.prefix?null:D.jh.fromString(d.prefix)})},position:function(c,d){d.failIfNoCurrentFocus("XPDY0002", -"position()");return Zb(d.focus.position)},QName:function(c){var d=c[1].next().value;const n=d.split(":"),m=2===n.length?n[0]:"";c=b(c[0]);if(""!==m&&""===c)throw new J("Prefix but no URI for QName()","FOCA0002");if(2===n.length&&""===m||""!==m&&!Ma.isNCName(m))throw new J(d+" not valid for QName()","FOCA0002");d=2===n.length?n[1]:n[0];if(!Ma.isNCName(d))throw new J(d+" not valid local name for QName()","FOCA0002");return Ub(D.QName.fromParts(m,c,d))},"random-number-generator":function(c,d){c=new lc; -c.inSituPut(D.string.fromString("number"),[D.double.fromNumber(Math.random())]);var n=D.QName.fromParts("fn",dc.za,"random-number-generator"),m=Pd.find("SaxonJS").XPath,u=m.getFnSignature(n,0,d);n=new jd.Ge(u,n,0,{},d);c.inSituPut(D.string.fromString("next"),[n]);n=D.QName.fromParts("saxon",dc.ib,"permute");u=d.newContext();u.Pa=!0;m=m.getFnSignature(n,1,u);d=new jd.Ge(m,n,1,{},d);c.inSituPut(D.string.fromString("permute"),[d]);return Ub(c)},"regex-group":function(c,d){c=c[0].next().toNumber();try{return Yb(d.regexGroups[c]|| -"")}catch(n){return Yb("")}},remove:function(c){const d=c[1].next().toNumber(),n=Xb(c[0]);return n.filter(function(){return n.position!==d})},replace:function(c){const d=b(c[0]),n=Ma.Yg(c[3]?c[3].next().toString():"");let m=0;const u=Ma.prepareRegex(c[1].next().toString(),n+"g",null,Q=>{m=Q});if(u.test(""))throw new J("Regular expression matches zero-length string","FORX0003");c=Ma.nj(c[2].next().toString(),n,m);return Yb(d.replace(u,c))},"resolve-QName":function(c){const d=c[1].next();return c[0].mapOneToOne(function(n){try{return I.sk(d, -n.toString(),!0)}catch(m){throw m instanceof J&&"FORG0001"===m.code&&(m.code=Ma.ji(n)?"FONS0004":"FOCA0002"),m;}})},"resolve-uri":function(c,d,n){const m=d.fixed.evaluator;if(c[1]){let u=c[1].next();d=u?u.toString():m.staticBaseUri(n,d)}else d=m.staticBaseUri(n,d);c=c[0].next();if(null===c)return Tb;c=c.toString();n=I.Wc(c);if(null!==d&&(d=d.replace(/^file:\/(?!\/)/,"file:///"),/#/.test(d)))throw new J("Base URI "+d+" contains a fragment identifier","FORG0002");if(!n&&null!==d&&!I.Wc(d))throw new J("resolve-uri: invalid URI (base="+ -d+", relative="+c+")","FORG0002");c=n?c:ya.resolveUri(c,d).toString();return Ub(D.anyURI.fromString(c))},reverse:function(c){return Pb(c[0].expand().slice().reverse())},root:function(c){return c[0].mapOneToMany(d=>r.Ka(d)).filter(d=>!I.Oa(d))},round:function(c){return c[0].mapOneToOne(d=>d.round(c[1]?Math.min(c[1].next().value,1E4):0))},"round-half-to-even":function(c){return c[0].mapOneToOne(d=>d.wf(c[1]?Math.min(c[1].next().value,1E4):0))},"seconds-from-dateTime":function(c){return l(c,"seconds")}, -"seconds-from-duration":function(c){return z(c,5)},"seconds-from-time":function(c){return l(c,"seconds")},serialize:function(c,d){function n(Q){Q.method="xml";Q.indent=!1;Q["omit-xml-declaration"]=!0}const m=new le.StringWriter,u={};if(c[1]){const Q=c[1].next();if(null===Q)n(u);else if(fc.Q(Q)){if(!fc.Hg(Q))throw new J("Second argument supplied to serialize() is wrong kind of node","XPTY0004");le.parseParamDoc(Q,u,"XPTY0004")}else{if(!(Q instanceof lc))throw new J("Second argument supplied to serialize() does not match required type", -"XPTY0004");const ma=function(na,O,ca,x,E=!1){const B=Sa.XS.string.fromString(na);if(Q.containsKey(B)){let L=Q.get(B);if(0H.push(S));L=H}else throw new J("fn:serialize(): supplied value of "+B+" is invalid","XPTY0004");if(1!==L.length&&!ca&&!E||!L.every(H=>"AZ"===H.code||O.matches(H)))throw new J("fn:serialize(): supplied value of "+B+" is invalid","XPTY0004");u[na]=E&&0===L.length?null:x(ca?L:"AZ"===L[0].code?O.I(L[0]):L[0])}};"doctype-public doctype-system encoding item-separator json-node-output-method media-type method normalization-form version".split(" ").forEach(na=> -ma(na,Sa.XS.string,!1,O=>O.toString()));"allow-duplicate-names byte-order-mark escape-uri-attributes include-content-type indent omit-xml-declaration undeclare-prefixes".split(" ").forEach(na=>ma(na,Sa.XS.boolean,!1,O=>O.toBoolean()));ma("standalone",Sa.XS.boolean,!1,na=>na.toBoolean(),!0);ma("html-version",Sa.XS.$a,!1,na=>na.toNumber());["cdata-section-elements","suppress-indentation"].forEach(na=>ma(na,Sa.XS.QName,!0,O=>{let ca="";for(let x=0;xE instanceof lc))throw new J("fn:serialize(): supplied value of "+O+" is invalid","XPTY0004");ca=ca[0];var x=function(E){return D.string.matches(E)};if(!ca.conforms(x,x,function(E){return 1===E}))throw new J("fn:serialize(): supplied value of "+O+" is invalid","XPTY0004");O=ld.nb(ca,!0);ca={min:0,max:0,oa:{}};for(let E in O)if(O.hasOwnProperty(E)){if(1< -E.length)throw new J("fn:serialize(): Keys in a character map must all be one-character strings. Found "+E,"SEPM0016");x=E.codePointAt(0);0===ca.min?ca.min=x:xca.max&&(ca.max=x);ca.oa[x]=O[E]}u[na]=ca}})("use-character-maps")}}else n(u);le.serialize(c[0].expand(),u,m,d);return Yb(m.toString())},snapshot:function(c,d,n){return c[0].mapOneToOne(function(m){function u(L){if(0ma.append(S));0ma.append(S));r.namespace(ca).forEachItem(S=>ma.append(S))},ma):ee.vf(m,d,ma,n,!0,!0),E=Q.ec.lastChild)},ma)}}const Q=ae(d),ma=ee.getComplexContentOutputter(Q);if(!I.Oa(m))return ee.vf(m,d,ma,n,!0,!0),ma.close(),Q.iter().next();const na=m.nodeType,O=I.X(m);var ca=m,x=[2,13].includes(na);x&&(ca=I.Oa(ca));ma.startDoc();let E;const B=r.Lc(ca).expand();0I.X(L).equals(O)).next();case 13:return I.va.namespace(E).filter(L=>I.X(L).equals(O)).next();default:return E}})},sort:function(c,d,n){const m=Nd.jf(n,c[1],d);let u=ld.atomize;if(c[2]){const Q=c[2].next();u=function(ma){return Q.evaluate([[ma]],d,n)}}return Pb(c[0].expand().slice().sort(function(Q,ma){return c[1]?Od(u(Q),u(ma),m):Od(u(Q),u(ma))}))},"starts-with":function(c,d,n){const m=b(c[0]),u=b(c[1]);c=Nd.Kb(n,c[2],"startsWith",d);return bc(c(m, -u))},"static-base-uri":function(c,d,n){return(c=d.fixed.evaluator.staticBaseUri(n,d))?Ub(D.anyURI.fromString(c)):Tb},"stream-available":function(){return bc(!1)},string:function(c,d){d=d.fixed.evaluator;c=c[0].next();if(!c)return Yb("");if(d.isArray(c)||d.pe(c)||d.Bd(c))throw new J("Input to string() is a function item ","FOTY0014");return d.atomize(c).mapOneToOne(function(n){return D.string.I(n)})},"string-join":function(c){let d="";const n=c[1]?c[1].next().value:"";let m,u=!0;for(;null!==(m=c[0].next());)u|| -(d+=n),d+=m.toString(),u=!1;return Yb(d)},"string-length":function(c){return Zb(Ia(b(c[0])).length)},"string-to-codepoints":function(c){return Pb(Ia(b(c[0])).map(D.integer.fromNumber))},subsequence:function(c){const d=Math.round(c[1].next().toNumber()),n=c[2]?d+Math.round(c[2].next().toNumber()):Number.POSITIVE_INFINITY;return new Sb(c[0],d,n)},substring:function(c){var d=Math.round(c[1].next().toNumber());const n=c[2]?d+Math.round(c[2].next().toNumber()):Number.POSITIVE_INFINITY;c=new Rb(b(c[0])[Symbol.iterator]()); -d=new Sb(c,d,n);return Yb(d.expand().join(""))},"substring-after":function(c,d,n){let m="";const u=b(c[0]),Q=b(c[1]);let ma;-1!==(ma=Nd.Kb(n,c[2],"indexOf",d)(u,Q))&&(m=u.substring(ma+Q.length));return Yb(m)},"substring-before":function(c,d,n){let m="";const u=b(c[0]),Q=b(c[1]);let ma;-1!==(ma=Nd.Kb(n,c[2],"indexOf",d)(u,Q))&&(m=u.substring(0,ma));return Yb(m)},sum:function(c,d){d=c[0].mapOneToOne(d.fixed.evaluator.Si);const n=d.next();if(null===n)return 1===c.length?Zb(0):c[1];try{return tb["a+a"](n, -n),Ub(q(d,n,tb["a+a"]))}catch(m){throw m instanceof J&&"XPTY0004"===m.code&&(m.code="FORG0006"),m;}},"system-property":function(c,d,n){c=D.QName.fromEQName(a(c[0],d,n,"XTDE1390"));d="";c.q===dc.Jc&&(d=ya.systemProperties()[c.local]);c.q===dc.ib&&(d=ya.extraProperties()[c.local]);d||="";return Yb(d)},tail:function(c){const d=Xb(c[0]);return d.filter(function(){return 1!==d.position})},"timezone-from-date":function(c){return l(c,"timezone")},"timezone-from-dateTime":function(c){return l(c,"timezone")}, -"timezone-from-time":function(c){return l(c,"timezone")},tokenize:function(c){var d=b(c[0]);c[1]||(d=Da(d));if(""===d)return Tb;var n=c[1]?c[1].next().toString():"[ \\n\\r\\t]+";n=ee.kg(d,n,c[2]?c[2].next().toString():"",!1,!0);d=c[1]&&n[0].Ac;const m=n[n.length-1];c=c[1]&&m.Ac;n=n.filter(function(u){return!u.Ac}).map(function(u){return u.string});d&&n.unshift(D.string.fromString(""));c&&n.push(D.string.fromString(""));return Pb(n)},trace:function(c,d){const n=c[0].expand();Aa.Qa("fn:trace: "+(2=== -c.length?c[1].next().toString()+": ":"")+Aa.showValue(n),1,d.fixed.Ga);return Pb(n)},transform:function(c,d,n){function m(pa){pa=D.string.fromString(pa);return Z.get(pa)}function u(pa,k="FOXT0002"){throw new J(pa,k);}function Q(pa,k,F=null){if("matches"in k&&"name"in k){if(k.matches(pa))return pa;throw new J(null!==F?`The required item type of ${F} is ${k.name}`:`The required item type is ${k.name}`,"XPTY0004");}return pa}function ma(pa,k){if(Oa(pa))return pa;throw new J(`The required item type of ${k} is string|unTypedAtomic|anyURI`, -"XPTY0004");}function na(pa,k,F=T=>T){(pa=m(pa))&&(pa=Pb(pa).ma())&&(K[k]=F(pa))}function O(pa){return function(k){k instanceof lc||u("The value of the option "+pa+" in fn:transform() must be of type map(xs:QName,item()*)","XPTY0004");if(k.conforms(F=>{D.QName.matches(F)||u("The keys of the "+pa+" option in fn:transform() must be of type xs:QName. Supplied value:"+F.toString());return!0},()=>!0,()=>!0))return k}}function ca(pa,k){na(pa,k,O(pa))}function x(pa){pa.C&&pa.C.forEach(function(k){k.parentNode= -pa;x(k)})}function E(pa,k,F){if(!S.N)throw new J("No XSLT processor is available to support fn:transform(). If using SaxonJS2.rt.js, it does not contain an XSLT compiler ","FOXT0001",n);let T={stylesheetParams:new lc,tunnelParams:{},functionParams:{},isDynamicStylesheet:!0,destination:"application",initialMode:"compile-complete",templateParams:{"Q{}options":{noXPath:!1}}};for(let t in k)"compiler.options"===t?T.tunnelParams["Q{}compiler.options"]=k[t]:T.templateParams["Q{}options"][t]=k[t];T.stylesheetParams.inSituPut(Sa.XS.QName.fromParts("", -"","staticParameters"),[F]);T.stylesheetInternal=S;T.outputProperties={};x(S);"true"===S.relocatable&&(T.isRelocatableStylesheet=!0);k=L.checkOptions(T);L.internalTransform(S,pa,k);return k.principalResult}function B(pa){pa=H.atomize(pa).expand();if(1ma(B(pa),"stylesheet-location").toString());na("stylesheet-node","stylesheetNode");na("stylesheet-text","stylesheetText");na("package-location","packageLocation",pa=>ma(B(pa),"package-location").toString());na("package-node","packageNode");na("package-text","packageText");let ha=0;"stylesheetLocation stylesheetNode stylesheetText packageLocation packageNode packageText".split(" ").forEach(pa=>{K[pa]&&ha++});1!==ha&&u("A stylesheet must be supplied as an option to fn:transform(), by exactly one of 'stylesheet-location', 'stylesheet-node', 'stylesheet-text', 'package-location', 'package-node' or 'package-text'"); -na("source-node","sourceNode");na("global-context-item","globalContextItem");(c=m("source-node")[0])&&!m("global-context-item")[0]&&I.Oa(c)&&(K.globalContextItem=c.ownerDocument);(c=m("initial-match-selection"))&&0Q(pa,D.QName,"initial-template").toEQName());na("initial-mode","initialMode",function(pa){return["#unnamed","#default"].includes(pa.toString())?pa.toString():Q(pa,D.QName,"initial-mode").toEQName()});na("initial-function", -"initialFunction",pa=>Q(pa,D.QName,"initial-function").toEQName());na("static-params","staticParams");na("base-output-uri","baseOutputURI");na("stylesheet-base-uri","stylesheetBaseURI",pa=>pa.toString());na("delivery-format","destination",pa=>pa.toString());let w=K.destination;w&&!["raw","document","serialized"].includes(w)&&u("The value of the delivery-format option to fn:transform() must be one of 'raw', 'document' or 'serialized'. Supplied value is "+w);w||="document";c=(c=m("enable-messages"))&& -1===c.length?c[0].toBoolean():!1;let M=m("enable-assertions");M=M&&1===M.length?M[0].toBoolean():!1;var aa=null,ja=null;if(K.stylesheetNode){var Y=K.stylesheetNode._saxonBaseUri||"NoStylesheetBaseURI";if(9==K.stylesheetNode.nodeType)ja=K.stylesheetNode.cloneNode(!0);else if(11==K.stylesheetNode.nodeType){ja=ya.createDocument();var y=K.stylesheetNode.childNodes;for(var da=0;da10*X&&u("No suitable XSLT processor is available; requested XSLT version in fn:transform() is: "+ -(V/10).toString());K.sourceNode&&K.initialSelection&&u("Only one of 'source-node' or 'initial-match-selection' must be supplied to fn:transform() for apply-templates invocation");K.initialTemplate&&K.initialMode&&u("Only one of 'initial-template' or 'initial-mode' should be supplied to fn:transform()");if(K.sourceNode){V=K.sourceNode;var W=V.cloneNode(!0);W._saxonBaseUri=V._saxonBaseUri;W._saxonDocUri=V._saxonDocUri}K.baseOutputURI||(K.baseOutputURI="",C=!0);ca("stylesheet-params","stylesheetParams"); -ca("template-params","templateParams");ca("tunnel-params","tunnelParams");na("function-params","functionParams",function(pa){Aa.ba(pa instanceof id);return pa.value});"serialized"===w&&na("serialization-params","outputProperties",pa=>H.nb(pa,!0));K.deliverResultDocument=function(){let pa=this;return new ne(w,function(k,F){pa.resultDocuments[k.toString()]="serialized"===w?[Sa.XS.string.fromString(F)]:fc.Q(F)?[F]:null===F?[]:F})};K.deliverMessage=function(pa){ya.ei()(pa);this.ri.push([pa])};let ka= -{};V=Pb(m("collections")).ma();null!==V&&(ka=H.nb(V,!0));K.collectionFinder=function(pa){return"undefined"===typeof pa?null:ka[pa]};V=!["raw","serialized"].includes(w);let ea,va;try{x(aa);"true"===aa.relocatable&&(K.isRelocatableStylesheet=!0);if(K.stylesheetNode||K.packageText||K.packageNode)K.stylesheetInternal=aa;va=L.checkOptions(K);L.internalTransform(aa,W,va);ea=va.principalResult}catch(pa){if(pa instanceof J&&pa.Le)throw new J(pa.message,pa.code.toString());throw pa;}if(ea&&V){Aa.ba(Array.isArray(ea)); -W=ae(d);const pa=ee.getComplexContentOutputter(W);pa.startDoc();ea.forEach(k=>pa.append(k));pa.endDoc();pa.close();ea=W.kd}Array.isArray(ea)&&1===ea.length&&Array.isArray(ea[0])&&(ea=ea[0]);W=va.resultDocuments[""];if(void 0!==W){if(Array.isArray(ea)?0=q.length){for(;G=g.length){for(;v=e(q[v],g[G])?l(q[v++]):l(g[G++]);return z}function h(q,g){return g.fixed.evaluator.db(q,"sortKey").map(function(e){return Nd.zk(e,g)})}function A(q){return function(g,e){for(let l=0;ll){v={Ig:[p.item],keys:p.keys,groups:{}};for(l=0;lnew Rb(function*(){for(const t of F){const R=t(T);let U;for(;null!==(U=R.next());)yield U}}())}function h(k){function F(ia){switch(ia){case 1:return"first";case 2:return"second";case 3:return"third";default:return ia+"th"}}k=k.split("|");const T=k[0],t=k[1],R=""===k[2]?"XPTY0004":k[2],U=k[3];return{gd:function(){switch(parseInt(T,10)){case 0:return F(+t+1)+" argument of "+(""===U?"anonymous function":U+"()");case 1:return F(+t+ -1)+" operand of '"+U+"'";case 9:return"operand of '-'";case 2:return"value in '"+U+"' expression";case 3:return"saxon:context-item"===U?"context item":"value of variable $"+U;case 4:const ia=U.split("/");return"@"+ia[1]+" attribute of "+("LRE"===ia[0]?"a literal result element":ia[0]);case 5:return"result of call to "+(""===U?"anonymous function":"function "+U);case 7:return"result of template "+U;case 6:return F(+t+1)+" sort key";case 8:return"value of parameter $"+U;case 11:return"value of the grouping key"; -case 12:return"result of xsl:evaluate";case 13:return"the context item";case 14:return"the context item for the "+"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")[t]+" axis";case 15:return"the value of the "+U+" option";case 17:return"document-order sorter";default:return""}}(),code:R}}function A(k){k=k.trim();if(["true","yes","1"].includes(k))return!0;if(["false", -"no","0"].includes(k))return!1;throw new J("Value must be yes|true|1 or no|false|0","XTDE0030");}function P(k){if(W.Q(k))return Ub(q(k));if(K(k))return Vb(k.value.map(F=>Pb(F))).mapOneToMany(P);if(V(k))throw new J("Cannot atomize a "+(X(k)?"map":"function"),"FOTY0013");return Ub(k)}function q(k){const F=ea.string.fromString,T=ea.untypedAtomic.fromString;switch(k.nodeType){case 9:return T(k.documentElement.textContent);case 11:case 1:case 3:case 4:return T(k.textContent||"");case 2:return T(k.value); -case 8:return F(k.textContent);case 7:return F(k.textContent);case 13:return F(k.q);default:throw new J("Unknown node type "+k.nodeType,"SXJS0003");}}function g(k){return Pb(k).mapOneToMany(P).expand()}function e(k){function F(R){throw new J("Effective boolean value is not defined for "+R,"FORG0006");}function T(){if(null!==k.next())F("an atomic sequence of length > 1");else return!0}var t=k.next();if(null===t)return!1;if(W.Q(t))return!0;if(Sa.ka(t)){if("AB"===t.code)return T()&&t.toBoolean();if(t.isNumeric())return t= -t.toNumber(),T()&&!isNaN(t)&&0!==t;if(Oa(t))return T()&&0!==t.toString().length;F("type "+Sa.$c(t.code))}else X(t)?F("maps"):K(t)?F("arrays"):V(t)?F("functions"):F("value "+Aa.showValue(t))}function l(k,F){const T=tb["i+i"],t=ea.integer.fromNumber(1);return new Hb(k,R=>{R=T(R,t);return 0T.N===F):[]}function v(k,F,T){k=z(k,"withParam");const t=[new lc,new lc];F.tunnelParams.forAllPairs(U=>t[1].inSituPut(U.k,U.v));const R=F.tempOutputState; -F.tempOutputState="template parameter";k.forEach(function(U){const ia=U.name,ua=Q(U,"t")?1:0;t[ua].inSituPut(Sa.XS.QName.fromEQName(ia),d(U)(F).expand())});F.tempOutputState=R;T.localParams=t[0];T.tunnelParams=t[1]}function G(k){return!/[ \t\r\n]/.test(k)}function p(k,F,T){if(k){k=k.split(/\r?\n/);for(let R=0;R{try{const U=T(R).next(),ia=t(R).next();return null===U||null===ia?null:F(U,ia)}catch(U){C(U,k)}}}function I(k,F){if(F.fixed.staticBaseURI)return F.fixed.staticBaseURI;if(F.fixed.Xc)return null;for(;;){if(k.baseUri)return k.baseUri;k=k.parentNode;if(!k)return null}}function D(k,F,T=!1){var t=W.xc(F.resultDocument).createDocumentFragment();t=W.lc(t);t._saxonBaseUri=I(k, -F);const R=F.newContext(!1);T&&(R.resultDocument=F.masterDocument);kd.bk(t,m(k)(R),R);return t}function r(k){const F=d(k),T=n(k),t=k.op;return R=>{const U=F(R),ia=T(R).expand();R=Nd.be(k.comp,R);return Nd.Ag(U,ia,t,R,k)}}function c(k,F){throw new J("The "+k+" construct is not implemented in SaxonJS","SXJS0002",F);}function d(k){return m(k.C[0])}function n(k){return m(k.C[1])}function m(k){if(k){var F=k.ELAB;F||((F=pa[k.N])||Aa.fa("Unknown expr: "+k.N+" parent="+k.p),F=k.ELAB=F(k));return F}}function u(k, -F){k=k.C||[];for(let T=0;T{const T=ae(F),t=ee.getComplexContentOutputter(T);ee.push(k,F,t);t.close();return T.iter()}}function C(k,F){k instanceof J&&!k.xsltLineNr&&za(k,F);throw k;}function Z(k,F){function T(R){return"Context item for template "+k.name+" must be "+R}if(F.noCurrentFocus()&&-1===k.flags.indexOf("o"))throw new J(T("supplied"),"XTTE3090",k);F.noCurrentFocus()||-1!==k.flags.indexOf("s")||(F.focus={});let t=k.cxt;if(t&&!F.noCurrentFocus()&&!oc(t).ga()(F.getCurrentFocus()))throw new J(T("instance of "+ -oc(t).toString()),"XTTE0590",k);}function K(k){return k instanceof id}function X(k){return k instanceof lc||k instanceof M}function V(k){return k instanceof jd.XdmFunction||K(k)||X(k)}function ha(k){var F=Object.assign(k);F.ELAB=void 0;k.C&&(F.C=k.C.map(T=>ha(T)));return F}function w(k,F,T){Aa.ba(Array.isArray(k));Aa.ba(F instanceof pc);const t=F.T();let R=t.p;if(t.o&&!Kd(t.o)(k.length))throw new J("Supplied value "+Aa.showValue(k)+" does not match required cardinality "+t.o+(T?" in "+T():""),"XPTY0004"); -if(0ia.isNumeric()?ia:U.matches(ia)?Sa.XS.double.I(ia):ia instanceof M?Sa.XS.double.fromString(ia.value.toString()):ia);else{const ia=Sa.codes[R],ua=ia.I;"A"!==R&&(k=k.map(Ba=>U.matches(Ba)?ua(Ba):Ba instanceof M?ia.fromString(Ba.value.toString()):Ba));["AO","AF"].includes(R)&&(k=k.map(Ba=>Ba.isNumeric()?ia.I(Ba):Ba));"AS"===R&&(k=k.map(Ba=>Sa.XS.anyURI.matches(Ba)?ia.I(Ba):Ba))}}else if(F.K.Bd())if(["FM","FA"].includes(R))k= -Y(k);else if(F.K instanceof md){const U=F.K.ga();k.every(ia=>U(ia))||(k=k.map(ia=>{if(U(ia))return ia;if(ia instanceof jd.XdmFunction){var ua=F.K;const Ba=ua.g.length;ua={minArgs:Ba,maxArgs:Ba,sig:ua.ea(),alphaTree:ua.T()};return new jd.gh(ua,ia)}return ia}))}if(!F.matches(k))throw new J("Supplied value "+Aa.showValue(k)+" does not match required type "+F.toString()+(T?" in "+T():""),"XPTY0004");}return k}function M(k){this.value=k}function aa(k){this.value=k}function ja(k){function F(t){switch(typeof t){case "undefined":return[]; -case "string":return ea.untypedAtomic.fromString(t);case "number":return ea.double.fromNumber(t);case "boolean":return ea.boolean.fromBoolean(t);case "function":return new M(t);case "object":if(ea.lg.matches(t)||W.Q(t))return t;if(t instanceof id)return t;if(t instanceof jd.XdmFunction||t instanceof lc)return t;if(t instanceof M)return t;if(t instanceof Date)return ea.dateTime.fromString(t.toISOString());if(Array.isArray(t)){const R=[];t.forEach(function(U){R.push(ja(U))});return new id(R)}return null=== -t?[]:t instanceof aa?t.value:new M(t);default:return new M(t)}}function T(t){const R=[];t.forEach(function(U){U=F(U);Array.isArray(U)&&0===U.length||R.push(U)});return R}if(Array.isArray(k))return T(k);k=F(k);return Array.isArray(k)&&0===k.length?[]:[k]}function Y(k){function F(t){if(t instanceof id){const R=[];t.value.forEach(U=>R.push(T(U)));return new id(R)}if(t instanceof M){const R=t.value;if("object"===typeof R){t=new lc;for(const U in R)if(R.hasOwnProperty(U)){const ia=ja(U)[0],ua=ja(R[U]); -t.inSituPut(ia,Y(ua))}return t}}return t}function T(t){const R=[];t.forEach(function(U){U=F(U);Array.isArray(U)&&0===U.length||R.push(U)});return R}Aa.ba(Array.isArray(k));return T(k)}function y(k,F=!1){function T(R){if(Array.isArray(R))throw new J("convertItem() called for an array","SXJS0004");if(null===R)return null;if(ea.string.matches(R)||ea.anyURI.matches(R)||ea.duration.matches(R)||ea.hexBinary.matches(R)||ea.base64Binary.matches(R)||ea.untypedAtomic.matches(R))return R.toString();if(ea.numeric.matches(R))return R.toNumber(); -if(ea.boolean.matches(R))return R.toBoolean();if(ea.dateTime.matches(R)||ea.Oc.matches(R)||ea.vd.matches(R)||ea.Bf.matches(R)||ea.ci.matches(R)||ea.bi.matches(R)||ea.ai.matches(R)||ea.$h.matches(R)||ea.Zh.matches(R))return R.toString();if(ea.QName.matches(R))return R.toEQName();if(W.Q(R))return R;if(R instanceof id){const U=[];0!==R.value.length&&R.value.forEach(function(ia){U.push(y(ia,F))});return U}if(R instanceof lc){if(F){const U={};R.forAllPairs(function(ia){U[ia.k.toString()]=y(ia.v,F)});return U}return new aa(R)}return R instanceof -aa?R:R instanceof M?R.value:new aa(R)}function t(R){const U=[];if(0===R.length)return null;if(1===R.length)return T(R[0]);R.forEach(function(ia){U.push(T(ia))});return U}return Array.isArray(k)?t(k):T(k)}function da(k){return k.mapOneToMany(function(F){return K(F)?Vb(F.value.map(function(T){return da(Pb(T))})):Ub(F)})}const W=fc,ka=W.va,ea=Sa.XS;let va;const pa={acFnRef:function(k){const F=ea.QName.fromEQName(k.name),T=Pd.find("SaxonJS").XPath;return t=>{t=t.newContext(!0);t.Pa=!0;if(t=T.getFnSignature(F, -1,t))return t=new jd.Qf(t,F,k),Ub(t);throw new J("Reference to an unknown constructor function "+F+"#1","XPST0017",k);}},among:function(k){const F=d(k),T=n(k);return t=>{const R=F(t).next();return T(t).filter(U=>W.isSameNode(U,R))}},analyzeString:S,and:function(k){const F=d(k),T=n(k);return t=>bc(e(F(t))&&e(T(t)))},applyImports:S,applyT:S,arith:function(k){const F=tb[k.calc];F||c("arithmetic ("+k.calc+")",k);const T=f(k,F);return t=>Ub(T(t))},arith10:function(k){function F(U){U=U.next();return null=== -U?ea.double.fromNumber(NaN):Oa(U)?ea.double.hf(U.toString()):ea.double.I(U)}const T=d(k),t=n(k),R=tb[k.calc];return U=>Ub(R(F(T(U)),F(t(U))))},array:function(k){const F=(k.C||[]).map(m);return T=>{const t=F.map(R=>R(T).expand());return Ub(new id(t))}},arrayBlock:function(k){const F=(k.C||[]).map(m);return T=>{const t=F.map(R=>R(T).expand());return Ub(new id(t))}},atomic:function(k){const F=Sa.codes[k.type].fromString(k.val);return()=>Ub(F)},atomSing:function(k){const F=d(k);return k.card?T=>F(T).mapOneToMany(P): -T=>{T=F(T).mapOneToMany(P);T=Kb(T);if(null===T.ma())throw T=h(k.diag),new J("The "+T.gd+" is empty",T.code,k);return T}},att:S,attVal:function(k){const F=ea.QName.fromEQName(k.name);return T=>{T.failIfNoCurrentFocus("XPDY0002","@"+F,k);T=T.getCurrentFocus();if(!W.Q(T))throw new J("Context item for 'attVal' must be a node","XPTY0020",k);if(1!==T.nodeType)return Tb;T=""===F.q?null!=T.attributes.getNamedItem(F.local)?T.getAttribute(F.local):null:F.q===dc.oc?null!=T.attributes.getNamedItem("xml:"+F.local)? -T.getAttribute("xml:"+F.local):null:null!=ic(T,F.q,F.local)?jc(T,F.q,F.local):null;return null===T?Tb:Ub(ea.untypedAtomic.fromString(T))}},axis:function(k){const F=oc(k.nodeTest||"").ga(),T=k.name;return t=>{t.failIfNoCurrentFocus("XPDY0002",T+" axis",k);t=t.getCurrentFocus();if(!W.Q(t))throw new J("Context item for "+T+" axis is not a node - supplied:"+Aa.showValue(t),"XPTY0020",k);return W.Ch[T](t).filter(F)}},"break":S,callT:function(k){return F=>{const T=E(k,F,"template"),t=F.newContext(!0);t.currentMergeGroup= -null;t.currentComponent=T;Z(T.actor,t);v(k,F,t);return d(T.actor)(t)}},cast:function(k){const F=d(k),T=Q(k,"e"),t=R=>{R=F(R).next();if(null===R){if(T)return null;throw new J("Empty sequence casting to "+oc(k.as).toString(),"XPTY0004",k);}return R};if(Q(k,"a")){const R=wb(k.as),U="AQ"===R.p?O(k,!0):null,ia=Sa.codes[R.p].I;return ua=>{ua=t(ua);if(null===ua)return Tb;try{var Ba=ia(ua,U);return Ub(Ba)}catch(Fa){if("FORG0001"===Fa.code&&k.diag)throw Ba=h(k.diag),new J("Required item type of "+Ba.gd+" is "+ -oc(k.as).toString()+"; supplied value is "+Aa.Ji(ua),Ba.code,k);if(null!==Fa.code)throw Fa;throw new J("Failed to cast "+Aa.Ji(ua)+" to type "+oc(k.as).toString(),"XPTY0004",k);}}}if(Q(k,"l")){const R=Sa.XS.QName.fromEQName(k.as),U=bd[R.local].fromString;Aa.ba(R.q===dc.ac);Aa.ba(U);return ia=>{ia=t(ia);if(null===ia)return Tb;ia=Ma.cf(ia.toString()).split(" ").map(U);if(0===ia.length)throw new J("xs:"+R.local+" value must contain at least one token","FORG0001");return Pb(ia)}}if(Q(k,"u"))return R=> -{R=t(R);return null===R?Tb:Sa.XS.double.matches(R)||Sa.XS.$a.matches(R)||Sa.XS.float.matches(R)?Ub(R):Ub(Sa.XS.double.I(R))};throw new J("Unknown cast variety "+k.flags);},castable:function(k){const F=d(k),T=Q(k,"e");let t;if(Q(k,"a")){const R=wb(k.as),U="AQ"===R.p?O(k,!0):null,ia=Sa.codes[R.p].I;t=ua=>{ia(ua,U);return!0}}else if(Q(k,"l")){k=Sa.XS.QName.fromEQName(k.as);const R=bd[k.local].fromString;t=U=>0{Sa.XS.double.I(R);return!0}; -else throw new J("Unknown castable variety "+k.flags);return R=>{R=F(R);const U=R.next();if(null===U)return bc(T);if(null!==R.next())return bc(!1);R=P(U).next();try{return bc(t(R))}catch(ia){return bc(!1)}}},cfn:function(k){const F=k.name,T=d(k);let t;if("_format-number_1"===F)return t=pe["format-number"],R=>{const U=[T(R),Yb(k.pic)];null!=k.attributes.getNamedItem("format")&&U.push(Yb(k.format));return t(U,R,k)};if("_translate_1"===F)return t=pe.translate,R=>{const U=[T(R),Yb(k.a1),Yb(k.a2)];return t(U, -R)};Aa.fa("Unimplemented: cfn "+F,k)},check:function(k){function F(U){const ia=h(k.diag);throw new J("Required cardinality of "+ia.gd+" is "+t[T]+"; supplied value "+U,ia.code,k);}const T=k.card,t={"*":"zero or more","+":"one or more","?":"zero or one",0:"zero",1:"exactly one"},R=d(k);return U=>{U=R(U);if("*"===T)return U;var ia=Kb(U);U=ia.ma();if(null===U){if("?"===T||"0"===T)return Tb;F("is empty")}else"0"===T&&F("is not empty (first item "+Aa.showValue(U)+")");if("+"===T)return ia;ia.next();const ua= -ia.next();null!==ua&&(ia=ia.count()+2,F("contains "+ia+" items ("+Aa.showValue(U)+", "+Aa.showValue(ua)+(2{for(let t=0;tF(T)},comment:S,compareToInt:function(k){const F=k.op,T=ea.integer.fromString(k.val),t=d(k);return R=>{R=t(R);const U=R.next();if(null===U)return Tb;if(Nd.itemIsNaN(U))return bc("ne"===F);if(null!== -R.next())throw new J("Value comparison only applicable to single values","XPTY0004",k);return bc(Nd.Af(F,U.compareTo(T)))}},compareToString:function(k){const F=k.op,T=d(k),t=ea.string.fromString(k.val);return R=>{const U=T(R),ia=U.next();if(null===ia)return Tb;if(null!==U.next())throw new J("Value comparison only applicable to single values","XPTY0004",k);return k.comp?(R=Nd.be(k.comp,R),["=","eq","!=","ne"].includes(F)?bc(Nd.Oi(F,R.equals(ia,t))):bc(Nd.Af(F,R.compare(ia,t)))):bc(Nd.Af(F,ia.compareTo(t)))}}, -compAtt:S,compElem:S,condCont:function(k){const F=d(k);return T=>{function t(R){if(W.Q(R))switch(R.nodeType){case 9:case 11:case 1:return R.hasChildNodes();default:return""!==q(R).toString()}else return X(R)?0t(ia)).length}).length:""!==ea.string.I(R).toString()}return F(T).filter(t)}},condSeq:function(k){function F(t){if(W.Q(t)){if([9,11].includes(t.nodeType))return!t.hasChildNodes();if(3===t.nodeType||4==t.nodeType)return""=== -t.nodeValue}else{if(Sa.ka(t))return""===ea.string.I(t).toString();if(K(t))return!da(Ub(t)).some(function(R){return!F(R)})}return!1}const T=k.C.map(t=>({name:t.N,eval:m(t)}));return t=>{let R=[];const U=[];let ia=!0;T.map(function(ua){if("onEmpty"===ua.name)ia&&(R=ua.eval(t).expand());else if("onNonEmpty"===ua.name){const Ba=R.length;U.unshift(function(){R.splice.apply(R,[Ba,0].concat(ua.eval(t).expand()))})}else ua.eval(t).forEachItem(function(Ba){F(Ba)||(ia=!1);R.push(Ba)})});ia||U.forEach(function(ua){ua()}); -return Pb(R)}},conditionalSort:function(k){const F=d(k),T=n(k),t=d(k.C[1]);return R=>e(F(R))?T(R):t(R)},consume:function(k){throw new J("Stylesheet uses 'consume' which requires streaming","SXJS0002",k);},convert:function(k){const F=k.to,T=Sa.codes[F];T||Aa.fa("Unknown to-type "+k.to);const t=d(k);return Q(k,"p")?R=>t(R).mapOneToOne(U=>Sa.Pg(U,F)):R=>t(R).mapOneToOne(T.I)},copy:S,copyOf:S,currentGroup:function(k){return F=>{if(F&&F.currentGroup)return Pb(F.currentGroup);throw new J("There is no current group", -"XTDE1061",k);}},currentGroupingKey:function(k){return F=>{if(F&&F.currentGroupingKey)return Pb(F.currentGroupingKey);throw new J("There is no current grouping key","XTDE1071",k);}},cvUntyped:function(k){const F=d(k),T=Sa.codes[k.to],t=T.I,R="string"===T.name;return U=>F(U).mapOneToOne(function(ia){if(ea.double.matches(ia)&&"float"===T.name)throw new J("xs:double may not be promoted to xs:float","XTTE0570",k);if(ea.untypedAtomic.matches(ia)||R&&ea.anyURI.matches(ia))try{return t(ia)}catch(ua){if("FODT0001"=== -ua.code||!k.diag)throw ua;ia=h(k.diag);throw new J(ua.message,ia.code,k);}else return ia})},data:function(k){const F=d(k);return T=>F(T).mapOneToMany(P)},dbl:function(k){const F=ea.double.fromString(k.val);return()=>Ub(F)},dec:function(k){const F=qa(k.val);return()=>ac(F)},doc:S,docOrder:function(k){const F=d(k);return T=>W.Vc(F(T))},dot:function(k){return F=>{F.failIfNoCurrentFocus("XPDY0002",". (dot)",k);return Ub(F.getCurrentFocus())}},elem:S,empty:function(){return()=>Tb},emptyTextNodeRemover:function(k){const F= -d(k);return T=>F(T).filter(t=>!(W.Q(t)&&(3===t.nodeType||4===t.nodeType)&&""===t.textContent))},error:function(k){return()=>{throw new J(k.message,k.code,k);}},evaluate:function(k){const F={language:"XSLT",contextType:{o:"1",p:"",code:"1"}},T=m(u(k,"xpath")),t=m(u(k,"cxt")),R=m(u(k,"sa")),U=m(u(k,"nsCxt")),ia=z(k,"withParam").map(Ba=>({name:ea.string.fromString(Ba.name),eval:d(Ba)})),ua=m(u(k,"wp"));return Ba=>{const Fa=T(Ba).next().toString();u(k,"cxt");const Pa=t?t(Ba):Tb;let Ua=new lc;ia.forEach(function(ta){Ua.inSituPut(ta.name, -ta.eval(Ba).expand())});ua&&ua(Ba).next().forAllPairs(function(ta){if(!ea.QName.matches(ta.k))throw new J("Parameter names in xsl:evaluate/@with-params map must be QNames:"+ta.k.toString(),"XTTE3165",k);Ua.inSituPut(ta.k,ta.v)});Ua=Ub(Ua);if(R){var Na=R(Ba).next().toString();if(A(Na))throw new J("SaxonJS does not support schema-aware evaluation","XTDE1665",k);}(Na=k.as)&&(F.requiredType=Na.toString());(Na=k.dxns)&&"http://www.w3.org/1999/xhtml"!==Na.toString()&&(F.xpathDefaultNamespace=Na.toString()); -let Wa={};if(U){Na=U(Ba);var N=Na.next();if(null===N||null!==Na.next()||!W.Q(N))throw new J("xsl:evaluate/@namespace-context must evaluate to a single node","XTTE3170",k);Wa[""]="";fc.inScopeNamespaces(N).forEach(ta=>Wa[ta.prefix]=ta.q);F.xpathDefaultNamespace=Wa[""]}else Wa=ma(k);const ba={};N=Na=!1;const la={};var fa=u(k,"options");if(fa){fa=H(fa,Ba).next();let ta=ea.string.fromString("var-slots");fa.containsKey(ta)&&fa.get(ta)[0].forAllPairs(function(Ca){ba[Ca.k.toEQName()]=y(Ca.v)});ta=ea.string.fromString("allow-empty"); -fa.containsKey(ta)&&(Na=fa.get(ta)[0].toBoolean());ta=ea.string.fromString("isStatic");fa.containsKey(ta)&&(N=fa.get(ta)[0].toBoolean());ta=ea.string.fromString("staticContext");fa.containsKey(ta)&&fa.get(ta)[0].forAllPairs(function(Ca){la[Ca.k.toString()]=y(Ca.v,!0)})}F.params=Ua;F.namespaces=Wa;F.slotMap=ba;F.allowEmpty=Na;F.staticTyping=!0;F.isStatic=N;F.staticContext=la;F.dynamicEval=!0;(Na=u(k,"baseUri"))&&(F.staticBaseURI=H(Na,Ba).next().toString());(Na=na(k,"defaultCollation"))&&(F.defaultCollation= -Na);return Pd.find("SaxonJS").XPath.evaluateXDM(Fa,Pa,Ba,F)}},every:function(k){const F=parseInt(k.slot,10),T=d(k),t=n(k);return R=>{const U=T(R);return bc(!U.some(function(ia){R.localVars[F]=[ia];return!e(t(R))}))}},except:function(k){const F=d(k),T=n(k);return t=>new Mb(F(t),T(t),W.fb)},"false":function(){return()=>bc(!1)},filter:function(k){const F=d(k),T=n(k);return Q(k,"i")?t=>{const R=F(t);t=T(t).expand();if(1===t.length&&ea.numeric.matches(t[0])){const U=t[0].toNumber();if(R instanceof Pb)return Ub(R.expand()[U- -1]||null);const ia=Xb(R);return ia.filter(function(){return ia.position===U})}return e(Pb(t))?R:Tb}:t=>{const R=F(t),U=t.newContext(!1);U.focus=Xb(R);t=Q(k,"p")?function(){const ia=T(U).expand();return 1===ia.length&&ea.numeric.matches(ia[0])?U.focus.position===ia[0].toNumber():e(Pb(ia))}:function(){return e(T(U))};return U.focus.filter(t)}},first:function(k){const F=d(k);return T=>Ub(F(T).next())},flt:function(k){const F=ea.float.fromString(k.val);return()=>Ub(F)},fn:function(k){const F=pe[k.name]; -F||c(k.name+"()",k);const T=(k.C||[]).map(m);return t=>{const R=T.map(U=>U(t));return F(R,t,k)}},fnCoercer:function(k){const F=d(k),T=nc(k.to),t=T.K,R={alphaTree:T.T()};return U=>F(U).mapOneToOne(function(ia){if(!(ia instanceof jd.XdmFunction||ia instanceof id||ia instanceof lc)){var ua=h(k.diag);throw new J("Required item type of "+ua.gd+" is "+T.toString()+"; supplied value is "+Aa.showValue(ia),ua.code,k);}if((t instanceof md?t.g:[]).length!==(ia instanceof jd.XdmFunction?ia.arity:1))throw ua= -h(k.diag),new J("Required item type of "+ua.gd+" is "+T.toString()+"; supplied value is "+Aa.showValue(ia),ua.code,k);return new jd.gh(R,ia)})},fnRef:function(k){let F=k.name;F=/^Q{/.test(F)?ea.QName.fromEQName(F):ea.QName.fromParts("",dc.za,F);const T=parseInt(k.arity,10),t=Pd.find("SaxonJS").XPath;return R=>{var U=R.newContext(!0);U.Pa=!0;if(U=t.getFnSignature(F,T,U))return R=U.isUserFunction?new jd.Vf(U,R):F.q===dc.ac?new jd.Qf(U,F,k):new jd.Ge(U,F,T,k,R),Ub(R);throw new J("Reference to an unknown function and/or arity "+ -F.toEQName()+"#"+T,"XPST0017",k);}},follows:function(k){const F=f(k,function(T,t){return ea.boolean.fromBoolean(0Ub(F(T))},"for":function(k){const F=parseInt(k.slot,10),T=d(k),t=n(k);return R=>T(R).mapOneToMany(function(U){R.localVars[F]=[U];return t(R)})},forEach:function(k){const F=d(k),T=n(k);return u(k,"separator")?S(k):t=>{const R=t.newContext(!1);R.focus=Xb(F(t));R.currentTemplate=null;return R.focus.mapOneToMany(function(){return T(R)})}},forEachGroup:S,fork:b,functionCall:function(k){c(k.name+ -"()",k)},gc:r,gc10:function(k){let F=d(k),T=n(k);return t=>{let R=F(t).expand(),U=T(t).expand();1===R.length&&ea.boolean.matches(R[0])?U=[ea.boolean.fromBoolean(e(Pb(U)))]:1===U.length&&ea.boolean.matches(U[0])?R=[ea.boolean.fromBoolean(e(Pb(R)))]:(R=g(R),U=g(U));t=Nd.be(k.comp,t);const ia=k.op;"="!==ia&&"!="!==ia?(R=Pb(R).mapOneToOne(Sa.XS.numeric.Fd).expand(),U=Pb(U).mapOneToOne(Sa.XS.numeric.Fd).expand()):t=Nd.Bj(t);return Nd.Ag(Pb(R),U,ia,t,k,!0)}},gcEE:r,gVarRef:function(k){return F=>{const T= -E(k,F),t=T.actor,R=t.name;if(T.value===a)throw F=new J("Circularity in global variable "+R,"XTDE0640"),F.Le=!0,F;if(null===T.value||"undefined"===typeof T.value){if("globalParam"===t.N){var U=F.fixed.la.stylesheetParams,ia=Sa.XS.QName.fromEQName(R);if(U.containsKey(ia))U=U.get(ia),Aa.ba(Array.isArray(U)),ia=nc(t.as||"*"),U=w(U,ia,()=>"stylesheet parameter "+R),Aa.ba(Array.isArray(U)),T.value=U;else{if(Q(t,"r"))throw new J("Parameter "+R+" is required","XTDE0050",t);if(Q(t,"i"))throw new J("Parameter "+ -R+" cannot be empty","XTDE0700",t);t.C||(T.value=[])}}if(null===T.value||"undefined"===typeof T.value){U=!t.parentNode.parentNode.parentNode;ia=F.newContext(!0);ia.tempOutputState="variable";ia.pushCurrentOutputURI(null);ia.currentMode={};ia.currentTemplate=null;ia.currentComponent=T;ia.focus=U?Wb(F.fixed.Uc):null;try{const ua=d(t);T.value=a;T.value=ua(ia).expand()}catch(ua){throw ua instanceof J&&(T.value=[],ea.QName.fromEQName(R).q!==dc.ib+"generated-variable"&&(ua.Le=!0)),ua;}ia.popCurrentOutputURI()}}return Pb(T.value)}}, -homCheck:function(k){const F=d(k);return T=>{T=Kb(F(T));const t=T.ma();if(null===t)return Tb;const R=W.Q(t);T=T.filter(function(U){if(W.Q(U)!==R)throw new J("Cannot mix nodes and atomic values in the result of a path expression","XPTY0018",k);return!0});return R?W.Vc(T):T}},ifCall:function(k){const F=ea.QName.fromEQName(k.name);if("schedule-action"===F.local){const t=d(k),R=n(k),U=m(k.C[3]);return ia=>{var ua=4===k.C.length;if(4k.C.length||"empty"===k.C[2].N?Na=Wa=N=null:(Na=k.C[2],"bSlot"in Na?(Wa=E(Na,ia,"template"),N=Wa.actor):Wa=N=null);ia.noCurrentFocus()||(Ua.focus=Xb(Ub(ia.getCurrentFocus())),Ua.focus.next());Ua.currentMergeGroup=null;Ua.currentComponent=Wa;Ua.tempOutputState=!1;null===Pa&&null!==N&&Z(N,Ua);null!=Na&&v(Na,ia,Ua);let ba,la;null===N?(ba=null,la=function(){}): -(ba=d(N),la=function(){ba(Ua).expand()});if(null!==Pa)ua=ya.makeHttpRequest(Pa,function(fa){Ua.focus=Xb(Ub(fa[0]));Ua.focus.next();null!==N&&(Z(N,Ua),la())},Ba,ia.fixed.Ga);else if(null!==Fa)Fa=Fa.toString().split(" "),Pa=Fa.map(function(fa){return ya.resolveUri(fa,ld.staticBaseUri(k,ia))}),ya.inBrowser()?(ua=ya.gj(Pa,ia.fixed.hd,la,Ba,ia.fixed.Ga),ua=1===Fa.length?ua[Pa[0]]:ua):(Ba=Pa.map(fa=>Pd.find("SaxonJS").getResource({location:fa,type:"text"}).then(ta=>{try{return ia.fixed.hd[fa]=ta,la(),Promise.resolve(null)}catch(Ca){return ta= -Promise.reject(Ca),ia.fixed.rk.push(ta),ta}})),Ba=Promise.all(Ba),ia.fixed.nd.push(Ba));else if(0!==Ba)if(ya.inBrowser())setTimeout(la,Ba);else throw new J("ixsl:schedule-action/@wait is not supported on Node.js","SXJS0002");return ua?Ub(ua):Tb}}const T=(k.C||[]).map(m);return t=>{const R=T.map(U=>U(t));return va(F.q,F.local,R,t,k)}},indexedFilter2:function(k){const F=m(u(k,"base")),T=m(u(k,"use")),t=m(u(k,"search"));return R=>{const U=Nd.be(k.comp,R),ia=R.newContext(!1);ia.focus=Xb(F(R));const ua= -t(R).expand();return ia.focus.filter(function(){const Ba=T(ia);return Nd.Ag(Ba,ua,"=",U,k).next().toBoolean()})}},inlineFn:function(k){const F={sig:k.sType,alphaTree:wb(k.sType)};return T=>Ub(new jd.Yi(F,k,T))},instance:function(k){const F=d(k),T=nc(k.of);return t=>{t=F(t).expand();return bc(T.matches(t))}},"int":function(k){const F=ea.integer.fromString(k.val);return()=>Ub(F)},intersect:function(k){const F=d(k),T=n(k);return t=>new Lb(F(t),T(t),W.fb)},intRangeTest:function(k){const F=d(k);k=k.C; -const T=m(k[1]),t=m(k[2]);return R=>{const U=T(R).next(),ia=t(R).next();if(!U||!ia)return bc(!1);const ua=U.toNumber(),Ba=ia.toNumber();R=F(R).some(function(Fa){Fa=Fa.value;return Fa>=ua&&Fa<=Ba});return bc(R)}},is:function(k){const F=f(k,function(T,t){return ea.boolean.fromBoolean(W.isSameNode(T,t))});return T=>Ub(F(T))},isLast:function(k){const F="1"===k.test;return T=>bc(T.focus.position===T.focus.last()===F)},iterate:S,javaCall:function(k){const F=ea.QName.fromEQName(k.name),T=(k.C||[]).map(m); -return t=>{const R=T.map(U=>U(t));return va(F.q,F.local,R,t,k)}},lastOf:function(k){const F=d(k);return T=>{const t=Kb(F(T));return t.filter(function(){return null===t.ma()})}},let:function(k){const F=d(k),T=n(k),t=parseInt(k.slot,10);return R=>{const U=R.tempOutputState;R.tempOutputState="variable";const ia=F(R).expand();R.tempOutputState=U;R.localVars[t]=ia;return T(R)}},literal:b,lookup:function(k){const F=d(k),T=n(k);return t=>{function R(Na){Ba=Ba.concat(Fa[Na.toString()])}function U(Na){Ba= -Ba.concat(Fa.get(Na))}function ia(Na){return function(Wa){if(!ea.integer.matches(Wa))throw new J("Array lookup key must be of type xs:integer; supplied value is "+Aa.showValue(Wa),"XPTY0004",k);Wa=Wa.toNumber();if(1>Wa||Wa>Na.length)throw new J("Array index ("+Wa+") out of bounds (1 to "+Na.length+")","FOAY0001",k);Ba=Ba.concat(Na[Wa-1])}}const ua=F(t);let Ba=[],Fa;t=T(t).expand();const Pa=k.tuple;if(null!=Pa){const Na=Pa.split(/\s+/);for(var Ua of t)if(-1===Na.indexOf(Ua.toString()))throw new J("Tuple lookup key must be one of "+ -Pa+". Supplied key is "+Ua.toString(),"XPTY0004",k);}for(;null!==(Fa=ua.next());)if(ld.isArray(Fa))Ua=ia(Fa.value),t.forEach(Ua);else if(ld.pe(Fa))t.forEach(U);else if(null!=Pa&&ld.ki(Fa))t.forEach(R);else throw new J("The source for a lookup operator (?) must be of type array() or map(); supplied value is "+Aa.showValue(Fa),"XPTY0004",k);return Pb(Ba)}},lookupAll:function(k){const F=d(k);return T=>{function t(ua){U=U.concat(ua)}function R(ua){U=U.concat(ia.get(ua))}T=F(T);let U=[],ia;for(;null!== -(ia=T.next());)if(ld.isArray(ia))ia.value.forEach(t);else if(ld.pe(ia))ia.keys().forEach(R);else throw new J("The source for a lookup operator ('?') must be of type array() or map(); supplied value is "+Aa.showValue(ia),"XPTY0004",k);return Pb(U)}},lookupTuple:function(k){const F=d(k),T=k.key;return t=>{t=F(t);let R=[],U;for(;null!==(U=t.next());)if(null!=T&&ld.ki(U))R=R.concat(U[T]);else throw new J("The source for a lookupTuple operator (?) must be of type tuple(); supplied value is "+Aa.showValue(U), -"XPTY0004",k);return Pb(R)}},map:function(k){const F=(k.C||[]).map(m);return T=>{const t=new lc;let R=null;F.forEach(function(U){if(null===R)R=U(T).next();else{if(t.containsKey(R))throw new J("Duplicate map constructor entries for key:"+Aa.showValue(R),"XQDY0137",k);U=U(T).expand();t.inSituPut(R,U);R=null}});return Ub(t)}},merge:function(k){return F=>qe.ck(k,F)},mergeAdj:function(k){const F=d(k);return T=>{const t=[],R=F(T);let U=!1,ia;for(;null!==(ia=R.next());){var ua=W.Q(ia)&&(3===ia.nodeType|| -4===ia.nodeType);ua&&""===ia.nodeValue||(U&&ua?(ua=W.xc(T.resultDocument),t.push(ua.createTextNode(t.pop().nodeValue+ia.nodeValue))):(U=ua,t.push(ia)))}return Pb(t)}},message:function(k){const F=m(u(k,"terminate")),T=m(u(k,"error"));return t=>{const R=t.tempOutputState;t.tempOutputState="variable";var U=F(t).next();let ia=T(t).next().toString();try{ia=ca(k,ia,!0).toEQName()}catch(Pa){ia="Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}let ua;try{ua=A(U.toString())}catch(Pa){throw new J("The terminate attribute of xsl:message must be yes|no|true|false|1|0", -"XTDE0030",k);}U=ae(t);const Ba=new fe(U);try{var Fa=ee.getComplexContentOutputter(Ba);Fa.startDoc();ee.push(k.C[0],t,Fa);Fa.endDoc()}catch(Pa){Ba.append(Sa.XS.string.fromString("xsl:message evaluation at "+Aa.location(k)+" failed: "+Pa))}Fa=U.iter().next();t.fixed.la.rg||(t.fixed.la.rg=ya.ei());try{t.countMessage(ia),t.fixed.la.rg(Fa,ia)}catch(Pa){}if(ua)throw Aa.Qa(t.getStackTrace(),1,t.fixed.Ga),t=new J("Terminated with "+Fa,ia,k),t.errorObject=Fa,t;t.tempOutputState=R;return Tb}},minus:function(k){const F= -d(k);return T=>F(T).mapOneToOne(t=>t.tf())},namespace:function(k){const F=d(k),T=n(k);return t=>{const R=F(t).next().toString();t=T(t).next().toString();if(""!==R&&!Ma.isNCName(R))throw new J("Prefix "+R+" is not an NCName","XTDE0920",k);if(""===t)throw new J("Namespace is zero-length","XTDE0930",k);if("xmlns"===R)throw new J("Disallowed prefix xmlns","XTDE0920",k);if("http://www.w3.org/2000/xmlns/"===t)throw new J("Disallowed namespace "+t,"XTDE0905",k);if(!G(t))throw new J("Invalid namespace "+ -t,"XTDE0905",k);if("xml"===R!==(t===dc.oc))throw new J("The xml namespace prefix and uri can only be used together","XTDE0925",k);return Ub(new gc(R,t))}},nextIteration:S,nextMatch:S,nodeNum:function(k){return F=>ke.hk(k,F)},"null":function(k){return()=>Ub(k)},numSeqFmt:function(k){return F=>ke.ik(k,F)},onEmpty:b,onNonEmpty:b,or:function(k){const F=d(k),T=n(k);return t=>bc(e(F(t))||e(T(t)))},origFC:function(k){k.C||(k.C=[]);const F=k.C.map(m);return T=>{if(!k._target){const U=k.pack,ia=ca(k,k.name, -!1).toEQName(),ua=k.C.length,Ba=T.fixed.xa;Object.keys(Ba).forEach(function(Fa){Fa=Ba[Fa];Fa.zi.name===U&&Fa.name===ia&&Fa.actor&&"function"===Fa.actor.N&&z(Fa.actor,"arg").length===ua&&(k._target=Fa.id)})}const t=T.fixed.xa[k._target],R=F.map(U=>U(T).expand());return B(k,t,R,T)}},param:function(k){const F=k.name,T=parseInt(k.slot,10),t=Q(k,"t"),R=m(u(k,"select")),U=m(u(k,"conversion"));return ia=>{var ua=t?ia.tunnelParams:ia.localParams,Ba=Sa.XS.QName.fromEQName(F);if(ua.containsKey(Ba))ua=ua.get(Ba), -""!==nc(k.as||"*").T().p&&(ua=Y(ua));else if(R&&!Q(k,"r"))Ba=ia.tempOutputState,ia.tempOutputState="xsl:param",ua=R(ia).expand(),ia.tempOutputState=Ba;else throw new J("Required parameter $"+F+" not supplied","XTDE0700",k);Aa.ba(Array.isArray(ua));ia.localVars[T]=ua;if(U)try{ia.localVars[T]=U(ia).expand()}catch(Fa){throw new J("Supplied value for parameter $"+F+" could not be converted to required type","XTTE0590",k);}return Tb}},partialApply:function(k){const F=d(k),T=[],t=[];let R=0;const U=k.C.length- -1;for(let ia=1;ia{const ua=F(ia).next(),Ba=[];for(let Fa=0;FaW.fb(T,t))});return T=>Ub(F(T))},procInst:S,qName:function(k){const F=ea.QName.fromParts(k.pre,k.uri, -k.loc);return()=>Ub(F)},range:function(k){const F=ea.integer.fromString(k.from),T=ea.integer.fromString(k.to);return()=>l(F,T)},resultDoc:function(k){return F=>{try{if(F.tempOutputState)throw new J("Cannot call xsl:result-document while evaluating "+F.tempOutputState,"XTDE1480",k);var T=L(k,F);const t={};let R=function(){};const U=u(k,"format");if(U){let la=H(U,F).next().toString();la=ca(k,la,!0).toEQName();const fa=T.Mg[la];if(!fa)throw new J("Unknown xsl:output format "+la,"XTDE1460");let ta,Ca; -for(const Ka of fa.C){let Qa=Ka.name;"parameter-document"===Qa?ta=Ka.value:"Q{http://saxon.sf.net/}parameter-document-base-uri"===Qa?Ca=Ka.value:t[Qa]="use-character-maps"===Qa?le.Ff(Qa,Ka.value,T):le.validateParam(Qa,Ka.value)}if(ta){const Ka=ya.resolveUri(ta,Ca);let Qa=Td.uc(Ka,F);le.parseParamDoc(Qa.documentElement,t)}}p(k.global,t,T);p(k.local,t,T);for(const la of k.C){let fa=la.role.replace(/^Q{\}/,"");if(!["href","format","content","parameter-document"].includes(fa)){"output-version"===fa&& -(fa="version");let ta=H(la,F).next().toString();ta="use-character-maps"===fa?le.Ff(fa,ta,T):le.validateParam(fa,ta,O(k,!0));"undefined"!==typeof ta&&(t[fa]=le.uf(fa,ta,t[fa]))}}const ia=u(k,"Q{}parameter-document");if(null!==ia){const la=H(ia,F).next().toString(),fa=ya.resolveUri(la,ld.staticBaseUri(k,F));let ta=Td.uc(fa,F);le.parseParamDoc(ta.documentElement,t)}const ua=F.fixed.yb,Ba=u(k,"href"),Fa=null===Ba?"":H(Ba,F).next().toString();let Pa;Pa=ua?ya.newURL(Fa,ua):W.Wc(Fa)?ya.newURL(Fa):Fa;const Ua= -Pa.toString();if(F.fixed.yb&&Ua===F.fixed.yb.toString()&&1{F.failIfNoCurrentFocus("XPDY0002","/",k);F=F.getCurrentFocus();if(!W.Q(F))throw new J("Context item for '/' must be a node","XPTY0020",k);const T=W.ic(F);if(9!==T.nodeType&&11!==T.nodeType)throw new J("Root node for '/' must be a document node","XPDY0050",k);return Ub(W.ic(F))}},sequence:b,slash:function(k){const F=d(k),T=n(k);return t=>{const R=t.newContext(!1);R.focus=Xb(F(t));return R.focus.mapOneToMany(()=>T(R))}},some:function(k){const F=parseInt(k.slot,10), -T=d(k),t=n(k);return R=>{const U=T(R);return bc(U.some(function(ia){R.localVars[F]=[ia];return e(t(R))}))}},sort:function(k){const F=Nd.Ak(k);return T=>{try{return F(T)}catch(t){if(t instanceof J&&"FOCH0002"===t.code)throw new J(t.message,"XTDE1035",k);if(t instanceof J&&"XPTY0004"===t.code)throw new J(t.message,"XTDE1030",k);throw t;}}},sourceDoc:S,str:function(k){const F=k.val;return()=>Yb(F)},subscript:function(k){const F=d(k),T=n(k);return t=>{var R=F(t);t=T(t).next();if("ADI"===t.code)t=t.value; -else if(t.equals(t.round(0)))t=Sa.XS.integer.I(t).value;else return Tb;return(R=R.pf(t))?Ub(R):Tb}},supplied:function(k){const F=parseInt(k.slot,10);return T=>Pb(T.localVars[F])},tail:function(k){const F=parseInt(k.start,10)-1;let T=d(k);return t=>{let R=F;return T(t).filter(function(){return 0>=R--})}},tailCallLoop:b,to:function(k){const F=d(k),T=n(k);return t=>{const R=F(t).next();t=T(t).next();return null===R||null===t||0t(R).mapOneToOne(function(U){if(T(U))return U;const ia=h(k.diag);throw new J("Required item type of "+ia.gd+" is "+F.toString()+"; supplied value is "+Aa.showValue(U),ia.code,k);})},"true":function(){return()=>bc(!0)},"try":function(k){const F=d(k),T=z(k,"catch");T.forEach(t=>{const R=t.errors.split(" ").map(U=>{if("*"===U)return()=>!0;if(/^\*:/.test(U)){const ua=U.substring(2);return Ba=>Ba.local===ua}if(/}\*$/.test(U)){const ua=U.substring(2,U.length-2);return Ba=>Ba.q===ua}const ia= -ea.QName.fromEQName(U);return ua=>ua.equals(ia)});t.test=1===R.length?R[0]:U=>R.some(ia=>ia(U))});return t=>{try{return Pb(F(t).expand())}catch(R){if(R instanceof J&&!R.Le){t.currentError=R;R.xsltLineNr||za(R,k.C[0]);let U;U=R.code.match("^Q{")?ea.QName.fromEQName(R.code):ea.QName.fromParts("","http://www.w3.org/2005/xqt-errors",R.code);for(let ia=0;ia{const t=E(k,T,"function"),R=F.map(U=>U(T).expand());return B(k,t,R,T)}},ufRef:function(k){let F=k.name;F=/^[a-z]+:/.test(F)?ca(k,F,!0):/^Q\{/.test(F)?ea.QName.fromEQName(F):ea.QName.fromParts("",dc.za,F);const T=parseInt(k.arity,10),t=Pd.find("SaxonJS").XPath;return R=>{const U=t.getFnSignature(F,T,R);if(U&&U.isUserFunction)return R=new jd.Vf(U,R),Ub(R);Aa.fa("Named user function "+F+"#"+T+" not found")}},union:function(k){const F=d(k),T=n(k);return t=>new Jb(F(t),T(t), -W.fb)},useAS:S,valueOf:S,varRef:function(k){const F=parseInt(k.slot,10);return T=>Pb(T.localVars[F])},vc:function(k){function F(ia){return null===ia?null:ea.untypedAtomic.matches(ia)?ea.string.I(ia):ia}const T=k.op,t=k.onEmpty,R=d(k),U=n(k);return ia=>{const ua=R(ia),Ba=U(ia),Fa=F(ua.next()),Pa=F(Ba.next());if(null===Fa||null===Pa)return t?bc("1"===t):Tb;if(null!==ua.next()||null!==Ba.next())throw new J("Value comparison only applicable to single values","XPTY0004",k);if(Fa.isNumeric()&&isNaN(Fa.value)|| -Pa.isNumeric()&&isNaN(Pa.value))return bc("ne"===T);ia=Nd.be(k.comp,ia);return["=","eq","!=","ne"].includes(T)?bc(Nd.Oi(T,ia.equals(Fa,Pa))):bc(Nd.Af(T,ia.compare(Fa,Pa)))}}};M.prototype={value:null,containsKey:function(k){return"undefined"!==typeof this.value[k]},get:function(k){return ja(this.value[k])},inSituPut:function(){throw new J("inSituPut() not allowed for JSValue","SXJS0005");},put:function(){throw new J("put() not allowed for JSValue","SXJS0005");},remove:function(){throw new J("remove() not allowed for JSValue", -"SXJS0005");},keys:function(){throw new J("keys() not allowed for JSValue","SXJS0005");},forAllPairs:function(){throw new J("forEach() not allowed for JSValue","SXJS0005");},conforms:function(){throw new J("conforms() not allowed for JSValue","SXJS0005");},showValue:function(){return"JSValue "+Aa.showValue(this.value)}};aa.prototype={value:null,showValue:function(){return"XDMValue "+Aa.showValue(this.value)}};return{$:u,Ze:v,atomize:P,jj:g,yl:function(){return"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")}, -og:Z,db:z,oj:ha,pg:w,nb:y,fe:L,Eg:E,wd:e,Fa:d,Mh:n,elaborate:m,escape:function(k,F){let T="";Ia(k).forEach(function(t){const R=Ja([t]);T+=F(t,R)?encodeURIComponent(R):R});return T},evaluate:H,hc:function(k,F){return null===k?Tb:H(k,F)},tj:function(k,F,T,t){const R=pe[k.local];R||c(k.toString()+"()",t);return R(F.map(U=>Pb(U)),T,t)},uj:function(k,F,T,t){return va(k.q,k.local,F.map(R=>Pb(R)),T,t)},flatten:da,getInheritedProperty:na,Il:function(k){if("undefined"!==typeof k)return x(k,"module",20)+"#"+ -x(k,"line",10)},qb:Q,inScopeNamespaces:ma,isArray:K,pe:X,Bd:V,ki:function(k){return k instanceof re},Yj:A,Tf:M,am:c,tk:h,qk:function(k){va=k},fm:C,staticBaseUri:I,Be:Y,Ug:ca,stylesheetResolver:O,Si:function(k){return"AZ"===k.code?ea.double.I(k):k},Ek:G,Na:ja,xl:aa}}();function se(a,b){for(var h in a)b[h]=a[h]}function te(a,b){var h=a.prototype;if(Object.create){var A=Object.create(b.prototype);h.__proto__=A}if(!(h instanceof b)){function P(){}P.prototype=b.prototype;P=new P;se(h,P);a.prototype=h=P}h.constructor!=a&&(h.constructor=a)} -var ue={},ve=ue.ELEMENT_NODE=1,we=ue.ATTRIBUTE_NODE=2,xe=ue.TEXT_NODE=3,ye=ue.CDATA_SECTION_NODE=4,ze=ue.ENTITY_REFERENCE_NODE=5,Ae=ue.ENTITY_NODE=6,Be=ue.PROCESSING_INSTRUCTION_NODE=7,Ce=ue.COMMENT_NODE=8,De=ue.DOCUMENT_NODE=9,Ee=ue.DOCUMENT_TYPE_NODE=10,Fe=ue.DOCUMENT_FRAGMENT_NODE=11,Ge=ue.NOTATION_NODE=12,He={},Ie={};He.INDEX_SIZE_ERR=(Ie[1]="Index size error",1);He.DOMSTRING_SIZE_ERR=(Ie[2]="DOMString size error",2);He.HIERARCHY_REQUEST_ERR=(Ie[3]="Hierarchy request error",3); -He.WRONG_DOCUMENT_ERR=(Ie[4]="Wrong document",4);He.INVALID_CHARACTER_ERR=(Ie[5]="Invalid character",5);He.NO_DATA_ALLOWED_ERR=(Ie[6]="No data allowed",6);He.NO_MODIFICATION_ALLOWED_ERR=(Ie[7]="No modification allowed",7);var Je=He.NOT_FOUND_ERR=(Ie[8]="Not found",8);He.NOT_SUPPORTED_ERR=(Ie[9]="Not supported",9);var Ke=He.INUSE_ATTRIBUTE_ERR=(Ie[10]="Attribute in use",10);He.INVALID_STATE_ERR=(Ie[11]="Invalid state",11);He.SYNTAX_ERR=(Ie[12]="Syntax error",12); -He.INVALID_MODIFICATION_ERR=(Ie[13]="Invalid modification",13);He.NAMESPACE_ERR=(Ie[14]="Invalid namespace",14);He.INVALID_ACCESS_ERR=(Ie[15]="Invalid access",15);function Le(a,b=null){if(b instanceof Error)var h=b;else h=this,this.message=Ie[a],Error.captureStackTrace&&Error.captureStackTrace(this,Le);h.code=a;b&&(this.message=this.message+": "+b);return h}Le.prototype=Error.prototype;se(He,Le);function Me(){} -Me.prototype={length:0,item:function(a){return this[a]||null},forEach:function(a,b){b=b||this;for(var h=0;h"===a&&">"||"&"===a&&"&"||'"'===a&&"""||"&#"+a.charCodeAt()+";"}se(ue,Ve);se(ue,Ve.prototype);function $e(a,b){if(b(a))return!0;if(a=a.firstChild){do if($e(a,b))return!0;while(a=a.nextSibling)}}function af(){}af.prototype.nodeType=we;te(af,Ve);function Ue(){} -function Se(a,b,h){a&&a.pc++;"http://www.w3.org/2000/xmlns/"===h.namespaceURI&&delete b.ae[h.prefix?h.localName:""]}function bf(a,b,h=null){if(a&&a.pc)if(a.pc++,a=b.childNodes,h)a[a.length++]=h;else{b=b.firstChild;for(h=0;b;)a[h++]=b,b=b.nextSibling;a.length=h}}function Xe(a,b){var h=b.previousSibling,A=b.nextSibling;h?h.nextSibling=A:a.firstChild=A;A?A.previousSibling=h:a.lastChild=h;bf(a.ownerDocument,a);return b} -function We(a,b,h){var A=b.parentNode;A&&A.removeChild(b);if(b.nodeType===Fe){A=b.firstChild;if(null==A)return b;var P=b.lastChild}else A=P=b;var q=h?h.previousSibling:a.lastChild;A.previousSibling=q;P.nextSibling=h;q?q.nextSibling=A:a.firstChild=A;null==h?a.lastChild=P:h.previousSibling=P;do A.parentNode=a;while(A!==P&&(A=A.nextSibling));bf(a.ownerDocument||a,a);b.nodeType===Fe&&(b.firstChild=b.lastChild=null);return b} -Ue.prototype={nodeName:"#document",nodeType:De,doctype:null,documentElement:null,childNodes:[],pc:1,insertBefore:function(a,b){if(a.nodeType===Fe){for(var h=a.firstChild;h;){var A=h.nextSibling;this.insertBefore(h,b);h=A}return a}null==this.documentElement&&1==a.nodeType&&(this.documentElement=a);return We(this,a,b),a.ownerDocument=this,a},removeChild:function(a){this.documentElement===a&&(this.documentElement=null);return Xe(this,a)},importNode:function(a,b){return cf(this,a,b)},getElementById:function(a){var b= -null;$e(this.documentElement,function(h){if(1===h.nodeType&&(h.getAttribute("id")===a||h.getAttribute("xml:id")===a))return b=h,!0});return b},createElement:function(a){var b=new df;b.ownerDocument=this;b.nodeName=a;b.tagName=a;b.localName=a;b.namespaceURI="";b.childNodes=new Me;return(b.attributes=new Qe).b=b},createDocumentFragment:function(){var a=new ef;a.ownerDocument=this;a.childNodes=new Me;return a},createTextNode:function(a){var b=new ff;b.ownerDocument=this;b.appendData(a);return b},createComment:function(a){var b= -new gf;b.ownerDocument=this;b.appendData(a);return b},createProcessingInstruction:function(a,b){if("string"!==typeof a)throw Error("PI name must be a string");var h=new hf;h.ownerDocument=this;h.tagName=h.target=a;h.nodeValue=h.data=b;return h},createAttribute:function(a){var b=new af;b.ownerDocument=this;b.name=a;b.nodeName=a;b.localName=a;b.specified=!0;return b},createElementNS:function(a,b){var h=new df,A=b.split(":"),P=h.attributes=new Qe;h.childNodes=new Me;h.ownerDocument=this;h.nodeName=b; -h.tagName=b;h.namespaceURI=a;2==A.length?(h.prefix=A[0],h.localName=A[1]):h.localName=b;return P.b=h},createAttributeNS:function(a,b){var h=new af,A=b.split(":");h.ownerDocument=this;h.nodeName=b;h.name=b;h.namespaceURI=a;h.specified=!0;2==A.length?(h.prefix=A[0],h.localName=A[1]):h.localName=b;return h}};te(Ue,Ve);function df(){this.ae={}}function hc(a,b,h,A){b=a.ownerDocument.createAttributeNS(b,h);b.value=b.nodeValue=""+A;a.setAttributeNode(b)} -function jc(a,b,h){return(a=ic(a,b,h))&&a.value||""}function ic(a,b,h){a:{a=a.attributes;for(var A=a.length;A--;){var P=a[A];if(P.localName==h&&(P.namespaceURI==b||""==P.namespaceURI&&null==b)){b=P;break a}}b=null}return b} -df.prototype={nodeType:ve,getAttribute:function(a){return(a=this.attributes.getNamedItem(a))&&a.value||""},setAttribute:function(a,b){a=this.ownerDocument.createAttribute(a);a.value=a.nodeValue=""+b;this.setAttributeNode(a)},removeAttribute:function(a){(a=this.attributes.getNamedItem(a))&&this.attributes.removeNamedItem(a.nodeName)},appendChild:function(a){if(a.nodeType===Fe)a=this.insertBefore(a,null);else{var b=a.parentNode;b&&b.removeChild(a);b=this.lastChild;a.parentNode=this;a.previousSibling= -b;a.nextSibling=null;b?b.nextSibling=a:this.firstChild=a;this.lastChild=a;bf(this.ownerDocument,this,a)}return a},setAttributeNode:function(a){return this.attributes.setNamedItem(a)},getElementsByTagName:function(a){return new Ne(this,function(b){var h=[];$e(b,function(A){A===b||A.nodeType!=ve||"*"!==a&&A.tagName!=a||h.push(A)});return h})}};Ue.prototype.getElementsByTagName=df.prototype.getElementsByTagName;te(df,Ve);function jf(){} -jf.prototype={data:"",appendData:function(a){this.nodeValue=this.data=a=this.data+a;this.length=a.length},appendChild:function(){throw Error(Ie[3]);}};te(jf,Ve);function ff(){}ff.prototype={nodeName:"#text",nodeType:xe};te(ff,jf);function gf(){}gf.prototype={nodeName:"#comment",nodeType:Ce};te(gf,jf);function kf(){}kf.prototype={nodeName:"#cdata-section",nodeType:ye};te(kf,jf);function lf(){}lf.prototype.nodeType=Ee;te(lf,Ve);function mf(){}mf.prototype.nodeType=Ge;te(mf,Ve);function nf(){} -nf.prototype.nodeType=Ae;te(nf,Ve);function of(){}of.prototype.nodeType=ze;te(of,Ve);function ef(){}ef.prototype.nodeName="#document-fragment";ef.prototype.nodeType=Fe;te(ef,Ve);function hf(){}hf.prototype.nodeType=Be;hf.prototype.target=null;hf.prototype.data=null;te(hf,Ve);Ve.prototype.toString=function(a){var b=[];pf(this,b,a);return b.join("")}; -function pf(a,b,h,A=!1){switch(a.nodeType){case ve:var P=a.attributes,q=P.length,g=a.firstChild,e=a.tagName;A="http://www.w3.org/1999/xhtml"===a.namespaceURI||A;b.push("<",e);h&&b.sort.apply(P,h);for(a=0;a");if(A&&/^script$/i.test(e))g&&b.push(g.data);else for(;g;)pf(g,b,h,A),g=g.nextSibling;b.push("")}else b.push("/>");break;case De:case Fe:for(g=a.firstChild;g;)pf(g,b,h,A),g=g.nextSibling;break; -case we:b.push(" ",a.name,'="',a.value.replace(/[<&"]/g,Ze),'"');break;case xe:b.push(a.data.replace(/[<&]/g,Ze));break;case ye:b.push("')):A&&"."!=A?b.push(' SYSTEM "',A,'">'):((a=a.Ml)&&b.push(" [",a,"]"),b.push(">"));break;case Be:b.push("");break;case ze:b.push("&",a.nodeName, -";");break;default:b.push("??",a.nodeName)}}function cf(a,b,h){switch(b.nodeType){case ve:var A=b.cloneNode(!1);A.ownerDocument=a;case Fe:break;case we:h=!0}A||=b.cloneNode(!1);A.ownerDocument=a;A.parentNode=null;if(h)for(b=b.firstChild;b;)A.appendChild(cf(a,b,h)),b=b.nextSibling;return A} -function Ye(a,b,h){var A=new b.constructor;for(q in b){var P=b[q];"object"!=typeof P&&P!=A[q]&&(A[q]=P)}b.childNodes&&(A.childNodes=new Me);A.ownerDocument=a;switch(A.nodeType){case ve:var q=b.attributes;var g=A.attributes=new Qe;P=q.length;g.b=A;for(g=0;gD?Math.ceil(D):Math.floor(D)};Array.prototype.findIndex||Object.defineProperty(Array.prototype, -"findIndex",{value:function(D,r){if(null==this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!==typeof D)throw new TypeError("predicate must be a function");for(var c=Object(this),d=c.length>>>0,n,m=0;mthis.length?!1:-1!==this.indexOf(D,r)})}const e= -require("path"),{URL:l,fileURLToPath:z}=require("url"),v=require("fs"),G=require("axios"),p=require("util").TextEncoder,f=require("util").TextDecoder,I={regexCategories:sa,functions:wa,elements:xa,compiler:ra};return{name:"Node.js",init:function(){try{(new DOMParser).parseFromString("<","text/xml").getElementsByTagName("parsererror")}catch(D){}g()},inBrowser:function(){return!1},cwd:h,fileURL:b,makeBuffer:function(D,r){r=A(r);r=Buffer.isEncoding(r)?r:"utf-8";return Buffer.from(D,r)},makeHttpRequest:function(){throw new J("http-request is not supported under Node.js", -"SXJS0002");},expose:function(D){module.exports=D},parseXmlFromString:function(D,r=!0){D=D.replace(/\r\n|\r(?!\n)/g,"\n");try{return P(D,r)}catch(c){throw new J(c.message,"FODC0002");}},parseJsonFromString:function(D){return Sd.Gd(D,null)},getStdOut:function(){return process.stdout},readFile:function(D){Buffer.from([239,187,190]);Buffer.from([255,254]);Buffer.from([254,255]);let r,c,d;try{if(D instanceof l&&"file"!==D.protocol||/^http(s?)/.test(D))throw new J("Synchronous access to non-file resources is not allowed"); -D instanceof l||/^file:/.test(D)?(d=decodeURI(D),r=v.readFileSync(a(d))):r=v.readFileSync(D);const n=Buffer.from(''),m=Buffer.from('encoding="iso-8859-1');Buffer.from("");255===r[0]&&254===r[1]?c=r.slice(2).toString("utf16le"):254===r[0]&&255===r[1]?(q(r),c=r.slice(2).toString("utf16le")):c=239===r[0]&&187===r[1]&&191===r[2]?r.slice(3).toString("utf8"):r.includes(m)?r.toString("latin1"):r.includes(n)?r.toString("utf16le"):r.toString("utf8")}catch(n){throw new J("Cannot read file "+ -D+" - "+n.message,"FODC0002");}if(0<=c.indexOf("\ufffd")&&!r.includes("\ufffd"))throw new J("External file "+d+" contains badly encoded characters at line "+c.substring(0,c.indexOf("\ufffd")).split(/\n/).length,"FOUT1190");return c},writeFileAsync:function(D,r,c){if(!(D instanceof l))throw new J("writeFile('"+D+"'): expected URL");c=A(c);let d=decodeURIComponent(D.pathname);"win32"===process.platform&&(d=d.substring(1));return d.includes("/")?v.promises.mkdir(d.replace(/\/[^/]*$/,""),{recursive:!0}).then(()=> -v.promises.writeFile(d,r,{encoding:c||"utf8"})):v.promises.writeFile(D,r,{encoding:c||"utf8"})},writeFileSync:function(D,r,c){if(!(D instanceof l))throw new J("writeFileSync('"+D+"'): expected URL");D=decodeURIComponent(D.pathname);"win32"===process.platform&&(D=D.substring(1));if(D.includes("/")&&D.includes("/")){let d=D.replace(/\/[^/]*$/,"");v.existsSync(d)||v.mkdirSync(d,{recursive:!0});v.existsSync(d)||console.log("dir still doesn't exist "+d)}c=A(c);v.writeFileSync(D,r,{encoding:c||"utf8"})}, -resourcePromise:function(D){const r=D.encoding;let c="file";if(D.file){var d=D.file;d.startsWith("file:")&&(d=z(D.file));c=d;d=v.promises.readFile(d,r)}else if(D.location){var n=d=D.location;d instanceof l?d=d.toString():n=a(d);c=d;"file:"===n.protocol?d=v.promises.readFile(n,r):(n={method:"get",responseType:"text",encoding:r},D.headers&&(n.headers=D.headers),d=G.get(d,n).then(m=>{m=m.data;"string"!==typeof m&&(m=JSON.stringify(m));return m}))}return d.catch(m=>Promise.reject(new J("Failed to read "+ -c+" ("+(/ENOENT/.test(m.message)?"no such file":m.message)+")","FODC0002",D.expr))).then(m=>{if(m instanceof Buffer)if(r)m=m.toString(r);else{let u;try{const Q=Buffer.from('encoding="utf-16"'),ma=Buffer.from('encoding="iso-8859-1"');255===m[0]&&254===m[1]?u=m.slice(2).toString("utf16le"):254===m[0]&&255===m[1]?(q(m),u=m.slice(2).toString("utf16le")):u=239===m[0]&&187===m[1]&&191===m[2]?m.slice(3).toString("utf8"):m.includes(ma)?m.toString("latin1"):m.includes(Q)?m.toString("utf16le"):m.toString("utf8")}catch(Q){throw new J("Failed to decode "+ -e+" ("+Q.message+")","FODC0002");}if(0<=u.indexOf("\ufffd")&&!m.includes("\ufffd"))throw new J("External file undefined contains badly encoded characters at line "+u.substring(0,u.indexOf("\ufffd")).split(/\n/).length,"FOUT1190",D.expr);m=u}65279===m.codePointAt(0)&&(m=m.substring(1));return Promise.resolve(m)})},resolveUri:function(D,r){try{return(r||null!==r?a(D,r):a(D)).toString()}catch(c){throw new J("Failed URI resolution: href="+D+" base="+r+" -- "+c,"FODC0005");}},baseURL:function(){try{return b(h())+ -"/"}catch(D){throw new J("Failed baseURL"+D,"FODC0005");}},resource:function(D){"undefined"===typeof I[D]&&Aa.fa("Unknown resource request:"+D);return I[D]},getDefaultDeliverMessage:function(){return function(D){D=ld.atomize(D).expand().toString();console.warn(D)}},isHTMLElement:function(){return!1},saxonPrint:function(D){console.error(D)},createDocument:function(){return(new Te).createDocument(null,null,null)},setDocURI:function(D,r){D._saxonBaseUri=r;return D},newURL:a,extraProperties:{platform:"Node.js"}, -toUTF8:function(D){return(new p).encode(D)},fromUTF8:function(D){return(new f).decode(D)},globalObject:global}}();/* - http://mths.be/fromcodepoint v0.1.0 by @mathias */ -var qf={}; -(function(a){function b(C,Z){if(!(this instanceof b))return new b(C,Z);for(var K=0,X=n.length;KC.indexOf(":")?["",C]:C.split(":"),X=K[0];K=K[1];Z&&"xmlns"===C&&(X="xmlns",K="");return{prefix:X,local:K}}function f(C){C.Od||(C.attribName=C.attribName[C.Jg]());if(-1===C.qc.indexOf(C.attribName)&&!C.sb.attributes.hasOwnProperty(C.attribName))if(C.bb.Ce){var Z=p(C.attribName, -!0),K=Z.local;if("xmlns"===Z.prefix)if("xml"===K&&C.attribValue!==na)G(C,"xml: prefix must be bound to "+na+"\nActual: "+C.attribValue);else if("xmlns"===K&&C.attribValue!==O)G(C,"xmlns: prefix must be bound to "+O+"\nActual: "+C.attribValue);else{Z=C.sb;var X=C.tb[C.tb.length-1]||C;Z.Da===X.Da&&(Z.Da=Object.create(X.Da));Z.Da[K]=C.attribValue}C.qc.push([C.attribName,C.attribValue])}else C.sb.attributes[C.attribName]=C.attribValue,g(C,"onattribute",{name:C.attribName,value:C.attribValue});C.attribName= -C.attribValue=""}function I(C,Z){if(C.bb.Ce){var K=C.sb,X=p(C.tagName);K.prefix=X.prefix;K.local=X.local;K.q=K.Da[X.prefix]||"";K.prefix&&!K.q&&(G(C,"Unbound namespace prefix: "+JSON.stringify(C.tagName)),K.q=X.prefix);X=C.tb[C.tb.length-1]||C;K.Da&&X.Da!==K.Da&&Object.keys(K.Da).forEach(function(Y){g(C,"onopennamespace",{prefix:Y,q:K.Da[Y]})});X=0;for(var V=C.qc.length;X";C.tagName="";C.G=H.rd;return}g(C,"onscript",C.script);C.script=""}var Z=C.tb.length, -K=C.tagName;C.Od||(K=K[C.Jg]());for(var X=K;Z--;)if(C.tb[Z].name!==X)G(C,"Unexpected close tag");else break;if(0>Z)G(C,"Unmatched closing tag: "+C.tagName),C.textNode+="";else{C.tagName=K;for(K=C.tb.length;K-- >Z;){var V=C.sb=C.tb.pop();C.tagName=C.sb.name;g(C,"onclosetag",C.tagName);for(var ha in V.Da);X=C.tb[C.tb.length-1]||C;C.bb.Ce&&V.Da!==X.Da&&Object.keys(V.Da).forEach(function(w){g(C,"onclosenamespace",{prefix:w,q:V.Da[w]})})}0===Z&&(C.ce=!0);C.tagName=C.attribValue=C.attribName= -"";C.qc.length=0}}else G(C,"Weird empty close tag."),C.textNode+="";C.G=H.vb}function r(C){var Z=C.entity,K=Z.toLowerCase(),X="";if(C.bc[Z])return C.bc[Z];if(C.bc[K])return C.bc[K];Z=K;if("#"===Z.charAt(0))if("x"===Z.charAt(1)){Z=Z.slice(2);var V=parseInt(Z,16);X=V.toString(16)}else Z=Z.slice(1),V=parseInt(Z,10),X=V.toString(10);Z=Z.replace(/^0+/,"");return isNaN(V)||X.toLowerCase()!==Z?(G(C,"Reference to unknown entity &"+C.entity+";"),"&"+C.entity+";"):String.fromCodePoint(V)}function c(C,Z){"<"=== -Z?(C.G=H.Wf,C.Sg=C.position):A(Z)||(G(C,"Non-whitespace before first tag."),C.textNode=Z,C.G=H.vb)}function d(C,Z){var K="";Z"===K?(g(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.G=H.vb):(P(K)&&(this.G=H.rh),this.sgmlDecl+=K);continue;case H.rh:K===this.Nb&&(this.G=H.bg,this.Nb="");this.sgmlDecl+=K;continue;case H.He:">"===K?(this.G=H.vb, -g(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=K,"["===K?this.G=H.Rf:P(K)&&(this.G=H.ih,this.Nb=K));continue;case H.ih:this.doctype+=K;K===this.Nb&&(this.Nb="",this.G=H.He);continue;case H.Rf:this.doctype+=K;"]"===K?this.G=H.He:P(K)&&(this.G=H.hh,this.Nb=K);continue;case H.hh:this.doctype+=K;K===this.Nb&&(this.G=H.Rf,this.Nb="");continue;case H.Fe:"-"===K?this.G=H.fh:this.comment+=K;continue;case H.fh:"-"===K?(this.G=H.eh,this.comment=l(this.bb,this.comment),g(this,"oncomment",this.comment), -this.comment=""):(this.comment+="-"+K,this.G=H.Fe);continue;case H.eh:">"!==K?(G(this,"Malformed comment"),this.comment+="--"+K,this.G=H.Fe):this.G=H.vb;continue;case H.Ee:"]"===K?this.G=H.bh:this.cdata+=K;continue;case H.bh:"]"===K?this.G=H.ch:(this.cdata+="]"+K,this.G=H.Ee);continue;case H.ch:">"===K?(this.cdata&&g(this,"oncdata",this.cdata),g(this,"onclosecdata"),this.cdata="",this.G=H.vb):"]"===K?this.cdata+="]":(this.cdata+="]]"+K,this.G=H.Ee);continue;case H.ph:"?"===K?this.G=H.ag:A(K)?this.G= -H.$f:this.procInstName+=K;continue;case H.$f:if(!this.procInstBody&&A(K))continue;else"?"===K?this.G=H.ag:this.procInstBody+=K;continue;case H.ag:">"===K?(g(this,"onprocessinginstruction",{name:this.procInstName,rc:this.procInstBody}),this.procInstName=this.procInstBody="",this.G=H.vb):(this.procInstBody+="?"+K,this.G=H.$f);continue;case H.kh:if(E.test(K))this.tagName+=K;else{this.Od||(this.tagName=this.tagName[this.Jg]());X=this.tb[this.tb.length-1]||this;var V=this.sb={name:this.tagName,attributes:{}}; -this.bb.Ce&&(V.Da=X.Da);this.qc.length=0;g(this,"onopentagstart",V);">"===K?I(this):"/"===K?this.G=H.Ne:(A(K)||G(this,"Invalid character in tag name"),this.G=H.pd)}continue;case H.Ne:">"===K?(I(this,!0),D(this)):(G(this,"Forward-slash in opening tag not followed by >"),this.G=H.pd);continue;case H.pd:if(A(K))continue;else">"===K?I(this):"/"===K?this.G=H.Ne:x.test(K)?(this.attribName=K,this.attribValue="",this.G=H.De):G(this,"Invalid attribute name");continue;case H.De:"="===K?this.G=H.Hf:">"===K? -(G(this,"Attribute without value"),this.attribValue=this.attribName,f(this),I(this)):A(K)?this.G=H.$g:E.test(K)?this.attribName+=K:G(this,"Invalid attribute name");continue;case H.$g:if("="===K)this.G=H.Hf;else if(A(K))continue;else G(this,"Attribute without value"),this.attribValue=this.sb.attributes[this.attribName]="",g(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===K?I(this):x.test(K)?(this.attribName=K,this.G=H.De):(G(this,"Invalid attribute name"),this.G=H.pd); -continue;case H.Hf:if(A(K))continue;else P(K)?(this.Nb=K,this.G=H.Kf):(G(this,"Unquoted attribute value"),this.G=H.Lf,this.attribValue=K);continue;case H.Kf:if(K!==this.Nb){"&"===K?this.G=H.If:/[\t\r\n]/.test(K)?this.attribValue+=" ":this.attribValue+=K;continue}f(this);this.Nb="";this.G=H.ah;continue;case H.ah:A(K)?this.G=H.pd:">"===K?I(this):"/"===K?this.G=H.Ne:x.test(K)?(G(this,"No whitespace between attributes"),this.attribName=K,this.attribValue="",this.G=H.De):G(this,"Invalid attribute name"); -continue;case H.Lf:if(">"!==K&&!A(K)){"&"===K?this.G=H.Jf:this.attribValue+=K;continue}f(this);">"===K?I(this):this.G=H.pd;continue;case H.Of:if(this.tagName)">"===K?D(this):E.test(K)?this.tagName+=K:this.script?(this.script+=""===K?D(this):G(this,"Invalid characters in closing tag");continue;case H.dg:case H.If:case H.Jf:switch(this.G){case H.dg:var ha=H.vb;var w="textNode";break;case H.If:ha=H.Kf;w="attribValue";break;case H.Jf:ha=H.Lf,w="attribValue"}";"===K?(this[w]+=r(this),this.entity="",this.G=ha):(this.entity&&this.entity.length?L:B).test(K)?this.entity+=K:(G(this,"Invalid character in entity name"),this[w]+="&"+this.entity+K,this.entity="",this.G=ha);continue;default:throw Error(this,"Unknown state: "+this.G); -}}if(this.position>=this.Dh){C=Math.max(a.Uf,10);K=Z=0;for(ha=n.length;KC)switch(n[K]){case "textNode":e(this);break;case "cdata":g(this,"oncdata",this.cdata);this.cdata="";break;case "script":g(this,"onscript",this.script);this.script="";break;default:z(this,"Max buffer length exceeded: "+n[K])}Z=Math.max(Z,w)}this.Dh=a.Uf-Z+this.position}return this},resume:function(){this.error=null;return this},close:function(){return this.write(null)},flush:function(){e(this); -""!==this.cdata&&(g(this,"oncdata",this.cdata),this.cdata="");""!==this.script&&(g(this,"onscript",this.script),this.script="")}};try{var m=require("stream").Stream}catch(C){m=function(){}}var u=a.Wi.filter(function(C){return"error"!==C&&"end"!==C});h.prototype=Object.create(m.prototype,{constructor:{value:h}});h.prototype.write=function(C){this.b.write(C.toString());this.g("data",C);return!0};h.prototype.R=function(C){C&&C.length&&this.write(C);this.b.R();return!0};h.prototype.vi=function(C,Z){var K= -this;K.b["on"+C]||-1===u.indexOf(C)||(K.b["on"+C]=function(){var X=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);X.splice(0,0,C);K.g.apply(K,X)});return m.prototype.vi.call(K,C,Z)};var Q="[CDATA[",ma="DOCTYPE",na="http://www.w3.org/XML/1998/namespace",O="http://www.w3.org/2000/xmlns/",ca={xml:na,xmlns:O},x=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,E=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/, -B=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,L=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,H=0;a.Se={Mf:H++,Nf:H++,vb:H++,dg:H++,Wf:H++,bg:H++,rh:H++,He:H++,ih:H++,Rf:H++,hh:H++,Mk:H++,Fe:H++,fh:H++,eh:H++,Ee:H++,bh:H++,ch:H++,ph:H++,$f:H++, -ag:H++,kh:H++,Ne:H++,pd:H++,De:H++,$g:H++,Hf:H++,Kf:H++,ah:H++,Lf:H++,If:H++,Jf:H++,Of:H++,dh:H++,rd:H++,qh:H++};a.aj={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};a.bc={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220, -Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177, -sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949, -zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364, -image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,"int":8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839, -oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};Object.keys(a.bc).forEach(function(C){var Z=a.bc[C];a.bc[C]="number"===typeof Z?String.fromCharCode(Z):Z});for(var S in a.Se)a.Se[a.Se[S]]=S;H=a.Se;String.fromCodePoint||function(){function C(){var X=[],V=-1,ha=arguments.length;if(!ha)return"";for(var w="";++VM||1114111=M)X.push(M);else{M-=65536;var aa=(M>>10)+55296;M=M%1024+56320;X.push(aa,M)}if(V+1===ha||16384a+=b.k+":("+b.v+"),");a+="}";return"context: "+this.getCurrentFocus()+" localParams: "+a}newContext(a){const b=new rf;b.depth=this.depth+1;b.focus=this.focus;b.currentComponent=this.currentComponent;b.resultDocument=this.resultDocument;b.masterDocument=this.masterDocument;b.currentMode=this.currentMode;b.currentTemplate=this.currentTemplate;b.currentError=this.currentError;b.currentGroup=this.currentGroup;b.regexGroups=this.regexGroups;b.currentGroupingKey=this.currentGroupingKey; -b.fixed=this.fixed;b.tempOutputState=this.tempOutputState;b.outputURIs=this.outputURIs;b.currentEvent=this.currentEvent;b.useAccumulators=this.useAccumulators;b.messageCounts=this.messageCounts;b.b=this;a?(b.localParams=new lc,b.tunnelParams=new lc,b.localVars=[],b.currentMergeGroup=null):(b.localParams=this.localParams,b.tunnelParams=this.tunnelParams,b.localVars=this.localVars,b.currentMergeGroup=this.currentMergeGroup);return b}clearGrouping(){this.currentMergeGroup=this.currentGroupingKey=this.currentGroup= -null}createElement(a,b){const h=fc.xc(this.resultDocument),A=h.documentElement;""===a&&A&&ya.isHTMLElement(A)?b=h.createElement(b):"http://www.w3.org/1999/xhtml"===a&&A&&ya.isHTMLElement(A)?(a=b.indexOf(":"),b=h.createElement(-1===a?b:b.substring(a+1))):b=h.createElementNS(a,b);return b}createAttribute(a,b){return new ec(Sa.XS.QName.fromEQName("Q{"+a+"}"+b),null,null)}noCurrentFocus(){return!this.focus||!this.focus.current}failIfNoCurrentFocus(a,b,h=null){if(this.noCurrentFocus())throw new J("Focus for "+ -b+" is absent",a,h);}getCurrentFocus(){return this.noCurrentFocus()?null:this.focus.current}getCurrentOutputURI(){return 0===this.outputURIs.length?null:this.outputURIs[this.outputURIs.length-1]}pushCurrentOutputURI(a){this.outputURIs.push(a)}popCurrentOutputURI(){return this.outputURIs.pop()}countMessage(a){this.messageCounts[a]||(this.messageCounts[a]=0);this.messageCounts[a]++}getStackTrace(){let a="";this.noCurrentFocus()||(a=" Processing "+Aa.showValue(this.focus.current)+"\n");try{let b= -this.currentComponent.actor,h;"mode"===b.N?(h="template rule",b=this.currentTemplate.Xa):h=b.N+" "+b.name;a+=" at "+h+" in "+ld.getInheritedProperty(b,"module")+"#"+ld.getInheritedProperty(b,"line")}catch(b){a=""}this.b&&(a+="\n"+this.b.getStackTrace());return a}};var sf={},tf={};sf[0]="";sf[1]="|";sf[2]="/";sf[3]="@";sf[48]="~";sf[4]="[";sf[5]="(";sf[6]="=";sf[7]=",";sf[8]="//";sf[9]="or";sf[10]="and";sf[11]=">";sf[12]="<";sf[13]=">=";sf[14]="<=";sf[15]="+";sf[16]="-";sf[299]="-";sf[17]="*";sf[18]="div";sf[19]="mod";sf[20]="is";sf[21]="$";sf[22]="!=";sf[40]="!";sf[30]="||";sf[23]="intersect";sf[24]="except";sf[25]="return";sf[26]="then";sf[27]="else";sf[29]="to";sf[31]="in";sf[32]="some";sf[33]="every";sf[34]="satisfies";sf[35]="(";sf[36]=""; -sf[37]="if(";sf[38]="<<";sf[39]=">>";sf[41]="::";sf[42]=":*";sf[44]="#";sf[45]="instance of";sf[46]="cast as";sf[47]="treat as";sf[50]="eq";sf[51]="ne";sf[52]="gt";sf[54]="ge";sf[53]="lt";sf[55]="le";sf[56]="idiv";sf[57]="castable as";sf[58]=":=";sf[71]="as";sf[75]=":";sf[76]="=>";sf[79]="otherwise";sf[80]="andAlso";sf[81]="orElse";sf[201]="";sf[202]="";sf[203]="]";sf[204]=")";sf[205]=".";sf[206]="..";sf[207]="*";sf[208]="";sf[209]="";sf[69]="()"; -sf[211]="for";sf[70]="<*:local-name>";sf[213]="?";sf[59]="{";sf[60]=" {";sf[215]="}";sf[216]="let";sf[299]="-";function uf(a,b){tf[a]=b;sf[b]=a}uf("instance of",45);uf("cast as",46);uf("treat as",47);uf("castable as",57);var vf={El:function(){return null}};for(const a in dc)vf[a.toUpperCase()]=dc[a];vf.jl=dc.ac;vf.bj=dc.Jc;function wf(a){a=a.charCodeAt(0);return 65<=a&&90>=a||97<=a&&122>=a}var xf=Ma.isNCName;function yf(a){const b=a.charCodeAt(0);return wf(a)||48<=b&&57>=b}function zf(a,b="XPST0003"){return new J(a,b)}function Af(a="Illegal Argument"){return new J(a,"XPST0003")};function Bf(a,b){a.G=b;0===b?(a.O=-1,a.na="",a.y=-1):b===Cf&&(a.O=204,a.na=")",a.y=204)} -function Df(a){a.O=a.g;a.na=a.z;a.z=null;for(a.U=a.b;;){if(a.b>=a.x){a.g=0;break}var b=a.l.charAt(a.b++);switch(b){case "/":if(a.b"===a.l.charAt(a.b)){a.b++;a.g=76;return}a.g=6;return;case "!":if(a.b":if(a.b"===a.l.charAt(a.b)){a.b++;a.g=39;return}a.g=11;return;case ".":if(a.ba.l.charAt(a.b)||"9"=b||127=a.x)break;b=a.l.charAt(a.b++)}a.z=a.l.substring(a.U,a.b);a.g=209;return;case '"':case "'":for(a.z="";;){a.b=a.l.indexOf(b,a.b);if(0>a.b)throw a.b=a.U+1,new zf("Unmatched quote in expression");a.z+=a.l.substring(a.U+1,a.b++); -if(a.bb.charCodeAt(0)&&!wf(b))throw new zf("Invalid character '"+b+"' in expression");case "_":h=!1;a:for(;a.bb.charCodeAt(0)&&!yf(b))break a}a.z=a.l.substring(a.U,a.b);a.g=201;return}}} -function Hf(a,b){a.G=0;a.g=0;a.z=null;a.U=0;a.b=0;a.l=b;a.lineNumber=0;a.qa=0;a.x=b.length;Df(a);a.next()}function Gf(a){a={or:9,is:20,to:29,"in":31,eq:50,ne:51,le:55,lt:53,gt:52,ge:54,as:71,and:10,div:18,mod:19,idiv:56,then:26,"else":27,"case":67,where:28,union:1,except:24,"return":25,otherwise:79,orElse:81,"default":212,andAlso:80,intersect:23,satisfies:34}[a];return[81,80].includes(a)?-1:a||-1}function Ef(a,b=-1){a.lineNumber++;a.qa++;null===a.ia&&(a.ia=[]);a.ia.push(-1===b?a.b-1:b)} -function Ff(a,b=null){var h=b?b:a.b;return" at line:"+If(a,b)+" col:"+Jf(a,b)+" near '"+a.l.slice(5>h?0:h-5,h+5)+"'"}function Kf(a){a.b>a.x&&(a.b=a.x);return 34>a.b?a.l.substring(0,a.b):Ma.cf("..."+a.l.substring(a.b-30,a.b)).toString()}function Lf(a,b){if(null===a.ia)return b;for(var h=a.ia.length-1;0<=h;h--){var A=a.ia[h];if(b>A)return h+1<<16|b-A}return b}function If(a,b=null){return b?Lf(a,b)>>16:a.lineNumber}function Jf(a,b=null){return Lf(a,b?b:a.ee)&32767} -class Mf{constructor(){this.y=this.G=0;this.J=null;this.g=this.ee=0;this.z=null;this.U=0;this.l=null;this.x=this.b=0;this.qa=this.lineNumber=1;this.ia=null;this.O=-1;this.na=""}next(){this.O=this.y;this.na=this.J;this.y=this.g;this.J=this.z;null===this.J&&(this.J="");this.ee=this.U;this.lineNumber=this.qa;switch(this.y){case 201:var a=Gf(this.J);-1===a||150>=this.O||213===this.O||(this.y=a);break;case 207:150>=this.O||213===this.O||(this.y=17)}if(215!==this.y&&(a=this.O,Df(this),201===this.y&&this.G!== -Nf&&21!==a))switch(this.g){case 5:var b=Gf(this.J);-1===b||150>=a?(this.y=this.Dg(this.J),Df(this)):this.y=b;break;case 59:this.G!==Of&&(this.y=60,Df(this));break;case 41:Df(this);this.y=36;break;case 44:Df(this);this.y=43;break;case 42:Df(this);this.y=208;break;case 21:"for"===this.J?this.y=211:"some"===this.J?this.y=32:"every"===this.J?this.y=33:"let"===this.J&&(this.y=216);break;case 201:a=this.J+" "+this.z,b=tf[a],null!=b&&(this.y=b,this.J=a,Df(this))}}Dg(a){const b={"if":37,array:69,attribute:69, -comment:69,"document-node":69,element:69,"empty-sequence":69,"function":69,map:69,item:69,"namespace-node":69,node:69,"processing-instruction":69,"schema-attribute":69,"schema-element":69,"switch":69,otherwise:79,text:69,tuple:69,typeswitch:69,union:69}[a];return b?["tuple","union"].includes(a)?35:b:35}}var Nf=1,Of=2,Cf=3;var Pf=[!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!0,!1];function Qf(a){return"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")[a]}var Rf=[1,1,2,1,1,1,1,1,13,1,1,1,1,1],Sf=[4,5,9,9,0,1,10,11,9,3,6,7,12]; -function Tf(a){switch(a){case "self":return 12;case "child":return 3;case "parent":return 9;case "ancestor":return 0;case "attribute":return 2;case "following":return 6;case "namespace":return 8;case "preceding":return 10;case "descendant":return 4;case "ancestor-or-self":return 1;case "following-sibling":return 7;case "preceding-sibling":return 11;case "descendant-or-self":return 5}throw new zf("Unknown axis name: "+a);};function Uf(a,b,h,A="XPTY0004"){this.Ba=a;this.g=b;this.b=h;this.xd=A}Uf.prototype={Ad:function(){return this.xd},save:function(){let a=this.Ba+"|"+this.b+"|";a+=("XPTY0004"===this.xd?"":this.xd)+"|";return a+=this.g}};function Vf(a,b,h={}){a.V(b,h);b.R()}class Wf{constructor(){this.j=mc.pa}V(a,b={}){a.V(this.B,b);this.Yb&&a.ed("role",this.Yb);this.wg&&a.ed("sType",this.j.ea())}Bb(){return!hd(this.j.ca)}t(a){Vf(this,a)}}oa=Wf.prototype;oa.B="Expression";oa.Ba=null;oa.Yb=null;oa.wg=null;oa.sa=function(a,b="XPTY0004"){return new Uf(this.Ba,this.B,a,b)};oa.ua=function(){throw new zf(Aa.yk(this)+" is not a valid pattern","XTSE0340");};oa.yd=function(){return this}; -class Xf extends Wf{constructor(a,b,h){super();this.Ia=b;this.aa=a;this.da=h;if(this.aa.Ja||this.da.Ja)this.Ja=!0;this.aa.Ab&&this.da.Ab&&(this.Ab=!0)}t(a){super.V(a,this.Ia?{op:sf[this.Ia]}:{});this.aa.t(a);this.da.t(a);a.R()}}Xf.prototype.Ba=1;class Yf extends Wf{constructor(a){super();this.b=a;this.b.Ja&&(this.Ja=!0);this.b.Ab&&(this.Ab=!0)}t(a){super.V(a);this.b.t(a);a.R()}}Yf.prototype.Ba=9;class Zf extends Wf{constructor(){super();this.j=mc.cc}ua(){return this}t(a){Vf(this,a)}}class $f extends Zf{}$f.prototype.B="p.any";class ag extends Zf{constructor(a){super();this.message=a;this.Yb="match";this.j=mc.cc}t(a){Vf(this,a,{message:this.message})}}ag.prototype.B="p.warning";class bg extends Zf{constructor(a){super();this.b=a;this.j=mc.cc}t(a){super.V(a);this.b.t(a);a.R()}}bg.prototype.B="p.booleanExp"; -class cg extends Zf{constructor(a){super();Aa.ba(a instanceof uc);this.test=a;this.j=new pc(a,2)}t(a){Vf(this,a,{test:this.test.ea()})}}cg.prototype.B="p.nodeTest";class dg extends Zf{constructor(a,b){super();this.ve=a;this.b=b;this.j=a.j;a.code&&(this.code=a.code)}t(a){super.V(a);this.code&&a.ed("code",this.code);this.ve.t(a);this.b.t(a);a.R()}}dg.prototype.B="p.withPredicate";class eg extends Zf{constructor(a){super();this.b=a;this.j=dd(a.j,2)}t(a){super.V(a);this.b.t(a);a.R()}}eg.prototype.B="p.nodeSet"; -class fg extends Zf{constructor(a){super();this.b=a;this.j=dd(a.j,2)}t(a){super.V(a);this.b.t(a);a.R()}}fg.prototype.B="p.genNode";class gg extends Zf{constructor(a,b){super();this.b=b;this.code=a.j.ea();this.j=dd(a.j,2)}t(a){super.V(a,{test:this.code});this.b.t(a);a.R()}}gg.prototype.B="p.genPos";class hg extends Zf{constructor(a,b){super();this.code=a.ea();this.Hd=b;this.j=dd(a,2)}t(a){Vf(this,a,{test:this.code,pos:this.Hd})}}hg.prototype.B="p.simPos"; -class ig extends Zf{constructor(a,b,h){super();this.mb=Sf[a];this.Ya=b;this.b=h;this.j=b.j}t(a){super.V(a,{axis:Qf(this.mb)});this.Ya.t(a);this.b.t(a);a.R()}}ig.prototype.B="p.withUpper";class jg extends Zf{constructor(a,b,h,A){super();this.Ia=b;this.aa=a;this.da=h;this.j=dd(A,2)}t(a){super.V(a,{op:1===this.Ia?"union":sf[this.Ia]});this.aa.t(a);this.da.t(a);a.R()}}jg.prototype.B="p.venn"; -function kg(a){var b=[];a.aa instanceof lg?b=kg(a.aa):b.push(a.aa);a.da instanceof lg?b=b.concat(kg(a.da)):b.push(a.da);return b}class lg extends jg{constructor(a,b,h){super(a,1,b,h)}}class mg extends Zf{constructor(a){super();this.b=a;for(var b of this.b)b.wg=!0}t(a){super.V(a);for(var b of this.b)b.t(a);a.R()}}mg.prototype.B="UnionExprP";function ng(a){return a instanceof og&&1===a.value.length&&Dc.ga()(a.value[0])}function pg(a,b){return new og(a,b)}function qg(){return new og([],mc.Ie)} -class og extends Wf{constructor(a,b){super();Array.isArray(a)||Aa.fa("Literal value must be array");b instanceof pc&&b.K.ea||Aa.fa("Literal type must be a SequenceType");a&&(this.value=a,b&&(this.j=b));this.Yb=null}toString(){return this.value.toString()}t(a){function b(h,A){const P=h.code,q={};switch(P){case "AB":break;case "AQ":q.pre=h.prefix;q.uri=h.q;q.loc=h.local;break;default:q.val=h.toString()}A&&(q.role=A);switch(P){case "AS":a.V("str",q);break;case "AO":a.V("dbl",q);break;case "AB":a.V(h.value? -"true":"false",q);break;case "AD":a.V("dec",q);break;case "ADI":a.V("int",q);break;case "AQ":a.V("qName",q);break;default:q.type=P,a.V("atomic",q)}a.R()}if(0===this.value.length)a.V("empty",this.Yb?{role:this.Yb}:{}),a.R();else if(1===this.value.length)b(this.value[0],this.Yb);else{let h={count:this.value.length};this.Yb&&(h.role=this.Yb);a.V("atomic",h);for(const A of this.value)b(A);a.R()}}}og.prototype.B="literal";og.prototype.Ab=!0; -class rg extends og{constructor(a){super([Sa.XS.string.fromString(a)],mc.Tb);this.j=mc.Tb}};function sg(a,b,h,A,P){var q=tg(a,mc.Sb,a.sa(0,"XPTY0004"));q=new ug(q);if(/[lu]/.test(b))q.dd={flags:b+(P?"e":""),as:h.toEQName()};else{Aa.ba("a"===b);try{if(a instanceof og&&1===a.value.length&&Sa.ka(a.value[0])&&"AQ"!==A.T().p){const g=A.Ic.I(a.value[0]);return new og([g],new pc(A,2))}}catch(g){}q.dd={flags:P?"ae":"a",as:A.ea()}}return q}class ug extends Yf{constructor(a){super(a);this.B="cast";this.Ba=2;this.dd={}}t(a){super.V(a,this.dd);this.b.t(a);a.R()}} -function vg(a,b,h,A,P){var q=new wg(a);q=tg(q,mc.Sb,q.sa(0,"XPTY0004"));if(/[lu]/.test(b))q.dd={flags:b+(P?"e":""),as:h.toEQName()};else{Aa.ba("a"===b);if(a instanceof og&&1===a.value.length&&Sa.ka(a.value[0])&&"AQ"!==A.T().p)try{return A.Ic.I(a.value[0]),new og([Sa.XS.boolean.Kc],mc.Sa)}catch(g){return new og([Sa.XS.boolean.Vd],mc.Sa)}q.dd={flags:P?"ae":"a",as:A.ea()}}return q} -class wg extends Yf{constructor(a){super(a);this.j=mc.Sa;this.B="castable";this.Ba=2;this.dd={}}t(a){super.V(a,this.dd);this.b.t(a);a.R()}}class xg extends Yf{constructor(a,b){super(a);this.g=b;this.j=pd(a.j.K)?mc.wh:mc.od}t(a){super.V(a,{diag:this.g});this.b.t(a);a.R()}}xg.prototype.B="data";class yg extends xg{constructor(a,b,h){super(a,b);this.l=h;pd(a.j.K)?this.j=h?mc.Zf:mc.vh:this.j=h?mc.Sb:mc.Qe}t(a){super.V(a,{diag:this.g});this.l&&a.ed("card","?");this.b.t(a);a.R()}}yg.prototype.B="atomSing"; -class zg extends Wf{constructor(a){super();this.name=a.K.name.toEQName();this.j=mc.Zf}t(a){Vf(this,a,{name:this.name})}}zg.prototype.B="attVal";class Ag extends Yf{constructor(a,b,h){super(a);this.code=b;this.g=h;this.j=mc.od}t(a){super.V(a,{to:this.code,diag:this.g});this.b.t(a);a.R()}}Ag.prototype.B="cvUntyped"; -class Bg extends Yf{constructor(a,b){super(a);this.type=b;this.flags="";this.j=new pc(b.K,a.j.ca)}t(a){super.V(a,{to:this.type.ea().replace(/^[01?*+]/,""),flags:this.flags});this.b.t(a);a.R()}}Bg.prototype.B="convert";class Cg extends Yf{constructor(a,b,h){super(a);this.type=b;this.ja=a.ja;this.g=h;this.j=b}t(a){super.V(a,{to:this.type.ea().replace(/^[01?*+]/,""),diag:this.g});this.b.t(a);a.R()}}Cg.prototype.B="fnCoercer";const Dg="array attribute comment document-node element empty-sequence function if item map namespace-node node processing-instruction schema-attribute schema-element switch text typeswitch".split(" ");class Eg{constructor(a,b){if(""===a.prefix&&Dg.includes(a.local))throw new zf("The unprefixed function name '"+a.local+"' is reserved","XPST0003");this.name=a;this.arity=b}toEQName(){return this.name.toEQName()}toString(){return this.name.toEQName()+"#"+this.arity}};class Fg extends Wf{constructor(a,b,h){super();const A=a.name.local;if(a.name.q===dc.ac){if("NOTATION"===A)throw new J("No constructor function exists for xs:NOTATION","XPST0017");const q=b[0].j;if(2===q.ca&&q.K.ka()&&q.K.Ic&&A===q.K.Ic.name)a=b[0];else if(["NMTOKENS","ENTITIES","IDREFS"].includes(A))a=sg(b[0],"l",a.name,null,!0);else{var P;"numeric"===A?P=sg(b[0],"u",a.name,null,!0):P=sg(b[0],"a",null,h.K,!0);a=P}return a}this.name=a;this.b=b;this.j=h;switch(A){case "exactly-one":this.j=dd(b[0].j, -2);break;case "head":this.j=dd(b[0].j,fd(b[0].j.ca)?3:2);break;case "tail":case "subsequence":this.j=dd(b[0].j,7);break;case "ceiling":case "floor":case "reverse":case "snapshot":this.j=b[0].j;break;case "last":case "position":this.Ja=!0;break;case "string-length":case "normalize-space":0===b.length&&this.b.push(Gg("string",new Hg));break;case "fold-left":case "fold-right":this.j=b[2].ja;break;case "for-each":this.j=dd(b[1].j.K.lf(),7);break;case "filter":this.j=dd(b[0].j,7);break;case "current":this.Ab= -!0;break;case "boolean":if(b[0].j.equals(mc.Sa))return b[0]}}ua(){return new eg(this)}Bb(){if(this.name.q===dc.za)return"doc document element-with-id id innermost key outermost".split(" ").includes(this.name.local)?!0:"filter one-or-more subsequence remove tail trace unordered zero-or-more".split(" ").includes(this.name.local)?this.b[0].Bb():!1}t(a){super.V(a,{name:this.name.name.local});for(const b of this.b)b.t(a);a.R()}}Fg.prototype.B="fn"; -class Ig extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Ig.prototype.B="ifCall";class Jg extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h;if(a="merge"===a.name.local)a=b[0],a=!(a instanceof og&&0===a.value.length);a&&(this.j=dd(b[0].j,2))}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Jg.prototype.B="ifCall"; -class Kg extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Kg.prototype.B="ifCall";class Lg extends Ig{}class Mg extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Mg.prototype.B="ifCall"; -class Ng extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Ng.prototype.B="ifCall";class Og extends Ng{constructor(a,b,h){super(a,b,h);const A=new Eg(Sa.XS.QName.fromParts("ixsl",dc.Yc,"call"),3),P=new Eg(Sa.XS.QName.fromParts("ixsl",dc.Yc,"window"),0);this.name=A;this.b=[new Ng(P,[],mc.cc),new rg(a.name.local),new Pg(b)];this.j=h}} -class Qg extends Wf{constructor(a,b,h,A){super();this.name=a;this.b=b;this.j=h;this.g=A}t(a){super.V(a,{name:this.name.toEQName(),coId:this.g});for(const b of this.b)b.t(a);a.R()}}Qg.prototype.B="ufCall";class Rg extends Wf{constructor(a){super();this.name=a.name.name;this.jb=a.jb;this.arity=a.name.arity;this.j=a.j;this.ja=a.ja}t(a){Vf(this,a,{name:this.name.toEQName(),arity:this.arity,resultType:this.ja.ea()})}}Rg.prototype.B="fnRef"; -class Sg extends Rg{constructor(a){super(a);this.b=0}t(a){Vf(this,a,{name:this.name.toEQName(),arity:this.arity,resultType:this.ja.ea(),bSlot:this.b})}}Sg.prototype.B="ufRef";class Tg extends Wf{constructor(){super();this.j=mc.pa}t(a){Vf(this,a,{asCode:"*"})}}Tg.prototype.B="null";class Ug extends Wf{}Ug.prototype.b={};Ug.prototype.l={};Ug.prototype.g={}; -class Vg extends Wf{constructor(){super();this.j=mc.pa;this.Db=this.Ma=this.name=this.Qb=null}Tc(){return this.name}toString(){return"$"+this.name+" as "+this.j.toString()}t(a){Vf(this,a,{name:this.name,asCode:this.j.ea(),slot:this.Db})}}Vg.prototype.B="arg"; -class Wg extends Wf{constructor(a,b,h,A){super();this.b=a;this.params=b;this.ja=h;const P=[];b.forEach(q=>{P.push(q.j)});A=tg(A,h,this.sa("body"));this.j=tc(new md(P,h));this.arity=b.length;this.rc=A;A.Yb="body"}t(a){super.V(a,{arity:this.arity,name:this.name,as:this.ja.ea()});for(const b of this.params)b.t(a);this.rc.t(a);a.R()}}oa=Wg.prototype;oa.B="inlineFn";oa.Ba=5; -oa.sa=function(a,b="XPTY0004"){return new Uf(this.Ba,"("+this.params.map(h=>h.toString()).join(",")+")"+(this.ja?" as "+this.ja.toString():""),a,b)};oa.name="inline";oa.wg=!0; -class Xg extends Wf{constructor(a,b,h){super();if(a.j&&a.j.K instanceof md&&a.j.T().a.length!==b.length)throw new J("Partially-applied function requires "+a.arity+" arguments, but "+(b.length{var z=g.a[P];z=q?q:rc(z);l instanceof Tg?l.j=z:l=tg(l,z,this.sa(P));this.b.push(l);e&&(q=z);P++})}else b.forEach(g=>{this.b.push(g)});a.j.K instanceof md&&(this.j=tc(Bd(a.j.K,h)))}t(a){super.V(a);this.g.t(a);this.b.forEach(b=>{b.t(a)});a.R()}}Xg.prototype.B="partialApply";Xg.prototype.Ba=5; -class Zg extends Wf{constructor(a,b){super();this.Mb=a;this.value=b;this.j=nc("1FM")}toString(){return"map{"+this.Mb.toString+" : "+this.value.toString()+"}"}t(a){super.V(a);this.Mb.t(a);this.value.t(a);a.R()}}Zg.prototype.B="map"; -class $g extends Wf{constructor(a){super();this.entries=a;const b=yd.Ed(a.map(P=>P[0].j.K)),h=yd.Ed(a.map(P=>P[1].j.K));a=a.map(P=>P[1].j.ca);let A=2;a.some(P=>fd(P))&&(A+=1);a.some(P=>hd(P))&&(A+=4);this.j=tc(new zd(b,new pc(h,A)))}toString(){let a="map{";this.entries.forEach(b=>{a+=b[0].toString+" : "+b[1].toString()});return a+"}"}t(a){super.V(a);this.entries.forEach(b=>{b[0].t(a);b[1].t(a)});a.R()}}$g.prototype.B="map";class ah extends Wf{constructor(a,b){super();Aa.ba(!b||b instanceof uc);this.mb=a;this.B="axis";b=b||zc;2===a&&b instanceof Ac?b=Qc:3===a&&b instanceof Ac&&(b=Bc);this.b=b;9===a&&b instanceof Ac?this.j=mc.Xd:b?this.j=new pc(b,7):this.j=mc.Wd}ob(){return this.mb}Bb(){return[2,3,4,5,6,7,9,12].includes(this.mb)}ua(){return new cg(this.b)}t(a){Vf(this,a,{name:Qf(this.mb),nodeTest:this.j.ea()})}} -class bh extends Xf{constructor(a,b){super(a,2,b);this.aa=a=tg(a,mc.Wd,this.sa(0,"XPTY0019"));this.j=ed(b.j,a.j.ca)}Bb(){return!0}ua(){if(this.da instanceof Fg||this.da instanceof og)throw new zf("Not an axis step for a pattern","XTSE0340");return this.Ja||!this.da.ob||this.da instanceof ch?new fg(this):new ig(this.da.ob(),this.da.ua(),this.aa.ua())}t(a){super.V(a,this.Ia?{op:sf[this.Ia]}:{});this.aa.t(a);this.da.t(a);a.R()}}bh.prototype.B="slash"; -class dh extends Wf{constructor(){super();this.j=mc.Xd}ua(){return new cg(Nc)}}dh.prototype.B="root";const eh={ADI:"i",ADIL:"c",ADILI:"i",ADILIS:"i",ADILISB:"i",ADIN:"c",ADINN:"c",ADIP:"c",ADIPP:"c",ADIPL:"c",ADIPLI:"i",ADIPLIS:"i",ADIPLISB:"i",AD:"c",AO:"d",AF:"f",A:"a",AZ:"a",AT:"t",AA:"t",AM:"t",AMP:"t",AH:"t",AI:"t",AJ:"t",AG:"t",AK:"t",ARD:"u",ARY:"u",E:"a"};var fh={19:"%",18:"/",56:"~",15:"+",16:"-",299:"-",17:"*"};function gh(a,b){b=new Ag(a,"AO",b.save());b.j=2===a.j.ca?mc.$d:mc.mh;return b} -class hh extends Xf{constructor(a,b,h,A){function P(c){return c instanceof wc&&c.Ic.Ya?new wc(Sa.ok(c.Ic)):c}function q(){throw new zf("Cannot evaluate "+l.toString()+" "+sf[b]+" "+z.toString(),"XPTY0004");}super(a,b,h);const g=A.oe(),e=a.Ja||h.Ja;g&&(a=ih(a),h=ih(h));a=tg(a,mc.Sb,this.sa(0));h=tg(h,mc.Sb,this.sa(1));let l=P(a.j.K),z=P(h.j.K);var v=l.T().p,G=z.T().p;g||!/^AS/.test(v)&&!/^AS/.test(G)||q();"AZ"!==v||g||(a=gh(a,this.sa(0,"FORG0001")),l=Vc,v="AO");"AZ"!==G||g||(h=gh(h,this.sa(1,"FORG0001")), -z=Vc,G="AO");var p=eh[v];let f=eh[G];const I=l.isNumeric(),D=z.isNumeric();G=ad;v=fd(a.j.ca)||fd(a.j.ca);p||="a";f||="a";var r;g?(p=f="d",G=Vc):I&&D&&("d"===p||"d"===f?(p=f="d",G=r=Vc):"f"===p||"f"===f?(p=f="f",G=r=Wc):"c"===p||"c"===f?(p=f="c",G=r=Yc):"i"===p&&"i"===f&&18===b?(p=f="c",G=Yc):"i"!==p||"i"!==f||15!==b&&16!==b&&17!==b&&19!==b?"i"===p&&"i"===f&&18===b&&(G=Yc):G=Zc);56===b&&(G=Zc);G.isNumeric()&&r&&(r=new pc(r,3),a=tg(a instanceof jh?a.b:a,r,this.sa(0)),h=tg(h instanceof jh?h.b:h,r,this.sa(1))); -[p,f].includes("a")&&(p=f="a");(l.ka("ARY")&&z.ka("AT")||z.ka("ARY")&&l.ka("AT"))&&q();"t"===p&&"t"===f&&(16===b?G=$c:q());"u"===p&&"t"===f&&(15===b?G=z:q());"u"===p&&"u"===f&&(17===b&&q(),18===b?G=Yc:G=l);I&&"u"===f&&18===b&&q();"t"!==p||"u"!==f||16!==b&&15!==b?"i"===p&&"u"===f&&17===b?(p="n",G=z):"u"!==p||"d"!==f&&"i"!==f&&"c"!==f?"u"!==f||"d"!==p&&"i"!==p&&"c"!==p||(p="n",G=z):(G=l,f="n"):G=l;p=p+fh[b]+f;if(!A.oe()&&"AF"!==G.T().p&&!A.zc&&(A.lj?0===A.lj:1)&&ng(a)&&ng(h)&&(A=a.value[0],r=h.value[0], -18!==b||0!==r.toNumber()))return a=tb[p](A,r),pg([a],new pc(new wc(Sa.codes[a.code]),2));this.aa=a;this.da=h;a.j.equals(h.j)&&(this.j=a.j);G&&(this.j=new pc(G,v?3:2));this.b=p;e&&(this.Ja=!0);g&&(this.B="arith10");this.j||(this.j=mc.Qe)}ua(){throw new zf("The arithmetic expression "+sf[this.Ia]+" is not a patternXTSE0340");}t(a){super.V(a,this.Ia?{op:sf[this.Ia],calc:this.b}:{});this.aa.t(a);this.da.t(a);a.R()}}hh.prototype.B="arith";const kh={6:50,22:51,11:52,12:53,13:54,14:55};function lh(a,b){a=a.T().p;b.T();if("AZ"===a&&b.isNumeric())return!1;if("A"===a&&b.ka())return!0;""===a&&b.ka();return!0}function mh(a){return/^A[BAMT2XQ]/.test(a)}class nh extends Xf{constructor(a,b,h,A){super(a,b,h);a=A.Ej();b="GAC";switch(a){case Nd.Fg:b="CAC"}a.startsWith(Nd.Ck)&&(b="CAC");h.j===mc.uh&&(b="EQC");this.ud=b+"|"+a;this.j=mc.Sa}t(a){super.V(a,{op:sf[this.Ia],comp:this.ud});this.aa.t(a);this.da.t(a);a.R()}} -class oh extends nh{t(a){super.V(a,{op:sf[this.Ia],comp:this.ud,card:"1:1"});this.aa.t(a);this.da.t(a);a.R()}} -class ph extends oh{constructor(a,b,h,A){super(a,b,h,A);a=tg(a,mc.od,this.sa(0));h=tg(h,mc.od,this.sa(1));b=a.j.T();A=h.j.T();var P=b.p;var q=A.p;P===q||[P,q].includes("AZ")||[P,q].includes("A")?P=!0:(/^A[ODF]/.test(P)&&(P="AO"),/^A[ODF]/.test(q)&&(q="AO"),/^A[SU]/.test(P)&&(P="AS"),/^A[SU]/.test(q)&&(q="AS"),P="E"===P||"E"===q?!0:P===q);if(!P)if(P="Cannot compare items of types "+a.j.K.toString()+" and "+h.j.K.toString(),/[*?]/.test(b.o)||/[*?]/.test(A.o))Aa.Qa(P+": the comparison can succeed only if one of the values is an empty sequence", -1,null);else throw new zf(P,"XPTY0004");this.aa=a;this.da=h}}ph.prototype.B="gc";class qh extends oh{}qh.prototype.B="gc10"; -class rh extends nh{constructor(a,b,h,A,P=!0){super(a,b,h,A);var q=a.j.K,g=h.j.K;const e=q.T().p,l=g.T().p;if(!("A"===e&&g.ka()||"A"===l&&q.ka()||""===e||""===l||q.T().p.startsWith("AM")&&g.T().p.startsWith("AM")||(mh(e)||mh(l)?e===l:lh(q,g)||lh(g,q))))throw new zf("Cannot compare "+a.j.toString()+" "+sf[b]+" "+h.j.toString(),"XPTY0004");a=tg(a,mc.Sb,this.sa(0));h=tg(h,mc.Sb,this.sa(1));if(51!==b&&50!==b&&/^A[QGHIJK]/.test(a.j.K.T().p))throw new zf("Cannot order-compare "+a.j.toString()+" "+sf[b]+ -" "+h.j.toString(),"XPTY0004");if(P){if(ng(h)&&Sa.XS.integer.matches(h.value[0])&&"ADI"===a.j.T().p)return new sh(a,b,h,A);if(h instanceof rg)return new th(a,b,h,A)}this.aa=a;this.da=h}}rh.prototype.B="vc";class uh extends rh{constructor(a,b,h,A){super(a,b,h,A,!1)}t(a){super.V(a,{op:sf[this.Ia],val:this.da.value[0]});this.aa.t(a);a.R()}}class sh extends uh{}sh.prototype.B="compareToInt"; -class th extends uh{t(a){super.V(a,{op:sf[this.Ia],val:this.da.value[0].toString(),comp:this.ud});this.aa.t(a);a.R()}}th.prototype.B="compareToString";class vh extends nh{constructor(a,b,h,A){super(a,b,h,A);a=tg(a,mc.Xd,this.sa(0));h=tg(h,mc.Xd,this.sa(0));this.aa=a;this.da=h;this.B=38===b?"precedes":39===b?"follows":"is"}t(a){super.V(a);this.aa.t(a);this.da.t(a);a.R()}};function wh(a,b){return a instanceof Fg&&a.name.name.q===dc.za&&a.name.name.local===b}function xh(a,b){return a instanceof rh&&a.Ia===b&&wh(a.aa,"position")&&wh(a.da,"last")} -class yh extends Wf{constructor(a,b){super();if(b){let A=wh(b,"last")||xh(b,50);if(A)return new Ah(a);A=A||xh(b,53);var h=b.Ja||b instanceof hh;const P=b.Ab;if(!h&&P&&b.j.equals(mc.sd))return new Bh(a,b);h||(h=b.j.K.T().p,h="AB"===h||h.startsWith("N")?!1:"A"===h||/^A[ODF]/.test(h));this.b=a;this.j=a.j;b instanceof Ch?this.j=dd(b.type,this.j.ca):b instanceof og&&1===b.value.length&&Dc.ga()(b.value[0])&&(this.j=dd(this.j,3));h&&(this.Ja=!0);P&&(this.Ab=!0);this.g=A?new Dh(50===b.Ia?"1":"0"):b}}ob(){return this.b.ob()}Bb(){return super.Bb()|| -this.b.Bb()}ua(){if(!pd(this.j.K)){const a=Gg("exists",this);return new bg(a)}return this.Ja&&this.b instanceof ah&&!(this.g instanceof Dh)?new gg(this.b,this.g):this.Ja?new fg(this.yd()):new dg(this.b.ua(),this.g)}yd(){if(this.b instanceof Hg)return this.g;this.b=this.b instanceof ah?Eh(new Hg,this.b):this.b.yd();return this}t(a){super.V(a);let b="";this.Ab&&(b+="i");this.Ja&&(b+="p");""!==b&&a.ed("flags",b);this.b.t(a);this.g.t(a);a.R()}}yh.prototype.B="filter"; -class Bh extends yh{constructor(a,b){super(a,null);if(ng(b)&&Sa.XS.integer.matches(b.value[0])&&1===b.value[0].value)return new Fh(a);this.b=a;this.j=dd(a.j,3);this.g=b;this.Ja=!0}ua(){return this.b instanceof Hg?new ag("Numeric predicates other than 1 in PredicatePatterns never match. Value provided:"+this.g.value.value):this.b instanceof ah?new hg(this.b.j,this.g.value[0].value):new fg(this.yd())}}Bh.prototype.B="subscript"; -class Fh extends Bh{constructor(a){super(a,null);this.b=a;this.Ja=!0;this.j=dd(a.j,3)}ua(){return pd(this.j.K)?this.b instanceof ah?new fg(new Fh(Eh(new Hg,this.b))):new fg(this.yd()):new bg(this)}t(a){super.V(a);this.b.t(a);a.R()}}Fh.prototype.B="first"; -class Ah extends Bh{constructor(a){super(a,null);this.b=a;this.Ja=!0;this.j=dd(a.j,3)}ua(){if(!(this.b instanceof ah))return new fg(this.yd());if(3===this.b.mb){var a=new ah(7,this.b.b);return new dg(this.b.ua(),Gg("empty",[a]))}return new hg(this.b.j,1)}t(a){super.V(a);this.b.t(a);a.R()}}Ah.prototype.B="lastOf";class Dh extends Wf{constructor(a="1"){super();this.test=a;this.j=mc.Sa}t(a){Vf(this,a,{test:this.test})}}Dh.prototype.B="isLast";function Gh(a,b){if(a instanceof dh&&b instanceof ah&&9===b.ob())return qg();if(a instanceof bh&&a.aa instanceof dh&&5===a.da.mb&&b instanceof ah&&3===b.mb)return Gh(a.aa,new ah(4,b.b));if(b instanceof bh||b instanceof Hh&&b.b instanceof bh){const h=Ih(b);Jh(h.aa)instanceof ah&&Jh(h.da)instanceof ah&&(a=Eh(a,h.aa),b=h.da)}a=new bh(a,b);return Kh(a)?a:pd(a.da.j.K)?(a.aa=Lh(a.aa),a.da=Lh(a.da),new Hh(a)):a} -function Kh(a){if(!hd(a.aa.j.ca))return a.da.Bb();const b=Jh(a.aa);return b instanceof ah&&3===b.mb&&(a=Jh(a.da),a instanceof Hh&&(a=a.b),a instanceof ah&&[3,2,4,5,8].includes(a.mb)||a instanceof bh&&Kh(a))?!0:!1}function Ih(a){return a instanceof Hh?a.b:a}function Jh(a){return a instanceof yh?Jh(a.b):a instanceof Hh?Jh(a.b):a}var Eh=Gh,Lh=Ih;function Mh(a,b,h,A,P={}){Aa.ba(b);Aa.ba(b instanceof pc);Aa.ba(a.j);Aa.ba(a.j instanceof pc);var q=b.T(),g=a,e;const l=b.K,z=b.ca,v=hd(z);var G=null,p=-1;let f=7===z;f||(p=a.j.ca,f=(z|p)===z);q=""===q.p;1===z&&(q=!0);q||(G=a.j.K,p=a.j.ca,q=yd.Cb(l,G),q===yd.Rb&&(q=G===xc?yd.dc:l===xc?yd.Fb:q),q=q===yd.kb||q===yd.Fb);if(q&&f)return g;if(P.Gb&&!v&&(hd(p)&&(g=e=new Fh(g),p=3,f=(z|p)===z),!q)){if(l.ka("AS")){try{e=Mh(g,mc.Yf,h,A)}catch(I){throw I;}g=Gg("string",e);G=Xc;p=2;g.j=mc.Tb;f=(z|p)===z;q=!0}if(qd(l)|| -l.ka("AO")){try{e=Mh(g,mc.Yf,h,A)}catch(I){throw I;}g=Gg("number",e);G=Vc;p=2;g.j=mc.$d;f=(z|p)===z;q=!0}}if(!q)if(l.ka()){if(!G.ka()&&1!==p){if(!G.Qj)throw b=new J("An atomic value is required for the "+h.getMessage()+", but the supplied value (type "+G.toString()+") cannot be atomized","error()"===G.name?"FOER0000":"FOTY0013",a),b;G=!hd(p);p=!hd(z);G?(e=fd(z),g=g instanceof ah&&2===g.mb&&g.j.K instanceof td?new zg(g.j):new yg(g,A,e)):g=g instanceof ah&&2===g.mb&&g.j.K instanceof td?new zg(g.j): -new xg(g,A);e=g;p&&!G&&(e=Nh(e,z,A));g=e;G=g.j.K;p=g.j.ca;f=(z|p)===z}G.ka("AZ")&&(qd(l)||!l.ka("AZ")&&"A"!==l.T().p)&&(g=e=Oh(g,l,A),q=!0,G=l);"A"!==G.ea()||["A","AZ"].includes(l.ea())||(g=e=Oh(g,l,A),G=g.j.K);l.ka()&&(l.ka("AO")&&yd.Cb(G,Dc)!==yd.Rb?(g=e=new Bg(g,mc.$d),G=Vc,p=-1):l.ka("AF")&&yd.Cb(G,Dc)!==yd.Rb&&!yd.Wj(G,Vc)&&(g=e=new Bg(g,mc.th),G=Wc,p=-1),l.ka("AS")&&G.ka("AU")&&(q=!0,g=e=new Bg(g,mc.Tb),G=Xc))}else l.Bd()&&"F"===l.T().p&&(G.Bd()||(g=new Ph(g,Fc,A),G=Fc),l instanceof Gc||(q= -G.T(),("FM"===q.p||"FA"===q.p)&&1===l.g.length)||(g=new Cg(g,tc(l),A)),q=!0);if(q&&f)return g;-1===p&&(p=g.j.ca,f||=(z|p)===z);if(f&&1===p)return g;if(1===p&&!fd(z))throw b=new J("An empty sequence is not allowed as the "+h.getMessage(),h.Ad()),b;q=q?yd.dc:yd.Cb(G,l);q===yd.Rb&&(q=G===xc?yd.Fb:l===xc?yd.dc:q);1===z&&(q=yd.kb);if(q===yd.Rb)if(fd(p)&&fd(z))1!==p&&(e=h.qg(l,G),Aa.Qa(e+". The expression can succeed only if the supplied value is an empty sequence.",1,null));else throw e=h.qg(l,G),b=new J(e, -"error()"===G.name?"FOER0000":h.Ad()),b;if(q!==yd.kb&&q!==yd.dc){if(g.Sj){A=Sa.XS.string.fromString(g.getAttribute("val"));if(l.ka()&&b.matches(A))return g;e=h.qg(l,G);b=new J(e,h.Ad());throw b;}g=e=Qh(g,new pc(l,z),A);f=!0}if(!f){if(g.Sj)throw b=new J("Required cardinality of "+h.getMessage()+" is "+gd(z)+"; supplied value has cardinality "+gd(p),h.Ad()),b;g=e=Nh(g,z,A)}return g}function Oh(a,b,h){b=qd(b)?"AO":b.T().p;return new Ag(a,b,h)};function Gg(a,b){a=new Sa.XS.QName.fromParts("fn",dc.za,a);b=Array.isArray(b)?b:[b];a=new Eg(a,b.length);return new Fg(a,b,mc.pa)}function tg(a,b,h){const A=Rh(h.xd?h.xd:"XPTY0004",h.save());return Mh(a,b,A,h.save())}function ih(a){return hd(a.j.ca)?new Fh(a):a} -class Sh extends Wf{constructor(a){super();this.value=a;0===a.length?this.j=mc.Ie:this.j=new pc(yd.Ed(a.map(h=>h.j.K)),7);let b=!0;a.forEach(h=>{b=b&&h instanceof og});b&&(this.b=!0)}t(a){super.V(a);this.b&&a.ed("literal",!0);for(const b of this.value)b.t(a);a.R()}}Sh.prototype.B="sequence"; -class Pg extends Wf{constructor(a){super();this.value=a;if(0===a.length)this.j=tc(Jc);else{const b=yd.Ed(a.map(A=>A.j.K));let h=0;a.forEach(A=>h|=A.j.ca);this.j=tc(new Ad(new pc(b,h)))}}t(a){super.V(a);for(const b of this.value)b.t(a);a.R()}}Pg.prototype.B="arrayBlock"; -class Th extends Wf{constructor(a,b){super();this.Ia=a;this.B=sf[a];this.Ma=b;this.Xa=this.kd=void 0;this.Db=0;this.Qb=this.value=null;this.j=mc.Sa}Tc(){return this.Ma}t(a){super.V(a,{"var":this.Ma.toEQName(),slot:this.Db});this.value.t(a);this.Xa.t(a);a.R()}} -class ch extends Xf{constructor(a,b,h,A=!1){super(a,b,h);this.B=1===b?"union":sf[b];A=A?"XTSE0340":"XPTY0004";a=tg(a,mc.Wd,this.sa(0,A));h=tg(h,mc.Wd,this.sa(1,A));a=a.Bb()?a:new Hh(a);h=h.Bb()?h:new Hh(h);this.aa=a;this.da=h;Aa.ba(a.j);Aa.ba(h.j);switch(b){case 24:this.j=a.j;break;case 23:b=a.j.ca&h.j.ca|3;this.j=new pc(yd.Kj([a,h].map(P=>P.j.K)),b);break;case 1:this.j=new pc(yd.Ed([a,h].map(P=>P.j.K)),Jd(a.j.ca,h.j.ca))}}Bb(){return!0}ob(){return this.aa.ob&&this.da.ob&&this.aa.ob()===this.da.ob()? -this.aa.ob():-1}ua(){if(1===this.Ia)return new lg(this.aa.ua(),this.da.ua(),this.j);const a=this.ob();return 3===a||2===a||this.aa.Ab||this.da.Ab?new jg(this.aa.ua(),this.Ia,this.da.ua(),this.j):new fg(this)}}class Hg extends Wf{constructor(a=mc.cc){super();this.j=a}t(a){Vf(this,a)}ua(){return new $f}}Hg.prototype.B="dot";function Uh(a){return""===a.j.T().p?new Vh(a):a}class Vh extends Yf{constructor(a){super(a);this.j=a.j}}Vh.prototype.B="homCheck"; -function Wh(a){return a.global?new Xh(a):new Yh(a)}class Zh extends Wf{constructor(){super();this.b=null;this.j=mc.pa}}Zh.prototype.B="varRef";Zh.prototype.Ab=!0;class Yh extends Zh{constructor(a){super();this.b=a;this.j=a.Qb||mc.pa}Tc(){return this.b.Ma}t(a){Vf(this,a,{name:this.b.Ma.toEQName(),slot:this.b.Db})}}Yh.prototype.B="varRef"; -class Xh extends Zh{constructor(a){super();this.b=a;this.j=a.Qb}Tc(){return this.b.Ma}ua(){return new eg(this)}t(a){Vf(this,a,{name:this.b.Ma.toEQName(),bSlot:"?"})}}Xh.prototype.B="gVarRef";class $h extends Xf{constructor(a,b){super(a,213,b);this.aa=a=tg(a,mc.Sf,this.sa(0));a.j&&a.j.K&&a.j.K.ja&&(this.j=a.j.K.ja)}}$h.prototype.B="lookup";class ai extends Wf{constructor(a){super();this.aa=a=tg(a,mc.Sf,this.sa(0))}t(a){super.V(a);this.aa.t(a);a.R()}}ai.prototype.B="lookupAll"; -class bi extends Wf{constructor(){super();this.j=mc.pa}}bi.prototype.B="currentGroup";class ci extends Wf{constructor(){super();this.j=mc.od}}ci.prototype.B="currentGroupingKey";class Hh extends Yf{constructor(a){super(a);this.j=a.j}Bb(){return!0}ua(){return this.b.ua()}}Hh.prototype.B="docOrder";class di extends Yf{constructor(a){super(a);this.j=a.j}t(a){super.V(a,{flags:this.flags});this.b.t(a);a.R()}}di.prototype.B="copyOf";di.prototype.flags="cm"; -class Ch extends Wf{constructor(a,b){super();Aa.ba(b instanceof pc);this.aa=a;this.type=b;this.j=mc.Sa}t(a){super.V(a,{of:this.type.ea()});this.aa.t(a);a.R()}}Ch.prototype.B="instance";function Qh(a,b,h=null){h||(h=new Uf(2,"treat as",0),h.xd="XPDY0050",h=h.save());return new Ph(Nh(a,b.ca,h),b.K,h)}class jh extends Yf{constructor(a,b,h){super(a);this.j=new pc(a.j.K,b);this.g=b;this.l=h}t(a){super.V(a,{card:2===this.g?"1":gd(this.g),diag:this.l});this.b.t(a);a.R()}}jh.prototype.B="check"; -function Nh(a,b,h){return 7===b?a:a instanceof og&&(b|2)===b?a:new jh(a,b,h)}class Ph extends Yf{constructor(a,b,h){super(a);this.j=a.j;this.l=b;this.g=h}t(a){super.V(a,{as:this.l.ea(),diag:this.g});this.b.t(a);a.R()}}Ph.prototype.B="treat";function ei(a,b,h){a=[a,pg([Sa.XS.boolean.Kc],mc.Sa)];return new fi(a,[b,h])}class fi extends Wf{constructor(a,b){super();this.g=a;this.b=b;this.Ja=b.some(h=>h.Ja);a=yd.Ed(b.map(h=>h.j.K));b=Id(b.map(h=>h.j.ca));this.j=new pc(a,b)}t(a){super.V(a);let b=0;for(const h of this.g)h.t(a),this.b[b++].t(a);a.R()}}fi.prototype.B="choose";class gi extends Wf{constructor(){super();this.Xa=this.value=this.Qb=this.Ma=null;this.Db=0}Tc(){return this.Ma}b(a){this.Xa=a;this.j=a.j}g(a){this.value=a;this.Qb=a.j}t(a){super.V(a,{name:this.Ma.toEQName(),slot:this.Db});this.value.t(a);this.Xa.t(a);a.R()}}class hi extends gi{g(a){this.value=a;this.Qb=dd(a.j,2);this.Xa&&(this.j=ed(this.Xa.j,a.j.ca))}b(a){this.Xa=a;this.value&&(this.j=ed(a.j,this.value.j.ca))}}hi.prototype.B="for";class ii extends gi{}ii.prototype.B="let";class ji extends Xf{constructor(a,b){super(a,null,b);this.j=mc.Sa}}class ki extends ji{}ki.prototype.B="and";class li extends ji{}li.prototype.B="or";function mi(a){return ng(a)&&Sa.XS.integer.matches(a.value[0])&&1E7>a.value[0].value}class ni extends Xf{constructor(a,b,h=!1){super(a,null,b);h&&(a=ih(a),b=ih(b));this.aa=tg(a,mc.Xf,this.sa(0));this.da=tg(b,mc.Xf,this.sa(1));this.j=mc.Ke}}ni.prototype.B="to";class oi extends Wf{constructor(a,b){super();this.from=a;this.b=b;this.j=mc.Ke}t(a){Vf(this,a,{from:this.from.value,to:this.b.value})}}oi.prototype.B="range"; -class pi extends Wf{constructor(a,b){super();this.b=a;this.next=b;this.j=ed(b.j,a.j.ca)}t(a){super.V(a);this.b.t(a);this.next.t(a);a.R()}}pi.prototype.B="forEach";var qi={array:"http://www.w3.org/2005/xpath-functions/array",fn:"http://www.w3.org/2005/xpath-functions",ixsl:"http://saxonica.com/ns/interactiveXSLT",map:"http://www.w3.org/2005/xpath-functions/map",math:"http://www.w3.org/2005/xpath-functions/math",saxon:"http://saxon.sf.net/",xml:"http://www.w3.org/XML/1998/namespace",xs:"http://www.w3.org/2001/XMLSchema",xsl:"http://www.w3.org/1999/XSL/Transform"},ri={},si;for(si in qi)ri[qi[si]]=si;function ti(a,b){var h=new Eg(a.name,a.arity),A=mc.pa;switch(a.q){case dc.map:A=mc.cg;switch(a.name.local){case "get":A=b[0].j.Sd;break;case "merge":A=mc.cg;break;case "entry":A=tc(new zd(b[0].j,b[1].j))}return new Jg(h,b,A);case dc.Ye:switch(a.name.local){case "_from-sequence":A=tc(new Ad(b[0].j))}return new Kg(h,b,A);case dc.ib:switch(a.name.local){case "apply":a=b[0].j,a=a.K?a.K:a,A=a.ja?a.ja:mc.pa}return new Mg(h,b,A)}} -class ui extends Wf{constructor(a,b,h){var A=mc.pa;super();this.name=Sa.XS.QName.fromParts(ri[h],h,a);this.arity=b;this.q=h;this.j=mc.Re;this.ja=A}}ui.prototype.B="function";class vi{}vi.prototype.q=dc.za;class wi extends vi{constructor(){super()}}wi.prototype.q=dc.map;var xi=new wi;class yi extends vi{constructor(){super()}}yi.prototype.q=dc.Ye;var zi=new yi;class Ai extends vi{constructor(){super()}}Ai.prototype.q=dc.ib;class Ci extends Ai{}var Di=new Ci;const Ei={FUNCTION:0,Kk:1,rl:2,wl:3,Yk:4,Tk:5,el:6,ql:7,hl:8,tl:9,ul:10,Xk:11,EVALUATE_RESULT:12,Nk:13,Ik:14,dl:15,Lk:16,Ok:17},Fi=["doc","id","element-with-id","key","root"];function Gi(a,b,h,A){return Ei[a]+"|"+b+"|"+h+"|"+A}function Hi(a,b,h,A){return{getMessage:function(){return b},qg:A,Ad:function(){return a},save:function(){return h}}}function Rh(a,b){const h=ld.tk(b).gd;return Hi(a,h,b,function(A,P){return"Required type of "+h+" is "+A.toString()+": actual type is "+P.toString()})} -class Yg{constructor(a,b){var h=null;this.name=a;this.arity=a.arity;if(b){this.jb=b;h=b.alphaTree;const A=[];let P;b.variadic&&(P=rc(h.a[0]));for(b=0;b""){return Sa.XS.QName.fromString(N,fa=>""===fa?la():ba(fa))}function A(){const N=sf[t.y];return 201===t.y?'name "'+t.J+'"':-1===t.y?"(unknown token)":t.J&&t.J!==sf[t.y]?`${N} ("${t.J}")`:/^[a-z]+$/.test(N)?`"${N}"`:N}function P(N,ba="XPST0003"){Kf(t);throw new zf(N,ba);}function q(N){const ba=Kf(t);console.log((N.startsWith("...")? -"near":"in")+" "+ba+":\n "+N)}function g(){try{t.next()}catch(N){P(N.message)}}function e(N){t.y!==N&&P('expected "'+sf[N]+'", found '+A())}function l(N=!1){N=z(N);let ba=null;for(;7===t.y;){null==ba&&(ba=[],ba.push(N));g();const la=z();ba.push(la)}null!=ba&&(N=new Sh(ba));return N}function z(N=!1){switch(t.y){case 0:if(N)return qg();P("Expected an expression, but reached the end of the input");break;case 211:case 216:N=0;var ba=t.y,la=null,fa=null;do{g();e(21);g();e(201);var ta=t.J,Ca=void 0; -211===ba?Ca=new hi:Ca=new ii;N++;ta=pa(ta,"");Ca.Ma=ta;g();e(216===ba?58:31);g();ia.push(null);Ca.g(z());ia.pop();ka(Ca);null==fa?la=Ca:fa.b(Ca);fa=Ca}while(7===t.y);e(25);g();fa.b(z());for(Ca=0;Ca=ba;){const Qa=t.y;var la=v();switch(Qa){case 45:case 47:g();var fa=u();a:switch(Qa){case 45:N=new Ch(N,fa);break a;case 47:N=Qh(N,fa);break a;default:throw new Af(sf[Qa]);}v()>=la&&P("Left operand of '"+sf[t.y]+"' needs parentheses");break;case 46:case 57:g();var ta=void 0;if(69===t.y&&"union"===t.J)throw new J("Saxon union types not supported");e(201);if(t.J)a:{try{var Ca=h(t.J,U.hb, -U.Vb);break a}catch(Xa){P(Xa.message,Xa.code)}Ca=void 0}else Ca=P("Parser tokenization error NAME");fa=Ca;fa.q!==dc.ac&&P("Unknown simple type "+t.J+" in cast (SaxonJS is not schema-aware)");g();var Ka=213===t.y;Ka&&(t.y=204,g());const hb={numeric:"u",ENTITIES:"l",NMTOKENS:"l",IDREFS:"l"}[fa.local]||"a";if("a"===hb){["anyType","anyAtomicType","NOTATION"].includes(fa.local)&&P("Casting to xs:"+fa.local+" is not possible (it's an abstract type)","XPST0080");ta=Sa.type[fa.local];if(!ta)throw new J("Cannot find type "+ -fa.toEQName());ta=new wc(ta)}N=(57===Qa?vg:sg)(N,hb,fa,ta,Ka);v()>=la&&P("Left operand of '"+sf[t.y]+"' needs parentheses");break;case 76:N=O(N);break;default:Ka=40===Qa;g();Ka&&ua.push(dd(N.j,2));fa=I();for(Ka&&ua.pop();v()>la;)fa=p(fa,v());if(!(la=v()!==la))a:switch(t.y){case 50:case 51:case 55:case 53:case 54:case 52:case 6:case 22:case 14:case 12:case 13:case 11:case 20:case 38:case 39:case 29:la=!1;break a;default:la=!0}la||P("Left operand of '"+sf[t.y]+"' needs parentheses");N=f(N,Qa,fa)}}return N} -function f(N,ba,la){switch(ba){case 9:return new li(N,la);case 10:return new ki(N,la);case 50:case 51:case 55:case 53:case 54:case 52:return new rh(N,ba,la,U);case 6:case 22:case 14:case 12:case 13:case 11:if(U.oe())ba=new qh(N,ba,la,U);else{var fa=U;la=new ph(N,ba,la,fa);if(N=2===la.aa.j.ca&&2===la.da.j.ca&&kh[ba]){N=la.aa.j.K;var ta=la.da.j.K;const Ca=N.T().p,Ka=ta.T().p;N=mh(Ca)||mh(Ka)?Ca===Ka:N.isNumeric()&&ta.isNumeric()?!0:/^A[SZU]/.test(Ca)&&/^A[SZU]/.test(Ka)}ba=N?new rh(la.aa,kh[ba],la.da, -fa):la}return ba;case 20:case 38:case 39:return new vh(N,ba,la,U);case 29:return fa=new ni(N,la,U.oe()),mi(fa.aa)&&mi(fa.da)?(ba=fa.aa.value[0],fa=fa.da.value[0],ba=ba.value>fa.value?qg():ba.value===fa.value?new og([ba],mc.Ke):new oi(ba,fa)):ba=fa,ba;case 30:ba=[];if(N instanceof Fg&&"concat"===N.name.name.local&&N.name.name.q===dc.za)for(fa of N.b)ba.push(fa);else fa=Gi("BINARY_OP",0,"","concat"),ta=Rh("FOTY0013",fa),N=Mh(N,mc.Sb,ta,fa,U),ba.push(N);fa=Gi("BINARY_OP",1,"","concat");ta=Rh("FOTY0013", -fa);la=Mh(la,mc.Sb,ta,fa,U);ba.push(la);ba=Gg("concat",ba);ba.j=mc.Tb;return ba;case 15:case 16:case 17:case 18:case 56:case 19:return new hh(N,ba,la,U);case 79:return ba=la,la=Sa.XS.QName.fromParts("vv",dc.Zg,"otherwise"),fa=new ii,fa.Ma=la,fa.g(N),ka(fa),la=Wh(fa),N=[Gg("exists",[la]),pg([Sa.XS.boolean.Kc],mc.Sa)],fa.b(new fi(N,[la,ba])),fa;case 1:case 23:case 24:return new ch(N,ba,la,1===Ba);case 81:return la=Gg("boolean",la),ei(N,pg([Sa.XS.boolean.Kc],mc.Sa),la);case 80:return la=Gg("boolean", -la),ei(N,la,pg([Sa.XS.boolean.Vd],mc.Sa));default:throw new Af(sf[ba]);}}function I(){switch(t.y){case 16:g();var N=I();N=D(299,N);break;case 15:g();N=I();N=D(15,N);break;default:for(N=c();40===t.y;){g();ua.push(dd(N.j,2));const ba=c();ua.pop();N=new pi(N,ba)}}return N}function D(N,ba){if(ng(ba)){const la=ba.value[0];return 299===N?pg([la.tf()],ba.j):ba}return new hh(pg([Sa.XS.integer.fromNumber(0)],mc.sd),N,ba,U)}function r(){switch(t.y){case 36:case 3:case 201:case 208:case 70:case 207:case 69:case 205:case 206:case 35:case 202:case 209:case 5:case 21:case 43:case 4:return!0; -case 60:return["ordered","unordered","map","array"].includes(t.J);default:return!1}}function c(){var N=t.ee;switch(t.y){case 2:return g(),N=new dh,r()?d(N):N;case 8:g();N=new dh;var ba=new ah(5,null);N=Eh(N,ba);return d(N);default:201===t.y&&["true","false"].includes(t.J)&&q("The expression is looking for a child element named '"+t.J+"' - perhaps "+t.J+"() was intended? To avoid this warning, use child::"+t.J+" or ./"+t.J+".");201===t.y&&-1!==Gf(t.J)&&1!==Ba&&(0'");return null}function ca(N){function ba(fa){return fa instanceof Hg||fa instanceof yh&&ba(fa.b)}switch(t.y){case 21:return H();case 5:var la=x();N&&ba(la)&&P("Predicate pattern cannot be parenthesized","XTSE0340");return la;case 4:return M();case 202:return L(!0);case 209:return E(!0);case 35:return la=t.J,0===Pa&&1===Ba&&(U.Ng=!0,N?Fi.includes(la)||la.includes(":")||P("Function "+la+"() is not permitted at first position in pattern", -"XTSE0340"):P("Function call not at first position in pattern","XTSE0340")),la=ja(null),U.Ng=!1,la;case 213:return C(new Hg);case 205:return g(),new Hg(ua[ua.length-1]);case 206:return g(),new ah(9,null);case 69:if("function"===t.J)return K();case 201:case 208:case 70:case 207:return la=3,69===t.y&&["attribute","schema-attribute"].includes(t.J)?la=2:69===t.y&&"namespace-node"===t.J?la=8:N&&69===t.y&&"document-node"===t.J&&(la=12),N=V(1),new ah(la,N);case 3:g();switch(t.y){case 201:case 208:case 70:case 207:case 69:return la= -V(2),new ah(2,la);default:P("@ must be followed by a NodeTest")}break;case 36:try{la=Tf(t.J)}catch(fa){P(fa.message),la=3}N=Rf[la];g();switch(t.y){case 201:case 208:case 70:case 207:case 69:N=V(N);let fa=null;if(2===la){const ta=yd.Cb(N,new Oc(2));ta===yd.Rb?fa="attribute axis can never yield nodes of type "+N:ta===yd.Fb&&(N=new Oc(2))}3===la&&9===N.Ba&&(fa=N.name+" nodes can never be children");2!==N.Ba||[2,12].includes(la)||(fa="axis "+Qf(la)+" can never yield attribute nodes");if(fa){if(1===Ba)return new ag(fa); -q(fa);return qg()}return new ah(la,N);default:P("Unexpected token "+A()+" after axis name")}break;case 60:switch(t.J){case "map":return w();case "array":return aa();case ".":return X();case "_":P("Underscore functions not yet implemented")}break;case 43:return W();default:P("Unexpected token "+A()+" at start of expression")}}function x(){g();if(204===t.y)return g(),qg();const N=l();e(204);g();return N}function E(){const N=t.J?B(t.J):P("Parser tokenization error NUMBER");isNaN(N)&&P("Invalid numeric literal ("+ -t.J+")");g();return pg([N],"AO"===N.code?mc.$d:"AD"===N.code?mc.sh:mc.sd)}function B(N){try{return 0<=N.indexOf("e")||0<=N.indexOf("E")?Sa.XS.double.fromString(N):0<=N.indexOf(".")?Sa.XS.$a.fromString(N):Sa.XS.integer.fromString(N)}catch(ba){return NaN}}function L(){var N=new rg(t.J);g();return N}function H(){g();e(201);var N=t.J;g();const ba=pa(N,"");N=ea(ba);if(null!=N)var la=Wh(N);else if(ba.q===dc.sj&&0""));if(7===t.y){g();e(201);ta=!1;const Ka=h(t.J,U.hb,U.Vb);Ka.q===dc.ac?1===fa?["untyped","anyType"].includes(Ka.local)||(["untypedAtomic","anyAtomicType"].includes(Ka.local)?ta=!0:P("Unsupported type annotation "+ -t.J+" (SaxonJS is not schema-aware, so all nodes are untyped)")):["untypedAtomic","anyAtomicType"].includes(Ka.local)||P("Unsupported type annotation "+t.J+" (SaxonJS is not schema-aware, so all nodes are untyped)"):P("Unsupported type annotation "+t.J+" (SaxonJS is not schema-aware, so only built-in types are recognized)");g();213===t.y&&g();e(204);g();if(ta)return Lc;if("*"===Ca)return rd(fa);Ca=h(Ca,U.hb,1===fa?U.Vb:()=>"");return new td(fa,Ca)}P("Expected ')' or ',' in SequenceType");return null; -case "schema-attribute":case "schema-element":return P("Type "+ba+"() not allowed: SaxonJS is not schema-aware"),null;default:return P("Unknown node kind "+ba),null}}function w(){var N=[];g();var ba=[];let la=!0;if(215!==t.y)for(;;){var fa=z();e(75);g();const ta=z(),Ca=Gi("FUNCTION",0,"","map:entry"),Ka=Rh("XPTY0004",Ca);fa=Mh(fa,mc.Qe,Ka,Ca,U);!la||fa instanceof og?-1===ba.indexOf(fa)?ba.push(fa):la=!1:la=!1;fa=new Zg(fa,ta);N.push(fa);if(215===t.y)break;else e(7),g()}Df(t);g();if(0===N.length)return ti(new ui("_new", -1,xi.q),[]);if(1===N.length)return N[0];if(la){const ta=[];N.forEach(Ca=>{ta.push([Ca.Mb,Ca.value])});return new $g(ta)}N=new Sh(N);ba=[];ba=new $g([[new rg("duplicates"),new rg("reject")],[new rg("duplicates-error-code"),new rg("XQDY0137")]]);return ti(new ui("merge",2,xi.q),[N,ba])}function M(){const N=[];g();if(203===t.y)return g(),new Pg(N);for(;;){const ba=z();N.push(ba);if(7===t.y)g();else{if(203===t.y){g();break}P("Expected ',' or ']', found "+sf[t.y])}}return new Pg(N)}function aa(){g();const N= -new ui("_from-sequence",1,zi.q);if(215===t.y)return Df(t),g(),ti(N,[qg()]);const ba=l();e(215);Df(t);g();return ti(N,[ba])}function ja(N){function ba(){if(209===t.y)return E(!0);if(202===t.y)return L(t.J);if(21===t.y)return H();P("The arguments to a function call in a pattern must be literals or variable references","XTSE0340")}var la=t.J,fa=t.ee;const ta=[];null!=N&&ta.push(N);N=y(la);la=null;1===Ba&&N.q===dc.za&&["current-group","current-grouping-key","current-merge-group","current-merge-key"].includes(N.local)&& -P(N.local+"() is not permitted in a pattern","XTSE1060");g();if(204!==t.y){for(;;){var Ca=U.Ng?ba():da();if(null==Ca||Ca instanceof Tg)null==la&&(la=[]),la.push(ta.length);ta.push(Ca);if(7===t.y)g();else break}e(204)}g();Ca=new Eg(N,ta.length);if(null!=la)return fa=U.kf().Cg(Ca,U),null==fa&&P("No function "+N.toString()+"#"+ta.length+" is known for partial application","XPST0017"),new Xg(fa,ta,la);la=[];Ca=U.kf().bind(Ca,ta,U,la);return null==Ca?Y(U,fa,N,ta,la):Ca}function Y(N,ba,la,fa,ta){let Ca= -"Cannot find a "+fa.length+"-argument function named "+la.toEQName()+"()";for(var Ka of ta)Ca+=". "+Ka;ta=!1;for(Ka=0;KaN.value||N.value>Number.MAX_SAFE_INTEGER)&&P("Number following '#' is out of range","FOAR0002");N=N.value;g();let ta=null;try{ta=h(ba,fa.hb,fa.fi)}catch(Ka){P(Ka.message,Ka.code)}ba=fa.kf();const Ca=new Eg(ta,N);fa=ba.Cg(Ca,fa);null==fa&&P("Function "+ta.toEQName()+"#"+N+" not found","XPST0017",la);return fa.jb.li&&!ta.hasURI(vf.bj)?new Sg(fa):new Rg(fa)}function ka(N){N.Db= -ia.length;ia.push(N)}function ea(N){for(let ba=ia.length-1;0<=ba;ba--){const la=ia[ba];if(la&&la.Tc().equals(N))return la}}function va(N,ba){return h(N,U.hb,()=>ba)}function pa(N,ba){try{return va(N,ba)}catch(la){P(la.message,la.code)}}function k(N,ba){if(ba.startsWith("Q{"))return new vd(N,ba.substring(2,ba.length-2));try{const la=h(ba+":dummy",U.hb,()=>"");return new vd(N,la.getURI())}catch(la){return P(la.message,la.code),null}}function F(N,ba){xf(ba)||P("Local name ["+ba+"] contains invalid characters"); -return new ud(N,ba)}function T(N,ba,la,fa=!1){this.global=fa;this.Ma=this.name=N;this.Qb=ba;this.Db=la}let t,R,U={},ia=[],ua=[],Ba=0,Fa=0,Pa=0;const Ua=[],Na={Cg:function(N,ba){return(ba=Ii.getFnSignature(N.name,N.arity,ba.di()))?new Yg(N,ba):null},bind:function(N,ba,la){var fa=la.di(),ta=Ii.getFnSignature(N.name,N.arity,fa);if(ta){if(N.name.q===dc.za)switch(N.name.local){case "false":return pg([Sa.XS.boolean.Vd],mc.Sa);case "true":return pg([Sa.XS.boolean.Kc],mc.Sa);case "normalize-unicode":1=== -ba.length&&ba.push(new rg("NFC"));break;case "copy-of":return new di(ba[0]?ba[0]:new Hg(ua[ua.length-1]));case "current-group":return new bi;case "current-grouping-key":return new ci;default:ta.defaultToDot&&0===N.arity&&ta.arity.includes(0)&&(ba.push(new Hg(ua[ua.length-1])),N.arity++)}else if(ta.isIdempotent&&1===ba.length)return ba[0];fa=[];var Ca;const Qa=ta.alphaTree;Qa&&"F"===Qa.p&&!Qa.r&&(Qa.r={p:"",o:"*"});Qa&&"F"===Qa.p&&Qa.a&&Qa.r||Aa.fa("Bad function signature for "+N.name.local);ta.variadic&& -(Ca=Qa.a[0]);const hb=ta.collation||-1;for(let Xa=0;Xaba.length-1&&fa.push(new rg(la.Hb));ba=rc(Qa.r);if(ta.isUserFunction)return new Qg(N,fa,ba,ta.componentBinding);switch(N.name.q){case dc.za:case dc.ac:switch(N.name.local){case "current":ua[0]&& -(ba=ua[0]);break;case "accumulator-before":case "accumulator-after":if(fa[0]instanceof rg){ta=h(fa[0].value[0].value,la.hb,()=>"").toEQName();la=la.wb[ta];if(!la)throw new J("Unknown accumulator "+ta,"XTDE3340");ba=nc(la);fa[0]=new rg(ta)}}return new Fg(N,fa,ba);case dc.map:return new Jg(N,fa,ba);case dc.Ye:return new Kg(N,fa,ba);case dc.qi:return new Lg(N,fa,ba);case dc.ib:return new Mg(N,fa,ba);case dc.Yc:return new Ng(N,fa,ba);case dc.mi:return new Og(N,fa,ba);default:return ta.li?new Qg(N,fa, -ba,ta.zl):new Mg(N,fa,ba)}}else{if(ta=Ii.getFnSignature(N.name,null,fa))if(ta&&!ta.alphaTree&&(ta.alphaTree=wb(ta.sig)),fa=ba.length,Ca=ta.alphaTree.a.length,fa!==Ca&&(ta.variadic?ba.length -"",Hb:"http://www.w3.org/2005/xpath-functions/collation/codepoint",je:!1,Ta:{},wb:{},Pa:!1,zc:!1,zg:!1,Gb:!1,vk:function(){U.Vb=()=>"";U.Hb="http://www.w3.org/2005/xpath-functions/collation/codepoint";U.Ta={};U.wb={};U.Pa=!1;U.zc=!1;U.zg=!1;U.Gb=!1},di:function(){return{Pa:U.Pa,Pl:1===Ba,Ta:U.Ta}},Ej:function(){return U.Hb},fi:function(){return dc.za},kf:function(){return Na},Hl:function(){return null},Ol:function(){return!1},oe:function(){return U.Gb},Vl:function(){return null}};let Wa={};T.prototype.Tc= -function(){return this.name};return{process:function(N,ba,la,fa,ta=!1,Ca=!1,Ka=!1){a();R=N;Ba=ba?1:0;N=[];Wa={};U.vk();U.hb=b;ba&&(U.Pa=!0);Ka&&(U.zg=!0);if(fa){Fa=fa.mf?1:0;fa.zc&&(U.zc=!0);for(var Qa in fa.kc)Wa[Qa]=fa.kc[Qa];for(var hb in fa.yc){Qa=h(hb,U.hb,()=>"");const pb=fa.yc[hb],Oi=nc(pb.getAttribute("sType"));N.push(new T(Qa,Oi,pb,!0))}for(var Xa in fa.Pb)hb=h(Xa,U.hb,()=>""),N.push(new T(hb,fa.ld[Xa],fa.Pb[Xa]));ia=N;U.wb=fa.wb;fa.je&&(U.je=fa.je);fa.Hb&&(U.Hb=fa.Hb);fa.Ta&&(U.Ta=fa.Ta); -fa.Pa&&(U.Pa=fa.Pa);fa.Gb&&(U.Gb=fa.Gb);fa.ue&&(ua=[dd(fa.ue,2)]);fa.xpathDefaultNamespace&&(U.Vb=()=>fa.xpathDefaultNamespace);U.staticBaseUri=fa.staticBaseUri?fa.staticBaseUri:null}Xa="";for(const pb in Wa)N=Wa[pb],N=N===dc.withPrefix[pb]?"~":N,Xa+=pb+"="+N+" ";Hf(t,R);let ob;try{ob=l(Ca)}catch(pb){throw pb instanceof J&&fa&&fa.Bk&&(pb.code=fa.Bk,pb.message="Invalid XPath expression supplied to xsl:evaluate {"+R+"}: "+pb.message),pb;}0!==t.y&&P("Found "+A()+" beyond end of expression");ba?(ob=ob.ua(), -ob instanceof lg&&la&&(ob=new mg(kg(ob)))):fa&&fa.ye&&(ba=Gi("EVALUATE_RESULT",0,"",null),la=Rh("XPTY0004",ba),ob=Mh(ob,fa.ye,la,ba));ba=ta?new Ji:new Ki;ob.t(ba);ba=ba.current;ta?(ba=ba.documentElement,ob.j&&ba.setAttribute("sType",ob.j.ea()),""!==Xa&&ba.setAttribute("ns",Xa),fa&&fa.staticBaseUri&&ba.setAttribute("baseUri",fa.staticBaseUri)):(ba=ba.C[0],""!==Xa&&(ba.Da=Xa),fa&&fa.staticBaseUri&&(ba.cb=fa.staticBaseUri),Ka&&0pb.Ma.toEQName())));return ba},parseSequenceType:function(N, -ba,la){a();U.hb=ba;U.Vb=la;Ba=0;Wa={};Hf(t,N);N=u();0!==t.y&&P("Unexpected "+A()+" after SequenceType");return N},getTokenizer:function(){return t}}}();function Ki(){this.stack=[];this.current={C:[]}}Ki.prototype={V:function(a,b={}){a={N:a,C:[]};for(const h in b)a[h]=b[h];this.current.C.push(a);this.stack.push(this.current);this.current=a},ed:function(a,b){this.current[a]=b},R:function(){this.current=this.stack.pop()}}; -function Ji(){this.b=Pd.find("SaxonJS").getPlatform().createDocument();this.stack=[];this.current=this.b}Ji.prototype={V:function(a,b={}){a=this.b.createElement(a);for(const h in b)a.setAttribute(h,b[h]);this.current.appendChild(a);this.stack.push(this.current);this.current=a},ed:function(a,b){this.current.setAttribute(a,b)},R:function(){this.current=this.stack.pop()}};const Mi={nm:{QuantifiedExpr:"1AB",OrExpr:"1AB",AndExpr:"1AB",ComparisonExpr:"1AB",StringConcatExpr:"1AS",RangeExpr:"*ADI",AdditiveExpr:"?A",MultiplicativeExpr:"?A",IntersectExceptExpr:"*N",InstanceOfExpr:"1AB",CastableExpr:"1AB",UnaryExpr:"?A m[UO,UD,UF]",StringLiteral:"1AS",IntegerLiteral:"1ADI",DecimalLiteral:"1AD",DoubleLiteral:"1AO",NamedFunctionRef:"1F",InlineFunctionExpr:"1F",MapExpr:"1FM",Root:"1ND"},Gk:{"http://www.w3.org/2005/xpath-functions":{QName:{sig:"1F r[1AQ] a[?AS,1AS]"},abs:{sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF]]"}, -"accumulator-after":{XSLTonly:!0,sig:"1F a[1AS] r[*]"},"accumulator-before":{XSLTonly:!0,sig:"1F a[1AS] r[*]"},"adjust-date-to-timezone":{arity:[1,2],sig:"1F r[?AA] a[?AA,?ARD]"},"adjust-dateTime-to-timezone":{arity:[1,2],sig:"1F r[?AM] a[?AM,?ARD]"},"adjust-time-to-timezone":{arity:[1,2],sig:"1F r[?AT] a[?AT,?ARD]"},"analyze-string":{arity:[2,3],sig:"1F r[1NE nQ{http://www.w3.org/2005/xpath-functions}analyze-string-result] a[?AS,1AS,1AS]"},apply:{sig:"1F a[1F,1FA] r[*]"},"available-environment-variables":{sig:"1F r[*AS] a[]"}, -"available-system-properties":{XSLTonly:!0,sig:"1F r[*AQ] a[]"},avg:{sig:"1F r[?A] a[*A]"},"base-uri":{defaultToDot:!0,arity:[0,1],sig:"1F r[?AU] a[?N]"},"boolean":{sig:"1F r[1AB] a[*]"},ceiling:{sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF]]"},"codepoint-equal":{sig:"1F r[?AB] a[?AS,?AS]"},"codepoints-to-string":{sig:"1F r[1AS] a[*ADI]"},"collation-key":{arity:[1,2],collation:1,sig:"1F r[1A2] a[1AS,1AS]"},collection:{arity:[0,1],sig:"1F a[?AS] r[*]"},compare:{arity:[2,3],collation:2,sig:"1F r[?ADI] a[?AS,?AS,1AS]"}, -concat:{arity:[2,Infinity],sig:"1F r[1AS] a[?A,?A]",variadic:!0},contains:{arity:[2,3],collation:2,sig:"1F r[1AB] a[?AS,?AS,1AS]"},"contains-token":{arity:[2,3],collation:2,sig:"1F r[1AB] a[*AS,1AS,1AS]"},"copy-of":{XSLTonly:!0,defaultToDot:!0,arity:[0,1],sig:"1F a[*] r[*]"},count:{sig:"1F r[1ADI] a[*]"},current:{XSLTonly:!0,sig:"1F r[1] a[]"},"current-date":{sig:"1F r[1AA] a[]"},"current-dateTime":{sig:"1F r[1AMP] a[]"},"current-group":{XSLTonly:!0,sig:"1F a[] r[*]"},"current-grouping-key":{XSLTonly:!0, -sig:"1F r[*A] a[]"},"current-merge-group":{XSLTonly:!0,arity:[0,1],sig:"1F a[1AS] r[*]"},"current-merge-key":{XSLTonly:!0,sig:"1F r[*A] a[]"},"current-output-uri":{XSLTonly:!0,sig:"1F r[?AU] a[]"},"current-time":{sig:"1F r[1AT] a[]"},data:{defaultToDot:!0,arity:[0,1],sig:"1F r[*A] a[*]"},dateTime:{sig:"1F r[?AM] a[?AA,?AT]"},"day-from-date":{sig:"1F r[?ADI] a[?AA]"},"day-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"days-from-duration":{sig:"1F r[?ADI] a[?AR]"},"deep-equal":{arity:[2,3],collation:2,sig:"1F r[1AB] a[*,*,1AS]"}, -"default-collation":{sig:"1F r[1AS] a[]"},"default-language":{sig:"1F r[1ASNTL] a[]"},"distinct-values":{arity:[1,2],collation:1,sig:"1F r[*A] a[*A,1AS]"},doc:{sig:"1F r[?ND] a[?AS]"},"doc-available":{sig:"1F r[1AB] a[?AS]"},document:{XSLTonly:!0,arity:[1,2],sig:"1F r[*N] a[*,1N]"},"document-uri":{defaultToDot:!0,arity:[0,1],sig:"1F r[?AU] a[?N]"},"element-available":{XSLTonly:!0,sig:"1F r[1AB] a[1AS]"},"element-with-id":{defaultToDot:!0,arity:[1,2],sig:"1F r[*NE] a[*AS,1N]"},empty:{sig:"1F r[1AB] a[*]"}, -"encode-for-uri":{sig:"1F r[1AS] a[?AS]"},"ends-with":{arity:[2,3],collation:2,sig:"1F r[1AB] a[?AS,?AS,1AS]"},"environment-variable":{sig:"1F r[?AS] a[1AS]"},error:{arity:[0,1,2,3],sig:"1F r[0E] a[?AQ,1AS,*]"},"escape-html-uri":{sig:"1F r[1AS] a[?AS]"},"exactly-one":{sig:"1F r[1] a[*]"},exists:{sig:"1F r[1AB] a[*]"},"false":{sig:"1F r[1AB] a[]"},filter:{sig:"1F r[*] a[*,1F r[1AB] a[1]]"},floor:{sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF]]"},"fold-left":{sig:"1F a[*,*,1F a[*,1] r[*]] r[*]"},"fold-right":{sig:"1F a[*,*,1F a[1,*] r[*]] r[*]"}, -"for-each":{sig:"1F a[*,1F a[1] r[*]] r[*]"},"for-each-pair":{sig:"1F a[*,*,1F a[1,1] r[*]] r[*]"},"format-date":{arity:[2,5],sig:"1F r[?AS] a[?AA,1AS,?AS,?AS,?AS]"},"format-dateTime":{arity:[2,5],sig:"1F r[?AS] a[?AM,1AS,?AS,?AS,?AS]"},"format-integer":{arity:[2,3],sig:"1F r[1AS] a[?ADI,1AS,?AS]"},"format-number":{arity:[2,3],sig:"1F r[1AS] a[?A m[AO,AD,AF],1AS,?AS]"},"format-time":{arity:[2,5],sig:"1F r[?AS] a[?AT,1AS,?AS,?AS,?AS]"},"function-arity":{sig:"1F r[1ADI] a[1F]"},"function-available":{XSLTonly:!0, -arity:[1,2],sig:"1F r[1AB] a[1AS,1ADI]"},"function-lookup":{sig:"1F r[?F] a[1AQ,1ADI]"},"function-name":{sig:"1F r[?AQ] a[1F]"},"generate-id":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?N]"},"has-children":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AB] a[?N]"},head:{sig:"1F r[?] a[*]"},"hours-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"hours-from-duration":{sig:"1F r[?ADI] a[?AR]"},"hours-from-time":{sig:"1F r[?ADI] a[?AT]"},id:{defaultToDot:!0,arity:[1,2],sig:"1F r[*NE] a[*AS,1N]"},idref:{defaultToDot:!0, -arity:[1,2],sig:"1F r[*N] a[*AS,1N]"},"implicit-timezone":{sig:"1F r[1ARD] a[]"},"in-scope-prefixes":{sig:"1F r[*AS] a[1NE]"},"index-of":{arity:[2,3],collation:2,sig:"1F r[*ADI] a[*A,1A,1AS]"},innermost:{sig:"1F r[*N] a[*N]"},"insert-before":{sig:"1F a[*,1ADI,*] r[*]"},"iri-to-uri":{sig:"1F r[1AS] a[?AS]"},"json-doc":{arity:[1,2],sig:"1F r[?] a[?AS,1FM]"},"json-to-xml":{arity:[1,2],sig:"1F r[?ND] a[?AS,1FM]"},key:{XSLTonly:!0,arity:[2,3],sig:"1F r[*N] a[1AS,*A,1N]"},lang:{defaultToDot:!0,arity:[1, -2],sig:"1F r[1AB] a[?AS,1N]"},last:{sig:"1F r[1ADI] a[]"},"load-xquery-module":{arity:[1,2],sig:"1F r[1FM] a[1AS,1FM]"},"local-name":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?N]"},"local-name-from-QName":{sig:"1F r[?ASNTNC] a[?AQ]"},"lower-case":{sig:"1F r[1AS] a[?AS]"},matches:{arity:[2,3],sig:"1F r[1AB] a[?AS,1AS,1AS]"},max:{arity:[1,2],collation:1,sig:"1F r[?A] a[*A,1AS]"},min:{arity:[1,2],collation:1,sig:"1F r[?A] a[*A,1AS]"},"minutes-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"minutes-from-duration":{sig:"1F r[?ADI] a[?AR]"}, -"minutes-from-time":{sig:"1F r[?ADI] a[?AT]"},"month-from-date":{sig:"1F r[?ADI] a[?AA]"},"month-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"months-from-duration":{sig:"1F r[?ADI] a[?AR]"},name:{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?N]"},"namespace-uri":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AU] a[?N]"},"namespace-uri-for-prefix":{sig:"1F r[?AU] a[?AS,1NE]"},"namespace-uri-from-QName":{sig:"1F r[?AU] a[?AQ]"},nilled:{defaultToDot:!0,arity:[0,1],sig:"1F r[?AB] a[?N]"},"node-name":{defaultToDot:!0, -arity:[0,1],sig:"1F r[?AQ] a[?N]"},"normalize-space":{arity:[0,1],sig:"1F r[1AS] a[?AS]"},"normalize-unicode":{arity:[1,2],sig:"1F r[1AS] a[?AS,1AS]"},not:{sig:"1F r[1AB] a[*]"},number:{defaultToDot:!0,arity:[0,1],sig:"1F r[1AO] a[?A]"},"one-or-more":{sig:"1F r[+] a[*]"},outermost:{sig:"1F r[*N] a[*N]"},"parse-ietf-date":{sig:"1F r[?AM] a[?AS]"},"parse-json":{arity:[1,2],sig:"1F r[?] a[?AS,1FM]"},"parse-xml":{sig:"1F r[?ND e[NE]] a[?AS]"},"parse-xml-fragment":{sig:"1F r[?ND] a[?AS]"},path:{defaultToDot:!0, -arity:[0,1],sig:"1F r[?AS] a[?N]"},position:{sig:"1F r[1ADI] a[]"},"prefix-from-QName":{sig:"1F r[?ASNTNC] a[?AQ]"},"random-number-generator":{arity:[0,1],sig:"1F r[1FM k[AS] v[1]] a[?A]"},"regex-group":{XSLTonly:!0,sig:"1F r[1AS] a[1ADI]"},remove:{sig:"1F r[*] a[*,1ADI]"},replace:{arity:[3,4],sig:"1F r[1AS] a[?AS,1AS,1AS,1AS]"},"resolve-QName":{sig:"1F r[?AQ] a[?AS,1NE]"},"resolve-uri":{arity:[1,2],sig:"1F r[?AU] a[?AS,1AS]"},reverse:{sig:"1F a[*] r[*]"},root:{defaultToDot:!0,arity:[0,1],sig:"1F r[?N] a[?N]"}, -round:{arity:[1,2],sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF],1ADI]"},"round-half-to-even":{arity:[1,2],sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF],1ADI]"},"seconds-from-dateTime":{sig:"1F r[?AD] a[?AM]"},"seconds-from-duration":{sig:"1F r[?AD] a[?AR]"},"seconds-from-time":{sig:"1F r[?AD] a[?AT]"},serialize:{arity:[1,2],sig:"1F r[1AS] a[*,?]"},snapshot:{XSLTonly:!0,defaultToDot:!0,arity:[0,1],sig:"1F a[*] r[*]"},sort:{arity:[1,2,3],collation:1,sig:"1F r[*] a[*,?AS,1F r[*A] a[1]]"},"starts-with":{arity:[2, -3],collation:2,sig:"1F r[1AB] a[?AS,?AS,1AS]"},"static-base-uri":{sig:"1F r[?AU] a[]"},"stream-available":{XSLTonly:!0,sig:"1F r[1AB] a[?AS]"},string:{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?]"},"string-join":{arity:[1,2],sig:"1F r[1AS] a[*A,1AS]"},"string-length":{arity:[0,1],sig:"1F r[1ADI] a[?AS]"},"string-to-codepoints":{sig:"1F r[*ADI] a[?AS]"},subsequence:{arity:[2,3],sig:"1F a[*,1AO,1AO] r[*]"},substring:{arity:[2,3],sig:"1F r[1AS] a[?AS,1AO,1AO]"},"substring-after":{arity:[2,3],collation:2, -sig:"1F r[1AS] a[?AS,?AS,1AS]"},"substring-before":{arity:[2,3],collation:2,sig:"1F r[1AS] a[?AS,?AS,1AS]"},sum:{arity:[1,2],sig:"1F r[?A] a[*A,?A]"},"system-property":{XSLTonly:!0,sig:"1F r[1AS] a[1AS]"},tail:{sig:"1F a[*] r[*]"},"timezone-from-date":{sig:"1F r[?ARD] a[?AA]"},"timezone-from-dateTime":{sig:"1F r[?ARD] a[?AM]"},"timezone-from-time":{sig:"1F r[?ARD] a[?AT]"},tokenize:{arity:[1,2,3],sig:"1F r[*AS] a[?AS,1AS,1AS]"},trace:{arity:[1,2],sig:"1F a[*,1AS] r[*]"},transform:{sig:"1F r[1FM] a[1FM]"}, -translate:{sig:"1F r[1AS] a[?AS,1AS,1AS]"},"true":{sig:"1F r[1AB] a[]"},"type-available":{XSLTonly:!0,sig:"1F r[1AB] a[1AS]"},unordered:{sig:"1F r[*] a[*]"},"unparsed-entity-public-id":{XSLTonly:!0,arity:[1,2],sig:"1F r[1AS] a[1AS,1N]"},"unparsed-entity-uri":{XSLTonly:!0,arity:[1,2],sig:"1F r[1AU] a[1AS,1N]"},"unparsed-text":{arity:[1,2],sig:"1F r[?AS] a[?AS,1AS]"},"unparsed-text-available":{arity:[1,2],sig:"1F r[1AB] a[?AS,1AS]"},"unparsed-text-lines":{arity:[1,2],sig:"1F r[*AS] a[?AS,1AS]"},"upper-case":{sig:"1F r[1AS] a[?AS]"}, -"uri-collection":{arity:[0,1],sig:"1F r[*AU] a[?AS]"},"xml-to-json":{arity:[1,2],sig:"1F r[?AS] a[?N,1FM]"},"year-from-date":{sig:"1F r[?ADI] a[?AA]"},"year-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"years-from-duration":{sig:"1F r[?ADI] a[?AR]"},"zero-or-one":{sig:"1F r[?] a[*]"}},"http://www.w3.org/2005/xpath-functions/array":{append:{sig:"1F r[1FA] a[1FA,*]"},filter:{sig:"1F r[1FA] a[1FA,1F r[1AB] a[*]]"},flatten:{sig:"1F a[*] r[*]"},"fold-left":{sig:"1F a[1FA,*,1F a[*,*]] r[*]"},"fold-right":{sig:"1F a[1FA,*,1F a[*,*]] r[*]"}, -"for-each":{sig:"1F r[1FA] a[1FA,1F a[*]]"},"for-each-pair":{sig:"1F r[1FA] a[1FA,1FA,1F a[*,*]]"},get:{sig:"1F a[1FA,1ADI] r[*]"},head:{sig:"1F a[1FA] r[*]"},"insert-before":{sig:"1F r[1FA] a[1FA,1ADI,*]"},join:{sig:"1F r[1FA] a[*FA]"},put:{sig:"1F r[1FA] a[1FA,1ADI,*]"},remove:{sig:"1F r[1FA] a[1FA,*ADI]"},reverse:{sig:"1F r[1FA] a[1FA]"},size:{sig:"1F r[1ADI] a[1FA]"},sort:{arity:[1,2,3],collation:1,sig:"1F r[1FA] a[1FA,?AS,1F r[*A] a[*]]"},subarray:{arity:[2,3],sig:"1F r[1FA] a[1FA,1ADI,1ADI]"}, -tail:{sig:"1F r[1FA] a[1FA]"}},"http://www.w3.org/2005/xpath-functions/map":{contains:{sig:"1F r[1AB] a[1FM,1A]"},entry:{sig:"1F r[1FM] a[1A,*]"},find:{sig:"1F r[1FA] a[*,1A]"},"for-each":{sig:"1F r[*] a[1FM,1F a[1A,*]]"},get:{sig:"1F a[1FM,1A] r[*]"},keys:{sig:"1F r[*A] a[1FM]"},merge:{arity:[1,2],sig:"1F r[1FM] a[*FM,1FM]"},put:{sig:"1F r[1FM] a[1FM,1A,*]"},remove:{sig:"1F r[1FM] a[1FM,*A]"},size:{sig:"1F r[1ADI] a[1FM]"}},"http://www.w3.org/2005/xpath-functions/math":{acos:{sig:"1F r[?AO] a[?AO]"}, -asin:{sig:"1F r[?AO] a[?AO]"},atan:{sig:"1F r[?AO] a[?AO]"},atan2:{sig:"1F r[1AO] a[1AO,1AO]"},cos:{sig:"1F r[?AO] a[?AO]"},exp:{sig:"1F r[?AO] a[?AO]"},exp10:{sig:"1F r[?AO] a[?AO]"},log:{sig:"1F r[?AO] a[?AO]"},log10:{sig:"1F r[?AO] a[?AO]"},pi:{sig:"1F r[1AO] a[]"},pow:{sig:"1F r[?AO] a[?AO,1A m[AO,AD,AF]]"},sin:{sig:"1F r[?AO] a[?AO]"},sqrt:{sig:"1F r[?AO] a[?AO]"},tan:{sig:"1F r[?AO] a[?AO]"}}}};var Ni=function(){const a={};a[dc.ib]={apply:{sig:"1F r[*] a[1F,1FA]"},"column-number":{arity:[0,1],sig:"1F r[1ADI] a[1N]"},"compile-XPath":{arity:[1,2,3],sig:"1F r[1ND] a[1AS,?,?]"},"compile-GlobalContext":{sig:"1F r[1] a[1FM,1FM,1FM]"},"discard-document":{sig:"1F r[1ND] a[1ND]"},"has-uniform-namespaces":{sig:"1F r[1AB] a[1N]"},"line-number":{arity:[0,1],sig:"1F r[1ADI] a[1N]"},"marshal-type":{sig:"1F r[1FM] a[1AS]"},"message-count":{sig:"1F r[1ADI] a[?AQ]"},"parse-sequence-type":{arity:[2,3],sig:"1F r[1FM] a[1AS,1NE,?AS]"}, -"parse-XPath":{arity:[1,2,3],sig:"1F r[1ND] a[1AS,?AS,?]"},permute:{sig:"1F r[*] a[*]"},"system-id":{sig:"1F r[*AU] a[]"},timestamp:{sig:"1F r[1AMP] a[]"}};a[dc.Yc]={apply:{sig:"1F r[*] a[1F,1FA]"},call:{sig:"1F r[*] a[1,1AS,1FA]"},contains:{sig:"1F r[1AB] a[1,1AS]"},eval:{sig:"1F r[*] a[1AS]"},event:{sig:"1F r[?] a[]"},get:{sig:"1F r[*] a[1,1AS]"},location:{sig:"1F r[1AS] a[]"},page:{sig:"1F r[1N] a[]"},"query-params":{sig:"1F r[1FM] a[]"},source:{sig:"1F r[?N] a[]"},style:{sig:"1F r[1FM] a[?N]"}, -window:{sig:"1F r[1] a[]"}};a["http://exslt.org/common"]={"node-set":{sig:"1F r[?N] a[?N]",isIdempotent:!0}};return{Hj:function(b){return a[b]},jg:function(b){const h=b.namespace;b=b.signatures;let A=a[h];A||(A={},a[h]=A);Object.entries(b).forEach(P=>{A[P[0]]=P[1]})}}}();var Pi=function(){function a(r){var c;var d={};for(c in r){var n=r[c];d[c]=n}return d}function b(){}function h(r){const c={};if(r){r=r.split(" ");for(let n=0;nu?na:u;n.ad=u+1}n.wk(r);if(r=c.slotTypes)for(Q in r)n.ld[Q]=rc(r[Q]);for(ma in d)n.kc[ma]=d[ma];n.kc[""]="";if(d=c.staticTyping)n.zf=d;if(d=c.xpathDefaultNamespace)n.xpathDefaultNamespace=d;if(d= -c.defaultCollation)n.Hb=d;if(d=c.staticBaseURI)n.staticBaseURI=d;(d=c.contextType)?n.type=new pc(sc(d),2):n.type=n.Pa?null:mc.cc;n.ue=n.type;if(c=c.requiredType)n.ye=nc(c);return n}function q(r){const c=new b;c.type=mc.cc;c.U(r.params,r.inputConvert);"fn xs map array math saxon ixsl".split(" ").forEach(m=>c.kc[m]=qi[m]);for(var d in r.namespaceContext)c.kc[d]=r.namespaceContext[d];r.xpathDefaultNamespace&&(c.xpathDefaultNamespace=r.xpathDefaultNamespace);let n;if(r=r.slotMap){d=-1;let m;for(n in r)m= -r[n],c.Pb[n]=m,d=m>d?m:d;c.ad=d+1}return c}function g(r,c,d){r=Li.process(r,"pattern"===c.type,c.splitPattern,d,"XSLT"===c.language,c.allowEmpty,c.freeVariables);return Ub(r)}function e(r,c=!1){const d={"function":{},globalVariable:{},globalParam:{}};for(const m in r){if("PRIVATE"===r[m].visibility)continue;var n=r[m].actor;const u=fc.Q(n)?n.nodeName:n.N,Q=fc.Q(n)?n.getAttribute("name"):n.name;switch(u){case "function":if(c&&"PUBLIC"!==r[m].visibility&&"FINAL"!==r[m].visibility)break;n=(fc.Q(n)?fc.wc(n, -"arg"):A(n)).length;d[u][Q+"#"+n]=r[m];break;case "globalVariable":case "globalParam":d[u][Q]=r[m]}}return d}function l(r,c=!0){const d={N:r.nodeName};var n=r.attributes,m;for(m=0;mparseInt(n,10)),actor:c,C:[c]};return c.parentNode=r}function G(r){if(!fc.Q(r))return[];let c=[];r.childNodes.forEach(d=>c=c.concat(G(d)));return c}function p(r,c){"ufRef"===r.nodeName?r.setAttribute("bSlot",c[r.getAttribute("name")]):r.hasChildNodes()&&r.childNodes.forEach(d=>p(d,c))}function f(r,c,d){var n=Pd.find("SaxonJS");const m=n.XError,u=n.convertResult;var Q=n.getPlatform(),ma=Q.inBrowser();d||={};d.params||(d.params={});if(r.freeV){const B=d.params; -let L={};r.freeV.forEach(H=>{const S=H.startsWith("Q{}")?B[H.substring(3)]:B[H];if(!S)throw new m("A value for parameter "+H+" is required","SXJS9999");L[H]=S});d.params=L}n=d.inputConvert||"strong";const na=q(d);let O=r.C[0];O.parentNode=r;const ca={name:"evaluate",La:r,Ua:{}};r=new rf;r.resultDocument=Q.createDocument();r.fixed={runtimeFunctionLookupCache:{},gb:{},$b:{},hd:{},gg:0,zb:new Date,Ua:{"Q{}":r.resultDocument.createElement("decimal-format")},bd:{evaluate:ca},staticBaseURI:ma?window.location.href: -null,evaluator:ld};d.staticBaseURI&&(r.fixed.staticBaseURI=d.staticBaseURI);let x,E;if(d.namedDecimalFormats)for(const B in d.namedDecimalFormats){Q=d.namedDecimalFormats[B];ma=r.resultDocument.createElement("decimal-format");for(x in Q)E=Q[x],ma.setAttribute(x,["infinity","NaN"].includes(x)?E:Ia(E)[0]);ca.Ua[/^Q\{/.test(B)?B:"Q{}"+B]=l(ma)}if(d.defaultDecimalFormat){Q=d.defaultDecimalFormat;ma=r.resultDocument.createElement("decimal-format");for(x in Q)E=Q[x],ma.setAttribute(x,["infinity","NaN"].includes(x)? -E:Ia(E)[0]);ca.Ua["Q{}"]=l(ma)}r.localVars=na.mc;if(c)if(c instanceof Ab)r.focus=c;else{if(Array.isArray(c)&&1{Q.params[ma]="dummy"});c=q(Q);m=g(r,Q,c).next()}const u={N:"package",name:"evaluate",C:[m]};n&&(u.freeV=n);return d?u:function(Q,ma={}){return f(u,Q,{params:ma})}},evaluateOnly:f,compileGlobalContext:function(r,c,d){var n=new b;n.g(); -n.yc=r;n.O=c;n.wb=d;r={};d=0;for(let u in c){var m=c[u];const Q=fc.Q(m);m=Q?m.parentNode:m.parent;const ma=Q?m.parentNode:m.parent;r[d++]={actor:m,La:ma,id:parseInt(Q?ma.getAttribute("id"):ma.id,10)}}n.Ta=e(r);return Ub(n)},evaluateXDM:function(r,c,d,n){function m(Z=""){return ma[Z]}var u;const Q=Pd.find("SaxonJS").getPlatform();let ma;const na=P(n.params,n,n.namespaces);na.xa=d.fixed.xa;na.staticBaseURI||(na.staticBaseURI=d.fixed.staticBaseURI);const O=d.fixed.xa;na.Ta=e(d.fixed.xa,n.dynamicEval); -r=g(r,n,na).next();const ca={N:"package",name:"evaluate"};var x={name:"evaluate",La:ca,Ua:{}};r.parentNode=ca;let E=!1;var B=G(r);if(0{const ha=v(Z,l(V),"");V=V.getAttribute("name")+"#"+V.getAttribute("arity");ha.parentNode=ca;na.Ta["function"][V]={actor:ha,La:null,id:Z};X[V]=S++;O[Z]=ha;Z++;K.push(ha)});p(r,X);r=l(r);L=v(1E3,r,L.join(" "));L.parentNode=ca;O[1E3]=L;K.unshift(L);ca.C= -K}else fc.Q(r)?r=l(r):z(r),ca.C=[v(1E3,r,"")],r.parentNode=ca;H=ld.fe(d.currentComponent.actor,d);for(u in H.Ua)x.Ua[u]=H.Ua[u];B=new rf;B.fixed={runtimeFunctionLookupCache:{},gb:{},hd:{},$b:{},gg:0,zb:new Date,Ua:{},xa:d.fixed.xa,evaluator:ld,la:d.fixed.la,yb:d.fixed.yb,staticBaseURI:d.fixed.staticBaseURI,Ae:null,bd:{evaluate:x}};B.fixed.bd[H.name]=H;n.staticBaseURI&&(B.fixed.staticBaseURI=n.staticBaseURI);if(H=n.staticContext){var C=H.decimalFormats;if(C)for(u in C)x.Ua[u]=l(C[u]);if(x=H.resources)for(u in x)if(C= -x[u],C.hasOwnProperty("err")){let Z=C.err;Z=Z.replace(/Q{http:\/\/www\.w3\.org\/2005\/xqt-errors\}/,"");B.fixed.$b[u]=new J(Z+" "+C.description,Z)}else B.fixed.$b[u]=C;if(x=H.sources)for(u in x)if("."!==u)try{const Z=x[u];let K;if("string"==typeof Z){let X=Q.readFile(Z);X=Td.Hh(Td.Gh(X));K=fc.lc(Q.parseXmlFromString(X));K._saxonBaseUri=Z;K._saxonDocUri=Z}else K=Z;B.fixed.gb[u]=K}catch(Z){B.fixed.gb[u]=Z}if(u=H.collectionFinder)ma=u,B.fixed.la.Kh=m;u=H.staticBaseURI;"undefined"!=typeof u&&(B.fixed.staticBaseURI= -"#UNDEFINED"===u?null:u)}n.staticBaseURI&&(B.fixed.staticBaseURI=n.staticBaseURI);B.masterDocument=d.masterDocument;B.resultDocument=Q.createDocument();if(null!=c){n=c.next();if(null!=c.next())throw new J("Context item is a sequence of more than one item","XTTE3210");B.localVars=[];for(c=0;cna.as).join(",")+"] r["+ma.as+"]");return ma.sig}var m=null,u=Mi.Gk[r.q];u&&(m=u[r.local]);if(m&&!d.Pa&&m.XSLTonly)return null;m||r.q!==dc.ac||(Sa.type[r.local]?m={sig:"1F a[?A] r[?"+Sa.type[r.local].code+"]"}:Hd[r.local]&&(m={sig:"1F a[1AS] r[*"+Hd[r.local]+"]"}));if(!m&&d.Ta&&d.Ta["function"]){var Q=r.toEQName();if(d=d.Ta["function"][Q+"#"+c])r=Q,m=d.actor,fc.Q(m)?(fc.wc(m,"arg"),m={sig:m.getAttribute("sig")}):(A(m),m={sig:n(m)}), -m.isUserFunction=!0,m.componentBinding=d.id}else if(!m&&d.fixed&&d.fixed.xa)if(u=`{${r.q}}${r.local}#${c}`,u in d.fixed.runtimeFunctionLookupCache)m=d.fixed.runtimeFunctionLookupCache[u];else{const ma=r.toEQName();for(Q in d.fixed.xa){const na=d.fixed.xa[Q].actor;if("function"===na.N&&na.name===ma&&A(na).length===c){m={sig:n(na),isUserFunction:!0,componentBinding:Q};d.fixed.runtimeFunctionLookupCache[u]=m;break}}}if(!m&&((d=Ni.Hj(r.q))&&(m=d[r.local]),r.q===dc.mi)){r=0c.indexOf("`"))return c.split(".");let d=[""],n=0,m=0,u=!0;for(;mr||r>c)throw new J("Array index ("+r+") out of bounds (1 to "+ -c+")","FOAY0001",v);}function p(r){return r[0].next().value}function f(r){return Ub(new id(r))}function I(r,c,d,n){const m=c.fixed.evaluator;let u=r[1].expand();const Q=r[2].expand()[0],ma=Object.keys(c.localVars).length;if(Q instanceof jd.XdmFunction)r=p(r),n||(r=r.reverse()),r.forEach(na=>{u=Q.evaluate(n?[u,na]:[na,u],c,d).expand()});else{let na;"function"!==Q.N&&(na=Q);r[0].forEachItem(function(O){const ca=c.newContext(!0);na&&(ca.currentComponent=na);ca.clearGrouping();ca.tempOutputState="function"; -ca.currentMode={};ca.currentTemplate=null;ca.focus=null;n?(ca.localVars[ma]=u,ca.localVars[ma+1]=[O]):(ca.localVars[ma]=[O],ca.localVars[ma+1]=u);u=m.evaluate(void 0,ca).expand()})}return Pb(u)}const D={append:function(r){return f(p(r).concat([r[1].expand()]))},filter:function(r,c,d){const n=r[1].expand()[0];Object.keys(c.localVars);r=p(r);if(n.evaluate){const m=[];r.forEach(function(u){const Q=n.evaluate([u],c,d).expand();if(Array.isArray(Q)&&1!==Q.length||!q.boolean.matches(Q[0]))throw new J("Wrong type for function result in filter(). Expecting xs:boolean, supplied value is "+ -Aa.showValue(Q),"XPTY0004",d);Q[0].toBoolean()&&m.push(u)});return f(m)}throw new J("Argument supplied to array:filter is not a function","XPTY0004",d);},flatten:function(r){return ld.flatten(r[0])},"fold-left":function(r,c,d){return I(r,c,d,!0)},"fold-right":function(r,c,d){return I(r,c,d,!1)},"for-each":function(r,c,d){const n=r[1].expand()[0];r=p(r);Object.keys(c.localVars);if(n.evaluate){const m=[];r.forEach(function(u){m.push(n.evaluate([u],c,d).expand())});return f(m)}},"for-each-pair":function(r, -c,d){let n=r[2].expand();if(1!==n.length)throw new J("for-each-pair() must have exactly one function item as the third argument. Supplied length "+n.length,"XPTY0004",d);n=n[0];Object.keys(c.localVars);const m=[],u=r[0].next().value[Symbol.iterator]();r=r[1].next().value[Symbol.iterator]();let Q=u.next().value,ma=r.next().value;if(n instanceof jd.XdmFunction)for(;Q&&ma;)m.push(n.evaluate([Q,ma],c,d).expand()),Q=u.next().value,ma=r.next().value;return f(m)},"_from-sequence":function(r){const c=[]; -r[0].forEachItem(function(d){c.push([d])});return f(c)},get:function(r){const c=p(r);r=r[1].next().toNumber();G(r,c.length);return Pb(c[r-1])},head:function(r){r=p(r);G(1,r.length);return Pb(r[0])},"insert-before":function(r){const c=p(r),d=r[1].next().toNumber();G(d,c.length+1);r=r[2].expand();return f(c.slice(0,d-1).concat([r]).concat(c.slice(d-1)))},join:function(r){const c=[];r[0].forEachItem(function(d){d.value.forEach(function(n){c.push(n)})});return f(c)},put:function(r){const c=p(r),d=r[1].next().toNumber(); -G(d,c.length);r=r[2].expand();return f(c.slice(0,d-1).concat([r]).concat(c.slice(d)))},remove:function(r){const c=p(r),d=[];r[1].forEachItem(function(n){n=n.toNumber();G(n,c.length);d.push(n-1)});return f(c.filter(function(n,m){return 0>d.indexOf(m)}))},reverse:function(r){return f(p(r).slice().reverse())},size:function(r){return Zb(r[0].next().size())},sort:function(r,c,d){const n=Nd.jf(d,r[1],c);let m=ld.atomize;if(r[2]){const u=r[2].next();m=function(Q){return u.evaluate([[Q]],c,d)}}return f(p(r).slice().sort(function(u, -Q){return r[1]?Od(Pb(u).mapOneToMany(m),Pb(Q).mapOneToMany(m),n):Od(Pb(u).mapOneToMany(m),Pb(Q).mapOneToMany(m))}))},subarray:function(r){const c=p(r),d=r[1].next().toNumber();G(d,c.length+1);r=r[2]?r[2].next().toNumber():c.length-d+1;if(0>r)throw new J("Length is negative","FOAY0002");G(d+r,c.length+1);return f(c.slice(d-1,d+r-1))},tail:function(r){r=p(r);G(1,r.length);return f(r.slice(1))},"_to-sequence":function(r){const c=[];p(r).forEach(function(d){d.forEach(function(n){c.push(n)})});return Pb(c)}}; -if(!D[e])throw new J("Unknown array function: "+e,"SXJS0003",v);return D[e](l,z,v)}function A(e,l,z,v){const G={contains:function(p){const f=p[0].next();p=p[1].next();return bc(f.containsKey(p))},create:function(p){const f=new lc;p[0].forEachItem(function(I){I.forAllPairs(function(D){f.inSituPut(D.k,D.v)})});return Ub(f)},entry:function(p){const f=new lc;f.inSituPut(p[0].next(),p[1].expand());return Ub(f)},find:function(p){function f(c){ld.isArray(c)?c.value.forEach(I):ld.pe(c)&&(c.containsKey(r)&& -D.push(c.get(r)),c.keys().forEach(function(d){I(c.get(d))}))}function I(c){c.forEach(f)}const D=[],r=p[1].next();I(p[0].expand());return Ub(new id(D))},"for-each":function(p,f,I){const D=p[0].next(),r=D.keys(),c=p[1].expand()[0];if(c.evaluate){let d=[];r.forEach(function(n){d=d.concat(c.evaluate([[n],D.get(n)],f,I).expand())});return Pb(d)}throw new J("Argument to map:for-each is not a function","XPTY0004",I);},get:function(p){const f=p[0].next();p=p[1].next();return Pb(f.get(p))},keys:function(p){p= -p[0].next();return Pb(p.keys())},merge:function(p){const f=new lc,I=p[1]?p[1].next():null,D=q.string.fromString("duplicates"),r=I&&I.containsKey(D)?I.get(D).toString():"use-first";p[0].forEachItem(function(c){c.forAllPairs(function(d){if(!f.containsKey(d.k)||["use-last","unspecified","use-any"].includes(r))f.inSituPut(d.k,d.v);else{if("reject"===r){var n=q.string.fromString("duplicates-error-code");n=I.containsKey(n)?I.get(n).toString():"FOJS0003";throw new J("Duplicate key value '"+d.k.toString()+ -"'",n,v);}if("combine"===r){let m=[];f.get(d.k).forEach(function(u){m.push(u)});d.v.forEach(function(u){m.push(u)});f.inSituPut(d.k,m)}}})});return Ub(f)},_new:function(p){const f=new lc;p[0]&&p[0].forEachItem(function(I){I.forAllPairs(function(D){if(f.containsKey(D.k))throw new J("Duplicate key value '"+D.k.toString()+"'","XSLT"===z.fixed.la.Xb?"XTDE3365":"XQDY0137",v);f.inSituPut(D.k,D.v)})});return Ub(f)},put:function(p){const f=p[0].next(),I=p[1].next();p=p[2].expand();return Ub(f.put(I,p))}, -remove:function(p){let f=p[0].next();p[1].forEachItem(function(I){f=f.remove(I)});return Ub(f)},size:function(p){let f=0;p[0].next().forAllPairs(function(){f++});return Zb(f)},"untyped-contains":function(p){const f=p[0].next();p=p[1].next();return bc(f.containsKey(p))}};if(!G[e])throw new J("Unknown map function: "+e,"SXJS0003",v);return G[e](l,z,v)}function P(e,l,z,v){function G(r){return null===r?(I=!0,Number.NaN):r.toNumber()}function p(){const r=l[0].next();return G(r?r:ld.Fa(v)(z).next())}function f(){const r= -l[1].next();return G(r?r:ld.Mh(v)(z).next())}let I=!1;const D=function(){switch(e){case "pi":return Math.PI;case "exp":return Math.exp(p());case "exp10":return Math.pow(10,p());case "log":return Math.log(p());case "log10":return Math.log(p())/Math.LN10;case "pow":const r=p(),c=f();return-1===r&&(Infinity===c||-Infinity===c)||1===r?1:Math.pow(r,c);case "sqrt":return Math.sqrt(p());case "sin":return Math.sin(p());case "cos":return Math.cos(p());case "tan":return Math.tan(p());case "asin":return Math.asin(p()); -case "acos":return Math.acos(p());case "atan":return Math.atan(p());case "atan2":return Math.atan2(p(),f());default:throw new J("Unknown math function "+v.name,"XPST0017",v);}}();return I?Tb:$b(D)}const q=Sa.XS,g={};g[dc.ib]={apply:pe.apply,"compile-XPath":function(e,l,z){const v=e[0].next().toString();let G,p;1v[G]}else e=v=>kc(z,v);l= -Li.parseSequenceType(l,e,()=>{let v=z;for(;v&&1===v.nodeType;){if(fc.X(v).q===dc.Jc&&null!=ic(v,"","xpath-default-namespace"))return jc(v,"","xpath-default-namespace");if(null!=ic(v,dc.Jc,"xpath-default-namespace"))return jc(v,dc.Jc,"xpath-default-namespace");v=fc.Oa(v)}});return Ub(ld.Be(ld.Na(l.T()))[0])},"parse-XPath":function(e){const l=e[0].next().toString();let z="parse";1l.push({Mb:Math.random(),Dk:z}));l=l.sort(function(z,v){return z.Mb-v.Mb});e=l.map(z=>z.Dk);return Pb(e)},"system-id":function(e,l){e=l.getCurrentFocus();e=fc.Q(e)?fc.Za(e):null;return Ub(null===e?null:q.anyURI.fromString(e))},timestamp:function(e,l){return Ub(q.vd.fromDate(new Date,-l.fixed.zb.getTimezoneOffset()))}};g["http://exslt.org/common"]={"node-set":function(e){return e[0]}};ld.qk(a);return{evaluate:a,jg:function(e){const l=e.namespace;e=e.signatures;let z=g[l]; -z||=g[l]={};Object.entries(e).forEach(v=>{z[v[0]]=v[1].impl})}}}();var Ri={forceBaseURI:Pi.forceBaseURI};const Si=function(){function a(e,l){return e.rb===l.rb?e.Ec===l.Ec?e.Kd===l.Kd?l.Ei-e.Ei:e.Kd-l.Kd:e.Ec-l.Ec:e.rb-l.rb}function b(e,l){return e.rb===l.rb?e.Ec===l.Ec?0:e.Ec-l.Ec:e.rb-l.rb}function h(e,l){function z(v){return v.n?[v.n.replace(/^(\*:|Q\{.*\})/,"")]:v.u?z(v.u[0]).concat(z(v.u[1])):[]}this.Ve=e;this.wi=e.onNo;this.ti=l.qb(e,"t");l.qb(e,"F")&&(this.ug=!0);this.xh=(e.C||[]).map(function(v){return{Id:v,rb:parseInt(v.prec,10),Ec:parseFloat(v.prio),Kd:parseInt(v.seq,10),dk:parseInt(v.minImp, -10),Ei:parseInt(v.rank,10),ve:Qd.Zc(l.$(v,"match")),matches:oc(v.matches||"1"),Xa:l.$(v,"action")}}).sort(a).reverse();this.Ub={};this.xh.forEach(v=>{const G=v.matches.T();let p,f=[];/^N[EAP]/.test(G.p)?(p=G.p,G.n&&!/}\*$/.test(G.n)?(p+=" "+G.n.replace(/^(\*:|Q\{.*\})/,""),f=[p]):f=G.u?[...(new Set(z(G)))].map(I=>p+" "+I):[p]):f=["."];f.forEach(I=>{let D=this.Ub[I];D||(this.Ub[I]=D=[]);D.push(v)})})}const A=Sa.XS,P=fc.va,q={TC:function(e,l,z,v){if(fc.Q(e))switch(e.nodeType){case 9:case 11:case 1:z= -z.newContext(!1);z.focus=Xb(P.wa(e));l.xb(z,v);break;case 3:case 4:v.append(e);break;case 2:v.text(e.value)}else if(A.lg.matches(e))v.text(e.toString());else if(ld.isArray(e)){let G=[];e.value.forEach(p=>{G=G.concat(p)});e=z.newContext(!1);e.focus=Xb(Pb(G));l.xb(e,v)}},SC:function(e,l,z,v){return ee.Rg(e,z,"c",function(){const G=z.newContext(!1);G.focus=Xb(P.attribute(e));l.xb(G,v);G.focus=Xb(P.wa(e));l.xb(G,v)},v)},DC:function(e,l,z,v){fc.Q(e)&&(v.cb=fc.Za(e));v.append(e)},DS:function(e,l,z,v){if(fc.Q(e))switch(e.nodeType){case 9:case 11:z= -z.newContext(!1),z.focus=Xb(P.wa(e)),l.xb(z,v)}},SS:function(e,l,z,v){if(fc.Q(e))switch(e.nodeType){case 9:case 11:case 1:z=z.newContext(!1),z.focus=Xb(P.attribute(e)),l.xb(z,v),z.focus=Xb(P.wa(e)),l.xb(z,v)}else if(ld.isArray(e)){let G=[];e.value.forEach(p=>{G=G.concat(p)});e=z.newContext(!1);e.focus=Xb(Pb(G));l.xb(e,v)}},bubble:function(e,l,z,v){fc.Q(e)?1===e.nodeType&&(z=z.newContext(!1),z.focus=Xb(P.parent(e)),l.xb(z,v)):v.append(e)}};q.TO=q.TC;const g={1:"NE",2:"NA",3:"NT",7:"NP",8:"NC",9:"ND", -11:"ND",13:"NN"};h.prototype={Ve:null,xh:null,wi:"TC",ti:!1,ug:!1,xb:function(e,l,z){if(z){let v=!0;e.focus.forEachItem(G=>{v?v=!1:l.text(z.value,{});this.We(G,e,l)})}else e.focus.forEachItem(v=>this.We(v,e,l))},ij:function(e,l){const z=e.currentTemplate;if(!z)throw new J("No current template rule","XTDE0560");return this.We(e.getCurrentFocus(),e,l,function(v){return v.rb>=z.dk&&v.rba(v,z)})},xj:function(e,l,z){let v=null,G=null;const p=this.ug;var f=[];if(fc.Q(e)){const D=g[e.nodeType];var I=fc.X(e);if(I=I?I.local:null)I=D+" "+I,this.Ub[I]&&f.push(this.Ub[I]);this.Ub[D]&&f.push(this.Ub[D]);this.Ub.N&&f.push(this.Ub.N)}this.Ub["."]&&f.push(this.Ub["."]);(function(D){D.forEach(r=>{r.forEach(function(c){if(!z||z(c))if(!v||0!0;else if("strip.none"===x.N)B=()=>!1;else{let L={},H={},S={},C={},Z={},K=function(V,ha,w){V[ha]?parseInt(w.rb,10)>parseInt(V[ha].rb,10)&&(V[ha]=w):V[ha]=w};(x.C||[]).forEach(V=>{const ha=oc(V.test);ha instanceof td?(V.PREC=parseInt(V.prec,10),V.PRIO=2,K(L,ha.name.toEQName(),V)):ha instanceof vd?(V.PREC=parseInt(V.prec,10),V.PRIO=1,K(H,ha.q,V)):ha instanceof ud?(V.PREC=parseInt(V.prec,10),V.PRIO=1,K(S,ha.localName,V)):ha instanceof Oc?(V.PREC=parseInt(V.prec,10),V.PRIO= -0,K(C,"*",V)):Aa.fa("Unrecognised strip-space "+V.test)});const X=(V,ha)=>{const w=[],M=L["Q{"+V+"}"+ha];M&&w.push(M);(V=H[V])&&w.push(V);(ha=S[ha])&&w.push(ha);C["*"]&&w.push(C["*"]);w.sort((aa,ja)=>{const Y=aa.PREC,y=ja.PREC;return Y===y?ja.PRIO-aa.PRIO:y-Y});return 0{const w="Q{"+V+"}"+ha,M=Z[w];if(M)return"s"===M;V=X(V,ha);Z[w]=V?"s":"p";return V}}else B=()=>!1;return function(L){E(L);return L}}function h(x,E,B){function L(W){W=new $d(W);X.fixed.Aj=W;return new ee.getComplexContentOutputter(W)} -function H(){}function S(){Q&&!B.Kg&&p(X)}var C=ld.db(x,"strip")[0]||ld.db(x,"strip.all")[0];let Z=null;if(C||Q)Z=b(C),E&&Z&&(E=Z(E));B.Qi&&B.Qi(x);B.gm=null;const K=B.Bh,X=I(x,E,B);X.fixed.pm=X.fixed.md.La.version;D(X,function(W){return"globalParam"===W.N&&W.flags&&-1!==W.flags.indexOf("r")}).map(function(W){return W.name}).map(function(W){if("undefined"===typeof X.fixed.la.stylesheetParams.get(Sa.XS.QName.fromEQName(W)))throw new J("No value has been provided for required stylesheet parameter '"+ -W+"'","XTDE0050");});X.fixed.Ae=Z;E&&(fc.lc(E),X.fixed.gb[E._saxonBaseUri]=E);const V=B.destination||"application",ha=B.resultForm||"default";if(B.deliverResultDocument){let W=B.deliverResultDocument("testURI");["document","serialized","raw"].includes(W.destination)&&!W.save&&(B.deliverResultDocument=function(){return new oe(W.destination,B.resultDocuments)})}B.deliverResultDocument||(B.deliverResultDocument=Q?function(){return new ne("html-page",function(W,ka){B.resultDocuments[W.toString()]=ka})}: -K?function(){return new ne("file",function(W,ka,ea){ka=u.writeFileAsync(W,ka,ea);Aa.Qa("Promising to write to "+W,2,X.fixed.Ga);X.fixed.nd.push(ka)})}:function(){return new ne("file",function(W,ka,ea){Aa.Qa("Writing to "+W,2,X.fixed.Ga);u.writeFileSync(W,ka,ea)})});let w;const M={};C=X.fixed.md;var aa=C.Mg["#unnamed"];if(aa){aa=aa.C;var ja,Y;for(var y=0;yaa.indexOf("Q{")&& -(aa="Q{}"+aa);C=c(X,aa);if(!C)throw new J("Unknown initial mode "+aa,"XTDE0045");y="Q{"+dc.Jc+"}initial-template";E||ja||Y||d(X,y)&&(Y=y);let da=B.Mj;if(da){E=B.functionParams?B.functionParams:[];ja=E.length;Y=n(X,da.toString(),ja);if(!Y)throw new J("Unknown initial function "+da+"#"+ja,"XTDE0041");if("PUBLIC"!==Y.La.vis&&"FINAL"!==Y.La.vis)throw new J("Uninvocable initial function "+da+"#"+ja+" with visibility "+Y.La.vis,"XTDE0041");const W=Y.La.C[0];X.focus={};X.currentComponent=Y;X.clearGrouping(); -X.tempOutputState="function";X.currentMode=C;X.currentTemplate=null;let ka=0;X.localVars=E.map(function(ea){var va=W.C[ka++].as;va=nc(va||"*");return ld.pg(ld.Na(ea),va,()=>"function parameter for "+da)});E=H();ee.push(ld.$(W,"body"),X,E);E.close()}else if(Y){ja=d(X,Y);if(!ja)throw new J("Unknown initial template "+Y,"XTDE0040");Y=ja.actor;X.fixed.Uc?X.focus=Wb(E):(X.focus=Xb(Tb),X.focus.next());ld.og(Y,X);X.currentComponent=ja;X.currentMode=C;A(B,X);E=H();ee.push(Y.C[0],X,E);E.close()}else{Array.isArray(ja)&& -Z&&ja.filter(fc.Q).map(function(W){return fc.nf(W)?W:W.ownerDocument}).map(function(W){return Z(W)});if("PRIVATE"===C.visibility&&aa!==x.defaultMode&&""!==aa)throw new J("Uninvokable initial mode "+aa+" with visibility "+C.La.vis,"XTDE0045");if(!E&&!ja)throw new J("No source input supplied for apply-templates invocation","XTDE0044");Y=C.mode;X.currentComponent=C;X.focus=Xb(ja?Pb(Array.isArray(ja)?ja:[ja]):Ub(E));E=Y.Ve.useAcc;null!=E&&"#all"!==E&&(X.useAccumulators=E.split(/\s+/));A(B,X);E=H();Y.xb(X, -E);E.close()}S();if(K){function W(){const ka=X.fixed.nd;X.fixed.nd=[];return Promise.all(ka).then(()=>{if(0{throw ea;}).then(()=>Promise.resolve(new me(B.principalResult,B.resultDocuments,x,B.masterDocument)))}B.resultPromise=W()}}function A(x,E){x.templateParams&&(Aa.ba(x.templateParams instanceof lc,"options?templateParams must be an instance of HashTrie. Supplied:"+x.templateParams),E.localParams=x.templateParams);x.tunnelParams&&(Aa.ba(x.templateParams instanceof -lc,"options?tunnelParams must be an instance of HashTrie. Supplied:"+x.tunnelParams),E.tunnelParams=x.tunnelParams)}function P(x){let E="";for(const B in x)x.hasOwnProperty(B)&&x[B]&&(E+=B+"="+x[B].toString().substring(0,30)+"("+typeof B+"), ");return E}function q(x){let E=x.stylesheetInternal||null;if(!E){if(x.Eb)var B=u.readFile(x.Eb);else if(x.stylesheetText)B=x.stylesheetText;else if(x.Zb){if(Q)throw new J("Cannot supply stylesheetFileName in browser","SXJS0006");B=u.readFile(x.Zb)}else throw new J("No stylesheet supplied", -"SXJS0006");try{E=JSON.parse(B)}catch(H){throw new J("Supplied SEF is not in JSON format","SXJS0006");}}v(E,x);E.PRIMED||(G(E),g(E),E.PRIMED=!0);"true"===E.relocatable&&(x.Xc=!0);B=x.yf||null;let L;B&&(L=x.yf.Za||x.Md)&&(B._saxonBaseUri=L);if(!B){let H;if(x.Hc)L=x.Hc,H=u.readFile(L);else if(x.ze)L=x.Md,H=x.ze;else if(x.Gc){if(Q)throw new J("Cannot supply sourceFileName in browser","SXJS0006");L=x.Gc;H=u.readFile(L)}if(H)if("json"===x.Li)B=Sd.Gd(H,null);else{if("string"!==typeof H)throw new J("Supplied sourceText is not a string", -"SXJS0006");B=u.parseXmlFromString(H);L&&(B._saxonBaseUri=B._saxonDocUri=L)}}h(E,B,x);return new me(x.principalResult,x.resultDocuments,E,x.masterDocument)}function g(x){x.C&&x.C.forEach(function(E){E.parentNode=x;g(E)})}function e(x){if(x instanceof lc)return x;const E=new lc;x&&Object.keys(x).forEach(B=>E.inSituPut(Sa.XS.QName.fromEQName(B),ld.Na(x[B])));return E}function l(x){const E={};for(let [B,L]of Object.entries(x))E[B]="use-character-maps"===B?L:le.uf(B,L,null);return E}function z(x){const E= -(B,L)=>{let H=null;for(let S of L)if(B[S]){if(H)throw new J("The following transform options are mutually exclusive: "+L.toString(),"SXJS0006");H=S}return H};E(x,["stylesheetText","stylesheetInternal","stylesheetLocation","stylesheetFileName"]);E(x,["sourceNode","sourceText","sourceLocation","sourceFileName"]);return{stylesheetText:x.stylesheetText,stylesheetInternal:x.stylesheetInternal,Eb:x.stylesheetLocation,Zb:x.stylesheetFileName,Qd:x.stylesheetBaseURI,stylesheetParams:e(x.stylesheetParams), -yf:x.sourceNode,ze:x.sourceText,Hc:x.sourceLocation,Gc:x.sourceFileName,Li:x.sourceType||"xml",Md:x.sourceBaseURI,masterDocument:x.masterDocument,Pj:x.initialTemplate,Mj:x.initialFunction,functionParams:x.functionParams,templateParams:e(x.templateParams),tunnelParams:e(x.tunnelParams),Nj:x.initialMode,gb:x.documentPool,$b:x.textResourcePool,destination:x.destination,yb:x.baseOutputURI||(x.masterDocument?x.masterDocument._saxonBaseUri:void 0),Aa:x.outputProperties,principalResult:void 0,rg:x.deliverMessage, -deliverResultDocument:x.deliverResultDocument,sc:x.collations,Kh:x.collectionFinder,Ga:x.logLevel,Qi:x.traceInjector,Uc:x.globalContextItem,Oj:x.initialSelection,me:x.isDynamicStylesheet,Xc:x.isRelocatableStylesheet,Xb:x.language,ri:x.messages,resultDocuments:{},resultForm:x.resultForm,Dl:x.extraOptions,Kg:x.nonInteractive,kj:x.attachEventsTo,Bh:x.async}}function v(x,E){if("package"===x.N){const B=x.target||"not specified",L=x.targetVersion||"",H=x.saxonProduct;let S=x.saxonVersion||"9.8.0.5";H&& -!/Saxon/.test(S)&&(S=H+" "+S);Aa.Qa("SEF generated by "+S+" at "+(x.buildDateTime||"2000-01-01"),2,E.Ga);if("JS"!==B||"2"!==L)throw new J("Supplied SEF is not customized for use with SaxonJS. The option -target:JS should be set when generating the export. target is: "+B,"SXJS0006");if("9"===S.charAt(0))throw new J("For use with SaxonJS 2.x, SEF must be generated by SaxonJ-EE 10.0 or later. Supplied SEF is generated by SaxonJ-EE version "+S,"SXJS0006");if(x.expiry&&0>ma.Oc.fromString(x.expiry).compareTo(ma.Oc.fromDate(new Date, -0)))throw new J("Development license for supplied stylesheet has expired","SXJS0006");}else throw new J("Supplied SEF does not have correct format","SXJS0006");}function G(x){function E(Z,K){K<<=8;for(let X=0;XH?4294967295+H+1:H).toString(16);if(C!==x){if("unspecified"===x)throw new J("No checksum found in SEF","SXJS0006");throw new J("Invalid checksum in SEF "+x+" != "+C,"SXJS0006");}}function p(x,E=null){function B(H,S){function C(K){const X=K.target;var V=x.newContext(!0);V.tempOutputState=!1;V.currentEvent=K;V.focus=Xb(Ub(ld.Na(X)[0]));V.currentComponent=H;K= -ae(x);K=new ee.getComplexContentOutputter(K);(V=Z.xb(V,K))&&V.expand()}const Z=H.mode;-1==="httpabort afterprint beforeprint beforeunload hashchange languagechange message offline online pagehide pageshow popstate storage unhandledrejection unload resize".split(" ").indexOf(S)?E?E.zh(S,C,!1):window.document.zh(S,C,!1):window.zh(S,C,!1)}const L=x.fixed.xa;Object.keys(L).forEach(function(H){H=L[H];H.mode&&H.mode.ii()&&(H.name.split("}on")[1]?B(H,H.name.split("}on")[1]):console.log("Invalid event handler name:", -H.name))})}function f(x,E){return x.C?x.C.filter(function(B){return B.N===E}):[]}function I(x,E,B){function L(X,V){H(x,X,V)}function H(X,V,ha){X.N===V&&ha(X);X.C&&X.C.forEach(function(w){H(w,V,ha)})}function S(X){return(X=X.name)?/^Q\{/.test(X)?X:"Q{}"+X:null}function C(X,V){function ha(w){w=f(w,"co");for(let M=0;M{const ha=X[V];if(fc.nf(ha))K.fixed.gb[V]=ha;else throw new J("Supplied value for "+V+" is not a document node");})}if(B.$b){const X=B.$b;Object.keys(X).forEach(V=>{K.fixed.$b[V]=X[V].toString()})}B.sc|| -(B.sc={});B.sc[Nd.Nc]=Nd.codepointCollation();B.sc[Nd.Xh]=Nd.bf();B.sc[Nd.Fg]=Nd.Ah();B.sc[Nd.Ui]=Nd.bf();L("package",function(X){const V={name:X.name,La:X,wb:{},Eh:{},Ua:{},Mg:{},keys:{},Ri:null};K.fixed.bd[V.name]=V;K.fixed.md||(K.fixed.md=V);C(X,function(ha){const w=parseInt(ha.id,10);K.fixed.xa[w]={id:w,visibility:ha.vis,La:ha,zi:V,actor:null,$e:ha.binds.split(" ").map(function(M){return parseInt(M,10)})}})});L("package",function(X){const V=K.fixed.bd[X.name];C(X,function(Y){const y=K.fixed.xa[parseInt(Y.id, -10)];Y=y.actor=Z(Y,K);null!==Y&&(y.name=S(Y),"globalVariable"===Y.N||"globalParam"===Y.N?y.value=null:"mode"===Y.N&&(y.mode=new Si(Y,ld),null===S(Y)&&(V.Ri=y.mode)),"ABSTRACT"===Y.parentNode.vis&&(y.visibility="ABSTRACT"))});if(0Y.max&&(Y.max= -da);Y.oa[da]=y.s}),55296{Z=JSON.parse(V)}).catch(V=>Promise.reject(new J("Failed to read JSON input "+L.Zb+": "+V,"SXJS0006"))), -x.push(S)):L.Eb?(S=u.resourcePromise({location:L.Eb,encoding:"utf-8",type:"json"}).then(V=>{Z=JSON.parse(V)}).catch(V=>Promise.reject(new J("Failed to read JSON input "+L.Eb+": "+V,"SXJS0006"))),x.push(S)):x.push(Promise.reject(new J("No stylesheet supplied","SXJS0006")));K=L.yf||null;X=L.Li||"xml";K&&(S=L.yf.Za||L.Md)&&(K._saxonBaseUri=S);if(!K){S=(ha,w)=>{ha=Td.Hh(Td.Gh(ha));ha=u.parseXmlFromString(ha);w&&(ha._saxonBaseUri=ha._saxonDocUri=w);return ha};C=ha=>Sd.Gd(ha,null);const V="xml"===X?S:C; -L.ze?"string"!==typeof L.ze?x.push(Promise.reject(new J("Supplied sourceText is not a string","SXJS0006"))):K=V(L.ze,L.Md):L.Gc?(S=u.resourcePromise({file:L.Gc}).then(ha=>K=V(ha,L.Gc)).catch(ha=>Promise.reject(new J(`Failed to read ${X.toUpperCase()} source input (${ha.message})`,"SXJS0006"))),x.push(S)):L.Hc&&(S=u.resourcePromise({location:L.Hc}).then(ha=>{K=V(ha,L.Hc)}).catch(ha=>Promise.reject(new J(`Failed to read ${X.toUpperCase()} source input (${ha.message})`,"SXJS0006"))),x.push(S))}return Promise.all(x).then(()=> -{var V=Z,ha=K,w=L;if(!V)throw new J("No stylesheet supplied","SXJS0006");try{v(V,w);V.PRIMED||(G(V),g(V),V.PRIMED=!0);"true"===V.relocatable&&(w.Xc=!0);h(V,ha,w);var M=w.resultPromise}catch(aa){throw console.log("Transformation failure: "+(aa.getMessage?aa.getMessage():aa)),aa;}return M})},Serializer:le,serialize:function(x,E){const B={"iso-8859-1":"latin1","iso-646":"ascii"};x=le.serialize(x,E);return E&&E.encoding?(E=E.encoding,E=B[E]||E,ya.makeBuffer(x,E)):x},StringWriter:le.StringWriter,getProcessorInfo:function(){return{version:3, -vendor:"Saxonica",vendorURL:"https://www.saxonica.com/",productName:"SaxonJS",productVersion:"2.7",isSchemaAware:!1,supportsSerialization:!0,supportsBackwardsCompatibility:!0,supportsNamespaceAxis:!0,supportsStreaming:!1,supportsDynamicEvaluation:!0,supportsHigherOrderFunctions:!0,xPathVersion:3.1,xsdVersion:1.1,releaseDate:"2024-10-17"}},getResource:function(x){const E=x.type||"text";let B;if(x.file){var L=u.resourcePromise(x);B=u.fileURL(x.file)}else if(x.location)if(L=x.location, -L instanceof URL||(L=u.newURL(L,u.baseURL()),x.location=L.toString()),B=L.href,"file:"===L.protocol)L=u.resourcePromise(x);else if(["http:","https:"].includes(L.protocol))L=u.resourcePromise(x);else return Promise.reject(new J("Unsupported URL protocol "+L.protocol,"SXJS0006"));else if(x.text)L=Promise.resolve(x.text),x.baseURI&&(B=x.baseURI);else return Promise.reject(new J("No resource supplied","SXJS0006"));"xml"===E?L=L.then(H=>{try{const S=fc.lc(u.parseXmlFromString(H));S._saxonBaseUri=S._saxonDocUri= -B;return Promise.resolve(S)}catch(S){return Promise.reject(new J("Failed parsing XML in "+B+": "+S.message,S.code))}}):"json"===E&&(L=L.then(H=>{try{return Promise.resolve(Sd.Gd(H,new lc,new rf))}catch(S){return Promise.reject(new J("Failed parsing JSON in "+B+": "+S.message,S.code))}}));return L},setLogLevel:Aa.setLogLevel,getLogLevel:Aa.getLogLevel,setPlatform:a,getPlatform:function(){return u},getNavigator:function(){return window.$l.lm},timeStamp:Q&&window.Bi&&window.Bi.now?window.Bi.now:function(){return Date.now().valueOf()}, -internalTransform:h,checkOptions:z,convertResult:m,makeAtomicValue:function(x,E){return Sa.type[x].fromString(E)},registerExtensionFunctions:function(x){Ni.jg(x);Qi.jg(x)},getItemDetails:function(x){if(Sa.ka(x)){const E={variety:"atomic",type:x.type,value:x.toString()};"AQ"===x.code&&(E.prefix=x.prefix,E.uri=x.q,E.local=x.local);return E}return fc.Q(x)?{variety:"node",type:x.nodeType()}:{variety:x instanceof id?"array":"map"}},getConfigurationProperties:function(){const x={};Object.keys(O).forEach(E=> -{x[E]=O[E]});return x},getConfigurationProperty:function(x){if(x in O)return O[x]},setConfigurationProperties:function(x){const E={};Object.keys(O).forEach(B=>{E[B]=O[B]});Object.keys(x).forEach(B=>{"autoResetIndexes"==B||"nativeGetElementById"==B?O[B]=!!x[B]:Aa.Qa("The configuration property "+B+" is unrecognized")});return E},setConfigurationProperty:function(x,E){if("autoResetIndexes"==x||"nativeGetElementById"==x){let B=O[x];O[x]=!!E;return B}Aa.Qa("The configuration property "+x+" is unrecognized")}, -resetIndexes:function(x){Q&&!x&&(x=window.document);return x&&"_saxonIndexes"in x?(delete x._saxonIndexes,delete x._saxonIndexesBC,delete x._saxonXmlIdIndex,!0):!1},XdmArray:id,XdmAtomicValue:Ra,XdmAttributeNode:ec,XdmFunction:jd,XdmMap:lc,XError:J,XPath:Ii,XS:ma};Q||"undefined"!==typeof HostPlatform?(HostPlatform.entryPoint=ca,a(HostPlatform),u.expose(ca,"SaxonJS")):console.log("Platform binding delayed");ca.Developer=Ri;Sa.fg();Ma.fg();vc();Pd.register("SaxonJS",ca);return ca})(); diff --git a/Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.min.js b/Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.min.js deleted file mode 100644 index 85d7a51..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/saxon-js/SaxonJS2N.min.js +++ /dev/null @@ -1,4615 +0,0 @@ -/** - * Skipped minification because the original files appears to be already minified. - * Original file: /npm/saxon-js@2.7.0/SaxonJS2N.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var oa,qa=function(){function a(){function g(e){if(!(this instanceof g))return void 0===e?a():new g(e);if(e instanceof g)this.ha=e.ha,this.e=e.e,this.c=e.c.slice();else{var l,z,v;0===e&&0>1/e?e="-0":q.test(e=""+e)||A(NaN);this.ha="-"==e.charAt(0)?(e=e.slice(1),-1):1;-1<(l=e.indexOf("."))&&(e=e.replace(".",""));0<(z=e.search(/e/i))?(0>l&&(l=z),l+=+e.slice(z+1),e=e.substring(0,z)):0>l&&(l=e.length);for(z=0;"0"==e.charAt(z);z++);if(z==(v=e.length))this.c=[this.e=0];else{for(;"0"==e.charAt(--v););this.e= -l-z-1;this.c=[];for(l=0;z<=v;this.c[l++]=+e.charAt(z++));}}this.constructor=g}g.prototype=P;g.Td=20;g.Oe=1;g.Ud=-7;g.Je=21;return g}function b(g,e,l){var z=g.constructor,v=e-(g=new z(g)).e,G=g.c;G.length>++e&&h(g,v,z.Oe);G[0]?l?v=e:(G=g.c,v=g.e+v+1):++v;for(;G.lengthg.ha&&G[0]?"-":"")+(1v?"e":"e+")+v:g.toString()}function h(g,e,l,z=!1){var v=g.c,G=g.e+e+1;1===l?z=5<=v[G]:2===l?z=5G||void 0!==v[G+1]||v[G-1]&1):3===l?z=z||void 0!==v[G]||0>G:(z=!1,0!==l&&A("!Big.RM!"));if(1>G||!v[0])z?(g.e=-e,g.c=[1]):g.c=[g.e=0];else{v.length=G--;if(z)for(;9<++v[G];)v[G]=0,G--||(++g.e,v.unshift(1));for(G=v.length;!v[--G];v.pop());}return g}function A(g){g=Error(g);g.name="BigError";throw g;}var P={},q=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;P.abs=function(){var g=new this.constructor(this);g.ha=1;return g};P.eb=function(g){var e=this.c,l=(g=new this.constructor(g)).c,z=this.ha,v=g.ha,G= -this.e,p=g.e;if(!e[0]||!l[0])return e[0]?z:l[0]?-v:0;if(z!=v)return z;g=0>z;if(G!=p)return G>p^g?1:-1;z=-1;for(v=(G=e.length)<(p=l.length)?G:p;++zl[z]^g?1:-1;return G==p?0:G>p^g?1:-1};P.Ib=function(g,e,l){var z=this.constructor,v=this.c,G=(g=new z(g)).c,p=this.ha===g.ha?1:-1;e="undefined"!==typeof e?e:z.Td;l="undefined"!==typeof l?l:z.Oe;(e!==~~e||0>e||1E6Q?0:Q;for(I.unshift(0);d++f;f++){if(z!=(d=c.length))var ma=z>d?1:-1;else{var na=-1;for(ma=0;++nac[na]?1:-1;break}}if(0>ma){for(g=d==z?G:I;d;){if(c[--d]Q&&h(n,e,l,void 0!==c[0]);return n};P.qj=function(){var g=qa(0);return!this.eb(g)};P.g=function(g){return 0this.eb(g)};P.x=function(g){return 1>this.eb(g)};P.sub=P.te=function(g){var e=this.constructor;var l=this.ha,z=(g=new e(g)).ha;if(l!=z)return g.ha=-z,this.xe(g);var v=this.c.slice();var G=this.e;var p=g.c,f=g.e;if(!v[0]||!p[0])return p[0]?(g.ha=-z,g):new e(v[0]?this:0);if(l=G-f){(e=0>l)?(l= --l,G=v):(f=G,G=p);G.reverse();for(z=l;z--;G.push(0));G.reverse()}else for(G=((e=v.lengthl;){if(v[--G]v.length-p.length&&(e=p,p=v,v=e);l=p.length;for(z=0;l;)z=(v[--l]=v[l]+p[l]+z)/10|0,v[l]%=10;z&&(v.unshift(z), -++G);for(l=v.length;0===v[--l];v.pop());g.c=v;g.e=G;return g};P.pow=function(g){var e=this,l=new e.constructor(1),z=l,v=0>g;(g!==~~g||-1E6>g||1E6>=1;if(!g)break;e=e.times(e)}return v?l.Ib(z):z};P.round=function(g,e){var l=this,z=l.constructor;null==g?g=0:(g!==~~g||0>g||1E6l&&A(NaN);l=Math.sqrt(this.toString());0===l||l===1/0?(l=e.join(""),l.length+z&1||(l+="0"),e=new g(Math.sqrt(l).toString()),e.e=((z+1)/2|0)-(0>z||z&1)):e=new g(l.toString());l=e.e+(g.Td+=4);do z=e,e=v.times(z.xe(this.Ib(z)));while(z.c.slice(0,l).join("")!==e.c.slice(0,l).join(""));h(e,g.Td-=4,g.Oe);return e};P.z=P.times=function(g){var e=this.constructor;var l=this.c,z=(g=new e(g)).c,v=l.length,G=z.length,p=this.e,f=g.e;g.ha=this.ha==g.ha?1:-1;if(!l[0]||!z[0])return new e(0*g.ha);g.e=p+f;vp;)G=e[f]+z[p]*l[f-p-1]+G,e[f--]=G%10,G=G/10|0;e[f]=(e[f]+G)%10}G&&++g.e;e[0]||e.shift();for(p=e.length;!e[--p];e.pop());g.c=e;return g};P.toString=P.valueOf=P.toJSON=function(){var g=this.constructor,e=this.e,l=this.c.join(""),z=l.length;if(e<=g.Ud||e>=g.Je)l=l.charAt(0)+(1e?"e":"e+")+e;else if(0>e){for(;++e;l="0"+l);l="0."+l}else if(0z)for(e-=z;e--;l+="0");else ethis.ha&&this.c[0]?"-"+l:l};P.b=function(g){null==g?g=this.c.length-1:(g!==~~g||0>g||1E6=g&&(v=b(this,this.e+g),0>this.ha&&this.c[0]&&0>v.indexOf("-")&&(v="-"+v));e.Ud=l;e.Je=z;v||A("!toFix!");return v};P.toPrecision=function(g){if(null==g)return this.toString(); -(g!==~~g||1>g||1E6=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||>=",C:[{N:"varRef", -name:"Q{}lineAtt",slot:"3"}]},{N:"int",val:"0"}]},{N:"check",line:"422",card:"1",diag:"3|0|XTTE0570|lineNumber",C:[{N:"cast",flags:"ae",as:"?ADI",C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"varRef",name:"Q{}lineAtt",slot:"3"}]}]}]},{N:"true"},{N:"check",line:"426",card:"1",diag:"3|0|XTTE0570|lineNumber",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"check",card:"?",diag:"0|0||saxon:line-number",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"}]}]}]}]}]},{N:"sequence", -line:"433",C:[{N:"choose",C:[{N:"compareToInt",op:"ge",val:"0",C:[{N:"varRef",name:"Q{}lineNumber",slot:"2"}]},{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:" on line "},{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}lineNumber",slot:"2"}]}]}]}]},{N:"let",line:"436","var":"Q{}module",as:"?",slot:"4",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"},{N:"lastOf",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"fn",name:"reverse",C:[{N:"axis", -name:"ancestor-or-self",nodeTest:"NE"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}baseUri"}]}]}]}]}]},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"}]}]}]}]},{N:"choose",line:"437",C:[{N:"varRef",name:"Q{}module",slot:"4"},{N:"valueOf",C:[{N:"fn",line:"443",name:"concat",C:[{N:"str",val:" in "},{N:"let","var":"Q{}tokens", -as:"*AS",slot:"5",C:[{N:"fn",name:"tokenize",C:[{N:"check",line:"437",card:"1",diag:"0|0||f:abbreviated-module-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:abbreviated-module-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:abbreviated-module-uri",C:[{N:"data",diag:"0|0||f:abbreviated-module-uri",C:[{N:"varRef",name:"Q{}module",slot:"4"}]}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]},{N:"let",line:"444","var":"Q{}n",as:"1ADI",slot:"6",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}tokens", -slot:"5"}]},{N:"fn",line:"445",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}tokens",slot:"5"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}n",slot:"6"},{N:"int",val:"1"}]}]},{N:"str",val:"/"}]},{N:"subscript",C:[{N:"varRef",name:"Q{}tokens",slot:"5"},{N:"varRef",name:"Q{}n",slot:"6"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]}]},{N:"co",id:"124",binds:"",C:[{N:"mode",name:"Q{}param.type",onNo:"TC",flags:"We",patternSlots:"0"}]},{N:"co",id:"125", -binds:"7 7 7 126 127 52 128 126 129 73 127 73 51 1 69 7 7 7 7 130 62 127 73 52 66 129 131 132 69 7 1 1 1 69 7 22 126 127 133 134 7 22 7 1 7 135 7 127 136 72 137 7 7 137 137 7 126 137 22 22 7 22 25 7 127 65 99 137 48 101 137 123 123 25 138 127 7 50 1 69 7 137 7 66 139 127 61 140 126 126 141 126 7 127 52 127 52 66 137 101 137 123 142 54 7 135 7 127 143 64 144 72 7 22 25 7 1 69 7 66 67 67 67 127 7 145 132 1 7 146 146 137 22 1 137 7 127 52 126 132 69 7 1 1 137 7 1 69 7 132 69 7 1 1 126 141 127 7 52", -C:[{N:"mode",name:"Q{}process-xpath",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"3.0",seq:"291",rank:"5",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"853",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"853",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"854",flags:"t",C:[{N:"withParam",name:"Q{}nsAttribute",flags:"t",as:"1NA",C:[{N:"check",line:"855",card:"1",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ns"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"282",rank:"4",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"561",module:"xpath.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"561",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"literal",count:"2",C:[{N:"str",val:"count"},{N:"str",val:"from"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nodeNum"}]},{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"561",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"match"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"}]}]},{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"561",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"match"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"562","var":"Q{}temp", -as:"*NE",slot:"1",C:[{N:"treat",line:"563",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]},{N:"iterate",line:"565",C:[{N:"tail",role:"select",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"params",role:"params",line:"566",C:[{N:"param",name:"Q{}partial",slot:"0",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"supplied",role:"conversion",slot:"0"}]}]},{N:"varRef",role:"on-completion",line:"567",name:"Q{}partial",slot:"0"},{N:"nextIteration",role:"action", -line:"568",C:[{N:"withParam",name:"Q{}partial",as:"1NE",slot:"0",C:[{N:"elem",line:"570",name:"p.venn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"op",flags:"l",C:[{N:"str",val:"union"}]},{N:"docOrder",line:"571",intra:"0",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}partial",slot:"0"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"varRef", -line:"571",name:"Q{}partial",slot:"0"},{N:"dot",line:"571",type:"1NE"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"275",rank:"3",minImp:"0",slots:"5",matches:"NE",flags:"s",line:"252",module:"xpath.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}template"}]}, -{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"254",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables", -C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"262",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"263",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"},{N:"choose",line:"264",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"att",line:"266",name:"slot",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"subscript", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"int",val:"2"}]},{N:"int",val:"0"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"let",line:"270","var":"Q{}def",as:"1NE",slot:"1",C:[{N:"choose",line:"271",C:[{N:"compareToInt",line:"272",op:"le",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence", -C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"treat",line:"273",as:"NE",diag:"3|0|XTTE0570|def",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|def",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"276",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"body"}]},{N:"applyT",line:"277",flags:"c",bSlot:"-1", -C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"282",C:[{N:"choose",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1887583512",as:"1",slot:"2",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"3",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1887583512",slot:"2"},{N:"attVal",name:"Q{}name"}]},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis", -name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]}]}]}]},{N:"fn",line:"285",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors", -loc:"XPST0008"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Global variable "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot refer to itself in its definition"}]}]}]},{N:"let",line:"293","var":"Q{}requiredType",as:"?FM",slot:"4",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false", -bSlot:"0",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", -C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{}sType"}]}]}]}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"forEach",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, -{N:"int",val:"3"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"2",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot"}]}]}]}]}]}]}]}]}]},{N:"choose",line:"296",C:[{N:"and",line:"297",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data", -diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"3"}]}]},{N:"ufCall",line:"300",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"4",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck", -C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"5"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"300",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}type-error-map",bSlot:"6"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"300",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}, -{N:"choose",line:"260",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:' match="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"str",val:'"'}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:' name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]}]}]},{N:"str", -val:"|"}]}]}]}]}]}]},{N:"fn",line:"302",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"sequence",line:"303",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"varRef",name:"Q{}def",slot:"1"}]},{N:"true"},{N:"sequence",line:"307",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"vc", -op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"dot",type:"1NA nQ{}sType"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"7"}]}]},{N:"varRef",name:"Q{}def",slot:"1"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"288",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"639",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"union",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"639",op:"|",C:[{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}VARDEF,NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}ZZZparams"},{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]}]}]}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"641",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"642",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"643","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"644",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"callT",name:"Q{}process-variables",bSlot:"8",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"axis",line:"645",name:"child",nodeTest:"NE"}]}]}]},{N:"sequence",line:"648",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef", -name:"Q{}temp",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"varRef",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"262",rank:"2",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"83",module:"regular-expressions.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"83",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"literal",count:"2",C:[{N:"str",val:"matching"},{N:"str",val:"nonMatching"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}analyzeString"}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"84", -flags:"t",C:[{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM k[AS] v[1AS]",C:[{N:"gVarRef",line:"85",name:"Q{}ST.SINGLE_STRING",bSlot:"9"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"234",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"116",module:"numbering.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"116",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"lang"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"117","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"118",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"120",name:"Q{MyFunctions}typeCheck", -tailCall:"false",bSlot:"10",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"11"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1486277532",bSlot:"12"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.25",seq:"259",rank:"0",minImp:"0",slots:"1", -matches:"NE n*:analyzeString",flags:"s",line:"53",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE n*:analyzeString"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"55","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"56",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", -name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"60",flags:"cin",sit:"1NE n*:analyzeString",C:[{N:"sequence",role:"content",line:"61",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",line:"58",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"13",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"14",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC", -C:[{N:"literal",count:"2",C:[{N:"str",val:"matching"},{N:"str",val:"nonMatching"}]},{N:"attVal",name:"Q{}role"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"15",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"62", -name:"attribute",nodeTest:"NA"},{N:"varRef",line:"62",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"156",rank:"4",minImp:"0",slots:"4",matches:"NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"s",line:"208",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"209",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"210","var":"Q{}parts",as:"*NE",slot:"1",C:[{N:"treat",line:"211",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"213","var":"Q{}select", -as:"*NE",slot:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"select"}]}]},{N:"copy",line:"214",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",C:[{N:"sequence",role:"content",line:"215",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"217",C:[{N:"and",line:"218",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"},{N:"axis", -name:"self",nodeTest:"NE n*:slash"}]}]},{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"3",C:[{N:"lookup",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"rules.xsl",line:"218",name:"Q{MyTypes}marshalType", -tailCall:"false",bSlot:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]}, -{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"3"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode", -slot:"3"}]}]}]}]},{N:"str",val:"N"}]}]}]}]},{N:"elem",line:"219",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"varRef",line:"220",name:"Q{}select",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"224",name:"Q{}select",slot:"2"}]},{N:"except",line:"227",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}parts",slot:"1"}]},{N:"docOrder", -intra:"0",C:[{N:"varRef",name:"Q{}select",slot:"2"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"277",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://ns.saxonica.com/xslt/export}treat",flags:"s",line:"353",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}treat"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"355","var":"Q{}required-type",slot:"0",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"17",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"let",line:"356","var":"Q{}required-cardinality",as:"1AS",slot:"1",C:[{N:"fn", -name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"str",val:"o"}]}]}]},{N:"let",line:"357","var":"Q{}required-baseType",slot:"2",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"str",val:"p"}]},{N:"let",line:"358","var":"Q{}attributes",as:"*NA",slot:"3",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"359","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, -{N:"let",line:"360","var":"Q{}source",as:"*NE",slot:"5",C:[{N:"treat",line:"361",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"363","var":"Q{}sourceSequenceType",slot:"6",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"18",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", -C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}source",slot:"5"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}source",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"364","var":"Q{}sourceType",slot:"7",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}sourceSequenceType",slot:"6"},{N:"str",val:"p"}]},{N:"choose",line:"365",C:[{N:"and",line:"367", -op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}required-baseType",slot:"2"}]}]}]}]},{N:"str",val:"A"}]},{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped", -to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}sourceType",slot:"7"}]}]}]}]},{N:"str",val:"N"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}sourceType",slot:"7"}]},{N:"str",val:""}]}]}]},{N:"copy",line:"368",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content",line:"369",C:[{N:"varRef",name:"Q{}attributes", -slot:"3"},{N:"elem",line:"370",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"axis",line:"371",name:"attribute",nodeTest:"NA nQ{}diag"},{N:"elem",line:"373",name:"cvUntyped",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"to",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj", -C:[{N:"varRef",name:"Q{}required-baseType",slot:"2"}]}]}]},{N:"str",val:" "}]}]},{N:"elem",line:"375",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"376",name:"Q{}source",slot:"5"}]}]}]}]}]}]}]},{N:"compareToString",line:"382",op:"ne",val:"*",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"copy",line:"383",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content",line:"384",C:[{N:"varRef",name:"Q{}attributes", -slot:"3"},{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg409114060", -bSlot:"19"}]},{N:"elem",line:"385",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"except",line:"386",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attributes",slot:"3"}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{http://ns.saxonica.com/xslt/export}asJ,NA nQ{}jsTest]"}]},{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1317395634",bSlot:"20"}]},{N:"varRef",line:"391",name:"Q{}source",slot:"5"}]}]}]}]},{N:"fn",line:"395",name:"deep-equal",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"varRef",name:"Q{}sourceSequenceType", -slot:"6"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]},{N:"forEach",line:"396",C:[{N:"varRef",name:"Q{}source",slot:"5"},{N:"copy",line:"397",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"398",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"403",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content", -line:"404",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"varRef",name:"Q{}attributes",slot:"3"},{N:"varRef",name:"Q{}source",slot:"5"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"285",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}namespace",flags:"s",line:"593",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}namespace"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"595",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}namespace",C:[{N:"sequence",role:"content",line:"597",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"598","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"599",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"sequence",line:"603",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"21",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck", -C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]}]},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"22"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn", -name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"23"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTDE0920"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"603", -name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'namespace name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]},{N:"subscript",line:"604",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"int",val:"2"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"276",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co",flags:"s",line:"339",module:"xpath.xsl",C:[{N:"p.nodeTest", -role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"340",C:[{N:"choose",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}options",bSlot:"24"},{N:"str",val:"traceProgress"}]},{N:"message",line:"348",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting XPath on component"},{N:"fn", -name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE n*:mode"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"string", -C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",val:" templates"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"nextMatch",line:"350",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"287",rank:"3",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"s",line:"623",module:"xpath.xsl",C:[{N:"p.withPredicate", -role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"union",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"623",op:"|",C:[{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}VARDEF,NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}, -{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]}]}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"626","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"627",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"callT",name:"Q{}process-variables",bSlot:"25",C:[{N:"withParam",name:"Q{}parts", -flags:"c",as:"*NE",C:[{N:"axis",line:"628",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-base-uri",flags:"t",as:"1AS",C:[{N:"check",line:"631",card:"1",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"slash", -simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"a"},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:baseUri"}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA n*:baseUri"}]},{N:"str",val:"dummy-base-uri"}]}]}]}]}]}]}]}]}]},{N:"callT",line:"634",name:"Q{}Sequence-and-type",bSlot:"26",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"varRef",line:"635",name:"Q{}temp",slot:"0"}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"281",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"444","var":"Q{}parts", -as:"*NE",slot:"0",C:[{N:"treat",line:"445",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"448",C:[{N:"fn",line:"449",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"27"}]},{N:"axis",line:"451",name:"attribute", -nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"1",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"28",C:[{N:"check",card:"+",diag:"0|0||t:commonType", -C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"29",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"2",C:[{N:"ufCall", -name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"30",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"1"}]},{N:"choose",line:"458",C:[{N:"every",line:"461","var":"Q{}p",slot:"3",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"3"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att", -name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"0"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE",C:[{N:"sequence", -role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"0"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, -{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType", -tailCall:"false",bSlot:"31",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"1"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"0"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"183",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}try",flags:"s",line:"279",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}try"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"280","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"281",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"285",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"286",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"287",name:"sType",flags:"l",C:[{N:"ufCall",line:"284",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"32",C:[{N:"ufCall",name:"Q{MyTypes}commonType", -tailCall:"false",bSlot:"33",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"34",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]}, -{N:"varRef",line:"288",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"266",rank:"4",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator",flags:"s",line:"59",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"60","var":"Q{}init",as:"1NE",slot:"0",C:[{N:"treat",line:"61",as:"NE",diag:"3|0|XTTE0570|init",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|init",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let",line:"65","var":"Q{}rules",as:"*NE",slot:"1",C:[{N:"treat",line:"66",as:"NE",diag:"3|0|XTTE0570|rules",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam", -name:"Q{}valueType",flags:"t",as:"1AS",C:[{N:"check",line:"67",card:"1",diag:"8|0|XTTE0590|valueType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|valueType",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|valueType",C:[{N:"data",diag:"8|0|XTTE0590|valueType",C:[{N:"first",line:"64",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}init",slot:"0"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}sType"}]},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"dot",type:"1NA nQ{}sType"}]}]}]},{N:"str",val:"0"}]}]}]},{N:"str",val:"*"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"73",C:[{N:"choose",C:[{N:"gc",line:"72",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"distinct-values", -C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}rules",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"accumulator-before"},{N:"str",val:"accumulator-after"}]},{N:"attVal",name:"Q{}name"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]},{N:"data",line:"73",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ufCall",line:"76",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"35",C:[{N:"str",val:"XTDE3400"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Accumulator "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" refers to itself"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}accumulator", -flags:"a"}]}]},{N:"copy",line:"78",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}accumulator",C:[{N:"sequence",role:"content",line:"79",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}init",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"axis",line:"80",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"88",name:"Q{}init",slot:"0"},{N:"varRef",line:"91",name:"Q{}rules",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", -seq:"165",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration",flags:"s",line:"217",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"218",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}nextIteration", -C:[{N:"sequence",role:"content",line:"219",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"36"}]},{N:"axis",line:"220",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"221",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"149",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mode",flags:"s",line:"68",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}, -{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mode",C:[{N:"sequence",role:"content",line:"70",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"71","var":"Q{}templates",as:"*NE",slot:"0",C:[{N:"treat",line:"72",as:"NE",diag:"3|0|XTTE0570|templates",C:[{N:"applyT",flags:"c", -bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"forEach",line:"74",C:[{N:"sort",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"0"},{N:"sortKey",line:"75",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}, -{N:"sortKey",line:"76",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prio"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]},{N:"sortKey",line:"77",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}seq"}]}, -{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"copy",line:"78",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"79",C:[{N:"att",name:"rank",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int", -val:"1"}]}]}]},{N:"axis",line:"80",name:"attribute",nodeTest:"NA"},{N:"axis",line:"80",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"243",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey",flags:"s",line:"158",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"159",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"160","var":"Q{}input",as:"1NE",slot:"1",C:[{N:"treat",line:"161",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}, -{N:"let",line:"164","var":"Q{}properties",as:"*NE",slot:"2",C:[{N:"sequence",line:"165",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|properties",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"choose",line:"166",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"collation"},{N:"str",val:"lang"},{N:"str",val:"caseOrder"}]}, -{N:"attVal",name:"Q{}role"}]}]}]},{N:"elem",line:"167",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"collation"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{N:"let",line:"175","var":"Q{}dataType",as:"*NE",slot:"3",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}properties",slot:"2"}, -{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"dataType"}]}]},{N:"let",line:"178","var":"Q{}atomizedInput",slot:"4",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"37",C:[{N:"varRef",name:"Q{}input",slot:"1"},{N:"gVarRef",name:"Q{}ST.OPTIONAL_ATOMIC",bSlot:"38"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289", -name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg638404853",bSlot:"39"}]}]}]}]}]},{N:"let",line:"179","var":"Q{}input",as:"1NE",slot:"5",C:[{N:"choose",line:"180",C:[{N:"fn",line:"200",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"select"}]}]},{N:"treat", -line:"201",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"forEach",C:[{N:"check",card:"?",diag:"4|0|XTTE3180|xsl:copy/select",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]},{N:"copy",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"202",C:[{N:"copyOf",flags:"c",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]},{N:"att",line:"203",name:"role",flags:"l",C:[{N:"str", -val:"select"}]},{N:"copyOf",line:"204",flags:"c",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"208",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]}]}]},{N:"let",line:"214","var":"Q{}principal",slot:"6",C:[{N:"lookup",C:[{N:"ufCall",line:"213",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"40", -C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"p"}]},{N:"let",line:"216","var":"Q{}sortNumeric",slot:"7",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}alphaCode", -as:"1AS",slot:"8",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||t:isNumeric",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:isNumeric",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:isNumeric",C:[{N:"data",diag:"0|0||t:isNumeric",C:[{N:"varRef",name:"Q{}principal",slot:"6"}]}]}]}]},{N:"or",module:"type.xsl",line:"438",op:"or",C:[{N:"or", -op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AF"}]}]}]},{N:"let",line:"219","var":"Q{}sortTemporal",as:"1AB",slot:"9",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}principal", -slot:"6"}]},{N:"literal",count:"3",C:[{N:"str",val:"AM"},{N:"str",val:"AA"},{N:"str",val:"AT"}]}]},{N:"copy",line:"222",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}sortKey",C:[{N:"sequence",role:"content",line:"223",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"224",C:[{N:"fn",line:"172",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}properties",slot:"2"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}, -{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"caseOrder"},{N:"str",val:"lang"}]},{N:"attVal",name:"Q{}role"}]}]}]}]},{N:"att",line:"245",name:"comp",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",line:"174",flags:"",C:[{N:"varRef",name:"Q{}properties",slot:"2"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal", -name:"Q{}role"},{N:"str",val:"order"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]},{N:"str",val:"descending"}]},{N:"str",val:"DESC"}]},{N:"choose",C:[{N:"varRef",name:"Q{}sortNumeric",slot:"7"},{N:"str",val:"DblSC"},{N:"vc",line:"218",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef", -name:"Q{}dataType",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]}]},{N:"str",val:"number"}]},{N:"str",val:"NC"},{N:"varRef",name:"Q{}sortTemporal",slot:"9"},{N:"str",val:"CalVC"},{N:"true"},{N:"str",val:"CCC"}]}]},{N:"str",val:"|"}]}]}]},{N:"choose",line:"248",C:[{N:"vc",line:"249",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]},{N:"str",val:"xs:duration"}]},{N:"ufCall",line:"251", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"41",C:[{N:"str",val:"XTDE1030"},{N:"str",val:"xs:duration types are not comparable and may not be used in xsl:sort/@select"},{N:"varRef",name:"Q{}input",slot:"5"}]},{N:"true"},{N:"sequence",line:"282",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}input",slot:"5"}]}]},{N:"except",line:"295",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef", -name:"Q{}properties",slot:"2"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]}]},{N:"choose",line:"296",C:[{N:"and",line:"297",op:"and",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]},{N:"fn",line:"220",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}principal", -slot:"6"}]}]}]}]},{N:"str",val:"A"}]}]},{N:"empty"},{N:"fn",line:"298",name:"empty",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]},{N:"elem",line:"299",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"varRef",name:"Q{}sortNumeric",slot:"7"},{N:"varRef",name:"Q{}sortTemporal",slot:"9"}]},{N:"str",val:"number"},{N:"true"},{N:"str",val:"text"}]}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"dataType"}]}]}]}, -{N:"true"},{N:"varRef",line:"305",name:"Q{}dataType",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"242",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sort",flags:"s",line:"144",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sort"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"145",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}sort",C:[{N:"sequence",role:"content",line:"146",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"147","var":"Q{}for",as:"1NE",slot:"0",C:[{N:"treat",line:"148",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"150",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"varRef",line:"151",name:"Q{}for",slot:"0"},{N:"applyT",line:"152",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl", -line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"sorting.xsl",line:"153",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"42",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert", -from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"179",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condCont",flags:"s",line:"211",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condCont"}, -{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"212","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"213",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"215",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}condCont", -C:[{N:"sequence",role:"content",line:"216",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"217",name:"sType",flags:"l",C:[{N:"fn",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"sequenceType.xsl",line:"196",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"conditionals.xsl",line:"217",card:"1",diag:"0|0||t:makeOptional",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:makeOptional",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:makeOptional",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"^1"},{N:"str",val:"?"},{N:"str",val:""}]},{N:"str",val:"^\\+"},{N:"str",val:"*"},{N:"str",val:""}]}]},{N:"varRef",line:"218",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", -seq:"284",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}dot",flags:"s",line:"585",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}dot"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"586",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"ti",as:"1FM", -C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"587",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}dot",C:[{N:"sequence",role:"content",line:"588",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"43",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]}]},{N:"axis",line:"589",name:"attribute",nodeTest:"NA"}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"2.0",seq:"157",rank:"4",minImp:"0",slots:"14",matches:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule",flags:"s",line:"232",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"233",C:[{N:"param", -name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"234",name:"Q{}defaultXPathNamespace",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|defaultXPathNamespace", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"data",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"237","var":"Q{}priority",as:"?NA",slot:"2",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"},{N:"let",line:"264","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"3",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}priority",slot:"2"}]},{N:"let",line:"238","var":"Q{}attributes",as:"*NA",slot:"4", -C:[{N:"treat",line:"239",as:"NA",diag:"3|0|XTTE0570|attributes",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA nQ{}priority]"}]}]},{N:"let",line:"241","var":"Q{}requiredType",as:"?FM",slot:"5",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|requiredType",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"44",C:[{N:"convert",from:"AZ", -to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]}]},{N:"let",line:"294","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"6",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}requiredType",slot:"5"}]},{N:"let",line:"242","var":"Q{}match",as:"*NE",slot:"7",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"}, -{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]},{N:"let",line:"267","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"8",flags:"l",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}match",slot:"7"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"node()"}]},{N:"let",line:"251","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"1AS",slot:"9",flags:"l",C:[{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}match",slot:"7"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]},{N:"let",line:"243","var":"Q{}action",as:"*NE",slot:"10",C:[{N:"except",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}match",slot:"7"}]}]},{N:"let",line:"245","var":"Q{}patterns",as:"*NE",slot:"11",C:[{N:"treat",line:"246",as:"NE", -diag:"3|0|XTTE0570|patterns",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}match",slot:"7"}]}]},{N:"let",line:"249","var":"Q{}warnings",as:"*NE",slot:"12",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}patterns",slot:"11"},{N:"fn",name:"exists",C:[{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:p.warning"}]}]},{N:"sequence",line:"250",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}warnings",slot:"12"},{N:"message",line:"251",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Warning:"}, -{N:"forEach",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:p.warning"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}message"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}message"}]}]},{N:"str",val:"in pattern"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEach",line:"254",C:[{N:"except",op:"except",C:[{N:"docOrder", -intra:"0",C:[{N:"varRef",name:"Q{}patterns",slot:"11"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}warnings",slot:"12"}]}]},{N:"sequence",line:"255",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"message",line:"256",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Missing @sType"},{N:"fn",name:"serialize",C:[{N:"dot",type:"1NE"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, -{N:"elem",line:"260",name:"templateRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"261",C:[{N:"varRef",name:"Q{}attributes",slot:"4"},{N:"att",line:"262",name:"prio",flags:"l",C:[{N:"fn",line:"263",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"varRef",line:"264",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"3"},{N:"cast",line:"265",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef", -name:"Q{}priority",slot:"2"}]}]}]}]},{N:"varRef",line:"267",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"8"},{N:"atomic",val:"-0.5",type:"AZ"},{N:"true"},{N:"data",line:"269",C:[{N:"mergeAdj",C:[{N:"applyT",mode:"Q{}pattern-priority",bSlot:"45",C:[{N:"dot",role:"select",type:"1NE"}]}]}]}]}]},{N:"str",val:""}]}]},{N:"att",line:"274",name:"matches",flags:"l",C:[{N:"fn",name:"substring",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring", -C:[{N:"attVal",name:"Q{}sType"}]}]},{N:"int",val:"2"}]}]},{N:"copy",line:"275",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"276",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"277",name:"role",flags:"l",C:[{N:"str",val:"match"}]},{N:"axis",line:"278",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"283","var":"Q{}body",as:"1NE",slot:"13",C:[{N:"treat",line:"284",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1", -C:[{N:"varRef",role:"select",name:"Q{}action",slot:"10"},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"rules.xsl",line:"285",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"46",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]},{N:"choose",line:"294",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"6"},{N:"ufCall",name:"Q{MyFunctions}typeCheck", -tailCall:"false",bSlot:"47",C:[{N:"varRef",name:"Q{}body",slot:"13"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"5"}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg2135267024",bSlot:"48"}]}]}]}]}]},{N:"true"},{N:"varRef",name:"Q{}body", -slot:"13"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"283",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}str",flags:"s",line:"578",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}str"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"579",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}str",C:[{N:"sequence",role:"content",line:"580",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"49"}]},{N:"axis",line:"581",name:"attribute",nodeTest:"NA"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"256",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc",flags:"s",line:"103",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"104",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"50"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]}, -{N:"param",line:"105",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"1FM",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|focus-context-type",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"106","var":"Q{}forEach",as:"*NE",slot:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc", -op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"forEachItem"},{N:"str",val:"forEachSource"}]},{N:"attVal",name:"Q{}role"}]}]},{N:"let",line:"107","var":"Q{}select",as:"*NE",slot:"3",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"selectRows"}]}]},{N:"let",line:"108","var":"Q{}source",as:"?NE",slot:"4",C:[{N:"treat",line:"109",as:"NE",diag:"3|0|XTTE0570|source", -C:[{N:"check",card:"?",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}forEach",slot:"2"}]}]}]},{N:"copy",line:"111",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc",C:[{N:"let",role:"content",line:"112","var":"Q{}for",as:"1NE",slot:"5",C:[{N:"treat",line:"113",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}select",slot:"3"}, -{N:"withParam",name:"Q{}context-type",flags:"t",as:"?FM",C:[{N:"choose",line:"120",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}source",slot:"4"}]},{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall", -ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"merging.xsl",line:"120",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"51",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"4"}, -{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"0"}]}]}]}]}]},{N:"let",line:"124","var":"Q{}body",as:"*NE",slot:"6",C:[{N:"treat",line:"125",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"union",op:"|",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}select",slot:"3"}]},{N:"docOrder",intra:"0", -C:[{N:"varRef",name:"Q{}forEach",slot:"2"}]}]}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"126",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ufCall",line:"123",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"52",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef", -name:"Q{}for",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"sequence",line:"130",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"axis",line:"131",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"132",name:"Q{}source",slot:"4"},{N:"varRef",line:"132",name:"Q{}for",slot:"5"},{N:"varRef",line:"132",name:"Q{}body",slot:"6"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", -seq:"159",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}forEach",flags:"s",line:"70",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEach"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"71",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t", -as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"53"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"72",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"54"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type", -C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"75","var":"Q{}for",as:"1NE",slot:"2",C:[{N:"treat",line:"76",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let",line:"79","var":"Q{}forItemType",as:"1FM",slot:"3",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"repetition.xsl",line:"79",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"55",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]},{N:"let",line:"80","var":"Q{}body",as:"1NE",slot:"4",C:[{N:"treat",line:"81",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2", -C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"82",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"varRef",line:"83",name:"Q{}forItemType",slot:"3"}]}]}]}]},{N:"copy",line:"87",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}forEach",C:[{N:"sequence",role:"content",line:"89",C:[{N:"att",name:"sType",flags:"l",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash", -simple:"1",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"repetition.xsl",line:"89",card:"1",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"slash",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"true"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"56"}]}]},{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}role"}, -{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}module"},{N:"choose",line:"91",C:[{N:"and",line:"92",op:"and",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"5",C:[{N:"lookup",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"repetition.xsl",line:"92",name:"Q{}forItemType",slot:"3"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", -C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]}]}]}]},{N:"str",val:"N"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}for",slot:"2"},{N:"axis",name:"self",nodeTest:"NE n*:slash"}]}]}]},{N:"elem",line:"93",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"varRef",line:"94",name:"Q{}for",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"98", -name:"Q{}for",slot:"2"}]},{N:"varRef",line:"101",name:"Q{}body",slot:"4"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"236",rank:"4",minImp:"0",slots:"5",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"133",module:"numbering.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"133",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"select"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nodeNum"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"134",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef", -role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"57"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"135",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}needsNode"}]}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]}]}, -{N:"fn",name:"not",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"numbering.xsl",line:"135",card:"1",diag:"0|0||t:isNode", -C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data", -diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"N"}]}]}]}]}]},{N:"ufCall",line:"136",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"58",C:[{N:"str",val:"XTTE0990"},{N:"str",val:"xsl:number without @select or @value must have a node() as context"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"let",line:"138","var":"Q{}outer",as:"1NE",slot:"2",C:[{N:"treat",line:"140",as:"NE",diag:"3|0|XTTE0570|outer",C:[{N:"check", -card:"1",diag:"3|0|XTTE0570|outer",C:[{N:"try",flags:"r",C:[{N:"let","var":"Q{}temp",as:"1NE",slot:"3",C:[{N:"treat",line:"141",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"varRef",line:"143",name:"Q{}temp",slot:"3"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0002 Q{http://www.w3.org/2005/xqt-errors}XPTY0020",C:[{N:"ufCall",line:"145",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"59",C:[{N:"str", -val:"XTTE0990"},{N:"str",val:"xsl:number without @select or @value must have a node() as context"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]}]}]}]},{N:"sequence",line:"148",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"4",C:[{N:"lookup",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"numbering.xsl",line:"148",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"60",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}outer",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"4"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"4"}]}]}]}]},{N:"str",val:"N"}]}]}]}]},{N:"ufCall",line:"149",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"61",C:[{N:"str", -val:"XTTE1000"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:number/@select must yield a result of type node(), not "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"62",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"63",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}outer",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}, -{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"varRef",line:"151",name:"Q{}outer",slot:"2"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"235",rank:"4",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"123",module:"numbering.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"123",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"value"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}numSeqFmt"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"124","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"125",as:"NE",diag:"3|0|XTTE0570|temp", -C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"128",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"64",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"gVarRef",name:"Q{}ST.MULTIPLE_ATOMIC",bSlot:"65"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1542155234", -bSlot:"66"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"298",rank:"1",minImp:"0",slots:"29",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"964",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"966",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"967",name:"Q{}local.variables",slot:"1",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"968",name:"Q{}globals",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]}, -{N:"param",line:"969",name:"Q{}global.functions",slot:"3",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"970",name:"Q{}accumulators",slot:"4",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"971",name:"Q{}context-type",slot:"5",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"67"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"972",name:"Q{}focus-context-type",slot:"6",flags:"t",as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"5"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"6"}]}]}]},{N:"param",line:"973",name:"Q{}nsAttribute",slot:"7",flags:"t",as:"?NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"supplied",slot:"7"}]}]}]},{N:"param",line:"974",name:"Q{}defaultHTML5",slot:"8",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied", -slot:"8"}]}]}]}]}]},{N:"let",line:"981","var":"Q{}slotMap",as:"1FM v[?]",slot:"9",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",as:"FM",diag:"0|0||map:keys",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot", -type:"1A"},{N:"subscript",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:"21|0||$local.variables",C:[{N:"check",card:"1",diag:"21|0||$local.variables",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]},{N:"arrayBlock",C:[{N:"dot",type:"1A"}]}]},{N:"int",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"982","var":"Q{}role",as:"?NA",slot:"10", -flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"let",line:"983","var":"Q{}line",as:"?NA",slot:"11",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}line"},{N:"let",line:"984","var":"Q{}allow-empty",as:"?AB",slot:"12",flags:"e",C:[{N:"vc",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}allow-empty"}]},{N:"str",val:"true"}]},{N:"let",line:"986","var":"Q{}ns",as:"?FM k[AS] v[1AS]",slot:"13",flags:"e",C:[{N:"choose",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xpathDefaultNamespace"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]},{N:"let",line:"988","var":"Q{}collation",as:"?FM k[AS] v[?AS]",slot:"14",flags:"e",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"defaultCollation"},{N:"first",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]}]}]}]},{N:"let",line:"989","var":"Q{}backward-compatibility",as:"1AB",slot:"15",flags:"e",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}BC"}]},{N:"let",line:"991","var":"Q{}checkType",as:"?AS",slot:"16",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|checkType",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|checkType",C:[{N:"data",diag:"3|0|XTTE0570|checkType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}checkType"}]}]}]},{N:"let",line:"999","var":"Q{}namespaces",slot:"17",flags:"e",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"namespaces.xsl",line:"65","var":"Q{}ns",as:"?NA",slot:"18",C:[{N:"lastOf",C:[{N:"slash",simple:"2",C:[{N:"slash",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"999",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"choose",line:"72",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"18"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespaces"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize", -C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"varRef",name:"Q{}ns",slot:"18"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"19",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"20",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"19"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef", -name:"Q{}uri",slot:"20"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"68"},{N:"varRef",name:"Q{}prefix",slot:"19"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"20"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]}]},{N:"let",line:"1006","var":"Q{}context-type",as:"?FM",slot:"21",flags:"e",C:[{N:"choose",C:[{N:"and", -op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"select"}]}]},{N:"varRef",name:"Q{}focus-context-type",slot:"6"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"5"}]},{N:"let",line:"1011","var":"Q{}temp",as:"1",slot:"22",C:[{N:"check",line:"1042",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"try", -flags:"r",C:[{N:"applyT",line:"1044",mode:"Q{}exportNS",bSlot:"69",C:[{N:"ifCall",role:"select",line:"1042",name:"Q{http://saxon.sf.net/}compile-XPath",type:"1",C:[{N:"check",card:"1",diag:"0|0||saxon:compile-XPath",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||saxon:compile-XPath",C:[{N:"cvUntyped",to:"AS",diag:"0|0||saxon:compile-XPath",C:[{N:"data",diag:"0|0||saxon:compile-XPath",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"language"},{N:"str",val:"XSLT"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"html5Mode"},{N:"varRef",name:"Q{}defaultHTML5",slot:"8"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backwardCompatibility"},{N:"varRef",name:"Q{}backward-compatibility", -slot:"15"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"inCatch"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}catch"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"inTry"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot", -type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}try"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"allowEmpty"},{N:"varRef",name:"Q{}allow-empty",slot:"12"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"globals"},{N:"varRef",name:"Q{}globals",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"globalFunctions"},{N:"varRef",name:"Q{}global.functions",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"accumulators"},{N:"varRef",name:"Q{}accumulators",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"slotMap"},{N:"varRef",name:"Q{}slotMap",slot:"9"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"contextType"}, -{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}role",slot:"10"}]}]},{N:"str",val:"match"}]},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"70"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"21"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"nsAttribute"},{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}nsAttribute",slot:"7"}]}]}]},{N:"map",size:"2",C:[{N:"str", -val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}ns",slot:"13"},{N:"varRef",name:"Q{}namespaces",slot:"17"},{N:"varRef",name:"Q{}collation",slot:"14"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"check",card:"?",diag:"0|2||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPTY0020", -C:[{N:"fn",line:"1052",name:"error",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultedSelect"}]},{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"},{N:"true"},{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]},{N:"fn",name:"concat", -C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in XPath"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"71",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"str",val:" {"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"1061",C:[{N:"elem",name:"ex:empty",nsuri:"http://ns.saxonica.com/xslt/export",C:[{N:"empty"}]},{N:"fn",line:"1064",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error", -C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in XPath"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"72",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"str",val:" {"}]}, -{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]}]},{N:"let",line:"1069","var":"Q{}temp",as:"1NE", -slot:"23",C:[{N:"choose",line:"1070",C:[{N:"instance",line:"1071",of:"1FM",C:[{N:"varRef",name:"Q{}temp",slot:"22"}]},{N:"let",line:"1072","var":"Q{}type",slot:"24",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"22"},{N:"str",val:"type"}]},{N:"let",line:"1076","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"25",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}type",slot:"24"}]}]}]},{N:"str",val:" "}]}, -{N:"treat",line:"1073",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"22"},{N:"str",val:"expr"}]},{N:"copy",line:"1074",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"1075",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"1076",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", -slot:"25"}]},{N:"slash",line:"1077",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"1082",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"varRef",name:"Q{}temp",slot:"22"}]}]},{N:"sequence",line:"1086",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultedSelect"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"check", -card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"N"}]}]},{N:"fn",name:"not",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]},{N:"str",val:""}]}]}]}]},{N:"fn",line:"1089",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"The required item type of the context item for xpath '"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"' is node(), but the supplied expression has type "}]},{N:"ufCall", -name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"73",C:[{N:"check",card:"1",diag:"0|0||t:displayType",C:[{N:"varRef",name:"Q{}context-type",slot:"21"}]}]}]}]}]},{N:"let",line:"1091","var":"Q{}temp",as:"1NE",slot:"26",C:[{N:"choose",line:"1092",C:[{N:"choose",line:"1093",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]}, -{N:"str",val:""}]},{N:"ufCall",name:"Q{MyFunctions}requiresNodeTest",tailCall:"false",bSlot:"74",C:[{N:"varRef",name:"Q{}temp",slot:"23"}]},{N:"true"},{N:"false"}]},{N:"elem",line:"1094",name:"slash",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"simple",flags:"l",C:[{N:"str",val:"1"}]},{N:"docOrder",line:"1095",intra:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"23"},{N:"sequence", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"elem",line:"1096",name:"treat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"str",val:"N"}]},{N:"att",name:"diag",flags:"l",C:[{N:"str",val:"13|0|XTTE0510|"}]},{N:"elem",line:"1097",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"empty"}]}]}]},{N:"varRef",line:"1099", -name:"Q{}temp",slot:"23"}]}]},{N:"true"},{N:"varRef",line:"1103",name:"Q{}temp",slot:"23"}]},{N:"let",line:"1107","var":"Q{}temp",as:"1NE",slot:"27",C:[{N:"choose",line:"1112",C:[{N:"and",line:"1111",op:"and",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"^(\\+|\\*)N"},{N:"str",val:""}]},{N:"fn",name:"empty", -C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"union",op:"|",C:[{N:"union",op:"|",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE u[NE u[NE u[NE u[NE u[NE n*:sequence,NE n*:axis],NE n*:filter],NE n*:except],NE n*:for],NE n*:forEach],NE n*:varRef],NE n*:gVarRef],NE n*:copyOf]"},{N:"filter",flags:"",C:[{N:"axis",name:"self",nodeTest:"NE n*:fn"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"reverse"}]}]}]},{N:"axis",name:"self",nodeTest:"NE n*:ufCall"}]}]}]}]}, -{N:"elem",line:"1115",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1116",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}temp",slot:"26"}]}]},{N:"and",line:"1119",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}slash"}]}]}, -{N:"fn",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"attVal",name:"Q{}type"}]}]}]},{N:"str",val:"item("}]}]},{N:"elem",line:"1120",name:"homCheck",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1121",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}, -{N:"varRef",name:"Q{}temp",slot:"26"}]}]},{N:"true"},{N:"varRef",line:"1125",name:"Q{}temp",slot:"26"}]},{N:"let",line:"1129","var":"Q{}temp",as:"1NE",slot:"28",C:[{N:"choose",line:"1130",C:[{N:"varRef",line:"1131",name:"Q{}checkType",slot:"16"},{N:"treat",line:"1132",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"75",C:[{N:"varRef",name:"Q{}temp",slot:"27"},{N:"ufCall",name:"Q{MyTypes}marshalType", -tailCall:"false",bSlot:"76",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"varRef",name:"Q{}checkType",slot:"16"}]}]},{N:"check",card:"1",diag:"0|2||f:typeCheck",C:[{N:"convert",line:"992",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|diagnostic",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|diagnostic",C:[{N:"data",diag:"3|0|XTTE0570|diagnostic",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}diagnostic"}]}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"1135",name:"Q{}temp",slot:"27"}]},{N:"choose", -line:"1139",C:[{N:"fn",line:"1140",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"axis",name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"current"}]}]}]},{N:"choose",line:"1141",C:[{N:"fn",line:"1142",name:"empty",C:[{N:"varRef",name:"Q{}context-type",slot:"21"}]},{N:"elem",line:"1143",name:"error",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"code",flags:"l",C:[{N:"str",val:"XTDE1360"}]},{N:"att",name:"message",flags:"l",C:[{N:"str",val:"context absent for current()"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"1144",name:"Q{}role",slot:"10"}]}]},{N:"true"},{N:"elem",line:"1152",name:"let",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"var",flags:"l",C:[{N:"str",val:"fn-current"}]},{N:"att", -name:"slot",flags:"l",C:[{N:"str",val:"199"}]},{N:"axis",line:"1153",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"1153",name:"Q{}role",slot:"10"},{N:"varRef",line:"1153",name:"Q{}line",slot:"11"},{N:"slash",line:"1153",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"elem",line:"1154",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"empty"}]},{N:"applyT",line:"1155",mode:"Q{}xpath-with-current", -bSlot:"77",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"28"}]}]}]}]},{N:"true"},{N:"forEach",line:"1171",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"copy",line:"1172",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"1173",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"10"},{N:"varRef",name:"Q{}line",slot:"11"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"167",rank:"1",minImp:"0", -slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}choose",flags:"s",line:"29",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}choose"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"30","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"31",as:"NE",diag:"3|0|XTTE0570|parts", -C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"35",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}choose",C:[{N:"sequence",role:"content",line:"36",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"78",C:[{N:"ufCall",line:"34",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"79",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b", -C:[{N:"filter",flags:"pb",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"compareToInt",op:"eq",val:"0",C:[{N:"arith",op:"mod",calc:"i%i",C:[{N:"fn",name:"position"},{N:"int",val:"2"}]}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"80",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", -C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"37",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"37",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"248",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup",flags:"s",line:"117",module:"grouping.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"118",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"81"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"119",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"1"}]}]}]},{N:"copy",line:"121",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup",C:[{N:"let",role:"content",line:"122","var":"Q{}population",as:"1NE",slot:"2",C:[{N:"treat",line:"123",as:"NE",diag:"3|0|XTTE0570|population",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|population",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let", -line:"125","var":"Q{}populationType",slot:"3",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"82",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}population",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"let",line:"127","var":"Q{}body",as:"+NE",slot:"4",C:[{N:"treat",line:"128",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check", -card:"+",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"129",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320", -name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"grouping.xsl",line:"126",name:"Q{}populationType",slot:"3"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]},{N:"sequence",line:"133", -C:[{N:"att",name:"sType",flags:"l",C:[{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"grouping.xsl",line:"133",card:"1", -diag:"0|0||t:withOccurrenceIndicator",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"data",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"content"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}, -{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"axis",line:"134",name:"attribute",nodeTest:"NA"},{N:"choose",line:"135",C:[{N:"and",line:"136",op:"and",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"5",C:[{N:"lookup",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"grouping.xsl",line:"136",name:"Q{}populationType",slot:"3"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", -C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]}]}]}]},{N:"str",val:"N"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}population",slot:"2"},{N:"axis",name:"self",nodeTest:"NE n*:slash"}]}]}]},{N:"elem",line:"137",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"slash",line:"138",simple:"1",C:[{N:"varRef",name:"Q{}population",slot:"2"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"138",name:"Q{}population",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"142",name:"Q{}population",slot:"2"}]},{N:"varRef",line:"145",name:"Q{}body",slot:"4"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"293",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}valueOf",flags:"s",line:"866",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}valueOf"}, -{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"866",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"string-join"}]}]}]},{N:"elem",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"867",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"copy",line:"868",flags:"inl",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}valueOf",C:[{N:"sequence",role:"content",line:"869",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"870",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", -name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"272",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}MAP",flags:"s",line:"49",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}MAP"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50", -C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"83"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"51",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map}"}, -{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"target"}]}]},{N:"str",val:"JS"}]},{N:"str",val:"_new"},{N:"true"},{N:"str",val:"merge"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_MAP",bSlot:"84"}]},{N:"axis",line:"52",name:"attribute",nodeTest:"NA"},{N:"let",line:"53","var":"Q{}entries",as:"*NE", -slot:"1",C:[{N:"treat",line:"54",as:"NE",diag:"3|0|XTTE0570|entries",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"sequence",line:"56",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"85",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"varRef",name:"Q{}entries",slot:"1"}]},{N:"gVarRef",name:"Q{}ST.MULTIPLE_MAP",bSlot:"86"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck", -C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg938941445",bSlot:"87"}]}]}]}]}]},{N:"elem",line:"57",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map}"},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"target"}]}]},{N:"str",val:"JS"}]},{N:"str",val:"_new"},{N:"true"},{N:"str",val:"merge"}]}]}]},{N:"elem",line:"58",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"59",C:[{N:"elem",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]}, -{N:"att",name:"type",flags:"l",C:[{N:"str",val:"map()"}]},{N:"elem",line:"60",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"duplicates"}]}]}]},{N:"elem",line:"61",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:"reject"}]}]}]}]},{N:"elem",line:"63",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"map()"}]},{N:"elem",line:"64",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"duplicates-error-code"}]}]}]},{N:"elem",line:"65",name:"str",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:"XTDE3365"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"178",part:"1",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty",flags:"s",line:"202",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"204","var":"Q{}source",as:"1NE",slot:"1",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"206",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"207",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef", -name:"Q{}source",slot:"1"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"278",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}copyOf",flags:"s",line:"410",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}copyOf"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"411","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"412",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"414",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}copyOf",C:[{N:"sequence",role:"content",line:"415",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"axis", -name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"294",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fn",flags:"s",line:"875",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"875",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"string-join"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"876","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"877",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", -name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"879",C:[{N:"fn",line:"880",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"elem",line:"881",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"882",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}name]"},{N:"slash",simple:"1",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]}, -{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"true"},{N:"copy",line:"886",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}fn",C:[{N:"sequence",role:"content",line:"887",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"888",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"290",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF",flags:"s",as:"1NE",line:"812", -module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"813",card:"1",diag:'7|0|XTTE0505|match="ex:PARAMDEF" mode="process-xpath"',C:[{N:"sequence",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select", -size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"814",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied", -slot:"1"}]}]}]}]}]},{N:"param",line:"815",name:"Q{}version",slot:"2",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"30"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|version",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"data",diag:"8|0|XTTE0590|version",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"let",line:"818","var":"Q{}init",as:"1NE",slot:"3",C:[{N:"treat",line:"819",as:"NE",diag:"3|0|XTTE0570|init",C:[{N:"check", -card:"1",diag:"3|0|XTTE0570|init",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"823",name:"param",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",line:"816",name:"Q{}no.slots",slot:"1"}]}]}, -{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"88"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, -{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"89"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]},{N:"str",val:"true"}]},{N:"str",val:"t"}]}]},{N:"fn",name:"string",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}, -{N:"str",val:"true"}]},{N:"str",val:"r"}]}]}]}]},{N:"applyT",line:"824",mode:"Q{}attribute-sans-prefix",bSlot:"90",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"axis",line:"825",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"825", -name:"attribute",nodeTest:"NA nQ{}module"},{N:"let",line:"828","var":"Q{}supplied",as:"1NE",slot:"4",C:[{N:"elem",line:"829",name:"supplied",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"conversion"}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",line:"816",name:"Q{}no.slots",slot:"1"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"91"}]}]}]},{N:"choose", -line:"831",C:[{N:"fn",line:"832",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"834","var":"Q{}required",slot:"5",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"92",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]}, -{N:"sequence",line:"841",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"93",C:[{N:"varRef",name:"Q{}init",slot:"3"},{N:"varRef",name:"Q{}required",slot:"5"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"94"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"choose",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"841", -C:[{N:"compareToInt",op:"eq",val:"20",C:[{N:"varRef",name:"Q{}version",slot:"2"}]},{N:"str",val:"XTTE0600"},{N:"true"},{N:"str",val:"XTTE0570"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"841",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:param name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]},{N:"ufCall",line:"844",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"95",C:[{N:"varRef",name:"Q{}supplied",slot:"4"},{N:"varRef",name:"Q{}required",slot:"5"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"96"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"1"},{N:"str",val:"XTTE0590"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"844",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:param name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"847",C:[{N:"varRef",name:"Q{}init",slot:"3"},{N:"varRef",name:"Q{}supplied",slot:"4"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"299",rank:"1",minImp:"0",slots:"18",matches:"NE nQ{http://ns.saxonica.com/xslt/export}pattern", -flags:"s",as:"*NE",line:"1297",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1299",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"97"},{N:"treat",role:"conversion", -as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1300",name:"Q{}local.variables",slot:"1",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"1301",name:"Q{}globals",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"param",line:"1302",name:"Q{}global.functions",slot:"3",flags:"t",C:[{N:"map",role:"select", -size:"0"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"1303",name:"Q{}accumulators",slot:"4",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"1304",name:"Q{}context-type",slot:"5",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"98"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param", -line:"1305",name:"Q{}nsAttribute",slot:"6",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"supplied",slot:"6"}]}]}]},{N:"param",line:"1306",name:"Q{}defaultHTML5",slot:"7",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB", -diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"let",line:"1307","var":"Q{}priority",as:"*NA",slot:"8",flags:"e",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"}]},{N:"let",line:"1309","var":"Q{}slotMap",as:"1FM v[?]",slot:"9",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",as:"FM",diag:"0|0||map:keys",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1A"},{N:"subscript",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:"21|0||$local.variables",C:[{N:"check",card:"1", -diag:"21|0||$local.variables",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]},{N:"arrayBlock",C:[{N:"dot",type:"1A"}]}]},{N:"int",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"1310","var":"Q{}role",as:"?NA",slot:"10",flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"let",line:"1312","var":"Q{}ns",as:"?FM k[AS] v[1AS]",slot:"11",flags:"e",C:[{N:"choose", -C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xpathDefaultNamespace"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]},{N:"let",line:"1314","var":"Q{}xpath",as:"?NA",slot:"12",flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"},{N:"let",line:"1329","var":"Q{}temp",as:"1",slot:"13",C:[{N:"check", -line:"1359",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"try",flags:"r",C:[{N:"applyT",mode:"Q{}exportNS",bSlot:"99",C:[{N:"ifCall",role:"select",name:"Q{http://saxon.sf.net/}compile-XPath",type:"1",C:[{N:"check",card:"1",diag:"0|0||saxon:compile-XPath",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||saxon:compile-XPath",C:[{N:"cvUntyped",to:"AS",diag:"0|0||saxon:compile-XPath",C:[{N:"data",diag:"0|0||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}xpath",slot:"12"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"literal",count:"2",C:[{N:"map",size:"1",C:[{N:"str",val:"language"},{N:"str",val:"XSLT"}]},{N:"map",size:"1",C:[{N:"str",val:"type"},{N:"str",val:"pattern"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"splitPattern"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}priority",slot:"8"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"globals"},{N:"varRef",name:"Q{}globals",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"globalFunctions"},{N:"varRef",name:"Q{}global.functions",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"accumulators"},{N:"varRef",name:"Q{}accumulators",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"nsAttribute"}, -{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}nsAttribute",slot:"6"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"html5Mode"},{N:"varRef",name:"Q{}defaultHTML5",slot:"7"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"slotMap"},{N:"varRef",name:"Q{}slotMap",slot:"9"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"contextType"},{N:"choose", -C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}role",slot:"10"}]}]},{N:"str",val:"match"}]},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"100"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"5"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}ns",slot:"11"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, -{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"check",card:"?",diag:"0|2||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"catch",errors:"*",C:[{N:"fn",line:"1368",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"choose",line:"1366",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"local-name-from-QName",C:[{N:"treat",as:"AQ", -diag:"0|0||fn:local-name-from-QName",C:[{N:"check",card:"?",diag:"0|0||fn:local-name-from-QName",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:local-name-from-QName",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]},{N:"str",val:"XPST0003"}]},{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0340"},{N:"true"},{N:"data",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]}, -{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in pattern"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"101",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}pattern",flags:"a"}]}]},{N:"str",val:" {"}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall", -name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"let",line:"1373","var":"Q{}temp",as:"1NE",slot:"14",C:[{N:"choose",line:"1374",C:[{N:"instance",line:"1375",of:"1FM",C:[{N:"varRef",name:"Q{}temp",slot:"13"}]},{N:"let",line:"1376","var":"Q{}type",slot:"15",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"13"},{N:"str",val:"type"}]},{N:"let",line:"1382","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"16",flags:"l",C:[{N:"fn", -name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}type",slot:"15"}]}]}]},{N:"str",val:" "}]},{N:"treat",line:"1377",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"13"},{N:"str",val:"expr"}]},{N:"copy",line:"1378",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"1379",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"1382",name:"type",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"16"}]},{N:"slash",line:"1384",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"1389",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"varRef",name:"Q{}temp",slot:"13"}]}]},{N:"let",line:"1393","var":"Q{}attr",as:"?NA",slot:"17",C:[{N:"varRef", -name:"Q{}role",slot:"10"},{N:"forEach",line:"1401",C:[{N:"choose",line:"1399",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"14"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}UnionExprP"}]}]},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"14"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"true"},{N:"varRef",name:"Q{}temp",slot:"14"}]},{N:"choose",line:"1410",C:[{N:"fn",line:"1411",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis", -name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"current"}]}]}]},{N:"elem",line:"1412",name:"p.withCurrent",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1413",C:[{N:"varRef",name:"Q{}attr",slot:"17"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"applyT",line:"1414",mode:"Q{}pattern-with-current", -bSlot:"102",C:[{N:"dot",role:"select",type:"1NE"}]}]}]},{N:"true"},{N:"copy",line:"1418",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"1419",C:[{N:"varRef",name:"Q{}attr",slot:"17"},{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"267",rank:"4",minImp:"0",slots:"12",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accRule",flags:"s",line:"95",module:"streaming.xsl",C:[{N:"p.nodeTest", -role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accRule"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AS",slot:"2",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck", -C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg159823385",bSlot:"103"}]}]}]}]},{N:"sequence",line:"96",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"97",name:"Q{}valueType",slot:"1",flags:"ti",as:"1AS",C:[{N:"check", -role:"conversion",card:"1",diag:"8|0|XTTE0590|valueType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|valueType",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|valueType",C:[{N:"data",diag:"8|0|XTTE0590|valueType",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"98","var":"Q{}this",as:"1",slot:"3",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}accRule",flags:"a"},{N:"let",line:"135","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1FM k[AS] v[+]",slot:"4",flags:"l", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"Q{}value"},{N:"sequence",C:[{N:"varRef",name:"Q{}this",slot:"3"},{N:"int",val:"0"},{N:"varRef",name:"Q{}valueType",slot:"1"}]}]},{N:"let",line:"99","var":"Q{}priority",as:"?NA",slot:"5",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"},{N:"let",line:"117","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"6",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}priority", -slot:"5"}]},{N:"let",line:"100","var":"Q{}attributes",as:"*NA",slot:"7",C:[{N:"treat",line:"101",as:"NA",diag:"3|0|XTTE0570|attributes",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA nQ{}priority]"}]}]},{N:"let",line:"104","var":"Q{}action",as:"*NE",slot:"8",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"let",line:"106","var":"Q{}typeAsMap",slot:"9",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"104", -C:[{N:"varRef",name:"Q{}valueType",slot:"1"}]},{N:"let",line:"107","var":"Q{}patterns",as:"+NE",slot:"10",C:[{N:"treat",line:"108",as:"NE",diag:"3|0|XTTE0570|patterns",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|patterns",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]}]}]}]},{N:"forEach",line:"112",C:[{N:"varRef", -name:"Q{}patterns",slot:"10"},{N:"elem",line:"113",name:"accRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"valueType",flags:"l",C:[{N:"varRef",name:"Q{}valueType",slot:"1"}]},{N:"varRef",line:"114",name:"Q{}attributes",slot:"7"},{N:"att",line:"115",name:"prio",flags:"l",C:[{N:"fn",line:"116",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"varRef",line:"117",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"},{N:"cast", -line:"118",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}priority",slot:"5"}]}]}]}]},{N:"true"},{N:"data",line:"121",C:[{N:"mergeAdj",C:[{N:"applyT",mode:"Q{}pattern-priority",bSlot:"105",C:[{N:"dot",role:"select",type:"1NE"}]}]}]}]}]},{N:"str",val:""}]}]},{N:"copy",line:"125",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"126",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"127",name:"role",flags:"l",C:[{N:"str", -val:"match"}]},{N:"axis",line:"128",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"130","var":"Q{}processedAction",as:"1NE",slot:"11",C:[{N:"treat",line:"131",as:"NE",diag:"3|0|XTTE0570|processedAction",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processedAction",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}action",slot:"8"},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"streaming.xsl",line:"133",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"106",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM k[AS] v[+]",C:[{N:"varRef",line:"135",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"4"}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"int",val:"1"}]}]}]}]},{N:"ufCall",line:"142",name:"Q{MyFunctions}typeCheck", -tailCall:"false",bSlot:"107",C:[{N:"varRef",name:"Q{}processedAction",slot:"11"},{N:"varRef",name:"Q{}typeAsMap",slot:"9"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"2"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"223",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}constructSimpleContent",flags:"s",line:"362",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}constructSimpleContent"}, -{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"363","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"364",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"366",C:[{N:"fn",line:"367",name:"matches",C:[{N:"check",card:"?",diag:"0|0||fn:matches",C:[{N:"convert", -from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]},{N:"str",val:"^xs:string|^[1+?*]AS"},{N:"str",val:""}]},{N:"varRef",line:"368",name:"Q{}parts", -slot:"0"},{N:"true"},{N:"let",line:"371","var":"Q{}on-empty",as:"*NE n*:onEmpty",slot:"1",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"axis",name:"child",nodeTest:"NE n*:onEmpty"}]}]}]},{N:"let",line:"379","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*NE n*:onEmpty",slot:"2",flags:"l",C:[{N:"docOrder",intra:"0",C:[{N:"varRef", -name:"Q{}on-empty",slot:"1"}]},{N:"sequence",line:"372",C:[{N:"elem",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_STRING",bSlot:"108"}]},{N:"forEach",line:"374",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"elem",line:"375",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"109"}]}, -{N:"elem",line:"376",name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"copy",line:"377",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"378",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ITEM",bSlot:"110"}]},{N:"axis",line:"379",name:"attribute",nodeTest:"NA"},{N:"except",line:"379",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"}]}]}]}]}]}]}]},{N:"elem",line:"384", -name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"111"}]},{N:"elem",line:"385",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]},{N:"varRef",line:"388",name:"Q{}on-empty",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"255",rank:"1",minImp:"0",slots:"11",matches:"NE nQ{http://ns.saxonica.com/xslt/export}merge", -flags:"s",line:"58",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}merge"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"59","var":"Q{}sources",as:"*NE",slot:"0",C:[{N:"treat",line:"60",as:"NE",diag:"3|0|XTTE0570|sources",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", -name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc"}]}]},{N:"let",line:"64","var":"Q{}keyTypes",as:"*FA",slot:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}sources",slot:"0"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}_from-sequence",type:"1FA",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"112",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]},{N:"sequence",line:"74",C:[{N:"let","var":"Q{}h",slot:"2",C:[{N:"first",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1FA v[1FM]",slot:"3",flags:"l",C:[{N:"treat",as:"FA v[1FM]",diag:"0|0||f:comparableMergeKeys",C:[{N:"check",card:"1",diag:"0|0||f:comparableMergeKeys", -C:[{N:"varRef",name:"Q{}h",slot:"2"}]}]},{N:"choose",C:[{N:"some","var":"Q{}t",slot:"4",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"}]},{N:"fn",name:"not",C:[{N:"let","var":"Q{}k1",as:"1FA v[1FM]",slot:"5",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"},{N:"let","var":"Q{}k2",as:"1FA v[1FM]",slot:"6",C:[{N:"treat",as:"FA v[1FM]",diag:"0|1||f:comparableMergeKeys",C:[{N:"varRef",name:"Q{}t",slot:"4"}]},{N:"and",line:"100",op:"and",C:[{N:"vc",op:"eq", -onEmpty:"0",comp:"CAVC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k2",slot:"6"}]}]},{N:"every","var":"Q{}k",slot:"7",C:[{N:"to",C:[{N:"int",val:"1"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"5"}]}]},{N:"let","var":"Q{}a",slot:"8",C:[{N:"lookup", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k1",slot:"5"},{N:"varRef",name:"Q{}k",slot:"7"}]},{N:"str",val:"p"}]},{N:"let","var":"Q{}b",slot:"9",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k2",slot:"6"},{N:"varRef",name:"Q{}k",slot:"7"}]},{N:"str",val:"p"}]},{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}a",slot:"8"}]},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}a",slot:"8"}]}]}]}]},{N:"int",val:"1"},{N:"int", -val:"2"}]},{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}a",slot:"8"}]}, -{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"113",C:[{N:"str",val:"XTTE2230"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Merge key types "},{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"},{N:"forEach",C:[{N:"lookupAll",C:[{N:"dot",type:"1FA"}]},{N:"ufCall",name:"Q{MyTypes}displayType", -tailCall:"false",bSlot:"114",C:[{N:"treat",as:"FM",diag:"0|0||t:displayType",C:[{N:"dot"}]}]}]}]},{N:"str",val:","}]}]},{N:"str",val:" are not comparable"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}merge",flags:"a"}]}]}]}]},{N:"let",line:"76","var":"Q{}parts",as:"*NE",slot:"10",C:[{N:"treat",line:"77",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE d[NE,NE n*:mergeSrc]"},{N:"withParam",name:"Q{}context-type", -flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"merging.xsl",line:"78",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"115",C:[{N:"check",line:"63",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"first",C:[{N:"varRef",name:"Q{}sources",slot:"0"}]},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]},{N:"copy",line:"81",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}merge", -C:[{N:"sequence",role:"content",line:"82",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"action"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]}]},{N:"varRef",name:"Q{}sources",slot:"0"},{N:"varRef",name:"Q{}parts",slot:"10"}]}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"1.0",seq:"296",rank:"3",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}convert",flags:"s",line:"905",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}convert"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",op:"eq", -onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}to"}]},{N:"str",val:"xs:string"}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}data"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"906","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"907",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}data"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"choose",line:"909",C:[{N:"fn",line:"910",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"self", -nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"varRef",line:"911",name:"Q{}temp",slot:"0"},{N:"true"},{N:"copy",line:"914",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}convert",C:[{N:"sequence",role:"content",line:"915",C:[{N:"att",name:"type",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}to"}]},{N:"str",val:"*"}]}]},{N:"axis",line:"916",name:"attribute",nodeTest:"NA"},{N:"elem",line:"917",name:"data", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"choose",line:"918",C:[{N:"fn",line:"919",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"*NT"}]},{N:"elem",line:"920",name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"921",name:"Q{}temp",slot:"0"}]},{N:"true"}, -{N:"varRef",line:"925",name:"Q{}temp",slot:"0"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"295",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}convert",flags:"s",line:"898",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}convert"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"898",name:"attribute",nodeTest:"NA nQ{}to"}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"899",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}convert",C:[{N:"sequence",role:"content",line:"900",C:[{N:"att",name:"type",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}to"}]},{N:"str",val:"*"}]}]},{N:"axis",line:"901",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"902",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"183",part:"1",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}catch",flags:"s",line:"279",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}catch"},{N:"let",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"281","var":"Q{}parts",as:"*NE",slot:"1",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"285",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"286",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att", -line:"287",name:"sType",flags:"l",C:[{N:"ufCall",line:"284",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"116",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"117",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"118",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"288",name:"Q{}parts",slot:"1"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"274",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}package",flags:"s",line:"117",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}package"},{N:"copy", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"118",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}package",C:[{N:"sequence",role:"content",line:"119",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"177","var":"Q{}accumulators",as:"1FM v[1AS]",slot:"0",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"string",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"str",val:"*"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, -{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"187","var":"Q{}global.functions",as:"1FM",slot:"1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}name"}, -{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"body"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"194", -"var":"Q{}typed-globals",as:"*NE",slot:"2",C:[{N:"treat",line:"196",as:"NE",diag:"3|0|XTTE0570|typed-globals",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalVariable,NE nQ{http://ns.saxonica.com/xslt/export}globalParam]"}]},{N:"withParam",name:"Q{}globals",flags:"t",as:"1FM k[AZ] v[1NE]",C:[{N:"ifCall",line:"200",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]}]}, -{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str", -val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}global.functions",flags:"t",as:"1FM",C:[{N:"varRef",line:"201",name:"Q{}global.functions",slot:"1"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"1FM v[1AS]",C:[{N:"varRef",line:"203",name:"Q{}accumulators",slot:"0"}]}]}]},{N:"sequence",line:"207",C:[{N:"choose",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}options",bSlot:"119"},{N:"str",val:"traceProgress"}]},{N:"message",line:"208",C:[{N:"sequence",role:"select", -C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}typed-globals",slot:"2"}]},{N:"str",val:"global variables/params"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"221",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"int",val:"0"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM k[* n~error] v[** n~error]",C:[{N:"map", -size:"0"}]},{N:"withParam",name:"Q{}globals",flags:"t",as:"1FM v[1]",C:[{N:"ifCall",line:"215",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}typed-globals",slot:"2"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"dot", -type:"1NE"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}global.functions",flags:"t",as:"1FM",C:[{N:"varRef",line:"229",name:"Q{}global.functions",slot:"1"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"1FM v[1AS]",C:[{N:"varRef",line:"231",name:"Q{}accumulators",slot:"0"}]},{N:"withParam",name:"Q{}named-template-params",flags:"t",as:"1FM v[1FM v[1A]]",C:[{N:"ifCall", -line:"212",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE n*:template"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"slash", -simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"}, -{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}version",flags:"t",as:"1ADI",C:[{N:"check",line:"233",card:"1",diag:"8|0|XTTE0590|version",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"data",diag:"8|0|XTTE0590|version",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]}]},{N:"choose", -line:"235",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"120"}]}]},{N:"fn",line:"238",name:"error",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"121"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"XPath compilation stage failed with "},{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"122"}]}]}]}, -{N:"str",val:" errors - see message console for details"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"297",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj",flags:"s",line:"934",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"935","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"936",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"938",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj",C:[{N:"sequence",role:"content",line:"939",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}sType"}]},{N:"choose",line:"940",C:[{N:"fn",line:"941",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"}]}]},{N:"varRef",line:"942",name:"Q{}temp",slot:"0"},{N:"fn",line:"944",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"0"}, -{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"item("}]},{N:"elem",line:"945",name:"homCheck",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"946",name:"Q{}temp",slot:"0"}]},{N:"true"},{N:"varRef",line:"950",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"193",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}evaluate",flags:"s",line:"88",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE nQ{http://ns.saxonica.com/xslt/export}evaluate"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"88",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"89",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"process-xpath ex:evaluate @ex:asJ = "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"let",line:"91","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"92",as:"NE",diag:"3|0|XTTE0570|temp", -C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"95",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"123",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"ufCall",line:"90",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"124",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -name:"Q{http://saxon.sf.net/generated-variable}gg519751097",bSlot:"125"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"280",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}empty",flags:"s",line:"436",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}empty"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"437",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}empty",C:[{N:"sequence",role:"content",line:"438",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"126"}]},{N:"axis",line:"439",name:"attribute",nodeTest:"NA"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"286",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}first",flags:"s",line:"610",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE nQ{http://ns.saxonica.com/xslt/export}first"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"610",name:"attribute",nodeTest:"NA nQ{}BC"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"611","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"612",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"614",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}first",C:[{N:"sequence",role:"content",line:"615",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}BC]"},{N:"att",line:"617",name:"sType",flags:"l",C:[{N:"ufCall", -name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"127",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"617",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"128",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"?"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"618",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"269",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}key",flags:"s",line:"46",module:"key.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"47","var":"Q{}match",as:"*NE",slot:"0",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child", -nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"match"}]}]},{N:"let",line:"48","var":"Q{}processed-match",as:"1NE",slot:"1",C:[{N:"treat",line:"49",as:"NE",diag:"3|0|XTTE0570|processed-match",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processed-match",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}match",slot:"0"}]}]}]},{N:"copy",line:"60",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}key",C:[{N:"sequence",role:"content", -line:"61",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"62",name:"flags",flags:"l",C:[{N:"convert",line:"54",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|flags",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|flags",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}flags"},{N:"choose",line:"55",C:[{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind", -tailCall:"false",bSlot:"129",C:[{N:"varRef",name:"Q{}processed-match",slot:"1"},{N:"str",val:"NA"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"a"}]}]},{N:"choose",line:"56",C:[{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"false",bSlot:"130",C:[{N:"varRef",name:"Q{}processed-match",slot:"1"},{N:"str",val:"NN"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"n"}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]},{N:"varRef",line:"63",name:"Q{}processed-match",slot:"1"},{N:"applyT",line:"64",flags:"c", -bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}match",slot:"0"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"178",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty",flags:"s",line:"202",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"203","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"204",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"206",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"207",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}, -{N:"varRef",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"279",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}copy",flags:"s",line:"419",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}copy"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"420",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"131"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"426",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"132",C:[{N:"str",val:"XTTE0945"}, -{N:"str",val:"No context item for xsl:copy"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}copy",flags:"a"}]}]},{N:"let",line:"427","var":"Q{}source",as:"1NE",slot:"1",C:[{N:"treat",line:"428",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"430",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}copy",C:[{N:"sequence",role:"content", -line:"431",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"133",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}context-type",slot:"0"},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"134"}]}]}]}]},{N:"axis",line:"432",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"432",name:"Q{}source",slot:"1"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"196",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function", -flags:"s",line:"178",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"178",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"179","var":"Q{}type",slot:"0",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"135",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"let",line:"180","var":"Q{}temp",as:"1NE",slot:"1",C:[{N:"treat",line:"181",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check", -card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"forEach",line:"185",C:[{N:"varRef",name:"Q{}temp",slot:"1"},{N:"copy",line:"186",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"189",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE n*:arg"},{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"136",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq", -comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"body"}]}]}]},{N:"treat",as:"FM",diag:"0|1||f:typeCheck",C:[{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"r"}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"137"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0780"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"callable-components.xsl",line:"189",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"function "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"()"}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"292",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function",flags:"s",line:"859",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"nextMatch",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"860",flags:"t",C:[{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"empty"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"197",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function",flags:"s",line:"194",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match", -test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"195",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables", -C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"196",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"copy",line:"202",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}function",C:[{N:"sequence",role:"content", -line:"203",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE n*:arg"},{N:"applyT",line:"204",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"body"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"207",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"axis", -name:"child",nodeTest:"NE n*:arg"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE n*:arg"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"fn",name:"string",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}, -{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"138"}]}]}]}]}]}]},{N:"varRef",name:"Q{}local.variables",slot:"0"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"arith",line:"208",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"1"},{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE n*:arg"}]}]}]},{N:"withParam",name:"Q{}context-type", -flags:"t",C:[{N:"empty"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"281",part:"2",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fork",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}fork"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"445","var":"Q{}parts",as:"*NE",slot:"10",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"449",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"10"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"139"}]},{N:"axis",line:"451",name:"attribute", -nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"11",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"140",C:[{N:"check",card:"+",diag:"0|0||t:commonType", -C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"141",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"12", -C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"142",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"11"}]},{N:"choose",line:"461",C:[{N:"every","var":"Q{}p",slot:"13",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"13"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"10"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"12"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"10"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE", -C:[{N:"sequence",role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"12"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"10"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"14",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}role"},{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"14"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall", -name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"143",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"11"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"10"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"164",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://ns.saxonica.com/xslt/export}iterate",flags:"s",line:"179",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"180",C:[{N:"param",name:"Q{}no.slots",slot:"0",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"181",name:"Q{}local.variables",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", -as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"182",name:"Q{}context-type",slot:"2",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"144"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"183",name:"Q{}focus-context-type",slot:"3",flags:"t", -as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"2"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"3"}]}]}]},{N:"copy",line:"184",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}iterate",C:[{N:"let",role:"content",line:"186","var":"Q{}for",as:"1NE",slot:"4",C:[{N:"treat",line:"187",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for", -C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"select"}]}]}]}]}]},{N:"let",line:"189","var":"Q{}bindings",as:"*NE nQ{http://ns.saxonica.com/xslt/export}for",slot:"5",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}for",slot:"4"},{N:"axis",name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}for"}]},{N:"let",line:"190","var":"Q{}new.local.variables", -as:"1FM",slot:"6",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"varRef",name:"Q{}bindings",slot:"5"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}for"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"str", -val:""}]}]}]},{N:"varRef",name:"Q{}local.variables",slot:"1"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"191","var":"Q{}no.slots",as:"1ADI",slot:"7",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"0"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}bindings",slot:"5"}]}]},{N:"let",line:"193","var":"Q{}params",as:"1NE",slot:"8",C:[{N:"treat",line:"194",as:"NE",diag:"3|0|XTTE0570|params", -C:[{N:"check",card:"1",diag:"3|0|XTTE0570|params",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"params"}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"varRef",line:"195",name:"Q{}no.slots",slot:"7"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"varRef",line:"196",name:"Q{}new.local.variables",slot:"6"}]}]}]}]},{N:"let", -line:"201","var":"Q{}body",as:"*NE",slot:"9",C:[{N:"treat",line:"202",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"select"},{N:"str",val:"params"}]},{N:"attVal",name:"Q{}role"}]}]}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef", -line:"203",name:"Q{}context-type",slot:"2"}]},{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"repetition.xsl",line:"199",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"145",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"4"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"205", -name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}params",slot:"8"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"fn",name:"string", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]},{N:"varRef",name:"Q{}new.local.variables",slot:"6"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"arith",line:"206",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"7"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}params",slot:"8"},{N:"axis",name:"child", -nodeTest:"NE"}]}]}]}]}]}]},{N:"sequence",line:"212",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",line:"211",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"146",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"147",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}body",slot:"9"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"action"},{N:"str",val:"on-completion"}]},{N:"attVal", -name:"Q{}role"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"148",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"213",name:"attribute",nodeTest:"NA nQ{}role"},{N:"varRef",line:"214",name:"Q{}for",slot:"4"},{N:"varRef",line:"214",name:"Q{}params",slot:"8"},{N:"varRef",line:"214",name:"Q{}body", -slot:"9"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"281",part:"1",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"445","var":"Q{}parts",as:"*NE",slot:"5",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"449",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"149"}]},{N:"axis",line:"451",name:"attribute", -nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"6",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"150",C:[{N:"check",card:"+",diag:"0|0||t:commonType", -C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"151",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"7", -C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"152",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"6"}]},{N:"choose",line:"461",C:[{N:"every","var":"Q{}p",slot:"8",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"8"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"7"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"5"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE", -C:[{N:"sequence",role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"7"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"5"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"9",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, -{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"9"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType", -tailCall:"false",bSlot:"153",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"6"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"5"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"289",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}VARDEF",flags:"s",as:"1NE",line:"784",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}VARDEF"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"785",card:"1",diag:'7|0|XTTE0505|match="ex:VARDEF" mode="process-xpath"',C:[{N:"sequence",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"786",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI", -diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"elem",line:"789",name:"let",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"var",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert", -from:"ADI",to:"AS",C:[{N:"varRef",line:"787",name:"Q{}no.slots",slot:"1"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"154"}]},{N:"applyT",line:"790",mode:"Q{}attribute-sans-prefix",bSlot:"155",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}, -{N:"axis",line:"791",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"791",name:"attribute",nodeTest:"NA nQ{}module"},{N:"let",line:"792","var":"Q{}temp",as:"*NE",slot:"2",C:[{N:"treat",line:"793",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"796",C:[{N:"fn",line:"797",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"sequence",line:"799",C:[{N:"att",name:"sType",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"ufCall",line:"803",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"156",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]},{N:"ufCall",line:"800",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"157",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"158"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0570"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"803",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:variable name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"806",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"},{N:"axis", -name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"varRef",name:"Q{}temp",slot:"2"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"273",rank:"2",minImp:"0",slots:"0",matches:"NT",flags:"s",line:"111", -module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NT"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"111",name:"not",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"empty",role:"action"}]}]}]},{N:"co",id:"147",binds:"22",C:[{N:"template",name:"Q{}strip-space",flags:"os", -as:"*NE",line:"1465",module:"XSLT-SEF-compiler.xsl",slots:"10",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1467",C:[{N:"param",name:"Q{}precedence-map",slot:"0",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]",diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map", -C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1468",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"choose",line:"1469",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]}]}, -{N:"let",line:"1470","var":"Q{}first",as:"?NE",slot:"2",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]}]},{N:"elem",line:"1532",name:"strip",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"forEach",line:"1533",C:[{N:"forEachGroup",line:"1472",algorithm:"by",C:[{N:"treat",role:"select", -as:"NE",diag:"3|0|XTTE0570|unique",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",C:[{N:"forEach",role:"select",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]},{N:"let",line:"1475","var":"Q{}isStrip",as:"1AB",slot:"3",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space"}]}, -{N:"let",line:"1479","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AS",slot:"4",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}isStrip",slot:"3"},{N:"str",val:"s"},{N:"true"},{N:"str",val:"p"}]},{N:"let",line:"1481","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"5",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}isStrip",slot:"3"}]},{N:"let",line:"1477","var":"Q{}precedence",as:"1ADI",slot:"6",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|precedence", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"0"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"1488","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"7",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}precedence",slot:"6"}]},{N:"forEach",line:"1478",C:[{N:"fn",name:"tokenize",C:[{N:"convert", -from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}elements"}]}]}]},{N:"compElem",line:"1479",C:[{N:"varRef",role:"name",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"4"},{N:"sequence",role:"content",line:"1480",C:[{N:"att",name:"elements",flags:"l",C:[{N:"dot",type:"1AS"}]},{N:"att",line:"1481",name:"strip",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"5"}]},{N:"att",line:"1487", -name:"test",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"NE"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"dot",type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:" n"},{N:"dot",type:"1AS"}]}]}]}]},{N:"att",line:"1488",name:"prec",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"7"}]},{N:"att",line:"1497",name:"priority",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"*", -C:[{N:"dot",type:"1AS"}]},{N:"dec",val:"-0.5"},{N:"fn",name:"contains",C:[{N:"dot",type:"1AS"},{N:"str",val:"*"}]},{N:"dec",val:"-0.25"},{N:"true"},{N:"int",val:"0"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sortKey",line:"1505",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}, -{N:"sortKey",line:"1506",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}priority"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",line:"1510",name:"Q{}elements"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"let",role:"content",line:"1512","var":"Q{}highest-precedence",as:"?AO",slot:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"currentGroup"},{N:"fn",name:"number",C:[{N:"attVal",name:"Q{}prec"}]}]}]},{N:"let",line:"1514","var":"Q{}active",slot:"9",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"gc",op:"=",card:"1:1",comp:"QUNC",C:[{N:"attVal",name:"Q{}prec"},{N:"varRef",name:"Q{}highest-precedence",slot:"8"}]}]},{N:"sequence",line:"1515",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists", -C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}active",slot:"9"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}s"}]}]}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}active",slot:"9"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p"}]}]}]}]},{N:"ufCall",line:"1518",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0270"},{N:"fn",name:"concat", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting strip and preserve space declarations for "},{N:"attVal",name:"Q{}elements"}]},{N:"str",val:" at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}first",slot:"2"}]}]}]},{N:"first",line:"1520",C:[{N:"varRef",name:"Q{}active",slot:"9"}]}]}]}]}]}]},{N:"attVal",role:"key",line:"1525",name:"Q{}prec"},{N:"sortKey",role:"sort",line:"1526",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal", -name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sort",role:"content",line:"1527",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1528",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number", -C:[{N:"attVal",name:"Q{}priority"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"copy",line:"1534",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1535",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}prec"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}code"}]}]}]}]}]}]}]}]}]},{N:"co",id:"148",binds:"22",C:[{N:"function",name:"Q{MyFunctions}wrongValue",line:"813",module:"normalize.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"+NA"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"816",C:[{N:"first",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]},{N:"str",val:" is not a permitted value for "}]},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"dot",type:"1NA"}]}]}]}]},{N:"co",id:"149",binds:"79 150",C:[{N:"template",name:"Q{}role-value-template",flags:"os",line:"177",module:"creating-new-nodes.xsl",slots:"2",C:[{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"178","var":"Q{}role",slot:"0",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"0"},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]},{N:"let",line:"180","var":"Q{}AVT",as:"1NE",slot:"1",C:[{N:"check",line:"181",card:"1",diag:"3|0|XTTE0570|AVT",C:[{N:"callT",name:"Q{}value-template",bSlot:"1"}]},{N:"forEach",line:"184",C:[{N:"varRef",name:"Q{}AVT",slot:"1"},{N:"copy",line:"185",flags:"cin", -sit:"1NE",C:[{N:"sequence",role:"content",line:"186",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"co",id:"151",binds:"1 61",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_MAP",as:"1AS",line:"63",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"63",name:"Q{MyTypes}unmarshalType",tailCall:"false", -bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_MAP",bSlot:"1"}]}]}]},{N:"co",id:"152",binds:"34",C:[{N:"function",name:"Q{MyFunctions}check-sort",line:"247",module:"lib.xsl",flags:"pU",as:"0",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"255",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"check",card:"0",diag:"5|0|XTTE0780|f:check-sort#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:sort+ must be the first children of "},{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"153",binds:"",C:[{N:"function",name:"Q{MyFunctions}EQNameToQName",line:"166",module:"lib.xsl",flags:"pU",as:"1AQ",slots:"2",C:[{N:"arg",name:"Q{}eqname",as:"1AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"168","var":"Q{}parts",as:"*AS",slot:"1",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}eqname",slot:"0"},{N:"int",val:"3"}]},{N:"str",val:"\\}"},{N:"str",val:""}]},{N:"fn",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"fn",line:"169",name:"QName",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"1"}]},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"int",val:"2"}]}]}]}]}]}]},{N:"co", -id:"135",binds:"154 7 154 7",C:[{N:"mode",name:"Q{}pattern-priority",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"304",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"22",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"22",flags:"S", -C:[{N:"str",val:"0"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"3",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.genPos",flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.genPos"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"308",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent",flags:"s",line:"31",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent"},{N:"applyT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"32",flags:"ct",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"306",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate",flags:"s",line:"29",module:"pattern.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"29",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}code"}]},{N:"str",val:""}]}]},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"29",flags:"S",C:[{N:"str",val:"1"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate", -flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"5",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.simPos", -flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.simPos"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"2",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.genNode", -flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.genNode"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"305",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.booleanExp", -flags:"s",line:"28",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.booleanExp"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"28",flags:"S",C:[{N:"str",val:"1"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"311",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn", -flags:"s",line:"57",module:"pattern.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"57",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"intersect"},{N:"str",val:"except"}]},{N:"attVal",name:"Q{}op"}]}]},{N:"applyT",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"58",flags:"ct",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"310",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn",flags:"s",line:"37",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"}, -{N:"fn",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",name:"string",C:[{N:"ufCall",line:"41",name:"Q{MyFunctions}nodeTestPriority",tailCall:"false",bSlot:"0",C:[{N:"choose",line:"39",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"1",C:[{N:"check",card:"1", -diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]}]}]}]},{N:"true"},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"int",val:"1"},{N:"str",val:"p"},{N:"str",val:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"4",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeSet", -flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeSet"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"307",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.any", -flags:"s",line:"30",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.any"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"30",flags:"S",C:[{N:"str",val:"-1"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper", -flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"310",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeTest", -flags:"s",line:"37",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeTest"},{N:"fn",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",name:"string",C:[{N:"ufCall",line:"41",name:"Q{MyFunctions}nodeTestPriority",tailCall:"false",bSlot:"2",C:[{N:"choose",line:"39",C:[{N:"fn",name:"exists",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"3",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]}]}]}]},{N:"true"},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"int",val:"1"},{N:"str",val:"p"},{N:"str",val:"N"}]}]}]}]}]}]}]}, -{N:"co",id:"155",binds:"156 157",C:[{N:"function",name:"Q{MyFunctions}literalType",line:"1009",module:"type.xsl",flags:"pU",as:"1FM",slots:"2",C:[{N:"arg",name:"Q{}inst",as:"1NE"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1011","var":"Q{}name",as:"1AS",slot:"1",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"0"}]},{N:"choose",line:"1013",C:[{N:"compareToString", -line:"1014",op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"ifCall",line:"1015",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str", -val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"ifCall",line:"1022",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"fn",name:"normalize-space", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"0"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str", -val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"0"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"1"},{N:"varRef",name:"Q{}name",slot:"1"}]}]}]}]}]}]},{N:"co",id:"158",binds:"",C:[{N:"function",name:"Q{MyTypes}isAtomic",line:"458",module:"type.xsl",flags:"pU", -as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"460","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]},{N:"or",line:"461",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef", -name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"A"}]}]}]}]}]},{N:"co",id:"159",binds:"",C:[{N:"function",name:"Q{MyFunctions}cast",line:"465",module:"type.xsl",flags:"pU",as:"?A",slots:"2",C:[{N:"arg", -name:"Q{}a",as:"1A"},{N:"arg",name:"Q{}type",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"468",C:[{N:"compareToString",line:"469",op:"eq",val:"AB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"470",flags:"a",as:"1AB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"472",op:"eq",val:"ASNTNCR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", -line:"473",flags:"a",as:"1ASNTNCR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"475",op:"eq",val:"ASNTNCE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"476",flags:"a",as:"1ASNTNCE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"478",op:"eq",val:"ASNTNCI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"479",flags:"a",as:"1ASNTNCI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"481",op:"eq",val:"ASNTNC",C:[{N:"varRef", -name:"Q{}type",slot:"1"}]},{N:"cast",line:"482",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"484",op:"eq",val:"ASNTN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"485",flags:"a",as:"1ASNTN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"487",op:"eq",val:"ASNT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"488",flags:"a",as:"1ASNT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"490",op:"eq",val:"ASNTL", -C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"491",flags:"a",as:"1ASNTL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"493",op:"eq",val:"ASNTM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"494",flags:"a",as:"1ASNTK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"496",op:"eq",val:"ASN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"497",flags:"a",as:"1ASN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"499", -op:"eq",val:"AS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"500",flags:"a",as:"1AS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"502",op:"eq",val:"AQ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"503",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"505",op:"eq",val:"AU",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"506",flags:"a",as:"1AU",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"508", -op:"eq",val:"AA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"509",flags:"a",as:"1AA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"511",op:"eq",val:"AM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"512",flags:"a",as:"1AM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"514",op:"eq",val:"AMP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"515",flags:"a",as:"1AMP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"517",op:"eq",val:"AT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"518",flags:"a",as:"1AT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"520",op:"eq",val:"AR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"521",flags:"a",as:"1AR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"523",op:"eq",val:"ARD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"524",flags:"a",as:"1ARD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"526",op:"eq",val:"ARY",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"527",flags:"a",as:"1ARY",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"529",op:"eq",val:"AG",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"530",flags:"a",as:"1AG",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"532",op:"eq",val:"AH",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"533",flags:"a",as:"1AH",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"535",op:"eq",val:"AI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"536",flags:"a",as:"1AI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"538",op:"eq",val:"AJ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"539",flags:"a",as:"1AJ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"541",op:"eq",val:"AK",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"542",flags:"a",as:"1AK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"544",op:"eq",val:"AD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"545",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"547",op:"eq",val:"ADI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"548",flags:"a",as:"1ADI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"550",op:"eq",val:"ADIN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"551",flags:"a",as:"1ADIN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"553",op:"eq",val:"ADINN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"554",flags:"a",as:"1ADINN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"556",op:"eq",val:"ADIP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"557",flags:"a",as:"1ADIP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"559",op:"eq",val:"ADIPP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"560",flags:"a",as:"1ADIPP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]}, -{N:"compareToString",line:"562",op:"eq",val:"ADIPL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"563",flags:"a",as:"1ADIPL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"565",op:"eq",val:"ADIPLI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"566",flags:"a",as:"1ADIPLI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"568",op:"eq",val:"ADIPLIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"569",flags:"a",as:"1ADIPLIS",C:[{N:"varRef", -name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"571",op:"eq",val:"ADIPLISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"572",flags:"a",as:"1ADIPLISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"574",op:"eq",val:"ADIL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"575",flags:"a",as:"1ADIL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"577",op:"eq",val:"ADILI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"578",flags:"a", -as:"1ADILI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"580",op:"eq",val:"ADILIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"581",flags:"a",as:"1ADILIS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"583",op:"eq",val:"ADILISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"584",flags:"a",as:"1ADILISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"586",op:"eq",val:"AO",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", -line:"587",flags:"a",as:"1AO",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"589",op:"eq",val:"AF",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"590",flags:"a",as:"1AF",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"592",op:"eq",val:"A2",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"593",flags:"a",as:"1A2",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"595",op:"eq",val:"AX",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", -line:"596",flags:"a",as:"1AX",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"598",op:"eq",val:"AZ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"599",flags:"a",as:"1AZ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"true"},{N:"varRef",line:"602",name:"Q{}a",slot:"0"}]}]}]},{N:"co",id:"160",binds:"",C:[{N:"mode",name:"Q{}form.schema",onNo:"DS",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"27",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s", -as:"*FM",line:"397",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"398",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"\\..$"},{N:"str",val:""},{N:"str",val:""}]},{N:"str", -val:"AAA"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"28",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{}sequence-constructor",flags:"s",as:"*FM",line:"400",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{}sequence-constructor"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"401",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{}sequence-constructor",flags:"a"}]},{N:"str",val:"AAA"}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"26",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"388",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"389",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:"\\..+$"},{N:"str",val:""},{N:"str",val:""}]},{N:"ifCall",line:"391",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"isAVT"},{N:"fn",name:"matches",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:"\\.R?A$"},{N:"str",val:""}]}]},{N:"ifCall", -line:"392",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"values"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"str",val:"\\s*\\|\\s*"},{N:"str",val:""}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"}, -{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"25",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{MyFunctions}selectAndContent",flags:"s",line:"384",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{MyFunctions}selectAndContent"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"385",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA nQ{MyFunctions}selectAndContent",flags:"a"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{MyFunctions}selectAndContent",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"24",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{MyFunctions}parents",flags:"s",line:"375",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{MyFunctions}parents"},{N:"ifCall", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"382",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"parents"},{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", -diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{MyFunctions}parents",flags:"a"}]}]}]}]},{N:"str",val:"\\s*\\|\\s*"},{N:"str",val:""}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"top-level",C:[{N:"dot",type:"1AS"}]},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"true"},{N:"dot",type:"1AS"}]}]}]}]}]}]},{N:"co",id:"161",binds:"",C:[{N:"function",name:"Q{MyFunctions}map-aliased-name",line:"540",module:"creating-new-nodes.xsl", -flags:"pU",as:"*",slots:"5",C:[{N:"arg",name:"Q{}original-name",as:"1AQ"},{N:"arg",name:"Q{}namespace-aliases",as:"1FM"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"544","var":"Q{}original-uri",as:"1AU",slot:"2",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"0"}]},{N:"let",line:"545","var":"Q{}new-uri",as:"1AS", -slot:"3",C:[{N:"choose",line:"546",C:[{N:"or",line:"547",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]}]}]},{N:"convert",line:"548",from:"AU",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef", -name:"Q{}original-uri",slot:"2"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]},{N:"int",val:"2"}]}]}]}]}]}]}, -{N:"choose",line:"555",C:[{N:"vc",line:"556",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"2"},{N:"varRef",name:"Q{}new-uri",slot:"3"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"0"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"4",C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]}]},{N:"fn",line:"567", -name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"3"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"str",val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName", -C:[{N:"varRef",name:"Q{}original-name",slot:"0"}]}]}]}]}]}]}]}]}]},{N:"co",id:"46",binds:"",C:[{N:"function",name:"Q{MyFunctions}NCName",line:"148",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"156",C:[{N:"fn",name:"matches",C:[{N:"check",card:"?",diag:"0|0||fn:matches", -C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]},{N:"str",val:"^\\i\\c*$"},{N:"str",val:""}]},{N:"check",card:"1",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"data",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"varRef",name:"Q{}input", -slot:"0"}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"data",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}, -{N:"str",val:"' is not a valid NCName"}]}]}]}]}]}]}]}]}]},{N:"co",id:"162",binds:"74",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg607192333",as:"1AS",line:"240",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"240",name:"concat",C:[{N:"str",val:"This is the XSLT3 compiler version "}, -{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"gVarRef",name:"Q{}compiler.version",bSlot:"0"}]}]}]}]}]},{N:"co",id:"32",binds:"11",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"90",module:"lib.xsl",flags:"pU",as:"1AS",slots:"3",C:[{N:"arg",name:"Q{}name",as:"1AS"},{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}error-code",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"94",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}name",slot:"0"},{N:"varRef",name:"Q{}context",slot:"1"},{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"empty"}]}]}]}]},{N:"co",id:"43",binds:"11",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"85",module:"lib.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}name",as:"1AS"},{N:"arg",name:"Q{}context",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"88",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}name",slot:"0"},{N:"varRef",name:"Q{}context",slot:"1"},{N:"str",val:"XTSE0020"},{N:"empty"}]}]}]}]},{N:"co",id:"45",binds:"22",C:[{N:"function",name:"Q{MyFunctions}not-reserved",line:"72",module:"lib.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}eqName",as:"1AS"},{N:"arg",name:"Q{}location",as:"?N"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"75",C:[{N:"fn",line:"76",name:"matches",C:[{N:"varRef",name:"Q{}eqName",slot:"0"},{N:"str",val:"^Q\\{http://www.w3.org/(1999/XSL/Transform|2005/xpath-functions(/map|/math|/array)?|XML/1998/namespace|2001/XMLSchema(-instance)?|2005/xqt-errors|2000/xmlns/)\\}"},{N:"str",val:""}]},{N:"check",line:"77",card:"1",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"data", -diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0080"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Namespace "},{N:"fn",name:"substring-before",C:[{N:"fn",name:"substring-after",C:[{N:"varRef",name:"Q{}eqName",slot:"0"},{N:"str",val:"Q{"}]},{N:"str",val:"}"}]}]},{N:"str",val:" is reserved for system use"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}location", -slot:"1"}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"80",name:"Q{}eqName",slot:"0"}]}]}]},{N:"co",id:"163",binds:"38 28 15 79 164 17 15 15 28 15 164 28 18 18 19 79",C:[{N:"mode",name:"Q{}sef.named-templates",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"5.0",seq:"327",rank:"13",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", -role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6",seq:"366",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*", -flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"361",rank:"11",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"357",rank:"10",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"353",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"82",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"350",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"75",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"346",rank:"8",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"342",rank:"7",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute", -nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03", -seq:"338",rank:"6",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"334",rank:"5",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"228",rank:"3",minImp:"0",slots:"4",matches:"NE",flags:"s",line:"448",module:"creating-new-nodes.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate", -C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"448",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"448",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"449",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"450",name:"Q{}static-context",slot:"1",flags:"t", -as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"456","var":"Q{}version",as:"?AD",slot:"3",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}, -{N:"true"},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"nextMatch",line:"458",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM",C:[{N:"ifCall",line:"463",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"3"},{N:"dec",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"}, -{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}static-context",slot:"1"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"?AD",C:[{N:"varRef",line:"464",name:"Q{}version",slot:"3"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"465",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"3"},{N:"dec",val:"2"}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"189",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"29",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"32",name:"PARAMDEF", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"33",name:"Q{}record-location",bSlot:"1"},{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"2",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"35",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"3"},{N:"str",val:"select"}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall", -line:"36",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"191",rank:"0",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"41",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"42",C:[{N:"param",name:"Q{}named-template-signatures",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"45",name:"withParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose", -line:"46",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]}]},{N:"str",val:"true"}]},{N:"att",line:"47",name:"flags",flags:"l",C:[{N:"str",val:"t"}]}]},{N:"choose",line:"49",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}]},{N:"let",line:"50","var":"Q{}param",slot:"4",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply", -type:"*",C:[{N:"treat",as:"F",diag:'21|0||map:get(...) ? "params"',C:[{N:"check",card:"1",diag:'21|0||map:get(...) ? "params"',C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str", -val:"params"}]}]}]},{N:"arrayBlock",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"52",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"4"},{N:"str",val:"type"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"4"},{N:"str",val:"typeJ"}]}]}]}]},{N:"choose",line:"54",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"}]},{N:"slash",line:"57",simple:"2",C:[{N:"let",line:"55", -"var":"Q{http://saxon.sf.net/generated-variable}current1896874222",as:"1",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"6",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1896874222",slot:"5"},{N:"attVal",name:"Q{}name"}]},{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", -flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}as,NA nQ{http://ns.saxonica.com/xslt/export}asJ]"}]}]},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis", -line:"59",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"60",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"att",line:"61",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"choose",line:"64",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}, -{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"65",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"5"}]},{N:"applyT",line:"66",mode:"Q{}select.or.sequence",bSlot:"6",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]},{N:"true"},{N:"applyT",line:"70",mode:"Q{}select.or.sequence", -bSlot:"7",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"185",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"14",module:"variables-and-parameters.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"14",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"15",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:" has no following sibling so it will have no effect"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"nextMatch",line:"16",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"0.0", -seq:"187",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"18",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"20",name:"VARDEF",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"21",name:"Q{}record-location",bSlot:"8"},{N:"applyT",line:"22",flags:"c",bSlot:"-1",C:[{N:"axis", -role:"select",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"applyT",line:"23",mode:"Q{}select.or.sequence",bSlot:"9",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"24",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"25",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"10",C:[{N:"dot", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"199",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"268",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"268",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"269",C:[{N:"param",name:"Q{}location",slot:"0",flags:"t",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"270",name:"Q{}has-uniform-static-context",slot:"1",flags:"ti",as:"1AB",C:[{N:"treat", -role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"271",name:"Q{}options",slot:"2",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1", -diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"273",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"uniform",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"1"}]}]},{N:"elem",line:"275",name:"template",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1", -comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"required"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"o"}]},{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"absent"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"s"}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"slots",flags:"l", -C:[{N:"str",val:"200"}]},{N:"choose",line:"276",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"2"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"277",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"applyT",line:"279",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose",line:"280",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"sequence",line:"281",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"282",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"callT",line:"284",name:"Q{}record-location",bSlot:"11"},{N:"applyT",line:"285",mode:"Q{}sef",bSlot:"12",C:[{N:"except", -role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"1",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/XML/1998/namespace}base"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/XML/1998/namespace}space"}]}]}]}]}, -{N:"applyT",line:"287",mode:"Q{}sef",bSlot:"13",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]},{N:"callT",line:"290",name:"Q{}sequence-constructor",bSlot:"14",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"291",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"15"},{N:"str",val:"body"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"388",rank:"2",minImp:"0",slots:"0", -matches:"NA nQ{}as",flags:"s",line:"1710",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1711",C:[{N:"fn",role:"name",name:"name", -C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]},{N:"fn",role:"select",name:"replace",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"201",rank:"4",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"298",module:"callable-components.xsl",C:[{N:"p.withUpper", -role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"298",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"xsl:initial-template"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]}, -{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"299",name:"name",C:[{N:"str",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template"}]}]}]}]},{N:"co",id:"11",binds:"22 22 22 22 22 22",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"106",module:"lib.xsl",flags:"pU",as:"1AS",slots:"7",C:[{N:"arg",name:"Q{}name.in",as:"1AS"},{N:"arg", -name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}error-code",as:"1AS"},{N:"arg",name:"Q{}xpath-default-namespace",as:"?AS"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"112",card:"1",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:EQName#4", -C:[{N:"data",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"try",flags:"r",C:[{N:"let","var":"Q{}name",as:"1AS",slot:"4",C:[{N:"fn",name:"normalize-space",C:[{N:"varRef",name:"Q{}name.in",slot:"0"}]},{N:"choose",line:"113",C:[{N:"fn",line:"114",name:"starts-with",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:"Q{"}]},{N:"varRef",line:"115",name:"Q{}name",slot:"4"},{N:"fn",line:"117",name:"contains",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"let",line:"119","var":"Q{}local",as:"1AS", -slot:"5",C:[{N:"fn",name:"substring-after",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"sequence",line:"120",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"castable",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}local",slot:"5"}]}]},{N:"ufCall",line:"121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"str",val:"Invalid local name: "},{N:"varRef",name:"Q{}name",slot:"4"}]},{N:"varRef",name:"Q{}context", -slot:"1"}]}]},{N:"let",line:"123","var":"Q{}uri",as:"?AU",slot:"6",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"fn",line:"118",name:"substring-before",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"sequence",line:"124",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"ufCall",line:"125",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE0280"},{N:"fn",name:"concat",C:[{N:"str", -val:"Unbound prefix in QName: "},{N:"varRef",name:"Q{}name",slot:"4"}]},{N:"varRef",name:"Q{}context",slot:"1"}]}]},{N:"fn",line:"127",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"str",val:"}"}]},{N:"varRef",name:"Q{}local",slot:"5"}]}]}]}]}]},{N:"fn",line:"129",name:"not",C:[{N:"castable",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}name",slot:"4"}]}]},{N:"sequence",line:"130",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"2",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:" is not a valid name"}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]},{N:"true"},{N:"fn",line:"133",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"varRef",name:"Q{}xpath-default-namespace",slot:"3"}]},{N:"str",val:"}"}]},{N:"varRef",name:"Q{}name",slot:"4"}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}FOCA0002", -C:[{N:"sequence",line:"136",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",C:[{N:"str",val:"XTSE0280"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}context", -slot:"1"}]},{N:"str",val:"Q{}error"}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTSE0080 Q{http://www.w3.org/2005/xqt-errors}XTSE0280 Q{http://www.w3.org/2005/xqt-errors}XTSE0808",C:[{N:"sequence",line:"138",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"fn",name:"local-name-from-QName",C:[{N:"treat",as:"AQ",diag:"0|0||fn:local-name-from-QName",C:[{N:"check",card:"?",diag:"0|0||fn:local-name-from-QName", -C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:local-name-from-QName",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}, -{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"139",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"5",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]},{N:"str",val:" code:"}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat", -C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]}]}]}]}]}]}]}]}]},{N:"co",id:"165",binds:"",C:[{N:"function",name:"Q{MyTypes}withOccurrenceIndicator",line:"1198",module:"type.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"arg",name:"Q{}indicator",as:"1AS"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1201",name:"concat",C:[{N:"varRef",name:"Q{}indicator",slot:"1"},{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]}]},{N:"co",id:"141",binds:"",C:[{N:"mode",name:"Q{}attribute-sans-prefix",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"394",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"1758",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"compAtt", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1759",C:[{N:"fn",role:"name",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"convert",role:"select",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]},{N:"co",id:"166",binds:"162",C:[{N:"template",name:"Q{http://www.w3.org/1999/XSL/Transform}initial-template", -flags:"os",line:"239",module:"XSLT-SEF-compiler.xsl",slots:"0",C:[{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"240",name:"Desc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"valueOf",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg607192333",bSlot:"0"}]}]}]}]},{N:"co",id:"145",binds:"52",C:[{N:"globalVariable", -name:"Q{http://saxon.sf.net/generated-variable}gg519751097",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"}, -{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:""},{N:"str",val:"xsl:evaluate"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"48",binds:"",C:[{N:"globalVariable",name:"Q{}known-namespaces",as:"1FM k[AS] v[1AS]",line:"549",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"12",C:[{N:"str",val:"err"},{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"str",val:"fn"},{N:"str",val:"http://www.w3.org/2005/xpath-functions"},{N:"str",val:"math"}, -{N:"str",val:"http://www.w3.org/2005/xpath-functions/math"},{N:"str",val:"ixsl"},{N:"str",val:"http://saxonica.com/ns/interactiveXSLT"},{N:"str",val:"js"},{N:"str",val:"http://saxonica.com/ns/globalJS"},{N:"str",val:"saxon"},{N:"str",val:"http://saxon.sf.net/"},{N:"str",val:"xsi"},{N:"str",val:"http://www.w3.org/2001/XMLSchema-instance"},{N:"str",val:"xsl"},{N:"str",val:"http://www.w3.org/1999/XSL/Transform"},{N:"str",val:"xml"},{N:"str",val:"http://www.w3.org/XML/1998/namespace"},{N:"str",val:"array"}, -{N:"str",val:"http://www.w3.org/2005/xpath-functions/array"},{N:"str",val:"xs"},{N:"str",val:"http://www.w3.org/2001/XMLSchema"},{N:"str",val:"map"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map"}]}]}]},{N:"co",id:"37",binds:"",C:[{N:"globalVariable",name:"Q{}html-ascii-case-insensitive.collation",as:"1AU",line:"28",module:"sorting.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"atomic",val:"http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive",type:"AU"}]}]},{N:"co", -id:"167",binds:"168 111 40",C:[{N:"template",name:"Q{}compileXSLTschema",flags:"os",line:"361",module:"XSLT-syntax.xsl",slots:"0",C:[{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"362",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",line:"363",C:[{N:"att",name:"version",flags:"l",C:[{N:"str",val:"3.0"}]},{N:"namespace",line:"364", -flags:"l",C:[{N:"str",role:"name",val:"f"},{N:"str",role:"select",val:"MyFunctions"}]},{N:"comment",line:"365",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1960031800",bSlot:"0"}]},{N:"elem",line:"366",name:"xsl:variable",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",line:"367",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"xslt.schema"}]},{N:"att",line:"368",name:"select",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"ufCall",name:"Q{MyFunctions}serialize", -tailCall:"false",bSlot:"1",C:[{N:"gVarRef",name:"Q{}xslt.schema",bSlot:"2"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]},{N:"co",id:"128",binds:"",C:[{N:"globalVariable",name:"Q{}type-error-map",as:"1FM k[AS] v[1AS]",line:"249",module:"xpath.xsl",visibility:"PRIVATE",C:[{N:"map",size:"4",C:[{N:"str",val:"withParam"},{N:"str",val:"XTTE0590"},{N:"str",val:"globalParam"},{N:"str",val:"XTTE0590"},{N:"str",val:"template"},{N:"str",val:"XTTE0505"},{N:"str",val:"globalVariable"},{N:"str",val:"XTTE0570"}]}]}]},{N:"co", -id:"169",vis:"PRIVATE",binds:"",C:[{N:"function",name:"Q{MyFunctions}pvt-emit-literal",line:"23",module:"XSLT-value-template.xsl",flags:"pU",as:"1NA",slots:"1",C:[{N:"arg",name:"Q{}in",as:"1AS"},{N:"att",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation f=MyFunctions xs=~ xsl=~ xml=~",line:"26",name:"literal",C:[{N:"varRef",name:"Q{}in",slot:"0"}]}]}]},{N:"co",id:"170",binds:"120 22 22 90 171 106 164 172 172 172 22 22 22 22 159 173 22 22 25 22 22 111 111 22 174 174 174 174 174 174 174 174 174 174 174 174 174 174 174 34 22 75 90 175 170 34 34 22", -C:[{N:"mode",name:"Q{}process-module",onNo:"FF",flags:"F",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"1.5",seq:"3",rank:"2",minImp:"0",slots:"74",matches:"NE",flags:"s",line:"129",module:"static.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"ND"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}, -{N:"p.nodeTest",test:"ND"}]}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"p.nodeTest",test:"ND"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM", -diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"137",name:"Q{}moduleLabel",slot:"1",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"data",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"supplied",slot:"1"}]}]}]}]}]}, -{N:"param",line:"145",name:"Q{}precLabel",slot:"2",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|precLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|precLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"data",diag:"8|0|XTTE0590|precLabel",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"146",name:"Q{}static-vars",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat", -role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"147",name:"Q{}static-isParam",slot:"4",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied",slot:"4"}]}]}]},{N:"param",line:"148",name:"Q{}var-slots",slot:"5",flags:"t",as:"1FM",C:[{N:"map", -role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"149",name:"Q{}next-slot",slot:"6",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot", -C:[{N:"supplied",slot:"6"}]}]}]}]}]},{N:"param",line:"150",name:"Q{}imported",slot:"7",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|imported",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"data",diag:"8|0|XTTE0590|imported",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"param",line:"151",name:"Q{}top-level",slot:"8",flags:"t",as:"1AB",C:[{N:"true",role:"select"},{N:"treat",role:"conversion", -as:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|top-level",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"data",diag:"8|0|XTTE0590|top-level",C:[{N:"supplied",slot:"8"}]}]}]}]}]},{N:"param",line:"152",name:"Q{}params",slot:"9",flags:"t",as:"1FM k[AQ]",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM k[AQ]",diag:"8|0|XTTE0590|params",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|params",C:[{N:"supplied",slot:"9"}]}]}]},{N:"param",line:"153", -name:"Q{}stylesheet-stack",slot:"10",flags:"t",as:"*AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"supplied",slot:"10"}]}]}]}]},{N:"param",line:"154",name:"Q{}stylesheet-base-uri",slot:"11",flags:"t",as:"1AU",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|stylesheet-base-uri", -C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"11"}]}]}]}]}]},{N:"param",line:"155",name:"Q{}parent-version",slot:"12",flags:"t",as:"?AD",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AD", -diag:"8|0|XTTE0590|parent-version",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|parent-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|parent-version",C:[{N:"data",diag:"8|0|XTTE0590|parent-version",C:[{N:"supplied",slot:"12"}]}]}]}]}]},{N:"let",line:"159","var":"Q{}version",as:"1AD",slot:"20",C:[{N:"callT",line:"160",name:"Q{}XSLT-version",bSlot:"0"},{N:"let",line:"162","var":"Q{}xpath-default-namespace",as:"?NA",slot:"21",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}, -{N:"let",line:"163","var":"Q{}stylesheet-properties",as:"*NA",slot:"22",C:[{N:"sequence",line:"164",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"choose",line:"165",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"att",line:"166",name:"expand-text",C:[{N:"str",val:"no"}]}]},{N:"choose",line:"168",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}parent-version", -slot:"12"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"20"},{N:"varRef",name:"Q{}parent-version",slot:"12"}]}]},{N:"axis",line:"169",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",line:"175",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"ufCall",line:"187",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"1",C:[{N:"str",val:"XTSE0120"},{N:"convert",line:"178",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|message",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|message",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"valueOf",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"valueOf",line:"179",C:[{N:"str",val:" cannot have non-whitespace text node children. "}]}, -{N:"choose",line:"181",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]},{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str",val:"' just after "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"23",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]}]},{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}loc"}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"true"},{N:"convert",line:"408",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a", -as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"23"}]}]}]}]}]}]}]}]},{N:"fn",line:"182",name:"exists",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]},{N:"valueOf",line:"182",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str", -val:"' just before "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"24",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]}]}, -{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}loc"}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"true"}, -{N:"convert",line:"408",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"24"}]}]}]}]}]}]}]}]},{N:"true"},{N:"valueOf",line:"183",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", -diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str",val:"'"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"forEach",line:"190",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"ufCall",line:"191",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",C:[{N:"str",val:"XTSE0130"}, -{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"name",C:[{N:"dot",type:"1N u[NE,ND]"}]}]}]},{N:"str",val:" cannot have a no-namespace child element:"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"dot",type:"1NE"}]}]},{N:"choose",line:"194",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}]}]}, -{N:"ufCall",line:"195",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"3",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"A stylesheet module may not contain more than one xsl:global-context-item element"}]}]},{N:"let",line:"203","var":"Q{}not-discarded",as:"1AB",slot:"25",C:[{N:"choose",line:"204",C:[{N:"fn",line:"205",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}]},{N:"callT",line:"206",name:"Q{}check-use-when",bSlot:"4"},{N:"true"},{N:"true"}]},{N:"let",line:"214", -"var":"Q{}result",as:"1FM",slot:"26",flags:"e",C:[{N:"treat",line:"220",as:"FM",diag:"3|0|XTTE0570|result",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|result",C:[{N:"iterate",C:[{N:"choose",role:"select",C:[{N:"varRef",name:"Q{}not-discarded",slot:"25"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"params",role:"params",line:"221",C:[{N:"param",name:"Q{}components",slot:"13",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|components", -C:[{N:"supplied",slot:"13"}]}]},{N:"param",line:"222",name:"Q{}inner-static-vars",slot:"14",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-vars",slot:"3"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"supplied",slot:"14"}]}]}]},{N:"param",line:"223",name:"Q{}static-isParam",slot:"15",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-isParam",slot:"4"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied",slot:"15"}]}]}]},{N:"param",line:"225",name:"Q{}vars-in-import",slot:"16",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"supplied",slot:"16"}]}]}]},{N:"param",line:"226",name:"Q{}isParam-in-import",slot:"17",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|isParam-in-import", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|isParam-in-import",C:[{N:"supplied",slot:"17"}]}]}]},{N:"param",line:"227",name:"Q{}var-slots",slot:"18",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}var-slots",slot:"5"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"18"}]}]}]},{N:"param",line:"228",name:"Q{}next-slot",slot:"19",as:"1ADI",C:[{N:"varRef",role:"select",name:"Q{}next-slot",slot:"6"},{N:"treat", -role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"supplied",slot:"19"}]}]}]}]}]}]},{N:"ifCall",role:"on-completion",line:"256",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"components"},{N:"varRef", -name:"Q{}components",slot:"13"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-vars"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-isParam"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots", -slot:"18"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"next-slot"},{N:"varRef",name:"Q{}next-slot",slot:"19"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",role:"action",line:"263","var":"Q{}possible.component",as:"?NE",slot:"27",C:[{N:"treat",line:"264",as:"NE",diag:"3|0|XTTE0570|possible.component",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|possible.component", -C:[{N:"applyT",mode:"Q{}static",bSlot:"5",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"withParam",name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"265",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"266",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot",flags:"t",as:"1ADI",C:[{N:"varRef",line:"267",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam", -flags:"t",as:"1FM",C:[{N:"varRef",line:"268",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA",C:[{N:"varRef",line:"269",name:"Q{}xpath-default-namespace",slot:"21"}]},{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"270",name:"Q{}version",slot:"20"}]},{N:"withParam",name:"Q{}stylesheet-properties",flags:"t",as:"*NA",C:[{N:"varRef",line:"271",name:"Q{}stylesheet-properties",slot:"22"}]},{N:"withParam",name:"Q{}has-uniform-static-context", -flags:"t",as:"1AB",C:[{N:"ufCall",line:"272",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]}]},{N:"let",line:"277","var":"Q{}isStaticVariable",as:"1AB",slot:"28",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"7",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"let",line:"278","var":"Q{}isStaticParam",as:"1AB",slot:"29",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"8",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"choose", -line:"280",C:[{N:"or",line:"279",op:"or",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isStaticVariable",slot:"28"}]},{N:"let",line:"287","var":"Q{}name",as:"?AQ",slot:"30",C:[{N:"choose",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:":"}]},{N:"fn",name:"resolve-QName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:resolve-QName", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:resolve-QName",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"true"},{N:"fn",name:"QName",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|1||fn:QName",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:QName",C:[{N:"attVal",name:"Q{}name"}]}]}]}]}]},{N:"let",line:"288","var":"Q{}value",slot:"31",C:[{N:"forEach",line:"291",C:[{N:"varRef",name:"Q{}possible.component", -slot:"27"},{N:"let",line:"292","var":"Q{}isRequired",slot:"32",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"9",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"},{N:"false"}]},{N:"let",line:"293","var":"Q{}isSupplied",as:"1AB",slot:"33",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}params",slot:"9"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose", -line:"296",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"choose",line:"311",C:[{N:"fn",line:"298",name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"10",C:[{N:"choose",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"str",val:"XTSE0620"},{N:"true"},{N:"str",val:"XTSE0010"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must not have a sequence constructor"}]},{N:"dot",type:"1NE"}]}]},{N:"and",line:"313",op:"and",C:[{N:"varRef",name:"Q{}isRequired",slot:"32"}, -{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"ufCall",line:"316",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Required static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE"}]}, -{N:"and",line:"318",op:"and",C:[{N:"varRef",name:"Q{}isStaticVariable",slot:"28"},{N:"gc",op:"!=",card:"N:1",comp:"CCC",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"},{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}visibility"}]}]}]},{N:"str",val:"private"}]}]},{N:"ufCall",line:"322",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must have private visibility"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"325",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied", -slot:"33"}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"attVal",name:"Q{}as"}]}]},{N:"str",val:"(\\*|\\?)\\s*?"},{N:"str",val:""}]}]}]},{N:"ufCall",line:"329",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTDE0700"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat", -C:[{N:"str",val:"No value for implicitly mandatory static parameter "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"331",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isSupplied",slot:"33"}]},{N:"let",line:"332","var":"Q{}supplied",slot:"34",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}params",slot:"9"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef", -name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"334",C:[{N:"and",line:"335",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}supplied",slot:"34"}]}]},{N:"let",line:"337","var":"Q{}targetType",slot:"35",C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"337",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type", -C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"337",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"338","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"36",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:cast",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:cast",C:[{N:"cvUntyped",to:"AS", -diag:"0|1||f:cast",C:[{N:"data",diag:"0|1||f:cast",C:[{N:"varRef",name:"Q{}targetType",slot:"35"}]}]}]}]},{N:"forEach",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall",name:"Q{MyFunctions}cast",tailCall:"false",bSlot:"14",C:[{N:"atomSing",diag:"0|0||f:cast",C:[{N:"dot"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"36"}]}]}]}]},{N:"fn",line:"340",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"342","var":"Q{}targetType",slot:"37", -C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"342",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type",C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"342",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"344", -"var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"38",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:isInstance",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:isInstance",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:isInstance",C:[{N:"data",diag:"0|1||f:isInstance",C:[{N:"varRef",name:"Q{}targetType",slot:"37"}]}]}]}]},{N:"choose",line:"343",C:[{N:"every",line:"344","var":"Q{}item",slot:"39",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall",name:"Q{MyFunctions}isInstance", -tailCall:"false",bSlot:"15",C:[{N:"varRef",name:"Q{}item",slot:"39"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"38"}]}]},{N:"varRef",line:"345",name:"Q{}supplied",slot:"34"},{N:"true"},{N:"ufCall",line:"350",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Supplied value of static parameter "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" does not match the required type"}]}, -{N:"dot",type:"1NE"}]}]}]}]},{N:"true"},{N:"varRef",line:"355",name:"Q{}supplied",slot:"34"}]}]},{N:"and",line:"360",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isRequired",slot:"32"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied",slot:"33"}]}]},{N:"ufCall",line:"363",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"No value for required static parameter "}, -{N:"attVal",name:"Q{}name"}]},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"fn",line:"365",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"let",line:"369","var":"Q{}xpath",as:"1AS",slot:"40",flags:"e",C:[{N:"choose",line:"370",C:[{N:"fn",line:"371",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"372","var":"Q{}type",slot:"41",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"372",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type", -C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"372",type:"1NE"},{N:"str",val:""}]}]},{N:"choose",line:"373",C:[{N:"and",line:"375",op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", -C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str",val:"1"}]}]},{N:"convert",line:"375",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast", -flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]},{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:")"}]}]}]}]},{N:"and",line:"377",op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with", -C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str",val:"?"}]}]},{N:"convert",line:"377",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast", -flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:") cast as "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]}]}]}]}]},{N:"fn",line:"378",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data", -diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"convert",line:"378",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:") ! "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false", -bSlot:"18",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"378",name:"Q{}type",slot:"41"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"str",val:"(.)"}]}]}]}]},{N:"true"},{N:"convert",line:"379",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:") treat as "},{N:"fn",name:"string", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]}]}]}]}]}]}]},{N:"true"},{N:"convert",line:"382",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]}]}]}]}]},{N:"let",line:"385","var":"Q{}nsContext",as:"1NE c~untyped",slot:"42",flags:"e",C:[{N:"let",line:"386","var":"Q{}dot",as:"1",slot:"43",C:[{N:"dot", -type:"1NE"},{N:"compElem",line:"387",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"21"}]}]}]},{N:"forEach",role:"content",line:"388",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"390",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str", -val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"43"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"try",line:"398",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}xpath",slot:"40"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"varRef", -role:"nsCxt",name:"Q{}nsContext",slot:"42"},{N:"str",role:"sa",val:"no"},{N:"ifCall",role:"options",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"18"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"}, -{N:"str",val:"XQDY0137"}]}]},{N:"varRef",role:"wp",name:"Q{}inner-static-vars",slot:"14"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"400",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050X"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info", -type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"ufCall",line:"405",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",C:[{N:"str",val:"XTDE3160"},{N:"fn",line:"404",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info", -type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:"Static error in XPath expression supplied to xsl:evaluate:"},{N:"str",val:"Error in static expression:"},{N:"str",val:""}]},{N:"dot",type:"1NE"}]}]}]}]}]},{N:"fn",line:"416",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"empty"},{N:"true"},{N:"str",val:""}]}]}]}]},{N:"let",line:"426","var":"Q{}m",as:"1FM",slot:"44",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}vars-in-import", -slot:"16"},{N:"true"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"sequence",line:"427",C:[{N:"choose",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"428",C:[{N:"and",line:"429",op:"and",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"instance", -of:"1FA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"fn",name:"not",C:[{N:"instance",of:"1FM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"message",line:"430",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Warning: unable to check consistency of multiply-defined variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AQ",to:"AS",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"str",val:" with function(*) type\n "}]}]},{N:"str", -role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"fn",line:"433",name:"not",C:[{N:"fn",name:"deep-equal",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"varRef",name:"Q{}value",slot:"31"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}, -{N:"ufCall",line:"436",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"20",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting values for static variable "},{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"str",val:"\n"}]},{N:"check",line:"437",card:"?",diag:"0|1||fn:concat",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"21", -C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:"\nand:\n"}]},{N:"check",line:"439",card:"?",diag:"0|1||fn:concat",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"22",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]}]},{N:"str",val:"*#xA;"}]},{N:"check",line:"439",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef", -name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"choose",line:"448",C:[{N:"let","var":"Q{}m",slot:"45",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"true"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"and",op:"and",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}, -{N:"or",op:"or",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", -name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]}]},{N:"ufCall",line:"451",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"23",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting declarations for static param/variable "},{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component", -slot:"27"}]}]}]},{N:"let",line:"462","var":"Q{}this-slot",as:"1A",slot:"46",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}next-slot",slot:"19"},{N:"choose",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"fn",name:"function-arity",C:[{N:"treat",as:"F",diag:"0|0||fn:function-arity",C:[{N:"check",card:"1",diag:"0|0||fn:function-arity",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"true"},{N:"int",val:"0"}]}]},{N:"let",line:"466","var":"Q{}grounded-value",as:"1AB", -slot:"47",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1A",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"nextIteration",line:"565",C:[{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",line:"567",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}inner-static-vars",slot:"14"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef", -name:"Q{}value",slot:"31"}]}]},{N:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"568",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}static-isParam",slot:"15"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}isStaticParam",slot:"29"}]}]},{N:"withParam",name:"Q{}vars-in-import",as:"1FM",slot:"16",C:[{N:"choose",line:"574",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}vars-in-import",slot:"16"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}vars-in-import",slot:"16"}]}]},{N:"withParam",name:"Q{}isParam-in-import",as:"1FM",slot:"17",C:[{N:"choose",line:"580",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", -type:"1FM",C:[{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"}]}]},{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"587",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"choose",C:[{N:"varRef",name:"Q{}grounded-value",slot:"47"},{N:"choose",line:"469",C:[{N:"varRef",name:"Q{}grounded-value", -slot:"47"},{N:"let",line:"540","var":"Q{http://saxon.sf.net/generated-variable}v21",as:"1AB",slot:"48",flags:"l",C:[{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"537","var":"Q{http://saxon.sf.net/generated-variable}v20",as:"1AB",slot:"49",flags:"l",C:[{N:"instance",of:"1AN",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"534","var":"Q{http://saxon.sf.net/generated-variable}v19",as:"1AB",slot:"50",flags:"l",C:[{N:"instance",of:"1AQ",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"531","var":"Q{http://saxon.sf.net/generated-variable}v18",as:"1AB",slot:"51",flags:"l",C:[{N:"instance",of:"1AX",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"528","var":"Q{http://saxon.sf.net/generated-variable}v17",as:"1AB",slot:"52",flags:"l",C:[{N:"instance",of:"1A2",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"525","var":"Q{http://saxon.sf.net/generated-variable}v16",as:"1AB",slot:"53",flags:"l",C:[{N:"instance",of:"1AK",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"522","var":"Q{http://saxon.sf.net/generated-variable}v15",as:"1AB",slot:"54",flags:"l",C:[{N:"instance",of:"1AI",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"519","var":"Q{http://saxon.sf.net/generated-variable}v14",as:"1AB",slot:"55",flags:"l",C:[{N:"instance",of:"1AJ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"516","var":"Q{http://saxon.sf.net/generated-variable}v13",as:"1AB",slot:"56",flags:"l",C:[{N:"instance",of:"1AG",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"513","var":"Q{http://saxon.sf.net/generated-variable}v12",as:"1AB",slot:"57",flags:"l",C:[{N:"instance",of:"1AH",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"510","var":"Q{http://saxon.sf.net/generated-variable}v11",as:"1AB",slot:"58",flags:"l",C:[{N:"instance",of:"1AT",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"507","var":"Q{http://saxon.sf.net/generated-variable}v10",as:"1AB",slot:"59",flags:"l",C:[{N:"instance",of:"1ARD",C:[{N:"varRef", -name:"Q{}value",slot:"31"}]},{N:"let",line:"504","var":"Q{http://saxon.sf.net/generated-variable}v9",as:"1AB",slot:"60",flags:"l",C:[{N:"instance",of:"1ARY",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"501","var":"Q{http://saxon.sf.net/generated-variable}v8",as:"1AB",slot:"61",flags:"l",C:[{N:"instance",of:"1AA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"498","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"1AB",slot:"62",flags:"l",C:[{N:"instance",of:"1AMP",C:[{N:"varRef", -name:"Q{}value",slot:"31"}]},{N:"let",line:"495","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"63",flags:"l",C:[{N:"instance",of:"1AM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"492","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"1AB",slot:"64",flags:"l",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AS",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AU",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"488","var":"Q{http://saxon.sf.net/generated-variable}v4", -as:"1AB",slot:"65",flags:"l",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AD",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AO",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"instance",of:"1AF",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"477","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"66",flags:"l",C:[{N:"instance",of:"1AB",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"474","var":"Q{http://saxon.sf.net/generated-variable}v2", -as:"1AB",slot:"67",flags:"l",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"check",line:"470",card:"?",diag:"3|0|XTTE0570|variable.component",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"copy",line:"471",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"472",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"474",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"67"},{N:"att",line:"475",name:"select", -flags:"l",C:[{N:"str",val:"()"}]},{N:"varRef",line:"477",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"66"},{N:"att",line:"484",name:"select",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}value",slot:"31"},{N:"str",val:"true()"},{N:"true"},{N:"str",val:"false()"}]}]},{N:"varRef",line:"488",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"65"},{N:"att",line:"489",name:"select",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj", -C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"varRef",line:"492",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"64"},{N:"att",line:"493",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data", -diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]},{N:"varRef",line:"495",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"63"},{N:"att",line:"496",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}, -{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"24",C:[{N:"str",val:"dateTime"}]}]}]}]}]},{N:"varRef",line:"498",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"62"},{N:"att",line:"499",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "}, -{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"25",C:[{N:"str",val:"dateTimeStamp"}]}]}]}]}]},{N:"varRef",line:"501",name:"Q{http://saxon.sf.net/generated-variable}v8",slot:"61"},{N:"att",line:"502",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall", -name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"26",C:[{N:"str",val:"date"}]}]}]}]}]},{N:"varRef",line:"504",name:"Q{http://saxon.sf.net/generated-variable}v9",slot:"60"},{N:"att",line:"505",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq", -tailCall:"false",bSlot:"27",C:[{N:"str",val:"yearMonthDuration"}]}]}]}]}]},{N:"varRef",line:"507",name:"Q{http://saxon.sf.net/generated-variable}v10",slot:"59"},{N:"att",line:"508",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false", -bSlot:"28",C:[{N:"str",val:"dayTimeDuration"}]}]}]}]}]},{N:"varRef",line:"510",name:"Q{http://saxon.sf.net/generated-variable}v11",slot:"58"},{N:"att",line:"511",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"29", -C:[{N:"str",val:"time"}]}]}]}]}]},{N:"varRef",line:"513",name:"Q{http://saxon.sf.net/generated-variable}v12",slot:"57"},{N:"att",line:"514",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"30",C:[{N:"str",val:"gYearMonth"}]}]}]}]}]}, -{N:"varRef",line:"516",name:"Q{http://saxon.sf.net/generated-variable}v13",slot:"56"},{N:"att",line:"517",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"31",C:[{N:"str",val:"gYear"}]}]}]}]}]},{N:"varRef",line:"519", -name:"Q{http://saxon.sf.net/generated-variable}v14",slot:"55"},{N:"att",line:"520",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"32",C:[{N:"str",val:"gMonthDay"}]}]}]}]}]},{N:"varRef",line:"522",name:"Q{http://saxon.sf.net/generated-variable}v15", -slot:"54"},{N:"att",line:"523",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"33",C:[{N:"str",val:"gMonth"}]}]}]}]}]},{N:"varRef",line:"525",name:"Q{http://saxon.sf.net/generated-variable}v16",slot:"53"},{N:"att", -line:"526",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"34",C:[{N:"str",val:"gDay"}]}]}]}]}]},{N:"varRef",line:"528",name:"Q{http://saxon.sf.net/generated-variable}v17",slot:"52"},{N:"att",line:"529",name:"select", -flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"35",C:[{N:"str",val:"base64Binary"}]}]}]}]}]},{N:"varRef",line:"531",name:"Q{http://saxon.sf.net/generated-variable}v18",slot:"51"},{N:"att",line:"532",name:"select",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"36",C:[{N:"str",val:"hexBinary"}]}]}]}]}]},{N:"varRef",line:"534",name:"Q{http://saxon.sf.net/generated-variable}v19",slot:"50"},{N:"att",line:"535",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS", -C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"37",C:[{N:"str",val:"QName"}]}]}]}]}]},{N:"varRef",line:"537",name:"Q{http://saxon.sf.net/generated-variable}v20",slot:"49"},{N:"att",line:"538",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a", -as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"38",C:[{N:"str",val:"NOTATION"}]}]}]}]}]},{N:"varRef",line:"540",name:"Q{http://saxon.sf.net/generated-variable}v21",slot:"48"},{N:"choose",line:"544",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as", -C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"castable",flags:"a",as:"1AO",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"castable",flags:"a",as:"1AF",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"att",line:"545",name:"select",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"att", -line:"549",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]}, -{N:"true"},{N:"sequence",line:"554",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Unexpected atomic type; treating as string: "},{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:" "}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"att",line:"555",name:"select",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}, -{N:"true"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]},{N:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18",C:[{N:"ifCall",line:"588",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}var-slots",slot:"18"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}this-slot",slot:"46"}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"arith",line:"589",op:"+",calc:"i+i",C:[{N:"varRef", -name:"Q{}this-slot",slot:"46"},{N:"int",val:"1"}]}]}]}]}]}]}]}]}]},{N:"fn",line:"592",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}import,NE nQ{http://www.w3.org/1999/XSL/Transform}include]"}]}]},{N:"let",line:"594","var":"Q{}imported",as:"1AB",slot:"68",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"}]}]},{N:"let",line:"595","var":"Q{}doc",as:"1ND",slot:"69",C:[{N:"check",line:"596",card:"1",diag:"3|0|XTTE0570|doc",C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]},{N:"treat",line:"598",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"39",C:[{N:"fn", -name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"str",val:" must have an @href attribute"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"choose",line:"600",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}, -{N:"treat",line:"602",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"40",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must be empty"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"let",line:"607","var":"Q{}bad-attributes",as:"*NA", -slot:"70",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"except",op:"except",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]},{N:"docOrder",intra:"1",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-validation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]},{N:"sequence",line:"608",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"70"}]}, -{N:"treat",line:"609",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}wrongAttribute",tailCall:"false",bSlot:"41",C:[{N:"check",card:"+",diag:"0|0||f:wrongAttribute",C:[{N:"first",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"70"}]}]}]}]}]},{N:"let",line:"611","var":"Q{}uri",as:"?AU",slot:"71",C:[{N:"fn",name:"resolve-uri",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:resolve-uri",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component", -slot:"27"},{N:"attVal",name:"Q{}href"}]}]}]},{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|1||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:resolve-uri",C:[{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"11"}]}]}]}]}]},{N:"sequence",line:"612",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"varRef",name:"Q{}uri", -slot:"71"}]},{N:"treat",line:"619",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"42",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"str",val:"XTSE0210"},{N:"true"},{N:"str",val:"XTSE0180"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Document "},{N:"varRef",name:"Q{}uri",slot:"71"}]},{N:"str",val:" is recursively including or importing itself"}]}]}]}]},{N:"choose",line:"621",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"treat",line:"622",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Import/Include static processing for"},{N:"varRef",name:"Q{}uri",slot:"71"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"callT",line:"625",name:"Q{}collect-doc",bSlot:"43",C:[{N:"withParam",name:"Q{}uri",flags:"c",as:"?AU",C:[{N:"varRef",line:"626", -name:"Q{}uri",slot:"71"}]}]}]}]}]}]}]}]},{N:"sequence",line:"630",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"sequence",line:"631",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$doc:"},{N:"fn",name:"serialize",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}, -{N:"message",line:"632",C:[{N:"sequence",role:"select",C:[{N:"str",val:"base-uri($doc):"},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"let",line:"635","var":"Q{}collected",as:"1FM",slot:"72",C:[{N:"let",line:"639","var":"Q{}suffix",as:"1AS",slot:"73", -C:[{N:"fn",name:"codepoints-to-string",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"int",val:"50000"},{N:"cvUntyped",line:"637",to:"ADI",diag:"3|0|XTTE0570|index",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"numSeqFmt",C:[{N:"nodeNum",role:"value",level:"single",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.venn",role:"count",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"}]}]}, -{N:"str",role:"startAt",val:"0"}]}]}]}]}]},{N:"treat",line:"640",as:"FM",diag:"3|0|XTTE0570|collected",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|collected",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"44",C:[{N:"slash",role:"select",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}imported",as:"1AB",C:[{N:"varRef",line:"643",name:"Q{}imported",slot:"68"}]},{N:"withParam",name:"Q{}top-level",flags:"t",as:"1AB",C:[{N:"false"}]},{N:"withParam", -name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"644",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"645",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot",flags:"t",as:"1ADI",C:[{N:"varRef",line:"646",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam",flags:"t",as:"1FM",C:[{N:"varRef",line:"647",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}stylesheet-stack",flags:"t", -as:"*AU",C:[{N:"sequence",line:"648",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"fn",name:"base-uri",C:[{N:"varRef",name:"Q{}doc",slot:"69"}]}]}]},{N:"withParam",name:"Q{}parent-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"649",name:"Q{}version",slot:"20"}]},{N:"withParam",name:"Q{}precLabel",flags:"t",as:"1AS",C:[{N:"choose",line:"655",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"73"}]}, -{N:"true"},{N:"varRef",name:"Q{}precLabel",slot:"2"}]}]},{N:"withParam",name:"Q{}moduleLabel",flags:"t",as:"1AS",C:[{N:"fn",line:"656",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"73"}]}]}]}]}]}]},{N:"sequence",line:"659",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"message",line:"660",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$collected:"},{N:"fn",name:"serialize",C:[{N:"varRef", -name:"Q{}collected",slot:"72"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"adaptive"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"nextIteration",line:"663",C:[{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"664",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"treat",as:"NE",diag:"8|0|XTTE0590|components",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str", -val:"components"}]}]}]}]},{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",line:"670",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"static-vars"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str", -val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"676",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"static-isParam"}]}]}]}, -{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18",C:[{N:"treat",line:"677",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"var-slots"}]}]}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"treat",line:"678",as:"ADI",diag:"8|0|XTTE0590|next-slot", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"next-slot"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"nextIteration",line:"684",C:[{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"685",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]}]}]}]}]}]}]}, -{N:"varRef",line:"691",name:"Q{}result",slot:"26"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.45",seq:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"113",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.nodeTest",test:"ND"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"114",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"45",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"str",val:" must not appear at the outermost level of a stylesheet module"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.4",seq:"2",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"117",module:"static.xsl",C:[{N:"p.venn", -role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"118",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"46",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" can only be a child of a document-node, not a '"}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"' element"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.4",seq:"0",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",as:"1FM", -line:"89",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE"},{N:"p.nodeTest",test:"ND"}]},{N:"check",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"91",card:"1",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}, -{N:"treat",line:"93",as:"FM",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"47",C:[{N:"str",val:"XTSE0150"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}package"}]},{N:"str",val:"Supplied stylesheet is a SEF package"},{N:"true"},{N:"str",val:"Simplified stylesheet root element lacks @xsl:version"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"treat",line:"108", -as:"FM",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"applyT",flags:"ct",bSlot:"-1",C:[{N:"slash",role:"select",line:"96",simple:"1",C:[{N:"doc",C:[{N:"elem",line:"97",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"att",line:"98",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace", -flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"100",name:"xsl:template",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"match",flags:"l",C:[{N:"str",val:"/"}]},{N:"copy",line:"101",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"102",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"axis",line:"108", -name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"co",id:"156",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_BOOLEAN",as:"1FM k[AS] v[1AS]",line:"28",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AB"}]}]}]},{N:"co",id:"154",binds:"154",C:[{N:"function",name:"Q{MyFunctions}nodeTestPriority",line:"61",module:"pattern.xsl",flags:"pU",as:"1AD",slots:"4",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"tailCallLoop", -role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"63",C:[{N:"let","var":"Q{}p",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|p",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|p",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|p",C:[{N:"data",diag:"3|0|XTTE0570|p",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]}]}]}]}]}, -{N:"let",line:"64","var":"Q{}n",as:"?AS",slot:"2",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|n",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|n",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|n",C:[{N:"data",diag:"3|0|XTTE0570|n",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"n"}]}]}]}]}]},{N:"let",line:"65","var":"Q{}c",as:"?AS",slot:"3",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|c",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|c",C:[{N:"cvUntyped", -to:"AS",diag:"3|0|XTTE0570|c",C:[{N:"data",diag:"3|0|XTTE0570|c",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"c"}]}]}]}]}]},{N:"choose",line:"67",C:[{N:"fn",line:"68",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"e"}]}]},{N:"ufCall",line:"70",name:"Q{MyFunctions}nodeTestPriority",tailCall:"self",bSlot:"0",C:[{N:"treat",as:"FM",diag:"0|0||f:nodeTestPriority",C:[{N:"check",card:"1",diag:"0|0||f:nodeTestPriority",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}type",slot:"0"},{N:"str",val:"e"}]}]}]}]},{N:"and",line:"72",op:"and",C:[{N:"compareToString",op:"eq",val:"N",C:[{N:"varRef",name:"Q{}p",slot:"1"}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"u"}]}]}]},{N:"dec",val:"-0.5"},{N:"and",line:"74",op:"and",C:[{N:"compareToString",op:"eq",val:"NE",C:[{N:"varRef",name:"Q{}p",slot:"1"}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"u"}]}]}]},{N:"dec",val:"0"}, -{N:"and",line:"75",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}n",slot:"2"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}c",slot:"3"}]}]},{N:"dec",val:"0.25"},{N:"fn",line:"76",name:"exists",C:[{N:"varRef",name:"Q{}c",slot:"3"}]},{N:"dec",val:"0"},{N:"fn",line:"77",name:"exists",C:[{N:"varRef",name:"Q{}n",slot:"2"}]},{N:"choose",line:"78",C:[{N:"or",line:"79",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"str",val:"*:"}]},{N:"fn",name:"ends-with",C:[{N:"varRef", -name:"Q{}n",slot:"2"},{N:"str",val:"}*"}]}]},{N:"dec",val:"-0.25"},{N:"vc",line:"80",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"str",val:"*"}]},{N:"dec",val:"-0.5"},{N:"true"},{N:"dec",val:"0"}]},{N:"true"},{N:"dec",val:"-0.5"}]}]}]}]}]}]}]},{N:"co",id:"176",binds:"",C:[{N:"function",name:"Q{coBindings}find-reference",line:"196",module:"component-bindings.xsl",flags:"pU",as:"*AS",slots:"2",C:[{N:"arg",name:"Q{}bindings",as:"*AS"},{N:"arg",name:"Q{}name",as:"1AS"},{N:"choose", -role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"205",C:[{N:"fn",name:"exists",C:[{N:"fn",name:"index-of",C:[{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"true"},{N:"sequence",C:[{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]}]}]}]},{N:"co",id:"177", -binds:"1",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",as:"1AS",line:"52",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"52",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"NP"}]}]}]}]},{N:"co",id:"178",binds:"",C:[{N:"function",name:"Q{MyFunctions}innermostExNs",line:"163",module:"namespaces.xsl", -flags:"pU",as:"?NA",slots:"1",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"co",id:"179",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_STRING",as:"1FM k[AS] v[1AS]",line:"25",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"AS"}]}]}]},{N:"co",id:"180",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg330224683", -as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str", -val:"0"},{N:"str",val:"XTTE3180"},{N:"str",val:"xsl:copy/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"181",binds:"",C:[{N:"function",name:"Q{MyFunctions}precedence-sort",line:"652",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*NE",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*NE"},{N:"sort",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"654", -C:[{N:"varRef",role:"select",name:"Q{}input",slot:"0"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]},{N:"co",id:"182",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SAME_TYPE", -as:"1AS",line:"162",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"EQ"}]}]},{N:"co",id:"183",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ONE_OR_MORE",as:"1ADI",line:"108",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"6"}]}]},{N:"co",id:"184",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ELEMENT",as:"1FM k[AS] v[1AS]",line:"34",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str", -val:"p"},{N:"str",val:"NE"}]}]}]},{N:"co",id:"185",binds:"",C:[{N:"function",name:"Q{MyFunctions}stackTrace",line:"503",module:"lib.xsl",flags:"pU",as:"*",slots:"0",C:[{N:"empty",role:"body"}]}]},{N:"co",id:"186",binds:"",C:[{N:"function",name:"Q{MyFunctions}plainAtt",line:"830",module:"normalize.xsl",flags:"pU",as:"*NA",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"832",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"co",id:"187",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_FLOAT",as:"1FM k[AS] v[1AS]",line:"18",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"AF"}]}]}]},{N:"co",id:"188",binds:"",C:[{N:"function", -name:"Q{MyFunctions}notify",line:"397",module:"lib.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"400",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"400",name:"Q{}code", -slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"}]}]}]},{N:"co",id:"35",binds:"34",C:[{N:"function",name:"Q{MyFunctions}missingChild",line:"819",module:"normalize.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}child",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"822",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"foreign",bSlot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"str",val:" requires a child element "}]},{N:"varRef",name:"Q{}child",slot:"1"}]},{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]},{N:"co",id:"189",binds:"",C:[{N:"function",name:"Q{MyFunctions}combinedRelationship",line:"296",module:"type.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}rel1",as:"1AS"},{N:"arg",name:"Q{}rel2",as:"1AS"},{N:"choose", -role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"314",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"str",val:"DJ"}]},{N:"str",val:"DJ"},{N:"compareToString", -op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel1",slot:"0"}]},{N:"varRef",name:"Q{}rel2",slot:"1"},{N:"compareToString",op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"true"},{N:"str",val:"OV"}]}]}]},{N:"co",id:"190",binds:"38 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147", -C:[{N:"mode",name:"Q{}sef.top",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"5.0",seq:"326",rank:"8",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6",seq:"364",rank:"7",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"359",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"355",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"344",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"340",rank:"3",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA", -C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data", -diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03",seq:"336",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t", -C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"332",rank:"1",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"376",part:"1",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"87",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"88",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"89",flags:"l", -C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"88"}]},{N:"let",line:"679","var":"Q{}location",as:"1NA",slot:"90",C:[{N:"att",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"91",C:[{N:"choose", -C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"},{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"92",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", -slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"93",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"94",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS", -slot:"95",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"96",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"97",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"ufCall",name:"Q{MyFunctions}boolean-string", -tailCall:"false",bSlot:"1",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"98",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"702",C:[{N:"choose",C:[{N:"lookup", -C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"711","var":"Q{}sorted-precedence-labels",as:"*AS",slot:"99",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels", -C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]},{N:"let",line:"716","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"100",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse", -C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"764","var":"Q{}named-template-signatures",as:"1FM",slot:"101",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str", -role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"102",C:[{N:"let","var":"Q{}highest-precedence", -slot:"103",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+",diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"varRef",name:"Q{}highest-precedence",slot:"103"}]}]}]}]},{N:"sequence", -line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"102"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at", -C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"104",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest",slot:"102"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"105",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}, -{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"104"}]}]}]},{N:"str",role:"terminate", -val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"105"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"map",size:"2",C:[{N:"str", -val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}params",slot:"105"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"}, -{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"3"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, -{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795",C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"106",C:[{N:"treat",as:"FM", -diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"4",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence",line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select",C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false", -bSlot:"5",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"106"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps",as:"*A",slot:"107",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}, -{N:"let",line:"808","var":"Q{}output-declarations",as:"+NE",slot:"108",flags:"e",C:[{N:"condSeq",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"}, -{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name",as:"*A",slot:"109",C:[{N:"currentGroupingKey"}, -{N:"elem",line:"811",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]},{N:"str",val:" "}]}]}]}, -{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"95"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]}, -{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"110",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}, -{N:"let",line:"826","var":"Q{}active",as:"+NA",slot:"111",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"110"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property", -bSlot:"6",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"111"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"111"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation", -val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"112",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property",bSlot:"7",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"112"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"112"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]},{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps", -slot:"113",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}in",as:"*A",slot:"114",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",C:[{N:"let","var":"Q{}input",as:"*NE",slot:"115",C:[{N:"filter",flags:"b", -C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]},{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"115"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder", -val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"114"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation", -val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"116",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"113"},{N:"choose",role:"return",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"107"},{N:"varRef",name:"Q{}c",slot:"116"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]}]},{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"116"}]}]}]}]}, -{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"113"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"864",C:[{N:"elem",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"property", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"872","var":"Q{}character-maps",as:"*NE",slot:"117",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"118",flags:"e",C:[{N:"treat", -as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation", -val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"873","var":"Q{}group-name",as:"*A",slot:"119",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"120",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}, -{N:"let",line:"877","var":"Q{}active",slot:"121",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"120"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active",slot:"121"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"8",C:[{N:"str",val:"XTSE1580"},{N:"fn", -name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]}]},{N:"str",val:" is defined more than once"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join", -C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]},{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"107"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"9",C:[{N:"str",val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1", -diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"},{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped", -to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"122",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"118"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE", -diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}character-map-dependency",slot:"122"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"10",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency", -slot:"122"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"118"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at", -C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"118"}]}]}]}]}]}]}]}]},{N:"let",line:"915","var":"Q{}expanded-character-maps",as:"*NE",slot:"123",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps", -bSlot:"12",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"117"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"117"}]}]}]},{N:"let",line:"921","var":"Q{}global-context-item",as:"?NE",slot:"124",C:[{N:"let","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",slot:"125",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?", -diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]},{N:"let","var":"Q{}h",slot:"126",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"127",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"127"},{N:"varRef",name:"Q{}h", -slot:"126"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item", -C:[{N:"applyT",mode:"Q{}sef",bSlot:"14",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]}]}]}]}]},{N:"let",line:"944","var":"Q{}static-context",as:"1FM k[AS]",slot:"128",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"96"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"91"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"90"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"106"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str", -val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"108"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",line:"953","var":"Q{}keys",as:"*NE",slot:"129",C:[{N:"sequence",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose", -role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956","var":"Q{}highest-precedence",as:"?AS",slot:"130",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"958","var":"Q{}highest",slot:"131",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, -{N:"varRef",name:"Q{}highest-precedence",slot:"130"}]}]},{N:"sequence",line:"959",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]}, -{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at", -C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"16",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail", -start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"978","var":"Q{}processed",as:"*NE",slot:"132",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"18",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam", -name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"982",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"98"}]}, -{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"132"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"133",C:[{N:"fn",name:"exists", -C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"995",C:[{N:"currentGroup"},{N:"copy",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"133"}, -{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"},{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options", -slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1011","var":"Q{}global.varPars",as:"*NE",slot:"134",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.varPars",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", -role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, -{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]}, -{N:"let",line:"1022","var":"Q{}global.params",as:"*NE",slot:"135",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"20",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"134"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"128"}]}, -{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A", -C:[{N:"varRef",line:"1029",name:"Q{}defined-attribute-sets",slot:"98"}]}]}]},{N:"let",line:"1033","var":"Q{}global.variables",as:"*NE",slot:"136",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"21",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"134"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t", -as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures", -slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"98"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let", -line:"1048","var":"Q{}global.functions",as:"*NE",slot:"137",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str", -role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat", -C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1054",algorithm:"by",C:[{N:"currentGroup",role:"select"},{N:"fn",role:"key",line:"1052",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"sequence",role:"content",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, -{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"22",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let", -line:"1059","var":"Q{}head",as:"1N",slot:"138",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"23",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"138"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility", -flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"94"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context", -tailCall:"false",bSlot:"24",C:[{N:"varRef",name:"Q{}head",slot:"138"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select",val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1082","var":"Q{}attribute-sets",as:"*NE",slot:"139",C:[{N:"let","var":"Q{}temp", -as:"*NE",slot:"140",flags:"e",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"elem",role:"content",line:"1086",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence", -C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"141",C:[{N:"dot", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1", -diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, -{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"25"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", -val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"26",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem",line:"1090",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091",comp:"DESC|CCC", -C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"applyT",line:"1092",mode:"Q{}sef",bSlot:"27",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}, -{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}has-uniform-static-context", -flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"28",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"142",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"140"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}, -{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"142"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"29",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot",type:"1A"}]}]},{N:"varRef", -name:"Q{}direct-dependency",slot:"142"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"140"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"30",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}, -{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"87"}]}]}]}]}]}]},{N:"let",line:"1135","var":"Q{}named.templates",as:"*NE", -slot:"143",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order", -val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc", -op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"31",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "}, -{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"144",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"32",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"144"},{N:"withParam",name:"Q{}static-context", -flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"93"}]},{N:"withParam",name:"Q{}variables", -flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1153",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1155",name:"Q{MyFunctions}has-uniform-static-context", -tailCall:"false",bSlot:"33",C:[{N:"varRef",name:"Q{}head",slot:"144"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1165","var":"Q{}accumulators",as:"*NE",slot:"145",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|accumulators", -C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder", -val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]}, -{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"34",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str", -val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"35",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"90"}]}, -{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"92"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures", -slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"36",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message", -line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1206","var":"Q{}templates",as:"*NE",slot:"146",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"147", -C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209", -"var":"Q{}mode",as:"1",slot:"148",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"147"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence",role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1215",C:[{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"148"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]}, -{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"148"}]}]},{N:"axis",line:"1223",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"149",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates",slot:"146"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", -diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"150",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes", -slot:"97"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal", -name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"37",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and", -C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"97"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"149"},{N:"varRef",name:"Q{}used-modes",slot:"150"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"38",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1274","var":"Q{}mode.decl",as:"*NE",slot:"151",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup", -algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter",line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute", -as:"A",slot:"152",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"153",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1", -comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute",slot:"152"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"154",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"153"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a",slot:"153"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn", -name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"155",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"153"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, -{N:"varRef",name:"Q{}max-prec",slot:"154"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"155"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"152"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values", -C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"156",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"155"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"157", -C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"156"},{N:"varRef",name:"Q{}t",slot:"157"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"}, -{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"152"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"str",val:","}]}]},{N:"str", -val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1312",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"}, -{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select", -C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"158",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data", -diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes",as:"*A",slot:"159",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"149"},{N:"varRef",name:"Q{}declared-modes",slot:"158"},{N:"varRef",name:"Q{}used-modes",slot:"150"},{N:"data",diag:"0|0||fn:distinct-values", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes",slot:"158"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"97"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error", -tailCall:"false",bSlot:"39",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"}]}]},{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1355","var":"Q{}processed-templates",as:"*NE",slot:"160",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"40",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"146"}, -{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"}, -{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]", -C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"100"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]",diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5", -as:"?ADI",slot:"161",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"100"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"162",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels", -slot:"99"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]}]},{N:"let",line:"737","var":"Q{}index",as:"1ADI",slot:"163",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"164",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"varRef",name:"Q{}index",slot:"163"}]},{N:"iterate", -line:"739",C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"163"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"162"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"164"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"161"}]},{N:"choose",role:"action",line:"745",C:[{N:"let", -"var":"Q{http://saxon.sf.net/generated-variable}current1506840194",as:"1",slot:"165",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194",slot:"165"}]},{N:"varRef",name:"Q{}start",slot:"164"}]}]}]},{N:"sequence",line:"749",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1", -diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"164"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"166",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"100"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"arith",op:"-",calc:"i-i", -C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309",slot:"166"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"41",C:[{N:"dot",type:"1NE", -flags:"a"}]}]}]}]},{N:"let",line:"1375","var":"Q{}modes",as:"*NE",slot:"167",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]}, -{N:"elem",line:"1377",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"let","var":"Q{}name",as:"?NA",slot:"168",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"att",line:"1385",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose", -line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"89"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"169",C:[{N:"choose", -C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"168"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"160"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"}, -{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"+A",slot:"170",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"168"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"160"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"170"}]}]}]}]},{N:"let",line:"1404","var":"Q{}temp",as:"1NE",slot:"171",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}sef",bSlot:"42",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version", -slot:"91"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1407",name:"Q{}precedence-map",slot:"100"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"145"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp",slot:"171"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416", -C:[{N:"varRef",name:"Q{}mode-templates",slot:"169"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef", -name:"Q{}modes",slot:"167"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"96"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec", -val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att",name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", -val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l",C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"43"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select",val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}, -{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]},{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix",bSlot:"44",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"124"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"143"},{N:"varRef",name:"Q{}global.functions",slot:"137"},{N:"varRef",name:"Q{}global.params",slot:"135"},{N:"varRef",name:"Q{}global.variables",slot:"136"},{N:"varRef",name:"Q{}attribute-sets", -slot:"139"},{N:"varRef",name:"Q{}modes",slot:"167"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis",line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}, -{N:"varRef",line:"1454",name:"Q{}keys",slot:"129"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"108"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps",slot:"123"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"145"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"45"},{N:"callT",line:"1457",name:"Q{}strip-space",bSlot:"46",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"100"}]}, -{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"376",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"sequence",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t", -as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"2",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"3",C:[{N:"fn",name:"exists",C:[{N:"axis", -name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"4",flags:"l",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"3"}]},{N:"let",line:"678","var":"Q{}location",as:"1NA",slot:"5",C:[{N:"att",line:"679",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize", -C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"6",C:[{N:"choose",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"}, -{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"7",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"8",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"9", -flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"10",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"11",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"}, -{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"12",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"47",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"13",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2", -C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"702",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"710", -"var":"Q{}sorted-precedence-labels",as:"*AS",slot:"14",C:[{N:"convert",line:"711",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]}, -{N:"let",line:"714","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"15",C:[{N:"ifCall",line:"716",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str", -val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"762","var":"Q{}named-template-signatures",as:"1FM",slot:"16",C:[{N:"ifCall",line:"764",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, -{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"17",C:[{N:"let","var":"Q{}highest-precedence",slot:"18",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+", -diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"varRef",name:"Q{}highest-precedence",slot:"18"}]}]}]}]},{N:"sequence",line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"17"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"48", -C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"19",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest", -slot:"17"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"20",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest", -slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"19"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str", -val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash", -simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}, -{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"49"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795", -C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"21",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"50",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence", -line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select",C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"51",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps", -as:"*A",slot:"22",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"806","var":"Q{}output-declarations",as:"+NE",slot:"23",flags:"e",C:[{N:"condSeq",line:"808",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name",as:"*A",slot:"24",C:[{N:"currentGroupingKey"},{N:"elem",line:"810",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"811",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:" "}]}]}]},{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att", -name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"10"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]}, -{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"25",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"826","var":"Q{}active",as:"+NA", -slot:"26",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"25"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property",bSlot:"52",C:[{N:"first",role:"select",C:[{N:"varRef", -name:"Q{}active",slot:"26"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"26"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"27",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property",bSlot:"53",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"27"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"27"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]}, -{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps",slot:"28",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}in",as:"*A",slot:"29",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",C:[{N:"let","var":"Q{}input",as:"*NE",slot:"30",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}, -{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"30"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS", -flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"29"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"31",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"28"},{N:"choose",role:"return",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"22"},{N:"varRef",name:"Q{}c",slot:"31"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors", -loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]}]},{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"31"}]}]}]}]},{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att", -name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"28"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"862",C:[{N:"elem",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"864",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value", -flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"870","var":"Q{}character-maps",as:"*NE",slot:"32",C:[{N:"let",line:"871","var":"Q{}temp",as:"*NE",slot:"33",flags:"e",C:[{N:"treat",line:"872",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content", -line:"873","var":"Q{}group-name",as:"*A",slot:"34",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"35",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"877","var":"Q{}active",slot:"36",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, -{N:"varRef",name:"Q{}highest-precedence",slot:"35"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active",slot:"36"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"54",C:[{N:"str",val:"XTSE1580"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]}]},{N:"str",val:" is defined more than once"}]}, -{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn", -name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]},{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"22"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"55",C:[{N:"str", -val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"}, -{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]}, -{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"37",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"33"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", -diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE",diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef", -name:"Q{}character-map-dependency",slot:"37"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"56",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency",slot:"37"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef", -name:"Q{}temp",slot:"33"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"57",C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}, -{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"33"}]}]}]}]}]}]}]}]},{N:"let",line:"914","var":"Q{}expanded-character-maps",as:"*NE",slot:"38",C:[{N:"treat",line:"915",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps",bSlot:"58",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"32"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"32"}]}]}]}, -{N:"let",line:"920","var":"Q{}global-context-item",as:"?NE",slot:"39",C:[{N:"let",line:"921","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",slot:"40",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?",diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions", -slot:"40"}]}]},{N:"let","var":"Q{}h",slot:"41",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"42",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"42"},{N:"varRef",name:"Q{}h",slot:"41"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item", -C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"59",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"applyT",mode:"Q{}sef",bSlot:"60",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]}]},{N:"let",line:"944", -"var":"Q{}static-context",as:"1FM k[AS]",slot:"43",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"11"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"6"}]},{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"23"}]}]},{N:"map",size:"2", -C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",line:"952","var":"Q{}keys",as:"*NE",slot:"44",C:[{N:"sequence",line:"953",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, -{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose",role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956", -"var":"Q{}highest-precedence",as:"?AS",slot:"45",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"958","var":"Q{}highest",slot:"46",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"45"}]}]},{N:"sequence",line:"959", -C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]},{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"61",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"}, -{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"62",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"63",C:[{N:"str", -val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest", -slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"977","var":"Q{}processed",as:"*NE",slot:"47",C:[{N:"treat",line:"978",as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"64",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam",name:"Q{}static-context",flags:"t", -as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"982",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}default-collation", -flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"47"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"48",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"}, -{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"994",C:[{N:"currentGroup"},{N:"copy",line:"995",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"48"},{N:"fn",name:"not",C:[{N:"fn",name:"contains", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"},{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message", -line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1009","var":"Q{}global.varPars",as:"*NE",slot:"49",C:[{N:"treat",line:"1011",as:"NE",diag:"3|0|XTTE0570|global.varPars",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", -role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, -{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"65",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]}, -{N:"let",line:"1021","var":"Q{}global.params",as:"*NE",slot:"50",C:[{N:"treat",line:"1022",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"66",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"43"}]}, -{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef", -line:"1029",name:"Q{}defined-attribute-sets",slot:"13"}]}]}]},{N:"let",line:"1032","var":"Q{}global.variables",as:"*NE",slot:"51",C:[{N:"treat",line:"1033",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"67",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t", -as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures",slot:"16"}]}, -{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"13"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1047", -"var":"Q{}global.functions",as:"*NE",slot:"52",C:[{N:"treat",line:"1048",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str", -role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat", -C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1052",algorithm:"by",C:[{N:"currentGroup",role:"select"},{N:"fn",role:"key",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"sequence",role:"content",line:"1054",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, -{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"68",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let", -line:"1059","var":"Q{}head",as:"1N",slot:"53",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"69",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"53"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility", -flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"9"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context", -tailCall:"false",bSlot:"70",C:[{N:"varRef",name:"Q{}head",slot:"53"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select",val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1080","var":"Q{}attribute-sets",as:"*NE",slot:"54",C:[{N:"let",line:"1081","var":"Q{}temp", -as:"*NE",slot:"55",flags:"e",C:[{N:"forEachGroup",line:"1082",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"elem",role:"content",line:"1083",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"1086",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context", -as:"1NE",slot:"56",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, -{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"namespace", -nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"71"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, -{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"72",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem",line:"1089",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",line:"1090",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091", -comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"applyT",line:"1092",mode:"Q{}sef",bSlot:"73",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam", -name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"74",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"57",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"55"},{N:"axis", -name:"child",nodeTest:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"}, -{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"75",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot", -type:"1A"}]}]},{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"55"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"76",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"}, -{N:"dec",val:"2"}]},{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"2"}]}]}]}]}]}]},{N:"let",line:"1134","var":"Q{}named.templates", -as:"*NE",slot:"58",C:[{N:"treat",line:"1135",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, -{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]}, -{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"77",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str", -val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"59",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"78",C:[{N:"varRef",role:"select",name:"Q{}head", -slot:"59"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2", -slot:"8"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1153",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall", -line:"1155",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"79",C:[{N:"varRef",name:"Q{}head",slot:"59"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1164","var":"Q{}accumulators", -as:"*NE",slot:"60",C:[{N:"treat",line:"1165",as:"NE",diag:"3|0|XTTE0570|accumulators",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, -{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]}, -{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"80",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str", -val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"81",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location", -flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"7"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures", -flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"82",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1205","var":"Q{}templates",as:"*NE",slot:"61",C:[{N:"forEach",line:"1206",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"62",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]}, -{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209","var":"Q{}mode",as:"1",slot:"63",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"62"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence",role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1213",C:[{N:"and",line:"1215",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"63"}]}, -{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"63"}]}]},{N:"axis",line:"1223",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"64",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates", -slot:"61"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"65",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values", -C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"}, -{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"12"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"}, -{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"83",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]}, -{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes", -slot:"12"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}used-modes",slot:"65"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"84",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1271","var":"Q{}mode.decl", -as:"*NE",slot:"66",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter",line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute",as:"A",slot:"67",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"68",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"}, -{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute",slot:"67"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"69",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"68"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a", -slot:"68"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"70",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"68"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, -{N:"varRef",name:"Q{}max-prec",slot:"69"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"70"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"67"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values", -C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"71",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"70"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"72", -C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"71"},{N:"varRef",name:"Q{}t",slot:"72"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"}, -{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"67"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"str",val:","}]}]},{N:"str", -val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1311",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",line:"1312",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"}, -{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select", -C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"73",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data", -diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes",as:"*A",slot:"74",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"varRef",name:"Q{}used-modes",slot:"65"},{N:"data",diag:"0|0||fn:distinct-values", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"12"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error", -tailCall:"false",bSlot:"85",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]}]},{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1354","var":"Q{}processed-templates",as:"*NE",slot:"75",C:[{N:"treat",line:"1355",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"86",C:[{N:"varRef",role:"select",name:"Q{}templates", -slot:"61"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", -slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]", -C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]",diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5", -as:"?ADI",slot:"76",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"77",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels", -slot:"14"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]},{N:"let",line:"737","var":"Q{}index",as:"1ADI",slot:"78",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"79",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{}index",slot:"78"}]},{N:"iterate",line:"739", -C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"78"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"77"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"79"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"76"}]},{N:"choose",role:"action",line:"745",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1506840194", -as:"1",slot:"80",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194",slot:"80"}]},{N:"varRef",name:"Q{}start",slot:"79"}]}]}]},{N:"sequence",line:"749",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"79"}]}, -{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"81",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309", -slot:"81"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"87",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"let",line:"1374","var":"Q{}modes",as:"*NE",slot:"82",C:[{N:"forEach", -line:"1375",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"elem",line:"1376",name:"co",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"let",line:"1377","var":"Q{}name",as:"?NA",slot:"83",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"att",line:"1385",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose",line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6", -slot:"4"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"84",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"filter",flags:"b",C:[{N:"varRef", -name:"Q{}processed-templates",slot:"75"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7", -as:"+A",slot:"85",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"75"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef", -name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"85"}]}]}]}]},{N:"let",line:"1403","var":"Q{}temp",as:"1NE",slot:"86",C:[{N:"treat",line:"1404",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}sef",bSlot:"88",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef", -line:"1407",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"60"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp",slot:"86"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416",C:[{N:"varRef",name:"Q{}mode-templates",slot:"84"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence", -role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error", -val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"11"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str", -val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att",name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l", -C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"89"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select",val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]}, -{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix",bSlot:"90",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}, -{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"39"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"58"},{N:"varRef",name:"Q{}global.functions",slot:"52"},{N:"varRef",name:"Q{}global.params",slot:"50"},{N:"varRef",name:"Q{}global.variables",slot:"51"},{N:"varRef",name:"Q{}attribute-sets",slot:"54"},{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id", -flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis",line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"varRef",line:"1454",name:"Q{}keys",slot:"44"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"23"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps", -slot:"38"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"60"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"91"},{N:"callT",line:"1457",name:"Q{}strip-space",bSlot:"92",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"376",part:"2",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"172",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"173",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"174",flags:"l", -C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"173"}]},{N:"let",line:"679","var":"Q{}location",as:"1NA",slot:"175",C:[{N:"att",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"176",C:[{N:"choose", -C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"},{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"177",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", -slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"178",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"179",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"1AS",slot:"180",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"181",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"182",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"ufCall", -name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"93",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"183",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence", -line:"702",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"711","var":"Q{}sorted-precedence-labels",as:"*AS",slot:"184",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped", -to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]},{N:"let",line:"716","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"185",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"764","var":"Q{}named-template-signatures", -as:"1FM",slot:"186",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC", -C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest", -as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"187",C:[{N:"let","var":"Q{}highest-precedence",slot:"188",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+",diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}, -{N:"varRef",name:"Q{}highest-precedence",slot:"188"}]}]}]}]},{N:"sequence",line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"187"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"94",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]}, -{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"189",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest",slot:"187"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"190",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest", -slot:"189"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "}, -{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"189"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"190"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef", -name:"Q{}params",slot:"190"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"95"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str", -val:"XQDY0137"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795",C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, -{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"191",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"96",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence",line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select", -C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"97",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"191"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps",as:"*A",slot:"192",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"808","var":"Q{}output-declarations",as:"+NE",slot:"193",flags:"e",C:[{N:"condSeq",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str", -role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name", -as:"*A",slot:"194",C:[{N:"currentGroupingKey"},{N:"elem",line:"811",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"194"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef", -name:"Q{}group-name",slot:"194"}]},{N:"str",val:" "}]}]}]},{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"180"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"}, -{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"195",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder", -intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"826","var":"Q{}active",as:"+NA",slot:"196",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent", -nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"195"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property",bSlot:"98",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"196"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"196"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0", -C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"197",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property", -bSlot:"99",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"197"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"197"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]},{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]}, -{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps",slot:"198",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}in",as:"*A",slot:"199",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -C:[{N:"let","var":"Q{}input",as:"*NE",slot:"200",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]},{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"200"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order", -val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select", -name:"Q{}in",slot:"199"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"201",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"198"},{N:"choose",role:"return", -C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"192"},{N:"varRef",name:"Q{}c",slot:"201"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"194"}]}]}, -{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"201"}]}]}]}]},{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"198"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"864",C:[{N:"elem", -name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"872","var":"Q{}character-maps", -as:"*NE",slot:"202",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"203",flags:"e",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""}, -{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"873","var":"Q{}group-name",as:"*A",slot:"204",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"205",C:[{N:"fn",name:"min",C:[{N:"forEach", -C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"877","var":"Q{}active",slot:"206",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"205"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active", -slot:"206"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"100",C:[{N:"str",val:"XTSE1580"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"204"}]}]},{N:"str",val:" is defined more than once"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"204"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}, -{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"192"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"101",C:[{N:"str",val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef", -name:"Q{}group-name",slot:"204"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"},{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first", -C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"207",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"203"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str", -val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE",diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}character-map-dependency",slot:"207"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"102",C:[{N:"convert",from:"A",to:"AS", -flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency",slot:"207"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"203"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"103", -C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"203"}]}]}]}]}]}]}]}]},{N:"let",line:"915", -"var":"Q{}expanded-character-maps",as:"*NE",slot:"208",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps",bSlot:"104",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"202"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"202"}]}]}]},{N:"let",line:"921","var":"Q{}global-context-item",as:"?NE",slot:"209",C:[{N:"let","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item", -slot:"210",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?",diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]},{N:"let","var":"Q{}h",slot:"211",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"212",C:[{N:"tail", -start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"212"},{N:"varRef",name:"Q{}h",slot:"211"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"105",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check", -card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"applyT",mode:"Q{}sef",bSlot:"106",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]}]}]}]}]},{N:"let",line:"944","var":"Q{}static-context",as:"1FM k[AS]",slot:"213",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"181"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"176"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"175"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM", -C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"191"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"193"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"let",line:"953","var":"Q{}keys",as:"*NE",slot:"214",C:[{N:"sequence",C:[{N:"treat",as:"NE", -diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, -{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose",role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956","var":"Q{}highest-precedence",as:"?AS",slot:"215",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let", -line:"958","var":"Q{}highest",slot:"216",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"215"}]}]},{N:"sequence",line:"959",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest", -slot:"216"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]},{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"107",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]}, -{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"ufCall", -name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"108",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"109",C:[{N:"str",val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]}, -{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"978","var":"Q{}processed",as:"*NE",slot:"217",C:[{N:"treat", -as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"110",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef", -line:"982",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"217"},{N:"attVal",role:"key",name:"Q{}name"}, -{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"218",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"995",C:[{N:"currentGroup"},{N:"copy",flags:"cin", -sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"218"},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"}, -{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1011","var":"Q{}global.varPars",as:"*NE",slot:"219",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.varPars", -C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"}, -{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]}, -{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"111",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name", -C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]},{N:"let",line:"1022","var":"Q{}global.params",as:"*NE",slot:"220",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"112",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars", -slot:"219"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", -slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1029",name:"Q{}defined-attribute-sets",slot:"183"}]}]}]},{N:"let",line:"1033","var":"Q{}global.variables",as:"*NE",slot:"221",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"113", -C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"219"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t", -as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"183"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"}, -{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1048","var":"Q{}global.functions",as:"*NE",slot:"222",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", -role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat",C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1054",algorithm:"by",C:[{N:"currentGroup",role:"select"}, -{N:"fn",role:"key",line:"1052",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, -{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"114",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]}, -{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1059","var":"Q{}head",as:"1N",slot:"223",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"115",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"223"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061", -name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"179"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets", -flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"116",C:[{N:"varRef",name:"Q{}head",slot:"223"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select", -val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1082","var":"Q{}attribute-sets",as:"*NE",slot:"224",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"225",flags:"e",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"elem",role:"content",line:"1086",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"226",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47", -C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}, -{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"117"},{N:"fn",name:"name", -C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"118",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem", -line:"1090",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, -{N:"applyT",line:"1092",mode:"Q{}sef",bSlot:"119",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}named-template-signatures", -flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"120",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"227",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"225"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}, -{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"227"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"121",C:[{N:"convert", -from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}direct-dependency",slot:"227"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"225"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"122",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str", -val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"172"}]}]}]}]}]}]},{N:"let",line:"1135","var":"Q{}named.templates",as:"*NE",slot:"228",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", -role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"123",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"229",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first", -C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"124",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"229"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"176"}]}, -{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"178"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef", -line:"1153",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1155",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"125",C:[{N:"varRef",name:"Q{}head",slot:"229"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"}, -{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1165","var":"Q{}accumulators",as:"*NE",slot:"230",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|accumulators",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"126",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"127",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam", -name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"177"}]}, -{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184", -name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"128",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1206","var":"Q{}templates",as:"*NE",slot:"231", -C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"232",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209","var":"Q{}mode",as:"1",slot:"233",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"232"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence", -role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1215",C:[{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"233"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"233"}]}]},{N:"axis",line:"1223",name:"child", -nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"234",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates",slot:"231"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"235",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data", -diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"182"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter", -flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"129",C:[{N:"str", -val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter", -flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"182"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"234"},{N:"varRef",name:"Q{}used-modes",slot:"235"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"130",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1274","var":"Q{}mode.decl",as:"*NE",slot:"236",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter", -line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]}, -{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute",as:"A",slot:"237",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis", -name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"238",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute", -slot:"237"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"239",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"238"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a",slot:"238"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"240",C:[{N:"fn", -name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"238"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}max-prec",slot:"239"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"240"}]}]}, -{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"237"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int", -val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"241",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"240"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"242",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}, -{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"241"},{N:"varRef",name:"Q{}t",slot:"242"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", -C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"237"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"str",val:","}]}]},{N:"str",val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1312",name:"xsl:mode", -nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}, -{N:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate", -val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"243",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data",diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes", -as:"*A",slot:"244",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"234"},{N:"varRef",name:"Q{}declared-modes",slot:"243"},{N:"varRef",name:"Q{}used-modes",slot:"235"},{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes", -slot:"243"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"182"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"131",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"}]}]}, -{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1355","var":"Q{}processed-templates",as:"*NE",slot:"245",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"132",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"231"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357", -name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t", -as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]", -diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"?ADI",slot:"246",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"185"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function", -C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"247",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]}]},{N:"let",line:"737", -"var":"Q{}index",as:"1ADI",slot:"248",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"249",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"varRef",name:"Q{}index",slot:"248"}]},{N:"iterate",line:"739",C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"248"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"247"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"249"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"246"}]},{N:"choose",role:"action",line:"745",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1506840194",as:"1",slot:"250",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194", -slot:"250"}]},{N:"varRef",name:"Q{}start",slot:"249"}]}]}]},{N:"sequence",line:"749",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"0|0||map:entry",C:[{N:"varRef",name:"Q{}start",slot:"249"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"251",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"185"}, -{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309",slot:"251"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]}, -{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"133",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"let",line:"1375","var":"Q{}modes",as:"*NE",slot:"252",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform", -C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"elem",line:"1377",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"let","var":"Q{}name",as:"?NA",slot:"253",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"att",line:"1385", -name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose",line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"174"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0", -comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"254",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"253"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"245"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn", -name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"+A",slot:"255",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"253"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates", -slot:"245"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"255"}]}]}]}]},{N:"let",line:"1404","var":"Q{}temp",as:"1NE",slot:"256",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp", -C:[{N:"applyT",mode:"Q{}sef",bSlot:"134",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1407",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"230"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp", -slot:"256"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416",C:[{N:"varRef",name:"Q{}mode-templates",slot:"254"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup", -C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"252"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose", -C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"181"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att", -name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l",C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"135"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select", -val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]},{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix", -bSlot:"136",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"209"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"228"},{N:"varRef",name:"Q{}global.functions", -slot:"222"},{N:"varRef",name:"Q{}global.params",slot:"220"},{N:"varRef",name:"Q{}global.variables",slot:"221"},{N:"varRef",name:"Q{}attribute-sets",slot:"224"},{N:"varRef",name:"Q{}modes",slot:"252"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis", -line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"varRef",line:"1454",name:"Q{}keys",slot:"214"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"193"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps",slot:"208"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"230"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"137"},{N:"callT",line:"1457",name:"Q{}strip-space", -bSlot:"138",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"197",binds:"1 94",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_NAMESPACE",as:"1AS",line:"54",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall", -ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"54",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_NAMESPACE",bSlot:"1"}]}]}]},{N:"co",id:"198",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}RPAREN",as:"1ADI",line:"16",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"41"}]}]},{N:"co",id:"199",binds:"",C:[{N:"mode",name:"Q{}on-empty",onNo:"SC",flags:"W",patternSlots:"0", -C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"177",rank:"0",minImp:"0",slots:"3",matches:"NE",flags:"s",line:"184",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"184",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"axis", -name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"185",C:[{N:"param",name:"Q{}element.attributes",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|element.attributes",C:[{N:"cvUntyped", -to:"AS",diag:"8|0|XTTE0590|element.attributes",C:[{N:"data",diag:"8|0|XTTE0590|element.attributes",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"copy",line:"186",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"187",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"188","var":"Q{}attributes",as:"*NE",slot:"1",C:[{N:"union",op:"|",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}att"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef", -name:"Q{}element.attributes",slot:"0"},{N:"attVal",name:"Q{}name"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"}]},{N:"let",line:"189","var":"Q{}onEmpty",as:"*NE nQ{http://ns.saxonica.com/xslt/export}onEmpty",slot:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"elem",line:"190",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"191",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef", -role:"select",name:"Q{}attributes",slot:"1"}]},{N:"elem",line:"192",name:"condSeq",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"194",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"union",op:"|",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attributes",slot:"1"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}onEmpty",slot:"2"}]}]}]}]},{N:"applyT",line:"196",flags:"c",bSlot:"-1",C:[{N:"varRef", -role:"select",name:"Q{}onEmpty",slot:"2"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"176",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"s",line:"181",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"182",type:"1NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"a"}]}]}]},{N:"co",id:"200",binds:"107",C:[{N:"function",name:"Q{MyFunctions}isKnownCollation",line:"18",module:"sorting.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}uri",as:"1AS"},{N:"or",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",op:"or",C:[{N:"gc",op:"=",card:"N:1", -comp:"CCC",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg728602192",bSlot:"0"},{N:"varRef",name:"Q{}uri",slot:"0"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}uri",slot:"0"},{N:"str",val:"http://www.w3.org/2013/collation/UCA"}]}]}]}]},{N:"co",id:"201",binds:"",C:[{N:"function",name:"Q{MyTypes}isNode",line:"453",module:"type.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"455","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS", -diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"N"}]}]}]}]}]},{N:"co",id:"168",binds:"",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1960031800",as:"1AS",line:"365",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"365", -name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"sequence",C:[{N:"str",val:"DO NOT EDIT: compiled with initial template compileXSLTschema "},{N:"fn",name:"current-dateTime"}]}]},{N:"str",val:" "}]}]}]},{N:"co",id:"202",binds:"",C:[{N:"function",name:"Q{MyFunctions}increasing-precedence-sort",line:"660",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*NE",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*NE"},{N:"sort",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"0"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]},{N:"co",id:"203",binds:"",C:[{N:"globalVariable",name:"Q{}XSL-ignore", -as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}ignore c~untyped",line:"131",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"132",name:"xsl:ignore",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"empty"}]}]}]},{N:"co",id:"204",binds:"22",C:[{N:"function",name:"Q{MyFunctions}wrongChild",line:"785",module:"normalize.xsl", -flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"+N"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"787",C:[{N:"first",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"ufCall",line:"800",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"choose",line:"793",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis", -name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"str",val:"XTSE0130"},{N:"true"},{N:"str",val:"XTSE0010"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]},{N:"str",val:" cannot contain "}]},{N:"choose",C:[{N:"instance",of:"1NE",C:[{N:"dot",type:"1N"}]}, -{N:"fn",name:"concat",C:[{N:"str",val:"element "},{N:"fn",name:"name",C:[{N:"dot",type:"1N"}]}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:"non-whitespace text:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1N"}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"205",binds:"",C:[{N:"function",name:"Q{MyFunctions}has-uniform-namespaces",line:"131",module:"namespaces.xsl",flags:"pU",as:"1AB",slots:"1", -C:[{N:"arg",name:"Q{}element",as:"1N"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"133",name:"Q{http://saxon.sf.net/}has-uniform-namespaces",type:"1AB",C:[{N:"treat",as:"NE",diag:"0|0||saxon:has-uniform-namespaces",C:[{N:"varRef",name:"Q{}element",slot:"0"}]}]}]}]},{N:"co",id:"206",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}card-symbols",as:"1FM k[ADI] v[1]", -line:"121",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"5",C:[{N:"int",val:"1"},{N:"str",val:"0"},{N:"int",val:"2"},{N:"str",val:"1"},{N:"int",val:"3"},{N:"str",val:"?"},{N:"int",val:"6"},{N:"str",val:"+"},{N:"int",val:"7"},{N:"str",val:"*"}]}]}]},{N:"co",id:"207",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}card-values",as:"1FM k[AS] v[1ADI]",line:"120",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"5",C:[{N:"str",val:"*"},{N:"int",val:"7"},{N:"str",val:"+"}, -{N:"int",val:"6"},{N:"str",val:"0"},{N:"int",val:"1"},{N:"str",val:"1"},{N:"int",val:"2"},{N:"str",val:"?"},{N:"int",val:"3"}]}]}]},{N:"co",id:"208",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}APOS",as:"1ADI",line:"20",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"39"}]}]},{N:"co",id:"171",binds:"",C:[{N:"template",name:"Q{}check-use-when",flags:"os",as:"1AB",line:"1097",module:"static.xsl",slots:"7",C:[{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1098",card:"1",diag:"7|0|XTTE0505|check-use-when",C:[{N:"sequence",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1099",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1100","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose",line:"1101",C:[{N:"fn",line:"1102",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]},{N:"check",line:"1103",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p", -diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]}]}]}]}]},{N:"true"},{N:"check",line:"1106",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression", -C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}use-when"}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1111","var":"Q{}dot",as:"1",slot:"4",C:[{N:"dot",flags:"a"},{N:"let",line:"1115","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE",slot:"5",flags:"l",C:[{N:"treat",as:"NE",diag:"0|1||fn:namespace-uri-for-prefix", -C:[{N:"varRef",name:"Q{}dot",slot:"4"}]},{N:"compElem",line:"1112",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1113",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"treat",as:"NE",diag:"0|0||fn:in-scope-prefixes",C:[{N:"dot",flags:"a"}]}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt", -line:"1115",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"5"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]}]},{N:"treat",line:"1123",as:"AB",diag:"7|0|XTTE0505|check-use-when",C:[{N:"cvUntyped",to:"AB",diag:"7|0|XTTE0505|check-use-when",C:[{N:"data", -diag:"7|0|XTTE0505|check-use-when",C:[{N:"try",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri",C:[{N:"dot",flags:"a"}]}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]}, -{N:"withParam",name:"Q{}compileSyntax",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}errorsAsMessages",as:"1AB",C:[{N:"false"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1131",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Y"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error", -C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"let",line:"1136","var":"Q{}possibleCode",as:"1AS",slot:"6",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before", -C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]},{N:"choose",line:"1143",C:[{N:"castable",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"substring-after",C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A", -to:"AS",flags:"p",diag:"0|0||fn:substring-after",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"fn",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info", -type:"*",C:[{N:"str",val:"code"}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"209",binds:"22",C:[{N:"function",name:"Q{MyFunctions}missingAttribute",line:"824",module:"normalize.xsl",flags:"pU",as:"*", -slots:"2",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}attribute",as:"1AS"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"827",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", -C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" requires an @"}]},{N:"varRef",name:"Q{}attribute",slot:"1"}]},{N:"str",val:" attribute"}]},{N:"dot",type:"1NE"}]}]}]}]},{N:"co",id:"210",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}MANY",as:"1ADI",line:"103",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"4"}]}]},{N:"co",id:"211",binds:"206 1",C:[{N:"function",name:"Q{MyTypes}cardCheck",line:"964",module:"type.xsl",flags:"pU",as:"1NE",slots:"4",C:[{N:"arg",name:"Q{}expression", -as:"1NE"},{N:"arg",name:"Q{}reqCard",as:"1ADI"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"970",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A", -to:"AS",C:[{N:"data",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{MyTypes}card-symbols",bSlot:"0"},{N:"varRef",name:"Q{}reqCard",slot:"1"}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"slash",line:"971",simple:"1",C:[{N:"varRef", -name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"971",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"146",binds:"146 146 146 146",C:[{N:"function",name:"Q{MyFunctions}pattern-matches-node-kind",line:"88",module:"pattern.xsl",flags:"pU",as:"1AB",slots:"4",C:[{N:"arg",name:"Q{}pattern",as:"?NE"},{N:"arg",name:"Q{}node-kind",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"91",C:[{N:"choose",C:[{N:"fn",line:"92",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]},{N:"or",line:"93",op:"or",C:[{N:"compareToString",op:"eq",val:"N",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"attVal",name:"Q{}test"}]}]}]}]}]}, -{N:"fn",name:"starts-with",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"attVal",name:"Q{}test"}]}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"95",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"}]}]}]}, -{N:"choose",line:"97",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"union"}]}]}]},{N:"some",line:"98","var":"Q{}operand",slot:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"false",bSlot:"0",C:[{N:"varRef", -name:"Q{}operand",slot:"2"},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"100",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"intersect"}]}]}]},{N:"every",line:"101","var":"Q{}operand",slot:"3",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind", -tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}operand",slot:"3"},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"103",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"except"}]}]}]},{N:"ufCall",line:"104",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"self",bSlot:"2",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"}, -{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]},{N:"true"},{N:"error",line:"96",message:"Conditional expression: None of the conditions is satisfied, so an empty sequence is returned, but this is not allowed as the result of a call to f:pattern-matches-node-kind#2",code:"XTTE0780",isTypeErr:"0"}]},{N:"fn",line:"108",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"axis", -name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper"}]}]}]}]},{N:"ufCall",line:"109",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"self",bSlot:"3",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]},{N:"true"},{N:"true"}]}]}]}]},{N:"co",id:"212",binds:"1 60",C:[{N:"globalVariable", -name:"Q{}SJ.OPTIONAL_DOCUMENT",as:"1AS",line:"47",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.OPTIONAL_DOCUMENT",bSlot:"1"}]}]}]},{N:"co",id:"213",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ATOMIC",as:"1FM k[AS] v[1AS]",line:"14",module:"sequenceType.xsl",visibility:"PRIVATE", -C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"214",binds:"1",C:[{N:"function",name:"Q{MyTypes}cardCheck",line:"954",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"958",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"},{N:"str",val:"o"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"}]}]},{N:"att",name:"diag", -flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"959",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"959",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"215",binds:"",C:[{N:"function",name:"Q{MyFunctions}message-count",line:"26",module:"lib.xsl",flags:"pU",as:"1ADI",slots:"1",C:[{N:"arg",name:"Q{}code",as:"?AQ"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"28",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"varRef",name:"Q{}code",slot:"0"}]}]}]},{N:"co",id:"216",binds:"216",C:[{N:"template",name:"Q{}expandCharMapRef",flags:"os",line:"170",module:"output.xsl",slots:"3",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"171",C:[{N:"param",name:"Q{}charMapRef",slot:"0",flags:"i",as:"1AS", -C:[{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|charMapRef",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|charMapRef",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|charMapRef",C:[{N:"data",diag:"8|0|XTTE0590|charMapRef",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"172",name:"Q{}charMaps",slot:"1",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|charMaps",C:[{N:"supplied",slot:"1"}]}]},{N:"let",line:"174","var":"Q{}usedCharMap", -as:"*NE",slot:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}charMaps",slot:"1"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{}charMapRef",slot:"0"}]}]},{N:"choose",line:"175",C:[{N:"fn",line:"176",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"177",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}]}]}]}]}]},{N:"callT",line:"178",name:"Q{}expandCharMapRef", -bSlot:"0",C:[{N:"withParam",name:"Q{}charMapRef",flags:"c",as:"1AS",C:[{N:"fn",line:"179",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"withParam",name:"Q{}charMaps",flags:"c",as:"*NE",C:[{N:"varRef",line:"180",name:"Q{}charMaps",slot:"1"}]}]}]},{N:"conditionalSort",line:"183",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"child", -nodeTest:"NE n*:m"}]}]}]}]},{N:"true"},{N:"conditionalSort",line:"186",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"child",nodeTest:"NE n*:m"}]}]}]}]}]}]}]}]},{N:"co",id:"217",binds:"",C:[{N:"function",name:"Q{MyTypes}type-error",line:"1174",module:"type.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg", -name:"Q{}requiredType",as:"1FM"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1179",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Wrong type "},{N:"fn",line:"325",name:"serialize",C:[{N:"varRef",line:"1179",name:"Q{}suppliedType",slot:"0"},{N:"map", -size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]},{N:"str",val:" for ??? - expecting "}]},{N:"fn",line:"325",name:"serialize",C:[{N:"varRef",line:"1179",name:"Q{}requiredType",slot:"1"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]}]}]}]},{N:"co",id:"218",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_NCNAME",as:"1FM k[AS] v[1AS]",line:"29",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"}, -{N:"str",val:"ASNTNC"}]}]}]},{N:"co",id:"175",binds:"22",C:[{N:"template",name:"Q{}collect-doc",flags:"os",as:"1ND",line:"961",module:"static.xsl",slots:"2",C:[{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"962",card:"1",diag:"7|0|XTTE0505|collect-doc",C:[{N:"sequence",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", -as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"963",name:"Q{}uri",slot:"1",C:[{N:"fn",role:"select",name:"resolve-uri",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:resolve-uri",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}href"}]}]}]},{N:"check",card:"1",diag:"0|1||fn:resolve-uri",C:[{N:"convert", -from:"AU",to:"AS",flags:"p",diag:"0|1||fn:resolve-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:resolve-uri",C:[{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"supplied",role:"conversion",slot:"1"}]},{N:"choose",line:"964",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"sequence",line:"965",C:[{N:"treat",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str", -val:"href:"},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"treat",line:"966",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"BASE-URI:"},{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri", -C:[{N:"dot",flags:"a"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"treat",line:"967",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"resolved-URI:"},{N:"varRef",name:"Q{}uri",slot:"1"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]}]},{N:"treat",line:"970",as:"ND",diag:"7|0|XTTE0505|collect-doc", -C:[{N:"try",flags:"r",C:[{N:"fn",name:"doc",C:[{N:"check",card:"?",diag:"0|0||fn:doc",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:doc",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:doc",C:[{N:"data",diag:"0|0||fn:doc",C:[{N:"varRef",name:"Q{}uri",slot:"1"}]}]}]}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"972",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0165"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", -C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" of "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}uri",slot:"1"}]}]},{N:"str",val:" failed:"}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N", -diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]},{N:"doc",line:"973",C:[{N:"elem",line:"975",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"att",line:"976",name:"version",flags:"l",C:[{N:"str",val:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"219",binds:"219",C:[{N:"function",name:"Q{MyTypes}itemTypeRelationship",line:"234",module:"type.xsl",flags:"pU",as:"1AS",slots:"10",C:[{N:"arg",name:"Q{}required",as:"1FM"}, -{N:"arg",name:"Q{}supplied",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"245",C:[{N:"let","var":"Q{}primaryRel",slot:"2",C:[{N:"let","var":"Q{}R",as:"1AS",slot:"3",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data", -diag:"0|0||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"4",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"p"}]}]}]}]}]},{N:"choose",line:"185", -C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"3"},{N:"varRef",name:"Q{}S",slot:"4"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"3"},{N:"varRef",name:"Q{}S",slot:"4"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"4"},{N:"varRef",name:"Q{}R",slot:"3"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]},{N:"choose",line:"247",C:[{N:"or",line:"248",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString", -op:"ne",val:"EQ",C:[{N:"varRef",name:"Q{}primaryRel",slot:"2"}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]},{N:"str",val:""}]}]},{N:"varRef",line:"249",name:"Q{}primaryRel",slot:"2"},{N:"true"},{N:"let",line:"252","var":"Q{}R",slot:"5",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"n"}]},{N:"let",line:"253","var":"Q{}S",slot:"6",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"n"}]},{N:"let",line:"266","var":"Q{}nameRel",as:"1AS",slot:"7", -C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}R",slot:"5"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}S",slot:"6"}]}]},{N:"str",val:"LT"},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}S",slot:"6"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}R",slot:"5"}]}]},{N:"str",val:"GT"},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}R",slot:"5"},{N:"varRef",name:"Q{}S",slot:"6"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"map",size:"0"}]},{N:"str",val:"EQ"},{N:"true"},{N:"str",val:"DJ"}]},{N:"choose",line:"267",C:[{N:"compareToString",line:"268",op:"ne",val:"EQ",C:[{N:"varRef",name:"Q{}nameRel",slot:"7"}]},{N:"varRef",line:"269",name:"Q{}nameRel",slot:"7"},{N:"true"},{N:"let",line:"272","var":"Q{}R",slot:"8",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"e"}]},{N:"let",line:"273","var":"Q{}S",slot:"9",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"e"}]},{N:"choose", -line:"285",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}R",slot:"8"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]},{N:"str",val:"LT"},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}S",slot:"9"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}R",slot:"8"}]}]},{N:"str",val:"GT"},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}R",slot:"8"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]},{N:"str",val:"EQ"},{N:"true"}, -{N:"ufCall",name:"Q{MyTypes}itemTypeRelationship",tailCall:"self",bSlot:"0",C:[{N:"treat",as:"FM",diag:"0|0||t:itemTypeRelationship",C:[{N:"check",card:"1",diag:"0|0||t:itemTypeRelationship",C:[{N:"varRef",name:"Q{}R",slot:"8"}]}]},{N:"treat",as:"FM",diag:"0|1||t:itemTypeRelationship",C:[{N:"check",card:"1",diag:"0|1||t:itemTypeRelationship",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"220",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SUBSUMES",as:"1AS", -line:"163",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"GT"}]}]},{N:"co",id:"221",binds:"",C:[{N:"mode",name:"Q{}process-bindings",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.0",seq:"319",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"s",line:"297",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"300",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",C:[{N:"sequence",role:"content",line:"301",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"308",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"choose",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}flags"}]}]}]},{N:"str", -val:"c"},{N:"str",val:""}]},{N:"int",val:"-1"},{N:"true"},{N:"let",line:"299","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"M:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"308",type:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn", -name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]}]},{N:"applyT",line:"316",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"316",rank:"0",minImp:"0",slots:"4",matches:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"s",line:"254",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"256",C:[{N:"param",name:"Q{}global-shadows",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|global-shadows",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|global-shadows",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"257","var":"Q{}name",as:"1AS",slot:"1", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"V:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"copy",line:"258",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",C:[{N:"sequence",role:"content",line:"259",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"261",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}name",as:"1AS",slot:"2",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"check",line:"212",card:"?", -diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"261",type:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"2"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"let",line:"264","var":"Q{}shadow",slot:"3",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}global-shadows", -slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"sequence",line:"265",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}shadow",slot:"3"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}shadow",slot:"3"}]}]}]}]},{N:"att",line:"266",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}shadow",slot:"3"}]}]}]},{N:"str",val:" "}]}]}]},{N:"applyT",line:"270",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"313",rank:"1", -minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co",flags:"s",line:"85",module:"component-bindings.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"85",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]}, -{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"86","var":"Q{}patterns",as:"*NE",slot:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"}]},{N:"axis", -name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]},{N:"nextMatch",line:"87",flags:"t",C:[{N:"withParam",name:"Q{}patternSlots",flags:"t",as:"1ADI",C:[{N:"arith",line:"92",op:"+",calc:"i+i",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"cast",flags:"a",as:"1ADI",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}patterns",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"self", -nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent"}]}]}]}]},{N:"fn",name:"max",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}patterns",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}varRef"}]},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]},{N:"int",val:"-1"}]}]}]},{N:"int",val:"1"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"315",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co", -flags:"s",line:"119",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1", -diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots", -C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS", -C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"130",C:[{N:"and",line:"132",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis", -name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy",line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute", -nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"315",part:"1",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator",flags:"s",line:"119",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120", -C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI", -C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str", -val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"132",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]}, -{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy",line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child", -nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"}, -{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"314",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mode",flags:"s",line:"96",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mode"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"97",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"99",name:"Q{}patternSlots",slot:"1",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots", -C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"choose",line:"100",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"sequence",line:"101",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing mode "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str", -role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"message",line:"102",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"PatternSlots: "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}patternSlots",slot:"1"}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"copy",line:"104",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mode",C:[{N:"sequence", -role:"content",line:"105",C:[{N:"copyOf",flags:"c",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"106",name:"patternSlots",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}patternSlots",slot:"1"}]}]},{N:"applyT",line:"107",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"322",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"s",line:"346", -module:"component-bindings.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration"}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"347",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam", -C:[{N:"sequence",role:"content",line:"348",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"349",name:"slot",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current-541312609",as:"1",slot:"0",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AS",slot:"1",flags:"l",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash", -C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current-541312609",slot:"0"},{N:"attVal",name:"Q{}name"}]}]},{N:"data",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}]}, -{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}param"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"1"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"350",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"321", -rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}callT",flags:"s",line:"333",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}callT"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"336",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}callT", -C:[{N:"sequence",role:"content",line:"337",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"339",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",line:"335","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"T:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"339",type:"1NE nQ{http://ns.saxonica.com/xslt/export}callT", -flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"342",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"317",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall",flags:"s",line:"273",module:"component-bindings.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"276",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}ufCall",C:[{N:"sequence",role:"content",line:"277",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"279",name:"bSlot",flags:"l",C:[{N:"convert", -from:"ADI",to:"AS",C:[{N:"let",line:"275","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"279",type:"1NE nQ{http://ns.saxonica.com/xslt/export}ufCall", -flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"282",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"318",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef",flags:"s",line:"285",module:"component-bindings.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"288",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}ufRef",C:[{N:"sequence",role:"content",line:"289",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"291",name:"bSlot",flags:"l",C:[{N:"convert", -from:"ADI",to:"AS",C:[{N:"let",line:"287","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}arity"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"291",type:"1NE nQ{http://ns.saxonica.com/xslt/export}ufRef", -flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"294",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"312",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}package",flags:"s",line:"32",module:"component-bindings.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}package"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"33",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]}, -{N:"let",line:"35","var":"Q{}globals",slot:"1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"ifCall",line:"58",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:symbolic-name#1",C:[{N:"forEach",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|actor",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"choose", -line:"61",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalParam,NE nQ{http://ns.saxonica.com/xslt/export}globalVariable]"}]},{N:"fn",line:"62",name:"concat",C:[{N:"str",val:"V:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"64",name:"exists",C:[{N:"axis", -name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}attributeSet"}]},{N:"fn",line:"65",name:"concat",C:[{N:"str",val:"A:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"67",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}template"},{N:"fn", -name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"fn",line:"68",name:"concat",C:[{N:"str",val:"T:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"70",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]},{N:"fn",line:"71",name:"concat",C:[{N:"str", -val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"fn",line:"73",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"}]},{N:"fn",line:"74",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]}, -{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"true"},{N:"str",val:"???"}]}]}]},{N:"fn",line:"35",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"sequence",line:"36",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", -val:"traceProgress"}]},{N:"message",line:"37",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Globals:"},{N:"fn",name:"count",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}globals",slot:"1"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"copy",line:"39",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}package",C:[{N:"sequence",role:"content",line:"40", -C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"41",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}globals",flags:"t",C:[{N:"varRef",line:"42",name:"Q{}globals",slot:"1"}]},{N:"withParam",name:"Q{}global-shadows",flags:"t",as:"1FM",C:[{N:"ifCall",line:"51",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}, -{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.0",seq:"320",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}useAS",flags:"s",line:"320",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"323",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}useAS", -C:[{N:"sequence",role:"content",line:"324",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"326",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",line:"322","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"A:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"326",type:"1NE nQ{http://ns.saxonica.com/xslt/export}useAS", -flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"329",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"315",part:"2",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}key",flags:"s",line:"119",module:"component-bindings.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]}, -{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots", -C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]}, -{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"132",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy", -line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join", -C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"co",id:"164",binds:"",C:[{N:"function",name:"Q{MyFunctions}has-uniform-static-context", -line:"153",module:"namespaces.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}element",as:"1N"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"157","var":"Q{http://saxon.sf.net/generated-variable}cc393138250",as:"*NE",slot:"1",flags:"l",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}element",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"and", -line:"160",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",line:"156",name:"empty",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}element",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"fn",line:"157",name:"empty",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}cc393138250", -slot:"1"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]},{N:"ifCall",line:"133",name:"Q{http://saxon.sf.net/}has-uniform-namespaces",type:"1AB",C:[{N:"treat",as:"NE",diag:"0|0||saxon:has-uniform-namespaces",C:[{N:"varRef",line:"155",name:"Q{}element",slot:"0"}]}]}]},{N:"fn",line:"159",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"varRef", -name:"Q{http://saxon.sf.net/generated-variable}cc393138250",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"co",id:"222",binds:"22 25 25",C:[{N:"function",name:"Q{MyTypes}type-error",line:"1182",module:"type.xsl",flags:"pU",as:"*",slots:"5",C:[{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"arg",name:"Q{}expression",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1187",C:[{N:"let","var":"Q{}parts",as:"*AS",slot:"4",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}diag",slot:"2"},{N:"str",val:"\\|"},{N:"str",val:""}]},{N:"ufCall",line:"1192",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"4"},{N:"int",val:"3"}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", -C:[{N:"str",val:"Required type of "},{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"4"},{N:"int",val:"4"}]}]},{N:"str",val:" is "}]},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"}]}]},{N:"str",val:"; actual type is "}]},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"2",C:[{N:"varRef",name:"Q{}suppliedType",slot:"0"}]}]},{N:"varRef",name:"Q{}expression",slot:"3"}]}]}]}]}]},{N:"co",id:"223",binds:"",C:[{N:"globalVariable", -name:"Q{}errInfo",as:"1AQ",line:"344",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"info"}]}]},{N:"co",id:"40",binds:"",C:[{N:"globalVariable",name:"Q{}xslt.schema",as:"1FM k[AS] v[1FM]",line:"1",module:"XSLT-schema.xsl",visibility:"PRIVATE",C:[{N:"map",size:"77",C:[{N:"str",val:"use-package"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str", -val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"package-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"accept"},{N:"str",val:"AAA"},{N:"str",val:"override"}, -{N:"str",val:"AAA"}]}]},{N:"str",val:"matching-substring"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"map-entry"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"key"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"select"},{N:"map",size:"2", -C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"key"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3280"}]},{N:"str",val:"output"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"}, -{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"24",C:[{N:"str",val:"omit-xml-declaration"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"method"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"json"}, -{N:"str",val:"adaptive"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"allow-duplicate-names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"media-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str", -val:"doctype-public"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"escape-uri-attributes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"standalone"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"boolean"},{N:"str",val:"omit"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"json-node-output-method"},{N:"map",size:"2", -C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"doctype-system"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"item-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2", -C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"indent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"suppress-indentation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"byte-order-mark"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"include-content-type"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"encoding"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"normalization-form"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"NFC"},{N:"str",val:"NFD"},{N:"str",val:"NFKC"},{N:"str",val:"NFKD"},{N:"str",val:"fully-normalized"},{N:"str",val:"none"},{N:"str",val:"nmtoken"}]},{N:"str", -val:"isAVT"},{N:"false"}]},{N:"str",val:"html-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"nmtoken"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"undeclare-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"build-tree"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", -val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"cdata-section-elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"parameter-document"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"non-matching-substring"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str", -val:"parents"},{N:"str",val:"analyze-string"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"sequence"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]}, -{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]},{N:"str",val:"fork"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"sequence"},{N:"str",val:"AAA"},{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"for-each-group"},{N:"str", -val:"AAA"}]}]},{N:"str",val:"fallback"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"next-iteration"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str", -val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"mode"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"9",C:[{N:"str",val:"warning-on-multiple-match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"on-no-match"},{N:"map", -size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"deep-copy"},{N:"str",val:"shallow-copy"},{N:"str",val:"deep-skip"},{N:"str",val:"shallow-skip"},{N:"str",val:"text-only-copy"},{N:"str",val:"fail"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"typed"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"boolean"},{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"on-multiple-match"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"use-last"},{N:"str",val:"fail"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"warning-on-no-match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"accumulator-rule"},{N:"map",size:"4", -C:[{N:"str",val:"required.attributes"},{N:"str",val:"match"},{N:"str",val:"parents"},{N:"str",val:"accumulator"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"phase"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"start"},{N:"str",val:"end"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map", -size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"expose"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"3",C:[{N:"str",val:"component"},{N:"str",val:"names"},{N:"str",val:"visibility"}]},{N:"str",val:"parents"},{N:"str",val:"package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3", -C:[{N:"str",val:"names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"component"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"template"},{N:"str",val:"function"}, -{N:"str",val:"attribute-set"},{N:"str",val:"variable"},{N:"str",val:"mode"},{N:"str",val:"*"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"for-each"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, -{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"preserve-space"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"elements"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", -val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"import"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"}, -{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"package"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"14",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str", -val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"package-version"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"id"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"declared-modes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"expose"},{N:"str",val:"AAA"},{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"accumulator"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2", -C:[{N:"str",val:"name"},{N:"str",val:"initial-value"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"initial-value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"accumulator-rule"},{N:"str",val:"AAA"}]}]},{N:"str",val:"with-param"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"}, -{N:"literal",count:"6",C:[{N:"str",val:"apply-templates"},{N:"str",val:"call-template"},{N:"str",val:"apply-imports"},{N:"str",val:"next-match"},{N:"str",val:"next-iteration"},{N:"str",val:"evaluate"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"tunnel"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"assert"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, -{N:"str",val:"test"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"test"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"error-code"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, -{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"message"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"terminate"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"error-code"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"include"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map", -size:"1",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"accept"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"3",C:[{N:"str",val:"component"},{N:"str",val:"names"},{N:"str",val:"visibility"}]},{N:"str",val:"parents"},{N:"str",val:"use-package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"names"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"},{N:"str",val:"hidden"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"component"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"template"},{N:"str",val:"function"}, -{N:"str",val:"attribute-set"},{N:"str",val:"variable"},{N:"str",val:"mode"},{N:"str",val:"*"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"call-template"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, -{N:"map",size:"1",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"number"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"12",C:[{N:"str",val:"level"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"single"},{N:"str",val:"multiple"},{N:"str",val:"any"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"letter-value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal", -count:"2",C:[{N:"str",val:"alphabetic"},{N:"str",val:"traditional"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"from"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"grouping-size"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"integer"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"count"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"ordinal"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"format"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"grouping-separator"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"start-at"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"perform-sort"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, -{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"on-completion"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"iterate"}, -{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3125"}]},{N:"str",val:"merge-key"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"merge-source"}, -{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"ascending"},{N:"str",val:"descending"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"case-order"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"upper-first"},{N:"str",val:"lower-first"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"data-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"text"},{N:"str",val:"number"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str", -val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3200"}]},{N:"str",val:"result-document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"27",C:[{N:"str",val:"omit-xml-declaration"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"method"},{N:"map",size:"2", -C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"json"},{N:"str",val:"adaptive"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"allow-duplicate-names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, -{N:"true"}]},{N:"str",val:"media-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"doctype-public"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"escape-uri-attributes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"standalone"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2", -C:[{N:"str",val:"boolean"},{N:"str",val:"omit"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"json-node-output-method"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"doctype-system"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"item-separator"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"output-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"nmtoken"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"indent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"suppress-indentation"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"byte-order-mark"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"include-content-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"encoding"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]}, -{N:"str",val:"normalization-form"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"NFC"},{N:"str",val:"NFD"},{N:"str",val:"MFKC"},{N:"str",val:"MFKD"},{N:"str",val:"fully-normalized"},{N:"str",val:"none"},{N:"str",val:"nmtoken"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"html-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"format"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"undeclare-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, -{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"build-tree"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"cdata-section-elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"parameter-document"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str", -val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"merge-action"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"merge"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"next-match"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"}, -{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"transform"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"11",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map", -size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"id"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, -{N:"map",size:"1",C:[{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"override"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"use-package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"5",C:[{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"attribute-set"},{N:"str",val:"AAA"},{N:"str",val:"function"},{N:"str",val:"AAA"},{N:"str",val:"template"},{N:"str", -val:"AAA"},{N:"str",val:"variable"},{N:"str",val:"AAA"}]}]},{N:"str",val:"param"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"7",C:[{N:"str",val:"package"},{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"override"},{N:"str",val:"template"},{N:"str",val:"function"},{N:"str",val:"iterate"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"tunnel"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"static"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"required"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"text"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map", -size:"1",C:[{N:"str",val:"disable-output-escaping"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"PCDATA"},{N:"str",val:"AAA"}]}]},{N:"str",val:"source-document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", -val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, -{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"stylesheet"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"11",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str", -val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"id"}, -{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"apply-imports"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"copy-of"},{N:"map", -size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"copy-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"copy-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"}, -{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"merge-source"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, -{N:"str",val:"select"},{N:"str",val:"parents"},{N:"str",val:"merge"},{N:"str",val:"permitted.attributes"},{N:"map",size:"9",C:[{N:"str",val:"for-each-source"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, -{N:"false"}]},{N:"str",val:"sort-before-merge"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"for-each-item"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"merge-key"},{N:"str",val:"AAA"}]}]},{N:"str", -val:"context-item"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"template"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"required"},{N:"str",val:"optiona"},{N:"str",val:"absent"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"item-type"},{N:"str",val:"isAVT"}, -{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"attribute-set"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, -{N:"map",size:"1",C:[{N:"str",val:"attribute"},{N:"str",val:"AAA"}]}]},{N:"str",val:"strip-space"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, -{N:"map",size:"0"}]},{N:"str",val:"analyze-string"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"select"},{N:"str",val:"regex"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"regex"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"flags"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"matching-substring"},{N:"str",val:"AAA"},{N:"str",val:"non-matching-substring"},{N:"str",val:"AAA"},{N:"str",val:"fallback"},{N:"str",val:"AAA"}]}]},{N:"str",val:"decimal-format"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"}, -{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"12",C:[{N:"str",val:"percent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exponent-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"pattern-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"zero-digit"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"infinity"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"decimal-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"}, -{N:"false"}]},{N:"str",val:"digit"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"per-mille"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"minus-sign"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"NaN"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"}, -{N:"false"}]},{N:"str",val:"grouping-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"value-of"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"disable-output-escaping"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0870"}]},{N:"str",val:"processing-instruction"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, -{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0880"}]}, -{N:"str",val:"where-populated"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"otherwise"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"choose"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"}, -{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"copy"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"inherit-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"copy-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"choose"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"otherwise"},{N:"str",val:"AAA"},{N:"str",val:"when"},{N:"str", -val:"AAA"}]}]},{N:"str",val:"for-each-group"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"group-by"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"group-starting-with"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"composite"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"group-adjacent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"group-ending-with"},{N:"map", -size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"merge"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"}, -{N:"str",val:"merge-action"},{N:"str",val:"AAA"},{N:"str",val:"merge-source"},{N:"str",val:"AAA"}]}]},{N:"str",val:"character-map"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str", -val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"output-character"},{N:"str",val:"AAA"}]}]},{N:"str",val:"function"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str", -val:"permitted.attributes"},{N:"map",size:"8",C:[{N:"str",val:"cache"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"override-extension-function"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamability"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"8",C:[{N:"str",val:"unclassified"},{N:"str",val:"absorbing"},{N:"str",val:"inspection"}, -{N:"str",val:"filter"},{N:"str",val:"shallow-descent"},{N:"str",val:"deep-descent"},{N:"str",val:"ascent"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"new-each-time"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"yes"},{N:"str",val:"true"},{N:"str",val:"1"},{N:"str",val:"no"},{N:"str",val:"false"},{N:"str", -val:"0"},{N:"str",val:"maybe"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"override"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str", -val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"evaluate"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"xpath"},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"with-params"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"base-uri"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"context-item"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"schema-aware"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, -{N:"false"}]},{N:"str",val:"xpath"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace-context"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"iterate"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, -{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"on-completion"},{N:"str",val:"AAA"},{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"template"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, -{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"priority"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str", -val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"content-item"},{N:"str",val:"AAA"},{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"when"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"test"},{N:"str",val:"parents"},{N:"str",val:"choose"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"test"},{N:"map",size:"2", -C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"apply-templates"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"token"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4", -C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"namespace"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"}, -{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0910"}]},{N:"str",val:"try"},{N:"map",size:"3",C:[{N:"str", -val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"rollback-output"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"}, -{N:"str",val:"AAA"},{N:"str",val:"catch"},{N:"str",val:"AAA"}]}]},{N:"str",val:"global-context-item"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"required"},{N:"str",val:"optional"},{N:"str", -val:"absent"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"item-type"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"catch"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"try"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"errors"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", -val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3150"}]},{N:"str",val:"map"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"}, -{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"variable"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"static"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str", -val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"}, -{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"attribute"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"name"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"qname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0840"}]},{N:"str",val:"element"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"}, -{N:"map",size:"6",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"inherit-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"qname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal", -count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]}, -{N:"str",val:"if"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"test"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"test"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"output-character"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal", -count:"2",C:[{N:"str",val:"character"},{N:"str",val:"string"}]},{N:"str",val:"parents"},{N:"str",val:"character-map"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"character"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"string"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"sort"}, -{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"4",C:[{N:"str",val:"for-each"},{N:"str",val:"for-each-group"},{N:"str",val:"apply-templates"},{N:"str",val:"perform-sort"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"}, -{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"ascending"},{N:"str",val:"descending"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"case-order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"upper-first"},{N:"str",val:"lower-first"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"stable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, -{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"data-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"text"},{N:"str",val:"number"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"}, -{N:"str",val:"XTSE1015"}]},{N:"str",val:"namespace-alias"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"stylesheet-prefix"},{N:"str",val:"result-prefix"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"result-prefix"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str", -val:"prefix"},{N:"str",val:"#default"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"stylesheet-prefix"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"prefix"},{N:"str",val:"#default"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"break"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map", -size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3125"}]},{N:"str",val:"key"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"name"},{N:"str",val:"match"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str", -val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"composite"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"collation"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"comment"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str", -val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0940"}]},{N:"str",val:"on-empty"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]},{N:"str",val:"on-non-empty"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"}, -{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]}]}]}]},{N:"co",id:"224",binds:"34",C:[{N:"function",name:"Q{MyFunctions}wrongParent",line:"780",module:"normalize.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"homCheck",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"782",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" cannot be a child of "}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"dot",type:"1NE"}]}]}]}]}]},{N:"co",id:"225",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}ONE",as:"1ADI", -line:"102",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co",id:"226",binds:"74",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1965472536",as:"+",line:"254",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"254",C:[{N:"str",val:"XSLT compiler version:"}, -{N:"gVarRef",name:"Q{}compiler.version",bSlot:"0"}]}]}]},{N:"co",id:"227",binds:"",C:[{N:"function",name:"Q{MyFunctions}escapeAVT",line:"143",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}s",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"145",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}s",slot:"0"}, -{N:"str",val:"\\{"},{N:"str",val:"{{"},{N:"str",val:""}]},{N:"str",val:"\\}"},{N:"str",val:"}}"},{N:"str",val:""}]}]}]},{N:"co",id:"228",binds:"58 219 214 64 229 9 7 222 230 214 230 214 230 214",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"1065",module:"type.xsl",flags:"pU",as:"*",slots:"20",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1074",C:[{N:"let","var":"Q{}suppliedItemType",slot:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"p"}]},{N:"let",line:"1075","var":"Q{}suppliedCard",slot:"5",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"o"}]},{N:"let",line:"1076","var":"Q{}reqItemType",slot:"6",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"p"}]},{N:"let",line:"1080","var":"Q{}cardOK",as:"1AB",slot:"7",C:[{N:"gc",op:"=",card:"N:1", -comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"EQ"},{N:"str",val:"GT"}]},{N:"check",line:"1079",card:"1",diag:"3|0|XTTE0570|cardRel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|cardRel",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|cardRel",C:[{N:"data",diag:"3|0|XTTE0570|cardRel",C:[{N:"ufCall",name:"Q{MyTypes}cardinalityRelationship",tailCall:"false",bSlot:"0",C:[{N:"check",line:"1077",card:"1",diag:"0|0||t:cardinalityRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p", -diag:"0|0||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:cardinalityRelationship",C:[{N:"data",diag:"0|0||t:cardinalityRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"o"}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||t:cardinalityRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:cardinalityRelationship",C:[{N:"data",diag:"0|1||t:cardinalityRelationship",C:[{N:"varRef", -name:"Q{}suppliedCard",slot:"5"}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"1087","var":"Q{}itemTypeOK",as:"1AB",slot:"8",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"EQ"},{N:"str",val:"GT"}]},{N:"choose",line:"1086",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"n"}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str", -val:"n"}]}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"e"}]}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"e"}]}]}]},{N:"ufCall",name:"Q{MyTypes}itemTypeRelationship",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}suppliedType",slot:"1"}]},{N:"true"},{N:"let","var":"Q{}R",as:"1AS",slot:"9",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship", -C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"10",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship", -C:[{N:"varRef",name:"Q{}suppliedItemType",slot:"4"}]}]}]}]},{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"9"},{N:"varRef",name:"Q{}S",slot:"10"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"9"},{N:"varRef",name:"Q{}S",slot:"10"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"10"},{N:"varRef",name:"Q{}R",slot:"9"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]}]}]},{N:"choose", -line:"1089",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}itemTypeOK",slot:"8"},{N:"varRef",name:"Q{}cardOK",slot:"7"}]},{N:"varRef",line:"1090",name:"Q{}expression",slot:"0"},{N:"varRef",line:"1092",name:"Q{}itemTypeOK",slot:"8"},{N:"ufCall",line:"1093",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"2",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"and",line:"1095",op:"and",C:[{N:"varRef",name:"Q{}cardOK", -slot:"7"},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}suppliedCard",slot:"5"}]},{N:"str",val:"0"}]}]},{N:"varRef",line:"1096",name:"Q{}expression",slot:"0"},{N:"fn",line:"1100",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data", -diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"str",val:"A"}]},{N:"let",line:"1106","var":"Q{}expression.1",slot:"11",C:[{N:"choose",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}suppliedItemType",slot:"4"}]}]}]}]},{N:"str",val:"A"}]},{N:"varRef", -name:"Q{}expression",slot:"0"},{N:"true"},{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"904",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"3"}]},{N:"slash",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1106",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1106",name:"Q{}expression",slot:"0"}]}]}]}, -{N:"let",line:"1112","var":"Q{}expression.2",slot:"12",C:[{N:"choose",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]},{N:"varRef",name:"Q{}expression.1",slot:"11"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cvUntyped",tailCall:"false",bSlot:"4",C:[{N:"varRef",name:"Q{}expression.1",slot:"11"},{N:"varRef",name:"Q{}requiredType", -slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]},{N:"let",line:"1118","var":"Q{}expression.3",slot:"13",C:[{N:"choose",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]},{N:"literal",count:"2",C:[{N:"str",val:"AO"},{N:"str",val:"AF"}]}]},{N:"ufCall",name:"Q{MyTypes}convert",tailCall:"false",bSlot:"5",C:[{N:"varRef",name:"Q{}expression.2",slot:"12"},{N:"varRef",name:"Q{}requiredType", -slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"true"},{N:"varRef",name:"Q{}expression.2",slot:"12"}]},{N:"let",line:"1120","var":"Q{}expression.4",as:"?NE",slot:"14",C:[{N:"let",line:"1121","var":"Q{}convertedType",as:"1FM",slot:"15",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"6",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef", -name:"Q{}expression.3",slot:"13"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"choose",line:"1122",C:[{N:"fn",line:"1123",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}convertedType",slot:"15"},{N:"str",val:"p"}]}]}]}]}]},{N:"check",card:"?",diag:"0|1||fn:starts-with",C:[{N:"convert", -from:"A",to:"AS",flags:"p",diag:"0|1||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:starts-with",C:[{N:"data",diag:"0|1||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]}]},{N:"varRef",line:"1124",name:"Q{}expression.3",slot:"13"},{N:"compareToString",line:"1126",op:"eq",val:"DJ",C:[{N:"let","var":"Q{}R",as:"1AS",slot:"16",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped", -to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}convertedType",slot:"15"},{N:"str",val:"p"}]}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"17",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]}, -{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"16"},{N:"varRef",name:"Q{}S",slot:"17"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"16"},{N:"varRef",name:"Q{}S",slot:"17"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"17"},{N:"varRef",name:"Q{}R",slot:"16"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]}]},{N:"treat",line:"1127",as:"NE",diag:"3|0|XTTE0570|expression.4", -C:[{N:"check",card:"?",diag:"3|0|XTTE0570|expression.4",C:[{N:"ufCall",name:"Q{MyTypes}type-error",tailCall:"false",bSlot:"7",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"},{N:"varRef",name:"Q{}expression",slot:"0"}]}]}]},{N:"true"},{N:"ufCall",line:"1130",name:"Q{MyTypes}treat",tailCall:"false",bSlot:"8",C:[{N:"varRef",name:"Q{}expression.3",slot:"13"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag", -slot:"3"}]}]}]},{N:"choose",line:"1139",C:[{N:"varRef",name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.4",slot:"14"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"9",C:[{N:"check",card:"1",diag:"0|0||t:cardCheck",C:[{N:"varRef",name:"Q{}expression.4",slot:"14"}]},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]}]}]}]},{N:"fn",line:"1142",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert", -from:"A",to:"AS",flags:"p",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:starts-with",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"str",val:"F"}]},{N:"let",line:"1144","var":"Q{}expression.1",slot:"18",C:[{N:"ufCall",name:"Q{MyTypes}treat",tailCall:"false",bSlot:"10",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"choose",line:"1150",C:[{N:"varRef", -name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.1",slot:"18"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"11",C:[{N:"varRef",name:"Q{}expression.1",slot:"18"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]},{N:"true"},{N:"let",line:"1159","var":"Q{}expression.1",slot:"19",C:[{N:"choose",C:[{N:"varRef",name:"Q{}itemTypeOK",slot:"8"},{N:"varRef",name:"Q{}expression",slot:"0"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}treat", -tailCall:"false",bSlot:"12",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]},{N:"choose",line:"1165",C:[{N:"varRef",name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.1",slot:"19"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"13",C:[{N:"varRef",name:"Q{}expression.1",slot:"19"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}, -{N:"co",id:"231",binds:"",C:[{N:"function",name:"Q{MyFunctions}empty",line:"229",module:"lib.xsl",flags:"pU",as:"?NE",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"231",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis", -name:"child",nodeTest:"NE"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"\\S"},{N:"str",val:""}]}]}]}]},{N:"elem",line:"232",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"empty"}]}]}]}]},{N:"co",id:"232",binds:"233",C:[{N:"function",name:"Q{MyTypes}allowsZeroOrOne",line:"135",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"*"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"137",card:"1",diag:"5|0|XTTE0780|t:allowsZeroOrOne#1",C:[{N:"vc",op:"ne",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"arith",op:"mod",calc:"a%a",C:[{N:"cvUntyped",to:"AO",C:[{N:"atomSing",card:"?",diag:"1|0||mod",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]}]},{N:"gVarRef",name:"Q{}StaticProperty.ALLOWS_MANY",bSlot:"0"}]},{N:"int",val:"0"}]}]}]}]},{N:"co",id:"234",binds:"",C:[{N:"globalVariable",name:"Q{}nodeTypeMap",as:"1FM k[AS] v[1ADI]",line:"573",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"11",C:[{N:"str",val:"text"},{N:"int",val:"3"},{N:"str",val:"processing-instruction"}, -{N:"int",val:"7"},{N:"str",val:"document_fragment"},{N:"int",val:"11"},{N:"str",val:"namespace-node"},{N:"int",val:"13"},{N:"str",val:"document-node"},{N:"int",val:"9"},{N:"str",val:"document"},{N:"int",val:"9"},{N:"str",val:"namespace"},{N:"int",val:"13"},{N:"str",val:"attribute"},{N:"int",val:"2"},{N:"str",val:"element"},{N:"int",val:"1"},{N:"str",val:"document_type"},{N:"int",val:"10"},{N:"str",val:"comment"},{N:"int",val:"8"}]}]}]},{N:"co",id:"235",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ZERO", -as:"1ADI",line:"105",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"236",binds:"127",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"1059",module:"type.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1062",C:[{N:"ufCall", -name:"Q{MyFunctions}typeCheck",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}required",slot:"1"},{N:"str",val:"0|0||"}]}]}]}]},{N:"co",id:"237",binds:"",C:[{N:"globalVariable",name:"Q{}serialization-properties",as:"*AS",line:"21",module:"output.xsl",visibility:"PRIVATE",C:[{N:"literal",count:"22",C:[{N:"str",val:"method"},{N:"str",val:"allow-duplicate-names"},{N:"str",val:"build-tree"},{N:"str",val:"byte-order-mark"},{N:"str",val:"cdata-section-elements"}, -{N:"str",val:"doctype-public"},{N:"str",val:"doctype-system"},{N:"str",val:"encoding"},{N:"str",val:"escape-uri-attributes"},{N:"str",val:"html-version"},{N:"str",val:"include-content-type"},{N:"str",val:"indent"},{N:"str",val:"item-separator"},{N:"str",val:"json-node-output-method"},{N:"str",val:"media-type"},{N:"str",val:"normalization-form"},{N:"str",val:"omit-xml-declaration"},{N:"str",val:"parameter-document"},{N:"str",val:"standalone"},{N:"str",val:"suppress-indentation"},{N:"str",val:"undeclare-prefixes"}, -{N:"str",val:"output-version"}]}]}]},{N:"co",id:"127",binds:"238 228 239 7 118",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"975",module:"type.xsl",flags:"pU",as:"*",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"996",C:[{N:"choose",C:[{N:"fn", -name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}literal"}]}]},{N:"ufCall",name:"Q{MyFunctions}typeCheckLiteral",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"foreign",bSlot:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"choose",C:[{N:"fn",name:"exists", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}empty"}]}]},{N:"gVarRef",name:"Q{}ST.EMPTY_SEQUENCE",bSlot:"2"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"3",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS", -flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.MULTIPLE_ITEM",bSlot:"4"}]},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]}]}]}]}]},{N:"co",id:"133",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_ATOMIC",as:"1FM k[AS] v[1AS]",line:"13",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map", -size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"130",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg409114060",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn", -name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0570"},{N:"str",val:"check"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"132",binds:"1 239",C:[{N:"globalVariable",name:"Q{}SJ.EMPTY_SEQUENCE",as:"1AS",line:"44",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"44",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.EMPTY_SEQUENCE",bSlot:"1"}]}]}]},{N:"co",id:"240",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg2078175306",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join", -C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-style/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"241",binds:"",C:[{N:"function",name:"Q{MyFunctions}typeCardinality",line:"32",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"}, -{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"43",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"empty-sequence()"},{N:"str",val:"error()0"}]},{N:"varRef",name:"Q{}type",slot:"0"}]},{N:"str",val:"0"},{N:"fn",name:"matches",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"[*?+]$"},{N:"str",val:""}]},{N:"fn",name:"substring",C:[{N:"varRef", -name:"Q{}type",slot:"0"},{N:"fn",name:"string-length",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]},{N:"true"},{N:"str",val:"1"}]}]}]},{N:"co",id:"242",binds:"1 218",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_NCNAME",as:"1AS",line:"56",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"56",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_NCNAME", -bSlot:"1"}]}]}]},{N:"co",id:"144",binds:"1 137",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ITEM",as:"1AS",line:"45",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"45",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"1"}]}]}]},{N:"co",id:"243",binds:"",C:[{N:"globalVariable",name:"Q{}support-XSLT4",as:"1AB",line:"170",module:"XSLT-SEF-compiler.xsl", -visibility:"PUBLIC",flags:"s",C:[{N:"true"}]}]},{N:"co",id:"244",binds:"66 196 226 245 246 125 221 196 215 67",C:[{N:"mode",name:"Q{}compile-complete",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"373",rank:"0",minImp:"0",slots:"13",matches:"ND",flags:"s",line:"243",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"ND"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"244",C:[{N:"param",name:"Q{}options",slot:"0",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"245","var":"Q{}nsOption",as:"?AS",slot:"1",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|nsOption",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|nsOption",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|nsOption", -C:[{N:"data",diag:"3|0|XTTE0570|nsOption",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"ns"}]}]}]}]}]},{N:"let",line:"246","var":"Q{}defaultHTML5",as:"1AB",slot:"2",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}nsOption",slot:"1"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}nsOption",slot:"1"},{N:"str",val:"##html5"}]}]},{N:"let",line:"249","var":"Q{}start.time",slot:"3",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false", -bSlot:"1"},{N:"sequence",line:"252",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"timing"}]},{N:"fn",name:"exists",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}start.time",slot:"3"},{N:"int",val:"2"}]}]}]},{N:"sequence",line:"254",C:[{N:"message",C:[{N:"gVarRef",role:"select",name:"Q{http://saxon.sf.net/generated-variable}gg1965472536",bSlot:"2"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}, -{N:"message",line:"255",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Started @"},{N:"varRef",name:"Q{}start.time",slot:"3"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"let",line:"263","var":"Q{}tempFromComp",as:"1ND",slot:"4",C:[{N:"doc",line:"264",C:[{N:"applyT",mode:"Q{}compile",bSlot:"3",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}options",flags:"t",as:"1FM",C:[{N:"varRef",line:"265", -name:"Q{}options",slot:"0"}]},{N:"withParam",name:"Q{}params",flags:"t",as:"1FM k[AQ]",C:[{N:"gVarRef",line:"267",name:"Q{}staticParameters",bSlot:"4"}]},{N:"withParam",name:"Q{}defaultHTML5",flags:"t",as:"1AB",C:[{N:"varRef",line:"268",name:"Q{}defaultHTML5",slot:"2"}]}]}]},{N:"sequence",line:"272",C:[{N:"choose",C:[{N:"or",line:"273",op:"or",C:[{N:"or",op:"or",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"justStatic"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"}, -{N:"str",val:"justNormalize"}]}]},{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"noXPath"}]}]},{N:"varRef",line:"274",name:"Q{}tempFromComp",slot:"4"},{N:"true"},{N:"sequence",line:"277",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"statistics"}]},{N:"message",line:"278",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"XPath statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}]}]},{N:"str",val:" components\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}, -{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute", -nodeTest:"NA"}]}]}]},{N:"str",val:" attributes\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"}]}]}]},{N:"str",val:" XPath expressions\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant", -nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"}]}]}]},{N:"str",val:" patterns "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"284",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"289",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting XPath compiling:"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp", -slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"}]}]},{N:"str",val:"expressions"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"}]}]},{N:"str",val:"patterns"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"291","var":"Q{}temp",as:"1ND", -slot:"5",C:[{N:"doc",line:"292",C:[{N:"applyT",mode:"Q{}process-xpath",bSlot:"5",C:[{N:"varRef",role:"select",name:"Q{}tempFromComp",slot:"4"},{N:"withParam",name:"Q{}options",flags:"t",as:"1FM",C:[{N:"varRef",line:"293",name:"Q{}options",slot:"0"}]},{N:"withParam",name:"Q{}defaultHTML5",flags:"t",as:"1AB",C:[{N:"varRef",line:"295",name:"Q{}defaultHTML5",slot:"2"}]}]}]},{N:"sequence",line:"298",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"statistics"}]},{N:"message", -line:"299",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Final statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}]}]},{N:"str",val:" components\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2", -C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child", -nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"str",val:" attributes\n "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"303",C:[{N:"lookup",line:"304",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"noBindings"}]},{N:"varRef",line:"305", -name:"Q{}temp",slot:"5"},{N:"true"},{N:"sequence",line:"308",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"309",C:[{N:"str",role:"select",val:"Starting Component binding"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"311",mode:"Q{}process-bindings",bSlot:"6",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"5"},{N:"withParam",name:"Q{}options", -flags:"t",as:"1FM",C:[{N:"varRef",line:"313",name:"Q{}options",slot:"0"}]}]}]}]}]}]}]}]},{N:"let",line:"320","var":"Q{}duration",as:"1AR",slot:"6",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|duration",C:[{N:"arith",op:"-",calc:"t-t",C:[{N:"ufCall",line:"319",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"7"},{N:"check",card:"?",diag:"1|1||-",C:[{N:"varRef",name:"Q{}start.time",slot:"3"}]}]}]},{N:"sequence",line:"321",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", -val:"timing"}]},{N:"message",line:"330",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Stylesheet compilation time:"},{N:"let","var":"Q{}h",slot:"7",C:[{N:"fn",name:"hours-from-duration",C:[{N:"varRef",name:"Q{}duration",slot:"6"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"8",flags:"l",C:[{N:"compareToInt",op:"ne",val:"0",C:[{N:"varRef",name:"Q{}h",slot:"7"}]},{N:"let","var":"Q{}m",slot:"9",C:[{N:"fn",name:"minutes-from-duration",C:[{N:"varRef",name:"Q{}duration", -slot:"6"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"10",flags:"l",C:[{N:"compareToInt",op:"ne",val:"0",C:[{N:"varRef",name:"Q{}m",slot:"9"}]},{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"filter",flags:"ib",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}h",slot:"7"},{N:"str",val:"h"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]},{N:"filter",flags:"ib",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}m",slot:"9"},{N:"str",val:"m"}]}, -{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"10"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"seconds-from-duration",C:[{N:"varRef",name:"Q{}duration",slot:"6"}]},{N:"str",val:"s"}]}]},{N:"str",val:" "}]}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"333","var":"Q{}errorCount",slot:"11",C:[{N:"ufCall",name:"Q{MyFunctions}message-count",tailCall:"false",bSlot:"8",C:[{N:"gVarRef",name:"Q{}XTSE0010", -bSlot:"9"}]},{N:"choose",line:"334",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"let",line:"335","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"12",flags:"l",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"str",val:" error"},{N:"fn",name:"string", -C:[{N:"filter",flags:"ib",C:[{N:"str",val:"s"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"12"}]}]},{N:"str",val:" during compilation"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"247",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.EMPTY",as:"1ADI",line:"111",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"248",binds:"", -C:[{N:"globalVariable",name:"Q{}COMPILE_GLOBAL",as:"1AB",line:"104",module:"xpath.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"191",binds:"22",C:[{N:"function",name:"Q{MyFunctions}make-namespace-alias-map",line:"1873",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*",slots:"8",C:[{N:"arg",name:"Q{}root",as:"1NE"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1880",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"slash",role:"select",line:"1880",simple:"1",C:[{N:"varRef",name:"Q{}root",slot:"0"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, -{N:"str",role:"order",val:"ascending"},{N:"str",role:"lang",val:""},{N:"str",role:"caseOrder",val:"#default"},{N:"str",role:"stable",val:"yes"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{N:"let",role:"key",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}prefix",as:"1AS",slot:"6",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -card:"1",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"attVal",name:"Q{}stylesheet-prefix"}]}]}]},{N:"let","var":"Q{}element",as:"1NE",slot:"7",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"},{N:"choose",module:"namespaces.xsl",line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"6"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"7"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"6"},{N:"varRef",name:"Q{}element",slot:"7"}]}]}]}]}, -{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"1883","var":"Q{}highest-precedence",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|highest-precedence",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"let",line:"1885","var":"Q{}active-declarations",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias", -slot:"2",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active-declarations",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"1"}]}]}]},{N:"let",line:"1887","var":"Q{}result-uris",slot:"3",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}active-declarations",slot:"2"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -"var":"Q{}prefix",as:"1AS",slot:"4",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"attVal",name:"Q{}result-prefix"}]}]}]}, -{N:"let","var":"Q{}element",as:"1NE",slot:"5",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"},{N:"choose",module:"namespaces.xsl",line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix", -C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"5"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"4"},{N:"varRef",name:"Q{}element",slot:"5"}]}]}]}]}]},{N:"sequence",line:"1889",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"varRef",name:"Q{}result-uris",slot:"3"}]}]}]},{N:"ufCall",line:"1892",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str", -val:"XTSE0810"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple conflicting declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" for namespace "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]},{N:"ifCall",line:"1896",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check", -card:"1",diag:"0|0||map:entry",C:[{N:"currentGroupingKey"}]},{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}active-declarations",slot:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}result-prefix"}]}]},{N:"lastOf",C:[{N:"varRef",name:"Q{}result-uris",slot:"3"}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"249",binds:"52", -C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1733439693",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind", -bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:remove-property/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"250",binds:"",C:[{N:"globalVariable",name:"Q{}errorsAsMessages",as:"1AB",line:"187",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"44",binds:"36 37",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg438493423",as:"+AU",line:"21",module:"sorting.xsl", -visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"0"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation",bSlot:"1"}]}]}]},{N:"co",id:"251",vis:"PUBLIC",binds:"252 253 208 98 208 98 254 255 255 198 252 253 252 253 22 22",C:[{N:"function",name:"Q{MyFunctions}parse-value-template", -line:"51",module:"XSLT-value-template.xsl",flags:"pU",as:"*NA",slots:"13",C:[{N:"arg",name:"Q{}in",as:"1AS"},{N:"arg",name:"Q{}location",as:"1N"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation f=MyFunctions xs=~ xsl=~ xml=~",line:"55","var":"Q{}codepoints-in",as:"*ADI",slot:"9",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"varRef",name:"Q{}in",slot:"0"}]},{N:"treat",line:"56",as:"NA",diag:"5|0|XTTE0780|f:parse-value-template#2",C:[{N:"iterate",C:[{N:"to",role:"select",C:[{N:"int", -val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"}]}]},{N:"params",role:"params",line:"57",C:[{N:"param",name:"Q{}in-expression",slot:"2",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-expression",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|in-expression",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-expression",C:[{N:"data",diag:"8|0|XTTE0590|in-expression",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"58",name:"Q{}comment-depth", -slot:"3",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|comment-depth",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|comment-depth",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|comment-depth",C:[{N:"data",diag:"8|0|XTTE0590|comment-depth",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"59",name:"Q{}in-single-quotes",slot:"4",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"check", -card:"1",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"data",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"supplied",slot:"4"}]}]}]}]}]},{N:"param",line:"60",name:"Q{}in-double-quotes",slot:"5",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"data", -diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"supplied",slot:"5"}]}]}]}]}]},{N:"param",line:"61",name:"Q{}brace-depth",slot:"6",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|brace-depth",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|brace-depth",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|brace-depth",C:[{N:"data",diag:"8|0|XTTE0590|brace-depth",C:[{N:"supplied",slot:"6"}]}]}]}]}]},{N:"param",line:"62",name:"Q{}start-of-part",slot:"7",as:"1ADI", -C:[{N:"int",role:"select",val:"1"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|start-of-part",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|start-of-part",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|start-of-part",C:[{N:"data",diag:"8|0|XTTE0590|start-of-part",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"param",line:"63",name:"Q{}skip-char",slot:"8",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|skip-char",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|skip-char", -C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|skip-char",C:[{N:"data",diag:"8|0|XTTE0590|skip-char",C:[{N:"supplied",slot:"8"}]}]}]}]}]}]},{N:"choose",role:"on-completion",line:"65",C:[{N:"varRef",line:"66",name:"Q{}in-expression",slot:"2"},{N:"ufCall",line:"67",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE0350"},{N:"fn",name:"concat",C:[{N:"str",val:"Missing closing brace after expression:"},{N:"varRef",name:"Q{}in",slot:"0"}]},{N:"varRef",name:"Q{}location", -slot:"1"}]},{N:"vc",line:"69",op:"le",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"}]}]},{N:"att",line:"26",name:"literal",C:[{N:"fn",line:"76",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"}]},{N:"str",val:"{{"},{N:"str",val:"{"},{N:"str",val:"q"}]},{N:"str",val:"}}"},{N:"str",val:"}"},{N:"str",val:"q"}]}]}]}, -{N:"let",role:"action",line:"80","var":"Q{}i",as:"1ADI",slot:"10",C:[{N:"dot",type:"1ADI"},{N:"let",line:"81","var":"Q{}c1",as:"*ADI",slot:"11",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"},{N:"varRef",name:"Q{}i",slot:"10"}]},{N:"let",line:"82","var":"Q{}c2",as:"*ADI",slot:"12",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"},{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]},{N:"choose",line:"84",C:[{N:"varRef",name:"Q{}skip-char", -slot:"8"},{N:"nextIteration",line:"85",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"false"}]}]},{N:"varRef",line:"89",name:"Q{}in-expression",slot:"2"},{N:"choose",line:"90",C:[{N:"and",line:"91",op:"and",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}APOS",bSlot:"2"}]}]},{N:"nextIteration",line:"92",C:[{N:"withParam",name:"Q{}in-single-quotes",as:"1AB",slot:"4",C:[{N:"false"}]}]}, -{N:"and",line:"96",op:"and",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}QUOT",bSlot:"3"}]}]},{N:"nextIteration",line:"97",C:[{N:"withParam",name:"Q{}in-double-quotes",as:"1AB",slot:"5",C:[{N:"false"}]}]},{N:"and",line:"101",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}APOS",bSlot:"4"}]},{N:"compareToInt", -op:"eq",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"nextIteration",line:"102",C:[{N:"withParam",name:"Q{}in-single-quotes",as:"1AB",slot:"4",C:[{N:"true"}]}]},{N:"and",line:"106",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}QUOT",bSlot:"5"}]},{N:"compareToInt",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}comment-depth", -slot:"3"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]}]},{N:"nextIteration",line:"107",C:[{N:"withParam",name:"Q{}in-double-quotes",as:"1AB",slot:"5",C:[{N:"true"}]}]},{N:"and",line:"111",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LPAREN",bSlot:"6"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}COLON",bSlot:"7"}]}]},{N:"and", -op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]}]},{N:"nextIteration",line:"112",C:[{N:"withParam",name:"Q{}comment-depth",as:"1ADI",slot:"3",C:[{N:"arith",line:"113",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"},{N:"int",val:"1"}]}]},{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"and",line:"117",op:"and",C:[{N:"and",op:"and",C:[{N:"compareToInt", -op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}COLON",bSlot:"8"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}RPAREN",bSlot:"9"}]}]},{N:"nextIteration",line:"118",C:[{N:"withParam",name:"Q{}comment-depth",as:"1ADI",slot:"3",C:[{N:"arith",line:"119",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"},{N:"int", -val:"1"}]}]},{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"and",line:"123",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"10"}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"fn",name:"not",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth", -slot:"3"}]}]}]}]},{N:"nextIteration",line:"124",C:[{N:"withParam",name:"Q{}brace-depth",as:"1ADI",slot:"6",C:[{N:"arith",line:"125",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"},{N:"int",val:"1"}]}]}]},{N:"and",line:"128",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}RBRACE",bSlot:"11"}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not", -C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"fn",name:"not",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]}]}]}]},{N:"choose",line:"129",C:[{N:"compareToInt",line:"130",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"}]},{N:"sequence",line:"134",C:[{N:"att",line:"32",name:"expression",C:[{N:"fn",line:"134",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"arith",op:"-",calc:"i-i", -C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"varRef",name:"Q{}start-of-part",slot:"7"}]}]}]},{N:"nextIteration",line:"135",C:[{N:"withParam",name:"Q{}in-expression",as:"1AB",slot:"2",C:[{N:"false"}]},{N:"withParam",name:"Q{}start-of-part",as:"1ADI",slot:"7",C:[{N:"arith",line:"137",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]}]}]},{N:"true"},{N:"nextIteration",line:"141",C:[{N:"withParam",name:"Q{}brace-depth",as:"1ADI",slot:"6",C:[{N:"fn",line:"142",name:"max",C:[{N:"sequence", -C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"},{N:"int",val:"1"}]},{N:"int",val:"0"}]}]}]}]}]}]},{N:"vc",line:"151",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"0"}]},{N:"choose",line:"152",C:[{N:"vc",line:"153",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"12"}]},{N:"nextIteration",line:"154",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8", -C:[{N:"true"}]}]},{N:"true"},{N:"sequence",line:"159",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"varRef",name:"Q{}i",slot:"10"}]},{N:"att",line:"26",name:"literal",C:[{N:"fn",line:"166",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"varRef",name:"Q{}start-of-part", -slot:"7"}]}]},{N:"str",val:"{{"},{N:"str",val:"{"},{N:"str",val:"q"}]},{N:"str",val:"}}"},{N:"str",val:"}"},{N:"str",val:"q"}]}]}]},{N:"nextIteration",line:"168",C:[{N:"withParam",name:"Q{}in-expression",as:"1AB",slot:"2",C:[{N:"true"}]},{N:"withParam",name:"Q{}start-of-part",as:"1ADI",slot:"7",C:[{N:"arith",line:"170",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]}]}]}]},{N:"vc",line:"175",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef", -name:"Q{}RBRACE",bSlot:"1"}]},{N:"choose",line:"176",C:[{N:"vc",line:"177",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}RBRACE",bSlot:"13"}]},{N:"nextIteration",line:"178",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"true"},{N:"ufCall",line:"183",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE0370"},{N:"str",val:"Closing brace must be doubled"},{N:"varRef",name:"Q{}location",slot:"1"}]}]}]}]}]}]}]}]}]}]}]}, -{N:"co",id:"84",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_COMMENT",as:"1FM k[AS] v[1AS]",line:"37",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NC"}]}]}]},{N:"co",id:"256",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_TEXT",as:"1FM k[AS] v[1AS]",line:"33",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NT"}]}]}]}, -{N:"co",id:"257",binds:"",C:[{N:"function",name:"Q{MyTypes}isNumericType",line:"441",module:"type.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"443","var":"Q{}alphaCode",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"0|0||t:isNumeric",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:isNumeric",C:[{N:"cvUntyped", -to:"AS",diag:"0|0||t:isNumeric",C:[{N:"data",diag:"0|0||t:isNumeric",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"base"}]}]}]}]}]},{N:"or",line:"438",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AF"}]}]}]}]}]},{N:"co", -id:"174",binds:"",C:[{N:"function",name:"Q{MyFunctions}xseq",line:"696",module:"static.xsl",flags:"pmU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"698",name:"concat",C:[{N:"str",val:"Q{http://www.w3.org/2001/XMLSchema}"},{N:"varRef",name:"Q{}type",slot:"0"}]}]}]},{N:"co",id:"18",binds:"38 199 1 49 141 28 132 16 78 79 78 79 28 149 18 132 28 16 132 16 78 79 17 78 19 126 28 28 16 16 19 16 19 15 77 258 15 79 28 149 249 126 28 16 77 78 79 132 28 18 237 10 32 78 79 237 78 79 237 78 19 79 16 180 28 19 28 19 28 15 197 150 259 19 260 28 149 79 79 79 48 141 260 22 141 28 19 28 149 261 16 15 16 15 19 16 152 28 141 262 263 152 38 28 16 79 77 77 19 79 15 28 149 240 264 43 48 28 16 77 77 258 265 22 28 164 126 48 124 15 22 1 126 38 38 22 39 22 28 15 79 164 22 22 28 22 15 79 48 1 7 85 28 16 16 16 16 16 150 79 15 19 28 149 266 267 126 28 22 17 15 15 177 150 79 259 177 259 268 16 269 28 149 259 48 269 48 22 141 28 259 139 16 15 17 28 19 16 28 15 164 16 16 22 16 16 48 28 18 16 19 79 164 263 152 16 28 77 78 79 19 15 28 149 113 263 28 16 270 22 22 19 79 15 48 28 15 262 28 141 259 43 48 172 172 172 7 85 7 1 1 1 28 19 79 258 265 28 15 126 48 262 22 22 271 22 22 22 16 121 78 79 78 79 19 83 259 22 272 269 150 172 273 78 79 78 79 16 150 262", -C:[{N:"mode",name:"Q{}sef",onNo:"SC",flags:"W",patternSlots:"1",C:[{N:"templateRule",prec:"0",prio:"5.01",seq:"328",rank:"17",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"25",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"25",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"26",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"27",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"31",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}xpath-default-namespace",flags:"t",as:"1NA",C:[{N:"att",line:"29",name:"xpath-default-namespace",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"5.0",seq:"323",rank:"16",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param", -name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"20",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"22",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6", -seq:"363",rank:"15",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"143",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"145",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode", -flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"358",rank:"14",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100", -module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"102",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"104",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"354",rank:"13",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"94",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA", -C:[{N:"varRef",line:"96",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"351",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"80",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"82",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0", -prio:"3.1",seq:"348",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"73",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"75",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation", -flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"343",rank:"11",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"59",flags:"t", -C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"62",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"339",rank:"10",minImp:"0",slots:"1",matches:"NE",flags:"s", -line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"51",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"53",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03",seq:"335",rank:"9",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"43",flags:"t", -C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"45",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"331",rank:"8",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"36",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"38",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"227",rank:"6",minImp:"0",slots:"4",matches:"NE",flags:"s",line:"448",module:"creating-new-nodes.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"448",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"448",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"449",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"450",name:"Q{}static-context",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"456","var":"Q{}version",as:"?AD", -slot:"2",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"true"},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"nextMatch",line:"457",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"458",name:"Q{}attr", -slot:"0"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM",C:[{N:"ifCall",line:"463",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"2"},{N:"dec",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}static-context",slot:"1"}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}xsl-version", -flags:"t",as:"?AD",C:[{N:"varRef",line:"464",name:"Q{}version",slot:"2"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"465",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"2"},{N:"dec",val:"2"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"175",rank:"3",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"161",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"161",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"162",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", -as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"164","var":"Q{}temp",as:"*NE",slot:"1",C:[{N:"treat",line:"165",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"166",name:"Q{}attr",slot:"0"}]}]}]},{N:"applyT",line:"169",mode:"Q{}on-empty",flags:"t",bSlot:"1",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"1"},{N:"withParam",name:"Q{}element.attributes",flags:"t",as:"*AS",C:[{N:"choose",line:"176", -C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"1"},{N:"axis",name:"self",nodeTest:"NE n*:elem"}]}]},{N:"slash",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"229",rank:"0",minImp:"0",slots:"11",matches:"NE",flags:"s",as:"1NE",line:"470",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"471",card:"1",diag:'7|0|XTTE0505|match="*" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"472",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied", -slot:"1"}]}]}]},{N:"param",line:"473",name:"Q{}static-context",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"let",line:"474","var":"Q{}namespace-aliases",as:"?FM",slot:"3",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"namespace-aliases"}]}]}]},{N:"let",line:"481","var":"Q{}element-name",as:"1AQ", -slot:"4",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]},{N:"let","var":"Q{}original-name",as:"1AQ",slot:"5",C:[{N:"check",card:"1",diag:"0|0||f:map-aliased-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let","var":"Q{}namespace-aliases",as:"1FM",slot:"6",C:[{N:"check",card:"1",diag:"0|1||f:map-aliased-name",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]},{N:"let",line:"544","var":"Q{}original-uri",as:"1AU",slot:"7", -C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"5"}]},{N:"let",line:"547","var":"Q{}new-uri",as:"1AS",slot:"8",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"6"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]}]},{N:"convert",line:"548",from:"AU", -to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", -name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]},{N:"int",val:"2"}]}]}]}]}]}]},{N:"choose",line:"556",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"7"},{N:"varRef",name:"Q{}new-uri",slot:"8"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"5"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"9",C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", -name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]},{N:"fn",line:"567",name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"8"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"9"}]},{N:"str",val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat", -C:[{N:"varRef",name:"Q{}prefix",slot:"9"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"5"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"3|0|XTTE0570|element-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"491",name:"elem",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}element-name", -slot:"4"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"2",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"n"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"creating-new-nodes.xsl",line:"491",name:"Q{}element-name",slot:"4"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"creating-new-nodes.xsl",line:"491",name:"Q{}element-name",slot:"4"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"att",name:"nsuri",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}element-name",slot:"4"}]}]}]},{N:"att",name:"namespaces",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}record-namespaces",tailCall:"false",bSlot:"3", -C:[{N:"dot",type:"1NE",flags:"a"},{N:"sequence",line:"486",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}exclude"}]}]}]}]},{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|excluded-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|excluded-namespaces",C:[{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]}]}]}]},{N:"str",val:"http://www.w3.org/1999/XSL/Transform"}]}]}]},{N:"applyT",line:"492",mode:"Q{}attribute-sans-prefix",bSlot:"4",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"choose",line:"493",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"494",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"forEach",line:"496",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}, -{N:"att",line:"497",name:"defaultElementNS",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]},{N:"forEach",line:"499",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"},{N:"att",line:"500",name:"defaultCollation",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]}]}]}]}, -{N:"let",line:"502","var":"Q{}default-collation",as:"?NA",slot:"10",C:[{N:"choose",line:"503",C:[{N:"fn",line:"504",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]},{N:"att",line:"505",name:"defaultCollation",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]}]}]},{N:"true"},{N:"varRef",line:"508",name:"Q{}default-collation",slot:"1"}]}, -{N:"sequence",line:"512",C:[{N:"except",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"callT",line:"513",name:"Q{}record-location",bSlot:"5"},{N:"choose",line:"514",C:[{N:"and",line:"515",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"516",name:"empty", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"and",line:"518",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"519",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"},{N:"withParam",name:"Q{}default-collation",flags:"t", -as:"?NA",C:[{N:"varRef",line:"520",name:"Q{}default-collation",slot:"10"}]}]},{N:"true"},{N:"elem",line:"524",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"525",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets"}]},{N:"applyT",line:"529",flags:"c",bSlot:"-1",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}, -{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets,NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation],NA nQ{http://ns.saxonica.com/xslt/export}*]]"}]}]},{N:"applyT",line:"530",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA",C:[{N:"varRef",line:"531",name:"Q{}default-collation",slot:"10"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.0",seq:"378",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}message",flags:"s",line:"1561",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}message"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1562",C:[{N:"param", -name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"1563",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"1564",name:"Q{}default-collation", -slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"1566",name:"message",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"6"}]},{N:"att",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"XSLT-SEF-compiler.xsl", -line:"1565",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}message",flags:"a"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}]},{N:"varRef",line:"1568",name:"Q{}attr",slot:"0"},{N:"elem",line:"1569",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"applyT",line:"1570",mode:"Q{}create.xpath",bSlot:"7",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"1571",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]},{N:"callT",line:"1573",name:"Q{MyFunctions}AVT",bSlot:"8",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}terminate",C:[{N:"axis",line:"1574",name:"attribute",nodeTest:"NA nQ{}terminate"}]}, -{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"false"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"1576",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"9"},{N:"str",val:"terminate"}]}]}]}]}]},{N:"callT",line:"1578",name:"Q{MyFunctions}AVT",bSlot:"10",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}error-code",C:[{N:"axis",line:"1579",name:"attribute", -nodeTest:"NA nQ{}error-code"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"1582",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"11"},{N:"str",val:"error"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"389",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}output", -flags:"s",line:"1716",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"372",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"s",line:"99",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -line:"100",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"101",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}schedule-action"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"102",name:"Q{}attr", -slot:"0"},{N:"callT",line:"103",name:"Q{}record-location",bSlot:"12"},{N:"elem",line:"104",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}wait"},{N:"str",val:"0"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS", -C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"a"},{N:"treat",module:"lib.xsl", -line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"2",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", -C:[{N:"varRef",name:"Q{}node",slot:"1"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"2"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"1"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"2"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"forEach",line:"105",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}document"},{N:"callT",line:"106",name:"Q{}role-value-template",bSlot:"13"}]}, -{N:"choose",line:"108",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}document"}]},{N:"elem",line:"109",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"empty"}]}]},{N:"applyT",line:"111",mode:"Q{}sef",flags:"i",bSlot:"14",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]},{N:"choose",line:"112",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}http-request"}]},{N:"elem",line:"113",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}http-request"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"4",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"3"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"4"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"3"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"4"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", -seq:"171",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}assert",flags:"s",line:"104",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}assert"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"105",C:[{N:"param",name:"Q{}options",slot:"0",flags:"tr", -as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"106",name:"Q{}compiler.options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|compiler.options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|compiler.options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"107",name:"Q{}attr",slot:"2",as:"*NA",C:[{N:"empty", -role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"108",C:[{N:"or",line:"109",op:"or",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"enable-assertions"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}compiler.options",slot:"1"},{N:"str",val:"enable-assertions"}]}]},{N:"elem",line:"111",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef", -name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"15"}]},{N:"att",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"conditionals.xsl",line:"110",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}assert",flags:"a"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}]},{N:"varRef",line:"112",name:"Q{}attr",slot:"2"},{N:"callT",line:"113",name:"Q{}record-location",bSlot:"16"}, -{N:"applyT",line:"114",mode:"Q{}create.xpath",bSlot:"17",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"elem",line:"115",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"116",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"117",name:"message",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE", -bSlot:"18"}]},{N:"elem",line:"118",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"applyT",line:"119",mode:"Q{}create.xpath",bSlot:"19",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"120",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]},{N:"elem",line:"122",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", -C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"terminate"}]}]},{N:"callT",line:"123",name:"Q{MyFunctions}AVT",bSlot:"20",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}error-code",C:[{N:"axis",line:"124",name:"attribute",nodeTest:"NA nQ{}error-code"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9001"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"126",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check", -card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"21"},{N:"str",val:"error"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"elem",line:"132",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"270",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}map",flags:"s",line:"14",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}map"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"15",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"16",name:"MAP",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"17",C:[{N:"varRef", -name:"Q{}attr",slot:"0"},{N:"elem",line:"18",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"19",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"263",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}source-document",flags:"s",line:"17",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}source-document"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"18",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"19",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", -as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"20",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"21",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"elem",line:"22",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"doc"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT", -bSlot:"22"}]},{N:"choose",line:"23",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"24",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}source-document",flags:"a"},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}, -{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"callT",line:"26",name:"Q{MyFunctions}AVT",bSlot:"23",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}href",C:[{N:"axis",line:"27",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]}]},{N:"callT",line:"30",name:"Q{}sequence-constructor",bSlot:"24"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"154",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-match",flags:"s",line:"190", -module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-match"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"191",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem", -line:"192",name:"nextMatch",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"25"}]},{N:"varRef",line:"193",name:"Q{}attr",slot:"0"},{N:"callT",line:"194",name:"Q{}record-location",bSlot:"26"},{N:"applyT",line:"195",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"170",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}if", -flags:"s",line:"68",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}if"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check", -card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"71",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"72",C:[{N:"varRef",name:"Q{}attr",slot:"1"},{N:"callT",line:"73",name:"Q{}record-location",bSlot:"27"},{N:"applyT",line:"74",mode:"Q{}create.xpath", -bSlot:"28",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"choose",line:"75",C:[{N:"and",line:"76",op:"and",C:[{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}then,NA nQ{}else]"}]}]},{N:"sequence", -line:"77",C:[{N:"choose",C:[{N:"fn",line:"78",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}then"}]},{N:"applyT",line:"79",mode:"Q{}create.xpath",bSlot:"29",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}then"}]},{N:"true"},{N:"callT",line:"82",name:"Q{}sequence-constructor",bSlot:"30"}]},{N:"elem",line:"85",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"choose",line:"86",C:[{N:"fn",line:"87",name:"exists",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}else"}]},{N:"applyT",line:"88",mode:"Q{}create.xpath",bSlot:"31",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}else"}]},{N:"true"},{N:"elem",line:"91",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]},{N:"true"},{N:"sequence",line:"96",C:[{N:"callT",name:"Q{}sequence-constructor",bSlot:"32"},{N:"elem",line:"97",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"98",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"182",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"s",line:"241",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"242",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"243","var":"Q{}context",as:"1",slot:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"a"},{N:"let",line:"244","var":"Q{}errors",as:"*AS",slot:"2",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:tokenize", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}errors"},{N:"str",val:"*"}]}]}]}]}]}]}]},{N:"elem",line:"245",name:"catch",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"err",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}errors",slot:"2"},{N:"str",val:" "}]}]},{N:"att",line:"246",name:"errors",flags:"l",C:[{N:"fn",line:"247", -name:"string-join",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}errors",slot:"2"},{N:"choose",line:"248",C:[{N:"or",line:"249",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"dot",type:"1AS"}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"*:"}]}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"Q{"}]}]},{N:"dot",line:"250",type:"1AS"},{N:"fn",line:"252",name:"ends-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"}*"}]},{N:"fn",line:"253",name:"replace", -C:[{N:"let","var":"Q{}qname",as:"1AQ",slot:"3",C:[{N:"fn",name:"resolve-QName",C:[{N:"fn",name:"replace",C:[{N:"dot",type:"1AS"},{N:"str",val:"*$"},{N:"str",val:"Z"},{N:"str",val:""}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"fn",module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"3"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef", -name:"Q{}qname",slot:"3"}]}]}]},{N:"str",val:"Z$"},{N:"str",val:"*"},{N:"str",val:""}]},{N:"true"},{N:"let",line:"256","var":"Q{}qname",as:"1AQ",slot:"4",C:[{N:"fn",name:"resolve-QName",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"fn",module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"4"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName", -C:[{N:"varRef",name:"Q{}qname",slot:"4"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"varRef",line:"274",name:"Q{}attr",slot:"0"},{N:"applyT",line:"275",mode:"Q{}select.or.sequence",bSlot:"33",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"252",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key",flags:"s",line:"46",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",name:"Q{}make-sort-key",bSlot:"34",flags:"t"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"377",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback",flags:"s",line:"1555",module:"XSLT-SEF-compiler.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"163",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"s",line:"171",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"172",C:[{N:"ufCall",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"35",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"a"}]},{N:"applyT",line:"173",mode:"Q{}select.or.sequence",flags:"t",bSlot:"36",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"174",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"37"},{N:"str",val:"on-completion"}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.0",seq:"369",rank:"1",minImp:"0",slots:"4",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property",flags:"s",line:"48",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"49",C:[{N:"param",name:"Q{}xpath-default-namespace", -slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"50",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"51",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d", -namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}remove-property"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"52",name:"Q{}attr",slot:"1"},{N:"callT",line:"53",name:"Q{}record-location",bSlot:"38"},{N:"forEach",line:"54",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"55",name:"Q{}role-value-template",bSlot:"39"}]},{N:"elem",line:"58",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"ixsl:window()"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data", -diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash", -C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1733439693",bSlot:"40"}]}]}]}]},{N:"varRef",line:"59",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"151",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates", -flags:"s",line:"115",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"116",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"param",line:"117",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"118",name:"Q{}default-mode",slot:"2",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"elem",line:"119",name:"applyT",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"41"}]},{N:"callT",line:"120",name:"Q{}record-location",bSlot:"42"},{N:"applyT",line:"121",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}mode"}]}, -{N:"choose",line:"122",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"}]}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"},{N:"str",val:"#unnamed"}]}]},{N:"att",line:"123",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"}]}]},{N:"varRef",line:"125",name:"Q{}attr",slot:"0"},{N:"let",line:"126","var":"Q{}source", -as:"*NE",slot:"3",C:[{N:"choose",line:"127",C:[{N:"fn",line:"128",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"elem",line:"129",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"str",val:"node()"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates", -flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number", -type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"defaultedSelect",flags:"l",C:[{N:"str",val:""}]}]}]},{N:"true"},{N:"treat",line:"132",as:"NE",diag:"3|0|XTTE0570|source", -C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"43",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"sequence",line:"136",C:[{N:"choose",C:[{N:"fn",line:"137",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"138",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"varRef",line:"139",name:"Q{}source",slot:"3"}, -{N:"forEach",line:"140",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"141",name:"Q{}make-sort-key",bSlot:"44"}]}]}]},{N:"true"},{N:"varRef",line:"146",name:"Q{}source",slot:"3"}]},{N:"choose",line:"149",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt", -C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]}]},{N:"callT",line:"150",name:"Q{MyFunctions}AVT",bSlot:"45",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}separator",C:[{N:"axis",line:"151",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"152",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef", -name:"Q{}roles",bSlot:"46"},{N:"str",val:"separator"}]}]}]}]}]}]},{N:"applyT",line:"171",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"203",rank:"1",minImp:"0",slots:"12",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document",flags:"s",line:"23",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"24",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"25",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"26",name:"resultDoc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"47"}]},{N:"varRef",line:"27",name:"Q{}attr",slot:"0"},{N:"callT",line:"28",name:"Q{}record-location",bSlot:"48"},{N:"applyT",line:"29",mode:"Q{}sef",bSlot:"49",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}, -{N:"let",line:"31","var":"Q{}local-fixed-properties",as:"1FM k[AS]",slot:"2",C:[{N:"ifCall",line:"33",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"union",op:"|",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"50"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"convert", -from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"{"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]},{N:"ifCall",line:"35",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"output-version",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:"version"},{N:"true"}, -{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"applyT",line:"36",mode:"Q{}normalize-serialization-property",bSlot:"51",C:[{N:"dot",role:"select",type:"1NA"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"sequence",line:"41",C:[{N:"att",name:"local",flags:"l",C:[{N:"let","var":"Q{}map",as:"1FM",slot:"3",C:[{N:"varRef",name:"Q{}local-fixed-properties",slot:"2"},{N:"convert",line:"196",from:"AZ", -to:"AS",flags:"p",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}map",slot:"3"}]},{N:"let",line:"197","var":"Q{}value",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"varRef",name:"Q{}map",slot:"3"},{N:"dot",type:"1A"}]},{N:"valueOf",line:"199",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"choose",line:"198",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"item-separator"}]},{N:"fn",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"check", -card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"4"}]}]}]}]},{N:"str",val:"%"},{N:"str",val:"%%"},{N:"str",val:""}]},{N:"str",val:"\n"},{N:"str",val:"%n"},{N:"str",val:""}]},{N:"true"},{N:"varRef",line:"199",name:"Q{}value",slot:"4"}]}]}]},{N:"str",val:"\n"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]},{N:"let",line:"44","var":"Q{}formatExpr", -as:"?NE",slot:"5",C:[{N:"choose",line:"45",C:[{N:"fn",line:"46",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"empty"},{N:"castable",line:"47",flags:"a",as:"1ASNTN",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]}]},{N:"elem",line:"48",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"format"}]},{N:"att",name:"val",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName", -tailCall:"false",bSlot:"52",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}result-document",flags:"a"},{N:"str",val:"XTSE0010"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]}]}]},{N:"true"},{N:"callT",line:"54",name:"Q{MyFunctions}AVT", -bSlot:"53",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}format",C:[{N:"axis",line:"55",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"56",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"54"},{N:"str",val:"format"}]}]}]}]}]}]},{N:"let",line:"62","var":"Q{}decl",as:"?NE nQ{http://ns.saxonica.com/xslt/export}output",slot:"6",C:[{N:"choose", -line:"64",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"let",line:"65","var":"Q{}formatName",as:"?NA",slot:"7",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]},{N:"let",line:"66","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"8",flags:"l",C:[{N:"data",diag:"1|1||eq",C:[{N:"varRef", -name:"Q{}formatName",slot:"7"}]},{N:"treat",as:"NE nQ{http://ns.saxonica.com/xslt/export}output",diag:"3|0|XTTE0570|decl",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|decl",C:[{N:"filter",flags:"",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"output-declarations"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"attVal",name:"Q{}name"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]}]}]}]}]}]}, -{N:"fn",line:"68",name:"empty",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"}]},{N:"treat",line:"69",as:"NE nQ{http://ns.saxonica.com/xslt/export}output",diag:"3|0|XTTE0570|decl",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|decl",C:[{N:"filter",flags:"b",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"output-declarations"}]},{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]}, -{N:"sequence",line:"75",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}decl",slot:"6"}]},{N:"att",line:"83",name:"global",flags:"l",C:[{N:"let",line:"78","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"+AS",slot:"9",flags:"l",C:[{N:"sequence",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"55"},{N:"str",val:"use-character-maps"}]},{N:"let","var":"Q{}map",as:"1FM",slot:"10",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach", -C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}decl",slot:"6"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}property"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"},{N:"attVal",name:"Q{}name"}]}]},{N:"ifCall",line:"79",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"}, -{N:"str",val:"output-version"}]},{N:"str",val:"version"},{N:"true"},{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"convert",line:"196",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:makeProperties#1", -C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}map",slot:"10"}]},{N:"let",line:"197","var":"Q{}value",slot:"11",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}map",slot:"10"},{N:"dot",type:"1A"}]},{N:"valueOf",line:"199",C:[{N:"fn",name:"concat", -C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"choose",line:"198",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"item-separator"}]},{N:"fn",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace", -C:[{N:"varRef",name:"Q{}value",slot:"11"}]}]}]},{N:"str",val:"%"},{N:"str",val:"%%"},{N:"str",val:""}]},{N:"str",val:"\n"},{N:"str",val:"%n"},{N:"str",val:""}]},{N:"true"},{N:"varRef",line:"199",name:"Q{}value",slot:"11"}]}]}]},{N:"str",val:"\n"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]}]}]},{N:"choose",line:"86",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]},{N:"callT",line:"87",name:"Q{MyFunctions}AVT",bSlot:"56",C:[{N:"withParam",name:"Q{}avt-string",flags:"c", -as:"?NA nQ{}href",C:[{N:"axis",line:"88",name:"attribute",nodeTest:"NA nQ{}href"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"89",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"57"},{N:"str",val:"href"}]}]}]}]}]}]},{N:"choose",line:"93",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"copyOf",line:"94",flags:"c",C:[{N:"varRef",name:"Q{}formatExpr", -slot:"5"}]}]},{N:"forEach",line:"97",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"58"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"{"}]}]}]}, -{N:"callT",line:"98",name:"Q{MyFunctions}AVT",bSlot:"59",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"1NA",C:[{N:"dot",line:"99",type:"1NA"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"1NA",C:[{N:"att",line:"101",name:"role",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{}"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"callT",line:"106",name:"Q{}sequence-constructor",bSlot:"60",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"107",as:"NA",diag:"8|0|XTTE0590|attr", -C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"61"},{N:"str",val:"content"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"224",rank:"2",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"s",as:"1NE",line:"394",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"394",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"395",card:"1",diag:'7|0|XTTE0505|match="xsl:copy[@select]" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"396",name:"Q{}xsl-version",slot:"1",flags:"t",as:"1AD",C:[{N:"dec",role:"select",val:"3"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|xsl-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|xsl-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|xsl-version",C:[{N:"data",diag:"8|0|XTTE0590|xsl-version",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"397",name:"Q{}attr",slot:"2", -as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"398",C:[{N:"vc",line:"399",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}xsl-version",slot:"1"},{N:"dec",val:"3"}]},{N:"elem",line:"400",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"401",C:[{N:"varRef",name:"Q{}attr",slot:"2"},{N:"applyT",line:"402",mode:"Q{}create.xpath",bSlot:"62",C:[{N:"axis", -role:"select",name:"attribute",nodeTest:"NA nQ{}select"},{N:"withParam",name:"Q{}checkType",as:"1AS",C:[{N:"str",val:"?"}]},{N:"withParam",name:"Q{}diagnostic",as:"1NA",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -name:"Q{http://saxon.sf.net/generated-variable}gg330224683",bSlot:"63"}]}]}]},{N:"elem",line:"406",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"str", -val:"in"}]}]},{N:"callT",line:"408",name:"Q{}record-location",bSlot:"64"},{N:"callT",line:"409",name:"Q{}sequence-constructor",bSlot:"65"}]}]}]}]},{N:"true"},{N:"elem",line:"414",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]}, -{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"str",val:"in"}]}]},{N:"varRef",line:"415",name:"Q{}attr",slot:"2"},{N:"callT",line:"416",name:"Q{}record-location",bSlot:"66"},{N:"callT",line:"418",name:"Q{}sequence-constructor",bSlot:"67"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"225",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"s",as:"1NE",line:"423",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"424",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"425",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}, -{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"i"}]},{N:"str",val:"n"}]}]},{N:"varRef",line:"426",name:"Q{}attr",slot:"0"},{N:"callT",line:"427",name:"Q{}record-location",bSlot:"68"},{N:"elem",line:"428",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"429",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}]},{N:"applyT",line:"430",mode:"Q{}select.or.sequence",bSlot:"69", -C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"219",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace",flags:"s",as:"1NE",line:"242",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"243",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"244",name:"namespace",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_NAMESPACE",bSlot:"70"}]},{N:"varRef",line:"245",name:"Q{}attr",slot:"0"},{N:"forEach",line:"246",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}, -{N:"callT",line:"247",name:"Q{}value-template",bSlot:"71"}]},{N:"callT",line:"249",name:"Q{}constructSimpleContent",bSlot:"72"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"257",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}fork",flags:"s",line:"15",module:"splitting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}fork"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"17",name:"fork",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"18",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"19",name:"Q{}sequence-constructor",bSlot:"73"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"260",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring", -flags:"s",line:"66",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"67",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"matching"}]}, -{N:"choose",line:"68",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"69",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"applyT",line:"71",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"211",rank:"2",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"s",as:"1NE",line:"31",module:"creating-new-nodes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"31",op:"or",C:[{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}namespace"}]}]},{N:"str", -val:"{"}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:"{"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"32",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat", -role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"33",name:"compElem",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ELEMENT",bSlot:"74"}]},{N:"varRef",line:"34",name:"Q{}attr",slot:"0"},{N:"callT",line:"36",name:"Q{}record-location",bSlot:"75"},{N:"choose",line:"37",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"38",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"forEach",line:"40",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"callT",line:"41",name:"Q{}role-value-template",bSlot:"76"}]},{N:"let",line:"43","var":"Q{}content",as:"*NE",slot:"1",C:[{N:"treat",line:"44",as:"NE",diag:"3|0|XTTE0570|content",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"sequence", -role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]},{N:"choose",line:"46",C:[{N:"fn",line:"47",name:"empty",C:[{N:"varRef",name:"Q{}content",slot:"1"}]},{N:"elem",line:"48",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"lookup",line:"49",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"77"},{N:"str",val:"content"}]}]},{N:"compareToInt",line:"52",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn", -name:"subsequence",C:[{N:"varRef",name:"Q{}content",slot:"1"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"55","var":"Q{http://saxon.sf.net/generated-variable}v0",slot:"2",flags:"l",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"78"},{N:"str",val:"content"}]},{N:"forEach",line:"53",C:[{N:"varRef",name:"Q{}content",slot:"1"},{N:"copy",line:"54",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"55",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", -slot:"2"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"elem",line:"60",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"61",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"79"},{N:"str",val:"content"}]},{N:"varRef",name:"Q{}content",slot:"1"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"212",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"s",as:"1NE",line:"69",module:"creating-new-nodes.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"70",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"71","var":"Q{}name", -as:"1AS",slot:"1",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"74","var":"Q{}ns",as:"1FM",slot:"2",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"namespaces.xsl",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"creating-new-nodes.xsl",line:"72",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}element", -flags:"a"},{N:"first",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"namespaces.xsl",line:"165",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"3",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"4",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"3"},{N:"choose",C:[{N:"compareToString", -op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"80"},{N:"varRef",name:"Q{}prefix",slot:"3"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"4"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"elem",line:"76",name:"elem",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type",flags:"l",C:[{N:"str",val:"element()"}]},{N:"varRef",line:"77",name:"Q{}attr",slot:"0"},{N:"let",line:"78","var":"Q{}parts",as:"*AS",slot:"5",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]},{N:"sequence",line:"79",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA nQ{http://ns.saxonica.com/xslt/export}*,NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS]"}]}, -{N:"applyT",line:"80",mode:"Q{}attribute-sans-prefix",bSlot:"81",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]},{N:"att",line:"86",name:"name",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]}]},{N:"str",val:""}]},{N:"lastOf",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]},{N:"true"},{N:"varRef",name:"Q{}name", -slot:"1"}]}]},{N:"att",line:"87",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ELEMENT",bSlot:"82"}]},{N:"applyT",line:"88",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"choose",line:"89",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"90",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"let",line:"92", -"var":"Q{}prefix",as:"1AS",slot:"6",C:[{N:"choose",line:"93",C:[{N:"compareToInt",line:"94",op:"eq",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"choose",line:"95",C:[{N:"castable",line:"96",flags:"a",as:"1ASNTNC",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]},{N:"convert",line:"96",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|prefix",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|prefix", -C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]}]}]}]},{N:"true"},{N:"convert",line:"97",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|prefix",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|prefix",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"83",C:[{N:"str",val:"XTDE0820"},{N:"fn", -name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'Invalid prefix "'},{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"true"},{N:"str",val:""}]},{N:"sequence",line:"108",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"att",line:"115",name:"nsuri",flags:"l",C:[{N:"fn", -name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"choose",line:"114",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}ns",slot:"2"},{N:"varRef",name:"Q{}prefix",slot:"6"}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"6"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"a"}]}]}]}]}]}, -{N:"str",val:" "}]}]}]},{N:"applyT",line:"118",mode:"Q{}attribute-sans-prefix",bSlot:"84",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"callT",line:"120",name:"Q{}record-location",bSlot:"85"},{N:"callT",line:"121",name:"Q{}sequence-constructor", -bSlot:"86",C:[{N:"withParam",name:"Q{}others",flags:"c",as:"*NE",C:[{N:"treat",line:"123",as:"NE",diag:"3|0|XTTE0570|others",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"367",rank:"1",minImp:"0",slots:"4",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute",flags:"s",line:"14",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"15",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param", -line:"16",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"17",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}remove-attribute"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"18",name:"Q{}attr",slot:"1"}, -{N:"callT",line:"19",name:"Q{}record-location",bSlot:"87"},{N:"forEach",line:"20",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"21",name:"Q{}role-value-template",bSlot:"88"}]},{N:"elem",line:"24",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"}, -{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", -val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -name:"Q{http://saxon.sf.net/generated-variable}gg418646126",bSlot:"89"}]}]}]}]},{N:"varRef",line:"25",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"265",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule",flags:"s",line:"52",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"53",name:"accRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"5"}]},{N:"applyT",line:"54",mode:"Q{}create.xpath",bSlot:"90",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"applyT",line:"55",mode:"Q{}select.or.sequence",bSlot:"91",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"168", -rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}when",flags:"s",line:"41",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}when"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM", -C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"applyT",line:"43",mode:"Q{}create.xpath",bSlot:"92",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"choose",line:"44",C:[{N:"vc",line:"45",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context", -slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"applyT",line:"46",mode:"Q{}select.or.sequence",flags:"t",bSlot:"93",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}when",flags:"a"}]},{N:"true"},{N:"callT",line:"49",name:"Q{}sequence-constructor",bSlot:"94",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"240",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"s",line:"123",module:"sorting.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"123",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]}]},{N:"sequence", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"124",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"125",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"126",name:"Q{}attr",slot:"0"}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"239",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"s",line:"115",module:"sorting.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"115", -name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"116",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"117",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",line:"118",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"119",mode:"Q{}create.xpath",bSlot:"95",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"120",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"241",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort", -flags:"s",line:"129",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"ufCall",line:"131",name:"Q{MyFunctions}check-sort",tailCall:"false",bSlot:"96",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"a"}]},{N:"elem",line:"132",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"133",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"elem",line:"135",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"136",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", -name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]},{N:"applyT",line:"138",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"166",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose",flags:"s",line:"16",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"17",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"18",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type", -flags:"l",C:[{N:"str",val:"item()*"}]},{N:"varRef",line:"19",name:"Q{}attr",slot:"0"},{N:"callT",line:"20",name:"Q{}record-location",bSlot:"97"},{N:"applyT",line:"21",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]},{N:"choose",line:"22",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"}]},{N:"sequence",line:"23",C:[{N:"elem",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}, -{N:"elem",line:"24",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"221",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",as:"*NE",line:"264",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"264",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"265",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]}, -{N:"let",line:"266","var":"Q{}attrs",as:"*NA",slot:"1",C:[{N:"sequence",line:"267",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"choose",line:"268",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"269",name:"flags",C:[{N:"str",val:"d"}]}]},{N:"treat",line:"271",as:"NA",diag:"3|0|XTTE0570|attrs",C:[{N:"applyT",mode:"Q{}attribute-sans-prefix", -bSlot:"98",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}]}]},{N:"treat",line:"274",as:"NE",diag:'7|0|XTTE0505|match="xsl:text[normalize-space()]" mode="sef"',C:[{N:"applyT",flags:"ct",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NT"}, -{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"275",name:"Q{}attrs",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"220",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",as:"1NE",line:"253",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"254",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"255",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"99"}]},{N:"choose",line:"256",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"257",name:"flags",flags:"l",C:[{N:"str",val:"d"}]}]},{N:"varRef",line:"259",name:"Q{}attr",slot:"0"},{N:"elem",line:"260",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"244",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"s",line:"17",module:"grouping.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"18",C:[{N:"param",name:"Q{}default-collation", -slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"19",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"callT",line:"20",name:"Q{}check-select",bSlot:"100"},{N:"ufCall",line:"21",name:"Q{MyFunctions}check-sort", -tailCall:"false",bSlot:"101",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]},{N:"let",line:"22","var":"Q{}key",as:"*NA",slot:"2",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-by"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-starting-with"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-ending-with"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-adjacent"}]},{N:"elem",line:"31",name:"forEachGroup",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"algorithm",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"slash",C:[{N:"varRef",name:"Q{}key",slot:"2"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"group-|-with"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"choose",line:"32",C:[{N:"choose",line:"29",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false", -bSlot:"102",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]},{N:"true"},{N:"false"}]},{N:"att",line:"33",name:"flags",flags:"l",C:[{N:"str",val:"c"}]}]},{N:"varRef",line:"35",name:"Q{}attr",slot:"1"},{N:"callT",line:"36",name:"Q{}record-location",bSlot:"103"},{N:"let",line:"37","var":"Q{}source",as:"*NE",slot:"3",C:[{N:"treat",line:"38",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"104",C:[{N:"axis", -role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"sequence",line:"40",C:[{N:"choose",C:[{N:"compareToInt",line:"41",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"45","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?NA",slot:"4",flags:"l",C:[{N:"treat",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role", -C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"105"},{N:"str",val:"sort"}]}]}]},{N:"sequence",line:"42",C:[{N:"varRef",name:"Q{}source",slot:"3"},{N:"forEach",line:"43",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"44",name:"Q{}make-sort-key",bSlot:"106",C:[{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"varRef",line:"45",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"4"}]}]}]}]}]},{N:"fn",line:"49",name:"exists",C:[{N:"axis", -name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"50",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"varRef",line:"51",name:"Q{}source",slot:"3"},{N:"forEach",line:"52",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"53",name:"Q{}make-sort-key",bSlot:"107"}]}]}]},{N:"true"},{N:"varRef",line:"58",name:"Q{}source", -slot:"3"}]},{N:"applyT",line:"61",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}key",slot:"2"}]},{N:"callT",line:"62",name:"Q{}sequence-constructor",bSlot:"108",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"63",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"109"},{N:"str",val:"content"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"174",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty", -flags:"s",line:"153",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"154",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"elem",line:"155",name:"onNonEmpty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"156",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"157",mode:"Q{}select.or.sequence",bSlot:"110",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"371",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"s", -line:"81",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"82",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"83",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"84",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-style"}]}, -{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"85",name:"Q{}attr",slot:"1"},{N:"callT",line:"86",name:"Q{}record-location",bSlot:"111"},{N:"forEach",line:"87",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"88",name:"Q{}role-value-template",bSlot:"112"}]},{N:"elem",line:"91",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", -val:"1AS"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -name:"Q{http://saxon.sf.net/generated-variable}gg2078175306",bSlot:"113"}]}]}]}]}]}]},{N:"elem",line:"93",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI", -to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"a"},{N:"treat",module:"lib.xsl", -line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", -C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg19873741",bSlot:"114"}]}]}]}]},{N:"varRef", -line:"94",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"268",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"s",line:"14",module:"key.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"15",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"16",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation", -C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"17",name:"Q{}xpath-default-namespace",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"18",name:"Q{}options",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check", -card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"3"}]}]}]},{N:"let",line:"19","var":"Q{}composite",as:"1AB",slot:"4",C:[{N:"treat",as:"AB",diag:"3|0|XTTE0570|composite",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|composite",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|composite",C:[{N:"data",diag:"3|0|XTTE0570|composite",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]}]},{N:"elem",line:"21",name:"key",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"115",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"a"}]}]},{N:"att",name:"binds",flags:"l",C:[{N:"str", -val:""}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"u"},{N:"fn",name:"string",C:[{N:"filter",flags:"ip",C:[{N:"str",val:"b"},{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"backward-compatibility"}]}]}]},{N:"fn",name:"string",C:[{N:"filter",flags:"ib",C:[{N:"str",val:"c"},{N:"varRef",name:"Q{}composite",slot:"4"}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", -diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let","var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1", -C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58", -name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"116"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]}, -{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"choose",line:"22",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"3"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"23",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"forEach", -line:"25",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"},{N:"varRef",name:"Q{}default-collation",slot:"1"}]}]},{N:"att",line:"26",name:"collation",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"callT",line:"28",name:"Q{}record-location",bSlot:"117"},{N:"elem",line:"29",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"match"}]}, -{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]}]},{N:"varRef",line:"30",name:"Q{}xpath-default-namespace",slot:"2"}]}]},{N:"elem",line:"32",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"use"}]},{N:"choose",line:"33",C:[{N:"fn",line:"34",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"elem",line:"35", -name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"36",mode:"Q{}create.xpath",bSlot:"118",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"true"},{N:"applyT",line:"40",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"238",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort",flags:"s",line:"111",module:"sorting.xsl", -C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"}]},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"112",name:"Q{}make-sort-key",bSlot:"119",flags:"t"}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"237",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort",flags:"s",line:"108",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"109",name:"Q{}make-sort-key",bSlot:"120",flags:"t"}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"161",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"s",line:"144",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"145", -C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"ufCall",line:"146",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"121",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"a"}]},{N:"ufCall",line:"146",name:"Q{MyFunctions}check-tail-position",tailCall:"false",bSlot:"122",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration", -flags:"a"}]},{N:"let",line:"147","var":"Q{}iteration-params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"1",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"let",line:"149","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"*AZ",slot:"2",flags:"l",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}iteration-params",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",line:"148",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"choose",line:"149",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"attVal",name:"Q{}name"}]}]}, -{N:"ufCall",line:"152",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"123",C:[{N:"str",val:"XTSE3130"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:next-iteration parameter '"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"' is not a parameter of the enclosing xsl:iterate"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]}]}]},{N:"elem",line:"155",name:"nextIteration",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -line:"156",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"157",name:"Q{}record-location",bSlot:"124"},{N:"applyT",line:"158",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"381",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",flags:"s",as:"1NE",line:"1599",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}, -{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1602",name:"glob",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"use",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"str",val:"absent"}]}, -{N:"str",val:"pro"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"str",val:"required"}]},{N:"str",val:"req"},{N:"true"},{N:"str",val:"opt"}]}]},{N:"att",name:"code",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",line:"1603",name:"cxt",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, -{N:"str",val:"1"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"383",rank:"2",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1616",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1616",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1617",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"1619","var":"Q{}has-uniform-static-context",as:"1AB",slot:"1",C:[{N:"ufCall",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"125",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}, -{N:"elem",line:"1620",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"1"}]}]},{N:"elem",line:"1622",name:"globalParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"126"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf", -C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose",line:"1623",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1624",name:"baseUri",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"choose",line:"1626",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]},{N:"str",val:"true"}]},{N:"att",line:"1627",name:"flags",flags:"l",C:[{N:"str",val:"r"}]}]},{N:"choose",line:"1629",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}implicit-mandatory"}]},{N:"str",val:"true"}]},{N:"att",line:"1630",name:"flags",flags:"l",C:[{N:"str",val:"i"}]}]},{N:"att",line:"1632",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"axis",line:"1633",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"1634",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -"var":"Q{}context",as:"1NE",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, -{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"axis",name:"namespace", -nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"127"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, -{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1635",mode:"Q{}param.type",bSlot:"128",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"applyT",line:"1637",mode:"Q{}select.or.sequence",bSlot:"129",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"varRef",line:"1639",name:"Q{}has-uniform-static-context",slot:"1"}]}]}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"195",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"155",module:"callable-components.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"157",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]},{N:"str",val:"false"}]},{N:"ufCall",line:"162",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"130",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"@required can only be yes|true|1 on parameter "},{N:"data", -diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" of function "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:"()"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"elem",line:"165",name:"arg",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att", -name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"172","var":"Q{}alphacode",slot:"0",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"131",C:[{N:"treat", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"callable-components.xsl",line:"172",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type",C:[{N:"data",diag:"0|0||f:parse-sequence-type",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]}]}]},{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"callable-components.xsl",line:"172",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"str",val:""}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"132"}]},{N:"sequence",line:"173",C:[{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}alphacode",slot:"0"},{N:"str",val:" "}]}]},{N:"att",line:"174",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}alphacode",slot:"0"},{N:"str",val:" "}]}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"131",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"981",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"981",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"981",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"133",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]}]},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"981",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"fn",name:"not",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"134",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]}]}]}]}]},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"981", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"982",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"135",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"required xsl:param "},{N:"data", -diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"129",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"975",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}, -{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"975",name:"not",C:[{N:"ufCall",name:"Q{MyFunctions}isTopLevel",tailCall:"false",bSlot:"136",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"975",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"976",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"137",C:[{N:"str",val:"XTSE0580"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, -{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"188",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"29",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"30",name:"PARAMDEF",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"32",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}required"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"33",name:"Q{}record-location",bSlot:"138"},{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"139",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"35",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"140"},{N:"str",val:"select"}]}]},{N:"withParam",name:"Q{}has-uniform-static-context", -flags:"t",as:"1AB",C:[{N:"ufCall",line:"36",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"141",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"198",rank:"2",minImp:"0",slots:"11",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"s",as:"1NE",line:"217",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"217",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"218",card:"1",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"', -C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"219",name:"Q{}named-template-signatures",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"220",name:"Q{}static-context", -slot:"2",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"2"}]}]}]},{N:"let",line:"221","var":"Q{}name",as:"1AS",slot:"3",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|name",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|name",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|name",C:[{N:"data",diag:"3|0|XTTE0570|name",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]}]}]},{N:"choose",line:"222",C:[{N:"ifCall",line:"223",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"1"},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"let",line:"224","var":"Q{}signature",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"1"},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"let",line:"227", -"var":"Q{}supplied.params",as:"*AS",slot:"5",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|supplied.params",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|supplied.params",C:[{N:"data",diag:"3|0|XTTE0570|supplied.params",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}tunnel"}]},{N:"str",val:"true"}]}]}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"228","var":"Q{}template",as:"1FM",slot:"6",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|template",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|template",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}signature",slot:"4"},{N:"str",val:"params"}]}]}]},{N:"let",line:"229","var":"Q{}param.names",as:"*A",slot:"7",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}template",slot:"6"}]},{N:"let", -line:"231","var":"Q{}unknown.params",as:"*AS",slot:"8",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}supplied.params",slot:"5"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}param.names",slot:"7"},{N:"dot",type:"1AS"}]}]}]},{N:"let",line:"232","var":"Q{}unsupplied.params",as:"*AS",slot:"9",C:[{N:"filter",flags:"b",C:[{N:"convert",line:"230",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|required.params", -C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|required.params",C:[{N:"filter",flags:"p",C:[{N:"varRef",name:"Q{}param.names",slot:"7"},{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}template",slot:"6"},{N:"dot",type:"1A"}]},{N:"str",val:"required"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}supplied.params",slot:"5"},{N:"dot",type:"1AS"}]}]}]},{N:"choose",line:"233",C:[{N:"and",line:"234", -op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"}]},{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"backward-compatibility"}]}]}]},{N:"let",line:"238","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"10",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"}]}]},{N:"sequence",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"', -C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"142",C:[{N:"str",val:"XTSE0680"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" does not declare parameter"}]},{N:"filter",flags:"ib",C:[{N:"str",val:"s"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"10"}]}]},{N:"str",val:" "}]},{N:"fn", -name:"string-join",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"},{N:"str",val:", "}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"239",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]},{N:"fn",line:"241",name:"exists",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"}]},{N:"sequence",line:"247",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"',C:[{N:"ufCall", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"143",C:[{N:"str",val:"XTSE0690"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"A call to named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" requires "}]},{N:"cast",line:"242",flags:"a",as:"1AZ",C:[{N:"choose",C:[{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"}, -{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"str",val:"a supplied value for "},{N:"true"},{N:"str",val:"supplied values for\n "}]}]}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"},{N:"str",val:", "}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"248",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]},{N:"true"},{N:"elem",line:"251",name:"callT", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"bSlot",flags:"l",C:[{N:"str",val:"??"}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}signature",slot:"4"},{N:"str",val:"typeJ"}]}]}]}]},{N:"str",val:" "}]}]},{N:"axis",line:"252",name:"attribute",nodeTest:"NA nQ{}name"},{N:"varRef",line:"253",name:"Q{}attr",slot:"0"},{N:"callT",line:"254",name:"Q{}record-location", -bSlot:"144"},{N:"applyT",line:"255",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"261",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"',C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"145",C:[{N:"str",val:"XTSE0650"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" does not exist"}]}, -{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"262",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"253",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action",flags:"s",line:"49",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action"},{N:"applyT",role:"action", -ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50",mode:"Q{}select.or.sequence",flags:"t",bSlot:"146",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"51",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"147"},{N:"str",val:"action"}]}]}]}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"192",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate",flags:"s",line:"15",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr", -slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"17",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"18",name:"Q{}default-collation",slot:"2",flags:"t", -as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"26",name:"evaluate",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -"var":"Q{}context",as:"1NE",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, -{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"namespace", -nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"148"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, -{N:"str",val:" "}]}]}]}]},{N:"varRef",line:"27",name:"Q{}attr",slot:"0"},{N:"att",line:"28",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"att",line:"29",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"149",C:[{N:"choose",line:"25",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}, -{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"150",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"151"}]}]}]},{N:"callT",line:"31",name:"Q{}record-location",bSlot:"152"}, -{N:"choose",line:"32",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]},{N:"str",val:"http://www.w3.org/1999/xhtml"}]}]},{N:"att",line:"33",name:"dxns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]}]},{N:"elem",line:"35",name:"cast",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"str",val:"AS"}]},{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"a"}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"xpath"}]},{N:"elem",line:"36",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"37",mode:"Q{}create.xpath",bSlot:"153",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]},{N:"elem",line:"40",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", -C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"sa"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"no"}]}]}]},{N:"choose",line:"41",C:[{N:"fn",line:"42",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}context-item"}]},{N:"applyT",line:"43",mode:"Q{}create.xpath",bSlot:"154",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}context-item"}]},{N:"true"},{N:"elem",line:"46",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role", -flags:"l",C:[{N:"str",val:"cxt"}]}]}]},{N:"choose",line:"49",C:[{N:"fn",line:"50",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}with-params"}]},{N:"applyT",line:"51",mode:"Q{}create.xpath",bSlot:"155",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}with-params"}]},{N:"true"},{N:"elem",line:"54",name:"map",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"wp"}]}]}]},{N:"choose",line:"57",C:[{N:"fn",line:"58",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace-context"}]},{N:"applyT",line:"59",mode:"Q{}create.xpath",bSlot:"156",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}namespace-context"}]}]},{N:"applyT",line:"62",mode:"Q{}create.xpath",bSlot:"157",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://saxon.sf.net/}options"}]},{N:"choose",line:"64",C:[{N:"fn",line:"65",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}base-uri"}]},{N:"let",line:"66","var":"Q{}temp", -as:"1NE",slot:"4",C:[{N:"check",line:"67",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}base-uri"},{N:"callT",line:"68",name:"Q{}value-template",bSlot:"158"}]}]},{N:"forEach",line:"71",C:[{N:"varRef",name:"Q{}temp",slot:"4"},{N:"copy",line:"72",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"73",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"159"},{N:"str",val:"baseUri"}]},{N:"axis",name:"child", -nodeTest:"NE"}]}]}]}]}]},{N:"applyT",line:"78",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"169",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise",flags:"s",line:"55",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"56",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"57",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]},{N:"choose",line:"58",C:[{N:"vc",line:"59",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?", -diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"applyT",line:"60",mode:"Q{}select.or.sequence",flags:"t",bSlot:"160",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise",flags:"a"}]},{N:"true"},{N:"callT",line:"63",name:"Q{}sequence-constructor",bSlot:"161",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"368",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute", -flags:"s",line:"30",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"31",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"32",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"33",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-attribute"}]}, -{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"34",name:"Q{}attr",slot:"1"},{N:"callT",line:"35",name:"Q{}record-location",bSlot:"162"},{N:"forEach",line:"36",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"37",name:"Q{}role-value-template",bSlot:"163"}]},{N:"elem",line:"40",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", -val:"1AS"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -name:"Q{http://saxon.sf.net/generated-variable}gg271588719",bSlot:"164"}]}]}]}]}]}]},{N:"elem",line:"42",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI", -to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute",flags:"a"},{N:"treat",module:"lib.xsl", -line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", -C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1557557661",bSlot:"165"}]}]}]}]},{N:"varRef", -line:"43",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"155",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports",flags:"s",line:"199",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"200",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"201",name:"applyImports",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"166"}]},{N:"varRef",line:"202",name:"Q{}attr",slot:"0"},{N:"callT",line:"203",name:"Q{}record-location",bSlot:"167"},{N:"applyT", -line:"204",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"139",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"1009",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"1009",flags:"",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"data",diag:"1|1||eq",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"1010",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"168",C:[{N:"str",val:"XTSE0670"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:with-param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"190",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", -flags:"s",line:"41",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}named-template-signatures",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"44",name:"withParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"45",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose",line:"46",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]}]}, -{N:"str",val:"true"}]},{N:"att",line:"47",name:"flags",flags:"l",C:[{N:"str",val:"t"}]}]},{N:"choose",line:"49",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}]},{N:"let",line:"50","var":"Q{}param",slot:"1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:'21|0||map:get(...) ? "params"',C:[{N:"check",card:"1",diag:'21|0||map:get(...) ? "params"',C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:"params"}]}]}]},{N:"arrayBlock",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"52",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"1"},{N:"str",val:"type"}]}, -{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"1"},{N:"str",val:"typeJ"}]}]}]}]},{N:"choose",line:"54",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"}]},{N:"slash",line:"57",simple:"2",C:[{N:"let",line:"55","var":"Q{http://saxon.sf.net/generated-variable}current1896874222",as:"1",slot:"2",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"?AZ",slot:"3",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1896874222",slot:"2"},{N:"attVal",name:"Q{}name"}]},{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}, -{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}as,NA nQ{http://ns.saxonica.com/xslt/export}asJ]"}]}]},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"60",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}, -{N:"att",line:"61",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"choose",line:"63",C:[{N:"and",line:"64",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"65",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att", -name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"169"}]},{N:"applyT",line:"66",mode:"Q{}select.or.sequence",bSlot:"170",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]},{N:"true"},{N:"applyT",line:"70",mode:"Q{}select.or.sequence",bSlot:"171",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"218",rank:"2",minImp:"0", -slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction",flags:"s",as:"1NE",line:"224",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"224",name:"matches",C:[{N:"convert",from:"AZ", -to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:"\\{"},{N:"str",val:""}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"225",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr", -C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"226",name:"procInst",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",bSlot:"172"}]},{N:"varRef",line:"227",name:"Q{}attr",slot:"0"},{N:"let",line:"228","var":"Q{}nameAVT",as:"1NE",slot:"1",C:[{N:"check",line:"229",card:"1",diag:"3|0|XTTE0570|nameAVT",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"230", -name:"Q{}value-template",bSlot:"173"}]}]},{N:"sequence",line:"233",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}nameAVT",slot:"1"},{N:"copy",line:"234",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"235",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"174"},{N:"str",val:"name"}]},{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"callT",line:"238",name:"Q{}constructSimpleContent",bSlot:"175"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"217", -rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction",flags:"s",as:"1NE",line:"215",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"216",C:[{N:"param",name:"Q{}attr", -slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"217",name:"procInst",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",bSlot:"176"}]},{N:"varRef",line:"218",name:"Q{}attr",slot:"0"},{N:"elem",line:"219",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att", -name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"callT",line:"220",name:"Q{}constructSimpleContent",bSlot:"177"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"380",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"s",as:"*NA",line:"1595",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}, -{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1596",name:"cxt",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"str",val:"1"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"147",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode",flags:"s",line:"30",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"31",C:[{N:"param",name:"Q{}xsl-version",slot:"0",flags:"t", -C:[{N:"dec",role:"select",val:"3"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"32",name:"Q{}compiler.options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|compiler.options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|compiler.options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"33",name:"Q{}precedence-map",slot:"2",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]", -diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"45",name:"mode",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"onNo",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}on-no-match",bSlot:"178"},{N:"atomSing",diag:"0|1||map:get",C:[{N:"first",C:[{N:"sequence", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}on-no-match"},{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}warning-on-no-match"}]},{N:"str",val:"true"}]},{N:"str",val:"+W"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"or",line:"38",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}on-multiple-match"}]},{N:"str",val:"fail"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}compiler.options",slot:"1"},{N:"str",val:"on-multiple-match"}]}]},{N:"str",val:"error"}]}]},{N:"str",val:"F"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}typed"}]},{N:"str",val:"true"}]},{N:"str",val:"t"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}untyped"}]},{N:"str",val:"true"}]},{N:"str",val:"u"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}warning-on-multiple-match"}]},{N:"str",val:"true"}]}, -{N:"str",val:"W"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"patternSlots",flags:"l",C:[{N:"str",val:"0"}]},{N:"choose",line:"46",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:"#unnamed"}]},{N:"axis",line:"47",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"axis",line:"49",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"},{N:"att",line:"50",name:"prec",flags:"l",C:[{N:"convert", -from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"2"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"applyT",line:"51",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"180",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}try", -flags:"s",line:"222",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}try"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"222",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"223",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"224",name:"try",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}rollback-output"}]}]}, -{N:"str",val:"false"}]},{N:"str",val:"r"},{N:"true"},{N:"str",val:""}]}]},{N:"varRef",line:"225",name:"Q{}attr",slot:"0"},{N:"applyT",line:"226",mode:"Q{}create.xpath",bSlot:"179",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"227",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"181",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}try", -flags:"s",line:"230",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}try"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"231",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"elem",line:"232",name:"try",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}rollback-output"}]}]},{N:"str",val:"false"}]},{N:"str",val:"r"},{N:"true"},{N:"str",val:""}]}]},{N:"varRef",line:"233",name:"Q{}attr",slot:"0"},{N:"elem",line:"234",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"applyT",line:"235",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N d[N u[NT,NC,NE,NP],NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]}]},{N:"applyT",line:"237",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"215",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"s",line:"192", -module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"192",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", -diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:"{"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"193",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]}, -{N:"elem",line:"194",name:"compAtt",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"180"}]},{N:"varRef",line:"195",name:"Q{}attr",slot:"0"},{N:"choose",line:"197",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}, -{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"callT",line:"199",name:"Q{}record-location",bSlot:"181"},{N:"forEach",line:"200",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"callT", -line:"201",name:"Q{}role-value-template",bSlot:"182"}]},{N:"callT",line:"203",name:"Q{}constructSimpleContent",bSlot:"183"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"214",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"s",as:"1NE",line:"133",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"134",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"136","var":"Q{}name",as:"1AS",slot:"1",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}, -{N:"let",line:"137","var":"Q{}namespaces",slot:"2",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"creating-new-nodes.xsl",line:"135",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"a"},{N:"first",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"3",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let", -"var":"Q{}uri",slot:"4",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"3"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"184"},{N:"varRef",name:"Q{}prefix",slot:"3"}]},{N:"true"}, -{N:"varRef",name:"Q{}uri",slot:"4"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"elem",line:"138",name:"att",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"185"}]},{N:"choose",line:"139",C:[{N:"fn",name:"matches", -C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]},{N:"let",line:"140","var":"Q{}prefix",as:"?AS",slot:"5",C:[{N:"first",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]}]},{N:"let",line:"148","var":"Q{}uri",slot:"6",C:[{N:"let","var":"Q{}n",slot:"7",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"check",card:"1",diag:"21|0||$namespaces",C:[{N:"varRef",name:"Q{}namespaces",slot:"2"}]}, -{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}prefix",slot:"5"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}n",slot:"7"}]},{N:"str",val:"~"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"186"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function", -C:[{N:"varRef",name:"Q{}prefix",slot:"5"}]}]},{N:"true"},{N:"varRef",name:"Q{}n",slot:"7"}]}]},{N:"choose",line:"149",C:[{N:"fn",line:"150",name:"exists",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"sequence",line:"151",C:[{N:"att",name:"nsuri",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]}]}]},{N:"str",val:" "}]}]},{N:"namespace",line:"152",flags:"l",C:[{N:"fn",role:"name",name:"string",C:[{N:"varRef", -name:"Q{}prefix",slot:"5"}]},{N:"convert",role:"select",from:"AU",to:"AS",C:[{N:"cast",flags:"ae",as:"?AU",C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]}]}]}]}]},{N:"true"},{N:"ufCall",line:"156",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"187",C:[{N:"str",val:"ERRRRR"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"No namespace binding for prefix "},{N:"varRef",name:"Q{}prefix",slot:"5"}]},{N:"str", -val:" in attribute "}]},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"a"}]}]}]}]}]},{N:"applyT",line:"162",mode:"Q{}attribute-sans-prefix",bSlot:"188",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"choose",line:"161",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}, -{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"163",name:"Q{}attr",slot:"0"},{N:"att",line:"169",name:"name",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]}]},{N:"str",val:""}]},{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:"^.+:"},{N:"str",val:""},{N:"str",val:""}]}, -{N:"true"},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"axis",line:"170",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"callT",line:"172",name:"Q{}record-location",bSlot:"189"},{N:"callT",line:"173",name:"Q{}constructSimpleContent",bSlot:"190"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"271",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry",flags:"s",line:"27",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"28",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"29",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name", -flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_MAP",bSlot:"191"}]},{N:"varRef",line:"30",name:"Q{}attr",slot:"0"},{N:"elem",line:"31",name:"atomSing",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"diag",flags:"l",C:[{N:"str",val:"0|0||map:entry"}]},{N:"applyT",line:"32",mode:"Q{}create.xpath",bSlot:"192",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}key"}]}]}]}, -{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"193",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"210",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}document",flags:"s",line:"17",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}document"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"18",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"19",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type",flags:"l",C:[{N:"str",val:"document-node()"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"194"}]},{N:"varRef",line:"20",name:"Q{}attr",slot:"0"},{N:"callT", -line:"21",name:"Q{}record-location",bSlot:"195"},{N:"choose",line:"22",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"23",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"callT",line:"25",name:"Q{}sequence-constructor",bSlot:"196"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"261",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring",flags:"s",line:"74", -module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"75",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"nonMatching"}]}, -{N:"choose",line:"76",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"77",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"applyT",line:"79",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"264",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator",flags:"s",line:"34",module:"streaming.xsl",C:[{N:"p.nodeTest", -role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options", -C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"36",name:"accumulator",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"5"}]},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"38",C:[{N:"fn", -name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"39",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"applyT",line:"41",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA nQ{http://ns.saxonica.com/xslt/export}*,NA u[NA nQ{http://ns.saxonica.com/xslt/export}asJ,NA nQ{http://ns.saxonica.com/xslt/export}baseUri]]"}]}, -{N:"applyT",line:"42",mode:"Q{}create.xpath",bSlot:"197",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}initial-value"}]},{N:"elem",line:"43",name:"pre",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"applyT",line:"44",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"},{N:"or",op:"or",C:[{N:"fn", -name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}phase"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}phase"}]},{N:"str",val:"start"}]}]}]}]}]}]},{N:"elem",line:"46",name:"post",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"applyT",line:"47",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"}, -{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}phase"}]},{N:"str",val:"end"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"184",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"14",module:"variables-and-parameters.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"14",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"15",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:" has no following sibling so it will have no effect"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"nextMatch",line:"16",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"0.0", -seq:"186",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"18",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"19",name:"VARDEF",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",line:"20",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"21",name:"Q{}record-location",bSlot:"198"},{N:"applyT",line:"22",flags:"c",bSlot:"-1", -C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"applyT",line:"23",mode:"Q{}select.or.sequence",bSlot:"199",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"24",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"25",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"200", -C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"250",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"22",module:"merging.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"22",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}sort-before-merge"},{N:"str",val:"true"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"23",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"24", -name:"mergeSrc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"25",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"applyT",line:"26",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]},{N:"elem",line:"27",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"selectRows"}]},{N:"applyT",line:"28", -mode:"Q{}create.xpath",bSlot:"201",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"29",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key"}]}]}]},{N:"applyT",line:"31",mode:"Q{}create.xpath",bSlot:"202",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-source"}]}]},{N:"applyT",line:"32",flags:"c", -bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"119",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"923",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"923",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"924",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"203",C:[{N:"str",val:"XTSE3190"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:merge-source siblings cannot have the same name:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, -{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"251",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"36",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"37",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"38",name:"mergeSrc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"39",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"applyT",line:"40",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]}, -{N:"applyT",line:"41",mode:"Q{}create.xpath",bSlot:"204",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"42",mode:"Q{}create.xpath",bSlot:"205",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-source"}]}]},{N:"applyT",line:"43",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"150", -rank:"7",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"87",module:"rules.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"87",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"sequence", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"88",C:[{N:"param",name:"Q{}location",slot:"0",flags:"t",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"89",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"90",name:"Q{}default-collation",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"91",name:"Q{}precedence-map",slot:"3",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]", -diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"92",name:"Q{}minimum-import-precedence-map",slot:"4",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]",diag:"8|0|XTTE0590|minimum-import-precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|minimum-import-precedence-map",C:[{N:"supplied",slot:"4"}]}]}]},{N:"param",line:"93",name:"Q{}options",slot:"5",flags:"t",as:"1FM", -C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"5"}]}]}]},{N:"elem",line:"98",name:"templateRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"prec",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"3"},{N:"fn", -name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"att",name:"seq",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"data",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"true"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"6",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template", -flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context", -slot:"6"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", -C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"206"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"minImp",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}minimum-import-precedence-map", -slot:"4"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",line:"94",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"absent"}]},{N:"str",val:"s"}]}]},{N:"att", -name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"choose",line:"99",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"5"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"100",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"callT",line:"102",name:"Q{}record-location",bSlot:"207"},{N:"axis",line:"103",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, -{N:"varRef",line:"103",name:"Q{}xpath-default-namespace",slot:"1"},{N:"varRef",line:"103",name:"Q{}default-collation",slot:"2"},{N:"applyT",line:"104",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{http://www.w3.org/XML/1998/namespace}*]]"}]},{N:"applyT",line:"105",mode:"Q{}sef",bSlot:"208",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]}, -{N:"applyT",line:"107",mode:"Q{}create.xpath",bSlot:"209",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"nextMatch",line:"108",flags:"i"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"379",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"1587",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1588",name:"Q{}sequence-constructor",bSlot:"210",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"1589",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"211"},{N:"str",val:"action"}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1591",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"212",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template", -flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"158",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each",flags:"s",line:"35",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"36", -C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"37",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"callT",line:"38",name:"Q{}check-select",bSlot:"213"},{N:"ufCall",line:"39",name:"Q{MyFunctions}check-sort", -tailCall:"false",bSlot:"214",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each",flags:"a"}]},{N:"let",line:"40","var":"Q{}source",as:"*NE",slot:"2",C:[{N:"treat",line:"41",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"215",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"elem",line:"43",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"44",C:[{N:"callT",name:"Q{}record-location", -bSlot:"216"},{N:"applyT",line:"45",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}]},{N:"varRef",line:"46",name:"Q{}attr",slot:"0"},{N:"choose",line:"47",C:[{N:"fn",line:"48",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"49",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"50",C:[{N:"varRef",name:"Q{}source",slot:"2"}, -{N:"forEach",line:"51",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"52",name:"Q{}make-sort-key",bSlot:"217"}]}]}]},{N:"true"},{N:"varRef",line:"57",name:"Q{}source",slot:"2"}]},{N:"choose",line:"60",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt", -C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]}]},{N:"callT",line:"61",name:"Q{MyFunctions}AVT",bSlot:"218",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}separator",C:[{N:"axis",line:"62",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"63",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef", -name:"Q{}roles",bSlot:"219"},{N:"str",val:"separator"}]}]}]}]}]}]},{N:"callT",line:"66",name:"Q{}sequence-constructor",bSlot:"220"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"173",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"s",line:"145",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"146",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"147",name:"onEmpty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"148",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"149",mode:"Q{}select.or.sequence",bSlot:"221",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"a"}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"370",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"s",line:"64",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"65",C:[{N:"param", -name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"66",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"67",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-property"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"68",name:"Q{}attr",slot:"1"},{N:"callT",line:"69",name:"Q{}record-location",bSlot:"222"},{N:"forEach",line:"70",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"71",name:"Q{}role-value-template",bSlot:"223"}]},{N:"elem",line:"73",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"75",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"ixsl:window()"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data", -diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash", -C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg411425835",bSlot:"224"}]}]}]}]},{N:"varRef",line:"76",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"160",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate", -flags:"s",line:"109",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"110",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"callT",line:"111",name:"Q{}check-select",bSlot:"225"},{N:"elem",line:"112",name:"iterate",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"113",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"114",name:"Q{}record-location",bSlot:"226"},{N:"applyT",line:"115",mode:"Q{}create.xpath",bSlot:"227",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"elem",line:"116",name:"params",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", -C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"params"}]},{N:"callT",line:"117",name:"Q{}parameters",bSlot:"228"}]}]},{N:"choose",line:"119",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}]},{N:"ufCall",line:"121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"229",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:iterate may only have one xsl:on-completion child"},{N:"check", -card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"int",val:"2"}]}]}]}]},{N:"choose",line:"123",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]}, -{N:"ufCall",line:"126",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"230",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:on-completion may only be proceeded by xsl:param* as children of xsl:iterate"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}]}]}]},{N:"applyT",line:"128",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}, -{N:"choose",line:"129",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]},{N:"elem",line:"130",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"on-completion"}]}]}]},{N:"callT",line:"132",name:"Q{}sequence-constructor",bSlot:"231",C:[{N:"withParam",name:"Q{}include-params",flags:"c",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat", -line:"134",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"232"},{N:"str",val:"action"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"146",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence",flags:"s",line:"77",module:"select-sequence.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"78",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"applyT",line:"79",mode:"Q{}select.or.sequence",flags:"t",bSlot:"233",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}sequence",flags:"a"},{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"80",name:"Q{}attr",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"226",rank:"1", -minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"s",as:"1NE",line:"435",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"436",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", -role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"438",name:"copyOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"}, -{N:"str",val:"c"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-accumulators"}]}]},{N:"str",val:"true"}]},{N:"str",val:"m"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context", -as:"1NE",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check", -line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, -{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"234"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", -val:" "}]}]}]}]},{N:"varRef",line:"439",name:"Q{}attr",slot:"0"},{N:"callT",line:"440",name:"Q{}record-location",bSlot:"235"},{N:"applyT",line:"441",mode:"Q{}select.or.sequence",bSlot:"236",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"222",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}value-of",flags:"s",as:"1NE",line:"280",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest", -role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}value-of"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"281",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"283",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"l"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"237"}]},{N:"choose",line:"284",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"285",name:"flags",flags:"l",C:[{N:"str",val:"d"}]}]},{N:"varRef",line:"287",name:"Q{}attr", -slot:"0"},{N:"callT",line:"288",name:"Q{}record-location",bSlot:"238"},{N:"applyT",line:"289",mode:"Q{}attribute-sans-prefix",bSlot:"239",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}, -{N:"callT",line:"290",name:"Q{}constructSimpleContent",bSlot:"240"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"194",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}function",flags:"s",line:"98",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"99",C:[{N:"param",name:"Q{}has-uniform-static-context",slot:"0",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"100",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select", -size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"101","var":"Q{}params",as:"*NE",slot:"2",C:[{N:"treat",line:"102",as:"NE",diag:"3|0|XTTE0570|params",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"elem",line:"105",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -C:[{N:"att",name:"vis",flags:"l",C:[{N:"fn",name:"upper-case",C:[{N:"check",card:"?",diag:"0|0||fn:upper-case",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:upper-case",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:upper-case",C:[{N:"data",diag:"0|0||fn:upper-case",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"},{N:"str",val:"private"}]}]}]}]}]}]}]}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB", -to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"0"}]}]},{N:"elem",line:"107",name:"function",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"241",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}function",flags:"a"}]}]},{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"str",val:"item()*"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}params", -slot:"2"}]},{N:"int",val:"200"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}function", -flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context", -slot:"3"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", -C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"242"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose",line:"108",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"109",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"let",line:"112","var":"Q{}flags", -as:"1NT",slot:"4",C:[{N:"valueOf",line:"113",C:[{N:"fn",line:"114",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"choose",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"243",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}cache"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"m"}]}]},{N:"choose",line:"115",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"244",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://saxon.sf.net/}updating"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"u"}]}]},{N:"choose",line:"116",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"245",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://saxonica.com/ns/interactiveXSLT}updating"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"u"}]}]}]}]}]}]},{N:"str",val:""}]}]},{N:"sequence",line:"119",C:[{N:"choose",C:[{N:"data",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}flags",slot:"4"}]}, -{N:"att",line:"120",name:"flags",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}flags",slot:"4"}]}]}]}]},{N:"let",line:"127","var":"Q{}returnType",as:"1FM",slot:"5",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"246",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"247"}]},{N:"let",line:"131","var":"Q{}signature",as:"1FM k[AS] v[1]",slot:"6",C:[{N:"ifCall",line:"133",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"literal",count:"2",C:[{N:"map",size:"1",C:[{N:"str",val:"o"}, -{N:"str",val:"1"}]},{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"F"}]}]},{N:"ifCall",line:"135",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"r"},{N:"varRef",name:"Q{}returnType",slot:"5"}]},{N:"ifCall",line:"136",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"a"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}_from-sequence",type:"1FA",C:[{N:"for","var":"Q{}p",as:"NE",slot:"7",C:[{N:"varRef", -role:"in",name:"Q{}params",slot:"2"},{N:"ufCall",role:"return",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"248",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}p",slot:"7"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str", -val:"XTDE3365"}]}]},{N:"sequence",line:"141",C:[{N:"att",name:"as",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"249",C:[{N:"varRef",name:"Q{}returnType",slot:"5"}]}]},{N:"att",line:"142",name:"sig",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"250",C:[{N:"varRef",name:"Q{}signature",slot:"6"}]}]},{N:"att",line:"143",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"251",C:[{N:"varRef",name:"Q{}signature", -slot:"6"}]}]},{N:"callT",line:"145",name:"Q{}record-location",bSlot:"252"},{N:"varRef",line:"146",name:"Q{}params",slot:"2"},{N:"callT",line:"147",name:"Q{}sequence-constructor",bSlot:"253",C:[{N:"withParam",name:"Q{}include-params",flags:"c",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"149",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"254"},{N:"str",val:"body"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.0",seq:"162",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"s",line:"161",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}break"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"162",C:[{N:"param",name:"Q{}attr",slot:"0", -as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"ufCall",line:"163",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"255",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"ufCall",line:"163",name:"Q{MyFunctions}check-tail-position",tailCall:"false",bSlot:"256",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"elem",line:"164",name:"sequence", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"165",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"166",name:"Q{}record-location",bSlot:"257"},{N:"applyT",line:"167",mode:"Q{}select.or.sequence",bSlot:"258",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"elem",line:"168",name:"break",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"249", -rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge",flags:"s",line:"15",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", -role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"17",name:"merge",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"259"}]},{N:"varRef",line:"18",name:"Q{}attr",slot:"0"},{N:"applyT",line:"19",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"233", -rank:"1",minImp:"0",slots:"14",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"s",line:"15",module:"numbering.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}number"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"17",name:"Q{}static-context",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"18",name:"Q{}xpath-default-namespace",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", -as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"19",name:"Q{}ns",slot:"3",flags:"t",as:"?AS",C:[{N:"let",role:"select",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"4",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -as:"NE",diag:"0|0||f:encode-namespaces",C:[{N:"check",card:"1",diag:"0|0||f:encode-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1", -C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc", -op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"260"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|ns",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|ns", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"data",diag:"8|0|XTTE0590|ns",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"elem",line:"21",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"l"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"261"}]},{N:"varRef",line:"22",name:"Q{}attr",slot:"0"},{N:"elem",line:"23",name:"numSeqFmt",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", -C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"backward-compatibility"}]},{N:"int",val:"1"}]}]}]},{N:"choose",line:"24",C:[{N:"fn",line:"26",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]},{N:"sequence",line:"27",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA u[NA u[NA nQ{}select,NA nQ{}level],NA nQ{}count],NA nQ{}from]"}]}, -{N:"ufCall",line:"30",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"262",C:[{N:"str",val:"XTSE0975"},{N:"str",val:"xsl:number with @value must not have @select, @level, @count, or @from attributes"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"}]}]},{N:"elem",line:"32",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"value"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped", -to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"6",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"5"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln", -slot:"6"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"5"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"6"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"33",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]},{N:"true"},{N:"let",line:"37","var":"Q{}level",as:"1",slot:"7",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}level"},{N:"str",val:"single"}]}]},{N:"sequence",line:"38", -C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}level",slot:"7"}]},{N:"literal",count:"3",C:[{N:"str",val:"any"},{N:"str",val:"multiple"},{N:"str",val:"single"}]}]}]},{N:"ufCall",line:"41",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"263",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:number/@level must have a value single|multiple|any, given value:'"}, -{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}level",slot:"7"}]}]},{N:"str",val:"'"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}level"}]}]}]},{N:"elem",line:"43",name:"nodeNum",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"value"}]},{N:"att",name:"level",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"gc", -op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}level",slot:"7"}]},{N:"str",val:"multiple"}]},{N:"str",val:"multi"},{N:"true"},{N:"data",C:[{N:"varRef",name:"Q{}level",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"choose",line:"44",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}select,NA nQ{}value]"}]},{N:"att",line:"45",name:"needsNode",flags:"l",C:[{N:"str",val:"true"}]}]},{N:"elem", -line:"47",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert", -from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"8",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"9",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"8"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"9"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln", -slot:"9"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"48",name:"Q{}xpath-default-namespace",slot:"2"}]}]},{N:"choose",line:"50",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}count"}]},{N:"elem",line:"51",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"count"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}count"}]}]}]}, -{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"10",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1", -C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"10"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"11",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"10"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"11"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node", -slot:"10"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"11"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"52",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]},{N:"choose",line:"55",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}from"}]},{N:"elem",line:"56",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"from"}]},{N:"att",name:"xpath", -flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}from"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"12",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1", -C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"12"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"13",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"12"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef", -name:"Q{}ln",slot:"13"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"12"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"13"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"57",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]}]}]}]}]}]},{N:"callT",line:"63",name:"Q{}numberFormat",bSlot:"264"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"258",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string", -flags:"s",line:"16",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"17",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA", -diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"18",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"19",name:"Q{}attr",slot:"2",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"23",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"}]}]},{N:"ufCall",line:"25",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"265",C:[{N:"str",val:"XTSE1130"}, -{N:"str",val:"xsl:analyze-string must contain either xsl:matching-substring or xsl:non-matching-substring"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string",flags:"a"}]}]},{N:"choose",line:"27",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"},{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"}]}]},{N:"ufCall",line:"28", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"266",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:non-matching-substring must follow xsl:matching-substring"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"}]}]}]},{N:"choose",line:"30",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"},{N:"axis",name:"following-sibling", -nodeTest:"NE"}]}]},{N:"ufCall",line:"31",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"267",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:fallback must be the last child of xsl:analyze-string"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]}]},{N:"elem",line:"33",name:"analyzeString",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"34",C:[{N:"varRef",name:"Q{}attr", -slot:"2"},{N:"applyT",line:"35",mode:"Q{}create.xpath",bSlot:"268",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"},{N:"withParam",name:"Q{}checkType",as:"1AS",C:[{N:"str",val:"?AS"}]},{N:"withParam",name:"Q{}diagnostic",as:"1NA",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1307630072",bSlot:"269"}]}]}]},{N:"callT",line:"39",name:"Q{MyFunctions}AVT",bSlot:"270",C:[{N:"withParam",name:"Q{}avt-string",flags:"c", -as:"?NA nQ{}regex",C:[{N:"axis",line:"40",name:"attribute",nodeTest:"NA nQ{}regex"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"42",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"271"},{N:"str",val:"regex"}]}]}]}]}]},{N:"callT",line:"44",name:"Q{MyFunctions}AVT",bSlot:"272",C:[{N:"withParam",name:"Q{}avt-string", -flags:"c",as:"?NA nQ{}flags",C:[{N:"axis",line:"45",name:"attribute",nodeTest:"NA nQ{}flags"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"47",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"273"},{N:"str",val:"flags"}]}]}]}]}]},{N:"applyT",line:"49",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"172",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}where-populated",flags:"s",line:"137",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}where-populated"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"138", -C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"139",name:"condCont",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"140",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"141",name:"Q{}sequence-constructor",bSlot:"274"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"216",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}comment", -flags:"s",as:"1NE",line:"207",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}comment"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"208",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr", -C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"209",name:"comment",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_COMMENT",bSlot:"275"}]},{N:"varRef",line:"210",name:"Q{}attr",slot:"0"},{N:"callT",line:"211",name:"Q{}constructSimpleContent",bSlot:"276"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"393",rank:"3",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"1752",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.venn", -role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}minImp"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"247",rank:"3",minImp:"0",slots:"1",matches:"NA",flags:"s", -line:"108",module:"grouping.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-starting-with"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-ending-with"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"109",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"110",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"match"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"varRef",line:"111",name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"elem",line:"113",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"collation"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"202",rank:"3",minImp:"0",slots:"2", -matches:"NA",flags:"s",line:"305",module:"callable-components.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.nodeTest",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets"},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-attribute-sets"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"306",C:[{N:"param",name:"Q{}defined-attribute-sets",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"data",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"let",line:"307","var":"Q{}this",as:"1",slot:"1",C:[{N:"dot",type:"1NA",flags:"a"},{N:"forEach",line:"308",C:[{N:"fn",name:"tokenize", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"sequence",line:"309",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}defined-attribute-sets",slot:"0"},{N:"dot",type:"1AS"}]}]},{N:"ufCall",line:"310",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"277",C:[{N:"str",val:"XTSE0710"},{N:"fn", -name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'Undefined attribute set "'},{N:"dot",type:"1AS"}]},{N:"str",val:'"'}]},{N:"varRef",name:"Q{}this",slot:"1"}]}]},{N:"elem",line:"312",name:"useAS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"dot",type:"1AS"}]},{N:"att",name:"bSlot",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULIPLE_ATTRIBUTE",bSlot:"278"}]}]}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.5",seq:"390",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}*",flags:"s",line:"1736",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}*"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1737",type:"1NA nQ{}*",flags:"a"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"230",rank:"0",minImp:"0",slots:"12",matches:"NA",flags:"s",as:"1NE",line:"580",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"581",card:"1",diag:'7|0|XTTE0505|match="@*" mode="sef"',C:[{N:"sequence", -C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"582",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"583",name:"Q{}static-context", -slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"param",line:"584",name:"Q{}namespace-aliases",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|namespace-aliases",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|namespace-aliases",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"585",name:"Q{}default-collation",slot:"4",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", -as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"4"}]}]}]},{N:"let",line:"593","var":"Q{}namespace-aliases",as:"?FM",slot:"5",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"namespace-aliases"}]}]}]},{N:"let",line:"599","var":"Q{}attribute-name",as:"1AQ",slot:"6",C:[{N:"choose", -C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"fn",name:"prefix-from-QName",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"5"}]}]},{N:"let","var":"Q{}original-name",as:"1AQ",slot:"7",C:[{N:"check",card:"1",diag:"0|0||f:map-aliased-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"let","var":"Q{}namespace-aliases",as:"1FM",slot:"8",C:[{N:"check",card:"1",diag:"0|1||f:map-aliased-name", -C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"5"}]},{N:"let",line:"544","var":"Q{}original-uri",as:"1AU",slot:"9",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"7"}]},{N:"let",line:"547","var":"Q{}new-uri",as:"1AS",slot:"10",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef", -name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]}]},{N:"convert",line:"548",from:"AU",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri", -C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]},{N:"int",val:"2"}]}]}]}]}]}]},{N:"choose",line:"556",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"9"},{N:"varRef",name:"Q{}new-uri",slot:"10"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"7"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"11", -C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]},{N:"fn",line:"567",name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"10"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"11"}]},{N:"str", -val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"varRef",name:"Q{}prefix",slot:"11"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"7"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"3|0|XTTE0570|attribute-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"600",name:"att",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d", -C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}attribute-name",slot:"6"}]}]},{N:"att",name:"nsuri",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}attribute-name",slot:"6"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"279"}]},{N:"varRef",line:"601",name:"Q{}attr",slot:"0"},{N:"callT",line:"602",name:"Q{}value-template",bSlot:"280"}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"4",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"246",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}group-adjacent",flags:"s",line:"82",module:"grouping.xsl", -C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-adjacent"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"83",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty", -role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"84",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"85",name:"data", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"choose",line:"86",C:[{N:"ufCall",line:"87",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"281",C:[{N:"check",card:"?",diag:"0|0||f:boolean-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]},{N:"false"}]},{N:"elem",line:"88",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"88",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]}]},{N:"varRef",line:"89", -name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"true"},{N:"elem",line:"93",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1081126121",bSlot:"282"}]},{N:"elem",line:"95",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"95",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]}]},{N:"varRef",line:"96",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]}]},{N:"callT", -line:"102",name:"Q{MyFunctions}AVT",bSlot:"283",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}collation",C:[{N:"check",line:"103",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"?AS",C:[{N:"check",line:"104",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-collation",slot:"1"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]}]}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"105",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"284"},{N:"str",val:"collation"}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"1.0",seq:"392",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS",flags:"s",line:"1747",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1748",name:"defaultElementNS",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.15",seq:"152",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{}mode",flags:"s",line:"175",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"175",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]},{N:"str",val:"#current"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"176",C:[{N:"fn",line:"177",name:"exists",C:[{N:"sequence", -C:[{N:"fn",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]}]},{N:"fn",name:"reverse",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]},{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"normalize.xsl",line:"777",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"rules.xsl",line:"177",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}]}]}, -{N:"att",line:"178",name:"mode",C:[{N:"str",val:"#unnamed"}]},{N:"true"},{N:"att",line:"181",name:"flags",C:[{N:"str",val:"c"}]}]}]},{N:"templateRule",prec:"0",prio:"1.1",seq:"153",rank:"4",minImp:"0",slots:"0",matches:"NA nQ{}mode",flags:"s",line:"185",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"copyOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"186",flags:"c",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text", -flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"231",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}exclude",flags:"s",line:"606",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}exclude"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"347",part:"6",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"387",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}as",flags:"s",line:"1710",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", -C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1711",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]},{N:"fn",role:"select",name:"replace",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:replace", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"391",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"s",line:"1741",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1742",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"a"}]}]}]},{N:"att",line:"1743",name:"ns",C:[{N:"convert",from:"AZ",to:"AS", -C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"2",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"213",rank:"3",minImp:"0",slots:"0", -matches:"NA nQ{}namespace",flags:"s",line:"128",module:"creating-new-nodes.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}namespace"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"129",name:"nsuri",C:[{N:"convert",from:"AZ", -to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}namespace",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"7",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}version",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"245",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}group-by",flags:"s", -line:"68",module:"grouping.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-by"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t", -as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem", -line:"73",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"data(("},{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-by",flags:"a"}]}]},{N:"str",val:"))"}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1", -C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"73",type:"1NA nQ{}group-by",flags:"a"}]}]}]}]},{N:"varRef",line:"74",name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"callT",line:"76",name:"Q{MyFunctions}AVT",bSlot:"285",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}collation",C:[{N:"check",line:"77",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"?AS",C:[{N:"check",line:"78",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-collation",slot:"1"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]}]}]}, -{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"79",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"286"},{N:"str",val:"collation"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"5",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"}, -{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"386",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}select",flags:"s",line:"1706",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}select"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"applyT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1707",mode:"Q{}create.xpath",flags:"t",bSlot:"287",C:[{N:"dot",role:"select",type:"1NA nQ{}select",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"3",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"200",rank:"7", -minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"298",module:"callable-components.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"298",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data", -diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"xsl:initial-template"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"299",name:"name",C:[{N:"str",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template"}]}]},{N:"templateRule",prec:"0", -prio:"1.0",seq:"254",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}use-accumulators",flags:"s",line:"54",module:"merging.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"55",name:"accum",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"148",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}use-accumulators",flags:"s",line:"56",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"57",C:[{N:"param",name:"Q{}accumulators",slot:"0",flags:"t",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|accumulators",C:[{N:"supplied",slot:"0"}]}]},{N:"att",line:"64",name:"useAcc",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]},{N:"fn",name:"string-join", -C:[{N:"data",diag:"0|0||fn:string-join",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}accumulators",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}accumulators",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"str",val:" "}]},{N:"true"},{N:"data",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"232",rank:"0", -minImp:"0",slots:"2",matches:"NT",flags:"s",as:"1NE",line:"608",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NT"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"609",card:"1",diag:'7|0|XTTE0505|match="text()" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat", -role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"611",name:"Q{}expand-text",slot:"1",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|expand-text",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|expand-text",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|expand-text",C:[{N:"data",diag:"8|0|XTTE0590|expand-text",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"choose",line:"615",C:[{N:"varRef",line:"616",name:"Q{}expand-text", -slot:"1"},{N:"callT",line:"617",name:"Q{}value-template",bSlot:"288",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"varRef",line:"618",name:"Q{}attr",slot:"0"}]}]},{N:"true"},{N:"elem",line:"627",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"289"}]},{N:"varRef",line:"628",name:"Q{}attr",slot:"0"},{N:"elem",line:"629",name:"str",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NT",flags:"a"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"274",binds:"",C:[{N:"function",name:"Q{coBindings}bind",line:"209",module:"component-bindings.xsl",flags:"pU",as:"?ADI",slots:"2",C:[{N:"arg",name:"Q{}context",as:"1N"},{N:"arg",name:"Q{}name",as:"1AS"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"int",val:"1"}]}]}]}]}]},{N:"co",id:"252",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}LBRACE",as:"1ADI",line:"17",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"123"}]}]}, -{N:"co",id:"4",binds:"",C:[{N:"globalVariable",name:"Q{}xslt.standard.attributes",as:"+NE",line:"309",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"310",C:[{N:"elem",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-collation"}]}, -{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:uri-list"}]}]}]},{N:"elem",line:"311",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-mode"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:default-mode-type"}]}]}]},{N:"elem",line:"312",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-validation"}]},{N:"att",name:"type", -flags:"l",C:[{N:"str",val:"xsl:validation-strip-or-preserve"}]},{N:"att",name:"default",flags:"l",C:[{N:"str",val:"strip"}]}]}]},{N:"elem",line:"313",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"exclude-result-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefix-list-or-all"}]}]}]},{N:"elem",line:"314",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name", -flags:"l",C:[{N:"str",val:"expand-text"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:yes-or-no"}]}]}]},{N:"elem",line:"315",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"extension-element-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefix-list"}]}]}]},{N:"elem",line:"316",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str", -val:"use-when"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:expression"}]}]}]},{N:"elem",line:"317",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"version"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:decimal"}]}]}]},{N:"elem",line:"318",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"xpath-default-namespace"}]},{N:"att", -name:"type",flags:"l",C:[{N:"str",val:"xs:anyURI"}]}]}]},{N:"elem",line:"319",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-collation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"320",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-mode"}]},{N:"att",name:"type",flags:"l",C:[{N:"str", -val:"xs:string"}]}]}]},{N:"elem",line:"321",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-validation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"322",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_exclude-result-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]}, -{N:"elem",line:"323",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_expand-text"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"324",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_extension-element-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"325", -name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_use-when"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"326",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_version"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:decimal"}]}]}]},{N:"elem",line:"327",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema", -C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_xpath-default-namespace"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"328",name:"xs:anyAttribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"namespace",flags:"l",C:[{N:"str",val:"##other"}]},{N:"att",name:"processContents",flags:"l",C:[{N:"str",val:"lax"}]}]}]}]}]}]},{N:"co",id:"262",binds:"1 256",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_TEXT",as:"1AS",line:"49", -module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"49",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_TEXT",bSlot:"1"}]}]}]},{N:"co",id:"275",binds:"",C:[{N:"function",name:"Q{MyTypes}toString",line:"323",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"325",name:"serialize",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]}]},{N:"co",id:"136",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg2135267024",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289", -name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0505"},{N:"str",val:"template result"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"137",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ITEM",as:"1FM k[AS] v[1AS]",line:"11",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map", -size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"131",binds:"132 69 7 1 1",C:[{N:"template",name:"Q{}Sequence-and-type",flags:"os",line:"498",module:"xpath.xsl",slots:"5",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"499",C:[{N:"param",name:"Q{}parts",slot:"0",flags:"r",as:"*NE", -C:[{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|parts",C:[{N:"supplied",slot:"0"}]}]},{N:"choose",line:"503",C:[{N:"fn",line:"504",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]},{N:"elem",line:"505",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"0"}]},{N:"slash",line:"506",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis", -name:"attribute",nodeTest:"NA"}]}]}]},{N:"true"},{N:"let",line:"513","var":"Q{}commonTypeAsMap",as:"1FM",slot:"1",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"1",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"2",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]},{N:"let",line:"514","var":"Q{}commonType",slot:"2",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"1"}]},{N:"choose",line:"517",C:[{N:"every",line:"520","var":"Q{}p",slot:"3",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1", -C:[{N:"varRef",name:"Q{}p",slot:"3"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"521",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]}]},{N:"slash",line:"522",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}, -{N:"att",line:"523",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"524",name:"Q{}parts",slot:"0"}]}]},{N:"fn",line:"527",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]}]},{N:"copy",line:"528",flags:"in",sit:"1",C:[{N:"sequence",role:"content",line:"529",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"530",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"531",name:"Q{}parts",slot:"0"}]}]},{N:"compareToInt",line:"534",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"535","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"forEach",line:"536",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"copy",line:"537",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"538",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"543",flags:"in",sit:"1",C:[{N:"sequence",role:"content",line:"545",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"548",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"4",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", -type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"548",name:"Q{}commonTypeAsMap",slot:"1"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"549",name:"Q{}parts",slot:"0"}]}]}]}]}]}]}]}]}]},{N:"co",id:"36",binds:"",C:[{N:"globalVariable",name:"Q{}codepoint.collation",as:"1AU",line:"25", -module:"sorting.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"atomic",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint",type:"AU"}]}]},{N:"co",id:"276",binds:"",C:[{N:"function",name:"Q{MyTypes}typeOf",line:"1204",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}item",as:"1"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1206",C:[{N:"instance", -line:"1207",of:"1N",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1208",C:[{N:"instance",line:"1209",of:"1NE",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NE"},{N:"instance",line:"1210",of:"1NA",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NA"},{N:"instance",line:"1211",of:"1NT",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NT"},{N:"instance",line:"1212",of:"1NC",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NC"},{N:"instance",line:"1213",of:"1NP", -C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NP"},{N:"instance",line:"1214",of:"1ND",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"ND"},{N:"true"},{N:"str",val:"N"}]},{N:"instance",line:"1218",of:"1A",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1219",C:[{N:"instance",line:"1220",of:"1AS",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AS"},{N:"instance",line:"1221",of:"1AB",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AB"},{N:"instance",line:"1222", -of:"1AD",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AD"},{N:"instance",line:"1223",of:"1ADI",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"ADI"},{N:"instance",line:"1224",of:"1AQ",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AQ"},{N:"instance",line:"1225",of:"1AU",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AU"},{N:"instance",line:"1226",of:"1AA",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AA"},{N:"instance",line:"1227",of:"1AM",C:[{N:"varRef", -name:"Q{}item",slot:"0"}]},{N:"str",val:"AM"},{N:"instance",line:"1228",of:"1AT",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AT"},{N:"instance",line:"1229",of:"1AR",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AR"},{N:"instance",line:"1230",of:"1AO",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AO"},{N:"instance",line:"1231",of:"1AF",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AF"},{N:"instance",line:"1232",of:"1A2",C:[{N:"varRef",name:"Q{}item",slot:"0"}]}, -{N:"str",val:"A2"},{N:"instance",line:"1233",of:"1AX",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AX"},{N:"instance",line:"1234",of:"1AZ",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AZ"},{N:"true"},{N:"str",val:"A"}]},{N:"instance",line:"1238",of:"1F",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1239",C:[{N:"instance",line:"1240",of:"1FM",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"FM"},{N:"instance",line:"1241",of:"1FM",C:[{N:"varRef",name:"Q{}item", -slot:"0"}]},{N:"str",val:"FA"},{N:"true"},{N:"str",val:"F"}]},{N:"true"},{N:"str",val:"J"}]}]}]},{N:"co",id:"277",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.ANY_ITEM_TYPE",as:"1AS",line:"160",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"item()"}]}]},{N:"co",id:"194",binds:"216",C:[{N:"mode",name:"Q{}expand-character-maps",onNo:"DC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"209",rank:"0",minImp:"0",slots:"1",matches:"NE n*:charMap",flags:"s", -as:"1NE",line:"156",module:"output.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE n*:charMap"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"156",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"157",C:[{N:"param",name:"Q{}charMaps",slot:"0",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|charMaps",C:[{N:"supplied",slot:"0"}]}]},{N:"copy",line:"158",flags:"cin",sit:"1NE n*:charMap",C:[{N:"sequence",role:"content",line:"159",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"forEach",line:"160",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize", -C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}]},{N:"callT",line:"161",name:"Q{}expandCharMapRef",bSlot:"0",C:[{N:"withParam",name:"Q{}charMapRef",flags:"c",as:"1AS",C:[{N:"fn",line:"162",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"withParam",name:"Q{}charMaps",flags:"c",as:"*NE",C:[{N:"varRef",line:"163",name:"Q{}charMaps",slot:"0"}]}]}]},{N:"axis",line:"166",name:"child",nodeTest:"NE n*:m"}]}]}]}]}]}]},{N:"co",id:"229",binds:"64", -C:[{N:"function",name:"Q{MyTypes}cvUntyped",line:"909",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"915",name:"cvUntyped",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -C:[{N:"att",name:"to",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"p"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"0"}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"916",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}, -{N:"varRef",line:"916",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"267",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1557557661",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-attribute/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"78",binds:"150",C:[{N:"template",name:"Q{MyFunctions}AVT",flags:"os",as:"1NE",line:"14",module:"value-templates.xsl",slots:"3",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~", -line:"15",card:"1",diag:"7|0|XTTE0505|f:AVT",C:[{N:"sequence",C:[{N:"param",name:"Q{}avt-string",slot:"0",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|avt-string",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"16",name:"Q{}default",slot:"1",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"17",name:"Q{}role",slot:"2",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"supplied",slot:"2"}]}]}]},{N:"choose",line:"18",C:[{N:"fn",line:"19",name:"exists",C:[{N:"varRef",name:"Q{}avt-string",slot:"0"}]},{N:"forEach",line:"20",flags:"t",C:[{N:"varRef", -name:"Q{}avt-string",slot:"0"},{N:"callT",line:"21",name:"Q{}value-template",bSlot:"0",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"?NA",C:[{N:"varRef",line:"22",name:"Q{}role",slot:"2"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"false"}]}]}]},{N:"fn",line:"27",name:"exists",C:[{N:"varRef",name:"Q{}default",slot:"1"}]},{N:"elem",line:"28",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l", -C:[{N:"varRef",name:"Q{}default",slot:"1"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"copyOf",line:"29",flags:"c",C:[{N:"varRef",name:"Q{}role",slot:"2"}]}]}]},{N:"true"},{N:"elem",line:"33",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"copyOf",line:"34",flags:"c",C:[{N:"varRef",name:"Q{}role",slot:"2"}]}]}]}]}]}]}]}]},{N:"co", -id:"278",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_UNTYPED_ATOMIC",as:"1FM k[AS] v[1AS]",line:"26",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"AZ"}]}]}]},{N:"co",id:"254",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}LPAREN",as:"1ADI",line:"15",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"40"}]}]},{N:"co",id:"246",binds:"",C:[{N:"globalParam",name:"Q{}staticParameters", -as:"1FM k[AQ]",line:"174",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",C:[{N:"map",size:"0"}]}]},{N:"co",id:"279",binds:"",C:[{N:"function",name:"Q{MyFunctions}namespace-uri-for-prefix-or-default",line:"168",module:"namespaces.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}prefix",as:"1AS"},{N:"arg",name:"Q{}element",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"0"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"1"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"0"},{N:"varRef",name:"Q{}element",slot:"1"}]}]}]}]},{N:"co",id:"280",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_DECIMAL",as:"1FM k[AS] v[1AS]",line:"20", -module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"AD"}]}]}]},{N:"co",id:"281",binds:"281",C:[{N:"function",name:"Q{MyFunctions}import-index",line:"704",module:"static.xsl",flags:"pmU",as:"1ADI",slots:"2",C:[{N:"arg",name:"Q{}in",as:"1NE"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"706","var":"Q{}next", -as:"?NE nQ{http://www.w3.org/1999/XSL/Transform}import",slot:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"first",C:[{N:"axis",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"}]}]},{N:"choose",line:"713",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}next",slot:"1"}]},{N:"arith",op:"+",calc:"i+i",C:[{N:"ufCall",name:"Q{MyFunctions}import-index",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:import-index",C:[{N:"varRef",name:"Q{}next", -slot:"1"}]}]},{N:"int",val:"1"}]},{N:"true"},{N:"int",val:"1"}]}]}]}]},{N:"co",id:"282",binds:"",C:[{N:"function",name:"Q{MyFunctions}symbolic-name",line:"56",module:"component-bindings.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}component",as:"1NE"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"59",card:"1",diag:"5|0|XTTE0780|f:symbolic-name#1", -C:[{N:"forEach",C:[{N:"check",line:"58",card:"1",diag:"3|0|XTTE0570|actor",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}component",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"60",C:[{N:"fn",line:"61",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalParam,NE nQ{http://ns.saxonica.com/xslt/export}globalVariable]"}]},{N:"fn",line:"62",name:"concat",C:[{N:"str",val:"V:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first", -C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"64",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}attributeSet"}]},{N:"fn",line:"65",name:"concat",C:[{N:"str",val:"A:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"67",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"fn",line:"68",name:"concat",C:[{N:"str",val:"T:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}, -{N:"str",val:""}]}]}]}]},{N:"fn",line:"70",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]},{N:"fn",line:"71",name:"concat",C:[{N:"str",val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"fn",line:"73",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"}]}, -{N:"fn",line:"74",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"true"},{N:"str",val:"???"}]}]}]}]}]},{N:"co",id:"271",binds:"78 79 78 79 78 79 78 79 78 79 78 79",C:[{N:"template",name:"Q{}numberFormat",flags:"os",as:"*NE",line:"68",module:"numbering.xsl",slots:"2",C:[{N:"sequence", -role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70", -name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"callT",line:"72",name:"Q{MyFunctions}AVT",bSlot:"0",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}format",C:[{N:"slash",line:"73",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}format"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"1"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"75",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"1"},{N:"str",val:"format"}]}]}]}]}]},{N:"callT",line:"77",name:"Q{MyFunctions}AVT",bSlot:"2",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}start-at",C:[{N:"slash",line:"78", -simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}start-at"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"1"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"80",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"3"},{N:"str",val:"startAt"}]}]}]}]}]},{N:"choose",line:"82",C:[{N:"fn",name:"exists", -C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-separator"}]}]},{N:"callT",line:"83",name:"Q{MyFunctions}AVT",bSlot:"4",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}grouping-separator",C:[{N:"slash",line:"84",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-separator"}]}]},{N:"withParam",name:"Q{}default", -flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"86",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"5"},{N:"str",val:"gpSep"}]}]}]}]}]}]},{N:"choose",line:"89",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-size"}]}]},{N:"callT", -line:"90",name:"Q{MyFunctions}AVT",bSlot:"6",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}grouping-size",C:[{N:"slash",line:"91",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-size"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"0"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"93",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role", -C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"7"},{N:"str",val:"gpSize"}]}]}]}]}]}]},{N:"choose",line:"96",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ordinal"}]}]},{N:"callT",line:"97",name:"Q{MyFunctions}AVT",bSlot:"8",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}ordinal",C:[{N:"slash",line:"98",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot", -flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ordinal"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"false"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"100",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"9"},{N:"str",val:"ordinal"}]}]}]}]}]}]},{N:"choose",line:"103",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}lang"}]}]},{N:"callT",line:"107",name:"Q{MyFunctions}AVT",bSlot:"10",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}lang",C:[{N:"slash",line:"108",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}lang"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"en"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat", -line:"110",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"11"},{N:"str",val:"lang"}]}]}]}]}]}]}]}]}]},{N:"co",id:"239",binds:"",C:[{N:"globalVariable",name:"Q{}ST.EMPTY_SEQUENCE",as:"1FM k[AS] v[1AS]",line:"10",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"0"},{N:"str",val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"142",binds:"",C:[{N:"mode",name:"Q{}pattern-with-current", -onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"300",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fn",flags:"s",line:"1538",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1538",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"current"}]}]},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1539",name:"varRef",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions}current"}]}, -{N:"att",name:"slot",flags:"l",C:[{N:"str",val:"0"}]},{N:"axis",line:"1540",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"co",id:"283",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ZERO_OR_ONE",as:"1ADI",line:"110",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"3"}]}]},{N:"co",id:"284",binds:"",C:[{N:"function",name:"Q{MyFunctions}QNameToEQ",line:"161",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}qname",as:"1AQ"},{N:"fn",role:"body", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"0"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"0"}]}]}]}]},{N:"co",id:"285",binds:"",C:[{N:"globalVariable", -name:"Q{}ST.SINGLE_DECIMAL",as:"1FM k[AS] v[1AS]",line:"21",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AD"}]}]}]},{N:"co",id:"150",binds:"251 72 72 72 262 262",C:[{N:"template",name:"Q{}value-template",flags:"os",as:"?NE",line:"41",module:"value-templates.xsl",slots:"13",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~", -line:"42",card:"?",diag:"7|0|XTTE0505|value-template",C:[{N:"sequence",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"43",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check", -card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"44",name:"Q{}has-uniform-static-context",slot:"2",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param", -line:"45",name:"Q{}default-collation",slot:"3",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"47",name:"Q{}backward-compatibility",slot:"4",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|backward-compatibility", -C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"data",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"supplied",slot:"4"}]}]}]}]}]},{N:"param",line:"48",name:"Q{}attr",slot:"5",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"5"}]}]},{N:"let",line:"56","var":"Q{}text.value",as:"1",slot:"6",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat", -as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NA"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NT"}]}]}]},{N:"dot",flags:"a"},{N:"true"},{N:"fn",name:"normalize-space", -C:[{N:"check",card:"?",diag:"0|0||fn:normalize-space",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"let",line:"57","var":"Q{}lineNr",as:"1ADI",slot:"7",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"8",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:line-number",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|1|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]},{N:"treat",module:"lib.xsl", -line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"9",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", -C:[{N:"varRef",name:"Q{}node",slot:"8"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"9"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"9"}]}]}]}]}]}]}]}]}]},{N:"let",line:"58","var":"Q{}loc",as:"1AS",slot:"10",C:[{N:"choose",line:"59",C:[{N:"instance",line:"60",of:"1NA",C:[{N:"dot",flags:"a"}]},{N:"convert", -line:"60",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/@"},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"instance", -line:"61",of:"1NT",C:[{N:"dot",flags:"a"}]},{N:"convert",line:"61",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/text()"}]}]}]}]},{N:"true"},{N:"convert",line:"62", -from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|1|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"let",line:"66","var":"Q{}parts",as:"*NE",slot:"11",C:[{N:"choose",line:"67",C:[{N:"fn",line:"68",name:"contains",C:[{N:"check",card:"?",diag:"0|0||fn:contains",C:[{N:"convert", -from:"A",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"str",val:"{"}]},{N:"forEach",line:"69",C:[{N:"ufCall",name:"Q{MyFunctions}parse-value-template",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:parse-value-template",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:parse-value-template",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-value-template", -C:[{N:"data",diag:"0|0||f:parse-value-template",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"treat",as:"N",diag:"0|1||f:parse-value-template",C:[{N:"dot",flags:"a"}]}]},{N:"choose",line:"70",C:[{N:"compareToString",line:"71",op:"eq",val:"literal",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"elem",line:"72",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]}, -{N:"and",line:"74",op:"and",C:[{N:"compareToString",op:"eq",val:"expression",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"\\S+"},{N:"str",val:""}]}]},{N:"elem",line:"75",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l", -C:[{N:"str",val:"string-join"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"1"}]},{N:"let",line:"76","var":"Q{}content",as:"1NE",slot:"12",C:[{N:"elem",line:"77",name:"convert",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"from",flags:"l",C:[{N:"str",val:"AZ"}]},{N:"att",name:"to",flags:"l",C:[{N:"str",val:"AS"}]},{N:"elem",line:"78",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"elem",line:"79", -name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"elem",line:"80",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]},{N:"att",name:"loc",flags:"l",C:[{N:"varRef",name:"Q{}loc",slot:"10"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}lineNr",slot:"7"}]}]},{N:"att",name:"allow-empty", -flags:"l",C:[{N:"str",val:"true"}]},{N:"choose",line:"81",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"4"},{N:"att",line:"82",name:"BC",flags:"l",C:[{N:"str",val:"true"}]}]},{N:"varRef",line:"85",name:"Q{}xpath-default-namespace",slot:"1"},{N:"varRef",line:"85",name:"Q{}default-collation",slot:"3"}]}]}]}]}]}]},{N:"sequence",line:"92",C:[{N:"choose",C:[{N:"varRef",line:"93",name:"Q{}backward-compatibility",slot:"4"},{N:"elem",line:"94",name:"first",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"varRef",line:"95",name:"Q{}content",slot:"12"}]},{N:"true"},{N:"varRef",line:"99",name:"Q{}content",slot:"12"}]},{N:"elem",line:"102",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:" "}]}]}]}]}]}]},{N:"true"},{N:"elem",line:"106",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]},{N:"true"},{N:"elem",line:"112",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att", -name:"val",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:replace",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"str",val:"\\}\\}"},{N:"str",val:"}"},{N:"str",val:""}]}]}]}]},{N:"choose",line:"117",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]}, -{N:"axis",name:"self",nodeTest:"NA"}]}]},{N:"choose",line:"118",C:[{N:"fn",line:"119",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"11"}]},{N:"elem",line:"120",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"2"}]},{N:"varRef",line:"121",name:"Q{}attr",slot:"5"}]}]},{N:"compareToInt",line:"124",op:"lt",val:"2",C:[{N:"fn",name:"count", -C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"forEach",line:"125",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"copy",line:"126",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"127",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}attr",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"132",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"concat"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"3"}]},{N:"varRef",line:"133",name:"Q{}attr",slot:"5"},{N:"varRef",line:"135",name:"Q{}parts",slot:"11"},{N:"elem",line:"137",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]}]}]}]}]},{N:"fn",line:"144",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"11"}]},{N:"empty"},{N:"compareToInt", -line:"145",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"elem",line:"146",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"4"}]},{N:"varRef",line:"147",name:"Q{}attr",slot:"5"},{N:"varRef",line:"148",name:"Q{}parts",slot:"11"}]}]},{N:"true"},{N:"elem",line:"152",name:"valueOf", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"5"}]},{N:"varRef",line:"153",name:"Q{}attr",slot:"5"},{N:"elem",line:"154",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string-join"}]},{N:"elem",line:"155",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"156",name:"Q{}parts", -slot:"11"}]},{N:"elem",line:"158",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"230",binds:"1",C:[{N:"function",name:"Q{MyTypes}treat",line:"879",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"886",name:"treat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"ufCall",line:"885",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"str",val:"^[01*+?]"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"choose",line:"887",C:[{N:"gc",line:"888",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"o"}]}]},{N:"str",val:"*"}]},{N:"sequence",line:"889",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",name:"Q{}expression",slot:"0"}]},{N:"true"},{N:"sequence",line:"892",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"elem",line:"893",name:"check", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"o"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"894",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}, -{N:"varRef",line:"894",name:"Q{}expression",slot:"0"}]}]}]}]}]}]}]}]},{N:"co",id:"286",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_INTEGER",as:"1FM k[AS] v[1AS]",line:"22",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"ADI"}]}]}]},{N:"co",id:"287",binds:"",C:[{N:"function",name:"Q{MyFunctions}error-code",line:"31",module:"lib.xsl",flags:"pU",as:"1AQ",slots:"1",C:[{N:"arg",name:"Q{}code",as:"*"},{N:"fn", -role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:QName",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:QName",C:[{N:"data",diag:"0|1||fn:QName",C:[{N:"varRef",name:"Q{}code",slot:"0"}]}]}]}]}]}]}]}, -{N:"co",id:"288",binds:"",C:[{N:"globalVariable",name:"Q{}saxonjsVersion",as:"1AS",line:"171",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"str",val:"2.7"}]}]},{N:"co",id:"263",binds:"22",C:[{N:"template",name:"Q{}check-select",flags:"os",as:"0",line:"62",module:"lib.xsl",slots:"0",C:[{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"63",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"check",line:"64",card:"0",diag:"7|0|XTTE0505|check-select",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" must have an @select attribute"}]}, -{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"co",id:"269",binds:"1 108",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ATTRIBUTE",as:"1AS",line:"53",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"53",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ATTRIBUTE",bSlot:"1"}]}]}]},{N:"co",id:"289",binds:"", -C:[{N:"globalVariable",name:"Q{}END_OF_ALPHABET",as:"1ADI",line:"125",module:"static.xsl",visibility:"PRIVATE",C:[{N:"int",val:"50000"}]}]},{N:"co",id:"106",binds:"102 22 120 48 22 105 164 22 105 48 105 34 22 22 22 22 22 22 22 251 29 29",C:[{N:"mode",name:"Q{}static",onNo:"SC",flags:"W",patternSlots:"1",C:[{N:"templateRule",prec:"0",prio:"5.01",seq:"329",rank:"10",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"25",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"25",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"26",C:[{N:"param", -name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"31",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"1NA",C:[{N:"att",line:"29",name:"xpath-default-namespace",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"5.0",seq:"324",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"5.0",seq:"4",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"718",module:"static.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"718",flags:"",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"union",op:"|",C:[{N:"union",op:"|",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]}]}]}, -{N:"gc",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"718",op:">",card:"M:N",comp:"QUNC",C:[{N:"data",diag:"1|0||>",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"},{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]},{N:"dec",val:"3"}]}]},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"718",name:"not",C:[{N:"filter",flags:"b",C:[{N:"gVarRef",name:"Q{}top-level-declarations",bSlot:"0"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]}]}]}]}]}]}]},{N:"message",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"719",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"IGNORING "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"templateRule",prec:"0",prio:"3.5",seq:"362",rank:"8",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"130",module:"attributes.xsl",C:[{N:"p.withPredicate", -role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"130",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"131",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"132",name:"Q{}extension-element-prefixes",slot:"1",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|extension-element-prefixes",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-prefixes",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-prefixes", -C:[{N:"supplied",slot:"1"}]}]}]}]},{N:"nextMatch",line:"133",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"136",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}extension-element-prefixes",flags:"t",as:"*AS",C:[{N:"sequence",line:"135",C:[{N:"varRef",name:"Q{}extension-element-prefixes",slot:"1"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"20",rank:"7",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1028",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1028",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1029",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1", -diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1030",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1032","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose",line:"1033",C:[{N:"fn",line:"1034",name:"exists",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}_use-when"}]},{N:"check",line:"1035",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]}]}]}]},{N:"true"},{N:"check",line:"1038",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert", -from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}]}]}]}]}]},{N:"let",line:"1042","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1043","var":"Q{}dot",as:"1",slot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"compElem",line:"1044",C:[{N:"str",role:"name", -val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1045",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"1047",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]}, -{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"4"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"let",line:"1052","var":"Q{}use",as:"1AB",slot:"5",C:[{N:"treat",line:"1055",as:"AB",diag:"3|0|XTTE0570|use",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|use",C:[{N:"data",diag:"3|0|XTTE0570|use",C:[{N:"try",flags:"r",C:[{N:"evaluate", -dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"withParam",name:"Q{}compileSyntax",as:"1AB",C:[{N:"false"}]}, -{N:"withParam",name:"Q{}errorsAsMessages",as:"1AB",C:[{N:"false"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1063",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Y"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall", -name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"let",line:"1068","var":"Q{}possibleCode",as:"1AS",slot:"6",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before",C:[{N:"data",diag:"0|0||fn:substring-before", -C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]},{N:"choose",line:"1075",C:[{N:"castable",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"substring-after",C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-after", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"fn",name:"error",C:[{N:"treat",as:"AQ",diag:"0|0||fn:error",C:[{N:"check",card:"?",diag:"0|0||fn:error",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str", -val:"code"}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"choose",line:"1079",C:[{N:"varRef",line:"1080",name:"Q{}use",slot:"5"},{N:"sequence",line:"1081",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b", -C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]}]}]},{N:"fn",line:"1082",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"str",val:"@xsl:use-when cannot be used on XSL element "}, -{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]}]},{N:"nextMatch",line:"1084",flags:"t"}]},{N:"fn",line:"1086",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]},{N:"applyT",line:"1092",flags:"ct",bSlot:"-1",C:[{N:"copy",role:"select",line:"1088",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*", -C:[{N:"axis",role:"content",line:"1089",name:"attribute",nodeTest:"NA d[NA,NA u[NA nQ{}use-when,NA nQ{}_use-when]]"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"5",rank:"7",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"723",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"vc",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"723",op:"eq",onEmpty:"0",comp:"CCC", -C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{http://www.w3.org/XML/1998/namespace}space"}]},{N:"str",val:"preserve"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"724",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"725",flags:"t", -C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"727",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xml-space-preserve",flags:"t",as:"1AB",C:[{N:"true"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"19",rank:"6",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1023",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"1023",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1024",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"str",val:"@xsl:use-when cannot be used on XSL element "}, -{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"3.0",seq:"21",rank:"5",minImp:"0",slots:"6",matches:"NE",flags:"s",line:"1149",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1149",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1150",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", -as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1151",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1153","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose", -line:"1154",C:[{N:"fn",line:"1155",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]},{N:"check",line:"1156",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]}]}]}]}, -{N:"true"},{N:"check",line:"1159",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"}]}]}]}]}]},{N:"let",line:"1163","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1164","var":"Q{}dot",as:"1",slot:"4", -C:[{N:"dot",type:"1NE",flags:"a"},{N:"compElem",line:"1165",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1166",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"1167",flags:"l",C:[{N:"fn",role:"name",name:"concat", -C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"4"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"let",line:"1171","var":"Q{}use",as:"1AB",slot:"5",C:[{N:"treat",line:"1174",as:"AB",diag:"3|0|XTTE0570|use",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|use",C:[{N:"data",diag:"3|0|XTTE0570|use", -C:[{N:"try",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch", -errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1176",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Z"},{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:error",C:[{N:"data",diag:"0|1||fn:error",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160", -C:[{N:"fn",line:"1179",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before",C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"fn",name:"substring-after", -C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-after",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]},{N:"choose",line:"1183",C:[{N:"varRef",name:"Q{}use",slot:"5"},{N:"nextMatch",line:"1184",flags:"t"}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"3.0",seq:"6",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"731",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"731",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"732","var":"Q{}version",as:"1AD",slot:"0",C:[{N:"callT",line:"733",name:"Q{}XSLT-version",bSlot:"2"},{N:"nextMatch",line:"735",flags:"t",C:[{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"736",name:"Q{}version",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"16",rank:"4",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"984",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"984",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"985",C:[{N:"param",name:"Q{}xml-space-preserve",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"986",name:"Q{}import-precedence",slot:"1",flags:"t",C:[{N:"int",role:"select",val:"1"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"987",name:"Q{}moduleLabel",slot:"2",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"convert",from:"A",to:"AS", -flags:"p",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"data",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"988",name:"Q{}precLabel",slot:"3",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|precLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|precLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"data",diag:"8|0|XTTE0590|precLabel", -C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"989",name:"Q{}stylesheet-properties",slot:"4",flags:"t",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|stylesheet-properties",C:[{N:"supplied",slot:"4"}]}]},{N:"copy",line:"990",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",C:[{N:"sequence",role:"content",line:"992",C:[{N:"att",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -"var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat", -C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"3"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",line:"994",name:"ex:baseUri", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"att",line:"995",name:"ex:precLabel",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"varRef",name:"Q{}precLabel",slot:"3"}]},{N:"choose",line:"996",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}decimal-format,NE nQ{http://www.w3.org/1999/XSL/Transform}import],NE nQ{http://www.w3.org/1999/XSL/Transform}include],NE nQ{http://www.w3.org/1999/XSL/Transform}output]"}]}, -{N:"varRef",line:"997",name:"Q{}stylesheet-properties",slot:"4"}]},{N:"att",line:"999",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"6",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"7",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"6"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"7"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"7"}]}]}]}]}]}]}]}]}]}]}]},{N:"choose",line:"1000",C:[{N:"fn",name:"exists", -C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"ufCall",line:"1005",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"An XSLT element cannot have attribute(s) "},{N:"fn",name:"string-join",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"axis", -name:"attribute",nodeTest:"NA"},{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:","}]}]},{N:"str",val:" in the XSLT namespace"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"applyT",line:"1007",flags:"c",bSlot:"-1",C:[{N:"docOrder",role:"select",intra:"1",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}, -{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"applyT",line:"1010",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"4",C:[{N:"str",val:""},{N:"str",val:"http://saxon.sf.net/"},{N:"str",val:"http://ns.saxonica.com/xslt/export"},{N:"str",val:"http://www.w3.org/XML/1998/namespace"}]}, -{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"callT",line:"1011",name:"Q{}staticText",bSlot:"5",C:[{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1012",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"10",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"782",module:"static.xsl", -C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"NE"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"},{N:"p.nodeTest",test:"NE"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"783",C:[{N:"param",name:"Q{}XSLT-version",slot:"0",flags:"t",as:"1AD",C:[{N:"dec",role:"select",val:"3"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"data",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"choose",line:"784",C:[{N:"or",line:"785",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]}, -{N:"vc",op:"gt",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}XSLT-version",slot:"0"},{N:"dec",val:"3"}]}]},{N:"nextMatch",line:"786",flags:"t"},{N:"true"},{N:"ufCall",line:"790",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"7",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" must be the root element of a document, or the child of xsl:package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0", -prio:"0.9",seq:"17",rank:"3",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"1017",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1017",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, -{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"14",rank:"0",minImp:"0",slots:"26",matches:"NE",flags:"s",line:"834",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"835",C:[{N:"param",name:"Q{}required-version",slot:"0",as:"?AD",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|required-version", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|required-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|required-version",C:[{N:"data",diag:"8|0|XTTE0590|required-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"836",name:"Q{}has-uniform-static-context",slot:"1",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context", -C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"837",name:"Q{}extension-element-namespaces",slot:"2",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"supplied",slot:"2"}]}]}]}]},{N:"choose", -line:"841",C:[{N:"varRef",line:"842",name:"Q{}has-uniform-static-context",slot:"1"},{N:"copy",line:"843",flags:"in",sit:"1NE",C:[{N:"let",role:"content",line:"844","var":"Q{}lineNo",slot:"3",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall", -name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"845",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"compareToInt",op:"ne",val:"-1", -C:[{N:"varRef",name:"Q{}lineNo",slot:"3"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}lineNo",slot:"3"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"6",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:line-number", -C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln", -slot:"7",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"6"}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"7"},{N:"int",val:"-1"}]},{N:"instance",of:"1NE",C:[{N:"varRef",name:"Q{}node",slot:"6"}]}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"7"}]}]}]}]}]}]}]}]}]}]}]}, -{N:"att",line:"846",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}lineNo",slot:"3"}]}]}]},{N:"choose",line:"848",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"att",line:"849",name:"ex:baseUri",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l", -C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"851",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",line:"852",name:"ex:exclude",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",line:"909",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"slash",C:[{N:"dot",line:"852",type:"1NE",flags:"a"},{N:"fn",name:"reverse", -C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"true"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]}]}]}, -{N:"let",line:"910","var":"Q{}owner",as:"*N u[NE,ND]",slot:"8",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"choose",line:"912",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]}]}]},{N:"forEach",line:"913",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}owner",slot:"8"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NN"}]}]},{N:"true"},{N:"let",line:"923","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"1NE i[NE,N u[NE,ND]]",slot:"9",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}owner",slot:"8"}]},{N:"forEach",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot", -type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"}]}]},{N:"fn",name:"string",C:[{N:"dot",type:"1AU"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"forEach",line:"854",C:[{N:"union",op:"|",C:[{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis", -name:"child",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]},{N:"att",line:"855",name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"let",line:"857","var":"Q{}shadows",as:"*NA",slot:"10",C:[{N:"filter",flags:"b", -C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"858",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"10"}]}]}]},{N:"applyT",line:"859",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"10"}]},{N:"callT",line:"860",name:"Q{}staticText", -bSlot:"8"}]}]}]}]}]},{N:"true"},{N:"copy",line:"864",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"866",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"fn",name:"not",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}n1",as:"1NE",slot:"11",C:[{N:"dot", -ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"},{N:"let","var":"Q{}n2",as:"1NE",slot:"12",C:[{N:"treat",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",as:"NE",diag:"0|1||f:has-same-namespaces",C:[{N:"check",card:"1",diag:"0|1||f:has-same-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"let",module:"namespaces.xsl", -line:"120","var":"Q{}n1.prefixes",as:"*AS",slot:"13",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n1",slot:"11"}]},{N:"let",line:"121","var":"Q{}n2.prefixes",as:"*AS",slot:"14",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n2",slot:"12"}]},{N:"and",line:"127",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"13"}]},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"14"}]}]},{N:"every","var":"Q{}p", -slot:"15",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"13"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"14"},{N:"varRef",name:"Q{}p",slot:"15"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"15"},{N:"varRef",name:"Q{}n1",slot:"11"}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"15"},{N:"varRef",name:"Q{}n2",slot:"12"}]}]}]}]}]}]}]}]}]}]}]},{N:"att", -line:"867",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"16",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn", -name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}, -{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"9"},{N:"fn",name:"name", -C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"let",line:"869","var":"Q{}base",as:"?AU",slot:"17",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"sequence",line:"870",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"varRef",name:"Q{}base",slot:"17"},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri", -C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"att",line:"871",name:"ex:baseUri",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"varRef",name:"Q{}base",slot:"17"}]}]}]},{N:"choose",line:"873",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",line:"874",name:"ex:exclude",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",line:"909", -C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"slash",C:[{N:"dot",line:"874",type:"1NE",flags:"a"},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"true"},{N:"sequence",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]}]}]},{N:"let",line:"910","var":"Q{}owner",as:"*N u[NE,ND]",slot:"18",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"choose",line:"912",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]}]}]},{N:"forEach",line:"913",C:[{N:"slash", -simple:"2",C:[{N:"varRef",name:"Q{}owner",slot:"18"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NN"}]}]},{N:"true"},{N:"let",line:"923","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"19",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}owner",slot:"18"}]},{N:"forEach",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot",type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"19"}]}]},{N:"fn",name:"string",C:[{N:"dot",type:"1AU"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"forEach",line:"876",C:[{N:"union",op:"|", -C:[{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]},{N:"att",line:"877", -name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"let",line:"879","var":"Q{}lineNo",slot:"20",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"21",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"21"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"22",C:[{N:"ifCall", -name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"21"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"22"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"21"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"22"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"880",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"compareToInt",op:"ne", -val:"-1",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"23",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",card:"1", -diag:"0|0||f:line-number",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"24",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"23"}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"24"},{N:"int",val:"-1"}]},{N:"instance",of:"1NE",C:[{N:"varRef",name:"Q{}node",slot:"23"}]}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef", -name:"Q{}ln",slot:"24"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",line:"881",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"}]}]}]},{N:"let",line:"883","var":"Q{}shadows",as:"*NA",slot:"25",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"884",C:[{N:"applyT",flags:"c",bSlot:"-1", -C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"25"}]}]}]},{N:"applyT",line:"885",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"25"}]},{N:"callT",line:"886",name:"Q{}staticText",bSlot:"10"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"8",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",line:"770",module:"static.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"771",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",line:"772",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]},{N:"str",val:" cannot contain element "}]},{N:"slash",C:[{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]}]},{N:"nextMatch",line:"774",flags:"t",C:[{N:"withParam",name:"Q{}xml-space-preserve",flags:"t",as:"1AB",C:[{N:"true"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"18",part:"1",rank:"2",minImp:"0", -slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1019",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1019",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"1020",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Non-global "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",val:" "}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot be static"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5", -seq:"18",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"1019",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1019",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"1020",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Non-global "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",val:" "}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot be static"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5", -seq:"13",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"s",line:"802",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"802",name:"not",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"normalize.xsl",line:"777",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"802",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}, -{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"803",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE0190"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"a"}]},{N:"str",val:" must be a top-level component"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import", -flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"11",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"s",line:"796",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"796",C:[{N:"axis",name:"child",nodeTest:"NE"}, -{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"797",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE", -flags:"a"}]},{N:"str",val:" cannot have any content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"9",rank:"4",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"779",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"p.nodeTest",test:"NE"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"780",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"a"}]},{N:"str",val:" must be a the root element of a document"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"12",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}include", -flags:"s",line:"799",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"799",name:"not",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl", -line:"777",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"799",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]},{N:"ufCall",role:"action", -ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"800",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTSE0170"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"a"}]},{N:"str",val:" must be a top-level component"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"a"}]}]},{N:"templateRule", -prec:"0",prio:"0.5",seq:"11",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"s",line:"796",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"796",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b", -C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"797",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"18",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str", -val:" cannot have any content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"7",rank:"2",minImp:"0",slots:"7",matches:"NA",flags:"s",line:"740",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"740",name:"starts-with",C:[{N:"fn", -name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"741",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1", -diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"742",name:"Q{}var-slots",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"743",name:"Q{}stylesheet-base-uri",slot:"2",flags:"t",as:"1AU",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|stylesheet-base-uri",C:[{N:"fn",name:"base-uri", -C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"744",name:"Q{}xpath-default-namespace",slot:"3",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"3"}]}]}]},{N:"let",line:"745","var":"Q{}container",as:"1NE c~untyped",slot:"4",C:[{N:"let",line:"746","var":"Q{}dot",as:"*N u[NE,ND]",slot:"5",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"750","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"6",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}dot",slot:"5"}]}, -{N:"compElem",line:"747",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"3"}]}]}]},{N:"forEach",role:"content",line:"748",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"check",card:"1",diag:"0|0||fn:in-scope-prefixes",C:[{N:"varRef",name:"Q{}dot",slot:"5"}]}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"750",flags:"l",C:[{N:"fn", -role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]}]},{N:"compAtt",line:"755",C:[{N:"fn",role:"name",name:"substring",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"int",val:"2"}]},{N:"fn",role:"select",line:"757", -name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",line:"758",C:[{N:"ufCall",line:"757",name:"Q{MyFunctions}parse-value-template",tailCall:"false",bSlot:"19",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-value-template",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-value-template",C:[{N:"data",diag:"0|0||f:parse-value-template",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"dot",type:"1NA",flags:"a"}]},{N:"choose",line:"759",C:[{N:"compareToString", -line:"760",op:"eq",val:"literal",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"valueOf",line:"760",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]},{N:"true"},{N:"evaluate",line:"763",dxns:"",C:[{N:"convert",role:"xpath",from:"AZ",to:"AS",flags:"p",diag:"4|0||xsl:evaluate/xpath",C:[{N:"cvUntyped",to:"AS",diag:"4|0||xsl:evaluate/xpath",C:[{N:"data",diag:"4|0||xsl:evaluate/xpath",C:[{N:"dot",type:"1NA"}]}]}]},{N:"empty",role:"cxt"},{N:"convert",role:"baseUri", -from:"AU",to:"AS",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"2"}]},{N:"varRef",role:"nsCxt",name:"Q{}container",slot:"4"},{N:"str",role:"sa",val:"no"},{N:"ifCall",role:"options",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"1"}]},{N:"map", -size:"1",C:[{N:"str",val:"allow-empty"},{N:"true"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"22",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}use-when",flags:"s",line:"1188",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", -C:[{N:"p.nodeTest",test:"NA nQ{}use-when"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"22",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when",flags:"s",line:"1188",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"15",part:"1",rank:"1", -minImp:"0",slots:"2",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes",flags:"s",line:"892",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"895","var":"Q{}discard",slot:"1",C:[{N:"applyT",mode:"Q{}normalize",bSlot:"20",C:[{N:"dot",role:"select", -type:"1NA",flags:"a"}]},{N:"subscript",line:"897",C:[{N:"varRef",name:"Q{}discard",slot:"1"},{N:"int",val:"100000"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"15",rank:"2",minImp:"0",slots:"2",matches:"NA nQ{}exclude-result-prefixes",flags:"s",line:"892",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}exclude-result-prefixes"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"894","var":"Q{}discard",slot:"0",C:[{N:"applyT",line:"895",mode:"Q{}normalize",bSlot:"21",C:[{N:"dot",role:"select",type:"1NA",flags:"a"}]},{N:"subscript",line:"897",C:[{N:"varRef",name:"Q{}discard",slot:"0"},{N:"int",val:"100000"}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"23",rank:"0",minImp:"0",slots:"0",matches:"NC",flags:"s",line:"1189",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NC"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"23",part:"1", -rank:"0",minImp:"0",slots:"0",matches:"NP",flags:"s",line:"1189",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NP"},{N:"empty",role:"action"}]}]}]},{N:"co",id:"290",binds:"",C:[{N:"function",name:"Q{MyTypes}cardinalityCode",line:"46",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}indic",as:"?AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"66", -C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"*"}]},{N:"str",val:"Z1M"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"+"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}indic",slot:"0"}]}]},{N:"str",val:"1"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"?"}]},{N:"str",val:"Z1"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC", -C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]}]}]},{N:"co",id:"79",binds:"",C:[{N:"globalVariable",name:"Q{}roles",as:"1FM k[AS] v[1NA]",line:"577",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"587",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"literal",count:"31",C:[{N:"str",val:"action"},{N:"str",val:"select"},{N:"str",val:"match"},{N:"str",val:"body"},{N:"str",val:"content"},{N:"str",val:"sort"},{N:"str",val:"separator"},{N:"str",val:"caseOrder"},{N:"str",val:"dataType"},{N:"str",val:"collation"},{N:"str",val:"name"},{N:"str",val:"namespace"},{N:"str",val:"on-completion"},{N:"str",val:"baseUri"},{N:"str",val:"href"},{N:"str",val:"regex"},{N:"str",val:"flags"},{N:"str",val:"forEachItem"},{N:"str",val:"forEachStream"}, -{N:"str",val:"selectRows"},{N:"str",val:"startAt"},{N:"str",val:"format"},{N:"str",val:"count"},{N:"str",val:"gpSep"},{N:"str",val:"gpSize"},{N:"str",val:"stable"},{N:"str",val:"order"},{N:"str",val:"ordinal"},{N:"str",val:"lang"},{N:"str",val:"error"},{N:"str",val:"terminate"}]},{N:"ifCall",line:"588",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"att",line:"589",name:"role",C:[{N:"dot",type:"1AS"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, -{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"291",binds:"",C:[{N:"function",name:"Q{MyFunctions}comparableMergeKeys",line:"87",module:"merging.xsl",flags:"pU",as:"1AB",slots:"5",C:[{N:"arg",name:"Q{}k1",as:"1FA v[1FM]"},{N:"arg",name:"Q{}k2",as:"1FA v[1FM]"},{N:"and",role:"body",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"100",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"0"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k2",slot:"1"}]}]},{N:"every","var":"Q{}k",slot:"2",C:[{N:"to",C:[{N:"int",val:"1"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"0"}]}]}, -{N:"let","var":"Q{}a",slot:"3",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k1",slot:"0"},{N:"varRef",name:"Q{}k",slot:"2"}]},{N:"str",val:"p"}]},{N:"let","var":"Q{}b",slot:"4",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k2",slot:"1"},{N:"varRef",name:"Q{}k",slot:"2"}]},{N:"str",val:"p"}]},{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0", -comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}a",slot:"3"}]},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring", -C:[{N:"varRef",name:"Q{}a",slot:"3"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]},{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence", -C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}a",slot:"3"}]},{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]},{N:"co",id:"292",binds:"",C:[{N:"function",name:"Q{MyFunctions}lastCommon",line:"791",module:"type.xsl",flags:"pU",as:"1AS",slots:"5",C:[{N:"arg",name:"Q{}set1",as:"*AS"},{N:"arg",name:"Q{}set2",as:"*AS"},{N:"arg",name:"Q{}default",as:"1AS"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"796",card:"1",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"data",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"iterate",C:[{N:"varRef",role:"select",name:"Q{}set1",slot:"0"},{N:"params",role:"params",line:"797",C:[{N:"param",name:"Q{}common",slot:"3",C:[{N:"varRef",role:"select",name:"Q{}default",slot:"2"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param", -line:"798",name:"Q{}this2",slot:"4",C:[{N:"varRef",role:"select",name:"Q{}set2",slot:"1"},{N:"supplied",role:"conversion",slot:"4"}]}]},{N:"varRef",role:"on-completion",line:"799",name:"Q{}common",slot:"3"},{N:"choose",role:"action",line:"801",C:[{N:"vc",line:"802",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1AS"},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"first",C:[{N:"varRef",name:"Q{}this2",slot:"4"}]}]}]},{N:"nextIteration",line:"803", -C:[{N:"withParam",name:"Q{}common",as:"1",slot:"3",C:[{N:"dot",line:"804",type:"1AS"}]},{N:"withParam",name:"Q{}this2",slot:"4",C:[{N:"tail",line:"805",start:"2",C:[{N:"varRef",name:"Q{}this2",slot:"4"}]}]}]},{N:"true"},{N:"sequence",line:"809",C:[{N:"varRef",name:"Q{}common",slot:"3"},{N:"break"}]}]}]}]}]}]}]}]}]},{N:"co",id:"293",binds:"",C:[{N:"function",name:"Q{MyTypes}allowsZeroNEW",line:"131",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"1AS"},{N:"fn", -role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"133",name:"contains",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"133",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"133",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"133",name:"Q{}cardinality", -slot:"0"}]},{N:"str",val:"1"},{N:"compareToString",line:"133",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"133",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"str",val:"Z"}]}]}]},{N:"co",id:"294",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.EXACTLY_ONE",as:"1ADI",line:"112",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co", -id:"1",binds:"0",C:[{N:"function",name:"Q{MyTypes}unmarshalType",line:"68",module:"sequenceType.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"70",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType0",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]}]}]},{N:"co",id:"295",binds:"1 118",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_ITEM", -as:"1AS",line:"46",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"46",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_ITEM",bSlot:"1"}]}]}]},{N:"co",id:"296",binds:"1 278",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_UNTYPED_ATOMIC",as:"1AS",line:"61",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"61",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_UNTYPED_ATOMIC",bSlot:"1"}]}]}]},{N:"co",id:"245",binds:"106 106 48 170 29 190 22 22",C:[{N:"mode",name:"Q{}compile",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"1.5",seq:"374",rank:"1",minImp:"0",slots:"10",matches:"NE",flags:"s",line:"351",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"}, -{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"352",C:[{N:"param",name:"Q{}stylesheet-base-uri",slot:"0",flags:"t",as:"?AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot", -type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"353",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check", -card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"354",name:"Q{}defaultHTML5",slot:"2",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"356",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options", -slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"357",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting static processing for"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"baseURI:"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"359","var":"Q{}static-processed",as:"1ND",slot:"3",C:[{N:"doc",line:"360",C:[{N:"copy", -flags:"cinl",sit:"1NE",C:[{N:"let",role:"content",line:"361","var":"Q{}shadows",as:"*NA",slot:"4",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"362",C:[{N:"applyT",mode:"Q{}static",bSlot:"0",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"4"}]}]}]},{N:"applyT", -line:"364",mode:"Q{}static",bSlot:"1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"4"}]},{N:"att",line:"365",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef", -name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"2"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"choose",line:"366",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"att",line:"367",name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"let",line:"369","var":"Q{}temp",as:"1FM",slot:"6",C:[{N:"treat",line:"370",as:"FM",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"3",C:[{N:"dot",role:"select",type:"1NE",flags:"a"},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"check",line:"372",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri", -C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"0"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]}]}]}]},{N:"lookup",line:"375",C:[{N:"varRef",name:"Q{}temp",slot:"6"},{N:"str",val:"components"}]}]}]}]}]}]},{N:"sequence",line:"379",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"380",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Static processed:"},{N:"fn",name:"serialize", -C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"382",C:[{N:"lookup",line:"383",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justStatic"}]},{N:"copyOf",line:"384",flags:"c",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]},{N:"true"},{N:"sequence",line:"387",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"statistics"}]}, -{N:"message",line:"388",C:[{N:"sequence",role:"select",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",val:" declarations\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}, -{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"str",val:"\n attributes "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef", -name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}]}]}]},{N:"str",val:" ex:* attributes "}]}]},{N:"let",line:"392","var":"Q{}largest",as:"?ADI",slot:"7",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"sequence", -line:"388",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"\n "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}largest",slot:"7"}]}]},{N:"str",val:" largest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"varRef", -line:"389",name:"Q{}largest",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"let",line:"396","var":"Q{}deepest",as:"?ADI",slot:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor",nodeTest:"NE"}]}]}]},{N:"valueOf",line:"388",C:[{N:"fn",name:"concat",C:[{N:"str",val:" "},{N:"fn",name:"string", -C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}deepest",slot:"8"}]}]},{N:"str",val:"\n deepest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",comp:"CAVC",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"axis",name:"descendant",nodeTest:"NE"},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor",nodeTest:"NE"}]}]}]},{N:"varRef",line:"389", -name:"Q{}deepest",slot:"8"}]}]}]}]}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"400",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"401",C:[{N:"str",role:"select",val:"Starting Normalization"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"403","var":"Q{}normalized", -slot:"9",C:[{N:"applyT",line:"404",mode:"Q{}normalize",bSlot:"4",C:[{N:"varRef",role:"select",name:"Q{}static-processed",slot:"3"},{N:"withParam",name:"Q{}allowSyntaxExtensions",flags:"t",as:"1",C:[{N:"first",line:"408",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"allowSyntaxExtensions"}]},{N:"false"}]}]}]}]},{N:"choose",line:"411",C:[{N:"lookup",line:"412",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justNormalize"}]},{N:"varRef",line:"413", -name:"Q{}normalized",slot:"9"},{N:"true"},{N:"sequence",line:"416",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"417",C:[{N:"str",role:"select",val:"Starting XSLT compiling"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"419",mode:"Q{}sef.top",flags:"t",bSlot:"5",C:[{N:"varRef",role:"select",name:"Q{}normalized",slot:"9"}]}]}]}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"1.0",seq:"375",rank:"0",minImp:"0",slots:"6",matches:"NE",flags:"s",line:"427",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE"},{N:"p.nodeTest",test:"ND"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"428",C:[{N:"param", -name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"429",name:"Q{}defaultHTML5",slot:"1",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5", -C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"431","var":"Q{}embedded",as:"*NE",slot:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform]"},{N:"let",line:"432","var":"Q{}stylesheet-base-uri",as:"1AU",slot:"3",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|stylesheet-base-uri",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"choose", -line:"434",C:[{N:"fn",line:"435",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}embedded",slot:"2"}]}]},{N:"ufCall",line:"438",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"6",C:[{N:"str",val:"XTSE0150"},{N:"str",val:"There must not be more than one embedded stylesheet in a document"},{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",line:"440",name:"exists",C:[{N:"varRef",name:"Q{}embedded",slot:"2"}]},{N:"let",line:"449","var":"Q{}temp",as:"1ND",slot:"4",C:[{N:"doc",line:"450", -C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",line:"442",simple:"1",C:[{N:"doc",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}embedded",slot:"2"},{N:"copy",line:"443",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"444",C:[{N:"att",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"copyOf",line:"445",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf", -line:"445",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]},{N:"axis",line:"450",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"first",line:"452",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"3"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]}]},{N:"slash",line:"456",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"true"},{N:"sequence", -line:"459",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"ufCall",line:"467",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"7",C:[{N:"str",val:"XTSE0150"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}package"}]},{N:"str",val:"Supplied stylesheet is a SEF package"},{N:"true"},{N:"str",val:"Simplified stylesheet root element lacks @xsl:version"}]}, -{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"481","var":"Q{}processed",as:"1ND",slot:"5",C:[{N:"treat",line:"482",as:"ND",diag:"3|0|XTTE0570|processed",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",line:"470",simple:"1",C:[{N:"doc",C:[{N:"elem",line:"471",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"att",line:"472",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"474",name:"xsl:template",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"match",flags:"l",C:[{N:"str",val:"/"}]},{N:"copy",line:"475",flags:"cinl",sit:"1NE", -C:[{N:"sequence",role:"content",line:"476",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"axis",line:"482",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"varRef",line:"484",name:"Q{}stylesheet-base-uri",slot:"3"}]}]}]}]},{N:"slash",line:"487",simple:"1",C:[{N:"varRef",name:"Q{}processed",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"297",binds:"", -C:[{N:"globalVariable",name:"Q{}XTTE0510",as:"1AQ",line:"342",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"}]}]},{N:"co",id:"143",binds:"1 179",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_STRING",as:"1AS",line:"60",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"60",name:"Q{MyTypes}unmarshalType", -tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_STRING",bSlot:"1"}]}]}]},{N:"co",id:"192",binds:"22 237 43 11 11",C:[{N:"mode",name:"Q{}serialization-property",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.25",seq:"204",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}*",flags:"s",line:"112",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"empty",role:"action"}]}, -{N:"templateRule",prec:"0",prio:"-0.5",seq:"205",rank:"0",minImp:"0",slots:"1",matches:"NA",flags:"s",line:"114",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"115",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check", -card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"117",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]}]}]},{N:"ufCall",line:"120",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE1560"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output declarations contain conflicting values for property "}, -{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:":"}]},{N:"fn",name:"string-join",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]},{N:"str",val:","}]}]},{N:"first",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]}]},{N:"choose",line:"122",C:[{N:"and",line:"123",op:"and",C:[{N:"compareToString",op:"eq",val:"version",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",name:"not",C:[{N:"fn", -name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"125",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"and",line:"127",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"1"},{N:"fn",name:"local-name", -C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"129",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"fn",line:"131",name:"namespace-uri",C:[{N:"dot", -type:"1NA",flags:"a"}]},{N:"elem",line:"133",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"2",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"206",part:"1",rank:"2",minImp:"0",slots:"7",matches:"NA nQ{}suppress-indentation",flags:"s",line:"138",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}suppress-indentation"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"139",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat", -role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check",card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"140","var":"Q{}decl",as:"*N u[NE,ND]",slot:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"5",flags:"l",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:EQName",C:[{N:"fn",name:"namespace-uri-for-prefix", -C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"4"}]}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"6",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"4"}]},{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA", -flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}group",slot:"0"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"3",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", -slot:"6"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"206",rank:"2",minImp:"0",slots:"7",matches:"NA nQ{}cdata-section-elements",flags:"s",line:"138",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}cdata-section-elements"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"139",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check",card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"140","var":"Q{}decl",as:"*N u[NE,ND]",slot:"1",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"2",flags:"l",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped", -to:"AS",diag:"0|3||f:EQName",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"1"}]}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"3",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"1"}]},{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name", -flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}group",slot:"0"},{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"4",C:[{N:"dot", -type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"2"}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"31",binds:"",C:[{N:"function",name:"Q{MyFunctions}selectAndContent",line:"22",module:"normalize4.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}instruction",as:"1NE"},{N:"and",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"24",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}instruction",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"exists",C:[{N:"slash",C:[{N:"varRef",name:"Q{}instruction",slot:"0"},{N:"sequence",C:[{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}fallback]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string", -C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"298",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.OVERLAPS",as:"1AS",line:"166",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"OV"}]}]},{N:"co",id:"299",binds:"52",C:[{N:"function",name:"Q{MyFunctions}diagnostic",line:"284",module:"lib.xsl",flags:"pU",as:"1NA",slots:"4",C:[{N:"arg",name:"Q{}kind",as:"*"},{N:"arg",name:"Q{}operand",as:"*"},{N:"arg",name:"Q{}error.code",as:"*"},{N:"arg",name:"Q{}operation",as:"*"}, -{N:"att",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"atomSing",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}kind",slot:"0"}]}]}]},{N:"fn", -name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}operand",slot:"1"}]}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"varRef",name:"Q{}error.code",slot:"2"}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"varRef",name:"Q{}operation",slot:"3"}]}]},{N:"str",val:"|"}]}]}]}]},{N:"co",id:"261",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg418646126",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:remove-attribute/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"300",binds:"",C:[{N:"function",name:"Q{MyTypes}isNumeric",line:"436",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg", -name:"Q{}alphaCode",as:"1AS"},{N:"or",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"438",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str", -val:"AF"}]}]}]}]},{N:"co",id:"266",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg271588719",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-attribute/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"273",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1081126121",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE1100"},{N:"str",val:"group-adjacent"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"129",binds:"125 129 132 1 69 7 129 129 129",C:[{N:"template",name:"Q{}process-variables",flags:"os",line:"654",module:"xpath.xsl",slots:"14", -C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"655",C:[{N:"param",name:"Q{}no.slots",slot:"0",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data", -diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"656",name:"Q{}local.variables",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"657",name:"Q{}parts",slot:"2",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|parts",C:[{N:"supplied", -slot:"2"}]}]},{N:"param",line:"658",name:"Q{}make.baseUri.explicit",slot:"3",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"data",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"659",name:"Q{}static-base-uri",slot:"4",flags:"t",C:[{N:"str", -role:"select",val:"dummy-base-uri"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"let",line:"660","var":"Q{}h",slot:"5",C:[{N:"applyT",line:"661",mode:"Q{}process-xpath",bSlot:"0",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]},{N:"let",line:"665","var":"Q{}make.baseUri.explicit",as:"1AB",slot:"6",C:[{N:"or",op:"or",C:[{N:"varRef",name:"Q{}make.baseUri.explicit",slot:"3"},{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef", -name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}baseUri"}]}]}]},{N:"choose",line:"666",C:[{N:"fn",line:"667",name:"empty",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"empty"},{N:"filter",line:"669",flags:"b",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}let"}]},{N:"fn",name:"exists",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}var"}]}]}]}]},{N:"let",line:"675","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1ADI",slot:"7",flags:"l",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"0"},{N:"int",val:"1"}]},{N:"let",line:"674","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*NE",slot:"8",flags:"l",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]},{N:"forEach",line:"670",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"let",line:"671","var":"Q{}rest", -as:"*NE",slot:"9",C:[{N:"treat",line:"673",as:"NE",diag:"3|0|XTTE0570|rest",C:[{N:"callT",name:"Q{}process-variables",bSlot:"1",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"varRef",line:"674",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"varRef",line:"675",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"7"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"678",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", -type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",line:"672",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}var"}]}]},{N:"sequence",C:[{N:"dot"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"attVal",name:"Q{}slot"}]}]},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"679",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"let",line:"682","var":"Q{}rest",as:"*NE",slot:"10",C:[{N:"choose",line:"683",C:[{N:"fn",line:"685",name:"empty",C:[{N:"varRef",name:"Q{}rest",slot:"9"}]},{N:"elem",line:"686",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE", -bSlot:"2"}]}]},{N:"true"},{N:"varRef",line:"689",name:"Q{}rest",slot:"9"}]},{N:"let",line:"694","var":"Q{}slot",as:"?NA",slot:"11",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]},{N:"let",line:"703","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"?AZ",slot:"12",flags:"l",C:[{N:"data",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}slot",slot:"11"}]},{N:"let",line:"699","var":"Q{}compound-type",slot:"13",C:[{N:"ufCall", -name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"4",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"5",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"sequence",line:"701",C:[{N:"choose",line:"703",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:varRef"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}slot"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"12"}]}]}]},{N:"copy",line:"704",flags:"in",sit:"1", -C:[{N:"sequence",role:"content",line:"705",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"707",name:"sType",flags:"l",C:[{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"707",name:"Q{}compound-type",slot:"13"},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"slash",line:"708",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"choose",line:"709",C:[{N:"compareToInt",line:"710",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"filter",line:"711",flags:"b", -C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]},{N:"true"},{N:"elem",line:"714",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}compound-type",slot:"13"}]},{N:"filter",line:"715",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]}]}]}, -{N:"compareToInt",line:"723",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"filter",line:"724",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]},{N:"true"},{N:"elem",line:"727",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType", -flags:"l",C:[{N:"varRef",name:"Q{}compound-type",slot:"13"}]},{N:"filter",line:"728",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]},{N:"filter",line:"696",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]}]}]}]}]}]}]},{N:"filter",line:"737",flags:"b",C:[{N:"varRef", -name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}]}]}]},{N:"sequence",line:"738",C:[{N:"copyOf",flags:"c",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"callT",line:"740",name:"Q{}process-variables",bSlot:"6",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"741",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]}, -{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"check",line:"743",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}, -{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]}]},{N:"int",val:"1"}]}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"746",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",C:[{N:"dot", -flags:"a"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}slot"}]}]},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"747",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"filter",line:"750",flags:"b", -C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}param"}]}]}]},{N:"sequence",line:"752",C:[{N:"copyOf",flags:"c",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"callT",line:"754",name:"Q{}process-variables",bSlot:"7",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"755",start:"2",C:[{N:"varRef",name:"Q{}parts", -slot:"2"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"758",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",line:"753",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"cast",flags:"ae",as:"?ADI", -C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]}]}]}]}]},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists", -C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"check",line:"759",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"check",card:"?",diag:"1|0||+",C:[{N:"slash", -C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]}]},{N:"int",val:"1"}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"760",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"true"},{N:"sequence",line:"764",C:[{N:"choose",C:[{N:"varRef",line:"765",name:"Q{}make.baseUri.explicit",slot:"6"},{N:"forEach",line:"766",C:[{N:"check",card:"?",diag:"4|0|XTTE3180|xsl:copy/select", -C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"copy",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"767",C:[{N:"copyOf",flags:"c",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]}]},{N:"att",line:"768",name:"baseUri", -flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}static-base-uri",slot:"4"}]}]}]},{N:"str",val:" "}]}]},{N:"copyOf",line:"769",flags:"c",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}, -{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"773",name:"Q{}h",slot:"5"}]},{N:"callT",line:"776",name:"Q{}process-variables",bSlot:"8",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"777",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"778",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]}]}]}]}]}]}]},{N:"co",id:"26",binds:"301",C:[{N:"globalVariable", -name:"Q{http://saxon.sf.net/generated-variable}gg1033972644",as:"*NE",line:"130",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"slash",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",simple:"1",C:[{N:"gVarRef",name:"Q{}type.hierarchy.tree",bSlot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"co",id:"173",binds:"",C:[{N:"function",name:"Q{MyFunctions}isInstance",line:"607",module:"type.xsl",flags:"pU",as:"1AB",slots:"2", -C:[{N:"arg",name:"Q{}a",as:"1"},{N:"arg",name:"Q{}type",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"611",C:[{N:"compareToString",line:"612",op:"eq",val:"AB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"613",of:"1AB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"616",op:"eq",val:"AS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", -line:"617",of:"1AS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"619",op:"eq",val:"ASN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"620",of:"1ASN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"622",op:"eq",val:"ASNT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"623",of:"1ASNT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"625",op:"eq",val:"ASNTL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", -line:"626",of:"1ASNTL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"628",op:"eq",val:"ASNTM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"629",of:"1ASNTK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"631",op:"eq",val:"ASNTN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"632",of:"1ASNTN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"634",op:"eq",val:"ASNTNC",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", -line:"635",of:"1ASNTNC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"637",op:"eq",val:"ASNTNCR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"638",of:"1ASNTNCR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"640",op:"eq",val:"ASNTNCE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"641",of:"1ASNTNCE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"643",op:"eq",val:"ASNTNCI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]}, -{N:"instance",line:"644",of:"1ASNTNCI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"647",op:"eq",val:"AQ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"648",of:"1AQ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"650",op:"eq",val:"AU",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"651",of:"1AU",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"653",op:"eq",val:"AA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", -line:"654",of:"1AA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"656",op:"eq",val:"AM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"657",of:"1AM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"659",op:"eq",val:"AMP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"660",of:"1AMP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"662",op:"eq",val:"AT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"663", -of:"1AT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"665",op:"eq",val:"AR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"666",of:"1AR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"668",op:"eq",val:"ARD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"669",of:"1ARD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"671",op:"eq",val:"ARY",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"672",of:"1ARY", -C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"674",op:"eq",val:"AG",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"675",of:"1AG",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"677",op:"eq",val:"AH",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"678",of:"1AH",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"680",op:"eq",val:"AI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"681",of:"1AI",C:[{N:"varRef", -name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"683",op:"eq",val:"AJ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"684",of:"1AJ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"686",op:"eq",val:"AK",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"687",of:"1AK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"690",op:"eq",val:"AD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"691",of:"1AD",C:[{N:"varRef",name:"Q{}a", -slot:"0"}]},{N:"compareToString",line:"693",op:"eq",val:"ADI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"694",of:"1ADI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"696",op:"eq",val:"ADIN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"697",of:"1ADIN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"699",op:"eq",val:"ADINN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"700",of:"1ADINN",C:[{N:"varRef",name:"Q{}a", -slot:"0"}]},{N:"compareToString",line:"702",op:"eq",val:"ADIP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"703",of:"1ADIP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"705",op:"eq",val:"ADIPP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"706",of:"1ADIPP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"708",op:"eq",val:"ADIPL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"709",of:"1ADIPL",C:[{N:"varRef",name:"Q{}a", -slot:"0"}]},{N:"compareToString",line:"711",op:"eq",val:"ADIPLI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"712",of:"1ADIPLI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"714",op:"eq",val:"ADIPLIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"715",of:"1ADIPLIS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"717",op:"eq",val:"ADIPLISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"718",of:"1ADIPLISB",C:[{N:"varRef", -name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"720",op:"eq",val:"ADIL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"721",of:"1ADIL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"723",op:"eq",val:"ADILI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"724",of:"1ADILI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"726",op:"eq",val:"ADILIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"727",of:"1ADILIS",C:[{N:"varRef", -name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"729",op:"eq",val:"ADILISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"730",of:"1ADILISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"733",op:"eq",val:"AO",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"734",of:"1AO",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"736",op:"eq",val:"AF",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"737",of:"1AF",C:[{N:"varRef", -name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"739",op:"eq",val:"A2",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"740",of:"1A2",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"742",op:"eq",val:"AX",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"743",of:"1AX",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"745",op:"eq",val:"AZ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"746",of:"1AZ",C:[{N:"varRef",name:"Q{}a", -slot:"0"}]},{N:"compareToString",line:"749",op:"eq",val:"N",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"750",of:"1N",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"752",op:"eq",val:"NE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"753",of:"1NE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"755",op:"eq",val:"NA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"756",of:"1NA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]}, -{N:"compareToString",line:"758",op:"eq",val:"NT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"759",of:"1NT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"761",op:"eq",val:"NC",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"762",of:"1NC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"764",op:"eq",val:"NP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"765",of:"1NP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"767",op:"eq",val:"ND",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"768",of:"1ND",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"770",op:"eq",val:"NN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"771",of:"1NN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"774",op:"eq",val:"F",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"775",of:"1F",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"777", -op:"eq",val:"FM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"778",of:"1FM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"780",op:"eq",val:"FA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"781",of:"1FA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"true"},{N:"true"}]}]}]},{N:"co",id:"65",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_ATOMIC",as:"1FM k[AS] v[1AS]",line:"15",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2", -C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"302",binds:"",C:[{N:"function",name:"Q{MyFunctions}path",line:"403",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"405",C:[{N:"fn",line:"406",name:"exists",C:[{N:"slash", -simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}loc"}]}]},{N:"convert",line:"406",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"instance",line:"407",of:"1NA",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}, -{N:"convert",line:"407",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/@"},{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}]}]}]}]},{N:"true"},{N:"convert",line:"408", -from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}]}]}]}]}]}]},{N:"co",id:"303",binds:"",C:[{N:"function",name:"Q{MyTypes}withCardinality",line:"317",module:"type.xsl",flags:"pU",as:"1FM",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}indicator",as:"1AS"},{N:"ifCall",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"o"},{N:"varRef",name:"Q{}indicator",slot:"1"}]},{N:"str",val:"code"}]}]}]},{N:"co",id:"304",binds:"48",C:[{N:"function",name:"Q{MyFunctions}recover-namespaces",line:"63",module:"namespaces.xsl",flags:"pU",as:"?FM",slots:"4",C:[{N:"arg",name:"Q{}context",as:"*"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"65","var":"Q{}ns",as:"?NA",slot:"1",C:[{N:"lastOf",C:[{N:"slash",simple:"2",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, -{N:"choose",line:"72",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"1"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespaces"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"varRef",name:"Q{}ns", -slot:"1"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"2",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"3",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"2"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"varRef",name:"Q{}prefix",slot:"2"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"3"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]}]}]}]},{N:"co",id:"195",binds:"38 164 126 48 124 15 164 48 126 212 15 164",C:[{N:"mode",name:"Q{}sef.global",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"3.6",seq:"365", -rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"360",rank:"8",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"356",rank:"7",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"352",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"82",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"349",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"75",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"345",rank:"5",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"341",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute", -nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03", -seq:"337",rank:"3",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"333",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"382",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1607",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate", -role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1607",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1608",flags:"t",C:[{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"1610",op:"lt",comp:"CAVC",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"dec",val:"2"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"384",rank:"0",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1616",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate", -role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1616",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1617",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"1619","var":"Q{}has-uniform-static-context", -as:"1AB",slot:"3",C:[{N:"ufCall",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"elem",line:"1620",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context", -slot:"3"}]}]},{N:"elem",line:"1622",name:"globalParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef", -name:"Q{}SJ.ANY_SEQUENCE",bSlot:"2"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose", -line:"1623",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1624",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"choose",line:"1626",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]},{N:"str",val:"true"}]},{N:"att", -line:"1627",name:"flags",flags:"l",C:[{N:"str",val:"r"}]}]},{N:"choose",line:"1629",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}implicit-mandatory"}]},{N:"str",val:"true"}]},{N:"att",line:"1630",name:"flags",flags:"l",C:[{N:"str",val:"i"}]}]},{N:"att",line:"1632",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}, -{N:"axis",line:"1633",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"1634",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1", -C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"3"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1635",mode:"Q{}param.type",bSlot:"4",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"applyT",line:"1637",mode:"Q{}select.or.sequence",bSlot:"5",C:[{N:"dot", -role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"varRef",line:"1639",name:"Q{}has-uniform-static-context",slot:"3"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"385",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"1682",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}, -{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1682",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1683",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"1688",name:"co", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"ufCall",line:"1685",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]},{N:"elem",line:"1691",name:"globalVariable",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1", -C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"7"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"data",diag:"0|0||fn:tokenize", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}, -{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"8"},{N:"true"},{N:"gVarRef",name:"Q{}SJ.OPTIONAL_DOCUMENT",bSlot:"9"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"choose",line:"1692",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1693",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"axis",line:"1695",name:"attribute", -nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"axis",line:"1695",name:"attribute",nodeTest:"NA nQ{}as"},{N:"applyT",line:"1697",mode:"Q{}select.or.sequence",bSlot:"10",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"1698",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1700",name:"Q{MyFunctions}has-uniform-static-context", -tailCall:"false",bSlot:"11",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"305",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SUBSUMED_BY",as:"1AS",line:"164",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"LT"}]}]},{N:"co",id:"255",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}COLON",as:"1ADI",line:"19",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"58"}]}]},{N:"co",id:"58", -binds:"",C:[{N:"function",name:"Q{MyTypes}cardinalityRelationship",line:"69",module:"type.xsl",flags:"pU",as:"*",slots:"4",C:[{N:"arg",name:"Q{}required",as:"1AS"},{N:"arg",name:"Q{}supplied",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"72",C:[{N:"vc",line:"73",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"varRef",name:"Q{}supplied", -slot:"1"}]},{N:"str",val:"EQ"},{N:"compareToString",line:"76",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"GT"},{N:"true"},{N:"let",line:"80","var":"Q{}R",slot:"2",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"80",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"80",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"80",name:"Q{}required", -slot:"0"}]},{N:"str",val:"1"},{N:"compareToString",line:"80",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"80",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"let",line:"81","var":"Q{}S",slot:"3",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"81",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"81",op:"eq", -val:"+",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"81",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"1"},{N:"compareToString",line:"81",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"81",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"choose",line:"91",C:[{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}R",slot:"2"}, -{N:"varRef",name:"Q{}S",slot:"3"}]},{N:"str",val:"GT"},{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}S",slot:"3"},{N:"varRef",name:"Q{}R",slot:"2"}]},{N:"str",val:"LT"},{N:"true"},{N:"str",val:"OV"}]}]}]}]}]}]},{N:"co",id:"134",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg638404853",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE1020"},{N:"str",val:"sort"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"138",binds:"138",C:[{N:"function",name:"Q{MyFunctions}requiresNodeTest",line:"1180",module:"xpath.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg", -name:"Q{}node",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1191",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}axis,NE nQ{http://ns.saxonica.com/xslt/export}root]"}]}]},{N:"true"}, -{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}slash"}]}]},{N:"ufCall",name:"Q{MyFunctions}requiresNodeTest",tailCall:"self",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:requiresNodeTest",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"false"}]}]}]}]},{N:"co",id:"272",binds:"1 97",C:[{N:"globalVariable",name:"Q{}SJ.MULIPLE_ATTRIBUTE", -as:"1AS",line:"57",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"57",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_ATTRIBUTE",bSlot:"1"}]}]}]},{N:"co",id:"139",binds:"1 88",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_MAP",as:"1AS",line:"62",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"62",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_MAP",bSlot:"1"}]}]}]},{N:"co",id:"306",binds:"",C:[{N:"function",name:"Q{MyFunctions}is-last",line:"257",module:"lib.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}context",as:"*"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"259", -name:"empty",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"axis",name:"following-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}fallback,NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]}]}]}]}]},{N:"co",id:"117",binds:"301",C:[{N:"globalVariable",name:"Q{}types",as:"1FM k[AS] v[1FM]",line:"415",module:"type.xsl",slots:"6", -visibility:"PRIVATE",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"417",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"gVarRef",name:"Q{}type.hierarchy.tree",bSlot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"let",line:"418","var":"Q{}isAtomic",as:"1AB",slot:"2",C:[{N:"fn",name:"starts-with", -C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:"xs:"}]},{N:"let",line:"419","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"3",flags:"l",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isAtomic",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"filter",flags:"ib",C:[{N:"str",val:"()"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", -slot:"3"}]}]},{N:"ifCall",line:"425",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"supertypes"},{N:"slash",C:[{N:"fn",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE"},{N:"axis",name:"ancestor",nodeTest:"NE"}]}]},{N:"let","var":"Q{}n",slot:"4",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1", -as:"1AB",slot:"5",flags:"l",C:[{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}n",slot:"4"},{N:"str",val:"xs:"}]}]},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}n",slot:"4"},{N:"filter",flags:"ib",C:[{N:"str",val:"()"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]}]}]}]}]},{N:"ifCall",line:"426",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"isPlain"},{N:"varRef",name:"Q{}isAtomic",slot:"2"}]}]},{N:"map", -size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"empty-sequence()"},{N:"map",size:"1",C:[{N:"str",val:"isPlain"},{N:"false"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"307",binds:"307",C:[{N:"function",name:"Q{MyFunctions}closure2",line:"631",module:"XSLT-SEF-compiler.xsl", -flags:"pU",as:"*",slots:"6",C:[{N:"arg",name:"Q{}current",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"arg",name:"Q{}found",as:"*AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"639","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"3",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}found", -slot:"2"},{N:"str",val:", "}]},{N:"let",line:"635","var":"Q{}next",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"varRef",name:"Q{}current",slot:"0"}]},{N:"sequence",line:"636",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}next",slot:"4"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"varRef", -name:"Q{}found",slot:"2"}]}]},{N:"fn",line:"639",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1600"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Circular definition of character map "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot"}]}]},{N:"str",val:" via character maps "}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]},{N:"choose",line:"647",C:[{N:"fn",name:"exists",C:[{N:"varRef", -name:"Q{}next",slot:"4"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"*AS",slot:"5",flags:"l",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}found",slot:"2"},{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|2||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:closure2",C:[{N:"data",diag:"0|2||f:closure2",C:[{N:"varRef",name:"Q{}next",slot:"4"}]}]}]}]},{N:"forEach",C:[{N:"varRef",name:"Q{}next",slot:"4"},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"0",C:[{N:"check", -card:"1",diag:"0|0||f:closure2",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"data",diag:"0|0||f:closure2",C:[{N:"dot"}]}]}]}]},{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}found",slot:"2"}]}]}]}]}]}]},{N:"co",id:"193",binds:"307",C:[{N:"function",name:"Q{MyFunctions}closure2",line:"625",module:"XSLT-SEF-compiler.xsl", -flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}current",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"628",C:[{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}current",slot:"0"},{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"empty"}]}]}]}]}, -{N:"co",id:"308",binds:"102",C:[{N:"globalVariable",name:"Q{}declaration-names",as:"*AS",line:"289",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"289",C:[{N:"gVarRef",name:"Q{}top-level-declarations",bSlot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"co",id:"309",binds:"48",C:[{N:"function",name:"Q{MyFunctions}encode-namespaces", -line:"44",module:"namespaces.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"46",C:[{N:"fn",line:"47",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48", -card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, -{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", -val:" "}]}]}]}]},{N:"co",id:"172",binds:"38",C:[{N:"function",name:"Q{MyFunctions}boolean-string",line:"50",module:"lib.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}input",as:"?NA"},{N:"arg",name:"Q{}default",as:"1AB"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"59",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef", -name:"Q{}input",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"foreign",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]},{N:"true"},{N:"varRef",name:"Q{}default",slot:"1"}]}]}]}]},{N:"co",id:"258",binds:"22",C:[{N:"function",name:"Q{MyFunctions}check-iterate",line:"138",module:"repetition.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}instruction",as:"*"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"140",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"ufCall",line:"141",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/", -C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1N"}]}]}]},{N:"str",val:" can only be the descendant of xsl:iterate"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]}]}]}]}]}]}]},{N:"co",id:"38",binds:"22",C:[{N:"function",name:"Q{MyFunctions}boolean-string",line:"36",module:"lib.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}input",as:"1NA"},{N:"choose", -role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"1"},{N:"str",val:"yes"},{N:"str",val:"true"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", -diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"true"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"no"},{N:"str",val:"false"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"false"},{N:"true"}, -{N:"treat",as:"AB",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"cvUntyped",to:"AB",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"data",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]},{N:"str",val:"' is not a valid boolean keyword"}]}, -{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]}]}]}]},{N:"co",id:"21",binds:"22 22",C:[{N:"template",name:"Q{}process-decimal-format",flags:"os",as:"*NA",line:"73",module:"decimal-format.xsl",slots:"0",C:[{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"76",C:[{N:"filter",flags:"b",C:[{N:"except",op:"except",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{http://ns.saxonica.com/xslt/export}*,NA nQ{}name]"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:":"},{N:"str",val:""}]}]}]},{N:"compAtt",line:"89",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"fn",role:"select", -name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"infinity"},{N:"str",val:"NaN"}]},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"data",C:[{N:"dot",type:"1NA"}]},{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"string-length",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-length",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-length",C:[{N:"data",diag:"0|0||fn:string-length", -C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Value must be a single character - value supplied is '"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:"'"}]},{N:"dot",type:"1NA"}]}]}]},{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"zero-digit",C:[{N:"fn",name:"local-name", -C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"str",val:"0\u0660\u06f0\u0966\u09e6\u0a66\u0ae6\u0b66\u0be6\u0c66\u0ce6\u0d66\u0e50\u0ed0\u0f20\u1040\u17e0\u1810\u1946\u19d0\uff10\ud801\udca0\ud835\udfce\ud835\udfd8\ud835\udfe2\ud835\udfec\ud835\udff6"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|1||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:contains",C:[{N:"data",diag:"0|1||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"data",C:[{N:"mergeAdj", -C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE1295"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:decimal-format/@zero-digit must be a digit character with value zero - value supplied is codepoint '"},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints", -C:[{N:"data",diag:"0|0||fn:string-to-codepoints",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"str",val:"'"}]},{N:"dot",type:"1NA"}]}]}]},{N:"true"},{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"data",diag:"0|0||fn:string-to-codepoints",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"co",id:"238",binds:"228 156 157 1 69 7 156 157",C:[{N:"function", -name:"Q{MyFunctions}typeCheckLiteral",line:"1034",module:"type.xsl",flags:"pU",as:"*",slots:"8",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"forEach",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1039",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"copy",line:"1040",flags:"cin",sit:"1NE",C:[{N:"let",role:"content", -line:"1041","var":"Q{}parts",as:"*NE",slot:"3",C:[{N:"treat",line:"1042",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"ufCall",line:"1043",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"0",C:[{N:"dot",type:"1NE"},{N:"let","var":"Q{}inst",as:"1NE",slot:"4",C:[{N:"dot",type:"1NE"},{N:"let",line:"1011","var":"Q{}name",as:"1AS",slot:"5",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"4"}]},{N:"choose",line:"1014",C:[{N:"compareToString", -op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"ifCall",line:"1015",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"}, -{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"ifCall",line:"1022",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"fn",name:"normalize-space", -C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"4"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str", -val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"1"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"2"},{N:"varRef",name:"Q{}name",slot:"5"}]}]}]}]}]},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]}]}]},{N:"sequence",line:"1047", -C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"1053",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"4",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}parts",slot:"3"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"5",C:[{N:"check", -card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"true"},{N:"let","var":"Q{}inst",as:"1NE",slot:"6",C:[{N:"dot",type:"1NE"},{N:"let",line:"1011","var":"Q{}name",as:"1AS",slot:"7",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"6"}]},{N:"choose",line:"1014",C:[{N:"compareToString",op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"7"}]}, -{N:"ifCall",line:"1015",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, -{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"7"}]},{N:"ifCall",line:"1022",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"p"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space", -C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"6"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"1"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"7"}]}, -{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"6"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"7"},{N:"varRef",name:"Q{}name",slot:"7"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"1054",name:"Q{}parts",slot:"3"}]}]}]}]}]}]},{N:"co",id:"310",binds:"1 112",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_URI",as:"1AS",line:"55",module:"sequenceType.xsl", -visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"55",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_URI",bSlot:"1"}]}]}]},{N:"co",id:"126",binds:"1 85",C:[{N:"globalVariable",name:"Q{}SJ.ANY_SEQUENCE",as:"1AS",line:"43",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"43",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"1"}]}]}]},{N:"co",id:"140",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg938941445",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join", -C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE3375"},{N:"str",val:"xsl:map"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"311",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ONE",as:"1ADI",line:"106",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co", -id:"312",binds:"233",C:[{N:"function",name:"Q{MyTypes}allowsMany",line:"123",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"*"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"125",card:"1",diag:"5|0|XTTE0780|t:allowsMany#1",C:[{N:"vc",op:"ge",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?", -diag:"1|0||ge",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"gVarRef",name:"Q{}StaticProperty.ALLOWS_MANY",bSlot:"0"}]}]}]}]},{N:"co",id:"313",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_DOUBLE",as:"1FM k[AS] v[1AS]",line:"17",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AO"}]}]}]},{N:"co",id:"39",binds:"",C:[{N:"function",name:"Q{MyFunctions}isTopLevel",line:"775",module:"normalize.xsl",flags:"pU", -as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"slash",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"777",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}, -{N:"co",id:"264",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg19873741",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", -C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-style/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"259",binds:"15 79 150",C:[{N:"template",name:"Q{}constructSimpleContent",flags:"os",as:"1NE",line:"299",module:"creating-new-nodes.xsl",slots:"3",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"300",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"322","var":"Q{}parts",as:"1",slot:"1",C:[{N:"check",line:"323",card:"1",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",mode:"Q{}select.or.sequence",bSlot:"0",C:[{N:"dot",role:"select",flags:"a"}]}]},{N:"elem",line:"326", -name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string-join"}]},{N:"lookup",line:"327",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"1"},{N:"str",val:"select"}]},{N:"let",line:"328","var":"Q{}content",as:"1NE",slot:"2",C:[{N:"elem",line:"329",name:"constructSimpleContent",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"330",name:"Q{}parts",slot:"1"}]},{N:"sequence",line:"333",C:[{N:"choose",C:[{N:"and", -line:"334",op:"and",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"backward-compatibility"}]},{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]}]}]},{N:"elem",line:"335",name:"first",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"336",name:"Q{}content",slot:"2"}]},{N:"true"},{N:"varRef",line:"340",name:"Q{}content",slot:"2"}]}, -{N:"choose",line:"343",C:[{N:"fn",line:"344",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}comment,NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction],NE nQ{http://www.w3.org/1999/XSL/Transform}namespace]"}]}]},{N:"elem",line:"345",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str", -val:" "}]}]},{N:"fn",line:"347",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"fn",name:"contains",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:contains",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}separator"}]}]}]},{N:"str",val:"{"}]}]}]},{N:"forEach",line:"348",C:[{N:"slash", -simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"callT",line:"349",name:"Q{}value-template",bSlot:"2"}]},{N:"fn",line:"352",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]}]},{N:"elem",line:"353",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}separator"}]}]}]}]},{N:"true"},{N:"elem",line:"356",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"choose",C:[{N:"fn",line:"325",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"str",val:" "}, -{N:"true"},{N:"str",val:""}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"233",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_MANY",as:"1ADI",line:"107",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"4"}]}]},{N:"co",id:"196",binds:"",C:[{N:"function",name:"Q{MyFunctions}timestamp",line:"22",module:"lib.xsl",flags:"pU",as:"1AMP",slots:"0",C:[{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"23",name:"Q{http://saxon.sf.net/}timestamp",type:"1AMP"}]}]},{N:"co",id:"41",binds:"38",C:[{N:"function",name:"Q{MyFunctions}normalize-boolean",line:"34",module:"normalize.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}input",as:"1"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"36",name:"string",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string", -tailCall:"false",bSlot:"0",C:[{N:"treat",as:"NA",diag:"0|0||f:boolean-string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"co",id:"265",binds:"95 22",C:[{N:"function",name:"Q{MyFunctions}check-tail-position",line:"273",module:"lib.xsl",flags:"pU",as:"0",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"281",C:[{N:"ufCall",name:"Q{MyFunctions}is-tail-position",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"empty"},{N:"true"},{N:"check",card:"0",diag:"5|0|XTTE0780|f:check-tail-position#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE3120"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must be in a tail position"}]}, -{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"42",binds:"36 37",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1396801698",as:"+AU",line:"21",module:"sorting.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"0"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation", -bSlot:"1"}]}]}]},{N:"co",id:"270",binds:"18",C:[{N:"template",name:"Q{}parameters",flags:"os",line:"1551",module:"XSLT-SEF-compiler.xsl",slots:"0",C:[{N:"applyT",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1552",mode:"Q{}sef",flags:"t",bSlot:"0",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]}, -{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]}]},{N:"co",id:"314",binds:"",C:[{N:"globalVariable",name:"Q{}global-variables-as-pairs",as:"*",line:"179",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"253",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}RBRACE",as:"1ADI",line:"18",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"125"}]}]},{N:"co",id:"315",binds:"",C:[{N:"globalVariable", -name:"Q{MyTypes}ZERO",as:"1ADI",line:"101",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"301",binds:"",C:[{N:"globalVariable",name:"Q{}type.hierarchy.tree",as:"1ND",line:"331",module:"type.xsl",visibility:"PRIVATE",C:[{N:"doc",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"332",C:[{N:"elem",name:"item",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p", -flags:"l",C:[{N:"str",val:""}]},{N:"elem",line:"333",name:"error",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:""}]}]},{N:"elem",line:"334",name:"function",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"F"}]},{N:"elem",line:"335",name:"map",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"FM"}]}]},{N:"elem",line:"336",name:"array",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"FA"}]}]}]}]},{N:"elem",line:"338", -name:"node",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"N"}]},{N:"elem",line:"339",name:"document-node",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ND"}]}]},{N:"elem",line:"340",name:"element",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NE"}]}]},{N:"elem",line:"341",name:"attribute",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NA"}]}]},{N:"elem",line:"342",name:"text",nsuri:"",flags:"l",C:[{N:"att", -name:"p",flags:"l",C:[{N:"str",val:"NT"}]}]},{N:"elem",line:"343",name:"comment",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NC"}]}]},{N:"elem",line:"344",name:"processing-instruction",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NP"}]}]},{N:"elem",line:"345",name:"namespace-node",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NN"}]}]}]}]},{N:"elem",line:"347",name:"xs:anyAtomicType",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l", -C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"A"}]},{N:"elem",line:"348",name:"xs:boolean",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AB"}]}]},{N:"elem",line:"349",name:"xs:string",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AS"}]},{N:"elem",line:"350",name:"xs:normalizedString",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att", -name:"p",flags:"l",C:[{N:"str",val:"ASN"}]},{N:"elem",line:"351",name:"xs:token",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNT"}]},{N:"elem",line:"352",name:"xs:NMTOKEN",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTK"}]}]},{N:"elem",line:"353",name:"xs:Name",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", -val:"ASNTN"}]},{N:"elem",line:"354",name:"xs:NCName",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNC"}]},{N:"elem",line:"355",name:"xs:ID",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCI"}]}]},{N:"elem",line:"356",name:"xs:IDREF",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCR"}]}]},{N:"elem",line:"357",name:"xs:ENTITY", -nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCE"}]}]}]}]}]}]},{N:"elem",line:"360",name:"xs:language",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTL"}]}]}]}]}]}]}]}]},{N:"elem",line:"364",name:"xs:QName",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AQ"}]}]},{N:"elem",line:"365",name:"xs:anyURI",nsuri:"http://www.w3.org/2001/XMLSchema", -flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AU"}]}]},{N:"elem",line:"366",name:"xs:date",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AA"}]}]},{N:"elem",line:"367",name:"xs:dateTime",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AM"}]},{N:"elem",line:"368",name:"xs:dateTimeStamp",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l", -C:[{N:"str",val:"AMP"}]}]}]}]},{N:"elem",line:"370",name:"xs:time",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AT"}]}]},{N:"elem",line:"371",name:"xs:duration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AR"}]},{N:"elem",line:"372",name:"xs:dayTimeDuration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ARD"}]}]},{N:"elem", -line:"373",name:"xs:yearMonthDuration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ARY"}]}]}]}]},{N:"elem",line:"375",name:"xs:gYear",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AG"}]}]},{N:"elem",line:"376",name:"xs:gYearMonth",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AH"}]}]},{N:"elem",line:"377",name:"xs:gMonth",nsuri:"http://www.w3.org/2001/XMLSchema", -flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AI"}]}]},{N:"elem",line:"378",name:"xs:gMonthDay",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AJ"}]}]},{N:"elem",line:"379",name:"xs:gDay",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AK"}]}]},{N:"elem",line:"380",name:"xs:numeric",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", -val:"AD|AO|AF"}]},{N:"elem",line:"381",name:"xs:decimal",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AD"}]},{N:"elem",line:"382",name:"xs:integer",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADI"}]},{N:"elem",line:"383",name:"xs:nonPositiveInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", -val:"ADIN"}]},{N:"elem",line:"384",name:"xs:negativeInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADINN"}]}]}]}]},{N:"elem",line:"386",name:"xs:nonNegativeInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIP"}]},{N:"elem",line:"387",name:"xs:positiveInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPP"}]}]}, -{N:"elem",line:"388",name:"xs:unsignedLong",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPL"}]},{N:"elem",line:"389",name:"xs:unsignedInt",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLI"}]},{N:"elem",line:"390",name:"xs:unsignedShort",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLIS"}]}, -{N:"elem",line:"391",name:"xs:unsignedByte",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLISB"}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"396",name:"xs:long",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIL"}]},{N:"elem",line:"397",name:"xs:int",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILI"}]},{N:"elem", -line:"398",name:"xs:short",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILIS"}]},{N:"elem",line:"399",name:"xs:byte",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILISB"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"405",name:"xs:double",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AO"}]}]},{N:"elem",line:"406",name:"xs:float", -nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AF"}]}]}]}]},{N:"elem",line:"408",name:"xs:base64Binary",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"A2"}]}]},{N:"elem",line:"409",name:"xs:hexBinary",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AX"}]}]},{N:"elem",line:"410",name:"xs:NOTATION",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l", -C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AN"}]}]},{N:"elem",line:"411",name:"xs:untypedAtomic",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]},{N:"co",id:"316",binds:"16",C:[{N:"template",name:"Q{}nest-sorts",flags:"os",line:"15",module:"repetition.xsl",slots:"1",C:[{N:"iterate",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"17",C:[{N:"fn",role:"select",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]},{N:"params",role:"params",line:"19",C:[{N:"param",name:"Q{}inner",slot:"0",C:[{N:"doc",role:"select",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"0",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}select"}]}]}]},{N:"supplied",role:"conversion",line:"18",slot:"0"}]}]},{N:"varRef",role:"on-completion",line:"21",name:"Q{}inner",slot:"0"},{N:"nextIteration",role:"action",line:"22",C:[{N:"withParam",name:"Q{}inner",as:"1ND",slot:"0",C:[{N:"doc",line:"24",C:[{N:"elem",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"25",C:[{N:"varRef",name:"Q{}inner",slot:"0"},{N:"applyT",line:"26",flags:"c",bSlot:"-1",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]}]}]}]}]}, -{N:"co",id:"268",binds:"",C:[{N:"globalVariable",name:"Q{}on-no-match",as:"1FM k[AS] v[1AS]",line:"27",module:"rules.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"6",C:[{N:"str",val:"deep-skip"},{N:"str",val:"DS"},{N:"str",val:"shallow-copy"},{N:"str",val:"SC"},{N:"str",val:"text-only-copy"},{N:"str",val:"TC"},{N:"str",val:"deep-copy"},{N:"str",val:"DC"},{N:"str",val:"shallow-skip"},{N:"str",val:"SS"},{N:"str",val:"fail"},{N:"str",val:"FF"}]}]}]},{N:"co",id:"317",binds:"",C:[{N:"globalVariable", -name:"Q{}bind-with-accumulators",as:"1AB",line:"22",module:"component-bindings.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"true"}]}]},{N:"co",id:"260",binds:"1 184",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ELEMENT",as:"1AS",line:"50",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ELEMENT", -bSlot:"1"}]}]}]},{N:"co",id:"157",binds:"285 313 109 5 73 156 156",C:[{N:"globalVariable",name:"Q{}literalTypes",as:"1FM k[AS] v[1FM]",line:"1007",module:"type.xsl",visibility:"PRIVATE",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1007",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"dec"},{N:"gVarRef",name:"Q{}ST.SINGLE_DECIMAL",bSlot:"0"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"dbl"},{N:"gVarRef",name:"Q{}ST.SINGLE_DOUBLE",bSlot:"1"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"int"},{N:"gVarRef",name:"Q{}ST.SINGLE_INTEGER",bSlot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"flt"}, -{N:"gVarRef",name:"Q{}ST.SINGLE_FLOAT",bSlot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"str"},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"true"},{N:"gVarRef",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"false"},{N:"gVarRef",name:"Q{}ST.SINGLE_BOOLEAN", -bSlot:"6"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"co",id:"22",binds:"123",C:[{N:"function",name:"Q{MyFunctions}syntax-error-at",line:"384",module:"lib.xsl",flags:"pU",as:"*",slots:"3",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"arg",name:"Q{}node",as:"1N"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"388",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"388",name:"Q{}code",slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}node",slot:"2"}]}]}]}]},{N:"co",id:"33",binds:"40 3 75 203 224 209 22 204 308 204 204 204 204 22 22 203 34 34",C:[{N:"template",name:"Q{}check-syntax-primary",flags:"os",as:"*NE",line:"137",module:"XSLT-syntax.xsl", -slots:"8",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"138",C:[{N:"param",name:"Q{}forward-compatibility-mode",slot:"0",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode", -C:[{N:"data",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"let",line:"141","var":"Q{}context",as:"1",slot:"1",C:[{N:"dot",flags:"a"},{N:"let",line:"142","var":"Q{}schema",as:"?FM",slot:"2",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}xslt.schema",bSlot:"0"},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"dot",flags:"a"}]}]}]},{N:"choose",line:"144",C:[{N:"fn",line:"145", -name:"exists",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"let",line:"147","var":"Q{}provided",as:"*AS",slot:"3",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"let",line:"148","var":"Q{}missing-attributes",as:"*AS",slot:"4",C:[{N:"filter",flags:"b",C:[{N:"convert",line:"146",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|required.attributes", -C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|required.attributes",C:[{N:"data",diag:"3|0|XTTE0570|required.attributes",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"required.attributes"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}provided",slot:"3"},{N:"dot",type:"1AS"}]}]}]},{N:"let",line:"150","var":"Q{}pa.names",as:"*AS",slot:"5",C:[{N:"sequence",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|pa.names",C:[{N:"cvUntyped", -to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",line:"149",as:"FM",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"permitted.attributes"}]}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|pa.names",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"data", -diag:"3|0|XTTE0570|pa.names",C:[{N:"gVarRef",name:"Q{}standard.attributes",bSlot:"1"}]}]}]}]},{N:"sequence",line:"153",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}forward-compatibility-mode",slot:"0"}]},{N:"treat",line:"154",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"homCheck",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"normalize.xsl",line:"832",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"XSLT-syntax.xsl",line:"151",as:"NE",diag:"0|0||f:plainAtt",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc", -op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}pa.names",slot:"5"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongAttribute",tailCall:"false",bSlot:"2",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"let",line:"197","var":"Q{}permitted.children",as:"*A",slot:"6",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",as:"FM",diag:"0|0||map:keys",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema", -slot:"2"},{N:"str",val:"permitted.children"}]}]}]}]},{N:"sequence",line:"198",C:[{N:"choose",C:[{N:"choose",line:"190",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"check",card:"1",diag:"0|0||map:contains",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"str",val:"parents"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*A",slot:"7",flags:"l",C:[{N:"data",diag:"1|1||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str", -val:"parents"}]}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"local-name",C:[{N:"check",card:"?",diag:"0|0||fn:local-name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"7"},{N:"dot",type:"1AS"}]}]}]}]}]}, -{N:"true"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"dot",flags:"a"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]}]},{N:"choose",line:"206",C:[{N:"varRef",name:"Q{}forward-compatibility-mode", -slot:"0"},{N:"gVarRef",name:"Q{}XSL-ignore",bSlot:"3"},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}wrongParent",tailCall:"false",bSlot:"4",C:[{N:"treat",as:"NE",diag:"0|0||f:wrongParent",C:[{N:"varRef",name:"Q{}context",slot:"1"}]}]}]}]},{N:"varRef",line:"208",name:"Q{}missing-attributes",slot:"4"},{N:"treat",line:"209",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}missingAttribute",tailCall:"false", -bSlot:"5",C:[{N:"treat",as:"NE",diag:"0|0||f:missingAttribute",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"check",card:"1",diag:"0|1||f:missingAttribute",C:[{N:"first",C:[{N:"varRef",name:"Q{}missing-attributes",slot:"4"}]}]}]}]},{N:"gc",line:"211",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"sequence-constructor"}]},{N:"empty"},{N:"fn",line:"212",name:"empty",C:[{N:"varRef",name:"Q{}permitted.children", -slot:"6"}]},{N:"choose",line:"219",C:[{N:"fn",name:"has-children",C:[{N:"treat",as:"N",diag:"0|0||fn:has-children",C:[{N:"dot",flags:"a"}]}]},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"6",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" must be empty"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at", -C:[{N:"dot",flags:"a"}]}]}]}]},{N:"gc",line:"221",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"declarations"}]},{N:"sequence",line:"222",C:[{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean", -C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"7",C:[{N:"dot",type:"1NT"}]}]}]},{N:"choose",line:"228",C:[{N:"varRef",name:"Q{}forward-compatibility-mode",slot:"0"},{N:"empty"},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis", -name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}declaration-names",bSlot:"8"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"attVal",name:"Q{}version"}]}, -{N:"dec",val:"3"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"9",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]},{N:"treat",line:"229",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"ufCall", -name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"10",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"gc",line:"231",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"PCDATA"}]},{N:"treat",line:"232",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall", -name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"11",C:[{N:"dot",type:"1NE"}]}]}]},{N:"true"},{N:"treat",line:"236",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children", -slot:"6"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"12",C:[{N:"dot",type:"1N"}]}]}]}]},{N:"choose",line:"240",C:[{N:"and",op:"and",C:[{N:"and",op:"and", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"check",card:"1",diag:"0|0||map:contains",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"str",val:"selectAndContent"}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"except",op:"except",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}, -{N:"treat",line:"242",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:syntax-error-at",C:[{N:"data",diag:"0|0||f:syntax-error-at",C:[{N:"first",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"selectAndContent"}]},{N:"str", -val:"XTSE0840"}]}]}]}]}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" cannot have both @select and content"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]}]}]}]}]},{N:"fn",line:"246",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import-schema"}]}]}, -{N:"treat",line:"247",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE1650"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"The "},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]},{N:"str",val:" declaration cannot be handled by this XSLT compiler"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]},{N:"varRef",line:"249", -name:"Q{}forward-compatibility-mode",slot:"0"},{N:"choose",line:"259",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl",line:"777",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"XSLT-syntax.xsl",line:"259",as:"NE", -diag:"0|0||f:isTopLevel",C:[{N:"dot",flags:"a"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]},{N:"gVarRef",name:"Q{}XSL-ignore",bSlot:"15"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]}, -{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" is not a known XSLT element and has no xsl:fallback child"}]}, -{N:"treat",as:"N",diag:"0|1||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]},{N:"true"},{N:"treat",line:"262",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" is not a known XSLT element"}]},{N:"treat",as:"N",diag:"0|1||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]}]}]}]},{N:"co", -id:"34",binds:"22",C:[{N:"function",name:"Q{MyFunctions}syntax-error-at",line:"371",module:"lib.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}message",as:"1AS"},{N:"arg",name:"Q{}node",as:"1N"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"374",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0", -C:[{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{}message",slot:"0"},{N:"varRef",name:"Q{}node",slot:"1"}]}]}]}]},{N:"overridden"},{N:"accumulator",name:"Q{}coBinding",line:"0",as:"*AS",streamable:"0",slots:"0",binds:"176 176 176 176 176 176",C:[{N:"empty",role:"init"},{N:"pre",slots:"0",C:[{N:"accRule",slots:"8",rank:"0",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"}]},{N:"empty"}]}, -{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"187",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"3",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first", -C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"185",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"2",C:[{N:"supplied",slot:"0", -sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"V:"},{N:"attVal",name:"Q{}name"}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}callT"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"183",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"0",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn", -name:"concat",C:[{N:"str",val:"T:"},{N:"attVal",name:"Q{}name"}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"189",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"4",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"fn", -name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"191",name:"Q{coBindings}find-reference", -tailCall:"false",bSlot:"5",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}arity"}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"184",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"1",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"A:"},{N:"attVal",name:"Q{}name"}]}]}]}]},{N:"post",slots:"0",C:[{N:"accRule",slots:"8",rank:"0",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"}]},{N:"supplied",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"181",slot:"0",sType:"*AS"}]}]}]},{N:"accumulator",name:"Q{}number",line:"0",as:"*",streamable:"0",slots:"0",binds:"",C:[{N:"int",role:"init",val:"0"},{N:"pre",slots:"0",C:[{N:"accRule",slots:"1",rank:"0",C:[{N:"p.nodeTest",test:"NE"},{N:"arith",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"14",op:"+",calc:"a+a",C:[{N:"cvUntyped",to:"AO",C:[{N:"atomSing",card:"?", -diag:"1|0||+",C:[{N:"supplied",slot:"0",sType:"*"}]}]},{N:"int",val:"1"}]}]}]},{N:"post",slots:"0"}]},{N:"output",C:[{N:"property",name:"method",value:"xml"},{N:"property",name:"indent",value:"no"},{N:"property",name:"Q{http://saxon.sf.net/}stylesheet-version",value:"30"}]},{N:"decimalFormat"}],"\u03a3":"4869c939"},sa={IsBasicLatin:[["0000","007F"]],"IsLatin-1Supplement":[["0080","00FF"]],"IsLatinExtended-A":[["0100","017F"]],"IsLatinExtended-B":[["0180","024F"]],IsIPAExtensions:[["0250","02AF"]], -IsSpacingModifierLetters:[["02B0","02FF"]],IsCombiningDiacriticalMarks:[["0300","036F"]],IsGreek:[["0370","03FF"]],IsGreekandCoptic:[["0370","03FF"]],IsCyrillic:[["0400","04FF"]],IsCyrillicSupplementary:[["0500","052F"]],IsCyrillicSupplement:[["0500","052F"]],IsArmenian:[["0530","058F"]],IsHebrew:[["0590","05FF"]],IsArabic:[["0600","06FF"]],IsSyriac:[["0700","074F"]],IsArabicSupplement:[["0750","077F"]],IsThaana:[["0780","07BF"]],IsNKo:[["07C0","07FF"]],IsSamaritan:[["0800","083F"]],IsMandaic:[["0840", -"085F"]],IsDevanagari:[["0900","097F"]],IsBengali:[["0980","09FF"]],IsGurmukhi:[["0A00","0A7F"]],IsGujarati:[["0A80","0AFF"]],IsOriya:[["0B00","0B7F"]],IsTamil:[["0B80","0BFF"]],IsTelugu:[["0C00","0C7F"]],IsKannada:[["0C80","0CFF"]],IsMalayalam:[["0D00","0D7F"]],IsSinhala:[["0D80","0DFF"]],IsThai:[["0E00","0E7F"]],IsLao:[["0E80","0EFF"]],IsTibetan:[["0F00","0FFF"]],IsMyanmar:[["1000","109F"]],IsGeorgian:[["10A0","10FF"]],IsHangulJamo:[["1100","11FF"]],IsEthiopic:[["1200","137F"]],IsEthiopicSupplement:[["1380", -"139F"]],IsCherokee:[["13A0","13FF"]],IsUnifiedCanadianAboriginalSyllabics:[["1400","167F"]],IsOgham:[["1680","169F"]],IsRunic:[["16A0","16FF"]],IsTagalog:[["1700","171F"]],IsHanunoo:[["1720","173F"]],IsBuhid:[["1740","175F"]],IsTagbanwa:[["1760","177F"]],IsKhmer:[["1780","17FF"]],IsMongolian:[["1800","18AF"]],IsUnifiedCanadianAboriginalSyllabicsExtended:[["18B0","18FF"]],IsLimbu:[["1900","194F"]],IsTaiLe:[["1950","197F"]],IsNewTaiLue:[["1980","19DF"]],IsKhmerSymbols:[["19E0","19FF"]],IsBuginese:[["1A00", -"1A1F"]],IsTaiTham:[["1A20","1AAF"]],IsBalinese:[["1B00","1B7F"]],IsSundanese:[["1B80","1BBF"]],IsBatak:[["1BC0","1BFF"]],IsLepcha:[["1C00","1C4F"]],IsOlChiki:[["1C50","1C7F"]],IsVedicExtensions:[["1CD0","1CFF"]],IsPhoneticExtensions:[["1D00","1D7F"]],IsPhoneticExtensionsSupplement:[["1D80","1DBF"]],IsCombiningDiacriticalMarksSupplement:[["1DC0","1DFF"]],IsLatinExtendedAdditional:[["1E00","1EFF"]],IsGreekExtended:[["1F00","1FFF"]],IsGeneralPunctuation:[["2000","206F"]],IsSuperscriptsandSubscripts:[["2070", -"209F"]],IsCurrencySymbols:[["20A0","20CF"]],IsCombiningMarksforSymbols:[["20D0","20FF"]],IsCombiningDiacriticalMarksforSymbols:[["20D0","20FF"]],IsLetterlikeSymbols:[["2100","214F"]],IsNumberForms:[["2150","218F"]],IsArrows:[["2190","21FF"]],IsMathematicalOperators:[["2200","22FF"]],IsMiscellaneousTechnical:[["2300","23FF"]],IsControlPictures:[["2400","243F"]],IsOpticalCharacterRecognition:[["2440","245F"]],IsEnclosedAlphanumerics:[["2460","24FF"]],IsBoxDrawing:[["2500","257F"]],IsBlockElements:[["2580", -"259F"]],IsGeometricShapes:[["25A0","25FF"]],IsMiscellaneousSymbols:[["2600","26FF"]],IsDingbats:[["2700","27BF"]],"IsMiscellaneousMathematicalSymbols-A":[["27C0","27EF"]],"IsSupplementalArrows-A":[["27F0","27FF"]],IsBraillePatterns:[["2800","28FF"]],"IsSupplementalArrows-B":[["2900","297F"]],"IsMiscellaneousMathematicalSymbols-B":[["2980","29FF"]],IsSupplementalMathematicalOperators:[["2A00","2AFF"]],IsMiscellaneousSymbolsandArrows:[["2B00","2BFF"]],IsGlagolitic:[["2C00","2C5F"]],"IsLatinExtended-C":[["2C60", -"2C7F"]],IsCoptic:[["2C80","2CFF"]],IsGeorgianSupplement:[["2D00","2D2F"]],IsTifinagh:[["2D30","2D7F"]],IsEthiopicExtended:[["2D80","2DDF"]],"IsCyrillicExtended-A":[["2DE0","2DFF"]],IsSupplementalPunctuation:[["2E00","2E7F"]],IsCJKRadicalsSupplement:[["2E80","2EFF"]],IsKangxiRadicals:[["2F00","2FDF"]],IsIdeographicDescriptionCharacters:[["2FF0","2FFF"]],IsCJKSymbolsandPunctuation:[["3000","303F"]],IsHiragana:[["3040","309F"]],IsKatakana:[["30A0","30FF"]],IsBopomofo:[["3100","312F"]],IsHangulCompatibilityJamo:[["3130", -"318F"]],IsKanbun:[["3190","319F"]],IsBopomofoExtended:[["31A0","31BF"]],IsCJKStrokes:[["31C0","31EF"]],IsKatakanaPhoneticExtensions:[["31F0","31FF"]],IsEnclosedCJKLettersandMonths:[["3200","32FF"]],IsCJKCompatibility:[["3300","33FF"]],IsCJKUnifiedIdeographsExtensionA:[["3400","4DBF"]],IsYijingHexagramSymbols:[["4DC0","4DFF"]],IsCJKUnifiedIdeographs:[["4E00","9FFF"]],IsYiSyllables:[["A000","A48F"]],IsYiRadicals:[["A490","A4CF"]],IsLisu:[["A4D0","A4FF"]],IsVai:[["A500","A63F"]],"IsCyrillicExtended-B":[["A640", -"A69F"]],IsBamum:[["A6A0","A6FF"]],IsModifierToneLetters:[["A700","A71F"]],"IsLatinExtended-D":[["A720","A7FF"]],IsSylotiNagri:[["A800","A82F"]],IsCommonIndicNumberForms:[["A830","A83F"]],"IsPhags-pa":[["A840","A87F"]],IsSaurashtra:[["A880","A8DF"]],IsDevanagariExtended:[["A8E0","A8FF"]],IsKayahLi:[["A900","A92F"]],IsRejang:[["A930","A95F"]],"IsHangulJamoExtended-A":[["A960","A97F"]],IsJavanese:[["A980","A9DF"]],IsCham:[["AA00","AA5F"]],"IsMyanmarExtended-A":[["AA60","AA7F"]],IsTaiViet:[["AA80","AADF"]], -"IsEthiopicExtended-A":[["AB00","AB2F"]],IsMeeteiMayek:[["ABC0","ABFF"]],IsHangulSyllables:[["AC00","D7AF"]],"IsHangulJamoExtended-B":[["D7B0","D7FF"]],IsHighSurrogates:[["D800","DB7F"]],IsHighPrivateUseSurrogates:[["DB80","DBFF"]],IsLowSurrogates:[["DC00","DFFF"]],IsPrivateUse:[["E000","F8FF"],["F0000","FFFFD"],["100000","10FFFD"]],IsPrivateUseArea:[["E000","F8FF"]],IsCJKCompatibilityIdeographs:[["F900","FAFF"]],IsAlphabeticPresentationForms:[["FB00","FB4F"]],"IsArabicPresentationForms-A":[["FB50", -"FDFF"]],IsVariationSelectors:[["FE00","FE0F"]],IsVerticalForms:[["FE10","FE1F"]],IsCombiningHalfMarks:[["FE20","FE2F"]],IsCJKCompatibilityForms:[["FE30","FE4F"]],IsSmallFormVariants:[["FE50","FE6F"]],"IsArabicPresentationForms-B":[["FE70","FEFF"]],IsHalfwidthandFullwidthForms:[["FF00","FFEF"]],IsSpecials:[["FEFF","FEFF"],["FFF0","FFFF"]],IsLinearBSyllabary:[["10000","1007F"]],IsLinearBIdeograms:[["10080","100FF"]],IsAegeanNumbers:[["10100","1013F"]],IsAncientGreekNumbers:[["10140","1018F"]],IsAncientSymbols:[["10190", -"101CF"]],IsPhaistosDisc:[["101D0","101FF"]],IsLycian:[["10280","1029F"]],IsCarian:[["102A0","102DF"]],IsOldItalic:[["10300","1032F"]],IsGothic:[["10330","1034F"]],IsUgaritic:[["10380","1039F"]],IsOldPersian:[["103A0","103DF"]],IsDeseret:[["10400","1044F"]],IsShavian:[["10450","1047F"]],IsOsmanya:[["10480","104AF"]],IsCypriotSyllabary:[["10800","1083F"]],IsImperialAramaic:[["10840","1085F"]],IsPhoenician:[["10900","1091F"]],IsLydian:[["10920","1093F"]],IsKharoshthi:[["10A00","10A5F"]],IsOldSouthArabian:[["10A60", -"10A7F"]],IsAvestan:[["10B00","10B3F"]],IsInscriptionalParthian:[["10B40","10B5F"]],IsInscriptionalPahlavi:[["10B60","10B7F"]],IsOldTurkic:[["10C00","10C4F"]],IsRumiNumeralSymbols:[["10E60","10E7F"]],IsBrahmi:[["11000","1107F"]],IsKaithi:[["11080","110CF"]],IsCuneiform:[["12000","123FF"]],IsCuneiformNumbersandPunctuation:[["12400","1247F"]],IsEgyptianHieroglyphs:[["13000","1342F"]],IsBamumSupplement:[["16800","16A3F"]],IsKanaSupplement:[["1B000","1B0FF"]],IsByzantineMusicalSymbols:[["1D000","1D0FF"]], -IsMusicalSymbols:[["1D100","1D1FF"]],IsAncientGreekMusicalNotation:[["1D200","1D24F"]],IsTaiXuanJingSymbols:[["1D300","1D35F"]],IsCountingRodNumerals:[["1D360","1D37F"]],IsMathematicalAlphanumericSymbols:[["1D400","1D7FF"]],IsMahjongTiles:[["1F000","1F02F"]],IsDominoTiles:[["1F030","1F09F"]],IsPlayingCards:[["1F0A0","1F0FF"]],IsEnclosedAlphanumericSupplement:[["1F100","1F1FF"]],IsEnclosedIdeographicSupplement:[["1F200","1F2FF"]],IsMiscellaneousSymbolsAndPictographs:[["1F300","1F5FF"]],IsEmoticons:[["1F600", -"1F64F"]],IsTransportAndMapSymbols:[["1F680","1F6FF"]],IsAlchemicalSymbols:[["1F700","1F77F"]],IsCJKUnifiedIdeographsExtensionB:[["20000","2A6DF"]],IsCJKUnifiedIdeographsExtensionC:[["2A700","2B73F"]],IsCJKUnifiedIdeographsExtensionD:[["2B740","2B81F"]],IsCJKCompatibilityIdeographsSupplement:[["2F800","2FA1F"]],IsTags:[["E0000","E007F"]],IsVariationSelectorsSupplement:[["E0100","E01EF"]],"IsSupplementaryPrivateUseArea-A":[["F0000","FFFFF"]],"IsSupplementaryPrivateUseArea-B":[["100000","10FFFF"]], -C:"Cc|Cf|Cn|Co",Cc:[["0","1F"],["7F","9F"]],Cf:[["AD","AD"],["600","604"],["6DD","6DD"],["70F","70F"],["200B","200F"],["202A","202E"],["2060","2064"],["206A","206F"],["FEFF","FEFF"],["FFF9","FFFB"],["110BD","110BD"],["1D173","1D17A"],["E0001","E0001"],["E0020","E007F"]],Cn:[["378","379"],["37F","383"],["38B","38B"],["38D","38D"],["3A2","3A2"],["528","52F"],["530","530"],["557","558"],["560","560"],["588","588"],["58B","58E"],["590","590"],["5C8","5CF"],["5EB","5EF"],["5F5","5FF"],["605","605"],["61C", -"61D"],["70E","70E"],["74B","74C"],["7B2","7BF"],["7FB","7FF"],["82E","82F"],["83F","83F"],["85C","85D"],["85F","85F"],["860","89F"],["8A1","8A1"],["8AD","8E3"],["8FF","8FF"],["978","978"],["980","980"],["984","984"],["98D","98E"],["991","992"],["9A9","9A9"],["9B1","9B1"],["9B3","9B5"],["9BA","9BB"],["9C5","9C6"],["9C9","9CA"],["9CF","9D6"],["9D8","9DB"],["9DE","9DE"],["9E4","9E5"],["9FC","9FF"],["A00","A00"],["A04","A04"],["A0B","A0E"],["A11","A12"],["A29","A29"],["A31","A31"],["A34","A34"],["A37", -"A37"],["A3A","A3B"],["A3D","A3D"],["A43","A46"],["A49","A4A"],["A4E","A50"],["A52","A58"],["A5D","A5D"],["A5F","A65"],["A76","A7F"],["A80","A80"],["A84","A84"],["A8E","A8E"],["A92","A92"],["AA9","AA9"],["AB1","AB1"],["AB4","AB4"],["ABA","ABB"],["AC6","AC6"],["ACA","ACA"],["ACE","ACF"],["AD1","ADF"],["AE4","AE5"],["AF2","AFF"],["B00","B00"],["B04","B04"],["B0D","B0E"],["B11","B12"],["B29","B29"],["B31","B31"],["B34","B34"],["B3A","B3B"],["B45","B46"],["B49","B4A"],["B4E","B55"],["B58","B5B"],["B5E", -"B5E"],["B64","B65"],["B78","B7F"],["B80","B81"],["B84","B84"],["B8B","B8D"],["B91","B91"],["B96","B98"],["B9B","B9B"],["B9D","B9D"],["BA0","BA2"],["BA5","BA7"],["BAB","BAD"],["BBA","BBD"],["BC3","BC5"],["BC9","BC9"],["BCE","BCF"],["BD1","BD6"],["BD8","BE5"],["BFB","BFF"],["C00","C00"],["C04","C04"],["C0D","C0D"],["C11","C11"],["C29","C29"],["C34","C34"],["C3A","C3C"],["C45","C45"],["C49","C49"],["C4E","C54"],["C57","C57"],["C5A","C5F"],["C64","C65"],["C70","C77"],["C80","C81"],["C84","C84"],["C8D", -"C8D"],["C91","C91"],["CA9","CA9"],["CB4","CB4"],["CBA","CBB"],["CC5","CC5"],["CC9","CC9"],["CCE","CD4"],["CD7","CDD"],["CDF","CDF"],["CE4","CE5"],["CF0","CF0"],["CF3","CFF"],["D00","D01"],["D04","D04"],["D0D","D0D"],["D11","D11"],["D3B","D3C"],["D45","D45"],["D49","D49"],["D4F","D56"],["D58","D5F"],["D64","D65"],["D76","D78"],["D80","D81"],["D84","D84"],["D97","D99"],["DB2","DB2"],["DBC","DBC"],["DBE","DBF"],["DC7","DC9"],["DCB","DCE"],["DD5","DD5"],["DD7","DD7"],["DE0","DF1"],["DF5","DFF"],["E00", -"E00"],["E3B","E3E"],["E5C","E7F"],["E80","E80"],["E83","E83"],["E85","E86"],["E89","E89"],["E8B","E8C"],["E8E","E93"],["E98","E98"],["EA0","EA0"],["EA4","EA4"],["EA6","EA6"],["EA8","EA9"],["EAC","EAC"],["EBA","EBA"],["EBE","EBF"],["EC5","EC5"],["EC7","EC7"],["ECE","ECF"],["EDA","EDB"],["EE0","EFF"],["F48","F48"],["F6D","F70"],["F98","F98"],["FBD","FBD"],["FCD","FCD"],["FDB","FFF"],["10C6","10C6"],["10C8","10CC"],["10CE","10CF"],["1249","1249"],["124E","124F"],["1257","1257"],["1259","1259"],["125E", -"125F"],["1289","1289"],["128E","128F"],["12B1","12B1"],["12B6","12B7"],["12BF","12BF"],["12C1","12C1"],["12C6","12C7"],["12D7","12D7"],["1311","1311"],["1316","1317"],["135B","135C"],["137D","137F"],["139A","139F"],["13F5","13FF"],["169D","169F"],["16F1","16FF"],["170D","170D"],["1715","171F"],["1737","173F"],["1754","175F"],["176D","176D"],["1771","1771"],["1774","177F"],["17DE","17DF"],["17EA","17EF"],["17FA","17FF"],["180F","180F"],["181A","181F"],["1878","187F"],["18AB","18AF"],["18F6","18FF"], -["191D","191F"],["192C","192F"],["193C","193F"],["1941","1943"],["196E","196F"],["1975","197F"],["19AC","19AF"],["19CA","19CF"],["19DB","19DD"],["1A1C","1A1D"],["1A5F","1A5F"],["1A7D","1A7E"],["1A8A","1A8F"],["1A9A","1A9F"],["1AAE","1AAF"],["1AB0","1AFF"],["1B4C","1B4F"],["1B7D","1B7F"],["1BF4","1BFB"],["1C38","1C3A"],["1C4A","1C4C"],["1C80","1CBF"],["1CC8","1CCF"],["1CF7","1CFF"],["1DE7","1DFB"],["1F16","1F17"],["1F1E","1F1F"],["1F46","1F47"],["1F4E","1F4F"],["1F58","1F58"],["1F5A","1F5A"],["1F5C", -"1F5C"],["1F5E","1F5E"],["1F7E","1F7F"],["1FB5","1FB5"],["1FC5","1FC5"],["1FD4","1FD5"],["1FDC","1FDC"],["1FF0","1FF1"],["1FF5","1FF5"],["1FFF","1FFF"],["2065","2069"],["2072","2073"],["208F","208F"],["209D","209F"],["20BB","20CF"],["20F1","20FF"],["218A","218F"],["23F4","23FF"],["2427","243F"],["244B","245F"],["2700","2700"],["2B4D","2B4F"],["2B5A","2BFF"],["2C2F","2C2F"],["2C5F","2C5F"],["2CF4","2CF8"],["2D26","2D26"],["2D28","2D2C"],["2D2E","2D2F"],["2D68","2D6E"],["2D71","2D7E"],["2D97","2D9F"], -["2DA7","2DA7"],["2DAF","2DAF"],["2DB7","2DB7"],["2DBF","2DBF"],["2DC7","2DC7"],["2DCF","2DCF"],["2DD7","2DD7"],["2DDF","2DDF"],["2E3C","2E7F"],["2E9A","2E9A"],["2EF4","2EFF"],["2FD6","2FDF"],["2FE0","2FEF"],["2FFC","2FFF"],["3040","3040"],["3097","3098"],["3100","3104"],["312E","312F"],["3130","3130"],["318F","318F"],["31BB","31BF"],["31E4","31EF"],["321F","321F"],["32FF","32FF"],["4DB6","4DBF"],["9FCD","9FFF"],["A48D","A48F"],["A4C7","A4CF"],["A62C","A63F"],["A698","A69E"],["A6F8","A6FF"],["A78F", -"A78F"],["A794","A79F"],["A7AB","A7F7"],["A82C","A82F"],["A83A","A83F"],["A878","A87F"],["A8C5","A8CD"],["A8DA","A8DF"],["A8FC","A8FF"],["A954","A95E"],["A97D","A97F"],["A9CE","A9CE"],["A9DA","A9DD"],["A9E0","A9FF"],["AA37","AA3F"],["AA4E","AA4F"],["AA5A","AA5B"],["AA7C","AA7F"],["AAC3","AADA"],["AAF7","AAFF"],["AB00","AB00"],["AB07","AB08"],["AB0F","AB10"],["AB17","AB1F"],["AB27","AB27"],["AB2F","AB2F"],["AB30","ABBF"],["ABEE","ABEF"],["ABFA","ABFF"],["D7A4","D7AF"],["D7C7","D7CA"],["D7FC","D7FF"], -["FA6E","FA6F"],["FADA","FAFF"],["FB07","FB12"],["FB18","FB1C"],["FB37","FB37"],["FB3D","FB3D"],["FB3F","FB3F"],["FB42","FB42"],["FB45","FB45"],["FBC2","FBD2"],["FD40","FD4F"],["FD90","FD91"],["FDC8","FDCF"],["FDD0","FDEF"],["FDFE","FDFF"],["FE1A","FE1F"],["FE27","FE2F"],["FE53","FE53"],["FE67","FE67"],["FE6C","FE6F"],["FE75","FE75"],["FEFD","FEFE"],["FF00","FF00"],["FFBF","FFC1"],["FFC8","FFC9"],["FFD0","FFD1"],["FFD8","FFD9"],["FFDD","FFDF"],["FFE7","FFE7"],["FFEF","FFEF"],["FFF0","FFF8"],["FFFE", -"FFFF"],["1000C","1000C"],["10027","10027"],["1003B","1003B"],["1003E","1003E"],["1004E","1004F"],["1005E","1007F"],["100FB","100FF"],["10103","10106"],["10134","10136"],["1018B","1018F"],["1019C","101CF"],["101FE","101FF"],["10200","1027F"],["1029D","1029F"],["102D1","102DF"],["102E0","102FF"],["1031F","1031F"],["10324","1032F"],["1034B","1034F"],["10350","1037F"],["1039E","1039E"],["103C4","103C7"],["103D6","103DF"],["103E0","103FF"],["1049E","1049F"],["104AA","104AF"],["104B0","107FF"],["10806", -"10807"],["10809","10809"],["10836","10836"],["10839","1083B"],["1083D","1083E"],["10856","10856"],["10860","108FF"],["1091C","1091E"],["1093A","1093E"],["10940","1097F"],["109B8","109BD"],["109C0","109FF"],["10A04","10A04"],["10A07","10A0B"],["10A14","10A14"],["10A18","10A18"],["10A34","10A37"],["10A3B","10A3E"],["10A48","10A4F"],["10A59","10A5F"],["10A80","10AFF"],["10B36","10B38"],["10B56","10B57"],["10B73","10B77"],["10B80","10BFF"],["10C49","10C4F"],["10C50","10E5F"],["10E7F","10E7F"],["10E80", -"10FFF"],["1104E","11051"],["11070","1107F"],["110C2","110CF"],["110E9","110EF"],["110FA","110FF"],["11135","11135"],["11144","1114F"],["11150","1117F"],["111C9","111CF"],["111DA","111DF"],["111E0","1167F"],["116B8","116BF"],["116CA","116CF"],["116D0","11FFF"],["1236F","123FF"],["12463","1246F"],["12474","1247F"],["12480","12FFF"],["1342F","1342F"],["13430","167FF"],["16A39","16A3F"],["16A40","16EFF"],["16F45","16F4F"],["16F7F","16F8E"],["16FA0","1AFFF"],["1B002","1B0FF"],["1B100","1CFFF"],["1D0F6", -"1D0FF"],["1D127","1D128"],["1D1DE","1D1FF"],["1D246","1D24F"],["1D250","1D2FF"],["1D357","1D35F"],["1D372","1D37F"],["1D380","1D3FF"],["1D455","1D455"],["1D49D","1D49D"],["1D4A0","1D4A1"],["1D4A3","1D4A4"],["1D4A7","1D4A8"],["1D4AD","1D4AD"],["1D4BA","1D4BA"],["1D4BC","1D4BC"],["1D4C4","1D4C4"],["1D506","1D506"],["1D50B","1D50C"],["1D515","1D515"],["1D51D","1D51D"],["1D53A","1D53A"],["1D53F","1D53F"],["1D545","1D545"],["1D547","1D549"],["1D551","1D551"],["1D6A6","1D6A7"],["1D7CC","1D7CD"],["1D800", -"1E7FF"],["1E800","1EDFF"],["1EE04","1EE04"],["1EE20","1EE20"],["1EE23","1EE23"],["1EE25","1EE26"],["1EE28","1EE28"],["1EE33","1EE33"],["1EE38","1EE38"],["1EE3A","1EE3A"],["1EE3C","1EE41"],["1EE43","1EE46"],["1EE48","1EE48"],["1EE4A","1EE4A"],["1EE4C","1EE4C"],["1EE50","1EE50"],["1EE53","1EE53"],["1EE55","1EE56"],["1EE58","1EE58"],["1EE5A","1EE5A"],["1EE5C","1EE5C"],["1EE5E","1EE5E"],["1EE60","1EE60"],["1EE63","1EE63"],["1EE65","1EE66"],["1EE6B","1EE6B"],["1EE73","1EE73"],["1EE78","1EE78"],["1EE7D", -"1EE7D"],["1EE7F","1EE7F"],["1EE8A","1EE8A"],["1EE9C","1EEA0"],["1EEA4","1EEA4"],["1EEAA","1EEAA"],["1EEBC","1EEEF"],["1EEF2","1EEFF"],["1EF00","1EFFF"],["1F02C","1F02F"],["1F094","1F09F"],["1F0AF","1F0B0"],["1F0BF","1F0C0"],["1F0D0","1F0D0"],["1F0E0","1F0FF"],["1F10B","1F10F"],["1F12F","1F12F"],["1F16C","1F16F"],["1F19B","1F1E5"],["1F203","1F20F"],["1F23B","1F23F"],["1F249","1F24F"],["1F252","1F2FF"],["1F321","1F32F"],["1F336","1F336"],["1F37D","1F37F"],["1F394","1F39F"],["1F3C5","1F3C5"],["1F3CB", -"1F3DF"],["1F3F1","1F3FF"],["1F43F","1F43F"],["1F441","1F441"],["1F4F8","1F4F8"],["1F4FD","1F4FF"],["1F53E","1F53F"],["1F544","1F54F"],["1F568","1F5FA"],["1F641","1F644"],["1F650","1F67F"],["1F6C6","1F6FF"],["1F774","1F77F"],["1F780","1FFFD"],["1FFFE","1FFFF"],["2A6D7","2A6DF"],["2A6E0","2A6FF"],["2B735","2B73F"],["2B81E","2B81F"],["2B820","2F7FF"],["2FA1E","2FA1F"],["2FA20","2FFFD"],["2FFFE","2FFFF"],["30000","3FFFD"],["3FFFE","3FFFF"],["40000","4FFFD"],["4FFFE","4FFFF"],["50000","5FFFD"],["5FFFE", -"5FFFF"],["60000","6FFFD"],["6FFFE","6FFFF"],["70000","7FFFD"],["7FFFE","7FFFF"],["80000","8FFFD"],["8FFFE","8FFFF"],["90000","9FFFD"],["9FFFE","9FFFF"],["A0000","AFFFD"],["AFFFE","AFFFF"],["B0000","BFFFD"],["BFFFE","BFFFF"],["C0000","CFFFD"],["CFFFE","CFFFF"],["D0000","DFFFD"],["DFFFE","DFFFF"],["E0000","E0000"],["E0002","E001F"],["E0080","E00FF"],["E01F0","E0FFF"],["E1000","EFFFD"],["EFFFE","EFFFF"],["FFFFE","FFFFF"],["10FFFE","10FFFF"]],Co:[["E000","F8FF"],["F0000","FFFFD"],["100000","10FFFD"]], -L:"Ll|Lm|Lo|Lt|Lu",Ll:[["61","7A"],["B5","B5"],["DF","F6"],["F8","FF"],["101","101"],["103","103"],["105","105"],["107","107"],["109","109"],["10B","10B"],["10D","10D"],["10F","10F"],["111","111"],["113","113"],["115","115"],["117","117"],["119","119"],["11B","11B"],["11D","11D"],["11F","11F"],["121","121"],["123","123"],["125","125"],["127","127"],["129","129"],["12B","12B"],["12D","12D"],["12F","12F"],["131","131"],["133","133"],["135","135"],["137","138"],["13A","13A"],["13C","13C"],["13E","13E"], -["140","140"],["142","142"],["144","144"],["146","146"],["148","149"],["14B","14B"],["14D","14D"],["14F","14F"],["151","151"],["153","153"],["155","155"],["157","157"],["159","159"],["15B","15B"],["15D","15D"],["15F","15F"],["161","161"],["163","163"],["165","165"],["167","167"],["169","169"],["16B","16B"],["16D","16D"],["16F","16F"],["171","171"],["173","173"],["175","175"],["177","177"],["17A","17A"],["17C","17C"],["17E","180"],["183","183"],["185","185"],["188","188"],["18C","18D"],["192","192"], -["195","195"],["199","19B"],["19E","19E"],["1A1","1A1"],["1A3","1A3"],["1A5","1A5"],["1A8","1A8"],["1AA","1AB"],["1AD","1AD"],["1B0","1B0"],["1B4","1B4"],["1B6","1B6"],["1B9","1BA"],["1BD","1BF"],["1C6","1C6"],["1C9","1C9"],["1CC","1CC"],["1CE","1CE"],["1D0","1D0"],["1D2","1D2"],["1D4","1D4"],["1D6","1D6"],["1D8","1D8"],["1DA","1DA"],["1DC","1DD"],["1DF","1DF"],["1E1","1E1"],["1E3","1E3"],["1E5","1E5"],["1E7","1E7"],["1E9","1E9"],["1EB","1EB"],["1ED","1ED"],["1EF","1F0"],["1F3","1F3"],["1F5","1F5"], -["1F9","1F9"],["1FB","1FB"],["1FD","1FD"],["1FF","1FF"],["201","201"],["203","203"],["205","205"],["207","207"],["209","209"],["20B","20B"],["20D","20D"],["20F","20F"],["211","211"],["213","213"],["215","215"],["217","217"],["219","219"],["21B","21B"],["21D","21D"],["21F","21F"],["221","221"],["223","223"],["225","225"],["227","227"],["229","229"],["22B","22B"],["22D","22D"],["22F","22F"],["231","231"],["233","239"],["23C","23C"],["23F","240"],["242","242"],["247","247"],["249","249"],["24B","24B"], -["24D","24D"],["24F","293"],["295","2AF"],["371","371"],["373","373"],["377","377"],["37B","37D"],["390","390"],["3AC","3CE"],["3D0","3D1"],["3D5","3D7"],["3D9","3D9"],["3DB","3DB"],["3DD","3DD"],["3DF","3DF"],["3E1","3E1"],["3E3","3E3"],["3E5","3E5"],["3E7","3E7"],["3E9","3E9"],["3EB","3EB"],["3ED","3ED"],["3EF","3F3"],["3F5","3F5"],["3F8","3F8"],["3FB","3FC"],["430","45F"],["461","461"],["463","463"],["465","465"],["467","467"],["469","469"],["46B","46B"],["46D","46D"],["46F","46F"],["471","471"], -["473","473"],["475","475"],["477","477"],["479","479"],["47B","47B"],["47D","47D"],["47F","47F"],["481","481"],["48B","48B"],["48D","48D"],["48F","48F"],["491","491"],["493","493"],["495","495"],["497","497"],["499","499"],["49B","49B"],["49D","49D"],["49F","49F"],["4A1","4A1"],["4A3","4A3"],["4A5","4A5"],["4A7","4A7"],["4A9","4A9"],["4AB","4AB"],["4AD","4AD"],["4AF","4AF"],["4B1","4B1"],["4B3","4B3"],["4B5","4B5"],["4B7","4B7"],["4B9","4B9"],["4BB","4BB"],["4BD","4BD"],["4BF","4BF"],["4C2","4C2"], -["4C4","4C4"],["4C6","4C6"],["4C8","4C8"],["4CA","4CA"],["4CC","4CC"],["4CE","4CF"],["4D1","4D1"],["4D3","4D3"],["4D5","4D5"],["4D7","4D7"],["4D9","4D9"],["4DB","4DB"],["4DD","4DD"],["4DF","4DF"],["4E1","4E1"],["4E3","4E3"],["4E5","4E5"],["4E7","4E7"],["4E9","4E9"],["4EB","4EB"],["4ED","4ED"],["4EF","4EF"],["4F1","4F1"],["4F3","4F3"],["4F5","4F5"],["4F7","4F7"],["4F9","4F9"],["4FB","4FB"],["4FD","4FD"],["4FF","4FF"],["501","501"],["503","503"],["505","505"],["507","507"],["509","509"],["50B","50B"], -["50D","50D"],["50F","50F"],["511","511"],["513","513"],["515","515"],["517","517"],["519","519"],["51B","51B"],["51D","51D"],["51F","51F"],["521","521"],["523","523"],["525","525"],["527","527"],["561","587"],["1D00","1D2B"],["1D6B","1D77"],["1D79","1D9A"],["1E01","1E01"],["1E03","1E03"],["1E05","1E05"],["1E07","1E07"],["1E09","1E09"],["1E0B","1E0B"],["1E0D","1E0D"],["1E0F","1E0F"],["1E11","1E11"],["1E13","1E13"],["1E15","1E15"],["1E17","1E17"],["1E19","1E19"],["1E1B","1E1B"],["1E1D","1E1D"],["1E1F", -"1E1F"],["1E21","1E21"],["1E23","1E23"],["1E25","1E25"],["1E27","1E27"],["1E29","1E29"],["1E2B","1E2B"],["1E2D","1E2D"],["1E2F","1E2F"],["1E31","1E31"],["1E33","1E33"],["1E35","1E35"],["1E37","1E37"],["1E39","1E39"],["1E3B","1E3B"],["1E3D","1E3D"],["1E3F","1E3F"],["1E41","1E41"],["1E43","1E43"],["1E45","1E45"],["1E47","1E47"],["1E49","1E49"],["1E4B","1E4B"],["1E4D","1E4D"],["1E4F","1E4F"],["1E51","1E51"],["1E53","1E53"],["1E55","1E55"],["1E57","1E57"],["1E59","1E59"],["1E5B","1E5B"],["1E5D","1E5D"], -["1E5F","1E5F"],["1E61","1E61"],["1E63","1E63"],["1E65","1E65"],["1E67","1E67"],["1E69","1E69"],["1E6B","1E6B"],["1E6D","1E6D"],["1E6F","1E6F"],["1E71","1E71"],["1E73","1E73"],["1E75","1E75"],["1E77","1E77"],["1E79","1E79"],["1E7B","1E7B"],["1E7D","1E7D"],["1E7F","1E7F"],["1E81","1E81"],["1E83","1E83"],["1E85","1E85"],["1E87","1E87"],["1E89","1E89"],["1E8B","1E8B"],["1E8D","1E8D"],["1E8F","1E8F"],["1E91","1E91"],["1E93","1E93"],["1E95","1E9D"],["1E9F","1E9F"],["1EA1","1EA1"],["1EA3","1EA3"],["1EA5", -"1EA5"],["1EA7","1EA7"],["1EA9","1EA9"],["1EAB","1EAB"],["1EAD","1EAD"],["1EAF","1EAF"],["1EB1","1EB1"],["1EB3","1EB3"],["1EB5","1EB5"],["1EB7","1EB7"],["1EB9","1EB9"],["1EBB","1EBB"],["1EBD","1EBD"],["1EBF","1EBF"],["1EC1","1EC1"],["1EC3","1EC3"],["1EC5","1EC5"],["1EC7","1EC7"],["1EC9","1EC9"],["1ECB","1ECB"],["1ECD","1ECD"],["1ECF","1ECF"],["1ED1","1ED1"],["1ED3","1ED3"],["1ED5","1ED5"],["1ED7","1ED7"],["1ED9","1ED9"],["1EDB","1EDB"],["1EDD","1EDD"],["1EDF","1EDF"],["1EE1","1EE1"],["1EE3","1EE3"], -["1EE5","1EE5"],["1EE7","1EE7"],["1EE9","1EE9"],["1EEB","1EEB"],["1EED","1EED"],["1EEF","1EEF"],["1EF1","1EF1"],["1EF3","1EF3"],["1EF5","1EF5"],["1EF7","1EF7"],["1EF9","1EF9"],["1EFB","1EFB"],["1EFD","1EFD"],["1EFF","1F07"],["1F10","1F15"],["1F20","1F27"],["1F30","1F37"],["1F40","1F45"],["1F50","1F57"],["1F60","1F67"],["1F70","1F7D"],["1F80","1F87"],["1F90","1F97"],["1FA0","1FA7"],["1FB0","1FB4"],["1FB6","1FB7"],["1FBE","1FBE"],["1FC2","1FC4"],["1FC6","1FC7"],["1FD0","1FD3"],["1FD6","1FD7"],["1FE0", -"1FE7"],["1FF2","1FF4"],["1FF6","1FF7"],["210A","210A"],["210E","210F"],["2113","2113"],["212F","212F"],["2134","2134"],["2139","2139"],["213C","213D"],["2146","2149"],["214E","214E"],["2184","2184"],["2C30","2C5E"],["2C61","2C61"],["2C65","2C66"],["2C68","2C68"],["2C6A","2C6A"],["2C6C","2C6C"],["2C71","2C71"],["2C73","2C74"],["2C76","2C7B"],["2C81","2C81"],["2C83","2C83"],["2C85","2C85"],["2C87","2C87"],["2C89","2C89"],["2C8B","2C8B"],["2C8D","2C8D"],["2C8F","2C8F"],["2C91","2C91"],["2C93","2C93"], -["2C95","2C95"],["2C97","2C97"],["2C99","2C99"],["2C9B","2C9B"],["2C9D","2C9D"],["2C9F","2C9F"],["2CA1","2CA1"],["2CA3","2CA3"],["2CA5","2CA5"],["2CA7","2CA7"],["2CA9","2CA9"],["2CAB","2CAB"],["2CAD","2CAD"],["2CAF","2CAF"],["2CB1","2CB1"],["2CB3","2CB3"],["2CB5","2CB5"],["2CB7","2CB7"],["2CB9","2CB9"],["2CBB","2CBB"],["2CBD","2CBD"],["2CBF","2CBF"],["2CC1","2CC1"],["2CC3","2CC3"],["2CC5","2CC5"],["2CC7","2CC7"],["2CC9","2CC9"],["2CCB","2CCB"],["2CCD","2CCD"],["2CCF","2CCF"],["2CD1","2CD1"],["2CD3", -"2CD3"],["2CD5","2CD5"],["2CD7","2CD7"],["2CD9","2CD9"],["2CDB","2CDB"],["2CDD","2CDD"],["2CDF","2CDF"],["2CE1","2CE1"],["2CE3","2CE4"],["2CEC","2CEC"],["2CEE","2CEE"],["2CF3","2CF3"],["2D00","2D25"],["2D27","2D27"],["2D2D","2D2D"],["A641","A641"],["A643","A643"],["A645","A645"],["A647","A647"],["A649","A649"],["A64B","A64B"],["A64D","A64D"],["A64F","A64F"],["A651","A651"],["A653","A653"],["A655","A655"],["A657","A657"],["A659","A659"],["A65B","A65B"],["A65D","A65D"],["A65F","A65F"],["A661","A661"], -["A663","A663"],["A665","A665"],["A667","A667"],["A669","A669"],["A66B","A66B"],["A66D","A66D"],["A681","A681"],["A683","A683"],["A685","A685"],["A687","A687"],["A689","A689"],["A68B","A68B"],["A68D","A68D"],["A68F","A68F"],["A691","A691"],["A693","A693"],["A695","A695"],["A697","A697"],["A723","A723"],["A725","A725"],["A727","A727"],["A729","A729"],["A72B","A72B"],["A72D","A72D"],["A72F","A731"],["A733","A733"],["A735","A735"],["A737","A737"],["A739","A739"],["A73B","A73B"],["A73D","A73D"],["A73F", -"A73F"],["A741","A741"],["A743","A743"],["A745","A745"],["A747","A747"],["A749","A749"],["A74B","A74B"],["A74D","A74D"],["A74F","A74F"],["A751","A751"],["A753","A753"],["A755","A755"],["A757","A757"],["A759","A759"],["A75B","A75B"],["A75D","A75D"],["A75F","A75F"],["A761","A761"],["A763","A763"],["A765","A765"],["A767","A767"],["A769","A769"],["A76B","A76B"],["A76D","A76D"],["A76F","A76F"],["A771","A778"],["A77A","A77A"],["A77C","A77C"],["A77F","A77F"],["A781","A781"],["A783","A783"],["A785","A785"], -["A787","A787"],["A78C","A78C"],["A78E","A78E"],["A791","A791"],["A793","A793"],["A7A1","A7A1"],["A7A3","A7A3"],["A7A5","A7A5"],["A7A7","A7A7"],["A7A9","A7A9"],["A7FA","A7FA"],["FB00","FB06"],["FB13","FB17"],["FF41","FF5A"],["10428","1044F"],["1D41A","1D433"],["1D44E","1D454"],["1D456","1D467"],["1D482","1D49B"],["1D4B6","1D4B9"],["1D4BB","1D4BB"],["1D4BD","1D4C3"],["1D4C5","1D4CF"],["1D4EA","1D503"],["1D51E","1D537"],["1D552","1D56B"],["1D586","1D59F"],["1D5BA","1D5D3"],["1D5EE","1D607"],["1D622", -"1D63B"],["1D656","1D66F"],["1D68A","1D6A5"],["1D6C2","1D6DA"],["1D6DC","1D6E1"],["1D6FC","1D714"],["1D716","1D71B"],["1D736","1D74E"],["1D750","1D755"],["1D770","1D788"],["1D78A","1D78F"],["1D7AA","1D7C2"],["1D7C4","1D7C9"],["1D7CB","1D7CB"]],Lm:[["2B0","2C1"],["2C6","2D1"],["2E0","2E4"],["2EC","2EC"],["2EE","2EE"],["374","374"],["37A","37A"],["559","559"],["640","640"],["6E5","6E6"],["7F4","7F5"],["7FA","7FA"],["81A","81A"],["824","824"],["828","828"],["971","971"],["E46","E46"],["EC6","EC6"],["10FC", -"10FC"],["17D7","17D7"],["1843","1843"],["1AA7","1AA7"],["1C78","1C7D"],["1D2C","1D6A"],["1D78","1D78"],["1D9B","1DBF"],["2071","2071"],["207F","207F"],["2090","209C"],["2C7C","2C7D"],["2D6F","2D6F"],["2E2F","2E2F"],["3005","3005"],["3031","3035"],["303B","303B"],["309D","309E"],["30FC","30FE"],["A015","A015"],["A4F8","A4FD"],["A60C","A60C"],["A67F","A67F"],["A717","A71F"],["A770","A770"],["A788","A788"],["A7F8","A7F9"],["A9CF","A9CF"],["AA70","AA70"],["AADD","AADD"],["AAF3","AAF4"],["FF70","FF70"], -["FF9E","FF9F"],["16F93","16F9F"]],Lo:[["AA","AA"],["BA","BA"],["1BB","1BB"],["1C0","1C3"],["294","294"],["5D0","5EA"],["5F0","5F2"],["620","63F"],["641","64A"],["66E","66F"],["671","6D3"],["6D5","6D5"],["6EE","6EF"],["6FA","6FC"],["6FF","6FF"],["710","710"],["712","72F"],["74D","7A5"],["7B1","7B1"],["7CA","7EA"],["800","815"],["840","858"],["8A0","8A0"],["8A2","8AC"],["904","939"],["93D","93D"],["950","950"],["958","961"],["972","977"],["979","97F"],["985","98C"],["98F","990"],["993","9A8"],["9AA", -"9B0"],["9B2","9B2"],["9B6","9B9"],["9BD","9BD"],["9CE","9CE"],["9DC","9DD"],["9DF","9E1"],["9F0","9F1"],["A05","A0A"],["A0F","A10"],["A13","A28"],["A2A","A30"],["A32","A33"],["A35","A36"],["A38","A39"],["A59","A5C"],["A5E","A5E"],["A72","A74"],["A85","A8D"],["A8F","A91"],["A93","AA8"],["AAA","AB0"],["AB2","AB3"],["AB5","AB9"],["ABD","ABD"],["AD0","AD0"],["AE0","AE1"],["B05","B0C"],["B0F","B10"],["B13","B28"],["B2A","B30"],["B32","B33"],["B35","B39"],["B3D","B3D"],["B5C","B5D"],["B5F","B61"],["B71", -"B71"],["B83","B83"],["B85","B8A"],["B8E","B90"],["B92","B95"],["B99","B9A"],["B9C","B9C"],["B9E","B9F"],["BA3","BA4"],["BA8","BAA"],["BAE","BB9"],["BD0","BD0"],["C05","C0C"],["C0E","C10"],["C12","C28"],["C2A","C33"],["C35","C39"],["C3D","C3D"],["C58","C59"],["C60","C61"],["C85","C8C"],["C8E","C90"],["C92","CA8"],["CAA","CB3"],["CB5","CB9"],["CBD","CBD"],["CDE","CDE"],["CE0","CE1"],["CF1","CF2"],["D05","D0C"],["D0E","D10"],["D12","D3A"],["D3D","D3D"],["D4E","D4E"],["D60","D61"],["D7A","D7F"],["D85", -"D96"],["D9A","DB1"],["DB3","DBB"],["DBD","DBD"],["DC0","DC6"],["E01","E30"],["E32","E33"],["E40","E45"],["E81","E82"],["E84","E84"],["E87","E88"],["E8A","E8A"],["E8D","E8D"],["E94","E97"],["E99","E9F"],["EA1","EA3"],["EA5","EA5"],["EA7","EA7"],["EAA","EAB"],["EAD","EB0"],["EB2","EB3"],["EBD","EBD"],["EC0","EC4"],["EDC","EDF"],["F00","F00"],["F40","F47"],["F49","F6C"],["F88","F8C"],["1000","102A"],["103F","103F"],["1050","1055"],["105A","105D"],["1061","1061"],["1065","1066"],["106E","1070"],["1075", -"1081"],["108E","108E"],["10D0","10FA"],["10FD","1248"],["124A","124D"],["1250","1256"],["1258","1258"],["125A","125D"],["1260","1288"],["128A","128D"],["1290","12B0"],["12B2","12B5"],["12B8","12BE"],["12C0","12C0"],["12C2","12C5"],["12C8","12D6"],["12D8","1310"],["1312","1315"],["1318","135A"],["1380","138F"],["13A0","13F4"],["1401","166C"],["166F","167F"],["1681","169A"],["16A0","16EA"],["1700","170C"],["170E","1711"],["1720","1731"],["1740","1751"],["1760","176C"],["176E","1770"],["1780","17B3"], -["17DC","17DC"],["1820","1842"],["1844","1877"],["1880","18A8"],["18AA","18AA"],["18B0","18F5"],["1900","191C"],["1950","196D"],["1970","1974"],["1980","19AB"],["19C1","19C7"],["1A00","1A16"],["1A20","1A54"],["1B05","1B33"],["1B45","1B4B"],["1B83","1BA0"],["1BAE","1BAF"],["1BBA","1BE5"],["1C00","1C23"],["1C4D","1C4F"],["1C5A","1C77"],["1CE9","1CEC"],["1CEE","1CF1"],["1CF5","1CF6"],["2135","2138"],["2D30","2D67"],["2D80","2D96"],["2DA0","2DA6"],["2DA8","2DAE"],["2DB0","2DB6"],["2DB8","2DBE"],["2DC0", -"2DC6"],["2DC8","2DCE"],["2DD0","2DD6"],["2DD8","2DDE"],["3006","3006"],["303C","303C"],["3041","3096"],["309F","309F"],["30A1","30FA"],["30FF","30FF"],["3105","312D"],["3131","318E"],["31A0","31BA"],["31F0","31FF"],["3400","4DB5"],["4E00","9FCC"],["A000","A014"],["A016","A48C"],["A4D0","A4F7"],["A500","A60B"],["A610","A61F"],["A62A","A62B"],["A66E","A66E"],["A6A0","A6E5"],["A7FB","A801"],["A803","A805"],["A807","A80A"],["A80C","A822"],["A840","A873"],["A882","A8B3"],["A8F2","A8F7"],["A8FB","A8FB"], -["A90A","A925"],["A930","A946"],["A960","A97C"],["A984","A9B2"],["AA00","AA28"],["AA40","AA42"],["AA44","AA4B"],["AA60","AA6F"],["AA71","AA76"],["AA7A","AA7A"],["AA80","AAAF"],["AAB1","AAB1"],["AAB5","AAB6"],["AAB9","AABD"],["AAC0","AAC0"],["AAC2","AAC2"],["AADB","AADC"],["AAE0","AAEA"],["AAF2","AAF2"],["AB01","AB06"],["AB09","AB0E"],["AB11","AB16"],["AB20","AB26"],["AB28","AB2E"],["ABC0","ABE2"],["AC00","D7A3"],["D7B0","D7C6"],["D7CB","D7FB"],["F900","FA6D"],["FA70","FAD9"],["FB1D","FB1D"],["FB1F", -"FB28"],["FB2A","FB36"],["FB38","FB3C"],["FB3E","FB3E"],["FB40","FB41"],["FB43","FB44"],["FB46","FBB1"],["FBD3","FD3D"],["FD50","FD8F"],["FD92","FDC7"],["FDF0","FDFB"],["FE70","FE74"],["FE76","FEFC"],["FF66","FF6F"],["FF71","FF9D"],["FFA0","FFBE"],["FFC2","FFC7"],["FFCA","FFCF"],["FFD2","FFD7"],["FFDA","FFDC"],["10000","1000B"],["1000D","10026"],["10028","1003A"],["1003C","1003D"],["1003F","1004D"],["10050","1005D"],["10080","100FA"],["10280","1029C"],["102A0","102D0"],["10300","1031E"],["10330", -"10340"],["10342","10349"],["10380","1039D"],["103A0","103C3"],["103C8","103CF"],["10450","1049D"],["10800","10805"],["10808","10808"],["1080A","10835"],["10837","10838"],["1083C","1083C"],["1083F","10855"],["10900","10915"],["10920","10939"],["10980","109B7"],["109BE","109BF"],["10A00","10A00"],["10A10","10A13"],["10A15","10A17"],["10A19","10A33"],["10A60","10A7C"],["10B00","10B35"],["10B40","10B55"],["10B60","10B72"],["10C00","10C48"],["11003","11037"],["11083","110AF"],["110D0","110E8"],["11103", -"11126"],["11183","111B2"],["111C1","111C4"],["11680","116AA"],["12000","1236E"],["13000","1342E"],["16800","16A38"],["16F00","16F44"],["16F50","16F50"],["1B000","1B001"],["1EE00","1EE03"],["1EE05","1EE1F"],["1EE21","1EE22"],["1EE24","1EE24"],["1EE27","1EE27"],["1EE29","1EE32"],["1EE34","1EE37"],["1EE39","1EE39"],["1EE3B","1EE3B"],["1EE42","1EE42"],["1EE47","1EE47"],["1EE49","1EE49"],["1EE4B","1EE4B"],["1EE4D","1EE4F"],["1EE51","1EE52"],["1EE54","1EE54"],["1EE57","1EE57"],["1EE59","1EE59"],["1EE5B", -"1EE5B"],["1EE5D","1EE5D"],["1EE5F","1EE5F"],["1EE61","1EE62"],["1EE64","1EE64"],["1EE67","1EE6A"],["1EE6C","1EE72"],["1EE74","1EE77"],["1EE79","1EE7C"],["1EE7E","1EE7E"],["1EE80","1EE89"],["1EE8B","1EE9B"],["1EEA1","1EEA3"],["1EEA5","1EEA9"],["1EEAB","1EEBB"],["20000","2A6D6"],["2A700","2B734"],["2B740","2B81D"],["2F800","2FA1D"]],Lt:[["1C5","1C5"],["1C8","1C8"],["1CB","1CB"],["1F2","1F2"],["1F88","1F8F"],["1F98","1F9F"],["1FA8","1FAF"],["1FBC","1FBC"],["1FCC","1FCC"],["1FFC","1FFC"]],Lu:[["41", -"5A"],["C0","D6"],["D8","DE"],["100","100"],["102","102"],["104","104"],["106","106"],["108","108"],["10A","10A"],["10C","10C"],["10E","10E"],["110","110"],["112","112"],["114","114"],["116","116"],["118","118"],["11A","11A"],["11C","11C"],["11E","11E"],["120","120"],["122","122"],["124","124"],["126","126"],["128","128"],["12A","12A"],["12C","12C"],["12E","12E"],["130","130"],["132","132"],["134","134"],["136","136"],["139","139"],["13B","13B"],["13D","13D"],["13F","13F"],["141","141"],["143","143"], -["145","145"],["147","147"],["14A","14A"],["14C","14C"],["14E","14E"],["150","150"],["152","152"],["154","154"],["156","156"],["158","158"],["15A","15A"],["15C","15C"],["15E","15E"],["160","160"],["162","162"],["164","164"],["166","166"],["168","168"],["16A","16A"],["16C","16C"],["16E","16E"],["170","170"],["172","172"],["174","174"],["176","176"],["178","179"],["17B","17B"],["17D","17D"],["181","182"],["184","184"],["186","187"],["189","18B"],["18E","191"],["193","194"],["196","198"],["19C","19D"], -["19F","1A0"],["1A2","1A2"],["1A4","1A4"],["1A6","1A7"],["1A9","1A9"],["1AC","1AC"],["1AE","1AF"],["1B1","1B3"],["1B5","1B5"],["1B7","1B8"],["1BC","1BC"],["1C4","1C4"],["1C7","1C7"],["1CA","1CA"],["1CD","1CD"],["1CF","1CF"],["1D1","1D1"],["1D3","1D3"],["1D5","1D5"],["1D7","1D7"],["1D9","1D9"],["1DB","1DB"],["1DE","1DE"],["1E0","1E0"],["1E2","1E2"],["1E4","1E4"],["1E6","1E6"],["1E8","1E8"],["1EA","1EA"],["1EC","1EC"],["1EE","1EE"],["1F1","1F1"],["1F4","1F4"],["1F6","1F8"],["1FA","1FA"],["1FC","1FC"], -["1FE","1FE"],["200","200"],["202","202"],["204","204"],["206","206"],["208","208"],["20A","20A"],["20C","20C"],["20E","20E"],["210","210"],["212","212"],["214","214"],["216","216"],["218","218"],["21A","21A"],["21C","21C"],["21E","21E"],["220","220"],["222","222"],["224","224"],["226","226"],["228","228"],["22A","22A"],["22C","22C"],["22E","22E"],["230","230"],["232","232"],["23A","23B"],["23D","23E"],["241","241"],["243","246"],["248","248"],["24A","24A"],["24C","24C"],["24E","24E"],["370","370"], -["372","372"],["376","376"],["386","386"],["388","38A"],["38C","38C"],["38E","38F"],["391","3A1"],["3A3","3AB"],["3CF","3CF"],["3D2","3D4"],["3D8","3D8"],["3DA","3DA"],["3DC","3DC"],["3DE","3DE"],["3E0","3E0"],["3E2","3E2"],["3E4","3E4"],["3E6","3E6"],["3E8","3E8"],["3EA","3EA"],["3EC","3EC"],["3EE","3EE"],["3F4","3F4"],["3F7","3F7"],["3F9","3FA"],["3FD","42F"],["460","460"],["462","462"],["464","464"],["466","466"],["468","468"],["46A","46A"],["46C","46C"],["46E","46E"],["470","470"],["472","472"], -["474","474"],["476","476"],["478","478"],["47A","47A"],["47C","47C"],["47E","47E"],["480","480"],["48A","48A"],["48C","48C"],["48E","48E"],["490","490"],["492","492"],["494","494"],["496","496"],["498","498"],["49A","49A"],["49C","49C"],["49E","49E"],["4A0","4A0"],["4A2","4A2"],["4A4","4A4"],["4A6","4A6"],["4A8","4A8"],["4AA","4AA"],["4AC","4AC"],["4AE","4AE"],["4B0","4B0"],["4B2","4B2"],["4B4","4B4"],["4B6","4B6"],["4B8","4B8"],["4BA","4BA"],["4BC","4BC"],["4BE","4BE"],["4C0","4C1"],["4C3","4C3"], -["4C5","4C5"],["4C7","4C7"],["4C9","4C9"],["4CB","4CB"],["4CD","4CD"],["4D0","4D0"],["4D2","4D2"],["4D4","4D4"],["4D6","4D6"],["4D8","4D8"],["4DA","4DA"],["4DC","4DC"],["4DE","4DE"],["4E0","4E0"],["4E2","4E2"],["4E4","4E4"],["4E6","4E6"],["4E8","4E8"],["4EA","4EA"],["4EC","4EC"],["4EE","4EE"],["4F0","4F0"],["4F2","4F2"],["4F4","4F4"],["4F6","4F6"],["4F8","4F8"],["4FA","4FA"],["4FC","4FC"],["4FE","4FE"],["500","500"],["502","502"],["504","504"],["506","506"],["508","508"],["50A","50A"],["50C","50C"], -["50E","50E"],["510","510"],["512","512"],["514","514"],["516","516"],["518","518"],["51A","51A"],["51C","51C"],["51E","51E"],["520","520"],["522","522"],["524","524"],["526","526"],["531","556"],["10A0","10C5"],["10C7","10C7"],["10CD","10CD"],["1E00","1E00"],["1E02","1E02"],["1E04","1E04"],["1E06","1E06"],["1E08","1E08"],["1E0A","1E0A"],["1E0C","1E0C"],["1E0E","1E0E"],["1E10","1E10"],["1E12","1E12"],["1E14","1E14"],["1E16","1E16"],["1E18","1E18"],["1E1A","1E1A"],["1E1C","1E1C"],["1E1E","1E1E"],["1E20", -"1E20"],["1E22","1E22"],["1E24","1E24"],["1E26","1E26"],["1E28","1E28"],["1E2A","1E2A"],["1E2C","1E2C"],["1E2E","1E2E"],["1E30","1E30"],["1E32","1E32"],["1E34","1E34"],["1E36","1E36"],["1E38","1E38"],["1E3A","1E3A"],["1E3C","1E3C"],["1E3E","1E3E"],["1E40","1E40"],["1E42","1E42"],["1E44","1E44"],["1E46","1E46"],["1E48","1E48"],["1E4A","1E4A"],["1E4C","1E4C"],["1E4E","1E4E"],["1E50","1E50"],["1E52","1E52"],["1E54","1E54"],["1E56","1E56"],["1E58","1E58"],["1E5A","1E5A"],["1E5C","1E5C"],["1E5E","1E5E"], -["1E60","1E60"],["1E62","1E62"],["1E64","1E64"],["1E66","1E66"],["1E68","1E68"],["1E6A","1E6A"],["1E6C","1E6C"],["1E6E","1E6E"],["1E70","1E70"],["1E72","1E72"],["1E74","1E74"],["1E76","1E76"],["1E78","1E78"],["1E7A","1E7A"],["1E7C","1E7C"],["1E7E","1E7E"],["1E80","1E80"],["1E82","1E82"],["1E84","1E84"],["1E86","1E86"],["1E88","1E88"],["1E8A","1E8A"],["1E8C","1E8C"],["1E8E","1E8E"],["1E90","1E90"],["1E92","1E92"],["1E94","1E94"],["1E9E","1E9E"],["1EA0","1EA0"],["1EA2","1EA2"],["1EA4","1EA4"],["1EA6", -"1EA6"],["1EA8","1EA8"],["1EAA","1EAA"],["1EAC","1EAC"],["1EAE","1EAE"],["1EB0","1EB0"],["1EB2","1EB2"],["1EB4","1EB4"],["1EB6","1EB6"],["1EB8","1EB8"],["1EBA","1EBA"],["1EBC","1EBC"],["1EBE","1EBE"],["1EC0","1EC0"],["1EC2","1EC2"],["1EC4","1EC4"],["1EC6","1EC6"],["1EC8","1EC8"],["1ECA","1ECA"],["1ECC","1ECC"],["1ECE","1ECE"],["1ED0","1ED0"],["1ED2","1ED2"],["1ED4","1ED4"],["1ED6","1ED6"],["1ED8","1ED8"],["1EDA","1EDA"],["1EDC","1EDC"],["1EDE","1EDE"],["1EE0","1EE0"],["1EE2","1EE2"],["1EE4","1EE4"], -["1EE6","1EE6"],["1EE8","1EE8"],["1EEA","1EEA"],["1EEC","1EEC"],["1EEE","1EEE"],["1EF0","1EF0"],["1EF2","1EF2"],["1EF4","1EF4"],["1EF6","1EF6"],["1EF8","1EF8"],["1EFA","1EFA"],["1EFC","1EFC"],["1EFE","1EFE"],["1F08","1F0F"],["1F18","1F1D"],["1F28","1F2F"],["1F38","1F3F"],["1F48","1F4D"],["1F59","1F59"],["1F5B","1F5B"],["1F5D","1F5D"],["1F5F","1F5F"],["1F68","1F6F"],["1FB8","1FBB"],["1FC8","1FCB"],["1FD8","1FDB"],["1FE8","1FEC"],["1FF8","1FFB"],["2102","2102"],["2107","2107"],["210B","210D"],["2110", -"2112"],["2115","2115"],["2119","211D"],["2124","2124"],["2126","2126"],["2128","2128"],["212A","212D"],["2130","2133"],["213E","213F"],["2145","2145"],["2183","2183"],["2C00","2C2E"],["2C60","2C60"],["2C62","2C64"],["2C67","2C67"],["2C69","2C69"],["2C6B","2C6B"],["2C6D","2C70"],["2C72","2C72"],["2C75","2C75"],["2C7E","2C80"],["2C82","2C82"],["2C84","2C84"],["2C86","2C86"],["2C88","2C88"],["2C8A","2C8A"],["2C8C","2C8C"],["2C8E","2C8E"],["2C90","2C90"],["2C92","2C92"],["2C94","2C94"],["2C96","2C96"], -["2C98","2C98"],["2C9A","2C9A"],["2C9C","2C9C"],["2C9E","2C9E"],["2CA0","2CA0"],["2CA2","2CA2"],["2CA4","2CA4"],["2CA6","2CA6"],["2CA8","2CA8"],["2CAA","2CAA"],["2CAC","2CAC"],["2CAE","2CAE"],["2CB0","2CB0"],["2CB2","2CB2"],["2CB4","2CB4"],["2CB6","2CB6"],["2CB8","2CB8"],["2CBA","2CBA"],["2CBC","2CBC"],["2CBE","2CBE"],["2CC0","2CC0"],["2CC2","2CC2"],["2CC4","2CC4"],["2CC6","2CC6"],["2CC8","2CC8"],["2CCA","2CCA"],["2CCC","2CCC"],["2CCE","2CCE"],["2CD0","2CD0"],["2CD2","2CD2"],["2CD4","2CD4"],["2CD6", -"2CD6"],["2CD8","2CD8"],["2CDA","2CDA"],["2CDC","2CDC"],["2CDE","2CDE"],["2CE0","2CE0"],["2CE2","2CE2"],["2CEB","2CEB"],["2CED","2CED"],["2CF2","2CF2"],["A640","A640"],["A642","A642"],["A644","A644"],["A646","A646"],["A648","A648"],["A64A","A64A"],["A64C","A64C"],["A64E","A64E"],["A650","A650"],["A652","A652"],["A654","A654"],["A656","A656"],["A658","A658"],["A65A","A65A"],["A65C","A65C"],["A65E","A65E"],["A660","A660"],["A662","A662"],["A664","A664"],["A666","A666"],["A668","A668"],["A66A","A66A"], -["A66C","A66C"],["A680","A680"],["A682","A682"],["A684","A684"],["A686","A686"],["A688","A688"],["A68A","A68A"],["A68C","A68C"],["A68E","A68E"],["A690","A690"],["A692","A692"],["A694","A694"],["A696","A696"],["A722","A722"],["A724","A724"],["A726","A726"],["A728","A728"],["A72A","A72A"],["A72C","A72C"],["A72E","A72E"],["A732","A732"],["A734","A734"],["A736","A736"],["A738","A738"],["A73A","A73A"],["A73C","A73C"],["A73E","A73E"],["A740","A740"],["A742","A742"],["A744","A744"],["A746","A746"],["A748", -"A748"],["A74A","A74A"],["A74C","A74C"],["A74E","A74E"],["A750","A750"],["A752","A752"],["A754","A754"],["A756","A756"],["A758","A758"],["A75A","A75A"],["A75C","A75C"],["A75E","A75E"],["A760","A760"],["A762","A762"],["A764","A764"],["A766","A766"],["A768","A768"],["A76A","A76A"],["A76C","A76C"],["A76E","A76E"],["A779","A779"],["A77B","A77B"],["A77D","A77E"],["A780","A780"],["A782","A782"],["A784","A784"],["A786","A786"],["A78B","A78B"],["A78D","A78D"],["A790","A790"],["A792","A792"],["A7A0","A7A0"], -["A7A2","A7A2"],["A7A4","A7A4"],["A7A6","A7A6"],["A7A8","A7A8"],["A7AA","A7AA"],["FF21","FF3A"],["10400","10427"],["1D400","1D419"],["1D434","1D44D"],["1D468","1D481"],["1D49C","1D49C"],["1D49E","1D49F"],["1D4A2","1D4A2"],["1D4A5","1D4A6"],["1D4A9","1D4AC"],["1D4AE","1D4B5"],["1D4D0","1D4E9"],["1D504","1D505"],["1D507","1D50A"],["1D50D","1D514"],["1D516","1D51C"],["1D538","1D539"],["1D53B","1D53E"],["1D540","1D544"],["1D546","1D546"],["1D54A","1D550"],["1D56C","1D585"],["1D5A0","1D5B9"],["1D5D4", -"1D5ED"],["1D608","1D621"],["1D63C","1D655"],["1D670","1D689"],["1D6A8","1D6C0"],["1D6E2","1D6FA"],["1D71C","1D734"],["1D756","1D76E"],["1D790","1D7A8"],["1D7CA","1D7CA"]],M:"Mc|Me|Mn",Mc:[["903","903"],["93B","93B"],["93E","940"],["949","94C"],["94E","94F"],["982","983"],["9BE","9C0"],["9C7","9C8"],["9CB","9CC"],["9D7","9D7"],["A03","A03"],["A3E","A40"],["A83","A83"],["ABE","AC0"],["AC9","AC9"],["ACB","ACC"],["B02","B03"],["B3E","B3E"],["B40","B40"],["B47","B48"],["B4B","B4C"],["B57","B57"],["BBE", -"BBF"],["BC1","BC2"],["BC6","BC8"],["BCA","BCC"],["BD7","BD7"],["C01","C03"],["C41","C44"],["C82","C83"],["CBE","CBE"],["CC0","CC4"],["CC7","CC8"],["CCA","CCB"],["CD5","CD6"],["D02","D03"],["D3E","D40"],["D46","D48"],["D4A","D4C"],["D57","D57"],["D82","D83"],["DCF","DD1"],["DD8","DDF"],["DF2","DF3"],["F3E","F3F"],["F7F","F7F"],["102B","102C"],["1031","1031"],["1038","1038"],["103B","103C"],["1056","1057"],["1062","1064"],["1067","106D"],["1083","1084"],["1087","108C"],["108F","108F"],["109A","109C"], -["17B6","17B6"],["17BE","17C5"],["17C7","17C8"],["1923","1926"],["1929","192B"],["1930","1931"],["1933","1938"],["19B0","19C0"],["19C8","19C9"],["1A19","1A1B"],["1A55","1A55"],["1A57","1A57"],["1A61","1A61"],["1A63","1A64"],["1A6D","1A72"],["1B04","1B04"],["1B35","1B35"],["1B3B","1B3B"],["1B3D","1B41"],["1B43","1B44"],["1B82","1B82"],["1BA1","1BA1"],["1BA6","1BA7"],["1BAA","1BAA"],["1BAC","1BAD"],["1BE7","1BE7"],["1BEA","1BEC"],["1BEE","1BEE"],["1BF2","1BF3"],["1C24","1C2B"],["1C34","1C35"],["1CE1", -"1CE1"],["1CF2","1CF3"],["302E","302F"],["A823","A824"],["A827","A827"],["A880","A881"],["A8B4","A8C3"],["A952","A953"],["A983","A983"],["A9B4","A9B5"],["A9BA","A9BB"],["A9BD","A9C0"],["AA2F","AA30"],["AA33","AA34"],["AA4D","AA4D"],["AA7B","AA7B"],["AAEB","AAEB"],["AAEE","AAEF"],["AAF5","AAF5"],["ABE3","ABE4"],["ABE6","ABE7"],["ABE9","ABEA"],["ABEC","ABEC"],["11000","11000"],["11002","11002"],["11082","11082"],["110B0","110B2"],["110B7","110B8"],["1112C","1112C"],["11182","11182"],["111B3","111B5"], -["111BF","111C0"],["116AC","116AC"],["116AE","116AF"],["116B6","116B6"],["16F51","16F7E"],["1D165","1D166"],["1D16D","1D172"]],Me:[["488","489"],["20DD","20E0"],["20E2","20E4"],["A670","A672"]],Mn:[["300","36F"],["483","487"],["591","5BD"],["5BF","5BF"],["5C1","5C2"],["5C4","5C5"],["5C7","5C7"],["610","61A"],["64B","65F"],["670","670"],["6D6","6DC"],["6DF","6E4"],["6E7","6E8"],["6EA","6ED"],["711","711"],["730","74A"],["7A6","7B0"],["7EB","7F3"],["816","819"],["81B","823"],["825","827"],["829","82D"], -["859","85B"],["8E4","8FE"],["900","902"],["93A","93A"],["93C","93C"],["941","948"],["94D","94D"],["951","957"],["962","963"],["981","981"],["9BC","9BC"],["9C1","9C4"],["9CD","9CD"],["9E2","9E3"],["A01","A02"],["A3C","A3C"],["A41","A42"],["A47","A48"],["A4B","A4D"],["A51","A51"],["A70","A71"],["A75","A75"],["A81","A82"],["ABC","ABC"],["AC1","AC5"],["AC7","AC8"],["ACD","ACD"],["AE2","AE3"],["B01","B01"],["B3C","B3C"],["B3F","B3F"],["B41","B44"],["B4D","B4D"],["B56","B56"],["B62","B63"],["B82","B82"], -["BC0","BC0"],["BCD","BCD"],["C3E","C40"],["C46","C48"],["C4A","C4D"],["C55","C56"],["C62","C63"],["CBC","CBC"],["CBF","CBF"],["CC6","CC6"],["CCC","CCD"],["CE2","CE3"],["D41","D44"],["D4D","D4D"],["D62","D63"],["DCA","DCA"],["DD2","DD4"],["DD6","DD6"],["E31","E31"],["E34","E3A"],["E47","E4E"],["EB1","EB1"],["EB4","EB9"],["EBB","EBC"],["EC8","ECD"],["F18","F19"],["F35","F35"],["F37","F37"],["F39","F39"],["F71","F7E"],["F80","F84"],["F86","F87"],["F8D","F97"],["F99","FBC"],["FC6","FC6"],["102D","1030"], -["1032","1037"],["1039","103A"],["103D","103E"],["1058","1059"],["105E","1060"],["1071","1074"],["1082","1082"],["1085","1086"],["108D","108D"],["109D","109D"],["135D","135F"],["1712","1714"],["1732","1734"],["1752","1753"],["1772","1773"],["17B4","17B5"],["17B7","17BD"],["17C6","17C6"],["17C9","17D3"],["17DD","17DD"],["180B","180D"],["18A9","18A9"],["1920","1922"],["1927","1928"],["1932","1932"],["1939","193B"],["1A17","1A18"],["1A56","1A56"],["1A58","1A5E"],["1A60","1A60"],["1A62","1A62"],["1A65", -"1A6C"],["1A73","1A7C"],["1A7F","1A7F"],["1B00","1B03"],["1B34","1B34"],["1B36","1B3A"],["1B3C","1B3C"],["1B42","1B42"],["1B6B","1B73"],["1B80","1B81"],["1BA2","1BA5"],["1BA8","1BA9"],["1BAB","1BAB"],["1BE6","1BE6"],["1BE8","1BE9"],["1BED","1BED"],["1BEF","1BF1"],["1C2C","1C33"],["1C36","1C37"],["1CD0","1CD2"],["1CD4","1CE0"],["1CE2","1CE8"],["1CED","1CED"],["1CF4","1CF4"],["1DC0","1DE6"],["1DFC","1DFF"],["20D0","20DC"],["20E1","20E1"],["20E5","20F0"],["2CEF","2CF1"],["2D7F","2D7F"],["2DE0","2DFF"], -["302A","302D"],["3099","309A"],["A66F","A66F"],["A674","A67D"],["A69F","A69F"],["A6F0","A6F1"],["A802","A802"],["A806","A806"],["A80B","A80B"],["A825","A826"],["A8C4","A8C4"],["A8E0","A8F1"],["A926","A92D"],["A947","A951"],["A980","A982"],["A9B3","A9B3"],["A9B6","A9B9"],["A9BC","A9BC"],["AA29","AA2E"],["AA31","AA32"],["AA35","AA36"],["AA43","AA43"],["AA4C","AA4C"],["AAB0","AAB0"],["AAB2","AAB4"],["AAB7","AAB8"],["AABE","AABF"],["AAC1","AAC1"],["AAEC","AAED"],["AAF6","AAF6"],["ABE5","ABE5"],["ABE8", -"ABE8"],["ABED","ABED"],["FB1E","FB1E"],["FE00","FE0F"],["FE20","FE26"],["101FD","101FD"],["10A01","10A03"],["10A05","10A06"],["10A0C","10A0F"],["10A38","10A3A"],["10A3F","10A3F"],["11001","11001"],["11038","11046"],["11080","11081"],["110B3","110B6"],["110B9","110BA"],["11100","11102"],["11127","1112B"],["1112D","11134"],["11180","11181"],["111B6","111BE"],["116AB","116AB"],["116AD","116AD"],["116B0","116B5"],["116B7","116B7"],["16F8F","16F92"],["1D167","1D169"],["1D17B","1D182"],["1D185","1D18B"], -["1D1AA","1D1AD"],["1D242","1D244"],["E0100","E01EF"]],N:"Nd|Nl|No",Nd:[["30","39"],["660","669"],["6F0","6F9"],["7C0","7C9"],["966","96F"],["9E6","9EF"],["A66","A6F"],["AE6","AEF"],["B66","B6F"],["BE6","BEF"],["C66","C6F"],["CE6","CEF"],["D66","D6F"],["E50","E59"],["ED0","ED9"],["F20","F29"],["1040","1049"],["1090","1099"],["17E0","17E9"],["1810","1819"],["1946","194F"],["19D0","19D9"],["1A80","1A89"],["1A90","1A99"],["1B50","1B59"],["1BB0","1BB9"],["1C40","1C49"],["1C50","1C59"],["A620","A629"], -["A8D0","A8D9"],["A900","A909"],["A9D0","A9D9"],["AA50","AA59"],["ABF0","ABF9"],["FF10","FF19"],["104A0","104A9"],["11066","1106F"],["110F0","110F9"],["11136","1113F"],["111D0","111D9"],["116C0","116C9"],["1D7CE","1D7FF"]],Nl:[["16EE","16F0"],["2160","2182"],["2185","2188"],["3007","3007"],["3021","3029"],["3038","303A"],["A6E6","A6EF"],["10140","10174"],["10341","10341"],["1034A","1034A"],["103D1","103D5"],["12400","12462"]],No:[["B2","B3"],["B9","B9"],["BC","BE"],["9F4","9F9"],["B72","B77"],["BF0", -"BF2"],["C78","C7E"],["D70","D75"],["F2A","F33"],["1369","137C"],["17F0","17F9"],["19DA","19DA"],["2070","2070"],["2074","2079"],["2080","2089"],["2150","215F"],["2189","2189"],["2460","249B"],["24EA","24FF"],["2776","2793"],["2CFD","2CFD"],["3192","3195"],["3220","3229"],["3248","324F"],["3251","325F"],["3280","3289"],["32B1","32BF"],["A830","A835"],["10107","10133"],["10175","10178"],["1018A","1018A"],["10320","10323"],["10858","1085F"],["10916","1091B"],["10A40","10A47"],["10A7D","10A7E"],["10B58", -"10B5F"],["10B78","10B7F"],["10E60","10E7E"],["11052","11065"],["1D360","1D371"],["1F100","1F10A"]],P:"Pc|Pd|Pe|Pf|Pi|Po|Ps",Pc:[["5F","5F"],["203F","2040"],["2054","2054"],["FE33","FE34"],["FE4D","FE4F"],["FF3F","FF3F"]],Pd:[["2D","2D"],["58A","58A"],["5BE","5BE"],["1400","1400"],["1806","1806"],["2010","2015"],["2E17","2E17"],["2E1A","2E1A"],["2E3A","2E3B"],["301C","301C"],["3030","3030"],["30A0","30A0"],["FE31","FE32"],["FE58","FE58"],["FE63","FE63"],["FF0D","FF0D"]],Pe:[["29","29"],["5D","5D"], -["7D","7D"],["F3B","F3B"],["F3D","F3D"],["169C","169C"],["2046","2046"],["207E","207E"],["208E","208E"],["232A","232A"],["2769","2769"],["276B","276B"],["276D","276D"],["276F","276F"],["2771","2771"],["2773","2773"],["2775","2775"],["27C6","27C6"],["27E7","27E7"],["27E9","27E9"],["27EB","27EB"],["27ED","27ED"],["27EF","27EF"],["2984","2984"],["2986","2986"],["2988","2988"],["298A","298A"],["298C","298C"],["298E","298E"],["2990","2990"],["2992","2992"],["2994","2994"],["2996","2996"],["2998","2998"], -["29D9","29D9"],["29DB","29DB"],["29FD","29FD"],["2E23","2E23"],["2E25","2E25"],["2E27","2E27"],["2E29","2E29"],["3009","3009"],["300B","300B"],["300D","300D"],["300F","300F"],["3011","3011"],["3015","3015"],["3017","3017"],["3019","3019"],["301B","301B"],["301E","301F"],["FD3F","FD3F"],["FE18","FE18"],["FE36","FE36"],["FE38","FE38"],["FE3A","FE3A"],["FE3C","FE3C"],["FE3E","FE3E"],["FE40","FE40"],["FE42","FE42"],["FE44","FE44"],["FE48","FE48"],["FE5A","FE5A"],["FE5C","FE5C"],["FE5E","FE5E"],["FF09", -"FF09"],["FF3D","FF3D"],["FF5D","FF5D"],["FF60","FF60"],["FF63","FF63"]],Pf:[["BB","BB"],["2019","2019"],["201D","201D"],["203A","203A"],["2E03","2E03"],["2E05","2E05"],["2E0A","2E0A"],["2E0D","2E0D"],["2E1D","2E1D"],["2E21","2E21"]],Pi:[["AB","AB"],["2018","2018"],["201B","201C"],["201F","201F"],["2039","2039"],["2E02","2E02"],["2E04","2E04"],["2E09","2E09"],["2E0C","2E0C"],["2E1C","2E1C"],["2E20","2E20"]],Po:[["21","23"],["25","27"],["2A","2A"],["2C","2C"],["2E","2F"],["3A","3B"],["3F","40"],["5C", -"5C"],["A1","A1"],["A7","A7"],["B6","B7"],["BF","BF"],["37E","37E"],["387","387"],["55A","55F"],["589","589"],["5C0","5C0"],["5C3","5C3"],["5C6","5C6"],["5F3","5F4"],["609","60A"],["60C","60D"],["61B","61B"],["61E","61F"],["66A","66D"],["6D4","6D4"],["700","70D"],["7F7","7F9"],["830","83E"],["85E","85E"],["964","965"],["970","970"],["AF0","AF0"],["DF4","DF4"],["E4F","E4F"],["E5A","E5B"],["F04","F12"],["F14","F14"],["F85","F85"],["FD0","FD4"],["FD9","FDA"],["104A","104F"],["10FB","10FB"],["1360","1368"], -["166D","166E"],["16EB","16ED"],["1735","1736"],["17D4","17D6"],["17D8","17DA"],["1800","1805"],["1807","180A"],["1944","1945"],["1A1E","1A1F"],["1AA0","1AA6"],["1AA8","1AAD"],["1B5A","1B60"],["1BFC","1BFF"],["1C3B","1C3F"],["1C7E","1C7F"],["1CC0","1CC7"],["1CD3","1CD3"],["2016","2017"],["2020","2027"],["2030","2038"],["203B","203E"],["2041","2043"],["2047","2051"],["2053","2053"],["2055","205E"],["2CF9","2CFC"],["2CFE","2CFF"],["2D70","2D70"],["2E00","2E01"],["2E06","2E08"],["2E0B","2E0B"],["2E0E", -"2E16"],["2E18","2E19"],["2E1B","2E1B"],["2E1E","2E1F"],["2E2A","2E2E"],["2E30","2E39"],["3001","3003"],["303D","303D"],["30FB","30FB"],["A4FE","A4FF"],["A60D","A60F"],["A673","A673"],["A67E","A67E"],["A6F2","A6F7"],["A874","A877"],["A8CE","A8CF"],["A8F8","A8FA"],["A92E","A92F"],["A95F","A95F"],["A9C1","A9CD"],["A9DE","A9DF"],["AA5C","AA5F"],["AADE","AADF"],["AAF0","AAF1"],["ABEB","ABEB"],["FE10","FE16"],["FE19","FE19"],["FE30","FE30"],["FE45","FE46"],["FE49","FE4C"],["FE50","FE52"],["FE54","FE57"], -["FE5F","FE61"],["FE68","FE68"],["FE6A","FE6B"],["FF01","FF03"],["FF05","FF07"],["FF0A","FF0A"],["FF0C","FF0C"],["FF0E","FF0F"],["FF1A","FF1B"],["FF1F","FF20"],["FF3C","FF3C"],["FF61","FF61"],["FF64","FF65"],["10100","10102"],["1039F","1039F"],["103D0","103D0"],["10857","10857"],["1091F","1091F"],["1093F","1093F"],["10A50","10A58"],["10A7F","10A7F"],["10B39","10B3F"],["11047","1104D"],["110BB","110BC"],["110BE","110C1"],["11140","11143"],["111C5","111C8"],["12470","12473"]],Ps:[["28","28"],["5B", -"5B"],["7B","7B"],["F3A","F3A"],["F3C","F3C"],["169B","169B"],["201A","201A"],["201E","201E"],["2045","2045"],["207D","207D"],["208D","208D"],["2329","2329"],["2768","2768"],["276A","276A"],["276C","276C"],["276E","276E"],["2770","2770"],["2772","2772"],["2774","2774"],["27C5","27C5"],["27E6","27E6"],["27E8","27E8"],["27EA","27EA"],["27EC","27EC"],["27EE","27EE"],["2983","2983"],["2985","2985"],["2987","2987"],["2989","2989"],["298B","298B"],["298D","298D"],["298F","298F"],["2991","2991"],["2993", -"2993"],["2995","2995"],["2997","2997"],["29D8","29D8"],["29DA","29DA"],["29FC","29FC"],["2E22","2E22"],["2E24","2E24"],["2E26","2E26"],["2E28","2E28"],["3008","3008"],["300A","300A"],["300C","300C"],["300E","300E"],["3010","3010"],["3014","3014"],["3016","3016"],["3018","3018"],["301A","301A"],["301D","301D"],["FD3E","FD3E"],["FE17","FE17"],["FE35","FE35"],["FE37","FE37"],["FE39","FE39"],["FE3B","FE3B"],["FE3D","FE3D"],["FE3F","FE3F"],["FE41","FE41"],["FE43","FE43"],["FE47","FE47"],["FE59","FE59"], -["FE5B","FE5B"],["FE5D","FE5D"],["FF08","FF08"],["FF3B","FF3B"],["FF5B","FF5B"],["FF5F","FF5F"],["FF62","FF62"]],S:"Sc|Sk|Sm|So",Sc:[["24","24"],["A2","A5"],["58F","58F"],["60B","60B"],["9F2","9F3"],["9FB","9FB"],["AF1","AF1"],["BF9","BF9"],["E3F","E3F"],["17DB","17DB"],["20A0","20BA"],["A838","A838"],["FDFC","FDFC"],["FE69","FE69"],["FF04","FF04"],["FFE0","FFE1"],["FFE5","FFE6"]],Sk:[["5E","5E"],["60","60"],["A8","A8"],["AF","AF"],["B4","B4"],["B8","B8"],["2C2","2C5"],["2D2","2DF"],["2E5","2EB"], -["2ED","2ED"],["2EF","2FF"],["375","375"],["384","385"],["1FBD","1FBD"],["1FBF","1FC1"],["1FCD","1FCF"],["1FDD","1FDF"],["1FED","1FEF"],["1FFD","1FFE"],["309B","309C"],["A700","A716"],["A720","A721"],["A789","A78A"],["FBB2","FBC1"],["FF3E","FF3E"],["FF40","FF40"],["FFE3","FFE3"]],Sm:[["2B","2B"],["3C","3E"],["7C","7C"],["7E","7E"],["AC","AC"],["B1","B1"],["D7","D7"],["F7","F7"],["3F6","3F6"],["606","608"],["2044","2044"],["2052","2052"],["207A","207C"],["208A","208C"],["2118","2118"],["2140","2144"], -["214B","214B"],["2190","2194"],["219A","219B"],["21A0","21A0"],["21A3","21A3"],["21A6","21A6"],["21AE","21AE"],["21CE","21CF"],["21D2","21D2"],["21D4","21D4"],["21F4","22FF"],["2308","230B"],["2320","2321"],["237C","237C"],["239B","23B3"],["23DC","23E1"],["25B7","25B7"],["25C1","25C1"],["25F8","25FF"],["266F","266F"],["27C0","27C4"],["27C7","27E5"],["27F0","27FF"],["2900","2982"],["2999","29D7"],["29DC","29FB"],["29FE","2AFF"],["2B30","2B44"],["2B47","2B4C"],["FB29","FB29"],["FE62","FE62"],["FE64", -"FE66"],["FF0B","FF0B"],["FF1C","FF1E"],["FF5C","FF5C"],["FF5E","FF5E"],["FFE2","FFE2"],["FFE9","FFEC"],["1D6C1","1D6C1"],["1D6DB","1D6DB"],["1D6FB","1D6FB"],["1D715","1D715"],["1D735","1D735"],["1D74F","1D74F"],["1D76F","1D76F"],["1D789","1D789"],["1D7A9","1D7A9"],["1D7C3","1D7C3"],["1EEF0","1EEF1"]],So:[["A6","A6"],["A9","A9"],["AE","AE"],["B0","B0"],["482","482"],["60E","60F"],["6DE","6DE"],["6E9","6E9"],["6FD","6FE"],["7F6","7F6"],["9FA","9FA"],["B70","B70"],["BF3","BF8"],["BFA","BFA"],["C7F", -"C7F"],["D79","D79"],["F01","F03"],["F13","F13"],["F15","F17"],["F1A","F1F"],["F34","F34"],["F36","F36"],["F38","F38"],["FBE","FC5"],["FC7","FCC"],["FCE","FCF"],["FD5","FD8"],["109E","109F"],["1390","1399"],["1940","1940"],["19DE","19FF"],["1B61","1B6A"],["1B74","1B7C"],["2100","2101"],["2103","2106"],["2108","2109"],["2114","2114"],["2116","2117"],["211E","2123"],["2125","2125"],["2127","2127"],["2129","2129"],["212E","212E"],["213A","213B"],["214A","214A"],["214C","214D"],["214F","214F"],["2195", -"2199"],["219C","219F"],["21A1","21A2"],["21A4","21A5"],["21A7","21AD"],["21AF","21CD"],["21D0","21D1"],["21D3","21D3"],["21D5","21F3"],["2300","2307"],["230C","231F"],["2322","2328"],["232B","237B"],["237D","239A"],["23B4","23DB"],["23E2","23F3"],["2400","2426"],["2440","244A"],["249C","24E9"],["2500","25B6"],["25B8","25C0"],["25C2","25F7"],["2600","266E"],["2670","26FF"],["2701","2767"],["2794","27BF"],["2800","28FF"],["2B00","2B2F"],["2B45","2B46"],["2B50","2B59"],["2CE5","2CEA"],["2E80","2E99"], -["2E9B","2EF3"],["2F00","2FD5"],["2FF0","2FFB"],["3004","3004"],["3012","3013"],["3020","3020"],["3036","3037"],["303E","303F"],["3190","3191"],["3196","319F"],["31C0","31E3"],["3200","321E"],["322A","3247"],["3250","3250"],["3260","327F"],["328A","32B0"],["32C0","32FE"],["3300","33FF"],["4DC0","4DFF"],["A490","A4C6"],["A828","A82B"],["A836","A837"],["A839","A839"],["AA77","AA79"],["FDFD","FDFD"],["FFE4","FFE4"],["FFE8","FFE8"],["FFED","FFEE"],["FFFC","FFFD"],["10137","1013F"],["10179","10189"],["10190", -"1019B"],["101D0","101FC"],["1D000","1D0F5"],["1D100","1D126"],["1D129","1D164"],["1D16A","1D16C"],["1D183","1D184"],["1D18C","1D1A9"],["1D1AE","1D1DD"],["1D200","1D241"],["1D245","1D245"],["1D300","1D356"],["1F000","1F02B"],["1F030","1F093"],["1F0A0","1F0AE"],["1F0B1","1F0BE"],["1F0C1","1F0CF"],["1F0D1","1F0DF"],["1F110","1F12E"],["1F130","1F16B"],["1F170","1F19A"],["1F1E6","1F202"],["1F210","1F23A"],["1F240","1F248"],["1F250","1F251"],["1F300","1F320"],["1F330","1F335"],["1F337","1F37C"],["1F380", -"1F393"],["1F3A0","1F3C4"],["1F3C6","1F3CA"],["1F3E0","1F3F0"],["1F400","1F43E"],["1F440","1F440"],["1F442","1F4F7"],["1F4F9","1F4FC"],["1F500","1F53D"],["1F540","1F543"],["1F550","1F567"],["1F5FB","1F640"],["1F645","1F64F"],["1F680","1F6C5"],["1F700","1F773"]],Z:"Zl|Zp|Zs",Zl:[["2028","2028"]],Zp:[["2029","2029"]],Zs:[["20","20"],["A0","A0"],["1680","1680"],["180E","180E"],["2000","200A"],["202F","202F"],["205F","205F"],["3000","3000"]],"~i":[["3A","3A"],["41","5A"],["5F","5F"],["61","7A"],["C0", -"D6"],["D8","F6"],["F8","2FF"],["370","37D"],["37F","1FFF"],["200C","200D"],["2070","218F"],["2C00","2FEF"],["3001","D7FF"],["F900","FDCF"],["FDF0","FFFD"],["10000","EFFFF"]],"~c":[["2D","2E"],["30","3A"],["41","5A"],["5F","5F"],["61","7A"],["B7","B7"],["C0","D6"],["D8","F6"],["F8","37D"],["37F","1FFF"],["200C","200D"],["203F","2040"],["2070","218F"],["2C00","2FEF"],["3001","D7FF"],["F900","FDCF"],["FDF0","FFFD"],["10000","EFFFF"]],w:"Ll|Lm|Lo|Lt|Lu|Mc|Me|Mn|Nd|Nl|No|Sc|Sk|Sm|So"},wa={"http://www.w3.org/2005/xpath-functions":{QName:[2], -abs:[1],"accumulator-after":[1],"accumulator-before":[1],"adjust-date-to-timezone":[1,2],"adjust-dateTime-to-timezone":[1,2],"adjust-time-to-timezone":[1,2],"analyze-string":[2,3],apply:[2],"available-environment-variables":[0],"available-system-properties":[0],avg:[1],"base-uri":[0,1],"boolean":[1],ceiling:[1],"codepoint-equal":[2],"codepoints-to-string":[1],"collation-key":[1,2],collection:[0,1],compare:[2,3],concat:[3],contains:[2,3],"contains-token":[2,3],"copy-of":[0,1],count:[1],current:[0], -"current-date":[0],"current-dateTime":[0],"current-group":[0],"current-grouping-key":[0],"current-merge-group":[0,1],"current-merge-key":[0],"current-output-uri":[0],"current-time":[0],data:[0,1],dateTime:[2],"day-from-date":[1],"day-from-dateTime":[1],"days-from-duration":[1],"deep-equal":[2,3],"default-collation":[0],"default-language":[0],"distinct-values":[1,2],doc:[1],"doc-available":[1],document:[1,2],"document-uri":[0,1],"element-available":[1],"element-with-id":[1,2],empty:[1],"encode-for-uri":[1], -"ends-with":[2,3],"environment-variable":[1],error:[0,1,2,3],"escape-html-uri":[1],"exactly-one":[1],exists:[1],"false":[0],filter:[2],floor:[1],"fold-left":[3],"fold-right":[3],"for-each":[2],"for-each-pair":[3],"format-date":[2,5],"format-dateTime":[2,5],"format-integer":[2,3],"format-number":[2,3],"format-time":[2,5],"function-arity":[1],"function-available":[1,2],"function-lookup":[2],"function-name":[1],"generate-id":[0,1],"has-children":[0,1],head:[1],"hours-from-dateTime":[1],"hours-from-duration":[1], -"hours-from-time":[1],id:[1,2],idref:[1,2],"implicit-timezone":[0],"in-scope-prefixes":[1],"index-of":[2,3],innermost:[1],"insert-before":[3],"iri-to-uri":[1],"json-doc":[1,2],"json-to-xml":[1,2],key:[2,3],lang:[1,2],last:[0],"load-xquery-module":[1,2],"local-name":[0,1],"local-name-from-QName":[1],"lower-case":[1],matches:[2,3],max:[1,2],min:[1,2],"minutes-from-dateTime":[1],"minutes-from-duration":[1],"minutes-from-time":[1],"month-from-date":[1],"month-from-dateTime":[1],"months-from-duration":[1], -name:[0,1],"namespace-uri":[0,1],"namespace-uri-for-prefix":[2],"namespace-uri-from-QName":[1],nilled:[0,1],"node-name":[0,1],"normalize-space":[0,1],"normalize-unicode":[1,2],not:[1],number:[0,1],"one-or-more":[1],outermost:[1],"parse-ietf-date":[1],"parse-json":[1,2],"parse-xml":[1],"parse-xml-fragment":[1],path:[0,1],position:[0],"prefix-from-QName":[1],put:[2],"random-number-generator":[0,1],"regex-group":[1],remove:[2],replace:[3,4],"resolve-QName":[2],"resolve-uri":[1,2],reverse:[1],root:[0, -1],round:[1,2],"round-half-to-even":[1,2],"seconds-from-dateTime":[1],"seconds-from-duration":[1],"seconds-from-time":[1],serialize:[1,2],"serialize-json":[1,2],snapshot:[0,1],sort:[1,3],"starts-with":[2,3],"static-base-uri":[0],"stream-available":[1],string:[0,1],"string-join":[1,2],"string-length":[0,1],"string-to-codepoints":[1],subsequence:[2,3],substring:[2,3],"substring-after":[2,3],"substring-before":[2,3],sum:[1,2],"system-property":[1],tail:[1],"timezone-from-date":[1],"timezone-from-dateTime":[1], -"timezone-from-time":[1],tokenize:[1,2,3],trace:[1,2],transform:[1],translate:[3],"true":[0],"type-available":[1],unordered:[1],"unparsed-entity-public-id":[1,2],"unparsed-entity-uri":[1,2],"unparsed-text":[1,2],"unparsed-text-available":[1,2],"unparsed-text-lines":[1,2],"upper-case":[1],"uri-collection":[0,1],"xml-to-json":[1,2],"year-from-date":[1],"year-from-dateTime":[1],"years-from-duration":[1],"zero-or-one":[1]},"http://www.w3.org/2005/xpath-functions/array":{append:[2],filter:[2],flatten:[1], -"fold-left":[3],"fold-right":[3],"for-each":[2],"for-each-pair":[3],get:[2],head:[1],"insert-before":[3],join:[1],remove:[2],reverse:[1],size:[1],sort:[1,2],subarray:[2,3],tail:[1]},"http://www.w3.org/2005/xpath-functions/map":{contains:[2],entry:[2],"for-each":[2],get:[2],keys:[1],merge:[1],put:[3],remove:[2],size:[1]},"http://www.w3.org/2005/xpath-functions/math":{acos:[1],asin:[1],atan:[1],atan2:[2],cos:[1],exp:[1],exp10:[1],log:[1],log10:[1],pi:[0],pow:[2],sin:[1],sqrt:[1],tan:[1]},"http://www.w3.org/2001/XMLSchema":{numeric:[1], -string:[1],"boolean":[1],duration:[1],dateTime:[1],date:[1],time:[1],gYearMonth:[1],gMonth:[1],gMonthDay:[1],gYear:[1],gDay:[1],hexBinary:[1],base64Binary:[1],anyURI:[1],QName:[1],untypedAtomic:[1],decimal:[1],"float":[1],"double":[1],integer:[1],nonPositiveInteger:[1],negativeInteger:[1],"long":[1],"int":[1],"short":[1],"byte":[1],nonNegativeInteger:[1],positiveInteger:[1],unsignedLong:[1],unsignedInt:[1],unsignedShort:[1],unsignedByte:[1],yearMonthDuration:[1],dayTimeDuration:[1],dateTimeStamp:[1], -normalizedString:[1],token:[1],language:[1],Name:[1],NMTOKEN:[1],NCName:[1],ID:[1],IDREF:[1],ENTITY:[1],NMTOKENS:[1],ENTITIES:[1],IDREFS:[1],error:[1]},"http://saxonica.com/ns/interactiveXSLT":{apply:[2],call:[3],contains:[2],eval:[1],event:[0],get:[2],location:[0],page:[0],"query-params":[0],source:[0],style:[1],window:[0]}},xa={accept:{},accumulator:{},"accumulator-rule":{},"analyze-string":{},"apply-imports":{},"apply-templates":{},assert:{},attribute:{},"attribute-set":{},"break":{},"call-template":{}, -"catch":{},"character-map":{},choose:{},comment:{},"context-item":{},copy:{},"copy-of":{},"decimal-format":{},document:{},element:{},evaluate:{},expose:{},fallback:{},"for-each":{},"for-each-group":{},fork:{},"function":{},"global-context-item":{},"if":{},"import":{},include:{},iterate:{},key:{},map:{},"map-entry":{},"matching-substring":{},merge:{},"merge-action":{},"merge-key":{},"merge-source":{},message:{},mode:{},namespace:{},"namespace-alias":{},"next-iteration":{},"next-match":{},"non-matching-substring":{}, -number:{},"on-completion":{},"on-empty":{},"on-non-empty":{},otherwise:{},output:{},"output-character":{},override:{},"package":{},param:{},"perform-sort":{},"preserve-space":{},"processing-instruction":{},"result-document":{},sequence:{},sort:{},"source-document":{},"strip-space":{},stylesheet:{},template:{},text:{},transform:{},"try":{},"use-package":{},"value-of":{},variable:{},when:{},"where-populated":{},"with-param":{}};var ya=function(){var a;return{getPlatform:function(){return a},setPlatform:function(b){a=b},gj:function(b,h,A,P,q){return a.addMultipleDocs(b,h,A,P,q)},createDocument:function(){return a.createDocument()},ei:function(){return a.getDefaultDeliverMessage()},inBrowser:function(){return a.inBrowser()},isHTMLElement:function(b){return a.isHTMLElement(b)},makeBuffer:function(b,h){return a.makeBuffer(b,h)},makeHttpRequest:function(b,h,A,P){return a.makeHttpRequest(b,h,A,P)},parseXmlFromString:function(b, -h,A){return a.parseXmlFromString(b,h,A)},readFile:function(b,h){return a.readFile(b,h)},resource:function(b){return a.resource(b)},resourcePromise:function(b){return a.resourcePromise(b)},resolveUri:function(b,h){return a.resolveUri(b,h)},Qa:function(b){return a.saxonPrint(b)},newURL:function(b,h){return a.newURL(b,h)},fileURL:function(b){return a.fileURL(b)},baseURL:function(){return a.baseURL()},systemProperties:function(){return{version:"3.0",vendor:"Saxonica","vendor-url":"http://www.saxonica.com/", -"product-name":"SaxonJS","product-version":"2.7","is-schema-aware":"no","supports-serialization":"yes","supports-backwards-compatibility":"yes","supports-namespace-axis":"yes","supports-streaming":"no","supports-dynamic-evaluation":"yes","supports-higher-order-functions":"yes","xpath-version":"3.1","xsd-version":"1.1"}},extraProperties:function(){return a.extraProperties},toUTF8:function(b){return a.toUTF8(b)},fromUTF8:function(b){return a.fromUTF8(b)},Ij:function(){return a.globalObject}}}();function za(a,b){function h(A,P){for(;A;){if(A[P])return A[P];A=A.parentNode}return null}a.xsltLineNr=h(b,"line");a.xsltModule=h(b,"module")} -class J extends Error{constructor(a="SaxonJS run-time error",b="FORG0001",h=null){super();this.name="XError";this.message=a;this.code=b;h&&za(this,h)}toString(){return this.name+":"+this.message+"; code:"+this.code}getStackTrace(){return null.getStackTrace()}getMessage(){let a="Error "+this.code;null!=this.xsltLineNr&&(a+=" at "+this.xsltModule+"#"+this.xsltLineNr);return a+="\n "+this.message}Ad(){return this.code}}oa=J.prototype;oa.code=null;oa.errorObject=null;oa.xsltLineNr=null; -oa.xsltModule=null;oa.Le=!1;const Aa=function(){function a(e){P("Internal error: "+e+"\n"+Error().stack);throw new J("Internal error: "+e,"SXJS0004");}function b(e){if(null===e)return"#null";if("undefined"===typeof e)return"#undefined";let l;if(e.showValue)return e.showValue();if(e.N)return"expression "+e.N;if(q&&q.Q(e)){if(q.ke(e))return"attribute @"+e.name+"='"+e.value+"'";if(q.Cd(e))return"ns:"+e.prefix+"="+e.q;l={1:"element <"+e.tagName+">",2:"attribute @"+e.name,3:"text:"+(e.nodeValue?e.nodeValue.substring(0,8):"''"),7:"pi: "+ -e.target+"("+e.tagName+")",8:"comment ("+e.nodeValue+")",9:"document "+(e._saxonDocumentNumber?"#"+e._saxonDocumentNumber:"(No nr / #0)"),11:"docFrag"}[e.nodeType];if("9"===e.nodeType||"11"===e.nodeType){var z;for(z=0;z"+b(e.childNodes[z])}return l}if(e.code)return"atomic:"+e.code+"('"+e.toString()+"')";if("object"===typeof e&&"length"in e){if(1===e.length)return b(e[0]);l="(";for(z=0;zz;z++)0!==z&&(l+=","),l+=b(e[z]);4<=e.length&&(l+=",...("+e.length+")"); -return l+")"}return"function"===typeof e?e.toString():"("+typeof e+") "+e}function h(e){return"{'N':'"+e.N+"','C':["+(e.C||[]).map(l=>h(l)).join(",")+"]}"}function A(e,l){for(;e;){if(e[l])return e[l];e=e.parentNode}return null}function P(e,l=1,z){let v=g;z&&(v=z);l<=v&&ya.getPlatform().saxonPrint(e)}let q,g=1;Error.stackTraceLimit=100;return{ba:function(e,l="assertion failed"){e||a(l)},fa:a,location:function(e){return A(e,"module")+"#"+A(e,"line")},pk:function(e){q=e},Qa:P,showValue:b,Ji:function(e){return e.showValue? -e.showValue():q&&q.Q(e)?b(e):e.code?"atomic:"+e.code+"('"+e.toString()+"')":e.Cj?e.toString():"("+typeof e+") "+e},yk:function(e){if(!e)return"null expr";let l=e.N||"?";for(let z in e)e.hasOwnProperty(z)&&!["C","N","parentNode","ELAB","PUSH"].includes(z)&&(l+=" "+z+"="+e[z]);e.C&&(l+=" ("+e.C.map(z=>z.N).join(",")+")");return l+=" at "+this.location(e)},hm:h,getLogLevel:function(){return g},setLogLevel:function(e){"number"==typeof e&&(g=e)}}}();function Da(a){return a.replace(/[ \n\r\t]+/g," ").replace(/^[ ]|[ ]$/g,"")}function Ea(a){if(32>a&&![9,10,13].includes(a)||55295a||65533a||1114111a?-1:0===a?0:1}return a65535b.codePointAt(0))}function Ja(a){return String.fromCodePoint(...a.map(Ea))}class La{};var Ma=function(){function a(){null===h&&(h=ya.resource("regexCategories"));return h}function b(g,e,l=null,z=null){function v(x,E){function B(V){for(V=V.toString(16);4>V.length;)V="0"+V;return"\\u"+(A&&4=aa&&V.push([aa,ja])}w=w[w.length-1][1];(A||65535>w)&&V.push([w+1,A?1114111:65535])}w="";for(M=0;MV[M][1])w+=B(V[M][0]), -V[M][1]>V[M][0]&&(w+="-"+B(V[M][1]));V=w;ha||(V="["+V+"]");return V}function H(V){return V.sort(function(ha,w){return ha[0]-w[0]})}function S(V,ha,w,M){var aa=[];Array.isArray(V)||p("Ranges must be array");V.forEach(function(ja){aa.push([parseInt(ja[0],16),parseInt(ja[1],16)])});w&&M&&H(aa);return L(aa,ha,w)}var C=x.charAt(E+1);0>"nrt\\|.-^?*+{}()[]pPsSiIcCdDwW$".indexOf(C)&&(0!==m||!/[0-9]/.test(C))&&p("\\"+C+" is not allowed in XPath regular expressions");switch(C){case "p":case "P":var Z=x.indexOf("}", -E);x=x.substring(E+3,Z);G("x")&&(x=x.replace(/[ \n\r\t]+/g,""));var K=a();(E=K[x])||p("Unknown category "+x);if(1===x.length){var X=[];E.split("|").forEach(function(w){X=X.concat(K[w])})}else X=E;I+=S(X,0=n&&/[0-9]/.test(x.charAt(E+2))&&(I+="(?:)"),E++):(I+="\\"+C,E++)}return{lk:I,i:E}}function G(x){return 0<=e.indexOf(x)}function p(x){throw new J("Invalid XPath regular expression: "+x,"FORX0002");}let f=0;e=e?e.toString():"";if(!A&&l&&Ha(l))throw new J("Cannot handle non-BMP characters with regular expressions in this browser", -"SXJS0002");l=(G("i")?"i":"")+(G("m")?"m":"")+(G("g")?"g":"")+(A?"u":"");if(G("j"))return new RegExp(g,e.replace("j",""));if(G("q"))return new RegExp(g.replace(/[\[\]\/\{\}\(\)\*\+\?\.\\^$|]/g,"\\$&"),l);let I="";const D=[[58,58],[65,90],[95,95],[97,122],[192,214],[216,246],[248,767],[880,893],[895,8191],[8204,8205],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],r=[[45,46],[48,58],[65,90],[95,95],[97,122],[183,183],[192,214],[216,246],[248,893],[895,8191],[8204, -8205],[8255,8256],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],c=[],d=[];let n=1,m=0,u=!1;var Q=!1;for(var ma=0;maQ||!/^[0-9]+(,[0-9]*)?$/.test(g.substring(ma+1,Q)))&&p("Invalid quantifier {"+g.substring(ma+1,Q+1)),Q=!1);I+=x;break;case " ":case "\n":case "\r":case "\t":if(!G("x")||0=this.value.length)return this.value;let a=this.g;const b=this.value.length;if(0===a&&0b+h.toString(16).padStart(2,"0"),"").toUpperCase()} -class bb extends Ra{constructor(a,b="AX"){super(b);if(!(a instanceof Uint8Array))throw new J("Uint8Array expected");this.value=a}b(){return/^A[X2]$/}toString(){if("AX"===this.code)var a=ab(this.value);else{{a=this.value;var b=0;let g=0,e=[];if(0===a.length)a="";else{do{var h=a[b++];var A=a[b++];var P=a[b++];var q=h<<16|A<<8|P;h=q>>18&63;A=q>>12&63;P=q>>6&63;q&=63;e[g++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(h)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(A)+ -"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(P)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(q)}while(bh===b[A])}return Za(this.code, -a.code)}hashCode(){return(new Ya(ab(this.value.slice(0,8)))).hashCode()}matchKey(){return("AX"===this.code?"h":"i")+this.toString()}} -class Va extends Ta{constructor(a,b="AO"){super(b);this.value=a;"number"!==typeof a&&Aa.fa("type of value supplied to XdmDouble is not number: "+typeof a)}b(){return/^A[OF]$/}toString(){if(0===this.value)return 0>1/this.value?"-0":"0";if(this.value===Number.POSITIVE_INFINITY)return"INF";if(this.value===Number.NEGATIVE_INFINITY)return"-INF";var a=this.value,b=Math.abs(a);if(1E6<=b||1E-6>b){b=a.toExponential();const h=b.indexOf("e");a=b.substring(0,h);b=b.substring(h+1);"AF"===this.code&&(a=parseFloat(a), -a=(0>a?a-5E-8:a+5E-8).toString(),a=a.substring(0,a.indexOf(".")+8),a=a.replace(/\.?0+$/,""));a.includes(".")||(a+=".0");return a+"E"+b.replace("+","")}return"AF"===this.code&&0!==a%1?(b=(0>a?a-5E-8:a+5E-8).toString(),b=b.substring(0,b.indexOf(".")+6),b.replace(/0+$/,"")):a.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?(a=a.toNumber(),"AF"===this.code&&Math.fround&&(a=Math.fround(a)),this.valuethis.value?"-INF":"INF"}matchKey(){return"n"+this.hashCode()}toNumber(){return this.value}toDouble(){return this}abs(){return new Va(Math.abs(this.value),this.code)}tf(){return new Va(-this.value,this.code)}mg(){return new Va(Math.ceil(this.value),this.code)}floor(){return new Va(Math.floor(this.value), -this.code)}round(a){0===a?a=Math.round(this.value):(a=Math.pow(10,-a),a*=Math.round(this.value/a));return new Va(a,this.code)}wf(a){return isFinite(this.value)?(a=(new db(qa(this.value))).wf(a),0===a.toNumber()&&0>this.value&&(a=Sa.XS.double.fromString("-0")),Sa.codes[this.code].I(a)):this}} -class cb extends Ta{constructor(a){super("ADI");"number"!==typeof a&&Aa.fa("type of value supplied to XdmInteger is not number: "+typeof a);this.value=a}b(){return/^ADI/}toString(){return this.value.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?this.value-a.toNumber():Za(this.code,a.code)}hashCode(){return $a(this.value)}Qg(a){return a instanceof Va||a instanceof cb?this.value===a.value:a instanceof db?Sa.XS.$a.I(this).equals(a):!1}matchKey(){return"n"+this.hashCode()}toDouble(){return new Va(this.value)}toNumber(){return this.value}toBig(){return new qa(this.value)}abs(){return new cb(Math.abs(this.value))}tf(){return new cb(-this.value)}mg(){return this}floor(){return this}round(a){return 0> -a?(a=Math.pow(10,-a),new cb(Math.round(this.value/a)*a)):this}wf(a){return 0>a?(a=Math.pow(10,-a),new cb(parseInt(qa(this.value).Ib(a,100,2).round(0,2).times(a),10))):this}} -class db extends Ta{constructor(a,b="AD"){super(b);this.value=new qa(a)}b(){return/^AD/}toString(){return this.value.toFixed()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a instanceof db?this.value.eb(a.value):/^AD/.test(a.code)?this.value.eb(a.toBig()):a.isNumeric()?this.value.eb(new qa(a.toDouble())):Za(this.code,a.code)}hashCode(){const a=this.value;return a.sf(qa(1)).qj()&&a.abs().$j()?this.toNumber().toString(36):this.toString().substring(0,8)}Qg(a){return a instanceof Va||a instanceof -cb?0===this.compareTo(Sa.XS.$a.I(a)):a instanceof db?0===this.compareTo(a):!1}matchKey(){return"n"+this.hashCode()}toBig(){return this.value}toDouble(){return new Va(parseFloat(this.value.toFixed()))}toNumber(){return parseFloat(this.value.toFixed())}abs(){return new db(this.value.abs(),this.code)}tf(){var a=qa(this.value);a.ha=-a.ha;return new db(a,"AD"===this.code?"AD":"ADI")}mg(){return new db(this.value.round(0,0>this.value.ha?0:3),this.code)}floor(){return new db(this.value.round(0,0>this.value.ha? -3:0),this.code)}round(a){function b(q,g){q=new qa(q);q.e+=g;return q}let h=this.value,A=0;0>a&&(A=a,a=0,h=b(h,A));const P=0a?(a=qa(10).pow(-a),a=this.value.Ib(a,100,2).round(0,2).times(a)):a=this.value.round(a,2);return new db(a,"AD"===this.code?"AD":"ADI")}} -class eb extends Ra{constructor(a){super("AB");"boolean"!==typeof a&&Aa.fa("type of value supplied to XdmBoolean is not boolean: "+typeof a);this.value=a}b(){return/^AB$/}toString(){return this.value.toString()}toBoolean(){return this.value}compareTo(a){return a instanceof eb?(this.value?1:0)-(a.value?1:0):Za(this.code,a.code)}equals(a){return 0===this.compareTo(a)}hashCode(){return this.value.toString()}matchKey(){return"b"+this.toString()}} -class fb extends Ra{constructor(a,b,h){super("AQ");this.prefix=a=a?a:"";this.q=b?b:"";this.local=h;if(""!==a&&!Ma.isNCName(a))throw new J("Invalid prefix: '"+a+"'","FORG0001");if(!Ma.isNCName(h))throw new J("Invalid local name: '"+h+"' (prefix='"+a+"', uri='"+b+"')","FORG0001");}b(){return/^AQ$/}toEQName(){return"Q{"+this.q+"}"+this.local}toString(){return(0a?"-":"+")+(100+Math.floor(b/60)).toString().substring(1)+":"+(100+b%60).toString().substring(1)}return 0===a?"Z":""} -function kb(a,b){if(b instanceof lb&&(b.code.startsWith(a.code)||a.code.startsWith(b.code)))return+a.ya.getTime()-b.ya.getTime();Za(a.code,b.code)}function mb(a,b){return Sa.XS.dateTime.fromDate(new Date(a.ya.getTime()+6E4*b),a.ta)} -function nb(a,b){let h=a.toString(),A=parseInt(h.substring(5,7),10),P=parseInt(h.substring(8,10),10),q=parseInt(h.substring(0,4),10)+Math.floor((A+b-1)/12),g=0>q;b=(A+b-1)%12+1;for(0>=b&&(b+=12);!Sa.Xj([q,b,P,0,0,0]);)--P;return Sa.codes[a.code].fromString((g?"-"+(1E4+-q).toString().substring(1):(1E4+q).toString().substring(1))+"-"+(100+b).toString().substring(1)+"-"+(100+P).toString().substring(1)+h.substring(10))} -class lb extends Ra{constructor(a,b,h="AM"){super(h);this.ya=a;this.ta=b;a instanceof Date||Aa.fa("type of UTCdate supplied to XdmDateTime is not Date");b&&"number"!==typeof b&&Aa.fa("type of value for timezone offset supplied to XdmDateTime is not number: "+typeof b)}b(){return/^A([AGHIJKMT]|MP)$/}toString(){const a=ib(this,gb(this).toISOString()),b="-"===a.charAt(0)?1:0;return function(h){switch(h){case "AM":case "AMP":return a;case "AA":return a.substring(0,10+b);case "AT":return a.substring(11+ -b);case "AH":return a.substring(0,7+b);case "AG":return a.substring(0,4+b);case "AJ":return"-"+a.substring(4+b,10+b);case "AI":return"-"+a.substring(4+b,7+b);case "AK":return"--"+a.substring(7+b,10+b);default:throw"type not recognised "+h;}}(this.code)+jb(this)}compareTo(a){(/^A[GHIJK]/.test(this.code)||/^A[GHIJK]/.test(a.code))&&Za(this.code,a.code);return kb(this,a)}equals(a){return 0===kb(this,a)}hashCode(){return $a(this.ya.getTime()-1454346732296)}matchKey(){return"t"+this.hashCode()}} -function qb(a){function b(A,P){P.forEach(function(q){1E3!==q?(h.push(Math.floor(A/q)),A%=q):h.push(A/q)})}let h=[];b(Math.abs(a.Ha),[12,1]);b(Math.abs(a.Ca),[864E5,36E5,6E4,1E3]);return h}function rb(a){a=a.Ha+a.Ca;return 0>a?-1:0b||0>a&&0b?"-P":"P",qb(this).forEach(function(h,A){3===A&&(a+="T");0!==h&&(6===A?a+=h/1E3+"S":a+=h+"YMDHMS".split("")[A])}), -a=a.replace(/T$/,""));return a}compareTo(a){if(a instanceof sb){if(Sa.XS.yearMonthDuration.matches(this)&&Sa.XS.yearMonthDuration.matches(a))return this.Ha-a.Ha;if(Sa.XS.dayTimeDuration.matches(this)&&Sa.XS.dayTimeDuration.matches(a))return this.Ca-a.Ca;throw new J("Cannot compare durations that mix months and seconds","XPTY0004");}return Za(this.code,a.code)}equals(a){a instanceof sb||Za(this.code,a.code);return a instanceof sb&&this.Ha===a.Ha&&this.Ca===a.Ca}hashCode(){return this.Ha.toString()+ -":"+this.Ca.toString()}matchKey(){return"d"+this.hashCode()}}function $a(a){return Number.isInteger(a)&&Math.abs(a)U instanceof Ra&&U.code.startsWith(k),fc:function(U){T(U)||g(U.toString(),k);U.code=k;return U},fromString:function(U){return R.fc(t.fromString(U))},I:function(U){return R.fc(t.I(U))}}}function da(pa,k,F){const T=k.replace(/.$/,"");y(pa,k,T,F);const t=V[pa],R=ha[T];t.fromString=function(U){/INF|NaN/.test(U)&&g(U,k,null,"FOCA0002");return t.fc(R.fromString(U))};t.fromNumber=function(U){U= -R.fromNumber(U);const ia=U.toNumber();isFinite(ia)||g(U.toString(),k,null,"FOCA0002");F(U)||g(U.toString(),k);U.code=k;return U}}function W(pa,k,F,T){const t=k.replace(/.$/,"");y(pa,k,t,F);const R=ha[k],U=ha[t];R.fc=function(ia){ia=T(ia.toString());F(ia)||g(ia,k);return new Ya(ia,k)};R.fromString=function(ia){return R.fc(U.fromString(T(ia)))}}function ka(pa,k,F){y(pa,k,"AR",F);const T=V[pa];T.fc=function(t){if(t instanceof sb)return new sb("ARY"===k?t.Ha:0,"ARD"===k?t.Ca:0,k);F(t)||g(t.toString(), -k);t.code=k;return t};T.Jb=function(t,R){return T.fc(Z.Jb(t,R))};T.I=function(t){return Z.matches(t)?T.fc(t):Y.string.matches(t)||Y.untypedAtomic.matches(t)?r(t.toString(),k):T.fc(Z.I(t))}}function ea(pa,k){return function(F){F=F.toNumber();return F>=pa&&F<=k}}for(var va in V){const pa=V[va];ha[pa.code]=pa}v("gYear","AG");v("gYearMonth","AH");v("gMonth","AI");v("gMonthDay","AJ");v("gDay","AK");da("nonPositiveInteger","ADIN",pa=>0>=pa.toNumber());da("negativeInteger","ADINN",pa=>0>pa.toNumber());da("long", -"ADIL",function(pa){pa=pa.toBig();return 0<=pa.eb(qa("-9223372036854775808"))&&0>=pa.eb(qa("9223372036854775807"))});da("int","ADILI",ea(-2147483648,2147483647));da("short","ADILIS",ea(-32768,32767));da("byte","ADILISB",ea(-128,127));da("nonNegativeInteger","ADIP",pa=>0<=pa.toNumber());da("positiveInteger","ADIPP",pa=>0=pa.toBig().eb(qa("18446744073709551615"))});da("unsignedInt","ADIPLI",function(pa){return 0<=pa.toNumber()&& -0>=pa.toBig().eb(qa("4294967295"))});da("unsignedShort","ADIPLIS",ea(0,65535));da("unsignedByte","ADIPLISB",ea(0,255));va=()=>!0;W("normalizedString","ASN",va,pa=>pa.replace(/[ \r\t\n]/g," "));W("token","ASNT",va,Da);W("language","ASNTL",pa=>/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/.test(pa),Da);W("NMTOKEN","ASNTK",Ma.Tj,Da);W("Name","ASNTN",Ma.Uj,Da);W("NCName","ASNTNC",Ma.isNCName,Da);W("ID","ASNTNCI",Ma.isNCName,Da);W("IDREF","ASNTNCR",Ma.isNCName,Da);W("ENTITY","ASNTNCE",Ma.isNCName,Da);ka("yearMonthDuration", -"ARY",pa=>0===pa.Ca);ka("dayTimeDuration","ARD",pa=>0===pa.Ha);V.dayTimeDuration.Yh=function(pa){return new sb(0,6E4*pa,"ARD")};Y.Xb=V.language;Y.jh=V.NCName;Y.dayTimeDuration=V.dayTimeDuration;Y.yearMonthDuration=V.yearMonthDuration;Y.ci=V.gYearMonth;Y.bi=V.gYear;Y.ai=V.gMonthDay;Y.$h=V.gMonth;Y.Zh=V.gDay;a=function(){}}function b(y,da){return da?-y:y}function h(y,da){return da*(void 0===y?0:Math.round(1E3*parseFloat(y)))}function A(y,da){return da*(void 0===y?0:parseInt(y,10))}function P(y){return y.Ya&& -!["ADI","ARY","ARD"].includes(y.code)?P(y.Ya):y}function q(y,da){throw new J(`Casting from ${c(y.code)} to ${c(da)} is not allowed`,"XPTY0004");}function g(y,da,W=null,ka="FORG0001"){throw new J(`Supplied value "${y}" is not a valid ${c(da)}${W?` (${W})`:""}`,ka);}function e(y,da){y=Ma.trim(y);/.\.$/.test(y)&&(y+="0");if(/^[-+]?([0-9]+(\.[0-9]*)?|\.[0-9]+)([Ee][-+]?[0-9]+)?$/.test(y))return parseFloat(y);if(/^NaN$/.test(y))return NaN;if(/^-INF$/.test(y))return-Infinity;if(/^(\+)?INF$/.test(y))return Infinity; -da&&g(y,"AO");return NaN}function l(y){y=y.replace(/\s/g,"");/^(....)*$/.test(y)||g(y,"A2","length must be a multiple of 4");/^[A-Za-z0-9+/]*=?=?$/.test(y)||g(y,"A2","only [A-Za-z0-9+/] allowed, or '=' at the end");/^([^=]*|.*[AQgw]==|.*[AEIMQUYcgkosw048]=)$/.test(y)||g(y,"A2","invalid characters before '='");let da,W,ka=0,ea=[];if(0===y.length)return new Uint8Array(0);do{var va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++));var pa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++)); -da="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++));W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(y.charAt(ka++));var k=va<<18|pa<<12|da<<6|W;va=k>>16&255;pa=k>>8&255;k&=255;64===da?ea.push(va):64===W?ea.push(va,pa):ea.push(va,pa,k)}while(kaparseInt(da,16))):new Uint8Array(0)} -function v(y,da){V[y]=ha[da]={name:y,code:da,matches:W=>W instanceof lb&&W.code.startsWith(da),fromString:W=>I(W,da),fromDate:(W,ka)=>new lb(W,ka,da),I:W=>{if(W instanceof lb&&W.code.startsWith(da))return W;if(Y.dateTime.matches(W)||Y.Oc.matches(W)){const ka=ha[da];return ka.fromString(ka.fromDate(W.ya,W.ta).toString())}if(/^A[SZ]/.test(W.code))return I(W.value,da);q(W,da)}}}function G(y){if(-1!==y.indexOf(".",y.length-4)){y=y.split(".");let da=y[1];for(;3>da.length;)da+="0";y=y[0]+"."+da}return y} -function p(y){const da=y[0],W=y[1],ka=y[2],ea=y[3],va=y[4];y=y[5];return!(1>W||12ka||ka>[31,0!==da%4||0===da%100&&0!==da%400?28:29,31,30,31,30,31,31,30,31,30,31][W-1]||24<=ea||60<=va||60<=y)}function f(y,da){y=y.split(/[\-T:]/).map(function(ka){return parseFloat(ka)});const W=y[0];if(-9999>W||9999y[0]&&ea.setUTCFullYear(va);ea=""===ka?new Date(ea.getTime()+6E4*(new Date).getTimezoneOffset()):new Date(ea.getTime()-6E4*D(ka));return new lb(ea, -D(W[2]?W[2]:""),da)}function D(y){if(""===y)return null;if("Z"===y)return 0;var da=y.split(":");const W=/^-.*/.test(da[0]),ka=Math.abs(parseInt(da[0],10));da=parseInt(da[1],10);if(14Number.MAX_SAFE_INTEGER?new db(new qa(y),"ADI"):new cb(y)},ab:function(y){return new db(y,"ADI")},mm:function(y){return 0===y.value.sf(1)},I:function(y){switch(y.code.substring(0, -2)){case "AS":case "AZ":return Y.integer.fromString(y.toString());case "AF":case "AO":return Y.integer.fromNumber(y.toNumber());case "AD":return Y.integer.ab(y.toBig().round(0,0));case "AB":return Y.integer.fromNumber(y.toBoolean()?1:0);default:q(y,"AB")}},Al:function(y){return"number"===typeof y?Y.integer.fromNumber(y):"boolean"===typeof y?Y.integer.fromNumber(y?1:0):"string"===typeof y?Y.integer.fromString(y):Y.integer.fromString(y.toString())}},x={name:"numeric",code:"Anumeric",Wl:["double","decimal", -"float"],matches:function(y){return y instanceof Va||y instanceof cb||y instanceof db},I:function(y){if(Y.string.matches(y)||Y.untypedAtomic.matches(y))return Y.double.fromString(y.toString());if(Y.numeric.matches(y))return y;if(Y.boolean.matches(y))return Y.double.fromNumber(y.toBoolean()?1:0);q(y,"Anumeric")},Fd:function(y){const da=Y.double;if(null===y)return da.fromNumber(Number.NaN);if(Y.boolean.matches(y))return da.fromNumber(y.toBoolean()?1:0);if(Y.numeric.matches(y))return da.I(y);if(Y.string.matches(y)|| -Y.untypedAtomic.matches(y))try{return da.fromString(y.toString())}catch(W){return da.fromNumber(Number.NaN)}else return da.fromNumber(Number.NaN)}},E={name:"QName",code:"AQ",matches:function(y){return y instanceof fb},fromParts:function(y,da,W){return new fb(y,da,W)},fromString:function(y,da){y=Ma.trim(y);if("Q{"===y.substring(0,2))return Y.QName.fromEQName(y);Ma.ji(y)||g(y,"AQ");y=y.split(":");if(1===y.length)return Y.QName.fromParts("",da(""),y[0]);da=da(y[0]);if(null===da)throw new J("Undeclared prefix: "+ -y[0],"FONS0004");return Y.QName.fromParts(y[0],da,y[1])},fromEQName:function(y){var da=y.indexOf("{");const W=y.indexOf("}");if(!(-1===da&&-1===W||-1I+D,(I,D)=>I.xe(D))},"i-i":function(p,f){return Sa.Gg(p,f,(I,D)=>I-D,(I,D)=>I.te(D))},"i*i":function(p,f){return Sa.Gg(p,f,(I,D)=>I*D,(I,D)=>I.times(D))},"i/i":function(p,f){f.equals(Sa.XS.integer.fromNumber(0))&&h();p=p.toBig();f=f.toBig();return l.ab(p.Ib(f))}, -"i%i":function(p,f){var I=p.toNumber();const D=f.toNumber();if(!isFinite(I)||isNaN(D)||0===D)return 0===D&&h(),z.fromNumber(NaN);if(!isFinite(D)||0===I)return p;I=p.toNumber()%f.toNumber();isFinite(I)||h();return a(I)?z.fromNumber(I):z.ab(qa(p.toBig().sf(f.toBig())))},"i~i":function(p,f){const I=p.toNumber()/f.toNumber();isFinite(I)||h();return a(I)?z.fromNumber(Math.trunc(I)):z.ab(qa(p.toBig().Ib(f.toBig())).round(0,0))},"c+c":function(p,f){const I=p.toBig(),D=f.toBig();return b(p,f).ab(I.xe(D))}, -"c-c":function(p,f){const I=p.toBig(),D=f.toBig();return b(p,f).ab(I.te(D))},"c*c":function(p,f){const I=p.toBig(),D=f.toBig();return b(p,f).ab(I.times(D))},"c/c":function(p,f){try{const I=p.toBig(),D=f.toBig();return l.ab(I.Ib(D))}catch(I){h()}},"c%c":function(p,f){try{const I=p.toBig(),D=f.toBig();return l.ab(I.sf(D))}catch(I){h()}},"c~c":function(p,f){try{const I=p.toBig(),D=f.toBig(),r=I.Ib(D).round(0,0);return z.ab(r)}catch(I){h()}},"a+a":function(p,f){return q(p,f,"+")},"a-a":function(p,f){return q(p, -f,"-")},"a*a":function(p,f){return q(p,f,"*")},"a/a":function(p,f){return q(p,f,"/")},"a%a":function(p,f){return q(p,f,"%")},"a~a":function(p,f){return q(p,f,"~")},"u+u":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)&&I.matches(f)||D.matches(p)&&D.matches(f)||P(p,f,"+");return D.matches(p)?D.Jb(p.Ha+f.Ha,0):I.Jb(0,p.Ca+f.Ca)},"u-u":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)&&I.matches(f)||D.matches(p)&&D.matches(f)||P(p,f,"-");return D.matches(p)? -D.Jb(p.Ha-f.Ha,0):I.Jb(0,p.Ca-f.Ca)},"u*n":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)||D.matches(p)||P(p,f,"*");f=f.toNumber();if(!isFinite(f))throw new J("Cannot multiply duration by "+isNaN(f)?"NaN":"+/-INF",isNaN(f)?"FOCA0005":"FODT0002");return D.matches(p)?D.Jb(Math.round(p.Ha*f),0):I.Jb(0,Math.round(p.Ca*f))},"n*u":function(p,f){return tb["u*n"](f,p)},"u/n":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(p)||D.matches(p)||P(p,f,"/");f= -f.toNumber();0===f&&h("FODT0002");if(isNaN(f))throw new J("Cannot divide duration by NaN","FOCA0005");f=D.matches(p)?p.Ha/f:p.Ca/f;isFinite(f)||A("FODT0002");return D.matches(p)?D.Jb(Math.round(f),0):I.Jb(0,Math.round(f))},"u/u":function(p,f){var I=g.dayTimeDuration;const D=g.yearMonthDuration;I.matches(p)&&I.matches(f)||D.matches(p)&&D.matches(f)||P(p,f,"/");I=new qa(0);p=new qa(D.matches(p)?p.Ha:p.Ca);f=new qa(D.matches(f)?f.Ha:f.Ca);0===f.eb(I)&&h();try{return l.ab(p.Ib(f))}catch(r){A()}},"t+u":function(p, -f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(f)||D.matches(f)||P(p,f,"+");return I.matches(f)?Sa.codes[p.code].fromDate(new Date(p.ya.getTime()+f.Ca),p.ta):nb(p,f.Ha)},"u+t":function(p,f){return tb["t+u"](f,p)},"t-u":function(p,f){const I=g.dayTimeDuration,D=g.yearMonthDuration;I.matches(f)||D.matches(f)||P(p,f,"-");return I.matches(f)?Sa.codes[p.code].fromDate(new Date(p.ya.getTime()-f.Ca),p.ta):nb(p,-f.Ha)},"t-t":function(p,f){return g.dayTimeDuration.Jb(0,p.ya.getTime()-f.ya.getTime())}}; -return G}();function ub(a){function b(){function q(G){throw new J("In alphaCode '"+a+"' @ "+A+": "+G);}function g(G){const p=A>=a.length?-1:a.charAt(A++);p!==G&&q("Expected '"+G+"', found '"+p+"'")}function e(){let G=0,p=A;for(;Aa?this.current=this.b.next():0h)this.b.next(),a=this.b.ma();else if(0b)return this.current=this.b.next();0this.g)if(this.b instanceof Pb)this.g=this.b.expand().length;else{const a=[];let b;for(;null!==(b=this.b.next());)a.push(b);this.g=this.position+a.length;this.b=Pb(a)}return this.g}showValue(){return"Tracker of "+this.b.showValue()}} -class Qb extends Ab{constructor(a){super();this.current=a;this.position=1}next(){return null}last(){return 1}}class Rb extends Ab{constructor(a){super();this.b=a}next(){const a=this.b.next();return a.done?null:a.value}}class Sb extends Ab{constructor(a,b,h){super();this.b=a;this.g=h;for(this.l=1;!(this.l++>=b);)if(null==this.b.next()){this.g=Number.NEGATIVE_INFINITY;break}}next(){return this.l++<=this.g?this.b.next():null}}const Tb=new Fb;function Ub(a){return new Eb(a)} -function Vb(a){return new Ib(a)}function Wb(a){return new Qb(a)}function Xb(a){return new Ob(a)}function Pb(a){return new Gb(a)}function Yb(a){return new Eb(zb.string.fromString(a))}function Zb(a){return new Eb(zb.integer.fromNumber(a))}function $b(a){return new Eb(zb.double.fromNumber(a))}function ac(a){return new Eb(zb.$a.ab(a))}function bc(a){return new Eb(zb.boolean.fromBoolean(a))}var cc={};cc.Jk=Ab;cc.Qk=Mb;cc.Empty=Tb;cc.Rk=Fb;cc.Uk=Bb;cc.ForArray=Pb;cc.Vk=Gb;cc.Wk=Rb;cc.Zk=Lb;cc.$k=Vb; -cc.al=Ib;cc.bl=Nb;cc.fl=Db;cc.gl=Cb;cc.Singleton=Ub;cc.kl=Eb;cc.ll=Wb;cc.ml=Qb;cc.nl=Hb;cc.pl=Sb;cc.Tracker=Xb;cc.sl=Ob;cc.vl=Jb;cc.oneBoolean=bc;cc.bm=ac;cc.cm=$b;cc.dm=function(a){return new Eb(zb.float.fromNumber(a))};cc.oneInteger=Zb;cc.oneString=Yb;var dc={Jc:"http://www.w3.org/1999/XSL/Transform",za:"http://www.w3.org/2005/xpath-functions",qi:"http://www.w3.org/2005/xpath-functions/math",map:"http://www.w3.org/2005/xpath-functions/map",Ye:"http://www.w3.org/2005/xpath-functions/array",oc:"http://www.w3.org/XML/1998/namespace",ac:"http://www.w3.org/2001/XMLSchema",om:"http://www.w3.org/2001/XMLSchema-instance",sj:"http://www.w3.org/2005/xqt-errors",Yc:"http://saxonica.com/ns/interactiveXSLT",mi:"http://saxonica.com/ns/globalJS",ib:"http://saxon.sf.net/", -vj:"http://ns.saxonica.com/xslt/export",withPrefix:{xsl:"http://www.w3.org/1999/XSL/Transform",fn:"http://www.w3.org/2005/xpath-functions",math:"http://www.w3.org/2005/xpath-functions/math",map:"http://www.w3.org/2005/xpath-functions/map",array:"http://www.w3.org/2005/xpath-functions/array",xml:"http://www.w3.org/XML/1998/namespace",xs:"http://www.w3.org/2001/XMLSchema",xsi:"http://www.w3.org/2001/XMLSchema-instance",err:"http://www.w3.org/2005/xqt-errors",ixsl:"http://saxonica.com/ns/interactiveXSLT", -js:"http://saxonica.com/ns/globalJS",saxon:"http://saxon.sf.net/",ex:"http://ns.saxonica.com/xslt/export"},Zg:"http://ns.saxonica.com/anonymous-type"};var fc=function(){function a(q){return q?9===q.nodeType?q:a(q.ownerDocument):null}const b=Sa.XS;let h=1;const A={Lc:function(q){switch(q.nodeType){case 9:case 11:return Tb;case 2:return q.parent?new Hb(q.parent,g=>g.parentNode):Tb;default:return(q=q.parentNode)?new Hb(q,g=>g.parentNode):Tb}},Ka:function(q){return Vb([Ub(q),A.Lc(q)])},attribute:function(q){if(1===q.nodeType){const g=q.attributes,e=q.ownerDocument.documentElement&&ya.isHTMLElement(q.ownerDocument.documentElement),l=[];for(let z=0;z< -g.length;z++){const v=g[z].name;if("xmlns"!==v.substring(0,5)||5!==v.length&&":"!==v.charAt(5))e&&"xml:"===g[z].localName.substring(0,4)?l.push(new ec(b.QName.fromParts("xml",dc.oc,g[z].localName.substring(4)),g[z].value,q)):l.push(new ec(b.QName.fromParts(g[z].prefix,g[z].namespaceURI,g[z].localName),g[z].value,q))}return Pb(l)}return Tb},wa:function(q){function g(e){return new Hb(e.firstChild,l=>l.nextSibling)}if(null===q)return Tb;switch(q.nodeType){case 9:return g(q).filter(function(e){return!(7=== -e.nodeType&&"xml"===e.target||3===e.nodeType||4===e.nodeType)});case 11:case 1:return g(q);default:return Tb}},gf:function(q){return A.wa(q).mapOneToMany(function(g){return A.he(g)})},he:function(q){return Vb([Ub(q),A.gf(q)])},Vh:function(q){switch(q.nodeType){case 9:case 11:return Tb;case 2:case 13:return q=fc.Oa(q),null===q?Tb:Vb([A.gf(q),A.Vh(q)]);default:return A.Ka(q).mapOneToMany(function(g){return A.Wh(g).mapOneToMany(A.he)})}},Wh:function(q){switch(q.nodeType){case 9:case 11:case 2:case 13:return Tb; -default:return new Hb(q.nextSibling,g=>g.nextSibling)}},namespace:function(q){return 1===q.nodeType?Pb(fc.inScopeNamespaces(q).map(function(g){return new gc(g.prefix,g.q,q)})):Tb},parent:function(q){return Ub(fc.Oa(q))},Og:function(q){return A.Ka(q).mapOneToMany(function(g){return A.Dc(g).mapOneToMany(function(e){return Pb(A.he(e).expand().reverse())})})},Dc:function(q){switch(q.nodeType){case 9:case 11:case 2:case 13:return Tb;default:return new Hb(q.previousSibling,g=>g.previousSibling)}},xf:function(q){return Ub(q)}}, -P={va:A,Ch:{ancestor:A.Lc,"ancestor-or-self":A.Ka,attribute:A.attribute,child:A.wa,descendant:A.gf,"descendant-or-self":A.he,following:A.Vh,"following-sibling":A.Wh,namespace:A.namespace,parent:A.parent,preceding:A.Og,"preceding-sibling":A.Dc,self:A.xf},xc:a,ic:function(q){return A.Ka(q).expand().pop()},lc:function(q){q._saxonDocumentNumber||(q._saxonDocumentNumber=h++);return q},pj:function(q){return fc.lc(q)._saxonDocumentNumber},X:function(q){if(!q||!q.nodeType)return null;switch(q.nodeType){case 1:return b.QName.fromParts(q.prefix, -q.namespaceURI,q.localName);case 2:if("xml"===q.prefix)return b.QName.fromParts(q.prefix,dc.oc,q.localName);if(!q.nc)throw new J("ATTRIBUTE_NODE not local","SXJS0004");return q.nc;case 7:return b.QName.fromParts("","",q.target);case 13:return q.prefix?b.QName.fromParts("","",q.prefix):null;default:return null}},Jl:function(q,g){if(!q||!q.nodeType)return!1;switch(q.nodeType){case 1:case 2:return q.localName===g;case 7:return q.target===g;case 13:return q.prefix===g;default:return!1}},hasURI:function(q, -g){if(!q||!q.nodeType)return!1;switch(q.nodeType){case 1:return(q.namespaceURI||"")===g;case 2:return"xml"===q.prefix?dc.oc===g:q.namespaceURI===g;default:return""===g}},wc:function(q,g){let e=[];for(q=q.firstChild;null!==q;)1!==q.nodeType||g&&g!==q.tagName||e.push(q),q=q.nextSibling;return e},Fl:function(q,g){for(q=q.firstChild;null!==q;){if(1===q.nodeType&&(!g||g===q.tagName))return q;q=q.nextSibling}return null},Vc:function(q){const g=q.expand();if(1{fc.Q(v)? -(z=!1,fc.Oa(v)?e=!1:v._saxonDocumentNumber?e=!1:fc.lc(v)):l=!1});if(!l&&!z)throw new J("Cannot sort a sequence including both nodes and non-nodes","XPTY0018");e||z||g.sort(fc.fb);return Pb(g).mapOneToOne(function(v,G){return 0v?fc.fb(e,g):fc.fb(q,l)}},Oa:function(q){return fc.ke(q)?q.parent:q.parentNode},ff:function(q,g,e){hc(q,"http://www.w3.org/2000/xmlns/",""===g?"xmlns":"xmlns:"+g,e)},inScopeNamespaces:function(q,g=A.Ka){let e=[{prefix:"xml",q:dc.oc}],l={xml:!0};for(q=g(q);null!==(g=q.next());)if(1===g.nodeType){var z=fc.X(g);""===z.prefix&&""===z.q&&(l[""]=!0);g=g.attributes;for(z=0;zh(A))}toString(){return this.K instanceof Mc&&1===this.ca?"empty-sequence()": -this.K.toString()+gd(this.ca)}equals(a){return this.ea()===a.ea()}};class id{constructor(a){Array.isArray(a)||Aa.fa("XdmArray value must be an array. Supplied:"+a);this.value=a}get(a){if("number"!=typeof a)throw new J("Array subscript is not numeric","XPTY0004");if(1>a||a>this.value.length)throw new J("Array index ("+a+") out of bounds (1 to "+this.value.length+")","FOAY0001");return this.value[a-1]}evaluate(a){return Pb(this.value[a[0][0]-1])}size(){return this.value.length}showValue(){let a="[";for(let b=0;bb;b++)0!==b&&(a+=","),a+=Aa.showValue(this.value[b]); -4<=this.value.length&&(a+=",...("+this.value.length+")");return a+"]"}flatten(a){for(let b=0;b"dynamic call of "+this.jc());return z}convertResult(l){return Pb(ld.pg(l,this.ja,()=>"result of dynamic call of "+this.jc()))}Dg(){return new md(this.g,this.ja)}}class b extends a{constructor(l,z,v,G,p){super(l,v);this.name=z;this.evaluator=[dc.qi,dc.map,dc.Ye,dc.ib, -dc.Yc].includes(z.q)?ld.uj:ld.tj;this.z=G;if(l.defaultToDot&&0===v||["accumulator-after","accumulator-before","lang"].includes(z.local))this.x=p.getCurrentFocus()}Wb(){return this.name}evaluate(l,z,v){var G=this.Wb().local;if("current"===G)throw new J("current() function cannot be evaluated dynamically","XTDE1360");if("current-output-uri"===G)return Tb;if("regex-group"===G)return Yb("");let p=z;this.x&&(p=z.newContext(),p.focus=Wb(this.x));z=["string-length","normalize-space"].includes(G);const f= -this.jb.defaultToDot;G="number"===G;if((z||f||G)&&0===l.length){p.failIfNoCurrentFocus("XPDY0002",". (dot)");v=p.getCurrentFocus();if(z||G)v=ld.atomize(v).next();z&&(v=Sa.XS.string.I(v));l.push([v])}else l=this.b(l,v);return this.evaluator(this.Wb(),l,p,this.z)}}const h={NMTOKENS:"NMTOKEN",IDREFS:"IDREF",ENTITIES:"ENTITY"};class A extends a{constructor(l,z,v){super(l,1);this.name=z;if(l=h[z.local]){const G=Sa.type[l].fromString;Aa.ba(G);this.evaluate=p=>{p=this.b(p,v)[0][0].toString();p=Da(p).split(" "); -return Pb(p.map(G))}}else if("QName"===z.local){const G=ld.stylesheetResolver(v,!0);this.evaluate=p=>{p=this.b(p,v)[0][0].toString();return Ub(Sa.XS.QName.fromString(p,G))}}else{const G=Sa.type[z.local].I;Aa.ba(G);this.evaluate=p=>Ub(G(this.b(p,v)[0][0]))}}Wb(){return this.name}}class P extends a{constructor(l,z){super(l,l.alphaTree.a.length);this.z=l.componentBinding;this.x=z.fixed.xa[this.z];this.rc=ld.$(this.x.actor,"body");this.name=Sa.XS.QName.fromEQName(this.x.actor.name)}Wb(){return this.name}evaluate(l, -z,v){l=this.b(l,v);z=z.newContext(!0);z.clearGrouping();z.tempOutputState="function";z.currentMode={};z.currentTemplate=null;z.focus=null;z.currentComponent=this.x;for(v=0;v!0}T(){if(!this.b)if(this.z)this.b=wb(this.z);else return null;return this.b}ea(){if(!this.z)if(this.b)od(this,xb(this.b));else return null;return this.z}ka(a="A"){return this.T().p.startsWith(a)}isNumeric(){return qd(this)||/^A[ODF]/.test(this.T().p.substring(0))}Bd(){return/^F/.test(this.T().p)}Qj(){return!0}l(){return null}x(){return null}U(){return null}toString(){return this.ea()}equals(a){return this.ea()===a.ea()}} -class yc extends uc{constructor(){super();od(this,"");this.b={p:""}}ga(){return()=>!0}toString(){return"item()"}}var xc;const cd=new yc;class Ac extends uc{constructor(){super();od(this,"N");this.b={p:"N"}}ga(){return a=>fc.Q(a)}toString(){return"node()"}}var zc;class Cc extends uc{constructor(){super();od(this,"N u[NT,NP,NC,NE]");this.b={p:"N",u:[{p:"NT"},{p:"NP"},{p:"NC"},{p:"NE"}]}}ga(){return a=>fc.Q(a)&&[1,3,4,8,7].includes(a.nodeType)}toString(){return"node()"}}var Bc; -function rd(a){switch(a){case 9:return Nc;case 1:return Pc;case 2:return Qc;case 8:return Sc;case 3:case 4:return Rc;case 7:return Tc;case 13:return Uc;default:throw new J("Unknown node kind "+a);}}function sd(a){switch(a){case 1:return"NE";case 3:return"NT";case 2:return"NA";case 9:return"ND";case 8:return"NC";case 4:return"NT";case 7:return"NP";case 13:return"NN";case 0:return"N";default:throw new J("Unknown node kind "+a+" in NodeKindTest");}} -class Oc extends uc{constructor(a){super();this.Ba=a;a=sd(a);od(this,a);this.b={p:a}}ga(){switch(this.Ba){case 9:return a=>fc.Q(a)&&(9===a.nodeType||11===a.nodeType);case 3:case 4:return a=>fc.Q(a)&&(3===a.nodeType||4===a.nodeType);default:return a=>fc.Q(a)&&a.nodeType===this.Ba}}toString(){switch(this.Ba){case 9:return"document-node()";case 1:return"element(*)";case 2:return"attribute(*)";case 8:return"comment()";case 3:case 4:return"text()";case 7:return"processing-instruction()";case 13:return"namespace-node()"; -case 0:return"node()";default:throw new J("Unknown node kind "+this.Ba+" in NodeKindTest");}}}var Nc,Pc,Qc,Sc,Rc,Tc,Uc;class td extends Oc{constructor(a,b){super(a);this.name=b;a=sd(a);od(this,a+" n"+b.toEQName());this.b={p:a,n:b.toEQName()}}ga(){const a=this.name;return b=>{var h;if(h=fc.Q(b)&&b.nodeType===this.Ba)h=(b=fc.X(b))&&a.equals(b);return h}}toString(){return super.toString().replace(/\(\*?\)/,"("+this.T().n+")")}} -class ud extends Oc{constructor(a,b){super(a);this.localName=b;a=sd(a);od(this,a+" n*:"+b);this.b={p:a,n:"*:"+b}}ga(){return a=>fc.Q(a)&&a.nodeType===this.Ba&&fc.X(a).local===this.localName}toString(){return super.toString().replace(/\(\*?\)/,"(*:"+this.localName+")")}} -class vd extends Oc{constructor(a,b){super(a);this.q=b;a=sd(a);od(this,a+" nQ{"+b+"}*");this.b={p:a,n:"Q{"+b+"}*"}}ga(){return a=>fc.Q(a)&&a.nodeType===this.Ba&&fc.X(a).q===this.q}toString(){return super.toString().replace(/\(\*?\)/,"Q{"+this.q+"}*)")}}class wd extends Oc{constructor(a){super(9);this.g=a;od(this,"ND e["+a.ea()+"]");this.b={p:"ND",e:a.T()}}ga(){return a=>fc.Q(a)&&(9===a.nodeType||11===a.nodeType)&&this.g.ga()(a.firstChild)}toString(){return"document-node("+this.g.toString()+")"}} -class wc extends uc{constructor(a){super();this.Ic=a;od(this,a.code);this.b={p:a.code}}ga(){return a=>this.Ic.matches(a)}toString(){return"xs:"+this.Ic.name}}class Ec extends uc{constructor(){super();od(this,"A m[AO,AD,AF]");this.b={p:"A",m:[{p:"AO"},{p:"AD"},{p:"AF"}]}}ga(){return a=>/^A[ODF]/.test(a.code)}toString(){return"xs:numeric"}}var Dc;class Mc extends uc{ea(){return"E"}T(){return{p:"E"}}ga(){return()=>!1}toString(){return"xs:error"}}var Lc; -class xd extends uc{constructor(){super();this.g=[];this.ja=null}Cb(a){if(!(a instanceof xd))return yd.Rb;if(a instanceof Ic||a instanceof Kc)return yd.Fb;if(!(a instanceof md||a instanceof zd||a instanceof Ad))return yd.dc;if(this.g.length!==a.g.length)return yd.Rb;const b=function(A,P,q){return A.map((g,e)=>q(g,P[e]))}(this.g,a.g,yd.Hi),h=yd.Hi(this.ja,a.ja);return b.every(A=>A===yd.kb)&&h===yd.kb?yd.kb:b.every(A=>[yd.kb,yd.dc].includes(A)&&[yd.kb,yd.Fb].includes(h))?yd.Fb:b.every(A=>[yd.kb,yd.Fb].includes(A)&& -[yd.kb,yd.dc].includes(h))?yd.dc:yd.oh}lf(){return mc.pa}}class Gc extends xd{constructor(){super();od(this,"F");this.b={p:"F"}}ga(){return a=>a instanceof jd.XdmFunction||a instanceof id||a instanceof lc||a instanceof ld.Tf}Cb(a){return a instanceof Gc?yd.kb:/^F/.test(a.T().p)?yd.Fb:yd.Rb}toString(){return"function(*)"}}var Fc;function Bd(a,b){let h=[];b.forEach(A=>{h.push(a.g[A])});return new md(h,a.ja)} -class md extends xd{constructor(a,b){super();Aa.ba(b instanceof pc);Aa.ba(a.every(h=>h instanceof pc));this.g=a;this.ja=b;od(this,"F a["+a.map(h=>h.ea()).join(",")+"] r["+b.ea()+"]");nd(this,{p:"F",a:a.map(h=>h.T()),r:b.T()})}ga(){const a=this;return function(b){return b instanceof id?1===a.g.length&&2===a.g[0].ca&&b.conforms(a.g[0].K.ga(),a.ja.K.ga(),Cd(a.ja.ca)):b instanceof lc?1===a.g.length&&2===a.g[0].ca&&a.g[0].K instanceof wc&&b.conforms(()=>!0,a.ja.K.ga(),Cd(a.ja.ca)):b instanceof jd.XdmFunction? -(b=a.Cb(b.Dg()),[yd.kb,yd.Fb].includes(b)):!1}}lf(){return this.ja}toString(){return"(function("+this.g.map(a=>a.toString()).join(",")+") as "+this.ja.toString()+")"}}class Ic extends xd{constructor(){super();od(this,"FM");this.b={p:"FM"}}x(){return ad}U(){return mc.pa}ga(){return a=>a instanceof lc||a instanceof ld.Tf}toString(){return"map(*)"}}var Hc; -class zd extends xd{constructor(a,b){super();Aa.ba(a instanceof uc);Aa.ba(b instanceof pc);this.O=a;this.Sd=b;od(this,"FM k["+a.ea()+"] v["+b.ea()+"]");this.b={p:"FM",k:a.T(),v:b.T()}}ga(){return a=>a instanceof lc&&a.conforms(this.O.ga(),this.Sd.K.ga(),Cd(this.Sd.ca))}toString(){return"map("+this.O.toString()+","+this.Sd.toString()+")"}x(){return this.O}U(){return this.Sd}lf(){return this.Sd}} -class Kc extends xd{constructor(){super();od(this,"FA");this.b={p:"FA"}}ga(){return a=>a instanceof id}toString(){return"array(*)"}l(){return mc.pa}}var Jc;class Ad extends xd{constructor(a){super();Aa.ba(a instanceof pc);this.O=a;od(this,"FA v["+a.ea()+"]");this.b={p:"FA",v:a.T()}}ga(){return a=>a instanceof id&&a.value.every(b=>this.O.matches(b))}toString(){return"array("+this.O.toString()+")"}l(){return this.O}lf(){return this.O}} -class Dd extends uc{constructor(a,b){super();this.g=a;this.O=b;var h=a.T();const A=b.T();h=yb(h.p,A.p);od(this,h+" u["+a.ea()+","+b.ea()+"]");this.b={p:h,u:[a.T(),b.T()]}}ga(){const a=this.g.ga(),b=this.O.ga();return h=>a(h)||b(h)}x(){const a=this.g.x(),b=this.O.x();return new Dd(a,b)}l(){const a=this.g.l(),b=this.O.l(),h=a.ca;return h===b.ca?new pc(new Dd(a.K,b.K),h):mc.pa}} -class Ed extends uc{constructor(a,b){super();this.g=a;this.O=b;var h=a.T();const A=b.T();h=h.p.startsWith(A.p)?h.p:A.p.startsWith(h.p)?A.p:h.p.charAt(0)===A.p.charAt(0)?h.p.charAt(0):"";od(this,h+" i["+a.ea()+","+b.ea()+"]");this.b={p:h,i:[a.T(),b.T()]}}ga(){const a=this.g.ga(),b=this.O.ga();return h=>a(h)&&b(h)}} -class Fd extends uc{constructor(a,b){super();this.g=a;this.O=b;var h=a.T();const A=b.T();h=h.p.startsWith(A.p)?h.p:A.p.startsWith(h.p)?A.p:h.p.charAt(0)===A.p.charAt(0)?h.p.charAt(0):"";od(this,h+" d["+a.ea()+","+b.ea()+"]");this.b={p:h,d:[a.T(),b.T()]}}ga(){const a=this.g.ga(),b=this.O.ga();return h=>a(h)&&!b(h)}}const Gd={};function oc(a){var b=Gd[a];if(b)return b;b=wb(a);b=sc(b);return Gd[a]=b} -function sc(a){var b=a.p;if(""===b)return xc;if(a.u)return b=sc(a.u[0]),a.u.slice(1).reduce((h,A)=>new Dd(h,sc(A)),b);if(a.i)return b=sc(a.i[0]),a.i.slice(1).reduce((h,A)=>new Ed(h,sc(A)),b);if(a.d)return new Fd(sc(a.d[0]),sc(a.d[1]));switch(b.charAt(0)){case "A":if("Q{http://www.w3.org/2001/XMLSchema}numeric"===a.n)return Dc;if(a.m){a=a.m;if(3===a.length&&a.some(h=>"AO"===h.p)&&a.some(h=>"AD"===h.p)&&a.some(h=>"AF"===h.p))return Dc;Aa.fa("Unhandled atomic union type")}else return new wc(Sa.codes[b]); -break;case "F":switch(b){case "FA":return a.v?new Ad(rc(a.v)):Jc;case "FM":return a.k&&a.v?new zd(sc(a.k),rc(a.v)):Hc;default:return a.a?(b=a.a.map(rc),a=a.r?rc(a.r):mc.pa,new md(b,a)):Fc}case "N":if("N"===b)return zc;b={ND:9,NE:1,NA:2,NT:3,NC:8,NP:7,NN:13}[b];return a.n?(a=a.n,/\}\*$/.test(a)?new vd(b,a.substring(2,a.length-2)):/^\*:/.test(a)?new ud(b,a.substring(2)):new td(b,Sa.XS.QName.fromEQName(a))):a.e?(a=sc(a.e),new wd(a)):new Oc(b);case "E":return Lc}} -const Hd={IDREFS:"ASNTNCR",ENTITIES:"ASNTNCE",NMTOKENS:"ASNTK"},bd={};var ad,Vc,Wc,Xc,Yc,Zc,$c;var yd=function(){function a(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);const z=e.ea()+"<>"+l.ea(),v=g[z];if(v)return v;e=P(e,l);return g[z]=e}function b(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);switch(a(e,l)){case 0:case 1:return e;case 2:return l;case 3:case 4:return e=e.T(),l=l.T(),sc({p:yb(e.p,l.p),u:[e,l]})}}function h(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);switch(a(e,l)){case 0:case 1:return l;case 2:return e;case 3:return e=e.T(),l=l.T(),sc({p:e.p.startsWith(l.p)? -e.p:l.p.startsWith(e.p)?l.p:e.p.charAt(0)===l.p.charAt(0)?e.p.charAt(0):"",i:[e,l]});case 4:return Lc}}function A(e,l){return 0===e&&0===l?0:0!==e&&1!==e||0!==l&&1!==l?0!==e&&2!==e||0!==l&&2!==l?4===e||4===l?4:3:2:1}function P(e,l){function z(r,c){return(r||"")===(c||"")?0:r&&!c?2:c&&!r?1:4}function v(r){return 1===r?2:2===r?1:r}function G(r){return r.n||r.e||r.u||r.i||r.d}var p=e.T();const f=l.T(),I=e.ea(),D=l.ea();if("F"===p.p){if(!(e instanceof xd&&l instanceof xd))return 3;Aa.ba(e.Cb);return e.Cb(l)}if(I=== -D)return 0;if(e instanceof Mc)return 2;if(l instanceof Mc)return 1;if(qd(e))return qd(l)?0:/^A[ODF]/.test(f.p)?1:"A"===f.p||""===f.p?2:4;if(qd(l))return v(P(l,e));if(p.p===f.p){if(pd(e))return p.u&&f.u?3:p.e&&f.e?z(p.e,f.e):p.n&&f.n?z(p.n,f.n):G(p)&&G(f)?4:G(p)&&!G(f)?2:G(f)&&!G(p)?1:0;if(e.ka())return 0;if("FA"===p.p)return e=e.l?e.l():mc.pa,l=l.l?l.l():mc.pa,q(e,l);if("FM"===p.p)return p=a(e.x(),l.x()),l=q(e.U(),l.U()),A(p,l);if(!(e instanceof xd&&l instanceof xd))return 3;Aa.ba(e.Cb);return e.Cb(l)}return p.p.startsWith(f.p)? -p.u?3:2:f.p.startsWith(p.p)?p.u?3:1:4}function q(e,l){Aa.ba(e instanceof pc);Aa.ba(l instanceof pc);var z=e.ca;var v=l.ca;z=z===v?yd.kb:(z|v)===z?yd.Fb:(z|v)===v?yd.dc:0===(z|v)?yd.Rb:yd.oh;e=a(e.K,l.K);return A(z,e)}const g={};return{kb:0,Fb:1,dc:2,oh:3,Rb:4,Cb:a,Wj:function(e,l){Aa.ba(e instanceof uc);Aa.ba(l instanceof uc);e=a(e,l);return 0===e||2===e},Pk:b,Ed:function(e){Aa.ba(0b(l,z),e[0])},Kj:function(e){Aa.ba(0h(l,z),e[0])},Hi:q}}();function hd(a){return 0!==(a&4)}function fd(a){return 0!==(a&1)}function Id(a){let b=0;a.forEach(h=>b|=h);5===b&&(b=7);return b}function qc(a){return{0:1,1:2,"?":3,"+":6,"*":7}[a]}function Jd(a,b){return(fd(a)&&fd(b)?1:0)+(1!==a||1!==b?2:0)+(1===a&&!hd(b)||1===b&&!hd(a)?0:4)}function Kd(a){switch(a){case "1":return b=>1===b;case "0":return b=>0===b;case "?":return b=>2>b;case "+":return b=>0!0}} -function Cd(a){switch(a){case 1:return b=>0===b;case 2:return b=>1===b;case 4:return b=>12>b;case 6:return b=>0!0}}function gd(a){switch(a){case 3:return"?";case 2:return"";case 7:return"*";case 6:return"+";case 4:return"+";case 1:return"0";default:return"*"}};function Ld(a,b,h){a=a.expand();b=b.expand();a=Pb(a);b=Pb(b);let A,P;for(;;){A=a.next();P=b.next();if(null===A)return null===P;if(null===P||!Md(A,P,h))return!1}} -function Md(a,b,h){var A=fc.va;if(a===b)return!0;if(fc.Q(a)){if(!fc.Q(b)||!fc.Vj(a.nodeType,b.nodeType))return!1;switch(a.nodeType){case 9:case 11:return Ld(A.wa(a),A.wa(b));case 1:if(!fc.X(a).equals(fc.X(b)))return!1;const P=A.attribute(a).expand();if(P.length!==A.attribute(b).count())return!1;for(let q=0;qB;case ">":case "gt":return 0=":case "ge":return 0<=B;case "<=":case "le":return 0>=B;case "!=":case "ne":return 0!==B;default:throw new J("Unknown operator "+E,"SXJS0003");}}function c(E,B){return E.map(function(L){var H=B.fixed.evaluator;L=H.$(L,"dataType");H=null===L?null:H.evaluate(L,B).next();return"number"===H?function(S){return null===S?null:x.double.hf(S.toString())}:"text"===H?function(S){return null===S?null:x.string.I(S)}:function(S){return S}})} -function d(E,B){return E.substring(0,B.length)===B}function n(E,B){return E.substring(E.length-B.length)===B}function m(E,B){return B&&(B=B.next())?B.toString():E.collation||ld.getInheritedProperty(E,"defaultCollation")}function u(E,B){B=E?d(E,"http://www.w3.org/2013/collation/UCA")&&36K(M)?C&&Z(aa)?x.numeric.Fd(M):K(aa)?x.string.I(M):Z(aa)?x.double.I(M):"AQ"===aa.code?Sa.XS.QName.I(M,ld.stylesheetResolver(S,!1)):Sa.codes[aa.code].I(M):M,V="="===L?H.equals:"!="===L?(M,aa)=>!H.equals(M,aa):(M,aa)=>r(L,H.compare(M,aa));let ha;for(var w;null!==(ha=E.next());){const M=Pb(B);for(;null!==(w=M.next());){const aa=X(ha,w);w=X(w,ha);if(!(Z(aa)&&isNaN(aa.value)||Z(w)&&isNaN(w.value))&&V(aa,w))return bc(!0)}}return bc(!1)},Bj:function(E){return{equals:function(B, -L){const H=x.numeric.matches;return H(B)||H(L)?x.numeric.Fd(B).toNumber()===x.numeric.Fd(L).toNumber():E.equals(B,L)},compare:E.compare}},jf:function(E,B,L){return u(m(E,B),L)},Bg:u,Kb:function(E,B,L,H){B=m(E,B);H=u(B,H)[L];if(!H)throw new J("Collation "+B+" has no "+L+" method","FOCH0002",E);return H},Dj:c,Fg:"http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive",itemIsNaN:A,zk:f,Ak:function(E){const B=ld.Fa(E),L=ld.db(E,"sortKey");return H=>{const S=Xb(B(H)),C=[],Z=L.map(w=> -I(w,H)),K=L.map(ld.Fa),X=c(L,H),V=H.newContext(!1);V.tempOutputState="sort key";V.focus=S;let ha=0;S.forEachItem(function(w){const M=L.map(function(aa,ja){return X[ja](K[ja](V).next())});C.push({item:w,keys:M,Hd:ha++})});C.sort(function(w,M){for(let ja=0;jaM.Hd?1:w.Hd===M.Hd?0:-1});return Pb(C.map(w=>w.item))}},Af:r,Oi:function(E, -B){switch(E){case "=":case "eq":return B;case "!=":case "ne":return!B;case "<":case "lt":case ">":case "gt":case ">=":case "ge":case "<=":case "le":throw new J("Operator "+E+" not allowed for unordered types","SXJS0003");default:throw new J("Unknown operator "+E,"SXJS0003");}},Ef:function(E,B){function L(K){return Oa(K)?S(K.matchKey()):K.matchKey()}const H=new lc,S=E.collationKey;if(!S)throw new J("Collation is unsuitable for keys and grouping","XTDE1110");const C={Fc:function(K,X){return Ld(Pb(K), -Pb(X),E.equals)},hash:function(K){return K.map(L).join()}},Z={Fc:function(K,X){return L(K)===L(X)},hash:function(K){return L(K)}};H.la=B?C:Z;return H},Ck:"http://www.w3.org/2013/collation/UCA",Ui:"http://www.w3.org/xslts/collation/caseblind"}}();var Pd=function(){var a={};return{register:function(b,h){a[b]=h},find:function(b){return a[b]},Xl:a}}();var Qd=function(){function a(b){const h=fc.va,A={"p.any":function(){return function(){return!0}},"p.never":function(){return function(){return!1}},"p.booleanExp":function(P){const q=ld.Fa(P);return function(g,e){e=e.newContext();e.focus=Wb(g);return ld.wd(q(e))}},"p.genNode":function(P){const q=ld.Fa(P);let g;if("slash"===P.C[0].N){P=ld.oj(P.C[0]);let e=P.C[0];for(;["filter","subscript"].includes(e.N);)e=e.C[0];"axis"===e.N&&"child"===e.name&&(e.name="self",g=ld.elaborate(P))}return function(e,l){if(!fc.Q(e))return!1; -const z=fc.va.Ka(e);let v;for(var G;;){v=z.next();if(null==v)return!fc.nf(G)&&g?(l=l.newContext(!1),l.focus=Wb(G),l.regexGroups=[],g(l).some(p=>fc.isSameNode(p,e))):!1;G=l.newContext(!1);G.focus=Wb(v);G.regexGroups=[];if(q(G).some(p=>fc.isSameNode(p,e)))return!0;G=v}}},"p.genPos":function(P){const q=oc(P.test).ga(),g=ld.Fa(P);return function(e,l){if(!q(e))return!1;const z=l.fixed.evaluator;l=l.newContext(!1);var v=h.wa(fc.Oa(e)).filter(q);l.focus=Xb(v);for(l.regexGroups=[];null!=(v=l.focus.next());)if(v=== -e&&z.wd(g(l)))return!0;return!1}},"p.nodeSet":function(P){const q=ld.Fa(P);return function(g,e){return q(e).some(l=>l===g)}},"p.nodeTest":function(P){return oc(P.test).ga()},"p.simPos":function(P){const q=oc(P.test).ga(),g=parseInt(P.pos,10);return function(e){return q(e)&&h.Dc(e).filter(q).count()===g-1}},"p.venn":function(P){var q=P.C,g=a(q[0]),e=a(q[1]);P=P.op;switch(P){case "union":return function(l,z){return g(l,z)||e(l,z)};case "intersect":return function(l,z){return g(l,z)&&e(l,z)};case "except":return function(l, -z){return g(l,z)&&!e(l,z)};default:throw new J("unknown op "+P,"SXJS0003");}},"p.withCurrent":function(P){const q=a(P.C[0]);return function(g,e){e=e.newContext(!0);e.localVars[0]=[g];return q(g,e)}},"p.withPredicate":function(P){P=P.C;const q=a(P[0]),g=ld.elaborate(P[1]);return function(e,l){if(!q(e,l))return!1;l=l.newContext(!1);l.focus=Wb(e);l.regexGroups=[];return ld.wd(g(l))}},"p.withUpper":function(P){const q=P.C,g=a(q[0]),e=a(q[1]),l=P.axis;return"parent"===l?"true"===P.upFirst?function(z,v){const G= -fc.Oa(z);return G&&e(G,v)&&g(z,v)}:function(z,v){const G=fc.Oa(z);return G&&g(z,v)&&e(G,v)}:function(z,v){if(!g(z,v))return!1;z=fc.Ch[l](z);let G;for(;null!==(G=z.next());)if(e(G,v))return!0;return!1}}}[b.N];if(A)return A(b);throw new J("Unimplemented pattern "+b.N,"SXJS0002");}return{Zc:a,matches:function(b,h,A){A.pushCurrentOutputURI(null);b=b(h,A);A.popCurrentOutputURI();return b}}}();var Rd=function(){function a(A,P,q,g){function e(n){for(var m=[],u=n.length-1;0<=u;u--)m.push({Id:n[u],Xa:n[u].C[1],ve:Qd.Zc(n[u].C[0])});return m}function l(n){n._saxonAccumulators||(n._saxonAccumulators={});n._saxonAccumulators[q]={};var m=z(D,n);m&&(d=G(m,n));n._saxonAccumulators[q].pre=d;h.wa(n).forEachItem(l);(m=z(r,n))&&(d=G(m,n));n._saxonAccumulators[q].post=d}function z(n,m){for(var u=0,Q=n.length;uI.indexOf(v[0].value))throw new J("Invalid value "+D+"="+v[0],"FOJS0005");return v[0].value}throw new J("Invalid option: "+G+": must be "+p,"XPTY0004");}return f}function b(v, -G){function p(u){throw new J(u,"FOJS0001");}function f(){return m=I()}function I(){for(m="";;){if(n>=v.length)return["eof"];var u=v.charAt(n++);if(!/[ \n\r\t]/.test(u))break}switch(u){case "[":case "{":case "]":case "}":case ":":case ",":return[u];case '"':for(u=!1;;){const Q=v.charAt(n++);if('"'!==Q||u)m+=Q,u="\\"===Q&&!u;else return["string",m];n>=v.length&&p("Unclosed quotes in string literal")}case "-":case "0":case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":for(m+= -u;n=u){if(m+=u,++n>=v.length)break}else break;if(["true","false","null"].includes(m))return[m];p("Unknown constant "+m);break;default:return p("Unexpected character '"+u+"' ("+Ia(u)+") at position "+n),-1}}function D(u){m[0]!==u&&p("Expected "+u+", found "+ -m[0])}function r(u){return m[0]===u?(f(),!0):!1}function c(u){return m[0]===u?(f(),!0):","===m[0]?(f(),!1):p("Expected ',' or '"+u+"', found '"+m[0]+"'")}function d(){switch(m[0]){case "[":f();G.Mi();if(!r("]")){do d();while(!c("]"))}G.Sh();break;case "{":f();G.Ni();if(!r("}")){do D("string"),G.Oh(m[1]),f(),D(":"),f(),d();while(!c("}"))}G.Th();break;case "string":G.Rh(m[1]);f();break;case "number":G.Qh(m[1]);f();break;case "true":case "false":G.Nh(m[0]);f();break;case "null":G.Ph();f();break;default:p("Unexpected token "+ -m[0])}}v=v.replace(/^[\uFEFF]/,"");let n=0,m=null;m=f();d();D("eof");return G.jd()}function h(v){try{return JSON.parse('"'+v+'"')}catch(G){throw new J(G.toString(),"FOJS0001");}}function A(v,G){const p=G.lb,f=G.td;let I;I=f?D=>f.evaluate([[Sa.XS.string.fromString(P(D))]],p).next().toString():()=>"\ufffd";v=v.replace(/[\x00-\x08\x0B\x0C\x0E-\x0F\x80-\x9F\uFFFF]/g,I);return v=v.replace(/[\uD800-\uDFFF]+/g,D=>{let r="";for(let c=0;cd||c===D.length- -1&&"\udc00">d?I(d):d}return r})}function P(v){for(v=v.charCodeAt(0).toString(16);4>v.length;)v="0"+v;return"\\u"+v.toUpperCase()}function q(v,G){this.b=[];this.x=[];this.lb=G;a(v,"liberal","boolean",!1);this.td=a(v,"fallback","function",null);this.l=a(v,"escape","boolean",!1);this.z=a(v,"duplicates","string","use-first",["reject","use-first","use-last"]);if(this.l&&this.td)throw new J("parse-json: cannot use fallback with escape:true()","FOJS0005");}function g(v,G){this.b=[];this.z=[];this.x=[];this.lb= -G;a(v,"liberal","boolean",!1);if(a(v,"validate","boolean",!1))throw new J("json-to-xml: validate option not supported in a non-schema-aware processor","FOJS0004");this.td=a(v,"fallback","function",null);this.l=a(v,"escape","boolean",!1);this.U=a(v,"duplicates","string","use-first",["reject","use-first","retain"]);if(this.l&&this.td)throw new J("json-to-xml: cannot use fallback with escape:true()","FOJS0005");}const e=dc.za,l=Sa.XS,z=fc.va;q.prototype={b:[],x:[],lb:null,l:!1,td:null,z:"use-first", -U:function(v){return this.l?JSON.stringify(v).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,P):A(v,this)},ma:function(){return this.b[this.b.length-1]},g:function(v){if(0===this.b.length)this.b.push(v);else if(this.ma()instanceof id)this.ma().value.push(v);else{const G=this.ma(),p=l.string.fromString(this.x.pop());if(G.containsKey(p))switch(this.z){case "reject":throw new J("json-to-xml: duplicate key '"+p.toString()+"'","FOJS0003");case "use-first":return}G.inSituPut(p,v)}}, -Ph:function(){this.g([])},Nh:function(v){this.g([l.boolean.fromString(v)])},Qh:function(v){this.g([l.double.fromNumber(parseFloat(v))])},Rh:function(v){this.g([l.string.fromString(this.U(h(v)))])},Oh:function(v){this.x.push(this.U(h(v)))},Mi:function(){this.b.push(new id([]))},Sh:function(){this.g([this.b.pop()])},Ni:function(){this.b.push(new lc)},Th:function(){this.g([this.b.pop()])},jd:function(){return void 0!==this.ma()[0]?this.ma()[0]:null}};g.prototype={b:[],z:[{}],x:[],lb:null,td:null,l:!1, -U:"use-first",O:function(v){return this.l?JSON.stringify(v).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,P):A(v,this)},ma:function(){return this.b[this.b.length-1]},g:function(v){if(0===this.b.length)v.setAttribute("xmlns",e),this.b.push(v);else{const G=this.ma();if("map"===G.tagName){const p=this.z.pop(),f=this.x[this.x.length-1];if(p in f)switch(this.U){case "reject":throw new J("parse-json: duplicate key '"+p.toString()+"'","FOJS0003");case "use-first":return}f[p]=v;v.setAttribute("key", -p);this.l&&/\\/.test(p.toString())&&v.setAttribute("escaped-key","true")}G.appendChild(v)}},Ph:function(){const v=this.lb.resultDocument.createElementNS(e,"null");this.g(v)},Nh:function(v){const G=this.lb.resultDocument.createElementNS(e,"boolean");v=this.lb.resultDocument.createTextNode(v.toString());G.appendChild(v);this.g(G)},Qh:function(v){const G=this.lb.resultDocument.createElementNS(e,"number");v=this.lb.resultDocument.createTextNode(v.toString());G.appendChild(v);this.g(G)},Rh:function(v){const G= -this.lb.resultDocument.createElementNS(e,"string");if(""!==v){v=this.O(h(v));const p=this.lb.resultDocument.createTextNode(v);this.l&&/\\/.test(v)&&G.setAttribute("escaped","true");G.appendChild(p)}this.g(G)},Oh:function(v){this.z.push(this.O(h(v)))},Mi:function(){const v=this.lb.resultDocument.createElementNS(e,"array");this.b.push(v)},Sh:function(){this.g(this.b.pop())},Ni:function(){const v=this.lb.resultDocument.createElementNS(e,"map");this.b.push(v);this.x.push({})},Th:function(){this.x.pop(); -this.g(this.b.pop())},jd:function(){return this.ma()}};return{Gd:function(v,G,p){return b(v,new q(G,p))},mk:function(v,G,p){return b(v,new g(G,p))},Fk:function(v,G){function p(m){throw new J("Invalid input to xml-to-json(): "+m,"FOJS0006");}function f(m){0!==d.wc(m).length&&p("node "+m.tagName+" must have no element children")}function I(m){z.wa(m).filter(function(u){return(3===u.nodeType||4===u.nodeType)&&u.nodeValue&&""!==Ma.trim(u.nodeValue)}).next()&&p("node "+m.tagName+" must have no text content")} -function D(m){try{return l.boolean.fromString(m).toBoolean()}catch(u){p("invalid boolean: '"+m+"'")}}function r(m){try{JSON.parse('"'+m+'"')}catch(u){throw new J("invalid escape sequence: "+u.toString(),"FOJS0007");}}function c(m,u=0){const Q=0===u,ma=n?" ".repeat(3*u):"";if(9===m.nodeType||11===m.nodeType){var na=d.wc(m);1!==na.length&&p("document node has "+na.length+" element children");return c(na[0],u)}if(1===m.nodeType){let O=!1;if(m.namespaceURI===e){let ca=null!==d.Oa(m)&&"map"===d.Oa(m).localName; -z.attribute(m).forEachItem(function(x){if(0>x.name.indexOf(":")||x.namespaceURI===e)"key"===x.name||"escaped-key"===x.name?"escaped-key"===x.name?(ca||Q||p("@escaped-key is allowed only on children of map, or on root element"),D(x.value)&&r(m.getAttribute("key"))):ca||Q||p("@key is allowed only on children of map, or on root element"):"escaped"===x.name?("string"!==m.localName&&p("@escaped is allowed only on string"),O=D(x.value)):p("invalid attribute "+x.name)});switch(m.localName){case "null":return z.wa(m).filter(function(S){return 8!== -S.nodeType&&7!==S.nodeType}).next()&&p("null element must have no content"),"null";case "string":f(m);na=m.textContent;if(O)na=na.replace(/^"/g,'\\"').replace(/^[\b]/g,"\\b").replace(/^\f/g,"\\f").replace(/^\n/g,"\\n").replace(/^\r/g,"\\r").replace(/^\t/g,"\\t").replace(/^\//g,"\\/").replace(/([^\\])"/g,'$1\\"').replace(/([^\\])[\b]/g,"$1\\b").replace(/([^\\])\f/g,"$1\\f").replace(/([^\\])\n/g,"$1\\n").replace(/([^\\])\r/g,"$1\\r").replace(/([^\\])\t/g,"$1\\t").replace(/([^\\])\//g,"$1\\/").replace(/[\u0001-\u001F\u007F-\u009F]/g, -P),r(na);else return JSON.stringify(na).replace(/\//g,"\\/");return'"'+na+'"';case "number":f(m);try{na=l.double.fromString(m.textContent)}catch(S){p("invalid number")}isFinite(na.toNumber())||p("NaN and INF not allowed");return na.toString();case "boolean":return f(m),D(m.textContent),l.boolean.fromString(m.textContent).toString();case "array":I(m);let x=n?"[\n":"[",E=n?ma:"";d.wc(m).forEach(function(S){x+=E+c(S,u+1);E=n?`,\n${ma}`:","});return x+"]";case "map":I(m);let B=n?"{\n":"{",L=n?ma:"";const H= -{};d.wc(m).forEach(function(S){null!=S.attributes.getNamedItem("key")||p("child element of map must have a key");const C=d.getAttribute(S,"key");let Z=C;const K=d.getAttribute(S,"escaped-key");let X=!1;K&&D(K)&&(X=!0,Z=h(C));H[Z]&&p("duplicate key '"+C+"'");H[Z]=!0;B+=L+(X?'"'+C+'"':JSON.stringify(C).replace(/\//g,"\\/"))+":"+c(S,u+1);L=n?`,\n${ma}`:","});return n?B+`\n${0{hc(P,g.q,g.toString(),q.value)});for(let q in h)h.hasOwnProperty(q)&&(a=h[q],""===q?hc(P,"http://www.w3.org/2000/xmlns/","xmlns",a):hc(P,"http://www.w3.org/2000/xmlns/","xmlns:"+q,a))}endElement(){0===--this.g?this.ec=null:this.ec=this.ec.parentNode;this.l=null}text(a){this.l?this.l.appendData(a):(a=this.Rc.createTextNode(a),Xd(this,a),0de(a,h));else{if(b instanceof jd.XdmFunction)throw new J("Cannot add a function item to an XDM node tree","SENR0001");if(b instanceof lc)throw new J("Cannot add a map to an XDM node tree","SENR0001");ee.Di(b,a);a.g=!1}} -class fe extends Wd{constructor(a){super();this.b=a;this.g=this.x=this.l=!1}startDoc(a={}){ce(this,a);this.l=!1}endDoc(){this.g=!1;this.b.endDoc()}startElement(a,b,h,A={}){ce(this,A);this.b.startElement(a,b,h,A)}endElement(){this.b.endElement();this.g=!1}text(a,b={}){ce(this,b);super.text(a,b);this.g=!1}comment(a,b={}){ce(this,b);super.comment(a,b);this.g=!1}pi(a,b,h={}){ce(this,h);super.pi(a,b,h);this.g=!1}append(a,b={}){ce(this,b);de(this,a)}close(){this.l&&this.endDoc();super.close()}} -function ge(a,b={}){a.l||(a.b.startDoc(b),a.l=!0,a.g=!0);a.x||a.b.append(a.z,{});a.x=!1} -class he extends Wd{constructor(a,b){super();this.b=a;this.l=this.g=!1;this.x=!0;this.z=Sa.XS.string.fromString(b)}startDoc(a={}){ge(this,a);this.g=!1}endDoc(){this.b.endDoc()}startElement(a,b,h,A={}){ge(this,A);this.b.startElement(a,b,h,A)}endElement(){this.b.endElement()}text(a,b={}){ge(this,b);super.text(a,b)}comment(a,b={}){ge(this,b);super.comment(a,b)}pi(a,b,h={}){ge(this,h);super.pi(a,b,h)}append(a,b={}){if(ld.isArray(a))a.flatten(h=>this.append(h,b));else{if(a instanceof jd.XdmFunction)throw new J("Cannot add a function item to an XDM node tree", -"SENR0001");if(a instanceof lc)throw new J("Cannot add a map to an XDM node tree","SENR0001");Sa.ka(a)?(ge(this,b),this.b.append(a,b)):(ge(this,b),ee.Di(a,this))}}close(){this.g&&this.endDoc();super.close()}}function ie(a,b){return a.b.findIndex(h=>h.equals(b))}class je{constructor(){this.b=[];this.g=[]}get(a){a=ie(this,a);return 0>a?void 0:this.g[a]}set(a,b){const h=ie(this,a);0<=h?this.g[h]=b:(this.b.push(a),this.g.push(b))}forEach(a){for(let b=0;bc.append(d))}}return I}}function b(f){let I=f.N;f.parentNode&&(I=b(f.parentNode)+"/"+I);return I}function h(f){if(f.C){const I=f.C.map(a);return function(D,r){I.forEach(c=>c(D,r))}}return()=>{}}function A(f,I,D,r,c,d){if(fc.Q(f))switch(f.nodeType){case 9:case 11:D.cb=fc.Za(f);q(f,D,c,d);break;case 1:if(null!=f.attributes.getNamedItem("xml:base")){const n= -f.getAttribute("xml:base");D.cb=fc.Wc(n)?n:ya.resolveUri(n.toString(),ld.staticBaseUri(r,I)).toString()}else D.cb=fc.Za(f);q(f,D,c,d);break;case 3:case 4:D.text(f.nodeValue);break;case 7:D.pi(f.target,f.data);break;case 8:D.comment(f.textContent);break;default:D.append(f)}else D.append(f)}function P(f,I,D){switch(f.nodeType){case 9:case 11:I.startDoc(D?{BASE_URI:D}:{});f=f.childNodes;for(D=0;Dn||D.index===n&&c)&&r.push({Ac:!1,string:d(f.substring(n,D.index))}),r.push({Ac:!0,groups:D,string:d(D[0])}),n=I.lastIndex,0===D[0].length&&I.lastIndex++,m++>10*f.length)throw new J("analyze-string looping???","SXJS0004");f.length>n&&r.push({Ac:!1,string:d(f.substring(n,f.length))}); -return r}function z(f){const I="compAtt"===f.N,D=ld.elaborate(ld.$(f,"name")),r=ld.elaborate(ld.$(f,"namespace"));return c=>{function d(){throw new J((I?"Attribute":"Element")+" name '"+n+"' is not a lexical QName",I?"XTDE0850":"XTDE0820",f);}let n=Ma.trim(D(c).next().toString());if(r){c=(c=r(c).next())?c.value:"";if(!ld.Ek(c))throw new J((I?"Attribute":"Element")+" namespace '"+c+"' is invalid",I?"XTDE0865":"XTDE0835",f);var m=Sa.XS.QName;if(""===c&&n.includes(":"))m=m.fromParts("","",n.replace(/^.*:/, -""));else if(n.includes(":")){const u=n.split(":");""!==u[0]&&""!==u[1]||d();m=m.fromParts(u[0],c,u[1])}else m=""===c?m.fromParts("","",n):m.fromParts(I?"ns0":"",c,n)}else{if(I&&"xmlns"===n)throw new J("Attribute must not be named xmlns","XTDE0855",f);try{m=ld.Ug(f,n,!I)}catch(u){if(u instanceof J){if("XTDE0290"===u.code)throw new J((I?"Attribute":"Element")+" name '"+n+"' has an unbound prefix",I?"XTDE0860":"XTDE0830",f);"FORG0001"===u.code&&d()}throw u;}}if("http://www.w3.org/2000/xmlns/"===m.q)throw new J("Disallowed namespace "+ -m.q,I?"XTDE0865":"XTDE0835",f);return m}}class v{constructor(){}startDoc(){}endDoc(){}startElement(){}attribute(){}namespace(){}endElement(){}text(){}comment(){}pi(){}append(){}close(){}}class G extends v{constructor(f){super();this.g=f;this.O=[];this.ub=[];this.cb=null;this.b=0;this.Ra=this.x=null;this.z={};this.Ea=null;this.l=this.ia=!1;this.qa={};this.Bc=null}na(f,I,D){var r=this.z[f];if(r&&r!==I)if("ns"===D){if(this.qa[f])throw new J("Two conflicting bindings for prefix '"+f+"'","XTDE0430");if(this.x.prefix=== -f){for(r=f+"_9";this.z[r];)r+="9";this.x=Sa.XS.QName.fromParts(r,this.x.q,this.x.local);this.z[r]=this.x.q}this.z[f]=I}else return""===f&&(f="NULL"),this.na(f+"0",I,D);"ns"===D&&(this.qa[f]=I);if("elem"===D&&""===I)for(r=this.O.length-1;0<=r;r--)if(""===this.O[r][0]){this.z[""]="";break}if(""!==f||""!==I){r=!1;for(let c=this.O.length-1;0<=c;c--){const d=this.O[c];if(d[0]===f){d[1]===I&&(r=!0);break}}if(!r){if(this.qa[f]&&this.qa[f]!==I)return this.na(f+"0",I,D);this.z[f]=I}}return f}startDoc(){0=== -this.b&&(this.g.startDoc({BASE_URI:this.cb,ORIGINAL_NODE:this.Bc}),this.O=[]);this.U();this.b++;this.l=this.ia=!1}endDoc(){this.b--;0===this.b&&this.g.endDoc();this.l=!1}startElement(f){this.U();this.b++;this.ia=!0;this.x=f;this.Ra=new je;this.z={};this.qa={};this.na(f.prefix,f.q,"elem");this.Ea=this.Bc;this.l=!1}attribute(f,I){if(0===this.b)this.g.append(new ec(f,I,null));else{if(!this.ia){if(this.x)throw new J("Cannot write attribute ("+f.toEQName()+"="+I+") after writing child nodes (level="+this.b+ -", start tag = "+this.x+")","XTDE0410");throw new J("Cannot attach an attribute ("+f.toEQName()+"="+I+") to a document node","XTDE0420");}if(""!==f.q){["","xmlns"].includes(f.prefix)&&(f=f.withPrefix("ns_"));const D=this.na(f.prefix,f.q,"att");D!==f.prefix&&(f=f.withPrefix(D))}this.Ra.set(f,{value:I,Wa:0})}}namespace(f,I){if(0===this.b)this.g.append(new gc(f,I));else{if(!this.ia)throw new J("Cannot write namespace after writing child nodes","XTDE0410");if(""===f&&""===this.x.q)throw new J("Cannot add default namespace declaration to a no-namespace element", -"XTDE0440");this.na(f,I,"ns")}}endElement(){this.U();this.g.endElement();this.b--;let f=this.ub.pop();for(;0this.append(I));break;default:this.U(),q(f,this,!0,!1)}this.l=!1}else if(0===this.b)this.g.append(f,{}),this.l=!1;else if(Sa.ka(f))this.U(),this.text((this.l?" ":"")+f.toString(),{}),this.l=!0;else if(ld.isArray(f)){f=f.value;for(let I=0;I{try{let u=I(n).next();if(null===u)return Tb;u=u.toString();const Q=D(n).next().toString(), -ma=r(n).next().toString(),na=l(u,Q,ma,!0,!1),O=n.newContext(!1),ca=na.map(x=>x.string);O.focus=Xb(Pb(ca));O.focus.forEachItem(()=>{const x=na[O.focus.position-1];x.Ac?c&&(O.regexGroups=x.groups,c(O,m)):d&&(O.regexGroups=[],d(O,m))})}catch(u){if(u instanceof J&&"FORX0002"===u.code)throw new J(u.message,"XTDE1140");if(u instanceof J&&"FORX0001"===u.code)throw new J(u.message,"XTDE1145");throw u;}}},applyImports:function(f){return function(I,D){const r=I.currentMode.mode;if(!r)throw new J("applyImports: no current mode", -"XTDE0560",f);I.failIfNoCurrentFocus("XTDE0560","xsl:apply-imports",f);const c=I.newContext(!0);c.currentComponent=I.currentMode;ld.Ze(f,I,c);c.focus=I.focus;return r.ij(c,D)}},applyT:function(f){const I=ld.Fa(f),D=ld.elaborate(ld.$(f,"separator"));return function(r,c){let d;const n=r.newContext(!0);if(ld.qb(f,"c"))d=r.currentMode.mode,["function","globalVariable","globalParam"].includes(r.currentComponent.actor.N)&&(d=ld.fe(f,r).Ri),n.currentComponent=r.currentMode;else{var m=ld.Eg(f,r,"mode");d= -m.mode;if(d.ti)throw new J("Mode "+d.Ve.name+" only handles typed nodes","XTTE3100",f);n.currentComponent=m}ld.Ze(f,r,n);m=D?D(r).next():null;n.focus=Xb(I(r));n.focus.regexGroups=r.focus?r.focus.regexGroups:null;d.xb(n,c,m)}},att:function(f){const I=f.name,D=I.split(":");let r;r=f.nsuri?2===D.length?Sa.XS.QName.fromParts(D[0],f.nsuri,D[1]):Sa.XS.QName.fromParts("",f.nsuri,I):Sa.XS.QName.fromString(I,ld.stylesheetResolver(f,!1));const c=ld.Fa(f);return function(d,n){d=g(c(d));n.attribute(r,d)}},"break":function(f){const I= -h(f);return function(D,r){I(D,r);D.focus.position=-999}},callT:function(f){return function(I,D){const r=ld.Eg(f,I,"template"),c=I.newContext(!0);c.currentMergeGroup=null;c.currentComponent=r;ld.og(r.actor,c);ld.Ze(f,I,c);I=r.actor;I.C&&h(I)(c,D)}},choose:function(f){f=f.C;const I=[],D=[];for(let r=0;r -I(D,r),r)}},copyOf:function(f){const I=ld.qb(f,"c"),D=ld.qb(f,"m"),r=ld.Fa(f);h(f);return function(c,d){r(c).forEachItem(n=>A(n,c,d,f,I,D))}},doc:function(f){const I=h(f);return function(D,r){r.cb=ld.staticBaseUri(f,D);r.startDoc();I(D,r);r.endDoc()}},elem:function(f){const I=f.name,D=I.split(":"),r=h(f);let c;c="undefined"!==typeof f.nsuri?2===D.length?Sa.XS.QName.fromParts(D[0],f.nsuri,D[1]):Sa.XS.QName.fromParts("",f.nsuri,I):Sa.XS.QName.fromString(I,ld.stylesheetResolver(f,!0));return function(d, -n){f.baseUri&&(n.cb=f.baseUri);n.startElement(c);if(f.namespaces){const u=f.namespaces.toString().split(" ");for(let Q=0;Q{m?m=!1:d.text(u.value,{});D(n,d)})}else n.focus.forEachItem(()=>D(n,d))}},forEachGroup:function(f){const I=ld.elaborate(ld.$(f,"select")),D=ee.elaborateForPush(ld.$(f,"content"));return(r,c)=>{function d(O){const ca=[];n.forEachItem(function(x){O(ca,x)});return ca}const n=Xb(I(r)),m=r.newContext(!1);m.focus=n;var u={starting:function(){const O=Qd.Zc(ld.$(f,"match"));return d(function(ca, -x){1===n.position||Qd.matches(O,x,m)?ca.push({pb:[x]}):ca[ca.length-1].pb.push(x)})},ending:function(){const O=Qd.Zc(ld.$(f,"match"));let ca=!1;return d(function(x,E){1===n.position||ca?x.push({pb:[E]}):x[x.length-1].pb.push(E);ca=Qd.matches(O,E,m)})},adjacent:function(){var O=ld.$(f,"collation");O=O?ld.evaluate(O,r).next().toString():Nd.Nc;const ca=Nd.Bg(O,r),x=ld.$(f,"key");let E=null;return d(function(B,L){var H=ld.evaluate(x,m).expand();1!==n.position&&Ld(Pb(H),Pb(E),ca.equals)?B[B.length-1].pb.push(L): -(B.push({pb:[L],Mb:H}),E=H)})},by:function(){var O=ld.$(f,"collation");O=O?ld.evaluate(O,r).next().toString():Nd.Nc;O=Nd.Bg(O,r);const ca=Nd.Ef(O,!1),x=ld.$(f,"key");return d(function(E,B){let L,H=[];ld.evaluate(x,m).forEachItem(function(S){ca.containsKey(S)?(L=ca.get(S),0>H.findIndex(function(C){return C===L})&&(E[L].pb.push(B),H.push(L))):(L=E.length,E.push({pb:[B],Mb:[S]}),ca.inSituPut(S,L),H.push(L))})})},by_c:function(){var O=ld.$(f,"collation");O=O?ld.evaluate(O,r).next().toString():Nd.Nc;O= -Nd.Bg(O,r);const ca=ld.$(f,"key"),x=Nd.Ef(O,!0);return d(function(E,B){let L,H=ld.evaluate(ca,m).expand();x.containsKey(H)?(L=x.get(H),E[L].pb.push(B)):(L=E.length,E.push({pb:[B],Mb:H}),x.inSituPut(H,L))})}};u.adjacent_c=u.adjacent;var Q=f.algorithm+(ld.qb(f,"c")?"_c":"");let ma;try{ma=u[Q]()}catch(O){if(O instanceof J&&"FOCH0002"===O.code)throw new J("Unknown collation:"+O.message,"XTDE1110");throw O;}const na=ld.db(f,"sortKey");if(0L)return-1;if(0Q(d));var m=d.newContext(!1);m.focus=Xb(D(d));m.currentTemplate=null;let u=!1;for(;null!==m.focus.next();)if(r(m,n),-999===m.focus.position){u=!0;break}!u&&c&&(m=d.newContext(!1),m.focus=null,c(m,n))}},let:function(f){const I=ld.Fa(f),D=a(f.C[1]),r=parseInt(f.slot,10);return function(c,d){const n=c.tempOutputState;c.tempOutputState= -"variable";const m=I(c).expand();c.tempOutputState=n;c.localVars[r]=m;D(c,d)}},nextIteration:function(f){const I=ld.db(f,"withParam").map(D=>({uk:ld.Fa(D),Db:parseInt(D.slot,10)}));return function(D){I.forEach(r=>r.value=r.uk(D).expand());I.forEach(r=>D.localVars[r.Db]=r.value)}},nextMatch:function(f){return function(I,D){const r=I.currentMode.mode;if(!r)throw new J("next-match: no current mode","XTDE0560",f);if(!I.currentTemplate)throw new J("next-match: no current template","XTDE0560",f);if(I.noCurrentFocus())throw new J("next-match: no context item", -"XTDE0560",f);const c=I.newContext(!0);c.currentComponent=I.currentMode;ld.Ze(f,I,c);return r.gk(c,D)}},procInst:function(f){const I=ld.Fa(f),D=ld.Mh(f);return function(r,c){const d=I(r).next().toString();if(!Ma.isNCName(d))throw new J("The name of a processing-instruction must be a valid NCName; supplied value: "+d.toString(),"XTDE0890",f);if(/^[Xx][Mm][Ll]$/.test(d))throw new J("The name of a processing-instruction must not be 'xml'","XTDE0890",f);r=D(r);r=g(r).replace(/\?>/g,"? >").replace(/^\s+/, -"");c.pi(d,r)}},sequence:h,sourceDoc:function(f){const I=ld.elaborate(ld.$(f,"href")),D=a(f.C[1]);return function(r,c){const d=r.newContext(!1);var n=null===I?"":I(r).next().toString();n=ya.resolveUri(n,ld.staticBaseUri(f,r));n=Td.uc(n,r);r=r.fixed.Ae;null!==r&&(n=r(n));d.focus=Wb(n);d.currentTemplate=null;D(d,c)}},useAS:function(f){return function(I,D){var r=ld.Eg(f,I,"attributeSet");I=I.newContext(!0);I.tempOutputState="attribute set";I.currentComponent=r;r=r.actor;r.C&&h(r)(I,D)}},valueOf:function(f){const I= -ld.Fa(f);let D={};ld.qb(f,"d")&&(D.DISABLE_ESCAPING=!0);return function(r,c){r=g(I(r));c.text(r,D)}}};return{kg:l,elaborateForPush:a,getComplexContentOutputter:function(f){return new G(f)},push:function(f,I,D){if("undefined"===typeof D)throw Aa.Qa(Error().stack,1,I.fixed.Ga),new J("No output for "+b(f));if(p[f.N]){var r=a(f);try{r(I,D)}catch(c){throw c instanceof J&&!c.xsltLineNr&&za(c,f),c;}}else{r=ld.elaborate(f);try{const c=r(I);let d;for(;null!=(d=c.next());)D.append(d)}catch(c){throw c instanceof -J&&!c.xsltLineNr&&za(c,f),c;}}},Di:P,vf:A,Rg:e}}();const ke=function(){function a(O,ca,x,E,B){function L(V){return null===n.Oa(V)}function H(V){return V.nodeType===S.nodeType&&(null===Z?!0:n.X(V).equals(Z))}let S;const C=B.fixed.evaluator;if(ca){if(S=C.evaluate(ca,B).next(),!S||!n.Q(S))throw new J("xsl:number/@select must yield a single node","XTTE1000");}else B.failIfNoCurrentFocus("XTTE0990","xsl:number"),S=B.getCurrentFocus();const Z=n.X(S);let K=H;if(null!==x){const V=Qd.Zc(x);K=function(ha){return Qd.matches(V,ha,B)}}if(null===E)ca=L;else{const V= -Qd.Zc(E);ca=function(ha){return L(ha)||Qd.matches(V,ha,B)}}let X;switch(O){case "simple":return O=m.Dc(S).filter(H),Zb(O.count()+1);case "single":O=m.Ka(S).filter(K).next();X=m.Ka(S).filter(ca).next();O=null===O?null:null!==m.Ka(O).filter(function(ha){return n.isSameNode(ha,X)}).next()?O:null;if(null===O)return Tb;O=m.Dc(O).filter(K);return Zb(O.count()+1);case "multi":O=Pb(m.Ka(S).filter(K).expand().reverse());X=m.Ka(S).filter(ca).next();O=O.filter(function(ha){return null!==m.Ka(ha).filter(function(w){return n.isSameNode(w, -X)}).next()});const V=u.integer.fromNumber;return O.mapOneToOne(ha=>V(m.Dc(ha).filter(K).count()+1));case "any":return x=function(ha,w){return n.fb(w,ha)},O=new Jb(m.Og(S).filter(K),m.Ka(S).filter(K),x),X=(new Jb(m.Og(S).filter(ca),m.Ka(S).filter(ca),x)).next(),null===X&&Aa.fa("from pattern selected empty"),O=O.filter(function(ha){return 0<=n.fb(ha,X)}),O=O.count(),0===O?Tb:Zb(O);default:return Aa.fa("unknown xsl:number/@level "+O),Tb}}function b(O,ca,x,E,B,L,H){function S(Z){let K;""===Z&&(Z="1"); -if(/^[\x01-\x7f]*$/.test(Z))Z=Z.split(/\b/),K=function(ha){return/\w+/.test(ha)};else{if(Z.length!==Ia(Z).length)throw new J("Cannot handle non-BMP characters in format-number picture","SXJS0002");const ha=ee.kg(Z,"[\\p{Nd}\\p{Nl}\\p{No}\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}]+","",!0,!1);K=function(w,M){return ha[M].Ac};Z=ha.map(function(w){return w.string.toString()})}const X={prefix:"",Qc:[],Rd:""};let V=".";for(let ha=0;ha=X.Qc.length?X.Qc[X.Qc.length-1]:X.Qc[w];0!==w&&(V+=M.sep);w=M.Fh;B&&(w+=";o");ha=ke.xg(ha.toNumber(),w);null!==x&&null!== -E&&(ha=ke.ig(ha,x,E));V+=ha});V+=X.Rd;return Yb(V)}(O.expand())}function h(O,ca,x,E,B){const L=B.fixed.evaluator;let H=[1];null!==x&&(H=L.evaluate(x,B).next().toString().split(/\s+/).map(function(S){if(!/^-?[0-9]+$/.test(S))throw new J("xsl:number/@start-at must be a sequence of integers. Offending value: "+S,"XTSE0020");return parseInt(S,10)}));if(ca&&E){O=O.next();if(null===O)return null;try{O=u.integer.I(O.round(0))}catch(S){return null}O=Pb([O])}return O.mapOneToOne(function(S,C){S=S.isNumeric()? -S.toDouble():u.double.hf(S.toString());if(0>S.toNumber())throw new J(`xsl:number/@value is less than zero (${S.toString()})`,"XTDE0980");try{S=u.integer.I(S.round(0))}catch(Z){throw Z.code="XTDE0980",Z;}C=C>=H.length?H[H.length-1]:H[C];1!==C&&(S=u.integer.fromNumber(S.toNumber()+(C-1)));return S})}function A(O){if(1>O||4999=E[B];)ca+=x[B], -O-=E[B];return ca}function P(O,ca){function x(B){return(B>E?x(Math.floor((B-1)/E)):"")+ca.charAt((B-1)%E)}if(1>O)return O.toString();const E=ca.length;return x(O)}function q(O,ca){return Ox?x.toString():qa(x).toFixed();x.lengthO&&(x="-"+x);return x}function e(O,ca="FODF1310"){const x=Ia(O),E={};let B=!0;var L=0;let H;const S=Ma.prepareRegex("\\p{Nd}",null);var C=O.search(S);if(0>C)B=!1;else{L=Ma.jk().Nd;for(let K= -0;Kx[C]||x[C]>H+10)throw new J("Picture string mixes digits from different digit families: "+O,ca);}else if(Ma.prepareRegex("\\p{N}\\p{L}",null).test(L))throw new J("Picture string is invalid: "+O,ca);const Z=[];L=H-48;x.forEach(function(K){H<=K&&K<=H+10?Z.push(48):Z.push(K)});O=Ja(Z)}E.Rj=B;E.format=O;E.sg=L;E.Gf=H;return E}function l(O,ca){const x=[];Ia(O).forEach(function(E){48<= -E&&57>=E?x.push(E+ca):x.push(E)});return Ja(x)}function z(O,ca,x,E="",B=!1){let L=0;for(let H=0;Hx[0]&&(H=!1);if(H)for(L=1;LO?ca[O]:100>O?x[Math.floor(O/ -10)]+(0===O%10?"":" "+ca[O%10]):1E3>O?G(Math.floor(O/100))+" Hundred"+(0===O%100?"":" and "+G(O%100)):1E6>O?G(Math.floor(O/1E3))+" Thousand"+(0===O%1E3?"":(100>O%1E3?" and ":" ")+G(O%1E3)):1E9>O?G(Math.floor(O/1E6))+" Million"+(0===O%1E3?"":(100>O%1E3?" and ":" ")+G(O%1E6)):O.toString()}function p(O){const ca="Zeroth First Second Third Fourth Fifth Sixth Seventh Eighth Ninth Tenth Eleventh Twelfth Thirteenth Fourteenth Fifteenth Sixteenth Seventeenth Eighteenth Nineteenth".split(" "),x=" Twent Thirt Fort Fift Sixt Sevent Eight Ninet".split(" "); -return 20>O?ca[O]:100>O?x[Math.floor(O/10)]+(0===O%10?"ieth":"y "+ca[O%10]):1E3>O?G(Math.floor(O/100))+" Hundred"+(0===O%100?"th":" and "+p(O%100)):1E6>O?G(Math.floor(O/1E3))+" Thousand"+(0===O%1E3?"th":(100>O%1E3?" and ":" ")+p(O%1E3)):1E9>O?G(Math.floor(O/1E6))+" Million"+(0===O%1E3?"th":(100>O%1E3?" and ":" ")+p(O%1E6)):O.toString()}function f(O){return 1===O%10&&11!==O%100?"st":2===O%10&&12!==O%100?"nd":3===O%10&&13!==O%100?"rd":"th"}function I(O,ca,x="FODF1310"){function E(H,S){let C="";for(let Z= -H.charCodeAt(0),K=0;KO?"-":"";if("o"===L)switch(ca.toString()){case "a":case "A":case "i":case "I":break;case "Ww":return B+p(Math.abs(O));case "W":return B+p(Math.abs(O)).toUpperCase(); -case "w":return B+p(Math.abs(O)).toLowerCase();default:return v(O,ca,x)+f(Math.abs(O))}switch(ca.toString()){case "a":return P(O,E("a",26));case "A":return P(O,E("A",26));case "\u03b1":return P(O,E("\u03b1",25));case "\u0391":return P(O,E("\u0391",25));case "i":return A(O);case "I":return A(O).toUpperCase();case "Ww":return B+G(Math.abs(O));case "W":return B+G(Math.abs(O)).toUpperCase();case "w":return B+G(Math.abs(O)).toLowerCase();case "\u2460":return q(O,"\u24ea"+E("\u2460",20)+E("\u3251",15)+ -E("\u32b1",15));case "\u2474":return q(O,"0"+E("\u2474",20));case "\u2488":return 0===O?"\ud83c\udd00":q(O,"0"+E("\u2488",20));case "\u2776":return q(O,"\u24ff"+E("\u2776",10)+E("\u24eb",10));case "\u2780":return 0===O?"\ud83c\udd0b":q(O,"0"+E("\u2780",10));case "\u278a":return 0===O?"\ud83c\udd0c":q(O,"0"+E("\u278a",10));case "\u24f5":return q(O,"0"+E("\u24f5",10));case "\u3220":return q(O,"0"+E("\u3220",10));case "\u3280":return q(O,"0"+E("\u3280",10));default:return v(O,ca,x)}}function D(O,ca){return String.fromCharCode(parseInt(O[ca]? -O[ca]:Q[ca],10))}function r(O,ca){function x(W){[["$gs","grouping separator"],["$es","exponent separator"],["$ds","decimal separator"],["$pc","non-prefix passive character"],["$pp","percent|permille"],["$od","optional digit"],["$md","mandatory digit"],["$ip","integer part"],["$fp","fractional part"]].forEach(function(ka){W=W.replace(ka[0],ka[1])});throw new J("Invalid picture: "+W,"FODF1310");}const E={};var B=O.indexOf(ca.ef),L=0<=B;const H=ca.Gf.charCodeAt(0);let S=0,C=0,Z=[];const K=[],X=[];let V= --1,ha=-1,w=!1,M=!1;var aa=-1;let ja=0;var Y=L?B:O.length;for(var y=0;y=H&&daS&&0>V&&(V=y),S++,C++)):da===ca.Lh.charCodeAt(0)?(0V&&(V=y,M=!0),C++):da===ca.ie.charCodeAt(0)?(0V&&x("$pp before any digit"), -0ha&&(ha=y),da===ca.cd.charCodeAt(0)?E.cd=!0:E.we=!0):!L&&0<=V&&da===ca.tc.charCodeAt(0)&&0>ha?w?(X.push(da),0ha&&(ha=y):(X.push(da),w=!1,aa=-1,0>ha&&(ha=y-1))):(w=!0,aa=y):0<=V&&L?x("$pc before $ds"):w&&0===ja?(w=!1,aa=-1,X.push(ca.tc.charCodeAt(0)),X.push(da),0>ha&&(ha=y-1)):0<=V?(X.push(da),0>ha&&(ha=y)):K.push(da)}if(0=H&&kaha?ja++:0<=L||0<=ha?x("$md follows $od or $pc in $fp"):(Y++,y++):ka===ca.Lh.charCodeAt(0)?((0<=ha||w)&&x("$od follows $pc or $es"),0>L&&(L=W),y++):ka===ca.ie.charCodeAt(0)?((0<=ha||w)&&x("$gs follows $pc or $es"),da.push(W-B+1)):ka===ca.ef.charCodeAt(0)?x("more than one $ds"):ka===ca.cd.charCodeAt(0)|| -ka===ca.we.charCodeAt(0)?((0<=ha||w)&&x("$pp follows $pc or $es"),X.push(ka),ha=W,ka===ca.cd.charCodeAt(0)?E.cd=!0:E.we=!0):ka===ca.tc.charCodeAt(0)&&0>ha?w?(X.push(ka),0ha&&(ha=W):(X.push(ka),w=!1,aa=-1,0>ha&&(ha=W-1))):(w=!0,aa=W):w&&0===ja?(w=!1,aa=-1,X.push(ca.tc.charCodeAt(0)),X.push(ka),0>ha&&(ha=W-1)):(X.push(ka),0>ha&&(ha=W))}}0>V&&0===y&&x("mantissa contains no digits");if(0!==da.length)for(0===da[0]&&x("$gs at beginning of $fp"),B=0;B=E+x?d(new Date(O.getTime()-864E5),ca):Math.floor((x+E-2)/7)+ -(5>E?1:0)}const n=fc,m=n.va,u=Sa.XS,Q={"decimal-separator":"46","grouping-separator":"44",digit:"35","minus-sign":"45",percent:"37","per-mille":"8240","zero-digit":"48","exponent-separator":"101","pattern-separator":"59",infinity:"Infinity",NaN:"NaN"},ma={Y:"getUTCFullYear",M:"getUTCMonth",D:"getUTCDate",F:"getUTCDay",H:"getUTCHours",m:"getUTCMinutes",s:"getUTCSeconds",f:"getUTCMilliseconds"},na={d:c,W:function(O){return d(O,!0)},w:function(O){return d(O,!1)},h:function(O){return 13>O.getUTCHours()? -0===O.getUTCHours()?12:O.getUTCHours():O.getUTCHours()-12},P:function(O){return 12>O.getUTCHours()?"Am":"Pm"},E:function(O){return 0>O.getUTCFullYear()?"BC":"AD"}};return{hk:function(O,ca){const x=ca.fixed.evaluator,E=O.level,B=x.$(O,"select"),L=x.$(O,"count");O=x.$(O,"from");return a(E,B,L,O,ca)},ik:function(O,ca){var x=ca.fixed.evaluator;const E=x.$(O,"value"),B=x.$(O,"format"),L=x.hc(x.$(O,"gpSep"),ca).next(),H=x.hc(x.$(O,"gpSize"),ca).next();var S=x.hc(x.$(O,"ordinal"),ca).next();const C=x.hc(x.$(O, -"lang"),ca).next();var Z=O.flags||"";O=x.$(O,"startAt");Z=/1/.test(Z);x=x.evaluate(E,ca);x=h(x,Z,O,!0,ca);S=S?ld.Yj(S.toString()):!1;return null===x?Yb("NaN"):b(x,B,L,H,S,C,ca)},xg:I,ig:function(O,ca,x){let E="";for(let B=0;BO?!0:0===O?0>1/O:!1;x={ef:D(x,"decimal-separator"),ie:D(x,"grouping-separator"),Lh:D(x,"digit"),ek:D(x,"minus-sign"),cd:D(x,"percent"),we:D(x,"per-mille"),Gf:D(x, -"zero-digit"),tc:D(x,"exponent-separator"),Ai:D(x,"pattern-separator"),Lj:x.infinity||Q.infinity,fk:x.NaN||Q.NaN};if(isNaN(O))return x.fk;ca=ca.includes(x.Ai)?ca.split(x.Ai):[ca];if(2O?ca[1]:ca[0],x);if(isFinite(O)){if(0X&&(O=qa(O.toPrecision(X))); -(X=V!==O.e)&&(L+=1);1L)||Z&&X||(L=ha.join("").slice(L),H+="."+L)}else throw new J("Empty mantissa","SXJS0004");C=H+C+g(O.e,K)}else{K=Math.abs(O);B.cd&&(K=Math.abs(100*O));B.we&&(K=Math.abs(1E3*O));"Infinity"===K+""?C=K+"":C=999999>K?K.toString():qa(K).toFixed();K=C.indexOf(".");0>K&&(K=C.length,0C.indexOf(".")&&(C+=".0")):C=qa(C).round(0,1).toString());L=C.length-1-K;if(0L;L++)K+=String.fromCharCode(x.Gf.charCodeAt(0)+L);K+=x.ef;L="";for(S=0;SO?L+=Z:OL&&(L=K.length);C=K.substring(0,L);K=K.substring(L);if(0B.Lb[0]&&(L=!1);C=L?ke.ig(C,x.ie,B.Lb[0]):z(C,B.Lb,null,x.ie)}0K||"*"!==Z&&1>Z||"*"!==K&&"*"!==Z&&K>Z)throw new J("Invalid width modifier in date/time formatting picture","FOFD1340");}var X=null;1Z||12C.length;)C="0"+C;X=Ia(C);C=parseInt(Ja(X.reverse()),10);if(!H&&!S&&/^[0-9]$/.test(V))for(;X.length>V.length;)V+="#"; -if(H&&"*"!==H){ha=/^([0-9]*)(#*)$/.exec(V);V=ha[1]?ha[1]:"";for(ha=ha[2]?ha[2]:"";H>V.length;)V+="0",ha=ha.slice(0,-1);V+=ha}if(S)for("*"===S&&(S=X.length);V.lengthV.length;)C=C.slice(0,-1);H&&"*"!==H||0!==parseInt(C,10)||(C="0");Z||(C=l(C,K));H=C}else{if(/[nN]/.test(S))V="January February March April May June July August September October November December".split(" "),K="Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "), -X="M"===H?V[ha-1]:"F"===H?K[ha-1]:ha,"F"===H&&Z&&"*"!==Z&&6>Z&&(X=X.replace(/(ur)?day$/,""),X=X.replace(/nes$/,"s")),"n"===S?X=X.toLowerCase():"N"===S&&(X=X.toUpperCase()),Z&&"*"!==Z&&(X=X.substring(0,Z));else{V=/;/.test(S)?S+";":S;X&&(V+=(";"===V.charAt(V.length-1)?"":";")+X);X=I(ha,V,"FOFD1340");"Y"===H&&"-"===X.charAt(0)&&(X=X.substring(1));if("Y"===H&&/[^iIwWnN]/.test(S.charAt(S.length-1))&&(!K&&2===S.length||2==Z))for(;2ea[va]}const W={"<":"<",">":">","&":"&",'"':""","\n":" ","\r":" ","\t":" "},ka={"<":"<",">":">","&":"&"};return y?Y.replace(/&|<|>|"|\n|\r|\t/g,da(W)):Y.replace(/&|<|>/g,da(ka))}if(aa){aa="";w=w.split("\x00");for(let Y=0;Y=w:"US-ASCII"===M.toUpperCase()?127>=w: -!0}function h(w,M){return function(aa){var ja=!0;for(var Y=0;Y=w.min&&y<=w.max){ja=!1;break}}if(ja)return aa;ja="";Y=!1;for(y=0;y=W;ka&&(W=aa.codePointAt(y));w.oa[W]?(M&&!Y&&(ja+="\x00",Y=!0),ja+=w.oa[W],ka&&y++):(M&&Y&&(ja+="\x00",Y=!1),ja+=da)}return ja}}function A(w){return""===w.q||"http://www.w3.org/1999/xhtml"===w.q}function P(w){return["http://www.w3.org/1999/xhtml","http://www.w3.org/2000/svg", -"http://www.w3.org/1998/Math/MathML"].includes(w)}function q(w,M){return(M={action:["form"],archive:["object"],background:["body"],cite:["blockquote","del","ins","q"],classid:["object"],codebase:["applet","object"],data:["object"],datasrc:"button div input object select span table textarea".split(" "),"for":["script"],formaction:["button","input"],href:["a","area","base","link"],icon:["command"],longdesc:["frame","iframe","img"],manifest:["html"],name:["a"],poster:["video"],profile:["head"],src:"audio embed frame iframe img input script source track video".split(" "), -usemap:["img","input","object"]}[M.local])&&M.includes(w.local)}function g(w,M,aa=null){switch(w.method){case "xml":M=new Q(w,M);if(w.version&&"1.0"!==w.version)throw new J("Serializer does not support the requested XML version: "+w.version,"SESU0013");c(w);if(w["undeclare-prefixes"])throw new J("Cannot undeclare prefixes with XML 1.0 serializer","SEPM0010");w.indent&&(M=p(w,M));M=f(w,M);M=I(w,M);M=D(w,M);return G(w,M);case "html":return d(w,M);case "text":return c(w),M=new V(w,M),M=f(w,M),M=I(w, -M),G(w,M);case "xhtml":return d(w,M);case "json":return c(w),w.indent?new Z(w,M,aa):new C(w,M,aa);case "adaptive":return new K(w,M,aa);default:return new X(w,M)}}function e(w,M,aa){function ja(ea,va){va=va.trim();if(["yes","true","1"].includes(va))return!0;if(["no","false","0"].includes(va))return!1;throw new J("Value of "+ea+" must be yes(=true, 1) or no(=false, 0)","SEPM0016");}function Y(ea){return function(va,pa){pa=pa.trim();return pa.split(/\s+/).map(function(k){/^Q\{/.test(k)||/:/.test(k)|| -(k="Q{}"+k);return/^Q\{/.test(k)?k:m.QName.fromString(k,ea).toEQName()})}}function y(ea){return function(va,pa){pa=pa.trim();if(ea.includes(pa))return pa;throw new J("Value of "+va+"("+pa+"): must be one of "+ea.join("|"),"SEPM0016");}}function da(ea){return function(va,pa){if(ea.test(pa))return pa;throw new J("Invalid value for "+va+": must match the pattern "+ea,"SEPM0016");}}function W(ea,va){return va}function ka(ea,va){va=va.trim();if(/[0-9]+/.test(va))return 1*va;throw new J("Value of "+ea+ -" must be an integer (Actual value is "+Aa.showValue(va)+")","SEPM0016");}aa={"allow-duplicate-names":ja,"build-tree":ja,"byte-order-mark":ja,"cdata-section-elements":Y(aa),"doctype-public":da(/[\sa-zA-Z0-9\-'()+,.:=?;!*#@$_%\/]*/),"doctype-system":da(/[^']*|[^"]*/),encoding:da(/[\x21-\x7e]+/),"escape-uri-attributes":ja,"html-version":function(ea,va){if(/[0-9]+(\.[0-9]+)?/.test(va))return 1*va;throw new J("Value of "+ea+" must be a decimal number","SEPM0016");},"include-content-type":ja,indent:ja, -"item-separator":W,"json-node-output-method":y(["xml","xhtml","html","text"]),"media-type":W,method:function(ea,va){return function(pa,k){k=k.trim();!/^Q\{/.test(k)&&/:/.test(k)&&(k=m.QName.fromString(k,va).toEQName());if(ea.includes(k))return k;throw new J("Value of "+pa+"("+k+"): must be one of "+ea.join("|"),"SEPM0016");}}("xml xhtml html text json adaptive Q{http://saxonica.com/ns/interactiveXSLT}append-content Q{http://saxonica.com/ns/interactiveXSLT}replace-content".split(" "),aa),"normalization-form":y("NFC NFD NFKC NFKD fully-normalized none".split(" ")), -"omit-xml-declaration":ja,standalone:function(ea,va){return"omit"===va.trim()?null:ja(ea,va)},"suppress-indentation":Y(aa),"undeclare-prefixes":ja,"use-character-maps":Y(aa),version:W,"Q{http://saxon.sf.net/}indent-spaces":ka,"Q{http://saxon.sf.net/}line-length":ka,"Q{http://saxon.sf.net/}stylesheet-version":ka};/^\{/.test(w)&&(w="Q"+w);if("string"!==typeof M)throw new J("Value of "+w+" must be supplied as a string","SEPM0016");if(aa[w])return aa[w](w,M);if(!/^Q\{/.test(w))throw new J("Unknown serialization parameter "+ -w,"SEPM0017");}function l(w,M,aa){function ja(W,ka,ea){if(!Array.isArray(ka))throw new J("Value of "+W+" must be an array","SEPM0016");return(ea||[]).concat(ka)}function Y(W,ka){if("boolean"!==typeof ka)throw new J("Value of "+W+" must be boolean","SEPM0016");return ka}function y(W,ka){if("number"!==typeof ka)throw new J("Value of "+W+" must be an integer (actual value is "+Aa.showValue(ka)+")","SEPM0016");return ka}const da={"allow-duplicate-names":Y,"build-tree":Y,"byte-order-mark":Y,"cdata-section-elements":ja, -"escape-uri-attributes":Y,"html-version":function(W,ka){if("number"!==typeof ka)throw new J("Value of "+W+" must be a decimal number","SEPM0016");return ka},"include-content-type":Y,indent:Y,"omit-xml-declaration":Y,standalone:function(W,ka){return null===ka?null:Y(W,ka)},"suppress-indentation":ja,"undeclare-prefixes":Y,"use-character-maps":function(W,ka,ea){ea&&Array.isArray(ea)&&Aa.fa("Problem with existing character map supplied to overrideParam");if("object"!==typeof ka)throw new J("Value of "+ -W+" must be an object","SEPM0016");if(void 0===ka.oa)throw new J("Value of "+W+" must be a character map object","SEPM0016");(W=ea)?z(W,ka):W=ka;return W},"Q{http://saxon.sf.net/}indent-spaces":y,"Q{http://saxon.sf.net/}line-length":y,"Q{http://saxon.sf.net/}stylesheet-version":y};/^{/.test(w)&&(w="Q"+w);return da[w]?da[w](w,M,aa):e(w,M.toString())}function z(w,M){M.minw.max&&(w.max=M.max);for(let aa in M.oa)M.oa.hasOwnProperty(aa)&&(w.oa[aa]=M.oa[aa])}function v(w,M){let aa= -{};w.forEach(function(ja,Y){let y=M.Eh[ja];if(!y)throw new J("Unknown character map "+ja,"SEPM0016");0===Y?aa=y:z(aa,y)});return aa}function G(w,M){return w["item-separator"]&&"#absent"!==w["item-separator"]?new he(M,w["item-separator"]):new fe(M)}function p(w,M){const aa=w["Q{http://saxon.sf.net/}indent-spaces"],ja=w["suppress-indentation"];return Vd("xml"===w.method?new ma(aa,ja):new E(aa,ja),M)}function f(w,M){w["normalization-form"]&&"none"!==w["normalization-form"]&&(M=Vd(new na(w["normalization-form"]), -M));return M}function I(w,M){w["use-character-maps"]&&(M=Vd(new O(w["use-character-maps"]),M));return M}function D(w,M){w["cdata-section-elements"]&&(M=Vd(new ca(w["cdata-section-elements"],w.encoding||"UTF-8",w["normalization-form"]&&"none"!==w["normalization-form"]?w["normalization-form"]:null),M));return M}function r(w,M){return void 0===w[M]||w[M]}function c(w){if(w.encoding&&!["UTF-8","UTF-16","ISO-646","ISO-8859-1","US-ASCII"].includes(w.encoding.toUpperCase()))throw new J("Serializer does not support the requested encoding: "+ -w.encoding,"SESU0007");}function d(w,M){var aa="xhtml"===w.method;M=aa?new L(w,M):new x(w,M);if(aa&&w.version&&"1.0"!==w.version)throw new J("Serializer does not support the requested XML version: "+w.version,"SESU0013");if((aa=aa?w["html-version"]:w["html-version"]||w.version)&&5!==1*aa)throw new J("Serializer does not support the requested HTML version: "+aa,"SESU0013");c(w);r(w,"indent")&&(M=p(w,M));M=f(w,M);M=I(w,M);M=D(w,M);M=Vd(new B,M);r(w,"escape-uri-attributes")&&(M=Vd(new H,M));r(w,"include-content-type")&& -(M=Vd(new S(w),M));return G(w,M)}function n(w,M,aa,ja=null){function Y(ka,ea){switch(ka.nodeType){case 9:case 11:ea.startDoc(W);ka=ka.childNodes;for(var va=0;va{y(va,ea)}):fc.Q(ka)?Y(ka,ea):ea.append(ka, -W)}let da;aa||(da="",aa={write:function(ka){da+=ka}});aa.write||Aa.fa("writer supplied to Serialize.serialize() is not a writeable stream");M||={};M=g(M,aa,ja);let W={};w&&y(w,M);M.close();return da}const m=Sa.XS;class u extends Ud{constructor(w,M){super();this.b=M||null;this.Aa=w}close(){this.b.R&&!this.b.isTTY&&this.b.R()}}class Q extends u{constructor(w,M){super(w,M);this.g=this.l=this.na=this.O=this.Ra=!1;this.Ea=[];this.x=[];this.qd=0;this.encoding=w.encoding||"UTF-8"}startDoc(){}endDoc(){}close(){this.l|| -this.z();super.close()}startElement(w,M,aa){function ja(y){throw new J("When "+y+" is specified, there must only be one top-level element node","SEPM0004");}this.l||(this.z(),this.qa(w),this.O&&!this.na&&!0===this.Aa.indent&&this.b.write("\n"),this.l=!0);0===this.x.length&&(0"),this.g=!1):this.b.write("")}text(w,M={}){this.l||this.z();this.g&&this.U();this.b.write(M.DISABLE_ESCAPING?this.encode(w,!1):this.encode(a(w,!1,!1),!0))}comment(w){this.l||this.z();this.g&&this.U();this.b.write("\x3c!--"+this.encode(w,!1)+"--\x3e")}pi(w,M){this.l||this.z();this.g&&this.U();this.b.write("")}append(w,M={}){this.text(w.toString(),M)}z(){this.Ra||this.eg()}U(){this.b.write(">");this.g=!1}$i(w,M){let aa=[];for(let ja in w)if(M[ja]!==w[ja]){let Y="";"xml"!==ja&&(Y=""===ja?' xmlns="'+a(w[ja],!0,!1)+'"':" xmlns:"+ja+'="'+a(w[ja],!0,!1)+'"');""!==Y&&aa.push(Y)}aa.sort();aa.forEach(ja=>this.b.write(ja))}Zd(w,M){if(M){const aa=this;M.forEach((ja,Y)=>{aa.Yd(Y,ja)})}}Yd(w,M){const aa=!0===M.Wa.USE_NULL_MARKERS;M=M.Wa.DISABLE_ESCAPING? -this.encode(M.value,!1):this.encode(a(M.value,!0,aa),!0);this.b.write(" "+this.encode(w.toString(),!1)+'="'+M+'"')}eg(){var w=this.encoding.toUpperCase();this.Aa["byte-order-mark"]&&"UTF-8"===w&&this.b.write("\ufeff");this.Ra=!0;w=!0===this.Aa["omit-xml-declaration"]&&"UTF-8"===w;this.O=!w;let M=this.Aa.standalone;if(w&&void 0!==M&&null!==M)throw new J("Serializer values of 'standalone' and 'omit-xml-declaration' conflict","SEPM0009");w||this.b.write('")}qa(w){let M=this.Aa["doctype-system"]||null,aa=this.Aa["doctype-public"]||null;null!==M&&(this.O&&this.b.write("\n"),this.b.write("\n"):this.b.write(' PUBLIC "'+this.encode(aa,!1)+'" '+this.encode(w,!1)+">\n"),this.na=!0)}encode(w,M){function aa(Y){if(M)return"&#"+Y+";";throw new J("Character "+ -String.fromCodePoint(Y)+" (decimal "+Y+") is not available in the chosen encoding","SERE0008");}const ja=this.encoding;return function(Y){let y="";var da=0;const W=Y.length;if(0===W)return"";for(;daka)break;else if(127>ka)ea++;else if(160>ka||8232===ka||55296<=ka&&56320>=ka||!b(ka,ja))break;else ea++}if(ea>=W)return 0===da?Y:y+Y.substring(da,ea);ea>da&&(y+=Y.substring(da,ea));ka=Y.charCodeAt(ea);da=Y.charAt(ea); -if(0===ka)throw new J("Null marker","ZZZZ9999");160>ka||8232===ka?y+=M?aa(ka):da:55296<=ka&&56320>=ka?(ka=Y.codePointAt(ea++),y+=b(ka,ja)?da+Y.charAt(ea):aa(ka)):b(ka,ja)||(y+=aa(ka));da=++ea;if(da>=W)return y}}(w)}}class ma extends Wd{constructor(w,M){super();this.x=0;this.Zd=w||3;this.Ea="\n ";this.l=this.z=this.O=!1;this.Ra=M||null;this.g=-1;this.qa=null;this.ub={}}startElement(w,M,aa,ja={}){this.z||this.l?this.ia():this.U();if(0>this.g){let Y=M.get(m.QName.fromParts("","http://www.w3.org/XML/1998/namespace", -"space"));Y&&"preserve"===Y.value&&(this.g=this.x)}this.x++;this.Ra&&-1===this.g&&0<=this.Ra.indexOf(w.toEQName())&&(this.g=this.x);this.b.startElement(w,M,aa,ja);this.z=this.O=!0;this.l=!1}endElement(){this.x--;this.l&&!this.O?this.ia():this.z&&!this.l?this.qa=null:this.U();this.b.endElement();this.O=!1;this.l=!0;this.z=!1;this.x===this.g-1&&(this.g=-1)}text(w,M={}){const aa=!this.O||0<=w.indexOf("\n");0>this.g&&""===Ma.trim(w)&&aa?(this.qa=w,this.ub=M):(this.U(),0<=w.indexOf("\n")&&(this.O=!1), -this.b.text(w,M),this.l=this.z=!1)}comment(w,M={}){this.l?this.ia():this.U();this.b.comment(w,M);this.l=this.z=!1}pi(w,M,aa={}){this.l?this.ia():this.U();this.b.pi(w,M,aa);this.l=this.z=!1}ia(){0<=this.g?this.U():this.Ue()}Ue(){this.qa=null;let w=this.x*this.Zd;if(w+1>this.Ea.length){let M=5*this.Zd;w+1>this.Ea.length+M&&(M+=w+1);for(let aa=0;aa=da.min&&y<=da.max){ja=!1;break}}if(ja)W=w;else for(ja=0;ja=y;ka&&(y=w.codePointAt(ja));da.oa[y]?(aa||(""!==W&&(this.b.text(W,M),W=""), -aa=!0),W+=da.oa[y],ka&&ja++):(aa&&(aa=Object.assign({},M),aa.DISABLE_ESCAPING=!0,aa.NO_NORMALIZATION=!0,this.b.text(W,aa),W="",aa=!1),W+=Y)}aa?(w=Object.assign({},M),w.DISABLE_ESCAPING=!0,w.NO_NORMALIZATION=!0,this.b.text(W,w)):this.b.text(W,M)}}}class ca extends Wd{constructor(w,M,aa){super();this.ia=w||null;this.encoding=M;this.U=aa;this.x=[];this.g="";this.z={};if("fully-normalized"===aa)throw new J("Serializer does not support the requested normalization-form: fully-normalized","SESU0011");}startElement(w, -M,aa,ja={}){this.l();this.x.push(w.toEQName());this.b.startElement(w,M,aa,ja)}endElement(){this.l();this.x.pop();this.b.endElement()}text(w,M={}){0<=this.ia.indexOf(0===this.x.length?null:this.x[this.x.length-1])?M.DISABLE_ESCAPING?(this.l(),this.b.text(w,M)):(this.g+=w,this.z=M):this.b.text(w,M)}comment(w,M={}){this.l();this.b.comment(w,M)}pi(w,M,aa={}){this.l();this.b.pi(w,M,aa)}l(){if(""!==this.g){const M=this.U?this.g.normalize(this.U):this.g,aa=M.length;for(var w=0;ww&&this.O(M.substring(w,ja));ja"),this.g=!1);this.Te.includes(w.local.toLowerCase())&&A(w)||this.b.write("")}text(w,M={}){0"))throw new J("A processing instruction in HTML must not contain a > character","SERE0015");this.b.write("")}z(){this.Ra||(this.Aa["byte-order-mark"]&&"UTF-8"=== -this.Aa.encoding&&this.b.write("\ufeff"),this.Ra=!0)}Zd(w,M){if(M){const aa=this;M.forEach((ja,Y)=>{w.hasURI("")&&this.Ue(w,Y,ja.value)?aa.b.write(" "+Y.toString()):aa.Yd(Y,ja)})}}qa(w){let M=this.Aa["doctype-system"]||null,aa=this.Aa["doctype-public"]||null;null===M&&null===aa?A(w)&&"html"===w.local.toLowerCase()&&(this.O&&this.b.write("\n"),this.b.write("\n"),this.na=!0):null===M?(w=A(w)&&"html"===w.local.toLowerCase()?w.toString():"html",this.O&&this.b.write("\n"),this.b.write("\n'),this.na=!0):super.qa("html"===w.local.toLowerCase()?w:m.QName.fromParts("","","html"))}Ue(w,M,aa){M=M.local.toLowerCase();w=w.local.toLowerCase();return M===aa.toLowerCase()&&(this.ub[w]&&this.ub[w].includes(M)||this.ub["*"].includes(M))}}class E extends ma{constructor(w,M){super(w,M);this.eg="pre script style textarea title xmp".split(" ");this.Te="a abbr acronym applet area audio b basefont bdi bdo big br button canvas cite code data datalist del dfn em embed font i iframe img input ins kbd label map mark math meter noscript object output picture progress q ruby s samp script select small span strike strong sub sup svg template textarea time tt u var video wbr".split(" "); -this.na=this.qd=!1;this.Yd=[]}startElement(w,M,aa,ja={}){this.qd=this.Te.includes(w.local.toLowerCase())&&A(w);this.z||this.l?this.ia():this.U();this.x++;0>this.g&&this.eg.includes(w.local.toLowerCase())&&A(w)&&(this.g=this.x);this.Ra&&-1===this.g&&0<=this.Ra.indexOf(w.toEQName())&&(this.g=this.x);this.b.startElement(w,M,aa,ja);this.z=this.O=!0;this.qd=this.na=this.l=!1;this.Yd.push(w)}endElement(){let w=this.Yd.pop();this.x--;this.l&&!this.O?this.ia():this.U();this.b.endElement();this.O=!1;this.l= -!0;this.z=!1;this.na=this.Te.includes(w.local.toLowerCase())&&A(w);this.x===this.g-1&&(this.g=-1)}text(w,M={}){super.text(w,M);0>this.g&&""===Ma.trim(w)||(this.na=!1)}comment(w,M={}){super.comment(w,M);this.na=!1}pi(w,M,aa={}){super.pi(w,M,aa);this.na=!1}ia(){0<=this.g||this.qd||this.na?this.U():this.Ue()}}class B extends Wd{startElement(w,M,aa,ja={}){for(let Y in aa)P(aa[Y])&&delete aa[Y];P(w.q)&&(""!==w.prefix&&(w=m.QName.fromParts("",w.q,w.local)),aa[""]=w.q);M.forEach((Y,y)=>{P(y.q)&&(aa[y.prefix]= -y.q)});super.startElement(w,M,aa,ja)}}class L extends Q{constructor(w,M){super(w,M);this.ia="area base br col embed hr img input link meta param source track wbr".split(" ")}endElement(){this.x.pop();let w=this.Ea.pop();this.g&&this.ia.includes(w.local)&&A(w)?(this.b.write(" />"),this.g=!1):(this.g&&super.U(),this.b.write(""))}text(w,M={}){(this.l||""!==Ma.trim(w))&&super.text(w,M)}qa(w){let M=this.Aa["doctype-system"]||null;null===M&&A(w)&&"html"===w.local.toLowerCase()?(this.O&& -this.b.write("\n"),this.b.write("\n"),this.na=!0):null!==M&&super.qa(w)}}class H extends Wd{startElement(w,M,aa,ja){let Y=!1;M.forEach((y,da)=>Y=Y||q(w,da));if(Y){const y=new je;M.forEach((da,W)=>{if(q(w,W)){const ka=ld.escape(da.value.normalize("NFC"),ea=>32>ea||126=Y||127<=Y&&159>=Y||!b(Y,M)?aa+("\\u"+("0000"+Y.toString(16).toUpperCase()).slice(-4)):aa+y}}return aa}na(w){let M='"';if(this.oa){const y=this.oa;let da="",W=!1;var aa=!0;for(var ja= -0;ja=y.min&&Y<=y.max){aa=!1;break}}if(aa)da=w;else for(aa=0;aa=Y;ka&&(Y=w.codePointAt(aa));y.oa[Y]?(W||(""!==da&&(M+=this.Ea(da),da=""),W=!0),da+=y.oa[Y],ka&&aa++):(W&&(M+=da,da="",W=!1),da+=ja)}M=W?M+da:M+this.Ea(da)}else M+=this.Ea(w);return M+'"'}ub(w){function M(Y){switch(Y.length){case 0:ja.b.write("null");break;case 1:aa(Y[0]);break;default:throw new J("Cannot output a sequence of length "+ -Y.length+" as JSON","SERE0023");}}function aa(Y){var y=Sa.XS;if(Sa.ka(Y))if(y.boolean.matches(Y))ja.b.write(Y.toString());else if(y.numeric.matches(Y)){Y=Y.toString();if(["NaN","INF","-INF"].includes(Y))throw new J("Cannot output INF or NaN as JSON","SERE0020");ja.b.write(Y)}else ja.b.write(ja.na(Y.toString()));else if(fc.Q(Y)){y=Object.assign({},ja.x);y.method=y["json-node-output-method"]||"xml";y["item-separator"]=null;y["omit-xml-declaration"]=!0;y.encoding="UTF-8";const da=new ha;n(Y,y,da,ja.ia); -ja.b.write(ja.na(da.toString()))}else if(ld.isArray(Y))if(Y=Y.value,0===Y.length)ja.b.write("[]");else{ja.O("[");M(Y[0]);for(y=1;y{da?da=!1:ja.U();const ea=ja.na(ka.k.toString());if(!ja.x["allow-duplicate-names"]){if(W[ea])throw new J("Duplicate key '"+ea+"' in serialized JSON map","SERE0022");W[ea]=!0}ja.b.write(ea);ja.Ra();M(ka.v)});ja.z("}")}else throw new J("Cannot output "+Aa.showValue(Y)+ -" as JSON","SERE0021");}const ja=this;M(w)}O(w){this.b.write(w)}z(w){this.b.write(w)}U(){this.b.write(",")}Ra(){this.b.write(":")}}class Z extends C{constructor(w,M,aa){super(w,M,aa);this.g=0;this.qa=w["Q{http://saxon.sf.net/}indent-spaces"]||3}O(w){super.O(w);this.g++;this.b.write("\n".padEnd(this.g*this.qa+1," "))}z(w){this.g--;this.b.write("\n".padEnd(this.g*this.qa+1," "));super.z(w)}U(){super.U();this.b.write("\n".padEnd(this.g*this.qa+1," "))}Ra(){this.b.write(": ")}}class K extends Yd{constructor(w, -M,aa){super(aa);this.x=w;this.b=M;this.ia=aa;this.oa=w["use-character-maps"]||null}close(){function w(W,ka){for(let ea in["fn","math","map","array","xs"])if(dc.withPrefix[ea]===W)return ea+":"+ka;return"Q{"+W+"}"+ka}function M(W){return Y.oa?h(Y.oa,!1)(W):W}function aa(W,ka){if(1===W.length)ja(W[0],ka);else{ka.write("(");let ea=!0;for(let va=0;va{pa?pa=!1:ka.write(",");ja(k.k,ka);ka.write(":");aa(k.v,ka)});ka.write("}")}else W instanceof jd.XdmFunction?W.local?ka.write(w(W.q,W.local)+"#"+W.arity):ka.write("(anonymous function)#"+W.arity):ka.write("JS: "+Aa.showValue(W))} -const Y=this;let y=this.jd(),da=!0;for(let W=0;Wda(this.b));this.x=!0;this.g=[]}super.startElement(w,M,aa,ja)}text(w,M={}){this.x?super.text(w,M):this.g.push(function(aa){aa.text(w,M)})}comment(w,M={}){this.x?super.comment(w,M):this.g.push(function(aa){aa.comment(w,M)})}pi(w,M,aa={}){this.x?super.pi(w,M,aa):this.g.push(function(ja){ja.pi(w, -M,aa)})}append(w,M={}){this.x?super.append(w,M):this.g.push(function(aa){aa.append(w,M)})}endDoc(){this.x?super.endDoc():this.g.push(function(w){w.endDoc()})}close(){this.x||(this.l.method="xml",this.b=g(this.l,this.z),this.g.forEach(w=>w(this.b)));super.close()}}class V extends u{constructor(w,M){super(w,M);this.g=!1}text(w){this.g||this.l();this.b.write(w)}append(w){this.g||this.l();this.b.write(w.toString())}l(){this.Aa["byte-order-mark"]&&"UTF-8"===this.Aa.encoding&&this.b.write("\ufeff");this.g= -!0}}class ha{constructor(){this.ha=""}write(w){this.ha+=w}toString(){return this.ha}}return{serialize:n,gi:g,StringWriter:ha,parseParamDoc:function(w,M,aa=null){function ja(W,ka="SEPM0017"){throw new J("Serialization params: "+W,ka);}function Y(W,ka=[]){const ea=fc.X(W);fc.va.attribute(W).forEachItem(function(va){va=fc.X(va);""!==va.q||ka.includes(va.local)||ja("attribute @"+va.local+" must not appear on element "+ea.toString())})}function y(W,ka){let ea=fc.getAttribute(W,ka,null);null===ea&&ja("attribute @"+ -ka+" is missing on element "+fc.X(W).toString());return ea}"serialization-parameters"!==fc.X(w).local&&ja("root element name must be 'serialization-parameters'",aa||"SEPM0017");"http://www.w3.org/2010/xslt-xquery-serialization"!==fc.X(w).q&&ja("root element namespace must be http://www.w3.org/2010/xslt-xquery-serialization",aa||"SEPM0017");Y(w);let da=[];fc.wc(w).forEach(function(W){if(fc.hasURI(W,"http://www.w3.org/2010/xslt-xquery-serialization")){var ka=fc.X(W).local;let ea;da.includes(ka)&&ja("duplicated parameter "+ -ka,"SEPM0019");da.push(ka);"use-character-maps"===ka?(Y(W),ea={min:0,max:0,oa:{}},fc.wc(W).forEach(function(va){if(fc.hasURI(va,"http://www.w3.org/2010/xslt-xquery-serialization")&&"character-map"===fc.X(va).local){Y(va,["character","map-string"]);const pa=y(va,"character");1ea.max&&(ea.max=k))}else ja("invalid child of use-character-maps: "+fc.X(va).toString())}),55296ja&&(ja=W);55296"0"+Q.codePointAt(0))}const n=fc.va;c=n.Ka(c).expand().reverse();let m="";for(let u=0;um};return function(m,u,Q){let ma=m[0];u.fixed.evaluator.qb(Q,"i")&&(ma=ma.filter(function(X){return!Nd.itemIsNaN(X)}));m=Nd.Kb(Q,m[1],"compare",u);const na=Nd.cmpFn(m), -O=D.untypedAtomic.matches,ca=D.numeric.matches,x=D.double.matches,E=D.float.matches,B=D.anyURI.matches,L=D.string.matches;m=D.duration.matches;const H=D.yearMonthDuration.matches,S=D.dayTimeDuration.matches;u=D.QName.matches;const C=D.double.I,Z=D.float.I,K=D.string.I;ma=ma.mapOneToOne(function(X){return O(X)?C(X):X});Q=ma.next();if(null===Q)return Tb;u(Q)&&d(c+"() not defined over QName");!m(Q)||H(Q)||S(Q)||d(c+"() not defined over mixed durations");return Ub(q(ma,Q,function(X,V){(L(X)&&ca(V)||L(V)&& -ca(X))&&d("Cannot compare string with numeric");(H(X)&&!H(V)||S(X)&&!S(V))&&d("Cannot compare mixed durations");if(Nd.itemIsNaN(V))return x(X)?C(V):V;if(Nd.itemIsNaN(X))return x(V)?C(X):X;x(V)&&!L(X)?X=C(X):x(X)&&!L(V)?V=C(V):E(V)&&!L(X)?X=Z(X):E(X)&&!L(V)&&(V=Z(V));B(V)&&L(X)?V=K(V):B(X)&&L(V)&&(X=K(X));try{return n(na(X,V))?X:V}catch(ha){throw ha instanceof J&&"XPTY0004"===ha.code&&(ha.code="FORG0006"),ha;}}))}}function e(c,d){if(2!==d.length&&5!==d.length)throw new J("Wrong number of arguments ("+ -d.length+") for "+c,"XPST0017");}function l(c,d){c=c[0].next();if(null===c)return Tb;if("timezone"===d)return null===c.ta?Tb:Ub(D.dayTimeDuration.Yh(c.ta));if("seconds"===d)return d=gb(c),ac(d.getUTCSeconds()+d.getUTCMilliseconds()/1E3);c=gb(c)[d]();"getUTCMonth"===d&&c++;return Zb(c)}function z(c,d){c=c[0].next();return null===c?Tb:5!==d?Zb(qb(c)[d]*rb(c)):ac(qb(c)[d]*rb(c))}function v(c,d,n){function m(ma,na){return Ub(Sa.codes[d].fromDate(ma,na))}const u=c[0].next();if(!u)return Tb;n=n.fixed.zb.getTimezoneOffset(); -if(c[1]){var Q=c[1].next();c=null!==Q?Q.Ca/6E4:null;if(null!==c&&(-840>c||840{u=Q.evaluate(m?[u,[ma]]:[[ma],u],d,n).expand()});return Pb(u)}let p=null,f=null;const I=fc,D=Sa.XS,r=I.va;return{abs:function(c){c=c[0].next();return null===c?Tb:Ub(c.abs())},"accumulator-after":function(c,d,n){c=a(c[0],d,n,"XTDE3340");return Pb(Rd.dj(n,c,d.getCurrentFocus(),d))},"accumulator-before":function(c,d,n){c=a(c[0],d,n,"XTDE3340");return Pb(Rd.ej(n,c,d.getCurrentFocus(),d))},"adjust-date-to-timezone":function(c,d){return v(c,"AA",d)},"adjust-dateTime-to-timezone":function(c, -d){return v(c,"AM",d)},"adjust-time-to-timezone":function(c,d){return v(c,"AT",d)},"analyze-string":function(c,d){const n=b(c[0]);var m=d.resultDocument.createDocumentFragment();const u=dc.za,Q=d.resultDocument.createElementNS(u,"analyze-string-result");m.appendChild(Q);if(""===n)return Ub(Q);m=c[1].next().toString();c=c[2]?c[2].next().toString():"";ee.kg(n,m,c,!1,!1).forEach(function(ma){let na;if(ma.Ac){let ca;ma=ma.groups;na=d.resultDocument.createElementNS(u,"match");var O=0;for(let x=1;xO&&(O=d.resultDocument.createTextNode(ma[0].substring(O,ca)),na.appendChild(O));O=d.resultDocument.createElementNS(u,"group");O.setAttribute("nr",x);const E=d.resultDocument.createTextNode(ma[x]);O.appendChild(E);na.appendChild(O);O=ca+ma[x].length}Oee.vf(Q,d,u,n,!0,!0));u.close();return m.iter()},count:function(c){return Zb(c[0].count())},"current-date":function(c,d){return Ub(D.Oc.fromDate(d.fixed.zb,-d.fixed.zb.getTimezoneOffset()))},"current-dateTime":function(c,d){return Ub(D.vd.fromDate(d.fixed.zb,-d.fixed.zb.getTimezoneOffset()))},"current-group":function(){throw new J("The current-group() function cannot be invoked dynamicaly","XTDE1061");}, -"current-grouping-key":function(){throw new J("The current-grouping-key() function cannot be invoked dynamicaly","XTDE1071");},"current-merge-group":function(c,d){if(null===d.currentMergeGroup)throw new J("There is no current merge group","XTDE3480");if(c[0]){c=c[0].next().value;if(d=d.currentMergeGroup.groups[c])return Pb(d);throw new J("Unknown merge source "+c,"XTDE3490");}return Pb(d.currentMergeGroup.Ig)},"current-merge-key":function(c,d){if(null===d.currentMergeGroup)throw new J("There is no current merge group", -"XTDE3510");return Pb(d.currentMergeGroup.keys)},"current-output-uri":function(c,d){c=d.getCurrentOutputURI();return null==c||"function"===d.tempOutputState?Tb:Ub(c)},"current-time":function(c,d){return Ub(D.Bf.fromDate(d.fixed.zb,-d.fixed.zb.getTimezoneOffset()))},data:function(c,d){return c[0].mapOneToMany(d.fixed.evaluator.atomize)},dateTime:function(c){const d=c[0].next();c=c[1].next();if(null===d||null===c)return Tb;let n="";if(null!==d.ta)if(null===c.ta)n=jb(d);else if(d.ta!==c.ta)throw new J("timezones are incompatible ", -"FORG0008");return Ub(D.dateTime.fromString(d.toString().substring(0,10)+"T"+c.toString()+n))},"day-from-date":function(c){return l(c,"getUTCDate")},"day-from-dateTime":function(c){return l(c,"getUTCDate")},"days-from-duration":function(c){return z(c,2)},"deep-equal":function(c,d,n){d=Nd.Kb(n,c[2],"equals",d);return bc(Ld(c[0],c[1],d))},"default-collation":function(){return Yb(Nd.Nc)},"default-language":function(){return Ub(D.Xb.fromString("en"))},"distinct-values":function(c,d,n){d=Nd.jf(n,c[1], -d);const m=Nd.Ef(d);return c[0].filter(function(u){if(m.containsKey(u))return!1;m.inSituPut(u,!0);return!0})},doc:function(c,d,n){c=Td.yh(c,d,n);if(null===c)return Ub(null);try{let m=Td.uc(c,d);const u=d.fixed.Ae;u&&(m=u(m));return Ub(m)}catch(m){throw m;}},"doc-available":function(c,d,n){const m=Td.yh(c,d,n);return null===m?bc(!1):Td.Fi(function(){Td.uc(m,d)})},document:function(c,d,n){const m=d.fixed.evaluator;let u,Q;if(c[1]&&(u=I.Za(c[1].next()),!u))throw new J("No base URI available for second argument of document()", -"XTDE1162");u||(Q=m.staticBaseUri(n,d));const ma=d.fixed.Ae;return I.Vc(c[0].mapOneToMany(function(na){const O=u?u:I.Q(na)?I.Za(na):Q;return m.atomize(na).mapOneToOne(function(ca){if(null===O)throw new J("No base URI for document('"+ca+"')","XTDE1162");ca=Td.uc(ya.resolveUri(ca.toString(),O),d);null!==ma&&(ca=ma(ca));return ca})}))},"document-uri":function(c){c=c[0].next();return null!==c&&9===c.nodeType&&c._saxonDocUri?Ub(D.anyURI.fromString(c._saxonDocUri)):Tb},"element-available":function(c,d, -n){c=a(c[0],d,n,"XTDE1440","##local").split("}");if(d="http://www.w3.org/1999/XSL/Transform"===c[0].substring(2))null==f&&(f=ya.resource("elements")),f[c[1]]||(d=!1);return bc(d)},"element-with-id":function(c,d){return A(c,d,"element-with-id")},empty:function(c){return bc(null===c[0].next())},"encode-for-uri":function(c){c=encodeURIComponent(b(c[0])).replace(/[!'()*]/g,function(d){return"%"+d.charCodeAt(0).toString(16).toUpperCase()});return Yb(c)},"ends-with":function(c,d,n){const m=b(c[0]),u=b(c[1]); -c=Nd.Kb(n,c[2],"endsWith",d);return bc(c(m,u))},"environment-variable":function(){return Tb},error:function(c){if(void 0===c[0])throw new J("fn:error() invoked","FOER0000");var d=c[0].next();d=d?d.toEQName():"FOER0000";const n=c[1]?b(c[1]):"";d=new J(n,d);c[2]&&(d.errorObject=c[2].next());throw d;},"escape-html-uri":function(c){return Yb(ld.escape(b(c[0]),function(d){return 32>d||126Pb(u.get(m.atomize(Q).next())));if(u instanceof id)return c[0].mapOneToMany(function(Q){Q=m.atomize(Q).next();Q=D.numeric.matches(Q)? -Q.toNumber():D.double.I(Q).toNumber();return Pb(u.get(Q))});Aa.fa("for-each() function object not instance of XdmFunction | XdmArray | XdmMap")},"for-each-pair":function(c,d,n){let m=c[2].expand();if(1!==m.length)throw new J("for-each-pair() must have exactly one function item as the third argument. Supplied length "+m.length,"XPTY0004",n);m=m[0];m instanceof jd.XdmFunction||Aa.fa("Function object not instance of XdmFunction");let u=[];const Q=c[0];c=c[1];let ma=Q.next(),na=c.next();for(;ma&&na;)u= -u.concat(m.evaluate([[ma],[na]],d,n).expand()),ma=Q.next(),na=c.next();return Pb(u)},"function-arity":function(c){c=c[0].next();return Ub(D.integer.fromNumber(c instanceof lc||c instanceof id?1:c.arity))},"function-available":function(c,d,n){let m=!1;const u=a(c[0],d,n,"XTDE1400",dc.za),Q=c[1]?c[1].next().toNumber():-1,ma=d.fixed.xa;Object.keys(ma).forEach(function(na){na=ma[na];na.name===u&&na.actor&&"function"===na.actor.N&&(0>Q?m=!0:(na=ld.db(na.actor,"arg").length,Q===na&&(m=!0)))});m||(c=D.QName.fromEQName(u), -null==p&&(p=ya.resource("functions")),m=(d=p[c.q])&&d[c.local]?"concat"===c.local&&c.q===dc.za&&(-1===Q||2<=Q)?!0:0<=Q?0<=d[c.local].indexOf(Q):!0:!1);return bc(m)},"function-lookup":function(c,d,n){const m=c[0].next();c=c[1].next().toNumber();var u=Pd.find("SaxonJS").XPath;const Q=d.newContext(!0);Q.Pa=!0;u=u.getFnSignature(m,c,Q);if(!u)return Tb;d=u.isUserFunction?new jd.Vf(u,d):m.q===dc.ac?new jd.Qf(u,m,n):new jd.Ge(u,m,c,n,d);return Ub(d)},"function-name":function(c){c=c[0].next();if(!(c instanceof -jd.XdmFunction))throw new J("Input to function-name() is not an XdmFunction ","XXXX9999");return c.Wb()&&c.Wb().q!==dc.Zg?Ub(c.Wb()):Tb},"generate-id":function(c){c=c[0].next();return Yb(c?h(c):"")},"has-children":function(c){return bc(null!==r.wa(c[0].next()).next())},head:function(c){return Ub(c[0].next())},"hours-from-dateTime":function(c){return l(c,"getUTCHours")},"hours-from-duration":function(c){return z(c,3)},"hours-from-time":function(c){return l(c,"getUTCHours")},id:function(c,d){return A(c, -d,"id")},idref:function(){return Tb},"implicit-timezone":function(c,d){return Ub(D.dayTimeDuration.Yh(-d.fixed.zb.getTimezoneOffset()))},"index-of":function(c,d,n){const m=Xb(c[0]),u=c[1].next();c=Nd.Kb(n,c[2],"equals",d);const Q=Nd.rj(c);return m.mapOneToOne(function(ma){try{return Q(ma,u)?D.integer.fromNumber(m.position):null}catch(na){return null}})},innermost:function(c,d,n){const m=d.fixed.evaluator.qb(n,"p")?c[0]:I.Vc(c[0]);return new Rb(function*(){let u=null,Q;for(;null!=(Q=m.next());)if(u)if(r.Lc(Q).some(ma=> -ma===u))u=Q;else{const ma=u;u=Q;yield ma}else u=Q;u&&(yield u)}())},"in-scope-prefixes":function(c){c=c[0].next();return Pb(I.inScopeNamespaces(c).map(function(d){return D.string.fromString(d.prefix)}))},"insert-before":function(c){const d=c[1].next().value,n=c[2],m=Xb(c[0]);return 1>d?Vb([n,m]):d>m.last()?Vb([m,n]):m.mapOneToMany(function(u){return m.position===d?Vb([c[2],Ub(u)]):Ub(u)})},"iri-to-uri":function(c){return Yb(ld.escape(b(c[0]),function(d,n){return 32>=d||126"{}|\\^`]/.test(n)}))}, -"json-doc":function(c,d,n){n=Td.Xe(c,d,n);if(!n)return Tb;n=Td.wj(n,d);c=c[1]?c[1].next():null;return Ub(Sd.Gd(n,c,d))},"json-to-xml":function(c,d,n){const m=d.fixed.evaluator;var u=c[0].next();if(null===u)return Tb;c=c[1]?c[1].next():null;u=Sd.mk(u.toString(),c,d);c=d.resultDocument.createDocumentFragment();c.appendChild(u);c._saxonBaseUri=m.staticBaseUri(n,d);return Ub(c)},key:function(c,d,n){function m(V){V=S?D.string.I(V):V;return H.containsKey(V)?(V=Pb(H.get(V)),B===E?V:V.filter(function(ha){return null!== -r.Ka(ha).filter(function(w){return w===E}).next()})):Tb}function u(V){return{visibility:"PRIVATE",La:V,zi:na,actor:V,$e:V.binds.split(" ").map(function(ha){return parseInt(ha,10)})}}const Q=d.fixed.evaluator;var ma=a(c[0],d,n,"XTDE1260");const na=Q.fe(n,d),O=na.keys[ma];if(!O)throw new J("Unknown key "+ma,"XTDE1260");const ca=O.Wg,x=Q.qb(O.Dd[0],"c");let E,B;if(c[2])E=c[2].next(),I.Q(E)&&(B=I.ic(E));else{var L=d.getCurrentFocus();I.Q(L)&&(B=E=I.ic(L))}if(!B||9!==B.nodeType&&11!==B.nodeType)throw new J("No containing document for key()", -"XTDE1270",n);"_saxonIndexes"in B||(B._saxonIndexes={},B._saxonIndexesBC={});n=B._saxonIndexes;let H=n[ca];if("under construction"===H)throw new J("Definition of key "+ma+" is circular","XTDE0640");let S=!1;if(H)S=B._saxonIndexesBC[ca];else{ma=Nd.jf(O.Dd[0],null,d);H=Nd.Ef(ma,x);n[ca]="under construction";ma=function(ha){return Vb([r.xf(ha),r.namespace(ha),r.attribute(ha)])};L=function(ha){return Vb([r.xf(ha),r.attribute(ha)])};const V=function(ha){return Vb([r.xf(ha),r.namespace(ha)])};for(let ha= -0;haH.get(Y).indexOf(y)&&(H.get(Y).push(y),1c.length+1&&d.substring(0,c.length)===c&&"-"===d.charAt(c.length))},last:function(c,d){d.failIfNoCurrentFocus("XPDY0002","last()");return Zb(d.focus.last())},"load-xquery-module":function(){throw new J("No XQuery processor available","FOQM0006");},"local-name":function(c){c= -I.X(c[0].next());return Yb(c?c.local:"")},"local-name-from-QName":function(c){c=c[0].next();return null===c?Tb:Ub(Sa.type.NCName.fromString(c.local))},"lower-case":function(c){return Yb(b(c[0]).toLowerCase())},matches:function(c){const d=b(c[0]);var n=c[1].next().toString();c=Ma.Yg(c[2]?c[2].next().toString():"");n=Ma.prepareRegex(n,c,d);return bc(0<=d.search(n))},max:g("max"),min:g("min"),"minutes-from-dateTime":function(c){return l(c,"getUTCMinutes")},"minutes-from-duration":function(c){return z(c, -4)},"minutes-from-time":function(c){return l(c,"getUTCMinutes")},"month-from-date":function(c){return l(c,"getUTCMonth")},"month-from-dateTime":function(c){return l(c,"getUTCMonth")},"months-from-duration":function(c){return z(c,1)},name:function(c){c=I.X(c[0].next());return Yb(c?c.toString():"")},"namespace-uri":function(c){c=I.X(c[0].next());return Ub(D.anyURI.fromString(c?c.q:""))},"namespace-uri-for-prefix":function(c){var d=b(c[0]);c=c[1].next();d="xml"===d?dc.oc:kc(c,""===d?null:d);return null!== -d?Ub(D.anyURI.fromString(d)):Tb},"namespace-uri-from-QName":function(c){c=c[0].next();return null===c?Tb:Ub(D.anyURI.fromString(c.q))},nilled:function(c){return(c=c[0].next())&&1===c.nodeType?bc(!1):Tb},"node-name":function(c){return Ub(I.X(c[0].next()))},"normalize-space":function(c){c=b(c[0]);return Yb(Da(c))},"normalize-unicode":function(c){if(String.prototype.normalize){const d=b(c[0]);c=c[1]?c[1].next().toString().toUpperCase().trim():"NFC";if(["NFC","NFD","NFKC","NFKD"].includes(c))return Yb(d.normalize(c)); -if(""===c)return Yb(d)}throw new J("normalize-unicode(): not supported on this Javascript platform","FOCH0003");},not:function(c,d){return bc(!d.fixed.evaluator.wd(c[0]))},number:function(c){return Ub(Sa.XS.numeric.Fd(c[0].next()))},"one-or-more":function(c){c=Kb(c[0]);if(null===c.ma())throw new J("Required length >= 1, actual length zero","FORG0004");return c},outermost:function(c,d,n){d=d.fixed.evaluator.qb(n,"p");c=c[0];d||(c=I.Vc(c));let m=null;return c.filter(function(u){if(null===m)return m= -u,!0;if(r.Lc(u).some(Q=>Q===m))return!1;m=u;return!0})},"parse-ietf-date":function(c){return c[0].mapOneToOne(function(d){function n(E){return 1===E.length?"0"+E:E}function m(){throw new J("Invalid IETF date/time "+d.toString(),"FORG0010");}var u=d.toString().trim().toLowerCase();u=u.replace(/^(monday|tuesday|wednesday|thursday|friday|saturday|sunday|mon|tue|wed|thu|fri|sat|sun),?\s+/,"");let Q;let ma,na;if(/^[a-z]/.test(u))if(Q=/^([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?\s+(\d+)$/, -u=Q.exec(u),null!==u){var O=u[1];var ca=u[2];na=u[3];var x=u[4];ma=u[5]}else m();else Q=/^(\d+)(?:\s*-\s*|\s+)([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?$/,u=Q.exec(u),null!==u?(ca=u[1],O=u[2],ma=u[3],na=u[4],x=u[5]):m();2===ma.length&&(ma="19"+ma);O="jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec".indexOf(O||"*");0>O&&m();u={ut:"Z",utc:"Z",gmt:"Z",est:"-05:00",edt:"-04:00",cst:"-06:00",cdt:"-05:00",mst:"-07:00",mdt:"-06:00",pst:"-08:00", -pdt:"-07:00"};/^[0-9]:/.test(na)&&(na="0"+na);5===na.length&&(na+=":00");x&&(x=/([a-z]+)|([+\-]\d\d?:?(?:\d\d)?)(?:\s*\(\s*([a-z]+)\s*\))?$/.exec(x),(!x[3]||x[3]in u)&&(!x[1]||x[1]in u)||m(),x=x[1]?x[1]:x[2],/^[+\-][0-9]((:|$)|[0-9]{2}$)/.test(x)&&(x=x.charAt(0)+"0"+x.substring(1)),x in u?x=u[x]:3===x.length?x+=":00":4===x.length?x+="00":5===x.length&&(x=x.substring(0,3)+":"+x.substring(3)));ca=ma+"-"+n((O/4+1).toString())+"-"+n(ca)+"T"+na+(x||"Z");try{return D.dateTime.fromString(ca)}catch(E){throw new J("''"+ -d.toString()+"'' is not a valid IETF date","FORG0010");}})},"parse-json":function(c,d){const n=c[0].next();if(null===n)return Tb;c=c[1]?c[1].next():null;return Ub(Sd.Gd(n.toString(),c,d))},"parse-xml":function(c,d,n){c=c[0].next();if(null===c)return Tb;const m=d.fixed.evaluator;try{const u=ya.parseXmlFromString(c.toString());u._saxonBaseUri=m.staticBaseUri(n,d);return Ub(u)}catch(u){throw new J(u.message,"FODC0006");}},"parse-xml-fragment":function(c,d,n){const m=d.fixed.evaluator;return c[0].mapOneToOne(function(u){const Q= -/^<\?xml(?:\s+version\s*=\s*(['"])1.[0-9]+['"])?\s+encoding\s*=\s*(['"][A-Za-z](?:[A-Za-z0-9._\-])*)['"]\s*\?>/;u=u.toString();if(/^<\?xml/.test(u)&&!Q.test(u))throw new J("Invalid XML header for a text declaration","FODC0006");u=u.replace(Q,"");let ma;try{ma=ya.parseXmlFromString(""+u+"")}catch(O){throw new J(O.message,"FODC0006");}const na=d.resultDocument.createDocumentFragment();r.wa(ma.documentElement).forEachItem(function(O){na.appendChild(O)});na._saxonBaseUri=m.staticBaseUri(n,d);return na})}, -path:function(c){return c[0].mapOneToOne(function(d){function n(m){return r.Dc(m).filter(function(u){return m.nodeType===u.nodeType})}return D.string.fromString(function(m){if([9,11].includes(m.nodeType))return"/";let u="",Q=m;for(;Q;){m=I.Oa(Q);if(!m)return[9,11].includes(Q.nodeType)?u:"Q{http://www.w3.org/2005/xpath-functions}root()"+u;switch(Q.nodeType){case 9:case 11:return u;case 1:const ma=I.X(Q);u=`/${ma.toEQName()}[${1+n(Q).filter(na=>I.X(na).equals(ma)).count()}]${u}`;break;case 3:case 4:u= -`/text()[${1+n(Q).count()}]`;break;case 8:u=`/comment()[${1+n(Q).count()}]`;break;case 7:u=`/processing-instruction(${Q.target})[${1+n(Q).filter(na=>Q.target===na.target).count()}]`;break;case 2:u=`/@${0>Q.name.indexOf(":")?Q.name:I.X(Q).toEQName()}`;break;default:u=`/namespace::${""!==Q.prefix?Q.prefix:"*[Q{"+dc.za+'}local-name()=""]'}`}Q=m}}(d))})},"prefix-from-QName":function(c){return c[0].mapOneToOne(function(d){return""===d.prefix?null:D.jh.fromString(d.prefix)})},position:function(c,d){d.failIfNoCurrentFocus("XPDY0002", -"position()");return Zb(d.focus.position)},QName:function(c){var d=c[1].next().value;const n=d.split(":"),m=2===n.length?n[0]:"";c=b(c[0]);if(""!==m&&""===c)throw new J("Prefix but no URI for QName()","FOCA0002");if(2===n.length&&""===m||""!==m&&!Ma.isNCName(m))throw new J(d+" not valid for QName()","FOCA0002");d=2===n.length?n[1]:n[0];if(!Ma.isNCName(d))throw new J(d+" not valid local name for QName()","FOCA0002");return Ub(D.QName.fromParts(m,c,d))},"random-number-generator":function(c,d){c=new lc; -c.inSituPut(D.string.fromString("number"),[D.double.fromNumber(Math.random())]);var n=D.QName.fromParts("fn",dc.za,"random-number-generator"),m=Pd.find("SaxonJS").XPath,u=m.getFnSignature(n,0,d);n=new jd.Ge(u,n,0,{},d);c.inSituPut(D.string.fromString("next"),[n]);n=D.QName.fromParts("saxon",dc.ib,"permute");u=d.newContext();u.Pa=!0;m=m.getFnSignature(n,1,u);d=new jd.Ge(m,n,1,{},d);c.inSituPut(D.string.fromString("permute"),[d]);return Ub(c)},"regex-group":function(c,d){c=c[0].next().toNumber();try{return Yb(d.regexGroups[c]|| -"")}catch(n){return Yb("")}},remove:function(c){const d=c[1].next().toNumber(),n=Xb(c[0]);return n.filter(function(){return n.position!==d})},replace:function(c){const d=b(c[0]),n=Ma.Yg(c[3]?c[3].next().toString():"");let m=0;const u=Ma.prepareRegex(c[1].next().toString(),n+"g",null,Q=>{m=Q});if(u.test(""))throw new J("Regular expression matches zero-length string","FORX0003");c=Ma.nj(c[2].next().toString(),n,m);return Yb(d.replace(u,c))},"resolve-QName":function(c){const d=c[1].next();return c[0].mapOneToOne(function(n){try{return I.sk(d, -n.toString(),!0)}catch(m){throw m instanceof J&&"FORG0001"===m.code&&(m.code=Ma.ji(n)?"FONS0004":"FOCA0002"),m;}})},"resolve-uri":function(c,d,n){const m=d.fixed.evaluator;if(c[1]){let u=c[1].next();d=u?u.toString():m.staticBaseUri(n,d)}else d=m.staticBaseUri(n,d);c=c[0].next();if(null===c)return Tb;c=c.toString();n=I.Wc(c);if(null!==d&&(d=d.replace(/^file:\/(?!\/)/,"file:///"),/#/.test(d)))throw new J("Base URI "+d+" contains a fragment identifier","FORG0002");if(!n&&null!==d&&!I.Wc(d))throw new J("resolve-uri: invalid URI (base="+ -d+", relative="+c+")","FORG0002");c=n?c:ya.resolveUri(c,d).toString();return Ub(D.anyURI.fromString(c))},reverse:function(c){return Pb(c[0].expand().slice().reverse())},root:function(c){return c[0].mapOneToMany(d=>r.Ka(d)).filter(d=>!I.Oa(d))},round:function(c){return c[0].mapOneToOne(d=>d.round(c[1]?Math.min(c[1].next().value,1E4):0))},"round-half-to-even":function(c){return c[0].mapOneToOne(d=>d.wf(c[1]?Math.min(c[1].next().value,1E4):0))},"seconds-from-dateTime":function(c){return l(c,"seconds")}, -"seconds-from-duration":function(c){return z(c,5)},"seconds-from-time":function(c){return l(c,"seconds")},serialize:function(c,d){function n(Q){Q.method="xml";Q.indent=!1;Q["omit-xml-declaration"]=!0}const m=new le.StringWriter,u={};if(c[1]){const Q=c[1].next();if(null===Q)n(u);else if(fc.Q(Q)){if(!fc.Hg(Q))throw new J("Second argument supplied to serialize() is wrong kind of node","XPTY0004");le.parseParamDoc(Q,u,"XPTY0004")}else{if(!(Q instanceof lc))throw new J("Second argument supplied to serialize() does not match required type", -"XPTY0004");const ma=function(na,O,ca,x,E=!1){const B=Sa.XS.string.fromString(na);if(Q.containsKey(B)){let L=Q.get(B);if(0H.push(S));L=H}else throw new J("fn:serialize(): supplied value of "+B+" is invalid","XPTY0004");if(1!==L.length&&!ca&&!E||!L.every(H=>"AZ"===H.code||O.matches(H)))throw new J("fn:serialize(): supplied value of "+B+" is invalid","XPTY0004");u[na]=E&&0===L.length?null:x(ca?L:"AZ"===L[0].code?O.I(L[0]):L[0])}};"doctype-public doctype-system encoding item-separator json-node-output-method media-type method normalization-form version".split(" ").forEach(na=> -ma(na,Sa.XS.string,!1,O=>O.toString()));"allow-duplicate-names byte-order-mark escape-uri-attributes include-content-type indent omit-xml-declaration undeclare-prefixes".split(" ").forEach(na=>ma(na,Sa.XS.boolean,!1,O=>O.toBoolean()));ma("standalone",Sa.XS.boolean,!1,na=>na.toBoolean(),!0);ma("html-version",Sa.XS.$a,!1,na=>na.toNumber());["cdata-section-elements","suppress-indentation"].forEach(na=>ma(na,Sa.XS.QName,!0,O=>{let ca="";for(let x=0;xE instanceof lc))throw new J("fn:serialize(): supplied value of "+O+" is invalid","XPTY0004");ca=ca[0];var x=function(E){return D.string.matches(E)};if(!ca.conforms(x,x,function(E){return 1===E}))throw new J("fn:serialize(): supplied value of "+O+" is invalid","XPTY0004");O=ld.nb(ca,!0);ca={min:0,max:0,oa:{}};for(let E in O)if(O.hasOwnProperty(E)){if(1< -E.length)throw new J("fn:serialize(): Keys in a character map must all be one-character strings. Found "+E,"SEPM0016");x=E.codePointAt(0);0===ca.min?ca.min=x:xca.max&&(ca.max=x);ca.oa[x]=O[E]}u[na]=ca}})("use-character-maps")}}else n(u);le.serialize(c[0].expand(),u,m,d);return Yb(m.toString())},snapshot:function(c,d,n){return c[0].mapOneToOne(function(m){function u(L){if(0ma.append(S));0ma.append(S));r.namespace(ca).forEachItem(S=>ma.append(S))},ma):ee.vf(m,d,ma,n,!0,!0),E=Q.ec.lastChild)},ma)}}const Q=ae(d),ma=ee.getComplexContentOutputter(Q);if(!I.Oa(m))return ee.vf(m,d,ma,n,!0,!0),ma.close(),Q.iter().next();const na=m.nodeType,O=I.X(m);var ca=m,x=[2,13].includes(na);x&&(ca=I.Oa(ca));ma.startDoc();let E;const B=r.Lc(ca).expand();0I.X(L).equals(O)).next();case 13:return I.va.namespace(E).filter(L=>I.X(L).equals(O)).next();default:return E}})},sort:function(c,d,n){const m=Nd.jf(n,c[1],d);let u=ld.atomize;if(c[2]){const Q=c[2].next();u=function(ma){return Q.evaluate([[ma]],d,n)}}return Pb(c[0].expand().slice().sort(function(Q,ma){return c[1]?Od(u(Q),u(ma),m):Od(u(Q),u(ma))}))},"starts-with":function(c,d,n){const m=b(c[0]),u=b(c[1]);c=Nd.Kb(n,c[2],"startsWith",d);return bc(c(m, -u))},"static-base-uri":function(c,d,n){return(c=d.fixed.evaluator.staticBaseUri(n,d))?Ub(D.anyURI.fromString(c)):Tb},"stream-available":function(){return bc(!1)},string:function(c,d){d=d.fixed.evaluator;c=c[0].next();if(!c)return Yb("");if(d.isArray(c)||d.pe(c)||d.Bd(c))throw new J("Input to string() is a function item ","FOTY0014");return d.atomize(c).mapOneToOne(function(n){return D.string.I(n)})},"string-join":function(c){let d="";const n=c[1]?c[1].next().value:"";let m,u=!0;for(;null!==(m=c[0].next());)u|| -(d+=n),d+=m.toString(),u=!1;return Yb(d)},"string-length":function(c){return Zb(Ia(b(c[0])).length)},"string-to-codepoints":function(c){return Pb(Ia(b(c[0])).map(D.integer.fromNumber))},subsequence:function(c){const d=Math.round(c[1].next().toNumber()),n=c[2]?d+Math.round(c[2].next().toNumber()):Number.POSITIVE_INFINITY;return new Sb(c[0],d,n)},substring:function(c){var d=Math.round(c[1].next().toNumber());const n=c[2]?d+Math.round(c[2].next().toNumber()):Number.POSITIVE_INFINITY;c=new Rb(b(c[0])[Symbol.iterator]()); -d=new Sb(c,d,n);return Yb(d.expand().join(""))},"substring-after":function(c,d,n){let m="";const u=b(c[0]),Q=b(c[1]);let ma;-1!==(ma=Nd.Kb(n,c[2],"indexOf",d)(u,Q))&&(m=u.substring(ma+Q.length));return Yb(m)},"substring-before":function(c,d,n){let m="";const u=b(c[0]),Q=b(c[1]);let ma;-1!==(ma=Nd.Kb(n,c[2],"indexOf",d)(u,Q))&&(m=u.substring(0,ma));return Yb(m)},sum:function(c,d){d=c[0].mapOneToOne(d.fixed.evaluator.Si);const n=d.next();if(null===n)return 1===c.length?Zb(0):c[1];try{return tb["a+a"](n, -n),Ub(q(d,n,tb["a+a"]))}catch(m){throw m instanceof J&&"XPTY0004"===m.code&&(m.code="FORG0006"),m;}},"system-property":function(c,d,n){c=D.QName.fromEQName(a(c[0],d,n,"XTDE1390"));d="";c.q===dc.Jc&&(d=ya.systemProperties()[c.local]);c.q===dc.ib&&(d=ya.extraProperties()[c.local]);d||="";return Yb(d)},tail:function(c){const d=Xb(c[0]);return d.filter(function(){return 1!==d.position})},"timezone-from-date":function(c){return l(c,"timezone")},"timezone-from-dateTime":function(c){return l(c,"timezone")}, -"timezone-from-time":function(c){return l(c,"timezone")},tokenize:function(c){var d=b(c[0]);c[1]||(d=Da(d));if(""===d)return Tb;var n=c[1]?c[1].next().toString():"[ \\n\\r\\t]+";n=ee.kg(d,n,c[2]?c[2].next().toString():"",!1,!0);d=c[1]&&n[0].Ac;const m=n[n.length-1];c=c[1]&&m.Ac;n=n.filter(function(u){return!u.Ac}).map(function(u){return u.string});d&&n.unshift(D.string.fromString(""));c&&n.push(D.string.fromString(""));return Pb(n)},trace:function(c,d){const n=c[0].expand();Aa.Qa("fn:trace: "+(2=== -c.length?c[1].next().toString()+": ":"")+Aa.showValue(n),1,d.fixed.Ga);return Pb(n)},transform:function(c,d,n){function m(pa){pa=D.string.fromString(pa);return Z.get(pa)}function u(pa,k="FOXT0002"){throw new J(pa,k);}function Q(pa,k,F=null){if("matches"in k&&"name"in k){if(k.matches(pa))return pa;throw new J(null!==F?`The required item type of ${F} is ${k.name}`:`The required item type is ${k.name}`,"XPTY0004");}return pa}function ma(pa,k){if(Oa(pa))return pa;throw new J(`The required item type of ${k} is string|unTypedAtomic|anyURI`, -"XPTY0004");}function na(pa,k,F=T=>T){(pa=m(pa))&&(pa=Pb(pa).ma())&&(K[k]=F(pa))}function O(pa){return function(k){k instanceof lc||u("The value of the option "+pa+" in fn:transform() must be of type map(xs:QName,item()*)","XPTY0004");if(k.conforms(F=>{D.QName.matches(F)||u("The keys of the "+pa+" option in fn:transform() must be of type xs:QName. Supplied value:"+F.toString());return!0},()=>!0,()=>!0))return k}}function ca(pa,k){na(pa,k,O(pa))}function x(pa){pa.C&&pa.C.forEach(function(k){k.parentNode= -pa;x(k)})}function E(pa,k,F){if(!S.N)throw new J("No XSLT processor is available to support fn:transform(). If using SaxonJS2.rt.js, it does not contain an XSLT compiler ","FOXT0001",n);let T={stylesheetParams:new lc,tunnelParams:{},functionParams:{},isDynamicStylesheet:!0,destination:"application",initialMode:"compile-complete",templateParams:{"Q{}options":{noXPath:!1}}};for(let t in k)"compiler.options"===t?T.tunnelParams["Q{}compiler.options"]=k[t]:T.templateParams["Q{}options"][t]=k[t];T.stylesheetParams.inSituPut(Sa.XS.QName.fromParts("", -"","staticParameters"),[F]);T.stylesheetInternal=S;T.outputProperties={};x(S);"true"===S.relocatable&&(T.isRelocatableStylesheet=!0);k=L.checkOptions(T);L.internalTransform(S,pa,k);return k.principalResult}function B(pa){pa=H.atomize(pa).expand();if(1ma(B(pa),"stylesheet-location").toString());na("stylesheet-node","stylesheetNode");na("stylesheet-text","stylesheetText");na("package-location","packageLocation",pa=>ma(B(pa),"package-location").toString());na("package-node","packageNode");na("package-text","packageText");let ha=0;"stylesheetLocation stylesheetNode stylesheetText packageLocation packageNode packageText".split(" ").forEach(pa=>{K[pa]&&ha++});1!==ha&&u("A stylesheet must be supplied as an option to fn:transform(), by exactly one of 'stylesheet-location', 'stylesheet-node', 'stylesheet-text', 'package-location', 'package-node' or 'package-text'"); -na("source-node","sourceNode");na("global-context-item","globalContextItem");(c=m("source-node")[0])&&!m("global-context-item")[0]&&I.Oa(c)&&(K.globalContextItem=c.ownerDocument);(c=m("initial-match-selection"))&&0Q(pa,D.QName,"initial-template").toEQName());na("initial-mode","initialMode",function(pa){return["#unnamed","#default"].includes(pa.toString())?pa.toString():Q(pa,D.QName,"initial-mode").toEQName()});na("initial-function", -"initialFunction",pa=>Q(pa,D.QName,"initial-function").toEQName());na("static-params","staticParams");na("base-output-uri","baseOutputURI");na("stylesheet-base-uri","stylesheetBaseURI",pa=>pa.toString());na("delivery-format","destination",pa=>pa.toString());let w=K.destination;w&&!["raw","document","serialized"].includes(w)&&u("The value of the delivery-format option to fn:transform() must be one of 'raw', 'document' or 'serialized'. Supplied value is "+w);w||="document";c=(c=m("enable-messages"))&& -1===c.length?c[0].toBoolean():!1;let M=m("enable-assertions");M=M&&1===M.length?M[0].toBoolean():!1;var aa=null,ja=null;if(K.stylesheetNode){var Y=K.stylesheetNode._saxonBaseUri||"NoStylesheetBaseURI";if(9==K.stylesheetNode.nodeType)ja=K.stylesheetNode.cloneNode(!0);else if(11==K.stylesheetNode.nodeType){ja=ya.createDocument();var y=K.stylesheetNode.childNodes;for(var da=0;da10*X&&u("No suitable XSLT processor is available; requested XSLT version in fn:transform() is: "+ -(V/10).toString());K.sourceNode&&K.initialSelection&&u("Only one of 'source-node' or 'initial-match-selection' must be supplied to fn:transform() for apply-templates invocation");K.initialTemplate&&K.initialMode&&u("Only one of 'initial-template' or 'initial-mode' should be supplied to fn:transform()");if(K.sourceNode){V=K.sourceNode;var W=V.cloneNode(!0);W._saxonBaseUri=V._saxonBaseUri;W._saxonDocUri=V._saxonDocUri}K.baseOutputURI||(K.baseOutputURI="",C=!0);ca("stylesheet-params","stylesheetParams"); -ca("template-params","templateParams");ca("tunnel-params","tunnelParams");na("function-params","functionParams",function(pa){Aa.ba(pa instanceof id);return pa.value});"serialized"===w&&na("serialization-params","outputProperties",pa=>H.nb(pa,!0));K.deliverResultDocument=function(){let pa=this;return new ne(w,function(k,F){pa.resultDocuments[k.toString()]="serialized"===w?[Sa.XS.string.fromString(F)]:fc.Q(F)?[F]:null===F?[]:F})};K.deliverMessage=function(pa){ya.ei()(pa);this.ri.push([pa])};let ka= -{};V=Pb(m("collections")).ma();null!==V&&(ka=H.nb(V,!0));K.collectionFinder=function(pa){return"undefined"===typeof pa?null:ka[pa]};V=!["raw","serialized"].includes(w);let ea,va;try{x(aa);"true"===aa.relocatable&&(K.isRelocatableStylesheet=!0);if(K.stylesheetNode||K.packageText||K.packageNode)K.stylesheetInternal=aa;va=L.checkOptions(K);L.internalTransform(aa,W,va);ea=va.principalResult}catch(pa){if(pa instanceof J&&pa.Le)throw new J(pa.message,pa.code.toString());throw pa;}if(ea&&V){Aa.ba(Array.isArray(ea)); -W=ae(d);const pa=ee.getComplexContentOutputter(W);pa.startDoc();ea.forEach(k=>pa.append(k));pa.endDoc();pa.close();ea=W.kd}Array.isArray(ea)&&1===ea.length&&Array.isArray(ea[0])&&(ea=ea[0]);W=va.resultDocuments[""];if(void 0!==W){if(Array.isArray(ea)?0=q.length){for(;G=g.length){for(;v=e(q[v],g[G])?l(q[v++]):l(g[G++]);return z}function h(q,g){return g.fixed.evaluator.db(q,"sortKey").map(function(e){return Nd.zk(e,g)})}function A(q){return function(g,e){for(let l=0;ll){v={Ig:[p.item],keys:p.keys,groups:{}};for(l=0;lnew Rb(function*(){for(const t of F){const R=t(T);let U;for(;null!==(U=R.next());)yield U}}())}function h(k){function F(ia){switch(ia){case 1:return"first";case 2:return"second";case 3:return"third";default:return ia+"th"}}k=k.split("|");const T=k[0],t=k[1],R=""===k[2]?"XPTY0004":k[2],U=k[3];return{gd:function(){switch(parseInt(T,10)){case 0:return F(+t+1)+" argument of "+(""===U?"anonymous function":U+"()");case 1:return F(+t+ -1)+" operand of '"+U+"'";case 9:return"operand of '-'";case 2:return"value in '"+U+"' expression";case 3:return"saxon:context-item"===U?"context item":"value of variable $"+U;case 4:const ia=U.split("/");return"@"+ia[1]+" attribute of "+("LRE"===ia[0]?"a literal result element":ia[0]);case 5:return"result of call to "+(""===U?"anonymous function":"function "+U);case 7:return"result of template "+U;case 6:return F(+t+1)+" sort key";case 8:return"value of parameter $"+U;case 11:return"value of the grouping key"; -case 12:return"result of xsl:evaluate";case 13:return"the context item";case 14:return"the context item for the "+"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")[t]+" axis";case 15:return"the value of the "+U+" option";case 17:return"document-order sorter";default:return""}}(),code:R}}function A(k){k=k.trim();if(["true","yes","1"].includes(k))return!0;if(["false", -"no","0"].includes(k))return!1;throw new J("Value must be yes|true|1 or no|false|0","XTDE0030");}function P(k){if(W.Q(k))return Ub(q(k));if(K(k))return Vb(k.value.map(F=>Pb(F))).mapOneToMany(P);if(V(k))throw new J("Cannot atomize a "+(X(k)?"map":"function"),"FOTY0013");return Ub(k)}function q(k){const F=ea.string.fromString,T=ea.untypedAtomic.fromString;switch(k.nodeType){case 9:return T(k.documentElement.textContent);case 11:case 1:case 3:case 4:return T(k.textContent||"");case 2:return T(k.value); -case 8:return F(k.textContent);case 7:return F(k.textContent);case 13:return F(k.q);default:throw new J("Unknown node type "+k.nodeType,"SXJS0003");}}function g(k){return Pb(k).mapOneToMany(P).expand()}function e(k){function F(R){throw new J("Effective boolean value is not defined for "+R,"FORG0006");}function T(){if(null!==k.next())F("an atomic sequence of length > 1");else return!0}var t=k.next();if(null===t)return!1;if(W.Q(t))return!0;if(Sa.ka(t)){if("AB"===t.code)return T()&&t.toBoolean();if(t.isNumeric())return t= -t.toNumber(),T()&&!isNaN(t)&&0!==t;if(Oa(t))return T()&&0!==t.toString().length;F("type "+Sa.$c(t.code))}else X(t)?F("maps"):K(t)?F("arrays"):V(t)?F("functions"):F("value "+Aa.showValue(t))}function l(k,F){const T=tb["i+i"],t=ea.integer.fromNumber(1);return new Hb(k,R=>{R=T(R,t);return 0T.N===F):[]}function v(k,F,T){k=z(k,"withParam");const t=[new lc,new lc];F.tunnelParams.forAllPairs(U=>t[1].inSituPut(U.k,U.v));const R=F.tempOutputState; -F.tempOutputState="template parameter";k.forEach(function(U){const ia=U.name,ua=Q(U,"t")?1:0;t[ua].inSituPut(Sa.XS.QName.fromEQName(ia),d(U)(F).expand())});F.tempOutputState=R;T.localParams=t[0];T.tunnelParams=t[1]}function G(k){return!/[ \t\r\n]/.test(k)}function p(k,F,T){if(k){k=k.split(/\r?\n/);for(let R=0;R{try{const U=T(R).next(),ia=t(R).next();return null===U||null===ia?null:F(U,ia)}catch(U){C(U,k)}}}function I(k,F){if(F.fixed.staticBaseURI)return F.fixed.staticBaseURI;if(F.fixed.Xc)return null;for(;;){if(k.baseUri)return k.baseUri;k=k.parentNode;if(!k)return null}}function D(k,F,T=!1){var t=W.xc(F.resultDocument).createDocumentFragment();t=W.lc(t);t._saxonBaseUri=I(k, -F);const R=F.newContext(!1);T&&(R.resultDocument=F.masterDocument);kd.bk(t,m(k)(R),R);return t}function r(k){const F=d(k),T=n(k),t=k.op;return R=>{const U=F(R),ia=T(R).expand();R=Nd.be(k.comp,R);return Nd.Ag(U,ia,t,R,k)}}function c(k,F){throw new J("The "+k+" construct is not implemented in SaxonJS","SXJS0002",F);}function d(k){return m(k.C[0])}function n(k){return m(k.C[1])}function m(k){if(k){var F=k.ELAB;F||((F=pa[k.N])||Aa.fa("Unknown expr: "+k.N+" parent="+k.p),F=k.ELAB=F(k));return F}}function u(k, -F){k=k.C||[];for(let T=0;T{const T=ae(F),t=ee.getComplexContentOutputter(T);ee.push(k,F,t);t.close();return T.iter()}}function C(k,F){k instanceof J&&!k.xsltLineNr&&za(k,F);throw k;}function Z(k,F){function T(R){return"Context item for template "+k.name+" must be "+R}if(F.noCurrentFocus()&&-1===k.flags.indexOf("o"))throw new J(T("supplied"),"XTTE3090",k);F.noCurrentFocus()||-1!==k.flags.indexOf("s")||(F.focus={});let t=k.cxt;if(t&&!F.noCurrentFocus()&&!oc(t).ga()(F.getCurrentFocus()))throw new J(T("instance of "+ -oc(t).toString()),"XTTE0590",k);}function K(k){return k instanceof id}function X(k){return k instanceof lc||k instanceof M}function V(k){return k instanceof jd.XdmFunction||K(k)||X(k)}function ha(k){var F=Object.assign(k);F.ELAB=void 0;k.C&&(F.C=k.C.map(T=>ha(T)));return F}function w(k,F,T){Aa.ba(Array.isArray(k));Aa.ba(F instanceof pc);const t=F.T();let R=t.p;if(t.o&&!Kd(t.o)(k.length))throw new J("Supplied value "+Aa.showValue(k)+" does not match required cardinality "+t.o+(T?" in "+T():""),"XPTY0004"); -if(0ia.isNumeric()?ia:U.matches(ia)?Sa.XS.double.I(ia):ia instanceof M?Sa.XS.double.fromString(ia.value.toString()):ia);else{const ia=Sa.codes[R],ua=ia.I;"A"!==R&&(k=k.map(Ba=>U.matches(Ba)?ua(Ba):Ba instanceof M?ia.fromString(Ba.value.toString()):Ba));["AO","AF"].includes(R)&&(k=k.map(Ba=>Ba.isNumeric()?ia.I(Ba):Ba));"AS"===R&&(k=k.map(Ba=>Sa.XS.anyURI.matches(Ba)?ia.I(Ba):Ba))}}else if(F.K.Bd())if(["FM","FA"].includes(R))k= -Y(k);else if(F.K instanceof md){const U=F.K.ga();k.every(ia=>U(ia))||(k=k.map(ia=>{if(U(ia))return ia;if(ia instanceof jd.XdmFunction){var ua=F.K;const Ba=ua.g.length;ua={minArgs:Ba,maxArgs:Ba,sig:ua.ea(),alphaTree:ua.T()};return new jd.gh(ua,ia)}return ia}))}if(!F.matches(k))throw new J("Supplied value "+Aa.showValue(k)+" does not match required type "+F.toString()+(T?" in "+T():""),"XPTY0004");}return k}function M(k){this.value=k}function aa(k){this.value=k}function ja(k){function F(t){switch(typeof t){case "undefined":return[]; -case "string":return ea.untypedAtomic.fromString(t);case "number":return ea.double.fromNumber(t);case "boolean":return ea.boolean.fromBoolean(t);case "function":return new M(t);case "object":if(ea.lg.matches(t)||W.Q(t))return t;if(t instanceof id)return t;if(t instanceof jd.XdmFunction||t instanceof lc)return t;if(t instanceof M)return t;if(t instanceof Date)return ea.dateTime.fromString(t.toISOString());if(Array.isArray(t)){const R=[];t.forEach(function(U){R.push(ja(U))});return new id(R)}return null=== -t?[]:t instanceof aa?t.value:new M(t);default:return new M(t)}}function T(t){const R=[];t.forEach(function(U){U=F(U);Array.isArray(U)&&0===U.length||R.push(U)});return R}if(Array.isArray(k))return T(k);k=F(k);return Array.isArray(k)&&0===k.length?[]:[k]}function Y(k){function F(t){if(t instanceof id){const R=[];t.value.forEach(U=>R.push(T(U)));return new id(R)}if(t instanceof M){const R=t.value;if("object"===typeof R){t=new lc;for(const U in R)if(R.hasOwnProperty(U)){const ia=ja(U)[0],ua=ja(R[U]); -t.inSituPut(ia,Y(ua))}return t}}return t}function T(t){const R=[];t.forEach(function(U){U=F(U);Array.isArray(U)&&0===U.length||R.push(U)});return R}Aa.ba(Array.isArray(k));return T(k)}function y(k,F=!1){function T(R){if(Array.isArray(R))throw new J("convertItem() called for an array","SXJS0004");if(null===R)return null;if(ea.string.matches(R)||ea.anyURI.matches(R)||ea.duration.matches(R)||ea.hexBinary.matches(R)||ea.base64Binary.matches(R)||ea.untypedAtomic.matches(R))return R.toString();if(ea.numeric.matches(R))return R.toNumber(); -if(ea.boolean.matches(R))return R.toBoolean();if(ea.dateTime.matches(R)||ea.Oc.matches(R)||ea.vd.matches(R)||ea.Bf.matches(R)||ea.ci.matches(R)||ea.bi.matches(R)||ea.ai.matches(R)||ea.$h.matches(R)||ea.Zh.matches(R))return R.toString();if(ea.QName.matches(R))return R.toEQName();if(W.Q(R))return R;if(R instanceof id){const U=[];0!==R.value.length&&R.value.forEach(function(ia){U.push(y(ia,F))});return U}if(R instanceof lc){if(F){const U={};R.forAllPairs(function(ia){U[ia.k.toString()]=y(ia.v,F)});return U}return new aa(R)}return R instanceof -aa?R:R instanceof M?R.value:new aa(R)}function t(R){const U=[];if(0===R.length)return null;if(1===R.length)return T(R[0]);R.forEach(function(ia){U.push(T(ia))});return U}return Array.isArray(k)?t(k):T(k)}function da(k){return k.mapOneToMany(function(F){return K(F)?Vb(F.value.map(function(T){return da(Pb(T))})):Ub(F)})}const W=fc,ka=W.va,ea=Sa.XS;let va;const pa={acFnRef:function(k){const F=ea.QName.fromEQName(k.name),T=Pd.find("SaxonJS").XPath;return t=>{t=t.newContext(!0);t.Pa=!0;if(t=T.getFnSignature(F, -1,t))return t=new jd.Qf(t,F,k),Ub(t);throw new J("Reference to an unknown constructor function "+F+"#1","XPST0017",k);}},among:function(k){const F=d(k),T=n(k);return t=>{const R=F(t).next();return T(t).filter(U=>W.isSameNode(U,R))}},analyzeString:S,and:function(k){const F=d(k),T=n(k);return t=>bc(e(F(t))&&e(T(t)))},applyImports:S,applyT:S,arith:function(k){const F=tb[k.calc];F||c("arithmetic ("+k.calc+")",k);const T=f(k,F);return t=>Ub(T(t))},arith10:function(k){function F(U){U=U.next();return null=== -U?ea.double.fromNumber(NaN):Oa(U)?ea.double.hf(U.toString()):ea.double.I(U)}const T=d(k),t=n(k),R=tb[k.calc];return U=>Ub(R(F(T(U)),F(t(U))))},array:function(k){const F=(k.C||[]).map(m);return T=>{const t=F.map(R=>R(T).expand());return Ub(new id(t))}},arrayBlock:function(k){const F=(k.C||[]).map(m);return T=>{const t=F.map(R=>R(T).expand());return Ub(new id(t))}},atomic:function(k){const F=Sa.codes[k.type].fromString(k.val);return()=>Ub(F)},atomSing:function(k){const F=d(k);return k.card?T=>F(T).mapOneToMany(P): -T=>{T=F(T).mapOneToMany(P);T=Kb(T);if(null===T.ma())throw T=h(k.diag),new J("The "+T.gd+" is empty",T.code,k);return T}},att:S,attVal:function(k){const F=ea.QName.fromEQName(k.name);return T=>{T.failIfNoCurrentFocus("XPDY0002","@"+F,k);T=T.getCurrentFocus();if(!W.Q(T))throw new J("Context item for 'attVal' must be a node","XPTY0020",k);if(1!==T.nodeType)return Tb;T=""===F.q?null!=T.attributes.getNamedItem(F.local)?T.getAttribute(F.local):null:F.q===dc.oc?null!=T.attributes.getNamedItem("xml:"+F.local)? -T.getAttribute("xml:"+F.local):null:null!=ic(T,F.q,F.local)?jc(T,F.q,F.local):null;return null===T?Tb:Ub(ea.untypedAtomic.fromString(T))}},axis:function(k){const F=oc(k.nodeTest||"").ga(),T=k.name;return t=>{t.failIfNoCurrentFocus("XPDY0002",T+" axis",k);t=t.getCurrentFocus();if(!W.Q(t))throw new J("Context item for "+T+" axis is not a node - supplied:"+Aa.showValue(t),"XPTY0020",k);return W.Ch[T](t).filter(F)}},"break":S,callT:function(k){return F=>{const T=E(k,F,"template"),t=F.newContext(!0);t.currentMergeGroup= -null;t.currentComponent=T;Z(T.actor,t);v(k,F,t);return d(T.actor)(t)}},cast:function(k){const F=d(k),T=Q(k,"e"),t=R=>{R=F(R).next();if(null===R){if(T)return null;throw new J("Empty sequence casting to "+oc(k.as).toString(),"XPTY0004",k);}return R};if(Q(k,"a")){const R=wb(k.as),U="AQ"===R.p?O(k,!0):null,ia=Sa.codes[R.p].I;return ua=>{ua=t(ua);if(null===ua)return Tb;try{var Ba=ia(ua,U);return Ub(Ba)}catch(Fa){if("FORG0001"===Fa.code&&k.diag)throw Ba=h(k.diag),new J("Required item type of "+Ba.gd+" is "+ -oc(k.as).toString()+"; supplied value is "+Aa.Ji(ua),Ba.code,k);if(null!==Fa.code)throw Fa;throw new J("Failed to cast "+Aa.Ji(ua)+" to type "+oc(k.as).toString(),"XPTY0004",k);}}}if(Q(k,"l")){const R=Sa.XS.QName.fromEQName(k.as),U=bd[R.local].fromString;Aa.ba(R.q===dc.ac);Aa.ba(U);return ia=>{ia=t(ia);if(null===ia)return Tb;ia=Ma.cf(ia.toString()).split(" ").map(U);if(0===ia.length)throw new J("xs:"+R.local+" value must contain at least one token","FORG0001");return Pb(ia)}}if(Q(k,"u"))return R=> -{R=t(R);return null===R?Tb:Sa.XS.double.matches(R)||Sa.XS.$a.matches(R)||Sa.XS.float.matches(R)?Ub(R):Ub(Sa.XS.double.I(R))};throw new J("Unknown cast variety "+k.flags);},castable:function(k){const F=d(k),T=Q(k,"e");let t;if(Q(k,"a")){const R=wb(k.as),U="AQ"===R.p?O(k,!0):null,ia=Sa.codes[R.p].I;t=ua=>{ia(ua,U);return!0}}else if(Q(k,"l")){k=Sa.XS.QName.fromEQName(k.as);const R=bd[k.local].fromString;t=U=>0{Sa.XS.double.I(R);return!0}; -else throw new J("Unknown castable variety "+k.flags);return R=>{R=F(R);const U=R.next();if(null===U)return bc(T);if(null!==R.next())return bc(!1);R=P(U).next();try{return bc(t(R))}catch(ia){return bc(!1)}}},cfn:function(k){const F=k.name,T=d(k);let t;if("_format-number_1"===F)return t=pe["format-number"],R=>{const U=[T(R),Yb(k.pic)];null!=k.attributes.getNamedItem("format")&&U.push(Yb(k.format));return t(U,R,k)};if("_translate_1"===F)return t=pe.translate,R=>{const U=[T(R),Yb(k.a1),Yb(k.a2)];return t(U, -R)};Aa.fa("Unimplemented: cfn "+F,k)},check:function(k){function F(U){const ia=h(k.diag);throw new J("Required cardinality of "+ia.gd+" is "+t[T]+"; supplied value "+U,ia.code,k);}const T=k.card,t={"*":"zero or more","+":"one or more","?":"zero or one",0:"zero",1:"exactly one"},R=d(k);return U=>{U=R(U);if("*"===T)return U;var ia=Kb(U);U=ia.ma();if(null===U){if("?"===T||"0"===T)return Tb;F("is empty")}else"0"===T&&F("is not empty (first item "+Aa.showValue(U)+")");if("+"===T)return ia;ia.next();const ua= -ia.next();null!==ua&&(ia=ia.count()+2,F("contains "+ia+" items ("+Aa.showValue(U)+", "+Aa.showValue(ua)+(2{for(let t=0;tF(T)},comment:S,compareToInt:function(k){const F=k.op,T=ea.integer.fromString(k.val),t=d(k);return R=>{R=t(R);const U=R.next();if(null===U)return Tb;if(Nd.itemIsNaN(U))return bc("ne"===F);if(null!== -R.next())throw new J("Value comparison only applicable to single values","XPTY0004",k);return bc(Nd.Af(F,U.compareTo(T)))}},compareToString:function(k){const F=k.op,T=d(k),t=ea.string.fromString(k.val);return R=>{const U=T(R),ia=U.next();if(null===ia)return Tb;if(null!==U.next())throw new J("Value comparison only applicable to single values","XPTY0004",k);return k.comp?(R=Nd.be(k.comp,R),["=","eq","!=","ne"].includes(F)?bc(Nd.Oi(F,R.equals(ia,t))):bc(Nd.Af(F,R.compare(ia,t)))):bc(Nd.Af(F,ia.compareTo(t)))}}, -compAtt:S,compElem:S,condCont:function(k){const F=d(k);return T=>{function t(R){if(W.Q(R))switch(R.nodeType){case 9:case 11:case 1:return R.hasChildNodes();default:return""!==q(R).toString()}else return X(R)?0t(ia)).length}).length:""!==ea.string.I(R).toString()}return F(T).filter(t)}},condSeq:function(k){function F(t){if(W.Q(t)){if([9,11].includes(t.nodeType))return!t.hasChildNodes();if(3===t.nodeType||4==t.nodeType)return""=== -t.nodeValue}else{if(Sa.ka(t))return""===ea.string.I(t).toString();if(K(t))return!da(Ub(t)).some(function(R){return!F(R)})}return!1}const T=k.C.map(t=>({name:t.N,eval:m(t)}));return t=>{let R=[];const U=[];let ia=!0;T.map(function(ua){if("onEmpty"===ua.name)ia&&(R=ua.eval(t).expand());else if("onNonEmpty"===ua.name){const Ba=R.length;U.unshift(function(){R.splice.apply(R,[Ba,0].concat(ua.eval(t).expand()))})}else ua.eval(t).forEachItem(function(Ba){F(Ba)||(ia=!1);R.push(Ba)})});ia||U.forEach(function(ua){ua()}); -return Pb(R)}},conditionalSort:function(k){const F=d(k),T=n(k),t=d(k.C[1]);return R=>e(F(R))?T(R):t(R)},consume:function(k){throw new J("Stylesheet uses 'consume' which requires streaming","SXJS0002",k);},convert:function(k){const F=k.to,T=Sa.codes[F];T||Aa.fa("Unknown to-type "+k.to);const t=d(k);return Q(k,"p")?R=>t(R).mapOneToOne(U=>Sa.Pg(U,F)):R=>t(R).mapOneToOne(T.I)},copy:S,copyOf:S,currentGroup:function(k){return F=>{if(F&&F.currentGroup)return Pb(F.currentGroup);throw new J("There is no current group", -"XTDE1061",k);}},currentGroupingKey:function(k){return F=>{if(F&&F.currentGroupingKey)return Pb(F.currentGroupingKey);throw new J("There is no current grouping key","XTDE1071",k);}},cvUntyped:function(k){const F=d(k),T=Sa.codes[k.to],t=T.I,R="string"===T.name;return U=>F(U).mapOneToOne(function(ia){if(ea.double.matches(ia)&&"float"===T.name)throw new J("xs:double may not be promoted to xs:float","XTTE0570",k);if(ea.untypedAtomic.matches(ia)||R&&ea.anyURI.matches(ia))try{return t(ia)}catch(ua){if("FODT0001"=== -ua.code||!k.diag)throw ua;ia=h(k.diag);throw new J(ua.message,ia.code,k);}else return ia})},data:function(k){const F=d(k);return T=>F(T).mapOneToMany(P)},dbl:function(k){const F=ea.double.fromString(k.val);return()=>Ub(F)},dec:function(k){const F=qa(k.val);return()=>ac(F)},doc:S,docOrder:function(k){const F=d(k);return T=>W.Vc(F(T))},dot:function(k){return F=>{F.failIfNoCurrentFocus("XPDY0002",". (dot)",k);return Ub(F.getCurrentFocus())}},elem:S,empty:function(){return()=>Tb},emptyTextNodeRemover:function(k){const F= -d(k);return T=>F(T).filter(t=>!(W.Q(t)&&(3===t.nodeType||4===t.nodeType)&&""===t.textContent))},error:function(k){return()=>{throw new J(k.message,k.code,k);}},evaluate:function(k){const F={language:"XSLT",contextType:{o:"1",p:"",code:"1"}},T=m(u(k,"xpath")),t=m(u(k,"cxt")),R=m(u(k,"sa")),U=m(u(k,"nsCxt")),ia=z(k,"withParam").map(Ba=>({name:ea.string.fromString(Ba.name),eval:d(Ba)})),ua=m(u(k,"wp"));return Ba=>{const Fa=T(Ba).next().toString();u(k,"cxt");const Pa=t?t(Ba):Tb;let Ua=new lc;ia.forEach(function(ta){Ua.inSituPut(ta.name, -ta.eval(Ba).expand())});ua&&ua(Ba).next().forAllPairs(function(ta){if(!ea.QName.matches(ta.k))throw new J("Parameter names in xsl:evaluate/@with-params map must be QNames:"+ta.k.toString(),"XTTE3165",k);Ua.inSituPut(ta.k,ta.v)});Ua=Ub(Ua);if(R){var Na=R(Ba).next().toString();if(A(Na))throw new J("SaxonJS does not support schema-aware evaluation","XTDE1665",k);}(Na=k.as)&&(F.requiredType=Na.toString());(Na=k.dxns)&&"http://www.w3.org/1999/xhtml"!==Na.toString()&&(F.xpathDefaultNamespace=Na.toString()); -let Wa={};if(U){Na=U(Ba);var N=Na.next();if(null===N||null!==Na.next()||!W.Q(N))throw new J("xsl:evaluate/@namespace-context must evaluate to a single node","XTTE3170",k);Wa[""]="";fc.inScopeNamespaces(N).forEach(ta=>Wa[ta.prefix]=ta.q);F.xpathDefaultNamespace=Wa[""]}else Wa=ma(k);const ba={};N=Na=!1;const la={};var fa=u(k,"options");if(fa){fa=H(fa,Ba).next();let ta=ea.string.fromString("var-slots");fa.containsKey(ta)&&fa.get(ta)[0].forAllPairs(function(Ca){ba[Ca.k.toEQName()]=y(Ca.v)});ta=ea.string.fromString("allow-empty"); -fa.containsKey(ta)&&(Na=fa.get(ta)[0].toBoolean());ta=ea.string.fromString("isStatic");fa.containsKey(ta)&&(N=fa.get(ta)[0].toBoolean());ta=ea.string.fromString("staticContext");fa.containsKey(ta)&&fa.get(ta)[0].forAllPairs(function(Ca){la[Ca.k.toString()]=y(Ca.v,!0)})}F.params=Ua;F.namespaces=Wa;F.slotMap=ba;F.allowEmpty=Na;F.staticTyping=!0;F.isStatic=N;F.staticContext=la;F.dynamicEval=!0;(Na=u(k,"baseUri"))&&(F.staticBaseURI=H(Na,Ba).next().toString());(Na=na(k,"defaultCollation"))&&(F.defaultCollation= -Na);return Pd.find("SaxonJS").XPath.evaluateXDM(Fa,Pa,Ba,F)}},every:function(k){const F=parseInt(k.slot,10),T=d(k),t=n(k);return R=>{const U=T(R);return bc(!U.some(function(ia){R.localVars[F]=[ia];return!e(t(R))}))}},except:function(k){const F=d(k),T=n(k);return t=>new Mb(F(t),T(t),W.fb)},"false":function(){return()=>bc(!1)},filter:function(k){const F=d(k),T=n(k);return Q(k,"i")?t=>{const R=F(t);t=T(t).expand();if(1===t.length&&ea.numeric.matches(t[0])){const U=t[0].toNumber();if(R instanceof Pb)return Ub(R.expand()[U- -1]||null);const ia=Xb(R);return ia.filter(function(){return ia.position===U})}return e(Pb(t))?R:Tb}:t=>{const R=F(t),U=t.newContext(!1);U.focus=Xb(R);t=Q(k,"p")?function(){const ia=T(U).expand();return 1===ia.length&&ea.numeric.matches(ia[0])?U.focus.position===ia[0].toNumber():e(Pb(ia))}:function(){return e(T(U))};return U.focus.filter(t)}},first:function(k){const F=d(k);return T=>Ub(F(T).next())},flt:function(k){const F=ea.float.fromString(k.val);return()=>Ub(F)},fn:function(k){const F=pe[k.name]; -F||c(k.name+"()",k);const T=(k.C||[]).map(m);return t=>{const R=T.map(U=>U(t));return F(R,t,k)}},fnCoercer:function(k){const F=d(k),T=nc(k.to),t=T.K,R={alphaTree:T.T()};return U=>F(U).mapOneToOne(function(ia){if(!(ia instanceof jd.XdmFunction||ia instanceof id||ia instanceof lc)){var ua=h(k.diag);throw new J("Required item type of "+ua.gd+" is "+T.toString()+"; supplied value is "+Aa.showValue(ia),ua.code,k);}if((t instanceof md?t.g:[]).length!==(ia instanceof jd.XdmFunction?ia.arity:1))throw ua= -h(k.diag),new J("Required item type of "+ua.gd+" is "+T.toString()+"; supplied value is "+Aa.showValue(ia),ua.code,k);return new jd.gh(R,ia)})},fnRef:function(k){let F=k.name;F=/^Q{/.test(F)?ea.QName.fromEQName(F):ea.QName.fromParts("",dc.za,F);const T=parseInt(k.arity,10),t=Pd.find("SaxonJS").XPath;return R=>{var U=R.newContext(!0);U.Pa=!0;if(U=t.getFnSignature(F,T,U))return R=U.isUserFunction?new jd.Vf(U,R):F.q===dc.ac?new jd.Qf(U,F,k):new jd.Ge(U,F,T,k,R),Ub(R);throw new J("Reference to an unknown function and/or arity "+ -F.toEQName()+"#"+T,"XPST0017",k);}},follows:function(k){const F=f(k,function(T,t){return ea.boolean.fromBoolean(0Ub(F(T))},"for":function(k){const F=parseInt(k.slot,10),T=d(k),t=n(k);return R=>T(R).mapOneToMany(function(U){R.localVars[F]=[U];return t(R)})},forEach:function(k){const F=d(k),T=n(k);return u(k,"separator")?S(k):t=>{const R=t.newContext(!1);R.focus=Xb(F(t));R.currentTemplate=null;return R.focus.mapOneToMany(function(){return T(R)})}},forEachGroup:S,fork:b,functionCall:function(k){c(k.name+ -"()",k)},gc:r,gc10:function(k){let F=d(k),T=n(k);return t=>{let R=F(t).expand(),U=T(t).expand();1===R.length&&ea.boolean.matches(R[0])?U=[ea.boolean.fromBoolean(e(Pb(U)))]:1===U.length&&ea.boolean.matches(U[0])?R=[ea.boolean.fromBoolean(e(Pb(R)))]:(R=g(R),U=g(U));t=Nd.be(k.comp,t);const ia=k.op;"="!==ia&&"!="!==ia?(R=Pb(R).mapOneToOne(Sa.XS.numeric.Fd).expand(),U=Pb(U).mapOneToOne(Sa.XS.numeric.Fd).expand()):t=Nd.Bj(t);return Nd.Ag(Pb(R),U,ia,t,k,!0)}},gcEE:r,gVarRef:function(k){return F=>{const T= -E(k,F),t=T.actor,R=t.name;if(T.value===a)throw F=new J("Circularity in global variable "+R,"XTDE0640"),F.Le=!0,F;if(null===T.value||"undefined"===typeof T.value){if("globalParam"===t.N){var U=F.fixed.la.stylesheetParams,ia=Sa.XS.QName.fromEQName(R);if(U.containsKey(ia))U=U.get(ia),Aa.ba(Array.isArray(U)),ia=nc(t.as||"*"),U=w(U,ia,()=>"stylesheet parameter "+R),Aa.ba(Array.isArray(U)),T.value=U;else{if(Q(t,"r"))throw new J("Parameter "+R+" is required","XTDE0050",t);if(Q(t,"i"))throw new J("Parameter "+ -R+" cannot be empty","XTDE0700",t);t.C||(T.value=[])}}if(null===T.value||"undefined"===typeof T.value){U=!t.parentNode.parentNode.parentNode;ia=F.newContext(!0);ia.tempOutputState="variable";ia.pushCurrentOutputURI(null);ia.currentMode={};ia.currentTemplate=null;ia.currentComponent=T;ia.focus=U?Wb(F.fixed.Uc):null;try{const ua=d(t);T.value=a;T.value=ua(ia).expand()}catch(ua){throw ua instanceof J&&(T.value=[],ea.QName.fromEQName(R).q!==dc.ib+"generated-variable"&&(ua.Le=!0)),ua;}ia.popCurrentOutputURI()}}return Pb(T.value)}}, -homCheck:function(k){const F=d(k);return T=>{T=Kb(F(T));const t=T.ma();if(null===t)return Tb;const R=W.Q(t);T=T.filter(function(U){if(W.Q(U)!==R)throw new J("Cannot mix nodes and atomic values in the result of a path expression","XPTY0018",k);return!0});return R?W.Vc(T):T}},ifCall:function(k){const F=ea.QName.fromEQName(k.name);if("schedule-action"===F.local){const t=d(k),R=n(k),U=m(k.C[3]);return ia=>{var ua=4===k.C.length;if(4k.C.length||"empty"===k.C[2].N?Na=Wa=N=null:(Na=k.C[2],"bSlot"in Na?(Wa=E(Na,ia,"template"),N=Wa.actor):Wa=N=null);ia.noCurrentFocus()||(Ua.focus=Xb(Ub(ia.getCurrentFocus())),Ua.focus.next());Ua.currentMergeGroup=null;Ua.currentComponent=Wa;Ua.tempOutputState=!1;null===Pa&&null!==N&&Z(N,Ua);null!=Na&&v(Na,ia,Ua);let ba,la;null===N?(ba=null,la=function(){}): -(ba=d(N),la=function(){ba(Ua).expand()});if(null!==Pa)ua=ya.makeHttpRequest(Pa,function(fa){Ua.focus=Xb(Ub(fa[0]));Ua.focus.next();null!==N&&(Z(N,Ua),la())},Ba,ia.fixed.Ga);else if(null!==Fa)Fa=Fa.toString().split(" "),Pa=Fa.map(function(fa){return ya.resolveUri(fa,ld.staticBaseUri(k,ia))}),ya.inBrowser()?(ua=ya.gj(Pa,ia.fixed.hd,la,Ba,ia.fixed.Ga),ua=1===Fa.length?ua[Pa[0]]:ua):(Ba=Pa.map(fa=>Pd.find("SaxonJS").getResource({location:fa,type:"text"}).then(ta=>{try{return ia.fixed.hd[fa]=ta,la(),Promise.resolve(null)}catch(Ca){return ta= -Promise.reject(Ca),ia.fixed.rk.push(ta),ta}})),Ba=Promise.all(Ba),ia.fixed.nd.push(Ba));else if(0!==Ba)if(ya.inBrowser())setTimeout(la,Ba);else throw new J("ixsl:schedule-action/@wait is not supported on Node.js","SXJS0002");return ua?Ub(ua):Tb}}const T=(k.C||[]).map(m);return t=>{const R=T.map(U=>U(t));return va(F.q,F.local,R,t,k)}},indexedFilter2:function(k){const F=m(u(k,"base")),T=m(u(k,"use")),t=m(u(k,"search"));return R=>{const U=Nd.be(k.comp,R),ia=R.newContext(!1);ia.focus=Xb(F(R));const ua= -t(R).expand();return ia.focus.filter(function(){const Ba=T(ia);return Nd.Ag(Ba,ua,"=",U,k).next().toBoolean()})}},inlineFn:function(k){const F={sig:k.sType,alphaTree:wb(k.sType)};return T=>Ub(new jd.Yi(F,k,T))},instance:function(k){const F=d(k),T=nc(k.of);return t=>{t=F(t).expand();return bc(T.matches(t))}},"int":function(k){const F=ea.integer.fromString(k.val);return()=>Ub(F)},intersect:function(k){const F=d(k),T=n(k);return t=>new Lb(F(t),T(t),W.fb)},intRangeTest:function(k){const F=d(k);k=k.C; -const T=m(k[1]),t=m(k[2]);return R=>{const U=T(R).next(),ia=t(R).next();if(!U||!ia)return bc(!1);const ua=U.toNumber(),Ba=ia.toNumber();R=F(R).some(function(Fa){Fa=Fa.value;return Fa>=ua&&Fa<=Ba});return bc(R)}},is:function(k){const F=f(k,function(T,t){return ea.boolean.fromBoolean(W.isSameNode(T,t))});return T=>Ub(F(T))},isLast:function(k){const F="1"===k.test;return T=>bc(T.focus.position===T.focus.last()===F)},iterate:S,javaCall:function(k){const F=ea.QName.fromEQName(k.name),T=(k.C||[]).map(m); -return t=>{const R=T.map(U=>U(t));return va(F.q,F.local,R,t,k)}},lastOf:function(k){const F=d(k);return T=>{const t=Kb(F(T));return t.filter(function(){return null===t.ma()})}},let:function(k){const F=d(k),T=n(k),t=parseInt(k.slot,10);return R=>{const U=R.tempOutputState;R.tempOutputState="variable";const ia=F(R).expand();R.tempOutputState=U;R.localVars[t]=ia;return T(R)}},literal:b,lookup:function(k){const F=d(k),T=n(k);return t=>{function R(Na){Ba=Ba.concat(Fa[Na.toString()])}function U(Na){Ba= -Ba.concat(Fa.get(Na))}function ia(Na){return function(Wa){if(!ea.integer.matches(Wa))throw new J("Array lookup key must be of type xs:integer; supplied value is "+Aa.showValue(Wa),"XPTY0004",k);Wa=Wa.toNumber();if(1>Wa||Wa>Na.length)throw new J("Array index ("+Wa+") out of bounds (1 to "+Na.length+")","FOAY0001",k);Ba=Ba.concat(Na[Wa-1])}}const ua=F(t);let Ba=[],Fa;t=T(t).expand();const Pa=k.tuple;if(null!=Pa){const Na=Pa.split(/\s+/);for(var Ua of t)if(-1===Na.indexOf(Ua.toString()))throw new J("Tuple lookup key must be one of "+ -Pa+". Supplied key is "+Ua.toString(),"XPTY0004",k);}for(;null!==(Fa=ua.next());)if(ld.isArray(Fa))Ua=ia(Fa.value),t.forEach(Ua);else if(ld.pe(Fa))t.forEach(U);else if(null!=Pa&&ld.ki(Fa))t.forEach(R);else throw new J("The source for a lookup operator (?) must be of type array() or map(); supplied value is "+Aa.showValue(Fa),"XPTY0004",k);return Pb(Ba)}},lookupAll:function(k){const F=d(k);return T=>{function t(ua){U=U.concat(ua)}function R(ua){U=U.concat(ia.get(ua))}T=F(T);let U=[],ia;for(;null!== -(ia=T.next());)if(ld.isArray(ia))ia.value.forEach(t);else if(ld.pe(ia))ia.keys().forEach(R);else throw new J("The source for a lookup operator ('?') must be of type array() or map(); supplied value is "+Aa.showValue(ia),"XPTY0004",k);return Pb(U)}},lookupTuple:function(k){const F=d(k),T=k.key;return t=>{t=F(t);let R=[],U;for(;null!==(U=t.next());)if(null!=T&&ld.ki(U))R=R.concat(U[T]);else throw new J("The source for a lookupTuple operator (?) must be of type tuple(); supplied value is "+Aa.showValue(U), -"XPTY0004",k);return Pb(R)}},map:function(k){const F=(k.C||[]).map(m);return T=>{const t=new lc;let R=null;F.forEach(function(U){if(null===R)R=U(T).next();else{if(t.containsKey(R))throw new J("Duplicate map constructor entries for key:"+Aa.showValue(R),"XQDY0137",k);U=U(T).expand();t.inSituPut(R,U);R=null}});return Ub(t)}},merge:function(k){return F=>qe.ck(k,F)},mergeAdj:function(k){const F=d(k);return T=>{const t=[],R=F(T);let U=!1,ia;for(;null!==(ia=R.next());){var ua=W.Q(ia)&&(3===ia.nodeType|| -4===ia.nodeType);ua&&""===ia.nodeValue||(U&&ua?(ua=W.xc(T.resultDocument),t.push(ua.createTextNode(t.pop().nodeValue+ia.nodeValue))):(U=ua,t.push(ia)))}return Pb(t)}},message:function(k){const F=m(u(k,"terminate")),T=m(u(k,"error"));return t=>{const R=t.tempOutputState;t.tempOutputState="variable";var U=F(t).next();let ia=T(t).next().toString();try{ia=ca(k,ia,!0).toEQName()}catch(Pa){ia="Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}let ua;try{ua=A(U.toString())}catch(Pa){throw new J("The terminate attribute of xsl:message must be yes|no|true|false|1|0", -"XTDE0030",k);}U=ae(t);const Ba=new fe(U);try{var Fa=ee.getComplexContentOutputter(Ba);Fa.startDoc();ee.push(k.C[0],t,Fa);Fa.endDoc()}catch(Pa){Ba.append(Sa.XS.string.fromString("xsl:message evaluation at "+Aa.location(k)+" failed: "+Pa))}Fa=U.iter().next();t.fixed.la.rg||(t.fixed.la.rg=ya.ei());try{t.countMessage(ia),t.fixed.la.rg(Fa,ia)}catch(Pa){}if(ua)throw Aa.Qa(t.getStackTrace(),1,t.fixed.Ga),t=new J("Terminated with "+Fa,ia,k),t.errorObject=Fa,t;t.tempOutputState=R;return Tb}},minus:function(k){const F= -d(k);return T=>F(T).mapOneToOne(t=>t.tf())},namespace:function(k){const F=d(k),T=n(k);return t=>{const R=F(t).next().toString();t=T(t).next().toString();if(""!==R&&!Ma.isNCName(R))throw new J("Prefix "+R+" is not an NCName","XTDE0920",k);if(""===t)throw new J("Namespace is zero-length","XTDE0930",k);if("xmlns"===R)throw new J("Disallowed prefix xmlns","XTDE0920",k);if("http://www.w3.org/2000/xmlns/"===t)throw new J("Disallowed namespace "+t,"XTDE0905",k);if(!G(t))throw new J("Invalid namespace "+ -t,"XTDE0905",k);if("xml"===R!==(t===dc.oc))throw new J("The xml namespace prefix and uri can only be used together","XTDE0925",k);return Ub(new gc(R,t))}},nextIteration:S,nextMatch:S,nodeNum:function(k){return F=>ke.hk(k,F)},"null":function(k){return()=>Ub(k)},numSeqFmt:function(k){return F=>ke.ik(k,F)},onEmpty:b,onNonEmpty:b,or:function(k){const F=d(k),T=n(k);return t=>bc(e(F(t))||e(T(t)))},origFC:function(k){k.C||(k.C=[]);const F=k.C.map(m);return T=>{if(!k._target){const U=k.pack,ia=ca(k,k.name, -!1).toEQName(),ua=k.C.length,Ba=T.fixed.xa;Object.keys(Ba).forEach(function(Fa){Fa=Ba[Fa];Fa.zi.name===U&&Fa.name===ia&&Fa.actor&&"function"===Fa.actor.N&&z(Fa.actor,"arg").length===ua&&(k._target=Fa.id)})}const t=T.fixed.xa[k._target],R=F.map(U=>U(T).expand());return B(k,t,R,T)}},param:function(k){const F=k.name,T=parseInt(k.slot,10),t=Q(k,"t"),R=m(u(k,"select")),U=m(u(k,"conversion"));return ia=>{var ua=t?ia.tunnelParams:ia.localParams,Ba=Sa.XS.QName.fromEQName(F);if(ua.containsKey(Ba))ua=ua.get(Ba), -""!==nc(k.as||"*").T().p&&(ua=Y(ua));else if(R&&!Q(k,"r"))Ba=ia.tempOutputState,ia.tempOutputState="xsl:param",ua=R(ia).expand(),ia.tempOutputState=Ba;else throw new J("Required parameter $"+F+" not supplied","XTDE0700",k);Aa.ba(Array.isArray(ua));ia.localVars[T]=ua;if(U)try{ia.localVars[T]=U(ia).expand()}catch(Fa){throw new J("Supplied value for parameter $"+F+" could not be converted to required type","XTTE0590",k);}return Tb}},partialApply:function(k){const F=d(k),T=[],t=[];let R=0;const U=k.C.length- -1;for(let ia=1;ia{const ua=F(ia).next(),Ba=[];for(let Fa=0;FaW.fb(T,t))});return T=>Ub(F(T))},procInst:S,qName:function(k){const F=ea.QName.fromParts(k.pre,k.uri, -k.loc);return()=>Ub(F)},range:function(k){const F=ea.integer.fromString(k.from),T=ea.integer.fromString(k.to);return()=>l(F,T)},resultDoc:function(k){return F=>{try{if(F.tempOutputState)throw new J("Cannot call xsl:result-document while evaluating "+F.tempOutputState,"XTDE1480",k);var T=L(k,F);const t={};let R=function(){};const U=u(k,"format");if(U){let la=H(U,F).next().toString();la=ca(k,la,!0).toEQName();const fa=T.Mg[la];if(!fa)throw new J("Unknown xsl:output format "+la,"XTDE1460");let ta,Ca; -for(const Ka of fa.C){let Qa=Ka.name;"parameter-document"===Qa?ta=Ka.value:"Q{http://saxon.sf.net/}parameter-document-base-uri"===Qa?Ca=Ka.value:t[Qa]="use-character-maps"===Qa?le.Ff(Qa,Ka.value,T):le.validateParam(Qa,Ka.value)}if(ta){const Ka=ya.resolveUri(ta,Ca);let Qa=Td.uc(Ka,F);le.parseParamDoc(Qa.documentElement,t)}}p(k.global,t,T);p(k.local,t,T);for(const la of k.C){let fa=la.role.replace(/^Q{\}/,"");if(!["href","format","content","parameter-document"].includes(fa)){"output-version"===fa&& -(fa="version");let ta=H(la,F).next().toString();ta="use-character-maps"===fa?le.Ff(fa,ta,T):le.validateParam(fa,ta,O(k,!0));"undefined"!==typeof ta&&(t[fa]=le.uf(fa,ta,t[fa]))}}const ia=u(k,"Q{}parameter-document");if(null!==ia){const la=H(ia,F).next().toString(),fa=ya.resolveUri(la,ld.staticBaseUri(k,F));let ta=Td.uc(fa,F);le.parseParamDoc(ta.documentElement,t)}const ua=F.fixed.yb,Ba=u(k,"href"),Fa=null===Ba?"":H(Ba,F).next().toString();let Pa;Pa=ua?ya.newURL(Fa,ua):W.Wc(Fa)?ya.newURL(Fa):Fa;const Ua= -Pa.toString();if(F.fixed.yb&&Ua===F.fixed.yb.toString()&&1{F.failIfNoCurrentFocus("XPDY0002","/",k);F=F.getCurrentFocus();if(!W.Q(F))throw new J("Context item for '/' must be a node","XPTY0020",k);const T=W.ic(F);if(9!==T.nodeType&&11!==T.nodeType)throw new J("Root node for '/' must be a document node","XPDY0050",k);return Ub(W.ic(F))}},sequence:b,slash:function(k){const F=d(k),T=n(k);return t=>{const R=t.newContext(!1);R.focus=Xb(F(t));return R.focus.mapOneToMany(()=>T(R))}},some:function(k){const F=parseInt(k.slot,10), -T=d(k),t=n(k);return R=>{const U=T(R);return bc(U.some(function(ia){R.localVars[F]=[ia];return e(t(R))}))}},sort:function(k){const F=Nd.Ak(k);return T=>{try{return F(T)}catch(t){if(t instanceof J&&"FOCH0002"===t.code)throw new J(t.message,"XTDE1035",k);if(t instanceof J&&"XPTY0004"===t.code)throw new J(t.message,"XTDE1030",k);throw t;}}},sourceDoc:S,str:function(k){const F=k.val;return()=>Yb(F)},subscript:function(k){const F=d(k),T=n(k);return t=>{var R=F(t);t=T(t).next();if("ADI"===t.code)t=t.value; -else if(t.equals(t.round(0)))t=Sa.XS.integer.I(t).value;else return Tb;return(R=R.pf(t))?Ub(R):Tb}},supplied:function(k){const F=parseInt(k.slot,10);return T=>Pb(T.localVars[F])},tail:function(k){const F=parseInt(k.start,10)-1;let T=d(k);return t=>{let R=F;return T(t).filter(function(){return 0>=R--})}},tailCallLoop:b,to:function(k){const F=d(k),T=n(k);return t=>{const R=F(t).next();t=T(t).next();return null===R||null===t||0t(R).mapOneToOne(function(U){if(T(U))return U;const ia=h(k.diag);throw new J("Required item type of "+ia.gd+" is "+F.toString()+"; supplied value is "+Aa.showValue(U),ia.code,k);})},"true":function(){return()=>bc(!0)},"try":function(k){const F=d(k),T=z(k,"catch");T.forEach(t=>{const R=t.errors.split(" ").map(U=>{if("*"===U)return()=>!0;if(/^\*:/.test(U)){const ua=U.substring(2);return Ba=>Ba.local===ua}if(/}\*$/.test(U)){const ua=U.substring(2,U.length-2);return Ba=>Ba.q===ua}const ia= -ea.QName.fromEQName(U);return ua=>ua.equals(ia)});t.test=1===R.length?R[0]:U=>R.some(ia=>ia(U))});return t=>{try{return Pb(F(t).expand())}catch(R){if(R instanceof J&&!R.Le){t.currentError=R;R.xsltLineNr||za(R,k.C[0]);let U;U=R.code.match("^Q{")?ea.QName.fromEQName(R.code):ea.QName.fromParts("","http://www.w3.org/2005/xqt-errors",R.code);for(let ia=0;ia{const t=E(k,T,"function"),R=F.map(U=>U(T).expand());return B(k,t,R,T)}},ufRef:function(k){let F=k.name;F=/^[a-z]+:/.test(F)?ca(k,F,!0):/^Q\{/.test(F)?ea.QName.fromEQName(F):ea.QName.fromParts("",dc.za,F);const T=parseInt(k.arity,10),t=Pd.find("SaxonJS").XPath;return R=>{const U=t.getFnSignature(F,T,R);if(U&&U.isUserFunction)return R=new jd.Vf(U,R),Ub(R);Aa.fa("Named user function "+F+"#"+T+" not found")}},union:function(k){const F=d(k),T=n(k);return t=>new Jb(F(t),T(t), -W.fb)},useAS:S,valueOf:S,varRef:function(k){const F=parseInt(k.slot,10);return T=>Pb(T.localVars[F])},vc:function(k){function F(ia){return null===ia?null:ea.untypedAtomic.matches(ia)?ea.string.I(ia):ia}const T=k.op,t=k.onEmpty,R=d(k),U=n(k);return ia=>{const ua=R(ia),Ba=U(ia),Fa=F(ua.next()),Pa=F(Ba.next());if(null===Fa||null===Pa)return t?bc("1"===t):Tb;if(null!==ua.next()||null!==Ba.next())throw new J("Value comparison only applicable to single values","XPTY0004",k);if(Fa.isNumeric()&&isNaN(Fa.value)|| -Pa.isNumeric()&&isNaN(Pa.value))return bc("ne"===T);ia=Nd.be(k.comp,ia);return["=","eq","!=","ne"].includes(T)?bc(Nd.Oi(T,ia.equals(Fa,Pa))):bc(Nd.Af(T,ia.compare(Fa,Pa)))}}};M.prototype={value:null,containsKey:function(k){return"undefined"!==typeof this.value[k]},get:function(k){return ja(this.value[k])},inSituPut:function(){throw new J("inSituPut() not allowed for JSValue","SXJS0005");},put:function(){throw new J("put() not allowed for JSValue","SXJS0005");},remove:function(){throw new J("remove() not allowed for JSValue", -"SXJS0005");},keys:function(){throw new J("keys() not allowed for JSValue","SXJS0005");},forAllPairs:function(){throw new J("forEach() not allowed for JSValue","SXJS0005");},conforms:function(){throw new J("conforms() not allowed for JSValue","SXJS0005");},showValue:function(){return"JSValue "+Aa.showValue(this.value)}};aa.prototype={value:null,showValue:function(){return"XDMValue "+Aa.showValue(this.value)}};return{$:u,Ze:v,atomize:P,jj:g,yl:function(){return"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")}, -og:Z,db:z,oj:ha,pg:w,nb:y,fe:L,Eg:E,wd:e,Fa:d,Mh:n,elaborate:m,escape:function(k,F){let T="";Ia(k).forEach(function(t){const R=Ja([t]);T+=F(t,R)?encodeURIComponent(R):R});return T},evaluate:H,hc:function(k,F){return null===k?Tb:H(k,F)},tj:function(k,F,T,t){const R=pe[k.local];R||c(k.toString()+"()",t);return R(F.map(U=>Pb(U)),T,t)},uj:function(k,F,T,t){return va(k.q,k.local,F.map(R=>Pb(R)),T,t)},flatten:da,getInheritedProperty:na,Il:function(k){if("undefined"!==typeof k)return x(k,"module",20)+"#"+ -x(k,"line",10)},qb:Q,inScopeNamespaces:ma,isArray:K,pe:X,Bd:V,ki:function(k){return k instanceof re},Yj:A,Tf:M,am:c,tk:h,qk:function(k){va=k},fm:C,staticBaseUri:I,Be:Y,Ug:ca,stylesheetResolver:O,Si:function(k){return"AZ"===k.code?ea.double.I(k):k},Ek:G,Na:ja,xl:aa}}();function se(a,b){for(var h in a)b[h]=a[h]}function te(a,b){var h=a.prototype;if(Object.create){var A=Object.create(b.prototype);h.__proto__=A}if(!(h instanceof b)){function P(){}P.prototype=b.prototype;P=new P;se(h,P);a.prototype=h=P}h.constructor!=a&&(h.constructor=a)} -var ue={},ve=ue.ELEMENT_NODE=1,we=ue.ATTRIBUTE_NODE=2,xe=ue.TEXT_NODE=3,ye=ue.CDATA_SECTION_NODE=4,ze=ue.ENTITY_REFERENCE_NODE=5,Ae=ue.ENTITY_NODE=6,Be=ue.PROCESSING_INSTRUCTION_NODE=7,Ce=ue.COMMENT_NODE=8,De=ue.DOCUMENT_NODE=9,Ee=ue.DOCUMENT_TYPE_NODE=10,Fe=ue.DOCUMENT_FRAGMENT_NODE=11,Ge=ue.NOTATION_NODE=12,He={},Ie={};He.INDEX_SIZE_ERR=(Ie[1]="Index size error",1);He.DOMSTRING_SIZE_ERR=(Ie[2]="DOMString size error",2);He.HIERARCHY_REQUEST_ERR=(Ie[3]="Hierarchy request error",3); -He.WRONG_DOCUMENT_ERR=(Ie[4]="Wrong document",4);He.INVALID_CHARACTER_ERR=(Ie[5]="Invalid character",5);He.NO_DATA_ALLOWED_ERR=(Ie[6]="No data allowed",6);He.NO_MODIFICATION_ALLOWED_ERR=(Ie[7]="No modification allowed",7);var Je=He.NOT_FOUND_ERR=(Ie[8]="Not found",8);He.NOT_SUPPORTED_ERR=(Ie[9]="Not supported",9);var Ke=He.INUSE_ATTRIBUTE_ERR=(Ie[10]="Attribute in use",10);He.INVALID_STATE_ERR=(Ie[11]="Invalid state",11);He.SYNTAX_ERR=(Ie[12]="Syntax error",12); -He.INVALID_MODIFICATION_ERR=(Ie[13]="Invalid modification",13);He.NAMESPACE_ERR=(Ie[14]="Invalid namespace",14);He.INVALID_ACCESS_ERR=(Ie[15]="Invalid access",15);function Le(a,b=null){if(b instanceof Error)var h=b;else h=this,this.message=Ie[a],Error.captureStackTrace&&Error.captureStackTrace(this,Le);h.code=a;b&&(this.message=this.message+": "+b);return h}Le.prototype=Error.prototype;se(He,Le);function Me(){} -Me.prototype={length:0,item:function(a){return this[a]||null},forEach:function(a,b){b=b||this;for(var h=0;h"===a&&">"||"&"===a&&"&"||'"'===a&&"""||"&#"+a.charCodeAt()+";"}se(ue,Ve);se(ue,Ve.prototype);function $e(a,b){if(b(a))return!0;if(a=a.firstChild){do if($e(a,b))return!0;while(a=a.nextSibling)}}function af(){}af.prototype.nodeType=we;te(af,Ve);function Ue(){} -function Se(a,b,h){a&&a.pc++;"http://www.w3.org/2000/xmlns/"===h.namespaceURI&&delete b.ae[h.prefix?h.localName:""]}function bf(a,b,h=null){if(a&&a.pc)if(a.pc++,a=b.childNodes,h)a[a.length++]=h;else{b=b.firstChild;for(h=0;b;)a[h++]=b,b=b.nextSibling;a.length=h}}function Xe(a,b){var h=b.previousSibling,A=b.nextSibling;h?h.nextSibling=A:a.firstChild=A;A?A.previousSibling=h:a.lastChild=h;bf(a.ownerDocument,a);return b} -function We(a,b,h){var A=b.parentNode;A&&A.removeChild(b);if(b.nodeType===Fe){A=b.firstChild;if(null==A)return b;var P=b.lastChild}else A=P=b;var q=h?h.previousSibling:a.lastChild;A.previousSibling=q;P.nextSibling=h;q?q.nextSibling=A:a.firstChild=A;null==h?a.lastChild=P:h.previousSibling=P;do A.parentNode=a;while(A!==P&&(A=A.nextSibling));bf(a.ownerDocument||a,a);b.nodeType===Fe&&(b.firstChild=b.lastChild=null);return b} -Ue.prototype={nodeName:"#document",nodeType:De,doctype:null,documentElement:null,childNodes:[],pc:1,insertBefore:function(a,b){if(a.nodeType===Fe){for(var h=a.firstChild;h;){var A=h.nextSibling;this.insertBefore(h,b);h=A}return a}null==this.documentElement&&1==a.nodeType&&(this.documentElement=a);return We(this,a,b),a.ownerDocument=this,a},removeChild:function(a){this.documentElement===a&&(this.documentElement=null);return Xe(this,a)},importNode:function(a,b){return cf(this,a,b)},getElementById:function(a){var b= -null;$e(this.documentElement,function(h){if(1===h.nodeType&&(h.getAttribute("id")===a||h.getAttribute("xml:id")===a))return b=h,!0});return b},createElement:function(a){var b=new df;b.ownerDocument=this;b.nodeName=a;b.tagName=a;b.localName=a;b.namespaceURI="";b.childNodes=new Me;return(b.attributes=new Qe).b=b},createDocumentFragment:function(){var a=new ef;a.ownerDocument=this;a.childNodes=new Me;return a},createTextNode:function(a){var b=new ff;b.ownerDocument=this;b.appendData(a);return b},createComment:function(a){var b= -new gf;b.ownerDocument=this;b.appendData(a);return b},createProcessingInstruction:function(a,b){if("string"!==typeof a)throw Error("PI name must be a string");var h=new hf;h.ownerDocument=this;h.tagName=h.target=a;h.nodeValue=h.data=b;return h},createAttribute:function(a){var b=new af;b.ownerDocument=this;b.name=a;b.nodeName=a;b.localName=a;b.specified=!0;return b},createElementNS:function(a,b){var h=new df,A=b.split(":"),P=h.attributes=new Qe;h.childNodes=new Me;h.ownerDocument=this;h.nodeName=b; -h.tagName=b;h.namespaceURI=a;2==A.length?(h.prefix=A[0],h.localName=A[1]):h.localName=b;return P.b=h},createAttributeNS:function(a,b){var h=new af,A=b.split(":");h.ownerDocument=this;h.nodeName=b;h.name=b;h.namespaceURI=a;h.specified=!0;2==A.length?(h.prefix=A[0],h.localName=A[1]):h.localName=b;return h}};te(Ue,Ve);function df(){this.ae={}}function hc(a,b,h,A){b=a.ownerDocument.createAttributeNS(b,h);b.value=b.nodeValue=""+A;a.setAttributeNode(b)} -function jc(a,b,h){return(a=ic(a,b,h))&&a.value||""}function ic(a,b,h){a:{a=a.attributes;for(var A=a.length;A--;){var P=a[A];if(P.localName==h&&(P.namespaceURI==b||""==P.namespaceURI&&null==b)){b=P;break a}}b=null}return b} -df.prototype={nodeType:ve,getAttribute:function(a){return(a=this.attributes.getNamedItem(a))&&a.value||""},setAttribute:function(a,b){a=this.ownerDocument.createAttribute(a);a.value=a.nodeValue=""+b;this.setAttributeNode(a)},removeAttribute:function(a){(a=this.attributes.getNamedItem(a))&&this.attributes.removeNamedItem(a.nodeName)},appendChild:function(a){if(a.nodeType===Fe)a=this.insertBefore(a,null);else{var b=a.parentNode;b&&b.removeChild(a);b=this.lastChild;a.parentNode=this;a.previousSibling= -b;a.nextSibling=null;b?b.nextSibling=a:this.firstChild=a;this.lastChild=a;bf(this.ownerDocument,this,a)}return a},setAttributeNode:function(a){return this.attributes.setNamedItem(a)},getElementsByTagName:function(a){return new Ne(this,function(b){var h=[];$e(b,function(A){A===b||A.nodeType!=ve||"*"!==a&&A.tagName!=a||h.push(A)});return h})}};Ue.prototype.getElementsByTagName=df.prototype.getElementsByTagName;te(df,Ve);function jf(){} -jf.prototype={data:"",appendData:function(a){this.nodeValue=this.data=a=this.data+a;this.length=a.length},appendChild:function(){throw Error(Ie[3]);}};te(jf,Ve);function ff(){}ff.prototype={nodeName:"#text",nodeType:xe};te(ff,jf);function gf(){}gf.prototype={nodeName:"#comment",nodeType:Ce};te(gf,jf);function kf(){}kf.prototype={nodeName:"#cdata-section",nodeType:ye};te(kf,jf);function lf(){}lf.prototype.nodeType=Ee;te(lf,Ve);function mf(){}mf.prototype.nodeType=Ge;te(mf,Ve);function nf(){} -nf.prototype.nodeType=Ae;te(nf,Ve);function of(){}of.prototype.nodeType=ze;te(of,Ve);function ef(){}ef.prototype.nodeName="#document-fragment";ef.prototype.nodeType=Fe;te(ef,Ve);function hf(){}hf.prototype.nodeType=Be;hf.prototype.target=null;hf.prototype.data=null;te(hf,Ve);Ve.prototype.toString=function(a){var b=[];pf(this,b,a);return b.join("")}; -function pf(a,b,h,A=!1){switch(a.nodeType){case ve:var P=a.attributes,q=P.length,g=a.firstChild,e=a.tagName;A="http://www.w3.org/1999/xhtml"===a.namespaceURI||A;b.push("<",e);h&&b.sort.apply(P,h);for(a=0;a");if(A&&/^script$/i.test(e))g&&b.push(g.data);else for(;g;)pf(g,b,h,A),g=g.nextSibling;b.push("")}else b.push("/>");break;case De:case Fe:for(g=a.firstChild;g;)pf(g,b,h,A),g=g.nextSibling;break; -case we:b.push(" ",a.name,'="',a.value.replace(/[<&"]/g,Ze),'"');break;case xe:b.push(a.data.replace(/[<&]/g,Ze));break;case ye:b.push("')):A&&"."!=A?b.push(' SYSTEM "',A,'">'):((a=a.Ml)&&b.push(" [",a,"]"),b.push(">"));break;case Be:b.push("");break;case ze:b.push("&",a.nodeName, -";");break;default:b.push("??",a.nodeName)}}function cf(a,b,h){switch(b.nodeType){case ve:var A=b.cloneNode(!1);A.ownerDocument=a;case Fe:break;case we:h=!0}A||=b.cloneNode(!1);A.ownerDocument=a;A.parentNode=null;if(h)for(b=b.firstChild;b;)A.appendChild(cf(a,b,h)),b=b.nextSibling;return A} -function Ye(a,b,h){var A=new b.constructor;for(q in b){var P=b[q];"object"!=typeof P&&P!=A[q]&&(A[q]=P)}b.childNodes&&(A.childNodes=new Me);A.ownerDocument=a;switch(A.nodeType){case ve:var q=b.attributes;var g=A.attributes=new Qe;P=q.length;g.b=A;for(g=0;gD?Math.ceil(D):Math.floor(D)};Array.prototype.findIndex||Object.defineProperty(Array.prototype, -"findIndex",{value:function(D,r){if(null==this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!==typeof D)throw new TypeError("predicate must be a function");for(var c=Object(this),d=c.length>>>0,n,m=0;mthis.length?!1:-1!==this.indexOf(D,r)})}const e= -require("path"),{URL:l,fileURLToPath:z}=require("url"),v=require("fs"),G=require("axios"),p=require("util").TextEncoder,f=require("util").TextDecoder,I={regexCategories:sa,functions:wa,elements:xa,compiler:ra};return{name:"Node.js",init:function(){try{(new DOMParser).parseFromString("<","text/xml").getElementsByTagName("parsererror")}catch(D){}g()},inBrowser:function(){return!1},cwd:h,fileURL:b,makeBuffer:function(D,r){r=A(r);r=Buffer.isEncoding(r)?r:"utf-8";return Buffer.from(D,r)},makeHttpRequest:function(){throw new J("http-request is not supported under Node.js", -"SXJS0002");},expose:function(D){module.exports=D},parseXmlFromString:function(D,r=!0){D=D.replace(/\r\n|\r(?!\n)/g,"\n");try{return P(D,r)}catch(c){throw new J(c.message,"FODC0002");}},parseJsonFromString:function(D){return Sd.Gd(D,null)},getStdOut:function(){return process.stdout},readFile:function(D){Buffer.from([239,187,190]);Buffer.from([255,254]);Buffer.from([254,255]);let r,c,d;try{if(D instanceof l&&"file"!==D.protocol||/^http(s?)/.test(D))throw new J("Synchronous access to non-file resources is not allowed"); -D instanceof l||/^file:/.test(D)?(d=decodeURI(D),r=v.readFileSync(a(d))):r=v.readFileSync(D);const n=Buffer.from(''),m=Buffer.from('encoding="iso-8859-1');Buffer.from("");255===r[0]&&254===r[1]?c=r.slice(2).toString("utf16le"):254===r[0]&&255===r[1]?(q(r),c=r.slice(2).toString("utf16le")):c=239===r[0]&&187===r[1]&&191===r[2]?r.slice(3).toString("utf8"):r.includes(m)?r.toString("latin1"):r.includes(n)?r.toString("utf16le"):r.toString("utf8")}catch(n){throw new J("Cannot read file "+ -D+" - "+n.message,"FODC0002");}if(0<=c.indexOf("\ufffd")&&!r.includes("\ufffd"))throw new J("External file "+d+" contains badly encoded characters at line "+c.substring(0,c.indexOf("\ufffd")).split(/\n/).length,"FOUT1190");return c},writeFileAsync:function(D,r,c){if(!(D instanceof l))throw new J("writeFile('"+D+"'): expected URL");c=A(c);let d=decodeURIComponent(D.pathname);"win32"===process.platform&&(d=d.substring(1));return d.includes("/")?v.promises.mkdir(d.replace(/\/[^/]*$/,""),{recursive:!0}).then(()=> -v.promises.writeFile(d,r,{encoding:c||"utf8"})):v.promises.writeFile(D,r,{encoding:c||"utf8"})},writeFileSync:function(D,r,c){if(!(D instanceof l))throw new J("writeFileSync('"+D+"'): expected URL");D=decodeURIComponent(D.pathname);"win32"===process.platform&&(D=D.substring(1));if(D.includes("/")&&D.includes("/")){let d=D.replace(/\/[^/]*$/,"");v.existsSync(d)||v.mkdirSync(d,{recursive:!0});v.existsSync(d)||console.log("dir still doesn't exist "+d)}c=A(c);v.writeFileSync(D,r,{encoding:c||"utf8"})}, -resourcePromise:function(D){const r=D.encoding;let c="file";if(D.file){var d=D.file;d.startsWith("file:")&&(d=z(D.file));c=d;d=v.promises.readFile(d,r)}else if(D.location){var n=d=D.location;d instanceof l?d=d.toString():n=a(d);c=d;"file:"===n.protocol?d=v.promises.readFile(n,r):(n={method:"get",responseType:"text",encoding:r},D.headers&&(n.headers=D.headers),d=G.get(d,n).then(m=>{m=m.data;"string"!==typeof m&&(m=JSON.stringify(m));return m}))}return d.catch(m=>Promise.reject(new J("Failed to read "+ -c+" ("+(/ENOENT/.test(m.message)?"no such file":m.message)+")","FODC0002",D.expr))).then(m=>{if(m instanceof Buffer)if(r)m=m.toString(r);else{let u;try{const Q=Buffer.from('encoding="utf-16"'),ma=Buffer.from('encoding="iso-8859-1"');255===m[0]&&254===m[1]?u=m.slice(2).toString("utf16le"):254===m[0]&&255===m[1]?(q(m),u=m.slice(2).toString("utf16le")):u=239===m[0]&&187===m[1]&&191===m[2]?m.slice(3).toString("utf8"):m.includes(ma)?m.toString("latin1"):m.includes(Q)?m.toString("utf16le"):m.toString("utf8")}catch(Q){throw new J("Failed to decode "+ -e+" ("+Q.message+")","FODC0002");}if(0<=u.indexOf("\ufffd")&&!m.includes("\ufffd"))throw new J("External file undefined contains badly encoded characters at line "+u.substring(0,u.indexOf("\ufffd")).split(/\n/).length,"FOUT1190",D.expr);m=u}65279===m.codePointAt(0)&&(m=m.substring(1));return Promise.resolve(m)})},resolveUri:function(D,r){try{return(r||null!==r?a(D,r):a(D)).toString()}catch(c){throw new J("Failed URI resolution: href="+D+" base="+r+" -- "+c,"FODC0005");}},baseURL:function(){try{return b(h())+ -"/"}catch(D){throw new J("Failed baseURL"+D,"FODC0005");}},resource:function(D){"undefined"===typeof I[D]&&Aa.fa("Unknown resource request:"+D);return I[D]},getDefaultDeliverMessage:function(){return function(D){D=ld.atomize(D).expand().toString();console.warn(D)}},isHTMLElement:function(){return!1},saxonPrint:function(D){console.error(D)},createDocument:function(){return(new Te).createDocument(null,null,null)},setDocURI:function(D,r){D._saxonBaseUri=r;return D},newURL:a,extraProperties:{platform:"Node.js"}, -toUTF8:function(D){return(new p).encode(D)},fromUTF8:function(D){return(new f).decode(D)},globalObject:global}}();/* - http://mths.be/fromcodepoint v0.1.0 by @mathias */ -var qf={}; -(function(a){function b(C,Z){if(!(this instanceof b))return new b(C,Z);for(var K=0,X=n.length;KC.indexOf(":")?["",C]:C.split(":"),X=K[0];K=K[1];Z&&"xmlns"===C&&(X="xmlns",K="");return{prefix:X,local:K}}function f(C){C.Od||(C.attribName=C.attribName[C.Jg]());if(-1===C.qc.indexOf(C.attribName)&&!C.sb.attributes.hasOwnProperty(C.attribName))if(C.bb.Ce){var Z=p(C.attribName, -!0),K=Z.local;if("xmlns"===Z.prefix)if("xml"===K&&C.attribValue!==na)G(C,"xml: prefix must be bound to "+na+"\nActual: "+C.attribValue);else if("xmlns"===K&&C.attribValue!==O)G(C,"xmlns: prefix must be bound to "+O+"\nActual: "+C.attribValue);else{Z=C.sb;var X=C.tb[C.tb.length-1]||C;Z.Da===X.Da&&(Z.Da=Object.create(X.Da));Z.Da[K]=C.attribValue}C.qc.push([C.attribName,C.attribValue])}else C.sb.attributes[C.attribName]=C.attribValue,g(C,"onattribute",{name:C.attribName,value:C.attribValue});C.attribName= -C.attribValue=""}function I(C,Z){if(C.bb.Ce){var K=C.sb,X=p(C.tagName);K.prefix=X.prefix;K.local=X.local;K.q=K.Da[X.prefix]||"";K.prefix&&!K.q&&(G(C,"Unbound namespace prefix: "+JSON.stringify(C.tagName)),K.q=X.prefix);X=C.tb[C.tb.length-1]||C;K.Da&&X.Da!==K.Da&&Object.keys(K.Da).forEach(function(Y){g(C,"onopennamespace",{prefix:Y,q:K.Da[Y]})});X=0;for(var V=C.qc.length;X";C.tagName="";C.G=H.rd;return}g(C,"onscript",C.script);C.script=""}var Z=C.tb.length, -K=C.tagName;C.Od||(K=K[C.Jg]());for(var X=K;Z--;)if(C.tb[Z].name!==X)G(C,"Unexpected close tag");else break;if(0>Z)G(C,"Unmatched closing tag: "+C.tagName),C.textNode+="";else{C.tagName=K;for(K=C.tb.length;K-- >Z;){var V=C.sb=C.tb.pop();C.tagName=C.sb.name;g(C,"onclosetag",C.tagName);for(var ha in V.Da);X=C.tb[C.tb.length-1]||C;C.bb.Ce&&V.Da!==X.Da&&Object.keys(V.Da).forEach(function(w){g(C,"onclosenamespace",{prefix:w,q:V.Da[w]})})}0===Z&&(C.ce=!0);C.tagName=C.attribValue=C.attribName= -"";C.qc.length=0}}else G(C,"Weird empty close tag."),C.textNode+="";C.G=H.vb}function r(C){var Z=C.entity,K=Z.toLowerCase(),X="";if(C.bc[Z])return C.bc[Z];if(C.bc[K])return C.bc[K];Z=K;if("#"===Z.charAt(0))if("x"===Z.charAt(1)){Z=Z.slice(2);var V=parseInt(Z,16);X=V.toString(16)}else Z=Z.slice(1),V=parseInt(Z,10),X=V.toString(10);Z=Z.replace(/^0+/,"");return isNaN(V)||X.toLowerCase()!==Z?(G(C,"Reference to unknown entity &"+C.entity+";"),"&"+C.entity+";"):String.fromCodePoint(V)}function c(C,Z){"<"=== -Z?(C.G=H.Wf,C.Sg=C.position):A(Z)||(G(C,"Non-whitespace before first tag."),C.textNode=Z,C.G=H.vb)}function d(C,Z){var K="";Z"===K?(g(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.G=H.vb):(P(K)&&(this.G=H.rh),this.sgmlDecl+=K);continue;case H.rh:K===this.Nb&&(this.G=H.bg,this.Nb="");this.sgmlDecl+=K;continue;case H.He:">"===K?(this.G=H.vb, -g(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=K,"["===K?this.G=H.Rf:P(K)&&(this.G=H.ih,this.Nb=K));continue;case H.ih:this.doctype+=K;K===this.Nb&&(this.Nb="",this.G=H.He);continue;case H.Rf:this.doctype+=K;"]"===K?this.G=H.He:P(K)&&(this.G=H.hh,this.Nb=K);continue;case H.hh:this.doctype+=K;K===this.Nb&&(this.G=H.Rf,this.Nb="");continue;case H.Fe:"-"===K?this.G=H.fh:this.comment+=K;continue;case H.fh:"-"===K?(this.G=H.eh,this.comment=l(this.bb,this.comment),g(this,"oncomment",this.comment), -this.comment=""):(this.comment+="-"+K,this.G=H.Fe);continue;case H.eh:">"!==K?(G(this,"Malformed comment"),this.comment+="--"+K,this.G=H.Fe):this.G=H.vb;continue;case H.Ee:"]"===K?this.G=H.bh:this.cdata+=K;continue;case H.bh:"]"===K?this.G=H.ch:(this.cdata+="]"+K,this.G=H.Ee);continue;case H.ch:">"===K?(this.cdata&&g(this,"oncdata",this.cdata),g(this,"onclosecdata"),this.cdata="",this.G=H.vb):"]"===K?this.cdata+="]":(this.cdata+="]]"+K,this.G=H.Ee);continue;case H.ph:"?"===K?this.G=H.ag:A(K)?this.G= -H.$f:this.procInstName+=K;continue;case H.$f:if(!this.procInstBody&&A(K))continue;else"?"===K?this.G=H.ag:this.procInstBody+=K;continue;case H.ag:">"===K?(g(this,"onprocessinginstruction",{name:this.procInstName,rc:this.procInstBody}),this.procInstName=this.procInstBody="",this.G=H.vb):(this.procInstBody+="?"+K,this.G=H.$f);continue;case H.kh:if(E.test(K))this.tagName+=K;else{this.Od||(this.tagName=this.tagName[this.Jg]());X=this.tb[this.tb.length-1]||this;var V=this.sb={name:this.tagName,attributes:{}}; -this.bb.Ce&&(V.Da=X.Da);this.qc.length=0;g(this,"onopentagstart",V);">"===K?I(this):"/"===K?this.G=H.Ne:(A(K)||G(this,"Invalid character in tag name"),this.G=H.pd)}continue;case H.Ne:">"===K?(I(this,!0),D(this)):(G(this,"Forward-slash in opening tag not followed by >"),this.G=H.pd);continue;case H.pd:if(A(K))continue;else">"===K?I(this):"/"===K?this.G=H.Ne:x.test(K)?(this.attribName=K,this.attribValue="",this.G=H.De):G(this,"Invalid attribute name");continue;case H.De:"="===K?this.G=H.Hf:">"===K? -(G(this,"Attribute without value"),this.attribValue=this.attribName,f(this),I(this)):A(K)?this.G=H.$g:E.test(K)?this.attribName+=K:G(this,"Invalid attribute name");continue;case H.$g:if("="===K)this.G=H.Hf;else if(A(K))continue;else G(this,"Attribute without value"),this.attribValue=this.sb.attributes[this.attribName]="",g(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===K?I(this):x.test(K)?(this.attribName=K,this.G=H.De):(G(this,"Invalid attribute name"),this.G=H.pd); -continue;case H.Hf:if(A(K))continue;else P(K)?(this.Nb=K,this.G=H.Kf):(G(this,"Unquoted attribute value"),this.G=H.Lf,this.attribValue=K);continue;case H.Kf:if(K!==this.Nb){"&"===K?this.G=H.If:/[\t\r\n]/.test(K)?this.attribValue+=" ":this.attribValue+=K;continue}f(this);this.Nb="";this.G=H.ah;continue;case H.ah:A(K)?this.G=H.pd:">"===K?I(this):"/"===K?this.G=H.Ne:x.test(K)?(G(this,"No whitespace between attributes"),this.attribName=K,this.attribValue="",this.G=H.De):G(this,"Invalid attribute name"); -continue;case H.Lf:if(">"!==K&&!A(K)){"&"===K?this.G=H.Jf:this.attribValue+=K;continue}f(this);">"===K?I(this):this.G=H.pd;continue;case H.Of:if(this.tagName)">"===K?D(this):E.test(K)?this.tagName+=K:this.script?(this.script+=""===K?D(this):G(this,"Invalid characters in closing tag");continue;case H.dg:case H.If:case H.Jf:switch(this.G){case H.dg:var ha=H.vb;var w="textNode";break;case H.If:ha=H.Kf;w="attribValue";break;case H.Jf:ha=H.Lf,w="attribValue"}";"===K?(this[w]+=r(this),this.entity="",this.G=ha):(this.entity&&this.entity.length?L:B).test(K)?this.entity+=K:(G(this,"Invalid character in entity name"),this[w]+="&"+this.entity+K,this.entity="",this.G=ha);continue;default:throw Error(this,"Unknown state: "+this.G); -}}if(this.position>=this.Dh){C=Math.max(a.Uf,10);K=Z=0;for(ha=n.length;KC)switch(n[K]){case "textNode":e(this);break;case "cdata":g(this,"oncdata",this.cdata);this.cdata="";break;case "script":g(this,"onscript",this.script);this.script="";break;default:z(this,"Max buffer length exceeded: "+n[K])}Z=Math.max(Z,w)}this.Dh=a.Uf-Z+this.position}return this},resume:function(){this.error=null;return this},close:function(){return this.write(null)},flush:function(){e(this); -""!==this.cdata&&(g(this,"oncdata",this.cdata),this.cdata="");""!==this.script&&(g(this,"onscript",this.script),this.script="")}};try{var m=require("stream").Stream}catch(C){m=function(){}}var u=a.Wi.filter(function(C){return"error"!==C&&"end"!==C});h.prototype=Object.create(m.prototype,{constructor:{value:h}});h.prototype.write=function(C){this.b.write(C.toString());this.g("data",C);return!0};h.prototype.R=function(C){C&&C.length&&this.write(C);this.b.R();return!0};h.prototype.vi=function(C,Z){var K= -this;K.b["on"+C]||-1===u.indexOf(C)||(K.b["on"+C]=function(){var X=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);X.splice(0,0,C);K.g.apply(K,X)});return m.prototype.vi.call(K,C,Z)};var Q="[CDATA[",ma="DOCTYPE",na="http://www.w3.org/XML/1998/namespace",O="http://www.w3.org/2000/xmlns/",ca={xml:na,xmlns:O},x=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,E=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/, -B=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,L=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,H=0;a.Se={Mf:H++,Nf:H++,vb:H++,dg:H++,Wf:H++,bg:H++,rh:H++,He:H++,ih:H++,Rf:H++,hh:H++,Mk:H++,Fe:H++,fh:H++,eh:H++,Ee:H++,bh:H++,ch:H++,ph:H++,$f:H++, -ag:H++,kh:H++,Ne:H++,pd:H++,De:H++,$g:H++,Hf:H++,Kf:H++,ah:H++,Lf:H++,If:H++,Jf:H++,Of:H++,dh:H++,rd:H++,qh:H++};a.aj={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};a.bc={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220, -Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177, -sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949, -zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364, -image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,"int":8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839, -oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};Object.keys(a.bc).forEach(function(C){var Z=a.bc[C];a.bc[C]="number"===typeof Z?String.fromCharCode(Z):Z});for(var S in a.Se)a.Se[a.Se[S]]=S;H=a.Se;String.fromCodePoint||function(){function C(){var X=[],V=-1,ha=arguments.length;if(!ha)return"";for(var w="";++VM||1114111=M)X.push(M);else{M-=65536;var aa=(M>>10)+55296;M=M%1024+56320;X.push(aa,M)}if(V+1===ha||16384a+=b.k+":("+b.v+"),");a+="}";return"context: "+this.getCurrentFocus()+" localParams: "+a}newContext(a){const b=new rf;b.depth=this.depth+1;b.focus=this.focus;b.currentComponent=this.currentComponent;b.resultDocument=this.resultDocument;b.masterDocument=this.masterDocument;b.currentMode=this.currentMode;b.currentTemplate=this.currentTemplate;b.currentError=this.currentError;b.currentGroup=this.currentGroup;b.regexGroups=this.regexGroups;b.currentGroupingKey=this.currentGroupingKey; -b.fixed=this.fixed;b.tempOutputState=this.tempOutputState;b.outputURIs=this.outputURIs;b.currentEvent=this.currentEvent;b.useAccumulators=this.useAccumulators;b.messageCounts=this.messageCounts;b.b=this;a?(b.localParams=new lc,b.tunnelParams=new lc,b.localVars=[],b.currentMergeGroup=null):(b.localParams=this.localParams,b.tunnelParams=this.tunnelParams,b.localVars=this.localVars,b.currentMergeGroup=this.currentMergeGroup);return b}clearGrouping(){this.currentMergeGroup=this.currentGroupingKey=this.currentGroup= -null}createElement(a,b){const h=fc.xc(this.resultDocument),A=h.documentElement;""===a&&A&&ya.isHTMLElement(A)?b=h.createElement(b):"http://www.w3.org/1999/xhtml"===a&&A&&ya.isHTMLElement(A)?(a=b.indexOf(":"),b=h.createElement(-1===a?b:b.substring(a+1))):b=h.createElementNS(a,b);return b}createAttribute(a,b){return new ec(Sa.XS.QName.fromEQName("Q{"+a+"}"+b),null,null)}noCurrentFocus(){return!this.focus||!this.focus.current}failIfNoCurrentFocus(a,b,h=null){if(this.noCurrentFocus())throw new J("Focus for "+ -b+" is absent",a,h);}getCurrentFocus(){return this.noCurrentFocus()?null:this.focus.current}getCurrentOutputURI(){return 0===this.outputURIs.length?null:this.outputURIs[this.outputURIs.length-1]}pushCurrentOutputURI(a){this.outputURIs.push(a)}popCurrentOutputURI(){return this.outputURIs.pop()}countMessage(a){this.messageCounts[a]||(this.messageCounts[a]=0);this.messageCounts[a]++}getStackTrace(){let a="";this.noCurrentFocus()||(a=" Processing "+Aa.showValue(this.focus.current)+"\n");try{let b= -this.currentComponent.actor,h;"mode"===b.N?(h="template rule",b=this.currentTemplate.Xa):h=b.N+" "+b.name;a+=" at "+h+" in "+ld.getInheritedProperty(b,"module")+"#"+ld.getInheritedProperty(b,"line")}catch(b){a=""}this.b&&(a+="\n"+this.b.getStackTrace());return a}};var sf={},tf={};sf[0]="";sf[1]="|";sf[2]="/";sf[3]="@";sf[48]="~";sf[4]="[";sf[5]="(";sf[6]="=";sf[7]=",";sf[8]="//";sf[9]="or";sf[10]="and";sf[11]=">";sf[12]="<";sf[13]=">=";sf[14]="<=";sf[15]="+";sf[16]="-";sf[299]="-";sf[17]="*";sf[18]="div";sf[19]="mod";sf[20]="is";sf[21]="$";sf[22]="!=";sf[40]="!";sf[30]="||";sf[23]="intersect";sf[24]="except";sf[25]="return";sf[26]="then";sf[27]="else";sf[29]="to";sf[31]="in";sf[32]="some";sf[33]="every";sf[34]="satisfies";sf[35]="(";sf[36]=""; -sf[37]="if(";sf[38]="<<";sf[39]=">>";sf[41]="::";sf[42]=":*";sf[44]="#";sf[45]="instance of";sf[46]="cast as";sf[47]="treat as";sf[50]="eq";sf[51]="ne";sf[52]="gt";sf[54]="ge";sf[53]="lt";sf[55]="le";sf[56]="idiv";sf[57]="castable as";sf[58]=":=";sf[71]="as";sf[75]=":";sf[76]="=>";sf[79]="otherwise";sf[80]="andAlso";sf[81]="orElse";sf[201]="";sf[202]="";sf[203]="]";sf[204]=")";sf[205]=".";sf[206]="..";sf[207]="*";sf[208]="";sf[209]="";sf[69]="()"; -sf[211]="for";sf[70]="<*:local-name>";sf[213]="?";sf[59]="{";sf[60]=" {";sf[215]="}";sf[216]="let";sf[299]="-";function uf(a,b){tf[a]=b;sf[b]=a}uf("instance of",45);uf("cast as",46);uf("treat as",47);uf("castable as",57);var vf={El:function(){return null}};for(const a in dc)vf[a.toUpperCase()]=dc[a];vf.jl=dc.ac;vf.bj=dc.Jc;function wf(a){a=a.charCodeAt(0);return 65<=a&&90>=a||97<=a&&122>=a}var xf=Ma.isNCName;function yf(a){const b=a.charCodeAt(0);return wf(a)||48<=b&&57>=b}function zf(a,b="XPST0003"){return new J(a,b)}function Af(a="Illegal Argument"){return new J(a,"XPST0003")};function Bf(a,b){a.G=b;0===b?(a.O=-1,a.na="",a.y=-1):b===Cf&&(a.O=204,a.na=")",a.y=204)} -function Df(a){a.O=a.g;a.na=a.z;a.z=null;for(a.U=a.b;;){if(a.b>=a.x){a.g=0;break}var b=a.l.charAt(a.b++);switch(b){case "/":if(a.b"===a.l.charAt(a.b)){a.b++;a.g=76;return}a.g=6;return;case "!":if(a.b":if(a.b"===a.l.charAt(a.b)){a.b++;a.g=39;return}a.g=11;return;case ".":if(a.ba.l.charAt(a.b)||"9"=b||127=a.x)break;b=a.l.charAt(a.b++)}a.z=a.l.substring(a.U,a.b);a.g=209;return;case '"':case "'":for(a.z="";;){a.b=a.l.indexOf(b,a.b);if(0>a.b)throw a.b=a.U+1,new zf("Unmatched quote in expression");a.z+=a.l.substring(a.U+1,a.b++); -if(a.bb.charCodeAt(0)&&!wf(b))throw new zf("Invalid character '"+b+"' in expression");case "_":h=!1;a:for(;a.bb.charCodeAt(0)&&!yf(b))break a}a.z=a.l.substring(a.U,a.b);a.g=201;return}}} -function Hf(a,b){a.G=0;a.g=0;a.z=null;a.U=0;a.b=0;a.l=b;a.lineNumber=0;a.qa=0;a.x=b.length;Df(a);a.next()}function Gf(a){a={or:9,is:20,to:29,"in":31,eq:50,ne:51,le:55,lt:53,gt:52,ge:54,as:71,and:10,div:18,mod:19,idiv:56,then:26,"else":27,"case":67,where:28,union:1,except:24,"return":25,otherwise:79,orElse:81,"default":212,andAlso:80,intersect:23,satisfies:34}[a];return[81,80].includes(a)?-1:a||-1}function Ef(a,b=-1){a.lineNumber++;a.qa++;null===a.ia&&(a.ia=[]);a.ia.push(-1===b?a.b-1:b)} -function Ff(a,b=null){var h=b?b:a.b;return" at line:"+If(a,b)+" col:"+Jf(a,b)+" near '"+a.l.slice(5>h?0:h-5,h+5)+"'"}function Kf(a){a.b>a.x&&(a.b=a.x);return 34>a.b?a.l.substring(0,a.b):Ma.cf("..."+a.l.substring(a.b-30,a.b)).toString()}function Lf(a,b){if(null===a.ia)return b;for(var h=a.ia.length-1;0<=h;h--){var A=a.ia[h];if(b>A)return h+1<<16|b-A}return b}function If(a,b=null){return b?Lf(a,b)>>16:a.lineNumber}function Jf(a,b=null){return Lf(a,b?b:a.ee)&32767} -class Mf{constructor(){this.y=this.G=0;this.J=null;this.g=this.ee=0;this.z=null;this.U=0;this.l=null;this.x=this.b=0;this.qa=this.lineNumber=1;this.ia=null;this.O=-1;this.na=""}next(){this.O=this.y;this.na=this.J;this.y=this.g;this.J=this.z;null===this.J&&(this.J="");this.ee=this.U;this.lineNumber=this.qa;switch(this.y){case 201:var a=Gf(this.J);-1===a||150>=this.O||213===this.O||(this.y=a);break;case 207:150>=this.O||213===this.O||(this.y=17)}if(215!==this.y&&(a=this.O,Df(this),201===this.y&&this.G!== -Nf&&21!==a))switch(this.g){case 5:var b=Gf(this.J);-1===b||150>=a?(this.y=this.Dg(this.J),Df(this)):this.y=b;break;case 59:this.G!==Of&&(this.y=60,Df(this));break;case 41:Df(this);this.y=36;break;case 44:Df(this);this.y=43;break;case 42:Df(this);this.y=208;break;case 21:"for"===this.J?this.y=211:"some"===this.J?this.y=32:"every"===this.J?this.y=33:"let"===this.J&&(this.y=216);break;case 201:a=this.J+" "+this.z,b=tf[a],null!=b&&(this.y=b,this.J=a,Df(this))}}Dg(a){const b={"if":37,array:69,attribute:69, -comment:69,"document-node":69,element:69,"empty-sequence":69,"function":69,map:69,item:69,"namespace-node":69,node:69,"processing-instruction":69,"schema-attribute":69,"schema-element":69,"switch":69,otherwise:79,text:69,tuple:69,typeswitch:69,union:69}[a];return b?["tuple","union"].includes(a)?35:b:35}}var Nf=1,Of=2,Cf=3;var Pf=[!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!0,!1];function Qf(a){return"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")[a]}var Rf=[1,1,2,1,1,1,1,1,13,1,1,1,1,1],Sf=[4,5,9,9,0,1,10,11,9,3,6,7,12]; -function Tf(a){switch(a){case "self":return 12;case "child":return 3;case "parent":return 9;case "ancestor":return 0;case "attribute":return 2;case "following":return 6;case "namespace":return 8;case "preceding":return 10;case "descendant":return 4;case "ancestor-or-self":return 1;case "following-sibling":return 7;case "preceding-sibling":return 11;case "descendant-or-self":return 5}throw new zf("Unknown axis name: "+a);};function Uf(a,b,h,A="XPTY0004"){this.Ba=a;this.g=b;this.b=h;this.xd=A}Uf.prototype={Ad:function(){return this.xd},save:function(){let a=this.Ba+"|"+this.b+"|";a+=("XPTY0004"===this.xd?"":this.xd)+"|";return a+=this.g}};function Vf(a,b,h={}){a.V(b,h);b.R()}class Wf{constructor(){this.j=mc.pa}V(a,b={}){a.V(this.B,b);this.Yb&&a.ed("role",this.Yb);this.wg&&a.ed("sType",this.j.ea())}Bb(){return!hd(this.j.ca)}t(a){Vf(this,a)}}oa=Wf.prototype;oa.B="Expression";oa.Ba=null;oa.Yb=null;oa.wg=null;oa.sa=function(a,b="XPTY0004"){return new Uf(this.Ba,this.B,a,b)};oa.ua=function(){throw new zf(Aa.yk(this)+" is not a valid pattern","XTSE0340");};oa.yd=function(){return this}; -class Xf extends Wf{constructor(a,b,h){super();this.Ia=b;this.aa=a;this.da=h;if(this.aa.Ja||this.da.Ja)this.Ja=!0;this.aa.Ab&&this.da.Ab&&(this.Ab=!0)}t(a){super.V(a,this.Ia?{op:sf[this.Ia]}:{});this.aa.t(a);this.da.t(a);a.R()}}Xf.prototype.Ba=1;class Yf extends Wf{constructor(a){super();this.b=a;this.b.Ja&&(this.Ja=!0);this.b.Ab&&(this.Ab=!0)}t(a){super.V(a);this.b.t(a);a.R()}}Yf.prototype.Ba=9;class Zf extends Wf{constructor(){super();this.j=mc.cc}ua(){return this}t(a){Vf(this,a)}}class $f extends Zf{}$f.prototype.B="p.any";class ag extends Zf{constructor(a){super();this.message=a;this.Yb="match";this.j=mc.cc}t(a){Vf(this,a,{message:this.message})}}ag.prototype.B="p.warning";class bg extends Zf{constructor(a){super();this.b=a;this.j=mc.cc}t(a){super.V(a);this.b.t(a);a.R()}}bg.prototype.B="p.booleanExp"; -class cg extends Zf{constructor(a){super();Aa.ba(a instanceof uc);this.test=a;this.j=new pc(a,2)}t(a){Vf(this,a,{test:this.test.ea()})}}cg.prototype.B="p.nodeTest";class dg extends Zf{constructor(a,b){super();this.ve=a;this.b=b;this.j=a.j;a.code&&(this.code=a.code)}t(a){super.V(a);this.code&&a.ed("code",this.code);this.ve.t(a);this.b.t(a);a.R()}}dg.prototype.B="p.withPredicate";class eg extends Zf{constructor(a){super();this.b=a;this.j=dd(a.j,2)}t(a){super.V(a);this.b.t(a);a.R()}}eg.prototype.B="p.nodeSet"; -class fg extends Zf{constructor(a){super();this.b=a;this.j=dd(a.j,2)}t(a){super.V(a);this.b.t(a);a.R()}}fg.prototype.B="p.genNode";class gg extends Zf{constructor(a,b){super();this.b=b;this.code=a.j.ea();this.j=dd(a.j,2)}t(a){super.V(a,{test:this.code});this.b.t(a);a.R()}}gg.prototype.B="p.genPos";class hg extends Zf{constructor(a,b){super();this.code=a.ea();this.Hd=b;this.j=dd(a,2)}t(a){Vf(this,a,{test:this.code,pos:this.Hd})}}hg.prototype.B="p.simPos"; -class ig extends Zf{constructor(a,b,h){super();this.mb=Sf[a];this.Ya=b;this.b=h;this.j=b.j}t(a){super.V(a,{axis:Qf(this.mb)});this.Ya.t(a);this.b.t(a);a.R()}}ig.prototype.B="p.withUpper";class jg extends Zf{constructor(a,b,h,A){super();this.Ia=b;this.aa=a;this.da=h;this.j=dd(A,2)}t(a){super.V(a,{op:1===this.Ia?"union":sf[this.Ia]});this.aa.t(a);this.da.t(a);a.R()}}jg.prototype.B="p.venn"; -function kg(a){var b=[];a.aa instanceof lg?b=kg(a.aa):b.push(a.aa);a.da instanceof lg?b=b.concat(kg(a.da)):b.push(a.da);return b}class lg extends jg{constructor(a,b,h){super(a,1,b,h)}}class mg extends Zf{constructor(a){super();this.b=a;for(var b of this.b)b.wg=!0}t(a){super.V(a);for(var b of this.b)b.t(a);a.R()}}mg.prototype.B="UnionExprP";function ng(a){return a instanceof og&&1===a.value.length&&Dc.ga()(a.value[0])}function pg(a,b){return new og(a,b)}function qg(){return new og([],mc.Ie)} -class og extends Wf{constructor(a,b){super();Array.isArray(a)||Aa.fa("Literal value must be array");b instanceof pc&&b.K.ea||Aa.fa("Literal type must be a SequenceType");a&&(this.value=a,b&&(this.j=b));this.Yb=null}toString(){return this.value.toString()}t(a){function b(h,A){const P=h.code,q={};switch(P){case "AB":break;case "AQ":q.pre=h.prefix;q.uri=h.q;q.loc=h.local;break;default:q.val=h.toString()}A&&(q.role=A);switch(P){case "AS":a.V("str",q);break;case "AO":a.V("dbl",q);break;case "AB":a.V(h.value? -"true":"false",q);break;case "AD":a.V("dec",q);break;case "ADI":a.V("int",q);break;case "AQ":a.V("qName",q);break;default:q.type=P,a.V("atomic",q)}a.R()}if(0===this.value.length)a.V("empty",this.Yb?{role:this.Yb}:{}),a.R();else if(1===this.value.length)b(this.value[0],this.Yb);else{let h={count:this.value.length};this.Yb&&(h.role=this.Yb);a.V("atomic",h);for(const A of this.value)b(A);a.R()}}}og.prototype.B="literal";og.prototype.Ab=!0; -class rg extends og{constructor(a){super([Sa.XS.string.fromString(a)],mc.Tb);this.j=mc.Tb}};function sg(a,b,h,A,P){var q=tg(a,mc.Sb,a.sa(0,"XPTY0004"));q=new ug(q);if(/[lu]/.test(b))q.dd={flags:b+(P?"e":""),as:h.toEQName()};else{Aa.ba("a"===b);try{if(a instanceof og&&1===a.value.length&&Sa.ka(a.value[0])&&"AQ"!==A.T().p){const g=A.Ic.I(a.value[0]);return new og([g],new pc(A,2))}}catch(g){}q.dd={flags:P?"ae":"a",as:A.ea()}}return q}class ug extends Yf{constructor(a){super(a);this.B="cast";this.Ba=2;this.dd={}}t(a){super.V(a,this.dd);this.b.t(a);a.R()}} -function vg(a,b,h,A,P){var q=new wg(a);q=tg(q,mc.Sb,q.sa(0,"XPTY0004"));if(/[lu]/.test(b))q.dd={flags:b+(P?"e":""),as:h.toEQName()};else{Aa.ba("a"===b);if(a instanceof og&&1===a.value.length&&Sa.ka(a.value[0])&&"AQ"!==A.T().p)try{return A.Ic.I(a.value[0]),new og([Sa.XS.boolean.Kc],mc.Sa)}catch(g){return new og([Sa.XS.boolean.Vd],mc.Sa)}q.dd={flags:P?"ae":"a",as:A.ea()}}return q} -class wg extends Yf{constructor(a){super(a);this.j=mc.Sa;this.B="castable";this.Ba=2;this.dd={}}t(a){super.V(a,this.dd);this.b.t(a);a.R()}}class xg extends Yf{constructor(a,b){super(a);this.g=b;this.j=pd(a.j.K)?mc.wh:mc.od}t(a){super.V(a,{diag:this.g});this.b.t(a);a.R()}}xg.prototype.B="data";class yg extends xg{constructor(a,b,h){super(a,b);this.l=h;pd(a.j.K)?this.j=h?mc.Zf:mc.vh:this.j=h?mc.Sb:mc.Qe}t(a){super.V(a,{diag:this.g});this.l&&a.ed("card","?");this.b.t(a);a.R()}}yg.prototype.B="atomSing"; -class zg extends Wf{constructor(a){super();this.name=a.K.name.toEQName();this.j=mc.Zf}t(a){Vf(this,a,{name:this.name})}}zg.prototype.B="attVal";class Ag extends Yf{constructor(a,b,h){super(a);this.code=b;this.g=h;this.j=mc.od}t(a){super.V(a,{to:this.code,diag:this.g});this.b.t(a);a.R()}}Ag.prototype.B="cvUntyped"; -class Bg extends Yf{constructor(a,b){super(a);this.type=b;this.flags="";this.j=new pc(b.K,a.j.ca)}t(a){super.V(a,{to:this.type.ea().replace(/^[01?*+]/,""),flags:this.flags});this.b.t(a);a.R()}}Bg.prototype.B="convert";class Cg extends Yf{constructor(a,b,h){super(a);this.type=b;this.ja=a.ja;this.g=h;this.j=b}t(a){super.V(a,{to:this.type.ea().replace(/^[01?*+]/,""),diag:this.g});this.b.t(a);a.R()}}Cg.prototype.B="fnCoercer";const Dg="array attribute comment document-node element empty-sequence function if item map namespace-node node processing-instruction schema-attribute schema-element switch text typeswitch".split(" ");class Eg{constructor(a,b){if(""===a.prefix&&Dg.includes(a.local))throw new zf("The unprefixed function name '"+a.local+"' is reserved","XPST0003");this.name=a;this.arity=b}toEQName(){return this.name.toEQName()}toString(){return this.name.toEQName()+"#"+this.arity}};class Fg extends Wf{constructor(a,b,h){super();const A=a.name.local;if(a.name.q===dc.ac){if("NOTATION"===A)throw new J("No constructor function exists for xs:NOTATION","XPST0017");const q=b[0].j;if(2===q.ca&&q.K.ka()&&q.K.Ic&&A===q.K.Ic.name)a=b[0];else if(["NMTOKENS","ENTITIES","IDREFS"].includes(A))a=sg(b[0],"l",a.name,null,!0);else{var P;"numeric"===A?P=sg(b[0],"u",a.name,null,!0):P=sg(b[0],"a",null,h.K,!0);a=P}return a}this.name=a;this.b=b;this.j=h;switch(A){case "exactly-one":this.j=dd(b[0].j, -2);break;case "head":this.j=dd(b[0].j,fd(b[0].j.ca)?3:2);break;case "tail":case "subsequence":this.j=dd(b[0].j,7);break;case "ceiling":case "floor":case "reverse":case "snapshot":this.j=b[0].j;break;case "last":case "position":this.Ja=!0;break;case "string-length":case "normalize-space":0===b.length&&this.b.push(Gg("string",new Hg));break;case "fold-left":case "fold-right":this.j=b[2].ja;break;case "for-each":this.j=dd(b[1].j.K.lf(),7);break;case "filter":this.j=dd(b[0].j,7);break;case "current":this.Ab= -!0;break;case "boolean":if(b[0].j.equals(mc.Sa))return b[0]}}ua(){return new eg(this)}Bb(){if(this.name.q===dc.za)return"doc document element-with-id id innermost key outermost".split(" ").includes(this.name.local)?!0:"filter one-or-more subsequence remove tail trace unordered zero-or-more".split(" ").includes(this.name.local)?this.b[0].Bb():!1}t(a){super.V(a,{name:this.name.name.local});for(const b of this.b)b.t(a);a.R()}}Fg.prototype.B="fn"; -class Ig extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Ig.prototype.B="ifCall";class Jg extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h;if(a="merge"===a.name.local)a=b[0],a=!(a instanceof og&&0===a.value.length);a&&(this.j=dd(b[0].j,2))}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Jg.prototype.B="ifCall"; -class Kg extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Kg.prototype.B="ifCall";class Lg extends Ig{}class Mg extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Mg.prototype.B="ifCall"; -class Ng extends Wf{constructor(a,b,h){super();this.name=a;this.b=b;this.j=h}t(a){super.V(a,{name:this.name.toEQName()});for(const b of this.b)b.t(a);a.R()}}Ng.prototype.B="ifCall";class Og extends Ng{constructor(a,b,h){super(a,b,h);const A=new Eg(Sa.XS.QName.fromParts("ixsl",dc.Yc,"call"),3),P=new Eg(Sa.XS.QName.fromParts("ixsl",dc.Yc,"window"),0);this.name=A;this.b=[new Ng(P,[],mc.cc),new rg(a.name.local),new Pg(b)];this.j=h}} -class Qg extends Wf{constructor(a,b,h,A){super();this.name=a;this.b=b;this.j=h;this.g=A}t(a){super.V(a,{name:this.name.toEQName(),coId:this.g});for(const b of this.b)b.t(a);a.R()}}Qg.prototype.B="ufCall";class Rg extends Wf{constructor(a){super();this.name=a.name.name;this.jb=a.jb;this.arity=a.name.arity;this.j=a.j;this.ja=a.ja}t(a){Vf(this,a,{name:this.name.toEQName(),arity:this.arity,resultType:this.ja.ea()})}}Rg.prototype.B="fnRef"; -class Sg extends Rg{constructor(a){super(a);this.b=0}t(a){Vf(this,a,{name:this.name.toEQName(),arity:this.arity,resultType:this.ja.ea(),bSlot:this.b})}}Sg.prototype.B="ufRef";class Tg extends Wf{constructor(){super();this.j=mc.pa}t(a){Vf(this,a,{asCode:"*"})}}Tg.prototype.B="null";class Ug extends Wf{}Ug.prototype.b={};Ug.prototype.l={};Ug.prototype.g={}; -class Vg extends Wf{constructor(){super();this.j=mc.pa;this.Db=this.Ma=this.name=this.Qb=null}Tc(){return this.name}toString(){return"$"+this.name+" as "+this.j.toString()}t(a){Vf(this,a,{name:this.name,asCode:this.j.ea(),slot:this.Db})}}Vg.prototype.B="arg"; -class Wg extends Wf{constructor(a,b,h,A){super();this.b=a;this.params=b;this.ja=h;const P=[];b.forEach(q=>{P.push(q.j)});A=tg(A,h,this.sa("body"));this.j=tc(new md(P,h));this.arity=b.length;this.rc=A;A.Yb="body"}t(a){super.V(a,{arity:this.arity,name:this.name,as:this.ja.ea()});for(const b of this.params)b.t(a);this.rc.t(a);a.R()}}oa=Wg.prototype;oa.B="inlineFn";oa.Ba=5; -oa.sa=function(a,b="XPTY0004"){return new Uf(this.Ba,"("+this.params.map(h=>h.toString()).join(",")+")"+(this.ja?" as "+this.ja.toString():""),a,b)};oa.name="inline";oa.wg=!0; -class Xg extends Wf{constructor(a,b,h){super();if(a.j&&a.j.K instanceof md&&a.j.T().a.length!==b.length)throw new J("Partially-applied function requires "+a.arity+" arguments, but "+(b.length{var z=g.a[P];z=q?q:rc(z);l instanceof Tg?l.j=z:l=tg(l,z,this.sa(P));this.b.push(l);e&&(q=z);P++})}else b.forEach(g=>{this.b.push(g)});a.j.K instanceof md&&(this.j=tc(Bd(a.j.K,h)))}t(a){super.V(a);this.g.t(a);this.b.forEach(b=>{b.t(a)});a.R()}}Xg.prototype.B="partialApply";Xg.prototype.Ba=5; -class Zg extends Wf{constructor(a,b){super();this.Mb=a;this.value=b;this.j=nc("1FM")}toString(){return"map{"+this.Mb.toString+" : "+this.value.toString()+"}"}t(a){super.V(a);this.Mb.t(a);this.value.t(a);a.R()}}Zg.prototype.B="map"; -class $g extends Wf{constructor(a){super();this.entries=a;const b=yd.Ed(a.map(P=>P[0].j.K)),h=yd.Ed(a.map(P=>P[1].j.K));a=a.map(P=>P[1].j.ca);let A=2;a.some(P=>fd(P))&&(A+=1);a.some(P=>hd(P))&&(A+=4);this.j=tc(new zd(b,new pc(h,A)))}toString(){let a="map{";this.entries.forEach(b=>{a+=b[0].toString+" : "+b[1].toString()});return a+"}"}t(a){super.V(a);this.entries.forEach(b=>{b[0].t(a);b[1].t(a)});a.R()}}$g.prototype.B="map";class ah extends Wf{constructor(a,b){super();Aa.ba(!b||b instanceof uc);this.mb=a;this.B="axis";b=b||zc;2===a&&b instanceof Ac?b=Qc:3===a&&b instanceof Ac&&(b=Bc);this.b=b;9===a&&b instanceof Ac?this.j=mc.Xd:b?this.j=new pc(b,7):this.j=mc.Wd}ob(){return this.mb}Bb(){return[2,3,4,5,6,7,9,12].includes(this.mb)}ua(){return new cg(this.b)}t(a){Vf(this,a,{name:Qf(this.mb),nodeTest:this.j.ea()})}} -class bh extends Xf{constructor(a,b){super(a,2,b);this.aa=a=tg(a,mc.Wd,this.sa(0,"XPTY0019"));this.j=ed(b.j,a.j.ca)}Bb(){return!0}ua(){if(this.da instanceof Fg||this.da instanceof og)throw new zf("Not an axis step for a pattern","XTSE0340");return this.Ja||!this.da.ob||this.da instanceof ch?new fg(this):new ig(this.da.ob(),this.da.ua(),this.aa.ua())}t(a){super.V(a,this.Ia?{op:sf[this.Ia]}:{});this.aa.t(a);this.da.t(a);a.R()}}bh.prototype.B="slash"; -class dh extends Wf{constructor(){super();this.j=mc.Xd}ua(){return new cg(Nc)}}dh.prototype.B="root";const eh={ADI:"i",ADIL:"c",ADILI:"i",ADILIS:"i",ADILISB:"i",ADIN:"c",ADINN:"c",ADIP:"c",ADIPP:"c",ADIPL:"c",ADIPLI:"i",ADIPLIS:"i",ADIPLISB:"i",AD:"c",AO:"d",AF:"f",A:"a",AZ:"a",AT:"t",AA:"t",AM:"t",AMP:"t",AH:"t",AI:"t",AJ:"t",AG:"t",AK:"t",ARD:"u",ARY:"u",E:"a"};var fh={19:"%",18:"/",56:"~",15:"+",16:"-",299:"-",17:"*"};function gh(a,b){b=new Ag(a,"AO",b.save());b.j=2===a.j.ca?mc.$d:mc.mh;return b} -class hh extends Xf{constructor(a,b,h,A){function P(c){return c instanceof wc&&c.Ic.Ya?new wc(Sa.ok(c.Ic)):c}function q(){throw new zf("Cannot evaluate "+l.toString()+" "+sf[b]+" "+z.toString(),"XPTY0004");}super(a,b,h);const g=A.oe(),e=a.Ja||h.Ja;g&&(a=ih(a),h=ih(h));a=tg(a,mc.Sb,this.sa(0));h=tg(h,mc.Sb,this.sa(1));let l=P(a.j.K),z=P(h.j.K);var v=l.T().p,G=z.T().p;g||!/^AS/.test(v)&&!/^AS/.test(G)||q();"AZ"!==v||g||(a=gh(a,this.sa(0,"FORG0001")),l=Vc,v="AO");"AZ"!==G||g||(h=gh(h,this.sa(1,"FORG0001")), -z=Vc,G="AO");var p=eh[v];let f=eh[G];const I=l.isNumeric(),D=z.isNumeric();G=ad;v=fd(a.j.ca)||fd(a.j.ca);p||="a";f||="a";var r;g?(p=f="d",G=Vc):I&&D&&("d"===p||"d"===f?(p=f="d",G=r=Vc):"f"===p||"f"===f?(p=f="f",G=r=Wc):"c"===p||"c"===f?(p=f="c",G=r=Yc):"i"===p&&"i"===f&&18===b?(p=f="c",G=Yc):"i"!==p||"i"!==f||15!==b&&16!==b&&17!==b&&19!==b?"i"===p&&"i"===f&&18===b&&(G=Yc):G=Zc);56===b&&(G=Zc);G.isNumeric()&&r&&(r=new pc(r,3),a=tg(a instanceof jh?a.b:a,r,this.sa(0)),h=tg(h instanceof jh?h.b:h,r,this.sa(1))); -[p,f].includes("a")&&(p=f="a");(l.ka("ARY")&&z.ka("AT")||z.ka("ARY")&&l.ka("AT"))&&q();"t"===p&&"t"===f&&(16===b?G=$c:q());"u"===p&&"t"===f&&(15===b?G=z:q());"u"===p&&"u"===f&&(17===b&&q(),18===b?G=Yc:G=l);I&&"u"===f&&18===b&&q();"t"!==p||"u"!==f||16!==b&&15!==b?"i"===p&&"u"===f&&17===b?(p="n",G=z):"u"!==p||"d"!==f&&"i"!==f&&"c"!==f?"u"!==f||"d"!==p&&"i"!==p&&"c"!==p||(p="n",G=z):(G=l,f="n"):G=l;p=p+fh[b]+f;if(!A.oe()&&"AF"!==G.T().p&&!A.zc&&(A.lj?0===A.lj:1)&&ng(a)&&ng(h)&&(A=a.value[0],r=h.value[0], -18!==b||0!==r.toNumber()))return a=tb[p](A,r),pg([a],new pc(new wc(Sa.codes[a.code]),2));this.aa=a;this.da=h;a.j.equals(h.j)&&(this.j=a.j);G&&(this.j=new pc(G,v?3:2));this.b=p;e&&(this.Ja=!0);g&&(this.B="arith10");this.j||(this.j=mc.Qe)}ua(){throw new zf("The arithmetic expression "+sf[this.Ia]+" is not a patternXTSE0340");}t(a){super.V(a,this.Ia?{op:sf[this.Ia],calc:this.b}:{});this.aa.t(a);this.da.t(a);a.R()}}hh.prototype.B="arith";const kh={6:50,22:51,11:52,12:53,13:54,14:55};function lh(a,b){a=a.T().p;b.T();if("AZ"===a&&b.isNumeric())return!1;if("A"===a&&b.ka())return!0;""===a&&b.ka();return!0}function mh(a){return/^A[BAMT2XQ]/.test(a)}class nh extends Xf{constructor(a,b,h,A){super(a,b,h);a=A.Ej();b="GAC";switch(a){case Nd.Fg:b="CAC"}a.startsWith(Nd.Ck)&&(b="CAC");h.j===mc.uh&&(b="EQC");this.ud=b+"|"+a;this.j=mc.Sa}t(a){super.V(a,{op:sf[this.Ia],comp:this.ud});this.aa.t(a);this.da.t(a);a.R()}} -class oh extends nh{t(a){super.V(a,{op:sf[this.Ia],comp:this.ud,card:"1:1"});this.aa.t(a);this.da.t(a);a.R()}} -class ph extends oh{constructor(a,b,h,A){super(a,b,h,A);a=tg(a,mc.od,this.sa(0));h=tg(h,mc.od,this.sa(1));b=a.j.T();A=h.j.T();var P=b.p;var q=A.p;P===q||[P,q].includes("AZ")||[P,q].includes("A")?P=!0:(/^A[ODF]/.test(P)&&(P="AO"),/^A[ODF]/.test(q)&&(q="AO"),/^A[SU]/.test(P)&&(P="AS"),/^A[SU]/.test(q)&&(q="AS"),P="E"===P||"E"===q?!0:P===q);if(!P)if(P="Cannot compare items of types "+a.j.K.toString()+" and "+h.j.K.toString(),/[*?]/.test(b.o)||/[*?]/.test(A.o))Aa.Qa(P+": the comparison can succeed only if one of the values is an empty sequence", -1,null);else throw new zf(P,"XPTY0004");this.aa=a;this.da=h}}ph.prototype.B="gc";class qh extends oh{}qh.prototype.B="gc10"; -class rh extends nh{constructor(a,b,h,A,P=!0){super(a,b,h,A);var q=a.j.K,g=h.j.K;const e=q.T().p,l=g.T().p;if(!("A"===e&&g.ka()||"A"===l&&q.ka()||""===e||""===l||q.T().p.startsWith("AM")&&g.T().p.startsWith("AM")||(mh(e)||mh(l)?e===l:lh(q,g)||lh(g,q))))throw new zf("Cannot compare "+a.j.toString()+" "+sf[b]+" "+h.j.toString(),"XPTY0004");a=tg(a,mc.Sb,this.sa(0));h=tg(h,mc.Sb,this.sa(1));if(51!==b&&50!==b&&/^A[QGHIJK]/.test(a.j.K.T().p))throw new zf("Cannot order-compare "+a.j.toString()+" "+sf[b]+ -" "+h.j.toString(),"XPTY0004");if(P){if(ng(h)&&Sa.XS.integer.matches(h.value[0])&&"ADI"===a.j.T().p)return new sh(a,b,h,A);if(h instanceof rg)return new th(a,b,h,A)}this.aa=a;this.da=h}}rh.prototype.B="vc";class uh extends rh{constructor(a,b,h,A){super(a,b,h,A,!1)}t(a){super.V(a,{op:sf[this.Ia],val:this.da.value[0]});this.aa.t(a);a.R()}}class sh extends uh{}sh.prototype.B="compareToInt"; -class th extends uh{t(a){super.V(a,{op:sf[this.Ia],val:this.da.value[0].toString(),comp:this.ud});this.aa.t(a);a.R()}}th.prototype.B="compareToString";class vh extends nh{constructor(a,b,h,A){super(a,b,h,A);a=tg(a,mc.Xd,this.sa(0));h=tg(h,mc.Xd,this.sa(0));this.aa=a;this.da=h;this.B=38===b?"precedes":39===b?"follows":"is"}t(a){super.V(a);this.aa.t(a);this.da.t(a);a.R()}};function wh(a,b){return a instanceof Fg&&a.name.name.q===dc.za&&a.name.name.local===b}function xh(a,b){return a instanceof rh&&a.Ia===b&&wh(a.aa,"position")&&wh(a.da,"last")} -class yh extends Wf{constructor(a,b){super();if(b){let A=wh(b,"last")||xh(b,50);if(A)return new Ah(a);A=A||xh(b,53);var h=b.Ja||b instanceof hh;const P=b.Ab;if(!h&&P&&b.j.equals(mc.sd))return new Bh(a,b);h||(h=b.j.K.T().p,h="AB"===h||h.startsWith("N")?!1:"A"===h||/^A[ODF]/.test(h));this.b=a;this.j=a.j;b instanceof Ch?this.j=dd(b.type,this.j.ca):b instanceof og&&1===b.value.length&&Dc.ga()(b.value[0])&&(this.j=dd(this.j,3));h&&(this.Ja=!0);P&&(this.Ab=!0);this.g=A?new Dh(50===b.Ia?"1":"0"):b}}ob(){return this.b.ob()}Bb(){return super.Bb()|| -this.b.Bb()}ua(){if(!pd(this.j.K)){const a=Gg("exists",this);return new bg(a)}return this.Ja&&this.b instanceof ah&&!(this.g instanceof Dh)?new gg(this.b,this.g):this.Ja?new fg(this.yd()):new dg(this.b.ua(),this.g)}yd(){if(this.b instanceof Hg)return this.g;this.b=this.b instanceof ah?Eh(new Hg,this.b):this.b.yd();return this}t(a){super.V(a);let b="";this.Ab&&(b+="i");this.Ja&&(b+="p");""!==b&&a.ed("flags",b);this.b.t(a);this.g.t(a);a.R()}}yh.prototype.B="filter"; -class Bh extends yh{constructor(a,b){super(a,null);if(ng(b)&&Sa.XS.integer.matches(b.value[0])&&1===b.value[0].value)return new Fh(a);this.b=a;this.j=dd(a.j,3);this.g=b;this.Ja=!0}ua(){return this.b instanceof Hg?new ag("Numeric predicates other than 1 in PredicatePatterns never match. Value provided:"+this.g.value.value):this.b instanceof ah?new hg(this.b.j,this.g.value[0].value):new fg(this.yd())}}Bh.prototype.B="subscript"; -class Fh extends Bh{constructor(a){super(a,null);this.b=a;this.Ja=!0;this.j=dd(a.j,3)}ua(){return pd(this.j.K)?this.b instanceof ah?new fg(new Fh(Eh(new Hg,this.b))):new fg(this.yd()):new bg(this)}t(a){super.V(a);this.b.t(a);a.R()}}Fh.prototype.B="first"; -class Ah extends Bh{constructor(a){super(a,null);this.b=a;this.Ja=!0;this.j=dd(a.j,3)}ua(){if(!(this.b instanceof ah))return new fg(this.yd());if(3===this.b.mb){var a=new ah(7,this.b.b);return new dg(this.b.ua(),Gg("empty",[a]))}return new hg(this.b.j,1)}t(a){super.V(a);this.b.t(a);a.R()}}Ah.prototype.B="lastOf";class Dh extends Wf{constructor(a="1"){super();this.test=a;this.j=mc.Sa}t(a){Vf(this,a,{test:this.test})}}Dh.prototype.B="isLast";function Gh(a,b){if(a instanceof dh&&b instanceof ah&&9===b.ob())return qg();if(a instanceof bh&&a.aa instanceof dh&&5===a.da.mb&&b instanceof ah&&3===b.mb)return Gh(a.aa,new ah(4,b.b));if(b instanceof bh||b instanceof Hh&&b.b instanceof bh){const h=Ih(b);Jh(h.aa)instanceof ah&&Jh(h.da)instanceof ah&&(a=Eh(a,h.aa),b=h.da)}a=new bh(a,b);return Kh(a)?a:pd(a.da.j.K)?(a.aa=Lh(a.aa),a.da=Lh(a.da),new Hh(a)):a} -function Kh(a){if(!hd(a.aa.j.ca))return a.da.Bb();const b=Jh(a.aa);return b instanceof ah&&3===b.mb&&(a=Jh(a.da),a instanceof Hh&&(a=a.b),a instanceof ah&&[3,2,4,5,8].includes(a.mb)||a instanceof bh&&Kh(a))?!0:!1}function Ih(a){return a instanceof Hh?a.b:a}function Jh(a){return a instanceof yh?Jh(a.b):a instanceof Hh?Jh(a.b):a}var Eh=Gh,Lh=Ih;function Mh(a,b,h,A,P={}){Aa.ba(b);Aa.ba(b instanceof pc);Aa.ba(a.j);Aa.ba(a.j instanceof pc);var q=b.T(),g=a,e;const l=b.K,z=b.ca,v=hd(z);var G=null,p=-1;let f=7===z;f||(p=a.j.ca,f=(z|p)===z);q=""===q.p;1===z&&(q=!0);q||(G=a.j.K,p=a.j.ca,q=yd.Cb(l,G),q===yd.Rb&&(q=G===xc?yd.dc:l===xc?yd.Fb:q),q=q===yd.kb||q===yd.Fb);if(q&&f)return g;if(P.Gb&&!v&&(hd(p)&&(g=e=new Fh(g),p=3,f=(z|p)===z),!q)){if(l.ka("AS")){try{e=Mh(g,mc.Yf,h,A)}catch(I){throw I;}g=Gg("string",e);G=Xc;p=2;g.j=mc.Tb;f=(z|p)===z;q=!0}if(qd(l)|| -l.ka("AO")){try{e=Mh(g,mc.Yf,h,A)}catch(I){throw I;}g=Gg("number",e);G=Vc;p=2;g.j=mc.$d;f=(z|p)===z;q=!0}}if(!q)if(l.ka()){if(!G.ka()&&1!==p){if(!G.Qj)throw b=new J("An atomic value is required for the "+h.getMessage()+", but the supplied value (type "+G.toString()+") cannot be atomized","error()"===G.name?"FOER0000":"FOTY0013",a),b;G=!hd(p);p=!hd(z);G?(e=fd(z),g=g instanceof ah&&2===g.mb&&g.j.K instanceof td?new zg(g.j):new yg(g,A,e)):g=g instanceof ah&&2===g.mb&&g.j.K instanceof td?new zg(g.j): -new xg(g,A);e=g;p&&!G&&(e=Nh(e,z,A));g=e;G=g.j.K;p=g.j.ca;f=(z|p)===z}G.ka("AZ")&&(qd(l)||!l.ka("AZ")&&"A"!==l.T().p)&&(g=e=Oh(g,l,A),q=!0,G=l);"A"!==G.ea()||["A","AZ"].includes(l.ea())||(g=e=Oh(g,l,A),G=g.j.K);l.ka()&&(l.ka("AO")&&yd.Cb(G,Dc)!==yd.Rb?(g=e=new Bg(g,mc.$d),G=Vc,p=-1):l.ka("AF")&&yd.Cb(G,Dc)!==yd.Rb&&!yd.Wj(G,Vc)&&(g=e=new Bg(g,mc.th),G=Wc,p=-1),l.ka("AS")&&G.ka("AU")&&(q=!0,g=e=new Bg(g,mc.Tb),G=Xc))}else l.Bd()&&"F"===l.T().p&&(G.Bd()||(g=new Ph(g,Fc,A),G=Fc),l instanceof Gc||(q= -G.T(),("FM"===q.p||"FA"===q.p)&&1===l.g.length)||(g=new Cg(g,tc(l),A)),q=!0);if(q&&f)return g;-1===p&&(p=g.j.ca,f||=(z|p)===z);if(f&&1===p)return g;if(1===p&&!fd(z))throw b=new J("An empty sequence is not allowed as the "+h.getMessage(),h.Ad()),b;q=q?yd.dc:yd.Cb(G,l);q===yd.Rb&&(q=G===xc?yd.Fb:l===xc?yd.dc:q);1===z&&(q=yd.kb);if(q===yd.Rb)if(fd(p)&&fd(z))1!==p&&(e=h.qg(l,G),Aa.Qa(e+". The expression can succeed only if the supplied value is an empty sequence.",1,null));else throw e=h.qg(l,G),b=new J(e, -"error()"===G.name?"FOER0000":h.Ad()),b;if(q!==yd.kb&&q!==yd.dc){if(g.Sj){A=Sa.XS.string.fromString(g.getAttribute("val"));if(l.ka()&&b.matches(A))return g;e=h.qg(l,G);b=new J(e,h.Ad());throw b;}g=e=Qh(g,new pc(l,z),A);f=!0}if(!f){if(g.Sj)throw b=new J("Required cardinality of "+h.getMessage()+" is "+gd(z)+"; supplied value has cardinality "+gd(p),h.Ad()),b;g=e=Nh(g,z,A)}return g}function Oh(a,b,h){b=qd(b)?"AO":b.T().p;return new Ag(a,b,h)};function Gg(a,b){a=new Sa.XS.QName.fromParts("fn",dc.za,a);b=Array.isArray(b)?b:[b];a=new Eg(a,b.length);return new Fg(a,b,mc.pa)}function tg(a,b,h){const A=Rh(h.xd?h.xd:"XPTY0004",h.save());return Mh(a,b,A,h.save())}function ih(a){return hd(a.j.ca)?new Fh(a):a} -class Sh extends Wf{constructor(a){super();this.value=a;0===a.length?this.j=mc.Ie:this.j=new pc(yd.Ed(a.map(h=>h.j.K)),7);let b=!0;a.forEach(h=>{b=b&&h instanceof og});b&&(this.b=!0)}t(a){super.V(a);this.b&&a.ed("literal",!0);for(const b of this.value)b.t(a);a.R()}}Sh.prototype.B="sequence"; -class Pg extends Wf{constructor(a){super();this.value=a;if(0===a.length)this.j=tc(Jc);else{const b=yd.Ed(a.map(A=>A.j.K));let h=0;a.forEach(A=>h|=A.j.ca);this.j=tc(new Ad(new pc(b,h)))}}t(a){super.V(a);for(const b of this.value)b.t(a);a.R()}}Pg.prototype.B="arrayBlock"; -class Th extends Wf{constructor(a,b){super();this.Ia=a;this.B=sf[a];this.Ma=b;this.Xa=this.kd=void 0;this.Db=0;this.Qb=this.value=null;this.j=mc.Sa}Tc(){return this.Ma}t(a){super.V(a,{"var":this.Ma.toEQName(),slot:this.Db});this.value.t(a);this.Xa.t(a);a.R()}} -class ch extends Xf{constructor(a,b,h,A=!1){super(a,b,h);this.B=1===b?"union":sf[b];A=A?"XTSE0340":"XPTY0004";a=tg(a,mc.Wd,this.sa(0,A));h=tg(h,mc.Wd,this.sa(1,A));a=a.Bb()?a:new Hh(a);h=h.Bb()?h:new Hh(h);this.aa=a;this.da=h;Aa.ba(a.j);Aa.ba(h.j);switch(b){case 24:this.j=a.j;break;case 23:b=a.j.ca&h.j.ca|3;this.j=new pc(yd.Kj([a,h].map(P=>P.j.K)),b);break;case 1:this.j=new pc(yd.Ed([a,h].map(P=>P.j.K)),Jd(a.j.ca,h.j.ca))}}Bb(){return!0}ob(){return this.aa.ob&&this.da.ob&&this.aa.ob()===this.da.ob()? -this.aa.ob():-1}ua(){if(1===this.Ia)return new lg(this.aa.ua(),this.da.ua(),this.j);const a=this.ob();return 3===a||2===a||this.aa.Ab||this.da.Ab?new jg(this.aa.ua(),this.Ia,this.da.ua(),this.j):new fg(this)}}class Hg extends Wf{constructor(a=mc.cc){super();this.j=a}t(a){Vf(this,a)}ua(){return new $f}}Hg.prototype.B="dot";function Uh(a){return""===a.j.T().p?new Vh(a):a}class Vh extends Yf{constructor(a){super(a);this.j=a.j}}Vh.prototype.B="homCheck"; -function Wh(a){return a.global?new Xh(a):new Yh(a)}class Zh extends Wf{constructor(){super();this.b=null;this.j=mc.pa}}Zh.prototype.B="varRef";Zh.prototype.Ab=!0;class Yh extends Zh{constructor(a){super();this.b=a;this.j=a.Qb||mc.pa}Tc(){return this.b.Ma}t(a){Vf(this,a,{name:this.b.Ma.toEQName(),slot:this.b.Db})}}Yh.prototype.B="varRef"; -class Xh extends Zh{constructor(a){super();this.b=a;this.j=a.Qb}Tc(){return this.b.Ma}ua(){return new eg(this)}t(a){Vf(this,a,{name:this.b.Ma.toEQName(),bSlot:"?"})}}Xh.prototype.B="gVarRef";class $h extends Xf{constructor(a,b){super(a,213,b);this.aa=a=tg(a,mc.Sf,this.sa(0));a.j&&a.j.K&&a.j.K.ja&&(this.j=a.j.K.ja)}}$h.prototype.B="lookup";class ai extends Wf{constructor(a){super();this.aa=a=tg(a,mc.Sf,this.sa(0))}t(a){super.V(a);this.aa.t(a);a.R()}}ai.prototype.B="lookupAll"; -class bi extends Wf{constructor(){super();this.j=mc.pa}}bi.prototype.B="currentGroup";class ci extends Wf{constructor(){super();this.j=mc.od}}ci.prototype.B="currentGroupingKey";class Hh extends Yf{constructor(a){super(a);this.j=a.j}Bb(){return!0}ua(){return this.b.ua()}}Hh.prototype.B="docOrder";class di extends Yf{constructor(a){super(a);this.j=a.j}t(a){super.V(a,{flags:this.flags});this.b.t(a);a.R()}}di.prototype.B="copyOf";di.prototype.flags="cm"; -class Ch extends Wf{constructor(a,b){super();Aa.ba(b instanceof pc);this.aa=a;this.type=b;this.j=mc.Sa}t(a){super.V(a,{of:this.type.ea()});this.aa.t(a);a.R()}}Ch.prototype.B="instance";function Qh(a,b,h=null){h||(h=new Uf(2,"treat as",0),h.xd="XPDY0050",h=h.save());return new Ph(Nh(a,b.ca,h),b.K,h)}class jh extends Yf{constructor(a,b,h){super(a);this.j=new pc(a.j.K,b);this.g=b;this.l=h}t(a){super.V(a,{card:2===this.g?"1":gd(this.g),diag:this.l});this.b.t(a);a.R()}}jh.prototype.B="check"; -function Nh(a,b,h){return 7===b?a:a instanceof og&&(b|2)===b?a:new jh(a,b,h)}class Ph extends Yf{constructor(a,b,h){super(a);this.j=a.j;this.l=b;this.g=h}t(a){super.V(a,{as:this.l.ea(),diag:this.g});this.b.t(a);a.R()}}Ph.prototype.B="treat";function ei(a,b,h){a=[a,pg([Sa.XS.boolean.Kc],mc.Sa)];return new fi(a,[b,h])}class fi extends Wf{constructor(a,b){super();this.g=a;this.b=b;this.Ja=b.some(h=>h.Ja);a=yd.Ed(b.map(h=>h.j.K));b=Id(b.map(h=>h.j.ca));this.j=new pc(a,b)}t(a){super.V(a);let b=0;for(const h of this.g)h.t(a),this.b[b++].t(a);a.R()}}fi.prototype.B="choose";class gi extends Wf{constructor(){super();this.Xa=this.value=this.Qb=this.Ma=null;this.Db=0}Tc(){return this.Ma}b(a){this.Xa=a;this.j=a.j}g(a){this.value=a;this.Qb=a.j}t(a){super.V(a,{name:this.Ma.toEQName(),slot:this.Db});this.value.t(a);this.Xa.t(a);a.R()}}class hi extends gi{g(a){this.value=a;this.Qb=dd(a.j,2);this.Xa&&(this.j=ed(this.Xa.j,a.j.ca))}b(a){this.Xa=a;this.value&&(this.j=ed(a.j,this.value.j.ca))}}hi.prototype.B="for";class ii extends gi{}ii.prototype.B="let";class ji extends Xf{constructor(a,b){super(a,null,b);this.j=mc.Sa}}class ki extends ji{}ki.prototype.B="and";class li extends ji{}li.prototype.B="or";function mi(a){return ng(a)&&Sa.XS.integer.matches(a.value[0])&&1E7>a.value[0].value}class ni extends Xf{constructor(a,b,h=!1){super(a,null,b);h&&(a=ih(a),b=ih(b));this.aa=tg(a,mc.Xf,this.sa(0));this.da=tg(b,mc.Xf,this.sa(1));this.j=mc.Ke}}ni.prototype.B="to";class oi extends Wf{constructor(a,b){super();this.from=a;this.b=b;this.j=mc.Ke}t(a){Vf(this,a,{from:this.from.value,to:this.b.value})}}oi.prototype.B="range"; -class pi extends Wf{constructor(a,b){super();this.b=a;this.next=b;this.j=ed(b.j,a.j.ca)}t(a){super.V(a);this.b.t(a);this.next.t(a);a.R()}}pi.prototype.B="forEach";var qi={array:"http://www.w3.org/2005/xpath-functions/array",fn:"http://www.w3.org/2005/xpath-functions",ixsl:"http://saxonica.com/ns/interactiveXSLT",map:"http://www.w3.org/2005/xpath-functions/map",math:"http://www.w3.org/2005/xpath-functions/math",saxon:"http://saxon.sf.net/",xml:"http://www.w3.org/XML/1998/namespace",xs:"http://www.w3.org/2001/XMLSchema",xsl:"http://www.w3.org/1999/XSL/Transform"},ri={},si;for(si in qi)ri[qi[si]]=si;function ti(a,b){var h=new Eg(a.name,a.arity),A=mc.pa;switch(a.q){case dc.map:A=mc.cg;switch(a.name.local){case "get":A=b[0].j.Sd;break;case "merge":A=mc.cg;break;case "entry":A=tc(new zd(b[0].j,b[1].j))}return new Jg(h,b,A);case dc.Ye:switch(a.name.local){case "_from-sequence":A=tc(new Ad(b[0].j))}return new Kg(h,b,A);case dc.ib:switch(a.name.local){case "apply":a=b[0].j,a=a.K?a.K:a,A=a.ja?a.ja:mc.pa}return new Mg(h,b,A)}} -class ui extends Wf{constructor(a,b,h){var A=mc.pa;super();this.name=Sa.XS.QName.fromParts(ri[h],h,a);this.arity=b;this.q=h;this.j=mc.Re;this.ja=A}}ui.prototype.B="function";class vi{}vi.prototype.q=dc.za;class wi extends vi{constructor(){super()}}wi.prototype.q=dc.map;var xi=new wi;class yi extends vi{constructor(){super()}}yi.prototype.q=dc.Ye;var zi=new yi;class Ai extends vi{constructor(){super()}}Ai.prototype.q=dc.ib;class Ci extends Ai{}var Di=new Ci;const Ei={FUNCTION:0,Kk:1,rl:2,wl:3,Yk:4,Tk:5,el:6,ql:7,hl:8,tl:9,ul:10,Xk:11,EVALUATE_RESULT:12,Nk:13,Ik:14,dl:15,Lk:16,Ok:17},Fi=["doc","id","element-with-id","key","root"];function Gi(a,b,h,A){return Ei[a]+"|"+b+"|"+h+"|"+A}function Hi(a,b,h,A){return{getMessage:function(){return b},qg:A,Ad:function(){return a},save:function(){return h}}}function Rh(a,b){const h=ld.tk(b).gd;return Hi(a,h,b,function(A,P){return"Required type of "+h+" is "+A.toString()+": actual type is "+P.toString()})} -class Yg{constructor(a,b){var h=null;this.name=a;this.arity=a.arity;if(b){this.jb=b;h=b.alphaTree;const A=[];let P;b.variadic&&(P=rc(h.a[0]));for(b=0;b""){return Sa.XS.QName.fromString(N,fa=>""===fa?la():ba(fa))}function A(){const N=sf[t.y];return 201===t.y?'name "'+t.J+'"':-1===t.y?"(unknown token)":t.J&&t.J!==sf[t.y]?`${N} ("${t.J}")`:/^[a-z]+$/.test(N)?`"${N}"`:N}function P(N,ba="XPST0003"){Kf(t);throw new zf(N,ba);}function q(N){const ba=Kf(t);console.log((N.startsWith("...")? -"near":"in")+" "+ba+":\n "+N)}function g(){try{t.next()}catch(N){P(N.message)}}function e(N){t.y!==N&&P('expected "'+sf[N]+'", found '+A())}function l(N=!1){N=z(N);let ba=null;for(;7===t.y;){null==ba&&(ba=[],ba.push(N));g();const la=z();ba.push(la)}null!=ba&&(N=new Sh(ba));return N}function z(N=!1){switch(t.y){case 0:if(N)return qg();P("Expected an expression, but reached the end of the input");break;case 211:case 216:N=0;var ba=t.y,la=null,fa=null;do{g();e(21);g();e(201);var ta=t.J,Ca=void 0; -211===ba?Ca=new hi:Ca=new ii;N++;ta=pa(ta,"");Ca.Ma=ta;g();e(216===ba?58:31);g();ia.push(null);Ca.g(z());ia.pop();ka(Ca);null==fa?la=Ca:fa.b(Ca);fa=Ca}while(7===t.y);e(25);g();fa.b(z());for(Ca=0;Ca=ba;){const Qa=t.y;var la=v();switch(Qa){case 45:case 47:g();var fa=u();a:switch(Qa){case 45:N=new Ch(N,fa);break a;case 47:N=Qh(N,fa);break a;default:throw new Af(sf[Qa]);}v()>=la&&P("Left operand of '"+sf[t.y]+"' needs parentheses");break;case 46:case 57:g();var ta=void 0;if(69===t.y&&"union"===t.J)throw new J("Saxon union types not supported");e(201);if(t.J)a:{try{var Ca=h(t.J,U.hb, -U.Vb);break a}catch(Xa){P(Xa.message,Xa.code)}Ca=void 0}else Ca=P("Parser tokenization error NAME");fa=Ca;fa.q!==dc.ac&&P("Unknown simple type "+t.J+" in cast (SaxonJS is not schema-aware)");g();var Ka=213===t.y;Ka&&(t.y=204,g());const hb={numeric:"u",ENTITIES:"l",NMTOKENS:"l",IDREFS:"l"}[fa.local]||"a";if("a"===hb){["anyType","anyAtomicType","NOTATION"].includes(fa.local)&&P("Casting to xs:"+fa.local+" is not possible (it's an abstract type)","XPST0080");ta=Sa.type[fa.local];if(!ta)throw new J("Cannot find type "+ -fa.toEQName());ta=new wc(ta)}N=(57===Qa?vg:sg)(N,hb,fa,ta,Ka);v()>=la&&P("Left operand of '"+sf[t.y]+"' needs parentheses");break;case 76:N=O(N);break;default:Ka=40===Qa;g();Ka&&ua.push(dd(N.j,2));fa=I();for(Ka&&ua.pop();v()>la;)fa=p(fa,v());if(!(la=v()!==la))a:switch(t.y){case 50:case 51:case 55:case 53:case 54:case 52:case 6:case 22:case 14:case 12:case 13:case 11:case 20:case 38:case 39:case 29:la=!1;break a;default:la=!0}la||P("Left operand of '"+sf[t.y]+"' needs parentheses");N=f(N,Qa,fa)}}return N} -function f(N,ba,la){switch(ba){case 9:return new li(N,la);case 10:return new ki(N,la);case 50:case 51:case 55:case 53:case 54:case 52:return new rh(N,ba,la,U);case 6:case 22:case 14:case 12:case 13:case 11:if(U.oe())ba=new qh(N,ba,la,U);else{var fa=U;la=new ph(N,ba,la,fa);if(N=2===la.aa.j.ca&&2===la.da.j.ca&&kh[ba]){N=la.aa.j.K;var ta=la.da.j.K;const Ca=N.T().p,Ka=ta.T().p;N=mh(Ca)||mh(Ka)?Ca===Ka:N.isNumeric()&&ta.isNumeric()?!0:/^A[SZU]/.test(Ca)&&/^A[SZU]/.test(Ka)}ba=N?new rh(la.aa,kh[ba],la.da, -fa):la}return ba;case 20:case 38:case 39:return new vh(N,ba,la,U);case 29:return fa=new ni(N,la,U.oe()),mi(fa.aa)&&mi(fa.da)?(ba=fa.aa.value[0],fa=fa.da.value[0],ba=ba.value>fa.value?qg():ba.value===fa.value?new og([ba],mc.Ke):new oi(ba,fa)):ba=fa,ba;case 30:ba=[];if(N instanceof Fg&&"concat"===N.name.name.local&&N.name.name.q===dc.za)for(fa of N.b)ba.push(fa);else fa=Gi("BINARY_OP",0,"","concat"),ta=Rh("FOTY0013",fa),N=Mh(N,mc.Sb,ta,fa,U),ba.push(N);fa=Gi("BINARY_OP",1,"","concat");ta=Rh("FOTY0013", -fa);la=Mh(la,mc.Sb,ta,fa,U);ba.push(la);ba=Gg("concat",ba);ba.j=mc.Tb;return ba;case 15:case 16:case 17:case 18:case 56:case 19:return new hh(N,ba,la,U);case 79:return ba=la,la=Sa.XS.QName.fromParts("vv",dc.Zg,"otherwise"),fa=new ii,fa.Ma=la,fa.g(N),ka(fa),la=Wh(fa),N=[Gg("exists",[la]),pg([Sa.XS.boolean.Kc],mc.Sa)],fa.b(new fi(N,[la,ba])),fa;case 1:case 23:case 24:return new ch(N,ba,la,1===Ba);case 81:return la=Gg("boolean",la),ei(N,pg([Sa.XS.boolean.Kc],mc.Sa),la);case 80:return la=Gg("boolean", -la),ei(N,la,pg([Sa.XS.boolean.Vd],mc.Sa));default:throw new Af(sf[ba]);}}function I(){switch(t.y){case 16:g();var N=I();N=D(299,N);break;case 15:g();N=I();N=D(15,N);break;default:for(N=c();40===t.y;){g();ua.push(dd(N.j,2));const ba=c();ua.pop();N=new pi(N,ba)}}return N}function D(N,ba){if(ng(ba)){const la=ba.value[0];return 299===N?pg([la.tf()],ba.j):ba}return new hh(pg([Sa.XS.integer.fromNumber(0)],mc.sd),N,ba,U)}function r(){switch(t.y){case 36:case 3:case 201:case 208:case 70:case 207:case 69:case 205:case 206:case 35:case 202:case 209:case 5:case 21:case 43:case 4:return!0; -case 60:return["ordered","unordered","map","array"].includes(t.J);default:return!1}}function c(){var N=t.ee;switch(t.y){case 2:return g(),N=new dh,r()?d(N):N;case 8:g();N=new dh;var ba=new ah(5,null);N=Eh(N,ba);return d(N);default:201===t.y&&["true","false"].includes(t.J)&&q("The expression is looking for a child element named '"+t.J+"' - perhaps "+t.J+"() was intended? To avoid this warning, use child::"+t.J+" or ./"+t.J+".");201===t.y&&-1!==Gf(t.J)&&1!==Ba&&(0'");return null}function ca(N){function ba(fa){return fa instanceof Hg||fa instanceof yh&&ba(fa.b)}switch(t.y){case 21:return H();case 5:var la=x();N&&ba(la)&&P("Predicate pattern cannot be parenthesized","XTSE0340");return la;case 4:return M();case 202:return L(!0);case 209:return E(!0);case 35:return la=t.J,0===Pa&&1===Ba&&(U.Ng=!0,N?Fi.includes(la)||la.includes(":")||P("Function "+la+"() is not permitted at first position in pattern", -"XTSE0340"):P("Function call not at first position in pattern","XTSE0340")),la=ja(null),U.Ng=!1,la;case 213:return C(new Hg);case 205:return g(),new Hg(ua[ua.length-1]);case 206:return g(),new ah(9,null);case 69:if("function"===t.J)return K();case 201:case 208:case 70:case 207:return la=3,69===t.y&&["attribute","schema-attribute"].includes(t.J)?la=2:69===t.y&&"namespace-node"===t.J?la=8:N&&69===t.y&&"document-node"===t.J&&(la=12),N=V(1),new ah(la,N);case 3:g();switch(t.y){case 201:case 208:case 70:case 207:case 69:return la= -V(2),new ah(2,la);default:P("@ must be followed by a NodeTest")}break;case 36:try{la=Tf(t.J)}catch(fa){P(fa.message),la=3}N=Rf[la];g();switch(t.y){case 201:case 208:case 70:case 207:case 69:N=V(N);let fa=null;if(2===la){const ta=yd.Cb(N,new Oc(2));ta===yd.Rb?fa="attribute axis can never yield nodes of type "+N:ta===yd.Fb&&(N=new Oc(2))}3===la&&9===N.Ba&&(fa=N.name+" nodes can never be children");2!==N.Ba||[2,12].includes(la)||(fa="axis "+Qf(la)+" can never yield attribute nodes");if(fa){if(1===Ba)return new ag(fa); -q(fa);return qg()}return new ah(la,N);default:P("Unexpected token "+A()+" after axis name")}break;case 60:switch(t.J){case "map":return w();case "array":return aa();case ".":return X();case "_":P("Underscore functions not yet implemented")}break;case 43:return W();default:P("Unexpected token "+A()+" at start of expression")}}function x(){g();if(204===t.y)return g(),qg();const N=l();e(204);g();return N}function E(){const N=t.J?B(t.J):P("Parser tokenization error NUMBER");isNaN(N)&&P("Invalid numeric literal ("+ -t.J+")");g();return pg([N],"AO"===N.code?mc.$d:"AD"===N.code?mc.sh:mc.sd)}function B(N){try{return 0<=N.indexOf("e")||0<=N.indexOf("E")?Sa.XS.double.fromString(N):0<=N.indexOf(".")?Sa.XS.$a.fromString(N):Sa.XS.integer.fromString(N)}catch(ba){return NaN}}function L(){var N=new rg(t.J);g();return N}function H(){g();e(201);var N=t.J;g();const ba=pa(N,"");N=ea(ba);if(null!=N)var la=Wh(N);else if(ba.q===dc.sj&&0""));if(7===t.y){g();e(201);ta=!1;const Ka=h(t.J,U.hb,U.Vb);Ka.q===dc.ac?1===fa?["untyped","anyType"].includes(Ka.local)||(["untypedAtomic","anyAtomicType"].includes(Ka.local)?ta=!0:P("Unsupported type annotation "+ -t.J+" (SaxonJS is not schema-aware, so all nodes are untyped)")):["untypedAtomic","anyAtomicType"].includes(Ka.local)||P("Unsupported type annotation "+t.J+" (SaxonJS is not schema-aware, so all nodes are untyped)"):P("Unsupported type annotation "+t.J+" (SaxonJS is not schema-aware, so only built-in types are recognized)");g();213===t.y&&g();e(204);g();if(ta)return Lc;if("*"===Ca)return rd(fa);Ca=h(Ca,U.hb,1===fa?U.Vb:()=>"");return new td(fa,Ca)}P("Expected ')' or ',' in SequenceType");return null; -case "schema-attribute":case "schema-element":return P("Type "+ba+"() not allowed: SaxonJS is not schema-aware"),null;default:return P("Unknown node kind "+ba),null}}function w(){var N=[];g();var ba=[];let la=!0;if(215!==t.y)for(;;){var fa=z();e(75);g();const ta=z(),Ca=Gi("FUNCTION",0,"","map:entry"),Ka=Rh("XPTY0004",Ca);fa=Mh(fa,mc.Qe,Ka,Ca,U);!la||fa instanceof og?-1===ba.indexOf(fa)?ba.push(fa):la=!1:la=!1;fa=new Zg(fa,ta);N.push(fa);if(215===t.y)break;else e(7),g()}Df(t);g();if(0===N.length)return ti(new ui("_new", -1,xi.q),[]);if(1===N.length)return N[0];if(la){const ta=[];N.forEach(Ca=>{ta.push([Ca.Mb,Ca.value])});return new $g(ta)}N=new Sh(N);ba=[];ba=new $g([[new rg("duplicates"),new rg("reject")],[new rg("duplicates-error-code"),new rg("XQDY0137")]]);return ti(new ui("merge",2,xi.q),[N,ba])}function M(){const N=[];g();if(203===t.y)return g(),new Pg(N);for(;;){const ba=z();N.push(ba);if(7===t.y)g();else{if(203===t.y){g();break}P("Expected ',' or ']', found "+sf[t.y])}}return new Pg(N)}function aa(){g();const N= -new ui("_from-sequence",1,zi.q);if(215===t.y)return Df(t),g(),ti(N,[qg()]);const ba=l();e(215);Df(t);g();return ti(N,[ba])}function ja(N){function ba(){if(209===t.y)return E(!0);if(202===t.y)return L(t.J);if(21===t.y)return H();P("The arguments to a function call in a pattern must be literals or variable references","XTSE0340")}var la=t.J,fa=t.ee;const ta=[];null!=N&&ta.push(N);N=y(la);la=null;1===Ba&&N.q===dc.za&&["current-group","current-grouping-key","current-merge-group","current-merge-key"].includes(N.local)&& -P(N.local+"() is not permitted in a pattern","XTSE1060");g();if(204!==t.y){for(;;){var Ca=U.Ng?ba():da();if(null==Ca||Ca instanceof Tg)null==la&&(la=[]),la.push(ta.length);ta.push(Ca);if(7===t.y)g();else break}e(204)}g();Ca=new Eg(N,ta.length);if(null!=la)return fa=U.kf().Cg(Ca,U),null==fa&&P("No function "+N.toString()+"#"+ta.length+" is known for partial application","XPST0017"),new Xg(fa,ta,la);la=[];Ca=U.kf().bind(Ca,ta,U,la);return null==Ca?Y(U,fa,N,ta,la):Ca}function Y(N,ba,la,fa,ta){let Ca= -"Cannot find a "+fa.length+"-argument function named "+la.toEQName()+"()";for(var Ka of ta)Ca+=". "+Ka;ta=!1;for(Ka=0;KaN.value||N.value>Number.MAX_SAFE_INTEGER)&&P("Number following '#' is out of range","FOAR0002");N=N.value;g();let ta=null;try{ta=h(ba,fa.hb,fa.fi)}catch(Ka){P(Ka.message,Ka.code)}ba=fa.kf();const Ca=new Eg(ta,N);fa=ba.Cg(Ca,fa);null==fa&&P("Function "+ta.toEQName()+"#"+N+" not found","XPST0017",la);return fa.jb.li&&!ta.hasURI(vf.bj)?new Sg(fa):new Rg(fa)}function ka(N){N.Db= -ia.length;ia.push(N)}function ea(N){for(let ba=ia.length-1;0<=ba;ba--){const la=ia[ba];if(la&&la.Tc().equals(N))return la}}function va(N,ba){return h(N,U.hb,()=>ba)}function pa(N,ba){try{return va(N,ba)}catch(la){P(la.message,la.code)}}function k(N,ba){if(ba.startsWith("Q{"))return new vd(N,ba.substring(2,ba.length-2));try{const la=h(ba+":dummy",U.hb,()=>"");return new vd(N,la.getURI())}catch(la){return P(la.message,la.code),null}}function F(N,ba){xf(ba)||P("Local name ["+ba+"] contains invalid characters"); -return new ud(N,ba)}function T(N,ba,la,fa=!1){this.global=fa;this.Ma=this.name=N;this.Qb=ba;this.Db=la}let t,R,U={},ia=[],ua=[],Ba=0,Fa=0,Pa=0;const Ua=[],Na={Cg:function(N,ba){return(ba=Ii.getFnSignature(N.name,N.arity,ba.di()))?new Yg(N,ba):null},bind:function(N,ba,la){var fa=la.di(),ta=Ii.getFnSignature(N.name,N.arity,fa);if(ta){if(N.name.q===dc.za)switch(N.name.local){case "false":return pg([Sa.XS.boolean.Vd],mc.Sa);case "true":return pg([Sa.XS.boolean.Kc],mc.Sa);case "normalize-unicode":1=== -ba.length&&ba.push(new rg("NFC"));break;case "copy-of":return new di(ba[0]?ba[0]:new Hg(ua[ua.length-1]));case "current-group":return new bi;case "current-grouping-key":return new ci;default:ta.defaultToDot&&0===N.arity&&ta.arity.includes(0)&&(ba.push(new Hg(ua[ua.length-1])),N.arity++)}else if(ta.isIdempotent&&1===ba.length)return ba[0];fa=[];var Ca;const Qa=ta.alphaTree;Qa&&"F"===Qa.p&&!Qa.r&&(Qa.r={p:"",o:"*"});Qa&&"F"===Qa.p&&Qa.a&&Qa.r||Aa.fa("Bad function signature for "+N.name.local);ta.variadic&& -(Ca=Qa.a[0]);const hb=ta.collation||-1;for(let Xa=0;Xaba.length-1&&fa.push(new rg(la.Hb));ba=rc(Qa.r);if(ta.isUserFunction)return new Qg(N,fa,ba,ta.componentBinding);switch(N.name.q){case dc.za:case dc.ac:switch(N.name.local){case "current":ua[0]&& -(ba=ua[0]);break;case "accumulator-before":case "accumulator-after":if(fa[0]instanceof rg){ta=h(fa[0].value[0].value,la.hb,()=>"").toEQName();la=la.wb[ta];if(!la)throw new J("Unknown accumulator "+ta,"XTDE3340");ba=nc(la);fa[0]=new rg(ta)}}return new Fg(N,fa,ba);case dc.map:return new Jg(N,fa,ba);case dc.Ye:return new Kg(N,fa,ba);case dc.qi:return new Lg(N,fa,ba);case dc.ib:return new Mg(N,fa,ba);case dc.Yc:return new Ng(N,fa,ba);case dc.mi:return new Og(N,fa,ba);default:return ta.li?new Qg(N,fa, -ba,ta.zl):new Mg(N,fa,ba)}}else{if(ta=Ii.getFnSignature(N.name,null,fa))if(ta&&!ta.alphaTree&&(ta.alphaTree=wb(ta.sig)),fa=ba.length,Ca=ta.alphaTree.a.length,fa!==Ca&&(ta.variadic?ba.length -"",Hb:"http://www.w3.org/2005/xpath-functions/collation/codepoint",je:!1,Ta:{},wb:{},Pa:!1,zc:!1,zg:!1,Gb:!1,vk:function(){U.Vb=()=>"";U.Hb="http://www.w3.org/2005/xpath-functions/collation/codepoint";U.Ta={};U.wb={};U.Pa=!1;U.zc=!1;U.zg=!1;U.Gb=!1},di:function(){return{Pa:U.Pa,Pl:1===Ba,Ta:U.Ta}},Ej:function(){return U.Hb},fi:function(){return dc.za},kf:function(){return Na},Hl:function(){return null},Ol:function(){return!1},oe:function(){return U.Gb},Vl:function(){return null}};let Wa={};T.prototype.Tc= -function(){return this.name};return{process:function(N,ba,la,fa,ta=!1,Ca=!1,Ka=!1){a();R=N;Ba=ba?1:0;N=[];Wa={};U.vk();U.hb=b;ba&&(U.Pa=!0);Ka&&(U.zg=!0);if(fa){Fa=fa.mf?1:0;fa.zc&&(U.zc=!0);for(var Qa in fa.kc)Wa[Qa]=fa.kc[Qa];for(var hb in fa.yc){Qa=h(hb,U.hb,()=>"");const pb=fa.yc[hb],Oi=nc(pb.getAttribute("sType"));N.push(new T(Qa,Oi,pb,!0))}for(var Xa in fa.Pb)hb=h(Xa,U.hb,()=>""),N.push(new T(hb,fa.ld[Xa],fa.Pb[Xa]));ia=N;U.wb=fa.wb;fa.je&&(U.je=fa.je);fa.Hb&&(U.Hb=fa.Hb);fa.Ta&&(U.Ta=fa.Ta); -fa.Pa&&(U.Pa=fa.Pa);fa.Gb&&(U.Gb=fa.Gb);fa.ue&&(ua=[dd(fa.ue,2)]);fa.xpathDefaultNamespace&&(U.Vb=()=>fa.xpathDefaultNamespace);U.staticBaseUri=fa.staticBaseUri?fa.staticBaseUri:null}Xa="";for(const pb in Wa)N=Wa[pb],N=N===dc.withPrefix[pb]?"~":N,Xa+=pb+"="+N+" ";Hf(t,R);let ob;try{ob=l(Ca)}catch(pb){throw pb instanceof J&&fa&&fa.Bk&&(pb.code=fa.Bk,pb.message="Invalid XPath expression supplied to xsl:evaluate {"+R+"}: "+pb.message),pb;}0!==t.y&&P("Found "+A()+" beyond end of expression");ba?(ob=ob.ua(), -ob instanceof lg&&la&&(ob=new mg(kg(ob)))):fa&&fa.ye&&(ba=Gi("EVALUATE_RESULT",0,"",null),la=Rh("XPTY0004",ba),ob=Mh(ob,fa.ye,la,ba));ba=ta?new Ji:new Ki;ob.t(ba);ba=ba.current;ta?(ba=ba.documentElement,ob.j&&ba.setAttribute("sType",ob.j.ea()),""!==Xa&&ba.setAttribute("ns",Xa),fa&&fa.staticBaseUri&&ba.setAttribute("baseUri",fa.staticBaseUri)):(ba=ba.C[0],""!==Xa&&(ba.Da=Xa),fa&&fa.staticBaseUri&&(ba.cb=fa.staticBaseUri),Ka&&0pb.Ma.toEQName())));return ba},parseSequenceType:function(N, -ba,la){a();U.hb=ba;U.Vb=la;Ba=0;Wa={};Hf(t,N);N=u();0!==t.y&&P("Unexpected "+A()+" after SequenceType");return N},getTokenizer:function(){return t}}}();function Ki(){this.stack=[];this.current={C:[]}}Ki.prototype={V:function(a,b={}){a={N:a,C:[]};for(const h in b)a[h]=b[h];this.current.C.push(a);this.stack.push(this.current);this.current=a},ed:function(a,b){this.current[a]=b},R:function(){this.current=this.stack.pop()}}; -function Ji(){this.b=Pd.find("SaxonJS").getPlatform().createDocument();this.stack=[];this.current=this.b}Ji.prototype={V:function(a,b={}){a=this.b.createElement(a);for(const h in b)a.setAttribute(h,b[h]);this.current.appendChild(a);this.stack.push(this.current);this.current=a},ed:function(a,b){this.current.setAttribute(a,b)},R:function(){this.current=this.stack.pop()}};const Mi={nm:{QuantifiedExpr:"1AB",OrExpr:"1AB",AndExpr:"1AB",ComparisonExpr:"1AB",StringConcatExpr:"1AS",RangeExpr:"*ADI",AdditiveExpr:"?A",MultiplicativeExpr:"?A",IntersectExceptExpr:"*N",InstanceOfExpr:"1AB",CastableExpr:"1AB",UnaryExpr:"?A m[UO,UD,UF]",StringLiteral:"1AS",IntegerLiteral:"1ADI",DecimalLiteral:"1AD",DoubleLiteral:"1AO",NamedFunctionRef:"1F",InlineFunctionExpr:"1F",MapExpr:"1FM",Root:"1ND"},Gk:{"http://www.w3.org/2005/xpath-functions":{QName:{sig:"1F r[1AQ] a[?AS,1AS]"},abs:{sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF]]"}, -"accumulator-after":{XSLTonly:!0,sig:"1F a[1AS] r[*]"},"accumulator-before":{XSLTonly:!0,sig:"1F a[1AS] r[*]"},"adjust-date-to-timezone":{arity:[1,2],sig:"1F r[?AA] a[?AA,?ARD]"},"adjust-dateTime-to-timezone":{arity:[1,2],sig:"1F r[?AM] a[?AM,?ARD]"},"adjust-time-to-timezone":{arity:[1,2],sig:"1F r[?AT] a[?AT,?ARD]"},"analyze-string":{arity:[2,3],sig:"1F r[1NE nQ{http://www.w3.org/2005/xpath-functions}analyze-string-result] a[?AS,1AS,1AS]"},apply:{sig:"1F a[1F,1FA] r[*]"},"available-environment-variables":{sig:"1F r[*AS] a[]"}, -"available-system-properties":{XSLTonly:!0,sig:"1F r[*AQ] a[]"},avg:{sig:"1F r[?A] a[*A]"},"base-uri":{defaultToDot:!0,arity:[0,1],sig:"1F r[?AU] a[?N]"},"boolean":{sig:"1F r[1AB] a[*]"},ceiling:{sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF]]"},"codepoint-equal":{sig:"1F r[?AB] a[?AS,?AS]"},"codepoints-to-string":{sig:"1F r[1AS] a[*ADI]"},"collation-key":{arity:[1,2],collation:1,sig:"1F r[1A2] a[1AS,1AS]"},collection:{arity:[0,1],sig:"1F a[?AS] r[*]"},compare:{arity:[2,3],collation:2,sig:"1F r[?ADI] a[?AS,?AS,1AS]"}, -concat:{arity:[2,Infinity],sig:"1F r[1AS] a[?A,?A]",variadic:!0},contains:{arity:[2,3],collation:2,sig:"1F r[1AB] a[?AS,?AS,1AS]"},"contains-token":{arity:[2,3],collation:2,sig:"1F r[1AB] a[*AS,1AS,1AS]"},"copy-of":{XSLTonly:!0,defaultToDot:!0,arity:[0,1],sig:"1F a[*] r[*]"},count:{sig:"1F r[1ADI] a[*]"},current:{XSLTonly:!0,sig:"1F r[1] a[]"},"current-date":{sig:"1F r[1AA] a[]"},"current-dateTime":{sig:"1F r[1AMP] a[]"},"current-group":{XSLTonly:!0,sig:"1F a[] r[*]"},"current-grouping-key":{XSLTonly:!0, -sig:"1F r[*A] a[]"},"current-merge-group":{XSLTonly:!0,arity:[0,1],sig:"1F a[1AS] r[*]"},"current-merge-key":{XSLTonly:!0,sig:"1F r[*A] a[]"},"current-output-uri":{XSLTonly:!0,sig:"1F r[?AU] a[]"},"current-time":{sig:"1F r[1AT] a[]"},data:{defaultToDot:!0,arity:[0,1],sig:"1F r[*A] a[*]"},dateTime:{sig:"1F r[?AM] a[?AA,?AT]"},"day-from-date":{sig:"1F r[?ADI] a[?AA]"},"day-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"days-from-duration":{sig:"1F r[?ADI] a[?AR]"},"deep-equal":{arity:[2,3],collation:2,sig:"1F r[1AB] a[*,*,1AS]"}, -"default-collation":{sig:"1F r[1AS] a[]"},"default-language":{sig:"1F r[1ASNTL] a[]"},"distinct-values":{arity:[1,2],collation:1,sig:"1F r[*A] a[*A,1AS]"},doc:{sig:"1F r[?ND] a[?AS]"},"doc-available":{sig:"1F r[1AB] a[?AS]"},document:{XSLTonly:!0,arity:[1,2],sig:"1F r[*N] a[*,1N]"},"document-uri":{defaultToDot:!0,arity:[0,1],sig:"1F r[?AU] a[?N]"},"element-available":{XSLTonly:!0,sig:"1F r[1AB] a[1AS]"},"element-with-id":{defaultToDot:!0,arity:[1,2],sig:"1F r[*NE] a[*AS,1N]"},empty:{sig:"1F r[1AB] a[*]"}, -"encode-for-uri":{sig:"1F r[1AS] a[?AS]"},"ends-with":{arity:[2,3],collation:2,sig:"1F r[1AB] a[?AS,?AS,1AS]"},"environment-variable":{sig:"1F r[?AS] a[1AS]"},error:{arity:[0,1,2,3],sig:"1F r[0E] a[?AQ,1AS,*]"},"escape-html-uri":{sig:"1F r[1AS] a[?AS]"},"exactly-one":{sig:"1F r[1] a[*]"},exists:{sig:"1F r[1AB] a[*]"},"false":{sig:"1F r[1AB] a[]"},filter:{sig:"1F r[*] a[*,1F r[1AB] a[1]]"},floor:{sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF]]"},"fold-left":{sig:"1F a[*,*,1F a[*,1] r[*]] r[*]"},"fold-right":{sig:"1F a[*,*,1F a[1,*] r[*]] r[*]"}, -"for-each":{sig:"1F a[*,1F a[1] r[*]] r[*]"},"for-each-pair":{sig:"1F a[*,*,1F a[1,1] r[*]] r[*]"},"format-date":{arity:[2,5],sig:"1F r[?AS] a[?AA,1AS,?AS,?AS,?AS]"},"format-dateTime":{arity:[2,5],sig:"1F r[?AS] a[?AM,1AS,?AS,?AS,?AS]"},"format-integer":{arity:[2,3],sig:"1F r[1AS] a[?ADI,1AS,?AS]"},"format-number":{arity:[2,3],sig:"1F r[1AS] a[?A m[AO,AD,AF],1AS,?AS]"},"format-time":{arity:[2,5],sig:"1F r[?AS] a[?AT,1AS,?AS,?AS,?AS]"},"function-arity":{sig:"1F r[1ADI] a[1F]"},"function-available":{XSLTonly:!0, -arity:[1,2],sig:"1F r[1AB] a[1AS,1ADI]"},"function-lookup":{sig:"1F r[?F] a[1AQ,1ADI]"},"function-name":{sig:"1F r[?AQ] a[1F]"},"generate-id":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?N]"},"has-children":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AB] a[?N]"},head:{sig:"1F r[?] a[*]"},"hours-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"hours-from-duration":{sig:"1F r[?ADI] a[?AR]"},"hours-from-time":{sig:"1F r[?ADI] a[?AT]"},id:{defaultToDot:!0,arity:[1,2],sig:"1F r[*NE] a[*AS,1N]"},idref:{defaultToDot:!0, -arity:[1,2],sig:"1F r[*N] a[*AS,1N]"},"implicit-timezone":{sig:"1F r[1ARD] a[]"},"in-scope-prefixes":{sig:"1F r[*AS] a[1NE]"},"index-of":{arity:[2,3],collation:2,sig:"1F r[*ADI] a[*A,1A,1AS]"},innermost:{sig:"1F r[*N] a[*N]"},"insert-before":{sig:"1F a[*,1ADI,*] r[*]"},"iri-to-uri":{sig:"1F r[1AS] a[?AS]"},"json-doc":{arity:[1,2],sig:"1F r[?] a[?AS,1FM]"},"json-to-xml":{arity:[1,2],sig:"1F r[?ND] a[?AS,1FM]"},key:{XSLTonly:!0,arity:[2,3],sig:"1F r[*N] a[1AS,*A,1N]"},lang:{defaultToDot:!0,arity:[1, -2],sig:"1F r[1AB] a[?AS,1N]"},last:{sig:"1F r[1ADI] a[]"},"load-xquery-module":{arity:[1,2],sig:"1F r[1FM] a[1AS,1FM]"},"local-name":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?N]"},"local-name-from-QName":{sig:"1F r[?ASNTNC] a[?AQ]"},"lower-case":{sig:"1F r[1AS] a[?AS]"},matches:{arity:[2,3],sig:"1F r[1AB] a[?AS,1AS,1AS]"},max:{arity:[1,2],collation:1,sig:"1F r[?A] a[*A,1AS]"},min:{arity:[1,2],collation:1,sig:"1F r[?A] a[*A,1AS]"},"minutes-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"minutes-from-duration":{sig:"1F r[?ADI] a[?AR]"}, -"minutes-from-time":{sig:"1F r[?ADI] a[?AT]"},"month-from-date":{sig:"1F r[?ADI] a[?AA]"},"month-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"months-from-duration":{sig:"1F r[?ADI] a[?AR]"},name:{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?N]"},"namespace-uri":{defaultToDot:!0,arity:[0,1],sig:"1F r[1AU] a[?N]"},"namespace-uri-for-prefix":{sig:"1F r[?AU] a[?AS,1NE]"},"namespace-uri-from-QName":{sig:"1F r[?AU] a[?AQ]"},nilled:{defaultToDot:!0,arity:[0,1],sig:"1F r[?AB] a[?N]"},"node-name":{defaultToDot:!0, -arity:[0,1],sig:"1F r[?AQ] a[?N]"},"normalize-space":{arity:[0,1],sig:"1F r[1AS] a[?AS]"},"normalize-unicode":{arity:[1,2],sig:"1F r[1AS] a[?AS,1AS]"},not:{sig:"1F r[1AB] a[*]"},number:{defaultToDot:!0,arity:[0,1],sig:"1F r[1AO] a[?A]"},"one-or-more":{sig:"1F r[+] a[*]"},outermost:{sig:"1F r[*N] a[*N]"},"parse-ietf-date":{sig:"1F r[?AM] a[?AS]"},"parse-json":{arity:[1,2],sig:"1F r[?] a[?AS,1FM]"},"parse-xml":{sig:"1F r[?ND e[NE]] a[?AS]"},"parse-xml-fragment":{sig:"1F r[?ND] a[?AS]"},path:{defaultToDot:!0, -arity:[0,1],sig:"1F r[?AS] a[?N]"},position:{sig:"1F r[1ADI] a[]"},"prefix-from-QName":{sig:"1F r[?ASNTNC] a[?AQ]"},"random-number-generator":{arity:[0,1],sig:"1F r[1FM k[AS] v[1]] a[?A]"},"regex-group":{XSLTonly:!0,sig:"1F r[1AS] a[1ADI]"},remove:{sig:"1F r[*] a[*,1ADI]"},replace:{arity:[3,4],sig:"1F r[1AS] a[?AS,1AS,1AS,1AS]"},"resolve-QName":{sig:"1F r[?AQ] a[?AS,1NE]"},"resolve-uri":{arity:[1,2],sig:"1F r[?AU] a[?AS,1AS]"},reverse:{sig:"1F a[*] r[*]"},root:{defaultToDot:!0,arity:[0,1],sig:"1F r[?N] a[?N]"}, -round:{arity:[1,2],sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF],1ADI]"},"round-half-to-even":{arity:[1,2],sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF],1ADI]"},"seconds-from-dateTime":{sig:"1F r[?AD] a[?AM]"},"seconds-from-duration":{sig:"1F r[?AD] a[?AR]"},"seconds-from-time":{sig:"1F r[?AD] a[?AT]"},serialize:{arity:[1,2],sig:"1F r[1AS] a[*,?]"},snapshot:{XSLTonly:!0,defaultToDot:!0,arity:[0,1],sig:"1F a[*] r[*]"},sort:{arity:[1,2,3],collation:1,sig:"1F r[*] a[*,?AS,1F r[*A] a[1]]"},"starts-with":{arity:[2, -3],collation:2,sig:"1F r[1AB] a[?AS,?AS,1AS]"},"static-base-uri":{sig:"1F r[?AU] a[]"},"stream-available":{XSLTonly:!0,sig:"1F r[1AB] a[?AS]"},string:{defaultToDot:!0,arity:[0,1],sig:"1F r[1AS] a[?]"},"string-join":{arity:[1,2],sig:"1F r[1AS] a[*A,1AS]"},"string-length":{arity:[0,1],sig:"1F r[1ADI] a[?AS]"},"string-to-codepoints":{sig:"1F r[*ADI] a[?AS]"},subsequence:{arity:[2,3],sig:"1F a[*,1AO,1AO] r[*]"},substring:{arity:[2,3],sig:"1F r[1AS] a[?AS,1AO,1AO]"},"substring-after":{arity:[2,3],collation:2, -sig:"1F r[1AS] a[?AS,?AS,1AS]"},"substring-before":{arity:[2,3],collation:2,sig:"1F r[1AS] a[?AS,?AS,1AS]"},sum:{arity:[1,2],sig:"1F r[?A] a[*A,?A]"},"system-property":{XSLTonly:!0,sig:"1F r[1AS] a[1AS]"},tail:{sig:"1F a[*] r[*]"},"timezone-from-date":{sig:"1F r[?ARD] a[?AA]"},"timezone-from-dateTime":{sig:"1F r[?ARD] a[?AM]"},"timezone-from-time":{sig:"1F r[?ARD] a[?AT]"},tokenize:{arity:[1,2,3],sig:"1F r[*AS] a[?AS,1AS,1AS]"},trace:{arity:[1,2],sig:"1F a[*,1AS] r[*]"},transform:{sig:"1F r[1FM] a[1FM]"}, -translate:{sig:"1F r[1AS] a[?AS,1AS,1AS]"},"true":{sig:"1F r[1AB] a[]"},"type-available":{XSLTonly:!0,sig:"1F r[1AB] a[1AS]"},unordered:{sig:"1F r[*] a[*]"},"unparsed-entity-public-id":{XSLTonly:!0,arity:[1,2],sig:"1F r[1AS] a[1AS,1N]"},"unparsed-entity-uri":{XSLTonly:!0,arity:[1,2],sig:"1F r[1AU] a[1AS,1N]"},"unparsed-text":{arity:[1,2],sig:"1F r[?AS] a[?AS,1AS]"},"unparsed-text-available":{arity:[1,2],sig:"1F r[1AB] a[?AS,1AS]"},"unparsed-text-lines":{arity:[1,2],sig:"1F r[*AS] a[?AS,1AS]"},"upper-case":{sig:"1F r[1AS] a[?AS]"}, -"uri-collection":{arity:[0,1],sig:"1F r[*AU] a[?AS]"},"xml-to-json":{arity:[1,2],sig:"1F r[?AS] a[?N,1FM]"},"year-from-date":{sig:"1F r[?ADI] a[?AA]"},"year-from-dateTime":{sig:"1F r[?ADI] a[?AM]"},"years-from-duration":{sig:"1F r[?ADI] a[?AR]"},"zero-or-one":{sig:"1F r[?] a[*]"}},"http://www.w3.org/2005/xpath-functions/array":{append:{sig:"1F r[1FA] a[1FA,*]"},filter:{sig:"1F r[1FA] a[1FA,1F r[1AB] a[*]]"},flatten:{sig:"1F a[*] r[*]"},"fold-left":{sig:"1F a[1FA,*,1F a[*,*]] r[*]"},"fold-right":{sig:"1F a[1FA,*,1F a[*,*]] r[*]"}, -"for-each":{sig:"1F r[1FA] a[1FA,1F a[*]]"},"for-each-pair":{sig:"1F r[1FA] a[1FA,1FA,1F a[*,*]]"},get:{sig:"1F a[1FA,1ADI] r[*]"},head:{sig:"1F a[1FA] r[*]"},"insert-before":{sig:"1F r[1FA] a[1FA,1ADI,*]"},join:{sig:"1F r[1FA] a[*FA]"},put:{sig:"1F r[1FA] a[1FA,1ADI,*]"},remove:{sig:"1F r[1FA] a[1FA,*ADI]"},reverse:{sig:"1F r[1FA] a[1FA]"},size:{sig:"1F r[1ADI] a[1FA]"},sort:{arity:[1,2,3],collation:1,sig:"1F r[1FA] a[1FA,?AS,1F r[*A] a[*]]"},subarray:{arity:[2,3],sig:"1F r[1FA] a[1FA,1ADI,1ADI]"}, -tail:{sig:"1F r[1FA] a[1FA]"}},"http://www.w3.org/2005/xpath-functions/map":{contains:{sig:"1F r[1AB] a[1FM,1A]"},entry:{sig:"1F r[1FM] a[1A,*]"},find:{sig:"1F r[1FA] a[*,1A]"},"for-each":{sig:"1F r[*] a[1FM,1F a[1A,*]]"},get:{sig:"1F a[1FM,1A] r[*]"},keys:{sig:"1F r[*A] a[1FM]"},merge:{arity:[1,2],sig:"1F r[1FM] a[*FM,1FM]"},put:{sig:"1F r[1FM] a[1FM,1A,*]"},remove:{sig:"1F r[1FM] a[1FM,*A]"},size:{sig:"1F r[1ADI] a[1FM]"}},"http://www.w3.org/2005/xpath-functions/math":{acos:{sig:"1F r[?AO] a[?AO]"}, -asin:{sig:"1F r[?AO] a[?AO]"},atan:{sig:"1F r[?AO] a[?AO]"},atan2:{sig:"1F r[1AO] a[1AO,1AO]"},cos:{sig:"1F r[?AO] a[?AO]"},exp:{sig:"1F r[?AO] a[?AO]"},exp10:{sig:"1F r[?AO] a[?AO]"},log:{sig:"1F r[?AO] a[?AO]"},log10:{sig:"1F r[?AO] a[?AO]"},pi:{sig:"1F r[1AO] a[]"},pow:{sig:"1F r[?AO] a[?AO,1A m[AO,AD,AF]]"},sin:{sig:"1F r[?AO] a[?AO]"},sqrt:{sig:"1F r[?AO] a[?AO]"},tan:{sig:"1F r[?AO] a[?AO]"}}}};var Ni=function(){const a={};a[dc.ib]={apply:{sig:"1F r[*] a[1F,1FA]"},"column-number":{arity:[0,1],sig:"1F r[1ADI] a[1N]"},"compile-XPath":{arity:[1,2,3],sig:"1F r[1ND] a[1AS,?,?]"},"compile-GlobalContext":{sig:"1F r[1] a[1FM,1FM,1FM]"},"discard-document":{sig:"1F r[1ND] a[1ND]"},"has-uniform-namespaces":{sig:"1F r[1AB] a[1N]"},"line-number":{arity:[0,1],sig:"1F r[1ADI] a[1N]"},"marshal-type":{sig:"1F r[1FM] a[1AS]"},"message-count":{sig:"1F r[1ADI] a[?AQ]"},"parse-sequence-type":{arity:[2,3],sig:"1F r[1FM] a[1AS,1NE,?AS]"}, -"parse-XPath":{arity:[1,2,3],sig:"1F r[1ND] a[1AS,?AS,?]"},permute:{sig:"1F r[*] a[*]"},"system-id":{sig:"1F r[*AU] a[]"},timestamp:{sig:"1F r[1AMP] a[]"}};a[dc.Yc]={apply:{sig:"1F r[*] a[1F,1FA]"},call:{sig:"1F r[*] a[1,1AS,1FA]"},contains:{sig:"1F r[1AB] a[1,1AS]"},eval:{sig:"1F r[*] a[1AS]"},event:{sig:"1F r[?] a[]"},get:{sig:"1F r[*] a[1,1AS]"},location:{sig:"1F r[1AS] a[]"},page:{sig:"1F r[1N] a[]"},"query-params":{sig:"1F r[1FM] a[]"},source:{sig:"1F r[?N] a[]"},style:{sig:"1F r[1FM] a[?N]"}, -window:{sig:"1F r[1] a[]"}};a["http://exslt.org/common"]={"node-set":{sig:"1F r[?N] a[?N]",isIdempotent:!0}};return{Hj:function(b){return a[b]},jg:function(b){const h=b.namespace;b=b.signatures;let A=a[h];A||(A={},a[h]=A);Object.entries(b).forEach(P=>{A[P[0]]=P[1]})}}}();var Pi=function(){function a(r){var c;var d={};for(c in r){var n=r[c];d[c]=n}return d}function b(){}function h(r){const c={};if(r){r=r.split(" ");for(let n=0;nu?na:u;n.ad=u+1}n.wk(r);if(r=c.slotTypes)for(Q in r)n.ld[Q]=rc(r[Q]);for(ma in d)n.kc[ma]=d[ma];n.kc[""]="";if(d=c.staticTyping)n.zf=d;if(d=c.xpathDefaultNamespace)n.xpathDefaultNamespace=d;if(d= -c.defaultCollation)n.Hb=d;if(d=c.staticBaseURI)n.staticBaseURI=d;(d=c.contextType)?n.type=new pc(sc(d),2):n.type=n.Pa?null:mc.cc;n.ue=n.type;if(c=c.requiredType)n.ye=nc(c);return n}function q(r){const c=new b;c.type=mc.cc;c.U(r.params,r.inputConvert);"fn xs map array math saxon ixsl".split(" ").forEach(m=>c.kc[m]=qi[m]);for(var d in r.namespaceContext)c.kc[d]=r.namespaceContext[d];r.xpathDefaultNamespace&&(c.xpathDefaultNamespace=r.xpathDefaultNamespace);let n;if(r=r.slotMap){d=-1;let m;for(n in r)m= -r[n],c.Pb[n]=m,d=m>d?m:d;c.ad=d+1}return c}function g(r,c,d){r=Li.process(r,"pattern"===c.type,c.splitPattern,d,"XSLT"===c.language,c.allowEmpty,c.freeVariables);return Ub(r)}function e(r,c=!1){const d={"function":{},globalVariable:{},globalParam:{}};for(const m in r){if("PRIVATE"===r[m].visibility)continue;var n=r[m].actor;const u=fc.Q(n)?n.nodeName:n.N,Q=fc.Q(n)?n.getAttribute("name"):n.name;switch(u){case "function":if(c&&"PUBLIC"!==r[m].visibility&&"FINAL"!==r[m].visibility)break;n=(fc.Q(n)?fc.wc(n, -"arg"):A(n)).length;d[u][Q+"#"+n]=r[m];break;case "globalVariable":case "globalParam":d[u][Q]=r[m]}}return d}function l(r,c=!0){const d={N:r.nodeName};var n=r.attributes,m;for(m=0;mparseInt(n,10)),actor:c,C:[c]};return c.parentNode=r}function G(r){if(!fc.Q(r))return[];let c=[];r.childNodes.forEach(d=>c=c.concat(G(d)));return c}function p(r,c){"ufRef"===r.nodeName?r.setAttribute("bSlot",c[r.getAttribute("name")]):r.hasChildNodes()&&r.childNodes.forEach(d=>p(d,c))}function f(r,c,d){var n=Pd.find("SaxonJS");const m=n.XError,u=n.convertResult;var Q=n.getPlatform(),ma=Q.inBrowser();d||={};d.params||(d.params={});if(r.freeV){const B=d.params; -let L={};r.freeV.forEach(H=>{const S=H.startsWith("Q{}")?B[H.substring(3)]:B[H];if(!S)throw new m("A value for parameter "+H+" is required","SXJS9999");L[H]=S});d.params=L}n=d.inputConvert||"strong";const na=q(d);let O=r.C[0];O.parentNode=r;const ca={name:"evaluate",La:r,Ua:{}};r=new rf;r.resultDocument=Q.createDocument();r.fixed={runtimeFunctionLookupCache:{},gb:{},$b:{},hd:{},gg:0,zb:new Date,Ua:{"Q{}":r.resultDocument.createElement("decimal-format")},bd:{evaluate:ca},staticBaseURI:ma?window.location.href: -null,evaluator:ld};d.staticBaseURI&&(r.fixed.staticBaseURI=d.staticBaseURI);let x,E;if(d.namedDecimalFormats)for(const B in d.namedDecimalFormats){Q=d.namedDecimalFormats[B];ma=r.resultDocument.createElement("decimal-format");for(x in Q)E=Q[x],ma.setAttribute(x,["infinity","NaN"].includes(x)?E:Ia(E)[0]);ca.Ua[/^Q\{/.test(B)?B:"Q{}"+B]=l(ma)}if(d.defaultDecimalFormat){Q=d.defaultDecimalFormat;ma=r.resultDocument.createElement("decimal-format");for(x in Q)E=Q[x],ma.setAttribute(x,["infinity","NaN"].includes(x)? -E:Ia(E)[0]);ca.Ua["Q{}"]=l(ma)}r.localVars=na.mc;if(c)if(c instanceof Ab)r.focus=c;else{if(Array.isArray(c)&&1{Q.params[ma]="dummy"});c=q(Q);m=g(r,Q,c).next()}const u={N:"package",name:"evaluate",C:[m]};n&&(u.freeV=n);return d?u:function(Q,ma={}){return f(u,Q,{params:ma})}},evaluateOnly:f,compileGlobalContext:function(r,c,d){var n=new b;n.g(); -n.yc=r;n.O=c;n.wb=d;r={};d=0;for(let u in c){var m=c[u];const Q=fc.Q(m);m=Q?m.parentNode:m.parent;const ma=Q?m.parentNode:m.parent;r[d++]={actor:m,La:ma,id:parseInt(Q?ma.getAttribute("id"):ma.id,10)}}n.Ta=e(r);return Ub(n)},evaluateXDM:function(r,c,d,n){function m(Z=""){return ma[Z]}var u;const Q=Pd.find("SaxonJS").getPlatform();let ma;const na=P(n.params,n,n.namespaces);na.xa=d.fixed.xa;na.staticBaseURI||(na.staticBaseURI=d.fixed.staticBaseURI);const O=d.fixed.xa;na.Ta=e(d.fixed.xa,n.dynamicEval); -r=g(r,n,na).next();const ca={N:"package",name:"evaluate"};var x={name:"evaluate",La:ca,Ua:{}};r.parentNode=ca;let E=!1;var B=G(r);if(0{const ha=v(Z,l(V),"");V=V.getAttribute("name")+"#"+V.getAttribute("arity");ha.parentNode=ca;na.Ta["function"][V]={actor:ha,La:null,id:Z};X[V]=S++;O[Z]=ha;Z++;K.push(ha)});p(r,X);r=l(r);L=v(1E3,r,L.join(" "));L.parentNode=ca;O[1E3]=L;K.unshift(L);ca.C= -K}else fc.Q(r)?r=l(r):z(r),ca.C=[v(1E3,r,"")],r.parentNode=ca;H=ld.fe(d.currentComponent.actor,d);for(u in H.Ua)x.Ua[u]=H.Ua[u];B=new rf;B.fixed={runtimeFunctionLookupCache:{},gb:{},hd:{},$b:{},gg:0,zb:new Date,Ua:{},xa:d.fixed.xa,evaluator:ld,la:d.fixed.la,yb:d.fixed.yb,staticBaseURI:d.fixed.staticBaseURI,Ae:null,bd:{evaluate:x}};B.fixed.bd[H.name]=H;n.staticBaseURI&&(B.fixed.staticBaseURI=n.staticBaseURI);if(H=n.staticContext){var C=H.decimalFormats;if(C)for(u in C)x.Ua[u]=l(C[u]);if(x=H.resources)for(u in x)if(C= -x[u],C.hasOwnProperty("err")){let Z=C.err;Z=Z.replace(/Q{http:\/\/www\.w3\.org\/2005\/xqt-errors\}/,"");B.fixed.$b[u]=new J(Z+" "+C.description,Z)}else B.fixed.$b[u]=C;if(x=H.sources)for(u in x)if("."!==u)try{const Z=x[u];let K;if("string"==typeof Z){let X=Q.readFile(Z);X=Td.Hh(Td.Gh(X));K=fc.lc(Q.parseXmlFromString(X));K._saxonBaseUri=Z;K._saxonDocUri=Z}else K=Z;B.fixed.gb[u]=K}catch(Z){B.fixed.gb[u]=Z}if(u=H.collectionFinder)ma=u,B.fixed.la.Kh=m;u=H.staticBaseURI;"undefined"!=typeof u&&(B.fixed.staticBaseURI= -"#UNDEFINED"===u?null:u)}n.staticBaseURI&&(B.fixed.staticBaseURI=n.staticBaseURI);B.masterDocument=d.masterDocument;B.resultDocument=Q.createDocument();if(null!=c){n=c.next();if(null!=c.next())throw new J("Context item is a sequence of more than one item","XTTE3210");B.localVars=[];for(c=0;cna.as).join(",")+"] r["+ma.as+"]");return ma.sig}var m=null,u=Mi.Gk[r.q];u&&(m=u[r.local]);if(m&&!d.Pa&&m.XSLTonly)return null;m||r.q!==dc.ac||(Sa.type[r.local]?m={sig:"1F a[?A] r[?"+Sa.type[r.local].code+"]"}:Hd[r.local]&&(m={sig:"1F a[1AS] r[*"+Hd[r.local]+"]"}));if(!m&&d.Ta&&d.Ta["function"]){var Q=r.toEQName();if(d=d.Ta["function"][Q+"#"+c])r=Q,m=d.actor,fc.Q(m)?(fc.wc(m,"arg"),m={sig:m.getAttribute("sig")}):(A(m),m={sig:n(m)}), -m.isUserFunction=!0,m.componentBinding=d.id}else if(!m&&d.fixed&&d.fixed.xa)if(u=`{${r.q}}${r.local}#${c}`,u in d.fixed.runtimeFunctionLookupCache)m=d.fixed.runtimeFunctionLookupCache[u];else{const ma=r.toEQName();for(Q in d.fixed.xa){const na=d.fixed.xa[Q].actor;if("function"===na.N&&na.name===ma&&A(na).length===c){m={sig:n(na),isUserFunction:!0,componentBinding:Q};d.fixed.runtimeFunctionLookupCache[u]=m;break}}}if(!m&&((d=Ni.Hj(r.q))&&(m=d[r.local]),r.q===dc.mi)){r=0c.indexOf("`"))return c.split(".");let d=[""],n=0,m=0,u=!0;for(;mr||r>c)throw new J("Array index ("+r+") out of bounds (1 to "+ -c+")","FOAY0001",v);}function p(r){return r[0].next().value}function f(r){return Ub(new id(r))}function I(r,c,d,n){const m=c.fixed.evaluator;let u=r[1].expand();const Q=r[2].expand()[0],ma=Object.keys(c.localVars).length;if(Q instanceof jd.XdmFunction)r=p(r),n||(r=r.reverse()),r.forEach(na=>{u=Q.evaluate(n?[u,na]:[na,u],c,d).expand()});else{let na;"function"!==Q.N&&(na=Q);r[0].forEachItem(function(O){const ca=c.newContext(!0);na&&(ca.currentComponent=na);ca.clearGrouping();ca.tempOutputState="function"; -ca.currentMode={};ca.currentTemplate=null;ca.focus=null;n?(ca.localVars[ma]=u,ca.localVars[ma+1]=[O]):(ca.localVars[ma]=[O],ca.localVars[ma+1]=u);u=m.evaluate(void 0,ca).expand()})}return Pb(u)}const D={append:function(r){return f(p(r).concat([r[1].expand()]))},filter:function(r,c,d){const n=r[1].expand()[0];Object.keys(c.localVars);r=p(r);if(n.evaluate){const m=[];r.forEach(function(u){const Q=n.evaluate([u],c,d).expand();if(Array.isArray(Q)&&1!==Q.length||!q.boolean.matches(Q[0]))throw new J("Wrong type for function result in filter(). Expecting xs:boolean, supplied value is "+ -Aa.showValue(Q),"XPTY0004",d);Q[0].toBoolean()&&m.push(u)});return f(m)}throw new J("Argument supplied to array:filter is not a function","XPTY0004",d);},flatten:function(r){return ld.flatten(r[0])},"fold-left":function(r,c,d){return I(r,c,d,!0)},"fold-right":function(r,c,d){return I(r,c,d,!1)},"for-each":function(r,c,d){const n=r[1].expand()[0];r=p(r);Object.keys(c.localVars);if(n.evaluate){const m=[];r.forEach(function(u){m.push(n.evaluate([u],c,d).expand())});return f(m)}},"for-each-pair":function(r, -c,d){let n=r[2].expand();if(1!==n.length)throw new J("for-each-pair() must have exactly one function item as the third argument. Supplied length "+n.length,"XPTY0004",d);n=n[0];Object.keys(c.localVars);const m=[],u=r[0].next().value[Symbol.iterator]();r=r[1].next().value[Symbol.iterator]();let Q=u.next().value,ma=r.next().value;if(n instanceof jd.XdmFunction)for(;Q&&ma;)m.push(n.evaluate([Q,ma],c,d).expand()),Q=u.next().value,ma=r.next().value;return f(m)},"_from-sequence":function(r){const c=[]; -r[0].forEachItem(function(d){c.push([d])});return f(c)},get:function(r){const c=p(r);r=r[1].next().toNumber();G(r,c.length);return Pb(c[r-1])},head:function(r){r=p(r);G(1,r.length);return Pb(r[0])},"insert-before":function(r){const c=p(r),d=r[1].next().toNumber();G(d,c.length+1);r=r[2].expand();return f(c.slice(0,d-1).concat([r]).concat(c.slice(d-1)))},join:function(r){const c=[];r[0].forEachItem(function(d){d.value.forEach(function(n){c.push(n)})});return f(c)},put:function(r){const c=p(r),d=r[1].next().toNumber(); -G(d,c.length);r=r[2].expand();return f(c.slice(0,d-1).concat([r]).concat(c.slice(d)))},remove:function(r){const c=p(r),d=[];r[1].forEachItem(function(n){n=n.toNumber();G(n,c.length);d.push(n-1)});return f(c.filter(function(n,m){return 0>d.indexOf(m)}))},reverse:function(r){return f(p(r).slice().reverse())},size:function(r){return Zb(r[0].next().size())},sort:function(r,c,d){const n=Nd.jf(d,r[1],c);let m=ld.atomize;if(r[2]){const u=r[2].next();m=function(Q){return u.evaluate([[Q]],c,d)}}return f(p(r).slice().sort(function(u, -Q){return r[1]?Od(Pb(u).mapOneToMany(m),Pb(Q).mapOneToMany(m),n):Od(Pb(u).mapOneToMany(m),Pb(Q).mapOneToMany(m))}))},subarray:function(r){const c=p(r),d=r[1].next().toNumber();G(d,c.length+1);r=r[2]?r[2].next().toNumber():c.length-d+1;if(0>r)throw new J("Length is negative","FOAY0002");G(d+r,c.length+1);return f(c.slice(d-1,d+r-1))},tail:function(r){r=p(r);G(1,r.length);return f(r.slice(1))},"_to-sequence":function(r){const c=[];p(r).forEach(function(d){d.forEach(function(n){c.push(n)})});return Pb(c)}}; -if(!D[e])throw new J("Unknown array function: "+e,"SXJS0003",v);return D[e](l,z,v)}function A(e,l,z,v){const G={contains:function(p){const f=p[0].next();p=p[1].next();return bc(f.containsKey(p))},create:function(p){const f=new lc;p[0].forEachItem(function(I){I.forAllPairs(function(D){f.inSituPut(D.k,D.v)})});return Ub(f)},entry:function(p){const f=new lc;f.inSituPut(p[0].next(),p[1].expand());return Ub(f)},find:function(p){function f(c){ld.isArray(c)?c.value.forEach(I):ld.pe(c)&&(c.containsKey(r)&& -D.push(c.get(r)),c.keys().forEach(function(d){I(c.get(d))}))}function I(c){c.forEach(f)}const D=[],r=p[1].next();I(p[0].expand());return Ub(new id(D))},"for-each":function(p,f,I){const D=p[0].next(),r=D.keys(),c=p[1].expand()[0];if(c.evaluate){let d=[];r.forEach(function(n){d=d.concat(c.evaluate([[n],D.get(n)],f,I).expand())});return Pb(d)}throw new J("Argument to map:for-each is not a function","XPTY0004",I);},get:function(p){const f=p[0].next();p=p[1].next();return Pb(f.get(p))},keys:function(p){p= -p[0].next();return Pb(p.keys())},merge:function(p){const f=new lc,I=p[1]?p[1].next():null,D=q.string.fromString("duplicates"),r=I&&I.containsKey(D)?I.get(D).toString():"use-first";p[0].forEachItem(function(c){c.forAllPairs(function(d){if(!f.containsKey(d.k)||["use-last","unspecified","use-any"].includes(r))f.inSituPut(d.k,d.v);else{if("reject"===r){var n=q.string.fromString("duplicates-error-code");n=I.containsKey(n)?I.get(n).toString():"FOJS0003";throw new J("Duplicate key value '"+d.k.toString()+ -"'",n,v);}if("combine"===r){let m=[];f.get(d.k).forEach(function(u){m.push(u)});d.v.forEach(function(u){m.push(u)});f.inSituPut(d.k,m)}}})});return Ub(f)},_new:function(p){const f=new lc;p[0]&&p[0].forEachItem(function(I){I.forAllPairs(function(D){if(f.containsKey(D.k))throw new J("Duplicate key value '"+D.k.toString()+"'","XSLT"===z.fixed.la.Xb?"XTDE3365":"XQDY0137",v);f.inSituPut(D.k,D.v)})});return Ub(f)},put:function(p){const f=p[0].next(),I=p[1].next();p=p[2].expand();return Ub(f.put(I,p))}, -remove:function(p){let f=p[0].next();p[1].forEachItem(function(I){f=f.remove(I)});return Ub(f)},size:function(p){let f=0;p[0].next().forAllPairs(function(){f++});return Zb(f)},"untyped-contains":function(p){const f=p[0].next();p=p[1].next();return bc(f.containsKey(p))}};if(!G[e])throw new J("Unknown map function: "+e,"SXJS0003",v);return G[e](l,z,v)}function P(e,l,z,v){function G(r){return null===r?(I=!0,Number.NaN):r.toNumber()}function p(){const r=l[0].next();return G(r?r:ld.Fa(v)(z).next())}function f(){const r= -l[1].next();return G(r?r:ld.Mh(v)(z).next())}let I=!1;const D=function(){switch(e){case "pi":return Math.PI;case "exp":return Math.exp(p());case "exp10":return Math.pow(10,p());case "log":return Math.log(p());case "log10":return Math.log(p())/Math.LN10;case "pow":const r=p(),c=f();return-1===r&&(Infinity===c||-Infinity===c)||1===r?1:Math.pow(r,c);case "sqrt":return Math.sqrt(p());case "sin":return Math.sin(p());case "cos":return Math.cos(p());case "tan":return Math.tan(p());case "asin":return Math.asin(p()); -case "acos":return Math.acos(p());case "atan":return Math.atan(p());case "atan2":return Math.atan2(p(),f());default:throw new J("Unknown math function "+v.name,"XPST0017",v);}}();return I?Tb:$b(D)}const q=Sa.XS,g={};g[dc.ib]={apply:pe.apply,"compile-XPath":function(e,l,z){const v=e[0].next().toString();let G,p;1v[G]}else e=v=>kc(z,v);l= -Li.parseSequenceType(l,e,()=>{let v=z;for(;v&&1===v.nodeType;){if(fc.X(v).q===dc.Jc&&null!=ic(v,"","xpath-default-namespace"))return jc(v,"","xpath-default-namespace");if(null!=ic(v,dc.Jc,"xpath-default-namespace"))return jc(v,dc.Jc,"xpath-default-namespace");v=fc.Oa(v)}});return Ub(ld.Be(ld.Na(l.T()))[0])},"parse-XPath":function(e){const l=e[0].next().toString();let z="parse";1l.push({Mb:Math.random(),Dk:z}));l=l.sort(function(z,v){return z.Mb-v.Mb});e=l.map(z=>z.Dk);return Pb(e)},"system-id":function(e,l){e=l.getCurrentFocus();e=fc.Q(e)?fc.Za(e):null;return Ub(null===e?null:q.anyURI.fromString(e))},timestamp:function(e,l){return Ub(q.vd.fromDate(new Date,-l.fixed.zb.getTimezoneOffset()))}};g["http://exslt.org/common"]={"node-set":function(e){return e[0]}};ld.qk(a);return{evaluate:a,jg:function(e){const l=e.namespace;e=e.signatures;let z=g[l]; -z||=g[l]={};Object.entries(e).forEach(v=>{z[v[0]]=v[1].impl})}}}();var Ri={forceBaseURI:Pi.forceBaseURI};const Si=function(){function a(e,l){return e.rb===l.rb?e.Ec===l.Ec?e.Kd===l.Kd?l.Ei-e.Ei:e.Kd-l.Kd:e.Ec-l.Ec:e.rb-l.rb}function b(e,l){return e.rb===l.rb?e.Ec===l.Ec?0:e.Ec-l.Ec:e.rb-l.rb}function h(e,l){function z(v){return v.n?[v.n.replace(/^(\*:|Q\{.*\})/,"")]:v.u?z(v.u[0]).concat(z(v.u[1])):[]}this.Ve=e;this.wi=e.onNo;this.ti=l.qb(e,"t");l.qb(e,"F")&&(this.ug=!0);this.xh=(e.C||[]).map(function(v){return{Id:v,rb:parseInt(v.prec,10),Ec:parseFloat(v.prio),Kd:parseInt(v.seq,10),dk:parseInt(v.minImp, -10),Ei:parseInt(v.rank,10),ve:Qd.Zc(l.$(v,"match")),matches:oc(v.matches||"1"),Xa:l.$(v,"action")}}).sort(a).reverse();this.Ub={};this.xh.forEach(v=>{const G=v.matches.T();let p,f=[];/^N[EAP]/.test(G.p)?(p=G.p,G.n&&!/}\*$/.test(G.n)?(p+=" "+G.n.replace(/^(\*:|Q\{.*\})/,""),f=[p]):f=G.u?[...(new Set(z(G)))].map(I=>p+" "+I):[p]):f=["."];f.forEach(I=>{let D=this.Ub[I];D||(this.Ub[I]=D=[]);D.push(v)})})}const A=Sa.XS,P=fc.va,q={TC:function(e,l,z,v){if(fc.Q(e))switch(e.nodeType){case 9:case 11:case 1:z= -z.newContext(!1);z.focus=Xb(P.wa(e));l.xb(z,v);break;case 3:case 4:v.append(e);break;case 2:v.text(e.value)}else if(A.lg.matches(e))v.text(e.toString());else if(ld.isArray(e)){let G=[];e.value.forEach(p=>{G=G.concat(p)});e=z.newContext(!1);e.focus=Xb(Pb(G));l.xb(e,v)}},SC:function(e,l,z,v){return ee.Rg(e,z,"c",function(){const G=z.newContext(!1);G.focus=Xb(P.attribute(e));l.xb(G,v);G.focus=Xb(P.wa(e));l.xb(G,v)},v)},DC:function(e,l,z,v){fc.Q(e)&&(v.cb=fc.Za(e));v.append(e)},DS:function(e,l,z,v){if(fc.Q(e))switch(e.nodeType){case 9:case 11:z= -z.newContext(!1),z.focus=Xb(P.wa(e)),l.xb(z,v)}},SS:function(e,l,z,v){if(fc.Q(e))switch(e.nodeType){case 9:case 11:case 1:z=z.newContext(!1),z.focus=Xb(P.attribute(e)),l.xb(z,v),z.focus=Xb(P.wa(e)),l.xb(z,v)}else if(ld.isArray(e)){let G=[];e.value.forEach(p=>{G=G.concat(p)});e=z.newContext(!1);e.focus=Xb(Pb(G));l.xb(e,v)}},bubble:function(e,l,z,v){fc.Q(e)?1===e.nodeType&&(z=z.newContext(!1),z.focus=Xb(P.parent(e)),l.xb(z,v)):v.append(e)}};q.TO=q.TC;const g={1:"NE",2:"NA",3:"NT",7:"NP",8:"NC",9:"ND", -11:"ND",13:"NN"};h.prototype={Ve:null,xh:null,wi:"TC",ti:!1,ug:!1,xb:function(e,l,z){if(z){let v=!0;e.focus.forEachItem(G=>{v?v=!1:l.text(z.value,{});this.We(G,e,l)})}else e.focus.forEachItem(v=>this.We(v,e,l))},ij:function(e,l){const z=e.currentTemplate;if(!z)throw new J("No current template rule","XTDE0560");return this.We(e.getCurrentFocus(),e,l,function(v){return v.rb>=z.dk&&v.rba(v,z)})},xj:function(e,l,z){let v=null,G=null;const p=this.ug;var f=[];if(fc.Q(e)){const D=g[e.nodeType];var I=fc.X(e);if(I=I?I.local:null)I=D+" "+I,this.Ub[I]&&f.push(this.Ub[I]);this.Ub[D]&&f.push(this.Ub[D]);this.Ub.N&&f.push(this.Ub.N)}this.Ub["."]&&f.push(this.Ub["."]);(function(D){D.forEach(r=>{r.forEach(function(c){if(!z||z(c))if(!v||0!0;else if("strip.none"===x.N)B=()=>!1;else{let L={},H={},S={},C={},Z={},K=function(V,ha,w){V[ha]?parseInt(w.rb,10)>parseInt(V[ha].rb,10)&&(V[ha]=w):V[ha]=w};(x.C||[]).forEach(V=>{const ha=oc(V.test);ha instanceof td?(V.PREC=parseInt(V.prec,10),V.PRIO=2,K(L,ha.name.toEQName(),V)):ha instanceof vd?(V.PREC=parseInt(V.prec,10),V.PRIO=1,K(H,ha.q,V)):ha instanceof ud?(V.PREC=parseInt(V.prec,10),V.PRIO=1,K(S,ha.localName,V)):ha instanceof Oc?(V.PREC=parseInt(V.prec,10),V.PRIO= -0,K(C,"*",V)):Aa.fa("Unrecognised strip-space "+V.test)});const X=(V,ha)=>{const w=[],M=L["Q{"+V+"}"+ha];M&&w.push(M);(V=H[V])&&w.push(V);(ha=S[ha])&&w.push(ha);C["*"]&&w.push(C["*"]);w.sort((aa,ja)=>{const Y=aa.PREC,y=ja.PREC;return Y===y?ja.PRIO-aa.PRIO:y-Y});return 0{const w="Q{"+V+"}"+ha,M=Z[w];if(M)return"s"===M;V=X(V,ha);Z[w]=V?"s":"p";return V}}else B=()=>!1;return function(L){E(L);return L}}function h(x,E,B){function L(W){W=new $d(W);X.fixed.Aj=W;return new ee.getComplexContentOutputter(W)} -function H(){}function S(){Q&&!B.Kg&&p(X)}var C=ld.db(x,"strip")[0]||ld.db(x,"strip.all")[0];let Z=null;if(C||Q)Z=b(C),E&&Z&&(E=Z(E));B.Qi&&B.Qi(x);B.gm=null;const K=B.Bh,X=I(x,E,B);X.fixed.pm=X.fixed.md.La.version;D(X,function(W){return"globalParam"===W.N&&W.flags&&-1!==W.flags.indexOf("r")}).map(function(W){return W.name}).map(function(W){if("undefined"===typeof X.fixed.la.stylesheetParams.get(Sa.XS.QName.fromEQName(W)))throw new J("No value has been provided for required stylesheet parameter '"+ -W+"'","XTDE0050");});X.fixed.Ae=Z;E&&(fc.lc(E),X.fixed.gb[E._saxonBaseUri]=E);const V=B.destination||"application",ha=B.resultForm||"default";if(B.deliverResultDocument){let W=B.deliverResultDocument("testURI");["document","serialized","raw"].includes(W.destination)&&!W.save&&(B.deliverResultDocument=function(){return new oe(W.destination,B.resultDocuments)})}B.deliverResultDocument||(B.deliverResultDocument=Q?function(){return new ne("html-page",function(W,ka){B.resultDocuments[W.toString()]=ka})}: -K?function(){return new ne("file",function(W,ka,ea){ka=u.writeFileAsync(W,ka,ea);Aa.Qa("Promising to write to "+W,2,X.fixed.Ga);X.fixed.nd.push(ka)})}:function(){return new ne("file",function(W,ka,ea){Aa.Qa("Writing to "+W,2,X.fixed.Ga);u.writeFileSync(W,ka,ea)})});let w;const M={};C=X.fixed.md;var aa=C.Mg["#unnamed"];if(aa){aa=aa.C;var ja,Y;for(var y=0;yaa.indexOf("Q{")&& -(aa="Q{}"+aa);C=c(X,aa);if(!C)throw new J("Unknown initial mode "+aa,"XTDE0045");y="Q{"+dc.Jc+"}initial-template";E||ja||Y||d(X,y)&&(Y=y);let da=B.Mj;if(da){E=B.functionParams?B.functionParams:[];ja=E.length;Y=n(X,da.toString(),ja);if(!Y)throw new J("Unknown initial function "+da+"#"+ja,"XTDE0041");if("PUBLIC"!==Y.La.vis&&"FINAL"!==Y.La.vis)throw new J("Uninvocable initial function "+da+"#"+ja+" with visibility "+Y.La.vis,"XTDE0041");const W=Y.La.C[0];X.focus={};X.currentComponent=Y;X.clearGrouping(); -X.tempOutputState="function";X.currentMode=C;X.currentTemplate=null;let ka=0;X.localVars=E.map(function(ea){var va=W.C[ka++].as;va=nc(va||"*");return ld.pg(ld.Na(ea),va,()=>"function parameter for "+da)});E=H();ee.push(ld.$(W,"body"),X,E);E.close()}else if(Y){ja=d(X,Y);if(!ja)throw new J("Unknown initial template "+Y,"XTDE0040");Y=ja.actor;X.fixed.Uc?X.focus=Wb(E):(X.focus=Xb(Tb),X.focus.next());ld.og(Y,X);X.currentComponent=ja;X.currentMode=C;A(B,X);E=H();ee.push(Y.C[0],X,E);E.close()}else{Array.isArray(ja)&& -Z&&ja.filter(fc.Q).map(function(W){return fc.nf(W)?W:W.ownerDocument}).map(function(W){return Z(W)});if("PRIVATE"===C.visibility&&aa!==x.defaultMode&&""!==aa)throw new J("Uninvokable initial mode "+aa+" with visibility "+C.La.vis,"XTDE0045");if(!E&&!ja)throw new J("No source input supplied for apply-templates invocation","XTDE0044");Y=C.mode;X.currentComponent=C;X.focus=Xb(ja?Pb(Array.isArray(ja)?ja:[ja]):Ub(E));E=Y.Ve.useAcc;null!=E&&"#all"!==E&&(X.useAccumulators=E.split(/\s+/));A(B,X);E=H();Y.xb(X, -E);E.close()}S();if(K){function W(){const ka=X.fixed.nd;X.fixed.nd=[];return Promise.all(ka).then(()=>{if(0{throw ea;}).then(()=>Promise.resolve(new me(B.principalResult,B.resultDocuments,x,B.masterDocument)))}B.resultPromise=W()}}function A(x,E){x.templateParams&&(Aa.ba(x.templateParams instanceof lc,"options?templateParams must be an instance of HashTrie. Supplied:"+x.templateParams),E.localParams=x.templateParams);x.tunnelParams&&(Aa.ba(x.templateParams instanceof -lc,"options?tunnelParams must be an instance of HashTrie. Supplied:"+x.tunnelParams),E.tunnelParams=x.tunnelParams)}function P(x){let E="";for(const B in x)x.hasOwnProperty(B)&&x[B]&&(E+=B+"="+x[B].toString().substring(0,30)+"("+typeof B+"), ");return E}function q(x){let E=x.stylesheetInternal||null;if(!E){if(x.Eb)var B=u.readFile(x.Eb);else if(x.stylesheetText)B=x.stylesheetText;else if(x.Zb){if(Q)throw new J("Cannot supply stylesheetFileName in browser","SXJS0006");B=u.readFile(x.Zb)}else throw new J("No stylesheet supplied", -"SXJS0006");try{E=JSON.parse(B)}catch(H){throw new J("Supplied SEF is not in JSON format","SXJS0006");}}v(E,x);E.PRIMED||(G(E),g(E),E.PRIMED=!0);"true"===E.relocatable&&(x.Xc=!0);B=x.yf||null;let L;B&&(L=x.yf.Za||x.Md)&&(B._saxonBaseUri=L);if(!B){let H;if(x.Hc)L=x.Hc,H=u.readFile(L);else if(x.ze)L=x.Md,H=x.ze;else if(x.Gc){if(Q)throw new J("Cannot supply sourceFileName in browser","SXJS0006");L=x.Gc;H=u.readFile(L)}if(H)if("json"===x.Li)B=Sd.Gd(H,null);else{if("string"!==typeof H)throw new J("Supplied sourceText is not a string", -"SXJS0006");B=u.parseXmlFromString(H);L&&(B._saxonBaseUri=B._saxonDocUri=L)}}h(E,B,x);return new me(x.principalResult,x.resultDocuments,E,x.masterDocument)}function g(x){x.C&&x.C.forEach(function(E){E.parentNode=x;g(E)})}function e(x){if(x instanceof lc)return x;const E=new lc;x&&Object.keys(x).forEach(B=>E.inSituPut(Sa.XS.QName.fromEQName(B),ld.Na(x[B])));return E}function l(x){const E={};for(let [B,L]of Object.entries(x))E[B]="use-character-maps"===B?L:le.uf(B,L,null);return E}function z(x){const E= -(B,L)=>{let H=null;for(let S of L)if(B[S]){if(H)throw new J("The following transform options are mutually exclusive: "+L.toString(),"SXJS0006");H=S}return H};E(x,["stylesheetText","stylesheetInternal","stylesheetLocation","stylesheetFileName"]);E(x,["sourceNode","sourceText","sourceLocation","sourceFileName"]);return{stylesheetText:x.stylesheetText,stylesheetInternal:x.stylesheetInternal,Eb:x.stylesheetLocation,Zb:x.stylesheetFileName,Qd:x.stylesheetBaseURI,stylesheetParams:e(x.stylesheetParams), -yf:x.sourceNode,ze:x.sourceText,Hc:x.sourceLocation,Gc:x.sourceFileName,Li:x.sourceType||"xml",Md:x.sourceBaseURI,masterDocument:x.masterDocument,Pj:x.initialTemplate,Mj:x.initialFunction,functionParams:x.functionParams,templateParams:e(x.templateParams),tunnelParams:e(x.tunnelParams),Nj:x.initialMode,gb:x.documentPool,$b:x.textResourcePool,destination:x.destination,yb:x.baseOutputURI||(x.masterDocument?x.masterDocument._saxonBaseUri:void 0),Aa:x.outputProperties,principalResult:void 0,rg:x.deliverMessage, -deliverResultDocument:x.deliverResultDocument,sc:x.collations,Kh:x.collectionFinder,Ga:x.logLevel,Qi:x.traceInjector,Uc:x.globalContextItem,Oj:x.initialSelection,me:x.isDynamicStylesheet,Xc:x.isRelocatableStylesheet,Xb:x.language,ri:x.messages,resultDocuments:{},resultForm:x.resultForm,Dl:x.extraOptions,Kg:x.nonInteractive,kj:x.attachEventsTo,Bh:x.async}}function v(x,E){if("package"===x.N){const B=x.target||"not specified",L=x.targetVersion||"",H=x.saxonProduct;let S=x.saxonVersion||"9.8.0.5";H&& -!/Saxon/.test(S)&&(S=H+" "+S);Aa.Qa("SEF generated by "+S+" at "+(x.buildDateTime||"2000-01-01"),2,E.Ga);if("JS"!==B||"2"!==L)throw new J("Supplied SEF is not customized for use with SaxonJS. The option -target:JS should be set when generating the export. target is: "+B,"SXJS0006");if("9"===S.charAt(0))throw new J("For use with SaxonJS 2.x, SEF must be generated by SaxonJ-EE 10.0 or later. Supplied SEF is generated by SaxonJ-EE version "+S,"SXJS0006");if(x.expiry&&0>ma.Oc.fromString(x.expiry).compareTo(ma.Oc.fromDate(new Date, -0)))throw new J("Development license for supplied stylesheet has expired","SXJS0006");}else throw new J("Supplied SEF does not have correct format","SXJS0006");}function G(x){function E(Z,K){K<<=8;for(let X=0;XH?4294967295+H+1:H).toString(16);if(C!==x){if("unspecified"===x)throw new J("No checksum found in SEF","SXJS0006");throw new J("Invalid checksum in SEF "+x+" != "+C,"SXJS0006");}}function p(x,E=null){function B(H,S){function C(K){const X=K.target;var V=x.newContext(!0);V.tempOutputState=!1;V.currentEvent=K;V.focus=Xb(Ub(ld.Na(X)[0]));V.currentComponent=H;K= -ae(x);K=new ee.getComplexContentOutputter(K);(V=Z.xb(V,K))&&V.expand()}const Z=H.mode;-1==="httpabort afterprint beforeprint beforeunload hashchange languagechange message offline online pagehide pageshow popstate storage unhandledrejection unload resize".split(" ").indexOf(S)?E?E.zh(S,C,!1):window.document.zh(S,C,!1):window.zh(S,C,!1)}const L=x.fixed.xa;Object.keys(L).forEach(function(H){H=L[H];H.mode&&H.mode.ii()&&(H.name.split("}on")[1]?B(H,H.name.split("}on")[1]):console.log("Invalid event handler name:", -H.name))})}function f(x,E){return x.C?x.C.filter(function(B){return B.N===E}):[]}function I(x,E,B){function L(X,V){H(x,X,V)}function H(X,V,ha){X.N===V&&ha(X);X.C&&X.C.forEach(function(w){H(w,V,ha)})}function S(X){return(X=X.name)?/^Q\{/.test(X)?X:"Q{}"+X:null}function C(X,V){function ha(w){w=f(w,"co");for(let M=0;M{const ha=X[V];if(fc.nf(ha))K.fixed.gb[V]=ha;else throw new J("Supplied value for "+V+" is not a document node");})}if(B.$b){const X=B.$b;Object.keys(X).forEach(V=>{K.fixed.$b[V]=X[V].toString()})}B.sc|| -(B.sc={});B.sc[Nd.Nc]=Nd.codepointCollation();B.sc[Nd.Xh]=Nd.bf();B.sc[Nd.Fg]=Nd.Ah();B.sc[Nd.Ui]=Nd.bf();L("package",function(X){const V={name:X.name,La:X,wb:{},Eh:{},Ua:{},Mg:{},keys:{},Ri:null};K.fixed.bd[V.name]=V;K.fixed.md||(K.fixed.md=V);C(X,function(ha){const w=parseInt(ha.id,10);K.fixed.xa[w]={id:w,visibility:ha.vis,La:ha,zi:V,actor:null,$e:ha.binds.split(" ").map(function(M){return parseInt(M,10)})}})});L("package",function(X){const V=K.fixed.bd[X.name];C(X,function(Y){const y=K.fixed.xa[parseInt(Y.id, -10)];Y=y.actor=Z(Y,K);null!==Y&&(y.name=S(Y),"globalVariable"===Y.N||"globalParam"===Y.N?y.value=null:"mode"===Y.N&&(y.mode=new Si(Y,ld),null===S(Y)&&(V.Ri=y.mode)),"ABSTRACT"===Y.parentNode.vis&&(y.visibility="ABSTRACT"))});if(0Y.max&&(Y.max= -da);Y.oa[da]=y.s}),55296{Z=JSON.parse(V)}).catch(V=>Promise.reject(new J("Failed to read JSON input "+L.Zb+": "+V,"SXJS0006"))), -x.push(S)):L.Eb?(S=u.resourcePromise({location:L.Eb,encoding:"utf-8",type:"json"}).then(V=>{Z=JSON.parse(V)}).catch(V=>Promise.reject(new J("Failed to read JSON input "+L.Eb+": "+V,"SXJS0006"))),x.push(S)):x.push(Promise.reject(new J("No stylesheet supplied","SXJS0006")));K=L.yf||null;X=L.Li||"xml";K&&(S=L.yf.Za||L.Md)&&(K._saxonBaseUri=S);if(!K){S=(ha,w)=>{ha=Td.Hh(Td.Gh(ha));ha=u.parseXmlFromString(ha);w&&(ha._saxonBaseUri=ha._saxonDocUri=w);return ha};C=ha=>Sd.Gd(ha,null);const V="xml"===X?S:C; -L.ze?"string"!==typeof L.ze?x.push(Promise.reject(new J("Supplied sourceText is not a string","SXJS0006"))):K=V(L.ze,L.Md):L.Gc?(S=u.resourcePromise({file:L.Gc}).then(ha=>K=V(ha,L.Gc)).catch(ha=>Promise.reject(new J(`Failed to read ${X.toUpperCase()} source input (${ha.message})`,"SXJS0006"))),x.push(S)):L.Hc&&(S=u.resourcePromise({location:L.Hc}).then(ha=>{K=V(ha,L.Hc)}).catch(ha=>Promise.reject(new J(`Failed to read ${X.toUpperCase()} source input (${ha.message})`,"SXJS0006"))),x.push(S))}return Promise.all(x).then(()=> -{var V=Z,ha=K,w=L;if(!V)throw new J("No stylesheet supplied","SXJS0006");try{v(V,w);V.PRIMED||(G(V),g(V),V.PRIMED=!0);"true"===V.relocatable&&(w.Xc=!0);h(V,ha,w);var M=w.resultPromise}catch(aa){throw console.log("Transformation failure: "+(aa.getMessage?aa.getMessage():aa)),aa;}return M})},Serializer:le,serialize:function(x,E){const B={"iso-8859-1":"latin1","iso-646":"ascii"};x=le.serialize(x,E);return E&&E.encoding?(E=E.encoding,E=B[E]||E,ya.makeBuffer(x,E)):x},StringWriter:le.StringWriter,getProcessorInfo:function(){return{version:3, -vendor:"Saxonica",vendorURL:"https://www.saxonica.com/",productName:"SaxonJS",productVersion:"2.7",isSchemaAware:!1,supportsSerialization:!0,supportsBackwardsCompatibility:!0,supportsNamespaceAxis:!0,supportsStreaming:!1,supportsDynamicEvaluation:!0,supportsHigherOrderFunctions:!0,xPathVersion:3.1,xsdVersion:1.1,releaseDate:"2024-10-17"}},getResource:function(x){const E=x.type||"text";let B;if(x.file){var L=u.resourcePromise(x);B=u.fileURL(x.file)}else if(x.location)if(L=x.location, -L instanceof URL||(L=u.newURL(L,u.baseURL()),x.location=L.toString()),B=L.href,"file:"===L.protocol)L=u.resourcePromise(x);else if(["http:","https:"].includes(L.protocol))L=u.resourcePromise(x);else return Promise.reject(new J("Unsupported URL protocol "+L.protocol,"SXJS0006"));else if(x.text)L=Promise.resolve(x.text),x.baseURI&&(B=x.baseURI);else return Promise.reject(new J("No resource supplied","SXJS0006"));"xml"===E?L=L.then(H=>{try{const S=fc.lc(u.parseXmlFromString(H));S._saxonBaseUri=S._saxonDocUri= -B;return Promise.resolve(S)}catch(S){return Promise.reject(new J("Failed parsing XML in "+B+": "+S.message,S.code))}}):"json"===E&&(L=L.then(H=>{try{return Promise.resolve(Sd.Gd(H,new lc,new rf))}catch(S){return Promise.reject(new J("Failed parsing JSON in "+B+": "+S.message,S.code))}}));return L},setLogLevel:Aa.setLogLevel,getLogLevel:Aa.getLogLevel,setPlatform:a,getPlatform:function(){return u},getNavigator:function(){return window.$l.lm},timeStamp:Q&&window.Bi&&window.Bi.now?window.Bi.now:function(){return Date.now().valueOf()}, -internalTransform:h,checkOptions:z,convertResult:m,makeAtomicValue:function(x,E){return Sa.type[x].fromString(E)},registerExtensionFunctions:function(x){Ni.jg(x);Qi.jg(x)},getItemDetails:function(x){if(Sa.ka(x)){const E={variety:"atomic",type:x.type,value:x.toString()};"AQ"===x.code&&(E.prefix=x.prefix,E.uri=x.q,E.local=x.local);return E}return fc.Q(x)?{variety:"node",type:x.nodeType()}:{variety:x instanceof id?"array":"map"}},getConfigurationProperties:function(){const x={};Object.keys(O).forEach(E=> -{x[E]=O[E]});return x},getConfigurationProperty:function(x){if(x in O)return O[x]},setConfigurationProperties:function(x){const E={};Object.keys(O).forEach(B=>{E[B]=O[B]});Object.keys(x).forEach(B=>{"autoResetIndexes"==B||"nativeGetElementById"==B?O[B]=!!x[B]:Aa.Qa("The configuration property "+B+" is unrecognized")});return E},setConfigurationProperty:function(x,E){if("autoResetIndexes"==x||"nativeGetElementById"==x){let B=O[x];O[x]=!!E;return B}Aa.Qa("The configuration property "+x+" is unrecognized")}, -resetIndexes:function(x){Q&&!x&&(x=window.document);return x&&"_saxonIndexes"in x?(delete x._saxonIndexes,delete x._saxonIndexesBC,delete x._saxonXmlIdIndex,!0):!1},XdmArray:id,XdmAtomicValue:Ra,XdmAttributeNode:ec,XdmFunction:jd,XdmMap:lc,XError:J,XPath:Ii,XS:ma};Q||"undefined"!==typeof HostPlatform?(HostPlatform.entryPoint=ca,a(HostPlatform),u.expose(ca,"SaxonJS")):console.log("Platform binding delayed");ca.Developer=Ri;Sa.fg();Ma.fg();vc();Pd.register("SaxonJS",ca);return ca})(); diff --git a/Lombiq.EInvoiceValidator/node_modules/saxon-js/package.json b/Lombiq.EInvoiceValidator/node_modules/saxon-js/package.json deleted file mode 100644 index e8ff7b7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/saxon-js/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "saxon-js", - "version": "2.7.0", - "description": "SaxonJS XSLT 3.0 processor: a conformant high-performance implementation of XSLT 3.0 for Node.js", - "main": "SaxonJS2N.js", - "keywords": [ - "xslt", - "xslt3.0", - "xpath3.1", - "xpath", - "xml", - "saxon", - "dom", - "json", - "xsl", - "transform" - ], - "homepage": "http://www.saxonica.com/saxon-js/", - "bugs": { - "url": "https://saxonica.plan.io/projects/saxon-js/issues" - }, - "author": "Saxonica", - "license": "SEE LICENSE IN LICENSE.txt", - "dependencies" : { - "axios": "^1.5.1" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/saxon-js/readme.md b/Lombiq.EInvoiceValidator/node_modules/saxon-js/readme.md deleted file mode 100644 index 259d506..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/saxon-js/readme.md +++ /dev/null @@ -1,144 +0,0 @@ -# About SaxonJS - -SaxonJS is an XSLT 3.0 processor written mainly in JavaScript, and partly in XSLT. SaxonJS 2 is available for two JavaScript environments: the browser, and Node.js. We'll focus here on Node.js. - -The npm package **saxon-js** provides a JavaScript API that allows you to: - - * Invoke XSLT 3.0 transformations - * Run XPath 3.1 expressions against DOM trees - * Build DOM trees from XML resources held in filestore or accessed over HTTP - * Serialize DOM trees to XML or HTML - -A command-line interface for XSLT 3.0 transformation is provided in a separate package, **xslt3**. - -[Full documentation is available](http://www.saxonica.com/saxon-js/documentation/index.html), delivered using SaxonJS 2 running in your browser. - -## About XSLT 3.0 and XPath 3.1 - -XSLT 3.0 and XPath 3.1 are the latest versions of the XSLT and XPath specifications from W3C. - -The 1.0 versions of these languages are widely known and widely used, but they are now twenty years old, and the standards have come a long way since then. - -Version 2 of the specs introduced, among other things: - -* Grouping instructions (``) -* Regular expressions -* Date-and-time arithmetic and formatting -* A wider range of data types -* User-written functions in XSLT - -Version 3 added: - -* Support for JSON, including maps and arrays -* Higher-order functions -* Support for HTML5 -* Inline text templates: `

Written by {@author} on {@date}

` -* Separately-compiled XSLT packages - -SaxonJS implements all of the mandatory parts of the XSLT 3.0 and XPath 3.1 specifications, and most of the optional parts. The only major things it leaves out are: - -* Schema-awareness -* Streaming -* XSLT Packages (but see below) - -## Saxon compile time and run time - -The Saxon product effectively contains a compile time and a run time component. The compiler takes XSLT source code as input, and generates a Stylesheet Export File (SEF), which is an intermediate representation of the compiled and optimized stylesheet in a custom JSON format. In fact, Saxonica offers two XSLT compilers: - -* The XJ compiler is an XSLT-to-SEF compiler written in Java, and delivered as part of the Saxon-EE product, running under Java. -* The XX compiler is an XSLT-to-SEF compiler written in XSLT, making calls on an XPath parser written in JavaScript. It is delivered as part of SaxonJS, and can be invoked using the **xslt3** command line. - -SaxonJS will load SEF files generated by either compiler. For production work the XJ compiler is a better choice: it is faster, it produces better diagnostics, it generates smaller and faster run-time code, and it has fewer restrictions. But the XX compiler is available at no cost. - -XSLT 3.0 packages are partially supported: SaxonJS offers run-time support, but to compile them you will need the XJ compiler. - -## About Saxonica - -SaxonJS is developed by Saxonica, a company created in 2004 by Michael Kay, who was the editor of the XSLT 2.0 and 3.0 specifications in W3C. The original Saxon product on the Java platform has been continually developed for over 20 years, and has acquired a reputation for standards conformance, performance, and reliability. - -SaxonJS takes many of the successful design ideas of the original Java-based product and re-implements them in JavaScript. Although the Node.js version of the product is brand new, it benefits not only from the experience of the team creating it, but also from the existence of a vast test suite, ensuring a high level of reliability. - -## Examples - -### Compiling a stylesheet - -To compile a stylesheet held in `books.xsl` to a SEF file in `books.sef.json`, to be run either in the browser or Node.js, use the command line: - -**`xslt3 -xsl:books.xsl -export:books.sef.json -t -ns:##html5`** - -Here `-t` requests progress messages on the console, and `-ns:##html5` requests customized handling of namespaces in the HTML DOM (which is non-standard according to the W3C standards, but mimics the way XSLT 1.0 processors behave in the browser). - -### Running a transformation from the command line - -To execute the stylesheet against a source document `books.xml` and write the output to a file `books.html`, use: - -**`xslt3 -xsl:books.sef.json -s:books.xml -o:books.html -t`** - -Alternatively the XSLT stylesheet can be run directly against the source document, using: - -**`xslt3 -xsl:books.xsl -s:books.xml -o:books.html -t`** - - -### Running a transformation from JavaScript - -To run the same transformation from JavaScript within a Node.js application, sending the result to an HTTP response object `response`, use: - -``` - SaxonJS.transform({ - stylesheetFileName: "books.sef.json", - sourceFileName: "books.xml", - destination: "serialized" - }, "async") - .then (output => { - response.writeHead(200, {'Content-Type': 'text/html'}); - response.write(output.principalResult); - response.end(); - }) -``` - -### Running XPath from JavaScript - -The following example parses an XML document, executes a simple XPath expression, and serializes the result: - -``` - SaxonJS.getResource({ - location: '../../src/test.xml', - type: "xml" - }).then(doc => { - const result = SaxonJS.XPath.evaluate("//test[@id='abc']", doc); - const output = SaxonJS.serialize(result, {method: "xml", indent: true, "omit-xml-declaration":true}); - console.log(output); - }) -``` -The next example does the same with JSON input: - -``` - SaxonJS.getResource({ - location: '../../src/test.json', - type: "json" - }).then(doc => { - const result = SaxonJS.XPath.evaluate("?cities?*[?name='Berlin']", doc); - const output = SaxonJS.serialize(result, {method: "json", indent: true}); - console.log(output); - }) -``` - -## SaxonJS Components - -SaxonJS for Node.js includes the following deliverables, available free of charge (but the license is not open source): - -* saxon-js package (SaxonJS2N.js): this includes all the code needed to compile and execute XSLT 3.0 stylesheets under Node.js, including an API enabling applications to invoke stylesheet execution. The JavaScript module is around 3.7Mb in size. - -* xslt3 package (xslt3.js): this small module provides a command line interface, allowing XSLT 3.0 transformations to be compiled and run from a terminal/console. It makes use of the services provided by the saxon-js (SaxonJS2N.js) package.

- -## SaxonJS in the Browser - -SaxonJS is also available to run in the browser, with innovative extensions allowing user interaction to be handled entirely from declarative XSLT code, without any need for low level Javascript event handling. For details, see the [Saxonica web site](http://www.saxonica.com/saxon-js/index.xml). - -## Support and Services - -SaxonJS is offered free of charge, but for serious users, a chargeable service package is available for an annual fee. The service package includes access to source code and build tools, debugging aids, and other resources such as tutorials and add-on utilities that may be published from time to time. For details, see the [Saxonica web site](http://www.saxonica.com/saxon-js/index.xml). - -All users are welcome to use the public [support site](http://saxonica.plan.io) for reporting issues and seeking help (registration required). In addition, many questions are asked and answered on [StackOverflow](https://stackoverflow.com): please use the **saxon-js** tag. - - diff --git a/Lombiq.EInvoiceValidator/node_modules/xslt3/LICENSE.txt b/Lombiq.EInvoiceValidator/node_modules/xslt3/LICENSE.txt deleted file mode 100644 index cc88bb7..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/xslt3/LICENSE.txt +++ /dev/null @@ -1,55 +0,0 @@ - Version 1.0, June 2020 - - Software: This license applies to the packages "xslt3" and "saxon-js" - distributed via npm (https://www.npmjs.com) and to the modules SaxonJS2.js - and SaxonJS2.rt.js available for download from the Saxonica web site - (https://www.saxonica.com/). - - Copyright: The copyright in the Software belongs to Saxonica Ltd, except - for third-party components listed in the documentation that are distributed - under license. - - Binary form: In this license, "binary form" means the form in which the - Software is issued (this is technically a set of obfuscated Javascript files). - - Deployment and use. The Software may be copied to any computer where the - primary purpose is the execution of the software on that computer, or on - connected client computers. - - Redistribution. Redistribution in binary form, without - modification, is permitted as part of an application that makes use - of the Software, provided that the following conditions are - met: - - 1) Redistributions must reproduce the above copyright notice and the - following disclaimer in the documentation and/or other materials - provided with the distribution. - - 2) Except to the extent explicitly permitted by law, no reverse - engineering, decompilation, or disassembly of this software is - permitted. - - 3) Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - 4) Copying the software to a site whose primary purpose is to make - it available to third parties is not permitted without specific - prior written permission. - - If you institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the software - itself infringes your patent(s), then your rights granted under this - license shall terminate as of the date such litigation is filed. - - DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS." ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT - NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED - TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Lombiq.EInvoiceValidator/node_modules/xslt3/package.json b/Lombiq.EInvoiceValidator/node_modules/xslt3/package.json deleted file mode 100644 index 3d756bc..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/xslt3/package.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "xslt3", - "version": "2.7.0", - "description": "SaxonJS XSLT 3.0 processor: command line interface to SaxonJS", - "main": "xslt3.js", - "keywords": [ - "xslt", - "xslt3.0", - "xpath3.1", - "xpath", - "xml", - "saxon", - "dom", - "json", - "xsl", - "transform", - "cli" - ], - "author": "Saxonica", - "license": "SEE LICENSE IN LICENSE.txt", - "bin": { - "xslt3": "./xslt3.js" - }, - "homepage": "http://www.saxonica.com/saxon-js/", - "bugs": { - "url": "https://saxonica.plan.io/projects/saxon-js/issues" - }, - "dependencies" : { - "saxon-js": "^2.7.0", - "axios": "^1.5.1" - } -} diff --git a/Lombiq.EInvoiceValidator/node_modules/xslt3/readme.md b/Lombiq.EInvoiceValidator/node_modules/xslt3/readme.md deleted file mode 100644 index 259d506..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/xslt3/readme.md +++ /dev/null @@ -1,144 +0,0 @@ -# About SaxonJS - -SaxonJS is an XSLT 3.0 processor written mainly in JavaScript, and partly in XSLT. SaxonJS 2 is available for two JavaScript environments: the browser, and Node.js. We'll focus here on Node.js. - -The npm package **saxon-js** provides a JavaScript API that allows you to: - - * Invoke XSLT 3.0 transformations - * Run XPath 3.1 expressions against DOM trees - * Build DOM trees from XML resources held in filestore or accessed over HTTP - * Serialize DOM trees to XML or HTML - -A command-line interface for XSLT 3.0 transformation is provided in a separate package, **xslt3**. - -[Full documentation is available](http://www.saxonica.com/saxon-js/documentation/index.html), delivered using SaxonJS 2 running in your browser. - -## About XSLT 3.0 and XPath 3.1 - -XSLT 3.0 and XPath 3.1 are the latest versions of the XSLT and XPath specifications from W3C. - -The 1.0 versions of these languages are widely known and widely used, but they are now twenty years old, and the standards have come a long way since then. - -Version 2 of the specs introduced, among other things: - -* Grouping instructions (``) -* Regular expressions -* Date-and-time arithmetic and formatting -* A wider range of data types -* User-written functions in XSLT - -Version 3 added: - -* Support for JSON, including maps and arrays -* Higher-order functions -* Support for HTML5 -* Inline text templates: `

Written by {@author} on {@date}

` -* Separately-compiled XSLT packages - -SaxonJS implements all of the mandatory parts of the XSLT 3.0 and XPath 3.1 specifications, and most of the optional parts. The only major things it leaves out are: - -* Schema-awareness -* Streaming -* XSLT Packages (but see below) - -## Saxon compile time and run time - -The Saxon product effectively contains a compile time and a run time component. The compiler takes XSLT source code as input, and generates a Stylesheet Export File (SEF), which is an intermediate representation of the compiled and optimized stylesheet in a custom JSON format. In fact, Saxonica offers two XSLT compilers: - -* The XJ compiler is an XSLT-to-SEF compiler written in Java, and delivered as part of the Saxon-EE product, running under Java. -* The XX compiler is an XSLT-to-SEF compiler written in XSLT, making calls on an XPath parser written in JavaScript. It is delivered as part of SaxonJS, and can be invoked using the **xslt3** command line. - -SaxonJS will load SEF files generated by either compiler. For production work the XJ compiler is a better choice: it is faster, it produces better diagnostics, it generates smaller and faster run-time code, and it has fewer restrictions. But the XX compiler is available at no cost. - -XSLT 3.0 packages are partially supported: SaxonJS offers run-time support, but to compile them you will need the XJ compiler. - -## About Saxonica - -SaxonJS is developed by Saxonica, a company created in 2004 by Michael Kay, who was the editor of the XSLT 2.0 and 3.0 specifications in W3C. The original Saxon product on the Java platform has been continually developed for over 20 years, and has acquired a reputation for standards conformance, performance, and reliability. - -SaxonJS takes many of the successful design ideas of the original Java-based product and re-implements them in JavaScript. Although the Node.js version of the product is brand new, it benefits not only from the experience of the team creating it, but also from the existence of a vast test suite, ensuring a high level of reliability. - -## Examples - -### Compiling a stylesheet - -To compile a stylesheet held in `books.xsl` to a SEF file in `books.sef.json`, to be run either in the browser or Node.js, use the command line: - -**`xslt3 -xsl:books.xsl -export:books.sef.json -t -ns:##html5`** - -Here `-t` requests progress messages on the console, and `-ns:##html5` requests customized handling of namespaces in the HTML DOM (which is non-standard according to the W3C standards, but mimics the way XSLT 1.0 processors behave in the browser). - -### Running a transformation from the command line - -To execute the stylesheet against a source document `books.xml` and write the output to a file `books.html`, use: - -**`xslt3 -xsl:books.sef.json -s:books.xml -o:books.html -t`** - -Alternatively the XSLT stylesheet can be run directly against the source document, using: - -**`xslt3 -xsl:books.xsl -s:books.xml -o:books.html -t`** - - -### Running a transformation from JavaScript - -To run the same transformation from JavaScript within a Node.js application, sending the result to an HTTP response object `response`, use: - -``` - SaxonJS.transform({ - stylesheetFileName: "books.sef.json", - sourceFileName: "books.xml", - destination: "serialized" - }, "async") - .then (output => { - response.writeHead(200, {'Content-Type': 'text/html'}); - response.write(output.principalResult); - response.end(); - }) -``` - -### Running XPath from JavaScript - -The following example parses an XML document, executes a simple XPath expression, and serializes the result: - -``` - SaxonJS.getResource({ - location: '../../src/test.xml', - type: "xml" - }).then(doc => { - const result = SaxonJS.XPath.evaluate("//test[@id='abc']", doc); - const output = SaxonJS.serialize(result, {method: "xml", indent: true, "omit-xml-declaration":true}); - console.log(output); - }) -``` -The next example does the same with JSON input: - -``` - SaxonJS.getResource({ - location: '../../src/test.json', - type: "json" - }).then(doc => { - const result = SaxonJS.XPath.evaluate("?cities?*[?name='Berlin']", doc); - const output = SaxonJS.serialize(result, {method: "json", indent: true}); - console.log(output); - }) -``` - -## SaxonJS Components - -SaxonJS for Node.js includes the following deliverables, available free of charge (but the license is not open source): - -* saxon-js package (SaxonJS2N.js): this includes all the code needed to compile and execute XSLT 3.0 stylesheets under Node.js, including an API enabling applications to invoke stylesheet execution. The JavaScript module is around 3.7Mb in size. - -* xslt3 package (xslt3.js): this small module provides a command line interface, allowing XSLT 3.0 transformations to be compiled and run from a terminal/console. It makes use of the services provided by the saxon-js (SaxonJS2N.js) package.

- -## SaxonJS in the Browser - -SaxonJS is also available to run in the browser, with innovative extensions allowing user interaction to be handled entirely from declarative XSLT code, without any need for low level Javascript event handling. For details, see the [Saxonica web site](http://www.saxonica.com/saxon-js/index.xml). - -## Support and Services - -SaxonJS is offered free of charge, but for serious users, a chargeable service package is available for an annual fee. The service package includes access to source code and build tools, debugging aids, and other resources such as tutorials and add-on utilities that may be published from time to time. For details, see the [Saxonica web site](http://www.saxonica.com/saxon-js/index.xml). - -All users are welcome to use the public [support site](http://saxonica.plan.io) for reporting issues and seeking help (registration required). In addition, many questions are asked and answered on [StackOverflow](https://stackoverflow.com): please use the **saxon-js** tag. - - diff --git a/Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.js b/Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.js deleted file mode 100644 index 7d52a34..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.js +++ /dev/null @@ -1,69 +0,0 @@ -#!/usr/bin/env node - (function(){var CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions=function(){function a(c,f="HE"){c.addRecognizedOption("co",b.TYPE_ENUMERATION|b.VALUE_REQUIRED,"Set compiler option");c.setPermittedValues("co","justStatic justNormalize noXPath noBindings timing traceProgress enableAssertions internalCompile".split(" "),null);c.addRecognizedOption("tp",b.TYPE_BOOLEAN,"Trace compiler progress");c.addRecognizedOption("export",b.TYPE_FILENAME|b.VALUE_REQUIRED, -"Export the compiled stylesheet");c.addRecognizedOption("im",b.TYPE_QNAME|b.VALUE_REQUIRED,"Name of initial mode");c.addRecognizedOption("it",b.TYPE_QNAME,"Name of initial template");c.setPermittedValues("it",[],"Q{http://www.w3.org/1999/XSL/Transform}initial-template");c.addRecognizedOption("json",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Source file for primary JSON input");c.addRecognizedOption("master",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Master document for in-situ update");c.addRecognizedOption("nogo", -b.TYPE_BOOLEAN,"Compile only, no evaluation");c.addRecognizedOption("ns",b.TYPE_ENUMERATION|b.VALUE_REQUIRED,"Default namespace for element names");c.setPermittedValues("ns",["##html5"],null);c.addRecognizedOption("o",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Destination file for primary output");c.addRecognizedOption("relocate",b.TYPE_BOOLEAN,"Produce relocatable packages");c.addRecognizedOption("s",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Source file for primary XML input");c.addRecognizedOption("t",b.TYPE_BOOLEAN, -"Display version and timing information, and names of output files");c.addRecognizedOption("xp",b.TYPE_STRING,"XPath expression");c.addRecognizedOption("xsl",b.TYPE_FILENAME,"Main stylesheet file (XSLT or SEF)");c.addRecognizedOption("?",b.TYPE_BOOLEAN|b.VALUE_PROHIBITED,"Display command line help text");"EE"===f&&(c.addRecognizedOption("debug",b.TYPE_BOOLEAN,"Use diagnostic version of SaxonJS 2"),c.addRecognizedOption("T",b.TYPE_ENUMERATION,"Trace execution"),c.setPermittedValues("T",["none","low", -"normal","high"],"low"),c.addRecognizedOption("TP",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Write timing profile to specified output file"))}const b={TYPE_BOOLEAN:1,TYPE_FILENAME:2,TYPE_ENUMERATION:4,TYPE_INTEGER:5,TYPE_QNAME:6,TYPE_FILENAME_LIST:7,TYPE_DATETIME:8,TYPE_STRING:9,TYPE_INTEGER_PAIR:10,VALUE_REQUIRED:256,VALUE_PROHIBITED:512},d=["on","yes","true","1"],h=["off","no","false","0"];let e={TYPE_BOOLEAN:d.concat(h).join("|"),TYPE_FILENAME:"file name",TYPE_ENUMERATION:4,TYPE_INTEGER:"integer",TYPE_QNAME:"QName in URI qualified name form (Q{uri}local)", -TYPE_FILENAME_LIST:"list of file names, semicolon-separated",TYPE_DATETIME:"dateTime in ??? format",TYPE_STRING:"string",TYPE_INTEGER_PAIR:"int,int"};for(let c in b)e[b[c]]=e[c];class g{constructor(){this._recognized={};this.actualOptions={};this.extraOptions={}}addRecognizedOption(c,f,l){this._recognized[c]={type:f&255,required:f&768,help:l}}setPermittedValues(c,f,l){let r=this._recognized[c];r?(r.values=f,r.defaultValue=l):console.log("setPermittedValues - no record yet for option:",c)}displayPermittedOptions(){let c= -[];for(let f in this._recognized)c.push(f);c.sort((f,l)=>{f=f.toLowerCase();l=l.toLowerCase();return f" -"+f);return c.join()}setActualOptions(c){function f(m,k){throw Error("Command line option -"+m+" "+k);}const l=this._recognized;let r=this.actualOptions,t=this.extraOptions;c.filter(m=>m.startsWith("-")).forEach(function(m){var k=m.indexOf(":"),n=0>k?m.substring(1):m.substring(1,k);k=0>k?"":m.substring(k+1);if(m.startsWith("--"))t[n.substring(1)]=k;else{(m=l[n])||f(n, -"is not recognized");if("?"===k)throw n="Help for -"+n+" option:\nValue: "+(4==m.type?m.values.join("|"):e[m.type]),n+="\nMeaning: "+m.help,Error(n+"\n\nNo processing requested");256===m.required&&""===k&&f(n,"requires a value");512===m.required&&""!==k&&f(n,"must not have a value");""===k&&(k=m.defaultValue||"");switch(m.type){case 4:k&&-1===m.values.indexOf(k)&&f(n,"may only have values "+m.values.join("|"));break;case 5:/[0-9]+/.test(k)||f(n,"may only have value "+e.TYPE_INTEGER);k=parseInt(k, -10);break;case 1:0<=d.indexOf(k)?k=!0:0<=h.indexOf(k)?k=!1:""===k?k=!0:f(n,"may only have a boolean value "+e.TYPE_BOOLEAN);break;case 6:/{/.test(k)||/}/.test(k)||(k="Q{}"+k),/^Q{[^{}]*}[^{}]+$/.test(k)||f(n,"may only have value "+e.TYPE_QNAME)}r[n]=k}})}}return{OptionTypes:b,newCLOptions:function(c="HE"){let f=new g;a(f,c);return f}}}(),module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions={}; -module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions.CommandLine=CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions;const argv$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=process.argv;let finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!1,exitCode$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=0,failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!1,profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command; -function exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a=0){finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!0;a>exitCode$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command&&(exitCode$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=a,process.exitCode=a)} -function quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b=0){console.error(a);failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!0;exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b)} -function log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.saxonPrint(a)}function warn$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("*Warning*: "+a)} -function staticExceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return a instanceof SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XError?"Error "+a.code.replace(/^Q\{http:\/\/www.w3.org\/2005\/xqt-errors\}/,"")+(a.errorObject?a.errorObject.toString():"")+":\n "+a.message:a.hasOwnProperty("message")?a.message:a.toString()} -function exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return a instanceof SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XError?a.getMessage():a.hasOwnProperty("message")?a.message:a.toString()} -function hasArg$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return argv$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.includes(a)}const fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=require("fs"),{URL:URL$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command}=require("url"); -let extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={getTraceCodeInjector:function(){return null},getProfiler:function(){return null},registerExtensions:function(){}};"undefined"!==typeof Extensions&&(extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=Extensions);let RenderProfileSEF$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={}; -"undefined"!==typeof RenderProfile&&(RenderProfileSEF$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=RenderProfile.sef);let edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={getSaxonEdition:function(){return"HE"}};"undefined"!==typeof Edition&&(edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=Edition); -let SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=null;SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command="EE"===edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getSaxonEdition()?require(hasArg$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("-debug")?"./SaxonJS2N.debug.js":"saxon-js"):require("saxon-js"); -const platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getPlatform(); -function getParamsMap$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b={};a.filter(d=>!/^[-!]/.test(d)).forEach(function(d){const h=d.split("=");let [e,g]=h;1===h.length&&quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Missing '=' in parameter '"+d+"'",2);switch(e.charAt(0)){case "?":e=e.slice(1);try{g=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.evaluate(g, -null,{resultForm:"xdm"})}catch(c){throw c;}break;case "+":e=e.slice(1),g=getPathToFileSync$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g),fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.statSync(g).isDirectory()?quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g+" is a directory",2):g=[getXML$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g)]}/{/.test(e)|| -/}/.test(e)||(e="Q{}"+e);/^Q{[^{}]*}[^{}]+$/.test(e)||quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Invalid parameter key "+e,2);b[e]=g});return b} -function getXdmParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b=new SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XdmMap;for(const d in a){let h=a[d];Array.isArray(h)||(h=[SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XS.untypedAtomic.fromString(h)]);b.inSituPut(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XS.QName.fromEQName(d), -h)}return b}function getSerializationParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b={};a.filter(d=>d.startsWith("!")).forEach(function(d){d=d.split(/=/);let [h,e]=d;h=h.slice(1).replace(/^saxon:/,"Q{http://saxon.sf.net/}");b[h]=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.Serializer.validateParam(h,e)});return b} -function addParentPointers$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){a.C&&a.C.forEach(function(b){b.parentNode=a;addParentPointers$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b)})} -function checksum$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){function b(c,f){f<<=8;for(let l=0;le?4294967295+ -e+1:e).toString(16)}function TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(){}TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.prototype={stylesheetParams:{},templateParams:{},tunnelParams:{},functionParams:{},deliverResultDocument:void 0,stylesheetText:""}; -function invokeSEFTransform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){d.async=!0;const h=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.checkOptions(d);return b?SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getResource({file:b,type:"xml"}).catch(e=>Promise.reject(e)).then(e=>{SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.internalTransform(a, -e,h);return h.resultPromise}):Promise.reject(Error("Source filename missing"))} -function compileXSLT$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){let h=new TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command;h.destination="application";h.initialMode="compile-complete";h.templateParams={"Q{}options":{noXPath:!1}};for(let e in b)b.hasOwnProperty(e)&&(h.templateParams["Q{}options"][e]=b[e]);h.stylesheetParams=new SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XdmMap; -h.stylesheetParams.inSituPut(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XS.QName.fromParts("","","staticParameters"),[d]);b=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.resource("compiler");addParentPointers$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b);h.stylesheetInternal=b;return invokeSEFTransform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b, -a,h).then(e=>e.principalResult)}function getXML$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseXmlFromString(readFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a));b._saxonBaseUri=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a);return b} -function readFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){try{return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.readFileSync(a,"utf8")}catch(b){quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Unable to read "+a,2)}} -function getPathToFileSync$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.realpathSync(a)}function getPathToFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.promises.realpath(a)} -function filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.fileURL(a)} -function compile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d,h,e){return getPathToFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a.xsl).catch(g=>{g=g.message.replace("ENOENT: no such file or directory, realpath ","");return Promise.reject(new SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XError("Cannot locate stylesheet ("+g+")"))}).then(g=>{if(g.endsWith(".sef")|| -g.endsWith(".sef.json"))return d.stylesheetFileName=g,d;if(g.endsWith(".sef.xml")){let c,f=getXML$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g);try{c=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.sefToJSON(f.firstChild,!1)}catch(l){return Promise.reject(Error("Internal error: the intermediate XML form of the SEF file is invalid: "+l.message))}checksum$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(c); -d.stylesheetText=JSON.stringify(c);return d}a.t&&console.error("Compiling stylesheet "+g);return compileXSLT$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g,b,h).catch(c=>{console.error(staticExceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(c));return Promise.reject(Error("Failed to compile stylesheet"))}).then(c=>{Array.isArray(c)&&(c=c[0]);let f;try{f=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.sefToJSON(c.firstChild, -!1)}catch(l){return Promise.reject(Error("Internal error: the intermediate XML form of the SEF file is invalid: "+l.message))}checksum$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(f);d.stylesheetText=JSON.stringify(f);d.stylesheetBaseURI=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g);return d})})} -function executeTransformation$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){const h=process.hrtime();if(a.o){var e=a.o;try{fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.realpathSync(e)}catch(g){platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.writeFileSync(new URL$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e)), -"")}b.baseOutputURI=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e);b.destination="file"}else b.destination="stdout",b.baseOutputURI=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.baseURL();d&&(b.logLevel=2);a.T&&(b.traceInjector=extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getTraceCodeInjector(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command, -a.T));a.TP&&(profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getProfiler(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command),b.traceInjector=profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.injector);a.s&&(e=a.s,/^(http:|https:|file:)/.test(e)?b.sourceLocation=e:b.sourceFileName= -filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e).toString());a.json&&(a.s&&quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Cannot supply both -s and -json",2),e=a.json,/^(http:|https:|file:)/.test(e)?b.sourceLocation=e:b.sourceFileName=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e).toString(),b.sourceType="json");a.it&&(d&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Initial template: "+ -a.it),b.initialTemplate=a.it);a.im&&(d&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Initial mode: "+a.im),b.initialMode=a.im);d&&a.o&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Writing to "+filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a.o));return SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.transform(b,"async").then(()=> -{if(d){var g=process.hrtime(h);console.warn("\nExecution time: %d.%ds",g[0],Math.floor(g[1]/1E6));g=process.memoryUsage().heapUsed/1024/1024;console.warn(`Memory used: ${Math.round(100*g)/100}Mb`)}})} -function main$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(){var a=argv$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.slice(2);let b=CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions.newCLOptions(edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getSaxonEdition());try{b.setActualOptions(a)}catch(g){quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g), -2)}if(!finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command&&!failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command){var d=b.actualOptions,h=b.extraOptions,e=new TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command;a.forEach(g=>{finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command||/[=-]/g.test(g)||badUsage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Invalid command line input: "+ -g)});if(!finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command)try{const g=getParamsMap$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a),c=getSerializationParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a);if(d["?"])badUsage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("");else{const f=d.t,l=d.ns,r=d.relocate,t=d.tp,m=d.co;if(f){const k= -SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getProcessorInfo();log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(k.productName+" "+k.productVersion+" from Saxonica ");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Node.js version "+process.version)}if(d.xsl||d.xp)if(extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.registerExtensions(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command), -d.xsl){const k=getXdmParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g);a={traceProgress:!!t,timing:!!f};a.extraOptions=h;a.relocatable=!!r;l&&(a.ns=l);m&&(a[m]=!0);let n=compile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d,a,e,k,c);d["export"]&&(n=n.then(p=>platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.writeFileAsync(new URL$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d["export"])), -p.stylesheetText,"utf8")).then(()=>getPathToFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d["export"]).then(p=>{f&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Stylesheet exported to SEF file "+p)})));let q=n.then(()=>{d.nogo&&exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command()});if(!d.nogo){if(d.master)try{const p=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.readFile(d.master), -u=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseXmlFromString(p);e.masterDocument=u}catch(p){return log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Failed while reading and parsing master document "+d.master),Promise.reject(p)}q=q.then(()=>{e.stylesheetParams=k;e.outputProperties=c;e.extraOptions=h;return executeTransformation$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d, -e,f)}).then(()=>{f&&!failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Transformation complete ")})}q=q.catch(p=>quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(p),2));e.masterDocument&&(q=q.then(()=>{if(failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command)return Promise.reject("Transformation failed"); -const p=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.serialize(e.masterDocument,{method:"xml"});return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.promises.writeFile(d.master,p)}));d.TP&&(q=q.then(()=>{const p=d.TP,u=profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.report();return SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.transform({stylesheetText:JSON.stringify(RenderProfileSEF$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command), -stylesheetParams:{"Q{}metrics":JSON.stringify(u)},destination:"file",baseOutputURI:filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(p),outputProps:{method:"html",indent:!0}},"async").catch(v=>Promise.reject(v))}).catch(p=>Promise.reject(p)));q.finally(()=>{exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command()}).catch(p=>{quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(p), -1)})}else executeXPath$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d,g,c),exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command();else quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Saxon requires a stylesheet as -xsl: argument",2)}}catch(g){quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g), -2)}}} -function executeXPath$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){if("s"in a||"json"in a){const h=a.s||a.json;let e={};/^(http:|https:|file:)/.test(h)?e.location=h:e.file=h;platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.resourcePromise(e).then(g=>{g="s"in a?platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseXmlFromString(g):platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseJsonFromString(g);executeXPathOverData$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g, -a,b,d)}).catch(g=>{console.error(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g));exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(1)})}else try{executeXPathOverData$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(null,a,b,d)}catch(h){console.error(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(h)),exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(1)}} -function executeXPathOverData$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d,h){const e=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.baseURL();a=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.evaluate(b.xp,a,{resultForm:"xdm",params:d,staticBaseURI:e});d={method:"adaptive"};for(const g in h)d[g]=h[g];h=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.serialize(a, -d);"o"in b?(b=fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.openSync(b.o,"w"),fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.writeSync(b,h,0,"utf-8"),fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.closeSync(b)):process.stdout.write(h)} -function badUsage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){""!==a&&console.error(a);log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Usage: see http://www.saxonica.com/saxon-js/documentation/index.html#!nodejs/command-line");let b=CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions.newCLOptions();log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Options available:"+ -b.displayPermittedOptions());log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Use -XYZ:? for details of option XYZ");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Params: ");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" param=value Set stylesheet string parameter");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" +param=filename Set stylesheet document parameter"); -log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" ?param=expression Set stylesheet parameter using XPath");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" !param=value Set serialization parameter");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" (bindings and values containing punctuation may need to be quoted in some command shells,");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(' e.g. in PowerShell: "{NS}key=val" ?range="1 to 20" )'); -""===a?exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command():exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(2)}main$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command();(function wait(){finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command||setTimeout(wait,100)})(); -var module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={};}).call(this); - diff --git a/Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.min.js b/Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.min.js deleted file mode 100644 index 704c5d3..0000000 --- a/Lombiq.EInvoiceValidator/node_modules/xslt3/xslt3.min.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * Skipped minification because the original files appears to be already minified. - * Original file: /npm/xslt3@2.7.0/xslt3.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -#!/usr/bin/env node - (function(){var CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions=function(){function a(c,f="HE"){c.addRecognizedOption("co",b.TYPE_ENUMERATION|b.VALUE_REQUIRED,"Set compiler option");c.setPermittedValues("co","justStatic justNormalize noXPath noBindings timing traceProgress enableAssertions internalCompile".split(" "),null);c.addRecognizedOption("tp",b.TYPE_BOOLEAN,"Trace compiler progress");c.addRecognizedOption("export",b.TYPE_FILENAME|b.VALUE_REQUIRED, -"Export the compiled stylesheet");c.addRecognizedOption("im",b.TYPE_QNAME|b.VALUE_REQUIRED,"Name of initial mode");c.addRecognizedOption("it",b.TYPE_QNAME,"Name of initial template");c.setPermittedValues("it",[],"Q{http://www.w3.org/1999/XSL/Transform}initial-template");c.addRecognizedOption("json",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Source file for primary JSON input");c.addRecognizedOption("master",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Master document for in-situ update");c.addRecognizedOption("nogo", -b.TYPE_BOOLEAN,"Compile only, no evaluation");c.addRecognizedOption("ns",b.TYPE_ENUMERATION|b.VALUE_REQUIRED,"Default namespace for element names");c.setPermittedValues("ns",["##html5"],null);c.addRecognizedOption("o",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Destination file for primary output");c.addRecognizedOption("relocate",b.TYPE_BOOLEAN,"Produce relocatable packages");c.addRecognizedOption("s",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Source file for primary XML input");c.addRecognizedOption("t",b.TYPE_BOOLEAN, -"Display version and timing information, and names of output files");c.addRecognizedOption("xp",b.TYPE_STRING,"XPath expression");c.addRecognizedOption("xsl",b.TYPE_FILENAME,"Main stylesheet file (XSLT or SEF)");c.addRecognizedOption("?",b.TYPE_BOOLEAN|b.VALUE_PROHIBITED,"Display command line help text");"EE"===f&&(c.addRecognizedOption("debug",b.TYPE_BOOLEAN,"Use diagnostic version of SaxonJS 2"),c.addRecognizedOption("T",b.TYPE_ENUMERATION,"Trace execution"),c.setPermittedValues("T",["none","low", -"normal","high"],"low"),c.addRecognizedOption("TP",b.TYPE_FILENAME|b.VALUE_REQUIRED,"Write timing profile to specified output file"))}const b={TYPE_BOOLEAN:1,TYPE_FILENAME:2,TYPE_ENUMERATION:4,TYPE_INTEGER:5,TYPE_QNAME:6,TYPE_FILENAME_LIST:7,TYPE_DATETIME:8,TYPE_STRING:9,TYPE_INTEGER_PAIR:10,VALUE_REQUIRED:256,VALUE_PROHIBITED:512},d=["on","yes","true","1"],h=["off","no","false","0"];let e={TYPE_BOOLEAN:d.concat(h).join("|"),TYPE_FILENAME:"file name",TYPE_ENUMERATION:4,TYPE_INTEGER:"integer",TYPE_QNAME:"QName in URI qualified name form (Q{uri}local)", -TYPE_FILENAME_LIST:"list of file names, semicolon-separated",TYPE_DATETIME:"dateTime in ??? format",TYPE_STRING:"string",TYPE_INTEGER_PAIR:"int,int"};for(let c in b)e[b[c]]=e[c];class g{constructor(){this._recognized={};this.actualOptions={};this.extraOptions={}}addRecognizedOption(c,f,l){this._recognized[c]={type:f&255,required:f&768,help:l}}setPermittedValues(c,f,l){let r=this._recognized[c];r?(r.values=f,r.defaultValue=l):console.log("setPermittedValues - no record yet for option:",c)}displayPermittedOptions(){let c= -[];for(let f in this._recognized)c.push(f);c.sort((f,l)=>{f=f.toLowerCase();l=l.toLowerCase();return f" -"+f);return c.join()}setActualOptions(c){function f(m,k){throw Error("Command line option -"+m+" "+k);}const l=this._recognized;let r=this.actualOptions,t=this.extraOptions;c.filter(m=>m.startsWith("-")).forEach(function(m){var k=m.indexOf(":"),n=0>k?m.substring(1):m.substring(1,k);k=0>k?"":m.substring(k+1);if(m.startsWith("--"))t[n.substring(1)]=k;else{(m=l[n])||f(n, -"is not recognized");if("?"===k)throw n="Help for -"+n+" option:\nValue: "+(4==m.type?m.values.join("|"):e[m.type]),n+="\nMeaning: "+m.help,Error(n+"\n\nNo processing requested");256===m.required&&""===k&&f(n,"requires a value");512===m.required&&""!==k&&f(n,"must not have a value");""===k&&(k=m.defaultValue||"");switch(m.type){case 4:k&&-1===m.values.indexOf(k)&&f(n,"may only have values "+m.values.join("|"));break;case 5:/[0-9]+/.test(k)||f(n,"may only have value "+e.TYPE_INTEGER);k=parseInt(k, -10);break;case 1:0<=d.indexOf(k)?k=!0:0<=h.indexOf(k)?k=!1:""===k?k=!0:f(n,"may only have a boolean value "+e.TYPE_BOOLEAN);break;case 6:/{/.test(k)||/}/.test(k)||(k="Q{}"+k),/^Q{[^{}]*}[^{}]+$/.test(k)||f(n,"may only have value "+e.TYPE_QNAME)}r[n]=k}})}}return{OptionTypes:b,newCLOptions:function(c="HE"){let f=new g;a(f,c);return f}}}(),module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions={}; -module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions.CommandLine=CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions;const argv$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=process.argv;let finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!1,exitCode$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=0,failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!1,profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command; -function exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a=0){finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!0;a>exitCode$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command&&(exitCode$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=a,process.exitCode=a)} -function quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b=0){console.error(a);failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=!0;exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b)} -function log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.saxonPrint(a)}function warn$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("*Warning*: "+a)} -function staticExceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return a instanceof SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XError?"Error "+a.code.replace(/^Q\{http:\/\/www.w3.org\/2005\/xqt-errors\}/,"")+(a.errorObject?a.errorObject.toString():"")+":\n "+a.message:a.hasOwnProperty("message")?a.message:a.toString()} -function exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return a instanceof SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XError?a.getMessage():a.hasOwnProperty("message")?a.message:a.toString()} -function hasArg$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return argv$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.includes(a)}const fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=require("fs"),{URL:URL$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command}=require("url"); -let extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={getTraceCodeInjector:function(){return null},getProfiler:function(){return null},registerExtensions:function(){}};"undefined"!==typeof Extensions&&(extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=Extensions);let RenderProfileSEF$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={}; -"undefined"!==typeof RenderProfile&&(RenderProfileSEF$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=RenderProfile.sef);let edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={getSaxonEdition:function(){return"HE"}};"undefined"!==typeof Edition&&(edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=Edition); -let SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=null;SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command="EE"===edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getSaxonEdition()?require(hasArg$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("-debug")?"./SaxonJS2N.debug.js":"saxon-js"):require("saxon-js"); -const platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getPlatform(); -function getParamsMap$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b={};a.filter(d=>!/^[-!]/.test(d)).forEach(function(d){const h=d.split("=");let [e,g]=h;1===h.length&&quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Missing '=' in parameter '"+d+"'",2);switch(e.charAt(0)){case "?":e=e.slice(1);try{g=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.evaluate(g, -null,{resultForm:"xdm"})}catch(c){throw c;}break;case "+":e=e.slice(1),g=getPathToFileSync$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g),fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.statSync(g).isDirectory()?quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g+" is a directory",2):g=[getXML$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g)]}/{/.test(e)|| -/}/.test(e)||(e="Q{}"+e);/^Q{[^{}]*}[^{}]+$/.test(e)||quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Invalid parameter key "+e,2);b[e]=g});return b} -function getXdmParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b=new SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XdmMap;for(const d in a){let h=a[d];Array.isArray(h)||(h=[SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XS.untypedAtomic.fromString(h)]);b.inSituPut(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XS.QName.fromEQName(d), -h)}return b}function getSerializationParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b={};a.filter(d=>d.startsWith("!")).forEach(function(d){d=d.split(/=/);let [h,e]=d;h=h.slice(1).replace(/^saxon:/,"Q{http://saxon.sf.net/}");b[h]=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.Serializer.validateParam(h,e)});return b} -function addParentPointers$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){a.C&&a.C.forEach(function(b){b.parentNode=a;addParentPointers$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b)})} -function checksum$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){function b(c,f){f<<=8;for(let l=0;le?4294967295+ -e+1:e).toString(16)}function TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(){}TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.prototype={stylesheetParams:{},templateParams:{},tunnelParams:{},functionParams:{},deliverResultDocument:void 0,stylesheetText:""}; -function invokeSEFTransform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){d.async=!0;const h=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.checkOptions(d);return b?SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getResource({file:b,type:"xml"}).catch(e=>Promise.reject(e)).then(e=>{SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.internalTransform(a, -e,h);return h.resultPromise}):Promise.reject(Error("Source filename missing"))} -function compileXSLT$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){let h=new TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command;h.destination="application";h.initialMode="compile-complete";h.templateParams={"Q{}options":{noXPath:!1}};for(let e in b)b.hasOwnProperty(e)&&(h.templateParams["Q{}options"][e]=b[e]);h.stylesheetParams=new SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XdmMap; -h.stylesheetParams.inSituPut(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XS.QName.fromParts("","","staticParameters"),[d]);b=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.resource("compiler");addParentPointers$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b);h.stylesheetInternal=b;return invokeSEFTransform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(b, -a,h).then(e=>e.principalResult)}function getXML$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){const b=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseXmlFromString(readFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a));b._saxonBaseUri=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a);return b} -function readFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){try{return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.readFileSync(a,"utf8")}catch(b){quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Unable to read "+a,2)}} -function getPathToFileSync$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.realpathSync(a)}function getPathToFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.promises.realpath(a)} -function filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){return platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.fileURL(a)} -function compile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d,h,e){return getPathToFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a.xsl).catch(g=>{g=g.message.replace("ENOENT: no such file or directory, realpath ","");return Promise.reject(new SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XError("Cannot locate stylesheet ("+g+")"))}).then(g=>{if(g.endsWith(".sef")|| -g.endsWith(".sef.json"))return d.stylesheetFileName=g,d;if(g.endsWith(".sef.xml")){let c,f=getXML$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g);try{c=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.sefToJSON(f.firstChild,!1)}catch(l){return Promise.reject(Error("Internal error: the intermediate XML form of the SEF file is invalid: "+l.message))}checksum$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(c); -d.stylesheetText=JSON.stringify(c);return d}a.t&&console.error("Compiling stylesheet "+g);return compileXSLT$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g,b,h).catch(c=>{console.error(staticExceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(c));return Promise.reject(Error("Failed to compile stylesheet"))}).then(c=>{Array.isArray(c)&&(c=c[0]);let f;try{f=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.sefToJSON(c.firstChild, -!1)}catch(l){return Promise.reject(Error("Internal error: the intermediate XML form of the SEF file is invalid: "+l.message))}checksum$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(f);d.stylesheetText=JSON.stringify(f);d.stylesheetBaseURI=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g);return d})})} -function executeTransformation$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){const h=process.hrtime();if(a.o){var e=a.o;try{fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.realpathSync(e)}catch(g){platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.writeFileSync(new URL$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e)), -"")}b.baseOutputURI=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e);b.destination="file"}else b.destination="stdout",b.baseOutputURI=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.baseURL();d&&(b.logLevel=2);a.T&&(b.traceInjector=extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getTraceCodeInjector(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command, -a.T));a.TP&&(profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command=extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getProfiler(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command),b.traceInjector=profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.injector);a.s&&(e=a.s,/^(http:|https:|file:)/.test(e)?b.sourceLocation=e:b.sourceFileName= -filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e).toString());a.json&&(a.s&&quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Cannot supply both -s and -json",2),e=a.json,/^(http:|https:|file:)/.test(e)?b.sourceLocation=e:b.sourceFileName=filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(e).toString(),b.sourceType="json");a.it&&(d&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Initial template: "+ -a.it),b.initialTemplate=a.it);a.im&&(d&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Initial mode: "+a.im),b.initialMode=a.im);d&&a.o&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Writing to "+filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a.o));return SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.transform(b,"async").then(()=> -{if(d){var g=process.hrtime(h);console.warn("\nExecution time: %d.%ds",g[0],Math.floor(g[1]/1E6));g=process.memoryUsage().heapUsed/1024/1024;console.warn(`Memory used: ${Math.round(100*g)/100}Mb`)}})} -function main$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(){var a=argv$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.slice(2);let b=CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions.newCLOptions(edition$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getSaxonEdition());try{b.setActualOptions(a)}catch(g){quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g), -2)}if(!finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command&&!failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command){var d=b.actualOptions,h=b.extraOptions,e=new TransformOptions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command;a.forEach(g=>{finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command||/[=-]/g.test(g)||badUsage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Invalid command line input: "+ -g)});if(!finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command)try{const g=getParamsMap$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a),c=getSerializationParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a);if(d["?"])badUsage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("");else{const f=d.t,l=d.ns,r=d.relocate,t=d.tp,m=d.co;if(f){const k= -SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.getProcessorInfo();log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(k.productName+" "+k.productVersion+" from Saxonica ");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Node.js version "+process.version)}if(d.xsl||d.xp)if(extensions$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.registerExtensions(SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command), -d.xsl){const k=getXdmParams$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g);a={traceProgress:!!t,timing:!!f};a.extraOptions=h;a.relocatable=!!r;l&&(a.ns=l);m&&(a[m]=!0);let n=compile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d,a,e,k,c);d["export"]&&(n=n.then(p=>platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.writeFileAsync(new URL$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d["export"])), -p.stylesheetText,"utf8")).then(()=>getPathToFile$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d["export"]).then(p=>{f&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Stylesheet exported to SEF file "+p)})));let q=n.then(()=>{d.nogo&&exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command()});if(!d.nogo){if(d.master)try{const p=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.readFile(d.master), -u=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseXmlFromString(p);e.masterDocument=u}catch(p){return log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Failed while reading and parsing master document "+d.master),Promise.reject(p)}q=q.then(()=>{e.stylesheetParams=k;e.outputProperties=c;e.extraOptions=h;return executeTransformation$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d, -e,f)}).then(()=>{f&&!failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command&&log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Transformation complete ")})}q=q.catch(p=>quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(p),2));e.masterDocument&&(q=q.then(()=>{if(failed$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command)return Promise.reject("Transformation failed"); -const p=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.serialize(e.masterDocument,{method:"xml"});return fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.promises.writeFile(d.master,p)}));d.TP&&(q=q.then(()=>{const p=d.TP,u=profiler$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.report();return SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.transform({stylesheetText:JSON.stringify(RenderProfileSEF$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command), -stylesheetParams:{"Q{}metrics":JSON.stringify(u)},destination:"file",baseOutputURI:filepathToUri$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(p),outputProps:{method:"html",indent:!0}},"async").catch(v=>Promise.reject(v))}).catch(p=>Promise.reject(p)));q.finally(()=>{exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command()}).catch(p=>{quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(p), -1)})}else executeXPath$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(d,g,c),exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command();else quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Saxon requires a stylesheet as -xsl: argument",2)}}catch(g){quit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g), -2)}}} -function executeXPath$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d){if("s"in a||"json"in a){const h=a.s||a.json;let e={};/^(http:|https:|file:)/.test(h)?e.location=h:e.file=h;platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.resourcePromise(e).then(g=>{g="s"in a?platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseXmlFromString(g):platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.parseJsonFromString(g);executeXPathOverData$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g, -a,b,d)}).catch(g=>{console.error(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(g));exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(1)})}else try{executeXPathOverData$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(null,a,b,d)}catch(h){console.error(exceptionMessage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(h)),exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(1)}} -function executeXPathOverData$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a,b,d,h){const e=platform$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.baseURL();a=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.XPath.evaluate(b.xp,a,{resultForm:"xdm",params:d,staticBaseURI:e});d={method:"adaptive"};for(const g in h)d[g]=h[g];h=SaxonJS$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.serialize(a, -d);"o"in b?(b=fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.openSync(b.o,"w"),fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.writeSync(b,h,0,"utf-8"),fs$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command.closeSync(b)):process.stdout.write(h)} -function badUsage$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(a){""!==a&&console.error(a);log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Usage: see http://www.saxonica.com/saxon-js/documentation/index.html#!nodejs/command-line");let b=CommandLine$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$commandLineOptions.newCLOptions();log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Options available:"+ -b.displayPermittedOptions());log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Use -XYZ:? for details of option XYZ");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command("Params: ");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" param=value Set stylesheet string parameter");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" +param=filename Set stylesheet document parameter"); -log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" ?param=expression Set stylesheet parameter using XPath");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" !param=value Set serialization parameter");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(" (bindings and values containing punctuation may need to be quoted in some command shells,");log$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(' e.g. in PowerShell: "{NS}key=val" ?range="1 to 20" )'); -""===a?exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command():exit$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command(2)}main$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command();(function wait(){finished$$module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command||setTimeout(wait,100)})(); -var module$Volumes$Saxonica$src$saxonica$saxon_js_enterprise$src$main$js$nodeJS$command={};}).call(this); - From 564a4ec6c81fde30005ac5f154692536261a490d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Wed, 15 Jul 2026 19:12:46 +0200 Subject: [PATCH 48/61] Make Libman integration available for all SDKs. --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 89ff4f6..9ac863a 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -41,7 +41,6 @@ - From 702535da5a156787ad1be5e04e857494c5aa68f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Wed, 15 Jul 2026 19:47:44 +0200 Subject: [PATCH 49/61] Make AddVendors configurable. --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 9ac863a..81a3ca7 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -2,6 +2,7 @@ net10.0 enable + node_modules From e6b055a0e0028a6216866616ebf9210ce7172fac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Fri, 17 Jul 2026 03:56:53 +0200 Subject: [PATCH 50/61] Update SDK NuGet --- .../Lombiq.EInvoiceValidator.Benchmark.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Sample.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Tests.csproj | 4 ++-- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj index 01b8225..cfdc087 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj +++ b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj @@ -5,7 +5,7 @@
- + @@ -19,5 +19,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index a1e1be4..5b4f3af 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator Sample @@ -30,5 +30,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index 65fcdee..7c0e418 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -4,7 +4,7 @@ - + @@ -18,5 +18,5 @@ - + diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 81a3ca7..8d9459d 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -6,7 +6,7 @@ - + Lombiq eInvoice Validator @@ -65,5 +65,5 @@ - + From 9016aee842570e13dff113c8e8e4c43cf2d2de63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sat, 18 Jul 2026 02:37:52 +0200 Subject: [PATCH 51/61] revert all branch selectors --- .github/workflows/publish-nuget.yml | 2 +- .github/workflows/validate-nuget-publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 8e61048..fac826d 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -8,6 +8,6 @@ on: jobs: publish-nuget: name: Publish to NuGet - uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@issue/OSOE-925 + uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@dev secrets: API_KEY: ${{ secrets.DEFAULT_NUGET_PUBLISH_API_KEY }} diff --git a/.github/workflows/validate-nuget-publish.yml b/.github/workflows/validate-nuget-publish.yml index f0fd6be..9f8979c 100644 --- a/.github/workflows/validate-nuget-publish.yml +++ b/.github/workflows/validate-nuget-publish.yml @@ -9,4 +9,4 @@ on: jobs: validate-nuget-publish: name: Validate NuGet Publish - uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@issue/OSOE-925 + uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@dev From a89a732c7a48aaf6d4861c2f439953dc4a514a19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sat, 18 Jul 2026 03:50:40 +0200 Subject: [PATCH 52/61] Update SDK to release version. --- .../Lombiq.EInvoiceValidator.Benchmark.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Sample.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Tests.csproj | 4 ++-- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj index cfdc087..e16df81 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj +++ b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj @@ -5,7 +5,7 @@ - + @@ -19,5 +19,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index 5b4f3af..de43c82 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator Sample @@ -30,5 +30,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index 7c0e418..73dd6b9 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -4,7 +4,7 @@ - + @@ -18,5 +18,5 @@ - + diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 8d9459d..5579e7f 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -6,7 +6,7 @@ - + Lombiq eInvoice Validator @@ -65,5 +65,5 @@ - + From 3abd6b8f1980387e020e653a76717bd658d7d81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sat, 18 Jul 2026 04:00:51 +0200 Subject: [PATCH 53/61] Use PackageVersionLombiqHelpfulLibraries --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 5579e7f..97129f9 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -45,7 +45,7 @@ - + From d42aae88712441c16e13fc94fd3e26667a66f1a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sun, 19 Jul 2026 10:54:55 +0200 Subject: [PATCH 54/61] Try to fix nuget packaging. --- .../Lombiq.EInvoiceValidator.Sample.csproj | 2 +- .../Lombiq.EInvoiceValidator.csproj | 14 +------------- .../build/Lombiq.EInvoiceValidator.props | 9 +++++++++ 3 files changed, 11 insertions(+), 14 deletions(-) create mode 100644 Lombiq.EInvoiceValidator/build/Lombiq.EInvoiceValidator.props diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index de43c82..92e5a1f 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -24,7 +24,7 @@ PreserveNewest true - contentFiles\any\any + contentFiles\any\$(TargetFramework) true diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 97129f9..d24d130 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -30,7 +30,7 @@ PreserveNewest true - contentFiles\any\any + contentFiles\any\$(TargetFramework) true @@ -52,18 +52,6 @@ - - - - - PreserveNewest - true - contentFiles\any\any\node_modules - true - - - - diff --git a/Lombiq.EInvoiceValidator/build/Lombiq.EInvoiceValidator.props b/Lombiq.EInvoiceValidator/build/Lombiq.EInvoiceValidator.props new file mode 100644 index 0000000..7082906 --- /dev/null +++ b/Lombiq.EInvoiceValidator/build/Lombiq.EInvoiceValidator.props @@ -0,0 +1,9 @@ + + + + + PreserveNewest + + + + From faaa59ca92e9c51eee96c0125234c828629910e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sun, 19 Jul 2026 11:54:23 +0200 Subject: [PATCH 55/61] Restore AddNodeModules --- .../Lombiq.EInvoiceValidator.csproj | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index d24d130..834664e 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -52,6 +52,18 @@ + + + + + PreserveNewest + true + contentFiles\any\$(TargetFramework) + true + + + + From 42c7fe9b2ed3459a6cd0cdca827895ea06256008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sun, 19 Jul 2026 12:53:08 +0200 Subject: [PATCH 56/61] Not actually needed. --- .../build/Lombiq.EInvoiceValidator.props | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 Lombiq.EInvoiceValidator/build/Lombiq.EInvoiceValidator.props diff --git a/Lombiq.EInvoiceValidator/build/Lombiq.EInvoiceValidator.props b/Lombiq.EInvoiceValidator/build/Lombiq.EInvoiceValidator.props deleted file mode 100644 index 7082906..0000000 --- a/Lombiq.EInvoiceValidator/build/Lombiq.EInvoiceValidator.props +++ /dev/null @@ -1,9 +0,0 @@ - - - - - PreserveNewest - - - - From 5eec2c44359d500eadd140f0b040498a162ff08b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sun, 19 Jul 2026 13:03:58 +0200 Subject: [PATCH 57/61] Try to fix AddNodeModules. --- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 834664e..14dc755 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -58,7 +58,7 @@ PreserveNewest true - contentFiles\any\$(TargetFramework) + contentFiles\any\$(TargetFramework)\node_modules true From 477a4e7699b44f62dd55eada8238d7dd2dff09f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sun, 19 Jul 2026 13:19:45 +0200 Subject: [PATCH 58/61] Try removing custom AddNodeModules target. --- .../Lombiq.EInvoiceValidator.csproj | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index 14dc755..d24d130 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -52,18 +52,6 @@ - - - - - PreserveNewest - true - contentFiles\any\$(TargetFramework)\node_modules - true - - - - From 0598a4c9cbc81e3e2ffac4fed49607274321bdb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sun, 19 Jul 2026 14:17:29 +0200 Subject: [PATCH 59/61] Use fixed Lombiq.MSBuild.Library.Sdk. --- .../Lombiq.EInvoiceValidator.Benchmark.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Sample.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Tests.csproj | 4 ++-- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj index e16df81..2cce136 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj +++ b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj @@ -5,7 +5,7 @@ - + @@ -19,5 +19,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index 92e5a1f..f1dfd1b 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator Sample @@ -30,5 +30,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index 73dd6b9..832cc1b 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -4,7 +4,7 @@ - + @@ -18,5 +18,5 @@ - + diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index d24d130..e2f460c 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -6,7 +6,7 @@ - + Lombiq eInvoice Validator @@ -53,5 +53,5 @@ - + From 8c92a94d0f40239cadd1ea2c8ff9c0d45befbd5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Sun, 19 Jul 2026 15:36:09 +0200 Subject: [PATCH 60/61] Copy the files after the fact. --- .../build/Lombiq.EInvoiceValidator.targets | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 Lombiq.EInvoiceValidator/build/Lombiq.EInvoiceValidator.targets diff --git a/Lombiq.EInvoiceValidator/build/Lombiq.EInvoiceValidator.targets b/Lombiq.EInvoiceValidator/build/Lombiq.EInvoiceValidator.targets new file mode 100755 index 0000000..2f93b69 --- /dev/null +++ b/Lombiq.EInvoiceValidator/build/Lombiq.EInvoiceValidator.targets @@ -0,0 +1,18 @@ + + + + $(MSBuildThisFileDirectory)..\contentFiles\any\net10.0\ + + + + + + + + + + + From b95268ba5f7a46338d36eed89524335d34f58c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Mon, 20 Jul 2026 00:07:35 +0200 Subject: [PATCH 61/61] Update SDK nuget. --- .../Lombiq.EInvoiceValidator.Benchmark.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Sample.csproj | 4 ++-- .../Lombiq.EInvoiceValidator.Tests.csproj | 4 ++-- Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj index 2cce136..4cb4b11 100644 --- a/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj +++ b/Lombiq.EInvoiceValidator.Benchmark/Lombiq.EInvoiceValidator.Benchmark.csproj @@ -5,7 +5,7 @@ - + @@ -19,5 +19,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj index f1dfd1b..46cea35 100644 --- a/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj +++ b/Lombiq.EInvoiceValidator.Sample/Lombiq.EInvoiceValidator.Sample.csproj @@ -5,7 +5,7 @@ - + Lombiq eInvoice Validator Sample @@ -30,5 +30,5 @@ - + diff --git a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj index 832cc1b..a3bd003 100644 --- a/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj +++ b/Lombiq.EInvoiceValidator.Tests/Lombiq.EInvoiceValidator.Tests.csproj @@ -4,7 +4,7 @@ - + @@ -18,5 +18,5 @@ - + diff --git a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj index e2f460c..9487cd4 100644 --- a/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj +++ b/Lombiq.EInvoiceValidator/Lombiq.EInvoiceValidator.csproj @@ -6,7 +6,7 @@ - + Lombiq eInvoice Validator @@ -53,5 +53,5 @@ - +